@avakhula/ui 0.0.104 → 0.0.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openBlock as G, createElementBlock as ne, normalizeStyle as wn, normalizeClass as ve, resolveComponent as ce, createElementVNode as ae, renderSlot as Te, createVNode as ge, Transition as _r, withCtx as be, withDirectives as Ve, vShow as Ye, createBlock as $e, resolveDynamicComponent as $r, mergeProps as Et, Fragment as rt, renderList as jt, createCommentVNode as he, toDisplayString as we, withModifiers as _t, resolveDirective as wr, createSlots as Eo, Teleport as ua, createTextVNode as Ke, vModelDynamic as So, withKeys as bn, pushScopeId as bi, popScopeId as _i, vModelText as xo, defineComponent as da, onMounted as ca, onBeforeUnmount as fa, ref as Ri, watch as Qr, nextTick as Bi, h as ha, createStaticVNode as pa, createApp as ga } from "vue";
1
+ import { openBlock as G, createElementBlock as ne, normalizeStyle as wn, normalizeClass as ve, resolveComponent as ce, createElementVNode as ae, renderSlot as Te, createVNode as ge, Transition as $r, withCtx as be, withDirectives as Ve, vShow as Ye, createBlock as $e, resolveDynamicComponent as wr, mergeProps as Et, Fragment as rt, renderList as jt, createCommentVNode as he, toDisplayString as we, withModifiers as _t, resolveDirective as Or, createSlots as Eo, Teleport as ua, createTextVNode as Ke, vModelDynamic as So, withKeys as bn, pushScopeId as _i, popScopeId as $i, vModelText as xo, defineComponent as da, onMounted as ca, onBeforeUnmount as fa, ref as Ri, watch as ei, nextTick as Bi, h as ha, createStaticVNode as pa, createApp as ga } from "vue";
2
2
  const Ae = (t, n) => {
3
3
  const e = t.__vccOpts || t;
4
4
  for (const [i, o] of n)
@@ -99,7 +99,7 @@ function $a(t, n, e, i, o, r) {
99
99
  name: "chevron-down-outline"
100
100
  })
101
101
  ]),
