@quickflo/quickforms-quasar 1.16.7 → 1.16.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -503,13 +503,13 @@ function Cy(i, e) {
503
503
  const k = ++l, v = e.value !== !0 ? () => {
504
504
  s.value = !0;
505
505
  } : () => {
506
- }, x = (E, D) => {
507
- E === !0 && v(), r.value = E, o.value = D || null, e.value = !1;
506
+ }, x = (E, q) => {
507
+ E === !0 && v(), r.value = E, o.value = q || null, e.value = !1;
508
508
  }, C = [];
509
509
  for (let E = 0; E < t.rules.length; E++) {
510
- const D = t.rules[E];
510
+ const q = t.rules[E];
511
511
  let F;
512
- if (typeof D == "function" ? F = D(y, da) : typeof D == "string" && da[D] !== void 0 && (F = da[D](y)), F === !1 || typeof F == "string")
512
+ if (typeof q == "function" ? F = q(y, da) : typeof q == "string" && da[q] !== void 0 && (F = da[q](y)), F === !1 || typeof F == "string")
513
513
  return x(!0, F), !1;
514
514
  F !== !0 && F !== void 0 && C.push(F);
515
515
  }
@@ -517,8 +517,8 @@ function Cy(i, e) {
517
517
  (E) => {
518
518
  if (E === void 0 || Array.isArray(E) === !1 || E.length === 0)
519
519
  return k === l && x(!1), !0;
520
- const D = E.find((F) => F === !1 || typeof F == "string");
521
- return k === l && x(D !== void 0, D), D === void 0;
520
+ const q = E.find((F) => F === !1 || typeof F == "string");
521
+ return k === l && x(q !== void 0, q), q === void 0;
522
522
  },
523
523
  (E) => (k === l && (console.error(E), x(!0)), !1)
524
524
  ));
