golden-logic-ui 1.0.451 → 1.0.453

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.
@@ -2281,7 +2281,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
2281
2281
  let Z = this.element_size + 28;
2282
2282
  console.log("cardwidth", Z);
2283
2283
  let Ce = A.clientWidth;
2284
- if (console.log("sliderContainerWidth ", Ce), this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth / Z : Ce / Z), console.log("elementsToShow", this.elementsToShow), this.elementsToShow = this.elementsToShow > 1 ? this.elementsToShow - 1 : this.elementsToShow, console.log("elementsToShow new", this.elementsToShow), Z = (this.hide_arrow ? re.clientWidth : Ce) / this.elementsToShow, console.log("cardwidth new last ", Z), ne.length > 1) {
2284
+ if (console.log("sliderContainerWidth ", Ce), this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth / Z : Ce / Z), console.log("elementsToShow", this.elementsToShow), console.log("elementsToShow new", this.elementsToShow), Z = (this.hide_arrow ? re.clientWidth : Ce) / this.elementsToShow, console.log("cardwidth new last ", Z), ne.length > 1) {
2285
2285
  this.dotsNum = Math.ceil(ne.length / this.elementsToShow), console.log("dotsNum", this.dotsNum);
2286
2286
  let X = this.elementsToShow * Z;
2287
2287
  console.log("navigation_no_between_slides", X), this.dotsNavigation = [];
@@ -2300,7 +2300,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
2300
2300
  this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
2301
2301
  }
2302
2302
  }
2303
- }, km = (A) => (rq("data-v-5a4156b4"), A = A(), aq(), A), DJ = ["id"], OJ = {
2303
+ }, km = (A) => (rq("data-v-fd43e570"), A = A(), aq(), A), DJ = ["id"], OJ = {
2304
2304
  key: 0,
2305
2305
  class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
2306
2306
  }, RJ = { class: "w-full" }, $J = {
@@ -2602,7 +2602,7 @@ function $Q(A, re, G, _e, ne, Z) {
2602
2602
  ], 10, DJ)
2603
2603
  ]);
2604
2604
  }
2605
- const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-5a4156b4"]]), MQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2605
+ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-fd43e570"]]), MQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2606
2606
  /* @__PURE__ */ R("svg", {
2607
2607
  xmlns: "http://www.w3.org/2000/svg",
2608
2608
  fill: "currentColor",
@@ -6838,7 +6838,7 @@ var cq = { exports: {} };
6838
6838
  id: l,
6839
6839
  forward: y
6840
6840
  };
6841
- }, eT = (e, n, o = !1) => n === 2 ? Yb(V, o, e) : n === 3 ? d2(e) : n ? J4(e) : xC(e, !1), xp = Pe(Yb, Ht, !0), Xb = (e) => {
6841
+ }, e3 = (e, n, o = !1) => n === 2 ? Yb(V, o, e) : n === 3 ? d2(e) : n ? J4(e) : xC(e, !1), xp = Pe(Yb, Ht, !0), Xb = (e) => {
6842
6842
  const n = (u) => u(e), o = ot(e), r = () => l, l = {
6843
6843
  tag: !0,
6844
6844
  inner: e,
@@ -7032,12 +7032,12 @@ Required: ` + n.join(", "));
7032
7032
  inlinePatterns: f2(e),
7033
7033
  blockPatterns: Jb(e),
7034
7034
  dynamicPatternsLookup: n
7035
- }), tT = (e) => {
7035
+ }), t3 = (e) => {
7036
7036
  const n = xt(Ke(e, _C));
7037
7037
  return Te(n.errors, (o) => console.error(o.message, o.pattern)), n.values;
7038
7038
  }, SC = (e) => (n) => {
7039
7039
  const o = e(n);
7040
- return tT(o);
7040
+ return t3(o);
7041
7041
  }, Oc = as().deviceType, Cp = Oc.isTouch(), Y0 = Is.DOM, Jd = (e) => {
7042
7042
  const n = e.indexOf("=") > 0 ? e.split(/[;,](?![^=;,]*(?:[;,]|$))/) : e.split(",");
7043
7043
  return Vo(n, (o, r) => {
@@ -7434,7 +7434,7 @@ Required: ` + n.join(", "));
7434
7434
  default: 4
7435
7435
  }), n("text_patterns", {
7436
7436
  processor: (o) => Cn(o, kt) || o === !1 ? {
7437
- value: tT(o === !1 ? [] : o),
7437
+ value: t3(o === !1 ? [] : o),
7438
7438
  valid: !0
7439
7439
  } : {
7440
7440
  valid: !1,
@@ -7593,7 +7593,7 @@ Required: ` + n.join(", "));
7593
7593
  default: Y0.getAttrib(e.getElement(), "placeholder")
7594
7594
  });
7595
7595
  });
7596
- }, g2 = Ut("iframe_attrs"), EC = Ut("doctype"), h2 = Ut("document_base_url"), p2 = Ut("body_id"), nT = Ut("body_class"), b2 = Ut("content_security_policy"), oT = Ut("br_in_pre"), Xl = Ut("forced_root_block"), X0 = Ut("forced_root_block_attrs"), sT = Ut("newline_behavior"), rT = Ut("br_newline_selector"), v2 = Ut("no_newline_selector"), aT = Ut("keep_styles"), AC = Ut("end_container_on_empty_block"), DC = Ut("automatic_uploads"), J0 = Ut("images_reuse_filename"), OC = Ut("images_replace_blob_uris"), y2 = Ut("icons"), dh = Ut("icons_url"), lT = Ut("images_upload_url"), cT = Ut("images_upload_base_path"), w2 = Ut("images_upload_credentials"), iT = Ut("images_upload_handler"), Xm = Ut("content_css_cors"), ro = Ut("referrer_policy"), x2 = Ut("language"), Jl = Ut("language_url"), Qb = Ut("indent_use_margin"), C2 = Ut("indentation"), _2 = Ut("content_css"), ev = Ut("content_style"), RC = Ut("font_css"), uT = Ut("directionality"), dT = Ut("inline_boundaries_selector"), _p = Ut("object_resizing"), $C = Ut("resize_img_proportional"), fO = Ut("placeholder"), jf = Ut("event_root"), mT = Ut("service_message"), Sp = Ut("theme"), fT = Ut("theme_url"), S2 = Ut("model"), MC = Ut("model_url"), mh = Ut("inline_boundaries"), gT = Ut("formats"), PC = Ut("preview_styles"), BC = Ut("format_empty_lines"), kp = Ut("format_noneditable_selector"), NC = Ut("custom_ui_selector"), k2 = Ut("inline"), hT = Ut("hidden_input"), IC = Ut("submit_patch"), Qd = Ut("add_form_submit_trigger"), Q0 = Ut("add_unload_trigger"), e1 = Ut("custom_undo_redo_levels"), tv = Ut("disable_nodechange"), t1 = Ut("readonly"), uu = Ut("editable_root"), Tp = Ut("content_css_cors"), n1 = Ut("plugins"), Gf = Ut("external_plugins"), nv = Ut("block_unsupported_drop"), pT = Ut("visual"), bT = Ut("visual_table_class"), LC = Ut("visual_anchor_class"), vT = Ut("iframe_aria_text"), T2 = Ut("setup"), yT = Ut("init_instance_callback"), wT = Ut("urlconverter_callback"), FC = Ut("auto_focus"), xT = Ut("browser_spellcheck"), HC = Ut("protect"), CT = Ut("paste_block_drop"), ov = Ut("paste_data_images"), _T = Ut("paste_preprocess"), VC = Ut("paste_postprocess"), Ep = Ut("newdocument_content"), E2 = Ut("paste_webkit_styles"), A2 = Ut("paste_remove_styles_if_webkit"), D2 = Ut("paste_merge_formats"), zC = Ut("smart_paste"), O2 = Ut("paste_as_text"), ST = Ut("paste_tab_spaces"), sv = Ut("allow_html_data_urls"), rv = Ut("text_patterns"), kT = Ut("text_patterns_lookup"), R2 = Ut("noneditable_class"), UC = Ut("editable_class"), TT = Ut("noneditable_regexp"), $2 = Ut("preserve_cdata"), ET = Ut("highlight_on_focus"), Ap = Ut("xss_sanitization"), AT = Ut("init_content_sync"), M2 = (e) => e.options.isSet("text_patterns_lookup"), DT = (e) => ct.explode(e.options.get("font_size_style_values")), OT = (e) => ct.explode(e.options.get("font_size_classes")), RT = (e) => e.options.get("encoding") === "xml", WC = (e) => ct.explode(e.options.get("images_file_types")), $T = Ut("table_tab_navigation"), Ya = Ut("details_initial_state"), gO = Ut("details_serialized_state"), Dp = Ut("force_hex_color"), av = Ut("sandbox_iframes"), ZC = qt, P2 = ut, jC = (e) => {
7596
+ }, g2 = Ut("iframe_attrs"), EC = Ut("doctype"), h2 = Ut("document_base_url"), p2 = Ut("body_id"), n3 = Ut("body_class"), b2 = Ut("content_security_policy"), o3 = Ut("br_in_pre"), Xl = Ut("forced_root_block"), X0 = Ut("forced_root_block_attrs"), s3 = Ut("newline_behavior"), r3 = Ut("br_newline_selector"), v2 = Ut("no_newline_selector"), a3 = Ut("keep_styles"), AC = Ut("end_container_on_empty_block"), DC = Ut("automatic_uploads"), J0 = Ut("images_reuse_filename"), OC = Ut("images_replace_blob_uris"), y2 = Ut("icons"), dh = Ut("icons_url"), l3 = Ut("images_upload_url"), c3 = Ut("images_upload_base_path"), w2 = Ut("images_upload_credentials"), i3 = Ut("images_upload_handler"), Xm = Ut("content_css_cors"), ro = Ut("referrer_policy"), x2 = Ut("language"), Jl = Ut("language_url"), Qb = Ut("indent_use_margin"), C2 = Ut("indentation"), _2 = Ut("content_css"), ev = Ut("content_style"), RC = Ut("font_css"), u3 = Ut("directionality"), d3 = Ut("inline_boundaries_selector"), _p = Ut("object_resizing"), $C = Ut("resize_img_proportional"), fO = Ut("placeholder"), jf = Ut("event_root"), m3 = Ut("service_message"), Sp = Ut("theme"), f3 = Ut("theme_url"), S2 = Ut("model"), MC = Ut("model_url"), mh = Ut("inline_boundaries"), g3 = Ut("formats"), PC = Ut("preview_styles"), BC = Ut("format_empty_lines"), kp = Ut("format_noneditable_selector"), NC = Ut("custom_ui_selector"), k2 = Ut("inline"), h3 = Ut("hidden_input"), IC = Ut("submit_patch"), Qd = Ut("add_form_submit_trigger"), Q0 = Ut("add_unload_trigger"), e1 = Ut("custom_undo_redo_levels"), tv = Ut("disable_nodechange"), t1 = Ut("readonly"), uu = Ut("editable_root"), Tp = Ut("content_css_cors"), n1 = Ut("plugins"), Gf = Ut("external_plugins"), nv = Ut("block_unsupported_drop"), p3 = Ut("visual"), b3 = Ut("visual_table_class"), LC = Ut("visual_anchor_class"), v3 = Ut("iframe_aria_text"), T2 = Ut("setup"), y3 = Ut("init_instance_callback"), w3 = Ut("urlconverter_callback"), FC = Ut("auto_focus"), x3 = Ut("browser_spellcheck"), HC = Ut("protect"), C3 = Ut("paste_block_drop"), ov = Ut("paste_data_images"), _3 = Ut("paste_preprocess"), VC = Ut("paste_postprocess"), Ep = Ut("newdocument_content"), E2 = Ut("paste_webkit_styles"), A2 = Ut("paste_remove_styles_if_webkit"), D2 = Ut("paste_merge_formats"), zC = Ut("smart_paste"), O2 = Ut("paste_as_text"), S3 = Ut("paste_tab_spaces"), sv = Ut("allow_html_data_urls"), rv = Ut("text_patterns"), k3 = Ut("text_patterns_lookup"), R2 = Ut("noneditable_class"), UC = Ut("editable_class"), T3 = Ut("noneditable_regexp"), $2 = Ut("preserve_cdata"), E3 = Ut("highlight_on_focus"), Ap = Ut("xss_sanitization"), A3 = Ut("init_content_sync"), M2 = (e) => e.options.isSet("text_patterns_lookup"), D3 = (e) => ct.explode(e.options.get("font_size_style_values")), O3 = (e) => ct.explode(e.options.get("font_size_classes")), R3 = (e) => e.options.get("encoding") === "xml", WC = (e) => ct.explode(e.options.get("images_file_types")), $3 = Ut("table_tab_navigation"), Ya = Ut("details_initial_state"), gO = Ut("details_serialized_state"), Dp = Ut("force_hex_color"), av = Ut("sandbox_iframes"), ZC = qt, P2 = ut, jC = (e) => {
7597
7597
  const n = e.parentNode;
7598
7598
  n && n.removeChild(e);
7599
7599
  }, GC = (e) => {
@@ -7606,15 +7606,15 @@ Required: ` + n.join(", "));
7606
7606
  let n;
7607
7607
  for (; (n = e.data.lastIndexOf(x)) !== -1; )
7608
7608
  e.deleteData(n, 1);
7609
- }, o1 = (e, n) => (ka(e), n), MT = (e, n) => {
7609
+ }, o1 = (e, n) => (ka(e), n), M3 = (e, n) => {
7610
7610
  const o = GC(e.data.substr(0, n.offset())), r = GC(e.data.substr(n.offset()));
7611
7611
  return (o.text + r.text).length > 0 ? (fh(e), Le(e, n.offset() - o.count)) : n;
7612
- }, PT = (e, n) => {
7612
+ }, P3 = (e, n) => {
7613
7613
  const o = n.container(), r = Zi(wr(o.childNodes), e).map((l) => l < n.offset() ? Le(o, n.offset() - 1) : n).getOr(n);
7614
7614
  return ka(e), r;
7615
- }, s1 = (e, n) => P2(e) && n.container() === e ? MT(e, n) : o1(e, n), B2 = (e, n) => n.container() === e.parentNode ? PT(e, n) : o1(e, n), qC = (e, n) => Le.isTextPosition(n) ? s1(e, n) : B2(e, n), ka = (e) => {
7615
+ }, s1 = (e, n) => P2(e) && n.container() === e ? M3(e, n) : o1(e, n), B2 = (e, n) => n.container() === e.parentNode ? P3(e, n) : o1(e, n), qC = (e, n) => Le.isTextPosition(n) ? s1(e, n) : B2(e, n), ka = (e) => {
7616
7616
  ZC(e) && an(e) && (zn(e) ? e.removeAttribute("data-mce-caret") : jC(e)), P2(e) && (fh(e), e.data.length === 0 && jC(e));
7617
- }, KC = vo, N2 = hr, hO = Of, Op = "*[contentEditable=false],video,audio,embed,object", BT = (e, n, o) => {
7617
+ }, KC = vo, N2 = hr, hO = Of, Op = "*[contentEditable=false],video,audio,embed,object", B3 = (e, n, o) => {
7618
7618
  const r = qm(n.getBoundingClientRect(), o);
7619
7619
  let l, u;
7620
7620
  if (e.tagName === "BODY") {
@@ -7647,7 +7647,7 @@ Required: ` + n.join(", "));
7647
7647
  if (P(), hO(se))
7648
7648
  return null;
7649
7649
  if (o(se)) {
7650
- const ke = mc(b, se, K), Se = BT(n, se, K);
7650
+ const ke = mc(b, se, K), Se = B3(n, se, K);
7651
7651
  y.setStyle(ke, "top", Se.top), f = ke;
7652
7652
  const Be = y.create("div", {
7653
7653
  class: "mce-visual-caret",
@@ -7678,13 +7678,13 @@ Required: ` + n.join(", "));
7678
7678
  getCss: () => ".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}",
7679
7679
  reposition: () => {
7680
7680
  l.on((K) => {
7681
- const se = BT(n, K.element, K.before);
7681
+ const se = B3(n, K.element, K.before);
7682
7682
  y.setStyles(K.caret, { ...se });
7683
7683
  });
7684
7684
  },
7685
7685
  destroy: () => clearInterval(u)
7686
7686
  };
7687
- }, r1 = () => It.browser.isFirefox(), lv = (e) => KC(e) || N2(e), Rp = (e) => (lv(e) || Eu(e) && r1()) && Zc(ie.fromDom(e)).exists(Vn), NT = il, qf = vo, XC = hr, Kf = sd("display", "block table table-cell table-caption list-item"), Yf = an, L2 = gt, JC = qt, pO = ut, F2 = uo, Xf = (e) => e > 0, em = (e) => e < 0, a1 = (e, n) => {
7687
+ }, r1 = () => It.browser.isFirefox(), lv = (e) => KC(e) || N2(e), Rp = (e) => (lv(e) || Eu(e) && r1()) && Zc(ie.fromDom(e)).exists(Vn), N3 = il, qf = vo, XC = hr, Kf = sd("display", "block table table-cell table-caption list-item"), Yf = an, L2 = gt, JC = qt, pO = ut, F2 = uo, Xf = (e) => e > 0, em = (e) => e < 0, a1 = (e, n) => {
7688
7688
  let o;
7689
7689
  for (; o = e(n); )
7690
7690
  if (!L2(o))
@@ -7709,7 +7709,7 @@ Required: ` + n.join(", "));
7709
7709
  }
7710
7710
  return null;
7711
7711
  }, H2 = (e, n) => {
7712
- const o = (l) => NT(l.dom), r = (l) => l.dom === n;
7712
+ const o = (l) => N3(l.dom), r = (l) => l.dom === n;
7713
7713
  return Xs(ie.fromDom(e), o, r).map((l) => l.dom).getOr(n);
7714
7714
  }, Jm = (e, n) => {
7715
7715
  for (; e && e !== n; ) {
@@ -7783,7 +7783,7 @@ Required: ` + n.join(", "));
7783
7783
  }, QC = (e, n) => l1(e ? 0 : -1, n).filter(qf), Jf = (e, n, o) => {
7784
7784
  const r = z2(e, n, o);
7785
7785
  return e === -1 ? Le.fromRangeStart(r) : Le.fromRangeEnd(r);
7786
- }, iv = (e) => z.from(e.getNode()).map(ie.fromDom), IT = (e) => z.from(e.getNode(!0)).map(ie.fromDom), e_ = (e, n) => {
7786
+ }, iv = (e) => z.from(e.getNode()).map(ie.fromDom), I3 = (e) => z.from(e.getNode(!0)).map(ie.fromDom), e_ = (e, n) => {
7787
7787
  let o = n;
7788
7788
  for (; o = e(o); )
7789
7789
  if (o.isVisible())
@@ -7852,10 +7852,10 @@ Required: ` + n.join(", "));
7852
7852
  }, hd = (e) => ({
7853
7853
  next: (n) => gh(Lr.Forwards, n, e),
7854
7854
  prev: (n) => gh(Lr.Backwards, n, e)
7855
- }), LT = (e, n, o) => {
7855
+ }), L3 = (e, n, o) => {
7856
7856
  const r = e ? Le.before(o) : Le.after(o);
7857
7857
  return Xa(e, n, r);
7858
- }, FT = (e) => cs(e) ? Le.before(e) : Le.after(e), eg = (e) => Le.isTextPosition(e) ? e.offset() === 0 : uo(e.getNode()), Ip = (e) => {
7858
+ }, F3 = (e) => cs(e) ? Le.before(e) : Le.after(e), eg = (e) => Le.isTextPosition(e) ? e.offset() === 0 : uo(e.getNode()), Ip = (e) => {
7859
7859
  if (Le.isTextPosition(e)) {
7860
7860
  const n = e.container();
7861
7861
  return e.offset() === n.data.length;
@@ -7866,7 +7866,7 @@ Required: ` + n.join(", "));
7866
7866
  return z.from(e ? r.next(o) : r.prev(o));
7867
7867
  }, ef = (e, n, o) => Xa(e, n, o).bind((r) => gd(o, r, n) && Z2(e, o, r) ? Xa(e, n, r) : z.some(r)), Bu = (e, n, o, r) => ef(e, n, o).bind((l) => r(l) ? Bu(e, n, l, r) : z.some(l)), Lp = (e, n) => {
7868
7868
  const o = e ? n.firstChild : n.lastChild;
7869
- return ut(o) ? z.some(Le(o, e ? 0 : o.data.length)) : o ? uo(o) ? z.some(e ? Le.before(o) : FT(o)) : LT(e, n, o) : z.none();
7869
+ return ut(o) ? z.some(Le(o, e ? 0 : o.data.length)) : o ? uo(o) ? z.some(e ? Le.before(o) : F3(o)) : L3(e, n, o) : z.none();
7870
7870
  }, Ql = Pe(Xa, !0), Rc = Pe(Xa, !1), hc = Pe(Lp, !0), Nu = Pe(Lp, !1), mv = "_mce_caret", Di = (e) => qt(e) && e.id === mv, hh = (e, n) => {
7871
7871
  let o = n;
7872
7872
  for (; o && o !== e; ) {
@@ -7875,7 +7875,7 @@ Required: ` + n.join(", "));
7875
7875
  o = o.parentNode;
7876
7876
  }
7877
7877
  return null;
7878
- }, j2 = (e) => he(e.start), HT = (e) => pn(e, "rng"), n_ = (e) => pn(e, "id"), d1 = (e) => pn(e, "name"), o_ = (e) => ct.isArray(e.start), m1 = (e) => !d1(e) && Nn(e.forward) ? e.forward : !0, fv = (e, n) => (qt(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n), VT = (e, n) => {
7878
+ }, j2 = (e) => he(e.start), H3 = (e) => pn(e, "rng"), n_ = (e) => pn(e, "id"), d1 = (e) => pn(e, "name"), o_ = (e) => ct.isArray(e.start), m1 = (e) => !d1(e) && Nn(e.forward) ? e.forward : !0, fv = (e, n) => (qt(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n), V3 = (e, n) => {
7879
7879
  const o = z.from(gc(e.getRoot(), n.start)), r = z.from(gc(e.getRoot(), n.end));
7880
7880
  return Cr(o, r, (l, u) => {
7881
7881
  const f = e.createRng();
@@ -7888,7 +7888,7 @@ Required: ` + n.join(", "));
7888
7888
  var o;
7889
7889
  const l = ((o = e.ownerDocument) !== null && o !== void 0 ? o : document).createTextNode(x);
7890
7890
  e.appendChild(l), n.setStart(l, 0), n.setEnd(l, 0);
7891
- }, zT = (e) => !e.hasChildNodes(), vO = (e, n) => Nu(e).fold(tt, (o) => (n.setStart(o.container(), o.offset()), n.setEnd(o.container(), o.offset()), !0)), r_ = (e, n, o) => zT(n) && hh(e, n) ? (s_(n, o), !0) : !1, So = (e, n, o, r) => {
7891
+ }, z3 = (e) => !e.hasChildNodes(), vO = (e, n) => Nu(e).fold(tt, (o) => (n.setStart(o.container(), o.offset()), n.setEnd(o.container(), o.offset()), !0)), r_ = (e, n, o) => z3(n) && hh(e, n) ? (s_(n, o), !0) : !1, So = (e, n, o, r) => {
7892
7892
  const l = o[n ? "start" : "end"], u = e.getRoot();
7893
7893
  if (l) {
7894
7894
  let f = u, b = l[0];
@@ -7944,26 +7944,26 @@ Required: ` + n.join(", "));
7944
7944
  range: r,
7945
7945
  forward: !0
7946
7946
  };
7947
- }), UT = (e, n) => {
7947
+ }), U3 = (e, n) => {
7948
7948
  const o = e.dom;
7949
7949
  if (n) {
7950
7950
  if (o_(n))
7951
7951
  return G2(o, n);
7952
7952
  if (j2(n))
7953
- return VT(o, n);
7953
+ return V3(o, n);
7954
7954
  if (n_(n))
7955
7955
  return a_(o, n);
7956
7956
  if (d1(n))
7957
7957
  return f1(o, n);
7958
- if (HT(n))
7958
+ if (H3(n))
7959
7959
  return z.some({
7960
7960
  range: n.rng,
7961
7961
  forward: m1(n)
7962
7962
  });
7963
7963
  }
7964
7964
  return z.none();
7965
- }, Fp = (e, n, o) => eT(e, n, o), gv = (e, n) => {
7966
- UT(e, n).each(({ range: o, forward: r }) => {
7965
+ }, Fp = (e, n, o) => e3(e, n, o), gv = (e, n) => {
7966
+ U3(e, n).each(({ range: o, forward: r }) => {
7967
7967
  e.setRng(o, r);
7968
7968
  });
7969
7969
  }, Oi = (e) => qt(e) && e.tagName === "SPAN" && e.getAttribute("data-mce-type") === "bookmark", hv = ((e) => (n) => e === n)(Bo), Hp = (e) => e !== "" && ` \f
@@ -7976,16 +7976,16 @@ Required: ` + n.join(", "));
7976
7976
  }, bv = (e) => yr(e, (n) => {
7977
7977
  const o = Qy(n);
7978
7978
  return o ? [ie.fromDom(o)] : [];
7979
- }), bh = (e) => pv(e).length > 1, WT = (e) => zt(bv(e), jl), l_ = (e) => va(e, "td[data-mce-selected],th[data-mce-selected]"), ZT = (e, n) => {
7979
+ }), bh = (e) => pv(e).length > 1, W3 = (e) => zt(bv(e), jl), l_ = (e) => va(e, "td[data-mce-selected],th[data-mce-selected]"), Z3 = (e, n) => {
7980
7980
  const o = l_(n);
7981
- return o.length > 0 ? o : WT(e);
7982
- }, Vp = (e) => ZT(pv(e.selection.getSel()), ie.fromDom(e.getBody())), tf = (e, n) => tu(e, "table", n), jT = (e) => {
7981
+ return o.length > 0 ? o : W3(e);
7982
+ }, Vp = (e) => Z3(pv(e.selection.getSel()), ie.fromDom(e.getBody())), tf = (e, n) => tu(e, "table", n), j3 = (e) => {
7983
7983
  const n = e.startContainer, o = e.startOffset;
7984
7984
  return ut(n) ? o === 0 ? z.some(ie.fromDom(n)) : z.none() : z.from(n.childNodes[o]).map(ie.fromDom);
7985
- }, GT = (e) => {
7985
+ }, G3 = (e) => {
7986
7986
  const n = e.endContainer, o = e.endOffset;
7987
7987
  return ut(n) ? o === n.data.length ? z.some(ie.fromDom(n)) : z.none() : z.from(n.childNodes[o - 1]).map(ie.fromDom);
7988
- }, c_ = (e) => Bd(e).fold(ot([e]), (n) => [e].concat(c_(n))), q2 = (e) => Tc(e).fold(ot([e]), (n) => bo(n) === "br" ? uc(n).map((o) => [e].concat(q2(o))).getOr([]) : [e].concat(q2(n))), K2 = (e, n) => Cr(jT(n), GT(n), (o, r) => {
7988
+ }, c_ = (e) => Bd(e).fold(ot([e]), (n) => [e].concat(c_(n))), q2 = (e) => Tc(e).fold(ot([e]), (n) => bo(n) === "br" ? uc(n).map((o) => [e].concat(q2(o))).getOr([]) : [e].concat(q2(n))), K2 = (e, n) => Cr(j3(n), G3(n), (o, r) => {
7989
7989
  const l = ps(c_(e), Pe(To, o)), u = ps(q2(e), Pe(To, r));
7990
7990
  return l.isSome() && u.isSome();
7991
7991
  }).getOr(!1), Y2 = (e, n, o, r) => {
@@ -8018,7 +8018,7 @@ Required: ` + n.join(", "));
8018
8018
  }, i_ = (e, n, o) => {
8019
8019
  const r = xC(e, n);
8020
8020
  o(r), e.moveToBookmark(r);
8021
- }, g1 = (e) => Xt(e == null ? void 0 : e.nodeType), X2 = (e) => qt(e) && !Oi(e) && !Di(e) && !ru(e), qT = (e, n) => {
8021
+ }, g1 = (e) => Xt(e == null ? void 0 : e.nodeType), X2 = (e) => qt(e) && !Oi(e) && !Di(e) && !ru(e), q3 = (e, n) => {
8022
8022
  if (X2(n) && !/^(TD|TH)$/.test(n.nodeName)) {
8023
8023
  const o = e.getAttrib(n, "data-mce-selected"), r = parseInt(o, 10);
8024
8024
  return !isNaN(r) && r > 0;
@@ -8028,11 +8028,11 @@ Required: ` + n.join(", "));
8028
8028
  const { selection: r, dom: l } = e, u = r.getNode(), f = vo(u);
8029
8029
  i_(r, !0, () => {
8030
8030
  n();
8031
- }), f && vo(u) && l.isChildOf(u, e.getBody()) ? e.selection.select(u) : o(r.getStart()) && KT(l, r);
8032
- }, KT = (e, n) => {
8031
+ }), f && vo(u) && l.isChildOf(u, e.getBody()) ? e.selection.select(u) : o(r.getStart()) && K3(l, r);
8032
+ }, K3 = (e, n) => {
8033
8033
  var o, r;
8034
8034
  const l = n.getRng(), { startContainer: u, startOffset: f } = l, b = n.getNode();
8035
- if (!qT(e, b) && qt(u)) {
8035
+ if (!q3(e, b) && qt(u)) {
8036
8036
  const y = u.childNodes, k = e.getRoot();
8037
8037
  let P;
8038
8038
  if (f < y.length) {
@@ -8095,7 +8095,7 @@ Required: ` + n.join(", "));
8095
8095
  const b = oo(f) ? f : vl(f);
8096
8096
  return Rt(b, l);
8097
8097
  }));
8098
- }), YT = (e, n, o) => {
8098
+ }), Y3 = (e, n, o) => {
8099
8099
  const r = [
8100
8100
  "inline",
8101
8101
  "block",
@@ -8195,10 +8195,10 @@ Required: ` + n.join(", "));
8195
8195
  u = u.parentNode;
8196
8196
  }
8197
8197
  return o;
8198
- }, XT = (e) => Wp(e.parentNode) || Wp(e), of = (e, n, o, r = !1) => {
8198
+ }, X3 = (e) => Wp(e.parentNode) || Wp(e), of = (e, n, o, r = !1) => {
8199
8199
  let { startContainer: l, startOffset: u, endContainer: f, endOffset: b } = n;
8200
8200
  const y = o[0];
8201
- return qt(l) && l.hasChildNodes() && (l = oi(l, u), ut(l) && (u = 0)), qt(f) && f.hasChildNodes() && (f = oi(f, n.collapsed ? b : b - 1), ut(f) && (b = f.data.length)), l = g_(e, l), f = g_(e, f), XT(l) && (l = Wp(l) ? l : l.parentNode, n.collapsed ? l = l.previousSibling || l : l = l.nextSibling || l, ut(l) && (u = n.collapsed ? l.length : 0)), XT(f) && (f = Wp(f) ? f : f.parentNode, n.collapsed ? f = f.nextSibling || f : f = f.previousSibling || f, ut(f) && (b = n.collapsed ? 0 : f.length)), n.collapsed && ($c(e, e.getRoot(), l, u, !0, r).each(({ container: B, offset: F }) => {
8201
+ return qt(l) && l.hasChildNodes() && (l = oi(l, u), ut(l) && (u = 0)), qt(f) && f.hasChildNodes() && (f = oi(f, n.collapsed ? b : b - 1), ut(f) && (b = f.data.length)), l = g_(e, l), f = g_(e, f), X3(l) && (l = Wp(l) ? l : l.parentNode, n.collapsed ? l = l.previousSibling || l : l = l.nextSibling || l, ut(l) && (u = n.collapsed ? l.length : 0)), X3(f) && (f = Wp(f) ? f : f.parentNode, n.collapsed ? f = f.nextSibling || f : f = f.previousSibling || f, ut(f) && (b = n.collapsed ? 0 : f.length)), n.collapsed && ($c(e, e.getRoot(), l, u, !0, r).each(({ container: B, offset: F }) => {
8202
8202
  l = B, u = F;
8203
8203
  }), $c(e, e.getRoot(), f, b, !1, r).each(({ container: B, offset: F }) => {
8204
8204
  f = B, b = F;
@@ -8353,7 +8353,7 @@ Required: ` + n.join(", "));
8353
8353
  moveToBookmark: Pe(gv, e)
8354
8354
  });
8355
8355
  vh.isBookmarkNode = Oi;
8356
- const sw = (e, n, o) => o.collapsed ? !1 : Rt(o.getClientRects(), (r) => bC(r, e, n)), rw = (e, n) => e.dispatch("PreProcess", n), JT = (e, n) => e.dispatch("PostProcess", n), Zp = (e) => {
8356
+ const sw = (e, n, o) => o.collapsed ? !1 : Rt(o.getClientRects(), (r) => bC(r, e, n)), rw = (e, n) => e.dispatch("PreProcess", n), J3 = (e, n) => e.dispatch("PostProcess", n), Zp = (e) => {
8357
8357
  e.dispatch("remove");
8358
8358
  }, jp = (e) => {
8359
8359
  e.dispatch("detach");
@@ -8375,11 +8375,11 @@ Required: ` + n.join(", "));
8375
8375
  });
8376
8376
  }, og = (e) => {
8377
8377
  e.dispatch("PreInit");
8378
- }, QT = (e) => {
8378
+ }, Q3 = (e) => {
8379
8379
  e.dispatch("PostRender");
8380
8380
  }, k1 = (e) => {
8381
8381
  e.dispatch("Init");
8382
- }, e3 = (e, n) => {
8382
+ }, eT = (e, n) => {
8383
8383
  e.dispatch("PlaceholderToggle", { state: n });
8384
8384
  }, ri = (e, n, o) => {
8385
8385
  e.dispatch(n, o);
@@ -8395,19 +8395,19 @@ Required: ` + n.join(", "));
8395
8395
  node: o,
8396
8396
  vars: r
8397
8397
  });