102
- ge(_r, {
102
+ ge($r, {
103
103
  name: "expand",
104
104
  onEnter: t.enter,
105
105
  onAfterEnter: t.afterEnter,
@@ -124,7 +124,7 @@ const Hh = /* @__PURE__ */ Ae(ba, [["render", $a], ["__scopeId", "data-v-e0e1eb8
124
124
  danger: "danger",
125
125
  ghostDanger: "ghostDanger"
126
126
  };
127
- function Or(t) {
127
+ function kr(t) {
128
128
  for (let n in t)
129
129
  n.startsWith("on") && delete t[n];
130
130
  return t;
@@ -201,7 +201,7 @@ const wa = {
201
201
  return t.push(`ib-btn-${this.kind}`), this.isDisabled && t.push("ib-btn-disabled"), this.block && t.push("ib-btn-block"), this.hasIcon && t.push("ib-btn-has-icon"), t;
202
202
  },
203
203
  attrs() {
204
- const t = { ...Or({ ...this.$attrs }) };
204
+ const t = { ...kr({ ...this.$attrs }) };
205
205
  return t.class = [...this.classes, t.class], t.disabled = this.isDisabled, this.href.length && (t.href = this.href), t;
206
206
  },
207
207
  hasIcon() {
@@ -217,7 +217,7 @@ const wa = {
217
217
  inheritAttrs: !1
218
218
  }, Oa = ["method", "action"], ka = ["value"], Ca = ["value"], Ea = ["name", "value"];
219
219
  function Sa(t, n, e, i, o, r) {
220
- return G(), $e($r(e.href.length ? "a" : "button"), Et({
220
+ return G(), $e(wr(e.href.length ? "a" : "button"), Et({
221
221
  onClick: n[0] || (n[0] = (l) => r.onClick(l)),
222
222
  onMouseenter: r.onMouseenter,
223
223
  onMouseleave: r.onMouseleave
@@ -274,17 +274,21 @@ const Aa = {
274
274
  position: {
275
275
  type: String,
276
276
  default: Ta.topCenter
277
+ },
278
+ alwaysVisible: {
279
+ type: Boolean,
280
+ default: !1
277
281
  }
278
282
  },
279
283
  data() {
280
284
  return {
281
285
  parentNode: null,
282
- isVisible: !1
286
+ isVisible: !!this.alwaysVisible
283
287
  };
284
288
  },
285
289
  mounted() {
286
290
  this.$nextTick(() => {
287
- this.parentNode = this.$el.parentNode, getComputedStyle(this.parentNode).position !== "absolute" && (this.parentNode.style.position = "relative"), this.parentNode.addEventListener("focus", this.showPopover, !0), this.parentNode.addEventListener("blur", this.hidePopover, !0), this.parentNode.addEventListener("mouseover", this.showPopover, !0), this.parentNode.addEventListener("mouseleave", this.hidePopover, !0);
291
+ this.parentNode = this.$el.parentNode, getComputedStyle(this.parentNode).position !== "absolute" && (this.parentNode.style.position = "relative"), this.alwaysVisible || (this.parentNode.addEventListener("focus", this.showPopover, !0), this.parentNode.addEventListener("blur", this.hidePopover, !0), this.parentNode.addEventListener("mouseover", this.showPopover, !0), this.parentNode.addEventListener("mouseleave", this.hidePopover, !0));
288
292
  });
289
293
  },
290
294
  methods: {
@@ -302,11 +306,11 @@ const Aa = {
302
306
  }
303
307
  },
304
308
  beforeUnmount() {
305
- this.parentNode.removeEventListener("focus", this.showPopover, !0), this.parentNode.removeEventListener("blur", this.hidePopover, !0), this.parentNode.removeEventListener("mouseover", this.showPopover, !0), this.parentNode.removeEventListener("mouseleave", this.hidePopover, !0);
309
+ this.alwaysVisible || (this.parentNode.removeEventListener("focus", this.showPopover, !0), this.parentNode.removeEventListener("blur", this.hidePopover, !0), this.parentNode.removeEventListener("mouseover", this.showPopover, !0), this.parentNode.removeEventListener("mouseleave", this.hidePopover, !0));
306
310
  }
307
311
  };
308
312
  function Na(t, n, e, i, o, r) {
309
- return G(), $e(_r, null, {
313
+ return G(), $e($r, null, {
310
314
  default: be(() => [
311
315
  Ve(ae("div", {
312
316
  class: ve(r.classes)
@@ -319,8 +323,8 @@ function Na(t, n, e, i, o, r) {
319
323
  _: 3
320
324
  });
321
325
  }
322
- const Ia = /* @__PURE__ */ Ae(Aa, [["render", Na], ["__scopeId", "data-v-be16c20c"]]);
323
- const Pa = {
326
+ const Ia = /* @__PURE__ */ Ae(Aa, [["render", Na], ["__scopeId", "data-v-c3387606"]]);
327
+ const Ma = {
324
328
  name: "IbTooltip",
325
329
  props: {
326
330
  position: {
@@ -331,6 +335,10 @@ const Pa = {
331
335
  },
332
336
  text: {
333
337
  type: String
338
+ },
339
+ alwaysVisible: {
340
+ type: Boolean,
341
+ default: !1
334
342
  }
335
343
  },
336
344
  computed: {
@@ -340,21 +348,22 @@ const Pa = {
340
348
  }
341
349
  },
342
350
  components: { IbPopover: Ia }
343
- }, Ma = { key: 0 };
351
+ }, Pa = { key: 0 };
344
352
  function Da(t, n, e, i, o, r) {
345
353
  const l = ce("ib-popover");
346
354
  return G(), $e(l, {
347
355
  position: e.position,
356
+ "always-visible": e.alwaysVisible,
348
357
  class: ve(r.classList)
349
358
  }, {
350
359
  default: be(() => [
351
- e.title ? (G(), ne("b", Ma, we(e.title), 1)) : he("", !0),
360
+ e.title ? (G(), ne("b", Pa, we(e.title), 1)) : he("", !0),
352
361
  ae("p", null, we(e.text), 1)
353
362
  ]),
354
363
  _: 1
355
- }, 8, ["position", "class"]);
364
+ }, 8, ["position", "always-visible", "class"]);
356
365
  }
357
- const Qt = /* @__PURE__ */ Ae(Pa, [["render", Da], ["__scopeId", "data-v-cd60d187"]]), ji = {
366
+ const Qt = /* @__PURE__ */ Ae(Ma, [["render", Da], ["__scopeId", "data-v-d59abad7"]]), ji = {
358
367
  [sn.primary]: sn.primary,
359
368
  [sn.tertiary]: sn.tertiary,
360
369
  [sn.ghost]: sn.ghost,
@@ -420,7 +429,7 @@ const La = {
420
429
  return t.push(`ib-icon-btn-${this.kind}`), t.push(`ib-icon-btn-${this.size}`), this.rounded && t.push("ib-icon-btn-rounded"), this.disabled && t.push("ib-icon-btn-disabled"), t;
421
430
  },
422
431
  attrs() {
423
- const t = { ...Or({ ...this.$attrs }) };
432
+ const t = { ...kr({ ...this.$attrs }) };
424
433
  return t.class = [...this.classes, t.class], t;
425
434
  }
426
435
  },
@@ -449,7 +458,7 @@ function Ra(t, n, e, i, o, r) {
449
458
  _: 3
450
459
  }, 16, ["onClick", "href", "kind", "disabled", "tabindex", "prevent-default"]);
451
460
  }
452
- const Tt = /* @__PURE__ */ Ae(La, [["render", Ra]]), or = {
461
+ const Tt = /* @__PURE__ */ Ae(La, [["render", Ra]]), ar = {
453
462
  alert: "alert",
454
463
  warning: "warning",
455
464
  info: "info",
@@ -460,8 +469,8 @@ const Ba = {
460
469
  props: {
461
470
  type: {
462
471
  type: String,
463
- default: or.alert,
464
- validator: (t) => Object.keys(or).includes(t)
472
+ default: ar.alert,
473
+ validator: (t) => Object.keys(ar).includes(t)
465
474
  },
466
475
  showIcon: {
467
476
  type: Boolean,
@@ -497,7 +506,7 @@ const Ba = {
497
506
  return t.push(`ib-alert-${this.type}`), this.title.length && t.push("has-title"), this.showIcon && t.push("has-icon"), this.showCloseButton && t.push("has-close-button"), this.$slots.link && t.push("has-link"), t;
498
507
  },
499
508
  iconName() {
500
- return this.type === or.info ? "information-circle-outline" : this.type === or.success ? "checkmark-circle-outline" : "alert-circle-outline";
509
+ return this.type === ar.info ? "information-circle-outline" : this.type === ar.success ? "checkmark-circle-outline" : "alert-circle-outline";
501
510
  }
502
511
  },
503
512
  beforeUnmount() {
@@ -769,7 +778,7 @@ const rl = {
769
778
  }, il = { class: "ib-toggle-tip-head" }, ol = { class: "ib-toggle-tip-content" }, al = { class: "ib-toggle-tip-button-set" };
770
779
  function ll(t, n, e, i, o, r) {
771
780
  const l = ce("ib-icon"), a = ce("ib-icon-button");
772
- return G(), $e(_r, null, {
781
+ return G(), $e($r, null, {
773
782
  default: be(() => [
774
783
  Ve(ae("div", {
775
784
  class: ve(r.classes)
@@ -800,7 +809,7 @@ function ll(t, n, e, i, o, r) {
800
809
  _: 3
801
810
  });
802
811
  }
803
- const Gh = /* @__PURE__ */ Ae(rl, [["render", ll], ["__scopeId", "data-v-9e7c679e"]]), $i = 27, Ao = 32, sl = 13, Fi = 9, ul = 38, dl = 37, cl = 39, No = 40, fl = "click", { performance: ar } = window, hl = typeof (ar == null ? void 0 : ar.now) == "function" && Date.now() > document.createEvent("Event").timeStamp ? () => ar.now() : () => Date.now(), Fn = /* @__PURE__ */ new Map();
812
+ const Gh = /* @__PURE__ */ Ae(rl, [["render", ll], ["__scopeId", "data-v-9e7c679e"]]), wi = 27, Ao = 32, sl = 13, Fi = 9, ul = 38, dl = 37, cl = 39, No = 40, fl = "click", { performance: lr } = window, hl = typeof (lr == null ? void 0 : lr.now) == "function" && Date.now() > document.createEvent("Event").timeStamp ? () => lr.now() : () => Date.now(), Fn = /* @__PURE__ */ new Map();
804
813
  let Hn = !1;
805
814
  const Io = (t) => {
806
815
  Fn.forEach(({ bindTimeStamp: n, callback: e }, i) => {
@@ -830,24 +839,24 @@ const Io = (t) => {
830
839
  }));
831
840
  }, vl = (t) => {
832
841
  Fn.delete(t), Fn.size === 0 && gl();
833
- }, wi = {
842
+ }, Oi = {
834
843
  created: ml,
835
844
  beforeUnmount: vl
836
845
  }, jn = {
837
846
  left: "left",
838
847
  right: "right",
839
848
  center: "center"
840
- }, hr = {
849
+ }, pr = {
841
850
  top: "top",
842
851
  bottom: "bottom"
843
852
  };
844
853
  const yl = {
845
854
  name: "IbDropdown",
846
- directives: { Outside: wi },
855
+ directives: { Outside: Oi },
847
856
  props: {
848
857
  vertical: {
849
858
  type: String,
850
- default: hr.bottom
859
+ default: pr.bottom
851
860
  },
852
861
  horizontal: {
853
862
  type: String,
@@ -902,7 +911,7 @@ const yl = {
902
911
  (t.keyCode === sl || t.keyCode === Ao) && (t.preventDefault(), this.toggle()), t.keyCode === No && (t.preventDefault(), this.open());
903
912
  },
904
913
  onKeyupDocument(t) {
905
- t.keyCode === $i && (t.preventDefault(), this.close());
914
+ t.keyCode === wi && (t.preventDefault(), this.close());
906
915
  },
907
916
  toggle() {
908
917
  this.isOpenedState ? this.close() : this.open();
@@ -934,7 +943,7 @@ const yl = {
934
943
  },
935
944
  computed: {
936
945
  classes() {
937
- const t = this.vertical === hr.bottom ? " dropdown-bottom" : " dropdown-top", n = this.horizontal === jn.left ? " dropdown-left" : this.horizontal === jn.right ? " dropdown-right" : " dropdown-center", e = this.isOpenedState ? " active" : "";
946
+ const t = this.vertical === pr.bottom ? " dropdown-bottom" : " dropdown-top", n = this.horizontal === jn.left ? " dropdown-left" : this.horizontal === jn.right ? " dropdown-right" : " dropdown-center", e = this.isOpenedState ? " active" : "";
938
947
  return t + n + e;
939
948
  },
940
949
  triggerClasses() {
@@ -950,7 +959,7 @@ const yl = {
950
959
  }
951
960
  }, bl = { class: "ib-dropdown" }, _l = { class: "footer-slot" };
952
961
  function $l(t, n, e, i, o, r) {
953
- const l = wr("outside");
962
+ const l = Or("outside");
954
963
  return Ve((G(), ne("div", bl, [
955
964
  r.hasTrigger && e.triggerType === "click" ? (G(), ne("span", {
956
965
  key: 0,
@@ -1003,7 +1012,7 @@ function $l(t, n, e, i, o, r) {
1003
1012
  [l, r.close]
1004
1013
  ]);
1005
1014
  }
1006
- const Oi = /* @__PURE__ */ Ae(yl, [["render", $l], ["__scopeId", "data-v-8b99209c"]]);
1015
+ const ki = /* @__PURE__ */ Ae(yl, [["render", $l], ["__scopeId", "data-v-8b99209c"]]);
1007
1016
  const wl = {
1008
1017
  name: "IbList",
1009
1018
  data() {
@@ -1065,12 +1074,12 @@ function Ol(t, n, e, i, o, r) {
1065
1074
  Te(t.$slots, "default")
1066
1075
  ], 34);
1067
1076
  }
1068
- const ki = /* @__PURE__ */ Ae(wl, [["render", Ol]]);
1077
+ const Ci = /* @__PURE__ */ Ae(wl, [["render", Ol]]);
1069
1078
  const kl = {
1070
1079
  props: {
1071
1080
  vertical: {
1072
1081
  type: String,
1073
- default: hr.bottom
1082
+ default: pr.bottom
1074
1083
  },
1075
1084
  horizontal: {
1076
1085
  type: String,
@@ -1105,8 +1114,8 @@ const kl = {
1105
1114
  }
1106
1115
  },
1107
1116
  components: {
1108
- IbDropdown: Oi,
1109
- IbList: ki
1117
+ IbDropdown: ki,
1118
+ IbList: Ci
1110
1119
  }
1111
1120
  }, Cl = { class: "dropdown-list-wrapper" };
1112
1121
  function El(t, n, e, i, o, r) {
@@ -1145,7 +1154,7 @@ function El(t, n, e, i, o, r) {
1145
1154
  ]), 1040, ["horizontal", "vertical", "isOpened", "closeOnClick", "disabled", "onAll"])
1146
1155
  ]);
1147
1156
  }
1148
- const Ci = /* @__PURE__ */ Ae(kl, [["render", El]]);
1157
+ const Ei = /* @__PURE__ */ Ae(kl, [["render", El]]);
1149
1158
  const Sl = {
1150
1159
  props: {
1151
1160
  checked: {
@@ -1167,7 +1176,7 @@ const Sl = {
1167
1176
  }, xl = { class: "dropdown-item-wrapper" };
1168
1177
  function Tl(t, n, e, i, o, r) {
1169
1178
  return G(), ne("li", xl, [
1170
- (G(), $e($r(e.href ? "a" : "div"), Et({
1179
+ (G(), $e(wr(e.href ? "a" : "div"), Et({
1171
1180
  class: e.checked ? "active" : ""
1172
1181
  }, r.attrs, { tabindex: "0" }), {
1173
1182
  default: be(() => [
@@ -1177,7 +1186,7 @@ function Tl(t, n, e, i, o, r) {
1177
1186
  }, 16, ["class"]))
1178
1187
  ]);
1179
1188
  }
1180
- const Po = /* @__PURE__ */ Ae(Sl, [["render", Tl]]), Al = {
1189
+ const Mo = /* @__PURE__ */ Ae(Sl, [["render", Tl]]), Al = {
1181
1190
  common: "common",
1182
1191
  danger: "danger"
1183
1192
  };
@@ -1227,7 +1236,7 @@ const Nl = {
1227
1236
  },
1228
1237
  components: {
1229
1238
  IbIcon: Xe,
1230
- IbDropdownList: Ci
1239
+ IbDropdownList: Ei
1231
1240
  },
1232
1241
  methods: {
1233
1242
  setActiveItem() {
@@ -1245,7 +1254,7 @@ const Nl = {
1245
1254
  this.setActiveItem();
1246
1255
  }
1247
1256
  }
1248
- }, Il = ["disabled"], Pl = ["disabled"], Ml = ["disabled"], Dl = { ref: "list" };
1257
+ }, Il = ["disabled"], Ml = ["disabled"], Pl = ["disabled"], Dl = { ref: "list" };
1249
1258
  function Ll(t, n, e, i, o, r) {
1250
1259
  const l = ce("ib-icon"), a = ce("ib-dropdown-list");
1251
1260
  return G(), ne("div", {
@@ -1255,7 +1264,7 @@ function Ll(t, n, e, i, o, r) {
1255
1264
  key: 1,
1256
1265
  disabled: e.disabled,
1257
1266
  class: ["split-button-main", { disabled: e.disabled }]
1258
- }, o.mainButtonAttrs), we(o.content), 17, Pl)) : (G(), ne("button", Et({
1267
+ }, o.mainButtonAttrs), we(o.content), 17, Ml)) : (G(), ne("button", Et({
1259
1268
  key: 0,
1260
1269
  disabled: e.disabled,
1261
1270
  class: "split-button-main"
@@ -1270,7 +1279,7 @@ function Ll(t, n, e, i, o, r) {
1270
1279
  class: "split-button-menu-trigger"
1271
1280
  }, [
1272
1281
  ge(l, { name: "chevron-down-outline" })
1273
- ], 8, Ml)
1282
+ ], 8, Pl)
1274
1283
  ]),
1275
1284
  body: be(() => [
1276
1285
  ae("div", Dl, [
@@ -1297,7 +1306,7 @@ const Rl = {
1297
1306
  }
1298
1307
  };
1299
1308
  function Bl(t, n, e, i, o, r) {
1300
- return G(), $e($r(e.href.length ? "a" : "button"), Et(r.attrs, { class: "ib-dropdown-item" }), {
1309
+ return G(), $e(wr(e.href.length ? "a" : "button"), Et(r.attrs, { class: "ib-dropdown-item" }), {
1301
1310
  default: be(() => [
1302
1311
  Te(t.$slots, "default", {}, void 0, !0)
1303
1312
  ]),
@@ -1312,7 +1321,7 @@ const Wh = /* @__PURE__ */ Ae(Rl, [["render", Bl], ["__scopeId", "data-v-4cf00fe
1312
1321
  };
1313
1322
  const jl = {
1314
1323
  name: "IbModal",
1315
- directives: { Outside: wi },
1324
+ directives: { Outside: Oi },
1316
1325
  emits: {
1317
1326
  open: null,
1318
1327
  close: null
@@ -1357,7 +1366,7 @@ const jl = {
1357
1366
  r.keyCode === Fi && !r.shiftKey && (r.preventDefault(), t[0].focus());
1358
1367
  }
1359
1368
  ), document.addEventListener("keydown", (r) => {
1360
- r.keyCode === $i && !this.stopPropagation && this.active && this.close();
1369
+ r.keyCode === wi && !this.stopPropagation && this.active && this.close();
1361
1370
  });
1362
1371
  },
1363
1372
  data() {
@@ -1419,7 +1428,7 @@ const jl = {
1419
1428
  class: "modal-footer"
1420
1429
  };
1421
1430
  function Hl(t, n, e, i, o, r) {
1422
- const l = ce("ib-icon"), a = ce("ib-icon-button"), d = wr("outside");
1431
+ const l = ce("ib-icon"), a = ce("ib-icon-button"), d = Or("outside");
1423
1432
  return G(), ne(rt, null, [
1424
1433
  r.hasTrigger ? (G(), ne("div", {
1425
1434
  key: 0,
@@ -1471,7 +1480,7 @@ function Hl(t, n, e, i, o, r) {
1471
1480
  ], 64);
1472
1481
  }
1473
1482
  const Zh = /* @__PURE__ */ Ae(jl, [["render", Hl], ["__scopeId", "data-v-d3ce649b"]]);
1474
- function Mo(t) {
1483
+ function Po(t) {
1475
1484
  return "#" + t.toLowerCase().replace(/ /g, "-");
1476
1485
  }
1477
1486
  const Vl = {
@@ -1494,7 +1503,7 @@ const Vl = {
1494
1503
  },
1495
1504
  methods: {
1496
1505
  createHref(t) {
1497
- return Mo(t);
1506
+ return Po(t);
1498
1507
  },
1499
1508
  selectTab(t) {
1500
1509
  this.selectedTabByDropdown = t, this.$emit("select-tab", t);
@@ -1512,8 +1521,8 @@ const Vl = {
1512
1521
  }
1513
1522
  },
1514
1523
  components: {
1515
- IbDropdownList: Ci,
1516
- IbDropdownItem: Po,
1524
+ IbDropdownList: Ei,
1525
+ IbDropdownItem: Mo,
1517
1526
  IbIcon: Xe
1518
1527
  }
1519
1528
  }, Ul = { class: "wrapper-tab-link dropdown-tab" }, zl = ["tabindex"];
@@ -1598,7 +1607,7 @@ const Yl = {
1598
1607
  },
1599
1608
  methods: {
1600
1609
  createHref(t) {
1601
- return Mo(t);
1610
+ return Po(t);
1602
1611
  },
1603
1612
  selectTab(t) {
1604
1613
  this.selectedTab = t;
@@ -1840,8 +1849,8 @@ const cs = {
1840
1849
  components: {
1841
1850
  IbIcon: Xe,
1842
1851
  IbIconButton: Tt,
1843
- IbDropdownItem: Po,
1844
- IbDropdownList: Ci,
1852
+ IbDropdownItem: Mo,
1853
+ IbDropdownList: Ei,
1845
1854
  IbTooltip: Qt
1846
1855
  }
1847
1856
  }, fs = { "aria-label": "breadcrumb" }, hs = { class: "breadcrumb" }, ps = ["href"], gs = { key: 1 }, ms = ["href"];
@@ -1952,7 +1961,7 @@ function _s(t, n, e, i, o, r) {
1952
1961
  })) : he("", !0)
1953
1962
  ], 2);
1954
1963
  }
1955
- const kr = /* @__PURE__ */ Ae(ys, [["render", _s], ["__scopeId", "data-v-4807c699"]]), ei = {
1964
+ const Cr = /* @__PURE__ */ Ae(ys, [["render", _s], ["__scopeId", "data-v-4807c699"]]), ti = {
1956
1965
  text: "text",
1957
1966
  password: "password",
1958
1967
  email: "email",
@@ -1963,8 +1972,8 @@ const $s = {
1963
1972
  props: {
1964
1973
  type: {
1965
1974
  type: String,
1966
- default: ei.text,
1967
- validator: (t) => Object.keys(ei).includes(t)
1975
+ default: ti.text,
1976
+ validator: (t) => Object.keys(ti).includes(t)
1968
1977
  },
1969
1978
  disabled: {
1970
1979
  type: Boolean,
@@ -2021,11 +2030,15 @@ const $s = {
2021
2030
  },
2022
2031
  settingsVerticalPosition: {
2023
2032
  type: String,
2024
- default: hr.bottom
2033
+ default: pr.bottom
2025
2034
  },
2026
2035
  settingsHorizontalPosition: {
2027
2036
  type: String,
2028
2037
  default: jn.right
2038
+ },
2039
+ readonly: {
2040
+ type: Boolean,
2041
+ default: !1
2029
2042
  }
2030
2043
  },
2031
2044
  data() {
@@ -2065,8 +2078,8 @@ const $s = {
2065
2078
  return (this.error || this.errorMessage.length) && t.push("ib-error"), this.showIcon && t.push("ib-input-has-icon"), t;
2066
2079
  },
2067
2080
  attrs() {
2068
- let t = Or({ ...this.$attrs });
2069
- return t.type = this.type === ei.password ? this.showPassword ? "text" : "password" : this.type, t;
2081
+ let t = kr({ ...this.$attrs });
2082
+ return t.type = this.type === ti.password ? this.showPassword ? "text" : "password" : this.type, t;
2070
2083
  }
2071
2084
  },
2072
2085
  watch: {
@@ -2078,10 +2091,10 @@ const $s = {
2078
2091
  IbAlert: dn,
2079
2092
  IbIconButton: Tt,
2080
2093
  IbIcon: Xe,
2081
- IbDropdown: Oi
2094
+ IbDropdown: ki
2082
2095
  },
2083
2096
  inheritAttrs: !1
2084
- }, ws = ["disabled", "id"], Os = { class: "settings-wrapper" };
2097
+ }, ws = ["readonly", "disabled", "id"], Os = { class: "settings-wrapper" };
2085
2098
  function ks(t, n, e, i, o, r) {
2086
2099
  var h, c;
2087
2100
  const l = ce("ib-alert"), a = ce("ib-icon"), d = ce("ib-icon-button"), f = ce("ib-dropdown");
@@ -2097,6 +2110,7 @@ function ks(t, n, e, i, o, r) {
2097
2110
  }, [
2098
2111
  Ve(ae("input", Et(r.attrs, {
2099
2112
  "onUpdate:modelValue": n[0] || (n[0] = (s) => o.actualValue = s),
2113
+ readonly: e.readonly,
2100
2114
  disabled: e.disabled,
2101
2115
  id: e.id,
2102
2116
  class: r.classes,
@@ -2115,18 +2129,20 @@ function ks(t, n, e, i, o, r) {
2115
2129
  key: 1,
2116
2130
  kind: "ghost",
2117
2131
  class: "button-clear",
2118
- onClick: _t(r.clearInput, ["prevent"]),
2119
- "help-text": e.clearButtonMessage
2132
+ disabled: e.readonly,
2133
+ "help-text": e.clearButtonMessage,
2134
+ onClick: _t(r.clearInput, ["prevent"])
2120
2135
  }, {
2121
2136
  default: be(() => [
2122
2137
  ge(a, { name: "close-outline" })
2123
2138
  ]),
2124
2139
  _: 1
2125
- }, 8, ["onClick", "help-text"])) : he("", !0),
2140
+ }, 8, ["disabled", "help-text", "onClick"])) : he("", !0),
2126
2141
  (c = o.actualValue) != null && c.length && e.type === "password" ? (G(), $e(d, {
2127
2142
  key: 2,
2128
2143
  kind: "ghost",
2129
2144
  class: "toggle-password",
2145
+ disabled: e.readonly,
2130
2146
  "help-text": o.showPassword ? e.hidePasswordMessage : e.showPasswordMessage,
2131
2147
  onClick: _t(r.toggleShowPassword, ["prevent"])
2132
2148
  }, {
@@ -2136,7 +2152,7 @@ function ks(t, n, e, i, o, r) {
2136
2152
  }, null, 8, ["name"])
2137
2153
  ]),
2138
2154
  _: 1
2139
- }, 8, ["help-text", "onClick"])) : he("", !0),
2155
+ }, 8, ["disabled", "help-text", "onClick"])) : he("", !0),
2140
2156
  r.hasSettings ? (G(), $e(f, {
2141
2157
  key: 3,
2142
2158
  class: "settings-dropdown-wrapper",
@@ -2165,7 +2181,7 @@ function ks(t, n, e, i, o, r) {
2165
2181
  ], 2)
2166
2182
  ]);
2167
2183
  }
2168
- const Do = /* @__PURE__ */ Ae($s, [["render", ks], ["__scopeId", "data-v-051a5784"]]);
2184
+ const Do = /* @__PURE__ */ Ae($s, [["render", ks], ["__scopeId", "data-v-b4970469"]]);
2169
2185
  const Cs = {
2170
2186
  name: "IbCheckbox",
2171
2187
  model: {
@@ -2239,7 +2255,7 @@ const Cs = {
2239
2255
  return this.isChecked === null;
2240
2256
  },
2241
2257
  attrs() {
2242
- const t = { ...Or({ ...this.$attrs }) };
2258
+ const t = { ...kr({ ...this.$attrs }) };
2243
2259
  return t.class = [this.classes, t.class], t;
2244
2260
  }
2245
2261
  },
@@ -2257,7 +2273,7 @@ const Cs = {
2257
2273
  key: 0,
2258
2274
  class: "required"
2259
2275
  };
2260
- function Ps(t, n, e, i, o, r) {
2276
+ function Ms(t, n, e, i, o, r) {
2261
2277
  var a;
2262
2278
  const l = ce("ib-icon");
2263
2279
  return G(), ne("label", Et(r.attrs, {
@@ -2302,8 +2318,8 @@ function Ps(t, n, e, i, o, r) {
2302
2318
  ])
2303
2319
  ], 16, Es);
2304
2320
  }
2305
- const Lo = /* @__PURE__ */ Ae(Cs, [["render", Ps]]);
2306
- const Ms = {
2321
+ const Lo = /* @__PURE__ */ Ae(Cs, [["render", Ms]]);
2322
+ const Ps = {
2307
2323
  name: "IbToggle",
2308
2324
  model: {
2309
2325
  prop: "isChecked",
@@ -2423,7 +2439,7 @@ function Fs(t, n, e, i, o, r) {
2423
2439
  }, null, 8, ["text"])) : he("", !0)
2424
2440
  ], 42, Ds);
2425
2441
  }
2426
- const Hs = /* @__PURE__ */ Ae(Ms, [["render", Fs]]);
2442
+ const Hs = /* @__PURE__ */ Ae(Ps, [["render", Fs]]);
2427
2443
  function Ro(t) {
2428
2444
  return t.scrollHeight > t.clientHeight;
2429
2445
  }
@@ -2565,7 +2581,7 @@ const Vs = {
2565
2581
  },
2566
2582
  components: {
2567
2583
  IbIcon: Xe,
2568
- List: ki,
2584
+ List: Ci,
2569
2585
  IbIconButton: Tt,
2570
2586
  IbTooltip: Qt
2571
2587
  }
@@ -2620,7 +2636,7 @@ function Ws(t, n, e, i, o, r) {
2620
2636
  active: !e.showInput && e.option.checked
2621
2637
  })
2622
2638
  }, [
2623
- Ve((G(), $e($r(r.component), {
2639
+ Ve((G(), $e(wr(r.component), {
2624
2640
  ref: "component",
2625
2641
  tabindex: "-1",
2626
2642
  name: r.actualName,
@@ -2687,7 +2703,7 @@ function Ws(t, n, e, i, o, r) {
2687
2703
  }
2688
2704
  const Zs = /* @__PURE__ */ Ae(Vs, [["render", Ws]]);
2689
2705
  var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2690
- function Cr(t) {
2706
+ function Er(t) {
2691
2707
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2692
2708
  }
2693
2709
  var Bo = { exports: {} };
@@ -3095,7 +3111,7 @@ var Bo = { exports: {} };
3095
3111
  });
3096
3112
  })(Bo);
3097
3113
  var Js = Bo.exports;
3098
- const Xs = /* @__PURE__ */ Cr(Js);
3114
+ const Xs = /* @__PURE__ */ Er(Js);
3099
3115
  const Qs = {
3100
3116
  name: "IbTreeSelect",
3101
3117
  inject: ["LANG_COMPONENTS"],
@@ -3551,9 +3567,9 @@ const Qs = {
3551
3567
  IbAlert: dn,
3552
3568
  IbIconButton: Tt,
3553
3569
  IbIcon: Xe,
3554
- IbDropdown: Oi,
3570
+ IbDropdown: ki,
3555
3571
  IbInput: Do,
3556
- List: ki,
3572
+ List: Ci,
3557
3573
  "select-option": Zs
3558
3574
  },
3559
3575
  beforeUnmount() {
@@ -3818,7 +3834,7 @@ const iu = {
3818
3834
  }
3819
3835
  },
3820
3836
  components: {
3821
- IbLabel: kr,
3837
+ IbLabel: Cr,
3822
3838
  IbSelect: ru
3823
3839
  }
3824
3840
  }, ou = { class: "report-limit-selector" };
@@ -3942,7 +3958,7 @@ const su = {
3942
3958
  IbIconButton: Tt,
3943
3959
  IbIcon: Xe,
3944
3960
  IbInput: Do,
3945
- IbLabel: kr,
3961
+ IbLabel: Cr,
3946
3962
  IbLimitSelector: lu,
3947
3963
  IbTooltip: Qt
3948
3964
  }
@@ -4052,7 +4068,7 @@ const mu = {
4052
4068
  components: {
4053
4069
  IbIcon: Xe
4054
4070
  }
4055
- }, jo = (t) => (bi("data-v-2737cf5e"), t = t(), _i(), t), vu = { class: "ib-progress-bar-wrapper" }, yu = /* @__PURE__ */ jo(() => /* @__PURE__ */ ae("div", { class: "gradient" }, null, -1)), bu = [
4071
+ }, jo = (t) => (_i("data-v-2737cf5e"), t = t(), $i(), t), vu = { class: "ib-progress-bar-wrapper" }, yu = /* @__PURE__ */ jo(() => /* @__PURE__ */ ae("div", { class: "gradient" }, null, -1)), bu = [
4056
4072
  yu
4057
4073
  ], _u = /* @__PURE__ */ jo(() => /* @__PURE__ */ ae("div", null, null, -1));
4058
4074
  function $u(t, n, e, i, o, r) {
@@ -4152,8 +4168,8 @@ const Su = {
4152
4168
  default: !1
4153
4169
  }
4154
4170
  }
4155
- }, xu = (t) => (bi("data-v-e7667612"), t = t(), _i(), t), Tu = { class: "panel-head" }, Au = { class: "head-title" }, Nu = /* @__PURE__ */ xu(() => /* @__PURE__ */ ae("div", { class: "divider" }, null, -1)), Iu = { class: "head-content" }, Pu = { class: "panel-body" };
4156
- function Mu(t, n, e, i, o, r) {
4171
+ }, xu = (t) => (_i("data-v-c7c0bea8"), t = t(), $i(), t), Tu = { class: "panel-head" }, Au = { class: "head-title" }, Nu = /* @__PURE__ */ xu(() => /* @__PURE__ */ ae("div", { class: "divider" }, null, -1)), Iu = { class: "head-content" }, Mu = { class: "panel-body" };
4172
+ function Pu(t, n, e, i, o, r) {
4157
4173
  return G(), ne("div", {
4158
4174
  class: ve(["panel", { "panel-error": e.error }])
4159
4175
  }, [
@@ -4166,14 +4182,14 @@ function Mu(t, n, e, i, o, r) {
4166
4182
  Te(t.$slots, "head-content", {}, void 0, !0)
4167
4183
  ])
4168
4184
  ]),
4169
- ge(_r, {
4185
+ ge($r, {
4170
4186
  name: "expand",
4171
4187
  onEnter: t.enter,
4172
4188
  onAfterEnter: t.afterEnter,
4173
4189
  onLeave: t.leave
4174
4190
  }, {
4175
4191
  default: be(() => [
4176
- Ve(ae("div", Pu, [
4192
+ Ve(ae("div", Mu, [
4177
4193
  Te(t.$slots, "body", {}, void 0, !0)
4178
4194
  ], 512), [
4179
4195
  [Ye, e.isOpen]
@@ -4183,7 +4199,7 @@ function Mu(t, n, e, i, o, r) {
4183
4199
  }, 8, ["onEnter", "onAfterEnter", "onLeave"])
4184
4200
  ], 2);
4185
4201
  }
4186
- const i1 = /* @__PURE__ */ Ae(Su, [["render", Mu], ["__scopeId", "data-v-e7667612"]]);
4202
+ const i1 = /* @__PURE__ */ Ae(Su, [["render", Pu], ["__scopeId", "data-v-c7c0bea8"]]);
4187
4203
  const Du = {
4188
4204
  name: "IbInputGroup",
4189
4205
  props: {
@@ -4230,7 +4246,7 @@ const Bu = {
4230
4246
  }
4231
4247
  },
4232
4248
  components: {
4233
- IbLabel: kr,
4249
+ IbLabel: Cr,
4234
4250
  IbAlert: dn
4235
4251
  }
4236
4252
  }, ju = { class: "ib-checkbox-group-content" };
@@ -4334,7 +4350,7 @@ const Fu = {
4334
4350
  };
4335
4351
  }
4336
4352
  }
4337
- }, Hu = (t) => (bi("data-v-f72fc460"), t = t(), _i(), t), Vu = ["for"], Uu = ["name", "id", "value", "checked", "disabled"], zu = /* @__PURE__ */ Hu(() => /* @__PURE__ */ ae("span", { class: "ib-radio-input" }, null, -1)), Ku = {
4353
+ }, Hu = (t) => (_i("data-v-f72fc460"), t = t(), $i(), t), Vu = ["for"], Uu = ["name", "id", "value", "checked", "disabled"], zu = /* @__PURE__ */ Hu(() => /* @__PURE__ */ ae("span", { class: "ib-radio-input" }, null, -1)), Ku = {
4338
4354
  key: 0,
4339
4355
  class: "ib-radio-label"
4340
4356
  };
@@ -4492,7 +4508,7 @@ function rd(t, n, e, i, o, r) {
4492
4508
  ], 2);
4493
4509
  }
4494
4510
  const s1 = /* @__PURE__ */ Ae(td, [["render", rd], ["__scopeId", "data-v-a0700fb0"]]);
4495
- var ti = [
4511
+ var ni = [
4496
4512
  "onChange",
4497
4513
  "onClose",
4498
4514
  "onDayCreate",
@@ -4651,7 +4667,7 @@ function Hi(t, n) {
4651
4667
  }, n);
4652
4668
  };
4653
4669
  }
4654
- var ni = function(t) {
4670
+ var ri = function(t) {
4655
4671
  return t instanceof Array ? t : [t];
4656
4672
  };
4657
4673
  function gt(t, n, e) {
@@ -4663,7 +4679,7 @@ function qe(t, n, e) {
4663
4679
  var i = window.document.createElement(t);
4664
4680
  return n = n || "", e = e || "", i.className = n, e !== void 0 && (i.textContent = e), i;
4665
4681
  }
4666
- function lr(t) {
4682
+ function sr(t) {
4667
4683
  for (; t.firstChild; )
4668
4684
  t.removeChild(t.firstChild);
4669
4685
  }
@@ -4673,7 +4689,7 @@ function Fo(t, n) {
4673
4689
  if (t.parentNode)
4674
4690
  return Fo(t.parentNode, n);
4675
4691
  }
4676
- function sr(t, n) {
4692
+ function ur(t, n) {
4677
4693
  var e = qe("div", "numInputWrapper"), i = qe("input", "numInput " + t), o = qe("span", "arrowUp"), r = qe("span", "arrowDown");
4678
4694
  if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? i.type = "number" : (i.type = "text", i.pattern = "\\d*"), n !== void 0)
4679
4695
  for (var l in n)
@@ -4691,11 +4707,11 @@ function wt(t) {
4691
4707
  return t.target;
4692
4708
  }
4693
4709
  }
4694
- var ri = function() {
4695
- }, pr = function(t, n, e) {
4710
+ var ii = function() {
4711
+ }, gr = function(t, n, e) {
4696
4712
  return e.months[n ? "shorthand" : "longhand"][t];
4697
4713
  }, id = {
4698
- D: ri,
4714
+ D: ii,
4699
4715
  F: function(t, n, e) {
4700
4716
  t.setMonth(e.months.longhand.indexOf(n));
4701
4717
  },
@@ -4742,7 +4758,7 @@ var ri = function() {
4742
4758
  j: function(t, n) {
4743
4759
  t.setDate(parseFloat(n));
4744
4760
  },
4745
- l: ri,
4761
+ l: ii,
4746
4762
  m: function(t, n) {
4747
4763
  t.setMonth(parseFloat(n) - 1);
4748
4764
  },
@@ -4755,7 +4771,7 @@ var ri = function() {
4755
4771
  u: function(t, n) {
4756
4772
  return new Date(parseFloat(n));
4757
4773
  },
4758
- w: ri,
4774
+ w: ii,
4759
4775
  y: function(t, n) {
4760
4776
  t.setFullYear(2e3 + parseFloat(n));
4761
4777
  }
@@ -4791,7 +4807,7 @@ var ri = function() {
4791
4807
  return n.weekdays.shorthand[qn.w(t, n, e)];
4792
4808
  },
4793
4809
  F: function(t, n, e) {
4794
- return pr(qn.n(t, n, e) - 1, !1, n);
4810
+ return gr(qn.n(t, n, e) - 1, !1, n);
4795
4811
  },
4796
4812
  G: function(t, n, e) {
4797
4813
  return yt(qn.h(t, n, e));
@@ -4806,7 +4822,7 @@ var ri = function() {
4806
4822
  return n.amPM[Ct(t.getHours() > 11)];
4807
4823
  },
4808
4824
  M: function(t, n) {
4809
- return pr(t.getMonth(), !0, n);
4825
+ return gr(t.getMonth(), !0, n);
4810
4826
  },
4811
4827
  S: function(t) {
4812
4828
  return yt(t.getSeconds());
@@ -4861,7 +4877,7 @@ var ri = function() {
4861
4877
  return qn[c] && u[s - 1] !== "\\" ? qn[c](a, h, e) : c !== "\\" ? c : "";
4862
4878
  }).join("");
4863
4879
  };
4864
- }, hi = function(t) {
4880
+ }, pi = function(t) {
4865
4881
  var n = t.config, e = n === void 0 ? _n : n, i = t.l10n, o = i === void 0 ? Vn : i;
4866
4882
  return function(r, l, a, d) {
4867
4883
  if (!(r !== 0 && !r)) {
@@ -4892,8 +4908,8 @@ var ri = function() {
4892
4908
  p || (m += ".");
4893
4909
  }
4894
4910
  h = !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)), v.forEach(function(E) {
4895
- var S = E.fn, P = E.val;
4896
- return h = S(h, P, f) || h;
4911
+ var S = E.fn, M = E.val;
4912
+ return h = S(h, M, f) || h;
4897
4913
  }), h = _ ? h : void 0;
4898
4914
  }
4899
4915
  }
@@ -4910,7 +4926,7 @@ function Ot(t, n, e) {
4910
4926
  }
4911
4927
  var od = function(t, n, e) {
4912
4928
  return t > Math.min(n, e) && t < Math.max(n, e);
4913
- }, ii = function(t, n, e) {
4929
+ }, oi = function(t, n, e) {
4914
4930
  return t * 3600 + n * 60 + e;
4915
4931
  }, ad = function(t) {
4916
4932
  var n = Math.floor(t / 3600), e = (t - n * 3600) / 60;
@@ -4918,7 +4934,7 @@ var od = function(t, n, e) {
4918
4934
  }, ld = {
4919
4935
  DAY: 864e5
4920
4936
  };
4921
- function oi(t) {
4937
+ function ai(t) {
4922
4938
  var n = t.defaultHour, e = t.defaultMinute, i = t.defaultSeconds;
4923
4939
  if (t.minDate !== void 0) {
4924
4940
  var o = t.minDate.getHours(), r = t.minDate.getMinutes(), l = t.minDate.getSeconds();
@@ -4967,7 +4983,7 @@ function ud(t, n) {
4967
4983
  config: ct(ct({}, _n), Je.defaultConfig),
4968
4984
  l10n: Vn
4969
4985
  };
4970
- e.parseDate = hi({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = v, e._setHoursFromDate = s, e._positionCalendar = te, e.changeMonth = A, e.changeYear = V, e.clear = B, e.close = j, e.onMouseOver = _e, e._createElement = qe, e.createDay = x, e.destroy = Y, e.isEnabled = Z, e.jumpToDate = m, e.updateValue = ht, e.open = Ie, e.redraw = ie, e.set = tt, e.setDate = je, e.toggle = tn;
4986
+ e.parseDate = pi({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = v, e._setHoursFromDate = s, e._positionCalendar = te, e.changeMonth = A, e.changeYear = V, e.clear = B, e.close = j, e.onMouseOver = _e, e._createElement = qe, e.createDay = x, e.destroy = Y, e.isEnabled = Z, e.jumpToDate = m, e.updateValue = ht, e.open = Ie, e.redraw = ie, e.set = tt, e.setDate = je, e.toggle = tn;
4971
4987
  function i() {
4972
4988
  e.utils = {
4973
4989
  getDaysInMonth: function(I, L) {
@@ -4998,7 +5014,7 @@ function ud(t, n) {
4998
5014
  }
4999
5015
  function d(I) {
5000
5016
  if (e.selectedDates.length === 0) {
5001
- var L = e.config.minDate === void 0 || Ot(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), z = oi(e.config);
5017
+ var L = e.config.minDate === void 0 || Ot(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), z = ai(e.config);
5002
5018
  L.setHours(z.hours, z.minutes, z.seconds, L.getMilliseconds()), e.selectedDates = [L], e.latestSelectedDateObj = L;
5003
5019
  }
5004
5020
  I !== void 0 && I.type !== "blur" && nn(I);
@@ -5023,10 +5039,10 @@ function ud(t, n) {
5023
5039
  e.amPM !== void 0 && (I = f(I, e.amPM.textContent));
5024
5040
  var X = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Ot(e.latestSelectedDateObj, e.config.minDate, !0) === 0, le = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Ot(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
5025
5041
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
5026
- var de = ii(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), Ce = ii(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), me = ii(I, L, z);
5042
+ var de = oi(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), Ce = oi(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), me = oi(I, L, z);
5027
5043
  if (me > Ce && me < de) {
5028
- var Pe = ad(de);
5029
- I = Pe[0], L = Pe[1], z = Pe[2];
5044
+ var Me = ad(de);
5045
+ I = Me[0], L = Me[1], z = Me[2];
5030
5046
  }
5031
5047
  } else {
5032
5048
  if (le) {
@@ -5138,14 +5154,14 @@ function ud(t, n) {
5138
5154
  function S(I) {
5139
5155
  for (var L = I > 0 ? 0 : e.config.showMonths - 1, z = I > 0 ? e.config.showMonths : -1, X = L; X != z; X += I)
5140
5156
  for (var le = e.daysContainer.children[X], de = I > 0 ? 0 : le.children.length - 1, Ce = I > 0 ? le.children.length : -1, me = de; me != Ce; me += I) {
5141
- var Pe = le.children[me];
5142
- if (Pe.className.indexOf("hidden") === -1 && Z(Pe.dateObj))
5143
- return Pe;
5157
+ var Me = le.children[me];
5158
+ if (Me.className.indexOf("hidden") === -1 && Z(Me.dateObj))
5159
+ return Me;
5144
5160
  }
5145
5161
  }
5146
- function P(I, L) {
5162
+ function M(I, L) {
5147
5163
  for (var z = I.className.indexOf("Month") === -1 ? I.dateObj.getMonth() : e.currentMonth, X = L > 0 ? e.config.showMonths : -1, le = L > 0 ? 1 : -1, de = z - e.currentMonth; de != X; de += le)
5148
- for (var Ce = e.daysContainer.children[de], me = z - e.currentMonth === de ? I.$i + L : L < 0 ? Ce.children.length - 1 : 0, Pe = Ce.children.length, pe = me; pe >= 0 && pe < Pe && pe != (L > 0 ? Pe : -1); pe += le) {
5164
+ for (var Ce = e.daysContainer.children[de], me = z - e.currentMonth === de ? I.$i + L : L < 0 ? Ce.children.length - 1 : 0, Me = Ce.children.length, pe = me; pe >= 0 && pe < Me && pe != (L > 0 ? Me : -1); pe += le) {
5149
5165
  var ke = Ce.children[pe];
5150
5166
  if (ke.className.indexOf("hidden") === -1 && Z(ke.dateObj) && Math.abs(I.$i - pe) >= Math.abs(L))
5151
5167
  return E(ke);
@@ -5154,21 +5170,21 @@ function ud(t, n) {
5154
5170
  }
5155
5171
  function C(I, L) {
5156
5172
  var z = r(), X = J(z || document.body), le = I !== void 0 ? I : X ? z : e.selectedDateElem !== void 0 && J(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && J(e.todayDateElem) ? e.todayDateElem : S(L > 0 ? 1 : -1);
5157
- le === void 0 ? e._input.focus() : X ? P(le, L) : E(le);
5173
+ le === void 0 ? e._input.focus() : X ? M(le, L) : E(le);
5158
5174
  }
5159
5175
  function O(I, L) {
5160
- for (var z = (new Date(I, L, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, X = e.utils.getDaysInMonth((L - 1 + 12) % 12, I), le = e.utils.getDaysInMonth(L, I), de = window.document.createDocumentFragment(), Ce = e.config.showMonths > 1, me = Ce ? "prevMonthDay hidden" : "prevMonthDay", Pe = Ce ? "nextMonthDay hidden" : "nextMonthDay", pe = X + 1 - z, ke = 0; pe <= X; pe++, ke++)
5176
+ for (var z = (new Date(I, L, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, X = e.utils.getDaysInMonth((L - 1 + 12) % 12, I), le = e.utils.getDaysInMonth(L, I), de = window.document.createDocumentFragment(), Ce = e.config.showMonths > 1, me = Ce ? "prevMonthDay hidden" : "prevMonthDay", Me = Ce ? "nextMonthDay hidden" : "nextMonthDay", pe = X + 1 - z, ke = 0; pe <= X; pe++, ke++)
5161
5177
  de.appendChild(x("flatpickr-day " + me, new Date(I, L - 1, pe), pe, ke));
5162
5178
  for (pe = 1; pe <= le; pe++, ke++)
5163
5179
  de.appendChild(x("flatpickr-day", new Date(I, L, pe), pe, ke));
5164
5180
  for (var Re = le + 1; Re <= 42 - z && (e.config.showMonths === 1 || ke % 7 !== 0); Re++, ke++)
5165
- de.appendChild(x("flatpickr-day " + Pe, new Date(I, L + 1, Re % le), Re, ke));
5181
+ de.appendChild(x("flatpickr-day " + Me, new Date(I, L + 1, Re % le), Re, ke));
5166
5182
  var Ue = qe("div", "dayContainer");
5167
5183
  return Ue.appendChild(de), Ue;
5168
5184
  }
5169
5185
  function k() {
5170
5186
  if (e.daysContainer !== void 0) {
5171
- lr(e.daysContainer), e.weekNumbers && lr(e.weekNumbers);
5187
+ sr(e.daysContainer), e.weekNumbers && sr(e.weekNumbers);
5172
5188
  for (var I = document.createDocumentFragment(), L = 0; L < e.config.showMonths; L++) {
5173
5189
  var z = new Date(e.currentYear, e.currentMonth, 1);
5174
5190
  z.setMonth(e.currentMonth + L), I.appendChild(O(z.getFullYear(), z.getMonth()));
@@ -5185,17 +5201,17 @@ function ud(t, n) {
5185
5201
  for (var L = 0; L < 12; L++)
5186
5202
  if (I(L)) {
5187
5203
  var z = qe("option", "flatpickr-monthDropdown-month");
5188
- z.value = new Date(e.currentYear, L).getMonth().toString(), z.textContent = pr(L, e.config.shorthandCurrentMonth, e.l10n), z.tabIndex = -1, e.currentMonth === L && (z.selected = !0), e.monthsDropdownContainer.appendChild(z);
5204
+ z.value = new Date(e.currentYear, L).getMonth().toString(), z.textContent = gr(L, e.config.shorthandCurrentMonth, e.l10n), z.tabIndex = -1, e.currentMonth === L && (z.selected = !0), e.monthsDropdownContainer.appendChild(z);
5189
5205
  }
5190
5206
  }
5191
5207
  }
5192
- function M() {
5208
+ function P() {
5193
5209
  var I = qe("div", "flatpickr-month"), L = window.document.createDocumentFragment(), z;
5194
5210
  e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? z = qe("span", "cur-month") : (e.monthsDropdownContainer = qe("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), v(e.monthsDropdownContainer, "change", function(Ce) {
5195
- var me = wt(Ce), Pe = parseInt(me.value, 10);
5196
- e.changeMonth(Pe - e.currentMonth), Fe("onMonthChange");
5211
+ var me = wt(Ce), Me = parseInt(me.value, 10);
5212
+ e.changeMonth(Me - e.currentMonth), Fe("onMonthChange");
5197
5213
  }), T(), z = e.monthsDropdownContainer);
5198
- var X = sr("cur-year", { tabindex: "-1" }), le = X.getElementsByTagName("input")[0];
5214
+ var X = ur("cur-year", { tabindex: "-1" }), le = X.getElementsByTagName("input")[0];
5199
5215
  le.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && le.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (le.setAttribute("max", e.config.maxDate.getFullYear().toString()), le.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
5200
5216
  var de = qe("div", "flatpickr-current-month");
5201
5217
  return de.appendChild(z), de.appendChild(X), L.appendChild(de), I.appendChild(L), {
@@ -5205,9 +5221,9 @@ function ud(t, n) {
5205
5221
  };
5206
5222
  }
5207
5223
  function q() {
5208
- lr(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
5224
+ sr(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
5209
5225
  for (var I = e.config.showMonths; I--; ) {
5210
- var L = M();
5226
+ var L = P();
5211
5227
  e.yearElements.push(L.yearElement), e.monthElements.push(L.monthElement), e.monthNav.appendChild(L.container);
5212
5228
  }
5213
5229
  e.monthNav.appendChild(e.nextMonthNav);
@@ -5231,24 +5247,24 @@ function ud(t, n) {
5231
5247
  }
5232
5248
  function W() {
5233
5249
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
5234
- var I = oi(e.config);
5250
+ var I = ai(e.config);
5235
5251
  e.timeContainer = qe("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
5236
- var L = qe("span", "flatpickr-time-separator", ":"), z = sr("flatpickr-hour", {
5252
+ var L = qe("span", "flatpickr-time-separator", ":"), z = ur("flatpickr-hour", {
5237
5253
  "aria-label": e.l10n.hourAriaLabel
5238
5254
  });
5239
5255
  e.hourElement = z.getElementsByTagName("input")[0];
5240
- var X = sr("flatpickr-minute", {
5256
+ var X = ur("flatpickr-minute", {
5241
5257
  "aria-label": e.l10n.minuteAriaLabel
5242
5258
  });
5243
5259
  if (e.minuteElement = X.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = yt(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? I.hours : h(I.hours)), e.minuteElement.value = yt(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : I.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(z), e.timeContainer.appendChild(L), e.timeContainer.appendChild(X), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
5244
5260
  e.timeContainer.classList.add("hasSeconds");
5245
- var le = sr("flatpickr-second");
5261
+ var le = ur("flatpickr-second");
5246
5262
  e.secondElement = le.getElementsByTagName("input")[0], e.secondElement.value = yt(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : I.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(qe("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(le);
5247
5263
  }
5248
5264
  return e.config.time_24hr || (e.amPM = qe("span", "flatpickr-am-pm", e.l10n.amPM[Ct((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;
5249
5265
  }
5250
5266
  function oe() {
5251
- e.weekdayContainer ? lr(e.weekdayContainer) : e.weekdayContainer = qe("div", "flatpickr-weekdays");
5267
+ e.weekdayContainer ? sr(e.weekdayContainer) : e.weekdayContainer = qe("div", "flatpickr-weekdays");
5252
5268
  for (var I = e.config.showMonths; I--; ) {
5253
5269
  var L = qe("div", "flatpickr-weekdaycontainer");
5254
5270
  e.weekdayContainer.appendChild(L);
@@ -5284,7 +5300,7 @@ function ud(t, n) {
5284
5300
  }
5285
5301
  function B(I, L) {
5286
5302
  if (I === void 0 && (I = !0), L === void 0 && (L = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, L === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
5287
- var z = oi(e.config), X = z.hours, le = z.minutes, de = z.seconds;
5303
+ var z = ai(e.config), X = z.hours, le = z.minutes, de = z.seconds;
5288
5304
  u(X, le, de);
5289
5305
  }
5290
5306
  e.redraw(), I && Fe("onChange");
@@ -5378,8 +5394,8 @@ function ud(t, n) {
5378
5394
  if (me instanceof Date && X !== void 0 && me.getTime() === X.getTime())
5379
5395
  return le;
5380
5396
  if (typeof me == "string") {
5381
- var Pe = e.parseDate(me, void 0, !0);
5382
- return Pe && Pe.getTime() === X.getTime() ? le : !le;
5397
+ var Me = e.parseDate(me, void 0, !0);
5398
+ return Me && Me.getTime() === X.getTime() ? le : !le;
5383
5399
  } else if (typeof me == "object" && X !== void 0 && me.from && me.to && X.getTime() >= me.from.getTime() && X.getTime() <= me.to.getTime())
5384
5400
  return le;
5385
5401
  }
@@ -5417,8 +5433,8 @@ function ud(t, n) {
5417
5433
  I.preventDefault();
5418
5434
  var me = r();
5419
5435
  if (e.daysContainer !== void 0 && (X === !1 || me && J(me))) {
5420
- var Pe = I.keyCode === 39 ? 1 : -1;
5421
- I.ctrlKey ? (I.stopPropagation(), A(Pe), C(S(1), 0)) : C(void 0, Pe);
5436
+ var Me = I.keyCode === 39 ? 1 : -1;
5437
+ I.ctrlKey ? (I.stopPropagation(), A(Me), C(S(1), 0)) : C(void 0, Me);
5422
5438
  }
5423
5439
  } else
5424
5440
  e.hourElement && e.hourElement.focus();
@@ -5463,21 +5479,21 @@ function ud(t, n) {
5463
5479
  }
5464
5480
  function _e(I, L) {
5465
5481
  if (L === void 0 && (L = "flatpickr-day"), !(e.selectedDates.length !== 1 || I && (!I.classList.contains(L) || I.classList.contains("flatpickr-disabled")))) {
5466
- for (var z = I ? I.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), X = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), le = Math.min(z, e.selectedDates[0].getTime()), de = Math.max(z, e.selectedDates[0].getTime()), Ce = !1, me = 0, Pe = 0, pe = le; pe < de; pe += ld.DAY)
5467
- Z(new Date(pe), !0) || (Ce = Ce || pe > le && pe < de, pe < X && (!me || pe > me) ? me = pe : pe > X && (!Pe || pe < Pe) && (Pe = pe));
5482
+ for (var z = I ? I.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), X = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), le = Math.min(z, e.selectedDates[0].getTime()), de = Math.max(z, e.selectedDates[0].getTime()), Ce = !1, me = 0, Me = 0, pe = le; pe < de; pe += ld.DAY)
5483
+ Z(new Date(pe), !0) || (Ce = Ce || pe > le && pe < de, pe < X && (!me || pe > me) ? me = pe : pe > X && (!Me || pe < Me) && (Me = pe));
5468
5484
  var ke = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + L));
5469
5485
  ke.forEach(function(Re) {
5470
- var Ue = Re.dateObj, it = Ue.getTime(), Ht = me > 0 && it < me || Pe > 0 && it > Pe;
5486
+ var Ue = Re.dateObj, it = Ue.getTime(), Ht = me > 0 && it < me || Me > 0 && it > Me;
5471
5487
  if (Ht) {
5472
- Re.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(Pt) {
5473
- Re.classList.remove(Pt);
5488
+ Re.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(Mt) {
5489
+ Re.classList.remove(Mt);
5474
5490
  });
5475
5491
  return;
5476
5492
  } else if (Ce && !Ht)
5477
5493
  return;
5478
- ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(Pt) {
5479
- Re.classList.remove(Pt);
5480
- }), I !== void 0 && (I.classList.add(z <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), X < z && it === X ? Re.classList.add("startRange") : X > z && it === X && Re.classList.add("endRange"), it >= me && (Pe === 0 || it <= Pe) && od(it, X, z) && Re.classList.add("inRange"));
5494
+ ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(Mt) {
5495
+ Re.classList.remove(Mt);
5496
+ }), I !== void 0 && (I.classList.add(z <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), X < z && it === X ? Re.classList.add("startRange") : X > z && it === X && Re.classList.add("endRange"), it >= me && (Me === 0 || it <= Me) && od(it, X, z) && Re.classList.add("inRange"));
5481
5497
  });
5482
5498
  }
5483
5499
  }
@@ -5500,7 +5516,7 @@ function ud(t, n) {
5500
5516
  return e.hourElement.select();
5501
5517
  }, 50);
5502
5518
  }
5503
- function Me(I) {
5519
+ function Pe(I) {
5504
5520
  return function(L) {
5505
5521
  var z = e.config["_" + I + "Date"] = e.parseDate(L, e.config.dateFormat), X = e.config["_" + (I === "min" ? "max" : "min") + "Date"];
5506
5522
  z !== void 0 && (e[I === "min" ? "minDateHasTime" : "maxDateHasTime"] = z.getHours() > 0 || z.getMinutes() > 0 || z.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(le) {
@@ -5553,12 +5569,12 @@ function ud(t, n) {
5553
5569
  get: function() {
5554
5570
  return e.config._minDate;
5555
5571
  },
5556
- set: Me("min")
5572
+ set: Pe("min")
5557
5573
  }), Object.defineProperty(e.config, "maxDate", {
5558
5574
  get: function() {
5559
5575
  return e.config._maxDate;
5560
5576
  },
5561
- set: Me("max")
5577
+ set: Pe("max")
5562
5578
  });
5563
5579
  var Ce = function(ke) {
5564
5580
  return function(Re) {
@@ -5578,15 +5594,15 @@ function ud(t, n) {
5578
5594
  }), L.mode === "time" && (e.config.noCalendar = !0, e.config.enableTime = !0), Object.assign(e.config, z, L);
5579
5595
  for (var me = 0; me < I.length; me++)
5580
5596
  e.config[I[me]] = e.config[I[me]] === !0 || e.config[I[me]] === "true";
5581
- ti.filter(function(ke) {
5597
+ ni.filter(function(ke) {
5582
5598
  return e.config[ke] !== void 0;
5583
5599
  }).forEach(function(ke) {
5584
- e.config[ke] = ni(e.config[ke] || []).map(l);
5600
+ e.config[ke] = ri(e.config[ke] || []).map(l);
5585
5601
  }), 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);
5586
5602
  for (var me = 0; me < e.config.plugins.length; me++) {
5587
- var Pe = e.config.plugins[me](e) || {};
5588
- for (var pe in Pe)
5589
- ti.indexOf(pe) > -1 ? e.config[pe] = ni(Pe[pe]).map(l).concat(e.config[pe]) : typeof L[pe] > "u" && (e.config[pe] = Pe[pe]);
5603
+ var Me = e.config.plugins[me](e) || {};
5604
+ for (var pe in Me)
5605
+ ni.indexOf(pe) > -1 ? e.config[pe] = ri(Me[pe]).map(l).concat(e.config[pe]) : typeof L[pe] > "u" && (e.config[pe] = Me[pe]);
5590
5606
  }
5591
5607
  L.altInputClass || (e.config.altInputClass = ze().className + " " + e.config.altInputClass), Fe("onParseConfig");
5592
5608
  }
@@ -5596,7 +5612,7 @@ function ud(t, n) {
5596
5612
  function Q() {
5597
5613
  typeof e.config.locale != "object" && typeof Je.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = ct(ct({}, Je.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? Je.l10ns[e.config.locale] : void 0), un.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", un.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", un.M = "(" + e.l10n.months.shorthand.join("|") + ")", un.F = "(" + e.l10n.months.longhand.join("|") + ")", un.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
5598
5614
  var I = ct(ct({}, n), JSON.parse(JSON.stringify(t.dataset || {})));
5599
- I.time_24hr === void 0 && Je.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Ho(e), e.parseDate = hi({ config: e.config, l10n: e.l10n });
5615
+ I.time_24hr === void 0 && Je.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Ho(e), e.parseDate = pi({ config: e.config, l10n: e.l10n });
5600
5616
  }
5601
5617
  function te(I) {
5602
5618
  if (typeof e.config.position == "function")
@@ -5605,13 +5621,13 @@ function ud(t, n) {
5605
5621
  Fe("onPreCalendarPosition");
5606
5622
  var L = I || e._positionElement, z = Array.prototype.reduce.call(e.calendarContainer.children, function(st, An) {
5607
5623
  return st + An.offsetHeight;
5608
- }, 0), X = e.calendarContainer.offsetWidth, le = e.config.position.split(" "), de = le[0], Ce = le.length > 1 ? le[1] : null, me = L.getBoundingClientRect(), Pe = window.innerHeight - me.bottom, pe = de === "above" || de !== "below" && Pe < z && me.top > z, ke = window.pageYOffset + me.top + (pe ? -z - 2 : L.offsetHeight + 2);
5624
+ }, 0), X = e.calendarContainer.offsetWidth, le = e.config.position.split(" "), de = le[0], Ce = le.length > 1 ? le[1] : null, me = L.getBoundingClientRect(), Me = window.innerHeight - me.bottom, pe = de === "above" || de !== "below" && Me < z && me.top > z, ke = window.pageYOffset + me.top + (pe ? -z - 2 : L.offsetHeight + 2);
5609
5625
  if (gt(e.calendarContainer, "arrowTop", !pe), gt(e.calendarContainer, "arrowBottom", pe), !e.config.inline) {
5610
5626
  var Re = window.pageXOffset + me.left, Ue = !1, it = !1;
5611
5627
  Ce === "center" ? (Re -= (X - me.width) / 2, Ue = !0) : Ce === "right" && (Re -= X - me.width, it = !0), gt(e.calendarContainer, "arrowLeft", !Ue && !it), gt(e.calendarContainer, "arrowCenter", Ue), gt(e.calendarContainer, "arrowRight", it);
5612
- var Ht = window.document.body.offsetWidth - (window.pageXOffset + me.right), Pt = Re + X > window.document.body.offsetWidth, kn = Ht + X > window.document.body.offsetWidth;
5613
- if (gt(e.calendarContainer, "rightMost", Pt), !e.config.static)
5614
- if (e.calendarContainer.style.top = ke + "px", !Pt)
5628
+ var Ht = window.document.body.offsetWidth - (window.pageXOffset + me.right), Mt = Re + X > window.document.body.offsetWidth, kn = Ht + X > window.document.body.offsetWidth;
5629
+ if (gt(e.calendarContainer, "rightMost", Mt), !e.config.static)
5630
+ if (e.calendarContainer.style.top = ke + "px", !Mt)
5615
5631
  e.calendarContainer.style.left = Re + "px", e.calendarContainer.style.right = "auto";
5616
5632
  else if (!kn)
5617
5633
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = Ht + "px";
@@ -5671,8 +5687,8 @@ function ud(t, n) {
5671
5687
  e.currentYear = le.getFullYear(), e.currentMonth = le.getMonth(), me && (Fe("onYearChange"), T()), Fe("onMonthChange");
5672
5688
  }
5673
5689
  if (lt(), k(), ht(), !de && e.config.mode !== "range" && e.config.showMonths === 1 ? E(X) : 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) {
5674
- var Pe = e.config.mode === "single" && !e.config.enableTime, pe = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
5675
- (Pe || pe) && xe();
5690
+ var Me = e.config.mode === "single" && !e.config.enableTime, pe = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
5691
+ (Me || pe) && xe();
5676
5692
  }
5677
5693
  y();
5678
5694
  }
@@ -5699,7 +5715,7 @@ function ud(t, n) {
5699
5715
  } else
5700
5716
  e.config[I] = L, Se[I] !== void 0 ? Se[I].forEach(function(X) {
5701
5717
  return X();
5702
- }) : ti.indexOf(I) > -1 && (e.config[I] = ni(L));
5718
+ }) : ni.indexOf(I) > -1 && (e.config[I] = ri(L));
5703
5719
  e.redraw(), ht(!0);
5704
5720
  }
5705
5721
  function We(I, L) {
@@ -5808,7 +5824,7 @@ function ud(t, n) {
5808
5824
  function lt() {
5809
5825
  e.config.noCalendar || e.isMobile || !e.monthNav || (e.yearElements.forEach(function(I, L) {
5810
5826
  var z = new Date(e.currentYear, e.currentMonth, 1);
5811
- z.setMonth(e.currentMonth + L), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[L].textContent = pr(z.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = z.getMonth().toString(), I.value = z.getFullYear().toString();
5827
+ z.setMonth(e.currentMonth + L), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[L].textContent = gr(z.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = z.getMonth().toString(), I.value = z.getFullYear().toString();
5812
5828
  }), 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()));
5813
5829
  }
5814
5830
  function It(I) {
@@ -5830,7 +5846,7 @@ function ud(t, n) {
5830
5846
  I.preventDefault();
5831
5847
  var L = I.type === "keydown", z = wt(I), X = z;
5832
5848
  e.amPM !== void 0 && z === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ct(e.amPM.textContent === e.l10n.amPM[0])]);
5833
- var le = parseFloat(X.getAttribute("min")), de = parseFloat(X.getAttribute("max")), Ce = parseFloat(X.getAttribute("step")), me = parseInt(X.value, 10), Pe = I.delta || (L ? I.which === 38 ? 1 : -1 : 0), pe = me + Ce * Pe;
5849
+ var le = parseFloat(X.getAttribute("min")), de = parseFloat(X.getAttribute("max")), Ce = parseFloat(X.getAttribute("step")), me = parseInt(X.value, 10), Me = I.delta || (L ? I.which === 38 ? 1 : -1 : 0), pe = me + Ce * Me;
5834
5850
  if (typeof X.value < "u" && X.value.length === 2) {
5835
5851
  var ke = X === e.hourElement, Re = X === e.minuteElement;
5836
5852
  pe < le ? (pe = de + pe + Ct(!ke) + (Ct(ke) && Ct(!e.amPM)), Re && p(void 0, -1, e.hourElement)) : pe > de && (pe = X === e.hourElement ? pe - de - Ct(!e.amPM) : le, Re && p(void 0, 1, e.hourElement)), e.amPM && ke && (Ce === 1 ? pe + me === 23 : Math.abs(pe - me) > Ce) && (e.amPM.textContent = e.l10n.amPM[Ct(e.amPM.textContent === e.l10n.amPM[0])]), X.value = yt(pe);
@@ -5872,7 +5888,7 @@ Je.localize = function(t) {
5872
5888
  Je.setDefaults = function(t) {
5873
5889
  Je.defaultConfig = ct(ct({}, Je.defaultConfig), t);
5874
5890
  };
5875
- Je.parseDate = hi({});
5891
+ Je.parseDate = pi({});
5876
5892
  Je.formatDate = Ho({});
5877
5893
  Je.compareDates = Ot;
5878
5894
  typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(t) {
@@ -5977,7 +5993,7 @@ var Vo = { exports: {} };
5977
5993
  });
5978
5994
  })(Vo);
5979
5995
  var dd = Vo.exports;
5980
- const cd = /* @__PURE__ */ Cr(dd), fd = `
5996
+ const cd = /* @__PURE__ */ Er(dd), fd = `
5981
5997
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
5982
5998
  <path d="M10.25 3.5L5.75 8L10.25 12.5" stroke="#1A1A1A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5983
5999
  </svg>
@@ -5986,7 +6002,7 @@ const cd = /* @__PURE__ */ Cr(dd), fd = `
5986
6002
  <path d="M5.75 3.5L10.25 8L5.75 12.5" stroke="#1A1A1A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5987
6003
  </svg>
5988
6004
  `;
5989
- const pd = "single", ai = "range", gd = {
6005
+ const pd = "single", li = "range", gd = {
5990
6006
  props: {
5991
6007
  name: {
5992
6008
  type: String,
@@ -6093,7 +6109,7 @@ const pd = "single", ai = "range", gd = {
6093
6109
  onChange: (i, o) => this.onChange(o),
6094
6110
  onClose: () => this.onClose()
6095
6111
  };
6096
- this.mode === ai && (n.plugins = [new cd({ input: this.$refs.toDate })]), (this.value || this.modelValue) && (this.mode === ai ? n.defaultDate = this.modelValue.length ? [this.modelValue[0], this.modelValue[1]] : [this.value[0], this.value[1]] : n.defaultDate = this.modelValue ? this.modelValue : this.value);
6112
+ this.mode === li && (n.plugins = [new cd({ input: this.$refs.toDate })]), (this.value || this.modelValue) && (this.mode === li ? n.defaultDate = this.modelValue.length ? [this.modelValue[0], this.modelValue[1]] : [this.value[0], this.value[1]] : n.defaultDate = this.modelValue ? this.modelValue : this.value);
6097
6113
  const e = Object.assign({}, n, this.config);
6098
6114
  return this.pickerOptions = e, e;
6099
6115
  },
@@ -6103,10 +6119,10 @@ const pd = "single", ai = "range", gd = {
6103
6119
  });
6104
6120
  },
6105
6121
  onChange(t) {
6106
- this.mode === ai ? this.data = t.split(" to ") : this.data = t;
6122
+ this.mode === li ? this.data = t.split(" to ") : this.data = t;
6107
6123
  },
6108
6124
  onDocumentKeyDown(t) {
6109
- t.keyCode === $i && this.close();
6125
+ t.keyCode === wi && this.close();
6110
6126
  },
6111
6127
  triggerChange() {
6112
6128
  setTimeout(() => {
@@ -6135,7 +6151,7 @@ const pd = "single", ai = "range", gd = {
6135
6151
  },
6136
6152
  components: {
6137
6153
  IbIcon: Xe,
6138
- IbLabel: kr,
6154
+ IbLabel: Cr,
6139
6155
  IbAlert: dn
6140
6156
  }
6141
6157
  }, md = { class: "inputs-wrapper" }, vd = { class: "input-group-wrapper" }, yd = ["placeholder"], bd = {
@@ -7726,12 +7742,12 @@ function Id(t, n) {
7726
7742
  var e = Array.prototype.slice.call(n);
7727
7743
  return e.push(Nd), t.apply(this, e);
7728
7744
  }
7729
- function pi(t) {
7730
- return pi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
7745
+ function gi(t) {
7746
+ return gi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
7731
7747
  return typeof n;
7732
7748
  } : function(n) {
7733
7749
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
7734
- }, pi(t);
7750
+ }, gi(t);
7735
7751
  }
7736
7752
  function zi(t, n) {
7737
7753
  for (var e = 0; e < n.length; e++) {
@@ -7739,10 +7755,10 @@ function zi(t, n) {
7739
7755
  i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
7740
7756
  }
7741
7757
  }
7742
- function Pd(t, n, e) {
7758
+ function Md(t, n, e) {
7743
7759
  return n && zi(t.prototype, n), e && zi(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
7744
7760
  }
7745
- function Md(t, n) {
7761
+ function Pd(t, n) {
7746
7762
  if (!(t instanceof n))
7747
7763
  throw new TypeError("Cannot call a class as a function");
7748
7764
  }
@@ -7764,7 +7780,7 @@ function Ld(t) {
7764
7780
  };
7765
7781
  }
7766
7782
  function Rd(t, n) {
7767
- if (n && (pi(n) === "object" || typeof n == "function"))
7783
+ if (n && (gi(n) === "object" || typeof n == "function"))
7768
7784
  return n;
7769
7785
  if (n !== void 0)
7770
7786
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -7775,9 +7791,9 @@ function Uo(t) {
7775
7791
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7776
7792
  return t;
7777
7793
  }
7778
- function gi(t) {
7794
+ function mi(t) {
7779
7795
  var n = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
7780
- return gi = function(e) {
7796
+ return mi = function(e) {
7781
7797
  if (e === null || !Bd(e))
7782
7798
  return e;
7783
7799
  if (typeof e != "function")
@@ -7788,18 +7804,18 @@ function gi(t) {
7788
7804
  n.set(e, i);
7789
7805
  }
7790
7806
  function i() {
7791
- return fr(e, arguments, zn(this).constructor);
7807
+ return hr(e, arguments, zn(this).constructor);
7792
7808
  }
7793
7809
  return i.prototype = Object.create(e.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), Un(i, e);
7794
- }, gi(t);
7810
+ }, mi(t);
7795
7811
  }
7796
- function fr(t, n, e) {
7797
- return zo() ? fr = Reflect.construct : fr = function(i, o, r) {
7812
+ function hr(t, n, e) {
7813
+ return zo() ? hr = Reflect.construct : hr = function(i, o, r) {
7798
7814
  var l = [null];
7799
7815
  l.push.apply(l, o);
7800
7816
  var a = Function.bind.apply(i, l), d = new a();
7801
7817
  return r && Un(d, r.prototype), d;
7802
- }, fr.apply(null, arguments);
7818
+ }, hr.apply(null, arguments);
7803
7819
  }
7804
7820
  function zo() {
7805
7821
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
@@ -7831,10 +7847,10 @@ var Zt = /* @__PURE__ */ function(t) {
7831
7847
  var n = Ld(e);
7832
7848
  function e(i) {
7833
7849
  var o;
7834
- return Md(this, e), o = n.call(this, i), Object.setPrototypeOf(Uo(o), e.prototype), o.name = o.constructor.name, o;
7850
+ return Pd(this, e), o = n.call(this, i), Object.setPrototypeOf(Uo(o), e.prototype), o.name = o.constructor.name, o;
7835
7851
  }
7836
- return Pd(e);
7837
- }(/* @__PURE__ */ gi(Error)), Ei = 2, jd = 17, qd = 3, Xt = "0-90-9٠-٩۰-۹", Fd = "-‐-―−ー-", Hd = "//", Vd = "..", Ud = "  ­​⁠ ", zd = "()()[]\\[\\]", Kd = "~⁓∼~", gr = "".concat(Fd).concat(Hd).concat(Vd).concat(Ud).concat(zd).concat(Kd), Si = "++";
7852
+ return Md(e);
7853
+ }(/* @__PURE__ */ mi(Error)), Si = 2, jd = 17, qd = 3, Xt = "0-90-9٠-٩۰-۹", Fd = "-‐-―−ー-", Hd = "//", Vd = "..", Ud = "  ­​⁠ ", zd = "()()[]\\[\\]", Kd = "~⁓∼~", mr = "".concat(Fd).concat(Hd).concat(Vd).concat(Ud).concat(zd).concat(Kd), xi = "++";
7838
7854
  function Ki(t, n) {
7839
7855
  t = t.split("-"), n = n.split("-");
7840
7856
  for (var e = t[0].split("."), i = n[0].split("."), o = 0; o < 3; o++) {
@@ -7850,14 +7866,14 @@ function Ki(t, n) {
7850
7866
  }
7851
7867
  return t[1] && n[1] ? t[1] > n[1] ? 1 : t[1] < n[1] ? -1 : 0 : !t[1] && n[1] ? 1 : t[1] && !n[1] ? -1 : 0;
7852
7868
  }
7853
- function mr(t) {
7854
- return mr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
7869
+ function vr(t) {
7870
+ return vr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
7855
7871
  return typeof n;
7856
7872
  } : function(n) {
7857
7873
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
7858
- }, mr(t);
7874
+ }, vr(t);
7859
7875
  }
7860
- function Er(t, n) {
7876
+ function Sr(t, n) {
7861
7877
  if (!(t instanceof n))
7862
7878
  throw new TypeError("Cannot call a class as a function");
7863
7879
  }
@@ -7867,14 +7883,14 @@ function Gi(t, n) {
7867
7883
  i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
7868
7884
  }
7869
7885
  }
7870
- function Sr(t, n, e) {
7886
+ function xr(t, n, e) {
7871
7887
  return n && Gi(t.prototype, n), e && Gi(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
7872
7888
  }
7873
7889
  var Gd = "1.2.0", Yd = "1.7.35", Yi = " ext. ", Wd = /^\d+$/, kt = /* @__PURE__ */ function() {
7874
7890
  function t(n) {
7875
- Er(this, t), Qd(n), this.metadata = n, Ko.call(this, n);
7891
+ Sr(this, t), Qd(n), this.metadata = n, Ko.call(this, n);
7876
7892
  }
7877
- return Sr(t, [{
7893
+ return xr(t, [{
7878
7894
  key: "getCountries",
7879
7895
  value: function() {
7880
7896
  return Object.keys(this.metadata.countries).filter(function(n) {
@@ -8058,9 +8074,9 @@ var Gd = "1.2.0", Yd = "1.7.35", Yi = " ext. ", Wd = /^\d+$/, kt = /* @__PURE__
8058
8074
  }]), t;
8059
8075
  }(), Wi = /* @__PURE__ */ function() {
8060
8076
  function t(n, e) {
8061
- Er(this, t), this.globalMetadataObject = e, this.metadata = n, Ko.call(this, e.metadata);
8077
+ Sr(this, t), this.globalMetadataObject = e, this.metadata = n, Ko.call(this, e.metadata);
8062
8078
  }
8063
- return Sr(t, [{
8079
+ return xr(t, [{
8064
8080
  key: "callingCode",
8065
8081
  value: function() {
8066
8082
  return this.metadata[0];
@@ -8194,9 +8210,9 @@ var Gd = "1.2.0", Yd = "1.7.35", Yi = " ext. ", Wd = /^\d+$/, kt = /* @__PURE__
8194
8210
  }]), t;
8195
8211
  }(), Zd = /* @__PURE__ */ function() {
8196
8212
  function t(n, e) {
8197
- Er(this, t), this._format = n, this.metadata = e;
8213
+ Sr(this, t), this._format = n, this.metadata = e;
8198
8214
  }
8199
- return Sr(t, [{
8215
+ return xr(t, [{
8200
8216
  key: "pattern",
8201
8217
  value: function() {
8202
8218
  return this._format[0];
@@ -8241,9 +8257,9 @@ var Gd = "1.2.0", Yd = "1.7.35", Yi = " ext. ", Wd = /^\d+$/, kt = /* @__PURE__
8241
8257
  }]), t;
8242
8258
  }(), Jd = /^\(?\$1\)?$/, Xd = /* @__PURE__ */ function() {
8243
8259
  function t(n, e) {
8244
- Er(this, t), this.type = n, this.metadata = e;
8260
+ Sr(this, t), this.type = n, this.metadata = e;
8245
8261
  }
8246
- return Sr(t, [{
8262
+ return xr(t, [{
8247
8263
  key: "pattern",
8248
8264
  value: function() {
8249
8265
  return this.metadata.v1 ? this.type : this.type[0];
@@ -8283,15 +8299,15 @@ function Zi(t, n) {
8283
8299
  function Qd(t) {
8284
8300
  if (!t)
8285
8301
  throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
8286
- if (!li(t) || !li(t.countries))
8287
- throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(li(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " + ec(t) + ": " + t, "."));
8302
+ if (!si(t) || !si(t.countries))
8303
+ throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(si(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " + ec(t) + ": " + t, "."));
8288
8304
  }
8289
- var li = function(t) {
8290
- return mr(t) === "object";
8305
+ var si = function(t) {
8306
+ return vr(t) === "object";
8291
8307
  }, ec = function(t) {
8292
- return mr(t);
8308
+ return vr(t);
8293
8309
  };
8294
- function xi(t, n) {
8310
+ function Ti(t, n) {
8295
8311
  if (n = new kt(n), n.hasCountry(t))
8296
8312
  return n.country(t).countryCallingCode();
8297
8313
  throw new Error("Unknown country: ".concat(t));
@@ -8310,14 +8326,14 @@ function Go(t) {
8310
8326
  var n = "20", e = "15", i = "9", o = "6", r = "[  \\t,]*", l = "[:\\..]?[  \\t,-]*", a = "#?", d = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", f = "(?:[xx##~~]|int|int)", h = "[- ]+", c = "[  \\t]*", s = "(?:,{2}|;)", u = nc + yn(n), _ = r + d + l + yn(n) + a, v = r + f + l + yn(i) + a, y = h + yn(o) + "#", g = c + s + l + yn(e) + a, m = c + "(?:,)+" + l + yn(i) + a;
8311
8327
  return u + "|" + _ + "|" + v + "|" + y + "|" + g + "|" + m;
8312
8328
  }
8313
- var rc = "[" + Xt + "]{" + Ei + "}", ic = "[" + Si + "]{0,1}(?:[" + gr + "]*[" + Xt + "]){3,}[" + gr + Xt + "]*", oc = new RegExp("^[" + Si + "]{0,1}(?:[" + gr + "]*[" + Xt + "]){1,2}$", "i"), ac = ic + // Phone number extensions
8329
+ var rc = "[" + Xt + "]{" + Si + "}", ic = "[" + xi + "]{0,1}(?:[" + mr + "]*[" + Xt + "]){3,}[" + mr + Xt + "]*", oc = new RegExp("^[" + xi + "]{0,1}(?:[" + mr + "]*[" + Xt + "]){1,2}$", "i"), ac = ic + // Phone number extensions
8314
8330
  "(?:" + Go() + ")?", lc = new RegExp(
8315
8331
  // Either a short two-digit-only phone number
8316
8332
  "^" + rc + "$|^" + ac + "$",
8317
8333
  "i"
8318
8334
  );
8319
8335
  function Yo(t) {
8320
- return t.length >= Ei && lc.test(t);
8336
+ return t.length >= Si && lc.test(t);
8321
8337
  }
8322
8338
  function sc(t) {
8323
8339
  return oc.test(t);
@@ -8492,7 +8508,7 @@ function vc(t, n) {
8492
8508
  return l - a;
8493
8509
  });
8494
8510
  }
8495
- function Ti(t, n) {
8511
+ function Ai(t, n) {
8496
8512
  return Wo(t, void 0, n);
8497
8513
  }
8498
8514
  function Wo(t, n, e) {
@@ -8534,7 +8550,7 @@ function yc(t, n, e) {
8534
8550
  throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
8535
8551
  }
8536
8552
  function Zo(t, n) {
8537
- switch (Ti(t, n)) {
8553
+ switch (Ai(t, n)) {
8538
8554
  case "IS_POSSIBLE":
8539
8555
  return !0;
8540
8556
  default:
@@ -8670,34 +8686,34 @@ function no(t, n) {
8670
8686
  return i;
8671
8687
  }
8672
8688
  var xc = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
8673
- function Ai(t, n, e) {
8689
+ function Ni(t, n, e) {
8674
8690
  if (n = n || {}, !!t.country) {
8675
8691
  e = new kt(e), e.selectNumberingPlan(t.country, t.countryCallingCode);
8676
8692
  var i = n.v2 ? t.nationalNumber : t.phone;
8677
8693
  if (Gt(i, e.nationalNumberPattern())) {
8678
- if (si(i, "FIXED_LINE", e))
8679
- return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || si(i, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
8694
+ if (ui(i, "FIXED_LINE", e))
8695
+ return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || ui(i, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
8680
8696
  for (var o = Ec(xc), r; !(r = o()).done; ) {
8681
8697
  var l = r.value;
8682
- if (si(i, l, e))
8698
+ if (ui(i, l, e))
8683
8699
  return l;
8684
8700
  }
8685
8701
  }
8686
8702
  }
8687
8703
  }
8688
- function si(t, n, e) {
8704
+ function ui(t, n, e) {
8689
8705
  return n = e.type(n), !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(t.length) < 0 ? !1 : Gt(t, n.pattern());
8690
8706
  }
8691
8707
  function Tc(t, n, e) {
8692
8708
  if (n = n || {}, e = new kt(e), !t.country)
8693
8709
  return !1;
8694
8710
  if (e.selectNumberingPlan(t.country, t.countryCallingCode), e.hasTypes())
8695
- return Ai(t, n, e.metadata) !== void 0;
8711
+ return Ni(t, n, e.metadata) !== void 0;
8696
8712
  var i = n.v2 ? t.nationalNumber : t.phone;
8697
8713
  return Gt(i, e.nationalNumberPattern());
8698
8714
  }
8699
8715
  function Ac(t) {
8700
- return t.replace(new RegExp("[".concat(gr, "]+"), "g"), " ").trim();
8716
+ return t.replace(new RegExp("[".concat(mr, "]+"), "g"), " ").trim();
8701
8717
  }
8702
8718
  var Nc = /(\$\d)/;
8703
8719
  function Ic(t, n, e) {
@@ -8721,12 +8737,12 @@ function Ic(t, n, e) {
8721
8737
  ));
8722
8738
  return i ? Ac(r) : r;
8723
8739
  }
8724
- var Pc = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
8725
- function Mc(t, n, e) {
8740
+ var Mc = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
8741
+ function Pc(t, n, e) {
8726
8742
  var i = new kt(e);
8727
8743
  if (i.selectNumberingPlan(t, n), i.defaultIDDPrefix())
8728
8744
  return i.defaultIDDPrefix();
8729
- if (Pc.test(i.IDDPrefix()))
8745
+ if (Mc.test(i.IDDPrefix()))
8730
8746
  return i.IDDPrefix();
8731
8747
  }
8732
8748
  function Dc(t, n) {
@@ -8801,9 +8817,9 @@ function Bc(t, n, e, i) {
8801
8817
  var o = i.countryCallingCode(), r = e.v2 ? t.nationalNumber : t.phone, l;
8802
8818
  switch (n) {
8803
8819
  case "NATIONAL":
8804
- return r ? (l = vr(r, t.carrierCode, "NATIONAL", i, e), ui(l, t.ext, i, e.formatExtension)) : "";
8820
+ return r ? (l = yr(r, t.carrierCode, "NATIONAL", i, e), di(l, t.ext, i, e.formatExtension)) : "";
8805
8821
  case "INTERNATIONAL":
8806
- return r ? (l = vr(r, null, "INTERNATIONAL", i, e), l = "+".concat(o, " ").concat(l), ui(l, t.ext, i, e.formatExtension)) : "+".concat(o);
8822
+ return r ? (l = yr(r, null, "INTERNATIONAL", i, e), l = "+".concat(o, " ").concat(l), di(l, t.ext, i, e.formatExtension)) : "+".concat(o);
8807
8823
  case "E.164":
8808
8824
  return "+".concat(o).concat(r);
8809
8825
  case "RFC3966":
@@ -8815,12 +8831,12 @@ function Bc(t, n, e, i) {
8815
8831
  if (!e.fromCountry)
8816
8832
  return;
8817
8833
  var a = qc(r, t.carrierCode, o, e.fromCountry, i);
8818
- return ui(a, t.ext, i, e.formatExtension);
8834
+ return di(a, t.ext, i, e.formatExtension);
8819
8835
  default:
8820
8836
  throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n, '"'));
8821
8837
  }
8822
8838
  }
8823
- function vr(t, n, e, i, o) {
8839
+ function yr(t, n, e, i, o) {
8824
8840
  var r = jc(i.formats(), t);
8825
8841
  return r ? Ic(t, r, {
8826
8842
  useInternationalFormat: e === "INTERNATIONAL",
@@ -8841,18 +8857,18 @@ function jc(t, n) {
8841
8857
  return o;
8842
8858
  }
8843
8859
  }
8844
- function ui(t, n, e, i) {
8860
+ function di(t, n, e, i) {
8845
8861
  return n ? i(t, n, e) : t;
8846
8862
  }
8847
8863
  function qc(t, n, e, i, o) {
8848
- var r = xi(i, o.metadata);
8864
+ var r = Ti(i, o.metadata);
8849
8865
  if (r === e) {
8850
- var l = vr(t, n, "NATIONAL", o);
8866
+ var l = yr(t, n, "NATIONAL", o);
8851
8867
  return e === "1" ? e + " " + l : l;
8852
8868
  }
8853
- var a = Mc(i, void 0, o.metadata);
8869
+ var a = Pc(i, void 0, o.metadata);
8854
8870
  if (a)
8855
- return "".concat(a, " ").concat(e, " ").concat(vr(t, null, "INTERNATIONAL", o));
8871
+ return "".concat(a, " ").concat(e, " ").concat(yr(t, null, "INTERNATIONAL", o));
8856
8872
  }
8857
8873
  function lo(t, n) {
8858
8874
  var e = Object.keys(t);
@@ -8940,7 +8956,7 @@ var Uc = /* @__PURE__ */ function() {
8940
8956
  }, {
8941
8957
  key: "getType",
8942
8958
  value: function() {
8943
- return Ai(this, {
8959
+ return Ni(this, {
8944
8960
  v2: !0
8945
8961
  }, this.metadata);
8946
8962
  }
@@ -9013,7 +9029,7 @@ function Yc(t, n) {
9013
9029
  nationalNumber: t
9014
9030
  };
9015
9031
  }
9016
- function mi(t, n) {
9032
+ function vi(t, n) {
9017
9033
  var e = Yc(t, n), i = e.carrierCode, o = e.nationalNumber;
9018
9034
  if (o !== t) {
9019
9035
  if (!Wc(t, o, n))
@@ -9034,7 +9050,7 @@ function Wc(t, n, e) {
9034
9050
  return !(Gt(t, e.nationalNumberPattern()) && !Gt(n, e.nationalNumberPattern()));
9035
9051
  }
9036
9052
  function Zc(t, n) {
9037
- switch (Ti(t, n)) {
9053
+ switch (Ai(t, n)) {
9038
9054
  case "TOO_SHORT":
9039
9055
  case "INVALID_LENGTH":
9040
9056
  return !1;
@@ -9043,11 +9059,11 @@ function Zc(t, n) {
9043
9059
  }
9044
9060
  }
9045
9061
  function Jc(t, n, e, i) {
9046
- var o = n ? xi(n, i) : e;
9062
+ var o = n ? Ti(n, i) : e;
9047
9063
  if (t.indexOf(o) === 0) {
9048
9064
  i = new kt(i), i.selectNumberingPlan(n, e);
9049
- var r = t.slice(o.length), l = mi(r, i), a = l.nationalNumber, d = mi(t, i), f = d.nationalNumber;
9050
- if (!Gt(f, i.nationalNumberPattern()) && Gt(a, i.nationalNumberPattern()) || Ti(f, i) === "TOO_LONG")
9065
+ var r = t.slice(o.length), l = vi(r, i), a = l.nationalNumber, d = vi(t, i), f = d.nationalNumber;
9066
+ if (!Gt(f, i.nationalNumberPattern()) && Gt(a, i.nationalNumberPattern()) || Ai(f, i) === "TOO_LONG")
9051
9067
  return {
9052
9068
  countryCallingCode: o,
9053
9069
  number: r
@@ -9135,14 +9151,14 @@ function nf(t, n, e) {
9135
9151
  if (e.country(r), e.leadingDigits()) {
9136
9152
  if (n && n.search(e.leadingDigits()) === 0)
9137
9153
  return r;
9138
- } else if (Ai({
9154
+ } else if (Ni({
9139
9155
  phone: n,
9140
9156
  country: r
9141
9157
  }, void 0, e.metadata))
9142
9158
  return r;
9143
9159
  }
9144
9160
  }
9145
- var rf = 250, of = new RegExp("[" + Si + Xt + "]"), af = new RegExp("[^" + Xt + "#]+$");
9161
+ var rf = 250, of = new RegExp("[" + xi + Xt + "]"), af = new RegExp("[^" + Xt + "#]+$");
9146
9162
  function lf(t, n, e) {
9147
9163
  if (n = n || {}, e = new kt(e), n.defaultCountry && !e.hasCountry(n.defaultCountry))
9148
9164
  throw n.v2 ? new Zt("INVALID_COUNTRY") : new Error("Unknown country: ".concat(n.defaultCountry));
@@ -9158,7 +9174,7 @@ function lf(t, n, e) {
9158
9174
  throw new Zt("INVALID_COUNTRY");
9159
9175
  return {};
9160
9176
  }
9161
- if (!f || f.length < Ei) {
9177
+ if (!f || f.length < Si) {
9162
9178
  if (n.v2)
9163
9179
  throw new Zt("TOO_SHORT");
9164
9180
  return {};
@@ -9224,14 +9240,14 @@ function cf(t, n, e, i) {
9224
9240
  if (r)
9225
9241
  i.selectNumberingPlan(r);
9226
9242
  else if (l && (n || e))
9227
- i.selectNumberingPlan(n, e), n && (a = n), r = e || xi(n, i.metadata);
9243
+ i.selectNumberingPlan(n, e), n && (a = n), r = e || Ti(n, i.metadata);
9228
9244
  else
9229
9245
  return {};
9230
9246
  if (!l)
9231
9247
  return {
9232
9248
  countryCallingCode: r
9233
9249
  };
9234
- var d = mi(Qi(l), i), f = d.nationalNumber, h = d.carrierCode, c = tf(r, f, i);
9250
+ var d = vi(Qi(l), i), f = d.nationalNumber, h = d.carrierCode, c = tf(r, f, i);
9235
9251
  return c && (a = c, c === "001" || i.country(a)), {
9236
9252
  country: a,
9237
9253
  countryCallingCode: r,
@@ -9268,12 +9284,12 @@ function hf(t, n, e) {
9268
9284
  v2: !0
9269
9285
  }), e);
9270
9286
  }
9271
- function vi(t) {
9272
- return vi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
9287
+ function yi(t) {
9288
+ return yi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
9273
9289
  return typeof n;
9274
9290
  } : function(n) {
9275
9291
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
9276
- }, vi(t);
9292
+ }, yi(t);
9277
9293
  }
9278
9294
  function po(t, n) {
9279
9295
  var e = Object.keys(t);
@@ -9368,7 +9384,7 @@ function $f(t) {
9368
9384
  };
9369
9385
  }
9370
9386
  var wf = function(t) {
9371
- return vi(t) === "object";
9387
+ return yi(t) === "object";
9372
9388
  };
9373
9389
  function mo(t, n) {
9374
9390
  var e = Object.keys(t);
@@ -9409,7 +9425,7 @@ function Cf() {
9409
9425
  var t = $f(arguments), n = t.text, e = t.options, i = t.metadata;
9410
9426
  return kf(n, e, i);
9411
9427
  }
9412
- function di() {
9428
+ function ci() {
9413
9429
  return Id(Cf, arguments);
9414
9430
  }
9415
9431
  const Ef = {
@@ -9544,7 +9560,7 @@ const xf = {
9544
9560
  phoneObject() {
9545
9561
  var t, n, e;
9546
9562
  let i;
9547
- ((t = this.phone) == null ? void 0 : t[0]) === "+" ? i = di(this.phone) || {} : i = di(this.phone, this.activeCountryCode) || {};
9563
+ ((t = this.phone) == null ? void 0 : t[0]) === "+" ? i = ci(this.phone) || {} : i = ci(this.phone, this.activeCountryCode) || {};
9548
9564
  const {
9549
9565
  metadata: o,
9550
9566
  ...r
@@ -9659,7 +9675,7 @@ const xf = {
9659
9675
  let i = t;
9660
9676
  if (typeof i == "string" && (i = this.findCountry(i)), !!i) {
9661
9677
  if (((n = this.phone) == null ? void 0 : n[0]) === "+" && i.iso2 && this.phoneObject.nationalNumber) {
9662
- this.activeCountryCode = i.iso2, this.phone = di(
9678
+ this.activeCountryCode = i.iso2, this.phone = ci(
9663
9679
  this.phoneObject.nationalNumber,
9664
9680
  i.iso2
9665
9681
  ).formatInternational();
@@ -9750,9 +9766,9 @@ const xf = {
9750
9766
  }, Tf = ["aria-expanded", "tabindex"], Af = { class: "vti__selection" }, Nf = {
9751
9767
  key: 1,
9752
9768
  class: "vti__country-code"
9753
- }, If = { class: "vti__dropdown-arrow" }, Pf = ["placeholder"], Mf = ["onClick", "onMousemove", "aria-selected"], Df = { key: 1 }, Lf = ["type", "autocomplete", "autofocus", "disabled", "id", "maxlength", "name", "placeholder", "readonly", "required", "tabindex", "value", "aria-describedby"];
9769
+ }, If = { class: "vti__dropdown-arrow" }, Mf = ["placeholder"], Pf = ["onClick", "onMousemove", "aria-selected"], Df = { key: 1 }, Lf = ["type", "autocomplete", "autofocus", "disabled", "id", "maxlength", "name", "placeholder", "readonly", "required", "tabindex", "value", "aria-describedby"];
9754
9770
  function Rf(t, n, e, i, o, r) {
9755
- const l = wr("click-outside");
9771
+ const l = Or("click-outside");
9756
9772
  return G(), ne("div", {
9757
9773
  class: ve(["vue-tel-input", e.styleClasses, { disabled: e.disabled }])
9758
9774
  }, [
@@ -9796,7 +9812,7 @@ function Rf(t, n, e, i, o, r) {
9796
9812
  "onUpdate:modelValue": n[0] || (n[0] = (a) => o.searchQuery = a),
9797
9813
  onClick: n[1] || (n[1] = _t(() => {
9798
9814
  }, ["stop"]))
9799
- }, null, 8, Pf)), [
9815
+ }, null, 8, Mf)), [
9800
9816
  [xo, o.searchQuery]
9801
9817
  ]) : he("", !0),
9802
9818
  (G(!0), ne(rt, null, jt(r.sortedCountries, (a, d) => (G(), ne("li", {
@@ -9814,7 +9830,7 @@ function Rf(t, n, e, i, o, r) {
9814
9830
  }, null, 2)) : he("", !0),
9815
9831
  ae("strong", null, we(a.name), 1),
9816
9832
  e.dropdownOptions.showDialCodeInList ? (G(), ne("span", Df, " +" + we(a.dialCode), 1)) : he("", !0)
9817
- ], 42, Mf))), 128))
9833
+ ], 42, Pf))), 128))
9818
9834
  ], 2)) : he("", !0)
9819
9835
  ], 42, Tf)), [
9820
9836
  [l, r.clickedOutside]
@@ -9851,7 +9867,7 @@ function Rf(t, n, e, i, o, r) {
9851
9867
  }
9852
9868
  const Bf = /* @__PURE__ */ Sf(xf, [["render", Rf]]);
9853
9869
  const jf = {
9854
- directives: { Outside: wi },
9870
+ directives: { Outside: Oi },
9855
9871
  props: {
9856
9872
  inputName: {
9857
9873
  type: String,
@@ -9906,7 +9922,7 @@ const jf = {
9906
9922
  }
9907
9923
  };
9908
9924
  function qf(t, n, e, i, o, r) {
9909
- const l = ce("ib-alert"), a = ce("ib-icon"), d = ce("vue-tel-input"), f = wr("outside");
9925
+ const l = ce("ib-alert"), a = ce("ib-icon"), d = ce("vue-tel-input"), f = Or("outside");
9910
9926
  return G(), ne(rt, null, [
9911
9927
  e.errorMessage.length ? (G(), $e(l, {
9912
9928
  key: 0,
@@ -10339,25 +10355,25 @@ var Xo = { exports: {} };
10339
10355
  }), i.default = i.BlockEmbed = i.bubbleFormats = void 0;
10340
10356
  var r = function() {
10341
10357
  function O(k, T) {
10342
- for (var M = 0; M < T.length; M++) {
10343
- var q = T[M];
10358
+ for (var P = 0; P < T.length; P++) {
10359
+ var q = T[P];
10344
10360
  q.enumerable = q.enumerable || !1, q.configurable = !0, "value" in q && (q.writable = !0), Object.defineProperty(k, q.key, q);
10345
10361
  }
10346
10362
  }
10347
- return function(k, T, M) {
10348
- return T && O(k.prototype, T), M && O(k, M), k;
10363
+ return function(k, T, P) {
10364
+ return T && O(k.prototype, T), P && O(k, P), k;
10349
10365
  };
10350
- }(), l = function O(k, T, M) {
10366
+ }(), l = function O(k, T, P) {
10351
10367
  k === null && (k = Function.prototype);
10352
10368
  var q = Object.getOwnPropertyDescriptor(k, T);
10353
10369
  if (q === void 0) {
10354
10370
  var K = Object.getPrototypeOf(k);
10355
- return K === null ? void 0 : O(K, T, M);
10371
+ return K === null ? void 0 : O(K, T, P);
10356
10372
  } else {
10357
10373
  if ("value" in q)
10358
10374
  return q.value;
10359
10375
  var W = q.get;
10360
- return W === void 0 ? void 0 : W.call(M);
10376
+ return W === void 0 ? void 0 : W.call(P);
10361
10377
  }
10362
10378
  }, a = o(3), d = $(a), f = o(2), h = $(f), c = o(0), s = $(c), u = o(16), _ = $(u), v = o(6), y = $(v), g = o(7), m = $(g);
10363
10379
  function $(O) {
@@ -10394,73 +10410,73 @@ var Xo = { exports: {} };
10394
10410
  }
10395
10411
  }, {
10396
10412
  key: "format",
10397
- value: function(M, q) {
10398
- var K = s.default.query(M, s.default.Scope.BLOCK_ATTRIBUTE);
10413
+ value: function(P, q) {
10414
+ var K = s.default.query(P, s.default.Scope.BLOCK_ATTRIBUTE);
10399
10415
  K != null && this.attributes.attribute(K, q);
10400
10416
  }
10401
10417
  }, {
10402
10418
  key: "formatAt",
10403
- value: function(M, q, K, W) {
10419
+ value: function(P, q, K, W) {
10404
10420
  this.format(K, W);
10405
10421
  }
10406
10422
  }, {
10407
10423
  key: "insertAt",
10408
- value: function(M, q, K) {
10424
+ value: function(P, q, K) {
10409
10425
  if (typeof q == "string" && q.endsWith(`
10410
10426
  `)) {
10411
- var W = s.default.create(P.blotName);
10412
- this.parent.insertBefore(W, M === 0 ? this : this.next), W.insertAt(0, q.slice(0, -1));
10427
+ var W = s.default.create(M.blotName);
10428
+ this.parent.insertBefore(W, P === 0 ? this : this.next), W.insertAt(0, q.slice(0, -1));
10413
10429
  } else
10414
- l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "insertAt", this).call(this, M, q, K);
10430
+ l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "insertAt", this).call(this, P, q, K);
10415
10431
  }
10416
10432
  }]), k;
10417
10433
  }(s.default.Embed);
10418
10434
  S.scope = s.default.Scope.BLOCK_BLOT;
10419
- var P = function(O) {
10435
+ var M = function(O) {
10420
10436
  x(k, O);
10421
10437
  function k(T) {
10422
10438
  p(this, k);
10423
- var M = w(this, (k.__proto__ || Object.getPrototypeOf(k)).call(this, T));
10424
- return M.cache = {}, M;
10439
+ var P = w(this, (k.__proto__ || Object.getPrototypeOf(k)).call(this, T));
10440
+ return P.cache = {}, P;
10425
10441
  }
10426
10442
  return r(k, [{
10427
10443
  key: "delta",
10428
10444
  value: function() {
10429
- return this.cache.delta == null && (this.cache.delta = this.descendants(s.default.Leaf).reduce(function(M, q) {
10430
- return q.length() === 0 ? M : M.insert(q.value(), C(q));
10445
+ return this.cache.delta == null && (this.cache.delta = this.descendants(s.default.Leaf).reduce(function(P, q) {
10446
+ return q.length() === 0 ? P : P.insert(q.value(), C(q));
10431
10447
  }, new h.default()).insert(`
10432
10448
  `, C(this))), this.cache.delta;
10433
10449
  }
10434
10450
  }, {
10435
10451
  key: "deleteAt",
10436
- value: function(M, q) {
10437
- l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "deleteAt", this).call(this, M, q), this.cache = {};
10452
+ value: function(P, q) {
10453
+ l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "deleteAt", this).call(this, P, q), this.cache = {};
10438
10454
  }
10439
10455
  }, {
10440
10456
  key: "formatAt",
10441
- value: function(M, q, K, W) {
10442
- q <= 0 || (s.default.query(K, s.default.Scope.BLOCK) ? M + q === this.length() && this.format(K, W) : l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "formatAt", this).call(this, M, Math.min(q, this.length() - M - 1), K, W), this.cache = {});
10457
+ value: function(P, q, K, W) {
10458
+ q <= 0 || (s.default.query(K, s.default.Scope.BLOCK) ? P + q === this.length() && this.format(K, W) : l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "formatAt", this).call(this, P, Math.min(q, this.length() - P - 1), K, W), this.cache = {});
10443
10459
  }
10444
10460
  }, {
10445
10461
  key: "insertAt",
10446
- value: function(M, q, K) {
10462
+ value: function(P, q, K) {
10447
10463
  if (K != null)
10448
- return l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "insertAt", this).call(this, M, q, K);
10464
+ return l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "insertAt", this).call(this, P, q, K);
10449
10465
  if (q.length !== 0) {
10450
10466
  var W = q.split(`
10451
10467
  `), oe = W.shift();
10452
- oe.length > 0 && (M < this.length() - 1 || this.children.tail == null ? l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "insertAt", this).call(this, Math.min(M, this.length() - 1), oe) : this.children.tail.insertAt(this.children.tail.length(), oe), this.cache = {});
10468
+ oe.length > 0 && (P < this.length() - 1 || this.children.tail == null ? l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "insertAt", this).call(this, Math.min(P, this.length() - 1), oe) : this.children.tail.insertAt(this.children.tail.length(), oe), this.cache = {});
10453
10469
  var U = this;
10454
10470
  W.reduce(function(R, A) {
10455
10471
  return U = U.split(R, !0), U.insertAt(0, A), A.length;
10456
- }, M + oe.length);
10472
+ }, P + oe.length);
10457
10473
  }
10458
10474
  }
10459
10475
  }, {
10460
10476
  key: "insertBefore",
10461
- value: function(M, q) {
10477
+ value: function(P, q) {
10462
10478
  var K = this.children.head;
10463
- l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "insertBefore", this).call(this, M, q), K instanceof _.default && K.remove(), this.cache = {};
10479
+ l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "insertBefore", this).call(this, P, q), K instanceof _.default && K.remove(), this.cache = {};
10464
10480
  }
10465
10481
  }, {
10466
10482
  key: "length",
@@ -10469,44 +10485,44 @@ var Xo = { exports: {} };
10469
10485
  }
10470
10486
  }, {
10471
10487
  key: "moveChildren",
10472
- value: function(M, q) {
10473
- l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "moveChildren", this).call(this, M, q), this.cache = {};
10488
+ value: function(P, q) {
10489
+ l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "moveChildren", this).call(this, P, q), this.cache = {};
10474
10490
  }
10475
10491
  }, {
10476
10492
  key: "optimize",
10477
- value: function(M) {
10478
- l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "optimize", this).call(this, M), this.cache = {};
10493
+ value: function(P) {
10494
+ l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "optimize", this).call(this, P), this.cache = {};
10479
10495
  }
10480
10496
  }, {
10481
10497
  key: "path",
10482
- value: function(M) {
10483
- return l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "path", this).call(this, M, !0);
10498
+ value: function(P) {
10499
+ return l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "path", this).call(this, P, !0);
10484
10500
  }
10485
10501
  }, {
10486
10502
  key: "removeChild",
10487
- value: function(M) {
10488
- l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "removeChild", this).call(this, M), this.cache = {};
10503
+ value: function(P) {
10504
+ l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "removeChild", this).call(this, P), this.cache = {};
10489
10505
  }
10490
10506
  }, {
10491
10507
  key: "split",
10492
- value: function(M) {
10508
+ value: function(P) {
10493
10509
  var q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
10494
- if (q && (M === 0 || M >= this.length() - E)) {
10510
+ if (q && (P === 0 || P >= this.length() - E)) {
10495
10511
  var K = this.clone();
10496
- return M === 0 ? (this.parent.insertBefore(K, this), this) : (this.parent.insertBefore(K, this.next), K);
10512
+ return P === 0 ? (this.parent.insertBefore(K, this), this) : (this.parent.insertBefore(K, this.next), K);
10497
10513
  } else {
10498
- var W = l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "split", this).call(this, M, q);
10514
+ var W = l(k.prototype.__proto__ || Object.getPrototypeOf(k.prototype), "split", this).call(this, P, q);
10499
10515
  return this.cache = {}, W;
10500
10516
  }
10501
10517
  }
10502
10518
  }]), k;
10503
10519
  }(s.default.Block);
10504
- P.blotName = "block", P.tagName = "P", P.defaultChild = "break", P.allowedChildren = [y.default, s.default.Embed, m.default];
10520
+ M.blotName = "block", M.tagName = "P", M.defaultChild = "break", M.allowedChildren = [y.default, s.default.Embed, m.default];
10505
10521
  function C(O) {
10506
10522
  var k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
10507
10523
  return O == null || (typeof O.formats == "function" && (k = (0, d.default)(k, O.formats())), O.parent == null || O.parent.blotName == "scroll" || O.parent.statics.scope !== O.statics.scope) ? k : C(O.parent, k);
10508
10524
  }
10509
- i.bubbleFormats = C, i.BlockEmbed = S, i.default = P;
10525
+ i.bubbleFormats = C, i.BlockEmbed = S, i.default = M;
10510
10526
  },
10511
10527
  /* 5 */
10512
10528
  /***/
@@ -10555,7 +10571,7 @@ var Xo = { exports: {} };
10555
10571
  };
10556
10572
  }();
10557
10573
  o(50);
10558
- var d = o(2), f = C(d), h = o(14), c = C(h), s = o(8), u = C(s), _ = o(9), v = C(_), y = o(0), g = C(y), m = o(15), $ = C(m), p = o(3), w = C(p), x = o(10), E = C(x), S = o(34), P = C(S);
10574
+ var d = o(2), f = C(d), h = o(14), c = C(h), s = o(8), u = C(s), _ = o(9), v = C(_), y = o(0), g = C(y), m = o(15), $ = C(m), p = o(3), w = C(p), x = o(10), E = C(x), S = o(34), M = C(S);
10559
10575
  function C(U) {
10560
10576
  return U && U.__esModule ? U : { default: U };
10561
10577
  }
@@ -10566,7 +10582,7 @@ var Xo = { exports: {} };
10566
10582
  if (!(U instanceof R))
10567
10583
  throw new TypeError("Cannot call a class as a function");
10568
10584
  }
10569
- var T = (0, E.default)("quill"), M = function() {
10585
+ var T = (0, E.default)("quill"), P = function() {
10570
10586
  a(U, null, [{
10571
10587
  key: "debug",
10572
10588
  value: function(A) {
@@ -10863,7 +10879,7 @@ var Xo = { exports: {} };
10863
10879
  }
10864
10880
  }]), U;
10865
10881
  }();
10866
- M.DEFAULTS = {
10882
+ P.DEFAULTS = {
10867
10883
  bounds: null,
10868
10884
  formats: null,
10869
10885
  modules: {},
@@ -10872,11 +10888,11 @@ var Xo = { exports: {} };
10872
10888
  scrollingContainer: null,
10873
10889
  strict: !0,
10874
10890
  theme: "default"
10875
- }, M.events = u.default.events, M.sources = u.default.sources, M.version = "1.3.7", M.imports = {
10891
+ }, P.events = u.default.events, P.sources = u.default.sources, P.version = "1.3.7", P.imports = {
10876
10892
  delta: f.default,
10877
10893
  parchment: g.default,
10878
10894
  "core/module": v.default,
10879
- "core/theme": P.default
10895
+ "core/theme": M.default
10880
10896
  };
10881
10897
  function q(U, R) {
10882
10898
  if (R = (0, w.default)(!0, {
@@ -10886,9 +10902,9 @@ var Xo = { exports: {} };
10886
10902
  keyboard: !0,
10887
10903
  history: !0
10888
10904
  }
10889
- }, R), !R.theme || R.theme === M.DEFAULTS.theme)
10890
- R.theme = P.default;
10891
- else if (R.theme = M.import("themes/" + R.theme), R.theme == null)
10905
+ }, R), !R.theme || R.theme === P.DEFAULTS.theme)
10906
+ R.theme = M.default;
10907
+ else if (R.theme = P.import("themes/" + R.theme), R.theme == null)
10892
10908
  throw new Error("Invalid theme " + R.theme + ". Did you register it?");
10893
10909
  var A = (0, w.default)(!0, {}, R.theme.DEFAULTS);
10894
10910
  [A, R].forEach(function(Y) {
@@ -10897,12 +10913,12 @@ var Xo = { exports: {} };
10897
10913
  });
10898
10914
  });
10899
10915
  var B = Object.keys(A.modules).concat(Object.keys(R.modules)), j = B.reduce(function(Y, H) {
10900
- var D = M.import("modules/" + H);
10916
+ var D = P.import("modules/" + H);
10901
10917
  return D == null ? T.error("Cannot load " + H + " module. Are you sure you registered it?") : Y[H] = D.DEFAULTS || {}, Y;
10902
10918
  }, {});
10903
10919
  return R.modules != null && R.modules.toolbar && R.modules.toolbar.constructor !== Object && (R.modules.toolbar = {
10904
10920
  container: R.modules.toolbar
10905
- }), R = (0, w.default)(!0, {}, M.DEFAULTS, { modules: j }, A, R), ["bounds", "container", "scrollingContainer"].forEach(function(Y) {
10921
+ }), R = (0, w.default)(!0, {}, P.DEFAULTS, { modules: j }, A, R), ["bounds", "container", "scrollingContainer"].forEach(function(Y) {
10906
10922
  typeof R[Y] == "string" && (R[Y] = document.querySelector(R[Y]));
10907
10923
  }), R.modules = Object.keys(R.modules).reduce(function(Y, H) {
10908
10924
  return R.modules[H] && (Y[H] = R.modules[H]), Y;
@@ -10942,7 +10958,7 @@ var Xo = { exports: {} };
10942
10958
  }
10943
10959
  return new m.Range(j, Y - j);
10944
10960
  }
10945
- i.expandConfig = q, i.overload = W, i.default = M;
10961
+ i.expandConfig = q, i.overload = W, i.default = P;
10946
10962
  },
10947
10963
  /* 6 */
10948
10964
  /***/
@@ -11143,8 +11159,8 @@ var Xo = { exports: {} };
11143
11159
  value: function(w) {
11144
11160
  for (var x = arguments.length, E = Array(x > 1 ? x - 1 : 0), S = 1; S < x; S++)
11145
11161
  E[S - 1] = arguments[S];
11146
- (this.listeners[w.type] || []).forEach(function(P) {
11147
- var C = P.node, O = P.handler;
11162
+ (this.listeners[w.type] || []).forEach(function(M) {
11163
+ var C = M.node, O = M.handler;
11148
11164
  (w.target === C || C.contains(w.target)) && O.apply(void 0, [w].concat(E));
11149
11165
  });
11150
11166
  }
@@ -11287,91 +11303,91 @@ var Xo = { exports: {} };
11287
11303
  value: !0
11288
11304
  }), i.default = i.Code = void 0;
11289
11305
  var r = function() {
11290
- function S(P, C) {
11291
- var O = [], k = !0, T = !1, M = void 0;
11306
+ function S(M, C) {
11307
+ var O = [], k = !0, T = !1, P = void 0;
11292
11308
  try {
11293
- for (var q = P[Symbol.iterator](), K; !(k = (K = q.next()).done) && (O.push(K.value), !(C && O.length === C)); k = !0)
11309
+ for (var q = M[Symbol.iterator](), K; !(k = (K = q.next()).done) && (O.push(K.value), !(C && O.length === C)); k = !0)
11294
11310
  ;
11295
11311
  } catch (W) {
11296
- T = !0, M = W;
11312
+ T = !0, P = W;
11297
11313
  } finally {
11298
11314
  try {
11299
11315
  !k && q.return && q.return();
11300
11316
  } finally {
11301
11317
  if (T)
11302
- throw M;
11318
+ throw P;
11303
11319
  }
11304
11320
  }
11305
11321
  return O;
11306
11322
  }
11307
- return function(P, C) {
11308
- if (Array.isArray(P))
11309
- return P;
11310
- if (Symbol.iterator in Object(P))
11311
- return S(P, C);
11323
+ return function(M, C) {
11324
+ if (Array.isArray(M))
11325
+ return M;
11326
+ if (Symbol.iterator in Object(M))
11327
+ return S(M, C);
11312
11328
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
11313
11329
  };
11314
11330
  }(), l = function() {
11315
- function S(P, C) {
11331
+ function S(M, C) {
11316
11332
  for (var O = 0; O < C.length; O++) {
11317
11333
  var k = C[O];
11318
- k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(P, k.key, k);
11334
+ k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(M, k.key, k);
11319
11335
  }
11320
11336
  }
11321
- return function(P, C, O) {
11322
- return C && S(P.prototype, C), O && S(P, O), P;
11337
+ return function(M, C, O) {
11338
+ return C && S(M.prototype, C), O && S(M, O), M;
11323
11339
  };
11324
- }(), a = function S(P, C, O) {
11325
- P === null && (P = Function.prototype);
11326
- var k = Object.getOwnPropertyDescriptor(P, C);
11340
+ }(), a = function S(M, C, O) {
11341
+ M === null && (M = Function.prototype);
11342
+ var k = Object.getOwnPropertyDescriptor(M, C);
11327
11343
  if (k === void 0) {
11328
- var T = Object.getPrototypeOf(P);
11344
+ var T = Object.getPrototypeOf(M);
11329
11345
  return T === null ? void 0 : S(T, C, O);
11330
11346
  } else {
11331
11347
  if ("value" in k)
11332
11348
  return k.value;
11333
- var M = k.get;
11334
- return M === void 0 ? void 0 : M.call(O);
11349
+ var P = k.get;
11350
+ return P === void 0 ? void 0 : P.call(O);
11335
11351
  }
11336
11352
  }, d = o(2), f = m(d), h = o(0), c = m(h), s = o(4), u = m(s), _ = o(6), v = m(_), y = o(7), g = m(y);
11337
11353
  function m(S) {
11338
11354
  return S && S.__esModule ? S : { default: S };
11339
11355
  }
11340
- function $(S, P) {
11341
- if (!(S instanceof P))
11356
+ function $(S, M) {
11357
+ if (!(S instanceof M))
11342
11358
  throw new TypeError("Cannot call a class as a function");
11343
11359
  }
11344
- function p(S, P) {
11360
+ function p(S, M) {
11345
11361
  if (!S)
11346
11362
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
11347
- return P && (typeof P == "object" || typeof P == "function") ? P : S;
11363
+ return M && (typeof M == "object" || typeof M == "function") ? M : S;
11348
11364
  }
11349
- function w(S, P) {
11350
- if (typeof P != "function" && P !== null)
11351
- throw new TypeError("Super expression must either be null or a function, not " + typeof P);
11352
- S.prototype = Object.create(P && P.prototype, { constructor: { value: S, enumerable: !1, writable: !0, configurable: !0 } }), P && (Object.setPrototypeOf ? Object.setPrototypeOf(S, P) : S.__proto__ = P);
11365
+ function w(S, M) {
11366
+ if (typeof M != "function" && M !== null)
11367
+ throw new TypeError("Super expression must either be null or a function, not " + typeof M);
11368
+ S.prototype = Object.create(M && M.prototype, { constructor: { value: S, enumerable: !1, writable: !0, configurable: !0 } }), M && (Object.setPrototypeOf ? Object.setPrototypeOf(S, M) : S.__proto__ = M);
11353
11369
  }
11354
11370
  var x = function(S) {
11355
- w(P, S);
11356
- function P() {
11357
- return $(this, P), p(this, (P.__proto__ || Object.getPrototypeOf(P)).apply(this, arguments));
11371
+ w(M, S);
11372
+ function M() {
11373
+ return $(this, M), p(this, (M.__proto__ || Object.getPrototypeOf(M)).apply(this, arguments));
11358
11374
  }
11359
- return P;
11375
+ return M;
11360
11376
  }(v.default);
11361
11377
  x.blotName = "code", x.tagName = "CODE";
11362
11378
  var E = function(S) {
11363
- w(P, S);
11364
- function P() {
11365
- return $(this, P), p(this, (P.__proto__ || Object.getPrototypeOf(P)).apply(this, arguments));
11379
+ w(M, S);
11380
+ function M() {
11381
+ return $(this, M), p(this, (M.__proto__ || Object.getPrototypeOf(M)).apply(this, arguments));
11366
11382
  }
11367
- return l(P, [{
11383
+ return l(M, [{
11368
11384
  key: "delta",
11369
11385
  value: function() {
11370
11386
  var O = this, k = this.domNode.textContent;
11371
11387
  return k.endsWith(`
11372
11388
  `) && (k = k.slice(0, -1)), k.split(`
11373
- `).reduce(function(T, M) {
11374
- return T.insert(M).insert(`
11389
+ `).reduce(function(T, P) {
11390
+ return T.insert(P).insert(`
11375
11391
  `, O.formats());
11376
11392
  }, new f.default());
11377
11393
  }
@@ -11379,18 +11395,18 @@ var Xo = { exports: {} };
11379
11395
  key: "format",
11380
11396
  value: function(O, k) {
11381
11397
  if (!(O === this.statics.blotName && k)) {
11382
- var T = this.descendant(g.default, this.length() - 1), M = r(T, 1), q = M[0];
11383
- q != null && q.deleteAt(q.length() - 1, 1), a(P.prototype.__proto__ || Object.getPrototypeOf(P.prototype), "format", this).call(this, O, k);
11398
+ var T = this.descendant(g.default, this.length() - 1), P = r(T, 1), q = P[0];
11399
+ q != null && q.deleteAt(q.length() - 1, 1), a(M.prototype.__proto__ || Object.getPrototypeOf(M.prototype), "format", this).call(this, O, k);
11384
11400
  }
11385
11401
  }
11386
11402
  }, {
11387
11403
  key: "formatAt",
11388
- value: function(O, k, T, M) {
11389
- if (k !== 0 && !(c.default.query(T, c.default.Scope.BLOCK) == null || T === this.statics.blotName && M === this.statics.formats(this.domNode))) {
11404
+ value: function(O, k, T, P) {
11405
+ if (k !== 0 && !(c.default.query(T, c.default.Scope.BLOCK) == null || T === this.statics.blotName && P === this.statics.formats(this.domNode))) {
11390
11406
  var q = this.newlineIndex(O);
11391
11407
  if (!(q < 0 || q >= O + k)) {
11392
11408
  var K = this.newlineIndex(O, !0) + 1, W = q - K + 1, oe = this.isolate(K, W), U = oe.next;
11393
- oe.format(T, M), U instanceof P && U.formatAt(0, O - K + k - W, T, M);
11409
+ oe.format(T, P), U instanceof M && U.formatAt(0, O - K + k - W, T, P);
11394
11410
  }
11395
11411
  }
11396
11412
  }
@@ -11398,7 +11414,7 @@ var Xo = { exports: {} };
11398
11414
  key: "insertAt",
11399
11415
  value: function(O, k, T) {
11400
11416
  if (T == null) {
11401
- var M = this.descendant(g.default, O), q = r(M, 2), K = q[0], W = q[1];
11417
+ var P = this.descendant(g.default, O), q = r(P, 2), K = q[0], W = q[1];
11402
11418
  K.insertAt(W, k);
11403
11419
  }
11404
11420
  }
@@ -11425,14 +11441,14 @@ var Xo = { exports: {} };
11425
11441
  value: function(O) {
11426
11442
  this.domNode.textContent.endsWith(`
11427
11443
  `) || this.appendChild(c.default.create("text", `
11428
- `)), a(P.prototype.__proto__ || Object.getPrototypeOf(P.prototype), "optimize", this).call(this, O);
11444
+ `)), a(M.prototype.__proto__ || Object.getPrototypeOf(M.prototype), "optimize", this).call(this, O);
11429
11445
  var k = this.next;
11430
11446
  k != null && k.prev === this && k.statics.blotName === this.statics.blotName && this.statics.formats(this.domNode) === k.statics.formats(k.domNode) && (k.optimize(O), k.moveChildren(this), k.remove());
11431
11447
  }
11432
11448
  }, {
11433
11449
  key: "replace",
11434
11450
  value: function(O) {
11435
- a(P.prototype.__proto__ || Object.getPrototypeOf(P.prototype), "replace", this).call(this, O), [].slice.call(this.domNode.querySelectorAll("*")).forEach(function(k) {
11451
+ a(M.prototype.__proto__ || Object.getPrototypeOf(M.prototype), "replace", this).call(this, O), [].slice.call(this.domNode.querySelectorAll("*")).forEach(function(k) {
11436
11452
  var T = c.default.find(k);
11437
11453
  T == null ? k.parentNode.removeChild(k) : T instanceof c.default.Embed ? T.remove() : T.unwrap();
11438
11454
  });
@@ -11440,7 +11456,7 @@ var Xo = { exports: {} };
11440
11456
  }], [{
11441
11457
  key: "create",
11442
11458
  value: function(O) {
11443
- var k = a(P.__proto__ || Object.getPrototypeOf(P), "create", this).call(this, O);
11459
+ var k = a(M.__proto__ || Object.getPrototypeOf(M), "create", this).call(this, O);
11444
11460
  return k.setAttribute("spellcheck", !1), k;
11445
11461
  }
11446
11462
  }, {
@@ -11448,7 +11464,7 @@ var Xo = { exports: {} };
11448
11464
  value: function() {
11449
11465
  return !0;
11450
11466
  }
11451
- }]), P;
11467
+ }]), M;
11452
11468
  }(u.default);
11453
11469
  E.blotName = "code-block", E.tagName = "PRE", E.TAB = " ", i.Code = x, i.default = E;
11454
11470
  },
@@ -11497,20 +11513,20 @@ var Xo = { exports: {} };
11497
11513
  return function(R, A, B) {
11498
11514
  return A && U(R.prototype, A), B && U(R, B), R;
11499
11515
  };
11500
- }(), d = o(2), f = k(d), h = o(20), c = k(h), s = o(0), u = k(s), _ = o(13), v = k(_), y = o(24), g = k(y), m = o(4), $ = k(m), p = o(16), w = k(p), x = o(21), E = k(x), S = o(11), P = k(S), C = o(3), O = k(C);
11516
+ }(), d = o(2), f = k(d), h = o(20), c = k(h), s = o(0), u = k(s), _ = o(13), v = k(_), y = o(24), g = k(y), m = o(4), $ = k(m), p = o(16), w = k(p), x = o(21), E = k(x), S = o(11), M = k(S), C = o(3), O = k(C);
11501
11517
  function k(U) {
11502
11518
  return U && U.__esModule ? U : { default: U };
11503
11519
  }
11504
11520
  function T(U, R, A) {
11505
11521
  return R in U ? Object.defineProperty(U, R, { value: A, enumerable: !0, configurable: !0, writable: !0 }) : U[R] = A, U;
11506
11522
  }
11507
- function M(U, R) {
11523
+ function P(U, R) {
11508
11524
  if (!(U instanceof R))
11509
11525
  throw new TypeError("Cannot call a class as a function");
11510
11526
  }
11511
11527
  var q = /^[ -~]*$/, K = function() {
11512
11528
  function U(R) {
11513
- M(this, U), this.scroll = R, this.delta = this.getDelta();
11529
+ P(this, U), this.scroll = R, this.delta = this.getDelta();
11514
11530
  }
11515
11531
  return a(U, [{
11516
11532
  key: "applyDelta",
@@ -11528,7 +11544,7 @@ var Xo = { exports: {} };
11528
11544
  `) && (j = !0), B.scroll.insertAt(H, J);
11529
11545
  var re = B.scroll.line(H), fe = l(re, 2), _e = fe[0], Ee = fe[1], Ie = (0, O.default)({}, (0, m.bubbleFormats)(_e));
11530
11546
  if (_e instanceof $.default) {
11531
- var Me = _e.descendant(u.default.Leaf, Ee), Ge = l(Me, 1), ze = Ge[0];
11547
+ var Pe = _e.descendant(u.default.Leaf, Ee), Ge = l(Pe, 1), ze = Ge[0];
11532
11548
  Ie = (0, O.default)(Ie, (0, m.bubbleFormats)(ze));
11533
11549
  }
11534
11550
  Z = c.default.attributes.diff(Ie, Z) || {};
@@ -11666,7 +11682,7 @@ var Xo = { exports: {} };
11666
11682
  return Ee.insert ? _e.insert(Ee.insert, D) : _e.push(Ee);
11667
11683
  }, new f.default()), this.delta = Y.compose(A);
11668
11684
  } else
11669
- this.delta = this.getDelta(), (!A || !(0, P.default)(Y.compose(A), this.delta)) && (A = Y.diff(this.delta, j));
11685
+ this.delta = this.getDelta(), (!A || !(0, M.default)(Y.compose(A), this.delta)) && (A = Y.diff(this.delta, j));
11670
11686
  return A;
11671
11687
  }
11672
11688
  }]), U;
@@ -11700,39 +11716,39 @@ var Xo = { exports: {} };
11700
11716
  value: !0
11701
11717
  }), i.default = i.Range = void 0;
11702
11718
  var r = function() {
11703
- function S(P, C) {
11704
- var O = [], k = !0, T = !1, M = void 0;
11719
+ function S(M, C) {
11720
+ var O = [], k = !0, T = !1, P = void 0;
11705
11721
  try {
11706
- for (var q = P[Symbol.iterator](), K; !(k = (K = q.next()).done) && (O.push(K.value), !(C && O.length === C)); k = !0)
11722
+ for (var q = M[Symbol.iterator](), K; !(k = (K = q.next()).done) && (O.push(K.value), !(C && O.length === C)); k = !0)
11707
11723
  ;
11708
11724
  } catch (W) {
11709
- T = !0, M = W;
11725
+ T = !0, P = W;
11710
11726
  } finally {
11711
11727
  try {
11712
11728
  !k && q.return && q.return();
11713
11729
  } finally {
11714
11730
  if (T)
11715
- throw M;
11731
+ throw P;
11716
11732
  }
11717
11733
  }
11718
11734
  return O;
11719
11735
  }
11720
- return function(P, C) {
11721
- if (Array.isArray(P))
11722
- return P;
11723
- if (Symbol.iterator in Object(P))
11724
- return S(P, C);
11736
+ return function(M, C) {
11737
+ if (Array.isArray(M))
11738
+ return M;
11739
+ if (Symbol.iterator in Object(M))
11740
+ return S(M, C);
11725
11741
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
11726
11742
  };
11727
11743
  }(), l = function() {
11728
- function S(P, C) {
11744
+ function S(M, C) {
11729
11745
  for (var O = 0; O < C.length; O++) {
11730
11746
  var k = C[O];
11731
- k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(P, k.key, k);
11747
+ k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(M, k.key, k);
11732
11748
  }
11733
11749
  }
11734
- return function(P, C, O) {
11735
- return C && S(P.prototype, C), O && S(P, O), P;
11750
+ return function(M, C, O) {
11751
+ return C && S(M.prototype, C), O && S(M, O), M;
11736
11752
  };
11737
11753
  }(), a = o(0), d = g(a), f = o(21), h = g(f), c = o(11), s = g(c), u = o(8), _ = g(u), v = o(10), y = g(v);
11738
11754
  function g(S) {
@@ -11740,23 +11756,23 @@ var Xo = { exports: {} };
11740
11756
  }
11741
11757
  function m(S) {
11742
11758
  if (Array.isArray(S)) {
11743
- for (var P = 0, C = Array(S.length); P < S.length; P++)
11744
- C[P] = S[P];
11759
+ for (var M = 0, C = Array(S.length); M < S.length; M++)
11760
+ C[M] = S[M];
11745
11761
  return C;
11746
11762
  } else
11747
11763
  return Array.from(S);
11748
11764
  }
11749
- function $(S, P) {
11750
- if (!(S instanceof P))
11765
+ function $(S, M) {
11766
+ if (!(S instanceof M))
11751
11767
  throw new TypeError("Cannot call a class as a function");
11752
11768
  }
11753
- var p = (0, y.default)("quill:selection"), w = function S(P) {
11769
+ var p = (0, y.default)("quill:selection"), w = function S(M) {
11754
11770
  var C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
11755
- $(this, S), this.index = P, this.length = C;
11771
+ $(this, S), this.index = M, this.length = C;
11756
11772
  }, x = function() {
11757
- function S(P, C) {
11773
+ function S(M, C) {
11758
11774
  var O = this;
11759
- $(this, S), this.emitter = C, this.scroll = P, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.cursor = d.default.create("cursor", this), this.lastRange = this.savedRange = new w(0, 0), this.handleComposition(), this.handleDragging(), this.emitter.listenDOM("selectionchange", document, function() {
11775
+ $(this, S), this.emitter = C, this.scroll = M, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.cursor = d.default.create("cursor", this), this.lastRange = this.savedRange = new w(0, 0), this.handleComposition(), this.handleDragging(), this.emitter.listenDOM("selectionchange", document, function() {
11760
11776
  O.mouseDown || setTimeout(O.update.bind(O, _.default.sources.USER), 1);
11761
11777
  }), this.emitter.on(_.default.events.EDITOR_CHANGE, function(k, T) {
11762
11778
  k === _.default.events.TEXT_CHANGE && T.length() > 0 && O.update(_.default.sources.SILENT);
@@ -11772,7 +11788,7 @@ var Xo = { exports: {} };
11772
11788
  }
11773
11789
  }), this.emitter.on(_.default.events.SCROLL_OPTIMIZE, function(k, T) {
11774
11790
  if (T.range) {
11775
- var M = T.range, q = M.startNode, K = M.startOffset, W = M.endNode, oe = M.endOffset;
11791
+ var P = T.range, q = P.startNode, K = P.startOffset, W = P.endNode, oe = P.endOffset;
11776
11792
  O.setNativeRange(q, K, W, oe);
11777
11793
  }
11778
11794
  }), this.update(_.default.sources.SILENT);
@@ -11821,8 +11837,8 @@ var Xo = { exports: {} };
11821
11837
  if (T == null)
11822
11838
  return;
11823
11839
  if (T instanceof d.default.Leaf) {
11824
- var M = T.split(k.start.offset);
11825
- T.parent.insertBefore(this.cursor, M);
11840
+ var P = T.split(k.start.offset);
11841
+ T.parent.insertBefore(this.cursor, P);
11826
11842
  } else
11827
11843
  T.insertBefore(this.cursor, k.start.node);
11828
11844
  this.cursor.attach();
@@ -11836,7 +11852,7 @@ var Xo = { exports: {} };
11836
11852
  value: function(C) {
11837
11853
  var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, k = this.scroll.length();
11838
11854
  C = Math.min(C, k - 1), O = Math.min(C + O, k - 1) - C;
11839
- var T = void 0, M = this.scroll.leaf(C), q = r(M, 2), K = q[0], W = q[1];
11855
+ var T = void 0, P = this.scroll.leaf(C), q = r(P, 2), K = q[0], W = q[1];
11840
11856
  if (K == null)
11841
11857
  return null;
11842
11858
  var oe = K.position(W, !0), U = r(oe, 2);
@@ -11895,8 +11911,8 @@ var Xo = { exports: {} };
11895
11911
  var T = k.map(function(K) {
11896
11912
  var W = r(K, 2), oe = W[0], U = W[1], R = d.default.find(oe, !0), A = R.offset(O.scroll);
11897
11913
  return U === 0 ? A : R instanceof d.default.Container ? A + R.length() : A + R.index(oe, U);
11898
- }), M = Math.min(Math.max.apply(Math, m(T)), this.scroll.length() - 1), q = Math.min.apply(Math, [M].concat(m(T)));
11899
- return new w(q, M - q);
11914
+ }), P = Math.min(Math.max.apply(Math, m(T)), this.scroll.length() - 1), q = Math.min.apply(Math, [P].concat(m(T)));
11915
+ return new w(q, P - q);
11900
11916
  }
11901
11917
  }, {
11902
11918
  key: "normalizeNative",
@@ -11909,22 +11925,22 @@ var Xo = { exports: {} };
11909
11925
  native: C
11910
11926
  };
11911
11927
  return [O.start, O.end].forEach(function(k) {
11912
- for (var T = k.node, M = k.offset; !(T instanceof Text) && T.childNodes.length > 0; )
11913
- if (T.childNodes.length > M)
11914
- T = T.childNodes[M], M = 0;
11915
- else if (T.childNodes.length === M)
11916
- T = T.lastChild, M = T instanceof Text ? T.data.length : T.childNodes.length + 1;
11928
+ for (var T = k.node, P = k.offset; !(T instanceof Text) && T.childNodes.length > 0; )
11929
+ if (T.childNodes.length > P)
11930
+ T = T.childNodes[P], P = 0;
11931
+ else if (T.childNodes.length === P)
11932
+ T = T.lastChild, P = T instanceof Text ? T.data.length : T.childNodes.length + 1;
11917
11933
  else
11918
11934
  break;
11919
- k.node = T, k.offset = M;
11935
+ k.node = T, k.offset = P;
11920
11936
  }), O;
11921
11937
  }
11922
11938
  }, {
11923
11939
  key: "rangeToNative",
11924
11940
  value: function(C) {
11925
- var O = this, k = C.collapsed ? [C.index] : [C.index, C.index + C.length], T = [], M = this.scroll.length();
11941
+ var O = this, k = C.collapsed ? [C.index] : [C.index, C.index + C.length], T = [], P = this.scroll.length();
11926
11942
  return k.forEach(function(q, K) {
11927
- q = Math.min(M - 1, q);
11943
+ q = Math.min(P - 1, q);
11928
11944
  var W = void 0, oe = O.scroll.leaf(q), U = r(oe, 2), R = U[0], A = U[1], B = R.position(A, K !== 0), j = r(B, 2);
11929
11945
  W = j[0], A = j[1], T.push(W, A);
11930
11946
  }), T.length < 2 && (T = T.concat(T)), T;
@@ -11936,7 +11952,7 @@ var Xo = { exports: {} };
11936
11952
  if (O != null) {
11937
11953
  var k = this.getBounds(O.index, O.length);
11938
11954
  if (k != null) {
11939
- var T = this.scroll.length() - 1, M = this.scroll.line(Math.min(O.index, T)), q = r(M, 1), K = q[0], W = K;
11955
+ var T = this.scroll.length() - 1, P = this.scroll.line(Math.min(O.index, T)), q = r(P, 1), K = q[0], W = K;
11940
11956
  if (O.length > 0) {
11941
11957
  var oe = this.scroll.line(Math.min(O.index + O.length, T)), U = r(oe, 1);
11942
11958
  W = U[0];
@@ -11951,14 +11967,14 @@ var Xo = { exports: {} };
11951
11967
  }, {
11952
11968
  key: "setNativeRange",
11953
11969
  value: function(C, O) {
11954
- var k = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : C, T = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : O, M = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
11970
+ var k = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : C, T = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : O, P = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
11955
11971
  if (p.info("setNativeRange", C, O, k, T), !(C != null && (this.root.parentNode == null || C.parentNode == null || k.parentNode == null))) {
11956
11972
  var q = document.getSelection();
11957
11973
  if (q != null)
11958
11974
  if (C != null) {
11959
11975
  this.hasFocus() || this.root.focus();
11960
11976
  var K = (this.getNativeRange() || {}).native;
11961
- if (K == null || M || C !== K.startContainer || O !== K.startOffset || k !== K.endContainer || T !== K.endOffset) {
11977
+ if (K == null || P || C !== K.startContainer || O !== K.startOffset || k !== K.endContainer || T !== K.endOffset) {
11962
11978
  C.tagName == "BR" && (O = [].indexOf.call(C.parentNode.childNodes, C), C = C.parentNode), k.tagName == "BR" && (T = [].indexOf.call(k.parentNode.childNodes, k), k = k.parentNode);
11963
11979
  var W = document.createRange();
11964
11980
  W.setStart(C, O), W.setEnd(k, T), q.removeAllRanges(), q.addRange(W);
@@ -11981,8 +11997,8 @@ var Xo = { exports: {} };
11981
11997
  }, {
11982
11998
  key: "update",
11983
11999
  value: function() {
11984
- var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _.default.sources.USER, O = this.lastRange, k = this.getRange(), T = r(k, 2), M = T[0], q = T[1];
11985
- if (this.lastRange = M, this.lastRange != null && (this.savedRange = this.lastRange), !(0, s.default)(O, this.lastRange)) {
12000
+ var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _.default.sources.USER, O = this.lastRange, k = this.getRange(), T = r(k, 2), P = T[0], q = T[1];
12001
+ if (this.lastRange = P, this.lastRange != null && (this.savedRange = this.lastRange), !(0, s.default)(O, this.lastRange)) {
11986
12002
  var K;
11987
12003
  !this.composing && q != null && q.native.collapsed && q.start.node !== this.cursor.textNode && this.cursor.restore();
11988
12004
  var W = [_.default.events.SELECTION_CHANGE, (0, h.default)(this.lastRange), (0, h.default)(O), C];
@@ -11994,13 +12010,13 @@ var Xo = { exports: {} };
11994
12010
  }
11995
12011
  }]), S;
11996
12012
  }();
11997
- function E(S, P) {
12013
+ function E(S, M) {
11998
12014
  try {
11999
- P.parentNode;
12015
+ M.parentNode;
12000
12016
  } catch {
12001
12017
  return !1;
12002
12018
  }
12003
- return P instanceof Text && (P = P.parentNode), S.contains(P);
12019
+ return M instanceof Text && (M = M.parentNode), S.contains(M);
12004
12020
  }
12005
12021
  i.Range = w, i.default = x;
12006
12022
  },
@@ -12434,10 +12450,10 @@ var Xo = { exports: {} };
12434
12450
  typeof y == "object" && (g = y.depth, m = y.prototype, $ = y.includeNonEnumerable, y = y.circular);
12435
12451
  var p = [], w = [], x = typeof Buffer < "u";
12436
12452
  typeof y > "u" && (y = !0), typeof g > "u" && (g = 1 / 0);
12437
- function E(S, P) {
12453
+ function E(S, M) {
12438
12454
  if (S === null)
12439
12455
  return null;
12440
- if (P === 0)
12456
+ if (M === 0)
12441
12457
  return S;
12442
12458
  var C, O;
12443
12459
  if (typeof S != "object")
@@ -12449,9 +12465,9 @@ var Xo = { exports: {} };
12449
12465
  else if (r(S, d))
12450
12466
  C = new d(function(R, A) {
12451
12467
  S.then(function(B) {
12452
- R(E(B, P - 1));
12468
+ R(E(B, M - 1));
12453
12469
  }, function(B) {
12454
- A(E(B, P - 1));
12470
+ A(E(B, M - 1));
12455
12471
  });
12456
12472
  });
12457
12473
  else if (f.__isArray(S))
@@ -12472,27 +12488,27 @@ var Xo = { exports: {} };
12472
12488
  p.push(S), w.push(C);
12473
12489
  }
12474
12490
  r(S, l) && S.forEach(function(R, A) {
12475
- var B = E(A, P - 1), j = E(R, P - 1);
12491
+ var B = E(A, M - 1), j = E(R, M - 1);
12476
12492
  C.set(B, j);
12477
12493
  }), r(S, a) && S.forEach(function(R) {
12478
- var A = E(R, P - 1);
12494
+ var A = E(R, M - 1);
12479
12495
  C.add(A);
12480
12496
  });
12481
12497
  for (var T in S) {
12482
- var M;
12483
- O && (M = Object.getOwnPropertyDescriptor(O, T)), !(M && M.set == null) && (C[T] = E(S[T], P - 1));
12498
+ var P;
12499
+ O && (P = Object.getOwnPropertyDescriptor(O, T)), !(P && P.set == null) && (C[T] = E(S[T], M - 1));
12484
12500
  }
12485
12501
  if (Object.getOwnPropertySymbols)
12486
12502
  for (var q = Object.getOwnPropertySymbols(S), T = 0; T < q.length; T++) {
12487
12503
  var K = q[T], W = Object.getOwnPropertyDescriptor(S, K);
12488
- W && !W.enumerable && !$ || (C[K] = E(S[K], P - 1), W.enumerable || Object.defineProperty(C, K, {
12504
+ W && !W.enumerable && !$ || (C[K] = E(S[K], M - 1), W.enumerable || Object.defineProperty(C, K, {
12489
12505
  enumerable: !1
12490
12506
  }));
12491
12507
  }
12492
12508
  if ($)
12493
12509
  for (var oe = Object.getOwnPropertyNames(S), T = 0; T < oe.length; T++) {
12494
12510
  var U = oe[T], W = Object.getOwnPropertyDescriptor(S, U);
12495
- W && W.enumerable || (C[U] = E(S[U], P - 1), Object.defineProperty(C, U, {
12511
+ W && W.enumerable || (C[U] = E(S[U], M - 1), Object.defineProperty(C, U, {
12496
12512
  enumerable: !1
12497
12513
  }));
12498
12514
  }
@@ -12539,15 +12555,15 @@ var Xo = { exports: {} };
12539
12555
  });
12540
12556
  var r = function() {
12541
12557
  function C(O, k) {
12542
- var T = [], M = !0, q = !1, K = void 0;
12558
+ var T = [], P = !0, q = !1, K = void 0;
12543
12559
  try {
12544
- for (var W = O[Symbol.iterator](), oe; !(M = (oe = W.next()).done) && (T.push(oe.value), !(k && T.length === k)); M = !0)
12560
+ for (var W = O[Symbol.iterator](), oe; !(P = (oe = W.next()).done) && (T.push(oe.value), !(k && T.length === k)); P = !0)
12545
12561
  ;
12546
12562
  } catch (U) {
12547
12563
  q = !0, K = U;
12548
12564
  } finally {
12549
12565
  try {
12550
- !M && W.return && W.return();
12566
+ !P && W.return && W.return();
12551
12567
  } finally {
12552
12568
  if (q)
12553
12569
  throw K;
@@ -12565,8 +12581,8 @@ var Xo = { exports: {} };
12565
12581
  }(), l = function() {
12566
12582
  function C(O, k) {
12567
12583
  for (var T = 0; T < k.length; T++) {
12568
- var M = k[T];
12569
- M.enumerable = M.enumerable || !1, M.configurable = !0, "value" in M && (M.writable = !0), Object.defineProperty(O, M.key, M);
12584
+ var P = k[T];
12585
+ P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(O, P.key, P);
12570
12586
  }
12571
12587
  }
12572
12588
  return function(O, k, T) {
@@ -12574,14 +12590,14 @@ var Xo = { exports: {} };
12574
12590
  };
12575
12591
  }(), a = function C(O, k, T) {
12576
12592
  O === null && (O = Function.prototype);
12577
- var M = Object.getOwnPropertyDescriptor(O, k);
12578
- if (M === void 0) {
12593
+ var P = Object.getOwnPropertyDescriptor(O, k);
12594
+ if (P === void 0) {
12579
12595
  var q = Object.getPrototypeOf(O);
12580
12596
  return q === null ? void 0 : C(q, k, T);
12581
12597
  } else {
12582
- if ("value" in M)
12583
- return M.value;
12584
- var K = M.get;
12598
+ if ("value" in P)
12599
+ return P.value;
12600
+ var K = P.get;
12585
12601
  return K === void 0 ? void 0 : K.call(T);
12586
12602
  }
12587
12603
  }, d = o(0), f = p(d), h = o(8), c = p(h), s = o(4), u = p(s), _ = o(16), v = p(_), y = o(13), g = p(y), m = o(25), $ = p(m);
@@ -12605,15 +12621,15 @@ var Xo = { exports: {} };
12605
12621
  function S(C) {
12606
12622
  return C instanceof u.default || C instanceof s.BlockEmbed;
12607
12623
  }
12608
- var P = function(C) {
12624
+ var M = function(C) {
12609
12625
  E(O, C);
12610
12626
  function O(k, T) {
12611
12627
  w(this, O);
12612
- var M = x(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, k));
12613
- return M.emitter = T.emitter, Array.isArray(T.whitelist) && (M.whitelist = T.whitelist.reduce(function(q, K) {
12628
+ var P = x(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, k));
12629
+ return P.emitter = T.emitter, Array.isArray(T.whitelist) && (P.whitelist = T.whitelist.reduce(function(q, K) {
12614
12630
  return q[K] = !0, q;
12615
- }, {})), M.domNode.addEventListener("DOMNodeInserted", function() {
12616
- }), M.optimize(), M.enable(), M;
12631
+ }, {})), P.domNode.addEventListener("DOMNodeInserted", function() {
12632
+ }), P.optimize(), P.enable(), P;
12617
12633
  }
12618
12634
  return l(O, [{
12619
12635
  key: "batchStart",
@@ -12627,9 +12643,9 @@ var Xo = { exports: {} };
12627
12643
  }
12628
12644
  }, {
12629
12645
  key: "deleteAt",
12630
- value: function(T, M) {
12631
- var q = this.line(T), K = r(q, 2), W = K[0], oe = K[1], U = this.line(T + M), R = r(U, 1), A = R[0];
12632
- if (a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "deleteAt", this).call(this, T, M), A != null && W !== A && oe > 0) {
12646
+ value: function(T, P) {
12647
+ var q = this.line(T), K = r(q, 2), W = K[0], oe = K[1], U = this.line(T + P), R = r(U, 1), A = R[0];
12648
+ if (a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "deleteAt", this).call(this, T, P), A != null && W !== A && oe > 0) {
12633
12649
  if (W instanceof s.BlockEmbed || A instanceof s.BlockEmbed) {
12634
12650
  this.optimize();
12635
12651
  return;
@@ -12657,35 +12673,35 @@ var Xo = { exports: {} };
12657
12673
  }
12658
12674
  }, {
12659
12675
  key: "formatAt",
12660
- value: function(T, M, q, K) {
12661
- this.whitelist != null && !this.whitelist[q] || (a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "formatAt", this).call(this, T, M, q, K), this.optimize());
12676
+ value: function(T, P, q, K) {
12677
+ this.whitelist != null && !this.whitelist[q] || (a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "formatAt", this).call(this, T, P, q, K), this.optimize());
12662
12678
  }
12663
12679
  }, {
12664
12680
  key: "insertAt",
12665
- value: function(T, M, q) {
12666
- if (!(q != null && this.whitelist != null && !this.whitelist[M])) {
12681
+ value: function(T, P, q) {
12682
+ if (!(q != null && this.whitelist != null && !this.whitelist[P])) {
12667
12683
  if (T >= this.length())
12668
- if (q == null || f.default.query(M, f.default.Scope.BLOCK) == null) {
12684
+ if (q == null || f.default.query(P, f.default.Scope.BLOCK) == null) {
12669
12685
  var K = f.default.create(this.statics.defaultChild);
12670
- this.appendChild(K), q == null && M.endsWith(`
12671
- `) && (M = M.slice(0, -1)), K.insertAt(0, M, q);
12686
+ this.appendChild(K), q == null && P.endsWith(`
12687
+ `) && (P = P.slice(0, -1)), K.insertAt(0, P, q);
12672
12688
  } else {
12673
- var W = f.default.create(M, q);
12689
+ var W = f.default.create(P, q);
12674
12690
  this.appendChild(W);
12675
12691
  }
12676
12692
  else
12677
- a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "insertAt", this).call(this, T, M, q);
12693
+ a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "insertAt", this).call(this, T, P, q);
12678
12694
  this.optimize();
12679
12695
  }
12680
12696
  }
12681
12697
  }, {
12682
12698
  key: "insertBefore",
12683
- value: function(T, M) {
12699
+ value: function(T, P) {
12684
12700
  if (T.statics.scope === f.default.Scope.INLINE_BLOT) {
12685
12701
  var q = f.default.create(this.statics.defaultChild);
12686
12702
  q.appendChild(T), T = q;
12687
12703
  }
12688
- a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "insertBefore", this).call(this, T, M);
12704
+ a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "insertBefore", this).call(this, T, P);
12689
12705
  }
12690
12706
  }, {
12691
12707
  key: "leaf",
@@ -12700,19 +12716,19 @@ var Xo = { exports: {} };
12700
12716
  }, {
12701
12717
  key: "lines",
12702
12718
  value: function() {
12703
- var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, q = function K(W, oe, U) {
12719
+ var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, q = function K(W, oe, U) {
12704
12720
  var R = [], A = U;
12705
12721
  return W.children.forEachAt(oe, U, function(B, j, Y) {
12706
12722
  S(B) ? R.push(B) : B instanceof f.default.Container && (R = R.concat(K(B, j, A))), A -= Y;
12707
12723
  }), R;
12708
12724
  };
12709
- return q(this, T, M);
12725
+ return q(this, T, P);
12710
12726
  }
12711
12727
  }, {
12712
12728
  key: "optimize",
12713
12729
  value: function() {
12714
- var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
12715
- this.batch !== !0 && (a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "optimize", this).call(this, T, M), T.length > 0 && this.emitter.emit(c.default.events.SCROLL_OPTIMIZE, T, M));
12730
+ var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
12731
+ this.batch !== !0 && (a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "optimize", this).call(this, T, P), T.length > 0 && this.emitter.emit(c.default.events.SCROLL_OPTIMIZE, T, P));
12716
12732
  }
12717
12733
  }, {
12718
12734
  key: "path",
@@ -12723,13 +12739,13 @@ var Xo = { exports: {} };
12723
12739
  key: "update",
12724
12740
  value: function(T) {
12725
12741
  if (this.batch !== !0) {
12726
- var M = c.default.sources.USER;
12727
- typeof T == "string" && (M = T), Array.isArray(T) || (T = this.observer.takeRecords()), T.length > 0 && this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE, M, T), a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "update", this).call(this, T.concat([])), T.length > 0 && this.emitter.emit(c.default.events.SCROLL_UPDATE, M, T);
12742
+ var P = c.default.sources.USER;
12743
+ typeof T == "string" && (P = T), Array.isArray(T) || (T = this.observer.takeRecords()), T.length > 0 && this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE, P, T), a(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "update", this).call(this, T.concat([])), T.length > 0 && this.emitter.emit(c.default.events.SCROLL_UPDATE, P, T);
12728
12744
  }
12729
12745
  }
12730
12746
  }]), O;
12731
12747
  }(f.default.Scroll);
12732
- P.blotName = "scroll", P.className = "ql-editor", P.tagName = "DIV", P.defaultChild = "block", P.allowedChildren = [u.default, s.BlockEmbed, $.default], i.default = P;
12748
+ M.blotName = "scroll", M.className = "ql-editor", M.tagName = "DIV", M.defaultChild = "block", M.allowedChildren = [u.default, s.BlockEmbed, $.default], i.default = M;
12733
12749
  },
12734
12750
  /* 23 */
12735
12751
  /***/
@@ -12747,8 +12763,8 @@ var Xo = { exports: {} };
12747
12763
  try {
12748
12764
  for (var Ee = V[Symbol.iterator](), Ie; !(re = (Ie = Ee.next()).done) && (J.push(Ie.value), !(Z && J.length === Z)); re = !0)
12749
12765
  ;
12750
- } catch (Me) {
12751
- fe = !0, _e = Me;
12766
+ } catch (Pe) {
12767
+ fe = !0, _e = Pe;
12752
12768
  } finally {
12753
12769
  try {
12754
12770
  !re && Ee.return && Ee.return();
@@ -12776,7 +12792,7 @@ var Xo = { exports: {} };
12776
12792
  return function(V, Z, J) {
12777
12793
  return Z && D(V.prototype, Z), J && D(V, J), V;
12778
12794
  };
12779
- }(), d = o(21), f = C(d), h = o(11), c = C(h), s = o(3), u = C(s), _ = o(2), v = C(_), y = o(20), g = C(y), m = o(0), $ = C(m), p = o(5), w = C(p), x = o(10), E = C(x), S = o(9), P = C(S);
12795
+ }(), d = o(21), f = C(d), h = o(11), c = C(h), s = o(3), u = C(s), _ = o(2), v = C(_), y = o(20), g = C(y), m = o(0), $ = C(m), p = o(5), w = C(p), x = o(10), E = C(x), S = o(9), M = C(S);
12780
12796
  function C(D) {
12781
12797
  return D && D.__esModule ? D : { default: D };
12782
12798
  }
@@ -12792,13 +12808,13 @@ var Xo = { exports: {} };
12792
12808
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
12793
12809
  return V && (typeof V == "object" || typeof V == "function") ? V : D;
12794
12810
  }
12795
- function M(D, V) {
12811
+ function P(D, V) {
12796
12812
  if (typeof V != "function" && V !== null)
12797
12813
  throw new TypeError("Super expression must either be null or a function, not " + typeof V);
12798
12814
  D.prototype = Object.create(V && V.prototype, { constructor: { value: D, enumerable: !1, writable: !0, configurable: !0 } }), V && (Object.setPrototypeOf ? Object.setPrototypeOf(D, V) : D.__proto__ = V);
12799
12815
  }
12800
12816
  var q = (0, E.default)("quill:keyboard"), K = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", W = function(D) {
12801
- M(V, D), a(V, null, [{
12817
+ P(V, D), a(V, null, [{
12802
12818
  key: "match",
12803
12819
  value: function(J, re) {
12804
12820
  return re = H(re), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(fe) {
@@ -12834,7 +12850,7 @@ var Xo = { exports: {} };
12834
12850
  if (_e.length !== 0) {
12835
12851
  var Ee = J.quill.getSelection();
12836
12852
  if (!(Ee == null || !J.quill.hasFocus())) {
12837
- var Ie = J.quill.getLine(Ee.index), Me = l(Ie, 2), Ge = Me[0], ze = Me[1], Q = J.quill.getLeaf(Ee.index), te = l(Q, 2), se = te[0], ue = te[1], ie = Ee.length === 0 ? [se, ue] : J.quill.getLeaf(Ee.index + Ee.length), xe = l(ie, 2), Oe = xe[0], Se = xe[1], tt = se instanceof $.default.Text ? se.value().slice(0, ue) : "", We = Oe instanceof $.default.Text ? Oe.value().slice(Se) : "", je = {
12853
+ var Ie = J.quill.getLine(Ee.index), Pe = l(Ie, 2), Ge = Pe[0], ze = Pe[1], Q = J.quill.getLeaf(Ee.index), te = l(Q, 2), se = te[0], ue = te[1], ie = Ee.length === 0 ? [se, ue] : J.quill.getLeaf(Ee.index + Ee.length), xe = l(ie, 2), Oe = xe[0], Se = xe[1], tt = se instanceof $.default.Text ? se.value().slice(0, ue) : "", We = Oe instanceof $.default.Text ? Oe.value().slice(Se) : "", je = {
12838
12854
  collapsed: Ee.length === 0,
12839
12855
  empty: Ee.length === 0 && Ge.length() <= 1,
12840
12856
  format: J.quill.getFormat(Ee),
@@ -12862,7 +12878,7 @@ var Xo = { exports: {} };
12862
12878
  });
12863
12879
  }
12864
12880
  }]), V;
12865
- }(P.default);
12881
+ }(M.default);
12866
12882
  W.keys = {
12867
12883
  BACKSPACE: 8,
12868
12884
  TAB: 9,
@@ -12987,8 +13003,8 @@ var Xo = { exports: {} };
12987
13003
  Ie = "ordered";
12988
13004
  }
12989
13005
  this.quill.insertText(V.index, " ", w.default.sources.USER), this.quill.history.cutoff();
12990
- var Me = new v.default().retain(V.index - Ee).delete(J + 1).retain(_e.length() - 2 - Ee).retain(1, { list: Ie });
12991
- this.quill.updateContents(Me, w.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(V.index - J, w.default.sources.SILENT);
13006
+ var Pe = new v.default().retain(V.index - Ee).delete(J + 1).retain(_e.length() - 2 - Ee).retain(1, { list: Ie });
13007
+ this.quill.updateContents(Pe, w.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(V.index - J, w.default.sources.SILENT);
12992
13008
  }
12993
13009
  },
12994
13010
  "code exit": {
@@ -13017,8 +13033,8 @@ var Xo = { exports: {} };
13017
13033
  }, O(Z, J, /^$/), O(Z, "handler", function(fe) {
13018
13034
  var _e = fe.index;
13019
13035
  D === W.keys.RIGHT && (_e += fe.length + 1);
13020
- var Ee = this.quill.getLeaf(_e), Ie = l(Ee, 1), Me = Ie[0];
13021
- return Me instanceof $.default.Embed ? (D === W.keys.LEFT ? V ? this.quill.setSelection(fe.index - 1, fe.length + 1, w.default.sources.USER) : this.quill.setSelection(fe.index - 1, w.default.sources.USER) : V ? this.quill.setSelection(fe.index, fe.length + 1, w.default.sources.USER) : this.quill.setSelection(fe.index + fe.length + 1, w.default.sources.USER), !1) : !0;
13036
+ var Ee = this.quill.getLeaf(_e), Ie = l(Ee, 1), Pe = Ie[0];
13037
+ return Pe instanceof $.default.Embed ? (D === W.keys.LEFT ? V ? this.quill.setSelection(fe.index - 1, fe.length + 1, w.default.sources.USER) : this.quill.setSelection(fe.index - 1, w.default.sources.USER) : V ? this.quill.setSelection(fe.index, fe.length + 1, w.default.sources.USER) : this.quill.setSelection(fe.index + fe.length + 1, w.default.sources.USER), !1) : !0;
13022
13038
  }), Z;
13023
13039
  }
13024
13040
  function U(D, V) {
@@ -13027,8 +13043,8 @@ var Xo = { exports: {} };
13027
13043
  if (V.offset === 0) {
13028
13044
  var _e = this.quill.getLine(D.index - 1), Ee = l(_e, 1), Ie = Ee[0];
13029
13045
  if (Ie != null && Ie.length() > 1) {
13030
- var Me = re.formats(), Ge = this.quill.getFormat(D.index - 1, 1);
13031
- fe = g.default.attributes.diff(Me, Ge) || {};
13046
+ var Pe = re.formats(), Ge = this.quill.getFormat(D.index - 1, 1);
13047
+ fe = g.default.attributes.diff(Pe, Ge) || {};
13032
13048
  }
13033
13049
  }
13034
13050
  var ze = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(V.prefix) ? 2 : 1;
@@ -13040,7 +13056,7 @@ var Xo = { exports: {} };
13040
13056
  if (!(D.index >= this.quill.getLength() - Z)) {
13041
13057
  var J = {}, re = 0, fe = this.quill.getLine(D.index), _e = l(fe, 1), Ee = _e[0];
13042
13058
  if (V.offset >= Ee.length() - 1) {
13043
- var Ie = this.quill.getLine(D.index + 1), Me = l(Ie, 1), Ge = Me[0];
13059
+ var Ie = this.quill.getLine(D.index + 1), Pe = l(Ie, 1), Ge = Pe[0];
13044
13060
  if (Ge) {
13045
13061
  var ze = Ee.formats(), Q = this.quill.getFormat(D.index, 1);
13046
13062
  J = g.default.attributes.diff(ze, Q) || {}, re = Ge.length();
@@ -13074,12 +13090,12 @@ var Xo = { exports: {} };
13074
13090
  shiftKey: !D,
13075
13091
  format: { "code-block": !0 },
13076
13092
  handler: function(Z) {
13077
- var J = $.default.query("code-block"), re = Z.index, fe = Z.length, _e = this.quill.scroll.descendant(J, re), Ee = l(_e, 2), Ie = Ee[0], Me = Ee[1];
13093
+ var J = $.default.query("code-block"), re = Z.index, fe = Z.length, _e = this.quill.scroll.descendant(J, re), Ee = l(_e, 2), Ie = Ee[0], Pe = Ee[1];
13078
13094
  if (Ie != null) {
13079
- var Ge = this.quill.getIndex(Ie), ze = Ie.newlineIndex(Me, !0) + 1, Q = Ie.newlineIndex(Ge + Me + fe), te = Ie.domNode.textContent.slice(ze, Q).split(`
13095
+ var Ge = this.quill.getIndex(Ie), ze = Ie.newlineIndex(Pe, !0) + 1, Q = Ie.newlineIndex(Ge + Pe + fe), te = Ie.domNode.textContent.slice(ze, Q).split(`
13080
13096
  `);
13081
- Me = 0, te.forEach(function(se, ue) {
13082
- D ? (Ie.insertAt(ze + Me, J.TAB), Me += J.TAB.length, ue === 0 ? re += J.TAB.length : fe += J.TAB.length) : se.startsWith(J.TAB) && (Ie.deleteAt(ze + Me, J.TAB.length), Me -= J.TAB.length, ue === 0 ? re -= J.TAB.length : fe -= J.TAB.length), Me += se.length + 1;
13097
+ Pe = 0, te.forEach(function(se, ue) {
13098
+ D ? (Ie.insertAt(ze + Pe, J.TAB), Pe += J.TAB.length, ue === 0 ? re += J.TAB.length : fe += J.TAB.length) : se.startsWith(J.TAB) && (Ie.deleteAt(ze + Pe, J.TAB.length), Pe -= J.TAB.length, ue === 0 ? re -= J.TAB.length : fe -= J.TAB.length), Pe += se.length + 1;
13083
13099
  }), this.quill.update(w.default.sources.USER), this.quill.setSelection(re, fe, w.default.sources.SILENT);
13084
13100
  }
13085
13101
  }
@@ -13118,7 +13134,7 @@ var Xo = { exports: {} };
13118
13134
  function g(m, $) {
13119
13135
  var p = [], w = !0, x = !1, E = void 0;
13120
13136
  try {
13121
- for (var S = m[Symbol.iterator](), P; !(w = (P = S.next()).done) && (p.push(P.value), !($ && p.length === $)); w = !0)
13137
+ for (var S = m[Symbol.iterator](), M; !(w = (M = S.next()).done) && (p.push(M.value), !($ && p.length === $)); w = !0)
13122
13138
  ;
13123
13139
  } catch (C) {
13124
13140
  x = !0, E = C;
@@ -13230,8 +13246,8 @@ var Xo = { exports: {} };
13230
13246
  if (!(this.selection.composing || this.parent == null)) {
13231
13247
  var p = this.textNode, w = this.selection.getNativeRange(), x = void 0, E = void 0, S = void 0;
13232
13248
  if (w != null && w.start.node === p && w.end.node === p) {
13233
- var P = [p, w.start.offset, w.end.offset];
13234
- x = P[0], E = P[1], S = P[2];
13249
+ var M = [p, w.start.offset, w.end.offset];
13250
+ x = M[0], E = M[1], S = M[2];
13235
13251
  }
13236
13252
  for (; this.domNode.lastChild != null && this.domNode.lastChild !== this.textNode; )
13237
13253
  this.domNode.parentNode.insertBefore(this.domNode.lastChild, this.domNode);
@@ -13599,7 +13615,7 @@ var Xo = { exports: {} };
13599
13615
  Object.defineProperty(i, "__esModule", {
13600
13616
  value: !0
13601
13617
  });
13602
- var r = o(0), l = q(r), a = o(5), d = q(a), f = o(4), h = q(f), c = o(16), s = q(c), u = o(25), _ = q(u), v = o(24), y = q(v), g = o(35), m = q(g), $ = o(6), p = q($), w = o(22), x = q(w), E = o(7), S = q(E), P = o(55), C = q(P), O = o(42), k = q(O), T = o(23), M = q(T);
13618
+ var r = o(0), l = q(r), a = o(5), d = q(a), f = o(4), h = q(f), c = o(16), s = q(c), u = o(25), _ = q(u), v = o(24), y = q(v), g = o(35), m = q(g), $ = o(6), p = q($), w = o(22), x = q(w), E = o(7), S = q(E), M = o(55), C = q(M), O = o(42), k = q(O), T = o(23), P = q(T);
13603
13619
  function q(K) {
13604
13620
  return K && K.__esModule ? K : { default: K };
13605
13621
  }
@@ -13615,7 +13631,7 @@ var Xo = { exports: {} };
13615
13631
  "blots/text": S.default,
13616
13632
  "modules/clipboard": C.default,
13617
13633
  "modules/history": k.default,
13618
- "modules/keyboard": M.default
13634
+ "modules/keyboard": P.default
13619
13635
  }), l.default.register(h.default, s.default, y.default, p.default, x.default, S.default), i.default = d.default;
13620
13636
  },
13621
13637
  /* 30 */
@@ -14206,8 +14222,8 @@ var Xo = { exports: {} };
14206
14222
  function p(w, x) {
14207
14223
  u(this, p);
14208
14224
  var E = _(this, (p.__proto__ || Object.getPrototypeOf(p)).call(this, w, x));
14209
- return E.lastRecorded = 0, E.ignoreChange = !1, E.clear(), E.quill.on(f.default.events.EDITOR_CHANGE, function(S, P, C, O) {
14210
- S !== f.default.events.TEXT_CHANGE || E.ignoreChange || (!E.options.userOnly || O === f.default.sources.USER ? E.record(P, C) : E.transform(P));
14225
+ return E.lastRecorded = 0, E.ignoreChange = !1, E.clear(), E.quill.on(f.default.events.EDITOR_CHANGE, function(S, M, C, O) {
14226
+ S !== f.default.events.TEXT_CHANGE || E.ignoreChange || (!E.options.userOnly || O === f.default.sources.USER ? E.record(M, C) : E.transform(M));
14211
14227
  }), E.quill.keyboard.addBinding({ key: "Z", shortKey: !0 }, E.undo.bind(E)), E.quill.keyboard.addBinding({ key: "Z", shortKey: !0, shiftKey: !0 }, E.redo.bind(E)), /Win/i.test(navigator.platform) && E.quill.keyboard.addBinding({ key: "Y", shortKey: !0 }, E.redo.bind(E)), E;
14212
14228
  }
14213
14229
  return r(p, [{
@@ -14216,8 +14232,8 @@ var Xo = { exports: {} };
14216
14232
  if (this.stack[x].length !== 0) {
14217
14233
  var S = this.stack[x].pop();
14218
14234
  this.stack[E].push(S), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(S[x], f.default.sources.USER), this.ignoreChange = !1;
14219
- var P = m(S[x]);
14220
- this.quill.setSelection(P);
14235
+ var M = m(S[x]);
14236
+ this.quill.setSelection(M);
14221
14237
  }
14222
14238
  }
14223
14239
  }, {
@@ -14235,12 +14251,12 @@ var Xo = { exports: {} };
14235
14251
  value: function(x, E) {
14236
14252
  if (x.ops.length !== 0) {
14237
14253
  this.stack.redo = [];
14238
- var S = this.quill.getContents().diff(E), P = Date.now();
14239
- if (this.lastRecorded + this.options.delay > P && this.stack.undo.length > 0) {
14254
+ var S = this.quill.getContents().diff(E), M = Date.now();
14255
+ if (this.lastRecorded + this.options.delay > M && this.stack.undo.length > 0) {
14240
14256
  var C = this.stack.undo.pop();
14241
14257
  S = S.compose(C.undo), x = C.redo.compose(x);
14242
14258
  } else
14243
- this.lastRecorded = P;
14259
+ this.lastRecorded = M;
14244
14260
  this.stack.undo.push({
14245
14261
  redo: x,
14246
14262
  undo: S
@@ -14316,8 +14332,8 @@ var Xo = { exports: {} };
14316
14332
  var Z = D.get;
14317
14333
  return Z === void 0 ? void 0 : Z.call(H);
14318
14334
  }
14319
- }, a = o(3), d = P(a), f = o(2), h = P(f), c = o(8), s = P(c), u = o(23), _ = P(u), v = o(34), y = P(v), g = o(59), m = P(g), $ = o(60), p = P($), w = o(28), x = P(w), E = o(61), S = P(E);
14320
- function P(B) {
14335
+ }, a = o(3), d = M(a), f = o(2), h = M(f), c = o(8), s = M(c), u = o(23), _ = M(u), v = o(34), y = M(v), g = o(59), m = M(g), $ = o(60), p = M($), w = o(28), x = M(w), E = o(61), S = M(E);
14336
+ function M(B) {
14321
14337
  return B && B.__esModule ? B : { default: B };
14322
14338
  }
14323
14339
  function C(B, j) {
@@ -14334,7 +14350,7 @@ var Xo = { exports: {} };
14334
14350
  throw new TypeError("Super expression must either be null or a function, not " + typeof j);
14335
14351
  B.prototype = Object.create(j && j.prototype, { constructor: { value: B, enumerable: !1, writable: !0, configurable: !0 } }), j && (Object.setPrototypeOf ? Object.setPrototypeOf(B, j) : B.__proto__ = j);
14336
14352
  }
14337
- var T = [!1, "center", "right", "justify"], M = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], q = [!1, "serif", "monospace"], K = ["1", "2", "3", !1], W = ["small", !1, "large", "huge"], oe = function(B) {
14353
+ var T = [!1, "center", "right", "justify"], P = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], q = [!1, "serif", "monospace"], K = ["1", "2", "3", !1], W = ["small", !1, "large", "huge"], oe = function(B) {
14338
14354
  k(j, B);
14339
14355
  function j(Y, H) {
14340
14356
  C(this, j);
@@ -14380,7 +14396,7 @@ var Xo = { exports: {} };
14380
14396
  return J.querySelector("option") == null && A(J, T), new p.default(J, D.align);
14381
14397
  if (J.classList.contains("ql-background") || J.classList.contains("ql-color")) {
14382
14398
  var re = J.classList.contains("ql-background") ? "background" : "color";
14383
- return J.querySelector("option") == null && A(J, M, re === "background" ? "#ffffff" : "#000000"), new m.default(J, D[re]);
14399
+ return J.querySelector("option") == null && A(J, P, re === "background" ? "#ffffff" : "#000000"), new m.default(J, D[re]);
14384
14400
  } else
14385
14401
  return J.querySelector("option") == null && (J.classList.contains("ql-font") ? A(J, q) : J.classList.contains("ql-header") ? A(J, K) : J.classList.contains("ql-size") && A(J, W)), new x.default(J);
14386
14402
  });
@@ -14620,8 +14636,8 @@ var Xo = { exports: {} };
14620
14636
  var x = a.find(w.target, !0);
14621
14637
  x != null && (x.domNode === w.target && (w.type === "childList" ? (g(a.find(w.previousSibling, !1)), [].forEach.call(w.addedNodes, function(E) {
14622
14638
  var S = a.find(E, !1);
14623
- g(S, !1), S instanceof l.default && S.children.forEach(function(P) {
14624
- g(P, !1);
14639
+ g(S, !1), S instanceof l.default && S.children.forEach(function(M) {
14640
+ g(M, !1);
14625
14641
  });
14626
14642
  })) : w.type === "attributes" && g(x.prev)), g(x));
14627
14643
  }), this.children.forEach(m), $ = [].slice.call(this.observer.takeRecords()), y = $.slice(); y.length > 0; )
@@ -14894,10 +14910,10 @@ var Xo = { exports: {} };
14894
14910
  (x < 0 || p.length < x) && (x = null);
14895
14911
  var E = c(p, w), S = p.substring(0, E);
14896
14912
  p = p.substring(E), w = w.substring(E), E = s(p, w);
14897
- var P = p.substring(p.length - E);
14913
+ var M = p.substring(p.length - E);
14898
14914
  p = p.substring(0, p.length - E), w = w.substring(0, w.length - E);
14899
14915
  var C = d(p, w);
14900
- return S && C.unshift([l, S]), P && C.push([l, P]), _(C), x != null && (C = g(C, x)), C = m(C), C;
14916
+ return S && C.unshift([l, S]), M && C.push([l, M]), _(C), x != null && (C = g(C, x)), C = m(C), C;
14901
14917
  }
14902
14918
  function d(p, w) {
14903
14919
  var x;
@@ -14905,29 +14921,29 @@ var Xo = { exports: {} };
14905
14921
  return [[r, w]];
14906
14922
  if (!w)
14907
14923
  return [[o, p]];
14908
- var E = p.length > w.length ? p : w, S = p.length > w.length ? w : p, P = E.indexOf(S);
14909
- if (P != -1)
14924
+ var E = p.length > w.length ? p : w, S = p.length > w.length ? w : p, M = E.indexOf(S);
14925
+ if (M != -1)
14910
14926
  return x = [
14911
- [r, E.substring(0, P)],
14927
+ [r, E.substring(0, M)],
14912
14928
  [l, S],
14913
- [r, E.substring(P + S.length)]
14929
+ [r, E.substring(M + S.length)]
14914
14930
  ], p.length > w.length && (x[0][0] = x[2][0] = o), x;
14915
14931
  if (S.length == 1)
14916
14932
  return [[o, p], [r, w]];
14917
14933
  var C = u(p, w);
14918
14934
  if (C) {
14919
- var O = C[0], k = C[1], T = C[2], M = C[3], q = C[4], K = a(O, T), W = a(k, M);
14935
+ var O = C[0], k = C[1], T = C[2], P = C[3], q = C[4], K = a(O, T), W = a(k, P);
14920
14936
  return K.concat([[l, q]], W);
14921
14937
  }
14922
14938
  return f(p, w);
14923
14939
  }
14924
14940
  function f(p, w) {
14925
- for (var x = p.length, E = w.length, S = Math.ceil((x + E) / 2), P = S, C = 2 * S, O = new Array(C), k = new Array(C), T = 0; T < C; T++)
14941
+ for (var x = p.length, E = w.length, S = Math.ceil((x + E) / 2), M = S, C = 2 * S, O = new Array(C), k = new Array(C), T = 0; T < C; T++)
14926
14942
  O[T] = -1, k[T] = -1;
14927
- O[P + 1] = 0, k[P + 1] = 0;
14928
- for (var M = x - E, q = M % 2 != 0, K = 0, W = 0, oe = 0, U = 0, R = 0; R < S; R++) {
14943
+ O[M + 1] = 0, k[M + 1] = 0;
14944
+ for (var P = x - E, q = P % 2 != 0, K = 0, W = 0, oe = 0, U = 0, R = 0; R < S; R++) {
14929
14945
  for (var A = -R + K; A <= R - W; A += 2) {
14930
- var B = P + A, j;
14946
+ var B = M + A, j;
14931
14947
  A == -R || A != R && O[B - 1] < O[B + 1] ? j = O[B + 1] : j = O[B - 1] + 1;
14932
14948
  for (var Y = j - A; j < x && Y < E && p.charAt(j) == w.charAt(Y); )
14933
14949
  j++, Y++;
@@ -14936,7 +14952,7 @@ var Xo = { exports: {} };
14936
14952
  else if (Y > E)
14937
14953
  K += 2;
14938
14954
  else if (q) {
14939
- var H = P + M - A;
14955
+ var H = M + P - A;
14940
14956
  if (H >= 0 && H < C && k[H] != -1) {
14941
14957
  var D = x - k[H];
14942
14958
  if (j >= D)
@@ -14945,7 +14961,7 @@ var Xo = { exports: {} };
14945
14961
  }
14946
14962
  }
14947
14963
  for (var V = -R + oe; V <= R - U; V += 2) {
14948
- var H = P + V, D;
14964
+ var H = M + V, D;
14949
14965
  V == -R || V != R && k[H - 1] < k[H + 1] ? D = k[H + 1] : D = k[H - 1] + 1;
14950
14966
  for (var Z = D - V; D < x && Z < E && p.charAt(x - D - 1) == w.charAt(E - Z - 1); )
14951
14967
  D++, Z++;
@@ -14954,9 +14970,9 @@ var Xo = { exports: {} };
14954
14970
  else if (Z > E)
14955
14971
  oe += 2;
14956
14972
  else if (!q) {
14957
- var B = P + M - V;
14973
+ var B = M + P - V;
14958
14974
  if (B >= 0 && B < C && O[B] != -1) {
14959
- var j = O[B], Y = P + j - B;
14975
+ var j = O[B], Y = M + j - B;
14960
14976
  if (D = x - D, j >= D)
14961
14977
  return h(p, w, j, Y);
14962
14978
  }
@@ -14966,21 +14982,21 @@ var Xo = { exports: {} };
14966
14982
  return [[o, p], [r, w]];
14967
14983
  }
14968
14984
  function h(p, w, x, E) {
14969
- var S = p.substring(0, x), P = w.substring(0, E), C = p.substring(x), O = w.substring(E), k = a(S, P), T = a(C, O);
14985
+ var S = p.substring(0, x), M = w.substring(0, E), C = p.substring(x), O = w.substring(E), k = a(S, M), T = a(C, O);
14970
14986
  return k.concat(T);
14971
14987
  }
14972
14988
  function c(p, w) {
14973
14989
  if (!p || !w || p.charAt(0) != w.charAt(0))
14974
14990
  return 0;
14975
- for (var x = 0, E = Math.min(p.length, w.length), S = E, P = 0; x < S; )
14976
- p.substring(P, S) == w.substring(P, S) ? (x = S, P = x) : E = S, S = Math.floor((E - x) / 2 + x);
14991
+ for (var x = 0, E = Math.min(p.length, w.length), S = E, M = 0; x < S; )
14992
+ p.substring(M, S) == w.substring(M, S) ? (x = S, M = x) : E = S, S = Math.floor((E - x) / 2 + x);
14977
14993
  return S;
14978
14994
  }
14979
14995
  function s(p, w) {
14980
14996
  if (!p || !w || p.charAt(p.length - 1) != w.charAt(w.length - 1))
14981
14997
  return 0;
14982
- for (var x = 0, E = Math.min(p.length, w.length), S = E, P = 0; x < S; )
14983
- p.substring(p.length - S, p.length - P) == w.substring(w.length - S, w.length - P) ? (x = S, P = x) : E = S, S = Math.floor((E - x) / 2 + x);
14998
+ for (var x = 0, E = Math.min(p.length, w.length), S = E, M = 0; x < S; )
14999
+ p.substring(p.length - S, p.length - M) == w.substring(w.length - S, w.length - M) ? (x = S, M = x) : E = S, S = Math.floor((E - x) / 2 + x);
14984
15000
  return S;
14985
15001
  }
14986
15002
  function u(p, w) {
@@ -15006,7 +15022,7 @@ var Xo = { exports: {} };
15006
15022
  B
15007
15023
  ] : null;
15008
15024
  }
15009
- var P = S(
15025
+ var M = S(
15010
15026
  x,
15011
15027
  E,
15012
15028
  Math.ceil(x.length / 4)
@@ -15015,32 +15031,32 @@ var Xo = { exports: {} };
15015
15031
  E,
15016
15032
  Math.ceil(x.length / 2)
15017
15033
  ), O;
15018
- if (!P && !C)
15034
+ if (!M && !C)
15019
15035
  return null;
15020
- C ? P ? O = P[4].length > C[4].length ? P : C : O = C : O = P;
15021
- var k, T, M, q;
15022
- p.length > w.length ? (k = O[0], T = O[1], M = O[2], q = O[3]) : (M = O[0], q = O[1], k = O[2], T = O[3]);
15036
+ C ? M ? O = M[4].length > C[4].length ? M : C : O = C : O = M;
15037
+ var k, T, P, q;
15038
+ p.length > w.length ? (k = O[0], T = O[1], P = O[2], q = O[3]) : (P = O[0], q = O[1], k = O[2], T = O[3]);
15023
15039
  var K = O[4];
15024
- return [k, T, M, q, K];
15040
+ return [k, T, P, q, K];
15025
15041
  }
15026
15042
  function _(p) {
15027
15043
  p.push([l, ""]);
15028
- for (var w = 0, x = 0, E = 0, S = "", P = "", C; w < p.length; )
15044
+ for (var w = 0, x = 0, E = 0, S = "", M = "", C; w < p.length; )
15029
15045
  switch (p[w][0]) {
15030
15046
  case r:
15031
- E++, P += p[w][1], w++;
15047
+ E++, M += p[w][1], w++;
15032
15048
  break;
15033
15049
  case o:
15034
15050
  x++, S += p[w][1], w++;
15035
15051
  break;
15036
15052
  case l:
15037
- x + E > 1 ? (x !== 0 && E !== 0 && (C = c(P, S), C !== 0 && (w - x - E > 0 && p[w - x - E - 1][0] == l ? p[w - x - E - 1][1] += P.substring(0, C) : (p.splice(0, 0, [
15053
+ x + E > 1 ? (x !== 0 && E !== 0 && (C = c(M, S), C !== 0 && (w - x - E > 0 && p[w - x - E - 1][0] == l ? p[w - x - E - 1][1] += M.substring(0, C) : (p.splice(0, 0, [
15038
15054
  l,
15039
- P.substring(0, C)
15040
- ]), w++), P = P.substring(C), S = S.substring(C)), C = s(P, S), C !== 0 && (p[w][1] = P.substring(P.length - C) + p[w][1], P = P.substring(0, P.length - C), S = S.substring(0, S.length - C))), x === 0 ? p.splice(
15055
+ M.substring(0, C)
15056
+ ]), w++), M = M.substring(C), S = S.substring(C)), C = s(M, S), C !== 0 && (p[w][1] = M.substring(M.length - C) + p[w][1], M = M.substring(0, M.length - C), S = S.substring(0, S.length - C))), x === 0 ? p.splice(
15041
15057
  w - E,
15042
15058
  x + E,
15043
- [r, P]
15059
+ [r, M]
15044
15060
  ) : E === 0 ? p.splice(
15045
15061
  w - x,
15046
15062
  x + E,
@@ -15049,8 +15065,8 @@ var Xo = { exports: {} };
15049
15065
  w - x - E,
15050
15066
  x + E,
15051
15067
  [o, S],
15052
- [r, P]
15053
- ), w = w - x - E + (x ? 1 : 0) + (E ? 1 : 0) + 1) : w !== 0 && p[w - 1][0] == l ? (p[w - 1][1] += p[w][1], p.splice(w, 1)) : w++, E = 0, x = 0, S = "", P = "";
15068
+ [r, M]
15069
+ ), w = w - x - E + (x ? 1 : 0) + (E ? 1 : 0) + 1) : w !== 0 && p[w - 1][0] == l ? (p[w - 1][1] += p[w][1], p.splice(w, 1)) : w++, E = 0, x = 0, S = "", M = "";
15054
15070
  break;
15055
15071
  }
15056
15072
  p[p.length - 1][1] === "" && p.pop();
@@ -15067,30 +15083,30 @@ var Xo = { exports: {} };
15067
15083
  for (var x = 0, E = 0; E < p.length; E++) {
15068
15084
  var S = p[E];
15069
15085
  if (S[0] === o || S[0] === l) {
15070
- var P = x + S[1].length;
15071
- if (w === P)
15086
+ var M = x + S[1].length;
15087
+ if (w === M)
15072
15088
  return [E + 1, p];
15073
- if (w < P) {
15089
+ if (w < M) {
15074
15090
  p = p.slice();
15075
15091
  var C = w - x, O = [S[0], S[1].slice(0, C)], k = [S[0], S[1].slice(C)];
15076
15092
  return p.splice(E, 1, O, k), [E + 1, p];
15077
15093
  } else
15078
- x = P;
15094
+ x = M;
15079
15095
  }
15080
15096
  }
15081
15097
  throw new Error("cursor_pos is out of bounds!");
15082
15098
  }
15083
15099
  function g(p, w) {
15084
- var x = y(p, w), E = x[1], S = x[0], P = E[S], C = E[S + 1];
15085
- if (P == null)
15100
+ var x = y(p, w), E = x[1], S = x[0], M = E[S], C = E[S + 1];
15101
+ if (M == null)
15086
15102
  return p;
15087
- if (P[0] !== l)
15103
+ if (M[0] !== l)
15088
15104
  return p;
15089
- if (C != null && P[1] + C[1] === C[1] + P[1])
15090
- return E.splice(S, 2, C, P), $(E, S, 2);
15091
- if (C != null && C[1].indexOf(P[1]) === 0) {
15092
- E.splice(S, 2, [C[0], P[1]], [0, P[1]]);
15093
- var O = C[1].slice(P[1].length);
15105
+ if (C != null && M[1] + C[1] === C[1] + M[1])
15106
+ return E.splice(S, 2, C, M), $(E, S, 2);
15107
+ if (C != null && C[1].indexOf(M[1]) === 0) {
15108
+ E.splice(S, 2, [C[0], M[1]], [0, M[1]]);
15109
+ var O = C[1].slice(M[1].length);
15094
15110
  return O.length > 0 && E.splice(S + 2, 0, [C[0], O]), $(E, S, 3);
15095
15111
  } else
15096
15112
  return p;
@@ -15104,15 +15120,15 @@ var Xo = { exports: {} };
15104
15120
  p[S - 2][0] === l && E(p[S - 2][1]) && p[S - 1][0] === o && x(p[S - 1][1]) && p[S][0] === r && x(p[S][1]) && (w = !0, p[S - 1][1] = p[S - 2][1].slice(-1) + p[S - 1][1], p[S][1] = p[S - 2][1].slice(-1) + p[S][1], p[S - 2][1] = p[S - 2][1].slice(0, -1));
15105
15121
  if (!w)
15106
15122
  return p;
15107
- for (var P = [], S = 0; S < p.length; S += 1)
15108
- p[S][1].length > 0 && P.push(p[S]);
15109
- return P;
15123
+ for (var M = [], S = 0; S < p.length; S += 1)
15124
+ p[S][1].length > 0 && M.push(p[S]);
15125
+ return M;
15110
15126
  }
15111
15127
  function $(p, w, x) {
15112
15128
  for (var E = w + x - 1; E >= 0 && E >= w - 1; E--)
15113
15129
  if (E + 1 < p.length) {
15114
- var S = p[E], P = p[E + 1];
15115
- S[0] === P[1] && p.splice(E, 2, [S[0], S[1] + P[1]]);
15130
+ var S = p[E], M = p[E + 1];
15131
+ S[0] === M[1] && p.splice(E, 2, [S[0], S[1] + M[1]]);
15116
15132
  }
15117
15133
  return p;
15118
15134
  }
@@ -15294,14 +15310,14 @@ var Xo = { exports: {} };
15294
15310
  return function(te, se, ue) {
15295
15311
  return se && Q(te.prototype, se), ue && Q(te, ue), te;
15296
15312
  };
15297
- }(), d = o(3), f = k(d), h = o(2), c = k(h), s = o(0), u = k(s), _ = o(5), v = k(_), y = o(10), g = k(y), m = o(9), $ = k(m), p = o(36), w = o(37), x = o(13), E = k(x), S = o(26), P = o(38), C = o(39), O = o(40);
15313
+ }(), d = o(3), f = k(d), h = o(2), c = k(h), s = o(0), u = k(s), _ = o(5), v = k(_), y = o(10), g = k(y), m = o(9), $ = k(m), p = o(36), w = o(37), x = o(13), E = k(x), S = o(26), M = o(38), C = o(39), O = o(40);
15298
15314
  function k(Q) {
15299
15315
  return Q && Q.__esModule ? Q : { default: Q };
15300
15316
  }
15301
15317
  function T(Q, te, se) {
15302
15318
  return te in Q ? Object.defineProperty(Q, te, { value: se, enumerable: !0, configurable: !0, writable: !0 }) : Q[te] = se, Q;
15303
15319
  }
15304
- function M(Q, te) {
15320
+ function P(Q, te) {
15305
15321
  if (!(Q instanceof te))
15306
15322
  throw new TypeError("Cannot call a class as a function");
15307
15323
  }
@@ -15315,18 +15331,18 @@ var Xo = { exports: {} };
15315
15331
  throw new TypeError("Super expression must either be null or a function, not " + typeof te);
15316
15332
  Q.prototype = Object.create(te && te.prototype, { constructor: { value: Q, enumerable: !1, writable: !0, configurable: !0 } }), te && (Object.setPrototypeOf ? Object.setPrototypeOf(Q, te) : Q.__proto__ = te);
15317
15333
  }
15318
- var W = (0, g.default)("quill:clipboard"), oe = "__ql-matcher", U = [[Node.TEXT_NODE, ze], [Node.TEXT_NODE, Ie], ["br", fe], [Node.ELEMENT_NODE, Ie], [Node.ELEMENT_NODE, re], [Node.ELEMENT_NODE, Me], [Node.ELEMENT_NODE, J], [Node.ELEMENT_NODE, Ge], ["li", Ee], ["b", Z.bind(Z, "bold")], ["i", Z.bind(Z, "italic")], ["style", _e]], R = [p.AlignAttribute, P.DirectionAttribute].reduce(function(Q, te) {
15334
+ var W = (0, g.default)("quill:clipboard"), oe = "__ql-matcher", U = [[Node.TEXT_NODE, ze], [Node.TEXT_NODE, Ie], ["br", fe], [Node.ELEMENT_NODE, Ie], [Node.ELEMENT_NODE, re], [Node.ELEMENT_NODE, Pe], [Node.ELEMENT_NODE, J], [Node.ELEMENT_NODE, Ge], ["li", Ee], ["b", Z.bind(Z, "bold")], ["i", Z.bind(Z, "italic")], ["style", _e]], R = [p.AlignAttribute, M.DirectionAttribute].reduce(function(Q, te) {
15319
15335
  return Q[te.keyName] = te, Q;
15320
- }, {}), A = [p.AlignStyle, w.BackgroundStyle, S.ColorStyle, P.DirectionStyle, C.FontStyle, O.SizeStyle].reduce(function(Q, te) {
15336
+ }, {}), A = [p.AlignStyle, w.BackgroundStyle, S.ColorStyle, M.DirectionStyle, C.FontStyle, O.SizeStyle].reduce(function(Q, te) {
15321
15337
  return Q[te.keyName] = te, Q;
15322
15338
  }, {}), B = function(Q) {
15323
15339
  K(te, Q);
15324
15340
  function te(se, ue) {
15325
- M(this, te);
15341
+ P(this, te);
15326
15342
  var ie = q(this, (te.__proto__ || Object.getPrototypeOf(te)).call(this, se, ue));
15327
15343
  return ie.quill.root.addEventListener("paste", ie.onPaste.bind(ie)), ie.container = ie.quill.addContainer("ql-clipboard"), ie.container.setAttribute("contenteditable", !0), ie.container.setAttribute("tabindex", -1), ie.matchers = [], U.concat(ie.options.matchers).forEach(function(xe) {
15328
15344
  var Oe = l(xe, 2), Se = Oe[0], tt = Oe[1];
15329
- !ue.matchVisual && tt === Me || ie.addMatcher(Se, tt);
15345
+ !ue.matchVisual && tt === Pe || ie.addMatcher(Se, tt);
15330
15346
  }), ie;
15331
15347
  }
15332
15348
  return a(te, [{
@@ -15480,7 +15496,7 @@ var Xo = { exports: {} };
15480
15496
  `) || (D(Q) || te.length() > 0 && Q.nextSibling && D(Q.nextSibling)) && te.insert(`
15481
15497
  `), te;
15482
15498
  }
15483
- function Me(Q, te) {
15499
+ function Pe(Q, te) {
15484
15500
  if (D(Q) && Q.nextElementSibling != null && !H(te, `
15485
15501
 
15486
15502
  `)) {
@@ -15508,7 +15524,7 @@ var Xo = { exports: {} };
15508
15524
  }
15509
15525
  return te.insert(se);
15510
15526
  }
15511
- i.default = B, i.matchAttributor = J, i.matchBlot = re, i.matchNewline = Ie, i.matchSpacing = Me, i.matchText = ze;
15527
+ i.default = B, i.matchAttributor = J, i.matchBlot = re, i.matchNewline = Ie, i.matchSpacing = Pe, i.matchText = ze;
15512
15528
  },
15513
15529
  /* 56 */
15514
15530
  /***/
@@ -15588,9 +15604,9 @@ var Xo = { exports: {} };
15588
15604
  }), i.addControls = i.default = void 0;
15589
15605
  var r = function() {
15590
15606
  function O(k, T) {
15591
- var M = [], q = !0, K = !1, W = void 0;
15607
+ var P = [], q = !0, K = !1, W = void 0;
15592
15608
  try {
15593
- for (var oe = k[Symbol.iterator](), U; !(q = (U = oe.next()).done) && (M.push(U.value), !(T && M.length === T)); q = !0)
15609
+ for (var oe = k[Symbol.iterator](), U; !(q = (U = oe.next()).done) && (P.push(U.value), !(T && P.length === T)); q = !0)
15594
15610
  ;
15595
15611
  } catch (R) {
15596
15612
  K = !0, W = R;
@@ -15602,7 +15618,7 @@ var Xo = { exports: {} };
15602
15618
  throw W;
15603
15619
  }
15604
15620
  }
15605
- return M;
15621
+ return P;
15606
15622
  }
15607
15623
  return function(k, T) {
15608
15624
  if (Array.isArray(k))
@@ -15613,13 +15629,13 @@ var Xo = { exports: {} };
15613
15629
  };
15614
15630
  }(), l = function() {
15615
15631
  function O(k, T) {
15616
- for (var M = 0; M < T.length; M++) {
15617
- var q = T[M];
15632
+ for (var P = 0; P < T.length; P++) {
15633
+ var q = T[P];
15618
15634
  q.enumerable = q.enumerable || !1, q.configurable = !0, "value" in q && (q.writable = !0), Object.defineProperty(k, q.key, q);
15619
15635
  }
15620
15636
  }
15621
- return function(k, T, M) {
15622
- return T && O(k.prototype, T), M && O(k, M), k;
15637
+ return function(k, T, P) {
15638
+ return T && O(k.prototype, T), P && O(k, P), k;
15623
15639
  };
15624
15640
  }(), a = o(2), d = g(a), f = o(0), h = g(f), c = o(5), s = g(c), u = o(10), _ = g(u), v = o(9), y = g(v);
15625
15641
  function g(O) {
@@ -15644,12 +15660,12 @@ var Xo = { exports: {} };
15644
15660
  }
15645
15661
  var x = (0, _.default)("quill:toolbar"), E = function(O) {
15646
15662
  w(k, O);
15647
- function k(T, M) {
15663
+ function k(T, P) {
15648
15664
  $(this, k);
15649
- var q = p(this, (k.__proto__ || Object.getPrototypeOf(k)).call(this, T, M));
15665
+ var q = p(this, (k.__proto__ || Object.getPrototypeOf(k)).call(this, T, P));
15650
15666
  if (Array.isArray(q.options.container)) {
15651
15667
  var K = document.createElement("div");
15652
- P(K, q.options.container), T.container.parentNode.insertBefore(K, T.container), q.container = K;
15668
+ M(K, q.options.container), T.container.parentNode.insertBefore(K, T.container), q.container = K;
15653
15669
  } else
15654
15670
  typeof q.options.container == "string" ? q.container = document.querySelector(q.options.container) : q.container = q.options.container;
15655
15671
  if (!(q.container instanceof HTMLElement)) {
@@ -15669,36 +15685,36 @@ var Xo = { exports: {} };
15669
15685
  }
15670
15686
  return l(k, [{
15671
15687
  key: "addHandler",
15672
- value: function(M, q) {
15673
- this.handlers[M] = q;
15688
+ value: function(P, q) {
15689
+ this.handlers[P] = q;
15674
15690
  }
15675
15691
  }, {
15676
15692
  key: "attach",
15677
- value: function(M) {
15678
- var q = this, K = [].find.call(M.classList, function(oe) {
15693
+ value: function(P) {
15694
+ var q = this, K = [].find.call(P.classList, function(oe) {
15679
15695
  return oe.indexOf("ql-") === 0;
15680
15696
  });
15681
15697
  if (K) {
15682
- if (K = K.slice(3), M.tagName === "BUTTON" && M.setAttribute("type", "button"), this.handlers[K] == null) {
15698
+ if (K = K.slice(3), P.tagName === "BUTTON" && P.setAttribute("type", "button"), this.handlers[K] == null) {
15683
15699
  if (this.quill.scroll.whitelist != null && this.quill.scroll.whitelist[K] == null) {
15684
- x.warn("ignoring attaching to disabled format", K, M);
15700
+ x.warn("ignoring attaching to disabled format", K, P);
15685
15701
  return;
15686
15702
  }
15687
15703
  if (h.default.query(K) == null) {
15688
- x.warn("ignoring attaching to nonexistent format", K, M);
15704
+ x.warn("ignoring attaching to nonexistent format", K, P);
15689
15705
  return;
15690
15706
  }
15691
15707
  }
15692
- var W = M.tagName === "SELECT" ? "change" : "click";
15693
- M.addEventListener(W, function(oe) {
15708
+ var W = P.tagName === "SELECT" ? "change" : "click";
15709
+ P.addEventListener(W, function(oe) {
15694
15710
  var U = void 0;
15695
- if (M.tagName === "SELECT") {
15696
- if (M.selectedIndex < 0)
15711
+ if (P.tagName === "SELECT") {
15712
+ if (P.selectedIndex < 0)
15697
15713
  return;
15698
- var R = M.options[M.selectedIndex];
15714
+ var R = P.options[P.selectedIndex];
15699
15715
  R.hasAttribute("selected") ? U = !1 : U = R.value || !1;
15700
15716
  } else
15701
- M.classList.contains("ql-active") ? U = !1 : U = M.value || !M.hasAttribute("value"), oe.preventDefault();
15717
+ P.classList.contains("ql-active") ? U = !1 : U = P.value || !P.hasAttribute("value"), oe.preventDefault();
15702
15718
  q.quill.focus();
15703
15719
  var A = q.quill.selection.getRange(), B = r(A, 1), j = B[0];
15704
15720
  if (q.handlers[K] != null)
@@ -15710,18 +15726,18 @@ var Xo = { exports: {} };
15710
15726
  } else
15711
15727
  q.quill.format(K, U, s.default.sources.USER);
15712
15728
  q.update(j);
15713
- }), this.controls.push([K, M]);
15729
+ }), this.controls.push([K, P]);
15714
15730
  }
15715
15731
  }
15716
15732
  }, {
15717
15733
  key: "update",
15718
- value: function(M) {
15719
- var q = M == null ? {} : this.quill.getFormat(M);
15734
+ value: function(P) {
15735
+ var q = P == null ? {} : this.quill.getFormat(P);
15720
15736
  this.controls.forEach(function(K) {
15721
15737
  var W = r(K, 2), oe = W[0], U = W[1];
15722
15738
  if (U.tagName === "SELECT") {
15723
15739
  var R = void 0;
15724
- if (M == null)
15740
+ if (P == null)
15725
15741
  R = null;
15726
15742
  else if (q[oe] == null)
15727
15743
  R = U.querySelector("option[selected]");
@@ -15730,7 +15746,7 @@ var Xo = { exports: {} };
15730
15746
  typeof A == "string" && (A = A.replace(/\"/g, '\\"')), R = U.querySelector('option[value="' + A + '"]');
15731
15747
  }
15732
15748
  R == null ? (U.value = "", U.selectedIndex = -1) : R.selected = !0;
15733
- } else if (M == null)
15749
+ } else if (P == null)
15734
15750
  U.classList.remove("ql-active");
15735
15751
  else if (U.hasAttribute("value")) {
15736
15752
  var B = q[oe] === U.getAttribute("value") || q[oe] != null && q[oe].toString() === U.getAttribute("value") || q[oe] == null && !U.getAttribute("value");
@@ -15743,28 +15759,28 @@ var Xo = { exports: {} };
15743
15759
  }(y.default);
15744
15760
  E.DEFAULTS = {};
15745
15761
  function S(O, k, T) {
15746
- var M = document.createElement("button");
15747
- M.setAttribute("type", "button"), M.classList.add("ql-" + k), T != null && (M.value = T), O.appendChild(M);
15762
+ var P = document.createElement("button");
15763
+ P.setAttribute("type", "button"), P.classList.add("ql-" + k), T != null && (P.value = T), O.appendChild(P);
15748
15764
  }
15749
- function P(O, k) {
15765
+ function M(O, k) {
15750
15766
  Array.isArray(k[0]) || (k = [k]), k.forEach(function(T) {
15751
- var M = document.createElement("span");
15752
- M.classList.add("ql-formats"), T.forEach(function(q) {
15767
+ var P = document.createElement("span");
15768
+ P.classList.add("ql-formats"), T.forEach(function(q) {
15753
15769
  if (typeof q == "string")
15754
- S(M, q);
15770
+ S(P, q);
15755
15771
  else {
15756
15772
  var K = Object.keys(q)[0], W = q[K];
15757
- Array.isArray(W) ? C(M, K, W) : S(M, K, W);
15773
+ Array.isArray(W) ? C(P, K, W) : S(P, K, W);
15758
15774
  }
15759
- }), O.appendChild(M);
15775
+ }), O.appendChild(P);
15760
15776
  });
15761
15777
  }
15762
15778
  function C(O, k, T) {
15763
- var M = document.createElement("select");
15764
- M.classList.add("ql-" + k), T.forEach(function(q) {
15779
+ var P = document.createElement("select");
15780
+ P.classList.add("ql-" + k), T.forEach(function(q) {
15765
15781
  var K = document.createElement("option");
15766
- q !== !1 ? K.setAttribute("value", q) : K.setAttribute("selected", "selected"), M.appendChild(K);
15767
- }), O.appendChild(M);
15782
+ q !== !1 ? K.setAttribute("value", q) : K.setAttribute("selected", "selected"), P.appendChild(K);
15783
+ }), O.appendChild(P);
15768
15784
  }
15769
15785
  E.DEFAULTS = {
15770
15786
  container: null,
@@ -15773,8 +15789,8 @@ var Xo = { exports: {} };
15773
15789
  var k = this, T = this.quill.getSelection();
15774
15790
  if (T != null)
15775
15791
  if (T.length == 0) {
15776
- var M = this.quill.getFormat();
15777
- Object.keys(M).forEach(function(q) {
15792
+ var P = this.quill.getFormat();
15793
+ Object.keys(P).forEach(function(q) {
15778
15794
  h.default.query(q, h.default.Scope.INLINE) != null && k.quill.format(q, !1);
15779
15795
  });
15780
15796
  } else
@@ -15785,21 +15801,21 @@ var Xo = { exports: {} };
15785
15801
  k === "rtl" && T == null ? this.quill.format("align", "right", s.default.sources.USER) : !k && T === "right" && this.quill.format("align", !1, s.default.sources.USER), this.quill.format("direction", k, s.default.sources.USER);
15786
15802
  },
15787
15803
  indent: function(k) {
15788
- var T = this.quill.getSelection(), M = this.quill.getFormat(T), q = parseInt(M.indent || 0);
15804
+ var T = this.quill.getSelection(), P = this.quill.getFormat(T), q = parseInt(P.indent || 0);
15789
15805
  if (k === "+1" || k === "-1") {
15790
15806
  var K = k === "+1" ? 1 : -1;
15791
- M.direction === "rtl" && (K *= -1), this.quill.format("indent", q + K, s.default.sources.USER);
15807
+ P.direction === "rtl" && (K *= -1), this.quill.format("indent", q + K, s.default.sources.USER);
15792
15808
  }
15793
15809
  },
15794
15810
  link: function(k) {
15795
15811
  k === !0 && (k = prompt("Enter link URL:")), this.quill.format("link", k, s.default.sources.USER);
15796
15812
  },
15797
15813
  list: function(k) {
15798
- var T = this.quill.getSelection(), M = this.quill.getFormat(T);
15799
- k === "check" ? M.list === "checked" || M.list === "unchecked" ? this.quill.format("list", !1, s.default.sources.USER) : this.quill.format("list", "unchecked", s.default.sources.USER) : this.quill.format("list", k, s.default.sources.USER);
15814
+ var T = this.quill.getSelection(), P = this.quill.getFormat(T);
15815
+ k === "check" ? P.list === "checked" || P.list === "unchecked" ? this.quill.format("list", !1, s.default.sources.USER) : this.quill.format("list", "unchecked", s.default.sources.USER) : this.quill.format("list", k, s.default.sources.USER);
15800
15816
  }
15801
15817
  }
15802
- }, i.default = E, i.addControls = P;
15818
+ }, i.default = E, i.addControls = M;
15803
15819
  },
15804
15820
  /* 58 */
15805
15821
  /***/
@@ -16004,15 +16020,15 @@ var Xo = { exports: {} };
16004
16020
  });
16005
16021
  var r = function() {
16006
16022
  function C(O, k) {
16007
- var T = [], M = !0, q = !1, K = void 0;
16023
+ var T = [], P = !0, q = !1, K = void 0;
16008
16024
  try {
16009
- for (var W = O[Symbol.iterator](), oe; !(M = (oe = W.next()).done) && (T.push(oe.value), !(k && T.length === k)); M = !0)
16025
+ for (var W = O[Symbol.iterator](), oe; !(P = (oe = W.next()).done) && (T.push(oe.value), !(k && T.length === k)); P = !0)
16010
16026
  ;
16011
16027
  } catch (U) {
16012
16028
  q = !0, K = U;
16013
16029
  } finally {
16014
16030
  try {
16015
- !M && W.return && W.return();
16031
+ !P && W.return && W.return();
16016
16032
  } finally {
16017
16033
  if (q)
16018
16034
  throw K;
@@ -16029,21 +16045,21 @@ var Xo = { exports: {} };
16029
16045
  };
16030
16046
  }(), l = function C(O, k, T) {
16031
16047
  O === null && (O = Function.prototype);
16032
- var M = Object.getOwnPropertyDescriptor(O, k);
16033
- if (M === void 0) {
16048
+ var P = Object.getOwnPropertyDescriptor(O, k);
16049
+ if (P === void 0) {
16034
16050
  var q = Object.getPrototypeOf(O);
16035
16051
  return q === null ? void 0 : C(q, k, T);
16036
16052
  } else {
16037
- if ("value" in M)
16038
- return M.value;
16039
- var K = M.get;
16053
+ if ("value" in P)
16054
+ return P.value;
16055
+ var K = P.get;
16040
16056
  return K === void 0 ? void 0 : K.call(T);
16041
16057
  }
16042
16058
  }, a = function() {
16043
16059
  function C(O, k) {
16044
16060
  for (var T = 0; T < k.length; T++) {
16045
- var M = k[T];
16046
- M.enumerable = M.enumerable || !1, M.configurable = !0, "value" in M && (M.writable = !0), Object.defineProperty(O, M.key, M);
16061
+ var P = k[T];
16062
+ P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(O, P.key, P);
16047
16063
  }
16048
16064
  }
16049
16065
  return function(O, k, T) {
@@ -16071,13 +16087,13 @@ var Xo = { exports: {} };
16071
16087
  x(O, C);
16072
16088
  function O(k, T) {
16073
16089
  p(this, O), T.modules.toolbar != null && T.modules.toolbar.container == null && (T.modules.toolbar.container = E);
16074
- var M = w(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, k, T));
16075
- return M.quill.container.classList.add("ql-snow"), M;
16090
+ var P = w(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, k, T));
16091
+ return P.quill.container.classList.add("ql-snow"), P;
16076
16092
  }
16077
16093
  return a(O, [{
16078
16094
  key: "extendToolbar",
16079
16095
  value: function(T) {
16080
- T.container.classList.add("ql-snow"), this.buildButtons([].slice.call(T.container.querySelectorAll("button")), m.default), this.buildPickers([].slice.call(T.container.querySelectorAll("select")), m.default), this.tooltip = new P(this.quill, this.options.bounds), T.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({ key: "K", shortKey: !0 }, function(M, q) {
16096
+ T.container.classList.add("ql-snow"), this.buildButtons([].slice.call(T.container.querySelectorAll("button")), m.default), this.buildPickers([].slice.call(T.container.querySelectorAll("select")), m.default), this.tooltip = new M(this.quill, this.options.bounds), T.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({ key: "K", shortKey: !0 }, function(P, q) {
16081
16097
  T.handlers.link.call(T, !q.format.link);
16082
16098
  });
16083
16099
  }
@@ -16094,8 +16110,8 @@ var Xo = { exports: {} };
16094
16110
  return;
16095
16111
  var T = this.quill.getText(k);
16096
16112
  /^\S+@\S+\.\S+$/.test(T) && T.indexOf("mailto:") !== 0 && (T = "mailto:" + T);
16097
- var M = this.quill.theme.tooltip;
16098
- M.edit("link", T);
16113
+ var P = this.quill.theme.tooltip;
16114
+ P.edit("link", T);
16099
16115
  } else
16100
16116
  this.quill.format("link", !1);
16101
16117
  }
@@ -16103,31 +16119,31 @@ var Xo = { exports: {} };
16103
16119
  }
16104
16120
  }
16105
16121
  });
16106
- var P = function(C) {
16122
+ var M = function(C) {
16107
16123
  x(O, C);
16108
16124
  function O(k, T) {
16109
16125
  p(this, O);
16110
- var M = w(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, k, T));
16111
- return M.preview = M.root.querySelector("a.ql-preview"), M;
16126
+ var P = w(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, k, T));
16127
+ return P.preview = P.root.querySelector("a.ql-preview"), P;
16112
16128
  }
16113
16129
  return a(O, [{
16114
16130
  key: "listen",
16115
16131
  value: function() {
16116
16132
  var T = this;
16117
- l(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "listen", this).call(this), this.root.querySelector("a.ql-action").addEventListener("click", function(M) {
16118
- T.root.classList.contains("ql-editing") ? T.save() : T.edit("link", T.preview.textContent), M.preventDefault();
16119
- }), this.root.querySelector("a.ql-remove").addEventListener("click", function(M) {
16133
+ l(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "listen", this).call(this), this.root.querySelector("a.ql-action").addEventListener("click", function(P) {
16134
+ T.root.classList.contains("ql-editing") ? T.save() : T.edit("link", T.preview.textContent), P.preventDefault();
16135
+ }), this.root.querySelector("a.ql-remove").addEventListener("click", function(P) {
16120
16136
  if (T.linkRange != null) {
16121
16137
  var q = T.linkRange;
16122
16138
  T.restoreFocus(), T.quill.formatText(q, "link", !1, c.default.sources.USER), delete T.linkRange;
16123
16139
  }
16124
- M.preventDefault(), T.hide();
16125
- }), this.quill.on(c.default.events.SELECTION_CHANGE, function(M, q, K) {
16126
- if (M != null) {
16127
- if (M.length === 0 && K === c.default.sources.USER) {
16128
- var W = T.quill.scroll.descendant(v.default, M.index), oe = r(W, 2), U = oe[0], R = oe[1];
16140
+ P.preventDefault(), T.hide();
16141
+ }), this.quill.on(c.default.events.SELECTION_CHANGE, function(P, q, K) {
16142
+ if (P != null) {
16143
+ if (P.length === 0 && K === c.default.sources.USER) {
16144
+ var W = T.quill.scroll.descendant(v.default, P.index), oe = r(W, 2), U = oe[0], R = oe[1];
16129
16145
  if (U != null) {
16130
- T.linkRange = new y.Range(M.index - R, U.length());
16146
+ T.linkRange = new y.Range(P.index - R, U.length());
16131
16147
  var A = v.default.formats(U.domNode);
16132
16148
  T.preview.textContent = A, T.preview.setAttribute("href", A), T.show(), T.position(T.quill.getBounds(T.linkRange));
16133
16149
  return;
@@ -16145,7 +16161,7 @@ var Xo = { exports: {} };
16145
16161
  }
16146
16162
  }]), O;
16147
16163
  }(s.BaseTooltip);
16148
- P.TEMPLATE = ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""), i.default = S;
16164
+ M.TEMPLATE = ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""), i.default = S;
16149
16165
  },
16150
16166
  /* 63 */
16151
16167
  /***/
@@ -16153,7 +16169,7 @@ var Xo = { exports: {} };
16153
16169
  Object.defineProperty(i, "__esModule", {
16154
16170
  value: !0
16155
16171
  });
16156
- var r = o(29), l = ie(r), a = o(36), d = o(38), f = o(64), h = o(65), c = ie(h), s = o(66), u = ie(s), _ = o(67), v = ie(_), y = o(37), g = o(26), m = o(39), $ = o(40), p = o(56), w = ie(p), x = o(68), E = ie(x), S = o(27), P = ie(S), C = o(69), O = ie(C), k = o(70), T = ie(k), M = o(71), q = ie(M), K = o(72), W = ie(K), oe = o(73), U = ie(oe), R = o(13), A = ie(R), B = o(74), j = ie(B), Y = o(75), H = ie(Y), D = o(57), V = ie(D), Z = o(41), J = ie(Z), re = o(28), fe = ie(re), _e = o(59), Ee = ie(_e), Ie = o(60), Me = ie(Ie), Ge = o(61), ze = ie(Ge), Q = o(108), te = ie(Q), se = o(62), ue = ie(se);
16172
+ var r = o(29), l = ie(r), a = o(36), d = o(38), f = o(64), h = o(65), c = ie(h), s = o(66), u = ie(s), _ = o(67), v = ie(_), y = o(37), g = o(26), m = o(39), $ = o(40), p = o(56), w = ie(p), x = o(68), E = ie(x), S = o(27), M = ie(S), C = o(69), O = ie(C), k = o(70), T = ie(k), P = o(71), q = ie(P), K = o(72), W = ie(K), oe = o(73), U = ie(oe), R = o(13), A = ie(R), B = o(74), j = ie(B), Y = o(75), H = ie(Y), D = o(57), V = ie(D), Z = o(41), J = ie(Z), re = o(28), fe = ie(re), _e = o(59), Ee = ie(_e), Ie = o(60), Pe = ie(Ie), Ge = o(61), ze = ie(Ge), Q = o(108), te = ie(Q), se = o(62), ue = ie(se);
16157
16173
  function ie(xe) {
16158
16174
  return xe && xe.__esModule ? xe : { default: xe };
16159
16175
  }
@@ -16186,7 +16202,7 @@ var Xo = { exports: {} };
16186
16202
  "formats/bold": w.default,
16187
16203
  "formats/code": R.Code,
16188
16204
  "formats/italic": E.default,
16189
- "formats/link": P.default,
16205
+ "formats/link": M.default,
16190
16206
  "formats/script": O.default,
16191
16207
  "formats/strike": T.default,
16192
16208
  "formats/underline": q.default,
@@ -16200,7 +16216,7 @@ var Xo = { exports: {} };
16200
16216
  "themes/snow": ue.default,
16201
16217
  "ui/icons": J.default,
16202
16218
  "ui/picker": fe.default,
16203
- "ui/icon-picker": Me.default,
16219
+ "ui/icon-picker": Pe.default,
16204
16220
  "ui/color-picker": Ee.default,
16205
16221
  "ui/tooltip": ze.default
16206
16222
  }, !0), i.default = l.default;
@@ -16383,8 +16399,8 @@ var Xo = { exports: {} };
16383
16399
  w === null && (w = Function.prototype);
16384
16400
  var S = Object.getOwnPropertyDescriptor(w, x);
16385
16401
  if (S === void 0) {
16386
- var P = Object.getPrototypeOf(w);
16387
- return P === null ? void 0 : p(P, x, E);
16402
+ var M = Object.getPrototypeOf(w);
16403
+ return M === null ? void 0 : p(M, x, E);
16388
16404
  } else {
16389
16405
  if ("value" in S)
16390
16406
  return S.value;
@@ -16444,8 +16460,8 @@ var Xo = { exports: {} };
16444
16460
  g(w, p), r(w, null, [{
16445
16461
  key: "create",
16446
16462
  value: function(E) {
16447
- var S = E === "ordered" ? "OL" : "UL", P = l(w.__proto__ || Object.getPrototypeOf(w), "create", this).call(this, S);
16448
- return (E === "checked" || E === "unchecked") && P.setAttribute("data-checked", E === "checked"), P;
16463
+ var S = E === "ordered" ? "OL" : "UL", M = l(w.__proto__ || Object.getPrototypeOf(w), "create", this).call(this, S);
16464
+ return (E === "checked" || E === "unchecked") && M.setAttribute("data-checked", E === "checked"), M;
16449
16465
  }
16450
16466
  }, {
16451
16467
  key: "formats",
@@ -16482,7 +16498,7 @@ var Xo = { exports: {} };
16482
16498
  if (E instanceof m)
16483
16499
  l(w.prototype.__proto__ || Object.getPrototypeOf(w.prototype), "insertBefore", this).call(this, E, S);
16484
16500
  else {
16485
- var P = S == null ? this.length() : S.offset(this), C = this.split(P);
16501
+ var M = S == null ? this.length() : S.offset(this), C = this.split(M);
16486
16502
  C.parent.insertBefore(E, C);
16487
16503
  }
16488
16504
  }
@@ -16869,8 +16885,8 @@ var Xo = { exports: {} };
16869
16885
  } else {
16870
16886
  if ("value" in E)
16871
16887
  return E.value;
16872
- var P = E.get;
16873
- return P === void 0 ? void 0 : P.call(x);
16888
+ var M = E.get;
16889
+ return M === void 0 ? void 0 : M.call(x);
16874
16890
  }
16875
16891
  }, a = o(35), d = u(a), f = o(5), h = u(f), c = o(9), s = u(c);
16876
16892
  function u($) {
@@ -16938,25 +16954,25 @@ var Xo = { exports: {} };
16938
16954
  }), i.default = i.CodeToken = i.CodeBlock = void 0;
16939
16955
  var r = function() {
16940
16956
  function x(E, S) {
16941
- for (var P = 0; P < S.length; P++) {
16942
- var C = S[P];
16957
+ for (var M = 0; M < S.length; M++) {
16958
+ var C = S[M];
16943
16959
  C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && (C.writable = !0), Object.defineProperty(E, C.key, C);
16944
16960
  }
16945
16961
  }
16946
- return function(E, S, P) {
16947
- return S && x(E.prototype, S), P && x(E, P), E;
16962
+ return function(E, S, M) {
16963
+ return S && x(E.prototype, S), M && x(E, M), E;
16948
16964
  };
16949
- }(), l = function x(E, S, P) {
16965
+ }(), l = function x(E, S, M) {
16950
16966
  E === null && (E = Function.prototype);
16951
16967
  var C = Object.getOwnPropertyDescriptor(E, S);
16952
16968
  if (C === void 0) {
16953
16969
  var O = Object.getPrototypeOf(E);
16954
- return O === null ? void 0 : x(O, S, P);
16970
+ return O === null ? void 0 : x(O, S, M);
16955
16971
  } else {
16956
16972
  if ("value" in C)
16957
16973
  return C.value;
16958
16974
  var k = C.get;
16959
- return k === void 0 ? void 0 : k.call(P);
16975
+ return k === void 0 ? void 0 : k.call(M);
16960
16976
  }
16961
16977
  }, a = o(0), d = v(a), f = o(5), h = v(f), c = o(9), s = v(c), u = o(13), _ = v(u);
16962
16978
  function v(x) {
@@ -16983,14 +16999,14 @@ var Xo = { exports: {} };
16983
16999
  }
16984
17000
  return r(E, [{
16985
17001
  key: "replaceWith",
16986
- value: function(P) {
16987
- this.domNode.textContent = this.domNode.textContent, this.attach(), l(E.prototype.__proto__ || Object.getPrototypeOf(E.prototype), "replaceWith", this).call(this, P);
17002
+ value: function(M) {
17003
+ this.domNode.textContent = this.domNode.textContent, this.attach(), l(E.prototype.__proto__ || Object.getPrototypeOf(E.prototype), "replaceWith", this).call(this, M);
16988
17004
  }
16989
17005
  }, {
16990
17006
  key: "highlight",
16991
- value: function(P) {
17007
+ value: function(M) {
16992
17008
  var C = this.domNode.textContent;
16993
- this.cachedText !== C && ((C.trim().length > 0 || this.cachedText == null) && (this.domNode.innerHTML = P(C), this.domNode.normalize(), this.attach()), this.cachedText = C);
17009
+ this.cachedText !== C && ((C.trim().length > 0 || this.cachedText == null) && (this.domNode.innerHTML = M(C), this.domNode.normalize(), this.attach()), this.cachedText = C);
16994
17010
  }
16995
17011
  }]), E;
16996
17012
  }(_.default);
@@ -17004,9 +17020,9 @@ var Xo = { exports: {} };
17004
17020
  h.default.register(p, !0), h.default.register($, !0);
17005
17021
  }
17006
17022
  }]);
17007
- function E(S, P) {
17023
+ function E(S, M) {
17008
17024
  y(this, E);
17009
- var C = g(this, (E.__proto__ || Object.getPrototypeOf(E)).call(this, S, P));
17025
+ var C = g(this, (E.__proto__ || Object.getPrototypeOf(E)).call(this, S, M));
17010
17026
  if (typeof C.options.highlight != "function")
17011
17027
  throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");
17012
17028
  var O = null;
@@ -17019,12 +17035,12 @@ var Xo = { exports: {} };
17019
17035
  return r(E, [{
17020
17036
  key: "highlight",
17021
17037
  value: function() {
17022
- var P = this;
17038
+ var M = this;
17023
17039
  if (!this.quill.selection.composing) {
17024
17040
  this.quill.update(h.default.sources.USER);
17025
17041
  var C = this.quill.getSelection();
17026
17042
  this.quill.scroll.descendants($).forEach(function(O) {
17027
- O.highlight(P.options.highlight);
17043
+ O.highlight(M.options.highlight);
17028
17044
  }), this.quill.update(h.default.sources.SILENT), C != null && this.quill.setSelection(C, h.default.sources.SILENT);
17029
17045
  }
17030
17046
  }
@@ -17206,12 +17222,12 @@ var Xo = { exports: {} };
17206
17222
  Object.defineProperty(i, "__esModule", {
17207
17223
  value: !0
17208
17224
  }), i.default = i.BubbleTooltip = void 0;
17209
- var r = function E(S, P, C) {
17225
+ var r = function E(S, M, C) {
17210
17226
  S === null && (S = Function.prototype);
17211
- var O = Object.getOwnPropertyDescriptor(S, P);
17227
+ var O = Object.getOwnPropertyDescriptor(S, M);
17212
17228
  if (O === void 0) {
17213
17229
  var k = Object.getPrototypeOf(S);
17214
- return k === null ? void 0 : E(k, P, C);
17230
+ return k === null ? void 0 : E(k, M, C);
17215
17231
  } else {
17216
17232
  if ("value" in O)
17217
17233
  return O.value;
@@ -17219,14 +17235,14 @@ var Xo = { exports: {} };
17219
17235
  return T === void 0 ? void 0 : T.call(C);
17220
17236
  }
17221
17237
  }, l = function() {
17222
- function E(S, P) {
17223
- for (var C = 0; C < P.length; C++) {
17224
- var O = P[C];
17238
+ function E(S, M) {
17239
+ for (var C = 0; C < M.length; C++) {
17240
+ var O = M[C];
17225
17241
  O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(S, O.key, O);
17226
17242
  }
17227
17243
  }
17228
- return function(S, P, C) {
17229
- return P && E(S.prototype, P), C && E(S, C), S;
17244
+ return function(S, M, C) {
17245
+ return M && E(S.prototype, M), C && E(S, C), S;
17230
17246
  };
17231
17247
  }(), a = o(3), d = y(a), f = o(8), h = y(f), c = o(43), s = y(c), u = o(15), _ = o(41), v = y(_);
17232
17248
  function y(E) {
@@ -17248,9 +17264,9 @@ var Xo = { exports: {} };
17248
17264
  }
17249
17265
  var p = [["bold", "italic", "link"], [{ header: 1 }, { header: 2 }, "blockquote"]], w = function(E) {
17250
17266
  $(S, E);
17251
- function S(P, C) {
17267
+ function S(M, C) {
17252
17268
  g(this, S), C.modules.toolbar != null && C.modules.toolbar.container == null && (C.modules.toolbar.container = p);
17253
- var O = m(this, (S.__proto__ || Object.getPrototypeOf(S)).call(this, P, C));
17269
+ var O = m(this, (S.__proto__ || Object.getPrototypeOf(S)).call(this, M, C));
17254
17270
  return O.quill.container.classList.add("ql-bubble"), O;
17255
17271
  }
17256
17272
  return l(S, [{
@@ -17273,10 +17289,10 @@ var Xo = { exports: {} };
17273
17289
  });
17274
17290
  var x = function(E) {
17275
17291
  $(S, E);
17276
- function S(P, C) {
17292
+ function S(M, C) {
17277
17293
  g(this, S);
17278
- var O = m(this, (S.__proto__ || Object.getPrototypeOf(S)).call(this, P, C));
17279
- return O.quill.on(h.default.events.EDITOR_CHANGE, function(k, T, M, q) {
17294
+ var O = m(this, (S.__proto__ || Object.getPrototypeOf(S)).call(this, M, C));
17295
+ return O.quill.on(h.default.events.EDITOR_CHANGE, function(k, T, P, q) {
17280
17296
  if (k === h.default.events.SELECTION_CHANGE)
17281
17297
  if (T != null && T.length > 0 && q === h.default.sources.USER) {
17282
17298
  O.show(), O.root.style.left = "0px", O.root.style.width = "", O.root.style.width = O.root.offsetWidth + "px";
@@ -17334,7 +17350,7 @@ var Xo = { exports: {} };
17334
17350
  });
17335
17351
  })(Xo);
17336
17352
  var Ff = Xo.exports;
17337
- const Bt = /* @__PURE__ */ Cr(Ff);
17353
+ const Bt = /* @__PURE__ */ Er(Ff);
17338
17354
  var Rt = -1, xt = 1, bt = 0;
17339
17355
  function Kn(t, n, e, i) {
17340
17356
  if (t === n)
@@ -17344,8 +17360,8 @@ function Kn(t, n, e, i) {
17344
17360
  if (o)
17345
17361
  return o;
17346
17362
  }
17347
- var r = Ni(t, n), l = t.substring(0, r);
17348
- t = t.substring(r), n = n.substring(r), r = Ii(t, n);
17363
+ var r = Ii(t, n), l = t.substring(0, r);
17364
+ t = t.substring(r), n = n.substring(r), r = Mi(t, n);
17349
17365
  var a = t.substring(t.length - r);
17350
17366
  t = t.substring(0, t.length - r), n = n.substring(0, n.length - r);
17351
17367
  var d = Hf(t, n);
@@ -17421,14 +17437,14 @@ function yo(t, n, e, i) {
17421
17437
  var o = t.substring(0, e), r = n.substring(0, i), l = t.substring(e), a = n.substring(i), d = Kn(o, r), f = Kn(l, a);
17422
17438
  return d.concat(f);
17423
17439
  }
17424
- function Ni(t, n) {
17440
+ function Ii(t, n) {
17425
17441
  if (!t || !n || t.charAt(0) !== n.charAt(0))
17426
17442
  return 0;
17427
17443
  for (var e = 0, i = Math.min(t.length, n.length), o = i, r = 0; e < o; )
17428
17444
  t.substring(r, o) == n.substring(r, o) ? (e = o, r = e) : i = o, o = Math.floor((i - e) / 2 + e);
17429
17445
  return ea(t.charCodeAt(o - 1)) && o--, o;
17430
17446
  }
17431
- function Ii(t, n) {
17447
+ function Mi(t, n) {
17432
17448
  if (!t || !n || t.slice(-1) !== n.slice(-1))
17433
17449
  return 0;
17434
17450
  for (var e = 0, i = Math.min(t.length, n.length), o = i, r = 0; e < o; )
@@ -17441,10 +17457,10 @@ function Uf(t, n) {
17441
17457
  return null;
17442
17458
  function o(u, _, v) {
17443
17459
  for (var y = u.substring(v, v + Math.floor(u.length / 4)), g = -1, m = "", $, p, w, x; (g = _.indexOf(y, g + 1)) !== -1; ) {
17444
- var E = Ni(
17460
+ var E = Ii(
17445
17461
  u.substring(v),
17446
17462
  _.substring(g)
17447
- ), S = Ii(
17463
+ ), S = Mi(
17448
17464
  u.substring(0, v),
17449
17465
  _.substring(0, g)
17450
17466
  );
@@ -17505,7 +17521,7 @@ function Qo(t, n) {
17505
17521
  break;
17506
17522
  }
17507
17523
  if (r.length > 0 || l.length > 0) {
17508
- r.length > 0 && l.length > 0 && (a = Ni(l, r), a !== 0 && (d >= 0 ? t[d][1] += l.substring(0, a) : (t.splice(0, 0, [bt, l.substring(0, a)]), e++), l = l.substring(a), r = r.substring(a)), a = Ii(l, r), a !== 0 && (t[e][1] = l.substring(l.length - a) + t[e][1], l = l.substring(0, l.length - a), r = r.substring(0, r.length - a)));
17524
+ r.length > 0 && l.length > 0 && (a = Ii(l, r), a !== 0 && (d >= 0 ? t[d][1] += l.substring(0, a) : (t.splice(0, 0, [bt, l.substring(0, a)]), e++), l = l.substring(a), r = r.substring(a)), a = Mi(l, r), a !== 0 && (t[e][1] = l.substring(l.length - a) + t[e][1], l = l.substring(0, l.length - a), r = r.substring(0, r.length - a)));
17509
17525
  var c = o + i;
17510
17526
  r.length === 0 && l.length === 0 ? (t.splice(e - c, c), e = e - c) : r.length === 0 ? (t.splice(e - c, c, [xt, l]), e = e - c + 1) : l.length === 0 ? (t.splice(e - c, c, [Rt, r]), e = e - c + 1) : (t.splice(e - c, c, [Rt, r], [xt, l]), e = e - c + 2);
17511
17527
  }
@@ -17536,7 +17552,7 @@ function zf(t) {
17536
17552
  t[e][1].length > 0 && n.push(t[e]);
17537
17553
  return n;
17538
17554
  }
17539
- function ci(t, n, e, i) {
17555
+ function fi(t, n, e, i) {
17540
17556
  return ra(t) || na(i) ? null : zf([
17541
17557
  [bt, t],
17542
17558
  [Rt, n],
@@ -17559,7 +17575,7 @@ function Kf(t, n, e) {
17559
17575
  if (v !== y)
17560
17576
  break e;
17561
17577
  var g = d.slice(_), m = s.slice(_);
17562
- return ci(v, g, m, f);
17578
+ return fi(v, g, m, f);
17563
17579
  }
17564
17580
  e: {
17565
17581
  if (h !== null && h !== a)
@@ -17571,7 +17587,7 @@ function Kf(t, n, e) {
17571
17587
  if (w !== x)
17572
17588
  break e;
17573
17589
  var g = f.slice(0, f.length - p), m = u.slice(0, u.length - p);
17574
- return ci(d, g, m, w);
17590
+ return fi(d, g, m, w);
17575
17591
  }
17576
17592
  }
17577
17593
  if (i.length > 0 && o && o.length === 0)
@@ -17583,21 +17599,21 @@ function Kf(t, n, e) {
17583
17599
  if (v !== y || w !== x)
17584
17600
  break e;
17585
17601
  var g = t.slice(_, r - p), m = n.slice(_, l - p);
17586
- return ci(v, g, m, w);
17602
+ return fi(v, g, m, w);
17587
17603
  }
17588
17604
  return null;
17589
17605
  }
17590
- function xr(t, n, e) {
17606
+ function Tr(t, n, e) {
17591
17607
  return Kn(t, n, e, !0);
17592
17608
  }
17593
- xr.INSERT = xt;
17594
- xr.DELETE = Rt;
17595
- xr.EQUAL = bt;
17596
- var Gf = xr, yr = { exports: {} };
17597
- yr.exports;
17609
+ Tr.INSERT = xt;
17610
+ Tr.DELETE = Rt;
17611
+ Tr.EQUAL = bt;
17612
+ var Gf = Tr, br = { exports: {} };
17613
+ br.exports;
17598
17614
  (function(t, n) {
17599
- var e = 200, i = "__lodash_hash_undefined__", o = 9007199254740991, r = "[object Arguments]", l = "[object Array]", a = "[object Boolean]", d = "[object Date]", f = "[object Error]", h = "[object Function]", c = "[object GeneratorFunction]", s = "[object Map]", u = "[object Number]", _ = "[object Object]", v = "[object Promise]", y = "[object RegExp]", g = "[object Set]", m = "[object String]", $ = "[object Symbol]", p = "[object WeakMap]", w = "[object ArrayBuffer]", x = "[object DataView]", E = "[object Float32Array]", S = "[object Float64Array]", P = "[object Int8Array]", C = "[object Int16Array]", O = "[object Int32Array]", k = "[object Uint8Array]", T = "[object Uint8ClampedArray]", M = "[object Uint16Array]", q = "[object Uint32Array]", K = /[\\^$.*+?()[\]{}|]/g, W = /\w*$/, oe = /^\[object .+?Constructor\]$/, U = /^(?:0|[1-9]\d*)$/, R = {};
17600
- R[r] = R[l] = R[w] = R[x] = R[a] = R[d] = R[E] = R[S] = R[P] = R[C] = R[O] = R[s] = R[u] = R[_] = R[y] = R[g] = R[m] = R[$] = R[k] = R[T] = R[M] = R[q] = !0, R[f] = R[h] = R[p] = !1;
17615
+ var e = 200, i = "__lodash_hash_undefined__", o = 9007199254740991, r = "[object Arguments]", l = "[object Array]", a = "[object Boolean]", d = "[object Date]", f = "[object Error]", h = "[object Function]", c = "[object GeneratorFunction]", s = "[object Map]", u = "[object Number]", _ = "[object Object]", v = "[object Promise]", y = "[object RegExp]", g = "[object Set]", m = "[object String]", $ = "[object Symbol]", p = "[object WeakMap]", w = "[object ArrayBuffer]", x = "[object DataView]", E = "[object Float32Array]", S = "[object Float64Array]", M = "[object Int8Array]", C = "[object Int16Array]", O = "[object Int32Array]", k = "[object Uint8Array]", T = "[object Uint8ClampedArray]", P = "[object Uint16Array]", q = "[object Uint32Array]", K = /[\\^$.*+?()[\]{}|]/g, W = /\w*$/, oe = /^\[object .+?Constructor\]$/, U = /^(?:0|[1-9]\d*)$/, R = {};
17616
+ R[r] = R[l] = R[w] = R[x] = R[a] = R[d] = R[E] = R[S] = R[M] = R[C] = R[O] = R[s] = R[u] = R[_] = R[y] = R[g] = R[m] = R[$] = R[k] = R[T] = R[P] = R[q] = !0, R[f] = R[h] = R[p] = !1;
17601
17617
  var A = typeof et == "object" && et && et.Object === Object && et, B = typeof self == "object" && self && self.Object === Object && self, j = A || B || Function("return this")(), Y = n && !n.nodeType && n, H = Y && !0 && t && !t.nodeType && t, D = H && H.exports === Y;
17602
17618
  function V(b, N) {
17603
17619
  return b.set(N[0], N[1]), b;
@@ -17638,7 +17654,7 @@ yr.exports;
17638
17654
  }
17639
17655
  return N;
17640
17656
  }
17641
- function Me(b) {
17657
+ function Pe(b) {
17642
17658
  var N = -1, F = Array(b.size);
17643
17659
  return b.forEach(function(ee, Ne) {
17644
17660
  F[++N] = [Ne, ee];
@@ -17671,7 +17687,7 @@ yr.exports;
17671
17687
  function me() {
17672
17688
  this.__data__ = Ft ? Ft(null) : {};
17673
17689
  }
17674
- function Pe(b) {
17690
+ function Me(b) {
17675
17691
  return this.has(b) && delete this.__data__[b];
17676
17692
  }
17677
17693
  function pe(b) {
@@ -17690,7 +17706,7 @@ yr.exports;
17690
17706
  var F = this.__data__;
17691
17707
  return F[b] = Ft && N === void 0 ? i : N, this;
17692
17708
  }
17693
- Ce.prototype.clear = me, Ce.prototype.delete = Pe, Ce.prototype.get = pe, Ce.prototype.has = ke, Ce.prototype.set = Re;
17709
+ Ce.prototype.clear = me, Ce.prototype.delete = Me, Ce.prototype.get = pe, Ce.prototype.has = ke, Ce.prototype.set = Re;
17694
17710
  function Ue(b) {
17695
17711
  var N = -1, F = b ? b.length : 0;
17696
17712
  for (this.clear(); ++N < F; ) {
@@ -17708,7 +17724,7 @@ yr.exports;
17708
17724
  var ee = N.length - 1;
17709
17725
  return F == ee ? N.pop() : On.call(N, F, 1), !0;
17710
17726
  }
17711
- function Pt(b) {
17727
+ function Mt(b) {
17712
17728
  var N = this.__data__, F = hn(N, b);
17713
17729
  return F < 0 ? void 0 : N[F][1];
17714
17730
  }
@@ -17719,7 +17735,7 @@ yr.exports;
17719
17735
  var F = this.__data__, ee = hn(F, b);
17720
17736
  return ee < 0 ? F.push([b, N]) : F[ee][1] = N, this;
17721
17737
  }
17722
- Ue.prototype.clear = it, Ue.prototype.delete = Ht, Ue.prototype.get = Pt, Ue.prototype.has = kn, Ue.prototype.set = rn;
17738
+ Ue.prototype.clear = it, Ue.prototype.delete = Ht, Ue.prototype.get = Mt, Ue.prototype.has = kn, Ue.prototype.set = rn;
17723
17739
  function nt(b) {
17724
17740
  var N = -1, F = b ? b.length : 0;
17725
17741
  for (this.clear(); ++N < F; ) {
@@ -17753,13 +17769,13 @@ yr.exports;
17753
17769
  function An() {
17754
17770
  this.__data__ = new Ue();
17755
17771
  }
17756
- function Ar(b) {
17772
+ function Nr(b) {
17757
17773
  return this.__data__.delete(b);
17758
17774
  }
17759
- function Nr(b) {
17775
+ function Ir(b) {
17760
17776
  return this.__data__.get(b);
17761
17777
  }
17762
- function Ir(b) {
17778
+ function Mr(b) {
17763
17779
  return this.__data__.has(b);
17764
17780
  }
17765
17781
  function Pr(b, N) {
@@ -17772,25 +17788,25 @@ yr.exports;
17772
17788
  }
17773
17789
  return F.set(b, N), this;
17774
17790
  }
17775
- st.prototype.clear = An, st.prototype.delete = Ar, st.prototype.get = Nr, st.prototype.has = Ir, st.prototype.set = Pr;
17791
+ st.prototype.clear = An, st.prototype.delete = Nr, st.prototype.get = Ir, st.prototype.has = Mr, st.prototype.set = Pr;
17776
17792
  function fn(b, N) {
17777
- var F = Mn(b) || gn(b) ? _e(b.length, String) : [], ee = F.length, Ne = !!ee;
17793
+ var F = Pn(b) || gn(b) ? _e(b.length, String) : [], ee = F.length, Ne = !!ee;
17778
17794
  for (var ye in b)
17779
- (N || Oe.call(b, ye)) && !(Ne && (ye == "length" || Gr(ye, ee))) && F.push(ye);
17795
+ (N || Oe.call(b, ye)) && !(Ne && (ye == "length" || Yr(ye, ee))) && F.push(ye);
17780
17796
  return F;
17781
17797
  }
17782
- function Yn(b, N, F) {
17798
+ function Wn(b, N, F) {
17783
17799
  var ee = b[N];
17784
- (!(Oe.call(b, N) && Qn(ee, F)) || F === void 0 && !(N in b)) && (b[N] = F);
17800
+ (!(Oe.call(b, N) && er(ee, F)) || F === void 0 && !(N in b)) && (b[N] = F);
17785
17801
  }
17786
17802
  function hn(b, N) {
17787
17803
  for (var F = b.length; F--; )
17788
- if (Qn(b[F][0], N))
17804
+ if (er(b[F][0], N))
17789
17805
  return F;
17790
17806
  return -1;
17791
17807
  }
17792
- function Mt(b, N) {
17793
- return b && Pn(N, Ln(N), b);
17808
+ function Pt(b, N) {
17809
+ return b && Mn(N, Ln(N), b);
17794
17810
  }
17795
17811
  function Nn(b, N, F, ee, Ne, ye, Le) {
17796
17812
  var Be;
@@ -17798,23 +17814,23 @@ yr.exports;
17798
17814
  return Be;
17799
17815
  if (!Lt(b))
17800
17816
  return b;
17801
- var Ze = Mn(b);
17817
+ var Ze = Pn(b);
17802
17818
  if (Ze) {
17803
- if (Be = zr(b), !N)
17804
- return Hr(b, Be);
17819
+ if (Be = Kr(b), !N)
17820
+ return Vr(b, Be);
17805
17821
  } else {
17806
17822
  var He = Ut(b), ut = He == h || He == c;
17807
- if (er(b))
17823
+ if (tr(b))
17808
17824
  return pn(b, N);
17809
17825
  if (He == _ || He == r || ut && !ye) {
17810
17826
  if (Ie(b))
17811
17827
  return ye ? b : {};
17812
17828
  if (Be = Dt(ut ? {} : b), !N)
17813
- return Vr(b, Mt(Be, b));
17829
+ return Ur(b, Pt(Be, b));
17814
17830
  } else {
17815
17831
  if (!R[He])
17816
17832
  return ye ? b : {};
17817
- Be = Kr(b, He, Nn, N);
17833
+ Be = Gr(b, He, Nn, N);
17818
17834
  }
17819
17835
  }
17820
17836
  Le || (Le = new st());
@@ -17822,29 +17838,29 @@ yr.exports;
17822
17838
  if (vt)
17823
17839
  return vt;
17824
17840
  if (Le.set(b, Be), !Ze)
17825
- var Qe = F ? Ur(b) : Ln(b);
17841
+ var Qe = F ? zr(b) : Ln(b);
17826
17842
  return J(Qe || b, function(dt, ot) {
17827
- Qe && (ot = dt, dt = b[ot]), Yn(Be, ot, Nn(dt, N, F, ee, ot, b, Le));
17843
+ Qe && (ot = dt, dt = b[ot]), Wn(Be, ot, Nn(dt, N, F, ee, ot, b, Le));
17828
17844
  }), Be;
17829
17845
  }
17830
- function Mr(b) {
17846
+ function Dr(b) {
17831
17847
  return Lt(b) ? ft(b) : {};
17832
17848
  }
17833
- function Dr(b, N, F) {
17849
+ function Lr(b, N, F) {
17834
17850
  var ee = N(b);
17835
- return Mn(b) ? ee : re(ee, F(b));
17851
+ return Pn(b) ? ee : re(ee, F(b));
17836
17852
  }
17837
- function Lr(b) {
17853
+ function Rr(b) {
17838
17854
  return Se.call(b);
17839
17855
  }
17840
- function Rr(b) {
17841
- if (!Lt(b) || Wr(b))
17856
+ function Br(b) {
17857
+ if (!Lt(b) || Zr(b))
17842
17858
  return !1;
17843
17859
  var N = Dn(b) || Ie(b) ? tt : oe;
17844
17860
  return N.test(pt(b));
17845
17861
  }
17846
- function Br(b) {
17847
- if (!Jn(b))
17862
+ function jr(b) {
17863
+ if (!Xn(b))
17848
17864
  return Yt(b);
17849
17865
  var N = [];
17850
17866
  for (var F in Object(b))
@@ -17865,54 +17881,54 @@ yr.exports;
17865
17881
  var F = N ? In(b.buffer) : b.buffer;
17866
17882
  return new b.constructor(F, b.byteOffset, b.byteLength);
17867
17883
  }
17868
- function Wn(b, N, F) {
17869
- var ee = N ? F(Me(b), !0) : Me(b);
17884
+ function Zn(b, N, F) {
17885
+ var ee = N ? F(Pe(b), !0) : Pe(b);
17870
17886
  return fe(ee, V, new b.constructor());
17871
17887
  }
17872
- function Zn(b) {
17888
+ function Jn(b) {
17873
17889
  var N = new b.constructor(b.source, W.exec(b));
17874
17890
  return N.lastIndex = b.lastIndex, N;
17875
17891
  }
17876
- function jr(b, N, F) {
17892
+ function qr(b, N, F) {
17877
17893
  var ee = N ? F(ze(b), !0) : ze(b);
17878
17894
  return fe(ee, Z, new b.constructor());
17879
17895
  }
17880
- function qr(b) {
17896
+ function Fr(b) {
17881
17897
  return de ? Object(de.call(b)) : {};
17882
17898
  }
17883
- function Fr(b, N) {
17899
+ function Hr(b, N) {
17884
17900
  var F = N ? In(b.buffer) : b.buffer;
17885
17901
  return new b.constructor(F, b.byteOffset, b.length);
17886
17902
  }
17887
- function Hr(b, N) {
17903
+ function Vr(b, N) {
17888
17904
  var F = -1, ee = b.length;
17889
17905
  for (N || (N = Array(ee)); ++F < ee; )
17890
17906
  N[F] = b[F];
17891
17907
  return N;
17892
17908
  }
17893
- function Pn(b, N, F, ee) {
17909
+ function Mn(b, N, F, ee) {
17894
17910
  F || (F = {});
17895
17911
  for (var Ne = -1, ye = N.length; ++Ne < ye; ) {
17896
17912
  var Le = N[Ne], Be = ee ? ee(F[Le], b[Le], Le, F, b) : void 0;
17897
- Yn(F, Le, Be === void 0 ? b[Le] : Be);
17913
+ Wn(F, Le, Be === void 0 ? b[Le] : Be);
17898
17914
  }
17899
17915
  return F;
17900
17916
  }
17901
- function Vr(b, N) {
17902
- return Pn(b, Vt(b), N);
17917
+ function Ur(b, N) {
17918
+ return Mn(b, Vt(b), N);
17903
17919
  }
17904
- function Ur(b) {
17905
- return Dr(b, Ln, Vt);
17920
+ function zr(b) {
17921
+ return Lr(b, Ln, Vt);
17906
17922
  }
17907
17923
  function an(b, N) {
17908
17924
  var F = b.__data__;
17909
- return Yr(N) ? F[typeof N == "string" ? "string" : "hash"] : F.map;
17925
+ return Wr(N) ? F[typeof N == "string" ? "string" : "hash"] : F.map;
17910
17926
  }
17911
17927
  function St(b, N) {
17912
17928
  var F = Ee(b, N);
17913
- return Rr(F) ? F : void 0;
17929
+ return Br(F) ? F : void 0;
17914
17930
  }
17915
- var Vt = tn ? Ge(tn, Object) : Jr, Ut = Lr;
17931
+ var Vt = tn ? Ge(tn, Object) : Xr, Ut = Rr;
17916
17932
  (Nt && Ut(new Nt(new ArrayBuffer(1))) != x || qt && Ut(new qt()) != s || lt && Ut(lt.resolve()) != v || It && Ut(new It()) != g || ht && Ut(new ht()) != p) && (Ut = function(b) {
17917
17933
  var N = Se.call(b), F = N == _ ? b.constructor : void 0, ee = F ? pt(F) : void 0;
17918
17934
  if (ee)
@@ -17930,14 +17946,14 @@ yr.exports;
17930
17946
  }
17931
17947
  return N;
17932
17948
  });
17933
- function zr(b) {
17949
+ function Kr(b) {
17934
17950
  var N = b.length, F = b.constructor(N);
17935
17951
  return N && typeof b[0] == "string" && Oe.call(b, "index") && (F.index = b.index, F.input = b.input), F;
17936
17952
  }
17937
17953
  function Dt(b) {
17938
- return typeof b.constructor == "function" && !Jn(b) ? Mr(De(b)) : {};
17954
+ return typeof b.constructor == "function" && !Xn(b) ? Dr(De(b)) : {};
17939
17955
  }
17940
- function Kr(b, N, F, ee) {
17956
+ function Gr(b, N, F, ee) {
17941
17957
  var Ne = b.constructor;
17942
17958
  switch (N) {
17943
17959
  case w:
@@ -17949,38 +17965,38 @@ yr.exports;
17949
17965
  return on(b, ee);
17950
17966
  case E:
17951
17967
  case S:
17952
- case P:
17968
+ case M:
17953
17969
  case C:
17954
17970
  case O:
17955
17971
  case k:
17956
17972
  case T:
17957
- case M:
17973
+ case P:
17958
17974
  case q:
17959
- return Fr(b, ee);
17975
+ return Hr(b, ee);
17960
17976
  case s:
17961
- return Wn(b, ee, F);
17977
+ return Zn(b, ee, F);
17962
17978
  case u:
17963
17979
  case m:
17964
17980
  return new Ne(b);
17965
17981
  case y:
17966
- return Zn(b);
17982
+ return Jn(b);
17967
17983
  case g:
17968
- return jr(b, ee, F);
17984
+ return qr(b, ee, F);
17969
17985
  case $:
17970
- return qr(b);
17986
+ return Fr(b);
17971
17987
  }
17972
17988
  }
17973
- function Gr(b, N) {
17989
+ function Yr(b, N) {
17974
17990
  return N = N ?? o, !!N && (typeof b == "number" || U.test(b)) && b > -1 && b % 1 == 0 && b < N;
17975
17991
  }
17976
- function Yr(b) {
17992
+ function Wr(b) {
17977
17993
  var N = typeof b;
17978
17994
  return N == "string" || N == "number" || N == "symbol" || N == "boolean" ? b !== "__proto__" : b === null;
17979
17995
  }
17980
- function Wr(b) {
17996
+ function Zr(b) {
17981
17997
  return !!ie && ie in b;
17982
17998
  }
17983
- function Jn(b) {
17999
+ function Xn(b) {
17984
18000
  var N = b && b.constructor, F = typeof N == "function" && N.prototype || se;
17985
18001
  return b === F;
17986
18002
  }
@@ -17997,60 +18013,60 @@ yr.exports;
17997
18013
  }
17998
18014
  return "";
17999
18015
  }
18000
- function Xn(b) {
18016
+ function Qn(b) {
18001
18017
  return Nn(b, !0, !0);
18002
18018
  }
18003
- function Qn(b, N) {
18019
+ function er(b, N) {
18004
18020
  return b === N || b !== b && N !== N;
18005
18021
  }
18006
18022
  function gn(b) {
18007
- return Zr(b) && Oe.call(b, "callee") && (!en.call(b, "callee") || Se.call(b) == r);
18023
+ return Jr(b) && Oe.call(b, "callee") && (!en.call(b, "callee") || Se.call(b) == r);
18008
18024
  }
18009
- var Mn = Array.isArray;
18025
+ var Pn = Array.isArray;
18010
18026
  function mn(b) {
18011
- return b != null && tr(b.length) && !Dn(b);
18027
+ return b != null && nr(b.length) && !Dn(b);
18012
18028
  }
18013
- function Zr(b) {
18014
- return nr(b) && mn(b);
18029
+ function Jr(b) {
18030
+ return rr(b) && mn(b);
18015
18031
  }
18016
- var er = Fe || Xr;
18032
+ var tr = Fe || Qr;
18017
18033
  function Dn(b) {
18018
18034
  var N = Lt(b) ? Se.call(b) : "";
18019
18035
  return N == h || N == c;
18020
18036
  }
18021
- function tr(b) {
18037
+ function nr(b) {
18022
18038
  return typeof b == "number" && b > -1 && b % 1 == 0 && b <= o;
18023
18039
  }
18024
18040
  function Lt(b) {
18025
18041
  var N = typeof b;
18026
18042
  return !!b && (N == "object" || N == "function");
18027
18043
  }
18028
- function nr(b) {
18044
+ function rr(b) {
18029
18045
  return !!b && typeof b == "object";
18030
18046
  }
18031
18047
  function Ln(b) {
18032
- return mn(b) ? fn(b) : Br(b);
18048
+ return mn(b) ? fn(b) : jr(b);
18033
18049
  }
18034
- function Jr() {
18050
+ function Xr() {
18035
18051
  return [];
18036
18052
  }
18037
- function Xr() {
18053
+ function Qr() {
18038
18054
  return !1;
18039
18055
  }
18040
- t.exports = Xn;
18041
- })(yr, yr.exports);
18042
- var ia = yr.exports, br = { exports: {} };
18043
- br.exports;
18056
+ t.exports = Qn;
18057
+ })(br, br.exports);
18058
+ var ia = br.exports, _r = { exports: {} };
18059
+ _r.exports;
18044
18060
  (function(t, n) {
18045
- var e = 200, i = "__lodash_hash_undefined__", o = 1, r = 2, l = 9007199254740991, a = "[object Arguments]", d = "[object Array]", f = "[object AsyncFunction]", h = "[object Boolean]", c = "[object Date]", s = "[object Error]", u = "[object Function]", _ = "[object GeneratorFunction]", v = "[object Map]", y = "[object Number]", g = "[object Null]", m = "[object Object]", $ = "[object Promise]", p = "[object Proxy]", w = "[object RegExp]", x = "[object Set]", E = "[object String]", S = "[object Symbol]", P = "[object Undefined]", C = "[object WeakMap]", O = "[object ArrayBuffer]", k = "[object DataView]", T = "[object Float32Array]", M = "[object Float64Array]", q = "[object Int8Array]", K = "[object Int16Array]", W = "[object Int32Array]", oe = "[object Uint8Array]", U = "[object Uint8ClampedArray]", R = "[object Uint16Array]", A = "[object Uint32Array]", B = /[\\^$.*+?()[\]{}|]/g, j = /^\[object .+?Constructor\]$/, Y = /^(?:0|[1-9]\d*)$/, H = {};
18046
- H[T] = H[M] = H[q] = H[K] = H[W] = H[oe] = H[U] = H[R] = H[A] = !0, H[a] = H[d] = H[O] = H[h] = H[k] = H[c] = H[s] = H[u] = H[v] = H[y] = H[m] = H[w] = H[x] = H[E] = H[C] = !1;
18061
+ var e = 200, i = "__lodash_hash_undefined__", o = 1, r = 2, l = 9007199254740991, a = "[object Arguments]", d = "[object Array]", f = "[object AsyncFunction]", h = "[object Boolean]", c = "[object Date]", s = "[object Error]", u = "[object Function]", _ = "[object GeneratorFunction]", v = "[object Map]", y = "[object Number]", g = "[object Null]", m = "[object Object]", $ = "[object Promise]", p = "[object Proxy]", w = "[object RegExp]", x = "[object Set]", E = "[object String]", S = "[object Symbol]", M = "[object Undefined]", C = "[object WeakMap]", O = "[object ArrayBuffer]", k = "[object DataView]", T = "[object Float32Array]", P = "[object Float64Array]", q = "[object Int8Array]", K = "[object Int16Array]", W = "[object Int32Array]", oe = "[object Uint8Array]", U = "[object Uint8ClampedArray]", R = "[object Uint16Array]", A = "[object Uint32Array]", B = /[\\^$.*+?()[\]{}|]/g, j = /^\[object .+?Constructor\]$/, Y = /^(?:0|[1-9]\d*)$/, H = {};
18062
+ H[T] = H[P] = H[q] = H[K] = H[W] = H[oe] = H[U] = H[R] = H[A] = !0, H[a] = H[d] = H[O] = H[h] = H[k] = H[c] = H[s] = H[u] = H[v] = H[y] = H[m] = H[w] = H[x] = H[E] = H[C] = !1;
18047
18063
  var D = typeof et == "object" && et && et.Object === Object && et, V = typeof self == "object" && self && self.Object === Object && self, Z = D || V || Function("return this")(), J = n && !n.nodeType && n, re = J && !0 && t && !t.nodeType && t, fe = re && re.exports === J, _e = fe && D.process, Ee = function() {
18048
18064
  try {
18049
18065
  return _e && _e.binding && _e.binding("util");
18050
18066
  } catch {
18051
18067
  }
18052
18068
  }(), Ie = Ee && Ee.isTypedArray;
18053
- function Me(b, N) {
18069
+ function Pe(b, N) {
18054
18070
  for (var F = -1, ee = b == null ? 0 : b.length, Ne = 0, ye = []; ++F < ee; ) {
18055
18071
  var Le = b[F];
18056
18072
  N(Le, F, b) && (ye[Ne++] = Le);
@@ -18106,7 +18122,7 @@ br.exports;
18106
18122
  return b ? "Symbol(src)_1." + b : "";
18107
18123
  }(), en = We.toString, On = RegExp(
18108
18124
  "^" + At.call(De).replace(B, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
18109
- ), tn = fe ? Z.Buffer : void 0, Fe = Z.Symbol, Yt = Z.Uint8Array, Nt = We.propertyIsEnumerable, qt = Se.splice, lt = Fe ? Fe.toStringTag : void 0, It = Object.getOwnPropertySymbols, ht = tn ? tn.isBuffer : void 0, Ft = xe(Object.keys, Object), nn = Vt(Z, "DataView"), I = Vt(Z, "Map"), L = Vt(Z, "Promise"), z = Vt(Z, "Set"), X = Vt(Z, "WeakMap"), le = Vt(Object, "create"), de = pt(nn), Ce = pt(I), me = pt(L), Pe = pt(z), pe = pt(X), ke = Fe ? Fe.prototype : void 0, Re = ke ? ke.valueOf : void 0;
18125
+ ), tn = fe ? Z.Buffer : void 0, Fe = Z.Symbol, Yt = Z.Uint8Array, Nt = We.propertyIsEnumerable, qt = Se.splice, lt = Fe ? Fe.toStringTag : void 0, It = Object.getOwnPropertySymbols, ht = tn ? tn.isBuffer : void 0, Ft = xe(Object.keys, Object), nn = Vt(Z, "DataView"), I = Vt(Z, "Map"), L = Vt(Z, "Promise"), z = Vt(Z, "Set"), X = Vt(Z, "WeakMap"), le = Vt(Object, "create"), de = pt(nn), Ce = pt(I), me = pt(L), Me = pt(z), pe = pt(X), ke = Fe ? Fe.prototype : void 0, Re = ke ? ke.valueOf : void 0;
18110
18126
  function Ue(b) {
18111
18127
  var N = -1, F = b == null ? 0 : b.length;
18112
18128
  for (this.clear(); ++N < F; ) {
@@ -18121,7 +18137,7 @@ br.exports;
18121
18137
  var N = this.has(b) && delete this.__data__[b];
18122
18138
  return this.size -= N ? 1 : 0, N;
18123
18139
  }
18124
- function Pt(b) {
18140
+ function Mt(b) {
18125
18141
  var N = this.__data__;
18126
18142
  if (le) {
18127
18143
  var F = N[b];
@@ -18137,7 +18153,7 @@ br.exports;
18137
18153
  var F = this.__data__;
18138
18154
  return this.size += this.has(b) ? 0 : 1, F[b] = le && N === void 0 ? i : N, this;
18139
18155
  }
18140
- Ue.prototype.clear = it, Ue.prototype.delete = Ht, Ue.prototype.get = Pt, Ue.prototype.has = kn, Ue.prototype.set = rn;
18156
+ Ue.prototype.clear = it, Ue.prototype.delete = Ht, Ue.prototype.get = Mt, Ue.prototype.has = kn, Ue.prototype.set = rn;
18141
18157
  function nt(b) {
18142
18158
  var N = -1, F = b == null ? 0 : b.length;
18143
18159
  for (this.clear(); ++N < F; ) {
@@ -18181,51 +18197,51 @@ br.exports;
18181
18197
  string: new Ue()
18182
18198
  };
18183
18199
  }
18184
- function Ar(b) {
18200
+ function Nr(b) {
18185
18201
  var N = St(this, b).delete(b);
18186
18202
  return this.size -= N ? 1 : 0, N;
18187
18203
  }
18188
- function Nr(b) {
18204
+ function Ir(b) {
18189
18205
  return St(this, b).get(b);
18190
18206
  }
18191
- function Ir(b) {
18207
+ function Mr(b) {
18192
18208
  return St(this, b).has(b);
18193
18209
  }
18194
18210
  function Pr(b, N) {
18195
18211
  var F = St(this, b), ee = F.size;
18196
18212
  return F.set(b, N), this.size += F.size == ee ? 0 : 1, this;
18197
18213
  }
18198
- st.prototype.clear = An, st.prototype.delete = Ar, st.prototype.get = Nr, st.prototype.has = Ir, st.prototype.set = Pr;
18214
+ st.prototype.clear = An, st.prototype.delete = Nr, st.prototype.get = Ir, st.prototype.has = Mr, st.prototype.set = Pr;
18199
18215
  function fn(b) {
18200
18216
  var N = -1, F = b == null ? 0 : b.length;
18201
18217
  for (this.__data__ = new st(); ++N < F; )
18202
18218
  this.add(b[N]);
18203
18219
  }
18204
- function Yn(b) {
18220
+ function Wn(b) {
18205
18221
  return this.__data__.set(b, i), this;
18206
18222
  }
18207
18223
  function hn(b) {
18208
18224
  return this.__data__.has(b);
18209
18225
  }
18210
- fn.prototype.add = fn.prototype.push = Yn, fn.prototype.has = hn;
18211
- function Mt(b) {
18226
+ fn.prototype.add = fn.prototype.push = Wn, fn.prototype.has = hn;
18227
+ function Pt(b) {
18212
18228
  var N = this.__data__ = new nt(b);
18213
18229
  this.size = N.size;
18214
18230
  }
18215
18231
  function Nn() {
18216
18232
  this.__data__ = new nt(), this.size = 0;
18217
18233
  }
18218
- function Mr(b) {
18234
+ function Dr(b) {
18219
18235
  var N = this.__data__, F = N.delete(b);
18220
18236
  return this.size = N.size, F;
18221
18237
  }
18222
- function Dr(b) {
18238
+ function Lr(b) {
18223
18239
  return this.__data__.get(b);
18224
18240
  }
18225
- function Lr(b) {
18241
+ function Rr(b) {
18226
18242
  return this.__data__.has(b);
18227
18243
  }
18228
- function Rr(b, N) {
18244
+ function Br(b, N) {
18229
18245
  var F = this.__data__;
18230
18246
  if (F instanceof nt) {
18231
18247
  var ee = F.__data__;
@@ -18235,20 +18251,20 @@ br.exports;
18235
18251
  }
18236
18252
  return F.set(b, N), this.size = F.size, this;
18237
18253
  }
18238
- Mt.prototype.clear = Nn, Mt.prototype.delete = Mr, Mt.prototype.get = Dr, Mt.prototype.has = Lr, Mt.prototype.set = Rr;
18239
- function Br(b, N) {
18240
- var F = gn(b), ee = !F && Qn(b), Ne = !F && !ee && mn(b), ye = !F && !ee && !Ne && nr(b), Le = F || ee || Ne || ye, Be = Le ? Q(b.length, String) : [], Ze = Be.length;
18254
+ Pt.prototype.clear = Nn, Pt.prototype.delete = Dr, Pt.prototype.get = Lr, Pt.prototype.has = Rr, Pt.prototype.set = Br;
18255
+ function jr(b, N) {
18256
+ var F = gn(b), ee = !F && er(b), Ne = !F && !ee && mn(b), ye = !F && !ee && !Ne && rr(b), Le = F || ee || Ne || ye, Be = Le ? Q(b.length, String) : [], Ze = Be.length;
18241
18257
  for (var He in b)
18242
18258
  (N || De.call(b, He)) && !(Le && // Safari 9 has enumerable `arguments.length` in strict mode.
18243
18259
  (He == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
18244
18260
  Ne && (He == "offset" || He == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
18245
18261
  ye && (He == "buffer" || He == "byteLength" || He == "byteOffset") || // Skip index properties.
18246
- Kr(He, Ze))) && Be.push(He);
18262
+ Gr(He, Ze))) && Be.push(He);
18247
18263
  return Be;
18248
18264
  }
18249
18265
  function pn(b, N) {
18250
18266
  for (var F = b.length; F--; )
18251
- if (Xn(b[F][0], N))
18267
+ if (Qn(b[F][0], N))
18252
18268
  return F;
18253
18269
  return -1;
18254
18270
  }
@@ -18257,15 +18273,15 @@ br.exports;
18257
18273
  return gn(b) ? ee : Ge(ee, F(b));
18258
18274
  }
18259
18275
  function on(b) {
18260
- return b == null ? b === void 0 ? P : g : lt && lt in Object(b) ? Ut(b) : Jn(b);
18276
+ return b == null ? b === void 0 ? M : g : lt && lt in Object(b) ? Ut(b) : Xn(b);
18261
18277
  }
18262
- function Wn(b) {
18278
+ function Zn(b) {
18263
18279
  return Lt(b) && on(b) == a;
18264
18280
  }
18265
- function Zn(b, N, F, ee, Ne) {
18266
- return b === N ? !0 : b == null || N == null || !Lt(b) && !Lt(N) ? b !== b && N !== N : jr(b, N, F, ee, Zn, Ne);
18281
+ function Jn(b, N, F, ee, Ne) {
18282
+ return b === N ? !0 : b == null || N == null || !Lt(b) && !Lt(N) ? b !== b && N !== N : qr(b, N, F, ee, Jn, Ne);
18267
18283
  }
18268
- function jr(b, N, F, ee, Ne, ye) {
18284
+ function qr(b, N, F, ee, Ne, ye) {
18269
18285
  var Le = gn(b), Be = gn(N), Ze = Le ? d : Dt(b), He = Be ? d : Dt(N);
18270
18286
  Ze = Ze == a ? m : Ze, He = He == a ? m : He;
18271
18287
  var ut = Ze == m, vt = He == m, Qe = Ze == He;
@@ -18275,34 +18291,34 @@ br.exports;
18275
18291
  Le = !0, ut = !1;
18276
18292
  }
18277
18293
  if (Qe && !ut)
18278
- return ye || (ye = new Mt()), Le || nr(b) ? Pn(b, N, F, ee, Ne, ye) : Vr(b, N, Ze, F, ee, Ne, ye);
18294
+ return ye || (ye = new Pt()), Le || rr(b) ? Mn(b, N, F, ee, Ne, ye) : Ur(b, N, Ze, F, ee, Ne, ye);
18279
18295
  if (!(F & o)) {
18280
18296
  var dt = ut && De.call(b, "__wrapped__"), ot = vt && De.call(N, "__wrapped__");
18281
18297
  if (dt || ot) {
18282
18298
  var Wt = dt ? b.value() : b, zt = ot ? N.value() : N;
18283
- return ye || (ye = new Mt()), Ne(Wt, zt, F, ee, ye);
18299
+ return ye || (ye = new Pt()), Ne(Wt, zt, F, ee, ye);
18284
18300
  }
18285
18301
  }
18286
- return Qe ? (ye || (ye = new Mt()), Ur(b, N, F, ee, Ne, ye)) : !1;
18302
+ return Qe ? (ye || (ye = new Pt()), zr(b, N, F, ee, Ne, ye)) : !1;
18287
18303
  }
18288
- function qr(b) {
18289
- if (!tr(b) || Yr(b))
18304
+ function Fr(b) {
18305
+ if (!nr(b) || Wr(b))
18290
18306
  return !1;
18291
- var N = er(b) ? On : j;
18307
+ var N = tr(b) ? On : j;
18292
18308
  return N.test(pt(b));
18293
18309
  }
18294
- function Fr(b) {
18310
+ function Hr(b) {
18295
18311
  return Lt(b) && Dn(b.length) && !!H[on(b)];
18296
18312
  }
18297
- function Hr(b) {
18298
- if (!Wr(b))
18313
+ function Vr(b) {
18314
+ if (!Zr(b))
18299
18315
  return Ft(b);
18300
18316
  var N = [];
18301
18317
  for (var F in Object(b))
18302
18318
  De.call(b, F) && F != "constructor" && N.push(F);
18303
18319
  return N;
18304
18320
  }
18305
- function Pn(b, N, F, ee, Ne, ye) {
18321
+ function Mn(b, N, F, ee, Ne, ye) {
18306
18322
  var Le = F & o, Be = b.length, Ze = N.length;
18307
18323
  if (Be != Ze && !(Le && Ze > Be))
18308
18324
  return !1;
@@ -18335,7 +18351,7 @@ br.exports;
18335
18351
  }
18336
18352
  return ye.delete(b), ye.delete(N), vt;
18337
18353
  }
18338
- function Vr(b, N, F, ee, Ne, ye, Le) {
18354
+ function Ur(b, N, F, ee, Ne, ye, Le) {
18339
18355
  switch (F) {
18340
18356
  case k:
18341
18357
  if (b.byteLength != N.byteLength || b.byteOffset != N.byteOffset)
@@ -18346,7 +18362,7 @@ br.exports;
18346
18362
  case h:
18347
18363
  case c:
18348
18364
  case y:
18349
- return Xn(+b, +N);
18365
+ return Qn(+b, +N);
18350
18366
  case s:
18351
18367
  return b.name == N.name && b.message == N.message;
18352
18368
  case w:
@@ -18362,7 +18378,7 @@ br.exports;
18362
18378
  if (He)
18363
18379
  return He == N;
18364
18380
  ee |= r, Le.set(b, N);
18365
- var ut = Pn(Be(b), Be(N), ee, Ne, ye, Le);
18381
+ var ut = Mn(Be(b), Be(N), ee, Ne, ye, Le);
18366
18382
  return Le.delete(b), ut;
18367
18383
  case S:
18368
18384
  if (Re)
@@ -18370,7 +18386,7 @@ br.exports;
18370
18386
  }
18371
18387
  return !1;
18372
18388
  }
18373
- function Ur(b, N, F, ee, Ne, ye) {
18389
+ function zr(b, N, F, ee, Ne, ye) {
18374
18390
  var Le = F & o, Be = an(b), Ze = Be.length, He = an(N), ut = He.length;
18375
18391
  if (Ze != ut && !Le)
18376
18392
  return !1;
@@ -18396,21 +18412,21 @@ br.exports;
18396
18412
  Wt || (Wt = Qe == "constructor");
18397
18413
  }
18398
18414
  if (ot && !Wt) {
18399
- var rr = b.constructor, ir = N.constructor;
18400
- rr != ir && "constructor" in b && "constructor" in N && !(typeof rr == "function" && rr instanceof rr && typeof ir == "function" && ir instanceof ir) && (ot = !1);
18415
+ var ir = b.constructor, or = N.constructor;
18416
+ ir != or && "constructor" in b && "constructor" in N && !(typeof ir == "function" && ir instanceof ir && typeof or == "function" && or instanceof or) && (ot = !1);
18401
18417
  }
18402
18418
  return ye.delete(b), ye.delete(N), ot;
18403
18419
  }
18404
18420
  function an(b) {
18405
- return In(b, Ln, zr);
18421
+ return In(b, Ln, Kr);
18406
18422
  }
18407
18423
  function St(b, N) {
18408
18424
  var F = b.__data__;
18409
- return Gr(N) ? F[typeof N == "string" ? "string" : "hash"] : F.map;
18425
+ return Yr(N) ? F[typeof N == "string" ? "string" : "hash"] : F.map;
18410
18426
  }
18411
18427
  function Vt(b, N) {
18412
18428
  var F = ue(b, N);
18413
- return qr(F) ? F : void 0;
18429
+ return Fr(F) ? F : void 0;
18414
18430
  }
18415
18431
  function Ut(b) {
18416
18432
  var N = De.call(b, lt), F = b[lt];
@@ -18422,11 +18438,11 @@ br.exports;
18422
18438
  var Ne = en.call(b);
18423
18439
  return ee && (N ? b[lt] = F : delete b[lt]), Ne;
18424
18440
  }
18425
- var zr = It ? function(b) {
18426
- return b == null ? [] : (b = Object(b), Me(It(b), function(N) {
18441
+ var Kr = It ? function(b) {
18442
+ return b == null ? [] : (b = Object(b), Pe(It(b), function(N) {
18427
18443
  return Nt.call(b, N);
18428
18444
  }));
18429
- } : Jr, Dt = on;
18445
+ } : Xr, Dt = on;
18430
18446
  (nn && Dt(new nn(new ArrayBuffer(1))) != k || I && Dt(new I()) != v || L && Dt(L.resolve()) != $ || z && Dt(new z()) != x || X && Dt(new X()) != C) && (Dt = function(b) {
18431
18447
  var N = on(b), F = N == m ? b.constructor : void 0, ee = F ? pt(F) : "";
18432
18448
  if (ee)
@@ -18437,28 +18453,28 @@ br.exports;
18437
18453
  return v;
18438
18454
  case me:
18439
18455
  return $;
18440
- case Pe:
18456
+ case Me:
18441
18457
  return x;
18442
18458
  case pe:
18443
18459
  return C;
18444
18460
  }
18445
18461
  return N;
18446
18462
  });
18447
- function Kr(b, N) {
18463
+ function Gr(b, N) {
18448
18464
  return N = N ?? l, !!N && (typeof b == "number" || Y.test(b)) && b > -1 && b % 1 == 0 && b < N;
18449
18465
  }
18450
- function Gr(b) {
18466
+ function Yr(b) {
18451
18467
  var N = typeof b;
18452
18468
  return N == "string" || N == "number" || N == "symbol" || N == "boolean" ? b !== "__proto__" : b === null;
18453
18469
  }
18454
- function Yr(b) {
18470
+ function Wr(b) {
18455
18471
  return !!ft && ft in b;
18456
18472
  }
18457
- function Wr(b) {
18473
+ function Zr(b) {
18458
18474
  var N = b && b.constructor, F = typeof N == "function" && N.prototype || We;
18459
18475
  return b === F;
18460
18476
  }
18461
- function Jn(b) {
18477
+ function Xn(b) {
18462
18478
  return en.call(b);
18463
18479
  }
18464
18480
  function pt(b) {
@@ -18474,23 +18490,23 @@ br.exports;
18474
18490
  }
18475
18491
  return "";
18476
18492
  }
18477
- function Xn(b, N) {
18493
+ function Qn(b, N) {
18478
18494
  return b === N || b !== b && N !== N;
18479
18495
  }
18480
- var Qn = Wn(function() {
18496
+ var er = Zn(function() {
18481
18497
  return arguments;
18482
- }()) ? Wn : function(b) {
18498
+ }()) ? Zn : function(b) {
18483
18499
  return Lt(b) && De.call(b, "callee") && !Nt.call(b, "callee");
18484
18500
  }, gn = Array.isArray;
18485
- function Mn(b) {
18486
- return b != null && Dn(b.length) && !er(b);
18501
+ function Pn(b) {
18502
+ return b != null && Dn(b.length) && !tr(b);
18487
18503
  }
18488
- var mn = ht || Xr;
18489
- function Zr(b, N) {
18490
- return Zn(b, N);
18504
+ var mn = ht || Qr;
18505
+ function Jr(b, N) {
18506
+ return Jn(b, N);
18491
18507
  }
18492
- function er(b) {
18493
- if (!tr(b))
18508
+ function tr(b) {
18509
+ if (!nr(b))
18494
18510
  return !1;
18495
18511
  var N = on(b);
18496
18512
  return N == u || N == _ || N == f || N == p;
@@ -18498,30 +18514,30 @@ br.exports;
18498
18514
  function Dn(b) {
18499
18515
  return typeof b == "number" && b > -1 && b % 1 == 0 && b <= l;
18500
18516
  }
18501
- function tr(b) {
18517
+ function nr(b) {
18502
18518
  var N = typeof b;
18503
18519
  return b != null && (N == "object" || N == "function");
18504
18520
  }
18505
18521
  function Lt(b) {
18506
18522
  return b != null && typeof b == "object";
18507
18523
  }
18508
- var nr = Ie ? te(Ie) : Fr;
18524
+ var rr = Ie ? te(Ie) : Hr;
18509
18525
  function Ln(b) {
18510
- return Mn(b) ? Br(b) : Hr(b);
18526
+ return Pn(b) ? jr(b) : Vr(b);
18511
18527
  }
18512
- function Jr() {
18528
+ function Xr() {
18513
18529
  return [];
18514
18530
  }
18515
- function Xr() {
18531
+ function Qr() {
18516
18532
  return !1;
18517
18533
  }
18518
- t.exports = Zr;
18519
- })(br, br.exports);
18520
- var oa = br.exports, Pi = {}, aa = et && et.__importDefault || function(t) {
18534
+ t.exports = Jr;
18535
+ })(_r, _r.exports);
18536
+ var oa = _r.exports, Pi = {}, aa = et && et.__importDefault || function(t) {
18521
18537
  return t && t.__esModule ? t : { default: t };
18522
18538
  };
18523
18539
  Object.defineProperty(Pi, "__esModule", { value: !0 });
18524
- var Yf = aa(ia), Wf = aa(oa), yi;
18540
+ var Yf = aa(ia), Wf = aa(oa), bi;
18525
18541
  (function(t) {
18526
18542
  function n(r, l, a) {
18527
18543
  r === void 0 && (r = {}), l === void 0 && (l = {}), typeof r != "object" && (r = {}), typeof l != "object" && (l = {});
@@ -18565,17 +18581,17 @@ var Yf = aa(ia), Wf = aa(oa), yi;
18565
18581
  }
18566
18582
  }
18567
18583
  t.transform = o;
18568
- })(yi || (yi = {}));
18569
- Pi.default = yi;
18570
- var ur = {}, dr = {}, bo;
18584
+ })(bi || (bi = {}));
18585
+ Pi.default = bi;
18586
+ var dr = {}, cr = {}, bo;
18571
18587
  function Zf() {
18572
18588
  if (bo)
18573
- return dr;
18589
+ return cr;
18574
18590
  bo = 1;
18575
18591
  var t = et && et.__importDefault || function(i) {
18576
18592
  return i && i.__esModule ? i : { default: i };
18577
18593
  };
18578
- Object.defineProperty(dr, "__esModule", { value: !0 });
18594
+ Object.defineProperty(cr, "__esModule", { value: !0 });
18579
18595
  var n = t(la()), e = (
18580
18596
  /** @class */
18581
18597
  function() {
@@ -18612,17 +18628,17 @@ function Zf() {
18612
18628
  }, i;
18613
18629
  }()
18614
18630
  );
18615
- return dr.default = e, dr;
18631
+ return cr.default = e, cr;
18616
18632
  }
18617
18633
  var _o;
18618
18634
  function la() {
18619
18635
  if (_o)
18620
- return ur;
18636
+ return dr;
18621
18637
  _o = 1;
18622
18638
  var t = et && et.__importDefault || function(i) {
18623
18639
  return i && i.__esModule ? i : { default: i };
18624
18640
  };
18625
- Object.defineProperty(ur, "__esModule", { value: !0 });
18641
+ Object.defineProperty(dr, "__esModule", { value: !0 });
18626
18642
  var n = t(Zf()), e;
18627
18643
  return function(i) {
18628
18644
  function o(l) {
@@ -18633,11 +18649,11 @@ function la() {
18633
18649
  return typeof l.delete == "number" ? l.delete : typeof l.retain == "number" ? l.retain : typeof l.insert == "string" ? l.insert.length : 1;
18634
18650
  }
18635
18651
  i.length = r;
18636
- }(e || (e = {})), ur.default = e, ur;
18652
+ }(e || (e = {})), dr.default = e, dr;
18637
18653
  }
18638
- var Gn = et && et.__importDefault || function(t) {
18654
+ var Yn = et && et.__importDefault || function(t) {
18639
18655
  return t && t.__esModule ? t : { default: t };
18640
- }, cr = Gn(Gf), Jf = Gn(ia), fi = Gn(oa), Bn = Gn(Pi), at = Gn(la()), Xf = String.fromCharCode(0), Qf = (
18656
+ }, fr = Yn(Gf), Jf = Yn(ia), hi = Yn(oa), Bn = Yn(Pi), at = Yn(la()), Xf = String.fromCharCode(0), Qf = (
18641
18657
  /** @class */
18642
18658
  function() {
18643
18659
  function t(n) {
@@ -18660,7 +18676,7 @@ var Gn = et && et.__importDefault || function(t) {
18660
18676
  return this.ops[e - 1] = { delete: i.delete + n.delete }, this;
18661
18677
  if (typeof i.delete == "number" && n.insert != null && (e -= 1, i = this.ops[e - 1], typeof i != "object"))
18662
18678
  return this.ops.unshift(n), this;
18663
- if (fi.default(n.attributes, i.attributes)) {
18679
+ if (hi.default(n.attributes, i.attributes)) {
18664
18680
  if (typeof n.insert == "string" && typeof i.insert == "string")
18665
18681
  return this.ops[e - 1] = { insert: i.insert + n.insert }, typeof n.attributes == "object" && (this.ops[e - 1].attributes = n.attributes), this;
18666
18682
  if (typeof n.retain == "number" && typeof i.retain == "number")
@@ -18718,7 +18734,7 @@ var Gn = et && et.__importDefault || function(t) {
18718
18734
  var c = {};
18719
18735
  typeof f.retain == "number" ? c.retain = d : c.insert = f.insert;
18720
18736
  var s = Bn.default.compose(f.attributes, h.attributes, typeof f.retain == "number");
18721
- if (s && (c.attributes = s), a.push(c), !i.hasNext() && fi.default(a.ops[a.ops.length - 1], c)) {
18737
+ if (s && (c.attributes = s), a.push(c), !i.hasNext() && hi.default(a.ops[a.ops.length - 1], c)) {
18722
18738
  var u = new t(e.rest());
18723
18739
  return a.concat(u).chop();
18724
18740
  }
@@ -18739,21 +18755,21 @@ var Gn = et && et.__importDefault || function(t) {
18739
18755
  var h = d === n ? "on" : "with";
18740
18756
  throw new Error("diff() called " + h + " non-document");
18741
18757
  }).join("");
18742
- }), o = new t(), r = cr.default(i[0], i[1], e), l = at.default.iterator(this.ops), a = at.default.iterator(n.ops);
18758
+ }), o = new t(), r = fr.default(i[0], i[1], e), l = at.default.iterator(this.ops), a = at.default.iterator(n.ops);
18743
18759
  return r.forEach(function(d) {
18744
18760
  for (var f = d[1].length; f > 0; ) {
18745
18761
  var h = 0;
18746
18762
  switch (d[0]) {
18747
- case cr.default.INSERT:
18763
+ case fr.default.INSERT:
18748
18764
  h = Math.min(a.peekLength(), f), o.push(a.next(h));
18749
18765
  break;
18750
- case cr.default.DELETE:
18766
+ case fr.default.DELETE:
18751
18767
  h = Math.min(f, l.peekLength()), l.next(h), o.delete(h);
18752
18768
  break;
18753
- case cr.default.EQUAL:
18769
+ case fr.default.EQUAL:
18754
18770
  h = Math.min(l.peekLength(), a.peekLength(), f);
18755
18771
  var c = l.next(h), s = a.next(h);
18756
- fi.default(c.insert, s.insert) ? o.retain(h, Bn.default.diff(c.attributes, s.attributes)) : o.push(s).delete(h);
18772
+ hi.default(c.insert, s.insert) ? o.retain(h, Bn.default.diff(c.attributes, s.attributes)) : o.push(s).delete(h);
18757
18773
  break;
18758
18774
  }
18759
18775
  f -= h;
@@ -18824,7 +18840,7 @@ var Gn = et && et.__importDefault || function(t) {
18824
18840
  }, t.Op = at.default, t.AttributeMap = Bn.default, t;
18825
18841
  }()
18826
18842
  ), eh = Qf;
18827
- const th = /* @__PURE__ */ Cr(eh);
18843
+ const th = /* @__PURE__ */ Er(eh);
18828
18844
  /*!
18829
18845
  * VueQuill @vueup/vue-quill v1.2.0
18830
18846
  * https://vueup.github.io/vue-quill/
@@ -18953,13 +18969,13 @@ const $o = {
18953
18969
  })()
18954
18970
  }), t.modules) {
18955
18971
  const k = (() => {
18956
- var T, M;
18972
+ var T, P;
18957
18973
  const q = {};
18958
18974
  if (Array.isArray(t.modules))
18959
18975
  for (const K of t.modules)
18960
18976
  q[K.name] = (T = K.options) !== null && T !== void 0 ? T : {};
18961
18977
  else
18962
- q[t.modules.name] = (M = t.modules.options) !== null && M !== void 0 ? M : {};
18978
+ q[t.modules.name] = (P = t.modules.options) !== null && P !== void 0 ? P : {};
18963
18979
  return q;
18964
18980
  })();
18965
18981
  O.modules = Object.assign({}, O.modules, k);
@@ -18980,7 +18996,7 @@ const $o = {
18980
18996
  }, s = Ri(), u = (O, k, T) => {
18981
18997
  s.value = !!(e != null && e.hasFocus()), n.emit("selectionChange", { range: O, oldRange: k, source: T });
18982
18998
  };
18983
- Qr(s, (O) => {
18999
+ ei(s, (O) => {
18984
19000
  O ? n.emit("focus", o) : n.emit("blur", o);
18985
19001
  });
18986
19002
  const _ = (...O) => {
@@ -19020,7 +19036,7 @@ const $o = {
19020
19036
  }, S = (O, k = "api") => {
19021
19037
  const T = e == null ? void 0 : e.clipboard.convert(O);
19022
19038
  T && (e == null || e.setContents(T, k));
19023
- }, P = () => {
19039
+ }, M = () => {
19024
19040
  e == null || e.focus();
19025
19041
  }, C = () => {
19026
19042
  Bi(() => {
@@ -19028,12 +19044,12 @@ const $o = {
19028
19044
  !n.slots.toolbar && e && ((O = e.getModule("toolbar")) === null || O === void 0 || O.container.remove()), r();
19029
19045
  });
19030
19046
  };
19031
- return Qr(() => t.content, (O) => {
19047
+ return ei(() => t.content, (O) => {
19032
19048
  if (!e || !O || h(O))
19033
19049
  return;
19034
19050
  const k = e.getSelection();
19035
19051
  k && Bi(() => e == null ? void 0 : e.setSelection(k)), $(O);
19036
- }, { deep: !0 }), Qr(() => t.enable, (O) => {
19052
+ }, { deep: !0 }), ei(() => t.enable, (O) => {
19037
19053
  e && e.enable(O);
19038
19054
  }), {
19039
19055
  editor: o,
@@ -19045,7 +19061,7 @@ const $o = {
19045
19061
  getHTML: x,
19046
19062
  setHTML: E,
19047
19063
  pasteHTML: S,
19048
- focus: P,
19064
+ focus: M,
19049
19065
  getText: p,
19050
19066
  setText: w,
19051
19067
  reinit: C
@@ -19059,7 +19075,7 @@ const $o = {
19059
19075
  ];
19060
19076
  }
19061
19077
  }), rh = Bt.import("formats/list"), ih = Bt.import("formats/list/item"), oh = Bt.import("parchment");
19062
- class Tr extends ih {
19078
+ class Ar extends ih {
19063
19079
  format(n, e) {
19064
19080
  n === cn.blotName && !e ? this.replaceWith(oh.create(this.statics.scope)) : super.format(n, e);
19065
19081
  }
@@ -19068,8 +19084,8 @@ class Tr extends ih {
19068
19084
  return n.domNode.classList.remove("checked"), n;
19069
19085
  }
19070
19086
  }
19071
- Tr.blotName = "alphabet-list-item";
19072
- Tr.tagName = "LI";
19087
+ Ar.blotName = "alphabet-list-item";
19088
+ Ar.tagName = "LI";
19073
19089
  class cn extends rh {
19074
19090
  static create() {
19075
19091
  const n = super.create("bullet");
@@ -19083,7 +19099,7 @@ cn.blotName = "alphabet-list";
19083
19099
  cn.tagName = "OL";
19084
19100
  cn.className = "alphabet-list";
19085
19101
  cn.defaultChild = "alphabet-list-item";
19086
- cn.allowedChildren = [Tr];
19102
+ cn.allowedChildren = [Ar];
19087
19103
  const ah = `
19088
19104
  <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
19089
19105
  <path d="M6.31836 14.9023V5.09961H9.88672C10.9805 5.09961 11.8213 5.30013 12.4092 5.70117C12.9971 6.10221 13.291 6.66732 13.291 7.39648C13.291 7.92513 13.111 8.3877 12.751 8.78418C12.3955 9.18066 11.9398 9.45638 11.3838 9.61133V9.63867C12.0811 9.72526 12.637 9.98275 13.0518 10.4111C13.471 10.8395 13.6807 11.3613 13.6807 11.9766C13.6807 12.8743 13.3594 13.5876 12.7168 14.1162C12.0742 14.6403 11.1969 14.9023 10.085 14.9023H6.31836ZM8.52637 6.72656V9.05078H9.49707C9.9528 9.05078 10.3105 8.94141 10.5703 8.72266C10.8346 8.49935 10.9668 8.19401 10.9668 7.80664C10.9668 7.08659 10.429 6.72656 9.35352 6.72656H8.52637ZM8.52637 10.6914V13.2754H9.72266C10.2331 13.2754 10.6318 13.1569 10.9189 12.9199C11.2106 12.6829 11.3564 12.3594 11.3564 11.9492C11.3564 11.5573 11.2129 11.2497 10.9258 11.0264C10.6432 10.8031 10.2467 10.6914 9.73633 10.6914H8.52637Z" class="fill" fill="#1A1A1A"/>
@@ -19187,7 +19203,7 @@ $t.list.bullet = vh;
19187
19203
  $t["alphabet-list"] = yh;
19188
19204
  Bt.register({
19189
19205
  "formats/alphabet-list": cn,
19190
- "formats/alphabet-list/item": Tr
19206
+ "formats/alphabet-list/item": Ar
19191
19207
  });
19192
19208
  Bt.register($t);
19193
19209
  Bt.debug("error");
@@ -19454,13 +19470,13 @@ function Nh(t, n, e, i, o, r) {
19454
19470
  const f1 = /* @__PURE__ */ Ae(xh, [["render", Nh], ["__scopeId", "data-v-5dceb760"]]);
19455
19471
  const Ih = {
19456
19472
  name: "IbRow"
19457
- }, Ph = { class: "ib-tr" };
19458
- function Mh(t, n, e, i, o, r) {
19459
- return G(), ne("tr", Ph, [
19473
+ }, Mh = { class: "ib-tr" };
19474
+ function Ph(t, n, e, i, o, r) {
19475
+ return G(), ne("tr", Mh, [
19460
19476
  Te(t.$slots, "default", { ref: "row" })
19461
19477
  ]);
19462
19478
  }
19463
- const h1 = /* @__PURE__ */ Ae(Ih, [["render", Mh]]);
19479
+ const h1 = /* @__PURE__ */ Ae(Ih, [["render", Ph]]);
19464
19480
  const Dh = {
19465
19481
  name: "IbCell",
19466
19482
  props: {
@@ -19529,15 +19545,24 @@ class sa {
19529
19545
  constructor() {
19530
19546
  this.tooltipInstance = null, this.tooltipContainer = null;
19531
19547
  }
19548
+ getTooltipInstance() {
19549
+ return this.getTooltipInstance;
19550
+ }
19551
+ getTooltipContainer() {
19552
+ return this.tooltipContainer;
19553
+ }
19532
19554
  createTooltip(n, e) {
19555
+ if (!e.trim().length)
19556
+ return;
19533
19557
  const i = `
19534
19558
  position: absolute;
19535
19559
  top: 0px;
19536
19560
  left: 0px;
19537
19561
  `;
19538
19562
  this.tooltipContainer = document.createElement("div"), this.tooltipContainer.setAttribute("style", i), document.body.appendChild(this.tooltipContainer), this.tooltipInstance = ga(Qt, {
19539
- text: e
19540
- }), this.tooltipInstance.mount(this.tooltipContainer), this.tooltipContainer.firstChild.setAttribute("style", "display: block"), setTimeout(() => {
19563
+ text: e,
19564
+ alwaysVisible: !0
19565
+ }), this.tooltipInstance.mount(this.tooltipContainer), setTimeout(() => {
19541
19566
  var o;
19542
19567
  if ((o = this.tooltipContainer) != null && o.firstChild) {
19543
19568
  const { top: r, left: l, width: a } = n.getBoundingClientRect(), { width: d, height: f } = this.tooltipContainer.firstChild.getBoundingClientRect(), h = document.documentElement.scrollTop, c = `
@@ -19552,19 +19577,21 @@ class sa {
19552
19577
  }, 100);
19553
19578
  }
19554
19579
  destroyTooltip() {
19555
- this.tooltipInstance && this.tooltipContainer && (this.tooltipInstance.unmount(), this.tooltipInstance = null, this.tooltipContainer.remove(), this.tooltipContainer = null);
19580
+ var n, e;
19581
+ (n = this.tooltipInstance) == null || n.unmount(), this.tooltipInstance = null, (e = this.tooltipContainer) == null || e.remove(), this.tooltipContainer = null;
19556
19582
  }
19557
19583
  }
19558
- const Mi = new sa(), wo = (t, n) => {
19559
- Mi.createTooltip(t, n.value);
19560
- }, Oo = () => {
19561
- Mi.destroyTooltip();
19584
+ const Gn = new sa(), wo = (t, n) => {
19585
+ Gn.getTooltipContainer() || Gn.createTooltip(t, n.value);
19586
+ }, Oo = (t, n) => {
19587
+ const e = Gn.getTooltipContainer(), i = n !== t.target && !n.contains(t.target), o = e !== t.target && !(e != null && e.contains(t.target));
19588
+ i && o && Gn.destroyTooltip();
19562
19589
  }, g1 = {
19563
19590
  mounted(t, n) {
19564
- t.addEventListener("mouseenter", () => wo(t, n)), t.addEventListener("mouseleave", Oo);
19591
+ t.addEventListener("mouseenter", () => wo(t, n)), document.addEventListener("mousemove", (e) => Oo(e, t));
19565
19592
  },
19566
19593
  beforeUnmount(t, n) {
19567
- Mi.destroyTooltip(), t.removeEventListener("mouseenter", () => wo(t, n)), t.removeEventListener("mouseleave", Oo);
19594
+ Gn.destroyTooltip(), t.removeEventListener("mouseenter", () => wo(t, n)), document.removeEventListener("mousemove", (e) => Oo(e, t));
19568
19595
  }
19569
19596
  }, Di = new sa(), ko = (t, n) => {
19570
19597
  Ro(t) && Di.createTooltip(t, n.value);
@@ -19591,14 +19618,14 @@ export {
19591
19618
  p1 as IbCheckboxCell,
19592
19619
  a1 as IbCheckboxGroup,
19593
19620
  u1 as IbDatePicker,
19594
- Oi as IbDropdown,
19595
- Po as IbDropdownItem,
19596
- Ci as IbDropdownList,
19621
+ ki as IbDropdown,
19622
+ Mo as IbDropdownItem,
19623
+ Ei as IbDropdownList,
19597
19624
  o1 as IbFormGroup,
19598
19625
  Xe as IbIcon,
19599
19626
  Tt as IbIconButton,
19600
19627
  Do as IbInput,
19601
- kr as IbLabel,
19628
+ Cr as IbLabel,
19602
19629
  lu as IbLimitSelector,
19603
19630
  Zh as IbModal,
19604
19631
  t1 as IbPagination,
@@ -19623,7 +19650,7 @@ export {
19623
19650
  Gh as IbToggleTip,
19624
19651
  Qt as IbTooltip,
19625
19652
  ru as IbTreeSelect,
19626
- wi as OutsideDirective,
19653
+ Oi as OutsideDirective,
19627
19654
  m1 as TextOverflowTooltipDirective,
19628
19655
  g1 as TooltipDirective
19629
19656
  };