@@ -717,7 +717,7 @@ function dc(i) {
717
717
  clearValue: P,
718
718
  onControlFocusin: V,
719
719
  onControlFocusout: B,
720
- focus: D
720
+ focus: q
721
721
  }), i.computedCounter === void 0 && (i.computedCounter = b(() => {
722
722
  if (e.counter !== !1) {
723
723
  const N = typeof e.modelValue == "string" || typeof e.modelValue == "number" ? ("" + e.modelValue).length : Array.isArray(e.modelValue) === !0 ? e.modelValue.length : 0, K = e.maxlength !== void 0 ? e.maxlength : e.maxValues;
@@ -757,7 +757,7 @@ function dc(i) {
757
757
  let K = (Y = i.targetRef) == null ? void 0 : Y.value;
758
758
  K && (N === null || N.id !== i.targetUid.value) && (K.hasAttribute("tabindex") === !0 || (K = K.querySelector("[tabindex]")), K !== N && (K == null || K.focus({ preventScroll: !0 })));
759
759
  }
760
- function D() {
760
+ function q() {
761
761
  Il(E);
762
762
  }
763
763
  function F() {
@@ -783,7 +783,7 @@ function dc(i) {
783
783
  function R(N) {
784
784
  [13, 32].includes(N.keyCode) && P(N);
785
785
  }
786
- function T() {
786
+ function D() {
787
787
  const N = [];
788
788
  return n.prepend !== void 0 && N.push(
789
789
  O("div", {
@@ -889,7 +889,7 @@ function dc(i) {
889
889
  o.focus();
890
890
  }), ht(() => {
891
891
  l !== null && clearTimeout(l);
892
- }), Object.assign(o, { focus: D, blur: F }), function() {
892
+ }), Object.assign(o, { focus: q, blur: F }), function() {
893
893
  const K = i.getControl === void 0 && n.control === void 0 ? {
894
894
  ...i.splitAttrs.attributes.value,
895
895
  "data-autofocus": e.autofocus === !0 || void 0,
@@ -916,7 +916,7 @@ function dc(i) {
916
916
  class: y.value,
917
917
  tabindex: -1,
918
918
  ...i.controlEvents
919
- }, T()),
919
+ }, D()),
920
920
  m.value === !0 ? A() : null
921
921
  ]),
922
922
  n.after !== void 0 ? O("div", {
@@ -1011,11 +1011,11 @@ function By(i, e, t, n) {
1011
1011
  if (B < r.length)
1012
1012
  return r.slice(-B);
1013
1013
  let P = "", R = r;
1014
- const T = R.indexOf(yt);
1015
- if (T !== -1) {
1014
+ const D = R.indexOf(yt);
1015
+ if (D !== -1) {
1016
1016
  for (let w = B - R.length; w > 0; w--)
1017
1017
  P += yt;
1018
- R = R.slice(0, T) + P + R.slice(T);
1018
+ R = R.slice(0, D) + P + R.slice(D);
1019
1019
  }
1020
1020
  return R;
1021
1021
  }
@@ -1024,130 +1024,130 @@ function By(i, e, t, n) {
1024
1024
  l = void 0, r = "", o = "";
1025
1025
  return;
1026
1026
  }
1027
- const B = xh[i.mask] === void 0 ? i.mask : xh[i.mask], P = typeof i.fillMask == "string" && i.fillMask.length !== 0 ? i.fillMask.slice(0, 1) : "_", R = P.replace(wh, "\\$&"), T = [], w = [], A = [];
1027
+ const B = xh[i.mask] === void 0 ? i.mask : xh[i.mask], P = typeof i.fillMask == "string" && i.fillMask.length !== 0 ? i.fillMask.slice(0, 1) : "_", R = P.replace(wh, "\\$&"), D = [], w = [], A = [];
1028
1028
  let H = i.reverseFillMask === !0, I = "", N = "";
1029
- B.replace(c.value.tokenRegexMask, (q, j, J, oe, ce) => {
1029
+ B.replace(c.value.tokenRegexMask, (T, z, J, oe, ce) => {
1030
1030
  if (oe !== void 0) {
1031
1031
  const se = c.value.tokenMap[oe];
1032
1032
  A.push(se), N = se.negate, H === !0 && (w.push("(?:" + N + "+)?(" + se.pattern + "+)?(?:" + N + "+)?(" + se.pattern + "+)?"), H = !1), w.push("(?:" + N + "+)?(" + se.pattern + ")?");
1033
1033
  } else if (J !== void 0)
1034
- I = "\\" + (J === "\\" ? "" : J), A.push(J), T.push("([^" + I + "]+)?" + I + "?");
1034
+ I = "\\" + (J === "\\" ? "" : J), A.push(J), D.push("([^" + I + "]+)?" + I + "?");
1035
1035
  else {
1036
- const se = j !== void 0 ? j : ce;
1037
- I = se === "\\" ? "\\\\\\\\" : se.replace(wh, "\\\\$&"), A.push(se), T.push("([^" + I + "]+)?" + I + "?");
1036
+ const se = z !== void 0 ? z : ce;
1037
+ I = se === "\\" ? "\\\\\\\\" : se.replace(wh, "\\\\$&"), A.push(se), D.push("([^" + I + "]+)?" + I + "?");
1038
1038
  }
1039
1039
  });
1040
1040
  const K = new RegExp(
1041
- "^" + T.join("") + "(" + (I === "" ? "." : "[^" + I + "]") + "+)?" + (I === "" ? "" : "[" + I + "]*") + "$"
1042
- ), Y = w.length - 1, M = w.map((q, j) => j === 0 && i.reverseFillMask === !0 ? new RegExp("^" + R + "*" + q) : j === Y ? new RegExp(
1043
- "^" + q + "(" + (N === "" ? "." : N) + "+)?" + (i.reverseFillMask === !0 ? "$" : R + "*")
1044
- ) : new RegExp("^" + q));
1045
- s = A, l = (q) => {
1046
- const j = K.exec(i.reverseFillMask === !0 ? q : q.slice(0, A.length + 1));
1047
- j !== null && (q = j.slice(1).join(""));
1041
+ "^" + D.join("") + "(" + (I === "" ? "." : "[^" + I + "]") + "+)?" + (I === "" ? "" : "[" + I + "]*") + "$"
1042
+ ), Y = w.length - 1, M = w.map((T, z) => z === 0 && i.reverseFillMask === !0 ? new RegExp("^" + R + "*" + T) : z === Y ? new RegExp(
1043
+ "^" + T + "(" + (N === "" ? "." : N) + "+)?" + (i.reverseFillMask === !0 ? "$" : R + "*")
1044
+ ) : new RegExp("^" + T));
1045
+ s = A, l = (T) => {
1046
+ const z = K.exec(i.reverseFillMask === !0 ? T : T.slice(0, A.length + 1));
1047
+ z !== null && (T = z.slice(1).join(""));
1048
1048
  const J = [], oe = M.length;
1049
- for (let ce = 0, se = q; ce < oe; ce++) {
1049
+ for (let ce = 0, se = T; ce < oe; ce++) {
1050
1050
  const Be = M[ce].exec(se);
1051
1051
  if (Be === null)
1052
1052
  break;
1053
1053
  se = se.slice(Be.shift().length), J.push(...Be);
1054
1054
  }
1055
- return J.length !== 0 ? J.join("") : q;
1056
- }, r = A.map((q) => typeof q == "string" ? q : yt).join(""), o = r.split(yt).join(P);
1055
+ return J.length !== 0 ? J.join("") : T;
1056
+ }, r = A.map((T) => typeof T == "string" ? T : yt).join(""), o = r.split(yt).join(P);
1057
1057
  }
1058
1058
  function y(B, P, R) {
1059
- const T = n.value, w = T.selectionEnd, A = T.value.length - w, H = F(B);
1059
+ const D = n.value, w = D.selectionEnd, A = D.value.length - w, H = F(B);
1060
1060
  P === !0 && g();
1061
1061
  const I = E(H, P), N = i.fillMask !== !1 ? V(I) : I, K = f.value !== N;
1062
- T.value !== N && (T.value = N), K === !0 && (f.value = N), document.activeElement === T && rt(() => {
1062
+ D.value !== N && (D.value = N), K === !0 && (f.value = N), document.activeElement === D && rt(() => {
1063
1063
  if (N === o) {
1064
1064
  const M = i.reverseFillMask === !0 ? o.length : 0;
1065
- T.setSelectionRange(M, M, "forward");
1065
+ D.setSelectionRange(M, M, "forward");
1066
1066
  return;
1067
1067
  }
1068
1068
  if (R === "insertFromPaste" && i.reverseFillMask !== !0) {
1069
- const M = T.selectionEnd;
1070
- let q = w - 1;
1071
- for (let j = a; j <= q && j < M; j++)
1072
- r[j] !== yt && q++;
1073
- v.right(T, q);
1069
+ const M = D.selectionEnd;
1070
+ let T = w - 1;
1071
+ for (let z = a; z <= T && z < M; z++)
1072
+ r[z] !== yt && T++;
1073
+ v.right(D, T);
1074
1074
  return;
1075
1075
  }
1076
1076
  if (["deleteContentBackward", "deleteContentForward"].indexOf(R) !== -1) {
1077
1077
  const M = i.reverseFillMask === !0 ? w === 0 ? N.length > I.length ? 1 : 0 : Math.max(0, N.length - (N === o ? 0 : Math.min(I.length, A) + 1)) + 1 : w;
1078
- T.setSelectionRange(M, M, "forward");
1078
+ D.setSelectionRange(M, M, "forward");
1079
1079
  return;
1080
1080
  }
1081
1081
  if (i.reverseFillMask === !0)
1082
1082
  if (K === !0) {
1083
1083
  const M = Math.max(0, N.length - (N === o ? 0 : Math.min(I.length, A + 1)));
1084
- M === 1 && w === 1 ? T.setSelectionRange(M, M, "forward") : v.rightReverse(T, M);
1084
+ M === 1 && w === 1 ? D.setSelectionRange(M, M, "forward") : v.rightReverse(D, M);
1085
1085
  } else {
1086
1086
  const M = N.length - A;
1087
- T.setSelectionRange(M, M, "backward");
1087
+ D.setSelectionRange(M, M, "backward");
1088
1088
  }
1089
1089
  else if (K === !0) {
1090
1090
  const M = Math.max(0, r.indexOf(yt), Math.min(I.length, w) - 1);
1091
- v.right(T, M);
1091
+ v.right(D, M);
1092
1092
  } else {
1093
1093
  const M = w - 1;
1094
- v.right(T, M);
1094
+ v.right(D, M);
1095
1095
  }
1096
1096
  });
1097
1097
  const Y = i.unmaskedValue === !0 ? F(N) : N;
1098
1098
  String(i.modelValue) !== Y && (i.modelValue !== null || Y !== "") && t(Y, !0);
1099
1099
  }
1100
1100
  function k(B, P, R) {
1101
- const T = E(F(B.value));
1102
- P = Math.max(0, r.indexOf(yt), Math.min(T.length, P)), a = P, B.setSelectionRange(P, R, "forward");
1101
+ const D = E(F(B.value));
1102
+ P = Math.max(0, r.indexOf(yt), Math.min(D.length, P)), a = P, B.setSelectionRange(P, R, "forward");
1103
1103
  }
1104
1104
  const v = {
1105
1105
  left(B, P) {
1106
1106
  const R = r.slice(P - 1).indexOf(yt) === -1;
1107
- let T = Math.max(0, P - 1);
1108
- for (; T >= 0; T--)
1109
- if (r[T] === yt) {
1110
- P = T, R === !0 && P++;
1107
+ let D = Math.max(0, P - 1);
1108
+ for (; D >= 0; D--)
1109
+ if (r[D] === yt) {
1110
+ P = D, R === !0 && P++;
1111
1111
  break;
1112
1112
  }
1113
- if (T < 0 && r[P] !== void 0 && r[P] !== yt)
1113
+ if (D < 0 && r[P] !== void 0 && r[P] !== yt)
1114
1114
  return v.right(B, 0);
1115
1115
  P >= 0 && B.setSelectionRange(P, P, "backward");
1116
1116
  },
1117
1117
  right(B, P) {
1118
1118
  const R = B.value.length;
1119
- let T = Math.min(R, P + 1);
1120
- for (; T <= R; T++)
1121
- if (r[T] === yt) {
1122
- P = T;
1119
+ let D = Math.min(R, P + 1);
1120
+ for (; D <= R; D++)
1121
+ if (r[D] === yt) {
1122
+ P = D;
1123
1123
  break;
1124
- } else r[T - 1] === yt && (P = T);
1125
- if (T > R && r[P - 1] !== void 0 && r[P - 1] !== yt)
1124
+ } else r[D - 1] === yt && (P = D);
1125
+ if (D > R && r[P - 1] !== void 0 && r[P - 1] !== yt)
1126
1126
  return v.left(B, R);
1127
1127
  B.setSelectionRange(P, P, "forward");
1128
1128
  },
1129
1129
  leftReverse(B, P) {
1130
1130
  const R = p(B.value.length);
1131
- let T = Math.max(0, P - 1);
1132
- for (; T >= 0; T--)
1133
- if (R[T - 1] === yt) {
1134
- P = T;
1131
+ let D = Math.max(0, P - 1);
1132
+ for (; D >= 0; D--)
1133
+ if (R[D - 1] === yt) {
1134
+ P = D;
1135
1135
  break;
1136
- } else if (R[T] === yt && (P = T, T === 0))
1136
+ } else if (R[D] === yt && (P = D, D === 0))
1137
1137
  break;
1138
- if (T < 0 && R[P] !== void 0 && R[P] !== yt)
1138
+ if (D < 0 && R[P] !== void 0 && R[P] !== yt)
1139
1139
  return v.rightReverse(B, 0);
1140
1140
  P >= 0 && B.setSelectionRange(P, P, "backward");
1141
1141
  },
1142
1142
  rightReverse(B, P) {
1143
- const R = B.value.length, T = p(R), w = T.slice(0, P + 1).indexOf(yt) === -1;
1143
+ const R = B.value.length, D = p(R), w = D.slice(0, P + 1).indexOf(yt) === -1;
1144
1144
  let A = Math.min(R, P + 1);
1145
1145
  for (; A <= R; A++)
1146
- if (T[A - 1] === yt) {
1146
+ if (D[A - 1] === yt) {
1147
1147
  P = A, P > 0 && w === !0 && P--;
1148
1148
  break;
1149
1149
  }
1150
- if (A > R && T[P - 1] !== void 0 && T[P - 1] !== yt)
1150
+ if (A > R && D[P - 1] !== void 0 && D[P - 1] !== yt)
1151
1151
  return v.leftReverse(B, R);
1152
1152
  B.setSelectionRange(P, P, "forward");
1153
1153
  }
@@ -1157,36 +1157,36 @@ function By(i, e, t, n) {
1157
1157
  }
1158
1158
  function C(B) {
1159
1159
  if (e("keydown", B), Fl(B) === !0 || B.altKey === !0) return;
1160
- const P = n.value, R = P.selectionStart, T = P.selectionEnd;
1160
+ const P = n.value, R = P.selectionStart, D = P.selectionEnd;
1161
1161
  if (B.shiftKey || (u = void 0), B.keyCode === 37 || B.keyCode === 39) {
1162
- B.shiftKey && u === void 0 && (u = P.selectionDirection === "forward" ? R : T);
1162
+ B.shiftKey && u === void 0 && (u = P.selectionDirection === "forward" ? R : D);
1163
1163
  const w = v[(B.keyCode === 39 ? "right" : "left") + (i.reverseFillMask === !0 ? "Reverse" : "")];
1164
- if (B.preventDefault(), w(P, u === R ? T : R), B.shiftKey) {
1164
+ if (B.preventDefault(), w(P, u === R ? D : R), B.shiftKey) {
1165
1165
  const A = P.selectionStart;
1166
1166
  P.setSelectionRange(Math.min(u, A), Math.max(u, A), "forward");
1167
1167
  }
1168
- } else B.keyCode === 8 && i.reverseFillMask !== !0 && R === T ? (v.left(P, R), P.setSelectionRange(P.selectionStart, T, "backward")) : B.keyCode === 46 && i.reverseFillMask === !0 && R === T && (v.rightReverse(P, T), P.setSelectionRange(R, P.selectionEnd, "forward"));
1168
+ } else B.keyCode === 8 && i.reverseFillMask !== !0 && R === D ? (v.left(P, R), P.setSelectionRange(P.selectionStart, D, "backward")) : B.keyCode === 46 && i.reverseFillMask === !0 && R === D && (v.rightReverse(P, D), P.setSelectionRange(R, P.selectionEnd, "forward"));
1169
1169
  }
1170
1170
  function E(B, P) {
1171
1171
  if (B == null || B === "")
1172
1172
  return "";
1173
1173
  if (i.reverseFillMask === !0)
1174
- return D(B, P);
1174
+ return q(B, P);
1175
1175
  const R = s;
1176
- let T = 0, w = "";
1176
+ let D = 0, w = "";
1177
1177
  for (let A = 0; A < R.length; A++) {
1178
- const H = B[T], I = R[A];
1178
+ const H = B[D], I = R[A];
1179
1179
  if (typeof I == "string")
1180
- w += I, P === !0 && H === I && T++;
1180
+ w += I, P === !0 && H === I && D++;
1181
1181
  else if (H !== void 0 && I.regex.test(H))
1182
- w += I.transform !== void 0 ? I.transform(H) : H, T++;
1182
+ w += I.transform !== void 0 ? I.transform(H) : H, D++;
1183
1183
  else
1184
1184
  return w;
1185
1185
  }
1186
1186
  return w;
1187
1187
  }
1188
- function D(B, P) {
1189
- const R = s, T = r.indexOf(yt);
1188
+ function q(B, P) {
1189
+ const R = s, D = r.indexOf(yt);
1190
1190
  let w = B.length - 1, A = "";
1191
1191
  for (let H = R.length - 1; H >= 0 && w !== -1; H--) {
1192
1192
  const I = R[H];
@@ -1196,7 +1196,7 @@ function By(i, e, t, n) {
1196
1196
  else if (N !== void 0 && I.regex.test(N))
1197
1197
  do
1198
1198
  A = (I.transform !== void 0 ? I.transform(N) : N) + A, w--, N = B[w];
1199
- while (T === H && N !== void 0 && I.regex.test(N));
1199
+ while (D === H && N !== void 0 && I.regex.test(N));
1200
1200
  else
1201
1201
  return A;
1202
1202
  }
@@ -1310,15 +1310,15 @@ const ar = Je({
1310
1310
  onMaskedClick: k
1311
1311
  } = By(i, e, H, h), v = Ry(
1312
1312
  i
1313
- ), x = b(() => xo(d.value)), C = Pm(w), E = fc({ changeEvent: !0 }), D = b(
1313
+ ), x = b(() => xo(d.value)), C = Pm(w), E = fc({ changeEvent: !0 }), q = b(
1314
1314
  () => i.type === "textarea" || i.autogrow === !0
1315
1315
  ), F = b(
1316
- () => D.value === !0 || ["text", "search", "url", "tel", "password"].includes(i.type)
1316
+ () => q.value === !0 || ["text", "search", "url", "tel", "password"].includes(i.type)
1317
1317
  ), V = b(() => {
1318
- const q = {
1318
+ const T = {
1319
1319
  ...E.splitAttrs.listeners.value,
1320
1320
  onInput: w,
1321
- onPaste: T,
1321
+ onPaste: D,
1322
1322
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
1323
1323
  // switching focus before confirming composition choice
1324
1324
  // this also fixes the issue where some browsers e.g. iOS Chrome
@@ -1327,9 +1327,9 @@ const ar = Je({
1327
1327
  onBlur: K,
1328
1328
  onFocus: hi
1329
1329
  };
1330
- return q.onCompositionstart = q.onCompositionupdate = q.onCompositionend = C, m.value === !0 && (q.onKeydown = y, q.onClick = k), i.autogrow === !0 && (q.onAnimationend = A), q;
1330
+ return T.onCompositionstart = T.onCompositionupdate = T.onCompositionend = C, m.value === !0 && (T.onKeydown = y, T.onClick = k), i.autogrow === !0 && (T.onAnimationend = A), T;
1331
1331
  }), B = b(() => {
1332
- const q = {
1332
+ const T = {
1333
1333
  tabindex: 0,
1334
1334
  "data-autofocus": i.autofocus === !0 || void 0,
1335
1335
  rows: i.type === "textarea" ? 6 : void 0,
@@ -1341,84 +1341,84 @@ const ar = Je({
1341
1341
  disabled: i.disable === !0,
1342
1342
  readonly: i.readonly === !0
1343
1343
  };
1344
- return D.value === !1 && (q.type = i.type), i.autogrow === !0 && (q.rows = 1), q;
1344
+ return q.value === !1 && (T.type = i.type), i.autogrow === !0 && (T.rows = 1), T;
1345
1345
  });
1346
1346
  ye(() => i.type, () => {
1347
1347
  h.value && (h.value.value = i.modelValue);
1348
- }), ye(() => i.modelValue, (q) => {
1348
+ }), ye(() => i.modelValue, (T) => {
1349
1349
  if (m.value === !0) {
1350
- if (a === !0 && (a = !1, String(q) === s))
1350
+ if (a === !0 && (a = !1, String(T) === s))
1351
1351
  return;
1352
- g(q);
1353
- } else d.value !== q && (d.value = q, i.type === "number" && o.hasOwnProperty("value") === !0 && (l === !0 ? l = !1 : delete o.value));
1352
+ g(T);
1353
+ } else d.value !== T && (d.value = T, i.type === "number" && o.hasOwnProperty("value") === !0 && (l === !0 ? l = !1 : delete o.value));
1354
1354
  i.autogrow === !0 && rt(I);
1355
- }), ye(() => i.autogrow, (q) => {
1356
- q === !0 ? rt(I) : h.value !== null && t.rows > 0 && (h.value.style.height = "auto");
1355
+ }), ye(() => i.autogrow, (T) => {
1356
+ T === !0 ? rt(I) : h.value !== null && t.rows > 0 && (h.value.style.height = "auto");
1357
1357
  }), ye(() => i.dense, () => {
1358
1358
  i.autogrow === !0 && rt(I);
1359
1359
  });
1360
1360
  function P() {
1361
1361
  Il(() => {
1362
- const q = document.activeElement;
1363
- h.value !== null && h.value !== q && (q === null || q.id !== E.targetUid.value) && h.value.focus({ preventScroll: !0 });
1362
+ const T = document.activeElement;
1363
+ h.value !== null && h.value !== T && (T === null || T.id !== E.targetUid.value) && h.value.focus({ preventScroll: !0 });
1364
1364
  });
1365
1365
  }
1366
1366
  function R() {
1367
- var q;
1368
- (q = h.value) == null || q.select();
1367
+ var T;
1368
+ (T = h.value) == null || T.select();
1369
1369
  }
1370
- function T(q) {
1370
+ function D(T) {
1371
1371
  if (m.value === !0 && i.reverseFillMask !== !0) {
1372
- const j = q.target;
1373
- p(j, j.selectionStart, j.selectionEnd);
1372
+ const z = T.target;
1373
+ p(z, z.selectionStart, z.selectionEnd);
1374
1374
  }
1375
- e("paste", q);
1375
+ e("paste", T);
1376
1376
  }
1377
- function w(q) {
1378
- if (!q || !q.target) return;
1377
+ function w(T) {
1378
+ if (!T || !T.target) return;
1379
1379
  if (i.type === "file") {
1380
- e("update:modelValue", q.target.files);
1380
+ e("update:modelValue", T.target.files);
1381
1381
  return;
1382
1382
  }
1383
- const j = q.target.value;
1384
- if (q.target.qComposing === !0) {
1385
- o.value = j;
1383
+ const z = T.target.value;
1384
+ if (T.target.qComposing === !0) {
1385
+ o.value = z;
1386
1386
  return;
1387
1387
  }
1388
1388
  if (m.value === !0)
1389
- g(j, !1, q.inputType);
1390
- else if (H(j), F.value === !0 && q.target === document.activeElement) {
1391
- const { selectionStart: J, selectionEnd: oe } = q.target;
1389
+ g(z, !1, T.inputType);
1390
+ else if (H(z), F.value === !0 && T.target === document.activeElement) {
1391
+ const { selectionStart: J, selectionEnd: oe } = T.target;
1392
1392
  J !== void 0 && oe !== void 0 && rt(() => {
1393
- q.target === document.activeElement && j.indexOf(q.target.value) === 0 && q.target.setSelectionRange(J, oe);
1393
+ T.target === document.activeElement && z.indexOf(T.target.value) === 0 && T.target.setSelectionRange(J, oe);
1394
1394
  });
1395
1395
  }
1396
1396
  i.autogrow === !0 && I();
1397
1397
  }
1398
- function A(q) {
1399
- e("animationend", q), I();
1398
+ function A(T) {
1399
+ e("animationend", T), I();
1400
1400
  }
1401
- function H(q, j) {
1401
+ function H(T, z) {
1402
1402
  c = () => {
1403
- u = null, i.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, i.modelValue !== q && s !== q && (s = q, j === !0 && (a = !0), e("update:modelValue", q), rt(() => {
1404
- s === q && (s = NaN);
1403
+ u = null, i.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, i.modelValue !== T && s !== T && (s = T, z === !0 && (a = !0), e("update:modelValue", T), rt(() => {
1404
+ s === T && (s = NaN);
1405
1405
  })), c = void 0;
1406
- }, i.type === "number" && (l = !0, o.value = q), i.debounce !== void 0 ? (u !== null && clearTimeout(u), o.value = q, u = setTimeout(c, i.debounce)) : c();
1406
+ }, i.type === "number" && (l = !0, o.value = T), i.debounce !== void 0 ? (u !== null && clearTimeout(u), o.value = T, u = setTimeout(c, i.debounce)) : c();
1407
1407
  }
1408
1408
  function I() {
1409
1409
  requestAnimationFrame(() => {
1410
- const q = h.value;
1411
- if (q !== null) {
1412
- const j = q.parentNode.style, { scrollTop: J } = q, { overflowY: oe, maxHeight: ce } = r.platform.is.firefox === !0 ? {} : window.getComputedStyle(q), se = oe !== void 0 && oe !== "scroll";
1413
- se === !0 && (q.style.overflowY = "hidden"), j.marginBottom = q.scrollHeight - 1 + "px", q.style.height = "1px", q.style.height = q.scrollHeight + "px", se === !0 && (q.style.overflowY = parseInt(ce, 10) < q.scrollHeight ? "auto" : "hidden"), j.marginBottom = "", q.scrollTop = J;
1410
+ const T = h.value;
1411
+ if (T !== null) {
1412
+ const z = T.parentNode.style, { scrollTop: J } = T, { overflowY: oe, maxHeight: ce } = r.platform.is.firefox === !0 ? {} : window.getComputedStyle(T), se = oe !== void 0 && oe !== "scroll";
1413
+ se === !0 && (T.style.overflowY = "hidden"), z.marginBottom = T.scrollHeight - 1 + "px", T.style.height = "1px", T.style.height = T.scrollHeight + "px", se === !0 && (T.style.overflowY = parseInt(ce, 10) < T.scrollHeight ? "auto" : "hidden"), z.marginBottom = "", T.scrollTop = J;
1414
1414
  }
1415
1415
  });
1416
1416
  }
1417
- function N(q) {
1418
- C(q), u !== null && (clearTimeout(u), u = null), c == null || c(), e("change", q.target.value);
1417
+ function N(T) {
1418
+ C(T), u !== null && (clearTimeout(u), u = null), c == null || c(), e("change", T.target.value);
1419
1419
  }
1420
- function K(q) {
1421
- q !== void 0 && hi(q), u !== null && (clearTimeout(u), u = null), c == null || c(), l = !1, a = !1, delete o.value, i.type !== "file" && setTimeout(() => {
1420
+ function K(T) {
1421
+ T !== void 0 && hi(T), u !== null && (clearTimeout(u), u = null), c == null || c(), l = !1, a = !1, delete o.value, i.type !== "file" && setTimeout(() => {
1422
1422
  h.value !== null && (h.value.value = d.value !== void 0 ? d.value : "");
1423
1423
  });
1424
1424
  }
@@ -1432,7 +1432,7 @@ const ar = Je({
1432
1432
  }), Object.assign(E, {
1433
1433
  innerValue: d,
1434
1434
  fieldClass: b(
1435
- () => `q-${D.value === !0 ? "textarea" : "input"}` + (i.autogrow === !0 ? " q-textarea--autogrow" : "")
1435
+ () => `q-${q.value === !0 ? "textarea" : "input"}` + (i.autogrow === !0 ? " q-textarea--autogrow" : "")
1436
1436
  ),
1437
1437
  hasShadow: b(
1438
1438
  () => i.type !== "file" && typeof i.shadowText == "string" && i.shadowText.length !== 0
@@ -1443,7 +1443,7 @@ const ar = Je({
1443
1443
  floatingLabel: b(
1444
1444
  () => x.value === !0 && (i.type !== "number" || isNaN(d.value) === !1) || xo(i.displayValue)
1445
1445
  ),
1446
- getControl: () => O(D.value === !0 ? "textarea" : "input", {
1446
+ getControl: () => O(q.value === !0 ? "textarea" : "input", {
1447
1447
  ref: h,
1448
1448
  class: [
1449
1449
  "q-field__native q-placeholder",
@@ -1455,7 +1455,7 @@ const ar = Je({
1455
1455
  ...i.type !== "file" ? { value: Y() } : v.value
1456
1456
  }),
1457
1457
  getShadowControl: () => O("div", {
1458
- class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (D.value === !0 ? "" : " text-no-wrap")
1458
+ class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (q.value === !0 ? "" : " text-no-wrap")
1459
1459
  }, [
1460
1460
  O("span", { class: "invisible" }, Y()),
1461
1461
  O("span", i.shadowText)
@@ -1793,14 +1793,14 @@ function Jy(i, e) {
1793
1793
  () => t.val !== void 0 && Array.isArray(t.modelValue)
1794
1794
  ), d = b(() => {
1795
1795
  const R = zn(t.val);
1796
- return f.value === !0 ? t.modelValue.findIndex((T) => zn(T) === R) : -1;
1796
+ return f.value === !0 ? t.modelValue.findIndex((D) => zn(D) === R) : -1;
1797
1797
  }), m = b(() => f.value === !0 ? d.value !== -1 : zn(t.modelValue) === zn(t.trueValue)), p = b(() => f.value === !0 ? d.value === -1 : zn(t.modelValue) === zn(t.falseValue)), g = b(
1798
1798
  () => m.value === !1 && p.value === !1
1799
1799
  ), y = b(() => t.disable === !0 ? -1 : t.tabindex || 0), k = b(
1800
1800
  () => `q-${i} cursor-pointer no-outline row inline no-wrap items-center` + (t.disable === !0 ? " disabled" : "") + (l.value === !0 ? ` q-${i}--dark` : "") + (t.dense === !0 ? ` q-${i}--dense` : "") + (t.leftLabel === !0 ? " reverse" : "")
1801
1801
  ), v = b(() => {
1802
- const R = m.value === !0 ? "truthy" : p.value === !0 ? "falsy" : "indet", T = t.color !== void 0 && (t.keepColor === !0 || p.value !== !0) ? ` text-${t.color}` : "";
1803
- return `q-${i}__inner relative-position non-selectable q-${i}__inner--${R}${T}`;
1802
+ const R = m.value === !0 ? "truthy" : p.value === !0 ? "falsy" : "indet", D = t.color !== void 0 && (t.keepColor === !0 || p.value !== !0) ? ` text-${t.color}` : "";
1803
+ return `q-${i}__inner relative-position non-selectable q-${i}__inner--${R}${D}`;
1804
1804
  }), x = b(() => {
1805
1805
  const R = { type: "checkbox" };
1806
1806
  return t.name !== void 0 && Object.assign(R, {
@@ -1819,7 +1819,7 @@ function Jy(i, e) {
1819
1819
  };
1820
1820
  return t.disable === !0 && (R["aria-disabled"] = "true"), R;
1821
1821
  });
1822
- function D(R) {
1822
+ function q(R) {
1823
1823
  R !== void 0 && (ct(R), c(R)), t.disable !== !0 && r("update:modelValue", F(), R);
1824
1824
  }
1825
1825
  function F() {
@@ -1844,26 +1844,26 @@ function Jy(i, e) {
1844
1844
  (R.keyCode === 13 || R.keyCode === 32) && ct(R);
1845
1845
  }
1846
1846
  function B(R) {
1847
- (R.keyCode === 13 || R.keyCode === 32) && D(R);
1847
+ (R.keyCode === 13 || R.keyCode === 32) && q(R);
1848
1848
  }
1849
1849
  const P = e(m, g);
1850
- return Object.assign(o, { toggle: D }), () => {
1850
+ return Object.assign(o, { toggle: q }), () => {
1851
1851
  const R = P();
1852
1852
  t.disable !== !0 && C(
1853
1853
  R,
1854
1854
  "unshift",
1855
1855
  ` q-${i}__native absolute q-ma-none q-pa-none`
1856
1856
  );
1857
- const T = [
1857
+ const D = [
1858
1858
  O("div", {
1859
1859
  class: v.value,
1860
1860
  style: h.value,
1861
1861
  "aria-hidden": "true"
1862
1862
  }, R)
1863
1863
  ];
1864
- u.value !== null && T.push(u.value);
1864
+ u.value !== null && D.push(u.value);
1865
1865
  const w = t.label !== void 0 ? xn(n.default, [t.label]) : qt(n.default);
1866
- return w !== void 0 && T.push(
1866
+ return w !== void 0 && D.push(
1867
1867
  O("div", {
1868
1868
  class: `q-${i}__label q-anchor--skip`
1869
1869
  }, w)
@@ -1871,10 +1871,10 @@ function Jy(i, e) {
1871
1871
  ref: a,
1872
1872
  class: k.value,
1873
1873
  ...E.value,
1874
- onClick: D,
1874
+ onClick: q,
1875
1875
  onKeydown: V,
1876
1876
  onKeyup: B
1877
- }, T);
1877
+ }, D);
1878
1878
  };
1879
1879
  }
1880
1880
  const Xy = () => O("div", {
@@ -2325,21 +2325,21 @@ function Vm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2325
2325
  } : {}), m = b(() => {
2326
2326
  if (c.value === !1)
2327
2327
  return -1;
2328
- const { matched: C } = u.value, { length: E } = C, D = C[E - 1];
2329
- if (D === void 0)
2328
+ const { matched: C } = u.value, { length: E } = C, q = C[E - 1];
2329
+ if (q === void 0)
2330
2330
  return -1;
2331
2331
  const F = r.$route.matched;
2332
2332
  if (F.length === 0)
2333
2333
  return -1;
2334
2334
  const V = F.findIndex(
2335
- Dh.bind(null, D)
2335
+ Dh.bind(null, q)
2336
2336
  );
2337
2337
  if (V !== -1)
2338
2338
  return V;
2339
2339
  const B = Th(C[E - 2]);
2340
2340
  return (
2341
2341
  // we are dealing with nested routes
2342
- E > 1 && Th(D) === B && F[F.length - 1].path !== B ? F.findIndex(
2342
+ E > 1 && Th(q) === B && F[F.length - 1].path !== B ? F.findIndex(
2343
2343
  Dh.bind(null, C[E - 2])
2344
2344
  ) : V
2345
2345
  );
@@ -2355,7 +2355,7 @@ function Vm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2355
2355
  }
2356
2356
  return null;
2357
2357
  }
2358
- function v(C, { returnRouterError: E, to: D = n.to, replace: F = n.replace } = {}) {
2358
+ function v(C, { returnRouterError: E, to: q = n.to, replace: F = n.replace } = {}) {
2359
2359
  if (n.disable === !0)
2360
2360
  return C.preventDefault(), Promise.resolve(!1);
2361
2361
  if (
@@ -2365,14 +2365,14 @@ function Vm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2365
2365
  )
2366
2366
  return Promise.resolve(!1);
2367
2367
  C.preventDefault();
2368
- const V = r.$router[F === !0 ? "replace" : "push"](D);
2368
+ const V = r.$router[F === !0 ? "replace" : "push"](q);
2369
2369
  return E === !0 ? V : V.then(() => {
2370
2370
  }).catch(() => {
2371
2371
  });
2372
2372
  }
2373
2373
  function x(C) {
2374
2374
  if (c.value === !0) {
2375
- const E = (D) => v(C, D);
2375
+ const E = (q) => v(C, q);
2376
2376
  o("click", C, E), C.defaultPrevented !== !0 && E();
2377
2377
  } else
2378
2378
  o("click", C);
@@ -3029,8 +3029,8 @@ function kc(i, e = 0) {
3029
3029
  maxWidth: h
3030
3030
  } = i;
3031
3031
  if (Tt.is.ios === !0 && window.visualViewport !== void 0) {
3032
- const E = document.body.style, { offsetLeft: D, offsetTop: F } = window.visualViewport;
3033
- D !== _h && (E.setProperty("--q-pe-left", D + "px"), _h = D), F !== Bh && (E.setProperty("--q-pe-top", F + "px"), Bh = F);
3032
+ const E = document.body.style, { offsetLeft: q, offsetTop: F } = window.visualViewport;
3033
+ q !== _h && (E.setProperty("--q-pe-left", q + "px"), _h = q), F !== Bh && (E.setProperty("--q-pe-top", F + "px"), Bh = F);
3034
3034
  }
3035
3035
  const { scrollLeft: f, scrollTop: d } = t, m = l === void 0 ? Ob(r, u === !0 ? [0, 0] : n) : Tb(r, l, n);
3036
3036
  Object.assign(t.style, {
@@ -3050,7 +3050,7 @@ function kc(i, e = 0) {
3050
3050
  if (l === void 0 || n === void 0)
3051
3051
  ga(C, m, x, o, s);
3052
3052
  else {
3053
- const { top: E, left: D } = C;
3053
+ const { top: E, left: q } = C;
3054
3054
  ga(C, m, x, o, s);
3055
3055
  let F = !1;
3056
3056
  if (C.top !== E) {
@@ -3058,7 +3058,7 @@ function kc(i, e = 0) {
3058
3058
  const V = 2 * n[1];
3059
3059
  m.center = m.top -= V, m.bottom -= V + 2;
3060
3060
  }
3061
- if (C.left !== D) {
3061
+ if (C.left !== q) {
3062
3062
  F = !0;
3063
3063
  const V = 2 * n[0];
3064
3064
  m.middle = m.left -= V, m.right -= V + 2;
@@ -3151,15 +3151,15 @@ const Xm = Je({
3151
3151
  let r = null, o, s, l;
3152
3152
  const a = je(), { proxy: u } = a, { $q: c } = u, h = G(null), f = G(!1), d = b(
3153
3153
  () => i.persistent !== !0 && i.noRouteDismiss !== !0
3154
- ), m = Ji(i, c), { registerTick: p, removeTick: g } = Mr(), { registerTimeout: y } = ko(), { transitionProps: k, transitionStyle: v } = xc(i), { localScrollTarget: x, changeScrollEvent: C, unconfigureScrollTarget: E } = Hm(i, j), { anchorEl: D, canShow: F } = yc({ showing: f }), { hide: V } = jl({
3154
+ ), m = Ji(i, c), { registerTick: p, removeTick: g } = Mr(), { registerTimeout: y } = ko(), { transitionProps: k, transitionStyle: v } = xc(i), { localScrollTarget: x, changeScrollEvent: C, unconfigureScrollTarget: E } = Hm(i, z), { anchorEl: q, canShow: F } = yc({ showing: f }), { hide: V } = jl({
3155
3155
  showing: f,
3156
3156
  canShow: F,
3157
3157
  handleShow: Y,
3158
3158
  handleHide: M,
3159
3159
  hideOnRouteChange: d,
3160
3160
  processOnMount: !0
3161
- }), { showPortal: B, hidePortal: P, renderPortal: R } = bc(a, h, Be, "menu"), T = {
3162
- anchorEl: D,
3161
+ }), { showPortal: B, hidePortal: P, renderPortal: R } = bc(a, h, Be, "menu"), D = {
3162
+ anchorEl: q,
3163
3163
  innerRef: h,
3164
3164
  onClickOutside(ee) {
3165
3165
  if (i.persistent !== !0 && f.value === !0)
@@ -3177,7 +3177,7 @@ const Xm = Je({
3177
3177
  () => f.value === !0 && i.persistent !== !0
3178
3178
  );
3179
3179
  ye(N, (ee) => {
3180
- ee === !0 ? (Um(ce), Gm(T)) : (el(ce), nl(T));
3180
+ ee === !0 ? (Um(ce), Gm(D)) : (el(ce), nl(D));
3181
3181
  });
3182
3182
  function K() {
3183
3183
  Il(() => {
@@ -3186,10 +3186,10 @@ const Xm = Je({
3186
3186
  });
3187
3187
  }
3188
3188
  function Y(ee) {
3189
- if (r = i.noRefocus === !1 ? document.activeElement : null, Ym(oe), B(), j(), o = void 0, ee !== void 0 && (i.touchPosition || i.contextMenu)) {
3189
+ if (r = i.noRefocus === !1 ? document.activeElement : null, Ym(oe), B(), z(), o = void 0, ee !== void 0 && (i.touchPosition || i.contextMenu)) {
3190
3190
  const et = Rr(ee);
3191
3191
  if (et.left !== void 0) {
3192
- const { top: Ie, left: Qe } = D.value.getBoundingClientRect();
3192
+ const { top: Ie, left: Qe } = q.value.getBoundingClientRect();
3193
3193
  o = { left: et.left - Qe, top: et.top - Ie };
3194
3194
  }
3195
3195
  }
@@ -3203,16 +3203,16 @@ const Xm = Je({
3203
3203
  }, i.transitionDuration);
3204
3204
  }
3205
3205
  function M(ee) {
3206
- g(), P(), q(!0), r !== null && // menu was hidden from code or ESC plugin
3206
+ g(), P(), T(!0), r !== null && // menu was hidden from code or ESC plugin
3207
3207
  (ee === void 0 || ee.qClickOutside !== !0) && ((((ee == null ? void 0 : ee.type.indexOf("key")) === 0 ? r.closest('[tabindex]:not([tabindex^="-"])') : void 0) || r).focus(), r = null), y(() => {
3208
3208
  P(!0), t("hide", ee);
3209
3209
  }, i.transitionDuration);
3210
3210
  }
3211
- function q(ee) {
3212
- o = void 0, s !== void 0 && (s(), s = void 0), (ee === !0 || f.value === !0) && (ou(oe), E(), nl(T), el(ce)), ee !== !0 && (r = null);
3211
+ function T(ee) {
3212
+ o = void 0, s !== void 0 && (s(), s = void 0), (ee === !0 || f.value === !0) && (ou(oe), E(), nl(D), el(ce)), ee !== !0 && (r = null);
3213
3213
  }
3214
- function j() {
3215
- (D.value !== null || i.scrollTarget !== void 0) && (x.value = Wm(D.value, i.scrollTarget), C(x.value, se));
3214
+ function z() {
3215
+ (q.value !== null || i.scrollTarget !== void 0) && (x.value = Wm(q.value, i.scrollTarget), C(x.value, se));
3216
3216
  }
3217
3217
  function J(ee) {
3218
3218
  l !== !0 ? (zm(u, ee), t("click", ee)) : l = !1;
@@ -3227,7 +3227,7 @@ const Xm = Je({
3227
3227
  kc({
3228
3228
  targetEl: h.value,
3229
3229
  offset: i.offset,
3230
- anchorEl: D.value,
3230
+ anchorEl: q.value,
3231
3231
  anchorOrigin: w.value,
3232
3232
  selfOrigin: A.value,
3233
3233
  absoluteOffset: o,
@@ -3258,7 +3258,7 @@ const Xm = Je({
3258
3258
  }, qt(e.default)) : null
3259
3259
  );
3260
3260
  }
3261
- return ht(q), Object.assign(u, { focus: K, updatePosition: se }), R;
3261
+ return ht(T), Object.assign(u, { focus: K, updatePosition: se }), R;
3262
3262
  }
3263
3263
  });
3264
3264
  function qb(i, e, t) {
@@ -3391,15 +3391,15 @@ const Eb = {
3391
3391
  i,
3392
3392
  () => Nh[i.position][0],
3393
3393
  () => Nh[i.position][1]
3394
- ), v = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: C, portalIsAccessible: E, renderPortal: D } = bc(
3394
+ ), v = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: C, portalIsAccessible: E, renderPortal: q } = bc(
3395
3395
  r,
3396
3396
  o,
3397
- j,
3397
+ z,
3398
3398
  "dialog"
3399
3399
  ), { hide: F } = jl({
3400
3400
  showing: s,
3401
3401
  hideOnRouteChange: f,
3402
- handleShow: T,
3402
+ handleShow: D,
3403
3403
  handleHide: w,
3404
3404
  processOnMount: !0
3405
3405
  });
@@ -3413,9 +3413,9 @@ const Eb = {
3413
3413
  ye(() => i.maximized, (J) => {
3414
3414
  s.value === !0 && K(J);
3415
3415
  }), ye(B, (J) => {
3416
- d(J), J === !0 ? (Ym(q), Um(I)) : (ou(q), el(I));
3416
+ d(J), J === !0 ? (Ym(T), Um(I)) : (ou(T), el(I));
3417
3417
  });
3418
- function T(J) {
3418
+ function D(J) {
3419
3419
  var oe;
3420
3420
  u = i.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, K(i.maximized), x(), l.value = !0, i.noFocus !== !0 ? ((oe = document.activeElement) == null || oe.blur(), p(A)) : g(), m(() => {
3421
3421
  if (r.proxy.$q.platform.is.ios === !0) {
@@ -3462,7 +3462,7 @@ const Eb = {
3462
3462
  i.seamless !== !0 && (i.persistent === !0 || i.noEscDismiss === !0 ? i.maximized !== !0 && i.noShake !== !0 && H() : (t("escapeKey"), F()));
3463
3463
  }
3464
3464
  function N(J) {
3465
- a !== null && (clearTimeout(a), a = null), (J === !0 || s.value === !0) && (K(!1), i.seamless !== !0 && (d(!1), ou(q), el(I))), J !== !0 && (u = null);
3465
+ a !== null && (clearTimeout(a), a = null), (J === !0 || s.value === !0) && (K(!1), i.seamless !== !0 && (d(!1), ou(T), el(I))), J !== !0 && (u = null);
3466
3466
  }
3467
3467
  function K(J) {
3468
3468
  J === !0 ? c !== !0 && (ls < 1 && document.body.classList.add("q-body--dialog"), ls++, c = !0) : c === !0 && (ls < 2 && document.body.classList.remove("q-body--dialog"), ls--, c = !1);
@@ -3473,7 +3473,7 @@ const Eb = {
3473
3473
  function M(J) {
3474
3474
  i.persistent !== !0 && i.noBackdropDismiss !== !0 ? F(J) : i.noShake !== !0 && H();
3475
3475
  }
3476
- function q(J) {
3476
+ function T(J) {
3477
3477
  i.allowFocusOutside !== !0 && E.value === !0 && Rm(o.value, J.target) !== !0 && A('[tabindex]:not([tabindex="-1"])');
3478
3478
  }
3479
3479
  Object.assign(r.proxy, {
@@ -3485,7 +3485,7 @@ const Eb = {
3485
3485
  u = J || null;
3486
3486
  }
3487
3487
  }), ht(N);
3488
- function j() {
3488
+ function z() {
3489
3489
  return O("div", {
3490
3490
  role: "dialog",
3491
3491
  "aria-modal": B.value === !0 ? "true" : "false",
@@ -3515,7 +3515,7 @@ const Eb = {
3515
3515
  )
3516
3516
  ]);
3517
3517
  }
3518
- return D;
3518
+ return q;
3519
3519
  }
3520
3520
  });
3521
3521
  let wo = !1;
@@ -3626,10 +3626,10 @@ function Fb({
3626
3626
  let u, c, h, f = [], d;
3627
3627
  const m = G(0), p = G(0), g = G({}), y = G(null), k = G(null), v = G(null), x = G({ from: 0, to: 0 }), C = b(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3628
3628
  n === void 0 && (n = b(() => o.virtualScrollItemSize));
3629
- const E = b(() => n.value + ";" + o.virtualScrollHorizontal), D = b(
3629
+ const E = b(() => n.value + ";" + o.virtualScrollHorizontal), q = b(
3630
3630
  () => E.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3631
3631
  );
3632
- ye(D, () => {
3632
+ ye(q, () => {
3633
3633
  H();
3634
3634
  }), ye(E, F);
3635
3635
  function F() {
@@ -3638,11 +3638,11 @@ function Fb({
3638
3638
  function V(M) {
3639
3639
  A(M === void 0 ? c : M);
3640
3640
  }
3641
- function B(M, q) {
3642
- const j = e();
3643
- if (j == null || j.nodeType === 8) return;
3641
+ function B(M, T) {
3642
+ const z = e();
3643
+ if (z == null || z.nodeType === 8) return;
3644
3644
  const J = ba(
3645
- j,
3645
+ z,
3646
3646
  t(),
3647
3647
  y.value,
3648
3648
  k.value,
@@ -3652,17 +3652,17 @@ function Fb({
3652
3652
  o.virtualScrollStickySizeEnd
3653
3653
  );
3654
3654
  h !== J.scrollViewSize && H(J.scrollViewSize), R(
3655
- j,
3655
+ z,
3656
3656
  J,
3657
3657
  Math.min(i.value - 1, Math.max(0, parseInt(M, 10) || 0)),
3658
3658
  0,
3659
- Lb.indexOf(q) !== -1 ? q : c !== -1 && M > c ? "end" : "start"
3659
+ Lb.indexOf(T) !== -1 ? T : c !== -1 && M > c ? "end" : "start"
3660
3660
  );
3661
3661
  }
3662
3662
  function P() {
3663
3663
  const M = e();
3664
3664
  if (M == null || M.nodeType === 8) return;
3665
- const q = ba(
3665
+ const T = ba(
3666
3666
  M,
3667
3667
  t(),
3668
3668
  y.value,
@@ -3671,86 +3671,86 @@ function Fb({
3671
3671
  a.lang.rtl,
3672
3672
  o.virtualScrollStickySizeStart,
3673
3673
  o.virtualScrollStickySizeEnd
3674
- ), j = i.value - 1, J = q.scrollMaxSize - q.offsetStart - q.offsetEnd - p.value;
3675
- if (u === q.scrollStart) return;
3676
- if (q.scrollMaxSize <= 0) {
3677
- R(M, q, 0, 0);
3674
+ ), z = i.value - 1, J = T.scrollMaxSize - T.offsetStart - T.offsetEnd - p.value;
3675
+ if (u === T.scrollStart) return;
3676
+ if (T.scrollMaxSize <= 0) {
3677
+ R(M, T, 0, 0);
3678
3678
  return;
3679
3679
  }
3680
- h !== q.scrollViewSize && H(q.scrollViewSize), T(x.value.from);
3681
- const oe = Math.floor(q.scrollMaxSize - Math.max(q.scrollViewSize, q.offsetEnd) - Math.min(d[j], q.scrollViewSize / 2));
3682
- if (oe > 0 && Math.ceil(q.scrollStart) >= oe) {
3680
+ h !== T.scrollViewSize && H(T.scrollViewSize), D(x.value.from);
3681
+ const oe = Math.floor(T.scrollMaxSize - Math.max(T.scrollViewSize, T.offsetEnd) - Math.min(d[z], T.scrollViewSize / 2));
3682
+ if (oe > 0 && Math.ceil(T.scrollStart) >= oe) {
3683
3683
  R(
3684
3684
  M,
3685
- q,
3686
- j,
3687
- q.scrollMaxSize - q.offsetEnd - f.reduce(Ar, 0)
3685
+ T,
3686
+ z,
3687
+ T.scrollMaxSize - T.offsetEnd - f.reduce(Ar, 0)
3688
3688
  );
3689
3689
  return;
3690
3690
  }
3691
- let ce = 0, se = q.scrollStart - q.offsetStart, Be = se;
3692
- if (se <= J && se + q.scrollViewSize >= m.value)
3691
+ let ce = 0, se = T.scrollStart - T.offsetStart, Be = se;
3692
+ if (se <= J && se + T.scrollViewSize >= m.value)
3693
3693
  se -= m.value, ce = x.value.from, Be = se;
3694
3694
  else
3695
- for (let ee = 0; se >= f[ee] && ce < j; ee++)
3695
+ for (let ee = 0; se >= f[ee] && ce < z; ee++)
3696
3696
  se -= f[ee], ce += Ai;
3697
- for (; se > 0 && ce < j; )
3698
- se -= d[ce], se > -q.scrollViewSize ? (ce++, Be = se) : Be = d[ce] + se;
3697
+ for (; se > 0 && ce < z; )
3698
+ se -= d[ce], se > -T.scrollViewSize ? (ce++, Be = se) : Be = d[ce] + se;
3699
3699
  R(
3700
3700
  M,
3701
- q,
3701
+ T,
3702
3702
  ce,
3703
3703
  Be
3704
3704
  );
3705
3705
  }
3706
- function R(M, q, j, J, oe) {
3706
+ function R(M, T, z, J, oe) {
3707
3707
  const ce = typeof oe == "string" && oe.indexOf("-force") !== -1, se = ce === !0 ? oe.replace("-force", "") : oe, Be = se !== void 0 ? se : "start";
3708
- let ee = Math.max(0, j - g.value[Be]), et = ee + g.value.total;
3709
- et > i.value && (et = i.value, ee = Math.max(0, et - g.value.total)), u = q.scrollStart;
3708
+ let ee = Math.max(0, z - g.value[Be]), et = ee + g.value.total;
3709
+ et > i.value && (et = i.value, ee = Math.max(0, et - g.value.total)), u = T.scrollStart;
3710
3710
  const Ie = ee !== x.value.from || et !== x.value.to;
3711
3711
  if (Ie === !1 && se === void 0) {
3712
- N(j);
3712
+ N(z);
3713
3713
  return;
3714
3714
  }
3715
3715
  const { activeElement: Qe } = document, wt = v.value;
3716
3716
  Ie === !0 && wt !== null && wt !== Qe && wt.contains(Qe) === !0 && (wt.addEventListener("focusout", w), setTimeout(() => {
3717
3717
  wt == null || wt.removeEventListener("focusout", w);
3718
- })), Ib(wt, j - ee);
3719
- const _t = se !== void 0 ? d.slice(ee, j).reduce(Ar, 0) : 0;
3718
+ })), Ib(wt, z - ee);
3719
+ const _t = se !== void 0 ? d.slice(ee, z).reduce(Ar, 0) : 0;
3720
3720
  if (Ie === !0) {
3721
3721
  const Yt = et >= x.value.from && ee <= x.value.to ? x.value.to : et;
3722
3722
  x.value = { from: ee, to: Yt }, m.value = Jr(f, d, 0, ee), p.value = Jr(f, d, et, i.value), requestAnimationFrame(() => {
3723
- x.value.to !== et && u === q.scrollStart && (x.value = { from: x.value.from, to: et }, p.value = Jr(f, d, et, i.value));
3723
+ x.value.to !== et && u === T.scrollStart && (x.value = { from: x.value.from, to: et }, p.value = Jr(f, d, et, i.value));
3724
3724
  });
3725
3725
  }
3726
3726
  requestAnimationFrame(() => {
3727
- if (u !== q.scrollStart) return;
3728
- Ie === !0 && T(ee);
3729
- const Yt = d.slice(ee, j).reduce(Ar, 0), Bt = Yt + q.offsetStart + m.value, dt = Bt + d[j];
3727
+ if (u !== T.scrollStart) return;
3728
+ Ie === !0 && D(ee);
3729
+ const Yt = d.slice(ee, z).reduce(Ar, 0), Bt = Yt + T.offsetStart + m.value, dt = Bt + d[z];
3730
3730
  let gi = Bt + J;
3731
3731
  if (se !== void 0) {
3732
- const Bi = Yt - _t, Gt = q.scrollStart + Bi;
3733
- gi = ce !== !0 && Gt < Bt && dt < Gt + q.scrollViewSize ? Gt : se === "end" ? dt - q.scrollViewSize : Bt - (se === "start" ? 0 : Math.round((q.scrollViewSize - d[j]) / 2));
3732
+ const Bi = Yt - _t, Gt = T.scrollStart + Bi;
3733
+ gi = ce !== !0 && Gt < Bt && dt < Gt + T.scrollViewSize ? Gt : se === "end" ? dt - T.scrollViewSize : Bt - (se === "start" ? 0 : Math.round((T.scrollViewSize - d[z]) / 2));
3734
3734
  }
3735
3735
  u = gi, Hh(
3736
3736
  M,
3737
3737
  gi,
3738
3738
  o.virtualScrollHorizontal,
3739
3739
  a.lang.rtl
3740
- ), N(j);
3740
+ ), N(z);
3741
3741
  });
3742
3742
  }
3743
- function T(M) {
3744
- const q = v.value;
3745
- if (q) {
3746
- const j = Zm.call(
3747
- q.children,
3743
+ function D(M) {
3744
+ const T = v.value;
3745
+ if (T) {
3746
+ const z = Zm.call(
3747
+ T.children,
3748
3748
  (ee) => ee.classList && ee.classList.contains("q-virtual-scroll--skip") === !1
3749
- ), J = j.length, oe = o.virtualScrollHorizontal === !0 ? (ee) => ee.getBoundingClientRect().width : (ee) => ee.offsetHeight;
3749
+ ), J = z.length, oe = o.virtualScrollHorizontal === !0 ? (ee) => ee.getBoundingClientRect().width : (ee) => ee.offsetHeight;
3750
3750
  let ce = M, se, Be;
3751
3751
  for (let ee = 0; ee < J; ) {
3752
- for (se = oe(j[ee]), ee++; ee < J && j[ee].classList.contains("q-virtual-scroll--with-prev") === !0; )
3753
- se += oe(j[ee]), ee++;
3752
+ for (se = oe(z[ee]), ee++; ee < J && z[ee].classList.contains("q-virtual-scroll--with-prev") === !0; )
3753
+ se += oe(z[ee]), ee++;
3754
3754
  Be = se - d[ce], Be !== 0 && (d[ce] += Be, f[Math.floor(ce / Ai)] += Be), ce++;
3755
3755
  }
3756
3756
  }
@@ -3759,13 +3759,13 @@ function Fb({
3759
3759
  var M;
3760
3760
  (M = v.value) == null || M.focus();
3761
3761
  }
3762
- function A(M, q) {
3763
- const j = 1 * n.value;
3764
- (q === !0 || Array.isArray(d) === !1) && (d = []);
3762
+ function A(M, T) {
3763
+ const z = 1 * n.value;
3764
+ (T === !0 || Array.isArray(d) === !1) && (d = []);
3765
3765
  const J = d.length;
3766
3766
  d.length = i.value;
3767
3767
  for (let ce = i.value - 1; ce >= J; ce--)
3768
- d[ce] = j;
3768
+ d[ce] = z;
3769
3769
  const oe = Math.floor((i.value - 1) / Ai);
3770
3770
  f = [];
3771
3771
  for (let ce = 0; ce <= oe; ce++) {
@@ -3775,7 +3775,7 @@ function Fb({
3775
3775
  se += d[ee];
3776
3776
  f.push(se);
3777
3777
  }
3778
- c = -1, u = void 0, m.value = Jr(f, d, 0, x.value.from), p.value = Jr(f, d, x.value.to, i.value), M >= 0 ? (T(x.value.from), rt(() => {
3778
+ c = -1, u = void 0, m.value = Jr(f, d, 0, x.value.from), p.value = Jr(f, d, x.value.to, i.value), M >= 0 ? (D(x.value.from), rt(() => {
3779
3779
  B(M);
3780
3780
  })) : K();
3781
3781
  }
@@ -3794,22 +3794,22 @@ function Fb({
3794
3794
  ).scrollViewSize);
3795
3795
  }
3796
3796
  h = M;
3797
- const q = parseFloat(o.virtualScrollSliceRatioBefore) || 0, j = parseFloat(o.virtualScrollSliceRatioAfter) || 0, J = 1 + q + j, oe = M === void 0 || M <= 0 ? 1 : Math.ceil(M / n.value), ce = Math.max(
3797
+ const T = parseFloat(o.virtualScrollSliceRatioBefore) || 0, z = parseFloat(o.virtualScrollSliceRatioAfter) || 0, J = 1 + T + z, oe = M === void 0 || M <= 0 ? 1 : Math.ceil(M / n.value), ce = Math.max(
3798
3798
  1,
3799
3799
  oe,
3800
3800
  Math.ceil((o.virtualScrollSliceSize > 0 ? o.virtualScrollSliceSize : 10) / J)
3801
3801
  );
3802
3802
  g.value = {
3803
3803
  total: Math.ceil(ce * J),
3804
- start: Math.ceil(ce * q),
3805
- center: Math.ceil(ce * (0.5 + q)),
3806
- end: Math.ceil(ce * (1 + q)),
3804
+ start: Math.ceil(ce * T),
3805
+ center: Math.ceil(ce * (0.5 + T)),
3806
+ end: Math.ceil(ce * (1 + T)),
3807
3807
  view: oe
3808
3808
  };
3809
3809
  }
3810
- function I(M, q) {
3811
- const j = o.virtualScrollHorizontal === !0 ? "width" : "height", J = {
3812
- ["--q-virtual-scroll-item-" + j]: n.value + "px"
3810
+ function I(M, T) {
3811
+ const z = o.virtualScrollHorizontal === !0 ? "width" : "height", J = {
3812
+ ["--q-virtual-scroll-item-" + z]: n.value + "px"
3813
3813
  };
3814
3814
  return [
3815
3815
  M === "tbody" ? O(M, {
@@ -3819,7 +3819,7 @@ function Fb({
3819
3819
  }, [
3820
3820
  O("tr", [
3821
3821
  O("td", {
3822
- style: { [j]: `${m.value}px`, ...J },
3822
+ style: { [z]: `${m.value}px`, ...J },
3823
3823
  colspan: C.value
3824
3824
  })
3825
3825
  ])
@@ -3827,14 +3827,14 @@ function Fb({
3827
3827
  class: "q-virtual-scroll__padding",
3828
3828
  key: "before",
3829
3829
  ref: y,
3830
- style: { [j]: `${m.value}px`, ...J }
3830
+ style: { [z]: `${m.value}px`, ...J }
3831
3831
  }),
3832
3832
  O(M, {
3833
3833
  class: "q-virtual-scroll__content",
3834
3834
  key: "content",
3835
3835
  ref: v,
3836
3836
  tabindex: -1
3837
- }, q.flat()),
3837
+ }, T.flat()),
3838
3838
  M === "tbody" ? O(M, {
3839
3839
  class: "q-virtual-scroll__padding",
3840
3840
  key: "after",
@@ -3842,7 +3842,7 @@ function Fb({
3842
3842
  }, [
3843
3843
  O("tr", [
3844
3844
  O("td", {
3845
- style: { [j]: `${p.value}px`, ...J },
3845
+ style: { [z]: `${p.value}px`, ...J },
3846
3846
  colspan: C.value
3847
3847
  })
3848
3848
  ])
@@ -3850,7 +3850,7 @@ function Fb({
3850
3850
  class: "q-virtual-scroll__padding",
3851
3851
  key: "after",
3852
3852
  ref: k,
3853
- style: { [j]: `${p.value}px`, ...J }
3853
+ style: { [z]: `${p.value}px`, ...J }
3854
3854
  })
3855
3855
  ];
3856
3856
  }
@@ -4076,7 +4076,7 @@ const zo = Je({
4076
4076
  setup(i, { slots: e, emit: t }) {
4077
4077
  const { proxy: n } = je(), { $q: r } = n, o = G(!1), s = G(!1), l = G(-1), a = G(""), u = G(!1), c = G(!1);
4078
4078
  let h = null, f = null, d, m, p, g = null, y, k, v, x;
4079
- const C = G(null), E = G(null), D = G(null), F = G(null), V = G(null), B = qm(i), P = Pm(cr), R = b(() => Array.isArray(i.options) ? i.options.length : 0), T = b(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4079
+ const C = G(null), E = G(null), q = G(null), F = G(null), V = G(null), B = qm(i), P = Pm(cr), R = b(() => Array.isArray(i.options) ? i.options.length : 0), D = b(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4080
4080
  virtualScrollSliceRange: w,
4081
4081
  virtualScrollSliceSizeComputed: A,
4082
4082
  localResetVirtualScroll: H,
@@ -4088,28 +4088,28 @@ const zo = Je({
4088
4088
  virtualScrollLength: R,
4089
4089
  getVirtualScrollTarget: dn,
4090
4090
  getVirtualScrollEl: Ln,
4091
- virtualScrollItemSizeComputed: T
4092
- }), M = fc(), q = b(() => {
4091
+ virtualScrollItemSizeComputed: D
4092
+ }), M = fc(), T = b(() => {
4093
4093
  const _ = i.mapOptions === !0 && i.multiple !== !0, he = i.modelValue !== void 0 && (i.modelValue !== null || _ === !0) ? i.multiple === !0 && Array.isArray(i.modelValue) ? i.modelValue : [i.modelValue] : [];
4094
4094
  if (i.mapOptions === !0 && Array.isArray(i.options) === !0) {
4095
4095
  const me = i.mapOptions === !0 && d !== void 0 ? d : [], _e = he.map(($e) => be($e, me));
4096
4096
  return i.modelValue === null && _ === !0 ? _e.filter(($e) => $e !== null) : _e;
4097
4097
  }
4098
4098
  return he;
4099
- }), j = b(() => {
4099
+ }), z = b(() => {
4100
4100
  const _ = {};
4101
4101
  return zb.forEach((he) => {
4102
4102
  const me = i[he];
4103
4103
  me !== void 0 && (_[he] = me);
4104
4104
  }), _;
4105
- }), J = b(() => i.optionsDark === null ? M.isDark.value : i.optionsDark), oe = b(() => xo(q.value)), ce = b(() => {
4105
+ }), J = b(() => i.optionsDark === null ? M.isDark.value : i.optionsDark), oe = b(() => xo(T.value)), ce = b(() => {
4106
4106
  let _ = "q-field__input q-placeholder col";
4107
- return i.hideSelected === !0 || q.value.length === 0 ? [_, i.inputClass] : (_ += " q-field__input--padding", i.inputClass === void 0 ? _ : [_, i.inputClass]);
4107
+ return i.hideSelected === !0 || T.value.length === 0 ? [_, i.inputClass] : (_ += " q-field__input--padding", i.inputClass === void 0 ? _ : [_, i.inputClass]);
4108
4108
  }), se = b(
4109
4109
  () => (i.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (i.popupContentClass ? " " + i.popupContentClass : "")
4110
4110
  ), Be = b(() => R.value === 0), ee = b(
4111
- () => q.value.map((_) => X.value(_)).join(", ")
4112
- ), et = b(() => i.displayValue !== void 0 ? i.displayValue : ee.value), Ie = b(() => i.optionsHtml === !0 ? () => !0 : (_) => (_ == null ? void 0 : _.html) === !0), Qe = b(() => i.displayValueHtml === !0 || i.displayValue === void 0 && (i.optionsHtml === !0 || q.value.some(Ie.value))), wt = b(() => M.focused.value === !0 ? i.tabindex : -1), _t = b(() => {
4111
+ () => T.value.map((_) => X.value(_)).join(", ")
4112
+ ), et = b(() => i.displayValue !== void 0 ? i.displayValue : ee.value), Ie = b(() => i.optionsHtml === !0 ? () => !0 : (_) => (_ == null ? void 0 : _.html) === !0), Qe = b(() => i.displayValueHtml === !0 || i.displayValue === void 0 && (i.optionsHtml === !0 || T.value.some(Ie.value))), wt = b(() => M.focused.value === !0 ? i.tabindex : -1), _t = b(() => {
4113
4113
  const _ = {
4114
4114
  tabindex: i.tabindex,
4115
4115
  role: "combobox",
@@ -4124,7 +4124,7 @@ const zo = Je({
4124
4124
  id: `${M.targetUid.value}_lb`,
4125
4125
  role: "listbox",
4126
4126
  "aria-multiselectable": i.multiple === !0 ? "true" : "false"
4127
- })), Bt = b(() => q.value.map((_, he) => ({
4127
+ })), Bt = b(() => T.value.map((_, he) => ({
4128
4128
  index: he,
4129
4129
  opt: _,
4130
4130
  html: Ie.value(_),
@@ -4170,7 +4170,7 @@ const zo = Je({
4170
4170
  });
4171
4171
  }), gi = b(() => i.dropdownIcon !== void 0 ? i.dropdownIcon : r.iconSet.arrow.dropdown), Bi = b(
4172
4172
  () => i.optionsCover === !1 && i.outlined !== !0 && i.standout !== !0 && i.borderless !== !0 && i.rounded !== !0
4173
- ), Gt = b(() => i.optionsSelectedClass !== void 0 ? i.optionsSelectedClass : i.color !== void 0 ? `text-${i.color}` : ""), at = b(() => xa(i.optionValue, "value")), X = b(() => xa(i.optionLabel, "label")), ve = b(() => xa(i.optionDisable, "disable")), we = b(() => q.value.map(at.value)), Ue = b(() => {
4173
+ ), Gt = b(() => i.optionsSelectedClass !== void 0 ? i.optionsSelectedClass : i.color !== void 0 ? `text-${i.color}` : ""), at = b(() => xa(i.optionValue, "value")), X = b(() => xa(i.optionLabel, "label")), ve = b(() => xa(i.optionDisable, "disable")), we = b(() => T.value.map(at.value)), Ue = b(() => {
4174
4174
  const _ = {
4175
4175
  onInput: cr,
4176
4176
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
@@ -4188,14 +4188,14 @@ const zo = Je({
4188
4188
  };
4189
4189
  return _.onCompositionstart = _.onCompositionupdate = _.onCompositionend = P, _;
4190
4190
  });
4191
- ye(q, (_) => {
4191
+ ye(T, (_) => {
4192
4192
  d = _, i.useInput === !0 && i.fillInput === !0 && i.multiple !== !0 && M.innerLoading.value !== !0 && (s.value !== !0 && o.value !== !0 || oe.value !== !0) && (p !== !0 && pi(), (s.value === !0 || o.value === !0) && Ri(""));
4193
4193
  }, { immediate: !0 }), ye(() => i.fillInput, pi), ye(o, la), ye(R, A0);
4194
4194
  function ze(_) {
4195
4195
  return i.emitValue === !0 ? at.value(_) : _;
4196
4196
  }
4197
4197
  function Oe(_) {
4198
- if (_ !== -1 && _ < q.value.length)
4198
+ if (_ !== -1 && _ < T.value.length)
4199
4199
  if (i.multiple === !0) {
4200
4200
  const he = i.modelValue.slice();
4201
4201
  t("remove", { index: _, value: he.splice(_, 1)[0] }), t("update:modelValue", he);
@@ -4215,7 +4215,7 @@ const zo = Je({
4215
4215
  ), t("update:modelValue", me);
4216
4216
  return;
4217
4217
  }
4218
- if (q.value.length === 0) {
4218
+ if (T.value.length === 0) {
4219
4219
  t("add", { index: 0, value: me }), t("update:modelValue", i.multiple === !0 ? [me] : me);
4220
4220
  return;
4221
4221
  }
@@ -4232,10 +4232,10 @@ const zo = Je({
4232
4232
  i.fillInput === !0 ? X.value(_) : "",
4233
4233
  !0,
4234
4234
  !0
4235
- ), Ve()), (mt = E.value) == null || mt.focus(), (q.value.length === 0 || yn(at.value(q.value[0]), me) !== !0) && t("update:modelValue", i.emitValue === !0 ? me : _);
4235
+ ), Ve()), (mt = E.value) == null || mt.focus(), (T.value.length === 0 || yn(at.value(T.value[0]), me) !== !0) && t("update:modelValue", i.emitValue === !0 ? me : _);
4236
4236
  return;
4237
4237
  }
4238
- if ((m !== !0 || u.value === !0) && M.focus(), Re(), q.value.length === 0) {
4238
+ if ((m !== !0 || u.value === !0) && M.focus(), Re(), T.value.length === 0) {
4239
4239
  const Ze = i.emitValue === !0 ? me : _;
4240
4240
  t("add", { index: 0, value: Ze }), t("update:modelValue", i.multiple === !0 ? [Ze] : Ze);
4241
4241
  return;
@@ -4294,7 +4294,7 @@ const zo = Je({
4294
4294
  if (_.target.value = "", h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), pi(), typeof he == "string" && he.length !== 0) {
4295
4295
  const me = he.toLocaleLowerCase(), _e = (mt) => {
4296
4296
  const Ze = i.options.find((gt) => String(mt.value(gt)).toLocaleLowerCase() === me);
4297
- return Ze === void 0 ? !1 : (q.value.indexOf(Ze) === -1 ? ut(Ze) : Ve(), !0);
4297
+ return Ze === void 0 ? !1 : (T.value.indexOf(Ze) === -1 ? ut(Ze) : Ve(), !0);
4298
4298
  }, $e = (mt) => {
4299
4299
  _e(at) !== !0 && mt !== !0 && _e(X) !== !0 && Ri(he, !0, () => $e(!0));
4300
4300
  };
@@ -4369,7 +4369,7 @@ const zo = Je({
4369
4369
  }
4370
4370
  }
4371
4371
  function Ln() {
4372
- return m === !0 ? V.value : D.value !== null && D.value.contentEl !== null ? D.value.contentEl : void 0;
4372
+ return m === !0 ? V.value : q.value !== null && q.value.contentEl !== null ? q.value.contentEl : void 0;
4373
4373
  }
4374
4374
  function dn() {
4375
4375
  return Ln();
@@ -4447,7 +4447,7 @@ const zo = Je({
4447
4447
  }
4448
4448
  function Ri(_, he, me) {
4449
4449
  if (i.onFilter === void 0 || he !== !0 && M.focused.value !== !0) return;
4450
- M.innerLoading.value === !0 ? t("filterAbort") : (M.innerLoading.value = !0, c.value = !0), _ !== "" && i.multiple !== !0 && q.value.length !== 0 && p !== !0 && _ === X.value(q.value[0]) && (_ = "");
4450
+ M.innerLoading.value === !0 ? t("filterAbort") : (M.innerLoading.value = !0, c.value = !0), _ !== "" && i.multiple !== !0 && T.value.length !== 0 && p !== !0 && _ === X.value(T.value[0]) && (_ = "");
4451
4451
  const _e = setTimeout(() => {
4452
4452
  o.value === !0 && (o.value = !1);
4453
4453
  }, 10);
@@ -4470,7 +4470,7 @@ const zo = Je({
4470
4470
  }
4471
4471
  function ra() {
4472
4472
  return O(Xm, {
4473
- ref: D,
4473
+ ref: q,
4474
4474
  class: se.value,
4475
4475
  style: i.popupContentStyle,
4476
4476
  modelValue: o.value,
@@ -4515,7 +4515,7 @@ const zo = Je({
4515
4515
  const _ = [
4516
4516
  O(rb, {
4517
4517
  class: `col-auto ${M.fieldClass.value}`,
4518
- ...j.value,
4518
+ ...z.value,
4519
4519
  for: M.targetUid.value,
4520
4520
  dark: J.value,
4521
4521
  square: !0,
@@ -4583,7 +4583,7 @@ const zo = Je({
4583
4583
  }
4584
4584
  function pi() {
4585
4585
  i.useInput === !0 && Vn(
4586
- i.multiple !== !0 && i.fillInput === !0 && q.value.length !== 0 && X.value(q.value[0]) || "",
4586
+ i.multiple !== !0 && i.fillInput === !0 && T.value.length !== 0 && X.value(T.value[0]) || "",
4587
4587
  !0,
4588
4588
  !0
4589
4589
  );
@@ -4591,8 +4591,8 @@ const zo = Je({
4591
4591
  function la(_) {
4592
4592
  let he = -1;
4593
4593
  if (_ === !0) {
4594
- if (q.value.length !== 0) {
4595
- const me = at.value(q.value[0]);
4594
+ if (T.value.length !== 0) {
4595
+ const me = at.value(T.value[0]);
4596
4596
  he = i.options.findIndex((_e) => yn(at.value(_e), me));
4597
4597
  }
4598
4598
  H(he);
@@ -4605,7 +4605,7 @@ const zo = Je({
4605
4605
  }));
4606
4606
  }
4607
4607
  function oh() {
4608
- s.value === !1 && D.value !== null && D.value.updatePosition();
4608
+ s.value === !1 && q.value !== null && q.value.updatePosition();
4609
4609
  }
4610
4610
  function sh(_) {
4611
4611
  _ !== void 0 && hi(_), t("popupShow", _), M.hasPopupOpen = !0, M.onControlFocusin(_);
@@ -4636,7 +4636,7 @@ const zo = Je({
4636
4636
  getOptionValue: (..._) => at.value.apply(null, _),
4637
4637
  getOptionLabel: (..._) => X.value.apply(null, _)
4638
4638
  }), Object.assign(M, {
4639
- innerValue: q,
4639
+ innerValue: T,
4640
4640
  fieldClass: b(
4641
4641
  () => `q-select q-field--auto-height q-select--with${i.useInput !== !0 ? "out" : ""}-input q-select--with${i.useChips !== !0 ? "out" : ""}-chips q-select--${i.multiple === !0 ? "multiple" : "single"}`
4642
4642
  ),
@@ -5016,15 +5016,15 @@ const It = Je({
5016
5016
  }), C = b(() => {
5017
5017
  if (i.loading === !0)
5018
5018
  return {
5019
- onMousedown: T,
5020
- onTouchstart: T,
5021
- onClick: T,
5022
- onKeydown: T,
5023
- onKeyup: T
5019
+ onMousedown: D,
5020
+ onTouchstart: D,
5021
+ onClick: D,
5022
+ onKeydown: D,
5023
+ onKeyup: D
5024
5024
  };
5025
5025
  if (h.value === !0) {
5026
5026
  const w = {
5027
- onClick: D,
5027
+ onClick: q,
5028
5028
  onKeydown: F,
5029
5029
  onMousedown: B
5030
5030
  };
@@ -5045,7 +5045,7 @@ const It = Je({
5045
5045
  ...l.value,
5046
5046
  ...C.value
5047
5047
  }));
5048
- function D(w) {
5048
+ function q(w) {
5049
5049
  if (f.value !== null) {
5050
5050
  if (w !== void 0) {
5051
5051
  if (w.defaultPrevented === !0) return;
@@ -5090,14 +5090,14 @@ const It = Je({
5090
5090
  const A = d.value;
5091
5091
  w !== !0 && (fr === f.value || mr === f.value) && A !== null && A !== document.activeElement && (A.setAttribute("tabindex", -1), A.focus()), fr === f.value && (m !== null && (m.removeEventListener("touchcancel", P, vi), m.removeEventListener("touchend", P, vi)), fr = m = null), mr === f.value && (document.removeEventListener("mouseup", P, vi), mr = null), dr === f.value && (document.removeEventListener("keyup", P, !0), (H = f.value) == null || H.removeEventListener("blur", P, vi), dr = null), (I = f.value) == null || I.classList.remove("q-btn--active");
5092
5092
  }
5093
- function T(w) {
5093
+ function D(w) {
5094
5094
  ct(w), w.qSkipRipple = !0;
5095
5095
  }
5096
5096
  return ht(() => {
5097
5097
  R(!0);
5098
5098
  }), Object.assign(n, {
5099
5099
  click: (w) => {
5100
- h.value === !0 && D(w);
5100
+ h.value === !0 && q(w);
5101
5101
  }
5102
5102
  }), () => {
5103
5103
  let w = [];
@@ -6038,10 +6038,10 @@ const fg = Je({
6038
6038
  setup(i, { slots: e, emit: t }) {
6039
6039
  const { proxy: n } = je(), { $q: r } = n, o = Ji(i, r), { getCache: s } = e1(), { tabindex: l, headerClass: a, getLocale: u, getCurrentDate: c } = sg(i, r);
6040
6040
  let h;
6041
- const f = Dm(i), d = mc(f), m = G(null), p = G(Xe()), g = G(u()), y = b(() => Xe()), k = b(() => u()), v = b(() => c()), x = G(Q(p.value, g.value)), C = G(i.defaultView), E = b(() => r.lang.rtl === !0 ? "right" : "left"), D = G(E.value), F = G(E.value), V = x.value.year, B = G(V - V % $i - (V < 0 ? $i : 0)), P = G(null), R = b(() => {
6041
+ const f = Dm(i), d = mc(f), m = G(null), p = G(Xe()), g = G(u()), y = b(() => Xe()), k = b(() => u()), v = b(() => c()), x = G(Q(p.value, g.value)), C = G(i.defaultView), E = b(() => r.lang.rtl === !0 ? "right" : "left"), q = G(E.value), F = G(E.value), V = x.value.year, B = G(V - V % $i - (V < 0 ? $i : 0)), P = G(null), R = b(() => {
6042
6042
  const S = i.landscape === !0 ? "landscape" : "portrait";
6043
6043
  return `q-date q-date--${S} q-date--${S}-${i.minimal === !0 ? "minimal" : "standard"}` + (o.value === !0 ? " q-date--dark q-dark" : "") + (i.bordered === !0 ? " q-date--bordered" : "") + (i.square === !0 ? " q-date--square no-border-radius" : "") + (i.flat === !0 ? " q-date--flat no-shadow" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-date--readonly" : "");
6044
- }), T = b(() => i.color || "primary"), w = b(() => i.textColor || "white"), A = b(
6044
+ }), D = b(() => i.color || "primary"), w = b(() => i.textColor || "white"), A = b(
6045
6045
  () => i.emitImmediately === !0 && i.multiple !== !0 && i.range !== !0
6046
6046
  ), H = b(() => Array.isArray(i.modelValue) === !0 ? i.modelValue : i.modelValue !== null && i.modelValue !== void 0 ? [i.modelValue] : []), I = b(
6047
6047
  () => H.value.filter((S) => typeof S == "string").map((S) => ut(S, p.value, g.value)).filter(
@@ -6075,7 +6075,7 @@ const fg = Je({
6075
6075
  ),
6076
6076
  0
6077
6077
  )
6078
- ), q = b(() => {
6078
+ ), T = b(() => {
6079
6079
  if (i.title !== void 0 && i.title !== null && i.title.length !== 0)
6080
6080
  return i.title;
6081
6081
  if (P.value !== null) {
@@ -6088,13 +6088,13 @@ const fg = Je({
6088
6088
  return `${M.value} ${g.value.pluralDay}`;
6089
6089
  const S = I.value[0], L = K.value(S);
6090
6090
  return isNaN(L.valueOf()) === !0 ? pr : g.value.headerTitle !== void 0 ? g.value.headerTitle(L, S) : g.value.daysShort[L.getDay()] + ", " + g.value.monthsShort[S.month - 1] + " " + S.day;
6091
- }), j = b(() => I.value.concat(N.value.map((L) => L.from)).sort((L, W) => L.year - W.year || L.month - W.month)[0]), J = b(() => I.value.concat(N.value.map((L) => L.to)).sort((L, W) => W.year - L.year || W.month - L.month)[0]), oe = b(() => {
6091
+ }), z = b(() => I.value.concat(N.value.map((L) => L.from)).sort((L, W) => L.year - W.year || L.month - W.month)[0]), J = b(() => I.value.concat(N.value.map((L) => L.to)).sort((L, W) => W.year - L.year || W.month - L.month)[0]), oe = b(() => {
6092
6092
  if (i.subtitle !== void 0 && i.subtitle !== null && i.subtitle.length !== 0)
6093
6093
  return i.subtitle;
6094
6094
  if (M.value === 0)
6095
6095
  return pr;
6096
6096
  if (M.value > 1) {
6097
- const S = j.value, L = J.value, W = g.value.monthsShort;
6097
+ const S = z.value, L = J.value, W = g.value.monthsShort;
6098
6098
  return W[S.month - 1] + (S.year !== L.year ? " " + S.year + pr + W[L.month - 1] + " " : S.month !== L.month ? pr + W[L.month - 1] : "") + " " + L.year;
6099
6099
  }
6100
6100
  return I.value[0].year;
@@ -6211,7 +6211,7 @@ const fg = Je({
6211
6211
  selected: !0,
6212
6212
  unelevated: !0,
6213
6213
  flat: !1,
6214
- color: T.value,
6214
+ color: D.value,
6215
6215
  textColor: w.value
6216
6216
  });
6217
6217
  }), Yt.value[dt.value] !== void 0 && Yt.value[dt.value].forEach((pe) => {
@@ -6221,7 +6221,7 @@ const fg = Je({
6221
6221
  Object.assign(S[pi], {
6222
6222
  range: pe.range,
6223
6223
  unelevated: !0,
6224
- color: T.value,
6224
+ color: D.value,
6225
6225
  textColor: w.value
6226
6226
  });
6227
6227
  Object.assign(S[Se], {
@@ -6237,7 +6237,7 @@ const fg = Je({
6237
6237
  Object.assign(S[Ve], {
6238
6238
  range: pe.range,
6239
6239
  unelevated: !0,
6240
- color: T.value,
6240
+ color: D.value,
6241
6241
  textColor: w.value
6242
6242
  });
6243
6243
  Object.assign(S[Se], {
@@ -6250,14 +6250,14 @@ const fg = Je({
6250
6250
  Object.assign(S[Ve], {
6251
6251
  range: pe.range,
6252
6252
  unelevated: !0,
6253
- color: T.value,
6253
+ color: D.value,
6254
6254
  textColor: w.value
6255
6255
  });
6256
6256
  }
6257
6257
  }), Bt.value !== void 0) {
6258
6258
  const pe = fe + Bt.value.from - 1, Se = fe + Bt.value.to - 1;
6259
6259
  for (let Ve = pe; Ve <= Se; Ve++)
6260
- S[Ve].color = T.value, S[Ve].editRange = !0;
6260
+ S[Ve].color = D.value, S[Ve].editRange = !0;
6261
6261
  Bt.value.includeFrom === !0 && (S[pe].editRangeFrom = !0), Bt.value.includeTo === !0 && (S[Se].editRangeTo = !0);
6262
6262
  }
6263
6263
  x.value.year === v.value.year && x.value.month === v.value.month && (S[fe + v.value.day - 1].today = !0);
@@ -6400,7 +6400,7 @@ const fg = Je({
6400
6400
  Object.assign(x.value, { hour: fe, minute: Te, second: pe, millisecond: Se, timezoneOffset: Ve, timeHash: pi });
6401
6401
  }
6402
6402
  const ne = S + "/" + Fe(L) + "/01";
6403
- ne !== x.value.dateHash && (D.value = x.value.dateHash < ne == (r.lang.rtl !== !0) ? "left" : "right", S !== x.value.year && (F.value = D.value), rt(() => {
6403
+ ne !== x.value.dateHash && (q.value = x.value.dateHash < ne == (r.lang.rtl !== !0) ? "left" : "right", S !== x.value.year && (F.value = q.value), rt(() => {
6404
6404
  B.value = S - S % $i - (S < 0 ? $i : 0), Object.assign(x.value, {
6405
6405
  year: S,
6406
6406
  month: L,
@@ -6501,7 +6501,7 @@ const fg = Je({
6501
6501
  O(fi, {
6502
6502
  name: "q-transition--fade"
6503
6503
  }, () => O("div", {
6504
- key: "h-sub" + q.value,
6504
+ key: "h-sub" + T.value,
6505
6505
  class: "q-date__header-title-label q-date__header-link " + (C.value === "Calendar" ? "q-date__header-link--active" : "cursor-pointer"),
6506
6506
  tabindex: l.value,
6507
6507
  ...s("vC", {
@@ -6512,7 +6512,7 @@ const fg = Je({
6512
6512
  S.keyCode === 13 && (C.value = "Calendar");
6513
6513
  }
6514
6514
  })
6515
- }, [q.value]))
6515
+ }, [T.value]))
6516
6516
  ]),
6517
6517
  i.todayBtn === !0 ? O(It, {
6518
6518
  class: "q-date__header-today self-start",
@@ -6595,7 +6595,7 @@ const fg = Je({
6595
6595
  label: g.value.months[x.value.month - 1],
6596
6596
  type: "Months",
6597
6597
  key: x.value.month,
6598
- dir: D.value,
6598
+ dir: q.value,
6599
6599
  goTo: be,
6600
6600
  boundaries: wt.value.month,
6601
6601
  cls: " col"
@@ -6615,7 +6615,7 @@ const fg = Je({
6615
6615
  class: "q-date__calendar-days-container relative-position overflow-hidden"
6616
6616
  }, [
6617
6617
  O(fi, {
6618
- name: "q-transition--slide-" + D.value
6618
+ name: "q-transition--slide-" + q.value
6619
6619
  }, () => O("div", {
6620
6620
  key: dt.value,
6621
6621
  class: "q-date__calendar-days fit"
@@ -6657,7 +6657,7 @@ const fg = Je({
6657
6657
  flat: Te !== !0,
6658
6658
  label: ne,
6659
6659
  unelevated: Te,
6660
- color: Te === !0 ? T.value : null,
6660
+ color: Te === !0 ? D.value : null,
6661
6661
  textColor: Te === !0 ? w.value : null,
6662
6662
  tabindex: l.value,
6663
6663
  disable: L(fe + 1),
@@ -6699,7 +6699,7 @@ const fg = Je({
6699
6699
  label: fe,
6700
6700
  dense: !0,
6701
6701
  unelevated: Te,
6702
- color: Te === !0 ? T.value : null,
6702
+ color: Te === !0 ? D.value : null,
6703
6703
  textColor: Te === !0 ? w.value : null,
6704
6704
  tabindex: l.value,
6705
6705
  disable: ne(fe),
@@ -7192,7 +7192,7 @@ const dg = Je({
7192
7192
  y.value
7193
7193
  ), v = G(b1(k)), x = G(k), C = G(k.hour === null || k.hour < 12), E = b(
7194
7194
  () => `q-time q-time--${i.landscape === !0 ? "landscape" : "portrait"}` + (o.value === !0 ? " q-time--dark q-dark" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-time--readonly" : "") + (i.bordered === !0 ? " q-time--bordered" : "") + (i.square === !0 ? " q-time--square no-border-radius" : "") + (i.flat === !0 ? " q-time--flat no-shadow" : "")
7195
- ), D = b(() => {
7195
+ ), q = b(() => {
7196
7196
  const Q = x.value;
7197
7197
  return {
7198
7198
  hour: Q.hour === null ? "--" : F.value === !0 ? Fe(Q.hour) : String(
@@ -7205,12 +7205,12 @@ const dg = Je({
7205
7205
  const Q = v.value === "hour", $ = Q === !0 ? 12 : 60, be = x.value[v.value];
7206
7206
  let Re = `rotate(${Math.round(be * (360 / $)) - 180}deg) translateX(-50%)`;
7207
7207
  return Q === !0 && F.value === !0 && x.value.hour >= 12 && (Re += " scale(.7)"), { transform: Re };
7208
- }), B = b(() => x.value.hour !== null), P = b(() => B.value === !0 && x.value.minute !== null), R = b(() => i.hourOptions !== void 0 ? (Q) => i.hourOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(Q, null, null) : null), T = b(() => i.minuteOptions !== void 0 ? (Q) => i.minuteOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, Q, null) : null), w = b(() => i.secondOptions !== void 0 ? (Q) => i.secondOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, x.value.minute, Q) : null), A = b(() => {
7208
+ }), B = b(() => x.value.hour !== null), P = b(() => B.value === !0 && x.value.minute !== null), R = b(() => i.hourOptions !== void 0 ? (Q) => i.hourOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(Q, null, null) : null), D = b(() => i.minuteOptions !== void 0 ? (Q) => i.minuteOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, Q, null) : null), w = b(() => i.secondOptions !== void 0 ? (Q) => i.secondOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, x.value.minute, Q) : null), A = b(() => {
7209
7209
  if (R.value === null)
7210
7210
  return null;
7211
- const Q = q(0, 11, R.value), $ = q(12, 11, R.value);
7211
+ const Q = T(0, 11, R.value), $ = T(12, 11, R.value);
7212
7212
  return { am: Q, pm: $, values: Q.values.concat($.values) };
7213
- }), H = b(() => T.value !== null ? q(0, 59, T.value) : null), I = b(() => w.value !== null ? q(0, 59, w.value) : null), N = b(() => {
7213
+ }), H = b(() => D.value !== null ? T(0, 59, D.value) : null), I = b(() => w.value !== null ? T(0, 59, w.value) : null), N = b(() => {
7214
7214
  switch (v.value) {
7215
7215
  case "hour":
7216
7216
  return A.value;
@@ -7260,7 +7260,7 @@ const dg = Je({
7260
7260
  };
7261
7261
  qe(Q), Object.assign(x.value, Q), v.value = "hour";
7262
7262
  }
7263
- function q(Q, $, be) {
7263
+ function T(Q, $, be) {
7264
7264
  const Ce = Array.apply(null, { length: $ + 1 }).map((Re, Nt) => {
7265
7265
  const De = Nt + Q;
7266
7266
  return {
@@ -7276,7 +7276,7 @@ const dg = Je({
7276
7276
  threshold: $ + 1
7277
7277
  };
7278
7278
  }
7279
- function j(Q, $, be) {
7279
+ function z(Q, $, be) {
7280
7280
  const Ce = Math.abs(Q - $);
7281
7281
  return Math.min(Ce, be - Ce);
7282
7282
  }
@@ -7284,7 +7284,7 @@ const dg = Je({
7284
7284
  if (Q === $)
7285
7285
  return $;
7286
7286
  if (Q < $ || Q > be)
7287
- return j(Q, $, Re) <= j(Q, be, Re) ? $ : be;
7287
+ return z(Q, $, Re) <= z(Q, be, Re) ? $ : be;
7288
7288
  const Nt = Ce.findIndex((Rt) => Q <= Rt), De = Ce[Nt - 1], tt = Ce[Nt];
7289
7289
  return Q - De <= tt - Q ? De : tt;
7290
7290
  }
@@ -7452,7 +7452,7 @@ const dg = Je({
7452
7452
  x.value = no(), ze("hour");
7453
7453
  return;
7454
7454
  }
7455
- if (T.value !== null && T.value(x.value.minute) !== !0) {
7455
+ if (D.value !== null && D.value(x.value.minute) !== !0) {
7456
7456
  x.value.minute = null, x.value.second = null, ze("minute");
7457
7457
  return;
7458
7458
  }
@@ -7487,7 +7487,7 @@ const dg = Je({
7487
7487
  tabindex: s.value,
7488
7488
  onClick: Qe.hour,
7489
7489
  onKeyup: dt
7490
- }, D.value.hour),
7490
+ }, q.value.hour),
7491
7491
  O("div", ":"),
7492
7492
  O(
7493
7493
  "div",
@@ -7497,7 +7497,7 @@ const dg = Je({
7497
7497
  onKeyup: gi,
7498
7498
  onClick: Qe.minute
7499
7499
  } : { class: "q-time__link" },
7500
- D.value.minute
7500
+ q.value.minute
7501
7501
  )
7502
7502
  ];
7503
7503
  i.withSeconds === !0 && Q.push(
@@ -7510,7 +7510,7 @@ const dg = Je({
7510
7510
  onKeyup: Bi,
7511
7511
  onClick: Qe.second
7512
7512
  } : { class: "q-time__link" },
7513
- D.value.second
7513
+ q.value.second
7514
7514
  )
7515
7515
  );
7516
7516
  const $ = [
@@ -7834,14 +7834,14 @@ const nf = /* @__PURE__ */ Ut(k1, [["render", S1], ["__file", "/Users/zachsherbo
7834
7834
  }), d = b(() => a.value.mask || `${h.value} ${f.value}`), m = b(() => a.value.format24h || !1), p = b(() => a.value.withSeconds || !1), y = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, dateMask: h, timeMask: f, fullMask: d, use24Hour: m, withSeconds: p, setNow: () => {
7835
7835
  const k = /* @__PURE__ */ new Date(), v = k.getFullYear(), x = String(k.getMonth() + 1).padStart(2, "0"), C = String(k.getDate()).padStart(2, "0");
7836
7836
  if (m.value) {
7837
- const E = String(k.getHours()).padStart(2, "0"), D = String(k.getMinutes()).padStart(2, "0");
7838
- n.value = `${v}-${x}-${C} ${E}:${D}`;
7837
+ const E = String(k.getHours()).padStart(2, "0"), q = String(k.getMinutes()).padStart(2, "0");
7838
+ n.value = `${v}-${x}-${C} ${E}:${q}`;
7839
7839
  } else {
7840
7840
  let E = k.getHours();
7841
- const D = E >= 12 ? "PM" : "AM";
7841
+ const q = E >= 12 ? "PM" : "AM";
7842
7842
  E = E % 12 || 12;
7843
7843
  const F = String(k.getMinutes()).padStart(2, "0");
7844
- n.value = `${v}-${x}-${C} ${E}:${F} ${D}`;
7844
+ n.value = `${v}-${x}-${C} ${E}:${F} ${q}`;
7845
7845
  }
7846
7846
  }, get QInput() {
7847
7847
  return ar;
@@ -8111,7 +8111,7 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8111
8111
  function E(I) {
8112
8112
  p.value !== !0 && c(I), t("click", I);
8113
8113
  }
8114
- function D(I) {
8114
+ function q(I) {
8115
8115
  I.keyCode === 13 && F(I, !0);
8116
8116
  }
8117
8117
  function F(I, N) {
@@ -8156,7 +8156,7 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8156
8156
  tabindex: 0,
8157
8157
  ...C.value,
8158
8158
  onClick: F,
8159
- onKeyup: D
8159
+ onKeyup: q
8160
8160
  }), N.unshift(
8161
8161
  O("div", {
8162
8162
  ref: s,
@@ -8165,7 +8165,7 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8165
8165
  })
8166
8166
  )), O(kn, I, () => N);
8167
8167
  }
8168
- function T() {
8168
+ function D() {
8169
8169
  let I;
8170
8170
  return e.header !== void 0 ? I = [].concat(e.header(x.value)) : (I = [
8171
8171
  O(kn, () => [
@@ -8194,7 +8194,7 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8194
8194
  return y.value === !0 && (I.clickable = !0, I.onClick = E, Object.assign(
8195
8195
  I,
8196
8196
  p.value === !0 ? g.value : C.value
8197
- )), O($s, I, T);
8197
+ )), O($s, I, D);
8198
8198
  }
8199
8199
  function A() {
8200
8200
  return Rn(
@@ -8415,18 +8415,18 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8415
8415
  ],
8416
8416
  setup(i, { slots: e, emit: t, attrs: n }) {
8417
8417
  let r, o;
8418
- const s = je(), { proxy: { $q: l } } = s, a = G(null), u = G(!1), c = b(() => ol(i.anchor, l.lang.rtl)), h = b(() => ol(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Mr(), { registerTimeout: p } = ko(), { transitionProps: g, transitionStyle: y } = xc(i), { localScrollTarget: k, changeScrollEvent: v, unconfigureScrollTarget: x } = Hm(i, Y), { anchorEl: C, canShow: E, anchorEvents: D } = yc({ showing: u, configureAnchorEl: K }), { show: F, hide: V } = jl({
8418
+ const s = je(), { proxy: { $q: l } } = s, a = G(null), u = G(!1), c = b(() => ol(i.anchor, l.lang.rtl)), h = b(() => ol(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Mr(), { registerTimeout: p } = ko(), { transitionProps: g, transitionStyle: y } = xc(i), { localScrollTarget: k, changeScrollEvent: v, unconfigureScrollTarget: x } = Hm(i, Y), { anchorEl: C, canShow: E, anchorEvents: q } = yc({ showing: u, configureAnchorEl: K }), { show: F, hide: V } = jl({
8419
8419
  showing: u,
8420
8420
  canShow: E,
8421
- handleShow: T,
8421
+ handleShow: D,
8422
8422
  handleHide: w,
8423
8423
  hideOnRouteChange: f,
8424
8424
  processOnMount: !0
8425
8425
  });
8426
- Object.assign(D, { delayShow: I, delayHide: N });
8427
- const { showPortal: B, hidePortal: P, renderPortal: R } = bc(s, a, q, "tooltip");
8426
+ Object.assign(q, { delayShow: I, delayHide: N });
8427
+ const { showPortal: B, hidePortal: P, renderPortal: R } = bc(s, a, T, "tooltip");
8428
8428
  if (l.platform.is.mobile === !0) {
8429
- const j = {
8429
+ const z = {
8430
8430
  anchorEl: C,
8431
8431
  innerRef: a,
8432
8432
  onClickOutside(oe) {
@@ -8440,28 +8440,28 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8440
8440
  )
8441
8441
  );
8442
8442
  ye(J, (oe) => {
8443
- (oe === !0 ? Gm : nl)(j);
8443
+ (oe === !0 ? Gm : nl)(z);
8444
8444
  }), ht(() => {
8445
- nl(j);
8445
+ nl(z);
8446
8446
  });
8447
8447
  }
8448
- function T(j) {
8448
+ function D(z) {
8449
8449
  B(), d(() => {
8450
8450
  o = new MutationObserver(() => H()), o.observe(a.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), H(), Y();
8451
8451
  }), r === void 0 && (r = ye(
8452
8452
  () => l.screen.width + "|" + l.screen.height + "|" + i.self + "|" + i.anchor + "|" + l.lang.rtl,
8453
8453
  H
8454
8454
  )), p(() => {
8455
- B(!0), t("show", j);
8455
+ B(!0), t("show", z);
8456
8456
  }, i.transitionDuration);
8457
8457
  }
8458
- function w(j) {
8458
+ function w(z) {
8459
8459
  m(), P(), A(), p(() => {
8460
- P(!0), t("hide", j);
8460
+ P(!0), t("hide", z);
8461
8461
  }, i.transitionDuration);
8462
8462
  }
8463
8463
  function A() {
8464
- o !== void 0 && (o.disconnect(), o = void 0), r !== void 0 && (r(), r = void 0), x(), Xn(D, "tooltipTemp");
8464
+ o !== void 0 && (o.disconnect(), o = void 0), r !== void 0 && (r(), r = void 0), x(), Xn(q, "tooltipTemp");
8465
8465
  }
8466
8466
  function H() {
8467
8467
  kc({
@@ -8474,38 +8474,38 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8474
8474
  maxWidth: i.maxWidth
8475
8475
  });
8476
8476
  }
8477
- function I(j) {
8477
+ function I(z) {
8478
8478
  if (l.platform.is.mobile === !0) {
8479
8479
  Zs(), document.body.classList.add("non-selectable");
8480
8480
  const J = C.value, oe = ["touchmove", "touchcancel", "touchend", "click"].map((ce) => [J, ce, "delayHide", "passiveCapture"]);
8481
- rn(D, "tooltipTemp", oe);
8481
+ rn(q, "tooltipTemp", oe);
8482
8482
  }
8483
8483
  p(() => {
8484
- F(j);
8484
+ F(z);
8485
8485
  }, i.delay);
8486
8486
  }
8487
- function N(j) {
8488
- l.platform.is.mobile === !0 && (Xn(D, "tooltipTemp"), Zs(), setTimeout(() => {
8487
+ function N(z) {
8488
+ l.platform.is.mobile === !0 && (Xn(q, "tooltipTemp"), Zs(), setTimeout(() => {
8489
8489
  document.body.classList.remove("non-selectable");
8490
8490
  }, 10)), p(() => {
8491
- V(j);
8491
+ V(z);
8492
8492
  }, i.hideDelay);
8493
8493
  }
8494
8494
  function K() {
8495
8495
  if (i.noParentEvent === !0 || C.value === null) return;
8496
- const j = l.platform.is.mobile === !0 ? [
8496
+ const z = l.platform.is.mobile === !0 ? [
8497
8497
  [C.value, "touchstart", "delayShow", "passive"]
8498
8498
  ] : [
8499
8499
  [C.value, "mouseenter", "delayShow", "passive"],
8500
8500
  [C.value, "mouseleave", "delayHide", "passive"]
8501
8501
  ];
8502
- rn(D, "anchor", j);
8502
+ rn(q, "anchor", z);
8503
8503
  }
8504
8504
  function Y() {
8505
8505
  if (C.value !== null || i.scrollTarget !== void 0) {
8506
8506
  k.value = Wm(C.value, i.scrollTarget);
8507
- const j = i.noParentEvent === !0 ? H : V;
8508
- v(k.value, j);
8507
+ const z = i.noParentEvent === !0 ? H : V;
8508
+ v(k.value, z);
8509
8509
  }
8510
8510
  }
8511
8511
  function M() {
@@ -8523,7 +8523,7 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8523
8523
  role: "tooltip"
8524
8524
  }, qt(e.default)) : null;
8525
8525
  }
8526
- function q() {
8526
+ function T() {
8527
8527
  return O(fi, g.value, M);
8528
8528
  }
8529
8529
  return ht(A), Object.assign(s.proxy, { updatePosition: H }), R;
@@ -8569,11 +8569,11 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8569
8569
  label: t.label,
8570
8570
  componentType: "card"
8571
8571
  }), h = b(() => {
8572
- var R, T;
8572
+ var R, D;
8573
8573
  const V = t.schema["x-section-style"];
8574
8574
  if (V)
8575
8575
  return V;
8576
- const B = (R = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : R.array, P = (T = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : T.object;
8576
+ const B = (R = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : R.array, P = (D = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : D.object;
8577
8577
  return (B == null ? void 0 : B.sectionStyle) ?? (P == null ? void 0 : P.sectionStyle) ?? "card";
8578
8578
  }), f = b(() => `quickform-section-${h.value}`), d = b(() => {
8579
8579
  var H, I;
@@ -8582,7 +8582,7 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8582
8582
  color: "primary",
8583
8583
  icon: "add",
8584
8584
  label: ((I = c == null ? void 0 : c.labels) == null ? void 0 : I.addItem) || "Add item"
8585
- }, T = {
8585
+ }, D = {
8586
8586
  flat: !0,
8587
8587
  round: !0,
8588
8588
  dense: !0,
@@ -8594,7 +8594,7 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8594
8594
  ...V.addButton || {},
8595
8595
  ...B.addButton || {}
8596
8596
  }, A = {
8597
- ...T,
8597
+ ...D,
8598
8598
  ...V.removeButton || {},
8599
8599
  ...B.removeButton || {}
8600
8600
  };
@@ -8621,19 +8621,19 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8621
8621
  B.splice(V, 1), n.value = B;
8622
8622
  }, x = (V, B) => {
8623
8623
  if (B === "up" && V === 0 || B === "down" && V === g.value.length - 1) return;
8624
- const P = [...g.value], R = B === "up" ? V - 1 : V + 1, T = P[V];
8625
- P[V] = P[R], P[R] = T, n.value = P;
8624
+ const P = [...g.value], R = B === "up" ? V - 1 : V + 1, D = P[V];
8625
+ P[V] = P[R], P[R] = D, n.value = P;
8626
8626
  }, C = b(() => !(t.disabled || t.readonly || t.schema.maxItems && g.value.length >= t.schema.maxItems)), E = b(() => !(t.disabled || t.readonly || t.schema.minItems && g.value.length <= t.schema.minItems)), F = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, sectionStyle: h, sectionStyleClass: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, arrayValue: g, itemsSchema: y, addItem: k, removeItem: v, moveItem: x, canAdd: C, canRemove: E, getItemLabel: (V) => {
8627
8627
  var R;
8628
8628
  const B = t.schema["x-item-label"];
8629
8629
  if (B === "none" || B === !1)
8630
8630
  return "";
8631
8631
  if (typeof B == "string" && B.includes("{{")) {
8632
- const T = g.value[V];
8633
- if (typeof T == "object" && T !== null) {
8632
+ const D = g.value[V];
8633
+ if (typeof D == "object" && D !== null) {
8634
8634
  let w = B, A = !1;
8635
8635
  if (w = w.replace(/\{\{([^}]+)\}\}/g, (H, I) => {
8636
- const N = T[I.trim()];
8636
+ const N = D[I.trim()];
8637
8637
  return N != null && N !== "" ? (A = !0, String(N)) : "";
8638
8638
  }), w = w.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), A && w.trim())
8639
8639
  return w.trim();
@@ -8927,7 +8927,7 @@ const tx = /* @__PURE__ */ Pt({
8927
8927
  componentType: "keyvalue"
8928
8928
  }), d = b(() => {
8929
8929
  var N, K;
8930
- const D = ((N = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : N.keyvalue) || {}, F = t.schema["x-quickforms-quasar"] || {}, V = F.addButtonPosition ?? D.addButtonPosition ?? "bottom-left", B = F.showHeaders ?? D.showHeaders ?? !1, P = F.keyLabel ?? D.keyLabel ?? "Key", R = F.valueLabel ?? D.valueLabel ?? "Value", T = t.schema["x-infer-types"] ?? F.inferTypes ?? D.inferTypes ?? !1, w = {
8930
+ const q = ((N = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : N.keyvalue) || {}, F = t.schema["x-quickforms-quasar"] || {}, V = F.addButtonPosition ?? q.addButtonPosition ?? "bottom-left", B = F.showHeaders ?? q.showHeaders ?? !1, P = F.keyLabel ?? q.keyLabel ?? "Key", R = F.valueLabel ?? q.valueLabel ?? "Value", D = t.schema["x-infer-types"] ?? F.inferTypes ?? q.inferTypes ?? !1, w = {
8931
8931
  outline: !0,
8932
8932
  color: "primary",
8933
8933
  icon: "add",
@@ -8942,11 +8942,11 @@ const tx = /* @__PURE__ */ Pt({
8942
8942
  color: "negative"
8943
8943
  }, H = {
8944
8944
  ...w,
8945
- ...D.addButton || {},
8945
+ ...q.addButton || {},
8946
8946
  ...F.addButton || {}
8947
8947
  }, I = {
8948
8948
  ...A,
8949
- ...D.removeButton || {},
8949
+ ...q.removeButton || {},
8950
8950
  ...F.removeButton || {}
8951
8951
  };
8952
8952
  return {
@@ -8956,25 +8956,25 @@ const tx = /* @__PURE__ */ Pt({
8956
8956
  showHeaders: B,
8957
8957
  keyLabel: P,
8958
8958
  valueLabel: R,
8959
- inferTypes: T
8959
+ inferTypes: D
8960
8960
  };
8961
8961
  }), m = b(() => {
8962
- const D = d.value.addButtonPosition;
8963
- return D === "top-left" || D === "top-right";
8962
+ const q = d.value.addButtonPosition;
8963
+ return q === "top-left" || q === "top-right";
8964
8964
  }), p = b(() => {
8965
- const D = d.value.addButtonPosition;
8966
- return D === "top-right" || D === "bottom-right";
8965
+ const q = d.value.addButtonPosition;
8966
+ return q === "top-right" || q === "bottom-right";
8967
8967
  }), g = b(() => d.value.addButtonPosition === "bottom-center");
8968
8968
  let y = 0;
8969
8969
  const k = G([]), v = G(!1);
8970
8970
  ye(
8971
8971
  () => n.value,
8972
- (D) => {
8972
+ (q) => {
8973
8973
  if (v.value) {
8974
8974
  v.value = !1;
8975
8975
  return;
8976
8976
  }
8977
- D && typeof D == "object" && !Array.isArray(D) ? k.value = Object.entries(D).map(([F, V]) => ({
8977
+ q && typeof q == "object" && !Array.isArray(q) ? k.value = Object.entries(q).map(([F, V]) => ({
8978
8978
  key: F,
8979
8979
  value: String(V),
8980
8980
  id: y++
@@ -8983,9 +8983,9 @@ const tx = /* @__PURE__ */ Pt({
8983
8983
  { immediate: !0 }
8984
8984
  ), ye(
8985
8985
  k,
8986
- (D) => {
8986
+ (q) => {
8987
8987
  const F = {};
8988
- D.forEach((V) => {
8988
+ q.forEach((V) => {
8989
8989
  V.key.trim() && (F[V.key] = d.value.inferTypes ? ex(V.value) : V.value);
8990
8990
  }), v.value = !0, r(F);
8991
8991
  },
@@ -8994,13 +8994,13 @@ const tx = /* @__PURE__ */ Pt({
8994
8994
  function x() {
8995
8995
  k.value.push({ key: "", value: "", id: y++ });
8996
8996
  }
8997
- function C(D) {
8998
- k.value = k.value.filter((F) => F.id !== D);
8997
+ function C(q) {
8998
+ k.value = k.value.filter((F) => F.id !== q);
8999
8999
  }
9000
9000
  const E = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, inputProps: c, fieldGap: h, formContext: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, isCenterPosition: g, get nextId() {
9001
9001
  return y;
9002
- }, set nextId(D) {
9003
- y = D;
9002
+ }, set nextId(q) {
9003
+ y = q;
9004
9004
  }, pairs: k, isInternalUpdate: v, addPair: x, removePair: C, get QInput() {
9005
9005
  return ar;
9006
9006
  }, get QBtn() {
@@ -15921,8 +15921,8 @@ class Qf {
15921
15921
  if ((this.contentDOMWidth != k || this.editorHeight != e.scrollDOM.clientHeight) && (this.contentDOMWidth = l.width, this.editorHeight = e.scrollDOM.clientHeight, u |= 16), a) {
15922
15922
  let x = e.docView.measureVisibleLineHeights(this.viewport);
15923
15923
  if (r.mustRefreshForHeights(x) && (s = !0), s || r.lineWrapping && Math.abs(k - this.contentDOMWidth) > r.charWidth) {
15924
- let { lineHeight: C, charWidth: E, textHeight: D } = e.docView.measureTextSize();
15925
- s = C > 0 && r.refresh(o, C, E, D, Math.max(5, k / E), x), s && (e.docView.minWidth = 0, u |= 16);
15924
+ let { lineHeight: C, charWidth: E, textHeight: q } = e.docView.measureTextSize();
15925
+ s = C > 0 && r.refresh(o, C, E, q, Math.max(5, k / E), x), s && (e.docView.minWidth = 0, u |= 16);
15926
15926
  }
15927
15927
  p > 0 && g > 0 ? c = Math.max(p, g) : p < 0 && g < 0 && (c = Math.min(p, g)), jf();
15928
15928
  for (let C of this.viewports) {
@@ -16032,8 +16032,8 @@ class Qf {
16032
16032
  E.from >= c.from && E.from < c.to && E.size != E.displaySize && E.from * this.heightOracle.charWidth + y < this.pixelViewport.left && (y = E.size - E.displaySize);
16033
16033
  let k = this.pixelViewport.left + y, v = this.pixelViewport.right + y, x, C;
16034
16034
  if (f != null) {
16035
- let E = ys(h, f), D = ((v - k) / 2 + g) / p;
16036
- x = E - D, C = E + D;
16035
+ let E = ys(h, f), q = ((v - k) / 2 + g) / p;
16036
+ x = E - q, C = E + q;
16037
16037
  } else
16038
16038
  x = (k - g) / p, C = (v + g) / p;
16039
16039
  d = vs(h, x), m = vs(h, C);
@@ -17800,43 +17800,43 @@ function mw(i, e, t) {
17800
17800
  if (p && (i.lineWrapping || d.widgetLineBreaks) && (p = $f(i, n, 1, p)), g && (i.lineWrapping || m.widgetLineBreaks) && (g = $f(i, r, -1, g)), p && g && p.from == g.from && p.to == g.to)
17801
17801
  return k(v(t.from, t.to, p));
17802
17802
  {
17803
- let C = p ? v(t.from, null, p) : x(d, !1), E = g ? v(null, t.to, g) : x(m, !0), D = [];
17804
- return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && C.bottom + i.defaultLineHeight / 2 < E.top ? D.push(y(h, C.bottom, f, E.top)) : C.bottom < E.top && i.elementAtHeight((C.bottom + E.top) / 2).type == ii.Text && (C.bottom = E.top = (C.bottom + E.top) / 2), k(C).concat(D).concat(k(E));
17803
+ let C = p ? v(t.from, null, p) : x(d, !1), E = g ? v(null, t.to, g) : x(m, !0), q = [];
17804
+ return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && C.bottom + i.defaultLineHeight / 2 < E.top ? q.push(y(h, C.bottom, f, E.top)) : C.bottom < E.top && i.elementAtHeight((C.bottom + E.top) / 2).type == ii.Text && (C.bottom = E.top = (C.bottom + E.top) / 2), k(C).concat(q).concat(k(E));
17805
17805
  }
17806
- function y(C, E, D, F) {
17807
- return new Go(e, C - a.left, E - a.top, D - C, F - E);
17806
+ function y(C, E, q, F) {
17807
+ return new Go(e, C - a.left, E - a.top, q - C, F - E);
17808
17808
  }
17809
- function k({ top: C, bottom: E, horizontal: D }) {
17809
+ function k({ top: C, bottom: E, horizontal: q }) {
17810
17810
  let F = [];
17811
- for (let V = 0; V < D.length; V += 2)
17812
- F.push(y(D[V], C, D[V + 1], E));
17811
+ for (let V = 0; V < q.length; V += 2)
17812
+ F.push(y(q[V], C, q[V + 1], E));
17813
17813
  return F;
17814
17814
  }
17815
- function v(C, E, D) {
17815
+ function v(C, E, q) {
17816
17816
  let F = 1e9, V = -1e9, B = [];
17817
17817
  function P(w, A, H, I, N) {
17818
- let K = i.coordsAtPos(w, w == D.to ? -2 : 2), Y = i.coordsAtPos(H, H == D.from ? 2 : -2);
17818
+ let K = i.coordsAtPos(w, w == q.to ? -2 : 2), Y = i.coordsAtPos(H, H == q.from ? 2 : -2);
17819
17819
  !K || !Y || (F = Math.min(K.top, Y.top, F), V = Math.max(K.bottom, Y.bottom, V), N == st.LTR ? B.push(o && A ? h : K.left, o && I ? f : Y.right) : B.push(!o && I ? h : Y.left, !o && A ? f : K.right));
17820
17820
  }
17821
- let R = C ?? D.from, T = E ?? D.to;
17821
+ let R = C ?? q.from, D = E ?? q.to;
17822
17822
  for (let w of i.visibleRanges)
17823
- if (w.to > R && w.from < T)
17824
- for (let A = Math.max(w.from, R), H = Math.min(w.to, T); ; ) {
17823
+ if (w.to > R && w.from < D)
17824
+ for (let A = Math.max(w.from, R), H = Math.min(w.to, D); ; ) {
17825
17825
  let I = i.state.doc.lineAt(A);
17826
17826
  for (let N of i.bidiSpans(I)) {
17827
17827
  let K = N.from + I.from, Y = N.to + I.from;
17828
17828
  if (K >= H)
17829
17829
  break;
17830
- Y > A && P(Math.max(K, A), C == null && K <= R, Math.min(Y, H), E == null && Y >= T, N.dir);
17830
+ Y > A && P(Math.max(K, A), C == null && K <= R, Math.min(Y, H), E == null && Y >= D, N.dir);
17831
17831
  }
17832
17832
  if (A = I.to + 1, A >= H)
17833
17833
  break;
17834
17834
  }
17835
- return B.length == 0 && P(R, C == null, T, E == null, i.textDirection), { top: F, bottom: V, horizontal: B };
17835
+ return B.length == 0 && P(R, C == null, D, E == null, i.textDirection), { top: F, bottom: V, horizontal: B };
17836
17836
  }
17837
17837
  function x(C, E) {
17838
- let D = l.top + (E ? C.top : C.bottom);
17839
- return { top: D, bottom: D, horizontal: [] };
17838
+ let q = l.top + (E ? C.top : C.bottom);
17839
+ return { top: q, bottom: q, horizontal: [] };
17840
17840
  }
17841
17841
  }
17842
17842
  function gw(i, e) {
@@ -18534,15 +18534,15 @@ const Ia = /* @__PURE__ */ de.define({
18534
18534
  }
18535
18535
  nd.set(u, g), c.style.height = (g = C) / o + "px";
18536
18536
  } else c.style.height && (c.style.height = "");
18537
- let E = x ? h.top - g - m - y.y : h.bottom + m + y.y, D = v + p;
18537
+ let E = x ? h.top - g - m - y.y : h.bottom + m + y.y, q = v + p;
18538
18538
  if (u.overlap !== !0)
18539
18539
  for (let F of s)
18540
- F.left < D && F.right > v && F.top < E + g && F.bottom > E && (E = x ? F.top - g - 2 - m : F.bottom + m + 2);
18540
+ F.left < q && F.right > v && F.top < E + g && F.bottom > E && (E = x ? F.top - g - 2 - m : F.bottom + m + 2);
18541
18541
  if (this.position == "absolute" ? (c.style.top = (E - i.parent.top) / o + "px", rd(c, (v - i.parent.left) / r)) : (c.style.top = E / o + "px", rd(c, v / r)), d) {
18542
18542
  let F = h.left + (k ? y.x : -y.x) - (v + 14 - 7);
18543
18543
  d.style.left = F / r + "px";
18544
18544
  }
18545
- u.overlap !== !0 && s.push({ left: v, top: E, right: D, bottom: E + g }), c.classList.toggle("cm-tooltip-above", x), c.classList.toggle("cm-tooltip-below", !x), u.positioned && u.positioned(i.space);
18545
+ u.overlap !== !0 && s.push({ left: v, top: E, right: q, bottom: E + g }), c.classList.toggle("cm-tooltip-above", x), c.classList.toggle("cm-tooltip-below", !x), u.positioned && u.positioned(i.space);
18546
18546
  }
18547
18547
  }
18548
18548
  maybeMeasure() {
@@ -20344,12 +20344,12 @@ function jc(i) {
20344
20344
  function vS(i) {
20345
20345
  var e;
20346
20346
  let { buffer: t, nodeSet: n, maxBufferLength: r = Qp, reused: o = [], minRepeatType: s = n.types.length } = i, l = Array.isArray(t) ? new zc(t, t.length) : t, a = n.types, u = 0, c = 0;
20347
- function h(C, E, D, F, V, B) {
20348
- let { id: P, start: R, end: T, size: w } = l, A = c, H = u;
20347
+ function h(C, E, q, F, V, B) {
20348
+ let { id: P, start: R, end: D, size: w } = l, A = c, H = u;
20349
20349
  if (w < 0)
20350
20350
  if (l.next(), w == -1) {
20351
20351
  let M = o[P];
20352
- D.push(M), F.push(R - C);
20352
+ q.push(M), F.push(R - C);
20353
20353
  return;
20354
20354
  } else if (w == -3) {
20355
20355
  u = P;
@@ -20360,62 +20360,62 @@ function vS(i) {
20360
20360
  } else
20361
20361
  throw new RangeError(`Unrecognized record size: ${w}`);
20362
20362
  let I = a[P], N, K, Y = R - C;
20363
- if (T - R <= r && (K = g(l.pos - E, V))) {
20364
- let M = new Uint16Array(K.size - K.skip), q = l.pos - K.size, j = M.length;
20365
- for (; l.pos > q; )
20366
- j = y(K.start, M, j);
20367
- N = new _n(M, T - K.start, n), Y = K.start - C;
20363
+ if (D - R <= r && (K = g(l.pos - E, V))) {
20364
+ let M = new Uint16Array(K.size - K.skip), T = l.pos - K.size, z = M.length;
20365
+ for (; l.pos > T; )
20366
+ z = y(K.start, M, z);
20367
+ N = new _n(M, D - K.start, n), Y = K.start - C;
20368
20368
  } else {
20369
20369
  let M = l.pos - w;
20370
20370
  l.next();
20371
- let q = [], j = [], J = P >= s ? P : -1, oe = 0, ce = T;
20371
+ let T = [], z = [], J = P >= s ? P : -1, oe = 0, ce = D;
20372
20372
  for (; l.pos > M; )
20373
- J >= 0 && l.id == J && l.size >= 0 ? (l.end <= ce - r && (m(q, j, R, oe, l.end, ce, J, A, H), oe = q.length, ce = l.end), l.next()) : B > 2500 ? f(R, M, q, j) : h(R, M, q, j, J, B + 1);
20374
- if (J >= 0 && oe > 0 && oe < q.length && m(q, j, R, oe, R, ce, J, A, H), q.reverse(), j.reverse(), J > -1 && oe > 0) {
20373
+ J >= 0 && l.id == J && l.size >= 0 ? (l.end <= ce - r && (m(T, z, R, oe, l.end, ce, J, A, H), oe = T.length, ce = l.end), l.next()) : B > 2500 ? f(R, M, T, z) : h(R, M, T, z, J, B + 1);
20374
+ if (J >= 0 && oe > 0 && oe < T.length && m(T, z, R, oe, R, ce, J, A, H), T.reverse(), z.reverse(), J > -1 && oe > 0) {
20375
20375
  let se = d(I, H);
20376
- N = Wc(I, q, j, 0, q.length, 0, T - R, se, se);
20376
+ N = Wc(I, T, z, 0, T.length, 0, D - R, se, se);
20377
20377
  } else
20378
- N = p(I, q, j, T - R, A - T, H);
20378
+ N = p(I, T, z, D - R, A - D, H);
20379
20379
  }
20380
- D.push(N), F.push(Y);
20380
+ q.push(N), F.push(Y);
20381
20381
  }
20382
- function f(C, E, D, F) {
20382
+ function f(C, E, q, F) {
20383
20383
  let V = [], B = 0, P = -1;
20384
20384
  for (; l.pos > E; ) {
20385
- let { id: R, start: T, end: w, size: A } = l;
20385
+ let { id: R, start: D, end: w, size: A } = l;
20386
20386
  if (A > 4)
20387
20387
  l.next();
20388
20388
  else {
20389
- if (P > -1 && T < P)
20389
+ if (P > -1 && D < P)
20390
20390
  break;
20391
- P < 0 && (P = w - r), V.push(R, T, w), B++, l.next();
20391
+ P < 0 && (P = w - r), V.push(R, D, w), B++, l.next();
20392
20392
  }
20393
20393
  }
20394
20394
  if (B) {
20395
- let R = new Uint16Array(B * 4), T = V[V.length - 2];
20395
+ let R = new Uint16Array(B * 4), D = V[V.length - 2];
20396
20396
  for (let w = V.length - 3, A = 0; w >= 0; w -= 3)
20397
- R[A++] = V[w], R[A++] = V[w + 1] - T, R[A++] = V[w + 2] - T, R[A++] = A;
20398
- D.push(new _n(R, V[2] - T, n)), F.push(T - C);
20397
+ R[A++] = V[w], R[A++] = V[w + 1] - D, R[A++] = V[w + 2] - D, R[A++] = A;
20398
+ q.push(new _n(R, V[2] - D, n)), F.push(D - C);
20399
20399
  }
20400
20400
  }
20401
20401
  function d(C, E) {
20402
- return (D, F, V) => {
20403
- let B = 0, P = D.length - 1, R, T;
20404
- if (P >= 0 && (R = D[P]) instanceof xt) {
20402
+ return (q, F, V) => {
20403
+ let B = 0, P = q.length - 1, R, D;
20404
+ if (P >= 0 && (R = q[P]) instanceof xt) {
20405
20405
  if (!P && R.type == C && R.length == V)
20406
20406
  return R;
20407
- (T = R.prop(Pe.lookAhead)) && (B = F[P] + R.length + T);
20407
+ (D = R.prop(Pe.lookAhead)) && (B = F[P] + R.length + D);
20408
20408
  }
20409
- return p(C, D, F, V, B, E);
20409
+ return p(C, q, F, V, B, E);
20410
20410
  };
20411
20411
  }
20412
- function m(C, E, D, F, V, B, P, R, T) {
20412
+ function m(C, E, q, F, V, B, P, R, D) {
20413
20413
  let w = [], A = [];
20414
20414
  for (; C.length > F; )
20415
- w.push(C.pop()), A.push(E.pop() + D - V);
20416
- C.push(p(n.types[P], w, A, B - V, R - B, T)), E.push(V - D);
20415
+ w.push(C.pop()), A.push(E.pop() + q - V);
20416
+ C.push(p(n.types[P], w, A, B - V, R - B, D)), E.push(V - q);
20417
20417
  }
20418
- function p(C, E, D, F, V, B, P) {
20418
+ function p(C, E, q, F, V, B, P) {
20419
20419
  if (B) {
20420
20420
  let R = [Pe.contextHash, B];
20421
20421
  P = P ? [R].concat(P) : [R];
@@ -20424,45 +20424,45 @@ function vS(i) {
20424
20424
  let R = [Pe.lookAhead, V];
20425
20425
  P = P ? [R].concat(P) : [R];
20426
20426
  }
20427
- return new xt(C, E, D, F, P);
20427
+ return new xt(C, E, q, F, P);
20428
20428
  }
20429
20429
  function g(C, E) {
20430
- let D = l.fork(), F = 0, V = 0, B = 0, P = D.end - r, R = { size: 0, start: 0, skip: 0 };
20431
- e: for (let T = D.pos - C; D.pos > T; ) {
20432
- let w = D.size;
20433
- if (D.id == E && w >= 0) {
20434
- R.size = F, R.start = V, R.skip = B, B += 4, F += 4, D.next();
20430
+ let q = l.fork(), F = 0, V = 0, B = 0, P = q.end - r, R = { size: 0, start: 0, skip: 0 };
20431
+ e: for (let D = q.pos - C; q.pos > D; ) {
20432
+ let w = q.size;
20433
+ if (q.id == E && w >= 0) {
20434
+ R.size = F, R.start = V, R.skip = B, B += 4, F += 4, q.next();
20435
20435
  continue;
20436
20436
  }
20437
- let A = D.pos - w;
20438
- if (w < 0 || A < T || D.start < P)
20437
+ let A = q.pos - w;
20438
+ if (w < 0 || A < D || q.start < P)
20439
20439
  break;
20440
- let H = D.id >= s ? 4 : 0, I = D.start;
20441
- for (D.next(); D.pos > A; ) {
20442
- if (D.size < 0)
20443
- if (D.size == -3)
20440
+ let H = q.id >= s ? 4 : 0, I = q.start;
20441
+ for (q.next(); q.pos > A; ) {
20442
+ if (q.size < 0)
20443
+ if (q.size == -3)
20444
20444
  H += 4;
20445
20445
  else
20446
20446
  break e;
20447
- else D.id >= s && (H += 4);
20448
- D.next();
20447
+ else q.id >= s && (H += 4);
20448
+ q.next();
20449
20449
  }
20450
20450
  V = I, F += w, B += H;
20451
20451
  }
20452
20452
  return (E < 0 || F == C) && (R.size = F, R.start = V, R.skip = B), R.size > 4 ? R : void 0;
20453
20453
  }
20454
- function y(C, E, D) {
20454
+ function y(C, E, q) {
20455
20455
  let { id: F, start: V, end: B, size: P } = l;
20456
20456
  if (l.next(), P >= 0 && F < s) {
20457
- let R = D;
20457
+ let R = q;
20458
20458
  if (P > 4) {
20459
- let T = l.pos - (P - 4);
20460
- for (; l.pos > T; )
20461
- D = y(C, E, D);
20459
+ let D = l.pos - (P - 4);
20460
+ for (; l.pos > D; )
20461
+ q = y(C, E, q);
20462
20462
  }
20463
- E[--D] = R, E[--D] = B - C, E[--D] = V - C, E[--D] = F;
20463
+ E[--q] = R, E[--q] = B - C, E[--q] = V - C, E[--q] = F;
20464
20464
  } else P == -3 ? u = F : P == -4 && (c = F);
20465
- return D;
20465
+ return q;
20466
20466
  }
20467
20467
  let k = [], v = [];
20468
20468
  for (; l.pos > 0; )
@@ -20500,21 +20500,21 @@ function Wc(i, e, t, n, r, o, s, l, a) {
20500
20500
  for (let v = g; v < y; ) {
20501
20501
  let x = v, C = p[v], E = Us(i, m[v]);
20502
20502
  for (v++; v < y; v++) {
20503
- let D = Us(i, m[v]);
20504
- if (E + D >= c)
20503
+ let q = Us(i, m[v]);
20504
+ if (E + q >= c)
20505
20505
  break;
20506
- E += D;
20506
+ E += q;
20507
20507
  }
20508
20508
  if (v == x + 1) {
20509
20509
  if (E > c) {
20510
- let D = m[x];
20511
- d(D.children, D.positions, 0, D.children.length, p[x] + k);
20510
+ let q = m[x];
20511
+ d(q.children, q.positions, 0, q.children.length, p[x] + k);
20512
20512
  continue;
20513
20513
  }
20514
20514
  h.push(m[x]);
20515
20515
  } else {
20516
- let D = p[v - 1] + m[v - 1].length - C;
20517
- h.push(Wc(i, m, p, x, v, C, D, null, a));
20516
+ let q = p[v - 1] + m[v - 1].length - C;
20517
+ h.push(Wc(i, m, p, x, v, C, q, null, a));
20518
20518
  }
20519
20519
  f.push(C + k - o);
20520
20520
  }
@@ -20860,7 +20860,7 @@ function AS(i) {
20860
20860
  e = e.next;
20861
20861
  return e || null;
20862
20862
  }
20863
- const ie = yi.define, Ms = ie(), pn = ie(), md = ie(pn), gd = ie(pn), vn = ie(), As = ie(vn), Ha = ie(vn), Vi = ie(), Hn = ie(Vi), Li = ie(), Ii = ie(), Gu = ie(), Zr = ie(Gu), Os = ie(), z = {
20863
+ const ie = yi.define, Ms = ie(), pn = ie(), md = ie(pn), gd = ie(pn), vn = ie(), As = ie(vn), Ha = ie(vn), Vi = ie(), Hn = ie(Vi), Li = ie(), Ii = ie(), Gu = ie(), Zr = ie(Gu), Os = ie(), j = {
20864
20864
  /**
20865
20865
  A comment.
20866
20866
  */
@@ -21226,41 +21226,41 @@ const ie = yi.define, Ms = ie(), pn = ie(), md = ie(pn), gd = ie(pn), vn = ie(),
21226
21226
  */
21227
21227
  special: yi.defineModifier("special")
21228
21228
  };
21229
- for (let i in z) {
21230
- let e = z[i];
21229
+ for (let i in j) {
21230
+ let e = j[i];
21231
21231
  e instanceof yi && (e.name = i);
21232
21232
  }
21233
21233
  $p([
21234
- { tag: z.link, class: "tok-link" },
21235
- { tag: z.heading, class: "tok-heading" },
21236
- { tag: z.emphasis, class: "tok-emphasis" },
21237
- { tag: z.strong, class: "tok-strong" },
21238
- { tag: z.keyword, class: "tok-keyword" },
21239
- { tag: z.atom, class: "tok-atom" },
21240
- { tag: z.bool, class: "tok-bool" },
21241
- { tag: z.url, class: "tok-url" },
21242
- { tag: z.labelName, class: "tok-labelName" },
21243
- { tag: z.inserted, class: "tok-inserted" },
21244
- { tag: z.deleted, class: "tok-deleted" },
21245
- { tag: z.literal, class: "tok-literal" },
21246
- { tag: z.string, class: "tok-string" },
21247
- { tag: z.number, class: "tok-number" },
21248
- { tag: [z.regexp, z.escape, z.special(z.string)], class: "tok-string2" },
21249
- { tag: z.variableName, class: "tok-variableName" },
21250
- { tag: z.local(z.variableName), class: "tok-variableName tok-local" },
21251
- { tag: z.definition(z.variableName), class: "tok-variableName tok-definition" },
21252
- { tag: z.special(z.variableName), class: "tok-variableName2" },
21253
- { tag: z.definition(z.propertyName), class: "tok-propertyName tok-definition" },
21254
- { tag: z.typeName, class: "tok-typeName" },
21255
- { tag: z.namespace, class: "tok-namespace" },
21256
- { tag: z.className, class: "tok-className" },
21257
- { tag: z.macroName, class: "tok-macroName" },
21258
- { tag: z.propertyName, class: "tok-propertyName" },
21259
- { tag: z.operator, class: "tok-operator" },
21260
- { tag: z.comment, class: "tok-comment" },
21261
- { tag: z.meta, class: "tok-meta" },
21262
- { tag: z.invalid, class: "tok-invalid" },
21263
- { tag: z.punctuation, class: "tok-punctuation" }
21234
+ { tag: j.link, class: "tok-link" },
21235
+ { tag: j.heading, class: "tok-heading" },
21236
+ { tag: j.emphasis, class: "tok-emphasis" },
21237
+ { tag: j.strong, class: "tok-strong" },
21238
+ { tag: j.keyword, class: "tok-keyword" },
21239
+ { tag: j.atom, class: "tok-atom" },
21240
+ { tag: j.bool, class: "tok-bool" },
21241
+ { tag: j.url, class: "tok-url" },
21242
+ { tag: j.labelName, class: "tok-labelName" },
21243
+ { tag: j.inserted, class: "tok-inserted" },
21244
+ { tag: j.deleted, class: "tok-deleted" },
21245
+ { tag: j.literal, class: "tok-literal" },
21246
+ { tag: j.string, class: "tok-string" },
21247
+ { tag: j.number, class: "tok-number" },
21248
+ { tag: [j.regexp, j.escape, j.special(j.string)], class: "tok-string2" },
21249
+ { tag: j.variableName, class: "tok-variableName" },
21250
+ { tag: j.local(j.variableName), class: "tok-variableName tok-local" },
21251
+ { tag: j.definition(j.variableName), class: "tok-variableName tok-definition" },
21252
+ { tag: j.special(j.variableName), class: "tok-variableName2" },
21253
+ { tag: j.definition(j.propertyName), class: "tok-propertyName tok-definition" },
21254
+ { tag: j.typeName, class: "tok-typeName" },
21255
+ { tag: j.namespace, class: "tok-namespace" },
21256
+ { tag: j.className, class: "tok-className" },
21257
+ { tag: j.macroName, class: "tok-macroName" },
21258
+ { tag: j.propertyName, class: "tok-propertyName" },
21259
+ { tag: j.operator, class: "tok-operator" },
21260
+ { tag: j.comment, class: "tok-comment" },
21261
+ { tag: j.meta, class: "tok-meta" },
21262
+ { tag: j.invalid, class: "tok-invalid" },
21263
+ { tag: j.punctuation, class: "tok-punctuation" }
21264
21264
  ]);
21265
21265
  var za;
21266
21266
  const wr = /* @__PURE__ */ new Pe();
@@ -22271,80 +22271,80 @@ const rC = /* @__PURE__ */ ur.high(/* @__PURE__ */ ft.fromClass(nC, {
22271
22271
  decorations: (i) => i.decorations
22272
22272
  })), oC = /* @__PURE__ */ Xo.define([
22273
22273
  {
22274
- tag: z.meta,
22274
+ tag: j.meta,
22275
22275
  color: "#404740"
22276
22276
  },
22277
22277
  {
22278
- tag: z.link,
22278
+ tag: j.link,
22279
22279
  textDecoration: "underline"
22280
22280
  },
22281
22281
  {
22282
- tag: z.heading,
22282
+ tag: j.heading,
22283
22283
  textDecoration: "underline",
22284
22284
  fontWeight: "bold"
22285
22285
  },
22286
22286
  {
22287
- tag: z.emphasis,
22287
+ tag: j.emphasis,
22288
22288
  fontStyle: "italic"
22289
22289
  },
22290
22290
  {
22291
- tag: z.strong,
22291
+ tag: j.strong,
22292
22292
  fontWeight: "bold"
22293
22293
  },
22294
22294
  {
22295
- tag: z.strikethrough,
22295
+ tag: j.strikethrough,
22296
22296
  textDecoration: "line-through"
22297
22297
  },
22298
22298
  {
22299
- tag: z.keyword,
22299
+ tag: j.keyword,
22300
22300
  color: "#708"
22301
22301
  },
22302
22302
  {
22303
- tag: [z.atom, z.bool, z.url, z.contentSeparator, z.labelName],
22303
+ tag: [j.atom, j.bool, j.url, j.contentSeparator, j.labelName],
22304
22304
  color: "#219"
22305
22305
  },
22306
22306
  {
22307
- tag: [z.literal, z.inserted],
22307
+ tag: [j.literal, j.inserted],
22308
22308
  color: "#164"
22309
22309
  },
22310
22310
  {
22311
- tag: [z.string, z.deleted],
22311
+ tag: [j.string, j.deleted],
22312
22312
  color: "#a11"
22313
22313
  },
22314
22314
  {
22315
- tag: [z.regexp, z.escape, /* @__PURE__ */ z.special(z.string)],
22315
+ tag: [j.regexp, j.escape, /* @__PURE__ */ j.special(j.string)],
22316
22316
  color: "#e40"
22317
22317
  },
22318
22318
  {
22319
- tag: /* @__PURE__ */ z.definition(z.variableName),
22319
+ tag: /* @__PURE__ */ j.definition(j.variableName),
22320
22320
  color: "#00f"
22321
22321
  },
22322
22322
  {
22323
- tag: /* @__PURE__ */ z.local(z.variableName),
22323
+ tag: /* @__PURE__ */ j.local(j.variableName),
22324
22324
  color: "#30a"
22325
22325
  },
22326
22326
  {
22327
- tag: [z.typeName, z.namespace],
22327
+ tag: [j.typeName, j.namespace],
22328
22328
  color: "#085"
22329
22329
  },
22330
22330
  {
22331
- tag: z.className,
22331
+ tag: j.className,
22332
22332
  color: "#167"
22333
22333
  },
22334
22334
  {
22335
- tag: [/* @__PURE__ */ z.special(z.variableName), z.macroName],
22335
+ tag: [/* @__PURE__ */ j.special(j.variableName), j.macroName],
22336
22336
  color: "#256"
22337
22337
  },
22338
22338
  {
22339
- tag: /* @__PURE__ */ z.definition(z.propertyName),
22339
+ tag: /* @__PURE__ */ j.definition(j.propertyName),
22340
22340
  color: "#00c"
22341
22341
  },
22342
22342
  {
22343
- tag: z.comment,
22343
+ tag: j.comment,
22344
22344
  color: "#940"
22345
22345
  },
22346
22346
  {
22347
- tag: z.invalid,
22347
+ tag: j.invalid,
22348
22348
  color: "#f00"
22349
22349
  }
22350
22350
  ]), sC = /* @__PURE__ */ ue.baseTheme({
@@ -22489,7 +22489,7 @@ function yC(i, e) {
22489
22489
  for (let l of e.split(" ")) {
22490
22490
  let a = [];
22491
22491
  for (let u of l.split(".")) {
22492
- let c = i[u] || z[u];
22492
+ let c = i[u] || j[u];
22493
22493
  c ? typeof c == "function" ? a.length ? a = a.map(c) : Ua(u, `Modifier ${u} used at start of tag`) : a.length ? Ua(u, `Tag ${u} used as modifier`) : a = Array.isArray(c) ? c : [c] : Ua(u, `Unknown highlighting tag ${u}`);
22494
22494
  }
22495
22495
  for (let u of a)
@@ -24277,8 +24277,8 @@ class cA {
24277
24277
  for (let k = 0, v = Math.min(e.length, 200), x = 0; k < v && h < a; ) {
24278
24278
  let C = ri(e, k);
24279
24279
  l < 0 && (c < a && C == t[c] && (o[c++] = k), d < a && (C == t[d] || C == n[d] ? (d == 0 && (m = k), p = k + 1, d++) : d = 0));
24280
- let E, D = C < 255 ? C >= 48 && C <= 57 || C >= 97 && C <= 122 ? 2 : C >= 65 && C <= 90 ? 1 : 0 : (E = Oc(C)) != E.toLowerCase() ? 1 : E != E.toUpperCase() ? 2 : 0;
24281
- (!k || D == 1 && g || x == 0 && D != 0) && (t[h] == C || n[h] == C && (f = !0) ? s[h++] = k : s.length && (y = !1)), x = D, k += Ni(C);
24280
+ let E, q = C < 255 ? C >= 48 && C <= 57 || C >= 97 && C <= 122 ? 2 : C >= 65 && C <= 90 ? 1 : 0 : (E = Oc(C)) != E.toLowerCase() ? 1 : E != E.toUpperCase() ? 2 : 0;
24281
+ (!k || q == 1 && g || x == 0 && q != 0) && (t[h] == C || n[h] == C && (f = !0) ? s[h++] = k : s.length && (y = !1)), x = q, k += Ni(C);
24282
24282
  }
24283
24283
  return h == a && s[0] == 0 && y ? this.result(-100 + (f ? -200 : 0), s, e) : d == a && m == 0 ? this.ret(-200 - e.length + (p == e.length ? 0 : -100), [0, p]) : l > -1 ? this.ret(-700 - e.length, [l, l + this.pattern.length]) : d == a ? this.ret(-900 - e.length, [m, p]) : h == a ? this.result(-100 + (f ? -200 : 0) + -700 + (y ? 0 : -1100), s, e) : t.length == 2 ? null : this.result((r[0] ? -700 : 0) + -200 + -1100, r, e);
24284
24284
  }
@@ -27335,14 +27335,14 @@ function em(i) {
27335
27335
  return i.get;
27336
27336
  }
27337
27337
  const DO = Jp({
27338
- String: z.string,
27339
- Number: z.number,
27340
- "True False": z.bool,
27341
- PropertyName: z.propertyName,
27342
- Null: z.null,
27343
- ", :": z.separator,
27344
- "[ ]": z.squareBracket,
27345
- "{ }": z.brace
27338
+ String: j.string,
27339
+ Number: j.number,
27340
+ "True False": j.bool,
27341
+ PropertyName: j.propertyName,
27342
+ Null: j.null,
27343
+ ", :": j.separator,
27344
+ "[ ]": j.squareBracket,
27345
+ "{ }": j.brace
27346
27346
  }), qO = _l.deserialize({
27347
27347
  version: 14,
27348
27348
  states: "$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",
@@ -27461,69 +27461,69 @@ const EO = "#e5c07b", tm = "#e06c75", LO = "#56b6c2", IO = "#ffffff", Gs = "#abb
27461
27461
  }
27462
27462
  }, { dark: !0 }), WO = /* @__PURE__ */ Xo.define([
27463
27463
  {
27464
- tag: z.keyword,
27464
+ tag: j.keyword,
27465
27465
  color: NO
27466
27466
  },
27467
27467
  {
27468
- tag: [z.name, z.deleted, z.character, z.propertyName, z.macroName],
27468
+ tag: [j.name, j.deleted, j.character, j.propertyName, j.macroName],
27469
27469
  color: tm
27470
27470
  },
27471
27471
  {
27472
- tag: [/* @__PURE__ */ z.function(z.variableName), z.labelName],
27472
+ tag: [/* @__PURE__ */ j.function(j.variableName), j.labelName],
27473
27473
  color: VO
27474
27474
  },
27475
27475
  {
27476
- tag: [z.color, /* @__PURE__ */ z.constant(z.name), /* @__PURE__ */ z.standard(z.name)],
27476
+ tag: [j.color, /* @__PURE__ */ j.constant(j.name), /* @__PURE__ */ j.standard(j.name)],
27477
27477
  color: im
27478
27478
  },
27479
27479
  {
27480
- tag: [/* @__PURE__ */ z.definition(z.name), z.separator],
27480
+ tag: [/* @__PURE__ */ j.definition(j.name), j.separator],
27481
27481
  color: Gs
27482
27482
  },
27483
27483
  {
27484
- tag: [z.typeName, z.className, z.number, z.changed, z.annotation, z.modifier, z.self, z.namespace],
27484
+ tag: [j.typeName, j.className, j.number, j.changed, j.annotation, j.modifier, j.self, j.namespace],
27485
27485
  color: EO
27486
27486
  },
27487
27487
  {
27488
- tag: [z.operator, z.operatorKeyword, z.url, z.escape, z.regexp, z.link, /* @__PURE__ */ z.special(z.string)],
27488
+ tag: [j.operator, j.operatorKeyword, j.url, j.escape, j.regexp, j.link, /* @__PURE__ */ j.special(j.string)],
27489
27489
  color: LO
27490
27490
  },
27491
27491
  {
27492
- tag: [z.meta, z.comment],
27492
+ tag: [j.meta, j.comment],
27493
27493
  color: sc
27494
27494
  },
27495
27495
  {
27496
- tag: z.strong,
27496
+ tag: j.strong,
27497
27497
  fontWeight: "bold"
27498
27498
  },
27499
27499
  {
27500
- tag: z.emphasis,
27500
+ tag: j.emphasis,
27501
27501
  fontStyle: "italic"
27502
27502
  },
27503
27503
  {
27504
- tag: z.strikethrough,
27504
+ tag: j.strikethrough,
27505
27505
  textDecoration: "line-through"
27506
27506
  },
27507
27507
  {
27508
- tag: z.link,
27508
+ tag: j.link,
27509
27509
  color: sc,
27510
27510
  textDecoration: "underline"
27511
27511
  },
27512
27512
  {
27513
- tag: z.heading,
27513
+ tag: j.heading,
27514
27514
  fontWeight: "bold",
27515
27515
  color: tm
27516
27516
  },
27517
27517
  {
27518
- tag: [z.atom, z.bool, /* @__PURE__ */ z.special(z.variableName)],
27518
+ tag: [j.atom, j.bool, /* @__PURE__ */ j.special(j.variableName)],
27519
27519
  color: im
27520
27520
  },
27521
27521
  {
27522
- tag: [z.processingInstruction, z.string, z.inserted],
27522
+ tag: [j.processingInstruction, j.string, j.inserted],
27523
27523
  color: FO
27524
27524
  },
27525
27525
  {
27526
- tag: z.invalid,
27526
+ tag: j.invalid,
27527
27527
  color: IO
27528
27528
  }
27529
27529
  ]), QO = [jO, /* @__PURE__ */ hv(WO)], UO = /* @__PURE__ */ Pt({
@@ -27555,10 +27555,10 @@ const EO = "#e5c07b", tm = "#e06c75", LO = "#56b6c2", IO = "#ffffff", Gs = "#abb
27555
27555
  }), f = fx(), d = G(""), m = G(null), p = G(!0);
27556
27556
  ye(
27557
27557
  () => n.value,
27558
- (T) => {
27558
+ (D) => {
27559
27559
  if (p.value) {
27560
27560
  try {
27561
- d.value = JSON.stringify(T || {}, null, 2), m.value = null;
27561
+ d.value = JSON.stringify(D || {}, null, 2), m.value = null;
27562
27562
  } catch {
27563
27563
  d.value = "{}";
27564
27564
  }
@@ -27569,16 +27569,16 @@ const EO = "#e5c07b", tm = "#e06c75", LO = "#56b6c2", IO = "#ffffff", Gs = "#abb
27569
27569
  );
27570
27570
  const g = b(() => {
27571
27571
  var A, H;
27572
- const T = t.schema["x-json-height"];
27573
- if (T)
27574
- return T;
27572
+ const D = t.schema["x-json-height"];
27573
+ if (D)
27574
+ return D;
27575
27575
  const w = (H = (A = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : A.jsoneditor) == null ? void 0 : H.height;
27576
27576
  return w || "300px";
27577
27577
  }), y = b(() => {
27578
27578
  var A, H;
27579
- const T = t.schema["x-json-dark-theme"];
27580
- if (T !== void 0)
27581
- return console.log("[JSON Editor] Using darkTheme from schema:", T), T === !0;
27579
+ const D = t.schema["x-json-dark-theme"];
27580
+ if (D !== void 0)
27581
+ return console.log("[JSON Editor] Using darkTheme from schema:", D), D === !0;
27582
27582
  const w = (H = (A = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : A.jsoneditor) == null ? void 0 : H.darkTheme;
27583
27583
  if (w !== void 0)
27584
27584
  return console.log(
@@ -27591,15 +27591,15 @@ const EO = "#e5c07b", tm = "#e06c75", LO = "#56b6c2", IO = "#ffffff", Gs = "#abb
27591
27591
  }
27592
27592
  return console.log("[JSON Editor] Using default darkTheme: false"), !1;
27593
27593
  });
27594
- function k(T) {
27595
- const w = T.state.doc.toString(), A = T.state.selection.main.head;
27594
+ function k(D) {
27595
+ const w = D.state.doc.toString(), A = D.state.selection.main.head;
27596
27596
  try {
27597
27597
  const H = JSON.parse(w), I = JSON.stringify(H, null, 2), N = w.length > 0 ? A / w.length : 0, K = Math.min(
27598
27598
  Math.round(N * I.length),
27599
27599
  I.length
27600
27600
  );
27601
- return T.dispatch({
27602
- changes: { from: 0, to: T.state.doc.length, insert: I },
27601
+ return D.dispatch({
27602
+ changes: { from: 0, to: D.state.doc.length, insert: I },
27603
27603
  selection: { anchor: K }
27604
27604
  }), m.value = null, !0;
27605
27605
  } catch {
@@ -27608,67 +27608,67 @@ const EO = "#e5c07b", tm = "#e06c75", LO = "#56b6c2", IO = "#ffffff", Gs = "#abb
27608
27608
  }
27609
27609
  const v = b(() => {
27610
27610
  var w, A;
27611
- const T = t.schema["x-json-line-numbers"];
27612
- return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.lineNumbers) ?? !1;
27611
+ const D = t.schema["x-json-line-numbers"];
27612
+ return D !== void 0 ? D : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.lineNumbers) ?? !1;
27613
27613
  }), x = b(() => {
27614
27614
  var w, A;
27615
- const T = t.schema["x-json-lint-gutter"];
27616
- return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.lintGutter) ?? !1;
27615
+ const D = t.schema["x-json-lint-gutter"];
27616
+ return D !== void 0 ? D : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.lintGutter) ?? !1;
27617
27617
  }), C = b(() => {
27618
27618
  var w, A;
27619
- const T = t.schema["x-json-tab-size"];
27620
- return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.tabSize) ?? 2;
27619
+ const D = t.schema["x-json-tab-size"];
27620
+ return D !== void 0 ? D : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.tabSize) ?? 2;
27621
27621
  }), E = b(() => {
27622
27622
  var w, A;
27623
- const T = t.schema["x-json-indent-with-tab"];
27624
- return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.indentWithTab) ?? !0;
27625
- }), D = b(() => {
27623
+ const D = t.schema["x-json-indent-with-tab"];
27624
+ return D !== void 0 ? D : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.indentWithTab) ?? !0;
27625
+ }), q = b(() => {
27626
27626
  var w, A;
27627
- const T = t.schema["x-json-format-key"];
27628
- return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.formatKey) ?? "Ctrl-.";
27627
+ const D = t.schema["x-json-format-key"];
27628
+ return D !== void 0 ? D : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.formatKey) ?? "Ctrl-.";
27629
27629
  }), F = b(() => {
27630
27630
  console.log("[JSON Editor] Building extensions:", {
27631
27631
  showLineNumbers: v.value,
27632
27632
  showLintGutter: x.value,
27633
27633
  useDarkTheme: y.value
27634
27634
  });
27635
- const T = [
27635
+ const D = [
27636
27636
  RO(),
27637
27637
  // Add keyboard shortcut for formatting
27638
27638
  Yo.of([
27639
27639
  {
27640
- key: D.value,
27640
+ key: q.value,
27641
27641
  run: k
27642
27642
  }
27643
27643
  ])
27644
27644
  ];
27645
- return v.value ? (console.log("[JSON Editor] Adding lineNumbers extension"), T.push(Wp())) : (console.log("[JSON Editor] Hiding gutters and line numbers"), T.push(
27645
+ return v.value ? (console.log("[JSON Editor] Adding lineNumbers extension"), D.push(Wp())) : (console.log("[JSON Editor] Hiding gutters and line numbers"), D.push(
27646
27646
  ue.theme({
27647
27647
  ".cm-gutters": {
27648
27648
  display: "none !important"
27649
27649
  }
27650
27650
  })
27651
- )), x.value && (T.push(eO(PO())), T.push(uO())), y.value ? (console.log("[JSON Editor] Adding oneDark theme"), T.push(QO)) : console.log("[JSON Editor] NOT adding oneDark theme"), console.log("[JSON Editor] Final extensions count:", T.length), T;
27651
+ )), x.value && (D.push(eO(PO())), D.push(uO())), y.value ? (console.log("[JSON Editor] Adding oneDark theme"), D.push(QO)) : console.log("[JSON Editor] NOT adding oneDark theme"), console.log("[JSON Editor] Final extensions count:", D.length), D;
27652
27652
  }), V = b(() => m.value || l.value), B = b(
27653
- () => `${v.value}-${x.value}-${y.value}-${D.value}`
27653
+ () => `${v.value}-${x.value}-${y.value}-${q.value}`
27654
27654
  );
27655
27655
  ye(B, () => {
27656
27656
  console.log("[JSON Editor] editorKey changed, forcing remount");
27657
- const T = d.value;
27657
+ const D = d.value;
27658
27658
  d.value = "", rt(() => {
27659
- d.value = T;
27659
+ d.value = D;
27660
27660
  });
27661
27661
  });
27662
- function P(T, w) {
27662
+ function P(D, w) {
27663
27663
  if (!p.value)
27664
27664
  try {
27665
- const A = JSON.parse(T);
27665
+ const A = JSON.parse(D);
27666
27666
  r(A), m.value = null;
27667
27667
  } catch (A) {
27668
27668
  m.value = A.message;
27669
27669
  }
27670
27670
  }
27671
- const R = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: f, code: d, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: y, formatJSON: k, showLineNumbers: v, showLintGutter: x, tabSize: C, indentWithTab: E, formatKey: D, extensions: F, displayError: V, editorKey: B, handleChange: P, get Codemirror() {
27671
+ const R = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: f, code: d, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: y, formatJSON: k, showLineNumbers: v, showLintGutter: x, tabSize: C, indentWithTab: E, formatKey: q, extensions: F, displayError: V, editorKey: B, handleChange: P, get Codemirror() {
27672
27672
  return bO;
27673
27673
  } };
27674
27674
  return Object.defineProperty(R, "__isScriptSetup", { enumerable: !1, value: !0 }), R;
@@ -27801,9 +27801,9 @@ const sm = /* @__PURE__ */ Ut(UO, [["render", eT], ["__file", "/Users/zachsherbo
27801
27801
  useInput: x,
27802
27802
  fillInput: C,
27803
27803
  hideSelected: E,
27804
- ...D
27804
+ ...q
27805
27805
  } = y;
27806
- return D;
27806
+ return q;
27807
27807
  }), f = b(() => {
27808
27808
  var x;
27809
27809
  const y = t.schema.items;
@@ -28010,7 +28010,7 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28010
28010
  },
28011
28011
  setup(i, { slots: e, emit: t }) {
28012
28012
  const { proxy: n } = je(), { $q: r } = n, { registerTick: o } = Mr(), { registerTick: s } = Mr(), { registerTick: l } = Mr(), { registerTimeout: a, removeTimeout: u } = ko(), { registerTimeout: c, removeTimeout: h } = ko(), f = G(null), d = G(null), m = G(i.modelValue), p = G(!1), g = G(!0), y = G(!1), k = G(!1), v = [], x = G(0), C = G(!1);
28013
- let E = null, D = null, F;
28013
+ let E = null, q = null, F;
28014
28014
  const V = b(() => ({
28015
28015
  activeClass: i.activeClass,
28016
28016
  activeColor: i.activeColor,
@@ -28031,10 +28031,10 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28031
28031
  return !1;
28032
28032
  }), P = b(() => `q-tabs__content--align-${p.value === !0 ? "left" : k.value === !0 ? "justify" : i.align}`), R = b(
28033
28033
  () => `q-tabs row no-wrap items-center q-tabs--${p.value === !0 ? "" : "not-"}scrollable q-tabs--${i.vertical === !0 ? "vertical" : "horizontal"} q-tabs__arrows--${i.outsideArrows === !0 ? "outside" : "inside"} q-tabs--mobile-with${i.mobileArrows === !0 ? "" : "out"}-arrows` + (i.dense === !0 ? " q-tabs--dense" : "") + (i.shrink === !0 ? " col-shrink" : "") + (i.stretch === !0 ? " self-stretch" : "")
28034
- ), T = b(
28034
+ ), D = b(
28035
28035
  () => "q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position " + P.value + (i.contentClass !== void 0 ? ` ${i.contentClass}` : "")
28036
28036
  ), w = b(() => i.vertical === !0 ? { container: "height", content: "offsetHeight", scroll: "scrollHeight" } : { container: "width", content: "offsetWidth", scroll: "scrollWidth" }), A = b(() => i.vertical !== !0 && r.lang.rtl === !0), H = b(() => wo === !1 && A.value === !0);
28037
- ye(A, q), ye(() => i.modelValue, (X) => {
28037
+ ye(A, T), ye(() => i.modelValue, (X) => {
28038
28038
  I({ name: X, setCurrent: !0, skipEmit: !0 });
28039
28039
  }), ye(() => i.outsideArrows, N);
28040
28040
  function I({ name: X, setCurrent: ve, skipEmit: we }) {
@@ -28058,7 +28058,7 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28058
28058
  0
28059
28059
  )
28060
28060
  ), Ue = ve > 0 && we > ve;
28061
- p.value = Ue, Ue === !0 && s(q), k.value = ve < parseInt(i.breakpoint, 10);
28061
+ p.value = Ue, Ue === !0 && s(T), k.value = ve < parseInt(i.breakpoint, 10);
28062
28062
  }
28063
28063
  function Y(X, ve) {
28064
28064
  const we = X != null && X !== "" ? v.find((ze) => ze.name.value === X) : null, Ue = ve != null && ve !== "" ? v.find((ze) => ze.name.value === ve) : null;
@@ -28080,30 +28080,30 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28080
28080
  const { left: ve, width: we, top: Ue, height: ze } = d.value.getBoundingClientRect(), Oe = X.getBoundingClientRect();
28081
28081
  let qe = i.vertical === !0 ? Oe.top - Ue : Oe.left - ve;
28082
28082
  if (qe < 0) {
28083
- d.value[i.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.floor(qe), q();
28083
+ d.value[i.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.floor(qe), T();
28084
28084
  return;
28085
28085
  }
28086
- qe += i.vertical === !0 ? Oe.height - ze : Oe.width - we, qe > 0 && (d.value[i.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.ceil(qe), q());
28086
+ qe += i.vertical === !0 ? Oe.height - ze : Oe.width - we, qe > 0 && (d.value[i.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.ceil(qe), T());
28087
28087
  }
28088
- function q() {
28088
+ function T() {
28089
28089
  const X = d.value;
28090
28090
  if (X === null) return;
28091
28091
  const ve = X.getBoundingClientRect(), we = i.vertical === !0 ? X.scrollTop : Math.abs(X.scrollLeft);
28092
28092
  A.value === !0 ? (g.value = Math.ceil(we + ve.width) < X.scrollWidth - 1, y.value = we > 0) : (g.value = we > 0, y.value = i.vertical === !0 ? Math.ceil(we + ve.height) < X.scrollHeight : Math.ceil(we + ve.width) < X.scrollWidth);
28093
28093
  }
28094
- function j(X) {
28095
- D !== null && clearInterval(D), D = setInterval(() => {
28094
+ function z(X) {
28095
+ q !== null && clearInterval(q), q = setInterval(() => {
28096
28096
  ee(X) === !0 && ce();
28097
28097
  }, 5);
28098
28098
  }
28099
28099
  function J() {
28100
- j(H.value === !0 ? Number.MAX_SAFE_INTEGER : 0);
28100
+ z(H.value === !0 ? Number.MAX_SAFE_INTEGER : 0);
28101
28101
  }
28102
28102
  function oe() {
28103
- j(H.value === !0 ? 0 : Number.MAX_SAFE_INTEGER);
28103
+ z(H.value === !0 ? 0 : Number.MAX_SAFE_INTEGER);
28104
28104
  }
28105
28105
  function ce() {
28106
- D !== null && (clearInterval(D), D = null);
28106
+ q !== null && (clearInterval(q), q = null);
28107
28107
  }
28108
28108
  function se(X, ve) {
28109
28109
  const we = Array.prototype.filter.call(
@@ -28132,7 +28132,7 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28132
28132
  const ve = d.value, { get: we, set: Ue } = Be.value;
28133
28133
  let ze = !1, Oe = we(ve);
28134
28134
  const qe = X < Oe ? -1 : 1;
28135
- return Oe += qe * 5, Oe < 0 ? (ze = !0, Oe = 0) : (qe === -1 && Oe <= X || qe === 1 && Oe >= X) && (ze = !0, Oe = X), Ue(ve, Oe), q(), ze;
28135
+ return Oe += qe * 5, Oe < 0 ? (ze = !0, Oe = 0) : (qe === -1 && Oe <= X || qe === 1 && Oe >= X) && (ze = !0, Oe = X), Ue(ve, Oe), T(), ze;
28136
28136
  }
28137
28137
  function et(X, ve) {
28138
28138
  for (const we in X)
@@ -28246,8 +28246,8 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28246
28246
  O(oT, { onResize: K }),
28247
28247
  O("div", {
28248
28248
  ref: d,
28249
- class: T.value,
28250
- onScroll: q
28249
+ class: D.value,
28250
+ onScroll: T
28251
28251
  }, qt(e.default)),
28252
28252
  O(kt, {
28253
28253
  class: "q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon" + (g.value === !0 ? "" : " q-tabs__arrow--faded"),
@@ -28423,8 +28423,10 @@ const dT = Je({
28423
28423
  d.value = w;
28424
28424
  const A = f.value[w];
28425
28425
  if (A && A.properties) {
28426
- const H = n.value && typeof n.value == "object" ? n.value : {}, I = Is.getDefaultValue(A) || {}, N = m(A), K = { ...I, ...H, ...N };
28427
- Object.keys(K).some((M) => !(M in H)) && r && r(K, !1);
28426
+ const H = n.value && typeof n.value == "object" ? n.value : {}, I = Is.getDefaultValue(A) || {}, N = m(A), K = { ...I, ...H, ...N }, Y = Object.keys(K).some((T) => !(T in H)), M = Object.entries(N).some(
28427
+ ([T, z]) => H[T] !== z
28428
+ );
28429
+ (Y || M) && r && r(K, !1);
28428
28430
  }
28429
28431
  });
28430
28432
  const p = b(() => f.value[d.value]), g = b(() => {
@@ -28480,16 +28482,16 @@ const dT = Je({
28480
28482
  return w[H];
28481
28483
  }
28482
28484
  return null;
28483
- }), D = b(() => f.value.map((w, A) => ({
28485
+ }), q = b(() => f.value.map((w, A) => ({
28484
28486
  label: C(w, A),
28485
28487
  value: A
28486
28488
  }))), F = b(() => {
28487
28489
  var A, H;
28488
28490
  const w = t.schema["x-oneof-select-label"];
28489
28491
  return w || ((H = (A = c == null ? void 0 : c.componentDefaults) == null ? void 0 : A.oneOf) == null ? void 0 : H.selectLabel) || "Select Option";
28490
- }), V = G(D.value);
28492
+ }), V = G(q.value);
28491
28493
  ye(
28492
- D,
28494
+ q,
28493
28495
  (w) => {
28494
28496
  V.value = w;
28495
28497
  },
@@ -28499,13 +28501,13 @@ const dT = Je({
28499
28501
  var A, H;
28500
28502
  const w = t.schema["x-component-props"];
28501
28503
  return (w == null ? void 0 : w.autocomplete) !== void 0 ? w.autocomplete : ((H = (A = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : A.select) == null ? void 0 : H.autocomplete) !== void 0 ? c.quickformsDefaults.select.autocomplete : !0;
28502
- }), T = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, extractConstValues: m, activeSchema: p, activeProperties: g, shouldRenderPropertiesInline: y, displayStyle: k, discriminatorField: v, getDiscriminatorValue: x, getOptionLabel: C, activeOptionDescription: E, allSelectOptions: D, selectLabel: F, filteredOptions: V, useFilter: B, filterFn: (w, A) => {
28504
+ }), D = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, extractConstValues: m, activeSchema: p, activeProperties: g, shouldRenderPropertiesInline: y, displayStyle: k, discriminatorField: v, getDiscriminatorValue: x, getOptionLabel: C, activeOptionDescription: E, allSelectOptions: q, selectLabel: F, filteredOptions: V, useFilter: B, filterFn: (w, A) => {
28503
28505
  A(() => {
28504
28506
  if (w === "")
28505
- V.value = D.value;
28507
+ V.value = q.value;
28506
28508
  else {
28507
28509
  const H = w.toLowerCase();
28508
- V.value = D.value.filter(
28510
+ V.value = q.value.filter(
28509
28511
  (I) => I.label.toLowerCase().includes(H)
28510
28512
  );
28511
28513
  }
@@ -28530,7 +28532,7 @@ const dT = Je({
28530
28532
  }, get FieldRenderer() {
28531
28533
  return Rl;
28532
28534
  } };
28533
- return Object.defineProperty(T, "__isScriptSetup", { enumerable: !1, value: !0 }), T;
28535
+ return Object.defineProperty(D, "__isScriptSetup", { enumerable: !1, value: !0 }), D;
28534
28536
  }
28535
28537
  }), gT = {
28536
28538
  key: 0,
@@ -29013,8 +29015,8 @@ const RT = /* @__PURE__ */ Pt({
29013
29015
  } = Qt(t.path, t.schema, {
29014
29016
  label: t.label
29015
29017
  }), h = Bm(), f = b(() => h == null ? void 0 : h.quickformsDefaults), d = b(() => {
29016
- var q, j;
29017
- const Y = t.schema["x-use-template-syntax"], M = (j = (q = f.value) == null ? void 0 : q.jsonlogicbuilder) == null ? void 0 : j.useTemplateSyntax;
29018
+ var T, z;
29019
+ const Y = t.schema["x-use-template-syntax"], M = (z = (T = f.value) == null ? void 0 : T.jsonlogicbuilder) == null ? void 0 : z.useTemplateSyntax;
29018
29020
  return Y ?? M ?? !1;
29019
29021
  }), m = G(fm()), p = G(!1), g = G(""), y = G(null), k = G(!1);
29020
29022
  ye(
@@ -29044,10 +29046,10 @@ const RT = /* @__PURE__ */ Pt({
29044
29046
  Y.push(BT()), v();
29045
29047
  }
29046
29048
  function E(Y, M) {
29047
- const q = Y.findIndex((j) => j.id === M);
29048
- q !== -1 && (Y.splice(q, 1), v());
29049
+ const T = Y.findIndex((z) => z.id === M);
29050
+ T !== -1 && (Y.splice(T, 1), v());
29049
29051
  }
29050
- function D(Y, M) {
29052
+ function q(Y, M) {
29051
29053
  Y.left = M, v();
29052
29054
  }
29053
29055
  function F(Y, M) {
@@ -29085,40 +29087,40 @@ const RT = /* @__PURE__ */ Pt({
29085
29087
  y.value = M.message;
29086
29088
  }
29087
29089
  }
29088
- const T = b(() => {
29089
- var q, j;
29090
- const Y = t.schema["x-operator-display"], M = (j = (q = f.value) == null ? void 0 : q.jsonlogicbuilder) == null ? void 0 : j.operatorDisplayMode;
29090
+ const D = b(() => {
29091
+ var T, z;
29092
+ const Y = t.schema["x-operator-display"], M = (z = (T = f.value) == null ? void 0 : T.jsonlogicbuilder) == null ? void 0 : z.operatorDisplayMode;
29091
29093
  return Y || M || "short";
29092
29094
  }), w = b(() => {
29093
- var q, j;
29094
- const Y = t.schema["x-allowed-operators"], M = (j = (q = f.value) == null ? void 0 : q.jsonlogicbuilder) == null ? void 0 : j.allowedOperators;
29095
+ var T, z;
29096
+ const Y = t.schema["x-allowed-operators"], M = (z = (T = f.value) == null ? void 0 : T.jsonlogicbuilder) == null ? void 0 : z.allowedOperators;
29095
29097
  return Y || M || null;
29096
29098
  }), A = b(() => {
29097
29099
  let Y = M0;
29098
29100
  return w.value && (Y = Y.filter(
29099
29101
  (M) => w.value.includes(M.value)
29100
29102
  )), Y.map((M) => {
29101
- const q = T.value;
29102
- let j = "";
29103
- switch (q) {
29103
+ const T = D.value;
29104
+ let z = "";
29105
+ switch (T) {
29104
29106
  case "icon":
29105
- j = M.shortLabel || M.symbol || M.label;
29107
+ z = M.shortLabel || M.symbol || M.label;
29106
29108
  break;
29107
29109
  case "symbol":
29108
- j = M.symbol || M.label;
29110
+ z = M.symbol || M.label;
29109
29111
  break;
29110
29112
  case "short":
29111
- j = M.shortLabel || M.label;
29113
+ z = M.shortLabel || M.label;
29112
29114
  break;
29113
29115
  case "verbose":
29114
- j = M.symbol ? `${M.symbol} ${M.label}` : M.label;
29116
+ z = M.symbol ? `${M.symbol} ${M.label}` : M.label;
29115
29117
  break;
29116
29118
  default:
29117
- j = M.symbol || M.label;
29119
+ z = M.symbol || M.label;
29118
29120
  }
29119
29121
  return {
29120
29122
  value: M.value,
29121
- label: j,
29123
+ label: z,
29122
29124
  icon: M.icon,
29123
29125
  description: M.description,
29124
29126
  // Store searchTerms for custom filter function
@@ -29137,15 +29139,15 @@ const RT = /* @__PURE__ */ Pt({
29137
29139
  return;
29138
29140
  }
29139
29141
  M(() => {
29140
- const q = Y.toLowerCase();
29141
- H.value = A.value.filter((j) => j.label.toLowerCase().includes(q) ? !0 : j.searchTerms && Array.isArray(j.searchTerms) ? j.searchTerms.some(
29142
- (J) => J.toLowerCase().includes(q)
29142
+ const T = Y.toLowerCase();
29143
+ H.value = A.value.filter((z) => z.label.toLowerCase().includes(T) ? !0 : z.searchTerms && Array.isArray(z.searchTerms) ? z.searchTerms.some(
29144
+ (J) => J.toLowerCase().includes(T)
29143
29145
  ) : !1);
29144
29146
  });
29145
29147
  }
29146
29148
  function N(Y, M) {
29147
29149
  if (M && typeof M == "string" && H.value.length > 0 && !A.value.some(
29148
- (j) => j.value === M
29150
+ (z) => z.value === M
29149
29151
  )) {
29150
29152
  F(
29151
29153
  Y,
@@ -29155,7 +29157,7 @@ const RT = /* @__PURE__ */ Pt({
29155
29157
  }
29156
29158
  M && F(Y, M);
29157
29159
  }
29158
- const K = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: k, syncToValue: v, addCondition: x, addGroup: C, removeCondition: E, updateConditionLeft: D, updateConditionOperator: F, updateConditionRight: V, updateGroupLogic: B, toggleAdvancedMode: P, handleJsonChange: R, operatorDisplayMode: T, allowedOperators: w, operatorOptions: A, filteredOperatorOptions: H, filterOperators: I, handleOperatorInput: N, get QBtn() {
29160
+ const K = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: k, syncToValue: v, addCondition: x, addGroup: C, removeCondition: E, updateConditionLeft: q, updateConditionOperator: F, updateConditionRight: V, updateGroupLogic: B, toggleAdvancedMode: P, handleJsonChange: R, operatorDisplayMode: D, allowedOperators: w, operatorOptions: A, filteredOperatorOptions: H, filterOperators: I, handleOperatorInput: N, get QBtn() {
29159
29161
  return It;
29160
29162
  }, get QSelect() {
29161
29163
  return zo;
@@ -29936,7 +29938,7 @@ const c2 = /* @__PURE__ */ Ut(RT, [["render", u2], ["__scopeId", "data-v-722c2e2
29936
29938
  useInput: B,
29937
29939
  useChips: P,
29938
29940
  multiple: R,
29939
- hideDropdownIcon: T,
29941
+ hideDropdownIcon: D,
29940
29942
  newValueMode: w,
29941
29943
  autocomplete: A,
29942
29944
  ...H
@@ -29997,24 +29999,24 @@ const c2 = /* @__PURE__ */ Ut(RT, [["render", u2], ["__scopeId", "data-v-722c2e2
29997
29999
  }
29998
30000
  const R = Array.isArray(n.value) ? n.value : [];
29999
30001
  if (P.length === 1) {
30000
- const T = P[0];
30001
- R.includes(T) ? B() : B(T, "add-unique");
30002
+ const D = P[0];
30003
+ R.includes(D) ? B() : B(D, "add-unique");
30002
30004
  } else {
30003
- const T = P.filter((w) => !R.includes(w));
30004
- T.length > 0 && r([...R, ...T]), B();
30005
+ const D = P.filter((w) => !R.includes(w));
30006
+ D.length > 0 && r([...R, ...D]), B();
30005
30007
  }
30006
30008
  }
30007
30009
  function E(V, B) {
30008
30010
  B(() => {
30009
30011
  });
30010
30012
  }
30011
- function D(V) {
30013
+ function q(V) {
30012
30014
  if (t.disabled || t.readonly)
30013
30015
  return;
30014
30016
  const B = Array.isArray(n.value) ? n.value : [];
30015
30017
  r(B.filter((P) => P !== V));
30016
30018
  }
30017
- const F = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quasarProps: f, quickformsFeatures: d, itemsSchema: m, isEmailFormat: p, EMAIL_REGEX: g, validateItem: y, getChipProps: k, placeholder: v, parseInput: x, handleNewValue: C, filterFn: E, removeValue: D, get QSelect() {
30019
+ const F = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quasarProps: f, quickformsFeatures: d, itemsSchema: m, isEmailFormat: p, EMAIL_REGEX: g, validateItem: y, getChipProps: k, placeholder: v, parseInput: x, handleNewValue: C, filterFn: E, removeValue: q, get QSelect() {
30018
30020
  return zo;
30019
30021
  }, get QChip() {
30020
30022
  return Em;