8398
- }, yO = (e, n) => e.dispatch("BeforeSetContent", n), y_ = (e, n) => e.dispatch("SetContent", n), t3 = (e, n) => e.dispatch("BeforeGetContent", n), yo = (e, n) => e.dispatch("GetContent", n), cw = (e, n) => {
8398
+ }, yO = (e, n) => e.dispatch("BeforeSetContent", n), y_ = (e, n) => e.dispatch("SetContent", n), tT = (e, n) => e.dispatch("BeforeGetContent", n), yo = (e, n) => e.dispatch("GetContent", n), cw = (e, n) => {
8399
8399
  e.dispatch("AutocompleterStart", n);
8400
8400
  }, w_ = (e, n) => {
8401
8401
  e.dispatch("AutocompleterUpdate", n);
8402
8402
  }, iw = (e) => {
8403
8403
  e.dispatch("AutocompleterEnd");
8404
- }, n3 = (e, n, o) => e.dispatch("PastePreProcess", {
8404
+ }, nT = (e, n, o) => e.dispatch("PastePreProcess", {
8405
8405
  content: n,
8406
8406
  internal: o
8407
- }), o3 = (e, n, o) => e.dispatch("PastePostProcess", {
8407
+ }), oT = (e, n, o) => e.dispatch("PastePostProcess", {
8408
8408
  node: n,
8409
8409
  internal: o
8410
- }), x_ = (e, n) => e.dispatch("PastePlainTextToggle", { state: n }), s3 = (e, n) => e.dispatch("EditableRootStateChange", { state: n }), Wt = {
8410
+ }), x_ = (e, n) => e.dispatch("PastePlainTextToggle", { state: n }), sT = (e, n) => e.dispatch("EditableRootStateChange", { state: n }), Wt = {
8411
8411
  BACKSPACE: 8,
8412
8412
  DELETE: 46,
8413
8413
  DOWN: 40,
@@ -8424,7 +8424,7 @@ Required: ` + n.join(", "));
8424
8424
  HOME: 36,
8425
8425
  modifierPressed: (e) => e.shiftKey || e.ctrlKey || e.altKey || Wt.metaKeyPressed(e),
8426
8426
  metaKeyPressed: (e) => It.os.isMacOS() || It.os.isiOS() ? e.metaKey : e.ctrlKey && !e.altKey
8427
- }, sg = "data-mce-selected", C_ = "table,img,figure.image,hr,video,span.mce-preview-object,details", T1 = Math.abs, E1 = Math.round, r3 = {
8427
+ }, sg = "data-mce-selected", C_ = "table,img,figure.image,hr,video,span.mce-preview-object,details", T1 = Math.abs, E1 = Math.round, rT = {
8428
8428
  nw: [
8429
8429
  0,
8430
8430
  0,
@@ -8494,7 +8494,7 @@ Required: ` + n.join(", "));
8494
8494
  const Mn = o.getPos(Ct, u), Oo = Mn.x, Ss = Mn.y, hs = Ct.getBoundingClientRect(), Ha = hs.width || hs.right - hs.left, vm = hs.height || hs.bottom - hs.top;
8495
8495
  f !== Ct && (Tt(), f = Ct, Se = Be = 0);
8496
8496
  const Cg = n.dispatch("ObjectSelected", { target: Ct });
8497
- cn(Ct) && !Cg.isDefaultPrevented() ? bt(r3, (ci, Ed) => {
8497
+ cn(Ct) && !Cg.isDefaultPrevented() ? bt(rT, (ci, Ed) => {
8498
8498
  const Ln = ($s) => {
8499
8499
  const tr = Kt(f)[0];
8500
8500
  B = $s.screenX, F = $s.screenY, K = tr.clientWidth, se = tr.clientHeight, we = se / K, k = ci, k.name = Ed, k.startPos = {
@@ -8533,7 +8533,7 @@ Required: ` + n.join(", "));
8533
8533
  });
8534
8534
  }) : Tt(!1);
8535
8535
  }, us = z0(Ml, 0), Tt = (Ct = !0) => {
8536
- us.cancel(), mo(), f && Ct && f.removeAttribute(sg), bt(r3, (Mn, Oo) => {
8536
+ us.cancel(), mo(), f && Ct && f.removeAttribute(sg), bt(rT, (Mn, Oo) => {
8537
8537
  const Ss = o.get("mceResizeHandle" + Oo);
8538
8538
  Ss && (o.unbind(Ss), o.remove(Ss));
8539
8539
  });
@@ -8553,7 +8553,7 @@ Required: ` + n.join(", "));
8553
8553
  }
8554
8554
  Tt();
8555
8555
  }, mo = () => {
8556
- bt(r3, (Ct) => {
8556
+ bt(rT, (Ct) => {
8557
8557
  Ct.elm && (o.unbind(Ct.elm), delete Ct.elm);
8558
8558
  });
8559
8559
  }, Qt = () => {
@@ -8583,7 +8583,7 @@ Required: ` + n.join(", "));
8583
8583
  }, (o) => {
8584
8584
  e.setStartAfter(o.dom);
8585
8585
  });
8586
- }, a3 = (e, n) => {
8586
+ }, aT = (e, n) => {
8587
8587
  n.fold((o) => {
8588
8588
  e.setEndBefore(o.dom);
8589
8589
  }, (o, r) => {
@@ -8593,7 +8593,7 @@ Required: ` + n.join(", "));
8593
8593
  });
8594
8594
  }, __ = (e, n, o) => {
8595
8595
  const r = e.document.createRange();
8596
- return q7(r, n), a3(r, o), r;
8596
+ return q7(r, n), aT(r, o), r;
8597
8597
  }, xn = (e, n, o, r, l) => {
8598
8598
  const u = e.document.createRange();
8599
8599
  return u.setStart(n.dom, o), u.setEnd(r.dom, l), u;
@@ -8614,7 +8614,7 @@ Required: ` + n.join(", "));
8614
8614
  "foffset"
8615
8615
  ]
8616
8616
  }
8617
- ]), S_ = (e, n, o) => n(ie.fromDom(o.startContainer), o.startOffset, ie.fromDom(o.endContainer), o.endOffset), l3 = (e, n) => n.match({
8617
+ ]), S_ = (e, n, o) => n(ie.fromDom(o.startContainer), o.startOffset, ie.fromDom(o.endContainer), o.endOffset), lT = (e, n) => n.match({
8618
8618
  domRange: (o) => ({
8619
8619
  ltr: ot(o),
8620
8620
  rtl: z.none
@@ -8630,8 +8630,8 @@ Required: ` + n.join(", "));
8630
8630
  }), A1 = (e, n) => {
8631
8631
  const o = n.ltr();
8632
8632
  return o.collapsed ? n.rtl().filter((l) => l.collapsed === !1).map((l) => rf.rtl(ie.fromDom(l.endContainer), l.endOffset, ie.fromDom(l.startContainer), l.startOffset)).getOrThunk(() => S_(e, rf.ltr, o)) : S_(e, rf.ltr, o);
8633
- }, c3 = (e, n) => {
8634
- const o = l3(e, n);
8633
+ }, cT = (e, n) => {
8634
+ const o = lT(e, n);
8635
8635
  return A1(e, o);
8636
8636
  };
8637
8637
  rf.ltr, rf.rtl;
@@ -8651,9 +8651,9 @@ Required: ` + n.join(", "));
8651
8651
  }, Ev = (e, n, o) => {
8652
8652
  var r, l;
8653
8653
  return z.from((l = (r = e.dom).caretRangeFromPoint) === null || l === void 0 ? void 0 : l.call(r, n, o));
8654
- }, i3 = document.caretPositionFromPoint ? T_ : document.caretRangeFromPoint ? Ev : z.none, u3 = (e, n, o) => {
8654
+ }, iT = document.caretPositionFromPoint ? T_ : document.caretRangeFromPoint ? Ev : z.none, uT = (e, n, o) => {
8655
8655
  const r = ie.fromDom(e.document);
8656
- return i3(r, n, o).map((l) => uw.create(ie.fromDom(l.startContainer), l.startOffset, ie.fromDom(l.endContainer), l.endOffset));
8656
+ return iT(r, n, o).map((l) => uw.create(ie.fromDom(l.startContainer), l.startOffset, ie.fromDom(l.endContainer), l.endOffset));
8657
8657
  }, Gp = fd.generate([
8658
8658
  { before: ["element"] },
8659
8659
  {
@@ -8663,9 +8663,9 @@ Required: ` + n.join(", "));
8663
8663
  ]
8664
8664
  },
8665
8665
  { after: ["element"] }
8666
- ]), dw = (e, n, o, r) => e.fold(n, o, r), E_ = (e) => e.fold(Ht, Ht, Ht), d3 = Gp.before, m3 = Gp.on, Av = Gp.after, nm = {
8667
- before: d3,
8668
- on: m3,
8666
+ ]), dw = (e, n, o, r) => e.fold(n, o, r), E_ = (e) => e.fold(Ht, Ht, Ht), dT = Gp.before, mT = Gp.on, Av = Gp.after, nm = {
8667
+ before: dT,
8668
+ on: mT,
8669
8669
  after: Av,
8670
8670
  cata: dw,
8671
8671
  getStart: E_
@@ -8685,12 +8685,12 @@ Required: ` + n.join(", "));
8685
8685
  "foffset"
8686
8686
  ]
8687
8687
  }
8688
- ]), Ho = (e) => Dv.exact(e.start, e.soffset, e.finish, e.foffset), f3 = (e) => e.match({
8688
+ ]), Ho = (e) => Dv.exact(e.start, e.soffset, e.finish, e.foffset), fT = (e) => e.match({
8689
8689
  domRange: (n) => ie.fromDom(n.startContainer),
8690
8690
  relative: (n, o) => nm.getStart(n),
8691
8691
  exact: (n, o, r, l) => n
8692
8692
  }), af = Dv.domRange, om = Dv.relative, Ov = Dv.exact, Ri = (e) => {
8693
- const n = f3(e);
8693
+ const n = fT(e);
8694
8694
  return kc(n);
8695
8695
  }, Rv = uw.create, lf = {
8696
8696
  domRange: af,
@@ -8711,7 +8711,7 @@ Required: ` + n.join(", "));
8711
8711
  }, mw = (e, n, o, r) => {
8712
8712
  const l = qp(e, n), u = qp(o, r);
8713
8713
  return lf.relative(l, u);
8714
- }, g3 = (e) => e.match({
8714
+ }, gT = (e) => e.match({
8715
8715
  domRange: (n) => {
8716
8716
  const o = ie.fromDom(n.startContainer), r = ie.fromDom(n.endContainer);
8717
8717
  return mw(o, n.startOffset, r, n.endOffset);
@@ -8723,19 +8723,19 @@ Required: ` + n.join(", "));
8723
8723
  return Te(e, (l) => {
8724
8724
  r.appendChild(l.dom);
8725
8725
  }), ie.fromDom(r);
8726
- }, h3 = (e) => {
8727
- const n = lf.getWin(e).dom, o = (l, u, f, b) => xn(n, l, u, f, b), r = g3(e);
8728
- return c3(n, r).match({
8726
+ }, hT = (e) => {
8727
+ const n = lf.getWin(e).dom, o = (l, u, f, b) => xn(n, l, u, f, b), r = gT(e);
8728
+ return cT(n, r).match({
8729
8729
  ltr: o,
8730
8730
  rtl: o
8731
8731
  });
8732
- }, ko = (e, n, o) => u3(e, n, o), $i = (e, n, o) => {
8732
+ }, ko = (e, n, o) => uT(e, n, o), $i = (e, n, o) => {
8733
8733
  const r = kc(ie.fromDom(o));
8734
8734
  return ko(r.dom, e, n).map((l) => {
8735
8735
  const u = o.createRange();
8736
8736
  return u.setStart(l.start.dom, l.soffset), u.setEnd(l.finish.dom, l.foffset), u;
8737
8737
  }).getOrUndefined();
8738
- }, cf = (e, n) => Ze(e) && Ze(n) && e.startContainer === n.startContainer && e.startOffset === n.startOffset && e.endContainer === n.endContainer && e.endOffset === n.endOffset, p3 = (e, n, o) => {
8738
+ }, cf = (e, n) => Ze(e) && Ze(n) && e.startContainer === n.startContainer && e.startOffset === n.startOffset && e.endContainer === n.endContainer && e.endOffset === n.endOffset, pT = (e, n, o) => {
8739
8739
  let r = e;
8740
8740
  for (; r && r !== n; ) {
8741
8741
  if (o(r))
@@ -8743,7 +8743,7 @@ Required: ` + n.join(", "));
8743
8743
  r = r.parentNode;
8744
8744
  }
8745
8745
  return null;
8746
- }, Kp = (e, n, o) => p3(e, n, o) !== null, $o = (e, n, o) => Kp(e, n, (r) => r.nodeName === o), b3 = (e, n) => an(e) && !Kp(e, n, Di), gw = (e, n, o) => {
8746
+ }, Kp = (e, n, o) => pT(e, n, o) !== null, $o = (e, n, o) => Kp(e, n, (r) => r.nodeName === o), bT = (e, n) => an(e) && !Kp(e, n, Di), gw = (e, n, o) => {
8747
8747
  const r = n.parentNode;
8748
8748
  if (r) {
8749
8749
  const l = new Es(n, e.getParent(r, e.isBlock) || e.getRoot());
@@ -8774,7 +8774,7 @@ Required: ` + n.join(", "));
8774
8774
  return z.some(Le(b, e.nodeIndex(l)));
8775
8775
  const B = new Es(l, P);
8776
8776
  for (; k = B[r ? "prev" : "next"](); ) {
8777
- if (e.getContentEditableParent(k) === "false" || b3(k, u))
8777
+ if (e.getContentEditableParent(k) === "false" || bT(k, u))
8778
8778
  return z.none();
8779
8779
  if (ut(k) && k.data.length > 0)
8780
8780
  return $o(k, u, "A") ? z.none() : z.some(Le(k, r ? k.data.length : 0));
@@ -9031,8 +9031,8 @@ Required: ` + n.join(", "));
9031
9031
  }, Pv = (e) => {
9032
9032
  const n = K7(e) ? J7(ie.fromDom(e.getBody())) : z.none();
9033
9033
  e.bookmark = n.isSome() ? n : e.bookmark;
9034
- }, v3 = (e) => (e.bookmark ? e.bookmark : z.none()).bind((o) => _O(ie.fromDom(e.getBody()), o)).bind(SO), Q7 = (e) => {
9035
- v3(e).each((n) => e.selection.setRng(n));
9034
+ }, vT = (e) => (e.bookmark ? e.bookmark : z.none()).bind((o) => _O(ie.fromDom(e.getBody()), o)).bind(SO), Q7 = (e) => {
9035
+ vT(e).each((n) => e.selection.setRng(n));
9036
9036
  }, TO = { isEditorUIElement: (e) => {
9037
9037
  const n = e.className.toString();
9038
9038
  return n.indexOf("tox-") !== -1 || n.indexOf("mce-") !== -1;
@@ -9078,7 +9078,7 @@ Required: ` + n.join(", "));
9078
9078
  }, B_ = (e, n) => {
9079
9079
  const o = NC(e);
9080
9080
  return M_.getParent(n, (l) => DO(l) || (o ? e.dom.is(l, o) : !1)) !== null;
9081
- }, y3 = (e) => {
9081
+ }, yT = (e) => {
9082
9082
  try {
9083
9083
  const n = xi(ie.fromDom(e.getElement()));
9084
9084
  return Yp(n).fold(() => document.body, (o) => o.dom);
@@ -9089,18 +9089,18 @@ Required: ` + n.join(", "));
9089
9089
  const o = n.editor;
9090
9090
  $_(o);
9091
9091
  const r = (l, u) => {
9092
- if (ET(l) && l.inline !== !0) {
9092
+ if (E3(l) && l.inline !== !0) {
9093
9093
  const f = ie.fromDom(l.getContainer());
9094
9094
  u(f, "tox-edit-focus");
9095
9095
  }
9096
9096
  };
9097
9097
  o.on("focusin", () => {
9098
9098
  const l = e.focusedEditor;
9099
- P_(y3(o)) && r(o, yu), l !== o && (l && l.dispatch("blur", { focusedEditor: o }), e.setActive(o), e.focusedEditor = o, o.dispatch("focus", { blurredEditor: l }), o.focus(!0));
9099
+ P_(yT(o)) && r(o, yu), l !== o && (l && l.dispatch("blur", { focusedEditor: o }), e.setActive(o), e.focusedEditor = o, o.dispatch("focus", { blurredEditor: l }), o.focus(!0));
9100
9100
  }), o.on("focusout", () => {
9101
9101
  Fu.setEditorTimeout(o, () => {
9102
9102
  const l = e.focusedEditor;
9103
- (!P_(y3(o)) || l !== o) && r(o, vi), !B_(o, y3(o)) && l === o && (o.dispatch("blur", { focusedEditor: null }), e.focusedEditor = null);
9103
+ (!P_(yT(o)) || l !== o) && r(o, vi), !B_(o, yT(o)) && l === o && (o.dispatch("blur", { focusedEditor: null }), e.focusedEditor = null);
9104
9104
  });
9105
9105
  }), $1 || ($1 = (l) => {
9106
9106
  const u = e.activeEditor;
@@ -9117,7 +9117,7 @@ Required: ` + n.join(", "));
9117
9117
  iN(ie.fromDom(e.getBody()), n).bind((o) => hc(o.dom)).fold(() => {
9118
9118
  e.selection.normalize();
9119
9119
  }, (o) => e.selection.setRng(o.toRange()));
9120
- }, w3 = (e) => {
9120
+ }, wT = (e) => {
9121
9121
  if (e.setActive)
9122
9122
  try {
9123
9123
  e.setActive();
@@ -9135,21 +9135,21 @@ Required: ` + n.join(", "));
9135
9135
  }, Xp = (e) => e.inline ? N_(e) : dN(e), $O = (e) => Xp(e) || RO(e), mN = (e) => {
9136
9136
  const n = e.selection, o = e.getBody();
9137
9137
  let r = n.getRng();
9138
- e.quirks.refreshContentEditable(), Ze(e.bookmark) && !Xp(e) && v3(e).each((u) => {
9138
+ e.quirks.refreshContentEditable(), Ze(e.bookmark) && !Xp(e) && vT(e).each((u) => {
9139
9139
  e.selection.setRng(u), r = u;
9140
9140
  });
9141
9141
  const l = lN(e, n.getNode());
9142
9142
  if (l && e.dom.isChildOf(l, o)) {
9143
- w3(l), OO(e, r), x3(e);
9143
+ wT(l), OO(e, r), xT(e);
9144
9144
  return;
9145
9145
  }
9146
- e.inline || (It.browser.isOpera() || w3(o), e.getWin().focus()), (It.browser.isFirefox() || e.inline) && (w3(o), OO(e, r)), x3(e);
9147
- }, x3 = (e) => e.editorManager.setActive(e), fN = (e, n) => {
9148
- e.removed || (n ? x3(e) : mN(e));
9146
+ e.inline || (It.browser.isOpera() || wT(o), e.getWin().focus()), (It.browser.isFirefox() || e.inline) && (wT(o), OO(e, r)), xT(e);
9147
+ }, xT = (e) => e.editorManager.setActive(e), fN = (e, n) => {
9148
+ e.removed || (n ? xT(e) : mN(e));
9149
9149
  }, MO = (e, n) => n.collapsed ? e.isEditable(n.startContainer) : e.isEditable(n.startContainer) && e.isEditable(n.endContainer), PO = (e, n, o, r, l) => {
9150
9150
  const u = o ? n.startContainer : n.endContainer, f = o ? n.startOffset : n.endOffset;
9151
9151
  return z.from(u).map(ie.fromDom).map((b) => !r || !n.collapsed ? Cu(b, l(b, f)).getOr(b) : b).bind((b) => Ba(b) ? z.some(b) : pa(b).filter(Ba)).map((b) => b.dom).getOr(e);
9152
- }, C3 = (e, n, o = !1) => PO(e, n, !0, o, (r, l) => Math.min(Ka(r), l)), BO = (e, n, o = !1) => PO(e, n, !1, o, (r, l) => l > 0 ? l - 1 : l), _3 = (e, n) => {
9152
+ }, CT = (e, n, o = !1) => PO(e, n, !0, o, (r, l) => Math.min(Ka(r), l)), BO = (e, n, o = !1) => PO(e, n, !1, o, (r, l) => l > 0 ? l - 1 : l), _T = (e, n) => {
9153
9153
  const o = e;
9154
9154
  for (; e && ut(e) && e.length === 0; )
9155
9155
  e = n ? e.nextSibling : e.previousSibling;
@@ -9160,11 +9160,11 @@ Required: ` + n.join(", "));
9160
9160
  let o = n.startContainer, r = n.endContainer;
9161
9161
  const l = n.startOffset, u = n.endOffset;
9162
9162
  let f = n.commonAncestorContainer;
9163
- n.collapsed || (o === r && u - l < 2 && o.hasChildNodes() && (f = o.childNodes[l]), ut(o) && ut(r) && (o.length === l ? o = _3(o.nextSibling, !0) : o = o.parentNode, u === 0 ? r = _3(r.previousSibling, !1) : r = r.parentNode, o && o === r && (f = o)));
9163
+ n.collapsed || (o === r && u - l < 2 && o.hasChildNodes() && (f = o.childNodes[l]), ut(o) && ut(r) && (o.length === l ? o = _T(o.nextSibling, !0) : o = o.parentNode, u === 0 ? r = _T(r.previousSibling, !1) : r = r.parentNode, o && o === r && (f = o)));
9164
9164
  const b = ut(f) ? f.parentNode : f;
9165
9165
  return su(b) ? b : e;
9166
9166
  }, gN = (e, n, o, r) => {
9167
- const l = [], u = e.getRoot(), f = e.getParent(o || C3(u, n, n.collapsed), e.isBlock), b = e.getParent(r || BO(u, n, n.collapsed), e.isBlock);
9167
+ const l = [], u = e.getRoot(), f = e.getParent(o || CT(u, n, n.collapsed), e.isBlock), b = e.getParent(r || BO(u, n, n.collapsed), e.isBlock);
9168
9168
  if (f && f !== u && l.push(f), f && b && f !== b) {
9169
9169
  let y;
9170
9170
  const k = new Es(f, u);
@@ -9175,7 +9175,7 @@ Required: ` + n.join(", "));
9175
9175
  }, hN = (e, n, o) => z.from(n).bind((r) => z.from(r.parentNode).map((l) => {
9176
9176
  const u = e.nodeIndex(r), f = e.createRng();
9177
9177
  return f.setStart(l, u), f.setEnd(l, u + 1), o && (Y2(e, f, r, !0), Y2(e, f, r, !1)), f;
9178
- })), S3 = (e, n) => Ke(n, (o) => {
9178
+ })), ST = (e, n) => Ke(n, (o) => {
9179
9179
  const r = e.dispatch("GetSelectionRange", { range: o });
9180
9180
  return r.range !== o ? r.range : o;
9181
9181
  }), pN = (e) => bo(e) === "img" ? 1 : A0(e).fold(() => $r(e).length, (n) => n.length), bN = (e) => A0(e).filter((n) => n.trim().length !== 0 || n.indexOf(Bo) > -1).isSome(), vN = (e) => Gs(e) && Ga(e, "contenteditable") === "false", yN = [
@@ -9418,7 +9418,7 @@ Required: ` + n.join(", "));
9418
9418
  Te(n, (o) => {
9419
9419
  Ga(o, "data-mce-bogus") === "all" ? Eo(o) : Vd(o) ? (jr(o, ie.fromText(Kg)), Eo(o)) : cl(o);
9420
9420
  });
9421
- }, k3 = (e) => {
9421
+ }, kT = (e) => {
9422
9422
  const n = va(e, "input");
9423
9423
  Te(n, (o) => {
9424
9424
  lr(o, "name");
@@ -9434,7 +9434,7 @@ Required: ` + n.join(", "));
9434
9434
  position: "fixed",
9435
9435
  left: "-9999999px",
9436
9436
  top: "0"
9437
- }), od(l, n.innerHTML), Un(l), k3(l);
9437
+ }), od(l, n.innerHTML), Un(l), kT(l);
9438
9438
  const u = hb(r);
9439
9439
  _r(u, l);
9440
9440
  const f = V(l.dom.innerText);
@@ -9637,8 +9637,8 @@ Required: ` + n.join(", "));
9637
9637
  "font",
9638
9638
  "text-decoration",
9639
9639
  "text-emphasis"
9640
- ], T3 = (e, n) => es(e.parseStyle(e.getAttrib(n, "style"))), BN = (e) => _n.has(e), bw = (e, n) => nr(T3(e, n), (o) => !BN(o)), qO = (e) => zt(e, (n) => Rt(GO, (o) => Ts(n, o))), NN = (e, n, o) => {
9641
- const r = T3(e, n), l = T3(e, o), u = (f) => {
9640
+ ], TT = (e, n) => es(e.parseStyle(e.getAttrib(n, "style"))), BN = (e) => _n.has(e), bw = (e, n) => nr(TT(e, n), (o) => !BN(o)), qO = (e) => zt(e, (n) => Rt(GO, (o) => Ts(n, o))), NN = (e, n, o) => {
9641
+ const r = TT(e, n), l = TT(e, o), u = (f) => {
9642
9642
  var b, y;
9643
9643
  const k = (b = e.getStyle(n, f)) !== null && b !== void 0 ? b : "", P = (y = e.getStyle(o, f)) !== null && y !== void 0 ? y : "";
9644
9644
  return Po(k) && Po(P) && k !== P;
@@ -9654,28 +9654,28 @@ Required: ` + n.join(", "));
9654
9654
  }, KO = (e, n, o) => z.from(o.container()).filter(ut).exists((r) => {
9655
9655
  const l = e ? 0 : -1;
9656
9656
  return n(r.data.charAt(o.offset() + l));
9657
- }), E3 = Pe(KO, !0, Hp), H_ = Pe(KO, !1, Hp), IN = (e) => {
9657
+ }), ET = Pe(KO, !0, Hp), H_ = Pe(KO, !1, Hp), IN = (e) => {
9658
9658
  const n = e.container();
9659
9659
  return ut(n) && (n.data.length === 0 || T(n.data) && vh.isBookmarkNode(n.parentNode));
9660
- }, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(), LN = (e) => Sl(e) && gr(ie.fromDom(e), "display") === "block", YO = (e) => vo(e) && !Yh(e), FN = M1(!0, LN), HN = M1(!1, LN), vw = M1(!0, hr), Bv = M1(!1, hr), XO = M1(!0, Eu), Xn = M1(!1, Eu), _h = M1(!0, YO), uf = M1(!1, YO), JO = (e) => e.slice(0, -1), QO = (e, n, o) => Na(n, e) ? JO(Ng(e, (r) => o(r) || To(r, n))) : [], A3 = (e, n) => QO(e, n, tt), ag = (e, n) => [e].concat(A3(e, n)), V_ = (e, n, o) => Bu(e, n, o, IN), VN = (e) => (n) => e.isBlock(bo(n)), D3 = (e, n, o) => ps(ag(ie.fromDom(n.container()), e), VN(o)), eR = (e, n, o, r) => V_(e, n.dom, o).forall((l) => D3(n, o, r).fold(() => !gd(l, o, n.dom), (u) => !gd(l, o, n.dom) && Na(u, ie.fromDom(l.container())))), tR = (e, n, o, r) => D3(n, o, r).fold(() => V_(e, n.dom, o).forall((l) => !gd(l, o, n.dom)), (l) => V_(e, l.dom, o).isNone()), O3 = Pe(tR, !1), nR = Pe(tR, !0), zN = Pe(eR, !1), UN = Pe(eR, !0), WN = (e) => iv(e).exists(Vd), z_ = (e, n, o, r) => {
9660
+ }, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(), LN = (e) => Sl(e) && gr(ie.fromDom(e), "display") === "block", YO = (e) => vo(e) && !Yh(e), FN = M1(!0, LN), HN = M1(!1, LN), vw = M1(!0, hr), Bv = M1(!1, hr), XO = M1(!0, Eu), Xn = M1(!1, Eu), _h = M1(!0, YO), uf = M1(!1, YO), JO = (e) => e.slice(0, -1), QO = (e, n, o) => Na(n, e) ? JO(Ng(e, (r) => o(r) || To(r, n))) : [], AT = (e, n) => QO(e, n, tt), ag = (e, n) => [e].concat(AT(e, n)), V_ = (e, n, o) => Bu(e, n, o, IN), VN = (e) => (n) => e.isBlock(bo(n)), DT = (e, n, o) => ps(ag(ie.fromDom(n.container()), e), VN(o)), eR = (e, n, o, r) => V_(e, n.dom, o).forall((l) => DT(n, o, r).fold(() => !gd(l, o, n.dom), (u) => !gd(l, o, n.dom) && Na(u, ie.fromDom(l.container())))), tR = (e, n, o, r) => DT(n, o, r).fold(() => V_(e, n.dom, o).forall((l) => !gd(l, o, n.dom)), (l) => V_(e, l.dom, o).isNone()), OT = Pe(tR, !1), nR = Pe(tR, !0), zN = Pe(eR, !1), UN = Pe(eR, !0), WN = (e) => iv(e).exists(Vd), z_ = (e, n, o, r) => {
9661
9661
  const l = zt(ag(ie.fromDom(o.container()), n), (f) => r.isBlock(bo(f))), u = to(l).getOr(n);
9662
9662
  return Xa(e, u.dom, o).filter(WN);
9663
- }, yw = (e, n, o) => iv(n).exists(Vd) || z_(!0, e, n, o).isSome(), ww = (e, n, o) => IT(n).exists(Vd) || z_(!1, e, n, o).isSome(), ZN = Pe(z_, !1), jN = Pe(z_, !0), oR = (e) => Le.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), sR = (e, n, o) => {
9663
+ }, yw = (e, n, o) => iv(n).exists(Vd) || z_(!0, e, n, o).isSome(), ww = (e, n, o) => I3(n).exists(Vd) || z_(!1, e, n, o).isSome(), ZN = Pe(z_, !1), jN = Pe(z_, !0), oR = (e) => Le.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), sR = (e, n, o) => {
9664
9664
  const r = zt(ag(ie.fromDom(n.container()), e), (l) => o.isBlock(bo(l)));
9665
9665
  return to(r).getOr(e);
9666
- }, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? E3(n) : E3(n) || Ql(sR(e, n, o).dom, n).exists(E3), GN = (e) => qe([
9666
+ }, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? ET(n) : ET(n) || Ql(sR(e, n, o).dom, n).exists(ET), GN = (e) => qe([
9667
9667
  "pre",
9668
9668
  "pre-wrap"
9669
- ], e), R3 = (e) => iv(e).bind((n) => al(n, Ba)).exists((n) => GN(gr(n, "white-space"))), lR = (e, n) => Rc(e.dom, n).isNone(), qN = (e, n) => Ql(e.dom, n).isNone(), KN = (e, n, o) => lR(e, n) || qN(e, n) || O3(e, n, o) || nR(e, n, o) || ww(e, n, o) || yw(e, n, o), P1 = (e) => Ze(e) && vo(e) && Kf(e), cR = (e, n) => (o) => P1(new Es(o, e)[n]()), iR = (e, n) => {
9669
+ ], e), RT = (e) => iv(e).bind((n) => al(n, Ba)).exists((n) => GN(gr(n, "white-space"))), lR = (e, n) => Rc(e.dom, n).isNone(), qN = (e, n) => Ql(e.dom, n).isNone(), KN = (e, n, o) => lR(e, n) || qN(e, n) || OT(e, n, o) || nR(e, n, o) || ww(e, n, o) || yw(e, n, o), P1 = (e) => Ze(e) && vo(e) && Kf(e), cR = (e, n) => (o) => P1(new Es(o, e)[n]()), iR = (e, n) => {
9670
9670
  const o = Ql(e.dom, n).getOr(n), r = cR(e.dom, "next");
9671
9671
  return n.isAtEnd() && (r(n.container()) || r(o.container()));
9672
9672
  }, YN = (e, n) => {
9673
9673
  const o = Rc(e.dom, n).getOr(n), r = cR(e.dom, "prev");
9674
9674
  return n.isAtStart() && (r(n.container()) || r(o.container()));
9675
- }, uR = (e, n, o) => R3(n) ? !1 : KN(e, n, o) || rR(e, n, o) || aR(e, n, o), Nv = (e, n, o) => R3(n) ? !1 : O3(e, n, o) || zN(e, n, o) || ww(e, n, o) || rR(e, n, o) || YN(e, n), dR = (e) => {
9675
+ }, uR = (e, n, o) => RT(n) ? !1 : KN(e, n, o) || rR(e, n, o) || aR(e, n, o), Nv = (e, n, o) => RT(n) ? !1 : OT(e, n, o) || zN(e, n, o) || ww(e, n, o) || rR(e, n, o) || YN(e, n), dR = (e) => {
9676
9676
  const n = e.container(), o = e.offset();
9677
9677
  return ut(n) && o < n.data.length ? Le(n, o + 1) : e;
9678
- }, Iv = (e, n, o) => R3(n) ? !1 : nR(e, n, o) || UN(e, n, o) || yw(e, n, o) || aR(e, n, o) || iR(e, n), U_ = (e, n, o) => Nv(e, n, o) || Iv(e, dR(n), o), Bc = (e, n) => hv(e.charAt(n)), mR = (e, n) => Hp(e.charAt(n)), XN = (e) => {
9678
+ }, Iv = (e, n, o) => RT(n) ? !1 : nR(e, n, o) || UN(e, n, o) || yw(e, n, o) || aR(e, n, o) || iR(e, n), U_ = (e, n, o) => Nv(e, n, o) || Iv(e, dR(n), o), Bc = (e, n) => hv(e.charAt(n)), mR = (e, n) => Hp(e.charAt(n)), XN = (e) => {
9679
9679
  const n = e.container();
9680
9680
  return ut(n) && ys(n.data, Bo);
9681
9681
  }, JN = (e) => {
@@ -9724,13 +9724,13 @@ Required: ` + n.join(", "));
9724
9724
  }, nI = (e, n) => {
9725
9725
  const o = e.container(), r = e.offset();
9726
9726
  return !Le.isTextPosition(e) && o === n.parentNode && r > Le.before(n).offset();
9727
- }, oI = (e, n) => nI(n, e) ? Le(n.container(), n.offset() - 1) : n, Sh = (e) => ut(e) ? Le(e, 0) : Le.before(e), Jo = (e) => ut(e) ? Le(e, e.data.length) : Le.after(e), $3 = (e) => uo(e.previousSibling) ? z.some(Jo(e.previousSibling)) : e.previousSibling ? Nu(e.previousSibling) : z.none(), M3 = (e) => uo(e.nextSibling) ? z.some(Sh(e.nextSibling)) : e.nextSibling ? hc(e.nextSibling) : z.none(), sI = (e, n) => z.from(n.previousSibling ? n.previousSibling : n.parentNode).bind((o) => Rc(e, Le.before(o))).orThunk(() => Ql(e, Le.after(n))), rI = (e, n) => Ql(e, Le.after(n)).orThunk(() => Rc(e, Le.before(n))), aI = (e, n) => $3(n).orThunk(() => M3(n)).orThunk(() => sI(e, n)), fu = (e, n) => M3(n).orThunk(() => $3(n)).orThunk(() => rI(e, n)), df = (e, n, o) => e ? fu(n, o) : aI(n, o), lI = (e, n, o) => df(e, n, o).map(Pe(oI, o)), W_ = (e, n, o) => {
9727
+ }, oI = (e, n) => nI(n, e) ? Le(n.container(), n.offset() - 1) : n, Sh = (e) => ut(e) ? Le(e, 0) : Le.before(e), Jo = (e) => ut(e) ? Le(e, e.data.length) : Le.after(e), $T = (e) => uo(e.previousSibling) ? z.some(Jo(e.previousSibling)) : e.previousSibling ? Nu(e.previousSibling) : z.none(), MT = (e) => uo(e.nextSibling) ? z.some(Sh(e.nextSibling)) : e.nextSibling ? hc(e.nextSibling) : z.none(), sI = (e, n) => z.from(n.previousSibling ? n.previousSibling : n.parentNode).bind((o) => Rc(e, Le.before(o))).orThunk(() => Ql(e, Le.after(n))), rI = (e, n) => Ql(e, Le.after(n)).orThunk(() => Rc(e, Le.before(n))), aI = (e, n) => $T(n).orThunk(() => MT(n)).orThunk(() => sI(e, n)), fu = (e, n) => MT(n).orThunk(() => $T(n)).orThunk(() => rI(e, n)), df = (e, n, o) => e ? fu(n, o) : aI(n, o), lI = (e, n, o) => df(e, n, o).map(Pe(oI, o)), W_ = (e, n, o) => {
9728
9728
  o.fold(() => {
9729
9729
  e.focus();
9730
9730
  }, (r) => {
9731
9731
  e.selection.setRng(r.toRange(), n);
9732
9732
  });
9733
- }, P3 = (e) => (n) => n.dom === e, cI = (e, n) => n && pn(e.schema.getBlockElements(), bo(n)), iI = (e, n) => {
9733
+ }, PT = (e) => (n) => n.dom === e, cI = (e, n) => n && pn(e.schema.getBlockElements(), bo(n)), iI = (e, n) => {
9734
9734
  if (pr(e)) {
9735
9735
  const o = ie.fromHtml('<br data-mce-bogus="1">');
9736
9736
  return n ? Te($r(e), (r) => {
@@ -9745,13 +9745,13 @@ Required: ` + n.join(", "));
9745
9745
  return Ja(k, P, o, r), y.container() === P ? Le(k, B) : y;
