@overmap-ai/forms 1.0.35 → 1.0.36-json-schemas.1

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.
Files changed (27) hide show
  1. package/dist/form/builder/constants.d.ts +0 -2
  2. package/dist/form/fields/BaseField/BaseField.d.ts +3 -0
  3. package/dist/form/fields/BaseOptionsField/BaseOptionsField.d.ts +2 -2
  4. package/dist/form/fields/BaseOptionsField/typings.d.ts +1 -1
  5. package/dist/form/fields/BaseStringField/BaseStringField.d.ts +2 -0
  6. package/dist/form/fields/BooleanField/BooleanField.d.ts +2 -0
  7. package/dist/form/fields/CheckboxListField/CheckboxListField.d.ts +2 -0
  8. package/dist/form/fields/CheckboxListField/typings.d.ts +2 -4
  9. package/dist/form/fields/DateField/DateField.d.ts +2 -0
  10. package/dist/form/fields/MultiSelectField/MultiSelectField.d.ts +2 -0
  11. package/dist/form/fields/MultiSelectField/typings.d.ts +2 -2
  12. package/dist/form/fields/MultiStringField/MultiStringField.d.ts +2 -0
  13. package/dist/form/fields/NumberField/NumberField.d.ts +2 -0
  14. package/dist/form/fields/OneTimePasswordField/OTPField.d.ts +2 -0
  15. package/dist/form/fields/PassFailField/PassFailField.d.ts +2 -0
  16. package/dist/form/fields/PassFailField/utils.d.ts +1 -0
  17. package/dist/form/fields/RadioField/RadioField.d.ts +2 -0
  18. package/dist/form/fields/RadioField/typings.d.ts +2 -4
  19. package/dist/form/fields/RatingField/RatingField.d.ts +2 -0
  20. package/dist/form/fields/ScanField/ScanField.d.ts +2 -0
  21. package/dist/form/fields/SelectField/SelectField.d.ts +2 -0
  22. package/dist/form/fields/SelectField/typings.d.ts +2 -2
  23. package/dist/form/fields/UploadField/UploadField.d.ts +2 -0
  24. package/dist/form/fields/constants.d.ts +2 -0
  25. package/dist/forms.js +681 -584
  26. package/dist/forms.umd.cjs +51 -51
  27. package/package.json +4 -2
