@deskhero/dh_ui 2.56.0 → 2.58.0

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/dh_ui.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { reactive as gn, ref as q, defineComponent as ye, useSlots as a1, toRef as _u, onMounted as nt, onUnmounted as jl, watch as $e, computed as G, openBlock as O, createElementBlock as N, normalizeClass as te, unref as $, createVNode as ee, mergeProps as _e, isRef as Rs, createSlots as cr, renderList as We, withCtx as se, renderSlot as ce, normalizeProps as kr, guardReactiveProps as ho, createBlock as ae, Teleport as Cr, createCommentVNode as z, nextTick as un, withKeys as Be, withModifiers as Ft, Transition as wa, createElementVNode as D, Fragment as Se, normalizeStyle as qe, createTextVNode as Qt, toDisplayString as me, resolveDynamicComponent as Zr, withDirectives as Fn, vShow as go, getCurrentScope as dy, onScopeDispose as hy, onBeforeUpdate as MT, onBeforeUnmount as ka, resolveComponent as yt, vModelCheckbox as TT, shallowRef as Mi, h as ra, toRaw as Kf, version as ET, isProxy as fy, useCssVars as xa, vModelText as Y0, toRefs as Lr, getCurrentInstance as To, customRef as py, vModelDynamic as _T, watchEffect as AT, markRaw as OT, inject as rr, createStaticVNode as N3, provide as gy, useAttrs as LT, onUpdated as BT, onBeforeMount as DT, readonly as my, pushScopeId as Wl, popScopeId as Ul } from "vue";
1
+ import { reactive as gn, ref as q, defineComponent as ye, useSlots as a1, toRef as _u, onMounted as nt, onUnmounted as jl, watch as $e, computed as G, openBlock as O, createElementBlock as N, normalizeClass as te, unref as $, createVNode as ee, mergeProps as _e, isRef as Rs, createSlots as cr, renderList as We, withCtx as se, renderSlot as ce, normalizeProps as kr, guardReactiveProps as ho, createBlock as ae, Teleport as Cr, createCommentVNode as z, nextTick as un, withKeys as Be, withModifiers as Ft, Transition as wa, createElementVNode as D, Fragment as Se, normalizeStyle as qe, createTextVNode as Qt, toDisplayString as me, resolveDynamicComponent as Zr, withDirectives as Hn, vShow as go, getCurrentScope as dy, onScopeDispose as hy, onBeforeUpdate as MT, onBeforeUnmount as ka, resolveComponent as yt, vModelCheckbox as TT, shallowRef as Mi, h as ra, toRaw as Kf, version as ET, isProxy as fy, useCssVars as xa, vModelText as Y0, toRefs as Lr, getCurrentInstance as To, customRef as py, vModelDynamic as _T, watchEffect as AT, markRaw as OT, inject as rr, createStaticVNode as N3, provide as gy, useAttrs as LT, onUpdated as BT, onBeforeMount as DT, readonly as my, pushScopeId as Wl, popScopeId as Ul } from "vue";
2
2
  function Qr(n) {
3
3
  "@babel/helpers - typeof";
4
4
  return Qr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -3689,7 +3689,7 @@ const Wy = /* @__PURE__ */ Sa(zA, [["render", qA]]), dg = (n, e) => {
3689
3689
  }, Vr = (n, e, t, r) => {
3690
3690
  let i = n ? ue(n) : ue();
3691
3691
  return (e || e === 0) && (i = Fy(i, +e)), (t || t === 0) && (i = Vy(i, +t)), (r || r === 0) && (i = $y(i, +r)), q3(i, 0);
3692
- }, Nn = (n, e) => !n || !e ? !1 : j3(Ni(n), Ni(e)), Lt = (n, e) => !n || !e ? !1 : _y(Ni(n), Ni(e)), Jn = (n, e) => !n || !e ? !1 : z3(Ni(n), Ni(e)), Uy = (n, e, t) => n && n[0] && n[1] ? Jn(t, n[0]) && Nn(t, n[1]) : n && n[0] && e ? Jn(t, n[0]) && Nn(t, e) || Nn(t, n[0]) && Jn(t, e) : !1, o2 = gn({
3692
+ }, Rn = (n, e) => !n || !e ? !1 : j3(Ni(n), Ni(e)), Lt = (n, e) => !n || !e ? !1 : _y(Ni(n), Ni(e)), Jn = (n, e) => !n || !e ? !1 : z3(Ni(n), Ni(e)), Uy = (n, e, t) => n && n[0] && n[1] ? Jn(t, n[0]) && Rn(t, n[1]) : n && n[0] && e ? Jn(t, n[0]) && Rn(t, e) || Rn(t, n[0]) && Jn(t, e) : !1, o2 = gn({
3693
3693
  menuFocused: !1,
3694
3694
  shiftKeyInMenu: !1
3695
3695
  }), qy = () => {
@@ -4142,7 +4142,7 @@ const wO = (n, e = 3) => {
4142
4142
  }, TO = (n) => Object.assign({ type: "dot" }, n), Ky = (n) => Array.isArray(n) ? !!n[0] && !!n[1] : !1, Hu = {
4143
4143
  prop: (n) => `"${n}" prop must be enabled!`,
4144
4144
  dateArr: (n) => `You need to use array as "model-value" binding in order to support "${n}"`
4145
- }, Pn = (n) => n, Cg = (n) => n === 0 ? n : !n || isNaN(+n) ? null : +n, wg = (n) => Object.assign(
4145
+ }, In = (n) => n, Cg = (n) => n === 0 ? n : !n || isNaN(+n) ? null : +n, wg = (n) => Object.assign(
4146
4146
  {
4147
4147
  menuAppear: "dp-menu-appear",
4148
4148
  open: "dp-slide-down",
@@ -4207,7 +4207,7 @@ const wO = (n, e = 3) => {
4207
4207
  var F;
4208
4208
  return (F = n.hideNavigation) == null ? void 0 : F.includes(C);
4209
4209
  }), u = (C) => {
4210
- const F = n.maxDate ? Jn(a(C), a(ue(n.maxDate))) : !1, j = n.minDate ? Nn(a(C), a(ue(n.minDate))) : !1, W = v(C, n.disabledDates), Z = t.value.filters.months.map((V) => +V).includes(Mt(C)), J = n.disabledWeekDays.length ? n.disabledWeekDays.some((V) => +V === $3(C)) : !1, Y = n.allowedDates.length ? !n.allowedDates.some((V) => Lt(a(ue(V)), a(C))) : !1, H = Tt(C), R = H < +n.yearRange[0] || H > +n.yearRange[1];
4210
+ const F = n.maxDate ? Jn(a(C), a(ue(n.maxDate))) : !1, j = n.minDate ? Rn(a(C), a(ue(n.minDate))) : !1, W = v(C, n.disabledDates), Z = t.value.filters.months.map((V) => +V).includes(Mt(C)), J = n.disabledWeekDays.length ? n.disabledWeekDays.some((V) => +V === $3(C)) : !1, Y = n.allowedDates.length ? !n.allowedDates.some((V) => Lt(a(ue(V)), a(C))) : !1, H = Tt(C), R = H < +n.yearRange[0] || H > +n.yearRange[1];
4211
4211
  return !(F || j || W || Z || R || J || Y);
4212
4212
  }, d = (C) => {
4213
4213
  const F = {
@@ -4245,7 +4245,7 @@ const wO = (n, e = 3) => {
4245
4245
  if (!C || S())
4246
4246
  return !0;
4247
4247
  const j = !n.minDate && !n.maxDate ? w(C) : C;
4248
- return (n.maxTime || n.maxDate) && (F = x(Pn(j))), (n.minTime || n.minDate) && (F = L(Pn(j), F)), F;
4248
+ return (n.maxTime || n.maxDate) && (F = x(In(j))), (n.minTime || n.minDate) && (F = L(In(j), F)), F;
4249
4249
  }, k = (C, F) => {
4250
4250
  const j = ue(JSON.parse(JSON.stringify(C))), W = [];
4251
4251
  for (let Z = 0; Z < 7; Z++) {
@@ -4276,7 +4276,7 @@ const wO = (n, e = 3) => {
4276
4276
  }
4277
4277
  }
4278
4278
  return j;
4279
- }, B = (C, F, j) => [Xn(ue(C), { date: 1 }), Xn(ue(), { month: F, year: j, date: 1 })], P = (C, F) => Nn(...B(n.minDate, C, F)) || Lt(...B(n.minDate, C, F)), _ = (C, F) => Jn(...B(n.maxDate, C, F)) || Lt(...B(n.maxDate, C, F)), I = (C, F, j) => {
4279
+ }, B = (C, F, j) => [Xn(ue(C), { date: 1 }), Xn(ue(), { month: F, year: j, date: 1 })], P = (C, F) => Rn(...B(n.minDate, C, F)) || Lt(...B(n.minDate, C, F)), _ = (C, F) => Jn(...B(n.maxDate, C, F)) || Lt(...B(n.maxDate, C, F)), I = (C, F, j) => {
4280
4280
  let W = !1;
4281
4281
  return n.maxDate && j && _(C, F) && (W = !0), n.minDate && !j && P(C, F) && (W = !0), W;
4282
4282
  };
@@ -4317,7 +4317,7 @@ const wO = (n, e = 3) => {
4317
4317
  1: []
4318
4318
  },
4319
4319
  monthPicker: []
4320
- }), vh = q(null), yc = q(!1), yh = q(!1), bh = q(!1), Ch = q(!1), Zn = q(0), En = q(0), gs = () => {
4320
+ }), vh = q(null), yc = q(!1), yh = q(!1), bh = q(!1), Ch = q(!1), Zn = q(0), Tn = q(0), gs = () => {
4321
4321
  const n = G(() => yc.value ? [...xt.selectionGrid, xt.actionRow].filter((d) => d.length) : yh.value ? [
4322
4322
  ...xt.timePicker[0],
4323
4323
  ...xt.timePicker[1],
@@ -4326,12 +4326,12 @@ const wO = (n, e = 3) => {
4326
4326
  ].filter((d) => d.length) : bh.value ? [...xt.monthPicker, xt.actionRow] : [xt.monthYear, ...xt.calendar, xt.time, xt.actionRow].filter((d) => d.length)), e = (d) => {
4327
4327
  Zn.value = d ? Zn.value + 1 : Zn.value - 1;
4328
4328
  let h = null;
4329
- n.value[En.value] && (h = n.value[En.value][Zn.value]), h || (Zn.value = d ? Zn.value - 1 : Zn.value + 1);
4329
+ n.value[Tn.value] && (h = n.value[Tn.value][Zn.value]), h || (Zn.value = d ? Zn.value - 1 : Zn.value + 1);
4330
4330
  }, t = (d) => {
4331
- En.value === 0 && !d || En.value === n.value.length && d || (En.value = d ? En.value + 1 : En.value - 1, n.value[En.value] ? n.value[En.value] && !n.value[En.value][Zn.value] && Zn.value !== 0 && (Zn.value = n.value[En.value].length - 1) : En.value = d ? En.value - 1 : En.value + 1);
4331
+ Tn.value === 0 && !d || Tn.value === n.value.length && d || (Tn.value = d ? Tn.value + 1 : Tn.value - 1, n.value[Tn.value] ? n.value[Tn.value] && !n.value[Tn.value][Zn.value] && Zn.value !== 0 && (Zn.value = n.value[Tn.value].length - 1) : Tn.value = d ? Tn.value - 1 : Tn.value + 1);
4332
4332
  }, r = (d) => {
4333
4333
  let h = null;
4334
- n.value[En.value] && (h = n.value[En.value][Zn.value]), h ? h.focus({ preventScroll: !yc.value }) : Zn.value = d ? Zn.value - 1 : Zn.value + 1;
4334
+ n.value[Tn.value] && (h = n.value[Tn.value][Zn.value]), h ? h.focus({ preventScroll: !yc.value }) : Zn.value = d ? Zn.value - 1 : Zn.value + 1;
4335
4335
  }, i = () => {
4336
4336
  e(!0), r(!0);
4337
4337
  }, o = () => {
@@ -4345,7 +4345,7 @@ const wO = (n, e = 3) => {
4345
4345
  }, c = (d, h) => {
4346
4346
  xt[h] = d;
4347
4347
  }, u = () => {
4348
- Zn.value = 0, En.value = 0;
4348
+ Zn.value = 0, Tn.value = 0;
4349
4349
  };
4350
4350
  return {
4351
4351
  buildMatrix: l,
@@ -4508,7 +4508,7 @@ const wO = (n, e = 3) => {
4508
4508
  return gt <= +n.maxRange;
4509
4509
  }
4510
4510
  return !0;
4511
- }, Y = (K) => Array.isArray(h.value) && h.value.length === 2 ? n.fixedStart && (Jn(K, h.value[0]) || Lt(K, h.value[0])) ? [h.value[0], K] : n.fixedEnd && (Nn(K, h.value[1]) || Lt(K, h.value[1])) ? [K, h.value[1]] : (e("invalid-fixed-range", K), h.value) : [], H = () => {
4511
+ }, Y = (K) => Array.isArray(h.value) && h.value.length === 2 ? n.fixedStart && (Jn(K, h.value[0]) || Lt(K, h.value[0])) ? [h.value[0], K] : n.fixedEnd && (Rn(K, h.value[1]) || Lt(K, h.value[1])) ? [K, h.value[1]] : (e("invalid-fixed-range", K), h.value) : [], H = () => {
4512
4512
  n.autoApply && y.value && e("auto-apply");
4513
4513
  }, R = () => {
4514
4514
  n.autoApply && e("select-date");
@@ -4527,7 +4527,7 @@ const wO = (n, e = 3) => {
4527
4527
  return we(K, le);
4528
4528
  if (n.fixedStart || n.fixedEnd)
4529
4529
  return fe(K);
4530
- f.value[0] ? J(ue(K.value)) && !pe(K.value) && (Nn(ue(K.value), ue(f.value[0])) ? f.value.unshift(ue(K.value)) : f.value[1] = ue(K.value)) : f.value[0] = ue(K.value);
4530
+ f.value[0] ? J(ue(K.value)) && !pe(K.value) && (Rn(ue(K.value), ue(f.value[0])) ? f.value.unshift(ue(K.value)) : f.value[1] = ue(K.value)) : f.value[0] = ue(K.value);
4531
4531
  }, ze = (K) => {
4532
4532
  f.value[K] = Vr(
4533
4533
  f.value[K],
@@ -4563,7 +4563,7 @@ const wO = (n, e = 3) => {
4563
4563
  if (n.range) {
4564
4564
  if (Oe) {
4565
4565
  let Re = h.value ? h.value.slice() : [];
4566
- Re.length === 2 && Re[1] !== null && (Re = []), Re.length ? Nn(Vt(K), Re[0]) ? Re.unshift(Vt(K)) : Re[1] = Vt(K) : Re = [Vt(K)], h.value = Re;
4566
+ Re.length === 2 && Re[1] !== null && (Re = []), Re.length ? Rn(Vt(K), Re[0]) ? Re.unshift(Vt(K)) : Re[1] = Vt(K) : Re = [Vt(K)], h.value = Re;
4567
4567
  }
4568
4568
  } else
4569
4569
  h.value = Vt(K);
@@ -4620,7 +4620,7 @@ const wO = (n, e = 3) => {
4620
4620
  handleArrow: Un,
4621
4621
  handleSwipe: qn,
4622
4622
  selectCurrentDate: () => {
4623
- n.range ? h.value && Array.isArray(h.value) && h.value[0] ? h.value = Nn(ue(), h.value[0]) ? [ue(), h.value[0]] : [h.value[0], ue()] : h.value = [ue()] : h.value = ue(), R();
4623
+ n.range ? h.value && Array.isArray(h.value) && h.value[0] ? h.value = Rn(ue(), h.value[0]) ? [ue(), h.value[0]] : [h.value[0], ue()] : h.value = [ue()] : h.value = ue(), R();
4624
4624
  },
4625
4625
  presetDateRange: (K, le) => {
4626
4626
  le || K.length && K.length <= 2 && n.range && (h.value = K.map((Oe) => ue(Oe)), R(), n.multiCalendars && un().then(() => T(!0)));
@@ -4687,9 +4687,9 @@ const wO = (n, e = 3) => {
4687
4687
  W(H[0]),
4688
4688
  H[1] ? W(H[1]) : c()
4689
4689
  ];
4690
- }, A = () => r.value[1] ? L() : W(Pn(r.value[0])), k = () => (r.value || []).map((H) => W(H)), M = () => (x(), e.modelAuto ? A() : e.multiDates ? k() : Array.isArray(r.value) ? l(() => L()) : W(Pn(r.value))), B = (H) => H ? e.timePicker ? b(Pn(H)) : e.monthPicker ? E(Pn(H)) : e.yearPicker ? v(Pn(H)) : e.multiDates ? T(Pn(H)) : e.weekPicker ? S(Pn(H)) : w(Pn(H)) : null, P = (H) => {
4690
+ }, A = () => r.value[1] ? L() : W(In(r.value[0])), k = () => (r.value || []).map((H) => W(H)), M = () => (x(), e.modelAuto ? A() : e.multiDates ? k() : Array.isArray(r.value) ? l(() => L()) : W(In(r.value))), B = (H) => H ? e.timePicker ? b(In(H)) : e.monthPicker ? E(In(H)) : e.yearPicker ? v(In(H)) : e.multiDates ? T(In(H)) : e.weekPicker ? S(In(H)) : w(In(H)) : null, P = (H) => {
4691
4691
  const R = B(H);
4692
- u(Pn(R)) ? (r.value = Pn(R), F()) : (r.value = null, f.value = "");
4692
+ u(In(R)) ? (r.value = In(R), F()) : (r.value = null, f.value = "");
4693
4693
  }, _ = () => {
4694
4694
  var H;
4695
4695
  const R = (V) => {
@@ -4716,7 +4716,7 @@ const wO = (n, e = 3) => {
4716
4716
  }, J = (H) => Array.isArray(r.value) ? [
4717
4717
  H(r.value[0]),
4718
4718
  r.value[1] ? H(r.value[1]) : c()
4719
- ] : H(Pn(r.value)), Y = (H) => Z(Pn(J(H)));
4719
+ ] : H(In(r.value)), Y = (H) => Z(In(J(H)));
4720
4720
  return {
4721
4721
  inputValue: f,
4722
4722
  internalModelValue: r,
@@ -5174,7 +5174,7 @@ const RO = (n, e, t, r) => {
5174
5174
  dp__action_disabled: u.value
5175
5175
  })), h = G(() => !t.enableTimePicker || t.ignoreTimeValidation ? !0 : i(t.internalModelValue)), f = G(() => t.monthPicker ? v(t.internalModelValue) : !0), p = () => {
5176
5176
  const b = o.value.previewFormat;
5177
- return t.timePicker || t.monthPicker, b(Pn(t.internalModelValue));
5177
+ return t.timePicker || t.monthPicker, b(In(t.internalModelValue));
5178
5178
  }, g = () => {
5179
5179
  const b = t.internalModelValue;
5180
5180
  return o.value.multiCalendars > 0 ? `${r(b[0])} - ${r(b[1])}` : [r(b[0]), r(b[1])];
@@ -5182,7 +5182,7 @@ const RO = (n, e, t, r) => {
5182
5182
  if (!t.monthPicker)
5183
5183
  return !0;
5184
5184
  let E = !0;
5185
- return t.minDate && t.maxDate ? Jn(ue(b), ue(t.minDate)) && Nn(ue(b), ue(t.maxDate)) : (t.minDate && (E = Jn(ue(b), ue(t.minDate))), t.maxDate && (E = Nn(ue(b), ue(t.maxDate))), E);
5185
+ return t.minDate && t.maxDate ? Jn(ue(b), ue(t.minDate)) && Rn(ue(b), ue(t.maxDate)) : (t.minDate && (E = Jn(ue(b), ue(t.minDate))), t.maxDate && (E = Rn(ue(b), ue(t.maxDate))), E);
5186
5186
  }, y = () => {
5187
5187
  h.value && f.value && c.value ? e("select-date") : e("invalid-select");
5188
5188
  };
@@ -5607,7 +5607,7 @@ const RO = (n, e, t, r) => {
5607
5607
  }, _ = () => {
5608
5608
  var I, C;
5609
5609
  const F = (I = r.headerRefs) != null && I.length ? [r.headerRefs].concat(d.value) : d.value.concat([r.skipButtonRef ? [] : [f.value]]);
5610
- o(Pn(F), (C = r.headerRefs) != null && C.length ? "monthPicker" : "selectionGrid");
5610
+ o(In(F), (C = r.headerRefs) != null && C.length ? "monthPicker" : "selectionGrid");
5611
5611
  };
5612
5612
  return e({ focusGrid: v }), (I, C) => {
5613
5613
  var F;
@@ -5665,7 +5665,7 @@ const RO = (n, e, t, r) => {
5665
5665
  ], 42, lL))), 128))
5666
5666
  ]))), 128))
5667
5667
  ], 6),