9746
9746
  }).orThunk(() => (r && (l.each((f) => gR(f.dom, f.dom.length, o)), u.each((f) => B1(f.dom, 0, o))), n));
9747
9747
  }, Z_ = (e, n) => pn(e.schema.getTextInlineElements(), bo(n)), kh = (e, n, o, r = !0, l = !1) => {
9748
- const u = lI(n, e.getBody(), o.dom), f = Xs(o, Pe(cI, e), P3(e.getBody())), b = xw(o, u, e.schema, Z_(e, o));
9748
+ const u = lI(n, e.getBody(), o.dom), f = Xs(o, Pe(cI, e), PT(e.getBody())), b = xw(o, u, e.schema, Z_(e, o));
9749
9749
  e.dom.isEmpty(e.getBody()) ? (e.setContent(""), e.selection.setCursorLocation()) : f.bind((y) => iI(y, l)).fold(() => {
9750
9750
  r && W_(e, n, b);
9751
9751
  }, (y) => {
9752
9752
  r && W_(e, n, z.some(y));
9753
9753
  });
9754
- }, uI = /[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/, mf = (e) => uI.test(e), N1 = (e, n) => cc(ie.fromDom(n), dT(e)) && !_o(e.schema, n) && e.dom.isEditable(n), hR = (e) => {
9754
+ }, uI = /[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/, mf = (e) => uI.test(e), N1 = (e, n) => cc(ie.fromDom(n), d3(e)) && !_o(e.schema, n) && e.dom.isEditable(n), hR = (e) => {
9755
9755
  var n;
9756
9756
  return Is.DOM.getStyle(e, "direction", !0) === "rtl" || mf((n = e.textContent) !== null && n !== void 0 ? n : "");
9757
9757
  }, yd = (e, n, o) => zt(Is.DOM.getParents(o.container(), "*", n), e), rm = (e, n, o) => {
@@ -9763,27 +9763,27 @@ Required: ` + n.join(", "));
9763
9763
  }, dI = (e) => Fo(e) || Ns(e), Do = (e, n) => {
9764
9764
  const o = n.container(), r = n.offset();
9765
9765
  return e ? Mt(o) ? ut(o.nextSibling) ? Le(o.nextSibling, 0) : Le.after(o) : Fo(n) ? Le(o, r + 1) : n : Mt(o) ? ut(o.previousSibling) ? Le(o.previousSibling, o.previousSibling.data.length) : Le.before(o) : Ns(n) ? Le(o, r - 1) : n;
9766
- }, I1 = Pe(Do, !0), Cw = Pe(Do, !1), B3 = (e, n) => {
9766
+ }, I1 = Pe(Do, !0), Cw = Pe(Do, !1), BT = (e, n) => {
9767
9767
  const o = (r) => r.stopImmediatePropagation();
9768
9768
  e.on("beforeinput input", o, !0), e.getDoc().execCommand(n), e.off("beforeinput input", o);
9769
- }, N3 = (e) => {
9769
+ }, NT = (e) => {
9770
9770
  e.execCommand("delete");
9771
- }, _w = (e) => B3(e, "Delete"), mI = (e) => B3(e, "ForwardDelete"), I3 = (e) => (n) => ls(pa(n), e, To), fI = (e) => Re(e) || qc(e), Sw = (e, n) => Na(e, n) ? al(n, fI, I3(e)) : z.none(), j_ = (e, n = !0) => {
9771
+ }, _w = (e) => BT(e, "Delete"), mI = (e) => BT(e, "ForwardDelete"), IT = (e) => (n) => ls(pa(n), e, To), fI = (e) => Re(e) || qc(e), Sw = (e, n) => Na(e, n) ? al(n, fI, IT(e)) : z.none(), j_ = (e, n = !0) => {
9772
9772
  e.dom.isEmpty(e.getBody()) && e.setContent("", { no_selection: !n });
9773
9773
  }, G_ = (e, n, o) => Cr(hc(o), Nu(o), (r, l) => {
9774
9774
  const u = Do(!0, r), f = Do(!1, l), b = Do(!1, n);
9775
9775
  return e ? Ql(o, b).exists((y) => y.isEqual(f) && n.isEqual(u)) : Rc(o, b).exists((y) => y.isEqual(u) && n.isEqual(f));
9776
- }).getOr(!0), L3 = (e) => (Hh(e) ? uc(e) : Tc(e)).bind(L3).orThunk(() => z.some(e)), kw = (e, n, o, r = !0) => {
9776
+ }).getOr(!0), LT = (e) => (Hh(e) ? uc(e) : Tc(e)).bind(LT).orThunk(() => z.some(e)), kw = (e, n, o, r = !0) => {
9777
9777
  var l;
9778
9778
  n.deleteContents();
9779
- const u = L3(o).getOr(o), f = ie.fromDom((l = e.dom.getParent(u.dom, e.dom.isBlock)) !== null && l !== void 0 ? l : o.dom);
9779
+ const u = LT(o).getOr(o), f = ie.fromDom((l = e.dom.getParent(u.dom, e.dom.isBlock)) !== null && l !== void 0 ? l : o.dom);
9780
9780
  if (f.dom === e.getBody() ? j_(e, r) : pr(f) && (Du(f), r && e.selection.setCursorLocation(f.dom, 0)), !To(o, f)) {
9781
9781
  const b = ls(pa(f), o) ? [] : Uh(f);
9782
9782
  Te(b.concat($r(o)), (y) => {
9783
9783
  !To(y, f) && !Na(y, f) && pr(y) && Eo(y);
9784
9784
  });
9785
9785
  }
9786
- }, gI = (e, n, o) => Xs(e, n, o).isSome(), hI = (e, n) => Vg(e, n).isSome(), pR = (e, n) => na(e, n).isSome(), pI = (e) => (n) => To(e, n), F3 = (e) => va(e, "td,th"), H3 = (e, n) => tf(ie.fromDom(e), n), bI = (e) => Cr(e.startTable, e.endTable, (n, o) => {
9786
+ }, gI = (e, n, o) => Xs(e, n, o).isSome(), hI = (e, n) => Vg(e, n).isSome(), pR = (e, n) => na(e, n).isSome(), pI = (e) => (n) => To(e, n), FT = (e) => va(e, "td,th"), HT = (e, n) => tf(ie.fromDom(e), n), bI = (e) => Cr(e.startTable, e.endTable, (n, o) => {
9787
9787
  const r = pR(n, (u) => To(u, o)), l = pR(o, (u) => To(u, n));
9788
9788
  return !r && !l ? e : {
9789
9789
  ...e,
@@ -9793,7 +9793,7 @@ Required: ` + n.join(", "));
9793
9793
  isMultiTable: !1
9794
9794
  };
9795
9795
  }).getOr(e), vI = (e) => bI(e), bR = (e, n) => {
9796
- const o = H3(e.startContainer, n), r = H3(e.endContainer, n), l = o.isSome(), u = r.isSome(), f = Cr(o, r, To).getOr(!1);
9796
+ const o = HT(e.startContainer, n), r = HT(e.endContainer, n), l = o.isSome(), u = r.isSome(), f = Cr(o, r, To).getOr(!1);
9797
9797
  return vI({
9798
9798
  startTable: o,
9799
9799
  endTable: r,
@@ -9830,13 +9830,13 @@ Required: ` + n.join(", "));
9830
9830
  "betweenRng"
9831
9831
  ]
9832
9832
  }
9833
- ]), Ew = (e, n) => Ci(ie.fromDom(e), "td,th", n), vR = (e) => !To(e.start, e.end), V3 = (e, n) => tf(e.start, n).bind((o) => tf(e.end, n).bind((r) => Co(To(o, r), o))), Hu = (e, n) => !vR(e) && V3(e, n).exists((o) => {
9833
+ ]), Ew = (e, n) => Ci(ie.fromDom(e), "td,th", n), vR = (e) => !To(e.start, e.end), VT = (e, n) => tf(e.start, n).bind((o) => tf(e.end, n).bind((r) => Co(To(o, r), o))), Hu = (e, n) => !vR(e) && VT(e, n).exists((o) => {
9834
9834
  const r = o.dom.rows;
9835
9835
  return r.length === 1 && r[0].cells.length === 1;
9836
9836
  }), wI = (e, n) => {
9837
9837
  const o = Ew(e.startContainer, n), r = Ew(e.endContainer, n);
9838
9838
  return Cr(o, r, q_);
9839
- }, yR = (e) => (n) => tf(n, e).bind((o) => vs(F3(o)).map((r) => q_(n, r))), z3 = (e) => (n) => tf(n, e).bind((o) => to(F3(o)).map((r) => q_(r, n))), Aw = (e) => (n) => V3(n, e).map((o) => yI(n, o, F3(o))), U3 = (e, n, o, r) => {
9839
+ }, yR = (e) => (n) => tf(n, e).bind((o) => vs(FT(o)).map((r) => q_(n, r))), zT = (e) => (n) => tf(n, e).bind((o) => to(FT(o)).map((r) => q_(r, n))), Aw = (e) => (n) => VT(n, e).map((o) => yI(n, o, FT(o))), UT = (e, n, o, r) => {
9840
9840
  if (o.collapsed || !e.forall(vR))
9841
9841
  return z.none();
9842
9842
  if (n.isSameTable) {
@@ -9846,17 +9846,17 @@ Required: ` + n.join(", "));
9846
9846
  end: l
9847
9847
  });
9848
9848
  } else {
9849
- const l = Ew(o.startContainer, r), u = Ew(o.endContainer, r), f = l.bind(yR(r)).bind(Aw(r)), b = u.bind(z3(r)).bind(Aw(r));
9849
+ const l = Ew(o.startContainer, r), u = Ew(o.endContainer, r), f = l.bind(yR(r)).bind(Aw(r)), b = u.bind(zT(r)).bind(Aw(r));
9850
9850
  return z.some({
9851
9851
  start: f,
9852
9852
  end: b
9853
9853
  });
9854
9854
  }
9855
- }, W3 = (e, n) => vr(e, (o) => To(o, n)), Z3 = (e) => Cr(W3(e.cells, e.rng.start), W3(e.cells, e.rng.end), (n, o) => e.cells.slice(n, o + 1)), xI = (e, n, o) => e.exists((r) => Hu(r, o) && K2(r.start, n)), K_ = (e, n) => {
9855
+ }, WT = (e, n) => vr(e, (o) => To(o, n)), ZT = (e) => Cr(WT(e.cells, e.rng.start), WT(e.cells, e.rng.end), (n, o) => e.cells.slice(n, o + 1)), xI = (e, n, o) => e.exists((r) => Hu(r, o) && K2(r.start, n)), K_ = (e, n) => {
9856
9856
  const { startTable: o, endTable: r } = n, l = e.cloneRange();
9857
9857
  return o.each((u) => l.setStartAfter(u.dom)), r.each((u) => l.setEndBefore(u.dom)), l;
9858
- }, wR = (e, n, o, r) => U3(e, n, o, r).bind(({ start: l, end: u }) => l.or(u)).bind((l) => {
9859
- const { isSameTable: u } = n, f = Z3(l).getOr([]);
9858
+ }, wR = (e, n, o, r) => UT(e, n, o, r).bind(({ start: l, end: u }) => l.or(u)).bind((l) => {
9859
+ const { isSameTable: u } = n, f = ZT(l).getOr([]);
9860
9860
  if (u && l.cells.length === f.length)
9861
9861
  return z.some(Tw.fullTable(l.table));
9862
9862
  if (f.length > 0) {
@@ -9871,8 +9871,8 @@ Required: ` + n.join(", "));
9871
9871
  }
9872
9872
  } else
9873
9873
  return z.none();
9874
- }), lm = (e, n, o, r) => U3(e, n, o, r).bind(({ start: l, end: u }) => {
9875
- const f = l.bind(Z3).getOr([]), b = u.bind(Z3).getOr([]);
9874
+ }), lm = (e, n, o, r) => UT(e, n, o, r).bind(({ start: l, end: u }) => {
9875
+ const f = l.bind(ZT).getOr([]), b = u.bind(ZT).getOr([]);
9876
9876
  if (f.length > 0 && b.length > 0) {
9877
9877
  const y = K_(o, n);
9878
9878
  return z.some(Tw.multiTable(f, b, y));
@@ -9883,11 +9883,11 @@ Required: ` + n.join(", "));
9883
9883
  return xI(r, n, o) ? r.map((u) => Tw.singleCellTable(n, u.start)) : l.isMultiTable ? lm(r, l, n, o) : wR(r, l, n, o);
9884
9884
  }, xR = (e) => Te(e, (n) => {
9885
9885
  lr(n, "contenteditable"), Du(n);
9886
- }), Hj = (e, n) => z.from(e.dom.getParent(n, e.dom.isBlock)).map(ie.fromDom), j3 = (e, n, o) => {
9886
+ }), Hj = (e, n) => z.from(e.dom.getParent(n, e.dom.isBlock)).map(ie.fromDom), jT = (e, n, o) => {
9887
9887
  o.each((r) => {
9888
9888
  n ? Eo(r) : (Du(r), e.selection.setCursorLocation(r.dom, 0));
9889
9889
  });
9890
- }, G3 = (e, n, o, r) => {
9890
+ }, GT = (e, n, o, r) => {
9891
9891
  const l = o.cloneRange();
9892
9892
  r ? (l.setStart(o.startContainer, o.startOffset), l.setEndAfter(n.dom.lastChild)) : (l.setStartBefore(n.dom.firstChild), l.setEnd(o.endContainer, o.endOffset)), gu(e, l, n, !1).each((u) => u());
9893
9893
  }, L1 = (e) => {
@@ -9896,14 +9896,14 @@ Required: ` + n.join(", "));
9896
9896
  }, CR = (e, n, o) => z.some(() => {
9897
9897
  const r = e.selection.getRng(), l = o.bind(({ rng: u, isStartInTable: f }) => {
9898
9898
  const b = Hj(e, f ? u.endContainer : u.startContainer);
9899
- u.deleteContents(), j3(e, f, b.filter(pr));
9899
+ u.deleteContents(), jT(e, f, b.filter(pr));
9900
9900
  const y = f ? n[0] : n[n.length - 1];
9901
- return G3(e, y, r, f), pr(y) ? z.none() : z.some(f ? n.slice(1) : n.slice(0, -1));
9901
+ return GT(e, y, r, f), pr(y) ? z.none() : z.some(f ? n.slice(1) : n.slice(0, -1));
9902
9902
  }).getOr(n);
9903
9903
  xR(l), L1(e);
9904
9904
  }), Lv = (e, n, o, r) => z.some(() => {
9905
9905
  const l = e.selection.getRng(), u = n[0], f = o[o.length - 1];
9906
- G3(e, u, l, !0), G3(e, f, l, !1);
9906
+ GT(e, u, l, !0), GT(e, f, l, !1);
9907
9907
  const b = pr(u) ? n : n.slice(1), y = pr(f) ? o : o.slice(0, -1);
9908
9908
  xR(b.concat(y)), r.deleteContents(), L1(e);
9909
9909
  }), gu = (e, n, o, r = !0) => z.some(() => {
@@ -9911,17 +9911,17 @@ Required: ` + n.join(", "));
9911
9911
  }), Dw = (e, n) => z.some(() => kh(e, !1, n)), Ds = (e, n, o) => CI(n, o).bind((r) => r.fold(Pe(gu, e), Pe(Dw, e), Pe(CR, e), Pe(Lv, e))), Ow = (e, n) => Fv(e, n), _R = (e, n, o, r) => Rw(n, r).fold(() => Ds(e, n, o), (l) => Ow(e, l)), SR = (e, n, o) => {
9912
9912
  const r = ie.fromDom(e.getBody()), l = e.selection.getRng();
9913
9913
  return o.length !== 0 ? CR(e, o, z.none()) : _R(e, r, l, n);
9914
- }, Y_ = (e, n) => ps(ag(n, e), jl), Rw = (e, n) => ps(ag(n, e), lc("caption")), q3 = (e, n, o, r, l) => ef(o, e.getBody(), l).bind((u) => Y_(n, ie.fromDom(u.getNode())).bind((f) => To(f, r) ? z.none() : z.some(Nt))), Fv = (e, n) => z.some(() => {
9914
+ }, Y_ = (e, n) => ps(ag(n, e), jl), Rw = (e, n) => ps(ag(n, e), lc("caption")), qT = (e, n, o, r, l) => ef(o, e.getBody(), l).bind((u) => Y_(n, ie.fromDom(u.getNode())).bind((f) => To(f, r) ? z.none() : z.some(Nt))), Fv = (e, n) => z.some(() => {
9915
9915
  Du(n), e.selection.setCursorLocation(n.dom, 0);
9916
- }), X_ = (e, n, o, r) => hc(e.dom).bind((l) => Nu(e.dom).map((u) => n ? o.isEqual(l) && r.isEqual(u) : o.isEqual(u) && r.isEqual(l))).getOr(!0), K3 = (e, n) => Fv(e, n), kR = (e, n, o) => Rw(e, ie.fromDom(o.getNode())).fold(() => z.some(Nt), (r) => Co(!To(r, n), Nt)), TR = (e, n, o, r, l) => ef(o, e.getBody(), l).fold(() => z.some(Nt), (u) => X_(r, o, l, u) ? K3(e, r) : kR(n, r, u)), ER = (e, n, o, r) => {
9916
+ }), X_ = (e, n, o, r) => hc(e.dom).bind((l) => Nu(e.dom).map((u) => n ? o.isEqual(l) && r.isEqual(u) : o.isEqual(u) && r.isEqual(l))).getOr(!0), KT = (e, n) => Fv(e, n), kR = (e, n, o) => Rw(e, ie.fromDom(o.getNode())).fold(() => z.some(Nt), (r) => Co(!To(r, n), Nt)), TR = (e, n, o, r, l) => ef(o, e.getBody(), l).fold(() => z.some(Nt), (u) => X_(r, o, l, u) ? KT(e, r) : kR(n, r, u)), ER = (e, n, o, r) => {
9917
9917
  const l = Le.fromRangeStart(e.selection.getRng());
9918
- return Y_(o, r).bind((u) => pr(u) ? Fv(e, u) : q3(e, o, n, u, l));
9918
+ return Y_(o, r).bind((u) => pr(u) ? Fv(e, u) : qT(e, o, n, u, l));
9919
9919
  }, AR = (e, n, o, r) => {
9920
9920
  const l = Le.fromRangeStart(e.selection.getRng());
9921
9921
  return pr(r) ? Fv(e, r) : TR(e, o, n, r, l);
9922
- }, Y3 = (e, n) => e ? XO(n) : Xn(n), Hv = (e, n) => {
9922
+ }, YT = (e, n) => e ? XO(n) : Xn(n), Hv = (e, n) => {
9923
9923
  const o = Le.fromRangeStart(e.selection.getRng());
9924
- return Y3(n, o) || Xa(n, e.getBody(), o).exists((r) => Y3(n, r));
9924
+ return YT(n, o) || Xa(n, e.getBody(), o).exists((r) => YT(n, r));
9925
9925
  }, DR = (e, n, o) => {
9926
9926
  const r = ie.fromDom(e.getBody());
9927
9927
  return Rw(r, o).fold(() => ER(e, n, r, o).orThunk(() => Co(Hv(e, n), Nt)), (l) => AR(e, n, r, l));
@@ -9971,7 +9971,7 @@ Required: ` + n.join(", "));
9971
9971
  compare: r,
9972
9972
  isAttributeInternal: l
9973
9973
  };
9974
- }, X3 = (e) => [
9974
+ }, XT = (e) => [
9975
9975
  "h1",
9976
9976
  "h2",
9977
9977
  "h3",
@@ -9982,7 +9982,7 @@ Required: ` + n.join(", "));
9982
9982
  let o = e;
9983
9983
  for (; o = o.walk(); )
9984
9984
  n(o);
9985
- }, J3 = (e, n, o, r) => {
9985
+ }, JT = (e, n, o, r) => {
9986
9986
  const l = o.name;
9987
9987
  for (let u = 0, f = e.length; u < f; u++) {
9988
9988
  const b = e[u];
@@ -10011,9 +10011,9 @@ Required: ` + n.join(", "));
10011
10011
  attributes: {}
10012
10012
  };
10013
10013
  return o.firstChild && RR(o, (l) => {
10014
- J3(e, n, l, r);
10014
+ JT(e, n, l, r);
10015
10015
  }), r;
10016
- }, Q3 = (e, n) => {
10016
+ }, QT = (e, n) => {
10017
10017
  const o = (r, l) => {
10018
10018
  bt(r, (u) => {
10019
10019
  const f = wr(u.nodes);
@@ -10029,7 +10029,7 @@ Required: ` + n.join(", "));
10029
10029
  o(e.nodes, !1), o(e.attributes, !0);
10030
10030
  }, eE = (e, n, o, r = {}) => {
10031
10031
  const l = $R(e, n, o);
10032
- Q3(l, r);
10032
+ QT(l, r);
10033
10033
  }, eS = (e, n, o, r) => {
10034
10034
  if ((e.pad_empty_with_br || n.insert) && o(r)) {
10035
10035
  const u = new Pc("br", 1);
@@ -10128,7 +10128,7 @@ Required: ` + n.join(", "));
10128
10128
  o = o.parent;
10129
10129
  }
10130
10130
  return !1;
10131
- }, oS = (e, n, o = n.parent) => o ? e.children[n.name] && !e.isValidChild(o.name, n.name) || n.name === "a" && NR(o, "a") ? !0 : Q_(o) && X3(n) ? !((o == null ? void 0 : o.firstChild) === n && (o == null ? void 0 : o.lastChild) === n) : !1 : !1, IR = (e, n, o, r) => {
10131
+ }, oS = (e, n, o = n.parent) => o ? e.children[n.name] && !e.isValidChild(o.name, n.name) || n.name === "a" && NR(o, "a") ? !0 : Q_(o) && XT(n) ? !((o == null ? void 0 : o.firstChild) === n && (o == null ? void 0 : o.lastChild) === n) : !1 : !1, IR = (e, n, o, r) => {
10132
10132
  const l = document.createRange();
10133
10133
  return l.setStart(e, n), l.setEnd(o, r), l;
10134
10134
  }, oE = (e) => {
@@ -10268,7 +10268,7 @@ Required: ` + n.join(", "));
10268
10268
  return z.none();
10269
10269
  }, RI = (e, n, o) => {
10270
10270
  var r;
10271
- return Rt(o.children(), X3) && ((r = e.getParent(n, e.isBlock)) === null || r === void 0 ? void 0 : r.nodeName) === "SUMMARY";
10271
+ return Rt(o.children(), XT) && ((r = e.getParent(n, e.isBlock)) === null || r === void 0 ? void 0 : r.nodeName) === "SUMMARY";
10272
10272
  }, jR = (e, n, o) => {
10273
10273
  var r, l;
10274
10274
  const u = e.selection, f = e.dom, b = e.parser, y = o.merge, k = Jp({ validate: !0 }, e.schema), P = '<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;</span>';
@@ -10490,7 +10490,7 @@ Required: ` + n.join(", "));
10490
10490
  return xE(r, l.createTextNode(jv));
10491
10491
  }, NI = (e, n, o, r, l, u) => {
10492
10492
  const f = e.formatter, b = e.dom, y = zt(es(f.get()), (B) => B !== r && !ys(B, "removeformat")), k = XR(e, o, y);
10493
- if (zt(k, (B) => !YT(e, B, r)).length > 0) {
10493
+ if (zt(k, (B) => !Y3(e, B, r)).length > 0) {
10494
10494
  const B = o.cloneNode(!1);
10495
10495
  return b.add(n, B), f.remove(r, l, B, u), b.remove(B), z.some(B);
10496
10496
  } else
@@ -12808,7 +12808,7 @@ Required: ` + n.join(", "));
12808
12808
  const [st, Kt] = _L(Ve, n, l, Be), cn = [], Jn = wt ? (Hr) => oe(Hr, cn) : Nt, qn = {
12809
12809
  nodes: {},
12810
12810
  attributes: {}
12811
- }, gs = (Hr) => J3(k(), F(), Hr, qn);
12811
+ }, gs = (Hr) => JT(k(), F(), Hr, qn);
12812
12812
  if (Nc(Ve, [
12813
12813
  st,
12814
12814
  gs
@@ -12825,7 +12825,7 @@ Required: ` + n.join(", "));
12825
12825
  } else
12826
12826
  nS(cn, n, Ve, gs);
12827
12827
  const Rs = kS(l, Be);
12828
- return Rs && (Ve.name === "body" || Be.isRootContent) && se(Ve, Rs), Be.invalid || Q3(qn, Be), Ve;
12828
+ return Rs && (Ve.name === "body" || Be.isRootContent) && se(Ve, Rs), Be.invalid || QT(qn, Be), Ve;
12829
12829
  }
12830
12830
  };
12831
12831
  return O$(ke, l), $E(ke, l, n), ke;
@@ -12855,7 +12855,7 @@ Required: ` + n.join(", "));
12855
12855
  if (n.no_events)
12856
12856
  return Ac.value(n);
12857
12857
  {
12858
- const o = t3(e, n);
12858
+ const o = tT(e, n);
12859
12859
  return o.isDefaultPrevented() ? Ac.error(yo(e, {
12860
12860
  content: "",
12861
12861
  ...o
@@ -12965,12 +12965,12 @@ Required: ` + n.join(", "));
12965
12965
  const r = n[0], l = n[n.length - 1], u = EL(o);
12966
12966
  return JE(u, r, l).map((f) => fw([OS(f)]));
12967
12967
  }).getOrThunk(r6), $L = (e, n, o) => n.length > 0 && n[0].collapsed ? r6() : OL(e, n[0], o), ML = (e, n, o) => {
12968
- const r = ZT(n, e);
12968
+ const r = Z3(n, e);
12969
12969
  return r.length > 0 ? a6(e, r) : $L(e, n, o);
12970
12970
  }, RS = (e, n) => n >= 0 && n < e.length && Hp(e.charAt(n)), QE = (e) => V(e.innerText), e5 = (e) => e.map((n) => n.nodeName).getOr("div").toLowerCase(), t5 = (e) => z.from(e.selection.getRng()).map((n) => {
12971
12971
  var o;
12972
12972
  const r = z.from(e.dom.getParent(n.commonAncestorContainer, e.dom.isBlock)), l = e.getBody(), u = e5(r), f = ie.fromDom(n.cloneContents());
12973
- Un(f), k3(f);
12973
+ Un(f), kT(f);
12974
12974
  const b = e.dom.add(l, u, {
12975
12975
  "data-mce-bogus": "all",
12976
12976
  style: "overflow: hidden; opacity: 0;"
@@ -12986,7 +12986,7 @@ Required: ` + n.join(", "));
12986
12986
  } else
12987
12987
  return y;
12988
12988
  }).getOr(""), l6 = (e, n) => {
12989
- const o = e.selection.getRng(), r = e.dom.create("body"), l = e.selection.getSel(), u = S3(e, pv(l)), f = n.contextual ? ML(ie.fromDom(e.getBody()), u, e.schema).dom : o.cloneContents();
12989
+ const o = e.selection.getRng(), r = e.dom.create("body"), l = e.selection.getSel(), u = ST(e, pv(l)), f = n.contextual ? ML(ie.fromDom(e.getBody()), u, e.schema).dom : o.cloneContents();
12990
12990
  return f && r.appendChild(f), e.selection.serializer.serialize(r, n);
12991
12991
  }, n5 = (e, n) => {
12992
12992
  if (n.format === "text")
@@ -13176,7 +13176,7 @@ Required: ` + n.join(", "));
13176
13176
  Te(o.select("table,a", r), (l) => {
13177
13177
  switch (l.nodeName) {
13178
13178
  case "TABLE":
13179
- const u = bT(e), f = o.getAttrib(l, "border");
13179
+ const u = b3(e), f = o.getAttrib(l, "border");
13180
13180
  (!f || f === "0") && e.hasVisual ? o.addClass(l, u) : o.removeClass(l, u);
13181
13181
  break;
13182
13182
  case "A":
@@ -13427,7 +13427,7 @@ Required: ` + n.join(", "));
13427
13427
  const { selectorChangedWithUnbind: f } = k6(e, r), b = (Tt, on) => {
13428
13428
  const Kn = e.createRng();
13429
13429
  Ze(Tt) && Ze(on) ? (Kn.setStart(Tt, on), Kn.setEnd(Tt, on), Be(Kn), we(!1)) : (Y2(e, Kn, r.getBody(), !0), Be(Kn));
13430
- }, y = (Tt) => mF(r, Tt), k = (Tt, on) => bF(r, Tt, on), P = (Tt) => C3(r.getBody(), Se(), Tt), B = (Tt) => BO(r.getBody(), Se(), Tt), F = (Tt, on) => Ml.getBookmark(Tt, on), ee = (Tt) => Ml.moveToBookmark(Tt), oe = (Tt, on) => (hN(e, Tt, on).each(Be), Tt), K = () => {
13430
+ }, y = (Tt) => mF(r, Tt), k = (Tt, on) => bF(r, Tt, on), P = (Tt) => CT(r.getBody(), Se(), Tt), B = (Tt) => BO(r.getBody(), Se(), Tt), F = (Tt, on) => Ml.getBookmark(Tt, on), ee = (Tt) => Ml.moveToBookmark(Tt), oe = (Tt, on) => (hN(e, Tt, on).each(Be), Tt), K = () => {
13431
13431
  const Tt = Se(), on = ke();
13432
13432
  return !Tt || Tt.item ? !1 : Tt.compareEndPoints ? Tt.compareEndPoints("StartToEnd", Tt) === 0 : !on || Tt.collapsed;
13433
13433
  }, se = () => {
@@ -13446,13 +13446,13 @@ Required: ` + n.join(", "));
13446
13446
  }
13447
13447
  }, Kn = n.document;
13448
13448
  if (Ze(r.bookmark) && !Xp(r)) {
13449
- const mo = v3(r);
13449
+ const mo = vT(r);
13450
13450
  if (mo.isSome())
13451
- return mo.map((Qt) => S3(r, [Qt])[0]).getOr(Kn.createRange());
13451
+ return mo.map((Qt) => ST(r, [Qt])[0]).getOr(Kn.createRange());
13452
13452
  }
13453
13453
  try {
13454
13454
  const mo = ke();
13455
- mo && !ku(mo.anchorNode) && (mo.rangeCount > 0 ? Tt = mo.getRangeAt(0) : Tt = Kn.createRange(), Tt = S3(r, [Tt])[0]);
13455
+ mo && !ku(mo.anchorNode) && (mo.rangeCount > 0 ? Tt = mo.getRangeAt(0) : Tt = Kn.createRange(), Tt = ST(r, [Tt])[0]);
13456
13456
  } catch {
13457
13457
  }
13458
13458
  if (Tt || (Tt = Kn.createRange()), qg(Tt.startContainer) && Tt.collapsed) {
@@ -13657,7 +13657,7 @@ Required: ` + n.join(", "));
13657
13657
  for (; u--; )
13658
13658
  r[u].attr(l, null);
13659
13659
  }), n.push(o));
13660
- }, wF = (e, n, o) => !n.no_events && e ? JT(e, {
13660
+ }, wF = (e, n, o) => !n.no_events && e ? J3(e, {
13661
13661
  ...n,
13662
13662
  content: o
13663
13663
  }).content : o, xF = (e, n, o) => {
@@ -13869,7 +13869,7 @@ Options:${f}${o.join(f)}` : "";
13869
13869
  }, P = ot(n);
13870
13870
  return ((F) => {
13871
13871
  F.on("SkinLoaded", () => {
13872
- const ee = mT(F);
13872
+ const ee = m3(F);
13873
13873
  ee && y({
13874
13874
  text: ee,
13875
13875
  type: "warning",
@@ -14160,10 +14160,10 @@ Options:${f}${o.join(f)}` : "";
14160
14160
  timeout: -1,
14161
14161
  progressBar: !0
14162
14162
  }), sy = (e, n) => JF(n, {
14163
- url: lT(e),
14164
- basePath: cT(e),
14163
+ url: l3(e),
14164
+ basePath: c3(e),
14165
14165
  credentials: w2(e),
14166
- handler: iT(e)
14166
+ handler: i3(e)
14167
14167
  }), e9 = (e) => {
14168
14168
  const n = W6(), o = sy(e, n);
14169
14169
  return { upload: (r, l = !0) => o.upload(r, l ? QF(e) : void 0) };
@@ -14642,7 +14642,7 @@ Options:${f}${o.join(f)}` : "";
14642
14642
  l(k, y);
14643
14643
  }));
14644
14644
  }, u = (f) => (f && n[f] && delete n[f], n);
14645
- return l(o9(e)), l(zS()), l(gT(e)), {
14645
+ return l(o9(e)), l(zS()), l(g3(e)), {
14646
14646
  get: o,
14647
14647
  has: r,
14648
14648
  register: l,
@@ -14937,7 +14937,7 @@ Options:${f}${o.join(f)}` : "";
14937
14937
  if (Y6(f))
14938
14938
  return;
14939
14939
  const y = e.getBody(), k = Rh(f) ? !1 : c0(o, y, r);
14940
- (o.getAttrib(y, E5) !== "" !== k || b) && (o.setAttrib(y, E5, k ? l : null), o.setAttrib(y, "aria-placeholder", k ? l : null), e3(e, k), e.on(k ? "keydown" : "keyup", u), e.off(k ? "keyup" : "keydown", u));
14940
+ (o.getAttrib(y, E5) !== "" !== k || b) && (o.setAttrib(y, E5, k ? l : null), o.setAttrib(y, "aria-placeholder", k ? l : null), eT(e, k), e.on(k ? "keydown" : "keyup", u), e.off(k ? "keyup" : "keydown", u));
14941
14941
  };
