vue-spear-tip 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/.vite/manifest.json +17 -17
  2. package/dist/{Button-C5m9ByFN.js → Button-DZlKBvlw.js} +1 -1
  3. package/dist/{Button-BEdTx9u1.cjs → Button-DpDqwLlR.cjs} +1 -1
  4. package/dist/{CodeHighlight-BQ1d2aqx.js → CodeHighlight-BONqkePV.js} +1 -1
  5. package/dist/{CodeHighlight-nbryO056.cjs → CodeHighlight-WaVjepT3.cjs} +1 -1
  6. package/dist/{DateField-DxsK3GG9.cjs → DateField-BwOE2XuE.cjs} +4 -4
  7. package/dist/{DateField-CFvAUmKN.js → DateField-DCshiDON.js} +324 -317
  8. package/dist/Interfaces/IGlobalVST.d.ts +6 -0
  9. package/dist/{SelectField-BOx6vfDK.js → SelectField-C97iZqqJ.js} +140 -133
  10. package/dist/{SelectField-ClKKyDbm.cjs → SelectField-DJg-e6r7.cjs} +7 -7
  11. package/dist/{StringField-DRfphhbX.cjs → StringField-BiddnfN1.cjs} +1 -1
  12. package/dist/{StringField-DdPq8L1n.js → StringField-q2EjZuwT.js} +121 -123
  13. package/dist/Tabs--qXAltMn.cjs +1 -0
  14. package/dist/Tabs-i2bTEtg7.js +77 -0
  15. package/dist/{index-B5vZ3Sg-.cjs → index-BmhExWks.cjs} +1 -1
  16. package/dist/{index-D38VsUaN.js → index-hQ1VmssH.js} +338 -317
  17. package/dist/replaceable/BaseComponent.vue +1 -0
  18. package/dist/vue-spear-tip.cjs.js +1 -1
  19. package/dist/vue-spear-tip.css +1 -1
  20. package/dist/vue-spear-tip.es.js +1 -1
  21. package/docs/index.html +2 -2
  22. package/docs/static/{Button-gIUrdnJP.js → Button-BI5BLid9.js} +1 -1
  23. package/docs/static/{ButtonInherited-D2Mzenov.js → ButtonInherited-Dwuz_QB-.js} +1 -1
  24. package/docs/static/{CodeHighlight-DrpNg95H.js → CodeHighlight-DwP55Obc.js} +1 -1
  25. package/docs/static/{DateField-BvSvZnWx.js → DateField-BD-4IMMe.js} +4 -4
  26. package/docs/static/{DateField-BvE8SnW6.css → DateField-DfbnkNv3.css} +1 -1
  27. package/docs/static/{FieldComponent.vue_vue_type_script_lang-C1h8xGCf.js → FieldComponent.vue_vue_type_script_lang-Dwp-wLcy.js} +1 -1
  28. package/docs/static/{SelectField-CM692gdJ.css → SelectField-BMU3NQkW.css} +1 -1
  29. package/docs/static/{SelectField-BqYtVfX-.js → SelectField-DdvXIk4C.js} +7 -7
  30. package/docs/static/StringField-BqYql_dk.js +1 -0
  31. package/docs/static/StringField-DV9336PV.css +1 -0
  32. package/docs/static/Tabs-Co8T0Qi9.css +1 -0
  33. package/docs/static/Tabs-CwTc00Yi.js +1 -0
  34. package/docs/static/index-BXtpWRTc.js +2 -0
  35. package/docs/static/index-BeNEN9J-.js +2 -0
  36. package/docs/static/index-CMpYTAiF.js +2 -0
  37. package/docs/static/index-DMKgrxE1.js +2 -0
  38. package/docs/static/index-Dsi6A5t5.js +2 -0
  39. package/docs/static/index-Nc0Poa_J.js +2 -0
  40. package/docs/static/main-C7jrUur6.css +1 -0
  41. package/docs/static/main-C8MaaDZb.js +103 -0
  42. package/package.json +1 -1
  43. package/dist/Tabs-BGaFVFbD.js +0 -57
  44. package/dist/Tabs-CSkFtqJi.cjs +0 -1
  45. package/docs/static/StringField-Dyl3XDRE.js +0 -1
  46. package/docs/static/StringField-ifygx7YK.css +0 -1
  47. package/docs/static/Tabs-BB0HZDmo.css +0 -1
  48. package/docs/static/Tabs-BNUXJT3V.js +0 -1
  49. package/docs/static/index-BDibxxvJ.js +0 -2
  50. package/docs/static/index-BvlNGib6.js +0 -2
  51. package/docs/static/index-CVDxaFb5.js +0 -2
  52. package/docs/static/index-DsOd_0-n.js +0 -2
  53. package/docs/static/index-aQmObjQp.js +0 -2
  54. package/docs/static/index-hac6GmDh.js +0 -2
  55. package/docs/static/main-21CU6hww.css +0 -1
  56. package/docs/static/main-BwdfadvU.js +0 -103