5668
- I.$slots["button-icon"] ? Fn((O(), N("div", {
5668
+ I.$slots["button-icon"] ? Hn((O(), N("div", {
5669
5669
  key: 0,
5670
5670
  role: "button",
5671
5671
  "aria-label": (F = n.ariaLabels) == null ? void 0 : F.toggleOverlay,
@@ -6430,7 +6430,7 @@ const RO = (n, e, t, r) => {
6430
6430
  return e({ toggleTimePicker: b }), (k, M) => {
6431
6431
  var B;
6432
6432
  return O(), N("div", null, [
6433
- k.timePicker ? z("", !0) : Fn((O(), N("div", {
6433
+ k.timePicker ? z("", !0) : Hn((O(), N("div", {
6434
6434
  key: 0,
6435
6435
  class: te($(E)),
6436
6436
  role: "button",
@@ -6475,7 +6475,7 @@ const RO = (n, e, t, r) => {
6475
6475
  setSeconds: L
6476
6476
  }) : z("", !0),
6477
6477
  k.$slots["time-picker-overlay"] ? z("", !0) : (O(), N("div", EL, [
6478
- (O(!0), N(Se, null, We($(y), (_, I) => Fn((O(), ae(SL, _e({ key: I }, {
6478
+ (O(!0), N(Se, null, We($(y), (_, I) => Hn((O(), ae(SL, _e({ key: I }, {
6479
6479
  ...k.$props,
6480
6480
  order: I,
6481
6481
  hours: _.hours,
@@ -6503,7 +6503,7 @@ const RO = (n, e, t, r) => {
6503
6503
  [go, I === 0 ? !0 : $(g)]
6504
6504
  ])), 128))
6505
6505
  ])),
6506
- k.timePicker ? z("", !0) : Fn((O(), N("div", {
6506
+ k.timePicker ? z("", !0) : Hn((O(), N("div", {
6507
6507
  key: 2,
6508
6508
  ref_key: "closeTimePickerBtn",
6509
6509
  ref: h,
@@ -6536,13 +6536,13 @@ const RO = (n, e, t, r) => {
6536
6536
  !C.current && e.hideOffsetDates || (o.value = C.value);
6537
6537
  }, l = () => {
6538
6538
  o.value = null;
6539
- }, c = (C) => Array.isArray(n.value) && e.range && n.value[0] && o.value ? C ? Jn(o.value, n.value[0]) : Nn(o.value, n.value[0]) : !0, u = (C, F) => {
6539
+ }, c = (C) => Array.isArray(n.value) && e.range && n.value[0] && o.value ? C ? Jn(o.value, n.value[0]) : Rn(o.value, n.value[0]) : !0, u = (C, F) => {
6540
6540
  const j = () => n.value ? F ? n.value[0] || null : n.value[1] : null, W = n.value && Array.isArray(n.value) ? j() : null;
6541
6541
  return Lt(ue(C.value), W);
6542
6542
  }, d = (C) => {
6543
6543
  const F = Array.isArray(n.value) ? n.value[0] : null;
6544
- return C ? !Nn(o.value || null, F) : !0;
6545
- }, h = (C, F = !0) => (e.range || e.weekPicker) && Array.isArray(n.value) ? e.hideOffsetDates && !C.current ? !1 : Lt(ue(C.value), n.value[F ? 0 : 1]) : e.range ? u(C, F) && d(F) || Lt(C.value, Array.isArray(n.value) ? n.value[0] : null) && c(F) : !1, f = (C, F, j) => Array.isArray(n.value) && n.value[0] && n.value.length === 1 ? C ? !1 : j ? Jn(n.value[0], F.value) : Nn(n.value[0], F.value) : !1, p = (C) => !n.value || e.hideOffsetDates && !C.current ? !1 : e.range ? e.modelAuto && Array.isArray(n.value) ? Lt(C.value, n.value[0] ? n.value[0] : s.value) : !1 : e.multiDates && Array.isArray(n.value) ? n.value.some((F) => Lt(F, C.value)) : Lt(C.value, n.value ? n.value : s.value), g = (C) => {
6544
+ return C ? !Rn(o.value || null, F) : !0;
6545
+ }, h = (C, F = !0) => (e.range || e.weekPicker) && Array.isArray(n.value) ? e.hideOffsetDates && !C.current ? !1 : Lt(ue(C.value), n.value[F ? 0 : 1]) : e.range ? u(C, F) && d(F) || Lt(C.value, Array.isArray(n.value) ? n.value[0] : null) && c(F) : !1, f = (C, F, j) => Array.isArray(n.value) && n.value[0] && n.value.length === 1 ? C ? !1 : j ? Jn(n.value[0], F.value) : Rn(n.value[0], F.value) : !1, p = (C) => !n.value || e.hideOffsetDates && !C.current ? !1 : e.range ? e.modelAuto && Array.isArray(n.value) ? Lt(C.value, n.value[0] ? n.value[0] : s.value) : !1 : e.multiDates && Array.isArray(n.value) ? n.value.some((F) => Lt(F, C.value)) : Lt(C.value, n.value ? n.value : s.value), g = (C) => {
6546
6546
  if (e.autoRange || e.weekPicker) {
6547
6547
  if (o.value) {
6548
6548
  if (e.hideOffsetDates && !C.current)
@@ -6560,7 +6560,7 @@ const RO = (n, e, t, r) => {
6560
6560
  if (e.hideOffsetDates && !C.current)
6561
6561
  return !1;
6562
6562
  const j = i(ue(o.value));
6563
- return e.weekPicker ? Jn(C.value, j[0]) && Nn(C.value, j[1]) : Jn(C.value, o.value) && Nn(C.value, F);
6563
+ return e.weekPicker ? Jn(C.value, j[0]) && Rn(C.value, j[1]) : Jn(C.value, o.value) && Rn(C.value, F);
6564
6564
  }
6565
6565
  return !1;
6566
6566
  }
@@ -6661,10 +6661,10 @@ const RO = (n, e, t, r) => {
6661
6661
  v.value = !0, !((ne = r.presetRanges) != null && ne.length) && !c["left-sidebar"] && !c["right-sidebar"] && vt();
6662
6662
  const Me = fn(g);
6663
6663
  if (Me && !r.textInput && !r.inline && (i(!0), x()), Me) {
6664
- const Tn = (Yt) => {
6664
+ const Mn = (Yt) => {
6665
6665
  !r.monthYearComponent && !r.timePickerComponent && !Object.keys(c).length && Yt.preventDefault(), Yt.stopImmediatePropagation(), Yt.stopPropagation();
6666
6666
  };
6667
- Me.addEventListener("pointerdown", Tn), Me.addEventListener("mousedown", Tn);
6667
+ Me.addEventListener("pointerdown", Mn), Me.addEventListener("mousedown", Mn);
6668
6668
  }
6669
6669
  window.addEventListener("resize", vt);
6670
6670
  }), jl(() => {
@@ -6675,7 +6675,7 @@ const RO = (n, e, t, r) => {
6675
6675
  B.value(ne),
6676
6676
  P.value(ne)
6677
6677
  ) : f.value.forEach(
6678
- (Me, Tn) => Me.triggerTransition(B.value(Tn), P.value(Tn))
6678
+ (Me, Mn) => Me.triggerTransition(B.value(Mn), P.value(Mn))
6679
6679
  );
6680
6680
  }, x = () => {
6681
6681
  const ne = fn(g);
@@ -6737,9 +6737,9 @@ const RO = (n, e, t, r) => {
6737
6737
  dp__relative: r.inline,
6738
6738
  [r.menuClassName]: !!r.menuClassName
6739
6739
  })
6740
- ), Un = (ne, Me) => ne.value(Me).map((Tn) => ({
6741
- ...Tn,
6742
- days: Tn.days.map((Yt) => (Yt.marker = H(Yt), Yt.classData = re(Yt), Yt))
6740
+ ), Un = (ne, Me) => ne.value(Me).map((Mn) => ({
6741
+ ...Mn,
6742
+ days: Mn.days.map((Yt) => (Yt.marker = H(Yt), Yt.classData = re(Yt), Yt))
6743
6743
  })), qn = (ne) => {
6744
6744
  ne.stopPropagation(), ne.stopImmediatePropagation();
6745
6745
  }, K = () => {
@@ -6748,11 +6748,11 @@ const RO = (n, e, t, r) => {
6748
6748
  F(ne, Me), r.spaceConfirm && t("select-date");
6749
6749
  }, Oe = (ne) => {
6750
6750
  var Me;
6751
- (Me = r.flow) != null && Me.length && (d[ne] = !0, Object.keys(d).filter((Tn) => !d[Tn]).length || gt());
6752
- }, Re = (ne, Me, Tn, Yt, ...oi) => {
6751
+ (Me = r.flow) != null && Me.length && (d[ne] = !0, Object.keys(d).filter((Mn) => !d[Mn]).length || gt());
6752
+ }, Re = (ne, Me, Mn, Yt, ...oi) => {
6753
6753
  if (r.flow[y.value] === ne) {
6754
6754
  const Ie = Yt ? Me.value[0] : Me.value;
6755
- Ie && Ie[Tn](...oi);
6755
+ Ie && Ie[Mn](...oi);
6756
6756
  }
6757
6757
  }, gt = () => {
6758
6758
  Re("month", h, "toggleMonthPicker", !0, !0), Re("year", h, "toggleYearPicker", !0, !0), Re("calendar", p, "toggleTimePicker", !1, !1, !0), Re("time", p, "toggleTimePicker", !1, !0, !0);
@@ -6776,10 +6776,10 @@ const RO = (n, e, t, r) => {
6776
6776
  return e({
6777
6777
  updateMonthYear: C
6778
6778
  }), (ne, Me) => {
6779
- var Tn;
6779
+ var Mn;
6780
6780
  return O(), ae(wa, {
6781
6781
  appear: "",
6782
- name: (Tn = $(l).transitions) == null ? void 0 : Tn.menuAppear,
6782
+ name: (Mn = $(l).transitions) == null ? void 0 : Mn.menuAppear,
6783
6783
  mode: "out-in",
6784
6784
  css: !!ne.transitions
6785
6785
  }, {
@@ -7487,7 +7487,7 @@ function gI(n, e, t, r, i, o) {
7487
7487
  _: 1
7488
7488
  }, 8, ["offset-x", "offset-y", "placement", "tooltip-text"])) : (O(), N("span", fI, me(n.label), 1)),
7489
7489
  D("div", pI, [
7490
- Fn(D("input", {
7490
+ Hn(D("input", {
7491
7491
  "onUpdate:modelValue": e[0] || (e[0] = (a) => n.checkedValue = a),
7492
7492
  name: "switch",
7493
7493
  type: "checkbox"
@@ -7938,11 +7938,11 @@ function on(n) {
7938
7938
  function Je(n) {
7939
7939
  return n !== null && Object.prototype.toString.call(n) === "[object Object]";
7940
7940
  }
7941
- function Vn(n) {
7941
+ function Fn(n) {
7942
7942
  return (typeof n == "number" || n instanceof Number) && isFinite(+n);
7943
7943
  }
7944
7944
  function mi(n, e) {
7945
- return Vn(n) ? n : e;
7945
+ return Fn(n) ? n : e;
7946
7946
  }
7947
7947
  function ot(n, e) {
7948
7948
  return typeof n > "u" ? e : n;
@@ -8066,7 +8066,7 @@ const C0 = (n) => typeof n < "u", ss = (n) => typeof n == "function", Og = (n, e
8066
8066
  function UI(n) {
8067
8067
  return n.type === "mouseup" || n.type === "click" || n.type === "contextmenu";
8068
8068
  }
8069
- const xn = Math.PI, Li = 2 * xn, qI = Li + xn, $u = Number.POSITIVE_INFINITY, ZI = xn / 180, ui = xn / 2, Ss = xn / 4, Lg = xn * 2 / 3, tb = Math.log10, Bi = Math.sign;
8069
+ const kn = Math.PI, Li = 2 * kn, qI = Li + kn, $u = Number.POSITIVE_INFINITY, ZI = kn / 180, ui = kn / 2, Ss = kn / 4, Lg = kn * 2 / 3, tb = Math.log10, Bi = Math.sign;
8070
8070
  function Y2(n, e, t) {
8071
8071
  return Math.abs(n - e) < t;
8072
8072
  }
@@ -8099,13 +8099,13 @@ function GI(n, e, t) {
8099
8099
  o = n[r][t], isNaN(o) || (e.min = Math.min(e.min, o), e.max = Math.max(e.max, o));
8100
8100
  }
8101
8101
  function Fs(n) {
8102
- return n * (xn / 180);
8102
+ return n * (kn / 180);
8103
8103
  }
8104
8104
  function JI(n) {
8105
- return n * (180 / xn);
8105
+ return n * (180 / kn);
8106
8106
  }
8107
8107
  function Dg(n) {
8108
- if (!Vn(n))
8108
+ if (!Fn(n))
8109
8109
  return;
8110
8110
  let e = 1, t = 0;
8111
8111
  for (; Math.round(n * e) / e !== n; )
@@ -8115,7 +8115,7 @@ function Dg(n) {
8115
8115
  function QI(n, e) {
8116
8116
  const t = e.x - n.x, r = e.y - n.y, i = Math.sqrt(t * t + r * r);
8117
8117
  let o = Math.atan2(r, t);
8118
- return o < -0.5 * xn && (o += Li), {
8118
+ return o < -0.5 * kn && (o += Li), {
8119
8119
  angle: o,
8120
8120
  distance: i
8121
8121
  };
@@ -8124,7 +8124,7 @@ function rp(n, e) {
8124
8124
  return Math.sqrt(Math.pow(e.x - n.x, 2) + Math.pow(e.y - n.y, 2));
8125
8125
  }
8126
8126
  function eP(n, e) {
8127
- return (n - e + qI) % Li - xn;
8127
+ return (n - e + qI) % Li - kn;
8128
8128
  }
8129
8129
  function Si(n) {
8130
8130
  return (n % Li + Li) % Li;
@@ -8296,7 +8296,7 @@ const kc = (n) => n === 0 || n === 1, Pg = (n, e, t) => -(Math.pow(2, 10 * (n -=
8296
8296
  easeInOutQuint: (n) => (n /= 0.5) < 1 ? 0.5 * n * n * n * n * n : 0.5 * ((n -= 2) * n * n * n * n + 2),
8297
8297
  easeInSine: (n) => -Math.cos(n * ui) + 1,
8298
8298
  easeOutSine: (n) => Math.sin(n * ui),
8299
- easeInOutSine: (n) => -0.5 * (Math.cos(xn * n) - 1),
8299
+ easeInOutSine: (n) => -0.5 * (Math.cos(kn * n) - 1),
8300
8300
  easeInExpo: (n) => n === 0 ? 0 : Math.pow(2, 10 * (n - 1)),
8301
8301
  easeOutExpo: (n) => n === 1 ? 1 : -Math.pow(2, -10 * n) + 1,
8302
8302
  easeInOutExpo: (n) => kc(n) ? n : n < 0.5 ? 0.5 * Math.pow(2, 10 * (n * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (n * 2 - 1)) + 2),
@@ -8641,7 +8641,7 @@ function yP(n, e, t, r, i) {
8641
8641
  u = g, n.moveTo(t + Math.sin(m) * u, r - Math.cos(m) * g), m += Lg, n.lineTo(t + Math.sin(m) * u, r - Math.cos(m) * g), m += Lg, n.lineTo(t + Math.sin(m) * u, r - Math.cos(m) * g), n.closePath();
8642
8642
  break;
8643
8643
  case "rectRounded":
8644
- c = g * 0.516, l = g - c, s = Math.cos(m + Ss) * l, d = Math.cos(m + Ss) * l, a = Math.sin(m + Ss) * l, h = Math.sin(m + Ss) * l, n.arc(t - d, r - a, c, m - xn, m - ui), n.arc(t + h, r - s, c, m - ui, m), n.arc(t + d, r + a, c, m, m + ui), n.arc(t - h, r + s, c, m + ui, m + xn), n.closePath();
8644
+ c = g * 0.516, l = g - c, s = Math.cos(m + Ss) * l, d = Math.cos(m + Ss) * l, a = Math.sin(m + Ss) * l, h = Math.sin(m + Ss) * l, n.arc(t - d, r - a, c, m - kn, m - ui), n.arc(t + h, r - s, c, m - ui, m), n.arc(t + d, r + a, c, m, m + ui), n.arc(t - h, r + s, c, m + ui, m + kn), n.closePath();
8645
8645
  break;
8646
8646
  case "rect":
8647
8647
  if (!p) {
@@ -8722,7 +8722,7 @@ function sp(n, e, t, r, i, o = {}) {
8722
8722
  }
8723
8723
  function ap(n, e) {
8724
8724
  const { x: t, y: r, w: i, h: o, radius: s } = e;
8725
- n.arc(t + s.topLeft, r + s.topLeft, s.topLeft, 1.5 * xn, xn, !0), n.lineTo(t, r + o - s.bottomLeft), n.arc(t + s.bottomLeft, r + o - s.bottomLeft, s.bottomLeft, xn, ui, !0), n.lineTo(t + i - s.bottomRight, r + o), n.arc(t + i - s.bottomRight, r + o - s.bottomRight, s.bottomRight, ui, 0, !0), n.lineTo(t + i, r + s.topRight), n.arc(t + i - s.topRight, r + s.topRight, s.topRight, 0, -ui, !0), n.lineTo(t + s.topLeft, r);
8725
+ n.arc(t + s.topLeft, r + s.topLeft, s.topLeft, 1.5 * kn, kn, !0), n.lineTo(t, r + o - s.bottomLeft), n.arc(t + s.bottomLeft, r + o - s.bottomLeft, s.bottomLeft, kn, ui, !0), n.lineTo(t + i - s.bottomRight, r + o), n.arc(t + i - s.bottomRight, r + o - s.bottomRight, s.bottomRight, ui, 0, !0), n.lineTo(t + i, r + s.topRight), n.arc(t + i - s.topRight, r + s.topRight, s.topRight, 0, -ui, !0), n.lineTo(t + s.topLeft, r);
8726
8726
  }
8727
8727
  const SP = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/, MP = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;
8728
8728
  function TP(n, e) {
@@ -9773,7 +9773,7 @@ function Xg(n, e, t, r = {}) {
9773
9773
  continue;
9774
9774
  break;
9775
9775
  }
9776
- c = n.values[l], Vn(c) && (o || e === 0 || Bi(e) === Bi(c)) && (e += c);
9776
+ c = n.values[l], Fn(c) && (o || e === 0 || Bi(e) === Bi(c)) && (e += c);
9777
9777
  }
9778
9778
  return !u && !r.all ? 0 : e;
9779
9779
  }
@@ -10006,7 +10006,7 @@ class c6 {
10006
10006
  function p() {
10007
10007
  f = i[h];
10008
10008
  const g = f[a.axis];
10009
- return !Vn(f[e.axis]) || u > g || d < g;
10009
+ return !Fn(f[e.axis]) || u > g || d < g;
10010
10010
  }
10011
10011
  for (h = 0; h < s && !(!p() && (this.updateRangeFromParsed(c, e, f, l), o)); ++h)
10012
10012
  ;
@@ -10023,7 +10023,7 @@ class c6 {
10023
10023
  const t = this._cachedMeta._parsed, r = [];
10024
10024
  let i, o, s;
10025
10025
  for (i = 0, o = t.length; i < o; ++i)
10026
- s = t[i][e.axis], Vn(s) && r.push(s);
10026
+ s = t[i][e.axis], Fn(s) && r.push(s);
10027
10027
  return r;
10028
10028
  }
10029
10029
  getMaxOverflow() {
@@ -11401,8 +11401,8 @@ class ql extends Ta {
11401
11401
  return e = mi(e, Number.POSITIVE_INFINITY), t = mi(t, Number.NEGATIVE_INFINITY), r = mi(r, Number.POSITIVE_INFINITY), i = mi(i, Number.NEGATIVE_INFINITY), {
11402
11402
  min: mi(e, r),
11403
11403
  max: mi(t, i),
11404
- minDefined: Vn(e),
11405
- maxDefined: Vn(t)
11404
+ minDefined: Fn(e),
11405
+ maxDefined: Fn(t)
11406
11406
  };
11407
11407
  }
11408
11408
  getMinMax(e) {
@@ -13429,7 +13429,7 @@ function uH(n, e, t) {
13429
13429
  if (!t)
13430
13430
  return i;
13431
13431
  for (; i !== !1 && o.indexOf(i) === -1; ) {
13432
- if (!Vn(i))
13432
+ if (!Fn(i))
13433
13433
  return i;
13434
13434
  if (s = n[i], !s)
13435
13435
  return !1;
@@ -13444,7 +13444,7 @@ function dH(n, e, t) {
13444
13444
  if (Je(r))
13445
13445
  return isNaN(r.value) ? !1 : r;
13446
13446
  let i = parseFloat(r);
13447
- return Vn(i) && Math.floor(i) === i ? hH(r[0], e, i, t) : [
13447
+ return Fn(i) && Math.floor(i) === i ? hH(r[0], e, i, t) : [
13448
13448
  "origin",
13449
13449
  "start",
13450
13450
  "end",
@@ -13548,7 +13548,7 @@ class Nb {
13548
13548
  }
13549
13549
  function CH(n) {
13550
13550
  const { chart: e, fill: t, line: r } = n;
13551
- if (Vn(t))
13551
+ if (Fn(t))
13552
13552
  return wH(e, t);
13553
13553
  if (t === "stack")
13554
13554
  return mH(n);
@@ -13566,7 +13566,7 @@ function kH(n) {
13566
13566
  }
13567
13567
  function xH(n) {
13568
13568
  const { scale: e = {}, fill: t } = n, r = fH(t, e);
13569
- if (Vn(r)) {
13569
+ if (Fn(r)) {
13570
13570
  const i = e.isHorizontal();
13571
13571
  return {
13572
13572
  x: i ? r : null,
@@ -13748,7 +13748,7 @@ class Hb extends Ta {
13748
13748
  _drawArgs(e) {
13749
13749
  const { top: t, left: r, bottom: i, right: o, options: s } = this, a = s.align;
13750
13750
  let l = 0, c, u, d;
13751
- return this.isHorizontal() ? (u = K2(a, r, o), d = t + e, c = o - r) : (s.position === "left" ? (u = r + e, d = K2(a, i, t), l = xn * -0.5) : (u = o - e, d = K2(a, t, i), l = xn * 0.5), c = i - t), {
13751
+ return this.isHorizontal() ? (u = K2(a, r, o), d = t + e, c = o - r) : (s.position === "left" ? (u = r + e, d = K2(a, i, t), l = kn * -0.5) : (u = o - e, d = K2(a, t, i), l = kn * 0.5), c = i - t), {
13752
13752
  titleX: u,
13753
13753
  titleY: d,
13754
13754
  maxWidth: c,
@@ -14540,7 +14540,7 @@ class zb extends $H {
14540
14540
  };
14541
14541
  determineDataLimits() {
14542
14542
  const { min: e, max: t } = this.getMinMax(!0);
14543
- this.min = Vn(e) ? e : 0, this.max = Vn(t) ? t : 1, this.handleTickRangeOptions();
14543
+ this.min = Fn(e) ? e : 0, this.max = Fn(t) ? t : 1, this.handleTickRangeOptions();
14544
14544
  }
14545
14545
  computeTickLimit() {
14546
14546
  const e = this.isHorizontal(), t = e ? this.width : this.height, r = Fs(this.options.ticks.minRotation), i = (e ? Math.sin(r) : Math.cos(r)) || 1e-3, o = this._resolveTickFontOptions(0);
@@ -14607,7 +14607,7 @@ function Nm(n, e) {
14607
14607
  return null;
14608
14608
  const t = n._adapter, { parser: r, round: i, isoWeekday: o } = n._parseOpts;
14609
14609
  let s = e;
14610
- return typeof r == "function" && (s = r(s)), Vn(s) || (s = typeof r == "string" ? t.parse(s, r) : t.parse(s)), s === null ? null : (i && (s = i === "week" && (w0(o) || o === !0) ? t.startOf(s, "isoWeek", o) : t.startOf(s, i)), +s);
14610
+ return typeof r == "function" && (s = r(s)), Fn(s) || (s = typeof r == "string" ? t.parse(s, r) : t.parse(s)), s === null ? null : (i && (s = i === "week" && (w0(o) || o === !0) ? t.startOf(s, "isoWeek", o) : t.startOf(s, i)), +s);
14611
14611
  }
14612
14612
  function Hm(n, e, t, r) {
14613
14613
  const i = ur.length;
@@ -14708,7 +14708,7 @@ class $m extends ql {
14708
14708
  function l(c) {
14709
14709
  !s && !isNaN(c.min) && (i = Math.min(i, c.min)), !a && !isNaN(c.max) && (o = Math.max(o, c.max));
14710
14710
  }
14711
- (!s || !a) && (l(this._getLabelBounds()), (e.bounds !== "ticks" || e.ticks.source !== "labels") && l(this.getMinMax(!1))), i = Vn(i) && !isNaN(i) ? i : +t.startOf(Date.now(), r), o = Vn(o) && !isNaN(o) ? o : +t.endOf(Date.now(), r) + 1, this.min = Math.min(i, o - 1), this.max = Math.max(i + 1, o);
14711
+ (!s || !a) && (l(this._getLabelBounds()), (e.bounds !== "ticks" || e.ticks.source !== "labels") && l(this.getMinMax(!1))), i = Fn(i) && !isNaN(i) ? i : +t.startOf(Date.now(), r), o = Fn(o) && !isNaN(o) ? o : +t.endOf(Date.now(), r) + 1, this.min = Math.min(i, o - 1), this.max = Math.max(i + 1, o);
14712
14712
  }
14713
14713
  _getLabelBounds() {
14714
14714
  const e = this.getLabelTimestamps();
@@ -15704,7 +15704,7 @@ const fF = /* @__PURE__ */ Ee(eF, [["render", hF]]), pF = { class: "dh-range-con
15704
15704
  }, 8, ["number-range"])
15705
15705
  ]));
15706
15706
  }
15707
- }, nhe = /* @__PURE__ */ Ee(PF, [["__scopeId", "data-v-fea4582b"]]), RF = ye({
15707
+ }, nhe = /* @__PURE__ */ Ee(PF, [["__scopeId", "data-v-942932c4"]]), RF = ye({
15708
15708
  components: { DhIcon: Ue },
15709
15709
  props: {
15710
15710
  mainText: {
@@ -15953,7 +15953,7 @@ const rhe = /* @__PURE__ */ Ee(RF, [["render", WF]]), Zb = (n) => {
15953
15953
  return nt(() => {
15954
15954
  e.value = t.text;
15955
15955
  }), (s, a) => (O(), N("span", XF, [
15956
- Fn(D("input", {
15956
+ Hn(D("input", {
15957
15957
  "onUpdate:modelValue": a[0] || (a[0] = (l) => e.value = l),
15958
15958
  readonly: n.readonly,
15959
15959
  type: "text",
@@ -16243,7 +16243,7 @@ const rhe = /* @__PURE__ */ Ee(RF, [["render", WF]]), Zb = (n) => {
16243
16243
  }
16244
16244
  }), she = /* @__PURE__ */ Ee(nV, [["__scopeId", "data-v-2d262b0d"]]), rV = {
16245
16245
  key: 0,
16246
- class: "invalid-feedback"
16246
+ class: "invalid-feedback flex flex-column w-100 mt-spacer-1 text-sm text-danger"
16247
16247
  }, ahe = /* @__PURE__ */ ye({
16248
16248
  __name: "Error",
16249
16249
  props: {
@@ -17011,9 +17011,9 @@ const SV = { class: "input__dropdown_wrapper" }, MV = ["placeholder", "value"],
17011
17011
  emits: ["update:modelValue"],
17012
17012
  setup(n) {
17013
17013
  xa((r) => ({
17014
- v52c3921b: e.value,
17015
- v1745b0d0: n.widthProp,
17016
- ec9c60fa: n.heightProp
17014
+ dfd4e668: e.value,
17015
+ v4803c341: n.widthProp,
17016
+ v70b60b32: n.heightProp
17017
17017
  }));
17018
17018
  const e = q("row"), t = n;
17019
17019
  return nt(() => {
@@ -17285,7 +17285,7 @@ function qV(n, e, t) {
17285
17285
  case "tags":
17286
17286
  return [];
17287
17287
  }
17288
- }), Tn = Rt(() => g.value || Vt.value), Yt = (X) => {
17288
+ }), Mn = Rt(() => g.value || Vt.value), Yt = (X) => {
17289
17289
  switch (typeof X != "object" && (X = Zi(X)), i.value) {
17290
17290
  case "single":
17291
17291
  re(X);
@@ -17494,7 +17494,7 @@ function qV(n, e, t) {
17494
17494
  noOptions: gt,
17495
17495
  noResults: Pr,
17496
17496
  resolving: Vt,
17497
- busy: Tn,
17497
+ busy: Mn,
17498
17498
  offset: mn,
17499
17499
  select: Yt,
17500
17500
  deselect: oi,
@@ -19747,7 +19747,7 @@ const Tz = ["src"], Ez = { class: "list__item_text" }, _z = ["id", "checked", "o
19747
19747
  ],
19748
19748
  setup(n, { emit: e }) {
19749
19749
  xa((f) => ({
19750
- f34f9c32: n.maxHeight
19750
+ v5aacbba1: n.maxHeight
19751
19751
  }));
19752
19752
  const t = e, r = G({
19753
19753
  get() {
@@ -20209,7 +20209,7 @@ const ghe = /* @__PURE__ */ Ee(b6, [["render", Fz], ["__scopeId", "data-v-fd86ce
20209
20209
  t,
20210
20210
  () => (r.value = t.modelValue || "", o.value = r.value.length > 11, s.value = /\d/.test(r.value), a.value = /[!@#$%^&*)(+=._-]/.test(r.value))
20211
20211
  ), (g, m) => (O(), N("div", Vz, [
20212
- Fn(D("input", {
20212
+ Hn(D("input", {
20213
20213
  "onUpdate:modelValue": m[0] || (m[0] = (v) => r.value = v),
20214
20214
  autocomplete: "current-password",
20215
20215
  class: "form__input password__panel_input",
@@ -20311,7 +20311,7 @@ const ghe = /* @__PURE__ */ Ee(b6, [["render", Fz], ["__scopeId", "data-v-fd86ce
20311
20311
  ], 8, qz)
20312
20312
  ]));
20313
20313
  }
20314
- }, Xz = /* @__PURE__ */ Ee(Kz, [["__scopeId", "data-v-e190e22a"]]), vhe = {
20314
+ }, Xz = /* @__PURE__ */ Ee(Kz, [["__scopeId", "data-v-b8f348d4"]]), vhe = {
20315
20315
  __name: "RadioBoxGroup",
20316
20316
  props: {
20317
20317
  orientation: {
@@ -20380,7 +20380,7 @@ const ghe = /* @__PURE__ */ Ee(b6, [["render", Fz], ["__scopeId", "data-v-fd86ce
20380
20380
  return nt(() => () => r.value = t.modelValue || ""), $e(t, () => {
20381
20381
  r.value = t.modelValue || "", t.focus && i.value && i.value.focus();
20382
20382
  }), (l, c) => (O(), N("div", Gz, [
20383
- Fn(D("input", {
20383
+ Hn(D("input", {
20384
20384
  ref_key: "searchInput",
20385
20385
  ref: i,
20386
20386
  "onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
@@ -36658,11 +36658,11 @@ const qZ = {
36658
36658
  ], 2));
36659
36659
  }
36660
36660
  });
36661
- function _n(n) {
36661
+ function En(n) {
36662
36662
  this.content = n;
36663
36663
  }
36664
- _n.prototype = {
36665
- constructor: _n,
36664
+ En.prototype = {
36665
+ constructor: En,
36666
36666
  find: function(n) {
36667
36667
  for (var e = 0; e < this.content.length; e += 2)
36668
36668
  if (this.content[e] === n) return e;
@@ -36681,7 +36681,7 @@ _n.prototype = {
36681
36681
  // given, the key of the binding will be replaced with that key.
36682
36682
  update: function(n, e, t) {
36683
36683
  var r = t && t != n ? this.remove(t) : this, i = r.find(n), o = r.content.slice();
36684
- return i == -1 ? o.push(t || n, e) : (o[i + 1] = e, t && (o[i] = t)), new _n(o);
36684
+ return i == -1 ? o.push(t || n, e) : (o[i + 1] = e, t && (o[i] = t)), new En(o);
36685
36685
  },
36686
36686
  // :: (string) → OrderedMap
36687
36687
  // Return a map with the given key removed, if it existed.
@@ -36689,25 +36689,25 @@ _n.prototype = {
36689
36689
  var e = this.find(n);
36690
36690
  if (e == -1) return this;
36691
36691
  var t = this.content.slice();
36692
- return t.splice(e, 2), new _n(t);
36692
+ return t.splice(e, 2), new En(t);
36693
36693
  },
36694
36694
  // :: (string, any) → OrderedMap
36695
36695
  // Add a new key to the start of the map.
36696
36696
  addToStart: function(n, e) {
36697
- return new _n([n, e].concat(this.remove(n).content));
36697
+ return new En([n, e].concat(this.remove(n).content));
36698
36698
  },
36699
36699
  // :: (string, any) → OrderedMap
36700
36700
  // Add a new key to the end of the map.
36701
36701
  addToEnd: function(n, e) {
36702
36702
  var t = this.remove(n).content.slice();
36703
- return t.push(n, e), new _n(t);
36703
+ return t.push(n, e), new En(t);
36704
36704
  },
36705
36705
  // :: (string, string, any) → OrderedMap
36706
36706
  // Add a key after the given key. If `place` is not found, the new
36707
36707
  // key is added to the end.
36708
36708
  addBefore: function(n, e, t) {
36709
36709
  var r = this.remove(e), i = r.content.slice(), o = r.find(n);
36710
- return i.splice(o == -1 ? i.length : o, 0, e, t), new _n(i);
36710
+ return i.splice(o == -1 ? i.length : o, 0, e, t), new En(i);
36711
36711
  },
36712
36712
  // :: ((key: string, value: any))
36713
36713
  // Call the given function for each key/value pair in the map, in
@@ -36720,20 +36720,20 @@ _n.prototype = {
36720
36720
  // Create a new map by prepending the keys in this map that don't
36721
36721
  // appear in `map` before the keys in `map`.
36722
36722
  prepend: function(n) {
36723
- return n = _n.from(n), n.size ? new _n(n.content.concat(this.subtract(n).content)) : this;
36723
+ return n = En.from(n), n.size ? new En(n.content.concat(this.subtract(n).content)) : this;
36724
36724
  },
36725
36725
  // :: (union<Object, OrderedMap>) → OrderedMap
36726
36726
  // Create a new map by appending the keys in this map that don't
36727
36727
  // appear in `map` after the keys in `map`.
36728
36728
  append: function(n) {
36729
- return n = _n.from(n), n.size ? new _n(this.subtract(n).content.concat(n.content)) : this;
36729
+ return n = En.from(n), n.size ? new En(this.subtract(n).content.concat(n.content)) : this;
36730
36730
  },
36731
36731
  // :: (union<Object, OrderedMap>) → OrderedMap
36732
36732
  // Create a map containing all the keys in this map that don't
36733
36733
  // appear in `map`.
36734
36734
  subtract: function(n) {
36735
36735
  var e = this;
36736
- n = _n.from(n);
36736
+ n = En.from(n);
36737
36737
  for (var t = 0; t < n.content.length; t += 2)
36738
36738
  e = e.remove(n.content[t]);
36739
36739
  return e;
@@ -36752,11 +36752,11 @@ _n.prototype = {
36752
36752
  return this.content.length >> 1;
36753
36753
  }
36754
36754
  };
36755
- _n.from = function(n) {
36756
- if (n instanceof _n) return n;
36755
+ En.from = function(n) {
36756
+ if (n instanceof En) return n;
36757
36757
  var e = [];
36758
36758
  if (n) for (var t in n) e.push(t, n[t]);
36759
- return new _n(e);
36759
+ return new En(e);
36760
36760
  };
36761
36761
  function Rw(n, e, t) {
36762
36762
  for (let r = 0; ; r++) {
@@ -38710,7 +38710,7 @@ class Gw {
38710
38710
  let t = this.spec = {};
38711
38711
  for (let i in e)
38712
38712
  t[i] = e[i];
38713
- t.nodes = _n.from(e.nodes), t.marks = _n.from(e.marks || {}), this.nodes = L5.compile(this.spec.nodes, this), this.marks = _1.compile(this.spec.marks, this);
38713
+ t.nodes = En.from(e.nodes), t.marks = En.from(e.marks || {}), this.nodes = L5.compile(this.spec.nodes, this), this.marks = _1.compile(this.spec.marks, this);
38714
38714
  let r = /* @__PURE__ */ Object.create(null);
38715
38715
  for (let i in this.nodes) {
38716
38716
  if (i in this.marks)
@@ -40019,7 +40019,7 @@ class bn extends zn {
40019
40019
  }
40020
40020
  }
40021
40021
  zn.jsonID("replace", bn);
40022
- class Sn extends zn {
40022
+ class xn extends zn {
40023
40023
  /**
40024
40024
  Create a replace-around step with the given range and gap.
40025
40025
  `insert` should be the point in the slice into which the content
@@ -40050,11 +40050,11 @@ class Sn extends zn {
40050
40050
  }
40051
40051
  invert(e) {
40052
40052
  let t = this.gapTo - this.gapFrom;
40053
- return new Sn(this.from, this.from + this.slice.size + t, this.from + this.insert, this.from + this.insert + t, e.slice(this.from, this.to).removeBetween(this.gapFrom - this.from, this.gapTo - this.from), this.gapFrom - this.from, this.structure);
40053
+ return new xn(this.from, this.from + this.slice.size + t, this.from + this.insert, this.from + this.insert + t, e.slice(this.from, this.to).removeBetween(this.gapFrom - this.from, this.gapTo - this.from), this.gapFrom - this.from, this.structure);
40054
40054
  }
40055
40055
  map(e) {
40056
40056
  let t = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1), i = this.from == this.gapFrom ? t.pos : e.map(this.gapFrom, -1), o = this.to == this.gapTo ? r.pos : e.map(this.gapTo, 1);
40057
- return t.deletedAcross && r.deletedAcross || i < t.pos || o > r.pos ? null : new Sn(t.pos, r.pos, i, o, this.slice, this.insert, this.structure);
40057
+ return t.deletedAcross && r.deletedAcross || i < t.pos || o > r.pos ? null : new xn(t.pos, r.pos, i, o, this.slice, this.insert, this.structure);
40058
40058
  }
40059
40059
  toJSON() {
40060
40060
  let e = {
@@ -40073,10 +40073,10 @@ class Sn extends zn {
40073
40073
  static fromJSON(e, t) {
40074
40074
  if (typeof t.from != "number" || typeof t.to != "number" || typeof t.gapFrom != "number" || typeof t.gapTo != "number" || typeof t.insert != "number")
40075
40075
  throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");
40076
- return new Sn(t.from, t.to, t.gapFrom, t.gapTo, ve.fromJSON(e, t.slice), t.insert, !!t.structure);
40076
+ return new xn(t.from, t.to, t.gapFrom, t.gapTo, ve.fromJSON(e, t.slice), t.insert, !!t.structure);
40077
40077
  }
40078
40078
  }
40079
- zn.jsonID("replaceAround", Sn);
40079
+ zn.jsonID("replaceAround", xn);
40080
40080
  function Dp(n, e, t) {
40081
40081
  let r = n.resolve(e), i = t - e, o = r.depth;
40082
40082
  for (; i > 0 && o > 0 && r.indexAfter(o) == r.node(o).childCount; )
@@ -40177,7 +40177,7 @@ function xY(n, e, t) {
40177
40177
  let h = oe.empty, f = 0;
40178
40178
  for (let p = o, g = !1; p > t; p--)
40179
40179
  g || i.after(p + 1) < i.end(p) ? (g = !0, h = oe.from(i.node(p).copy(h)), f++) : c++;
40180
- n.step(new Sn(l, c, s, a, new ve(u.append(h), d, f), u.size - d, !0));
40180
+ n.step(new xn(l, c, s, a, new ve(u.append(h), d, f), u.size - d, !0));
40181
40181
  }
40182
40182
  function w4(n, e, t = null, r = n) {
40183
40183
  let i = SY(n, e), o = i && MY(r, e);
@@ -40213,7 +40213,7 @@ function TY(n, e, t) {
40213
40213
  r = oe.from(t[s].type.create(t[s].attrs, r));
40214
40214
  }
40215
40215
  let i = e.start, o = e.end;
40216
- n.step(new Sn(i, o, i, o, new ve(r, 0, 0), t.length, !0));
40216
+ n.step(new xn(i, o, i, o, new ve(r, 0, 0), t.length, !0));
40217
40217
  }
40218
40218
  function EY(n, e, t, r, i) {
40219
40219
  if (!r.isTextblock)
@@ -40229,7 +40229,7 @@ function EY(n, e, t, r, i) {
40229
40229
  }
40230
40230
  c === !1 && sk(n, s, a, o), C4(n, n.mapping.slice(o).map(a, 1), r, void 0, c === null);
40231
40231
  let u = n.mapping.slice(o), d = u.map(a, 1), h = u.map(a + s.nodeSize, 1);
40232
- return n.step(new Sn(d, h, d + 1, h - 1, new ve(oe.from(r.create(l, null, s.marks)), 0, 0), 1, !0)), c === !0 && ok(n, s, a, o), !1;
40232
+ return n.step(new xn(d, h, d + 1, h - 1, new ve(oe.from(r.create(l, null, s.marks)), 0, 0), 1, !0)), c === !0 && ok(n, s, a, o), !1;
40233
40233
  }
40234
40234
  });
40235
40235
  }
@@ -40267,7 +40267,7 @@ function AY(n, e, t, r, i) {
40267
40267
  return n.replaceWith(e, e + o.nodeSize, s);
40268
40268
  if (!t.validContent(o.content))
40269
40269
  throw new RangeError("Invalid content for node type " + t.name);
40270
- n.step(new Sn(e, e + o.nodeSize, e + 1, e + o.nodeSize - 1, new ve(oe.from(s), 0, 0), 1, !0));
40270
+ n.step(new xn(e, e + o.nodeSize, e + 1, e + o.nodeSize - 1, new ve(oe.from(s), 0, 0), 1, !0));
40271
40271
  }
40272
40272
  function vo(n, e, t = 1, r) {
40273
40273
  let i = n.resolve(e), o = i.depth - t, s = r && r[r.length - 1] || i.parent;
@@ -40422,7 +40422,7 @@ class IY {
40422
40422
  for (; s && a && o.childCount == 1; )
40423
40423
  o = o.firstChild.content, s--, a--;
40424
40424
  let l = new ve(o, s, a);
40425
- return e > -1 ? new Sn(r.pos, e, this.$to.pos, this.$to.end(), l, t) : l.size || r.pos != this.$to.pos ? new bn(r.pos, i.pos, l) : null;
40425
+ return e > -1 ? new xn(r.pos, e, this.$to.pos, this.$to.end(), l, t) : l.size || r.pos != this.$to.pos ? new bn(r.pos, i.pos, l) : null;
40426
40426
  }
40427
40427
  // Find a position on the start spine of `this.unplaced` that has
40428
40428
  // content that can be moved somewhere on the frontier. Returns two
@@ -41373,7 +41373,7 @@ function j5(n, e, t) {
41373
41373
  if (r < e)
41374
41374
  return;
41375
41375
  let i = n.steps[r];
41376
- if (!(i instanceof bn || i instanceof Sn))
41376
+ if (!(i instanceof bn || i instanceof xn))
41377
41377
  return;
41378
41378
  let o = n.mapping.maps[r], s;
41379
41379
  o.forEach((a, l, c, u) => {
@@ -42067,7 +42067,7 @@ function Tk(n, e, t, r) {
42067
42067
  for (let v = s.length - 1; v >= 0; v--)
42068
42068
  p = oe.from(s[v].create(null, p));
42069
42069
  p = oe.from(i.copy(p));
42070
- let g = n.tr.step(new Sn(e.pos - 1, f, e.pos, f, new ve(p, 1, 0), s.length, !0)), m = g.doc.resolve(f + 2 * s.length);
42070
+ let g = n.tr.step(new xn(e.pos - 1, f, e.pos, f, new ve(p, 1, 0), s.length, !0)), m = g.doc.resolve(f + 2 * s.length);
42071
42071
  m.nodeAfter && m.nodeAfter.type == i.type && bs(g.doc, m.pos) && g.join(m.pos), t(g.scrollIntoView());
42072
42072
  }
42073
42073
  return !0;
@@ -42087,7 +42087,7 @@ function Tk(n, e, t, r) {
42087
42087
  let v = oe.empty;
42088
42088
  for (let b = p.length - 1; b >= 0; b--)
42089
42089
  v = oe.from(p[b].copy(v));
42090
- let y = n.tr.step(new Sn(e.pos - p.length, e.pos + o.nodeSize, e.pos + m, e.pos + o.nodeSize - m, new ve(v, p.length, 0), 0, !0));
42090
+ let y = n.tr.step(new xn(e.pos - p.length, e.pos + o.nodeSize, e.pos + m, e.pos + o.nodeSize - m, new ve(v, p.length, 0), 0, !0));
42091
42091
  t(y.scrollIntoView());
42092
42092
  }
42093
42093
  return !0;
@@ -42179,7 +42179,7 @@ function iK(n, e, t, r, i) {
42179
42179
  let o = oe.empty;
42180
42180
  for (let u = t.length - 1; u >= 0; u--)
42181
42181
  o = oe.from(t[u].type.create(t[u].attrs, o));
42182
- n.step(new Sn(e.start - (r ? 2 : 0), e.end, e.start, e.end, new ve(o, 0, 0), t.length, !0));
42182
+ n.step(new xn(e.start - (r ? 2 : 0), e.end, e.start, e.end, new ve(o, 0, 0), t.length, !0));
42183
42183
  let s = 0;
42184
42184
  for (let u = 0; u < t.length; u++)
42185
42185
  t[u].type == i && (s = u + 1);
@@ -42196,7 +42196,7 @@ function oK(n) {
42196
42196
  }
42197
42197
  function sK(n, e, t, r) {
42198
42198
  let i = n.tr, o = r.end, s = r.$to.end(r.depth);
42199
- o < s && (i.step(new Sn(o - 1, s, o, s, new ve(oe.from(t.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new rd(i.doc.resolve(r.$from.pos), i.doc.resolve(s), r.depth));
42199
+ o < s && (i.step(new xn(o - 1, s, o, s, new ve(oe.from(t.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new rd(i.doc.resolve(r.$from.pos), i.doc.resolve(s), r.depth));
42200
42200
  const a = Kl(r);
42201
42201
  if (a == null)
42202
42202
  return !1;
@@ -42215,7 +42215,7 @@ function aK(n, e, t) {
42215
42215
  if (!c.canReplace(u + (a ? 0 : 1), u + 1, s.content.append(l ? oe.empty : oe.from(i))))
42216
42216
  return !1;
42217
42217
  let d = o.pos, h = d + s.nodeSize;
42218
- return r.step(new Sn(d - (a ? 1 : 0), h + (l ? 1 : 0), d + 1, h - 1, new ve((a ? oe.empty : oe.from(i.copy(oe.empty))).append(l ? oe.empty : oe.from(i.copy(oe.empty))), a ? 0 : 1, l ? 0 : 1), a ? 0 : 1)), e(r.scrollIntoView()), !0;
42218
+ return r.step(new xn(d - (a ? 1 : 0), h + (l ? 1 : 0), d + 1, h - 1, new ve((a ? oe.empty : oe.from(i.copy(oe.empty))).append(l ? oe.empty : oe.from(i.copy(oe.empty))), a ? 0 : 1, l ? 0 : 1), a ? 0 : 1)), e(r.scrollIntoView()), !0;
42219
42219
  }
42220
42220
  function lK(n) {
42221
42221
  return function(e, t) {
@@ -42230,12 +42230,12 @@ function lK(n) {
42230
42230
  return !1;
42231
42231
  if (t) {
42232
42232
  let c = l.lastChild && l.lastChild.type == a.type, u = oe.from(c ? n.create() : null), d = new ve(oe.from(n.create(null, oe.from(a.type.create(null, u)))), c ? 3 : 1, 0), h = o.start, f = o.end;
42233
- t(e.tr.step(new Sn(h - (c ? 3 : 1), f, h, f, d, 1, !0)).scrollIntoView());
42233
+ t(e.tr.step(new xn(h - (c ? 3 : 1), f, h, f, d, 1, !0)).scrollIntoView());
42234
42234
  }
42235
42235
  return !0;
42236
42236
  };
42237
42237
  }
42238
- const An = function(n) {
42238
+ const _n = function(n) {
42239
42239
  for (var e = 0; ; e++)
42240
42240
  if (n = n.previousSibling, !n)
42241
42241
  return e;
@@ -42260,7 +42260,7 @@ function Y5(n, e, t, r, i) {
42260
42260
  let s = n.parentNode;
42261
42261
  if (!s || s.nodeType != 1 || ec(n) || uK.test(n.nodeName) || n.contentEditable == "false")
42262
42262
  return !1;
42263
- e = An(n) + (i < 0 ? 0 : 1), n = s;
42263
+ e = _n(n) + (i < 0 ? 0 : 1), n = s;
42264
42264
  } else if (n.nodeType == 1) {
42265
42265
  let s = n.childNodes[e + (i < 0 ? -1 : 0)];
42266
42266
  if (s.nodeType == 1 && s.contentEditable == "false")
@@ -42286,7 +42286,7 @@ function dK(n, e) {
42286
42286
  return null;
42287
42287
  n = n.childNodes[e - 1], e = Ur(n);
42288
42288
  } else if (n.parentNode && !ec(n))
42289
- e = An(n), n = n.parentNode;
42289
+ e = _n(n), n = n.parentNode;
42290
42290
  else
42291
42291
  return null;
42292
42292
  }
@@ -42300,7 +42300,7 @@ function hK(n, e) {
42300
42300
  return null;
42301
42301
  n = n.childNodes[e], e = 0;
42302
42302
  } else if (n.parentNode && !ec(n))
42303
- e = An(n) + 1, n = n.parentNode;
42303
+ e = _n(n) + 1, n = n.parentNode;
42304
42304
  else
42305
42305
  return null;
42306
42306
  }
@@ -42309,7 +42309,7 @@ function fK(n, e, t) {
42309
42309
  for (let r = e == 0, i = e == Ur(n); r || i; ) {
42310
42310
  if (n == t)
42311
42311
  return !0;
42312
- let o = An(n);
42312
+ let o = _n(n);
42313
42313
  if (n = n.parentNode, !n)
42314
42314
  return !1;
42315
42315
  r = r && o == 0, i = i && o == Ur(n);
@@ -42350,7 +42350,7 @@ function gK(n, e, t) {
42350
42350
  }
42351
42351
  const Vi = typeof navigator < "u" ? navigator : null, K5 = typeof document < "u" ? document : null, Cs = Vi && Vi.userAgent || "", Pp = /Edge\/(\d+)/.exec(Cs), _k = /MSIE \d/.exec(Cs), Rp = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Cs), dr = !!(_k || Rp || Pp), ns = _k ? document.documentMode : Rp ? +Rp[1] : Pp ? +Pp[1] : 0, Kr = !dr && /gecko\/(\d+)/i.test(Cs);
42352
42352
  Kr && +(/Firefox\/(\d+)/.exec(Cs) || [0, 0])[1];
42353
- const Np = !dr && /Chrome\/(\d+)/.exec(Cs), Cn = !!Np, Ak = Np ? +Np[1] : 0, Dn = !dr && !!Vi && /Apple Computer/.test(Vi.vendor), Ol = Dn && (/Mobile\/\w+/.test(Cs) || !!Vi && Vi.maxTouchPoints > 2), $r = Ol || (Vi ? /Mac/.test(Vi.platform) : !1), Ok = Vi ? /Win/.test(Vi.platform) : !1, po = /Android \d/.test(Cs), tc = !!K5 && "webkitFontSmoothing" in K5.documentElement.style, mK = tc ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
42353
+ const Np = !dr && /Chrome\/(\d+)/.exec(Cs), Ln = !!Np, Ak = Np ? +Np[1] : 0, Vn = !dr && !!Vi && /Apple Computer/.test(Vi.vendor), Ol = Vn && (/Mobile\/\w+/.test(Cs) || !!Vi && Vi.maxTouchPoints > 2), $r = Ol || (Vi ? /Mac/.test(Vi.platform) : !1), Ok = Vi ? /Win/.test(Vi.platform) : !1, po = /Android \d/.test(Cs), tc = !!K5 && "webkitFontSmoothing" in K5.documentElement.style, mK = tc ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
42354
42354
  function vK(n) {
42355
42355
  let e = n.defaultView && n.defaultView.visualViewport;
42356
42356
  return e ? {
@@ -42538,7 +42538,7 @@ function TK(n, e) {
42538
42538
  if (!A4(e, c) || (s = Ik(n.dom, e, c), !s))
42539
42539
  return null;
42540
42540
  }
42541
- if (Dn)
42541
+ if (Vn)
42542
42542
  for (let c = s; r && c; c = Al(c))
42543
42543
  c.draggable && (r = void 0);
42544
42544
  if (s = xK(s, e), r) {
@@ -42782,7 +42782,7 @@ class nc {
42782
42782
  }
42783
42783
  let i;
42784
42784
  if (e == this.dom && this.contentDOM)
42785
- i = t > An(this.contentDOM);
42785
+ i = t > _n(this.contentDOM);
42786
42786
  else if (this.contentDOM && this.contentDOM != this.dom && this.dom.contains(this.contentDOM))
42787
42787
  i = e.compareDocumentPosition(this.contentDOM) & 2;
42788
42788
  else if (this.dom.firstChild) {
@@ -42872,12 +42872,12 @@ class nc {
42872
42872
  let o, s = !0;
42873
42873
  for (; o = r ? this.children[r - 1] : null, !(!o || o.dom.parentNode == this.contentDOM); r--, s = !1)
42874
42874
  ;
42875
- return o && t && s && !o.border && !o.domAtom ? o.domFromPos(o.size, t) : { node: this.contentDOM, offset: o ? An(o.dom) + 1 : 0 };
42875
+ return o && t && s && !o.border && !o.domAtom ? o.domFromPos(o.size, t) : { node: this.contentDOM, offset: o ? _n(o.dom) + 1 : 0 };
42876
42876
  } else {
42877
42877
  let o, s = !0;
42878
42878
  for (; o = r < this.children.length ? this.children[r] : null, !(!o || o.dom.parentNode == this.contentDOM); r++, s = !1)
42879
42879
  ;
42880
- return o && s && !o.border && !o.domAtom ? o.domFromPos(0, t) : { node: this.contentDOM, offset: o ? An(o.dom) : this.contentDOM.childNodes.length };
42880
+ return o && s && !o.border && !o.domAtom ? o.domFromPos(0, t) : { node: this.contentDOM, offset: o ? _n(o.dom) : this.contentDOM.childNodes.length };
42881
42881
  }
42882
42882
  }
42883
42883
  // Used to find a DOM range in a single parent for a given changed
@@ -42896,7 +42896,7 @@ class nc {
42896
42896
  for (let d = a; d > 0; d--) {
42897
42897
  let h = this.children[d - 1];
42898
42898
  if (h.size && h.dom.parentNode == this.contentDOM && !h.emptyChildAt(1)) {
42899
- i = An(h.dom) + 1;
42899
+ i = _n(h.dom) + 1;
42900
42900
  break;
42901
42901
  }
42902
42902
  e -= h.size;
@@ -42908,7 +42908,7 @@ class nc {
42908
42908
  for (let u = a + 1; u < this.children.length; u++) {
42909
42909
  let d = this.children[u];
42910
42910
  if (d.size && d.dom.parentNode == this.contentDOM && !d.emptyChildAt(-1)) {
42911
- o = An(d.dom);
42911
+ o = _n(d.dom);
42912
42912
  break;
42913
42913
  }
42914
42914
  t += d.size;
@@ -42946,14 +42946,14 @@ class nc {
42946
42946
  p = m;
42947
42947
  }
42948
42948
  let a = this.domFromPos(e, e ? -1 : 1), l = t == e ? a : this.domFromPos(t, t ? -1 : 1), c = r.root.getSelection(), u = r.domSelectionRange(), d = !1;
42949
- if ((Kr || Dn) && e == t) {
42949
+ if ((Kr || Vn) && e == t) {
42950
42950
  let { node: f, offset: p } = a;
42951
42951
  if (f.nodeType == 3) {
42952
42952
  if (d = !!(p && f.nodeValue[p - 1] == `
42953
42953
  `), d && p == f.nodeValue.length)
42954
42954
  for (let g = f, m; g; g = g.parentNode) {
42955
42955
  if (m = g.nextSibling) {
42956
- m.nodeName == "BR" && (a = l = { node: m.parentNode, offset: An(m) + 1 });
42956
+ m.nodeName == "BR" && (a = l = { node: m.parentNode, offset: _n(m) + 1 });
42957
42957
  break;
42958
42958
  }
42959
42959
  let v = g.pmViewDesc;
@@ -42969,7 +42969,7 @@ class nc {
42969
42969
  let f = u.focusNode.childNodes[u.focusOffset];
42970
42970
  f && f.contentEditable == "false" && (i = !0);
42971
42971
  }
42972
- if (!(i || d && Dn) && ua(a.node, a.offset, u.anchorNode, u.anchorOffset) && ua(l.node, l.offset, u.focusNode, u.focusOffset))
42972
+ if (!(i || d && Vn) && ua(a.node, a.offset, u.anchorNode, u.anchorOffset) && ua(l.node, l.offset, u.focusNode, u.focusOffset))
42973
42973
  return;
42974
42974
  let h = !1;
42975
42975
  if ((c.extend || e == t) && !(d && Kr)) {
@@ -43575,7 +43575,7 @@ class PK {
43575
43575
  for (; e instanceof da; )
43576
43576
  t = e, e = t.children[t.children.length - 1];
43577
43577
  (!e || // Empty textblock
43578
- !(e instanceof D1) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Dn || Cn) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", t), this.addHackNode("BR", this.top));
43578
+ !(e instanceof D1) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Vn || Ln) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", t), this.addHackNode("BR", this.top));
43579
43579
  }
43580
43580
  addHackNode(e, t) {
43581
43581
  if (t == this.top && this.index < t.children.length && t.children[this.index].matchesHack(e))
@@ -43751,7 +43751,7 @@ function zk(n) {
43751
43751
  function yo(n, e = !1) {
43752
43752
  let t = n.state.selection;
43753
43753
  if (jk(n, t), !!zk(n)) {
43754
- if (!e && n.input.mouseDown && n.input.mouseDown.allowDefault && Cn) {
43754
+ if (!e && n.input.mouseDown && n.input.mouseDown.allowDefault && Ln) {
43755
43755
  let r = n.domSelectionRange(), i = n.domObserver.currentSelection;
43756
43756
  if (r.anchorNode && i.anchorNode && ua(r.anchorNode, r.anchorOffset, i.anchorNode, i.anchorOffset)) {
43757
43757
  n.input.mouseDown.delayedSelectionSync = !0, n.domObserver.setCurSelection();
@@ -43767,10 +43767,10 @@ function yo(n, e = !1) {
43767
43767
  n.domObserver.setCurSelection(), n.domObserver.connectSelection();
43768
43768
  }
43769
43769
  }
43770
- const i8 = Dn || Cn && Ak < 63;
43770
+ const i8 = Vn || Ln && Ak < 63;
43771
43771
  function o8(n, e) {
43772
43772
  let { node: t, offset: r } = n.docView.domFromPos(e, 0), i = r < t.childNodes.length ? t.childNodes[r] : null, o = r ? t.childNodes[r - 1] : null;
43773
- if (Dn && i && i.contentEditable == "false")
43773
+ if (Vn && i && i.contentEditable == "false")
43774
43774
  return af(i);
43775
43775
  if ((!i || i.contentEditable == "false") && (!o || o.contentEditable == "false")) {
43776
43776
  if (i)
@@ -43780,7 +43780,7 @@ function o8(n, e) {
43780
43780
  }
43781
43781
  }
43782
43782
  function af(n) {
43783
- return n.contentEditable = "true", Dn && n.draggable && (n.draggable = !1, n.wasDraggable = !0), n;
43783
+ return n.contentEditable = "true", Vn && n.draggable && (n.draggable = !1, n.wasDraggable = !0), n;
43784
43784
  }
43785
43785
  function s8(n) {
43786
43786
  n.contentEditable = "false", n.wasDraggable && (n.draggable = !0, n.wasDraggable = null);
@@ -43800,7 +43800,7 @@ function zK(n) {
43800
43800
  if (!e)
43801
43801
  return;
43802
43802
  let t = n.cursorWrapper.dom, r = t.nodeName == "IMG";
43803
- r ? e.collapse(t.parentNode, An(t) + 1) : e.collapse(t, 0), !r && !n.state.selection.visible && dr && ns <= 11 && (t.disabled = !0, t.disabled = !1);
43803
+ r ? e.collapse(t.parentNode, _n(t) + 1) : e.collapse(t, 0), !r && !n.state.selection.visible && dr && ns <= 11 && (t.disabled = !0, t.disabled = !1);
43804
43804
  }
43805
43805
  function jk(n, e) {
43806
43806
  if (e instanceof Te) {
@@ -43903,7 +43903,7 @@ function WK(n) {
43903
43903
  {
43904
43904
  let a = t.previousSibling;
43905
43905
  for (; a && i0(a, -1); )
43906
- i = t.parentNode, o = An(a), a = a.previousSibling;
43906
+ i = t.parentNode, o = _n(a), a = a.previousSibling;
43907
43907
  if (a)
43908
43908
  t = a, r = sd(t);
43909
43909
  else {
@@ -43935,7 +43935,7 @@ function UK(n) {
43935
43935
  {
43936
43936
  let a = t.nextSibling;
43937
43937
  for (; a && i0(a, 1); )
43938
- o = a.parentNode, s = An(a) + 1, a = a.nextSibling;
43938
+ o = a.parentNode, s = _n(a) + 1, a = a.nextSibling;
43939
43939
  if (a)
43940
43940
  t = a, r = 0, i = sd(t);
43941
43941
  else {
@@ -43953,7 +43953,7 @@ function Uk(n) {
43953
43953
  }
43954
43954
  function qK(n, e) {
43955
43955
  for (; n && e == n.childNodes.length && !ec(n); )
43956
- e = An(n) + 1, n = n.parentNode;
43956
+ e = _n(n) + 1, n = n.parentNode;
43957
43957
  for (; n && e < n.childNodes.length; ) {
43958
43958
  let t = n.childNodes[e];
43959
43959
  if (t.nodeType == 3)
@@ -43965,7 +43965,7 @@ function qK(n, e) {
43965
43965
  }
43966
43966
  function ZK(n, e) {
43967
43967
  for (; n && !e && !ec(n); )
43968
- e = An(n), n = n.parentNode;
43968
+ e = _n(n), n = n.parentNode;
43969
43969
  for (; n && e; ) {
43970
43970
  let t = n.childNodes[e - 1];
43971
43971
  if (t.nodeType == 3)
@@ -43995,7 +43995,7 @@ function $p(n, e, t) {
43995
43995
  }
43996
43996
  function u8(n, e) {
43997
43997
  let t = n.state.doc.resolve(e);
43998
- if (!(Cn || Ok) && t.parent.inlineContent) {
43998
+ if (!(Ln || Ok) && t.parent.inlineContent) {
43999
43999
  let i = n.coordsAtPos(e);
44000
44000
  if (e > t.start()) {
44001
44001
  let o = n.coordsAtPos(e - 1), s = (o.top + o.bottom) / 2;
@@ -44047,7 +44047,7 @@ function f8(n, e, t) {
44047
44047
  n.domObserver.stop(), e.contentEditable = t, n.domObserver.start();
44048
44048
  }
44049
44049
  function YK(n) {
44050
- if (!Dn || n.state.selection.$head.parentOffset > 0)
44050
+ if (!Vn || n.state.selection.$head.parentOffset > 0)
44051
44051
  return !1;
44052
44052
  let { focusNode: e, focusOffset: t } = n.domSelectionRange();
44053
44053
  if (e && e.nodeType == 1 && t == 0 && e.firstChild && e.firstChild.contentEditable == "false") {
@@ -44250,7 +44250,7 @@ function eX(n) {
44250
44250
  return t;
44251
44251
  }
44252
44252
  function tX(n) {
44253
- let e = n.querySelectorAll(Cn ? "span:not([class]):not([style])" : "span.Apple-converted-space");
44253
+ let e = n.querySelectorAll(Ln ? "span:not([class]):not([style])" : "span.Apple-converted-space");
44254
44254
  for (let t = 0; t < e.length; t++) {
44255
44255
  let r = e[t];
44256
44256
  r.childNodes.length == 1 && r.textContent == " " && r.parentNode && r.parentNode.replaceChild(n.ownerDocument.createTextNode(" "), r);
@@ -44287,7 +44287,7 @@ function oX(n) {
44287
44287
  aX(n, r) && !D4(n, r) && (n.editable || !(r.type in nr)) && t(n, r);
44288
44288
  }, rX[e] ? { passive: !0 } : void 0);
44289
44289
  }
44290
- Dn && n.dom.addEventListener("input", () => null), jp(n);
44290
+ Vn && n.dom.addEventListener("input", () => null), jp(n);
44291
44291
  }
44292
44292
  function Xo(n, e) {
44293
44293
  n.input.lastSelectionOrigin = e, n.input.lastSelectionTime = Date.now();
@@ -44325,7 +44325,7 @@ function lX(n, e) {
44325
44325
  }
44326
44326
  nr.keydown = (n, e) => {
44327
44327
  let t = e;
44328
- if (n.input.shiftKey = t.keyCode == 16 || t.shiftKey, !Qk(n, t) && (n.input.lastKeyCode = t.keyCode, n.input.lastKeyCodeTime = Date.now(), !(po && Cn && t.keyCode == 13)))
44328
+ if (n.input.shiftKey = t.keyCode == 16 || t.shiftKey, !Qk(n, t) && (n.input.lastKeyCode = t.keyCode, n.input.lastKeyCodeTime = Date.now(), !(po && Ln && t.keyCode == 13)))
44329
44329
  if (t.keyCode != 229 && n.domObserver.forceFlush(), Ol && t.keyCode == 13 && !t.ctrlKey && !t.altKey && !t.metaKey) {
44330
44330
  let r = Date.now();
44331
44331
  n.input.lastIOSEnter = r, n.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
@@ -44462,14 +44462,14 @@ class mX {
44462
44462
  return;
44463
44463
  let t = this.pos;
44464
44464
  this.view.state.doc != this.startDoc && (t = this.view.posAtCoords(I1(e))), this.updateAllowDefault(e), this.allowDefault || !t ? Xo(this.view, "pointer") : hX(this.view, t.pos, t.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
44465
- Dn && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
44465
+ Vn && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
44466
44466
  // cursor, but still report that the node is selected
44467
44467
  // when asked through getSelection. You'll then get a
44468
44468
  // situation where clicking at the point where that
44469
44469
  // (hidden) cursor is doesn't change the selection, and
44470
44470
  // thus doesn't get a reaction from ProseMirror. This
44471
44471
  // works around that.
44472
- Cn && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (dl(this.view, He.near(this.view.state.doc.resolve(t.pos))), e.preventDefault()) : Xo(this.view, "pointer");
44472
+ Ln && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (dl(this.view, He.near(this.view.state.doc.resolve(t.pos))), e.preventDefault()) : Xo(this.view, "pointer");
44473
44473
  }
44474
44474
  move(e) {
44475
44475
  this.updateAllowDefault(e), Xo(this.view, "pointer"), e.buttons == 0 && this.done();
@@ -44486,14 +44486,14 @@ tr.touchmove = (n) => {
44486
44486
  };
44487
44487
  tr.contextmenu = (n) => P4(n);
44488
44488
  function Qk(n, e) {
44489
- return n.composing ? !0 : Dn && Math.abs(e.timeStamp - n.input.compositionEndedAt) < 500 ? (n.input.compositionEndedAt = -2e8, !0) : !1;
44489
+ return n.composing ? !0 : Vn && Math.abs(e.timeStamp - n.input.compositionEndedAt) < 500 ? (n.input.compositionEndedAt = -2e8, !0) : !1;
44490
44490
  }
44491
44491
  const vX = po ? 5e3 : -1;
44492
44492
  nr.compositionstart = nr.compositionupdate = (n) => {
44493
44493
  if (!n.composing) {
44494
44494
  n.domObserver.flush();
44495
44495
  let { state: e } = n, t = e.selection.$to;
44496
- if (e.selection instanceof De && (e.storedMarks || !t.textOffset && t.parentOffset && t.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1) || Cn && Ok && yX(n)))
44496
+ if (e.selection instanceof De && (e.storedMarks || !t.textOffset && t.parentOffset && t.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1) || Ln && Ok && yX(n)))
44497
44497
  n.markCursor = n.state.storedMarks || t.marks(), ad(n, !0), n.markCursor = null;
44498
44498
  else if (ad(n, !e.selection.empty), Kr && e.selection.empty && t.parentOffset && !t.textOffset && t.nodeBefore.marks.length) {
44499
44499
  let r = n.domSelectionRange();
@@ -44640,7 +44640,7 @@ tr.dragstart = (n, e) => {
44640
44640
  }
44641
44641
  }
44642
44642
  let a = (s || n.state.selection).content(), { dom: l, text: c, slice: u } = B4(n, a);
44643
- (!t.dataTransfer.files.length || !Cn || Ak > 120) && t.dataTransfer.clearData(), t.dataTransfer.setData(L0 ? "Text" : "text/html", l.innerHTML), t.dataTransfer.effectAllowed = "copyMove", L0 || t.dataTransfer.setData("text/plain", c), n.dragging = new rx(u, ix(n, t), s);
44643
+ (!t.dataTransfer.files.length || !Ln || Ak > 120) && t.dataTransfer.clearData(), t.dataTransfer.setData(L0 ? "Text" : "text/html", l.innerHTML), t.dataTransfer.effectAllowed = "copyMove", L0 || t.dataTransfer.setData("text/plain", c), n.dragging = new rx(u, ix(n, t), s);
44644
44644
  };
44645
44645
  tr.dragend = (n) => {
44646
44646
  let e = n.dragging;
@@ -44703,7 +44703,7 @@ tr.blur = (n, e) => {
44703
44703
  n.focused && (n.domObserver.stop(), n.dom.classList.remove("ProseMirror-focused"), n.domObserver.start(), t.relatedTarget && n.dom.contains(t.relatedTarget) && n.domObserver.currentSelection.clear(), n.focused = !1);
44704
44704
  };
44705
44705
  tr.beforeinput = (n, e) => {
44706
- if (Cn && po && e.inputType == "deleteContentBackward") {
44706
+ if (Ln && po && e.inputType == "deleteContentBackward") {
44707
44707
  n.domObserver.flushSoon();
44708
44708
  let { domChangeCount: r } = n.input;
44709
44709
  setTimeout(() => {
@@ -44733,7 +44733,7 @@ class ld {
44733
44733
  }
44734
44734
  map(e, t, r, i) {
44735
44735
  let { pos: o, deleted: s } = e.mapResult(t.from + i, this.side < 0 ? -1 : 1);
44736
- return s ? null : new wn(o - r, o - r, this);
44736
+ return s ? null : new Cn(o - r, o - r, this);
44737
44737
  }
44738
44738
  valid() {
44739
44739
  return !0;
@@ -44751,7 +44751,7 @@ class is {
44751
44751
  }
44752
44752
  map(e, t, r, i) {
44753
44753
  let o = e.map(t.from + i, this.spec.inclusiveStart ? -1 : 1) - r, s = e.map(t.to + i, this.spec.inclusiveEnd ? 1 : -1) - r;
44754
- return o >= s ? null : new wn(o, s, this);
44754
+ return o >= s ? null : new Cn(o, s, this);
44755
44755
  }
44756
44756
  valid(e, t) {
44757
44757
  return t.from < t.to;
@@ -44774,7 +44774,7 @@ class R4 {
44774
44774
  if (o.deleted)
44775
44775
  return null;
44776
44776
  let s = e.mapResult(t.to + i, -1);
44777
- return s.deleted || s.pos <= o.pos ? null : new wn(o.pos - r, s.pos - r, this);
44777
+ return s.deleted || s.pos <= o.pos ? null : new Cn(o.pos - r, s.pos - r, this);
44778
44778
  }
44779
44779
  valid(e, t) {
44780
44780
  let { index: r, offset: i } = e.content.findIndex(t.from), o;
@@ -44786,7 +44786,7 @@ class R4 {
44786
44786
  destroy() {
44787
44787
  }
44788
44788
  }
44789
- class wn {
44789
+ class Cn {
44790
44790
  /**
44791
44791
  @internal
44792
44792
  */
@@ -44797,7 +44797,7 @@ class wn {
44797
44797
  @internal
44798
44798
  */
44799
44799
  copy(e, t) {
44800
- return new wn(e, t, this.type);
44800
+ return new Cn(e, t, this.type);
44801
44801
  }
44802
44802
  /**
44803
44803
  @internal
@@ -44820,14 +44820,14 @@ class wn {
44820
44820
  widget's current document position.
44821
44821
  */
44822
44822
  static widget(e, t, r) {
44823
- return new wn(e, e, new ld(t, r));
44823
+ return new Cn(e, e, new ld(t, r));
44824
44824
  }
44825
44825
  /**
44826
44826
  Creates an inline decoration, which adds the given attributes to
44827
44827
  each inline node between `from` and `to`.
44828
44828
  */
44829
44829
  static inline(e, t, r, i) {
44830
- return new wn(e, t, new is(r, i));
44830
+ return new Cn(e, t, new is(r, i));
44831
44831
  }
44832
44832
  /**
44833
44833
  Creates a node decoration. `from` and `to` should point precisely
@@ -44835,7 +44835,7 @@ class wn {
44835
44835
  node, will receive the given attributes.
44836
44836
  */
44837
44837
  static node(e, t, r, i) {
44838
- return new wn(e, t, new R4(r, i));
44838
+ return new Cn(e, t, new R4(r, i));
44839
44839
  }
44840
44840
  /**
44841
44841
  The spec provided when creating this decoration. Can be useful
@@ -44871,7 +44871,7 @@ class Ct {
44871
44871
  you must make a copy if you want need to preserve that.
44872
44872
  */
44873
44873
  static create(e, t) {
44874
- return t.length ? cd(t, e, 0, Js) : Rn;
44874
+ return t.length ? cd(t, e, 0, Js) : Pn;
44875
44875
  }
44876
44876
  /**
44877
44877
  Find all decorations in this set which touch the given range
@@ -44901,7 +44901,7 @@ class Ct {
44901
44901
  document.
44902
44902
  */
44903
44903
  map(e, t, r) {
44904
- return this == Rn || e.maps.length == 0 ? this : this.mapInner(e, t, 0, 0, r || Js);
44904
+ return this == Pn || e.maps.length == 0 ? this : this.mapInner(e, t, 0, 0, r || Js);
44905
44905
  }
44906
44906
  /**
44907
44907
  @internal
@@ -44912,7 +44912,7 @@ class Ct {
44912
44912
  let l = this.local[a].map(e, r, i);
44913
44913
  l && l.type.valid(t, l) ? (s || (s = [])).push(l) : o.onRemove && o.onRemove(this.local[a].spec);
44914
44914
  }
44915
- return this.children.length ? TX(this.children, s || [], e, t, r, i, o) : s ? new Ct(s.sort(Qs), tl) : Rn;
44915
+ return this.children.length ? TX(this.children, s || [], e, t, r, i, o) : s ? new Ct(s.sort(Qs), tl) : Pn;
44916
44916
  }
44917
44917
  /**
44918
44918
  Add the given array of decorations to the ones in the set,
@@ -44921,7 +44921,7 @@ class Ct {
44921
44921
  structure.
44922
44922
  */
44923
44923
  add(e, t) {
44924
- return t.length ? this == Rn ? Ct.create(e, t) : this.addInner(e, t, 0) : this;
44924
+ return t.length ? this == Pn ? Ct.create(e, t) : this.addInner(e, t, 0) : this;
44925
44925
  }
44926
44926
  addInner(e, t, r) {
44927
44927
  let i, o = 0;
@@ -44943,7 +44943,7 @@ class Ct {
44943
44943
  the ones in the given array.
44944
44944
  */
44945
44945
  remove(e) {
44946
- return e.length == 0 || this == Rn ? this : this.removeInner(e, 0);
44946
+ return e.length == 0 || this == Pn ? this : this.removeInner(e, 0);
44947
44947
  }
44948
44948
  removeInner(e, t) {
44949
44949
  let r = this.children, i = this.local;
@@ -44955,7 +44955,7 @@ class Ct {
44955
44955
  continue;
44956
44956
  r == this.children && (r = this.children.slice());
44957
44957
  let c = r[o + 2].removeInner(s, a + 1);
44958
- c != Rn ? r[o + 2] = c : (r.splice(o, 3), o -= 3);
44958
+ c != Pn ? r[o + 2] = c : (r.splice(o, 3), o -= 3);
44959
44959
  }
44960
44960
  if (i.length) {
44961
44961
  for (let o = 0, s; o < e.length; o++)
@@ -44963,10 +44963,10 @@ class Ct {
44963
44963
  for (let a = 0; a < i.length; a++)
44964
44964
  i[a].eq(s, t) && (i == this.local && (i = this.local.slice()), i.splice(a--, 1));
44965
44965
  }
44966
- return r == this.children && i == this.local ? this : i.length || r.length ? new Ct(i, r) : Rn;
44966
+ return r == this.children && i == this.local ? this : i.length || r.length ? new Ct(i, r) : Pn;
44967
44967
  }
44968
44968
  forChild(e, t) {
44969
- if (this == Rn)
44969
+ if (this == Pn)
44970
44970
  return this;
44971
44971
  if (t.isLeaf)
44972
44972
  return Ct.empty;
@@ -44988,7 +44988,7 @@ class Ct {
44988
44988
  let a = new Ct(i.sort(Qs), tl);
44989
44989
  return r ? new $o([a, r]) : a;
44990
44990
  }
44991
- return r || Rn;
44991
+ return r || Pn;
44992
44992
  }
44993
44993
  /**
44994
44994
  @internal
@@ -45016,7 +45016,7 @@ class Ct {
45016
45016
  @internal
45017
45017
  */
45018
45018
  localsInner(e) {
45019
- if (this == Rn)
45019
+ if (this == Pn)
45020
45020
  return tl;
45021
45021
  if (e.inlineContent || !this.local.some(is.is))
45022
45022
  return this.local;
@@ -45031,7 +45031,7 @@ class Ct {
45031
45031
  }
45032
45032
  Ct.empty = new Ct([], []);
45033
45033
  Ct.removeOverlap = N4;
45034
- const Rn = Ct.empty;
45034
+ const Pn = Ct.empty;
45035
45035
  class $o {
45036
45036
  constructor(e) {
45037
45037
  this.members = e;
@@ -45046,7 +45046,7 @@ class $o {
45046
45046
  let r = [];
45047
45047
  for (let i = 0; i < this.members.length; i++) {
45048
45048
  let o = this.members[i].forChild(e, t);
45049
- o != Rn && (o instanceof $o ? r = r.concat(o.members) : r.push(o));
45049
+ o != Pn && (o instanceof $o ? r = r.concat(o.members) : r.push(o));
45050
45050
  }
45051
45051
  return $o.from(r);
45052
45052
  }
@@ -45078,7 +45078,7 @@ class $o {
45078
45078
  static from(e) {
45079
45079
  switch (e.length) {
45080
45080
  case 0:
45081
- return Rn;
45081
+ return Pn;
45082
45082
  case 1:
45083
45083
  return e[0];
45084
45084
  default:
@@ -45121,7 +45121,7 @@ function TX(n, e, t, r, i, o, s) {
45121
45121
  let h = t.map(n[c + 1] + o, -1), f = h - i, { index: p, offset: g } = r.content.findIndex(d), m = r.maybeChild(p);
45122
45122
  if (m && g == d && g + m.nodeSize == f) {
45123
45123
  let v = a[c + 2].mapInner(t, m, u + 1, n[c] + o + 1, s);
45124
- v != Rn ? (a[c] = d, a[c + 1] = f, a[c + 2] = v) : (a[c + 1] = -2, l = !0);
45124
+ v != Pn ? (a[c] = d, a[c + 1] = f, a[c + 2] = v) : (a[c + 1] = -2, l = !0);
45125
45125
  } else
45126
45126
  l = !0;
45127
45127
  }
@@ -45145,7 +45145,7 @@ function ox(n, e) {
45145
45145
  let t = [];
45146
45146
  for (let r = 0; r < n.length; r++) {
45147
45147
  let i = n[r];
45148
- t.push(new wn(i.from + e, i.to + e, i.type));
45148
+ t.push(new Cn(i.from + e, i.to + e, i.type));
45149
45149
  }
45150
45150
  return t;
45151
45151
  }
@@ -45183,13 +45183,13 @@ function cd(n, e, t, r) {
45183
45183
  if (c) {
45184
45184
  o = !0;
45185
45185
  let u = cd(c, a, t + l + 1, r);
45186
- u != Rn && i.push(l, l + a.nodeSize, u);
45186
+ u != Pn && i.push(l, l + a.nodeSize, u);
45187
45187
  }
45188
45188
  });
45189
45189
  let s = ox(o ? ax(n) : n, -t).sort(Qs);
45190
45190
  for (let a = 0; a < s.length; a++)
45191
45191
  s[a].type.valid(e, s[a]) || (r.onRemove && r.onRemove(s[a].spec), s.splice(a--, 1));
45192
- return s.length || i.length ? new Ct(s, i) : Rn;
45192
+ return s.length || i.length ? new Ct(s, i) : Pn;
45193
45193
  }
45194
45194
  function Qs(n, e) {
45195
45195
  return n.from - e.from || n.to - e.to;
@@ -45221,7 +45221,7 @@ function cf(n) {
45221
45221
  let e = [];
45222
45222
  return n.someProp("decorations", (t) => {
45223
45223
  let r = t(n.state);
45224
- r && r != Rn && e.push(r);
45224
+ r && r != Pn && e.push(r);
45225
45225
  }), n.cursorWrapper && e.push(Ct.create(n.state.doc, [n.cursorWrapper.deco])), $o.from(e);
45226
45226
  }
45227
45227
  const _X = {
@@ -45251,7 +45251,7 @@ class LX {
45251
45251
  this.view = e, this.handleDOMChange = t, this.queue = [], this.flushingSoon = -1, this.observer = null, this.currentSelection = new OX(), this.onCharData = null, this.suppressingSelectionUpdates = !1, this.lastChangedTextNode = null, this.observer = window.MutationObserver && new window.MutationObserver((r) => {
45252
45252
  for (let i = 0; i < r.length; i++)
45253
45253
  this.queue.push(r[i]);
45254
- dr && ns <= 11 && r.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : Dn && e.composing && r.some((i) => i.type == "childList" && i.target.nodeName == "TR") ? (e.input.badSafariComposition = !0, this.flushSoon()) : this.flush();
45254
+ dr && ns <= 11 && r.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : Vn && e.composing && r.some((i) => i.type == "childList" && i.target.nodeName == "TR") ? (e.input.badSafariComposition = !0, this.flushSoon()) : this.flush();
45255
45255
  }), AX && (this.onCharData = (r) => {
45256
45256
  this.queue.push({ target: r.target, type: "characterData", oldValue: r.prevValue }), this.flushSoon();
45257
45257
  }), this.onSelectionChange = this.onSelectionChange.bind(this);
@@ -45339,7 +45339,13 @@ class LX {
45339
45339
  let d = this.registerMutation(t[u], l);
45340
45340
  d && (o = o < 0 ? d.from : Math.min(d.from, o), s = s < 0 ? d.to : Math.max(d.to, s), d.typeOver && (a = !0));
45341
45341
  }
45342
- if (Kr && l.length) {
45342
+ if (l.some((u) => u.nodeName == "BR") && (e.input.lastKeyCode == 8 || e.input.lastKeyCode == 46)) {
45343
+ for (let u of l)
45344
+ if (u.nodeName == "BR" && u.parentNode) {
45345
+ let d = u.nextSibling;
45346
+ d && d.nodeType == 1 && d.contentEditable == "false" && u.parentNode.removeChild(u);
45347
+ }
45348
+ } else if (Kr && l.length) {
45343
45349
  let u = l.filter((d) => d.nodeName == "BR");
45344
45350
  if (u.length == 2) {
45345
45351
  let [d, h] = u;
@@ -45351,12 +45357,6 @@ class LX {
45351
45357
  f && f.nodeName == "LI" && (!d || IX(e, d) != f) && h.remove();
45352
45358
  }
45353
45359
  }
45354
- } else if ((Cn || Dn) && l.some((u) => u.nodeName == "BR") && (e.input.lastKeyCode == 8 || e.input.lastKeyCode == 46)) {
45355
- for (let u of l)
45356
- if (u.nodeName == "BR" && u.parentNode) {
45357
- let d = u.nextSibling;
45358
- d && d.nodeType == 1 && d.contentEditable == "false" && u.parentNode.removeChild(u);
45359
- }
45360
45360
  }
45361
45361
  let c = null;
45362
45362
  o < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && B1(r) && (c = O4(e)) && c.eq(He.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, yo(e), this.currentSelection.set(r), e.scrollToSelection()) : (o > -1 || i) && (o > -1 && (e.docView.markDirty(o, s), BX(e)), e.input.badSafariComposition && (e.input.badSafariComposition = !1, PX(e, l)), this.handleDOMChange(o, s, a, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || yo(e), this.currentSelection.set(r));
@@ -45381,7 +45381,7 @@ class LX {
45381
45381
  let { previousSibling: d, nextSibling: h } = e.addedNodes[u];
45382
45382
  (!d || Array.prototype.indexOf.call(e.addedNodes, d) < 0) && (i = d), (!h || Array.prototype.indexOf.call(e.addedNodes, h) < 0) && (o = h);
45383
45383
  }
45384
- let s = i && i.parentNode == e.target ? An(i) + 1 : 0, a = r.localPosFromDOM(e.target, s, -1), l = o && o.parentNode == e.target ? An(o) : e.target.childNodes.length, c = r.localPosFromDOM(e.target, l, 1);
45384
+ let s = i && i.parentNode == e.target ? _n(i) + 1 : 0, a = r.localPosFromDOM(e.target, s, -1), l = o && o.parentNode == e.target ? _n(o) : e.target.childNodes.length, c = r.localPosFromDOM(e.target, l, 1);
45385
45385
  return { from: a, to: c };
45386
45386
  } else return e.type == "attributes" ? { from: r.posAtStart - r.border, to: r.posAtEnd + r.border } : (this.lastChangedTextNode = e.target, {
45387
45387
  from: r.posAtStart,
@@ -45449,7 +45449,7 @@ function PX(n, e) {
45449
45449
  }
45450
45450
  function RX(n, e, t) {
45451
45451
  let { node: r, fromOffset: i, toOffset: o, from: s, to: a } = n.docView.parseRange(e, t), l = n.domSelectionRange(), c, u = l.anchorNode;
45452
- if (u && n.dom.contains(u.nodeType == 1 ? u : u.parentNode) && (c = [{ node: u, offset: l.anchorOffset }], B1(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), Cn && n.input.lastKeyCode === 8)
45452
+ if (u && n.dom.contains(u.nodeType == 1 ? u : u.parentNode) && (c = [{ node: u, offset: l.anchorOffset }], B1(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), Ln && n.input.lastKeyCode === 8)
45453
45453
  for (let m = o; m > i; m--) {
45454
45454
  let v = r.childNodes[m - 1], y = v.pmViewDesc;
45455
45455
  if (v.nodeName == "BR" && !y) {
@@ -45481,10 +45481,10 @@ function NX(n) {
45481
45481
  if (e)
45482
45482
  return e.parseRule();
45483
45483
  if (n.nodeName == "BR" && n.parentNode) {
45484
- if (Dn && /^(ul|ol)$/i.test(n.parentNode.nodeName)) {
45484
+ if (Vn && /^(ul|ol)$/i.test(n.parentNode.nodeName)) {
45485
45485
  let t = document.createElement("div");
45486
45486
  return t.appendChild(document.createElement("li")), { skip: t };
45487
- } else if (n.parentNode.lastChild == n || Dn && /^(tr|table)$/i.test(n.parentNode.nodeName))
45487
+ } else if (n.parentNode.lastChild == n || Vn && /^(tr|table)$/i.test(n.parentNode.nodeName))
45488
45488
  return { ignore: !0 };
45489
45489
  } else if (n.nodeName == "IMG" && n.getAttribute("mark-placeholder"))
45490
45490
  return { ignore: !0 };
@@ -45496,7 +45496,7 @@ function FX(n, e, t, r, i) {
45496
45496
  if (n.input.compositionPendingChanges = 0, e < 0) {
45497
45497
  let w = n.input.lastSelectionTime > Date.now() - 50 ? n.input.lastSelectionOrigin : null, x = O4(n, w);
45498
45498
  if (x && !n.state.selection.eq(x)) {
45499
- if (Cn && po && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (A) => A(n, Ns(13, "Enter"))))
45499
+ if (Ln && po && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (A) => A(n, Ns(13, "Enter"))))
45500
45500
  return;
45501
45501
  let L = n.state.tr.setSelection(x);
45502
45502
  w == "pointer" ? L.setMeta("pointer", !0) : w == "key" && L.scrollIntoView(), o && L.setMeta("composition", o), n.dispatch(L);
@@ -45532,10 +45532,10 @@ function FX(n, e, t, r, i) {
45532
45532
  return;
45533
45533
  }
45534
45534
  if (n.state.selection.anchor > p.start && $X(u, p.start, p.endA, g, m) && n.someProp("handleKeyDown", (w) => w(n, Ns(8, "Backspace")))) {
45535
- po && Cn && n.domObserver.suppressSelectionUpdates();
45535
+ po && Ln && n.domObserver.suppressSelectionUpdates();
45536
45536
  return;
45537
45537
  }
45538
- Cn && p.endB == p.start && (n.input.lastChromeDelete = Date.now()), po && !y && g.start() != m.start() && m.parentOffset == 0 && g.depth == m.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == p.endA && (p.endB -= 2, m = c.doc.resolveNoCache(p.endB - c.from), setTimeout(() => {
45538
+ Ln && p.endB == p.start && (n.input.lastChromeDelete = Date.now()), po && !y && g.start() != m.start() && m.parentOffset == 0 && g.depth == m.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == p.endA && (p.endB -= 2, m = c.doc.resolveNoCache(p.endB - c.from), setTimeout(() => {
45539
45539
  n.someProp("handleKeyDown", function(w) {
45540
45540
  return w(n, Ns(13, "Enter"));
45541
45541
  });
@@ -45544,7 +45544,7 @@ function FX(n, e, t, r, i) {
45544
45544
  let x = w || n.state.tr.replace(b, E, c.doc.slice(p.start - c.from, p.endB - c.from));
45545
45545
  if (c.sel) {
45546
45546
  let L = C8(n, x.doc, c.sel);
45547
- L && !(Cn && n.composing && L.empty && (p.start != p.endB || n.input.lastChromeDelete < Date.now() - 100) && (L.head == b || L.head == x.mapping.map(E) - 1) || dr && L.empty && L.head == b) && x.setSelection(L);
45547
+ L && !(Ln && n.composing && L.empty && (p.start != p.endB || n.input.lastChromeDelete < Date.now() - 100) && (L.head == b || L.head == x.mapping.map(E) - 1) || dr && L.empty && L.head == b) && x.setSelection(L);
45548
45548
  }
45549
45549
  return o && x.setMeta("composition", o), x.scrollIntoView();
45550
45550
  }, S;
@@ -45717,9 +45717,9 @@ class lx {
45717
45717
  let h = u == "preserve" && s && this.dom.style.overflowAnchor == null && bK(this);
45718
45718
  if (s) {
45719
45719
  this.domObserver.stop();
45720
- let f = d && (dr || Cn) && !this.composing && !i.selection.empty && !e.selection.empty && jX(i.selection, e.selection);
45720
+ let f = d && (dr || Ln) && !this.composing && !i.selection.empty && !e.selection.empty && jX(i.selection, e.selection);
45721
45721
  if (d) {
45722
- let p = Cn ? this.trackWrites = this.domSelectionRange().focusNode : null;
45722
+ let p = Ln ? this.trackWrites = this.domSelectionRange().focusNode : null;
45723
45723
  this.composing && (this.input.compositionNode = bX(this)), (o || !this.docView.update(e.doc, c, l, this)) && (this.docView.updateOuterDeco(c), this.docView.destroy(), this.docView = n8(e.doc, c, l, this.dom, this)), p && (!this.trackWrites || !this.dom.contains(this.trackWrites)) && (f = !0);
45724
45724
  }
45725
45725
  f || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && jK(this)) ? yo(this, f) : (jk(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
@@ -45963,7 +45963,7 @@ class lx {
45963
45963
  */
45964
45964
  domSelectionRange() {
45965
45965
  let e = this.domSelection();
45966
- return e ? Dn && this.root.nodeType === 11 && pK(this.dom.ownerDocument) == this.dom && DX(this, e) || e : { focusNode: null, focusOffset: 0, anchorNode: null, anchorOffset: 0 };
45966
+ return e ? Vn && this.root.nodeType === 11 && pK(this.dom.ownerDocument) == this.dom && DX(this, e) || e : { focusNode: null, focusOffset: 0, anchorNode: null, anchorOffset: 0 };
45967
45967
  }
45968
45968
  /**
45969
45969
  @internal
@@ -45982,12 +45982,12 @@ function k8(n) {
45982
45982
  if (typeof t == "function" && (t = t(n.state)), t)
45983
45983
  for (let r in t)
45984
45984
  r == "class" ? e.class += " " + t[r] : r == "style" ? e.style = (e.style ? e.style + ";" : "") + t[r] : !e[r] && r != "contenteditable" && r != "nodeName" && (e[r] = String(t[r]));
45985
- }), e.translate || (e.translate = "no"), [wn.node(0, n.state.doc.content.size, e)];
45985
+ }), e.translate || (e.translate = "no"), [Cn.node(0, n.state.doc.content.size, e)];
45986
45986
  }
45987
45987
  function x8(n) {
45988
45988
  if (n.markCursor) {
45989
45989
  let e = document.createElement("img");
45990
- e.className = "ProseMirror-separator", e.setAttribute("mark-placeholder", "true"), e.setAttribute("alt", ""), n.cursorWrapper = { dom: e, deco: wn.widget(n.state.selection.from, e, { raw: !0, marks: n.markCursor }) };
45990
+ e.className = "ProseMirror-separator", e.setAttribute("mark-placeholder", "true"), e.setAttribute("alt", ""), n.cursorWrapper = { dom: e, deco: Cn.widget(n.state.selection.from, e, { raw: !0, marks: n.markCursor }) };
45991
45991
  } else
45992
45992
  n.cursorWrapper = null;
45993
45993
  }
@@ -46100,10 +46100,10 @@ var cs = {
46100
46100
  221: "}",
46101
46101
  222: '"'
46102
46102
  }, UX = typeof navigator < "u" && /Mac/.test(navigator.platform), qX = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
46103
- for (var On = 0; On < 10; On++) cs[48 + On] = cs[96 + On] = String(On);
46104
- for (var On = 1; On <= 24; On++) cs[On + 111] = "F" + On;
46105
- for (var On = 65; On <= 90; On++)
46106
- cs[On] = String.fromCharCode(On + 32), ud[On] = String.fromCharCode(On);
46103
+ for (var An = 0; An < 10; An++) cs[48 + An] = cs[96 + An] = String(An);
46104
+ for (var An = 1; An <= 24; An++) cs[An + 111] = "F" + An;
46105
+ for (var An = 65; An <= 90; An++)
46106
+ cs[An] = String.fromCharCode(An + 32), ud[An] = String.fromCharCode(An);
46107
46107
  for (var df in cs) ud.hasOwnProperty(df) || (ud[df] = cs[df]);
46108
46108
  function ZX(n) {
46109
46109
  var e = UX && n.metaKey && n.shiftKey && !n.ctrlKey && !n.altKey || qX && n.shiftKey && n.key && n.key.length == 1 || n.key == "Unidentified", t = !e && n.key || (n.shiftKey ? ud : cs)[n.keyCode] || n.key || "Unidentified";
@@ -46563,7 +46563,7 @@ function yG(n, e, t) {
46563
46563
  if (r < e)
46564
46564
  return;
46565
46565
  const i = n.steps[r];
46566
- if (!(i instanceof bn || i instanceof Sn))
46566
+ if (!(i instanceof bn || i instanceof xn))
46567
46567
  return;
46568
46568
  const o = n.mapping.maps[r];
46569
46569
  let s = 0;
@@ -52895,38 +52895,38 @@ function Cee(n) {
52895
52895
  if (!(n.selection instanceof jt))
52896
52896
  return null;
52897
52897
  let e = document.createElement("div");
52898
- return e.className = "ProseMirror-gapcursor", Ct.create(n.doc, [wn.widget(n.selection.head, e, { key: "gapcursor" })]);
52898
+ return e.className = "ProseMirror-gapcursor", Ct.create(n.doc, [Cn.widget(n.selection.head, e, { key: "gapcursor" })]);
52899
52899
  }
52900
- var zd = 200, Mn = function() {
52900
+ var zd = 200, Sn = function() {
52901
52901
  };
52902
- Mn.prototype.append = function(e) {
52903
- return e.length ? (e = Mn.from(e), !this.length && e || e.length < zd && this.leafAppend(e) || this.length < zd && e.leafPrepend(this) || this.appendInner(e)) : this;
52902
+ Sn.prototype.append = function(e) {
52903
+ return e.length ? (e = Sn.from(e), !this.length && e || e.length < zd && this.leafAppend(e) || this.length < zd && e.leafPrepend(this) || this.appendInner(e)) : this;
52904
52904
  };
52905
- Mn.prototype.prepend = function(e) {
52906
- return e.length ? Mn.from(e).append(this) : this;
52905
+ Sn.prototype.prepend = function(e) {
52906
+ return e.length ? Sn.from(e).append(this) : this;
52907
52907
  };
52908
- Mn.prototype.appendInner = function(e) {
52908
+ Sn.prototype.appendInner = function(e) {
52909
52909
  return new wee(this, e);
52910
52910
  };
52911
- Mn.prototype.slice = function(e, t) {
52912
- return e === void 0 && (e = 0), t === void 0 && (t = this.length), e >= t ? Mn.empty : this.sliceInner(Math.max(0, e), Math.min(this.length, t));
52911
+ Sn.prototype.slice = function(e, t) {
52912
+ return e === void 0 && (e = 0), t === void 0 && (t = this.length), e >= t ? Sn.empty : this.sliceInner(Math.max(0, e), Math.min(this.length, t));
52913
52913
  };
52914
- Mn.prototype.get = function(e) {
52914
+ Sn.prototype.get = function(e) {
52915
52915
  if (!(e < 0 || e >= this.length))
52916
52916
  return this.getInner(e);
52917
52917
  };
52918
- Mn.prototype.forEach = function(e, t, r) {
52918
+ Sn.prototype.forEach = function(e, t, r) {
52919
52919
  t === void 0 && (t = 0), r === void 0 && (r = this.length), t <= r ? this.forEachInner(e, t, r, 0) : this.forEachInvertedInner(e, t, r, 0);
52920
52920
  };
52921
- Mn.prototype.map = function(e, t, r) {
52921
+ Sn.prototype.map = function(e, t, r) {
52922
52922
  t === void 0 && (t = 0), r === void 0 && (r = this.length);
52923
52923
  var i = [];
52924
52924
  return this.forEach(function(o, s) {
52925
52925
  return i.push(e(o, s));
52926
52926
  }, t, r), i;
52927
52927
  };
52928
- Mn.from = function(e) {
52929
- return e instanceof Mn ? e : e && e.length ? new hS(e) : Mn.empty;
52928
+ Sn.from = function(e) {
52929
+ return e instanceof Sn ? e : e && e.length ? new hS(e) : Sn.empty;
52930
52930
  };
52931
52931
  var hS = /* @__PURE__ */ (function(n) {
52932
52932
  function e(r) {
@@ -52959,8 +52959,8 @@ var hS = /* @__PURE__ */ (function(n) {
52959
52959
  }, t.depth.get = function() {
52960
52960
  return 0;
52961
52961
  }, Object.defineProperties(e.prototype, t), e;
52962
- })(Mn);
52963
- Mn.empty = new hS([]);
52962
+ })(Sn);
52963
+ Sn.empty = new hS([]);
52964
52964
  var wee = /* @__PURE__ */ (function(n) {
52965
52965
  function e(t, r) {
52966
52966
  n.call(this), this.left = t, this.right = r, this.length = t.length + r.length, this.depth = Math.max(t.depth, r.depth) + 1;
@@ -52993,7 +52993,7 @@ var wee = /* @__PURE__ */ (function(n) {
52993
52993
  }, e.prototype.appendInner = function(r) {
52994
52994
  return this.left.depth >= Math.max(this.right.depth, r.depth) + 1 ? new e(this.left, new e(this.right, r)) : new e(this, r);
52995
52995
  }, e;
52996
- })(Mn);
52996
+ })(Sn);
52997
52997
  const kee = 500;
52998
52998
  class ci {
52999
52999
  constructor(e, t) {
@@ -53104,10 +53104,10 @@ class ci {
53104
53104
  (h = i.length && i[f].merge(d)) ? i[f] = h : i.push(d);
53105
53105
  }
53106
53106
  } else s.map && r--;
53107
- }, this.items.length, 0), new ci(Mn.from(i.reverse()), o);
53107
+ }, this.items.length, 0), new ci(Sn.from(i.reverse()), o);
53108
53108
  }
53109
53109
  }
53110
- ci.empty = new ci(Mn.empty, 0);
53110
+ ci.empty = new ci(Sn.empty, 0);
53111
53111
  function xee(n, e) {
53112
53112
  let t;
53113
53113
  return n.forEach((r, i) => {
@@ -53348,7 +53348,7 @@ Pt.create({
53348
53348
  if (a += 1, this.options.mode === "deepest" && s - a > 0 || this.options.mode === "shallowest" && a > 1)
53349
53349
  return this.options.mode === "deepest";
53350
53350
  o.push(
53351
- wn.node(c, c + l.nodeSize, {
53351
+ Cn.node(c, c + l.nodeSize, {
53352
53352
  class: this.options.className
53353
53353
  })
53354
53354
  );
@@ -53408,7 +53408,7 @@ var Dee = Pt.create({
53408
53408
  if ((c || !this.options.showOnlyCurrent) && u) {
53409
53409
  const d = [this.options.emptyNodeClass];
53410
53410
  s && d.push(this.options.emptyEditorClass);
53411
- const h = wn.node(l, l + a.nodeSize, {
53411
+ const h = Cn.node(l, l + a.nodeSize, {
53412
53412
  class: d.join(" "),
53413
53413
  [n]: typeof this.options.placeholder == "function" ? this.options.placeholder({
53414
53414
  editor: this.editor,
@@ -53442,7 +53442,7 @@ Pt.create({
53442
53442
  props: {
53443
53443
  decorations(t) {
53444
53444
  return t.selection.empty || n.isFocused || !n.isEditable || Mx(t.selection) || n.view.dragging ? null : Ct.create(t.doc, [
53445
- wn.inline(t.selection.from, t.selection.to, {
53445
+ Cn.inline(t.selection.from, t.selection.to, {
53446
53446
  class: e.className
53447
53447
  })
53448
53448
  ]);
@@ -54095,7 +54095,7 @@ function Qee(n) {
54095
54095
  if (!(n.selection instanceof wt)) return null;
54096
54096
  const e = [];
54097
54097
  return n.selection.forEachCell((t, r) => {
54098
- e.push(wn.node(r, r + t.nodeSize, { class: "selectedCell" }));
54098
+ e.push(Cn.node(r, r + t.nodeSize, { class: "selectedCell" }));
54099
54099
  }), Ct.create(n.doc, e);
54100
54100
  }
54101
54101
  function ete({ $from: n, $to: e }) {
@@ -55067,7 +55067,7 @@ function Fte(n, e) {
55067
55067
  if ((a == o.width - 1 || o.map[u] != o.map[u + 1]) && (c == 0 || o.map[u] != o.map[u - o.width])) {
55068
55068
  var l;
55069
55069
  const d = o.map[u], h = s + d + i.nodeAt(d).nodeSize - 1, f = document.createElement("div");
55070
- f.className = "column-resize-handle", !((l = Sr.getState(n)) === null || l === void 0) && l.dragging && t.push(wn.node(s + d, s + d + i.nodeAt(d).nodeSize, { class: "column-resize-dragging" })), t.push(wn.widget(h, f));
55070
+ f.className = "column-resize-handle", !((l = Sr.getState(n)) === null || l === void 0) && l.dragging && t.push(Cn.node(s + d, s + d + i.nodeAt(d).nodeSize, { class: "column-resize-dragging" })), t.push(Cn.widget(h, f));
55071
55071
  }
55072
55072
  }
55073
55073
  return Ct.create(n.doc, t);
@@ -60966,7 +60966,7 @@ const Boe = { class: "cropper-wrapper_div" }, Doe = {
60966
60966
  ])]),
60967
60967
  _: 1
60968
60968
  }, 8, ["style"]),
60969
- n.showPreview ? Fn((O(), N("img", {
60969
+ n.showPreview ? Hn((O(), N("img", {
60970
60970
  key: 0,
60971
60971
  id: "cropper-preview",
60972
60972
  ref_key: "cropPreview",
@@ -61148,7 +61148,7 @@ const Boe = { class: "cropper-wrapper_div" }, Doe = {
61148
61148
  }, null, 8, ["data", "height", "options", "width"])) : z("", !0)
61149
61149
  ]));
61150
61150
  }
61151
- }, Uhe = /* @__PURE__ */ Ee(Poe, [["__scopeId", "data-v-3f243f7c"]]);
61151
+ }, Uhe = /* @__PURE__ */ Ee(Poe, [["__scopeId", "data-v-5121af4a"]]);
61152
61152
  function KS(n) {
61153
61153
  return dy() ? (hy(n), !0) : !1;
61154
61154
  }
@@ -61273,7 +61273,7 @@ function qoe(n, e, t = {}) {
61273
61273
  stop: a
61274
61274
  };
61275
61275
  }
61276
- function Hn(n, e, t) {
61276
+ function Nn(n, e, t) {
61277
61277
  const r = $e(
61278
61278
  n,
61279
61279
  (i, o, s) => {
@@ -63596,8 +63596,8 @@ function l9(n) {
63596
63596
  return "";
63597
63597
  }
63598
63598
  const ya = Dae, gM = (n) => n;
63599
- let Ln = gM;
63600
- process.env.NODE_ENV !== "production" && (Ln = typeof console < "u" ? function(e, t = x3.logLevel) {
63599
+ let On = gM;
63600
+ process.env.NODE_ENV !== "production" && (On = typeof console < "u" ? function(e, t = x3.logLevel) {
63601
63601
  x3.silent === !1 && console[t](`[VueTypes warn]: ${e}`);
63602
63602
  } : gM);
63603
63603
  const Nl = (n, e) => Pae.call(n, e), Rae = Number.isInteger || function(n) {
@@ -63622,16 +63622,16 @@ function La(n, e, t = !1) {
63622
63622
  }
63623
63623
  if (!i) {
63624
63624
  const a = `${s}value "${e}" should be of type "${o}"`;
63625
- return t === !1 ? (Ln(a), !1) : a;
63625
+ return t === !1 ? (On(a), !1) : a;
63626
63626
  }
63627
63627
  if (Nl(r, "validator") && Fl(r.validator)) {
63628
- const a = Ln, l = [];
63629
- if (Ln = (c) => {
63628
+ const a = On, l = [];
63629
+ if (On = (c) => {
63630
63630
  l.push(c);
63631
- }, i = r.validator(e), Ln = a, !i) {
63631
+ }, i = r.validator(e), On = a, !i) {
63632
63632
  const c = (l.length > 1 ? "* " : "") + l.join(`
63633
63633
  * `);
63634
- return l.length = 0, t === !1 ? (Ln(c), i) : c;
63634
+ return l.length = 0, t === !1 ? (On(c), i) : c;
63635
63635
  }
63636
63636
  }
63637
63637
  return i;
@@ -63640,14 +63640,14 @@ function _r(n, e) {
63640
63640
  const t = Object.defineProperties(e, { _vueTypes_name: { value: n, writable: !0 }, isRequired: { get() {
63641
63641
  return this.required = !0, this;
63642
63642
  } }, def: { value(i) {
63643
- return i === void 0 ? (Nl(this, "default") && delete this.default, this) : Fl(i) || La(this, i, !0) === !0 ? (this.default = Hl(i) ? () => [...i] : ya(i) ? () => Object.assign({}, i) : i, this) : (Ln(`${this._vueTypes_name} - invalid default value: "${i}"`), this);
63643
+ return i === void 0 ? (Nl(this, "default") && delete this.default, this) : Fl(i) || La(this, i, !0) === !0 ? (this.default = Hl(i) ? () => [...i] : ya(i) ? () => Object.assign({}, i) : i, this) : (On(`${this._vueTypes_name} - invalid default value: "${i}"`), this);
63644
63644
  } } }), { validator: r } = t;
63645
63645
  return Fl(r) && (t.validator = k7(r, t)), t;
63646
63646
  }
63647
63647
  function Ri(n, e) {
63648
63648
  const t = _r(n, e);
63649
63649
  return Object.defineProperty(t, "validate", { value(r) {
63650
- return Fl(this.validator) && Ln(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:
63650
+ return Fl(this.validator) && On(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:
63651
63651
  ${JSON.stringify(this)}`), this.validator = k7(r, this), this;
63652
63652
  } });
63653
63653
  }
@@ -63677,7 +63677,7 @@ function qae(n, e = "custom validation failed") {
63677
63677
  if (typeof n != "function") throw new TypeError("[VueTypes error]: You must provide a function as argument");
63678
63678
  return _r(n.name || "<<anonymous function>>", { type: null, validator(t) {
63679
63679
  const r = n(t);
63680
- return r || Ln(`${this._vueTypes_name} - ${e}`), r;
63680
+ return r || On(`${this._vueTypes_name} - ${e}`), r;
63681
63681
  } });
63682
63682
  }
63683
63683
  function Zae(n) {
@@ -63691,7 +63691,7 @@ function Zae(n) {
63691
63691
  }, []);
63692
63692
  return _r("oneOf", { type: t.length > 0 ? t : void 0, validator(r) {
63693
63693
  const i = n.indexOf(r) !== -1;
63694
- return i || Ln(e), i;
63694
+ return i || On(e), i;
63695
63695
  } });
63696
63696
  }
63697
63697
  function Yae(n) {
@@ -63705,7 +63705,7 @@ function Yae(n) {
63705
63705
  continue;
63706
63706
  }
63707
63707
  if (Fl(o.validator) && (e = !0), o.type === !0 || !o.type) {
63708
- Ln('oneOfType - invalid usage of "true" or "null" as types.');
63708
+ On('oneOfType - invalid usage of "true" or "null" as types.');
63709
63709
  continue;
63710
63710
  }
63711
63711
  t = t.concat(o.type);
@@ -63718,7 +63718,7 @@ function Yae(n) {
63718
63718
  const l = La(Yd(a) && a._vueTypes_name === "oneOf" ? a.type || null : a, i, !0);
63719
63719
  return typeof l == "string" && o.push(l), l === !0;
63720
63720
  });
63721
- return s || Ln(`oneOfType - provided value does not match any of the ${o.length} passed-in validators:
63721
+ return s || On(`oneOfType - provided value does not match any of the ${o.length} passed-in validators:
63722
63722
  ${Y1(o.join(`
63723
63723
  `))}`), s;
63724
63724
  } } : { type: r });
@@ -63727,7 +63727,7 @@ function Kae(n) {
63727
63727
  return _r("arrayOf", { type: Array, validator(e) {
63728
63728
  let t = "";
63729
63729
  const r = e.every((i) => (t = La(n, i, !0), t === !0));
63730
- return r || Ln(`arrayOf - value validation error:
63730
+ return r || On(`arrayOf - value validation error:
63731
63731
  ${Y1(t)}`), r;
63732
63732
  } });
63733
63733
  }
@@ -63738,7 +63738,7 @@ function Gae(n) {
63738
63738
  return _r("objectOf", { type: Object, validator(e) {
63739
63739
  let t = "";
63740
63740
  const r = Object.keys(e).every((i) => (t = La(n, e[i], !0), t === !0));
63741
- return r || Ln(`objectOf - value validation error:
63741
+ return r || On(`objectOf - value validation error:
63742
63742
  ${Y1(t)}`), r;
63743
63743
  } });
63744
63744
  }
@@ -63751,12 +63751,12 @@ function Jae(n) {
63751
63751
  const o = Object.keys(i);
63752
63752
  if (t.length > 0 && t.some((s) => o.indexOf(s) === -1)) {
63753
63753
  const s = t.filter((a) => o.indexOf(a) === -1);
63754
- return Ln(s.length === 1 ? `shape - required property "${s[0]}" is not defined.` : `shape - required properties "${s.join('", "')}" are not defined.`), !1;
63754
+ return On(s.length === 1 ? `shape - required property "${s[0]}" is not defined.` : `shape - required properties "${s.join('", "')}" are not defined.`), !1;
63755
63755
  }
63756
63756
  return o.every((s) => {
63757
- if (e.indexOf(s) === -1) return this._vueTypes_isLoose === !0 || (Ln(`shape - shape definition does not include a "${s}" property. Allowed keys: "${e.join('", "')}".`), !1);
63757
+ if (e.indexOf(s) === -1) return this._vueTypes_isLoose === !0 || (On(`shape - shape definition does not include a "${s}" property. Allowed keys: "${e.join('", "')}".`), !1);
63758
63758
  const a = La(n[s], i[s], !0);
63759
- return typeof a == "string" && Ln(`shape - "${s}" property validation error:
63759
+ return typeof a == "string" && On(`shape - "${s}" property validation error:
63760
63760
  ${Y1(a)}`), a === !0;
63761
63761
  });
63762
63762
  } });
@@ -63867,16 +63867,16 @@ var iu = function(n) {
63867
63867
  return n;
63868
63868
  }, Xl = function(n) {
63869
63869
  return X1(hs(n));
63870
- }, kn = function(n) {
63870
+ }, wn = function(n) {
63871
63871
  return typeof n == "object" ? n !== null : typeof n == "function";
63872
63872
  }, S7 = function(n, e) {
63873
- if (!kn(n)) return n;
63873
+ if (!wn(n)) return n;
63874
63874
  var t, r;
63875
- if (e && typeof (t = n.toString) == "function" && !kn(r = t.call(n)) || typeof (t = n.valueOf) == "function" && !kn(r = t.call(n)) || !e && typeof (t = n.toString) == "function" && !kn(r = t.call(n))) return r;
63875
+ if (e && typeof (t = n.toString) == "function" && !wn(r = t.call(n)) || typeof (t = n.valueOf) == "function" && !wn(r = t.call(n)) || !e && typeof (t = n.toString) == "function" && !wn(r = t.call(n))) return r;
63876
63876
  throw TypeError("Can't convert object to primitive value");
63877
63877
  }, ole = {}.hasOwnProperty, cn = function(n, e) {
63878
63878
  return ole.call(n, e);
63879
- }, S3 = pn.document, sle = kn(S3) && kn(S3.createElement), vM = function(n) {
63879
+ }, S3 = pn.document, sle = wn(S3) && wn(S3.createElement), vM = function(n) {
63880
63880
  return sle ? S3.createElement(n) : {};
63881
63881
  }, yM = !jr && !_t((function() {
63882
63882
  return Object.defineProperty(vM("div"), "a", { get: function() {
@@ -63889,7 +63889,7 @@ var iu = function(n) {
63889
63889
  }
63890
63890
  if (cn(n, e)) return K1(!nle.f.call(n, e), n[e]);
63891
63891
  } }, er = function(n) {
63892
- if (!kn(n)) throw TypeError(String(n) + " is not an object");
63892
+ if (!wn(n)) throw TypeError(String(n) + " is not an object");
63893
63893
  return n;
63894
63894
  }, p9 = Object.defineProperty, Ao = { f: jr ? p9 : function(n, e, t) {
63895
63895
  if (er(n), e = S7(e, !0), er(t), yM) try {
@@ -63946,7 +63946,7 @@ var fs = { set: Kd, get: g0, has: Xd, enforce: function(n) {
63946
63946
  }, getterFor: function(n) {
63947
63947
  return function(e) {
63948
63948
  var t;
63949
- if (!kn(e) || (t = g0(e)).type !== n) throw TypeError("Incompatible receiver, " + n + " required");
63949
+ if (!wn(e) || (t = g0(e)).type !== n) throw TypeError("Incompatible receiver, " + n + " required");
63950
63950
  return t;
63951
63951
  };
63952
63952
  } }, ps = x7((function(n) {
@@ -64087,7 +64087,7 @@ var Wa, Qd, Oo = function(n) {
64087
64087
  return cn(ou, n) || (SM && cn(m0, n) ? ou[n] = m0[n] : ou[n] = zle("Symbol." + n)), ou[n];
64088
64088
  }, jle = Zt("species"), Q1 = function(n, e) {
64089
64089
  var t;
64090
- return Vl(n) && (typeof (t = n.constructor) != "function" || t !== Array && !Vl(t.prototype) ? kn(t) && (t = t[jle]) === null && (t = void 0) : t = void 0), new (t === void 0 ? Array : t)(e === 0 ? 0 : e);
64090
+ return Vl(n) && (typeof (t = n.constructor) != "function" || t !== Array && !Vl(t.prototype) ? wn(t) && (t = t[jle]) === null && (t = void 0) : t = void 0), new (t === void 0 ? Array : t)(e === 0 ? 0 : e);
64091
64091
  }, $l = function(n, e, t) {
64092
64092
  var r = S7(e);
64093
64093
  r in n ? Ao.f(n, r, K1(0, t)) : n[r] = t;
@@ -64196,7 +64196,7 @@ var t2e = Zt("species"), n2e = !_t((function() {
64196
64196
  r && Jr(RegExp.prototype[i], "sham", !0);
64197
64197
  }, i2e = Zt("match"), BM = function(n) {
64198
64198
  var e;
64199
- return kn(n) && ((e = n[i2e]) !== void 0 ? !!e : wo(n) == "RegExp");
64199
+ return wn(n) && ((e = n[i2e]) !== void 0 ? !!e : wo(n) == "RegExp");
64200
64200
  }, B7 = function(n) {
64201
64201
  if (typeof n != "function") throw TypeError(String(n) + " is not a function");
64202
64202
  return n;
@@ -64272,7 +64272,7 @@ jn({ target: "String", proto: !0, forced: (function(n) {
64272
64272
  var g2e = O7("slice"), m2e = Jl("slice", { ACCESSORS: !0, 0: 0, 1: 2 }), v2e = Zt("species"), y2e = [].slice, b2e = Math.max;
64273
64273
  jn({ target: "Array", proto: !0, forced: !g2e || !m2e }, { slice: function(n, e) {
64274
64274
  var t, r, i, o = Xl(this), s = Dr(o.length), a = Gd(n, s), l = Gd(e === void 0 ? s : e, s);
64275
- if (Vl(o) && (typeof (t = o.constructor) != "function" || t !== Array && !Vl(t.prototype) ? kn(t) && (t = t[v2e]) === null && (t = void 0) : t = void 0, t === Array || t === void 0)) return y2e.call(o, a, l);
64275
+ if (Vl(o) && (typeof (t = o.constructor) != "function" || t !== Array && !Vl(t.prototype) ? wn(t) && (t = t[v2e]) === null && (t = void 0) : t = void 0, t === Array || t === void 0)) return y2e.call(o, a, l);
64276
64276
  for (r = new (t === void 0 ? Array : t)(b2e(l - a, 0)), i = 0; a < l; a++, i++) a in o && $l(r, i, o[a]);
64277
64277
  return r.length = i, r;
64278
64278
  } });
@@ -64501,7 +64501,7 @@ var NM = Zt("isConcatSpreadable"), D2e = e1 >= 51 || !_t((function() {
64501
64501
  var n = [];
64502
64502
  return n[NM] = !1, n.concat()[0] !== n;
64503
64503
  })), I2e = O7("concat"), P2e = function(n) {
64504
- if (!kn(n)) return !1;
64504
+ if (!wn(n)) return !1;
64505
64505
  var e = n[NM];
64506
64506
  return e !== void 0 ? !!e : Vl(n);
64507
64507
  };
@@ -64695,7 +64695,7 @@ var Ps, R9, N9, t0e = !_t((function() {
64695
64695
  }, o = function(a) {
64696
64696
  e(a, t, { value: { objectID: "O" + ++r, weakData: {} } });
64697
64697
  }, s = n.exports = { REQUIRED: !1, fastKey: function(a, l) {
64698
- if (!kn(a)) return typeof a == "symbol" ? a : (typeof a == "string" ? "S" : "P") + a;
64698
+ if (!wn(a)) return typeof a == "symbol" ? a : (typeof a == "string" ? "S" : "P") + a;
64699
64699
  if (!cn(a, t)) {
64700
64700
  if (!i(a)) return "F";
64701
64701
  if (!l) return "E";
@@ -64752,7 +64752,7 @@ var Ps, R9, N9, t0e = !_t((function() {
64752
64752
  }
64753
64753
  return function(r, i) {
64754
64754
  return er(r), (function(o) {
64755
- if (!kn(o) && o !== null) throw TypeError("Can't set " + String(o) + " as a prototype");
64755
+ if (!wn(o) && o !== null) throw TypeError("Can't set " + String(o) + " as a prototype");
64756
64756
  })(i), e ? n.call(r, i) : r.__proto__ = i, r;
64757
64757
  };
64758
64758
  })() : void 0), $9 = function(n, e, t) {
@@ -64807,11 +64807,11 @@ var P7 = { IteratorPrototype: Ps, BUGGY_SAFARI_ITERATORS: ZM }, o0e = P7.Iterato
64807
64807
  ps(a, m, m == "add" ? function(y) {
64808
64808
  return v.call(this, y === 0 ? 0 : y), this;
64809
64809
  } : m == "delete" ? function(y) {
64810
- return !(i && !kn(y)) && v.call(this, y === 0 ? 0 : y);
64810
+ return !(i && !wn(y)) && v.call(this, y === 0 ? 0 : y);
64811
64811
  } : m == "get" ? function(y) {
64812
- return i && !kn(y) ? void 0 : v.call(this, y === 0 ? 0 : y);
64812
+ return i && !wn(y) ? void 0 : v.call(this, y === 0 ? 0 : y);
64813
64813
  } : m == "has" ? function(y) {
64814
- return !(i && !kn(y)) && v.call(this, y === 0 ? 0 : y);
64814
+ return !(i && !wn(y)) && v.call(this, y === 0 ? 0 : y);
64815
64815
  } : function(y, b) {
64816
64816
  return v.call(this, y === 0 ? 0 : y, b), this;
64817
64817
  });
@@ -64832,7 +64832,7 @@ var P7 = { IteratorPrototype: Ps, BUGGY_SAFARI_ITERATORS: ZM }, o0e = P7.Iterato
64832
64832
  F9(m, l, n);
64833
64833
  var y = (function(b, E, T) {
64834
64834
  var S, w;
64835
- return r1 && typeof (S = E.constructor) == "function" && S !== T && kn(w = S.prototype) && w !== T.prototype && r1(b, w), b;
64835
+ return r1 && typeof (S = E.constructor) == "function" && S !== T && wn(w = S.prototype) && w !== T.prototype && r1(b, w), b;
64836
64836
  })(new s(), m, l);
64837
64837
  return v != null && H9(v, y[o], { that: y, AS_ENTRIES: r }), y;
64838
64838
  }))).prototype = a, a.constructor = l), (f || g) && (u("delete"), u("has"), r && u("get")), (g || h) && u(o), i && a.clear && delete a.clear;
@@ -65466,23 +65466,23 @@ function uT(n, e, t, r, i) {
65466
65466
  }
65467
65467
  var ih = sce(function(n, e, t) {
65468
65468
  uT(n, e, t);
65469
- }), Vue = Object.defineProperty, $ue = (n, e, t) => e in n ? Vue(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, In = (n, e, t) => ($ue(n, typeof e != "symbol" ? e + "" : e, t), t);
65469
+ }), Vue = Object.defineProperty, $ue = (n, e, t) => e in n ? Vue(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Dn = (n, e, t) => ($ue(n, typeof e != "symbol" ? e + "" : e, t), t);
65470
65470
  const Xt = (n) => Math.round(n * 100) / 100;
65471
65471
  class Ut {
65472
65472
  constructor(e) {
65473
- In(this, "instance"), In(this, "alphaValue", 0), In(this, "redValue", 0), In(this, "greenValue", 0), In(this, "blueValue", 0), In(this, "hueValue", 0), In(this, "saturationValue", 0), In(this, "brightnessValue", 0), In(this, "hslSaturationValue", 0), In(this, "lightnessValue", 0), In(this, "initAlpha", () => {
65473
+ Dn(this, "instance"), Dn(this, "alphaValue", 0), Dn(this, "redValue", 0), Dn(this, "greenValue", 0), Dn(this, "blueValue", 0), Dn(this, "hueValue", 0), Dn(this, "saturationValue", 0), Dn(this, "brightnessValue", 0), Dn(this, "hslSaturationValue", 0), Dn(this, "lightnessValue", 0), Dn(this, "initAlpha", () => {
65474
65474
  const t = this.instance.getAlpha();
65475
65475
  this.alphaValue = Math.min(1, t) * 100;
65476
- }), In(this, "initLightness", () => {
65476
+ }), Dn(this, "initLightness", () => {
65477
65477
  const { s: t, l: r } = this.instance.toHsl();
65478
65478
  this.hslSaturationValue = Xt(t), this.lightnessValue = Xt(r);
65479
- }), In(this, "initRgb", () => {
65479
+ }), Dn(this, "initRgb", () => {
65480
65480
  const { r: t, g: r, b: i } = this.instance.toRgb();
65481
65481
  this.redValue = Xt(t), this.greenValue = Xt(r), this.blueValue = Xt(i);
65482
- }), In(this, "initHsb", () => {
65482
+ }), Dn(this, "initHsb", () => {
65483
65483
  const { h: t, s: r, v: i } = this.instance.toHsv();
65484
65484
  this.hueValue = Math.min(360, Math.ceil(t)), this.saturationValue = Xt(r), this.brightnessValue = Xt(i);
65485
- }), In(this, "toHexString", () => this.instance.toHexString()), In(this, "toRgbString", () => this.instance.toRgbString()), this.instance = ge(e), this.initRgb(), this.initHsb(), this.initLightness(), this.initAlpha();
65485
+ }), Dn(this, "toHexString", () => this.instance.toHexString()), Dn(this, "toRgbString", () => this.instance.toRgbString()), this.instance = ge(e), this.initRgb(), this.initHsb(), this.initLightness(), this.initAlpha();
65486
65486
  }
65487
65487
  toString(e) {
65488
65488
  return this.instance.toString(e);
@@ -65847,7 +65847,7 @@ const dT = /* @__PURE__ */ ri(Yue, [["render", Gue], ["__scopeId", "data-v-b969f
65847
65847
  o && o.vnode.el && d.value && un(() => {
65848
65848
  f();
65849
65849
  });
65850
- }), Hn(
65850
+ }), Nn(
65851
65851
  () => n.color,
65852
65852
  (b) => {
65853
65853
  ih(l, {
@@ -66148,13 +66148,13 @@ const Z7 = /* @__PURE__ */ ri(pde, [["render", yde], ["__scopeId", "data-v-0f657
66148
66148
  s(v || "");
66149
66149
  }
66150
66150
  };
66151
- return Hn(
66151
+ return Nn(
66152
66152
  () => n.color,
66153
66153
  (v) => {
66154
66154
  v && (u.color = v, u.alpha = Math.round(u.color.alpha), u.hex = u.color.hex, u.rgba = u.color.RGB);
66155
66155
  },
66156
66156
  { deep: !0 }
66157
- ), Hn(
66157
+ ), Nn(
66158
66158
  () => u.color,
66159
66159
  () => {
66160
66160
  u.color && (u.previewBgColor = u.color.toRgbString());
@@ -66198,7 +66198,7 @@ function Ade(n, e, t, r, i, o) {
66198
66198
  ]),
66199
66199
  n.inputType === "hex" ? (O(), N("div", xde, [
66200
66200
  D("div", Sde, [
66201
- Fn(D("input", {
66201
+ Hn(D("input", {
66202
66202
  "onUpdate:modelValue": e[1] || (e[1] = (s) => n.state.hex = s),
66203
66203
  maxlength: "8",
66204
66204
  onInput: e[2] || (e[2] = (...s) => n.onInputChange && n.onInputChange(...s)),
@@ -66273,13 +66273,13 @@ const Y7 = /* @__PURE__ */ ri(bde, [["render", Ade], ["__scopeId", "data-v-7334a
66273
66273
  const m = g.target.value.replace("#", "");
66274
66274
  ge(m).isValid() && (r.color.hex = m);
66275
66275
  };
66276
- return Hn(
66276
+ return Nn(
66277
66277
  () => n.color,
66278
66278
  (g) => {
66279
66279
  g && (r.color = g);
66280
66280
  },
66281
66281
  { deep: !0 }
66282
- ), Hn(
66282
+ ), Nn(
66283
66283
  () => r.color,
66284
66284
  () => {
66285
66285
  r.hex = r.color.hex, r.rgb = r.color.toRgbString(), l(), e("update:color", r.color), e("change", r.color);
@@ -66385,13 +66385,13 @@ const ly = /* @__PURE__ */ ri(Ode, [["render", Nde], ["__scopeId", "data-v-48e3c
66385
66385
  }, d = (h) => {
66386
66386
  h !== "advance" && (r.color.hex = h);
66387
66387
  };
66388
- return Hn(
66388
+ return Nn(
66389
66389
  () => n.color,
66390
66390
  (h) => {
66391
66391
  h && (r.color = h);
66392
66392
  },
66393
66393
  { deep: !0 }
66394
- ), Hn(
66394
+ ), Nn(
66395
66395
  () => r.color,
66396
66396
  () => {
66397
66397
  r.hex = r.color.hex, r.rgb = r.color.toRgbString(), s(), e("update:color", r.color), e("change", r.color);
@@ -66669,19 +66669,19 @@ const Ude = (n, e) => {
66669
66669
  h(k);
66670
66670
  }
66671
66671
  }));
66672
- }), Hn(
66672
+ }), Nn(
66673
66673
  () => t.startColor,
66674
66674
  (k) => {
66675
66675
  t.startColorRgba = k.toRgbString();
66676
66676
  },
66677
66677
  { deep: !0 }
66678
- ), Hn(
66678
+ ), Nn(
66679
66679
  () => t.endColor,
66680
66680
  (k) => {
66681
66681
  t.endColorRgba = k.toRgbString();
66682
66682
  },
66683
66683
  { deep: !0 }
66684
- ), Hn(
66684
+ ), Nn(
66685
66685
  () => l.value,
66686
66686
  () => {
66687
66687
  A();
@@ -66725,7 +66725,7 @@ function p1e(n, e, t, r, i, o) {
66725
66725
  return O(), N("div", Kde, [
66726
66726
  D("div", Xde, [
66727
66727
  D("div", null, [
66728
- Fn(D("div", {
66728
+ Hn(D("div", {
66729
66729
  class: "back",
66730
66730
  style: { cursor: "pointer" },
66731
66731
  onClick: e[0] || (e[0] = (...m) => n.onBack && n.onBack(...m))
@@ -66741,7 +66741,7 @@ function p1e(n, e, t, r, i, o) {
66741
66741
  onClick: e[1] || (e[1] = (...v) => n.onTypeChange && n.onTypeChange(...v))
66742
66742
  }, me(n.lang ? n.lang[m] : m), 3)), 64))
66743
66743
  ]),
66744
- Fn(D("div", Qde, [
66744
+ Hn(D("div", Qde, [
66745
66745
  D("div", e1e, [
66746
66746
  D("input", {
66747
66747
  value: n.state.angle,
@@ -66843,7 +66843,7 @@ const uy = /* @__PURE__ */ ri(Yde, [["render", p1e], ["__scopeId", "data-v-c4d6d
66843
66843
  }), r = rr(K7), i = (o) => {
66844
66844
  t.activeKey = o, e("update:activeKey", o), e("change", o);
66845
66845
  };
66846
- return Hn(
66846
+ return Nn(
66847
66847
  () => n.activeKey,
66848
66848
  (o) => {
66849
66849
  t.activeKey = o;
@@ -67120,27 +67120,27 @@ const k1e = /* @__PURE__ */ ri(g1e, [["render", w1e], ["__scopeId", "data-v-0492
67120
67120
  };
67121
67121
  return Oa(() => {
67122
67122
  E(), h || w();
67123
- }), Hn(
67123
+ }), Nn(
67124
67124
  () => n.gradientColor,
67125
67125
  (k) => {
67126
67126
  k != a.gradientColor && (a.gradientColor = k);
67127
67127
  }
67128
- ), Hn(
67128
+ ), Nn(
67129
67129
  () => a.gradientColor,
67130
67130
  () => {
67131
67131
  E();
67132
67132
  }
67133
- ), Hn(
67133
+ ), Nn(
67134
67134
  () => n.activeKey,
67135
67135
  (k) => {
67136
67136
  r.activeKey = k;
67137
67137
  }
67138
- ), Hn(
67138
+ ), Nn(
67139
67139
  () => n.useType,
67140
67140
  (k) => {
67141
67141
  r.activeKey !== "gradient" && k === "gradient" ? r.activeKey = "gradient" : r.activeKey = "pure";
67142
67142
  }
67143
- ), Hn(
67143
+ ), Nn(
67144
67144
  () => n.pureColor,
67145
67145
  (k) => {
67146
67146
  ge.equals(k, r.pureColor) || (r.pureColor = k, l.value = new Ut(k));
@@ -67201,7 +67201,7 @@ function O1e(n, e, t, r, i, o) {
67201
67201
  }, null, 4)
67202
67202
  ], 2),
67203
67203
  (O(), ae(Cr, { to: n.pickerContainer }, [
67204
- Fn(D("div", {
67204
+ Hn(D("div", {
67205
67205
  ref: "pickerRef",
67206
67206
  style: qe({ zIndex: n.zIndex }),
67207
67207
  onMouseleave: e[3] || (e[3] = (...a) => n.onAutoClose && n.onAutoClose(...a))
@@ -67296,7 +67296,7 @@ const L1e = /* @__PURE__ */ ri(E1e, [["render", O1e], ["__scopeId", "data-v-354c
67296
67296
  i.value = u;
67297
67297
  }
67298
67298
  ), (u, d) => (O(), N("div", B1e, [
67299
- Fn(D("input", {
67299
+ Hn(D("input", {
67300
67300
  "onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
67301
67301
  class: te(["single-input__input", { error: o.value }]),
67302
67302
  disabled: n.disabled,
@@ -67433,7 +67433,7 @@ const L1e = /* @__PURE__ */ ri(E1e, [["render", O1e], ["__scopeId", "data-v-354c
67433
67433
  onRemove: (T) => g(E)
67434
67434
  }, null, 8, ["disabled", "label", "tag-class", "onRemove"]))), 128))
67435
67435
  ]),
67436
- Fn(D("input", {
67436
+ Hn(D("input", {
67437
67437
  "onUpdate:modelValue": y[0] || (y[0] = (b) => i.value = b),
67438
67438
  class: "multiple-input__input",
67439
67439
  disabled: n.disabled,
@@ -67506,7 +67506,7 @@ const L1e = /* @__PURE__ */ ri(E1e, [["render", O1e], ["__scopeId", "data-v-354c
67506
67506
  const t = n, r = e, i = (s) => t.multiple ? j1e(s, t.selectedValues, t.valueKey) : Z0(s, t.valueKey) === t.selectedValue, o = (s) => {
67507
67507
  r("select", s);
67508
67508
  };
67509
- return (s, a) => Fn((O(), N("ul", W1e, [
67509
+ return (s, a) => Hn((O(), N("ul", W1e, [
67510
67510
  (O(!0), N(Se, null, We(n.options, (l) => (O(), N("li", {
67511
67511
  key: $(Z0)(l, n.valueKey),
67512
67512
  class: te({ selected: i(l) }),
@@ -67722,7 +67722,7 @@ const L1e = /* @__PURE__ */ ri(E1e, [["render", O1e], ["__scopeId", "data-v-354c
67722
67722
  ])) : z("", !0)
67723
67723
  ], 512));
67724
67724
  }
67725
- }), Yhe = /* @__PURE__ */ Ee(X1e, [["__scopeId", "data-v-ffa887fc"]]);
67725
+ }), Yhe = /* @__PURE__ */ Ee(X1e, [["__scopeId", "data-v-dff64e23"]]);
67726
67726
  export {
67727
67727
  nhe as DhAdvancedDatePicker,
67728
67728
  rhe as DhAdvancedFilter,