14942
14942
  Po(l) && e.on("init", (f) => {
14943
14943
  u(f, !0), e.on("change SetContent ExecCommand", u), e.on("paste", (b) => Fu.setEditorTimeout(e, () => u(b)));
@@ -15541,7 +15541,7 @@ Options:${f}${o.join(f)}` : "";
15541
15541
  }, xH = (e) => GM(e, "indent"), iA = (e) => GM(e, "outdent"), qM = (e) => {
15542
15542
  if (e.selection.isCollapsed() && ck(e)) {
15543
15543
  const n = e.dom, o = e.selection.getRng(), r = Le.fromRangeStart(o), l = n.getParent(o.startContainer, n.isBlock);
15544
- if (l !== null && O3(ie.fromDom(l), r, e.schema))
15544
+ if (l !== null && OT(ie.fromDom(l), r, e.schema))
15545
15545
  return z.some(() => iA(e));
15546
15546
  }
15547
15547
  return z.none();
@@ -15604,7 +15604,7 @@ Options:${f}${o.join(f)}` : "";
15604
15604
  });
15605
15605
  });
15606
15606
  }, !0);
15607
- }, uk = (e, n) => pn(e, n.nodeName), XM = (e, n) => ut(n) ? !0 : qt(n) ? !uk(e.getBlockElements(), n) && !Oi(n) && !_o(e, n) && !Py(n) : !1, _H = (e, n, o) => Rt(A3(ie.fromDom(o), ie.fromDom(n)), (r) => uk(e, r.dom)), SH = (e, n) => {
15607
+ }, uk = (e, n) => pn(e, n.nodeName), XM = (e, n) => ut(n) ? !0 : qt(n) ? !uk(e.getBlockElements(), n) && !Oi(n) && !_o(e, n) && !Py(n) : !1, _H = (e, n, o) => Rt(AT(ie.fromDom(o), ie.fromDom(n)), (r) => uk(e, r.dom)), SH = (e, n) => {
15608
15608
  if (ut(n)) {
15609
15609
  if (n.data.length === 0)
15610
15610
  return !0;
@@ -15658,7 +15658,7 @@ Options:${f}${o.join(f)}` : "";
15658
15658
  o.content = l;
15659
15659
  }
15660
15660
  }, rG = (e) => {
15661
- const n = "contenteditable", o = " " + ct.trim(UC(e)) + " ", r = " " + ct.trim(R2(e)) + " ", l = dA(o), u = dA(r), f = TT(e);
15661
+ const n = "contenteditable", o = " " + ct.trim(UC(e)) + " ", r = " " + ct.trim(R2(e)) + " ", l = dA(o), u = dA(r), f = T3(e);
15662
15662
  f.length > 0 && e.on("BeforeSetContent", (b) => {
15663
15663
  sG(e, f, b);
15664
15664
  }), e.parser.addAttributeFilter("class", (b) => {
@@ -15849,7 +15849,7 @@ Options:${f}${o.join(f)}` : "";
15849
15849
  return !1;
15850
15850
  }, wA = (e, n, o) => z.from(e.dom.getParent(e.selection.getNode(), "td,th")).bind((r) => z.from(e.dom.getParent(r, "table")).map((l) => o(e, n, l, r))).getOr(!1), w8 = (e, n) => wA(e, n, JH), xA = (e, n) => wA(e, n, nV), oV = (e) => {
15851
15851
  const n = lf.exact(e, 0, e, 0);
15852
- return h3(n);
15852
+ return hT(n);
15853
15853
  }, x8 = (e, n, o) => o.fold(z.none, z.none, (r, l) => wN(l).map((u) => oV(u)), (r) => (e.execCommand("mceTableInsertRowAfter"), C8(e, n, r))), C8 = (e, n, o) => x8(e, n, mG(o, Vn)), sV = (e, n, o) => x8(e, n, VH(o, Vn)), Aa = (e, n) => {
15854
15854
  const o = [
15855
15855
  "table",
@@ -16832,7 +16832,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
16832
16832
  }, bP = {
16833
16833
  insert: (e, n) => {
16834
16834
  let o, r, l, u, f = !1;
16835
- const b = e.dom, y = e.schema, k = y.getNonEmptyElements(), P = e.selection.getRng(), B = Xl(e), F = ie.fromDom(P.startContainer), ee = Cu(F, P.startOffset), oe = ee.exists((st) => Gs(st) && !Vn(st)), K = P.collapsed && oe, se = (st, Kt) => jA(e, o, wt, rt, aT(e), st, Kt), we = (st) => {
16835
+ const b = e.dom, y = e.schema, k = y.getNonEmptyElements(), P = e.selection.getRng(), B = Xl(e), F = ie.fromDom(P.startContainer), ee = Cu(F, P.startOffset), oe = ee.exists((st) => Gs(st) && !Vn(st)), K = P.collapsed && oe, se = (st, Kt) => jA(e, o, wt, rt, a3(e), st, Kt), we = (st) => {
16836
16836
  const Kt = XA(st, o, r);
16837
16837
  if (ut(o) && (st ? Kt > 0 : Kt < o.data.length))
16838
16838
  return !1;
@@ -16951,14 +16951,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
16951
16951
  o.isSome() ? o.each(Pe(QA, e)) : bz(e, n);
16952
16952
  },
16953
16953
  fakeEventName: "insertLineBreak"
16954
- }, _z = (e, n) => hm(e).filter((o) => n.length > 0 && cc(ie.fromDom(o), n)).isSome(), Sz = (e) => _z(e, rT(e)), kz = (e) => _z(e, v2(e)), Td = fd.generate([
16954
+ }, _z = (e, n) => hm(e).filter((o) => n.length > 0 && cc(ie.fromDom(o), n)).isSome(), Sz = (e) => _z(e, r3(e)), kz = (e) => _z(e, v2(e)), Td = fd.generate([
16955
16955
  { br: [] },
16956
16956
  { block: [] },
16957
16957
  { none: [] }
16958
16958
  ]), Tz = (e, n) => kz(e), pm = (e) => (n, o) => dP(n) === e, wP = (e, n) => (o, r) => uP(o) === e.toUpperCase() === n, xP = (e) => {
16959
16959
  const n = Y1(e.dom, e.selection.getStart());
16960
16960
  return In(n);
16961
- }, Ox = (e) => wP("pre", e), Ez = () => wP("summary", !0), Rk = (e) => (n, o) => oT(n) === e, Az = (e, n) => Sz(e), $k = (e, n) => n, Dz = (e) => {
16961
+ }, Ox = (e) => wP("pre", e), Ez = () => wP("summary", !0), Rk = (e) => (n, o) => o3(n) === e, Az = (e, n) => Sz(e), $k = (e, n) => n, Dz = (e) => {
16962
16962
  const n = Xl(e), o = Y1(e.dom, e.selection.getStart());
16963
16963
  return Ze(o) && e.schema.isValidChild(o.nodeName, n);
16964
16964
  }, Oz = (e) => {
@@ -17002,10 +17002,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17002
17002
  e,
17003
17003
  !!(n && n.shiftKey)
17004
17004
  ]).getOr(Td.none()), J1 = (e, n, o) => {
17005
- n.selection.isCollapsed() || N3(n), !(Ze(o) && Tk(n, e.fakeEventName).isDefaultPrevented()) && (e.insert(n, o), Ze(o) && Ax(n, e.fakeEventName));
17005
+ n.selection.isCollapsed() || NT(n), !(Ze(o) && Tk(n, e.fakeEventName).isDefaultPrevented()) && (e.insert(n, o), Ze(o) && Ax(n, e.fakeEventName));
17006
17006
  }, _P = (e, n) => {
17007
17007
  const o = () => J1(Cz, e, n), r = () => J1(bP, e, n), l = CP(e, n);
17008
- switch (sT(e)) {
17008
+ switch (s3(e)) {
17009
17009
  case "linebreak":
17010
17010
  l.fold(o, o, Nt);
17011
17011
  break;
@@ -17162,7 +17162,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17162
17162
  e.on("keydown", (n) => {
17163
17163
  n.isDefaultPrevented() || $P(e, n);
17164
17164
  });
17165
- }, Hz = (e) => $T(e) ? [
17165
+ }, Hz = (e) => $3(e) ? [
17166
17166
  {
17167
17167
  keyCode: Wt.TAB,
17168
17168
  action: An(Aa, e, !0)
@@ -17478,10 +17478,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17478
17478
  content: e,
17479
17479
  cancelled: n
17480
17480
  }), mU = (e, n, o) => {
17481
- const r = e.dom.create("div", { style: "display:none" }, n), l = o3(e, r, o);
17481
+ const r = e.dom.create("div", { style: "display:none" }, n), l = oT(e, r, o);
17482
17482
  return Os(l.node.innerHTML, l.isDefaultPrevented());
17483
17483
  }, jP = (e, n, o) => {
17484
- const r = n3(e, n, o), l = dU(e, r.content);
17484
+ const r = nT(e, n, o), l = dU(e, r.content);
17485
17485
  return e.hasEventListeners("PastePostProcess") && !r.isDefaultPrevented() ? mU(e, l, o) : Os(l, r.isDefaultPrevented());
17486
17486
  }, fU = (e, n, o) => jP(e, n, o), Px = (e, n) => (e.insertContent(n, {
17487
17487
  merge: D2(e),
@@ -17516,7 +17516,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17516
17516
  KP(e, eU(n), l, !1, r);
17517
17517
  }, gD = (e, n, o) => {
17518
17518
  const r = e.dom.encode(n).replace(/\r\n/g, `
17519
- `), l = Qg(r, ST(e)), u = kG(l, Xl(e), X0(e));
17519
+ `), l = Qg(r, S3(e)), u = kG(l, Xl(e), X0(e));
17520
17520
  KP(e, u, !1, !0, o);
17521
17521
  }, eb = (e) => {
17522
17522
  const n = {};
@@ -17683,7 +17683,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17683
17683
  }
17684
17684
  });
17685
17685
  }, Vk = (e, n) => {
17686
- CT(e) && e.on("dragend dragover draggesture dragdrop drop drag", (o) => {
17686
+ C3(e) && e.on("dragend dragover draggesture dragdrop drop drag", (o) => {
17687
17687
  o.preventDefault(), o.stopPropagation();
17688
17688
  }), ov(e) || e.on("drop", (o) => {
17689
17689
  const r = o.dataTransfer;
@@ -17713,7 +17713,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17713
17713
  }, RU = (e) => {
17714
17714
  const n = (l) => (u) => {
17715
17715
  l(e, u);
17716
- }, o = _T(e);
17716
+ }, o = _3(e);
17717
17717
  pe(o) && e.on("PastePreProcess", n(o));
17718
17718
  const r = VC(e);
17719
17719
  pe(r) && e.on("PastePostProcess", n(r));
@@ -18526,7 +18526,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18526
18526
  ":",
18527
18527
  "!",
18528
18528
  "?"
18529
- ], o = [32], r = () => Dc(rv(e), kT(e)), l = () => M2(e);
18529
+ ], o = [32], r = () => Dc(rv(e), k3(e)), l = () => M2(e);
18530
18530
  e.on("keydown", (f) => {
18531
18531
  if (f.keyCode === 13 && !Wt.modifierPressed(f) && e.selection.isCollapsed()) {
18532
18532
  const b = r();
@@ -18860,7 +18860,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18860
18860
  });
18861
18861
  }, o4 = (e) => {
18862
18862
  e.bindPendingEventDelegates(), e.initialized = !0, k1(e), e.focus(!0), LW(e), e.nodeChanged({ initial: !0 });
18863
- const n = yT(e);
18863
+ const n = y3(e);
18864
18864
  pe(n) && n.call(e, e), IW(e);
18865
18865
  }, $D = (e) => e.inline ? e.ui.styleSheetLoader : e.dom.styleSheetLoader, FW = (e, n, o) => {
18866
18866
  const {
@@ -18891,8 +18891,8 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18891
18891
  return b && GB(e, b), f;
18892
18892
  }, HW = (e) => {
18893
18893
  const n = e.getDoc(), o = e.getBody();
18894
- og(e), xT(e) || (n.body.spellcheck = !1, RD.setAttrib(o, "spellcheck", "false")), e.quirks = MW(e), QT(e);
18895
- const r = uT(e);
18894
+ og(e), x3(e) || (n.body.spellcheck = !1, RD.setAttrib(o, "spellcheck", "false")), e.quirks = MW(e), Q3(e);
18895
+ const r = u3(e);
18896
18896
  r !== void 0 && (o.dir = r);
18897
18897
  const l = HC(e);
18898
18898
  l && e.on("BeforeSetContent", (u) => {
@@ -18970,7 +18970,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18970
18970
  }, WW = (e) => {
18971
18971
  let n = EC(e) + "<html><head>";
18972
18972
  h2(e) !== e.documentBaseUrl && (n += '<base href="' + e.documentBaseURI.getURI() + '" />'), n += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
18973
- const o = p2(e), r = nT(e), l = e.translate(vT(e));
18973
+ const o = p2(e), r = n3(e), l = e.translate(v3(e));
18974
18974
  return b2(e) && (n += '<meta http-equiv="Content-Security-Policy" content="' + b2(e) + '" />'), n += `</head><body id="${o}" class="mce-content-body ${r}" data-id="${e.id}" aria-label="${l}"><br></body></html>`, n;
18975
18975
  }, ZW = (e, n) => {
18976
18976
  const o = e.translate("Rich Text Area"), r = bi(ie.fromDom(e.getElement()), "tabindex").bind(Vc), l = QB(e.id, o, g2(e), r).dom;
@@ -18981,7 +18981,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18981
18981
  const n = e.iframeElement, o = () => {
18982
18982
  e.contentDocument = n.contentDocument, XB(e);
18983
18983
  };
18984
- if (AT(e) || It.browser.isFirefox()) {
18984
+ if (A3(e) || It.browser.isFirefox()) {
18985
18985
  const r = e.getDoc();
18986
18986
  r.open(), r.write(e.iframeHTML), r.close(), o();
18987
18987
  } else {
@@ -19077,7 +19077,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
19077
19077
  }, c7 = (e, n) => {
19078
19078
  const o = Sp(e);
19079
19079
  if (he(o) && !l7(o) && !pn(Oh.urls, o)) {
19080
- const r = fT(e), l = r ? e.documentBaseURI.toAbsolute(r) : `themes/${o}/theme${n}.js`;
19080
+ const r = f3(e), l = r ? e.documentBaseURI.toAbsolute(r) : `themes/${o}/theme${n}.js`;
19081
19081
  Oh.load(o, l).catch(() => {
19082
19082
  zF(e, l, o);
19083
19083
  });
@@ -19148,14 +19148,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
19148
19148
  wn(r.dom.attributes, (f) => lr(r, f.name)), _c(r, l);
19149
19149
  }), e.ui.styleSheetLoader = rZ(r, e), k2(e) ? e.inline = !0 : (e.orgVisibility = e.getElement().style.visibility, e.getElement().style.visibility = "hidden");
19150
19150
  const u = e.getElement().form || sb.getParent(n, "form");
19151
- u && (e.formElement = u, hT(e) && !Gg(e.getElement()) && (sb.insertAfter(sb.create("input", {
19151
+ u && (e.formElement = u, h3(e) && !Gg(e.getElement()) && (sb.insertAfter(sb.create("input", {
19152
19152
  type: "hidden",
19153
19153
  name: n
19154
19154
  }), n), e.hasHiddenInput = !0), e.formEventDelegate = (f) => {
19155
19155
  e.dispatch(f.type, f);
19156
19156
  }, sb.bind(u, "submit reset", e.formEventDelegate), e.on("reset", () => {
19157
19157
  e.resetContent();
19158
- }), IC(e) && !u.submit.nodeType && !u.submit.length && !u._mceOldSubmit && (u._mceOldSubmit = u.submit, u.submit = () => (e.editorManager.triggerSave(), e.setDirty(!1), u._mceOldSubmit(u)))), e.windowManager = H6(e), e.notificationManager = w5(e), RT(e) && e.on("GetContent", (f) => {
19158
+ }), IC(e) && !u.submit.nodeType && !u.submit.length && !u._mceOldSubmit && (u._mceOldSubmit = u.submit, u.submit = () => (e.editorManager.triggerSave(), e.setDirty(!1), u._mceOldSubmit(u)))), e.windowManager = H6(e), e.notificationManager = w5(e), R3(e) && e.on("GetContent", (f) => {
19159
19159
  f.save && (f.content = sb.encode(f.content));
19160
19160
  }), Qd(e) && e.on("submit", () => {
19161
19161
  e.initialized && e.save();
@@ -19167,7 +19167,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
19167
19167
  });
19168
19168
  }, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e), d7(e, e.suffix);
19169
19169
  }, ID = (e, n) => {
19170
- e._editableRoot !== n && (e._editableRoot = n, e.readonly || (e.getBody().contentEditable = String(e.hasEditableRoot()), e.nodeChanged()), s3(e, n));
19170
+ e._editableRoot !== n && (e._editableRoot = n, e.readonly || (e.getBody().contentEditable = String(e.hasEditableRoot()), e.nodeChanged()), sT(e, n));
19171
19171
  }, s4 = (e) => e._editableRoot, r4 = (e, n) => ({
19172
19172
  sections: ot(e),
19173
19173
  options: ot(n)
@@ -19339,7 +19339,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
19339
19339
  if (/^[0-9.]+$/.test(n)) {
19340
19340
  const o = parseInt(n, 10);
19341
19341
  if (o >= 1 && o <= 7) {
19342
- const r = DT(e), l = OT(e);
19342
+ const r = D3(e), l = O3(e);
19343
19343
  return l.length > 0 ? l[o - 1] || n : r[o - 1] || n;
19344
19344
  } else
19345
19345
  return n;
@@ -20126,7 +20126,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
20126
20126
  const k = ro(l);
20127
20127
  k && (ra.ScriptLoader._setReferrerPolicy(k), Is.DOM.styleSheetLoader._setReferrerPolicy(k));
20128
20128
  const P = Tp(l);
20129
- Ze(P) && Is.DOM.styleSheetLoader._setContentCssCors(P), Kl.languageLoad = f("language_load"), Kl.baseURL = r.baseURL, this.setDirty(!1), this.documentBaseURI = new Cd(h2(l), { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = k2(l), this.hasVisual = pT(l), this.shortcuts = new O7(this), this.editorCommands = new WD(this), zD(this);
20129
+ Ze(P) && Is.DOM.styleSheetLoader._setContentCssCors(P), Kl.languageLoad = f("language_load"), Kl.baseURL = r.baseURL, this.setDirty(!1), this.documentBaseURI = new Cd(h2(l), { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = k2(l), this.hasVisual = p3(l), this.shortcuts = new O7(this), this.editorCommands = new WD(this), zD(this);
20130
20130
  const B = f("cache_suffix");
20131
20131
  B && (It.cacheSuffix = B.replace(/^[\?\&]+/, "")), this.ui = {
20132
20132
  registry: aj(),
@@ -20299,7 +20299,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
20299
20299
  return (o = (n = this.bodyElement) !== null && n !== void 0 ? n : r == null ? void 0 : r.body) !== null && o !== void 0 ? o : null;
20300
20300
  }
20301
20301
  convertURL(n, o, r) {
20302
- const l = this, u = l.options.get, f = wT(l);
20302
+ const l = this, u = l.options.get, f = w3(l);
20303
20303
  if (pe(f))
20304
20304
  return f.call(l, n, r, !0, o);
20305
20305
  if (!u("convert_urls") || r === "link" || kt(r) && r.nodeName === "LINK" || n.indexOf("file:") === 0 || n.length === 0)
@@ -23010,7 +23010,7 @@ Receiver: ` + jd(s.element), E, g.data);
23010
23010
  C.onReceive(s, $);
23011
23011
  });
23012
23012
  })])
23013
- }), eT = [dc("channels", rd(Vn.value, Es([
23013
+ }), e3 = [dc("channels", rd(Vn.value, Es([
23014
23014
  md("onReceive"),
23015
23015
  Re("schema", Pr())
23016
23016
  ])))];
@@ -23085,7 +23085,7 @@ Receiver: ` + jd(s.element), E, g.data);
23085
23085
  const s = Sl("Creating behaviour: " + t.name, _C, t);
23086
23086
  return dO(vo(s.branchKey, s.branches), s.name, s.active, s.apis, s.extra, s.state);
23087
23087
  }, f2 = ae(void 0), Dc = Sa({
23088
- fields: eT,
23088
+ fields: e3,
23089
23089
  name: "receiving",
23090
23090
  active: xC
23091
23091
  });
@@ -23153,7 +23153,7 @@ Receiver: ` + jd(s.element), E, g.data);
23153
23153
  return ed(s).translate(-p.left, -p.top);
23154
23154
  }), d = ga(s), g = Md(s);
23155
23155
  return Bs(c.left, c.top, d, g);
23156
- }, nT = (t, s) => s.fold(() => t.fold(na, na, Bs), (a) => t.fold(ae(a), ae(a), () => {
23156
+ }, n3 = (t, s) => s.fold(() => t.fold(na, na, Bs), (a) => t.fold(ae(a), ae(a), () => {
23157
23157
  const c = b2(t, a.x, a.y);
23158
23158
  return Bs(c.left, c.top, a.width, a.height);
23159
23159
  })), b2 = (t, s, a) => {
@@ -23162,12 +23162,12 @@ Receiver: ` + jd(s.element), E, g.data);
23162
23162
  return c.translate(-g.left, -g.top);
23163
23163
  };
23164
23164
  return t.fold(ae(c), ae(c), d);
23165
- }, oT = (t, s, a, c) => t.fold(s, a, c);
23165
+ }, o3 = (t, s, a, c) => t.fold(s, a, c);
23166
23166
  g2.none;
23167
- const Xl = g2.relative, X0 = g2.fixed, sT = (t, s) => ({
23167
+ const Xl = g2.relative, X0 = g2.fixed, s3 = (t, s) => ({
23168
23168
  anchorBox: t,
23169
23169
  origin: s
23170
- }), rT = (t, s) => sT(t, s), v2 = "data-alloy-placement", aT = (t, s) => {
23170
+ }), r3 = (t, s) => s3(t, s), v2 = "data-alloy-placement", a3 = (t, s) => {
23171
23171
  It(t, v2, s);
23172
23172
  }, AC = (t) => I(t, v2), DC = (t) => le(t, v2), J0 = T.generate([
23173
23173
  { fit: ["reposition"] },
@@ -23206,7 +23206,7 @@ Receiver: ` + jd(s.element), E, g.data);
23206
23206
  maxWidth: jb(t, w, w, p),
23207
23207
  maxHeight: g
23208
23208
  };
23209
- }, lT = (t, s, a, c) => {
23209
+ }, l3 = (t, s, a, c) => {
23210
23210
  const d = t.bubble, g = d.offset, p = qb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Bs(w, C, s, a), { originInBounds: $, sizeInBounds: N, visibleW: H, visibleH: W } = OC(E, p), Q = $ && N, de = Q ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth: xe, maxHeight: ve } = dh(t.direction, de, c), Oe = {
23211
23211
  rect: de,
23212
23212
  maxHeight: ve,
@@ -23221,9 +23221,9 @@ Receiver: ` + jd(s.element), E, g.data);
23221
23221
  testY: C
23222
23222
  };
23223
23223
  return Q || t.alwaysFit ? J0.fit(Oe) : J0.nofit(Oe, H, W, Me);
23224
- }, cT = (t, s, a, c, d, g) => {
23224
+ }, c3 = (t, s, a, c, d, g) => {
23225
23225
  const p = c.width, w = c.height, C = ($, N, H, W, Q) => {
23226
- const de = $(a, c, d, t, g), Me = lT(de, p, w, g);
23226
+ const de = $(a, c, d, t, g), Me = l3(de, p, w, g);
23227
23227
  return Me.fold(ae(Me), (xe, ve, Oe, dt) => (Q === dt ? Oe > W || ve > H : !Q && dt) ? Me : J0.nofit(N, H, W, Q));
23228
23228
  };
23229
23229
  return Wo(s, ($, N) => {
@@ -23254,7 +23254,7 @@ Receiver: ` + jd(s.element), E, g.data);
23254
23254
  a(), s.set(D.some(w));
23255
23255
  }
23256
23256
  };
23257
- }, iT = () => w2((t) => t.destroy()), Xm = () => w2((t) => t.unbind()), ro = () => {
23257
+ }, i3 = () => w2((t) => t.destroy()), Xm = () => w2((t) => t.unbind()), ro = () => {
23258
23258
  const t = w2(he);
23259
23259
  return {
23260
23260
  ...t,
@@ -23265,10 +23265,10 @@ Receiver: ` + jd(s.element), E, g.data);
23265
23265
  "bottom",
23266
23266
  "right",
23267
23267
  "left"
23268
- ], ev = "data-alloy-transition-timer", RC = (t, s) => fl(t, s.classes), uT = (t, s, a) => a.exists((c) => {
23268
+ ], ev = "data-alloy-transition-timer", RC = (t, s) => fl(t, s.classes), u3 = (t, s, a) => a.exists((c) => {
23269
23269
  const d = t.mode;
23270
23270
  return d === "all" ? !0 : c[d] !== s[d];
23271
- }), dT = (t, s) => {
23271
+ }), d3 = (t, s) => {
23272
23272
  const a = (c) => parseFloat(c).toFixed(3);
23273
23273
  return es(s, (c, d) => {
23274
23274
  const g = t[d].map(a), p = c.map(a);
@@ -23313,24 +23313,24 @@ Receiver: ` + jd(s.element), E, g.data);
23313
23313
  clearTimeout(parseInt(a, 10)), le(t, ev);
23314
23314
  }), $C(t, s);
23315
23315
  }, jf = (t, s, a, c, d, g) => {
23316
- const p = uT(c, d, g);
23316
+ const p = u3(c, d, g);
23317
23317
  if (p || RC(t, c)) {
23318
23318
  Yt(t, "position", a.position);
23319
23319
  const w = p2(s, t), C = h2(s, {
23320
23320
  ...d,
23321
23321
  rect: w
23322
23322
  }), E = Er(_2, ($) => C[$]);
23323
- dT(a, E) && (ct(t, E), p && fO(t, c), ja(t));
23323
+ d3(a, E) && (ct(t, E), p && fO(t, c), ja(t));
23324
23324
  } else
23325
23325
  ki(t, c.classes);
23326
- }, mT = (t) => ({
23326
+ }, m3 = (t) => ({
23327
23327
  width: ga(t),
23328
23328
  height: Md(t)
23329
23329
  }), Sp = (t, s, a, c) => {
23330
23330
  Co(s, "max-height"), Co(s, "max-width");
23331
- const d = mT(s);
23332
- return cT(s, c.preference, t, d, a, c.bounds);
23333
- }, fT = (t, s) => {
23331
+ const d = m3(s);
23332
+ return c3(s, c.preference, t, d, a, c.bounds);
23333
+ }, f3 = (t, s) => {
23334
23334
  const a = s.classes;
23335
23335
  ki(t, a.off), ur(t, a.on);
23336
23336
  }, S2 = (t, s, a) => {
@@ -23344,8 +23344,8 @@ Receiver: ` + jd(s.element), E, g.data);
23344
23344
  a.transition.each((d) => {
23345
23345
  jf(t, a.origin, c, d, s, a.lastPlacement);
23346
23346
  }), TC(t, c);
23347
- }, gT = (t, s) => {
23348
- aT(t, s.placement);
23347
+ }, g3 = (t, s) => {
23348
+ a3(t, s.placement);
23349
23349
  }, PC = (t, s) => {
23350
23350
  Lh(t, Math.floor(s));
23351
23351
  }, BC = ae((t, s) => {
@@ -23357,7 +23357,7 @@ Receiver: ` + jd(s.element), E, g.data);
23357
23357
  PC(t, s);
23358
23358
  }), NC = (t, s, a) => t[s] === void 0 ? a : t[s], k2 = (t, s, a, c, d, g, p, w) => {
23359
23359
  const C = NC(p, "maxHeightFunction", BC()), E = NC(p, "maxWidthFunction", he), $ = t.anchorBox, N = t.origin, H = {
23360
- bounds: nT(N, g),
23360
+ bounds: n3(N, g),
23361
23361
  origin: N,
23362
23362
  preference: c,
23363
23363
  maxHeightFunction: C,
@@ -23365,10 +23365,10 @@ Receiver: ` + jd(s.element), E, g.data);
23365
23365
  lastPlacement: d,
23366
23366
  transition: w
23367
23367
  };
23368
- return hT($, s, a, H);
23369
- }, hT = (t, s, a, c) => {
23368
+ return h3($, s, a, H);
23369
+ }, h3 = (t, s, a, c) => {
23370
23370
  const d = Sp(t, s, a, c);
23371
- return mh(s, d, c), gT(s, d), fT(s, d), S2(s, d, c), MC(s, d, c), {
23371
+ return mh(s, d, c), g3(s, d), f3(s, d), S2(s, d, c), MC(s, d, c), {
23372
23372
  layout: d.layout,
23373
23373
  placement: d.placement
23374
23374
  };
@@ -23478,7 +23478,7 @@ Receiver: ` + jd(s.element), E, g.data);
23478
23478
  ]), nv = (t, s, a, c, d, g, p) => {
23479
23479
  const w = p.map(n1).getOr(!1), C = s.layouts.map((W) => W.onLtr(t)), E = s.layouts.map((W) => W.onRtl(t)), $ = w ? s.layouts.bind((W) => W.onBottomLtr.map((Q) => Q(t))).or(C).getOr(d) : C.getOr(a), N = w ? s.layouts.bind((W) => W.onBottomRtl.map((Q) => Q(t))).or(E).getOr(g) : E.getOr(c);
23480
23480
  return tv($, N)(t);
23481
- }, pT = (t, s, a) => {
23481
+ }, p3 = (t, s, a) => {
23482
23482
  const c = s.hotspot, d = p2(a, c.element), g = nv(t.element, s, Yb(), d2(), u2(), wC(), D.some(s.hotspot.element));
23483
23483
  return D.some(e1({
23484
23484
  anchorBox: d,
@@ -23487,12 +23487,12 @@ Receiver: ` + jd(s.element), E, g.data);
23487
23487
  layouts: g
23488
23488
  }));
23489
23489
  };
23490
- var bT = [
23490
+ var b3 = [
23491
23491
  nt("hotspot"),
23492
23492
  Uo("bubble"),
23493
23493
  Re("overrides", {}),
23494
23494
  Gf(),
23495
- is("placement", pT)
23495
+ is("placement", p3)
23496
23496
  ];
23497
23497
  const LC = (t, s, a) => {
23498
23498
  const c = b2(a, s.x, s.y), d = Bs(c.left, c.top, s.width, s.height), g = nv(t.element, s, i2(), K0(), i2(), K0(), D.none());
@@ -23503,7 +23503,7 @@ Receiver: ` + jd(s.element), E, g.data);
23503
23503
  layouts: g
23504
23504
  }));
23505
23505
  };
23506
- var vT = [
23506
+ var v3 = [
23507
23507
  nt("x"),
23508
23508
  nt("y"),
23509
23509
  Re("height", 0),
@@ -23522,29 +23522,29 @@ Receiver: ` + jd(s.element), E, g.data);
23522
23522
  "scrollTop"
23523
23523
  ]
23524
23524
  }
23525
- ]), yT = (t) => t.fold(Nn, (s, a, c) => s.translate(-a, -c)), wT = (t) => t.fold(Nn, Nn), FC = (t) => Wo(t, (s, a) => s.translate(a.left, a.top), Lo(0, 0)), xT = (t) => {
23526
- const s = tt(t, yT);
23525
+ ]), y3 = (t) => t.fold(Nn, (s, a, c) => s.translate(-a, -c)), w3 = (t) => t.fold(Nn, Nn), FC = (t) => Wo(t, (s, a) => s.translate(a.left, a.top), Lo(0, 0)), x3 = (t) => {
23526
+ const s = tt(t, y3);
23527
23527
  return FC(s);
23528
23528
  }, HC = (t) => {
23529
- const s = tt(t, wT);
23529
+ const s = tt(t, w3);
23530
23530
  return FC(s);
23531
- }, CT = T2.screen, ov = T2.absolute, _T = (t, s, a) => {
23531
+ }, C3 = T2.screen, ov = T2.absolute, _3 = (t, s, a) => {
23532
23532
  const c = Hl(a.root).dom, d = (g) => {
23533
23533
  const p = fa(g), w = fa(t.element);
23534
23534
  return zo(p, w);
23535
23535
  };
23536
23536
  return D.from(c.frameElement).map(Ae.fromDom).filter(d).map(Cl);
23537
23537
  }, VC = (t, s, a) => {
23538
- const c = fa(t.element), d = Ka(c), g = _T(t, s, a).getOr(d);
23538
+ const c = fa(t.element), d = Ka(c), g = _3(t, s, a).getOr(d);
23539
23539
  return ov(g, d.left, d.top);
23540
23540
  }, Ep = (t, s, a, c) => {
23541
- const d = CT(Lo(t, s));
23541
+ const d = C3(Lo(t, s));
23542
23542
  return D.some(Mm(d, a, c));
23543
23543
  }, E2 = (t, s, a, c, d) => t.map((g) => {
23544
23544
  const p = [
23545
23545
  s,
23546
23546
  g.point
23547
- ], w = oT(c, () => HC(p), () => HC(p), () => xT(p)), C = Id(w.left, w.top, g.width, g.height), E = a.showAbove ? u2() : Yb(), $ = a.showAbove ? wC() : d2(), N = nv(d, a, E, $, E, $, D.none());
23547
+ ], w = o3(c, () => HC(p), () => HC(p), () => x3(p)), C = Id(w.left, w.top, g.width, g.height), E = a.showAbove ? u2() : Yb(), $ = a.showAbove ? wC() : d2(), N = nv(d, a, E, $, E, $, D.none());
23548
23548
  return e1({
23549
23549
  anchorBox: C,
23550
23550
  bubble: a.bubble.getOr(Q0()),
@@ -23581,11 +23581,11 @@ Receiver: ` + jd(s.element), E, g.data);
23581
23581
  ]
