@avakhula/ui 0.0.132 → 0.0.134

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 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";
1
+ import { openBlock as G, createElementBlock as ne, normalizeStyle as On, 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)
@@ -29,7 +29,7 @@ const Ae = (t, n) => {
29
29
  }, va = ["name"];
30
30
  function ya(t, n, e, i, o, r) {
31
31
  return G(), ne("ion-icon", {
32
- style: wn(e.styles),
32
+ style: On(e.styles),
33
33
  name: e.name,
34
34
  class: ve(e.classes + " ib-icon icon-" + e.name),
35
35
  ref: "icon"
@@ -324,7 +324,7 @@ function Na(t, n, e, i, o, r) {
324
324
  });
325
325
  }
326
326
  const Ia = /* @__PURE__ */ Ae(Aa, [["render", Na], ["__scopeId", "data-v-c3387606"]]);
327
- const Pa = {
327
+ const Ma = {
328
328
  name: "IbTooltip",
329
329
  props: {
330
330
  position: {
@@ -348,7 +348,7 @@ const Pa = {
348
348
  }
349
349
  },
350
350
  components: { IbPopover: Ia }
351
- }, Ma = { key: 0 };
351
+ }, Pa = { key: 0 };
352
352
  function Da(t, n, e, i, o, r) {
353
353
  const l = ce("ib-popover");
354
354
  return G(), $e(l, {
@@ -357,13 +357,13 @@ function Da(t, n, e, i, o, r) {
357
357
  class: ve(r.classList)
358
358
  }, {
359
359
  default: be(() => [
360
- 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),
361
361
  ae("p", null, we(e.text), 1)
362
362
  ]),
363
363
  _: 1
364
364
  }, 8, ["position", "always-visible", "class"]);
365
365
  }
366
- const Qt = /* @__PURE__ */ Ae(Pa, [["render", Da], ["__scopeId", "data-v-d59abad7"]]), ji = {
366
+ const Qt = /* @__PURE__ */ Ae(Ma, [["render", Da], ["__scopeId", "data-v-d59abad7"]]), ji = {
367
367
  [sn.primary]: sn.primary,
368
368
  [sn.tertiary]: sn.tertiary,
369
369
  [sn.ghost]: sn.ghost,
@@ -458,7 +458,7 @@ function Ra(t, n, e, i, o, r) {
458
458
  _: 3
459
459
  }, 16, ["onClick", "href", "kind", "disabled", "tabindex", "prevent-default"]);
460
460
  }
461
- const Tt = /* @__PURE__ */ Ae(La, [["render", Ra]]), or = {
461
+ const Tt = /* @__PURE__ */ Ae(La, [["render", Ra]]), ar = {
462
462
  alert: "alert",
463
463
  warning: "warning",
464
464
  info: "info",
@@ -469,8 +469,8 @@ const Ba = {
469
469
  props: {
470
470
  type: {
471
471
  type: String,
472
- default: or.alert,
473
- validator: (t) => Object.keys(or).includes(t)
472
+ default: ar.alert,
473
+ validator: (t) => Object.keys(ar).includes(t)
474
474
  },
475
475
  showIcon: {
476
476
  type: Boolean,
@@ -506,7 +506,7 @@ const Ba = {
506
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;
507
507
  },
508
508
  iconName() {
509
- 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";
510
510
  }
511
511
  },
512
512
  beforeUnmount() {
@@ -610,7 +610,7 @@ function Ya(t, n, e, i, o, r) {
610
610
  }, null, 10, Ga)) : e.src && e.userAvatar ? (G(), ne("div", {
611
611
  key: 1,
612
612
  class: ve(["user-avatar", r.classList]),
613
- style: wn({
613
+ style: On({
614
614
  backgroundImage: "url(" + e.src + ")"
615
615
  })
616
616
  }, null, 6)) : e.name ? (G(), ne("div", {
@@ -809,10 +809,10 @@ function ll(t, n, e, i, o, r) {
809
809
  _: 3
810
810
  });
811
811
  }
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: 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();
813
- let Hn = !1;
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(), Hn = /* @__PURE__ */ new Map();
813
+ let Vn = !1;
814
814
  const Io = (t) => {
815
- Fn.forEach(({ bindTimeStamp: n, callback: e }, i) => {
815
+ Hn.forEach(({ bindTimeStamp: n, callback: e }, i) => {
816
816
  if (!(i.contains(t.target) || t.timeStamp <= n))
817
817
  try {
818
818
  e(t);
@@ -821,9 +821,9 @@ const Io = (t) => {
821
821
  }
822
822
  });
823
823
  }, pl = () => {
824
- Hn || (document.addEventListener("click", Io, { capture: !0 }), Hn = !0);
824
+ Vn || (document.addEventListener("click", Io, { capture: !0 }), Vn = !0);
825
825
  }, gl = () => {
826
- Hn && (document.removeEventListener("click", Io), Hn = !1);
826
+ Vn && (document.removeEventListener("click", Io), Vn = !1);
827
827
  }, ml = (t, { value: n, arg: e = "click" }) => {
828
828
  if (typeof n != "function")
829
829
  throw new Error(
@@ -833,20 +833,20 @@ const Io = (t) => {
833
833
  throw new Error(
834
834
  `[OutsideDirective] Cannot bind ${e} events; only click events are currently supported!`
835
835
  );
836
- Fn.has(t) || (Hn || pl(), Fn.set(t, {
836
+ Hn.has(t) || (Vn || pl(), Hn.set(t, {
837
837
  bindTimeStamp: hl(),
838
838
  callback: n
839
839
  }));
840
840
  }, vl = (t) => {
841
- Fn.delete(t), Fn.size === 0 && gl();
841
+ Hn.delete(t), Hn.size === 0 && gl();
842
842
  }, Oi = {
843
843
  created: ml,
844
844
  beforeUnmount: vl
845
- }, jn = {
845
+ }, qn = {
846
846
  left: "left",
847
847
  right: "right",
848
848
  center: "center"
849
- }, hr = {
849
+ }, pr = {
850
850
  top: "top",
851
851
  bottom: "bottom"
852
852
  };
@@ -856,11 +856,11 @@ const yl = {
856
856
  props: {
857
857
  vertical: {
858
858
  type: String,
859
- default: hr.bottom
859
+ default: pr.bottom
860
860
  },
861
861
  horizontal: {
862
862
  type: String,
863
- default: jn.left
863
+ default: qn.left
864
864
  },
865
865
  triggerClass: {
866
866
  default: ""
@@ -943,7 +943,7 @@ const yl = {
943
943
  },
944
944
  computed: {
945
945
  classes() {
946
- 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 === qn.left ? " dropdown-left" : this.horizontal === qn.right ? " dropdown-right" : " dropdown-center", e = this.isOpenedState ? " active" : "";
947
947
  return t + n + e;
948
948
  },
949
949
  triggerClasses() {
@@ -1079,11 +1079,11 @@ const kl = {
1079
1079
  props: {
1080
1080
  vertical: {
1081
1081
  type: String,
1082
- default: hr.bottom
1082
+ default: pr.bottom
1083
1083
  },
1084
1084
  horizontal: {
1085
1085
  type: String,
1086
- default: jn.left
1086
+ default: qn.left
1087
1087
  },
1088
1088
  isOpened: {
1089
1089
  type: Boolean,
@@ -1186,11 +1186,11 @@ function Tl(t, n, e, i, o, r) {
1186
1186
  }, 16, ["class"]))
1187
1187
  ]);
1188
1188
  }
1189
- const Po = /* @__PURE__ */ Ae(Sl, [["render", Tl]]), Al = {
1189
+ const Mo = /* @__PURE__ */ Ae(Sl, [["render", Tl]]), Al = {
1190
1190
  common: "common",
1191
1191
  danger: "danger"
1192
1192
  };
1193
- function Jt() {
1193
+ function Gt() {
1194
1194
  return "_" + Math.random().toString(36).substr(2, 9);
1195
1195
  }
1196
1196
  const Nl = {
@@ -1198,7 +1198,7 @@ const Nl = {
1198
1198
  props: {
1199
1199
  id: {
1200
1200
  type: String,
1201
- default: () => Jt()
1201
+ default: () => Gt()
1202
1202
  },
1203
1203
  kind: {
1204
1204
  type: String,
@@ -1254,7 +1254,7 @@ const Nl = {
1254
1254
  this.setActiveItem();
1255
1255
  }
1256
1256
  }
1257
- }, Il = ["disabled"], Pl = ["disabled"], Ml = ["disabled"], Dl = { ref: "list" };
1257
+ }, Il = ["disabled"], Ml = ["disabled"], Pl = ["disabled"], Dl = { ref: "list" };
1258
1258
  function Ll(t, n, e, i, o, r) {
1259
1259
  const l = ce("ib-icon"), a = ce("ib-dropdown-list");
1260
1260
  return G(), ne("div", {
@@ -1264,7 +1264,7 @@ function Ll(t, n, e, i, o, r) {
1264
1264
  key: 1,
1265
1265
  disabled: e.disabled,
1266
1266
  class: ["split-button-main", { disabled: e.disabled }]
1267
- }, o.mainButtonAttrs), we(o.content), 17, Pl)) : (G(), ne("button", Et({
1267
+ }, o.mainButtonAttrs), we(o.content), 17, Ml)) : (G(), ne("button", Et({
1268
1268
  key: 0,
1269
1269
  disabled: e.disabled,
1270
1270
  class: "split-button-main"
@@ -1279,7 +1279,7 @@ function Ll(t, n, e, i, o, r) {
1279
1279
  class: "split-button-menu-trigger"
1280
1280
  }, [
1281
1281
  ge(l, { name: "chevron-down-outline" })
1282
- ], 8, Ml)
1282
+ ], 8, Pl)
1283
1283
  ]),
1284
1284
  body: be(() => [
1285
1285
  ae("div", Dl, [
@@ -1446,7 +1446,7 @@ function Hl(t, n, e, i, o, r) {
1446
1446
  }, [
1447
1447
  Ve((G(), ne("div", {
1448
1448
  class: ve(r.bodyClassList),
1449
- style: wn(r.bodyStyles)
1449
+ style: On(r.bodyStyles)
1450
1450
  }, [
1451
1451
  e.showCloseButton ? (G(), $e(a, {
1452
1452
  key: 0,
@@ -1480,7 +1480,7 @@ function Hl(t, n, e, i, o, r) {
1480
1480
  ], 64);
1481
1481
  }
1482
1482
  const Zh = /* @__PURE__ */ Ae(jl, [["render", Hl], ["__scopeId", "data-v-d3ce649b"]]);
1483
- function Mo(t) {
1483
+ function Po(t) {
1484
1484
  return "#" + t.toLowerCase().replace(/ /g, "-");
1485
1485
  }
1486
1486
  const Vl = {
@@ -1503,7 +1503,7 @@ const Vl = {
1503
1503
  },
1504
1504
  methods: {
1505
1505
  createHref(t) {
1506
- return Mo(t);
1506
+ return Po(t);
1507
1507
  },
1508
1508
  selectTab(t) {
1509
1509
  this.selectedTabByDropdown = t, this.$emit("select-tab", t);
@@ -1522,7 +1522,7 @@ const Vl = {
1522
1522
  },
1523
1523
  components: {
1524
1524
  IbDropdownList: Ei,
1525
- IbDropdownItem: Po,
1525
+ IbDropdownItem: Mo,
1526
1526
  IbIcon: Xe
1527
1527
  }
1528
1528
  }, Ul = { class: "wrapper-tab-link dropdown-tab" }, zl = ["tabindex"];
@@ -1607,7 +1607,7 @@ const Yl = {
1607
1607
  },
1608
1608
  methods: {
1609
1609
  createHref(t) {
1610
- return Mo(t);
1610
+ return Po(t);
1611
1611
  },
1612
1612
  selectTab(t) {
1613
1613
  this.selectedTab = t;
@@ -1849,7 +1849,7 @@ const cs = {
1849
1849
  components: {
1850
1850
  IbIcon: Xe,
1851
1851
  IbIconButton: Tt,
1852
- IbDropdownItem: Po,
1852
+ IbDropdownItem: Mo,
1853
1853
  IbDropdownList: Ei,
1854
1854
  IbTooltip: Qt
1855
1855
  }
@@ -1991,7 +1991,7 @@ const $s = {
1991
1991
  id: {
1992
1992
  type: [String],
1993
1993
  default() {
1994
- return Jt();
1994
+ return Gt();
1995
1995
  }
1996
1996
  },
1997
1997
  debounce: {
@@ -2030,11 +2030,11 @@ const $s = {
2030
2030
  },
2031
2031
  settingsVerticalPosition: {
2032
2032
  type: String,
2033
- default: hr.bottom
2033
+ default: pr.bottom
2034
2034
  },
2035
2035
  settingsHorizontalPosition: {
2036
2036
  type: String,
2037
- default: jn.right
2037
+ default: qn.right
2038
2038
  },
2039
2039
  readonly: {
2040
2040
  type: Boolean,
@@ -2197,7 +2197,7 @@ const Cs = {
2197
2197
  id: {
2198
2198
  type: String,
2199
2199
  default() {
2200
- return Jt();
2200
+ return Gt();
2201
2201
  }
2202
2202
  },
2203
2203
  value: {
@@ -2273,7 +2273,7 @@ const Cs = {
2273
2273
  key: 0,
2274
2274
  class: "required"
2275
2275
  };
2276
- function Ps(t, n, e, i, o, r) {
2276
+ function Ms(t, n, e, i, o, r) {
2277
2277
  var a;
2278
2278
  const l = ce("ib-icon");
2279
2279
  return G(), ne("label", Et(r.attrs, {
@@ -2318,8 +2318,8 @@ function Ps(t, n, e, i, o, r) {
2318
2318
  ])
2319
2319
  ], 16, Es);
2320
2320
  }
2321
- const Lo = /* @__PURE__ */ Ae(Cs, [["render", Ps]]);
2322
- const Ms = {
2321
+ const Lo = /* @__PURE__ */ Ae(Cs, [["render", Ms]]);
2322
+ const Ps = {
2323
2323
  name: "IbToggle",
2324
2324
  model: {
2325
2325
  prop: "isChecked",
@@ -2332,7 +2332,7 @@ const Ms = {
2332
2332
  },
2333
2333
  id: {
2334
2334
  type: String,
2335
- default: () => Jt()
2335
+ default: () => Gt()
2336
2336
  },
2337
2337
  disabled: {
2338
2338
  type: Boolean,
@@ -2439,7 +2439,7 @@ function Fs(t, n, e, i, o, r) {
2439
2439
  }, null, 8, ["text"])) : he("", !0)
2440
2440
  ], 42, Ds);
2441
2441
  }
2442
- const Hs = /* @__PURE__ */ Ae(Ms, [["render", Fs]]);
2442
+ const Hs = /* @__PURE__ */ Ae(Ps, [["render", Fs]]);
2443
2443
  function Ro(t) {
2444
2444
  return t.scrollHeight > t.clientHeight;
2445
2445
  }
@@ -3149,7 +3149,7 @@ const Qs = {
3149
3149
  id: {
3150
3150
  type: String,
3151
3151
  default() {
3152
- return Jt();
3152
+ return Gt();
3153
3153
  }
3154
3154
  },
3155
3155
  options: {
@@ -3216,7 +3216,7 @@ const Qs = {
3216
3216
  filterId: {
3217
3217
  type: String,
3218
3218
  default() {
3219
- return Jt();
3219
+ return Gt();
3220
3220
  }
3221
3221
  },
3222
3222
  staticPlaceholder: {
@@ -3607,7 +3607,7 @@ function nu(t, n, e, i, o, r) {
3607
3607
  body: be(() => [
3608
3608
  ae("div", {
3609
3609
  class: ve(["tree-drop", { "not-tree-child": !o.hasTreeChildren }]),
3610
- style: wn({
3610
+ style: On({
3611
3611
  width: "auto",
3612
3612
  position: "absolute",
3613
3613
  left: -o.size.left + "px",
@@ -4038,7 +4038,7 @@ function gu(t, n, e, i, o, r) {
4038
4038
  ])
4039
4039
  ]);
4040
4040
  }
4041
- const t1 = /* @__PURE__ */ Ae(su, [["render", gu]]), Rn = {
4041
+ const t1 = /* @__PURE__ */ Ae(su, [["render", gu]]), Bn = {
4042
4042
  PROGRESS: "progress",
4043
4043
  SUCCESS: "success",
4044
4044
  FAILED: "failed",
@@ -4049,7 +4049,7 @@ const mu = {
4049
4049
  props: {
4050
4050
  states: {
4051
4051
  type: String,
4052
- default: Rn.PROGRESS
4052
+ default: Bn.PROGRESS
4053
4053
  },
4054
4054
  progress: {
4055
4055
  type: [String, Number],
@@ -4062,7 +4062,7 @@ const mu = {
4062
4062
  return t.push(`progress-bar-${this.states}`), t;
4063
4063
  },
4064
4064
  iconName() {
4065
- return this.states === Rn.SUCCESS ? "checkmark-circle" : this.states === Rn.FAILED || this.states === Rn.CANCELING || this.states === Rn.CANCELED ? "close-circle" : "";
4065
+ return this.states === Bn.SUCCESS ? "checkmark-circle" : this.states === Bn.FAILED || this.states === Bn.CANCELING || this.states === Bn.CANCELED ? "close-circle" : "";
4066
4066
  }
4067
4067
  },
4068
4068
  components: {
@@ -4079,7 +4079,7 @@ function $u(t, n, e, i, o, r) {
4079
4079
  }, [
4080
4080
  ae("div", {
4081
4081
  class: "progress",
4082
- style: wn({ width: e.progress + "%" })
4082
+ style: On({ width: e.progress + "%" })
4083
4083
  }, bu, 4),
4084
4084
  _u
4085
4085
  ], 2),
@@ -4168,8 +4168,8 @@ const Su = {
4168
4168
  default: !1
4169
4169
  }
4170
4170
  }
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" }, Pu = { class: "panel-body" };
4172
- 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) {
4173
4173
  return G(), ne("div", {
4174
4174
  class: ve(["panel", { "panel-error": e.error }])
4175
4175
  }, [
@@ -4189,7 +4189,7 @@ function Mu(t, n, e, i, o, r) {
4189
4189
  onLeave: t.leave
4190
4190
  }, {
4191
4191
  default: be(() => [
4192
- Ve(ae("div", Pu, [
4192
+ Ve(ae("div", Mu, [
4193
4193
  Te(t.$slots, "body", {}, void 0, !0)
4194
4194
  ], 512), [
4195
4195
  [Ye, e.isOpen]
@@ -4199,7 +4199,7 @@ function Mu(t, n, e, i, o, r) {
4199
4199
  }, 8, ["onEnter", "onAfterEnter", "onLeave"])
4200
4200
  ], 2);
4201
4201
  }
4202
- const i1 = /* @__PURE__ */ Ae(Su, [["render", Mu], ["__scopeId", "data-v-c7c0bea8"]]);
4202
+ const i1 = /* @__PURE__ */ Ae(Su, [["render", Pu], ["__scopeId", "data-v-c7c0bea8"]]);
4203
4203
  const Du = {
4204
4204
  name: "IbInputGroup",
4205
4205
  props: {
@@ -4298,7 +4298,7 @@ const Fu = {
4298
4298
  id: {
4299
4299
  type: String,
4300
4300
  default() {
4301
- return Jt();
4301
+ return Gt();
4302
4302
  }
4303
4303
  },
4304
4304
  value: {
@@ -4422,7 +4422,7 @@ const td = {
4422
4422
  id: {
4423
4423
  type: String,
4424
4424
  default() {
4425
- return Jt();
4425
+ return Gt();
4426
4426
  }
4427
4427
  },
4428
4428
  error: {
@@ -4583,7 +4583,7 @@ var ni = [
4583
4583
  time_24hr: !1,
4584
4584
  weekNumbers: !1,
4585
4585
  wrap: !1
4586
- }, Vn = {
4586
+ }, Un = {
4587
4587
  weekdays: {
4588
4588
  shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
4589
4589
  longhand: [
@@ -4679,7 +4679,7 @@ function qe(t, n, e) {
4679
4679
  var i = window.document.createElement(t);
4680
4680
  return n = n || "", e = e || "", i.className = n, e !== void 0 && (i.textContent = e), i;
4681
4681
  }
4682
- function lr(t) {
4682
+ function sr(t) {
4683
4683
  for (; t.firstChild; )
4684
4684
  t.removeChild(t.firstChild);
4685
4685
  }
@@ -4689,7 +4689,7 @@ function Fo(t, n) {
4689
4689
  if (t.parentNode)
4690
4690
  return Fo(t.parentNode, n);
4691
4691
  }
4692
- function sr(t, n) {
4692
+ function ur(t, n) {
4693
4693
  var e = qe("div", "numInputWrapper"), i = qe("input", "numInput " + t), o = qe("span", "arrowUp"), r = qe("span", "arrowDown");
4694
4694
  if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? i.type = "number" : (i.type = "text", i.pattern = "\\d*"), n !== void 0)
4695
4695
  for (var l in n)
@@ -4708,7 +4708,7 @@ function wt(t) {
4708
4708
  }
4709
4709
  }
4710
4710
  var ii = function() {
4711
- }, pr = function(t, n, e) {
4711
+ }, gr = function(t, n, e) {
4712
4712
  return e.months[n ? "shorthand" : "longhand"][t];
4713
4713
  }, id = {
4714
4714
  D: ii,
@@ -4799,18 +4799,18 @@ var ii = function() {
4799
4799
  u: "(.+)",
4800
4800
  w: "(\\d\\d|\\d)",
4801
4801
  y: "(\\d{2})"
4802
- }, qn = {
4802
+ }, Fn = {
4803
4803
  Z: function(t) {
4804
4804
  return t.toISOString();
4805
4805
  },
4806
4806
  D: function(t, n, e) {
4807
- return n.weekdays.shorthand[qn.w(t, n, e)];
4807
+ return n.weekdays.shorthand[Fn.w(t, n, e)];
4808
4808
  },
4809
4809
  F: function(t, n, e) {
4810
- return pr(qn.n(t, n, e) - 1, !1, n);
4810
+ return gr(Fn.n(t, n, e) - 1, !1, n);
4811
4811
  },
4812
4812
  G: function(t, n, e) {
4813
- return yt(qn.h(t, n, e));
4813
+ return yt(Fn.h(t, n, e));
4814
4814
  },
4815
4815
  H: function(t) {
4816
4816
  return yt(t.getHours());
@@ -4822,7 +4822,7 @@ var ii = function() {
4822
4822
  return n.amPM[Ct(t.getHours() > 11)];
4823
4823
  },
4824
4824
  M: function(t, n) {
4825
- return pr(t.getMonth(), !0, n);
4825
+ return gr(t.getMonth(), !0, n);
4826
4826
  },
4827
4827
  S: function(t) {
4828
4828
  return yt(t.getSeconds());
@@ -4870,15 +4870,15 @@ var ii = function() {
4870
4870
  return String(t.getFullYear()).substring(2);
4871
4871
  }
4872
4872
  }, Ho = function(t) {
4873
- var n = t.config, e = n === void 0 ? _n : n, i = t.l10n, o = i === void 0 ? Vn : i, r = t.isMobile, l = r === void 0 ? !1 : r;
4873
+ var n = t.config, e = n === void 0 ? _n : n, i = t.l10n, o = i === void 0 ? Un : i, r = t.isMobile, l = r === void 0 ? !1 : r;
4874
4874
  return function(a, d, f) {
4875
4875
  var h = f || o;
4876
4876
  return e.formatDate !== void 0 && !l ? e.formatDate(a, d, h) : d.split("").map(function(c, s, u) {
4877
- return qn[c] && u[s - 1] !== "\\" ? qn[c](a, h, e) : c !== "\\" ? c : "";
4877
+ return Fn[c] && u[s - 1] !== "\\" ? Fn[c](a, h, e) : c !== "\\" ? c : "";
4878
4878
  }).join("");
4879
4879
  };
4880
4880
  }, pi = function(t) {
4881
- var n = t.config, e = n === void 0 ? _n : n, i = t.l10n, o = i === void 0 ? Vn : i;
4881
+ var n = t.config, e = n === void 0 ? _n : n, i = t.l10n, o = i === void 0 ? Un : i;
4882
4882
  return function(r, l, a, d) {
4883
4883
  if (!(r !== 0 && !r)) {
4884
4884
  var f = d || o, h, c = r;
@@ -4908,8 +4908,8 @@ var ii = function() {
4908
4908
  p || (m += ".");
4909
4909
  }
4910
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) {
4911
- var S = E.fn, P = E.val;
4912
- return h = S(h, P, f) || h;
4911
+ var S = E.fn, M = E.val;
4912
+ return h = S(h, M, f) || h;
4913
4913
  }), h = _ ? h : void 0;
4914
4914
  }
4915
4915
  }
@@ -4981,7 +4981,7 @@ var ct = globalThis && globalThis.__assign || function() {
4981
4981
  function ud(t, n) {
4982
4982
  var e = {
4983
4983
  config: ct(ct({}, _n), Je.defaultConfig),
4984
- l10n: Vn
4984
+ l10n: Un
4985
4985
  };
4986
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;
4987
4987
  function i() {
@@ -5041,8 +5041,8 @@ function ud(t, n) {
5041
5041
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
5042
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);
5043
5043
  if (me > Ce && me < de) {
5044
- var Pe = ad(de);
5045
- I = Pe[0], L = Pe[1], z = Pe[2];
5044
+ var Me = ad(de);
5045
+ I = Me[0], L = Me[1], z = Me[2];
5046
5046
  }
5047
5047
  } else {
5048
5048
  if (le) {
@@ -5092,7 +5092,7 @@ function ud(t, n) {
5092
5092
  return v(X, "click", e[z]);
5093
5093
  });
5094
5094
  }), e.isMobile) {
5095
- On();
5095
+ kn();
5096
5096
  return;
5097
5097
  }
5098
5098
  var I = Hi(Ee, 50);
@@ -5124,7 +5124,7 @@ function ud(t, n) {
5124
5124
  ~L.className.indexOf("arrow") && p(I, L.classList.contains("arrowUp") ? 1 : -1);
5125
5125
  }
5126
5126
  function p(I, L, z) {
5127
- var X = I && wt(I), le = z || X && X.parentNode && X.parentNode.firstChild, de = Yt("increment");
5127
+ var X = I && wt(I), le = z || X && X.parentNode && X.parentNode.firstChild, de = Wt("increment");
5128
5128
  de.delta = L, le && le.dispatchEvent(de);
5129
5129
  }
5130
5130
  function w() {
@@ -5154,14 +5154,14 @@ function ud(t, n) {
5154
5154
  function S(I) {
5155
5155
  for (var L = I > 0 ? 0 : e.config.showMonths - 1, z = I > 0 ? e.config.showMonths : -1, X = L; X != z; X += I)
5156
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) {
5157
- var Pe = le.children[me];
5158
- if (Pe.className.indexOf("hidden") === -1 && Z(Pe.dateObj))
5159
- return Pe;
5157
+ var Me = le.children[me];
5158
+ if (Me.className.indexOf("hidden") === -1 && Z(Me.dateObj))
5159
+ return Me;
5160
5160
  }
5161
5161
  }
5162
- function P(I, L) {
5162
+ function M(I, L) {
5163
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)
5164
- 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) {
5165
5165
  var ke = Ce.children[pe];
5166
5166
  if (ke.className.indexOf("hidden") === -1 && Z(ke.dateObj) && Math.abs(I.$i - pe) >= Math.abs(L))
5167
5167
  return E(ke);
@@ -5170,21 +5170,21 @@ function ud(t, n) {
5170
5170
  }
5171
5171
  function C(I, L) {
5172
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);
5173
- 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);
5174
5174
  }
5175
5175
  function O(I, L) {
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", 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++)
5177
5177
  de.appendChild(x("flatpickr-day " + me, new Date(I, L - 1, pe), pe, ke));
5178
5178
  for (pe = 1; pe <= le; pe++, ke++)
5179
5179
  de.appendChild(x("flatpickr-day", new Date(I, L, pe), pe, ke));
5180
5180
  for (var Re = le + 1; Re <= 42 - z && (e.config.showMonths === 1 || ke % 7 !== 0); Re++, ke++)
5181
- 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));
5182
5182
  var Ue = qe("div", "dayContainer");
5183
5183
  return Ue.appendChild(de), Ue;
5184
5184
  }
5185
5185
  function k() {
5186
5186
  if (e.daysContainer !== void 0) {
5187
- lr(e.daysContainer), e.weekNumbers && lr(e.weekNumbers);
5187
+ sr(e.daysContainer), e.weekNumbers && sr(e.weekNumbers);
5188
5188
  for (var I = document.createDocumentFragment(), L = 0; L < e.config.showMonths; L++) {
5189
5189
  var z = new Date(e.currentYear, e.currentMonth, 1);
5190
5190
  z.setMonth(e.currentMonth + L), I.appendChild(O(z.getFullYear(), z.getMonth()));
@@ -5201,17 +5201,17 @@ function ud(t, n) {
5201
5201
  for (var L = 0; L < 12; L++)
5202
5202
  if (I(L)) {
5203
5203
  var z = qe("option", "flatpickr-monthDropdown-month");
5204
- 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);
5205
5205
  }
5206
5206
  }
5207
5207
  }
5208
- function M() {
5208
+ function P() {
5209
5209
  var I = qe("div", "flatpickr-month"), L = window.document.createDocumentFragment(), z;
5210
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) {
5211
- var me = wt(Ce), Pe = parseInt(me.value, 10);
5212
- 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");
5213
5213
  }), T(), z = e.monthsDropdownContainer);
5214
- 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];
5215
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());
5216
5216
  var de = qe("div", "flatpickr-current-month");
5217
5217
  return de.appendChild(z), de.appendChild(X), L.appendChild(de), I.appendChild(L), {
@@ -5221,9 +5221,9 @@ function ud(t, n) {
5221
5221
  };
5222
5222
  }
5223
5223
  function q() {
5224
- 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 = []);
5225
5225
  for (var I = e.config.showMonths; I--; ) {
5226
- var L = M();
5226
+ var L = P();
5227
5227
  e.yearElements.push(L.yearElement), e.monthElements.push(L.monthElement), e.monthNav.appendChild(L.container);
5228
5228
  }
5229
5229
  e.monthNav.appendChild(e.nextMonthNav);
@@ -5249,22 +5249,22 @@ function ud(t, n) {
5249
5249
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
5250
5250
  var I = ai(e.config);
5251
5251
  e.timeContainer = qe("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
5252
- var L = qe("span", "flatpickr-time-separator", ":"), z = sr("flatpickr-hour", {
5252
+ var L = qe("span", "flatpickr-time-separator", ":"), z = ur("flatpickr-hour", {
5253
5253
  "aria-label": e.l10n.hourAriaLabel
5254
5254
  });
5255
5255
  e.hourElement = z.getElementsByTagName("input")[0];
5256
- var X = sr("flatpickr-minute", {
5256
+ var X = ur("flatpickr-minute", {
5257
5257
  "aria-label": e.l10n.minuteAriaLabel
5258
5258
  });
5259
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) {
5260
5260
  e.timeContainer.classList.add("hasSeconds");
5261
- var le = sr("flatpickr-second");
5261
+ var le = ur("flatpickr-second");
5262
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);
5263
5263
  }
5264
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;
5265
5265
  }
5266
5266
  function oe() {
5267
- e.weekdayContainer ? lr(e.weekdayContainer) : e.weekdayContainer = qe("div", "flatpickr-weekdays");
5267
+ e.weekdayContainer ? sr(e.weekdayContainer) : e.weekdayContainer = qe("div", "flatpickr-weekdays");
5268
5268
  for (var I = e.config.showMonths; I--; ) {
5269
5269
  var L = qe("div", "flatpickr-weekdaycontainer");
5270
5270
  e.weekdayContainer.appendChild(L);
@@ -5394,8 +5394,8 @@ function ud(t, n) {
5394
5394
  if (me instanceof Date && X !== void 0 && me.getTime() === X.getTime())
5395
5395
  return le;
5396
5396
  if (typeof me == "string") {
5397
- var Pe = e.parseDate(me, void 0, !0);
5398
- 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;
5399
5399
  } else if (typeof me == "object" && X !== void 0 && me.from && me.to && X.getTime() >= me.from.getTime() && X.getTime() <= me.to.getTime())
5400
5400
  return le;
5401
5401
  }
@@ -5433,8 +5433,8 @@ function ud(t, n) {
5433
5433
  I.preventDefault();
5434
5434
  var me = r();
5435
5435
  if (e.daysContainer !== void 0 && (X === !1 || me && J(me))) {
5436
- var Pe = I.keyCode === 39 ? 1 : -1;
5437
- 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);
5438
5438
  }
5439
5439
  } else
5440
5440
  e.hourElement && e.hourElement.focus();
@@ -5479,21 +5479,21 @@ function ud(t, n) {
5479
5479
  }
5480
5480
  function _e(I, L) {
5481
5481
  if (L === void 0 && (L = "flatpickr-day"), !(e.selectedDates.length !== 1 || I && (!I.classList.contains(L) || I.classList.contains("flatpickr-disabled")))) {
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, Pe = 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 && (!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));
5484
5484
  var ke = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + L));
5485
5485
  ke.forEach(function(Re) {
5486
- 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;
5487
5487
  if (Ht) {
5488
- Re.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(Pt) {
5489
- Re.classList.remove(Pt);
5488
+ Re.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(Mt) {
5489
+ Re.classList.remove(Mt);
5490
5490
  });
5491
5491
  return;
5492
5492
  } else if (Ce && !Ht)
5493
5493
  return;
5494
- ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(Pt) {
5495
- Re.classList.remove(Pt);
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 && (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"));
5497
5497
  });
5498
5498
  }
5499
5499
  }
@@ -5516,7 +5516,7 @@ function ud(t, n) {
5516
5516
  return e.hourElement.select();
5517
5517
  }, 50);
5518
5518
  }
5519
- function Me(I) {
5519
+ function Pe(I) {
5520
5520
  return function(L) {
5521
5521
  var z = e.config["_" + I + "Date"] = e.parseDate(L, e.config.dateFormat), X = e.config["_" + (I === "min" ? "max" : "min") + "Date"];
5522
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) {
@@ -5569,12 +5569,12 @@ function ud(t, n) {
5569
5569
  get: function() {
5570
5570
  return e.config._minDate;
5571
5571
  },
5572
- set: Me("min")
5572
+ set: Pe("min")
5573
5573
  }), Object.defineProperty(e.config, "maxDate", {
5574
5574
  get: function() {
5575
5575
  return e.config._maxDate;
5576
5576
  },
5577
- set: Me("max")
5577
+ set: Pe("max")
5578
5578
  });
5579
5579
  var Ce = function(ke) {
5580
5580
  return function(Re) {
@@ -5600,9 +5600,9 @@ function ud(t, n) {
5600
5600
  e.config[ke] = ri(e.config[ke] || []).map(l);
5601
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);
5602
5602
  for (var me = 0; me < e.config.plugins.length; me++) {
5603
- var Pe = e.config.plugins[me](e) || {};
5604
- for (var pe in Pe)
5605
- ni.indexOf(pe) > -1 ? e.config[pe] = ri(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]);
5606
5606
  }
5607
5607
  L.altInputClass || (e.config.altInputClass = ze().className + " " + e.config.altInputClass), Fe("onParseConfig");
5608
5608
  }
@@ -5619,24 +5619,24 @@ function ud(t, n) {
5619
5619
  return void e.config.position(e, I);
5620
5620
  if (e.calendarContainer !== void 0) {
5621
5621
  Fe("onPreCalendarPosition");
5622
- var L = I || e._positionElement, z = Array.prototype.reduce.call(e.calendarContainer.children, function(st, An) {
5623
- return st + An.offsetHeight;
5624
- }, 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);
5622
+ var L = I || e._positionElement, z = Array.prototype.reduce.call(e.calendarContainer.children, function(st, Nn) {
5623
+ return st + Nn.offsetHeight;
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);
5625
5625
  if (gt(e.calendarContainer, "arrowTop", !pe), gt(e.calendarContainer, "arrowBottom", pe), !e.config.inline) {
5626
5626
  var Re = window.pageXOffset + me.left, Ue = !1, it = !1;
5627
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);
5628
- var Ht = window.document.body.offsetWidth - (window.pageXOffset + me.right), Pt = Re + X > window.document.body.offsetWidth, kn = Ht + X > window.document.body.offsetWidth;
5629
- if (gt(e.calendarContainer, "rightMost", Pt), !e.config.static)
5630
- 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, Cn = 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)
5631
5631
  e.calendarContainer.style.left = Re + "px", e.calendarContainer.style.right = "auto";
5632
- else if (!kn)
5632
+ else if (!Cn)
5633
5633
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = Ht + "px";
5634
5634
  else {
5635
5635
  var rn = se();
5636
5636
  if (rn === void 0)
5637
5637
  return;
5638
- var nt = window.document.body.offsetWidth, Cn = Math.max(0, nt / 2 - X / 2), En = ".flatpickr-calendar.centerMost:before", Sn = ".flatpickr-calendar.centerMost:after", xn = rn.cssRules.length, Tn = "{left:" + me.left + "px;right:auto;}";
5639
- gt(e.calendarContainer, "rightMost", !1), gt(e.calendarContainer, "centerMost", !0), rn.insertRule(En + "," + Sn + Tn, xn), e.calendarContainer.style.left = Cn + "px", e.calendarContainer.style.right = "auto";
5638
+ var nt = window.document.body.offsetWidth, En = Math.max(0, nt / 2 - X / 2), Sn = ".flatpickr-calendar.centerMost:before", xn = ".flatpickr-calendar.centerMost:after", Tn = rn.cssRules.length, An = "{left:" + me.left + "px;right:auto;}";
5639
+ gt(e.calendarContainer, "rightMost", !1), gt(e.calendarContainer, "centerMost", !0), rn.insertRule(Sn + "," + xn + An, Tn), e.calendarContainer.style.left = En + "px", e.calendarContainer.style.right = "auto";
5640
5640
  }
5641
5641
  }
5642
5642
  }
@@ -5687,8 +5687,8 @@ function ud(t, n) {
5687
5687
  e.currentYear = le.getFullYear(), e.currentMonth = le.getMonth(), me && (Fe("onYearChange"), T()), Fe("onMonthChange");
5688
5688
  }
5689
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) {
5690
- var Pe = e.config.mode === "single" && !e.config.enableTime, pe = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
5691
- (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();
5692
5692
  }
5693
5693
  y();
5694
5694
  }
@@ -5781,7 +5781,7 @@ function ud(t, n) {
5781
5781
  function en() {
5782
5782
  e._positionElement = e.config.positionElement || e._input;
5783
5783
  }
5784
- function On() {
5784
+ function kn() {
5785
5785
  var I = e.config.enableTime ? e.config.noCalendar ? "time" : "datetime-local" : "date";
5786
5786
  e.mobileInput = qe("input", e.input.className + " flatpickr-mobile"), e.mobileInput.tabIndex = 1, e.mobileInput.type = I, e.mobileInput.disabled = e.input.disabled, e.mobileInput.required = e.input.required, e.mobileInput.placeholder = e.input.placeholder, e.mobileFormatStr = I === "datetime-local" ? "Y-m-d\\TH:i:S" : I === "date" ? "Y-m-d" : "H:i:S", e.selectedDates.length > 0 && (e.mobileInput.defaultValue = e.mobileInput.value = e.formatDate(e.selectedDates[0], e.mobileFormatStr)), e.config.minDate && (e.mobileInput.min = e.formatDate(e.config.minDate, "Y-m-d")), e.config.maxDate && (e.mobileInput.max = e.formatDate(e.config.maxDate, "Y-m-d")), e.input.getAttribute("step") && (e.mobileInput.step = String(e.input.getAttribute("step"))), e.input.type = "hidden", e.altInput !== void 0 && (e.altInput.type = "hidden");
5787
5787
  try {
@@ -5803,10 +5803,10 @@ function ud(t, n) {
5803
5803
  if (z !== void 0 && z.length > 0)
5804
5804
  for (var X = 0; z[X] && X < z.length; X++)
5805
5805
  z[X](e.selectedDates, e.input.value, e, L);
5806
- I === "onChange" && (e.input.dispatchEvent(Yt("change")), e.input.dispatchEvent(Yt("input")));
5806
+ I === "onChange" && (e.input.dispatchEvent(Wt("change")), e.input.dispatchEvent(Wt("input")));
5807
5807
  }
5808
5808
  }
5809
- function Yt(I) {
5809
+ function Wt(I) {
5810
5810
  var L = document.createEvent("Event");
5811
5811
  return L.initEvent(I, !0, !0), L;
5812
5812
  }
@@ -5824,7 +5824,7 @@ function ud(t, n) {
5824
5824
  function lt() {
5825
5825
  e.config.noCalendar || e.isMobile || !e.monthNav || (e.yearElements.forEach(function(I, L) {
5826
5826
  var z = new Date(e.currentYear, e.currentMonth, 1);
5827
- 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();
5828
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()));
5829
5829
  }
5830
5830
  function It(I) {
@@ -5846,7 +5846,7 @@ function ud(t, n) {
5846
5846
  I.preventDefault();
5847
5847
  var L = I.type === "keydown", z = wt(I), X = z;
5848
5848
  e.amPM !== void 0 && z === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ct(e.amPM.textContent === e.l10n.amPM[0])]);
5849
- 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;
5850
5850
  if (typeof X.value < "u" && X.value.length === 2) {
5851
5851
  var ke = X === e.hourElement, Re = X === e.minuteElement;
5852
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);
@@ -5879,8 +5879,8 @@ var Je = function(t, n) {
5879
5879
  };
5880
5880
  Je.defaultConfig = {};
5881
5881
  Je.l10ns = {
5882
- en: ct({}, Vn),
5883
- default: ct({}, Vn)
5882
+ en: ct({}, Un),
5883
+ default: ct({}, Un)
5884
5884
  };
5885
5885
  Je.localize = function(t) {
5886
5886
  Je.l10ns.default = ct(ct({}, Je.l10ns.default), t);
@@ -7755,24 +7755,24 @@ function zi(t, n) {
7755
7755
  i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
7756
7756
  }
7757
7757
  }
7758
- function Pd(t, n, e) {
7758
+ function Md(t, n, e) {
7759
7759
  return n && zi(t.prototype, n), e && zi(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
7760
7760
  }
7761
- function Md(t, n) {
7761
+ function Pd(t, n) {
7762
7762
  if (!(t instanceof n))
7763
7763
  throw new TypeError("Cannot call a class as a function");
7764
7764
  }
7765
7765
  function Dd(t, n) {
7766
7766
  if (typeof n != "function" && n !== null)
7767
7767
  throw new TypeError("Super expression must either be null or a function");
7768
- t.prototype = Object.create(n && n.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), n && Un(t, n);
7768
+ t.prototype = Object.create(n && n.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), n && zn(t, n);
7769
7769
  }
7770
7770
  function Ld(t) {
7771
7771
  var n = zo();
7772
7772
  return function() {
7773
- var e = zn(t), i;
7773
+ var e = Kn(t), i;
7774
7774
  if (n) {
7775
- var o = zn(this).constructor;
7775
+ var o = Kn(this).constructor;
7776
7776
  i = Reflect.construct(e, arguments, o);
7777
7777
  } else
7778
7778
  i = e.apply(this, arguments);
@@ -7804,18 +7804,18 @@ function mi(t) {
7804
7804
  n.set(e, i);
7805
7805
  }
7806
7806
  function i() {
7807
- return fr(e, arguments, zn(this).constructor);
7807
+ return hr(e, arguments, Kn(this).constructor);
7808
7808
  }
7809
- return i.prototype = Object.create(e.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), Un(i, e);
7809
+ return i.prototype = Object.create(e.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), zn(i, e);
7810
7810
  }, mi(t);
7811
7811
  }
7812
- function fr(t, n, e) {
7813
- 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) {
7814
7814
  var l = [null];
7815
7815
  l.push.apply(l, o);
7816
7816
  var a = Function.bind.apply(i, l), d = new a();
7817
- return r && Un(d, r.prototype), d;
7818
- }, fr.apply(null, arguments);
7817
+ return r && zn(d, r.prototype), d;
7818
+ }, hr.apply(null, arguments);
7819
7819
  }
7820
7820
  function zo() {
7821
7821
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
@@ -7832,25 +7832,25 @@ function zo() {
7832
7832
  function Bd(t) {
7833
7833
  return Function.toString.call(t).indexOf("[native code]") !== -1;
7834
7834
  }
7835
- function Un(t, n) {
7836
- return Un = Object.setPrototypeOf || function(e, i) {
7835
+ function zn(t, n) {
7836
+ return zn = Object.setPrototypeOf || function(e, i) {
7837
7837
  return e.__proto__ = i, e;
7838
- }, Un(t, n);
7838
+ }, zn(t, n);
7839
7839
  }
7840
- function zn(t) {
7841
- return zn = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
7840
+ function Kn(t) {
7841
+ return Kn = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
7842
7842
  return n.__proto__ || Object.getPrototypeOf(n);
7843
- }, zn(t);
7843
+ }, Kn(t);
7844
7844
  }
7845
- var Zt = /* @__PURE__ */ function(t) {
7845
+ var Jt = /* @__PURE__ */ function(t) {
7846
7846
  Dd(e, t);
7847
7847
  var n = Ld(e);
7848
7848
  function e(i) {
7849
7849
  var o;
7850
- 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;
7851
7851
  }
7852
- return Pd(e);
7853
- }(/* @__PURE__ */ mi(Error)), Si = 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), xi = "++";
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 = "++";
7854
7854
  function Ki(t, n) {
7855
7855
  t = t.split("-"), n = n.split("-");
7856
7856
  for (var e = t[0].split("."), i = n[0].split("."), o = 0; o < 3; o++) {
@@ -7866,12 +7866,12 @@ function Ki(t, n) {
7866
7866
  }
7867
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;
7868
7868
  }
7869
- function mr(t) {
7870
- 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) {
7871
7871
  return typeof n;
7872
7872
  } : function(n) {
7873
7873
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
7874
- }, mr(t);
7874
+ }, vr(t);
7875
7875
  }
7876
7876
  function Sr(t, n) {
7877
7877
  if (!(t instanceof n))
@@ -8303,9 +8303,9 @@ function Qd(t) {
8303
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, "."));
8304
8304
  }
8305
8305
  var si = function(t) {
8306
- return mr(t) === "object";
8306
+ return vr(t) === "object";
8307
8307
  }, ec = function(t) {
8308
- return mr(t);
8308
+ return vr(t);
8309
8309
  };
8310
8310
  function Ti(t, n) {
8311
8311
  if (n = new kt(n), n.hasCountry(t))
@@ -8326,7 +8326,7 @@ function Go(t) {
8326
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;
8327
8327
  return u + "|" + _ + "|" + v + "|" + y + "|" + g + "|" + m;
8328
8328
  }
8329
- var rc = "[" + Xt + "]{" + Si + "}", ic = "[" + xi + "]{0,1}(?:[" + gr + "]*[" + Xt + "]){3,}[" + gr + Xt + "]*", oc = new RegExp("^[" + xi + "]{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
8330
8330
  "(?:" + Go() + ")?", lc = new RegExp(
8331
8331
  // Either a short two-digit-only phone number
8332
8332
  "^" + rc + "$|^" + ac + "$",
@@ -8651,7 +8651,7 @@ function Cc(t) {
8651
8651
  throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
8652
8652
  return "tel:".concat(n).concat(e ? ";ext=" + e : "");
8653
8653
  }
8654
- function Gt(t, n) {
8654
+ function Yt(t, n) {
8655
8655
  return t = t || "", new RegExp("^(?:" + n + ")$").test(t);
8656
8656
  }
8657
8657
  function Ec(t, n) {
@@ -8690,7 +8690,7 @@ function Ni(t, n, e) {
8690
8690
  if (n = n || {}, !!t.country) {
8691
8691
  e = new kt(e), e.selectNumberingPlan(t.country, t.countryCallingCode);
8692
8692
  var i = n.v2 ? t.nationalNumber : t.phone;
8693
- if (Gt(i, e.nationalNumberPattern())) {
8693
+ if (Yt(i, e.nationalNumberPattern())) {
8694
8694
  if (ui(i, "FIXED_LINE", e))
8695
8695
  return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || ui(i, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
8696
8696
  for (var o = Ec(xc), r; !(r = o()).done; ) {
@@ -8702,7 +8702,7 @@ function Ni(t, n, e) {
8702
8702
  }
8703
8703
  }
8704
8704
  function ui(t, n, e) {
8705
- return n = e.type(n), !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(t.length) < 0 ? !1 : Gt(t, n.pattern());
8705
+ return n = e.type(n), !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(t.length) < 0 ? !1 : Yt(t, n.pattern());
8706
8706
  }
8707
8707
  function Tc(t, n, e) {
8708
8708
  if (n = n || {}, e = new kt(e), !t.country)
@@ -8710,10 +8710,10 @@ function Tc(t, n, e) {
8710
8710
  if (e.selectNumberingPlan(t.country, t.countryCallingCode), e.hasTypes())
8711
8711
  return Ni(t, n, e.metadata) !== void 0;
8712
8712
  var i = n.v2 ? t.nationalNumber : t.phone;
8713
- return Gt(i, e.nationalNumberPattern());
8713
+ return Yt(i, e.nationalNumberPattern());
8714
8714
  }
8715
8715
  function Ac(t) {
8716
- return t.replace(new RegExp("[".concat(gr, "]+"), "g"), " ").trim();
8716
+ return t.replace(new RegExp("[".concat(mr, "]+"), "g"), " ").trim();
8717
8717
  }
8718
8718
  var Nc = /(\$\d)/;
8719
8719
  function Ic(t, n, e) {
@@ -8737,12 +8737,12 @@ function Ic(t, n, e) {
8737
8737
  ));
8738
8738
  return i ? Ac(r) : r;
8739
8739
  }
8740
- var Pc = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
8741
- function Mc(t, n, e) {
8740
+ var Mc = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
8741
+ function Pc(t, n, e) {
8742
8742
  var i = new kt(e);
8743
8743
  if (i.selectNumberingPlan(t, n), i.defaultIDDPrefix())
8744
8744
  return i.defaultIDDPrefix();
8745
- if (Pc.test(i.IDDPrefix()))
8745
+ if (Mc.test(i.IDDPrefix()))
8746
8746
  return i.IDDPrefix();
8747
8747
  }
8748
8748
  function Dc(t, n) {
@@ -8817,9 +8817,9 @@ function Bc(t, n, e, i) {
8817
8817
  var o = i.countryCallingCode(), r = e.v2 ? t.nationalNumber : t.phone, l;
8818
8818
  switch (n) {
8819
8819
  case "NATIONAL":
8820
- return r ? (l = vr(r, t.carrierCode, "NATIONAL", i, e), di(l, t.ext, i, e.formatExtension)) : "";
8820
+ return r ? (l = yr(r, t.carrierCode, "NATIONAL", i, e), di(l, t.ext, i, e.formatExtension)) : "";
8821
8821
  case "INTERNATIONAL":
8822
- return r ? (l = vr(r, null, "INTERNATIONAL", i, e), l = "+".concat(o, " ").concat(l), di(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);
8823
8823
  case "E.164":
8824
8824
  return "+".concat(o).concat(r);
8825
8825
  case "RFC3966":
@@ -8836,7 +8836,7 @@ function Bc(t, n, e, i) {
8836
8836
  throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n, '"'));
8837
8837
  }
8838
8838
  }
8839
- function vr(t, n, e, i, o) {
8839
+ function yr(t, n, e, i, o) {
8840
8840
  var r = jc(i.formats(), t);
8841
8841
  return r ? Ic(t, r, {
8842
8842
  useInternationalFormat: e === "INTERNATIONAL",
@@ -8853,7 +8853,7 @@ function jc(t, n) {
8853
8853
  if (n.search(r) !== 0)
8854
8854
  continue;
8855
8855
  }
8856
- if (Gt(n, o.pattern()))
8856
+ if (Yt(n, o.pattern()))
8857
8857
  return o;
8858
8858
  }
8859
8859
  }
@@ -8863,12 +8863,12 @@ function di(t, n, e, i) {
8863
8863
  function qc(t, n, e, i, o) {
8864
8864
  var r = Ti(i, o.metadata);
8865
8865
  if (r === e) {
8866
- var l = vr(t, n, "NATIONAL", o);
8866
+ var l = yr(t, n, "NATIONAL", o);
8867
8867
  return e === "1" ? e + " " + l : l;
8868
8868
  }
8869
- var a = Mc(i, void 0, o.metadata);
8869
+ var a = Pc(i, void 0, o.metadata);
8870
8870
  if (a)
8871
- return "".concat(a, " ").concat(e, " ").concat(vr(t, null, "INTERNATIONAL", o));
8871
+ return "".concat(a, " ").concat(e, " ").concat(yr(t, null, "INTERNATIONAL", o));
8872
8872
  }
8873
8873
  function lo(t, n) {
8874
8874
  var e = Object.keys(t);
@@ -9047,7 +9047,7 @@ function vi(t, n) {
9047
9047
  };
9048
9048
  }
9049
9049
  function Wc(t, n, e) {
9050
- return !(Gt(t, e.nationalNumberPattern()) && !Gt(n, e.nationalNumberPattern()));
9050
+ return !(Yt(t, e.nationalNumberPattern()) && !Yt(n, e.nationalNumberPattern()));
9051
9051
  }
9052
9052
  function Zc(t, n) {
9053
9053
  switch (Ai(t, n)) {
@@ -9063,7 +9063,7 @@ function Jc(t, n, e, i) {
9063
9063
  if (t.indexOf(o) === 0) {
9064
9064
  i = new kt(i), i.selectNumberingPlan(n, e);
9065
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")
9066
+ if (!Yt(f, i.nationalNumberPattern()) && Yt(a, i.nationalNumberPattern()) || Ai(f, i) === "TOO_LONG")
9067
9067
  return {
9068
9068
  countryCallingCode: o,
9069
9069
  number: r
@@ -9161,34 +9161,34 @@ function nf(t, n, e) {
9161
9161
  var rf = 250, of = new RegExp("[" + xi + Xt + "]"), af = new RegExp("[^" + Xt + "#]+$");
9162
9162
  function lf(t, n, e) {
9163
9163
  if (n = n || {}, e = new kt(e), n.defaultCountry && !e.hasCountry(n.defaultCountry))
9164
- throw n.v2 ? new Zt("INVALID_COUNTRY") : new Error("Unknown country: ".concat(n.defaultCountry));
9164
+ throw n.v2 ? new Jt("INVALID_COUNTRY") : new Error("Unknown country: ".concat(n.defaultCountry));
9165
9165
  var i = uf(t, n.v2, n.extract), o = i.number, r = i.ext, l = i.error;
9166
9166
  if (!o) {
9167
9167
  if (n.v2)
9168
- throw l === "TOO_SHORT" ? new Zt("TOO_SHORT") : new Zt("NOT_A_NUMBER");
9168
+ throw l === "TOO_SHORT" ? new Jt("TOO_SHORT") : new Jt("NOT_A_NUMBER");
9169
9169
  return {};
9170
9170
  }
9171
9171
  var a = cf(o, n.defaultCountry, n.defaultCallingCode, e), d = a.country, f = a.nationalNumber, h = a.countryCallingCode, c = a.carrierCode;
9172
9172
  if (!e.hasSelectedNumberingPlan()) {
9173
9173
  if (n.v2)
9174
- throw new Zt("INVALID_COUNTRY");
9174
+ throw new Jt("INVALID_COUNTRY");
9175
9175
  return {};
9176
9176
  }
9177
9177
  if (!f || f.length < Si) {
9178
9178
  if (n.v2)
9179
- throw new Zt("TOO_SHORT");
9179
+ throw new Jt("TOO_SHORT");
9180
9180
  return {};
9181
9181
  }
9182
9182
  if (f.length > jd) {
9183
9183
  if (n.v2)
9184
- throw new Zt("TOO_LONG");
9184
+ throw new Jt("TOO_LONG");
9185
9185
  return {};
9186
9186
  }
9187
9187
  if (n.v2) {
9188
9188
  var s = new Uc(h, f, e.metadata);
9189
9189
  return d && (s.country = d), c && (s.carrierCode = c), r && (s.ext = r), s;
9190
9190
  }
9191
- var u = (n.extended ? e.hasSelectedNumberingPlan() : d) ? Gt(f, e.nationalNumberPattern()) : !1;
9191
+ var u = (n.extended ? e.hasSelectedNumberingPlan() : d) ? Yt(f, e.nationalNumberPattern()) : !1;
9192
9192
  return n.extended ? {
9193
9193
  country: d,
9194
9194
  countryCallingCode: h,
@@ -9203,7 +9203,7 @@ function sf(t, n, e) {
9203
9203
  if (t) {
9204
9204
  if (t.length > rf) {
9205
9205
  if (e)
9206
- throw new Zt("TOO_LONG");
9206
+ throw new Jt("TOO_LONG");
9207
9207
  return;
9208
9208
  }
9209
9209
  if (n === !1)
@@ -9417,7 +9417,7 @@ function kf(t, n, e) {
9417
9417
  try {
9418
9418
  return hf(t, n, e);
9419
9419
  } catch (i) {
9420
- if (!(i instanceof Zt))
9420
+ if (!(i instanceof Jt))
9421
9421
  throw i;
9422
9422
  }
9423
9423
  }
@@ -9766,7 +9766,7 @@ const xf = {
9766
9766
  }, Tf = ["aria-expanded", "tabindex"], Af = { class: "vti__selection" }, Nf = {
9767
9767
  key: 1,
9768
9768
  class: "vti__country-code"
9769
- }, 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"];
9770
9770
  function Rf(t, n, e, i, o, r) {
9771
9771
  const l = Or("click-outside");
9772
9772
  return G(), ne("div", {
@@ -9812,7 +9812,7 @@ function Rf(t, n, e, i, o, r) {
9812
9812
  "onUpdate:modelValue": n[0] || (n[0] = (a) => o.searchQuery = a),
9813
9813
  onClick: n[1] || (n[1] = _t(() => {
9814
9814
  }, ["stop"]))
9815
- }, null, 8, Pf)), [
9815
+ }, null, 8, Mf)), [
9816
9816
  [xo, o.searchQuery]
9817
9817
  ]) : he("", !0),
9818
9818
  (G(!0), ne(rt, null, jt(r.sortedCountries, (a, d) => (G(), ne("li", {
@@ -9830,7 +9830,7 @@ function Rf(t, n, e, i, o, r) {
9830
9830
  }, null, 2)) : he("", !0),
9831
9831
  ae("strong", null, we(a.name), 1),
9832
9832
  e.dropdownOptions.showDialCodeInList ? (G(), ne("span", Df, " +" + we(a.dialCode), 1)) : he("", !0)
9833
- ], 42, Mf))), 128))
9833
+ ], 42, Pf))), 128))
9834
9834
  ], 2)) : he("", !0)
9835
9835
  ], 42, Tf)), [
9836
9836
  [l, r.clickedOutside]
@@ -10355,25 +10355,25 @@ var Xo = { exports: {} };
10355
10355
  }), i.default = i.BlockEmbed = i.bubbleFormats = void 0;
10356
10356
  var r = function() {
10357
10357
  function O(k, T) {
10358
- for (var M = 0; M < T.length; M++) {
10359
- var q = T[M];
10358
+ for (var P = 0; P < T.length; P++) {
10359
+ var q = T[P];
10360
10360
  q.enumerable = q.enumerable || !1, q.configurable = !0, "value" in q && (q.writable = !0), Object.defineProperty(k, q.key, q);
10361
10361
  }
10362
10362
  }
10363
- return function(k, T, M) {
10364
- 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;
10365
10365
  };
10366
- }(), l = function O(k, T, M) {
10366
+ }(), l = function O(k, T, P) {
10367
10367
  k === null && (k = Function.prototype);
10368
10368
  var q = Object.getOwnPropertyDescriptor(k, T);
10369
10369
  if (q === void 0) {
10370
10370
  var K = Object.getPrototypeOf(k);
10371
- return K === null ? void 0 : O(K, T, M);
10371
+ return K === null ? void 0 : O(K, T, P);
10372
10372
  } else {
10373
10373
  if ("value" in q)
10374
10374
  return q.value;
10375
10375
  var W = q.get;
10376
- return W === void 0 ? void 0 : W.call(M);
10376
+ return W === void 0 ? void 0 : W.call(P);
10377
10377
  }
10378
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);
10379
10379
  function $(O) {
@@ -10410,73 +10410,73 @@ var Xo = { exports: {} };
10410
10410
  }
10411
10411
  }, {
10412
10412
  key: "format",
10413
- value: function(M, q) {
10414
- 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);
10415
10415
  K != null && this.attributes.attribute(K, q);
10416
10416
  }
10417
10417
  }, {
10418
10418
  key: "formatAt",
10419
- value: function(M, q, K, W) {
10419
+ value: function(P, q, K, W) {
10420
10420
  this.format(K, W);
10421
10421
  }
10422
10422
  }, {
10423
10423
  key: "insertAt",
10424
- value: function(M, q, K) {
10424
+ value: function(P, q, K) {
10425
10425
  if (typeof q == "string" && q.endsWith(`
10426
10426
  `)) {
10427
- var W = s.default.create(P.blotName);
10428
- 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));
10429
10429
  } else
10430
- 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);
10431
10431
  }
10432
10432
  }]), k;
10433
10433
  }(s.default.Embed);
10434
10434
  S.scope = s.default.Scope.BLOCK_BLOT;
10435
- var P = function(O) {
10435
+ var M = function(O) {
10436
10436
  x(k, O);
10437
10437
  function k(T) {
10438
10438
  p(this, k);
10439
- var M = w(this, (k.__proto__ || Object.getPrototypeOf(k)).call(this, T));
10440
- return M.cache = {}, M;
10439
+ var P = w(this, (k.__proto__ || Object.getPrototypeOf(k)).call(this, T));
10440
+ return P.cache = {}, P;
10441
10441
  }
10442
10442
  return r(k, [{
10443
10443
  key: "delta",
10444
10444
  value: function() {
10445
- return this.cache.delta == null && (this.cache.delta = this.descendants(s.default.Leaf).reduce(function(M, q) {
10446
- 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));
10447
10447
  }, new h.default()).insert(`
10448
10448
  `, C(this))), this.cache.delta;
10449
10449
  }
10450
10450
  }, {
10451
10451
  key: "deleteAt",
10452
- value: function(M, q) {
10453
- 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 = {};
10454
10454
  }
10455
10455
  }, {
10456
10456
  key: "formatAt",
10457
- value: function(M, q, K, W) {
10458
- 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 = {});
10459
10459
  }
10460
10460
  }, {
10461
10461
  key: "insertAt",
10462
- value: function(M, q, K) {
10462
+ value: function(P, q, K) {
10463
10463
  if (K != null)
10464
- 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);
10465
10465
  if (q.length !== 0) {
10466
10466
  var W = q.split(`
10467
10467
  `), oe = W.shift();
10468
- 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 = {});
10469
10469
  var U = this;
10470
10470
  W.reduce(function(R, A) {
10471
10471
  return U = U.split(R, !0), U.insertAt(0, A), A.length;
10472
- }, M + oe.length);
10472
+ }, P + oe.length);
10473
10473
  }
10474
10474
  }
10475
10475
  }, {
10476
10476
  key: "insertBefore",
10477
- value: function(M, q) {
10477
+ value: function(P, q) {
10478
10478
  var K = this.children.head;
10479
- 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 = {};
10480
10480
  }
10481
10481
  }, {
10482
10482
  key: "length",
@@ -10485,44 +10485,44 @@ var Xo = { exports: {} };
10485
10485
  }
10486
10486
  }, {
10487
10487
  key: "moveChildren",
10488
- value: function(M, q) {
10489
- 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 = {};
10490
10490
  }
10491
10491
  }, {
10492
10492
  key: "optimize",
10493
- value: function(M) {
10494
- 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 = {};
10495
10495
  }
10496
10496
  }, {
10497
10497
  key: "path",
10498
- value: function(M) {
10499
- 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);
10500
10500
  }
10501
10501
  }, {
10502
10502
  key: "removeChild",
10503
- value: function(M) {
10504
- 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 = {};
10505
10505
  }
10506
10506
  }, {
10507
10507
  key: "split",
10508
- value: function(M) {
10508
+ value: function(P) {
10509
10509
  var q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
10510
- if (q && (M === 0 || M >= this.length() - E)) {
10510
+ if (q && (P === 0 || P >= this.length() - E)) {
10511
10511
  var K = this.clone();
10512
- 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);
10513
10513
  } else {
10514
- 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);
10515
10515
  return this.cache = {}, W;
10516
10516
  }
10517
10517
  }
10518
10518
  }]), k;
10519
10519
  }(s.default.Block);
10520
- 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];
10521
10521
  function C(O) {
10522
10522
  var k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
10523
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);
10524
10524
  }
10525
- i.bubbleFormats = C, i.BlockEmbed = S, i.default = P;
10525
+ i.bubbleFormats = C, i.BlockEmbed = S, i.default = M;
10526
10526
  },
10527
10527
  /* 5 */
10528
10528
  /***/
@@ -10571,7 +10571,7 @@ var Xo = { exports: {} };
10571
10571
  };
10572
10572
  }();
10573
10573
  o(50);
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), 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);
10575
10575
  function C(U) {
10576
10576
  return U && U.__esModule ? U : { default: U };
10577
10577
  }
@@ -10582,7 +10582,7 @@ var Xo = { exports: {} };
10582
10582
  if (!(U instanceof R))
10583
10583
  throw new TypeError("Cannot call a class as a function");
10584
10584
  }
10585
- var T = (0, E.default)("quill"), M = function() {
10585
+ var T = (0, E.default)("quill"), P = function() {
10586
10586
  a(U, null, [{
10587
10587
  key: "debug",
10588
10588
  value: function(A) {
@@ -10879,7 +10879,7 @@ var Xo = { exports: {} };
10879
10879
  }
10880
10880
  }]), U;
10881
10881
  }();
10882
- M.DEFAULTS = {
10882
+ P.DEFAULTS = {
10883
10883
  bounds: null,
10884
10884
  formats: null,
10885
10885
  modules: {},
@@ -10888,11 +10888,11 @@ var Xo = { exports: {} };
10888
10888
  scrollingContainer: null,
10889
10889
  strict: !0,
10890
10890
  theme: "default"
10891
- }, 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 = {
10892
10892
  delta: f.default,
10893
10893
  parchment: g.default,
10894
10894
  "core/module": v.default,
10895
- "core/theme": P.default
10895
+ "core/theme": M.default
10896
10896
  };
10897
10897
  function q(U, R) {
10898
10898
  if (R = (0, w.default)(!0, {
@@ -10902,9 +10902,9 @@ var Xo = { exports: {} };
10902
10902
  keyboard: !0,
10903
10903
  history: !0
10904
10904
  }
10905
- }, R), !R.theme || R.theme === M.DEFAULTS.theme)
10906
- R.theme = P.default;
10907
- 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)
10908
10908
  throw new Error("Invalid theme " + R.theme + ". Did you register it?");
10909
10909
  var A = (0, w.default)(!0, {}, R.theme.DEFAULTS);
10910
10910
  [A, R].forEach(function(Y) {
@@ -10913,12 +10913,12 @@ var Xo = { exports: {} };
10913
10913
  });
10914
10914
  });
10915
10915
  var B = Object.keys(A.modules).concat(Object.keys(R.modules)), j = B.reduce(function(Y, H) {
10916
- var D = M.import("modules/" + H);
10916
+ var D = P.import("modules/" + H);
10917
10917
  return D == null ? T.error("Cannot load " + H + " module. Are you sure you registered it?") : Y[H] = D.DEFAULTS || {}, Y;
10918
10918
  }, {});
10919
10919
  return R.modules != null && R.modules.toolbar && R.modules.toolbar.constructor !== Object && (R.modules.toolbar = {
10920
10920
  container: R.modules.toolbar
10921
- }), 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) {
10922
10922
  typeof R[Y] == "string" && (R[Y] = document.querySelector(R[Y]));
10923
10923
  }), R.modules = Object.keys(R.modules).reduce(function(Y, H) {
10924
10924
  return R.modules[H] && (Y[H] = R.modules[H]), Y;
@@ -10958,7 +10958,7 @@ var Xo = { exports: {} };
10958
10958
  }
10959
10959
  return new m.Range(j, Y - j);
10960
10960
  }
10961
- i.expandConfig = q, i.overload = W, i.default = M;
10961
+ i.expandConfig = q, i.overload = W, i.default = P;
10962
10962
  },
10963
10963
  /* 6 */
10964
10964
  /***/
@@ -11159,8 +11159,8 @@ var Xo = { exports: {} };
11159
11159
  value: function(w) {
11160
11160
  for (var x = arguments.length, E = Array(x > 1 ? x - 1 : 0), S = 1; S < x; S++)
11161
11161
  E[S - 1] = arguments[S];
11162
- (this.listeners[w.type] || []).forEach(function(P) {
11163
- var C = P.node, O = P.handler;
11162
+ (this.listeners[w.type] || []).forEach(function(M) {
11163
+ var C = M.node, O = M.handler;
11164
11164
  (w.target === C || C.contains(w.target)) && O.apply(void 0, [w].concat(E));
11165
11165
  });
11166
11166
  }
@@ -11303,91 +11303,91 @@ var Xo = { exports: {} };
11303
11303
  value: !0
11304
11304
  }), i.default = i.Code = void 0;
11305
11305
  var r = function() {
11306
- function S(P, C) {
11307
- var O = [], k = !0, T = !1, M = void 0;
11306
+ function S(M, C) {
11307
+ var O = [], k = !0, T = !1, P = void 0;
11308
11308
  try {
11309
- 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)
11310
11310
  ;
11311
11311
  } catch (W) {
11312
- T = !0, M = W;
11312
+ T = !0, P = W;
11313
11313
  } finally {
11314
11314
  try {
11315
11315
  !k && q.return && q.return();
11316
11316
  } finally {
11317
11317
  if (T)
11318
- throw M;
11318
+ throw P;
11319
11319
  }
11320
11320
  }
11321
11321
  return O;
11322
11322
  }
11323
- return function(P, C) {
11324
- if (Array.isArray(P))
11325
- return P;
11326
- if (Symbol.iterator in Object(P))
11327
- 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);
11328
11328
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
11329
11329
  };
11330
11330
  }(), l = function() {
11331
- function S(P, C) {
11331
+ function S(M, C) {
11332
11332
  for (var O = 0; O < C.length; O++) {
11333
11333
  var k = C[O];
11334
- 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);
11335
11335
  }
11336
11336
  }
11337
- return function(P, C, O) {
11338
- 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;
11339
11339
  };
11340
- }(), a = function S(P, C, O) {
11341
- P === null && (P = Function.prototype);
11342
- 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);
11343
11343
  if (k === void 0) {
11344
- var T = Object.getPrototypeOf(P);
11344
+ var T = Object.getPrototypeOf(M);
11345
11345
  return T === null ? void 0 : S(T, C, O);
11346
11346
  } else {
11347
11347
  if ("value" in k)
11348
11348
  return k.value;
11349
- var M = k.get;
11350
- return M === void 0 ? void 0 : M.call(O);
11349
+ var P = k.get;
11350
+ return P === void 0 ? void 0 : P.call(O);
11351
11351
  }
11352
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);
11353
11353
  function m(S) {
11354
11354
  return S && S.__esModule ? S : { default: S };
11355
11355
  }
11356
- function $(S, P) {
11357
- if (!(S instanceof P))
11356
+ function $(S, M) {
11357
+ if (!(S instanceof M))
11358
11358
  throw new TypeError("Cannot call a class as a function");
11359
11359
  }
11360
- function p(S, P) {
11360
+ function p(S, M) {
11361
11361
  if (!S)
11362
11362
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
11363
- return P && (typeof P == "object" || typeof P == "function") ? P : S;
11363
+ return M && (typeof M == "object" || typeof M == "function") ? M : S;
11364
11364
  }
11365
- function w(S, P) {
11366
- if (typeof P != "function" && P !== null)
11367
- throw new TypeError("Super expression must either be null or a function, not " + typeof P);
11368
- 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);
11369
11369
  }
11370
11370
  var x = function(S) {
11371
- w(P, S);
11372
- function P() {
11373
- 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));
11374
11374
  }
11375
- return P;
11375
+ return M;
11376
11376
  }(v.default);
11377
11377
  x.blotName = "code", x.tagName = "CODE";
11378
11378
  var E = function(S) {
11379
- w(P, S);
11380
- function P() {
11381
- 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));
11382
11382
  }
11383
- return l(P, [{
11383
+ return l(M, [{
11384
11384
  key: "delta",
11385
11385
  value: function() {
11386
11386
  var O = this, k = this.domNode.textContent;
11387
11387
  return k.endsWith(`
11388
11388
  `) && (k = k.slice(0, -1)), k.split(`
11389
- `).reduce(function(T, M) {
11390
- return T.insert(M).insert(`
11389
+ `).reduce(function(T, P) {
11390
+ return T.insert(P).insert(`
11391
11391
  `, O.formats());
11392
11392
  }, new f.default());
11393
11393
  }
@@ -11395,18 +11395,18 @@ var Xo = { exports: {} };
11395
11395
  key: "format",
11396
11396
  value: function(O, k) {
11397
11397
  if (!(O === this.statics.blotName && k)) {
11398
- var T = this.descendant(g.default, this.length() - 1), M = r(T, 1), q = M[0];
11399
- 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);
11400
11400
  }
11401
11401
  }
11402
11402
  }, {
11403
11403
  key: "formatAt",
11404
- value: function(O, k, T, M) {
11405
- 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))) {
11406
11406
  var q = this.newlineIndex(O);
11407
11407
  if (!(q < 0 || q >= O + k)) {
11408
11408
  var K = this.newlineIndex(O, !0) + 1, W = q - K + 1, oe = this.isolate(K, W), U = oe.next;
11409
- 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);
11410
11410
  }
11411
11411
  }
11412
11412
  }
@@ -11414,7 +11414,7 @@ var Xo = { exports: {} };
11414
11414
  key: "insertAt",
11415
11415
  value: function(O, k, T) {
11416
11416
  if (T == null) {
11417
- 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];
11418
11418
  K.insertAt(W, k);
11419
11419
  }
11420
11420
  }
@@ -11441,14 +11441,14 @@ var Xo = { exports: {} };
11441
11441
  value: function(O) {
11442
11442
  this.domNode.textContent.endsWith(`
11443
11443
  `) || this.appendChild(c.default.create("text", `
11444
- `)), 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);
11445
11445
  var k = this.next;
11446
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());
11447
11447
  }
11448
11448
  }, {
11449
11449
  key: "replace",
11450
11450
  value: function(O) {
11451
- 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) {
11452
11452
  var T = c.default.find(k);
11453
11453
  T == null ? k.parentNode.removeChild(k) : T instanceof c.default.Embed ? T.remove() : T.unwrap();
11454
11454
  });
@@ -11456,7 +11456,7 @@ var Xo = { exports: {} };
11456
11456
  }], [{
11457
11457
  key: "create",
11458
11458
  value: function(O) {
11459
- 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);
11460
11460
  return k.setAttribute("spellcheck", !1), k;
11461
11461
  }
11462
11462
  }, {
@@ -11464,7 +11464,7 @@ var Xo = { exports: {} };
11464
11464
  value: function() {
11465
11465
  return !0;
11466
11466
  }
11467
- }]), P;
11467
+ }]), M;
11468
11468
  }(u.default);
11469
11469
  E.blotName = "code-block", E.tagName = "PRE", E.TAB = " ", i.Code = x, i.default = E;
11470
11470
  },
@@ -11513,20 +11513,20 @@ var Xo = { exports: {} };
11513
11513
  return function(R, A, B) {
11514
11514
  return A && U(R.prototype, A), B && U(R, B), R;
11515
11515
  };
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), 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);
11517
11517
  function k(U) {
11518
11518
  return U && U.__esModule ? U : { default: U };
11519
11519
  }
11520
11520
  function T(U, R, A) {
11521
11521
  return R in U ? Object.defineProperty(U, R, { value: A, enumerable: !0, configurable: !0, writable: !0 }) : U[R] = A, U;
11522
11522
  }
11523
- function M(U, R) {
11523
+ function P(U, R) {
11524
11524
  if (!(U instanceof R))
11525
11525
  throw new TypeError("Cannot call a class as a function");
11526
11526
  }
11527
11527
  var q = /^[ -~]*$/, K = function() {
11528
11528
  function U(R) {
11529
- M(this, U), this.scroll = R, this.delta = this.getDelta();
11529
+ P(this, U), this.scroll = R, this.delta = this.getDelta();
11530
11530
  }
11531
11531
  return a(U, [{
11532
11532
  key: "applyDelta",
@@ -11544,7 +11544,7 @@ var Xo = { exports: {} };
11544
11544
  `) && (j = !0), B.scroll.insertAt(H, J);
11545
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));
11546
11546
  if (_e instanceof $.default) {
11547
- 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];
11548
11548
  Ie = (0, O.default)(Ie, (0, m.bubbleFormats)(ze));
11549
11549
  }
11550
11550
  Z = c.default.attributes.diff(Ie, Z) || {};
@@ -11682,7 +11682,7 @@ var Xo = { exports: {} };
11682
11682
  return Ee.insert ? _e.insert(Ee.insert, D) : _e.push(Ee);
11683
11683
  }, new f.default()), this.delta = Y.compose(A);
11684
11684
  } else
11685
- 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));
11686
11686
  return A;
11687
11687
  }
11688
11688
  }]), U;
@@ -11716,39 +11716,39 @@ var Xo = { exports: {} };
11716
11716
  value: !0
11717
11717
  }), i.default = i.Range = void 0;
11718
11718
  var r = function() {
11719
- function S(P, C) {
11720
- var O = [], k = !0, T = !1, M = void 0;
11719
+ function S(M, C) {
11720
+ var O = [], k = !0, T = !1, P = void 0;
11721
11721
  try {
11722
- 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)
11723
11723
  ;
11724
11724
  } catch (W) {
11725
- T = !0, M = W;
11725
+ T = !0, P = W;
11726
11726
  } finally {
11727
11727
  try {
11728
11728
  !k && q.return && q.return();
11729
11729
  } finally {
11730
11730
  if (T)
11731
- throw M;
11731
+ throw P;
11732
11732
  }
11733
11733
  }
11734
11734
  return O;
11735
11735
  }
11736
- return function(P, C) {
11737
- if (Array.isArray(P))
11738
- return P;
11739
- if (Symbol.iterator in Object(P))
11740
- 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);
11741
11741
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
11742
11742
  };
11743
11743
  }(), l = function() {
11744
- function S(P, C) {
11744
+ function S(M, C) {
11745
11745
  for (var O = 0; O < C.length; O++) {
11746
11746
  var k = C[O];
11747
- 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);
11748
11748
  }
11749
11749
  }
11750
- return function(P, C, O) {
11751
- 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;
11752
11752
  };
11753
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);
11754
11754
  function g(S) {
@@ -11756,23 +11756,23 @@ var Xo = { exports: {} };
11756
11756
  }
11757
11757
  function m(S) {
11758
11758
  if (Array.isArray(S)) {
11759
- for (var P = 0, C = Array(S.length); P < S.length; P++)
11760
- C[P] = S[P];
11759
+ for (var M = 0, C = Array(S.length); M < S.length; M++)
11760
+ C[M] = S[M];
11761
11761
  return C;
11762
11762
  } else
11763
11763
  return Array.from(S);
11764
11764
  }
11765
- function $(S, P) {
11766
- if (!(S instanceof P))
11765
+ function $(S, M) {
11766
+ if (!(S instanceof M))
11767
11767
  throw new TypeError("Cannot call a class as a function");
11768
11768
  }
11769
- var p = (0, y.default)("quill:selection"), w = function S(P) {
11769
+ var p = (0, y.default)("quill:selection"), w = function S(M) {
11770
11770
  var C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
11771
- $(this, S), this.index = P, this.length = C;
11771
+ $(this, S), this.index = M, this.length = C;
11772
11772
  }, x = function() {
11773
- function S(P, C) {
11773
+ function S(M, C) {
11774
11774
  var O = this;
11775
- $(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() {
11776
11776
  O.mouseDown || setTimeout(O.update.bind(O, _.default.sources.USER), 1);
11777
11777
  }), this.emitter.on(_.default.events.EDITOR_CHANGE, function(k, T) {
11778
11778
  k === _.default.events.TEXT_CHANGE && T.length() > 0 && O.update(_.default.sources.SILENT);
@@ -11788,7 +11788,7 @@ var Xo = { exports: {} };
11788
11788
  }
11789
11789
  }), this.emitter.on(_.default.events.SCROLL_OPTIMIZE, function(k, T) {
11790
11790
  if (T.range) {
11791
- 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;
11792
11792
  O.setNativeRange(q, K, W, oe);
11793
11793
  }
11794
11794
  }), this.update(_.default.sources.SILENT);
@@ -11837,8 +11837,8 @@ var Xo = { exports: {} };
11837
11837
  if (T == null)
11838
11838
  return;
11839
11839
  if (T instanceof d.default.Leaf) {
11840
- var M = T.split(k.start.offset);
11841
- T.parent.insertBefore(this.cursor, M);
11840
+ var P = T.split(k.start.offset);
11841
+ T.parent.insertBefore(this.cursor, P);
11842
11842
  } else
11843
11843
  T.insertBefore(this.cursor, k.start.node);
11844
11844
  this.cursor.attach();
@@ -11852,7 +11852,7 @@ var Xo = { exports: {} };
11852
11852
  value: function(C) {
11853
11853
  var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, k = this.scroll.length();
11854
11854
  C = Math.min(C, k - 1), O = Math.min(C + O, k - 1) - C;
11855
- 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];
11856
11856
  if (K == null)
11857
11857
  return null;
11858
11858
  var oe = K.position(W, !0), U = r(oe, 2);
@@ -11911,8 +11911,8 @@ var Xo = { exports: {} };
11911
11911
  var T = k.map(function(K) {
11912
11912
  var W = r(K, 2), oe = W[0], U = W[1], R = d.default.find(oe, !0), A = R.offset(O.scroll);
11913
11913
  return U === 0 ? A : R instanceof d.default.Container ? A + R.length() : A + R.index(oe, U);
11914
- }), M = Math.min(Math.max.apply(Math, m(T)), this.scroll.length() - 1), q = Math.min.apply(Math, [M].concat(m(T)));
11915
- 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);
11916
11916
  }
11917
11917
  }, {
11918
11918
  key: "normalizeNative",
@@ -11925,22 +11925,22 @@ var Xo = { exports: {} };
11925
11925
  native: C
11926
11926
  };
11927
11927
  return [O.start, O.end].forEach(function(k) {
11928
- for (var T = k.node, M = k.offset; !(T instanceof Text) && T.childNodes.length > 0; )
11929
- if (T.childNodes.length > M)
11930
- T = T.childNodes[M], M = 0;
11931
- else if (T.childNodes.length === M)
11932
- 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;
11933
11933
  else
11934
11934
  break;
11935
- k.node = T, k.offset = M;
11935
+ k.node = T, k.offset = P;
11936
11936
  }), O;
11937
11937
  }
11938
11938
  }, {
11939
11939
  key: "rangeToNative",
11940
11940
  value: function(C) {
11941
- 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();
11942
11942
  return k.forEach(function(q, K) {
11943
- q = Math.min(M - 1, q);
11943
+ q = Math.min(P - 1, q);
11944
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);
11945
11945
  W = j[0], A = j[1], T.push(W, A);
11946
11946
  }), T.length < 2 && (T = T.concat(T)), T;
@@ -11952,7 +11952,7 @@ var Xo = { exports: {} };
11952
11952
  if (O != null) {
11953
11953
  var k = this.getBounds(O.index, O.length);
11954
11954
  if (k != null) {
11955
- 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;
11956
11956
  if (O.length > 0) {
11957
11957
  var oe = this.scroll.line(Math.min(O.index + O.length, T)), U = r(oe, 1);
11958
11958
  W = U[0];
@@ -11967,14 +11967,14 @@ var Xo = { exports: {} };
11967
11967
  }, {
11968
11968
  key: "setNativeRange",
11969
11969
  value: function(C, O) {
11970
- 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;
11971
11971
  if (p.info("setNativeRange", C, O, k, T), !(C != null && (this.root.parentNode == null || C.parentNode == null || k.parentNode == null))) {
11972
11972
  var q = document.getSelection();
11973
11973
  if (q != null)
11974
11974
  if (C != null) {
11975
11975
  this.hasFocus() || this.root.focus();
11976
11976
  var K = (this.getNativeRange() || {}).native;
11977
- 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) {
11978
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);
11979
11979
  var W = document.createRange();
11980
11980
  W.setStart(C, O), W.setEnd(k, T), q.removeAllRanges(), q.addRange(W);
@@ -11997,8 +11997,8 @@ var Xo = { exports: {} };
11997
11997
  }, {
11998
11998
  key: "update",
11999
11999
  value: function() {
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), M = T[0], q = T[1];
12001
- 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)) {
12002
12002
  var K;
12003
12003
  !this.composing && q != null && q.native.collapsed && q.start.node !== this.cursor.textNode && this.cursor.restore();
12004
12004
  var W = [_.default.events.SELECTION_CHANGE, (0, h.default)(this.lastRange), (0, h.default)(O), C];
@@ -12010,13 +12010,13 @@ var Xo = { exports: {} };
12010
12010
  }
12011
12011
  }]), S;
12012
12012
  }();
12013
- function E(S, P) {
12013
+ function E(S, M) {
12014
12014
  try {
12015
- P.parentNode;
12015
+ M.parentNode;
12016
12016
  } catch {
12017
12017
  return !1;
12018
12018
  }
12019
- return P instanceof Text && (P = P.parentNode), S.contains(P);
12019
+ return M instanceof Text && (M = M.parentNode), S.contains(M);
12020
12020
  }
12021
12021
  i.Range = w, i.default = x;
12022
12022
  },
@@ -12450,10 +12450,10 @@ var Xo = { exports: {} };
12450
12450
  typeof y == "object" && (g = y.depth, m = y.prototype, $ = y.includeNonEnumerable, y = y.circular);
12451
12451
  var p = [], w = [], x = typeof Buffer < "u";
12452
12452
  typeof y > "u" && (y = !0), typeof g > "u" && (g = 1 / 0);
12453
- function E(S, P) {
12453
+ function E(S, M) {
12454
12454
  if (S === null)
12455
12455
  return null;
12456
- if (P === 0)
12456
+ if (M === 0)
12457
12457
  return S;
12458
12458
  var C, O;
12459
12459
  if (typeof S != "object")
@@ -12465,9 +12465,9 @@ var Xo = { exports: {} };
12465
12465
  else if (r(S, d))
12466
12466
  C = new d(function(R, A) {
12467
12467
  S.then(function(B) {
12468
- R(E(B, P - 1));
12468
+ R(E(B, M - 1));
12469
12469
  }, function(B) {
12470
- A(E(B, P - 1));
12470
+ A(E(B, M - 1));
12471
12471
  });
12472
12472
  });
12473
12473
  else if (f.__isArray(S))
@@ -12488,27 +12488,27 @@ var Xo = { exports: {} };
12488
12488
  p.push(S), w.push(C);
12489
12489
  }
12490
12490
  r(S, l) && S.forEach(function(R, A) {
12491
- var B = E(A, P - 1), j = E(R, P - 1);
12491
+ var B = E(A, M - 1), j = E(R, M - 1);
12492
12492
  C.set(B, j);
12493
12493
  }), r(S, a) && S.forEach(function(R) {
12494
- var A = E(R, P - 1);
12494
+ var A = E(R, M - 1);
12495
12495
  C.add(A);
12496
12496
  });
12497
12497
  for (var T in S) {
12498
- var M;
12499
- 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));
12500
12500
  }
12501
12501
  if (Object.getOwnPropertySymbols)
12502
12502
  for (var q = Object.getOwnPropertySymbols(S), T = 0; T < q.length; T++) {
12503
12503
  var K = q[T], W = Object.getOwnPropertyDescriptor(S, K);
12504
- 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, {
12505
12505
  enumerable: !1
12506
12506
  }));
12507
12507
  }
12508
12508
  if ($)
12509
12509
  for (var oe = Object.getOwnPropertyNames(S), T = 0; T < oe.length; T++) {
12510
12510
  var U = oe[T], W = Object.getOwnPropertyDescriptor(S, U);
12511
- 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, {
12512
12512
  enumerable: !1
12513
12513
  }));
12514
12514
  }
@@ -12555,15 +12555,15 @@ var Xo = { exports: {} };
12555
12555
  });
12556
12556
  var r = function() {
12557
12557
  function C(O, k) {
12558
- var T = [], M = !0, q = !1, K = void 0;
12558
+ var T = [], P = !0, q = !1, K = void 0;
12559
12559
  try {
12560
- 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)
12561
12561
  ;
12562
12562
  } catch (U) {
12563
12563
  q = !0, K = U;
12564
12564
  } finally {
12565
12565
  try {
12566
- !M && W.return && W.return();
12566
+ !P && W.return && W.return();
12567
12567
  } finally {
12568
12568
  if (q)
12569
12569
  throw K;
@@ -12581,8 +12581,8 @@ var Xo = { exports: {} };
12581
12581
  }(), l = function() {
12582
12582
  function C(O, k) {
12583
12583
  for (var T = 0; T < k.length; T++) {
12584
- var M = k[T];
12585
- 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);
12586
12586
  }
12587
12587
  }
12588
12588
  return function(O, k, T) {
@@ -12590,14 +12590,14 @@ var Xo = { exports: {} };
12590
12590
  };
12591
12591
  }(), a = function C(O, k, T) {
12592
12592
  O === null && (O = Function.prototype);
12593
- var M = Object.getOwnPropertyDescriptor(O, k);
12594
- if (M === void 0) {
12593
+ var P = Object.getOwnPropertyDescriptor(O, k);
12594
+ if (P === void 0) {
12595
12595
  var q = Object.getPrototypeOf(O);
12596
12596
  return q === null ? void 0 : C(q, k, T);
12597
12597
  } else {
12598
- if ("value" in M)
12599
- return M.value;
12600
- var K = M.get;
12598
+ if ("value" in P)
12599
+ return P.value;
12600
+ var K = P.get;
12601
12601
  return K === void 0 ? void 0 : K.call(T);
12602
12602
  }
12603
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);
@@ -12621,15 +12621,15 @@ var Xo = { exports: {} };
12621
12621
  function S(C) {
12622
12622
  return C instanceof u.default || C instanceof s.BlockEmbed;
12623
12623
  }
12624
- var P = function(C) {
12624
+ var M = function(C) {
12625
12625
  E(O, C);
12626
12626
  function O(k, T) {
12627
12627
  w(this, O);
12628
- var M = x(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, k));
12629
- 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) {
12630
12630
  return q[K] = !0, q;
12631
- }, {})), M.domNode.addEventListener("DOMNodeInserted", function() {
12632
- }), M.optimize(), M.enable(), M;
12631
+ }, {})), P.domNode.addEventListener("DOMNodeInserted", function() {
12632
+ }), P.optimize(), P.enable(), P;
12633
12633
  }
12634
12634
  return l(O, [{
12635
12635
  key: "batchStart",
@@ -12643,9 +12643,9 @@ var Xo = { exports: {} };
12643
12643
  }
12644
12644
  }, {
12645
12645
  key: "deleteAt",
12646
- value: function(T, M) {
12647
- 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];
12648
- 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) {
12649
12649
  if (W instanceof s.BlockEmbed || A instanceof s.BlockEmbed) {
12650
12650
  this.optimize();
12651
12651
  return;
@@ -12673,35 +12673,35 @@ var Xo = { exports: {} };
12673
12673
  }
12674
12674
  }, {
12675
12675
  key: "formatAt",
12676
- value: function(T, M, q, K) {
12677
- 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());
12678
12678
  }
12679
12679
  }, {
12680
12680
  key: "insertAt",
12681
- value: function(T, M, q) {
12682
- 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])) {
12683
12683
  if (T >= this.length())
12684
- 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) {
12685
12685
  var K = f.default.create(this.statics.defaultChild);
12686
- this.appendChild(K), q == null && M.endsWith(`
12687
- `) && (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);
12688
12688
  } else {
12689
- var W = f.default.create(M, q);
12689
+ var W = f.default.create(P, q);
12690
12690
  this.appendChild(W);
12691
12691
  }
12692
12692
  else
12693
- 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);
12694
12694
  this.optimize();
12695
12695
  }
12696
12696
  }
12697
12697
  }, {
12698
12698
  key: "insertBefore",
12699
- value: function(T, M) {
12699
+ value: function(T, P) {
12700
12700
  if (T.statics.scope === f.default.Scope.INLINE_BLOT) {
12701
12701
  var q = f.default.create(this.statics.defaultChild);
12702
12702
  q.appendChild(T), T = q;
12703
12703
  }
12704
- 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);
12705
12705
  }
12706
12706
  }, {
12707
12707
  key: "leaf",
@@ -12716,19 +12716,19 @@ var Xo = { exports: {} };
12716
12716
  }, {
12717
12717
  key: "lines",
12718
12718
  value: function() {
12719
- 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) {
12720
12720
  var R = [], A = U;
12721
12721
  return W.children.forEachAt(oe, U, function(B, j, Y) {
12722
12722
  S(B) ? R.push(B) : B instanceof f.default.Container && (R = R.concat(K(B, j, A))), A -= Y;
12723
12723
  }), R;
12724
12724
  };
12725
- return q(this, T, M);
12725
+ return q(this, T, P);
12726
12726
  }
12727
12727
  }, {
12728
12728
  key: "optimize",
12729
12729
  value: function() {
12730
- var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], M = 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, 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));
12732
12732
  }
12733
12733
  }, {
12734
12734
  key: "path",
@@ -12739,13 +12739,13 @@ var Xo = { exports: {} };
12739
12739
  key: "update",
12740
12740
  value: function(T) {
12741
12741
  if (this.batch !== !0) {
12742
- var M = c.default.sources.USER;
12743
- 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);
12744
12744
  }
12745
12745
  }
12746
12746
  }]), O;
12747
12747
  }(f.default.Scroll);
12748
- 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;
12749
12749
  },
12750
12750
  /* 23 */
12751
12751
  /***/
@@ -12763,8 +12763,8 @@ var Xo = { exports: {} };
12763
12763
  try {
12764
12764
  for (var Ee = V[Symbol.iterator](), Ie; !(re = (Ie = Ee.next()).done) && (J.push(Ie.value), !(Z && J.length === Z)); re = !0)
12765
12765
  ;
12766
- } catch (Me) {
12767
- fe = !0, _e = Me;
12766
+ } catch (Pe) {
12767
+ fe = !0, _e = Pe;
12768
12768
  } finally {
12769
12769
  try {
12770
12770
  !re && Ee.return && Ee.return();
@@ -12792,7 +12792,7 @@ var Xo = { exports: {} };
12792
12792
  return function(V, Z, J) {
12793
12793
  return Z && D(V.prototype, Z), J && D(V, J), V;
12794
12794
  };
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), 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);
12796
12796
  function C(D) {
12797
12797
  return D && D.__esModule ? D : { default: D };
12798
12798
  }
@@ -12808,13 +12808,13 @@ var Xo = { exports: {} };
12808
12808
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
12809
12809
  return V && (typeof V == "object" || typeof V == "function") ? V : D;
12810
12810
  }
12811
- function M(D, V) {
12811
+ function P(D, V) {
12812
12812
  if (typeof V != "function" && V !== null)
12813
12813
  throw new TypeError("Super expression must either be null or a function, not " + typeof V);
12814
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);
12815
12815
  }
12816
12816
  var q = (0, E.default)("quill:keyboard"), K = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", W = function(D) {
12817
- M(V, D), a(V, null, [{
12817
+ P(V, D), a(V, null, [{
12818
12818
  key: "match",
12819
12819
  value: function(J, re) {
12820
12820
  return re = H(re), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(fe) {
@@ -12850,7 +12850,7 @@ var Xo = { exports: {} };
12850
12850
  if (_e.length !== 0) {
12851
12851
  var Ee = J.quill.getSelection();
12852
12852
  if (!(Ee == null || !J.quill.hasFocus())) {
12853
- 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 = {
12854
12854
  collapsed: Ee.length === 0,
12855
12855
  empty: Ee.length === 0 && Ge.length() <= 1,
12856
12856
  format: J.quill.getFormat(Ee),
@@ -12878,7 +12878,7 @@ var Xo = { exports: {} };
12878
12878
  });
12879
12879
  }
12880
12880
  }]), V;
12881
- }(P.default);
12881
+ }(M.default);
12882
12882
  W.keys = {
12883
12883
  BACKSPACE: 8,
12884
12884
  TAB: 9,
@@ -13003,8 +13003,8 @@ var Xo = { exports: {} };
13003
13003
  Ie = "ordered";
13004
13004
  }
13005
13005
  this.quill.insertText(V.index, " ", w.default.sources.USER), this.quill.history.cutoff();
13006
- var Me = new v.default().retain(V.index - Ee).delete(J + 1).retain(_e.length() - 2 - Ee).retain(1, { list: Ie });
13007
- 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);
13008
13008
  }
13009
13009
  },
13010
13010
  "code exit": {
@@ -13033,8 +13033,8 @@ var Xo = { exports: {} };
13033
13033
  }, O(Z, J, /^$/), O(Z, "handler", function(fe) {
13034
13034
  var _e = fe.index;
13035
13035
  D === W.keys.RIGHT && (_e += fe.length + 1);
13036
- var Ee = this.quill.getLeaf(_e), Ie = l(Ee, 1), Me = Ie[0];
13037
- 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;
13038
13038
  }), Z;
13039
13039
  }
13040
13040
  function U(D, V) {
@@ -13043,8 +13043,8 @@ var Xo = { exports: {} };
13043
13043
  if (V.offset === 0) {
13044
13044
  var _e = this.quill.getLine(D.index - 1), Ee = l(_e, 1), Ie = Ee[0];
13045
13045
  if (Ie != null && Ie.length() > 1) {
13046
- var Me = re.formats(), Ge = this.quill.getFormat(D.index - 1, 1);
13047
- 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) || {};
13048
13048
  }
13049
13049
  }
13050
13050
  var ze = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(V.prefix) ? 2 : 1;
@@ -13056,7 +13056,7 @@ var Xo = { exports: {} };
13056
13056
  if (!(D.index >= this.quill.getLength() - Z)) {
13057
13057
  var J = {}, re = 0, fe = this.quill.getLine(D.index), _e = l(fe, 1), Ee = _e[0];
13058
13058
  if (V.offset >= Ee.length() - 1) {
13059
- 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];
13060
13060
  if (Ge) {
13061
13061
  var ze = Ee.formats(), Q = this.quill.getFormat(D.index, 1);
13062
13062
  J = g.default.attributes.diff(ze, Q) || {}, re = Ge.length();
@@ -13090,12 +13090,12 @@ var Xo = { exports: {} };
13090
13090
  shiftKey: !D,
13091
13091
  format: { "code-block": !0 },
13092
13092
  handler: function(Z) {
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], 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];
13094
13094
  if (Ie != null) {
13095
- 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(`
13096
13096
  `);
13097
- Me = 0, te.forEach(function(se, ue) {
13098
- 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;
13099
13099
  }), this.quill.update(w.default.sources.USER), this.quill.setSelection(re, fe, w.default.sources.SILENT);
13100
13100
  }
13101
13101
  }
@@ -13134,7 +13134,7 @@ var Xo = { exports: {} };
13134
13134
  function g(m, $) {
13135
13135
  var p = [], w = !0, x = !1, E = void 0;
13136
13136
  try {
13137
- 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)
13138
13138
  ;
13139
13139
  } catch (C) {
13140
13140
  x = !0, E = C;
@@ -13246,8 +13246,8 @@ var Xo = { exports: {} };
13246
13246
  if (!(this.selection.composing || this.parent == null)) {
13247
13247
  var p = this.textNode, w = this.selection.getNativeRange(), x = void 0, E = void 0, S = void 0;
13248
13248
  if (w != null && w.start.node === p && w.end.node === p) {
13249
- var P = [p, w.start.offset, w.end.offset];
13250
- 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];
13251
13251
  }
13252
13252
  for (; this.domNode.lastChild != null && this.domNode.lastChild !== this.textNode; )
13253
13253
  this.domNode.parentNode.insertBefore(this.domNode.lastChild, this.domNode);
@@ -13615,7 +13615,7 @@ var Xo = { exports: {} };
13615
13615
  Object.defineProperty(i, "__esModule", {
13616
13616
  value: !0
13617
13617
  });
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), 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);
13619
13619
  function q(K) {
13620
13620
  return K && K.__esModule ? K : { default: K };
13621
13621
  }
@@ -13631,7 +13631,7 @@ var Xo = { exports: {} };
13631
13631
  "blots/text": S.default,
13632
13632
  "modules/clipboard": C.default,
13633
13633
  "modules/history": k.default,
13634
- "modules/keyboard": M.default
13634
+ "modules/keyboard": P.default
13635
13635
  }), l.default.register(h.default, s.default, y.default, p.default, x.default, S.default), i.default = d.default;
13636
13636
  },
13637
13637
  /* 30 */
@@ -14222,8 +14222,8 @@ var Xo = { exports: {} };
14222
14222
  function p(w, x) {
14223
14223
  u(this, p);
14224
14224
  var E = _(this, (p.__proto__ || Object.getPrototypeOf(p)).call(this, w, x));
14225
- return E.lastRecorded = 0, E.ignoreChange = !1, E.clear(), E.quill.on(f.default.events.EDITOR_CHANGE, function(S, P, C, O) {
14226
- 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));
14227
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;
14228
14228
  }
14229
14229
  return r(p, [{
@@ -14232,8 +14232,8 @@ var Xo = { exports: {} };
14232
14232
  if (this.stack[x].length !== 0) {
14233
14233
  var S = this.stack[x].pop();
14234
14234
  this.stack[E].push(S), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(S[x], f.default.sources.USER), this.ignoreChange = !1;
14235
- var P = m(S[x]);
14236
- this.quill.setSelection(P);
14235
+ var M = m(S[x]);
14236
+ this.quill.setSelection(M);
14237
14237
  }
14238
14238
  }
14239
14239
  }, {
@@ -14251,12 +14251,12 @@ var Xo = { exports: {} };
14251
14251
  value: function(x, E) {
14252
14252
  if (x.ops.length !== 0) {
14253
14253
  this.stack.redo = [];
14254
- var S = this.quill.getContents().diff(E), P = Date.now();
14255
- 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) {
14256
14256
  var C = this.stack.undo.pop();
14257
14257
  S = S.compose(C.undo), x = C.redo.compose(x);
14258
14258
  } else
14259
- this.lastRecorded = P;
14259
+ this.lastRecorded = M;
14260
14260
  this.stack.undo.push({
14261
14261
  redo: x,
14262
14262
  undo: S
@@ -14332,8 +14332,8 @@ var Xo = { exports: {} };
14332
14332
  var Z = D.get;
14333
14333
  return Z === void 0 ? void 0 : Z.call(H);
14334
14334
  }
14335
- }, 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);
14336
- 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) {
14337
14337
  return B && B.__esModule ? B : { default: B };
14338
14338
  }
14339
14339
  function C(B, j) {
@@ -14350,7 +14350,7 @@ var Xo = { exports: {} };
14350
14350
  throw new TypeError("Super expression must either be null or a function, not " + typeof j);
14351
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);
14352
14352
  }
14353
- 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) {
14354
14354
  k(j, B);
14355
14355
  function j(Y, H) {
14356
14356
  C(this, j);
@@ -14396,7 +14396,7 @@ var Xo = { exports: {} };
14396
14396
  return J.querySelector("option") == null && A(J, T), new p.default(J, D.align);
14397
14397
  if (J.classList.contains("ql-background") || J.classList.contains("ql-color")) {
14398
14398
  var re = J.classList.contains("ql-background") ? "background" : "color";
14399
- 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]);
14400
14400
  } else
14401
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);
14402
14402
  });
@@ -14636,8 +14636,8 @@ var Xo = { exports: {} };
14636
14636
  var x = a.find(w.target, !0);
14637
14637
  x != null && (x.domNode === w.target && (w.type === "childList" ? (g(a.find(w.previousSibling, !1)), [].forEach.call(w.addedNodes, function(E) {
14638
14638
  var S = a.find(E, !1);
14639
- g(S, !1), S instanceof l.default && S.children.forEach(function(P) {
14640
- g(P, !1);
14639
+ g(S, !1), S instanceof l.default && S.children.forEach(function(M) {
14640
+ g(M, !1);
14641
14641
  });
14642
14642
  })) : w.type === "attributes" && g(x.prev)), g(x));
14643
14643
  }), this.children.forEach(m), $ = [].slice.call(this.observer.takeRecords()), y = $.slice(); y.length > 0; )
@@ -14910,10 +14910,10 @@ var Xo = { exports: {} };
14910
14910
  (x < 0 || p.length < x) && (x = null);
14911
14911
  var E = c(p, w), S = p.substring(0, E);
14912
14912
  p = p.substring(E), w = w.substring(E), E = s(p, w);
14913
- var P = p.substring(p.length - E);
14913
+ var M = p.substring(p.length - E);
14914
14914
  p = p.substring(0, p.length - E), w = w.substring(0, w.length - E);
14915
14915
  var C = d(p, w);
14916
- 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;
14917
14917
  }
14918
14918
  function d(p, w) {
14919
14919
  var x;
@@ -14921,29 +14921,29 @@ var Xo = { exports: {} };
14921
14921
  return [[r, w]];
14922
14922
  if (!w)
14923
14923
  return [[o, p]];
14924
- var E = p.length > w.length ? p : w, S = p.length > w.length ? w : p, P = E.indexOf(S);
14925
- 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)
14926
14926
  return x = [
14927
- [r, E.substring(0, P)],
14927
+ [r, E.substring(0, M)],
14928
14928
  [l, S],
14929
- [r, E.substring(P + S.length)]
14929
+ [r, E.substring(M + S.length)]
14930
14930
  ], p.length > w.length && (x[0][0] = x[2][0] = o), x;
14931
14931
  if (S.length == 1)
14932
14932
  return [[o, p], [r, w]];
14933
14933
  var C = u(p, w);
14934
14934
  if (C) {
14935
- 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);
14936
14936
  return K.concat([[l, q]], W);
14937
14937
  }
14938
14938
  return f(p, w);
14939
14939
  }
14940
14940
  function f(p, w) {
14941
- 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++)
14942
14942
  O[T] = -1, k[T] = -1;
14943
- O[P + 1] = 0, k[P + 1] = 0;
14944
- 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++) {
14945
14945
  for (var A = -R + K; A <= R - W; A += 2) {
14946
- var B = P + A, j;
14946
+ var B = M + A, j;
14947
14947
  A == -R || A != R && O[B - 1] < O[B + 1] ? j = O[B + 1] : j = O[B - 1] + 1;
14948
14948
  for (var Y = j - A; j < x && Y < E && p.charAt(j) == w.charAt(Y); )
14949
14949
  j++, Y++;
@@ -14952,7 +14952,7 @@ var Xo = { exports: {} };
14952
14952
  else if (Y > E)
14953
14953
  K += 2;
14954
14954
  else if (q) {
14955
- var H = P + M - A;
14955
+ var H = M + P - A;
14956
14956
  if (H >= 0 && H < C && k[H] != -1) {
14957
14957
  var D = x - k[H];
14958
14958
  if (j >= D)
@@ -14961,7 +14961,7 @@ var Xo = { exports: {} };
14961
14961
  }
14962
14962
  }
14963
14963
  for (var V = -R + oe; V <= R - U; V += 2) {
14964
- var H = P + V, D;
14964
+ var H = M + V, D;
14965
14965
  V == -R || V != R && k[H - 1] < k[H + 1] ? D = k[H + 1] : D = k[H - 1] + 1;
14966
14966
  for (var Z = D - V; D < x && Z < E && p.charAt(x - D - 1) == w.charAt(E - Z - 1); )
14967
14967
  D++, Z++;
@@ -14970,9 +14970,9 @@ var Xo = { exports: {} };
14970
14970
  else if (Z > E)
14971
14971
  oe += 2;
14972
14972
  else if (!q) {
14973
- var B = P + M - V;
14973
+ var B = M + P - V;
14974
14974
  if (B >= 0 && B < C && O[B] != -1) {
14975
- var j = O[B], Y = P + j - B;
14975
+ var j = O[B], Y = M + j - B;
14976
14976
  if (D = x - D, j >= D)
14977
14977
  return h(p, w, j, Y);
14978
14978
  }
@@ -14982,21 +14982,21 @@ var Xo = { exports: {} };
14982
14982
  return [[o, p], [r, w]];
14983
14983
  }
14984
14984
  function h(p, w, x, E) {
14985
- 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);
14986
14986
  return k.concat(T);
14987
14987
  }
14988
14988
  function c(p, w) {
14989
14989
  if (!p || !w || p.charAt(0) != w.charAt(0))
14990
14990
  return 0;
14991
- for (var x = 0, E = Math.min(p.length, w.length), S = E, P = 0; x < S; )
14992
- 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);
14993
14993
  return S;
14994
14994
  }
14995
14995
  function s(p, w) {
14996
14996
  if (!p || !w || p.charAt(p.length - 1) != w.charAt(w.length - 1))
14997
14997
  return 0;
14998
- for (var x = 0, E = Math.min(p.length, w.length), S = E, P = 0; x < S; )
14999
- 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);
15000
15000
  return S;
15001
15001
  }
15002
15002
  function u(p, w) {
@@ -15022,7 +15022,7 @@ var Xo = { exports: {} };
15022
15022
  B
15023
15023
  ] : null;
15024
15024
  }
15025
- var P = S(
15025
+ var M = S(
15026
15026
  x,
15027
15027
  E,
15028
15028
  Math.ceil(x.length / 4)
@@ -15031,32 +15031,32 @@ var Xo = { exports: {} };
15031
15031
  E,
15032
15032
  Math.ceil(x.length / 2)
15033
15033
  ), O;
15034
- if (!P && !C)
15034
+ if (!M && !C)
15035
15035
  return null;
15036
- C ? P ? O = P[4].length > C[4].length ? P : C : O = C : O = P;
15037
- var k, T, M, q;
15038
- 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]);
15039
15039
  var K = O[4];
15040
- return [k, T, M, q, K];
15040
+ return [k, T, P, q, K];
15041
15041
  }
15042
15042
  function _(p) {
15043
15043
  p.push([l, ""]);
15044
- 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; )
15045
15045
  switch (p[w][0]) {
15046
15046
  case r:
15047
- E++, P += p[w][1], w++;
15047
+ E++, M += p[w][1], w++;
15048
15048
  break;
15049
15049
  case o:
15050
15050
  x++, S += p[w][1], w++;
15051
15051
  break;
15052
15052
  case l:
15053
- 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, [
15054
15054
  l,
15055
- P.substring(0, C)
15056
- ]), 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(
15057
15057
  w - E,
15058
15058
  x + E,
15059
- [r, P]
15059
+ [r, M]
15060
15060
  ) : E === 0 ? p.splice(
15061
15061
  w - x,
15062
15062
  x + E,
@@ -15065,8 +15065,8 @@ var Xo = { exports: {} };
15065
15065
  w - x - E,
15066
15066
  x + E,
15067
15067
  [o, S],
15068
- [r, P]
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 = "", 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 = "";
15070
15070
  break;
15071
15071
  }
15072
15072
  p[p.length - 1][1] === "" && p.pop();
@@ -15083,30 +15083,30 @@ var Xo = { exports: {} };
15083
15083
  for (var x = 0, E = 0; E < p.length; E++) {
15084
15084
  var S = p[E];
15085
15085
  if (S[0] === o || S[0] === l) {
15086
- var P = x + S[1].length;
15087
- if (w === P)
15086
+ var M = x + S[1].length;
15087
+ if (w === M)
15088
15088
  return [E + 1, p];
15089
- if (w < P) {
15089
+ if (w < M) {
15090
15090
  p = p.slice();
15091
15091
  var C = w - x, O = [S[0], S[1].slice(0, C)], k = [S[0], S[1].slice(C)];
15092
15092
  return p.splice(E, 1, O, k), [E + 1, p];
15093
15093
  } else
15094
- x = P;
15094
+ x = M;
15095
15095
  }
15096
15096
  }
15097
15097
  throw new Error("cursor_pos is out of bounds!");
15098
15098
  }
15099
15099
  function g(p, w) {
15100
- var x = y(p, w), E = x[1], S = x[0], P = E[S], C = E[S + 1];
15101
- 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)
15102
15102
  return p;
15103
- if (P[0] !== l)
15103
+ if (M[0] !== l)
15104
15104
  return p;
15105
- if (C != null && P[1] + C[1] === C[1] + P[1])
15106
- return E.splice(S, 2, C, P), $(E, S, 2);
15107
- if (C != null && C[1].indexOf(P[1]) === 0) {
15108
- E.splice(S, 2, [C[0], P[1]], [0, P[1]]);
15109
- 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);
15110
15110
  return O.length > 0 && E.splice(S + 2, 0, [C[0], O]), $(E, S, 3);
15111
15111
  } else
15112
15112
  return p;
@@ -15120,15 +15120,15 @@ var Xo = { exports: {} };
15120
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));
15121
15121
  if (!w)
15122
15122
  return p;
15123
- for (var P = [], S = 0; S < p.length; S += 1)
15124
- p[S][1].length > 0 && P.push(p[S]);
15125
- 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;
15126
15126
  }
15127
15127
  function $(p, w, x) {
15128
15128
  for (var E = w + x - 1; E >= 0 && E >= w - 1; E--)
15129
15129
  if (E + 1 < p.length) {
15130
- var S = p[E], P = p[E + 1];
15131
- 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]]);
15132
15132
  }
15133
15133
  return p;
15134
15134
  }
@@ -15310,14 +15310,14 @@ var Xo = { exports: {} };
15310
15310
  return function(te, se, ue) {
15311
15311
  return se && Q(te.prototype, se), ue && Q(te, ue), te;
15312
15312
  };
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), 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);
15314
15314
  function k(Q) {
15315
15315
  return Q && Q.__esModule ? Q : { default: Q };
15316
15316
  }
15317
15317
  function T(Q, te, se) {
15318
15318
  return te in Q ? Object.defineProperty(Q, te, { value: se, enumerable: !0, configurable: !0, writable: !0 }) : Q[te] = se, Q;
15319
15319
  }
15320
- function M(Q, te) {
15320
+ function P(Q, te) {
15321
15321
  if (!(Q instanceof te))
15322
15322
  throw new TypeError("Cannot call a class as a function");
15323
15323
  }
@@ -15331,18 +15331,18 @@ var Xo = { exports: {} };
15331
15331
  throw new TypeError("Super expression must either be null or a function, not " + typeof te);
15332
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);
15333
15333
  }
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, 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) {
15335
15335
  return Q[te.keyName] = te, Q;
15336
- }, {}), 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) {
15337
15337
  return Q[te.keyName] = te, Q;
15338
15338
  }, {}), B = function(Q) {
15339
15339
  K(te, Q);
15340
15340
  function te(se, ue) {
15341
- M(this, te);
15341
+ P(this, te);
15342
15342
  var ie = q(this, (te.__proto__ || Object.getPrototypeOf(te)).call(this, se, ue));
15343
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) {
15344
15344
  var Oe = l(xe, 2), Se = Oe[0], tt = Oe[1];
15345
- !ue.matchVisual && tt === Me || ie.addMatcher(Se, tt);
15345
+ !ue.matchVisual && tt === Pe || ie.addMatcher(Se, tt);
15346
15346
  }), ie;
15347
15347
  }
15348
15348
  return a(te, [{
@@ -15496,7 +15496,7 @@ var Xo = { exports: {} };
15496
15496
  `) || (D(Q) || te.length() > 0 && Q.nextSibling && D(Q.nextSibling)) && te.insert(`
15497
15497
  `), te;
15498
15498
  }
15499
- function Me(Q, te) {
15499
+ function Pe(Q, te) {
15500
15500
  if (D(Q) && Q.nextElementSibling != null && !H(te, `
15501
15501
 
15502
15502
  `)) {
@@ -15524,7 +15524,7 @@ var Xo = { exports: {} };
15524
15524
  }
15525
15525
  return te.insert(se);
15526
15526
  }
15527
- 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;
15528
15528
  },
15529
15529
  /* 56 */
15530
15530
  /***/
@@ -15604,9 +15604,9 @@ var Xo = { exports: {} };
15604
15604
  }), i.addControls = i.default = void 0;
15605
15605
  var r = function() {
15606
15606
  function O(k, T) {
15607
- var M = [], q = !0, K = !1, W = void 0;
15607
+ var P = [], q = !0, K = !1, W = void 0;
15608
15608
  try {
15609
- 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)
15610
15610
  ;
15611
15611
  } catch (R) {
15612
15612
  K = !0, W = R;
@@ -15618,7 +15618,7 @@ var Xo = { exports: {} };
15618
15618
  throw W;
15619
15619
  }
15620
15620
  }
15621
- return M;
15621
+ return P;
15622
15622
  }
15623
15623
  return function(k, T) {
15624
15624
  if (Array.isArray(k))
@@ -15629,13 +15629,13 @@ var Xo = { exports: {} };
15629
15629
  };
15630
15630
  }(), l = function() {
15631
15631
  function O(k, T) {
15632
- for (var M = 0; M < T.length; M++) {
15633
- var q = T[M];
15632
+ for (var P = 0; P < T.length; P++) {
15633
+ var q = T[P];
15634
15634
  q.enumerable = q.enumerable || !1, q.configurable = !0, "value" in q && (q.writable = !0), Object.defineProperty(k, q.key, q);
15635
15635
  }
15636
15636
  }
15637
- return function(k, T, M) {
15638
- 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;
15639
15639
  };
15640
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);
15641
15641
  function g(O) {
@@ -15660,12 +15660,12 @@ var Xo = { exports: {} };
15660
15660
  }
15661
15661
  var x = (0, _.default)("quill:toolbar"), E = function(O) {
15662
15662
  w(k, O);
15663
- function k(T, M) {
15663
+ function k(T, P) {
15664
15664
  $(this, k);
15665
- 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));
15666
15666
  if (Array.isArray(q.options.container)) {
15667
15667
  var K = document.createElement("div");
15668
- 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;
15669
15669
  } else
15670
15670
  typeof q.options.container == "string" ? q.container = document.querySelector(q.options.container) : q.container = q.options.container;
15671
15671
  if (!(q.container instanceof HTMLElement)) {
@@ -15685,36 +15685,36 @@ var Xo = { exports: {} };
15685
15685
  }
15686
15686
  return l(k, [{
15687
15687
  key: "addHandler",
15688
- value: function(M, q) {
15689
- this.handlers[M] = q;
15688
+ value: function(P, q) {
15689
+ this.handlers[P] = q;
15690
15690
  }
15691
15691
  }, {
15692
15692
  key: "attach",
15693
- value: function(M) {
15694
- 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) {
15695
15695
  return oe.indexOf("ql-") === 0;
15696
15696
  });
15697
15697
  if (K) {
15698
- 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) {
15699
15699
  if (this.quill.scroll.whitelist != null && this.quill.scroll.whitelist[K] == null) {
15700
- x.warn("ignoring attaching to disabled format", K, M);
15700
+ x.warn("ignoring attaching to disabled format", K, P);
15701
15701
  return;
15702
15702
  }
15703
15703
  if (h.default.query(K) == null) {
15704
- x.warn("ignoring attaching to nonexistent format", K, M);
15704
+ x.warn("ignoring attaching to nonexistent format", K, P);
15705
15705
  return;
15706
15706
  }
15707
15707
  }
15708
- var W = M.tagName === "SELECT" ? "change" : "click";
15709
- M.addEventListener(W, function(oe) {
15708
+ var W = P.tagName === "SELECT" ? "change" : "click";
15709
+ P.addEventListener(W, function(oe) {
15710
15710
  var U = void 0;
15711
- if (M.tagName === "SELECT") {
15712
- if (M.selectedIndex < 0)
15711
+ if (P.tagName === "SELECT") {
15712
+ if (P.selectedIndex < 0)
15713
15713
  return;
15714
- var R = M.options[M.selectedIndex];
15714
+ var R = P.options[P.selectedIndex];
15715
15715
  R.hasAttribute("selected") ? U = !1 : U = R.value || !1;
15716
15716
  } else
15717
- 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();
15718
15718
  q.quill.focus();
15719
15719
  var A = q.quill.selection.getRange(), B = r(A, 1), j = B[0];
15720
15720
  if (q.handlers[K] != null)
@@ -15726,18 +15726,18 @@ var Xo = { exports: {} };
15726
15726
  } else
15727
15727
  q.quill.format(K, U, s.default.sources.USER);
15728
15728
  q.update(j);
15729
- }), this.controls.push([K, M]);
15729
+ }), this.controls.push([K, P]);
15730
15730
  }
15731
15731
  }
15732
15732
  }, {
15733
15733
  key: "update",
15734
- value: function(M) {
15735
- var q = M == null ? {} : this.quill.getFormat(M);
15734
+ value: function(P) {
15735
+ var q = P == null ? {} : this.quill.getFormat(P);
15736
15736
  this.controls.forEach(function(K) {
15737
15737
  var W = r(K, 2), oe = W[0], U = W[1];
15738
15738
  if (U.tagName === "SELECT") {
15739
15739
  var R = void 0;
15740
- if (M == null)
15740
+ if (P == null)
15741
15741
  R = null;
15742
15742
  else if (q[oe] == null)
15743
15743
  R = U.querySelector("option[selected]");
@@ -15746,7 +15746,7 @@ var Xo = { exports: {} };
15746
15746
  typeof A == "string" && (A = A.replace(/\"/g, '\\"')), R = U.querySelector('option[value="' + A + '"]');
15747
15747
  }
15748
15748
  R == null ? (U.value = "", U.selectedIndex = -1) : R.selected = !0;
15749
- } else if (M == null)
15749
+ } else if (P == null)
15750
15750
  U.classList.remove("ql-active");
15751
15751
  else if (U.hasAttribute("value")) {
15752
15752
  var B = q[oe] === U.getAttribute("value") || q[oe] != null && q[oe].toString() === U.getAttribute("value") || q[oe] == null && !U.getAttribute("value");
@@ -15759,28 +15759,28 @@ var Xo = { exports: {} };
15759
15759
  }(y.default);
15760
15760
  E.DEFAULTS = {};
15761
15761
  function S(O, k, T) {
15762
- var M = document.createElement("button");
15763
- 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);
15764
15764
  }
15765
- function P(O, k) {
15765
+ function M(O, k) {
15766
15766
  Array.isArray(k[0]) || (k = [k]), k.forEach(function(T) {
15767
- var M = document.createElement("span");
15768
- 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) {
15769
15769
  if (typeof q == "string")
15770
- S(M, q);
15770
+ S(P, q);
15771
15771
  else {
15772
15772
  var K = Object.keys(q)[0], W = q[K];
15773
- Array.isArray(W) ? C(M, K, W) : S(M, K, W);
15773
+ Array.isArray(W) ? C(P, K, W) : S(P, K, W);
15774
15774
  }
15775
- }), O.appendChild(M);
15775
+ }), O.appendChild(P);
15776
15776
  });
15777
15777
  }
15778
15778
  function C(O, k, T) {
15779
- var M = document.createElement("select");
15780
- 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) {
15781
15781
  var K = document.createElement("option");
15782
- q !== !1 ? K.setAttribute("value", q) : K.setAttribute("selected", "selected"), M.appendChild(K);
15783
- }), O.appendChild(M);
15782
+ q !== !1 ? K.setAttribute("value", q) : K.setAttribute("selected", "selected"), P.appendChild(K);
15783
+ }), O.appendChild(P);
15784
15784
  }
15785
15785
  E.DEFAULTS = {
15786
15786
  container: null,
@@ -15789,8 +15789,8 @@ var Xo = { exports: {} };
15789
15789
  var k = this, T = this.quill.getSelection();
15790
15790
  if (T != null)
15791
15791
  if (T.length == 0) {
15792
- var M = this.quill.getFormat();
15793
- Object.keys(M).forEach(function(q) {
15792
+ var P = this.quill.getFormat();
15793
+ Object.keys(P).forEach(function(q) {
15794
15794
  h.default.query(q, h.default.Scope.INLINE) != null && k.quill.format(q, !1);
15795
15795
  });
15796
15796
  } else
@@ -15801,21 +15801,21 @@ var Xo = { exports: {} };
15801
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);
15802
15802
  },
15803
15803
  indent: function(k) {
15804
- 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);
15805
15805
  if (k === "+1" || k === "-1") {
15806
15806
  var K = k === "+1" ? 1 : -1;
15807
- 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);
15808
15808
  }
15809
15809
  },
15810
15810
  link: function(k) {
15811
15811
  k === !0 && (k = prompt("Enter link URL:")), this.quill.format("link", k, s.default.sources.USER);
15812
15812
  },
15813
15813
  list: function(k) {
15814
- var T = this.quill.getSelection(), M = this.quill.getFormat(T);
15815
- 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);
15816
15816
  }
15817
15817
  }
15818
- }, i.default = E, i.addControls = P;
15818
+ }, i.default = E, i.addControls = M;
15819
15819
  },
15820
15820
  /* 58 */
15821
15821
  /***/
@@ -16020,15 +16020,15 @@ var Xo = { exports: {} };
16020
16020
  });
16021
16021
  var r = function() {
16022
16022
  function C(O, k) {
16023
- var T = [], M = !0, q = !1, K = void 0;
16023
+ var T = [], P = !0, q = !1, K = void 0;
16024
16024
  try {
16025
- 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)
16026
16026
  ;
16027
16027
  } catch (U) {
16028
16028
  q = !0, K = U;
16029
16029
  } finally {
16030
16030
  try {
16031
- !M && W.return && W.return();
16031
+ !P && W.return && W.return();
16032
16032
  } finally {
16033
16033
  if (q)
16034
16034
  throw K;
@@ -16045,21 +16045,21 @@ var Xo = { exports: {} };
16045
16045
  };
16046
16046
  }(), l = function C(O, k, T) {
16047
16047
  O === null && (O = Function.prototype);
16048
- var M = Object.getOwnPropertyDescriptor(O, k);
16049
- if (M === void 0) {
16048
+ var P = Object.getOwnPropertyDescriptor(O, k);
16049
+ if (P === void 0) {
16050
16050
  var q = Object.getPrototypeOf(O);
16051
16051
  return q === null ? void 0 : C(q, k, T);
16052
16052
  } else {
16053
- if ("value" in M)
16054
- return M.value;
16055
- var K = M.get;
16053
+ if ("value" in P)
16054
+ return P.value;
16055
+ var K = P.get;
16056
16056
  return K === void 0 ? void 0 : K.call(T);
16057
16057
  }
16058
16058
  }, a = function() {
16059
16059
  function C(O, k) {
16060
16060
  for (var T = 0; T < k.length; T++) {
16061
- var M = k[T];
16062
- 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);
16063
16063
  }
16064
16064
  }
16065
16065
  return function(O, k, T) {
@@ -16087,13 +16087,13 @@ var Xo = { exports: {} };
16087
16087
  x(O, C);
16088
16088
  function O(k, T) {
16089
16089
  p(this, O), T.modules.toolbar != null && T.modules.toolbar.container == null && (T.modules.toolbar.container = E);
16090
- var M = w(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, k, T));
16091
- 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;
16092
16092
  }
16093
16093
  return a(O, [{
16094
16094
  key: "extendToolbar",
16095
16095
  value: function(T) {
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 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) {
16097
16097
  T.handlers.link.call(T, !q.format.link);
16098
16098
  });
16099
16099
  }
@@ -16110,8 +16110,8 @@ var Xo = { exports: {} };
16110
16110
  return;
16111
16111
  var T = this.quill.getText(k);
16112
16112
  /^\S+@\S+\.\S+$/.test(T) && T.indexOf("mailto:") !== 0 && (T = "mailto:" + T);
16113
- var M = this.quill.theme.tooltip;
16114
- M.edit("link", T);
16113
+ var P = this.quill.theme.tooltip;
16114
+ P.edit("link", T);
16115
16115
  } else
16116
16116
  this.quill.format("link", !1);
16117
16117
  }
@@ -16119,31 +16119,31 @@ var Xo = { exports: {} };
16119
16119
  }
16120
16120
  }
16121
16121
  });
16122
- var P = function(C) {
16122
+ var M = function(C) {
16123
16123
  x(O, C);
16124
16124
  function O(k, T) {
16125
16125
  p(this, O);
16126
- var M = w(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, k, T));
16127
- 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;
16128
16128
  }
16129
16129
  return a(O, [{
16130
16130
  key: "listen",
16131
16131
  value: function() {
16132
16132
  var T = this;
16133
- l(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "listen", this).call(this), this.root.querySelector("a.ql-action").addEventListener("click", function(M) {
16134
- T.root.classList.contains("ql-editing") ? T.save() : T.edit("link", T.preview.textContent), M.preventDefault();
16135
- }), 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) {
16136
16136
  if (T.linkRange != null) {
16137
16137
  var q = T.linkRange;
16138
16138
  T.restoreFocus(), T.quill.formatText(q, "link", !1, c.default.sources.USER), delete T.linkRange;
16139
16139
  }
16140
- M.preventDefault(), T.hide();
16141
- }), this.quill.on(c.default.events.SELECTION_CHANGE, function(M, q, K) {
16142
- if (M != null) {
16143
- if (M.length === 0 && K === c.default.sources.USER) {
16144
- 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];
16145
16145
  if (U != null) {
16146
- T.linkRange = new y.Range(M.index - R, U.length());
16146
+ T.linkRange = new y.Range(P.index - R, U.length());
16147
16147
  var A = v.default.formats(U.domNode);
16148
16148
  T.preview.textContent = A, T.preview.setAttribute("href", A), T.show(), T.position(T.quill.getBounds(T.linkRange));
16149
16149
  return;
@@ -16161,7 +16161,7 @@ var Xo = { exports: {} };
16161
16161
  }
16162
16162
  }]), O;
16163
16163
  }(s.BaseTooltip);
16164
- 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;
16165
16165
  },
16166
16166
  /* 63 */
16167
16167
  /***/
@@ -16169,7 +16169,7 @@ var Xo = { exports: {} };
16169
16169
  Object.defineProperty(i, "__esModule", {
16170
16170
  value: !0
16171
16171
  });
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), 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);
16173
16173
  function ie(xe) {
16174
16174
  return xe && xe.__esModule ? xe : { default: xe };
16175
16175
  }
@@ -16202,7 +16202,7 @@ var Xo = { exports: {} };
16202
16202
  "formats/bold": w.default,
16203
16203
  "formats/code": R.Code,
16204
16204
  "formats/italic": E.default,
16205
- "formats/link": P.default,
16205
+ "formats/link": M.default,
16206
16206
  "formats/script": O.default,
16207
16207
  "formats/strike": T.default,
16208
16208
  "formats/underline": q.default,
@@ -16216,7 +16216,7 @@ var Xo = { exports: {} };
16216
16216
  "themes/snow": ue.default,
16217
16217
  "ui/icons": J.default,
16218
16218
  "ui/picker": fe.default,
16219
- "ui/icon-picker": Me.default,
16219
+ "ui/icon-picker": Pe.default,
16220
16220
  "ui/color-picker": Ee.default,
16221
16221
  "ui/tooltip": ze.default
16222
16222
  }, !0), i.default = l.default;
@@ -16399,8 +16399,8 @@ var Xo = { exports: {} };
16399
16399
  w === null && (w = Function.prototype);
16400
16400
  var S = Object.getOwnPropertyDescriptor(w, x);
16401
16401
  if (S === void 0) {
16402
- var P = Object.getPrototypeOf(w);
16403
- 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);
16404
16404
  } else {
16405
16405
  if ("value" in S)
16406
16406
  return S.value;
@@ -16460,8 +16460,8 @@ var Xo = { exports: {} };
16460
16460
  g(w, p), r(w, null, [{
16461
16461
  key: "create",
16462
16462
  value: function(E) {
16463
- var S = E === "ordered" ? "OL" : "UL", P = l(w.__proto__ || Object.getPrototypeOf(w), "create", this).call(this, S);
16464
- 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;
16465
16465
  }
16466
16466
  }, {
16467
16467
  key: "formats",
@@ -16498,7 +16498,7 @@ var Xo = { exports: {} };
16498
16498
  if (E instanceof m)
16499
16499
  l(w.prototype.__proto__ || Object.getPrototypeOf(w.prototype), "insertBefore", this).call(this, E, S);
16500
16500
  else {
16501
- 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);
16502
16502
  C.parent.insertBefore(E, C);
16503
16503
  }
16504
16504
  }
@@ -16885,8 +16885,8 @@ var Xo = { exports: {} };
16885
16885
  } else {
16886
16886
  if ("value" in E)
16887
16887
  return E.value;
16888
- var P = E.get;
16889
- return P === void 0 ? void 0 : P.call(x);
16888
+ var M = E.get;
16889
+ return M === void 0 ? void 0 : M.call(x);
16890
16890
  }
16891
16891
  }, a = o(35), d = u(a), f = o(5), h = u(f), c = o(9), s = u(c);
16892
16892
  function u($) {
@@ -16954,25 +16954,25 @@ var Xo = { exports: {} };
16954
16954
  }), i.default = i.CodeToken = i.CodeBlock = void 0;
16955
16955
  var r = function() {
16956
16956
  function x(E, S) {
16957
- for (var P = 0; P < S.length; P++) {
16958
- var C = S[P];
16957
+ for (var M = 0; M < S.length; M++) {
16958
+ var C = S[M];
16959
16959
  C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && (C.writable = !0), Object.defineProperty(E, C.key, C);
16960
16960
  }
16961
16961
  }
16962
- return function(E, S, P) {
16963
- 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;
16964
16964
  };
16965
- }(), l = function x(E, S, P) {
16965
+ }(), l = function x(E, S, M) {
16966
16966
  E === null && (E = Function.prototype);
16967
16967
  var C = Object.getOwnPropertyDescriptor(E, S);
16968
16968
  if (C === void 0) {
16969
16969
  var O = Object.getPrototypeOf(E);
16970
- return O === null ? void 0 : x(O, S, P);
16970
+ return O === null ? void 0 : x(O, S, M);
16971
16971
  } else {
16972
16972
  if ("value" in C)
16973
16973
  return C.value;
16974
16974
  var k = C.get;
16975
- return k === void 0 ? void 0 : k.call(P);
16975
+ return k === void 0 ? void 0 : k.call(M);
16976
16976
  }
16977
16977
  }, a = o(0), d = v(a), f = o(5), h = v(f), c = o(9), s = v(c), u = o(13), _ = v(u);
16978
16978
  function v(x) {
@@ -16999,14 +16999,14 @@ var Xo = { exports: {} };
16999
16999
  }
17000
17000
  return r(E, [{
17001
17001
  key: "replaceWith",
17002
- value: function(P) {
17003
- 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);
17004
17004
  }
17005
17005
  }, {
17006
17006
  key: "highlight",
17007
- value: function(P) {
17007
+ value: function(M) {
17008
17008
  var C = this.domNode.textContent;
17009
- 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);
17010
17010
  }
17011
17011
  }]), E;
17012
17012
  }(_.default);
@@ -17020,9 +17020,9 @@ var Xo = { exports: {} };
17020
17020
  h.default.register(p, !0), h.default.register($, !0);
17021
17021
  }
17022
17022
  }]);
17023
- function E(S, P) {
17023
+ function E(S, M) {
17024
17024
  y(this, E);
17025
- 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));
17026
17026
  if (typeof C.options.highlight != "function")
17027
17027
  throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");
17028
17028
  var O = null;
@@ -17035,12 +17035,12 @@ var Xo = { exports: {} };
17035
17035
  return r(E, [{
17036
17036
  key: "highlight",
17037
17037
  value: function() {
17038
- var P = this;
17038
+ var M = this;
17039
17039
  if (!this.quill.selection.composing) {
17040
17040
  this.quill.update(h.default.sources.USER);
17041
17041
  var C = this.quill.getSelection();
17042
17042
  this.quill.scroll.descendants($).forEach(function(O) {
17043
- O.highlight(P.options.highlight);
17043
+ O.highlight(M.options.highlight);
17044
17044
  }), this.quill.update(h.default.sources.SILENT), C != null && this.quill.setSelection(C, h.default.sources.SILENT);
17045
17045
  }
17046
17046
  }
@@ -17222,12 +17222,12 @@ var Xo = { exports: {} };
17222
17222
  Object.defineProperty(i, "__esModule", {
17223
17223
  value: !0
17224
17224
  }), i.default = i.BubbleTooltip = void 0;
17225
- var r = function E(S, P, C) {
17225
+ var r = function E(S, M, C) {
17226
17226
  S === null && (S = Function.prototype);
17227
- var O = Object.getOwnPropertyDescriptor(S, P);
17227
+ var O = Object.getOwnPropertyDescriptor(S, M);
17228
17228
  if (O === void 0) {
17229
17229
  var k = Object.getPrototypeOf(S);
17230
- return k === null ? void 0 : E(k, P, C);
17230
+ return k === null ? void 0 : E(k, M, C);
17231
17231
  } else {
17232
17232
  if ("value" in O)
17233
17233
  return O.value;
@@ -17235,14 +17235,14 @@ var Xo = { exports: {} };
17235
17235
  return T === void 0 ? void 0 : T.call(C);
17236
17236
  }
17237
17237
  }, l = function() {
17238
- function E(S, P) {
17239
- for (var C = 0; C < P.length; C++) {
17240
- var O = P[C];
17238
+ function E(S, M) {
17239
+ for (var C = 0; C < M.length; C++) {
17240
+ var O = M[C];
17241
17241
  O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(S, O.key, O);
17242
17242
  }
17243
17243
  }
17244
- return function(S, P, C) {
17245
- 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;
17246
17246
  };
17247
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(_);
17248
17248
  function y(E) {
@@ -17264,9 +17264,9 @@ var Xo = { exports: {} };
17264
17264
  }
17265
17265
  var p = [["bold", "italic", "link"], [{ header: 1 }, { header: 2 }, "blockquote"]], w = function(E) {
17266
17266
  $(S, E);
17267
- function S(P, C) {
17267
+ function S(M, C) {
17268
17268
  g(this, S), C.modules.toolbar != null && C.modules.toolbar.container == null && (C.modules.toolbar.container = p);
17269
- 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));
17270
17270
  return O.quill.container.classList.add("ql-bubble"), O;
17271
17271
  }
17272
17272
  return l(S, [{
@@ -17289,10 +17289,10 @@ var Xo = { exports: {} };
17289
17289
  });
17290
17290
  var x = function(E) {
17291
17291
  $(S, E);
17292
- function S(P, C) {
17292
+ function S(M, C) {
17293
17293
  g(this, S);
17294
- var O = m(this, (S.__proto__ || Object.getPrototypeOf(S)).call(this, P, C));
17295
- 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) {
17296
17296
  if (k === h.default.events.SELECTION_CHANGE)
17297
17297
  if (T != null && T.length > 0 && q === h.default.sources.USER) {
17298
17298
  O.show(), O.root.style.left = "0px", O.root.style.width = "", O.root.style.width = O.root.offsetWidth + "px";
@@ -17352,7 +17352,7 @@ var Xo = { exports: {} };
17352
17352
  var Ff = Xo.exports;
17353
17353
  const Bt = /* @__PURE__ */ Er(Ff);
17354
17354
  var Rt = -1, xt = 1, bt = 0;
17355
- function Kn(t, n, e, i) {
17355
+ function Gn(t, n, e, i) {
17356
17356
  if (t === n)
17357
17357
  return t ? [[bt, t]] : [];
17358
17358
  if (e != null) {
@@ -17361,7 +17361,7 @@ function Kn(t, n, e, i) {
17361
17361
  return o;
17362
17362
  }
17363
17363
  var r = Ii(t, n), l = t.substring(0, r);
17364
- t = t.substring(r), n = n.substring(r), r = Pi(t, n);
17364
+ t = t.substring(r), n = n.substring(r), r = Mi(t, n);
17365
17365
  var a = t.substring(t.length - r);
17366
17366
  t = t.substring(0, t.length - r), n = n.substring(0, n.length - r);
17367
17367
  var d = Hf(t, n);
@@ -17384,7 +17384,7 @@ function Hf(t, n) {
17384
17384
  return [[Rt, t], [xt, n]];
17385
17385
  var l = Uf(t, n);
17386
17386
  if (l) {
17387
- var a = l[0], d = l[1], f = l[2], h = l[3], c = l[4], s = Kn(a, f), u = Kn(d, h);
17387
+ var a = l[0], d = l[1], f = l[2], h = l[3], c = l[4], s = Gn(a, f), u = Gn(d, h);
17388
17388
  return s.concat([[bt, c]], u);
17389
17389
  }
17390
17390
  return Vf(t, n);
@@ -17434,7 +17434,7 @@ function Vf(t, n) {
17434
17434
  return [[Rt, t], [xt, n]];
17435
17435
  }
17436
17436
  function yo(t, n, e, i) {
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);
17437
+ var o = t.substring(0, e), r = n.substring(0, i), l = t.substring(e), a = n.substring(i), d = Gn(o, r), f = Gn(l, a);
17438
17438
  return d.concat(f);
17439
17439
  }
17440
17440
  function Ii(t, n) {
@@ -17444,7 +17444,7 @@ function Ii(t, n) {
17444
17444
  t.substring(r, o) == n.substring(r, o) ? (e = o, r = e) : i = o, o = Math.floor((i - e) / 2 + e);
17445
17445
  return ea(t.charCodeAt(o - 1)) && o--, o;
17446
17446
  }
17447
- function Pi(t, n) {
17447
+ function Mi(t, n) {
17448
17448
  if (!t || !n || t.slice(-1) !== n.slice(-1))
17449
17449
  return 0;
17450
17450
  for (var e = 0, i = Math.min(t.length, n.length), o = i, r = 0; e < o; )
@@ -17460,7 +17460,7 @@ function Uf(t, n) {
17460
17460
  var E = Ii(
17461
17461
  u.substring(v),
17462
17462
  _.substring(g)
17463
- ), S = Pi(
17463
+ ), S = Mi(
17464
17464
  u.substring(0, v),
17465
17465
  _.substring(0, g)
17466
17466
  );
@@ -17521,7 +17521,7 @@ function Qo(t, n) {
17521
17521
  break;
17522
17522
  }
17523
17523
  if (r.length > 0 || l.length > 0) {
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 = Pi(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)));
17525
17525
  var c = o + i;
17526
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);
17527
17527
  }
@@ -17604,16 +17604,16 @@ function Kf(t, n, e) {
17604
17604
  return null;
17605
17605
  }
17606
17606
  function Tr(t, n, e) {
17607
- return Kn(t, n, e, !0);
17607
+ return Gn(t, n, e, !0);
17608
17608
  }
17609
17609
  Tr.INSERT = xt;
17610
17610
  Tr.DELETE = Rt;
17611
17611
  Tr.EQUAL = bt;
17612
- var Gf = Tr, yr = { exports: {} };
17613
- yr.exports;
17612
+ var Gf = Tr, br = { exports: {} };
17613
+ br.exports;
17614
17614
  (function(t, n) {
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]", 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 = {};
17616
- 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;
17617
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;
17618
17618
  function V(b, N) {
17619
17619
  return b.set(N[0], N[1]), b;
@@ -17654,7 +17654,7 @@ yr.exports;
17654
17654
  }
17655
17655
  return N;
17656
17656
  }
17657
- function Me(b) {
17657
+ function Pe(b) {
17658
17658
  var N = -1, F = Array(b.size);
17659
17659
  return b.forEach(function(ee, Ne) {
17660
17660
  F[++N] = [Ne, ee];
@@ -17676,7 +17676,7 @@ yr.exports;
17676
17676
  return b ? "Symbol(src)_1." + b : "";
17677
17677
  }(), xe = te.toString, Oe = se.hasOwnProperty, Se = se.toString, tt = RegExp(
17678
17678
  "^" + xe.call(Oe).replace(K, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
17679
- ), We = D ? j.Buffer : void 0, je = j.Symbol, At = j.Uint8Array, De = Ge(Object.getPrototypeOf, Object), ft = Object.create, en = se.propertyIsEnumerable, On = Q.splice, tn = Object.getOwnPropertySymbols, Fe = We ? We.isBuffer : void 0, Yt = Ge(Object.keys, Object), Nt = St(j, "DataView"), qt = St(j, "Map"), lt = St(j, "Promise"), It = St(j, "Set"), ht = St(j, "WeakMap"), Ft = St(Object, "create"), nn = pt(Nt), I = pt(qt), L = pt(lt), z = pt(It), X = pt(ht), le = je ? je.prototype : void 0, de = le ? le.valueOf : void 0;
17679
+ ), We = D ? j.Buffer : void 0, je = j.Symbol, At = j.Uint8Array, De = Ge(Object.getPrototypeOf, Object), ft = Object.create, en = se.propertyIsEnumerable, kn = Q.splice, tn = Object.getOwnPropertySymbols, Fe = We ? We.isBuffer : void 0, Wt = Ge(Object.keys, Object), Nt = St(j, "DataView"), qt = St(j, "Map"), lt = St(j, "Promise"), It = St(j, "Set"), ht = St(j, "WeakMap"), Ft = St(Object, "create"), nn = pt(Nt), I = pt(qt), L = pt(lt), z = pt(It), X = pt(ht), le = je ? je.prototype : void 0, de = le ? le.valueOf : void 0;
17680
17680
  function Ce(b) {
17681
17681
  var N = -1, F = b ? b.length : 0;
17682
17682
  for (this.clear(); ++N < F; ) {
@@ -17687,7 +17687,7 @@ yr.exports;
17687
17687
  function me() {
17688
17688
  this.__data__ = Ft ? Ft(null) : {};
17689
17689
  }
17690
- function Pe(b) {
17690
+ function Me(b) {
17691
17691
  return this.has(b) && delete this.__data__[b];
17692
17692
  }
17693
17693
  function pe(b) {
@@ -17706,7 +17706,7 @@ yr.exports;
17706
17706
  var F = this.__data__;
17707
17707
  return F[b] = Ft && N === void 0 ? i : N, this;
17708
17708
  }
17709
- 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;
17710
17710
  function Ue(b) {
17711
17711
  var N = -1, F = b ? b.length : 0;
17712
17712
  for (this.clear(); ++N < F; ) {
@@ -17722,20 +17722,20 @@ yr.exports;
17722
17722
  if (F < 0)
17723
17723
  return !1;
17724
17724
  var ee = N.length - 1;
17725
- return F == ee ? N.pop() : On.call(N, F, 1), !0;
17725
+ return F == ee ? N.pop() : kn.call(N, F, 1), !0;
17726
17726
  }
17727
- function Pt(b) {
17727
+ function Mt(b) {
17728
17728
  var N = this.__data__, F = hn(N, b);
17729
17729
  return F < 0 ? void 0 : N[F][1];
17730
17730
  }
17731
- function kn(b) {
17731
+ function Cn(b) {
17732
17732
  return hn(this.__data__, b) > -1;
17733
17733
  }
17734
17734
  function rn(b, N) {
17735
17735
  var F = this.__data__, ee = hn(F, b);
17736
17736
  return ee < 0 ? F.push([b, N]) : F[ee][1] = N, this;
17737
17737
  }
17738
- 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 = Cn, Ue.prototype.set = rn;
17739
17739
  function nt(b) {
17740
17740
  var N = -1, F = b ? b.length : 0;
17741
17741
  for (this.clear(); ++N < F; ) {
@@ -17743,30 +17743,30 @@ yr.exports;
17743
17743
  this.set(ee[0], ee[1]);
17744
17744
  }
17745
17745
  }
17746
- function Cn() {
17746
+ function En() {
17747
17747
  this.__data__ = {
17748
17748
  hash: new Ce(),
17749
17749
  map: new (qt || Ue)(),
17750
17750
  string: new Ce()
17751
17751
  };
17752
17752
  }
17753
- function En(b) {
17753
+ function Sn(b) {
17754
17754
  return an(this, b).delete(b);
17755
17755
  }
17756
- function Sn(b) {
17756
+ function xn(b) {
17757
17757
  return an(this, b).get(b);
17758
17758
  }
17759
- function xn(b) {
17759
+ function Tn(b) {
17760
17760
  return an(this, b).has(b);
17761
17761
  }
17762
- function Tn(b, N) {
17762
+ function An(b, N) {
17763
17763
  return an(this, b).set(b, N), this;
17764
17764
  }
17765
- nt.prototype.clear = Cn, nt.prototype.delete = En, nt.prototype.get = Sn, nt.prototype.has = xn, nt.prototype.set = Tn;
17765
+ nt.prototype.clear = En, nt.prototype.delete = Sn, nt.prototype.get = xn, nt.prototype.has = Tn, nt.prototype.set = An;
17766
17766
  function st(b) {
17767
17767
  this.__data__ = new Ue(b);
17768
17768
  }
17769
- function An() {
17769
+ function Nn() {
17770
17770
  this.__data__ = new Ue();
17771
17771
  }
17772
17772
  function Nr(b) {
@@ -17775,10 +17775,10 @@ yr.exports;
17775
17775
  function Ir(b) {
17776
17776
  return this.__data__.get(b);
17777
17777
  }
17778
- function Pr(b) {
17778
+ function Mr(b) {
17779
17779
  return this.__data__.has(b);
17780
17780
  }
17781
- function Mr(b, N) {
17781
+ function Pr(b, N) {
17782
17782
  var F = this.__data__;
17783
17783
  if (F instanceof Ue) {
17784
17784
  var ee = F.__data__;
@@ -17788,49 +17788,49 @@ yr.exports;
17788
17788
  }
17789
17789
  return F.set(b, N), this;
17790
17790
  }
17791
- st.prototype.clear = An, st.prototype.delete = Nr, st.prototype.get = Ir, st.prototype.has = Pr, st.prototype.set = Mr;
17791
+ st.prototype.clear = Nn, st.prototype.delete = Nr, st.prototype.get = Ir, st.prototype.has = Mr, st.prototype.set = Pr;
17792
17792
  function fn(b, N) {
17793
- var F = Mn(b) || gn(b) ? _e(b.length, String) : [], ee = F.length, Ne = !!ee;
17793
+ var F = Dn(b) || gn(b) ? _e(b.length, String) : [], ee = F.length, Ne = !!ee;
17794
17794
  for (var ye in b)
17795
17795
  (N || Oe.call(b, ye)) && !(Ne && (ye == "length" || Yr(ye, ee))) && F.push(ye);
17796
17796
  return F;
17797
17797
  }
17798
- function Yn(b, N, F) {
17798
+ function Wn(b, N, F) {
17799
17799
  var ee = b[N];
17800
- (!(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);
17801
17801
  }
17802
17802
  function hn(b, N) {
17803
17803
  for (var F = b.length; F--; )
17804
- if (Qn(b[F][0], N))
17804
+ if (er(b[F][0], N))
17805
17805
  return F;
17806
17806
  return -1;
17807
17807
  }
17808
- function Mt(b, N) {
17809
- return b && Pn(N, Ln(N), b);
17808
+ function Pt(b, N) {
17809
+ return b && Pn(N, Rn(N), b);
17810
17810
  }
17811
- function Nn(b, N, F, ee, Ne, ye, Le) {
17811
+ function In(b, N, F, ee, Ne, ye, Le) {
17812
17812
  var Be;
17813
17813
  if (ee && (Be = ye ? ee(b, Ne, ye, Le) : ee(b)), Be !== void 0)
17814
17814
  return Be;
17815
17815
  if (!Lt(b))
17816
17816
  return b;
17817
- var Ze = Mn(b);
17817
+ var Ze = Dn(b);
17818
17818
  if (Ze) {
17819
17819
  if (Be = Kr(b), !N)
17820
17820
  return Vr(b, Be);
17821
17821
  } else {
17822
17822
  var He = Ut(b), ut = He == h || He == c;
17823
- if (er(b))
17823
+ if (tr(b))
17824
17824
  return pn(b, N);
17825
17825
  if (He == _ || He == r || ut && !ye) {
17826
17826
  if (Ie(b))
17827
17827
  return ye ? b : {};
17828
17828
  if (Be = Dt(ut ? {} : b), !N)
17829
- return Ur(b, Mt(Be, b));
17829
+ return Ur(b, Pt(Be, b));
17830
17830
  } else {
17831
17831
  if (!R[He])
17832
17832
  return ye ? b : {};
17833
- Be = Gr(b, He, Nn, N);
17833
+ Be = Gr(b, He, In, N);
17834
17834
  }
17835
17835
  }
17836
17836
  Le || (Le = new st());
@@ -17838,9 +17838,9 @@ yr.exports;
17838
17838
  if (vt)
17839
17839
  return vt;
17840
17840
  if (Le.set(b, Be), !Ze)
17841
- var Qe = F ? zr(b) : Ln(b);
17841
+ var Qe = F ? zr(b) : Rn(b);
17842
17842
  return J(Qe || b, function(dt, ot) {
17843
- 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, In(dt, N, F, ee, ot, b, Le));
17844
17844
  }), Be;
17845
17845
  }
17846
17846
  function Dr(b) {
@@ -17848,7 +17848,7 @@ yr.exports;
17848
17848
  }
17849
17849
  function Lr(b, N, F) {
17850
17850
  var ee = N(b);
17851
- return Mn(b) ? ee : re(ee, F(b));
17851
+ return Dn(b) ? ee : re(ee, F(b));
17852
17852
  }
17853
17853
  function Rr(b) {
17854
17854
  return Se.call(b);
@@ -17856,12 +17856,12 @@ yr.exports;
17856
17856
  function Br(b) {
17857
17857
  if (!Lt(b) || Zr(b))
17858
17858
  return !1;
17859
- var N = Dn(b) || Ie(b) ? tt : oe;
17859
+ var N = Ln(b) || Ie(b) ? tt : oe;
17860
17860
  return N.test(pt(b));
17861
17861
  }
17862
17862
  function jr(b) {
17863
- if (!Jn(b))
17864
- return Yt(b);
17863
+ if (!Xn(b))
17864
+ return Wt(b);
17865
17865
  var N = [];
17866
17866
  for (var F in Object(b))
17867
17867
  Oe.call(b, F) && F != "constructor" && N.push(F);
@@ -17873,19 +17873,19 @@ yr.exports;
17873
17873
  var F = new b.constructor(b.length);
17874
17874
  return b.copy(F), F;
17875
17875
  }
17876
- function In(b) {
17876
+ function Mn(b) {
17877
17877
  var N = new b.constructor(b.byteLength);
17878
17878
  return new At(N).set(new At(b)), N;
17879
17879
  }
17880
17880
  function on(b, N) {
17881
- var F = N ? In(b.buffer) : b.buffer;
17881
+ var F = N ? Mn(b.buffer) : b.buffer;
17882
17882
  return new b.constructor(F, b.byteOffset, b.byteLength);
17883
17883
  }
17884
- function Wn(b, N, F) {
17885
- 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);
17886
17886
  return fe(ee, V, new b.constructor());
17887
17887
  }
17888
- function Zn(b) {
17888
+ function Jn(b) {
17889
17889
  var N = new b.constructor(b.source, W.exec(b));
17890
17890
  return N.lastIndex = b.lastIndex, N;
17891
17891
  }
@@ -17897,7 +17897,7 @@ yr.exports;
17897
17897
  return de ? Object(de.call(b)) : {};
17898
17898
  }
17899
17899
  function Hr(b, N) {
17900
- var F = N ? In(b.buffer) : b.buffer;
17900
+ var F = N ? Mn(b.buffer) : b.buffer;
17901
17901
  return new b.constructor(F, b.byteOffset, b.length);
17902
17902
  }
17903
17903
  function Vr(b, N) {
@@ -17910,7 +17910,7 @@ yr.exports;
17910
17910
  F || (F = {});
17911
17911
  for (var Ne = -1, ye = N.length; ++Ne < ye; ) {
17912
17912
  var Le = N[Ne], Be = ee ? ee(F[Le], b[Le], Le, F, b) : void 0;
17913
- Yn(F, Le, Be === void 0 ? b[Le] : Be);
17913
+ Wn(F, Le, Be === void 0 ? b[Le] : Be);
17914
17914
  }
17915
17915
  return F;
17916
17916
  }
@@ -17918,7 +17918,7 @@ yr.exports;
17918
17918
  return Pn(b, Vt(b), N);
17919
17919
  }
17920
17920
  function zr(b) {
17921
- return Lr(b, Ln, Vt);
17921
+ return Lr(b, Rn, Vt);
17922
17922
  }
17923
17923
  function an(b, N) {
17924
17924
  var F = b.__data__;
@@ -17951,13 +17951,13 @@ yr.exports;
17951
17951
  return N && typeof b[0] == "string" && Oe.call(b, "index") && (F.index = b.index, F.input = b.input), F;
17952
17952
  }
17953
17953
  function Dt(b) {
17954
- return typeof b.constructor == "function" && !Jn(b) ? Dr(De(b)) : {};
17954
+ return typeof b.constructor == "function" && !Xn(b) ? Dr(De(b)) : {};
17955
17955
  }
17956
17956
  function Gr(b, N, F, ee) {
17957
17957
  var Ne = b.constructor;
17958
17958
  switch (N) {
17959
17959
  case w:
17960
- return In(b);
17960
+ return Mn(b);
17961
17961
  case a:
17962
17962
  case d:
17963
17963
  return new Ne(+b);
@@ -17965,21 +17965,21 @@ yr.exports;
17965
17965
  return on(b, ee);
17966
17966
  case E:
17967
17967
  case S:
17968
- case P:
17968
+ case M:
17969
17969
  case C:
17970
17970
  case O:
17971
17971
  case k:
17972
17972
  case T:
17973
- case M:
17973
+ case P:
17974
17974
  case q:
17975
17975
  return Hr(b, ee);
17976
17976
  case s:
17977
- return Wn(b, ee, F);
17977
+ return Zn(b, ee, F);
17978
17978
  case u:
17979
17979
  case m:
17980
17980
  return new Ne(b);
17981
17981
  case y:
17982
- return Zn(b);
17982
+ return Jn(b);
17983
17983
  case g:
17984
17984
  return qr(b, ee, F);
17985
17985
  case $:
@@ -17996,7 +17996,7 @@ yr.exports;
17996
17996
  function Zr(b) {
17997
17997
  return !!ie && ie in b;
17998
17998
  }
17999
- function Jn(b) {
17999
+ function Xn(b) {
18000
18000
  var N = b && b.constructor, F = typeof N == "function" && N.prototype || se;
18001
18001
  return b === F;
18002
18002
  }
@@ -18013,38 +18013,38 @@ yr.exports;
18013
18013
  }
18014
18014
  return "";
18015
18015
  }
18016
- function Xn(b) {
18017
- return Nn(b, !0, !0);
18016
+ function Qn(b) {
18017
+ return In(b, !0, !0);
18018
18018
  }
18019
- function Qn(b, N) {
18019
+ function er(b, N) {
18020
18020
  return b === N || b !== b && N !== N;
18021
18021
  }
18022
18022
  function gn(b) {
18023
18023
  return Jr(b) && Oe.call(b, "callee") && (!en.call(b, "callee") || Se.call(b) == r);
18024
18024
  }
18025
- var Mn = Array.isArray;
18025
+ var Dn = Array.isArray;
18026
18026
  function mn(b) {
18027
- return b != null && tr(b.length) && !Dn(b);
18027
+ return b != null && nr(b.length) && !Ln(b);
18028
18028
  }
18029
18029
  function Jr(b) {
18030
- return nr(b) && mn(b);
18030
+ return rr(b) && mn(b);
18031
18031
  }
18032
- var er = Fe || Qr;
18033
- function Dn(b) {
18032
+ var tr = Fe || Qr;
18033
+ function Ln(b) {
18034
18034
  var N = Lt(b) ? Se.call(b) : "";
18035
18035
  return N == h || N == c;
18036
18036
  }
18037
- function tr(b) {
18037
+ function nr(b) {
18038
18038
  return typeof b == "number" && b > -1 && b % 1 == 0 && b <= o;
18039
18039
  }
18040
18040
  function Lt(b) {
18041
18041
  var N = typeof b;
18042
18042
  return !!b && (N == "object" || N == "function");
18043
18043
  }
18044
- function nr(b) {
18044
+ function rr(b) {
18045
18045
  return !!b && typeof b == "object";
18046
18046
  }
18047
- function Ln(b) {
18047
+ function Rn(b) {
18048
18048
  return mn(b) ? fn(b) : jr(b);
18049
18049
  }
18050
18050
  function Xr() {
@@ -18053,20 +18053,20 @@ yr.exports;
18053
18053
  function Qr() {
18054
18054
  return !1;
18055
18055
  }
18056
- t.exports = Xn;
18057
- })(yr, yr.exports);
18058
- var ia = yr.exports, br = { exports: {} };
18059
- br.exports;
18056
+ t.exports = Qn;
18057
+ })(br, br.exports);
18058
+ var ia = br.exports, _r = { exports: {} };
18059
+ _r.exports;
18060
18060
  (function(t, n) {
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]", 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 = {};
18062
- 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;
18063
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() {
18064
18064
  try {
18065
18065
  return _e && _e.binding && _e.binding("util");
18066
18066
  } catch {
18067
18067
  }
18068
18068
  }(), Ie = Ee && Ee.isTypedArray;
18069
- function Me(b, N) {
18069
+ function Pe(b, N) {
18070
18070
  for (var F = -1, ee = b == null ? 0 : b.length, Ne = 0, ye = []; ++F < ee; ) {
18071
18071
  var Le = b[F];
18072
18072
  N(Le, F, b) && (ye[Ne++] = Le);
@@ -18120,9 +18120,9 @@ br.exports;
18120
18120
  var Se = Array.prototype, tt = Function.prototype, We = Object.prototype, je = Z["__core-js_shared__"], At = tt.toString, De = We.hasOwnProperty, ft = function() {
18121
18121
  var b = /[^.]+$/.exec(je && je.keys && je.keys.IE_PROTO || "");
18122
18122
  return b ? "Symbol(src)_1." + b : "";
18123
- }(), en = We.toString, On = RegExp(
18123
+ }(), en = We.toString, kn = RegExp(
18124
18124
  "^" + At.call(De).replace(B, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
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), 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, Wt = 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;
18126
18126
  function Ue(b) {
18127
18127
  var N = -1, F = b == null ? 0 : b.length;
18128
18128
  for (this.clear(); ++N < F; ) {
@@ -18137,7 +18137,7 @@ br.exports;
18137
18137
  var N = this.has(b) && delete this.__data__[b];
18138
18138
  return this.size -= N ? 1 : 0, N;
18139
18139
  }
18140
- function Pt(b) {
18140
+ function Mt(b) {
18141
18141
  var N = this.__data__;
18142
18142
  if (le) {
18143
18143
  var F = N[b];
@@ -18145,7 +18145,7 @@ br.exports;
18145
18145
  }
18146
18146
  return De.call(N, b) ? N[b] : void 0;
18147
18147
  }
18148
- function kn(b) {
18148
+ function Cn(b) {
18149
18149
  var N = this.__data__;
18150
18150
  return le ? N[b] !== void 0 : De.call(N, b);
18151
18151
  }
@@ -18153,7 +18153,7 @@ br.exports;
18153
18153
  var F = this.__data__;
18154
18154
  return this.size += this.has(b) ? 0 : 1, F[b] = le && N === void 0 ? i : N, this;
18155
18155
  }
18156
- 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 = Cn, Ue.prototype.set = rn;
18157
18157
  function nt(b) {
18158
18158
  var N = -1, F = b == null ? 0 : b.length;
18159
18159
  for (this.clear(); ++N < F; ) {
@@ -18161,28 +18161,28 @@ br.exports;
18161
18161
  this.set(ee[0], ee[1]);
18162
18162
  }
18163
18163
  }
18164
- function Cn() {
18164
+ function En() {
18165
18165
  this.__data__ = [], this.size = 0;
18166
18166
  }
18167
- function En(b) {
18167
+ function Sn(b) {
18168
18168
  var N = this.__data__, F = pn(N, b);
18169
18169
  if (F < 0)
18170
18170
  return !1;
18171
18171
  var ee = N.length - 1;
18172
18172
  return F == ee ? N.pop() : qt.call(N, F, 1), --this.size, !0;
18173
18173
  }
18174
- function Sn(b) {
18174
+ function xn(b) {
18175
18175
  var N = this.__data__, F = pn(N, b);
18176
18176
  return F < 0 ? void 0 : N[F][1];
18177
18177
  }
18178
- function xn(b) {
18178
+ function Tn(b) {
18179
18179
  return pn(this.__data__, b) > -1;
18180
18180
  }
18181
- function Tn(b, N) {
18181
+ function An(b, N) {
18182
18182
  var F = this.__data__, ee = pn(F, b);
18183
18183
  return ee < 0 ? (++this.size, F.push([b, N])) : F[ee][1] = N, this;
18184
18184
  }
18185
- nt.prototype.clear = Cn, nt.prototype.delete = En, nt.prototype.get = Sn, nt.prototype.has = xn, nt.prototype.set = Tn;
18185
+ nt.prototype.clear = En, nt.prototype.delete = Sn, nt.prototype.get = xn, nt.prototype.has = Tn, nt.prototype.set = An;
18186
18186
  function st(b) {
18187
18187
  var N = -1, F = b == null ? 0 : b.length;
18188
18188
  for (this.clear(); ++N < F; ) {
@@ -18190,7 +18190,7 @@ br.exports;
18190
18190
  this.set(ee[0], ee[1]);
18191
18191
  }
18192
18192
  }
18193
- function An() {
18193
+ function Nn() {
18194
18194
  this.size = 0, this.__data__ = {
18195
18195
  hash: new Ue(),
18196
18196
  map: new (I || nt)(),
@@ -18204,31 +18204,31 @@ br.exports;
18204
18204
  function Ir(b) {
18205
18205
  return St(this, b).get(b);
18206
18206
  }
18207
- function Pr(b) {
18207
+ function Mr(b) {
18208
18208
  return St(this, b).has(b);
18209
18209
  }
18210
- function Mr(b, N) {
18210
+ function Pr(b, N) {
18211
18211
  var F = St(this, b), ee = F.size;
18212
18212
  return F.set(b, N), this.size += F.size == ee ? 0 : 1, this;
18213
18213
  }
18214
- st.prototype.clear = An, st.prototype.delete = Nr, st.prototype.get = Ir, st.prototype.has = Pr, st.prototype.set = Mr;
18214
+ st.prototype.clear = Nn, st.prototype.delete = Nr, st.prototype.get = Ir, st.prototype.has = Mr, st.prototype.set = Pr;
18215
18215
  function fn(b) {
18216
18216
  var N = -1, F = b == null ? 0 : b.length;
18217
18217
  for (this.__data__ = new st(); ++N < F; )
18218
18218
  this.add(b[N]);
18219
18219
  }
18220
- function Yn(b) {
18220
+ function Wn(b) {
18221
18221
  return this.__data__.set(b, i), this;
18222
18222
  }
18223
18223
  function hn(b) {
18224
18224
  return this.__data__.has(b);
18225
18225
  }
18226
- fn.prototype.add = fn.prototype.push = Yn, fn.prototype.has = hn;
18227
- function Mt(b) {
18226
+ fn.prototype.add = fn.prototype.push = Wn, fn.prototype.has = hn;
18227
+ function Pt(b) {
18228
18228
  var N = this.__data__ = new nt(b);
18229
18229
  this.size = N.size;
18230
18230
  }
18231
- function Nn() {
18231
+ function In() {
18232
18232
  this.__data__ = new nt(), this.size = 0;
18233
18233
  }
18234
18234
  function Dr(b) {
@@ -18251,9 +18251,9 @@ br.exports;
18251
18251
  }
18252
18252
  return F.set(b, N), this.size = F.size, this;
18253
18253
  }
18254
- Mt.prototype.clear = Nn, Mt.prototype.delete = Dr, Mt.prototype.get = Lr, Mt.prototype.has = Rr, Mt.prototype.set = Br;
18254
+ Pt.prototype.clear = In, Pt.prototype.delete = Dr, Pt.prototype.get = Lr, Pt.prototype.has = Rr, Pt.prototype.set = Br;
18255
18255
  function jr(b, N) {
18256
- 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;
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;
18257
18257
  for (var He in b)
18258
18258
  (N || De.call(b, He)) && !(Le && // Safari 9 has enumerable `arguments.length` in strict mode.
18259
18259
  (He == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -18264,22 +18264,22 @@ br.exports;
18264
18264
  }
18265
18265
  function pn(b, N) {
18266
18266
  for (var F = b.length; F--; )
18267
- if (Xn(b[F][0], N))
18267
+ if (Qn(b[F][0], N))
18268
18268
  return F;
18269
18269
  return -1;
18270
18270
  }
18271
- function In(b, N, F) {
18271
+ function Mn(b, N, F) {
18272
18272
  var ee = N(b);
18273
18273
  return gn(b) ? ee : Ge(ee, F(b));
18274
18274
  }
18275
18275
  function on(b) {
18276
- 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);
18277
18277
  }
18278
- function Wn(b) {
18278
+ function Zn(b) {
18279
18279
  return Lt(b) && on(b) == a;
18280
18280
  }
18281
- function Zn(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, 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);
18283
18283
  }
18284
18284
  function qr(b, N, F, ee, Ne, ye) {
18285
18285
  var Le = gn(b), Be = gn(N), Ze = Le ? d : Dt(b), He = Be ? d : Dt(N);
@@ -18291,24 +18291,24 @@ br.exports;
18291
18291
  Le = !0, ut = !1;
18292
18292
  }
18293
18293
  if (Qe && !ut)
18294
- return ye || (ye = new Mt()), Le || nr(b) ? Pn(b, N, F, ee, Ne, ye) : Ur(b, N, Ze, F, ee, Ne, ye);
18294
+ return ye || (ye = new Pt()), Le || rr(b) ? Pn(b, N, F, ee, Ne, ye) : Ur(b, N, Ze, F, ee, Ne, ye);
18295
18295
  if (!(F & o)) {
18296
18296
  var dt = ut && De.call(b, "__wrapped__"), ot = vt && De.call(N, "__wrapped__");
18297
18297
  if (dt || ot) {
18298
- var Wt = dt ? b.value() : b, zt = ot ? N.value() : N;
18299
- return ye || (ye = new Mt()), Ne(Wt, zt, F, ee, ye);
18298
+ var Zt = dt ? b.value() : b, zt = ot ? N.value() : N;
18299
+ return ye || (ye = new Pt()), Ne(Zt, zt, F, ee, ye);
18300
18300
  }
18301
18301
  }
18302
- return Qe ? (ye || (ye = new Mt()), zr(b, N, F, ee, Ne, ye)) : !1;
18302
+ return Qe ? (ye || (ye = new Pt()), zr(b, N, F, ee, Ne, ye)) : !1;
18303
18303
  }
18304
18304
  function Fr(b) {
18305
- if (!tr(b) || Wr(b))
18305
+ if (!nr(b) || Wr(b))
18306
18306
  return !1;
18307
- var N = er(b) ? On : j;
18307
+ var N = tr(b) ? kn : j;
18308
18308
  return N.test(pt(b));
18309
18309
  }
18310
18310
  function Hr(b) {
18311
- return Lt(b) && Dn(b.length) && !!H[on(b)];
18311
+ return Lt(b) && Ln(b.length) && !!H[on(b)];
18312
18312
  }
18313
18313
  function Vr(b) {
18314
18314
  if (!Zr(b))
@@ -18329,9 +18329,9 @@ br.exports;
18329
18329
  for (ye.set(b, N), ye.set(N, b); ++ut < Be; ) {
18330
18330
  var dt = b[ut], ot = N[ut];
18331
18331
  if (ee)
18332
- var Wt = Le ? ee(ot, dt, ut, N, b, ye) : ee(dt, ot, ut, b, N, ye);
18333
- if (Wt !== void 0) {
18334
- if (Wt)
18332
+ var Zt = Le ? ee(ot, dt, ut, N, b, ye) : ee(dt, ot, ut, b, N, ye);
18333
+ if (Zt !== void 0) {
18334
+ if (Zt)
18335
18335
  continue;
18336
18336
  vt = !1;
18337
18337
  break;
@@ -18358,11 +18358,11 @@ br.exports;
18358
18358
  return !1;
18359
18359
  b = b.buffer, N = N.buffer;
18360
18360
  case O:
18361
- return !(b.byteLength != N.byteLength || !ye(new Yt(b), new Yt(N)));
18361
+ return !(b.byteLength != N.byteLength || !ye(new Wt(b), new Wt(N)));
18362
18362
  case h:
18363
18363
  case c:
18364
18364
  case y:
18365
- return Xn(+b, +N);
18365
+ return Qn(+b, +N);
18366
18366
  case s:
18367
18367
  return b.name == N.name && b.message == N.message;
18368
18368
  case w:
@@ -18400,7 +18400,7 @@ br.exports;
18400
18400
  return dt == N;
18401
18401
  var ot = !0;
18402
18402
  ye.set(b, N), ye.set(N, b);
18403
- for (var Wt = Le; ++vt < Ze; ) {
18403
+ for (var Zt = Le; ++vt < Ze; ) {
18404
18404
  Qe = Be[vt];
18405
18405
  var zt = b[Qe], ln = N[Qe];
18406
18406
  if (ee)
@@ -18409,16 +18409,16 @@ br.exports;
18409
18409
  ot = !1;
18410
18410
  break;
18411
18411
  }
18412
- Wt || (Wt = Qe == "constructor");
18412
+ Zt || (Zt = Qe == "constructor");
18413
18413
  }
18414
- if (ot && !Wt) {
18415
- var rr = b.constructor, ir = N.constructor;
18416
- rr != ir && "constructor" in b && "constructor" in N && !(typeof rr == "function" && rr instanceof rr && typeof ir == "function" && ir instanceof ir) && (ot = !1);
18414
+ if (ot && !Zt) {
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);
18417
18417
  }
18418
18418
  return ye.delete(b), ye.delete(N), ot;
18419
18419
  }
18420
18420
  function an(b) {
18421
- return In(b, Ln, Kr);
18421
+ return Mn(b, Rn, Kr);
18422
18422
  }
18423
18423
  function St(b, N) {
18424
18424
  var F = b.__data__;
@@ -18439,7 +18439,7 @@ br.exports;
18439
18439
  return ee && (N ? b[lt] = F : delete b[lt]), Ne;
18440
18440
  }
18441
18441
  var Kr = It ? function(b) {
18442
- return b == null ? [] : (b = Object(b), Me(It(b), function(N) {
18442
+ return b == null ? [] : (b = Object(b), Pe(It(b), function(N) {
18443
18443
  return Nt.call(b, N);
18444
18444
  }));
18445
18445
  } : Xr, Dt = on;
@@ -18453,7 +18453,7 @@ br.exports;
18453
18453
  return v;
18454
18454
  case me:
18455
18455
  return $;
18456
- case Pe:
18456
+ case Me:
18457
18457
  return x;
18458
18458
  case pe:
18459
18459
  return C;
@@ -18474,7 +18474,7 @@ br.exports;
18474
18474
  var N = b && b.constructor, F = typeof N == "function" && N.prototype || We;
18475
18475
  return b === F;
18476
18476
  }
18477
- function Jn(b) {
18477
+ function Xn(b) {
18478
18478
  return en.call(b);
18479
18479
  }
18480
18480
  function pt(b) {
@@ -18490,40 +18490,40 @@ br.exports;
18490
18490
  }
18491
18491
  return "";
18492
18492
  }
18493
- function Xn(b, N) {
18493
+ function Qn(b, N) {
18494
18494
  return b === N || b !== b && N !== N;
18495
18495
  }
18496
- var Qn = Wn(function() {
18496
+ var er = Zn(function() {
18497
18497
  return arguments;
18498
- }()) ? Wn : function(b) {
18498
+ }()) ? Zn : function(b) {
18499
18499
  return Lt(b) && De.call(b, "callee") && !Nt.call(b, "callee");
18500
18500
  }, gn = Array.isArray;
18501
- function Mn(b) {
18502
- return b != null && Dn(b.length) && !er(b);
18501
+ function Dn(b) {
18502
+ return b != null && Ln(b.length) && !tr(b);
18503
18503
  }
18504
18504
  var mn = ht || Qr;
18505
18505
  function Jr(b, N) {
18506
- return Zn(b, N);
18506
+ return Jn(b, N);
18507
18507
  }
18508
- function er(b) {
18509
- if (!tr(b))
18508
+ function tr(b) {
18509
+ if (!nr(b))
18510
18510
  return !1;
18511
18511
  var N = on(b);
18512
18512
  return N == u || N == _ || N == f || N == p;
18513
18513
  }
18514
- function Dn(b) {
18514
+ function Ln(b) {
18515
18515
  return typeof b == "number" && b > -1 && b % 1 == 0 && b <= l;
18516
18516
  }
18517
- function tr(b) {
18517
+ function nr(b) {
18518
18518
  var N = typeof b;
18519
18519
  return b != null && (N == "object" || N == "function");
18520
18520
  }
18521
18521
  function Lt(b) {
18522
18522
  return b != null && typeof b == "object";
18523
18523
  }
18524
- var nr = Ie ? te(Ie) : Hr;
18525
- function Ln(b) {
18526
- return Mn(b) ? jr(b) : Vr(b);
18524
+ var rr = Ie ? te(Ie) : Hr;
18525
+ function Rn(b) {
18526
+ return Dn(b) ? jr(b) : Vr(b);
18527
18527
  }
18528
18528
  function Xr() {
18529
18529
  return [];
@@ -18532,11 +18532,11 @@ br.exports;
18532
18532
  return !1;
18533
18533
  }
18534
18534
  t.exports = Jr;
18535
- })(br, br.exports);
18536
- var oa = br.exports, Mi = {}, aa = et && et.__importDefault || function(t) {
18535
+ })(_r, _r.exports);
18536
+ var oa = _r.exports, Pi = {}, aa = et && et.__importDefault || function(t) {
18537
18537
  return t && t.__esModule ? t : { default: t };
18538
18538
  };
18539
- Object.defineProperty(Mi, "__esModule", { value: !0 });
18539
+ Object.defineProperty(Pi, "__esModule", { value: !0 });
18540
18540
  var Yf = aa(ia), Wf = aa(oa), bi;
18541
18541
  (function(t) {
18542
18542
  function n(r, l, a) {
@@ -18582,16 +18582,16 @@ var Yf = aa(ia), Wf = aa(oa), bi;
18582
18582
  }
18583
18583
  t.transform = o;
18584
18584
  })(bi || (bi = {}));
18585
- Mi.default = bi;
18586
- var ur = {}, dr = {}, bo;
18585
+ Pi.default = bi;
18586
+ var dr = {}, cr = {}, bo;
18587
18587
  function Zf() {
18588
18588
  if (bo)
18589
- return dr;
18589
+ return cr;
18590
18590
  bo = 1;
18591
18591
  var t = et && et.__importDefault || function(i) {
18592
18592
  return i && i.__esModule ? i : { default: i };
18593
18593
  };
18594
- Object.defineProperty(dr, "__esModule", { value: !0 });
18594
+ Object.defineProperty(cr, "__esModule", { value: !0 });
18595
18595
  var n = t(la()), e = (
18596
18596
  /** @class */
18597
18597
  function() {
@@ -18628,17 +18628,17 @@ function Zf() {
18628
18628
  }, i;
18629
18629
  }()
18630
18630
  );
18631
- return dr.default = e, dr;
18631
+ return cr.default = e, cr;
18632
18632
  }
18633
18633
  var _o;
18634
18634
  function la() {
18635
18635
  if (_o)
18636
- return ur;
18636
+ return dr;
18637
18637
  _o = 1;
18638
18638
  var t = et && et.__importDefault || function(i) {
18639
18639
  return i && i.__esModule ? i : { default: i };
18640
18640
  };
18641
- Object.defineProperty(ur, "__esModule", { value: !0 });
18641
+ Object.defineProperty(dr, "__esModule", { value: !0 });
18642
18642
  var n = t(Zf()), e;
18643
18643
  return function(i) {
18644
18644
  function o(l) {
@@ -18649,11 +18649,11 @@ function la() {
18649
18649
  return typeof l.delete == "number" ? l.delete : typeof l.retain == "number" ? l.retain : typeof l.insert == "string" ? l.insert.length : 1;
18650
18650
  }
18651
18651
  i.length = r;
18652
- }(e || (e = {})), ur.default = e, ur;
18652
+ }(e || (e = {})), dr.default = e, dr;
18653
18653
  }
18654
- var Gn = et && et.__importDefault || function(t) {
18654
+ var Yn = et && et.__importDefault || function(t) {
18655
18655
  return t && t.__esModule ? t : { default: t };
18656
- }, cr = Gn(Gf), Jf = Gn(ia), hi = Gn(oa), Bn = Gn(Mi), at = Gn(la()), Xf = String.fromCharCode(0), Qf = (
18656
+ }, fr = Yn(Gf), Jf = Yn(ia), hi = Yn(oa), jn = Yn(Pi), at = Yn(la()), Xf = String.fromCharCode(0), Qf = (
18657
18657
  /** @class */
18658
18658
  function() {
18659
18659
  function t(n) {
@@ -18733,7 +18733,7 @@ var Gn = et && et.__importDefault || function(t) {
18733
18733
  if (typeof h.retain == "number") {
18734
18734
  var c = {};
18735
18735
  typeof f.retain == "number" ? c.retain = d : c.insert = f.insert;
18736
- var s = Bn.default.compose(f.attributes, h.attributes, typeof f.retain == "number");
18736
+ var s = jn.default.compose(f.attributes, h.attributes, typeof f.retain == "number");
18737
18737
  if (s && (c.attributes = s), a.push(c), !i.hasNext() && hi.default(a.ops[a.ops.length - 1], c)) {
18738
18738
  var u = new t(e.rest());
18739
18739
  return a.concat(u).chop();
@@ -18755,21 +18755,21 @@ var Gn = et && et.__importDefault || function(t) {
18755
18755
  var h = d === n ? "on" : "with";
18756
18756
  throw new Error("diff() called " + h + " non-document");
18757
18757
  }).join("");
18758
- }), 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);
18759
18759
  return r.forEach(function(d) {
18760
18760
  for (var f = d[1].length; f > 0; ) {
18761
18761
  var h = 0;
18762
18762
  switch (d[0]) {
18763
- case cr.default.INSERT:
18763
+ case fr.default.INSERT:
18764
18764
  h = Math.min(a.peekLength(), f), o.push(a.next(h));
18765
18765
  break;
18766
- case cr.default.DELETE:
18766
+ case fr.default.DELETE:
18767
18767
  h = Math.min(f, l.peekLength()), l.next(h), o.delete(h);
18768
18768
  break;
18769
- case cr.default.EQUAL:
18769
+ case fr.default.EQUAL:
18770
18770
  h = Math.min(l.peekLength(), a.peekLength(), f);
18771
18771
  var c = l.next(h), s = a.next(h);
18772
- hi.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, jn.default.diff(c.attributes, s.attributes)) : o.push(s).delete(h);
18773
18773
  break;
18774
18774
  }
18775
18775
  f -= h;
@@ -18804,7 +18804,7 @@ var Gn = et && et.__importDefault || function(t) {
18804
18804
  if (o.delete || o.retain && o.attributes) {
18805
18805
  var r = o.delete || o.retain, l = n.slice(i, i + r);
18806
18806
  return l.forEach(function(a) {
18807
- o.delete ? e.push(a) : o.retain && o.attributes && e.retain(at.default.length(a), Bn.default.invert(o.attributes, a.attributes));
18807
+ o.delete ? e.push(a) : o.retain && o.attributes && e.retain(at.default.length(a), jn.default.invert(o.attributes, a.attributes));
18808
18808
  }), i + r;
18809
18809
  }
18810
18810
  }
@@ -18822,7 +18822,7 @@ var Gn = et && et.__importDefault || function(t) {
18822
18822
  var a = Math.min(o.peekLength(), r.peekLength()), d = o.next(a), f = r.next(a);
18823
18823
  if (d.delete)
18824
18824
  continue;
18825
- f.delete ? l.push(f) : l.retain(a, Bn.default.transform(d.attributes, f.attributes, e));
18825
+ f.delete ? l.push(f) : l.retain(a, jn.default.transform(d.attributes, f.attributes, e));
18826
18826
  }
18827
18827
  return l.chop();
18828
18828
  }, t.prototype.transformPosition = function(n, e) {
@@ -18837,7 +18837,7 @@ var Gn = et && et.__importDefault || function(t) {
18837
18837
  o += r;
18838
18838
  }
18839
18839
  return n;
18840
- }, t.Op = at.default, t.AttributeMap = Bn.default, t;
18840
+ }, t.Op = at.default, t.AttributeMap = jn.default, t;
18841
18841
  }()
18842
18842
  ), eh = Qf;
18843
18843
  const th = /* @__PURE__ */ Er(eh);
@@ -18969,13 +18969,13 @@ const $o = {
18969
18969
  })()
18970
18970
  }), t.modules) {
18971
18971
  const k = (() => {
18972
- var T, M;
18972
+ var T, P;
18973
18973
  const q = {};
18974
18974
  if (Array.isArray(t.modules))
18975
18975
  for (const K of t.modules)
18976
18976
  q[K.name] = (T = K.options) !== null && T !== void 0 ? T : {};
18977
18977
  else
18978
- 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 : {};
18979
18979
  return q;
18980
18980
  })();
18981
18981
  O.modules = Object.assign({}, O.modules, k);
@@ -19036,7 +19036,7 @@ const $o = {
19036
19036
  }, S = (O, k = "api") => {
19037
19037
  const T = e == null ? void 0 : e.clipboard.convert(O);
19038
19038
  T && (e == null || e.setContents(T, k));
19039
- }, P = () => {
19039
+ }, M = () => {
19040
19040
  e == null || e.focus();
19041
19041
  }, C = () => {
19042
19042
  Bi(() => {
@@ -19061,7 +19061,7 @@ const $o = {
19061
19061
  getHTML: x,
19062
19062
  setHTML: E,
19063
19063
  pasteHTML: S,
19064
- focus: P,
19064
+ focus: M,
19065
19065
  getText: p,
19066
19066
  setText: w,
19067
19067
  reinit: C
@@ -19360,7 +19360,7 @@ function Sh(t, n, e, i, o, r) {
19360
19360
  }, [
19361
19361
  ae("div", {
19362
19362
  class: "ib-text-editor",
19363
- style: wn({ height: e.height ? e.height + "px" : "" }),
19363
+ style: On({ height: e.height ? e.height + "px" : "" }),
19364
19364
  ref: "wrapper"
19365
19365
  }, [
19366
19366
  ge(d, {
@@ -19470,13 +19470,13 @@ function Nh(t, n, e, i, o, r) {
19470
19470
  const f1 = /* @__PURE__ */ Ae(xh, [["render", Nh], ["__scopeId", "data-v-5dceb760"]]);
19471
19471
  const Ih = {
19472
19472
  name: "IbRow"
19473
- }, Ph = { class: "ib-tr" };
19474
- function Mh(t, n, e, i, o, r) {
19475
- 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, [
19476
19476
  Te(t.$slots, "default", { ref: "row" })
19477
19477
  ]);
19478
19478
  }
19479
- const h1 = /* @__PURE__ */ Ae(Ih, [["render", Mh]]);
19479
+ const h1 = /* @__PURE__ */ Ae(Ih, [["render", Ph]]);
19480
19480
  const Dh = {
19481
19481
  name: "IbCell",
19482
19482
  props: {
@@ -19543,7 +19543,7 @@ function qh(t, n, e, i, o, r) {
19543
19543
  const p1 = /* @__PURE__ */ Ae(jh, [["render", qh]]);
19544
19544
  class sa {
19545
19545
  constructor() {
19546
- this.tooltipInstance = null, this.tooltipContainer = null;
19546
+ this.tooltipInstance = null, this.tooltipContainer = null, this.uuid = null;
19547
19547
  }
19548
19548
  getTooltipInstance() {
19549
19549
  return this.getTooltipInstance;
@@ -19551,9 +19551,16 @@ class sa {
19551
19551
  getTooltipContainer() {
19552
19552
  return this.tooltipContainer;
19553
19553
  }
19554
+ getId() {
19555
+ return this.uuid;
19556
+ }
19557
+ generateUID() {
19558
+ this.uuid = "tooltip_" + Gt();
19559
+ }
19554
19560
  createTooltip(n, e) {
19555
- if (console.log("create tooltip"), !e.length)
19561
+ if (!e.length)
19556
19562
  return;
19563
+ this.generateUID();
19557
19564
  const i = `
19558
19565
  position: absolute;
19559
19566
  top: 0px;
@@ -19561,10 +19568,12 @@ class sa {
19561
19568
  `;
19562
19569
  this.tooltipContainer = document.createElement("div"), this.tooltipContainer.setAttribute("style", i), document.body.appendChild(this.tooltipContainer), this.tooltipInstance = ga(Qt, {
19563
19570
  text: e,
19564
- alwaysVisible: !0
19571
+ alwaysVisible: !0,
19572
+ for: this.uuid
19565
19573
  }), this.tooltipInstance.mount(this.tooltipContainer), setTimeout(() => {
19566
19574
  var o;
19567
19575
  if ((o = this.tooltipContainer) != null && o.firstChild) {
19576
+ n.setAttribute("describedby", this.uuid);
19568
19577
  const { top: r, left: l, width: a } = n.getBoundingClientRect(), { width: d, height: f } = this.tooltipContainer.firstChild.getBoundingClientRect(), h = document.documentElement.scrollTop, c = `
19569
19578
  left: ${l + a / 2 - d / 2}px!important;
19570
19579
  top: ${r - f + h - 5}px!important;
@@ -19576,21 +19585,25 @@ class sa {
19576
19585
  }
19577
19586
  }, 100);
19578
19587
  }
19579
- destroyTooltip() {
19580
- var n, e;
19581
- (n = this.tooltipInstance) == null || n.unmount(), this.tooltipInstance = null, (e = this.tooltipContainer) == null || e.remove(), this.tooltipContainer = null;
19588
+ destroyTooltip(n) {
19589
+ var e, i;
19590
+ n.removeAttribute("describedby"), this.uuid = null, (e = this.tooltipInstance) == null || e.unmount(), this.tooltipInstance = null, (i = this.tooltipContainer) == null || i.remove(), this.tooltipContainer = null;
19582
19591
  }
19583
19592
  }
19584
- const _r = new sa(), wo = (t, n) => {
19585
- _r.getTooltipContainer() || (console.log(t), t.classList.add("test1"), _r.createTooltip(t, n.value));
19586
- }, Oo = () => {
19587
- _r.destroyTooltip();
19593
+ const wn = new sa(), wo = (t, n) => {
19594
+ wn.getTooltipContainer() || wn.createTooltip(t, n.value);
19595
+ }, Oo = (t, n) => {
19596
+ const e = wn.getId();
19597
+ if (n.getAttribute("describedby") !== e)
19598
+ return;
19599
+ const i = wn.getTooltipContainer(), o = n !== t.target && !n.contains(t.target), r = i !== t.target && !(i != null && i.contains(t.target));
19600
+ o && r && wn.destroyTooltip(n);
19588
19601
  }, g1 = {
19589
19602
  mounted(t, n) {
19590
- t.addEventListener("mouseenter", () => wo(t, n)), t.addEventListener("mouseout", Oo);
19603
+ t.addEventListener("mouseenter", () => wo(t, n)), document.addEventListener("mousemove", (e) => Oo(e, t));
19591
19604
  },
19592
19605
  beforeUnmount(t, n) {
19593
- _r.destroyTooltip(), t.removeEventListener("mouseenter", () => wo(t, n)), t.removeEventListener("mouseout", Oo);
19606
+ wn.destroyTooltip(), t.removeEventListener("mouseenter", () => wo(t, n)), document.removeEventListener("mousemove", (e) => Oo(e, t));
19594
19607
  }
19595
19608
  }, Di = new sa(), ko = (t, n) => {
19596
19609
  Ro(t) && Di.createTooltip(t, n.value);
@@ -19618,7 +19631,7 @@ export {
19618
19631
  a1 as IbCheckboxGroup,
19619
19632
  u1 as IbDatePicker,
19620
19633
  ki as IbDropdown,
19621
- Po as IbDropdownItem,
19634
+ Mo as IbDropdownItem,
19622
19635
  Ei as IbDropdownList,
19623
19636
  o1 as IbFormGroup,
19624
19637
  Xe as IbIcon,