@@ -1,10 +1,10 @@
1
- var bt = Object.defineProperty;
2
- var r = (a, i) => bt(a, "name", { value: i, configurable: !0 });
3
- import { F as kt, b as yt, P as ce, W as Dt, V as Mt } from "./index-D38VsUaN.js";
4
- import { createElementBlock as Cn, openBlock as Me, createElementVNode as An, resolveComponent as lt, normalizeClass as st, createCommentVNode as Dn, createBlock as dt, withDirectives as St, toDisplayString as Ct, withKeys as Tt, withModifiers as At, vShow as Ot, createVNode as Pt, resolveDynamicComponent as _t, withCtx as Et, createTextVNode as Ft } from "vue";
5
- import { _ as xt } from "./_plugin-vue_export-helper-B9nE8o7z.js";
1
+ var Dt = Object.defineProperty;
2
+ var r = (a, i) => Dt(a, "name", { value: i, configurable: !0 });
3
+ import { F as Mt, b as St, P as he, W as Ct, V as Tt } from "./index-hQ1VmssH.js";
4
+ import { createElementBlock as Cn, openBlock as fe, createElementVNode as An, resolveComponent as st, normalizeClass as dt, createCommentVNode as Dn, createBlock as _n, withDirectives as At, toDisplayString as Ot, withKeys as Pt, withModifiers as Et, vShow as _t, createVNode as xt, resolveDynamicComponent as ut, withCtx as ft, createTextVNode as ct } from "vue";
5
+ import { _ as Ft } from "./_plugin-vue_export-helper-B9nE8o7z.js";
6
6
  function It(a, i) {
7
- return Me(), Cn("svg", {
7
+ return fe(), Cn("svg", {
8
8
  xmlns: "http://www.w3.org/2000/svg",
9
9
  viewBox: "0 0 24 24",
10
10
  fill: "currentColor",
@@ -20,13 +20,13 @@ function It(a, i) {
20
20
  ]);
21
21
  }
22
22
  r(It, "render$1");
23
- function pt(a) {
23
+ function vt(a) {
24
24
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
25
25
  }
26
- r(pt, "getDefaultExportFromCjs");
27
- var He = { exports: {} }, Nt = He.exports, ut;
26
+ r(vt, "getDefaultExportFromCjs");
27
+ var He = { exports: {} }, Nt = He.exports, ht;
28
28
  function jt() {
29
- return ut || (ut = 1, (function(a, i) {
29
+ return ht || (ht = 1, (function(a, i) {
30
30
  (function(e, u) {
31
31
  u(i);
32
32
  })(Nt, (function(e) {
@@ -46,9 +46,9 @@ function jt() {
46
46
  ***************************************************************************** */
47
47
  var u = /* @__PURE__ */ r(function() {
48
48
  return u = Object.assign || /* @__PURE__ */ r(function(U) {
49
- for (var yn, Pn = 1, wt = arguments.length; Pn < wt; Pn++) {
49
+ for (var yn, Pn = 1, yt = arguments.length; Pn < yt; Pn++) {
50
50
  yn = arguments[Pn];
51
- for (var _n in yn) Object.prototype.hasOwnProperty.call(yn, _n) && (U[_n] = yn[_n]);
51
+ for (var En in yn) Object.prototype.hasOwnProperty.call(yn, En) && (U[En] = yn[En]);
52
52
  }
53
53
  return U;
54
54
  }, "__assign"), u.apply(this, arguments);
@@ -265,7 +265,7 @@ function jt() {
265
265
  time_24hr: !0
266
266
  };
267
267
  g.l10ns.be = O, g.l10ns;
268
- var _ = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
268
+ var E = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
269
269
  l10ns: {}
270
270
  }, I = {
271
271
  firstDayOfWeek: 1,
@@ -313,8 +313,8 @@ function jt() {
313
313
  },
314
314
  time_24hr: !0
315
315
  };
316
- _.l10ns.bs = I, _.l10ns;
317
- var E = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
316
+ E.l10ns.bs = I, E.l10ns;
317
+ var _ = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
318
318
  l10ns: {}
319
319
  }, y = {
320
320
  weekdays: {
@@ -362,10 +362,10 @@ function jt() {
362
362
  time_24hr: !0,
363
363
  firstDayOfWeek: 1
364
364
  };
365
- E.l10ns.bg = y, E.l10ns;
366
- var Y = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
365
+ _.l10ns.bg = y, _.l10ns;
366
+ var $ = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
367
367
  l10ns: {}
368
- }, he = {
368
+ }, pe = {
369
369
  weekdays: {
370
370
  shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
371
371
  longhand: [
@@ -409,10 +409,10 @@ function jt() {
409
409
  ]
410
410
  }
411
411
  };
412
- Y.l10ns.bn = he, Y.l10ns;
413
- var $ = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
412
+ $.l10ns.bn = pe, $.l10ns;
413
+ var Y = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
414
414
  l10ns: {}
415
- }, K = {
415
+ }, V = {
416
416
  weekdays: {
417
417
  shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
418
418
  longhand: [
@@ -476,10 +476,10 @@ function jt() {
476
476
  rangeSeparator: " a ",
477
477
  time_24hr: !0
478
478
  };
479
- $.l10ns.cat = $.l10ns.ca = K, $.l10ns;
479
+ Y.l10ns.cat = Y.l10ns.ca = V, Y.l10ns;
480
480
  var G = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
481
481
  l10ns: {}
482
- }, pe = {
482
+ }, me = {
483
483
  weekdays: {
484
484
  shorthand: [
485
485
  "یەکشەممە",
@@ -535,7 +535,7 @@ function jt() {
535
535
  return "";
536
536
  }, "ordinal")
537
537
  };
538
- G.l10ns.ckb = pe, G.l10ns;
538
+ G.l10ns.ckb = me, G.l10ns;
539
539
  var R = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
540
540
  l10ns: {}
541
541
  }, Z = {
@@ -596,7 +596,7 @@ function jt() {
596
596
  R.l10ns.cs = Z, R.l10ns;
597
597
  var q = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
598
598
  l10ns: {}
599
- }, me = {
599
+ }, ge = {
600
600
  weekdays: {
601
601
  shorthand: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"],
602
602
  longhand: [
@@ -645,7 +645,7 @@ function jt() {
645
645
  }, "ordinal"),
646
646
  time_24hr: !0
647
647
  };
648
- q.l10ns.cy = me, q.l10ns;
648
+ q.l10ns.cy = ge, q.l10ns;
649
649
  var ne = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
650
650
  l10ns: {}
651
651
  }, We = {
@@ -825,7 +825,7 @@ function jt() {
825
825
  time_24hr: !1
826
826
  }, Ae = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
827
827
  l10ns: {}
828
- }, Ke = {
828
+ }, Ve = {
829
829
  firstDayOfWeek: 1,
830
830
  rangeSeparator: " ĝis ",
831
831
  weekAbbreviation: "Sem",
@@ -878,8 +878,8 @@ function jt() {
878
878
  }, "ordinal"),
879
879
  time_24hr: !0
880
880
  };
881
- Ae.l10ns.eo = Ke, Ae.l10ns;
882
- var Ve = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
881
+ Ae.l10ns.eo = Ve, Ae.l10ns;
882
+ var Ke = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
883
883
  l10ns: {}
884
884
  }, Oe = {
885
885
  weekdays: {
@@ -931,7 +931,7 @@ function jt() {
931
931
  rangeSeparator: " a ",
932
932
  time_24hr: !0
933
933
  };
934
- Ve.l10ns.es = Oe, Ve.l10ns;
934
+ Ke.l10ns.es = Oe, Ke.l10ns;
935
935
  var Pe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
936
936
  l10ns: {}
937
937
  }, Re = {
@@ -988,7 +988,7 @@ function jt() {
988
988
  time_24hr: !0
989
989
  };
990
990
  Pe.l10ns.et = Re, Pe.l10ns;
991
- var ge = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
991
+ var ve = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
992
992
  l10ns: {}
993
993
  }, Be = {
994
994
  weekdays: {
@@ -1038,7 +1038,7 @@ function jt() {
1038
1038
  return "";
1039
1039
  }, "ordinal")
1040
1040
  };
1041
- ge.l10ns.fa = Be, ge.l10ns;
1041
+ ve.l10ns.fa = Be, ve.l10ns;
1042
1042
  var Ue = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1043
1043
  l10ns: {}
1044
1044
  }, Ge = {
@@ -1093,7 +1093,7 @@ function jt() {
1093
1093
  Ue.l10ns.fi = Ge, Ue.l10ns;
1094
1094
  var te = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1095
1095
  l10ns: {}
1096
- }, ve = {
1096
+ }, we = {
1097
1097
  weekdays: {
1098
1098
  shorthand: ["Sun", "Mán", "Týs", "Mik", "Hós", "Frí", "Ley"],
1099
1099
  longhand: [
@@ -1147,7 +1147,7 @@ function jt() {
1147
1147
  yearAriaLabel: "Ár",
1148
1148
  time_24hr: !0
1149
1149
  };
1150
- te.l10ns.fo = ve, te.l10ns;
1150
+ te.l10ns.fo = we, te.l10ns;
1151
1151
  var ie = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1152
1152
  l10ns: {}
1153
1153
  }, B = {
@@ -1264,7 +1264,7 @@ function jt() {
1264
1264
  minuteAriaLabel: "λεπτό"
1265
1265
  };
1266
1266
  oe.l10ns.gr = Ze, oe.l10ns;
1267
- var _e = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1267
+ var Ee = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1268
1268
  l10ns: {}
1269
1269
  }, le = {
1270
1270
  weekdays: {
@@ -1304,7 +1304,7 @@ function jt() {
1304
1304
  rangeSeparator: " אל ",
1305
1305
  time_24hr: !0
1306
1306
  };
1307
- _e.l10ns.he = le, _e.l10ns;
1307
+ Ee.l10ns.he = le, Ee.l10ns;
1308
1308
  var qe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1309
1309
  l10ns: {}
1310
1310
  }, Qe = {
@@ -1352,7 +1352,7 @@ function jt() {
1352
1352
  }
1353
1353
  };
1354
1354
  qe.l10ns.hi = Qe, qe.l10ns;
1355
- var Ee = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1355
+ var _e = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1356
1356
  l10ns: {}
1357
1357
  }, Xe = {
1358
1358
  firstDayOfWeek: 1,
@@ -1400,10 +1400,10 @@ function jt() {
1400
1400
  },
1401
1401
  time_24hr: !0
1402
1402
  };
1403
- Ee.l10ns.hr = Xe, Ee.l10ns;
1404
- var Fe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1403
+ _e.l10ns.hr = Xe, _e.l10ns;
1404
+ var xe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1405
1405
  l10ns: {}
1406
- }, xe = {
1406
+ }, Fe = {
1407
1407
  firstDayOfWeek: 1,
1408
1408
  weekdays: {
1409
1409
  shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
@@ -1456,7 +1456,7 @@ function jt() {
1456
1456
  rangeSeparator: " - ",
1457
1457
  time_24hr: !0
1458
1458
  };
1459
- Fe.l10ns.hu = xe, Fe.l10ns;
1459
+ xe.l10ns.hu = Fe, xe.l10ns;
1460
1460
  var se = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1461
1461
  l10ns: {}
1462
1462
  }, en = {
@@ -1563,7 +1563,7 @@ function jt() {
1563
1563
  rangeSeparator: " - "
1564
1564
  };
1565
1565
  nn.l10ns.id = Ie, nn.l10ns;
1566
- var we = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1566
+ var be = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1567
1567
  l10ns: {}
1568
1568
  }, Ne = {
1569
1569
  weekdays: {
@@ -1617,7 +1617,7 @@ function jt() {
1617
1617
  yearAriaLabel: "Ár",
1618
1618
  time_24hr: !0
1619
1619
  };
1620
- we.l10ns.is = Ne, we.l10ns;
1620
+ be.l10ns.is = Ne, be.l10ns;
1621
1621
  var de = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1622
1622
  l10ns: {}
1623
1623
  }, tn = {
@@ -1897,7 +1897,7 @@ function jt() {
1897
1897
  ln.l10ns.km = sn, ln.l10ns;
1898
1898
  var T = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1899
1899
  l10ns: {}
1900
- }, be = {
1900
+ }, ke = {
1901
1901
  weekdays: {
1902
1902
  shorthand: ["Жс", "Дс", "Сc", "Ср", "Бс", "Жм", "Сб"],
1903
1903
  longhand: [
@@ -1951,8 +1951,8 @@ function jt() {
1951
1951
  amPM: ["ТД", "ТК"],
1952
1952
  yearAriaLabel: "Жыл"
1953
1953
  };
1954
- T.l10ns.kz = be, T.l10ns;
1955
- var ke = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1954
+ T.l10ns.kz = ke, T.l10ns;
1955
+ var ye = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
1956
1956
  l10ns: {}
1957
1957
  }, dn = {
1958
1958
  weekdays: {
@@ -2007,10 +2007,10 @@ function jt() {
2007
2007
  toggleTitle: "Perjungti laiko formatą",
2008
2008
  time_24hr: !0
2009
2009
  };
2010
- ke.l10ns.lt = dn, ke.l10ns;
2010
+ ye.l10ns.lt = dn, ye.l10ns;
2011
2011
  var ue = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2012
2012
  l10ns: {}
2013
- }, ye = {
2013
+ }, De = {
2014
2014
  firstDayOfWeek: 1,
2015
2015
  weekdays: {
2016
2016
  shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
@@ -2057,7 +2057,7 @@ function jt() {
2057
2057
  rangeSeparator: " līdz ",
2058
2058
  time_24hr: !0
2059
2059
  };
2060
- ue.l10ns.lv = ye, ue.l10ns;
2060
+ ue.l10ns.lv = De, ue.l10ns;
2061
2061
  var W = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2062
2062
  l10ns: {}
2063
2063
  }, un = {
@@ -2462,7 +2462,7 @@ function jt() {
2462
2462
  time_24hr: !0
2463
2463
  };
2464
2464
  C.l10ns.pa = L, C.l10ns;
2465
- var F = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2465
+ var x = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2466
2466
  l10ns: {}
2467
2467
  }, ae = {
2468
2468
  weekdays: {
@@ -2517,7 +2517,7 @@ function jt() {
2517
2517
  return ".";
2518
2518
  }, "ordinal")
2519
2519
  };
2520
- F.l10ns.pl = ae, F.l10ns;
2520
+ x.l10ns.pl = ae, x.l10ns;
2521
2521
  var X = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2522
2522
  l10ns: {}
2523
2523
  }, cn = {
@@ -2567,7 +2567,7 @@ function jt() {
2567
2567
  time_24hr: !0
2568
2568
  };
2569
2569
  X.l10ns.pt = cn, X.l10ns;
2570
- var De = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2570
+ var Me = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2571
2571
  l10ns: {}
2572
2572
  }, hn = {
2573
2573
  weekdays: {
@@ -2618,7 +2618,7 @@ function jt() {
2618
2618
  return "";
2619
2619
  }, "ordinal")
2620
2620
  };
2621
- De.l10ns.ro = hn, De.l10ns;
2621
+ Me.l10ns.ro = hn, Me.l10ns;
2622
2622
  var pn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2623
2623
  l10ns: {}
2624
2624
  }, mn = {
@@ -2780,7 +2780,7 @@ function jt() {
2780
2780
  wn.l10ns.sk = bn, wn.l10ns;
2781
2781
  var kn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2782
2782
  l10ns: {}
2783
- }, Jn = {
2783
+ }, Hn = {
2784
2784
  weekdays: {
2785
2785
  shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"],
2786
2786
  longhand: [
@@ -2830,8 +2830,8 @@ function jt() {
2830
2830
  return ".";
2831
2831
  }, "ordinal")
2832
2832
  };
2833
- kn.l10ns.sl = Jn, kn.l10ns;
2834
- var Hn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2833
+ kn.l10ns.sl = Hn, kn.l10ns;
2834
+ var $n = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2835
2835
  l10ns: {}
2836
2836
  }, Yn = {
2837
2837
  weekdays: {
@@ -2885,10 +2885,10 @@ function jt() {
2885
2885
  minuteAriaLabel: "Minuta",
2886
2886
  time_24hr: !0
2887
2887
  };
2888
- Hn.l10ns.sq = Yn, Hn.l10ns;
2889
- var $n = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2888
+ $n.l10ns.sq = Yn, $n.l10ns;
2889
+ var Wn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2890
2890
  l10ns: {}
2891
- }, Wn = {
2891
+ }, zn = {
2892
2892
  weekdays: {
2893
2893
  shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
2894
2894
  longhand: [
@@ -2936,8 +2936,8 @@ function jt() {
2936
2936
  rangeSeparator: " do ",
2937
2937
  time_24hr: !0
2938
2938
  };
2939
- $n.l10ns.sr = Wn, $n.l10ns;
2940
- var zn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2939
+ Wn.l10ns.sr = zn, Wn.l10ns;
2940
+ var Vn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2941
2941
  l10ns: {}
2942
2942
  }, Kn = {
2943
2943
  firstDayOfWeek: 1,
@@ -2990,10 +2990,10 @@ function jt() {
2990
2990
  return ".";
2991
2991
  }, "ordinal")
2992
2992
  };
2993
- zn.l10ns.sv = Kn, zn.l10ns;
2994
- var Vn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2993
+ Vn.l10ns.sv = Kn, Vn.l10ns;
2994
+ var Rn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
2995
2995
  l10ns: {}
2996
- }, Rn = {
2996
+ }, Bn = {
2997
2997
  weekdays: {
2998
2998
  shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
2999
2999
  longhand: [
@@ -3045,10 +3045,10 @@ function jt() {
3045
3045
  return "";
3046
3046
  }, "ordinal")
3047
3047
  };
3048
- Vn.l10ns.th = Rn, Vn.l10ns;
3049
- var Bn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3048
+ Rn.l10ns.th = Bn, Rn.l10ns;
3049
+ var Un = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3050
3050
  l10ns: {}
3051
- }, Un = {
3051
+ }, Gn = {
3052
3052
  weekdays: {
3053
3053
  shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
3054
3054
  longhand: [
@@ -3102,10 +3102,10 @@ function jt() {
3102
3102
  amPM: ["ÖÖ", "ÖS"],
3103
3103
  time_24hr: !0
3104
3104
  };
3105
- Bn.l10ns.tr = Un, Bn.l10ns;
3106
- var Gn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3105
+ Un.l10ns.tr = Gn, Un.l10ns;
3106
+ var Zn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3107
3107
  l10ns: {}
3108
- }, Zn = {
3108
+ }, qn = {
3109
3109
  firstDayOfWeek: 1,
3110
3110
  weekdays: {
3111
3111
  shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
@@ -3151,10 +3151,10 @@ function jt() {
3151
3151
  },
3152
3152
  time_24hr: !0
3153
3153
  };
3154
- Gn.l10ns.uk = Zn, Gn.l10ns;
3155
- var qn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3154
+ Zn.l10ns.uk = qn, Zn.l10ns;
3155
+ var Qn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3156
3156
  l10ns: {}
3157
- }, Qn = {
3157
+ }, Xn = {
3158
3158
  weekdays: {
3159
3159
  shorthand: ["Якш", "Душ", "Сеш", "Чор", "Пай", "Жум", "Шан"],
3160
3160
  longhand: [
@@ -3209,10 +3209,10 @@ function jt() {
3209
3209
  yearAriaLabel: "Йил",
3210
3210
  time_24hr: !0
3211
3211
  };
3212
- qn.l10ns.uz = Qn, qn.l10ns;
3213
- var Xn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3212
+ Qn.l10ns.uz = Xn, Qn.l10ns;
3213
+ var et = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3214
3214
  l10ns: {}
3215
- }, et = {
3215
+ }, nt = {
3216
3216
  weekdays: {
3217
3217
  shorthand: ["Ya", "Du", "Se", "Cho", "Pa", "Ju", "Sha"],
3218
3218
  longhand: [
@@ -3267,10 +3267,10 @@ function jt() {
3267
3267
  yearAriaLabel: "Yil",
3268
3268
  time_24hr: !0
3269
3269
  };
3270
- Xn.l10ns.uz_latn = et, Xn.l10ns;
3271
- var nt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3270
+ et.l10ns.uz_latn = nt, et.l10ns;
3271
+ var tt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3272
3272
  l10ns: {}
3273
- }, tt = {
3273
+ }, at = {
3274
3274
  weekdays: {
3275
3275
  shorthand: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"],
3276
3276
  longhand: [
@@ -3316,10 +3316,10 @@ function jt() {
3316
3316
  firstDayOfWeek: 1,
3317
3317
  rangeSeparator: " đến "
3318
3318
  };
3319
- nt.l10ns.vn = tt, nt.l10ns;
3320
- var at = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3319
+ tt.l10ns.vn = at, tt.l10ns;
3320
+ var rt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3321
3321
  l10ns: {}
3322
- }, rt = {
3322
+ }, it = {
3323
3323
  weekdays: {
3324
3324
  shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
3325
3325
  longhand: [
@@ -3367,10 +3367,10 @@ function jt() {
3367
3367
  scrollTitle: "滚动切换",
3368
3368
  toggleTitle: "点击切换 12/24 小时时制"
3369
3369
  };
3370
- at.l10ns.zh = rt, at.l10ns;
3371
- var it = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3370
+ rt.l10ns.zh = it, rt.l10ns;
3371
+ var ot = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3372
3372
  l10ns: {}
3373
- }, ot = {
3373
+ }, lt = {
3374
3374
  weekdays: {
3375
3375
  shorthand: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
3376
3376
  longhand: [
@@ -3418,36 +3418,36 @@ function jt() {
3418
3418
  scrollTitle: "滾動切換",
3419
3419
  toggleTitle: "點擊切換 12/24 小時時制"
3420
3420
  };
3421
- it.l10ns.zh_tw = ot, it.l10ns;
3422
- var vt = {
3421
+ ot.l10ns.zh_tw = lt, ot.l10ns;
3422
+ var kt = {
3423
3423
  ar: c,
3424
3424
  at: D,
3425
3425
  az: A,
3426
3426
  be: O,
3427
3427
  bg: y,
3428
- bn: he,
3428
+ bn: pe,
3429
3429
  bs: I,
3430
- ca: K,
3431
- ckb: pe,
3432
- cat: K,
3430
+ ca: V,
3431
+ ckb: me,
3432
+ cat: V,
3433
3433
  cs: Z,
3434
- cy: me,
3434
+ cy: ge,
3435
3435
  da: We,
3436
3436
  de: Q,
3437
3437
  default: u({}, ze),
3438
3438
  en: ze,
3439
- eo: Ke,
3439
+ eo: Ve,
3440
3440
  es: Oe,
3441
3441
  et: Re,
3442
3442
  fa: Be,
3443
3443
  fi: Ge,
3444
- fo: ve,
3444
+ fo: we,
3445
3445
  fr: B,
3446
3446
  gr: Ze,
3447
3447
  he: le,
3448
3448
  hi: Qe,
3449
3449
  hr: Xe,
3450
- hu: xe,
3450
+ hu: Fe,
3451
3451
  hy: en,
3452
3452
  id: Ie,
3453
3453
  is: Ne,
@@ -3456,9 +3456,9 @@ function jt() {
3456
3456
  ka: rn,
3457
3457
  ko: Je,
3458
3458
  km: sn,
3459
- kz: be,
3459
+ kz: ke,
3460
3460
  lt: dn,
3461
- lv: ye,
3461
+ lv: De,
3462
3462
  mk: un,
3463
3463
  mn: n,
3464
3464
  ms: o,
@@ -3473,26 +3473,26 @@ function jt() {
3473
3473
  ru: mn,
3474
3474
  si: vn,
3475
3475
  sk: bn,
3476
- sl: Jn,
3476
+ sl: Hn,
3477
3477
  sq: Yn,
3478
- sr: Wn,
3478
+ sr: zn,
3479
3479
  sv: Kn,
3480
- th: Rn,
3481
- tr: Un,
3482
- uk: Zn,
3483
- vn: tt,
3484
- zh: rt,
3485
- zh_tw: ot,
3486
- uz: Qn,
3487
- uz_latn: et
3480
+ th: Bn,
3481
+ tr: Gn,
3482
+ uk: qn,
3483
+ vn: at,
3484
+ zh: it,
3485
+ zh_tw: lt,
3486
+ uz: Xn,
3487
+ uz_latn: nt
3488
3488
  };
3489
- e.default = vt, Object.defineProperty(e, "__esModule", { value: !0 });
3489
+ e.default = kt, Object.defineProperty(e, "__esModule", { value: !0 });
3490
3490
  }));
3491
3491
  })(He, He.exports)), He.exports;
3492
3492
  }
3493
3493
  r(jt, "requireL10n");
3494
3494
  var Lt = jt();
3495
- const En = /* @__PURE__ */ pt(Lt);
3495
+ const xn = /* @__PURE__ */ vt(Lt);
3496
3496
  var Fn = [
3497
3497
  "onChange",
3498
3498
  "onClose",
@@ -3568,7 +3568,7 @@ var Fn = [
3568
3568
  time_24hr: !1,
3569
3569
  weekNumbers: !1,
3570
3570
  wrap: !1
3571
- }, $e = {
3571
+ }, Ye = {
3572
3572
  weekdays: {
3573
3573
  shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
3574
3574
  longhand: [
@@ -3643,7 +3643,7 @@ var Fn = [
3643
3643
  }, "pad"), z = /* @__PURE__ */ r(function(a) {
3644
3644
  return a === !0 ? 1 : 0;
3645
3645
  }, "int");
3646
- function ft(a, i) {
3646
+ function pt(a, i) {
3647
3647
  var e;
3648
3648
  return function() {
3649
3649
  var u = this, p = arguments;
@@ -3652,8 +3652,8 @@ function ft(a, i) {
3652
3652
  }, i);
3653
3653
  };
3654
3654
  }
3655
- r(ft, "debounce");
3656
- var xn = /* @__PURE__ */ r(function(a) {
3655
+ r(pt, "debounce");
3656
+ var In = /* @__PURE__ */ r(function(a) {
3657
3657
  return a instanceof Array ? a : [a];
3658
3658
  }, "arrayify");
3659
3659
  function N(a, i, e) {
@@ -3672,13 +3672,13 @@ function Mn(a) {
3672
3672
  a.removeChild(a.firstChild);
3673
3673
  }
3674
3674
  r(Mn, "clearNode");
3675
- function mt(a, i) {
3675
+ function wt(a, i) {
3676
3676
  if (i(a))
3677
3677
  return a;
3678
3678
  if (a.parentNode)
3679
- return mt(a.parentNode, i);
3679
+ return wt(a.parentNode, i);
3680
3680
  }
3681
- r(mt, "findParent");
3681
+ r(wt, "findParent");
3682
3682
  function Sn(a, i) {
3683
3683
  var e = S("div", "numInputWrapper"), u = S("input", "numInput " + a), p = S("span", "arrowUp"), c = S("span", "arrowDown");
3684
3684
  if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? u.type = "number" : (u.type = "text", u.pattern = "\\d*"), i !== void 0)
@@ -3699,11 +3699,11 @@ function J(a) {
3699
3699
  }
3700
3700
  }
3701
3701
  r(J, "getEventTarget");
3702
- var In = /* @__PURE__ */ r(function() {
3702
+ var Nn = /* @__PURE__ */ r(function() {
3703
3703
  }, "doNothing"), On = /* @__PURE__ */ r(function(a, i, e) {
3704
3704
  return e.months[i ? "shorthand" : "longhand"][a];
3705
3705
  }, "monthToStr"), Jt = {
3706
- D: In,
3706
+ D: Nn,
3707
3707
  F: /* @__PURE__ */ r(function(a, i, e) {
3708
3708
  a.setMonth(e.months.longhand.indexOf(i));
3709
3709
  }, "F"),
@@ -3750,7 +3750,7 @@ var In = /* @__PURE__ */ r(function() {
3750
3750
  j: /* @__PURE__ */ r(function(a, i) {
3751
3751
  a.setDate(parseFloat(i));
3752
3752
  }, "j"),
3753
- l: In,
3753
+ l: Nn,
3754
3754
  m: /* @__PURE__ */ r(function(a, i) {
3755
3755
  a.setMonth(parseFloat(i) - 1);
3756
3756
  }, "m"),
@@ -3763,11 +3763,11 @@ var In = /* @__PURE__ */ r(function() {
3763
3763
  u: /* @__PURE__ */ r(function(a, i) {
3764
3764
  return new Date(parseFloat(i));
3765
3765
  }, "u"),
3766
- w: In,
3766
+ w: Nn,
3767
3767
  y: /* @__PURE__ */ r(function(a, i) {
3768
3768
  a.setFullYear(2e3 + parseFloat(i));
3769
3769
  }, "y")
3770
- }, fe = {
3770
+ }, ce = {
3771
3771
  D: "",
3772
3772
  F: "",
3773
3773
  G: "(\\d\\d|\\d)",
@@ -3791,18 +3791,18 @@ var In = /* @__PURE__ */ r(function() {
3791
3791
  u: "(.+)",
3792
3792
  w: "(\\d\\d|\\d)",
3793
3793
  y: "(\\d{2})"
3794
- }, Ye = {
3794
+ }, $e = {
3795
3795
  Z: /* @__PURE__ */ r(function(a) {
3796
3796
  return a.toISOString();
3797
3797
  }, "Z"),
3798
3798
  D: /* @__PURE__ */ r(function(a, i, e) {
3799
- return i.weekdays.shorthand[Ye.w(a, i, e)];
3799
+ return i.weekdays.shorthand[$e.w(a, i, e)];
3800
3800
  }, "D"),
3801
3801
  F: /* @__PURE__ */ r(function(a, i, e) {
3802
- return On(Ye.n(a, i, e) - 1, !1, i);
3802
+ return On($e.n(a, i, e) - 1, !1, i);
3803
3803
  }, "F"),
3804
3804
  G: /* @__PURE__ */ r(function(a, i, e) {
3805
- return j(Ye.h(a, i, e));
3805
+ return j($e.h(a, i, e));
3806
3806
  }, "G"),
3807
3807
  H: /* @__PURE__ */ r(function(a) {
3808
3808
  return j(a.getHours());
@@ -3861,16 +3861,16 @@ var In = /* @__PURE__ */ r(function() {
3861
3861
  y: /* @__PURE__ */ r(function(a) {
3862
3862
  return String(a.getFullYear()).substring(2);
3863
3863
  }, "y")
3864
- }, gt = /* @__PURE__ */ r(function(a) {
3865
- var i = a.config, e = i === void 0 ? Se : i, u = a.l10n, p = u === void 0 ? $e : u, c = a.isMobile, k = c === void 0 ? !1 : c;
3864
+ }, bt = /* @__PURE__ */ r(function(a) {
3865
+ var i = a.config, e = i === void 0 ? Se : i, u = a.l10n, p = u === void 0 ? Ye : u, c = a.isMobile, k = c === void 0 ? !1 : c;
3866
3866
  return function(D, w, A) {
3867
3867
  var g = A || p;
3868
- return e.formatDate !== void 0 && !k ? e.formatDate(D, w, g) : w.split("").map(function(O, _, I) {
3869
- return Ye[O] && I[_ - 1] !== "\\" ? Ye[O](D, g, e) : O !== "\\" ? O : "";
3868
+ return e.formatDate !== void 0 && !k ? e.formatDate(D, w, g) : w.split("").map(function(O, E, I) {
3869
+ return $e[O] && I[E - 1] !== "\\" ? $e[O](D, g, e) : O !== "\\" ? O : "";
3870
3870
  }).join("");
3871
3871
  };
3872
- }, "createDateFormatter"), Ln = /* @__PURE__ */ r(function(a) {
3873
- var i = a.config, e = i === void 0 ? Se : i, u = a.l10n, p = u === void 0 ? $e : u;
3872
+ }, "createDateFormatter"), Jn = /* @__PURE__ */ r(function(a) {
3873
+ var i = a.config, e = i === void 0 ? Se : i, u = a.l10n, p = u === void 0 ? Ye : u;
3874
3874
  return function(c, k, D, w) {
3875
3875
  if (!(c !== 0 && !c)) {
3876
3876
  var A = w || p, g, O = c;
@@ -3879,29 +3879,29 @@ var In = /* @__PURE__ */ r(function() {
3879
3879
  else if (typeof c != "string" && c.toFixed !== void 0)
3880
3880
  g = new Date(c);
3881
3881
  else if (typeof c == "string") {
3882
- var _ = k || (e || Se).dateFormat, I = String(c).trim();
3882
+ var E = k || (e || Se).dateFormat, I = String(c).trim();
3883
3883
  if (I === "today")
3884
3884
  g = /* @__PURE__ */ new Date(), D = !0;
3885
3885
  else if (e && e.parseDate)
3886
- g = e.parseDate(c, _);
3886
+ g = e.parseDate(c, E);
3887
3887
  else if (/Z$/.test(I) || /GMT$/.test(I))
3888
3888
  g = new Date(c);
3889
3889
  else {
3890
- for (var E = void 0, y = [], Y = 0, he = 0, $ = ""; Y < _.length; Y++) {
3891
- var K = _[Y], G = K === "\\", pe = _[Y - 1] === "\\" || G;
3892
- if (fe[K] && !pe) {
3893
- $ += fe[K];
3894
- var R = new RegExp($).exec(c);
3895
- R && (E = !0) && y[K !== "Y" ? "push" : "unshift"]({
3896
- fn: Jt[K],
3897
- val: R[++he]
3890
+ for (var _ = void 0, y = [], $ = 0, pe = 0, Y = ""; $ < E.length; $++) {
3891
+ var V = E[$], G = V === "\\", me = E[$ - 1] === "\\" || G;
3892
+ if (ce[V] && !me) {
3893
+ Y += ce[V];
3894
+ var R = new RegExp(Y).exec(c);
3895
+ R && (_ = !0) && y[V !== "Y" ? "push" : "unshift"]({
3896
+ fn: Jt[V],
3897
+ val: R[++pe]
3898
3898
  });
3899
- } else G || ($ += ".");
3899
+ } else G || (Y += ".");
3900
3900
  }
3901
3901
  g = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), y.forEach(function(Z) {
3902
- var q = Z.fn, me = Z.val;
3903
- return g = q(g, me, A) || g;
3904
- }), g = E ? g : void 0;
3902
+ var q = Z.fn, ge = Z.val;
3903
+ return g = q(g, ge, A) || g;
3904
+ }), g = _ ? g : void 0;
3905
3905
  }
3906
3906
  }
3907
3907
  if (!(g instanceof Date && !isNaN(g.getTime()))) {
@@ -3918,15 +3918,15 @@ function H(a, i, e) {
3918
3918
  r(H, "compareDates");
3919
3919
  var Ht = /* @__PURE__ */ r(function(a, i, e) {
3920
3920
  return a > Math.min(i, e) && a < Math.max(i, e);
3921
- }, "isBetween"), Nn = /* @__PURE__ */ r(function(a, i, e) {
3921
+ }, "isBetween"), jn = /* @__PURE__ */ r(function(a, i, e) {
3922
3922
  return a * 3600 + i * 60 + e;
3923
- }, "calculateSecondsSinceMidnight"), Yt = /* @__PURE__ */ r(function(a) {
3923
+ }, "calculateSecondsSinceMidnight"), $t = /* @__PURE__ */ r(function(a) {
3924
3924
  var i = Math.floor(a / 3600), e = (a - i * 3600) / 60;
3925
3925
  return [i, e, a - i * 3600 - e * 60];
3926
- }, "parseSeconds"), $t = {
3926
+ }, "parseSeconds"), Yt = {
3927
3927
  DAY: 864e5
3928
3928
  };
3929
- function jn(a) {
3929
+ function Ln(a) {
3930
3930
  var i = a.defaultHour, e = a.defaultMinute, u = a.defaultSeconds;
3931
3931
  if (a.minDate !== void 0) {
3932
3932
  var p = a.minDate.getHours(), c = a.minDate.getMinutes(), k = a.minDate.getSeconds();
@@ -3938,7 +3938,7 @@ function jn(a) {
3938
3938
  }
3939
3939
  return { hours: i, minutes: e, seconds: u };
3940
3940
  }
3941
- r(jn, "getDefaultHours");
3941
+ r(Ln, "getDefaultHours");
3942
3942
  typeof Object.assign != "function" && (Object.assign = function(a) {
3943
3943
  for (var i = [], e = 1; e < arguments.length; e++)
3944
3944
  i[e - 1] = arguments[e];
@@ -3954,15 +3954,15 @@ typeof Object.assign != "function" && (Object.assign = function(a) {
3954
3954
  }
3955
3955
  return a;
3956
3956
  });
3957
- var x = function() {
3958
- return x = Object.assign || function(a) {
3957
+ var F = function() {
3958
+ return F = Object.assign || function(a) {
3959
3959
  for (var i, e = 1, u = arguments.length; e < u; e++) {
3960
3960
  i = arguments[e];
3961
3961
  for (var p in i) Object.prototype.hasOwnProperty.call(i, p) && (a[p] = i[p]);
3962
3962
  }
3963
3963
  return a;
3964
- }, x.apply(this, arguments);
3965
- }, ct = function() {
3964
+ }, F.apply(this, arguments);
3965
+ }, mt = function() {
3966
3966
  for (var a = 0, i = 0, e = arguments.length; i < e; i++) a += arguments[i].length;
3967
3967
  for (var u = Array(a), p = 0, i = 0; i < e; i++)
3968
3968
  for (var c = arguments[i], k = 0, D = c.length; k < D; k++, p++)
@@ -3971,10 +3971,10 @@ var x = function() {
3971
3971
  }, Wt = 300;
3972
3972
  function zt(a, i) {
3973
3973
  var e = {
3974
- config: x(x({}, Se), P.defaultConfig),
3975
- l10n: $e
3974
+ config: F(F({}, Se), P.defaultConfig),
3975
+ l10n: Ye
3976
3976
  };
3977
- e.parseDate = Ln({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = _, e._positionCalendar = se, e.changeMonth = ge, e.changeYear = ie, e.clear = Be, e.close = Ue, e.onMouseOver = le, e._createElement = S, e.createDay = R, e.destroy = Ge, e.isEnabled = B, e.jumpToDate = $, e.updateValue = W, e.open = Qe, e.redraw = Ie, e.set = tn, e.setDate = an, e.toggle = sn;
3977
+ e.parseDate = Jn({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = E, e._positionCalendar = se, e.changeMonth = ve, e.changeYear = ie, e.clear = Be, e.close = Ue, e.onMouseOver = le, e._createElement = S, e.createDay = R, e.destroy = Ge, e.isEnabled = B, e.jumpToDate = Y, e.updateValue = W, e.open = Qe, e.redraw = Ie, e.set = tn, e.setDate = an, e.toggle = sn;
3978
3978
  function u() {
3979
3979
  e.utils = {
3980
3980
  getDaysInMonth: /* @__PURE__ */ r(function(n, t) {
@@ -3984,7 +3984,7 @@ function zt(a, i) {
3984
3984
  }
3985
3985
  r(u, "setupHelperFunctions");
3986
3986
  function p() {
3987
- e.element = e.input = a, e.isOpen = !1, Xe(), xe(), on(), rn(), u(), e.isMobile || pe(), he(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && _(e.config.noCalendar ? e.latestSelectedDateObj : void 0), W(!1)), D();
3987
+ e.element = e.input = a, e.isOpen = !1, Xe(), Fe(), on(), rn(), u(), e.isMobile || me(), pe(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && E(e.config.noCalendar ? e.latestSelectedDateObj : void 0), W(!1)), D();
3988
3988
  var n = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
3989
3989
  !e.isMobile && n && se(), T("onReady");
3990
3990
  }
@@ -4010,7 +4010,7 @@ function zt(a, i) {
4010
4010
  r(D, "setCalendarWidth");
4011
4011
  function w(n) {
4012
4012
  if (e.selectedDates.length === 0) {
4013
- var t = e.config.minDate === void 0 || H(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), o = jn(e.config);
4013
+ var t = e.config.minDate === void 0 || H(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), o = Ln(e.config);
4014
4014
  t.setHours(o.hours, o.minutes, o.seconds, t.getMilliseconds()), e.selectedDates = [t], e.latestSelectedDateObj = t;
4015
4015
  }
4016
4016
  n !== void 0 && n.type !== "blur" && fn(n);
@@ -4038,9 +4038,9 @@ function zt(a, i) {
4038
4038
  e.amPM !== void 0 && (n = A(n, e.amPM.textContent));
4039
4039
  var l = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && H(e.latestSelectedDateObj, e.config.minDate, !0) === 0, s = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && H(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
4040
4040
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
4041
- var d = Nn(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), v = Nn(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), h = Nn(n, t, o);
4041
+ var d = jn(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), v = jn(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), h = jn(n, t, o);
4042
4042
  if (h > v && h < d) {
4043
- var b = Yt(d);
4043
+ var b = $t(d);
4044
4044
  n = b[0], t = b[1], o = b[2];
4045
4045
  }
4046
4046
  } else {
@@ -4057,20 +4057,20 @@ function zt(a, i) {
4057
4057
  }
4058
4058
  }
4059
4059
  r(O, "setHoursFromInputs");
4060
- function _(n) {
4060
+ function E(n) {
4061
4061
  var t = n || e.latestSelectedDateObj;
4062
4062
  t && t instanceof Date && I(t.getHours(), t.getMinutes(), t.getSeconds());
4063
4063
  }
4064
- r(_, "setHoursFromDate");
4064
+ r(E, "setHoursFromDate");
4065
4065
  function I(n, t, o) {
4066
4066
  e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(n % 24, t, o || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = j(e.config.time_24hr ? n : (12 + n) % 12 + 12 * z(n % 12 === 0)), e.minuteElement.value = j(t), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[z(n >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = j(o)));
4067
4067
  }
4068
4068
  r(I, "setHours");
4069
- function E(n) {
4069
+ function _(n) {
4070
4070
  var t = J(n), o = parseInt(t.value) + (n.delta || 0);
4071
4071
  (o / 1e3 > 1 || n.key === "Enter" && !/[^\d]/.test(o.toString())) && ie(o);
4072
4072
  }
4073
- r(E, "onYearInput");
4073
+ r(_, "onYearInput");
4074
4074
  function y(n, t, o, l) {
4075
4075
  if (t instanceof Array)
4076
4076
  return t.forEach(function(s) {
@@ -4087,11 +4087,11 @@ function zt(a, i) {
4087
4087
  });
4088
4088
  }
4089
4089
  r(y, "bind");
4090
- function Y() {
4090
+ function $() {
4091
4091
  T("onChange");
4092
4092
  }
4093
- r(Y, "triggerChange");
4094
- function he() {
4093
+ r($, "triggerChange");
4094
+ function pe() {
4095
4095
  if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(o) {
4096
4096
  Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + o + "]"), function(l) {
4097
4097
  return y(l, "click", e[o]);
@@ -4100,14 +4100,14 @@ function zt(a, i) {
4100
4100
  ln();
4101
4101
  return;
4102
4102
  }
4103
- var n = ft(qe, 50);
4104
- if (e._debouncedChange = ft(Y, Wt), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && y(e.daysContainer, "mouseover", function(o) {
4103
+ var n = pt(qe, 50);
4104
+ if (e._debouncedChange = pt($, Wt), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && y(e.daysContainer, "mouseover", function(o) {
4105
4105
  e.config.mode === "range" && le(J(o));
4106
- }), y(e._input, "keydown", _e), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", _e), !e.config.inline && !e.config.static && y(window, "resize", n), window.ontouchstart !== void 0 ? y(window.document, "touchstart", ve) : y(window.document, "mousedown", ve), y(window.document, "focus", ve, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", un), y(e.monthNav, ["keyup", "increment"], E), y(e.daysContainer, "click", Ne)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
4106
+ }), y(e._input, "keydown", Ee), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", Ee), !e.config.inline && !e.config.static && y(window, "resize", n), window.ontouchstart !== void 0 ? y(window.document, "touchstart", we) : y(window.document, "mousedown", we), y(window.document, "focus", we, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", un), y(e.monthNav, ["keyup", "increment"], _), y(e.daysContainer, "click", Ne)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
4107
4107
  var t = /* @__PURE__ */ r(function(o) {
4108
4108
  return J(o).select();
4109
4109
  }, "selText");
4110
- y(e.timeContainer, ["increment"], w), y(e.timeContainer, "blur", w, { capture: !0 }), y(e.timeContainer, "click", K), y([e.hourElement, e.minuteElement], ["focus", "click"], t), e.secondElement !== void 0 && y(e.secondElement, "focus", function() {
4110
+ y(e.timeContainer, ["increment"], w), y(e.timeContainer, "blur", w, { capture: !0 }), y(e.timeContainer, "click", V), y([e.hourElement, e.minuteElement], ["focus", "click"], t), e.secondElement !== void 0 && y(e.secondElement, "focus", function() {
4111
4111
  return e.secondElement && e.secondElement.select();
4112
4112
  }), e.amPM !== void 0 && y(e.amPM, "click", function(o) {
4113
4113
  w(o);
@@ -4115,8 +4115,8 @@ function zt(a, i) {
4115
4115
  }
4116
4116
  e.config.allowInput && y(e._input, "blur", Ze);
4117
4117
  }
4118
- r(he, "bindEvents");
4119
- function $(n, t) {
4118
+ r(pe, "bindEvents");
4119
+ function Y(n, t) {
4120
4120
  var o = n !== void 0 ? e.parseDate(n) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), l = e.currentYear, s = e.currentMonth;
4121
4121
  try {
4122
4122
  o !== void 0 && (e.currentYear = o.getFullYear(), e.currentMonth = o.getMonth());
@@ -4125,27 +4125,27 @@ function zt(a, i) {
4125
4125
  }
4126
4126
  t && e.currentYear !== l && (T("onYearChange"), Q()), t && (e.currentYear !== l || e.currentMonth !== s) && T("onMonthChange"), e.redraw();
4127
4127
  }
4128
- r($, "jumpToDate");
4129
- function K(n) {
4128
+ r(Y, "jumpToDate");
4129
+ function V(n) {
4130
4130
  var t = J(n);
4131
4131
  ~t.className.indexOf("arrow") && G(n, t.classList.contains("arrowUp") ? 1 : -1);
4132
4132
  }
4133
- r(K, "timeIncrement");
4133
+ r(V, "timeIncrement");
4134
4134
  function G(n, t, o) {
4135
- var l = n && J(n), s = o || l && l.parentNode && l.parentNode.firstChild, d = be("increment");
4135
+ var l = n && J(n), s = o || l && l.parentNode && l.parentNode.firstChild, d = ke("increment");
4136
4136
  d.delta = t, s && s.dispatchEvent(d);
4137
4137
  }
4138
4138
  r(G, "incrementNumInput");
4139
- function pe() {
4139
+ function me() {
4140
4140
  var n = window.document.createDocumentFragment();
4141
4141
  if (e.calendarContainer = S("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
4142
- if (n.appendChild(Ke()), e.innerContainer = S("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
4142
+ if (n.appendChild(Ve()), e.innerContainer = S("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
4143
4143
  var t = Re(), o = t.weekWrapper, l = t.weekNumbers;
4144
4144
  e.innerContainer.appendChild(o), e.weekNumbers = l, e.weekWrapper = o;
4145
4145
  }
4146
4146
  e.rContainer = S("div", "flatpickr-rContainer"), e.rContainer.appendChild(Oe()), e.daysContainer || (e.daysContainer = S("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), re(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), n.appendChild(e.innerContainer);
4147
4147
  }
4148
- e.config.enableTime && n.appendChild(Ve()), N(e.calendarContainer, "rangeMode", e.config.mode === "range"), N(e.calendarContainer, "animate", e.config.animate === !0), N(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(n);
4148
+ e.config.enableTime && n.appendChild(Ke()), N(e.calendarContainer, "rangeMode", e.config.mode === "range"), N(e.calendarContainer, "animate", e.config.animate === !0), N(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(n);
4149
4149
  var s = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
4150
4150
  if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!s && e.element.parentNode ? e.element.parentNode.insertBefore(e.calendarContainer, e._input.nextSibling) : e.config.appendTo !== void 0 && e.config.appendTo.appendChild(e.calendarContainer)), e.config.static)) {
4151
4151
  var d = S("div", "flatpickr-wrapper");
@@ -4153,10 +4153,10 @@ function zt(a, i) {
4153
4153
  }
4154
4154
  !e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
4155
4155
  }
4156
- r(pe, "build");
4156
+ r(me, "build");
4157
4157
  function R(n, t, o, l) {
4158
4158
  var s = B(t, !0), d = S("span", n, t.getDate().toString());
4159
- return d.dateObj = t, d.$i = l, d.setAttribute("aria-label", e.formatDate(t, e.config.ariaDateFormat)), n.indexOf("hidden") === -1 && H(t, e.now) === 0 && (e.todayDateElem = d, d.classList.add("today"), d.setAttribute("aria-current", "date")), s ? (d.tabIndex = -1, ke(t) && (d.classList.add("selected"), e.selectedDateElem = d, e.config.mode === "range" && (N(d, "startRange", e.selectedDates[0] && H(t, e.selectedDates[0], !0) === 0), N(d, "endRange", e.selectedDates[1] && H(t, e.selectedDates[1], !0) === 0), n === "nextMonthDay" && d.classList.add("inRange")))) : d.classList.add("flatpickr-disabled"), e.config.mode === "range" && dn(t) && !ke(t) && d.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && n !== "prevMonthDay" && l % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(t) + "</span>"), T("onDayCreate", d), d;
4159
+ return d.dateObj = t, d.$i = l, d.setAttribute("aria-label", e.formatDate(t, e.config.ariaDateFormat)), n.indexOf("hidden") === -1 && H(t, e.now) === 0 && (e.todayDateElem = d, d.classList.add("today"), d.setAttribute("aria-current", "date")), s ? (d.tabIndex = -1, ye(t) && (d.classList.add("selected"), e.selectedDateElem = d, e.config.mode === "range" && (N(d, "startRange", e.selectedDates[0] && H(t, e.selectedDates[0], !0) === 0), N(d, "endRange", e.selectedDates[1] && H(t, e.selectedDates[1], !0) === 0), n === "nextMonthDay" && d.classList.add("inRange")))) : d.classList.add("flatpickr-disabled"), e.config.mode === "range" && dn(t) && !ye(t) && d.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && n !== "prevMonthDay" && l % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(t) + "</span>"), T("onDayCreate", d), d;
4160
4160
  }
4161
4161
  r(R, "createDay");
4162
4162
  function Z(n) {
@@ -4172,7 +4172,7 @@ function zt(a, i) {
4172
4172
  }
4173
4173
  }
4174
4174
  r(q, "getFirstAvailableDay");
4175
- function me(n, t) {
4175
+ function ge(n, t) {
4176
4176
  for (var o = n.className.indexOf("Month") === -1 ? n.dateObj.getMonth() : e.currentMonth, l = t > 0 ? e.config.showMonths : -1, s = t > 0 ? 1 : -1, d = o - e.currentMonth; d != l; d += s)
4177
4177
  for (var v = e.daysContainer.children[d], h = o - e.currentMonth === d ? n.$i + t : t < 0 ? v.children.length - 1 : 0, b = v.children.length, f = h; f >= 0 && f < b && f != (t > 0 ? b : -1); f += s) {
4178
4178
  var m = v.children[f];
@@ -4181,10 +4181,10 @@ function zt(a, i) {
4181
4181
  }
4182
4182
  e.changeMonth(s), ne(q(s), 0);
4183
4183
  }
4184
- r(me, "getNextAvailableDay");
4184
+ r(ge, "getNextAvailableDay");
4185
4185
  function ne(n, t) {
4186
4186
  var o = c(), l = oe(o || document.body), s = n !== void 0 ? n : l ? o : e.selectedDateElem !== void 0 && oe(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && oe(e.todayDateElem) ? e.todayDateElem : q(t > 0 ? 1 : -1);
4187
- s === void 0 ? e._input.focus() : l ? me(s, t) : Z(s);
4187
+ s === void 0 ? e._input.focus() : l ? ge(s, t) : Z(s);
4188
4188
  }
4189
4189
  r(ne, "focusOnDay");
4190
4190
  function We(n, t) {
@@ -4248,7 +4248,7 @@ function zt(a, i) {
4248
4248
  e.monthNav.appendChild(e.nextMonthNav);
4249
4249
  }
4250
4250
  r(Ae, "buildMonths");
4251
- function Ke() {
4251
+ function Ve() {
4252
4252
  return e.monthNav = S("div", "flatpickr-months"), e.yearElements = [], e.monthElements = [], e.prevMonthNav = S("span", "flatpickr-prev-month"), e.prevMonthNav.innerHTML = e.config.prevArrow, e.nextMonthNav = S("span", "flatpickr-next-month"), e.nextMonthNav.innerHTML = e.config.nextArrow, Ae(), Object.defineProperty(e, "_hidePrevMonthArrow", {
4253
4253
  get: /* @__PURE__ */ r(function() {
4254
4254
  return e.__hidePrevMonthArrow;
@@ -4265,10 +4265,10 @@ function zt(a, i) {
4265
4265
  }, "set")
4266
4266
  }), e.currentYearElement = e.yearElements[0], ue(), e.monthNav;
4267
4267
  }
4268
- r(Ke, "buildMonthNav");
4269
- function Ve() {
4268
+ r(Ve, "buildMonthNav");
4269
+ function Ke() {
4270
4270
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
4271
- var n = jn(e.config);
4271
+ var n = Ln(e.config);
4272
4272
  e.timeContainer = S("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
4273
4273
  var t = S("span", "flatpickr-time-separator", ":"), o = Sn("flatpickr-hour", {
4274
4274
  "aria-label": e.l10n.hourAriaLabel
@@ -4284,7 +4284,7 @@ function zt(a, i) {
4284
4284
  }
4285
4285
  return e.config.time_24hr || (e.amPM = S("span", "flatpickr-am-pm", e.l10n.amPM[z((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
4286
4286
  }
4287
- r(Ve, "buildTime");
4287
+ r(Ke, "buildTime");
4288
4288
  function Oe() {
4289
4289
  e.weekdayContainer ? Mn(e.weekdayContainer) : e.weekdayContainer = S("div", "flatpickr-weekdays");
4290
4290
  for (var n = e.config.showMonths; n--; ) {
@@ -4296,8 +4296,8 @@ function zt(a, i) {
4296
4296
  r(Oe, "buildWeekdays");
4297
4297
  function Pe() {
4298
4298
  if (e.weekdayContainer) {
4299
- var n = e.l10n.firstDayOfWeek, t = ct(e.l10n.weekdays.shorthand);
4300
- n > 0 && n < t.length && (t = ct(t.splice(n, t.length), t.splice(0, n)));
4299
+ var n = e.l10n.firstDayOfWeek, t = mt(e.l10n.weekdays.shorthand);
4300
+ n > 0 && n < t.length && (t = mt(t.splice(n, t.length), t.splice(0, n)));
4301
4301
  for (var o = e.config.showMonths; o--; )
4302
4302
  e.weekdayContainer.children[o].innerHTML = `
4303
4303
  <span class='flatpickr-weekday'>
@@ -4318,15 +4318,15 @@ function zt(a, i) {
4318
4318
  };
4319
4319
  }
4320
4320
  r(Re, "buildWeeks");
4321
- function ge(n, t) {
4321
+ function ve(n, t) {
4322
4322
  t === void 0 && (t = !0);
4323
4323
  var o = t ? n : n - e.currentMonth;
4324
4324
  o < 0 && e._hidePrevMonthArrow === !0 || o > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += o, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, T("onYearChange"), Q()), re(), T("onMonthChange"), ue());
4325
4325
  }
4326
- r(ge, "changeMonth");
4326
+ r(ve, "changeMonth");
4327
4327
  function Be(n, t) {
4328
4328
  if (n === void 0 && (n = !0), t === void 0 && (t = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, t === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
4329
- var o = jn(e.config), l = o.hours, s = o.minutes, d = o.seconds;
4329
+ var o = Ln(e.config), l = o.hours, s = o.minutes, d = o.seconds;
4330
4330
  I(l, s, d);
4331
4331
  }
4332
4332
  e.redraw(), n && T("onChange");
@@ -4394,7 +4394,7 @@ function zt(a, i) {
4394
4394
  return e.calendarContainer.contains(n);
4395
4395
  }
4396
4396
  r(te, "isCalendarElem");
4397
- function ve(n) {
4397
+ function we(n) {
4398
4398
  if (e.isOpen && !e.config.inline) {
4399
4399
  var t = J(n), o = te(t), l = t === e.input || t === e.altInput || e.element.contains(t) || n.path && n.path.indexOf && (~n.path.indexOf(e.input) || ~n.path.indexOf(e.altInput)), s = !l && !o && !te(n.relatedTarget), d = !e.config.ignoredFocusElements.some(function(v) {
4400
4400
  return v.contains(t);
@@ -4402,7 +4402,7 @@ function zt(a, i) {
4402
4402
  s && d && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && w(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
4403
4403
  }
4404
4404
  }
4405
- r(ve, "documentClick");
4405
+ r(we, "documentClick");
4406
4406
  function ie(n) {
4407
4407
  if (!(!n || e.config.minDate && n < e.config.minDate.getFullYear() || e.config.maxDate && n > e.config.maxDate.getFullYear())) {
4408
4408
  var t = n, o = e.currentYear !== t;
@@ -4439,11 +4439,11 @@ function zt(a, i) {
4439
4439
  }
4440
4440
  r(oe, "isInView");
4441
4441
  function Ze(n) {
4442
- var t = n.target === e._input, o = e._input.value.trimEnd() !== ye();
4442
+ var t = n.target === e._input, o = e._input.value.trimEnd() !== De();
4443
4443
  t && o && !(n.relatedTarget && te(n.relatedTarget)) && e.setDate(e._input.value, !0, n.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
4444
4444
  }
4445
4445
  r(Ze, "onBlur");
4446
- function _e(n) {
4446
+ function Ee(n) {
4447
4447
  var t = J(n), o = e.config.wrap ? a.contains(t) : t === e._input, l = e.config.allowInput, s = e.isOpen && (!l || !o), d = e.config.inline && o && !l;
4448
4448
  if (n.keyCode === 13 && o) {
4449
4449
  if (l)
@@ -4453,10 +4453,10 @@ function zt(a, i) {
4453
4453
  var v = !!e.timeContainer && e.timeContainer.contains(t);
4454
4454
  switch (n.keyCode) {
4455
4455
  case 13:
4456
- v ? (n.preventDefault(), w(), we()) : Ne(n);
4456
+ v ? (n.preventDefault(), w(), be()) : Ne(n);
4457
4457
  break;
4458
4458
  case 27:
4459
- n.preventDefault(), we();
4459
+ n.preventDefault(), be();
4460
4460
  break;
4461
4461
  case 8:
4462
4462
  case 46:
@@ -4469,7 +4469,7 @@ function zt(a, i) {
4469
4469
  var h = c();
4470
4470
  if (e.daysContainer !== void 0 && (l === !1 || h && oe(h))) {
4471
4471
  var b = n.keyCode === 39 ? 1 : -1;
4472
- n.ctrlKey ? (n.stopPropagation(), ge(b), ne(q(1), 0)) : ne(void 0, b);
4472
+ n.ctrlKey ? (n.stopPropagation(), ve(b), ne(q(1), 0)) : ne(void 0, b);
4473
4473
  }
4474
4474
  } else e.hourElement && e.hourElement.focus();
4475
4475
  break;
@@ -4486,8 +4486,8 @@ function zt(a, i) {
4486
4486
  e.minuteElement,
4487
4487
  e.secondElement,
4488
4488
  e.amPM
4489
- ].concat(e.pluginElements).filter(function(F) {
4490
- return F;
4489
+ ].concat(e.pluginElements).filter(function(x) {
4490
+ return x;
4491
4491
  }), C = m.indexOf(t);
4492
4492
  if (C !== -1) {
4493
4493
  var L = m[C + (n.shiftKey ? -1 : 1)];
@@ -4510,14 +4510,14 @@ function zt(a, i) {
4510
4510
  }
4511
4511
  (o || te(t)) && T("onKeyDown", n);
4512
4512
  }
4513
- r(_e, "onKeyDown");
4513
+ r(Ee, "onKeyDown");
4514
4514
  function le(n, t) {
4515
4515
  if (t === void 0 && (t = "flatpickr-day"), !(e.selectedDates.length !== 1 || n && (!n.classList.contains(t) || n.classList.contains("flatpickr-disabled")))) {
4516
- for (var o = n ? n.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), l = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), s = Math.min(o, e.selectedDates[0].getTime()), d = Math.max(o, e.selectedDates[0].getTime()), v = !1, h = 0, b = 0, f = s; f < d; f += $t.DAY)
4516
+ for (var o = n ? n.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), l = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), s = Math.min(o, e.selectedDates[0].getTime()), d = Math.max(o, e.selectedDates[0].getTime()), v = !1, h = 0, b = 0, f = s; f < d; f += Yt.DAY)
4517
4517
  B(new Date(f), !0) || (v = v || f > s && f < d, f < l && (!h || f > h) ? h = f : f > l && (!b || f < b) && (b = f));
4518
4518
  var m = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + t));
4519
4519
  m.forEach(function(C) {
4520
- var L = C.dateObj, F = L.getTime(), ae = h > 0 && F < h || b > 0 && F > b;
4520
+ var L = C.dateObj, x = L.getTime(), ae = h > 0 && x < h || b > 0 && x > b;
4521
4521
  if (ae) {
4522
4522
  C.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(X) {
4523
4523
  C.classList.remove(X);
@@ -4527,7 +4527,7 @@ function zt(a, i) {
4527
4527
  return;
4528
4528
  ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(X) {
4529
4529
  C.classList.remove(X);
4530
- }), n !== void 0 && (n.classList.add(o <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), l < o && F === l ? C.classList.add("startRange") : l > o && F === l && C.classList.add("endRange"), F >= h && (b === 0 || F <= b) && Ht(F, l, o) && C.classList.add("inRange"));
4530
+ }), n !== void 0 && (n.classList.add(o <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), l < o && x === l ? C.classList.add("startRange") : l > o && x === l && C.classList.add("endRange"), x >= h && (b === 0 || x <= b) && Ht(x, l, o) && C.classList.add("inRange"));
4531
4531
  });
4532
4532
  }
4533
4533
  }
@@ -4553,15 +4553,15 @@ function zt(a, i) {
4553
4553
  }, 50);
4554
4554
  }
4555
4555
  r(Qe, "open");
4556
- function Ee(n) {
4556
+ function _e(n) {
4557
4557
  return function(t) {
4558
4558
  var o = e.config["_" + n + "Date"] = e.parseDate(t, e.config.dateFormat), l = e.config["_" + (n === "min" ? "max" : "min") + "Date"];
4559
4559
  o !== void 0 && (e[n === "min" ? "minDateHasTime" : "maxDateHasTime"] = o.getHours() > 0 || o.getMinutes() > 0 || o.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(s) {
4560
4560
  return B(s);
4561
- }), !e.selectedDates.length && n === "min" && _(o), W()), e.daysContainer && (Ie(), o !== void 0 ? e.currentYearElement[n] = o.getFullYear().toString() : e.currentYearElement.removeAttribute(n), e.currentYearElement.disabled = !!l && o !== void 0 && l.getFullYear() === o.getFullYear());
4561
+ }), !e.selectedDates.length && n === "min" && E(o), W()), e.daysContainer && (Ie(), o !== void 0 ? e.currentYearElement[n] = o.getFullYear().toString() : e.currentYearElement.removeAttribute(n), e.currentYearElement.disabled = !!l && o !== void 0 && l.getFullYear() === o.getFullYear());
4562
4562
  };
4563
4563
  }
4564
- r(Ee, "minMaxDateSetter");
4564
+ r(_e, "minMaxDateSetter");
4565
4565
  function Xe() {
4566
4566
  var n = [
4567
4567
  "wrap",
@@ -4578,7 +4578,7 @@ function zt(a, i) {
4578
4578
  "static",
4579
4579
  "enableSeconds",
4580
4580
  "disableMobile"
4581
- ], t = x(x({}, JSON.parse(JSON.stringify(a.dataset || {}))), i), o = {};
4581
+ ], t = F(F({}, JSON.parse(JSON.stringify(a.dataset || {}))), i), o = {};
4582
4582
  e.config.parseDate = t.parseDate, e.config.formatDate = t.formatDate, Object.defineProperty(e.config, "enable", {
4583
4583
  get: /* @__PURE__ */ r(function() {
4584
4584
  return e.config._enable;
@@ -4607,12 +4607,12 @@ function zt(a, i) {
4607
4607
  get: /* @__PURE__ */ r(function() {
4608
4608
  return e.config._minDate;
4609
4609
  }, "get"),
4610
- set: Ee("min")
4610
+ set: _e("min")
4611
4611
  }), Object.defineProperty(e.config, "maxDate", {
4612
4612
  get: /* @__PURE__ */ r(function() {
4613
4613
  return e.config._maxDate;
4614
4614
  }, "get"),
4615
- set: Ee("max")
4615
+ set: _e("max")
4616
4616
  });
4617
4617
  var v = /* @__PURE__ */ r(function(m) {
4618
4618
  return function(C) {
@@ -4635,26 +4635,26 @@ function zt(a, i) {
4635
4635
  Fn.filter(function(m) {
4636
4636
  return e.config[m] !== void 0;
4637
4637
  }).forEach(function(m) {
4638
- e.config[m] = xn(e.config[m] || []).map(k);
4638
+ e.config[m] = In(e.config[m] || []).map(k);
4639
4639
  }), e.isMobile = !e.config.disableMobile && !e.config.inline && e.config.mode === "single" && !e.config.disable.length && !e.config.enable && !e.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
4640
4640
  for (var h = 0; h < e.config.plugins.length; h++) {
4641
4641
  var b = e.config.plugins[h](e) || {};
4642
4642
  for (var f in b)
4643
- Fn.indexOf(f) > -1 ? e.config[f] = xn(b[f]).map(k).concat(e.config[f]) : typeof t[f] > "u" && (e.config[f] = b[f]);
4643
+ Fn.indexOf(f) > -1 ? e.config[f] = In(b[f]).map(k).concat(e.config[f]) : typeof t[f] > "u" && (e.config[f] = b[f]);
4644
4644
  }
4645
- t.altInputClass || (e.config.altInputClass = Fe().className + " " + e.config.altInputClass), T("onParseConfig");
4645
+ t.altInputClass || (e.config.altInputClass = xe().className + " " + e.config.altInputClass), T("onParseConfig");
4646
4646
  }
4647
4647
  r(Xe, "parseConfig");
4648
- function Fe() {
4648
+ function xe() {
4649
4649
  return e.config.wrap ? a.querySelector("[data-input]") : a;
4650
4650
  }
4651
- r(Fe, "getInputElem");
4652
- function xe() {
4653
- typeof e.config.locale != "object" && typeof P.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = x(x({}, P.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? P.l10ns[e.config.locale] : void 0), fe.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", fe.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", fe.M = "(" + e.l10n.months.shorthand.join("|") + ")", fe.F = "(" + e.l10n.months.longhand.join("|") + ")", fe.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
4654
- var n = x(x({}, i), JSON.parse(JSON.stringify(a.dataset || {})));
4655
- n.time_24hr === void 0 && P.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = gt(e), e.parseDate = Ln({ config: e.config, l10n: e.l10n });
4651
+ r(xe, "getInputElem");
4652
+ function Fe() {
4653
+ typeof e.config.locale != "object" && typeof P.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = F(F({}, P.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? P.l10ns[e.config.locale] : void 0), ce.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", ce.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", ce.M = "(" + e.l10n.months.shorthand.join("|") + ")", ce.F = "(" + e.l10n.months.longhand.join("|") + ")", ce.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
4654
+ var n = F(F({}, i), JSON.parse(JSON.stringify(a.dataset || {})));
4655
+ n.time_24hr === void 0 && P.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = bt(e), e.parseDate = Jn({ config: e.config, l10n: e.l10n });
4656
4656
  }
4657
- r(xe, "setupLocale");
4657
+ r(Fe, "setupLocale");
4658
4658
  function se(n) {
4659
4659
  if (typeof e.config.position == "function")
4660
4660
  return void e.config.position(e, n);
@@ -4664,8 +4664,8 @@ function zt(a, i) {
4664
4664
  return bn + kn.offsetHeight;
4665
4665
  }), 0), l = e.calendarContainer.offsetWidth, s = e.config.position.split(" "), d = s[0], v = s.length > 1 ? s[1] : null, h = t.getBoundingClientRect(), b = window.innerHeight - h.bottom, f = d === "above" || d !== "below" && b < o && h.top > o, m = window.pageYOffset + h.top + (f ? -o - 2 : t.offsetHeight + 2);
4666
4666
  if (N(e.calendarContainer, "arrowTop", !f), N(e.calendarContainer, "arrowBottom", f), !e.config.inline) {
4667
- var C = window.pageXOffset + h.left, L = !1, F = !1;
4668
- v === "center" ? (C -= (l - h.width) / 2, L = !0) : v === "right" && (C -= l - h.width, F = !0), N(e.calendarContainer, "arrowLeft", !L && !F), N(e.calendarContainer, "arrowCenter", L), N(e.calendarContainer, "arrowRight", F);
4667
+ var C = window.pageXOffset + h.left, L = !1, x = !1;
4668
+ v === "center" ? (C -= (l - h.width) / 2, L = !0) : v === "right" && (C -= l - h.width, x = !0), N(e.calendarContainer, "arrowLeft", !L && !x), N(e.calendarContainer, "arrowCenter", L), N(e.calendarContainer, "arrowRight", x);
4669
4669
  var ae = window.document.body.offsetWidth - (window.pageXOffset + h.right), X = C + l > window.document.body.offsetWidth, cn = ae + l > window.document.body.offsetWidth;
4670
4670
  if (N(e.calendarContainer, "rightMost", X), !e.config.static)
4671
4671
  if (e.calendarContainer.style.top = m + "px", !X)
@@ -4673,11 +4673,11 @@ function zt(a, i) {
4673
4673
  else if (!cn)
4674
4674
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = ae + "px";
4675
4675
  else {
4676
- var De = en();
4677
- if (De === void 0)
4676
+ var Me = en();
4677
+ if (Me === void 0)
4678
4678
  return;
4679
- var hn = window.document.body.offsetWidth, pn = Math.max(0, hn / 2 - l / 2), mn = ".flatpickr-calendar.centerMost:before", gn = ".flatpickr-calendar.centerMost:after", vn = De.cssRules.length, wn = "{left:" + h.left + "px;right:auto;}";
4680
- N(e.calendarContainer, "rightMost", !1), N(e.calendarContainer, "centerMost", !0), De.insertRule(mn + "," + gn + wn, vn), e.calendarContainer.style.left = pn + "px", e.calendarContainer.style.right = "auto";
4679
+ var hn = window.document.body.offsetWidth, pn = Math.max(0, hn / 2 - l / 2), mn = ".flatpickr-calendar.centerMost:before", gn = ".flatpickr-calendar.centerMost:after", vn = Me.cssRules.length, wn = "{left:" + h.left + "px;right:auto;}";
4680
+ N(e.calendarContainer, "rightMost", !1), N(e.calendarContainer, "centerMost", !0), Me.insertRule(mn + "," + gn + wn, vn), e.calendarContainer.style.left = pn + "px", e.calendarContainer.style.right = "auto";
4681
4681
  }
4682
4682
  }
4683
4683
  }
@@ -4708,21 +4708,21 @@ function zt(a, i) {
4708
4708
  e.config.noCalendar || e.isMobile || (Q(), ue(), re());
4709
4709
  }
4710
4710
  r(Ie, "redraw");
4711
- function we() {
4711
+ function be() {
4712
4712
  e._input.focus(), window.navigator.userAgent.indexOf("MSIE") !== -1 || navigator.msMaxTouchPoints !== void 0 ? setTimeout(e.close, 0) : e.close();
4713
4713
  }
4714
- r(we, "focusAndClose");
4714
+ r(be, "focusAndClose");
4715
4715
  function Ne(n) {
4716
4716
  n.preventDefault(), n.stopPropagation();
4717
4717
  var t = /* @__PURE__ */ r(function(m) {
4718
4718
  return m.classList && m.classList.contains("flatpickr-day") && !m.classList.contains("flatpickr-disabled") && !m.classList.contains("notAllowed");
4719
- }, "isSelectable"), o = mt(J(n), t);
4719
+ }, "isSelectable"), o = wt(J(n), t);
4720
4720
  if (o !== void 0) {
4721
4721
  var l = o, s = e.latestSelectedDateObj = new Date(l.dateObj.getTime()), d = (s.getMonth() < e.currentMonth || s.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
4722
4722
  if (e.selectedDateElem = l, e.config.mode === "single")
4723
4723
  e.selectedDates = [s];
4724
4724
  else if (e.config.mode === "multiple") {
4725
- var v = ke(s);
4725
+ var v = ye(s);
4726
4726
  v ? e.selectedDates.splice(parseInt(v), 1) : e.selectedDates.push(s);
4727
4727
  } else e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = s, e.selectedDates.push(s), H(s, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(m, C) {
4728
4728
  return m.getTime() - C.getTime();
@@ -4733,17 +4733,17 @@ function zt(a, i) {
4733
4733
  }
4734
4734
  if (ue(), re(), W(), !d && e.config.mode !== "range" && e.config.showMonths === 1 ? Z(l) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
4735
4735
  var b = e.config.mode === "single" && !e.config.enableTime, f = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
4736
- (b || f) && we();
4736
+ (b || f) && be();
4737
4737
  }
4738
- Y();
4738
+ $();
4739
4739
  }
4740
4740
  }
4741
4741
  r(Ne, "selectDate");
4742
4742
  var de = {
4743
- locale: [xe, Pe],
4743
+ locale: [Fe, Pe],
4744
4744
  showMonths: [Ae, D, Oe],
4745
- minDate: [$],
4746
- maxDate: [$],
4745
+ minDate: [Y],
4746
+ maxDate: [Y],
4747
4747
  positionElement: [Je],
4748
4748
  clickOpens: [
4749
4749
  function() {
@@ -4761,7 +4761,7 @@ function zt(a, i) {
4761
4761
  } else
4762
4762
  e.config[n] = t, de[n] !== void 0 ? de[n].forEach(function(l) {
4763
4763
  return l();
4764
- }) : Fn.indexOf(n) > -1 && (e.config[n] = xn(t));
4764
+ }) : Fn.indexOf(n) > -1 && (e.config[n] = In(t));
4765
4765
  e.redraw(), W(!0);
4766
4766
  }
4767
4767
  r(tn, "set");
@@ -4802,7 +4802,7 @@ function zt(a, i) {
4802
4802
  function an(n, t, o) {
4803
4803
  if (t === void 0 && (t = !1), o === void 0 && (o = e.config.dateFormat), n !== 0 && !n || n instanceof Array && n.length === 0)
4804
4804
  return e.clear(t);
4805
- je(n, o), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), $(void 0, t), _(), e.selectedDates.length === 0 && e.clear(!1), W(t), t && T("onChange");
4805
+ je(n, o), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), Y(void 0, t), E(), e.selectedDates.length === 0 && e.clear(!1), W(t), t && T("onChange");
4806
4806
  }
4807
4807
  r(an, "setDate");
4808
4808
  function Le(n) {
@@ -4823,7 +4823,7 @@ function zt(a, i) {
4823
4823
  }
4824
4824
  r(rn, "setupDates");
4825
4825
  function on() {
4826
- if (e.input = Fe(), !e.input) {
4826
+ if (e.input = xe(), !e.input) {
4827
4827
  e.config.errorHandler(new Error("Invalid input element specified"));
4828
4828
  return;
4829
4829
  }
@@ -4858,16 +4858,16 @@ function zt(a, i) {
4858
4858
  if (o !== void 0 && o.length > 0)
4859
4859
  for (var l = 0; o[l] && l < o.length; l++)
4860
4860
  o[l](e.selectedDates, e.input.value, e, t);
4861
- n === "onChange" && (e.input.dispatchEvent(be("change")), e.input.dispatchEvent(be("input")));
4861
+ n === "onChange" && (e.input.dispatchEvent(ke("change")), e.input.dispatchEvent(ke("input")));
4862
4862
  }
4863
4863
  }
4864
4864
  r(T, "triggerEvent");
4865
- function be(n) {
4865
+ function ke(n) {
4866
4866
  var t = document.createEvent("Event");
4867
4867
  return t.initEvent(n, !0, !0), t;
4868
4868
  }
4869
- r(be, "createEvent");
4870
- function ke(n) {
4869
+ r(ke, "createEvent");
4870
+ function ye(n) {
4871
4871
  for (var t = 0; t < e.selectedDates.length; t++) {
4872
4872
  var o = e.selectedDates[t];
4873
4873
  if (o instanceof Date && H(o, n) === 0)
@@ -4875,7 +4875,7 @@ function zt(a, i) {
4875
4875
  }
4876
4876
  return !1;
4877
4877
  }
4878
- r(ke, "isDateSelected");
4878
+ r(ye, "isDateSelected");
4879
4879
  function dn(n) {
4880
4880
  return e.config.mode !== "range" || e.selectedDates.length < 2 ? !1 : H(n, e.selectedDates[0]) >= 0 && H(n, e.selectedDates[1]) <= 0;
4881
4881
  }
@@ -4887,7 +4887,7 @@ function zt(a, i) {
4887
4887
  }), e._hidePrevMonthArrow = e.config.minDate !== void 0 && (e.currentYear === e.config.minDate.getFullYear() ? e.currentMonth <= e.config.minDate.getMonth() : e.currentYear < e.config.minDate.getFullYear()), e._hideNextMonthArrow = e.config.maxDate !== void 0 && (e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth + 1 > e.config.maxDate.getMonth() : e.currentYear > e.config.maxDate.getFullYear()));
4888
4888
  }
4889
4889
  r(ue, "updateNavigationCurrentMonth");
4890
- function ye(n) {
4890
+ function De(n) {
4891
4891
  var t = n || (e.config.altInput ? e.config.altFormat : e.config.dateFormat);
4892
4892
  return e.selectedDates.map(function(o) {
4893
4893
  return e.formatDate(o, t);
@@ -4895,14 +4895,14 @@ function zt(a, i) {
4895
4895
  return e.config.mode !== "range" || e.config.enableTime || s.indexOf(o) === l;
4896
4896
  }).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
4897
4897
  }
4898
- r(ye, "getDateStr");
4898
+ r(De, "getDateStr");
4899
4899
  function W(n) {
4900
- n === void 0 && (n = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = ye(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = ye(e.config.altFormat)), n !== !1 && T("onValueUpdate");
4900
+ n === void 0 && (n = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = De(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = De(e.config.altFormat)), n !== !1 && T("onValueUpdate");
4901
4901
  }
4902
4902
  r(W, "updateValue");
4903
4903
  function un(n) {
4904
4904
  var t = J(n), o = e.prevMonthNav.contains(t), l = e.nextMonthNav.contains(t);
4905
- o || l ? ge(o ? -1 : 1) : e.yearElements.indexOf(t) >= 0 ? t.select() : t.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : t.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
4905
+ o || l ? ve(o ? -1 : 1) : e.yearElements.indexOf(t) >= 0 ? t.select() : t.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : t.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
4906
4906
  }
4907
4907
  r(un, "onMonthNavClick");
4908
4908
  function fn(n) {
@@ -4944,17 +4944,17 @@ var P = /* @__PURE__ */ r(function(a, i) {
4944
4944
  }, "flatpickr");
4945
4945
  P.defaultConfig = {};
4946
4946
  P.l10ns = {
4947
- en: x({}, $e),
4948
- default: x({}, $e)
4947
+ en: F({}, Ye),
4948
+ default: F({}, Ye)
4949
4949
  };
4950
4950
  P.localize = function(a) {
4951
- P.l10ns.default = x(x({}, P.l10ns.default), a);
4951
+ P.l10ns.default = F(F({}, P.l10ns.default), a);
4952
4952
  };
4953
4953
  P.setDefaults = function(a) {
4954
- P.defaultConfig = x(x({}, P.defaultConfig), a);
4954
+ P.defaultConfig = F(F({}, P.defaultConfig), a);
4955
4955
  };
4956
- P.parseDate = Ln({});
4957
- P.formatDate = gt({});
4956
+ P.parseDate = Jn({});
4957
+ P.formatDate = bt({});
4958
4958
  P.compareDates = H;
4959
4959
  typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(a) {
4960
4960
  return Ce(this, a);
@@ -4963,12 +4963,12 @@ Date.prototype.fp_incr = function(a) {
4963
4963
  return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof a == "string" ? parseInt(a, 10) : a));
4964
4964
  };
4965
4965
  typeof window < "u" && (window.flatpickr = P);
4966
- var Tn = { exports: {} }, Kt = Tn.exports, ht;
4967
- function Vt() {
4968
- return ht || (ht = 1, (function(a, i) {
4966
+ var Tn = { exports: {} }, Vt = Tn.exports, gt;
4967
+ function Kt() {
4968
+ return gt || (gt = 1, (function(a, i) {
4969
4969
  (function(e, u) {
4970
4970
  a.exports = u();
4971
- })(Kt, (function() {
4971
+ })(Vt, (function() {
4972
4972
  /*! *****************************************************************************
4973
4973
  Copyright (c) Microsoft Corporation.
4974
4974
 
@@ -5014,20 +5014,20 @@ function Vt() {
5014
5014
  var D = e(e({}, p), k), w, A = "flatpickr-confirm";
5015
5015
  return function(g) {
5016
5016
  return g.config.noCalendar || g.isMobile ? {} : e({
5017
- onKeyDown: /* @__PURE__ */ r(function(O, _, I, E) {
5018
- var y = u(E), Y = !g.config.time_24hr && y === g.amPM || g.config.time_24hr && (g.config.enableSeconds && y === g.secondElement || !g.config.enableSeconds && y === g.minuteElement);
5019
- g.config.enableTime && E.key === "Tab" && Y ? (E.preventDefault(), w.focus()) : E.key === "Enter" && y === w && g.close();
5017
+ onKeyDown: /* @__PURE__ */ r(function(O, E, I, _) {
5018
+ var y = u(_), $ = !g.config.time_24hr && y === g.amPM || g.config.time_24hr && (g.config.enableSeconds && y === g.secondElement || !g.config.enableSeconds && y === g.minuteElement);
5019
+ g.config.enableTime && _.key === "Tab" && $ ? (_.preventDefault(), w.focus()) : _.key === "Enter" && y === w && g.close();
5020
5020
  }, "onKeyDown"),
5021
5021
  onReady: /* @__PURE__ */ r(function() {
5022
5022
  w = g._createElement("div", A + " " + (D.showAlways ? "visible" : "") + " " + D.theme + "Theme", D.confirmText), w.tabIndex = -1, w.innerHTML += D.confirmIcon, w.addEventListener("click", g.close), g.calendarContainer.appendChild(w), g.loadedPlugins.push("confirmDate");
5023
5023
  }, "onReady")
5024
5024
  }, D.showAlways ? {} : {
5025
- onChange: /* @__PURE__ */ r(function(O, _) {
5026
- var I = g.config.enableTime || g.config.mode === "multiple" || g.loadedPlugins.indexOf("monthSelect") !== -1, E = g.calendarContainer.querySelector("." + A);
5027
- if (E) {
5028
- if (_ && !g.config.inline && I && E)
5029
- return E.classList.add("visible");
5030
- E.classList.remove("visible");
5025
+ onChange: /* @__PURE__ */ r(function(O, E) {
5026
+ var I = g.config.enableTime || g.config.mode === "multiple" || g.loadedPlugins.indexOf("monthSelect") !== -1, _ = g.calendarContainer.querySelector("." + A);
5027
+ if (_) {
5028
+ if (E && !g.config.inline && I && _)
5029
+ return _.classList.add("visible");
5030
+ _.classList.remove("visible");
5031
5031
  }
5032
5032
  }, "onChange")
5033
5033
  });
@@ -5037,16 +5037,16 @@ function Vt() {
5037
5037
  }));
5038
5038
  })(Tn)), Tn.exports;
5039
5039
  }
5040
- r(Vt, "requireConfirmDate");
5041
- var Rt = Vt();
5042
- const Bt = /* @__PURE__ */ pt(Rt);
5040
+ r(Kt, "requireConfirmDate");
5041
+ var Rt = Kt();
5042
+ const Bt = /* @__PURE__ */ vt(Rt);
5043
5043
  var Ut = Object.defineProperty, Gt = Object.getOwnPropertyDescriptor, ee = /* @__PURE__ */ r((a, i, e, u) => {
5044
5044
  for (var p = u > 1 ? void 0 : u ? Gt(i, e) : i, c = a.length - 1, k; c >= 0; c--)
5045
5045
  (k = a[c]) && (p = (u ? k(i, e, p) : k(p)) || p);
5046
5046
  return u && p && Ut(i, e, p), p;
5047
5047
  }, "__decorateClass"), Te;
5048
- let V = (Te = class extends kt {
5049
- components = { VSTStringField: yt, CalendarDaysIcon: It };
5048
+ let K = (Te = class extends Mt {
5049
+ components = { VSTStringField: St, CalendarDaysIcon: It };
5050
5050
  emits = ["change"];
5051
5051
  placeholder = {
5052
5052
  en: "Select date",
@@ -5096,7 +5096,7 @@ let V = (Te = class extends kt {
5096
5096
  }
5097
5097
  _preventMaskDateChange = !1;
5098
5098
  _initPicker() {
5099
- const i = (this.force12hours ? "en-US" : this.locale) || new Intl.DateTimeFormat().resolvedOptions()?.locale, e = i?.split?.("-")?.[0];
5099
+ const i = (this.force12hours ? "en-US" : this.locale) || this.VST.$r.locale, e = i?.split?.("-")?.[0];
5100
5100
  if (!this.$refs.picker || !e) return;
5101
5101
  this.localeInner = e;
5102
5102
  let u;
@@ -5123,7 +5123,7 @@ let V = (Te = class extends kt {
5123
5123
  closeOnSelect: !1,
5124
5124
  className: "custom-flatpickr-theme",
5125
5125
  // @ts-ignore
5126
- locale: (e ? En?.[e] : En?.default) || En?.default || void 0,
5126
+ locale: (e ? xn?.[e] : xn?.default) || xn?.default || void 0,
5127
5127
  // @ts-ignore
5128
5128
  plugins: this.withSeconds || this.withTime ? [new Bt({
5129
5129
  confirmIcon: "",
@@ -5144,7 +5144,7 @@ let V = (Te = class extends kt {
5144
5144
  this.fp && !this.fp.isOpen && this.fp.open();
5145
5145
  }
5146
5146
  _changeInput(i) {
5147
- this.fp && !this.fp.isOpen && !this.value && this.fp.open();
5147
+ i?.trim?.() || this.$emit("update:modelValue", this.value = null), this.fp && !this.fp.isOpen && !this.value && this.fp.open();
5148
5148
  }
5149
5149
  _inputEnter(i) {
5150
5150
  this.fp && this.fp.isOpen && this.fp.close(), this.$refs?.VSTStringField?.blur?.();
@@ -5207,54 +5207,54 @@ let V = (Te = class extends kt {
5207
5207
  }
5208
5208
  }, r(Te, "DateField"), Te);
5209
5209
  ee([
5210
- ce(String, Object)
5211
- ], V.prototype, "placeholder", 2);
5210
+ he(String, Object)
5211
+ ], K.prototype, "placeholder", 2);
5212
5212
  ee([
5213
- ce(Boolean)
5214
- ], V.prototype, "force12hours", 2);
5213
+ he(Boolean)
5214
+ ], K.prototype, "force12hours", 2);
5215
5215
  ee([
5216
- ce(Boolean)
5217
- ], V.prototype, "withTime", 2);
5216
+ he(Boolean)
5217
+ ], K.prototype, "withTime", 2);
5218
5218
  ee([
5219
- ce(Boolean)
5220
- ], V.prototype, "withSeconds", 2);
5219
+ he(Boolean)
5220
+ ], K.prototype, "withSeconds", 2);
5221
5221
  ee([
5222
- ce(String)
5223
- ], V.prototype, "locale", 2);
5222
+ he(String)
5223
+ ], K.prototype, "locale", 2);
5224
5224
  ee([
5225
- ce(Boolean)
5226
- ], V.prototype, "disabled", 2);
5225
+ he(Boolean)
5226
+ ], K.prototype, "disabled", 2);
5227
5227
  ee([
5228
- ce(Boolean)
5229
- ], V.prototype, "ISO861UTCMode", 2);
5228
+ he(Boolean)
5229
+ ], K.prototype, "ISO861UTCMode", 2);
5230
5230
  ee([
5231
- Dt("DT", !0, !0)
5232
- ], V.prototype, "_watchDT", 1);
5233
- V = ee([
5234
- Mt
5235
- ], V);
5236
- const Zt = { class: "cursor-pointer absolute op-0 l-50% translate-x--50%" }, qt = {
5231
+ Ct("DT", !0, !0)
5232
+ ], K.prototype, "_watchDT", 1);
5233
+ K = ee([
5234
+ Tt
5235
+ ], K);
5236
+ const Zt = { class: "cursor-pointer absolute op-0 t-0 l-50% translate-x--50%" }, qt = {
5237
5237
  key: 2,
5238
- class: "w20px h20px text-stone absolute t-13px l-12px z4 cursor-pointer hover:scale-130"
5238
+ class: "w22px h22px text-stone absolute t-13px l-12px z4 cursor-pointer hover:scale-130"
5239
5239
  };
5240
5240
  function Qt(a, i, e, u, p, c) {
5241
- const k = lt("VSTStringField"), D = lt("CalendarDaysIcon");
5242
- return Me(), Cn("div", {
5243
- class: st(["vst-date-field d-inline-block my1px w100% flex items-center flex-col relative", {
5241
+ const k = st("VSTStringField"), D = st("CalendarDaysIcon");
5242
+ return fe(), Cn("div", {
5243
+ class: dt(["vst-date-field d-inline-block my1px w100% flex items-center flex-col relative", {
5244
5244
  // 'vst-select-multi': mode == 'multi' || mode == 'tags',
5245
5245
  }])
5246
5246
  }, [
5247
- a.value ? Dn("", !0) : (Me(), Cn("div", {
5247
+ a.value ? Dn("", !0) : (fe(), Cn("div", {
5248
5248
  key: 0,
5249
- class: st(["flex items-center min-w240px bg-white rounded-3xl justify-center text-#c1c7cf border-solid border-1px w100% mx-auto min-h46px!", {
5249
+ class: dt(["flex items-center min-w240px bg-white rounded-3xl justify-center text-#c1c7cf border-solid border-1px w100% mx-auto min-h46px!", {
5250
5250
  "hover:border-stone hover:text-stone border-#c1c7cf": !a.disabled,
5251
5251
  "border-#D0CCC9FF cursor-no-drop": a.disabled
5252
5252
  }]),
5253
5253
  tabindex: "-1",
5254
5254
  onFocusin: i[0] || (i[0] = (w) => a.disabled ? null : a.addDate()),
5255
5255
  onClick: i[1] || (i[1] = (w) => a.disabled ? null : a.addDate())
5256
- }, Ct(a.disabled ? "----" : a.placeholder?.[a.localeInner] || a.placeholder?.en || a.placeholder), 35)),
5257
- a.value ? (Me(), dt(k, {
5256
+ }, Ot(a.disabled ? "----" : a.placeholder?.[a.localeInner] || a.placeholder?.en || a.placeholder), 35)),
5257
+ a.value ? (fe(), _n(k, {
5258
5258
  key: 1,
5259
5259
  class: "z2",
5260
5260
  maskPreset: a.maskPreset,
@@ -5265,35 +5265,42 @@ function Qt(a, i, e, u, p, c) {
5265
5265
  force12hours: a.force12hours,
5266
5266
  dtPresetLocale: a.locale,
5267
5267
  disabled: a.disabled,
5268
- onKeypress: i[4] || (i[4] = Tt((w) => a._inputEnter(), ["enter"])),
5268
+ fontSize: "1rem",
5269
+ onKeypress: i[4] || (i[4] = Pt((w) => a._inputEnter(), ["enter"])),
5269
5270
  ref: "VSTStringField"
5270
5271
  }, null, 8, ["maskPreset", "placeholder", "onDateMaskChange", "force12hours", "dtPresetLocale", "disabled"])) : Dn("", !0),
5271
- St(An("div", Zt, [
5272
+ At(An("div", Zt, [
5272
5273
  An("input", {
5273
5274
  ref: "picker",
5274
5275
  type: "text",
5275
5276
  readonly: "",
5276
- onMousedown: i[5] || (i[5] = At(() => {
5277
+ onMousedown: i[5] || (i[5] = Et(() => {
5277
5278
  }, ["prevent"]))
5278
5279
  }, null, 544)
5279
5280
  ], 512), [
5280
- [Ot, a.value]
5281
+ [_t, a.value]
5281
5282
  ]),
5282
- a.disabled ? Dn("", !0) : (Me(), Cn("div", qt, [
5283
- Pt(D, {
5283
+ a.disabled ? Dn("", !0) : (fe(), Cn("div", qt, [
5284
+ xt(D, {
5284
5285
  onClick: i[6] || (i[6] = (w) => a.value ? a._inputFocus() : a.addDate())
5285
5286
  })
5286
5287
  ])),
5287
- a.showCalendar ? Dn("", !0) : (Me(), dt(_t("style"), { key: 3 }, {
5288
- default: Et(() => [...i[7] || (i[7] = [
5289
- Ft(".flatpickr-calendar {display: none !important}", -1)
5288
+ a.showCalendar ? Dn("", !0) : (fe(), _n(ut("style"), { key: 3 }, {
5289
+ default: ft(() => [...i[7] || (i[7] = [
5290
+ ct(".flatpickr-calendar {display: none !important}", -1)
5291
+ ])]),
5292
+ _: 1
5293
+ })),
5294
+ (fe(), _n(ut("style"), null, {
5295
+ default: ft(() => [...i[8] || (i[8] = [
5296
+ ct(".flatpickr-calendar {box-shadow: 0px 2px 13px var(--un-shadow-color, rgb(193 193 193)) !important}", -1)
5290
5297
  ])]),
5291
5298
  _: 1
5292
5299
  }))
5293
5300
  ]);
5294
5301
  }
5295
5302
  r(Qt, "render");
5296
- const aa = /* @__PURE__ */ xt(V, [["render", Qt]]);
5303
+ const aa = /* @__PURE__ */ Ft(K, [["render", Qt]]);
5297
5304
  export {
5298
5305
  aa as default
5299
5306
  };