23582
23582
  },
23583
23583
  { after: ["element"] }
23584
- ]), kT = (t, s, a, c) => t.fold(s, a, c), R2 = (t) => t.fold(Nn, Nn, Nn), UC = rv.before, TT = rv.on, $2 = rv.after, ET = {
23584
+ ]), k3 = (t, s, a, c) => t.fold(s, a, c), R2 = (t) => t.fold(Nn, Nn, Nn), UC = rv.before, T3 = rv.on, $2 = rv.after, E3 = {
23585
23585
  before: UC,
23586
- on: TT,
23586
+ on: T3,
23587
23587
  after: $2,
23588
- cata: kT,
23588
+ cata: k3,
23589
23589
  getStart: R2
23590
23590
  }, Ap = T.generate([
23591
23591
  { domRange: ["rng"] },
@@ -23603,20 +23603,20 @@ Receiver: ` + jd(s.element), E, g.data);
23603
23603
  "foffset"
23604
23604
  ]
23605
23605
  }
23606
- ]), AT = (t) => Ap.exact(t.start, t.soffset, t.finish, t.foffset), M2 = (t) => t.match({
23606
+ ]), A3 = (t) => Ap.exact(t.start, t.soffset, t.finish, t.foffset), M2 = (t) => t.match({
23607
23607
  domRange: (s) => Ae.fromDom(s.startContainer),
23608
- relative: (s, a) => ET.getStart(s),
23608
+ relative: (s, a) => E3.getStart(s),
23609
23609
  exact: (s, a, c, d) => s
23610
- }), DT = Ap.domRange, OT = Ap.relative, RT = Ap.exact, WC = (t) => {
23610
+ }), D3 = Ap.domRange, O3 = Ap.relative, R3 = Ap.exact, WC = (t) => {
23611
23611
  const s = M2(t);
23612
23612
  return Hl(s);
23613
- }, $T = sv.create, Ya = {
23614
- domRange: DT,
23615
- relative: OT,
23616
- exact: RT,
23617
- exactFromRange: AT,
23613
+ }, $3 = sv.create, Ya = {
23614
+ domRange: D3,
23615
+ relative: O3,
23616
+ exact: R3,
23617
+ exactFromRange: A3,
23618
23618
  getWin: WC,
23619
- range: $T
23619
+ range: $3
23620
23620
  }, gO = (t, s) => {
23621
23621
  s.fold((a) => {
23622
23622
  t.setStartBefore(a.dom);
@@ -23669,7 +23669,7 @@ Receiver: ` + jd(s.element), E, g.data);
23669
23669
  "foffset"
23670
23670
  ]
23671
23671
  }
23672
- ]), o1 = (t, s, a) => s(Ae.fromDom(a.startContainer), a.startOffset, Ae.fromDom(a.endContainer), a.endOffset), MT = (t, s) => s.match({
23672
+ ]), o1 = (t, s, a) => s(Ae.fromDom(a.startContainer), a.startOffset, Ae.fromDom(a.endContainer), a.endOffset), M3 = (t, s) => s.match({
23673
23673
  domRange: (a) => ({
23674
23674
  ltr: ae(a),
23675
23675
  rtl: D.none
@@ -23682,12 +23682,12 @@ Receiver: ` + jd(s.element), E, g.data);
23682
23682
  ltr: Gs(() => ZC(t, a, c, d, g)),
23683
23683
  rtl: Gs(() => D.some(ZC(t, d, g, a, c)))
23684
23684
  })
23685
- }), PT = (t, s) => {
23685
+ }), P3 = (t, s) => {
23686
23686
  const a = s.ltr();
23687
23687
  return a.collapsed ? s.rtl().filter((d) => d.collapsed === !1).map((d) => fh.rtl(Ae.fromDom(d.endContainer), d.endOffset, Ae.fromDom(d.startContainer), d.startOffset)).getOrThunk(() => o1(t, fh.ltr, a)) : o1(t, fh.ltr, a);
23688
23688
  }, s1 = (t, s) => {
23689
- const a = MT(t, s);
23690
- return PT(t, a);
23689
+ const a = M3(t, s);
23690
+ return P3(t, a);
23691
23691
  }, B2 = (t, s) => s1(t, s).match({
23692
23692
  ltr: (c, d, g, p) => {
23693
23693
  const w = t.document.createRange();
@@ -23711,14 +23711,14 @@ Receiver: ` + jd(s.element), E, g.data);
23711
23711
  return D.some(sv.create(Ae.fromDom(s.startContainer), s.startOffset, Ae.fromDom(a.endContainer), a.endOffset));
23712
23712
  } else
23713
23713
  return D.none();
23714
- }, BT = (t) => {
23714
+ }, B3 = (t) => {
23715
23715
  if (t.anchorNode === null || t.focusNode === null)
23716
23716
  return Op(t);
23717
23717
  {
23718
23718
  const s = Ae.fromDom(t.anchorNode), a = Ae.fromDom(t.focusNode);
23719
23719
  return N2(s, t.anchorOffset, a, t.focusOffset) ? D.some(sv.create(s, t.anchorOffset, a, t.focusOffset)) : Op(t);
23720
23720
  }
23721
- }, YC = (t) => hO(t).filter((s) => s.rangeCount > 0).bind(BT), I2 = (t, s) => {
23721
+ }, YC = (t) => hO(t).filter((s) => s.rangeCount > 0).bind(B3), I2 = (t, s) => {
23722
23722
  const a = B2(t, s);
23723
23723
  return jC(a);
23724
23724
  }, r1 = (t, s) => {
@@ -23739,7 +23739,7 @@ Receiver: ` + jd(s.element), E, g.data);
23739
23739
  g.dom.nodeValue = p;
23740
23740
  }
23741
23741
  };
23742
- })(ea, "text"), NT = (t) => Rp.get(t), qf = (t, s) => ({
23742
+ })(ea, "text"), N3 = (t) => Rp.get(t), qf = (t, s) => ({
23743
23743
  element: t,
23744
23744
  offset: s
23745
23745
  }), XC = (t, s) => {
@@ -23749,7 +23749,7 @@ Receiver: ` + jd(s.element), E, g.data);
23749
23749
  if (s < a.length)
23750
23750
  return qf(a[s], 0);
23751
23751
  {
23752
- const c = a[a.length - 1], d = ea(c) ? NT(c).length : Ma(c).length;
23752
+ const c = a[a.length - 1], d = ea(c) ? N3(c).length : Ma(c).length;
23753
23753
  return qf(c, d);
23754
23754
  }
23755
23755
  }, Kf = (t, s) => ea(t) ? qf(t, s) : XC(t, s), Yf = (t) => t.foffset !== void 0, L2 = (t, s) => s.getSelection.getOrThunk(() => () => YC(t))().map((c) => {
@@ -23827,9 +23827,9 @@ Receiver: ` + jd(s.element), E, g.data);
23827
23827
  ], i1 = vo("type", {
23828
23828
  selection: pO,
23829
23829
  node: D2,
23830
- hotspot: bT,
23830
+ hotspot: b3,
23831
23831
  submenu: Mp,
23832
- makeshift: vT
23832
+ makeshift: v3
23833
23833
  });
23834
23834
  const z2 = [
23835
23835
  Ec("classes", ya),
@@ -23847,11 +23847,11 @@ Receiver: ` + jd(s.element), E, g.data);
23847
23847
  ], iv = () => {
23848
23848
  const t = document.documentElement;
23849
23849
  return X0(0, 0, t.clientWidth, t.clientHeight);
23850
- }, IT = (t) => {
23850
+ }, I3 = (t) => {
23851
23851
  const s = Cl(t.element), a = t.element.dom.getBoundingClientRect();
23852
23852
  return Xl(s.left, s.top, a.width, a.height);
23853
23853
  }, e_ = (t, s, a, c, d, g) => {
23854
- const p = rT(s.anchorBox, t);
23854
+ const p = r3(s.anchorBox, t);
23855
23855
  return k2(p, c.element, s.bubble, s.layouts, d, a, s.overrides, g);
23856
23856
  }, U2 = (t, s, a, c, d) => {
23857
23857
  const g = D.none();
@@ -23862,7 +23862,7 @@ Receiver: ` + jd(s.element), E, g.data);
23862
23862
  Yt(C, "position", "fixed");
23863
23863
  const $ = zs(C, "visibility");
23864
23864
  Yt(C, "visibility", "hidden");
23865
- const N = s.useFixed() ? iv() : IT(t);
23865
+ const N = s.useFixed() ? iv() : I3(t);
23866
23866
  w.placement(t, w, N).each((H) => {
23867
23867
  const W = g.orThunk(() => s.getBounds.map(Xt)), Q = e_(N, H, W, c, E, p.transition);
23868
23868
  a.set(c.uid, Q);
@@ -23925,7 +23925,7 @@ Receiver: ` + jd(s.element), E, g.data);
23925
23925
  qa(t.element, s.element);
23926
23926
  }, hd = (t) => {
23927
23927
  pt(t.components(), (s) => Tc(s.element)), Bd(t.element), t.syncComponents();
23928
- }, LT = (t, s, a) => {
23928
+ }, L3 = (t, s, a) => {
23929
23929
  const c = t.components();
23930
23930
  hd(t);
23931
23931
  const d = a(s), g = zt(c, d);
@@ -23934,7 +23934,7 @@ Receiver: ` + jd(s.element), E, g.data);
23934
23934
  }), pt(d, (p) => {
23935
23935
  Pp(p) ? gh(t, p) : (t.getSystem().addToWorld(p), gh(t, p), po(t.element) && Bp(p));
23936
23936
  }), t.syncComponents();
23937
- }, FT = (t, s, a) => {
23937
+ }, F3 = (t, s, a) => {
23938
23938
  const c = t.components(), d = Te(s, (w) => sp(w).toArray());
23939
23939
  pt(c, (w) => {
23940
23940
  no(d, w) || Np(w);
@@ -23991,7 +23991,7 @@ Receiver: ` + jd(s.element), E, g.data);
23991
23991
  a.get().each((c) => {
23992
23992
  Z2(t), tm(t), s.onClose(t, c), a.clear();
23993
23993
  });
23994
- }, Di = (t, s, a) => a.isOpen(), hh = (t, s, a, c) => Di(t, s, a) && a.get().exists((d) => s.isPartOf(t, d, c)), j2 = (t, s, a) => a.get(), HT = (t, s, a, c) => {
23994
+ }, Di = (t, s, a) => a.isOpen(), hh = (t, s, a, c) => Di(t, s, a) && a.get().exists((d) => s.isPartOf(t, d, c)), j2 = (t, s, a) => a.get(), H3 = (t, s, a, c) => {
23995
23995
  zs(t.element, s).fold(() => {
23996
23996
  le(t.element, a);
23997
23997
  }, (d) => {
@@ -24001,7 +24001,7 @@ Receiver: ` + jd(s.element), E, g.data);
24001
24001
  I(t.element, a).fold(() => Co(t.element, s), (c) => Yt(t.element, s, c));
24002
24002
  }, d1 = (t, s, a) => {
24003
24003
  const c = s.getAttachPoint(t);
24004
- Yt(t.element, "position", Al.getMode(c)), HT(t, "visibility", s.cloakVisibilityAttr, "hidden");
24004
+ Yt(t.element, "position", Al.getMode(c)), H3(t, "visibility", s.cloakVisibilityAttr, "hidden");
24005
24005
  }, o_ = (t) => Ys([
24006
24006
  "top",
24007
24007
  "left",
@@ -24026,7 +24026,7 @@ Receiver: ` + jd(s.element), E, g.data);
24026
24026
  events: (t, s) => As([Qe(R0(), (a, c) => {
24027
24027
  mv(a, t, s);
24028
24028
  })])
24029
- }), zT = [
24029
+ }), z3 = [
24030
24030
  Ao("onOpen"),
24031
24031
  Ao("onClose"),
24032
24032
  nt("isPartOf"),
@@ -24046,7 +24046,7 @@ Receiver: ` + jd(s.element), E, g.data);
24046
24046
  }
24047
24047
  });
24048
24048
  const So = Sa({
24049
- fields: zT,
24049
+ fields: z3,
24050
24050
  name: "sandboxing",
24051
24051
  active: s_,
24052
24052
  apis: fv,
@@ -24064,11 +24064,11 @@ Receiver: ` + jd(s.element), E, g.data);
24064
24064
  }
24065
24065
  }
24066
24066
  };
24067
- }, UT = Es([
24067
+ }, U3 = Es([
24068
24068
  kl("fireEventInstead", [Re("event", Qx())]),
24069
24069
  lu("doReposition")
24070
24070
  ]), Fp = (t) => {
24071
- const s = Sl("Reposition", UT, t);
24071
+ const s = Sl("Reposition", U3, t);
24072
24072
  return {
24073
24073
  [ph()]: {
24074
24074
  onReceive: (a) => {
@@ -24118,7 +24118,7 @@ Receiver: ` + jd(s.element), E, g.data);
24118
24118
  clear: c,
24119
24119
  readState: s
24120
24120
  });
24121
- }, WT = () => Qc({ readState: he }), l_ = () => {
24121
+ }, W3 = () => Qc({ readState: he }), l_ = () => {
24122
24122
  const t = gn({}), s = gn({});
24123
24123
  return Qc({
24124
24124
  readState: () => ({
@@ -24152,16 +24152,16 @@ Receiver: ` + jd(s.element), E, g.data);
24152
24152
  __proto__: null,
24153
24153
  memory: bh,
24154
24154
  dataset: l_,
24155
- manual: WT,
24155
+ manual: W3,
24156
24156
  init: (t) => t.store.manager.state(t)
24157
24157
  });
24158
24158
  const tf = (t, s, a, c) => {
24159
24159
  const d = s.store;
24160
24160
  a.update([c]), d.setValue(t, c), s.onSetValue(t, c);
24161
- }, jT = (t, s, a) => {
24161
+ }, j3 = (t, s, a) => {
24162
24162
  const c = s.store, d = c.getDataKey(t);
24163
24163
  return a.lookup(d).getOrThunk(() => c.getFallbackEntry(d));
24164
- }, GT = (t, s, a) => {
24164
+ }, G3 = (t, s, a) => {
24165
24165
  s.store.initialValue.each((d) => {
24166
24166
  tf(t, s, a, d);
24167
24167
  });
@@ -24175,8 +24175,8 @@ Receiver: ` + jd(s.element), E, g.data);
24175
24175
  nt("setValue"),
24176
24176
  is("manager", {
24177
24177
  setValue: tf,
24178
- getValue: jT,
24179
- onLoad: GT,
24178
+ getValue: j3,
24179
+ onLoad: G3,
24180
24180
  onUnload: c_,
24181
24181
  state: l_
24182
24182
  })
@@ -24206,7 +24206,7 @@ Receiver: ` + jd(s.element), E, g.data);
24206
24206
  s.store.initialValue.each((c) => {
24207
24207
  a.isNotSet() && a.set(c);
24208
24208
  });
24209
- }, qT = (t, s, a) => {
24209
+ }, q3 = (t, s, a) => {
24210
24210
  a.clear();
24211
24211
  };
24212
24212
  var h1 = [
@@ -24215,10 +24215,10 @@ Receiver: ` + jd(s.element), E, g.data);
24215
24215
  setValue: i_,
24216
24216
  getValue: g1,
24217
24217
  onLoad: X2,
24218
- onUnload: qT,
24218
+ onUnload: q3,
24219
24219
  state: bh
24220
24220
  })
24221
- ], KT = [
24221
+ ], K3 = [
24222
24222
  Zl("store", { mode: "memory" }, vo("mode", {
24223
24223
  memory: h1,
24224
24224
  manual: ng,
@@ -24228,7 +24228,7 @@ Receiver: ` + jd(s.element), E, g.data);
24228
24228
  Re("resetOnDom", !1)
24229
24229
  ];
24230
24230
  const Vt = Sa({
24231
- fields: KT,
24231
+ fields: K3,
24232
24232
  name: "representing",
24233
24233
  active: bv,
24234
24234
  apis: tg,
@@ -24297,7 +24297,7 @@ Spec: ` + JSON.stringify(a, null, 2));
24297
24297
  Namespace: ` + t.getOr("none") + `
24298
24298
  Components: ` + JSON.stringify(s.components, null, 2));
24299
24299
  }), g;
24300
- }, Q2 = p1.single, YT = p1.multiple, vd = ae(yv), Cv = T.generate([
24300
+ }, Q2 = p1.single, Y3 = p1.multiple, vd = ae(yv), Cv = T.generate([
24301
24301
  { required: ["data"] },
24302
24302
  { external: ["data"] },
24303
24303
  { optional: ["data"] },
@@ -24348,7 +24348,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24348
24348
  asCommon: g_,
24349
24349
  original: kv
24350
24350
  });
24351
- const _1 = (t, s, a, c) => Go(s.defaults(t, a, c), a, { uid: t.partUids[s.name] }, s.overrides(t, a, c)), XT = (t, s, a) => {
24351
+ const _1 = (t, s, a, c) => Go(s.defaults(t, a, c), a, { uid: t.partUids[s.name] }, s.overrides(t, a, c)), X3 = (t, s, a) => {
24352
24352
  const c = {}, d = {};
24353
24353
  return pt(a, (g) => {
24354
24354
  g.fold((p) => {
@@ -24359,7 +24359,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24359
24359
  }, (p) => {
24360
24360
  c[p.pname] = Q2(!1, (w, C, E) => p.factory.sketch(_1(w, p, C, E)));
24361
24361
  }, (p) => {
24362
- c[p.pname] = YT(!0, (w, C, E) => {
24362
+ c[p.pname] = Y3(!0, (w, C, E) => {
24363
24363
  const $ = w[p.name];
24364
24364
  return tt($, (N) => p.factory.sketch(Go(p.defaults(w, N, E), N, p.overrides(w, N))));
24365
24365
  });
@@ -24393,7 +24393,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24393
24393
  name: s,
24394
24394
  config: a,
24395
24395
  validated: {}
24396
- }), p_ = (t) => Te(t, (s) => s.fold(D.none, D.some, D.none, D.none).map((a) => _i(a.name, a.schema.concat([W0(kv())]))).toArray()), b_ = (t) => tt(t, f_), tw = (t, s, a) => XT(t, s, a), Tv = (t, s, a) => J2(D.some(t), s, s.components, a), _s = (t, s, a) => {
24396
+ }), p_ = (t) => Te(t, (s) => s.fold(D.none, D.some, D.none, D.none).map((a) => _i(a.name, a.schema.concat([W0(kv())]))).toArray()), b_ = (t) => tt(t, f_), tw = (t, s, a) => X3(t, s, a), Tv = (t, s, a) => J2(D.some(t), s, s.components, a), _s = (t, s, a) => {
24397
24397
  const c = s.partUids[a];
24398
24398
  return t.getSystem().getByUid(c).toOptional();
24399
24399
  }, sf = (t, s, a) => _s(t, s, a).getOrDie("Could not find part: " + a), v_ = (t, s, a) => {
@@ -24416,7 +24416,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24416
24416
  value: t + "-" + c
24417
24417
  })));
24418
24418
  }, rw = (t) => Ia("partUids", "partUids", Yn((s) => sw(s.uid, t)), Pr());
24419
- var JT = /* @__PURE__ */ Object.freeze({
24419
+ var J3 = /* @__PURE__ */ Object.freeze({
24420
24420
  __proto__: null,
24421
24421
  generate: of,
24422
24422
  generateOne: ew,
@@ -24451,13 +24451,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
24451
24451
  }, Lu = (t) => xo(t, "uid"), og = (t) => Lu(t) ? t : {
24452
24452
  ...t,
24453
24453
  uid: np("uid")
24454
- }, QT = (t) => t.uid !== void 0, k1 = Es([
24454
+ }, Q3 = (t) => t.uid !== void 0, k1 = Es([
24455
24455
  nt("name"),
24456
24456
  nt("factory"),
24457
24457
  nt("configFields"),
24458
24458
  Re("apis", {}),
24459
24459
  Re("extraApis", {})
24460
- ]), e3 = Es([
24460
+ ]), eT = Es([
24461
24461
  nt("name"),
24462
24462
  nt("factory"),
24463
24463
  nt("configFields"),
@@ -24474,7 +24474,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24474
24474
  ...d
24475
24475
  };
24476
24476
  }, Ol = (t) => {
24477
- const s = Sl("Sketcher for " + t.name, e3, t), a = (p) => lw(s.name, s.configFields, s.partFields, s.factory, p), c = of(s.name, s.partFields), d = Ko(s.apis, sh), g = Ko(s.extraApis, (p, w) => Ob(p, w));
24477
+ const s = Sl("Sketcher for " + t.name, eT, t), a = (p) => lw(s.name, s.configFields, s.partFields, s.factory, p), c = of(s.name, s.partFields), d = Ko(s.apis, sh), g = Ko(s.extraApis, (p, w) => Ob(p, w));
24478
24478
  return {
24479
24479
  name: s.name,
24480
24480
  partFields: s.partFields,
@@ -24489,8 +24489,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
24489
24489
  __proto__: null,
24490
24490
  getCurrent: (t, s, a) => s.find(t)
24491
24491
  });
24492
- const t3 = [nt("find")], yo = Sa({
24493
- fields: t3,
24492
+ const tT = [nt("find")], yo = Sa({
24493
+ fields: tT,
24494
24494
  name: "composing",
24495
24495
  apis: y_
24496
24496
  }), cw = [
@@ -24500,23 +24500,23 @@ Components: ` + JSON.stringify(s.components, null, 2));
24500
24500
  "select"
24501
24501
  ], w_ = (t, s, a) => {
24502
24502
  (s.disabled() ? C_ : T1)(t, s);
24503
- }, iw = (t, s) => s.useNative === !0 && no(cw, Ra(t.element)), n3 = (t) => J(t.element, "disabled"), o3 = (t) => {
24503
+ }, iw = (t, s) => s.useNative === !0 && no(cw, Ra(t.element)), nT = (t) => J(t.element, "disabled"), oT = (t) => {
24504
24504
  It(t.element, "disabled", "disabled");
24505
24505
  }, x_ = (t) => {
24506
24506
  le(t.element, "disabled");
24507
- }, s3 = (t) => js(t.element, "aria-disabled") === "true", Wt = (t) => {
24507
+ }, sT = (t) => js(t.element, "aria-disabled") === "true", Wt = (t) => {
24508
24508
  It(t.element, "aria-disabled", "true");
24509
24509
  }, sg = (t) => {
24510
24510
  It(t.element, "aria-disabled", "false");
24511
24511
  }, C_ = (t, s, a) => {
24512
24512
  s.disableClass.each((d) => {
24513
24513
  Nr(t.element, d);
24514
- }), (iw(t, s) ? o3 : Wt)(t), s.onDisabled(t);
24514
+ }), (iw(t, s) ? oT : Wt)(t), s.onDisabled(t);
24515
24515
  }, T1 = (t, s, a) => {
24516
24516
  s.disableClass.each((d) => {
24517
24517
  or(t.element, d);
24518
24518
  }), (iw(t, s) ? x_ : sg)(t), s.onEnabled(t);
24519
- }, E1 = (t, s) => iw(t, s) ? n3(t) : s3(t);
24519
+ }, E1 = (t, s) => iw(t, s) ? nT(t) : sT(t);
24520
24520
  var wO = /* @__PURE__ */ Object.freeze({
24521
24521
  __proto__: null,
24522
24522
  enable: T1,
@@ -24526,7 +24526,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24526
24526
  set: (t, s, a, c) => {
24527
24527
  (c ? C_ : T1)(t, s);
24528
24528
  }
24529
- }), a3 = /* @__PURE__ */ Object.freeze({
24529
+ }), aT = /* @__PURE__ */ Object.freeze({
24530
24530
  __proto__: null,
24531
24531
  exhibit: (t, s) => ei({ classes: s.disabled() ? s.disableClass.toArray() : [] }),
24532
24532
  events: (t, s) => As([
@@ -24543,7 +24543,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24543
24543
  const xn = Sa({
24544
24544
  fields: __,
24545
24545
  name: "disabling",
24546
- active: a3,
24546
+ active: aT,
24547
24547
  apis: wO
24548
24548
  }), rf = (t, s, a, c) => {
24549
24549
  const d = ka(t.element, "." + s.highlightClass);
@@ -24552,11 +24552,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
24552
24552
  s.onDehighlight(t, w), _o(w, B0());
24553
24553
  }));
24554
24554
  });
24555
- }, S_ = (t, s, a) => rf(t, s, a, []), l3 = (t, s, a, c) => {
24555
+ }, S_ = (t, s, a) => rf(t, s, a, []), lT = (t, s, a, c) => {
24556
24556
  Ev(t, s, a, c) && (or(c.element, s.highlightClass), s.onDehighlight(t, c), _o(c, B0()));
24557
24557
  }, A1 = (t, s, a, c) => {
24558
24558
  rf(t, s, a, [c]), Ev(t, s, a, c) || (Nr(c.element, s.highlightClass), s.onHighlight(t, c), _o(c, P0()));
24559
- }, c3 = (t, s, a) => {
24559
+ }, cT = (t, s, a) => {
24560
24560
  Gp(t, s).each((c) => {
24561
24561
  A1(t, s, a, c);
24562
24562
  });
@@ -24565,7 +24565,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24565
24565
  A1(t, s, a, c);
24566
24566
  });
24567
24567
  }, uw = (t, s, a, c) => {
24568
- u3(t, s, a, c).fold((d) => {
24568
+ uT(t, s, a, c).fold((d) => {
24569
24569
  throw d;
24570
24570
  }, (d) => {
24571
24571
  A1(t, s, a, d);
@@ -24575,7 +24575,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24575
24575
  qe(d, c).each((p) => {
24576
24576
  A1(t, s, a, p);
24577
24577
  });
24578
- }, Ev = (t, s, a, c) => ra(c.element, s.highlightClass), i3 = (t, s, a) => Ir(t.element, "." + s.highlightClass).bind((c) => t.getSystem().getByDom(c).toOptional()), u3 = (t, s, a, c) => {
24578
+ }, Ev = (t, s, a, c) => ra(c.element, s.highlightClass), iT = (t, s, a) => Ir(t.element, "." + s.highlightClass).bind((c) => t.getSystem().getByDom(c).toOptional()), uT = (t, s, a, c) => {
24579
24579
  const d = ka(t.element, "." + s.itemClass);
24580
24580
  return D.from(d[c]).fold(() => Vn.error(new Error("No element found with index " + c)), t.getSystem().getByDom);
24581
24581
  }, Gp = (t, s, a) => Ir(t.element, "." + s.itemClass).bind((c) => t.getSystem().getByDom(c).toOptional()), dw = (t, s, a) => {
@@ -24587,25 +24587,25 @@ Components: ` + JSON.stringify(s.components, null, 2));
24587
24587
  const w = yp(p, c, 0, d.length - 1);
24588
24588
  return t.getSystem().getByDom(d[w]).toOptional();
24589
24589
  });
24590
- }, d3 = (t, s, a) => E_(t, s, a, -1), m3 = (t, s, a) => E_(t, s, a, 1), Av = (t, s, a) => {
24590
+ }, dT = (t, s, a) => E_(t, s, a, -1), mT = (t, s, a) => E_(t, s, a, 1), Av = (t, s, a) => {
24591
24591
  const c = ka(t.element, "." + s.itemClass);
24592
24592
  return Oa(tt(c, (d) => t.getSystem().getByDom(d).toOptional()));
24593
24593
  };
24594
24594
  var nm = /* @__PURE__ */ Object.freeze({
24595
24595
  __proto__: null,
24596
24596
  dehighlightAll: S_,
24597
- dehighlight: l3,
24597
+ dehighlight: lT,
24598
24598
  highlight: A1,
24599
- highlightFirst: c3,
24599
+ highlightFirst: cT,
24600
24600
  highlightLast: k_,
24601
24601
  highlightAt: uw,
24602
24602
  highlightBy: T_,
24603
24603
  isHighlighted: Ev,
24604
- getHighlighted: i3,
24604
+ getHighlighted: iT,
24605
24605
  getFirst: Gp,
24606
24606
  getLast: dw,
24607
- getPrevious: d3,
24608
- getNext: m3,
24607
+ getPrevious: dT,
24608
+ getNext: mT,
24609
24609
  getCandidates: Av
24610
24610
  }), Dv = [
24611
24611
  nt("highlightClass"),
@@ -24617,25 +24617,25 @@ Components: ` + JSON.stringify(s.components, null, 2));
24617
24617
  fields: Dv,
24618
24618
  name: "highlighting",
24619
24619
  apis: nm
24620
- }), f3 = [8], af = [9], om = [13], Ov = [27], Ri = [32], Rv = [37], lf = [38], qp = [39], D1 = [40], mw = (t, s, a) => {
24620
+ }), fT = [8], af = [9], om = [13], Ov = [27], Ri = [32], Rv = [37], lf = [38], qp = [39], D1 = [40], mw = (t, s, a) => {
24621
24621
  const c = qo(t.slice(0, s)), d = qo(t.slice(s + 1));
24622
24622
  return qe(c.concat(d), a);
24623
- }, g3 = (t, s, a) => {
24623
+ }, gT = (t, s, a) => {
24624
24624
  const c = qo(t.slice(0, s));
24625
24625
  return qe(c, a);
24626
24626
  }, fw = (t, s, a) => {
24627
24627
  const c = t.slice(0, s), d = t.slice(s + 1);
24628
24628
  return qe(d.concat(c), a);
24629
- }, h3 = (t, s, a) => {
24629
+ }, hT = (t, s, a) => {
24630
24630
  const c = t.slice(s + 1);
24631
24631
  return qe(c, a);
24632
24632
  }, ko = (t) => (s) => {
24633
24633
  const a = s.raw;
24634
24634
  return no(t, a.which);
24635
- }, $i = (t) => (s) => wn(t, (a) => a(s)), cf = (t) => t.raw.shiftKey === !0, p3 = (t) => t.raw.ctrlKey === !0, Kp = Ze(cf), $o = (t, s) => ({
24635
+ }, $i = (t) => (s) => wn(t, (a) => a(s)), cf = (t) => t.raw.shiftKey === !0, pT = (t) => t.raw.ctrlKey === !0, Kp = Ze(cf), $o = (t, s) => ({
24636
24636
  matches: t,
24637
24637
  classification: s
24638
- }), b3 = (t, s) => qe(t, (c) => c.matches(s)).map((c) => c.classification), gw = (t, s, a) => {
24638
+ }), bT = (t, s) => qe(t, (c) => c.matches(s)).map((c) => c.classification), gw = (t, s, a) => {
24639
24639
  s.exists((d) => a.exists((g) => zo(g, d))) || dn(t, _b(), {
24640
24640
  prevFocus: s,
24641
24641
  newFocus: a
@@ -24682,7 +24682,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24682
24682
  is("sendFocusIn", d)
24683
24683
  ]), p = (E, $, N, H, W) => {
24684
24684
  const Q = N(E, $, H, W);
24685
- return b3(Q, $.event).bind((de) => de(E, $, H, W));
24685
+ return bT(Q, $.event).bind((de) => de(E, $, H, W));
24686
24686
  }, C = {
24687
24687
  schema: g,
24688
24688
  processKey: p,
@@ -24734,10 +24734,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
24734
24734
  const Je = ka(xe.element, Oe.selector);
24735
24735
  return d(xe, Oe).bind((Ge) => Rt(Je, In(zo, Ge)).bind((At) => w(xe, Je, At, Oe, dt)));
24736
24736
  }, E = (xe, ve, Oe) => {
24737
- const dt = Oe.cyclic ? mw : g3;
24737
+ const dt = Oe.cyclic ? mw : gT;
24738
24738
  return C(xe, ve, Oe, dt);
24739
24739
  }, $ = (xe, ve, Oe) => {
24740
- const dt = Oe.cyclic ? fw : h3;
24740
+ const dt = Oe.cyclic ? fw : hT;
24741
24741
  return C(xe, ve, Oe, dt);
24742
24742
  }, N = (xe) => Vl(xe).bind(hi).exists((ve) => zo(ve, xe)), H = (xe, ve, Oe) => d(xe, Oe).filter((dt) => !Oe.useTabstopAt(dt)).bind((dt) => (N(dt) ? E : $)(xe, ve, Oe)), W = (xe, ve, Oe) => Oe.onEnter.bind((dt) => dt(xe, ve)), Q = (xe, ve, Oe) => Oe.onEscape.bind((dt) => dt(xe, ve)), de = ae([
24743
24743
  $o($i([
@@ -24765,7 +24765,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24765
24765
  ], at = (t, s, a) => a.execute(t, s, t.element), Bt = (t, s, a, c) => {
24766
24766
  const d = a.useSpace && !yh(t.element) ? Ri : [], g = a.useEnter ? om : [], p = a.useDown ? D1 : [], w = d.concat(g).concat(p);
24767
24767
  return [$o(ko(w), at)].concat(a.useControlEnter ? [$o($i([
24768
- p3,
24768
+ pT,
24769
24769
  ko(om)
24770
24770
  ]), at)] : []);
24771
24771
  }, Pt = (t, s, a, c) => a.useSpace && !yh(t.element) ? [$o(ko(Ri), me)] : [];
@@ -24869,7 +24869,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24869
24869
  }), Pv = (t, s, a, c) => _O(t, s, a, c, (d, g, p, w, C, E, $) => {
24870
24870
  const N = yp(g, p, w, C);
24871
24871
  return N === d ? D.none() : $(N);
24872
- }), v3 = [
24872
+ }), vT = [
24873
24873
  nt("selector"),
24874
24874
  Re("getInitial", D.none),
24875
24875
  Re("execute", te),
@@ -24894,7 +24894,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24894
24894
  $o(ko(Ri), me),
24895
24895
  $o(ko(Ov), eN)
24896
24896
  ]);
24897
- var oN = v(v3, $u.init, tN, nN, () => D.some(TO));
24897
+ var oN = v(vT, $u.init, tN, nN, () => D.some(TO));
24898
24898
  const $_ = (t, s, a) => D.from(t[s]).bind((c) => D.from(c[a]).map((d) => ({
24899
24899
  rowIndex: s,
24900
24900
  columnIndex: a,
@@ -24911,7 +24911,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24911
24911
  }, P_ = (t, s, a, c) => {
24912
24912
  const d = Ei(a + c, 0, t.length - 1), g = t[d].length, p = Ei(s, 0, g - 1);
24913
24913
  return $_(t, d, p);
24914
- }, B_ = (t, s, a) => $1(t, s, a, 1), y3 = (t, s, a) => $1(t, s, a, -1), sN = (t, s, a) => M_(t, a, s, -1), rN = (t, s, a) => M_(t, a, s, 1), aN = (t, s, a) => DO(t, s, a, -1), lN = (t, s, a) => DO(t, s, a, 1), cN = (t, s, a) => P_(t, a, s, -1), iN = (t, s, a) => P_(t, a, s, 1), OO = [
24914
+ }, B_ = (t, s, a) => $1(t, s, a, 1), yT = (t, s, a) => $1(t, s, a, -1), sN = (t, s, a) => M_(t, a, s, -1), rN = (t, s, a) => M_(t, a, s, 1), aN = (t, s, a) => DO(t, s, a, -1), lN = (t, s, a) => DO(t, s, a, 1), cN = (t, s, a) => P_(t, a, s, -1), iN = (t, s, a) => P_(t, a, s, 1), OO = [
24915
24915
  _i("selectors", [
24916
24916
  nt("row"),
24917
24917
  nt("cell")
@@ -24919,7 +24919,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24919
24919
  Re("cycles", !0),
24920
24920
  Re("previousSelector", D.none),
24921
24921
  Re("execute", te)
24922
- ], w3 = (t, s, a) => {
24922
+ ], wT = (t, s, a) => {
24923
24923
  s.previousSelector(t).orThunk(() => {
24924
24924
  const d = s.selectors;
24925
24925
  return Ir(t.element, d.cell);
@@ -24938,24 +24938,24 @@ Components: ` + JSON.stringify(s.components, null, 2));
24938
24938
  });
24939
24939
  });
24940
24940
  });
