bhl-forms 0.0.50 → 0.0.51

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.
@@ -129,8 +129,8 @@ var objectPropertyIsEnumerable = {};
129
129
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
130
130
  var getOwnPropertyDescriptor$5 = Object.getOwnPropertyDescriptor;
131
131
  var NASHORN_BUG = getOwnPropertyDescriptor$5 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
132
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V2) {
133
- var descriptor = getOwnPropertyDescriptor$5(this, V2);
132
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
133
+ var descriptor = getOwnPropertyDescriptor$5(this, V);
134
134
  return !!descriptor && descriptor.enumerable;
135
135
  } : $propertyIsEnumerable;
136
136
  var createPropertyDescriptor$9 = function(bitmap, value) {
@@ -201,9 +201,9 @@ var getBuiltIn$c = getBuiltIn$d;
201
201
  var engineUserAgent = getBuiltIn$c("navigator", "userAgent") || "";
202
202
  var global$t = global$v;
203
203
  var userAgent$5 = engineUserAgent;
204
- var process$4 = global$t.process;
204
+ var process$3 = global$t.process;
205
205
  var Deno$1 = global$t.Deno;
206
- var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
206
+ var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
207
207
  var v8 = versions && versions.v8;
208
208
  var match$2, version$1;
209
209
  if (v8) {
@@ -255,8 +255,8 @@ var aCallable$9 = function(argument) {
255
255
  throw $TypeError$g(tryToString$4(argument) + " is not a function");
256
256
  };
257
257
  var aCallable$8 = aCallable$9;
258
- var getMethod$7 = function(V2, P) {
259
- var func = V2[P];
258
+ var getMethod$7 = function(V, P) {
259
+ var func = V[P];
260
260
  return func == null ? void 0 : aCallable$8(func);
261
261
  };
262
262
  var call$o = functionCall;
@@ -398,16 +398,16 @@ var toPropertyKey$2 = toPropertyKey$3;
398
398
  var hasOwn$i = hasOwnProperty_1;
399
399
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
400
400
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
401
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$h ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O3, P) {
402
- O3 = toIndexedObject$4(O3);
401
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$h ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O2, P) {
402
+ O2 = toIndexedObject$4(O2);
403
403
  P = toPropertyKey$2(P);
404
404
  if (IE8_DOM_DEFINE$1)
405
405
  try {
406
- return $getOwnPropertyDescriptor$1(O3, P);
406
+ return $getOwnPropertyDescriptor$1(O2, P);
407
407
  } catch (error2) {
408
408
  }
409
- if (hasOwn$i(O3, P))
410
- return createPropertyDescriptor$8(!call$m(propertyIsEnumerableModule$1.f, O3, P), O3[P]);
409
+ if (hasOwn$i(O2, P))
410
+ return createPropertyDescriptor$8(!call$m(propertyIsEnumerableModule$1.f, O2, P), O2[P]);
411
411
  };
412
412
  var objectDefineProperty = {};
413
413
  var DESCRIPTORS$g = descriptors;
@@ -438,14 +438,14 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
438
438
  var ENUMERABLE = "enumerable";
439
439
  var CONFIGURABLE$1 = "configurable";
440
440
  var WRITABLE = "writable";
441
- objectDefineProperty.f = DESCRIPTORS$f ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O3, P, Attributes) {
442
- anObject$l(O3);
441
+ objectDefineProperty.f = DESCRIPTORS$f ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O2, P, Attributes) {
442
+ anObject$l(O2);
443
443
  P = toPropertyKey$1(P);
444
444
  anObject$l(Attributes);
445
- if (typeof O3 === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
446
- var current = $getOwnPropertyDescriptor(O3, P);
445
+ if (typeof O2 === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
446
+ var current = $getOwnPropertyDescriptor(O2, P);
447
447
  if (current && current[WRITABLE]) {
448
- O3[P] = Attributes.value;
448
+ O2[P] = Attributes.value;
449
449
  Attributes = {
450
450
  configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
451
451
  enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
@@ -453,21 +453,21 @@ objectDefineProperty.f = DESCRIPTORS$f ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
453
453
  };
454
454
  }
455
455
  }
456
- return $defineProperty(O3, P, Attributes);
457
- } : $defineProperty : function defineProperty2(O3, P, Attributes) {
458
- anObject$l(O3);
456
+ return $defineProperty(O2, P, Attributes);
457
+ } : $defineProperty : function defineProperty2(O2, P, Attributes) {
458
+ anObject$l(O2);
459
459
  P = toPropertyKey$1(P);
460
460
  anObject$l(Attributes);
461
461
  if (IE8_DOM_DEFINE)
462
462
  try {
463
- return $defineProperty(O3, P, Attributes);
463
+ return $defineProperty(O2, P, Attributes);
464
464
  } catch (error2) {
465
465
  }
466
466
  if ("get" in Attributes || "set" in Attributes)
467
467
  throw $TypeError$c("Accessors not supported");
468
468
  if ("value" in Attributes)
469
- O3[P] = Attributes.value;
470
- return O3;
469
+ O2[P] = Attributes.value;
470
+ return O2;
471
471
  };
472
472
  var DESCRIPTORS$e = descriptors;
473
473
  var definePropertyModule$6 = objectDefineProperty;
@@ -631,7 +631,7 @@ var isCallable$i = isCallable$r;
631
631
  var definePropertyModule$5 = objectDefineProperty;
632
632
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
633
633
  var defineGlobalProperty$1 = defineGlobalProperty$3;
634
- var defineBuiltIn$c = function(O3, key, value, options2) {
634
+ var defineBuiltIn$c = function(O2, key, value, options2) {
635
635
  if (!options2)
636
636
  options2 = {};
637
637
  var simple = options2.enumerable;
@@ -640,32 +640,32 @@ var defineBuiltIn$c = function(O3, key, value, options2) {
640
640
  makeBuiltIn$1(value, name, options2);
641
641
  if (options2.global) {
642
642
  if (simple)
643
- O3[key] = value;
643
+ O2[key] = value;
644
644
  else
645
645
  defineGlobalProperty$1(key, value);
646
646
  } else {
647
647
  if (!options2.unsafe)
648
- delete O3[key];
649
- else if (O3[key])
648
+ delete O2[key];
649
+ else if (O2[key])
650
650
  simple = true;
651
651
  if (simple)
652
- O3[key] = value;
652
+ O2[key] = value;
653
653
  else
654
- definePropertyModule$5.f(O3, key, {
654
+ definePropertyModule$5.f(O2, key, {
655
655
  value,
656
656
  enumerable: false,
657
657
  configurable: !options2.nonConfigurable,
658
658
  writable: !options2.nonWritable
659
659
  });
660
660
  }
661
- return O3;
661
+ return O2;
662
662
  };
663
663
  var objectGetOwnPropertyNames = {};
664
664
  var ceil = Math.ceil;
665
665
  var floor$4 = Math.floor;
666
- var mathTrunc = Math.trunc || function trunc(x3) {
667
- var n2 = +x3;
668
- return (n2 > 0 ? floor$4 : ceil)(n2);
666
+ var mathTrunc = Math.trunc || function trunc(x2) {
667
+ var n = +x2;
668
+ return (n > 0 ? floor$4 : ceil)(n);
669
669
  };
670
670
  var trunc2 = mathTrunc;
671
671
  var toIntegerOrInfinity$6 = function(argument) {
@@ -693,19 +693,19 @@ var toAbsoluteIndex$1 = toAbsoluteIndex$2;
693
693
  var lengthOfArrayLike$6 = lengthOfArrayLike$7;
694
694
  var createMethod$3 = function(IS_INCLUDES) {
695
695
  return function($this, el, fromIndex) {
696
- var O3 = toIndexedObject$3($this);
697
- var length3 = lengthOfArrayLike$6(O3);
696
+ var O2 = toIndexedObject$3($this);
697
+ var length3 = lengthOfArrayLike$6(O2);
698
698
  var index2 = toAbsoluteIndex$1(fromIndex, length3);
699
699
  var value;
700
700
  if (IS_INCLUDES && el != el)
701
701
  while (length3 > index2) {
702
- value = O3[index2++];
702
+ value = O2[index2++];
703
703
  if (value != value)
704
704
  return true;
705
705
  }
706
706
  else
707
707
  for (; length3 > index2; index2++) {
708
- if ((IS_INCLUDES || index2 in O3) && O3[index2] === el)
708
+ if ((IS_INCLUDES || index2 in O2) && O2[index2] === el)
709
709
  return IS_INCLUDES || index2 || 0;
710
710
  }
711
711
  return !IS_INCLUDES && -1;
@@ -722,14 +722,14 @@ var indexOf$1 = arrayIncludes.indexOf;
722
722
  var hiddenKeys$2 = hiddenKeys$4;
723
723
  var push$6 = uncurryThis$t([].push);
724
724
  var objectKeysInternal = function(object, names) {
725
- var O3 = toIndexedObject$2(object);
725
+ var O2 = toIndexedObject$2(object);
726
726
  var i3 = 0;
727
727
  var result = [];
728
728
  var key;
729
- for (key in O3)
730
- !hasOwn$e(hiddenKeys$2, key) && hasOwn$e(O3, key) && push$6(result, key);
729
+ for (key in O2)
730
+ !hasOwn$e(hiddenKeys$2, key) && hasOwn$e(O2, key) && push$6(result, key);
731
731
  while (names.length > i3)
732
- if (hasOwn$e(O3, key = names[i3++])) {
732
+ if (hasOwn$e(O2, key = names[i3++])) {
733
733
  ~indexOf$1(result, key) || push$6(result, key);
734
734
  }
735
735
  return result;
@@ -746,8 +746,8 @@ var enumBugKeys$3 = [
746
746
  var internalObjectKeys$1 = objectKeysInternal;
747
747
  var enumBugKeys$2 = enumBugKeys$3;
748
748
  var hiddenKeys$1 = enumBugKeys$2.concat("length", "prototype");
749
- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O3) {
750
- return internalObjectKeys$1(O3, hiddenKeys$1);
749
+ objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O2) {
750
+ return internalObjectKeys$1(O2, hiddenKeys$1);
751
751
  };
752
752
  var objectGetOwnPropertySymbols = {};
753
753
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
@@ -858,14 +858,14 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ("__proto__" in {} ? functio
858
858
  CORRECT_SETTER = test2 instanceof Array;
859
859
  } catch (error2) {
860
860
  }
861
- return function setPrototypeOf2(O3, proto) {
862
- anObject$j(O3);
861
+ return function setPrototypeOf2(O2, proto) {
862
+ anObject$j(O2);
863
863
  aPossiblePrototype(proto);
864
864
  if (CORRECT_SETTER)
865
- setter(O3, proto);
865
+ setter(O2, proto);
866
866
  else
867
- O3.__proto__ = proto;
868
- return O3;
867
+ O2.__proto__ = proto;
868
+ return O2;
869
869
  };
870
870
  }() : void 0);
871
871
  var defineProperty$8 = objectDefineProperty.f;
@@ -910,8 +910,8 @@ var tryGet = function(it, key) {
910
910
  }
911
911
  };
912
912
  var classof$9 = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
913
- var O3, tag, result;
914
- return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O3 = $Object$1(it), TO_STRING_TAG$2)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O3) : (result = classofRaw(O3)) == "Object" && isCallable$e(O3.callee) ? "Arguments" : result;
913
+ var O2, tag, result;
914
+ return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O2 = $Object$1(it), TO_STRING_TAG$2)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O2) : (result = classofRaw(O2)) == "Object" && isCallable$e(O2.callee) ? "Arguments" : result;
915
915
  };
916
916
  var classof$8 = classof$9;
917
917
  var $String = String;
@@ -926,9 +926,9 @@ var normalizeStringArgument$4 = function(argument, $default) {
926
926
  };
927
927
  var isObject$9 = isObject$g;
928
928
  var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
929
- var installErrorCause$1 = function(O3, options2) {
929
+ var installErrorCause$1 = function(O2, options2) {
930
930
  if (isObject$9(options2) && "cause" in options2) {
931
- createNonEnumerableProperty$5(O3, "cause", options2.cause);
931
+ createNonEnumerableProperty$5(O2, "cause", options2.cause);
932
932
  }
933
933
  };
934
934
  var uncurryThis$q = functionUncurryThis;
@@ -982,9 +982,9 @@ var wrapErrorConstructorWithCause$1 = function(FULL_NAME, wrapper2, FORCED2, IS_
982
982
  if (!FORCED2)
983
983
  return OriginalError;
984
984
  var BaseError = getBuiltIn$9("Error");
985
- var WrappedError = wrapper2(function(a4, b3) {
986
- var message2 = normalizeStringArgument$3(IS_AGGREGATE_ERROR ? b3 : a4, void 0);
987
- var result = IS_AGGREGATE_ERROR ? new OriginalError(a4) : new OriginalError();
985
+ var WrappedError = wrapper2(function(a3, b2) {
986
+ var message2 = normalizeStringArgument$3(IS_AGGREGATE_ERROR ? b2 : a3, void 0);
987
+ var result = IS_AGGREGATE_ERROR ? new OriginalError(a3) : new OriginalError();
988
988
  if (message2 !== void 0)
989
989
  createNonEnumerableProperty$4(result, "message", message2);
990
990
  if (ERROR_STACK_INSTALLABLE)
@@ -1015,7 +1015,7 @@ var wrapErrorConstructorWithCause$1 = function(FULL_NAME, wrapper2, FORCED2, IS_
1015
1015
  }
1016
1016
  return WrappedError;
1017
1017
  };
1018
- var $$x = _export;
1018
+ var $$w = _export;
1019
1019
  var global$l = global$v;
1020
1020
  var apply$4 = functionApply;
1021
1021
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
@@ -1023,15 +1023,15 @@ var WEB_ASSEMBLY = "WebAssembly";
1023
1023
  var WebAssembly = global$l[WEB_ASSEMBLY];
1024
1024
  var FORCED$4 = Error("e", { cause: 7 }).cause !== 7;
1025
1025
  var exportGlobalErrorCauseWrapper = function(ERROR_NAME, wrapper2) {
1026
- var O3 = {};
1027
- O3[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper2, FORCED$4);
1028
- $$x({ global: true, constructor: true, arity: 1, forced: FORCED$4 }, O3);
1026
+ var O2 = {};
1027
+ O2[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper2, FORCED$4);
1028
+ $$w({ global: true, constructor: true, arity: 1, forced: FORCED$4 }, O2);
1029
1029
  };
1030
1030
  var exportWebAssemblyErrorCauseWrapper = function(ERROR_NAME, wrapper2) {
1031
1031
  if (WebAssembly && WebAssembly[ERROR_NAME]) {
1032
- var O3 = {};
1033
- O3[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + "." + ERROR_NAME, wrapper2, FORCED$4);
1034
- $$x({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$4 }, O3);
1032
+ var O2 = {};
1033
+ O2[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + "." + ERROR_NAME, wrapper2, FORCED$4);
1034
+ $$w({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$4 }, O2);
1035
1035
  }
1036
1036
  };
1037
1037
  exportGlobalErrorCauseWrapper("Error", function(init2) {
@@ -1087,8 +1087,8 @@ exportWebAssemblyErrorCauseWrapper("RuntimeError", function(init2) {
1087
1087
  var objectDefineProperties = {};
1088
1088
  var internalObjectKeys = objectKeysInternal;
1089
1089
  var enumBugKeys$1 = enumBugKeys$3;
1090
- var objectKeys$2 = Object.keys || function keys(O3) {
1091
- return internalObjectKeys(O3, enumBugKeys$1);
1090
+ var objectKeys$2 = Object.keys || function keys(O2) {
1091
+ return internalObjectKeys(O2, enumBugKeys$1);
1092
1092
  };
1093
1093
  var DESCRIPTORS$a = descriptors;
1094
1094
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
@@ -1096,16 +1096,16 @@ var definePropertyModule$3 = objectDefineProperty;
1096
1096
  var anObject$i = anObject$m;
1097
1097
  var toIndexedObject$1 = toIndexedObject$5;
1098
1098
  var objectKeys$1 = objectKeys$2;
1099
- objectDefineProperties.f = DESCRIPTORS$a && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O3, Properties) {
1100
- anObject$i(O3);
1099
+ objectDefineProperties.f = DESCRIPTORS$a && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O2, Properties) {
1100
+ anObject$i(O2);
1101
1101
  var props2 = toIndexedObject$1(Properties);
1102
1102
  var keys3 = objectKeys$1(Properties);
1103
1103
  var length3 = keys3.length;
1104
1104
  var index2 = 0;
1105
1105
  var key;
1106
1106
  while (length3 > index2)
1107
- definePropertyModule$3.f(O3, key = keys3[index2++], props2[key]);
1108
- return O3;
1107
+ definePropertyModule$3.f(O2, key = keys3[index2++], props2[key]);
1108
+ return O2;
1109
1109
  };
1110
1110
  var getBuiltIn$8 = getBuiltIn$d;
1111
1111
  var html$2 = getBuiltIn$8("document", "documentElement");
@@ -1159,13 +1159,13 @@ var NullProtoObject = function() {
1159
1159
  return NullProtoObject();
1160
1160
  };
1161
1161
  hiddenKeys[IE_PROTO$1] = true;
1162
- var objectCreate = Object.create || function create(O3, Properties) {
1162
+ var objectCreate = Object.create || function create(O2, Properties) {
1163
1163
  var result;
1164
- if (O3 !== null) {
1165
- EmptyConstructor[PROTOTYPE] = anObject$h(O3);
1164
+ if (O2 !== null) {
1165
+ EmptyConstructor[PROTOTYPE] = anObject$h(O2);
1166
1166
  result = new EmptyConstructor();
1167
1167
  EmptyConstructor[PROTOTYPE] = null;
1168
- result[IE_PROTO$1] = O3;
1168
+ result[IE_PROTO$1] = O2;
1169
1169
  } else
1170
1170
  result = NullProtoObject();
1171
1171
  return Properties === void 0 ? result : definePropertiesModule.f(result, Properties);
@@ -1187,10 +1187,10 @@ var addToUnscopables$3 = function(key) {
1187
1187
  var iterators = {};
1188
1188
  var fails$o = fails$y;
1189
1189
  var correctPrototypeGetter = !fails$o(function() {
1190
- function F2() {
1190
+ function F() {
1191
1191
  }
1192
- F2.prototype.constructor = null;
1193
- return Object.getPrototypeOf(new F2()) !== F2.prototype;
1192
+ F.prototype.constructor = null;
1193
+ return Object.getPrototypeOf(new F()) !== F.prototype;
1194
1194
  });
1195
1195
  var hasOwn$b = hasOwnProperty_1;
1196
1196
  var isCallable$d = isCallable$r;
@@ -1200,8 +1200,8 @@ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1200
1200
  var IE_PROTO = sharedKey("IE_PROTO");
1201
1201
  var $Object = Object;
1202
1202
  var ObjectPrototype = $Object.prototype;
1203
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O3) {
1204
- var object = toObject$6(O3);
1203
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O2) {
1204
+ var object = toObject$6(O2);
1205
1205
  if (hasOwn$b(object, IE_PROTO))
1206
1206
  return object[IE_PROTO];
1207
1207
  var constructor = object.constructor;
@@ -1269,7 +1269,7 @@ var createIteratorConstructor$2 = function(IteratorConstructor, NAME, next3, ENU
1269
1269
  Iterators$4[TO_STRING_TAG2] = returnThis$1;
1270
1270
  return IteratorConstructor;
1271
1271
  };
1272
- var $$w = _export;
1272
+ var $$v = _export;
1273
1273
  var call$k = functionCall;
1274
1274
  var FunctionName = functionName;
1275
1275
  var isCallable$b = isCallable$r;
@@ -1361,7 +1361,7 @@ var defineIterator$2 = function(Iterable, NAME, IteratorConstructor, next3, DEFA
1361
1361
  }
1362
1362
  }
1363
1363
  else
1364
- $$w({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1364
+ $$v({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1365
1365
  }
1366
1366
  if (IterablePrototype[ITERATOR$8] !== defaultIterator) {
1367
1367
  defineBuiltIn$9(IterablePrototype, ITERATOR$8, defaultIterator, { name: DEFAULT });
@@ -1513,7 +1513,7 @@ var correctIsRegexpLogic = function(METHOD_NAME) {
1513
1513
  }
1514
1514
  return false;
1515
1515
  };
1516
- var $$v = _export;
1516
+ var $$u = _export;
1517
1517
  var uncurryThis$p = functionUncurryThis;
1518
1518
  var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
1519
1519
  var toLength$4 = toLength$6;
@@ -1529,7 +1529,7 @@ var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function() {
1529
1529
  var descriptor = getOwnPropertyDescriptor$3(String.prototype, "startsWith");
1530
1530
  return descriptor && !descriptor.writable;
1531
1531
  }();
1532
- $$v({ target: "String", proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
1532
+ $$u({ target: "String", proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
1533
1533
  startsWith: function startsWith(searchString) {
1534
1534
  var that = toString$g(requireObjectCoercible$9(this));
1535
1535
  notARegExp$2(searchString);
@@ -1690,12 +1690,12 @@ if (PATCH) {
1690
1690
  };
1691
1691
  }
1692
1692
  var regexpExec$3 = patchedExec;
1693
- var $$u = _export;
1693
+ var $$t = _export;
1694
1694
  var exec$7 = regexpExec$3;
1695
- $$u({ target: "RegExp", proto: true, forced: /./.exec !== exec$7 }, {
1695
+ $$t({ target: "RegExp", proto: true, forced: /./.exec !== exec$7 }, {
1696
1696
  exec: exec$7
1697
1697
  });
1698
- var $$t = _export;
1698
+ var $$s = _export;
1699
1699
  var call$i = functionCall;
1700
1700
  var uncurryThis$n = functionUncurryThis;
1701
1701
  var isCallable$a = isCallable$r;
@@ -1711,7 +1711,7 @@ var DELEGATES_TO_EXEC = function() {
1711
1711
  }();
1712
1712
  var $TypeError$9 = TypeError;
1713
1713
  var un$Test = uncurryThis$n(/./.test);
1714
- $$t({ target: "RegExp", proto: true, forced: !DELEGATES_TO_EXEC }, {
1714
+ $$s({ target: "RegExp", proto: true, forced: !DELEGATES_TO_EXEC }, {
1715
1715
  test: function(str) {
1716
1716
  var exec2 = this.exec;
1717
1717
  if (!isCallable$a(exec2))
@@ -1734,11 +1734,11 @@ var RegExpPrototype$4 = RegExp.prototype;
1734
1734
  var fixRegexpWellKnownSymbolLogic = function(KEY, exec2, FORCED2, SHAM) {
1735
1735
  var SYMBOL = wellKnownSymbol$a(KEY);
1736
1736
  var DELEGATES_TO_SYMBOL = !fails$j(function() {
1737
- var O3 = {};
1738
- O3[SYMBOL] = function() {
1737
+ var O2 = {};
1738
+ O2[SYMBOL] = function() {
1739
1739
  return 7;
1740
1740
  };
1741
- return ""[KEY](O3) != 7;
1741
+ return ""[KEY](O2) != 7;
1742
1742
  });
1743
1743
  var DELEGATES_TO_EXEC2 = DELEGATES_TO_SYMBOL && !fails$j(function() {
1744
1744
  var execCalled = false;
@@ -1815,7 +1815,7 @@ var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
1815
1815
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
1816
1816
  var getSubstitution$1 = function(matched, str, position, captures, namedCaptures, replacement2) {
1817
1817
  var tailPos = position + matched.length;
1818
- var m4 = captures.length;
1818
+ var m3 = captures.length;
1819
1819
  var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
1820
1820
  if (namedCaptures !== void 0) {
1821
1821
  namedCaptures = toObject$5(namedCaptures);
@@ -1836,18 +1836,18 @@ var getSubstitution$1 = function(matched, str, position, captures, namedCaptures
1836
1836
  capture = namedCaptures[stringSlice$6(ch, 1, -1)];
1837
1837
  break;
1838
1838
  default:
1839
- var n2 = +ch;
1840
- if (n2 === 0)
1839
+ var n = +ch;
1840
+ if (n === 0)
1841
1841
  return match2;
1842
- if (n2 > m4) {
1843
- var f2 = floor$3(n2 / 10);
1844
- if (f2 === 0)
1842
+ if (n > m3) {
1843
+ var f = floor$3(n / 10);
1844
+ if (f === 0)
1845
1845
  return match2;
1846
- if (f2 <= m4)
1847
- return captures[f2 - 1] === void 0 ? charAt$7(ch, 1) : captures[f2 - 1] + charAt$7(ch, 1);
1846
+ if (f <= m3)
1847
+ return captures[f - 1] === void 0 ? charAt$7(ch, 1) : captures[f - 1] + charAt$7(ch, 1);
1848
1848
  return match2;
1849
1849
  }
1850
- capture = captures[n2 - 1];
1850
+ capture = captures[n - 1];
1851
1851
  }
1852
1852
  return capture === void 0 ? "" : capture;
1853
1853
  });
@@ -1858,16 +1858,16 @@ var isCallable$9 = isCallable$r;
1858
1858
  var classof$6 = classofRaw$1;
1859
1859
  var regexpExec$1 = regexpExec$3;
1860
1860
  var $TypeError$8 = TypeError;
1861
- var regexpExecAbstract = function(R3, S3) {
1862
- var exec2 = R3.exec;
1861
+ var regexpExecAbstract = function(R2, S3) {
1862
+ var exec2 = R2.exec;
1863
1863
  if (isCallable$9(exec2)) {
1864
- var result = call$h(exec2, R3, S3);
1864
+ var result = call$h(exec2, R2, S3);
1865
1865
  if (result !== null)
1866
1866
  anObject$f(result);
1867
1867
  return result;
1868
1868
  }
1869
- if (classof$6(R3) === "RegExp")
1870
- return call$h(regexpExec$1, R3, S3);
1869
+ if (classof$6(R2) === "RegExp")
1870
+ return call$h(regexpExec$1, R2, S3);
1871
1871
  throw $TypeError$8("RegExp#exec called on incompatible receiver");
1872
1872
  };
1873
1873
  var apply$3 = functionApply;
@@ -1918,9 +1918,9 @@ fixRegExpWellKnownSymbolLogic$3("replace", function(_, nativeReplace2, maybeCall
1918
1918
  var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? "$" : "$0";
1919
1919
  return [
1920
1920
  function replace2(searchValue, replaceValue) {
1921
- var O3 = requireObjectCoercible$7(this);
1921
+ var O2 = requireObjectCoercible$7(this);
1922
1922
  var replacer2 = searchValue == void 0 ? void 0 : getMethod$5(searchValue, REPLACE);
1923
- return replacer2 ? call$g(replacer2, searchValue, O3, replaceValue) : call$g(nativeReplace2, toString$d(O3), searchValue, replaceValue);
1923
+ return replacer2 ? call$g(replacer2, searchValue, O2, replaceValue) : call$g(nativeReplace2, toString$d(O2), searchValue, replaceValue);
1924
1924
  },
1925
1925
  function(string, replaceValue) {
1926
1926
  var rx = anObject$e(this);
@@ -1957,8 +1957,8 @@ fixRegExpWellKnownSymbolLogic$3("replace", function(_, nativeReplace2, maybeCall
1957
1957
  var matched = toString$d(result[0]);
1958
1958
  var position = max$2(min$3(toIntegerOrInfinity$2(result.index), S3.length), 0);
1959
1959
  var captures = [];
1960
- for (var j2 = 1; j2 < result.length; j2++)
1961
- push$5(captures, maybeToString(result[j2]));
1960
+ for (var j = 1; j < result.length; j++)
1961
+ push$5(captures, maybeToString(result[j]));
1962
1962
  var namedCaptures = result.groups;
1963
1963
  if (functionalReplace) {
1964
1964
  var replacerArgs = concat$1([matched], captures, position, S3);
@@ -1977,27 +1977,27 @@ fixRegExpWellKnownSymbolLogic$3("replace", function(_, nativeReplace2, maybeCall
1977
1977
  }
1978
1978
  ];
1979
1979
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
1980
- var $$s = _export;
1980
+ var $$r = _export;
1981
1981
  var $includes = arrayIncludes.includes;
1982
1982
  var fails$h = fails$y;
1983
1983
  var addToUnscopables$1 = addToUnscopables$3;
1984
1984
  var BROKEN_ON_SPARSE = fails$h(function() {
1985
1985
  return !Array(1).includes();
1986
1986
  });
1987
- $$s({ target: "Array", proto: true, forced: BROKEN_ON_SPARSE }, {
1987
+ $$r({ target: "Array", proto: true, forced: BROKEN_ON_SPARSE }, {
1988
1988
  includes: function includes(el) {
1989
1989
  return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0);
1990
1990
  }
1991
1991
  });
1992
1992
  addToUnscopables$1("includes");
1993
- var $$r = _export;
1993
+ var $$q = _export;
1994
1994
  var uncurryThis$i = functionUncurryThis;
1995
1995
  var notARegExp$1 = notARegexp;
1996
1996
  var requireObjectCoercible$6 = requireObjectCoercible$c;
1997
1997
  var toString$c = toString$i;
1998
1998
  var correctIsRegExpLogic$1 = correctIsRegexpLogic;
1999
1999
  var stringIndexOf$1 = uncurryThis$i("".indexOf);
2000
- $$r({ target: "String", proto: true, forced: !correctIsRegExpLogic$1("includes") }, {
2000
+ $$q({ target: "String", proto: true, forced: !correctIsRegExpLogic$1("includes") }, {
2001
2001
  includes: function includes2(searchString) {
2002
2002
  return !!~stringIndexOf$1(toString$c(requireObjectCoercible$6(this)), toString$c(notARegExp$1(searchString)), arguments.length > 1 ? arguments[1] : void 0);
2003
2003
  }
@@ -2014,9 +2014,9 @@ var regExpExec$1 = regexpExecAbstract;
2014
2014
  fixRegExpWellKnownSymbolLogic$2("match", function(MATCH2, nativeMatch, maybeCallNative) {
2015
2015
  return [
2016
2016
  function match2(regexp) {
2017
- var O3 = requireObjectCoercible$5(this);
2017
+ var O2 = requireObjectCoercible$5(this);
2018
2018
  var matcher = regexp == void 0 ? void 0 : getMethod$4(regexp, MATCH2);
2019
- return matcher ? call$f(matcher, regexp, O3) : new RegExp(regexp)[MATCH2](toString$b(O3));
2019
+ return matcher ? call$f(matcher, regexp, O2) : new RegExp(regexp)[MATCH2](toString$b(O2));
2020
2020
  },
2021
2021
  function(string) {
2022
2022
  var rx = anObject$d(this);
@@ -2028,17 +2028,17 @@ fixRegExpWellKnownSymbolLogic$2("match", function(MATCH2, nativeMatch, maybeCall
2028
2028
  return regExpExec$1(rx, S3);
2029
2029
  var fullUnicode = rx.unicode;
2030
2030
  rx.lastIndex = 0;
2031
- var A2 = [];
2032
- var n2 = 0;
2031
+ var A = [];
2032
+ var n = 0;
2033
2033
  var result;
2034
2034
  while ((result = regExpExec$1(rx, S3)) !== null) {
2035
2035
  var matchStr = toString$b(result[0]);
2036
- A2[n2] = matchStr;
2036
+ A[n] = matchStr;
2037
2037
  if (matchStr === "")
2038
2038
  rx.lastIndex = advanceStringIndex$1(S3, toLength$2(rx.lastIndex), fullUnicode);
2039
- n2++;
2039
+ n++;
2040
2040
  }
2041
- return n2 === 0 ? null : A2;
2041
+ return n === 0 ? null : A;
2042
2042
  }
2043
2043
  ];
2044
2044
  });
@@ -2126,10 +2126,10 @@ var anObject$c = anObject$m;
2126
2126
  var aConstructor = aConstructor$1;
2127
2127
  var wellKnownSymbol$7 = wellKnownSymbol$l;
2128
2128
  var SPECIES$1 = wellKnownSymbol$7("species");
2129
- var speciesConstructor$2 = function(O3, defaultConstructor) {
2130
- var C2 = anObject$c(O3).constructor;
2129
+ var speciesConstructor$2 = function(O2, defaultConstructor) {
2130
+ var C = anObject$c(O2).constructor;
2131
2131
  var S3;
2132
- return C2 === void 0 || (S3 = anObject$c(C2)[SPECIES$1]) == void 0 ? defaultConstructor : aConstructor(S3);
2132
+ return C === void 0 || (S3 = anObject$c(C)[SPECIES$1]) == void 0 ? defaultConstructor : aConstructor(S3);
2133
2133
  };
2134
2134
  var uncurryThis$g = functionUncurryThis;
2135
2135
  var aCallable$7 = aCallable$9;
@@ -2165,7 +2165,7 @@ var IS_IOS$1 = engineIsIos;
2165
2165
  var IS_NODE$4 = engineIsNode;
2166
2166
  var set$3 = global$f.setImmediate;
2167
2167
  var clear$1 = global$f.clearImmediate;
2168
- var process$3 = global$f.process;
2168
+ var process$2 = global$f.process;
2169
2169
  var Dispatch = global$f.Dispatch;
2170
2170
  var Function$1 = global$f.Function;
2171
2171
  var MessageChannel = global$f.MessageChannel;
@@ -2212,7 +2212,7 @@ if (!set$3 || !clear$1) {
2212
2212
  };
2213
2213
  if (IS_NODE$4) {
2214
2214
  defer = function(id2) {
2215
- process$3.nextTick(runner(id2));
2215
+ process$2.nextTick(runner(id2));
2216
2216
  };
2217
2217
  } else if (Dispatch && Dispatch.now) {
2218
2218
  defer = function(id2) {
@@ -2258,7 +2258,7 @@ var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
2258
2258
  var IS_NODE$3 = engineIsNode;
2259
2259
  var MutationObserver = global$d.MutationObserver || global$d.WebKitMutationObserver;
2260
2260
  var document$2 = global$d.document;
2261
- var process$2 = global$d.process;
2261
+ var process$1 = global$d.process;
2262
2262
  var Promise$1 = global$d.Promise;
2263
2263
  var queueMicrotaskDescriptor = getOwnPropertyDescriptor$2(global$d, "queueMicrotask");
2264
2264
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
@@ -2266,7 +2266,7 @@ var flush, head, last, notify$1, toggle, node, promise, then;
2266
2266
  if (!queueMicrotask) {
2267
2267
  flush = function() {
2268
2268
  var parent, fn;
2269
- if (IS_NODE$3 && (parent = process$2.domain))
2269
+ if (IS_NODE$3 && (parent = process$1.domain))
2270
2270
  parent.exit();
2271
2271
  while (head) {
2272
2272
  fn = head.fn;
@@ -2301,7 +2301,7 @@ if (!queueMicrotask) {
2301
2301
  };
2302
2302
  } else if (IS_NODE$3) {
2303
2303
  notify$1 = function() {
2304
- process$2.nextTick(flush);
2304
+ process$1.nextTick(flush);
2305
2305
  };
2306
2306
  } else {
2307
2307
  macrotask = bind$5(macrotask, global$d);
@@ -2321,10 +2321,10 @@ var microtask$1 = queueMicrotask || function(fn) {
2321
2321
  last = task2;
2322
2322
  };
2323
2323
  var global$c = global$v;
2324
- var hostReportErrors$1 = function(a4, b3) {
2324
+ var hostReportErrors$1 = function(a3, b2) {
2325
2325
  var console2 = global$c.console;
2326
2326
  if (console2 && console2.error) {
2327
- arguments.length == 1 ? console2.error(a4) : console2.error(a4, b3);
2327
+ arguments.length == 1 ? console2.error(a3) : console2.error(a3, b2);
2328
2328
  }
2329
2329
  };
2330
2330
  var perform$3 = function(exec2) {
@@ -2403,9 +2403,9 @@ var promiseConstructorDetection = {
2403
2403
  };
2404
2404
  var newPromiseCapability$2 = {};
2405
2405
  var aCallable$6 = aCallable$9;
2406
- var PromiseCapability = function(C2) {
2406
+ var PromiseCapability = function(C) {
2407
2407
  var resolve3, reject2;
2408
- this.promise = new C2(function($$resolve, $$reject) {
2408
+ this.promise = new C(function($$resolve, $$reject) {
2409
2409
  if (resolve3 !== void 0 || reject2 !== void 0)
2410
2410
  throw TypeError("Bad Promise constructor");
2411
2411
  resolve3 = $$resolve;
@@ -2414,10 +2414,10 @@ var PromiseCapability = function(C2) {
2414
2414
  this.resolve = aCallable$6(resolve3);
2415
2415
  this.reject = aCallable$6(reject2);
2416
2416
  };
2417
- newPromiseCapability$2.f = function(C2) {
2418
- return new PromiseCapability(C2);
2417
+ newPromiseCapability$2.f = function(C) {
2418
+ return new PromiseCapability(C);
2419
2419
  };
2420
- var $$q = _export;
2420
+ var $$p = _export;
2421
2421
  var IS_NODE$2 = engineIsNode;
2422
2422
  var global$9 = global$v;
2423
2423
  var call$e = functionCall;
@@ -2450,7 +2450,7 @@ var PromiseConstructor = NativePromiseConstructor$2;
2450
2450
  var PromisePrototype = NativePromisePrototype$1;
2451
2451
  var TypeError$3 = global$9.TypeError;
2452
2452
  var document$1 = global$9.document;
2453
- var process$1 = global$9.process;
2453
+ var process = global$9.process;
2454
2454
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
2455
2455
  var newGenericPromiseCapability = newPromiseCapability$1;
2456
2456
  var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$9.dispatchEvent);
@@ -2545,7 +2545,7 @@ var onUnhandled = function(state) {
2545
2545
  if (IS_UNHANDLED) {
2546
2546
  result = perform$2(function() {
2547
2547
  if (IS_NODE$2) {
2548
- process$1.emit("unhandledRejection", value, promise2);
2548
+ process.emit("unhandledRejection", value, promise2);
2549
2549
  } else
2550
2550
  dispatchEvent(UNHANDLED_REJECTION, promise2, value);
2551
2551
  });
@@ -2562,7 +2562,7 @@ var onHandleUnhandled = function(state) {
2562
2562
  call$e(task, global$9, function() {
2563
2563
  var promise2 = state.facade;
2564
2564
  if (IS_NODE$2) {
2565
- process$1.emit("rejectionHandled", promise2);
2565
+ process.emit("rejectionHandled", promise2);
2566
2566
  } else
2567
2567
  dispatchEvent(REJECTION_HANDLED, promise2, state.value);
2568
2568
  });
@@ -2641,7 +2641,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2641
2641
  state.parent = true;
2642
2642
  reaction.ok = isCallable$4(onFulfilled) ? onFulfilled : true;
2643
2643
  reaction.fail = isCallable$4(onRejected) && onRejected;
2644
- reaction.domain = IS_NODE$2 ? process$1.domain : void 0;
2644
+ reaction.domain = IS_NODE$2 ? process.domain : void 0;
2645
2645
  if (state.state == PENDING)
2646
2646
  state.reactions.add(reaction);
2647
2647
  else
@@ -2657,8 +2657,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2657
2657
  this.resolve = bind$4(internalResolve, state);
2658
2658
  this.reject = bind$4(internalReject, state);
2659
2659
  };
2660
- newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function(C2) {
2661
- return C2 === PromiseConstructor || C2 === PromiseWrapper ? new OwnPromiseCapability(C2) : newGenericPromiseCapability(C2);
2660
+ newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function(C) {
2661
+ return C === PromiseConstructor || C === PromiseWrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C);
2662
2662
  };
2663
2663
  if (isCallable$4(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
2664
2664
  nativeThen = NativePromisePrototype$1.then;
@@ -2679,7 +2679,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2679
2679
  }
2680
2680
  }
2681
2681
  }
2682
- $$q({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
2682
+ $$p({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
2683
2683
  Promise: PromiseConstructor
2684
2684
  });
2685
2685
  setToStringTag$4(PromiseConstructor, PROMISE, false);
@@ -2846,21 +2846,21 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
2846
2846
  NativePromiseConstructor$1.all(iterable).then(void 0, function() {
2847
2847
  });
2848
2848
  });
2849
- var $$p = _export;
2849
+ var $$o = _export;
2850
2850
  var call$a = functionCall;
2851
2851
  var aCallable$3 = aCallable$9;
2852
2852
  var newPromiseCapabilityModule$2 = newPromiseCapability$2;
2853
2853
  var perform$1 = perform$3;
2854
2854
  var iterate$2 = iterate$3;
2855
2855
  var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
2856
- $$p({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
2856
+ $$o({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
2857
2857
  all: function all(iterable) {
2858
- var C2 = this;
2859
- var capability = newPromiseCapabilityModule$2.f(C2);
2858
+ var C = this;
2859
+ var capability = newPromiseCapabilityModule$2.f(C);
2860
2860
  var resolve3 = capability.resolve;
2861
2861
  var reject2 = capability.reject;
2862
2862
  var result = perform$1(function() {
2863
- var $promiseResolve = aCallable$3(C2.resolve);
2863
+ var $promiseResolve = aCallable$3(C.resolve);
2864
2864
  var values3 = [];
2865
2865
  var counter2 = 0;
2866
2866
  var remaining = 1;
@@ -2868,7 +2868,7 @@ $$p({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
2868
2868
  var index2 = counter2++;
2869
2869
  var alreadyCalled = false;
2870
2870
  remaining++;
2871
- call$a($promiseResolve, C2, promise2).then(function(value) {
2871
+ call$a($promiseResolve, C, promise2).then(function(value) {
2872
2872
  if (alreadyCalled)
2873
2873
  return;
2874
2874
  alreadyCalled = true;
@@ -2883,14 +2883,14 @@ $$p({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
2883
2883
  return capability.promise;
2884
2884
  }
2885
2885
  });
2886
- var $$o = _export;
2886
+ var $$n = _export;
2887
2887
  var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
2888
2888
  var NativePromiseConstructor = promiseNativeConstructor;
2889
2889
  var getBuiltIn$5 = getBuiltIn$d;
2890
2890
  var isCallable$3 = isCallable$r;
2891
2891
  var defineBuiltIn$6 = defineBuiltIn$c;
2892
2892
  var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
2893
- $$o({ target: "Promise", proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
2893
+ $$n({ target: "Promise", proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
2894
2894
  "catch": function(onRejected) {
2895
2895
  return this.then(void 0, onRejected);
2896
2896
  }
@@ -2901,22 +2901,22 @@ if (isCallable$3(NativePromiseConstructor)) {
2901
2901
  defineBuiltIn$6(NativePromisePrototype, "catch", method, { unsafe: true });
2902
2902
  }
2903
2903
  }
2904
- var $$n = _export;
2904
+ var $$m = _export;
2905
2905
  var call$9 = functionCall;
2906
2906
  var aCallable$2 = aCallable$9;
2907
2907
  var newPromiseCapabilityModule$1 = newPromiseCapability$2;
2908
2908
  var perform = perform$3;
2909
2909
  var iterate$1 = iterate$3;
2910
2910
  var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
2911
- $$n({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
2911
+ $$m({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
2912
2912
  race: function race(iterable) {
2913
- var C2 = this;
2914
- var capability = newPromiseCapabilityModule$1.f(C2);
2913
+ var C = this;
2914
+ var capability = newPromiseCapabilityModule$1.f(C);
2915
2915
  var reject2 = capability.reject;
2916
2916
  var result = perform(function() {
2917
- var $promiseResolve = aCallable$2(C2.resolve);
2917
+ var $promiseResolve = aCallable$2(C.resolve);
2918
2918
  iterate$1(iterable, function(promise2) {
2919
- call$9($promiseResolve, C2, promise2).then(capability.resolve, reject2);
2919
+ call$9($promiseResolve, C, promise2).then(capability.resolve, reject2);
2920
2920
  });
2921
2921
  });
2922
2922
  if (result.error)
@@ -2924,44 +2924,44 @@ $$n({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
2924
2924
  return capability.promise;
2925
2925
  }
2926
2926
  });
2927
- var $$m = _export;
2927
+ var $$l = _export;
2928
2928
  var call$8 = functionCall;
2929
2929
  var newPromiseCapabilityModule = newPromiseCapability$2;
2930
2930
  var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
2931
- $$m({ target: "Promise", stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
2932
- reject: function reject(r2) {
2931
+ $$l({ target: "Promise", stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
2932
+ reject: function reject(r) {
2933
2933
  var capability = newPromiseCapabilityModule.f(this);
2934
- call$8(capability.reject, void 0, r2);
2934
+ call$8(capability.reject, void 0, r);
2935
2935
  return capability.promise;
2936
2936
  }
2937
2937
  });
2938
2938
  var anObject$8 = anObject$m;
2939
2939
  var isObject$5 = isObject$g;
2940
2940
  var newPromiseCapability = newPromiseCapability$2;
2941
- var promiseResolve$1 = function(C2, x3) {
2942
- anObject$8(C2);
2943
- if (isObject$5(x3) && x3.constructor === C2)
2944
- return x3;
2945
- var promiseCapability = newPromiseCapability.f(C2);
2941
+ var promiseResolve$1 = function(C, x2) {
2942
+ anObject$8(C);
2943
+ if (isObject$5(x2) && x2.constructor === C)
2944
+ return x2;
2945
+ var promiseCapability = newPromiseCapability.f(C);
2946
2946
  var resolve3 = promiseCapability.resolve;
2947
- resolve3(x3);
2947
+ resolve3(x2);
2948
2948
  return promiseCapability.promise;
2949
2949
  };
2950
- var $$l = _export;
2950
+ var $$k = _export;
2951
2951
  var getBuiltIn$4 = getBuiltIn$d;
2952
2952
  var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
2953
2953
  var promiseResolve = promiseResolve$1;
2954
2954
  getBuiltIn$4("Promise");
2955
- $$l({ target: "Promise", stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
2956
- resolve: function resolve(x3) {
2957
- return promiseResolve(this, x3);
2955
+ $$k({ target: "Promise", stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
2956
+ resolve: function resolve(x2) {
2957
+ return promiseResolve(this, x2);
2958
2958
  }
2959
2959
  });
2960
2960
  var classof$2 = classofRaw$1;
2961
2961
  var isArray$3 = Array.isArray || function isArray(argument) {
2962
2962
  return classof$2(argument) == "Array";
2963
2963
  };
2964
- var $$k = _export;
2964
+ var $$j = _export;
2965
2965
  var getBuiltIn$3 = getBuiltIn$d;
2966
2966
  var apply$1 = functionApply;
2967
2967
  var call$7 = functionCall;
@@ -3013,7 +3013,7 @@ var fixIllFormed = function(match2, offset, string) {
3013
3013
  return match2;
3014
3014
  };
3015
3015
  if ($stringify) {
3016
- $$k({ target: "JSON", stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3016
+ $$j({ target: "JSON", stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3017
3017
  stringify: function stringify(it, replacer2, space) {
3018
3018
  var args = arraySlice$3(arguments);
3019
3019
  var result = apply$1(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
@@ -3036,14 +3036,14 @@ var lengthOfArrayLike$4 = lengthOfArrayLike$7;
3036
3036
  var createProperty$2 = createProperty$3;
3037
3037
  var $Array$1 = Array;
3038
3038
  var max$1 = Math.max;
3039
- var arraySliceSimple = function(O3, start, end) {
3040
- var length3 = lengthOfArrayLike$4(O3);
3041
- var k3 = toAbsoluteIndex(start, length3);
3039
+ var arraySliceSimple = function(O2, start, end) {
3040
+ var length3 = lengthOfArrayLike$4(O2);
3041
+ var k2 = toAbsoluteIndex(start, length3);
3042
3042
  var fin = toAbsoluteIndex(end === void 0 ? length3 : end, length3);
3043
- var result = $Array$1(max$1(fin - k3, 0));
3044
- for (var n2 = 0; k3 < fin; k3++, n2++)
3045
- createProperty$2(result, n2, O3[k3]);
3046
- result.length = n2;
3043
+ var result = $Array$1(max$1(fin - k2, 0));
3044
+ for (var n = 0; k2 < fin; k2++, n++)
3045
+ createProperty$2(result, n, O2[k2]);
3046
+ result.length = n;
3047
3047
  return result;
3048
3048
  };
3049
3049
  var apply = functionApply;
@@ -3126,9 +3126,9 @@ fixRegExpWellKnownSymbolLogic$1("split", function(SPLIT, nativeSplit, maybeCallN
3126
3126
  internalSplit = nativeSplit;
3127
3127
  return [
3128
3128
  function split2(separator, limit) {
3129
- var O3 = requireObjectCoercible$4(this);
3129
+ var O2 = requireObjectCoercible$4(this);
3130
3130
  var splitter = separator == void 0 ? void 0 : getMethod$1(separator, SPLIT);
3131
- return splitter ? call$6(splitter, separator, O3, limit) : call$6(internalSplit, toString$a(O3), separator, limit);
3131
+ return splitter ? call$6(splitter, separator, O2, limit) : call$6(internalSplit, toString$a(O2), separator, limit);
3132
3132
  },
3133
3133
  function(string, limit) {
3134
3134
  var rx = anObject$7(this);
@@ -3136,38 +3136,38 @@ fixRegExpWellKnownSymbolLogic$1("split", function(SPLIT, nativeSplit, maybeCallN
3136
3136
  var res = maybeCallNative(internalSplit, rx, S3, limit, internalSplit !== nativeSplit);
3137
3137
  if (res.done)
3138
3138
  return res.value;
3139
- var C2 = speciesConstructor(rx, RegExp);
3139
+ var C = speciesConstructor(rx, RegExp);
3140
3140
  var unicodeMatching = rx.unicode;
3141
3141
  var flags = (rx.ignoreCase ? "i" : "") + (rx.multiline ? "m" : "") + (rx.unicode ? "u" : "") + (UNSUPPORTED_Y$1 ? "g" : "y");
3142
- var splitter = new C2(UNSUPPORTED_Y$1 ? "^(?:" + rx.source + ")" : rx, flags);
3142
+ var splitter = new C(UNSUPPORTED_Y$1 ? "^(?:" + rx.source + ")" : rx, flags);
3143
3143
  var lim = limit === void 0 ? MAX_UINT32 : limit >>> 0;
3144
3144
  if (lim === 0)
3145
3145
  return [];
3146
3146
  if (S3.length === 0)
3147
3147
  return callRegExpExec(splitter, S3) === null ? [S3] : [];
3148
3148
  var p2 = 0;
3149
- var q3 = 0;
3150
- var A2 = [];
3151
- while (q3 < S3.length) {
3152
- splitter.lastIndex = UNSUPPORTED_Y$1 ? 0 : q3;
3153
- var z2 = callRegExpExec(splitter, UNSUPPORTED_Y$1 ? stringSlice$4(S3, q3) : S3);
3154
- var e3;
3155
- if (z2 === null || (e3 = min$2(toLength$1(splitter.lastIndex + (UNSUPPORTED_Y$1 ? q3 : 0)), S3.length)) === p2) {
3156
- q3 = advanceStringIndex(S3, q3, unicodeMatching);
3149
+ var q2 = 0;
3150
+ var A = [];
3151
+ while (q2 < S3.length) {
3152
+ splitter.lastIndex = UNSUPPORTED_Y$1 ? 0 : q2;
3153
+ var z2 = callRegExpExec(splitter, UNSUPPORTED_Y$1 ? stringSlice$4(S3, q2) : S3);
3154
+ var e2;
3155
+ if (z2 === null || (e2 = min$2(toLength$1(splitter.lastIndex + (UNSUPPORTED_Y$1 ? q2 : 0)), S3.length)) === p2) {
3156
+ q2 = advanceStringIndex(S3, q2, unicodeMatching);
3157
3157
  } else {
3158
- push$4(A2, stringSlice$4(S3, p2, q3));
3159
- if (A2.length === lim)
3160
- return A2;
3158
+ push$4(A, stringSlice$4(S3, p2, q2));
3159
+ if (A.length === lim)
3160
+ return A;
3161
3161
  for (var i3 = 1; i3 <= z2.length - 1; i3++) {
3162
- push$4(A2, z2[i3]);
3163
- if (A2.length === lim)
3164
- return A2;
3162
+ push$4(A, z2[i3]);
3163
+ if (A.length === lim)
3164
+ return A;
3165
3165
  }
3166
- q3 = p2 = e3;
3166
+ q2 = p2 = e2;
3167
3167
  }
3168
3168
  }
3169
- push$4(A2, stringSlice$4(S3, p2));
3170
- return A2;
3169
+ push$4(A, stringSlice$4(S3, p2));
3170
+ return A;
3171
3171
  }
3172
3172
  ];
3173
3173
  }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y$1);
@@ -3204,19 +3204,19 @@ var stringTrimForced = function(METHOD_NAME) {
3204
3204
  return !!whitespaces$2[METHOD_NAME]() || non[METHOD_NAME]() !== non || PROPER_FUNCTION_NAME$1 && whitespaces$2[METHOD_NAME].name !== METHOD_NAME;
3205
3205
  });
3206
3206
  };
3207
- var $$j = _export;
3207
+ var $$i = _export;
3208
3208
  var $trim = stringTrim.trim;
3209
3209
  var forcedStringTrimMethod = stringTrimForced;
3210
- $$j({ target: "String", proto: true, forced: forcedStringTrimMethod("trim") }, {
3210
+ $$i({ target: "String", proto: true, forced: forcedStringTrimMethod("trim") }, {
3211
3211
  trim: function trim() {
3212
3212
  return $trim(this);
3213
3213
  }
3214
3214
  });
3215
3215
  var tryToString = tryToString$5;
3216
3216
  var $TypeError$2 = TypeError;
3217
- var deletePropertyOrThrow$1 = function(O3, P) {
3218
- if (!delete O3[P])
3219
- throw $TypeError$2("Cannot delete property " + tryToString(P) + " of " + tryToString(O3));
3217
+ var deletePropertyOrThrow$1 = function(O2, P) {
3218
+ if (!delete O2[P])
3219
+ throw $TypeError$2("Cannot delete property " + tryToString(P) + " of " + tryToString(O2));
3220
3220
  };
3221
3221
  var arraySlice$1 = arraySliceSimple;
3222
3222
  var floor$2 = Math.floor;
@@ -3228,15 +3228,15 @@ var mergeSort = function(array, comparefn) {
3228
3228
  var insertionSort = function(array, comparefn) {
3229
3229
  var length3 = array.length;
3230
3230
  var i3 = 1;
3231
- var element, j2;
3231
+ var element, j;
3232
3232
  while (i3 < length3) {
3233
- j2 = i3;
3233
+ j = i3;
3234
3234
  element = array[i3];
3235
- while (j2 && comparefn(array[j2 - 1], element) > 0) {
3236
- array[j2] = array[--j2];
3235
+ while (j && comparefn(array[j - 1], element) > 0) {
3236
+ array[j] = array[--j];
3237
3237
  }
3238
- if (j2 !== i3++)
3239
- array[j2] = element;
3238
+ if (j !== i3++)
3239
+ array[j] = element;
3240
3240
  }
3241
3241
  return array;
3242
3242
  };
@@ -3268,7 +3268,7 @@ var engineIsIeOrEdge = /MSIE|Trident/.test(UA);
3268
3268
  var userAgent = engineUserAgent;
3269
3269
  var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
3270
3270
  var engineWebkitVersion = !!webkit && +webkit[1];
3271
- var $$i = _export;
3271
+ var $$h = _export;
3272
3272
  var uncurryThis$b = functionUncurryThis;
3273
3273
  var aCallable$1 = aCallable$9;
3274
3274
  var toObject$4 = toObject$8;
@@ -3323,8 +3323,8 @@ var STABLE_SORT = !fails$a(function() {
3323
3323
  test$1.push({ k: chr + index2, v: value });
3324
3324
  }
3325
3325
  }
3326
- test$1.sort(function(a4, b3) {
3327
- return b3.v - a4.v;
3326
+ test$1.sort(function(a3, b2) {
3327
+ return b2.v - a3.v;
3328
3328
  });
3329
3329
  for (index2 = 0; index2 < test$1.length; index2++) {
3330
3330
  chr = test$1[index2].k.charAt(0);
@@ -3335,17 +3335,17 @@ var STABLE_SORT = !fails$a(function() {
3335
3335
  });
3336
3336
  var FORCED$3 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$1 || !STABLE_SORT;
3337
3337
  var getSortCompare = function(comparefn) {
3338
- return function(x3, y3) {
3338
+ return function(x2, y3) {
3339
3339
  if (y3 === void 0)
3340
3340
  return -1;
3341
- if (x3 === void 0)
3341
+ if (x2 === void 0)
3342
3342
  return 1;
3343
3343
  if (comparefn !== void 0)
3344
- return +comparefn(x3, y3) || 0;
3345
- return toString$8(x3) > toString$8(y3) ? 1 : -1;
3344
+ return +comparefn(x2, y3) || 0;
3345
+ return toString$8(x2) > toString$8(y3) ? 1 : -1;
3346
3346
  };
3347
3347
  };
3348
- $$i({ target: "Array", proto: true, forced: FORCED$3 }, {
3348
+ $$h({ target: "Array", proto: true, forced: FORCED$3 }, {
3349
3349
  sort: function sort(comparefn) {
3350
3350
  if (comparefn !== void 0)
3351
3351
  aCallable$1(comparefn);
@@ -3392,15 +3392,15 @@ var objectAssign = !$assign || fails$9(function() {
3392
3392
  }
3393
3393
  }), { b: 2 })).b !== 1)
3394
3394
  return true;
3395
- var A2 = {};
3395
+ var A = {};
3396
3396
  var B2 = {};
3397
3397
  var symbol = Symbol();
3398
3398
  var alphabet = "abcdefghijklmnopqrst";
3399
- A2[symbol] = 7;
3399
+ A[symbol] = 7;
3400
3400
  alphabet.split("").forEach(function(chr) {
3401
3401
  B2[chr] = chr;
3402
3402
  });
3403
- return $assign({}, A2)[symbol] != 7 || objectKeys($assign({}, B2)).join("") != alphabet;
3403
+ return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B2)).join("") != alphabet;
3404
3404
  }) ? function assign(target, source) {
3405
3405
  var T2 = toObject$3(target);
3406
3406
  var argumentsLength = arguments.length;
@@ -3411,22 +3411,22 @@ var objectAssign = !$assign || fails$9(function() {
3411
3411
  var S3 = IndexedObject$1(arguments[index2++]);
3412
3412
  var keys3 = getOwnPropertySymbols ? concat(objectKeys(S3), getOwnPropertySymbols(S3)) : objectKeys(S3);
3413
3413
  var length3 = keys3.length;
3414
- var j2 = 0;
3414
+ var j = 0;
3415
3415
  var key;
3416
- while (length3 > j2) {
3417
- key = keys3[j2++];
3416
+ while (length3 > j) {
3417
+ key = keys3[j++];
3418
3418
  if (!DESCRIPTORS$7 || call$5(propertyIsEnumerable2, S3, key))
3419
3419
  T2[key] = S3[key];
3420
3420
  }
3421
3421
  }
3422
3422
  return T2;
3423
3423
  } : $assign;
3424
- var $$h = _export;
3424
+ var $$g = _export;
3425
3425
  var assign$2 = objectAssign;
3426
- $$h({ target: "Object", stat: true, arity: 2, forced: Object.assign !== assign$2 }, {
3426
+ $$g({ target: "Object", stat: true, arity: 2, forced: Object.assign !== assign$2 }, {
3427
3427
  assign: assign$2
3428
3428
  });
3429
- var $$g = _export;
3429
+ var $$f = _export;
3430
3430
  var DESCRIPTORS$6 = descriptors;
3431
3431
  var global$8 = global$v;
3432
3432
  var uncurryThis$9 = functionUncurryThis;
@@ -3467,7 +3467,7 @@ if (DESCRIPTORS$6 && isCallable$1(NativeSymbol) && (!("description" in SymbolPro
3467
3467
  return desc === "" ? void 0 : desc;
3468
3468
  }
3469
3469
  });
3470
- $$g({ global: true, constructor: true, forced: true }, {
3470
+ $$f({ global: true, constructor: true, forced: true }, {
3471
3471
  Symbol: SymbolWrapper
3472
3472
  });
3473
3473
  }
@@ -3476,9 +3476,9 @@ var hasOwn$7 = hasOwnProperty_1;
3476
3476
  var isPrototypeOf$1 = objectIsPrototypeOf;
3477
3477
  var regExpFlags = regexpFlags$1;
3478
3478
  var RegExpPrototype$3 = RegExp.prototype;
3479
- var regexpGetFlags = function(R3) {
3480
- var flags = R3.flags;
3481
- return flags === void 0 && !("flags" in RegExpPrototype$3) && !hasOwn$7(R3, "flags") && isPrototypeOf$1(RegExpPrototype$3, R3) ? call$4(regExpFlags, R3) : flags;
3479
+ var regexpGetFlags = function(R2) {
3480
+ var flags = R2.flags;
3481
+ return flags === void 0 && !("flags" in RegExpPrototype$3) && !hasOwn$7(R2, "flags") && isPrototypeOf$1(RegExpPrototype$3, R2) ? call$4(regExpFlags, R2) : flags;
3482
3482
  };
3483
3483
  var DESCRIPTORS$5 = descriptors;
3484
3484
  var global$7 = global$v;
@@ -3504,7 +3504,7 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
3504
3504
  var MATCH = wellKnownSymbol$2("match");
3505
3505
  var NativeRegExp = global$7.RegExp;
3506
3506
  var RegExpPrototype$2 = NativeRegExp.prototype;
3507
- var SyntaxError$1 = global$7.SyntaxError;
3507
+ var SyntaxError = global$7.SyntaxError;
3508
3508
  var exec$3 = uncurryThis$8(RegExpPrototype$2.exec);
3509
3509
  var charAt$5 = uncurryThis$8("".charAt);
3510
3510
  var replace$3 = uncurryThis$8("".replace);
@@ -3577,7 +3577,7 @@ var handleNCG = function(string) {
3577
3577
  continue;
3578
3578
  case (chr === ">" && ncg):
3579
3579
  if (groupname === "" || hasOwn$6(names, groupname)) {
3580
- throw new SyntaxError$1("Invalid capture group name");
3580
+ throw new SyntaxError("Invalid capture group name");
3581
3581
  }
3582
3582
  names[groupname] = true;
3583
3583
  named[named.length] = [groupname, groupid];
@@ -3698,9 +3698,9 @@ var NOT_GENERIC = fails$7(function() {
3698
3698
  var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
3699
3699
  if (NOT_GENERIC || INCORRECT_NAME) {
3700
3700
  defineBuiltIn$4(RegExp.prototype, TO_STRING, function toString6() {
3701
- var R3 = anObject$6(this);
3702
- var pattern = $toString$2(R3.source);
3703
- var flags = $toString$2(getRegExpFlags(R3));
3701
+ var R2 = anObject$6(this);
3702
+ var pattern = $toString$2(R2.source);
3703
+ var flags = $toString$2(getRegExpFlags(R2));
3704
3704
  return "/" + pattern + "/" + flags;
3705
3705
  }, { unsafe: true });
3706
3706
  }
@@ -3722,17 +3722,17 @@ var numberParseInt = FORCED$2 ? function parseInt2(string, radix) {
3722
3722
  var S3 = trim$1(toString$5(string));
3723
3723
  return $parseInt$1(S3, radix >>> 0 || (exec$2(hex, S3) ? 16 : 10));
3724
3724
  } : $parseInt$1;
3725
- var $$f = _export;
3725
+ var $$e = _export;
3726
3726
  var $parseInt = numberParseInt;
3727
- $$f({ global: true, forced: parseInt != $parseInt }, {
3727
+ $$e({ global: true, forced: parseInt != $parseInt }, {
3728
3728
  parseInt: $parseInt
3729
3729
  });
3730
- var $$e = _export;
3730
+ var $$d = _export;
3731
3731
  var global$5 = global$v;
3732
3732
  var setToStringTag$3 = setToStringTag$7;
3733
- $$e({ global: true }, { Reflect: {} });
3733
+ $$d({ global: true }, { Reflect: {} });
3734
3734
  setToStringTag$3(global$5.Reflect, "Reflect", true);
3735
- var $$d = _export;
3735
+ var $$c = _export;
3736
3736
  var uncurryThis$6 = functionUncurryThis;
3737
3737
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
3738
3738
  var toLength = toLength$6;
@@ -3748,7 +3748,7 @@ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function() {
3748
3748
  var descriptor = getOwnPropertyDescriptor$1(String.prototype, "endsWith");
3749
3749
  return descriptor && !descriptor.writable;
3750
3750
  }();
3751
- $$d({ target: "String", proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
3751
+ $$c({ target: "String", proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
3752
3752
  endsWith: function endsWith(searchString) {
3753
3753
  var that = toString$4(requireObjectCoercible$2(this));
3754
3754
  notARegExp(searchString);
@@ -3767,9 +3767,9 @@ var $TypeError = TypeError;
3767
3767
  var createMethod = function(IS_RIGHT) {
3768
3768
  return function(that, callbackfn, argumentsLength, memo2) {
3769
3769
  aCallable(callbackfn);
3770
- var O3 = toObject$2(that);
3771
- var self2 = IndexedObject(O3);
3772
- var length3 = lengthOfArrayLike$2(O3);
3770
+ var O2 = toObject$2(that);
3771
+ var self2 = IndexedObject(O2);
3772
+ var length3 = lengthOfArrayLike$2(O2);
3773
3773
  var index2 = IS_RIGHT ? length3 - 1 : 0;
3774
3774
  var i3 = IS_RIGHT ? -1 : 1;
3775
3775
  if (argumentsLength < 2)
@@ -3786,7 +3786,7 @@ var createMethod = function(IS_RIGHT) {
3786
3786
  }
3787
3787
  for (; IS_RIGHT ? index2 >= 0 : length3 > index2; index2 += i3)
3788
3788
  if (index2 in self2) {
3789
- memo2 = callbackfn(memo2, self2[index2], index2, O3);
3789
+ memo2 = callbackfn(memo2, self2[index2], index2, O2);
3790
3790
  }
3791
3791
  return memo2;
3792
3792
  };
@@ -3795,14 +3795,14 @@ var arrayReduce = {
3795
3795
  left: createMethod(false),
3796
3796
  right: createMethod(true)
3797
3797
  };
3798
- var $$c = _export;
3798
+ var $$b = _export;
3799
3799
  var $reduce = arrayReduce.left;
3800
3800
  var arrayMethodIsStrict = arrayMethodIsStrict$2;
3801
3801
  var CHROME_VERSION = engineV8Version;
3802
3802
  var IS_NODE$1 = engineIsNode;
3803
3803
  var STRICT_METHOD = arrayMethodIsStrict("reduce");
3804
3804
  var CHROME_BUG = !IS_NODE$1 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
3805
- $$c({ target: "Array", proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
3805
+ $$b({ target: "Array", proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
3806
3806
  reduce: function reduce(callbackfn) {
3807
3807
  var length3 = arguments.length;
3808
3808
  return $reduce(this, callbackfn, length3, length3 > 1 ? arguments[1] : void 0);
@@ -3812,7 +3812,7 @@ var hasOwn$5 = hasOwnProperty_1;
3812
3812
  var isDataDescriptor$1 = function(descriptor) {
3813
3813
  return descriptor !== void 0 && (hasOwn$5(descriptor, "value") || hasOwn$5(descriptor, "writable"));
3814
3814
  };
3815
- var $$b = _export;
3815
+ var $$a = _export;
3816
3816
  var call$3 = functionCall;
3817
3817
  var anObject$5 = anObject$m;
3818
3818
  var isObject$3 = isObject$g;
@@ -3822,13 +3822,13 @@ var definePropertyModule = objectDefineProperty;
3822
3822
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
3823
3823
  var getPrototypeOf = objectGetPrototypeOf;
3824
3824
  var createPropertyDescriptor$3 = createPropertyDescriptor$9;
3825
- function set$2(target, propertyKey, V2) {
3825
+ function set$2(target, propertyKey, V) {
3826
3826
  var receiver = arguments.length < 4 ? target : arguments[3];
3827
3827
  var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject$5(target), propertyKey);
3828
3828
  var existingDescriptor, prototype, setter;
3829
3829
  if (!ownDescriptor) {
3830
3830
  if (isObject$3(prototype = getPrototypeOf(target))) {
3831
- return set$2(prototype, propertyKey, V2, receiver);
3831
+ return set$2(prototype, propertyKey, V, receiver);
3832
3832
  }
3833
3833
  ownDescriptor = createPropertyDescriptor$3(0);
3834
3834
  }
@@ -3838,15 +3838,15 @@ function set$2(target, propertyKey, V2) {
3838
3838
  if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {
3839
3839
  if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false)
3840
3840
  return false;
3841
- existingDescriptor.value = V2;
3841
+ existingDescriptor.value = V;
3842
3842
  definePropertyModule.f(receiver, propertyKey, existingDescriptor);
3843
3843
  } else
3844
- definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor$3(0, V2));
3844
+ definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor$3(0, V));
3845
3845
  } else {
3846
3846
  setter = ownDescriptor.set;
3847
3847
  if (setter === void 0)
3848
3848
  return false;
3849
- call$3(setter, receiver, V2);
3849
+ call$3(setter, receiver, V);
3850
3850
  }
3851
3851
  return true;
3852
3852
  }
@@ -3856,7 +3856,7 @@ var MS_EDGE_BUG = fails$5(function() {
3856
3856
  var object = definePropertyModule.f(new Constructor(), "a", { configurable: true });
3857
3857
  return Reflect.set(Constructor.prototype, "a", 1, object) !== false;
3858
3858
  });
3859
- $$b({ target: "Reflect", stat: true, forced: MS_EDGE_BUG }, {
3859
+ $$a({ target: "Reflect", stat: true, forced: MS_EDGE_BUG }, {
3860
3860
  set: set$2
3861
3861
  });
3862
3862
  var global$4 = global$v;
@@ -3877,14 +3877,14 @@ var numberParseFloat = FORCED$1 ? function parseFloat2(string) {
3877
3877
  var result = n$ParseFloat(trimmedString);
3878
3878
  return result === 0 && charAt$4(trimmedString, 0) == "-" ? -0 : result;
3879
3879
  } : n$ParseFloat;
3880
- var $$a = _export;
3880
+ var $$9 = _export;
3881
3881
  var $parseFloat = numberParseFloat;
3882
- $$a({ global: true, forced: parseFloat != $parseFloat }, {
3882
+ $$9({ global: true, forced: parseFloat != $parseFloat }, {
3883
3883
  parseFloat: $parseFloat
3884
3884
  });
3885
- var $$9 = _export;
3885
+ var $$8 = _export;
3886
3886
  var global$3 = global$v;
3887
- $$9({ global: true }, {
3887
+ $$8({ global: true }, {
3888
3888
  globalThis: global$3
3889
3889
  });
3890
3890
  function makeMap(str, expectsLowerCase) {
@@ -4018,7 +4018,7 @@ var cacheStringFunction = (fn) => {
4018
4018
  };
4019
4019
  var camelizeRE = /-(\w)/g;
4020
4020
  var camelize = cacheStringFunction((str) => {
4021
- return str.replace(camelizeRE, (_, c3) => c3 ? c3.toUpperCase() : "");
4021
+ return str.replace(camelizeRE, (_, c2) => c2 ? c2.toUpperCase() : "");
4022
4022
  });
4023
4023
  var hyphenateRE = /\B([A-Z])/g;
4024
4024
  var hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
@@ -4038,8 +4038,8 @@ var def = (obj, key, value) => {
4038
4038
  });
4039
4039
  };
4040
4040
  var toNumber = (val) => {
4041
- var n2 = parseFloat(val);
4042
- return isNaN(n2) ? val : n2;
4041
+ var n = parseFloat(val);
4042
+ return isNaN(n) ? val : n;
4043
4043
  };
4044
4044
  var _globalThis;
4045
4045
  var getGlobalThis = () => {
@@ -4076,15 +4076,15 @@ class EffectScope {
4076
4076
  }
4077
4077
  stop(fromParent) {
4078
4078
  if (this.active) {
4079
- var i3, l2;
4080
- for (i3 = 0, l2 = this.effects.length; i3 < l2; i3++) {
4079
+ var i3, l;
4080
+ for (i3 = 0, l = this.effects.length; i3 < l; i3++) {
4081
4081
  this.effects[i3].stop();
4082
4082
  }
4083
- for (i3 = 0, l2 = this.cleanups.length; i3 < l2; i3++) {
4083
+ for (i3 = 0, l = this.cleanups.length; i3 < l; i3++) {
4084
4084
  this.cleanups[i3]();
4085
4085
  }
4086
4086
  if (this.scopes) {
4087
- for (i3 = 0, l2 = this.scopes.length; i3 < l2; i3++) {
4087
+ for (i3 = 0, l = this.scopes.length; i3 < l; i3++) {
4088
4088
  this.scopes[i3].stop(true);
4089
4089
  }
4090
4090
  }
@@ -4352,7 +4352,7 @@ function createArrayInstrumentations() {
4352
4352
  ["includes", "indexOf", "lastIndexOf"].forEach((key) => {
4353
4353
  instrumentations[key] = function() {
4354
4354
  var arr = toRaw(this);
4355
- for (var i3 = 0, l2 = this.length; i3 < l2; i3++) {
4355
+ for (var i3 = 0, l = this.length; i3 < l; i3++) {
4356
4356
  track(arr, "get", i3 + "");
4357
4357
  }
4358
4358
  for (var _len2 = arguments.length, args = new Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {
@@ -4823,8 +4823,8 @@ function triggerRefValue(ref2, newVal) {
4823
4823
  }
4824
4824
  }
4825
4825
  }
4826
- function isRef(r2) {
4827
- return !!(r2 && r2.__v_isRef === true);
4826
+ function isRef(r) {
4827
+ return !!(r && r.__v_isRef === true);
4828
4828
  }
4829
4829
  function ref(value) {
4830
4830
  return createRef(value, false);
@@ -5085,7 +5085,7 @@ function flushPostFlushCbs(seen) {
5085
5085
  return;
5086
5086
  }
5087
5087
  activePostFlushCbs = deduped;
5088
- activePostFlushCbs.sort((a4, b3) => getId(a4) - getId(b3));
5088
+ activePostFlushCbs.sort((a3, b2) => getId(a3) - getId(b2));
5089
5089
  for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
5090
5090
  activePostFlushCbs[postFlushIndex]();
5091
5091
  }
@@ -5098,7 +5098,7 @@ function flushJobs(seen) {
5098
5098
  isFlushPending = false;
5099
5099
  isFlushing = true;
5100
5100
  flushPreFlushCbs(seen);
5101
- queue.sort((a4, b3) => getId(a4) - getId(b3));
5101
+ queue.sort((a3, b2) => getId(a3) - getId(b2));
5102
5102
  var check2 = NOOP;
5103
5103
  try {
5104
5104
  for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
@@ -5137,7 +5137,7 @@ function emit$1$2(instance, event) {
5137
5137
  trim: trim3
5138
5138
  } = props2[modifiersKey] || EMPTY_OBJ;
5139
5139
  if (trim3) {
5140
- args = rawArgs.map((a4) => a4.trim());
5140
+ args = rawArgs.map((a3) => a3.trim());
5141
5141
  }
5142
5142
  if (number3) {
5143
5143
  args = rawArgs.map(toNumber);
@@ -5807,7 +5807,7 @@ function renderList(source, renderItem, cache, index2) {
5807
5807
  var cached = cache && cache[index2];
5808
5808
  if (isArray$1(source) || isString(source)) {
5809
5809
  ret = new Array(source.length);
5810
- for (var i3 = 0, l2 = source.length; i3 < l2; i3++) {
5810
+ for (var i3 = 0, l = source.length; i3 < l; i3++) {
5811
5811
  ret[i3] = renderItem(source[i3], i3, void 0, cached && cached[i3]);
5812
5812
  }
5813
5813
  } else if (typeof source === "number") {
@@ -5910,9 +5910,9 @@ var PublicInstanceProxyHandlers = {
5910
5910
  } = instance;
5911
5911
  var normalizedProps;
5912
5912
  if (key[0] !== "$") {
5913
- var n2 = accessCache[key];
5914
- if (n2 !== void 0) {
5915
- switch (n2) {
5913
+ var n = accessCache[key];
5914
+ if (n !== void 0) {
5915
+ switch (n) {
5916
5916
  case 1:
5917
5917
  return setupState[key];
5918
5918
  case 2:
@@ -6075,15 +6075,15 @@ function applyOptions(instance) {
6075
6075
  var opt = computedOptions[_key72];
6076
6076
  var get3 = isFunction(opt) ? opt.bind(publicThis, publicThis) : isFunction(opt.get) ? opt.get.bind(publicThis, publicThis) : NOOP;
6077
6077
  var set34 = !isFunction(opt) && isFunction(opt.set) ? opt.set.bind(publicThis) : NOOP;
6078
- var c3 = computed({
6078
+ var c2 = computed({
6079
6079
  get: get3,
6080
6080
  set: set34
6081
6081
  });
6082
6082
  Object.defineProperty(ctx, _key72, {
6083
6083
  enumerable: true,
6084
6084
  configurable: true,
6085
- get: () => c3.value,
6086
- set: (v) => c3.value = v
6085
+ get: () => c2.value,
6086
+ set: (v) => c2.value = v
6087
6087
  });
6088
6088
  };
6089
6089
  for (var _key7 in computedOptions) {
@@ -6197,7 +6197,7 @@ function createWatcher(raw2, ctx, publicThis, key) {
6197
6197
  watch$1(getter, raw2.bind(publicThis));
6198
6198
  } else if (isObject$2(raw2)) {
6199
6199
  if (isArray$1(raw2)) {
6200
- raw2.forEach((r2) => createWatcher(r2, ctx, publicThis, key));
6200
+ raw2.forEach((r) => createWatcher(r, ctx, publicThis, key));
6201
6201
  } else {
6202
6202
  var _handler = isFunction(raw2.handler) ? raw2.handler.bind(publicThis) : ctx[raw2.handler];
6203
6203
  if (isFunction(_handler)) {
@@ -6231,7 +6231,7 @@ function resolveMergedOptions(instance) {
6231
6231
  } else {
6232
6232
  resolved = {};
6233
6233
  if (globalMixins.length) {
6234
- globalMixins.forEach((m4) => mergeOptions(resolved, m4, optionMergeStrategies, true));
6234
+ globalMixins.forEach((m3) => mergeOptions(resolved, m3, optionMergeStrategies, true));
6235
6235
  }
6236
6236
  mergeOptions(resolved, base2, optionMergeStrategies);
6237
6237
  }
@@ -6248,7 +6248,7 @@ function mergeOptions(to, from2, strats) {
6248
6248
  mergeOptions(to, extendsOptions, strats, true);
6249
6249
  }
6250
6250
  if (mixins) {
6251
- mixins.forEach((m4) => mergeOptions(to, m4, strats, true));
6251
+ mixins.forEach((m3) => mergeOptions(to, m3, strats, true));
6252
6252
  }
6253
6253
  for (var key in from2) {
6254
6254
  if (asMixin && key === "expose")
@@ -6557,12 +6557,12 @@ function getType(ctor) {
6557
6557
  var match2 = ctor && ctor.toString().match(/^\s*function (\w+)/);
6558
6558
  return match2 ? match2[1] : ctor === null ? "null" : "";
6559
6559
  }
6560
- function isSameType(a4, b3) {
6561
- return getType(a4) === getType(b3);
6560
+ function isSameType(a3, b2) {
6561
+ return getType(a3) === getType(b2);
6562
6562
  }
6563
6563
  function getTypeIndex(type, expectedTypes) {
6564
6564
  if (isArray$1(expectedTypes)) {
6565
- return expectedTypes.findIndex((t3) => isSameType(t3, type));
6565
+ return expectedTypes.findIndex((t2) => isSameType(t2, type));
6566
6566
  } else if (isFunction(expectedTypes)) {
6567
6567
  return isSameType(expectedTypes, type) ? 0 : -1;
6568
6568
  }
@@ -6771,7 +6771,7 @@ function createAppAPI(render2, hydrate2) {
6771
6771
  function setRef(rawRef, oldRawRef, parentSuspense, vnode) {
6772
6772
  var isUnmount = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false;
6773
6773
  if (isArray$1(rawRef)) {
6774
- rawRef.forEach((r2, i3) => setRef(r2, oldRawRef && (isArray$1(oldRawRef) ? oldRawRef[i3] : oldRawRef), parentSuspense, vnode, isUnmount));
6774
+ rawRef.forEach((r, i3) => setRef(r, oldRawRef && (isArray$1(oldRawRef) ? oldRawRef[i3] : oldRawRef), parentSuspense, vnode, isUnmount));
6775
6775
  return;
6776
6776
  }
6777
6777
  if (isAsyncWrapper(vnode) && !isUnmount) {
@@ -7230,7 +7230,7 @@ function baseCreateRenderer(options2, createHydrationFns) {
7230
7230
  } = initialVNode;
7231
7231
  var {
7232
7232
  bm,
7233
- m: m4,
7233
+ m: m3,
7234
7234
  parent
7235
7235
  } = instance;
7236
7236
  var isAsyncWrapperVNode = isAsyncWrapper(initialVNode);
@@ -7257,8 +7257,8 @@ function baseCreateRenderer(options2, createHydrationFns) {
7257
7257
  patch(null, subTree, container, anchor, instance, parentSuspense, isSVG);
7258
7258
  initialVNode.el = subTree.el;
7259
7259
  }
7260
- if (m4) {
7261
- queuePostRenderEffect(m4, parentSuspense);
7260
+ if (m3) {
7261
+ queuePostRenderEffect(m3, parentSuspense);
7262
7262
  }
7263
7263
  if (!isAsyncWrapperVNode && (vnodeHook = props2 && props2.onVnodeMounted)) {
7264
7264
  var scopedInitialVNode = initialVNode;
@@ -7273,7 +7273,7 @@ function baseCreateRenderer(options2, createHydrationFns) {
7273
7273
  var {
7274
7274
  next: next3,
7275
7275
  bu,
7276
- u: u3,
7276
+ u: u2,
7277
7277
  parent: _parent,
7278
7278
  vnode
7279
7279
  } = instance;
@@ -7301,8 +7301,8 @@ function baseCreateRenderer(options2, createHydrationFns) {
7301
7301
  if (originNext === null) {
7302
7302
  updateHOCHostEl(instance, nextTree.el);
7303
7303
  }
7304
- if (u3) {
7305
- queuePostRenderEffect(u3, parentSuspense);
7304
+ if (u2) {
7305
+ queuePostRenderEffect(u2, parentSuspense);
7306
7306
  }
7307
7307
  if (_vnodeHook = next3.props && next3.props.onVnodeUpdated) {
7308
7308
  queuePostRenderEffect(() => invokeVNodeHook(_vnodeHook, _parent, next3, vnode), parentSuspense);
@@ -7330,17 +7330,17 @@ function baseCreateRenderer(options2, createHydrationFns) {
7330
7330
  var optimized = arguments.length > 8 && arguments[8] !== void 0 ? arguments[8] : false;
7331
7331
  var c1 = n1 && n1.children;
7332
7332
  var prevShapeFlag = n1 ? n1.shapeFlag : 0;
7333
- var c22 = n2.children;
7333
+ var c2 = n2.children;
7334
7334
  var {
7335
7335
  patchFlag,
7336
7336
  shapeFlag
7337
7337
  } = n2;
7338
7338
  if (patchFlag > 0) {
7339
7339
  if (patchFlag & 128) {
7340
- patchKeyedChildren(c1, c22, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7340
+ patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7341
7341
  return;
7342
7342
  } else if (patchFlag & 256) {
7343
- patchUnkeyedChildren(c1, c22, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7343
+ patchUnkeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7344
7344
  return;
7345
7345
  }
7346
7346
  }
@@ -7348,13 +7348,13 @@ function baseCreateRenderer(options2, createHydrationFns) {
7348
7348
  if (prevShapeFlag & 16) {
7349
7349
  unmountChildren(c1, parentComponent, parentSuspense);
7350
7350
  }
7351
- if (c22 !== c1) {
7352
- hostSetElementText(container, c22);
7351
+ if (c2 !== c1) {
7352
+ hostSetElementText(container, c2);
7353
7353
  }
7354
7354
  } else {
7355
7355
  if (prevShapeFlag & 16) {
7356
7356
  if (shapeFlag & 16) {
7357
- patchKeyedChildren(c1, c22, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7357
+ patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7358
7358
  } else {
7359
7359
  unmountChildren(c1, parentComponent, parentSuspense, true);
7360
7360
  }
@@ -7363,36 +7363,36 @@ function baseCreateRenderer(options2, createHydrationFns) {
7363
7363
  hostSetElementText(container, "");
7364
7364
  }
7365
7365
  if (shapeFlag & 16) {
7366
- mountChildren(c22, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7366
+ mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7367
7367
  }
7368
7368
  }
7369
7369
  }
7370
7370
  };
7371
- var patchUnkeyedChildren = (c1, c22, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
7371
+ var patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
7372
7372
  c1 = c1 || EMPTY_ARR;
7373
- c22 = c22 || EMPTY_ARR;
7373
+ c2 = c2 || EMPTY_ARR;
7374
7374
  var oldLength = c1.length;
7375
- var newLength = c22.length;
7375
+ var newLength = c2.length;
7376
7376
  var commonLength = Math.min(oldLength, newLength);
7377
7377
  var i3;
7378
7378
  for (i3 = 0; i3 < commonLength; i3++) {
7379
- var nextChild = c22[i3] = optimized ? cloneIfMounted(c22[i3]) : normalizeVNode(c22[i3]);
7379
+ var nextChild = c2[i3] = optimized ? cloneIfMounted(c2[i3]) : normalizeVNode(c2[i3]);
7380
7380
  patch(c1[i3], nextChild, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7381
7381
  }
7382
7382
  if (oldLength > newLength) {
7383
7383
  unmountChildren(c1, parentComponent, parentSuspense, true, false, commonLength);
7384
7384
  } else {
7385
- mountChildren(c22, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, commonLength);
7385
+ mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, commonLength);
7386
7386
  }
7387
7387
  };
7388
- var patchKeyedChildren = (c1, c22, container, parentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
7388
+ var patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
7389
7389
  var i3 = 0;
7390
- var l2 = c22.length;
7390
+ var l2 = c2.length;
7391
7391
  var e1 = c1.length - 1;
7392
- var e22 = l2 - 1;
7393
- while (i3 <= e1 && i3 <= e22) {
7392
+ var e2 = l2 - 1;
7393
+ while (i3 <= e1 && i3 <= e2) {
7394
7394
  var n1 = c1[i3];
7395
- var n2 = c22[i3] = optimized ? cloneIfMounted(c22[i3]) : normalizeVNode(c22[i3]);
7395
+ var n2 = c2[i3] = optimized ? cloneIfMounted(c2[i3]) : normalizeVNode(c2[i3]);
7396
7396
  if (isSameVNodeType(n1, n2)) {
7397
7397
  patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7398
7398
  } else {
@@ -7400,27 +7400,27 @@ function baseCreateRenderer(options2, createHydrationFns) {
7400
7400
  }
7401
7401
  i3++;
7402
7402
  }
7403
- while (i3 <= e1 && i3 <= e22) {
7404
- var _n2 = c1[e1];
7405
- var _n22 = c22[e22] = optimized ? cloneIfMounted(c22[e22]) : normalizeVNode(c22[e22]);
7406
- if (isSameVNodeType(_n2, _n22)) {
7407
- patch(_n2, _n22, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7403
+ while (i3 <= e1 && i3 <= e2) {
7404
+ var _n = c1[e1];
7405
+ var _n2 = c2[e2] = optimized ? cloneIfMounted(c2[e2]) : normalizeVNode(c2[e2]);
7406
+ if (isSameVNodeType(_n, _n2)) {
7407
+ patch(_n, _n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7408
7408
  } else {
7409
7409
  break;
7410
7410
  }
7411
7411
  e1--;
7412
- e22--;
7412
+ e2--;
7413
7413
  }
7414
7414
  if (i3 > e1) {
7415
- if (i3 <= e22) {
7416
- var nextPos = e22 + 1;
7417
- var anchor = nextPos < l2 ? c22[nextPos].el : parentAnchor;
7418
- while (i3 <= e22) {
7419
- patch(null, c22[i3] = optimized ? cloneIfMounted(c22[i3]) : normalizeVNode(c22[i3]), container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7415
+ if (i3 <= e2) {
7416
+ var nextPos = e2 + 1;
7417
+ var anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;
7418
+ while (i3 <= e2) {
7419
+ patch(null, c2[i3] = optimized ? cloneIfMounted(c2[i3]) : normalizeVNode(c2[i3]), container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7420
7420
  i3++;
7421
7421
  }
7422
7422
  }
7423
- } else if (i3 > e22) {
7423
+ } else if (i3 > e2) {
7424
7424
  while (i3 <= e1) {
7425
7425
  unmount(c1[i3], parentComponent, parentSuspense, true);
7426
7426
  i3++;
@@ -7429,15 +7429,15 @@ function baseCreateRenderer(options2, createHydrationFns) {
7429
7429
  var s1 = i3;
7430
7430
  var s22 = i3;
7431
7431
  var keyToNewIndexMap = /* @__PURE__ */ new Map();
7432
- for (i3 = s22; i3 <= e22; i3++) {
7433
- var nextChild = c22[i3] = optimized ? cloneIfMounted(c22[i3]) : normalizeVNode(c22[i3]);
7432
+ for (i3 = s22; i3 <= e2; i3++) {
7433
+ var nextChild = c2[i3] = optimized ? cloneIfMounted(c2[i3]) : normalizeVNode(c2[i3]);
7434
7434
  if (nextChild.key != null) {
7435
7435
  keyToNewIndexMap.set(nextChild.key, i3);
7436
7436
  }
7437
7437
  }
7438
- var j2;
7438
+ var j;
7439
7439
  var patched = 0;
7440
- var toBePatched = e22 - s22 + 1;
7440
+ var toBePatched = e2 - s22 + 1;
7441
7441
  var moved = false;
7442
7442
  var maxNewIndexSoFar = 0;
7443
7443
  var newIndexToOldIndexMap = new Array(toBePatched);
@@ -7454,9 +7454,9 @@ function baseCreateRenderer(options2, createHydrationFns) {
7454
7454
  if (prevChild.key != null) {
7455
7455
  newIndex = keyToNewIndexMap.get(prevChild.key);
7456
7456
  } else {
7457
- for (j2 = s22; j2 <= e22; j2++) {
7458
- if (newIndexToOldIndexMap[j2 - s22] === 0 && isSameVNodeType(prevChild, c22[j2])) {
7459
- newIndex = j2;
7457
+ for (j = s22; j <= e2; j++) {
7458
+ if (newIndexToOldIndexMap[j - s22] === 0 && isSameVNodeType(prevChild, c2[j])) {
7459
+ newIndex = j;
7460
7460
  break;
7461
7461
  }
7462
7462
  }
@@ -7470,23 +7470,23 @@ function baseCreateRenderer(options2, createHydrationFns) {
7470
7470
  } else {
7471
7471
  moved = true;
7472
7472
  }
7473
- patch(prevChild, c22[newIndex], container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7473
+ patch(prevChild, c2[newIndex], container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7474
7474
  patched++;
7475
7475
  }
7476
7476
  }
7477
7477
  var increasingNewIndexSequence = moved ? getSequence(newIndexToOldIndexMap) : EMPTY_ARR;
7478
- j2 = increasingNewIndexSequence.length - 1;
7478
+ j = increasingNewIndexSequence.length - 1;
7479
7479
  for (i3 = toBePatched - 1; i3 >= 0; i3--) {
7480
7480
  var nextIndex = s22 + i3;
7481
- var _nextChild = c22[nextIndex];
7482
- var _anchor2 = nextIndex + 1 < l2 ? c22[nextIndex + 1].el : parentAnchor;
7481
+ var _nextChild = c2[nextIndex];
7482
+ var _anchor2 = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;
7483
7483
  if (newIndexToOldIndexMap[i3] === 0) {
7484
7484
  patch(null, _nextChild, container, _anchor2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
7485
7485
  } else if (moved) {
7486
- if (j2 < 0 || i3 !== increasingNewIndexSequence[j2]) {
7486
+ if (j < 0 || i3 !== increasingNewIndexSequence[j]) {
7487
7487
  move(_nextChild, container, _anchor2, 2);
7488
7488
  } else {
7489
- j2--;
7489
+ j--;
7490
7490
  }
7491
7491
  }
7492
7492
  }
@@ -7749,14 +7749,14 @@ function traverseStaticChildren(n1, n2) {
7749
7749
  if (isArray$1(ch1) && isArray$1(ch2)) {
7750
7750
  for (var i3 = 0; i3 < ch1.length; i3++) {
7751
7751
  var c1 = ch1[i3];
7752
- var c22 = ch2[i3];
7753
- if (c22.shapeFlag & 1 && !c22.dynamicChildren) {
7754
- if (c22.patchFlag <= 0 || c22.patchFlag === 32) {
7755
- c22 = ch2[i3] = cloneIfMounted(ch2[i3]);
7756
- c22.el = c1.el;
7752
+ var c2 = ch2[i3];
7753
+ if (c2.shapeFlag & 1 && !c2.dynamicChildren) {
7754
+ if (c2.patchFlag <= 0 || c2.patchFlag === 32) {
7755
+ c2 = ch2[i3] = cloneIfMounted(ch2[i3]);
7756
+ c2.el = c1.el;
7757
7757
  }
7758
7758
  if (!shallow)
7759
- traverseStaticChildren(c1, c22);
7759
+ traverseStaticChildren(c1, c2);
7760
7760
  }
7761
7761
  }
7762
7762
  }
@@ -7764,39 +7764,39 @@ function traverseStaticChildren(n1, n2) {
7764
7764
  function getSequence(arr) {
7765
7765
  var p2 = arr.slice();
7766
7766
  var result = [0];
7767
- var i3, j2, u3, v, c3;
7767
+ var i3, j, u2, v, c2;
7768
7768
  var len = arr.length;
7769
7769
  for (i3 = 0; i3 < len; i3++) {
7770
7770
  var arrI = arr[i3];
7771
7771
  if (arrI !== 0) {
7772
- j2 = result[result.length - 1];
7773
- if (arr[j2] < arrI) {
7774
- p2[i3] = j2;
7772
+ j = result[result.length - 1];
7773
+ if (arr[j] < arrI) {
7774
+ p2[i3] = j;
7775
7775
  result.push(i3);
7776
7776
  continue;
7777
7777
  }
7778
- u3 = 0;
7778
+ u2 = 0;
7779
7779
  v = result.length - 1;
7780
- while (u3 < v) {
7781
- c3 = u3 + v >> 1;
7782
- if (arr[result[c3]] < arrI) {
7783
- u3 = c3 + 1;
7780
+ while (u2 < v) {
7781
+ c2 = u2 + v >> 1;
7782
+ if (arr[result[c2]] < arrI) {
7783
+ u2 = c2 + 1;
7784
7784
  } else {
7785
- v = c3;
7785
+ v = c2;
7786
7786
  }
7787
7787
  }
7788
- if (arrI < arr[result[u3]]) {
7789
- if (u3 > 0) {
7790
- p2[i3] = result[u3 - 1];
7788
+ if (arrI < arr[result[u2]]) {
7789
+ if (u2 > 0) {
7790
+ p2[i3] = result[u2 - 1];
7791
7791
  }
7792
- result[u3] = i3;
7792
+ result[u2] = i3;
7793
7793
  }
7794
7794
  }
7795
7795
  }
7796
- u3 = result.length;
7797
- v = result[u3 - 1];
7798
- while (u3-- > 0) {
7799
- result[u3] = v;
7796
+ u2 = result.length;
7797
+ v = result[u2 - 1];
7798
+ while (u2-- > 0) {
7799
+ result[u2] = v;
7800
7800
  v = p2[v];
7801
7801
  }
7802
7802
  return result;
@@ -8219,8 +8219,8 @@ function setupStatefulComponent(instance, isSSR) {
8219
8219
  if (isSSR) {
8220
8220
  return setupResult.then((resolvedResult) => {
8221
8221
  handleSetupResult(instance, resolvedResult, isSSR);
8222
- }).catch((e3) => {
8223
- handleError(e3, instance, 0);
8222
+ }).catch((e2) => {
8223
+ handleError(e2, instance, 0);
8224
8224
  });
8225
8225
  } else {
8226
8226
  instance.asyncDep = setupResult;
@@ -8323,9 +8323,9 @@ function isClassComponent(value) {
8323
8323
  var computed = (getterOrOptions, debugOptions) => {
8324
8324
  return computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
8325
8325
  };
8326
- function h$1(type, propsOrChildren, children) {
8327
- var l2 = arguments.length;
8328
- if (l2 === 2) {
8326
+ function h(type, propsOrChildren, children) {
8327
+ var l = arguments.length;
8328
+ if (l === 2) {
8329
8329
  if (isObject$2(propsOrChildren) && !isArray$1(propsOrChildren)) {
8330
8330
  if (isVNode(propsOrChildren)) {
8331
8331
  return createVNode(type, null, [propsOrChildren]);
@@ -8335,9 +8335,9 @@ function h$1(type, propsOrChildren, children) {
8335
8335
  return createVNode(type, null, propsOrChildren);
8336
8336
  }
8337
8337
  } else {
8338
- if (l2 > 3) {
8338
+ if (l > 3) {
8339
8339
  children = Array.prototype.slice.call(arguments, 2);
8340
- } else if (l2 === 3 && isVNode(children)) {
8340
+ } else if (l === 3 && isVNode(children)) {
8341
8341
  children = [children];
8342
8342
  }
8343
8343
  return createVNode(type, propsOrChildren, children);
@@ -8544,7 +8544,7 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
8544
8544
  }
8545
8545
  try {
8546
8546
  el[key] = value;
8547
- } catch (e3) {
8547
+ } catch (e2) {
8548
8548
  }
8549
8549
  needRemove && el.removeAttribute(key);
8550
8550
  }
@@ -8594,33 +8594,33 @@ function parseName(name) {
8594
8594
  var options2;
8595
8595
  if (optionsModifierRE.test(name)) {
8596
8596
  options2 = {};
8597
- var m4;
8598
- while (m4 = name.match(optionsModifierRE)) {
8599
- name = name.slice(0, name.length - m4[0].length);
8600
- options2[m4[0].toLowerCase()] = true;
8597
+ var m3;
8598
+ while (m3 = name.match(optionsModifierRE)) {
8599
+ name = name.slice(0, name.length - m3[0].length);
8600
+ options2[m3[0].toLowerCase()] = true;
8601
8601
  }
8602
8602
  }
8603
8603
  return [hyphenate(name.slice(2)), options2];
8604
8604
  }
8605
8605
  function createInvoker(initialValue2, instance) {
8606
- var invoker = (e3) => {
8607
- var timeStamp = e3.timeStamp || _getNow();
8606
+ var invoker = (e2) => {
8607
+ var timeStamp = e2.timeStamp || _getNow();
8608
8608
  if (skipTimestampCheck || timeStamp >= invoker.attached - 1) {
8609
- callWithAsyncErrorHandling(patchStopImmediatePropagation(e3, invoker.value), instance, 5, [e3]);
8609
+ callWithAsyncErrorHandling(patchStopImmediatePropagation(e2, invoker.value), instance, 5, [e2]);
8610
8610
  }
8611
8611
  };
8612
8612
  invoker.value = initialValue2;
8613
8613
  invoker.attached = getNow();
8614
8614
  return invoker;
8615
8615
  }
8616
- function patchStopImmediatePropagation(e3, value) {
8616
+ function patchStopImmediatePropagation(e2, value) {
8617
8617
  if (isArray$1(value)) {
8618
- var originalStop = e3.stopImmediatePropagation;
8619
- e3.stopImmediatePropagation = () => {
8620
- originalStop.call(e3);
8621
- e3._stopped = true;
8618
+ var originalStop = e2.stopImmediatePropagation;
8619
+ e2.stopImmediatePropagation = () => {
8620
+ originalStop.call(e2);
8621
+ e2._stopped = true;
8622
8622
  };
8623
- return value.map((fn) => (e4) => !e4._stopped && fn && fn(e4));
8623
+ return value.map((fn) => (e3) => !e3._stopped && fn && fn(e3));
8624
8624
  } else {
8625
8625
  return value;
8626
8626
  }
@@ -8682,11 +8682,11 @@ var getModelAssigner = (vnode) => {
8682
8682
  var fn = vnode.props["onUpdate:modelValue"] || false;
8683
8683
  return isArray$1(fn) ? (value) => invokeArrayFns(fn, value) : fn;
8684
8684
  };
8685
- function onCompositionStart(e3) {
8686
- e3.target.composing = true;
8685
+ function onCompositionStart(e2) {
8686
+ e2.target.composing = true;
8687
8687
  }
8688
- function onCompositionEnd(e3) {
8689
- var target = e3.target;
8688
+ function onCompositionEnd(e2) {
8689
+ var target = e2.target;
8690
8690
  if (target.composing) {
8691
8691
  target.composing = false;
8692
8692
  target.dispatchEvent(new Event("input"));
@@ -8703,8 +8703,8 @@ var vModelText = {
8703
8703
  } = _ref3;
8704
8704
  el._assign = getModelAssigner(vnode);
8705
8705
  var castToNumber = number3 || vnode.props && vnode.props.type === "number";
8706
- addEventListener(el, lazy ? "change" : "input", (e3) => {
8707
- if (e3.target.composing)
8706
+ addEventListener(el, lazy ? "change" : "input", (e2) => {
8707
+ if (e2.target.composing)
8708
8708
  return;
8709
8709
  var domValue = el.value;
8710
8710
  if (trim3) {
@@ -8763,17 +8763,17 @@ var vModelText = {
8763
8763
  };
8764
8764
  var systemModifiers = ["ctrl", "shift", "alt", "meta"];
8765
8765
  var modifierGuards = {
8766
- stop: (e3) => e3.stopPropagation(),
8767
- prevent: (e3) => e3.preventDefault(),
8768
- self: (e3) => e3.target !== e3.currentTarget,
8769
- ctrl: (e3) => !e3.ctrlKey,
8770
- shift: (e3) => !e3.shiftKey,
8771
- alt: (e3) => !e3.altKey,
8772
- meta: (e3) => !e3.metaKey,
8773
- left: (e3) => "button" in e3 && e3.button !== 0,
8774
- middle: (e3) => "button" in e3 && e3.button !== 1,
8775
- right: (e3) => "button" in e3 && e3.button !== 2,
8776
- exact: (e3, modifiers) => systemModifiers.some((m4) => e3["".concat(m4, "Key")] && !modifiers.includes(m4))
8766
+ stop: (e2) => e2.stopPropagation(),
8767
+ prevent: (e2) => e2.preventDefault(),
8768
+ self: (e2) => e2.target !== e2.currentTarget,
8769
+ ctrl: (e2) => !e2.ctrlKey,
8770
+ shift: (e2) => !e2.shiftKey,
8771
+ alt: (e2) => !e2.altKey,
8772
+ meta: (e2) => !e2.metaKey,
8773
+ left: (e2) => "button" in e2 && e2.button !== 0,
8774
+ middle: (e2) => "button" in e2 && e2.button !== 1,
8775
+ right: (e2) => "button" in e2 && e2.button !== 2,
8776
+ exact: (e2, modifiers) => systemModifiers.some((m3) => e2["".concat(m3, "Key")] && !modifiers.includes(m3))
8777
8777
  };
8778
8778
  var withModifiers = (fn, modifiers) => {
8779
8779
  return function(event) {
@@ -8906,7 +8906,7 @@ var defineBuiltIns$1 = function(target, src, options2) {
8906
8906
  defineBuiltIn$3(target, key, src[key], options2);
8907
8907
  return target;
8908
8908
  };
8909
- var $$8 = _export;
8909
+ var $$7 = _export;
8910
8910
  var global$2 = global$v;
8911
8911
  var call$2 = functionCall;
8912
8912
  var uncurryThis$4 = functionUncurryThis;
@@ -9176,8 +9176,8 @@ defineBuiltIns(URLSearchParamsPrototype, {
9176
9176
  },
9177
9177
  sort: function sort2() {
9178
9178
  var state = getInternalParamsState(this);
9179
- arraySort(state.entries, function(a4, b3) {
9180
- return a4.key > b3.key ? 1 : -1;
9179
+ arraySort(state.entries, function(a3, b2) {
9180
+ return a3.key > b2.key ? 1 : -1;
9181
9181
  });
9182
9182
  state.updateURL();
9183
9183
  },
@@ -9206,7 +9206,7 @@ defineBuiltIn$2(URLSearchParamsPrototype, "toString", function toString2() {
9206
9206
  return getInternalParamsState(this).serialize();
9207
9207
  }, { enumerable: true });
9208
9208
  setToStringTag$2(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
9209
- $$8({ global: true, constructor: true, forced: !USE_NATIVE_URL$1 }, {
9209
+ $$7({ global: true, constructor: true, forced: !USE_NATIVE_URL$1 }, {
9210
9210
  URLSearchParams: URLSearchParamsConstructor
9211
9211
  });
9212
9212
  if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
@@ -9230,7 +9230,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
9230
9230
  return init2;
9231
9231
  };
9232
9232
  if (isCallable(nativeFetch)) {
9233
- $$8({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
9233
+ $$7({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
9234
9234
  fetch: function fetch2(input2) {
9235
9235
  return nativeFetch(input2, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
9236
9236
  }
@@ -9243,7 +9243,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
9243
9243
  };
9244
9244
  RequestPrototype.constructor = RequestConstructor;
9245
9245
  RequestConstructor.prototype = RequestPrototype;
9246
- $$8({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
9246
+ $$7({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
9247
9247
  Request: RequestConstructor
9248
9248
  });
9249
9249
  }
@@ -9252,8 +9252,8 @@ var web_urlSearchParams_constructor = {
9252
9252
  URLSearchParams: URLSearchParamsConstructor,
9253
9253
  getState: getInternalParamsState
9254
9254
  };
9255
- var sameValue$1 = Object.is || function is(x3, y3) {
9256
- return x3 === y3 ? x3 !== 0 || 1 / x3 === 1 / y3 : x3 != x3 && y3 != y3;
9255
+ var sameValue$1 = Object.is || function is(x2, y3) {
9256
+ return x2 === y3 ? x2 !== 0 || 1 / x2 === 1 / y3 : x2 != x2 && y3 != y3;
9257
9257
  };
9258
9258
  var call$1 = functionCall;
9259
9259
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
@@ -9266,9 +9266,9 @@ var regExpExec = regexpExecAbstract;
9266
9266
  fixRegExpWellKnownSymbolLogic("search", function(SEARCH, nativeSearch, maybeCallNative) {
9267
9267
  return [
9268
9268
  function search(regexp) {
9269
- var O3 = requireObjectCoercible$1(this);
9269
+ var O2 = requireObjectCoercible$1(this);
9270
9270
  var searcher = regexp == void 0 ? void 0 : getMethod(regexp, SEARCH);
9271
- return searcher ? call$1(searcher, regexp, O3) : new RegExp(regexp)[SEARCH](toString$2(O3));
9271
+ return searcher ? call$1(searcher, regexp, O2) : new RegExp(regexp)[SEARCH](toString$2(O2));
9272
9272
  },
9273
9273
  function(string) {
9274
9274
  var rx = anObject$3(this);
@@ -9298,19 +9298,111 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
9298
9298
  writable: true,
9299
9299
  value
9300
9300
  }) : obj[key] = value;
9301
- var __spreadValues = (a4, b3) => {
9302
- for (var prop in b3 || (b3 = {})) {
9303
- if (__hasOwnProp.call(b3, prop))
9304
- __defNormalProp(a4, prop, b3[prop]);
9301
+ var __spreadValues = (a3, b2) => {
9302
+ for (var prop in b2 || (b2 = {})) {
9303
+ if (__hasOwnProp.call(b2, prop))
9304
+ __defNormalProp(a3, prop, b2[prop]);
9305
9305
  }
9306
9306
  if (__getOwnPropSymbols)
9307
- for (var prop of __getOwnPropSymbols(b3)) {
9308
- if (__propIsEnum.call(b3, prop))
9309
- __defNormalProp(a4, prop, b3[prop]);
9307
+ for (var prop of __getOwnPropSymbols(b2)) {
9308
+ if (__propIsEnum.call(b2, prop))
9309
+ __defNormalProp(a3, prop, b2[prop]);
9310
9310
  }
9311
- return a4;
9311
+ return a3;
9312
9312
  };
9313
- var __spreadProps = (a4, b3) => __defProps(a4, __getOwnPropDescs(b3));
9313
+ var __spreadProps = (a3, b2) => __defProps(a3, __getOwnPropDescs(b2));
9314
+ var urlParams$1 = new URLSearchParams(window.location.search);
9315
+ var DEBUG$1 = urlParams$1.get("fdbg");
9316
+ function dbg$1() {
9317
+ if (DEBUG$1 != 1)
9318
+ return;
9319
+ console.debug(...arguments);
9320
+ }
9321
+ var postJSON = /* @__PURE__ */ function() {
9322
+ var _ref = _asyncToGenerator(function* (url3, data2) {
9323
+ dbg$1("Post to: " + url3);
9324
+ var raw2 = yield fetch(url3, {
9325
+ method: "POST",
9326
+ headers: {
9327
+ "Accept": "application/json",
9328
+ "Content-Type": "application/json"
9329
+ },
9330
+ body: JSON.stringify(data2)
9331
+ });
9332
+ if (!raw2.ok) {
9333
+ var error2 = new Error(raw2.statusText);
9334
+ Object.assign(error2, {
9335
+ response: raw2
9336
+ });
9337
+ throw error2;
9338
+ }
9339
+ var res = yield raw2.json();
9340
+ dbg$1("Post resp: " + JSON.stringify(res, null, 2));
9341
+ return res;
9342
+ });
9343
+ return function postJSON2(_x, _x2) {
9344
+ return _ref.apply(this, arguments);
9345
+ };
9346
+ }();
9347
+ var redirect = (url3) => {
9348
+ window.location.href = url3;
9349
+ };
9350
+ var handleSubmitError = (err, node2) => {
9351
+ if (err.response) {
9352
+ var code = err.response.status;
9353
+ if (node2.props.attrs.errorCodes && code in node2.props.attrs.errorCodes) {
9354
+ var value = node2.props.attrs.errorCodes[code];
9355
+ var message2 = null;
9356
+ var abort = true;
9357
+ if (typeof value === "string") {
9358
+ message2 = value;
9359
+ } else {
9360
+ if ("message" in value) {
9361
+ message2 = value.message;
9362
+ }
9363
+ if ("abort" in value) {
9364
+ abort = value.abort;
9365
+ }
9366
+ }
9367
+ if (message2) {
9368
+ node2.setErrors(message2);
9369
+ }
9370
+ return abort;
9371
+ }
9372
+ }
9373
+ node2.setErrors(err.toString());
9374
+ return true;
9375
+ };
9376
+ var getKey = (d3, path) => {
9377
+ if (typeof path === "string") {
9378
+ path = path.split(".");
9379
+ }
9380
+ return path.reduce((x2, y3) => x2[y3], d3);
9381
+ };
9382
+ var keyValOverlap = (o1, o2) => {
9383
+ var result = null;
9384
+ for (var key of Object.keys(o2)) {
9385
+ if (key === "*") {
9386
+ continue;
9387
+ }
9388
+ var o1_value = getKey(o1, key);
9389
+ if (!o1_value) {
9390
+ continue;
9391
+ }
9392
+ if (o2[key][o1_value]) {
9393
+ result = o2[key][o1_value];
9394
+ break;
9395
+ }
9396
+ }
9397
+ if (result === null) {
9398
+ if ("*" in o2) {
9399
+ return o2["*"];
9400
+ }
9401
+ throw Error("result not found and no default specified");
9402
+ }
9403
+ return result;
9404
+ };
9405
+ var strSubUrl = (str, obj) => str.replace(/\${(.*?)}/g, (x2, g) => encodeURIComponent(getKey(obj, g)));
9314
9406
  function usePrepop() {
9315
9407
  var prepopSettings = {};
9316
9408
  var urlParams2 = new URLSearchParams(window.location.search);
@@ -9340,11 +9432,11 @@ function usePrepop() {
9340
9432
  }
9341
9433
  }
9342
9434
  if (!found) {
9343
- console.debug("Prepop option not found for:", node2.name, value);
9435
+ dbg$1("Prepop option not found for:", node2.name, value);
9344
9436
  return;
9345
9437
  }
9346
9438
  }
9347
- console.debug("Setting prepop value for:", node2.name, value);
9439
+ dbg$1("Setting prepop value for:", node2.name, value);
9348
9440
  node2.input(value);
9349
9441
  }
9350
9442
  }
@@ -9373,8 +9465,8 @@ function eq$1(valA, valB) {
9373
9465
  return false;
9374
9466
  if (Object.keys(valA).length !== Object.keys(valB).length)
9375
9467
  return false;
9376
- for (var k3 of explicit) {
9377
- if ((k3 in valA || k3 in valB) && valA[k3] !== valB[k3])
9468
+ for (var k2 of explicit) {
9469
+ if ((k2 in valA || k2 in valB) && valA[k2] !== valB[k2])
9378
9470
  return false;
9379
9471
  }
9380
9472
  for (var key in valA) {
@@ -9390,7 +9482,7 @@ function eq$1(valA, valB) {
9390
9482
  return false;
9391
9483
  }
9392
9484
  function camel$1(str) {
9393
- return str.replace(/-([a-z0-9])/gi, (_s, g2) => g2.toUpperCase());
9485
+ return str.replace(/-([a-z0-9])/gi, (_s, g) => g.toUpperCase());
9394
9486
  }
9395
9487
  function kebab$1(str) {
9396
9488
  return str.replace(/([a-z0-9])([A-Z])/g, (_s, trail, cap) => trail + "-" + cap.toLowerCase()).replace(" ", "-").toLowerCase();
@@ -9518,8 +9610,8 @@ function createEmitter$1() {
9518
9610
  return;
9519
9611
  var events = buffer;
9520
9612
  buffer = void 0;
9521
- events.forEach((_ref) => {
9522
- var [node22, event] = _ref;
9613
+ events.forEach((_ref2) => {
9614
+ var [node22, event] = _ref2;
9523
9615
  return emitter(node22, event);
9524
9616
  });
9525
9617
  if (node2) {
@@ -9544,7 +9636,7 @@ function bubble$1(node2, _context, event) {
9544
9636
  }
9545
9637
  return node2;
9546
9638
  }
9547
- function on$2(_node, context, name, listener2) {
9639
+ function on$1(_node, context, name, listener2) {
9548
9640
  return context._e.on(name, listener2);
9549
9641
  }
9550
9642
  function off$1(node2, context, receipt) {
@@ -9581,18 +9673,18 @@ function error$1(code) {
9581
9673
  }).message);
9582
9674
  }
9583
9675
  function createMessage$1(conf, node2) {
9584
- var m4 = __spreadValues({
9676
+ var m3 = __spreadValues({
9585
9677
  blocking: false,
9586
9678
  key: token$1(),
9587
9679
  meta: {},
9588
9680
  type: "state",
9589
9681
  visible: true
9590
9682
  }, conf);
9591
- if (node2 && m4.value && m4.meta.localize !== false) {
9592
- m4.value = node2.t(m4);
9593
- m4.meta.locale = node2.config.locale;
9683
+ if (node2 && m3.value && m3.meta.localize !== false) {
9684
+ m3.value = node2.t(m3);
9685
+ m3.meta.locale = node2.config.locale;
9594
9686
  }
9595
- return m4;
9687
+ return m3;
9596
9688
  }
9597
9689
  function createMessages$1(node2) {
9598
9690
  var sourceKey = "".concat(node2.name, "-set");
@@ -9608,7 +9700,7 @@ function createMessages$1(node2) {
9608
9700
  for (var _len = arguments.length, errors2 = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
9609
9701
  errors2[_key - 1] = arguments[_key];
9610
9702
  }
9611
- return errors2.filter((m4) => !!m4).map((errorSet) => {
9703
+ return errors2.filter((m3) => !!m3).map((errorSet) => {
9612
9704
  if (typeof errorSet === "string")
9613
9705
  errorSet = [errorSet];
9614
9706
  if (Array.isArray(errorSet)) {
@@ -9670,13 +9762,13 @@ function submitForm$1(id2) {
9670
9762
  warn$1(151, id2);
9671
9763
  }
9672
9764
  function clearState$1(node2) {
9673
- var clear2 = (n2) => {
9674
- for (var key in n2.store) {
9675
- var message2 = n2.store[key];
9765
+ var clear2 = (n) => {
9766
+ for (var key in n.store) {
9767
+ var message2 = n.store[key];
9676
9768
  if (message2.type === "error" || message2.type === "ui" && key === "incomplete") {
9677
- n2.store.remove(key);
9769
+ n.store.remove(key);
9678
9770
  } else if (message2.type === "state") {
9679
- n2.store.set(__spreadProps(__spreadValues({}, message2), {
9771
+ n.store.set(__spreadProps(__spreadValues({}, message2), {
9680
9772
  value: false
9681
9773
  }));
9682
9774
  }
@@ -9688,7 +9780,7 @@ function clearState$1(node2) {
9688
9780
  function reset$1(id2, resetTo) {
9689
9781
  var node2 = typeof id2 === "string" ? getNode$1$1(id2) : id2;
9690
9782
  if (node2) {
9691
- var initial = (n2) => cloneAny$1(n2.props.initial) || (n2.type === "group" ? {} : n2.type === "list" ? [] : void 0);
9783
+ var initial = (n) => cloneAny$1(n.props.initial) || (n.type === "group" ? {} : n.type === "list" ? [] : void 0);
9692
9784
  node2._e.pause(node2);
9693
9785
  node2.input(cloneAny$1(resetTo) || initial(node2), false);
9694
9786
  node2.walk((child) => child.input(initial(child), false));
@@ -9742,7 +9834,7 @@ var invalidSetter$1 = (node2, _context, property) => {
9742
9834
  each: trap$1(eachChild$1),
9743
9835
  emit: trap$1(emit$1$1),
9744
9836
  find: trap$1(find$1),
9745
- on: trap$1(on$2),
9837
+ on: trap$1(on$1),
9746
9838
  off: trap$1(off$1),
9747
9839
  parent: trap$1(false, setParent$1),
9748
9840
  plugins: trap$1(false),
@@ -9817,12 +9909,12 @@ function commit$1(node2, context) {
9817
9909
  if (calm2)
9818
9910
  node2.calm();
9819
9911
  }
9820
- function partial$1(context, _ref2) {
9912
+ function partial$1(context, _ref3) {
9821
9913
  var {
9822
9914
  name,
9823
9915
  value,
9824
9916
  from: from2
9825
- } = _ref2;
9917
+ } = _ref3;
9826
9918
  if (Object.isFrozen(context._value))
9827
9919
  return;
9828
9920
  if (isList$1(context)) {
@@ -9914,6 +10006,14 @@ function define$1(node2, context, definition) {
9914
10006
  type: node2.type,
9915
10007
  value: context.value
9916
10008
  });
10009
+ if (definition.forceTypeProp) {
10010
+ if (node2.props.type)
10011
+ node2.props.originalType = node2.props.type;
10012
+ context.props.type = definition.forceTypeProp;
10013
+ }
10014
+ if (definition.family) {
10015
+ context.props.family = definition.family;
10016
+ }
9917
10017
  if (definition.features) {
9918
10018
  definition.features.forEach((feature) => feature(node2));
9919
10019
  }
@@ -10038,7 +10138,7 @@ function walkTree$1(_node, context, callback) {
10038
10138
  function resetConfig$1(node2, context) {
10039
10139
  var parent = node2.parent || void 0;
10040
10140
  context.config = createConfig$2(node2.config._t, parent);
10041
- node2.walk((n2) => n2.resetConfig());
10141
+ node2.walk((n) => n.resetConfig());
10042
10142
  }
10043
10143
  function use$1(node2, context, plugin2) {
10044
10144
  var run2 = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : true;
@@ -10122,7 +10222,7 @@ function getNode$2(node2, _context, locator) {
10122
10222
  pointer = node2;
10123
10223
  break;
10124
10224
  default:
10125
- pointer = pointer.children.find((c3) => String(c3.name) === String(name)) || select$3(pointer, name);
10225
+ pointer = pointer.children.find((c2) => String(c2.name) === String(name)) || select$3(pointer, name);
10126
10226
  }
10127
10227
  };
10128
10228
  while (pointer && address.length) {
@@ -10149,7 +10249,7 @@ function find$1(node2, _context, searchTerm, searcher) {
10149
10249
  }
10150
10250
  function bfs$1(tree, searchValue) {
10151
10251
  var searchGoal = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "name";
10152
- var search = typeof searchGoal === "string" ? (n2) => n2[searchGoal] == searchValue : searchGoal;
10252
+ var search = typeof searchGoal === "string" ? (n) => n[searchGoal] == searchValue : searchGoal;
10153
10253
  var stack = [tree];
10154
10254
  while (stack.length) {
10155
10255
  var node2 = stack.shift();
@@ -10159,8 +10259,8 @@ function bfs$1(tree, searchValue) {
10159
10259
  }
10160
10260
  return void 0;
10161
10261
  }
10162
- function getRoot$1(n2) {
10163
- var node2 = n2;
10262
+ function getRoot$1(n) {
10263
+ var node2 = n;
10164
10264
  while (node2.parent) {
10165
10265
  node2 = node2.parent;
10166
10266
  }
@@ -10212,7 +10312,7 @@ function createConfig$2() {
10212
10312
  if (node2) {
10213
10313
  node2.emit("config:".concat(prop), value, false);
10214
10314
  configChange$1(node2, prop, value);
10215
- node2.walk((n2) => configChange$1(n2, prop, value), true);
10315
+ node2.walk((n) => configChange$1(n, prop, value), true);
10216
10316
  }
10217
10317
  return didSet;
10218
10318
  }
@@ -10272,103 +10372,19 @@ function clearErrors$1$1(node2, context) {
10272
10372
  }
10273
10373
  return node2;
10274
10374
  }
10275
- var postJSON = /* @__PURE__ */ function() {
10276
- var _ref3 = _asyncToGenerator(function* (url3, data2) {
10277
- console.debug("Posting to " + url3);
10278
- var raw2 = yield fetch(url3, {
10279
- method: "POST",
10280
- headers: {
10281
- "Accept": "application/json",
10282
- "Content-Type": "application/json"
10283
- },
10284
- body: JSON.stringify(data2)
10285
- });
10286
- if (!raw2.ok) {
10287
- var error2 = new Error(raw2.statusText);
10288
- Object.assign(error2, {
10289
- response: raw2
10290
- });
10291
- throw error2;
10292
- }
10293
- var res = yield raw2.json();
10294
- console.debug("POST response:" + JSON.stringify(res, null, 2));
10295
- return res;
10296
- });
10297
- return function postJSON2(_x, _x2) {
10298
- return _ref3.apply(this, arguments);
10299
- };
10300
- }();
10301
- var redirect = (url3) => {
10302
- window.location.href = url3;
10303
- };
10304
- var handleSubmitError = (err, node2) => {
10305
- if (err.response) {
10306
- var code = err.response.status;
10307
- if (node2.props.attrs.errorCodes && code in node2.props.attrs.errorCodes) {
10308
- var value = node2.props.attrs.errorCodes[code];
10309
- var message2 = null;
10310
- var abort = true;
10311
- if (typeof value === "string") {
10312
- message2 = value;
10313
- } else {
10314
- if ("message" in value) {
10315
- message2 = value.message;
10316
- }
10317
- if ("abort" in value) {
10318
- abort = value.abort;
10319
- }
10320
- }
10321
- if (message2) {
10322
- node2.setErrors(message2);
10323
- }
10324
- return abort;
10325
- }
10326
- }
10327
- node2.setErrors(err.toString());
10328
- return true;
10329
- };
10330
- var getKey = (d4, path) => {
10331
- if (typeof path === "string") {
10332
- path = path.split(".");
10333
- }
10334
- return path.reduce((x3, y3) => x3[y3], d4);
10335
- };
10336
- var keyValOverlap = (o1, o2) => {
10337
- var result = null;
10338
- for (var key of Object.keys(o2)) {
10339
- if (key === "*") {
10340
- continue;
10341
- }
10342
- var o1_value = getKey(o1, key);
10343
- if (!o1_value) {
10344
- continue;
10345
- }
10346
- if (o2[key][o1_value]) {
10347
- result = o2[key][o1_value];
10348
- break;
10349
- }
10350
- }
10351
- if (result === null) {
10352
- if ("*" in o2) {
10353
- return o2["*"];
10354
- }
10355
- throw Error("result not found and no default specified");
10356
- }
10357
- return result;
10358
- };
10359
- var strSubUrl = (str, obj) => str.replace(/\${(.*?)}/g, (x3, g2) => encodeURIComponent(getKey(obj, g2)));
10375
+ var autoFocusTypes = ["email", "number", "password", "search", "text", "textarea", "tel", "url"];
10360
10376
  function useSteps() {
10361
10377
  var activeStep2 = ref("");
10362
10378
  var steps2 = reactive({});
10363
10379
  var defaultOrder2 = [];
10364
10380
  var stepQueue2 = ref([]);
10365
10381
  var stepHistory2 = ref([]);
10366
- var lastItem = (x3) => {
10367
- return x3.value[x3.value.length - 1];
10382
+ var lastItem = (x2) => {
10383
+ return x2.value[x2.value.length - 1];
10368
10384
  };
10369
- var findFirstInput = (n2) => {
10370
- for (var i3 = 0; i3 < n2.children.length; i3++) {
10371
- var child = n2.children[i3];
10385
+ var findFirstInput = (n) => {
10386
+ for (var i3 = 0; i3 < n.children.length; i3++) {
10387
+ var child = n.children[i3];
10372
10388
  if ((child.type === "input" || child.type === "list") && !(child.context.type === "hidden")) {
10373
10389
  return child;
10374
10390
  }
@@ -10379,6 +10395,26 @@ function useSteps() {
10379
10395
  }
10380
10396
  return null;
10381
10397
  };
10398
+ var focusAndOpenKeyboard = (el, timeout) => {
10399
+ if (!timeout) {
10400
+ timeout = 100;
10401
+ }
10402
+ if (el) {
10403
+ var __tempEl__ = document.createElement("input");
10404
+ __tempEl__.style.position = "absolute";
10405
+ __tempEl__.style.top = el.offsetTop + 7 + "px";
10406
+ __tempEl__.style.left = el.offsetLeft + "px";
10407
+ __tempEl__.style.height = 0;
10408
+ __tempEl__.style.opacity = 0;
10409
+ document.body.appendChild(__tempEl__);
10410
+ __tempEl__.focus();
10411
+ setTimeout(function() {
10412
+ el.focus();
10413
+ el.click();
10414
+ document.body.removeChild(__tempEl__);
10415
+ }, timeout);
10416
+ }
10417
+ };
10382
10418
  var firstStep2 = () => {
10383
10419
  if (stepHistory2.value.length > 0) {
10384
10420
  return stepHistory2.value[0];
@@ -10429,8 +10465,8 @@ function useSteps() {
10429
10465
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
10430
10466
  var node2 = steps2[activeStep2.value].node;
10431
10467
  if (validate22) {
10432
- node2.walk((n2) => {
10433
- n2.store.set(createMessage$1({
10468
+ node2.walk((n) => {
10469
+ n.store.set(createMessage$1({
10434
10470
  key: "submitted",
10435
10471
  value: true,
10436
10472
  visible: false
@@ -10453,14 +10489,15 @@ function useSteps() {
10453
10489
  }
10454
10490
  if (autoFocus) {
10455
10491
  var newNode = steps2[activeStep2.value].node;
10456
- setTimeout(function() {
10457
- var firstInput = findFirstInput(newNode);
10458
- if (!firstInput) {
10459
- return;
10460
- }
10461
- var elem = document.getElementById(firstInput.context.id);
10462
- elem.focus();
10463
- }, 400);
10492
+ var firstInput = findFirstInput(newNode);
10493
+ if (!firstInput) {
10494
+ return;
10495
+ }
10496
+ if (autoFocusTypes.indexOf(firstInput.context.type) === -1) {
10497
+ return;
10498
+ }
10499
+ var elem = document.getElementById(firstInput.context.id);
10500
+ focusAndOpenKeyboard(elem);
10464
10501
  }
10465
10502
  return true;
10466
10503
  };
@@ -10556,7 +10593,7 @@ var {
10556
10593
  setNextStep: _setNextStep,
10557
10594
  setPreviousStep: _setPreviousStep
10558
10595
  } = useSteps();
10559
- var urlParams$1 = new URLSearchParams(window.location.search);
10596
+ var urlParams$2 = new URLSearchParams(window.location.search);
10560
10597
  var dataDefaults = {
10561
10598
  steps,
10562
10599
  activeStep,
@@ -10565,7 +10602,7 @@ var dataDefaults = {
10565
10602
  plugins: [stepPlugin, prepopPlugin],
10566
10603
  urlParam: function urlParam(name) {
10567
10604
  var backup = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
10568
- return urlParams$1.get(name) || backup;
10605
+ return urlParams$2.get(name) || backup;
10569
10606
  },
10570
10607
  firstStep: () => {
10571
10608
  return _firstStep();
@@ -10667,7 +10704,6 @@ var _sfc_main$1 = /* @__PURE__ */ Object.assign(__default__, {
10667
10704
  var mergedData = reactive(Object.assign({}, dataDefaults, {
10668
10705
  meta
10669
10706
  }, props2.data));
10670
- console.debug("FormKitSchema data:", mergedData);
10671
10707
  return (_ctx, _cache) => {
10672
10708
  var _component_FormKitSchema = resolveComponent("FormKitSchema");
10673
10709
  return openBlock(), createBlock(_component_FormKitSchema, {
@@ -10677,22 +10713,22 @@ var _sfc_main$1 = /* @__PURE__ */ Object.assign(__default__, {
10677
10713
  };
10678
10714
  }
10679
10715
  });
10680
- var $$7 = _export;
10716
+ var $$6 = _export;
10681
10717
  var toObject$1 = toObject$8;
10682
10718
  var lengthOfArrayLike$1 = lengthOfArrayLike$7;
10683
10719
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$6;
10684
10720
  var addToUnscopables = addToUnscopables$3;
10685
- $$7({ target: "Array", proto: true }, {
10721
+ $$6({ target: "Array", proto: true }, {
10686
10722
  at: function at(index2) {
10687
- var O3 = toObject$1(this);
10688
- var len = lengthOfArrayLike$1(O3);
10723
+ var O2 = toObject$1(this);
10724
+ var len = lengthOfArrayLike$1(O2);
10689
10725
  var relativeIndex = toIntegerOrInfinity$1(index2);
10690
- var k3 = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
10691
- return k3 < 0 || k3 >= len ? void 0 : O3[k3];
10726
+ var k2 = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
10727
+ return k2 < 0 || k2 >= len ? void 0 : O2[k2];
10692
10728
  }
10693
10729
  });
10694
10730
  addToUnscopables("at");
10695
- var $$6 = _export;
10731
+ var $$5 = _export;
10696
10732
  var uncurryThis$3 = functionUncurryThis;
10697
10733
  var requireObjectCoercible = requireObjectCoercible$c;
10698
10734
  var toIntegerOrInfinity = toIntegerOrInfinity$6;
@@ -10702,21 +10738,21 @@ var charAt$2 = uncurryThis$3("".charAt);
10702
10738
  var FORCED = fails$2(function() {
10703
10739
  return "\u{20BB7}".at(-2) !== "\uD842";
10704
10740
  });
10705
- $$6({ target: "String", proto: true, forced: FORCED }, {
10741
+ $$5({ target: "String", proto: true, forced: FORCED }, {
10706
10742
  at: function at2(index2) {
10707
10743
  var S3 = toString$1(requireObjectCoercible(this));
10708
10744
  var len = S3.length;
10709
10745
  var relativeIndex = toIntegerOrInfinity(index2);
10710
- var k3 = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
10711
- return k3 < 0 || k3 >= len ? void 0 : charAt$2(S3, k3);
10746
+ var k2 = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
10747
+ return k2 < 0 || k2 >= len ? void 0 : charAt$2(S3, k2);
10712
10748
  }
10713
10749
  });
10714
- var $$5 = _export;
10750
+ var $$4 = _export;
10715
10751
  var uncurryThis$2 = functionUncurryThis;
10716
10752
  var isArray2 = isArray$3;
10717
10753
  var un$Reverse = uncurryThis$2([].reverse);
10718
10754
  var test = [1, 2];
10719
- $$5({ target: "Array", proto: true, forced: String(test) === String(test.reverse()) }, {
10755
+ $$4({ target: "Array", proto: true, forced: String(test) === String(test.reverse()) }, {
10720
10756
  reverse: function reverse() {
10721
10757
  if (isArray2(this))
10722
10758
  this.length = this.length;
@@ -10752,8 +10788,8 @@ function eq(valA, valB) {
10752
10788
  return false;
10753
10789
  if (Object.keys(valA).length !== Object.keys(valB).length)
10754
10790
  return false;
10755
- for (var k3 of explicit) {
10756
- if ((k3 in valA || k3 in valB) && valA[k3] !== valB[k3])
10791
+ for (var k2 of explicit) {
10792
+ if ((k2 in valA || k2 in valB) && valA[k2] !== valB[k2])
10757
10793
  return false;
10758
10794
  }
10759
10795
  for (var key in valA) {
@@ -10809,18 +10845,18 @@ function regexForFormat(format2) {
10809
10845
  return regex.replace(format3, formats[format3]);
10810
10846
  }, escaped));
10811
10847
  }
10812
- function isRecord(o2) {
10813
- return Object.prototype.toString.call(o2) === "[object Object]";
10848
+ function isRecord(o) {
10849
+ return Object.prototype.toString.call(o) === "[object Object]";
10814
10850
  }
10815
- function isObject(o2) {
10816
- return isRecord(o2) || Array.isArray(o2);
10851
+ function isObject(o) {
10852
+ return isRecord(o) || Array.isArray(o);
10817
10853
  }
10818
- function isPojo(o2) {
10819
- if (isRecord(o2) === false)
10854
+ function isPojo(o) {
10855
+ if (isRecord(o) === false)
10820
10856
  return false;
10821
- if (o2.__FKNode__ || o2.__POJO__ === false)
10857
+ if (o.__FKNode__ || o.__POJO__ === false)
10822
10858
  return false;
10823
- var ctor = o2.constructor;
10859
+ var ctor = o.constructor;
10824
10860
  if (ctor === void 0)
10825
10861
  return true;
10826
10862
  var prot = ctor.prototype;
@@ -10932,7 +10968,7 @@ function parseArgs(str) {
10932
10968
  }
10933
10969
  function except(obj, toRemove) {
10934
10970
  var clean = {};
10935
- var exps = toRemove.filter((n2) => n2 instanceof RegExp);
10971
+ var exps = toRemove.filter((n) => n instanceof RegExp);
10936
10972
  var keysToRemove = new Set(toRemove);
10937
10973
  var _loop = function _loop2(key2) {
10938
10974
  if (!keysToRemove.has(key2) && !exps.some((exp) => exp.test(key2))) {
@@ -10946,7 +10982,7 @@ function except(obj, toRemove) {
10946
10982
  }
10947
10983
  function only(obj, include) {
10948
10984
  var clean = {};
10949
- var exps = include.filter((n2) => n2 instanceof RegExp);
10985
+ var exps = include.filter((n) => n instanceof RegExp);
10950
10986
  include.forEach((key) => {
10951
10987
  if (!(key instanceof RegExp)) {
10952
10988
  clean[key] = obj[key];
@@ -10960,7 +10996,7 @@ function only(obj, include) {
10960
10996
  return clean;
10961
10997
  }
10962
10998
  function camel(str) {
10963
- return str.replace(/-([a-z0-9])/gi, (_s, g2) => g2.toUpperCase());
10999
+ return str.replace(/-([a-z0-9])/gi, (_s, g) => g.toUpperCase());
10964
11000
  }
10965
11001
  function kebab(str) {
10966
11002
  return str.replace(/([a-z0-9])([A-Z])/g, (_s, trail, cap) => trail + "-" + cap.toLowerCase()).replace(" ", "-").toLowerCase();
@@ -10999,15 +11035,15 @@ function getAt(obj, addr) {
10999
11035
  if (!obj || typeof obj !== "object")
11000
11036
  return null;
11001
11037
  var segments = addr.split(".");
11002
- var o2 = obj;
11038
+ var o = obj;
11003
11039
  for (var i3 in segments) {
11004
11040
  var segment = segments[i3];
11005
- if (has2(o2, segment)) {
11006
- o2 = o2[segment];
11041
+ if (has2(o, segment)) {
11042
+ o = o[segment];
11007
11043
  }
11008
11044
  if (+i3 === segments.length - 1)
11009
- return o2;
11010
- if (!o2 || typeof o2 !== "object")
11045
+ return o;
11046
+ if (!o || typeof o !== "object")
11011
11047
  return null;
11012
11048
  }
11013
11049
  return null;
@@ -11132,7 +11168,7 @@ function bubble(node2, _context, event) {
11132
11168
  }
11133
11169
  return node2;
11134
11170
  }
11135
- function on$1(_node, context, name, listener2) {
11171
+ function on(_node, context, name, listener2) {
11136
11172
  return context._e.on(name, listener2);
11137
11173
  }
11138
11174
  function off(node2, context, receipt) {
@@ -11169,18 +11205,18 @@ function error(code) {
11169
11205
  }).message);
11170
11206
  }
11171
11207
  function createMessage(conf, node2) {
11172
- var m4 = _objectSpread2({
11208
+ var m3 = _objectSpread2({
11173
11209
  blocking: false,
11174
11210
  key: token(),
11175
11211
  meta: {},
11176
11212
  type: "state",
11177
11213
  visible: true
11178
11214
  }, conf);
11179
- if (node2 && m4.value && m4.meta.localize !== false) {
11180
- m4.value = node2.t(m4);
11181
- m4.meta.locale = node2.config.locale;
11215
+ if (node2 && m3.value && m3.meta.localize !== false) {
11216
+ m3.value = node2.t(m3);
11217
+ m3.meta.locale = node2.config.locale;
11182
11218
  }
11183
- return m4;
11219
+ return m3;
11184
11220
  }
11185
11221
  var storeTraps = {
11186
11222
  apply: applyMessages,
@@ -11253,9 +11289,9 @@ function setMessage(messageStore, store, node2, message2) {
11253
11289
  message2.meta.locale = node2.props.locale;
11254
11290
  }
11255
11291
  }
11256
- var e3 = "message-".concat(has2(messageStore, message2.key) ? "updated" : "added");
11292
+ var e2 = "message-".concat(has2(messageStore, message2.key) ? "updated" : "added");
11257
11293
  messageStore[message2.key] = Object.freeze(node2.hook.message.dispatch(message2));
11258
- node2.emit(e3, message2);
11294
+ node2.emit(e2, message2);
11259
11295
  }
11260
11296
  return store;
11261
11297
  }
@@ -11273,7 +11309,7 @@ function removeMessage$1(messageStore, store, node2, key) {
11273
11309
  }
11274
11310
  if (store.buffer === true) {
11275
11311
  store._b = store._b.filter((buffered) => {
11276
- buffered[0] = buffered[0].filter((m4) => m4.key !== key);
11312
+ buffered[0] = buffered[0].filter((m3) => m3.key !== key);
11277
11313
  return buffered[1] || buffered[0].length;
11278
11314
  });
11279
11315
  }
@@ -11334,7 +11370,7 @@ function createMessages(node2) {
11334
11370
  for (var _len2 = arguments.length, errors2 = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
11335
11371
  errors2[_key2 - 1] = arguments[_key2];
11336
11372
  }
11337
- return errors2.filter((m4) => !!m4).map((errorSet) => {
11373
+ return errors2.filter((m3) => !!m3).map((errorSet) => {
11338
11374
  if (typeof errorSet === "string")
11339
11375
  errorSet = [errorSet];
11340
11376
  if (Array.isArray(errorSet)) {
@@ -11391,24 +11427,24 @@ function releaseBuffer(_messageStore, store) {
11391
11427
  }
11392
11428
  function createLedger() {
11393
11429
  var ledger = {};
11394
- var n2;
11430
+ var n;
11395
11431
  return {
11396
11432
  count: function count2() {
11397
11433
  for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
11398
11434
  args[_key3] = arguments[_key3];
11399
11435
  }
11400
- return createCounter(n2, ledger, ...args);
11436
+ return createCounter(n, ledger, ...args);
11401
11437
  },
11402
11438
  init(node2) {
11403
- n2 = node2;
11439
+ n = node2;
11404
11440
  node2.on("message-added.deep", add(ledger, 1));
11405
11441
  node2.on("message-removed.deep", add(ledger, -1));
11406
11442
  },
11407
- merge: (child) => _merge(n2, ledger, child),
11443
+ merge: (child) => _merge(n, ledger, child),
11408
11444
  settled(counterName) {
11409
11445
  return has2(ledger, counterName) ? ledger[counterName].promise : Promise.resolve();
11410
11446
  },
11411
- unmerge: (child) => _merge(n2, ledger, child, true),
11447
+ unmerge: (child) => _merge(n, ledger, child, true),
11412
11448
  value(counterName) {
11413
11449
  return has2(ledger, counterName) ? ledger[counterName].count : 0;
11414
11450
  }
@@ -11428,7 +11464,7 @@ function createCounter(node2, ledger, counterName, condition) {
11428
11464
  }
11429
11465
  };
11430
11466
  ledger[counterName] = counter2;
11431
- increment = node2.store.reduce((sum, m4) => sum + counter2.condition(m4) * 1, increment);
11467
+ increment = node2.store.reduce((sum, m3) => sum + counter2.condition(m3) * 1, increment);
11432
11468
  node2.each((child) => {
11433
11469
  child.ledger.count(counter2.name, counter2.condition);
11434
11470
  increment += child.ledger.value(counter2.name);
@@ -11440,7 +11476,7 @@ function parseCondition(condition) {
11440
11476
  if (typeof condition === "function") {
11441
11477
  return condition;
11442
11478
  }
11443
- return (m4) => m4.type === condition;
11479
+ return (m3) => m3.type === condition;
11444
11480
  }
11445
11481
  function count(counter2, increment) {
11446
11482
  var initial = counter2.count;
@@ -11448,7 +11484,7 @@ function count(counter2, increment) {
11448
11484
  counter2.count = post2;
11449
11485
  if (initial === 0 && post2 !== 0) {
11450
11486
  counter2.node.emit("unsettled:".concat(counter2.name), counter2.count, false);
11451
- counter2.promise = new Promise((r2) => counter2.resolve = r2);
11487
+ counter2.promise = new Promise((r) => counter2.resolve = r);
11452
11488
  } else if (initial !== 0 && post2 === 0) {
11453
11489
  counter2.node.emit("settled:".concat(counter2.name), counter2.count, false);
11454
11490
  counter2.resolve();
@@ -11457,10 +11493,10 @@ function count(counter2, increment) {
11457
11493
  return counter2;
11458
11494
  }
11459
11495
  function add(ledger, delta) {
11460
- return (e3) => {
11496
+ return (e2) => {
11461
11497
  for (var name in ledger) {
11462
11498
  var counter2 = ledger[name];
11463
- if (counter2.condition(e3.payload)) {
11499
+ if (counter2.condition(e2.payload)) {
11464
11500
  count(counter2, delta);
11465
11501
  }
11466
11502
  }
@@ -11536,11 +11572,11 @@ function createConfig$1() {
11536
11572
  _rm: (node2) => node2.remove(node2)
11537
11573
  });
11538
11574
  var rootConfig = new Proxy(target, {
11539
- set(t3, prop, value, r2) {
11575
+ set(t2, prop, value, r) {
11540
11576
  if (typeof prop === "string") {
11541
11577
  nodes.forEach((node2) => configChange(node2, prop, value));
11542
11578
  }
11543
- return Reflect.set(t3, prop, value, r2);
11579
+ return Reflect.set(t2, prop, value, r);
11544
11580
  }
11545
11581
  });
11546
11582
  return rootConfig;
@@ -11558,13 +11594,13 @@ function submitForm(id2) {
11558
11594
  warn(151, id2);
11559
11595
  }
11560
11596
  function clearState(node2) {
11561
- var clear2 = (n2) => {
11562
- for (var key in n2.store) {
11563
- var message2 = n2.store[key];
11597
+ var clear2 = (n) => {
11598
+ for (var key in n.store) {
11599
+ var message2 = n.store[key];
11564
11600
  if (message2.type === "error" || message2.type === "ui" && key === "incomplete") {
11565
- n2.store.remove(key);
11601
+ n.store.remove(key);
11566
11602
  } else if (message2.type === "state") {
11567
- n2.store.set(_objectSpread2(_objectSpread2({}, message2), {}, {
11603
+ n.store.set(_objectSpread2(_objectSpread2({}, message2), {}, {
11568
11604
  value: false
11569
11605
  }));
11570
11606
  }
@@ -11576,7 +11612,7 @@ function clearState(node2) {
11576
11612
  function reset(id2, resetTo) {
11577
11613
  var node2 = typeof id2 === "string" ? getNode$1(id2) : id2;
11578
11614
  if (node2) {
11579
- var initial = (n2) => cloneAny(n2.props.initial) || (n2.type === "group" ? {} : n2.type === "list" ? [] : void 0);
11615
+ var initial = (n) => cloneAny(n.props.initial) || (n.type === "group" ? {} : n.type === "list" ? [] : void 0);
11580
11616
  node2._e.pause(node2);
11581
11617
  node2.input(cloneAny(resetTo) || initial(node2), false);
11582
11618
  node2.walk((child) => child.input(initial(child), false));
@@ -11630,7 +11666,7 @@ var traps = {
11630
11666
  each: trap(eachChild),
11631
11667
  emit: trap(emit$1),
11632
11668
  find: trap(find),
11633
- on: trap(on$1),
11669
+ on: trap(on),
11634
11670
  off: trap(off),
11635
11671
  parent: trap(false, setParent),
11636
11672
  plugins: trap(false),
@@ -11824,6 +11860,14 @@ function define(node2, context, definition) {
11824
11860
  type: node2.type,
11825
11861
  value: context.value
11826
11862
  });
11863
+ if (definition.forceTypeProp) {
11864
+ if (node2.props.type)
11865
+ node2.props.originalType = node2.props.type;
11866
+ context.props.type = definition.forceTypeProp;
11867
+ }
11868
+ if (definition.family) {
11869
+ context.props.family = definition.family;
11870
+ }
11827
11871
  if (definition.features) {
11828
11872
  definition.features.forEach((feature) => feature(node2));
11829
11873
  }
@@ -11948,7 +11992,7 @@ function walkTree(_node, context, callback) {
11948
11992
  function resetConfig(node2, context) {
11949
11993
  var parent = node2.parent || void 0;
11950
11994
  context.config = createConfig(node2.config._t, parent);
11951
- node2.walk((n2) => n2.resetConfig());
11995
+ node2.walk((n) => n.resetConfig());
11952
11996
  }
11953
11997
  function use(node2, context, plugin2) {
11954
11998
  var run2 = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : true;
@@ -12032,7 +12076,7 @@ function getNode(node2, _context, locator) {
12032
12076
  pointer = node2;
12033
12077
  break;
12034
12078
  default:
12035
- pointer = pointer.children.find((c3) => String(c3.name) === String(name)) || select$2(pointer, name);
12079
+ pointer = pointer.children.find((c2) => String(c2.name) === String(name)) || select$2(pointer, name);
12036
12080
  }
12037
12081
  };
12038
12082
  while (pointer && address.length) {
@@ -12059,7 +12103,7 @@ function find(node2, _context, searchTerm, searcher) {
12059
12103
  }
12060
12104
  function bfs(tree, searchValue) {
12061
12105
  var searchGoal = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "name";
12062
- var search = typeof searchGoal === "string" ? (n2) => n2[searchGoal] == searchValue : searchGoal;
12106
+ var search = typeof searchGoal === "string" ? (n) => n[searchGoal] == searchValue : searchGoal;
12063
12107
  var stack = [tree];
12064
12108
  while (stack.length) {
12065
12109
  var node2 = stack.shift();
@@ -12069,8 +12113,8 @@ function bfs(tree, searchValue) {
12069
12113
  }
12070
12114
  return void 0;
12071
12115
  }
12072
- function getRoot(n2) {
12073
- var node2 = n2;
12116
+ function getRoot(n) {
12117
+ var node2 = n;
12074
12118
  while (node2.parent) {
12075
12119
  node2 = node2.parent;
12076
12120
  }
@@ -12122,7 +12166,7 @@ function createConfig() {
12122
12166
  if (node2) {
12123
12167
  node2.emit("config:".concat(prop), value, false);
12124
12168
  configChange(node2, prop, value);
12125
- node2.walk((n2) => configChange(n2, prop, value), true);
12169
+ node2.walk((n) => configChange(n, prop, value), true);
12126
12170
  }
12127
12171
  return didSet;
12128
12172
  }
@@ -12379,31 +12423,31 @@ function sugar(node2) {
12379
12423
  function compile(expr) {
12380
12424
  var provideTokens;
12381
12425
  var requirements = /* @__PURE__ */ new Set();
12382
- var x3 = function expand(operand, tokens) {
12426
+ var x2 = function expand(operand, tokens) {
12383
12427
  return typeof operand === "function" ? operand(tokens) : operand;
12384
12428
  };
12385
12429
  var operatorRegistry = [{
12386
- "&&": (l2, r2, t3) => x3(l2, t3) && x3(r2, t3),
12387
- "||": (l2, r2, t3) => x3(l2, t3) || x3(r2, t3)
12430
+ "&&": (l, r, t2) => x2(l, t2) && x2(r, t2),
12431
+ "||": (l, r, t2) => x2(l, t2) || x2(r, t2)
12388
12432
  }, {
12389
- "===": (l2, r2, t3) => !!(x3(l2, t3) === x3(r2, t3)),
12390
- "!==": (l2, r2, t3) => !!(x3(l2, t3) !== x3(r2, t3)),
12391
- "==": (l2, r2, t3) => !!(x3(l2, t3) == x3(r2, t3)),
12392
- "!=": (l2, r2, t3) => !!(x3(l2, t3) != x3(r2, t3)),
12393
- ">=": (l2, r2, t3) => !!(x3(l2, t3) >= x3(r2, t3)),
12394
- "<=": (l2, r2, t3) => !!(x3(l2, t3) <= x3(r2, t3)),
12395
- ">": (l2, r2, t3) => !!(x3(l2, t3) > x3(r2, t3)),
12396
- "<": (l2, r2, t3) => !!(x3(l2, t3) < x3(r2, t3))
12433
+ "===": (l, r, t2) => !!(x2(l, t2) === x2(r, t2)),
12434
+ "!==": (l, r, t2) => !!(x2(l, t2) !== x2(r, t2)),
12435
+ "==": (l, r, t2) => !!(x2(l, t2) == x2(r, t2)),
12436
+ "!=": (l, r, t2) => !!(x2(l, t2) != x2(r, t2)),
12437
+ ">=": (l, r, t2) => !!(x2(l, t2) >= x2(r, t2)),
12438
+ "<=": (l, r, t2) => !!(x2(l, t2) <= x2(r, t2)),
12439
+ ">": (l, r, t2) => !!(x2(l, t2) > x2(r, t2)),
12440
+ "<": (l, r, t2) => !!(x2(l, t2) < x2(r, t2))
12397
12441
  }, {
12398
- "+": (l2, r2, t3) => x3(l2, t3) + x3(r2, t3),
12399
- "-": (l2, r2, t3) => x3(l2, t3) - x3(r2, t3)
12442
+ "+": (l, r, t2) => x2(l, t2) + x2(r, t2),
12443
+ "-": (l, r, t2) => x2(l, t2) - x2(r, t2)
12400
12444
  }, {
12401
- "*": (l2, r2, t3) => x3(l2, t3) * x3(r2, t3),
12402
- "/": (l2, r2, t3) => x3(l2, t3) / x3(r2, t3),
12403
- "%": (l2, r2, t3) => x3(l2, t3) % x3(r2, t3)
12445
+ "*": (l, r, t2) => x2(l, t2) * x2(r, t2),
12446
+ "/": (l, r, t2) => x2(l, t2) / x2(r, t2),
12447
+ "%": (l, r, t2) => x2(l, t2) % x2(r, t2)
12404
12448
  }];
12405
- var operatorSymbols = operatorRegistry.reduce((s3, g2) => {
12406
- return s3.concat(Object.keys(g2));
12449
+ var operatorSymbols = operatorRegistry.reduce((s3, g) => {
12450
+ return s3.concat(Object.keys(g));
12407
12451
  }, []);
12408
12452
  var operatorChars = new Set(operatorSymbols.map((key) => key.charAt(0)));
12409
12453
  function getOp(symbols, char, p2, expression) {
@@ -12563,8 +12607,8 @@ function compile(expr) {
12563
12607
  }
12564
12608
  op = !op && left ? left : op;
12565
12609
  if (!op && operand) {
12566
- op = (v, t3) => {
12567
- return typeof v === "function" ? v(t3) : v;
12610
+ op = (v, t2) => {
12611
+ return typeof v === "function" ? v(t2) : v;
12568
12612
  };
12569
12613
  op = op.bind(null, evaluate(operand, step));
12570
12614
  }
@@ -12590,7 +12634,7 @@ function compile(expr) {
12590
12634
  if (tailCall) {
12591
12635
  tailCall = tailCall.provide((subTokens) => {
12592
12636
  var rootTokens = provideTokens(subTokens);
12593
- var t3 = subTokens.reduce((tokenSet, token2) => {
12637
+ var t2 = subTokens.reduce((tokenSet, token2) => {
12594
12638
  var isTail = token2 === tail || (tail === null || tail === void 0 ? void 0 : tail.startsWith("".concat(token2, "(")));
12595
12639
  if (isTail) {
12596
12640
  var value = getAt(userFuncReturn, token2);
@@ -12600,7 +12644,7 @@ function compile(expr) {
12600
12644
  }
12601
12645
  return tokenSet;
12602
12646
  }, {});
12603
- return t3;
12647
+ return t2;
12604
12648
  });
12605
12649
  }
12606
12650
  return tailCall ? tailCall() : userFuncReturn;
@@ -12694,7 +12738,7 @@ function clearErrors(id2) {
12694
12738
  warn(652, id2);
12695
12739
  }
12696
12740
  }
12697
- var FORMKIT_VERSION = "1.0.0-beta.9";
12741
+ var FORMKIT_VERSION = "1.0.0-beta.10";
12698
12742
  function createLibraryPlugin() {
12699
12743
  for (var _len = arguments.length, libraries = new Array(_len), _key = 0; _key < _len; _key++) {
12700
12744
  libraries[_key] = arguments[_key];
@@ -12714,8 +12758,9 @@ var outer = createSection("outer", () => ({
12714
12758
  $el: "div",
12715
12759
  attrs: {
12716
12760
  key: "$id",
12761
+ "data-family": "$family || undefined",
12717
12762
  "data-type": "$type",
12718
- "data-multiple": "$attrs.multiple",
12763
+ "data-multiple": '$attrs.multiple || ($type != "select" && $options != undefined) || undefined',
12719
12764
  "data-disabled": "$disabled || undefined",
12720
12765
  "data-complete": "$state.complete || undefined",
12721
12766
  "data-invalid": "$state.valid === false && $state.validationVisible || undefined",
@@ -12820,7 +12865,7 @@ var boxWrapper = createSection("wrapper", () => ({
12820
12865
  "data-disabled": {
12821
12866
  if: "$options.length",
12822
12867
  then: void 0,
12823
- else: "$disabled"
12868
+ else: "$disabled || undefined"
12824
12869
  }
12825
12870
  }
12826
12871
  }));
@@ -12941,6 +12986,7 @@ var selectInput$1 = createSection("input", () => ({
12941
12986
  disabled: "$disabled",
12942
12987
  class: "$classes.input",
12943
12988
  name: "$node.name",
12989
+ onChange: "$handlers.onChange",
12944
12990
  onInput: "$handlers.selectInput",
12945
12991
  onBlur: "$handlers.blur",
12946
12992
  "aria-describedby": "$describedBy"
@@ -13077,8 +13123,8 @@ function options(node2) {
13077
13123
  return next3(prop);
13078
13124
  });
13079
13125
  }
13080
- function toggleChecked$1(node2, e3) {
13081
- var el = e3.target;
13126
+ function toggleChecked$1(node2, e2) {
13127
+ var el = e2.target;
13082
13128
  if (el instanceof HTMLInputElement) {
13083
13129
  var value = Array.isArray(node2.props.options) ? optionValue(node2.props.options, el.value) : el.value;
13084
13130
  if (Array.isArray(node2.props.options) && node2.props.options.length) {
@@ -13162,19 +13208,19 @@ function localize$2(key, value) {
13162
13208
  };
13163
13209
  }
13164
13210
  var isBrowser = typeof window !== "undefined";
13165
- function removeHover(e3) {
13166
- if (e3.target instanceof HTMLElement && e3.target.hasAttribute("data-file-hover")) {
13167
- e3.target.removeAttribute("data-file-hover");
13211
+ function removeHover(e2) {
13212
+ if (e2.target instanceof HTMLElement && e2.target.hasAttribute("data-file-hover")) {
13213
+ e2.target.removeAttribute("data-file-hover");
13168
13214
  }
13169
13215
  }
13170
- function preventStrayDrop(type, e3) {
13171
- if (!(e3.target instanceof HTMLInputElement)) {
13172
- e3.preventDefault();
13216
+ function preventStrayDrop(type, e2) {
13217
+ if (!(e2.target instanceof HTMLInputElement)) {
13218
+ e2.preventDefault();
13173
13219
  } else if (type === "dragover") {
13174
- e3.target.setAttribute("data-file-hover", "true");
13220
+ e2.target.setAttribute("data-file-hover", "true");
13175
13221
  }
13176
13222
  if (type === "drop") {
13177
- removeHover(e3);
13223
+ removeHover(e2);
13178
13224
  }
13179
13225
  }
13180
13226
  function files(node2) {
@@ -13189,14 +13235,14 @@ function files(node2) {
13189
13235
  window._FormKit_File_Drop = true;
13190
13236
  }
13191
13237
  }
13238
+ node2.hook.input((value, next3) => next3(Array.isArray(value) ? value : []));
13192
13239
  node2.on("created", () => {
13193
- if (!Array.isArray(node2.value)) {
13240
+ if (!Array.isArray(node2.value))
13194
13241
  node2.input([], false);
13195
- }
13196
13242
  if (!node2.context)
13197
13243
  return;
13198
- node2.context.handlers.resetFiles = (e3) => {
13199
- e3.preventDefault();
13244
+ node2.context.handlers.resetFiles = (e2) => {
13245
+ e2.preventDefault();
13200
13246
  node2.input([]);
13201
13247
  if (node2.props.id && isBrowser) {
13202
13248
  var el = document.getElementById(node2.props.id);
@@ -13204,13 +13250,13 @@ function files(node2) {
13204
13250
  el.value = "";
13205
13251
  }
13206
13252
  };
13207
- node2.context.handlers.files = (e3) => {
13253
+ node2.context.handlers.files = (e2) => {
13208
13254
  var _a, _b;
13209
13255
  var files2 = [];
13210
- if (e3.target instanceof HTMLInputElement && e3.target.files) {
13211
- for (var i3 = 0; i3 < e3.target.files.length; i3++) {
13256
+ if (e2.target instanceof HTMLInputElement && e2.target.files) {
13257
+ for (var i3 = 0; i3 < e2.target.files.length; i3++) {
13212
13258
  var _file = void 0;
13213
- if (_file = e3.target.files.item(i3)) {
13259
+ if (_file = e2.target.files.item(i3)) {
13214
13260
  files2.push({
13215
13261
  name: _file.name,
13216
13262
  file: _file
@@ -13222,7 +13268,7 @@ function files(node2) {
13222
13268
  if (node2.context)
13223
13269
  node2.context.files = files2;
13224
13270
  if (typeof ((_a = node2.props.attrs) === null || _a === void 0 ? void 0 : _a.onChange) === "function") {
13225
- (_b = node2.props.attrs) === null || _b === void 0 ? void 0 : _b.onChange(e3);
13271
+ (_b = node2.props.attrs) === null || _b === void 0 ? void 0 : _b.onChange(e2);
13226
13272
  }
13227
13273
  };
13228
13274
  });
@@ -13234,8 +13280,8 @@ function _handleSubmit() {
13234
13280
  _handleSubmit = _asyncToGenerator(function* (node2, submitEvent) {
13235
13281
  submitEvent.preventDefault();
13236
13282
  yield node2.settled;
13237
- node2.walk((n2) => {
13238
- n2.store.set(createMessage({
13283
+ node2.walk((n) => {
13284
+ n.store.set(createMessage({
13239
13285
  key: "submitted",
13240
13286
  value: true,
13241
13287
  visible: false
@@ -13245,6 +13291,9 @@ function _handleSubmit() {
13245
13291
  node2.props.onSubmitRaw(submitEvent, node2);
13246
13292
  }
13247
13293
  if (node2.ledger.value("blocking")) {
13294
+ if (typeof node2.props.onSubmitInvalid === "function") {
13295
+ node2.props.onSubmitInvalid(node2);
13296
+ }
13248
13297
  if (node2.props.incompleteMessage !== false) {
13249
13298
  node2.store.set(createMessage({
13250
13299
  blocking: false,
@@ -13343,9 +13392,23 @@ function isSelected(node2, option2) {
13343
13392
  var value = optionValue(node2.props.options, option2);
13344
13393
  return Array.isArray(node2._value) ? node2._value.some((optionA) => shouldSelect(optionA, value)) : node2.value === void 0 && !option2 || shouldSelect(value, node2._value);
13345
13394
  }
13346
- function selectInput(node2, e3) {
13347
- var target = e3.target;
13348
- var value = target.hasAttribute("multiple") ? Array.from(target.selectedOptions).map((o2) => optionValue(node2.props.options, o2.value)) : optionValue(node2.props.options, target.value);
13395
+ function deferChange(_x3, _x4) {
13396
+ return _deferChange.apply(this, arguments);
13397
+ }
13398
+ function _deferChange() {
13399
+ _deferChange = _asyncToGenerator(function* (node2, e2) {
13400
+ var _a;
13401
+ if (typeof ((_a = node2.props.attrs) === null || _a === void 0 ? void 0 : _a.onChange) === "function") {
13402
+ yield new Promise((r) => setTimeout(r, 0));
13403
+ yield node2.settled;
13404
+ node2.props.attrs.onChange(e2);
13405
+ }
13406
+ });
13407
+ return _deferChange.apply(this, arguments);
13408
+ }
13409
+ function selectInput(node2, e2) {
13410
+ var target = e2.target;
13411
+ var value = target.hasAttribute("multiple") ? Array.from(target.selectedOptions).map((o) => optionValue(node2.props.options, o.value)) : optionValue(node2.props.options, target.value);
13349
13412
  node2.input(value);
13350
13413
  }
13351
13414
  function applyPlaceholder(options2, placeholder) {
@@ -13401,6 +13464,7 @@ function select$1(node2) {
13401
13464
  }
13402
13465
  if ((_b = node2.context) === null || _b === void 0 ? void 0 : _b.handlers) {
13403
13466
  node2.context.handlers.selectInput = selectInput.bind(null, node2);
13467
+ node2.context.handlers.onChange = deferChange.bind(null, node2);
13404
13468
  }
13405
13469
  if ((_c = node2.context) === null || _c === void 0 ? void 0 : _c.fns) {
13406
13470
  node2.context.fns.isSelected = isSelected.bind(null, node2);
@@ -13520,27 +13584,30 @@ function $root(section) {
13520
13584
  var button = {
13521
13585
  schema: outer(messages(message("$message.value")), wrapper(buttonInput(icon("prefix"), prefix(), buttonLabel("$label || $ui.submit.value"), suffix(), icon("suffix"))), help("$help")),
13522
13586
  type: "input",
13587
+ family: "button",
13523
13588
  props: [],
13524
13589
  features: [localize$2("submit"), ignore]
13525
13590
  };
13526
13591
  var checkbox = {
13527
- schema: outer($if("$options == undefined", boxWrapper(inner(prefix(), box(), decorator(), suffix()), $if("$label", boxLabel("$label"))), fieldset(legend("$label"), help("$help"), boxOptions(boxOption(boxWrapper(inner(prefix(), $extend(box(), {
13592
+ schema: outer($if("$options == undefined", boxWrapper(inner(prefix(), box(), decorator(icon("decorator")), suffix()), $if("$label", boxLabel("$label"))), fieldset(legend("$label"), help("$help"), boxOptions(boxOption(boxWrapper(inner(prefix(), $extend(box(), {
13528
13593
  bind: "$option.attrs",
13529
13594
  attrs: {
13530
13595
  id: "$option.attrs.id",
13531
13596
  value: "$option.value",
13532
13597
  checked: "$fns.isChecked($option.value)"
13533
13598
  }
13534
- }), decorator(), suffix()), $if("$option.label", boxLabel("$option.label"))), boxHelp("$option.help"))))), $if("$options.length === 0 && $help", help("$help")), messages(message("$message.value"))),
13599
+ }), decorator(icon("decorator")), suffix()), $if("$option.label", boxLabel("$option.label"))), boxHelp("$option.help"))))), $if("$options == undefined && $help", help("$help")), messages(message("$message.value"))),
13535
13600
  type: "input",
13601
+ family: "box",
13536
13602
  props: ["options", "onValue", "offValue"],
13537
- features: [options, checkboxes]
13603
+ features: [options, checkboxes, defaultIcon("decorator", "checkboxDecorator")]
13538
13604
  };
13539
13605
  var file = {
13540
- schema: outer(wrapper(label("$label"), inner(icon("prefix", "label"), prefix(), fileInput(), fileList(fileItem(icon("fileItem"), fileName("$file.name"), $if("$value.length === 1", fileRemove(icon("fileRemove"), "$ui.remove.value")))), $if("$value.length > 1", fileRemove("$ui.removeAll.value")), noFiles(icon("fileItem"), "$ui.noFiles.value"), suffix(), icon("suffix"))), help("$help"), messages(message("$message.value"))),
13606
+ schema: outer(wrapper(label("$label"), inner(icon("prefix", "label"), prefix(), fileInput(), fileList(fileItem(icon("fileItem"), fileName("$file.name"), $if("$value.length === 1", fileRemove(icon("fileRemove"), "$ui.remove.value")))), $if("$value.length > 1", fileRemove("$ui.removeAll.value")), noFiles(icon("noFiles"), "$ui.noFiles.value"), suffix(), icon("suffix"))), help("$help"), messages(message("$message.value"))),
13541
13607
  type: "input",
13608
+ family: "text",
13542
13609
  props: [],
13543
- features: [files, defaultIcon("fileItem", "fileDoc"), defaultIcon("fileRemove", "close")]
13610
+ features: [files, defaultIcon("fileItem", "fileItem"), defaultIcon("fileRemove", "fileRemove"), defaultIcon("noFiles", "noFiles")]
13544
13611
  };
13545
13612
  var form = {
13546
13613
  schema: formInput("$slots.default", messages(message("$message.value")), actions(submitInput())),
@@ -13567,23 +13634,24 @@ var list$1 = {
13567
13634
  features: [disables]
13568
13635
  };
13569
13636
  var radio = {
13570
- schema: outer($if("$options == undefined", boxWrapper(inner(prefix(), box(), decorator(), suffix()), $if("$label", boxLabel("$label"))), fieldset(legend("$label"), help("$help"), boxOptions(boxOption(boxWrapper(inner(prefix(), $extend(box(), {
13637
+ schema: outer($if("$options == undefined", boxWrapper(inner(prefix(), box(), decorator(icon("decorator")), suffix()), $if("$label", boxLabel("$label"))), fieldset(legend("$label"), help("$help"), boxOptions(boxOption(boxWrapper(inner(prefix(), $extend(box(), {
13571
13638
  bind: "$option.attrs",
13572
13639
  attrs: {
13573
13640
  id: "$option.attrs.id",
13574
13641
  value: "$option.value",
13575
13642
  checked: "$fns.isChecked($option.value)"
13576
13643
  }
13577
- }), decorator(), suffix()), $if("$option.label", boxLabel("$option.label"))), boxHelp("$option.help"))))), $if("$options.length === 0 && $help", help("$help")), messages(message("$message.value"))),
13644
+ }), decorator(icon("decorator")), suffix()), $if("$option.label", boxLabel("$option.label"))), boxHelp("$option.help"))))), $if("$options == undefined && $help", help("$help")), messages(message("$message.value"))),
13578
13645
  type: "input",
13646
+ family: "box",
13579
13647
  props: ["options", "onValue", "offValue"],
13580
- features: [options, radios]
13648
+ features: [options, radios, defaultIcon("decorator", "radioDecorator")]
13581
13649
  };
13582
13650
  var select = {
13583
- schema: outer(wrapper(label("$label"), inner(icon("prefix"), prefix(), selectInput$1($if("$slots.default", () => "$slots.default", $if("$slots.option", optionSlot, option("$option.label")))), icon("select"), suffix(), icon("suffix"))), help("$help"), messages(message("$message.value"))),
13651
+ schema: outer(wrapper(label("$label"), inner(icon("prefix"), prefix(), selectInput$1($if("$slots.default", () => "$slots.default", $if("$slots.option", optionSlot, option("$option.label")))), $if("$attrs.multiple !== undefined", () => "", icon("select")), suffix(), icon("suffix"))), help("$help"), messages(message("$message.value"))),
13584
13652
  type: "input",
13585
13653
  props: ["options", "placeholder"],
13586
- features: [options, select$1, defaultIcon("select", "down")]
13654
+ features: [options, select$1, defaultIcon("select", "select")]
13587
13655
  };
13588
13656
  var textarea = {
13589
13657
  schema: outer(wrapper(label("$label"), inner(icon("prefix", "label"), prefix(), textareaInput(), suffix(), icon("suffix"))), help("$help"), messages(message("$message.value"))),
@@ -13594,6 +13662,7 @@ var textarea = {
13594
13662
  var text = {
13595
13663
  schema: outer(wrapper(label("$label"), inner(icon("prefix", "label"), prefix(), textInput(), suffix(), icon("suffix"))), help("$help"), messages(message("$message.value"))),
13596
13664
  type: "input",
13665
+ family: "text",
13597
13666
  props: [],
13598
13667
  features: []
13599
13668
  };
@@ -13670,18 +13739,18 @@ var getIterator = getIterator$3;
13670
13739
  var getIteratorMethod = getIteratorMethod$4;
13671
13740
  var $Array = Array;
13672
13741
  var arrayFrom$1 = function from(arrayLike) {
13673
- var O3 = toObject(arrayLike);
13742
+ var O2 = toObject(arrayLike);
13674
13743
  var IS_CONSTRUCTOR = isConstructor3(this);
13675
13744
  var argumentsLength = arguments.length;
13676
13745
  var mapfn = argumentsLength > 1 ? arguments[1] : void 0;
13677
13746
  var mapping = mapfn !== void 0;
13678
13747
  if (mapping)
13679
13748
  mapfn = bind$1(mapfn, argumentsLength > 2 ? arguments[2] : void 0);
13680
- var iteratorMethod = getIteratorMethod(O3);
13749
+ var iteratorMethod = getIteratorMethod(O2);
13681
13750
  var index2 = 0;
13682
13751
  var length3, result, step, iterator, next3, value;
13683
13752
  if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
13684
- iterator = getIterator(O3, iteratorMethod);
13753
+ iterator = getIterator(O2, iteratorMethod);
13685
13754
  next3 = iterator.next;
13686
13755
  result = IS_CONSTRUCTOR ? new this() : [];
13687
13756
  for (; !(step = call(next3, iterator)).done; index2++) {
@@ -13689,10 +13758,10 @@ var arrayFrom$1 = function from(arrayLike) {
13689
13758
  createProperty$1(result, index2, value);
13690
13759
  }
13691
13760
  } else {
13692
- length3 = lengthOfArrayLike(O3);
13761
+ length3 = lengthOfArrayLike(O2);
13693
13762
  result = IS_CONSTRUCTOR ? new this(length3) : $Array(length3);
13694
13763
  for (; length3 > index2; index2++) {
13695
- value = mapping ? mapfn(O3[index2], index2) : O3[index2];
13764
+ value = mapping ? mapfn(O2[index2], index2) : O2[index2];
13696
13765
  createProperty$1(result, index2, value);
13697
13766
  }
13698
13767
  }
@@ -13747,20 +13816,20 @@ var digitToBasic = function(digit) {
13747
13816
  return digit + 22 + 75 * (digit < 26);
13748
13817
  };
13749
13818
  var adapt = function(delta, numPoints, firstTime) {
13750
- var k3 = 0;
13819
+ var k2 = 0;
13751
13820
  delta = firstTime ? floor$1(delta / damp) : delta >> 1;
13752
13821
  delta += floor$1(delta / numPoints);
13753
13822
  while (delta > baseMinusTMin * tMax >> 1) {
13754
13823
  delta = floor$1(delta / baseMinusTMin);
13755
- k3 += base;
13824
+ k2 += base;
13756
13825
  }
13757
- return floor$1(k3 + (baseMinusTMin + 1) * delta / (delta + skew));
13826
+ return floor$1(k2 + (baseMinusTMin + 1) * delta / (delta + skew));
13758
13827
  };
13759
13828
  var encode = function(input2) {
13760
13829
  var output = [];
13761
13830
  input2 = ucs2decode(input2);
13762
13831
  var inputLength = input2.length;
13763
- var n2 = initialN;
13832
+ var n = initialN;
13764
13833
  var delta = 0;
13765
13834
  var bias = initialBias;
13766
13835
  var i3, currentValue;
@@ -13776,45 +13845,45 @@ var encode = function(input2) {
13776
13845
  push$1(output, delimiter);
13777
13846
  }
13778
13847
  while (handledCPCount < inputLength) {
13779
- var m4 = maxInt;
13848
+ var m3 = maxInt;
13780
13849
  for (i3 = 0; i3 < input2.length; i3++) {
13781
13850
  currentValue = input2[i3];
13782
- if (currentValue >= n2 && currentValue < m4) {
13783
- m4 = currentValue;
13851
+ if (currentValue >= n && currentValue < m3) {
13852
+ m3 = currentValue;
13784
13853
  }
13785
13854
  }
13786
13855
  var handledCPCountPlusOne = handledCPCount + 1;
13787
- if (m4 - n2 > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
13856
+ if (m3 - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
13788
13857
  throw $RangeError(OVERFLOW_ERROR);
13789
13858
  }
13790
- delta += (m4 - n2) * handledCPCountPlusOne;
13791
- n2 = m4;
13859
+ delta += (m3 - n) * handledCPCountPlusOne;
13860
+ n = m3;
13792
13861
  for (i3 = 0; i3 < input2.length; i3++) {
13793
13862
  currentValue = input2[i3];
13794
- if (currentValue < n2 && ++delta > maxInt) {
13863
+ if (currentValue < n && ++delta > maxInt) {
13795
13864
  throw $RangeError(OVERFLOW_ERROR);
13796
13865
  }
13797
- if (currentValue == n2) {
13798
- var q3 = delta;
13799
- var k3 = base;
13866
+ if (currentValue == n) {
13867
+ var q2 = delta;
13868
+ var k2 = base;
13800
13869
  while (true) {
13801
- var t3 = k3 <= bias ? tMin : k3 >= bias + tMax ? tMax : k3 - bias;
13802
- if (q3 < t3)
13870
+ var t2 = k2 <= bias ? tMin : k2 >= bias + tMax ? tMax : k2 - bias;
13871
+ if (q2 < t2)
13803
13872
  break;
13804
- var qMinusT = q3 - t3;
13805
- var baseMinusT = base - t3;
13806
- push$1(output, fromCharCode(digitToBasic(t3 + qMinusT % baseMinusT)));
13807
- q3 = floor$1(qMinusT / baseMinusT);
13808
- k3 += base;
13873
+ var qMinusT = q2 - t2;
13874
+ var baseMinusT = base - t2;
13875
+ push$1(output, fromCharCode(digitToBasic(t2 + qMinusT % baseMinusT)));
13876
+ q2 = floor$1(qMinusT / baseMinusT);
13877
+ k2 += base;
13809
13878
  }
13810
- push$1(output, fromCharCode(digitToBasic(q3)));
13879
+ push$1(output, fromCharCode(digitToBasic(q2)));
13811
13880
  bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
13812
13881
  delta = 0;
13813
13882
  handledCPCount++;
13814
13883
  }
13815
13884
  }
13816
13885
  delta++;
13817
- n2++;
13886
+ n++;
13818
13887
  }
13819
13888
  return join$1(output, "");
13820
13889
  };
@@ -13828,7 +13897,7 @@ var stringPunycodeToAscii = function(input2) {
13828
13897
  }
13829
13898
  return join$1(encoded, ".");
13830
13899
  };
13831
- var $$4 = _export;
13900
+ var $$3 = _export;
13832
13901
  var DESCRIPTORS$2 = descriptors;
13833
13902
  var USE_NATIVE_URL = nativeUrl;
13834
13903
  var global$1 = global$v;
@@ -14836,7 +14905,7 @@ if (NativeURL) {
14836
14905
  defineBuiltIn$1(URLConstructor, "revokeObjectURL", bind(nativeRevokeObjectURL, NativeURL));
14837
14906
  }
14838
14907
  setToStringTag$1(URLConstructor, "URL");
14839
- $$4({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
14908
+ $$3({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
14840
14909
  URL: URLConstructor
14841
14910
  });
14842
14911
  var accepted = function accepted2(_ref) {
@@ -14907,8 +14976,8 @@ var between = function between2(_ref7, from2, to) {
14907
14976
  var val = 1 * value;
14908
14977
  from2 = Number(from2);
14909
14978
  to = Number(to);
14910
- var [a4, b3] = from2 <= to ? [from2, to] : [to, from2];
14911
- return val >= 1 * a4 && val <= 1 * b3;
14979
+ var [a3, b2] = from2 <= to ? [from2, to] : [to, from2];
14980
+ return val >= 1 * a3 && val <= 1 * b2;
14912
14981
  }
14913
14982
  return false;
14914
14983
  };
@@ -15373,7 +15442,7 @@ function run(current, validations, node2, state, removeImmediately, complete) {
15373
15442
  if ((!empty(node2.value) || !validation.skipEmpty) && (state.isPassing || validation.force)) {
15374
15443
  if (validation.queued) {
15375
15444
  runRule(validation, node2, (result) => {
15376
- result instanceof Promise ? result.then((r2) => next3(true, r2)) : next3(false, result);
15445
+ result instanceof Promise ? result.then((r) => next3(true, r)) : next3(false, result);
15377
15446
  });
15378
15447
  } else {
15379
15448
  run(current + 1, validations, node2, state, removeImmediately, complete);
@@ -15576,7 +15645,7 @@ function date2(date3) {
15576
15645
  function order(first, second) {
15577
15646
  return Number(first) >= Number(second) ? [second, first] : [first, second];
15578
15647
  }
15579
- var ui$q = {
15648
+ var ui$s = {
15580
15649
  add: "Add",
15581
15650
  remove: "Remove",
15582
15651
  removeAll: "Remove all",
@@ -15584,104 +15653,104 @@ var ui$q = {
15584
15653
  submit: "Submit",
15585
15654
  noFiles: "No file chosen"
15586
15655
  };
15587
- var validation$q = {
15588
- accepted(_ref105) {
15656
+ var validation$s = {
15657
+ accepted(_ref126) {
15589
15658
  var {
15590
15659
  name
15591
- } = _ref105;
15660
+ } = _ref126;
15592
15661
  return "Please accept the ".concat(name, ".");
15593
15662
  },
15594
- date_after(_ref106) {
15663
+ date_after(_ref127) {
15595
15664
  var {
15596
15665
  name,
15597
15666
  args
15598
- } = _ref106;
15667
+ } = _ref127;
15599
15668
  if (Array.isArray(args) && args.length) {
15600
15669
  return "".concat(sentence(name), " must be after ").concat(date2(args[0]), ".");
15601
15670
  }
15602
15671
  return "".concat(sentence(name), " must be in the future.");
15603
15672
  },
15604
- alpha(_ref107) {
15673
+ alpha(_ref128) {
15605
15674
  var {
15606
15675
  name
15607
- } = _ref107;
15676
+ } = _ref128;
15608
15677
  return "".concat(sentence(name), " can only contain alphabetical characters.");
15609
15678
  },
15610
- alphanumeric(_ref108) {
15679
+ alphanumeric(_ref129) {
15611
15680
  var {
15612
15681
  name
15613
- } = _ref108;
15682
+ } = _ref129;
15614
15683
  return "".concat(sentence(name), " can only contain letters and numbers.");
15615
15684
  },
15616
- alpha_spaces(_ref109) {
15685
+ alpha_spaces(_ref130) {
15617
15686
  var {
15618
15687
  name
15619
- } = _ref109;
15688
+ } = _ref130;
15620
15689
  return "".concat(sentence(name), " can only contain letters and spaces.");
15621
15690
  },
15622
- date_before(_ref110) {
15691
+ date_before(_ref131) {
15623
15692
  var {
15624
15693
  name,
15625
15694
  args
15626
- } = _ref110;
15695
+ } = _ref131;
15627
15696
  if (Array.isArray(args) && args.length) {
15628
15697
  return "".concat(sentence(name), " must be before ").concat(date2(args[0]), ".");
15629
15698
  }
15630
15699
  return "".concat(sentence(name), " must be in the past.");
15631
15700
  },
15632
- between(_ref111) {
15701
+ between(_ref132) {
15633
15702
  var {
15634
15703
  name,
15635
15704
  args
15636
- } = _ref111;
15705
+ } = _ref132;
15637
15706
  if (isNaN(args[0]) || isNaN(args[1])) {
15638
15707
  return "This field was configured incorrectly and can\u2019t be submitted.";
15639
15708
  }
15640
- var [a4, b3] = order(args[0], args[1]);
15641
- return "".concat(sentence(name), " must be between ").concat(a4, " and ").concat(b3, ".");
15709
+ var [a3, b2] = order(args[0], args[1]);
15710
+ return "".concat(sentence(name), " must be between ").concat(a3, " and ").concat(b2, ".");
15642
15711
  },
15643
- confirm(_ref112) {
15712
+ confirm(_ref133) {
15644
15713
  var {
15645
15714
  name
15646
- } = _ref112;
15715
+ } = _ref133;
15647
15716
  return "".concat(sentence(name), " does not match.");
15648
15717
  },
15649
- date_format(_ref113) {
15718
+ date_format(_ref134) {
15650
15719
  var {
15651
15720
  name,
15652
15721
  args
15653
- } = _ref113;
15722
+ } = _ref134;
15654
15723
  if (Array.isArray(args) && args.length) {
15655
15724
  return "".concat(sentence(name), " is not a valid date, please use the format ").concat(args[0]);
15656
15725
  }
15657
15726
  return "This field was configured incorrectly and can\u2019t be submitted";
15658
15727
  },
15659
- date_between(_ref114) {
15728
+ date_between(_ref135) {
15660
15729
  var {
15661
15730
  name,
15662
15731
  args
15663
- } = _ref114;
15732
+ } = _ref135;
15664
15733
  return "".concat(sentence(name), " must be between ").concat(date2(args[0]), " and ").concat(date2(args[1]));
15665
15734
  },
15666
15735
  email: "Please enter a valid email address.",
15667
- ends_with(_ref115) {
15736
+ ends_with(_ref136) {
15668
15737
  var {
15669
15738
  name,
15670
15739
  args
15671
- } = _ref115;
15740
+ } = _ref136;
15672
15741
  return "".concat(sentence(name), " doesn\u2019t end with ").concat(list(args), ".");
15673
15742
  },
15674
- is(_ref116) {
15743
+ is(_ref137) {
15675
15744
  var {
15676
15745
  name
15677
- } = _ref116;
15746
+ } = _ref137;
15678
15747
  return "".concat(sentence(name), " is not an allowed value.");
15679
15748
  },
15680
- length(_ref117) {
15749
+ length(_ref138) {
15681
15750
  var {
15682
15751
  name,
15683
15752
  args: [first = 0, second = Infinity]
15684
- } = _ref117;
15753
+ } = _ref138;
15685
15754
  var min3 = Number(first) <= Number(second) ? first : second;
15686
15755
  var max3 = Number(second) >= Number(first) ? second : first;
15687
15756
  if (min3 == 1 && max3 === Infinity) {
@@ -15695,74 +15764,74 @@ var validation$q = {
15695
15764
  }
15696
15765
  return "".concat(sentence(name), " must be between ").concat(min3, " and ").concat(max3, " characters.");
15697
15766
  },
15698
- matches(_ref118) {
15767
+ matches(_ref139) {
15699
15768
  var {
15700
15769
  name
15701
- } = _ref118;
15770
+ } = _ref139;
15702
15771
  return "".concat(sentence(name), " is not an allowed value.");
15703
15772
  },
15704
- max(_ref119) {
15773
+ max(_ref140) {
15705
15774
  var {
15706
15775
  name,
15707
15776
  node: {
15708
15777
  value
15709
15778
  },
15710
15779
  args
15711
- } = _ref119;
15780
+ } = _ref140;
15712
15781
  if (Array.isArray(value)) {
15713
15782
  return "Cannot have more than ".concat(args[0], " ").concat(name, ".");
15714
15783
  }
15715
15784
  return "".concat(sentence(name), " must be less than or equal to ").concat(args[0], ".");
15716
15785
  },
15717
- mime(_ref120) {
15786
+ mime(_ref141) {
15718
15787
  var {
15719
15788
  name,
15720
15789
  args
15721
- } = _ref120;
15790
+ } = _ref141;
15722
15791
  if (!args[0]) {
15723
15792
  return "No file formats allowed.";
15724
15793
  }
15725
15794
  return "".concat(sentence(name), " must be of the type: ").concat(args[0]);
15726
15795
  },
15727
- min(_ref121) {
15796
+ min(_ref142) {
15728
15797
  var {
15729
15798
  name,
15730
15799
  node: {
15731
15800
  value
15732
15801
  },
15733
15802
  args
15734
- } = _ref121;
15803
+ } = _ref142;
15735
15804
  if (Array.isArray(value)) {
15736
15805
  return "Cannot have less than ".concat(args[0], " ").concat(name, ".");
15737
15806
  }
15738
15807
  return "".concat(sentence(name), " must be at least ").concat(args[0], ".");
15739
15808
  },
15740
- not(_ref122) {
15809
+ not(_ref143) {
15741
15810
  var {
15742
15811
  name,
15743
15812
  node: {
15744
15813
  value
15745
15814
  }
15746
- } = _ref122;
15815
+ } = _ref143;
15747
15816
  return "\u201C".concat(value, "\u201D is not an allowed ").concat(name, ".");
15748
15817
  },
15749
- number(_ref123) {
15818
+ number(_ref144) {
15750
15819
  var {
15751
15820
  name
15752
- } = _ref123;
15821
+ } = _ref144;
15753
15822
  return "".concat(sentence(name), " must be a number.");
15754
15823
  },
15755
- required(_ref124) {
15824
+ required(_ref145) {
15756
15825
  var {
15757
15826
  name
15758
- } = _ref124;
15827
+ } = _ref145;
15759
15828
  return "".concat(sentence(name), " is required.");
15760
15829
  },
15761
- starts_with(_ref125) {
15830
+ starts_with(_ref146) {
15762
15831
  var {
15763
15832
  name,
15764
15833
  args
15765
- } = _ref125;
15834
+ } = _ref146;
15766
15835
  return "".concat(sentence(name), " doesn\u2019t start with ").concat(list(args), ".");
15767
15836
  },
15768
15837
  url() {
@@ -15771,17 +15840,17 @@ var validation$q = {
15771
15840
  };
15772
15841
  var en = /* @__PURE__ */ Object.freeze({
15773
15842
  __proto__: null,
15774
- ui: ui$q,
15775
- validation: validation$q
15843
+ ui: ui$s,
15844
+ validation: validation$s
15776
15845
  });
15777
15846
  function createI18nPlugin(registry2) {
15778
15847
  return function i18nPlugin(node2) {
15779
15848
  var localeKey = parseLocale(node2.config.locale, registry2);
15780
15849
  var locale2 = localeKey ? registry2[localeKey] : {};
15781
- node2.on("prop:locale", (_ref672) => {
15850
+ node2.on("prop:locale", (_ref735) => {
15782
15851
  var {
15783
15852
  payload: lang
15784
- } = _ref672;
15853
+ } = _ref735;
15785
15854
  localeKey = parseLocale(lang, registry2);
15786
15855
  locale2 = localeKey ? registry2[localeKey] : {};
15787
15856
  node2.store.touch();
@@ -15792,11 +15861,11 @@ function createI18nPlugin(registry2) {
15792
15861
  var _a, _b;
15793
15862
  var key = ((_a = fragment2.meta) === null || _a === void 0 ? void 0 : _a.messageKey) || fragment2.key;
15794
15863
  if (has2(locale2, fragment2.type) && has2(locale2[fragment2.type], key)) {
15795
- var t3 = locale2[fragment2.type][key];
15796
- if (typeof t3 === "function") {
15797
- fragment2.value = Array.isArray((_b = fragment2.meta) === null || _b === void 0 ? void 0 : _b.i18nArgs) ? t3(...fragment2.meta.i18nArgs) : t3(fragment2);
15864
+ var t2 = locale2[fragment2.type][key];
15865
+ if (typeof t2 === "function") {
15866
+ fragment2.value = Array.isArray((_b = fragment2.meta) === null || _b === void 0 ? void 0 : _b.i18nArgs) ? t2(...fragment2.meta.i18nArgs) : t2(fragment2);
15798
15867
  } else {
15799
- fragment2.value = t3;
15868
+ fragment2.value = t2;
15800
15869
  }
15801
15870
  }
15802
15871
  return next3(fragment2);
@@ -15841,9 +15910,9 @@ var INCORRECT_TO_STRING$1 = fails$1(function() {
15841
15910
  return nativeErrorToString.call({ message: 1, name: 2 }) !== "2: 1" || nativeErrorToString.call({}) !== "Error";
15842
15911
  });
15843
15912
  var errorToString$1 = INCORRECT_TO_STRING$1 ? function toString5() {
15844
- var O3 = anObject$1(this);
15845
- var name = normalizeStringArgument$2(O3.name, "Error");
15846
- var message2 = normalizeStringArgument$2(O3.message);
15913
+ var O2 = anObject$1(this);
15914
+ var name = normalizeStringArgument$2(O2.name, "Error");
15915
+ var message2 = normalizeStringArgument$2(O2.message);
15847
15916
  return !name ? message2 : !message2 ? name : name + ": " + message2;
15848
15917
  } : nativeErrorToString;
15849
15918
  var domExceptionConstants = {
@@ -15873,7 +15942,7 @@ var domExceptionConstants = {
15873
15942
  InvalidNodeTypeError: { s: "INVALID_NODE_TYPE_ERR", c: 24, m: 1 },
15874
15943
  DataCloneError: { s: "DATA_CLONE_ERR", c: 25, m: 1 }
15875
15944
  };
15876
- var $$3 = _export;
15945
+ var $$2 = _export;
15877
15946
  var tryNodeRequire = tryNodeRequire$1;
15878
15947
  var getBuiltIn$2 = getBuiltIn$d;
15879
15948
  var fails = fails$y;
@@ -15960,7 +16029,7 @@ var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function() {
15960
16029
  });
15961
16030
  INCORRECT_CONSTRUCTOR || NativeDOMException$1[DATA_CLONE_ERR] !== 25 || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25;
15962
16031
  var FORCED_CONSTRUCTOR$1 = INCORRECT_CONSTRUCTOR;
15963
- $$3({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR$1 }, {
16032
+ $$2({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR$1 }, {
15964
16033
  DOMException: FORCED_CONSTRUCTOR$1 ? $DOMException$1 : NativeDOMException$1
15965
16034
  });
15966
16035
  var PolyfilledDOMException$1 = getBuiltIn$2(DOM_EXCEPTION$2);
@@ -15985,7 +16054,7 @@ for (var key$1 in DOMExceptionConstants$1)
15985
16054
  defineProperty$1(PolyfilledDOMExceptionPrototype$1, constantName$1, descriptor);
15986
16055
  }
15987
16056
  }
15988
- var $$2 = _export;
16057
+ var $$1 = _export;
15989
16058
  var getBuiltIn$1 = getBuiltIn$d;
15990
16059
  var createPropertyDescriptor = createPropertyDescriptor$9;
15991
16060
  var defineProperty3 = objectDefineProperty.f;
@@ -16014,7 +16083,7 @@ var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototy
16014
16083
  var ERROR_HAS_STACK = "stack" in Error$1(DOM_EXCEPTION$1);
16015
16084
  var DOM_EXCEPTION_HAS_STACK = "stack" in new NativeDOMException(1, 2);
16016
16085
  var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !DOM_EXCEPTION_HAS_STACK;
16017
- $$2({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, {
16086
+ $$1({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, {
16018
16087
  DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException
16019
16088
  });
16020
16089
  var PolyfilledDOMException = getBuiltIn$1(DOM_EXCEPTION$1);
@@ -16059,10 +16128,14 @@ function generateClasses(classes) {
16059
16128
  }
16060
16129
  function addClassesBySection(node2, _sectionKey, classesByType) {
16061
16130
  var type = node2.props.type;
16131
+ var family = node2.props.family;
16062
16132
  var classList2 = "";
16063
16133
  if (classesByType.global) {
16064
16134
  classList2 += classesByType.global + " ";
16065
16135
  }
16136
+ if (classesByType["family:".concat(family)]) {
16137
+ classList2 += classesByType["family:".concat(family)] + " ";
16138
+ }
16066
16139
  if (classesByType[type]) {
16067
16140
  classList2 += classesByType[type];
16068
16141
  }
@@ -16111,8 +16184,8 @@ function createThemePlugin(theme2, icons, iconLoaderUrl, iconLoader) {
16111
16184
  var clickHandlerProp = "on".concat(sectionKey.charAt(0).toUpperCase()).concat(sectionKey.slice(1), "IconClick");
16112
16185
  var handlerFunction = node2.props[clickHandlerProp];
16113
16186
  if (handlerFunction && typeof handlerFunction === "function") {
16114
- return (e3) => {
16115
- return handlerFunction(node2, e3);
16187
+ return (e2) => {
16188
+ return handlerFunction(node2, e2);
16116
16189
  };
16117
16190
  }
16118
16191
  return void 0;
@@ -16215,8 +16288,8 @@ function getRemoteIcon(iconName, iconLoaderUrl) {
16215
16288
  if (!isClient)
16216
16289
  return void 0;
16217
16290
  return fetch("".concat(fetchUrl)).then(/* @__PURE__ */ function() {
16218
- var _ref = _asyncToGenerator(function* (r2) {
16219
- var icon2 = yield r2.text();
16291
+ var _ref = _asyncToGenerator(function* (r) {
16292
+ var icon2 = yield r.text();
16220
16293
  if (icon2.startsWith("<svg")) {
16221
16294
  return icon2;
16222
16295
  }
@@ -16225,8 +16298,8 @@ function getRemoteIcon(iconName, iconLoaderUrl) {
16225
16298
  return function(_x) {
16226
16299
  return _ref.apply(this, arguments);
16227
16300
  };
16228
- }()).catch((e3) => {
16229
- console.error(e3);
16301
+ }()).catch((e2) => {
16302
+ console.error(e2);
16230
16303
  return void 0;
16231
16304
  });
16232
16305
  }
@@ -16477,25 +16550,25 @@ function parseSchema(library, schema) {
16477
16550
  function parseConditionAttr(attr, _default2) {
16478
16551
  var _a, _b;
16479
16552
  var condition = provider(compile(attr.if));
16480
- var b3 = () => _default2;
16481
- var a4 = () => _default2;
16553
+ var b2 = () => _default2;
16554
+ var a3 = () => _default2;
16482
16555
  if (typeof attr.then === "object") {
16483
- a4 = parseAttrs(attr.then, void 0);
16556
+ a3 = parseAttrs(attr.then, void 0);
16484
16557
  } else if (typeof attr.then === "string" && ((_a = attr.then) === null || _a === void 0 ? void 0 : _a.startsWith("$"))) {
16485
- a4 = provider(compile(attr.then));
16558
+ a3 = provider(compile(attr.then));
16486
16559
  } else {
16487
- a4 = () => attr.then;
16560
+ a3 = () => attr.then;
16488
16561
  }
16489
16562
  if (has2(attr, "else")) {
16490
16563
  if (typeof attr.else === "object") {
16491
- b3 = parseAttrs(attr.else);
16564
+ b2 = parseAttrs(attr.else);
16492
16565
  } else if (typeof attr.else === "string" && ((_b = attr.else) === null || _b === void 0 ? void 0 : _b.startsWith("$"))) {
16493
- b3 = provider(compile(attr.else));
16566
+ b2 = provider(compile(attr.else));
16494
16567
  } else {
16495
- b3 = () => attr.else;
16568
+ b2 = () => attr.else;
16496
16569
  }
16497
16570
  }
16498
- return () => condition() ? a4() : b3();
16571
+ return () => condition() ? a3() : b2();
16499
16572
  }
16500
16573
  function parseAttrs(unparsedAttrs, bindExp) {
16501
16574
  var _default2 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -16540,7 +16613,7 @@ function parseSchema(library, schema) {
16540
16613
  }
16541
16614
  }
16542
16615
  return () => {
16543
- var attrs = {};
16616
+ var attrs = Array.isArray(unparsedAttrs) ? [] : {};
16544
16617
  setters.forEach((setter) => setter(attrs));
16545
16618
  return attrs;
16546
16619
  };
@@ -16591,8 +16664,8 @@ function parseSchema(library, schema) {
16591
16664
  } else if (Array.isArray(node2.children)) {
16592
16665
  children = createElements(library2, node2.children);
16593
16666
  } else {
16594
- var [childCondition, c3, a4] = parseCondition2(library2, node2.children);
16595
- children = (iterationData) => childCondition && childCondition() ? c3 && c3(iterationData) : a4 && a4(iterationData);
16667
+ var [childCondition, c2, a3] = parseCondition2(library2, node2.children);
16668
+ children = (iterationData) => childCondition && childCondition() ? c2 && c2(iterationData) : a3 && a3(iterationData);
16596
16669
  }
16597
16670
  }
16598
16671
  if (isComponent$1(node2)) {
@@ -16609,13 +16682,13 @@ function parseSchema(library, schema) {
16609
16682
  (_a = instanceScopes.get(instanceKey)) === null || _a === void 0 ? void 0 : _a.unshift(slotData2);
16610
16683
  if (iterationData)
16611
16684
  (_b = instanceScopes.get(instanceKey)) === null || _b === void 0 ? void 0 : _b.unshift(iterationData);
16612
- var c4 = produceChildren(iterationData);
16685
+ var c3 = produceChildren(iterationData);
16613
16686
  if (slotData2)
16614
16687
  (_c = instanceScopes.get(instanceKey)) === null || _c === void 0 ? void 0 : _c.shift();
16615
16688
  if (iterationData)
16616
16689
  (_d = instanceScopes.get(instanceKey)) === null || _d === void 0 ? void 0 : _d.shift();
16617
16690
  instanceKey = currentKey;
16618
- return c4;
16691
+ return c3;
16619
16692
  }
16620
16693
  };
16621
16694
  };
@@ -16656,7 +16729,7 @@ function parseSchema(library, schema) {
16656
16729
  return children(iterationData);
16657
16730
  var el = resolve3 ? resolveComponent(element) : element;
16658
16731
  var slots = (children === null || children === void 0 ? void 0 : children.slot) ? createSlots(children, iterationData) : null;
16659
- return h$1(el, attrs(), slots || (children ? children(iterationData) : []));
16732
+ return h(el, attrs(), slots || (children ? children(iterationData) : []));
16660
16733
  }
16661
16734
  return typeof alternate === "function" ? alternate(iterationData) : alternate;
16662
16735
  };
@@ -16769,7 +16842,7 @@ function createRenderFn(instanceCreator, data2, instanceKey2) {
16769
16842
  }, {});
16770
16843
  }, instanceKey2);
16771
16844
  }
16772
- var i$3 = 0;
16845
+ var i = 0;
16773
16846
  var FormKitSchema = defineComponent({
16774
16847
  name: "FormKitSchema",
16775
16848
  props: {
@@ -16788,14 +16861,14 @@ var FormKitSchema = defineComponent({
16788
16861
  },
16789
16862
  setup(props2, context) {
16790
16863
  var instance = getCurrentInstance();
16791
- var instanceKey2 = Symbol(String(i$3++));
16864
+ var instanceKey2 = Symbol(String(i++));
16792
16865
  instanceScopes.set(instanceKey2, []);
16793
16866
  var provider = parseSchema(props2.library, props2.schema);
16794
16867
  var render2;
16795
16868
  var data2;
16796
16869
  watch$1(() => props2.schema, (newSchema, oldSchema) => {
16797
16870
  var _a;
16798
- instanceKey2 = Symbol(String(i$3++));
16871
+ instanceKey2 = Symbol(String(i++));
16799
16872
  provider = parseSchema(props2.library, props2.schema);
16800
16873
  render2 = createRenderFn(provider, data2, instanceKey2);
16801
16874
  if (newSchema === oldSchema) {
@@ -16892,7 +16965,8 @@ var FormKit = defineComponent({
16892
16965
  "update:modelValue": (_value) => true,
16893
16966
  node: (_node2) => !!_node2,
16894
16967
  submit: (_data, _node) => true,
16895
- submitRaw: (_event, _node) => true
16968
+ submitRaw: (_event, _node) => true,
16969
+ submitInvalid: (_node) => true
16896
16970
  },
16897
16971
  inheritAttrs: false,
16898
16972
  setup(props2, context) {
@@ -16902,7 +16976,7 @@ var FormKit = defineComponent({
16902
16976
  if (node2.props.definition.component) {
16903
16977
  return () => {
16904
16978
  var _a;
16905
- return h$1((_a = node2.props.definition) === null || _a === void 0 ? void 0 : _a.component, {
16979
+ return h((_a = node2.props.definition) === null || _a === void 0 ? void 0 : _a.component, {
16906
16980
  context: node2.context
16907
16981
  }, _objectSpread2({}, context.slots));
16908
16982
  };
@@ -16922,7 +16996,7 @@ var FormKit = defineComponent({
16922
16996
  context.expose({
16923
16997
  node: node2
16924
16998
  });
16925
- return () => h$1(FormKitSchema, {
16999
+ return () => h(FormKitSchema, {
16926
17000
  schema: schema.value,
16927
17001
  data: node2.context,
16928
17002
  library
@@ -17083,7 +17157,7 @@ function classesToNodeProps(node2, props2) {
17083
17157
  function onlyListeners(props2) {
17084
17158
  if (!props2)
17085
17159
  return {};
17086
- var knownListeners = ["Submit", "SubmitRaw"].reduce((listeners, listener2) => {
17160
+ var knownListeners = ["Submit", "SubmitRaw", "SubmitInvalid"].reduce((listeners, listener2) => {
17087
17161
  var name = "on".concat(listener2);
17088
17162
  if (name in props2) {
17089
17163
  if (typeof props2[name] === "function") {
@@ -17287,9 +17361,9 @@ function createInput(schemaOrComponent) {
17287
17361
  return definition;
17288
17362
  }
17289
17363
  var vueBindings = function vueBindings2(node2) {
17290
- node2.ledger.count("blocking", (m4) => m4.blocking);
17364
+ node2.ledger.count("blocking", (m3) => m3.blocking);
17291
17365
  var isValid2 = ref(!node2.ledger.value("blocking"));
17292
- node2.ledger.count("errors", (m4) => m4.type === "error");
17366
+ node2.ledger.count("errors", (m3) => m3.type === "error");
17293
17367
  var hasErrors = ref(!!node2.ledger.value("errors"));
17294
17368
  var hasTicked = false;
17295
17369
  nextTick(() => {
@@ -17400,14 +17474,14 @@ var vueBindings = function vueBindings2(node2) {
17400
17474
  eq
17401
17475
  },
17402
17476
  handlers: {
17403
- blur: (e3) => {
17477
+ blur: (e2) => {
17404
17478
  node2.store.set(createMessage({
17405
17479
  key: "blurred",
17406
17480
  visible: false,
17407
17481
  value: true
17408
17482
  }));
17409
17483
  if (typeof node2.props.attrs.onBlur === "function") {
17410
- node2.props.attrs.onBlur(e3);
17484
+ node2.props.attrs.onBlur(e2);
17411
17485
  }
17412
17486
  },
17413
17487
  touch: () => {
@@ -17417,9 +17491,9 @@ var vueBindings = function vueBindings2(node2) {
17417
17491
  value: true
17418
17492
  }));
17419
17493
  },
17420
- DOMInput: (e3) => {
17421
- node2.input(e3.target.value);
17422
- node2.emit("dom-input-event", e3);
17494
+ DOMInput: (e2) => {
17495
+ node2.input(e2.target.value);
17496
+ node2.emit("dom-input-event", e2);
17423
17497
  }
17424
17498
  },
17425
17499
  help: node2.props.help,
@@ -17440,6 +17514,7 @@ var vueBindings = function vueBindings2(node2) {
17440
17514
  validationVisible
17441
17515
  },
17442
17516
  type: node2.props.type,
17517
+ family: node2.props.family,
17443
17518
  ui,
17444
17519
  value,
17445
17520
  classes
@@ -17451,6 +17526,7 @@ var vueBindings = function vueBindings2(node2) {
17451
17526
  triggerRef(value);
17452
17527
  triggerRef(_value);
17453
17528
  }
17529
+ node2.props._init = cloneAny(node2.value);
17454
17530
  });
17455
17531
  node2.on("settled", (_ref5) => {
17456
17532
  var {
@@ -17506,7 +17582,7 @@ var vueBindings = function vueBindings2(node2) {
17506
17582
  value.value = _value.value = payload;
17507
17583
  triggerRef(value);
17508
17584
  node2.emit("modelUpdated");
17509
- if (!context.state.dirty && node2.isCreated && hasTicked)
17585
+ if (!context.state.dirty && node2.isCreated && hasTicked && !eq(value.value, node2.props._init))
17510
17586
  context.handlers.touch();
17511
17587
  if (isComplete && node2.type === "input" && hasErrors.value && !undefine(node2.props.preserveErrors)) {
17512
17588
  node2.store.filter((message2) => {
@@ -17529,8 +17605,8 @@ var vueBindings = function vueBindings2(node2) {
17529
17605
  return _ref10.apply(this, arguments);
17530
17606
  };
17531
17607
  }();
17532
- node2.on("message-added", (e3) => updateState(e3.payload));
17533
- node2.on("message-updated", (e3) => updateState(e3.payload));
17608
+ node2.on("message-added", (e2) => updateState(e2.payload));
17609
+ node2.on("message-updated", (e2) => updateState(e2.payload));
17534
17610
  node2.on("message-removed", (_ref11) => {
17535
17611
  var {
17536
17612
  payload: message2
@@ -17587,6 +17663,7 @@ var defaultConfig = function defaultConfig2() {
17587
17663
  }), nodeOptions || {}, true);
17588
17664
  };
17589
17665
  defineComponent({
17666
+ name: "FormKitIcon",
17590
17667
  props: {
17591
17668
  icon: {
17592
17669
  type: String,
@@ -17633,7 +17710,7 @@ defineComponent({
17633
17710
  }
17634
17711
  return () => {
17635
17712
  if (icon2.value) {
17636
- return h$1("span", {
17713
+ return h("span", {
17637
17714
  class: "formkit-icon",
17638
17715
  innerHTML: icon2.value
17639
17716
  });
@@ -17702,217 +17779,8 @@ plugin((_ref) => {
17702
17779
  addVariant("formkit-message-validation", ['[data-message-type="validation"] &', '[data-message-type="validation"]&']);
17703
17780
  addVariant("formkit-message-error", ['[data-message-type="error"] &', '[data-message-type="error"]&']);
17704
17781
  });
17705
- var e = "undefined", o$1 = "object", g$1 = "any", m = "*", j = "__", F$1 = typeof process != "undefined" ? process : {};
17706
- F$1.env && F$1.env.NODE_ENV || "";
17707
- var $$1 = typeof window != "undefined";
17708
- F$1.versions != null && F$1.versions.node != null;
17709
- typeof Deno != "undefined" && Deno.core !== void 0;
17710
- $$1 && window.name === "nodejs" || typeof navigator != "undefined" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
17711
- function M(n2, t3) {
17712
- return t3.charAt(0)[n2]() + t3.slice(1);
17713
- }
17714
- var U = M.bind(null, "toUpperCase"), H = M.bind(null, "toLowerCase");
17715
- function J(n2) {
17716
- return Y(n2) ? U("null") : typeof n2 == "object" ? yn(n2) : Object.prototype.toString.call(n2).slice(8, -1);
17717
- }
17718
- function R(n2, t3) {
17719
- t3 === void 0 && (t3 = true);
17720
- var e3 = J(n2);
17721
- return t3 ? H(e3) : e3;
17722
- }
17723
- function V(n2, t3) {
17724
- return typeof t3 === n2;
17725
- }
17726
- var W = V.bind(null, "function"), q = V.bind(null, "string"), I$1 = V.bind(null, "undefined");
17727
- V.bind(null, "boolean");
17728
- V.bind(null, "symbol");
17729
- function Y(n2) {
17730
- return n2 === null;
17731
- }
17732
- function nn(n2) {
17733
- return R(n2) === "number" && !isNaN(n2);
17734
- }
17735
- function on(n2) {
17736
- if (!un(n2))
17737
- return false;
17738
- for (var t3 = n2; Object.getPrototypeOf(t3) !== null; ) {
17739
- t3 = Object.getPrototypeOf(t3);
17740
- }
17741
- return Object.getPrototypeOf(n2) === t3;
17742
- }
17743
- function un(n2) {
17744
- return n2 && (typeof n2 == "object" || n2 !== null);
17745
- }
17746
- function yn(n2) {
17747
- return W(n2.constructor) ? n2.constructor.name : null;
17748
- }
17749
- function hn(n2) {
17750
- return n2 instanceof Error || q(n2.message) && n2.constructor && nn(n2.constructor.stackTraceLimit);
17751
- }
17752
- function On(n2, t3) {
17753
- if (typeof t3 != "object" || Y(t3))
17754
- return false;
17755
- if (t3 instanceof n2)
17756
- return true;
17757
- var e3 = R(new n2(""));
17758
- if (hn(t3))
17759
- for (; t3; ) {
17760
- if (R(t3) === e3)
17761
- return true;
17762
- t3 = Object.getPrototypeOf(t3);
17763
- }
17764
- return false;
17765
- }
17766
- On.bind(null, TypeError);
17767
- On.bind(null, SyntaxError);
17768
- function $n(n2, t3) {
17769
- var e3 = n2 instanceof Element || n2 instanceof HTMLDocument;
17770
- return e3 && t3 ? Tn(n2, t3) : e3;
17771
- }
17772
- function Tn(n2, t3) {
17773
- return t3 === void 0 && (t3 = ""), n2 && n2.nodeName === t3.toUpperCase();
17774
- }
17775
- function _n(n2) {
17776
- var t3 = [].slice.call(arguments, 1);
17777
- return function() {
17778
- return n2.apply(void 0, [].slice.call(arguments).concat(t3));
17779
- };
17780
- }
17781
- _n($n, "form");
17782
- _n($n, "button");
17783
- _n($n, "input");
17784
- _n($n, "select");
17785
- var l = "global", o = j + "global" + j, n = typeof self === o$1 && self.self === self && self || typeof global === o$1 && global.global === global && global || void 0;
17786
- function a$2(t3) {
17787
- return n[o][t3];
17788
- }
17789
- function f(t3, e3) {
17790
- return n[o][t3] = e3;
17791
- }
17792
- function i$2(t3) {
17793
- delete n[o][t3];
17794
- }
17795
- function u$1(t3, e3, r2) {
17796
- var l2;
17797
- try {
17798
- if (b(t3)) {
17799
- var o2 = window[t3];
17800
- l2 = o2[e3].bind(o2);
17801
- }
17802
- } catch (t4) {
17803
- }
17804
- return l2 || r2;
17805
- }
17806
- n[o] || (n[o] = {});
17807
- var c$1 = {};
17808
- function b(t3) {
17809
- if (typeof c$1[t3] !== e)
17810
- return c$1[t3];
17811
- try {
17812
- var e$1 = window[t3];
17813
- e$1.setItem(e, e), e$1.removeItem(e);
17814
- } catch (e3) {
17815
- return c$1[t3] = false;
17816
- }
17817
- return c$1[t3] = true;
17818
- }
17819
- var t = "cookie", i$1 = a$1(), r$1 = d$1, c = d$1;
17820
- function u(o2) {
17821
- return i$1 ? d$1(o2, "", -1) : i$2(o2);
17822
- }
17823
- function a$1() {
17824
- if (i$1 !== void 0)
17825
- return i$1;
17826
- var e3 = "cookiecookie";
17827
- try {
17828
- d$1(e3, e3), i$1 = document.cookie.indexOf(e3) !== -1, u(e3);
17829
- } catch (e4) {
17830
- i$1 = false;
17831
- }
17832
- return i$1;
17833
- }
17834
- function d$1(e3, t3, r2, c3, u3, a4) {
17835
- if (typeof window != "undefined") {
17836
- var d4 = arguments.length > 1;
17837
- return i$1 === false && (d4 ? f(e3, t3) : a$2(e3)), d4 ? document.cookie = e3 + "=" + encodeURIComponent(t3) + (r2 ? "; expires=" + new Date(+new Date() + 1e3 * r2).toUTCString() + (c3 ? "; path=" + c3 : "") + (u3 ? "; domain=" + u3 : "") + (a4 ? "; secure" : "") : "") : decodeURIComponent((("; " + document.cookie).split("; " + e3 + "=")[1] || "").split(";")[0]);
17838
- }
17839
- }
17840
- var r = "localStorage", g = b.bind(null, "localStorage");
17841
- u$1("localStorage", "getItem", a$2);
17842
- u$1("localStorage", "setItem", f);
17843
- u$1("localStorage", "removeItem", i$2);
17844
- var a = "sessionStorage", i = b.bind(null, "sessionStorage");
17845
- u$1("sessionStorage", "getItem", a$2);
17846
- u$1("sessionStorage", "setItem", f);
17847
- u$1("sessionStorage", "removeItem", i$2);
17848
- function I(t3) {
17849
- var o2 = t3;
17850
- try {
17851
- if ((o2 = JSON.parse(t3)) === "true")
17852
- return true;
17853
- if (o2 === "false")
17854
- return false;
17855
- if (on(o2))
17856
- return o2;
17857
- parseFloat(o2) === o2 && (o2 = parseFloat(o2));
17858
- } catch (t4) {
17859
- }
17860
- if (o2 !== null && o2 !== "")
17861
- return o2;
17862
- }
17863
- var k = g(), O = i(), x = a$1();
17864
- function C(o2, e3) {
17865
- if (o2) {
17866
- var r2 = A(e3), a4 = !N(r2), i3 = d(r2) ? I(localStorage.getItem(o2)) : void 0;
17867
- if (a4 && !I$1(i3))
17868
- return i3;
17869
- var n2 = h(r2) ? I(r$1(o2)) : void 0;
17870
- if (a4 && n2)
17871
- return n2;
17872
- var l2 = E(r2) ? I(sessionStorage.getItem(o2)) : void 0;
17873
- if (a4 && l2)
17874
- return l2;
17875
- var u3 = a$2(o2);
17876
- return a4 ? u3 : {
17877
- localStorage: i3,
17878
- sessionStorage: l2,
17879
- cookie: n2,
17880
- global: u3
17881
- };
17882
- }
17883
- }
17884
- function L(r$2, a$12, l$1) {
17885
- if (r$2 && !I$1(a$12)) {
17886
- var u3 = {}, g2 = A(l$1), m4 = JSON.stringify(a$12), S3 = !N(g2);
17887
- return d(g2) && (u3[r] = F(r, a$12, I(localStorage.getItem(r$2))), localStorage.setItem(r$2, m4), S3) ? u3[r] : h(g2) && (u3[t] = F(t, a$12, I(r$1(r$2))), c(r$2, m4), S3) ? u3[t] : E(g2) && (u3[a] = F(a, a$12, I(sessionStorage.getItem(r$2))), sessionStorage.setItem(r$2, m4), S3) ? u3[a] : (u3[l] = F(l, a$12, a$2(r$2)), f(r$2, a$12), S3 ? u3[l] : u3);
17888
- }
17889
- }
17890
- function A(t3) {
17891
- return t3 ? q(t3) ? t3 : t3.storage : g$1;
17892
- }
17893
- function d(t3) {
17894
- return k && G(t3, r);
17895
- }
17896
- function h(t$1) {
17897
- return x && G(t$1, t);
17898
- }
17899
- function E(t3) {
17900
- return O && G(t3, a);
17901
- }
17902
- function N(t3) {
17903
- return t3 === m || t3 === "all";
17904
- }
17905
- function G(t3, o2) {
17906
- return t3 === g$1 || t3 === o2 || N(t3);
17907
- }
17908
- function F(t3, o2, e3) {
17909
- return {
17910
- location: t3,
17911
- current: o2,
17912
- previous: e3
17913
- };
17914
- }
17915
- var EXPERIMENT_KEY = "__form_experiments";
17782
+ var EXPERIMENT_PREFIX = "_form_experiments_";
17783
+ var DEFAULT_TTL_SECS = 60 * 60 * 24 * 30;
17916
17784
  var urlParams = new URLSearchParams(window.location.search);
17917
17785
  var DEBUG = urlParams.get("fdbg");
17918
17786
  function dbg() {
@@ -17929,17 +17797,33 @@ function rollbar(type, msg) {
17929
17797
  }
17930
17798
  }
17931
17799
  }
17800
+ function cookie(name, value, ttl, path, samesite, secure, domain) {
17801
+ name = name.replace(/\s/g, "_");
17802
+ var isSet2 = arguments.length > 1;
17803
+ try {
17804
+ if (isSet2) {
17805
+ return document.cookie = name + "=" + encodeURIComponent(value) + (!ttl ? "" : "; expires=" + new Date(+new Date() + ttl * 1e3).toUTCString() + (!path ? "" : "; path=" + path) + (!samesite ? "" : "; SameSite=" + samesite) + (!domain ? "" : "; domain=" + domain) + (!secure ? "" : "; secure"));
17806
+ }
17807
+ return decodeURIComponent((("; " + document.cookie).split("; " + name + "=")[1] || "").split(";")[0]);
17808
+ } catch (e2) {
17809
+ console.warn("cookies unsupported");
17810
+ return null;
17811
+ }
17812
+ }
17932
17813
  function chooseVariant(exp) {
17933
- var variant = null, active = {}, fromCache = false;
17934
- active = C(EXPERIMENT_KEY) || {};
17935
- if (!exp.noCache && active && active[exp.name]) {
17936
- variant = active[exp.name];
17814
+ var variant = null, fromCache = false;
17815
+ if (!exp.noCache) {
17816
+ var cookieVal = cookie(EXPERIMENT_PREFIX + exp.name);
17817
+ variant = cookieVal ? JSON.parse(cookieVal) : null;
17818
+ }
17819
+ if (variant && variant.name) {
17937
17820
  fromCache = true;
17938
17821
  } else {
17939
- var vs = exp.variants;
17940
- variant = vs[Math.floor(Math.random() * vs.length)];
17941
- active[exp.name] = variant;
17942
- L(EXPERIMENT_KEY, active);
17822
+ variant = exp.variants[Math.floor(Math.random() * exp.variants.length)];
17823
+ var ttl = DEFAULT_TTL_SECS;
17824
+ var path = "/";
17825
+ var samesite = "Strict";
17826
+ cookie(EXPERIMENT_PREFIX + exp.name, JSON.stringify(variant), ttl, path, samesite);
17943
17827
  }
17944
17828
  dbg("Chose variant:", variant, "fromCache:", fromCache);
17945
17829
  return {
@@ -17979,12 +17863,8 @@ var flattenObj = (obj) => {
17979
17863
  function prepData(formData) {
17980
17864
  var props2 = flattenObj(formData);
17981
17865
  props2.vid = "";
17982
- props2.sid = "";
17983
- props2.cid = "";
17984
17866
  if (typeof window.zar !== "undefined") {
17985
17867
  props2.vid = window.zar.getVID();
17986
- props2.sid = window.zar.getSID();
17987
- props2.cid = window.zar.getCID();
17988
17868
  }
17989
17869
  var data2 = {
17990
17870
  post_source: window.location.hostname,
@@ -18017,14 +17897,20 @@ var fireStepEvent = (formNode) => (stepResult, stepHistory2, stepQueue2) => {
18017
17897
  if (!stepResult) {
18018
17898
  return;
18019
17899
  }
18020
- scrollAnchor(formNode)();
18021
17900
  var step_values = null;
18022
- if (stepHistory2.value.length > 0) {
18023
- step_values = flattenObj(formNode.value[stepHistory2.value[stepHistory2.value.length - 1]] || {});
17901
+ try {
17902
+ scrollAnchor(formNode)();
17903
+ if (stepHistory2.value.length > 0) {
17904
+ step_values = flattenObj(formNode.value[stepHistory2.value[stepHistory2.value.length - 1]] || {});
17905
+ }
17906
+ } catch (err) {
17907
+ var msg = "failed to prep fireStepEvent: " + err.toString();
17908
+ console.warn(msg);
17909
+ rollbar("warning", msg);
18024
17910
  }
18025
- var form_id = formNode.attrs.formId || window.location.hostname + "-" + formNode.id;
18026
17911
  if (typeof window._analytics !== "undefined") {
18027
17912
  try {
17913
+ var form_id = formNode.attrs.formId || window.location.hostname + "-" + formNode.id;
18028
17914
  var body = {
18029
17915
  "form_source": "formkit",
18030
17916
  "form_id": form_id,
@@ -18039,9 +17925,9 @@ var fireStepEvent = (formNode) => (stepResult, stepHistory2, stepQueue2) => {
18039
17925
  }
18040
17926
  });
18041
17927
  } catch (err) {
18042
- var msg = "failed to fire step event: " + err.toString();
18043
- console.warn(msg);
18044
- rollbar("warning", msg);
17928
+ var _msg = "failed to fire step event: " + err.toString();
17929
+ console.warn(_msg);
17930
+ rollbar("warning", _msg);
18045
17931
  }
18046
17932
  }
18047
17933
  };
@@ -18124,8 +18010,8 @@ var createProperty = createProperty$3;
18124
18010
  $({ target: "Object", stat: true }, {
18125
18011
  fromEntries: function fromEntries(iterable) {
18126
18012
  var obj = {};
18127
- iterate(iterable, function(k3, v) {
18128
- createProperty(obj, k3, v);
18013
+ iterate(iterable, function(k2, v) {
18014
+ createProperty(obj, k2, v);
18129
18015
  }, { AS_ENTRIES: true });
18130
18016
  return obj;
18131
18017
  }
@@ -18136,12 +18022,12 @@ if (!Object.fromEntries) {
18136
18022
  if (!entries2 || !entries2[Symbol.iterator]) {
18137
18023
  throw new Error("Object.fromEntries() requires a single iterable argument");
18138
18024
  }
18139
- var o2 = {};
18025
+ var o = {};
18140
18026
  Object.keys(entries2).forEach((key) => {
18141
- var [k3, v] = entries2[key];
18142
- o2[k3] = v;
18027
+ var [k2, v] = entries2[key];
18028
+ o[k2] = v;
18143
18029
  });
18144
- return o2;
18030
+ return o;
18145
18031
  }
18146
18032
  });
18147
18033
  }
@@ -18990,14 +18876,14 @@ var formatters$2 = {
18990
18876
  var year = signedYear > 0 ? signedYear : 1 - signedYear;
18991
18877
  return addLeadingZeros(token2 === "yy" ? year % 100 : year, token2.length);
18992
18878
  },
18993
- M: function M2(date3, token2) {
18879
+ M: function M(date3, token2) {
18994
18880
  var month = date3.getUTCMonth();
18995
18881
  return token2 === "M" ? String(month + 1) : addLeadingZeros(month + 1, 2);
18996
18882
  },
18997
- d: function d2(date3, token2) {
18883
+ d: function d(date3, token2) {
18998
18884
  return addLeadingZeros(date3.getUTCDate(), token2.length);
18999
18885
  },
19000
- a: function a2(date3, token2) {
18886
+ a: function a(date3, token2) {
19001
18887
  var dayPeriodEnumValue = date3.getUTCHours() / 12 >= 1 ? "pm" : "am";
19002
18888
  switch (token2) {
19003
18889
  case "a":
@@ -19015,10 +18901,10 @@ var formatters$2 = {
19015
18901
  h: function h2(date3, token2) {
19016
18902
  return addLeadingZeros(date3.getUTCHours() % 12 || 12, token2.length);
19017
18903
  },
19018
- H: function H2(date3, token2) {
18904
+ H: function H(date3, token2) {
19019
18905
  return addLeadingZeros(date3.getUTCHours(), token2.length);
19020
18906
  },
19021
- m: function m2(date3, token2) {
18907
+ m: function m(date3, token2) {
19022
18908
  return addLeadingZeros(date3.getUTCMinutes(), token2.length);
19023
18909
  },
19024
18910
  s: function s(date3, token2) {
@@ -19043,7 +18929,7 @@ var dayPeriodEnum = {
19043
18929
  night: "night"
19044
18930
  };
19045
18931
  var formatters = {
19046
- G: function G2(date3, token2, localize2) {
18932
+ G: function G(date3, token2, localize2) {
19047
18933
  var era = date3.getUTCFullYear() > 0 ? 1 : 0;
19048
18934
  switch (token2) {
19049
18935
  case "G":
@@ -19073,7 +18959,7 @@ var formatters = {
19073
18959
  }
19074
18960
  return formatters$3.y(date3, token2);
19075
18961
  },
19076
- Y: function Y2(date3, token2, localize2, options2) {
18962
+ Y: function Y(date3, token2, localize2, options2) {
19077
18963
  var signedWeekYear = getUTCWeekYear(date3, options2);
19078
18964
  var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;
19079
18965
  if (token2 === "YY") {
@@ -19087,11 +18973,11 @@ var formatters = {
19087
18973
  }
19088
18974
  return addLeadingZeros(weekYear, token2.length);
19089
18975
  },
19090
- R: function R2(date3, token2) {
18976
+ R: function R(date3, token2) {
19091
18977
  var isoWeekYear = getUTCISOWeekYear(date3);
19092
18978
  return addLeadingZeros(isoWeekYear, token2.length);
19093
18979
  },
19094
- u: function u2(date3, token2) {
18980
+ u: function u(date3, token2) {
19095
18981
  var year = date3.getUTCFullYear();
19096
18982
  return addLeadingZeros(year, token2.length);
19097
18983
  },
@@ -19124,7 +19010,7 @@ var formatters = {
19124
19010
  });
19125
19011
  }
19126
19012
  },
19127
- q: function q2(date3, token2, localize2) {
19013
+ q: function q(date3, token2, localize2) {
19128
19014
  var quarter = Math.ceil((date3.getUTCMonth() + 1) / 3);
19129
19015
  switch (token2) {
19130
19016
  case "q":
@@ -19153,7 +19039,7 @@ var formatters = {
19153
19039
  });
19154
19040
  }
19155
19041
  },
19156
- M: function M3(date3, token2, localize2) {
19042
+ M: function M2(date3, token2, localize2) {
19157
19043
  var month = date3.getUTCMonth();
19158
19044
  switch (token2) {
19159
19045
  case "M":
@@ -19181,7 +19067,7 @@ var formatters = {
19181
19067
  });
19182
19068
  }
19183
19069
  },
19184
- L: function L2(date3, token2, localize2) {
19070
+ L: function L(date3, token2, localize2) {
19185
19071
  var month = date3.getUTCMonth();
19186
19072
  switch (token2) {
19187
19073
  case "L":
@@ -19219,7 +19105,7 @@ var formatters = {
19219
19105
  }
19220
19106
  return addLeadingZeros(week, token2.length);
19221
19107
  },
19222
- I: function I2(date3, token2, localize2) {
19108
+ I: function I(date3, token2, localize2) {
19223
19109
  var isoWeek = getUTCISOWeek(date3);
19224
19110
  if (token2 === "Io") {
19225
19111
  return localize2.ordinalNumber(isoWeek, {
@@ -19228,7 +19114,7 @@ var formatters = {
19228
19114
  }
19229
19115
  return addLeadingZeros(isoWeek, token2.length);
19230
19116
  },
19231
- d: function d3(date3, token2, localize2) {
19117
+ d: function d2(date3, token2, localize2) {
19232
19118
  if (token2 === "do") {
19233
19119
  return localize2.ordinalNumber(date3.getUTCDate(), {
19234
19120
  unit: "date"
@@ -19245,7 +19131,7 @@ var formatters = {
19245
19131
  }
19246
19132
  return addLeadingZeros(dayOfYear, token2.length);
19247
19133
  },
19248
- E: function E2(date3, token2, localize2) {
19134
+ E: function E(date3, token2, localize2) {
19249
19135
  var dayOfWeek = date3.getUTCDay();
19250
19136
  switch (token2) {
19251
19137
  case "E":
@@ -19273,7 +19159,7 @@ var formatters = {
19273
19159
  });
19274
19160
  }
19275
19161
  },
19276
- e: function e2(date3, token2, localize2, options2) {
19162
+ e: function e(date3, token2, localize2, options2) {
19277
19163
  var dayOfWeek = date3.getUTCDay();
19278
19164
  var localDayOfWeek = (dayOfWeek - options2.weekStartsOn + 8) % 7 || 7;
19279
19165
  switch (token2) {
@@ -19308,7 +19194,7 @@ var formatters = {
19308
19194
  });
19309
19195
  }
19310
19196
  },
19311
- c: function c2(date3, token2, localize2, options2) {
19197
+ c: function c(date3, token2, localize2, options2) {
19312
19198
  var dayOfWeek = date3.getUTCDay();
19313
19199
  var localDayOfWeek = (dayOfWeek - options2.weekStartsOn + 8) % 7 || 7;
19314
19200
  switch (token2) {
@@ -19378,7 +19264,7 @@ var formatters = {
19378
19264
  });
19379
19265
  }
19380
19266
  },
19381
- a: function a3(date3, token2, localize2) {
19267
+ a: function a2(date3, token2, localize2) {
19382
19268
  var hours = date3.getUTCHours();
19383
19269
  var dayPeriodEnumValue = hours / 12 >= 1 ? "pm" : "am";
19384
19270
  switch (token2) {
@@ -19406,7 +19292,7 @@ var formatters = {
19406
19292
  });
19407
19293
  }
19408
19294
  },
19409
- b: function b2(date3, token2, localize2) {
19295
+ b: function b(date3, token2, localize2) {
19410
19296
  var hours = date3.getUTCHours();
19411
19297
  var dayPeriodEnumValue;
19412
19298
  if (hours === 12) {
@@ -19485,7 +19371,7 @@ var formatters = {
19485
19371
  }
19486
19372
  return formatters$3.h(date3, token2);
19487
19373
  },
19488
- H: function H3(date3, token2, localize2) {
19374
+ H: function H2(date3, token2, localize2) {
19489
19375
  if (token2 === "Ho") {
19490
19376
  return localize2.ordinalNumber(date3.getUTCHours(), {
19491
19377
  unit: "hour"
@@ -19502,7 +19388,7 @@ var formatters = {
19502
19388
  }
19503
19389
  return addLeadingZeros(hours, token2.length);
19504
19390
  },
19505
- k: function k2(date3, token2, localize2) {
19391
+ k: function k(date3, token2, localize2) {
19506
19392
  var hours = date3.getUTCHours();
19507
19393
  if (hours === 0)
19508
19394
  hours = 24;
@@ -19513,7 +19399,7 @@ var formatters = {
19513
19399
  }
19514
19400
  return addLeadingZeros(hours, token2.length);
19515
19401
  },
19516
- m: function m3(date3, token2, localize2) {
19402
+ m: function m2(date3, token2, localize2) {
19517
19403
  if (token2 === "mo") {
19518
19404
  return localize2.ordinalNumber(date3.getUTCMinutes(), {
19519
19405
  unit: "minute"
@@ -19550,7 +19436,7 @@ var formatters = {
19550
19436
  return formatTimezone(timezoneOffset, ":");
19551
19437
  }
19552
19438
  },
19553
- x: function x2(date3, token2, _localize, options2) {
19439
+ x: function x(date3, token2, _localize, options2) {
19554
19440
  var originalDate = options2._originalDate || date3;
19555
19441
  var timezoneOffset = originalDate.getTimezoneOffset();
19556
19442
  switch (token2) {
@@ -19565,7 +19451,7 @@ var formatters = {
19565
19451
  return formatTimezone(timezoneOffset, ":");
19566
19452
  }
19567
19453
  },
19568
- O: function O2(date3, token2, _localize, options2) {
19454
+ O: function O(date3, token2, _localize, options2) {
19569
19455
  var originalDate = options2._originalDate || date3;
19570
19456
  var timezoneOffset = originalDate.getTimezoneOffset();
19571
19457
  switch (token2) {
@@ -19591,7 +19477,7 @@ var formatters = {
19591
19477
  return "GMT" + formatTimezone(timezoneOffset, ":");
19592
19478
  }
19593
19479
  },
19594
- t: function t2(date3, token2, _localize, options2) {
19480
+ t: function t(date3, token2, _localize, options2) {
19595
19481
  var originalDate = options2._originalDate || date3;
19596
19482
  var timestamp = Math.floor(originalDate.getTime() / 1e3);
19597
19483
  return addLeadingZeros(timestamp, token2.length);
@@ -19968,8 +19854,8 @@ function parseTimezonePattern(pattern, string) {
19968
19854
  function parseAnyDigitsSigned(string, valueCallback3) {
19969
19855
  return parseNumericPattern(numericPatterns.anyDigitsSigned, string, valueCallback3);
19970
19856
  }
19971
- function parseNDigits(n2, string, valueCallback3) {
19972
- switch (n2) {
19857
+ function parseNDigits(n, string, valueCallback3) {
19858
+ switch (n) {
19973
19859
  case 1:
19974
19860
  return parseNumericPattern(numericPatterns.singleDigit, string, valueCallback3);
19975
19861
  case 2:
@@ -19979,11 +19865,11 @@ function parseNDigits(n2, string, valueCallback3) {
19979
19865
  case 4:
19980
19866
  return parseNumericPattern(numericPatterns.fourDigits, string, valueCallback3);
19981
19867
  default:
19982
- return parseNumericPattern(new RegExp("^\\d{1," + n2 + "}"), string, valueCallback3);
19868
+ return parseNumericPattern(new RegExp("^\\d{1," + n + "}"), string, valueCallback3);
19983
19869
  }
19984
19870
  }
19985
- function parseNDigitsSigned(n2, string, valueCallback3) {
19986
- switch (n2) {
19871
+ function parseNDigitsSigned(n, string, valueCallback3) {
19872
+ switch (n) {
19987
19873
  case 1:
19988
19874
  return parseNumericPattern(numericPatterns.singleDigitSigned, string, valueCallback3);
19989
19875
  case 2:
@@ -19993,7 +19879,7 @@ function parseNDigitsSigned(n2, string, valueCallback3) {
19993
19879
  case 4:
19994
19880
  return parseNumericPattern(numericPatterns.fourDigitsSigned, string, valueCallback3);
19995
19881
  default:
19996
- return parseNumericPattern(new RegExp("^-?\\d{1," + n2 + "}"), string, valueCallback3);
19882
+ return parseNumericPattern(new RegExp("^-?\\d{1," + n + "}"), string, valueCallback3);
19997
19883
  }
19998
19884
  }
19999
19885
  function dayPeriodEnumToHours(enumValue) {
@@ -21235,15 +21121,15 @@ function parse32(dirtyDateString, dirtyFormatString, dirtyReferenceDate, dirtyOp
21235
21121
  }
21236
21122
  var uniquePrioritySetters = setters.map(function(setter2) {
21237
21123
  return setter2.priority;
21238
- }).sort(function(a4, b3) {
21239
- return b3 - a4;
21124
+ }).sort(function(a3, b2) {
21125
+ return b2 - a3;
21240
21126
  }).filter(function(priority, index2, array) {
21241
21127
  return array.indexOf(priority) === index2;
21242
21128
  }).map(function(priority) {
21243
21129
  return setters.filter(function(setter2) {
21244
21130
  return setter2.priority === priority;
21245
- }).sort(function(a4, b3) {
21246
- return b3.subPriority - a4.subPriority;
21131
+ }).sort(function(a3, b2) {
21132
+ return b2.subPriority - a3.subPriority;
21247
21133
  });
21248
21134
  }).map(function(setterArray) {
21249
21135
  return setterArray[0];
@@ -21400,15 +21286,15 @@ function subYears(dirtyDate, dirtyAmount) {
21400
21286
  return addYears(dirtyDate, -amount);
21401
21287
  }
21402
21288
  function convertToFP(fn, arity) {
21403
- var a4 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
21404
- if (a4.length >= arity) {
21405
- return fn.apply(null, a4.slice(0, arity).reverse());
21289
+ var a3 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
21290
+ if (a3.length >= arity) {
21291
+ return fn.apply(null, a3.slice(0, arity).reverse());
21406
21292
  }
21407
21293
  return function() {
21408
21294
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
21409
21295
  args[_key] = arguments[_key];
21410
21296
  }
21411
- return convertToFP(fn, arity, a4.concat(args));
21297
+ return convertToFP(fn, arity, a3.concat(args));
21412
21298
  };
21413
21299
  }
21414
21300
  var formatWithOptions = convertToFP(format, 3);
@@ -22270,7 +22156,7 @@ var script = defineComponent({
22270
22156
  viewShown,
22271
22157
  clearModelValue,
22272
22158
  initialView,
22273
- log: (e3) => console.log(e3),
22159
+ log: (e2) => console.log(e2),
22274
22160
  variables
22275
22161
  };
22276
22162
  }
@@ -22371,7 +22257,8 @@ const _sfc_main = {
22371
22257
  modelValue: picked.value,
22372
22258
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => picked.value = $event),
22373
22259
  upperLimit: new Date(),
22374
- placeholder: "Select a date"
22260
+ placeholder: "YYYY-MM-DD",
22261
+ typeable: false
22375
22262
  }, null, 8, ["modelValue", "upperLimit"]);
22376
22263
  };
22377
22264
  }
@@ -22408,8 +22295,8 @@ var init = () => {
22408
22295
  data2.prepData = data2.prepData || prepData;
22409
22296
  data2.fireStepEvent = data2.fireStepEvent || fireStepEvent;
22410
22297
  data2.scrollAnchor = data2.scrollAnchor || scrollAnchor;
22411
- data2.onEnter = (callback) => (e3) => {
22412
- if (e3.key === "Enter" || e3.keyCode === 13) {
22298
+ data2.onEnter = (callback) => (e2) => {
22299
+ if (e2.key === "Enter" || e2.keyCode === 13) {
22413
22300
  callback();
22414
22301
  }
22415
22302
  };