package/dist/forms.js CHANGED
@@ -709,6 +709,9 @@ class Qe extends ao {
709
709
  isValueBlank(t) {
710
710
  return this.areValuesEqual(t, this.blankValue());
711
711
  }
712
+ isSerializedValueBlank(t) {
713
+ return this.areSerializedValuesEqual(t, this.blankSerializedValue());
714
+ }
712
715
  getFieldValidators() {
713
716
  return [];
714
717
  }
@@ -809,7 +812,7 @@ const We = G((r) => {
809
812
  }), qe = (r) => {
810
813
  const { children: e, ...t } = r;
811
814
  return /* @__PURE__ */ p(pi, { ...t, children: e });
812
- }, y0 = (r, e) => ie(() => !e || !r ? null : r.render(e), [r, e]), rn = (r, e) => /* @__PURE__ */ p("div", { className: "flex flex-col gap-4", children: r.map((t) => /* @__PURE__ */ p(Xa, { children: t.render(e) }, t.identifier)) }), $e = (r) => {
815
+ }, m0 = (r, e) => ie(() => !e || !r ? null : r.render(e), [r, e]), rn = (r, e) => /* @__PURE__ */ p("div", { className: "flex flex-col gap-4", children: r.map((t) => /* @__PURE__ */ p(Xa, { children: t.render(e) }, t.identifier)) }), $e = (r) => {
813
816
  const { field: e, size: t, showInputOnly: n, onValuesChange: i, ...a } = r, [o, s, l] = Er(e.identifier), { touched: c } = s, u = s.error ?? e.description, f = s.error ? "danger" : void 0, h = e.identifier, d = `${h}-label`, v = e.required ? `${e.label} *` : e.label, g = ie(() => ({
814
817
  ...o,
815
818
  // name and value not being overridden
@@ -1046,6 +1049,13 @@ const Xt = class Xt extends Qe {
1046
1049
  const i = new Set(t), a = new Set(n);
1047
1050
  return i.size === a.size && i.isSubsetOf(a);
1048
1051
  }
1052
+ blankSerializedValue() {
1053
+ return [];
1054
+ }
1055
+ areSerializedValuesEqual(t, n) {
1056
+ const i = new Set(t), a = new Set(n);
1057
+ return i.size === a.size && i.isSubsetOf(a);
1058
+ }
1049
1059
  };
1050
1060
  I(Xt, "fieldTypeName", "Multi-string"), I(Xt, "fieldTypeDescription", "Allows the user to provide multiple unique strings.");
1051
1061
  let Sr = Xt;
@@ -1169,6 +1179,12 @@ const Wt = class Wt extends Qe {
1169
1179
  blankValue() {
1170
1180
  return !1;
1171
1181
  }
1182
+ blankSerializedValue() {
1183
+ return !1;
1184
+ }
1185
+ areSerializedValuesEqual(t, n) {
1186
+ return t === n;
1187
+ }
1172
1188
  areValuesEqual(t, n) {
1173
1189
  return t === n;
1174
1190
  }
@@ -1337,6 +1353,12 @@ const _t = class _t extends Qe {
1337
1353
  blankValue() {
1338
1354
  return null;
1339
1355
  }
1356
+ blankSerializedValue() {
1357
+ return null;
1358
+ }
1359
+ areSerializedValuesEqual(t, n) {
1360
+ return t === n;
1361
+ }
1340
1362
  };
1341
1363
  I(_t, "fieldTypeName", "Number"), I(_t, "fieldTypeDescription", "Allows specifying a number within a given range.");
1342
1364
  let ht = _t;
@@ -1426,6 +1448,12 @@ class fo extends Qe {
1426
1448
  blankValue() {
1427
1449
  return "";
1428
1450
  }
1451
+ blankSerializedValue() {
1452
+ return "";
1453
+ }
1454
+ areSerializedValuesEqual(t, n) {
1455
+ return t === n;
1456
+ }
1429
1457
  areValuesEqual(t, n) {
1430
1458
  return t === n;
1431
1459
  }
@@ -1507,6 +1535,13 @@ const qt = class qt extends fn {
1507
1535
  blankValue() {
1508
1536
  return [];
1509
1537
  }
1538
+ blankSerializedValue() {
1539
+ return [];
1540
+ }
1541
+ areSerializedValuesEqual(t, n) {
1542
+ const i = new Set(t), a = new Set(n);
1543
+ return i.size === a.size && i.isSubsetOf(a);
1544
+ }
1510
1545
  areValuesEqual(t, n) {
1511
1546
  const i = new Set(t), a = new Set(n);
1512
1547
  return i.size === a.size && i.isSubsetOf(a);
@@ -1614,6 +1649,12 @@ const $t = class $t extends Qe {
1614
1649
  blankValue() {
1615
1650
  return null;
1616
1651
  }
1652
+ blankSerializedValue() {
1653
+ return null;
1654
+ }
1655
+ areSerializedValuesEqual(t, n) {
1656
+ return t === n;
1657
+ }
1617
1658
  areValuesEqual(t, n) {
1618
1659
  return !t && !n ? !0 : !t || !n ? !1 : t.getTime() === n.getTime();
1619
1660
  }
@@ -1733,6 +1774,13 @@ const jt = class jt extends fn {
1733
1774
  const i = new Set(t), a = new Set(n);
1734
1775
  return i.size === a.size && i.isSubsetOf(a);
1735
1776
  }
1777
+ blankSerializedValue() {
1778
+ return [];
1779
+ }
1780
+ areSerializedValuesEqual(t, n) {
1781
+ const i = new Set(t), a = new Set(n);
1782
+ return i.size === a.size && i.isSubsetOf(a);
1783
+ }
1736
1784
  };
1737
1785
  I(jt, "fieldTypeName", "Multi-select"), I(jt, "fieldTypeDescription", "Allows the user to select a multiple options from a list of options.");
1738
1786
  let Pt = jt;
@@ -1830,6 +1878,12 @@ const Yt = class Yt extends fn {
1830
1878
  areValuesEqual(t, n) {
1831
1879
  return t === n;
1832
1880
  }
1881
+ blankSerializedValue() {
1882
+ return null;
1883
+ }
1884
+ areSerializedValuesEqual(t, n) {
1885
+ return t === n;
1886
+ }
1833
1887
  };
1834
1888
  I(Yt, "fieldTypeName", "Dropdown"), I(Yt, "fieldTypeDescription", "Allows the user to select a single option from a list of options.");
1835
1889
  let sr = Yt;
@@ -1996,6 +2050,12 @@ const Zt = class Zt extends Qe {
1996
2050
  areValuesEqual(t, n) {
1997
2051
  return t === n;
1998
2052
  }
2053
+ blankSerializedValue() {
2054
+ return "";
2055
+ }
2056
+ areSerializedValuesEqual(t, n) {
2057
+ return t === n;
2058
+ }
1999
2059
  };
2000
2060
  I(Zt, "fieldTypeName", "OTP"), I(Zt, "fieldTypeDescription", "Allows specifying a number within a given range.");
2001
2061
  let Or = Zt;
@@ -2348,7 +2408,7 @@ const mo = (r) => typeof r == "string" && Nr.includes(r), vc = (r) => !(r === nu
2348
2408
  status: r.status,
2349
2409
  notes: r.notes,
2350
2410
  files: []
2351
- }), mc = (r, e) => !(r.status !== e.status || r.notes !== e.notes || !gi(r.files, e.files)), Kt = class Kt extends Qe {
2411
+ }), mc = (r, e) => !(r.status !== e.status || r.notes !== e.notes || !gi(r.files, e.files)), wc = (r, e) => !(r.status !== e.status || r.notes !== e.notes || r.files.length !== e.files.length), Kt = class Kt extends Qe {
2352
2412
  constructor(t) {
2353
2413
  const { showNotesAndFilesOn: n, ...i } = t;
2354
2414
  super(i);
@@ -2448,6 +2508,16 @@ const mo = (r) => typeof r == "string" && Nr.includes(r), vc = (r) => !(r === nu
2448
2508
  files: []
2449
2509
  };
2450
2510
  }
2511
+ blankSerializedValue() {
2512
+ return {
2513
+ status: null,
2514
+ notes: "",
2515
+ files: []
2516
+ };
2517
+ }
2518
+ areSerializedValuesEqual(t, n) {
2519
+ return wc(t, n);
2520
+ }
2451
2521
  };
2452
2522
  I(Kt, "fieldTypeName", "Pass - Fail"), I(Kt, "fieldTypeDescription", "Track pass, fail, or N/A outcome.");
2453
2523
  let Tr = Kt;
@@ -2553,6 +2623,12 @@ const Qt = class Qt extends fn {
2553
2623
  areValuesEqual(t, n) {
2554
2624
  return t === n;
2555
2625
  }
2626
+ blankSerializedValue() {
2627
+ return null;
2628
+ }
2629
+ areSerializedValuesEqual(t, n) {
2630
+ return t === n;
2631
+ }
2556
2632
  };
2557
2633
  I(Qt, "fieldTypeName", "Option list"), I(Qt, "fieldTypeDescription", "Allows the user to select a single option from a list of options.");
2558
2634
  let Dr = Qt;
@@ -2679,22 +2755,28 @@ const Jt = class Jt extends Qe {
2679
2755
  blankValue() {
2680
2756
  return null;
2681
2757
  }
2758
+ blankSerializedValue() {
2759
+ return null;
2760
+ }
2761
+ areSerializedValuesEqual(t, n) {
2762
+ return t === n;
2763
+ }
2682
2764
  };
2683
2765
  I(Jt, "fieldTypeName", "Rating"), I(Jt, "fieldTypeDescription", "Allows users to select a rating value.");
2684
2766
  let Rr = Jt;
2685
2767
  const Ao = Br(() => {
2686
2768
  throw new Error("No ScannerProvider found");
2687
- }), m0 = () => ft(Ao);
2688
- function wc(r, e) {
2769
+ }), w0 = () => ft(Ao);
2770
+ function Cc(r, e) {
2689
2771
  var t = Object.setPrototypeOf;
2690
2772
  t ? t(r, e) : r.__proto__ = e;
2691
2773
  }
2692
- function Cc(r, e) {
2774
+ function Ac(r, e) {
2693
2775
  e === void 0 && (e = r.constructor);
2694
2776
  var t = Error.captureStackTrace;
2695
2777
  t && t(r, e);
2696
2778
  }
2697
- var Ac = /* @__PURE__ */ function() {
2779
+ var _c = /* @__PURE__ */ function() {
2698
2780
  var r = function(t, n) {
2699
2781
  return r = Object.setPrototypeOf || {
2700
2782
  __proto__: []
@@ -2713,18 +2795,18 @@ var Ac = /* @__PURE__ */ function() {
2713
2795
  }
2714
2796
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
2715
2797
  };
2716
- }(), _c = function(r) {
2717
- Ac(e, r);
2798
+ }(), Ec = function(r) {
2799
+ _c(e, r);
2718
2800
  function e(t, n) {
2719
2801
  var i = this.constructor, a = r.call(this, t, n) || this;
2720
2802
  return Object.defineProperty(a, "name", {
2721
2803
  value: i.name,
2722
2804
  enumerable: !1,
2723
2805
  configurable: !0
2724
- }), wc(a, i.prototype), Cc(a), a;
2806
+ }), Cc(a, i.prototype), Ac(a), a;
2725
2807
  }
2726
2808
  return e;
2727
- }(Error), Ec = /* @__PURE__ */ function() {
2809
+ }(Error), Sc = /* @__PURE__ */ function() {
2728
2810
  var r = function(e, t) {
2729
2811
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
2730
2812
  n.__proto__ = i;
@@ -2742,7 +2824,7 @@ var Ac = /* @__PURE__ */ function() {
2742
2824
  }(), Je = (
2743
2825
  /** @class */
2744
2826
  function(r) {
2745
- Ec(e, r);
2827
+ Sc(e, r);
2746
2828
  function e(t) {
2747
2829
  t === void 0 && (t = void 0);
2748
2830
  var n = r.call(this, t) || this;
@@ -2752,8 +2834,8 @@ var Ac = /* @__PURE__ */ function() {
2752
2834
  var t = this.constructor;
2753
2835
  return t.kind;
2754
2836
  }, e.kind = "Exception", e;
2755
- }(_c)
2756
- ), Sc = /* @__PURE__ */ function() {
2837
+ }(Ec)
2838
+ ), Ic = /* @__PURE__ */ function() {
2757
2839
  var r = function(e, t) {
2758
2840
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
2759
2841
  n.__proto__ = i;
@@ -2771,13 +2853,13 @@ var Ac = /* @__PURE__ */ function() {
2771
2853
  }(), ot = (
2772
2854
  /** @class */
2773
2855
  function(r) {
2774
- Sc(e, r);
2856
+ Ic(e, r);
2775
2857
  function e() {
2776
2858
  return r !== null && r.apply(this, arguments) || this;
2777
2859
  }
2778
2860
  return e.kind = "ArgumentException", e;
2779
2861
  }(Je)
2780
- ), Ic = /* @__PURE__ */ function() {
2862
+ ), bc = /* @__PURE__ */ function() {
2781
2863
  var r = function(e, t) {
2782
2864
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
2783
2865
  n.__proto__ = i;
@@ -2795,13 +2877,13 @@ var Ac = /* @__PURE__ */ function() {
2795
2877
  }(), U = (
2796
2878
  /** @class */
2797
2879
  function(r) {
2798
- Ic(e, r);
2880
+ bc(e, r);
2799
2881
  function e() {
2800
2882
  return r !== null && r.apply(this, arguments) || this;
2801
2883
  }
2802
2884
  return e.kind = "IllegalArgumentException", e;
2803
2885
  }(Je)
2804
- ), bc = (
2886
+ ), Oc = (
2805
2887
  /** @class */
2806
2888
  function() {
2807
2889
  function r(e) {
@@ -2837,7 +2919,7 @@ var Ac = /* @__PURE__ */ function() {
2837
2919
  }
2838
2920
  }, r;
2839
2921
  }()
2840
- ), Oc = /* @__PURE__ */ function() {
2922
+ ), Nc = /* @__PURE__ */ function() {
2841
2923
  var r = function(e, t) {
2842
2924
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
2843
2925
  n.__proto__ = i;
@@ -2855,7 +2937,7 @@ var Ac = /* @__PURE__ */ function() {
2855
2937
  }(), Ne = (
2856
2938
  /** @class */
2857
2939
  function(r) {
2858
- Oc(e, r);
2940
+ Nc(e, r);
2859
2941
  function e() {
2860
2942
  return r !== null && r.apply(this, arguments) || this;
2861
2943
  }
@@ -2863,7 +2945,7 @@ var Ac = /* @__PURE__ */ function() {
2863
2945
  return new e();
2864
2946
  }, e.kind = "ChecksumException", e;
2865
2947
  }(Je)
2866
- ), Nc = (
2948
+ ), Tc = (
2867
2949
  /** @class */
2868
2950
  function() {
2869
2951
  function r(e) {
@@ -2889,7 +2971,7 @@ var Ac = /* @__PURE__ */ function() {
2889
2971
  return Date.now();
2890
2972
  }, r;
2891
2973
  }()
2892
- ), Tc = /* @__PURE__ */ function() {
2974
+ ), Dc = /* @__PURE__ */ function() {
2893
2975
  var r = function(e, t) {
2894
2976
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
2895
2977
  n.__proto__ = i;
@@ -2907,13 +2989,13 @@ var Ac = /* @__PURE__ */ function() {
2907
2989
  }(), yi = (
2908
2990
  /** @class */
2909
2991
  function(r) {
2910
- Tc(e, r);
2992
+ Dc(e, r);
2911
2993
  function e() {
2912
2994
  return r !== null && r.apply(this, arguments) || this;
2913
2995
  }
2914
2996
  return e.kind = "IndexOutOfBoundsException", e;
2915
2997
  }(Je)
2916
- ), Dc = /* @__PURE__ */ function() {
2998
+ ), Rc = /* @__PURE__ */ function() {
2917
2999
  var r = function(e, t) {
2918
3000
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
2919
3001
  n.__proto__ = i;
@@ -2931,7 +3013,7 @@ var Ac = /* @__PURE__ */ function() {
2931
3013
  }(), Wi = (
2932
3014
  /** @class */
2933
3015
  function(r) {
2934
- Dc(e, r);
3016
+ Rc(e, r);
2935
3017
  function e(t, n) {
2936
3018
  t === void 0 && (t = void 0), n === void 0 && (n = void 0);
2937
3019
  var i = r.call(this, n) || this;
@@ -2939,7 +3021,7 @@ var Ac = /* @__PURE__ */ function() {
2939
3021
  }
2940
3022
  return e.kind = "ArrayIndexOutOfBoundsException", e;
2941
3023
  }(yi)
2942
- ), Rc = function(r) {
3024
+ ), Mc = function(r) {
2943
3025
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
2944
3026
  if (t) return t.call(r);
2945
3027
  if (r && typeof r.length == "number") return {
@@ -2994,7 +3076,7 @@ var Ac = /* @__PURE__ */ function() {
2994
3076
  return 0;
2995
3077
  var i = 1;
2996
3078
  try {
2997
- for (var a = Rc(e), o = a.next(); !o.done; o = a.next()) {
3079
+ for (var a = Mc(e), o = a.next(); !o.done; o = a.next()) {
2998
3080
  var s = o.value;
2999
3081
  i = 31 * i + s;
3000
3082
  }
@@ -3207,7 +3289,7 @@ var Ac = /* @__PURE__ */ function() {
3207
3289
  r[r.OTHER = 0] = "OTHER", r[r.PURE_BARCODE = 1] = "PURE_BARCODE", r[r.POSSIBLE_FORMATS = 2] = "POSSIBLE_FORMATS", r[r.TRY_HARDER = 3] = "TRY_HARDER", r[r.CHARACTER_SET = 4] = "CHARACTER_SET", r[r.ALLOWED_LENGTHS = 5] = "ALLOWED_LENGTHS", r[r.ASSUME_CODE_39_CHECK_DIGIT = 6] = "ASSUME_CODE_39_CHECK_DIGIT", r[r.ASSUME_GS1 = 7] = "ASSUME_GS1", r[r.RETURN_CODABAR_START_END = 8] = "RETURN_CODABAR_START_END", r[r.NEED_RESULT_POINT_CALLBACK = 9] = "NEED_RESULT_POINT_CALLBACK", r[r.ALLOWED_EAN_EXTENSIONS = 10] = "ALLOWED_EAN_EXTENSIONS";
3208
3290
  })(Yn || (Yn = {}));
3209
3291
  const ge = Yn;
3210
- var Mc = /* @__PURE__ */ function() {
3292
+ var Vc = /* @__PURE__ */ function() {
3211
3293
  var r = function(e, t) {
3212
3294
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
3213
3295
  n.__proto__ = i;
@@ -3225,7 +3307,7 @@ var Mc = /* @__PURE__ */ function() {
3225
3307
  }(), P = (
3226
3308
  /** @class */
3227
3309
  function(r) {
3228
- Mc(e, r);
3310
+ Vc(e, r);
3229
3311
  function e() {
3230
3312
  return r !== null && r.apply(this, arguments) || this;
3231
3313
  }
@@ -3233,7 +3315,7 @@ var Mc = /* @__PURE__ */ function() {
3233
3315
  return new e();
3234
3316
  }, e.kind = "FormatException", e;
3235
3317
  }(Je)
3236
- ), Vc = function(r) {
3318
+ ), Pc = function(r) {
3237
3319
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
3238
3320
  if (t) return t.call(r);
3239
3321
  if (r && typeof r.length == "number") return {
@@ -3258,7 +3340,7 @@ var _e = (
3258
3340
  r.VALUES_TO_ECI.set(f, this);
3259
3341
  }
3260
3342
  try {
3261
- for (var h = Vc(o), d = h.next(); !d.done; d = h.next()) {
3343
+ for (var h = Pc(o), d = h.next(); !d.done; d = h.next()) {
3262
3344
  var v = d.value;
3263
3345
  r.NAME_TO_ECI.set(v, this);
3264
3346
  }
@@ -3297,7 +3379,7 @@ var _e = (
3297
3379
  return this.getName() === t.getName();
3298
3380
  }, r.VALUE_IDENTIFIER_TO_ECI = /* @__PURE__ */ new Map(), r.VALUES_TO_ECI = /* @__PURE__ */ new Map(), r.NAME_TO_ECI = /* @__PURE__ */ new Map(), r.Cp437 = new r(ce.Cp437, Int32Array.from([0, 2]), "Cp437"), r.ISO8859_1 = new r(ce.ISO8859_1, Int32Array.from([1, 3]), "ISO-8859-1", "ISO88591", "ISO8859_1"), r.ISO8859_2 = new r(ce.ISO8859_2, 4, "ISO-8859-2", "ISO88592", "ISO8859_2"), r.ISO8859_3 = new r(ce.ISO8859_3, 5, "ISO-8859-3", "ISO88593", "ISO8859_3"), r.ISO8859_4 = new r(ce.ISO8859_4, 6, "ISO-8859-4", "ISO88594", "ISO8859_4"), r.ISO8859_5 = new r(ce.ISO8859_5, 7, "ISO-8859-5", "ISO88595", "ISO8859_5"), r.ISO8859_6 = new r(ce.ISO8859_6, 8, "ISO-8859-6", "ISO88596", "ISO8859_6"), r.ISO8859_7 = new r(ce.ISO8859_7, 9, "ISO-8859-7", "ISO88597", "ISO8859_7"), r.ISO8859_8 = new r(ce.ISO8859_8, 10, "ISO-8859-8", "ISO88598", "ISO8859_8"), r.ISO8859_9 = new r(ce.ISO8859_9, 11, "ISO-8859-9", "ISO88599", "ISO8859_9"), r.ISO8859_10 = new r(ce.ISO8859_10, 12, "ISO-8859-10", "ISO885910", "ISO8859_10"), r.ISO8859_11 = new r(ce.ISO8859_11, 13, "ISO-8859-11", "ISO885911", "ISO8859_11"), r.ISO8859_13 = new r(ce.ISO8859_13, 15, "ISO-8859-13", "ISO885913", "ISO8859_13"), r.ISO8859_14 = new r(ce.ISO8859_14, 16, "ISO-8859-14", "ISO885914", "ISO8859_14"), r.ISO8859_15 = new r(ce.ISO8859_15, 17, "ISO-8859-15", "ISO885915", "ISO8859_15"), r.ISO8859_16 = new r(ce.ISO8859_16, 18, "ISO-8859-16", "ISO885916", "ISO8859_16"), r.SJIS = new r(ce.SJIS, 20, "SJIS", "Shift_JIS"), r.Cp1250 = new r(ce.Cp1250, 21, "Cp1250", "windows-1250"), r.Cp1251 = new r(ce.Cp1251, 22, "Cp1251", "windows-1251"), r.Cp1252 = new r(ce.Cp1252, 23, "Cp1252", "windows-1252"), r.Cp1256 = new r(ce.Cp1256, 24, "Cp1256", "windows-1256"), r.UnicodeBigUnmarked = new r(ce.UnicodeBigUnmarked, 25, "UnicodeBigUnmarked", "UTF-16BE", "UnicodeBig"), r.UTF8 = new r(ce.UTF8, 26, "UTF8", "UTF-8"), r.ASCII = new r(ce.ASCII, Int32Array.from([27, 170]), "ASCII", "US-ASCII"), r.Big5 = new r(ce.Big5, 28, "Big5"), r.GB18030 = new r(ce.GB18030, 29, "GB18030", "GB2312", "EUC_CN", "GBK"), r.EUC_KR = new r(ce.EUC_KR, 30, "EUC_KR", "EUC-KR"), r;
3299
3381
  }()
3300
- ), Pc = /* @__PURE__ */ function() {
3382
+ ), Fc = /* @__PURE__ */ function() {
3301
3383
  var r = function(e, t) {
3302
3384
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
3303
3385
  n.__proto__ = i;
@@ -3315,7 +3397,7 @@ var _e = (
3315
3397
  }(), Zr = (
3316
3398
  /** @class */
3317
3399
  function(r) {
3318
- Pc(e, r);
3400
+ Fc(e, r);
3319
3401
  function e() {
3320
3402
  return r !== null && r.apply(this, arguments) || this;
3321
3403
  }
@@ -3608,7 +3690,7 @@ var _e = (
3608
3690
  return new r(this.width, this.height, this.rowSize, this.bits.slice());
3609
3691
  }, r;
3610
3692
  }()
3611
- ), Fc = /* @__PURE__ */ function() {
3693
+ ), Bc = /* @__PURE__ */ function() {
3612
3694
  var r = function(e, t) {
3613
3695
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
3614
3696
  n.__proto__ = i;
@@ -3626,7 +3708,7 @@ var _e = (
3626
3708
  }(), b = (
3627
3709
  /** @class */
3628
3710
  function(r) {
3629
- Fc(e, r);
3711
+ Bc(e, r);
3630
3712
  function e() {
3631
3713
  return r !== null && r.apply(this, arguments) || this;
3632
3714
  }
@@ -3634,7 +3716,7 @@ var _e = (
3634
3716
  return new e();
3635
3717
  }, e.kind = "NotFoundException", e;
3636
3718
  }(Je)
3637
- ), Bc = /* @__PURE__ */ function() {
3719
+ ), Lc = /* @__PURE__ */ function() {
3638
3720
  var r = function(e, t) {
3639
3721
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
3640
3722
  n.__proto__ = i;
@@ -3649,10 +3731,10 @@ var _e = (
3649
3731
  }
3650
3732
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
3651
3733
  };
3652
- }(), Lc = (
3734
+ }(), kc = (
3653
3735
  /** @class */
3654
3736
  function(r) {
3655
- Bc(e, r);
3737
+ Lc(e, r);
3656
3738
  function e(t) {
3657
3739
  var n = r.call(this, t) || this;
3658
3740
  return n.luminances = e.EMPTY, n.buckets = new Int32Array(e.LUMINANCE_BUCKETS), n;
@@ -3711,8 +3793,8 @@ var _e = (
3711
3793
  }
3712
3794
  return d << e.LUMINANCE_SHIFT;
3713
3795
  }, e.LUMINANCE_BITS = 5, e.LUMINANCE_SHIFT = 8 - e.LUMINANCE_BITS, e.LUMINANCE_BUCKETS = 1 << e.LUMINANCE_BITS, e.EMPTY = Uint8ClampedArray.from([0]), e;
3714
- }(Nc)
3715
- ), kc = /* @__PURE__ */ function() {
3796
+ }(Tc)
3797
+ ), zc = /* @__PURE__ */ function() {
3716
3798
  var r = function(e, t) {
3717
3799
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
3718
3800
  n.__proto__ = i;
@@ -3727,10 +3809,10 @@ var _e = (
3727
3809
  }
3728
3810
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
3729
3811
  };
3730
- }(), zc = (
3812
+ }(), Uc = (
3731
3813
  /** @class */
3732
3814
  function(r) {
3733
- kc(e, r);
3815
+ zc(e, r);
3734
3816
  function e(t) {
3735
3817
  var n = r.call(this, t) || this;
3736
3818
  return n.matrix = null, n;
@@ -3800,7 +3882,7 @@ var _e = (
3800
3882
  }
3801
3883
  return c;
3802
3884
  }, e.BLOCK_SIZE_POWER = 3, e.BLOCK_SIZE = 1 << e.BLOCK_SIZE_POWER, e.BLOCK_SIZE_MASK = e.BLOCK_SIZE - 1, e.MINIMUM_DIMENSION = e.BLOCK_SIZE * 5, e.MIN_DYNAMIC_RANGE = 24, e;
3803
- }(Lc)
3885
+ }(kc)
3804
3886
  ), dn = (
3805
3887
  /** @class */
3806
3888
  function() {
@@ -3833,7 +3915,7 @@ var _e = (
3833
3915
  return t.toString();
3834
3916
  }, r;
3835
3917
  }()
3836
- ), Uc = /* @__PURE__ */ function() {
3918
+ ), Hc = /* @__PURE__ */ function() {
3837
3919
  var r = function(e, t) {
3838
3920
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
3839
3921
  n.__proto__ = i;
@@ -3851,7 +3933,7 @@ var _e = (
3851
3933
  }(), mi = (
3852
3934
  /** @class */
3853
3935
  function(r) {
3854
- Uc(e, r);
3936
+ Hc(e, r);
3855
3937
  function e(t) {
3856
3938
  var n = r.call(this, t.getWidth(), t.getHeight()) || this;
3857
3939
  return n.delegate = t, n;
@@ -3880,7 +3962,7 @@ var _e = (
3880
3962
  return new e(this.delegate.rotateCounterClockwise45());
3881
3963
  }, e;
3882
3964
  }(dn)
3883
- ), Hc = /* @__PURE__ */ function() {
3965
+ ), Gc = /* @__PURE__ */ function() {
3884
3966
  var r = function(e, t) {
3885
3967
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
3886
3968
  n.__proto__ = i;
@@ -3895,10 +3977,10 @@ var _e = (
3895
3977
  }
3896
3978
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
3897
3979
  };
3898
- }(), Gc = (
3980
+ }(), Xc = (
3899
3981
  /** @class */
3900
3982
  function(r) {
3901
- Hc(e, r);
3983
+ Gc(e, r);
3902
3984
  function e(t) {
3903
3985
  var n = r.call(this, t.width, t.height) || this;
3904
3986
  return n.canvas = t, n.tempCanvasElement = null, n.buffer = e.makeBufferFromCanvasImageData(t), n;
@@ -3961,7 +4043,7 @@ var _e = (
3961
4043
  return new mi(this);
3962
4044
  }, e.DEGREE_TO_RADIANS = Math.PI / 180, e.FRAME_INDEX = !0, e;
3963
4045
  }(dn)
3964
- ), Xc = (
4046
+ ), Wc = (
3965
4047
  /** @class */
3966
4048
  function() {
3967
4049
  function r(e, t, n) {
@@ -4061,7 +4143,7 @@ var _e = (
4061
4143
  if (c[0] & 5) throw c[1];
4062
4144
  return { value: c[0] ? c[1] : void 0, done: !0 };
4063
4145
  }
4064
- }, Wc = function(r) {
4146
+ }, qc = function(r) {
4065
4147
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
4066
4148
  if (t) return t.call(r);
4067
4149
  if (r && typeof r.length == "number") return {
@@ -4147,7 +4229,7 @@ var _e = (
4147
4229
  case 1:
4148
4230
  e = d.sent(), t = [];
4149
4231
  try {
4150
- for (n = Wc(e), i = n.next(); !i.done; i = n.next())
4232
+ for (n = qc(e), i = n.next(); !i.done; i = n.next())
4151
4233
  a = i.value, o = a.kind === "video" ? "videoinput" : a.kind, o === "videoinput" && (s = a.deviceId || a.id, l = a.label || "Video device " + (t.length + 1), c = a.groupId, u = { deviceId: s, label: l, kind: o, groupId: c }, t.push(u));
4152
4234
  } catch (v) {
4153
4235
  f = { error: v };
@@ -4171,7 +4253,7 @@ var _e = (
4171
4253
  return [4, this.listVideoInputDevices()];
4172
4254
  case 1:
4173
4255
  return e = t.sent(), [2, e.map(function(n) {
4174
- return new Xc(n.deviceId, n.label);
4256
+ return new Wc(n.deviceId, n.label);
4175
4257
  })];
4176
4258
  }
4177
4259
  });
@@ -4494,8 +4576,8 @@ var _e = (
4494
4576
  return this.decodeBitmap(t);
4495
4577
  }, r.prototype.createBinaryBitmap = function(e) {
4496
4578
  this.getCaptureCanvasContext(e), e instanceof HTMLVideoElement ? this.drawFrameOnCanvas(e) : this.drawImageOnCanvas(e);
4497
- var t = this.getCaptureCanvas(e), n = new Gc(t), i = new zc(n);
4498
- return new bc(i);
4579
+ var t = this.getCaptureCanvas(e), n = new Xc(t), i = new Uc(n);
4580
+ return new Oc(i);
4499
4581
  }, r.prototype.getCaptureCanvasContext = function(e) {
4500
4582
  if (!this.captureCanvasContext) {
4501
4583
  var t = this.getCaptureCanvas(e), n = void 0;
@@ -4773,7 +4855,7 @@ var hn = (
4773
4855
  return e;
4774
4856
  }, r;
4775
4857
  }()
4776
- ), qc = /* @__PURE__ */ function() {
4858
+ ), $c = /* @__PURE__ */ function() {
4777
4859
  var r = function(e, t) {
4778
4860
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
4779
4861
  n.__proto__ = i;
@@ -4791,13 +4873,13 @@ var hn = (
4791
4873
  }(), _o = (
4792
4874
  /** @class */
4793
4875
  function(r) {
4794
- qc(e, r);
4876
+ $c(e, r);
4795
4877
  function e() {
4796
4878
  return r !== null && r.apply(this, arguments) || this;
4797
4879
  }
4798
4880
  return e.kind = "ArithmeticException", e;
4799
4881
  }(Je)
4800
- ), $c = /* @__PURE__ */ function() {
4882
+ ), jc = /* @__PURE__ */ function() {
4801
4883
  var r = function(e, t) {
4802
4884
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
4803
4885
  n.__proto__ = i;
@@ -4815,7 +4897,7 @@ var hn = (
4815
4897
  }(), Ke = (
4816
4898
  /** @class */
4817
4899
  function(r) {
4818
- $c(e, r);
4900
+ jc(e, r);
4819
4901
  function e(t, n, i) {
4820
4902
  var a = r.call(this) || this;
4821
4903
  a.primitive = t, a.size = n, a.generatorBase = i;
@@ -4853,7 +4935,7 @@ var hn = (
4853
4935
  return t === this;
4854
4936
  }, e.AZTEC_DATA_12 = new e(4201, 4096, 1), e.AZTEC_DATA_10 = new e(1033, 1024, 1), e.AZTEC_DATA_6 = new e(67, 64, 1), e.AZTEC_PARAM = new e(19, 16, 1), e.QR_CODE_FIELD_256 = new e(285, 256, 0), e.DATA_MATRIX_FIELD_256 = new e(301, 256, 1), e.AZTEC_DATA_8 = e.DATA_MATRIX_FIELD_256, e.MAXICODE_FIELD_64 = e.AZTEC_DATA_6, e;
4855
4937
  }(gr)
4856
- ), jc = /* @__PURE__ */ function() {
4938
+ ), Yc = /* @__PURE__ */ function() {
4857
4939
  var r = function(e, t) {
4858
4940
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
4859
4941
  n.__proto__ = i;
@@ -4871,13 +4953,13 @@ var hn = (
4871
4953
  }(), Wr = (
4872
4954
  /** @class */
4873
4955
  function(r) {
4874
- jc(e, r);
4956
+ Yc(e, r);
4875
4957
  function e() {
4876
4958
  return r !== null && r.apply(this, arguments) || this;
4877
4959
  }
4878
4960
  return e.kind = "ReedSolomonException", e;
4879
4961
  }(Je)
4880
- ), Yc = /* @__PURE__ */ function() {
4962
+ ), Zc = /* @__PURE__ */ function() {
4881
4963
  var r = function(e, t) {
4882
4964
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
4883
4965
  n.__proto__ = i;
@@ -4895,7 +4977,7 @@ var hn = (
4895
4977
  }(), Hr = (
4896
4978
  /** @class */
4897
4979
  function(r) {
4898
- Yc(e, r);
4980
+ Zc(e, r);
4899
4981
  function e() {
4900
4982
  return r !== null && r.apply(this, arguments) || this;
4901
4983
  }
@@ -5332,7 +5414,7 @@ var qi = (
5332
5414
  return this.points;
5333
5415
  }, r;
5334
5416
  }()
5335
- ), Zc = /* @__PURE__ */ function() {
5417
+ ), Kc = /* @__PURE__ */ function() {
5336
5418
  var r = function(e, t) {
5337
5419
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
5338
5420
  n.__proto__ = i;
@@ -5347,10 +5429,10 @@ var qi = (
5347
5429
  }
5348
5430
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
5349
5431
  };
5350
- }(), Kc = (
5432
+ }(), Qc = (
5351
5433
  /** @class */
5352
5434
  function(r) {
5353
- Zc(e, r);
5435
+ Kc(e, r);
5354
5436
  function e(t, n, i, a, o) {
5355
5437
  var s = r.call(this, t, n) || this;
5356
5438
  return s.compact = i, s.nbDatablocks = a, s.nbLayers = o, s;
@@ -5508,7 +5590,7 @@ var qi = (
5508
5590
  return new r(this.a11 * e.a11 + this.a21 * e.a12 + this.a31 * e.a13, this.a11 * e.a21 + this.a21 * e.a22 + this.a31 * e.a23, this.a11 * e.a31 + this.a21 * e.a32 + this.a31 * e.a33, this.a12 * e.a11 + this.a22 * e.a12 + this.a32 * e.a13, this.a12 * e.a21 + this.a22 * e.a22 + this.a32 * e.a23, this.a12 * e.a31 + this.a22 * e.a32 + this.a32 * e.a33, this.a13 * e.a11 + this.a23 * e.a12 + this.a33 * e.a13, this.a13 * e.a21 + this.a23 * e.a22 + this.a33 * e.a23, this.a13 * e.a31 + this.a23 * e.a32 + this.a33 * e.a33);
5509
5591
  }, r;
5510
5592
  }()
5511
- ), Qc = /* @__PURE__ */ function() {
5593
+ ), Jc = /* @__PURE__ */ function() {
5512
5594
  var r = function(e, t) {
5513
5595
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
5514
5596
  n.__proto__ = i;
@@ -5523,10 +5605,10 @@ var qi = (
5523
5605
  }
5524
5606
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
5525
5607
  };
5526
- }(), Jc = (
5608
+ }(), eu = (
5527
5609
  /** @class */
5528
5610
  function(r) {
5529
- Qc(e, r);
5611
+ Jc(e, r);
5530
5612
  function e() {
5531
5613
  return r !== null && r.apply(this, arguments) || this;
5532
5614
  }
@@ -5559,7 +5641,7 @@ var qi = (
5559
5641
  r.gridSampler = e;
5560
5642
  }, r.getInstance = function() {
5561
5643
  return r.gridSampler;
5562
- }, r.gridSampler = new Jc(), r;
5644
+ }, r.gridSampler = new eu(), r;
5563
5645
  }()
5564
5646
  ), Ze = (
5565
5647
  /** @class */
@@ -5575,7 +5657,7 @@ var qi = (
5575
5657
  return this.y;
5576
5658
  }, r;
5577
5659
  }()
5578
- ), eu = (
5660
+ ), tu = (
5579
5661
  /** @class */
5580
5662
  function() {
5581
5663
  function r(e) {
@@ -5596,7 +5678,7 @@ var qi = (
5596
5678
  }
5597
5679
  this.extractParameters(n);
5598
5680
  var a = this.sampleGrid(this.image, n[this.shift % 4], n[(this.shift + 1) % 4], n[(this.shift + 2) % 4], n[(this.shift + 3) % 4]), o = this.getMatrixCornerPoints(n);
5599
- return new Kc(a, o, this.compact, this.nbDataBlocks, this.nbLayers);
5681
+ return new Qc(a, o, this.compact, this.nbDataBlocks, this.nbLayers);
5600
5682
  }, r.prototype.extractParameters = function(e) {
5601
5683
  if (!this.isValidPoint(e[0]) || !this.isValidPoint(e[1]) || !this.isValidPoint(e[2]) || !this.isValidPoint(e[3]))
5602
5684
  throw new b();
@@ -5750,7 +5832,7 @@ var qi = (
5750
5832
  }
5751
5833
  return r.prototype.decode = function(e, t) {
5752
5834
  t === void 0 && (t = null);
5753
- var n = null, i = new eu(e.getBlackMatrix()), a = null, o = null;
5835
+ var n = null, i = new tu(e.getBlackMatrix()), a = null, o = null;
5754
5836
  try {
5755
5837
  var s = i.detectMirror(!1);
5756
5838
  a = s.getPoints(), this.reportFoundResultPoints(t, a), o = new qi().decode(s);
@@ -5778,7 +5860,7 @@ var qi = (
5778
5860
  }, r.prototype.reset = function() {
5779
5861
  }, r;
5780
5862
  }()
5781
- ), tu = /* @__PURE__ */ function() {
5863
+ ), ru = /* @__PURE__ */ function() {
5782
5864
  var r = function(e, t) {
5783
5865
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
5784
5866
  n.__proto__ = i;
@@ -5795,7 +5877,7 @@ var qi = (
5795
5877
  };
5796
5878
  }();
5797
5879
  (function(r) {
5798
- tu(e, r);
5880
+ ru(e, r);
5799
5881
  function e(t) {
5800
5882
  return t === void 0 && (t = 500), r.call(this, new ei(), t) || this;
5801
5883
  }
@@ -5899,7 +5981,7 @@ var Se = (
5899
5981
  return c / a;
5900
5982
  }, r;
5901
5983
  }()
5902
- ), ru = /* @__PURE__ */ function() {
5984
+ ), nu = /* @__PURE__ */ function() {
5903
5985
  var r = function(e, t) {
5904
5986
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
5905
5987
  n.__proto__ = i;
@@ -5917,7 +5999,7 @@ var Se = (
5917
5999
  }(), ji = (
5918
6000
  /** @class */
5919
6001
  function(r) {
5920
- ru(e, r);
6002
+ nu(e, r);
5921
6003
  function e() {
5922
6004
  return r !== null && r.apply(this, arguments) || this;
5923
6005
  }
@@ -6179,7 +6261,7 @@ var Se = (
6179
6261
  Int32Array.from([2, 3, 3, 1, 1, 1, 2])
6180
6262
  ], e.MAX_AVG_VARIANCE = 0.25, e.MAX_INDIVIDUAL_VARIANCE = 0.7, e.CODE_SHIFT = 98, e.CODE_CODE_C = 99, e.CODE_CODE_B = 100, e.CODE_CODE_A = 101, e.CODE_FNC_1 = 102, e.CODE_FNC_2 = 97, e.CODE_FNC_3 = 96, e.CODE_FNC_4_A = 101, e.CODE_FNC_4_B = 100, e.CODE_START_A = 103, e.CODE_START_B = 104, e.CODE_START_C = 105, e.CODE_STOP = 106, e;
6181
6263
  }(Se)
6182
- ), nu = /* @__PURE__ */ function() {
6264
+ ), iu = /* @__PURE__ */ function() {
6183
6265
  var r = function(e, t) {
6184
6266
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
6185
6267
  n.__proto__ = i;
@@ -6206,7 +6288,7 @@ var Se = (
6206
6288
  }, Yi = (
6207
6289
  /** @class */
6208
6290
  function(r) {
6209
- nu(e, r);
6291
+ iu(e, r);
6210
6292
  function e(t, n) {
6211
6293
  t === void 0 && (t = !1), n === void 0 && (n = !1);
6212
6294
  var i = r.call(this) || this;
@@ -6423,7 +6505,7 @@ var Se = (
6423
6505
  // /-%
6424
6506
  ], e.ASTERISK_ENCODING = 148, e;
6425
6507
  }(Se)
6426
- ), iu = /* @__PURE__ */ function() {
6508
+ ), au = /* @__PURE__ */ function() {
6427
6509
  var r = function(e, t) {
6428
6510
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
6429
6511
  n.__proto__ = i;
@@ -6450,7 +6532,7 @@ var Se = (
6450
6532
  }, Zi = (
6451
6533
  /** @class */
6452
6534
  function(r) {
6453
- iu(e, r);
6535
+ au(e, r);
6454
6536
  function e() {
6455
6537
  var t = r.call(this) || this;
6456
6538
  return t.decodeRowResult = "", t.counters = new Int32Array(6), t;
@@ -6665,7 +6747,7 @@ var Se = (
6665
6747
  350
6666
6748
  ], e.ASTERISK_ENCODING = e.CHARACTER_ENCODINGS[47], e;
6667
6749
  }(Se)
6668
- ), au = /* @__PURE__ */ function() {
6750
+ ), ou = /* @__PURE__ */ function() {
6669
6751
  var r = function(e, t) {
6670
6752
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
6671
6753
  n.__proto__ = i;
@@ -6680,7 +6762,7 @@ var Se = (
6680
6762
  }
6681
6763
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
6682
6764
  };
6683
- }(), ou = function(r) {
6765
+ }(), su = function(r) {
6684
6766
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
6685
6767
  if (t) return t.call(r);
6686
6768
  if (r && typeof r.length == "number") return {
@@ -6692,7 +6774,7 @@ var Se = (
6692
6774
  }, Ki = (
6693
6775
  /** @class */
6694
6776
  function(r) {
6695
- au(e, r);
6777
+ ou(e, r);
6696
6778
  function e() {
6697
6779
  var t = r !== null && r.apply(this, arguments) || this;
6698
6780
  return t.narrowLineWidth = -1, t;
@@ -6704,7 +6786,7 @@ var Se = (
6704
6786
  i != null && (f = i.get(ge.ALLOWED_LENGTHS)), f == null && (f = e.DEFAULT_ALLOWED_LENGTHS);
6705
6787
  var h = u.length, d = !1, v = 0;
6706
6788
  try {
6707
- for (var g = ou(f), x = g.next(); !x.done; x = g.next()) {
6789
+ for (var g = su(f), x = g.next(); !x.done; x = g.next()) {
6708
6790
  var m = x.value;
6709
6791
  if (h === m) {
6710
6792
  d = !0;
@@ -6828,7 +6910,7 @@ var Se = (
6828
6910
  // 3x
6829
6911
  ], e;
6830
6912
  }(Se)
6831
- ), su = /* @__PURE__ */ function() {
6913
+ ), lu = /* @__PURE__ */ function() {
6832
6914
  var r = function(e, t) {
6833
6915
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
6834
6916
  n.__proto__ = i;
@@ -6846,7 +6928,7 @@ var Se = (
6846
6928
  }(), lr = (
6847
6929
  /** @class */
6848
6930
  function(r) {
6849
- su(e, r);
6931
+ lu(e, r);
6850
6932
  function e() {
6851
6933
  var t = r !== null && r.apply(this, arguments) || this;
6852
6934
  return t.decodeRowStringBuffer = "", t;
@@ -6928,7 +7010,7 @@ var Se = (
6928
7010
  Int32Array.from([3, 1, 1, 2])
6929
7011
  ], e;
6930
7012
  }(Se)
6931
- ), lu = function(r) {
7013
+ ), cu = function(r) {
6932
7014
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
6933
7015
  if (t) return t.call(r);
6934
7016
  if (r && typeof r.length == "number") return {
@@ -6937,7 +7019,7 @@ var Se = (
6937
7019
  }
6938
7020
  };
6939
7021
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
6940
- }, cu = (
7022
+ }, uu = (
6941
7023
  /** @class */
6942
7024
  function() {
6943
7025
  function r() {
@@ -6956,7 +7038,7 @@ var Se = (
6956
7038
  var f = lr.decodeDigit(e, o, l, lr.L_AND_G_PATTERNS);
6957
7039
  n += String.fromCharCode(48 + f % 10);
6958
7040
  try {
6959
- for (var h = (i = void 0, lu(o)), d = h.next(); !d.done; d = h.next()) {
7041
+ for (var h = (i = void 0, cu(o)), d = h.next(); !d.done; d = h.next()) {
6960
7042
  var v = d.value;
6961
7043
  l += v;
6962
7044
  }
@@ -7022,7 +7104,7 @@ var Se = (
7022
7104
  return t + i + "." + o;
7023
7105
  }, r;
7024
7106
  }()
7025
- ), uu = function(r) {
7107
+ ), fu = function(r) {
7026
7108
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
7027
7109
  if (t) return t.call(r);
7028
7110
  if (r && typeof r.length == "number") return {
@@ -7031,7 +7113,7 @@ var Se = (
7031
7113
  }
7032
7114
  };
7033
7115
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
7034
- }, fu = (
7116
+ }, du = (
7035
7117
  /** @class */
7036
7118
  function() {
7037
7119
  function r() {
@@ -7050,7 +7132,7 @@ var Se = (
7050
7132
  var f = lr.decodeDigit(e, o, l, lr.L_AND_G_PATTERNS);
7051
7133
  n += String.fromCharCode(48 + f % 10);
7052
7134
  try {
7053
- for (var h = (i = void 0, uu(o)), d = h.next(); !d.done; d = h.next()) {
7135
+ for (var h = (i = void 0, fu(o)), d = h.next(); !d.done; d = h.next()) {
7054
7136
  var v = d.value;
7055
7137
  l += v;
7056
7138
  }
@@ -7074,7 +7156,7 @@ var Se = (
7074
7156
  return e.length !== 2 ? null : /* @__PURE__ */ new Map([[Ve.ISSUE_NUMBER, parseInt(e)]]);
7075
7157
  }, r;
7076
7158
  }()
7077
- ), du = (
7159
+ ), hu = (
7078
7160
  /** @class */
7079
7161
  function() {
7080
7162
  function r() {
@@ -7082,15 +7164,15 @@ var Se = (
7082
7164
  return r.decodeRow = function(e, t, n) {
7083
7165
  var i = lr.findGuardPattern(t, n, !1, this.EXTENSION_START_PATTERN, new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));
7084
7166
  try {
7085
- var a = new cu();
7167
+ var a = new uu();
7086
7168
  return a.decodeRow(e, t, i);
7087
7169
  } catch {
7088
- var o = new fu();
7170
+ var o = new du();
7089
7171
  return o.decodeRow(e, t, i);
7090
7172
  }
7091
7173
  }, r.EXTENSION_START_PATTERN = Int32Array.from([1, 1, 2]), r;
7092
7174
  }()
7093
- ), hu = /* @__PURE__ */ function() {
7175
+ ), pu = /* @__PURE__ */ function() {
7094
7176
  var r = function(e, t) {
7095
7177
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7096
7178
  n.__proto__ = i;
@@ -7108,7 +7190,7 @@ var Se = (
7108
7190
  }(), Ae = (
7109
7191
  /** @class */
7110
7192
  function(r) {
7111
- hu(e, r);
7193
+ pu(e, r);
7112
7194
  function e() {
7113
7195
  var t = r.call(this) || this;
7114
7196
  t.decodeRowStringBuffer = "", e.L_AND_G_PATTERNS = e.L_PATTERNS.map(function(s) {
@@ -7147,7 +7229,7 @@ var Se = (
7147
7229
  throw new Ne();
7148
7230
  var m = (a[1] + a[0]) / 2, w = (h[1] + h[0]) / 2, C = this.getBarcodeFormat(), A = [new k(m, t), new k(w, t)], E = new ke(x, null, 0, A, C, (/* @__PURE__ */ new Date()).getTime()), O = 0;
7149
7231
  try {
7150
- var N = du.decodeRow(t, n, h[1]);
7232
+ var N = hu.decodeRow(t, n, h[1]);
7151
7233
  E.putMetadata(Ve.UPC_EAN_EXTENSION, N.getText()), E.putAllMetadata(N.getResultMetadata()), E.addResultPoints(N.getResultPoints()), O = N.getText().length;
7152
7234
  } catch {
7153
7235
  }
@@ -7190,7 +7272,7 @@ var Se = (
7190
7272
  return e.findGuardPattern(t, n, !1, e.START_END_PATTERN, new Int32Array(e.START_END_PATTERN.length).fill(0));
7191
7273
  }, e;
7192
7274
  }(lr)
7193
- ), pu = /* @__PURE__ */ function() {
7275
+ ), vu = /* @__PURE__ */ function() {
7194
7276
  var r = function(e, t) {
7195
7277
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7196
7278
  n.__proto__ = i;
@@ -7217,7 +7299,7 @@ var Se = (
7217
7299
  }, ti = (
7218
7300
  /** @class */
7219
7301
  function(r) {
7220
- pu(e, r);
7302
+ vu(e, r);
7221
7303
  function e() {
7222
7304
  var t = r.call(this) || this;
7223
7305
  return t.decodeMiddleCounters = Int32Array.from([0, 0, 0, 0]), t;
@@ -7275,7 +7357,7 @@ var Se = (
7275
7357
  throw new b();
7276
7358
  }, e.FIRST_DIGIT_ENCODINGS = [0, 11, 13, 14, 19, 25, 28, 21, 22, 26], e;
7277
7359
  }(Ae)
7278
- ), vu = /* @__PURE__ */ function() {
7360
+ ), gu = /* @__PURE__ */ function() {
7279
7361
  var r = function(e, t) {
7280
7362
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7281
7363
  n.__proto__ = i;
@@ -7302,7 +7384,7 @@ var Se = (
7302
7384
  }, ea = (
7303
7385
  /** @class */
7304
7386
  function(r) {
7305
- vu(e, r);
7387
+ gu(e, r);
7306
7388
  function e() {
7307
7389
  var t = r.call(this) || this;
7308
7390
  return t.decodeMiddleCounters = Int32Array.from([0, 0, 0, 0]), t;
@@ -7353,7 +7435,7 @@ var Se = (
7353
7435
  return B.EAN_8;
7354
7436
  }, e;
7355
7437
  }(Ae)
7356
- ), gu = /* @__PURE__ */ function() {
7438
+ ), xu = /* @__PURE__ */ function() {
7357
7439
  var r = function(e, t) {
7358
7440
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7359
7441
  n.__proto__ = i;
@@ -7371,7 +7453,7 @@ var Se = (
7371
7453
  }(), ta = (
7372
7454
  /** @class */
7373
7455
  function(r) {
7374
- gu(e, r);
7456
+ xu(e, r);
7375
7457
  function e() {
7376
7458
  var t = r !== null && r.apply(this, arguments) || this;
7377
7459
  return t.ean13Reader = new ti(), t;
@@ -7395,7 +7477,7 @@ var Se = (
7395
7477
  this.ean13Reader.reset();
7396
7478
  }, e;
7397
7479
  }(Ae)
7398
- ), xu = /* @__PURE__ */ function() {
7480
+ ), yu = /* @__PURE__ */ function() {
7399
7481
  var r = function(e, t) {
7400
7482
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7401
7483
  n.__proto__ = i;
@@ -7410,7 +7492,7 @@ var Se = (
7410
7492
  }
7411
7493
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
7412
7494
  };
7413
- }(), yu = function(r) {
7495
+ }(), mu = function(r) {
7414
7496
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
7415
7497
  if (t) return t.call(r);
7416
7498
  if (r && typeof r.length == "number") return {
@@ -7422,7 +7504,7 @@ var Se = (
7422
7504
  }, ra = (
7423
7505
  /** @class */
7424
7506
  function(r) {
7425
- xu(e, r);
7507
+ yu(e, r);
7426
7508
  function e() {
7427
7509
  var t = r.call(this) || this;
7428
7510
  return t.decodeMiddleCounters = new Int32Array(4), t;
@@ -7436,7 +7518,7 @@ var Se = (
7436
7518
  var h = e.decodeDigit(t, s, c, e.L_AND_G_PATTERNS);
7437
7519
  i += String.fromCharCode(48 + h % 10);
7438
7520
  try {
7439
- for (var d = (a = void 0, yu(s)), v = d.next(); !v.done; v = d.next()) {
7521
+ for (var d = (a = void 0, mu(s)), v = d.next(); !v.done; v = d.next()) {
7440
7522
  var g = v.value;
7441
7523
  c += g;
7442
7524
  }
@@ -7503,7 +7585,7 @@ var Se = (
7503
7585
  Int32Array.from([7, 11, 13, 14, 19, 25, 28, 21, 22, 1])
7504
7586
  ], e;
7505
7587
  }(Ae)
7506
- ), mu = /* @__PURE__ */ function() {
7588
+ ), wu = /* @__PURE__ */ function() {
7507
7589
  var r = function(e, t) {
7508
7590
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7509
7591
  n.__proto__ = i;
@@ -7530,7 +7612,7 @@ var Se = (
7530
7612
  }, zn = (
7531
7613
  /** @class */
7532
7614
  function(r) {
7533
- mu(e, r);
7615
+ wu(e, r);
7534
7616
  function e(t) {
7535
7617
  var n = r.call(this) || this, i = t == null ? null : t.get(ge.POSSIBLE_FORMATS), a = [];
7536
7618
  return i != null && (i.indexOf(B.EAN_13) > -1 && a.push(new ti()), i.indexOf(B.UPC_A) > -1 && a.push(new ta()), i.indexOf(B.EAN_8) > -1 && a.push(new ea()), i.indexOf(B.UPC_E) > -1 && a.push(new ra())), a.length === 0 && (a.push(new ti()), a.push(new ta()), a.push(new ea()), a.push(new ra())), n.readers = a, n;
@@ -7578,7 +7660,7 @@ var Se = (
7578
7660
  }
7579
7661
  }, e;
7580
7662
  }(Se)
7581
- ), wu = /* @__PURE__ */ function() {
7663
+ ), Cu = /* @__PURE__ */ function() {
7582
7664
  var r = function(e, t) {
7583
7665
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7584
7666
  n.__proto__ = i;
@@ -7593,10 +7675,10 @@ var Se = (
7593
7675
  }
7594
7676
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
7595
7677
  };
7596
- }(), Cu = (
7678
+ }(), Au = (
7597
7679
  /** @class */
7598
7680
  function(r) {
7599
- wu(e, r);
7681
+ Cu(e, r);
7600
7682
  function e() {
7601
7683
  var t = r !== null && r.apply(this, arguments) || this;
7602
7684
  return t.CODA_BAR_CHAR_SET = {
@@ -7659,7 +7741,7 @@ var Se = (
7659
7741
  return n.test(t);
7660
7742
  }, e;
7661
7743
  }(Se)
7662
- ), Au = /* @__PURE__ */ function() {
7744
+ ), _u = /* @__PURE__ */ function() {
7663
7745
  var r = function(e, t) {
7664
7746
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7665
7747
  n.__proto__ = i;
@@ -7674,7 +7756,7 @@ var Se = (
7674
7756
  }
7675
7757
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
7676
7758
  };
7677
- }(), _u = function(r) {
7759
+ }(), Eu = function(r) {
7678
7760
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
7679
7761
  if (t) return t.call(r);
7680
7762
  if (r && typeof r.length == "number") return {
@@ -7686,7 +7768,7 @@ var Se = (
7686
7768
  }, Tt = (
7687
7769
  /** @class */
7688
7770
  function(r) {
7689
- Au(e, r);
7771
+ _u(e, r);
7690
7772
  function e() {
7691
7773
  var t = r.call(this) || this;
7692
7774
  return t.decodeFinderCounters = new Int32Array(4), t.dataCharacterCounters = new Int32Array(8), t.oddRoundingErrors = new Array(4), t.evenRoundingErrors = new Array(4), t.oddCounts = new Array(t.dataCharacterCounters.length / 2), t.evenCounts = new Array(t.dataCharacterCounters.length / 2), t;
@@ -7723,7 +7805,7 @@ var Se = (
7723
7805
  if (s >= e.MIN_FINDER_PATTERN_RATIO && s <= e.MAX_FINDER_PATTERN_RATIO) {
7724
7806
  var l = Number.MAX_SAFE_INTEGER, c = Number.MIN_SAFE_INTEGER;
7725
7807
  try {
7726
- for (var u = _u(t), f = u.next(); !f.done; f = u.next()) {
7808
+ for (var u = Eu(t), f = u.next(); !f.done; f = u.next()) {
7727
7809
  var h = f.value;
7728
7810
  h > c && (c = h), h < l && (l = h);
7729
7811
  }
@@ -7783,7 +7865,7 @@ var Se = (
7783
7865
  return this.value;
7784
7866
  }, r;
7785
7867
  }()
7786
- ), Eu = function(r) {
7868
+ ), Su = function(r) {
7787
7869
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
7788
7870
  if (t) return t.call(r);
7789
7871
  if (r && typeof r.length == "number") return {
@@ -7800,7 +7882,7 @@ var Se = (
7800
7882
  return r.getRSSvalue = function(e, t, n) {
7801
7883
  var i, a, o = 0;
7802
7884
  try {
7803
- for (var s = Eu(e), l = s.next(); !l.done; l = s.next()) {
7885
+ for (var s = Su(e), l = s.next(); !l.done; l = s.next()) {
7804
7886
  var c = l.value;
7805
7887
  o += c;
7806
7888
  }
@@ -7837,7 +7919,7 @@ var Se = (
7837
7919
  return a;
7838
7920
  }, r;
7839
7921
  }()
7840
- ), Su = (
7922
+ ), Iu = (
7841
7923
  /** @class */
7842
7924
  function() {
7843
7925
  function r() {
@@ -7879,7 +7961,7 @@ var Se = (
7879
7961
  return this.newPosition;
7880
7962
  }, r;
7881
7963
  }()
7882
- ), Iu = /* @__PURE__ */ function() {
7964
+ ), bu = /* @__PURE__ */ function() {
7883
7965
  var r = function(e, t) {
7884
7966
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7885
7967
  n.__proto__ = i;
@@ -7897,7 +7979,7 @@ var Se = (
7897
7979
  }(), at = (
7898
7980
  /** @class */
7899
7981
  function(r) {
7900
- Iu(e, r);
7982
+ bu(e, r);
7901
7983
  function e(t, n) {
7902
7984
  var i = r.call(this, t) || this;
7903
7985
  return i.value = n, i;
@@ -7908,7 +7990,7 @@ var Se = (
7908
7990
  return this.value === e.FNC1;
7909
7991
  }, e.FNC1 = "$", e;
7910
7992
  }(Ai)
7911
- ), bu = /* @__PURE__ */ function() {
7993
+ ), Ou = /* @__PURE__ */ function() {
7912
7994
  var r = function(e, t) {
7913
7995
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7914
7996
  n.__proto__ = i;
@@ -7926,7 +8008,7 @@ var Se = (
7926
8008
  }(), Nt = (
7927
8009
  /** @class */
7928
8010
  function(r) {
7929
- bu(e, r);
8011
+ Ou(e, r);
7930
8012
  function e(t, n, i) {
7931
8013
  var a = r.call(this, t) || this;
7932
8014
  return i ? (a.remaining = !0, a.remainingValue = a.remainingValue) : (a.remaining = !1, a.remainingValue = 0), a.newString = n, a;
@@ -7939,7 +8021,7 @@ var Se = (
7939
8021
  return this.remainingValue;
7940
8022
  }, e;
7941
8023
  }(Ai)
7942
- ), Ou = /* @__PURE__ */ function() {
8024
+ ), Nu = /* @__PURE__ */ function() {
7943
8025
  var r = function(e, t) {
7944
8026
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
7945
8027
  n.__proto__ = i;
@@ -7957,7 +8039,7 @@ var Se = (
7957
8039
  }(), Ut = (
7958
8040
  /** @class */
7959
8041
  function(r) {
7960
- Ou(e, r);
8042
+ Nu(e, r);
7961
8043
  function e(t, n, i) {
7962
8044
  var a = r.call(this, t) || this;
7963
8045
  if (n < 0 || n > 10 || i < 0 || i > 10)
@@ -7987,7 +8069,7 @@ var Se = (
7987
8069
  }
7988
8070
  };
7989
8071
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
7990
- }, Nu = (
8072
+ }, Tu = (
7991
8073
  /** @class */
7992
8074
  function() {
7993
8075
  function r() {
@@ -8220,7 +8302,7 @@ var Se = (
8220
8302
  return r.prototype.decodeAllCodes = function(e, t) {
8221
8303
  var n = t, i = null;
8222
8304
  do {
8223
- var a = this.decodeGeneralPurposeField(n, i), o = Nu.parseFieldsInGeneralPurpose(a.getNewString());
8305
+ var a = this.decodeGeneralPurposeField(n, i), o = Tu.parseFieldsInGeneralPurpose(a.getNewString());
8224
8306
  if (o != null && e.append(o), a.isRemaining() ? i = "" + a.getRemainingValue() : i = null, n === a.getNewPosition())
8225
8307
  break;
8226
8308
  n = a.getNewPosition();
@@ -8467,7 +8549,7 @@ var Se = (
8467
8549
  return this.generalDecoder;
8468
8550
  }, r;
8469
8551
  }()
8470
- ), Tu = /* @__PURE__ */ function() {
8552
+ ), Du = /* @__PURE__ */ function() {
8471
8553
  var r = function(e, t) {
8472
8554
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8473
8555
  n.__proto__ = i;
@@ -8485,7 +8567,7 @@ var Se = (
8485
8567
  }(), lt = (
8486
8568
  /** @class */
8487
8569
  function(r) {
8488
- Tu(e, r);
8570
+ Du(e, r);
8489
8571
  function e(t) {
8490
8572
  return r.call(this, t) || this;
8491
8573
  }
@@ -8507,7 +8589,7 @@ var Se = (
8507
8589
  i = 10 - i % 10, i === 10 && (i = 0), t.append(i);
8508
8590
  }, e.GTIN_SIZE = 40, e;
8509
8591
  }(Io)
8510
- ), Du = /* @__PURE__ */ function() {
8592
+ ), Ru = /* @__PURE__ */ function() {
8511
8593
  var r = function(e, t) {
8512
8594
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8513
8595
  n.__proto__ = i;
@@ -8522,10 +8604,10 @@ var Se = (
8522
8604
  }
8523
8605
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
8524
8606
  };
8525
- }(), Ru = (
8607
+ }(), Mu = (
8526
8608
  /** @class */
8527
8609
  function(r) {
8528
- Du(e, r);
8610
+ Ru(e, r);
8529
8611
  function e(t) {
8530
8612
  return r.call(this, t) || this;
8531
8613
  }
@@ -8536,7 +8618,7 @@ var Se = (
8536
8618
  return t.append(i), this.encodeCompressedGtinWithoutAI(t, e.HEADER_SIZE + 4, n), this.getGeneralDecoder().decodeAllCodes(t, e.HEADER_SIZE + 44);
8537
8619
  }, e.HEADER_SIZE = 4, e;
8538
8620
  }(lt)
8539
- ), Mu = /* @__PURE__ */ function() {
8621
+ ), Vu = /* @__PURE__ */ function() {
8540
8622
  var r = function(e, t) {
8541
8623
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8542
8624
  n.__proto__ = i;
@@ -8551,10 +8633,10 @@ var Se = (
8551
8633
  }
8552
8634
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
8553
8635
  };
8554
- }(), Vu = (
8636
+ }(), Pu = (
8555
8637
  /** @class */
8556
8638
  function(r) {
8557
- Mu(e, r);
8639
+ Vu(e, r);
8558
8640
  function e(t) {
8559
8641
  return r.call(this, t) || this;
8560
8642
  }
@@ -8563,7 +8645,7 @@ var Se = (
8563
8645
  return this.getGeneralDecoder().decodeAllCodes(t, e.HEADER_SIZE);
8564
8646
  }, e.HEADER_SIZE = 5, e;
8565
8647
  }(Io)
8566
- ), Pu = /* @__PURE__ */ function() {
8648
+ ), Fu = /* @__PURE__ */ function() {
8567
8649
  var r = function(e, t) {
8568
8650
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8569
8651
  n.__proto__ = i;
@@ -8581,7 +8663,7 @@ var Se = (
8581
8663
  }(), Qr = (
8582
8664
  /** @class */
8583
8665
  function(r) {
8584
- Pu(e, r);
8666
+ Fu(e, r);
8585
8667
  function e(t) {
8586
8668
  return r.call(this, t) || this;
8587
8669
  }
@@ -8593,7 +8675,7 @@ var Se = (
8593
8675
  t.append(o);
8594
8676
  }, e;
8595
8677
  }(lt)
8596
- ), Fu = /* @__PURE__ */ function() {
8678
+ ), Bu = /* @__PURE__ */ function() {
8597
8679
  var r = function(e, t) {
8598
8680
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8599
8681
  n.__proto__ = i;
@@ -8611,7 +8693,7 @@ var Se = (
8611
8693
  }(), bo = (
8612
8694
  /** @class */
8613
8695
  function(r) {
8614
- Fu(e, r);
8696
+ Bu(e, r);
8615
8697
  function e(t) {
8616
8698
  return r.call(this, t) || this;
8617
8699
  }
@@ -8622,7 +8704,7 @@ var Se = (
8622
8704
  return this.encodeCompressedGtin(t, e.HEADER_SIZE), this.encodeCompressedWeight(t, e.HEADER_SIZE + Qr.GTIN_SIZE, e.WEIGHT_SIZE), t.toString();
8623
8705
  }, e.HEADER_SIZE = 5, e.WEIGHT_SIZE = 15, e;
8624
8706
  }(Qr)
8625
- ), Bu = /* @__PURE__ */ function() {
8707
+ ), Lu = /* @__PURE__ */ function() {
8626
8708
  var r = function(e, t) {
8627
8709
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8628
8710
  n.__proto__ = i;
@@ -8637,10 +8719,10 @@ var Se = (
8637
8719
  }
8638
8720
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
8639
8721
  };
8640
- }(), Lu = (
8722
+ }(), ku = (
8641
8723
  /** @class */
8642
8724
  function(r) {
8643
- Bu(e, r);
8725
+ Lu(e, r);
8644
8726
  function e(t) {
8645
8727
  return r.call(this, t) || this;
8646
8728
  }
@@ -8650,7 +8732,7 @@ var Se = (
8650
8732
  return t;
8651
8733
  }, e;
8652
8734
  }(bo)
8653
- ), ku = /* @__PURE__ */ function() {
8735
+ ), zu = /* @__PURE__ */ function() {
8654
8736
  var r = function(e, t) {
8655
8737
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8656
8738
  n.__proto__ = i;
@@ -8665,10 +8747,10 @@ var Se = (
8665
8747
  }
8666
8748
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
8667
8749
  };
8668
- }(), zu = (
8750
+ }(), Uu = (
8669
8751
  /** @class */
8670
8752
  function(r) {
8671
- ku(e, r);
8753
+ zu(e, r);
8672
8754
  function e(t) {
8673
8755
  return r.call(this, t) || this;
8674
8756
  }
@@ -8678,7 +8760,7 @@ var Se = (
8678
8760
  return t < 1e4 ? t : t - 1e4;
8679
8761
  }, e;
8680
8762
  }(bo)
8681
- ), Uu = /* @__PURE__ */ function() {
8763
+ ), Hu = /* @__PURE__ */ function() {
8682
8764
  var r = function(e, t) {
8683
8765
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8684
8766
  n.__proto__ = i;
@@ -8693,10 +8775,10 @@ var Se = (
8693
8775
  }
8694
8776
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
8695
8777
  };
8696
- }(), Hu = (
8778
+ }(), Gu = (
8697
8779
  /** @class */
8698
8780
  function(r) {
8699
- Uu(e, r);
8781
+ Hu(e, r);
8700
8782
  function e(t) {
8701
8783
  return r.call(this, t) || this;
8702
8784
  }
@@ -8711,7 +8793,7 @@ var Se = (
8711
8793
  return t.append(i.getNewString()), t.toString();
8712
8794
  }, e.HEADER_SIZE = 8, e.LAST_DIGIT_SIZE = 2, e;
8713
8795
  }(lt)
8714
- ), Gu = /* @__PURE__ */ function() {
8796
+ ), Xu = /* @__PURE__ */ function() {
8715
8797
  var r = function(e, t) {
8716
8798
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8717
8799
  n.__proto__ = i;
@@ -8726,10 +8808,10 @@ var Se = (
8726
8808
  }
8727
8809
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
8728
8810
  };
8729
- }(), Xu = (
8811
+ }(), Wu = (
8730
8812
  /** @class */
8731
8813
  function(r) {
8732
- Gu(e, r);
8814
+ Xu(e, r);
8733
8815
  function e(t) {
8734
8816
  return r.call(this, t) || this;
8735
8817
  }
@@ -8746,7 +8828,7 @@ var Se = (
8746
8828
  return t.append(a.getNewString()), t.toString();
8747
8829
  }, e.HEADER_SIZE = 8, e.LAST_DIGIT_SIZE = 2, e.FIRST_THREE_DIGITS_SIZE = 10, e;
8748
8830
  }(lt)
8749
- ), Wu = /* @__PURE__ */ function() {
8831
+ ), qu = /* @__PURE__ */ function() {
8750
8832
  var r = function(e, t) {
8751
8833
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8752
8834
  n.__proto__ = i;
@@ -8764,7 +8846,7 @@ var Se = (
8764
8846
  }(), wt = (
8765
8847
  /** @class */
8766
8848
  function(r) {
8767
- Wu(e, r);
8849
+ qu(e, r);
8768
8850
  function e(t, n, i) {
8769
8851
  var a = r.call(this, t) || this;
8770
8852
  return a.dateCode = i, a.firstAIdigits = n, a;
@@ -8792,25 +8874,25 @@ var Se = (
8792
8874
  }, e.HEADER_SIZE = 8, e.WEIGHT_SIZE = 20, e.DATE_SIZE = 16, e;
8793
8875
  }(Qr)
8794
8876
  );
8795
- function qu(r) {
8877
+ function $u(r) {
8796
8878
  try {
8797
8879
  if (r.get(1))
8798
- return new Ru(r);
8880
+ return new Mu(r);
8799
8881
  if (!r.get(2))
8800
- return new Vu(r);
8882
+ return new Pu(r);
8801
8883
  var e = Kr.extractNumericValueFromBitArray(r, 1, 4);
8802
8884
  switch (e) {
8803
8885
  case 4:
8804
- return new Lu(r);
8886
+ return new ku(r);
8805
8887
  case 5:
8806
- return new zu(r);
8888
+ return new Uu(r);
8807
8889
  }
8808
8890
  var t = Kr.extractNumericValueFromBitArray(r, 1, 5);
8809
8891
  switch (t) {
8810
8892
  case 12:
8811
- return new Hu(r);
8893
+ return new Gu(r);
8812
8894
  case 13:
8813
- return new Xu(r);
8895
+ return new Wu(r);
8814
8896
  }
8815
8897
  var n = Kr.extractNumericValueFromBitArray(r, 1, 7);
8816
8898
  switch (n) {
@@ -8862,7 +8944,7 @@ var ia = (
8862
8944
  return e;
8863
8945
  }, r;
8864
8946
  }()
8865
- ), $u = (
8947
+ ), ju = (
8866
8948
  /** @class */
8867
8949
  function() {
8868
8950
  function r(e, t, n) {
@@ -8891,7 +8973,7 @@ var ia = (
8891
8973
  }
8892
8974
  }, r;
8893
8975
  }()
8894
- ), ju = /* @__PURE__ */ function() {
8976
+ ), Yu = /* @__PURE__ */ function() {
8895
8977
  var r = function(e, t) {
8896
8978
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
8897
8979
  n.__proto__ = i;
@@ -8915,10 +8997,10 @@ var ia = (
8915
8997
  }
8916
8998
  };
8917
8999
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
8918
- }, Yu = (
9000
+ }, Zu = (
8919
9001
  /** @class */
8920
9002
  function(r) {
8921
- ju(e, r);
9003
+ Yu(e, r);
8922
9004
  function e() {
8923
9005
  var t = r !== null && r.apply(this, arguments) || this;
8924
9006
  return t.pairs = new Array(e.MAX_PAIRS), t.rows = new Array(), t.startEnd = [2], t;
@@ -9028,7 +9110,7 @@ var ia = (
9028
9110
  }
9029
9111
  a = s.isEquivalent(this.pairs), i++;
9030
9112
  }
9031
- o || a || e.isPartialRow(this.pairs, this.rows) || (this.rows.push(i, new $u(this.pairs, t, n)), this.removePartialRows(this.pairs, this.rows));
9113
+ o || a || e.isPartialRow(this.pairs, this.rows) || (this.rows.push(i, new ju(this.pairs, t, n)), this.removePartialRows(this.pairs, this.rows));
9032
9114
  }, e.prototype.removePartialRows = function(t, n) {
9033
9115
  var i, a, o, s, l, c;
9034
9116
  try {
@@ -9133,7 +9215,7 @@ var ia = (
9133
9215
  }, e.prototype.getRows = function() {
9134
9216
  return this.rows;
9135
9217
  }, e.constructResult = function(t) {
9136
- var n = Su.buildBitArray(t), i = qu(n), a = i.parseInformation(), o = t[0].getFinderPattern().getResultPoints(), s = t[t.length - 1].getFinderPattern().getResultPoints(), l = [o[0], o[1], s[0], s[1]];
9218
+ var n = Iu.buildBitArray(t), i = $u(n), a = i.parseInformation(), o = t[0].getFinderPattern().getResultPoints(), s = t[t.length - 1].getFinderPattern().getResultPoints(), l = [o[0], o[1], s[0], s[1]];
9137
9219
  return new ke(a, null, null, l, B.RSS_EXPANDED, null);
9138
9220
  }, e.prototype.checkChecksum = function() {
9139
9221
  var t = this.pairs.get(0), n = t.getLeftChar(), i = t.getRightChar();
@@ -9434,7 +9516,7 @@ var ia = (
9434
9516
  ]
9435
9517
  ], e.MAX_PAIRS = 11, e;
9436
9518
  }(Tt)
9437
- ), Zu = /* @__PURE__ */ function() {
9519
+ ), Ku = /* @__PURE__ */ function() {
9438
9520
  var r = function(e, t) {
9439
9521
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
9440
9522
  n.__proto__ = i;
@@ -9449,10 +9531,10 @@ var ia = (
9449
9531
  }
9450
9532
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
9451
9533
  };
9452
- }(), Ku = (
9534
+ }(), Qu = (
9453
9535
  /** @class */
9454
9536
  function(r) {
9455
- Zu(e, r);
9537
+ Ku(e, r);
9456
9538
  function e(t, n, i) {
9457
9539
  var a = r.call(this, t, n) || this;
9458
9540
  return a.count = 0, a.finderPattern = i, a;
@@ -9465,7 +9547,7 @@ var ia = (
9465
9547
  this.count++;
9466
9548
  }, e;
9467
9549
  }(an)
9468
- ), Qu = /* @__PURE__ */ function() {
9550
+ ), Ju = /* @__PURE__ */ function() {
9469
9551
  var r = function(e, t) {
9470
9552
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
9471
9553
  n.__proto__ = i;
@@ -9492,7 +9574,7 @@ var ia = (
9492
9574
  }, aa = (
9493
9575
  /** @class */
9494
9576
  function(r) {
9495
- Qu(e, r);
9577
+ Ju(e, r);
9496
9578
  function e() {
9497
9579
  var t = r !== null && r.apply(this, arguments) || this;
9498
9580
  return t.possibleLeftPairs = [], t.possibleRightPairs = [], t;
@@ -9579,7 +9661,7 @@ var ia = (
9579
9661
  n && (c = t.getSize() - 1 - c), l.foundPossibleResultPoint(new k(c, i));
9580
9662
  }
9581
9663
  var u = this.decodeDataCharacter(t, s, !0), f = this.decodeDataCharacter(t, s, !1);
9582
- return new Ku(1597 * u.getValue() + f.getValue(), u.getChecksumPortion() + 4 * f.getChecksumPortion(), s);
9664
+ return new Qu(1597 * u.getValue() + f.getValue(), u.getChecksumPortion() + 4 * f.getChecksumPortion(), s);
9583
9665
  } catch {
9584
9666
  return null;
9585
9667
  }
@@ -9700,7 +9782,7 @@ var ia = (
9700
9782
  Int32Array.from([1, 3, 9, 1])
9701
9783
  ], e;
9702
9784
  }(Tt)
9703
- ), Ju = /* @__PURE__ */ function() {
9785
+ ), ef = /* @__PURE__ */ function() {
9704
9786
  var r = function(e, t) {
9705
9787
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
9706
9788
  n.__proto__ = i;
@@ -9718,12 +9800,12 @@ var ia = (
9718
9800
  }(), xr = (
9719
9801
  /** @class */
9720
9802
  function(r) {
9721
- Ju(e, r);
9803
+ ef(e, r);
9722
9804
  function e(t) {
9723
9805
  var n = r.call(this) || this;
9724
9806
  n.readers = [];
9725
9807
  var i = t ? t.get(ge.POSSIBLE_FORMATS) : null, a = t && t.get(ge.ASSUME_CODE_39_CHECK_DIGIT) !== void 0;
9726
- return i && ((i.includes(B.EAN_13) || i.includes(B.UPC_A) || i.includes(B.EAN_8) || i.includes(B.UPC_E)) && n.readers.push(new zn(t)), i.includes(B.CODE_39) && n.readers.push(new Yi(a)), i.includes(B.CODE_93) && n.readers.push(new Zi()), i.includes(B.CODE_128) && n.readers.push(new ji()), i.includes(B.ITF) && n.readers.push(new Ki()), i.includes(B.CODABAR) && n.readers.push(new Cu()), i.includes(B.RSS_14) && n.readers.push(new aa()), i.includes(B.RSS_EXPANDED) && (console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."), n.readers.push(new Yu()))), n.readers.length === 0 && (n.readers.push(new zn(t)), n.readers.push(new Yi()), n.readers.push(new Zi()), n.readers.push(new zn(t)), n.readers.push(new ji()), n.readers.push(new Ki()), n.readers.push(new aa())), n;
9808
+ return i && ((i.includes(B.EAN_13) || i.includes(B.UPC_A) || i.includes(B.EAN_8) || i.includes(B.UPC_E)) && n.readers.push(new zn(t)), i.includes(B.CODE_39) && n.readers.push(new Yi(a)), i.includes(B.CODE_93) && n.readers.push(new Zi()), i.includes(B.CODE_128) && n.readers.push(new ji()), i.includes(B.ITF) && n.readers.push(new Ki()), i.includes(B.CODABAR) && n.readers.push(new Au()), i.includes(B.RSS_14) && n.readers.push(new aa()), i.includes(B.RSS_EXPANDED) && (console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."), n.readers.push(new Zu()))), n.readers.length === 0 && (n.readers.push(new zn(t)), n.readers.push(new Yi()), n.readers.push(new Zi()), n.readers.push(new zn(t)), n.readers.push(new ji()), n.readers.push(new Ki()), n.readers.push(new aa())), n;
9727
9809
  }
9728
9810
  return e.prototype.decodeRow = function(t, n, i) {
9729
9811
  for (var a = 0; a < this.readers.length; a++)
@@ -9738,7 +9820,7 @@ var ia = (
9738
9820
  });
9739
9821
  }, e;
9740
9822
  }(Se)
9741
- ), ef = /* @__PURE__ */ function() {
9823
+ ), tf = /* @__PURE__ */ function() {
9742
9824
  var r = function(e, t) {
9743
9825
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
9744
9826
  n.__proto__ = i;
@@ -9755,7 +9837,7 @@ var ia = (
9755
9837
  };
9756
9838
  }();
9757
9839
  (function(r) {
9758
- ef(e, r);
9840
+ tf(e, r);
9759
9841
  function e(t, n) {
9760
9842
  return t === void 0 && (t = 500), r.call(this, new xr(n), t, n) || this;
9761
9843
  }
@@ -9794,7 +9876,7 @@ var oa = function(r) {
9794
9876
  return this.dataCodewords;
9795
9877
  }, r;
9796
9878
  }()
9797
- ), tf = (
9879
+ ), rf = (
9798
9880
  /** @class */
9799
9881
  function() {
9800
9882
  function r(e, t, n, i, a, o) {
@@ -9888,7 +9970,7 @@ var oa = function(r) {
9888
9970
  ];
9889
9971
  }, r.VERSIONS = r.buildVersions(), r;
9890
9972
  }()
9891
- ), rf = (
9973
+ ), nf = (
9892
9974
  /** @class */
9893
9975
  function() {
9894
9976
  function r(e) {
@@ -9901,7 +9983,7 @@ var oa = function(r) {
9901
9983
  return this.version;
9902
9984
  }, r.readVersion = function(e) {
9903
9985
  var t = e.getHeight(), n = e.getWidth();
9904
- return tf.getVersionForDimensions(t, n);
9986
+ return rf.getVersionForDimensions(t, n);
9905
9987
  }, r.prototype.readCodewords = function() {
9906
9988
  var e = new Int8Array(this.version.getTotalCodewords()), t = 0, n = 4, i = 0, a = this.mappingBitMatrix.getHeight(), o = this.mappingBitMatrix.getWidth(), s = !1, l = !1, c = !1, u = !1;
9907
9989
  do
@@ -9970,7 +10052,7 @@ var oa = function(r) {
9970
10052
  }
9971
10053
  };
9972
10054
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
9973
- }, nf = (
10055
+ }, af = (
9974
10056
  /** @class */
9975
10057
  function() {
9976
10058
  function r(e, t) {
@@ -10062,7 +10144,7 @@ var oa = function(r) {
10062
10144
  (function(r) {
10063
10145
  r[r.PAD_ENCODE = 0] = "PAD_ENCODE", r[r.ASCII_ENCODE = 1] = "ASCII_ENCODE", r[r.C40_ENCODE = 2] = "C40_ENCODE", r[r.TEXT_ENCODE = 3] = "TEXT_ENCODE", r[r.ANSIX12_ENCODE = 4] = "ANSIX12_ENCODE", r[r.EDIFACT_ENCODE = 5] = "EDIFACT_ENCODE", r[r.BASE256_ENCODE = 6] = "BASE256_ENCODE";
10064
10146
  })(we || (we = {}));
10065
- var af = (
10147
+ var of = (
10066
10148
  /** @class */
10067
10149
  function() {
10068
10150
  function r() {
@@ -10463,7 +10545,7 @@ var af = (
10463
10545
  ""
10464
10546
  ], r;
10465
10547
  }()
10466
- ), of = function(r) {
10548
+ ), sf = function(r) {
10467
10549
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
10468
10550
  if (t) return t.call(r);
10469
10551
  if (r && typeof r.length == "number") return {
@@ -10472,16 +10554,16 @@ var af = (
10472
10554
  }
10473
10555
  };
10474
10556
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
10475
- }, sf = (
10557
+ }, lf = (
10476
10558
  /** @class */
10477
10559
  function() {
10478
10560
  function r() {
10479
10561
  this.rsDecoder = new pn(Ke.DATA_MATRIX_FIELD_256);
10480
10562
  }
10481
10563
  return r.prototype.decode = function(e) {
10482
- var t, n, i = new rf(e), a = i.getVersion(), o = i.readCodewords(), s = nf.getDataBlocks(o, a), l = 0;
10564
+ var t, n, i = new nf(e), a = i.getVersion(), o = i.readCodewords(), s = af.getDataBlocks(o, a), l = 0;
10483
10565
  try {
10484
- for (var c = of(s), u = c.next(); !u.done; u = c.next()) {
10566
+ for (var c = sf(s), u = c.next(); !u.done; u = c.next()) {
10485
10567
  var f = u.value;
10486
10568
  l += f.getNumDataCodewords();
10487
10569
  }
@@ -10500,7 +10582,7 @@ var af = (
10500
10582
  for (var w = 0; w < m; w++)
10501
10583
  h[w * d + v] = x[w];
10502
10584
  }
10503
- return af.decode(h);
10585
+ return of.decode(h);
10504
10586
  }, r.prototype.correctErrors = function(e, t) {
10505
10587
  var n = new Int32Array(e);
10506
10588
  try {
@@ -10512,7 +10594,7 @@ var af = (
10512
10594
  e[i] = n[i];
10513
10595
  }, r;
10514
10596
  }()
10515
- ), lf = (
10597
+ ), cf = (
10516
10598
  /** @class */
10517
10599
  function() {
10518
10600
  function r(e) {
@@ -10582,7 +10664,7 @@ var af = (
10582
10664
  /** @class */
10583
10665
  function() {
10584
10666
  function r() {
10585
- this.decoder = new sf();
10667
+ this.decoder = new lf();
10586
10668
  }
10587
10669
  return r.prototype.decode = function(e, t) {
10588
10670
  t === void 0 && (t = null);
@@ -10591,7 +10673,7 @@ var af = (
10591
10673
  var a = r.extractPureBits(e.getBlackMatrix());
10592
10674
  n = this.decoder.decode(a), i = r.NO_POINTS;
10593
10675
  } else {
10594
- var o = new lf(e.getBlackMatrix()).detect();
10676
+ var o = new cf(e.getBlackMatrix()).detect();
10595
10677
  n = this.decoder.decode(o.getBits()), i = o.getPoints();
10596
10678
  }
10597
10679
  var s = n.getRawBytes(), l = new ke(n.getText(), s, 8 * s.length, i, B.DATA_MATRIX, de.currentTimeMillis()), c = n.getByteSegments();
@@ -10623,7 +10705,7 @@ var af = (
10623
10705
  return o;
10624
10706
  }, r.NO_POINTS = [], r;
10625
10707
  }()
10626
- ), cf = /* @__PURE__ */ function() {
10708
+ ), uf = /* @__PURE__ */ function() {
10627
10709
  var r = function(e, t) {
10628
10710
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
10629
10711
  n.__proto__ = i;
@@ -10640,7 +10722,7 @@ var af = (
10640
10722
  };
10641
10723
  }();
10642
10724
  (function(r) {
10643
- cf(e, r);
10725
+ uf(e, r);
10644
10726
  function e(t) {
10645
10727
  return t === void 0 && (t = 500), r.call(this, new ri(), t) || this;
10646
10728
  }
@@ -10650,7 +10732,7 @@ var Gt;
10650
10732
  (function(r) {
10651
10733
  r[r.L = 0] = "L", r[r.M = 1] = "M", r[r.Q = 2] = "Q", r[r.H = 3] = "H";
10652
10734
  })(Gt || (Gt = {}));
10653
- var uf = (
10735
+ var ff = (
10654
10736
  /** @class */
10655
10737
  function() {
10656
10738
  function r(e, t, n) {
@@ -10686,7 +10768,7 @@ var uf = (
10686
10768
  return r.FOR_BITS.get(e);
10687
10769
  }, r.FOR_BITS = /* @__PURE__ */ new Map(), r.FOR_VALUE = /* @__PURE__ */ new Map(), r.L = new r(Gt.L, "L", 1), r.M = new r(Gt.M, "M", 0), r.Q = new r(Gt.Q, "Q", 3), r.H = new r(Gt.H, "H", 2), r;
10688
10770
  }()
10689
- ), ff = function(r) {
10771
+ ), df = function(r) {
10690
10772
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
10691
10773
  if (t) return t.call(r);
10692
10774
  if (r && typeof r.length == "number") return {
@@ -10699,7 +10781,7 @@ var uf = (
10699
10781
  /** @class */
10700
10782
  function() {
10701
10783
  function r(e) {
10702
- this.errorCorrectionLevel = uf.forBits(e >> 3 & 3), this.dataMask = /*(byte) */
10784
+ this.errorCorrectionLevel = ff.forBits(e >> 3 & 3), this.dataMask = /*(byte) */
10703
10785
  e & 7;
10704
10786
  }
10705
10787
  return r.numBitsDiffering = function(e, t) {
@@ -10710,7 +10792,7 @@ var uf = (
10710
10792
  }, r.doDecodeFormatInformation = function(e, t) {
10711
10793
  var n, i, a = Number.MAX_SAFE_INTEGER, o = 0;
10712
10794
  try {
10713
- for (var s = ff(r.FORMAT_INFO_DECODE_LOOKUP), l = s.next(); !l.done; l = s.next()) {
10795
+ for (var s = df(r.FORMAT_INFO_DECODE_LOOKUP), l = s.next(); !l.done; l = s.next()) {
10714
10796
  var c = l.value, u = c[0];
10715
10797
  if (u === e || u === t)
10716
10798
  return new r(c[1]);
@@ -10773,7 +10855,7 @@ var uf = (
10773
10855
  Int32Array.from([11245, 31])
10774
10856
  ], r;
10775
10857
  }()
10776
- ), df = function(r) {
10858
+ ), hf = function(r) {
10777
10859
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
10778
10860
  if (t) return t.call(r);
10779
10861
  if (r && typeof r.length == "number") return {
@@ -10795,7 +10877,7 @@ var uf = (
10795
10877
  }, r.prototype.getNumBlocks = function() {
10796
10878
  var e, t, n = 0, i = this.ecBlocks;
10797
10879
  try {
10798
- for (var a = df(i), o = a.next(); !o.done; o = a.next()) {
10880
+ for (var a = hf(i), o = a.next(); !o.done; o = a.next()) {
10799
10881
  var s = o.value;
10800
10882
  n += s.getCount();
10801
10883
  }
@@ -10827,7 +10909,7 @@ var uf = (
10827
10909
  return this.dataCodewords;
10828
10910
  }, r;
10829
10911
  }()
10830
- ), hf = function(r) {
10912
+ ), pf = function(r) {
10831
10913
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
10832
10914
  if (t) return t.call(r);
10833
10915
  if (r && typeof r.length == "number") return {
@@ -10845,7 +10927,7 @@ var uf = (
10845
10927
  this.versionNumber = e, this.alignmentPatternCenters = t, this.ecBlocks = a;
10846
10928
  var s = 0, l = a[0].getECCodewordsPerBlock(), c = a[0].getECBlocks();
10847
10929
  try {
10848
- for (var u = hf(c), f = u.next(); !f.done; f = u.next()) {
10930
+ for (var u = pf(c), f = u.next(); !f.done; f = u.next()) {
10849
10931
  var h = f.value;
10850
10932
  s += h.getCount() * (h.getDataCodewords() + l);
10851
10933
  }
@@ -11046,7 +11128,7 @@ var la = (
11046
11128
  })]
11047
11129
  ]), r;
11048
11130
  }()
11049
- ), pf = (
11131
+ ), vf = (
11050
11132
  /** @class */
11051
11133
  function() {
11052
11134
  function r(e) {
@@ -11128,7 +11210,7 @@ var la = (
11128
11210
  }
11129
11211
  };
11130
11212
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
11131
- }, vf = (
11213
+ }, gf = (
11132
11214
  /** @class */
11133
11215
  function() {
11134
11216
  function r(e, t) {
@@ -11224,7 +11306,7 @@ var ve = (
11224
11306
  return this.stringValue;
11225
11307
  }, r.FOR_BITS = /* @__PURE__ */ new Map(), r.FOR_VALUE = /* @__PURE__ */ new Map(), r.TERMINATOR = new r(tt.TERMINATOR, "TERMINATOR", Int32Array.from([0, 0, 0]), 0), r.NUMERIC = new r(tt.NUMERIC, "NUMERIC", Int32Array.from([10, 12, 14]), 1), r.ALPHANUMERIC = new r(tt.ALPHANUMERIC, "ALPHANUMERIC", Int32Array.from([9, 11, 13]), 2), r.STRUCTURED_APPEND = new r(tt.STRUCTURED_APPEND, "STRUCTURED_APPEND", Int32Array.from([0, 0, 0]), 3), r.BYTE = new r(tt.BYTE, "BYTE", Int32Array.from([8, 16, 16]), 4), r.ECI = new r(tt.ECI, "ECI", Int32Array.from([0, 0, 0]), 7), r.KANJI = new r(tt.KANJI, "KANJI", Int32Array.from([8, 10, 12]), 8), r.FNC1_FIRST_POSITION = new r(tt.FNC1_FIRST_POSITION, "FNC1_FIRST_POSITION", Int32Array.from([0, 0, 0]), 5), r.FNC1_SECOND_POSITION = new r(tt.FNC1_SECOND_POSITION, "FNC1_SECOND_POSITION", Int32Array.from([0, 0, 0]), 9), r.HANZI = new r(tt.HANZI, "HANZI", Int32Array.from([8, 10, 12]), 13), r;
11226
11308
  }()
11227
- ), gf = (
11309
+ ), xf = (
11228
11310
  /** @class */
11229
11311
  function() {
11230
11312
  function r() {
@@ -11410,7 +11492,7 @@ var ve = (
11410
11492
  }
11411
11493
  };
11412
11494
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
11413
- }, xf = (
11495
+ }, yf = (
11414
11496
  /** @class */
11415
11497
  function() {
11416
11498
  function r() {
@@ -11419,7 +11501,7 @@ var ve = (
11419
11501
  return r.prototype.decodeBooleanArray = function(e, t) {
11420
11502
  return this.decodeBitMatrix(gt.parseFromBooleanArray(e), t);
11421
11503
  }, r.prototype.decodeBitMatrix = function(e, t) {
11422
- var n = new pf(e), i = null;
11504
+ var n = new vf(e), i = null;
11423
11505
  try {
11424
11506
  return this.decodeBitMatrixParser(n, t);
11425
11507
  } catch (o) {
@@ -11433,7 +11515,7 @@ var ve = (
11433
11515
  throw i !== null ? i : o;
11434
11516
  }
11435
11517
  }, r.prototype.decodeBitMatrixParser = function(e, t) {
11436
- var n, i, a, o, s = e.readVersion(), l = e.readFormatInformation().getErrorCorrectionLevel(), c = e.readCodewords(), u = vf.getDataBlocks(c, s, l), f = 0;
11518
+ var n, i, a, o, s = e.readVersion(), l = e.readFormatInformation().getErrorCorrectionLevel(), c = e.readCodewords(), u = gf.getDataBlocks(c, s, l), f = 0;
11437
11519
  try {
11438
11520
  for (var h = ua(u), d = h.next(); !d.done; d = h.next()) {
11439
11521
  var v = d.value;
@@ -11465,7 +11547,7 @@ var ve = (
11465
11547
  if (a) throw a.error;
11466
11548
  }
11467
11549
  }
11468
- return gf.decode(g, s, l, t);
11550
+ return xf.decode(g, s, l, t);
11469
11551
  }, r.prototype.correctErrors = function(e, t) {
11470
11552
  var n = new Int32Array(e);
11471
11553
  try {
@@ -11478,7 +11560,7 @@ var ve = (
11478
11560
  n[i];
11479
11561
  }, r;
11480
11562
  }()
11481
- ), yf = /* @__PURE__ */ function() {
11563
+ ), mf = /* @__PURE__ */ function() {
11482
11564
  var r = function(e, t) {
11483
11565
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
11484
11566
  n.__proto__ = i;
@@ -11493,10 +11575,10 @@ var ve = (
11493
11575
  }
11494
11576
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
11495
11577
  };
11496
- }(), mf = (
11578
+ }(), wf = (
11497
11579
  /** @class */
11498
11580
  function(r) {
11499
- yf(e, r);
11581
+ mf(e, r);
11500
11582
  function e(t, n, i) {
11501
11583
  var a = r.call(this, t, n) || this;
11502
11584
  return a.estimatedModuleSize = i, a;
@@ -11512,7 +11594,7 @@ var ve = (
11512
11594
  return new e(a, o, s);
11513
11595
  }, e;
11514
11596
  }(k)
11515
- ), wf = function(r) {
11597
+ ), Cf = function(r) {
11516
11598
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
11517
11599
  if (t) return t.call(r);
11518
11600
  if (r && typeof r.length == "number") return {
@@ -11521,7 +11603,7 @@ var ve = (
11521
11603
  }
11522
11604
  };
11523
11605
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
11524
- }, Cf = (
11606
+ }, Af = (
11525
11607
  /** @class */
11526
11608
  function() {
11527
11609
  function r(e, t, n, i, a, o, s) {
@@ -11598,7 +11680,7 @@ var ve = (
11598
11680
  if (!isNaN(l)) {
11599
11681
  var c = (e[0] + e[1] + e[2]) / 3;
11600
11682
  try {
11601
- for (var u = wf(this.possibleCenters), f = u.next(); !f.done; f = u.next()) {
11683
+ for (var u = Cf(this.possibleCenters), f = u.next(); !f.done; f = u.next()) {
11602
11684
  var h = f.value;
11603
11685
  if (h.aboutEquals(c, l, s))
11604
11686
  return h.combineEstimate(l, s, c);
@@ -11612,13 +11694,13 @@ var ve = (
11612
11694
  if (i) throw i.error;
11613
11695
  }
11614
11696
  }
11615
- var d = new mf(s, l, c);
11697
+ var d = new wf(s, l, c);
11616
11698
  this.possibleCenters.push(d), this.resultPointCallback !== null && this.resultPointCallback !== void 0 && this.resultPointCallback.foundPossibleResultPoint(d);
11617
11699
  }
11618
11700
  return null;
11619
11701
  }, r;
11620
11702
  }()
11621
- ), Af = /* @__PURE__ */ function() {
11703
+ ), _f = /* @__PURE__ */ function() {
11622
11704
  var r = function(e, t) {
11623
11705
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
11624
11706
  n.__proto__ = i;
@@ -11633,10 +11715,10 @@ var ve = (
11633
11715
  }
11634
11716
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
11635
11717
  };
11636
- }(), _f = (
11718
+ }(), Ef = (
11637
11719
  /** @class */
11638
11720
  function(r) {
11639
- Af(e, r);
11721
+ _f(e, r);
11640
11722
  function e(t, n, i, a) {
11641
11723
  var o = r.call(this, t, n) || this;
11642
11724
  return o.estimatedModuleSize = i, o.count = a, a === void 0 && (o.count = 1), o;
@@ -11656,7 +11738,7 @@ var ve = (
11656
11738
  return new e(o, s, l, a);
11657
11739
  }, e;
11658
11740
  }(k)
11659
- ), Ef = (
11741
+ ), Sf = (
11660
11742
  /** @class */
11661
11743
  function() {
11662
11744
  function r(e) {
@@ -11679,7 +11761,7 @@ var ve = (
11679
11761
  }
11680
11762
  };
11681
11763
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
11682
- }, Sf = (
11764
+ }, If = (
11683
11765
  /** @class */
11684
11766
  function() {
11685
11767
  function r(e, t) {
@@ -11725,7 +11807,7 @@ var ve = (
11725
11807
  }
11726
11808
  }
11727
11809
  var g = this.selectBestPatterns();
11728
- return k.orderBestPatterns(g), new Ef(g);
11810
+ return k.orderBestPatterns(g), new Sf(g);
11729
11811
  }, r.centerFromEnd = function(e, t) {
11730
11812
  return t - e[4] - e[3] - e[2] / 2;
11731
11813
  }, r.foundPatternCross = function(e) {
@@ -11855,7 +11937,7 @@ var ve = (
11855
11937
  }
11856
11938
  }
11857
11939
  if (!c) {
11858
- var v = new _f(o, s, l);
11940
+ var v = new Ef(o, s, l);
11859
11941
  u.push(v), this.resultPointCallback !== null && this.resultPointCallback !== void 0 && this.resultPointCallback.foundPossibleResultPoint(v);
11860
11942
  }
11861
11943
  return !0;
@@ -11995,7 +12077,7 @@ var ve = (
11995
12077
  ];
11996
12078
  }, r.CENTER_QUORUM = 2, r.MIN_SKIP = 3, r.MAX_MODULES = 57, r;
11997
12079
  }()
11998
- ), If = (
12080
+ ), bf = (
11999
12081
  /** @class */
12000
12082
  function() {
12001
12083
  function r(e) {
@@ -12010,7 +12092,7 @@ var ve = (
12010
12092
  /*(ResultPointCallback) */
12011
12093
  e.get(ge.NEED_RESULT_POINT_CALLBACK)
12012
12094
  );
12013
- var t = new Sf(this.image, this.resultPointCallback), n = t.find(e);
12095
+ var t = new If(this.image, this.resultPointCallback), n = t.find(e);
12014
12096
  return this.processFinderPatternInfo(n);
12015
12097
  }, r.prototype.processFinderPatternInfo = function(e) {
12016
12098
  var t = e.getTopLeft(), n = e.getTopRight(), i = e.getBottomLeft(), a = this.calculateModuleSize(t, n, i);
@@ -12121,7 +12203,7 @@ var ve = (
12121
12203
  var l = Math.max(0, n - a), c = Math.min(this.image.getHeight() - 1, n + a);
12122
12204
  if (c - l < e * 3)
12123
12205
  throw new b("Alignment bottom exceeds estimated module size.");
12124
- var u = new Cf(this.image, o, l, s - o, c - l, e, this.resultPointCallback);
12206
+ var u = new Af(this.image, o, l, s - o, c - l, e, this.resultPointCallback);
12125
12207
  return u.find();
12126
12208
  }, r;
12127
12209
  }()
@@ -12129,7 +12211,7 @@ var ve = (
12129
12211
  /** @class */
12130
12212
  function() {
12131
12213
  function r() {
12132
- this.decoder = new xf();
12214
+ this.decoder = new yf();
12133
12215
  }
12134
12216
  return r.prototype.getDecoder = function() {
12135
12217
  return this.decoder;
@@ -12139,7 +12221,7 @@ var ve = (
12139
12221
  var a = r.extractPureBits(e.getBlackMatrix());
12140
12222
  n = this.decoder.decodeBitMatrix(a, t), i = r.NO_POINTS;
12141
12223
  } else {
12142
- var o = new If(e.getBlackMatrix()).detect(t);
12224
+ var o = new bf(e.getBlackMatrix()).detect(t);
12143
12225
  n = this.decoder.decodeBitMatrix(o.getBits(), t), i = o.getPoints();
12144
12226
  }
12145
12227
  n.getOther() instanceof To && n.getOther().applyMirroredCorrection(i);
@@ -12201,7 +12283,7 @@ var ve = (
12201
12283
  return (a - e[0]) / 7;
12202
12284
  }, r.NO_POINTS = new Array(), r;
12203
12285
  }()
12204
- ), bf = function(r) {
12286
+ ), Of = function(r) {
12205
12287
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
12206
12288
  if (t) return t.call(r);
12207
12289
  if (r && typeof r.length == "number") return {
@@ -12224,7 +12306,7 @@ var ve = (
12224
12306
  return r.EMPTY_INT_ARRAY;
12225
12307
  var i = new Int32Array(e.length), a = 0;
12226
12308
  try {
12227
- for (var o = bf(e), s = o.next(); !s.done; s = o.next()) {
12309
+ for (var o = Of(e), s = o.next(); !s.done; s = o.next()) {
12228
12310
  var l = s.value;
12229
12311
  i[a++] = l;
12230
12312
  }
@@ -17819,7 +17901,7 @@ var ve = (
17819
17901
  1700
17820
17902
  ]), r;
17821
17903
  }()
17822
- ), Of = (
17904
+ ), Nf = (
17823
17905
  /** @class */
17824
17906
  function() {
17825
17907
  function r(e, t) {
@@ -17831,7 +17913,7 @@ var ve = (
17831
17913
  return this.points;
17832
17914
  }, r;
17833
17915
  }()
17834
- ), Nf = function(r) {
17916
+ ), Tf = function(r) {
17835
17917
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
17836
17918
  if (t) return t.call(r);
17837
17919
  if (r && typeof r.length == "number") return {
@@ -17840,14 +17922,14 @@ var ve = (
17840
17922
  }
17841
17923
  };
17842
17924
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
17843
- }, Tf = (
17925
+ }, Df = (
17844
17926
  /** @class */
17845
17927
  function() {
17846
17928
  function r() {
17847
17929
  }
17848
17930
  return r.detectMultiple = function(e, t, n) {
17849
17931
  var i = e.getBlackMatrix(), a = r.detect(n, i);
17850
- return a.length || (i = i.clone(), i.rotate180(), a = r.detect(n, i)), new Of(i, a);
17932
+ return a.length || (i = i.clone(), i.rotate180(), a = r.detect(n, i)), new Nf(i, a);
17851
17933
  }, r.detect = function(e, t) {
17852
17934
  for (var n, i, a = new Array(), o = 0, s = 0, l = !1; o < t.getHeight(); ) {
17853
17935
  var c = r.findVertices(t, o, s);
@@ -17856,7 +17938,7 @@ var ve = (
17856
17938
  break;
17857
17939
  l = !1, s = 0;
17858
17940
  try {
17859
- for (var u = (n = void 0, Nf(a)), f = u.next(); !f.done; f = u.next()) {
17941
+ for (var u = (n = void 0, Tf(a)), f = u.next(); !f.done; f = u.next()) {
17860
17942
  var h = f.value;
17861
17943
  h[1] != null && (o = Math.trunc(Math.max(o, h[1].getY()))), h[3] != null && (o = Math.max(o, Math.trunc(h[3].getY())));
17862
17944
  }
@@ -17956,7 +18038,7 @@ var ve = (
17956
18038
  return c / a;
17957
18039
  }, r.INDEXES_START_PATTERN = Int32Array.from([0, 4, 1, 5]), r.INDEXES_STOP_PATTERN = Int32Array.from([6, 2, 7, 3]), r.MAX_AVG_VARIANCE = 0.42, r.MAX_INDIVIDUAL_VARIANCE = 0.8, r.START_PATTERN = Int32Array.from([8, 1, 1, 1, 1, 1, 1, 3]), r.STOP_PATTERN = Int32Array.from([7, 1, 1, 3, 1, 1, 1, 2, 1]), r.MAX_PIXEL_DRIFT = 3, r.MAX_PATTERN_DRIFT = 5, r.SKIPPED_ROW_COUNT_MAX = 25, r.ROW_STEP = 5, r.BARCODE_MIN_HEIGHT = 10, r;
17958
18040
  }()
17959
- ), Df = function(r) {
18041
+ ), Rf = function(r) {
17960
18042
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
17961
18043
  if (t) return t.call(r);
17962
18044
  if (r && typeof r.length == "number") return {
@@ -18004,7 +18086,7 @@ var ve = (
18004
18086
  0
18005
18087
  );
18006
18088
  try {
18007
- for (var a = Df(this.coefficients), o = a.next(); !o.done; o = a.next()) {
18089
+ for (var a = Rf(this.coefficients), o = a.next(); !o.done; o = a.next()) {
18008
18090
  var s = o.value;
18009
18091
  i = this.field.add(i, s);
18010
18092
  }
@@ -18114,7 +18196,7 @@ var ve = (
18114
18196
  return e.toString();
18115
18197
  }, r;
18116
18198
  }()
18117
- ), Rf = (
18199
+ ), Mf = (
18118
18200
  /** @class */
18119
18201
  function() {
18120
18202
  function r() {
@@ -18141,7 +18223,7 @@ var ve = (
18141
18223
  return e === this;
18142
18224
  }, r;
18143
18225
  }()
18144
- ), Mf = /* @__PURE__ */ function() {
18226
+ ), Vf = /* @__PURE__ */ function() {
18145
18227
  var r = function(e, t) {
18146
18228
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
18147
18229
  n.__proto__ = i;
@@ -18156,10 +18238,10 @@ var ve = (
18156
18238
  }
18157
18239
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
18158
18240
  };
18159
- }(), Vf = (
18241
+ }(), Pf = (
18160
18242
  /** @class */
18161
18243
  function(r) {
18162
- Mf(e, r);
18244
+ Vf(e, r);
18163
18245
  function e(t, n) {
18164
18246
  var i = r.call(this) || this;
18165
18247
  i.modulus = t, i.expTable = new Int32Array(t), i.logTable = new Int32Array(t);
@@ -18184,8 +18266,8 @@ var ve = (
18184
18266
  var i = new Int32Array(t + 1);
18185
18267
  return i[0] = n, new Rt(this, i);
18186
18268
  }, e.PDF417_GF = new e(ee.NUMBER_OF_CODEWORDS, 3), e;
18187
- }(Rf)
18188
- ), Pf = function(r) {
18269
+ }(Mf)
18270
+ ), Ff = function(r) {
18189
18271
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
18190
18272
  if (t) return t.call(r);
18191
18273
  if (r && typeof r.length == "number") return {
@@ -18194,11 +18276,11 @@ var ve = (
18194
18276
  }
18195
18277
  };
18196
18278
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
18197
- }, Ff = (
18279
+ }, Bf = (
18198
18280
  /** @class */
18199
18281
  function() {
18200
18282
  function r() {
18201
- this.field = Vf.PDF417_GF;
18283
+ this.field = Pf.PDF417_GF;
18202
18284
  }
18203
18285
  return r.prototype.decode = function(e, t, n) {
18204
18286
  for (var i, a, o = new Rt(this.field, e), s = new Int32Array(t), l = !1, c = t; c > 0; c--) {
@@ -18210,7 +18292,7 @@ var ve = (
18210
18292
  var f = this.field.getOne();
18211
18293
  if (n != null)
18212
18294
  try {
18213
- for (var h = Pf(n), d = h.next(); !d.done; d = h.next()) {
18295
+ for (var h = Ff(n), d = h.next(); !d.done; d = h.next()) {
18214
18296
  var v = d.value, g = this.field.exp(e.length - 1 - v), x = new Rt(this.field, new Int32Array([this.field.subtract(0, g), 1]));
18215
18297
  f = f.multiply(x);
18216
18298
  }
@@ -18315,7 +18397,7 @@ var ve = (
18315
18397
  return this.bottomRight;
18316
18398
  }, r;
18317
18399
  }()
18318
- ), Bf = (
18400
+ ), Lf = (
18319
18401
  /** @class */
18320
18402
  function() {
18321
18403
  function r(e, t, n, i) {
@@ -18386,7 +18468,7 @@ var ve = (
18386
18468
  return this.buffer;
18387
18469
  }, r;
18388
18470
  }()
18389
- ), Lf = function(r) {
18471
+ ), kf = function(r) {
18390
18472
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
18391
18473
  if (t) return t.call(r);
18392
18474
  if (r && typeof r.length == "number") return {
@@ -18424,7 +18506,7 @@ var ve = (
18424
18506
  }, r.prototype.toString = function() {
18425
18507
  var e, t, n = new _i(), i = 0;
18426
18508
  try {
18427
- for (var a = Lf(this.codewords), o = a.next(); !o.done; o = a.next()) {
18509
+ for (var a = kf(this.codewords), o = a.next(); !o.done; o = a.next()) {
18428
18510
  var s = o.value;
18429
18511
  if (s == null) {
18430
18512
  n.format("%3d: | %n", i++);
@@ -18444,7 +18526,7 @@ var ve = (
18444
18526
  return n.toString();
18445
18527
  }, r.MAX_NEARBY_DISTANCE = 5, r;
18446
18528
  }()
18447
- ), kf = function(r) {
18529
+ ), zf = function(r) {
18448
18530
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
18449
18531
  if (t) return t.call(r);
18450
18532
  if (r && typeof r.length == "number") return {
@@ -18453,7 +18535,7 @@ var ve = (
18453
18535
  }
18454
18536
  };
18455
18537
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
18456
- }, zf = function(r, e) {
18538
+ }, Uf = function(r, e) {
18457
18539
  var t = typeof Symbol == "function" && r[Symbol.iterator];
18458
18540
  if (!t) return r;
18459
18541
  var n = t.call(r), i, a = [], o;
@@ -18492,8 +18574,8 @@ var ve = (
18492
18574
  d.getValue() > n ? (n = d.getValue(), i = [], i.push(d.getKey())) : d.getValue() === n && i.push(d.getKey());
18493
18575
  };
18494
18576
  try {
18495
- for (var o = kf(this.values.entries()), s = o.next(); !s.done; s = o.next()) {
18496
- var l = zf(s.value, 2), c = l[0], u = l[1];
18577
+ for (var o = zf(this.values.entries()), s = o.next(); !s.done; s = o.next()) {
18578
+ var l = Uf(s.value, 2), c = l[0], u = l[1];
18497
18579
  a(c, u);
18498
18580
  }
18499
18581
  } catch (f) {
@@ -18510,7 +18592,7 @@ var ve = (
18510
18592
  return this.values.get(e);
18511
18593
  }, r;
18512
18594
  }()
18513
- ), Uf = /* @__PURE__ */ function() {
18595
+ ), Hf = /* @__PURE__ */ function() {
18514
18596
  var r = function(e, t) {
18515
18597
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
18516
18598
  n.__proto__ = i;
@@ -18537,7 +18619,7 @@ var ve = (
18537
18619
  }, fa = (
18538
18620
  /** @class */
18539
18621
  function(r) {
18540
- Uf(e, r);
18622
+ Hf(e, r);
18541
18623
  function e(t, n) {
18542
18624
  var i = r.call(this, t) || this;
18543
18625
  return i._isLeft = n, i;
@@ -18644,7 +18726,7 @@ var ve = (
18644
18726
  }
18645
18727
  if (a.getValue().length === 0 || o.getValue().length === 0 || s.getValue().length === 0 || l.getValue().length === 0 || a.getValue()[0] < 1 || o.getValue()[0] + s.getValue()[0] < ee.MIN_ROWS_IN_BARCODE || o.getValue()[0] + s.getValue()[0] > ee.MAX_ROWS_IN_BARCODE)
18646
18728
  return null;
18647
- var v = new Bf(a.getValue()[0], o.getValue()[0], s.getValue()[0], l.getValue()[0]);
18729
+ var v = new Lf(a.getValue()[0], o.getValue()[0], s.getValue()[0], l.getValue()[0]);
18648
18730
  return this.removeIncorrectCodewords(i, v), v;
18649
18731
  }, e.prototype.removeIncorrectCodewords = function(t, n) {
18650
18732
  for (var i = 0; i < t.length; i++) {
@@ -18675,7 +18757,7 @@ var ve = (
18675
18757
  ` + r.prototype.toString.call(this);
18676
18758
  }, e;
18677
18759
  }(Do)
18678
- ), Hf = function(r) {
18760
+ ), Gf = function(r) {
18679
18761
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
18680
18762
  if (t) return t.call(r);
18681
18763
  if (r && typeof r.length == "number") return {
@@ -18684,7 +18766,7 @@ var ve = (
18684
18766
  }
18685
18767
  };
18686
18768
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
18687
- }, Gf = (
18769
+ }, Xf = (
18688
18770
  /** @class */
18689
18771
  function() {
18690
18772
  function r(e, t) {
@@ -18750,7 +18832,7 @@ var ve = (
18750
18832
  var c = new Array(14);
18751
18833
  c[2] = s[t], c[3] = l[t], t > 0 && (c[0] = n[t - 1], c[4] = s[t - 1], c[5] = l[t - 1]), t > 1 && (c[8] = n[t - 2], c[10] = s[t - 2], c[11] = l[t - 2]), t < n.length - 1 && (c[1] = n[t + 1], c[6] = s[t + 1], c[7] = l[t + 1]), t < n.length - 2 && (c[9] = n[t + 2], c[12] = s[t + 2], c[13] = l[t + 2]);
18752
18834
  try {
18753
- for (var u = Hf(c), f = u.next(); !f.done; f = u.next()) {
18835
+ for (var u = Gf(c), f = u.next(); !f.done; f = u.next()) {
18754
18836
  var h = f.value;
18755
18837
  if (r.adjustRowNumber(o, h))
18756
18838
  return;
@@ -18803,7 +18885,7 @@ var ve = (
18803
18885
  return t.toString();
18804
18886
  }, r;
18805
18887
  }()
18806
- ), Xf = (
18888
+ ), Wf = (
18807
18889
  /** @class */
18808
18890
  function() {
18809
18891
  function r(e, t, n, i) {
@@ -18833,7 +18915,7 @@ var ve = (
18833
18915
  return this.rowNumber + "|" + this.value;
18834
18916
  }, r.BARCODE_ROW_UNKNOWN = -1, r;
18835
18917
  }()
18836
- ), Wf = (
18918
+ ), qf = (
18837
18919
  /** @class */
18838
18920
  function() {
18839
18921
  function r() {
@@ -18886,7 +18968,7 @@ var ve = (
18886
18968
  return new Array(ee.BARS_IN_MODULE);
18887
18969
  }), r;
18888
18970
  }()
18889
- ), qf = (
18971
+ ), $f = (
18890
18972
  /** @class */
18891
18973
  function() {
18892
18974
  function r() {
@@ -18947,7 +19029,7 @@ var ve = (
18947
19029
  return t === void 0 && (t = void 0), parseInt(e, t);
18948
19030
  }, r;
18949
19031
  }()
18950
- ), $f = /* @__PURE__ */ function() {
19032
+ ), jf = /* @__PURE__ */ function() {
18951
19033
  var r = function(e, t) {
18952
19034
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
18953
19035
  n.__proto__ = i;
@@ -18962,16 +19044,16 @@ var ve = (
18962
19044
  }
18963
19045
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
18964
19046
  };
18965
- }(), jf = (
19047
+ }(), Yf = (
18966
19048
  /** @class */
18967
19049
  function(r) {
18968
- $f(e, r);
19050
+ jf(e, r);
18969
19051
  function e() {
18970
19052
  return r !== null && r.apply(this, arguments) || this;
18971
19053
  }
18972
19054
  return e.kind = "NullPointerException", e;
18973
19055
  }(Je)
18974
- ), Yf = (
19056
+ ), Zf = (
18975
19057
  /** @class */
18976
19058
  function() {
18977
19059
  function r() {
@@ -18980,7 +19062,7 @@ var ve = (
18980
19062
  this.writeBytesOffset(e, 0, e.length);
18981
19063
  }, r.prototype.writeBytesOffset = function(e, t, n) {
18982
19064
  if (e == null)
18983
- throw new jf();
19065
+ throw new Yf();
18984
19066
  if (t < 0 || t > e.length || n < 0 || t + n > e.length || t + n < 0)
18985
19067
  throw new yi();
18986
19068
  if (n === 0)
@@ -18991,7 +19073,7 @@ var ve = (
18991
19073
  }, r.prototype.close = function() {
18992
19074
  }, r;
18993
19075
  }()
18994
- ), Zf = /* @__PURE__ */ function() {
19076
+ ), Kf = /* @__PURE__ */ function() {
18995
19077
  var r = function(e, t) {
18996
19078
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
18997
19079
  n.__proto__ = i;
@@ -19006,16 +19088,16 @@ var ve = (
19006
19088
  }
19007
19089
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
19008
19090
  };
19009
- }(), Kf = (
19091
+ }(), Qf = (
19010
19092
  /** @class */
19011
19093
  function(r) {
19012
- Zf(e, r);
19094
+ Kf(e, r);
19013
19095
  function e() {
19014
19096
  return r !== null && r.apply(this, arguments) || this;
19015
19097
  }
19016
19098
  return e;
19017
19099
  }(Je)
19018
- ), Qf = /* @__PURE__ */ function() {
19100
+ ), Jf = /* @__PURE__ */ function() {
19019
19101
  var r = function(e, t) {
19020
19102
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
19021
19103
  n.__proto__ = i;
@@ -19030,10 +19112,10 @@ var ve = (
19030
19112
  }
19031
19113
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
19032
19114
  };
19033
- }(), Jf = (
19115
+ }(), ed = (
19034
19116
  /** @class */
19035
19117
  function(r) {
19036
- Qf(e, r);
19118
+ Jf(e, r);
19037
19119
  function e(t) {
19038
19120
  t === void 0 && (t = 32);
19039
19121
  var n = r.call(this) || this;
@@ -19047,7 +19129,7 @@ var ve = (
19047
19129
  var n = this.buf.length, i = n << 1;
19048
19130
  if (i - t < 0 && (i = t), i < 0) {
19049
19131
  if (t < 0)
19050
- throw new Kf();
19132
+ throw new Qf();
19051
19133
  i = Z.MAX_VALUE;
19052
19134
  }
19053
19135
  this.buf = Ee.copyOfUint8Array(this.buf, i);
@@ -19085,7 +19167,7 @@ var ve = (
19085
19167
  ).toString();
19086
19168
  }, e.prototype.close = function() {
19087
19169
  }, e;
19088
- }(Yf)
19170
+ }(Zf)
19089
19171
  ), fe;
19090
19172
  (function(r) {
19091
19173
  r[r.ALPHA = 0] = "ALPHA", r[r.LOWER = 1] = "LOWER", r[r.MIXED = 2] = "MIXED", r[r.PUNCT = 3] = "PUNCT", r[r.ALPHA_SHIFT = 4] = "ALPHA_SHIFT", r[r.PUNCT_SHIFT = 5] = "PUNCT_SHIFT";
@@ -19105,7 +19187,7 @@ function At(r) {
19105
19187
  throw new Error("BigInt is not supported!");
19106
19188
  return $r(r);
19107
19189
  }
19108
- function ed() {
19190
+ function td() {
19109
19191
  var r = [];
19110
19192
  r[0] = At(1);
19111
19193
  var e = At(900);
@@ -19114,7 +19196,7 @@ function ed() {
19114
19196
  r[t] = r[t - 1] * e;
19115
19197
  return r;
19116
19198
  }
19117
- var td = (
19199
+ var rd = (
19118
19200
  /** @class */
19119
19201
  function() {
19120
19202
  function r() {
@@ -19122,7 +19204,7 @@ var td = (
19122
19204
  return r.decode = function(e, t) {
19123
19205
  var n = new j(""), i = _e.ISO8859_1;
19124
19206
  n.enableDecoding(i);
19125
- for (var a = 1, o = e[a++], s = new qf(); a < e[0]; ) {
19207
+ for (var a = 1, o = e[a++], s = new $f(); a < e[0]; ) {
19126
19208
  switch (o) {
19127
19209
  case r.TEXT_COMPACTION_MODE_LATCH:
19128
19210
  a = r.textCompaction(e, a, n);
@@ -19400,7 +19482,7 @@ var td = (
19400
19482
  c !== "" && i.append(c), s++;
19401
19483
  }
19402
19484
  }, r.byteCompaction = function(e, t, n, i, a) {
19403
- var o = new Jf(), s = 0, l = (
19485
+ var o = new ed(), s = 0, l = (
19404
19486
  /*long*/
19405
19487
  0
19406
19488
  ), c = !1;
@@ -19491,7 +19573,7 @@ var td = (
19491
19573
  throw new P();
19492
19574
  return a.substring(1);
19493
19575
  }, r.TEXT_COMPACTION_MODE_LATCH = 900, r.BYTE_COMPACTION_MODE_LATCH = 901, r.NUMERIC_COMPACTION_MODE_LATCH = 902, r.BYTE_COMPACTION_MODE_LATCH_6 = 924, r.ECI_USER_DEFINED = 925, r.ECI_GENERAL_PURPOSE = 926, r.ECI_CHARSET = 927, r.BEGIN_MACRO_PDF417_CONTROL_BLOCK = 928, r.BEGIN_MACRO_PDF417_OPTIONAL_FIELD = 923, r.MACRO_PDF417_TERMINATOR = 922, r.MODE_SHIFT_TO_BYTE_COMPACTION_MODE = 913, r.MAX_NUMERIC_CODEWORDS = 15, r.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME = 0, r.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT = 1, r.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP = 2, r.MACRO_PDF417_OPTIONAL_FIELD_SENDER = 3, r.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE = 4, r.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE = 5, r.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM = 6, r.PL = 25, r.LL = 27, r.AS = 27, r.ML = 28, r.AL = 28, r.PS = 29, r.PAL = 29, r.PUNCT_CHARS = `;<>@[\\]_\`~!\r ,:
19494
- -.$/"|*()?{}'`, r.MIXED_CHARS = "0123456789&\r ,:#-.$/+%*=^", r.EXP900 = Ro() ? ed() : [], r.NUMBER_OF_SEQUENCE_CODEWORDS = 2, r;
19576
+ -.$/"|*()?{}'`, r.MIXED_CHARS = "0123456789&\r ,:#-.$/+%*=^", r.EXP900 = Ro() ? td() : [], r.NUMBER_OF_SEQUENCE_CODEWORDS = 2, r;
19495
19577
  }()
19496
19578
  ), pr = function(r) {
19497
19579
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
@@ -19502,7 +19584,7 @@ var td = (
19502
19584
  }
19503
19585
  };
19504
19586
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
19505
- }, rd = (
19587
+ }, nd = (
19506
19588
  /** @class */
19507
19589
  function() {
19508
19590
  function r() {
@@ -19545,7 +19627,7 @@ var td = (
19545
19627
  if (n == null)
19546
19628
  return null;
19547
19629
  var i = ii.merge(r.adjustBoundingBox(e), r.adjustBoundingBox(t));
19548
- return new Gf(n, i);
19630
+ return new Xf(n, i);
19549
19631
  }, r.adjustBoundingBox = function(e) {
19550
19632
  var t, n;
19551
19633
  if (e == null)
@@ -19742,8 +19824,8 @@ var td = (
19742
19824
  }
19743
19825
  if (!r.checkCodewordSkew(f, s, l))
19744
19826
  return null;
19745
- var v = Wf.getDecodedValue(c), g = ee.getCodeword(v);
19746
- return g === -1 ? null : new Xf(a, u, r.getCodewordBucketNumber(v), g);
19827
+ var v = qf.getDecodedValue(c), g = ee.getCodeword(v);
19828
+ return g === -1 ? null : new Wf(a, u, r.getCodewordBucketNumber(v), g);
19747
19829
  }, r.getModuleBitCount = function(e, t, n, i, a, o) {
19748
19830
  for (var s = a, l = new Int32Array(8), c = 0, u = i ? 1 : -1, f = i; (i ? s < n : s >= t) && c < l.length; )
19749
19831
  e.get(s, o) === f ? (l[c]++, s += u) : (c++, f = !f);
@@ -19767,7 +19849,7 @@ var td = (
19767
19849
  throw P.getFormatInstance();
19768
19850
  var i = 1 << t + 1, a = r.correctErrors(e, n, i);
19769
19851
  r.verifyCodewordCount(e, i);
19770
- var o = td.decode(e, "" + t);
19852
+ var o = rd.decode(e, "" + t);
19771
19853
  return o.setErrorsCorrected(a), o.setErasures(n.length), o;
19772
19854
  }, r.correctErrors = function(e, t, n) {
19773
19855
  if (t != null && t.length > n / 2 + r.MAX_ERRORS || n < 0 || n > r.MAX_EC_CODEWORDS)
@@ -19804,9 +19886,9 @@ var td = (
19804
19886
  t.format("%n");
19805
19887
  }
19806
19888
  return t.toString();
19807
- }, r.CODEWORD_SKEW_SIZE = 2, r.MAX_ERRORS = 3, r.MAX_EC_CODEWORDS = 512, r.errorCorrection = new Ff(), r;
19889
+ }, r.CODEWORD_SKEW_SIZE = 2, r.MAX_ERRORS = 3, r.MAX_EC_CODEWORDS = 512, r.errorCorrection = new Bf(), r;
19808
19890
  }()
19809
- ), nd = function(r) {
19891
+ ), id = function(r) {
19810
19892
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
19811
19893
  if (t) return t.call(r);
19812
19894
  if (r && typeof r.length == "number") return {
@@ -19834,10 +19916,10 @@ var td = (
19834
19916
  throw n instanceof P || n instanceof Ne ? b.getNotFoundInstance() : n;
19835
19917
  }
19836
19918
  }, r.decode = function(e, t, n) {
19837
- var i, a, o = new Array(), s = Tf.detectMultiple(e, t, n);
19919
+ var i, a, o = new Array(), s = Df.detectMultiple(e, t, n);
19838
19920
  try {
19839
- for (var l = nd(s.getPoints()), c = l.next(); !c.done; c = l.next()) {
19840
- var u = c.value, f = rd.decode(s.getBits(), u[4], u[5], u[6], u[7], r.getMinCodewordWidth(u), r.getMaxCodewordWidth(u)), h = new ke(f.getText(), f.getRawBytes(), void 0, u, B.PDF_417);
19921
+ for (var l = id(s.getPoints()), c = l.next(); !c.done; c = l.next()) {
19922
+ var u = c.value, f = nd.decode(s.getBits(), u[4], u[5], u[6], u[7], r.getMinCodewordWidth(u), r.getMaxCodewordWidth(u)), h = new ke(f.getText(), f.getRawBytes(), void 0, u, B.PDF_417);
19841
19923
  h.putMetadata(Ve.ERROR_CORRECTION_LEVEL, f.getECLevel());
19842
19924
  var d = f.getOther();
19843
19925
  d != null && h.putMetadata(Ve.PDF417_EXTRA_METADATA, d), o.push(h);
@@ -19865,7 +19947,7 @@ var td = (
19865
19947
  }, r.prototype.reset = function() {
19866
19948
  }, r;
19867
19949
  }()
19868
- ), id = /* @__PURE__ */ function() {
19950
+ ), ad = /* @__PURE__ */ function() {
19869
19951
  var r = function(e, t) {
19870
19952
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
19871
19953
  n.__proto__ = i;
@@ -19883,7 +19965,7 @@ var td = (
19883
19965
  }(), ha = (
19884
19966
  /** @class */
19885
19967
  function(r) {
19886
- id(e, r);
19968
+ ad(e, r);
19887
19969
  function e() {
19888
19970
  return r !== null && r.apply(this, arguments) || this;
19889
19971
  }
@@ -19898,7 +19980,7 @@ var td = (
19898
19980
  }
19899
19981
  };
19900
19982
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
19901
- }, ad = (
19983
+ }, od = (
19902
19984
  /** @class */
19903
19985
  function() {
19904
19986
  function r() {
@@ -19960,7 +20042,7 @@ var td = (
19960
20042
  throw new b("No MultiFormat Readers were able to detect the code.");
19961
20043
  }, r;
19962
20044
  }()
19963
- ), od = /* @__PURE__ */ function() {
20045
+ ), sd = /* @__PURE__ */ function() {
19964
20046
  var r = function(e, t) {
19965
20047
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
19966
20048
  n.__proto__ = i;
@@ -19977,17 +20059,17 @@ var td = (
19977
20059
  };
19978
20060
  }();
19979
20061
  (function(r) {
19980
- od(e, r);
20062
+ sd(e, r);
19981
20063
  function e(t, n) {
19982
20064
  t === void 0 && (t = null), n === void 0 && (n = 500);
19983
- var i = this, a = new ad();
20065
+ var i = this, a = new od();
19984
20066
  return a.setHints(t), i = r.call(this, a, n) || this, i;
19985
20067
  }
19986
20068
  return e.prototype.decodeBitmap = function(t) {
19987
20069
  return this.reader.decodeWithState(t);
19988
20070
  }, e;
19989
20071
  })(cr);
19990
- var sd = /* @__PURE__ */ function() {
20072
+ var ld = /* @__PURE__ */ function() {
19991
20073
  var r = function(e, t) {
19992
20074
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
19993
20075
  n.__proto__ = i;
@@ -20004,13 +20086,13 @@ var sd = /* @__PURE__ */ function() {
20004
20086
  };
20005
20087
  }();
20006
20088
  (function(r) {
20007
- sd(e, r);
20089
+ ld(e, r);
20008
20090
  function e(t) {
20009
20091
  return t === void 0 && (t = 500), r.call(this, new ai(), t) || this;
20010
20092
  }
20011
20093
  return e;
20012
20094
  })(cr);
20013
- var ld = /* @__PURE__ */ function() {
20095
+ var cd = /* @__PURE__ */ function() {
20014
20096
  var r = function(e, t) {
20015
20097
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
20016
20098
  n.__proto__ = i;
@@ -20027,7 +20109,7 @@ var ld = /* @__PURE__ */ function() {
20027
20109
  };
20028
20110
  }();
20029
20111
  (function(r) {
20030
- ld(e, r);
20112
+ cd(e, r);
20031
20113
  function e(t) {
20032
20114
  return t === void 0 && (t = 500), r.call(this, new ni(), t) || this;
20033
20115
  }
@@ -20148,7 +20230,7 @@ var Mo = (
20148
20230
  return n;
20149
20231
  }, r.N1 = 3, r.N2 = 3, r.N3 = 40, r.N4 = 10, r;
20150
20232
  }()
20151
- ), cd = function(r) {
20233
+ ), ud = function(r) {
20152
20234
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
20153
20235
  if (t) return t.call(r);
20154
20236
  if (r && typeof r.length == "number") return {
@@ -20157,7 +20239,7 @@ var Mo = (
20157
20239
  }
20158
20240
  };
20159
20241
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
20160
- }, ud = (
20242
+ }, fd = (
20161
20243
  /** @class */
20162
20244
  function() {
20163
20245
  function r(e, t) {
@@ -20182,7 +20264,7 @@ var Mo = (
20182
20264
  }, r.prototype.clear = function(e) {
20183
20265
  var t, n;
20184
20266
  try {
20185
- for (var i = cd(this.bytes), a = i.next(); !a.done; a = i.next()) {
20267
+ for (var i = ud(this.bytes), a = i.next(); !a.done; a = i.next()) {
20186
20268
  var o = a.value;
20187
20269
  Ee.fill(o, e);
20188
20270
  }
@@ -20268,7 +20350,7 @@ var Mo = (
20268
20350
  return e >= 0 && e < r.NUM_MASK_PATTERNS;
20269
20351
  }, r.NUM_MASK_PATTERNS = 8, r;
20270
20352
  }()
20271
- ), fd = /* @__PURE__ */ function() {
20353
+ ), dd = /* @__PURE__ */ function() {
20272
20354
  var r = function(e, t) {
20273
20355
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
20274
20356
  n.__proto__ = i;
@@ -20286,7 +20368,7 @@ var Mo = (
20286
20368
  }(), pe = (
20287
20369
  /** @class */
20288
20370
  function(r) {
20289
- fd(e, r);
20371
+ dd(e, r);
20290
20372
  function e() {
20291
20373
  return r !== null && r.apply(this, arguments) || this;
20292
20374
  }
@@ -20491,7 +20573,7 @@ var Mo = (
20491
20573
  Int32Array.from([0, 8])
20492
20574
  ]), r.VERSION_INFO_POLY = 7973, r.TYPE_INFO_POLY = 1335, r.TYPE_INFO_MASK_PATTERN = 21522, r;
20493
20575
  }()
20494
- ), dd = (
20576
+ ), hd = (
20495
20577
  /** @class */
20496
20578
  function() {
20497
20579
  function r(e, t) {
@@ -20547,7 +20629,7 @@ var Mo = (
20547
20629
  this.terminateBits(x, d);
20548
20630
  var m = this.interleaveWithECBytes(d, u.getTotalCodewords(), x, g.getNumBlocks()), w = new si();
20549
20631
  w.setECLevel(t), w.setMode(o), w.setVersion(u);
20550
- var C = u.getDimensionForVersion(), A = new ud(C, C), E = this.chooseMaskPattern(m, t, u, A);
20632
+ var C = u.getDimensionForVersion(), A = new fd(C, C), E = this.chooseMaskPattern(m, t, u, A);
20551
20633
  return w.setMaskPattern(E), va.buildMatrix(m, t, u, E, A), w.setMatrix(A), w;
20552
20634
  }, r.recommendVersion = function(e, t, n, i) {
20553
20635
  var a = this.calculateBitsNeeded(t, n, i, Mt.getVersionForNumber(1)), o = this.chooseVersion(a, e), s = this.calculateBitsNeeded(t, n, i, o);
@@ -20637,7 +20719,7 @@ var Mo = (
20637
20719
  var x = v[0], m = new Uint8Array(x);
20638
20720
  e.toBytes(8 * c, m, 0, x);
20639
20721
  var w = r.generateECBytes(m, g[0]);
20640
- h.push(new dd(m, w)), u = Math.max(u, x), f = Math.max(f, w.length), c += v[0];
20722
+ h.push(new hd(m, w)), u = Math.max(u, x), f = Math.max(f, w.length), c += v[0];
20641
20723
  }
20642
20724
  if (n !== c)
20643
20725
  throw new pe("Data bytes does not match offset");
@@ -20862,7 +20944,7 @@ var Mo = (
20862
20944
  -1
20863
20945
  ]), r.DEFAULT_BYTE_MODE_ENCODING = _e.UTF8.getName(), r;
20864
20946
  })();
20865
- var hd = /* @__PURE__ */ function() {
20947
+ var pd = /* @__PURE__ */ function() {
20866
20948
  var r = function(e, t) {
20867
20949
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
20868
20950
  n.__proto__ = i;
@@ -20879,7 +20961,7 @@ var hd = /* @__PURE__ */ function() {
20879
20961
  };
20880
20962
  }();
20881
20963
  (function(r) {
20882
- hd(e, r);
20964
+ pd(e, r);
20883
20965
  function e(t, n, i, a, o, s, l, c) {
20884
20966
  var u = r.call(this, s, l) || this;
20885
20967
  if (u.yuvData = t, u.dataWidth = n, u.dataHeight = i, u.left = a, u.top = o, a + s > n || o + l > i)
@@ -20932,7 +21014,7 @@ var hd = /* @__PURE__ */ function() {
20932
21014
  return new mi(this);
20933
21015
  }, e.THUMBNAIL_SCALE_FACTOR = 2, e;
20934
21016
  })(dn);
20935
- var pd = /* @__PURE__ */ function() {
21017
+ var vd = /* @__PURE__ */ function() {
20936
21018
  var r = function(e, t) {
20937
21019
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
20938
21020
  n.__proto__ = i;
@@ -20949,7 +21031,7 @@ var pd = /* @__PURE__ */ function() {
20949
21031
  };
20950
21032
  }();
20951
21033
  (function(r) {
20952
- pd(e, r);
21034
+ vd(e, r);
20953
21035
  function e(t, n, i, a, o, s, l) {
20954
21036
  var c = r.call(this, n, i) || this;
20955
21037
  if (c.dataWidth = a, c.dataHeight = o, c.left = s, c.top = l, t.BYTES_PER_ELEMENT === 4) {
@@ -20992,7 +21074,7 @@ var pd = /* @__PURE__ */ function() {
20992
21074
  return new mi(this);
20993
21075
  }, e;
20994
21076
  })(dn);
20995
- var vd = /* @__PURE__ */ function() {
21077
+ var gd = /* @__PURE__ */ function() {
20996
21078
  var r = function(e, t) {
20997
21079
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
20998
21080
  n.__proto__ = i;
@@ -21007,10 +21089,10 @@ var vd = /* @__PURE__ */ function() {
21007
21089
  }
21008
21090
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
21009
21091
  };
21010
- }(), gd = (
21092
+ }(), xd = (
21011
21093
  /** @class */
21012
21094
  function(r) {
21013
- vd(e, r);
21095
+ gd(e, r);
21014
21096
  function e() {
21015
21097
  return r !== null && r.apply(this, arguments) || this;
21016
21098
  }
@@ -21018,28 +21100,28 @@ var vd = /* @__PURE__ */ function() {
21018
21100
  return this.getCharacterSetECIByName(t);
21019
21101
  }, e;
21020
21102
  }(_e)
21021
- ), xd = (
21103
+ ), yd = (
21022
21104
  /** @class */
21023
21105
  function() {
21024
21106
  function r() {
21025
21107
  }
21026
21108
  return r.ISO_8859_1 = _e.ISO8859_1, r;
21027
21109
  }()
21028
- ), li, yd = 301, md = function(r, e) {
21110
+ ), li, md = 301, wd = function(r, e) {
21029
21111
  for (var t = 1, n = 0; n < 255; n++)
21030
- e[n] = t, r[t] = n, t *= 2, t >= 256 && (t ^= yd);
21112
+ e[n] = t, r[t] = n, t *= 2, t >= 256 && (t ^= md);
21031
21113
  return {
21032
21114
  LOG: r,
21033
21115
  ALOG: e
21034
21116
  };
21035
21117
  };
21036
- li = md([], []), li.LOG;
21118
+ li = wd([], []), li.LOG;
21037
21119
  li.ALOG;
21038
21120
  var xa;
21039
21121
  (function(r) {
21040
21122
  r[r.FORCE_NONE = 0] = "FORCE_NONE", r[r.FORCE_SQUARE = 1] = "FORCE_SQUARE", r[r.FORCE_RECTANGLE = 2] = "FORCE_RECTANGLE";
21041
21123
  })(xa || (xa = {}));
21042
- var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 239, Id = 240, Gn = 254, bd = 254, ma = "[)>05", wa = "[)>06", Ca = "", ue = 0, Me = 1, Xe = 2, Ce = 3, Oe = 4, Be = 5, Od = (
21124
+ var ya = 129, Vo = 230, Cd = 231, Ad = 235, _d = 236, Ed = 237, Sd = 238, Id = 239, bd = 240, Gn = 254, Od = 254, ma = "[)>05", wa = "[)>06", Ca = "", ue = 0, Me = 1, Xe = 2, Ce = 3, Oe = 4, Be = 5, Nd = (
21043
21125
  /** @class */
21044
21126
  function() {
21045
21127
  function r() {
@@ -21055,24 +21137,24 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21055
21137
  if (i !== this.getEncodingMode())
21056
21138
  switch (i) {
21057
21139
  case Be:
21058
- e.writeCodeword(wd), e.signalEncoderChange(Be);
21140
+ e.writeCodeword(Cd), e.signalEncoderChange(Be);
21059
21141
  return;
21060
21142
  case Me:
21061
21143
  e.writeCodeword(Vo), e.signalEncoderChange(Me);
21062
21144
  return;
21063
21145
  case Ce:
21064
- e.writeCodeword(Ed), e.signalEncoderChange(Ce);
21146
+ e.writeCodeword(Sd), e.signalEncoderChange(Ce);
21065
21147
  break;
21066
21148
  case Xe:
21067
- e.writeCodeword(Sd), e.signalEncoderChange(Xe);
21149
+ e.writeCodeword(Id), e.signalEncoderChange(Xe);
21068
21150
  break;
21069
21151
  case Oe:
21070
- e.writeCodeword(Id), e.signalEncoderChange(Oe);
21152
+ e.writeCodeword(bd), e.signalEncoderChange(Oe);
21071
21153
  break;
21072
21154
  default:
21073
21155
  throw new Error("Illegal mode: " + i);
21074
21156
  }
21075
- else ct.isExtendedASCII(n) ? (e.writeCodeword(Cd), e.writeCodeword(n - 128 + 1), e.pos++) : (e.writeCodeword(n + 1), e.pos++);
21157
+ else ct.isExtendedASCII(n) ? (e.writeCodeword(Ad), e.writeCodeword(n - 128 + 1), e.pos++) : (e.writeCodeword(n + 1), e.pos++);
21076
21158
  }
21077
21159
  }, r.prototype.encodeASCIIDigits = function(e, t) {
21078
21160
  if (ct.isDigit(e) && ct.isDigit(t)) {
@@ -21082,7 +21164,7 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21082
21164
  throw new Error("not digits: " + e + t);
21083
21165
  }, r;
21084
21166
  }()
21085
- ), Nd = (
21167
+ ), Td = (
21086
21168
  /** @class */
21087
21169
  function() {
21088
21170
  function r() {
@@ -21212,7 +21294,7 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21212
21294
  return a.append(n), a.append(i), a.toString();
21213
21295
  }, r;
21214
21296
  }()
21215
- ), Td = (
21297
+ ), Dd = (
21216
21298
  /** @class */
21217
21299
  function() {
21218
21300
  function r() {
@@ -21269,7 +21351,7 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21269
21351
  return f.append(l), t >= 2 && f.append(c), t >= 3 && f.append(u), f.toString();
21270
21352
  }, r;
21271
21353
  }()
21272
- ), Dd = /* @__PURE__ */ function() {
21354
+ ), Rd = /* @__PURE__ */ function() {
21273
21355
  var r = function(e, t) {
21274
21356
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
21275
21357
  n.__proto__ = i;
@@ -21284,7 +21366,7 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21284
21366
  }
21285
21367
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
21286
21368
  };
21287
- }(), Rd = function(r) {
21369
+ }(), Md = function(r) {
21288
21370
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
21289
21371
  if (t) return t.call(r);
21290
21372
  if (r && typeof r.length == "number") return {
@@ -21303,7 +21385,7 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21303
21385
  var o, s;
21304
21386
  t === void 0 && (t = 0), n === void 0 && (n = null), i === void 0 && (i = null), a === void 0 && (a = !0);
21305
21387
  try {
21306
- for (var l = Rd(Vd), c = l.next(); !c.done; c = l.next()) {
21388
+ for (var l = Md(Pd), c = l.next(); !c.done; c = l.next()) {
21307
21389
  var u = c.value;
21308
21390
  if (!(t === 1 && u.rectangular) && !(t === 2 && !u.rectangular) && !(n != null && (u.getSymbolWidth() < n.getWidth() || u.getSymbolHeight() < n.getHeight())) && !(i != null && (u.getSymbolWidth() > i.getWidth() || u.getSymbolHeight() > i.getHeight())) && e <= u.dataCapacity)
21309
21391
  return u;
@@ -21370,10 +21452,10 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21370
21452
  return this.rsBlockError;
21371
21453
  }, r;
21372
21454
  }()
21373
- ), Md = (
21455
+ ), Vd = (
21374
21456
  /** @class */
21375
21457
  function(r) {
21376
- Dd(e, r);
21458
+ Rd(e, r);
21377
21459
  function e() {
21378
21460
  return r.call(this, !1, 1558, 620, 22, 22, 36, -1, 62) || this;
21379
21461
  }
@@ -21383,7 +21465,7 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21383
21465
  return t <= 8 ? 156 : 155;
21384
21466
  }, e;
21385
21467
  }(oe)
21386
- ), Vd = [
21468
+ ), Pd = [
21387
21469
  new oe(!1, 3, 5, 8, 8, 1),
21388
21470
  new oe(!1, 5, 7, 10, 10, 1),
21389
21471
  /*rect*/
@@ -21419,8 +21501,8 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21419
21501
  new oe(!1, 816, 336, 24, 24, 16, 136, 56),
21420
21502
  new oe(!1, 1050, 408, 18, 18, 36, 175, 68),
21421
21503
  new oe(!1, 1304, 496, 20, 20, 36, 163, 62),
21422
- new Md()
21423
- ], Pd = (
21504
+ new Vd()
21505
+ ], Fd = (
21424
21506
  /** @class */
21425
21507
  function() {
21426
21508
  function r(e) {
@@ -21475,7 +21557,7 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21475
21557
  this.symbolInfo = null;
21476
21558
  }, r;
21477
21559
  }()
21478
- ), Fd = /* @__PURE__ */ function() {
21560
+ ), Bd = /* @__PURE__ */ function() {
21479
21561
  var r = function(e, t) {
21480
21562
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
21481
21563
  n.__proto__ = i;
@@ -21490,10 +21572,10 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21490
21572
  }
21491
21573
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
21492
21574
  };
21493
- }(), Bd = (
21575
+ }(), Ld = (
21494
21576
  /** @class */
21495
21577
  function(r) {
21496
- Fd(e, r);
21578
+ Bd(e, r);
21497
21579
  function e() {
21498
21580
  return r !== null && r.apply(this, arguments) || this;
21499
21581
  }
@@ -21536,10 +21618,10 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21536
21618
  }, e.prototype.handleEOD = function(t, n) {
21537
21619
  t.updateSymbolInfo();
21538
21620
  var i = t.getSymbolInfo().getDataCapacity() - t.getCodewordCount(), a = n.length();
21539
- t.pos -= a, (t.getRemainingCharacters() > 1 || i > 1 || t.getRemainingCharacters() !== i) && t.writeCodeword(bd), t.getNewEncoding() < 0 && t.signalEncoderChange(ue);
21621
+ t.pos -= a, (t.getRemainingCharacters() > 1 || i > 1 || t.getRemainingCharacters() !== i) && t.writeCodeword(Od), t.getNewEncoding() < 0 && t.signalEncoderChange(ue);
21540
21622
  }, e;
21541
21623
  }(Ei)
21542
- ), Ld = /* @__PURE__ */ function() {
21624
+ ), kd = /* @__PURE__ */ function() {
21543
21625
  var r = function(e, t) {
21544
21626
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
21545
21627
  n.__proto__ = i;
@@ -21554,10 +21636,10 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21554
21636
  }
21555
21637
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
21556
21638
  };
21557
- }(), kd = (
21639
+ }(), zd = (
21558
21640
  /** @class */
21559
21641
  function(r) {
21560
- Ld(e, r);
21642
+ kd(e, r);
21561
21643
  function e() {
21562
21644
  return r !== null && r.apply(this, arguments) || this;
21563
21645
  }
@@ -21600,14 +21682,14 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21600
21682
  }, r.encodeHighLevel = function(e, t, n, i, a) {
21601
21683
  t === void 0 && (t = 0), n === void 0 && (n = null), i === void 0 && (i = null), a === void 0 && (a = !1);
21602
21684
  var o = new Ei(), s = [
21603
- new Od(),
21685
+ new Nd(),
21604
21686
  o,
21605
- new kd(),
21606
- new Bd(),
21607
- new Td(),
21608
- new Nd()
21609
- ], l = new Pd(e);
21610
- l.setSymbolShape(t), l.setSizeConstraints(n, i), e.startsWith(ma) && e.endsWith(Ca) ? (l.writeCodeword(Ad), l.setSkipAtEnd(2), l.pos += ma.length) : e.startsWith(wa) && e.endsWith(Ca) && (l.writeCodeword(_d), l.setSkipAtEnd(2), l.pos += wa.length);
21687
+ new zd(),
21688
+ new Ld(),
21689
+ new Dd(),
21690
+ new Td()
21691
+ ], l = new Fd(e);
21692
+ l.setSymbolShape(t), l.setSizeConstraints(n, i), e.startsWith(ma) && e.endsWith(Ca) ? (l.writeCodeword(_d), l.setSkipAtEnd(2), l.pos += ma.length) : e.startsWith(wa) && e.endsWith(Ca) && (l.writeCodeword(Ed), l.setSkipAtEnd(2), l.pos += wa.length);
21611
21693
  var c = ue;
21612
21694
  for (a && (o.encodeMaximal(l), c = l.getNewEncoding(), l.resetEncoderSignal()); l.hasMoreCharacters(); )
21613
21695
  s[c].encode(l), l.getNewEncoding() >= 0 && (c = l.getNewEncoding(), l.resetEncoderSignal());
@@ -21746,7 +21828,7 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21746
21828
  }
21747
21829
  }, r;
21748
21830
  }()
21749
- ), zd = (
21831
+ ), Ud = (
21750
21832
  /** @class */
21751
21833
  function() {
21752
21834
  function r(e, t, n) {
@@ -21773,10 +21855,10 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21773
21855
  "windows-1256",
21774
21856
  "Shift_JIS"
21775
21857
  ].map(function(V) {
21776
- return new Aa(gd.forName(V));
21858
+ return new Aa(xd.forName(V));
21777
21859
  }), this.encoders = [];
21778
21860
  var u = [];
21779
- u.push(new Aa(xd.ISO_8859_1));
21861
+ u.push(new Aa(yd.ISO_8859_1));
21780
21862
  for (var f = t != null && t.name.startsWith("UTF"), h = 0; h < e.length; h++) {
21781
21863
  var d = !1;
21782
21864
  try {
@@ -21870,12 +21952,12 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21870
21952
  return nt.encode(Q.getCharAt(e), this.encoders[t].name);
21871
21953
  }, r;
21872
21954
  }()
21873
- ), Ud = 3, Hd = (
21955
+ ), Hd = 3, Gd = (
21874
21956
  /** @class */
21875
21957
  function() {
21876
21958
  function r(e, t, n) {
21877
21959
  this.fnc1 = n;
21878
- var i = new zd(e, t, n);
21960
+ var i = new Ud(e, t, n);
21879
21961
  if (i.length() === 1)
21880
21962
  for (var a = 0; a < this.bytes.length; a++) {
21881
21963
  var o = e.charAt(a).charCodeAt(0);
@@ -21967,13 +22049,13 @@ var ya = 129, Vo = 230, wd = 231, Cd = 235, Ad = 236, _d = 237, Ed = 238, Sd = 2
21967
22049
  function r(e, t, n, i, a) {
21968
22050
  this.c = e, this.encoderSet = t, this.encoderIndex = n, this.previous = i, this.fnc1 = a, this.c = e === a ? 1e3 : e;
21969
22051
  var o = this.isFNC1() ? 1 : t.encode(e, n).length, s = i === null ? 0 : i.encoderIndex;
21970
- s !== n && (o += Ud), i != null && (o += i.cachedTotalSize), this.cachedTotalSize = o;
22052
+ s !== n && (o += Hd), i != null && (o += i.cachedTotalSize), this.cachedTotalSize = o;
21971
22053
  }
21972
22054
  return r.prototype.isFNC1 = function() {
21973
22055
  return this.c === 1e3;
21974
22056
  }, r;
21975
22057
  }()
21976
- ), Gd = /* @__PURE__ */ function() {
22058
+ ), Xd = /* @__PURE__ */ function() {
21977
22059
  var r = function(e, t) {
21978
22060
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
21979
22061
  n.__proto__ = i;
@@ -21994,7 +22076,7 @@ var Ea;
21994
22076
  r[r.ASCII = 0] = "ASCII", r[r.C40 = 1] = "C40", r[r.TEXT = 2] = "TEXT", r[r.X12 = 3] = "X12", r[r.EDF = 4] = "EDF", r[r.B256 = 5] = "B256";
21995
22077
  })(Ea || (Ea = {}));
21996
22078
  (function(r) {
21997
- Gd(e, r);
22079
+ Xd(e, r);
21998
22080
  function e(t, n, i, a, o) {
21999
22081
  var s = r.call(this, t, n, i) || this;
22000
22082
  return s.shape = a, s.macroId = o, s;
@@ -22004,8 +22086,8 @@ var Ea;
22004
22086
  }, e.prototype.getShapeHint = function() {
22005
22087
  return this.shape;
22006
22088
  }, e;
22007
- })(Hd);
22008
- var Xd = (
22089
+ })(Gd);
22090
+ var Wd = (
22009
22091
  /** @class */
22010
22092
  function() {
22011
22093
  function r() {
@@ -22043,7 +22125,7 @@ var Xd = (
22043
22125
  return e.sort(t)[0];
22044
22126
  }, r;
22045
22127
  }()
22046
- ), Wd = (
22128
+ ), qd = (
22047
22129
  /** @class */
22048
22130
  function() {
22049
22131
  function r(e) {
@@ -22053,7 +22135,7 @@ var Xd = (
22053
22135
  return this.previous;
22054
22136
  }, r;
22055
22137
  }()
22056
- ), qd = /* @__PURE__ */ function() {
22138
+ ), $d = /* @__PURE__ */ function() {
22057
22139
  var r = function(e, t) {
22058
22140
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
22059
22141
  n.__proto__ = i;
@@ -22071,7 +22153,7 @@ var Xd = (
22071
22153
  }(), Si = (
22072
22154
  /** @class */
22073
22155
  function(r) {
22074
- qd(e, r);
22156
+ $d(e, r);
22075
22157
  function e(t, n, i) {
22076
22158
  var a = r.call(this, t) || this;
22077
22159
  return a.value = n, a.bitCount = i, a;
@@ -22086,8 +22168,8 @@ var Xd = (
22086
22168
  var t = this.value & (1 << this.bitCount) - 1;
22087
22169
  return t |= 1 << this.bitCount, "<" + Z.toBinaryString(t | 1 << this.bitCount).substring(1) + ">";
22088
22170
  }, e;
22089
- }(Wd)
22090
- ), $d = /* @__PURE__ */ function() {
22171
+ }(qd)
22172
+ ), jd = /* @__PURE__ */ function() {
22091
22173
  var r = function(e, t) {
22092
22174
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
22093
22175
  n.__proto__ = i;
@@ -22102,10 +22184,10 @@ var Xd = (
22102
22184
  }
22103
22185
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
22104
22186
  };
22105
- }(), jd = (
22187
+ }(), Yd = (
22106
22188
  /** @class */
22107
22189
  function(r) {
22108
- $d(e, r);
22190
+ jd(e, r);
22109
22191
  function e(t, n, i) {
22110
22192
  var a = r.call(this, t, 0, 0) || this;
22111
22193
  return a.binaryShiftStart = n, a.binaryShiftByteCount = i, a;
@@ -22120,19 +22202,19 @@ var Xd = (
22120
22202
  }, e;
22121
22203
  }(Si)
22122
22204
  );
22123
- function Yd(r, e, t) {
22124
- return new jd(r, e, t);
22205
+ function Zd(r, e, t) {
22206
+ return new Yd(r, e, t);
22125
22207
  }
22126
22208
  function vr(r, e, t) {
22127
22209
  return new Si(r, e, t);
22128
22210
  }
22129
- var Zd = [
22211
+ var Kd = [
22130
22212
  "UPPER",
22131
22213
  "LOWER",
22132
22214
  "DIGIT",
22133
22215
  "MIXED",
22134
22216
  "PUNCT"
22135
- ], St = 0, on = 1, rt = 2, Po = 3, vt = 4, Kd = new Si(null, 0, 0), Wn = [
22217
+ ], St = 0, on = 1, rt = 2, Po = 3, vt = 4, Qd = new Si(null, 0, 0), Wn = [
22136
22218
  Int32Array.from([
22137
22219
  0,
22138
22220
  (5 << 16) + 28,
@@ -22172,7 +22254,7 @@ var Zd = [
22172
22254
  656381,
22173
22255
  0
22174
22256
  ])
22175
- ], Qd = function(r) {
22257
+ ], Jd = function(r) {
22176
22258
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
22177
22259
  if (t) return t.call(r);
22178
22260
  if (r && typeof r.length == "number") return {
@@ -22182,10 +22264,10 @@ var Zd = [
22182
22264
  };
22183
22265
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
22184
22266
  };
22185
- function Jd(r) {
22267
+ function e1(r) {
22186
22268
  var e, t;
22187
22269
  try {
22188
- for (var n = Qd(r), i = n.next(); !i.done; i = n.next()) {
22270
+ for (var n = Jd(r), i = n.next(); !i.done; i = n.next()) {
22189
22271
  var a = i.value;
22190
22272
  Ee.fill(a, -1);
22191
22273
  }
@@ -22200,7 +22282,7 @@ function Jd(r) {
22200
22282
  }
22201
22283
  return r[St][vt] = 0, r[on][vt] = 0, r[on][St] = 28, r[Po][vt] = 0, r[rt][vt] = 0, r[rt][St] = 15, r;
22202
22284
  }
22203
- var Fo = Jd(Ee.createInt32Array(6, 6)), e1 = function(r) {
22285
+ var Fo = e1(Ee.createInt32Array(6, 6)), t1 = function(r) {
22204
22286
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
22205
22287
  if (t) return t.call(r);
22206
22288
  if (r && typeof r.length == "number") return {
@@ -22209,7 +22291,7 @@ var Fo = Jd(Ee.createInt32Array(6, 6)), e1 = function(r) {
22209
22291
  }
22210
22292
  };
22211
22293
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
22212
- }, t1 = (
22294
+ }, r1 = (
22213
22295
  /** @class */
22214
22296
  function() {
22215
22297
  function r(e, t, n, i) {
@@ -22246,7 +22328,7 @@ var Fo = Jd(Ee.createInt32Array(6, 6)), e1 = function(r) {
22246
22328
  if (this.binaryShiftByteCount === 0)
22247
22329
  return this;
22248
22330
  var t = this.token;
22249
- return t = Yd(t, e - this.binaryShiftByteCount, this.binaryShiftByteCount), new r(t, this.mode, 0, this.bitCount);
22331
+ return t = Zd(t, e - this.binaryShiftByteCount, this.binaryShiftByteCount), new r(t, this.mode, 0, this.bitCount);
22250
22332
  }, r.prototype.isBetterThanOrEqualTo = function(e) {
22251
22333
  var t = this.bitCount + (Wn[this.mode][e.mode] >> 16);
22252
22334
  return this.binaryShiftByteCount < e.binaryShiftByteCount ? t += r.calculateBinaryShiftCost(e) - r.calculateBinaryShiftCost(this) : this.binaryShiftByteCount > e.binaryShiftByteCount && e.binaryShiftByteCount > 0 && (t += 10), t <= e.bitCount;
@@ -22255,7 +22337,7 @@ var Fo = Jd(Ee.createInt32Array(6, 6)), e1 = function(r) {
22255
22337
  i.unshift(a);
22256
22338
  var o = new Te();
22257
22339
  try {
22258
- for (var s = e1(i), l = s.next(); !l.done; l = s.next()) {
22340
+ for (var s = t1(i), l = s.next(); !l.done; l = s.next()) {
22259
22341
  var c = l.value;
22260
22342
  c.appendTo(o, e);
22261
22343
  }
@@ -22270,13 +22352,13 @@ var Fo = Jd(Ee.createInt32Array(6, 6)), e1 = function(r) {
22270
22352
  }
22271
22353
  return o;
22272
22354
  }, r.prototype.toString = function() {
22273
- return Q.format("%s bits=%d bytes=%d", Zd[this.mode], this.bitCount, this.binaryShiftByteCount);
22355
+ return Q.format("%s bits=%d bytes=%d", Kd[this.mode], this.bitCount, this.binaryShiftByteCount);
22274
22356
  }, r.calculateBinaryShiftCost = function(e) {
22275
22357
  return e.binaryShiftByteCount > 62 ? 21 : e.binaryShiftByteCount > 31 ? 20 : e.binaryShiftByteCount > 0 ? 10 : 0;
22276
- }, r.INITIAL_STATE = new r(Kd, St, 0, 0), r;
22358
+ }, r.INITIAL_STATE = new r(Qd, St, 0, 0), r;
22277
22359
  }()
22278
22360
  );
22279
- function r1(r) {
22361
+ function n1(r) {
22280
22362
  var e = Q.getCharCode(" "), t = Q.getCharCode("."), n = Q.getCharCode(",");
22281
22363
  r[St][e] = 1;
22282
22364
  for (var i = Q.getCharCode("Z"), a = Q.getCharCode("A"), o = a; o <= i; o++)
@@ -22356,7 +22438,7 @@ function r1(r) {
22356
22438
  Q.getCharCode(d[h]) > 0 && (r[vt][Q.getCharCode(d[h])] = h);
22357
22439
  return r;
22358
22440
  }
22359
- var qn = r1(Ee.createInt32Array(5, 256)), Yr = function(r) {
22441
+ var qn = n1(Ee.createInt32Array(5, 256)), Yr = function(r) {
22360
22442
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
22361
22443
  if (t) return t.call(r);
22362
22444
  if (r && typeof r.length == "number") return {
@@ -22365,7 +22447,7 @@ var qn = r1(Ee.createInt32Array(5, 256)), Yr = function(r) {
22365
22447
  }
22366
22448
  };
22367
22449
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
22368
- }, n1 = (
22450
+ }, i1 = (
22369
22451
  /** @class */
22370
22452
  function() {
22371
22453
  function r(e) {
@@ -22373,7 +22455,7 @@ var qn = r1(Ee.createInt32Array(5, 256)), Yr = function(r) {
22373
22455
  }
22374
22456
  return r.prototype.encode = function() {
22375
22457
  for (var e = Q.getCharCode(" "), t = Q.getCharCode(`
22376
- `), n = Sa.singletonList(t1.INITIAL_STATE), i = 0; i < this.text.length; i++) {
22458
+ `), n = Sa.singletonList(r1.INITIAL_STATE), i = 0; i < this.text.length; i++) {
22377
22459
  var a = void 0, o = i + 1 < this.text.length ? this.text[i + 1] : 0;
22378
22460
  switch (this.text[i]) {
22379
22461
  case Q.getCharCode("\r"):
@@ -22499,7 +22581,7 @@ var qn = r1(Ee.createInt32Array(5, 256)), Yr = function(r) {
22499
22581
  return o;
22500
22582
  }, r;
22501
22583
  }()
22502
- ), i1 = function(r) {
22584
+ ), a1 = function(r) {
22503
22585
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
22504
22586
  if (t) return t.call(r);
22505
22587
  if (r && typeof r.length == "number") return {
@@ -22515,7 +22597,7 @@ var qn = r1(Ee.createInt32Array(5, 256)), Yr = function(r) {
22515
22597
  return r.encodeBytes = function(e) {
22516
22598
  return r.encode(e, r.DEFAULT_EC_PERCENT, r.DEFAULT_AZTEC_LAYERS);
22517
22599
  }, r.encode = function(e, t, n) {
22518
- var i = new n1(e).encode(), a = Z.truncDivision(i.getSize() * t, 100) + 11, o = i.getSize() + a, s, l, c, u, f;
22600
+ var i = new i1(e).encode(), a = Z.truncDivision(i.getSize() * t, 100) + 11, o = i.getSize() + a, s, l, c, u, f;
22519
22601
  if (n !== r.DEFAULT_AZTEC_LAYERS) {
22520
22602
  if (s = n < 0, l = Math.abs(n), l > (s ? r.MAX_NB_BITS_COMPACT : r.MAX_NB_BITS))
22521
22603
  throw new U(Q.format("Illegal value %s for layers", n));
@@ -22564,7 +22646,7 @@ var qn = r1(Ee.createInt32Array(5, 256)), Yr = function(r) {
22564
22646
  for (var X = Z.truncDivision(C, 2) & 1; X < C; X += 2)
22565
22647
  N.set(Z.truncDivision(C, 2) - F, X), N.set(Z.truncDivision(C, 2) + F, X), N.set(X, Z.truncDivision(C, 2) - F), N.set(X, Z.truncDivision(C, 2) + F);
22566
22648
  }
22567
- var te = new Xd();
22649
+ var te = new Wd();
22568
22650
  return te.setCompact(s), te.setSize(C), te.setLayers(l), te.setCodeWords(g), te.setMatrix(N), te;
22569
22651
  }, r.drawBullsEye = function(e, t, n) {
22570
22652
  for (var i = 0; i < n; i += 2)
@@ -22592,7 +22674,7 @@ var qn = r1(Ee.createInt32Array(5, 256)), Yr = function(r) {
22592
22674
  var u = t % n, f = new Te();
22593
22675
  f.appendBits(0, u);
22594
22676
  try {
22595
- for (var h = i1(Array.from(c)), d = h.next(); !d.done; d = h.next()) {
22677
+ for (var h = a1(Array.from(c)), d = h.next(); !d.done; d = h.next()) {
22596
22678
  var v = d.value;
22597
22679
  f.appendBits(v, n);
22598
22680
  }
@@ -22674,7 +22756,7 @@ var qn = r1(Ee.createInt32Array(5, 256)), Yr = function(r) {
22674
22756
  12
22675
22757
  ]), r;
22676
22758
  })();
22677
- const a1 = /* @__PURE__ */ new Map([
22759
+ const o1 = /* @__PURE__ */ new Map([
22678
22760
  [
22679
22761
  Ls.POSSIBLE_FORMATS,
22680
22762
  [
@@ -22724,7 +22806,7 @@ const Bo = G((r) => {
22724
22806
  onDecodeResult: n,
22725
22807
  onDecodeError: i,
22726
22808
  onError: a,
22727
- hints: a1
22809
+ hints: o1
22728
22810
  });
22729
22811
  return /* @__PURE__ */ _("div", { className: "flex size-full flex-col justify-center overflow-hidden bg-(--color-background)", children: [
22730
22812
  /* @__PURE__ */ p("div", { className: "flex w-full justify-end p-4", children: /* @__PURE__ */ p(yt.Close, { asChild: !0, children: /* @__PURE__ */ p(ne, { "aria-label": "close", variant: "soft", accentColor: "base", children: /* @__PURE__ */ p(D, { icon: bt }) }) }) }),
@@ -22732,7 +22814,7 @@ const Bo = G((r) => {
22732
22814
  ] });
22733
22815
  });
22734
22816
  Bo.displayName = "ScannerInternal";
22735
- const o1 = G((r) => {
22817
+ const s1 = G((r) => {
22736
22818
  const { children: e } = r, [t, n] = ye(null), i = T(() => {
22737
22819
  n(null);
22738
22820
  }, []), a = T(
@@ -22748,7 +22830,7 @@ const o1 = G((r) => {
22748
22830
  t && /* @__PURE__ */ p(Ii, { open: !0, onOpenChange: o, ...t })
22749
22831
  ] });
22750
22832
  });
22751
- o1.displayName = "FileViewerProvider";
22833
+ s1.displayName = "FileViewerProvider";
22752
22834
  const Lo = G((r) => {
22753
22835
  const [
22754
22836
  { inputId: e, labelId: t, label: n, helpText: i, size: a, severity: o, showInputOnly: s, field: l, fieldProps: c, helpers: u, touched: f },
@@ -22869,6 +22951,12 @@ const er = class er extends Qe {
22869
22951
  areValuesEqual(t, n) {
22870
22952
  return t === n;
22871
22953
  }
22954
+ blankSerializedValue() {
22955
+ return "";
22956
+ }
22957
+ areSerializedValuesEqual(t, n) {
22958
+ return t === n;
22959
+ }
22872
22960
  };
22873
22961
  I(er, "fieldTypeName", "Scan"), I(er, "fieldTypeDescription", "Used for scanning/reading QR and barcodes.");
22874
22962
  let sn = er;
@@ -23261,6 +23349,12 @@ const nr = class nr extends Qe {
23261
23349
  blankValue() {
23262
23350
  return [];
23263
23351
  }
23352
+ blankSerializedValue() {
23353
+ return [];
23354
+ }
23355
+ areSerializedValuesEqual(t, n) {
23356
+ return t.length === n.length;
23357
+ }
23264
23358
  };
23265
23359
  I(nr, "fieldTypeName", "Upload"), I(nr, "fieldTypeDescription", "Allows a file to be uploaded.");
23266
23360
  let Pr = nr;
@@ -23297,7 +23391,7 @@ const bi = {
23297
23391
  "pass-fail": vl,
23298
23392
  otp: Zl,
23299
23393
  rating: no
23300
- }, Cr = 50, s1 = Cr * 1e3, l1 = s1 * 1e3;
23394
+ }, Cr = 50, l1 = Cr * 1e3, c1 = l1 * 1e3, ze = "Unlabelled", Ho = "Unlabelled";
23301
23395
  class K {
23302
23396
  constructor(e) {
23303
23397
  I(this, "id");
@@ -23312,43 +23406,43 @@ class K {
23312
23406
  return new K(e);
23313
23407
  }
23314
23408
  }
23315
- const c1 = K.create({
23409
+ const u1 = K.create({
23316
23410
  id: "nullable-boolean-equals",
23317
23411
  label: "is",
23318
23412
  getApplyFn: (r) => (e) => e === r,
23319
23413
  serialize: (r) => r,
23320
23414
  deserialize: (r) => r
23321
- }), u1 = K.create({
23415
+ }), f1 = K.create({
23322
23416
  id: "nullable-boolean-not-equals",
23323
23417
  label: "is not",
23324
23418
  getApplyFn: (r) => (e) => e !== r,
23325
23419
  serialize: (r) => r,
23326
23420
  deserialize: (r) => r
23327
- }), f1 = K.create({
23421
+ }), d1 = K.create({
23328
23422
  id: "date-equals",
23329
23423
  getApplyFn: (r) => (e) => e.getTime() === r.getTime(),
23330
23424
  label: "is",
23331
23425
  serialize: (r) => r.toISOString(),
23332
23426
  deserialize: (r) => new Date(r)
23333
- }), d1 = K.create({
23427
+ }), h1 = K.create({
23334
23428
  id: "date-not-equals",
23335
23429
  getApplyFn: (r) => (e) => e.getTime() !== r.getTime(),
23336
23430
  label: "is not",
23337
23431
  serialize: (r) => r.toISOString(),
23338
23432
  deserialize: (r) => new Date(r)
23339
- }), h1 = K.create({
23433
+ }), p1 = K.create({
23340
23434
  id: "date-before",
23341
23435
  getApplyFn: (r) => (e) => e.getTime() < r.getTime(),
23342
23436
  label: "before",
23343
23437
  serialize: (r) => r.toISOString(),
23344
23438
  deserialize: (r) => new Date(r)
23345
- }), p1 = K.create({
23439
+ }), v1 = K.create({
23346
23440
  id: "date-after",
23347
23441
  label: "after",
23348
23442
  getApplyFn: (r) => (e) => e.getTime() > r.getTime(),
23349
23443
  serialize: (r) => r.toISOString(),
23350
23444
  deserialize: (r) => new Date(r)
23351
- }), v1 = K.create({
23445
+ }), g1 = K.create({
23352
23446
  id: "date-range-in",
23353
23447
  label: "in between",
23354
23448
  getApplyFn: (r) => (e) => !(r != null && r.from && r.from.getTime() > e.getTime() || r != null && r.to && r.to.getTime() < e.getTime()),
@@ -23363,7 +23457,7 @@ const c1 = K.create({
23363
23457
  from: r.from ? new Date(r.from) : void 0,
23364
23458
  to: r.to ? new Date(r.to) : void 0
23365
23459
  })
23366
- }), g1 = K.create({
23460
+ }), x1 = K.create({
23367
23461
  id: "date-range-not-in",
23368
23462
  label: "not in between",
23369
23463
  getApplyFn: (r) => (e) => !!(r != null && r.from && r.from.getTime() > e.getTime() || r != null && r.to && r.to.getTime() < e.getTime()),
@@ -23378,79 +23472,79 @@ const c1 = K.create({
23378
23472
  from: r.from ? new Date(r.from) : void 0,
23379
23473
  to: r.to ? new Date(r.to) : void 0
23380
23474
  })
23381
- }), x1 = K.create({
23475
+ }), y1 = K.create({
23382
23476
  id: "has-files",
23383
23477
  label: "is",
23384
23478
  getApplyFn: (r) => (e) => e.length > 0,
23385
23479
  serialize: (r) => r,
23386
23480
  deserialize: (r) => r
23387
- }), y1 = K.create({
23481
+ }), m1 = K.create({
23388
23482
  id: "does-not-have-files",
23389
23483
  label: "is not",
23390
23484
  getApplyFn: (r) => (e) => e.length === 0,
23391
23485
  serialize: (r) => r,
23392
23486
  deserialize: (r) => r
23393
- }), Ho = K.create({
23487
+ }), Go = K.create({
23394
23488
  id: "number-equals",
23395
23489
  getApplyFn: (r) => (e) => e === r,
23396
23490
  label: "is",
23397
23491
  serialize: (r) => r,
23398
23492
  deserialize: (r) => r
23399
- }), Go = K.create({
23493
+ }), Xo = K.create({
23400
23494
  id: "number-not-equals",
23401
23495
  getApplyFn: (r) => (e) => e !== r,
23402
23496
  label: "is not",
23403
23497
  serialize: (r) => r,
23404
23498
  deserialize: (r) => r
23405
- }), Xo = K.create({
23499
+ }), Wo = K.create({
23406
23500
  id: "number-less-than",
23407
23501
  getApplyFn: (r) => (e) => e < r,
23408
23502
  label: "is less than",
23409
23503
  serialize: (r) => r,
23410
23504
  deserialize: (r) => r
23411
- }), Wo = K.create({
23505
+ }), qo = K.create({
23412
23506
  id: "number-less-than-or-equals",
23413
23507
  getApplyFn: (r) => (e) => e <= r,
23414
23508
  label: "is less than or equal to",
23415
23509
  serialize: (r) => r,
23416
23510
  deserialize: (r) => r
23417
- }), qo = K.create({
23511
+ }), $o = K.create({
23418
23512
  id: "number-greater-than",
23419
23513
  getApplyFn: (r) => (e) => e > r,
23420
23514
  label: "is greater than",
23421
23515
  serialize: (r) => r,
23422
23516
  deserialize: (r) => r
23423
- }), $o = K.create({
23517
+ }), jo = K.create({
23424
23518
  id: "number-greater-than-or-equals",
23425
23519
  getApplyFn: (r) => (e) => e >= r,
23426
23520
  label: "is greater than or equal to",
23427
23521
  serialize: (r) => r,
23428
23522
  deserialize: (r) => r
23429
- }), jo = K.create({
23523
+ }), Yo = K.create({
23430
23524
  id: "number-range-in",
23431
23525
  getApplyFn: (r) => (e) => !(r.to && e > r.to || r.from && e < r.from),
23432
23526
  label: "is between",
23433
23527
  serialize: (r) => r,
23434
23528
  deserialize: (r) => r
23435
- }), Yo = K.create({
23529
+ }), Zo = K.create({
23436
23530
  id: "number-range-not-in",
23437
23531
  getApplyFn: (r) => (e) => !!(r.to && e > r.to || r.from && e < r.from),
23438
23532
  label: "is not between",
23439
23533
  serialize: (r) => r,
23440
23534
  deserialize: (r) => r
23441
- }), m1 = K.create({
23535
+ }), w1 = K.create({
23442
23536
  id: "pass-fail-equals",
23443
23537
  getApplyFn: (r) => (e) => e === r,
23444
23538
  label: "is",
23445
23539
  serialize: (r) => r,
23446
23540
  deserialize: (r) => r
23447
- }), w1 = K.create({
23541
+ }), C1 = K.create({
23448
23542
  id: "pass-fail-not-equals",
23449
23543
  getApplyFn: (r) => (e) => e !== r,
23450
23544
  label: "is not",
23451
23545
  serialize: (r) => r,
23452
23546
  deserialize: (r) => r
23453
- }), C1 = K.create({
23547
+ }), A1 = K.create({
23454
23548
  id: "pass-fail-array-includes",
23455
23549
  getApplyFn: (r) => {
23456
23550
  const e = new Set(r);
@@ -23459,7 +23553,7 @@ const c1 = K.create({
23459
23553
  label: "is any of",
23460
23554
  serialize: (r) => r,
23461
23555
  deserialize: (r) => r
23462
- }), A1 = K.create({
23556
+ }), _1 = K.create({
23463
23557
  id: "pass-fail-array-excludes",
23464
23558
  getApplyFn: (r) => {
23465
23559
  const e = new Set(r);
@@ -23492,7 +23586,7 @@ const c1 = K.create({
23492
23586
  label: "does not include",
23493
23587
  serialize: (r) => r,
23494
23588
  deserialize: (r) => r
23495
- }), Zo = K.create({
23589
+ }), Ko = K.create({
23496
23590
  id: "string-array-includes",
23497
23591
  getApplyFn: (r) => {
23498
23592
  const e = new Set(r);
@@ -23501,7 +23595,7 @@ const c1 = K.create({
23501
23595
  label: "is any of",
23502
23596
  serialize: (r) => r,
23503
23597
  deserialize: (r) => r
23504
- }), Ko = K.create({
23598
+ }), Qo = K.create({
23505
23599
  id: "string-array-excludes",
23506
23600
  getApplyFn: (r) => {
23507
23601
  const e = new Set(r);
@@ -23614,7 +23708,7 @@ class je extends un {
23614
23708
  return t;
23615
23709
  }
23616
23710
  }
23617
- const ln = "form-builder", ze = "Unlabelled", Qo = "Unlabelled", Jo = G, Bt = Jo(function(r) {
23711
+ const Jo = G, Bt = Jo(function(r) {
23618
23712
  const { ref: e, children: t, ...n } = r, i = T(
23619
23713
  (a) => typeof t == "function" ? /* @__PURE__ */ _(ut, { children: [
23620
23714
  t(a),
@@ -23867,7 +23961,7 @@ const Xr = G((r) => {
23867
23961
  ] });
23868
23962
  });
23869
23963
  Xr.displayName = "TextInputPopover";
23870
- const _1 = (r) => {
23964
+ const E1 = (r) => {
23871
23965
  const { condition: e, onRemove: t } = r, n = e.getConditionValue(), i = e.getConditionModifier(), a = () => {
23872
23966
  switch (n) {
23873
23967
  case void 0:
@@ -23905,13 +23999,13 @@ const _1 = (r) => {
23905
23999
  ] });
23906
24000
  }, Ia = {
23907
24001
  equals: L({
23908
- modifier: c1,
24002
+ modifier: u1,
23909
24003
  isValueValid: (r) => !0,
23910
24004
  isConditionValueValid: (r) => !0,
23911
24005
  isSerializedValueValid: (r) => !0
23912
24006
  }),
23913
24007
  notEquals: L({
23914
- modifier: u1,
24008
+ modifier: f1,
23915
24009
  isValueValid: (r) => !0,
23916
24010
  isConditionValueValid: (r) => !0,
23917
24011
  isSerializedValueValid: (r) => !0
@@ -23928,10 +24022,10 @@ class xn extends je {
23928
24022
  return i !== void 0 && (l = s.modifier.deserialize(i)), new xn({ field: n, conditionModifier: a, conditionValue: l, ...o });
23929
24023
  }
23930
24024
  render(t) {
23931
- return /* @__PURE__ */ p(_1, { condition: this, ...t }, this.id);
24025
+ return /* @__PURE__ */ p(E1, { condition: this, ...t }, this.id);
23932
24026
  }
23933
24027
  }
23934
- const E1 = (r) => {
24028
+ const S1 = (r) => {
23935
24029
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = T(
23936
24030
  (l) => {
23937
24031
  l.length > 0 ? e.setConditionValue(l) : e.setConditionValue(void 0);
@@ -24008,7 +24102,7 @@ class yn extends je {
24008
24102
  return new yn({ field: n, conditionModifier: a, conditionValue: l, ...o });
24009
24103
  }
24010
24104
  render(t) {
24011
- return /* @__PURE__ */ p(E1, { condition: this, ...t }, this.id);
24105
+ return /* @__PURE__ */ p(S1, { condition: this, ...t }, this.id);
24012
24106
  }
24013
24107
  }
24014
24108
  class Pi extends un {
@@ -24044,10 +24138,10 @@ class Pi extends un {
24044
24138
  return this.conditions.length === 0 ? !0 : this.conditions.map((i) => [i.getApplyFn(), i.accessorFn]).every(([i, a]) => i(a(t)));
24045
24139
  }
24046
24140
  }
24047
- const w0 = (r, e) => ie(() => {
24141
+ const C0 = (r, e) => ie(() => {
24048
24142
  const t = new Pi(r);
24049
24143
  return t.observe((n) => e(n.getConditions())), t;
24050
- }, [r, e]), S1 = (r) => {
24144
+ }, [r, e]), I1 = (r) => {
24051
24145
  const { condition: e, onRemove: t } = r, n = e.getConditionValue(), i = e.getConditionModifier(), a = () => {
24052
24146
  var o, s;
24053
24147
  switch (i) {
@@ -24109,37 +24203,37 @@ const w0 = (r, e) => ie(() => {
24109
24203
  ] });
24110
24204
  }, Oa = {
24111
24205
  equals: L({
24112
- modifier: f1,
24206
+ modifier: d1,
24113
24207
  isValueValid: (r) => r instanceof Date,
24114
24208
  isConditionValueValid: (r) => r instanceof Date,
24115
24209
  isSerializedValueValid: (r) => typeof r == "string"
24116
24210
  }),
24117
24211
  notEquals: L({
24118
- modifier: d1,
24212
+ modifier: h1,
24119
24213
  isValueValid: (r) => r instanceof Date,
24120
24214
  isConditionValueValid: (r) => r instanceof Date,
24121
24215
  isSerializedValueValid: (r) => typeof r == "string"
24122
24216
  }),
24123
24217
  before: L({
24124
- modifier: h1,
24218
+ modifier: p1,
24125
24219
  isValueValid: (r) => r instanceof Date,
24126
24220
  isConditionValueValid: (r) => r instanceof Date,
24127
24221
  isSerializedValueValid: (r) => typeof r == "string"
24128
24222
  }),
24129
24223
  after: L({
24130
- modifier: p1,
24224
+ modifier: v1,
24131
24225
  isValueValid: (r) => r instanceof Date,
24132
24226
  isConditionValueValid: (r) => r instanceof Date,
24133
24227
  isSerializedValueValid: (r) => typeof r == "string"
24134
24228
  }),
24135
24229
  in: L({
24136
- modifier: v1,
24230
+ modifier: g1,
24137
24231
  isValueValid: (r) => r instanceof Date,
24138
24232
  isConditionValueValid: (r) => "to" in (r ?? {}) && "from" in (r ?? {}),
24139
24233
  isSerializedValueValid: (r) => typeof r == "object" && "to" in r && "from" in r
24140
24234
  }),
24141
24235
  notIn: L({
24142
- modifier: g1,
24236
+ modifier: x1,
24143
24237
  isValueValid: (r) => r instanceof Date,
24144
24238
  isConditionValueValid: (r) => "to" in (r ?? {}) && "from" in (r ?? {}),
24145
24239
  isSerializedValueValid: (r) => typeof r == "object" && "to" in r && "from" in r
@@ -24158,10 +24252,10 @@ class mn extends je {
24158
24252
  return new mn({ field: n, conditionModifier: a, conditionValue: l, ...o });
24159
24253
  }
24160
24254
  render(t) {
24161
- return /* @__PURE__ */ p(S1, { condition: this, ...t }, this.id);
24255
+ return /* @__PURE__ */ p(I1, { condition: this, ...t }, this.id);
24162
24256
  }
24163
24257
  }
24164
- const I1 = (r) => {
24258
+ const b1 = (r) => {
24165
24259
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = T(
24166
24260
  (l) => {
24167
24261
  l.length > 0 ? e.setConditionValue(l) : e.setConditionValue(void 0);
@@ -24238,10 +24332,10 @@ class wn extends je {
24238
24332
  return new wn({ field: n, conditionModifier: a, conditionValue: l, ...o });
24239
24333
  }
24240
24334
  render(t) {
24241
- return /* @__PURE__ */ p(I1, { condition: this, ...t }, this.id);
24335
+ return /* @__PURE__ */ p(b1, { condition: this, ...t }, this.id);
24242
24336
  }
24243
24337
  }
24244
- const Fi = [], b1 = (r) => {
24338
+ const Fi = [], O1 = (r) => {
24245
24339
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = T(
24246
24340
  (l) => {
24247
24341
  e.setConditionValue(l.length > 0 ? l : void 0);
@@ -24310,10 +24404,10 @@ class Cn extends je {
24310
24404
  return new Cn({ field: n, conditionModifier: a, conditionValue: l, ...o });
24311
24405
  }
24312
24406
  render(t) {
24313
- return /* @__PURE__ */ p(b1, { condition: this, ...t }, this.id);
24407
+ return /* @__PURE__ */ p(O1, { condition: this, ...t }, this.id);
24314
24408
  }
24315
24409
  }
24316
- const O1 = (r) => {
24410
+ const N1 = (r) => {
24317
24411
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = () => {
24318
24412
  switch (a) {
24319
24413
  case "equals":
@@ -24379,49 +24473,49 @@ const O1 = (r) => {
24379
24473
  ] });
24380
24474
  }, Da = {
24381
24475
  equals: L({
24382
- modifier: Ho,
24476
+ modifier: Go,
24383
24477
  isValueValid: (r) => typeof r == "number",
24384
24478
  isConditionValueValid: (r) => typeof r == "number",
24385
24479
  isSerializedValueValid: (r) => typeof r == "number"
24386
24480
  }),
24387
24481
  notEquals: L({
24388
- modifier: Go,
24482
+ modifier: Xo,
24389
24483
  isValueValid: (r) => typeof r == "number",
24390
24484
  isConditionValueValid: (r) => typeof r == "number",
24391
24485
  isSerializedValueValid: (r) => typeof r == "number"
24392
24486
  }),
24393
24487
  lessThan: L({
24394
- modifier: Xo,
24488
+ modifier: Wo,
24395
24489
  isValueValid: (r) => typeof r == "number",
24396
24490
  isConditionValueValid: (r) => typeof r == "number",
24397
24491
  isSerializedValueValid: (r) => typeof r == "number"
24398
24492
  }),
24399
24493
  lessThanOrEquals: L({
24400
- modifier: Wo,
24494
+ modifier: qo,
24401
24495
  isValueValid: (r) => typeof r == "number",
24402
24496
  isConditionValueValid: (r) => typeof r == "number",
24403
24497
  isSerializedValueValid: (r) => typeof r == "number"
24404
24498
  }),
24405
24499
  greaterThan: L({
24406
- modifier: qo,
24500
+ modifier: $o,
24407
24501
  isValueValid: (r) => typeof r == "number",
24408
24502
  isConditionValueValid: (r) => typeof r == "number",
24409
24503
  isSerializedValueValid: (r) => typeof r == "number"
24410
24504
  }),
24411
24505
  greaterThanOrEquals: L({
24412
- modifier: $o,
24506
+ modifier: jo,
24413
24507
  isValueValid: (r) => typeof r == "number",
24414
24508
  isConditionValueValid: (r) => typeof r == "number",
24415
24509
  isSerializedValueValid: (r) => typeof r == "number"
24416
24510
  }),
24417
24511
  inRange: L({
24418
- modifier: jo,
24512
+ modifier: Yo,
24419
24513
  isValueValid: (r) => typeof r == "number",
24420
24514
  isConditionValueValid: (r) => typeof r == "object",
24421
24515
  isSerializedValueValid: (r) => typeof r == "object"
24422
24516
  }),
24423
24517
  notInRange: L({
24424
- modifier: Yo,
24518
+ modifier: Zo,
24425
24519
  isValueValid: (r) => typeof r == "number",
24426
24520
  isConditionValueValid: (r) => typeof r == "object",
24427
24521
  isSerializedValueValid: (r) => typeof r == "object"
@@ -24440,10 +24534,10 @@ class An extends je {
24440
24534
  return new An({ field: n, conditionModifier: a, conditionValue: l, ...o });
24441
24535
  }
24442
24536
  render(t) {
24443
- return /* @__PURE__ */ p(O1, { condition: this, ...t }, this.id);
24537
+ return /* @__PURE__ */ p(N1, { condition: this, ...t }, this.id);
24444
24538
  }
24445
24539
  }
24446
- const N1 = (r) => {
24540
+ const T1 = (r) => {
24447
24541
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = () => {
24448
24542
  switch (a) {
24449
24543
  case "equals":
@@ -24506,10 +24600,10 @@ class _n extends je {
24506
24600
  return new _n({ field: n, conditionModifier: a, conditionValue: l, ...o });
24507
24601
  }
24508
24602
  render(t) {
24509
- return /* @__PURE__ */ p(N1, { condition: this, ...t }, this.id);
24603
+ return /* @__PURE__ */ p(T1, { condition: this, ...t }, this.id);
24510
24604
  }
24511
24605
  }
24512
- const T1 = (r) => {
24606
+ const D1 = (r) => {
24513
24607
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = () => {
24514
24608
  switch (a) {
24515
24609
  case "equals":
@@ -24568,25 +24662,25 @@ const T1 = (r) => {
24568
24662
  ] });
24569
24663
  }, Ma = {
24570
24664
  equals: L({
24571
- modifier: m1,
24665
+ modifier: w1,
24572
24666
  isValueValid: (r) => r !== null,
24573
24667
  isConditionValueValid: (r) => typeof r == "string",
24574
24668
  isSerializedValueValid: (r) => typeof r == "string"
24575
24669
  }),
24576
24670
  notEquals: L({
24577
- modifier: w1,
24671
+ modifier: C1,
24578
24672
  isValueValid: (r) => r !== null,
24579
24673
  isConditionValueValid: (r) => typeof r == "string",
24580
24674
  isSerializedValueValid: (r) => typeof r == "string"
24581
24675
  }),
24582
24676
  includes: L({
24583
- modifier: C1,
24677
+ modifier: A1,
24584
24678
  isValueValid: (r) => r !== null,
24585
24679
  isConditionValueValid: (r) => Array.isArray(r),
24586
24680
  isSerializedValueValid: (r) => Array.isArray(r)
24587
24681
  }),
24588
24682
  excludes: L({
24589
- modifier: A1,
24683
+ modifier: _1,
24590
24684
  isValueValid: (r) => r !== null,
24591
24685
  isConditionValueValid: (r) => Array.isArray(r),
24592
24686
  isSerializedValueValid: (r) => Array.isArray(r)
@@ -24608,10 +24702,10 @@ class En extends je {
24608
24702
  return t.status;
24609
24703
  }
24610
24704
  render(t) {
24611
- return /* @__PURE__ */ p(T1, { condition: this, ...t }, this.id);
24705
+ return /* @__PURE__ */ p(D1, { condition: this, ...t }, this.id);
24612
24706
  }
24613
24707
  }
24614
- const D1 = (r) => {
24708
+ const R1 = (r) => {
24615
24709
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = ie(() => n.options.map(
24616
24710
  (c) => typeof c == "string" ? {
24617
24711
  value: c,
@@ -24680,13 +24774,13 @@ const D1 = (r) => {
24680
24774
  isSerializedValueValid: (r) => !Array.isArray(r)
24681
24775
  }),
24682
24776
  includes: L({
24683
- modifier: Zo,
24777
+ modifier: Ko,
24684
24778
  isValueValid: (r) => typeof r == "string",
24685
24779
  isConditionValueValid: (r) => Array.isArray(r),
24686
24780
  isSerializedValueValid: (r) => Array.isArray(r)
24687
24781
  }),
24688
24782
  excludes: L({
24689
- modifier: Ko,
24783
+ modifier: Qo,
24690
24784
  isValueValid: (r) => typeof r == "string",
24691
24785
  isConditionValueValid: (r) => Array.isArray(r),
24692
24786
  isSerializedValueValid: (r) => Array.isArray(r)
@@ -24705,10 +24799,10 @@ class Sn extends je {
24705
24799
  return new Sn({ field: n, conditionModifier: a, conditionValue: l, ...o });
24706
24800
  }
24707
24801
  render(t) {
24708
- return /* @__PURE__ */ p(D1, { condition: this, ...t }, this.id);
24802
+ return /* @__PURE__ */ p(R1, { condition: this, ...t }, this.id);
24709
24803
  }
24710
24804
  }
24711
- const R1 = (r) => {
24805
+ const M1 = (r) => {
24712
24806
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = () => {
24713
24807
  switch (a) {
24714
24808
  case "equals":
@@ -24775,49 +24869,49 @@ const R1 = (r) => {
24775
24869
  ] });
24776
24870
  }, Pa = {
24777
24871
  equals: L({
24778
- modifier: Ho,
24872
+ modifier: Go,
24779
24873
  isValueValid: (r) => typeof r == "number",
24780
24874
  isConditionValueValid: (r) => typeof r == "number",
24781
24875
  isSerializedValueValid: (r) => typeof r == "number"
24782
24876
  }),
24783
24877
  notEquals: L({
24784
- modifier: Go,
24878
+ modifier: Xo,
24785
24879
  isValueValid: (r) => typeof r == "number",
24786
24880
  isConditionValueValid: (r) => typeof r == "number",
24787
24881
  isSerializedValueValid: (r) => typeof r == "number"
24788
24882
  }),
24789
24883
  lessThan: L({
24790
- modifier: Xo,
24884
+ modifier: Wo,
24791
24885
  isValueValid: (r) => typeof r == "number",
24792
24886
  isConditionValueValid: (r) => typeof r == "number",
24793
24887
  isSerializedValueValid: (r) => typeof r == "number"
24794
24888
  }),
24795
24889
  lessThanOrEquals: L({
24796
- modifier: Wo,
24890
+ modifier: qo,
24797
24891
  isValueValid: (r) => typeof r == "number",
24798
24892
  isConditionValueValid: (r) => typeof r == "number",
24799
24893
  isSerializedValueValid: (r) => typeof r == "number"
24800
24894
  }),
24801
24895
  greaterThan: L({
24802
- modifier: qo,
24896
+ modifier: $o,
24803
24897
  isValueValid: (r) => typeof r == "number",
24804
24898
  isConditionValueValid: (r) => typeof r == "number",
24805
24899
  isSerializedValueValid: (r) => typeof r == "number"
24806
24900
  }),
24807
24901
  greaterThanOrEquals: L({
24808
- modifier: $o,
24902
+ modifier: jo,
24809
24903
  isValueValid: (r) => typeof r == "number",
24810
24904
  isConditionValueValid: (r) => typeof r == "number",
24811
24905
  isSerializedValueValid: (r) => typeof r == "number"
24812
24906
  }),
24813
24907
  inRange: L({
24814
- modifier: jo,
24908
+ modifier: Yo,
24815
24909
  isValueValid: (r) => typeof r == "number",
24816
24910
  isConditionValueValid: (r) => typeof r == "object",
24817
24911
  isSerializedValueValid: (r) => typeof r == "object"
24818
24912
  }),
24819
24913
  notInRange: L({
24820
- modifier: Yo,
24914
+ modifier: Zo,
24821
24915
  isValueValid: (r) => typeof r == "number",
24822
24916
  isConditionValueValid: (r) => typeof r == "object",
24823
24917
  isSerializedValueValid: (r) => typeof r == "object"
@@ -24836,10 +24930,10 @@ class In extends je {
24836
24930
  return new In({ field: n, conditionModifier: a, conditionValue: l, ...o });
24837
24931
  }
24838
24932
  render(t) {
24839
- return /* @__PURE__ */ p(R1, { condition: this, ...t }, this.id);
24933
+ return /* @__PURE__ */ p(M1, { condition: this, ...t }, this.id);
24840
24934
  }
24841
24935
  }
24842
- const M1 = (r) => {
24936
+ const V1 = (r) => {
24843
24937
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = () => {
24844
24938
  switch (a) {
24845
24939
  case "equals":
@@ -24902,10 +24996,10 @@ class bn extends je {
24902
24996
  return new bn({ field: n, conditionModifier: a, conditionValue: l, ...o });
24903
24997
  }
24904
24998
  render(t) {
24905
- return /* @__PURE__ */ p(M1, { condition: this, ...t }, this.id);
24999
+ return /* @__PURE__ */ p(V1, { condition: this, ...t }, this.id);
24906
25000
  }
24907
25001
  }
24908
- const V1 = (r) => {
25002
+ const P1 = (r) => {
24909
25003
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = ie(() => n.options.map(
24910
25004
  (u) => typeof u == "string" ? {
24911
25005
  value: u,
@@ -24979,13 +25073,13 @@ const V1 = (r) => {
24979
25073
  isSerializedValueValid: (r) => !Array.isArray(r)
24980
25074
  }),
24981
25075
  includes: L({
24982
- modifier: Zo,
25076
+ modifier: Ko,
24983
25077
  isValueValid: (r) => typeof r == "string",
24984
25078
  isConditionValueValid: (r) => Array.isArray(r),
24985
25079
  isSerializedValueValid: (r) => Array.isArray(r)
24986
25080
  }),
24987
25081
  excludes: L({
24988
- modifier: Ko,
25082
+ modifier: Qo,
24989
25083
  isValueValid: (r) => typeof r == "string",
24990
25084
  isConditionValueValid: (r) => Array.isArray(r),
24991
25085
  isSerializedValueValid: (r) => Array.isArray(r)
@@ -25004,10 +25098,10 @@ class On extends je {
25004
25098
  return new On({ field: n, conditionModifier: a, conditionValue: l, ...o });
25005
25099
  }
25006
25100
  render(t) {
25007
- return /* @__PURE__ */ p(V1, { condition: this, ...t }, this.id);
25101
+ return /* @__PURE__ */ p(P1, { condition: this, ...t }, this.id);
25008
25102
  }
25009
25103
  }
25010
- const P1 = (r) => {
25104
+ const F1 = (r) => {
25011
25105
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = () => {
25012
25106
  switch (a) {
25013
25107
  case "equals":
@@ -25070,10 +25164,10 @@ class Nn extends je {
25070
25164
  return new Nn({ field: n, conditionModifier: a, conditionValue: l, ...o });
25071
25165
  }
25072
25166
  render(t) {
25073
- return /* @__PURE__ */ p(P1, { condition: this, ...t }, this.id);
25167
+ return /* @__PURE__ */ p(F1, { condition: this, ...t }, this.id);
25074
25168
  }
25075
25169
  }
25076
- const F1 = (r) => {
25170
+ const B1 = (r) => {
25077
25171
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = () => {
25078
25172
  switch (a) {
25079
25173
  case "equals":
@@ -25136,10 +25230,10 @@ class Tn extends je {
25136
25230
  return new Tn({ field: n, conditionModifier: a, conditionValue: l, ...o });
25137
25231
  }
25138
25232
  render(t) {
25139
- return /* @__PURE__ */ p(F1, { condition: this, ...t }, this.id);
25233
+ return /* @__PURE__ */ p(B1, { condition: this, ...t }, this.id);
25140
25234
  }
25141
25235
  }
25142
- const B1 = (r) => {
25236
+ const L1 = (r) => {
25143
25237
  const { condition: e, onRemove: t } = r, n = e.field, i = e.getConditionValue(), a = e.getConditionModifier(), o = () => {
25144
25238
  switch (i) {
25145
25239
  case void 0:
@@ -25177,13 +25271,13 @@ const B1 = (r) => {
25177
25271
  ] });
25178
25272
  }, za = {
25179
25273
  equals: L({
25180
- modifier: x1,
25274
+ modifier: y1,
25181
25275
  isValueValid: (r) => !0,
25182
25276
  isConditionValueValid: (r) => !0,
25183
25277
  isSerializedValueValid: (r) => !0
25184
25278
  }),
25185
25279
  notEquals: L({
25186
- modifier: y1,
25280
+ modifier: m1,
25187
25281
  isValueValid: (r) => !0,
25188
25282
  isConditionValueValid: (r) => !0,
25189
25283
  isSerializedValueValid: (r) => !0
@@ -25199,10 +25293,10 @@ class Dn extends je {
25199
25293
  return new Dn({ field: n, conditionModifier: a, conditionValue: l, ...o });
25200
25294
  }
25201
25295
  render(t) {
25202
- return /* @__PURE__ */ p(B1, { condition: this, ...t }, this.id);
25296
+ return /* @__PURE__ */ p(L1, { condition: this, ...t }, this.id);
25203
25297
  }
25204
25298
  }
25205
- const L1 = {
25299
+ const k1 = {
25206
25300
  date: mn,
25207
25301
  number: An,
25208
25302
  boolean: xn,
@@ -25218,23 +25312,23 @@ const L1 = {
25218
25312
  "pass-fail": En,
25219
25313
  otp: _n,
25220
25314
  rating: In
25221
- }, k1 = (r, e) => {
25315
+ }, z1 = (r, e) => {
25222
25316
  if (r.type !== e.type)
25223
25317
  throw new Error(`field and condition type mismatch ${r.type} !== ${e.type}`);
25224
- return L1[e.type].deserialize(e, r);
25318
+ return k1[e.type].deserialize(e, r);
25225
25319
  }, rs = (r, e) => {
25226
25320
  const t = {};
25227
25321
  for (const n of r)
25228
25322
  t[n.identifier] = n;
25229
25323
  return e.map(
25230
- (n) => k1(t[n.fieldId], n)
25324
+ (n) => z1(t[n.fieldId], n)
25231
25325
  );
25232
25326
  }, Bi = (r) => bi[r.type].deserialize(r);
25233
- function C0(r) {
25234
- return r.map(z1);
25235
- }
25236
- const z1 = (r) => r.type === "section" ? pt.deserialize(r) : Bi(r);
25237
25327
  function A0(r) {
25328
+ return r.map(U1);
25329
+ }
25330
+ const U1 = (r) => r.type === "section" ? pt.deserialize(r) : Bi(r);
25331
+ function _0(r) {
25238
25332
  return r.map(Bi);
25239
25333
  }
25240
25334
  function ci(r) {
@@ -25247,13 +25341,13 @@ function ci(r) {
25247
25341
  e.push(t);
25248
25342
  return e;
25249
25343
  }
25250
- function U1(r) {
25344
+ function H1(r) {
25251
25345
  const e = ci(r), t = {};
25252
25346
  for (const n of e)
25253
25347
  t[n.identifier] = n;
25254
25348
  return t;
25255
25349
  }
25256
- function H1(r, e) {
25350
+ function G1(r, e) {
25257
25351
  const t = ns(r, e), n = {};
25258
25352
  for (const i of r) {
25259
25353
  if (!(i.identifier in t)) continue;
@@ -25262,8 +25356,8 @@ function H1(r, e) {
25262
25356
  }
25263
25357
  return n;
25264
25358
  }
25265
- function G1(r, e) {
25266
- const t = X1(r, e), n = {};
25359
+ function X1(r, e) {
25360
+ const t = W1(r, e), n = {};
25267
25361
  for (const i of r) {
25268
25362
  if (!(i.identifier in t)) continue;
25269
25363
  const a = t[i.identifier];
@@ -25280,7 +25374,7 @@ function ns(r, e) {
25280
25374
  }
25281
25375
  return t;
25282
25376
  }
25283
- function X1(r, e) {
25377
+ function W1(r, e) {
25284
25378
  const t = {};
25285
25379
  for (const n of r) {
25286
25380
  if (!(n.identifier in e)) continue;
@@ -25289,7 +25383,7 @@ function X1(r, e) {
25289
25383
  }
25290
25384
  return t;
25291
25385
  }
25292
- function _0(r, e) {
25386
+ function E0(r, e) {
25293
25387
  const t = ns(r, e), n = {}, i = {};
25294
25388
  for (const a of r) {
25295
25389
  if (!(a.identifier in t)) continue;
@@ -25312,7 +25406,7 @@ function _0(r, e) {
25312
25406
  }
25313
25407
  return [n, i];
25314
25408
  }
25315
- function E0(r, e, t) {
25409
+ function S0(r, e, t) {
25316
25410
  const n = {};
25317
25411
  for (const i of r) {
25318
25412
  if (!(i.identifier in e)) continue;
@@ -25343,14 +25437,14 @@ const is = (r, e) => {
25343
25437
  t[n.identifier] = i !== void 0 ? i : n.blankValue();
25344
25438
  }
25345
25439
  return t;
25346
- }, W1 = (r, e, t) => {
25440
+ }, q1 = (r, e, t) => {
25347
25441
  const n = {};
25348
25442
  for (const i of r) {
25349
25443
  const a = e[i.identifier], o = t[i.identifier];
25350
25444
  i.areValuesEqual(a, o) || (n[i.identifier] = o);
25351
25445
  }
25352
25446
  return n;
25353
- }, S0 = (r, e, t) => {
25447
+ }, I0 = (r, e, t) => {
25354
25448
  const n = {};
25355
25449
  for (const i of r) {
25356
25450
  const a = e[i.identifier], o = t[i.identifier];
@@ -25513,7 +25607,7 @@ I(Dt, "fieldTypeName", "Section"), I(Dt, "fieldTypeDescription", "Sections can b
25513
25607
  return new Dt({ ...t, fields: n, conditions: i });
25514
25608
  });
25515
25609
  let pt = Dt;
25516
- const q1 = (r, e, t = {}) => {
25610
+ const $1 = (r, e, t = {}) => {
25517
25611
  const { conditions: n = !1 } = t, i = r.get(e.identifier);
25518
25612
  if (!i)
25519
25613
  throw new Error(
@@ -25546,11 +25640,11 @@ const q1 = (r, e, t = {}) => {
25546
25640
  conditions: s,
25547
25641
  fields: o
25548
25642
  };
25549
- }, $1 = (r, e = {}) => {
25643
+ }, j1 = (r, e = {}) => {
25550
25644
  const t = new Map(
25551
25645
  r.map((n) => [n.identifier, W()])
25552
25646
  );
25553
- return r.map((n) => q1(t, n, e));
25647
+ return r.map((n) => $1(t, n, e));
25554
25648
  };
25555
25649
  class Lt extends un {
25556
25650
  constructor(t) {
@@ -25573,7 +25667,7 @@ class Lt extends un {
25573
25667
  return new Lt(t.map(pt.deserialize));
25574
25668
  }
25575
25669
  static reseedFieldSections(t, n) {
25576
- return $1(t, n);
25670
+ return j1(t, n);
25577
25671
  }
25578
25672
  getFields() {
25579
25673
  return this.fieldSections.flatMap((t) => t.getFields());
@@ -25596,10 +25690,10 @@ class Lt extends un {
25596
25690
  i.splice(n, 0, a), this.fieldSections = this.initFields(i), this.notify(this);
25597
25691
  }
25598
25692
  deserializeValues(t) {
25599
- return G1(this.getFields(), t);
25693
+ return X1(this.getFields(), t);
25600
25694
  }
25601
25695
  serializeValues(t) {
25602
- return H1(this.getFields(), t);
25696
+ return G1(this.getFields(), t);
25603
25697
  }
25604
25698
  deserializeConditions(t) {
25605
25699
  return rs(this.getFields(), t);
@@ -25628,7 +25722,7 @@ class Lt extends un {
25628
25722
  ), a;
25629
25723
  }
25630
25724
  }
25631
- const zt = Br(new Lt([])), Rn = Br({}), j1 = (r = () => null) => ie(() => Object.entries(bi).map(([t, n]) => ({
25725
+ const zt = Br(new Lt([])), ln = "form-builder", Rn = Br({}), Y1 = (r = () => null) => ie(() => Object.entries(bi).map(([t, n]) => ({
25632
25726
  children: n.fieldTypeName,
25633
25727
  icon: /* @__PURE__ */ p(D, { icon: me[t] }),
25634
25728
  value: t,
@@ -25636,7 +25730,7 @@ const zt = Br(new Lt([])), Rn = Br({}), j1 = (r = () => null) => ie(() => Object
25636
25730
  r(t);
25637
25731
  }
25638
25732
  })), [r]), Mn = G((r) => {
25639
- const { children: e, variant: t, size: n, accentColor: i, onSelectFieldType: a, ...o } = r, s = j1(a);
25733
+ const { children: e, variant: t, size: n, accentColor: i, onSelectFieldType: a, ...o } = r, s = Y1(a);
25640
25734
  return /* @__PURE__ */ _(M.Root, { ...o, children: [
25641
25735
  /* @__PURE__ */ p(M.ClickTrigger, { children: e }),
25642
25736
  /* @__PURE__ */ p(M.Content, { variant: t, size: n, accentColor: i, children: /* @__PURE__ */ p(M.Scroll, { children: s.flat().map((l) => /* @__PURE__ */ _(M.Item, { onSelect: l.onSelect, children: [
@@ -26018,7 +26112,7 @@ const ki = G((r) => {
26018
26112
  if (!x || x.length !== 1) return;
26019
26113
  const m = x.item(0);
26020
26114
  if (m) {
26021
- if (m.size > l1) {
26115
+ if (m.size > c1) {
26022
26116
  st.error({
26023
26117
  title: "File upload error",
26024
26118
  description: `The file ${m.name} exceeded the maximum file size`
@@ -26072,7 +26166,7 @@ const fs = G((r) => {
26072
26166
  /* @__PURE__ */ p(M.ClickTrigger, { children: e }),
26073
26167
  /* @__PURE__ */ p(M.Content, { variant: t, size: n, accentColor: i, children: a.map((l) => /* @__PURE__ */ _(M.Item, { onSelect: () => o(l), children: [
26074
26168
  /* @__PURE__ */ p(D, { icon: me[l.type] }),
26075
- l.label || Qo
26169
+ l.label || Ho
26076
26170
  ] }, l.identifier)) })
26077
26171
  ] });
26078
26172
  });
@@ -26260,11 +26354,11 @@ const hs = G((r) => {
26260
26354
  );
26261
26355
  });
26262
26356
  hs.displayName = "CustomNode";
26263
- const Y1 = {
26357
+ const Z1 = {
26264
26358
  fieldSection: hs
26265
- }, Z1 = {
26359
+ }, K1 = {
26266
26360
  fieldSectionCondition: ds
26267
- }, K1 = (r, e, t) => {
26361
+ }, Q1 = (r, e, t) => {
26268
26362
  const n = new Gi.graphlib.Graph().setDefaultEdgeLabel(() => ({}));
26269
26363
  return n.setGraph({ rankdir: t, nodesep: 200, edgesep: 500, ranksep: 500 }), e.forEach(
26270
26364
  (i) => n.setEdge(i.source, i.target, {
@@ -26290,7 +26384,7 @@ const Y1 = {
26290
26384
  }),
26291
26385
  e
26292
26386
  ];
26293
- }, Q1 = {
26387
+ }, J1 = {
26294
26388
  hideAttribution: !0
26295
26389
  }, ps = G(() => {
26296
26390
  const { handleSubmit: r, errors: e } = kr(), { hideTitle: t, hideDescription: n, onCancel: i } = ft(Rn), a = ft(zt), o = Lr(null), [s, l] = ye(), [c, u] = ye("TB");
@@ -26339,7 +26433,7 @@ const Y1 = {
26339
26433
  }, [f, v]), Le(() => {
26340
26434
  m(h);
26341
26435
  }, [h, m]);
26342
- const [C, A] = ie(() => K1(d, x, c), [x, c, d]), E = T(() => {
26436
+ const [C, A] = ie(() => Q1(d, x, c), [x, c, d]), E = T(() => {
26343
26437
  a.addFieldSection(new pt({ identifier: W(), fields: [] }));
26344
26438
  }, [a]), O = T(
26345
26439
  (H) => {
@@ -26403,14 +26497,14 @@ const Y1 = {
26403
26497
  onNodesChange: g,
26404
26498
  edges: A,
26405
26499
  onEdgesChange: w,
26406
- nodeTypes: Y1,
26407
- edgeTypes: Z1,
26500
+ nodeTypes: Z1,
26501
+ edgeTypes: K1,
26408
26502
  onConnect: O,
26409
26503
  attributionPosition: "bottom-left",
26410
26504
  fitView: !0,
26411
26505
  minZoom: 0,
26412
26506
  isValidConnection: N,
26413
- proOptions: Q1
26507
+ proOptions: J1
26414
26508
  }
26415
26509
  ),
26416
26510
  /* @__PURE__ */ p(Bn, { position: "top-left", children: /* @__PURE__ */ p(he, { className: "flex items-center justify-end gap-2", size: "sm", children: /* @__PURE__ */ _(z, { type: "button", variant: "surface", onClick: E, children: [
@@ -26467,7 +26561,7 @@ const vs = G((r) => {
26467
26561
  /* @__PURE__ */ _(he, { className: "justify-between gap-2 flex", size: "sm", accentColor: "base", variant: "soft", children: [
26468
26562
  /* @__PURE__ */ _(Ie, { accentColor: "base", variant: "soft", size: "sm", children: [
26469
26563
  /* @__PURE__ */ p(D, { icon: me.section }),
26470
- e.label ?? Qo
26564
+ e.label ?? Ho
26471
26565
  ] }),
26472
26566
  /* @__PURE__ */ p(ne, { type: "button", onClick: i, variant: "ghost", children: /* @__PURE__ */ p(D, { icon: kt }) })
26473
26567
  ] }),
@@ -26781,7 +26875,7 @@ const ms = (r, e) => {
26781
26875
  o && Hs(t, a, o);
26782
26876
  }
26783
26877
  if (Object.keys(t).length > 0) return t;
26784
- }, I0 = async (r) => {
26878
+ }, b0 = async (r) => {
26785
26879
  const e = {}, t = [];
26786
26880
  for (const n of r) {
26787
26881
  const { fields: i } = n, a = [];
@@ -26803,13 +26897,13 @@ const ms = (r, e) => {
26803
26897
  }
26804
26898
  return { fields: t, images: e };
26805
26899
  };
26806
- async function b0(r) {
26900
+ async function O0(r) {
26807
26901
  const e = {};
26808
26902
  for (const [t, n] of Object.entries(r))
26809
26903
  e[t] = await Promise.all(n);
26810
26904
  return e;
26811
26905
  }
26812
- const J1 = G(
26906
+ const e0 = G(
26813
26907
  Fr((r, e) => {
26814
26908
  const {
26815
26909
  schema: t,
@@ -26831,7 +26925,7 @@ const J1 = G(
26831
26925
  } = r, { readonly: m } = t.meta, w = Is(), C = ie(() => is(ci(t.fields), n), [t.fields, n]), A = T(
26832
26926
  (F) => {
26833
26927
  a == null || a(
26834
- x ? W1(ci(t.fields), C, F) : F
26928
+ x ? q1(ci(t.fields), C, F) : F
26835
26929
  );
26836
26930
  },
26837
26931
  [x, C, a, t.fields]
@@ -26851,7 +26945,7 @@ const J1 = G(
26851
26945
  }, [g, C]);
26852
26946
  const { dirty: O } = E, N = T(
26853
26947
  (F, Y) => {
26854
- U1(t.fields)[F].areValuesEqual(C[F], Y) || i == null || i({ ...E.values, [F]: Y }, { [F]: Y });
26948
+ H1(t.fields)[F].areValuesEqual(C[F], Y) || i == null || i({ ...E.values, [F]: Y }, { [F]: Y });
26855
26949
  },
26856
26950
  [E.values, C, i, t.fields]
26857
26951
  ), R = ie(
@@ -26910,7 +27004,7 @@ const J1 = G(
26910
27004
  readonly: !1
26911
27005
  }
26912
27006
  }), [n.fieldSections, t.description, t.title]);
26913
- return /* @__PURE__ */ p(J1, { schema: i, hideTitle: !e });
27007
+ return /* @__PURE__ */ p(e0, { schema: i, hideTitle: !e });
26914
27008
  });
26915
27009
  ws.displayName = "FormBuilderPreview";
26916
27010
  const Cs = G((r) => {
@@ -26977,7 +27071,7 @@ const Cs = G((r) => {
26977
27071
  return /* @__PURE__ */ p(Rn, { value: x, children: /* @__PURE__ */ p(zt, { value: g, children: /* @__PURE__ */ p($a, { value: d, children: e }) }) });
26978
27072
  });
26979
27073
  Cs.displayName = "FormBuilderRoot";
26980
- const O0 = {
27074
+ const N0 = {
26981
27075
  Root: Cs,
26982
27076
  FlowBuilder: ps,
26983
27077
  ListBuilder: ys,
@@ -26989,36 +27083,36 @@ export {
26989
27083
  ao as BaseFormElement,
26990
27084
  fn as BaseOptionsField,
26991
27085
  fo as BaseStringField,
26992
- c1 as BooleanEqualsConditionModifier,
27086
+ u1 as BooleanEqualsConditionModifier,
26993
27087
  Ir as BooleanField,
26994
27088
  xn as BooleanFieldCondition,
26995
- _1 as BooleanFieldConditionCell,
27089
+ E1 as BooleanFieldConditionCell,
26996
27090
  co as BooleanInput,
26997
- u1 as BooleanNotEqualsConditionModifier,
27091
+ f1 as BooleanNotEqualsConditionModifier,
26998
27092
  br as CheckboxListField,
26999
27093
  yn as CheckboxListFieldCondition,
27000
- E1 as CheckboxListFieldConditionCell,
27094
+ S1 as CheckboxListFieldConditionCell,
27001
27095
  ho as CheckboxListInput,
27002
27096
  Pi as ConditionManager,
27003
- p1 as DateAfterConditionModifier,
27004
- h1 as DateBeforeConditionModifier,
27005
- f1 as DateEqualsConditionModifier,
27097
+ v1 as DateAfterConditionModifier,
27098
+ p1 as DateBeforeConditionModifier,
27099
+ d1 as DateEqualsConditionModifier,
27006
27100
  nn as DateField,
27007
27101
  mn as DateFieldCondition,
27008
- S1 as DateFieldConditionCell,
27102
+ I1 as DateFieldConditionCell,
27009
27103
  po as DateInput,
27010
- d1 as DateNotEqualsConditionModifier,
27011
- v1 as DateRangeInConditionModifier,
27012
- g1 as DateRangeNotInConditionModifier,
27013
- y1 as DoesNotHaveFilesConditionModifier,
27104
+ h1 as DateNotEqualsConditionModifier,
27105
+ g1 as DateRangeInConditionModifier,
27106
+ x1 as DateRangeNotInConditionModifier,
27107
+ m1 as DoesNotHaveFilesConditionModifier,
27014
27108
  Lt as FieldSchema,
27015
27109
  pt as FieldSection,
27016
27110
  os as FieldSectionLayout,
27017
27111
  bi as FieldTypeToClsMapping,
27018
27112
  io as FileCard,
27019
- O0 as FormBuilder,
27020
- J1 as FormRenderer,
27021
- x1 as HasFilesConditionModifier,
27113
+ N0 as FormBuilder,
27114
+ e0 as FormRenderer,
27115
+ y1 as HasFilesConditionModifier,
27022
27116
  hc as ImageCard,
27023
27117
  so as ImageViewer,
27024
27118
  fc as ImageViewerProvider,
@@ -27028,61 +27122,61 @@ export {
27028
27122
  wr as LONG_TEXT_FIELD_MAX_LENGTH,
27029
27123
  Pt as MultiSelectField,
27030
27124
  wn as MultiSelectFieldCondition,
27031
- I1 as MultiSelectFieldConditionCell,
27125
+ b1 as MultiSelectFieldConditionCell,
27032
27126
  vo as MultiSelectInput,
27033
27127
  Sr as MultiStringField,
27034
27128
  Cn as MultiStringFieldCondition,
27035
- b1 as MultiStringFieldConditionCell,
27129
+ O1 as MultiStringFieldConditionCell,
27036
27130
  lo as MultiStringInput,
27037
- Ho as NumberEqualsConditionModifier,
27131
+ Go as NumberEqualsConditionModifier,
27038
27132
  ht as NumberField,
27039
27133
  An as NumberFieldCondition,
27040
- O1 as NumberFieldConditionCell,
27041
- qo as NumberGreaterThanConditionModifier,
27042
- $o as NumberGreaterThanOrEqualsConditionModifier,
27134
+ N1 as NumberFieldConditionCell,
27135
+ $o as NumberGreaterThanConditionModifier,
27136
+ jo as NumberGreaterThanOrEqualsConditionModifier,
27043
27137
  uo as NumberInput,
27044
- Xo as NumberLessThanConditionModifier,
27045
- Wo as NumberLessThanOrEqualsConditionModifier,
27046
- Go as NumberNotEqualsConditionModifier,
27047
- jo as NumberRangeInConditionModifier,
27048
- Yo as NumberRangeNotInConditionModifier,
27138
+ Wo as NumberLessThanConditionModifier,
27139
+ qo as NumberLessThanOrEqualsConditionModifier,
27140
+ Xo as NumberNotEqualsConditionModifier,
27141
+ Yo as NumberRangeInConditionModifier,
27142
+ Zo as NumberRangeNotInConditionModifier,
27049
27143
  Or as OTPField,
27050
27144
  _n as OTPFieldCondition,
27051
- N1 as OTPFieldConditionCell,
27145
+ T1 as OTPFieldConditionCell,
27052
27146
  xo as OTPInput,
27053
27147
  un as Observable,
27054
- A1 as PassFailArrayExcludesConditionModifier,
27055
- C1 as PassFailArrayIncludesConditionModifier,
27056
- m1 as PassFailEqualsConditionModifier,
27148
+ _1 as PassFailArrayExcludesConditionModifier,
27149
+ A1 as PassFailArrayIncludesConditionModifier,
27150
+ w1 as PassFailEqualsConditionModifier,
27057
27151
  Tr as PassFailField,
27058
27152
  En as PassFailFieldCondition,
27059
- T1 as PassFailFieldConditionCell,
27153
+ D1 as PassFailFieldConditionCell,
27060
27154
  yo as PassFailInput,
27061
- w1 as PassFailNotEqualsConditionModifier,
27155
+ C1 as PassFailNotEqualsConditionModifier,
27062
27156
  Dr as RadioField,
27063
27157
  Sn as RadioFieldCondition,
27064
- D1 as RadioFieldConditionCell,
27158
+ R1 as RadioFieldConditionCell,
27065
27159
  wo as RadioInput,
27066
27160
  Rr as RatingField,
27067
27161
  In as RatingFieldCondition,
27068
- R1 as RatingFieldConditionCell,
27162
+ M1 as RatingFieldConditionCell,
27069
27163
  Co as RatingInput,
27070
27164
  zr as SEVERITY_COLOR_MAPPING,
27071
27165
  $n as SHORT_TEXT_FIELD_MAX_LENGTH,
27072
27166
  sn as ScanField,
27073
27167
  bn as ScanFieldCondition,
27074
- M1 as ScanFieldConditionCell,
27168
+ V1 as ScanFieldConditionCell,
27075
27169
  Lo as ScanInput,
27076
27170
  Ii as Scanner,
27077
- o1 as ScannerProvider,
27171
+ s1 as ScannerProvider,
27078
27172
  sr as SelectField,
27079
27173
  On as SelectFieldCondition,
27080
- V1 as SelectFieldConditionCell,
27174
+ P1 as SelectFieldConditionCell,
27081
27175
  go as SelectInput,
27082
27176
  Di as StringArrayEqualsConditionModifier,
27083
27177
  Oi as StringArrayEveryConditionModifier,
27084
- Ko as StringArrayExcludesConditionModifier,
27085
- Zo as StringArrayIncludesConditionModifier,
27178
+ Qo as StringArrayExcludesConditionModifier,
27179
+ Ko as StringArrayIncludesConditionModifier,
27086
27180
  Ti as StringArrayNoneConditionModifier,
27087
27181
  Ri as StringArrayNotEqualsConditionModifier,
27088
27182
  Ni as StringArraySomeConditionModifier,
@@ -27090,62 +27184,65 @@ export {
27090
27184
  gn as StringExcludesConditionModifier,
27091
27185
  Mr as StringField,
27092
27186
  Nn as StringFieldCondition,
27093
- P1 as StringFieldConditionCell,
27187
+ F1 as StringFieldConditionCell,
27094
27188
  vn as StringIncludesConditionModifier,
27095
27189
  ko as StringInput,
27096
27190
  fr as StringNotEqualsConditionModifier,
27097
27191
  Vr as TextField,
27098
27192
  Tn as TextFieldCondition,
27099
- F1 as TextFieldConditionCell,
27193
+ B1 as TextFieldConditionCell,
27100
27194
  zo as TextInput,
27195
+ ze as UNLABELLED_FIELD_LABEL,
27196
+ Ho as UNLABELLED_SECTION_LABEL,
27101
27197
  Ft as UUIDFile,
27102
27198
  Ur as UUIDPromise,
27103
27199
  Pr as UploadField,
27104
27200
  Dn as UploadFieldCondition,
27105
- B1 as UploadFieldConditionCell,
27201
+ L1 as UploadFieldConditionCell,
27106
27202
  Uo as UploadInput,
27107
27203
  gi as areFileAndPromiseArraysEqual,
27108
27204
  mc as arePassFieldValuesEqual,
27109
- b0 as awaitFilesAndPromises,
27110
- W1 as changedFieldValues,
27205
+ wc as areSerializedPassFailFieldValuesEqual,
27206
+ O0 as awaitFilesAndPromises,
27207
+ q1 as changedFieldValues,
27111
27208
  ns as cleanFieldValues,
27112
- X1 as cleanSerializedFieldValues,
27209
+ W1 as cleanSerializedFieldValues,
27113
27210
  ss as createCondition,
27114
27211
  L as createConditionModifierConfig,
27115
27212
  Li as createField,
27116
- z1 as deserialize,
27117
- k1 as deserializeCondition,
27213
+ U1 as deserialize,
27214
+ z1 as deserializeCondition,
27118
27215
  rs as deserializeConditions,
27119
27216
  Bi as deserializeField,
27120
- G1 as deserializeFieldValues,
27121
- C0 as deserializeFields,
27122
- A0 as deserializeOnlyFields,
27217
+ X1 as deserializeFieldValues,
27218
+ A0 as deserializeFields,
27219
+ _0 as deserializeOnlyFields,
27123
27220
  yc as deserializePassFailFieldValue,
27124
- _0 as extractFilesAndPromisesFromFieldValues,
27221
+ E0 as extractFilesAndPromisesFromFieldValues,
27125
27222
  me as fieldIcons,
27126
27223
  ci as flattenFields,
27127
- U1 as getFieldsMapping,
27224
+ H1 as getFieldsMapping,
27128
27225
  is as initializeFieldValues,
27129
- E0 as insertFilesAndPromisesToFieldValues,
27226
+ S0 as insertFilesAndPromisesToFieldValues,
27130
27227
  dc as isFileAndPromiseArray,
27131
27228
  mo as isPassFailFieldStatus,
27132
27229
  gc as isPassFailFieldValue,
27133
27230
  vc as isSerializedPassFailFieldValue,
27134
27231
  or as isStringArray,
27135
- l1 as maxFileSizeB,
27136
- s1 as maxFileSizeKB,
27232
+ c1 as maxFileSizeB,
27233
+ l1 as maxFileSizeKB,
27137
27234
  Cr as maxFileSizeMB,
27138
27235
  ar as passFailFieldStatusMapping,
27139
27236
  Nr as passFailFieldStatuses,
27140
- I0 as separateImagesFromFields,
27141
- H1 as serializeFieldValues,
27237
+ b0 as separateImagesFromFields,
27238
+ G1 as serializeFieldValues,
27142
27239
  xc as serializePassFailFieldValue,
27143
- S0 as unchangedFieldValues,
27144
- w0 as useConditionManager,
27145
- y0 as useFieldInput,
27240
+ I0 as unchangedFieldValues,
27241
+ C0 as useConditionManager,
27242
+ m0 as useFieldInput,
27146
27243
  rn as useFieldInputs,
27147
27244
  $e as useFormikInput,
27148
27245
  vi as useImageViewer,
27149
- m0 as useScanner,
27246
+ w0 as useScanner,
27150
27247
  ms as validateFields
27151
27248
  };