24941
- }, RO = N_(y3, aN), Xp = N_(B_, lN), $O = N_(sN, cN), mN = N_(rN, iN), x3 = ae([
24941
+ }, RO = N_(yT, aN), Xp = N_(B_, lN), $O = N_(sN, cN), mN = N_(rN, iN), xT = ae([
24942
24942
  $o(ko(Rv), Gn(RO, Xp)),
24943
24943
  $o(ko(qp), qs(RO, Xp)),
24944
24944
  $o(ko(lf), Mc($O)),
24945
24945
  $o(ko(D1), wh(mN)),
24946
24946
  $o(ko(Ri.concat(om)), uN)
24947
24947
  ]), fN = ae([$o(ko(Ri), me)]);
24948
- var MO = v(OO, $u.init, x3, fN, () => D.some(w3));
24948
+ var MO = v(OO, $u.init, xT, fN, () => D.some(wT));
24949
24949
  const PO = [
24950
24950
  nt("selector"),
24951
24951
  Re("execute", te),
24952
24952
  Re("moveOnTab", !1)
24953
- ], C3 = (t, s, a) => a.focusManager.get(t).bind((c) => a.execute(t, s, c)), BO = (t, s, a) => {
24953
+ ], CT = (t, s, a) => a.focusManager.get(t).bind((c) => a.execute(t, s, c)), BO = (t, s, a) => {
24954
24954
  Ir(t.element, s.selector).each((c) => {
24955
24955
  s.focusManager.set(t, c);
24956
24956
  });
24957
- }, _3 = (t, s, a) => Pv(t, a.selector, s, -1), NO = (t, s, a) => Pv(t, a.selector, s, 1), gN = (t, s, a, c) => a.moveOnTab ? xh(_3)(t, s, a, c) : D.none(), hN = (t, s, a, c) => a.moveOnTab ? xh(NO)(t, s, a, c) : D.none(), S3 = ae([
24958
- $o(ko(lf), xh(_3)),
24957
+ }, _T = (t, s, a) => Pv(t, a.selector, s, -1), NO = (t, s, a) => Pv(t, a.selector, s, 1), gN = (t, s, a, c) => a.moveOnTab ? xh(_T)(t, s, a, c) : D.none(), hN = (t, s, a, c) => a.moveOnTab ? xh(NO)(t, s, a, c) : D.none(), ST = ae([
24958
+ $o(ko(lf), xh(_T)),
24959
24959
  $o(ko(D1), xh(NO)),
24960
24960
  $o($i([
24961
24961
  cf,
@@ -24965,10 +24965,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
24965
24965
  Kp,
24966
24966
  ko(af)
24967
24967
  ]), hN),
24968
- $o(ko(om), C3),
24969
- $o(ko(Ri), C3)
24968
+ $o(ko(om), CT),
24969
+ $o(ko(Ri), CT)
24970
24970
  ]), pN = ae([$o(ko(Ri), me)]);
24971
- var bN = v(PO, $u.init, S3, pN, () => D.some(BO));
24971
+ var bN = v(PO, $u.init, ST, pN, () => D.some(BO));
24972
24972
  const vN = [
24973
24973
  si("onSpace"),
24974
24974
  si("onEnter"),
@@ -25044,11 +25044,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
25044
25044
  state: tn
25045
25045
  }), Pc = (t, s) => {
25046
25046
  Ut(() => {
25047
- LT(t, s, () => tt(s, t.getSystem().build));
25047
+ L3(t, s, () => tt(s, t.getSystem().build));
25048
25048
  }, t.element);
25049
25049
  }, HO = (t, s) => {
25050
25050
  Ut(() => {
25051
- FT(t, s, () => iO(t.element, s, t.getSystem().buildOrPatch));
25051
+ F3(t, s, () => iO(t.element, s, t.getSystem().buildOrPatch));
25052
25052
  }, t.element);
25053
25053
  }, VO = (t, s, a, c) => {
25054
25054
  Np(s);
@@ -25108,12 +25108,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
25108
25108
  state: $u
25109
25109
  }
25110
25110
  };
25111
- }, k3 = (t, s) => {
25111
+ }, kT = (t, s) => {
25112
25112
  s.ignore || (Oc(t.element), s.onFocus(t));
25113
25113
  };
25114
25114
  var MN = /* @__PURE__ */ Object.freeze({
25115
25115
  __proto__: null,
25116
- focus: k3,
25116
+ focus: kT,
25117
25117
  blur: (t, s) => {
25118
25118
  s.ignore || Cp(t.element);
25119
25119
  },
@@ -25125,7 +25125,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25125
25125
  return ei(a);
25126
25126
  },
25127
25127
  events: (t) => As([Qe(ld(), (s, a) => {
25128
- k3(s, t), a.stop();
25128
+ kT(s, t), a.stop();
25129
25129
  })].concat(t.stopMousedown ? [Qe(uo(), (s, a) => {
25130
25130
  a.event.prevent();
25131
25131
  })] : []))
@@ -25147,7 +25147,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25147
25147
  clear: () => a.set(t),
25148
25148
  readState: () => a.get()
25149
25149
  };
25150
- } }), T3 = (t, s, a) => {
25150
+ } }), TT = (t, s, a) => {
25151
25151
  const c = s.aria;
25152
25152
  c.update(t, c, a.get());
25153
25153
  }, BN = (t, s, a) => {
@@ -25156,21 +25156,21 @@ Components: ` + JSON.stringify(s.components, null, 2));
25156
25156
  });
25157
25157
  }, bw = (t, s, a, c) => {
25158
25158
  const d = a.get();
25159
- a.set(c), BN(t, s, a), T3(t, s, a), d !== c && s.onToggled(t, c);
25159
+ a.set(c), BN(t, s, a), TT(t, s, a), d !== c && s.onToggled(t, c);
25160
25160
  }, qO = (t, s, a) => {
25161
25161
  bw(t, s, a, !a.get());
25162
25162
  }, NN = (t, s, a) => {
25163
25163
  bw(t, s, a, !0);
25164
25164
  }, KO = (t, s, a) => {
25165
25165
  bw(t, s, a, !1);
25166
- }, E3 = (t, s, a) => a.get(), H_ = (t, s, a) => {
25166
+ }, ET = (t, s, a) => a.get(), H_ = (t, s, a) => {
25167
25167
  bw(t, s, a, s.selected);
25168
25168
  };
25169
25169
  var IN = /* @__PURE__ */ Object.freeze({
25170
25170
  __proto__: null,
25171
25171
  onLoad: H_,
25172
25172
  toggle: qO,
25173
- isOn: E3,
25173
+ isOn: ET,
25174
25174
  on: NN,
25175
25175
  off: KO,
25176
25176
  set: bw
@@ -25234,16 +25234,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
25234
25234
  t.map(s).toArray(),
25235
25235
  _h()
25236
25236
  ]));
25237
- }, JO = "alloy.item-hover", QO = "alloy.item-focus", A3 = "alloy.item-toggled", ag = (t) => {
25237
+ }, JO = "alloy.item-hover", QO = "alloy.item-focus", AT = "alloy.item-toggled", ag = (t) => {
25238
25238
  (Pu(t.element).isNone() || _n.isFocused(t)) && (_n.isFocused(t) || _n.focus(t), dn(t, JO, { item: t }));
25239
25239
  }, V_ = (t) => {
25240
25240
  dn(t, QO, { item: t });
25241
25241
  }, VN = (t, s) => {
25242
- dn(t, A3, {
25242
+ dn(t, AT, {
25243
25243
  item: t,
25244
25244
  state: s
25245
25245
  });
25246
- }, D3 = ae(JO), eR = ae(QO), tR = ae(A3), O3 = (t) => t.toggling.map((s) => s.exclusive ? "menuitemradio" : "menuitemcheckbox").getOr("menuitem"), nR = (t) => ({
25246
+ }, DT = ae(JO), eR = ae(QO), tR = ae(AT), OT = (t) => t.toggling.map((s) => s.exclusive ? "menuitemradio" : "menuitemcheckbox").getOr("menuitem"), nR = (t) => ({
25247
25247
  aria: { mode: "checked" },
25248
25248
  ...Bl(t, (s, a) => a !== "exclusive"),
25249
25249
  onToggled: (s, a) => {
@@ -25254,7 +25254,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25254
25254
  domModification: {
25255
25255
  ...t.domModification,
25256
25256
  attributes: {
25257
- role: O3(t),
25257
+ role: OT(t),
25258
25258
  ...t.domModification.attributes,
25259
25259
  "aria-haspopup": t.hasSubmenu,
25260
25260
  ...t.hasSubmenu ? { "aria-expanded": !1 } : {}
@@ -25418,7 +25418,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25418
25418
  ignoreFocus: t.fakeFocus,
25419
25419
  domModification: { classes: [t.markers.item] }
25420
25420
  })
25421
- })]), R3 = ae([
25421
+ })]), RT = ae([
25422
25422
  nt("value"),
25423
25423
  nt("items"),
25424
25424
  nt("dom"),
@@ -25490,7 +25490,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25490
25490
  });
25491
25491
  });
25492
25492
  }),
25493
- Qe(D3(), (d, g) => {
25493
+ Qe(DT(), (d, g) => {
25494
25494
  const p = g.event.item;
25495
25495
  Ho.highlight(d, p);
25496
25496
  }),
@@ -25504,7 +25504,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25504
25504
  domModification: { attributes: { role: "menu" } }
25505
25505
  }), P1 = Ol({
25506
25506
  name: "Menu",
25507
- configFields: R3(),
25507
+ configFields: RT(),
25508
25508
  partFields: GN(),
25509
25509
  factory: KN
25510
25510
  }), cR = (t) => yc(t, (s, a) => ({
@@ -25701,7 +25701,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25701
25701
  Qe(U_, (Dt, en) => {
25702
25702
  t.onDehighlightItem(Dt, en.event.menuComp, en.event.itemComp);
25703
25703
  }),
25704
- ...t.navigateOnHover ? [Qe(D3(), (Dt, en) => {
25704
+ ...t.navigateOnHover ? [Qe(DT(), (Dt, en) => {
25705
25705
  const On = en.event.item;
25706
25706
  dt(Dt, On), ve(Dt, On, Me.HighlightParent), t.onHover(Dt, On);
25707
25707
  })] : []
@@ -26047,7 +26047,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26047
26047
  ...g
26048
26048
  };
26049
26049
  }, Jo = (t) => {
26050
- const s = QT(t) && Ar(t, "uid") ? t.uid : np("memento");
26050
+ const s = Q3(t) && Ar(t, "uid") ? t.uid : np("memento");
26051
26051
  return {
26052
26052
  get: (g) => g.getSystem().getByUid(s).getOrDie(),
26053
26053
  getOpt: (g) => g.getSystem().getByUid(s).toOptional(),
@@ -26056,15 +26056,15 @@ Components: ` + JSON.stringify(s.components, null, 2));
26056
26056
  uid: s
26057
26057
  })
26058
26058
  };
26059
- }, { entries: $3, setPrototypeOf: M3, isFrozen: sI, getPrototypeOf: rI, getOwnPropertyDescriptor: aI } = Object;
26060
- let { freeze: fu, seal: df, create: lI } = Object, { apply: W_, construct: P3 } = typeof Reflect < "u" && Reflect;
26059
+ }, { entries: $T, setPrototypeOf: MT, isFrozen: sI, getPrototypeOf: rI, getOwnPropertyDescriptor: aI } = Object;
26060
+ let { freeze: fu, seal: df, create: lI } = Object, { apply: W_, construct: PT } = typeof Reflect < "u" && Reflect;
26061
26061
  W_ || (W_ = function(s, a, c) {
26062
26062
  return s.apply(a, c);
26063
26063
  }), fu || (fu = function(s) {
26064
26064
  return s;
26065
26065
  }), df || (df = function(s) {
26066
26066
  return s;
26067
- }), P3 || (P3 = function(s, a) {
26067
+ }), PT || (PT = function(s, a) {
26068
26068
  return new s(...a);
26069
26069
  });
26070
26070
  const cI = am(Array.prototype.forEach), iI = am(Array.prototype.pop), xw = am(Array.prototype.push), Z_ = am(String.prototype.toLowerCase), kh = am(String.prototype.toString), uI = am(String.prototype.match), mf = am(String.prototype.replace), N1 = am(String.prototype.indexOf), hR = am(String.prototype.trim), yd = am(RegExp.prototype.test), rm = dI(TypeError);
@@ -26079,12 +26079,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
26079
26079
  return function() {
26080
26080
  for (var s = arguments.length, a = new Array(s), c = 0; c < s; c++)
26081
26081
  a[c] = arguments[c];
26082
- return P3(t, a);
26082
+ return PT(t, a);
26083
26083
  };
26084
26084
  }
26085
26085
  function Do(t, s, a) {
26086
26086
  var c;
26087
- a = (c = a) !== null && c !== void 0 ? c : Z_, M3 && M3(t, null);
26087
+ a = (c = a) !== null && c !== void 0 ? c : Z_, MT && MT(t, null);
26088
26088
  let d = s.length;
26089
26089
  for (; d--; ) {
26090
26090
  let g = s[d];
@@ -26098,7 +26098,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26098
26098
  }
26099
26099
  function I1(t) {
26100
26100
  const s = lI(null);
26101
- for (const [a, c] of $3(t))
26101
+ for (const [a, c] of $T(t))
26102
26102
  s[a] = c;
26103
26103
  return s;
26104
26104
  }
@@ -26118,7 +26118,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26118
26118
  }
26119
26119
  return a;
26120
26120
  }
