@uxland/primary-shell 7.41.7 → 7.42.0

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