@uxland/primary-shell 7.41.7 → 7.41.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -75,7 +75,7 @@ function require_Reflect() {
75
75
  throw new TypeError();
76
76
  if (!Nt(nt))
77
77
  throw new TypeError();
78
- return qe(it, nt);
78
+ return Pe(it, nt);
79
79
  } else {
80
80
  if (!It(it))
81
81
  throw new TypeError();
@@ -83,7 +83,7 @@ function require_Reflect() {
83
83
  throw new TypeError();
84
84
  if (!Be(St) && !Ve(St) && !Qe(St))
85
85
  throw new TypeError();
86
- return Qe(St) && (St = void 0), vt = kt(vt), Fe(it, nt, vt, St);
86
+ return Qe(St) && (St = void 0), vt = kt(vt), Ne(it, nt, vt, St);
87
87
  }
88
88
  }
89
89
  X("decorate", Se);
@@ -104,12 +104,12 @@ function require_Reflect() {
104
104
  return Ve(St) || (St = kt(St)), Je(it, nt, vt, St);
105
105
  }
106
106
  X("defineMetadata", Ce);
107
- function Pe(it, nt, vt) {
107
+ function qe(it, nt, vt) {
108
108
  if (!Be(nt))
109
109
  throw new TypeError();
110
110
  return Ve(vt) || (vt = kt(vt)), We(it, nt, vt);
111
111
  }
112
- X("hasMetadata", Pe);
112
+ X("hasMetadata", qe);
113
113
  function De(it, nt, vt) {
114
114
  if (!Be(nt))
115
115
  throw new TypeError();
@@ -155,7 +155,7 @@ function require_Reflect() {
155
155
  return Ve(St) ? !1 : St.OrdinaryDeleteMetadata(it, nt, vt);
156
156
  }
157
157
  X("deleteMetadata", ze);
158
- function qe(it, nt) {
158
+ function Pe(it, nt) {
159
159
  for (var vt = it.length - 1; vt >= 0; --vt) {
160
160
  var St = it[vt], qt = St(nt);
161
161
  if (!Ve(qt) && !Qe(qt)) {
@@ -166,7 +166,7 @@ function require_Reflect() {
166
166
  }
167
167
  return nt;
168
168
  }
169
- function Fe(it, nt, vt, St) {
169
+ function Ne(it, nt, vt, St) {
170
170
  for (var qt = it.length - 1; qt >= 0; --qt) {
171
171
  var os = it[qt], ls = os(nt, vt, St);
172
172
  if (!Ve(ls) && !Qe(ls)) {
@@ -4688,8 +4688,8 @@ const resolveConfig = (J) => {
4688
4688
  }, ve.onabort = function() {
4689
4689
  ve && (te(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, J, ve)), ve = null);
4690
4690
  }, ve.onerror = function(we) {
4691
- const Ce = we && we.message ? we.message : "Network Error", Pe = new AxiosError$1(Ce, AxiosError$1.ERR_NETWORK, J, ve);
4692
- Pe.event = we || null, te(Pe), ve = null;
4691
+ const Ce = we && we.message ? we.message : "Network Error", qe = new AxiosError$1(Ce, AxiosError$1.ERR_NETWORK, J, ve);
4692
+ qe.event = we || null, te(qe), ve = null;
4693
4693
  }, ve.ontimeout = function() {
4694
4694
  let we = re.timeout ? "timeout of " + re.timeout + "ms exceeded" : "timeout exceeded";
4695
4695
  const Ce = re.transitional || transitionalDefaults;
@@ -4858,20 +4858,20 @@ const resolveConfig = (J) => {
4858
4858
  cancelToken: Se,
4859
4859
  timeout: we,
4860
4860
  onDownloadProgress: Ce,
4861
- onUploadProgress: Pe,
4861
+ onUploadProgress: qe,
4862
4862
  responseType: De,
4863
4863
  headers: Me,
4864
4864
  withCredentials: He = "same-origin",
4865
4865
  fetchOptions: Ie
4866
4866
  } = resolveConfig(me), Ae = W || fetch;
4867
4867
  De = De ? (De + "").toLowerCase() : "text";
4868
- let ze = composeSignals([ye, Se && Se.toAbortSignal()], we), qe = null;
4869
- const Fe = ze && ze.unsubscribe && (() => {
4868
+ let ze = composeSignals([ye, Se && Se.toAbortSignal()], we), Pe = null;
4869
+ const Ne = ze && ze.unsubscribe && (() => {
4870
4870
  ze.unsubscribe();
4871
4871
  });
4872
4872
  let We;
4873
4873
  try {
4874
- if (Pe && ue && ve !== "get" && ve !== "head" && (We = await be(Me, _e)) !== 0) {
4874
+ if (qe && ue && ve !== "get" && ve !== "head" && (We = await be(Me, _e)) !== 0) {
4875
4875
  let Le = new X(ge, {
4876
4876
  method: "POST",
4877
4877
  body: _e,
@@ -4880,7 +4880,7 @@ const resolveConfig = (J) => {
4880
4880
  if (utils$1.isFormData(_e) && (Ue = Le.headers.get("content-type")) && Me.setContentType(Ue), Le.body) {
4881
4881
  const [Ve, Qe] = progressEventDecorator(
4882
4882
  We,
4883
- progressEventReducer(asyncDecorator(Pe))
4883
+ progressEventReducer(asyncDecorator(qe))
4884
4884
  );
4885
4885
  _e = trackStream(Le.body, DEFAULT_CHUNK_SIZE, Ve, Qe);
4886
4886
  }
@@ -4895,10 +4895,10 @@ const resolveConfig = (J) => {
4895
4895
  duplex: "half",
4896
4896
  credentials: Ge ? He : void 0
4897
4897
  };
4898
- qe = oe && new X(ge, Ke);
4899
- let ft = await (oe ? Ae(qe, Ie) : Ae(ge, Ke));
4898
+ Pe = oe && new X(ge, Ke);
4899
+ let ft = await (oe ? Ae(Pe, Ie) : Ae(ge, Ke));
4900
4900
  const Je = he && (De === "stream" || De === "response");
4901
- if (he && (Ce || Je && Fe)) {
4901
+ if (he && (Ce || Je && Ne)) {
4902
4902
  const Le = {};
4903
4903
  ["status", "statusText", "headers"].forEach((Xe) => {
4904
4904
  Le[Xe] = ft[Xe];
@@ -4909,30 +4909,30 @@ const resolveConfig = (J) => {
4909
4909
  ) || [];
4910
4910
  ft = new te(
4911
4911
  trackStream(ft.body, DEFAULT_CHUNK_SIZE, Ve, () => {
4912
- Qe && Qe(), Fe && Fe();
4912
+ Qe && Qe(), Ne && Ne();
4913
4913
  }),
4914
4914
  Le
4915
4915
  );
4916
4916
  }
4917
4917
  De = De || "text";
4918
4918
  let Ze = await pe[utils$1.findKey(pe, De) || "text"](ft, me);
4919
- return !Je && Fe && Fe(), await new Promise((Le, Ue) => {
4919
+ return !Je && Ne && Ne(), await new Promise((Le, Ue) => {
4920
4920
  settle(Le, Ue, {
4921
4921
  data: Ze,
4922
4922
  headers: AxiosHeaders$1.from(ft.headers),
4923
4923
  status: ft.status,
4924
4924
  statusText: ft.statusText,
4925
4925
  config: me,
4926
- request: qe
4926
+ request: Pe
4927
4927
  });
4928
4928
  });
4929
4929
  } catch (Ge) {
4930
- throw Fe && Fe(), Ge && Ge.name === "TypeError" && /Load failed|fetch/i.test(Ge.message) ? Object.assign(
4931
- new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, me, qe),
4930
+ throw Ne && Ne(), Ge && Ge.name === "TypeError" && /Load failed|fetch/i.test(Ge.message) ? Object.assign(
4931
+ new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, me, Pe),
4932
4932
  {
4933
4933
  cause: Ge.cause || Ge
4934
4934
  }
4935
- ) : AxiosError$1.from(Ge, Ge && Ge.code, me, qe);
4935
+ ) : AxiosError$1.from(Ge, Ge && Ge.code, me, Pe);
4936
4936
  }
4937
4937
  };
4938
4938
  }, seedCache = /* @__PURE__ */ new Map(), getFetch = (J) => {
@@ -5546,6 +5546,13 @@ const ConfirmationMessage = ({ data: J }) => /* @__PURE__ */ jsxRuntimeExports.j
5546
5546
  box-shadow: 0 8px 12px 6px rgba(0 0 0 / 5%), 0 4px 4px rgba(0 0 0 / 10%);
5547
5547
  }
5548
5548
 
5549
+ .dialog-header-wrapper {
5550
+ display: flex;
5551
+ flex-direction: column;
5552
+ align-items: center;
5553
+ justify-content: center;
5554
+ }
5555
+
5549
5556
  .dss-dialog-header {
5550
5557
  position: relative;
5551
5558
  display: flex;
@@ -5566,6 +5573,9 @@ const ConfirmationMessage = ({ data: J }) => /* @__PURE__ */ jsxRuntimeExports.j
5566
5573
  line-height: 30px;
5567
5574
  font-weight: var(--font-bold);
5568
5575
  color: var(--color-neutral-900);
5576
+ padding-left: var(--dss-spacing-xl);
5577
+ padding-right: var(--dss-spacing-xl);
5578
+ text-align: center;
5569
5579
  }
5570
5580
  .dss-dialog-header-close {
5571
5581
  position: absolute;
@@ -5590,7 +5600,23 @@ const ConfirmationMessage = ({ data: J }) => /* @__PURE__ */ jsxRuntimeExports.j
5590
5600
  padding: 24px;
5591
5601
  border-bottom-left-radius: 16px;
5592
5602
  border-bottom-right-radius: 16px;
5593
- }`, defaultOptions$1 = {
5603
+ }
5604
+ .dss-dialog-header-icon {
5605
+ display: flex;
5606
+ align-items: center;
5607
+ justify-content: center;
5608
+ margin-bottom: var(--dss-spacing-xs);
5609
+ }
5610
+ .dss-dialog-header-state {
5611
+ display: flex;
5612
+ }
5613
+ .dss-dialog-header-state--warning {
5614
+ color: var(--color-yellow-700);
5615
+ }
5616
+ .dss-dialog-header-state--danger {
5617
+ color: var(--color-red-500);
5618
+ }
5619
+ `, defaultOptions$1 = {
5594
5620
  title: "Confirmació",
5595
5621
  showConfirmButton: !0,
5596
5622
  showCancelButton: !0,
@@ -5598,7 +5624,8 @@ const ConfirmationMessage = ({ data: J }) => /* @__PURE__ */ jsxRuntimeExports.j
5598
5624
  cancelButtonText: "Cancel·lar",
5599
5625
  showCloseButton: !0,
5600
5626
  fullCustomization: !1,
5601
- closeOnOutsideClick: !1
5627
+ closeOnOutsideClick: !1,
5628
+ hideIcon: !1
5602
5629
  };
5603
5630
  class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5604
5631
  confirm(W, X, te) {
@@ -5616,44 +5643,55 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5616
5643
  useEffect(() => {
5617
5644
  window.addEventListener("keydown", Ce);
5618
5645
  }, []);
5619
- const Ce = (qe) => {
5620
- qe.key === "Escape" && De(!1);
5621
- }, Pe = (qe) => {
5622
- ye.current && qe.target === Se.current && re.closeOnOutsideClick && De(!1);
5646
+ const Ce = (We) => {
5647
+ We.key === "Escape" && De(!1);
5648
+ }, qe = (We) => {
5649
+ ye.current && We.target === Se.current && re.closeOnOutsideClick && De(!1);
5623
5650
  };
5624
5651
  useEffect(() => {
5625
5652
  if (we && _e.current) {
5626
- const qe = _e.current, Fe = new ce();
5627
- return Fe.data = W, Fe.setResult = me, Fe.setIsValid = ve, Fe.confirm = () => ge && De(!0), Fe.confirmResult = (We) => ge && Me(We), Fe.cancel = () => De(!1), qe.appendChild(Fe), () => {
5628
- qe.removeChild(Fe);
5653
+ const We = _e.current, Ge = new ce();
5654
+ return Ge.data = W, Ge.setResult = me, Ge.setIsValid = ve, Ge.confirm = () => ge && De(!0), Ge.confirmResult = (Ke) => ge && Me(Ke), Ge.cancel = () => De(!1), We.appendChild(Ge), () => {
5655
+ We.removeChild(Ge);
5629
5656
  };
5630
5657
  }
5631
5658
  }, [ce, W]);
5632
- const De = (qe) => {
5633
- He(be, qe);
5634
- }, Me = (qe) => {
5635
- He(qe, !0);
5636
- }, He = (qe, Fe) => {
5659
+ const De = (We) => {
5660
+ He(be, We);
5661
+ }, Me = (We) => {
5662
+ He(We, !0);
5663
+ }, He = (We, Ge) => {
5637
5664
  setTimeout(() => {
5638
5665
  oe({
5639
- result: Fe ? qe : void 0,
5640
- confirmed: Fe
5666
+ result: Ge ? We : void 0,
5667
+ confirmed: Ge
5641
5668
  }), document.body.removeChild(ne), document.head.removeChild(de), ue && document.head.removeChild(he), window.removeEventListener("keydown", Ce);
5642
5669
  }, 300);
5643
- }, Ie = () => re.state === "error" ? "error" : re.state === "success" ? "success" : re.state === "info" ? "primary" : re.state === "alert" ? "warning" : "primary", Ae = () => re.state ? "alternative-dark" : "secondary", ze = () => we ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: _e }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
5670
+ }, Ie = () => re.state === "error" ? "error" : re.state === "success" ? "success" : re.state === "info" ? "primary" : re.state === "alert" ? "warning" : "primary", Ae = () => "secondary", ze = () => re.state === "alert" ? "warning" : re.state === "error" ? "danger" : "", Pe = () => re.state === "alert" ? "error" : re.state === "error" ? "warning" : "", Ne = () => we ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: _e }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
5644
5671
  ce,
5645
5672
  {
5646
5673
  data: W,
5647
5674
  setResult: me,
5648
5675
  setIsValid: ve,
5649
5676
  confirm: () => ge && De(!0),
5650
- confirmResult: (qe) => ge && Me(qe),
5677
+ confirmResult: (We) => ge && Me(We),
5651
5678
  cancel: () => De(!1)
5652
5679
  }
5653
5680
  );
5654
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal", ref: Se, onClick: Pe, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dialog", ref: ye, children: [
5681
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal", ref: Se, onClick: qe, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dialog", ref: ye, children: [
5655
5682
  !re.fullCustomization && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dss-dialog-header", children: [
5656
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "dss-dialog-header-title", children: re.title }),
5683
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "dialog-header-wrapper", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dss-dialog-header-title", children: [
5684
+ !re.hideIcon && /* @__PURE__ */ jsxRuntimeExports.jsx(
5685
+ "dss-icon",
5686
+ {
5687
+ size: "xl",
5688
+ fill: !0,
5689
+ class: `dss-dialog-header-state--${ze()}`,
5690
+ icon: Pe()
5691
+ }
5692
+ ),
5693
+ re.title
5694
+ ] }) }),
5657
5695
  re.showCloseButton && /* @__PURE__ */ jsxRuntimeExports.jsx(
5658
5696
  "dss-icon-button",
5659
5697
  {
@@ -5665,7 +5703,7 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5665
5703
  }
5666
5704
  )
5667
5705
  ] }),
5668
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `modal-content ${re.fullCustomization ? "full-customization" : ""}`, children: ze() }),
5706
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `modal-content ${re.fullCustomization ? "full-customization" : ""}`, children: Ne() }),
5669
5707
  !re.fullCustomization && /* @__PURE__ */ jsxRuntimeExports.jsxs(
5670
5708
  "div",
5671
5709
  {
@@ -5979,15 +6017,15 @@ function peg$parse(J, W) {
5979
6017
  return __assign$4({ type: TYPE.pound }, _s());
5980
6018
  }, he = bs("argumentElement"), pe = "{", fe = us("{", !1), be = "}", me = us("}", !1), ge = function(Oe) {
5981
6019
  return __assign$4({ type: TYPE.argument, value: Oe }, _s());
5982
- }, ve = bs("numberSkeletonId"), _e = /^['\/{}]/, ye = ws(["'", "/", "{", "}"], !1, !1), Se = Ni(), we = bs("numberSkeletonTokenOption"), Ce = "/", Pe = us("/", !1), De = function(Oe) {
6020
+ }, ve = bs("numberSkeletonId"), _e = /^['\/{}]/, ye = ws(["'", "/", "{", "}"], !1, !1), Se = Ni(), we = bs("numberSkeletonTokenOption"), Ce = "/", qe = us("/", !1), De = function(Oe) {
5983
6021
  return Oe;
5984
6022
  }, Me = bs("numberSkeletonToken"), He = function(Oe, je) {
5985
6023
  return { stem: Oe, options: je };
5986
6024
  }, Ie = function(Oe) {
5987
6025
  return __assign$4({ type: 0, tokens: Oe }, _s());
5988
- }, Ae = "::", ze = us("::", !1), qe = function(Oe) {
6026
+ }, Ae = "::", ze = us("::", !1), Pe = function(Oe) {
5989
6027
  return Oe;
5990
- }, Fe = function() {
6028
+ }, Ne = function() {
5991
6029
  return vs.push("numberArgStyle"), !0;
5992
6030
  }, We = function(Oe) {
5993
6031
  return vs.pop(), Oe.replace(/\s*$/, "");
@@ -6043,20 +6081,20 @@ function peg$parse(J, W) {
6043
6081
  return 0;
6044
6082
  }, Pi = /^[1-9]/, Mi = ws([["1", "9"]], !1, !1), ri = /^[0-9]/, oi = ws([["0", "9"]], !1, !1), Li = function(Oe) {
6045
6083
  return parseInt(Oe.join(""), 10);
6046
- }, Fi = bs("argName"), Ne = 0, Gt = 0, As = [{ line: 1, column: 1 }], ms = 0, Rs = [], yt = 0, Ts;
6084
+ }, Fi = bs("argName"), Fe = 0, Gt = 0, As = [{ line: 1, column: 1 }], ms = 0, Rs = [], yt = 0, Ts;
6047
6085
  if (W.startRule !== void 0) {
6048
6086
  if (!(W.startRule in te))
6049
6087
  throw new Error(`Can't start parsing from rule "` + W.startRule + '".');
6050
6088
  re = te[W.startRule];
6051
6089
  }
6052
6090
  function ni() {
6053
- return J.substring(Gt, Ne);
6091
+ return J.substring(Gt, Fe);
6054
6092
  }
6055
6093
  function Is() {
6056
- return Os(Gt, Ne);
6094
+ return Os(Gt, Fe);
6057
6095
  }
6058
6096
  function ai(Oe, je) {
6059
- throw je = je !== void 0 ? je : Os(Gt, Ne), Vi(Oe, je);
6097
+ throw je = je !== void 0 ? je : Os(Gt, Fe), Vi(Oe, je);
6060
6098
  }
6061
6099
  function us(Oe, je) {
6062
6100
  return { type: "literal", text: Oe, ignoreCase: je };
@@ -6102,7 +6140,7 @@ function peg$parse(J, W) {
6102
6140
  };
6103
6141
  }
6104
6142
  function Et(Oe) {
6105
- Ne < ms || (Ne > ms && (ms = Ne, Rs = []), Rs.push(Oe));
6143
+ Fe < ms || (Fe > ms && (ms = Fe, Rs = []), Rs.push(Oe));
6106
6144
  }
6107
6145
  function Vi(Oe, je) {
6108
6146
  return new SyntaxError(Oe, [], "", je);
@@ -6126,7 +6164,7 @@ function peg$parse(J, W) {
6126
6164
  }
6127
6165
  function Ps() {
6128
6166
  var Oe, je, tt;
6129
- if (Oe = Ne, je = [], tt = xs(), tt === X && (tt = yi(), tt === X && (tt = wi())), tt !== X)
6167
+ if (Oe = Fe, je = [], tt = xs(), tt === X && (tt = yi(), tt === X && (tt = wi())), tt !== X)
6130
6168
  for (; tt !== X; )
6131
6169
  je.push(tt), tt = xs(), tt === X && (tt = yi(), tt === X && (tt = wi()));
6132
6170
  else
@@ -6135,45 +6173,45 @@ function peg$parse(J, W) {
6135
6173
  }
6136
6174
  function Ui() {
6137
6175
  var Oe, je;
6138
- return Oe = Ne, je = Ps(), je !== X && (Gt = Oe, je = ne(je)), Oe = je, Oe;
6176
+ return Oe = Fe, je = Ps(), je !== X && (Gt = Oe, je = ne(je)), Oe = je, Oe;
6139
6177
  }
6140
6178
  function ji() {
6141
6179
  var Oe, je;
6142
- return Oe = Ne, J.charCodeAt(Ne) === 35 ? (je = de, Ne++) : (je = X, yt === 0 && Et(ce)), je !== X && (Gt = Oe, je = ue()), Oe = je, Oe;
6180
+ return Oe = Fe, J.charCodeAt(Fe) === 35 ? (je = de, Fe++) : (je = X, yt === 0 && Et(ce)), je !== X && (Gt = Oe, je = ue()), Oe = je, Oe;
6143
6181
  }
6144
6182
  function Wi() {
6145
6183
  var Oe, je, tt, bt, $t, Pt;
6146
- return yt++, Oe = Ne, J.charCodeAt(Ne) === 123 ? (je = pe, Ne++) : (je = X, yt === 0 && Et(fe)), je !== X ? (tt = jt(), tt !== X ? (bt = Ss(), bt !== X ? ($t = jt(), $t !== X ? (J.charCodeAt(Ne) === 125 ? (Pt = be, Ne++) : (Pt = X, yt === 0 && Et(me)), Pt !== X ? (Gt = Oe, je = ge(bt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), yt--, Oe === X && (je = X, yt === 0 && Et(he)), Oe;
6184
+ return yt++, Oe = Fe, J.charCodeAt(Fe) === 123 ? (je = pe, Fe++) : (je = X, yt === 0 && Et(fe)), je !== X ? (tt = jt(), tt !== X ? (bt = Ss(), bt !== X ? ($t = jt(), $t !== X ? (J.charCodeAt(Fe) === 125 ? (Pt = be, Fe++) : (Pt = X, yt === 0 && Et(me)), Pt !== X ? (Gt = Oe, je = ge(bt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X), yt--, Oe === X && (je = X, yt === 0 && Et(he)), Oe;
6147
6185
  }
6148
6186
  function ui() {
6149
6187
  var Oe, je, tt, bt, $t;
6150
- if (yt++, Oe = Ne, je = [], tt = Ne, bt = Ne, yt++, $t = $s(), $t === X && (_e.test(J.charAt(Ne)) ? ($t = J.charAt(Ne), Ne++) : ($t = X, yt === 0 && Et(ye))), yt--, $t === X ? bt = void 0 : (Ne = bt, bt = X), bt !== X ? (J.length > Ne ? ($t = J.charAt(Ne), Ne++) : ($t = X, yt === 0 && Et(Se)), $t !== X ? (bt = [bt, $t], tt = bt) : (Ne = tt, tt = X)) : (Ne = tt, tt = X), tt !== X)
6188
+ if (yt++, Oe = Fe, je = [], tt = Fe, bt = Fe, yt++, $t = $s(), $t === X && (_e.test(J.charAt(Fe)) ? ($t = J.charAt(Fe), Fe++) : ($t = X, yt === 0 && Et(ye))), yt--, $t === X ? bt = void 0 : (Fe = bt, bt = X), bt !== X ? (J.length > Fe ? ($t = J.charAt(Fe), Fe++) : ($t = X, yt === 0 && Et(Se)), $t !== X ? (bt = [bt, $t], tt = bt) : (Fe = tt, tt = X)) : (Fe = tt, tt = X), tt !== X)
6151
6189
  for (; tt !== X; )
6152
- je.push(tt), tt = Ne, bt = Ne, yt++, $t = $s(), $t === X && (_e.test(J.charAt(Ne)) ? ($t = J.charAt(Ne), Ne++) : ($t = X, yt === 0 && Et(ye))), yt--, $t === X ? bt = void 0 : (Ne = bt, bt = X), bt !== X ? (J.length > Ne ? ($t = J.charAt(Ne), Ne++) : ($t = X, yt === 0 && Et(Se)), $t !== X ? (bt = [bt, $t], tt = bt) : (Ne = tt, tt = X)) : (Ne = tt, tt = X);
6190
+ je.push(tt), tt = Fe, bt = Fe, yt++, $t = $s(), $t === X && (_e.test(J.charAt(Fe)) ? ($t = J.charAt(Fe), Fe++) : ($t = X, yt === 0 && Et(ye))), yt--, $t === X ? bt = void 0 : (Fe = bt, bt = X), bt !== X ? (J.length > Fe ? ($t = J.charAt(Fe), Fe++) : ($t = X, yt === 0 && Et(Se)), $t !== X ? (bt = [bt, $t], tt = bt) : (Fe = tt, tt = X)) : (Fe = tt, tt = X);
6153
6191
  else
6154
6192
  je = X;
6155
- return je !== X ? Oe = J.substring(Oe, Ne) : Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(ve)), Oe;
6193
+ return je !== X ? Oe = J.substring(Oe, Fe) : Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(ve)), Oe;
6156
6194
  }
6157
6195
  function hi() {
6158
6196
  var Oe, je, tt;
6159
- return yt++, Oe = Ne, J.charCodeAt(Ne) === 47 ? (je = Ce, Ne++) : (je = X, yt === 0 && Et(Pe)), je !== X ? (tt = ui(), tt !== X ? (Gt = Oe, je = De(tt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), yt--, Oe === X && (je = X, yt === 0 && Et(we)), Oe;
6197
+ return yt++, Oe = Fe, J.charCodeAt(Fe) === 47 ? (je = Ce, Fe++) : (je = X, yt === 0 && Et(qe)), je !== X ? (tt = ui(), tt !== X ? (Gt = Oe, je = De(tt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X), yt--, Oe === X && (je = X, yt === 0 && Et(we)), Oe;
6160
6198
  }
6161
6199
  function pi() {
6162
6200
  var Oe, je, tt, bt, $t;
6163
- if (yt++, Oe = Ne, je = jt(), je !== X)
6201
+ if (yt++, Oe = Fe, je = jt(), je !== X)
6164
6202
  if (tt = ui(), tt !== X) {
6165
6203
  for (bt = [], $t = hi(); $t !== X; )
6166
6204
  bt.push($t), $t = hi();
6167
- bt !== X ? (Gt = Oe, je = He(tt, bt), Oe = je) : (Ne = Oe, Oe = X);
6205
+ bt !== X ? (Gt = Oe, je = He(tt, bt), Oe = je) : (Fe = Oe, Oe = X);
6168
6206
  } else
6169
- Ne = Oe, Oe = X;
6207
+ Fe = Oe, Oe = X;
6170
6208
  else
6171
- Ne = Oe, Oe = X;
6209
+ Fe = Oe, Oe = X;
6172
6210
  return yt--, Oe === X && (je = X, yt === 0 && Et(Me)), Oe;
6173
6211
  }
6174
6212
  function Gi() {
6175
6213
  var Oe, je, tt;
6176
- if (Oe = Ne, je = [], tt = pi(), tt !== X)
6214
+ if (Oe = Fe, je = [], tt = pi(), tt !== X)
6177
6215
  for (; tt !== X; )
6178
6216
  je.push(tt), tt = pi();
6179
6217
  else
@@ -6182,56 +6220,56 @@ function peg$parse(J, W) {
6182
6220
  }
6183
6221
  function Zi() {
6184
6222
  var Oe, je, tt;
6185
- return Oe = Ne, J.substr(Ne, 2) === Ae ? (je = Ae, Ne += 2) : (je = X, yt === 0 && Et(ze)), je !== X ? (tt = Gi(), tt !== X ? (Gt = Oe, je = qe(tt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), Oe === X && (Oe = Ne, Gt = Ne, je = Fe(), je ? je = void 0 : je = X, je !== X ? (tt = Ps(), tt !== X ? (Gt = Oe, je = We(tt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)), Oe;
6223
+ return Oe = Fe, J.substr(Fe, 2) === Ae ? (je = Ae, Fe += 2) : (je = X, yt === 0 && Et(ze)), je !== X ? (tt = Gi(), tt !== X ? (Gt = Oe, je = Pe(tt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X), Oe === X && (Oe = Fe, Gt = Fe, je = Ne(), je ? je = void 0 : je = X, je !== X ? (tt = Ps(), tt !== X ? (Gt = Oe, je = We(tt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)), Oe;
6186
6224
  }
6187
6225
  function Ki() {
6188
6226
  var Oe, je, tt, bt, $t, Pt, es, Ut, fs, Wt, as, Zt, ss;
6189
- return Oe = Ne, J.charCodeAt(Ne) === 123 ? (je = pe, Ne++) : (je = X, yt === 0 && Et(fe)), je !== X ? (tt = jt(), tt !== X ? (bt = Ss(), bt !== X ? ($t = jt(), $t !== X ? (J.charCodeAt(Ne) === 44 ? (Pt = Ge, Ne++) : (Pt = X, yt === 0 && Et(Ke)), Pt !== X ? (es = jt(), es !== X ? (J.substr(Ne, 6) === ft ? (Ut = ft, Ne += 6) : (Ut = X, yt === 0 && Et(Je)), Ut !== X ? (fs = jt(), fs !== X ? (Wt = Ne, J.charCodeAt(Ne) === 44 ? (as = Ge, Ne++) : (as = X, yt === 0 && Et(Ke)), as !== X ? (Zt = jt(), Zt !== X ? (ss = Zi(), ss !== X ? (as = [as, Zt, ss], Wt = as) : (Ne = Wt, Wt = X)) : (Ne = Wt, Wt = X)) : (Ne = Wt, Wt = X), Wt === X && (Wt = null), Wt !== X ? (as = jt(), as !== X ? (J.charCodeAt(Ne) === 125 ? (Zt = be, Ne++) : (Zt = X, yt === 0 && Et(me)), Zt !== X ? (Gt = Oe, je = Ze(bt, Ut, Wt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), Oe;
6227
+ return Oe = Fe, J.charCodeAt(Fe) === 123 ? (je = pe, Fe++) : (je = X, yt === 0 && Et(fe)), je !== X ? (tt = jt(), tt !== X ? (bt = Ss(), bt !== X ? ($t = jt(), $t !== X ? (J.charCodeAt(Fe) === 44 ? (Pt = Ge, Fe++) : (Pt = X, yt === 0 && Et(Ke)), Pt !== X ? (es = jt(), es !== X ? (J.substr(Fe, 6) === ft ? (Ut = ft, Fe += 6) : (Ut = X, yt === 0 && Et(Je)), Ut !== X ? (fs = jt(), fs !== X ? (Wt = Fe, J.charCodeAt(Fe) === 44 ? (as = Ge, Fe++) : (as = X, yt === 0 && Et(Ke)), as !== X ? (Zt = jt(), Zt !== X ? (ss = Zi(), ss !== X ? (as = [as, Zt, ss], Wt = as) : (Fe = Wt, Wt = X)) : (Fe = Wt, Wt = X)) : (Fe = Wt, Wt = X), Wt === X && (Wt = null), Wt !== X ? (as = jt(), as !== X ? (J.charCodeAt(Fe) === 125 ? (Zt = be, Fe++) : (Zt = X, yt === 0 && Et(me)), Zt !== X ? (Gt = Oe, je = Ze(bt, Ut, Wt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X), Oe;
6190
6228
  }
6191
6229
  function fi() {
6192
6230
  var Oe, je, tt, bt;
6193
- if (Oe = Ne, J.charCodeAt(Ne) === 39 ? (je = Le, Ne++) : (je = X, yt === 0 && Et(Ue)), je !== X) {
6194
- if (tt = [], bt = xs(), bt === X && (Ve.test(J.charAt(Ne)) ? (bt = J.charAt(Ne), Ne++) : (bt = X, yt === 0 && Et(Qe))), bt !== X)
6231
+ if (Oe = Fe, J.charCodeAt(Fe) === 39 ? (je = Le, Fe++) : (je = X, yt === 0 && Et(Ue)), je !== X) {
6232
+ if (tt = [], bt = xs(), bt === X && (Ve.test(J.charAt(Fe)) ? (bt = J.charAt(Fe), Fe++) : (bt = X, yt === 0 && Et(Qe))), bt !== X)
6195
6233
  for (; bt !== X; )
6196
- tt.push(bt), bt = xs(), bt === X && (Ve.test(J.charAt(Ne)) ? (bt = J.charAt(Ne), Ne++) : (bt = X, yt === 0 && Et(Qe)));
6234
+ tt.push(bt), bt = xs(), bt === X && (Ve.test(J.charAt(Fe)) ? (bt = J.charAt(Fe), Fe++) : (bt = X, yt === 0 && Et(Qe)));
6197
6235
  else
6198
6236
  tt = X;
6199
- tt !== X ? (J.charCodeAt(Ne) === 39 ? (bt = Le, Ne++) : (bt = X, yt === 0 && Et(Ue)), bt !== X ? (je = [je, tt, bt], Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X);
6237
+ tt !== X ? (J.charCodeAt(Fe) === 39 ? (bt = Le, Fe++) : (bt = X, yt === 0 && Et(Ue)), bt !== X ? (je = [je, tt, bt], Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X);
6200
6238
  } else
6201
- Ne = Oe, Oe = X;
6239
+ Fe = Oe, Oe = X;
6202
6240
  if (Oe === X)
6203
- if (Oe = [], je = xs(), je === X && (Xe.test(J.charAt(Ne)) ? (je = J.charAt(Ne), Ne++) : (je = X, yt === 0 && Et(Be))), je !== X)
6241
+ if (Oe = [], je = xs(), je === X && (Xe.test(J.charAt(Fe)) ? (je = J.charAt(Fe), Fe++) : (je = X, yt === 0 && Et(Be))), je !== X)
6204
6242
  for (; je !== X; )
6205
- Oe.push(je), je = xs(), je === X && (Xe.test(J.charAt(Ne)) ? (je = J.charAt(Ne), Ne++) : (je = X, yt === 0 && Et(Be)));
6243
+ Oe.push(je), je = xs(), je === X && (Xe.test(J.charAt(Fe)) ? (je = J.charAt(Fe), Fe++) : (je = X, yt === 0 && Et(Be)));
6206
6244
  else
6207
6245
  Oe = X;
6208
6246
  return Oe;
6209
6247
  }
6210
6248
  function bi() {
6211
6249
  var Oe, je;
6212
- if (Oe = [], Ye.test(J.charAt(Ne)) ? (je = J.charAt(Ne), Ne++) : (je = X, yt === 0 && Et(rt)), je !== X)
6250
+ if (Oe = [], Ye.test(J.charAt(Fe)) ? (je = J.charAt(Fe), Fe++) : (je = X, yt === 0 && Et(rt)), je !== X)
6213
6251
  for (; je !== X; )
6214
- Oe.push(je), Ye.test(J.charAt(Ne)) ? (je = J.charAt(Ne), Ne++) : (je = X, yt === 0 && Et(rt));
6252
+ Oe.push(je), Ye.test(J.charAt(Fe)) ? (je = J.charAt(Fe), Fe++) : (je = X, yt === 0 && Et(rt));
6215
6253
  else
6216
6254
  Oe = X;
6217
6255
  return Oe;
6218
6256
  }
6219
6257
  function Yi() {
6220
6258
  var Oe, je, tt, bt;
6221
- if (Oe = Ne, je = Ne, tt = [], bt = fi(), bt === X && (bt = bi()), bt !== X)
6259
+ if (Oe = Fe, je = Fe, tt = [], bt = fi(), bt === X && (bt = bi()), bt !== X)
6222
6260
  for (; bt !== X; )
6223
6261
  tt.push(bt), bt = fi(), bt === X && (bt = bi());
6224
6262
  else
6225
6263
  tt = X;
6226
- return tt !== X ? je = J.substring(je, Ne) : je = tt, je !== X && (Gt = Oe, je = ot(je)), Oe = je, Oe;
6264
+ return tt !== X ? je = J.substring(je, Fe) : je = tt, je !== X && (Gt = Oe, je = ot(je)), Oe = je, Oe;
6227
6265
  }
6228
6266
  function Ji() {
6229
6267
  var Oe, je, tt;
6230
- return Oe = Ne, J.substr(Ne, 2) === Ae ? (je = Ae, Ne += 2) : (je = X, yt === 0 && Et(ze)), je !== X ? (tt = Yi(), tt !== X ? (Gt = Oe, je = qe(tt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), Oe === X && (Oe = Ne, Gt = Ne, je = _t(), je ? je = void 0 : je = X, je !== X ? (tt = Ps(), tt !== X ? (Gt = Oe, je = We(tt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)), Oe;
6268
+ return Oe = Fe, J.substr(Fe, 2) === Ae ? (je = Ae, Fe += 2) : (je = X, yt === 0 && Et(ze)), je !== X ? (tt = Yi(), tt !== X ? (Gt = Oe, je = Pe(tt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X), Oe === X && (Oe = Fe, Gt = Fe, je = _t(), je ? je = void 0 : je = X, je !== X ? (tt = Ps(), tt !== X ? (Gt = Oe, je = We(tt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)), Oe;
6231
6269
  }
6232
6270
  function Qi() {
6233
6271
  var Oe, je, tt, bt, $t, Pt, es, Ut, fs, Wt, as, Zt, ss;
6234
- return Oe = Ne, J.charCodeAt(Ne) === 123 ? (je = pe, Ne++) : (je = X, yt === 0 && Et(fe)), je !== X ? (tt = jt(), tt !== X ? (bt = Ss(), bt !== X ? ($t = jt(), $t !== X ? (J.charCodeAt(Ne) === 44 ? (Pt = Ge, Ne++) : (Pt = X, yt === 0 && Et(Ke)), Pt !== X ? (es = jt(), es !== X ? (J.substr(Ne, 4) === kt ? (Ut = kt, Ne += 4) : (Ut = X, yt === 0 && Et(It)), Ut === X && (J.substr(Ne, 4) === zt ? (Ut = zt, Ne += 4) : (Ut = X, yt === 0 && Et(Nt))), Ut !== X ? (fs = jt(), fs !== X ? (Wt = Ne, J.charCodeAt(Ne) === 44 ? (as = Ge, Ne++) : (as = X, yt === 0 && Et(Ke)), as !== X ? (Zt = jt(), Zt !== X ? (ss = Ji(), ss !== X ? (as = [as, Zt, ss], Wt = as) : (Ne = Wt, Wt = X)) : (Ne = Wt, Wt = X)) : (Ne = Wt, Wt = X), Wt === X && (Wt = null), Wt !== X ? (as = jt(), as !== X ? (J.charCodeAt(Ne) === 125 ? (Zt = be, Ne++) : (Zt = X, yt === 0 && Et(me)), Zt !== X ? (Gt = Oe, je = Ze(bt, Ut, Wt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), Oe;
6272
+ return Oe = Fe, J.charCodeAt(Fe) === 123 ? (je = pe, Fe++) : (je = X, yt === 0 && Et(fe)), je !== X ? (tt = jt(), tt !== X ? (bt = Ss(), bt !== X ? ($t = jt(), $t !== X ? (J.charCodeAt(Fe) === 44 ? (Pt = Ge, Fe++) : (Pt = X, yt === 0 && Et(Ke)), Pt !== X ? (es = jt(), es !== X ? (J.substr(Fe, 4) === kt ? (Ut = kt, Fe += 4) : (Ut = X, yt === 0 && Et(It)), Ut === X && (J.substr(Fe, 4) === zt ? (Ut = zt, Fe += 4) : (Ut = X, yt === 0 && Et(Nt))), Ut !== X ? (fs = jt(), fs !== X ? (Wt = Fe, J.charCodeAt(Fe) === 44 ? (as = Ge, Fe++) : (as = X, yt === 0 && Et(Ke)), as !== X ? (Zt = jt(), Zt !== X ? (ss = Ji(), ss !== X ? (as = [as, Zt, ss], Wt = as) : (Fe = Wt, Wt = X)) : (Fe = Wt, Wt = X)) : (Fe = Wt, Wt = X), Wt === X && (Wt = null), Wt !== X ? (as = jt(), as !== X ? (J.charCodeAt(Fe) === 125 ? (Zt = be, Fe++) : (Zt = X, yt === 0 && Et(me)), Zt !== X ? (Gt = Oe, je = Ze(bt, Ut, Wt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X), Oe;
6235
6273
  }
6236
6274
  function Xi() {
6237
6275
  var Oe;
@@ -6239,170 +6277,170 @@ function peg$parse(J, W) {
6239
6277
  }
6240
6278
  function sr() {
6241
6279
  var Oe, je, tt, bt, $t, Pt, es, Ut, fs, Wt, as, Zt, ss, gs, ys, Ls;
6242
- if (Oe = Ne, J.charCodeAt(Ne) === 123 ? (je = pe, Ne++) : (je = X, yt === 0 && Et(fe)), je !== X)
6280
+ if (Oe = Fe, J.charCodeAt(Fe) === 123 ? (je = pe, Fe++) : (je = X, yt === 0 && Et(fe)), je !== X)
6243
6281
  if (tt = jt(), tt !== X)
6244
6282
  if (bt = Ss(), bt !== X)
6245
6283
  if ($t = jt(), $t !== X)
6246
- if (J.charCodeAt(Ne) === 44 ? (Pt = Ge, Ne++) : (Pt = X, yt === 0 && Et(Ke)), Pt !== X)
6284
+ if (J.charCodeAt(Fe) === 44 ? (Pt = Ge, Fe++) : (Pt = X, yt === 0 && Et(Ke)), Pt !== X)
6247
6285
  if (es = jt(), es !== X)
6248
- if (J.substr(Ne, 6) === Bt ? (Ut = Bt, Ne += 6) : (Ut = X, yt === 0 && Et(rs)), Ut === X && (J.substr(Ne, 13) === Yt ? (Ut = Yt, Ne += 13) : (Ut = X, yt === 0 && Et(gt))), Ut !== X)
6286
+ if (J.substr(Fe, 6) === Bt ? (Ut = Bt, Fe += 6) : (Ut = X, yt === 0 && Et(rs)), Ut === X && (J.substr(Fe, 13) === Yt ? (Ut = Yt, Fe += 13) : (Ut = X, yt === 0 && Et(gt))), Ut !== X)
6249
6287
  if (fs = jt(), fs !== X)
6250
- if (J.charCodeAt(Ne) === 44 ? (Wt = Ge, Ne++) : (Wt = X, yt === 0 && Et(Ke)), Wt !== X)
6288
+ if (J.charCodeAt(Fe) === 44 ? (Wt = Ge, Fe++) : (Wt = X, yt === 0 && Et(Ke)), Wt !== X)
6251
6289
  if (as = jt(), as !== X)
6252
- if (Zt = Ne, J.substr(Ne, 7) === mt ? (ss = mt, Ne += 7) : (ss = X, yt === 0 && Et(xt)), ss !== X ? (gs = jt(), gs !== X ? (ys = _i(), ys !== X ? (ss = [ss, gs, ys], Zt = ss) : (Ne = Zt, Zt = X)) : (Ne = Zt, Zt = X)) : (Ne = Zt, Zt = X), Zt === X && (Zt = null), Zt !== X)
6290
+ if (Zt = Fe, J.substr(Fe, 7) === mt ? (ss = mt, Fe += 7) : (ss = X, yt === 0 && Et(xt)), ss !== X ? (gs = jt(), gs !== X ? (ys = _i(), ys !== X ? (ss = [ss, gs, ys], Zt = ss) : (Fe = Zt, Zt = X)) : (Fe = Zt, Zt = X)) : (Fe = Zt, Zt = X), Zt === X && (Zt = null), Zt !== X)
6253
6291
  if (ss = jt(), ss !== X) {
6254
6292
  if (gs = [], ys = mi(), ys !== X)
6255
6293
  for (; ys !== X; )
6256
6294
  gs.push(ys), ys = mi();
6257
6295
  else
6258
6296
  gs = X;
6259
- gs !== X ? (ys = jt(), ys !== X ? (J.charCodeAt(Ne) === 125 ? (Ls = be, Ne++) : (Ls = X, yt === 0 && Et(me)), Ls !== X ? (Gt = Oe, je = Ct(bt, Ut, Zt, gs), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X);
6297
+ gs !== X ? (ys = jt(), ys !== X ? (J.charCodeAt(Fe) === 125 ? (Ls = be, Fe++) : (Ls = X, yt === 0 && Et(me)), Ls !== X ? (Gt = Oe, je = Ct(bt, Ut, Zt, gs), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X);
6260
6298
  } else
6261
- Ne = Oe, Oe = X;
6299
+ Fe = Oe, Oe = X;
6262
6300
  else
6263
- Ne = Oe, Oe = X;
6301
+ Fe = Oe, Oe = X;
6264
6302
  else
6265
- Ne = Oe, Oe = X;
6303
+ Fe = Oe, Oe = X;
6266
6304
  else
6267
- Ne = Oe, Oe = X;
6305
+ Fe = Oe, Oe = X;
6268
6306
  else
6269
- Ne = Oe, Oe = X;
6307
+ Fe = Oe, Oe = X;
6270
6308
  else
6271
- Ne = Oe, Oe = X;
6309
+ Fe = Oe, Oe = X;
6272
6310
  else
6273
- Ne = Oe, Oe = X;
6311
+ Fe = Oe, Oe = X;
6274
6312
  else
6275
- Ne = Oe, Oe = X;
6313
+ Fe = Oe, Oe = X;
6276
6314
  else
6277
- Ne = Oe, Oe = X;
6315
+ Fe = Oe, Oe = X;
6278
6316
  else
6279
- Ne = Oe, Oe = X;
6317
+ Fe = Oe, Oe = X;
6280
6318
  else
6281
- Ne = Oe, Oe = X;
6319
+ Fe = Oe, Oe = X;
6282
6320
  else
6283
- Ne = Oe, Oe = X;
6321
+ Fe = Oe, Oe = X;
6284
6322
  return Oe;
6285
6323
  }
6286
6324
  function ir() {
6287
6325
  var Oe, je, tt, bt, $t, Pt, es, Ut, fs, Wt, as, Zt, ss, gs;
6288
- if (Oe = Ne, J.charCodeAt(Ne) === 123 ? (je = pe, Ne++) : (je = X, yt === 0 && Et(fe)), je !== X)
6326
+ if (Oe = Fe, J.charCodeAt(Fe) === 123 ? (je = pe, Fe++) : (je = X, yt === 0 && Et(fe)), je !== X)
6289
6327
  if (tt = jt(), tt !== X)
6290
6328
  if (bt = Ss(), bt !== X)
6291
6329
  if ($t = jt(), $t !== X)
6292
- if (J.charCodeAt(Ne) === 44 ? (Pt = Ge, Ne++) : (Pt = X, yt === 0 && Et(Ke)), Pt !== X)
6330
+ if (J.charCodeAt(Fe) === 44 ? (Pt = Ge, Fe++) : (Pt = X, yt === 0 && Et(Ke)), Pt !== X)
6293
6331
  if (es = jt(), es !== X)
6294
- if (J.substr(Ne, 6) === wt ? (Ut = wt, Ne += 6) : (Ut = X, yt === 0 && Et(Lt)), Ut !== X)
6332
+ if (J.substr(Fe, 6) === wt ? (Ut = wt, Fe += 6) : (Ut = X, yt === 0 && Et(Lt)), Ut !== X)
6295
6333
  if (fs = jt(), fs !== X)
6296
- if (J.charCodeAt(Ne) === 44 ? (Wt = Ge, Ne++) : (Wt = X, yt === 0 && Et(Ke)), Wt !== X)
6334
+ if (J.charCodeAt(Fe) === 44 ? (Wt = Ge, Fe++) : (Wt = X, yt === 0 && Et(Ke)), Wt !== X)
6297
6335
  if (as = jt(), as !== X) {
6298
6336
  if (Zt = [], ss = gi(), ss !== X)
6299
6337
  for (; ss !== X; )
6300
6338
  Zt.push(ss), ss = gi();
6301
6339
  else
6302
6340
  Zt = X;
6303
- Zt !== X ? (ss = jt(), ss !== X ? (J.charCodeAt(Ne) === 125 ? (gs = be, Ne++) : (gs = X, yt === 0 && Et(me)), gs !== X ? (Gt = Oe, je = Mt(bt, Zt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X);
6341
+ Zt !== X ? (ss = jt(), ss !== X ? (J.charCodeAt(Fe) === 125 ? (gs = be, Fe++) : (gs = X, yt === 0 && Et(me)), gs !== X ? (Gt = Oe, je = Mt(bt, Zt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X);
6304
6342
  } else
6305
- Ne = Oe, Oe = X;
6343
+ Fe = Oe, Oe = X;
6306
6344
  else
6307
- Ne = Oe, Oe = X;
6345
+ Fe = Oe, Oe = X;
6308
6346
  else
6309
- Ne = Oe, Oe = X;
6347
+ Fe = Oe, Oe = X;
6310
6348
  else
6311
- Ne = Oe, Oe = X;
6349
+ Fe = Oe, Oe = X;
6312
6350
  else
6313
- Ne = Oe, Oe = X;
6351
+ Fe = Oe, Oe = X;
6314
6352
  else
6315
- Ne = Oe, Oe = X;
6353
+ Fe = Oe, Oe = X;
6316
6354
  else
6317
- Ne = Oe, Oe = X;
6355
+ Fe = Oe, Oe = X;
6318
6356
  else
6319
- Ne = Oe, Oe = X;
6357
+ Fe = Oe, Oe = X;
6320
6358
  else
6321
- Ne = Oe, Oe = X;
6359
+ Fe = Oe, Oe = X;
6322
6360
  else
6323
- Ne = Oe, Oe = X;
6361
+ Fe = Oe, Oe = X;
6324
6362
  return Oe;
6325
6363
  }
6326
6364
  function rr() {
6327
6365
  var Oe, je, tt, bt;
6328
- return Oe = Ne, je = Ne, J.charCodeAt(Ne) === 61 ? (tt = Ft, Ne++) : (tt = X, yt === 0 && Et(cs)), tt !== X ? (bt = _i(), bt !== X ? (tt = [tt, bt], je = tt) : (Ne = je, je = X)) : (Ne = je, je = X), je !== X ? Oe = J.substring(Oe, Ne) : Oe = je, Oe === X && (Oe = Ms()), Oe;
6366
+ return Oe = Fe, je = Fe, J.charCodeAt(Fe) === 61 ? (tt = Ft, Fe++) : (tt = X, yt === 0 && Et(cs)), tt !== X ? (bt = _i(), bt !== X ? (tt = [tt, bt], je = tt) : (Fe = je, je = X)) : (Fe = je, je = X), je !== X ? Oe = J.substring(Oe, Fe) : Oe = je, Oe === X && (Oe = Ms()), Oe;
6329
6367
  }
6330
6368
  function gi() {
6331
6369
  var Oe, je, tt, bt, $t, Pt, es, Ut;
6332
- return Oe = Ne, je = jt(), je !== X ? (tt = Ms(), tt !== X ? (bt = jt(), bt !== X ? (J.charCodeAt(Ne) === 123 ? ($t = pe, Ne++) : ($t = X, yt === 0 && Et(fe)), $t !== X ? (Gt = Ne, Pt = ds(), Pt ? Pt = void 0 : Pt = X, Pt !== X ? (es = qs(), es !== X ? (J.charCodeAt(Ne) === 125 ? (Ut = be, Ne++) : (Ut = X, yt === 0 && Et(me)), Ut !== X ? (Gt = Oe, je = Kt(tt, es), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), Oe;
6370
+ return Oe = Fe, je = jt(), je !== X ? (tt = Ms(), tt !== X ? (bt = jt(), bt !== X ? (J.charCodeAt(Fe) === 123 ? ($t = pe, Fe++) : ($t = X, yt === 0 && Et(fe)), $t !== X ? (Gt = Fe, Pt = ds(), Pt ? Pt = void 0 : Pt = X, Pt !== X ? (es = qs(), es !== X ? (J.charCodeAt(Fe) === 125 ? (Ut = be, Fe++) : (Ut = X, yt === 0 && Et(me)), Ut !== X ? (Gt = Oe, je = Kt(tt, es), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X), Oe;
6333
6371
  }
6334
6372
  function mi() {
6335
6373
  var Oe, je, tt, bt, $t, Pt, es, Ut;
6336
- return Oe = Ne, je = jt(), je !== X ? (tt = rr(), tt !== X ? (bt = jt(), bt !== X ? (J.charCodeAt(Ne) === 123 ? ($t = pe, Ne++) : ($t = X, yt === 0 && Et(fe)), $t !== X ? (Gt = Ne, Pt = ks(), Pt ? Pt = void 0 : Pt = X, Pt !== X ? (es = qs(), es !== X ? (J.charCodeAt(Ne) === 125 ? (Ut = be, Ne++) : (Ut = X, yt === 0 && Et(me)), Ut !== X ? (Gt = Oe, je = ts(tt, es), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), Oe;
6374
+ return Oe = Fe, je = jt(), je !== X ? (tt = rr(), tt !== X ? (bt = jt(), bt !== X ? (J.charCodeAt(Fe) === 123 ? ($t = pe, Fe++) : ($t = X, yt === 0 && Et(fe)), $t !== X ? (Gt = Fe, Pt = ks(), Pt ? Pt = void 0 : Pt = X, Pt !== X ? (es = qs(), es !== X ? (J.charCodeAt(Fe) === 125 ? (Ut = be, Fe++) : (Ut = X, yt === 0 && Et(me)), Ut !== X ? (Gt = Oe, je = ts(tt, es), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X), Oe;
6337
6375
  }
6338
6376
  function $s() {
6339
6377
  var Oe;
6340
- return yt++, it.test(J.charAt(Ne)) ? (Oe = J.charAt(Ne), Ne++) : (Oe = X, yt === 0 && Et(nt)), yt--, Oe === X && yt === 0 && Et(hs), Oe;
6378
+ return yt++, it.test(J.charAt(Fe)) ? (Oe = J.charAt(Fe), Fe++) : (Oe = X, yt === 0 && Et(nt)), yt--, Oe === X && yt === 0 && Et(hs), Oe;
6341
6379
  }
6342
6380
  function vi() {
6343
6381
  var Oe;
6344
- return yt++, St.test(J.charAt(Ne)) ? (Oe = J.charAt(Ne), Ne++) : (Oe = X, yt === 0 && Et(qt)), yt--, Oe === X && yt === 0 && Et(vt), Oe;
6382
+ return yt++, St.test(J.charAt(Fe)) ? (Oe = J.charAt(Fe), Fe++) : (Oe = X, yt === 0 && Et(qt)), yt--, Oe === X && yt === 0 && Et(vt), Oe;
6345
6383
  }
6346
6384
  function jt() {
6347
6385
  var Oe, je, tt;
6348
- for (yt++, Oe = Ne, je = [], tt = $s(); tt !== X; )
6386
+ for (yt++, Oe = Fe, je = [], tt = $s(); tt !== X; )
6349
6387
  je.push(tt), tt = $s();
6350
- return je !== X ? Oe = J.substring(Oe, Ne) : Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(os)), Oe;
6388
+ return je !== X ? Oe = J.substring(Oe, Fe) : Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(os)), Oe;
6351
6389
  }
6352
6390
  function _i() {
6353
6391
  var Oe, je, tt;
6354
- return yt++, Oe = Ne, J.charCodeAt(Ne) === 45 ? (je = Vt, Ne++) : (je = X, yt === 0 && Et(At)), je === X && (je = null), je !== X ? (tt = $i(), tt !== X ? (Gt = Oe, je = Tt(je, tt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), yt--, Oe === X && (je = X, yt === 0 && Et(ls)), Oe;
6392
+ return yt++, Oe = Fe, J.charCodeAt(Fe) === 45 ? (je = Vt, Fe++) : (je = X, yt === 0 && Et(At)), je === X && (je = null), je !== X ? (tt = $i(), tt !== X ? (Gt = Oe, je = Tt(je, tt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X), yt--, Oe === X && (je = X, yt === 0 && Et(ls)), Oe;
6355
6393
  }
6356
6394
  function xs() {
6357
6395
  var Oe, je;
6358
- return yt++, Oe = Ne, J.substr(Ne, 2) === Ot ? (je = Ot, Ne += 2) : (je = X, yt === 0 && Et(Ht)), je !== X && (Gt = Oe, je = Xt()), Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(Dt)), Oe;
6396
+ return yt++, Oe = Fe, J.substr(Fe, 2) === Ot ? (je = Ot, Fe += 2) : (je = X, yt === 0 && Et(Ht)), je !== X && (Gt = Oe, je = Xt()), Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(Dt)), Oe;
6359
6397
  }
6360
6398
  function yi() {
6361
6399
  var Oe, je, tt, bt, $t, Pt;
6362
- if (Oe = Ne, J.charCodeAt(Ne) === 39 ? (je = Le, Ne++) : (je = X, yt === 0 && Et(Ue)), je !== X)
6400
+ if (Oe = Fe, J.charCodeAt(Fe) === 39 ? (je = Le, Fe++) : (je = X, yt === 0 && Et(Ue)), je !== X)
6363
6401
  if (tt = or(), tt !== X) {
6364
- for (bt = Ne, $t = [], J.substr(Ne, 2) === Ot ? (Pt = Ot, Ne += 2) : (Pt = X, yt === 0 && Et(Ht)), Pt === X && (Ve.test(J.charAt(Ne)) ? (Pt = J.charAt(Ne), Ne++) : (Pt = X, yt === 0 && Et(Qe))); Pt !== X; )
6365
- $t.push(Pt), J.substr(Ne, 2) === Ot ? (Pt = Ot, Ne += 2) : (Pt = X, yt === 0 && Et(Ht)), Pt === X && (Ve.test(J.charAt(Ne)) ? (Pt = J.charAt(Ne), Ne++) : (Pt = X, yt === 0 && Et(Qe)));
6366
- $t !== X ? bt = J.substring(bt, Ne) : bt = $t, bt !== X ? (J.charCodeAt(Ne) === 39 ? ($t = Le, Ne++) : ($t = X, yt === 0 && Et(Ue)), $t === X && ($t = null), $t !== X ? (Gt = Oe, je = ns(tt, bt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X);
6402
+ for (bt = Fe, $t = [], J.substr(Fe, 2) === Ot ? (Pt = Ot, Fe += 2) : (Pt = X, yt === 0 && Et(Ht)), Pt === X && (Ve.test(J.charAt(Fe)) ? (Pt = J.charAt(Fe), Fe++) : (Pt = X, yt === 0 && Et(Qe))); Pt !== X; )
6403
+ $t.push(Pt), J.substr(Fe, 2) === Ot ? (Pt = Ot, Fe += 2) : (Pt = X, yt === 0 && Et(Ht)), Pt === X && (Ve.test(J.charAt(Fe)) ? (Pt = J.charAt(Fe), Fe++) : (Pt = X, yt === 0 && Et(Qe)));
6404
+ $t !== X ? bt = J.substring(bt, Fe) : bt = $t, bt !== X ? (J.charCodeAt(Fe) === 39 ? ($t = Le, Fe++) : ($t = X, yt === 0 && Et(Ue)), $t === X && ($t = null), $t !== X ? (Gt = Oe, je = ns(tt, bt), Oe = je) : (Fe = Oe, Oe = X)) : (Fe = Oe, Oe = X);
6367
6405
  } else
6368
- Ne = Oe, Oe = X;
6406
+ Fe = Oe, Oe = X;
6369
6407
  else
6370
- Ne = Oe, Oe = X;
6408
+ Fe = Oe, Oe = X;
6371
6409
  return Oe;
6372
6410
  }
6373
6411
  function wi() {
6374
6412
  var Oe, je, tt, bt;
6375
- return Oe = Ne, je = Ne, J.length > Ne ? (tt = J.charAt(Ne), Ne++) : (tt = X, yt === 0 && Et(Se)), tt !== X ? (Gt = Ne, bt = ps(tt), bt ? bt = void 0 : bt = X, bt !== X ? (tt = [tt, bt], je = tt) : (Ne = je, je = X)) : (Ne = je, je = X), je === X && (J.charCodeAt(Ne) === 10 ? (je = Es, Ne++) : (je = X, yt === 0 && Et(Ds))), je !== X ? Oe = J.substring(Oe, Ne) : Oe = je, Oe;
6413
+ return Oe = Fe, je = Fe, J.length > Fe ? (tt = J.charAt(Fe), Fe++) : (tt = X, yt === 0 && Et(Se)), tt !== X ? (Gt = Fe, bt = ps(tt), bt ? bt = void 0 : bt = X, bt !== X ? (tt = [tt, bt], je = tt) : (Fe = je, je = X)) : (Fe = je, je = X), je === X && (J.charCodeAt(Fe) === 10 ? (je = Es, Fe++) : (je = X, yt === 0 && Et(Ds))), je !== X ? Oe = J.substring(Oe, Fe) : Oe = je, Oe;
6376
6414
  }
6377
6415
  function or() {
6378
6416
  var Oe, je, tt, bt;
6379
- return Oe = Ne, je = Ne, J.length > Ne ? (tt = J.charAt(Ne), Ne++) : (tt = X, yt === 0 && Et(Se)), tt !== X ? (Gt = Ne, bt = zs(tt), bt ? bt = void 0 : bt = X, bt !== X ? (tt = [tt, bt], je = tt) : (Ne = je, je = X)) : (Ne = je, je = X), je !== X ? Oe = J.substring(Oe, Ne) : Oe = je, Oe;
6417
+ return Oe = Fe, je = Fe, J.length > Fe ? (tt = J.charAt(Fe), Fe++) : (tt = X, yt === 0 && Et(Se)), tt !== X ? (Gt = Fe, bt = zs(tt), bt ? bt = void 0 : bt = X, bt !== X ? (tt = [tt, bt], je = tt) : (Fe = je, je = X)) : (Fe = je, je = X), je !== X ? Oe = J.substring(Oe, Fe) : Oe = je, Oe;
6380
6418
  }
6381
6419
  function Ss() {
6382
6420
  var Oe, je;
6383
- return yt++, Oe = Ne, je = $i(), je === X && (je = Ms()), je !== X ? Oe = J.substring(Oe, Ne) : Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(Di)), Oe;
6421
+ return yt++, Oe = Fe, je = $i(), je === X && (je = Ms()), je !== X ? Oe = J.substring(Oe, Fe) : Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(Di)), Oe;
6384
6422
  }
6385
6423
  function $i() {
6386
6424
  var Oe, je, tt, bt, $t;
6387
- if (yt++, Oe = Ne, J.charCodeAt(Ne) === 48 ? (je = Ri, Ne++) : (je = X, yt === 0 && Et(Ii)), je !== X && (Gt = Oe, je = qi()), Oe = je, Oe === X) {
6388
- if (Oe = Ne, je = Ne, Pi.test(J.charAt(Ne)) ? (tt = J.charAt(Ne), Ne++) : (tt = X, yt === 0 && Et(Mi)), tt !== X) {
6389
- for (bt = [], ri.test(J.charAt(Ne)) ? ($t = J.charAt(Ne), Ne++) : ($t = X, yt === 0 && Et(oi)); $t !== X; )
6390
- bt.push($t), ri.test(J.charAt(Ne)) ? ($t = J.charAt(Ne), Ne++) : ($t = X, yt === 0 && Et(oi));
6391
- bt !== X ? (tt = [tt, bt], je = tt) : (Ne = je, je = X);
6425
+ if (yt++, Oe = Fe, J.charCodeAt(Fe) === 48 ? (je = Ri, Fe++) : (je = X, yt === 0 && Et(Ii)), je !== X && (Gt = Oe, je = qi()), Oe = je, Oe === X) {
6426
+ if (Oe = Fe, je = Fe, Pi.test(J.charAt(Fe)) ? (tt = J.charAt(Fe), Fe++) : (tt = X, yt === 0 && Et(Mi)), tt !== X) {
6427
+ for (bt = [], ri.test(J.charAt(Fe)) ? ($t = J.charAt(Fe), Fe++) : ($t = X, yt === 0 && Et(oi)); $t !== X; )
6428
+ bt.push($t), ri.test(J.charAt(Fe)) ? ($t = J.charAt(Fe), Fe++) : ($t = X, yt === 0 && Et(oi));
6429
+ bt !== X ? (tt = [tt, bt], je = tt) : (Fe = je, je = X);
6392
6430
  } else
6393
- Ne = je, je = X;
6431
+ Fe = je, je = X;
6394
6432
  je !== X && (Gt = Oe, je = Li(je)), Oe = je;
6395
6433
  }
6396
6434
  return yt--, Oe === X && (je = X, yt === 0 && Et(zi)), Oe;
6397
6435
  }
6398
6436
  function Ms() {
6399
6437
  var Oe, je, tt, bt, $t;
6400
- if (yt++, Oe = Ne, je = [], tt = Ne, bt = Ne, yt++, $t = $s(), $t === X && ($t = vi()), yt--, $t === X ? bt = void 0 : (Ne = bt, bt = X), bt !== X ? (J.length > Ne ? ($t = J.charAt(Ne), Ne++) : ($t = X, yt === 0 && Et(Se)), $t !== X ? (bt = [bt, $t], tt = bt) : (Ne = tt, tt = X)) : (Ne = tt, tt = X), tt !== X)
6438
+ if (yt++, Oe = Fe, je = [], tt = Fe, bt = Fe, yt++, $t = $s(), $t === X && ($t = vi()), yt--, $t === X ? bt = void 0 : (Fe = bt, bt = X), bt !== X ? (J.length > Fe ? ($t = J.charAt(Fe), Fe++) : ($t = X, yt === 0 && Et(Se)), $t !== X ? (bt = [bt, $t], tt = bt) : (Fe = tt, tt = X)) : (Fe = tt, tt = X), tt !== X)
6401
6439
  for (; tt !== X; )
6402
- je.push(tt), tt = Ne, bt = Ne, yt++, $t = $s(), $t === X && ($t = vi()), yt--, $t === X ? bt = void 0 : (Ne = bt, bt = X), bt !== X ? (J.length > Ne ? ($t = J.charAt(Ne), Ne++) : ($t = X, yt === 0 && Et(Se)), $t !== X ? (bt = [bt, $t], tt = bt) : (Ne = tt, tt = X)) : (Ne = tt, tt = X);
6440
+ je.push(tt), tt = Fe, bt = Fe, yt++, $t = $s(), $t === X && ($t = vi()), yt--, $t === X ? bt = void 0 : (Fe = bt, bt = X), bt !== X ? (J.length > Fe ? ($t = J.charAt(Fe), Fe++) : ($t = X, yt === 0 && Et(Se)), $t !== X ? (bt = [bt, $t], tt = bt) : (Fe = tt, tt = X)) : (Fe = tt, tt = X);
6403
6441
  else
6404
6442
  je = X;
6405
- return je !== X ? Oe = J.substring(Oe, Ne) : Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(Fi)), Oe;
6443
+ return je !== X ? Oe = J.substring(Oe, Fe) : Oe = je, yt--, Oe === X && (je = X, yt === 0 && Et(Fi)), Oe;
6406
6444
  }
6407
6445
  var vs = ["root"];
6408
6446
  function nr() {
@@ -6416,9 +6454,9 @@ function peg$parse(J, W) {
6416
6454
  location: Is()
6417
6455
  } : {};
6418
6456
  }
6419
- if (Ts = re(), Ts !== X && Ne === J.length)
6457
+ if (Ts = re(), Ts !== X && Fe === J.length)
6420
6458
  return Ts;
6421
- throw Ts !== X && Ne < J.length && Et(Hi()), Bi(Rs, ms < J.length ? J.charAt(ms) : null, ms < J.length ? Os(ms, ms + 1) : Os(ms, ms));
6459
+ throw Ts !== X && Fe < J.length && Et(Hi()), Bi(Rs, ms < J.length ? J.charAt(ms) : null, ms < J.length ? Os(ms, ms + 1) : Os(ms, ms));
6422
6460
  }
6423
6461
  var pegParse = peg$parse, __spreadArrays$2 = function() {
6424
6462
  for (var J = 0, W = 0, X = arguments.length; W < X; W++) J += arguments[W].length;
@@ -9751,7 +9789,7 @@ class ImportDataManagerImpl {
9751
9789
  async import(W, X) {
9752
9790
  this.currentImporterId = W, this.currentImportParams = X, this.selectedItems = {}, this.pluginTexts = {};
9753
9791
  try {
9754
- const { ImportDataManagerModal: te } = await import("./component-RggKE5In.js"), { confirmed: re } = await this.interactionService.confirm(
9792
+ const { ImportDataManagerModal: te } = await import("./component-BgR3-MlL.js"), { confirmed: re } = await this.interactionService.confirm(
9755
9793
  void 0,
9756
9794
  { component: te },
9757
9795
  {
@@ -10918,14 +10956,14 @@ function buildCreateSlice({
10918
10956
  ...ye,
10919
10957
  ...ce.sliceCaseReducersByType
10920
10958
  };
10921
- return createReducer(te.initialState, (Pe) => {
10959
+ return createReducer(te.initialState, (qe) => {
10922
10960
  for (let De in Ce)
10923
- Pe.addCase(De, Ce[De]);
10961
+ qe.addCase(De, Ce[De]);
10924
10962
  for (let De of ce.sliceMatchers)
10925
- Pe.addMatcher(De.matcher, De.reducer);
10963
+ qe.addMatcher(De.matcher, De.reducer);
10926
10964
  for (let De of Se)
10927
- Pe.addMatcher(De.matcher, De.reducer);
10928
- we && Pe.addDefaultCase(we);
10965
+ qe.addMatcher(De.matcher, De.reducer);
10966
+ we && qe.addDefaultCase(we);
10929
10967
  });
10930
10968
  }
10931
10969
  const pe = (ye) => ye, fe = /* @__PURE__ */ new Map();
@@ -10937,16 +10975,16 @@ function buildCreateSlice({
10937
10975
  return be || (be = he()), be.getInitialState();
10938
10976
  }
10939
10977
  function ve(ye, Se = !1) {
10940
- function we(Pe) {
10941
- let De = Pe[ye];
10978
+ function we(qe) {
10979
+ let De = qe[ye];
10942
10980
  return typeof De > "u" && Se && (De = ge()), De;
10943
10981
  }
10944
- function Ce(Pe = pe) {
10982
+ function Ce(qe = pe) {
10945
10983
  const De = getOrInsertComputed(fe, Se, () => /* @__PURE__ */ new WeakMap());
10946
- return getOrInsertComputed(De, Pe, () => {
10984
+ return getOrInsertComputed(De, qe, () => {
10947
10985
  const Me = {};
10948
10986
  for (const [He, Ie] of Object.entries(te.selectors ?? {}))
10949
- Me[He] = wrapSelector(Ie, Pe, ge, Se);
10987
+ Me[He] = wrapSelector(Ie, qe, ge, Se);
10950
10988
  return Me;
10951
10989
  });
10952
10990
  }
@@ -15825,11 +15863,11 @@ class Virtualizer {
15825
15863
  const ye = ce === "estimate" || ue.has(me);
15826
15864
  if (ge !== void 0 && this.options.lanes > 1) {
15827
15865
  ve = ge;
15828
- const Pe = fe[ve], De = Pe !== void 0 ? pe[Pe] : void 0;
15866
+ const qe = fe[ve], De = qe !== void 0 ? pe[qe] : void 0;
15829
15867
  _e = De ? De.end + this.options.gap : te + re;
15830
15868
  } else {
15831
- const Pe = this.options.lanes === 1 ? pe[be - 1] : this.getFurthestMeasurement(pe, be);
15832
- _e = Pe ? Pe.end + this.options.gap : te + re, ve = Pe ? Pe.lane : be % this.options.lanes, this.options.lanes > 1 && ye && this.laneAssignments.set(be, ve);
15869
+ const qe = this.options.lanes === 1 ? pe[be - 1] : this.getFurthestMeasurement(pe, be);
15870
+ _e = qe ? qe.end + this.options.gap : te + re, ve = qe ? qe.lane : be % this.options.lanes, this.options.lanes > 1 && ye && this.laneAssignments.set(be, ve);
15833
15871
  }
15834
15872
  const Se = ue.get(me), we = typeof Se == "number" ? Se : this.options.estimateSize(be), Ce = _e + we;
15835
15873
  pe[be] = {
@@ -18653,8 +18691,8 @@ var toPaddingObject = function(W, X) {
18653
18691
  function arrow(J) {
18654
18692
  var W, X = J.state, te = J.name, re = J.options, oe = X.elements.arrow, ne = X.modifiersData.popperOffsets, de = getBasePlacement(X.placement), ce = getMainAxisFromPlacement(de), ue = [left, right].indexOf(de) >= 0, he = ue ? "height" : "width";
18655
18693
  if (!(!oe || !ne)) {
18656
- var pe = toPaddingObject(re.padding, X), fe = getLayoutRect(oe), be = ce === "y" ? top : left, me = ce === "y" ? bottom : right, ge = X.rects.reference[he] + X.rects.reference[ce] - ne[ce] - X.rects.popper[he], ve = ne[ce] - X.rects.reference[ce], _e = getOffsetParent(oe), ye = _e ? ce === "y" ? _e.clientHeight || 0 : _e.clientWidth || 0 : 0, Se = ge / 2 - ve / 2, we = pe[be], Ce = ye - fe[he] - pe[me], Pe = ye / 2 - fe[he] / 2 + Se, De = within(we, Pe, Ce), Me = ce;
18657
- X.modifiersData[te] = (W = {}, W[Me] = De, W.centerOffset = De - Pe, W);
18694
+ var pe = toPaddingObject(re.padding, X), fe = getLayoutRect(oe), be = ce === "y" ? top : left, me = ce === "y" ? bottom : right, ge = X.rects.reference[he] + X.rects.reference[ce] - ne[ce] - X.rects.popper[he], ve = ne[ce] - X.rects.reference[ce], _e = getOffsetParent(oe), ye = _e ? ce === "y" ? _e.clientHeight || 0 : _e.clientWidth || 0 : 0, Se = ge / 2 - ve / 2, we = pe[be], Ce = ye - fe[he] - pe[me], qe = ye / 2 - fe[he] / 2 + Se, De = within(we, qe, Ce), Me = ce;
18695
+ X.modifiersData[te] = (W = {}, W[Me] = De, W.centerOffset = De - qe, W);
18658
18696
  }
18659
18697
  }
18660
18698
  function effect$1(J) {
@@ -18697,20 +18735,20 @@ function mapToStyles(J) {
18697
18735
  be = ve.x, ge = ve.y;
18698
18736
  var _e = ne.hasOwnProperty("x"), ye = ne.hasOwnProperty("y"), Se = left, we = top, Ce = window;
18699
18737
  if (ue) {
18700
- var Pe = getOffsetParent(X), De = "clientHeight", Me = "clientWidth";
18701
- if (Pe === getWindow(X) && (Pe = getDocumentElement(X), getComputedStyle(Pe).position !== "static" && de === "absolute" && (De = "scrollHeight", Me = "scrollWidth")), Pe = Pe, re === top || (re === left || re === right) && oe === end) {
18738
+ var qe = getOffsetParent(X), De = "clientHeight", Me = "clientWidth";
18739
+ if (qe === getWindow(X) && (qe = getDocumentElement(X), getComputedStyle(qe).position !== "static" && de === "absolute" && (De = "scrollHeight", Me = "scrollWidth")), qe = qe, re === top || (re === left || re === right) && oe === end) {
18702
18740
  we = bottom;
18703
- var He = pe && Pe === Ce && Ce.visualViewport ? Ce.visualViewport.height : (
18741
+ var He = pe && qe === Ce && Ce.visualViewport ? Ce.visualViewport.height : (
18704
18742
  // $FlowFixMe[prop-missing]
18705
- Pe[De]
18743
+ qe[De]
18706
18744
  );
18707
18745
  ge -= He - te.height, ge *= ce ? 1 : -1;
18708
18746
  }
18709
18747
  if (re === left || (re === top || re === bottom) && oe === end) {
18710
18748
  Se = right;
18711
- var Ie = pe && Pe === Ce && Ce.visualViewport ? Ce.visualViewport.width : (
18749
+ var Ie = pe && qe === Ce && Ce.visualViewport ? Ce.visualViewport.width : (
18712
18750
  // $FlowFixMe[prop-missing]
18713
- Pe[Me]
18751
+ qe[Me]
18714
18752
  );
18715
18753
  be -= Ie - te.width, be *= ce ? 1 : -1;
18716
18754
  }
@@ -18725,8 +18763,8 @@ function mapToStyles(J) {
18725
18763
  y: ge
18726
18764
  };
18727
18765
  if (be = ze.x, ge = ze.y, ce) {
18728
- var qe;
18729
- return Object.assign({}, Ae, (qe = {}, qe[we] = ye ? "0" : "", qe[Se] = _e ? "0" : "", qe.transform = (Ce.devicePixelRatio || 1) <= 1 ? "translate(" + be + "px, " + ge + "px)" : "translate3d(" + be + "px, " + ge + "px, 0)", qe));
18766
+ var Pe;
18767
+ return Object.assign({}, Ae, (Pe = {}, Pe[we] = ye ? "0" : "", Pe[Se] = _e ? "0" : "", Pe.transform = (Ce.devicePixelRatio || 1) <= 1 ? "translate(" + be + "px, " + ge + "px)" : "translate3d(" + be + "px, " + ge + "px, 0)", Pe));
18730
18768
  }
18731
18769
  return Object.assign({}, Ae, (W = {}, W[we] = ye ? ge + "px" : "", W[Se] = _e ? be + "px" : "", W.transform = "", W));
18732
18770
  }
@@ -18928,11 +18966,11 @@ function computeOffsets(J) {
18928
18966
  }
18929
18967
  function detectOverflow(J, W) {
18930
18968
  W === void 0 && (W = {});
18931
- var X = W, te = X.placement, re = te === void 0 ? J.placement : te, oe = X.strategy, ne = oe === void 0 ? J.strategy : oe, de = X.boundary, ce = de === void 0 ? clippingParents : de, ue = X.rootBoundary, he = ue === void 0 ? viewport : ue, pe = X.elementContext, fe = pe === void 0 ? popper : pe, be = X.altBoundary, me = be === void 0 ? !1 : be, ge = X.padding, ve = ge === void 0 ? 0 : ge, _e = mergePaddingObject(typeof ve != "number" ? ve : expandToHashMap(ve, basePlacements)), ye = fe === popper ? reference : popper, Se = J.rects.popper, we = J.elements[me ? ye : fe], Ce = getClippingRect(isElement(we) ? we : we.contextElement || getDocumentElement(J.elements.popper), ce, he, ne), Pe = getBoundingClientRect(J.elements.reference), De = computeOffsets({
18932
- reference: Pe,
18969
+ var X = W, te = X.placement, re = te === void 0 ? J.placement : te, oe = X.strategy, ne = oe === void 0 ? J.strategy : oe, de = X.boundary, ce = de === void 0 ? clippingParents : de, ue = X.rootBoundary, he = ue === void 0 ? viewport : ue, pe = X.elementContext, fe = pe === void 0 ? popper : pe, be = X.altBoundary, me = be === void 0 ? !1 : be, ge = X.padding, ve = ge === void 0 ? 0 : ge, _e = mergePaddingObject(typeof ve != "number" ? ve : expandToHashMap(ve, basePlacements)), ye = fe === popper ? reference : popper, Se = J.rects.popper, we = J.elements[me ? ye : fe], Ce = getClippingRect(isElement(we) ? we : we.contextElement || getDocumentElement(J.elements.popper), ce, he, ne), qe = getBoundingClientRect(J.elements.reference), De = computeOffsets({
18970
+ reference: qe,
18933
18971
  element: Se,
18934
18972
  placement: re
18935
- }), Me = rectToClientRect(Object.assign({}, Se, De)), He = fe === popper ? Me : Pe, Ie = {
18973
+ }), Me = rectToClientRect(Object.assign({}, Se, De)), He = fe === popper ? Me : qe, Ie = {
18936
18974
  top: Ce.top - He.top + _e.top,
18937
18975
  bottom: He.bottom - Ce.bottom + _e.bottom,
18938
18976
  left: Ce.left - He.left + _e.left,
@@ -18940,9 +18978,9 @@ function detectOverflow(J, W) {
18940
18978
  }, Ae = J.modifiersData.offset;
18941
18979
  if (fe === popper && Ae) {
18942
18980
  var ze = Ae[re];
18943
- Object.keys(Ie).forEach(function(qe) {
18944
- var Fe = [right, bottom].indexOf(qe) >= 0 ? 1 : -1, We = [top, bottom].indexOf(qe) >= 0 ? "y" : "x";
18945
- Ie[qe] += ze[We] * Fe;
18981
+ Object.keys(Ie).forEach(function(Pe) {
18982
+ var Ne = [right, bottom].indexOf(Pe) >= 0 ? 1 : -1, We = [top, bottom].indexOf(Pe) >= 0 ? "y" : "x";
18983
+ Ie[Pe] += ze[We] * Ne;
18946
18984
  });
18947
18985
  }
18948
18986
  return Ie;
@@ -18985,15 +19023,15 @@ function flip(J) {
18985
19023
  flipVariations: me,
18986
19024
  allowedAutoPlacements: ge
18987
19025
  }) : Xe);
18988
- }, []), Ce = W.rects.reference, Pe = W.rects.popper, De = /* @__PURE__ */ new Map(), Me = !0, He = we[0], Ie = 0; Ie < we.length; Ie++) {
18989
- var Ae = we[Ie], ze = getBasePlacement(Ae), qe = getVariation(Ae) === start, Fe = [top, bottom].indexOf(ze) >= 0, We = Fe ? "width" : "height", Ge = detectOverflow(W, {
19026
+ }, []), Ce = W.rects.reference, qe = W.rects.popper, De = /* @__PURE__ */ new Map(), Me = !0, He = we[0], Ie = 0; Ie < we.length; Ie++) {
19027
+ var Ae = we[Ie], ze = getBasePlacement(Ae), Pe = getVariation(Ae) === start, Ne = [top, bottom].indexOf(ze) >= 0, We = Ne ? "width" : "height", Ge = detectOverflow(W, {
18990
19028
  placement: Ae,
18991
19029
  boundary: he,
18992
19030
  rootBoundary: pe,
18993
19031
  altBoundary: fe,
18994
19032
  padding: ue
18995
- }), Ke = Fe ? qe ? right : left : qe ? bottom : top;
18996
- Ce[We] > Pe[We] && (Ke = getOppositePlacement(Ke));
19033
+ }), Ke = Ne ? Pe ? right : left : Pe ? bottom : top;
19034
+ Ce[We] > qe[We] && (Ke = getOppositePlacement(Ke));
18997
19035
  var ft = getOppositePlacement(Ke), Je = [];
18998
19036
  if (oe && Je.push(Ge[ze] <= 0), de && Je.push(Ge[Ke] <= 0, Ge[ft] <= 0), Je.every(function(Qe) {
18999
19037
  return Qe;
@@ -19119,7 +19157,7 @@ function preventOverflow(J) {
19119
19157
  rootBoundary: ue,
19120
19158
  padding: pe,
19121
19159
  altBoundary: he
19122
- }), _e = getBasePlacement(W.placement), ye = getVariation(W.placement), Se = !ye, we = getMainAxisFromPlacement(_e), Ce = getAltAxis(we), Pe = W.modifiersData.popperOffsets, De = W.rects.reference, Me = W.rects.popper, He = typeof ge == "function" ? ge(Object.assign({}, W.rects, {
19160
+ }), _e = getBasePlacement(W.placement), ye = getVariation(W.placement), Se = !ye, we = getMainAxisFromPlacement(_e), Ce = getAltAxis(we), qe = W.modifiersData.popperOffsets, De = W.rects.reference, Me = W.rects.popper, He = typeof ge == "function" ? ge(Object.assign({}, W.rects, {
19123
19161
  placement: W.placement
19124
19162
  })) : ge, Ie = typeof He == "number" ? {
19125
19163
  mainAxis: He,
@@ -19131,17 +19169,17 @@ function preventOverflow(J) {
19131
19169
  x: 0,
19132
19170
  y: 0
19133
19171
  };
19134
- if (Pe) {
19172
+ if (qe) {
19135
19173
  if (oe) {
19136
- var qe, Fe = we === "y" ? top : left, We = we === "y" ? bottom : right, Ge = we === "y" ? "height" : "width", Ke = Pe[we], ft = Ke + ve[Fe], Je = Ke - ve[We], Ze = be ? -Me[Ge] / 2 : 0, Le = ye === start ? De[Ge] : Me[Ge], Ue = ye === start ? -Me[Ge] : -De[Ge], Ve = W.elements.arrow, Qe = be && Ve ? getLayoutRect(Ve) : {
19174
+ var Pe, Ne = we === "y" ? top : left, We = we === "y" ? bottom : right, Ge = we === "y" ? "height" : "width", Ke = qe[we], ft = Ke + ve[Ne], Je = Ke - ve[We], Ze = be ? -Me[Ge] / 2 : 0, Le = ye === start ? De[Ge] : Me[Ge], Ue = ye === start ? -Me[Ge] : -De[Ge], Ve = W.elements.arrow, Qe = be && Ve ? getLayoutRect(Ve) : {
19137
19175
  width: 0,
19138
19176
  height: 0
19139
- }, Xe = W.modifiersData["arrow#persistent"] ? W.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Be = Xe[Fe], Ye = Xe[We], rt = within(0, De[Ge], Qe[Ge]), ot = Se ? De[Ge] / 2 - Ze - rt - Be - Ie.mainAxis : Le - rt - Be - Ie.mainAxis, _t = Se ? -De[Ge] / 2 + Ze + rt + Ye + Ie.mainAxis : Ue + rt + Ye + Ie.mainAxis, kt = W.elements.arrow && getOffsetParent(W.elements.arrow), It = kt ? we === "y" ? kt.clientTop || 0 : kt.clientLeft || 0 : 0, zt = (qe = Ae?.[we]) != null ? qe : 0, Nt = Ke + ot - zt - It, Bt = Ke + _t - zt, rs = within(be ? min(ft, Nt) : ft, Ke, be ? max(Je, Bt) : Je);
19140
- Pe[we] = rs, ze[we] = rs - Ke;
19177
+ }, Xe = W.modifiersData["arrow#persistent"] ? W.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Be = Xe[Ne], Ye = Xe[We], rt = within(0, De[Ge], Qe[Ge]), ot = Se ? De[Ge] / 2 - Ze - rt - Be - Ie.mainAxis : Le - rt - Be - Ie.mainAxis, _t = Se ? -De[Ge] / 2 + Ze + rt + Ye + Ie.mainAxis : Ue + rt + Ye + Ie.mainAxis, kt = W.elements.arrow && getOffsetParent(W.elements.arrow), It = kt ? we === "y" ? kt.clientTop || 0 : kt.clientLeft || 0 : 0, zt = (Pe = Ae?.[we]) != null ? Pe : 0, Nt = Ke + ot - zt - It, Bt = Ke + _t - zt, rs = within(be ? min(ft, Nt) : ft, Ke, be ? max(Je, Bt) : Je);
19178
+ qe[we] = rs, ze[we] = rs - Ke;
19141
19179
  }
19142
19180
  if (de) {
19143
- var Yt, gt = we === "x" ? top : left, mt = we === "x" ? bottom : right, xt = Pe[Ce], Ct = Ce === "y" ? "height" : "width", wt = xt + ve[gt], Lt = xt - ve[mt], Mt = [top, left].indexOf(_e) !== -1, Ft = (Yt = Ae?.[Ce]) != null ? Yt : 0, cs = Mt ? wt : xt - De[Ct] - Me[Ct] - Ft + Ie.altAxis, ds = Mt ? xt + De[Ct] + Me[Ct] - Ft - Ie.altAxis : Lt, Kt = be && Mt ? withinMaxClamp(cs, xt, ds) : within(be ? cs : wt, xt, be ? ds : Lt);
19144
- Pe[Ce] = Kt, ze[Ce] = Kt - xt;
19181
+ var Yt, gt = we === "x" ? top : left, mt = we === "x" ? bottom : right, xt = qe[Ce], Ct = Ce === "y" ? "height" : "width", wt = xt + ve[gt], Lt = xt - ve[mt], Mt = [top, left].indexOf(_e) !== -1, Ft = (Yt = Ae?.[Ce]) != null ? Yt : 0, cs = Mt ? wt : xt - De[Ct] - Me[Ct] - Ft + Ie.altAxis, ds = Mt ? xt + De[Ct] + Me[Ct] - Ft - Ie.altAxis : Lt, Kt = be && Mt ? withinMaxClamp(cs, xt, ds) : within(be ? cs : wt, xt, be ? ds : Lt);
19182
+ qe[Ce] = Kt, ze[Ce] = Kt - xt;
19145
19183
  }
19146
19184
  W.modifiersData[te] = ze;
19147
19185
  }
@@ -19293,8 +19331,8 @@ function popperGenerator(J) {
19293
19331
  he.reset = !1, we = -1;
19294
19332
  continue;
19295
19333
  }
19296
- var Ce = he.orderedModifiers[we], Pe = Ce.fn, De = Ce.options, Me = De === void 0 ? {} : De, He = Ce.name;
19297
- typeof Pe == "function" && (he = Pe({
19334
+ var Ce = he.orderedModifiers[we], qe = Ce.fn, De = Ce.options, Me = De === void 0 ? {} : De, He = Ce.name;
19335
+ typeof qe == "function" && (he = qe({
19298
19336
  state: he,
19299
19337
  options: Me,
19300
19338
  name: He,
@@ -19329,9 +19367,9 @@ function popperGenerator(J) {
19329
19367
  name: _e,
19330
19368
  instance: be,
19331
19369
  options: Se
19332
- }), Pe = function() {
19370
+ }), qe = function() {
19333
19371
  };
19334
- pe.push(Ce || Pe);
19372
+ pe.push(Ce || qe);
19335
19373
  }
19336
19374
  });
19337
19375
  }
@@ -22774,7 +22812,7 @@ a$k([
22774
22812
  r$J()
22775
22813
  ], l$o.prototype, "_currentSortedData", 2);
22776
22814
  const P$1 = er`dss-calendar${tr(f$o())}`, s$s = er`dss-icon${tr(f$o())}`, r$z = er`dss-icon-button${tr(f$o())}`, aa$1 = (J) => {
22777
- var W, X, te, re, oe, ne, de, ce, ue, he, pe, fe, be, me, ge, ve, _e, ye, Se, we, Ce, Pe, De, Me, He, Ie, Ae, ze, qe, Fe, We;
22815
+ var W, X, te, re, oe, ne, de, ce, ue, he, pe, fe, be, me, ge, ve, _e, ye, Se, we, Ce, qe, De, Me, He, Ie, Ae, ze, Pe, Ne, We;
22778
22816
  const Ge = {
22779
22817
  "dss-datepicker-range--sm": J.inputSize !== "lg"
22780
22818
  }, Ke = {
@@ -22806,7 +22844,7 @@ const P$1 = er`dss-calendar${tr(f$o())}`, s$s = er`dss-icon${tr(f$o())}`, r$z =
22806
22844
  "dss-input-group--required": (Se = J._inputRangeEnd) == null ? void 0 : Se.required,
22807
22845
  "dss-input-group--disabled": (we = J._inputRangeEnd) == null ? void 0 : we.disabled,
22808
22846
  "dss-input-group--focused": ((Ce = J._inputRangeEnd) == null ? void 0 : Ce.value) || J._isEndFocused || J._copyInputRangeEndPlaceholder,
22809
- "dss-input-group--read-only": (Pe = J._inputRangeEnd) == null ? void 0 : Pe.readOnly
22847
+ "dss-input-group--read-only": (qe = J._inputRangeEnd) == null ? void 0 : qe.readOnly
22810
22848
  // 'dss-input-group--no-label': Boolean(!component._label),
22811
22849
  }, Ue = {
22812
22850
  "dss-calendar": !0,
@@ -22910,8 +22948,8 @@ const P$1 = er`dss-calendar${tr(f$o())}`, s$s = er`dss-icon${tr(f$o())}`, r$z =
22910
22948
  aria-label="Datepicker Range Calendar"
22911
22949
  id="datepicker-range-calendar"
22912
22950
  class="${Rt(Ue)}"
22913
- .selectedDate="${(qe = J._inputRangeStart) == null ? void 0 : qe.value}"
22914
- .rangeStartDate="${(Fe = J._inputRangeStart) == null ? void 0 : Fe.value}"
22951
+ .selectedDate="${(Pe = J._inputRangeStart) == null ? void 0 : Pe.value}"
22952
+ .rangeStartDate="${(Ne = J._inputRangeStart) == null ? void 0 : Ne.value}"
22915
22953
  .rangeEndDate="${(We = J._inputRangeEnd) == null ? void 0 : We.value}"
22916
22954
  .customCalendar=${J.customCalendar}
22917
22955
  .showButtons=${J._calendarShowButtons}
@@ -38404,8 +38442,8 @@ let r$4 = class extends h$p {
38404
38442
  u$k(this.renderRoot, Se, ".table-header-column--clickable"), Ce = !0;
38405
38443
  break;
38406
38444
  case "Enter":
38407
- const Pe = ye.target;
38408
- r$B(this.renderRoot, Pe, ".table-header-column--clickable"), Ce = !0;
38445
+ const qe = ye.target;
38446
+ r$B(this.renderRoot, qe, ".table-header-column--clickable"), Ce = !0;
38409
38447
  break;
38410
38448
  }
38411
38449
  Ce && (ye.stopPropagation(), ye.preventDefault());
@@ -39424,7 +39462,7 @@ i$a([
39424
39462
  r$J()
39425
39463
  ], t$4.prototype, "defaultValue");
39426
39464
  const s$6 = ':host{max-width:100%}.dss-input-wrapper{display:flex;flex-direction:column;gap:var(--dss-spacing-xxs);width:100%;max-width:100%}.dss-input-wrapper--sm{gap:var(--dss-spacing-tiny)}.dss-input-icon{color:var(--color-neutral-900)}.dss-input-dropdown-wrapper{width:100%;max-width:100%}.dss-input-group{height:48px;width:100%;max-width:100%;box-sizing:border-box;padding:0 var(--dss-spacing-sm);border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:var(--dss-radius-sm);display:flex;align-items:center;gap:var(--dss-spacing-xs);background-color:var(--color-white);font-family:var(--font-family)}.dss-input-group--read-only{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;border-radius:0}.dss-input-group:not(.dss-input-group--read-only):focus-within{border-color:transparent;outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-input-group--read-only:focus-within{outline:none;position:relative}.dss-input-group--read-only:focus-within:before{pointer-events:none;content:"";position:absolute;top:100%;left:0;right:0;height:var(--dss-border-width-lg);background-color:var(--color-blue-200)}.dss-input-field{flex:1;min-width:0;display:flex;height:45px;position:relative}.dss-input-group--md{height:40px}.dss-input-group--md .dss-input-field{height:37px}.dss-input-group--sm{height:32px;padding:0 var(--dss-spacing-xs)}.dss-input-group--sm .dss-input-field{height:29px}.dss-wrapper-label label.dss-label{font-size:14px;font-weight:var(--font-semibold);line-height:24px;color:var(--color-neutral-700);background-color:transparent}.dss-wrapper-label.dss-wrapper-label--invalid label.dss-label{color:var(--color-red-500)}.dss-input-wrapper--disabled .dss-wrapper-label label.dss-label{color:var(--color-neutral-500)}.dss-input-field label.dss-label{position:absolute;top:50%;transform:translateY(-50%);left:0;font-size:14px;color:var(--color-neutral-600);transition:all .3s ease-in-out;max-height:24px;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dss-input-field:focus-within label.dss-label,.dss-input-group--focused label.dss-label{font-size:12px;top:0;transform:translateY(0)}.dss-input-group.dss-input-group--focused.dss-input-group--read-only-empty label.dss-label{font-size:14px;top:50%;transform:translateY(-50%)}.dss-input-group--md .dss-input-field:focus-within label.dss-label,.dss-input-group--md.dss-input-group--focused label.dss-label{top:0}.dss-input-field input.dss-input{border:none;height:100%;padding:0;box-sizing:border-box;color:var(--color-neutral-900);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:14px;width:100%;max-width:100%;background-color:transparent}.dss-input-field input.dss-input::-webkit-outer-spin-button,.dss-input-field input.dss-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.dss-input-field input.dss-input[type=number]{-moz-appearance:textfield}.dss-input-field input.dss-input::-moz-placeholder{color:var(--color-neutral-700)}.dss-input-field input.dss-input::-moz-placeholder,.dss-input-field input.dss-input::-ms-input-placeholder,.dss-input-field input.dss-input::placeholder{color:var(--color-neutral-700)}.dss-input-group:not(.dss-input-group--sm) .dss-input-field input.dss-input{padding-top:var(--dss-spacing-md)!important;padding-bottom:0!important}.dss-input-field input.dss-input:-moz-placeholder-shown{border:none;outline:none;height:100%}.dss-input-field input.dss-input:focus-visible,.dss-input-field input.dss-input:placeholder-shown{border:none;outline:none;height:100%}.dss-input-field input.dss-input::-moz-placeholder{color:var(--color-neutral-600)}.dss-input-field input.dss-input::placeholder{color:var(--color-neutral-600)}.dss-input-group--disabled{cursor:not-allowed;background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-input-group--disabled .dss-input-field label.dss-label{cursor:not-allowed!important;color:var(--color-neutral-500)}.dss-input-group--disabled .dss-input-field input.dss-input{cursor:not-allowed!important;background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-input-help{display:flex;justify-content:space-between;font-family:var(--font-family);font-size:12px;color:var(--color-neutral-700);padding:0 var(--dss-spacing-sm)}.dss-input-help--invalid{color:var(--color-red-500)}.dss-input-help--disabled{color:var(--color-neutral-500)}.dss-input-group--invalid:not(.dss-input-group--disabled):not(.dss-input-group--read-only):not(:focus-within){background-color:var(--color-red-50);border-color:var(--color-red-500)}.dss-input-group--invalid.dss-input-group--read-only:not(.dss-input-group--disabled):not(:focus-within){border-bottom-color:var(--color-red-500)}.dss-input-group--invalid:not(.dss-input-group--disabled) .dss-input-field label.dss-label{color:var(--color-red-500)}.dss-input-group--invalid:not(.dss-input-group--disabled):not(.dss-input-group--read-only):not(:focus-within) .dss-input-field input.dss-input{background-color:var(--color-red-50)}.dss-input-wrapper--required label.dss-label:before,.dss-input-group--required label.dss-label:before{content:"*"}.dss-input-numeric-buttons{padding:0;display:flex;flex-direction:column;justify-content:center;transition:all .3s ease-in;height:100%}.dss-input-numeric-buttons .dss-icon-button{display:flex;justify-content:center;text-align:center;width:18px;height:18px;align-items:center;font-size:16px}.dss-input-group.dss-input-group--no-label .dss-input-field input.dss-input{padding-top:0!important;padding-bottom:0!important}.dss-input-wrapper--sm.dss-input-wrapper--no-label{gap:0}.dss-input-unit{font-size:14px;font-weight:var(--font-regular);color:var(--color-neutral-700);margin-top:0;transition:margin var(--animation-delay) ease-in-out}.dss-input-wrapper:not(.dss-input-wrapper--sm):not(.dss-input-wrapper--no-label) .dss-input-group--focused .dss-input-unit{margin-top:14px}.dss-input-group--disabled .dss-input-unit{color:var(--color-neutral-500)}.dss-input-inputPrefix{font-size:14px;font-weight:var(--font-regular);color:var(--color-neutral-700);padding-right:var(--dss-spacing-xxs);opacity:0;visibility:hidden;transition:opacity var(--animation-delay) ease-in-out,visibility var(--animation-delay) ease-in-out}.dss-input-wrapper.dss-input-wrapper--sm .dss-input-inputPrefix{align-self:center}.dss-input-wrapper:not(.dss-input-wrapper--sm) .dss-input-inputPrefix{align-self:flex-end}.dss-input-wrapper.dss-input-wrapper--no-label.dss-input-wrapper--lg .dss-input-inputPrefix{padding-bottom:10px!important}.dss-input-wrapper.dss-input-wrapper--no-label.dss-input-wrapper--md .dss-input-inputPrefix{padding-bottom:6px!important}.dss-input-wrapper.dss-input-wrapper--md:not(.dss-input-wrapper--no-label) .dss-input-inputPrefix{margin-bottom:-2px}.dss-input-wrapper.dss-input-wrapper--lg:not(.dss-input-wrapper--no-label) .dss-input-inputPrefix{padding-bottom:var(--dss-spacing-tiny)!important}.dss-input-wrapper .dss-input-group--focused .dss-input-inputPrefix{opacity:1;visibility:visible}.dss-input-actions{position:relative;padding-left:var(--dss-spacing-xs);display:flex;align-items:center;gap:var(--dss-spacing-xs)}.dss-input-actions:before{content:"";position:absolute;top:50%;left:0;transform:translateY(-50%);height:24px;width:var(--dss-border-width-sm);background-color:var(--color-neutral-500)}.dss-input-tooltip{display:none}.dss-input-tooltip--visible{display:block}', i$9 = ":host{display:block;width:100%;min-width:257px}.dss-datepicker-range{font-family:var(--font-family)}.dss-datepicker-range-inputs{display:grid;grid-template-columns:1fr 1fr;gap:var(--dss-spacing-md)}.dss-datepicker-range-help{font-family:var(--font-family)}.dss-datepicker-range-help{font-family:inherit;font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-datepicker-range-help--disabled{color:var(--color-neutral-500)}.dss-datepicker-range-help--invalid{color:var(--color-red-500)}.dss-calendar{z-index:999;width:-moz-fit-content;width:fit-content;opacity:0;visibility:hidden;transition:opacity var(--animation-delay) ease-out}.dss-calendar--visible{opacity:1;visibility:visible}", P = er`dss-calendar${tr(f$o())}`, i$8 = er`dss-icon${tr(f$o())}`, l$2 = er`dss-icon-button${tr(f$o())}`, aa = (J) => {
39427
- var W, X, te, re, oe, ne, de, ce, ue, he, pe, fe, be, me, ge, ve, _e, ye, Se, we, Ce, Pe, De, Me, He, Ie, Ae, ze, qe, Fe, We;
39465
+ var W, X, te, re, oe, ne, de, ce, ue, he, pe, fe, be, me, ge, ve, _e, ye, Se, we, Ce, qe, De, Me, He, Ie, Ae, ze, Pe, Ne, We;
39428
39466
  const Ge = {
39429
39467
  "dss-datepicker-range--sm": J.size !== "lg"
39430
39468
  }, Ke = {
@@ -39456,7 +39494,7 @@ const s$6 = ':host{max-width:100%}.dss-input-wrapper{display:flex;flex-direction
39456
39494
  "dss-input-group--required": (Se = J._inputRangeEnd) == null ? void 0 : Se.required,
39457
39495
  "dss-input-group--disabled": (we = J._inputRangeEnd) == null ? void 0 : we.disabled,
39458
39496
  "dss-input-group--focused": ((Ce = J._inputRangeEnd) == null ? void 0 : Ce.value) || J._isEndFocused || J._copyInputRangeEndPlaceholder,
39459
- "dss-input-group--read-only": (Pe = J._inputRangeEnd) == null ? void 0 : Pe.readOnly
39497
+ "dss-input-group--read-only": (qe = J._inputRangeEnd) == null ? void 0 : qe.readOnly
39460
39498
  // 'dss-input-group--no-label': Boolean(!component._label),
39461
39499
  }, Ue = {
39462
39500
  "dss-calendar": !0,
@@ -39601,8 +39639,8 @@ const s$6 = ':host{max-width:100%}.dss-input-wrapper{display:flex;flex-direction
39601
39639
  aria-label="Datepicker Range Calendar"
39602
39640
  id="datepicker-range-calendar"
39603
39641
  class="${Rt(Ue)}"
39604
- .selectedDate="${(qe = J._inputRangeStart) == null ? void 0 : qe.value}"
39605
- .rangeStartDate="${(Fe = J._inputRangeStart) == null ? void 0 : Fe.value}"
39642
+ .selectedDate="${(Pe = J._inputRangeStart) == null ? void 0 : Pe.value}"
39643
+ .rangeStartDate="${(Ne = J._inputRangeStart) == null ? void 0 : Ne.value}"
39606
39644
  .rangeEndDate="${(We = J._inputRangeEnd) == null ? void 0 : We.value}"
39607
39645
  .customCalendar=${J.customCalendar}
39608
39646
  .showButtons=${J.showButtons}
@@ -44999,8 +45037,8 @@ function requireQuill() {
44999
45037
  if (typeof we.retain == "number") {
45000
45038
  var Ce = {};
45001
45039
  typeof Se.retain == "number" ? Ce.retain = ye : Ce.insert = Se.insert;
45002
- var Pe = ce.attributes.compose(Se.attributes, we.attributes, typeof Se.retain == "number");
45003
- if (Pe && (Ce.attributes = Pe), _e.push(Ce), !be.hasNext() && ne(_e.ops[_e.ops.length - 1], Ce)) {
45040
+ var qe = ce.attributes.compose(Se.attributes, we.attributes, typeof Se.retain == "number");
45041
+ if (qe && (Ce.attributes = qe), _e.push(Ce), !be.hasNext() && ne(_e.ops[_e.ops.length - 1], Ce)) {
45004
45042
  var De = new he(fe.rest());
45005
45043
  return _e.concat(De).chop();
45006
45044
  }
@@ -45033,8 +45071,8 @@ function requireQuill() {
45033
45071
  break;
45034
45072
  case oe.EQUAL:
45035
45073
  we = Math.min(ve.peekLength(), _e.peekLength(), Se);
45036
- var Ce = ve.next(we), Pe = _e.next(we);
45037
- ne(Ce.insert, Pe.insert) ? me.retain(we, ce.attributes.diff(Ce.attributes, Pe.attributes)) : me.push(Pe).delete(we);
45074
+ var Ce = ve.next(we), qe = _e.next(we);
45075
+ ne(Ce.insert, qe.insert) ? me.retain(we, ce.attributes.diff(Ce.attributes, qe.attributes)) : me.push(qe).delete(we);
45038
45076
  break;
45039
45077
  }
45040
45078
  Se -= we;
@@ -45116,11 +45154,11 @@ function requireQuill() {
45116
45154
  return be[me];
45117
45155
  };
45118
45156
  X.exports = function fe() {
45119
- var be, me, ge, ve, _e, ye, Se = arguments[0], we = 1, Ce = arguments.length, Pe = !1;
45120
- for (typeof Se == "boolean" && (Pe = Se, Se = arguments[1] || {}, we = 2), (Se == null || typeof Se != "object" && typeof Se != "function") && (Se = {}); we < Ce; ++we)
45157
+ var be, me, ge, ve, _e, ye, Se = arguments[0], we = 1, Ce = arguments.length, qe = !1;
45158
+ for (typeof Se == "boolean" && (qe = Se, Se = arguments[1] || {}, we = 2), (Se == null || typeof Se != "object" && typeof Se != "function") && (Se = {}); we < Ce; ++we)
45121
45159
  if (be = arguments[we], be != null)
45122
45160
  for (me in be)
45123
- ge = pe(Se, me), ve = pe(be, me), Se !== ve && (Pe && ve && (ue(ve) || (_e = ce(ve))) ? (_e ? (_e = !1, ye = ge && ce(ge) ? ge : []) : ye = ge && ue(ge) ? ge : {}, he(Se, { name: me, newValue: fe(Pe, ye, ve) })) : typeof ve < "u" && he(Se, { name: me, newValue: ve }));
45161
+ ge = pe(Se, me), ve = pe(be, me), Se !== ve && (qe && ve && (ue(ve) || (_e = ce(ve))) ? (_e ? (_e = !1, ye = ge && ce(ge) ? ge : []) : ye = ge && ue(ge) ? ge : {}, he(Se, { name: me, newValue: fe(qe, ye, ve) })) : typeof ve < "u" && he(Se, { name: me, newValue: ve }));
45124
45162
  return Se;
45125
45163
  };
45126
45164
  }),
@@ -45131,26 +45169,26 @@ function requireQuill() {
45131
45169
  value: !0
45132
45170
  }), te.default = te.BlockEmbed = te.bubbleFormats = void 0;
45133
45171
  var oe = /* @__PURE__ */ (function() {
45134
- function Ae(ze, qe) {
45135
- for (var Fe = 0; Fe < qe.length; Fe++) {
45136
- var We = qe[Fe];
45172
+ function Ae(ze, Pe) {
45173
+ for (var Ne = 0; Ne < Pe.length; Ne++) {
45174
+ var We = Pe[Ne];
45137
45175
  We.enumerable = We.enumerable || !1, We.configurable = !0, "value" in We && (We.writable = !0), Object.defineProperty(ze, We.key, We);
45138
45176
  }
45139
45177
  }
45140
- return function(ze, qe, Fe) {
45141
- return qe && Ae(ze.prototype, qe), Fe && Ae(ze, Fe), ze;
45178
+ return function(ze, Pe, Ne) {
45179
+ return Pe && Ae(ze.prototype, Pe), Ne && Ae(ze, Ne), ze;
45142
45180
  };
45143
- })(), ne = function Ae(ze, qe, Fe) {
45181
+ })(), ne = function Ae(ze, Pe, Ne) {
45144
45182
  ze === null && (ze = Function.prototype);
45145
- var We = Object.getOwnPropertyDescriptor(ze, qe);
45183
+ var We = Object.getOwnPropertyDescriptor(ze, Pe);
45146
45184
  if (We === void 0) {
45147
45185
  var Ge = Object.getPrototypeOf(ze);
45148
- return Ge === null ? void 0 : Ae(Ge, qe, Fe);
45186
+ return Ge === null ? void 0 : Ae(Ge, Pe, Ne);
45149
45187
  } else {
45150
45188
  if ("value" in We)
45151
45189
  return We.value;
45152
45190
  var Ke = We.get;
45153
- return Ke === void 0 ? void 0 : Ke.call(Fe);
45191
+ return Ke === void 0 ? void 0 : Ke.call(Ne);
45154
45192
  }
45155
45193
  }, de = re(3), ce = Se(de), ue = re(2), he = Se(ue), pe = re(0), fe = Se(pe), be = re(16), me = Se(be), ge = re(6), ve = Se(ge), _e = re(7), ye = Se(_e);
45156
45194
  function Se(Ae) {
@@ -45165,13 +45203,13 @@ function requireQuill() {
45165
45203
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
45166
45204
  return ze && (typeof ze == "object" || typeof ze == "function") ? ze : Ae;
45167
45205
  }
45168
- function Pe(Ae, ze) {
45206
+ function qe(Ae, ze) {
45169
45207
  if (typeof ze != "function" && ze !== null)
45170
45208
  throw new TypeError("Super expression must either be null or a function, not " + typeof ze);
45171
45209
  Ae.prototype = Object.create(ze && ze.prototype, { constructor: { value: Ae, enumerable: !1, writable: !0, configurable: !0 } }), ze && (Object.setPrototypeOf ? Object.setPrototypeOf(Ae, ze) : Ae.__proto__ = ze);
45172
45210
  }
45173
45211
  var De = 1, Me = (function(Ae) {
45174
- Pe(ze, Ae);
45212
+ qe(ze, Ae);
45175
45213
  function ze() {
45176
45214
  return we(this, ze), Ce(this, (ze.__proto__ || Object.getPrototypeOf(ze)).apply(this, arguments));
45177
45215
  }
@@ -45187,72 +45225,72 @@ function requireQuill() {
45187
45225
  }
45188
45226
  }, {
45189
45227
  key: "format",
45190
- value: function(Fe, We) {
45191
- var Ge = fe.default.query(Fe, fe.default.Scope.BLOCK_ATTRIBUTE);
45228
+ value: function(Ne, We) {
45229
+ var Ge = fe.default.query(Ne, fe.default.Scope.BLOCK_ATTRIBUTE);
45192
45230
  Ge != null && this.attributes.attribute(Ge, We);
45193
45231
  }
45194
45232
  }, {
45195
45233
  key: "formatAt",
45196
- value: function(Fe, We, Ge, Ke) {
45234
+ value: function(Ne, We, Ge, Ke) {
45197
45235
  this.format(Ge, Ke);
45198
45236
  }
45199
45237
  }, {
45200
45238
  key: "insertAt",
45201
- value: function(Fe, We, Ge) {
45239
+ value: function(Ne, We, Ge) {
45202
45240
  if (typeof We == "string" && We.endsWith(`
45203
45241
  `)) {
45204
45242
  var Ke = fe.default.create(He.blotName);
45205
- this.parent.insertBefore(Ke, Fe === 0 ? this : this.next), Ke.insertAt(0, We.slice(0, -1));
45243
+ this.parent.insertBefore(Ke, Ne === 0 ? this : this.next), Ke.insertAt(0, We.slice(0, -1));
45206
45244
  } else
45207
- ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertAt", this).call(this, Fe, We, Ge);
45245
+ ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertAt", this).call(this, Ne, We, Ge);
45208
45246
  }
45209
45247
  }]), ze;
45210
45248
  })(fe.default.Embed);
45211
45249
  Me.scope = fe.default.Scope.BLOCK_BLOT;
45212
45250
  var He = (function(Ae) {
45213
- Pe(ze, Ae);
45214
- function ze(qe) {
45251
+ qe(ze, Ae);
45252
+ function ze(Pe) {
45215
45253
  we(this, ze);
45216
- var Fe = Ce(this, (ze.__proto__ || Object.getPrototypeOf(ze)).call(this, qe));
45217
- return Fe.cache = {}, Fe;
45254
+ var Ne = Ce(this, (ze.__proto__ || Object.getPrototypeOf(ze)).call(this, Pe));
45255
+ return Ne.cache = {}, Ne;
45218
45256
  }
45219
45257
  return oe(ze, [{
45220
45258
  key: "delta",
45221
45259
  value: function() {
45222
- return this.cache.delta == null && (this.cache.delta = this.descendants(fe.default.Leaf).reduce(function(Fe, We) {
45223
- return We.length() === 0 ? Fe : Fe.insert(We.value(), Ie(We));
45260
+ return this.cache.delta == null && (this.cache.delta = this.descendants(fe.default.Leaf).reduce(function(Ne, We) {
45261
+ return We.length() === 0 ? Ne : Ne.insert(We.value(), Ie(We));
45224
45262
  }, new he.default()).insert(`
45225
45263
  `, Ie(this))), this.cache.delta;
45226
45264
  }
45227
45265
  }, {
45228
45266
  key: "deleteAt",
45229
- value: function(Fe, We) {
45230
- ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "deleteAt", this).call(this, Fe, We), this.cache = {};
45267
+ value: function(Ne, We) {
45268
+ ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "deleteAt", this).call(this, Ne, We), this.cache = {};
45231
45269
  }
45232
45270
  }, {
45233
45271
  key: "formatAt",
45234
- value: function(Fe, We, Ge, Ke) {
45235
- We <= 0 || (fe.default.query(Ge, fe.default.Scope.BLOCK) ? Fe + We === this.length() && this.format(Ge, Ke) : ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "formatAt", this).call(this, Fe, Math.min(We, this.length() - Fe - 1), Ge, Ke), this.cache = {});
45272
+ value: function(Ne, We, Ge, Ke) {
45273
+ We <= 0 || (fe.default.query(Ge, fe.default.Scope.BLOCK) ? Ne + We === this.length() && this.format(Ge, Ke) : ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "formatAt", this).call(this, Ne, Math.min(We, this.length() - Ne - 1), Ge, Ke), this.cache = {});
45236
45274
  }
45237
45275
  }, {
45238
45276
  key: "insertAt",
45239
- value: function(Fe, We, Ge) {
45240
- if (Ge != null) return ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertAt", this).call(this, Fe, We, Ge);
45277
+ value: function(Ne, We, Ge) {
45278
+ if (Ge != null) return ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertAt", this).call(this, Ne, We, Ge);
45241
45279
  if (We.length !== 0) {
45242
45280
  var Ke = We.split(`
45243
45281
  `), ft = Ke.shift();
45244
- ft.length > 0 && (Fe < this.length() - 1 || this.children.tail == null ? ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertAt", this).call(this, Math.min(Fe, this.length() - 1), ft) : this.children.tail.insertAt(this.children.tail.length(), ft), this.cache = {});
45282
+ ft.length > 0 && (Ne < this.length() - 1 || this.children.tail == null ? ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertAt", this).call(this, Math.min(Ne, this.length() - 1), ft) : this.children.tail.insertAt(this.children.tail.length(), ft), this.cache = {});
45245
45283
  var Je = this;
45246
45284
  Ke.reduce(function(Ze, Le) {
45247
45285
  return Je = Je.split(Ze, !0), Je.insertAt(0, Le), Le.length;
45248
- }, Fe + ft.length);
45286
+ }, Ne + ft.length);
45249
45287
  }
45250
45288
  }
45251
45289
  }, {
45252
45290
  key: "insertBefore",
45253
- value: function(Fe, We) {
45291
+ value: function(Ne, We) {
45254
45292
  var Ge = this.children.head;
45255
- ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertBefore", this).call(this, Fe, We), Ge instanceof me.default && Ge.remove(), this.cache = {};
45293
+ ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertBefore", this).call(this, Ne, We), Ge instanceof me.default && Ge.remove(), this.cache = {};
45256
45294
  }
45257
45295
  }, {
45258
45296
  key: "length",
@@ -45261,33 +45299,33 @@ function requireQuill() {
45261
45299
  }
45262
45300
  }, {
45263
45301
  key: "moveChildren",
45264
- value: function(Fe, We) {
45265
- ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "moveChildren", this).call(this, Fe, We), this.cache = {};
45302
+ value: function(Ne, We) {
45303
+ ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "moveChildren", this).call(this, Ne, We), this.cache = {};
45266
45304
  }
45267
45305
  }, {
45268
45306
  key: "optimize",
45269
- value: function(Fe) {
45270
- ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "optimize", this).call(this, Fe), this.cache = {};
45307
+ value: function(Ne) {
45308
+ ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "optimize", this).call(this, Ne), this.cache = {};
45271
45309
  }
45272
45310
  }, {
45273
45311
  key: "path",
45274
- value: function(Fe) {
45275
- return ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "path", this).call(this, Fe, !0);
45312
+ value: function(Ne) {
45313
+ return ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "path", this).call(this, Ne, !0);
45276
45314
  }
45277
45315
  }, {
45278
45316
  key: "removeChild",
45279
- value: function(Fe) {
45280
- ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "removeChild", this).call(this, Fe), this.cache = {};
45317
+ value: function(Ne) {
45318
+ ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "removeChild", this).call(this, Ne), this.cache = {};
45281
45319
  }
45282
45320
  }, {
45283
45321
  key: "split",
45284
- value: function(Fe) {
45322
+ value: function(Ne) {
45285
45323
  var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
45286
- if (We && (Fe === 0 || Fe >= this.length() - De)) {
45324
+ if (We && (Ne === 0 || Ne >= this.length() - De)) {
45287
45325
  var Ge = this.clone();
45288
- return Fe === 0 ? (this.parent.insertBefore(Ge, this), this) : (this.parent.insertBefore(Ge, this.next), Ge);
45326
+ return Ne === 0 ? (this.parent.insertBefore(Ge, this), this) : (this.parent.insertBefore(Ge, this.next), Ge);
45289
45327
  } else {
45290
- var Ke = ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "split", this).call(this, Fe, We);
45328
+ var Ke = ne(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "split", this).call(this, Ne, We);
45291
45329
  return this.cache = {}, Ke;
45292
45330
  }
45293
45331
  }
@@ -45346,7 +45384,7 @@ function requireQuill() {
45346
45384
  };
45347
45385
  })();
45348
45386
  re(51);
45349
- var ce = re(2), ue = Ie(ce), he = re(14), pe = Ie(he), fe = re(8), be = Ie(fe), me = re(9), ge = Ie(me), ve = re(0), _e = Ie(ve), ye = re(15), Se = Ie(ye), we = re(3), Ce = Ie(we), Pe = re(10), De = Ie(Pe), Me = re(35), He = Ie(Me);
45387
+ var ce = re(2), ue = Ie(ce), he = re(14), pe = Ie(he), fe = re(8), be = Ie(fe), me = re(9), ge = Ie(me), ve = re(0), _e = Ie(ve), ye = re(15), Se = Ie(ye), we = re(3), Ce = Ie(we), qe = re(10), De = Ie(qe), Me = re(35), He = Ie(Me);
45350
45388
  function Ie(Je) {
45351
45389
  return Je && Je.__esModule ? Je : { default: Je };
45352
45390
  }
@@ -45357,7 +45395,7 @@ function requireQuill() {
45357
45395
  if (!(Je instanceof Ze))
45358
45396
  throw new TypeError("Cannot call a class as a function");
45359
45397
  }
45360
- var qe = (0, De.default)("quill"), Fe = (function() {
45398
+ var Pe = (0, De.default)("quill"), Ne = (function() {
45361
45399
  de(Je, null, [{
45362
45400
  key: "debug",
45363
45401
  value: function(Le) {
@@ -45371,7 +45409,7 @@ function requireQuill() {
45371
45409
  }, {
45372
45410
  key: "import",
45373
45411
  value: function(Le) {
45374
- return this.imports[Le] == null && qe.error("Cannot import " + Le + ". Are you sure it was registered?"), this.imports[Le];
45412
+ return this.imports[Le] == null && Pe.error("Cannot import " + Le + ". Are you sure it was registered?"), this.imports[Le];
45375
45413
  }
45376
45414
  }, {
45377
45415
  key: "register",
@@ -45383,13 +45421,13 @@ function requireQuill() {
45383
45421
  Ve.register(Be, Le[Be], Ue);
45384
45422
  });
45385
45423
  } else
45386
- this.imports[Le] != null && !Qe && qe.warn("Overwriting " + Le + " with", Ue), this.imports[Le] = Ue, (Le.startsWith("blots/") || Le.startsWith("formats/")) && Ue.blotName !== "abstract" ? _e.default.register(Ue) : Le.startsWith("modules") && typeof Ue.register == "function" && Ue.register();
45424
+ this.imports[Le] != null && !Qe && Pe.warn("Overwriting " + Le + " with", Ue), this.imports[Le] = Ue, (Le.startsWith("blots/") || Le.startsWith("formats/")) && Ue.blotName !== "abstract" ? _e.default.register(Ue) : Le.startsWith("modules") && typeof Ue.register == "function" && Ue.register();
45387
45425
  }
45388
45426
  }]);
45389
45427
  function Je(Ze) {
45390
45428
  var Le = this, Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
45391
45429
  if (ze(this, Je), this.options = We(Ze, Ue), this.container = this.options.container, this.container == null)
45392
- return qe.error("Invalid Quill container", Ze);
45430
+ return Pe.error("Invalid Quill container", Ze);
45393
45431
  this.options.debug && Je.debug(this.options.debug);
45394
45432
  var Ve = this.container.innerHTML.trim();
45395
45433
  this.container.classList.add("ql-container"), this.container.innerHTML = "", this.container.__quill = this, this.root = this.addContainer("ql-editor"), this.root.classList.add("ql-blank"), this.root.setAttribute("data-gramm", !1), this.scrollingContainer = this.options.scrollingContainer || this.root, this.emitter = new be.default(), this.scroll = _e.default.create(this.root, {
@@ -45654,7 +45692,7 @@ function requireQuill() {
45654
45692
  }
45655
45693
  }]), Je;
45656
45694
  })();
45657
- Fe.DEFAULTS = {
45695
+ Ne.DEFAULTS = {
45658
45696
  bounds: null,
45659
45697
  formats: null,
45660
45698
  modules: {},
@@ -45663,7 +45701,7 @@ function requireQuill() {
45663
45701
  scrollingContainer: null,
45664
45702
  strict: !0,
45665
45703
  theme: "default"
45666
- }, Fe.events = be.default.events, Fe.sources = be.default.sources, Fe.version = "1.3.6", Fe.imports = {
45704
+ }, Ne.events = be.default.events, Ne.sources = be.default.sources, Ne.version = "1.3.6", Ne.imports = {
45667
45705
  delta: ue.default,
45668
45706
  parchment: _e.default,
45669
45707
  "core/module": ge.default,
@@ -45677,9 +45715,9 @@ function requireQuill() {
45677
45715
  keyboard: !0,
45678
45716
  history: !0
45679
45717
  }
45680
- }, Ze), !Ze.theme || Ze.theme === Fe.DEFAULTS.theme)
45718
+ }, Ze), !Ze.theme || Ze.theme === Ne.DEFAULTS.theme)
45681
45719
  Ze.theme = He.default;
45682
- else if (Ze.theme = Fe.import("themes/" + Ze.theme), Ze.theme == null)
45720
+ else if (Ze.theme = Ne.import("themes/" + Ze.theme), Ze.theme == null)
45683
45721
  throw new Error("Invalid theme " + Ze.theme + ". Did you register it?");
45684
45722
  var Le = (0, Ce.default)(!0, {}, Ze.theme.DEFAULTS);
45685
45723
  [Le, Ze].forEach(function(Qe) {
@@ -45688,12 +45726,12 @@ function requireQuill() {
45688
45726
  });
45689
45727
  });
45690
45728
  var Ue = Object.keys(Le.modules).concat(Object.keys(Ze.modules)), Ve = Ue.reduce(function(Qe, Xe) {
45691
- var Be = Fe.import("modules/" + Xe);
45692
- return Be == null ? qe.error("Cannot load " + Xe + " module. Are you sure you registered it?") : Qe[Xe] = Be.DEFAULTS || {}, Qe;
45729
+ var Be = Ne.import("modules/" + Xe);
45730
+ return Be == null ? Pe.error("Cannot load " + Xe + " module. Are you sure you registered it?") : Qe[Xe] = Be.DEFAULTS || {}, Qe;
45693
45731
  }, {});
45694
45732
  return Ze.modules != null && Ze.modules.toolbar && Ze.modules.toolbar.constructor !== Object && (Ze.modules.toolbar = {
45695
45733
  container: Ze.modules.toolbar
45696
- }), Ze = (0, Ce.default)(!0, {}, Fe.DEFAULTS, { modules: Ve }, Le, Ze), ["bounds", "container", "scrollingContainer"].forEach(function(Qe) {
45734
+ }), Ze = (0, Ce.default)(!0, {}, Ne.DEFAULTS, { modules: Ve }, Le, Ze), ["bounds", "container", "scrollingContainer"].forEach(function(Qe) {
45697
45735
  typeof Ze[Qe] == "string" && (Ze[Qe] = document.querySelector(Ze[Qe]));
45698
45736
  }), Ze.modules = Object.keys(Ze.modules).reduce(function(Qe, Xe) {
45699
45737
  return Ze.modules[Xe] && (Qe[Xe] = Ze.modules[Xe]), Qe;
@@ -45732,7 +45770,7 @@ function requireQuill() {
45732
45770
  }
45733
45771
  return new ye.Range(Ve, Qe - Ve);
45734
45772
  }
45735
- te.expandConfig = We, te.overload = Ke, te.default = Fe;
45773
+ te.expandConfig = We, te.overload = Ke, te.default = Ne;
45736
45774
  }),
45737
45775
  /* 6 */
45738
45776
  /***/
@@ -45759,8 +45797,8 @@ function requireQuill() {
45759
45797
  } else {
45760
45798
  if ("value" in we)
45761
45799
  return we.value;
45762
- var Pe = we.get;
45763
- return Pe === void 0 ? void 0 : Pe.call(Se);
45800
+ var qe = we.get;
45801
+ return qe === void 0 ? void 0 : qe.call(Se);
45764
45802
  }
45765
45803
  }, de = re(7), ce = pe(de), ue = re(0), he = pe(ue);
45766
45804
  function pe(ve) {
@@ -45787,12 +45825,12 @@ function requireQuill() {
45787
45825
  }
45788
45826
  return oe(_e, [{
45789
45827
  key: "formatAt",
45790
- value: function(Se, we, Ce, Pe) {
45828
+ value: function(Se, we, Ce, qe) {
45791
45829
  if (_e.compare(this.statics.blotName, Ce) < 0 && he.default.query(Ce, he.default.Scope.BLOT)) {
45792
45830
  var De = this.isolate(Se, we);
45793
- Pe && De.wrap(Ce, Pe);
45831
+ qe && De.wrap(Ce, qe);
45794
45832
  } else
45795
- ne(_e.prototype.__proto__ || Object.getPrototypeOf(_e.prototype), "formatAt", this).call(this, Se, we, Ce, Pe);
45833
+ ne(_e.prototype.__proto__ || Object.getPrototypeOf(_e.prototype), "formatAt", this).call(this, Se, we, Ce, qe);
45796
45834
  }
45797
45835
  }, {
45798
45836
  key: "optimize",
@@ -45805,8 +45843,8 @@ function requireQuill() {
45805
45843
  }], [{
45806
45844
  key: "compare",
45807
45845
  value: function(Se, we) {
45808
- var Ce = _e.order.indexOf(Se), Pe = _e.order.indexOf(we);
45809
- return Ce >= 0 || Pe >= 0 ? Ce - Pe : Se === we ? 0 : Se < we ? -1 : 1;
45846
+ var Ce = _e.order.indexOf(Se), qe = _e.order.indexOf(we);
45847
+ return Ce >= 0 || qe >= 0 ? Ce - qe : Se === we ? 0 : Se < we ? -1 : 1;
45810
45848
  }
45811
45849
  }]), _e;
45812
45850
  })(he.default.Inline);
@@ -45864,20 +45902,20 @@ function requireQuill() {
45864
45902
  value: !0
45865
45903
  });
45866
45904
  var oe = /* @__PURE__ */ (function() {
45867
- function Ce(Pe, De) {
45905
+ function Ce(qe, De) {
45868
45906
  for (var Me = 0; Me < De.length; Me++) {
45869
45907
  var He = De[Me];
45870
- He.enumerable = He.enumerable || !1, He.configurable = !0, "value" in He && (He.writable = !0), Object.defineProperty(Pe, He.key, He);
45908
+ He.enumerable = He.enumerable || !1, He.configurable = !0, "value" in He && (He.writable = !0), Object.defineProperty(qe, He.key, He);
45871
45909
  }
45872
45910
  }
45873
- return function(Pe, De, Me) {
45874
- return De && Ce(Pe.prototype, De), Me && Ce(Pe, Me), Pe;
45911
+ return function(qe, De, Me) {
45912
+ return De && Ce(qe.prototype, De), Me && Ce(qe, Me), qe;
45875
45913
  };
45876
- })(), ne = function Ce(Pe, De, Me) {
45877
- Pe === null && (Pe = Function.prototype);
45878
- var He = Object.getOwnPropertyDescriptor(Pe, De);
45914
+ })(), ne = function Ce(qe, De, Me) {
45915
+ qe === null && (qe = Function.prototype);
45916
+ var He = Object.getOwnPropertyDescriptor(qe, De);
45879
45917
  if (He === void 0) {
45880
- var Ie = Object.getPrototypeOf(Pe);
45918
+ var Ie = Object.getPrototypeOf(qe);
45881
45919
  return Ie === null ? void 0 : Ce(Ie, De, Me);
45882
45920
  } else {
45883
45921
  if ("value" in He)
@@ -45889,24 +45927,24 @@ function requireQuill() {
45889
45927
  function fe(Ce) {
45890
45928
  return Ce && Ce.__esModule ? Ce : { default: Ce };
45891
45929
  }
45892
- function be(Ce, Pe) {
45893
- if (!(Ce instanceof Pe))
45930
+ function be(Ce, qe) {
45931
+ if (!(Ce instanceof qe))
45894
45932
  throw new TypeError("Cannot call a class as a function");
45895
45933
  }
45896
- function me(Ce, Pe) {
45934
+ function me(Ce, qe) {
45897
45935
  if (!Ce)
45898
45936
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
45899
- return Pe && (typeof Pe == "object" || typeof Pe == "function") ? Pe : Ce;
45937
+ return qe && (typeof qe == "object" || typeof qe == "function") ? qe : Ce;
45900
45938
  }
45901
- function ge(Ce, Pe) {
45902
- if (typeof Pe != "function" && Pe !== null)
45903
- throw new TypeError("Super expression must either be null or a function, not " + typeof Pe);
45904
- Ce.prototype = Object.create(Pe && Pe.prototype, { constructor: { value: Ce, enumerable: !1, writable: !0, configurable: !0 } }), Pe && (Object.setPrototypeOf ? Object.setPrototypeOf(Ce, Pe) : Ce.__proto__ = Pe);
45939
+ function ge(Ce, qe) {
45940
+ if (typeof qe != "function" && qe !== null)
45941
+ throw new TypeError("Super expression must either be null or a function, not " + typeof qe);
45942
+ Ce.prototype = Object.create(qe && qe.prototype, { constructor: { value: Ce, enumerable: !1, writable: !0, configurable: !0 } }), qe && (Object.setPrototypeOf ? Object.setPrototypeOf(Ce, qe) : Ce.__proto__ = qe);
45905
45943
  }
45906
45944
  var ve = (0, he.default)("quill:events"), _e = [pe.SHADOW_SELECTIONCHANGE, "mousedown", "mouseup", "click"], ye = [], Se = "getRootNode" in document;
45907
45945
  _e.forEach(function(Ce) {
45908
45946
  document.addEventListener(Ce, function() {
45909
- for (var Pe = arguments.length, De = Array(Pe), Me = 0; Me < Pe; Me++)
45947
+ for (var qe = arguments.length, De = Array(qe), Me = 0; Me < qe; Me++)
45910
45948
  De[Me] = arguments[Me];
45911
45949
  ye.forEach(function(He) {
45912
45950
  He.handleDOM.apply(He, De);
@@ -45914,23 +45952,23 @@ function requireQuill() {
45914
45952
  });
45915
45953
  });
45916
45954
  var we = (function(Ce) {
45917
- ge(Pe, Ce);
45918
- function Pe() {
45919
- be(this, Pe);
45920
- var De = me(this, (Pe.__proto__ || Object.getPrototypeOf(Pe)).call(this));
45955
+ ge(qe, Ce);
45956
+ function qe() {
45957
+ be(this, qe);
45958
+ var De = me(this, (qe.__proto__ || Object.getPrototypeOf(qe)).call(this));
45921
45959
  return De.listeners = {}, ye.push(De), De.on("error", ve.error), De;
45922
45960
  }
45923
- return oe(Pe, [{
45961
+ return oe(qe, [{
45924
45962
  key: "emit",
45925
45963
  value: function() {
45926
- ve.log.apply(ve, arguments), ne(Pe.prototype.__proto__ || Object.getPrototypeOf(Pe.prototype), "emit", this).apply(this, arguments);
45964
+ ve.log.apply(ve, arguments), ne(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "emit", this).apply(this, arguments);
45927
45965
  }
45928
45966
  }, {
45929
45967
  key: "handleDOM",
45930
45968
  value: function(Me) {
45931
45969
  for (var He = arguments.length, Ie = Array(He > 1 ? He - 1 : 0), Ae = 1; Ae < He; Ae++)
45932
45970
  Ie[Ae - 1] = arguments[Ae];
45933
- var ze = Me.composedPath ? Me.composedPath()[0] : Me.target, qe = function(We, Ge) {
45971
+ var ze = Me.composedPath ? Me.composedPath()[0] : Me.target, Pe = function(We, Ge) {
45934
45972
  if (!Se || Ge.getRootNode() === document)
45935
45973
  return We.contains(Ge);
45936
45974
  for (; !We.contains(Ge); ) {
@@ -45941,9 +45979,9 @@ function requireQuill() {
45941
45979
  }
45942
45980
  return !0;
45943
45981
  };
45944
- (this.listeners[Me.type] || []).forEach(function(Fe) {
45945
- var We = Fe.node, Ge = Fe.handler;
45946
- (ze === We || qe(We, ze)) && Ge.apply(void 0, [Me].concat(Ie));
45982
+ (this.listeners[Me.type] || []).forEach(function(Ne) {
45983
+ var We = Ne.node, Ge = Ne.handler;
45984
+ (ze === We || Pe(We, ze)) && Ge.apply(void 0, [Me].concat(Ie));
45947
45985
  });
45948
45986
  }
45949
45987
  }, {
@@ -45951,7 +45989,7 @@ function requireQuill() {
45951
45989
  value: function(Me, He, Ie) {
45952
45990
  this.listeners[Me] || (this.listeners[Me] = []), this.listeners[Me].push({ node: He, handler: Ie });
45953
45991
  }
45954
- }]), Pe;
45992
+ }]), qe;
45955
45993
  })(ce.default);
45956
45994
  we.events = {
45957
45995
  EDITOR_CHANGE: "editor-change",
@@ -46082,17 +46120,17 @@ function requireQuill() {
46082
46120
  }), te.default = te.Code = void 0;
46083
46121
  var oe = /* @__PURE__ */ (function() {
46084
46122
  function Me(He, Ie) {
46085
- var Ae = [], ze = !0, qe = !1, Fe = void 0;
46123
+ var Ae = [], ze = !0, Pe = !1, Ne = void 0;
46086
46124
  try {
46087
46125
  for (var We = He[Symbol.iterator](), Ge; !(ze = (Ge = We.next()).done) && (Ae.push(Ge.value), !(Ie && Ae.length === Ie)); ze = !0)
46088
46126
  ;
46089
46127
  } catch (Ke) {
46090
- qe = !0, Fe = Ke;
46128
+ Pe = !0, Ne = Ke;
46091
46129
  } finally {
46092
46130
  try {
46093
46131
  !ze && We.return && We.return();
46094
46132
  } finally {
46095
- if (qe) throw Fe;
46133
+ if (Pe) throw Ne;
46096
46134
  }
46097
46135
  }
46098
46136
  return Ae;
@@ -46118,13 +46156,13 @@ function requireQuill() {
46118
46156
  He === null && (He = Function.prototype);
46119
46157
  var ze = Object.getOwnPropertyDescriptor(He, Ie);
46120
46158
  if (ze === void 0) {
46121
- var qe = Object.getPrototypeOf(He);
46122
- return qe === null ? void 0 : Me(qe, Ie, Ae);
46159
+ var Pe = Object.getPrototypeOf(He);
46160
+ return Pe === null ? void 0 : Me(Pe, Ie, Ae);
46123
46161
  } else {
46124
46162
  if ("value" in ze)
46125
46163
  return ze.value;
46126
- var Fe = ze.get;
46127
- return Fe === void 0 ? void 0 : Fe.call(Ae);
46164
+ var Ne = ze.get;
46165
+ return Ne === void 0 ? void 0 : Ne.call(Ae);
46128
46166
  }
46129
46167
  }, ce = re(2), ue = ye(ce), he = re(0), pe = ye(he), fe = re(4), be = ye(fe), me = re(6), ge = ye(me), ve = re(7), _e = ye(ve);
46130
46168
  function ye(Me) {
@@ -46144,14 +46182,14 @@ function requireQuill() {
46144
46182
  throw new TypeError("Super expression must either be null or a function, not " + typeof He);
46145
46183
  Me.prototype = Object.create(He && He.prototype, { constructor: { value: Me, enumerable: !1, writable: !0, configurable: !0 } }), He && (Object.setPrototypeOf ? Object.setPrototypeOf(Me, He) : Me.__proto__ = He);
46146
46184
  }
46147
- var Pe = (function(Me) {
46185
+ var qe = (function(Me) {
46148
46186
  Ce(He, Me);
46149
46187
  function He() {
46150
46188
  return Se(this, He), we(this, (He.__proto__ || Object.getPrototypeOf(He)).apply(this, arguments));
46151
46189
  }
46152
46190
  return He;
46153
46191
  })(ge.default);
46154
- Pe.blotName = "code", Pe.tagName = "CODE";
46192
+ qe.blotName = "code", qe.tagName = "CODE";
46155
46193
  var De = (function(Me) {
46156
46194
  Ce(He, Me);
46157
46195
  function He() {
@@ -46163,8 +46201,8 @@ function requireQuill() {
46163
46201
  var Ae = this, ze = this.domNode.textContent;
46164
46202
  return ze.endsWith(`
46165
46203
  `) && (ze = ze.slice(0, -1)), ze.split(`
46166
- `).reduce(function(qe, Fe) {
46167
- return qe.insert(Fe).insert(`
46204
+ `).reduce(function(Pe, Ne) {
46205
+ return Pe.insert(Ne).insert(`
46168
46206
  `, Ae.formats());
46169
46207
  }, new ue.default());
46170
46208
  }
@@ -46172,26 +46210,26 @@ function requireQuill() {
46172
46210
  key: "format",
46173
46211
  value: function(Ae, ze) {
46174
46212
  if (!(Ae === this.statics.blotName && ze)) {
46175
- var qe = this.descendant(_e.default, this.length() - 1), Fe = oe(qe, 1), We = Fe[0];
46213
+ var Pe = this.descendant(_e.default, this.length() - 1), Ne = oe(Pe, 1), We = Ne[0];
46176
46214
  We?.deleteAt(We.length() - 1, 1), de(He.prototype.__proto__ || Object.getPrototypeOf(He.prototype), "format", this).call(this, Ae, ze);
46177
46215
  }
46178
46216
  }
46179
46217
  }, {
46180
46218
  key: "formatAt",
46181
- value: function(Ae, ze, qe, Fe) {
46182
- if (ze !== 0 && !(pe.default.query(qe, pe.default.Scope.BLOCK) == null || qe === this.statics.blotName && Fe === this.statics.formats(this.domNode))) {
46219
+ value: function(Ae, ze, Pe, Ne) {
46220
+ if (ze !== 0 && !(pe.default.query(Pe, pe.default.Scope.BLOCK) == null || Pe === this.statics.blotName && Ne === this.statics.formats(this.domNode))) {
46183
46221
  var We = this.newlineIndex(Ae);
46184
46222
  if (!(We < 0 || We >= Ae + ze)) {
46185
46223
  var Ge = this.newlineIndex(Ae, !0) + 1, Ke = We - Ge + 1, ft = this.isolate(Ge, Ke), Je = ft.next;
46186
- ft.format(qe, Fe), Je instanceof He && Je.formatAt(0, Ae - Ge + ze - Ke, qe, Fe);
46224
+ ft.format(Pe, Ne), Je instanceof He && Je.formatAt(0, Ae - Ge + ze - Ke, Pe, Ne);
46187
46225
  }
46188
46226
  }
46189
46227
  }
46190
46228
  }, {
46191
46229
  key: "insertAt",
46192
- value: function(Ae, ze, qe) {
46193
- if (qe == null) {
46194
- var Fe = this.descendant(_e.default, Ae), We = oe(Fe, 2), Ge = We[0], Ke = We[1];
46230
+ value: function(Ae, ze, Pe) {
46231
+ if (Pe == null) {
46232
+ var Ne = this.descendant(_e.default, Ae), We = oe(Ne, 2), Ge = We[0], Ke = We[1];
46195
46233
  Ge.insertAt(Ke, ze);
46196
46234
  }
46197
46235
  }
@@ -46209,9 +46247,9 @@ function requireQuill() {
46209
46247
  if (ze)
46210
46248
  return this.domNode.textContent.slice(0, Ae).lastIndexOf(`
46211
46249
  `);
46212
- var qe = this.domNode.textContent.slice(Ae).indexOf(`
46250
+ var Pe = this.domNode.textContent.slice(Ae).indexOf(`
46213
46251
  `);
46214
- return qe > -1 ? Ae + qe : -1;
46252
+ return Pe > -1 ? Ae + Pe : -1;
46215
46253
  }
46216
46254
  }, {
46217
46255
  key: "optimize",
@@ -46226,8 +46264,8 @@ function requireQuill() {
46226
46264
  key: "replace",
46227
46265
  value: function(Ae) {
46228
46266
  de(He.prototype.__proto__ || Object.getPrototypeOf(He.prototype), "replace", this).call(this, Ae), [].slice.call(this.domNode.querySelectorAll("*")).forEach(function(ze) {
46229
- var qe = pe.default.find(ze);
46230
- qe == null ? ze.parentNode.removeChild(ze) : qe instanceof pe.default.Embed ? qe.remove() : qe.unwrap();
46267
+ var Pe = pe.default.find(ze);
46268
+ Pe == null ? ze.parentNode.removeChild(ze) : Pe instanceof pe.default.Embed ? Pe.remove() : Pe.unwrap();
46231
46269
  });
46232
46270
  }
46233
46271
  }], [{
@@ -46243,7 +46281,7 @@ function requireQuill() {
46243
46281
  }
46244
46282
  }]), He;
46245
46283
  })(be.default);
46246
- De.blotName = "code-block", De.tagName = "PRE", De.TAB = " ", te.Code = Pe, te.default = De;
46284
+ De.blotName = "code-block", De.tagName = "PRE", De.TAB = " ", te.Code = qe, te.default = De;
46247
46285
  }),
46248
46286
  /* 14 */
46249
46287
  /***/
@@ -46289,20 +46327,20 @@ function requireQuill() {
46289
46327
  return function(Ze, Le, Ue) {
46290
46328
  return Le && Je(Ze.prototype, Le), Ue && Je(Ze, Ue), Ze;
46291
46329
  };
46292
- })(), ce = re(2), ue = ze(ce), he = re(20), pe = ze(he), fe = re(0), be = ze(fe), me = re(13), ge = ze(me), ve = re(24), _e = ze(ve), ye = re(4), Se = ze(ye), we = re(16), Ce = ze(we), Pe = re(21), De = ze(Pe), Me = re(11), He = ze(Me), Ie = re(3), Ae = ze(Ie);
46330
+ })(), ce = re(2), ue = ze(ce), he = re(20), pe = ze(he), fe = re(0), be = ze(fe), me = re(13), ge = ze(me), ve = re(24), _e = ze(ve), ye = re(4), Se = ze(ye), we = re(16), Ce = ze(we), qe = re(21), De = ze(qe), Me = re(11), He = ze(Me), Ie = re(3), Ae = ze(Ie);
46293
46331
  function ze(Je) {
46294
46332
  return Je && Je.__esModule ? Je : { default: Je };
46295
46333
  }
46296
- function qe(Je, Ze, Le) {
46334
+ function Pe(Je, Ze, Le) {
46297
46335
  return Ze in Je ? Object.defineProperty(Je, Ze, { value: Le, enumerable: !0, configurable: !0, writable: !0 }) : Je[Ze] = Le, Je;
46298
46336
  }
46299
- function Fe(Je, Ze) {
46337
+ function Ne(Je, Ze) {
46300
46338
  if (!(Je instanceof Ze))
46301
46339
  throw new TypeError("Cannot call a class as a function");
46302
46340
  }
46303
46341
  var We = /^[ -~]*$/, Ge = (function() {
46304
46342
  function Je(Ze) {
46305
- Fe(this, Je), this.scroll = Ze, this.delta = this.getDelta();
46343
+ Ne(this, Je), this.scroll = Ze, this.delta = this.getDelta();
46306
46344
  }
46307
46345
  return de(Je, [{
46308
46346
  key: "applyDelta",
@@ -46414,7 +46452,7 @@ function requireQuill() {
46414
46452
  }, {
46415
46453
  key: "insertEmbed",
46416
46454
  value: function(Le, Ue, Ve) {
46417
- return this.scroll.insertAt(Le, Ue, Ve), this.update(new ue.default().retain(Le).insert(qe({}, Ue, Ve)));
46455
+ return this.scroll.insertAt(Le, Ue, Ve), this.update(new ue.default().retain(Le).insert(Pe({}, Ue, Ve)));
46418
46456
  }
46419
46457
  }, {
46420
46458
  key: "insertText",
@@ -46488,17 +46526,17 @@ function requireQuill() {
46488
46526
  }), te.default = te.Range = void 0;
46489
46527
  var oe = /* @__PURE__ */ (function() {
46490
46528
  function He(Ie, Ae) {
46491
- var ze = [], qe = !0, Fe = !1, We = void 0;
46529
+ var ze = [], Pe = !0, Ne = !1, We = void 0;
46492
46530
  try {
46493
- for (var Ge = Ie[Symbol.iterator](), Ke; !(qe = (Ke = Ge.next()).done) && (ze.push(Ke.value), !(Ae && ze.length === Ae)); qe = !0)
46531
+ for (var Ge = Ie[Symbol.iterator](), Ke; !(Pe = (Ke = Ge.next()).done) && (ze.push(Ke.value), !(Ae && ze.length === Ae)); Pe = !0)
46494
46532
  ;
46495
46533
  } catch (ft) {
46496
- Fe = !0, We = ft;
46534
+ Ne = !0, We = ft;
46497
46535
  } finally {
46498
46536
  try {
46499
- !qe && Ge.return && Ge.return();
46537
+ !Pe && Ge.return && Ge.return();
46500
46538
  } finally {
46501
- if (Fe) throw We;
46539
+ if (Ne) throw We;
46502
46540
  }
46503
46541
  }
46504
46542
  return ze;
@@ -46513,8 +46551,8 @@ function requireQuill() {
46513
46551
  })(), ne = /* @__PURE__ */ (function() {
46514
46552
  function He(Ie, Ae) {
46515
46553
  for (var ze = 0; ze < Ae.length; ze++) {
46516
- var qe = Ae[ze];
46517
- qe.enumerable = qe.enumerable || !1, qe.configurable = !0, "value" in qe && (qe.writable = !0), Object.defineProperty(Ie, qe.key, qe);
46554
+ var Pe = Ae[ze];
46555
+ Pe.enumerable = Pe.enumerable || !1, Pe.configurable = !0, "value" in Pe && (Pe.writable = !0), Object.defineProperty(Ie, Pe.key, Pe);
46518
46556
  }
46519
46557
  }
46520
46558
  return function(Ie, Ae, ze) {
@@ -46536,29 +46574,29 @@ function requireQuill() {
46536
46574
  if (!(He instanceof Ie))
46537
46575
  throw new TypeError("Cannot call a class as a function");
46538
46576
  }
46539
- var Ce = (0, ve.default)("quill:selection"), Pe = function He(Ie) {
46577
+ var Ce = (0, ve.default)("quill:selection"), qe = function He(Ie) {
46540
46578
  var Ae = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
46541
46579
  we(this, He), this.index = Ie, this.length = Ae;
46542
46580
  }, De = (function() {
46543
46581
  function He(Ie, Ae) {
46544
46582
  var ze = this;
46545
- we(this, He), this.emitter = Ae, this.scroll = Ie, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.rootDocument = this.root.getRootNode ? this.root.getRootNode() : document, this.cursor = ce.default.create("cursor", this), this.lastRange = this.savedRange = new Pe(0, 0), this.handleComposition(), this.handleDragging(), this.emitter.listenDOM(_e.SHADOW_SELECTIONCHANGE, document, function() {
46583
+ we(this, He), this.emitter = Ae, this.scroll = Ie, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.rootDocument = this.root.getRootNode ? this.root.getRootNode() : document, this.cursor = ce.default.create("cursor", this), this.lastRange = this.savedRange = new qe(0, 0), this.handleComposition(), this.handleDragging(), this.emitter.listenDOM(_e.SHADOW_SELECTIONCHANGE, document, function() {
46546
46584
  ze.mouseDown || setTimeout(ze.update.bind(ze, me.default.sources.USER), 1);
46547
- }), this.emitter.on(me.default.events.EDITOR_CHANGE, function(qe, Fe) {
46548
- qe === me.default.events.TEXT_CHANGE && Fe.length() > 0 && ze.update(me.default.sources.SILENT);
46585
+ }), this.emitter.on(me.default.events.EDITOR_CHANGE, function(Pe, Ne) {
46586
+ Pe === me.default.events.TEXT_CHANGE && Ne.length() > 0 && ze.update(me.default.sources.SILENT);
46549
46587
  }), this.emitter.on(me.default.events.SCROLL_BEFORE_UPDATE, function() {
46550
46588
  if (ze.hasFocus()) {
46551
- var qe = ze.getNativeRange();
46552
- qe != null && qe.start.node !== ze.cursor.textNode && ze.emitter.once(me.default.events.SCROLL_UPDATE, function() {
46589
+ var Pe = ze.getNativeRange();
46590
+ Pe != null && Pe.start.node !== ze.cursor.textNode && ze.emitter.once(me.default.events.SCROLL_UPDATE, function() {
46553
46591
  try {
46554
- ze.setNativeRange(qe.start.node, qe.start.offset, qe.end.node, qe.end.offset);
46592
+ ze.setNativeRange(Pe.start.node, Pe.start.offset, Pe.end.node, Pe.end.offset);
46555
46593
  } catch {
46556
46594
  }
46557
46595
  });
46558
46596
  }
46559
- }), this.emitter.on(me.default.events.SCROLL_OPTIMIZE, function(qe, Fe) {
46560
- if (Fe.range) {
46561
- var We = Fe.range, Ge = We.startNode, Ke = We.startOffset, ft = We.endNode, Je = We.endOffset;
46597
+ }), this.emitter.on(me.default.events.SCROLL_OPTIMIZE, function(Pe, Ne) {
46598
+ if (Ne.range) {
46599
+ var We = Ne.range, Ge = We.startNode, Ke = We.startOffset, ft = We.endNode, Je = We.endOffset;
46562
46600
  ze.setNativeRange(Ge, Ke, ft, Je);
46563
46601
  }
46564
46602
  }), this.update(me.default.sources.SILENT);
@@ -46599,16 +46637,16 @@ function requireQuill() {
46599
46637
  value: function(Ae, ze) {
46600
46638
  if (!(this.scroll.whitelist != null && !this.scroll.whitelist[Ae])) {
46601
46639
  this.scroll.update();
46602
- var qe = this.getNativeRange();
46603
- if (!(qe == null || !qe.native.collapsed || ce.default.query(Ae, ce.default.Scope.BLOCK))) {
46604
- if (qe.start.node !== this.cursor.textNode) {
46605
- var Fe = ce.default.find(qe.start.node, !1);
46606
- if (Fe == null) return;
46607
- if (Fe instanceof ce.default.Leaf) {
46608
- var We = Fe.split(qe.start.offset);
46609
- Fe.parent.insertBefore(this.cursor, We);
46640
+ var Pe = this.getNativeRange();
46641
+ if (!(Pe == null || !Pe.native.collapsed || ce.default.query(Ae, ce.default.Scope.BLOCK))) {
46642
+ if (Pe.start.node !== this.cursor.textNode) {
46643
+ var Ne = ce.default.find(Pe.start.node, !1);
46644
+ if (Ne == null) return;
46645
+ if (Ne instanceof ce.default.Leaf) {
46646
+ var We = Ne.split(Pe.start.offset);
46647
+ Ne.parent.insertBefore(this.cursor, We);
46610
46648
  } else
46611
- Fe.insertBefore(this.cursor, qe.start.node);
46649
+ Ne.insertBefore(this.cursor, Pe.start.node);
46612
46650
  this.cursor.attach();
46613
46651
  }
46614
46652
  this.cursor.format(Ae, ze), this.scroll.optimize(), this.setNativeRange(this.cursor.textNode, this.cursor.textNode.data.length), this.update();
@@ -46618,22 +46656,22 @@ function requireQuill() {
46618
46656
  }, {
46619
46657
  key: "getBounds",
46620
46658
  value: function(Ae) {
46621
- var ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, qe = this.scroll.length();
46622
- Ae = Math.min(Ae, qe - 1), ze = Math.min(Ae + ze, qe - 1) - Ae;
46623
- var Fe = void 0, We = this.scroll.leaf(Ae), Ge = oe(We, 2), Ke = Ge[0], ft = Ge[1];
46659
+ var ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, Pe = this.scroll.length();
46660
+ Ae = Math.min(Ae, Pe - 1), ze = Math.min(Ae + ze, Pe - 1) - Ae;
46661
+ var Ne = void 0, We = this.scroll.leaf(Ae), Ge = oe(We, 2), Ke = Ge[0], ft = Ge[1];
46624
46662
  if (Ke == null) return null;
46625
46663
  var Je = Ke.position(ft, !0), Ze = oe(Je, 2);
46626
- Fe = Ze[0], ft = Ze[1];
46664
+ Ne = Ze[0], ft = Ze[1];
46627
46665
  var Le = document.createRange();
46628
46666
  if (ze > 0) {
46629
- Le.setStart(Fe, ft);
46667
+ Le.setStart(Ne, ft);
46630
46668
  var Ue = this.scroll.leaf(Ae + ze), Ve = oe(Ue, 2);
46631
46669
  if (Ke = Ve[0], ft = Ve[1], Ke == null) return null;
46632
46670
  var Qe = Ke.position(ft, !0), Xe = oe(Qe, 2);
46633
- return Fe = Xe[0], ft = Xe[1], Le.setEnd(Fe, ft), Le.getBoundingClientRect();
46671
+ return Ne = Xe[0], ft = Xe[1], Le.setEnd(Ne, ft), Le.getBoundingClientRect();
46634
46672
  } else {
46635
46673
  var Be = "left", Ye = void 0;
46636
- return Fe instanceof Text ? (ft < Fe.data.length ? (Le.setStart(Fe, ft), Le.setEnd(Fe, ft + 1)) : (Le.setStart(Fe, ft - 1), Le.setEnd(Fe, ft), Be = "right"), Ye = Le.getBoundingClientRect()) : (Ye = Ke.domNode.getBoundingClientRect(), ft > 0 && (Be = "right")), {
46674
+ return Ne instanceof Text ? (ft < Ne.data.length ? (Le.setStart(Ne, ft), Le.setEnd(Ne, ft + 1)) : (Le.setStart(Ne, ft - 1), Le.setEnd(Ne, ft), Be = "right"), Ye = Le.getBoundingClientRect()) : (Ye = Ke.domNode.getBoundingClientRect(), ft > 0 && (Be = "right")), {
46637
46675
  bottom: Ye.top + Ye.height,
46638
46676
  height: Ye.height,
46639
46677
  left: Ye[Be],
@@ -46667,13 +46705,13 @@ function requireQuill() {
46667
46705
  }, {
46668
46706
  key: "normalizedToRange",
46669
46707
  value: function(Ae) {
46670
- var ze = this, qe = [[Ae.start.node, Ae.start.offset]];
46671
- Ae.native.collapsed || qe.push([Ae.end.node, Ae.end.offset]);
46672
- var Fe = qe.map(function(Ke) {
46708
+ var ze = this, Pe = [[Ae.start.node, Ae.start.offset]];
46709
+ Ae.native.collapsed || Pe.push([Ae.end.node, Ae.end.offset]);
46710
+ var Ne = Pe.map(function(Ke) {
46673
46711
  var ft = oe(Ke, 2), Je = ft[0], Ze = ft[1], Le = ce.default.find(Je, !0), Ue = Le.offset(ze.scroll);
46674
46712
  return Ze === 0 ? Ue : Le instanceof ce.default.Container ? Ue + Le.length() : Ue + Le.index(Je, Ze);
46675
- }), We = Math.min(Math.max.apply(Math, Se(Fe)), this.scroll.length() - 1), Ge = Math.min.apply(Math, [We].concat(Se(Fe)));
46676
- return new Pe(Ge, We - Ge);
46713
+ }), We = Math.min(Math.max.apply(Math, Se(Ne)), this.scroll.length() - 1), Ge = Math.min.apply(Math, [We].concat(Se(Ne)));
46714
+ return new qe(Ge, We - Ge);
46677
46715
  }
46678
46716
  }, {
46679
46717
  key: "normalizeNative",
@@ -46685,42 +46723,42 @@ function requireQuill() {
46685
46723
  end: { node: Ae.endContainer, offset: Ae.endOffset },
46686
46724
  native: Ae
46687
46725
  };
46688
- return [ze.start, ze.end].forEach(function(qe) {
46689
- for (var Fe = qe.node, We = qe.offset; !(Fe instanceof Text) && Fe.childNodes.length > 0; )
46690
- if (Fe.childNodes.length > We)
46691
- Fe = Fe.childNodes[We], We = 0;
46692
- else if (Fe.childNodes.length === We)
46693
- Fe = Fe.lastChild, We = Fe instanceof Text ? Fe.data.length : Fe.childNodes.length + 1;
46726
+ return [ze.start, ze.end].forEach(function(Pe) {
46727
+ for (var Ne = Pe.node, We = Pe.offset; !(Ne instanceof Text) && Ne.childNodes.length > 0; )
46728
+ if (Ne.childNodes.length > We)
46729
+ Ne = Ne.childNodes[We], We = 0;
46730
+ else if (Ne.childNodes.length === We)
46731
+ Ne = Ne.lastChild, We = Ne instanceof Text ? Ne.data.length : Ne.childNodes.length + 1;
46694
46732
  else
46695
46733
  break;
46696
- qe.node = Fe, qe.offset = We;
46734
+ Pe.node = Ne, Pe.offset = We;
46697
46735
  }), ze;
46698
46736
  }
46699
46737
  }, {
46700
46738
  key: "rangeToNative",
46701
46739
  value: function(Ae) {
46702
- var ze = this, qe = Ae.collapsed ? [Ae.index] : [Ae.index, Ae.index + Ae.length], Fe = [], We = this.scroll.length();
46703
- return qe.forEach(function(Ge, Ke) {
46740
+ var ze = this, Pe = Ae.collapsed ? [Ae.index] : [Ae.index, Ae.index + Ae.length], Ne = [], We = this.scroll.length();
46741
+ return Pe.forEach(function(Ge, Ke) {
46704
46742
  Ge = Math.min(We - 1, Ge);
46705
46743
  var ft = void 0, Je = ze.scroll.leaf(Ge), Ze = oe(Je, 2), Le = Ze[0], Ue = Ze[1], Ve = Le.position(Ue, Ke !== 0), Qe = oe(Ve, 2);
46706
- ft = Qe[0], Ue = Qe[1], Fe.push(ft, Ue);
46707
- }), Fe.length < 2 && (Fe = Fe.concat(Fe)), Fe;
46744
+ ft = Qe[0], Ue = Qe[1], Ne.push(ft, Ue);
46745
+ }), Ne.length < 2 && (Ne = Ne.concat(Ne)), Ne;
46708
46746
  }
46709
46747
  }, {
46710
46748
  key: "scrollIntoView",
46711
46749
  value: function(Ae) {
46712
46750
  var ze = this.lastRange;
46713
46751
  if (ze != null) {
46714
- var qe = this.getBounds(ze.index, ze.length);
46715
- if (qe != null) {
46716
- var Fe = this.scroll.length() - 1, We = this.scroll.line(Math.min(ze.index, Fe)), Ge = oe(We, 1), Ke = Ge[0], ft = Ke;
46752
+ var Pe = this.getBounds(ze.index, ze.length);
46753
+ if (Pe != null) {
46754
+ var Ne = this.scroll.length() - 1, We = this.scroll.line(Math.min(ze.index, Ne)), Ge = oe(We, 1), Ke = Ge[0], ft = Ke;
46717
46755
  if (ze.length > 0) {
46718
- var Je = this.scroll.line(Math.min(ze.index + ze.length, Fe)), Ze = oe(Je, 1);
46756
+ var Je = this.scroll.line(Math.min(ze.index + ze.length, Ne)), Ze = oe(Je, 1);
46719
46757
  ft = Ze[0];
46720
46758
  }
46721
46759
  if (!(Ke == null || ft == null)) {
46722
46760
  var Le = Ae.getBoundingClientRect();
46723
- qe.top < Le.top ? Ae.scrollTop -= Le.top - qe.top : qe.bottom > Le.bottom && (Ae.scrollTop += qe.bottom - Le.bottom);
46761
+ Pe.top < Le.top ? Ae.scrollTop -= Le.top - Pe.top : Pe.bottom > Le.bottom && (Ae.scrollTop += Pe.bottom - Le.bottom);
46724
46762
  }
46725
46763
  }
46726
46764
  }
@@ -46728,17 +46766,17 @@ function requireQuill() {
46728
46766
  }, {
46729
46767
  key: "setNativeRange",
46730
46768
  value: function(Ae, ze) {
46731
- var qe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ae, Fe = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ze, We = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
46732
- if (Ce.info("setNativeRange", Ae, ze, qe, Fe), !(Ae != null && (this.root.parentNode == null || Ae.parentNode == null || qe.parentNode == null))) {
46769
+ var Pe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ae, Ne = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ze, We = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
46770
+ if (Ce.info("setNativeRange", Ae, ze, Pe, Ne), !(Ae != null && (this.root.parentNode == null || Ae.parentNode == null || Pe.parentNode == null))) {
46733
46771
  var Ge = typeof this.rootDocument.getSelection == "function" ? this.rootDocument.getSelection() : document.getSelection();
46734
46772
  if (Ge != null)
46735
46773
  if (Ae != null) {
46736
46774
  this.hasFocus() || this.root.focus();
46737
46775
  var Ke = (this.getNativeRange() || {}).native;
46738
- if (Ke == null || We || Ae !== Ke.startContainer || ze !== Ke.startOffset || qe !== Ke.endContainer || Fe !== Ke.endOffset) {
46739
- Ae.tagName == "BR" && (ze = [].indexOf.call(Ae.parentNode.childNodes, Ae), Ae = Ae.parentNode), qe.tagName == "BR" && (Fe = [].indexOf.call(qe.parentNode.childNodes, qe), qe = qe.parentNode);
46776
+ if (Ke == null || We || Ae !== Ke.startContainer || ze !== Ke.startOffset || Pe !== Ke.endContainer || Ne !== Ke.endOffset) {
46777
+ Ae.tagName == "BR" && (ze = [].indexOf.call(Ae.parentNode.childNodes, Ae), Ae = Ae.parentNode), Pe.tagName == "BR" && (Ne = [].indexOf.call(Pe.parentNode.childNodes, Pe), Pe = Pe.parentNode);
46740
46778
  var ft = document.createRange();
46741
- ft.setStart(Ae, ze), ft.setEnd(qe, Fe), Ge.removeAllRanges(), Ge.addRange(ft);
46779
+ ft.setStart(Ae, ze), ft.setEnd(Pe, Ne), Ge.removeAllRanges(), Ge.addRange(ft);
46742
46780
  }
46743
46781
  } else
46744
46782
  Ge.removeAllRanges(), this.root.blur(), document.body.focus();
@@ -46747,18 +46785,18 @@ function requireQuill() {
46747
46785
  }, {
46748
46786
  key: "setRange",
46749
46787
  value: function(Ae) {
46750
- var ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, qe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : me.default.sources.API;
46751
- if (typeof ze == "string" && (qe = ze, ze = !1), Ce.info("setRange", Ae), Ae != null) {
46752
- var Fe = this.rangeToNative(Ae);
46753
- this.setNativeRange.apply(this, Se(Fe).concat([ze]));
46788
+ var ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, Pe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : me.default.sources.API;
46789
+ if (typeof ze == "string" && (Pe = ze, ze = !1), Ce.info("setRange", Ae), Ae != null) {
46790
+ var Ne = this.rangeToNative(Ae);
46791
+ this.setNativeRange.apply(this, Se(Ne).concat([ze]));
46754
46792
  } else
46755
46793
  this.setNativeRange(null);
46756
- this.update(qe);
46794
+ this.update(Pe);
46757
46795
  }
46758
46796
  }, {
46759
46797
  key: "update",
46760
46798
  value: function() {
46761
- var Ae = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : me.default.sources.USER, ze = this.lastRange, qe = this.getRange(), Fe = oe(qe, 2), We = Fe[0], Ge = Fe[1];
46799
+ var Ae = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : me.default.sources.USER, ze = this.lastRange, Pe = this.getRange(), Ne = oe(Pe, 2), We = Ne[0], Ge = Ne[1];
46762
46800
  if (this.lastRange = We, this.lastRange != null && (this.savedRange = this.lastRange), !(0, fe.default)(ze, this.lastRange)) {
46763
46801
  var Ke;
46764
46802
  !this.composing && Ge != null && Ge.native.collapsed && Ge.start.node !== this.cursor.textNode && this.cursor.restore();
@@ -46779,7 +46817,7 @@ function requireQuill() {
46779
46817
  }
46780
46818
  return Ie instanceof Text && (Ie = Ie.parentNode), He.contains(Ie);
46781
46819
  }
46782
- te.Range = Pe, te.default = De;
46820
+ te.Range = qe, te.default = De;
46783
46821
  }),
46784
46822
  /* 16 */
46785
46823
  /***/
@@ -47203,7 +47241,7 @@ function requireQuill() {
47203
47241
  }
47204
47242
  function ue(ge, ve, _e, ye, Se) {
47205
47243
  typeof ve == "object" && (_e = ve.depth, ye = ve.prototype, Se = ve.includeNonEnumerable, ve = ve.circular);
47206
- var we = [], Ce = [], Pe = typeof Buffer < "u";
47244
+ var we = [], Ce = [], qe = typeof Buffer < "u";
47207
47245
  typeof ve > "u" && (ve = !0), typeof _e > "u" && (_e = 1 / 0);
47208
47246
  function De(Me, He) {
47209
47247
  if (Me === null)
@@ -47232,7 +47270,7 @@ function requireQuill() {
47232
47270
  else if (ue.__isDate(Me))
47233
47271
  Ie = new Date(Me.getTime());
47234
47272
  else {
47235
- if (Pe && Buffer.isBuffer(Me))
47273
+ if (qe && Buffer.isBuffer(Me))
47236
47274
  return Buffer.allocUnsafe ? Ie = Buffer.allocUnsafe(Me.length) : Ie = new Buffer(Me.length), Me.copy(Ie), Ie;
47237
47275
  oe(Me, Error) ? Ie = Object.create(Me) : typeof ye > "u" ? (Ae = Object.getPrototypeOf(Me), Ie = Object.create(Ae)) : (Ie = Object.create(ye), Ae = ye);
47238
47276
  }
@@ -47249,20 +47287,20 @@ function requireQuill() {
47249
47287
  var Le = De(Ze, He - 1);
47250
47288
  Ie.add(Le);
47251
47289
  });
47252
- for (var qe in Me) {
47253
- var Fe;
47254
- Ae && (Fe = Object.getOwnPropertyDescriptor(Ae, qe)), !(Fe && Fe.set == null) && (Ie[qe] = De(Me[qe], He - 1));
47290
+ for (var Pe in Me) {
47291
+ var Ne;
47292
+ Ae && (Ne = Object.getOwnPropertyDescriptor(Ae, Pe)), !(Ne && Ne.set == null) && (Ie[Pe] = De(Me[Pe], He - 1));
47255
47293
  }
47256
47294
  if (Object.getOwnPropertySymbols)
47257
- for (var We = Object.getOwnPropertySymbols(Me), qe = 0; qe < We.length; qe++) {
47258
- var Ge = We[qe], Ke = Object.getOwnPropertyDescriptor(Me, Ge);
47295
+ for (var We = Object.getOwnPropertySymbols(Me), Pe = 0; Pe < We.length; Pe++) {
47296
+ var Ge = We[Pe], Ke = Object.getOwnPropertyDescriptor(Me, Ge);
47259
47297
  Ke && !Ke.enumerable && !Se || (Ie[Ge] = De(Me[Ge], He - 1), Ke.enumerable || Object.defineProperty(Ie, Ge, {
47260
47298
  enumerable: !1
47261
47299
  }));
47262
47300
  }
47263
47301
  if (Se)
47264
- for (var ft = Object.getOwnPropertyNames(Me), qe = 0; qe < ft.length; qe++) {
47265
- var Je = ft[qe], Ke = Object.getOwnPropertyDescriptor(Me, Je);
47302
+ for (var ft = Object.getOwnPropertyNames(Me), Pe = 0; Pe < ft.length; Pe++) {
47303
+ var Je = ft[Pe], Ke = Object.getOwnPropertyDescriptor(Me, Je);
47266
47304
  Ke && Ke.enumerable || (Ie[Je] = De(Me[Je], He - 1), Object.defineProperty(Ie, Je, {
47267
47305
  enumerable: !1
47268
47306
  }));
@@ -47310,20 +47348,20 @@ function requireQuill() {
47310
47348
  });
47311
47349
  var oe = /* @__PURE__ */ (function() {
47312
47350
  function Ie(Ae, ze) {
47313
- var qe = [], Fe = !0, We = !1, Ge = void 0;
47351
+ var Pe = [], Ne = !0, We = !1, Ge = void 0;
47314
47352
  try {
47315
- for (var Ke = Ae[Symbol.iterator](), ft; !(Fe = (ft = Ke.next()).done) && (qe.push(ft.value), !(ze && qe.length === ze)); Fe = !0)
47353
+ for (var Ke = Ae[Symbol.iterator](), ft; !(Ne = (ft = Ke.next()).done) && (Pe.push(ft.value), !(ze && Pe.length === ze)); Ne = !0)
47316
47354
  ;
47317
47355
  } catch (Je) {
47318
47356
  We = !0, Ge = Je;
47319
47357
  } finally {
47320
47358
  try {
47321
- !Fe && Ke.return && Ke.return();
47359
+ !Ne && Ke.return && Ke.return();
47322
47360
  } finally {
47323
47361
  if (We) throw Ge;
47324
47362
  }
47325
47363
  }
47326
- return qe;
47364
+ return Pe;
47327
47365
  }
47328
47366
  return function(Ae, ze) {
47329
47367
  if (Array.isArray(Ae))
@@ -47334,25 +47372,25 @@ function requireQuill() {
47334
47372
  };
47335
47373
  })(), ne = /* @__PURE__ */ (function() {
47336
47374
  function Ie(Ae, ze) {
47337
- for (var qe = 0; qe < ze.length; qe++) {
47338
- var Fe = ze[qe];
47339
- Fe.enumerable = Fe.enumerable || !1, Fe.configurable = !0, "value" in Fe && (Fe.writable = !0), Object.defineProperty(Ae, Fe.key, Fe);
47375
+ for (var Pe = 0; Pe < ze.length; Pe++) {
47376
+ var Ne = ze[Pe];
47377
+ Ne.enumerable = Ne.enumerable || !1, Ne.configurable = !0, "value" in Ne && (Ne.writable = !0), Object.defineProperty(Ae, Ne.key, Ne);
47340
47378
  }
47341
47379
  }
47342
- return function(Ae, ze, qe) {
47343
- return ze && Ie(Ae.prototype, ze), qe && Ie(Ae, qe), Ae;
47380
+ return function(Ae, ze, Pe) {
47381
+ return ze && Ie(Ae.prototype, ze), Pe && Ie(Ae, Pe), Ae;
47344
47382
  };
47345
- })(), de = function Ie(Ae, ze, qe) {
47383
+ })(), de = function Ie(Ae, ze, Pe) {
47346
47384
  Ae === null && (Ae = Function.prototype);
47347
- var Fe = Object.getOwnPropertyDescriptor(Ae, ze);
47348
- if (Fe === void 0) {
47385
+ var Ne = Object.getOwnPropertyDescriptor(Ae, ze);
47386
+ if (Ne === void 0) {
47349
47387
  var We = Object.getPrototypeOf(Ae);
47350
- return We === null ? void 0 : Ie(We, ze, qe);
47388
+ return We === null ? void 0 : Ie(We, ze, Pe);
47351
47389
  } else {
47352
- if ("value" in Fe)
47353
- return Fe.value;
47354
- var Ge = Fe.get;
47355
- return Ge === void 0 ? void 0 : Ge.call(qe);
47390
+ if ("value" in Ne)
47391
+ return Ne.value;
47392
+ var Ge = Ne.get;
47393
+ return Ge === void 0 ? void 0 : Ge.call(Pe);
47356
47394
  }
47357
47395
  }, ce = re(0), ue = we(ce), he = re(8), pe = we(he), fe = re(4), be = we(fe), me = re(16), ge = we(me), ve = re(13), _e = we(ve), ye = re(25), Se = we(ye);
47358
47396
  function we(Ie) {
@@ -47362,7 +47400,7 @@ function requireQuill() {
47362
47400
  if (!(Ie instanceof Ae))
47363
47401
  throw new TypeError("Cannot call a class as a function");
47364
47402
  }
47365
- function Pe(Ie, Ae) {
47403
+ function qe(Ie, Ae) {
47366
47404
  if (!Ie)
47367
47405
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
47368
47406
  return Ae && (typeof Ae == "object" || typeof Ae == "function") ? Ae : Ie;
@@ -47377,13 +47415,13 @@ function requireQuill() {
47377
47415
  }
47378
47416
  var He = (function(Ie) {
47379
47417
  De(Ae, Ie);
47380
- function Ae(ze, qe) {
47418
+ function Ae(ze, Pe) {
47381
47419
  Ce(this, Ae);
47382
- var Fe = Pe(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, ze));
47383
- return Fe.emitter = qe.emitter, Array.isArray(qe.whitelist) && (Fe.whitelist = qe.whitelist.reduce(function(We, Ge) {
47420
+ var Ne = qe(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, ze));
47421
+ return Ne.emitter = Pe.emitter, Array.isArray(Pe.whitelist) && (Ne.whitelist = Pe.whitelist.reduce(function(We, Ge) {
47384
47422
  return We[Ge] = !0, We;
47385
- }, {})), Fe.domNode.addEventListener("DOMNodeInserted", function() {
47386
- }), Fe.optimize(), Fe.enable(), Fe;
47423
+ }, {})), Ne.domNode.addEventListener("DOMNodeInserted", function() {
47424
+ }), Ne.optimize(), Ne.enable(), Ne;
47387
47425
  }
47388
47426
  return ne(Ae, [{
47389
47427
  key: "batchStart",
@@ -47397,9 +47435,9 @@ function requireQuill() {
47397
47435
  }
47398
47436
  }, {
47399
47437
  key: "deleteAt",
47400
- value: function(qe, Fe) {
47401
- var We = this.line(qe), Ge = oe(We, 2), Ke = Ge[0], ft = Ge[1], Je = this.line(qe + Fe), Ze = oe(Je, 1), Le = Ze[0];
47402
- if (de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "deleteAt", this).call(this, qe, Fe), Le != null && Ke !== Le && ft > 0) {
47438
+ value: function(Pe, Ne) {
47439
+ var We = this.line(Pe), Ge = oe(We, 2), Ke = Ge[0], ft = Ge[1], Je = this.line(Pe + Ne), Ze = oe(Je, 1), Le = Ze[0];
47440
+ if (de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "deleteAt", this).call(this, Pe, Ne), Le != null && Ke !== Le && ft > 0) {
47403
47441
  if (Ke instanceof fe.BlockEmbed || Le instanceof fe.BlockEmbed) {
47404
47442
  this.optimize();
47405
47443
  return;
@@ -47422,79 +47460,79 @@ function requireQuill() {
47422
47460
  }, {
47423
47461
  key: "enable",
47424
47462
  value: function() {
47425
- var qe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
47426
- this.domNode.setAttribute("contenteditable", qe);
47463
+ var Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
47464
+ this.domNode.setAttribute("contenteditable", Pe);
47427
47465
  }
47428
47466
  }, {
47429
47467
  key: "formatAt",
47430
- value: function(qe, Fe, We, Ge) {
47431
- this.whitelist != null && !this.whitelist[We] || (de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "formatAt", this).call(this, qe, Fe, We, Ge), this.optimize());
47468
+ value: function(Pe, Ne, We, Ge) {
47469
+ this.whitelist != null && !this.whitelist[We] || (de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "formatAt", this).call(this, Pe, Ne, We, Ge), this.optimize());
47432
47470
  }
47433
47471
  }, {
47434
47472
  key: "insertAt",
47435
- value: function(qe, Fe, We) {
47436
- if (!(We != null && this.whitelist != null && !this.whitelist[Fe])) {
47437
- if (qe >= this.length())
47438
- if (We == null || ue.default.query(Fe, ue.default.Scope.BLOCK) == null) {
47473
+ value: function(Pe, Ne, We) {
47474
+ if (!(We != null && this.whitelist != null && !this.whitelist[Ne])) {
47475
+ if (Pe >= this.length())
47476
+ if (We == null || ue.default.query(Ne, ue.default.Scope.BLOCK) == null) {
47439
47477
  var Ge = ue.default.create(this.statics.defaultChild);
47440
- this.appendChild(Ge), We == null && Fe.endsWith(`
47441
- `) && (Fe = Fe.slice(0, -1)), Ge.insertAt(0, Fe, We);
47478
+ this.appendChild(Ge), We == null && Ne.endsWith(`
47479
+ `) && (Ne = Ne.slice(0, -1)), Ge.insertAt(0, Ne, We);
47442
47480
  } else {
47443
- var Ke = ue.default.create(Fe, We);
47481
+ var Ke = ue.default.create(Ne, We);
47444
47482
  this.appendChild(Ke);
47445
47483
  }
47446
47484
  else
47447
- de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "insertAt", this).call(this, qe, Fe, We);
47485
+ de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "insertAt", this).call(this, Pe, Ne, We);
47448
47486
  this.optimize();
47449
47487
  }
47450
47488
  }
47451
47489
  }, {
47452
47490
  key: "insertBefore",
47453
- value: function(qe, Fe) {
47454
- if (qe.statics.scope === ue.default.Scope.INLINE_BLOT) {
47491
+ value: function(Pe, Ne) {
47492
+ if (Pe.statics.scope === ue.default.Scope.INLINE_BLOT) {
47455
47493
  var We = ue.default.create(this.statics.defaultChild);
47456
- We.appendChild(qe), qe = We;
47494
+ We.appendChild(Pe), Pe = We;
47457
47495
  }
47458
- de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "insertBefore", this).call(this, qe, Fe);
47496
+ de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "insertBefore", this).call(this, Pe, Ne);
47459
47497
  }
47460
47498
  }, {
47461
47499
  key: "leaf",
47462
- value: function(qe) {
47463
- return this.path(qe).pop() || [null, -1];
47500
+ value: function(Pe) {
47501
+ return this.path(Pe).pop() || [null, -1];
47464
47502
  }
47465
47503
  }, {
47466
47504
  key: "line",
47467
- value: function(qe) {
47468
- return qe === this.length() ? this.line(qe - 1) : this.descendant(Me, qe);
47505
+ value: function(Pe) {
47506
+ return Pe === this.length() ? this.line(Pe - 1) : this.descendant(Me, Pe);
47469
47507
  }
47470
47508
  }, {
47471
47509
  key: "lines",
47472
47510
  value: function() {
47473
- var qe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Fe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, We = function Ge(Ke, ft, Je) {
47511
+ var Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, We = function Ge(Ke, ft, Je) {
47474
47512
  var Ze = [], Le = Je;
47475
47513
  return Ke.children.forEachAt(ft, Je, function(Ue, Ve, Qe) {
47476
47514
  Me(Ue) ? Ze.push(Ue) : Ue instanceof ue.default.Container && (Ze = Ze.concat(Ge(Ue, Ve, Le))), Le -= Qe;
47477
47515
  }), Ze;
47478
47516
  };
47479
- return We(this, qe, Fe);
47517
+ return We(this, Pe, Ne);
47480
47518
  }
47481
47519
  }, {
47482
47520
  key: "optimize",
47483
47521
  value: function() {
47484
- var qe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], Fe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
47485
- this.batch !== !0 && (de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "optimize", this).call(this, qe, Fe), qe.length > 0 && this.emitter.emit(pe.default.events.SCROLL_OPTIMIZE, qe, Fe));
47522
+ var Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
47523
+ this.batch !== !0 && (de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "optimize", this).call(this, Pe, Ne), Pe.length > 0 && this.emitter.emit(pe.default.events.SCROLL_OPTIMIZE, Pe, Ne));
47486
47524
  }
47487
47525
  }, {
47488
47526
  key: "path",
47489
- value: function(qe) {
47490
- return de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "path", this).call(this, qe).slice(1);
47527
+ value: function(Pe) {
47528
+ return de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "path", this).call(this, Pe).slice(1);
47491
47529
  }
47492
47530
  }, {
47493
47531
  key: "update",
47494
- value: function(qe) {
47532
+ value: function(Pe) {
47495
47533
  if (this.batch !== !0) {
47496
- var Fe = pe.default.sources.USER;
47497
- typeof qe == "string" && (Fe = qe), Array.isArray(qe) || (qe = this.observer.takeRecords()), qe.length > 0 && this.emitter.emit(pe.default.events.SCROLL_BEFORE_UPDATE, Fe, qe), de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "update", this).call(this, qe.concat([])), qe.length > 0 && this.emitter.emit(pe.default.events.SCROLL_UPDATE, Fe, qe);
47534
+ var Ne = pe.default.sources.USER;
47535
+ typeof Pe == "string" && (Ne = Pe), Array.isArray(Pe) || (Pe = this.observer.takeRecords()), Pe.length > 0 && this.emitter.emit(pe.default.events.SCROLL_BEFORE_UPDATE, Ne, Pe), de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "update", this).call(this, Pe.concat([])), Pe.length > 0 && this.emitter.emit(pe.default.events.SCROLL_UPDATE, Ne, Pe);
47498
47536
  }
47499
47537
  }
47500
47538
  }]), Ae;
@@ -47545,7 +47583,7 @@ function requireQuill() {
47545
47583
  return function(Ye, rt, ot) {
47546
47584
  return rt && Be(Ye.prototype, rt), ot && Be(Ye, ot), Ye;
47547
47585
  };
47548
- })(), ce = re(21), ue = Ie(ce), he = re(11), pe = Ie(he), fe = re(3), be = Ie(fe), me = re(2), ge = Ie(me), ve = re(20), _e = Ie(ve), ye = re(0), Se = Ie(ye), we = re(5), Ce = Ie(we), Pe = re(10), De = Ie(Pe), Me = re(9), He = Ie(Me);
47586
+ })(), ce = re(21), ue = Ie(ce), he = re(11), pe = Ie(he), fe = re(3), be = Ie(fe), me = re(2), ge = Ie(me), ve = re(20), _e = Ie(ve), ye = re(0), Se = Ie(ye), we = re(5), Ce = Ie(we), qe = re(10), De = Ie(qe), Me = re(9), He = Ie(Me);
47549
47587
  function Ie(Be) {
47550
47588
  return Be && Be.__esModule ? Be : { default: Be };
47551
47589
  }
@@ -47556,18 +47594,18 @@ function requireQuill() {
47556
47594
  if (!(Be instanceof Ye))
47557
47595
  throw new TypeError("Cannot call a class as a function");
47558
47596
  }
47559
- function qe(Be, Ye) {
47597
+ function Pe(Be, Ye) {
47560
47598
  if (!Be)
47561
47599
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
47562
47600
  return Ye && (typeof Ye == "object" || typeof Ye == "function") ? Ye : Be;
47563
47601
  }
47564
- function Fe(Be, Ye) {
47602
+ function Ne(Be, Ye) {
47565
47603
  if (typeof Ye != "function" && Ye !== null)
47566
47604
  throw new TypeError("Super expression must either be null or a function, not " + typeof Ye);
47567
47605
  Be.prototype = Object.create(Ye && Ye.prototype, { constructor: { value: Be, enumerable: !1, writable: !0, configurable: !0 } }), Ye && (Object.setPrototypeOf ? Object.setPrototypeOf(Be, Ye) : Be.__proto__ = Ye);
47568
47606
  }
47569
47607
  var We = (0, De.default)("quill:keyboard"), Ge = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", Ke = (function(Be) {
47570
- Fe(Ye, Be), de(Ye, null, [{
47608
+ Ne(Ye, Be), de(Ye, null, [{
47571
47609
  key: "match",
47572
47610
  value: function(ot, _t) {
47573
47611
  return _t = Xe(_t), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(kt) {
@@ -47577,7 +47615,7 @@ function requireQuill() {
47577
47615
  }]);
47578
47616
  function Ye(rt, ot) {
47579
47617
  ze(this, Ye);
47580
- var _t = qe(this, (Ye.__proto__ || Object.getPrototypeOf(Ye)).call(this, rt, ot));
47618
+ var _t = Pe(this, (Ye.__proto__ || Object.getPrototypeOf(Ye)).call(this, rt, ot));
47581
47619
  return _t.bindings = {}, Object.keys(_t.options.bindings).forEach(function(kt) {
47582
47620
  kt === "list autofill" && rt.scroll.whitelist != null && !rt.scroll.whitelist.list || _t.options.bindings[kt] && _t.addBinding(_t.options.bindings[kt]);
47583
47621
  }), _t.addBinding({ key: Ye.keys.ENTER, shiftKey: null }, Ue), _t.addBinding({ key: Ye.keys.ENTER, metaKey: null, ctrlKey: null, altKey: null }, function() {
@@ -47881,17 +47919,17 @@ function requireQuill() {
47881
47919
  });
47882
47920
  var oe = /* @__PURE__ */ (function() {
47883
47921
  function _e(ye, Se) {
47884
- var we = [], Ce = !0, Pe = !1, De = void 0;
47922
+ var we = [], Ce = !0, qe = !1, De = void 0;
47885
47923
  try {
47886
47924
  for (var Me = ye[Symbol.iterator](), He; !(Ce = (He = Me.next()).done) && (we.push(He.value), !(Se && we.length === Se)); Ce = !0)
47887
47925
  ;
47888
47926
  } catch (Ie) {
47889
- Pe = !0, De = Ie;
47927
+ qe = !0, De = Ie;
47890
47928
  } finally {
47891
47929
  try {
47892
47930
  !Ce && Me.return && Me.return();
47893
47931
  } finally {
47894
- if (Pe) throw De;
47932
+ if (qe) throw De;
47895
47933
  }
47896
47934
  }
47897
47935
  return we;
@@ -47907,8 +47945,8 @@ function requireQuill() {
47907
47945
  ye === null && (ye = Function.prototype);
47908
47946
  var Ce = Object.getOwnPropertyDescriptor(ye, Se);
47909
47947
  if (Ce === void 0) {
47910
- var Pe = Object.getPrototypeOf(ye);
47911
- return Pe === null ? void 0 : _e(Pe, Se, we);
47948
+ var qe = Object.getPrototypeOf(ye);
47949
+ return qe === null ? void 0 : _e(qe, Se, we);
47912
47950
  } else {
47913
47951
  if ("value" in Ce)
47914
47952
  return Ce.value;
@@ -47964,9 +48002,9 @@ function requireQuill() {
47964
48002
  value: function(we, Ce) {
47965
48003
  if (this._length !== 0)
47966
48004
  return ne(ye.prototype.__proto__ || Object.getPrototypeOf(ye.prototype), "format", this).call(this, we, Ce);
47967
- for (var Pe = this, De = 0; Pe != null && Pe.statics.scope !== ue.default.Scope.BLOCK_BLOT; )
47968
- De += Pe.offset(Pe.parent), Pe = Pe.parent;
47969
- Pe != null && (this._length = ye.CONTENTS.length, Pe.optimize(), Pe.formatAt(De, ye.CONTENTS.length, we, Ce), this._length = 0);
48005
+ for (var qe = this, De = 0; qe != null && qe.statics.scope !== ue.default.Scope.BLOCK_BLOT; )
48006
+ De += qe.offset(qe.parent), qe = qe.parent;
48007
+ qe != null && (this._length = ye.CONTENTS.length, qe.optimize(), qe.formatAt(De, ye.CONTENTS.length, we, Ce), this._length = 0);
47970
48008
  }
47971
48009
  }, {
47972
48010
  key: "index",
@@ -47992,25 +48030,25 @@ function requireQuill() {
47992
48030
  key: "restore",
47993
48031
  value: function() {
47994
48032
  if (!(this.selection.composing || this.parent == null)) {
47995
- var we = this.textNode, Ce = this.selection.getNativeRange(), Pe = void 0, De = void 0, Me = void 0;
48033
+ var we = this.textNode, Ce = this.selection.getNativeRange(), qe = void 0, De = void 0, Me = void 0;
47996
48034
  if (Ce != null && Ce.start.node === we && Ce.end.node === we) {
47997
48035
  var He = [we, Ce.start.offset, Ce.end.offset];
47998
- Pe = He[0], De = He[1], Me = He[2];
48036
+ qe = He[0], De = He[1], Me = He[2];
47999
48037
  }
48000
48038
  for (; this.domNode.lastChild != null && this.domNode.lastChild !== this.textNode; )
48001
48039
  this.domNode.parentNode.insertBefore(this.domNode.lastChild, this.domNode);
48002
48040
  if (this.textNode.data !== ye.CONTENTS) {
48003
48041
  var Ie = this.textNode.data.split(ye.CONTENTS).join("");
48004
- this.next instanceof pe.default ? (Pe = this.next.domNode, this.next.insertAt(0, Ie), this.textNode.data = ye.CONTENTS) : (this.textNode.data = Ie, this.parent.insertBefore(ue.default.create(this.textNode), this), this.textNode = document.createTextNode(ye.CONTENTS), this.domNode.appendChild(this.textNode));
48042
+ this.next instanceof pe.default ? (qe = this.next.domNode, this.next.insertAt(0, Ie), this.textNode.data = ye.CONTENTS) : (this.textNode.data = Ie, this.parent.insertBefore(ue.default.create(this.textNode), this), this.textNode = document.createTextNode(ye.CONTENTS), this.domNode.appendChild(this.textNode));
48005
48043
  }
48006
48044
  if (this.remove(), De != null) {
48007
- var Ae = [De, Me].map(function(qe) {
48008
- return Math.max(0, Math.min(Pe.data.length, qe - 1));
48045
+ var Ae = [De, Me].map(function(Pe) {
48046
+ return Math.max(0, Math.min(qe.data.length, Pe - 1));
48009
48047
  }), ze = oe(Ae, 2);
48010
48048
  return De = ze[0], Me = ze[1], {
48011
- startNode: Pe,
48049
+ startNode: qe,
48012
48050
  startOffset: De,
48013
- endNode: Pe,
48051
+ endNode: qe,
48014
48052
  endOffset: Me
48015
48053
  };
48016
48054
  }
@@ -48019,9 +48057,9 @@ function requireQuill() {
48019
48057
  }, {
48020
48058
  key: "update",
48021
48059
  value: function(we, Ce) {
48022
- var Pe = this;
48060
+ var qe = this;
48023
48061
  if (we.some(function(Me) {
48024
- return Me.type === "characterData" && Me.target === Pe.textNode;
48062
+ return Me.type === "characterData" && Me.target === qe.textNode;
48025
48063
  })) {
48026
48064
  var De = this.restore();
48027
48065
  De && (Ce.range = De);
@@ -48094,8 +48132,8 @@ function requireQuill() {
48094
48132
  } else {
48095
48133
  if ("value" in we)
48096
48134
  return we.value;
48097
- var Pe = we.get;
48098
- return Pe === void 0 ? void 0 : Pe.call(Se);
48135
+ var qe = we.get;
48136
+ return qe === void 0 ? void 0 : qe.call(Se);
48099
48137
  }
48100
48138
  }, de = re(0), ce = ue(de);
48101
48139
  function ue(ve) {
@@ -48366,7 +48404,7 @@ function requireQuill() {
48366
48404
  Object.defineProperty(te, "__esModule", {
48367
48405
  value: !0
48368
48406
  });
48369
- var oe = re(0), ne = We(oe), de = re(5), ce = We(de), ue = re(4), he = We(ue), pe = re(16), fe = We(pe), be = re(25), me = We(be), ge = re(24), ve = We(ge), _e = re(36), ye = We(_e), Se = re(6), we = We(Se), Ce = re(22), Pe = We(Ce), De = re(7), Me = We(De), He = re(56), Ie = We(He), Ae = re(43), ze = We(Ae), qe = re(23), Fe = We(qe);
48407
+ var oe = re(0), ne = We(oe), de = re(5), ce = We(de), ue = re(4), he = We(ue), pe = re(16), fe = We(pe), be = re(25), me = We(be), ge = re(24), ve = We(ge), _e = re(36), ye = We(_e), Se = re(6), we = We(Se), Ce = re(22), qe = We(Ce), De = re(7), Me = We(De), He = re(56), Ie = We(He), Ae = re(43), ze = We(Ae), Pe = re(23), Ne = We(Pe);
48370
48408
  function We(Ge) {
48371
48409
  return Ge && Ge.__esModule ? Ge : { default: Ge };
48372
48410
  }
@@ -48378,12 +48416,12 @@ function requireQuill() {
48378
48416
  "blots/cursor": ve.default,
48379
48417
  "blots/embed": ye.default,
48380
48418
  "blots/inline": we.default,
48381
- "blots/scroll": Pe.default,
48419
+ "blots/scroll": qe.default,
48382
48420
  "blots/text": Me.default,
48383
48421
  "modules/clipboard": Ie.default,
48384
48422
  "modules/history": ze.default,
48385
- "modules/keyboard": Fe.default
48386
- }), ne.default.register(he.default, fe.default, ve.default, we.default, Pe.default, Me.default), te.default = ce.default;
48423
+ "modules/keyboard": Ne.default
48424
+ }), ne.default.register(he.default, fe.default, ve.default, we.default, qe.default, Me.default), te.default = ce.default;
48387
48425
  }),
48388
48426
  /* 30 */
48389
48427
  /***/
@@ -48611,11 +48649,11 @@ function requireQuill() {
48611
48649
  return pe.includes(Ie.nodeType);
48612
48650
  }
48613
48651
  function be(Ie, Ae, ze) {
48614
- var qe = Ae.childNodes || Ae.children;
48615
- if (!qe)
48652
+ var Pe = Ae.childNodes || Ae.children;
48653
+ if (!Pe)
48616
48654
  return Ae;
48617
- for (var Fe = 0; Fe < qe.length; ++Fe) {
48618
- var We = ze ? Fe : qe.length - 1 - Fe, Ge = qe[We];
48655
+ for (var Ne = 0; Ne < Pe.length; ++Ne) {
48656
+ var We = ze ? Ne : Pe.length - 1 - Ne, Ge = Pe[We];
48619
48657
  if (fe(Ge) && Ie.containsNode(Ge, !0))
48620
48658
  return Ie.containsNode(Ge, !1) ? Ge : be(Ie, Ge, ze);
48621
48659
  }
@@ -48631,8 +48669,8 @@ function requireQuill() {
48631
48669
  return document.addEventListener("selectionchange", function(ze) {
48632
48670
  Ie || (document.dispatchEvent(new CustomEvent(oe)), Ie = !0, window.setTimeout(function() {
48633
48671
  Ie = !1;
48634
- }, 2), Ae.forEach(function(qe) {
48635
- return qe(ze);
48672
+ }, 2), Ae.forEach(function(Pe) {
48673
+ return Pe(ze);
48636
48674
  }));
48637
48675
  }), function(ze) {
48638
48676
  return Ae.push(ze);
@@ -48645,27 +48683,27 @@ function requireQuill() {
48645
48683
  }));
48646
48684
  });
48647
48685
  function _e(Ie, Ae, ze) {
48648
- for (var qe = Ae; (Ae = Se(Ae, ze)) && Ae.contains(qe); )
48686
+ for (var Pe = Ae; (Ae = Se(Ae, ze)) && Ae.contains(Pe); )
48649
48687
  ;
48650
48688
  return Ae ? Ae instanceof Element && Ie.containsNode(Ae, !0) : !1;
48651
48689
  }
48652
48690
  function ye(Ie, Ae, ze) {
48653
48691
  if (Ie.type === "Range") {
48654
- var qe = function() {
48692
+ var Pe = function() {
48655
48693
  return Ie.toString().length;
48656
- }, Fe = qe();
48657
- if (Fe === 1 && ge && Ae === ze) {
48694
+ }, Ne = Pe();
48695
+ if (Ne === 1 && ge && Ae === ze) {
48658
48696
  Ie.extend(Ae, 0), Ie.collapseToEnd();
48659
48697
  return;
48660
48698
  }
48661
48699
  var We = void 0;
48662
- if (Ie.modify("extend", "forward", "character"), We = qe(), We > Fe || _e(Ie, ze, !0))
48700
+ if (Ie.modify("extend", "forward", "character"), We = Pe(), We > Ne || _e(Ie, ze, !0))
48663
48701
  return Ie.modify("extend", "backward", "character"), !0;
48664
- if (We < Fe || !Ie.containsNode(Ae))
48702
+ if (We < Ne || !Ie.containsNode(Ae))
48665
48703
  return Ie.modify("extend", "backward", "character"), !1;
48666
- if (Ie.modify("extend", "backward", "character"), We = qe(), We > Fe || _e(Ie, Ae, !1))
48704
+ if (Ie.modify("extend", "backward", "character"), We = Pe(), We > Ne || _e(Ie, Ae, !1))
48667
48705
  return Ie.modify("extend", "forward", "character"), !1;
48668
- if (We < Fe || !Ie.containsNode(ze))
48706
+ if (We < Ne || !Ie.containsNode(ze))
48669
48707
  return Ie.modify("extend", "forward", "character"), !0;
48670
48708
  }
48671
48709
  }
@@ -48688,19 +48726,19 @@ function requireQuill() {
48688
48726
  var Ae = /\s*$/.exec(Ie.textContent)[0].length;
48689
48727
  return Ae ? Ae - 1 : 0;
48690
48728
  }
48691
- var Pe = /* @__PURE__ */ new Map();
48729
+ var qe = /* @__PURE__ */ new Map();
48692
48730
  function De(Ie) {
48693
48731
  if (de || he) {
48694
48732
  var Ae = (he ? document : Ie).getSelection();
48695
48733
  return Ae.rangeCount ? Ae.getRangeAt(0) : null;
48696
48734
  }
48697
- var ze = Pe.get(Ie);
48735
+ var ze = qe.get(Ie);
48698
48736
  if (ze)
48699
48737
  return ze;
48700
- var qe = He(Ie);
48701
- return Pe.set(Ie, qe.range), window.setTimeout(function() {
48702
- Pe.delete(Ie);
48703
- }, 0), qe.range;
48738
+ var Pe = He(Ie);
48739
+ return qe.set(Ie, Pe.range), window.setTimeout(function() {
48740
+ qe.delete(Ie);
48741
+ }, 0), Pe.range;
48704
48742
  }
48705
48743
  var Me = document.createTextNode("");
48706
48744
  function He(Ie) {
@@ -48708,12 +48746,12 @@ function requireQuill() {
48708
48746
  if (!ze.containsNode(Ie.host, !0))
48709
48747
  return { range: null, mode: "none" };
48710
48748
  Ie.insertBefore(Me, Ie.childNodes[0]);
48711
- var qe = ze.containsNode(Me);
48712
- if (Me.remove(), qe)
48749
+ var Pe = ze.containsNode(Me);
48750
+ if (Me.remove(), Pe)
48713
48751
  return { range: null, mode: "outside-before" };
48714
48752
  Ie.appendChild(Me);
48715
- var Fe = ze.containsNode(Me);
48716
- if (Me.remove(), Fe)
48753
+ var Ne = ze.containsNode(Me);
48754
+ if (Me.remove(), Ne)
48717
48755
  return { range: null, mode: "outside-after" };
48718
48756
  var We = function() {
48719
48757
  return ze.toString().length;
@@ -48804,8 +48842,8 @@ function requireQuill() {
48804
48842
  ye === null && (ye = Function.prototype);
48805
48843
  var Ce = Object.getOwnPropertyDescriptor(ye, Se);
48806
48844
  if (Ce === void 0) {
48807
- var Pe = Object.getPrototypeOf(ye);
48808
- return Pe === null ? void 0 : _e(Pe, Se, we);
48845
+ var qe = Object.getPrototypeOf(ye);
48846
+ return qe === null ? void 0 : _e(qe, Se, we);
48809
48847
  } else {
48810
48848
  if ("value" in Ce)
48811
48849
  return Ce.value;
@@ -48847,7 +48885,7 @@ function requireQuill() {
48847
48885
  }, {
48848
48886
  key: "restore",
48849
48887
  value: function(we) {
48850
- var Ce = void 0, Pe = void 0, De = we.data.split(ge).join("");
48888
+ var Ce = void 0, qe = void 0, De = we.data.split(ge).join("");
48851
48889
  if (we === this.leftGuard)
48852
48890
  if (this.prev instanceof he.default) {
48853
48891
  var Me = this.prev.length();
@@ -48856,15 +48894,15 @@ function requireQuill() {
48856
48894
  startOffset: Me + De.length
48857
48895
  };
48858
48896
  } else
48859
- Pe = document.createTextNode(De), this.parent.insertBefore(ce.default.create(Pe), this), Ce = {
48860
- startNode: Pe,
48897
+ qe = document.createTextNode(De), this.parent.insertBefore(ce.default.create(qe), this), Ce = {
48898
+ startNode: qe,
48861
48899
  startOffset: De.length
48862
48900
  };
48863
48901
  else we === this.rightGuard && (this.next instanceof he.default ? (this.next.insertAt(0, De), Ce = {
48864
48902
  startNode: this.next.domNode,
48865
48903
  startOffset: De.length
48866
- }) : (Pe = document.createTextNode(De), this.parent.insertBefore(ce.default.create(Pe), this.next), Ce = {
48867
- startNode: Pe,
48904
+ }) : (qe = document.createTextNode(De), this.parent.insertBefore(ce.default.create(qe), this.next), Ce = {
48905
+ startNode: qe,
48868
48906
  startOffset: De.length
48869
48907
  }));
48870
48908
  return we.data = ge, Ce;
@@ -48872,10 +48910,10 @@ function requireQuill() {
48872
48910
  }, {
48873
48911
  key: "update",
48874
48912
  value: function(we, Ce) {
48875
- var Pe = this;
48913
+ var qe = this;
48876
48914
  we.forEach(function(De) {
48877
- if (De.type === "characterData" && (De.target === Pe.leftGuard || De.target === Pe.rightGuard)) {
48878
- var Me = Pe.restore(De.target);
48915
+ if (De.type === "characterData" && (De.target === qe.leftGuard || De.target === qe.rightGuard)) {
48916
+ var Me = qe.restore(De.target);
48879
48917
  Me && (Ce.range = Me);
48880
48918
  }
48881
48919
  });
@@ -48953,8 +48991,8 @@ function requireQuill() {
48953
48991
  ye === null && (ye = Function.prototype);
48954
48992
  var Ce = Object.getOwnPropertyDescriptor(ye, Se);
48955
48993
  if (Ce === void 0) {
48956
- var Pe = Object.getPrototypeOf(ye);
48957
- return Pe === null ? void 0 : _e(Pe, Se, we);
48994
+ var qe = Object.getPrototypeOf(ye);
48995
+ return qe === null ? void 0 : _e(qe, Se, we);
48958
48996
  } else {
48959
48997
  if ("value" in Ce)
48960
48998
  return Ce.value;
@@ -49076,13 +49114,13 @@ function requireQuill() {
49076
49114
  }), te.getLastChangeIndex = te.default = void 0;
49077
49115
  var oe = /* @__PURE__ */ (function() {
49078
49116
  function Se(we, Ce) {
49079
- for (var Pe = 0; Pe < Ce.length; Pe++) {
49080
- var De = Ce[Pe];
49117
+ for (var qe = 0; qe < Ce.length; qe++) {
49118
+ var De = Ce[qe];
49081
49119
  De.enumerable = De.enumerable || !1, De.configurable = !0, "value" in De && (De.writable = !0), Object.defineProperty(we, De.key, De);
49082
49120
  }
49083
49121
  }
49084
- return function(we, Ce, Pe) {
49085
- return Ce && Se(we.prototype, Ce), Pe && Se(we, Pe), we;
49122
+ return function(we, Ce, qe) {
49123
+ return Ce && Se(we.prototype, Ce), qe && Se(we, qe), we;
49086
49124
  };
49087
49125
  })(), ne = re(0), de = fe(ne), ce = re(5), ue = fe(ce), he = re(9), pe = fe(he);
49088
49126
  function fe(Se) {
@@ -49104,20 +49142,20 @@ function requireQuill() {
49104
49142
  }
49105
49143
  var ve = (function(Se) {
49106
49144
  ge(we, Se);
49107
- function we(Ce, Pe) {
49145
+ function we(Ce, qe) {
49108
49146
  be(this, we);
49109
- var De = me(this, (we.__proto__ || Object.getPrototypeOf(we)).call(this, Ce, Pe));
49147
+ var De = me(this, (we.__proto__ || Object.getPrototypeOf(we)).call(this, Ce, qe));
49110
49148
  return De.lastRecorded = 0, De.ignoreChange = !1, De.clear(), De.quill.on(ue.default.events.EDITOR_CHANGE, function(Me, He, Ie, Ae) {
49111
49149
  Me !== ue.default.events.TEXT_CHANGE || De.ignoreChange || (!De.options.userOnly || Ae === ue.default.sources.USER ? De.record(He, Ie) : De.transform(He));
49112
49150
  }), De.quill.keyboard.addBinding({ key: "Z", shortKey: !0 }, De.undo.bind(De)), De.quill.keyboard.addBinding({ key: "Z", shortKey: !0, shiftKey: !0 }, De.redo.bind(De)), /Win/i.test(navigator.platform) && De.quill.keyboard.addBinding({ key: "Y", shortKey: !0 }, De.redo.bind(De)), De;
49113
49151
  }
49114
49152
  return oe(we, [{
49115
49153
  key: "change",
49116
- value: function(Pe, De) {
49117
- if (this.stack[Pe].length !== 0) {
49118
- var Me = this.stack[Pe].pop();
49119
- this.stack[De].push(Me), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(Me[Pe], ue.default.sources.USER), this.ignoreChange = !1;
49120
- var He = ye(Me[Pe]);
49154
+ value: function(qe, De) {
49155
+ if (this.stack[qe].length !== 0) {
49156
+ var Me = this.stack[qe].pop();
49157
+ this.stack[De].push(Me), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(Me[qe], ue.default.sources.USER), this.ignoreChange = !1;
49158
+ var He = ye(Me[qe]);
49121
49159
  this.quill.setSelection(He);
49122
49160
  }
49123
49161
  }
@@ -49133,17 +49171,17 @@ function requireQuill() {
49133
49171
  }
49134
49172
  }, {
49135
49173
  key: "record",
49136
- value: function(Pe, De) {
49137
- if (Pe.ops.length !== 0) {
49174
+ value: function(qe, De) {
49175
+ if (qe.ops.length !== 0) {
49138
49176
  this.stack.redo = [];
49139
49177
  var Me = this.quill.getContents().diff(De), He = Date.now();
49140
49178
  if (this.lastRecorded + this.options.delay > He && this.stack.undo.length > 0) {
49141
49179
  var Ie = this.stack.undo.pop();
49142
- Me = Me.compose(Ie.undo), Pe = Ie.redo.compose(Pe);
49180
+ Me = Me.compose(Ie.undo), qe = Ie.redo.compose(qe);
49143
49181
  } else
49144
49182
  this.lastRecorded = He;
49145
49183
  this.stack.undo.push({
49146
- redo: Pe,
49184
+ redo: qe,
49147
49185
  undo: Me
49148
49186
  }), this.stack.undo.length > this.options.maxStack && this.stack.undo.shift();
49149
49187
  }
@@ -49155,11 +49193,11 @@ function requireQuill() {
49155
49193
  }
49156
49194
  }, {
49157
49195
  key: "transform",
49158
- value: function(Pe) {
49196
+ value: function(qe) {
49159
49197
  this.stack.undo.forEach(function(De) {
49160
- De.undo = Pe.transform(De.undo, !0), De.redo = Pe.transform(De.redo, !0);
49198
+ De.undo = qe.transform(De.undo, !0), De.redo = qe.transform(De.redo, !0);
49161
49199
  }), this.stack.redo.forEach(function(De) {
49162
- De.undo = Pe.transform(De.undo, !0), De.redo = Pe.transform(De.redo, !0);
49200
+ De.undo = qe.transform(De.undo, !0), De.redo = qe.transform(De.redo, !0);
49163
49201
  });
49164
49202
  }
49165
49203
  }, {
@@ -49182,8 +49220,8 @@ function requireQuill() {
49182
49220
  }) : !1;
49183
49221
  }
49184
49222
  function ye(Se) {
49185
- var we = Se.reduce(function(Pe, De) {
49186
- return Pe += De.delete || 0, Pe;
49223
+ var we = Se.reduce(function(qe, De) {
49224
+ return qe += De.delete || 0, qe;
49187
49225
  }, 0), Ce = Se.length() - we;
49188
49226
  return _e(Se) && (Ce -= 1), Ce;
49189
49227
  }
@@ -49217,7 +49255,7 @@ function requireQuill() {
49217
49255
  var rt = Be.get;
49218
49256
  return rt === void 0 ? void 0 : rt.call(Xe);
49219
49257
  }
49220
- }, de = re(3), ce = He(de), ue = re(2), he = He(ue), pe = re(8), fe = He(pe), be = re(23), me = He(be), ge = re(35), ve = He(ge), _e = re(60), ye = He(_e), Se = re(61), we = He(Se), Ce = re(28), Pe = He(Ce), De = re(62), Me = He(De);
49258
+ }, de = re(3), ce = He(de), ue = re(2), he = He(ue), pe = re(8), fe = He(pe), be = re(23), me = He(be), ge = re(35), ve = He(ge), _e = re(60), ye = He(_e), Se = re(61), we = He(Se), Ce = re(28), qe = He(Ce), De = re(62), Me = He(De);
49221
49259
  function He(Ue) {
49222
49260
  return Ue && Ue.__esModule ? Ue : { default: Ue };
49223
49261
  }
@@ -49235,7 +49273,7 @@ function requireQuill() {
49235
49273
  throw new TypeError("Super expression must either be null or a function, not " + typeof Ve);
49236
49274
  Ue.prototype = Object.create(Ve && Ve.prototype, { constructor: { value: Ue, enumerable: !1, writable: !0, configurable: !0 } }), Ve && (Object.setPrototypeOf ? Object.setPrototypeOf(Ue, Ve) : Ue.__proto__ = Ve);
49237
49275
  }
49238
- var qe = [!1, "center", "right", "justify"], Fe = ["#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"], We = [!1, "serif", "monospace"], Ge = ["1", "2", "3", !1], Ke = ["petita", !1, "gran", "enorme"], ft = (function(Ue) {
49276
+ var Pe = [!1, "center", "right", "justify"], Ne = ["#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"], We = [!1, "serif", "monospace"], Ge = ["1", "2", "3", !1], Ke = ["petita", !1, "gran", "enorme"], ft = (function(Ue) {
49239
49277
  ze(Ve, Ue);
49240
49278
  function Ve(Qe, Xe) {
49241
49279
  Ie(this, Ve);
@@ -49278,12 +49316,12 @@ function requireQuill() {
49278
49316
  var Ye = this;
49279
49317
  this.pickers = Xe.map(function(ot) {
49280
49318
  if (ot.classList.contains("ql-align"))
49281
- return ot.querySelector("option") == null && Le(ot, qe), new we.default(ot, Be.align);
49319
+ return ot.querySelector("option") == null && Le(ot, Pe), new we.default(ot, Be.align);
49282
49320
  if (ot.classList.contains("ql-background") || ot.classList.contains("ql-color")) {
49283
49321
  var _t = ot.classList.contains("ql-background") ? "background" : "color";
49284
- return ot.querySelector("option") == null && Le(ot, Fe, _t === "background" ? "#ffffff" : "#000000"), new ye.default(ot, Be[_t]);
49322
+ return ot.querySelector("option") == null && Le(ot, Ne, _t === "background" ? "#ffffff" : "#000000"), new ye.default(ot, Be[_t]);
49285
49323
  } else
49286
- return ot.querySelector("option") == null && (ot.classList.contains("ql-font") ? Le(ot, We) : ot.classList.contains("ql-header") ? Le(ot, Ge) : ot.classList.contains("ql-size") && Le(ot, Ke)), new Pe.default(ot);
49324
+ return ot.querySelector("option") == null && (ot.classList.contains("ql-font") ? Le(ot, We) : ot.classList.contains("ql-header") ? Le(ot, Ge) : ot.classList.contains("ql-size") && Le(ot, Ke)), new qe.default(ot);
49287
49325
  });
49288
49326
  var rt = function() {
49289
49327
  Ye.pickers.forEach(function(_t) {
@@ -49507,8 +49545,8 @@ function requireQuill() {
49507
49545
  be === void 0 && (be = []), me === void 0 && (me = {}), pe.prototype.optimize.call(this, me);
49508
49546
  for (var ve = [].slice.call(this.observer.takeRecords()); ve.length > 0; )
49509
49547
  be.push(ve.pop());
49510
- for (var _e = function(Ce, Pe) {
49511
- Pe === void 0 && (Pe = !0), !(Ce == null || Ce === ge) && Ce.domNode.parentNode != null && (Ce.domNode[de.DATA_KEY].mutations == null && (Ce.domNode[de.DATA_KEY].mutations = []), Pe && _e(Ce.parent));
49548
+ for (var _e = function(Ce, qe) {
49549
+ qe === void 0 && (qe = !0), !(Ce == null || Ce === ge) && Ce.domNode.parentNode != null && (Ce.domNode[de.DATA_KEY].mutations == null && (Ce.domNode[de.DATA_KEY].mutations = []), qe && _e(Ce.parent));
49512
49550
  }, ye = function(Ce) {
49513
49551
  // @ts-ignore
49514
49552
  Ce.domNode[de.DATA_KEY] == null || // @ts-ignore
@@ -49517,13 +49555,13 @@ function requireQuill() {
49517
49555
  if (we >= ue)
49518
49556
  throw new Error("[Parchment] Maximum optimize iterations reached");
49519
49557
  for (Se.forEach(function(Ce) {
49520
- var Pe = de.find(Ce.target, !0);
49521
- Pe != null && (Pe.domNode === Ce.target && (Ce.type === "childList" ? (_e(de.find(Ce.previousSibling, !1)), [].forEach.call(Ce.addedNodes, function(De) {
49558
+ var qe = de.find(Ce.target, !0);
49559
+ qe != null && (qe.domNode === Ce.target && (Ce.type === "childList" ? (_e(de.find(Ce.previousSibling, !1)), [].forEach.call(Ce.addedNodes, function(De) {
49522
49560
  var Me = de.find(De, !1);
49523
49561
  _e(Me, !1), Me instanceof ne.default && Me.children.forEach(function(He) {
49524
49562
  _e(He, !1);
49525
49563
  });
49526
- })) : Ce.type === "attributes" && _e(Pe.prev)), _e(Pe));
49564
+ })) : Ce.type === "attributes" && _e(qe.prev)), _e(qe));
49527
49565
  }), this.children.forEach(ye), Se = [].slice.call(this.observer.takeRecords()), ve = Se.slice(); ve.length > 0; )
49528
49566
  be.push(ve.pop());
49529
49567
  }
@@ -49784,57 +49822,57 @@ function requireQuill() {
49784
49822
  /***/
49785
49823
  (function(X, te) {
49786
49824
  var re = -1, oe = 1, ne = 0;
49787
- function de(we, Ce, Pe) {
49825
+ function de(we, Ce, qe) {
49788
49826
  if (we == Ce)
49789
49827
  return we ? [[ne, we]] : [];
49790
- (Pe < 0 || we.length < Pe) && (Pe = null);
49828
+ (qe < 0 || we.length < qe) && (qe = null);
49791
49829
  var De = pe(we, Ce), Me = we.substring(0, De);
49792
49830
  we = we.substring(De), Ce = Ce.substring(De), De = fe(we, Ce);
49793
49831
  var He = we.substring(we.length - De);
49794
49832
  we = we.substring(0, we.length - De), Ce = Ce.substring(0, Ce.length - De);
49795
49833
  var Ie = ce(we, Ce);
49796
- return Me && Ie.unshift([ne, Me]), He && Ie.push([ne, He]), me(Ie), Pe != null && (Ie = _e(Ie, Pe)), Ie = ye(Ie), Ie;
49834
+ return Me && Ie.unshift([ne, Me]), He && Ie.push([ne, He]), me(Ie), qe != null && (Ie = _e(Ie, qe)), Ie = ye(Ie), Ie;
49797
49835
  }
49798
49836
  function ce(we, Ce) {
49799
- var Pe;
49837
+ var qe;
49800
49838
  if (!we)
49801
49839
  return [[oe, Ce]];
49802
49840
  if (!Ce)
49803
49841
  return [[re, we]];
49804
49842
  var De = we.length > Ce.length ? we : Ce, Me = we.length > Ce.length ? Ce : we, He = De.indexOf(Me);
49805
49843
  if (He != -1)
49806
- return Pe = [
49844
+ return qe = [
49807
49845
  [oe, De.substring(0, He)],
49808
49846
  [ne, Me],
49809
49847
  [oe, De.substring(He + Me.length)]
49810
- ], we.length > Ce.length && (Pe[0][0] = Pe[2][0] = re), Pe;
49848
+ ], we.length > Ce.length && (qe[0][0] = qe[2][0] = re), qe;
49811
49849
  if (Me.length == 1)
49812
49850
  return [[re, we], [oe, Ce]];
49813
49851
  var Ie = be(we, Ce);
49814
49852
  if (Ie) {
49815
- var Ae = Ie[0], ze = Ie[1], qe = Ie[2], Fe = Ie[3], We = Ie[4], Ge = de(Ae, qe), Ke = de(ze, Fe);
49853
+ var Ae = Ie[0], ze = Ie[1], Pe = Ie[2], Ne = Ie[3], We = Ie[4], Ge = de(Ae, Pe), Ke = de(ze, Ne);
49816
49854
  return Ge.concat([[ne, We]], Ke);
49817
49855
  }
49818
49856
  return ue(we, Ce);
49819
49857
  }
49820
49858
  function ue(we, Ce) {
49821
- for (var Pe = we.length, De = Ce.length, Me = Math.ceil((Pe + De) / 2), He = Me, Ie = 2 * Me, Ae = new Array(Ie), ze = new Array(Ie), qe = 0; qe < Ie; qe++)
49822
- Ae[qe] = -1, ze[qe] = -1;
49859
+ for (var qe = we.length, De = Ce.length, Me = Math.ceil((qe + De) / 2), He = Me, Ie = 2 * Me, Ae = new Array(Ie), ze = new Array(Ie), Pe = 0; Pe < Ie; Pe++)
49860
+ Ae[Pe] = -1, ze[Pe] = -1;
49823
49861
  Ae[He + 1] = 0, ze[He + 1] = 0;
49824
- for (var Fe = Pe - De, We = Fe % 2 != 0, Ge = 0, Ke = 0, ft = 0, Je = 0, Ze = 0; Ze < Me; Ze++) {
49862
+ for (var Ne = qe - De, We = Ne % 2 != 0, Ge = 0, Ke = 0, ft = 0, Je = 0, Ze = 0; Ze < Me; Ze++) {
49825
49863
  for (var Le = -Ze + Ge; Le <= Ze - Ke; Le += 2) {
49826
49864
  var Ue = He + Le, Ve;
49827
49865
  Le == -Ze || Le != Ze && Ae[Ue - 1] < Ae[Ue + 1] ? Ve = Ae[Ue + 1] : Ve = Ae[Ue - 1] + 1;
49828
- for (var Qe = Ve - Le; Ve < Pe && Qe < De && we.charAt(Ve) == Ce.charAt(Qe); )
49866
+ for (var Qe = Ve - Le; Ve < qe && Qe < De && we.charAt(Ve) == Ce.charAt(Qe); )
49829
49867
  Ve++, Qe++;
49830
- if (Ae[Ue] = Ve, Ve > Pe)
49868
+ if (Ae[Ue] = Ve, Ve > qe)
49831
49869
  Ke += 2;
49832
49870
  else if (Qe > De)
49833
49871
  Ge += 2;
49834
49872
  else if (We) {
49835
- var Xe = He + Fe - Le;
49873
+ var Xe = He + Ne - Le;
49836
49874
  if (Xe >= 0 && Xe < Ie && ze[Xe] != -1) {
49837
- var Be = Pe - ze[Xe];
49875
+ var Be = qe - ze[Xe];
49838
49876
  if (Ve >= Be)
49839
49877
  return he(we, Ce, Ve, Qe);
49840
49878
  }
@@ -49843,17 +49881,17 @@ function requireQuill() {
49843
49881
  for (var Ye = -Ze + ft; Ye <= Ze - Je; Ye += 2) {
49844
49882
  var Xe = He + Ye, Be;
49845
49883
  Ye == -Ze || Ye != Ze && ze[Xe - 1] < ze[Xe + 1] ? Be = ze[Xe + 1] : Be = ze[Xe - 1] + 1;
49846
- for (var rt = Be - Ye; Be < Pe && rt < De && we.charAt(Pe - Be - 1) == Ce.charAt(De - rt - 1); )
49884
+ for (var rt = Be - Ye; Be < qe && rt < De && we.charAt(qe - Be - 1) == Ce.charAt(De - rt - 1); )
49847
49885
  Be++, rt++;
49848
- if (ze[Xe] = Be, Be > Pe)
49886
+ if (ze[Xe] = Be, Be > qe)
49849
49887
  Je += 2;
49850
49888
  else if (rt > De)
49851
49889
  ft += 2;
49852
49890
  else if (!We) {
49853
- var Ue = He + Fe - Ye;
49891
+ var Ue = He + Ne - Ye;
49854
49892
  if (Ue >= 0 && Ue < Ie && Ae[Ue] != -1) {
49855
49893
  var Ve = Ae[Ue], Qe = He + Ve - Ue;
49856
- if (Be = Pe - Be, Ve >= Be)
49894
+ if (Be = qe - Be, Ve >= Be)
49857
49895
  return he(we, Ce, Ve, Qe);
49858
49896
  }
49859
49897
  }
@@ -49861,27 +49899,27 @@ function requireQuill() {
49861
49899
  }
49862
49900
  return [[re, we], [oe, Ce]];
49863
49901
  }
49864
- function he(we, Ce, Pe, De) {
49865
- var Me = we.substring(0, Pe), He = Ce.substring(0, De), Ie = we.substring(Pe), Ae = Ce.substring(De), ze = de(Me, He), qe = de(Ie, Ae);
49866
- return ze.concat(qe);
49902
+ function he(we, Ce, qe, De) {
49903
+ var Me = we.substring(0, qe), He = Ce.substring(0, De), Ie = we.substring(qe), Ae = Ce.substring(De), ze = de(Me, He), Pe = de(Ie, Ae);
49904
+ return ze.concat(Pe);
49867
49905
  }
49868
49906
  function pe(we, Ce) {
49869
49907
  if (!we || !Ce || we.charAt(0) != Ce.charAt(0))
49870
49908
  return 0;
49871
- for (var Pe = 0, De = Math.min(we.length, Ce.length), Me = De, He = 0; Pe < Me; )
49872
- we.substring(He, Me) == Ce.substring(He, Me) ? (Pe = Me, He = Pe) : De = Me, Me = Math.floor((De - Pe) / 2 + Pe);
49909
+ for (var qe = 0, De = Math.min(we.length, Ce.length), Me = De, He = 0; qe < Me; )
49910
+ we.substring(He, Me) == Ce.substring(He, Me) ? (qe = Me, He = qe) : De = Me, Me = Math.floor((De - qe) / 2 + qe);
49873
49911
  return Me;
49874
49912
  }
49875
49913
  function fe(we, Ce) {
49876
49914
  if (!we || !Ce || we.charAt(we.length - 1) != Ce.charAt(Ce.length - 1))
49877
49915
  return 0;
49878
- for (var Pe = 0, De = Math.min(we.length, Ce.length), Me = De, He = 0; Pe < Me; )
49879
- we.substring(we.length - Me, we.length - He) == Ce.substring(Ce.length - Me, Ce.length - He) ? (Pe = Me, He = Pe) : De = Me, Me = Math.floor((De - Pe) / 2 + Pe);
49916
+ for (var qe = 0, De = Math.min(we.length, Ce.length), Me = De, He = 0; qe < Me; )
49917
+ we.substring(we.length - Me, we.length - He) == Ce.substring(Ce.length - Me, Ce.length - He) ? (qe = Me, He = qe) : De = Me, Me = Math.floor((De - qe) / 2 + qe);
49880
49918
  return Me;
49881
49919
  }
49882
49920
  function be(we, Ce) {
49883
- var Pe = we.length > Ce.length ? we : Ce, De = we.length > Ce.length ? Ce : we;
49884
- if (Pe.length < 4 || De.length * 2 < Pe.length)
49921
+ var qe = we.length > Ce.length ? we : Ce, De = we.length > Ce.length ? Ce : we;
49922
+ if (qe.length < 4 || De.length * 2 < qe.length)
49885
49923
  return null;
49886
49924
  function Me(Ke, ft, Je) {
49887
49925
  for (var Ze = Ke.substring(Je, Je + Math.floor(Ke.length / 4)), Le = -1, Ue = "", Ve, Qe, Xe, Be; (Le = ft.indexOf(Ze, Le + 1)) != -1; ) {
@@ -49903,50 +49941,50 @@ function requireQuill() {
49903
49941
  ] : null;
49904
49942
  }
49905
49943
  var He = Me(
49906
- Pe,
49944
+ qe,
49907
49945
  De,
49908
- Math.ceil(Pe.length / 4)
49946
+ Math.ceil(qe.length / 4)
49909
49947
  ), Ie = Me(
49910
- Pe,
49948
+ qe,
49911
49949
  De,
49912
- Math.ceil(Pe.length / 2)
49950
+ Math.ceil(qe.length / 2)
49913
49951
  ), Ae;
49914
49952
  if (!He && !Ie)
49915
49953
  return null;
49916
49954
  Ie ? He ? Ae = He[4].length > Ie[4].length ? He : Ie : Ae = Ie : Ae = He;
49917
- var ze, qe, Fe, We;
49918
- we.length > Ce.length ? (ze = Ae[0], qe = Ae[1], Fe = Ae[2], We = Ae[3]) : (Fe = Ae[0], We = Ae[1], ze = Ae[2], qe = Ae[3]);
49955
+ var ze, Pe, Ne, We;
49956
+ we.length > Ce.length ? (ze = Ae[0], Pe = Ae[1], Ne = Ae[2], We = Ae[3]) : (Ne = Ae[0], We = Ae[1], ze = Ae[2], Pe = Ae[3]);
49919
49957
  var Ge = Ae[4];
49920
- return [ze, qe, Fe, We, Ge];
49958
+ return [ze, Pe, Ne, We, Ge];
49921
49959
  }
49922
49960
  function me(we) {
49923
49961
  we.push([ne, ""]);
49924
- for (var Ce = 0, Pe = 0, De = 0, Me = "", He = "", Ie; Ce < we.length; )
49962
+ for (var Ce = 0, qe = 0, De = 0, Me = "", He = "", Ie; Ce < we.length; )
49925
49963
  switch (we[Ce][0]) {
49926
49964
  case oe:
49927
49965
  De++, He += we[Ce][1], Ce++;
49928
49966
  break;
49929
49967
  case re:
49930
- Pe++, Me += we[Ce][1], Ce++;
49968
+ qe++, Me += we[Ce][1], Ce++;
49931
49969
  break;
49932
49970
  case ne:
49933
- Pe + De > 1 ? (Pe !== 0 && De !== 0 && (Ie = pe(He, Me), Ie !== 0 && (Ce - Pe - De > 0 && we[Ce - Pe - De - 1][0] == ne ? we[Ce - Pe - De - 1][1] += He.substring(0, Ie) : (we.splice(0, 0, [
49971
+ qe + De > 1 ? (qe !== 0 && De !== 0 && (Ie = pe(He, Me), Ie !== 0 && (Ce - qe - De > 0 && we[Ce - qe - De - 1][0] == ne ? we[Ce - qe - De - 1][1] += He.substring(0, Ie) : (we.splice(0, 0, [
49934
49972
  ne,
49935
49973
  He.substring(0, Ie)
49936
- ]), Ce++), He = He.substring(Ie), Me = Me.substring(Ie)), Ie = fe(He, Me), Ie !== 0 && (we[Ce][1] = He.substring(He.length - Ie) + we[Ce][1], He = He.substring(0, He.length - Ie), Me = Me.substring(0, Me.length - Ie))), Pe === 0 ? we.splice(
49974
+ ]), Ce++), He = He.substring(Ie), Me = Me.substring(Ie)), Ie = fe(He, Me), Ie !== 0 && (we[Ce][1] = He.substring(He.length - Ie) + we[Ce][1], He = He.substring(0, He.length - Ie), Me = Me.substring(0, Me.length - Ie))), qe === 0 ? we.splice(
49937
49975
  Ce - De,
49938
- Pe + De,
49976
+ qe + De,
49939
49977
  [oe, He]
49940
49978
  ) : De === 0 ? we.splice(
49941
- Ce - Pe,
49942
- Pe + De,
49979
+ Ce - qe,
49980
+ qe + De,
49943
49981
  [re, Me]
49944
49982
  ) : we.splice(
49945
- Ce - Pe - De,
49946
- Pe + De,
49983
+ Ce - qe - De,
49984
+ qe + De,
49947
49985
  [re, Me],
49948
49986
  [oe, He]
49949
- ), Ce = Ce - Pe - De + (Pe ? 1 : 0) + (De ? 1 : 0) + 1) : Ce !== 0 && we[Ce - 1][0] == ne ? (we[Ce - 1][1] += we[Ce][1], we.splice(Ce, 1)) : Ce++, De = 0, Pe = 0, Me = "", He = "";
49987
+ ), Ce = Ce - qe - De + (qe ? 1 : 0) + (De ? 1 : 0) + 1) : Ce !== 0 && we[Ce - 1][0] == ne ? (we[Ce - 1][1] += we[Ce][1], we.splice(Ce, 1)) : Ce++, De = 0, qe = 0, Me = "", He = "";
49950
49988
  break;
49951
49989
  }
49952
49990
  we[we.length - 1][1] === "" && we.pop();
@@ -49960,24 +49998,24 @@ function requireQuill() {
49960
49998
  function ve(we, Ce) {
49961
49999
  if (Ce === 0)
49962
50000
  return [ne, we];
49963
- for (var Pe = 0, De = 0; De < we.length; De++) {
50001
+ for (var qe = 0, De = 0; De < we.length; De++) {
49964
50002
  var Me = we[De];
49965
50003
  if (Me[0] === re || Me[0] === ne) {
49966
- var He = Pe + Me[1].length;
50004
+ var He = qe + Me[1].length;
49967
50005
  if (Ce === He)
49968
50006
  return [De + 1, we];
49969
50007
  if (Ce < He) {
49970
50008
  we = we.slice();
49971
- var Ie = Ce - Pe, Ae = [Me[0], Me[1].slice(0, Ie)], ze = [Me[0], Me[1].slice(Ie)];
50009
+ var Ie = Ce - qe, Ae = [Me[0], Me[1].slice(0, Ie)], ze = [Me[0], Me[1].slice(Ie)];
49972
50010
  return we.splice(De, 1, Ae, ze), [De + 1, we];
49973
50011
  } else
49974
- Pe = He;
50012
+ qe = He;
49975
50013
  }
49976
50014
  }
49977
50015
  throw new Error("cursor_pos is out of bounds!");
49978
50016
  }
49979
50017
  function _e(we, Ce) {
49980
- var Pe = ve(we, Ce), De = Pe[1], Me = Pe[0], He = De[Me], Ie = De[Me + 1];
50018
+ var qe = ve(we, Ce), De = qe[1], Me = qe[0], He = De[Me], Ie = De[Me + 1];
49981
50019
  if (He == null)
49982
50020
  return we;
49983
50021
  if (He[0] !== ne)
@@ -49992,20 +50030,20 @@ function requireQuill() {
49992
50030
  return we;
49993
50031
  }
49994
50032
  function ye(we) {
49995
- for (var Ce = !1, Pe = function(Ie) {
50033
+ for (var Ce = !1, qe = function(Ie) {
49996
50034
  return Ie.charCodeAt(0) >= 56320 && Ie.charCodeAt(0) <= 57343;
49997
50035
  }, De = function(Ie) {
49998
50036
  return Ie.charCodeAt(Ie.length - 1) >= 55296 && Ie.charCodeAt(Ie.length - 1) <= 56319;
49999
50037
  }, Me = 2; Me < we.length; Me += 1)
50000
- we[Me - 2][0] === ne && De(we[Me - 2][1]) && we[Me - 1][0] === re && Pe(we[Me - 1][1]) && we[Me][0] === oe && Pe(we[Me][1]) && (Ce = !0, we[Me - 1][1] = we[Me - 2][1].slice(-1) + we[Me - 1][1], we[Me][1] = we[Me - 2][1].slice(-1) + we[Me][1], we[Me - 2][1] = we[Me - 2][1].slice(0, -1));
50038
+ we[Me - 2][0] === ne && De(we[Me - 2][1]) && we[Me - 1][0] === re && qe(we[Me - 1][1]) && we[Me][0] === oe && qe(we[Me][1]) && (Ce = !0, we[Me - 1][1] = we[Me - 2][1].slice(-1) + we[Me - 1][1], we[Me][1] = we[Me - 2][1].slice(-1) + we[Me][1], we[Me - 2][1] = we[Me - 2][1].slice(0, -1));
50001
50039
  if (!Ce)
50002
50040
  return we;
50003
50041
  for (var He = [], Me = 0; Me < we.length; Me += 1)
50004
50042
  we[Me][1].length > 0 && He.push(we[Me]);
50005
50043
  return He;
50006
50044
  }
50007
- function Se(we, Ce, Pe) {
50008
- for (var De = Ce + Pe - 1; De >= 0 && De >= Ce - 1; De--)
50045
+ function Se(we, Ce, qe) {
50046
+ for (var De = Ce + qe - 1; De >= 0 && De >= Ce - 1; De--)
50009
50047
  if (De + 1 < we.length) {
50010
50048
  var Me = we[De], He = we[De + 1];
50011
50049
  Me[0] === He[1] && we.splice(De, 2, [Me[0], Me[1] + He[1]]);
@@ -50088,7 +50126,7 @@ function requireQuill() {
50088
50126
  Se[we - 1] = arguments[we];
50089
50127
  _e.fn.apply(_e.context, Se);
50090
50128
  } else {
50091
- var Ce = _e.length, Pe;
50129
+ var Ce = _e.length, qe;
50092
50130
  for (we = 0; we < Ce; we++)
50093
50131
  switch (_e[we].once && this.removeListener(he, _e[we].fn, void 0, !0), ye) {
50094
50132
  case 1:
@@ -50104,8 +50142,8 @@ function requireQuill() {
50104
50142
  _e[we].fn.call(_e[we].context, pe, fe, be);
50105
50143
  break;
50106
50144
  default:
50107
- if (!Se) for (Pe = 1, Se = new Array(ye - 1); Pe < ye; Pe++)
50108
- Se[Pe - 1] = arguments[Pe];
50145
+ if (!Se) for (qe = 1, Se = new Array(ye - 1); qe < ye; qe++)
50146
+ Se[qe - 1] = arguments[qe];
50109
50147
  _e[we].fn.apply(_e[we].context, Se);
50110
50148
  }
50111
50149
  }
@@ -50181,14 +50219,14 @@ function requireQuill() {
50181
50219
  return function(mt, xt, Ct) {
50182
50220
  return xt && gt(mt.prototype, xt), Ct && gt(mt, Ct), mt;
50183
50221
  };
50184
- })(), ce = re(3), ue = ze(ce), he = re(2), pe = ze(he), fe = re(0), be = ze(fe), me = re(5), ge = ze(me), ve = re(10), _e = ze(ve), ye = re(9), Se = ze(ye), we = re(37), Ce = re(38), Pe = re(13), De = ze(Pe), Me = re(26), He = re(39), Ie = re(40), Ae = re(41);
50222
+ })(), ce = re(3), ue = ze(ce), he = re(2), pe = ze(he), fe = re(0), be = ze(fe), me = re(5), ge = ze(me), ve = re(10), _e = ze(ve), ye = re(9), Se = ze(ye), we = re(37), Ce = re(38), qe = re(13), De = ze(qe), Me = re(26), He = re(39), Ie = re(40), Ae = re(41);
50185
50223
  function ze(gt) {
50186
50224
  return gt && gt.__esModule ? gt : { default: gt };
50187
50225
  }
50188
- function qe(gt, mt, xt) {
50226
+ function Pe(gt, mt, xt) {
50189
50227
  return mt in gt ? Object.defineProperty(gt, mt, { value: xt, enumerable: !0, configurable: !0, writable: !0 }) : gt[mt] = xt, gt;
50190
50228
  }
50191
- function Fe(gt, mt) {
50229
+ function Ne(gt, mt) {
50192
50230
  if (!(gt instanceof mt))
50193
50231
  throw new TypeError("Cannot call a class as a function");
50194
50232
  }
@@ -50209,7 +50247,7 @@ function requireQuill() {
50209
50247
  }, {}), Ue = (function(gt) {
50210
50248
  Ge(mt, gt);
50211
50249
  function mt(xt, Ct) {
50212
- Fe(this, mt);
50250
+ Ne(this, mt);
50213
50251
  var wt = We(this, (mt.__proto__ || Object.getPrototypeOf(mt)).call(this, xt, Ct));
50214
50252
  return wt.quill.root.addEventListener("paste", wt.onPaste.bind(wt)), wt.container = wt.quill.addContainer("ql-clipboard"), wt.container.setAttribute("contenteditable", !0), wt.container.setAttribute("tabindex", -1), wt.matchers = [], Je.concat(wt.options.matchers).forEach(function(Lt) {
50215
50253
  var Mt = ne(Lt, 2), Ft = Mt[0], cs = Mt[1];
@@ -50229,7 +50267,7 @@ function requireQuill() {
50229
50267
  var wt = this.quill.getFormat(this.quill.selection.savedRange.index);
50230
50268
  if (wt[De.default.blotName]) {
50231
50269
  var Lt = this.container.innerText;
50232
- return this.container.innerHTML = "", new pe.default().insert(Lt, qe({}, De.default.blotName, wt[De.default.blotName]));
50270
+ return this.container.innerHTML = "", new pe.default().insert(Lt, Pe({}, De.default.blotName, wt[De.default.blotName]));
50233
50271
  }
50234
50272
  var Mt = this.prepareMatching(), Ft = ne(Mt, 2), cs = Ft[0], ds = Ft[1], Kt = Ye(this.container, cs, ds);
50235
50273
  return Xe(Kt, `
@@ -50288,7 +50326,7 @@ function requireQuill() {
50288
50326
  return (typeof mt > "u" ? "undefined" : oe(mt)) === "object" ? Object.keys(mt).reduce(function(Ct, wt) {
50289
50327
  return Ve(Ct, wt, mt[wt]);
50290
50328
  }, gt) : gt.reduce(function(Ct, wt) {
50291
- return wt.attributes && wt.attributes[mt] ? Ct.push(wt) : Ct.insert(wt.insert, (0, ue.default)({}, qe({}, mt, xt), wt.attributes));
50329
+ return wt.attributes && wt.attributes[mt] ? Ct.push(wt) : Ct.insert(wt.insert, (0, ue.default)({}, Pe({}, mt, xt), wt.attributes));
50292
50330
  }, new pe.default());
50293
50331
  }
50294
50332
  function Qe(gt) {
@@ -50469,10 +50507,10 @@ function requireQuill() {
50469
50507
  value: !0
50470
50508
  }), te.addControls = te.default = void 0;
50471
50509
  var oe = /* @__PURE__ */ (function() {
50472
- function ze(qe, Fe) {
50510
+ function ze(Pe, Ne) {
50473
50511
  var We = [], Ge = !0, Ke = !1, ft = void 0;
50474
50512
  try {
50475
- for (var Je = qe[Symbol.iterator](), Ze; !(Ge = (Ze = Je.next()).done) && (We.push(Ze.value), !(Fe && We.length === Fe)); Ge = !0)
50513
+ for (var Je = Pe[Symbol.iterator](), Ze; !(Ge = (Ze = Je.next()).done) && (We.push(Ze.value), !(Ne && We.length === Ne)); Ge = !0)
50476
50514
  ;
50477
50515
  } catch (Le) {
50478
50516
  Ke = !0, ft = Le;
@@ -50485,54 +50523,54 @@ function requireQuill() {
50485
50523
  }
50486
50524
  return We;
50487
50525
  }
50488
- return function(qe, Fe) {
50489
- if (Array.isArray(qe))
50490
- return qe;
50491
- if (Symbol.iterator in Object(qe))
50492
- return ze(qe, Fe);
50526
+ return function(Pe, Ne) {
50527
+ if (Array.isArray(Pe))
50528
+ return Pe;
50529
+ if (Symbol.iterator in Object(Pe))
50530
+ return ze(Pe, Ne);
50493
50531
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
50494
50532
  };
50495
50533
  })(), ne = /* @__PURE__ */ (function() {
50496
- function ze(qe, Fe) {
50497
- for (var We = 0; We < Fe.length; We++) {
50498
- var Ge = Fe[We];
50499
- Ge.enumerable = Ge.enumerable || !1, Ge.configurable = !0, "value" in Ge && (Ge.writable = !0), Object.defineProperty(qe, Ge.key, Ge);
50534
+ function ze(Pe, Ne) {
50535
+ for (var We = 0; We < Ne.length; We++) {
50536
+ var Ge = Ne[We];
50537
+ Ge.enumerable = Ge.enumerable || !1, Ge.configurable = !0, "value" in Ge && (Ge.writable = !0), Object.defineProperty(Pe, Ge.key, Ge);
50500
50538
  }
50501
50539
  }
50502
- return function(qe, Fe, We) {
50503
- return Fe && ze(qe.prototype, Fe), We && ze(qe, We), qe;
50540
+ return function(Pe, Ne, We) {
50541
+ return Ne && ze(Pe.prototype, Ne), We && ze(Pe, We), Pe;
50504
50542
  };
50505
50543
  })(), de = re(2), ce = _e(de), ue = re(0), he = _e(ue), pe = re(5), fe = _e(pe), be = re(10), me = _e(be), ge = re(9), ve = _e(ge);
50506
50544
  function _e(ze) {
50507
50545
  return ze && ze.__esModule ? ze : { default: ze };
50508
50546
  }
50509
- function ye(ze, qe, Fe) {
50510
- return qe in ze ? Object.defineProperty(ze, qe, { value: Fe, enumerable: !0, configurable: !0, writable: !0 }) : ze[qe] = Fe, ze;
50547
+ function ye(ze, Pe, Ne) {
50548
+ return Pe in ze ? Object.defineProperty(ze, Pe, { value: Ne, enumerable: !0, configurable: !0, writable: !0 }) : ze[Pe] = Ne, ze;
50511
50549
  }
50512
- function Se(ze, qe) {
50513
- if (!(ze instanceof qe))
50550
+ function Se(ze, Pe) {
50551
+ if (!(ze instanceof Pe))
50514
50552
  throw new TypeError("Cannot call a class as a function");
50515
50553
  }
50516
- function we(ze, qe) {
50554
+ function we(ze, Pe) {
50517
50555
  if (!ze)
50518
50556
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
50519
- return qe && (typeof qe == "object" || typeof qe == "function") ? qe : ze;
50557
+ return Pe && (typeof Pe == "object" || typeof Pe == "function") ? Pe : ze;
50520
50558
  }
50521
- function Ce(ze, qe) {
50522
- if (typeof qe != "function" && qe !== null)
50523
- throw new TypeError("Super expression must either be null or a function, not " + typeof qe);
50524
- ze.prototype = Object.create(qe && qe.prototype, { constructor: { value: ze, enumerable: !1, writable: !0, configurable: !0 } }), qe && (Object.setPrototypeOf ? Object.setPrototypeOf(ze, qe) : ze.__proto__ = qe);
50559
+ function Ce(ze, Pe) {
50560
+ if (typeof Pe != "function" && Pe !== null)
50561
+ throw new TypeError("Super expression must either be null or a function, not " + typeof Pe);
50562
+ ze.prototype = Object.create(Pe && Pe.prototype, { constructor: { value: ze, enumerable: !1, writable: !0, configurable: !0 } }), Pe && (Object.setPrototypeOf ? Object.setPrototypeOf(ze, Pe) : ze.__proto__ = Pe);
50525
50563
  }
50526
- var Pe = "getRootNode" in document, De = (0, me.default)("quill:toolbar"), Me = (function(ze) {
50527
- Ce(qe, ze);
50528
- function qe(Fe, We) {
50529
- Se(this, qe);
50530
- var Ge = we(this, (qe.__proto__ || Object.getPrototypeOf(qe)).call(this, Fe, We));
50564
+ var qe = "getRootNode" in document, De = (0, me.default)("quill:toolbar"), Me = (function(ze) {
50565
+ Ce(Pe, ze);
50566
+ function Pe(Ne, We) {
50567
+ Se(this, Pe);
50568
+ var Ge = we(this, (Pe.__proto__ || Object.getPrototypeOf(Pe)).call(this, Ne, We));
50531
50569
  if (Array.isArray(Ge.options.container)) {
50532
50570
  var Ke = document.createElement("div");
50533
- Ie(Ke, Ge.options.container), Fe.container.parentNode.insertBefore(Ke, Fe.container), Ge.container = Ke;
50571
+ Ie(Ke, Ge.options.container), Ne.container.parentNode.insertBefore(Ke, Ne.container), Ge.container = Ke;
50534
50572
  } else if (typeof Ge.options.container == "string") {
50535
- var ft = Pe ? Fe.container.getRootNode() : document;
50573
+ var ft = qe ? Ne.container.getRootNode() : document;
50536
50574
  Ge.container = ft.querySelector(Ge.options.container);
50537
50575
  } else
50538
50576
  Ge.container = Ge.options.container;
@@ -50551,7 +50589,7 @@ function requireQuill() {
50551
50589
  Ge.update(Ue);
50552
50590
  }), Ge;
50553
50591
  }
50554
- return ne(qe, [{
50592
+ return ne(Pe, [{
50555
50593
  key: "addHandler",
50556
50594
  value: function(We, Ge) {
50557
50595
  this.handlers[We] = Ge;
@@ -50621,17 +50659,17 @@ function requireQuill() {
50621
50659
  Ze.classList.toggle("ql-active", Ge[Je] != null);
50622
50660
  });
50623
50661
  }
50624
- }]), qe;
50662
+ }]), Pe;
50625
50663
  })(ve.default);
50626
50664
  Me.DEFAULTS = {};
50627
- function He(ze, qe, Fe) {
50665
+ function He(ze, Pe, Ne) {
50628
50666
  var We = document.createElement("button");
50629
- We.setAttribute("type", "button"), We.classList.add("ql-" + qe), Fe != null && (We.value = Fe), ze.appendChild(We);
50667
+ We.setAttribute("type", "button"), We.classList.add("ql-" + Pe), Ne != null && (We.value = Ne), ze.appendChild(We);
50630
50668
  }
50631
- function Ie(ze, qe) {
50632
- Array.isArray(qe[0]) || (qe = [qe]), qe.forEach(function(Fe) {
50669
+ function Ie(ze, Pe) {
50670
+ Array.isArray(Pe[0]) || (Pe = [Pe]), Pe.forEach(function(Ne) {
50633
50671
  var We = document.createElement("span");
50634
- We.classList.add("ql-formats"), Fe.forEach(function(Ge) {
50672
+ We.classList.add("ql-formats"), Ne.forEach(function(Ge) {
50635
50673
  if (typeof Ge == "string")
50636
50674
  He(We, Ge);
50637
50675
  else {
@@ -50641,9 +50679,9 @@ function requireQuill() {
50641
50679
  }), ze.appendChild(We);
50642
50680
  });
50643
50681
  }
50644
- function Ae(ze, qe, Fe) {
50682
+ function Ae(ze, Pe, Ne) {
50645
50683
  var We = document.createElement("select");
50646
- We.classList.add("ql-" + qe), Fe.forEach(function(Ge) {
50684
+ We.classList.add("ql-" + Pe), Ne.forEach(function(Ge) {
50647
50685
  var Ke = document.createElement("option");
50648
50686
  Ge !== !1 ? Ke.setAttribute("value", Ge) : Ke.setAttribute("selected", "selected"), We.appendChild(Ke);
50649
50687
  }), ze.appendChild(We);
@@ -50652,33 +50690,33 @@ function requireQuill() {
50652
50690
  container: null,
50653
50691
  handlers: {
50654
50692
  clean: function() {
50655
- var qe = this, Fe = this.quill.getSelection();
50656
- if (Fe != null)
50657
- if (Fe.length == 0) {
50693
+ var Pe = this, Ne = this.quill.getSelection();
50694
+ if (Ne != null)
50695
+ if (Ne.length == 0) {
50658
50696
  var We = this.quill.getFormat();
50659
50697
  Object.keys(We).forEach(function(Ge) {
50660
- he.default.query(Ge, he.default.Scope.INLINE) != null && qe.quill.format(Ge, !1);
50698
+ he.default.query(Ge, he.default.Scope.INLINE) != null && Pe.quill.format(Ge, !1);
50661
50699
  });
50662
50700
  } else
50663
- this.quill.removeFormat(Fe, fe.default.sources.USER);
50701
+ this.quill.removeFormat(Ne, fe.default.sources.USER);
50664
50702
  },
50665
- direction: function(qe) {
50666
- var Fe = this.quill.getFormat().align;
50667
- qe === "rtl" && Fe == null ? this.quill.format("align", "right", fe.default.sources.USER) : !qe && Fe === "right" && this.quill.format("align", !1, fe.default.sources.USER), this.quill.format("direction", qe, fe.default.sources.USER);
50703
+ direction: function(Pe) {
50704
+ var Ne = this.quill.getFormat().align;
50705
+ Pe === "rtl" && Ne == null ? this.quill.format("align", "right", fe.default.sources.USER) : !Pe && Ne === "right" && this.quill.format("align", !1, fe.default.sources.USER), this.quill.format("direction", Pe, fe.default.sources.USER);
50668
50706
  },
50669
- indent: function(qe) {
50670
- var Fe = this.quill.getSelection(), We = this.quill.getFormat(Fe), Ge = parseInt(We.indent || 0);
50671
- if (qe === "+1" || qe === "-1") {
50672
- var Ke = qe === "+1" ? 1 : -1;
50707
+ indent: function(Pe) {
50708
+ var Ne = this.quill.getSelection(), We = this.quill.getFormat(Ne), Ge = parseInt(We.indent || 0);
50709
+ if (Pe === "+1" || Pe === "-1") {
50710
+ var Ke = Pe === "+1" ? 1 : -1;
50673
50711
  We.direction === "rtl" && (Ke *= -1), this.quill.format("indent", Ge + Ke, fe.default.sources.USER);
50674
50712
  }
50675
50713
  },
50676
- link: function(qe) {
50677
- qe === !0 && (qe = prompt("Enter link URL:")), this.quill.format("link", qe, fe.default.sources.USER);
50714
+ link: function(Pe) {
50715
+ Pe === !0 && (Pe = prompt("Enter link URL:")), this.quill.format("link", Pe, fe.default.sources.USER);
50678
50716
  },
50679
- list: function(qe) {
50680
- var Fe = this.quill.getSelection(), We = this.quill.getFormat(Fe);
50681
- qe === "check" ? We.list === "checked" || We.list === "unchecked" ? this.quill.format("list", !1, fe.default.sources.USER) : this.quill.format("list", "unchecked", fe.default.sources.USER) : this.quill.format("list", qe, fe.default.sources.USER);
50717
+ list: function(Pe) {
50718
+ var Ne = this.quill.getSelection(), We = this.quill.getFormat(Ne);
50719
+ Pe === "check" ? We.list === "checked" || We.list === "unchecked" ? this.quill.format("list", !1, fe.default.sources.USER) : this.quill.format("list", "unchecked", fe.default.sources.USER) : this.quill.format("list", Pe, fe.default.sources.USER);
50682
50720
  }
50683
50721
  }
50684
50722
  }, te.default = Me, te.addControls = Ie;
@@ -50886,20 +50924,20 @@ function requireQuill() {
50886
50924
  });
50887
50925
  var oe = /* @__PURE__ */ (function() {
50888
50926
  function Ie(Ae, ze) {
50889
- var qe = [], Fe = !0, We = !1, Ge = void 0;
50927
+ var Pe = [], Ne = !0, We = !1, Ge = void 0;
50890
50928
  try {
50891
- for (var Ke = Ae[Symbol.iterator](), ft; !(Fe = (ft = Ke.next()).done) && (qe.push(ft.value), !(ze && qe.length === ze)); Fe = !0)
50929
+ for (var Ke = Ae[Symbol.iterator](), ft; !(Ne = (ft = Ke.next()).done) && (Pe.push(ft.value), !(ze && Pe.length === ze)); Ne = !0)
50892
50930
  ;
50893
50931
  } catch (Je) {
50894
50932
  We = !0, Ge = Je;
50895
50933
  } finally {
50896
50934
  try {
50897
- !Fe && Ke.return && Ke.return();
50935
+ !Ne && Ke.return && Ke.return();
50898
50936
  } finally {
50899
50937
  if (We) throw Ge;
50900
50938
  }
50901
50939
  }
50902
- return qe;
50940
+ return Pe;
50903
50941
  }
50904
50942
  return function(Ae, ze) {
50905
50943
  if (Array.isArray(Ae))
@@ -50908,27 +50946,27 @@ function requireQuill() {
50908
50946
  return Ie(Ae, ze);
50909
50947
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
50910
50948
  };
50911
- })(), ne = function Ie(Ae, ze, qe) {
50949
+ })(), ne = function Ie(Ae, ze, Pe) {
50912
50950
  Ae === null && (Ae = Function.prototype);
50913
- var Fe = Object.getOwnPropertyDescriptor(Ae, ze);
50914
- if (Fe === void 0) {
50951
+ var Ne = Object.getOwnPropertyDescriptor(Ae, ze);
50952
+ if (Ne === void 0) {
50915
50953
  var We = Object.getPrototypeOf(Ae);
50916
- return We === null ? void 0 : Ie(We, ze, qe);
50954
+ return We === null ? void 0 : Ie(We, ze, Pe);
50917
50955
  } else {
50918
- if ("value" in Fe)
50919
- return Fe.value;
50920
- var Ge = Fe.get;
50921
- return Ge === void 0 ? void 0 : Ge.call(qe);
50956
+ if ("value" in Ne)
50957
+ return Ne.value;
50958
+ var Ge = Ne.get;
50959
+ return Ge === void 0 ? void 0 : Ge.call(Pe);
50922
50960
  }
50923
50961
  }, de = /* @__PURE__ */ (function() {
50924
50962
  function Ie(Ae, ze) {
50925
- for (var qe = 0; qe < ze.length; qe++) {
50926
- var Fe = ze[qe];
50927
- Fe.enumerable = Fe.enumerable || !1, Fe.configurable = !0, "value" in Fe && (Fe.writable = !0), Object.defineProperty(Ae, Fe.key, Fe);
50963
+ for (var Pe = 0; Pe < ze.length; Pe++) {
50964
+ var Ne = ze[Pe];
50965
+ Ne.enumerable = Ne.enumerable || !1, Ne.configurable = !0, "value" in Ne && (Ne.writable = !0), Object.defineProperty(Ae, Ne.key, Ne);
50928
50966
  }
50929
50967
  }
50930
- return function(Ae, ze, qe) {
50931
- return ze && Ie(Ae.prototype, ze), qe && Ie(Ae, qe), Ae;
50968
+ return function(Ae, ze, Pe) {
50969
+ return ze && Ie(Ae.prototype, ze), Pe && Ie(Ae, Pe), Ae;
50932
50970
  };
50933
50971
  })(), ce = re(3), ue = Se(ce), he = re(8), pe = Se(he), fe = re(44), be = Se(fe), me = re(27), ge = Se(me), ve = re(15), _e = re(42), ye = Se(_e);
50934
50972
  function Se(Ie) {
@@ -50943,23 +50981,23 @@ function requireQuill() {
50943
50981
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
50944
50982
  return Ae && (typeof Ae == "object" || typeof Ae == "function") ? Ae : Ie;
50945
50983
  }
50946
- function Pe(Ie, Ae) {
50984
+ function qe(Ie, Ae) {
50947
50985
  if (typeof Ae != "function" && Ae !== null)
50948
50986
  throw new TypeError("Super expression must either be null or a function, not " + typeof Ae);
50949
50987
  Ie.prototype = Object.create(Ae && Ae.prototype, { constructor: { value: Ie, enumerable: !1, writable: !0, configurable: !0 } }), Ae && (Object.setPrototypeOf ? Object.setPrototypeOf(Ie, Ae) : Ie.__proto__ = Ae);
50950
50988
  }
50951
50989
  var De = [[{ header: ["1", "2", "3", !1] }], ["bold", "italic", "underline", "link"], [{ list: "ordered" }, { list: "bullet" }], ["clean"]], Me = (function(Ie) {
50952
- Pe(Ae, Ie);
50953
- function Ae(ze, qe) {
50954
- we(this, Ae), qe.modules.toolbar != null && qe.modules.toolbar.container == null && (qe.modules.toolbar.container = De);
50955
- var Fe = Ce(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, ze, qe));
50956
- return Fe.quill.container.classList.add("ql-snow"), Fe;
50990
+ qe(Ae, Ie);
50991
+ function Ae(ze, Pe) {
50992
+ we(this, Ae), Pe.modules.toolbar != null && Pe.modules.toolbar.container == null && (Pe.modules.toolbar.container = De);
50993
+ var Ne = Ce(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, ze, Pe));
50994
+ return Ne.quill.container.classList.add("ql-snow"), Ne;
50957
50995
  }
50958
50996
  return de(Ae, [{
50959
50997
  key: "extendToolbar",
50960
- value: function(qe) {
50961
- qe.container.classList.add("ql-snow"), this.buildButtons([].slice.call(qe.container.querySelectorAll("button")), ye.default), this.buildPickers([].slice.call(qe.container.querySelectorAll("select")), ye.default), this.tooltip = new He(this.quill, this.options.bounds), qe.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({ key: "K", shortKey: !0 }, function(Fe, We) {
50962
- qe.handlers.link.call(qe, !We.format.link);
50998
+ value: function(Pe) {
50999
+ Pe.container.classList.add("ql-snow"), this.buildButtons([].slice.call(Pe.container.querySelectorAll("button")), ye.default), this.buildPickers([].slice.call(Pe.container.querySelectorAll("select")), ye.default), this.tooltip = new He(this.quill, this.options.bounds), Pe.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({ key: "K", shortKey: !0 }, function(Ne, We) {
51000
+ Pe.handlers.link.call(Pe, !We.format.link);
50963
51001
  });
50964
51002
  }
50965
51003
  }]), Ae;
@@ -50972,10 +51010,10 @@ function requireQuill() {
50972
51010
  if (Ae) {
50973
51011
  var ze = this.quill.getSelection();
50974
51012
  if (ze == null || ze.length == 0) return;
50975
- var qe = this.quill.getText(ze);
50976
- /^\S+@\S+\.\S+$/.test(qe) && qe.indexOf("mailto:") !== 0 && (qe = "mailto:" + qe);
50977
- var Fe = this.quill.theme.tooltip;
50978
- Fe.edit("link", qe);
51013
+ var Pe = this.quill.getText(ze);
51014
+ /^\S+@\S+\.\S+$/.test(Pe) && Pe.indexOf("mailto:") !== 0 && (Pe = "mailto:" + Pe);
51015
+ var Ne = this.quill.theme.tooltip;
51016
+ Ne.edit("link", Pe);
50979
51017
  } else
50980
51018
  this.quill.format("link", !1);
50981
51019
  }
@@ -50984,37 +51022,37 @@ function requireQuill() {
50984
51022
  }
50985
51023
  });
50986
51024
  var He = (function(Ie) {
50987
- Pe(Ae, Ie);
50988
- function Ae(ze, qe) {
51025
+ qe(Ae, Ie);
51026
+ function Ae(ze, Pe) {
50989
51027
  we(this, Ae);
50990
- var Fe = Ce(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, ze, qe));
50991
- return Fe.preview = Fe.root.querySelector("a.ql-preview"), Fe;
51028
+ var Ne = Ce(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, ze, Pe));
51029
+ return Ne.preview = Ne.root.querySelector("a.ql-preview"), Ne;
50992
51030
  }
50993
51031
  return de(Ae, [{
50994
51032
  key: "listen",
50995
51033
  value: function() {
50996
- var qe = this;
50997
- ne(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "listen", this).call(this), this.root.querySelector("a.ql-action").addEventListener("click", function(Fe) {
50998
- qe.root.classList.contains("ql-editing") ? qe.save() : qe.edit("link", qe.preview.textContent), Fe.preventDefault();
50999
- }), this.root.querySelector("a.ql-remove").addEventListener("click", function(Fe) {
51000
- if (qe.linkRange != null) {
51001
- var We = qe.linkRange;
51002
- qe.restoreFocus(), qe.quill.formatText(We, "link", !1, pe.default.sources.USER), delete qe.linkRange;
51034
+ var Pe = this;
51035
+ ne(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "listen", this).call(this), this.root.querySelector("a.ql-action").addEventListener("click", function(Ne) {
51036
+ Pe.root.classList.contains("ql-editing") ? Pe.save() : Pe.edit("link", Pe.preview.textContent), Ne.preventDefault();
51037
+ }), this.root.querySelector("a.ql-remove").addEventListener("click", function(Ne) {
51038
+ if (Pe.linkRange != null) {
51039
+ var We = Pe.linkRange;
51040
+ Pe.restoreFocus(), Pe.quill.formatText(We, "link", !1, pe.default.sources.USER), delete Pe.linkRange;
51003
51041
  }
51004
- Fe.preventDefault(), qe.hide();
51005
- }), this.quill.on(pe.default.events.SELECTION_CHANGE, function(Fe, We, Ge) {
51006
- if (Fe != null) {
51007
- if (Fe.length === 0 && Ge === pe.default.sources.USER) {
51008
- var Ke = qe.quill.scroll.descendant(ge.default, Fe.index), ft = oe(Ke, 2), Je = ft[0], Ze = ft[1];
51042
+ Ne.preventDefault(), Pe.hide();
51043
+ }), this.quill.on(pe.default.events.SELECTION_CHANGE, function(Ne, We, Ge) {
51044
+ if (Ne != null) {
51045
+ if (Ne.length === 0 && Ge === pe.default.sources.USER) {
51046
+ var Ke = Pe.quill.scroll.descendant(ge.default, Ne.index), ft = oe(Ke, 2), Je = ft[0], Ze = ft[1];
51009
51047
  if (Je != null) {
51010
- qe.linkRange = new ve.Range(Fe.index - Ze, Je.length());
51048
+ Pe.linkRange = new ve.Range(Ne.index - Ze, Je.length());
51011
51049
  var Le = ge.default.formats(Je.domNode);
51012
- qe.preview.textContent = Le, qe.preview.setAttribute("href", Le), qe.show(), qe.position(qe.quill.getBounds(qe.linkRange));
51050
+ Pe.preview.textContent = Le, Pe.preview.setAttribute("href", Le), Pe.show(), Pe.position(Pe.quill.getBounds(Pe.linkRange));
51013
51051
  return;
51014
51052
  }
51015
51053
  } else
51016
- delete qe.linkRange;
51017
- qe.hide();
51054
+ delete Pe.linkRange;
51055
+ Pe.hide();
51018
51056
  }
51019
51057
  });
51020
51058
  }
@@ -51033,7 +51071,7 @@ function requireQuill() {
51033
51071
  Object.defineProperty(te, "__esModule", {
51034
51072
  value: !0
51035
51073
  });
51036
- var oe = re(29), ne = wt(oe), de = re(37), ce = re(39), ue = re(65), he = re(66), pe = wt(he), fe = re(67), be = wt(fe), me = re(68), ge = wt(me), ve = re(38), _e = re(26), ye = re(40), Se = re(41), we = re(57), Ce = wt(we), Pe = re(69), De = wt(Pe), Me = re(27), He = wt(Me), Ie = re(70), Ae = wt(Ie), ze = re(71), qe = wt(ze), Fe = re(72), We = wt(Fe), Ge = re(73), Ke = wt(Ge), ft = re(74), Je = wt(ft), Ze = re(13), Le = wt(Ze), Ue = re(75), Ve = wt(Ue), Qe = re(76), Xe = wt(Qe), Be = re(58), Ye = wt(Be), rt = re(42), ot = wt(rt), _t = re(28), kt = wt(_t), It = re(60), zt = wt(It), Nt = re(61), Bt = wt(Nt), rs = re(62), Yt = wt(rs), gt = re(109), mt = wt(gt), xt = re(63), Ct = wt(xt);
51074
+ var oe = re(29), ne = wt(oe), de = re(37), ce = re(39), ue = re(65), he = re(66), pe = wt(he), fe = re(67), be = wt(fe), me = re(68), ge = wt(me), ve = re(38), _e = re(26), ye = re(40), Se = re(41), we = re(57), Ce = wt(we), qe = re(69), De = wt(qe), Me = re(27), He = wt(Me), Ie = re(70), Ae = wt(Ie), ze = re(71), Pe = wt(ze), Ne = re(72), We = wt(Ne), Ge = re(73), Ke = wt(Ge), ft = re(74), Je = wt(ft), Ze = re(13), Le = wt(Ze), Ue = re(75), Ve = wt(Ue), Qe = re(76), Xe = wt(Qe), Be = re(58), Ye = wt(Be), rt = re(42), ot = wt(rt), _t = re(28), kt = wt(_t), It = re(60), zt = wt(It), Nt = re(61), Bt = wt(Nt), rs = re(62), Yt = wt(rs), gt = re(109), mt = wt(gt), xt = re(63), Ct = wt(xt);
51037
51075
  function wt(Lt) {
51038
51076
  return Lt && Lt.__esModule ? Lt : { default: Lt };
51039
51077
  }
@@ -51068,7 +51106,7 @@ function requireQuill() {
51068
51106
  "formats/italic": De.default,
51069
51107
  "formats/link": He.default,
51070
51108
  "formats/script": Ae.default,
51071
- "formats/strike": qe.default,
51109
+ "formats/strike": Pe.default,
51072
51110
  "formats/underline": We.default,
51073
51111
  "formats/image": Ke.default,
51074
51112
  "formats/video": Je.default,
@@ -51250,21 +51288,21 @@ function requireQuill() {
51250
51288
  value: !0
51251
51289
  }), te.default = te.ListItem = void 0;
51252
51290
  var oe = /* @__PURE__ */ (function() {
51253
- function we(Ce, Pe) {
51254
- for (var De = 0; De < Pe.length; De++) {
51255
- var Me = Pe[De];
51291
+ function we(Ce, qe) {
51292
+ for (var De = 0; De < qe.length; De++) {
51293
+ var Me = qe[De];
51256
51294
  Me.enumerable = Me.enumerable || !1, Me.configurable = !0, "value" in Me && (Me.writable = !0), Object.defineProperty(Ce, Me.key, Me);
51257
51295
  }
51258
51296
  }
51259
- return function(Ce, Pe, De) {
51260
- return Pe && we(Ce.prototype, Pe), De && we(Ce, De), Ce;
51297
+ return function(Ce, qe, De) {
51298
+ return qe && we(Ce.prototype, qe), De && we(Ce, De), Ce;
51261
51299
  };
51262
- })(), ne = function we(Ce, Pe, De) {
51300
+ })(), ne = function we(Ce, qe, De) {
51263
51301
  Ce === null && (Ce = Function.prototype);
51264
- var Me = Object.getOwnPropertyDescriptor(Ce, Pe);
51302
+ var Me = Object.getOwnPropertyDescriptor(Ce, qe);
51265
51303
  if (Me === void 0) {
51266
51304
  var He = Object.getPrototypeOf(Ce);
51267
- return He === null ? void 0 : we(He, Pe, De);
51305
+ return He === null ? void 0 : we(He, qe, De);
51268
51306
  } else {
51269
51307
  if ("value" in Me)
51270
51308
  return Me.value;
@@ -51275,8 +51313,8 @@ function requireQuill() {
51275
51313
  function be(we) {
51276
51314
  return we && we.__esModule ? we : { default: we };
51277
51315
  }
51278
- function me(we, Ce, Pe) {
51279
- return Ce in we ? Object.defineProperty(we, Ce, { value: Pe, enumerable: !0, configurable: !0, writable: !0 }) : we[Ce] = Pe, we;
51316
+ function me(we, Ce, qe) {
51317
+ return Ce in we ? Object.defineProperty(we, Ce, { value: qe, enumerable: !0, configurable: !0, writable: !0 }) : we[Ce] = qe, we;
51280
51318
  }
51281
51319
  function ge(we, Ce) {
51282
51320
  if (!(we instanceof Ce))
@@ -51335,15 +51373,15 @@ function requireQuill() {
51335
51373
  return De.hasAttribute("data-checked") ? De.getAttribute("data-checked") === "true" ? "checked" : "unchecked" : "bullet";
51336
51374
  }
51337
51375
  }]);
51338
- function Ce(Pe) {
51376
+ function Ce(qe) {
51339
51377
  ge(this, Ce);
51340
- var De = ve(this, (Ce.__proto__ || Object.getPrototypeOf(Ce)).call(this, Pe)), Me = function(Ie) {
51341
- if (Ie.target.parentNode === Pe) {
51342
- var Ae = De.statics.formats(Pe), ze = ce.default.find(Ie.target);
51378
+ var De = ve(this, (Ce.__proto__ || Object.getPrototypeOf(Ce)).call(this, qe)), Me = function(Ie) {
51379
+ if (Ie.target.parentNode === qe) {
51380
+ var Ae = De.statics.formats(qe), ze = ce.default.find(Ie.target);
51343
51381
  Ae === "checked" ? ze.format("list", "unchecked") : Ae === "unchecked" && ze.format("list", "checked");
51344
51382
  }
51345
51383
  };
51346
- return Pe.addEventListener("touchstart", Me), Pe.addEventListener("mousedown", Me), De;
51384
+ return qe.addEventListener("touchstart", Me), qe.addEventListener("mousedown", Me), De;
51347
51385
  }
51348
51386
  return oe(Ce, [{
51349
51387
  key: "format",
@@ -51575,8 +51613,8 @@ function requireQuill() {
51575
51613
  } else {
51576
51614
  if ("value" in we)
51577
51615
  return we.value;
51578
- var Pe = we.get;
51579
- return Pe === void 0 ? void 0 : Pe.call(Se);
51616
+ var qe = we.get;
51617
+ return qe === void 0 ? void 0 : qe.call(Se);
51580
51618
  }
51581
51619
  }, de = re(0), ce = he(de), ue = re(27);
51582
51620
  function he(ve) {
@@ -51663,8 +51701,8 @@ function requireQuill() {
51663
51701
  } else {
51664
51702
  if ("value" in we)
51665
51703
  return we.value;
51666
- var Pe = we.get;
51667
- return Pe === void 0 ? void 0 : Pe.call(Se);
51704
+ var qe = we.get;
51705
+ return qe === void 0 ? void 0 : qe.call(Se);
51668
51706
  }
51669
51707
  }, de = re(4), ce = re(27), ue = he(ce);
51670
51708
  function he(ve) {
@@ -51729,25 +51767,25 @@ function requireQuill() {
51729
51767
  }), te.default = te.FormulaBlot = void 0;
51730
51768
  var oe = /* @__PURE__ */ (function() {
51731
51769
  function Se(we, Ce) {
51732
- for (var Pe = 0; Pe < Ce.length; Pe++) {
51733
- var De = Ce[Pe];
51770
+ for (var qe = 0; qe < Ce.length; qe++) {
51771
+ var De = Ce[qe];
51734
51772
  De.enumerable = De.enumerable || !1, De.configurable = !0, "value" in De && (De.writable = !0), Object.defineProperty(we, De.key, De);
51735
51773
  }
51736
51774
  }
51737
- return function(we, Ce, Pe) {
51738
- return Ce && Se(we.prototype, Ce), Pe && Se(we, Pe), we;
51775
+ return function(we, Ce, qe) {
51776
+ return Ce && Se(we.prototype, Ce), qe && Se(we, qe), we;
51739
51777
  };
51740
- })(), ne = function Se(we, Ce, Pe) {
51778
+ })(), ne = function Se(we, Ce, qe) {
51741
51779
  we === null && (we = Function.prototype);
51742
51780
  var De = Object.getOwnPropertyDescriptor(we, Ce);
51743
51781
  if (De === void 0) {
51744
51782
  var Me = Object.getPrototypeOf(we);
51745
- return Me === null ? void 0 : Se(Me, Ce, Pe);
51783
+ return Me === null ? void 0 : Se(Me, Ce, qe);
51746
51784
  } else {
51747
51785
  if ("value" in De)
51748
51786
  return De.value;
51749
51787
  var He = De.get;
51750
- return He === void 0 ? void 0 : He.call(Pe);
51788
+ return He === void 0 ? void 0 : He.call(qe);
51751
51789
  }
51752
51790
  }, de = re(36), ce = be(de), ue = re(5), he = be(ue), pe = re(9), fe = be(pe);
51753
51791
  function be(Se) {
@@ -51774,17 +51812,17 @@ function requireQuill() {
51774
51812
  }
51775
51813
  return oe(we, null, [{
51776
51814
  key: "create",
51777
- value: function(Pe) {
51778
- var De = ne(we.__proto__ || Object.getPrototypeOf(we), "create", this).call(this, Pe);
51779
- return typeof Pe == "string" && (window.katex.render(Pe, De, {
51815
+ value: function(qe) {
51816
+ var De = ne(we.__proto__ || Object.getPrototypeOf(we), "create", this).call(this, qe);
51817
+ return typeof qe == "string" && (window.katex.render(qe, De, {
51780
51818
  throwOnError: !1,
51781
51819
  errorColor: "#f00"
51782
- }), De.setAttribute("data-value", Pe)), De;
51820
+ }), De.setAttribute("data-value", qe)), De;
51783
51821
  }
51784
51822
  }, {
51785
51823
  key: "value",
51786
- value: function(Pe) {
51787
- return Pe.getAttribute("data-value");
51824
+ value: function(qe) {
51825
+ return qe.getAttribute("data-value");
51788
51826
  }
51789
51827
  }]), we;
51790
51828
  })(ce.default);
@@ -51814,21 +51852,21 @@ function requireQuill() {
51814
51852
  value: !0
51815
51853
  }), te.default = te.CodeToken = te.CodeBlock = void 0;
51816
51854
  var oe = /* @__PURE__ */ (function() {
51817
- function Pe(De, Me) {
51855
+ function qe(De, Me) {
51818
51856
  for (var He = 0; He < Me.length; He++) {
51819
51857
  var Ie = Me[He];
51820
51858
  Ie.enumerable = Ie.enumerable || !1, Ie.configurable = !0, "value" in Ie && (Ie.writable = !0), Object.defineProperty(De, Ie.key, Ie);
51821
51859
  }
51822
51860
  }
51823
51861
  return function(De, Me, He) {
51824
- return Me && Pe(De.prototype, Me), He && Pe(De, He), De;
51862
+ return Me && qe(De.prototype, Me), He && qe(De, He), De;
51825
51863
  };
51826
- })(), ne = function Pe(De, Me, He) {
51864
+ })(), ne = function qe(De, Me, He) {
51827
51865
  De === null && (De = Function.prototype);
51828
51866
  var Ie = Object.getOwnPropertyDescriptor(De, Me);
51829
51867
  if (Ie === void 0) {
51830
51868
  var Ae = Object.getPrototypeOf(De);
51831
- return Ae === null ? void 0 : Pe(Ae, Me, He);
51869
+ return Ae === null ? void 0 : qe(Ae, Me, He);
51832
51870
  } else {
51833
51871
  if ("value" in Ie)
51834
51872
  return Ie.value;
@@ -51836,25 +51874,25 @@ function requireQuill() {
51836
51874
  return ze === void 0 ? void 0 : ze.call(He);
51837
51875
  }
51838
51876
  }, de = re(0), ce = ge(de), ue = re(5), he = ge(ue), pe = re(9), fe = ge(pe), be = re(13), me = ge(be);
51839
- function ge(Pe) {
51840
- return Pe && Pe.__esModule ? Pe : { default: Pe };
51877
+ function ge(qe) {
51878
+ return qe && qe.__esModule ? qe : { default: qe };
51841
51879
  }
51842
- function ve(Pe, De) {
51843
- if (!(Pe instanceof De))
51880
+ function ve(qe, De) {
51881
+ if (!(qe instanceof De))
51844
51882
  throw new TypeError("Cannot call a class as a function");
51845
51883
  }
51846
- function _e(Pe, De) {
51847
- if (!Pe)
51884
+ function _e(qe, De) {
51885
+ if (!qe)
51848
51886
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
51849
- return De && (typeof De == "object" || typeof De == "function") ? De : Pe;
51887
+ return De && (typeof De == "object" || typeof De == "function") ? De : qe;
51850
51888
  }
51851
- function ye(Pe, De) {
51889
+ function ye(qe, De) {
51852
51890
  if (typeof De != "function" && De !== null)
51853
51891
  throw new TypeError("Super expression must either be null or a function, not " + typeof De);
51854
- Pe.prototype = Object.create(De && De.prototype, { constructor: { value: Pe, enumerable: !1, writable: !0, configurable: !0 } }), De && (Object.setPrototypeOf ? Object.setPrototypeOf(Pe, De) : Pe.__proto__ = De);
51892
+ qe.prototype = Object.create(De && De.prototype, { constructor: { value: qe, enumerable: !1, writable: !0, configurable: !0 } }), De && (Object.setPrototypeOf ? Object.setPrototypeOf(qe, De) : qe.__proto__ = De);
51855
51893
  }
51856
- var Se = (function(Pe) {
51857
- ye(De, Pe);
51894
+ var Se = (function(qe) {
51895
+ ye(De, qe);
51858
51896
  function De() {
51859
51897
  return ve(this, De), _e(this, (De.__proto__ || Object.getPrototypeOf(De)).apply(this, arguments));
51860
51898
  }
@@ -51874,8 +51912,8 @@ function requireQuill() {
51874
51912
  Se.className = "ql-syntax";
51875
51913
  var we = new ce.default.Attributor.Class("token", "hljs", {
51876
51914
  scope: ce.default.Scope.INLINE
51877
- }), Ce = (function(Pe) {
51878
- ye(De, Pe), oe(De, null, [{
51915
+ }), Ce = (function(qe) {
51916
+ ye(De, qe), oe(De, null, [{
51879
51917
  key: "register",
51880
51918
  value: function() {
51881
51919
  he.default.register(we, !0), he.default.register(Se, !0);
@@ -51909,8 +51947,8 @@ function requireQuill() {
51909
51947
  })(fe.default);
51910
51948
  Ce.DEFAULTS = {
51911
51949
  highlight: (function() {
51912
- return window.hljs == null ? null : function(Pe) {
51913
- var De = window.hljs.highlightAuto(Pe);
51950
+ return window.hljs == null ? null : function(qe) {
51951
+ var De = window.hljs.highlightAuto(qe);
51914
51952
  return De.value;
51915
51953
  };
51916
51954
  })(),
@@ -52092,8 +52130,8 @@ function requireQuill() {
52092
52130
  } else {
52093
52131
  if ("value" in Ae)
52094
52132
  return Ae.value;
52095
- var qe = Ae.get;
52096
- return qe === void 0 ? void 0 : qe.call(Ie);
52133
+ var Pe = Ae.get;
52134
+ return Pe === void 0 ? void 0 : Pe.call(Ie);
52097
52135
  }
52098
52136
  }, ne = /* @__PURE__ */ (function() {
52099
52137
  function De(Me, He) {
@@ -52133,7 +52171,7 @@ function requireQuill() {
52133
52171
  return ne(Me, [{
52134
52172
  key: "extendToolbar",
52135
52173
  value: function(Ie) {
52136
- this.tooltip = new Pe(this.quill, this.options.bounds), this.tooltip.root.appendChild(Ie.container), this.buildButtons([].slice.call(Ie.container.querySelectorAll("button")), ge.default), this.buildPickers([].slice.call(Ie.container.querySelectorAll("select")), ge.default);
52174
+ this.tooltip = new qe(this.quill, this.options.bounds), this.tooltip.root.appendChild(Ie.container), this.buildButtons([].slice.call(Ie.container.querySelectorAll("button")), ge.default), this.buildPickers([].slice.call(Ie.container.querySelectorAll("select")), ge.default);
52137
52175
  }
52138
52176
  }]), Me;
52139
52177
  })(fe.default);
@@ -52148,20 +52186,20 @@ function requireQuill() {
52148
52186
  }
52149
52187
  }
52150
52188
  });
52151
- var Pe = (function(De) {
52189
+ var qe = (function(De) {
52152
52190
  Se(Me, De);
52153
52191
  function Me(He, Ie) {
52154
52192
  _e(this, Me);
52155
52193
  var Ae = ye(this, (Me.__proto__ || Object.getPrototypeOf(Me)).call(this, He, Ie));
52156
- return Ae.quill.on(he.default.events.EDITOR_CHANGE, function(ze, qe, Fe, We) {
52194
+ return Ae.quill.on(he.default.events.EDITOR_CHANGE, function(ze, Pe, Ne, We) {
52157
52195
  if (ze === he.default.events.SELECTION_CHANGE)
52158
- if (qe != null && qe.length > 0 && We === he.default.sources.USER) {
52196
+ if (Pe != null && Pe.length > 0 && We === he.default.sources.USER) {
52159
52197
  Ae.show(), Ae.root.style.left = "0px", Ae.root.style.width = "", Ae.root.style.width = Ae.root.offsetWidth + "px";
52160
- var Ge = Ae.quill.getLines(qe.index, qe.length);
52198
+ var Ge = Ae.quill.getLines(Pe.index, Pe.length);
52161
52199
  if (Ge.length === 1)
52162
- Ae.position(Ae.quill.getBounds(qe));
52200
+ Ae.position(Ae.quill.getBounds(Pe));
52163
52201
  else {
52164
- var Ke = Ge[Ge.length - 1], ft = Ae.quill.getIndex(Ke), Je = Math.min(Ke.length() - 1, qe.index + qe.length - ft), Ze = Ae.quill.getBounds(new be.Range(ft, Je));
52202
+ var Ke = Ge[Ge.length - 1], ft = Ae.quill.getIndex(Ke), Je = Math.min(Ke.length() - 1, Pe.index + Pe.length - ft), Ze = Ae.quill.getBounds(new be.Range(ft, Je));
52165
52203
  Ae.position(Ze);
52166
52204
  }
52167
52205
  } else document.activeElement !== Ae.textbox && Ae.quill.hasFocus() && Ae.hide();
@@ -52196,7 +52234,7 @@ function requireQuill() {
52196
52234
  }
52197
52235
  }]), Me;
52198
52236
  })(pe.BaseTooltip);
52199
- Pe.TEMPLATE = ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""), te.BubbleTooltip = Pe, te.default = Ce;
52237
+ qe.TEMPLATE = ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""), te.BubbleTooltip = qe, te.default = Ce;
52200
52238
  }),
52201
52239
  /* 110 */
52202
52240
  /***/
@@ -53337,4 +53375,4 @@ export {
53337
53375
  l as y,
53338
53376
  PrimariaInteractionService as z
53339
53377
  };
53340
- //# sourceMappingURL=index-CW9SRbzE.js.map
53378
+ //# sourceMappingURL=index-mgf5fUfq.js.map