26121
- const B3 = fu([
26121
+ const BT = fu([
26122
26122
  "a",
26123
26123
  "abbr",
26124
26124
  "acronym",
@@ -26236,7 +26236,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26236
26236
  "var",
26237
26237
  "video",
26238
26238
  "wbr"
26239
- ]), N3 = fu([
26239
+ ]), NT = fu([
26240
26240
  "svg",
26241
26241
  "a",
26242
26242
  "altglyph",
@@ -26329,7 +26329,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26329
26329
  "solidcolor",
26330
26330
  "unknown",
26331
26331
  "use"
26332
- ]), I3 = fu([
26332
+ ]), IT = fu([
26333
26333
  "math",
26334
26334
  "menclose",
26335
26335
  "merror",
@@ -26669,7 +26669,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26669
26669
  "y2",
26670
26670
  "z",
26671
26671
  "zoomandpan"
26672
- ]), L3 = fu([
26672
+ ]), LT = fu([
26673
26673
  "accent",
26674
26674
  "accentunder",
26675
26675
  "align",
@@ -26729,15 +26729,15 @@ Components: ` + JSON.stringify(s.components, null, 2));
26729
26729
  "xlink:title",
26730
26730
  "xml:space",
26731
26731
  "xmlns:xlink"
26732
- ]), gI = df(/\{\{[\w\W]*|[\w\W]*\}\}/gm), hI = df(/<%[\w\W]*|[\w\W]*%>/gm), pR = df(/\${[\w\W]*}/gm), pI = df(/^data-[\-\w.\u00B7-\uFFFF]/), F3 = df(/^aria-[\-\w]+$/), H3 = df(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), bI = df(/^(?:\w+script|data):/i), vI = df(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), bR = df(/^html$/i);
26732
+ ]), gI = df(/\{\{[\w\W]*|[\w\W]*\}\}/gm), hI = df(/<%[\w\W]*|[\w\W]*%>/gm), pR = df(/\${[\w\W]*}/gm), pI = df(/^data-[\-\w.\u00B7-\uFFFF]/), FT = df(/^aria-[\-\w]+$/), HT = df(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), bI = df(/^(?:\w+script|data):/i), vI = df(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), bR = df(/^html$/i);
26733
26733
  var q_ = Object.freeze({
26734
26734
  __proto__: null,
26735
26735
  MUSTACHE_EXPR: gI,
26736
26736
  ERB_EXPR: hI,
26737
26737
  TMPLIT_EXPR: pR,
26738
26738
  DATA_ATTR: pI,
26739
- ARIA_ATTR: F3,
26740
- IS_ALLOWED_URI: H3,
26739
+ ARIA_ATTR: FT,
26740
+ IS_ALLOWED_URI: HT,
26741
26741
  IS_SCRIPT_OR_DATA: bI,
26742
26742
  ATTR_WHITESPACE: vI,
26743
26743
  DOCTYPE_NAME: bR
@@ -26777,21 +26777,21 @@ Components: ` + JSON.stringify(s.components, null, 2));
26777
26777
  let Oe, dt = "";
26778
26778
  const { implementation: Je, createNodeIterator: Ge, createDocumentFragment: vt, getElementsByTagName: At } = d, { importNode: Wn } = a;
26779
26779
  let jt = {};
26780
- s.isSupported = typeof $3 == "function" && typeof ve == "function" && Je && Je.createHTMLDocument !== void 0;
26780
+ s.isSupported = typeof $T == "function" && typeof ve == "function" && Je && Je.createHTMLDocument !== void 0;
26781
26781
  const { MUSTACHE_EXPR: Dn, ERB_EXPR: Sn, TMPLIT_EXPR: Yo, DATA_ATTR: bn, ARIA_ATTR: Ro, IS_SCRIPT_OR_DATA: Dt, ATTR_WHITESPACE: en } = q_;
26782
26782
  let { IS_ALLOWED_URI: On } = q_, Pn = null;
26783
26783
  const yn = Do({}, [
26784
- ...B3,
26785
- ...N3,
26784
+ ...BT,
26785
+ ...NT,
26786
26786
  ..._w,
26787
- ...I3,
26787
+ ...IT,
26788
26788
  ...Sw
26789
26789
  ]);
26790
26790
  let Hn = null;
26791
26791
  const ks = Do({}, [
26792
26792
  ...j_,
26793
26793
  ...G_,
26794
- ...L3,
26794
+ ...LT,
26795
26795
  ...kw
26796
26796
  ]);
26797
26797
  let Mo = Object.seal(Object.create(null, {
@@ -26885,7 +26885,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26885
26885
  return Ue instanceof RegExp || Ue instanceof Function;
26886
26886
  }, Ej = function(Ue) {
26887
26887
  if (!(E4 && E4 === Ue)) {
26888
- if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = I1(Ue), Yx = Tq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Yx = Eq : Yx = Ue.PARSER_MEDIA_TYPE, Ui = Yx === "application/xhtml+xml" ? kh : Z_, Pn = "ALLOWED_TAGS" in Ue ? Do({}, Ue.ALLOWED_TAGS, Ui) : yn, Hn = "ALLOWED_ATTR" in Ue ? Do({}, Ue.ALLOWED_ATTR, Ui) : ks, Tj = "ALLOWED_NAMESPACES" in Ue ? Do({}, Ue.ALLOWED_NAMESPACES, kh) : kq, Sj = "ADD_URI_SAFE_ATTR" in Ue ? Do(I1(ZG), Ue.ADD_URI_SAFE_ATTR, Ui) : ZG, UG = "ADD_DATA_URI_TAGS" in Ue ? Do(I1(WG), Ue.ADD_DATA_URI_TAGS, Ui) : WG, k4 = "FORBID_CONTENTS" in Ue ? Do({}, Ue.FORBID_CONTENTS, Ui) : zG, bl = "FORBID_TAGS" in Ue ? Do({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? Do({}, Ue.FORBID_ATTR, Ui) : {}, S4 = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Od = Ue.ALLOW_ARIA_ATTR !== !1, xm = Ue.ALLOW_DATA_ATTR !== !1, S0 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, mb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _f = Ue.SAFE_FOR_TEMPLATES || !1, Nh = Ue.WHOLE_DOCUMENT || !1, Oy = Ue.RETURN_DOM || !1, _4 = Ue.RETURN_DOM_FRAGMENT || !1, H7 = Ue.RETURN_TRUSTED_TYPE || !1, oO = Ue.FORCE_BODY || !1, HG = Ue.SANITIZE_DOM !== !1, VG = Ue.SANITIZE_NAMED_PROPS || !1, _j = Ue.KEEP_CONTENT !== !1, sO = Ue.IN_PLACE || !1, On = Ue.ALLOWED_URI_REGEXP || H3, T4 = Ue.NAMESPACE || fb, Mo = Ue.CUSTOM_ELEMENT_HANDLING || {}, Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Mo.tagNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Mo.attributeNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Mo.allowCustomizedBuiltInElements = Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _f && (xm = !1), _4 && (Oy = !0), S4 && (Pn = Do({}, [...Sw]), Hn = [], S4.html === !0 && (Do(Pn, B3), Do(Hn, j_)), S4.svg === !0 && (Do(Pn, N3), Do(Hn, G_), Do(Hn, kw)), S4.svgFilters === !0 && (Do(Pn, _w), Do(Hn, G_), Do(Hn, kw)), S4.mathMl === !0 && (Do(Pn, I3), Do(Hn, L3), Do(Hn, kw))), Ue.ADD_TAGS && (Pn === yn && (Pn = I1(Pn)), Do(Pn, Ue.ADD_TAGS, Ui)), Ue.ADD_ATTR && (Hn === ks && (Hn = I1(Hn)), Do(Hn, Ue.ADD_ATTR, Ui)), Ue.ADD_URI_SAFE_ATTR && Do(Sj, Ue.ADD_URI_SAFE_ATTR, Ui), Ue.FORBID_CONTENTS && (k4 === zG && (k4 = I1(k4)), Do(k4, Ue.FORBID_CONTENTS, Ui)), _j && (Pn["#text"] = !0), Nh && Do(Pn, [
26888
+ if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = I1(Ue), Yx = Tq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Yx = Eq : Yx = Ue.PARSER_MEDIA_TYPE, Ui = Yx === "application/xhtml+xml" ? kh : Z_, Pn = "ALLOWED_TAGS" in Ue ? Do({}, Ue.ALLOWED_TAGS, Ui) : yn, Hn = "ALLOWED_ATTR" in Ue ? Do({}, Ue.ALLOWED_ATTR, Ui) : ks, Tj = "ALLOWED_NAMESPACES" in Ue ? Do({}, Ue.ALLOWED_NAMESPACES, kh) : kq, Sj = "ADD_URI_SAFE_ATTR" in Ue ? Do(I1(ZG), Ue.ADD_URI_SAFE_ATTR, Ui) : ZG, UG = "ADD_DATA_URI_TAGS" in Ue ? Do(I1(WG), Ue.ADD_DATA_URI_TAGS, Ui) : WG, k4 = "FORBID_CONTENTS" in Ue ? Do({}, Ue.FORBID_CONTENTS, Ui) : zG, bl = "FORBID_TAGS" in Ue ? Do({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? Do({}, Ue.FORBID_ATTR, Ui) : {}, S4 = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Od = Ue.ALLOW_ARIA_ATTR !== !1, xm = Ue.ALLOW_DATA_ATTR !== !1, S0 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, mb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _f = Ue.SAFE_FOR_TEMPLATES || !1, Nh = Ue.WHOLE_DOCUMENT || !1, Oy = Ue.RETURN_DOM || !1, _4 = Ue.RETURN_DOM_FRAGMENT || !1, H7 = Ue.RETURN_TRUSTED_TYPE || !1, oO = Ue.FORCE_BODY || !1, HG = Ue.SANITIZE_DOM !== !1, VG = Ue.SANITIZE_NAMED_PROPS || !1, _j = Ue.KEEP_CONTENT !== !1, sO = Ue.IN_PLACE || !1, On = Ue.ALLOWED_URI_REGEXP || HT, T4 = Ue.NAMESPACE || fb, Mo = Ue.CUSTOM_ELEMENT_HANDLING || {}, Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Mo.tagNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Mo.attributeNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Mo.allowCustomizedBuiltInElements = Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _f && (xm = !1), _4 && (Oy = !0), S4 && (Pn = Do({}, [...Sw]), Hn = [], S4.html === !0 && (Do(Pn, BT), Do(Hn, j_)), S4.svg === !0 && (Do(Pn, NT), Do(Hn, G_), Do(Hn, kw)), S4.svgFilters === !0 && (Do(Pn, _w), Do(Hn, G_), Do(Hn, kw)), S4.mathMl === !0 && (Do(Pn, IT), Do(Hn, LT), Do(Hn, kw))), Ue.ADD_TAGS && (Pn === yn && (Pn = I1(Pn)), Do(Pn, Ue.ADD_TAGS, Ui)), Ue.ADD_ATTR && (Hn === ks && (Hn = I1(Hn)), Do(Hn, Ue.ADD_ATTR, Ui)), Ue.ADD_URI_SAFE_ATTR && Do(Sj, Ue.ADD_URI_SAFE_ATTR, Ui), Ue.FORBID_CONTENTS && (k4 === zG && (k4 = I1(k4)), Do(k4, Ue.FORBID_CONTENTS, Ui)), _j && (Pn["#text"] = !0), Nh && Do(Pn, [
26889
26889
  "html",
26890
26890
  "head",
26891
26891
  "body"
@@ -26916,9 +26916,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
26916
26916
  "font",
26917
26917
  "a",
26918
26918
  "script"
26919
- ]), U7 = Do({}, N3);
26919
+ ]), U7 = Do({}, NT);
26920
26920
  Do(U7, _w), Do(U7, mI);
26921
- const Aj = Do({}, I3);
26921
+ const Aj = Do({}, IT);
26922
26922
  Do(Aj, fI);
26923
26923
  const Oq = function(Ue) {
26924
26924
  let sn = ve(Ue);
@@ -27158,7 +27158,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27158
27158
  }, s;
27159
27159
  }
27160
27160
  var vR = Ew();
27161
- const V3 = (t) => vR().sanitize(t);
27161
+ const VT = (t) => vR().sanitize(t);
27162
27162
  var Hu = tinymce.util.Tools.resolve("tinymce.util.I18n");
27163
27163
  const wI = {
27164
27164
  indent: !0,
@@ -27171,24 +27171,24 @@ Components: ` + JSON.stringify(s.components, null, 2));
27171
27171
  "list-bull-circle": !0,
27172
27172
  "list-bull-default": !0,
27173
27173
  "list-bull-square": !0
27174
- }, yR = "temporary-placeholder", z3 = (t) => () => bt(t, yR).getOr("!not found!"), Aw = (t, s) => {
27174
+ }, yR = "temporary-placeholder", zT = (t) => () => bt(t, yR).getOr("!not found!"), Aw = (t, s) => {
27175
27175
  const a = t.toLowerCase();
27176
27176
  if (Hu.isRtl()) {
27177
27177
  const c = xr(a, "-rtl");
27178
27178
  return xo(s, c) ? c : a;
27179
27179
  } else
27180
27180
  return a;
27181
- }, U3 = (t, s) => bt(s, Aw(t, s)), W3 = (t, s) => {
27181
+ }, UT = (t, s) => bt(s, Aw(t, s)), WT = (t, s) => {
27182
27182
  const a = s();
27183
- return U3(t, a).getOrThunk(z3(a));
27184
- }, Z3 = (t, s, a) => {
27183
+ return UT(t, a).getOrThunk(zT(a));
27184
+ }, ZT = (t, s, a) => {
27185
27185
  const c = s();
27186
- return U3(t, c).or(a).getOrThunk(z3(c));
27186
+ return UT(t, c).or(a).getOrThunk(zT(c));
27187
27187
  }, xI = (t) => Hu.isRtl() ? xo(wI, t) : !1, K_ = () => Un("add-focusable", [Cs((t) => {
27188
27188
  Ub(t.element, "svg").each((s) => It(s, "focusable", "false"));
27189
27189
  })]), wR = (t, s, a, c) => {
27190
27190
  var d, g;
27191
- const p = xI(s) ? ["tox-icon--flip"] : [], w = bt(a, Aw(s, a)).or(c).getOrThunk(z3(a));
27191
+ const p = xI(s) ? ["tox-icon--flip"] : [], w = bt(a, Aw(s, a)).or(c).getOrThunk(zT(a));
27192
27192
  return {
27193
27193
  dom: {
27194
27194
  tag: t.tag,
@@ -27211,11 +27211,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
27211
27211
  warning: "warning",
27212
27212
  warn: "warning",
27213
27213
  info: "info"
27214
- }, j3 = ri({
27214
+ }, jT = ri({
27215
27215
  name: "Notification",
27216
27216
  factory: (t) => {
27217
27217
  const s = Jo({
27218
- dom: Sh(`<p>${V3(t.translationProvider(t.text))}</p>`),
27218
+ dom: Sh(`<p>${VT(t.translationProvider(t.text))}</p>`),
27219
27219
  behaviours: xt([Fn.config({})])
27220
27220
  }), a = (W) => ({
27221
27221
  dom: {
@@ -27348,7 +27348,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27348
27348
  }
27349
27349
  }
27350
27350
  });
27351
- var G3 = (t, s, a) => {
27351
+ var GT = (t, s, a) => {
27352
27352
  const c = s.backstage.shared, d = () => {
27353
27353
  const C = Xs(Ae.fromDom(t.getContentAreaContainer())), E = na(), $ = Ei(E.x, C.x, C.right), N = Ei(E.y, C.y, C.bottom), H = Math.max(C.right, E.right), W = Math.max(C.bottom, E.bottom);
27354
27354
  return D.some(Bs($, N, H - $, W - N));
@@ -27357,7 +27357,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27357
27357
  open: (C, E) => {
27358
27358
  const $ = () => {
27359
27359
  E(), dr.hide(H);
27360
- }, N = Tl(j3.sketch({
27360
+ }, N = Tl(jT.sketch({
27361
27361
  text: C.text,
27362
27362
  level: no([
27363
27363
  "success",
@@ -27410,13 +27410,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
27410
27410
  });
27411
27411
  },
27412
27412
  text: (de) => {
27413
- j3.updateText(N, de);
27413
+ jT.updateText(N, de);
27414
27414
  },
27415
27415
  settings: C,
27416
27416
  getEl: () => N.element.dom,
27417
27417
  progressBar: {
27418
27418
  value: (de) => {
27419
- j3.updateProgress(N, de);
27419
+ jT.updateProgress(N, de);
27420
27420
  }
27421
27421
  }
27422
27422
  };
@@ -27548,7 +27548,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27548
27548
  processor: "string[]",
27549
27549
  default: []
27550
27550
  });
27551
- }, SR = Ds("readonly"), Y_ = Ds("height"), Rw = Ds("width"), q3 = Ow(Ds("min_width")), Fv = Ow(Ds("min_height")), X_ = Ow(Ds("max_width")), K3 = Ow(Ds("max_height")), kR = Ow(Ds("style_formats")), TR = Ds("style_formats_merge"), ER = Ds("style_formats_autohide"), AR = Ds("content_langs"), Y3 = Ds("removed_menuitems"), Hv = Ds("toolbar_mode"), DR = Ds("toolbar_groups"), $w = Ds("toolbar_location"), F1 = Ds("fixed_toolbar_container"), _I = Ds("fixed_toolbar_container_target"), OR = Ds("toolbar_persist"), J_ = Ds("toolbar_sticky_offset"), X3 = Ds("menubar"), Q_ = Ds("toolbar"), RR = Ds("file_picker_callback"), J3 = Ds("file_picker_validator_handler"), $R = Ds("font_size_input_default_unit"), Q3 = Ds("file_picker_types"), eE = Ds("typeahead_urls"), eS = Ds("anchor_top"), MR = Ds("anchor_bottom"), tE = Ds("draggable_modal"), PR = Ds("statusbar"), Vv = Ds("elementpath"), nE = Ds("branding"), BR = Ds("resize"), tS = Ds("paste_as_text"), nS = Ds("sidebar_show"), NR = Ds("promotion"), oS = Ds("help_accessibility"), IR = Ds("default_font_stack"), oE = (t) => t.options.get("skin") === !1, zv = (t) => t.options.get("menubar") !== !1, sS = (t) => {
27551
+ }, SR = Ds("readonly"), Y_ = Ds("height"), Rw = Ds("width"), qT = Ow(Ds("min_width")), Fv = Ow(Ds("min_height")), X_ = Ow(Ds("max_width")), KT = Ow(Ds("max_height")), kR = Ow(Ds("style_formats")), TR = Ds("style_formats_merge"), ER = Ds("style_formats_autohide"), AR = Ds("content_langs"), YT = Ds("removed_menuitems"), Hv = Ds("toolbar_mode"), DR = Ds("toolbar_groups"), $w = Ds("toolbar_location"), F1 = Ds("fixed_toolbar_container"), _I = Ds("fixed_toolbar_container_target"), OR = Ds("toolbar_persist"), J_ = Ds("toolbar_sticky_offset"), XT = Ds("menubar"), Q_ = Ds("toolbar"), RR = Ds("file_picker_callback"), JT = Ds("file_picker_validator_handler"), $R = Ds("font_size_input_default_unit"), QT = Ds("file_picker_types"), eE = Ds("typeahead_urls"), eS = Ds("anchor_top"), MR = Ds("anchor_bottom"), tE = Ds("draggable_modal"), PR = Ds("statusbar"), Vv = Ds("elementpath"), nE = Ds("branding"), BR = Ds("resize"), tS = Ds("paste_as_text"), nS = Ds("sidebar_show"), NR = Ds("promotion"), oS = Ds("help_accessibility"), IR = Ds("default_font_stack"), oE = (t) => t.options.get("skin") === !1, zv = (t) => t.options.get("menubar") !== !1, sS = (t) => {
27552
27552
  const s = t.options.get("skin_url");
27553
27553
  if (oE(t))
27554
27554
  return s;
@@ -27598,16 +27598,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
27598
27598
  isSkinDisabled: oE,
27599
27599
  getHeightOption: Y_,
27600
27600
  getWidthOption: Rw,
27601
- getMinWidthOption: q3,
27601
+ getMinWidthOption: qT,
27602
27602
  getMinHeightOption: Fv,
27603
27603
  getMaxWidthOption: X_,
27604
- getMaxHeightOption: K3,
27604
+ getMaxHeightOption: KT,
27605
27605
  getUserStyleFormats: kR,
27606
27606
  shouldMergeStyleFormats: TR,
27607
27607
  shouldAutoHideStyleFormats: ER,
27608
27608
  getLineHeightFormats: LR,
27609
27609
  getContentLanguages: AR,
27610
- getRemovedMenuItems: Y3,
27610
+ getRemovedMenuItems: YT,
27611
27611
  isMenubarEnabled: zv,
27612
27612
  isMultipleToolbars: Mw,
27613
27613
  isToolbarEnabled: aS,
@@ -27625,14 +27625,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
27625
27625
  isToolbarLocationBottom: rE,
27626
27626
  getToolbarGroups: DR,
27627
27627
  getMenus: HR,
27628
- getMenubar: X3,
27628
+ getMenubar: XT,
27629
27629
  getToolbar: Q_,
27630
27630
  getFilePickerCallback: RR,
27631
- getFilePickerTypes: Q3,
27631
+ getFilePickerTypes: QT,
27632
27632
  useTypeaheadUrls: eE,
27633
27633
  getAnchorTop: eS,
27634
27634
  getAnchorBottom: MR,
27635
- getFilePickerValidatorHandler: J3,
27635
+ getFilePickerValidatorHandler: JT,
27636
27636
  getFontSizeInputDefaultUnit: $R,
27637
27637
  useStatusBar: PR,
27638
27638
  useElementPath: Vv,
@@ -28446,7 +28446,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
28446
28446
  }
28447
28447
  }
28448
28448
  }), CS = (t, s, a) => {
28449
- const c = "custom", d = "remove", g = t.ariaLabel, p = t.value, w = t.iconContent.map((E) => Z3(E, s.icons, a));
28449
+ const c = "custom", d = "remove", g = t.ariaLabel, p = t.value, w = t.iconContent.map((E) => ZT(E, s.icons, a));
28450
28450
  return {
28451
28451
  dom: (() => {
28452
28452
  const E = dE, $ = w.getOr(""), H = {
@@ -29918,7 +29918,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
29918
29918
  }
29919
29919
  ]);
29920
29920
  return { fireIfReady: (E, $) => bt(w, $).bind((N) => N(E)) };
29921
- }, CF = (t) => t.raw.which === f3[0] && !no([
29921
+ }, CF = (t) => t.raw.which === fT[0] && !no([
29922
29922
  "input",
29923
29923
  "textarea"
29924
29924
  ], Ra(t.target)) && !Yw(t.target, '[contenteditable="true"]'), _F = (t, s) => {
@@ -33884,7 +33884,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
33884
33884
  ])
33885
33885
  });
33886
33886
  }, xA = (t, s) => {
33887
- const a = W3(t.icon, s.icons);
33887
+ const a = WT(t.icon, s.icons);
33888
33888
  return gf.sketch({
33889
33889
  dom: {
33890
33890
  tag: "div",
@@ -34481,7 +34481,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
34481
34481
  const a = Sx(), c = bt(a, s).getOr([]), d = so(c, (g) => g !== t);
34482
34482
  a[s] = [t].concat(d).slice(0, OA), OV(a);
34483
34483
  }, $A = (t) => !!t, RV = (t) => Ko($h.makeMap(t, /[, ]/), $A), xk = (t) => D.from(RR(t)), q8 = (t) => {
34484
- const s = D.from(Q3(t)).filter($A).map(RV);
34484
+ const s = D.from(QT(t)).filter($A).map(RV);
34485
34485
  return xk(t).fold(Cn, (a) => s.fold(Nt, (c) => bs(c).length > 0 ? c : !1));
34486
34486
  }, K8 = (t, s) => {
34487
34487
  const a = q8(t);
@@ -34506,7 +34506,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
34506
34506
  targets: DV.find(t.getBody()),
34507
34507
  anchorTop: Ck(eS(t)),
34508
34508
  anchorBottom: Ck(MR(t))
34509
- }) : D.none(), MV = (t) => D.from(J3(t)), PV = (t) => ({
34509
+ }) : D.none(), MV = (t) => D.from(JT(t)), PV = (t) => ({
34510
34510
  getHistory: RA,
34511
34511
  addToHistory: kx,
34512
34512
  getLinkInformation: () => _k(t),
@@ -34604,7 +34604,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
34604
34604
  ...a
34605
34605
  ], (Ge) => Ge.destroy());
34606
34606
  });
34607
- }, Qa = JT, yf = h_, MA = ae([
34607
+ }, Qa = J3, yf = h_, MA = ae([
34608
34608
  Re("shell", !1),
34609
34609
  nt("makeItem"),
34610
34610
  Re("setupItem", he),
@@ -35431,7 +35431,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
35431
35431
  ], Tz = /* @__PURE__ */ Object.freeze({
35432
35432
  __proto__: null,
35433
35433
  init: () => {
35434
- const t = iT(), s = (a) => {
35434
+ const t = i3(), s = (a) => {
35435
35435
  t.set({ destroy: a });
35436
35436
  };
35437
35437
  return Qc({
@@ -36605,7 +36605,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
36605
36605
  items: "help"
36606
36606
  }
36607
36607
  }, fU = (t, s, a) => {
36608
- const c = Y3(a).split(/[ ,]/);
36608
+ const c = YT(a).split(/[ ,]/);
36609
36609
  return {
36610
36610
  text: t.title,
36611
36611
  getItems: () => Te(t.items, (d) => {
@@ -37628,7 +37628,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
37628
37628
  "tox-tbtn",
37629
37629
  "tox-split-button__chevron"
37630
37630
  ],
37631
- innerHtml: W3("chevron-down", s.providers.icons)
37631
+ innerHtml: WT("chevron-down", s.providers.icons)
37632
37632
  },
37633
37633
  buttonBehaviours: xt([
37634
37634
  la.splitButton(s.providers.isDisabled),
@@ -37843,10 +37843,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
37843
37843
  const c = s.filter((g) => t < g), d = a.filter((g) => t > g);
37844
37844
  return c.or(d).getOr(t);
37845
37845
  }, aW = (t) => {
37846
- const s = Y_(t), a = Fv(t), c = K3(t);
37846
+ const s = Y_(t), a = Fv(t), c = KT(t);
37847
37847
  return _D(s).map((d) => Xk(d, a, c));
37848
37848
  }, lW = (t) => aW(t).getOr(Y_(t)), DB = (t) => {
37849
- const s = Rw(t), a = q3(t), c = X_(t);
37849
+ const s = Rw(t), a = qT(t), c = X_(t);
37850
37850
  return _D(s).map((d) => Xk(d, a, c));
37851
37851
  }, cW = (t) => DB(t).getOr(Rw(t)), { ToolbarLocation: nb, ToolbarMode: OB } = SI, iW = 40, uW = (t, s, a, c, d) => {
37852
37852
  const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DB(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), Q = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed, xe = (bn) => Q ? bn.fold(ae(0), (Ro) => Ro.components().length > 1 ? Us(Ro.components()[1].element) : 0) : 0, ve = (bn) => {
@@ -39727,8 +39727,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
39727
39727
  t[t.None = 0] = "None", t[t.Both = 1] = "Both", t[t.Vertical = 2] = "Vertical";
39728
39728
  })(v0 || (v0 = {}));
39729
39729
  const FZ = (t, s, a, c, d) => {
39730
- const g = { height: Xk(c + s.top, Fv(t), K3(t)) };
39731
- return a === v0.Both && (g.width = Xk(d + s.left, q3(t), X_(t))), g;
39730
+ const g = { height: Xk(c + s.top, Fv(t), KT(t)) };
39731
+ return a === v0.Both && (g.width = Xk(d + s.left, qT(t), X_(t))), g;
39732
39732
  }, x7 = (t, s, a) => {
39733
39733
  const c = Ae.fromDom(t.getContainer()), d = FZ(t, s, a, Us(c), Wr(c));
39734
39734
  ds(d, (g, p) => {
@@ -40123,7 +40123,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
40123
40123
  const { buttons: bl, menuItems: zi, contextToolbars: Od, sidebars: xm, views: S0 } = t.ui.registry.getAll(), mb = sE(t), _f = {
40124
40124
  menuItems: zi,
40125
40125
  menus: HR(t),
40126
- menubar: X3(t),
40126
+ menubar: XT(t),
40127
40127
  toolbar: mb.getOrThunk(() => Q_(t)),
40128
40128
  allowToolbarGroups: Q === gu.floating,
40129
40129
  buttons: bl,
@@ -41156,7 +41156,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
41156
41156
  tag: "div",
41157
41157
  classes: ["tox-dialog__body-content"]
41158
41158
  },
41159
- components: [{ dom: Sh(`<p>${V3(s.translate(t))}</p>`) }]
41159
+ components: [{ dom: Sh(`<p>${VT(s.translate(t))}</p>`) }]
41160
41160
  }]
41161
41161
  }), C0 = (t) => Kr.parts.footer({
41162
41162
  dom: {
@@ -42071,7 +42071,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
42071
42071
  popup: c.backstage,
42072
42072
  dialog: a.backstage
42073
42073
  }
42074
- }), w = () => G3(t, { backstage: c.backstage }, c.getMothership());
42074
+ }), w = () => GT(t, { backstage: c.backstage }, c.getMothership());
42075
42075
  return {
42076
42076
  renderUI: g,
42077
42077
  getWindowManagerImpl: ae(p),
@@ -44581,7 +44581,7 @@ Required: ` + m.join(", "));
44581
44581
  }, xC = (i, m, h, v) => {
44582
44582
  const O = br(m, (L, j) => Kl(L, j, h, v.unmerge(j)), i);
44583
44583
  return wp(O, pe.from(m[0]));
44584
- }, eT = (i, m, h, v) => {
44584
+ }, e3 = (i, m, h, v) => {
44585
44585
  const O = ((te, me) => {
44586
44586
  const De = Yn.fromTable(te);
44587
44587
  return up(De, me, !0);
@@ -44626,22 +44626,22 @@ Required: ` + m.join(", "));
44626
44626
  }, Dc = (i) => (m, h) => Hf(m, h).filter((v) => !(i ? _C : Jb)(m, v)).map((v) => ({
44627
44627
  details: v,
44628
44628
  pixelDelta: f2(m, v)
44629
- })), tT = (i, m) => Gm(i, m).map((h) => ({
44629
+ })), t3 = (i, m) => Gm(i, m).map((h) => ({
44630
44630
  details: h,
44631
44631
  pixelDelta: -f2(i, h)
44632
- })), SC = (i) => (m, h) => dp(m, h).filter((v) => !(i ? _C : Jb)(m, v.cells)), Oc = Le.transform("th"), Cp = Le.transform("td"), Y0 = fl(gl, Hf, Ot, Ot, Le.modification), Jd = fl(gc, Hf, Ot, Ot, Le.modification), Pu = fl(El, Dc(!0), Sa, Ot, Le.modification), Ut = fl(Yl, Dc(!1), Sa, Ot, Le.modification), Ai = fl(d2, tT, Sa, G0, Le.modification), kC = fl(J4, Hf, Ot, G0, Le.modification), TC = fl(_a, Gm, Ot, Ot, Oc), g2 = fl(q0, Gm, Ot, Ot, Cp), EC = fl(u2, Gm, Ot, Ot, Oc), h2 = fl(wC, Gm, Ot, Ot, Cp), p2 = fl(Yb, Gm, Ot, Ot, Cp), nT = fl(c2, Gm, Ot, Ot, Oc), b2 = fl(i2, Gm, Ot, Ot, Cp), oT = fl(Q4, iO, m2, Ot, Le.merging), Xl = fl(xC, uO, m2, Ot, Le.merging), X0 = fl(eT, V0, m2, Ot, Le.modification), sT = fl(Xb, SC(!0), Ot, Ot, Le.modification), rT = fl(CC, SC(!1), Ot, Ot, Le.modification), v2 = fl(dO, dp, Ot, Ot, Le.modification), aT = fl(Ac, dp, Ot, Ot, Le.modification), AC = mO, DC = fd, J0 = xt, OC = (i, m) => i.dispatch("NewRow", { node: m }), y2 = (i, m) => i.dispatch("NewCell", { node: m }), dh = (i, m, h) => {
44632
+ })), SC = (i) => (m, h) => dp(m, h).filter((v) => !(i ? _C : Jb)(m, v.cells)), Oc = Le.transform("th"), Cp = Le.transform("td"), Y0 = fl(gl, Hf, Ot, Ot, Le.modification), Jd = fl(gc, Hf, Ot, Ot, Le.modification), Pu = fl(El, Dc(!0), Sa, Ot, Le.modification), Ut = fl(Yl, Dc(!1), Sa, Ot, Le.modification), Ai = fl(d2, t3, Sa, G0, Le.modification), kC = fl(J4, Hf, Ot, G0, Le.modification), TC = fl(_a, Gm, Ot, Ot, Oc), g2 = fl(q0, Gm, Ot, Ot, Cp), EC = fl(u2, Gm, Ot, Ot, Oc), h2 = fl(wC, Gm, Ot, Ot, Cp), p2 = fl(Yb, Gm, Ot, Ot, Cp), n3 = fl(c2, Gm, Ot, Ot, Oc), b2 = fl(i2, Gm, Ot, Ot, Cp), o3 = fl(Q4, iO, m2, Ot, Le.merging), Xl = fl(xC, uO, m2, Ot, Le.merging), X0 = fl(e3, V0, m2, Ot, Le.modification), s3 = fl(Xb, SC(!0), Ot, Ot, Le.modification), r3 = fl(CC, SC(!1), Ot, Ot, Le.modification), v2 = fl(dO, dp, Ot, Ot, Le.modification), a3 = fl(Ac, dp, Ot, Ot, Le.modification), AC = mO, DC = fd, J0 = xt, OC = (i, m) => i.dispatch("NewRow", { node: m }), y2 = (i, m) => i.dispatch("NewCell", { node: m }), dh = (i, m, h) => {
44633
44633
  i.dispatch("TableModified", {
44634
44634
  ...h,
44635
44635
  table: m
44636
44636
  });
44637
- }, lT = (i, m, h, v, S) => {
44637
+ }, l3 = (i, m, h, v, S) => {
44638
44638
  i.dispatch("TableSelectionChange", {
44639
44639
  cells: m,
44640
44640
  start: h,
44641
44641
  finish: v,
44642
44642
  otherCells: S
44643
44643
  });
44644
- }, cT = (i) => {
44644
+ }, c3 = (i) => {
44645
44645
  i.dispatch("TableSelectionClear");
44646
44646
  }, w2 = (i, m, h, v, S) => {
44647
44647
  i.dispatch("ObjectResizeStart", {
@@ -44650,7 +44650,7 @@ Required: ` + m.join(", "));
44650
44650
  height: v,
44651
44651
  origin: S
44652
44652
  });
44653
- }, iT = (i, m, h, v, S) => {
44653
+ }, i3 = (i, m, h, v, S) => {
44654
44654
  i.dispatch("ObjectResized", {
44655
44655
  target: m,
44656
44656
  width: h,
@@ -44707,7 +44707,7 @@ Required: ` + m.join(", "));
44707
44707
  effect: sm
44708
44708
  }));
44709
44709
  }) : pe.none();
44710
- }, at = De(kC, S, Ot, ro), Bt = De(Ai, O, Ot, ro), Pt = De(Y0, Ze, Ot, ro), et = De(Jd, Ze, Ot, ro), Lt = De(Pu, Ze, j, ro), Xe = De(Ut, Ze, j, ro), tn = De(oT, Ze, Ot, ro), En = De(Xl, Ze, Ot, ro), Gn = De(sT, Ze, Ot, ro), qs = De(rT, Ze, Ot, ro), Ta = De(v2, Ze, Ot, ro), kr = De(aT, Ze, Ot, ro), Mc = De(X0, Ze, Ot, x2), wh = De(nT, Ze, Ot, ro), xh = De(b2, Ze, Ot, ro), hw = De(TC, Ze, Ot, ro), $v = De(g2, Ze, Ot, ro), ms = De(EC, Ze, Ot, ro), ec = De(h2, Ze, Ot, ro), pl = De(p2, Ze, Ot, ro);
44710
+ }, at = De(kC, S, Ot, ro), Bt = De(Ai, O, Ot, ro), Pt = De(Y0, Ze, Ot, ro), et = De(Jd, Ze, Ot, ro), Lt = De(Pu, Ze, j, ro), Xe = De(Ut, Ze, j, ro), tn = De(o3, Ze, Ot, ro), En = De(Xl, Ze, Ot, ro), Gn = De(s3, Ze, Ot, ro), qs = De(r3, Ze, Ot, ro), Ta = De(v2, Ze, Ot, ro), kr = De(a3, Ze, Ot, ro), Mc = De(X0, Ze, Ot, x2), wh = De(n3, Ze, Ot, ro), xh = De(b2, Ze, Ot, ro), hw = De(TC, Ze, Ot, ro), $v = De(g2, Ze, Ot, ro), ms = De(EC, Ze, Ot, ro), ec = De(h2, Ze, Ot, ro), pl = De(p2, Ze, Ot, ro);
44711
44711
  return {
44712
44712
  deleteRow: at,
44713
44713
  deleteColumn: Bt,
@@ -44754,7 +44754,7 @@ Required: ` + m.join(", "));
44754
44754
  return C2(te, "colspan", h - m), te;
44755
44755
  }), L = Ae.fromTag("tr");
44756
44756
  return Rr(L, O), L;
44757
- }), uT = (i, m) => {
44757
+ }), u3 = (i, m) => {
44758
44758
  const h = Yn.fromTable(i);
44759
44759
  return Gm(h, m).map((S) => {
44760
44760
  const O = S[S.length - 1], L = S[0].column, j = O.column + O.colspan, te = ev(h, L, j), me = RC(h, L, j);
@@ -44763,7 +44763,7 @@ Required: ` + m.join(", "));
44763
44763
  ...me
44764
44764
  ];
44765
44765
  });
44766
- }, dT = (i, m, h) => {
44766
+ }, d3 = (i, m, h) => {
44767
44767
  const v = Yn.fromTable(i);
44768
44768
  return Hf(v, m).bind((O) => {
44769
44769
  const L = up(v, h, !1), te = Mr(L).rows.slice(O[0].row, O[O.length - 1].row + O[O.length - 1].rowspan), me = rs(te, (at) => {
@@ -44785,10 +44785,10 @@ Required: ` + m.join(", "));
44785
44785
  }, jf = {
44786
44786
  ..._p,
44787
44787
  from: (i) => Qi(i, "%") ? $C("%", _p.percent, i) : Qi(i, "px") ? $C("px", _p.pixels, i) : _p.invalid(i)
44788
- }, mT = (i, m) => _t(i, (h) => jf.from(h).fold(() => h, (S) => S / m * 100 + "%", (S) => S + "%")), Sp = (i, m, h) => {
44788
+ }, m3 = (i, m) => _t(i, (h) => jf.from(h).fold(() => h, (S) => S / m * 100 + "%", (S) => S + "%")), Sp = (i, m, h) => {
44789
44789
  const v = h / m;
44790
44790
  return _t(i, (S) => jf.from(S).fold(() => S, (L) => L * v + "px", (L) => L / 100 * h + "px"));
44791
- }, fT = (i, m) => {
44791
+ }, f3 = (i, m) => {
44792
44792
  const h = i.fold(() => he(""), (v) => {
44793
44793
  const S = v / m;
44794
44794
  return he(S + "px");
@@ -44797,10 +44797,10 @@ Required: ` + m.join(", "));
44797
44797
  return he(v + "%");
44798
44798
  });
44799
44799
  return Ht(m, h);
44800
- }, S2 = (i, m, h) => i.fold(() => m, (v) => Sp(m, h, v), (v) => mT(m, h)), MC = (i, m, h) => {
44801
- const v = jf.from(h), S = Wo(i, (O) => O === "0px") ? fT(v, i.length) : S2(v, i, m);
44800
+ }, S2 = (i, m, h) => i.fold(() => m, (v) => Sp(m, h, v), (v) => m3(m, h)), MC = (i, m, h) => {
44801
+ const v = jf.from(h), S = Wo(i, (O) => O === "0px") ? f3(v, i.length) : S2(v, i, m);
44802
44802
  return BC(S);
44803
- }, mh = (i, m) => i.length === 0 ? m : br(i, (h, v) => jf.from(v).fold(he(0), kt, kt) + h, 0), gT = (i, m) => {
44803
+ }, mh = (i, m) => i.length === 0 ? m : br(i, (h, v) => jf.from(v).fold(he(0), kt, kt) + h, 0), g3 = (i, m) => {
44804
44804
  const h = Math.floor(i);
44805
44805
  return {
44806
44806
  value: h + m,
@@ -44813,7 +44813,7 @@ Required: ` + m.join(", "));
44813
44813
  const O = jf.from(S).fold(() => ({
44814
44814
  value: S,
44815
44815
  remainder: 0
44816
- }), (L) => gT(L, "px"), (L) => ({
44816
+ }), (L) => g3(L, "px"), (L) => ({
44817
44817
  value: L + "%",
44818
44818
  remainder: 0
44819
44819
  }));
@@ -44836,7 +44836,7 @@ Required: ` + m.join(", "));
44836
44836
  const O = mh([i[S]], lr());
44837
44837
  Gs(v.element, "width", O + h);
44838
44838
  });
44839
- }, hT = (i, m, h, v) => {
44839
+ }, h3 = (i, m, h, v) => {
44840
44840
  Pe(h, (S) => {
44841
44841
  const O = i.slice(S.row, S.rowspan + S.row), L = mh(O, Sc());
44842
44842
  Gs(S.element, "height", L + v);
@@ -44850,7 +44850,7 @@ Required: ` + m.join(", "));
44850
44850
  Yn.hasColumns(v) ? k2(at, L, te) : NC(at, O, te), Gs(i, "width", j);
44851
44851
  }), h.each((j) => {
44852
44852
  const te = IC(j), me = Pm(i), De = Zl(v, i, qt), at = MC(De, me, j);
44853
- hT(at, S, O, te), Gs(i, "height", j);
44853
+ h3(at, S, O, te), Gs(i, "height", j);
44854
44854
  });
44855
44855
  }, Q0 = au, e1 = yb, tv = lu, t1 = (i) => {
44856
44856
  Fs(i, "width");
@@ -44873,19 +44873,19 @@ Required: ` + m.join(", "));
44873
44873
  },
44874
44874
  attributes: { border: "1" },
44875
44875
  colGroups: !1
44876
- }, nv = () => Ae.fromTag("th"), pT = () => Ae.fromTag("td"), bT = () => Ae.fromTag("col"), LC = (i, m, h, v) => {
44876
+ }, nv = () => Ae.fromTag("th"), p3 = () => Ae.fromTag("td"), b3 = () => Ae.fromTag("col"), LC = (i, m, h, v) => {
44877
44877
  const S = Ae.fromTag("tr");
44878
44878
  for (let O = 0; O < i; O++) {
44879
- const L = v < m || O < h ? nv() : pT();
44879
+ const L = v < m || O < h ? nv() : p3();
44880
44880
  O < h && Zs(L, "scope", "row"), v < m && Zs(L, "scope", "col"), os(L, Ae.fromTag("br")), os(S, L);
44881
44881
  }
44882
44882
  return S;
44883
- }, vT = (i) => {
44883
+ }, v3 = (i) => {
44884
44884
  const m = Ae.fromTag("colgroup");
44885
- return Ht(i, () => os(m, bT())), m;
44886
- }, T2 = (i, m, h, v) => Ht(i, (S) => LC(m, h, v, S)), yT = (i, m, h, v, S, O = Gf) => {
44885
+ return Ht(i, () => os(m, b3())), m;
44886
+ }, T2 = (i, m, h, v) => Ht(i, (S) => LC(m, h, v, S)), y3 = (i, m, h, v, S, O = Gf) => {
44887
44887
  const L = Ae.fromTag("table"), j = S !== "cells";
44888
- Ba(L, O.styles), yl(L, O.attributes), O.colGroups && os(L, vT(m));
44888
+ Ba(L, O.styles), yl(L, O.attributes), O.colGroups && os(L, v3(m));
44889
44889
  const te = Math.min(i, h);
44890
44890
  if (j && h > 0) {
44891
44891
  const Pt = Ae.fromTag("thead");
@@ -44897,36 +44897,36 @@ Required: ` + m.join(", "));
44897
44897
  os(L, me);
44898
44898
  const De = j ? i - te : i, Bt = T2(De, m, j ? 0 : h, v);
44899
44899
  return Rr(me, Bt), L;
44900
- }, wT = (i) => i.dom.innerHTML, FC = (i) => {
44900
+ }, w3 = (i) => i.dom.innerHTML, FC = (i) => {
44901
44901
  const m = Ae.fromTag("div"), h = Ae.fromDom(i.dom.cloneNode(!0));
44902
- return os(m, h), wT(m);
44903
- }, xT = (i, m) => {
44902
+ return os(m, h), w3(m);
44903
+ }, x3 = (i, m) => {
44904
44904
  i.selection.select(m.dom, !0), i.selection.collapse(!0);
44905
44905
  }, HC = (i, m) => {
44906
- ja(m, "td,th").each(oo(xT, i));
44907
- }, CT = (i, m) => {
44906
+ ja(m, "td,th").each(oo(x3, i));
44907
+ }, C3 = (i, m) => {
44908
44908
  Pe(Ms(m, "tr"), (h) => {
44909
44909
  OC(i, h.dom), Pe(Ms(h, "th,td"), (v) => {
44910
44910
  y2(i, v.dom);
44911
44911
  });
44912
44912
  });
44913
- }, ov = (i) => Ce(i) && i.indexOf("%") !== -1, _T = (i, m, h, v, S) => {
44913
+ }, ov = (i) => Ce(i) && i.indexOf("%") !== -1, _3 = (i, m, h, v, S) => {
44914
44914
  const O = Py(i), L = {
44915
44915
  styles: O,
44916
44916
  attributes: cd(i),
44917
44917
  colGroups: R0(i)
44918
44918
  };
44919
44919
  return i.undoManager.ignore(() => {
44920
- const j = yT(h, m, S, v, Qg(i), L);
44920
+ const j = y3(h, m, S, v, Qg(i), L);
44921
44921
  Zs(j, "data-mce-id", "__mce");
44922
44922
  const te = FC(j);
44923
44923
  i.insertContent(te), i.addVisual();
44924
- }), ja(Cb(i), 'table[data-mce-id="__mce"]').map((j) => (Pf(i) ? Tp(j) : eh(i) ? n1(j) : (ld(i) || ov(O.width)) && uu(j), id(j), Fs(j, "data-mce-id"), CT(i, j), HC(i, j), j.dom)).getOrNull();
44924
+ }), ja(Cb(i), 'table[data-mce-id="__mce"]').map((j) => (Pf(i) ? Tp(j) : eh(i) ? n1(j) : (ld(i) || ov(O.width)) && uu(j), id(j), Fs(j, "data-mce-id"), C3(i, j), HC(i, j), j.dom)).getOrNull();
44925
44925
  }, VC = (i, m, h, v = {}) => {
44926
44926
  const S = (O) => eo(O) && O > 0;
44927
44927
  if (S(m) && S(h)) {
44928
44928
  const O = v.headerRows || 0, L = v.headerColumns || 0;
44929
- return _T(i, h, m, L, O);
44929
+ return _3(i, h, m, L, O);
44930
44930
  } else
44931
44931
  return console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table."), null;
44932
44932
  };
@@ -44938,13 +44938,13 @@ Required: ` + m.join(", "));
44938
44938
  var m;
44939
44939
  const h = (m = Ep.read()) !== null && m !== void 0 ? m : [];
44940
44940
  return qo(h, (v) => pe.from(v.getType(i)));
44941
- }, ST = (i) => {
44941
+ }, S3 = (i) => {
44942
44942
  O2(i).isSome() && Ep.clear();
44943
44943
  }, sv = (i) => {
44944
- i.fold(kT, (m) => zC({ [A2]: m }));
44945
- }, rv = () => O2(A2), kT = () => ST(A2), R2 = (i) => {
44946
- i.fold(TT, (m) => zC({ [D2]: m }));
44947
- }, UC = () => O2(D2), TT = () => ST(D2), $2 = (i) => ud(Si(i), Ud(i)).filter(Sb), ET = (i) => F0(Si(i), Ud(i)).filter(Sb), Ap = (i, m) => {
44944
+ i.fold(k3, (m) => zC({ [A2]: m }));
44945
+ }, rv = () => O2(A2), k3 = () => S3(A2), R2 = (i) => {
44946
+ i.fold(T3, (m) => zC({ [D2]: m }));
44947
+ }, UC = () => O2(D2), T3 = () => S3(D2), $2 = (i) => ud(Si(i), Ud(i)).filter(Sb), E3 = (i) => F0(Si(i), Ud(i)).filter(Sb), Ap = (i, m) => {
44948
44948
  const h = Ud(i), v = () => $2(i).each((Xe) => {
44949
44949
  rl(Xe, h).filter(ae(h)).each((tn) => {
44950
44950
  const En = Ae.fromText("");
@@ -44959,7 +44959,7 @@ Required: ` + m.join(", "));
44959
44959
  eh(i) || Pf(i) || ld(i) || rl(tn, h).each((Gn) => {
44960
44960
  Xe === "relative" && !Q0(Gn) ? uu(Gn) : Xe === "fixed" && !e1(Gn) ? Tp(Gn) : Xe === "responsive" && !tv(Gn) && n1(Gn), id(Gn), dh(i, Gn.dom, ro);
44961
44961
  });
44962
- }), O = (Xe) => rl(Xe, h), L = (Xe) => ET(i).bind((tn) => O(tn).map((En) => Xe(En, tn))), j = (Xe, tn) => {
44962
+ }), O = (Xe) => rl(Xe, h), L = (Xe) => E3(i).bind((tn) => O(tn).map((En) => Xe(En, tn))), j = (Xe, tn) => {
44963
44963
  L((En) => {
44964
44964
  i.formatter.toggle("tableclass", { value: tn }, En.dom), dh(i, En.dom, Xm);
44965
44965
  });
@@ -44986,10 +44986,10 @@ Required: ` + m.join(", "));
44986
44986
  Xe(En, qs, tn).each(De);
44987
44987
  }), Bt = () => L((Xe, tn) => {
44988
44988
  const En = tp(iu(i), Xe, tn), Gn = wa(Ot, Ae.fromDom(i.getDoc()), pe.none());
44989
- return dT(Xe, En, Gn);
44989
+ return d3(Xe, En, Gn);
44990
44990
  }), Pt = () => L((Xe, tn) => {
44991
44991
  const En = tp(iu(i), Xe, tn);
44992
- return uT(Xe, En);
44992
+ return u3(Xe, En);
44993
44993
  }), et = (Xe, tn) => tn().each((En) => {
44994
44994
  const Gn = _t(En, (qs) => Vl(qs));
44995
44995
  L((qs, Ta) => {
@@ -45054,7 +45054,7 @@ Required: ` + m.join(", "));
45054
45054
  });
45055
45055
  }), O(Gn[0]).each((Ta) => dh(i, Ta.dom, Xm)));
45056
45056
  });
45057
- }, AT = (i, m) => {
45057
+ }, A3 = (i, m) => {
45058
45058
  const h = Ud(i), v = (S) => F0(Si(i)).bind((O) => rl(O, h).map((L) => {
45059
45059
  const j = tp(iu(i), L, O);
45060
45060
  return S(L, j);
@@ -45073,12 +45073,12 @@ Required: ` + m.join(", "));
45073
45073
  ]
45074
45074
  },
45075
45075
  { after: ["element"] }
45076
- ]), DT = (i, m, h, v) => i.fold(m, h, v), OT = (i) => i.fold(kt, kt, kt), RT = M2.before, WC = M2.on, $T = M2.after, Ya = {
45077
- before: RT,
45076
+ ]), D3 = (i, m, h, v) => i.fold(m, h, v), O3 = (i) => i.fold(kt, kt, kt), R3 = M2.before, WC = M2.on, $3 = M2.after, Ya = {
45077
+ before: R3,
45078
45078
  on: WC,
45079
- after: $T,
45080
- cata: DT,
45081
- getStart: OT
45079
+ after: $3,
45080
+ cata: D3,
45081
+ getStart: O3
45082
45082
  }, Dp = { create: (i, m) => ({
45083
45083
  selection: i,
45084
45084
  kill: m
@@ -45110,16 +45110,16 @@ Required: ` + m.join(", "));
45110
45110
  }, o1 = (i, m, h, v, S) => {
45111
45111
  const O = i.document.createRange();
45112
45112
  return O.setStart(m.dom, h), O.setEnd(v.dom, S), O;
45113
- }, MT = (i) => ({
45113
+ }, M3 = (i) => ({
45114
45114
  left: i.left,
45115
45115
  top: i.top,
45116
45116
  right: i.right,
45117
45117
  bottom: i.bottom,
45118
45118
  width: i.width,
45119
45119
  height: i.height
45120
- }), PT = (i) => {
45120
+ }), P3 = (i) => {
45121
45121
  const m = i.getClientRects(), h = m.length > 0 ? m[0] : i.getBoundingClientRect();
45122
- return h.width > 0 || h.height > 0 ? pe.some(h).map(MT) : pe.none();
45122
+ return h.width > 0 || h.height > 0 ? pe.some(h).map(M3) : pe.none();
45123
45123
  }, s1 = oi.generate([
45124
45124
  {
45125
45125
  ltr: [
@@ -45181,7 +45181,7 @@ Required: ` + m.join(", "));
45181
45181
  }, r1 = YC.create, lv = (i, m, h, v, S, O, L) => ns(h, S) && v === O ? pe.none() : Ps(h, "td,th", m).bind((j) => Ps(S, "td,th", m).bind((te) => Rp(i, m, j, te, L))), Rp = (i, m, h, v, S) => ns(h, v) ? pe.none() : Ru(h, v, m).bind((O) => {
45182
45182
  const L = O.boxes.getOr([]);
45183
45183
  return L.length > 1 ? (S(i, L, O.start, O.finish), pe.some(Dp.create(pe.some(r1(h, 0, h, Fo(h))), !0))) : pe.none();
45184
- }), NT = (i, m, h, v, S) => {
45184
+ }), N3 = (i, m, h, v, S) => {
45185
45185
  const O = (L) => (S.clearBeforeUpdate(h), S.selectRange(h, L.boxes, L.start, L.finish), L.boxes);
45186
45186
  return Ab(v, i, m, S.firstSelectedSelector, S.lastSelectedSelector).map(O);
45187
45187
  }, qf = (i, m) => ({
@@ -45223,9 +45223,9 @@ Required: ` + m.join(", "));
45223
45223
  ]), iv = (i, m, h) => {
45224
45224
  const v = i.getRect(m), S = i.getRect(h);
45225
45225
  return S.right > v.left && S.left < v.right;
45226
- }, IT = (i) => Ps(i, "tr"), Lr = {
45226
+ }, I3 = (i) => Ps(i, "tr"), Lr = {
45227
45227
  ...Jf,
45228
- verify: (i, m, h, v, S, O, L) => Ps(v, "td,th", L).bind((j) => Ps(m, "td,th", L).map((te) => ns(j, te) ? ns(v, j) && Fo(j) === S ? O(te) : Jf.none("in same cell") : Cs(IT, [
45228
+ verify: (i, m, h, v, S, O, L) => Ps(v, "td,th", L).bind((j) => Ps(m, "td,th", L).map((te) => ns(j, te) ? ns(v, j) && Fo(j) === S ? O(te) : Jf.none("in same cell") : Cs(I3, [
45229
45229
  j,
45230
45230
  te
45231
45231
  ]).fold(() => iv(i, te, j) ? Jf.success() : O(te), (me) => O(te)))).getOr(Jf.none("default")),
@@ -45256,7 +45256,7 @@ Required: ` + m.join(", "));
45256
45256
  top: i.top + h,
45257
45257
  right: i.right + m,
45258
45258
  bottom: i.bottom + h
45259
- }), LT = (i) => i.top, FT = (i) => i.bottom, eg = (i, m, h) => h >= 0 && h < Fo(m) ? i.getRangedRect(m, h, m, h + 1) : h > 0 ? i.getRangedRect(m, h - 1, m, h) : pe.none(), Ip = (i) => ({
45259
+ }), L3 = (i) => i.top, F3 = (i) => i.bottom, eg = (i, m, h) => h >= 0 && h < Fo(m) ? i.getRangedRect(m, h, m, h + 1) : h > 0 ? i.getRangedRect(m, h - 1, m, h) : pe.none(), Ip = (i) => ({
45260
45260
  left: i.left,
45261
45261
  top: i.top,
45262
45262
  right: i.right,
@@ -45268,7 +45268,7 @@ Required: ` + m.join(", "));
45268
45268
  const O = Np(S, Xa);
45269
45269
  return Math.abs(h.bottom - v.bottom) < 1 || h.top > S.bottom ? Bu.retry(O) : h.top === S.bottom ? Bu.retry(Np(S, 1)) : Ql(i, m, S) ? Bu.retry(hd(O, Xa, 0)) : Bu.none();
45270
45270
  }, Nu = {
45271
- point: LT,
45271
+ point: L3,
45272
45272
  adjuster: (i, m, h, v, S) => {
45273
45273
  const O = gh(S, Xa);
45274
45274
  return Math.abs(h.top - v.top) < 1 || h.bottom < S.top ? Bu.retry(O) : h.bottom === S.top ? Bu.retry(gh(S, 1)) : Ql(i, m, S) ? Bu.retry(hd(O, Xa, 0)) : Bu.none();
@@ -45276,13 +45276,13 @@ Required: ` + m.join(", "));
45276
45276
  move: gh,
45277
45277
  gather: V2
45278
45278
  }, mv = {
45279
- point: FT,
45279
+ point: F3,
45280
45280
  adjuster: Rc,
45281
45281
  move: Np,
45282
45282
  gather: Mp
45283
- }, Di = (i, m, h) => i.elementFromPoint(m, h).filter((v) => ts(v) === "table").isSome(), hh = (i, m, h, v, S) => j2(i, m, h, m.move(v, Xa), S), j2 = (i, m, h, v, S) => S === 0 ? pe.some(v) : Di(i, v.left, m.point(v)) ? hh(i, m, h, v, S - 1) : i.situsFromPoint(v.left, m.point(v)).bind((O) => O.start.fold(pe.none, (L) => Z2(i, L).bind((j) => m.adjuster(i, L, j, h, v).fold(pe.none, (te) => j2(i, m, h, te, S - 1))).orThunk(() => pe.some(v)), pe.none)), HT = (i, m, h) => i.point(m) > h.getInnerHeight() ? pe.some(i.point(m) - h.getInnerHeight()) : i.point(m) < 0 ? pe.some(-i.point(m)) : pe.none(), n_ = (i, m, h) => {
45283
+ }, Di = (i, m, h) => i.elementFromPoint(m, h).filter((v) => ts(v) === "table").isSome(), hh = (i, m, h, v, S) => j2(i, m, h, m.move(v, Xa), S), j2 = (i, m, h, v, S) => S === 0 ? pe.some(v) : Di(i, v.left, m.point(v)) ? hh(i, m, h, v, S - 1) : i.situsFromPoint(v.left, m.point(v)).bind((O) => O.start.fold(pe.none, (L) => Z2(i, L).bind((j) => m.adjuster(i, L, j, h, v).fold(pe.none, (te) => j2(i, m, h, te, S - 1))).orThunk(() => pe.some(v)), pe.none)), H3 = (i, m, h) => i.point(m) > h.getInnerHeight() ? pe.some(i.point(m) - h.getInnerHeight()) : i.point(m) < 0 ? pe.some(-i.point(m)) : pe.none(), n_ = (i, m, h) => {
45284
45284
  const v = i.move(h, Xa), S = j2(m, i, h, v, ef).getOr(v);
45285
- return HT(i, S, m).fold(() => m.situsFromPoint(S.left, i.point(S)), (O) => (m.scrollBy(0, O), m.situsFromPoint(S.left, i.point(S) - O)));
45285
+ return H3(i, S, m).fold(() => m.situsFromPoint(S.left, i.point(S)), (O) => (m.scrollBy(0, O), m.situsFromPoint(S.left, i.point(S) - O)));
45286
45286
  }, d1 = {
45287
45287
  tryUp: oo(n_, Nu),
45288
45288
  tryDown: oo(n_, mv),
@@ -45290,13 +45290,13 @@ Required: ` + m.join(", "));
45290
45290
  }, o_ = 20, m1 = (i, m, h) => i.getSelection().bind((v) => Bp(m, v.finish, v.foffset, h).fold(() => pe.some(sp(v.finish, v.foffset)), (S) => {
45291
45291
  const O = i.fromSitus(S), L = Lr.verify(i, v.finish, v.foffset, O.finish, O.foffset, h.failure, m);
45292
45292
  return W2(L);
45293
- })), fv = (i, m, h, v, S, O) => O === 0 ? pe.none() : zT(i, m, h, v, S).bind((L) => {
45293
+ })), fv = (i, m, h, v, S, O) => O === 0 ? pe.none() : z3(i, m, h, v, S).bind((L) => {
45294
45294
  const j = i.fromSitus(L), te = Lr.verify(i, h, v, j.finish, j.foffset, S.failure, m);
45295
- return Lr.cata(te, () => pe.none(), () => pe.some(L), (me) => ns(h, me) && v === 0 ? VT(i, h, v, gh, S) : fv(i, m, me, 0, S, O - 1), (me) => ns(h, me) && v === Fo(me) ? VT(i, h, v, Np, S) : fv(i, m, me, Fo(me), S, O - 1));
45296
- }), VT = (i, m, h, v, S) => tm(i, m, h).bind((O) => s_(i, S, v(O, d1.getJumpSize()))), s_ = (i, m, h) => {
45295
+ return Lr.cata(te, () => pe.none(), () => pe.some(L), (me) => ns(h, me) && v === 0 ? V3(i, h, v, gh, S) : fv(i, m, me, 0, S, O - 1), (me) => ns(h, me) && v === Fo(me) ? V3(i, h, v, Np, S) : fv(i, m, me, Fo(me), S, O - 1));
45296
+ }), V3 = (i, m, h, v, S) => tm(i, m, h).bind((O) => s_(i, S, v(O, d1.getJumpSize()))), s_ = (i, m, h) => {
45297
45297
  const v = ed().browser;
45298
45298
  return v.isChromium() || v.isSafari() || v.isFirefox() ? m.retry(i, h) : pe.none();
45299
- }, zT = (i, m, h, v, S) => tm(i, h, v).bind((O) => s_(i, S, O)), vO = (i, m, h) => m1(i, m, h).bind((v) => fv(i, m, v.element, v.offset, h, o_).map(i.fromSitus)), r_ = (i, m) => QC(i, (h) => Wa(h).exists((v) => ns(v, m))), So = (i, m, h, v, S) => Ps(v, "td,th", m).bind((O) => Ps(O, "table", m).bind((L) => r_(S, L) ? vO(i, m, h).bind((j) => Ps(j.finish, "td,th", m).map((te) => ({
45299
+ }, z3 = (i, m, h, v, S) => tm(i, h, v).bind((O) => s_(i, S, O)), vO = (i, m, h) => m1(i, m, h).bind((v) => fv(i, m, v.element, v.offset, h, o_).map(i.fromSitus)), r_ = (i, m) => QC(i, (h) => Wa(h).exists((v) => ns(v, m))), So = (i, m, h, v, S) => Ps(v, "td,th", m).bind((O) => Ps(O, "table", m).bind((L) => r_(S, L) ? vO(i, m, h).bind((j) => Ps(j.finish, "td,th", m).map((te) => ({
45300
45300
  start: O,
45301
45301
  finish: te,
45302
45302
  range: j
@@ -45320,7 +45320,7 @@ Required: ` + m.join(", "));
45320
45320
  m = S;
45321
45321
  }
45322
45322
  };
45323
- }, UT = (i) => {
45323
+ }, U3 = (i) => {
45324
45324
  const m = f1(pe.none()), h = () => m.get().each(i);
45325
45325
  return {
45326
45326
  clear: () => {
@@ -45333,7 +45333,7 @@ Required: ` + m.join(", "));
45333
45333
  }
45334
45334
  };
45335
45335
  }, Fp = () => {
45336
- const i = UT(Ot);
45336
+ const i = U3(Ot);
45337
45337
  return {
45338
45338
  ...i,
45339
45339
  on: (h) => i.get().each(h)
@@ -45376,13 +45376,13 @@ Required: ` + m.join(", "));
45376
45376
  relative: Ya.before,
45377
45377
  retry: d1.tryUp,
45378
45378
  failure: Lr.failedUp
45379
- }, tg = (i) => (m) => m === i, pv = tg(38), bv = tg(40), bh = (i) => i >= 37 && i <= 40, WT = {
45379
+ }, tg = (i) => (m) => m === i, pv = tg(38), bv = tg(40), bh = (i) => i >= 37 && i <= 40, W3 = {
45380
45380
  isBackward: tg(37),
45381
45381
  isForward: tg(39)
45382
45382
  }, l_ = {
45383
45383
  isBackward: tg(39),
45384
45384
  isForward: tg(37)
45385
- }, ZT = (i) => {
45385
+ }, Z3 = (i) => {
45386
45386
  const m = i !== void 0 ? i.dom : document, h = m.body.scrollLeft || m.documentElement.scrollLeft, v = m.body.scrollTop || m.documentElement.scrollTop;
45387
45387
  return ce(h, v);
45388
45388
  }, Vp = (i, m, h) => {
@@ -45404,18 +45404,18 @@ Required: ` + m.join(", "));
45404
45404
  "foffset"
45405
45405
  ]
45406
45406
  }
45407
- ]), jT = (i) => tf.exact(i.start, i.soffset, i.finish, i.foffset), GT = (i) => i.match({
45407
+ ]), j3 = (i) => tf.exact(i.start, i.soffset, i.finish, i.foffset), G3 = (i) => i.match({
45408
45408
  domRange: (m) => Ae.fromDom(m.startContainer),
45409
45409
  relative: (m, h) => Ya.getStart(m),
45410
45410
  exact: (m, h, v, S) => m
45411
45411
  }), c_ = tf.domRange, q2 = tf.relative, K2 = tf.exact, Y2 = (i) => {
45412
- const m = GT(i);
45412
+ const m = G3(i);
45413
45413
  return Ts(m);
45414
45414
  }, vv = Op.create, ng = {
45415
45415
  domRange: c_,
45416
45416
  relative: q2,
45417
45417
  exact: K2,
45418
- exactFromRange: jT,
45418
+ exactFromRange: j3,
45419
45419
  getWin: Y2,
45420
45420
  range: vv
45421
45421
  }, i_ = (i, m, h) => {
@@ -45429,7 +45429,7 @@ Required: ` + m.join(", "));
45429
45429
  }, g1 = (i, m, h) => {
45430
45430
  var v, S;
45431
45431
  return pe.from((S = (v = i.dom).caretRangeFromPoint) === null || S === void 0 ? void 0 : S.call(v, m, h));
45432
- }, X2 = document.caretPositionFromPoint ? i_ : document.caretRangeFromPoint ? g1 : pe.none, qT = (i, m, h) => {
45432
+ }, X2 = document.caretPositionFromPoint ? i_ : document.caretRangeFromPoint ? g1 : pe.none, q3 = (i, m, h) => {
45433
45433
  const v = Ae.fromDom(i.document);
45434
45434
  return X2(v, m, h).map((S) => Op.create(Ae.fromDom(S.startContainer), S.startOffset, Ae.fromDom(S.endContainer), S.endOffset));
45435
45435
  }, h1 = (i, m) => {
@@ -45438,7 +45438,7 @@ Required: ` + m.join(", "));
45438
45438
  "br",
45439
45439
  "img"
45440
45440
  ], h) ? m === 0 ? Ya.before(i) : Ya.after(i) : Ya.on(i, m);
45441
- }, KT = (i, m) => {
45441
+ }, K3 = (i, m) => {
45442
45442
  const h = i.fold(Ya.before, h1, Ya.after), v = m.fold(Ya.before, h1, Ya.after);
45443
45443
  return ng.relative(h, v);
45444
45444
  }, Vt = (i, m, h, v) => {
@@ -45481,7 +45481,7 @@ Required: ` + m.join(", "));
45481
45481
  const O = Vt(m, h, v, S);
45482
45482
  bd(i, O);
45483
45483
  }, xv = (i, m, h) => {
45484
- const v = KT(m, h);
45484
+ const v = K3(m, h);
45485
45485
  bd(i, v);
45486
45486
  }, zp = (i) => {
45487
45487
  if (i.rangeCount > 0) {
@@ -45499,17 +45499,17 @@ Required: ` + m.join(", "));
45499
45499
  }, b1 = (i, m, h = !0) => {
45500
45500
  const S = (h ? ZC : av)(i, m);
45501
45501
  du(i, S);
45502
- }, J2 = (i) => qr(i).filter((m) => m.rangeCount > 0).bind(u_), Q2 = (i) => J2(i).map((m) => ng.exact(m.start, m.soffset, m.finish, m.foffset)), YT = (i, m) => {
45502
+ }, J2 = (i) => qr(i).filter((m) => m.rangeCount > 0).bind(u_), Q2 = (i) => J2(i).map((m) => ng.exact(m.start, m.soffset, m.finish, m.foffset)), Y3 = (i, m) => {
45503
45503
  const h = N2(i, m);
45504
- return PT(h);
45505
- }, vd = (i, m, h) => qT(i, m, h), Cv = (i) => {
45504
+ return P3(h);
45505
+ }, vd = (i, m, h) => q3(i, m, h), Cv = (i) => {
45506
45506
  qr(i).each((m) => m.removeAllRanges());
45507
45507
  }, Up = (i) => ({
45508
45508
  elementFromPoint: (Xe, tn) => Ae.fromPoint(Ae.fromDom(i.document), Xe, tn),
45509
45509
  getRect: (Xe) => Xe.dom.getBoundingClientRect(),
45510
45510
  getRangedRect: (Xe, tn, En, Gn) => {
45511
45511
  const qs = ng.exact(Xe, tn, En, Gn);
45512
- return YT(i, qs);
45512
+ return Y3(i, qs);
45513
45513
  },
45514
45514
  getSelection: () => Q2(i).map((Xe) => I2(i, Xe)),
45515
45515
  fromSitus: (Xe) => {
@@ -45542,7 +45542,7 @@ Required: ` + m.join(", "));
45542
45542
  b1(i, Xe);
45543
45543
  },
45544
45544
  getInnerHeight: () => i.innerHeight,
45545
- getScrollY: () => ZT(Ae.fromDom(i.document)).top,
45545
+ getScrollY: () => Z3(Ae.fromDom(i.document)).top,
45546
45546
  scrollBy: (Xe, tn) => {
45547
45547
  Vp(Xe, tn, Ae.fromDom(i.document));
45548
45548
  }
@@ -45563,7 +45563,7 @@ Required: ` + m.join(", "));
45563
45563
  keydown: (te, me, De, at, Bt, Pt) => {
45564
45564
  const et = te.raw, Lt = et.which, Xe = et.shiftKey === !0;
45565
45565
  return Wm(m, v.selectedSelector).fold(() => (bh(Lt) && !Xe && v.clearBeforeUpdate(m), bh(Lt) && Xe && !v1(me, at) ? pe.none : bv(Lt) && Xe ? oo(a_, S, m, h, hv, at, me, v.selectRange) : pv(Lt) && Xe ? oo(a_, S, m, h, Hp, at, me, v.selectRange) : bv(Lt) ? oo(pd, S, h, hv, at, me, G2) : pv(Lt) ? oo(pd, S, h, Hp, at, me, ph) : pe.none), (En) => {
45566
- const Gn = (qs) => () => qo(qs, (kr) => NT(kr.rows, kr.cols, m, En, v)).fold(() => nh(m, v.firstSelectedSelector, v.lastSelectedSelector).map((kr) => {
45566
+ const Gn = (qs) => () => qo(qs, (kr) => N3(kr.rows, kr.cols, m, En, v)).fold(() => nh(m, v.firstSelectedSelector, v.lastSelectedSelector).map((kr) => {
45567
45567
  const Mc = bv(Lt) || Pt.isForward(Lt) ? Ya.after : Ya.before;
45568
45568
  return S.setRelativeSelection(Ya.on(kr.first, 0), Mc(kr.table)), v.clear(m), Dp.create(pe.none(), !0);
45569
45569
  }), (kr) => pe.some(Dp.create(pe.none(), !0)));
@@ -45709,13 +45709,13 @@ Required: ` + m.join(", "));
45709
45709
  return i.dom.addEventListener(m, O, S), { unbind: oo(rw, i, m, O, S) };
45710
45710
  }, sw = (i, m, h, v) => vh(i, m, h, v, !1), rw = (i, m, h, v) => {
45711
45711
  i.dom.removeEventListener(m, h, v);
45712
- }, JT = Ze, Zp = (i, m, h) => sw(i, m, JT, h), jp = nw, aw = (i) => !$c(Ae.fromDom(i.target), "ephox-snooker-resizer-bar"), lw = (i, m) => {
45712
+ }, J3 = Ze, Zp = (i, m, h) => sw(i, m, J3, h), jp = nw, aw = (i) => !$c(Ae.fromDom(i.target), "ephox-snooker-resizer-bar"), lw = (i, m) => {
45713
45713
  const h = tw(() => Ae.fromDom(i.getBody()), () => F0(Si(i), Ud(i)), oh.selectedSelector), v = (te, me, De) => {
45714
45714
  rl(me).each((Bt) => {
45715
45715
  const Pt = Vm(i), et = wa(Ot, Ae.fromDom(i.getDoc()), Pt), Lt = iu(i), Xe = sf(Bt, { selection: Lt }, et);
45716
- lT(i, te, me, De, Xe);
45716
+ l3(i, te, me, De, Xe);
45717
45717
  });
45718
- }, S = () => cT(i), O = of.byAttr(oh, v, S);
45718
+ }, S = () => c3(i), O = of.byAttr(oh, v, S);
45719
45719
  return i.on("init", (te) => {
45720
45720
  const me = i.getWin(), De = Cb(i), at = Ud(i), Bt = () => {
45721
45721
  const ms = i.selection, ec = Ae.fromDom(ms.getStart()), pl = Ae.fromDom(ms.getEnd());
@@ -45741,7 +45741,7 @@ Required: ` + m.join(", "));
45741
45741
  }, Gn = (ms) => {
45742
45742
  const ec = jp(ms);
45743
45743
  m.hide();
45744
- const pl = i.selection.getRng(), Mi = Ae.fromDom(pl.startContainer), ai = Ae.fromDom(pl.endContainer), rg = Kh(WT, l_)(Ae.fromDom(i.selection.getStart()));
45744
+ const pl = i.selection.getRng(), Mi = Ae.fromDom(pl.startContainer), ai = Ae.fromDom(pl.endContainer), rg = Kh(W3, l_)(Ae.fromDom(i.selection.getStart()));
45745
45745
  et.keydown(ec, Mi, pl.startOffset, ai, pl.endOffset, rg).each((pc) => {
45746
45746
  tn(ec, pc);
45747
45747
  }), m.show();
@@ -45800,7 +45800,7 @@ Required: ` + m.join(", "));
45800
45800
  registry: m,
45801
45801
  trigger: h
45802
45802
  };
45803
- }, QT = (i, m) => {
45803
+ }, Q3 = (i, m) => {
45804
45804
  let h = null;
45805
45805
  const v = () => {
45806
45806
  lt(h) || (clearTimeout(h), h = null);
@@ -45813,7 +45813,7 @@ Required: ` + m.join(", "));
45813
45813
  }, m);
45814
45814
  }
45815
45815
  };
45816
- }, k1 = (i) => i.slice(0).sort(), e3 = (i, m) => {
45816
+ }, k1 = (i) => i.slice(0).sort(), eT = (i, m) => {
45817
45817
  throw new Error("All required keys (" + k1(i).join(", ") + ") were not specified. Specified keys were: " + k1(m).join(", ") + ".");
45818
45818
  }, ri = (i) => {
45819
45819
  throw new Error("Unsupported keys for object: " + k1(i).join(", "));
@@ -45831,15 +45831,15 @@ Required: ` + m.join(", "));
45831
45831
  z(m, (v, S) => S < m.length - 1 && v === m[S + 1]).each((v) => {
45832
45832
  throw new Error("The field: " + v + " occurs more than once in the combined fields: [" + m.join(", ") + "].");
45833
45833
  });
45834
- }, y_ = (i, m) => t3(i, m, {
45834
+ }, y_ = (i, m) => tT(i, m, {
45835
45835
  validate: lo,
45836
45836
  label: "function"
45837
- }), t3 = (i, m, h) => {
45837
+ }), tT = (i, m, h) => {
45838
45838
  if (m.length === 0)
45839
45839
  throw new Error("You must specify at least one required field.");
45840
45840
  return Ol("required", m), yO(m), (v) => {
45841
45841
  const S = zt(v);
45842
- Wo(m, (j) => go(S, j)) || e3(m, S), i(m, S);
45842
+ Wo(m, (j) => go(S, j)) || eT(m, S), i(m, S);
45843
45843
  const L = ho(m, (j) => !h.validate(v[j], j));
45844
45844
  return L.length > 0 && yh(L, h.label), v;
45845
45845
  };
@@ -45856,12 +45856,12 @@ Required: ` + m.join(", "));
45856
45856
  "start",
45857
45857
  "stop",
45858
45858
  "destroy"
45859
- ]), n3 = cw([
45859
+ ]), nT = cw([
45860
45860
  "forceDrop",
45861
45861
  "drop",
45862
45862
  "move",
45863
45863
  "delayDrop"
45864
- ]), o3 = () => {
45864
+ ]), oT = () => {
45865
45865
  let i = pe.none();
45866
45866
  const m = () => {
45867
45867
  i = pe.none();
@@ -45887,8 +45887,8 @@ Required: ` + m.join(", "));
45887
45887
  reset: Ot,
45888
45888
  events: i.registry
45889
45889
  };
45890
- }, s3 = () => {
45891
- const i = x_(), m = o3();
45890
+ }, sT = () => {
45891
+ const i = x_(), m = oT();
45892
45892
  let h = i;
45893
45893
  return {
45894
45894
  on: () => {
@@ -45908,9 +45908,9 @@ Required: ` + m.join(", "));
45908
45908
  const S = og({
45909
45909
  start: Lu([]),
45910
45910
  stop: Lu([])
45911
- }), O = s3(), L = () => {
45911
+ }), O = sT(), L = () => {
45912
45912
  et.stop(), O.isOn() && (O.off(), S.trigger.stop());
45913
- }, j = QT(L, 200), te = (Xe) => {
45913
+ }, j = Q3(L, 200), te = (Xe) => {
45914
45914
  et.start(Xe), O.on(), S.trigger.start();
45915
45915
  }, me = (Xe) => {
45916
45916
  j.cancel(), O.onEvent(Xe, m);
@@ -45924,7 +45924,7 @@ Required: ` + m.join(", "));
45924
45924
  v = !1;
45925
45925
  }, Bt = () => v, Pt = (Xe) => (...tn) => {
45926
45926
  v && Xe.apply(null, tn);
45927
- }, et = m.sink(n3({
45927
+ }, et = m.sink(nT({
45928
45928
  forceDrop: L,
45929
45929
  drop: Pt(L),
45930
45930
  move: Pt(me),
@@ -45962,7 +45962,7 @@ Required: ` + m.join(", "));
45962
45962
  }
45963
45963
  };
45964
45964
  };
45965
- var a3 = w_({
45965
+ var aT = w_({
45966
45966
  compare: (i, m) => ce(m.left - i.left, m.top - i.top),
45967
45967
  extract: (i) => pe.some(ce(i.x, i.y)),
45968
45968
  sink: (i, m) => {
@@ -45986,7 +45986,7 @@ Required: ` + m.join(", "));
45986
45986
  });
45987
45987
  const __ = (i, m = {}) => {
45988
45988
  var h;
45989
- const v = (h = m.mode) !== null && h !== void 0 ? h : a3;
45989
+ const v = (h = m.mode) !== null && h !== void 0 ? h : aT;
45990
45990
  return Wt(i, v, m);
45991
45991
  }, rf = sg("ephox-snooker").resolve, S_ = () => {
45992
45992
  const i = og({
@@ -46001,7 +46001,7 @@ Required: ` + m.join(", "));
46001
46001
  },
46002
46002
  events: i.registry
46003
46003
  };
46004
- }, l3 = () => {
46004
+ }, lT = () => {
46005
46005
  const i = og({
46006
46006
  drag: Lu([
46007
46007
  "xDelta",
@@ -46035,7 +46035,7 @@ Required: ` + m.join(", "));
46035
46035
  "data-column": i,
46036
46036
  role: "presentation"
46037
46037
  }), O;
46038
- }, c3 = (i, m, h, v, S) => {
46038
+ }, cT = (i, m, h, v, S) => {
46039
46039
  const O = Ae.fromTag("div");
46040
46040
  return Ba(O, {
46041
46041
  position: "absolute",
@@ -46047,7 +46047,7 @@ Required: ` + m.join(", "));
46047
46047
  "data-row": i,
46048
46048
  role: "presentation"
46049
46049
  }), O;
46050
- }, k_ = rf("resizer-bar"), uw = rf("resizer-rows"), T_ = rf("resizer-cols"), Ev = 7, i3 = (i, m) => rs(i.all, (h, v) => m(h.element) ? [v] : []), u3 = (i, m) => {
46050
+ }, k_ = rf("resizer-bar"), uw = rf("resizer-rows"), T_ = rf("resizer-cols"), Ev = 7, iT = (i, m) => rs(i.all, (h, v) => m(h.element) ? [v] : []), uT = (i, m) => {
46051
46051
  const h = [];
46052
46052
  return Ht(i.grid.columns, (v) => {
46053
46053
  Yn.getColumnAt(i, v).map((O) => O.element).forall(m) && h.push(v);
@@ -46071,20 +46071,20 @@ Required: ` + m.join(", "));
46071
46071
  const L = A1(O.col, O.x - S.left, h.top - S.top, Ev, v);
46072
46072
  return mu(L, T_), L;
46073
46073
  });
46074
- }, d3 = (i, m, h, v) => {
46074
+ }, dT = (i, m, h, v) => {
46075
46075
  dw(i, m, (S, O) => {
46076
- const L = c3(O.row, h.left - S.left, O.y - S.top, v, Ev);
46076
+ const L = cT(O.row, h.left - S.left, O.y - S.top, v, Ev);
46077
46077
  return mu(L, uw), L;
46078
46078
  });
46079
- }, m3 = (i, m, h, v, S) => {
46080
- const O = Jt(h), L = m.isResizable, j = v.length > 0 ? qt.positions(v, h) : [], te = j.length > 0 ? i3(i, L) : [], me = ho(j, (Pt, et) => ot(te, (Lt) => et === Lt));
46081
- d3(m, me, O, Ci(h));
46082
- const De = S.length > 0 ? Pr.positions(S, h) : [], at = De.length > 0 ? u3(i, L) : [], Bt = ho(De, (Pt, et) => ot(at, (Lt) => et === Lt));
46079
+ }, mT = (i, m, h, v, S) => {
46080
+ const O = Jt(h), L = m.isResizable, j = v.length > 0 ? qt.positions(v, h) : [], te = j.length > 0 ? iT(i, L) : [], me = ho(j, (Pt, et) => ot(te, (Lt) => et === Lt));
46081
+ dT(m, me, O, Ci(h));
46082
+ const De = S.length > 0 ? Pr.positions(S, h) : [], at = De.length > 0 ? uT(i, L) : [], Bt = ho(De, (Pt, et) => ot(at, (Lt) => et === Lt));
46083
46083
  E_(m, Bt, O, _(h));
46084
46084
  }, Av = (i, m) => {
46085
46085
  if (Gp(i), i.isResizable(m)) {
46086
46086
  const h = Yn.fromTable(m), v = Wg(h), S = od(h);
46087
- m3(h, i, m, v, S);
46087
+ mT(h, i, m, v, S);
46088
46088
  }
46089
46089
  }, nm = (i, m) => {
46090
46090
  const h = Ms(i.parent(), "." + k_);
@@ -46097,8 +46097,8 @@ Required: ` + m.join(", "));
46097
46097
  nm(i, (m) => {
46098
46098
  Gs(m, "display", "block");
46099
46099
  });
46100
- }, f3 = (i) => $c(i, uw), af = (i) => $c(i, T_), om = rf("resizer-bar-dragging"), Ov = (i) => {
46101
- const m = l3(), h = __(m, {});
46100
+ }, fT = (i) => $c(i, uw), af = (i) => $c(i, T_), om = rf("resizer-bar-dragging"), Ov = (i) => {
46101
+ const m = lT(), h = __(m, {});
46102
46102
  let v = pe.none();
46103
46103
  const S = (et, Lt) => pe.from(Ur(et, Lt));
46104
46104
  m.events.drag.bind((et) => {
@@ -46130,7 +46130,7 @@ Required: ` + m.join(", "));
46130
46130
  const L = (et, Lt) => {
46131
46131
  Pt.trigger.startAdjust(), m.assign(et), Zs(et, "data-initial-" + Lt, Zr(et, Lt)), mu(et, om), Gs(et, "opacity", "0.2"), h.go(i.parent());
46132
46132
  }, j = Zp(i.parent(), "mousedown", (et) => {
46133
- f3(et.target) && L(et.target, "top"), af(et.target) && L(et.target, "left");
46133
+ fT(et.target) && L(et.target, "top"), af(et.target) && L(et.target, "left");
46134
46134
  }), te = (et) => ns(et, i.view()), me = (et) => Ps(et, "table", te).filter(Bf), De = Zp(i.view(), "mouseover", (et) => {
46135
46135
  me(et.target).fold(() => {
46136
46136
  js(et.target) && Gp(i);
@@ -46221,7 +46221,7 @@ Required: ` + m.join(", "));
46221
46221
  origin: he(ce(0, 0)),
46222
46222
  isResizable: h
46223
46223
  })
46224
- }, g3 = () => {
46224
+ }, gT = () => {
46225
46225
  const i = Ae.fromTag("div");
46226
46226
  return Ba(i, {
46227
46227
  position: "static",
@@ -46231,9 +46231,9 @@ Required: ` + m.join(", "));
46231
46231
  margin: "0",
46232
46232
  border: "0"
46233
46233
  }), os(I(), i), i;
46234
- }, fw = (i, m) => i.inline ? mw.body(Ae.fromDom(i.getBody()), g3(), m) : mw.only(Ae.fromDom(i.getDoc()), m), h3 = (i, m) => {
46234
+ }, fw = (i, m) => i.inline ? mw.body(Ae.fromDom(i.getBody()), gT(), m) : mw.only(Ae.fromDom(i.getDoc()), m), hT = (i, m) => {
46235
46235
  i.inline && ar(m.parent());
46236
- }, ko = (i) => io(i) && i.nodeName === "TABLE", $i = "bar-", cf = (i) => Ur(i, "data-mce-resize") !== "false", p3 = (i) => {
46236
+ }, ko = (i) => io(i) && i.nodeName === "TABLE", $i = "bar-", cf = (i) => Ur(i, "data-mce-resize") !== "false", pT = (i) => {
46237
46237
  const m = Yn.fromTable(i);
46238
46238
  Yn.hasColumns(m) || Pe(sl(i), (h) => {
46239
46239
  const v = ha(h, "width");
@@ -46252,12 +46252,12 @@ Required: ` + m.join(", "));
46252
46252
  const En = parseFloat(O.replace("%", "")), Gn = Xe * En / S;
46253
46253
  Gs(et, "width", Gn + "%");
46254
46254
  }
46255
- M0(O) && p3(et);
46255
+ M0(O) && pT(et);
46256
46256
  }, De = () => {
46257
46257
  h.on((et) => {
46258
46258
  et.destroy();
46259
46259
  }), v.on((et) => {
46260
- h3(i, et);
46260
+ hT(i, et);
46261
46261
  });
46262
46262
  };
46263
46263
  return i.on("init", () => {
@@ -46273,7 +46273,7 @@ Required: ` + m.join(", "));
46273
46273
  const En = tn.table, Gn = En.dom;
46274
46274
  id(En), m.on((qs) => {
46275
46275
  i.selection.setRng(qs), i.focus();
46276
- }), iT(i, Gn, Nf(Gn), If(Gn), $i + tn.type), i.undoManager.add();
46276
+ }), i3(i, Gn, Nf(Gn), If(Gn), $i + tn.type), i.undoManager.add();
46277
46277
  }), h.set(Xe);
46278
46278
  }
46279
46279
  }), i.on("ObjectResizeStart", (et) => {
@@ -46314,13 +46314,13 @@ Required: ` + m.join(", "));
46314
46314
  }, $o = (i) => {
46315
46315
  Jh(i);
46316
46316
  const m = Kp(i), h = lw(i, m), v = Qb(i, m, h);
46317
- return Ap(i, v), AT(i, v), I4(i, v), {
46317
+ return Ap(i, v), A3(i, v), I4(i, v), {
46318
46318
  getSelectedCells: h.getSelectedCells,
46319
46319
  clearSelectedCells: h.clearSelectedCells
46320
46320
  };
46321
- }, b3 = (i) => ({ table: $o(i) });
46321
+ }, bT = (i) => ({ table: $o(i) });
46322
46322
  var gw = () => {
46323
- A.add("dom", b3);
46323
+ A.add("dom", bT);
46324
46324
  };
46325
46325
  gw();
46326
46326
  })();