jodit-pro-react 5.6.5 → 5.6.7

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.
@@ -193,7 +193,7 @@ var APP_VERSION, ES, IS_ES_MODERN, IS_ES_NEXT, IS_PROD, IS_TEST, FAT_MODE, HOMEP
193
193
  var init_constants = __esm({
194
194
  "node_modules/jodit/esm/core/constants.js"() {
195
195
  "use strict";
196
- APP_VERSION = "4.14.6";
196
+ APP_VERSION = "4.14.7";
197
197
  ES = "es2020";
198
198
  IS_ES_MODERN = true;
199
199
  IS_ES_NEXT = true;
@@ -8657,7 +8657,7 @@ var require_jodit_ai_adapter = __commonJS({
8657
8657
  var c70 = (e44, t46) => v22(e44, "name", { value: t46, configurable: true });
8658
8658
  p9("jodit-ai-adapter", ((e44) => {
8659
8659
  var t46;
8660
- const i55 = e44.url.replace(/\/+$/, ""), d55 = (t46 = e44.provider) !== null && t46 !== void 0 ? t46 : "openai", u56 = e44.stream !== false;
8660
+ const i55 = e44.url.replace(/\/+$/, ""), d55 = (t46 = e44.provider) !== null && t46 !== void 0 ? t46 : "openai", u57 = e44.stream !== false;
8661
8661
  return { apiMode: "incremental", maxRetries: 0, voiceInputEnabled: true, voiceInputUrl: `${i55.replace(/^http/, "ws")}/v1/ai/transcribe`, voiceInputApiKey: e44.apiKey, textAutocompleteEnabled: true, textAutocompleteApiRequest: c70((a79, s51, r71) => __async(null, null, function* () {
8662
8662
  var n55;
8663
8663
  const o57 = new Ajax({ url: `${i55}/ai/autocomplete?query=${encodeURIComponent(a79)}&key=${encodeURIComponent(e44.apiKey)}`, method: "POST", contentType: "application/json", data: { provider: d55, context: { maxSuggestions: s51 } } });
@@ -8665,8 +8665,8 @@ var require_jodit_ai_adapter = __commonJS({
8665
8665
  const p62 = yield (yield o57.send()).json();
8666
8666
  return p62.success && (!((n55 = p62.result) === null || n55 === void 0) && n55.suggestions) ? p62.result.suggestions : [];
8667
8667
  }), "textAutocompleteApiRequest"), apiRequest: c70((a79, s51) => __async(null, null, function* () {
8668
- const r71 = new Ajax({ url: `${i55}/ai/request?key=${encodeURIComponent(e44.apiKey)}`, method: "POST", contentType: "application/json", data: { provider: d55, context: u56 ? __spreadProps(__spreadValues({}, a79), { metadata: __spreadProps(__spreadValues({}, a79.metadata), { stream: true }) }) : a79 } });
8669
- if (s51 && s51.addEventListener("abort", () => r71.abort(), { once: true }), !u56) return { mode: "final", response: (yield (yield r71.send()).json()).result };
8668
+ const r71 = new Ajax({ url: `${i55}/ai/request?key=${encodeURIComponent(e44.apiKey)}`, method: "POST", contentType: "application/json", data: { provider: d55, context: u57 ? __spreadProps(__spreadValues({}, a79), { metadata: __spreadProps(__spreadValues({}, a79.metadata), { stream: true }) }) : a79 } });
8669
+ if (s51 && s51.addEventListener("abort", () => r71.abort(), { once: true }), !u57) return { mode: "final", response: (yield (yield r71.send()).json()).result };
8670
8670
  const n55 = r71.stream();
8671
8671
  return { mode: "stream", stream: (function() {
8672
8672
  return __asyncGenerator(this, null, function* () {
@@ -8783,14 +8783,14 @@ var require_acolorpicker = __commonJS({
8783
8783
  function c70(e45, t47) {
8784
8784
  if (!(e45 instanceof t47)) throw new TypeError("Cannot call a class as a function");
8785
8785
  }
8786
- function u56(e45) {
8786
+ function u57(e45) {
8787
8787
  if (Array.isArray(e45)) {
8788
8788
  for (var t47 = 0, r72 = Array(e45.length); t47 < e45.length; t47++) r72[t47] = e45[t47];
8789
8789
  return r72;
8790
8790
  }
8791
8791
  return Array.from(e45);
8792
8792
  }
8793
- var h62 = "undefined" != typeof window && window.navigator.userAgent.indexOf("Edge") > -1, p62 = "undefined" != typeof window && window.navigator.userAgent.indexOf("rv:") > -1, d55 = { id: null, attachTo: "body", showHSL: true, showRGB: true, showHEX: true, showAlpha: false, color: "#ff0000", palette: null, paletteEditable: false, useAlphaInPalette: "auto", slBarSize: [232, 150], hueBarSize: [150, 11], alphaBarSize: [150, 11] }, f49 = "COLOR", g25 = "RGBA_USER", b16 = "HSLA_USER";
8793
+ var h61 = "undefined" != typeof window && window.navigator.userAgent.indexOf("Edge") > -1, p62 = "undefined" != typeof window && window.navigator.userAgent.indexOf("rv:") > -1, d55 = { id: null, attachTo: "body", showHSL: true, showRGB: true, showHEX: true, showAlpha: false, color: "#ff0000", palette: null, paletteEditable: false, useAlphaInPalette: "auto", slBarSize: [232, 150], hueBarSize: [150, 11], alphaBarSize: [150, 11] }, f49 = "COLOR", g25 = "RGBA_USER", b16 = "HSLA_USER";
8794
8794
  function v22(e45, t47, r72) {
8795
8795
  return e45 ? e45 instanceof HTMLElement ? e45 : e45 instanceof NodeList ? e45[0] : "string" == typeof e45 ? document.querySelector(e45) : e45.jquery ? e45.get(0) : r72 ? t47 : null : t47;
8796
8796
  }
@@ -8802,8 +8802,8 @@ var require_acolorpicker = __commonJS({
8802
8802
  }, grabColor: function(e46, r73) {
8803
8803
  return t47.getImageData(e46, r73, 1, 1).data;
8804
8804
  }, findColor: function(e46, t48, s53) {
8805
- var a80 = (0, n55.rgbToHsv)(e46, t48, s53), l61 = o57(a80, 3), c71 = l61[1], u57 = l61[2];
8806
- return [c71 * r72, i56 - u57 * i56];
8805
+ var a80 = (0, n55.rgbToHsv)(e46, t48, s53), l61 = o57(a80, 3), c71 = l61[1], u58 = l61[2];
8806
+ return [c71 * r72, i56 - u58 * i56];
8807
8807
  } };
8808
8808
  }
8809
8809
  function A4(e45, t47, r72) {
@@ -8887,7 +8887,7 @@ var require_acolorpicker = __commonJS({
8887
8887
  e46.select();
8888
8888
  }), "text" === e46.type ? e46.addEventListener("change", function() {
8889
8889
  t47.onValueChanged(o58, e46.value);
8890
- }) : ((h62 || p62) && e46.addEventListener("keydown", function(s52) {
8890
+ }) : ((h61 || p62) && e46.addEventListener("keydown", function(s52) {
8891
8891
  "Up" === s52.key ? (e46.value = (0, n55.limit)(+e46.value + 1, r72, i56), t47.onValueChanged(o58, e46.value), s52.returnValue = false) : "Down" === s52.key && (e46.value = (0, n55.limit)(+e46.value - 1, r72, i56), t47.onValueChanged(o58, e46.value), s52.returnValue = false);
8892
8892
  }), e46.addEventListener("change", function() {
8893
8893
  var s52 = +e46.value;
@@ -8953,12 +8953,12 @@ var require_acolorpicker = __commonJS({
8953
8953
  break;
8954
8954
  case "L":
8955
8955
  this.L = t47;
8956
- var c71 = (0, n55.hslToRgb)(this.H, this.S, this.L), u57 = o57(c71, 3);
8957
- this.R = u57[0], this.G = u57[1], this.B = u57[2], this.updatePointerSL(this.H, this.S, this.L), this.updateInputHSL(this.H, this.S, this.L), this.updateInputRGB(this.R, this.G, this.B), this.updateInputRGBHEX(this.R, this.G, this.B);
8956
+ var c71 = (0, n55.hslToRgb)(this.H, this.S, this.L), u58 = o57(c71, 3);
8957
+ this.R = u58[0], this.G = u58[1], this.B = u58[2], this.updatePointerSL(this.H, this.S, this.L), this.updateInputHSL(this.H, this.S, this.L), this.updateInputRGB(this.R, this.G, this.B), this.updateInputRGBHEX(this.R, this.G, this.B);
8958
8958
  break;
8959
8959
  case "R":
8960
8960
  this.R = t47;
8961
- var h63 = (0, n55.rgbToHsl)(this.R, this.G, this.B), p63 = o57(h63, 3);
8961
+ var h62 = (0, n55.rgbToHsl)(this.R, this.G, this.B), p63 = o57(h62, 3);
8962
8962
  this.H = p63[0], this.S = p63[1], this.L = p63[2], this.slBarHelper.setHue(this.H), this.updatePointerH(this.H), this.updatePointerSL(this.H, this.S, this.L), this.updateInputHSL(this.H, this.S, this.L), this.updateInputRGBHEX(this.R, this.G, this.B);
8963
8963
  break;
8964
8964
  case "G":
@@ -9019,7 +9019,7 @@ var require_acolorpicker = __commonJS({
9019
9019
  var t47 = this.options.hueBarSize[0] * e46 / 360;
9020
9020
  this.huePointer.style.left = t47 - 7 + "px";
9021
9021
  } }, { key: "updatePointerSL", value: function(e46, t47, r72) {
9022
- var i56 = (0, n55.hslToRgb)(e46, t47, r72), s52 = o57(i56, 3), a80 = s52[0], l61 = s52[1], c71 = s52[2], u57 = this.slBarHelper.findColor(a80, l61, c71), h63 = o57(u57, 2), p63 = h63[0], d56 = h63[1];
9022
+ var i56 = (0, n55.hslToRgb)(e46, t47, r72), s52 = o57(i56, 3), a80 = s52[0], l61 = s52[1], c71 = s52[2], u58 = this.slBarHelper.findColor(a80, l61, c71), h62 = o57(u58, 2), p63 = h62[0], d56 = h62[1];
9023
9023
  p63 >= 0 && (this.slPointer.style.left = p63 - 7 + "px", this.slPointer.style.top = d56 - 7 + "px");
9024
9024
  } }, { key: "updatePointerA", value: function(e46) {
9025
9025
  if (this.options.showAlpha) {
@@ -9129,7 +9129,7 @@ var require_acolorpicker = __commonJS({
9129
9129
  }
9130
9130
  t46.createPicker = E4, t46.from = function(e45, t47) {
9131
9131
  var r72 = (function(e46) {
9132
- return e46 ? Array.isArray(e46) ? e46 : e46 instanceof HTMLElement ? [e46] : e46 instanceof NodeList ? [].concat(u56(e46)) : "string" == typeof e46 ? [].concat(u56(document.querySelectorAll(e46))) : e46.jquery ? e46.get() : [] : [];
9132
+ return e46 ? Array.isArray(e46) ? e46 : e46 instanceof HTMLElement ? [e46] : e46 instanceof NodeList ? [].concat(u57(e46)) : "string" == typeof e46 ? [].concat(u57(document.querySelectorAll(e46))) : e46.jquery ? e46.get() : [] : [];
9133
9133
  })(e45).map(function(e46, r73) {
9134
9134
  var i56 = E4(e46, t47);
9135
9135
  return i56.index = r73, i56;
@@ -9186,33 +9186,33 @@ var require_acolorpicker = __commonJS({
9186
9186
  var i56 = [a79(e45, 0, 255), a79(t47, 0, 255), a79(r72, 0, 255)];
9187
9187
  return "#" + ("000000" + ((e45 = i56[0]) << 16 | (t47 = i56[1]) << 8 | (r72 = i56[2])).toString(16)).slice(-6);
9188
9188
  }
9189
- function u56(e45, t47, r72) {
9189
+ function u57(e45, t47, r72) {
9190
9190
  var i56 = void 0, o58 = void 0, n56 = void 0, s52 = [a79(e45, 0, 360) / 360, a79(t47, 0, 100) / 100, a79(r72, 0, 100) / 100];
9191
9191
  if (e45 = s52[0], r72 = s52[2], 0 == (t47 = s52[1])) i56 = o58 = n56 = r72;
9192
9192
  else {
9193
9193
  var l61 = function(e46, t48, r73) {
9194
9194
  return r73 < 0 && (r73 += 1), r73 > 1 && (r73 -= 1), r73 < 1 / 6 ? e46 + 6 * (t48 - e46) * r73 : r73 < 0.5 ? t48 : r73 < 2 / 3 ? e46 + (t48 - e46) * (2 / 3 - r73) * 6 : e46;
9195
- }, c71 = r72 < 0.5 ? r72 * (1 + t47) : r72 + t47 - r72 * t47, u57 = 2 * r72 - c71;
9196
- i56 = l61(u57, c71, e45 + 1 / 3), o58 = l61(u57, c71, e45), n56 = l61(u57, c71, e45 - 1 / 3);
9195
+ }, c71 = r72 < 0.5 ? r72 * (1 + t47) : r72 + t47 - r72 * t47, u58 = 2 * r72 - c71;
9196
+ i56 = l61(u58, c71, e45 + 1 / 3), o58 = l61(u58, c71, e45), n56 = l61(u58, c71, e45 - 1 / 3);
9197
9197
  }
9198
9198
  return [255 * i56, 255 * o58, 255 * n56].map(Math.round);
9199
9199
  }
9200
- function h62(e45, t47, r72) {
9200
+ function h61(e45, t47, r72) {
9201
9201
  var i56 = [a79(e45, 0, 255) / 255, a79(t47, 0, 255) / 255, a79(r72, 0, 255) / 255];
9202
9202
  e45 = i56[0], t47 = i56[1], r72 = i56[2];
9203
9203
  var o58 = Math.max(e45, t47, r72), n56 = Math.min(e45, t47, r72), s52 = void 0, l61 = void 0, c71 = (o58 + n56) / 2;
9204
9204
  if (o58 == n56) s52 = l61 = 0;
9205
9205
  else {
9206
- var u57 = o58 - n56;
9207
- switch (l61 = c71 > 0.5 ? u57 / (2 - o58 - n56) : u57 / (o58 + n56), o58) {
9206
+ var u58 = o58 - n56;
9207
+ switch (l61 = c71 > 0.5 ? u58 / (2 - o58 - n56) : u58 / (o58 + n56), o58) {
9208
9208
  case e45:
9209
- s52 = (t47 - r72) / u57 + (t47 < r72 ? 6 : 0);
9209
+ s52 = (t47 - r72) / u58 + (t47 < r72 ? 6 : 0);
9210
9210
  break;
9211
9211
  case t47:
9212
- s52 = (r72 - e45) / u57 + 2;
9212
+ s52 = (r72 - e45) / u58 + 2;
9213
9213
  break;
9214
9214
  case r72:
9215
- s52 = (e45 - t47) / u57 + 4;
9215
+ s52 = (e45 - t47) / u58 + 4;
9216
9216
  }
9217
9217
  s52 /= 6;
9218
9218
  }
@@ -9223,16 +9223,16 @@ var require_acolorpicker = __commonJS({
9223
9223
  }
9224
9224
  function d55(e45) {
9225
9225
  if (e45) {
9226
- var t47 = s51[e45.toString().toLowerCase()], r72 = /^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F]))|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})))\s*$/i.exec(t47 || e45) || [], o58 = i55(r72, 10), n56 = o58[3], a80 = o58[4], l61 = o58[5], c71 = o58[7], u57 = o58[8], h63 = o58[9];
9226
+ var t47 = s51[e45.toString().toLowerCase()], r72 = /^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F]))|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})))\s*$/i.exec(t47 || e45) || [], o58 = i55(r72, 10), n56 = o58[3], a80 = o58[4], l61 = o58[5], c71 = o58[7], u58 = o58[8], h62 = o58[9];
9227
9227
  if (void 0 !== n56) return [parseInt(n56 + n56, 16), parseInt(a80 + a80, 16), parseInt(l61 + l61, 16)];
9228
- if (void 0 !== c71) return [parseInt(c71, 16), parseInt(u57, 16), parseInt(h63, 16)];
9228
+ if (void 0 !== c71) return [parseInt(c71, 16), parseInt(u58, 16), parseInt(h62, 16)];
9229
9229
  }
9230
9230
  }
9231
9231
  function f49(e45) {
9232
9232
  if (e45) {
9233
- var t47 = s51[e45.toString().toLowerCase()], r72 = /^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])?)|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?))\s*$/i.exec(t47 || e45) || [], o58 = i55(r72, 12), n56 = o58[3], a80 = o58[4], l61 = o58[5], c71 = o58[6], u57 = o58[8], h63 = o58[9], p63 = o58[10], d56 = o58[11];
9233
+ var t47 = s51[e45.toString().toLowerCase()], r72 = /^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])?)|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?))\s*$/i.exec(t47 || e45) || [], o58 = i55(r72, 12), n56 = o58[3], a80 = o58[4], l61 = o58[5], c71 = o58[6], u58 = o58[8], h62 = o58[9], p63 = o58[10], d56 = o58[11];
9234
9234
  if (void 0 !== n56) return [parseInt(n56 + n56, 16), parseInt(a80 + a80, 16), parseInt(l61 + l61, 16), c71 ? +(parseInt(c71 + c71, 16) / 255).toFixed(2) : 1];
9235
- if (void 0 !== u57) return [parseInt(u57, 16), parseInt(h63, 16), parseInt(p63, 16), d56 ? +(parseInt(d56, 16) / 255).toFixed(2) : 1];
9235
+ if (void 0 !== u58) return [parseInt(u58, 16), parseInt(h62, 16), parseInt(p63, 16), d56 ? +(parseInt(d56, 16) / 255).toFixed(2) : 1];
9236
9236
  }
9237
9237
  }
9238
9238
  function g25(e45) {
@@ -9243,8 +9243,8 @@ var require_acolorpicker = __commonJS({
9243
9243
  }
9244
9244
  function b16(e45) {
9245
9245
  if (e45) {
9246
- var t47 = /^rgba?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(e45) || [], r72 = i55(t47, 6), o58 = r72[0], n56 = r72[1], s52 = r72[2], c71 = r72[3], u57 = r72[5];
9247
- return o58 ? [a79(n56, 0, 255), a79(s52, 0, 255), a79(c71, 0, 255), a79(l60(u57, 1), 0, 1)] : void 0;
9246
+ var t47 = /^rgba?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(e45) || [], r72 = i55(t47, 6), o58 = r72[0], n56 = r72[1], s52 = r72[2], c71 = r72[3], u58 = r72[5];
9247
+ return o58 ? [a79(n56, 0, 255), a79(s52, 0, 255), a79(c71, 0, 255), a79(l60(u58, 1), 0, 1)] : void 0;
9248
9248
  }
9249
9249
  }
9250
9250
  function v22(e45) {
@@ -9260,8 +9260,8 @@ var require_acolorpicker = __commonJS({
9260
9260
  }
9261
9261
  function A4(e45) {
9262
9262
  if (e45) {
9263
- var t47 = /^hsla?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(e45) || [], r72 = i55(t47, 6), o58 = r72[0], n56 = r72[1], s52 = r72[2], c71 = r72[3], u57 = r72[5];
9264
- return o58 ? [a79(n56, 0, 255), a79(s52, 0, 255), a79(c71, 0, 255), a79(l60(u57, 1), 0, 1)] : void 0;
9263
+ var t47 = /^hsla?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(e45) || [], r72 = i55(t47, 6), o58 = r72[0], n56 = r72[1], s52 = r72[2], c71 = r72[3], u58 = r72[5];
9264
+ return o58 ? [a79(n56, 0, 255), a79(s52, 0, 255), a79(c71, 0, 255), a79(l60(u58, 1), 0, 1)] : void 0;
9265
9265
  }
9266
9266
  }
9267
9267
  function y9(e45) {
@@ -9283,16 +9283,16 @@ var require_acolorpicker = __commonJS({
9283
9283
  case "rgbacss":
9284
9284
  return "rgba(" + e45[0] + ", " + e45[1] + ", " + e45[2] + ", " + e45[3] + ")";
9285
9285
  case "hsl":
9286
- return h62.apply(void 0, n55(e45));
9286
+ return h61.apply(void 0, n55(e45));
9287
9287
  case "hslcss":
9288
- return "hsl(" + (e45 = h62.apply(void 0, n55(e45)))[0] + ", " + e45[1] + ", " + e45[2] + ")";
9288
+ return "hsl(" + (e45 = h61.apply(void 0, n55(e45)))[0] + ", " + e45[1] + ", " + e45[2] + ")";
9289
9289
  case "hslcss4":
9290
- var r72 = h62.apply(void 0, n55(e45));
9290
+ var r72 = h61.apply(void 0, n55(e45));
9291
9291
  return "hsl(" + r72[0] + ", " + r72[1] + ", " + r72[2] + ", " + e45[3] + ")";
9292
9292
  case "hsla":
9293
- return [].concat(n55(h62.apply(void 0, n55(e45))), [e45[3]]);
9293
+ return [].concat(n55(h61.apply(void 0, n55(e45))), [e45[3]]);
9294
9294
  case "hslacss":
9295
- var i56 = h62.apply(void 0, n55(e45));
9295
+ var i56 = h61.apply(void 0, n55(e45));
9296
9296
  return "hsla(" + i56[0] + ", " + i56[1] + ", " + i56[2] + ", " + e45[3] + ")";
9297
9297
  case "hex":
9298
9298
  return c70.apply(void 0, n55(e45));
@@ -9302,21 +9302,21 @@ var require_acolorpicker = __commonJS({
9302
9302
  return p62.apply(void 0, n55(e45));
9303
9303
  }
9304
9304
  }
9305
- t46.COLOR_NAMES = s51, t46.PALETTE_MATERIAL_500 = ["#F44336", "#E91E63", "#E91E63", "#9C27B0", "#9C27B0", "#673AB7", "#673AB7", "#3F51B5", "#3F51B5", "#2196F3", "#2196F3", "#03A9F4", "#03A9F4", "#00BCD4", "#00BCD4", "#009688", "#009688", "#4CAF50", "#4CAF50", "#8BC34A", "#8BC34A", "#CDDC39", "#CDDC39", "#FFEB3B", "#FFEB3B", "#FFC107", "#FFC107", "#FF9800", "#FF9800", "#FF5722", "#FF5722", "#795548", "#795548", "#9E9E9E", "#9E9E9E", "#607D8B", "#607D8B"], t46.PALETTE_MATERIAL_CHROME = ["#f44336", "#e91e63", "#9c27b0", "#673ab7", "#3f51b5", "#2196f3", "#03a9f4", "#00bcd4", "#009688", "#4caf50", "#8bc34a", "#cddc39", "#ffeb3b", "#ffc107", "#ff9800", "#ff5722", "#795548", "#9e9e9e", "#607d8b"], t46.rgbToHex = c70, t46.hslToRgb = u56, t46.rgbToHsl = h62, t46.rgbToHsv = function(e45, t47, r72) {
9305
+ t46.COLOR_NAMES = s51, t46.PALETTE_MATERIAL_500 = ["#F44336", "#E91E63", "#E91E63", "#9C27B0", "#9C27B0", "#673AB7", "#673AB7", "#3F51B5", "#3F51B5", "#2196F3", "#2196F3", "#03A9F4", "#03A9F4", "#00BCD4", "#00BCD4", "#009688", "#009688", "#4CAF50", "#4CAF50", "#8BC34A", "#8BC34A", "#CDDC39", "#CDDC39", "#FFEB3B", "#FFEB3B", "#FFC107", "#FFC107", "#FF9800", "#FF9800", "#FF5722", "#FF5722", "#795548", "#795548", "#9E9E9E", "#9E9E9E", "#607D8B", "#607D8B"], t46.PALETTE_MATERIAL_CHROME = ["#f44336", "#e91e63", "#9c27b0", "#673ab7", "#3f51b5", "#2196f3", "#03a9f4", "#00bcd4", "#009688", "#4caf50", "#8bc34a", "#cddc39", "#ffeb3b", "#ffc107", "#ff9800", "#ff5722", "#795548", "#9e9e9e", "#607d8b"], t46.rgbToHex = c70, t46.hslToRgb = u57, t46.rgbToHsl = h61, t46.rgbToHsv = function(e45, t47, r72) {
9306
9306
  var i56 = [a79(e45, 0, 255) / 255, a79(t47, 0, 255) / 255, a79(r72, 0, 255) / 255];
9307
9307
  e45 = i56[0], t47 = i56[1], r72 = i56[2];
9308
- var o58, n56 = Math.max(e45, t47, r72), s52 = Math.min(e45, t47, r72), l61 = void 0, c71 = n56, u57 = n56 - s52;
9309
- if (o58 = 0 === n56 ? 0 : u57 / n56, n56 == s52) l61 = 0;
9308
+ var o58, n56 = Math.max(e45, t47, r72), s52 = Math.min(e45, t47, r72), l61 = void 0, c71 = n56, u58 = n56 - s52;
9309
+ if (o58 = 0 === n56 ? 0 : u58 / n56, n56 == s52) l61 = 0;
9310
9310
  else {
9311
9311
  switch (n56) {
9312
9312
  case e45:
9313
- l61 = (t47 - r72) / u57 + (t47 < r72 ? 6 : 0);
9313
+ l61 = (t47 - r72) / u58 + (t47 < r72 ? 6 : 0);
9314
9314
  break;
9315
9315
  case t47:
9316
- l61 = (r72 - e45) / u57 + 2;
9316
+ l61 = (r72 - e45) / u58 + 2;
9317
9317
  break;
9318
9318
  case r72:
9319
- l61 = (e45 - t47) / u57 + 4;
9319
+ l61 = (e45 - t47) / u58 + 4;
9320
9320
  }
9321
9321
  l61 /= 6;
9322
9322
  }
@@ -9330,7 +9330,7 @@ var require_acolorpicker = __commonJS({
9330
9330
  }, t46.parseColorToHsla = y9, t46.parseColor = function(e45, t47) {
9331
9331
  if (t47 = t47 || "rgb", null != e45) {
9332
9332
  var r72 = void 0;
9333
- if ((r72 = v22(e45)) || (r72 = y9(e45)) && (r72 = [].concat(n55(u56.apply(void 0, n55(r72))), [r72[3]]))) return (0, o57.default)(t47) ? ["rgb", "rgbcss", "rgbcss4", "rgba", "rgbacss", "hsl", "hslcss", "hslcss4", "hsla", "hslacss", "hex", "hexcss4", "int"].reduce(function(e46, t48) {
9333
+ if ((r72 = v22(e45)) || (r72 = y9(e45)) && (r72 = [].concat(n55(u57.apply(void 0, n55(r72))), [r72[3]]))) return (0, o57.default)(t47) ? ["rgb", "rgbcss", "rgbcss4", "rgba", "rgbacss", "hsl", "hslcss", "hslcss4", "hsla", "hslacss", "hex", "hexcss4", "int"].reduce(function(e46, t48) {
9334
9334
  return e46[t48] = k5(r72, t48), e46;
9335
9335
  }, t47 || {}) : k5(r72, t47.toString().toLowerCase());
9336
9336
  }
@@ -13252,16 +13252,16 @@ var Dialog = Dialog_1 = class Dialog2 extends ViewWithToolbar {
13252
13252
  * @param w - The width of the window
13253
13253
  * @param h - The height of the window
13254
13254
  */
13255
- setSize(w9, h62) {
13255
+ setSize(w9, h61) {
13256
13256
  if (w9 == null) {
13257
13257
  w9 = this.dialog.offsetWidth;
13258
13258
  }
13259
- if (h62 == null) {
13260
- h62 = this.dialog.offsetHeight;
13259
+ if (h61 == null) {
13260
+ h61 = this.dialog.offsetHeight;
13261
13261
  }
13262
13262
  css(this.dialog, {
13263
13263
  width: w9,
13264
- height: h62
13264
+ height: h61
13265
13265
  });
13266
13266
  return this;
13267
13267
  }
@@ -13281,8 +13281,8 @@ var Dialog = Dialog_1 = class Dialog2 extends ViewWithToolbar {
13281
13281
  * @param y - Position px Vertical
13282
13282
  */
13283
13283
  setPosition(x11, y9) {
13284
- const w9 = this.ow.innerWidth, h62 = this.ow.innerHeight;
13285
- let left = w9 / 2 - this.dialog.offsetWidth / 2, top = h62 / 2 - this.dialog.offsetHeight / 2;
13284
+ const w9 = this.ow.innerWidth, h61 = this.ow.innerHeight;
13285
+ let left = w9 / 2 - this.dialog.offsetWidth / 2, top = h61 / 2 - this.dialog.offsetHeight / 2;
13286
13286
  if (left < 0) {
13287
13287
  left = 0;
13288
13288
  }
@@ -15051,18 +15051,18 @@ var ImageEditor = ImageEditor_1 = class ImageEditor2 extends ViewComponent {
15051
15051
  h: 0
15052
15052
  };
15053
15053
  this.calcCropBox = () => {
15054
- const node = this.crop_box.parentNode, w9 = node.offsetWidth * 0.8, h62 = node.offsetHeight * 0.8;
15054
+ const node = this.crop_box.parentNode, w9 = node.offsetWidth * 0.8, h61 = node.offsetHeight * 0.8;
15055
15055
  let wn, hn;
15056
15056
  const { naturalWidth: nw, naturalHeight: nh } = this;
15057
- if (w9 > nw && h62 > nh) {
15057
+ if (w9 > nw && h61 > nh) {
15058
15058
  wn = nw;
15059
15059
  hn = nh;
15060
- } else if (this.ratio > w9 / h62) {
15060
+ } else if (this.ratio > w9 / h61) {
15061
15061
  wn = w9;
15062
15062
  hn = nh * (w9 / nw);
15063
15063
  } else {
15064
- wn = nw * (h62 / nh);
15065
- hn = h62;
15064
+ wn = nw * (h61 / nh);
15065
+ hn = h61;
15066
15066
  }
15067
15067
  css(this.crop_box, {
15068
15068
  width: wn,
@@ -15076,18 +15076,18 @@ var ImageEditor = ImageEditor_1 = class ImageEditor2 extends ViewComponent {
15076
15076
  this.calcCropBox();
15077
15077
  const w9 = this.cropImage.offsetWidth || this.image.offsetWidth || this.image.naturalWidth;
15078
15078
  this.new_w = ImageEditor_1.calcValueByPercent(w9, this.o.cropDefaultWidth);
15079
- const h62 = this.cropImage.offsetHeight || this.image.offsetHeight || this.image.naturalHeight;
15079
+ const h61 = this.cropImage.offsetHeight || this.image.offsetHeight || this.image.naturalHeight;
15080
15080
  if (this.cropUseRatio) {
15081
15081
  this.new_h = this.new_w / this.ratio;
15082
15082
  } else {
15083
- this.new_h = ImageEditor_1.calcValueByPercent(h62, this.o.cropDefaultHeight);
15083
+ this.new_h = ImageEditor_1.calcValueByPercent(h61, this.o.cropDefaultHeight);
15084
15084
  }
15085
15085
  css(this.cropHandler, {
15086
15086
  backgroundImage: "url(" + attr(this.cropImage, "src") + ")",
15087
15087
  width: this.new_w,
15088
15088
  height: this.new_h,
15089
15089
  left: w9 / 2 - this.new_w / 2,
15090
- top: h62 / 2 - this.new_h / 2
15090
+ top: h61 / 2 - this.new_h / 2
15091
15091
  });
15092
15092
  this.j.e.fire(this.cropHandler, "updatesize");
15093
15093
  };
@@ -15436,7 +15436,7 @@ var context_menu_default = (self2) => {
15436
15436
  }
15437
15437
  } : false,
15438
15438
  {
15439
- icon: "upload",
15439
+ icon: "download",
15440
15440
  title: "Download",
15441
15441
  exec: () => {
15442
15442
  const url2 = ga("href");
@@ -25295,13 +25295,13 @@ var UIImagePropertiesForm = class UIImagePropertiesForm2 extends UIGroup {
25295
25295
  this.state.values.imageHeight = imageHeight.value;
25296
25296
  return;
25297
25297
  }
25298
- const w9 = parseFloat(imageWidth.value), h62 = parseFloat(imageHeight.value);
25298
+ const w9 = parseFloat(imageWidth.value), h61 = parseFloat(imageHeight.value);
25299
25299
  if (e44.target === imageWidth) {
25300
25300
  this.state.values.imageWidth = w9;
25301
25301
  this.state.values.imageHeight = Math.round(w9 / this.state.ratio);
25302
25302
  } else {
25303
- this.state.values.imageWidth = Math.round(h62 * this.state.ratio);
25304
- this.state.values.imageHeight = h62;
25303
+ this.state.values.imageWidth = Math.round(h61 * this.state.ratio);
25304
+ this.state.values.imageHeight = h61;
25305
25305
  }
25306
25306
  }
25307
25307
  onStateValuesImageSrcChange() {
@@ -25506,8 +25506,8 @@ function readSizes(image2, values, state) {
25506
25506
  state.sizeIsLocked = true;
25507
25507
  return;
25508
25508
  }
25509
- const h62 = parseFloat(imageHeight.toString());
25510
- state.sizeIsLocked = Math.abs(w9 - h62 * state.ratio) < 1;
25509
+ const h61 = parseFloat(imageHeight.toString());
25510
+ state.sizeIsLocked = Math.abs(w9 - h61 * state.ratio) < 1;
25511
25511
  });
25512
25512
  }
25513
25513
 
@@ -29233,9 +29233,9 @@ var resizer = class extends Plugin {
29233
29233
  }
29234
29234
  if (this.element && this.rect) {
29235
29235
  const workplacePosition = this.getWorkplacePosition();
29236
- const pos = offset(this.element, this.j, this.j.ed), left = parseInt(cssInline(this.rect, "left") || "0", 10), top = parseInt(cssInline(this.rect, "top") || "0", 10), w9 = this.rect.offsetWidth, h62 = this.rect.offsetHeight;
29236
+ const pos = offset(this.element, this.j, this.j.ed), left = parseInt(cssInline(this.rect, "left") || "0", 10), top = parseInt(cssInline(this.rect, "top") || "0", 10), w9 = this.rect.offsetWidth, h61 = this.rect.offsetHeight;
29237
29237
  const newTop = pos.top - workplacePosition.top, newLeft = pos.left - workplacePosition.left;
29238
- if (top !== newTop || left !== newLeft || w9 !== this.element.offsetWidth || h62 !== this.element.offsetHeight) {
29238
+ if (top !== newTop || left !== newLeft || w9 !== this.element.offsetWidth || h61 !== this.element.offsetHeight) {
29239
29239
  css(this.rect, {
29240
29240
  top: newTop,
29241
29241
  left: newLeft,
@@ -29504,16 +29504,16 @@ var resizer = class extends Plugin {
29504
29504
  });
29505
29505
  }
29506
29506
  }
29507
- showSizeViewer(w9, h62) {
29507
+ showSizeViewer(w9, h61) {
29508
29508
  if (!this.j.o.resizer.showSize) {
29509
29509
  return;
29510
29510
  }
29511
- if (w9 < this.sizeViewer.offsetWidth || h62 < this.sizeViewer.offsetHeight) {
29511
+ if (w9 < this.sizeViewer.offsetWidth || h61 < this.sizeViewer.offsetHeight) {
29512
29512
  this.hideSizeViewer();
29513
29513
  return;
29514
29514
  }
29515
29515
  css(this.sizeViewer, "opacity", "1");
29516
- this.sizeViewer.textContent = `${w9} x ${h62}`;
29516
+ this.sizeViewer.textContent = `${w9} x ${h61}`;
29517
29517
  this.j.async.setTimeout(this.hideSizeViewer, {
29518
29518
  timeout: this.j.o.resizer.hideSizeTimeout,
29519
29519
  label: "hideSizeViewer"
@@ -35189,8 +35189,8 @@ function b(t46, n55 = () => true, s51 = true, i55) {
35189
35189
  if (!t46.attributes["jd-safe"] && s51 && r71.replace(/[\n\t]/g, "").length === 0 && !t46.isSingle) return "";
35190
35190
  const c70 = Object.keys(e44).map((o57) => o57 === "style" || e44[o57] == null || /^jd-/.test(o57) ? "" : `${o57}="${p3(e44[o57])}"`).filter(Boolean), { str: g25 } = t46.style, f49 = p3(g25((o57) => a3(o57, i55)));
35191
35191
  if (f49 && c70.push(`style="${f49}"`), s51 && c70.length === 0 && ["span", "a"].includes(t46.name)) return r71;
35192
- const h62 = c70.length ? " " + c70.join(" ") : "";
35193
- return n55(t46) ? t46.isSingle ? `<${t46.name}${h62}/>` : `<${t46.name}${h62}>${r71}</${t46.name}>` : r71;
35192
+ const h61 = c70.length ? " " + c70.join(" ") : "";
35193
+ return n55(t46) ? t46.isSingle ? `<${t46.name}${h61}/>` : `<${t46.name}${h61}>${r71}</${t46.name}>` : r71;
35194
35194
  }
35195
35195
  default:
35196
35196
  if (!IS_PROD) throw Error("Need implementation for this type");
@@ -35248,9 +35248,9 @@ init_trim();
35248
35248
  var b3 = Object.defineProperty;
35249
35249
  var c4 = (i55, t46) => b3(i55, "name", { value: t46, configurable: true });
35250
35250
  var a5 = function(i55, t46, r71, n55) {
35251
- var e44 = arguments.length, o57 = e44 < 3 ? t46 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(t46, r71) : n55, u56;
35251
+ var e44 = arguments.length, o57 = e44 < 3 ? t46 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(t46, r71) : n55, u57;
35252
35252
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(i55, t46, r71, n55);
35253
- else for (var f49 = i55.length - 1; f49 >= 0; f49--) (u56 = i55[f49]) && (o57 = (e44 < 3 ? u56(o57) : e44 > 3 ? u56(t46, r71, o57) : u56(t46, r71)) || o57);
35253
+ else for (var f49 = i55.length - 1; f49 >= 0; f49--) (u57 = i55[f49]) && (o57 = (e44 < 3 ? u57(o57) : e44 > 3 ? u57(t46, r71, o57) : u57(t46, r71)) || o57);
35254
35254
  return e44 > 3 && o57 && Object.defineProperty(t46, r71, o57), o57;
35255
35255
  };
35256
35256
  var h = class h2 {
@@ -35283,10 +35283,10 @@ var h = class h2 {
35283
35283
  const r71 = Object.keys(this._data).filter((e44) => e44 && !/^mso-/.test(e44) && t46(e44) && this.get(e44) != null), n55 = c4((e44) => isString(e44) ? /^0[a-z]+$/i.test(e44) ? "0" : e44 : e44.toString(), "n");
35284
35284
  return ["padding", "margin"].forEach((e44) => {
35285
35285
  if (this._data[e44]) {
35286
- const o57 = r71.indexOf(e44), u56 = p(this._data[e44]);
35286
+ const o57 = r71.indexOf(e44), u57 = p(this._data[e44]);
35287
35287
  ["top", "right", "bottom", "left"].forEach((f49, g25) => {
35288
35288
  const p62 = `${e44}-${f49}`, d55 = this._data[p62];
35289
- d55 != null && (r71.indexOf(p62) < o57 || n55(u56[g25]) === n55(d55)) && r71.indexOf(p62) !== -1 && r71.splice(r71.indexOf(p62), 1);
35289
+ d55 != null && (r71.indexOf(p62) < o57 || n55(u57[g25]) === n55(d55)) && r71.indexOf(p62) !== -1 && r71.splice(r71.indexOf(p62), 1);
35290
35290
  });
35291
35291
  }
35292
35292
  }), r71.length ? r71.map((e44) => `${kebabCase(e44)}:${this.get(e44)}`).join(";") : "";
@@ -35496,7 +35496,7 @@ init_helpers();
35496
35496
  var m3 = Object.defineProperty;
35497
35497
  var d2 = (t46, e44) => m3(t46, "name", { value: e44, configurable: true });
35498
35498
  var j3 = d2((t46, e44) => {
35499
- var l60, h62;
35499
+ var l60, h61;
35500
35500
  if (e44.rtf && t46.name === "#comment" && t46.attributes.nodeValue && t46.attributes.nodeValue.indexOf("<v:shape") !== -1) {
35501
35501
  e44.shapes || (e44.shapes = {});
35502
35502
  const n55 = e44.jodit.create.fromHTML(t46.attributes.nodeValue);
@@ -35508,7 +35508,7 @@ var j3 = d2((t46, e44) => {
35508
35508
  if (e44.rtf && t46.attributes["v:shapes"]) {
35509
35509
  const n55 = (l60 = e44.shapes) === null || l60 === void 0 ? void 0 : l60[t46.attributes["v:shapes"]];
35510
35510
  if (n55) {
35511
- const s51 = (h62 = e44.imageMap) !== null && h62 !== void 0 ? h62 : {};
35511
+ const s51 = (h61 = e44.imageMap) !== null && h61 !== void 0 ? h61 : {};
35512
35512
  e44.imageMap || (e44.imageMap = s51, b5(e44.rtf, "i", "\\shppict", e44.imageMap), b5(e44.rtf, "s", "\\shp{", e44.imageMap));
35513
35513
  const p62 = s51[n55.substring(7)];
35514
35514
  if (p62) {
@@ -35525,14 +35525,14 @@ var j3 = d2((t46, e44) => {
35525
35525
  }
35526
35526
  return t46;
35527
35527
  }, "processImage");
35528
- function b5(t46, e44, l60, h62) {
35528
+ function b5(t46, e44, l60, h61) {
35529
35529
  const n55 = t46.split(l60);
35530
35530
  for (const s51 of n55) {
35531
35531
  const p62 = s51.split("shplid");
35532
35532
  if (1 < p62.length) {
35533
35533
  const a79 = p62[1];
35534
35534
  let o57 = "";
35535
- for (let u56 = 0; u56 < a79.length && !/[{ \r\n\\]/.test(a79[u56]); u56++) o57 += a79[u56];
35535
+ for (let u57 = 0; u57 < a79.length && !/[{ \r\n\\]/.test(a79[u57]); u57++) o57 += a79[u57];
35536
35536
  const i55 = a79.split("bliptag");
35537
35537
  if (i55 && i55.length < 2) continue;
35538
35538
  let r71 = null;
@@ -35545,7 +35545,7 @@ function b5(t46, e44, l60, h62) {
35545
35545
  if (g25 = f49[0].split(" "), g25 && g25.length < 2) continue;
35546
35546
  g25.shift();
35547
35547
  }
35548
- h62[e44 + o57] = { hex: g25.join(""), type: r71 };
35548
+ h61[e44 + o57] = { hex: g25.join(""), type: r71 };
35549
35549
  }
35550
35550
  }
35551
35551
  }
@@ -35626,7 +35626,7 @@ init_attr();
35626
35626
  init_selector();
35627
35627
  var $2 = Object.defineProperty;
35628
35628
  var a10 = (y9, n55) => $2(y9, "name", { value: n55, configurable: true });
35629
- function w(y9, n55, u56, p62 = "") {
35629
+ function w(y9, n55, u57, p62 = "") {
35630
35630
  var d55, f49;
35631
35631
  const s51 = document.createElement("iframe");
35632
35632
  s51.style.display = "none", document.body.appendChild(s51);
@@ -35644,7 +35644,7 @@ function w(y9, n55, u56, p62 = "") {
35644
35644
  }
35645
35645
  return $$(`[${i55}]`, t46.body).forEach((o57) => {
35646
35646
  attr(o57, "style", `${attr(o57, "style")};${attr(o57, i55)}`);
35647
- }), v3(y9, a6.make(t46.body), u56, p62);
35647
+ }), v3(y9, a6.make(t46.body), u57, p62);
35648
35648
  } finally {
35649
35649
  Dom.safeRemove(s51);
35650
35650
  }
@@ -35679,6 +35679,7 @@ __export(icons_exports, {
35679
35679
  check: () => check_svg_default,
35680
35680
  chevron: () => chevron_svg_default,
35681
35681
  dots: () => dots_svg_default,
35682
+ download: () => download_svg_default,
35682
35683
  eye: () => eye_svg_default,
35683
35684
  file: () => file_svg_default,
35684
35685
  folder: () => folder_svg_default,
@@ -35728,6 +35729,9 @@ var chevron_svg_default = `<svg xmlns='http://www.w3.org/2000/svg' viewBox="0 0
35728
35729
  // node_modules/jodit/esm/styles/icons/dots.svg.js
35729
35730
  var dots_svg_default = `<svg xmlns='http://www.w3.org/2000/svg' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg> `;
35730
35731
 
35732
+ // node_modules/jodit/esm/styles/icons/download.svg.js
35733
+ var download_svg_default = `<svg xmlns='http://www.w3.org/2000/svg' viewBox="0 0 1792 1792"> <path d="M1344 1344q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h465l135 136q58 56 136 56t136-56l136-136h464q40 0 68 28t28 68zm-325-569q17 41-14 70l-448 448q-18 19-45 19t-45-19l-448-448q-31-29-14-70 17-39 59-39h256v-448q0-26 19-45t45-19h256q26 0 45 19t19 45v448h256q42 0 59 39z"/> </svg> `;
35734
+
35731
35735
  // node_modules/jodit/esm/styles/icons/eye.svg.js
35732
35736
  var eye_svg_default = `<svg xmlns='http://www.w3.org/2000/svg' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg> `;
35733
35737
 
@@ -41653,10 +41657,10 @@ var a13 = class a14 extends Plugin {
41653
41657
  const o57 = "validateJoditLicenseRemote", n55 = this.j.storage.get(o57);
41654
41658
  if (n55 && g3(n55, i55)) return true;
41655
41659
  const e44 = document.createElement("script");
41656
- return e44.src = `https://xdsoft.net/jodit/pro/api/licenses/validate/?code=${encodeURIComponent(t46)}&host=${encodeURIComponent(i55)}`, this.j.async.promise((u56) => {
41660
+ return e44.src = `https://xdsoft.net/jodit/pro/api/licenses/validate/?code=${encodeURIComponent(t46)}&host=${encodeURIComponent(i55)}`, this.j.async.promise((u57) => {
41657
41661
  let l60 = false;
41658
41662
  const s51 = d3((r71) => {
41659
- l60 || (l60 = true, Dom.safeRemove(e44), u56(r71));
41663
+ l60 || (l60 = true, Dom.safeRemove(e44), u57(r71));
41660
41664
  }, "finish");
41661
41665
  window.onJoditResolveKeyCode = (r71) => {
41662
41666
  if (isBoolean(r71)) return s51(r71);
@@ -41684,10 +41688,10 @@ var U = Object.defineProperty;
41684
41688
  var v4 = (C15, e44) => U(C15, "name", { value: e44, configurable: true });
41685
41689
  var u5 = class u6 {
41686
41690
  static reconcile(e44, i55, d55) {
41687
- const { getId: o57, isEqual: t46 = v4((n55, s51) => o57(n55) === o57(s51), "isEqual"), preserveOrder: p62 = true } = d55, a79 = /* @__PURE__ */ new Map(), h62 = /* @__PURE__ */ new Map();
41691
+ const { getId: o57, isEqual: t46 = v4((n55, s51) => o57(n55) === o57(s51), "isEqual"), preserveOrder: p62 = true } = d55, a79 = /* @__PURE__ */ new Map(), h61 = /* @__PURE__ */ new Map();
41688
41692
  e44.forEach((n55, s51) => {
41689
41693
  const c70 = o57(n55);
41690
- a79.set(c70, n55), h62.set(c70, s51);
41694
+ a79.set(c70, n55), h61.set(c70, s51);
41691
41695
  });
41692
41696
  const r71 = /* @__PURE__ */ new Map(), O3 = /* @__PURE__ */ new Map();
41693
41697
  i55.forEach((n55, s51) => {
@@ -41697,7 +41701,7 @@ var u5 = class u6 {
41697
41701
  const E4 = [], l60 = [], g25 = [], M4 = [];
41698
41702
  return i55.forEach((n55, s51) => {
41699
41703
  const c70 = o57(n55), f49 = a79.get(c70);
41700
- f49 ? !t46(f49, n55) || p62 && h62.get(c70) !== s51 ? l60.push({ oldItem: f49, newItem: n55, index: p62 ? s51 : h62.get(c70) }) : M4.push(f49) : E4.push(n55);
41704
+ f49 ? !t46(f49, n55) || p62 && h61.get(c70) !== s51 ? l60.push({ oldItem: f49, newItem: n55, index: p62 ? s51 : h61.get(c70) }) : M4.push(f49) : E4.push(n55);
41701
41705
  }), e44.forEach((n55) => {
41702
41706
  const s51 = o57(n55);
41703
41707
  r71.has(s51) || g25.push(n55);
@@ -41710,8 +41714,8 @@ var u5 = class u6 {
41710
41714
  p62 !== -1 && ((t46 = d55.onRemove) === null || t46 === void 0 || t46.call(d55, o57, p62), e44.splice(p62, 1));
41711
41715
  }), i55.toUpdate.forEach(({ oldItem: o57, newItem: t46, index: p62 }) => {
41712
41716
  var a79;
41713
- const h62 = e44.indexOf(o57);
41714
- h62 !== -1 && ((a79 = d55.onUpdate) === null || a79 === void 0 || a79.call(d55, o57, t46, p62), e44[h62] = t46);
41717
+ const h61 = e44.indexOf(o57);
41718
+ h61 !== -1 && ((a79 = d55.onUpdate) === null || a79 === void 0 || a79.call(d55, o57, t46, p62), e44[h61] = t46);
41715
41719
  }), i55.toCreate.forEach((o57) => {
41716
41720
  var t46;
41717
41721
  (t46 = d55.onCreate) === null || t46 === void 0 || t46.call(d55, o57, e44.length), e44.push(o57);
@@ -41750,7 +41754,7 @@ var i6;
41750
41754
  var h4 = function(c70, e44, t46, r71) {
41751
41755
  var o57 = arguments.length, n55 = o57 < 3 ? e44 : r71 === null ? r71 = Object.getOwnPropertyDescriptor(e44, t46) : r71, l60;
41752
41756
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(c70, e44, t46, r71);
41753
- else for (var u56 = c70.length - 1; u56 >= 0; u56--) (l60 = c70[u56]) && (n55 = (o57 < 3 ? l60(n55) : o57 > 3 ? l60(e44, t46, n55) : l60(e44, t46)) || n55);
41757
+ else for (var u57 = c70.length - 1; u57 >= 0; u57--) (l60 = c70[u57]) && (n55 = (o57 < 3 ? l60(n55) : o57 > 3 ? l60(e44, t46, n55) : l60(e44, t46)) || n55);
41754
41758
  return o57 > 3 && n55 && Object.defineProperty(e44, t46, n55), n55;
41755
41759
  };
41756
41760
  var s15 = (i6 = class extends UIElement {
@@ -41786,9 +41790,9 @@ init_decorators();
41786
41790
  var M = Object.defineProperty;
41787
41791
  var p7 = (a79, e44) => M(a79, "name", { value: e44, configurable: true });
41788
41792
  var u7;
41789
- var S2 = function(a79, e44, i55, h62) {
41790
- var n55 = arguments.length, s51 = n55 < 3 ? e44 : h62 === null ? h62 = Object.getOwnPropertyDescriptor(e44, i55) : h62, o57;
41791
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(a79, e44, i55, h62);
41793
+ var S2 = function(a79, e44, i55, h61) {
41794
+ var n55 = arguments.length, s51 = n55 < 3 ? e44 : h61 === null ? h61 = Object.getOwnPropertyDescriptor(e44, i55) : h61, o57;
41795
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(a79, e44, i55, h61);
41792
41796
  else for (var d55 = a79.length - 1; d55 >= 0; d55--) (o57 = a79[d55]) && (s51 = (n55 < 3 ? o57(s51) : n55 > 3 ? o57(e44, i55, s51) : o57(e44, i55)) || s51);
41793
41797
  return n55 > 3 && s51 && Object.defineProperty(e44, i55, s51), s51;
41794
41798
  };
@@ -41811,7 +41815,7 @@ var f3 = (u7 = class extends UIGroup {
41811
41815
  }
41812
41816
  build(e44) {
41813
41817
  var i55;
41814
- const h62 = (i55 = this.elements[this.currentSelection]) === null || i55 === void 0 ? void 0 : i55.item.value, n55 = p7((t46) => t46.value, "getId"), s51 = x2.reconcile(this.__previousList, e44, { getId: n55 }), o57 = /* @__PURE__ */ new Set();
41818
+ const h61 = (i55 = this.elements[this.currentSelection]) === null || i55 === void 0 ? void 0 : i55.item.value, n55 = p7((t46) => t46.value, "getId"), s51 = x2.reconcile(this.__previousList, e44, { getId: n55 }), o57 = /* @__PURE__ */ new Set();
41815
41819
  s51.toRemove.forEach((t46) => {
41816
41820
  const r71 = n55(t46);
41817
41821
  if (o57.has(r71)) return;
@@ -41836,7 +41840,7 @@ var f3 = (u7 = class extends UIGroup {
41836
41840
  l60 && (l60.item = t46, this.elements.indexOf(l60) !== r71 && r71 < this.elements.length && (this.remove(l60), this.append(l60, r71)));
41837
41841
  });
41838
41842
  const d55 = this.currentSelection;
41839
- this.currentSelection = Math.max(0, e44.findIndex((t46) => n55(t46) === h62)), d55 === this.currentSelection && this.onChangeSelection(), this.__previousList = [...e44];
41843
+ this.currentSelection = Math.max(0, e44.findIndex((t46) => n55(t46) === h61)), d55 === this.currentSelection && this.onChangeSelection(), this.__previousList = [...e44];
41840
41844
  }
41841
41845
  selectNext() {
41842
41846
  this.currentSelection + 1 <= this.elements.length - 1 ? this.currentSelection += 1 : this.currentSelection = 0;
@@ -41989,8 +41993,8 @@ var a17 = class a18 extends Plugin {
41989
41993
  if (s51 && isArray(s51)) {
41990
41994
  const { itemRenderer: r71, insertValueRenderer: n55, maxItems: i55 } = this.j.o.autocomplete;
41991
41995
  return s51 = s51.map((R3) => {
41992
- var h62, f49;
41993
- return __spreadValues({ itemRenderer: (h62 = o57 == null ? void 0 : o57.itemRenderer) !== null && h62 !== void 0 ? h62 : r71, insertValueRenderer: (f49 = o57 == null ? void 0 : o57.insertValueRenderer) !== null && f49 !== void 0 ? f49 : n55 }, R3);
41996
+ var h61, f49;
41997
+ return __spreadValues({ itemRenderer: (h61 = o57 == null ? void 0 : o57.itemRenderer) !== null && h61 !== void 0 ? h61 : r71, insertValueRenderer: (f49 = o57 == null ? void 0 : o57.insertValueRenderer) !== null && f49 !== void 0 ? f49 : n55 }, R3);
41994
41998
  }), s51.slice(0, i55);
41995
41999
  }
41996
42000
  return [];
@@ -42249,8 +42253,8 @@ function k2(i55, a79, m53) {
42249
42253
  const e44 = l60.toLowerCase();
42250
42254
  t46 = s51.filter((n55) => n55.textContent.toLowerCase().includes(e44) || n55.tagName.includes(e44) || n55.content.toLowerCase().includes(e44));
42251
42255
  }
42252
- const c70 = Math.max(0, Math.min(typeof d55 == "number" ? d55 : 0, t46.length)), u56 = o57 !== void 0 ? Math.min(c70 + o57, t46.length) : t46.length;
42253
- return { blocks: t46.slice(c70, u56), total: s51.length, offset: c70, limit: o57 !== void 0 ? o57 : void 0 };
42256
+ const c70 = Math.max(0, Math.min(typeof d55 == "number" ? d55 : 0, t46.length)), u57 = o57 !== void 0 ? Math.min(c70 + o57, t46.length) : t46.length;
42257
+ return { blocks: t46.slice(c70, u57), total: s51.length, offset: c70, limit: o57 !== void 0 ? o57 : void 0 };
42254
42258
  });
42255
42259
  }
42256
42260
  f7(k2, "execute");
@@ -42280,7 +42284,7 @@ function w2(t46, o57, c70) {
42280
42284
  const { start: i55, end: l60, aroundSelection: f49 } = o57;
42281
42285
  a20(c70);
42282
42286
  let n55 = t46.value;
42283
- const r71 = n55.length, h62 = typeof i55 == "number" ? i55 : 0;
42287
+ const r71 = n55.length, h61 = typeof i55 == "number" ? i55 : 0;
42284
42288
  if (f49 && !t46.s.isCollapsed()) {
42285
42289
  let e44 = t46.s.range.commonAncestorContainer;
42286
42290
  for (; e44 && e44 !== t46.editor; ) {
@@ -42292,7 +42296,7 @@ function w2(t46, o57, c70) {
42292
42296
  }
42293
42297
  return { html: n55, length: r71 };
42294
42298
  }
42295
- const a79 = l60 !== void 0 ? Math.min(l60, r71) : r71, s51 = Math.max(0, Math.min(h62, r71));
42299
+ const a79 = l60 !== void 0 ? Math.min(l60, r71) : r71, s51 = Math.max(0, Math.min(h61, r71));
42296
42300
  return (s51 > 0 || a79 < r71) && (n55 = n55.substring(s51, a79)), { html: n55, length: r71, start: s51, end: a79 };
42297
42301
  });
42298
42302
  }
@@ -42387,9 +42391,9 @@ var s17 = true;
42387
42391
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/replace-in-document/executor.js
42388
42392
  var w3 = Object.defineProperty;
42389
42393
  var g4 = (n55, s51) => w3(n55, "name", { value: s51, configurable: true });
42390
- function x4(n55, s51, o57, c70, u56, a79) {
42391
- const l60 = n55.editor.querySelectorAll(u56);
42392
- if (l60.length === 0) return { replacements: 0, message: `No elements found matching selector "${u56}"` };
42394
+ function x4(n55, s51, o57, c70, u57, a79) {
42395
+ const l60 = n55.editor.querySelectorAll(u57);
42396
+ if (l60.length === 0) return { replacements: 0, message: `No elements found matching selector "${u57}"` };
42393
42397
  let e44 = 0;
42394
42398
  return l60.forEach((t46) => {
42395
42399
  a20(a79);
@@ -42410,9 +42414,9 @@ function x4(n55, s51, o57, c70, u56, a79) {
42410
42414
  }), e44 > 0 && (n55.synchronizeValues(), n55.s.restore()), { replacements: e44 };
42411
42415
  }
42412
42416
  g4(x4, "replaceInSelectedElements");
42413
- function d7(n55, s51, o57, c70, u56, a79) {
42417
+ function d7(n55, s51, o57, c70, u57, a79) {
42414
42418
  let l60 = 0, e44 = s51;
42415
- if (u56) try {
42419
+ if (u57) try {
42416
42420
  const t46 = new RegExp(o57, "g");
42417
42421
  e44 = e44.replace(t46, () => (l60++, c70));
42418
42422
  } catch (t46) {
@@ -42428,15 +42432,15 @@ function d7(n55, s51, o57, c70, u56, a79) {
42428
42432
  g4(d7, "replaceInDocument");
42429
42433
  function $3(n55, s51, o57) {
42430
42434
  return __async(this, null, function* () {
42431
- const c70 = u8(s51, "search"), u56 = u8(s51, "replace", { allowEmpty: true }), { useRegex: a79, useSelector: l60 } = s51;
42435
+ const c70 = u8(s51, "search"), u57 = u8(s51, "replace", { allowEmpty: true }), { useRegex: a79, useSelector: l60 } = s51;
42432
42436
  a20(o57);
42433
42437
  try {
42434
42438
  n55.s.focus(), n55.s.save();
42435
42439
  let e44 = 0, t46;
42436
42440
  if (l60) {
42437
- const r71 = x4(n55, c70, u56, a79, l60, o57);
42441
+ const r71 = x4(n55, c70, u57, a79, l60, o57);
42438
42442
  e44 = r71.replacements, t46 = r71.message;
42439
- } else e44 = d7(n55, n55.value, c70, u56, a79, o57);
42443
+ } else e44 = d7(n55, n55.value, c70, u57, a79, o57);
42440
42444
  return { replacements: e44, message: t46 || (e44 > 0 ? `Replaced ${e44} occurrence(s)` : "No matches found") };
42441
42445
  } catch (e44) {
42442
42446
  throw n55.s.restore(), new Error(`Failed to replace in document: ${(e44 == null ? void 0 : e44.message) || "Unknown error"}`);
@@ -42541,12 +42545,12 @@ function M3() {
42541
42545
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
42542
42546
  }
42543
42547
  var T2 = M3();
42544
- function G(u56) {
42545
- T2 = u56;
42548
+ function G(u57) {
42549
+ T2 = u57;
42546
42550
  }
42547
42551
  var _3 = { exec: () => null };
42548
- function k3(u56, e44 = "") {
42549
- let t46 = typeof u56 == "string" ? u56 : u56.source, n55 = { replace: (r71, i55) => {
42552
+ function k3(u57, e44 = "") {
42553
+ let t46 = typeof u57 == "string" ? u57 : u57.source, n55 = { replace: (r71, i55) => {
42550
42554
  let s51 = typeof i55 == "string" ? i55 : i55.source;
42551
42555
  return s51 = s51.replace(m9.caret, "$1"), t46 = t46.replace(r71, s51), n55;
42552
42556
  }, getRegex: () => new RegExp(t46, e44) };
@@ -42559,7 +42563,7 @@ var Re = (() => {
42559
42563
  return false;
42560
42564
  }
42561
42565
  })();
42562
- var m9 = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (u56) => new RegExp(`^( {0,3}${u56})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (u56) => new RegExp(`^ {0,${Math.min(3, u56 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (u56) => new RegExp(`^ {0,${Math.min(3, u56 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (u56) => new RegExp(`^ {0,${Math.min(3, u56 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (u56) => new RegExp(`^ {0,${Math.min(3, u56 - 1)}}#`), htmlBeginRegex: (u56) => new RegExp(`^ {0,${Math.min(3, u56 - 1)}}<(?:[a-z].*>|!--)`, "i"), blockquoteBeginRegex: (u56) => new RegExp(`^ {0,${Math.min(3, u56 - 1)}}>`) };
42566
+ var m9 = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (u57) => new RegExp(`^( {0,3}${u57})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (u57) => new RegExp(`^ {0,${Math.min(3, u57 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (u57) => new RegExp(`^ {0,${Math.min(3, u57 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (u57) => new RegExp(`^ {0,${Math.min(3, u57 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (u57) => new RegExp(`^ {0,${Math.min(3, u57 - 1)}}#`), htmlBeginRegex: (u57) => new RegExp(`^ {0,${Math.min(3, u57 - 1)}}<(?:[a-z].*>|!--)`, "i"), blockquoteBeginRegex: (u57) => new RegExp(`^ {0,${Math.min(3, u57 - 1)}}>`) };
42563
42567
  var Te = /^(?:[ \t]*(?:\n|$))+/;
42564
42568
  var Oe = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/;
42565
42569
  var we = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/;
@@ -42626,24 +42630,24 @@ var rt = __spreadProps(__spreadValues({}, Z), { br: k3(oe).replace("{2,}", "*").
42626
42630
  var C = { normal: U2, gfm: ze, pedantic: Ee };
42627
42631
  var z = { normal: W, gfm: Z, breaks: rt, pedantic: nt };
42628
42632
  var st = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" };
42629
- var de6 = (u56) => st[u56];
42630
- function O(u56, e44) {
42633
+ var de6 = (u57) => st[u57];
42634
+ function O(u57, e44) {
42631
42635
  if (e44) {
42632
- if (m9.escapeTest.test(u56)) return u56.replace(m9.escapeReplace, de6);
42633
- } else if (m9.escapeTestNoEncode.test(u56)) return u56.replace(m9.escapeReplaceNoEncode, de6);
42634
- return u56;
42636
+ if (m9.escapeTest.test(u57)) return u57.replace(m9.escapeReplace, de6);
42637
+ } else if (m9.escapeTestNoEncode.test(u57)) return u57.replace(m9.escapeReplaceNoEncode, de6);
42638
+ return u57;
42635
42639
  }
42636
- function X(u56) {
42640
+ function X(u57) {
42637
42641
  try {
42638
- u56 = encodeURI(u56).replace(m9.percentDecode, "%");
42642
+ u57 = encodeURI(u57).replace(m9.percentDecode, "%");
42639
42643
  } catch (e44) {
42640
42644
  return null;
42641
42645
  }
42642
- return u56;
42646
+ return u57;
42643
42647
  }
42644
- function J(u56, e44) {
42648
+ function J(u57, e44) {
42645
42649
  var _a2;
42646
- let t46 = u56.replace(m9.findPipe, (i55, s51, a79) => {
42650
+ let t46 = u57.replace(m9.findPipe, (i55, s51, a79) => {
42647
42651
  let o57 = false, l60 = s51;
42648
42652
  for (; --l60 >= 0 && a79[l60] === "\\"; ) o57 = !o57;
42649
42653
  return o57 ? "|" : " |";
@@ -42653,42 +42657,42 @@ function J(u56, e44) {
42653
42657
  for (; r71 < n55.length; r71++) n55[r71] = n55[r71].trim().replace(m9.slashPipe, "|");
42654
42658
  return n55;
42655
42659
  }
42656
- function E3(u56, e44, t46) {
42657
- let n55 = u56.length;
42660
+ function E3(u57, e44, t46) {
42661
+ let n55 = u57.length;
42658
42662
  if (n55 === 0) return "";
42659
42663
  let r71 = 0;
42660
42664
  for (; r71 < n55; ) {
42661
- let i55 = u56.charAt(n55 - r71 - 1);
42665
+ let i55 = u57.charAt(n55 - r71 - 1);
42662
42666
  if (i55 === e44 && !t46) r71++;
42663
42667
  else if (i55 !== e44 && t46) r71++;
42664
42668
  else break;
42665
42669
  }
42666
- return u56.slice(0, n55 - r71);
42670
+ return u57.slice(0, n55 - r71);
42667
42671
  }
42668
- function ge(u56, e44) {
42669
- if (u56.indexOf(e44[1]) === -1) return -1;
42672
+ function ge(u57, e44) {
42673
+ if (u57.indexOf(e44[1]) === -1) return -1;
42670
42674
  let t46 = 0;
42671
- for (let n55 = 0; n55 < u56.length; n55++) if (u56[n55] === "\\") n55++;
42672
- else if (u56[n55] === e44[0]) t46++;
42673
- else if (u56[n55] === e44[1] && (t46--, t46 < 0)) return n55;
42675
+ for (let n55 = 0; n55 < u57.length; n55++) if (u57[n55] === "\\") n55++;
42676
+ else if (u57[n55] === e44[0]) t46++;
42677
+ else if (u57[n55] === e44[1] && (t46--, t46 < 0)) return n55;
42674
42678
  return t46 > 0 ? -2 : -1;
42675
42679
  }
42676
- function fe(u56, e44 = 0) {
42680
+ function fe(u57, e44 = 0) {
42677
42681
  let t46 = e44, n55 = "";
42678
- for (let r71 of u56) if (r71 === " ") {
42682
+ for (let r71 of u57) if (r71 === " ") {
42679
42683
  let i55 = 4 - t46 % 4;
42680
42684
  n55 += " ".repeat(i55), t46 += i55;
42681
42685
  } else n55 += r71, t46++;
42682
42686
  return n55;
42683
42687
  }
42684
- function me(u56, e44, t46, n55, r71) {
42685
- let i55 = e44.href, s51 = e44.title || null, a79 = u56[1].replace(r71.other.outputLinkReplace, "$1");
42688
+ function me(u57, e44, t46, n55, r71) {
42689
+ let i55 = e44.href, s51 = e44.title || null, a79 = u57[1].replace(r71.other.outputLinkReplace, "$1");
42686
42690
  n55.state.inLink = true;
42687
- let o57 = { type: u56[0].charAt(0) === "!" ? "image" : "link", raw: t46, href: i55, title: s51, text: a79, tokens: n55.inlineTokens(a79) };
42691
+ let o57 = { type: u57[0].charAt(0) === "!" ? "image" : "link", raw: t46, href: i55, title: s51, text: a79, tokens: n55.inlineTokens(a79) };
42688
42692
  return n55.state.inLink = false, o57;
42689
42693
  }
42690
- function it6(u56, e44, t46) {
42691
- let n55 = u56.match(t46.other.indentCodeCompensation);
42694
+ function it6(u57, e44, t46) {
42695
+ let n55 = u57.match(t46.other.indentCodeCompensation);
42692
42696
  if (n55 === null) return e44;
42693
42697
  let r71 = n55[1];
42694
42698
  return e44.split(`
@@ -42762,19 +42766,19 @@ ${p62}` : p62, i55 = i55 ? `${i55}
42762
42766
  ${c70}` : c70;
42763
42767
  let d55 = this.lexer.state.top;
42764
42768
  if (this.lexer.state.top = true, this.lexer.blockTokens(c70, s51, true), this.lexer.state.top = d55, n55.length === 0) break;
42765
- let h62 = s51.at(-1);
42766
- if ((h62 == null ? void 0 : h62.type) === "code") break;
42767
- if ((h62 == null ? void 0 : h62.type) === "blockquote") {
42768
- let R3 = h62, f49 = R3.raw + `
42769
+ let h61 = s51.at(-1);
42770
+ if ((h61 == null ? void 0 : h61.type) === "code") break;
42771
+ if ((h61 == null ? void 0 : h61.type) === "blockquote") {
42772
+ let R3 = h61, f49 = R3.raw + `
42769
42773
  ` + n55.join(`
42770
42774
  `), S8 = this.blockquote(f49);
42771
42775
  s51[s51.length - 1] = S8, r71 = r71.substring(0, r71.length - R3.raw.length) + S8.raw, i55 = i55.substring(0, i55.length - R3.text.length) + S8.text;
42772
42776
  break;
42773
- } else if ((h62 == null ? void 0 : h62.type) === "list") {
42774
- let R3 = h62, f49 = R3.raw + `
42777
+ } else if ((h61 == null ? void 0 : h61.type) === "list") {
42778
+ let R3 = h61, f49 = R3.raw + `
42775
42779
  ` + n55.join(`
42776
42780
  `), S8 = this.list(f49);
42777
- s51[s51.length - 1] = S8, r71 = r71.substring(0, r71.length - h62.raw.length) + S8.raw, i55 = i55.substring(0, i55.length - R3.raw.length) + S8.raw, n55 = f49.substring(s51.at(-1).raw.length).split(`
42781
+ s51[s51.length - 1] = S8, r71 = r71.substring(0, r71.length - h61.raw.length) + S8.raw, i55 = i55.substring(0, i55.length - R3.raw.length) + S8.raw, n55 = f49.substring(s51.at(-1).raw.length).split(`
42778
42782
  `);
42779
42783
  continue;
42780
42784
  }
@@ -42794,23 +42798,23 @@ ${c70}` : c70;
42794
42798
  if (!(t46 = s51.exec(e44)) || this.rules.block.hr.test(e44)) break;
42795
42799
  p62 = t46[0], e44 = e44.substring(p62.length);
42796
42800
  let d55 = fe(t46[2].split(`
42797
- `, 1)[0], t46[1].length), h62 = e44.split(`
42801
+ `, 1)[0], t46[1].length), h61 = e44.split(`
42798
42802
  `, 1)[0], R3 = !d55.trim(), f49 = 0;
42799
- if (this.options.pedantic ? (f49 = 2, c70 = d55.trimStart()) : R3 ? f49 = t46[1].length + 1 : (f49 = d55.search(this.rules.other.nonSpaceChar), f49 = f49 > 4 ? 1 : f49, c70 = d55.slice(f49), f49 += t46[1].length), R3 && this.rules.other.blankLine.test(h62) && (p62 += h62 + `
42800
- `, e44 = e44.substring(h62.length + 1), l60 = true), !l60) {
42803
+ if (this.options.pedantic ? (f49 = 2, c70 = d55.trimStart()) : R3 ? f49 = t46[1].length + 1 : (f49 = d55.search(this.rules.other.nonSpaceChar), f49 = f49 > 4 ? 1 : f49, c70 = d55.slice(f49), f49 += t46[1].length), R3 && this.rules.other.blankLine.test(h61) && (p62 += h61 + `
42804
+ `, e44 = e44.substring(h61.length + 1), l60 = true), !l60) {
42801
42805
  let S8 = this.rules.other.nextBulletRegex(f49), V = this.rules.other.hrRegex(f49), Y = this.rules.other.fencesBeginRegex(f49), ee = this.rules.other.headingBeginRegex(f49), xe = this.rules.other.htmlBeginRegex(f49), be = this.rules.other.blockquoteBeginRegex(f49);
42802
42806
  for (; e44; ) {
42803
42807
  let H2 = e44.split(`
42804
42808
  `, 1)[0], I2;
42805
- if (h62 = H2, this.options.pedantic ? (h62 = h62.replace(this.rules.other.listReplaceNesting, " "), I2 = h62) : I2 = h62.replace(this.rules.other.tabCharGlobal, " "), Y.test(h62) || ee.test(h62) || xe.test(h62) || be.test(h62) || S8.test(h62) || V.test(h62)) break;
42806
- if (I2.search(this.rules.other.nonSpaceChar) >= f49 || !h62.trim()) c70 += `
42809
+ if (h61 = H2, this.options.pedantic ? (h61 = h61.replace(this.rules.other.listReplaceNesting, " "), I2 = h61) : I2 = h61.replace(this.rules.other.tabCharGlobal, " "), Y.test(h61) || ee.test(h61) || xe.test(h61) || be.test(h61) || S8.test(h61) || V.test(h61)) break;
42810
+ if (I2.search(this.rules.other.nonSpaceChar) >= f49 || !h61.trim()) c70 += `
42807
42811
  ` + I2.slice(f49);
42808
42812
  else {
42809
42813
  if (R3 || d55.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Y.test(d55) || ee.test(d55) || V.test(d55)) break;
42810
42814
  c70 += `
42811
- ` + h62;
42815
+ ` + h61;
42812
42816
  }
42813
- R3 = !h62.trim(), p62 += H2 + `
42817
+ R3 = !h61.trim(), p62 += H2 + `
42814
42818
  `, e44 = e44.substring(H2.length + 1), d55 = I2.slice(f49);
42815
42819
  }
42816
42820
  }
@@ -42946,13 +42950,13 @@ ${c70}` : c70;
42946
42950
  }
42947
42951
  if (l60 -= o57, l60 > 0) continue;
42948
42952
  o57 = Math.min(o57, o57 + l60 + p62);
42949
- let d55 = [...r71[0]][0].length, h62 = e44.slice(0, s51 + r71.index + d55 + o57);
42953
+ let d55 = [...r71[0]][0].length, h61 = e44.slice(0, s51 + r71.index + d55 + o57);
42950
42954
  if (Math.min(s51, o57) % 2) {
42951
- let f49 = h62.slice(1, -1);
42952
- return { type: "em", raw: h62, text: f49, tokens: this.lexer.inlineTokens(f49) };
42955
+ let f49 = h61.slice(1, -1);
42956
+ return { type: "em", raw: h61, text: f49, tokens: this.lexer.inlineTokens(f49) };
42953
42957
  }
42954
- let R3 = h62.slice(2, -2);
42955
- return { type: "strong", raw: h62, text: R3, tokens: this.lexer.inlineTokens(R3) };
42958
+ let R3 = h61.slice(2, -2);
42959
+ return { type: "strong", raw: h61, text: R3, tokens: this.lexer.inlineTokens(R3) };
42956
42960
  }
42957
42961
  }
42958
42962
  }
@@ -42980,8 +42984,8 @@ ${c70}` : c70;
42980
42984
  }
42981
42985
  if (l60 -= o57, l60 > 0) continue;
42982
42986
  o57 = Math.min(o57, o57 + l60);
42983
- let c70 = [...r71[0]][0].length, d55 = e44.slice(0, s51 + r71.index + c70 + o57), h62 = d55.slice(s51, -s51);
42984
- return { type: "del", raw: d55, text: h62, tokens: this.lexer.inlineTokens(h62) };
42987
+ let c70 = [...r71[0]][0].length, d55 = e44.slice(0, s51 + r71.index + c70 + o57), h61 = d55.slice(s51, -s51);
42988
+ return { type: "del", raw: d55, text: h61, tokens: this.lexer.inlineTokens(h61) };
42985
42989
  }
42986
42990
  }
42987
42991
  }
@@ -43205,8 +43209,8 @@ var x5 = class u12 {
43205
43209
  let l60 = e44;
43206
43210
  if ((_f = this.options.extensions) == null ? void 0 : _f.startInline) {
43207
43211
  let p62 = 1 / 0, c70 = e44.slice(1), d55;
43208
- this.options.extensions.startInline.forEach((h62) => {
43209
- d55 = h62.call({ lexer: this }, c70), typeof d55 == "number" && d55 >= 0 && (p62 = Math.min(p62, d55));
43212
+ this.options.extensions.startInline.forEach((h61) => {
43213
+ d55 = h61.call({ lexer: this }, c70), typeof d55 == "number" && d55 >= 0 && (p62 = Math.min(p62, d55));
43210
43214
  }), p62 < 1 / 0 && p62 >= 0 && (l60 = e44.substring(0, p62 + 1));
43211
43215
  }
43212
43216
  if (o57 = this.tokenizer.inlineText(l60)) {
@@ -43691,8 +43695,8 @@ var B3 = class {
43691
43695
  if (s51.hooks && (s51.hooks.options = s51, s51.hooks.block = e44), s51.async) return (() => __async(this, null, function* () {
43692
43696
  let o57 = s51.hooks ? yield s51.hooks.preprocess(n55) : n55, p62 = yield (s51.hooks ? yield s51.hooks.provideLexer() : e44 ? x5.lex : x5.lexInline)(o57, s51), c70 = s51.hooks ? yield s51.hooks.processAllTokens(p62) : p62;
43693
43697
  s51.walkTokens && (yield Promise.all(this.walkTokens(c70, s51.walkTokens)));
43694
- let h62 = yield (s51.hooks ? yield s51.hooks.provideParser() : e44 ? b7.parse : b7.parseInline)(c70, s51);
43695
- return s51.hooks ? yield s51.hooks.postprocess(h62) : h62;
43698
+ let h61 = yield (s51.hooks ? yield s51.hooks.provideParser() : e44 ? b7.parse : b7.parseInline)(c70, s51);
43699
+ return s51.hooks ? yield s51.hooks.postprocess(h61) : h61;
43696
43700
  }))().catch(a79);
43697
43701
  try {
43698
43702
  s51.hooks && (n55 = s51.hooks.preprocess(n55));
@@ -43718,19 +43722,19 @@ Please report this to https://github.com/markedjs/marked.`, e44) {
43718
43722
  }
43719
43723
  };
43720
43724
  var L2 = new B3();
43721
- function g5(u56, e44) {
43722
- return L2.parse(u56, e44);
43725
+ function g5(u57, e44) {
43726
+ return L2.parse(u57, e44);
43723
43727
  }
43724
- g5.options = g5.setOptions = function(u56) {
43725
- return L2.setOptions(u56), g5.defaults = L2.defaults, G(g5.defaults), g5;
43728
+ g5.options = g5.setOptions = function(u57) {
43729
+ return L2.setOptions(u57), g5.defaults = L2.defaults, G(g5.defaults), g5;
43726
43730
  };
43727
43731
  g5.getDefaults = M3;
43728
43732
  g5.defaults = T2;
43729
- g5.use = function(...u56) {
43730
- return L2.use(...u56), g5.defaults = L2.defaults, G(g5.defaults), g5;
43733
+ g5.use = function(...u57) {
43734
+ return L2.use(...u57), g5.defaults = L2.defaults, G(g5.defaults), g5;
43731
43735
  };
43732
- g5.walkTokens = function(u56, e44) {
43733
- return L2.walkTokens(u56, e44);
43736
+ g5.walkTokens = function(u57, e44) {
43737
+ return L2.walkTokens(u57, e44);
43734
43738
  };
43735
43739
  g5.parseInline = L2.parseInline;
43736
43740
  g5.Parser = b7;
@@ -43811,25 +43815,25 @@ var p12 = class p13 {
43811
43815
  this.abortControllers.add(s51);
43812
43816
  try {
43813
43817
  const a79 = this.buildRequestContext(o57, t46, e44, r71, l60);
43814
- let h62 = null;
43818
+ let h61 = null;
43815
43819
  for (let f49 = 0; f49 <= i55; f49++) try {
43816
43820
  if (s51.signal.aborted) throw abort();
43817
43821
  const d55 = setTimeout(() => {
43818
43822
  s51.abort();
43819
43823
  }, c70);
43820
43824
  try {
43821
- const u56 = yield n55(a79, s51.signal);
43822
- return clearTimeout(d55), this.validateResponse(u56), u56;
43823
- } catch (u56) {
43824
- throw clearTimeout(d55), u56;
43825
+ const u57 = yield n55(a79, s51.signal);
43826
+ return clearTimeout(d55), this.validateResponse(u57), u57;
43827
+ } catch (u57) {
43828
+ throw clearTimeout(d55), u57;
43825
43829
  }
43826
43830
  } catch (d55) {
43827
- if (h62 = d55, IS_PROD || console.warn(`API request attempt ${f49 + 1} failed:`, d55), f49 < i55) {
43828
- const u56 = this.calculateRetryDelay(f49);
43829
- yield this.sleep(u56);
43831
+ if (h61 = d55, IS_PROD || console.warn(`API request attempt ${f49 + 1} failed:`, d55), f49 < i55) {
43832
+ const u57 = this.calculateRetryDelay(f49);
43833
+ yield this.sleep(u57);
43830
43834
  } else throw d55;
43831
43835
  }
43832
- throw h62 || new Error("API request failed after all retries");
43836
+ throw h61 || new Error("API request failed after all retries");
43833
43837
  } finally {
43834
43838
  this.abortControllers.delete(s51);
43835
43839
  }
@@ -43848,7 +43852,7 @@ var p12 = class p13 {
43848
43852
  let i55 = { mode: n55, conversationId: o57, tools: this.toolRegistry.getAllTools(), selectionContexts: r71, conversationOptions: l60, instructions: c70 }, s51;
43849
43853
  if (n55 === "full") s51 = t46;
43850
43854
  else if (e44) {
43851
- const a79 = t46.findIndex((h62) => h62.id === e44);
43855
+ const a79 = t46.findIndex((h61) => h61.id === e44);
43852
43856
  a79 !== -1 ? s51 = t46.slice(a79 + 1) : s51 = t46, i55 = __spreadProps(__spreadValues({}, i55), { parentMessageId: e44 });
43853
43857
  } else s51 = t46;
43854
43858
  return i55 = __spreadProps(__spreadValues({}, i55), { messages: this.expandToolMessages(s51, t46.find((a79) => a79.id === e44)) }), i55;
@@ -44155,8 +44159,8 @@ var l8 = class l9 {
44155
44159
  const o57 = yield this.get(d55);
44156
44160
  if (o57) {
44157
44161
  if (c70) {
44158
- const g25 = (e44 = o57.title) === null || e44 === void 0 ? void 0 : e44.toLowerCase().includes(c70), u56 = !g25 && o57.messages.some((y9) => y9.content.toLowerCase().includes(c70));
44159
- if (!g25 && !u56) continue;
44162
+ const g25 = (e44 = o57.title) === null || e44 === void 0 ? void 0 : e44.toLowerCase().includes(c70), u57 = !g25 && o57.messages.some((y9) => y9.content.toLowerCase().includes(c70));
44163
+ if (!g25 && !u57) continue;
44160
44164
  }
44161
44165
  i55.push({ id: o57.id, title: (s51 = o57.title) !== null && s51 !== void 0 ? s51 : "", created: o57.created, updated: o57.updated, messageCount: o57.messages.length });
44162
44166
  }
@@ -44362,7 +44366,7 @@ var c12;
44362
44366
  var h10 = function(r71, t46, n55, i55) {
44363
44367
  var o57 = arguments.length, e44 = o57 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, n55) : i55, s51;
44364
44368
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(r71, t46, n55, i55);
44365
- else for (var u56 = r71.length - 1; u56 >= 0; u56--) (s51 = r71[u56]) && (e44 = (o57 < 3 ? s51(e44) : o57 > 3 ? s51(t46, n55, e44) : s51(t46, n55)) || e44);
44369
+ else for (var u57 = r71.length - 1; u57 >= 0; u57--) (s51 = r71[u57]) && (e44 = (o57 < 3 ? s51(e44) : o57 > 3 ? s51(t46, n55, e44) : s51(t46, n55)) || e44);
44366
44370
  return o57 > 3 && e44 && Object.defineProperty(t46, n55, e44), e44;
44367
44371
  };
44368
44372
  var a25 = (c12 = class extends UIElement {
@@ -44577,7 +44581,7 @@ var u18 = c13;
44577
44581
 
44578
44582
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/voice/voice-transcriber.js
44579
44583
  var p17 = Object.defineProperty;
44580
- var d12 = (u56, s51) => p17(u56, "name", { value: s51, configurable: true });
44584
+ var d12 = (u57, s51) => p17(u57, "name", { value: s51, configurable: true });
44581
44585
  var l12 = class l13 {
44582
44586
  constructor(s51) {
44583
44587
  this.options = s51, this.ws = null, this.streamer = null, this.running = false;
@@ -44604,7 +44608,7 @@ var l12 = class l13 {
44604
44608
  this.running && (this.running = false, (s51 = this.streamer) === null || s51 === void 0 || s51.stop(), this.streamer = null, this.ws && (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) && this.ws.close());
44605
44609
  }
44606
44610
  onMessage(s51) {
44607
- var i55, t46, n55, r71, h62, a79, o57;
44611
+ var i55, t46, n55, r71, h61, a79, o57;
44608
44612
  if (typeof s51.data != "string") return;
44609
44613
  let e44;
44610
44614
  try {
@@ -44620,7 +44624,7 @@ var l12 = class l13 {
44620
44624
  e44.text && ((r71 = (n55 = this.options).onInterim) === null || r71 === void 0 || r71.call(n55, e44.text));
44621
44625
  break;
44622
44626
  case "final":
44623
- e44.text && ((a79 = (h62 = this.options).onFinal) === null || a79 === void 0 || a79.call(h62, e44.text));
44627
+ e44.text && ((a79 = (h61 = this.options).onFinal) === null || a79 === void 0 || a79.call(h61, e44.text));
44624
44628
  break;
44625
44629
  case "error":
44626
44630
  this.fail((o57 = e44.message) !== null && o57 !== void 0 ? o57 : "Transcription error");
@@ -44707,8 +44711,8 @@ var o24 = class o25 {
44707
44711
  insertPhrase(t46) {
44708
44712
  if (!this.phraseActive) {
44709
44713
  this.phraseActive = true;
44710
- const { start: c70, end: l60 } = this.io.getSelection(), h62 = this.io.getValue();
44711
- this.before = h62.slice(0, c70), this.after = h62.slice(l60);
44714
+ const { start: c70, end: l60 } = this.io.getSelection(), h61 = this.io.getValue();
44715
+ this.before = h61.slice(0, c70), this.after = h61.slice(l60);
44712
44716
  }
44713
44717
  const e44 = (this.before.length > 0 && !/\s$/.test(this.before) ? " " : "") + t46, i55 = this.before.length + e44.length;
44714
44718
  this.io.setValue(this.before + e44 + this.after, i55);
@@ -44725,12 +44729,12 @@ var r23 = o24;
44725
44729
  init_decorators();
44726
44730
  init_assert();
44727
44731
  var v8 = Object.defineProperty;
44728
- var a28 = (u56, t46) => v8(u56, "name", { value: t46, configurable: true });
44732
+ var a28 = (u57, t46) => v8(u57, "name", { value: t46, configurable: true });
44729
44733
  var d13;
44730
- var h13 = function(u56, t46, e44, i55) {
44734
+ var h13 = function(u57, t46, e44, i55) {
44731
44735
  var n55 = arguments.length, s51 = n55 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, e44) : i55, o57;
44732
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(u56, t46, e44, i55);
44733
- else for (var l60 = u56.length - 1; l60 >= 0; l60--) (o57 = u56[l60]) && (s51 = (n55 < 3 ? o57(s51) : n55 > 3 ? o57(t46, e44, s51) : o57(t46, e44)) || s51);
44736
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(u57, t46, e44, i55);
44737
+ else for (var l60 = u57.length - 1; l60 >= 0; l60--) (o57 = u57[l60]) && (s51 = (n55 < 3 ? o57(s51) : n55 > 3 ? o57(t46, e44, s51) : o57(t46, e44)) || s51);
44734
44738
  return n55 > 3 && s51 && Object.defineProperty(t46, e44, s51), s51;
44735
44739
  };
44736
44740
  var r24 = (d13 = class extends UIElement {
@@ -44971,10 +44975,10 @@ var o26 = (d14 = class extends UIElement {
44971
44975
  if (!this.artifact.data) return;
44972
44976
  const a79 = this.j.c.div(this.getFullElName("content")), n55 = this.j.c.div(this.getFullElName("file-card")), s51 = this.j.c.div(this.getFullElName("file-icon"));
44973
44977
  s51.textContent = "\u{1F4C4}";
44974
- const r71 = this.j.c.div(this.getFullElName("file-info")), h62 = this.j.c.div(this.getFullElName("file-name"));
44975
- h62.textContent = ((t46 = this.artifact.metadata) === null || t46 === void 0 ? void 0 : t46.filename) || "download.file";
44978
+ const r71 = this.j.c.div(this.getFullElName("file-info")), h61 = this.j.c.div(this.getFullElName("file-name"));
44979
+ h61.textContent = ((t46 = this.artifact.metadata) === null || t46 === void 0 ? void 0 : t46.filename) || "download.file";
44976
44980
  const f49 = this.j.c.div(this.getFullElName("file-size"));
44977
- !((e44 = this.artifact.metadata) === null || e44 === void 0) && e44.size && (f49.textContent = this.formatFileSize(this.artifact.metadata.size)), r71.appendChild(h62), r71.appendChild(f49);
44981
+ !((e44 = this.artifact.metadata) === null || e44 === void 0) && e44.size && (f49.textContent = this.formatFileSize(this.artifact.metadata.size)), r71.appendChild(h61), r71.appendChild(f49);
44978
44982
  const c70 = this.j.c.element("a", { class: this.getFullElName("download-btn"), download: ((i55 = this.artifact.metadata) === null || i55 === void 0 ? void 0 : i55.filename) || "download.file" });
44979
44983
  if (c70.textContent = this.j.i18n("Download"), this.artifact.data.kind === "url") c70.href = this.artifact.data.url;
44980
44984
  else if (this.artifact.data.kind === "base64") {
@@ -45097,7 +45101,7 @@ var d15 = (l14 = class extends UIElement {
45097
45101
  o57.textContent = this.getToolStatusText(t46.status || "unknown"), s51.appendChild(i55), s51.appendChild(n55), s51.appendChild(o57), e44.appendChild(s51);
45098
45102
  const a79 = this.createExpandableSection("Arguments", JSON.stringify(t46.arguments || {}, null, 2));
45099
45103
  if (e44.appendChild(a79), t46.result) {
45100
- const h62 = t46.result.error ? `Error: ${t46.result.error}` : t46.result.result || "", m53 = this.createExpandableSection("Result", typeof h62 == "string" ? h62 : JSON.stringify(h62, null, 2));
45104
+ const h61 = t46.result.error ? `Error: ${t46.result.error}` : t46.result.result || "", m53 = this.createExpandableSection("Result", typeof h61 == "string" ? h61 : JSON.stringify(h61, null, 2));
45101
45105
  e44.appendChild(m53);
45102
45106
  }
45103
45107
  return e44;
@@ -45276,12 +45280,12 @@ init_decorators();
45276
45280
  init_decorators();
45277
45281
  init_helpers();
45278
45282
  var g9 = Object.defineProperty;
45279
- var p20 = (h62, t46) => g9(h62, "name", { value: t46, configurable: true });
45283
+ var p20 = (h61, t46) => g9(h61, "name", { value: t46, configurable: true });
45280
45284
  var o27;
45281
- var r26 = function(h62, t46, e44, s51) {
45285
+ var r26 = function(h61, t46, e44, s51) {
45282
45286
  var l60 = arguments.length, a79 = l60 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, e44) : s51, n55;
45283
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a79 = Reflect.decorate(h62, t46, e44, s51);
45284
- else for (var d55 = h62.length - 1; d55 >= 0; d55--) (n55 = h62[d55]) && (a79 = (l60 < 3 ? n55(a79) : l60 > 3 ? n55(t46, e44, a79) : n55(t46, e44)) || a79);
45287
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a79 = Reflect.decorate(h61, t46, e44, s51);
45288
+ else for (var d55 = h61.length - 1; d55 >= 0; d55--) (n55 = h61[d55]) && (a79 = (l60 < 3 ? n55(a79) : l60 > 3 ? n55(t46, e44, a79) : n55(t46, e44)) || a79);
45285
45289
  return l60 > 3 && a79 && Object.defineProperty(t46, e44, a79), a79;
45286
45290
  };
45287
45291
  var i23 = (o27 = class extends UIInput {
@@ -45350,13 +45354,13 @@ var p21 = (r27 = class extends UIElement {
45350
45354
  var e44, t46, n55, o57, i55;
45351
45355
  const a79 = this.container, s51 = this.getConversation().options || {};
45352
45356
  if (this.options.dialogSettings.models && this.options.dialogSettings.models.length > 0) {
45353
- const u56 = this.parseModels(this.options.dialogSettings.models), c70 = (t46 = (e44 = s51.model) !== null && e44 !== void 0 ? e44 : this.state.defaultModel) !== null && t46 !== void 0 ? t46 : u56[0].value;
45354
- this.modelSelect = new UISelect(this.j, { label: "Model", name: "model", value: c70, options: u56, onChange: this.onModelChange.bind(this) }), a79.appendChild(this.modelSelect.container);
45357
+ const u57 = this.parseModels(this.options.dialogSettings.models), c70 = (t46 = (e44 = s51.model) !== null && e44 !== void 0 ? e44 : this.state.defaultModel) !== null && t46 !== void 0 ? t46 : u57[0].value;
45358
+ this.modelSelect = new UISelect(this.j, { label: "Model", name: "model", value: c70, options: u57, onChange: this.onModelChange.bind(this) }), a79.appendChild(this.modelSelect.container);
45355
45359
  }
45356
45360
  if (this.options.dialogSettings.temperature) {
45357
45361
  this.temperatureInput = new i23(this.j, { label: "Temperature", name: "temperature", min: this.options.dialogSettings.temperature.min, max: this.options.dialogSettings.temperature.max, value: (o57 = (n55 = s51.temperature) !== null && n55 !== void 0 ? n55 : this.state.defaultTemperature) !== null && o57 !== void 0 ? o57 : 0.5, onChange: this.onTemperatureChange.bind(this) });
45358
- const u56 = this.temperatureInput.nativeInput;
45359
- u56 && u56.setAttribute("step", String((i55 = this.options.dialogSettings.temperature.step) !== null && i55 !== void 0 ? i55 : 0.1)), a79.appendChild(this.temperatureInput.container);
45362
+ const u57 = this.temperatureInput.nativeInput;
45363
+ u57 && u57.setAttribute("step", String((i55 = this.options.dialogSettings.temperature.step) !== null && i55 !== void 0 ? i55 : 0.1)), a79.appendChild(this.temperatureInput.container);
45360
45364
  }
45361
45365
  });
45362
45366
  }
@@ -45603,12 +45607,12 @@ v10 = f13([component], v10);
45603
45607
  init_decorators();
45604
45608
  init_dom();
45605
45609
  var C2 = Object.defineProperty;
45606
- var p23 = (u56, t46) => C2(u56, "name", { value: t46, configurable: true });
45610
+ var p23 = (u57, t46) => C2(u57, "name", { value: t46, configurable: true });
45607
45611
  var d19;
45608
- var l18 = function(u56, t46, e44, s51) {
45612
+ var l18 = function(u57, t46, e44, s51) {
45609
45613
  var i55 = arguments.length, o57 = i55 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, e44) : s51, n55;
45610
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(u56, t46, e44, s51);
45611
- else for (var r71 = u56.length - 1; r71 >= 0; r71--) (n55 = u56[r71]) && (o57 = (i55 < 3 ? n55(o57) : i55 > 3 ? n55(t46, e44, o57) : n55(t46, e44)) || o57);
45614
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(u57, t46, e44, s51);
45615
+ else for (var r71 = u57.length - 1; r71 >= 0; r71--) (n55 = u57[r71]) && (o57 = (i55 < 3 ? n55(o57) : i55 > 3 ? n55(t46, e44, o57) : n55(t46, e44)) || o57);
45612
45616
  return i55 > 3 && o57 && Object.defineProperty(t46, e44, o57), o57;
45613
45617
  };
45614
45618
  var a32 = (d19 = class extends UIElement {
@@ -45911,8 +45915,8 @@ function x6(e44, o57, n55, i55) {
45911
45915
  let s51 = n55.getCurrentConversation();
45912
45916
  if (!s51) return;
45913
45917
  const l60 = s51.messages.findIndex((d55) => {
45914
- var u56;
45915
- return (u56 = d55.toolCalls) === null || u56 === void 0 ? void 0 : u56.find((p62) => p62.id === o57);
45918
+ var u57;
45919
+ return (u57 = d55.toolCalls) === null || u57 === void 0 ? void 0 : u57.find((p62) => p62.id === o57);
45916
45920
  });
45917
45921
  if (l60 === -1) return;
45918
45922
  const r71 = s51.messages[l60], c70 = __spreadProps(__spreadValues({}, a79), { result: { error: "Tool call denied by user." }, status: "denied" }), C15 = c21(r71, c70), v22 = [...s51.messages];
@@ -45978,12 +45982,12 @@ function i26(r71) {
45978
45982
  }
45979
45983
  }
45980
45984
  l21(i26, "invertMode");
45981
- function P3(r71, t46, u56, s51) {
45985
+ function P3(r71, t46, u57, s51) {
45982
45986
  var e44, n55, o57, c70;
45983
45987
  if (t46 === "dialog" || t46 === "flight") return;
45984
- (t46 === "left" || t46 === "right") && ((e44 = r71.currentPlace.slots[i26(t46)]) === null || e44 === void 0 || e44.style.setProperty(`--jd-slot-${i26(t46)}-width`, "auto"), (n55 = r71.currentPlace.slots[t46]) === null || n55 === void 0 || n55.style.setProperty(`--jd-slot-${t46}-width`, `${u56}px`));
45985
- const h62 = (o57 = css(r71.currentPlace.workplace, "height")) !== null && o57 !== void 0 ? o57 : 0;
45986
- (c70 = r71.currentPlace.slots[t46]) === null || c70 === void 0 || c70.style.setProperty("min-height", `${Math.min(h62, s51)}px`);
45988
+ (t46 === "left" || t46 === "right") && ((e44 = r71.currentPlace.slots[i26(t46)]) === null || e44 === void 0 || e44.style.setProperty(`--jd-slot-${i26(t46)}-width`, "auto"), (n55 = r71.currentPlace.slots[t46]) === null || n55 === void 0 || n55.style.setProperty(`--jd-slot-${t46}-width`, `${u57}px`));
45989
+ const h61 = (o57 = css(r71.currentPlace.workplace, "height")) !== null && o57 !== void 0 ? o57 : 0;
45990
+ (c70 = r71.currentPlace.slots[t46]) === null || c70 === void 0 || c70.style.setProperty("min-height", `${Math.min(h61, s51)}px`);
45987
45991
  }
45988
45992
  l21(P3, "resizeInPanelView");
45989
45993
 
@@ -46115,8 +46119,8 @@ var h20 = class h21 {
46115
46119
  static updatePosition(t46, e44, o57) {
46116
46120
  const { toolbarSelector: d55, gap: l60 } = o57, i55 = e44.getBoundingClientRect(), c70 = window.innerHeight, s51 = t46.offsetHeight || 250;
46117
46121
  t46.style.left = `${i55.left}px`, t46.style.width = `${i55.width}px`;
46118
- const a79 = e44.querySelector(d55), n55 = a79 ? a79.getBoundingClientRect().bottom : i55.top, p62 = i55.bottom - n55, v22 = s51 <= p62, u56 = i55.bottom <= c70;
46119
- v22 ? u56 ? (t46.style.top = "auto", t46.style.bottom = `${c70 - i55.bottom + l60}px`) : (t46.style.top = "auto", t46.style.bottom = `${l60}px`) : (t46.style.bottom = "auto", t46.style.top = `${n55}px`);
46122
+ const a79 = e44.querySelector(d55), n55 = a79 ? a79.getBoundingClientRect().bottom : i55.top, p62 = i55.bottom - n55, v22 = s51 <= p62, u57 = i55.bottom <= c70;
46123
+ v22 ? u57 ? (t46.style.top = "auto", t46.style.bottom = `${c70 - i55.bottom + l60}px`) : (t46.style.top = "auto", t46.style.bottom = `${l60}px`) : (t46.style.bottom = "auto", t46.style.top = `${n55}px`);
46120
46124
  }
46121
46125
  static remove(t46) {
46122
46126
  var e44;
@@ -46142,7 +46146,7 @@ var f16 = h20;
46142
46146
  init_dom();
46143
46147
  init_css();
46144
46148
  var f17 = Object.defineProperty;
46145
- var r34 = (u56, i55) => f17(u56, "name", { value: i55, configurable: true });
46149
+ var r34 = (u57, i55) => f17(u57, "name", { value: i55, configurable: true });
46146
46150
  var a34 = class a35 {
46147
46151
  static remove(i55) {
46148
46152
  i55.container.classList.remove("jodit-ui-resize"), Dom.safeRemove(i55.container.querySelector(".jodit-ui-resize__handle"));
@@ -46615,7 +46619,7 @@ var e18 = class e19 {
46615
46619
  return __async(this, null, function* () {
46616
46620
  if (!t46.html.trim().length) return false;
46617
46621
  const s51 = this.jodit.storage.get(this.key) || [];
46618
- return s51.find((h62) => h62.html === t46.html) || (s51.unshift(t46), s51.length > this.jodit.o.backup.limit && (s51.length = this.jodit.o.backup.limit), this.jodit.storage.set(this.key, s51)), false;
46622
+ return s51.find((h61) => h61.html === t46.html) || (s51.unshift(t46), s51.length > this.jodit.o.backup.limit && (s51.length = this.jodit.o.backup.limit), this.jodit.storage.set(this.key, s51)), false;
46619
46623
  });
46620
46624
  }
46621
46625
  items() {
@@ -46660,7 +46664,7 @@ var c22;
46660
46664
  var h24 = function(l60, e44, t46, n55) {
46661
46665
  var o57 = arguments.length, i55 = o57 < 3 ? e44 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(e44, t46) : n55, r71;
46662
46666
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(l60, e44, t46, n55);
46663
- else for (var u56 = l60.length - 1; u56 >= 0; u56--) (r71 = l60[u56]) && (i55 = (o57 < 3 ? r71(i55) : o57 > 3 ? r71(e44, t46, i55) : r71(e44, t46)) || i55);
46667
+ else for (var u57 = l60.length - 1; u57 >= 0; u57--) (r71 = l60[u57]) && (i55 = (o57 < 3 ? r71(i55) : o57 > 3 ? r71(e44, t46, i55) : r71(e44, t46)) || i55);
46664
46668
  return o57 > 3 && i55 && Object.defineProperty(e44, t46, i55), i55;
46665
46669
  };
46666
46670
  var s26 = (c22 = class extends UIGroup {
@@ -46717,10 +46721,10 @@ var a38 = Object.defineProperty;
46717
46721
  var u26 = (s51, t46) => a38(s51, "name", { value: t46, configurable: true });
46718
46722
  var i28;
46719
46723
  var p26 = function(s51, t46, o57, n55) {
46720
- var h62 = arguments.length, e44 = h62 < 3 ? t46 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(t46, o57) : n55, r71;
46724
+ var h61 = arguments.length, e44 = h61 < 3 ? t46 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(t46, o57) : n55, r71;
46721
46725
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(s51, t46, o57, n55);
46722
- else for (var c70 = s51.length - 1; c70 >= 0; c70--) (r71 = s51[c70]) && (e44 = (h62 < 3 ? r71(e44) : h62 > 3 ? r71(t46, o57, e44) : r71(t46, o57)) || e44);
46723
- return h62 > 3 && e44 && Object.defineProperty(t46, o57, e44), e44;
46726
+ else for (var c70 = s51.length - 1; c70 >= 0; c70--) (r71 = s51[c70]) && (e44 = (h61 < 3 ? r71(e44) : h61 > 3 ? r71(t46, o57, e44) : r71(t46, o57)) || e44);
46727
+ return h61 > 3 && e44 && Object.defineProperty(t46, o57, e44), e44;
46724
46728
  };
46725
46729
  var l25 = (i28 = class extends UIElement {
46726
46730
  className() {
@@ -46841,12 +46845,12 @@ init_helpers();
46841
46845
  init_checker();
46842
46846
  init_assert();
46843
46847
  var O2 = Object.defineProperty;
46844
- var b11 = (u56, o57) => O2(u56, "name", { value: o57, configurable: true });
46848
+ var b11 = (u57, o57) => O2(u57, "name", { value: o57, configurable: true });
46845
46849
  var f22;
46846
- var _7 = function(u56, o57, e44, d55) {
46850
+ var _7 = function(u57, o57, e44, d55) {
46847
46851
  var n55 = arguments.length, r71 = n55 < 3 ? o57 : d55 === null ? d55 = Object.getOwnPropertyDescriptor(o57, e44) : d55, l60;
46848
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(u56, o57, e44, d55);
46849
- else for (var t46 = u56.length - 1; t46 >= 0; t46--) (l60 = u56[t46]) && (r71 = (n55 < 3 ? l60(r71) : n55 > 3 ? l60(o57, e44, r71) : l60(o57, e44)) || r71);
46852
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(u57, o57, e44, d55);
46853
+ else for (var t46 = u57.length - 1; t46 >= 0; t46--) (l60 = u57[t46]) && (r71 = (n55 < 3 ? l60(r71) : n55 > 3 ? l60(o57, e44, r71) : l60(o57, e44)) || r71);
46850
46854
  return n55 > 3 && r71 && Object.defineProperty(o57, e44, r71), r71;
46851
46855
  };
46852
46856
  var x7;
@@ -46889,11 +46893,11 @@ var p30 = x7 = (f22 = class extends UIElement {
46889
46893
  return i55;
46890
46894
  }, "extractColors"), m53 = b11((c70, a79, i55, S8) => {
46891
46895
  const s51 = t46[i55];
46892
- return !s51 || ["none", "inherit", "initial", "unset"].includes(s51) ? { [i55]: false } : (s51.replace(/,\s/g, ",").split(/\s+/).forEach((h62) => {
46893
- if (/[0-9.]+(px|pt|em|%)/.test(h62)) {
46896
+ return !s51 || ["none", "inherit", "initial", "unset"].includes(s51) ? { [i55]: false } : (s51.replace(/,\s/g, ",").split(/\s+/).forEach((h61) => {
46897
+ if (/[0-9.]+(px|pt|em|%)/.test(h61)) {
46894
46898
  const g25 = c70.shift();
46895
- g25 && (a79[g25] = h62);
46896
- } else h62 === "inset" ? a79.boxShadowInset = true : a79[S8] = h62;
46899
+ g25 && (a79[g25] = h61);
46900
+ } else h61 === "inset" ? a79.boxShadowInset = true : a79[S8] = h61;
46897
46901
  }), a79[i55] = true, a79);
46898
46902
  }, "extractShadow");
46899
46903
  Object.assign(o57, __spreadValues(__spreadProps(__spreadValues(__spreadProps(__spreadValues({ text: e44.innerText, className: e44.className, href: e44.getAttribute("href") || "" }, C15()), { borderColor: (n55 = t46 == null ? void 0 : t46.borderColor) !== null && n55 !== void 0 ? n55 : "#18ab29", borderRadius: (r71 = t46 == null ? void 0 : t46.borderRadius) !== null && r71 !== void 0 ? r71 : 0, borderSize: (l60 = t46 == null ? void 0 : t46.borderWidth) !== null && l60 !== void 0 ? l60 : 1 }), m53(["boxShadowOffsetX", "boxShadowOffsetY", "boxShadowBlurRadius", "boxShadowSpreadRadius"], { boxShadowBlurRadius: 0, boxShadowColor: "#3dc21b", boxShadowInset: false, boxShadowOffsetX: 0, boxShadowOffsetY: 0, boxShadowSpreadRadius: 0 }, "boxShadow", "boxShadowColor")), { fontColor: t46.color, fontFamily: t46.fontFamily, fontSize: t46.fontSize, fontWeight: t46.fontWeight === "bold", fontItalic: t46.fontStyle === "italic", paddingX: t46.paddingLeft, paddingY: t46.paddingTop }), m53(["textShadowOffsetX", "textShadowOffsetY", "textShadowBlurRadius"], { textShadowBlurRadius: 0, textShadowColor: "#2f6627", textShadowOffsetX: 0, textShadowOffsetY: 1 }, "textShadow", "textShadowColor")));
@@ -47077,11 +47081,11 @@ var c23 = (l26 = class extends UIInput {
47077
47081
  this.popup = o57, this.trigger = Button(this.j, "ok");
47078
47082
  const i55 = this.getElm("wrapper");
47079
47083
  assert(i55 != null, "wrapper element does not exist"), i55.appendChild(this.trigger.container), this.trigger.container.classList.add(this.getFullElName("trigger")), this.trigger.onAction(() => {
47080
- var p62, h62;
47081
- (h62 = (p62 = this.state).onChange) === null || h62 === void 0 || h62.call(p62, this.value), o57.close();
47084
+ var p62, h61;
47085
+ (h61 = (p62 = this.state).onChange) === null || h61 === void 0 || h61.call(p62, this.value), o57.close();
47082
47086
  }), o57.setMod("padding", false).setMod("max-height", false);
47083
- const n55 = this.j.create.div(this.getFullElName("picker")), s51 = d24.createPicker(n55, { paletteEditable: true, showAlpha: true, palette: "PALETTE_MATERIAL_CHROME" }).on("change", (p62, h62) => {
47084
- this.isFocused || (this.value = d24.parseColor(h62 || "", "hex"));
47087
+ const n55 = this.j.create.div(this.getFullElName("picker")), s51 = d24.createPicker(n55, { paletteEditable: true, showAlpha: true, palette: "PALETTE_MATERIAL_CHROME" }).on("change", (p62, h61) => {
47088
+ this.isFocused || (this.value = d24.parseColor(h61 || "", "hex"));
47085
47089
  });
47086
47090
  this.j.e.on(this, "change", () => {
47087
47091
  r71(this.value) !== s51.color && (s51.color = this.value);
@@ -47264,13 +47268,13 @@ var p33 = class p34 extends Plugin {
47264
47268
  afterInit(e44) {
47265
47269
  e44.registerCommand("changeCase", { exec: l28((a79, f49, t46) => {
47266
47270
  t46 = t46.toLowerCase();
47267
- const s51 = e44.s.range, { startContainer: g25, startOffset: h62 } = s51;
47271
+ const s51 = e44.s.range, { startContainer: g25, startOffset: h61 } = s51;
47268
47272
  if (e44.s.isCollapsed()) {
47269
47273
  const r71 = e44.s.current(true);
47270
- r71 && r71.parentElement && this.applyCase(t46, r71.parentElement), s51.setStart(g25, h62), e44.s.selectRange(s51);
47274
+ r71 && r71.parentElement && this.applyCase(t46, r71.parentElement), s51.setStart(g25, h61), e44.s.selectRange(s51);
47271
47275
  } else {
47272
- const r71 = s51.cloneRange(), u56 = s51.cloneRange(), o57 = e44.createInside.fake(), c70 = e44.createInside.fake();
47273
- r71.collapse(true), u56.collapse(false), r71.insertNode(o57), u56.insertNode(c70), Dom.between(o57, c70, (C15) => {
47276
+ const r71 = s51.cloneRange(), u57 = s51.cloneRange(), o57 = e44.createInside.fake(), c70 = e44.createInside.fake();
47277
+ r71.collapse(true), u57.collapse(false), r71.insertNode(o57), u57.insertNode(c70), Dom.between(o57, c70, (C15) => {
47274
47278
  this.applyCase(t46, C15);
47275
47279
  }), s51.setStartAfter(o57), s51.setEndBefore(c70), e44.s.selectRange(s51), Dom.safeRemove(o57), Dom.safeRemove(c70);
47276
47280
  }
@@ -47338,12 +47342,12 @@ init_decorators();
47338
47342
  init_dom();
47339
47343
  init_helpers();
47340
47344
  var C5 = Object.defineProperty;
47341
- var v12 = (u56, t46) => C5(u56, "name", { value: t46, configurable: true });
47345
+ var v12 = (u57, t46) => C5(u57, "name", { value: t46, configurable: true });
47342
47346
  var h28;
47343
- var r40 = function(u56, t46, i55, e44) {
47347
+ var r40 = function(u57, t46, i55, e44) {
47344
47348
  var o57 = arguments.length, s51 = o57 < 3 ? t46 : e44 === null ? e44 = Object.getOwnPropertyDescriptor(t46, i55) : e44, a79;
47345
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(u56, t46, i55, e44);
47346
- else for (var n55 = u56.length - 1; n55 >= 0; n55--) (a79 = u56[n55]) && (s51 = (o57 < 3 ? a79(s51) : o57 > 3 ? a79(t46, i55, s51) : a79(t46, i55)) || s51);
47349
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(u57, t46, i55, e44);
47350
+ else for (var n55 = u57.length - 1; n55 >= 0; n55--) (a79 = u57[n55]) && (s51 = (o57 < 3 ? a79(s51) : o57 > 3 ? a79(t46, i55, s51) : a79(t46, i55)) || s51);
47347
47351
  return o57 > 3 && s51 && Object.defineProperty(t46, i55, s51), s51;
47348
47352
  };
47349
47353
  var c25;
@@ -47704,13 +47708,13 @@ var u35 = n31((t46, e44) => {
47704
47708
  // node_modules/jodit-pro/esm/plugins/finder/helpers/context-menu.js
47705
47709
  init_view_component();
47706
47710
  init_decorators();
47707
- var h31 = Object.defineProperty;
47708
- var n32 = (a79, e44) => h31(a79, "name", { value: e44, configurable: true });
47711
+ var u36 = Object.defineProperty;
47712
+ var n32 = (a79, e44) => u36(a79, "name", { value: e44, configurable: true });
47709
47713
  var s32;
47710
47714
  var c26 = function(a79, e44, t46, o57) {
47711
47715
  var r71 = arguments.length, i55 = r71 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, t46) : o57, f49;
47712
47716
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(a79, e44, t46, o57);
47713
- else for (var u56 = a79.length - 1; u56 >= 0; u56--) (f49 = a79[u56]) && (i55 = (r71 < 3 ? f49(i55) : r71 > 3 ? f49(e44, t46, i55) : f49(e44, t46)) || i55);
47717
+ else for (var h61 = a79.length - 1; h61 >= 0; h61--) (f49 = a79[h61]) && (i55 = (r71 < 3 ? f49(i55) : r71 > 3 ? f49(e44, t46, i55) : f49(e44, t46)) || i55);
47714
47718
  return r71 > 3 && i55 && Object.defineProperty(e44, t46, i55), i55;
47715
47719
  };
47716
47720
  var l33 = (s32 = class extends ViewComponent {
@@ -47741,7 +47745,7 @@ var l33 = (s32 = class extends ViewComponent {
47741
47745
  const t46 = this.j.options, o57 = this.j.dataProvider, r71 = this.j.state.activeElements.length === 1;
47742
47746
  return [{ icon: "pencil", title: "Edit", enabled: !!e44.isImage && t46.editImage && r71 && (o57.canI("ImageResize") || o57.canI("ImageCrop")), exec: n32(() => {
47743
47747
  this.j.e.fire("edit.filebrowser");
47744
- }, "exec") }, { icon: "italic", title: "Rename", enabled: o57.canI("FileRename") && r71, exec: n32(() => this.j.e.fire("fileRename.filebrowser", e44), "exec") }, { icon: "cut", title: "Cut", enabled: o57.canI("FileMove"), exec: n32(() => this.j.e.fire("cut.filebrowser"), "exec") }, { icon: "copy", title: "Copy", enabled: o57.canCopy(true), exec: n32(() => this.j.e.fire("copy.filebrowser"), "exec") }, { icon: "bin", title: "Delete", enabled: o57.canI("FileRemove"), exec: n32(() => this.j.e.fire("fileRemove.filebrowser", e44), "exec") }, { icon: "eye", title: "Preview", enabled: !!(e44.isImage || e44.type === "file") && t46.preview && r71, exec: n32(() => this.j.e.fire("openLightBox.filebrowser", e44), "exec") }, { icon: "upload", title: "Download", exec: n32(() => {
47748
+ }, "exec") }, { icon: "italic", title: "Rename", enabled: o57.canI("FileRename") && r71, exec: n32(() => this.j.e.fire("fileRename.filebrowser", e44), "exec") }, { icon: "cut", title: "Cut", enabled: o57.canI("FileMove"), exec: n32(() => this.j.e.fire("cut.filebrowser"), "exec") }, { icon: "copy", title: "Copy", enabled: o57.canCopy(true), exec: n32(() => this.j.e.fire("copy.filebrowser"), "exec") }, { icon: "bin", title: "Delete", enabled: o57.canI("FileRemove"), exec: n32(() => this.j.e.fire("fileRemove.filebrowser", e44), "exec") }, { icon: "eye", title: "Preview", enabled: !!(e44.isImage || e44.type === "file") && t46.preview && r71, exec: n32(() => this.j.e.fire("openLightBox.filebrowser", e44), "exec") }, { icon: "download", title: "Download", exec: n32(() => {
47745
47749
  e44.fileURL && this.j.ow.open(e44.fileURL);
47746
47750
  }, "exec") }];
47747
47751
  }
@@ -47783,7 +47787,7 @@ c26([watch(":contextmenuFolder.filebrowser")], l33.prototype, "onFolderContext",
47783
47787
  // node_modules/jodit-pro/esm/plugins/finder/helpers/data-provider.js
47784
47788
  init_helpers();
47785
47789
  var d29 = Object.defineProperty;
47786
- var l34 = (u56, o57) => d29(u56, "name", { value: o57, configurable: true });
47790
+ var l34 = (u57, o57) => d29(u57, "name", { value: o57, configurable: true });
47787
47791
  var i31 = class i32 extends DataProvider {
47788
47792
  copy(o57, e44, s51, t46) {
47789
47793
  const n55 = t46 ? "fileCopy" : "folderCopy", r71 = this.o[n55];
@@ -47808,12 +47812,12 @@ init_view_component();
47808
47812
  init_decorators();
47809
47813
  init_extend();
47810
47814
  var f25 = Object.defineProperty;
47811
- var p39 = (h62, t46) => f25(h62, "name", { value: t46, configurable: true });
47815
+ var p39 = (h61, t46) => f25(h61, "name", { value: t46, configurable: true });
47812
47816
  var o35;
47813
- var c28 = function(h62, t46, e44, s51) {
47814
- var r71 = arguments.length, n55 = r71 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, e44) : s51, u56;
47815
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(h62, t46, e44, s51);
47816
- else for (var a79 = h62.length - 1; a79 >= 0; a79--) (u56 = h62[a79]) && (n55 = (r71 < 3 ? u56(n55) : r71 > 3 ? u56(t46, e44, n55) : u56(t46, e44)) || n55);
47817
+ var c28 = function(h61, t46, e44, s51) {
47818
+ var r71 = arguments.length, n55 = r71 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, e44) : s51, u57;
47819
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(h61, t46, e44, s51);
47820
+ else for (var a79 = h61.length - 1; a79 >= 0; a79--) (u57 = h61[a79]) && (n55 = (r71 < 3 ? u57(n55) : r71 > 3 ? u57(t46, e44, n55) : u57(t46, e44)) || n55);
47817
47821
  return r71 > 3 && n55 && Object.defineProperty(t46, e44, n55), n55;
47818
47822
  };
47819
47823
  var i33 = (o35 = class extends ViewComponent {
@@ -47864,10 +47868,10 @@ init_decorators();
47864
47868
  var g12 = Object.defineProperty;
47865
47869
  var c29 = (i55, t46) => g12(i55, "name", { value: t46, configurable: true });
47866
47870
  var l35;
47867
- var h32 = function(i55, t46, e44, o57) {
47871
+ var h31 = function(i55, t46, e44, o57) {
47868
47872
  var n55 = arguments.length, s51 = n55 < 3 ? t46 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t46, e44) : o57, a79;
47869
47873
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(i55, t46, e44, o57);
47870
- else for (var u56 = i55.length - 1; u56 >= 0; u56--) (a79 = i55[u56]) && (s51 = (n55 < 3 ? a79(s51) : n55 > 3 ? a79(t46, e44, s51) : a79(t46, e44)) || s51);
47874
+ else for (var u57 = i55.length - 1; u57 >= 0; u57--) (a79 = i55[u57]) && (s51 = (n55 < 3 ? a79(s51) : n55 > 3 ? a79(t46, e44, s51) : a79(t46, e44)) || s51);
47871
47875
  return n55 > 3 && s51 && Object.defineProperty(t46, e44, s51), s51;
47872
47876
  };
47873
47877
  var r43 = (l35 = class extends ViewComponent {
@@ -47937,10 +47941,10 @@ var r43 = (l35 = class extends ViewComponent {
47937
47941
  return t46 !== this.__tick ? Promise.resolve() : this.__loadItemsChunk(t46);
47938
47942
  }
47939
47943
  }, c29(l35, "LoadingManager"), l35);
47940
- h32([watch(":update.filebrowser")], r43.prototype, "onUpdateFileBrowser", null), h32([watch(["state.currentPath", "state.currentSource", "state.onlyImages"]), debounce((i55) => ({ timeout: i55.defaultTimeout, promisify: true }))], r43.prototype, "loadFolders", null), h32([watch(["state.currentPath", "state.currentSource", "state.sortBy", "state.onlyImages", "state.foldersPosition", "state.filterWord"]), debounce((i55) => ({ timeout: i55.defaultTimeout, promisify: true }))], r43.prototype, "loadItems", null), h32([debounce((i55) => ({ timeout: i55.defaultTimeout, promisify: true }))], r43.prototype, "loadItemsChunk", null), r43 = h32([component], r43);
47944
+ h31([watch(":update.filebrowser")], r43.prototype, "onUpdateFileBrowser", null), h31([watch(["state.currentPath", "state.currentSource", "state.onlyImages"]), debounce((i55) => ({ timeout: i55.defaultTimeout, promisify: true }))], r43.prototype, "loadFolders", null), h31([watch(["state.currentPath", "state.currentSource", "state.sortBy", "state.onlyImages", "state.foldersPosition", "state.filterWord"]), debounce((i55) => ({ timeout: i55.defaultTimeout, promisify: true }))], r43.prototype, "loadItems", null), h31([debounce((i55) => ({ timeout: i55.defaultTimeout, promisify: true }))], r43.prototype, "loadItemsChunk", null), r43 = h31([component], r43);
47941
47945
  function m23(i55, t46, e44, o57) {
47942
- const { currentPath: n55, currentSource: s51, sortBy: a79, withFolders: u56, foldersPosition: _12, onlyImages: p62, filterWord: P4 } = i55;
47943
- return t46.itemsEx(n55, s51, { offset: e44, limit: o57, sortBy: a79, withFolders: u56, foldersPosition: _12, onlyImages: p62, filterWord: P4 });
47946
+ const { currentPath: n55, currentSource: s51, sortBy: a79, withFolders: u57, foldersPosition: _12, onlyImages: p62, filterWord: P4 } = i55;
47947
+ return t46.itemsEx(n55, s51, { offset: e44, limit: o57, sortBy: a79, withFolders: u57, foldersPosition: _12, onlyImages: p62, filterWord: P4 });
47944
47948
  }
47945
47949
  c29(m23, "loadPartItems");
47946
47950
 
@@ -47950,18 +47954,18 @@ init_decorators();
47950
47954
  var S4 = Object.defineProperty;
47951
47955
  var d30 = (a79, e44) => S4(a79, "name", { value: e44, configurable: true });
47952
47956
  var n33;
47953
- var o36 = function(a79, e44, h62, l60) {
47954
- var w9 = arguments.length, r71 = w9 < 3 ? e44 : l60 === null ? l60 = Object.getOwnPropertyDescriptor(e44, h62) : l60, p62;
47955
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(a79, e44, h62, l60);
47956
- else for (var v22 = a79.length - 1; v22 >= 0; v22--) (p62 = a79[v22]) && (r71 = (w9 < 3 ? p62(r71) : w9 > 3 ? p62(e44, h62, r71) : p62(e44, h62)) || r71);
47957
- return w9 > 3 && r71 && Object.defineProperty(e44, h62, r71), r71;
47957
+ var o36 = function(a79, e44, h61, l60) {
47958
+ var w9 = arguments.length, r71 = w9 < 3 ? e44 : l60 === null ? l60 = Object.getOwnPropertyDescriptor(e44, h61) : l60, p62;
47959
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(a79, e44, h61, l60);
47960
+ else for (var v22 = a79.length - 1; v22 >= 0; v22--) (p62 = a79[v22]) && (r71 = (w9 < 3 ? p62(r71) : w9 > 3 ? p62(e44, h61, r71) : p62(e44, h61)) || r71);
47961
+ return w9 > 3 && r71 && Object.defineProperty(e44, h61, r71), r71;
47958
47962
  };
47959
47963
  var t24 = (n33 = class extends ViewComponent {
47960
47964
  className() {
47961
47965
  return "PersistentStore";
47962
47966
  }
47963
- constructor(e44, h62) {
47964
- super(e44), this.state = h62, this.sortBy = "changed-desc", this.view = "tiles", this.foldersPosition = "top", this.tileSize = "default", this.favorites = [], this.showSideBar = true, this.showPreview = false, this.showFavorites = true;
47967
+ constructor(e44, h61) {
47968
+ super(e44), this.state = h61, this.sortBy = "changed-desc", this.view = "tiles", this.foldersPosition = "top", this.tileSize = "default", this.favorites = [], this.showSideBar = true, this.showPreview = false, this.showFavorites = true;
47965
47969
  }
47966
47970
  onChangeThemeSetField() {
47967
47971
  this.theme = this.state.theme;
@@ -48018,10 +48022,10 @@ var l36 = (s51, e44) => I(s51, "name", { value: e44, configurable: true });
48018
48022
  var c30 = function(s51, e44, t46, i55) {
48019
48023
  var r71 = arguments.length, n55 = r71 < 3 ? e44 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(e44, t46) : i55, a79;
48020
48024
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(s51, e44, t46, i55);
48021
- else for (var h62 = s51.length - 1; h62 >= 0; h62--) (a79 = s51[h62]) && (n55 = (r71 < 3 ? a79(n55) : r71 > 3 ? a79(e44, t46, n55) : a79(e44, t46)) || n55);
48025
+ else for (var h61 = s51.length - 1; h61 >= 0; h61--) (a79 = s51[h61]) && (n55 = (r71 < 3 ? a79(n55) : r71 > 3 ? a79(e44, t46, n55) : a79(e44, t46)) || n55);
48022
48026
  return r71 > 3 && n55 && Object.defineProperty(e44, t46, n55), n55;
48023
48027
  };
48024
- var u36 = class u37 {
48028
+ var u37 = class u38 {
48025
48029
  constructor(e44) {
48026
48030
  this.state = e44;
48027
48031
  }
@@ -48071,8 +48075,8 @@ var u36 = class u37 {
48071
48075
  return this.state.favorites === this.state.elements;
48072
48076
  }
48073
48077
  };
48074
- l36(u36, "StateManager");
48075
- var o37 = u36;
48078
+ l36(u37, "StateManager");
48079
+ var o37 = u37;
48076
48080
  c30([autobind], o37.prototype, "getIndex", null), c30([autobind], o37.prototype, "isActive", null), c30([autobind], o37.prototype, "isFavorite", null);
48077
48081
  function y4(s51, e44) {
48078
48082
  return s51.split("/").reduce((t46, i55) => t46 && v13(t46.children, i55), e44);
@@ -48105,7 +48109,7 @@ var s33;
48105
48109
  var d32 = function(a79, t46, r71, e44) {
48106
48110
  var i55 = arguments.length, o57 = i55 < 3 ? t46 : e44 === null ? e44 = Object.getOwnPropertyDescriptor(t46, r71) : e44, n55;
48107
48111
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(a79, t46, r71, e44);
48108
- else for (var h62 = a79.length - 1; h62 >= 0; h62--) (n55 = a79[h62]) && (o57 = (i55 < 3 ? n55(o57) : i55 > 3 ? n55(t46, r71, o57) : n55(t46, r71)) || o57);
48112
+ else for (var h61 = a79.length - 1; h61 >= 0; h61--) (n55 = a79[h61]) && (o57 = (i55 < 3 ? n55(o57) : i55 > 3 ? n55(t46, r71, o57) : n55(t46, r71)) || o57);
48109
48113
  return i55 > 3 && o57 && Object.defineProperty(t46, r71, o57), o57;
48110
48114
  };
48111
48115
  var l37 = (s33 = class extends UIGroup {
@@ -48151,9 +48155,9 @@ var p42 = Object.defineProperty;
48151
48155
  var d33 = (l60, e44) => p42(l60, "name", { value: e44, configurable: true });
48152
48156
  var r44;
48153
48157
  var a48 = function(l60, e44, t46, i55) {
48154
- var s51 = arguments.length, n55 = s51 < 3 ? e44 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(e44, t46) : i55, h62;
48158
+ var s51 = arguments.length, n55 = s51 < 3 ? e44 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(e44, t46) : i55, h61;
48155
48159
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(l60, e44, t46, i55);
48156
- else for (var c70 = l60.length - 1; c70 >= 0; c70--) (h62 = l60[c70]) && (n55 = (s51 < 3 ? h62(n55) : s51 > 3 ? h62(e44, t46, n55) : h62(e44, t46)) || n55);
48160
+ else for (var c70 = l60.length - 1; c70 >= 0; c70--) (h61 = l60[c70]) && (n55 = (s51 < 3 ? h61(n55) : s51 > 3 ? h61(e44, t46, n55) : h61(e44, t46)) || n55);
48157
48161
  return s51 > 3 && n55 && Object.defineProperty(e44, t46, n55), n55;
48158
48162
  };
48159
48163
  var m25;
@@ -48351,7 +48355,7 @@ var c33 = function(o57, e44, t46, i55) {
48351
48355
  else for (var v22 = o57.length - 1; v22 >= 0; v22--) (r71 = o57[v22]) && (s51 = (n55 < 3 ? r71(s51) : n55 > 3 ? r71(e44, t46, s51) : r71(e44, t46)) || s51);
48352
48356
  return n55 > 3 && s51 && Object.defineProperty(e44, t46, s51), s51;
48353
48357
  };
48354
- var u38 = (l39 = class extends UIGroup {
48358
+ var u39 = (l39 = class extends UIGroup {
48355
48359
  className() {
48356
48360
  return "UIBrowserSettings";
48357
48361
  }
@@ -48402,7 +48406,7 @@ var u38 = (l39 = class extends UIGroup {
48402
48406
  }, "onChange") })]), this.onChangeView();
48403
48407
  }
48404
48408
  }, a50(l39, "UIBrowserSettings"), l39);
48405
- c33([watch("state.view")], u38.prototype, "onChangeView", null), u38 = c33([component], u38);
48409
+ c33([watch("state.view")], u39.prototype, "onChangeView", null), u39 = c33([component], u39);
48406
48410
 
48407
48411
  // node_modules/jodit-pro/esm/plugins/finder/ui/sidebar/sidebar.js
48408
48412
  init_decorators();
@@ -48412,9 +48416,9 @@ var v15 = Object.defineProperty;
48412
48416
  var p45 = (n55, e44) => v15(n55, "name", { value: e44, configurable: true });
48413
48417
  var r45;
48414
48418
  var a51 = function(n55, e44, t46, s51) {
48415
- var l60 = arguments.length, o57 = l60 < 3 ? e44 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(e44, t46) : s51, h62;
48419
+ var l60 = arguments.length, o57 = l60 < 3 ? e44 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(e44, t46) : s51, h61;
48416
48420
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(n55, e44, t46, s51);
48417
- else for (var c70 = n55.length - 1; c70 >= 0; c70--) (h62 = n55[c70]) && (o57 = (l60 < 3 ? h62(o57) : l60 > 3 ? h62(e44, t46, o57) : h62(e44, t46)) || o57);
48421
+ else for (var c70 = n55.length - 1; c70 >= 0; c70--) (h61 = n55[c70]) && (o57 = (l60 < 3 ? h61(o57) : l60 > 3 ? h61(e44, t46, o57) : h61(e44, t46)) || o57);
48418
48422
  return l60 > 3 && o57 && Object.defineProperty(e44, t46, o57), o57;
48419
48423
  };
48420
48424
  var i34 = (r45 = class extends UIGroup {
@@ -48498,9 +48502,9 @@ a52 = m27([component], a52);
48498
48502
 
48499
48503
  // node_modules/jodit-pro/esm/plugins/finder/ui/tree/tree.js
48500
48504
  var d37 = Object.defineProperty;
48501
- var h33 = (i55, e44) => d37(i55, "name", { value: e44, configurable: true });
48505
+ var h32 = (i55, e44) => d37(i55, "name", { value: e44, configurable: true });
48502
48506
  var n35;
48503
- var u39 = function(i55, e44, r71, o57) {
48507
+ var u40 = function(i55, e44, r71, o57) {
48504
48508
  var c70 = arguments.length, t46 = c70 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, r71) : o57, l60;
48505
48509
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t46 = Reflect.decorate(i55, e44, r71, o57);
48506
48510
  else for (var s51 = i55.length - 1; s51 >= 0; s51--) (l60 = i55[s51]) && (t46 = (c70 < 3 ? l60(t46) : c70 > 3 ? l60(e44, r71, t46) : l60(e44, r71)) || t46);
@@ -48520,12 +48524,12 @@ var p46 = f28 = (n35 = class extends UIGroup {
48520
48524
  this.append(o57), r71.isActive && o57.setMod("active", true), r71.children.length && this.append(new f28(this.jodit, r71.children));
48521
48525
  });
48522
48526
  }
48523
- }, h33(n35, "UITree"), n35);
48524
- p46 = f28 = u39([component], p46);
48527
+ }, h32(n35, "UITree"), n35);
48528
+ p46 = f28 = u40([component], p46);
48525
48529
 
48526
48530
  // node_modules/jodit-pro/esm/plugins/finder/ui/source/source.js
48527
- var h34 = Object.defineProperty;
48528
- var u40 = (i55, e44) => h34(i55, "name", { value: e44, configurable: true });
48531
+ var h33 = Object.defineProperty;
48532
+ var u41 = (i55, e44) => h33(i55, "name", { value: e44, configurable: true });
48529
48533
  var s34;
48530
48534
  var p47 = function(i55, e44, t46, n55) {
48531
48535
  var o57 = arguments.length, r71 = o57 < 3 ? e44 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(e44, t46) : n55, c70;
@@ -48550,7 +48554,7 @@ var m28 = (s34 = class extends UIElement {
48550
48554
  const o57 = this.getElm("tree");
48551
48555
  assert(o57 != null, "tree element does not exists"), o57.appendChild(this.tree.container), e44.e.on(this.container, "contextmenu", (r71) => e44.e.fire("contextmenuSource.filebrowser", t46, r71));
48552
48556
  }
48553
- }, u40(s34, "UIBrowserSource"), s34);
48557
+ }, u41(s34, "UIBrowserSource"), s34);
48554
48558
  m28 = p47([component], m28);
48555
48559
 
48556
48560
  // node_modules/jodit-pro/esm/plugins/finder/ui/sources/sources.js
@@ -48563,7 +48567,7 @@ var m29 = function(c70, e44, o57, n55) {
48563
48567
  else for (var i55 = c70.length - 1; i55 >= 0; i55--) (f49 = c70[i55]) && (r71 = (s51 < 3 ? f49(r71) : s51 > 3 ? f49(e44, o57, r71) : f49(e44, o57)) || r71);
48564
48568
  return s51 > 3 && r71 && Object.defineProperty(e44, o57, r71), r71;
48565
48569
  };
48566
- var u41 = (t25 = class extends UIGroup {
48570
+ var u42 = (t25 = class extends UIGroup {
48567
48571
  constructor() {
48568
48572
  super(...arguments), this.syncMod = true;
48569
48573
  }
@@ -48576,7 +48580,7 @@ var u41 = (t25 = class extends UIGroup {
48576
48580
  });
48577
48581
  }
48578
48582
  }, p48(t25, "UIBrowserSources"), t25);
48579
- u41 = m29([component], u41);
48583
+ u42 = m29([component], u42);
48580
48584
 
48581
48585
  // node_modules/jodit-pro/esm/plugins/finder/ui/statusbar/statusbar.js
48582
48586
  init_decorators();
@@ -48633,8 +48637,8 @@ var n36 = class n37 {
48633
48637
  t46.j.lock(), t46.j.e.on(t46.j.ow, "mousemove touchmove", s51).one(t46.j.ow, "mouseup touchend", this.onEndSelect.bind(this, t46, c70, s51)), t46.onSelectItems({ left: i55.x, top: i55.y, width: 0, height: 0 });
48634
48638
  }
48635
48639
  static onSelect(t46, c70, o57, i55) {
48636
- const s51 = o57.x > i55.clientX ? i55.clientX : o57.x, f49 = o57.y > i55.clientY ? i55.clientY : o57.y, h62 = { left: s51, top: f49, width: Math.abs(o57.x - i55.clientX), height: Math.abs(o57.y - i55.clientY) };
48637
- css(c70, h62), t46.onSelectItems(h62);
48640
+ const s51 = o57.x > i55.clientX ? i55.clientX : o57.x, f49 = o57.y > i55.clientY ? i55.clientY : o57.y, h61 = { left: s51, top: f49, width: Math.abs(o57.x - i55.clientX), height: Math.abs(o57.y - i55.clientY) };
48641
+ css(c70, h61), t46.onSelectItems(h61);
48638
48642
  }
48639
48643
  static onEndSelect(t46, c70, o57, i55) {
48640
48644
  Dom.safeRemove(c70), t46.j.e.off(t46.j.ow, "mousemove touchmove", o57), t46.j.unlock();
@@ -48645,12 +48649,12 @@ var r46 = n36;
48645
48649
 
48646
48650
  // node_modules/jodit-pro/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js
48647
48651
  var m31 = Object.defineProperty;
48648
- var u42 = (a79, e44) => m31(a79, "name", { value: e44, configurable: true });
48652
+ var u43 = (a79, e44) => m31(a79, "name", { value: e44, configurable: true });
48649
48653
  var l42;
48650
48654
  var c34 = function(a79, e44, t46, o57) {
48651
- var s51 = arguments.length, i55 = s51 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, t46) : o57, h62;
48655
+ var s51 = arguments.length, i55 = s51 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, t46) : o57, h61;
48652
48656
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(a79, e44, t46, o57);
48653
- else for (var d55 = a79.length - 1; d55 >= 0; d55--) (h62 = a79[d55]) && (i55 = (s51 < 3 ? h62(i55) : s51 > 3 ? h62(e44, t46, i55) : h62(e44, t46)) || i55);
48657
+ else for (var d55 = a79.length - 1; d55 >= 0; d55--) (h61 = a79[d55]) && (i55 = (s51 < 3 ? h61(i55) : s51 > 3 ? h61(e44, t46, i55) : h61(e44, t46)) || i55);
48654
48658
  return s51 > 3 && i55 && Object.defineProperty(e44, t46, i55), i55;
48655
48659
  };
48656
48660
  var f30;
@@ -48726,16 +48730,16 @@ var r47 = f30 = (l42 = class extends UIGroup {
48726
48730
  f30.intersectRect(s51, e44) && t46.push(o57.item);
48727
48731
  }), this.stateManager.state.activeElements = t46;
48728
48732
  }
48729
- }, u42(l42, "UIVirtualScroll"), l42);
48733
+ }, u43(l42, "UIVirtualScroll"), l42);
48730
48734
  c34([watch(":afterResize"), watch(":resize"), watch("container:scroll"), throttle()], r47.prototype, "onScrollLoadChunk", null), c34([watch("container:contextmenu")], r47.prototype, "onAreaContextMenu", null), c34([watch("container:dragover")], r47.prototype, "onDragOver", null), c34([watch(["container:dragleave", "container:drop"])], r47.prototype, "onDragLeave", null), r47 = f30 = c34([component], r47);
48731
48735
 
48732
48736
  // node_modules/jodit-pro/esm/plugins/finder/ui/panel/panel.js
48733
48737
  var d39 = Object.defineProperty;
48734
48738
  var p49 = (r71, t46) => d39(r71, "name", { value: t46, configurable: true });
48735
48739
  var a54;
48736
- var o39 = function(r71, t46, e44, h62) {
48737
- var l60 = arguments.length, n55 = l60 < 3 ? t46 : h62 === null ? h62 = Object.getOwnPropertyDescriptor(t46, e44) : h62, g25;
48738
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(r71, t46, e44, h62);
48740
+ var o39 = function(r71, t46, e44, h61) {
48741
+ var l60 = arguments.length, n55 = l60 < 3 ? t46 : h61 === null ? h61 = Object.getOwnPropertyDescriptor(t46, e44) : h61, g25;
48742
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(r71, t46, e44, h61);
48739
48743
  else for (var c70 = r71.length - 1; c70 >= 0; c70--) (g25 = r71[c70]) && (n55 = (l60 < 3 ? g25(n55) : l60 > 3 ? g25(t46, e44, n55) : g25(t46, e44)) || n55);
48740
48744
  return l60 > 3 && n55 && Object.defineProperty(t46, e44, n55), n55;
48741
48745
  };
@@ -48760,7 +48764,7 @@ var s35 = (a54 = class extends UIGroup {
48760
48764
  </div>`;
48761
48765
  }
48762
48766
  constructor(t46, e44) {
48763
- super(t46), this.stateManager = e44, this.syncMod = true, this.sources = new u41(this.j), this.sidebar = new i34(this.jodit, [this.sources], this.stateManager.state), this.preview = new m26(this.jodit, this.stateManager.state), this.statusbar = new f29(this.j), this.items = new r47(this.j, this.stateManager), this.settings = new u38(this.jodit, this.stateManager.state), this.state = e44.state, this.append(this.sidebar, "content"), this.append(this.items, "content"), this.append(this.settings, "content"), this.append(this.preview, "content"), this.append(this.statusbar, "footer"), this.onChangeElements(), this.onChangeSources(), this.onChangeView(), this.onChangeTileSize(), this.onChangeShowFavorites(), this.onChangeActiveElements(), this.onChangeFavorites(), this.onChangeShowSideBar(), this.onChangeShowSettings(), this.onChangeShowPreview(), this.onChangeTheme();
48767
+ super(t46), this.stateManager = e44, this.syncMod = true, this.sources = new u42(this.j), this.sidebar = new i34(this.jodit, [this.sources], this.stateManager.state), this.preview = new m26(this.jodit, this.stateManager.state), this.statusbar = new f29(this.j), this.items = new r47(this.j, this.stateManager), this.settings = new u39(this.jodit, this.stateManager.state), this.state = e44.state, this.append(this.sidebar, "content"), this.append(this.items, "content"), this.append(this.settings, "content"), this.append(this.preview, "content"), this.append(this.statusbar, "footer"), this.onChangeElements(), this.onChangeSources(), this.onChangeView(), this.onChangeTileSize(), this.onChangeShowFavorites(), this.onChangeActiveElements(), this.onChangeFavorites(), this.onChangeShowSideBar(), this.onChangeShowSettings(), this.onChangeShowPreview(), this.onChangeTheme();
48764
48768
  }
48765
48769
  onChangeTheme() {
48766
48770
  this.setMod("theme", this.stateManager.state.theme);
@@ -48839,14 +48843,14 @@ o39([watch("state.theme")], s35.prototype, "onChangeTheme", null), o39([watch("s
48839
48843
 
48840
48844
  // node_modules/jodit-pro/esm/plugins/finder/ui/progress/progress.js
48841
48845
  init_decorators();
48842
- var u43 = Object.defineProperty;
48843
- var c35 = (o57, e44) => u43(o57, "name", { value: e44, configurable: true });
48846
+ var u44 = Object.defineProperty;
48847
+ var c35 = (o57, e44) => u44(o57, "name", { value: e44, configurable: true });
48844
48848
  var r48;
48845
48849
  var f31 = function(o57, e44, s51, i55) {
48846
- var h62 = arguments.length, t46 = h62 < 3 ? e44 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(e44, s51) : i55, n55;
48850
+ var h61 = arguments.length, t46 = h61 < 3 ? e44 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(e44, s51) : i55, n55;
48847
48851
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t46 = Reflect.decorate(o57, e44, s51, i55);
48848
- else for (var p62 = o57.length - 1; p62 >= 0; p62--) (n55 = o57[p62]) && (t46 = (h62 < 3 ? n55(t46) : h62 > 3 ? n55(e44, s51, t46) : n55(e44, s51)) || t46);
48849
- return h62 > 3 && t46 && Object.defineProperty(e44, s51, t46), t46;
48852
+ else for (var p62 = o57.length - 1; p62 >= 0; p62--) (n55 = o57[p62]) && (t46 = (h61 < 3 ? n55(t46) : h61 > 3 ? n55(e44, s51, t46) : n55(e44, s51)) || t46);
48853
+ return h61 > 3 && t46 && Object.defineProperty(e44, s51, t46), t46;
48850
48854
  };
48851
48855
  var l43 = (r48 = class extends ProgressBar {
48852
48856
  className() {
@@ -48878,12 +48882,12 @@ init_constants();
48878
48882
  init_decorators();
48879
48883
  init_helpers();
48880
48884
  var S5 = Object.defineProperty;
48881
- var d40 = (u56, e44) => S5(u56, "name", { value: e44, configurable: true });
48885
+ var d40 = (u57, e44) => S5(u57, "name", { value: e44, configurable: true });
48882
48886
  var c36;
48883
- var a55 = function(u56, e44, t46, s51) {
48887
+ var a55 = function(u57, e44, t46, s51) {
48884
48888
  var i55 = arguments.length, n55 = i55 < 3 ? e44 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(e44, t46) : s51, r71;
48885
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(u56, e44, t46, s51);
48886
- else for (var h62 = u56.length - 1; h62 >= 0; h62--) (r71 = u56[h62]) && (n55 = (i55 < 3 ? r71(n55) : i55 > 3 ? r71(e44, t46, n55) : r71(e44, t46)) || n55);
48889
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(u57, e44, t46, s51);
48890
+ else for (var h61 = u57.length - 1; h61 >= 0; h61--) (r71 = u57[h61]) && (n55 = (i55 < 3 ? r71(n55) : i55 > 3 ? r71(e44, t46, n55) : r71(e44, t46)) || n55);
48887
48891
  return i55 > 3 && n55 && Object.defineProperty(e44, t46, n55), n55;
48888
48892
  };
48889
48893
  var o40 = (c36 = class _this extends Dialog {
@@ -48959,8 +48963,8 @@ var o40 = (c36 = class _this extends Dialog {
48959
48963
  let r71;
48960
48964
  if ([KEY_RIGHT, KEY_LEFT].includes(e44.key)) i55 ? r71 = s51[n55 + 1] ? n55 + 1 : 0 : r71 = s51[n55 - 1] ? n55 - 1 : s51.length - 1;
48961
48965
  else {
48962
- const { countInRow: h62 } = this.panel;
48963
- r71 = Math.round(((n55 + 1) / h62 + (i55 ? 1 : -1)) * h62 - 1);
48966
+ const { countInRow: h61 } = this.panel;
48967
+ r71 = Math.round(((n55 + 1) / h61 + (i55 ? 1 : -1)) * h61 - 1);
48964
48968
  }
48965
48969
  return s51[r71] && this.stateManager.addActive(s51[r71], e44.shiftKey), false;
48966
48970
  }
@@ -48997,12 +49001,12 @@ var o40 = (c36 = class _this extends Dialog {
48997
49001
  t46.some((r71) => r71.mode === "cut") && (this.state.clipboard = []);
48998
49002
  const s51 = s31(e44.path), i55 = d40(() => __async(this, null, function* () {
48999
49003
  let r71 = 0;
49000
- for (const h62 of t46) {
49001
- const b16 = h62.type === "file";
49002
- if (h62.mode === "cut") {
49003
- if (h30(h62.from) === s51) continue;
49004
- yield this.dataProvider.move(h62.from, s51, e44.sourceName, b16);
49005
- } else yield this.dataProvider.copy(h62.from, s51, e44.sourceName, b16);
49004
+ for (const h61 of t46) {
49005
+ const b16 = h61.type === "file";
49006
+ if (h61.mode === "cut") {
49007
+ if (h30(h61.from) === s51) continue;
49008
+ yield this.dataProvider.move(h61.from, s51, e44.sourceName, b16);
49009
+ } else yield this.dataProvider.copy(h61.from, s51, e44.sourceName, b16);
49006
49010
  r71 += 1;
49007
49011
  }
49008
49012
  return r71;
@@ -49310,18 +49314,18 @@ function A3() {
49310
49314
  n38 = true, a58.forEach((e44) => e44());
49311
49315
  }
49312
49316
  o42(A3, "GoogleAuthFailureHandler");
49313
- function h35(e44) {
49317
+ function h34(e44) {
49314
49318
  n38 ? e44() : a58.push(e44);
49315
49319
  }
49316
- o42(h35, "googleAuthFailure");
49320
+ o42(h34, "googleAuthFailure");
49317
49321
  function x8() {
49318
49322
  return n38;
49319
49323
  }
49320
49324
  o42(x8, "isApiFailed");
49321
49325
  function s38(e44, t46 = false) {
49322
49326
  const p62 = [];
49323
- if (Array.isArray(e44)) if (Array.isArray(e44[0]) || Array.isArray(e44[1])) e44.forEach((u56) => {
49324
- p62.push(s38(u56, t46));
49327
+ if (Array.isArray(e44)) if (Array.isArray(e44[0]) || Array.isArray(e44[1])) e44.forEach((u57) => {
49328
+ p62.push(s38(u57, t46));
49325
49329
  });
49326
49330
  else return t46 ? { lat: e44[0], lng: e44[1] } : new google.maps.LatLng(e44[0], e44[1]);
49327
49331
  return p62;
@@ -49344,7 +49348,7 @@ o42(F2, "isApiAvailable");
49344
49348
  init_strip_tags();
49345
49349
  var d42 = Object.defineProperty;
49346
49350
  var s39 = (e44, o57) => d42(e44, "name", { value: o57, configurable: true });
49347
- function h36(e44) {
49351
+ function h35(e44) {
49348
49352
  return e44.state.elements.map((o57) => {
49349
49353
  var r71, t46, n55, a79, i55, l60;
49350
49354
  switch (o57.type) {
@@ -49358,14 +49362,14 @@ function h36(e44) {
49358
49362
  return "";
49359
49363
  }).join("");
49360
49364
  }
49361
- s39(h36, "generateStaticElements");
49365
+ s39(h35, "generateStaticElements");
49362
49366
 
49363
49367
  // node_modules/jodit-pro/esm/plugins/google-maps/helpers/static-url.js
49364
49368
  var s40 = Object.defineProperty;
49365
49369
  var o43 = (e44, t46) => s40(e44, "name", { value: t46, configurable: true });
49366
49370
  function i40(e44) {
49367
49371
  const { state: t46 } = e44;
49368
- return `https://maps.googleapis.com/maps/api/staticmap?center=${t46.center.join(",")}&zoom=${t46.zoom}&size=${t46.size.join("x")}&maptype=${t46.type}&key=${e44.options.googleMaps.API_KEY}` + h36(e44);
49372
+ return `https://maps.googleapis.com/maps/api/staticmap?center=${t46.center.join(",")}&zoom=${t46.zoom}&size=${t46.size.join("x")}&maptype=${t46.type}&key=${e44.options.googleMaps.API_KEY}` + h35(e44);
49369
49373
  }
49370
49374
  o43(i40, "staticUrl");
49371
49375
 
@@ -49373,7 +49377,7 @@ o43(i40, "staticUrl");
49373
49377
  init_decorators();
49374
49378
  var d43 = Object.defineProperty;
49375
49379
  var s41 = (c70, e44) => d43(c70, "name", { value: e44, configurable: true });
49376
- var u44 = function(c70, e44, t46, o57) {
49380
+ var u45 = function(c70, e44, t46, o57) {
49377
49381
  var l60 = arguments.length, n55 = l60 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, t46) : o57, p62;
49378
49382
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(c70, e44, t46, o57);
49379
49383
  else for (var a79 = c70.length - 1; a79 >= 0; a79--) (p62 = c70[a79]) && (n55 = (l60 < 3 ? p62(n55) : l60 > 3 ? p62(e44, t46, n55) : p62(e44, t46)) || n55);
@@ -49398,7 +49402,7 @@ var i41 = class i42 extends UIInput {
49398
49402
  };
49399
49403
  s41(i41, "UIComboBox");
49400
49404
  var r52 = i41;
49401
- u44([hook("ready")], r52.prototype, "onReady", null), u44([watch("nativeInput:input"), debounce()], r52.prototype, "onInput", null);
49405
+ u45([hook("ready")], r52.prototype, "onReady", null), u45([watch("nativeInput:input"), debounce()], r52.prototype, "onInput", null);
49402
49406
 
49403
49407
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/editors/marker/marker.js
49404
49408
  init_decorators();
@@ -49431,8 +49435,8 @@ var e23 = t28;
49431
49435
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js
49432
49436
  init_component();
49433
49437
  init_assert();
49434
- var u45 = Object.defineProperty;
49435
- var m32 = (s51, e44) => u45(s51, "name", { value: e44, configurable: true });
49438
+ var u46 = Object.defineProperty;
49439
+ var m32 = (s51, e44) => u46(s51, "name", { value: e44, configurable: true });
49436
49440
  var n39;
49437
49441
  var f32 = function(s51, e44, i55, l60) {
49438
49442
  var r71 = arguments.length, t46 = r71 < 3 ? e44 : l60 === null ? l60 = Object.getOwnPropertyDescriptor(e44, i55) : l60, o57;
@@ -49497,7 +49501,7 @@ var p50 = function(i55, e44, t46, o57) {
49497
49501
  else for (var f49 = i55.length - 1; f49 >= 0; f49--) (s51 = i55[f49]) && (r71 = (l60 < 3 ? s51(r71) : l60 > 3 ? s51(e44, t46, r71) : s51(e44, t46)) || r71);
49498
49502
  return l60 > 3 && r71 && Object.defineProperty(e44, t46, r71), r71;
49499
49503
  };
49500
- var h37 = (n41 = class extends e23 {
49504
+ var h36 = (n41 = class extends e23 {
49501
49505
  className() {
49502
49506
  return "UIPolylineEditor";
49503
49507
  }
@@ -49506,11 +49510,11 @@ var h37 = (n41 = class extends e23 {
49506
49510
  super.onReady(), this.append([new UIInput(this.j, { label: "Stroke weight", value: (e44 = this.state.strokeWeight) !== null && e44 !== void 0 ? e44 : 1, type: "number", onChange: a60((o57) => this.j.e.fire(this, "change", "strokeWeight", o57), "onChange") }), new c23(this.j, { label: "Stroke color", value: (t46 = this.state.strokeColor) !== null && t46 !== void 0 ? t46 : "#000", onChange: a60((o57) => this.j.e.fire(this, "change", "strokeColor", o57), "onChange") }).setMod("trigger", false)], "form");
49507
49511
  }
49508
49512
  }, a60(n41, "UIPolylineEditor"), n41);
49509
- p50([hook("ready")], h37.prototype, "onReady", null), h37 = p50([component], h37);
49513
+ p50([hook("ready")], h36.prototype, "onReady", null), h36 = p50([component], h36);
49510
49514
 
49511
49515
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/editors/polygon/polygon.js
49512
- var h38 = Object.defineProperty;
49513
- var f34 = (r71, e44) => h38(r71, "name", { value: e44, configurable: true });
49516
+ var h37 = Object.defineProperty;
49517
+ var f34 = (r71, e44) => h37(r71, "name", { value: e44, configurable: true });
49514
49518
  var i44;
49515
49519
  var c45 = function(r71, e44, o57, t46) {
49516
49520
  var n55 = arguments.length, l60 = n55 < 3 ? e44 : t46 === null ? t46 = Object.getOwnPropertyDescriptor(e44, o57) : t46, a79;
@@ -49518,7 +49522,7 @@ var c45 = function(r71, e44, o57, t46) {
49518
49522
  else for (var p62 = r71.length - 1; p62 >= 0; p62--) (a79 = r71[p62]) && (l60 = (n55 < 3 ? a79(l60) : n55 > 3 ? a79(e44, o57, l60) : a79(e44, o57)) || l60);
49519
49523
  return n55 > 3 && l60 && Object.defineProperty(e44, o57, l60), l60;
49520
49524
  };
49521
- var s42 = (i44 = class extends h37 {
49525
+ var s42 = (i44 = class extends h36 {
49522
49526
  className() {
49523
49527
  return "UIPolygonEditor";
49524
49528
  }
@@ -49532,9 +49536,9 @@ var s42 = (i44 = class extends h37 {
49532
49536
  c45([hook("ready")], s42.prototype, "onReady", null), s42 = c45([component], s42);
49533
49537
 
49534
49538
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js
49535
- var h39 = Object.defineProperty;
49536
- var c46 = (e44, s51) => h39(e44, "name", { value: s51, configurable: true });
49537
- function u46(e44) {
49539
+ var h38 = Object.defineProperty;
49540
+ var c46 = (e44, s51) => h38(e44, "name", { value: s51, configurable: true });
49541
+ function u47(e44) {
49538
49542
  var s51, o57, a79, i55, l60, n55, d55, r71;
49539
49543
  switch (this.state.mode) {
49540
49544
  case "polyline":
@@ -49555,7 +49559,7 @@ function u46(e44) {
49555
49559
  }
49556
49560
  }
49557
49561
  }
49558
- c46(u46, "addNewInState");
49562
+ c46(u47, "addNewInState");
49559
49563
 
49560
49564
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/drawing-controller.js
49561
49565
  var c47 = Object.defineProperty;
@@ -49610,7 +49614,7 @@ var o44 = class o45 {
49610
49614
  }
49611
49615
  onDblClick() {
49612
49616
  if (this.mode !== "polyline" && this.mode !== "polygon") return;
49613
- const e44 = this.vertices.filter((t46, n55, h62) => n55 === 0 || !t46.equals(h62[n55 - 1])), i55 = this.mode === "polygon" ? 3 : 2;
49617
+ const e44 = this.vertices.filter((t46, n55, h61) => n55 === 0 || !t46.equals(h61[n55 - 1])), i55 = this.mode === "polygon" ? 3 : 2;
49614
49618
  if (e44.length >= i55 && this.preview) {
49615
49619
  const t46 = this.preview;
49616
49620
  t46.setPath(e44), this.onComplete(t46);
@@ -49681,7 +49685,7 @@ c48(m33, "updateStateAndGme");
49681
49685
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js
49682
49686
  var d46 = Object.defineProperty;
49683
49687
  var c49 = (o57, e44) => d46(o57, "name", { value: e44, configurable: true });
49684
- function h40(o57, e44) {
49688
+ function h39(o57, e44) {
49685
49689
  var i55, l60, r71, s51;
49686
49690
  switch (o57.type) {
49687
49691
  case "polyline":
@@ -49702,7 +49706,7 @@ function h40(o57, e44) {
49702
49706
  }
49703
49707
  }
49704
49708
  }
49705
- c49(h40, "onChangeGeometries");
49709
+ c49(h39, "onChangeGeometries");
49706
49710
 
49707
49711
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/remove-element.js
49708
49712
  var m34 = Object.defineProperty;
@@ -49725,11 +49729,11 @@ function l48() {
49725
49729
  }), t46;
49726
49730
  }
49727
49731
  n43(l48, "getInfoWindow");
49728
- function u47(t46, i55) {
49732
+ function u48(t46, i55) {
49729
49733
  let e44;
49730
49734
  switch (this.state.mode = "hand", t46.type) {
49731
49735
  case "polyline":
49732
- e44 = new h37(this.jodit, t46.state, this.options);
49736
+ e44 = new h36(this.jodit, t46.state, this.options);
49733
49737
  break;
49734
49738
  case "marker":
49735
49739
  e44 = new a59(this.jodit, t46.state, this.options);
@@ -49754,7 +49758,7 @@ function u47(t46, i55) {
49754
49758
  e44 && (this.remove(e44), e44.destruct());
49755
49759
  });
49756
49760
  }
49757
- n43(u47, "openPropsDialog");
49761
+ n43(u48, "openPropsDialog");
49758
49762
 
49759
49763
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js
49760
49764
  init_global2();
@@ -49787,7 +49791,7 @@ function L5(o57, e44) {
49787
49791
  break;
49788
49792
  }
49789
49793
  const i55 = { type: o57.type, uid: uniqueUid(), state: o57, gme: r71 };
49790
- "dragend radius_changed center_changed".split(" ").forEach((l60) => r71.addListener(l60, () => h40.call(this, i55, e44))), (i55.type === "polygon" || i55.type === "polyline") && "insert_at set_at remove_at".split(" ").forEach((l60) => i55.gme.getPath().addListener(l60, () => h40.call(this, i55, e44))), r71.addListener("click", () => u47.call(this, i55, e44)), this.mapElements[e44] = i55;
49794
+ "dragend radius_changed center_changed".split(" ").forEach((l60) => r71.addListener(l60, () => h39.call(this, i55, e44))), (i55.type === "polygon" || i55.type === "polyline") && "insert_at set_at remove_at".split(" ").forEach((l60) => i55.gme.getPath().addListener(l60, () => h39.call(this, i55, e44))), r71.addListener("click", () => u48.call(this, i55, e44)), this.mapElements[e44] = i55;
49791
49795
  }
49792
49796
  n44(L5, "initOrUpdateElementFromState");
49793
49797
 
@@ -49802,9 +49806,9 @@ init_css();
49802
49806
  var f35 = Object.defineProperty;
49803
49807
  var c50 = (l60, t46) => f35(l60, "name", { value: t46, configurable: true });
49804
49808
  var n45 = function(l60, t46, e44, o57) {
49805
- var s51 = arguments.length, i55 = s51 < 3 ? t46 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t46, e44) : o57, h62;
49809
+ var s51 = arguments.length, i55 = s51 < 3 ? t46 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t46, e44) : o57, h61;
49806
49810
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(l60, t46, e44, o57);
49807
- else for (var p62 = l60.length - 1; p62 >= 0; p62--) (h62 = l60[p62]) && (i55 = (s51 < 3 ? h62(i55) : s51 > 3 ? h62(t46, e44, i55) : h62(t46, e44)) || i55);
49811
+ else for (var p62 = l60.length - 1; p62 >= 0; p62--) (h61 = l60[p62]) && (i55 = (s51 < 3 ? h61(i55) : s51 > 3 ? h61(t46, e44, i55) : h61(t46, e44)) || i55);
49808
49812
  return s51 > 3 && i55 && Object.defineProperty(t46, e44, i55), i55;
49809
49813
  };
49810
49814
  var g15 = class g16 extends UIGroup {
@@ -49832,12 +49836,12 @@ var g15 = class g16 extends UIGroup {
49832
49836
  var e44;
49833
49837
  this.state.zoom = (e44 = this.map.getZoom()) !== null && e44 !== void 0 ? e44 : 10;
49834
49838
  }), this.map.addListener("center_changed", () => {
49835
- var e44, o57, s51, i55, h62, p62;
49836
- this.state.center = [(s51 = (o57 = (e44 = this.map) === null || e44 === void 0 ? void 0 : e44.getCenter()) === null || o57 === void 0 ? void 0 : o57.lat()) !== null && s51 !== void 0 ? s51 : 55, (p62 = (h62 = (i55 = this.map) === null || i55 === void 0 ? void 0 : i55.getCenter()) === null || h62 === void 0 ? void 0 : h62.lng()) !== null && p62 !== void 0 ? p62 : 34];
49839
+ var e44, o57, s51, i55, h61, p62;
49840
+ this.state.center = [(s51 = (o57 = (e44 = this.map) === null || e44 === void 0 ? void 0 : e44.getCenter()) === null || o57 === void 0 ? void 0 : o57.lat()) !== null && s51 !== void 0 ? s51 : 55, (p62 = (h61 = (i55 = this.map) === null || i55 === void 0 ? void 0 : i55.getCenter()) === null || h61 === void 0 ? void 0 : h61.lng()) !== null && p62 !== void 0 ? p62 : 34];
49837
49841
  }), this.map.addListener("maptypeid_changed", () => {
49838
49842
  const e44 = this.map.getMapTypeId();
49839
49843
  e44 && (this.state.type = e44);
49840
- }), h35(() => {
49844
+ }), h34(() => {
49841
49845
  this.isInDestruct || this.markAsFailed();
49842
49846
  }), this.initDrawingController(), this.onChangeElementsList(), this.onChangeSize(), this.onChangeControls(), this.onChangeLayer(), this.onChangeMapType(), this.onChangeMode(), this.mapInitialized = true, this.j.async.requestIdleCallback(() => {
49843
49847
  this.j.e.fire(this, "GoogleMapsIsReady");
@@ -49851,7 +49855,7 @@ var g15 = class g16 extends UIGroup {
49851
49855
  }
49852
49856
  initDrawingController() {
49853
49857
  this.drawing = new r53(this.map, this.options.googleMaps.map.defaultStates, (t46) => {
49854
- u46.call(this, t46), t46.setMap(null);
49858
+ u47.call(this, t46), t46.setMap(null);
49855
49859
  });
49856
49860
  }
49857
49861
  changeCreateMode(t46) {
@@ -49933,8 +49937,8 @@ n45([hook("ready")], a63.prototype, "onReady", null), n45([watch("?:changeCreate
49933
49937
 
49934
49938
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/maps-controls/maps-controls.js
49935
49939
  init_component();
49936
- var h41 = Object.defineProperty;
49937
- var p52 = (l60, o57) => h41(l60, "name", { value: o57, configurable: true });
49940
+ var h40 = Object.defineProperty;
49941
+ var p52 = (l60, o57) => h40(l60, "name", { value: o57, configurable: true });
49938
49942
  var c51;
49939
49943
  var m35 = function(l60, o57, e44, n55) {
49940
49944
  var r71 = arguments.length, t46 = r71 < 3 ? o57 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(o57, e44) : n55, s51;
@@ -49961,15 +49965,15 @@ i46 = m35([component], i46);
49961
49965
  init_decorators();
49962
49966
  init_selector();
49963
49967
  var m36 = Object.defineProperty;
49964
- var v16 = (u56, e44) => m36(u56, "name", { value: e44, configurable: true });
49965
- var h42;
49966
- var r54 = function(u56, e44, t46, n55) {
49968
+ var v16 = (u57, e44) => m36(u57, "name", { value: e44, configurable: true });
49969
+ var h41;
49970
+ var r54 = function(u57, e44, t46, n55) {
49967
49971
  var a79 = arguments.length, l60 = a79 < 3 ? e44 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(e44, t46) : n55, i55;
49968
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l60 = Reflect.decorate(u56, e44, t46, n55);
49969
- else for (var p62 = u56.length - 1; p62 >= 0; p62--) (i55 = u56[p62]) && (l60 = (a79 < 3 ? i55(l60) : a79 > 3 ? i55(e44, t46, l60) : i55(e44, t46)) || l60);
49972
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l60 = Reflect.decorate(u57, e44, t46, n55);
49973
+ else for (var p62 = u57.length - 1; p62 >= 0; p62--) (i55 = u57[p62]) && (l60 = (a79 < 3 ? i55(l60) : a79 > 3 ? i55(e44, t46, l60) : i55(e44, t46)) || l60);
49970
49974
  return a79 > 3 && l60 && Object.defineProperty(e44, t46, l60), l60;
49971
49975
  };
49972
- var o46 = (h42 = class extends UIForm {
49976
+ var o46 = (h41 = class extends UIForm {
49973
49977
  className() {
49974
49978
  return "UIMapsPropsForm";
49975
49979
  }
@@ -50007,7 +50011,7 @@ var o46 = (h42 = class extends UIForm {
50007
50011
  const { layer: e44 } = refs(this.container);
50008
50012
  this.state.layer !== e44.value && (e44.value = this.state.layer);
50009
50013
  }
50010
- }, v16(h42, "UIMapsPropsForm"), h42);
50014
+ }, v16(h41, "UIMapsPropsForm"), h41);
50011
50015
  r54([autobind], o46.prototype, "onChangeSize", null), r54([watch("state.size")], o46.prototype, "onExternalChangeSize", null), r54([autobind], o46.prototype, "onChangeCenter", null), r54([watch(["state.center"])], o46.prototype, "onExternalChangeCenter", null), r54([watch(["state.type"])], o46.prototype, "onExternalChangeType", null), r54([watch(["state.layer"])], o46.prototype, "onExternalChangeLayer", null), o46 = r54([component], o46);
50012
50016
 
50013
50017
  // node_modules/jodit-pro/esm/plugins/google-maps/google-maps.js
@@ -50016,8 +50020,8 @@ init_decorators();
50016
50020
  init_helpers();
50017
50021
  init_plugin2();
50018
50022
  var C8 = Object.defineProperty;
50019
- var u48 = (d55, e44) => C8(d55, "name", { value: e44, configurable: true });
50020
- var h43 = function(d55, e44, a79, t46) {
50023
+ var u49 = (d55, e44) => C8(d55, "name", { value: e44, configurable: true });
50024
+ var h42 = function(d55, e44, a79, t46) {
50021
50025
  var i55 = arguments.length, r71 = i55 < 3 ? e44 : t46 === null ? t46 = Object.getOwnPropertyDescriptor(e44, a79) : t46, c70;
50022
50026
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(d55, e44, a79, t46);
50023
50027
  else for (var p62 = d55.length - 1; p62 >= 0; p62--) (c70 = d55[p62]) && (r71 = (i55 < 3 ? c70(r71) : i55 > 3 ? c70(e44, a79, r71) : c70(e44, a79)) || r71);
@@ -50063,7 +50067,7 @@ var y6 = class y7 extends Plugin {
50063
50067
  s51(0);
50064
50068
  return;
50065
50069
  }
50066
- const l60 = u48(() => {
50070
+ const l60 = u49(() => {
50067
50071
  F2() ? s51(0) : this.j.async.setTimeout(l60, 100);
50068
50072
  }, "intervalChecker");
50069
50073
  l60(), d41(s51);
@@ -50087,7 +50091,7 @@ var y6 = class y7 extends Plugin {
50087
50091
  })]).setContent(TabsWidget(t46, [{ name: "Map", icon: "map", content: o57 }, { name: "Settings", content: new o46(t46, o57.state) }, { name: "Controls", icon: "menu", content: new i46(t46, o57.state) }])).setFooter([Button(t46, "cancel", "Cancel", "default").onAction(() => i55.close()), Button(t46, "ok", e44 ? "Save" : "Insert", "primary").onAction(() => {
50088
50092
  o57.destruct(), n55.destruct(), i55.e.off("beforeClose", m53), i55.close(), this.insertMap(e44, o57);
50089
50093
  })]).open();
50090
- const m53 = u48(() => {
50094
+ const m53 = u49(() => {
50091
50095
  if (o57.state.elements.length && JSON.stringify(o57.state.elements) !== JSON.stringify(p62.elements) && !IS_TEST && !confirm(this.i18n("Are you sure?"))) return false;
50092
50096
  o57.destruct(), n55.destruct(), i55.e.off("beforeClose", m53);
50093
50097
  }, "onCLose");
@@ -50119,9 +50123,9 @@ var y6 = class y7 extends Plugin {
50119
50123
  }));
50120
50124
  }
50121
50125
  };
50122
- u48(y6, "googleMaps");
50126
+ u49(y6, "googleMaps");
50123
50127
  var g17 = y6;
50124
- g17.requires = ["license", "color-picker"], h43([watch("?:openOnDblClick")], g17.prototype, "onOpenOnDblClick", null), h43([watch(":beforeSetNativeEditorValue")], g17.prototype, "onBeforeSetNativeEditorValue", null), h43([watch(":afterGetValueFromEditor")], g17.prototype, "onAfterGetValueFromEditor", null), n11.plugins.add("google-maps", g17);
50128
+ g17.requires = ["license", "color-picker"], h42([watch("?:openOnDblClick")], g17.prototype, "onOpenOnDblClick", null), h42([watch(":beforeSetNativeEditorValue")], g17.prototype, "onBeforeSetNativeEditorValue", null), h42([watch(":afterGetValueFromEditor")], g17.prototype, "onAfterGetValueFromEditor", null), n11.plugins.add("google-maps", g17);
50125
50129
 
50126
50130
  // node_modules/jodit-pro/esm/plugins/google-search/icon.svg.js
50127
50131
  var C9 = '<svg width="11" height="15" viewBox="0 0 11 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M10.925 7.122V14H9.747L9.462 13.164C9.044 13.4933 8.55 13.7467 7.98 13.924C7.42267 14.1013 6.82733 14.19 6.194 14.19C5.054 14.19 4.066 13.9177 3.23 13.373C2.394 12.8157 1.75433 12.024 1.311 10.998C0.867667 9.972 0.646 8.756 0.646 7.35C0.646 5.96933 0.880333 4.766 1.349 3.74C1.83033 2.714 2.50167 1.92233 3.363 1.365C4.237 0.794999 5.25667 0.509999 6.422 0.509999C7.41 0.509999 8.284 0.693666 9.044 1.061C9.804 1.42833 10.3613 1.935 10.716 2.581L9.747 3.55C9.41767 3.03067 8.968 2.638 8.398 2.372C7.84067 2.09333 7.18833 1.954 6.441 1.954C5.17433 1.954 4.18633 2.429 3.477 3.379C2.76767 4.329 2.413 5.65267 2.413 7.35C2.413 9.07267 2.755 10.4153 3.439 11.378C4.13567 12.3407 5.10467 12.822 6.346 12.822C6.92867 12.822 7.46067 12.7397 7.942 12.575C8.436 12.4103 8.854 12.1697 9.196 11.853V8.414H6.023V7.122H10.925Z" fill="black"/> </svg> ';
@@ -50174,15 +50178,15 @@ var g18 = function(c70, e44, t46, r71) {
50174
50178
  else for (var s51 = c70.length - 1; s51 >= 0; s51--) (n55 = c70[s51]) && (o57 = (i55 < 3 ? n55(o57) : i55 > 3 ? n55(e44, t46, o57) : n55(e44, t46)) || o57);
50175
50179
  return i55 > 3 && o57 && Object.defineProperty(e44, t46, o57), o57;
50176
50180
  };
50177
- var h44 = class h45 extends Plugin {
50181
+ var h43 = class h44 extends Plugin {
50178
50182
  constructor() {
50179
50183
  super(...arguments), this.abortController = null;
50180
50184
  }
50181
50185
  afterInit(e44) {
50182
- Object.keys(e44.o.highlightSignature.schema).length && (e44.e.on("change afterSetMode", this.walkNodes).on("afterGetValueFromEditor", h45.removeUtilWrappers), this.walkNodes());
50186
+ Object.keys(e44.o.highlightSignature.schema).length && (e44.e.on("change afterSetMode", this.walkNodes).on("afterGetValueFromEditor", h44.removeUtilWrappers), this.walkNodes());
50183
50187
  }
50184
50188
  beforeDestruct(e44) {
50185
- e44.e.off("change afterSetMode", this.walkNodes).off("afterGetValueFromEditor", h45.removeUtilWrappers);
50189
+ e44.e.off("change afterSetMode", this.walkNodes).off("afterGetValueFromEditor", h44.removeUtilWrappers);
50186
50190
  }
50187
50191
  walkNodes() {
50188
50192
  var e44;
@@ -50213,7 +50217,7 @@ var h44 = class h45 extends Plugin {
50213
50217
  return Dom.isText(e44.nextSibling) ? (this.j.editor.normalize(), this.walkNodes(), true) : false;
50214
50218
  }
50215
50219
  checkReplaceSchemas(e44) {
50216
- if (h45.hasUtilWrapper(e44)) return;
50220
+ if (h44.hasUtilWrapper(e44)) return;
50217
50221
  const t46 = e44.nodeValue;
50218
50222
  if (t46 == null) return;
50219
50223
  const { j: r71 } = this, i55 = r71.o.highlightSignature;
@@ -50222,9 +50226,9 @@ var h44 = class h45 extends Plugin {
50222
50226
  if (n55.test(t46)) {
50223
50227
  const s51 = t46.match(n55);
50224
50228
  if (!s51 || s51.index === void 0) continue;
50225
- const u56 = i55.schema[o57](this.j, s51);
50226
- if (u56) {
50227
- Dom.markTemporary(u56, { dataHighlightSchema: o57 }), this.replaceMatchedTextToElm(e44, t46, s51, u56);
50229
+ const u57 = i55.schema[o57](this.j, s51);
50230
+ if (u57) {
50231
+ Dom.markTemporary(u57, { dataHighlightSchema: o57 }), this.replaceMatchedTextToElm(e44, t46, s51, u57);
50228
50232
  return;
50229
50233
  }
50230
50234
  }
@@ -50232,14 +50236,14 @@ var h44 = class h45 extends Plugin {
50232
50236
  }
50233
50237
  replaceMatchedTextToElm(e44, t46, r71, i55) {
50234
50238
  var o57;
50235
- const { j: n55 } = this, { range: s51 } = n55.s, u56 = s51.startContainer === e44, m53 = s51.startOffset, f49 = (o57 = r71.index) !== null && o57 !== void 0 ? o57 : 0;
50239
+ const { j: n55 } = this, { range: s51 } = n55.s, u57 = s51.startContainer === e44, m53 = s51.startOffset, f49 = (o57 = r71.index) !== null && o57 !== void 0 ? o57 : 0;
50236
50240
  e44.nodeValue = t46.substring(0, f49);
50237
50241
  const p62 = t46.substring(f49 + r71[0].length);
50238
50242
  if (p62.length) {
50239
50243
  const x11 = n55.createInside.text(p62);
50240
50244
  Dom.after(e44, x11);
50241
50245
  }
50242
- i55.innerText = r71[0], Dom.after(e44, i55), u56 && this.restoreCursorPosition(m53, e44, i55.firstChild, i55.nextSibling);
50246
+ i55.innerText = r71[0], Dom.after(e44, i55), u57 && this.restoreCursorPosition(m53, e44, i55.firstChild, i55.nextSibling);
50243
50247
  }
50244
50248
  static hasUtilWrapper(e44) {
50245
50249
  return Dom.isTemporary(e44.parentElement);
@@ -50268,8 +50272,8 @@ var h44 = class h45 extends Plugin {
50268
50272
  });
50269
50273
  }
50270
50274
  };
50271
- d48(h44, "highlightSignature");
50272
- var l49 = h44;
50275
+ d48(h43, "highlightSignature");
50276
+ var l49 = h43;
50273
50277
  l49.requires = ["license"], g18([debounce()], l49.prototype, "walkNodes", null), g18([autobind], l49.prototype, "runWorker", null), n11.plugins.add("highlight-signature", l49);
50274
50278
 
50275
50279
  // node_modules/jodit-pro/esm/plugins/image-editor-pro/config.js
@@ -50502,11 +50506,11 @@ function createRafScheduler() {
50502
50506
  if (typeof requestAnimationFrame !== "function") {
50503
50507
  return new CoalescingScheduler(
50504
50508
  (cb) => setTimeout(cb, 16),
50505
- (h62) => clearTimeout(h62)
50509
+ (h61) => clearTimeout(h61)
50506
50510
  );
50507
50511
  }
50508
- const clear = (h62) => {
50509
- const handle = h62;
50512
+ const clear = (h61) => {
50513
+ const handle = h61;
50510
50514
  cancelAnimationFrame(handle.raf);
50511
50515
  if (handle.timer !== null) {
50512
50516
  clearTimeout(handle.timer);
@@ -50634,13 +50638,13 @@ function lockedResize(source2, next, locked, min = 1) {
50634
50638
  }
50635
50639
  return __spreadValues({}, source2);
50636
50640
  }
50637
- function fitWithinLimits(w9, h62, limits) {
50641
+ function fitWithinLimits(w9, h61, limits) {
50638
50642
  let scale = 1;
50639
50643
  if (limits.maxSize && limits.maxSize > 0) {
50640
- scale = Math.min(scale, limits.maxSize / Math.max(w9, h62));
50644
+ scale = Math.min(scale, limits.maxSize / Math.max(w9, h61));
50641
50645
  }
50642
50646
  if (limits.maxPixels && limits.maxPixels > 0) {
50643
- scale = Math.min(scale, Math.sqrt(limits.maxPixels / (w9 * h62)));
50647
+ scale = Math.min(scale, Math.sqrt(limits.maxPixels / (w9 * h61)));
50644
50648
  }
50645
50649
  return Math.min(1, scale);
50646
50650
  }
@@ -50849,19 +50853,19 @@ function flip(img, axis) {
50849
50853
  function rotate90(img, degrees) {
50850
50854
  const turns = (Math.round(degrees / 90) % 4 + 4) % 4;
50851
50855
  if (turns === 0) return createRaster(img.width, img.height, new Uint8ClampedArray(img.data));
50852
- const { width: w9, height: h62 } = img;
50856
+ const { width: w9, height: h61 } = img;
50853
50857
  const swap = turns === 1 || turns === 3;
50854
- const out = createRaster(swap ? h62 : w9, swap ? w9 : h62);
50855
- for (let y9 = 0; y9 < h62; y9++) {
50858
+ const out = createRaster(swap ? h61 : w9, swap ? w9 : h61);
50859
+ for (let y9 = 0; y9 < h61; y9++) {
50856
50860
  for (let x11 = 0; x11 < w9; x11++) {
50857
50861
  let dx;
50858
50862
  let dy;
50859
50863
  if (turns === 1) {
50860
- dx = h62 - 1 - y9;
50864
+ dx = h61 - 1 - y9;
50861
50865
  dy = x11;
50862
50866
  } else if (turns === 2) {
50863
50867
  dx = w9 - 1 - x11;
50864
- dy = h62 - 1 - y9;
50868
+ dy = h61 - 1 - y9;
50865
50869
  } else {
50866
50870
  dx = y9;
50867
50871
  dy = w9 - 1 - x11;
@@ -50910,9 +50914,9 @@ function halveWidth(img) {
50910
50914
  return out;
50911
50915
  }
50912
50916
  function halveHeight(img) {
50913
- const h62 = Math.ceil(img.height / 2);
50914
- const out = createRaster(img.width, h62);
50915
- for (let y9 = 0; y9 < h62; y9++) {
50917
+ const h61 = Math.ceil(img.height / 2);
50918
+ const out = createRaster(img.width, h61);
50919
+ for (let y9 = 0; y9 < h61; y9++) {
50916
50920
  for (let x11 = 0; x11 < img.width; x11++) {
50917
50921
  const i0 = indexOf(img, x11, 2 * y9);
50918
50922
  const i1 = indexOf(img, x11, Math.min(2 * y9 + 1, img.height - 1));
@@ -50955,15 +50959,15 @@ function bilinearResize(img, width, height) {
50955
50959
  }
50956
50960
  function sampleRotatedRect(img, rect, angleDeg) {
50957
50961
  const w9 = Math.max(1, Math.round(rect.width));
50958
- const h62 = Math.max(1, Math.round(rect.height));
50959
- const out = createRaster(w9, h62);
50962
+ const h61 = Math.max(1, Math.round(rect.height));
50963
+ const out = createRaster(w9, h61);
50960
50964
  const cx = rect.x + rect.width / 2;
50961
50965
  const cy = rect.y + rect.height / 2;
50962
50966
  const rad = angleDeg * Math.PI / 180;
50963
50967
  const cos = Math.cos(rad);
50964
50968
  const sin = Math.sin(rad);
50965
- for (let oy = 0; oy < h62; oy++) {
50966
- const ly = oy + 0.5 - h62 / 2;
50969
+ for (let oy = 0; oy < h61; oy++) {
50970
+ const ly = oy + 0.5 - h61 / 2;
50967
50971
  for (let ox = 0; ox < w9; ox++) {
50968
50972
  const lx = ox + 0.5 - w9 / 2;
50969
50973
  const sx = cx + lx * cos - ly * sin - 0.5;
@@ -51192,7 +51196,7 @@ var LocaleRegistry = class {
51192
51196
  }
51193
51197
  };
51194
51198
  var DOM_PROPERTIES = /* @__PURE__ */ new Set(["value", "checked", "disabled", "selected", "innerHTML"]);
51195
- function h46(tag, props = {}, children = []) {
51199
+ function h45(tag, props = {}, children = []) {
51196
51200
  return {
51197
51201
  kind: "element",
51198
51202
  tag,
@@ -51517,10 +51521,10 @@ var _ToolRegistry = class _ToolRegistry {
51517
51521
  __publicField(_ToolRegistry, "UNORDERED_BASE", 1e6);
51518
51522
  var ToolRegistry = _ToolRegistry;
51519
51523
  function icon(svg2) {
51520
- return h46("span", { class: "jie-icon", innerHTML: svg2 });
51524
+ return h45("span", { class: "jie-icon", innerHTML: svg2 });
51521
51525
  }
51522
51526
  function spinner() {
51523
- return h46("span", { class: "jie-spinner" });
51527
+ return h45("span", { class: "jie-spinner" });
51524
51528
  }
51525
51529
  function button(props) {
51526
51530
  var _a2, _b, _c;
@@ -51533,8 +51537,8 @@ function button(props) {
51533
51537
  const children = [];
51534
51538
  if (props.busy) children.push(spinner());
51535
51539
  else if (props.icon) children.push(icon(props.icon));
51536
- if (props.label) children.push(h46("span", {}, props.label));
51537
- return h46(
51540
+ if (props.label) children.push(h45("span", {}, props.label));
51541
+ return h45(
51538
51542
  "button",
51539
51543
  {
51540
51544
  key: props.key,
@@ -51556,9 +51560,9 @@ function slider(props) {
51556
51560
  if (onStart) on.pointerdown = () => onStart();
51557
51561
  const span = props.max - props.min || 1;
51558
51562
  const fill = Math.min(100, Math.max(0, (props.value - props.min) / span * 100));
51559
- return h46("div", { class: "jie-slider" }, [
51560
- h46("span", { class: "jie-slider__label" }, props.label),
51561
- h46("input", {
51563
+ return h45("div", { class: "jie-slider" }, [
51564
+ h45("span", { class: "jie-slider__label" }, props.label),
51565
+ h45("input", {
51562
51566
  class: "jie-range",
51563
51567
  type: "range",
51564
51568
  min: String(props.min),
@@ -51568,14 +51572,14 @@ function slider(props) {
51568
51572
  style: { "--jie-range-fill": `${fill}%` },
51569
51573
  on
51570
51574
  }),
51571
- h46("span", { class: "jie-slider__value" }, String(Math.round(props.value)))
51575
+ h45("span", { class: "jie-slider__value" }, String(Math.round(props.value)))
51572
51576
  ]);
51573
51577
  }
51574
51578
  function numberField(props) {
51575
- return h46("label", { class: "jie-field" }, [
51576
- h46("span", {}, props.label),
51577
- h46("span", { style: { display: "flex", "align-items": "center", gap: "6px" } }, [
51578
- h46("input", {
51579
+ return h45("label", { class: "jie-field" }, [
51580
+ h45("span", {}, props.label),
51581
+ h45("span", { style: { display: "flex", "align-items": "center", gap: "6px" } }, [
51582
+ h45("input", {
51579
51583
  class: "jie-input",
51580
51584
  type: "number",
51581
51585
  value: String(props.value),
@@ -51586,12 +51590,12 @@ function numberField(props) {
51586
51590
  }
51587
51591
  }
51588
51592
  }),
51589
- props.suffix ? h46("span", {}, props.suffix) : null
51593
+ props.suffix ? h45("span", {}, props.suffix) : null
51590
51594
  ])
51591
51595
  ]);
51592
51596
  }
51593
51597
  function segmented(options2, active, onSelect) {
51594
- return h46(
51598
+ return h45(
51595
51599
  "div",
51596
51600
  { class: "jie-toolrow" },
51597
51601
  options2.map(
@@ -51678,7 +51682,7 @@ var adjustTool = {
51678
51682
  renderPanel({ state, update, t: t46 }) {
51679
51683
  const design = selectDesign(state);
51680
51684
  const cropping = selectIsCropping(state);
51681
- return h46("div", { class: "jie-toolrow" }, [
51685
+ return h45("div", { class: "jie-toolrow" }, [
51682
51686
  button({
51683
51687
  label: t46("Crop"),
51684
51688
  icon: ICONS.crop,
@@ -51728,7 +51732,7 @@ var finetuneTool = {
51728
51732
  const patch = { [field.id]: v22 };
51729
51733
  update({ design: { finetune: patch }, commit: commit2 });
51730
51734
  };
51731
- return h46("div", { class: "jie-panel-stack", style: { display: "contents" } }, [
51735
+ return h45("div", { class: "jie-panel-stack", style: { display: "contents" } }, [
51732
51736
  slider({
51733
51737
  label: t46(field.label),
51734
51738
  value,
@@ -51752,11 +51756,11 @@ var filtersTool = {
51752
51756
  order: 2,
51753
51757
  renderPanel({ state, update, t: t46 }) {
51754
51758
  const active = selectDesign(state).filter;
51755
- return h46(
51759
+ return h45(
51756
51760
  "div",
51757
51761
  { class: "jie-thumbs" },
51758
51762
  listFilters().map(
51759
- (f49) => h46(
51763
+ (f49) => h45(
51760
51764
  "button",
51761
51765
  {
51762
51766
  key: f49.id,
@@ -51768,8 +51772,8 @@ var filtersTool = {
51768
51772
  [
51769
51773
  // The editor paints a live filtered preview onto this canvas after
51770
51774
  // render (see ImageEditor#paintFilterThumbs).
51771
- h46("canvas", { class: "jie-thumb__swatch", "data-jie-filter-thumb": f49.id }),
51772
- h46("span", {}, t46(f49.label))
51775
+ h45("canvas", { class: "jie-thumb__swatch", "data-jie-filter-thumb": f49.id }),
51776
+ h45("span", {}, t46(f49.label))
51773
51777
  ]
51774
51778
  )
51775
51779
  )
@@ -51783,17 +51787,17 @@ function selectiveBlur(img, focus2) {
51783
51787
  if (focus2.amount <= 0)
51784
51788
  return createRaster(img.width, img.height, new Uint8ClampedArray(img.data));
51785
51789
  const blurred = blur(img, focus2.amount, 32);
51786
- const { width: w9, height: h62 } = img;
51787
- const out = createRaster(w9, h62);
51788
- const minDim = Math.min(w9, h62);
51790
+ const { width: w9, height: h61 } = img;
51791
+ const out = createRaster(w9, h61);
51792
+ const minDim = Math.min(w9, h61);
51789
51793
  const cx = focus2.x * w9;
51790
- const cy = focus2.y * h62;
51794
+ const cy = focus2.y * h61;
51791
51795
  const sharpR = focus2.radius * minDim;
51792
51796
  const feather = Math.max(minDim * 0.06, sharpR * 0.9);
51793
51797
  const rad = focus2.angle * Math.PI / 180;
51794
51798
  const nx = -Math.sin(rad);
51795
51799
  const ny = Math.cos(rad);
51796
- for (let y9 = 0; y9 < h62; y9++) {
51800
+ for (let y9 = 0; y9 < h61; y9++) {
51797
51801
  for (let x11 = 0; x11 < w9; x11++) {
51798
51802
  const dx = x11 - cx;
51799
51803
  const dy = y9 - cy;
@@ -51823,8 +51827,8 @@ var focusTool = {
51823
51827
  const focus2 = (_a2 = selectDesign(state).focus) != null ? _a2 : createDefaultFocus();
51824
51828
  const enabled = selectDesign(state).focus !== null;
51825
51829
  const set3 = (patch, commit2) => update({ design: { focus: __spreadValues(__spreadValues({}, focus2), patch) }, commit: commit2 });
51826
- return h46("div", { class: "jie-panel-stack", style: { display: "contents" } }, [
51827
- h46("div", { class: "jie-toolrow" }, [
51830
+ return h45("div", { class: "jie-panel-stack", style: { display: "contents" } }, [
51831
+ h45("div", { class: "jie-toolrow" }, [
51828
51832
  slider({
51829
51833
  label: t46("Intensity"),
51830
51834
  value: focus2.amount,
@@ -51862,7 +51866,7 @@ var focusTool = {
51862
51866
  function colorPicker(props) {
51863
51867
  var _a2;
51864
51868
  const children = [
51865
- h46("button", {
51869
+ h45("button", {
51866
51870
  class: "jie-color",
51867
51871
  type: "button",
51868
51872
  title: (_a2 = props.title) != null ? _a2 : "Colour",
@@ -51874,12 +51878,12 @@ function colorPicker(props) {
51874
51878
  ];
51875
51879
  if (props.open) {
51876
51880
  children.push(
51877
- h46("div", { class: "jie-popover__backdrop", on: { click: () => props.onToggle() } }),
51878
- h46(
51881
+ h45("div", { class: "jie-popover__backdrop", on: { click: () => props.onToggle() } }),
51882
+ h45(
51879
51883
  "div",
51880
51884
  { class: "jie-popover jie-swatches", role: "listbox" },
51881
51885
  props.palette.map(
51882
- (color2) => h46("button", {
51886
+ (color2) => h45("button", {
51883
51887
  key: color2,
51884
51888
  class: "jie-swatch",
51885
51889
  type: "button",
@@ -51892,13 +51896,13 @@ function colorPicker(props) {
51892
51896
  )
51893
51897
  );
51894
51898
  }
51895
- return h46("div", { class: "jie-colorpicker" }, children);
51899
+ return h45("div", { class: "jie-colorpicker" }, children);
51896
51900
  }
51897
51901
  function fontSelect(props) {
51898
51902
  var _a2, _b;
51899
51903
  const current = props.fonts.find((f49) => f49.value === props.value);
51900
51904
  const children = [
51901
- h46(
51905
+ h45(
51902
51906
  "button",
51903
51907
  {
51904
51908
  class: "jie-fontselect__trigger",
@@ -51910,19 +51914,19 @@ function fontSelect(props) {
51910
51914
  },
51911
51915
  [
51912
51916
  icon(ICONS.font),
51913
- h46("span", { style: { "font-family": props.value } }, (_b = current == null ? void 0 : current.label) != null ? _b : "Font"),
51917
+ h45("span", { style: { "font-family": props.value } }, (_b = current == null ? void 0 : current.label) != null ? _b : "Font"),
51914
51918
  icon(ICONS.book)
51915
51919
  ]
51916
51920
  )
51917
51921
  ];
51918
51922
  if (props.open) {
51919
51923
  children.push(
51920
- h46("div", { class: "jie-popover__backdrop", on: { click: () => props.onToggle() } }),
51921
- h46(
51924
+ h45("div", { class: "jie-popover__backdrop", on: { click: () => props.onToggle() } }),
51925
+ h45(
51922
51926
  "div",
51923
51927
  { class: "jie-popover jie-fontlist", role: "listbox" },
51924
51928
  props.fonts.map(
51925
- (f49) => h46(
51929
+ (f49) => h45(
51926
51930
  "button",
51927
51931
  {
51928
51932
  key: f49.value,
@@ -51938,7 +51942,7 @@ function fontSelect(props) {
51938
51942
  )
51939
51943
  );
51940
51944
  }
51941
- return h46("div", { class: "jie-fontselect" }, children);
51945
+ return h45("div", { class: "jie-fontselect" }, children);
51942
51946
  }
51943
51947
  var CELLS = [
51944
51948
  { align: "left", valign: "top", icon: ICONS.posTopLeft },
@@ -51952,11 +51956,11 @@ var CELLS = [
51952
51956
  { align: "right", valign: "bottom", icon: ICONS.posBottomRight }
51953
51957
  ];
51954
51958
  function positionGrid(props) {
51955
- return h46(
51959
+ return h45(
51956
51960
  "div",
51957
51961
  { class: "jie-posgrid", role: "group" },
51958
51962
  CELLS.map(
51959
- (cell) => h46(
51963
+ (cell) => h45(
51960
51964
  "button",
51961
51965
  {
51962
51966
  key: `${cell.valign}-${cell.align}`,
@@ -52021,13 +52025,13 @@ var annotateTool = {
52021
52025
  const ann = createTextAnnotation(uid());
52022
52026
  update({ design: { annotations: [ann] }, selectedAnnotationId: ann.id });
52023
52027
  };
52024
- return h46("div", { class: "jie-toolrow" }, [
52028
+ return h45("div", { class: "jie-toolrow" }, [
52025
52029
  button({ label: t46("Add text"), icon: ICONS.text, variant: "primary", onClick: addText })
52026
52030
  ]);
52027
52031
  }
52028
52032
  const patch = (p62) => update({ design: { annotations: updateAnnotation(design.annotations, text2.id, p62) } });
52029
- return h46("div", { class: "jie-toolrow" }, [
52030
- h46("input", {
52033
+ return h45("div", { class: "jie-toolrow" }, [
52034
+ h45("input", {
52031
52035
  class: "jie-input",
52032
52036
  type: "text",
52033
52037
  value: text2.text,
@@ -52101,7 +52105,7 @@ var resizeTool = {
52101
52105
  if (!size3) return null;
52102
52106
  const locked = state.activeTool !== "unlocked";
52103
52107
  const apply = (next) => update({ design: { resize: lockedResize(size3, next, locked, state.minResizeSize) } });
52104
- return h46("div", { class: "jie-fieldrow" }, [
52108
+ return h45("div", { class: "jie-fieldrow" }, [
52105
52109
  numberField({
52106
52110
  label: t46("Width"),
52107
52111
  value: size3.width,
@@ -52226,14 +52230,14 @@ var CanvasImageCodec = class {
52226
52230
  maxPixels: this.maxPixels
52227
52231
  });
52228
52232
  const w9 = Math.max(1, Math.round(bitmap.width * scale));
52229
- const h62 = Math.max(1, Math.round(bitmap.height * scale));
52230
- const canvas = this.createCanvas(w9, h62);
52233
+ const h61 = Math.max(1, Math.round(bitmap.height * scale));
52234
+ const canvas = this.createCanvas(w9, h61);
52231
52235
  const ctx = this.context(canvas);
52232
52236
  ctx.imageSmoothingEnabled = true;
52233
52237
  ctx.imageSmoothingQuality = "high";
52234
- ctx.drawImage(bitmap, 0, 0, w9, h62);
52238
+ ctx.drawImage(bitmap, 0, 0, w9, h61);
52235
52239
  if ("close" in bitmap && typeof bitmap.close === "function") bitmap.close();
52236
- const imageData = ctx.getImageData(0, 0, w9, h62);
52240
+ const imageData = ctx.getImageData(0, 0, w9, h61);
52237
52241
  return createRaster(imageData.width, imageData.height, imageData.data);
52238
52242
  });
52239
52243
  }
@@ -52345,9 +52349,9 @@ function createDefaultProcessor(createCanvas = defaultCanvasFactory, limits) {
52345
52349
  return new ImageProcessor({ codec: new CanvasImageCodec(createCanvas, limits), createCanvas });
52346
52350
  }
52347
52351
  function renderApp(state, ctx) {
52348
- return h46("div", { class: "jie", "data-theme": state.theme }, [
52352
+ return h45("div", { class: "jie", "data-theme": state.theme }, [
52349
52353
  state.showToolbar ? renderTopBar(state, ctx) : null,
52350
- h46("div", { class: "jie-body" }, [renderRail(state, ctx), renderStage(state, ctx)])
52354
+ h45("div", { class: "jie-body" }, [renderRail(state, ctx), renderStage(state, ctx)])
52351
52355
  ]);
52352
52356
  }
52353
52357
  function renderTopBar(state, ctx) {
@@ -52357,8 +52361,8 @@ function renderTopBar(state, ctx) {
52357
52361
  const t46 = ctx.t;
52358
52362
  const busy = state.status === "loading" || state.status === "exporting";
52359
52363
  const spinning = state.status === "exporting" && state.busyVisible;
52360
- return h46("header", { class: "jie-topbar" }, [
52361
- h46("div", { class: "jie-topbar__save" }, [
52364
+ return h45("header", { class: "jie-topbar" }, [
52365
+ h45("div", { class: "jie-topbar__save" }, [
52362
52366
  button({
52363
52367
  label: t46("Save"),
52364
52368
  variant: "primary",
@@ -52373,17 +52377,17 @@ function renderTopBar(state, ctx) {
52373
52377
  busy: spinning
52374
52378
  })
52375
52379
  ]),
52376
- h46("div", { class: "jie-topbar__meta" }, [
52377
- size3 ? h46("span", {}, `${size3.width} x ${size3.height} px`) : null,
52380
+ h45("div", { class: "jie-topbar__meta" }, [
52381
+ size3 ? h45("span", {}, `${size3.width} x ${size3.height} px`) : null,
52378
52382
  icon(ICONS.book),
52379
- h46("div", { class: "jie-zoom" }, [
52383
+ h45("div", { class: "jie-zoom" }, [
52380
52384
  button({
52381
52385
  variant: "icon",
52382
52386
  icon: ICONS.zoomOut,
52383
52387
  title: t46("Zoom out"),
52384
52388
  onClick: () => zoom(ctx, state, 1 / 1.2)
52385
52389
  }),
52386
- h46("span", {}, `${percent}%`),
52390
+ h45("span", {}, `${percent}%`),
52387
52391
  button({
52388
52392
  variant: "icon",
52389
52393
  icon: ICONS.zoomIn,
@@ -52392,7 +52396,7 @@ function renderTopBar(state, ctx) {
52392
52396
  })
52393
52397
  ])
52394
52398
  ]),
52395
- h46("div", { class: "jie-topbar__actions" }, [
52399
+ h45("div", { class: "jie-topbar__actions" }, [
52396
52400
  button({
52397
52401
  variant: "icon",
52398
52402
  icon: ICONS.reset,
@@ -52418,11 +52422,11 @@ function renderTopBar(state, ctx) {
52418
52422
  ]);
52419
52423
  }
52420
52424
  function renderRail(state, ctx) {
52421
- return h46(
52425
+ return h45(
52422
52426
  "nav",
52423
52427
  { class: "jie-rail" },
52424
52428
  ctx.tools.map(
52425
- (tool) => h46(
52429
+ (tool) => h45(
52426
52430
  "button",
52427
52431
  {
52428
52432
  key: tool.id,
@@ -52436,7 +52440,7 @@ function renderRail(state, ctx) {
52436
52440
  }
52437
52441
  }
52438
52442
  },
52439
- [icon(tool.icon), h46("span", {}, ctx.t(tool.label))]
52443
+ [icon(tool.icon), h45("span", {}, ctx.t(tool.label))]
52440
52444
  )
52441
52445
  )
52442
52446
  );
@@ -52445,24 +52449,24 @@ function renderStage(state, ctx) {
52445
52449
  var _a2, _b;
52446
52450
  const active = (_a2 = ctx.tools.find((tool) => tool.id === state.activeTab)) != null ? _a2 : ctx.tools[0];
52447
52451
  const panel = (_b = active == null ? void 0 : active.renderPanel({ state, update: ctx.update, t: ctx.t })) != null ? _b : null;
52448
- return h46("div", { class: "jie-stage" }, [
52449
- h46("div", { class: "jie-canvas-wrap", "data-jie-canvas-wrap": "" }, [
52452
+ return h45("div", { class: "jie-stage" }, [
52453
+ h45("div", { class: "jie-canvas-wrap", "data-jie-canvas-wrap": "" }, [
52450
52454
  // The editor paints pixels onto this canvas imperatively after each render.
52451
- h46("canvas", { class: "jie-canvas", "data-jie-canvas": "" }),
52455
+ h45("canvas", { class: "jie-canvas", "data-jie-canvas": "" }),
52452
52456
  renderCropOverlay(state, ctx),
52453
52457
  renderStatusOverlay(state, ctx)
52454
52458
  ]),
52455
- panel ? h46("div", { class: "jie-panel" }, [panel]) : null
52459
+ panel ? h45("div", { class: "jie-panel" }, [panel]) : null
52456
52460
  ]);
52457
52461
  }
52458
52462
  function renderStatusOverlay(state, ctx) {
52459
52463
  if (state.status === "loading") {
52460
- return h46("div", { class: "jie-overlay", "data-jie-loading": "" }, [spinner()]);
52464
+ return h45("div", { class: "jie-overlay", "data-jie-loading": "" }, [spinner()]);
52461
52465
  }
52462
52466
  if (state.status === "error" && state.error) {
52463
- return h46("div", { class: "jie-overlay jie-overlay--error", "data-jie-error": "" }, [
52464
- h46("span", {}, ctx.t("Failed to load the image")),
52465
- h46("span", { class: "jie-overlay__detail" }, state.error)
52467
+ return h45("div", { class: "jie-overlay jie-overlay--error", "data-jie-error": "" }, [
52468
+ h45("span", {}, ctx.t("Failed to load the image")),
52469
+ h45("span", { class: "jie-overlay__detail" }, state.error)
52466
52470
  ]);
52467
52471
  }
52468
52472
  return null;
@@ -52481,7 +52485,7 @@ function renderCropOverlay(state, ctx) {
52481
52485
  transform: `rotate(${angle}deg)`
52482
52486
  };
52483
52487
  const handles = ["nw", "ne", "sw", "se"];
52484
- return h46(
52488
+ return h45(
52485
52489
  "div",
52486
52490
  {
52487
52491
  class: "jie-crop",
@@ -52490,7 +52494,7 @@ function renderCropOverlay(state, ctx) {
52490
52494
  },
52491
52495
  [
52492
52496
  // rotation knob, centred above the frame
52493
- h46("div", {
52497
+ h45("div", {
52494
52498
  key: "rotate",
52495
52499
  class: "jie-crop__rotate",
52496
52500
  title: "Rotate",
@@ -52502,7 +52506,7 @@ function renderCropOverlay(state, ctx) {
52502
52506
  }
52503
52507
  }),
52504
52508
  ...handles.map(
52505
- (handle) => h46("div", {
52509
+ (handle) => h45("div", {
52506
52510
  key: handle,
52507
52511
  class: "jie-crop__handle",
52508
52512
  "data-h": handle,
@@ -52935,7 +52939,7 @@ function downscale(raster, maxSize) {
52935
52939
  init_config();
52936
52940
  init_component3();
52937
52941
  var T3 = Object.defineProperty;
52938
- var h47 = (P4, n55) => T3(P4, "name", { value: n55, configurable: true });
52942
+ var h46 = (P4, n55) => T3(P4, "name", { value: n55, configurable: true });
52939
52943
  var j7 = class j8 extends ViewComponent {
52940
52944
  constructor() {
52941
52945
  super(...arguments), this.isProImageEditor = true;
@@ -52950,14 +52954,14 @@ var j7 = class j8 extends ViewComponent {
52950
52954
  const r71 = new Dialog({ language: t46.o.language });
52951
52955
  r71.setSize(s51.dialog.width, s51.dialog.height), r71.setContent(i55), r71.open();
52952
52956
  let e44 = null, c70 = null;
52953
- const l60 = h47(() => {
52957
+ const l60 = h46(() => {
52954
52958
  c70 == null ? void 0 : c70(), c70 = null, e44 == null ? void 0 : e44.destroy(), e44 = null, r71.close();
52955
52959
  }, "cleanup");
52956
52960
  r71.e.on("beforeClose", () => {
52957
52961
  c70 == null ? void 0 : c70(), c70 = null, e44 == null ? void 0 : e44.destroy(), e44 = null;
52958
- }), e44 = new ImageEditor3({ container: i55, state: { showToolbar: false, status: "loading" }, onSave: h47((a79) => {
52962
+ }), e44 = new ImageEditor3({ container: i55, state: { showToolbar: false, status: "loading" }, onSave: h46((a79) => {
52959
52963
  this.persist(e44, n55, void 0, a79, o57, l60);
52960
- }, "onSave"), onSaveAs: h47((a79) => {
52964
+ }, "onSave"), onSaveAs: h46((a79) => {
52961
52965
  this.saveAs(e44, n55, a79, o57, l60);
52962
52966
  }, "onSaveAs") }), c70 = this.mountToolbar(r71, e44);
52963
52967
  try {
@@ -52977,16 +52981,16 @@ var j7 = class j8 extends ViewComponent {
52977
52981
  }), i55.onAction(() => {
52978
52982
  y9 = i55, o57.saveAs();
52979
52983
  }), e44.onAction(() => o57.update({ zoom: o57.state.zoom / 1.2 })), l60.onAction(() => o57.update({ zoom: o57.state.zoom * 1.2 })), a79.onAction(() => o57.reset()), p62.onAction(() => o57.update({ history: { step: -1 } })), f49.onAction(() => o57.update({ history: { step: 1 } }));
52980
- const g25 = h47((...d55) => {
52981
- const u56 = t46.c.div("jodit-image-editor-pro__group");
52982
- return u56.style.display = "flex", u56.style.alignItems = "center", u56.style.gap = "4px", d55.forEach((b16) => u56.appendChild(b16)), u56;
52984
+ const g25 = h46((...d55) => {
52985
+ const u57 = t46.c.div("jodit-image-editor-pro__group");
52986
+ return u57.style.display = "flex", u57.style.alignItems = "center", u57.style.gap = "4px", d55.forEach((b16) => u57.appendChild(b16)), u57;
52983
52987
  }, "group"), m53 = t46.c.div("jodit-image-editor-pro__toolbar");
52984
52988
  m53.style.display = "flex", m53.style.alignItems = "center", m53.style.gap = "12px", m53.style.width = "100%", r71.style.opacity = "0.75", c70.style.minWidth = "3.5em", c70.style.textAlign = "center", m53.appendChild(g25(s51.container, i55.container)), m53.appendChild(g25(r71, e44.container, c70, l60.container));
52985
52989
  const z2 = g25(a79.container, p62.container, f49.container);
52986
52990
  z2.style.marginLeft = "auto", m53.appendChild(z2), n55.setHeader(m53);
52987
- const x11 = "jodit-image-editor-pro__button_busy", _12 = h47((d55) => {
52988
- const u56 = selectors.selectOutputSize(d55), b16 = d55.status === "exporting", C15 = b16 || d55.status === "loading", S8 = d55.busyVisible, E4 = b16 && (S8 != null ? S8 : true);
52989
- b16 || (y9 = null), s51.setState({ disabled: !d55.source || C15 }), i55.setState({ disabled: !d55.source || C15 }), s51.container.classList.toggle(x11, E4 && y9 !== i55), i55.container.classList.toggle(x11, E4 && y9 === i55), a79.setState({ disabled: !selectors.selectIsDirty(d55) }), p62.setState({ disabled: !selectors.selectCanUndo(d55) }), f49.setState({ disabled: !selectors.selectCanRedo(d55) }), r71.textContent = u56 ? `${u56.width} \xD7 ${u56.height}` : "";
52991
+ const x11 = "jodit-image-editor-pro__button_busy", _12 = h46((d55) => {
52992
+ const u57 = selectors.selectOutputSize(d55), b16 = d55.status === "exporting", C15 = b16 || d55.status === "loading", S8 = d55.busyVisible, E4 = b16 && (S8 != null ? S8 : true);
52993
+ b16 || (y9 = null), s51.setState({ disabled: !d55.source || C15 }), i55.setState({ disabled: !d55.source || C15 }), s51.container.classList.toggle(x11, E4 && y9 !== i55), i55.container.classList.toggle(x11, E4 && y9 === i55), a79.setState({ disabled: !selectors.selectIsDirty(d55) }), p62.setState({ disabled: !selectors.selectCanUndo(d55) }), f49.setState({ disabled: !selectors.selectCanRedo(d55) }), r71.textContent = u57 ? `${u57.width} \xD7 ${u57.height}` : "";
52990
52994
  const A4 = selectors.selectViewportFit(d55), V = Math.round(A4 ? A4.scale * 100 : d55.zoom * 100);
52991
52995
  c70.textContent = `${V}%`;
52992
52996
  }, "sync");
@@ -53009,7 +53013,7 @@ var j7 = class j8 extends ViewComponent {
53009
53013
  try {
53010
53014
  const e44 = yield this.blobSize(s51), c70 = { action: this.coreSupportsSaved() ? "saved" : "resize", box: e44 };
53011
53015
  t46 !== void 0 ? this.j.e.fire("afterImageEditorSave", c70, t46) : this.j.e.fire("afterImageEditorSave", c70);
53012
- const l60 = yield this.uploadEdited(o57, s51, t46), a79 = h47(() => {
53016
+ const l60 = yield this.uploadEdited(o57, s51, t46), a79 = h46(() => {
53013
53017
  r71(), this.j.e.fire("update.filebrowser");
53014
53018
  }, "done");
53015
53019
  i55(t46, this.coreSupportsSaved() ? { action: "saved", box: e44, newPath: l60 || void 0 } : { action: "resize", box: e44 }, a79, (p62) => {
@@ -53073,7 +53077,7 @@ var j7 = class j8 extends ViewComponent {
53073
53077
  this.j.e.fire("errorMessage", n55.message);
53074
53078
  }
53075
53079
  };
53076
- h47(j7, "ProImageEditor");
53080
+ h46(j7, "ProImageEditor");
53077
53081
  var $5 = j7;
53078
53082
 
53079
53083
  // node_modules/jodit-pro/esm/plugins/image-editor-pro/image-editor-pro.js
@@ -53093,7 +53097,7 @@ var e24 = t31;
53093
53097
  e24.requires = ["license"], n11.plugins.add("imageEditorPro", e24);
53094
53098
 
53095
53099
  // node_modules/jodit-pro/esm/plugins/iframe-editor/icon.svg.js
53096
- var h48 = '<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg> ';
53100
+ var h47 = '<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg> ';
53097
53101
 
53098
53102
  // node_modules/jodit-pro/esm/plugins/iframe-editor/config.js
53099
53103
  init_config();
@@ -53101,7 +53105,7 @@ init_dom();
53101
53105
  init_is_array();
53102
53106
  var e25 = Object.defineProperty;
53103
53107
  var p53 = (i55, o57) => e25(i55, "name", { value: o57, configurable: true });
53104
- Config.prototype.controls.iframeEditor = { icon: h48, tooltip: "Iframe Editor", exec: p53((i55, o57) => {
53108
+ Config.prototype.controls.iframeEditor = { icon: h47, tooltip: "Iframe Editor", exec: p53((i55, o57) => {
53105
53109
  Dom.isTag(o57, "jodit") && Dom.isTag(o57.firstElementChild, "iframe") && (o57 = o57.firstElementChild), i55.e.fire("toggleIframeEditor", Dom.isTag(o57, "iframe") ? o57 : null);
53106
53110
  }, "exec") }, isArray(Config.prototype.popup.iframe) && Config.prototype.popup.iframe.push("iframeEditor");
53107
53111
 
@@ -53145,7 +53149,7 @@ init_helpers();
53145
53149
  init_plugin2();
53146
53150
  var p55 = Object.defineProperty;
53147
53151
  var a65 = (c70, i55) => p55(c70, "name", { value: i55, configurable: true });
53148
- var u49 = function(c70, i55, e44, t46) {
53152
+ var u50 = function(c70, i55, e44, t46) {
53149
53153
  var s51 = arguments.length, l60 = s51 < 3 ? i55 : t46 === null ? t46 = Object.getOwnPropertyDescriptor(i55, e44) : t46, d55;
53150
53154
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l60 = Reflect.decorate(c70, i55, e44, t46);
53151
53155
  else for (var o57 = c70.length - 1; o57 >= 0; o57--) (d55 = c70[o57]) && (l60 = (s51 < 3 ? d55(l60) : s51 > 3 ? d55(i55, e44, l60) : d55(i55, e44)) || l60);
@@ -53184,14 +53188,14 @@ var m40 = class m41 extends Plugin {
53184
53188
  };
53185
53189
  a65(m40, "IframeEditor");
53186
53190
  var r55 = m40;
53187
- r55.requires = ["license", "color-picker"], u49([autobind], r55.prototype, "toggleEditor", null), u49([watch(":dblclick")], r55.prototype, "onDblClick", null), n11.plugins.add("iframe-editor", r55);
53191
+ r55.requires = ["license", "color-picker"], u50([autobind], r55.prototype, "toggleEditor", null), u50([watch(":dblclick")], r55.prototype, "onDblClick", null), n11.plugins.add("iframe-editor", r55);
53188
53192
 
53189
53193
  // node_modules/jodit-pro/esm/plugins/keyboard/icon.svg.js
53190
- var h49 = '<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg> ';
53194
+ var h48 = '<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg> ';
53191
53195
 
53192
53196
  // node_modules/jodit-pro/esm/plugins/keyboard/config.js
53193
53197
  init_config();
53194
- Config.prototype.keyboard = { defaultLayoutSet: "en", showLayoutSwitcher: true, extraKeyGroup: "other", extraKeyButtons: [], delayKeyRepeat: 350, periodKeyRepeat: 100, layoutList: { en: { title: "English", keys: [["` ~ \xB1", "1 ! \xA7", "2 @", "3 #", "4 $", "5 %", "6 ^", "7 &", "8 *", "9 (", "0 )", "- _", "= +", "Backspace"], ["Tab", "q Q", "w W", "e E", "r R", "t T", "y Y", "u U", "i I", "o O", "p P", "[ {", "] }", "\\ |"], ["Caps", "a A", "s S", "d D", "f F", "g G", "h H", "j J", "k K", "l L", "; :", `' "`, "Enter"], ["Shift", "z Z", "x X", "c C", "v V", "b B", "n N", "m M", ", <", ". >", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, es: { title: "Espa\xF1ol", keys: [["\xBA ` ~", "1 ! \xA7", "2 @", "3 #", "4 $", "5 %", "6 ^", "7 &", "8 *", "9 (", "0 )", "- _ |", "\xA1 = +", "Backspace"], ["Tab", "q Q", "w W", "e E", "r R", "t T", "y Y", "u U", "i I", "o O", "p P", "[ {", "] }", "\xE7 \xC7 \\"], ["Caps", "a A", "s S", "d D", "f F", "g G", "h H", "j J", "k K", "l L", "\xF1 \xD1 ; :", `' "`, "Enter"], ["Shift", "z Z", "x X", "c C", "v V", "b B", "n N", "m M", ", <", ". >", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, de: { title: "Deutsch", keys: [["` ~ \xB1", "1 ! \xA7", "2 @", "3 #", "4 $", "5 %", "6 ^", "7 &", "8 * :", "9 ( {", "0 ) }", "- _", "= +", "Backspace"], ["Tab", "q Q", "w W", "e E", "r R", "t T", "z Z", "u U", "i I", "o O", "p P", "\xFC \xDC [", "] }", "\\ |"], ["Caps", "a A", "s S", "d D", "f F", "g G", "h H", "j J", "k K", "l L", "\xF6 \xD6 ;", `\xE4 \xC4 ' "`, "Enter"], ["Shift", "y Y", "x X", "c C", "v V", "b B", "n N", "m M", ", <", ". >", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, ru: { title: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439", keys: [["` ~ \xB1", "1 ! \xA7", '2 @ "', "3 # :", "4 $ <", "5 % >", "6 ^", "7 &", "8 *", "9 (", "0 )", "- _", "= +", "Backspace"], ["Tab", "\u0439 \u0419", "\u0446 \u0426", "\u0443 \u0423", "\u043A \u041A", "\u0435 \u0415", "\u043D \u041D", "\u0433 \u0413", "\u0448 \u0428", "\u0449 \u0429", "\u0437 \u0417", "\u0445 \u0425 [", "\u044A ] {", "\\ | }"], ["Caps", "\u0444 \u0424", "\u044B \u042B", "\u0432 \u0412", "\u0430 \u0410", "\u043F \u041F", "\u0440 \u0420", "\u043E \u041E", "\u043B \u041B", "\u0434 \u0414", "\u0436 \u0416 ;", "\u044D \u042D '", "Enter"], ["Shift", "\u044F \u042F", "\u0447 \u0427", "\u0441 \u0421", "\u043C \u041C", "\u0438 \u0418", "\u0442 \u0422", "\u044C \u042C", "\u0431 \u0411 ,", "\u044E \u042E .", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, tr: { title: "T\xFCrk\xE7e", keys: [['" \xE9` ~', "1 ! \xA7", '2 @ "', "3 # :", "4 $ <", "5 % >", "6 ^ \xB1", "7 &", "8 *", "9 ( {", "0 ) }", "- _ [", "= + ]", "Backspace"], ["Tab", "q Q", "w W", "e E", "r R", "t T", "y Y", "u U", "\u0131 I", "o O", "p P", "\u011F \u011E", "\xFC \xDC", ", \\ |"], ["Caps", "a A", "s S", "d D", "f F", "g G", "h H", "j J", "k K", "l L", "\u015F \u015E", "i\u0307 \u0130", "Enter"], ["Shift", "z Z", "x X", "c C", "v V", "b B", "n N", "m M", "\xF6 \xD6 <", "\xE7 \xC7 >", ". / ?", "Shift"], ["Options", "Space", "Options"]] }, iw: { title: "Hebrew", keys: [["` ~ \xB1", "1 ! \xA7", "2 @", "3 #", "4 $", "5 %", "6 ^", "7 &", "8 *", "9 (", "0 )", "- _", "= +", "Backspace"], ["Tab", "/ q Q", "' w W", "\u05E7 e E", "\u05E8 r R", "\u05D0 t T", "\u05D8 y Y", "\u05D5 u U", "\u05DF i I", "\u05DD o O", "\u05E4 p P", "[ {", "] }", "\\ |"], ["Caps", "\u05E9 a A", "\u05D3 s S", "\u05D2 d D", "\u05DB f F", "\u05E2 g G", "\u05D9 h H", "\u05D7 j J", "\u05DC k K", "\u05DA l L", "\u05E3 ; :", `' "`, "Enter"], ["Shift", "\u05D6 z Z", "\u05E1 x X", "\u05D1 c C", "\u05D4 v V", "\u05E0 b B", "\u05DE n N", "\u05E6 m M", ", <", ". >", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, tata: { title: "Tata", keys: [["\u04BB \u04BA` ~", "1 ! \xA7", '2 @ "', "3 # :", "4 $ <", "5 % >", "6 ^ \xB1", "7 &", "8 *", "9 ( {", "0 )", "- _", "= +", "Backspace"], ["Tab", "\u0439 \u0419", "\u04E9 \u04E8", "\u0443 \u0423", "\u043A \u041A", "\u0435 \u0415", "\u043D \u041D", "\u0433 \u0413", "\u0448 \u0428", "\u04D9 \u04D8", "\u0437 \u0417", "\u0445 \u0425 [", "\u04AF \u04AE ]", "\\ | }"], ["Caps", "\u0444 \u0424", "\u044B \u042B", "\u0432 \u0412", "\u0430 \u0410", "\u043F \u041F", "\u0440 \u0420", "\u043E \u041E", "\u043B \u041B", "\u0434 \u0414", "\u04A3 \u04A2 ;", "\u044D \u042D '", "Enter"], ["Shift", "\u044F \u042F", "\u0447 \u0427", "\u0441 \u0421", "\u043C \u041C", "\u0438 \u0418", "\u0442 \u0422", "\u0497 \u0496", "\u0431 \u0411 ,", "\u044E \u042E .", "\u0491 \u0490 /", "Shift"], ["Options", "Space", "Options"]] } }, layoutSwitchList: ["en", "es", "de", "ru", "tr", "iw", "tata"], keySize: 32, layout: [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2], [1.5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.5], [1.8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2.2], [2.5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2.5], [3.5, 9, 3.5]] }, Config.prototype.controls.keyboard = { tooltip: "Keyboard", icon: h49, isActive(e44) {
53198
+ Config.prototype.keyboard = { defaultLayoutSet: "en", showLayoutSwitcher: true, extraKeyGroup: "other", extraKeyButtons: [], delayKeyRepeat: 350, periodKeyRepeat: 100, layoutList: { en: { title: "English", keys: [["` ~ \xB1", "1 ! \xA7", "2 @", "3 #", "4 $", "5 %", "6 ^", "7 &", "8 *", "9 (", "0 )", "- _", "= +", "Backspace"], ["Tab", "q Q", "w W", "e E", "r R", "t T", "y Y", "u U", "i I", "o O", "p P", "[ {", "] }", "\\ |"], ["Caps", "a A", "s S", "d D", "f F", "g G", "h H", "j J", "k K", "l L", "; :", `' "`, "Enter"], ["Shift", "z Z", "x X", "c C", "v V", "b B", "n N", "m M", ", <", ". >", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, es: { title: "Espa\xF1ol", keys: [["\xBA ` ~", "1 ! \xA7", "2 @", "3 #", "4 $", "5 %", "6 ^", "7 &", "8 *", "9 (", "0 )", "- _ |", "\xA1 = +", "Backspace"], ["Tab", "q Q", "w W", "e E", "r R", "t T", "y Y", "u U", "i I", "o O", "p P", "[ {", "] }", "\xE7 \xC7 \\"], ["Caps", "a A", "s S", "d D", "f F", "g G", "h H", "j J", "k K", "l L", "\xF1 \xD1 ; :", `' "`, "Enter"], ["Shift", "z Z", "x X", "c C", "v V", "b B", "n N", "m M", ", <", ". >", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, de: { title: "Deutsch", keys: [["` ~ \xB1", "1 ! \xA7", "2 @", "3 #", "4 $", "5 %", "6 ^", "7 &", "8 * :", "9 ( {", "0 ) }", "- _", "= +", "Backspace"], ["Tab", "q Q", "w W", "e E", "r R", "t T", "z Z", "u U", "i I", "o O", "p P", "\xFC \xDC [", "] }", "\\ |"], ["Caps", "a A", "s S", "d D", "f F", "g G", "h H", "j J", "k K", "l L", "\xF6 \xD6 ;", `\xE4 \xC4 ' "`, "Enter"], ["Shift", "y Y", "x X", "c C", "v V", "b B", "n N", "m M", ", <", ". >", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, ru: { title: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439", keys: [["` ~ \xB1", "1 ! \xA7", '2 @ "', "3 # :", "4 $ <", "5 % >", "6 ^", "7 &", "8 *", "9 (", "0 )", "- _", "= +", "Backspace"], ["Tab", "\u0439 \u0419", "\u0446 \u0426", "\u0443 \u0423", "\u043A \u041A", "\u0435 \u0415", "\u043D \u041D", "\u0433 \u0413", "\u0448 \u0428", "\u0449 \u0429", "\u0437 \u0417", "\u0445 \u0425 [", "\u044A ] {", "\\ | }"], ["Caps", "\u0444 \u0424", "\u044B \u042B", "\u0432 \u0412", "\u0430 \u0410", "\u043F \u041F", "\u0440 \u0420", "\u043E \u041E", "\u043B \u041B", "\u0434 \u0414", "\u0436 \u0416 ;", "\u044D \u042D '", "Enter"], ["Shift", "\u044F \u042F", "\u0447 \u0427", "\u0441 \u0421", "\u043C \u041C", "\u0438 \u0418", "\u0442 \u0422", "\u044C \u042C", "\u0431 \u0411 ,", "\u044E \u042E .", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, tr: { title: "T\xFCrk\xE7e", keys: [['" \xE9` ~', "1 ! \xA7", '2 @ "', "3 # :", "4 $ <", "5 % >", "6 ^ \xB1", "7 &", "8 *", "9 ( {", "0 ) }", "- _ [", "= + ]", "Backspace"], ["Tab", "q Q", "w W", "e E", "r R", "t T", "y Y", "u U", "\u0131 I", "o O", "p P", "\u011F \u011E", "\xFC \xDC", ", \\ |"], ["Caps", "a A", "s S", "d D", "f F", "g G", "h H", "j J", "k K", "l L", "\u015F \u015E", "i\u0307 \u0130", "Enter"], ["Shift", "z Z", "x X", "c C", "v V", "b B", "n N", "m M", "\xF6 \xD6 <", "\xE7 \xC7 >", ". / ?", "Shift"], ["Options", "Space", "Options"]] }, iw: { title: "Hebrew", keys: [["` ~ \xB1", "1 ! \xA7", "2 @", "3 #", "4 $", "5 %", "6 ^", "7 &", "8 *", "9 (", "0 )", "- _", "= +", "Backspace"], ["Tab", "/ q Q", "' w W", "\u05E7 e E", "\u05E8 r R", "\u05D0 t T", "\u05D8 y Y", "\u05D5 u U", "\u05DF i I", "\u05DD o O", "\u05E4 p P", "[ {", "] }", "\\ |"], ["Caps", "\u05E9 a A", "\u05D3 s S", "\u05D2 d D", "\u05DB f F", "\u05E2 g G", "\u05D9 h H", "\u05D7 j J", "\u05DC k K", "\u05DA l L", "\u05E3 ; :", `' "`, "Enter"], ["Shift", "\u05D6 z Z", "\u05E1 x X", "\u05D1 c C", "\u05D4 v V", "\u05E0 b B", "\u05DE n N", "\u05E6 m M", ", <", ". >", "/ ?", "Shift"], ["Options", "Space", "Options"]] }, tata: { title: "Tata", keys: [["\u04BB \u04BA` ~", "1 ! \xA7", '2 @ "', "3 # :", "4 $ <", "5 % >", "6 ^ \xB1", "7 &", "8 *", "9 ( {", "0 )", "- _", "= +", "Backspace"], ["Tab", "\u0439 \u0419", "\u04E9 \u04E8", "\u0443 \u0423", "\u043A \u041A", "\u0435 \u0415", "\u043D \u041D", "\u0433 \u0413", "\u0448 \u0428", "\u04D9 \u04D8", "\u0437 \u0417", "\u0445 \u0425 [", "\u04AF \u04AE ]", "\\ | }"], ["Caps", "\u0444 \u0424", "\u044B \u042B", "\u0432 \u0412", "\u0430 \u0410", "\u043F \u041F", "\u0440 \u0420", "\u043E \u041E", "\u043B \u041B", "\u0434 \u0414", "\u04A3 \u04A2 ;", "\u044D \u042D '", "Enter"], ["Shift", "\u044F \u042F", "\u0447 \u0427", "\u0441 \u0421", "\u043C \u041C", "\u0438 \u0418", "\u0442 \u0422", "\u0497 \u0496", "\u0431 \u0411 ,", "\u044E \u042E .", "\u0491 \u0490 /", "Shift"], ["Options", "Space", "Options"]] } }, layoutSwitchList: ["en", "es", "de", "ru", "tr", "iw", "tata"], keySize: 32, layout: [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2], [1.5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.5], [1.8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2.2], [2.5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2.5], [3.5, 9, 3.5]] }, Config.prototype.controls.keyboard = { tooltip: "Keyboard", icon: h48, isActive(e44) {
53195
53199
  return !!e44.e.fire("isKeyboardOpened");
53196
53200
  }, command: "toggleKeyboard" }, Config.prototype.controls.extraKeyboardButtons = {};
53197
53201
 
@@ -53217,12 +53221,12 @@ var v17 = '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d=
53217
53221
 
53218
53222
  // node_modules/jodit-pro/esm/plugins/keyboard/ui/keyboard/keyboard.js
53219
53223
  var b13 = Object.defineProperty;
53220
- var m42 = (u56, t46) => b13(u56, "name", { value: t46, configurable: true });
53224
+ var m42 = (u57, t46) => b13(u57, "name", { value: t46, configurable: true });
53221
53225
  var p56;
53222
- var l51 = function(u56, t46, r71, s51) {
53226
+ var l51 = function(u57, t46, r71, s51) {
53223
53227
  var o57 = arguments.length, e44 = o57 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, r71) : s51, a79;
53224
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(u56, t46, r71, s51);
53225
- else for (var i55 = u56.length - 1; i55 >= 0; i55--) (a79 = u56[i55]) && (e44 = (o57 < 3 ? a79(e44) : o57 > 3 ? a79(t46, r71, e44) : a79(t46, r71)) || e44);
53228
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(u57, t46, r71, s51);
53229
+ else for (var i55 = u57.length - 1; i55 >= 0; i55--) (a79 = u57[i55]) && (e44 = (o57 < 3 ? a79(e44) : o57 > 3 ? a79(t46, r71, e44) : a79(t46, r71)) || e44);
53226
53230
  return o57 > 3 && e44 && Object.defineProperty(t46, r71, e44), e44;
53227
53231
  };
53228
53232
  var f37;
@@ -53249,8 +53253,8 @@ var n47 = f37 = (p56 = class extends UIElement {
53249
53253
  let a79 = 0;
53250
53254
  for (let i55 = 0; i55 < e44.length; i55 += 1) for (let y9 = 0; y9 < e44[i55].length; y9 += 1) {
53251
53255
  const c70 = e44[i55][y9].split(" ");
53252
- let h62 = c70[0];
53253
- s51 && (h62 = c70[1]), !s51 && o57 && c70[1] && f37.isLetter(c70[0]) && (h62 = c70[1]), r71 && (h62 = c70[2]), this.setKeyValue(a79, h62 != null ? h62 : c70[0]), a79 += 1;
53256
+ let h61 = c70[0];
53257
+ s51 && (h61 = c70[1]), !s51 && o57 && c70[1] && f37.isLetter(c70[0]) && (h61 = c70[1]), r71 && (h61 = c70[2]), this.setKeyValue(a79, h61 != null ? h61 : c70[0]), a79 += 1;
53254
53258
  }
53255
53259
  }
53256
53260
  static isLetter(t46) {
@@ -53347,14 +53351,14 @@ init_decorators();
53347
53351
  init_checker();
53348
53352
  init_plugin2();
53349
53353
  var y8 = Object.defineProperty;
53350
- var h50 = (d55, t46) => y8(d55, "name", { value: t46, configurable: true });
53354
+ var h49 = (d55, t46) => y8(d55, "name", { value: t46, configurable: true });
53351
53355
  var c55 = function(d55, t46, e44, s51) {
53352
53356
  var r71 = arguments.length, i55 = r71 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, e44) : s51, o57;
53353
53357
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(d55, t46, e44, s51);
53354
53358
  else for (var n55 = d55.length - 1; n55 >= 0; n55--) (o57 = d55[n55]) && (i55 = (r71 < 3 ? o57(i55) : r71 > 3 ? o57(t46, e44, i55) : o57(t46, e44)) || i55);
53355
53359
  return r71 > 3 && i55 && Object.defineProperty(t46, e44, i55), i55;
53356
53360
  };
53357
- var u50 = class u51 extends Plugin {
53361
+ var u51 = class u52 extends Plugin {
53358
53362
  constructor(t46) {
53359
53363
  super(t46), this.hasStyle = !n11.fatMode, this.buttons = [{ group: "insert", name: "keyboard" }];
53360
53364
  const { extraKeyButtons: e44, extraKeyGroup: s51 } = t46.o.keyboard;
@@ -53397,8 +53401,8 @@ var u50 = class u51 extends Plugin {
53397
53401
  (e44 = this.__keyboard) === null || e44 === void 0 || e44.destruct();
53398
53402
  }
53399
53403
  };
53400
- h50(u50, "keyboard");
53401
- var a66 = u50;
53404
+ h49(u51, "keyboard");
53405
+ var a66 = u51;
53402
53406
  a66.requires = ["license"], c55([autobind], a66.prototype, "insertChar", null), c55([autobind], a66.prototype, "toggleKeyboard", null), n11.plugins.add("keyboard", a66);
53403
53407
 
53404
53408
  // node_modules/jodit-pro/esm/plugins/mobile-view/icon.svg.js
@@ -53435,18 +53439,18 @@ init_utils3();
53435
53439
  init_plugin2();
53436
53440
  var b14 = Object.defineProperty;
53437
53441
  var c57 = (i55, e44) => b14(i55, "name", { value: e44, configurable: true });
53438
- var h51 = (i55, e44) => () => {
53442
+ var h50 = (i55, e44) => () => {
53439
53443
  try {
53440
53444
  return e44 || i55((e44 = { exports: {} }).exports, e44), e44.exports;
53441
53445
  } catch (r71) {
53442
53446
  throw e44 = 0, r71;
53443
53447
  }
53444
53448
  };
53445
- var S6 = h51((d55) => {
53449
+ var S6 = h50((d55) => {
53446
53450
  var n55, m53 = d55 && d55.__decorate || function(i55, e44, r71, l60) {
53447
- var t46 = arguments.length, o57 = t46 < 3 ? e44 : l60 === null ? l60 = Object.getOwnPropertyDescriptor(e44, r71) : l60, u56;
53451
+ var t46 = arguments.length, o57 = t46 < 3 ? e44 : l60 === null ? l60 = Object.getOwnPropertyDescriptor(e44, r71) : l60, u57;
53448
53452
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(i55, e44, r71, l60);
53449
- else for (var a79 = i55.length - 1; a79 >= 0; a79--) (u56 = i55[a79]) && (o57 = (t46 < 3 ? u56(o57) : t46 > 3 ? u56(e44, r71, o57) : u56(e44, r71)) || o57);
53453
+ else for (var a79 = i55.length - 1; a79 >= 0; a79--) (u57 = i55[a79]) && (o57 = (t46 < 3 ? u57(o57) : t46 > 3 ? u57(e44, r71, o57) : u57(e44, r71)) || o57);
53450
53454
  return t46 > 3 && o57 && Object.defineProperty(e44, r71, o57), o57;
53451
53455
  };
53452
53456
  let f49 = (n55 = class extends Plugin {
@@ -53566,11 +53570,11 @@ function C11(e44, t46) {
53566
53570
  return n55 == null && a79 !== t46 && o57(a79), e44.o.pasteCode.canonicalLanguageCode(n55 || "html");
53567
53571
  }
53568
53572
  i47(C11, "parseLanguage");
53569
- function h52(e44, t46) {
53573
+ function h51(e44, t46) {
53570
53574
  const n55 = e44.o.pasteCode.languages.find((o57) => String(o57.value) === t46);
53571
53575
  return e44.i18n(String(n55 ? n55.text : t46));
53572
53576
  }
53573
- i47(h52, "languageTitle");
53577
+ i47(h51, "languageTitle");
53574
53578
  function m45(e44, t46, n55) {
53575
53579
  const o57 = i47((c70) => Array.from(c70.classList).forEach((s51) => {
53576
53580
  /^language-/.test(s51) && c70.classList.remove(s51);
@@ -53637,9 +53641,9 @@ var w8 = Object.defineProperty;
53637
53641
  var a69 = (p62, t46) => w8(p62, "name", { value: t46, configurable: true });
53638
53642
  var l53;
53639
53643
  var r57 = function(p62, t46, e44, i55) {
53640
- var o57 = arguments.length, n55 = o57 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, e44) : i55, u56;
53644
+ var o57 = arguments.length, n55 = o57 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, e44) : i55, u57;
53641
53645
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(p62, t46, e44, i55);
53642
- else for (var d55 = p62.length - 1; d55 >= 0; d55--) (u56 = p62[d55]) && (n55 = (o57 < 3 ? u56(n55) : o57 > 3 ? u56(t46, e44, n55) : u56(t46, e44)) || n55);
53646
+ else for (var d55 = p62.length - 1; d55 >= 0; d55--) (u57 = p62[d55]) && (n55 = (o57 < 3 ? u57(n55) : o57 > 3 ? u57(t46, e44, n55) : u57(t46, e44)) || n55);
53643
53647
  return o57 > 3 && n55 && Object.defineProperty(t46, e44, n55), n55;
53644
53648
  };
53645
53649
  var C12 = 16;
@@ -53714,9 +53718,9 @@ var s45 = (l53 = class extends UIElement {
53714
53718
  const t46 = {};
53715
53719
  return this.j.o.pasteCode.languages.forEach((e44) => {
53716
53720
  t46[String(e44.value)] = String(e44.text);
53717
- }), { name: "language", list: t46, tooltip: "Language", text: h52(this.j, C11(this.j, this.currentBlock)), childTemplate: a69((e44, i55, o57) => this.j.i18n(o57), "childTemplate"), update: a69((e44, i55) => {
53721
+ }), { name: "language", list: t46, tooltip: "Language", text: h51(this.j, C11(this.j, this.currentBlock)), childTemplate: a69((e44, i55, o57) => this.j.i18n(o57), "childTemplate"), update: a69((e44, i55) => {
53718
53722
  const o57 = i55.target;
53719
- Dom.isTag(o57, "pre") && i55.setState({ text: h52(this.j, C11(this.j, o57)), icon: { name: "" } });
53723
+ Dom.isTag(o57, "pre") && i55.setState({ text: h51(this.j, C11(this.j, o57)), icon: { name: "" } });
53720
53724
  }, "update"), childExec: a69((e44, i55, { control: o57 }) => {
53721
53725
  const n55 = String(o57.args && o57.args[0] || "plaintext");
53722
53726
  Dom.isTag(i55, "pre") && (m45(this.j, i55, n55), this.j.e.fire("hideCodeTuner.pasteCode"));
@@ -53740,18 +53744,18 @@ init_htmlspecialchars();
53740
53744
  init_plugin2();
53741
53745
  var v19 = Object.defineProperty;
53742
53746
  var _9 = (d55, e44) => v19(d55, "name", { value: e44, configurable: true });
53743
- var u52;
53747
+ var u53;
53744
53748
  var g20 = function(d55, e44, t46, o57) {
53745
53749
  var i55 = arguments.length, a79 = i55 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, t46) : o57, s51;
53746
53750
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a79 = Reflect.decorate(d55, e44, t46, o57);
53747
53751
  else for (var n55 = d55.length - 1; n55 >= 0; n55--) (s51 = d55[n55]) && (a79 = (i55 < 3 ? s51(a79) : i55 > 3 ? s51(e44, t46, a79) : s51(e44, t46)) || a79);
53748
53752
  return i55 > 3 && a79 && Object.defineProperty(e44, t46, a79), a79;
53749
53753
  };
53750
- var l54 = (u52 = class extends Plugin {
53754
+ var l54 = (u53 = class extends Plugin {
53751
53755
  constructor() {
53752
53756
  super(...arguments), this.buttons = [{ name: "pasteCode", group: "clipboard" }], this.__highlightLibJSIsLoaded = false, this.__loadLanguage = /* @__PURE__ */ new Map(), this.__initHighlightLibLoading = (e44) => __async(this, null, function* () {
53753
- const { globalHighlightLib: t46, highlightLib: { css: o57, js: i55, langUrl: a79, highlight: s51, isLangLoaded: n55, beforeLibLoad: c70, afterLibLoad: h62 } } = this.j.o.pasteCode;
53754
- return !this.__highlightLibJSIsLoaded && !t46 && (this.__highlightLibJSIsLoaded = Promise.resolve(c70 == null ? void 0 : c70()).then(() => L6(this.async, Promise.allSettled([loadNextStyle(this.jodit, o57).catch(() => null), loadNext(this.jodit, i55).catch(() => null)]))).then(() => h62 == null ? void 0 : h62())), isBoolean(this.__highlightLibJSIsLoaded) || (yield this.__highlightLibJSIsLoaded), e44 && !n55(e44) && !t46 && (this.__loadLanguage.has(e44) || (IS_PROD || console.log("Load language", e44, "for paste-code"), this.__loadLanguage.set(e44, L6(this.async, appendScriptAsync(this.jodit, a79(e44)).catch(() => null)))), yield this.__loadLanguage.get(e44)), { highlight: s51 };
53757
+ const { globalHighlightLib: t46, highlightLib: { css: o57, js: i55, langUrl: a79, highlight: s51, isLangLoaded: n55, beforeLibLoad: c70, afterLibLoad: h61 } } = this.j.o.pasteCode;
53758
+ return !this.__highlightLibJSIsLoaded && !t46 && (this.__highlightLibJSIsLoaded = Promise.resolve(c70 == null ? void 0 : c70()).then(() => L6(this.async, Promise.allSettled([loadNextStyle(this.jodit, o57).catch(() => null), loadNext(this.jodit, i55).catch(() => null)]))).then(() => h61 == null ? void 0 : h61())), isBoolean(this.__highlightLibJSIsLoaded) || (yield this.__highlightLibJSIsLoaded), e44 && !n55(e44) && !t46 && (this.__loadLanguage.has(e44) || (IS_PROD || console.log("Load language", e44, "for paste-code"), this.__loadLanguage.set(e44, L6(this.async, appendScriptAsync(this.jodit, a79(e44)).catch(() => null)))), yield this.__loadLanguage.get(e44)), { highlight: s51 };
53755
53759
  });
53756
53760
  }
53757
53761
  className() {
@@ -53767,11 +53771,11 @@ var l54 = (u52 = class extends Plugin {
53767
53771
  }), i55.s.save(), this.__createDialog(() => {
53768
53772
  if (a79.validate()) {
53769
53773
  i55.s.restore();
53770
- const h62 = i55.createInside.fromHTML(i55.o.pasteCode.insertTemplate(i55, n55.value, s51.value));
53771
- if (o57) Dom.replace(o57, h62, i55.createInside, false, true);
53774
+ const h61 = i55.createInside.fromHTML(i55.o.pasteCode.insertTemplate(i55, n55.value, s51.value));
53775
+ if (o57) Dom.replace(o57, h61, i55.createInside, false, true);
53772
53776
  else {
53773
53777
  const b16 = i55.s.current(), f49 = Dom.up(b16, Dom.isBlock, i55.editor);
53774
- f49 && !Dom.isCell(f49) ? Dom.after(f49, h62) : i55.s.insertNode(h62);
53778
+ f49 && !Dom.isCell(f49) ? Dom.after(f49, h61) : i55.s.insertNode(h61);
53775
53779
  }
53776
53780
  this.__imdOnChange();
53777
53781
  return;
@@ -53829,7 +53833,7 @@ var l54 = (u52 = class extends Plugin {
53829
53833
  const t46 = _9((o57, i55, a79, s51, n55, c70) => `${i55.trim()}${s51}${htmlspecialchars(stripTags(n55, this.j.ed, /* @__PURE__ */ new Set(["br"])))}${c70}`, "strip");
53830
53834
  e44.value = e44.value.replace(new RegExp(`(<pre[^>]*)contenteditable\\s*=\\s*(['"]?)false\\2([^>]*>\\s*<code[^>]*>)(.*?)(<\\/code>\\s*<\\/pre>)`, "gis"), t46).replace(new RegExp(`(<pre[^>]*)contenteditable\\s*=\\s*(['"]?)false\\2([^>]*>)(.*?)(<\\/pre>)`, "gis"), t46);
53831
53835
  }
53832
- }, _9(u52, "pasteCode"), u52);
53836
+ }, _9(u53, "pasteCode"), u53);
53833
53837
  l54.requires = ["license"], g20([autobind], l54.prototype, "__openCodeEditDialog", null), g20([watch("?:rehighlightPasteCode")], l54.prototype, "onRehighlightPasteCode", null), g20([watch(["?:change", "?:afterInit"]), debounce()], l54.prototype, "__onChange", null), g20([watch(["?:dblclick", "?:editPreInPasteCode"])], l54.prototype, "onPreEdit", null), g20([watch("?:afterGetValueFromEditor")], l54.prototype, "onAfterGetValueFromEditor", null), l54 = g20([component], l54);
53834
53838
  function L6(d55, e44) {
53835
53839
  return d55.promise((t46, o57) => {
@@ -53915,7 +53919,7 @@ var e29 = (r71, s51) => () => {
53915
53919
  throw s51 = 0, t46;
53916
53920
  }
53917
53921
  };
53918
- var c61 = e29((u56, o57) => {
53922
+ var c61 = e29((u57, o57) => {
53919
53923
  o57.exports = { "Show Blocks": "Mostrar Bloques" };
53920
53924
  });
53921
53925
  var es_default2 = c61();
@@ -53941,7 +53945,7 @@ var r60 = (e44, s51) => () => {
53941
53945
  throw s51 = 0, o57;
53942
53946
  }
53943
53947
  };
53944
- var t36 = r60((h62, c70) => {
53948
+ var t36 = r60((h61, c70) => {
53945
53949
  c70.exports = { "Show Blocks": "Afficher Les Blocs" };
53946
53950
  });
53947
53951
  var fr_default2 = t36();
@@ -54135,9 +54139,9 @@ function B4(s51) {
54135
54139
  return `data:image/svg+xml;utf8,${escape(s51)}`;
54136
54140
  }
54137
54141
  c66(B4, "svgToUrl");
54138
- var h53 = class h54 extends Plugin {
54142
+ var h52 = class h53 extends Plugin {
54139
54143
  get style() {
54140
- return getContainer(this.jodit, h54, "style", true);
54144
+ return getContainer(this.jodit, h53, "style", true);
54141
54145
  }
54142
54146
  enable() {
54143
54147
  this.isEnabled = true;
@@ -54168,8 +54172,8 @@ var h53 = class h54 extends Plugin {
54168
54172
  this.disable(), Dom.safeRemove(cached(this, "style"));
54169
54173
  }
54170
54174
  };
54171
- c66(h53, "showBlocks");
54172
- var o47 = h53;
54175
+ c66(h52, "showBlocks");
54176
+ var o47 = h52;
54173
54177
  o47.requires = ["license"], a71([cache], o47.prototype, "style", null), a71([autobind], o47.prototype, "enable", null), a71([autobind], o47.prototype, "disable", null), a71([autobind], o47.prototype, "toggle", null), n11.plugins.add("show-blocks", o47);
54174
54178
 
54175
54179
  // node_modules/jodit-pro/esm/plugins/style/helpers/detect-active-style.js
@@ -54177,8 +54181,8 @@ init_constants();
54177
54181
  init_dom();
54178
54182
  init_attr();
54179
54183
  init_css();
54180
- var u53 = Object.defineProperty;
54181
- var o48 = (e44, i55) => u53(e44, "name", { value: i55, configurable: true });
54184
+ var u54 = Object.defineProperty;
54185
+ var o48 = (e44, i55) => u54(e44, "name", { value: i55, configurable: true });
54182
54186
  function p57(e44, i55) {
54183
54187
  for (const [n55, t46] of Object.entries(i55)) if (t46 != null) {
54184
54188
  if (n55 === "class") {
@@ -54200,7 +54204,7 @@ function f42(e44, i55) {
54200
54204
  return (t46 == null ? void 0 : t46.length) ? t46.every((r71) => e44.classList.contains(r71)) : true;
54201
54205
  }
54202
54206
  o48(f42, "elementMatchesDefinition");
54203
- function h55(e44, i55) {
54207
+ function h54(e44, i55) {
54204
54208
  const n55 = e44.s.current();
54205
54209
  if (!n55) return null;
54206
54210
  for (const t46 of i55) if (IS_BLOCK.test(t46.element)) {
@@ -54215,7 +54219,7 @@ function h55(e44, i55) {
54215
54219
  }
54216
54220
  return null;
54217
54221
  }
54218
- o48(h55, "detectActiveStyle");
54222
+ o48(h54, "detectActiveStyle");
54219
54223
 
54220
54224
  // node_modules/jodit-pro/esm/plugins/style/helpers/apply-style.js
54221
54225
  init_constants();
@@ -54277,13 +54281,13 @@ function S7(t46, e44) {
54277
54281
  }
54278
54282
  }
54279
54283
  i49(S7, "removeBlockStyleAttributes");
54280
- function h56(t46) {
54284
+ function h55(t46) {
54281
54285
  const e44 = t46.s.current();
54282
54286
  if (!e44) return;
54283
54287
  const n55 = Dom.closest(e44, Dom.isBlock, t46.editor);
54284
54288
  Dom.isTag(n55, "pre") && attr(n55, "contenteditable") === "false" && attr(n55, "contenteditable", null);
54285
54289
  }
54286
- i49(h56, "unlockCodeBlock");
54290
+ i49(h55, "unlockCodeBlock");
54287
54291
  function b15(t46) {
54288
54292
  var e44;
54289
54293
  if (t46.attributes) return { element: t46.element, attributes: t46.attributes };
@@ -54292,8 +54296,8 @@ function b15(t46) {
54292
54296
  }
54293
54297
  i49(b15, "buildCommitStyleOptions");
54294
54298
  function j9(t46, e44, n55) {
54295
- const s51 = h55(t46, n55), l60 = IS_BLOCK.test(e44.element);
54296
- if (l60 && h56(t46), s51 && IS_BLOCK.test(s51.element) === l60) {
54299
+ const s51 = h54(t46, n55), l60 = IS_BLOCK.test(e44.element);
54300
+ if (l60 && h55(t46), s51 && IS_BLOCK.test(s51.element) === l60) {
54297
54301
  if (l60 && s51 !== e44) S7(t46, s51);
54298
54302
  else if (t46.s.commitStyle(b15(s51)), s51.attributes || g21(t46, s51), s51 === e44) return;
54299
54303
  }
@@ -54315,12 +54319,12 @@ o49(r67, "classifyDefinitions");
54315
54319
 
54316
54320
  // node_modules/jodit-pro/esm/plugins/style/ui/style-popup.js
54317
54321
  init_attr();
54318
- var h57 = Object.defineProperty;
54319
- var f44 = (t46, o57) => h57(t46, "name", { value: o57, configurable: true });
54322
+ var h56 = Object.defineProperty;
54323
+ var f44 = (t46, o57) => h56(t46, "name", { value: o57, configurable: true });
54320
54324
  var n50 = "jodit-style-popup";
54321
54325
  function j10(t46, o57, v22) {
54322
54326
  var s51, a79;
54323
- const m53 = r67(o57), C15 = h55(t46, o57), i55 = t46.c.div(n50);
54327
+ const m53 = r67(o57), C15 = h54(t46, o57), i55 = t46.c.div(n50);
54324
54328
  for (const p62 of m53) {
54325
54329
  const r71 = t46.c.div(`${n50}__group-title`);
54326
54330
  r71.textContent = t46.i18n(p62.title), i55.appendChild(r71);
@@ -54330,10 +54334,10 @@ function j10(t46, o57, v22) {
54330
54334
  c70.type = "button";
54331
54335
  const b16 = C15 === e44;
54332
54336
  c70.className = `${n50}__card` + (b16 ? ` ${n50}__card_active_true` : "");
54333
- const u56 = t46.c.div(`${n50}__card-preview`), l60 = t46.c.element(e44.element);
54337
+ const u57 = t46.c.div(`${n50}__card-preview`), l60 = t46.c.element(e44.element);
54334
54338
  if (e44.attributes) attr(l60, e44.attributes);
54335
54339
  else for (const y9 of (a79 = (s51 = e44.classes) === null || s51 === void 0 ? void 0 : s51.filter(Boolean)) !== null && a79 !== void 0 ? a79 : []) l60.classList.add(y9);
54336
- l60.textContent = e44.name, u56.appendChild(l60), c70.appendChild(u56);
54340
+ l60.textContent = e44.name, u57.appendChild(l60), c70.appendChild(u57);
54337
54341
  const _12 = t46.c.div(`${n50}__card-label`);
54338
54342
  _12.textContent = e44.name, c70.appendChild(_12), t46.e.on(c70, "click", () => {
54339
54343
  t46.s.focus(), j9(t46, e44, o57), t46.synchronizeValues(), v22();
@@ -54354,12 +54358,12 @@ Config.prototype.customStyles = { definitions: [] }, Config.prototype.controls.s
54354
54358
  return !t46.o.customStyles.definitions.length;
54355
54359
  }, isActive(t46) {
54356
54360
  const e44 = t46.o.customStyles.definitions;
54357
- return e44.length ? h55(t46, e44) != null : false;
54361
+ return e44.length ? h54(t46, e44) != null : false;
54358
54362
  }, update(t46, e44) {
54359
54363
  var s51;
54360
54364
  const o57 = t46.o.customStyles.definitions;
54361
54365
  if (!o57.length) return;
54362
- const n55 = h55(t46, o57), i55 = ((s51 = e44.control) === null || s51 === void 0 ? void 0 : s51.component) === "select";
54366
+ const n55 = h54(t46, o57), i55 = ((s51 = e44.control) === null || s51 === void 0 ? void 0 : s51.component) === "select";
54363
54367
  (t46.o.textIcons || i55) && (n55 ? e44.state.text = n55.name : e44.state.text = i55 ? t46.i18n("Styles") : "");
54364
54368
  }, exec() {
54365
54369
  return false;
@@ -54483,11 +54487,11 @@ var L7 = (c70, e44) => g22(c70, "name", { value: e44, configurable: true });
54483
54487
  var i50 = function(c70, e44, t46, s51) {
54484
54488
  var l60 = arguments.length, r71 = l60 < 3 ? e44 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(e44, t46) : s51, p62;
54485
54489
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(c70, e44, t46, s51);
54486
- else for (var u56 = c70.length - 1; u56 >= 0; u56--) (p62 = c70[u56]) && (r71 = (l60 < 3 ? p62(r71) : l60 > 3 ? p62(e44, t46, r71) : p62(e44, t46)) || r71);
54490
+ else for (var u57 = c70.length - 1; u57 >= 0; u57--) (p62 = c70[u57]) && (r71 = (l60 < 3 ? p62(r71) : l60 > 3 ? p62(e44, t46, r71) : p62(e44, t46)) || r71);
54487
54491
  return l60 > 3 && r71 && Object.defineProperty(e44, t46, r71), r71;
54488
54492
  };
54489
54493
  var d50 = true;
54490
- var h58 = class h59 extends Plugin {
54494
+ var h57 = class h58 extends Plugin {
54491
54495
  constructor() {
54492
54496
  super(...arguments), this.buttons = [{ name: "todoList", group: "list" }], this.__isOwnCommand = false;
54493
54497
  }
@@ -54573,8 +54577,8 @@ var h58 = class h59 extends Plugin {
54573
54577
  beforeDestruct(e44) {
54574
54578
  }
54575
54579
  };
54576
- L7(h58, "TodoList");
54577
- var o53 = h58;
54580
+ L7(h57, "TodoList");
54581
+ var o53 = h57;
54578
54582
  o53.requires = ["license"], i50([autobind], o53.prototype, "onCommand", null), i50([autobind], o53.prototype, "__prependInputLabel", null), i50([watch(":commitStyleAfterToggleList")], o53.prototype, "__afterToggleList", null), i50([watch(":commitStyleBeforeUnwrapList")], o53.prototype, "__beforeToggleOrderedList", null), i50([watch(":afterEnter")], o53.prototype, "__afterEnter", null), i50([watch(":afterTab")], o53.prototype, "__afterTab", null), i50([watch("j.ed:selectionchange"), watch(":afterEnter")], o53.prototype, "__changeSelection", null), i50([watch(":enterIsEmptyListLeaf")], o53.prototype, "__isEmptyListLeaf", null), i50([watch(":backSpaceBeforeCases")], o53.prototype, "__backSpaceBeforeCases", null), i50([watch(":backSpaceIsMovedIgnore"), watch(":isInvisibleForCursor")], o53.prototype, "__isInvisibleForCursor", null), i50([watch(":backSpaceAfterDelete")], o53.prototype, "__backSpaceAfterDelete", null), i50([autobind], o53.prototype, "__afterWrapList", null), i50([watch(":click")], o53.prototype, "__onClickInput", null), i50([autobind], o53.prototype, "isTodoLeafLabel", null), n11.plugins.add("todo-list", o53);
54579
54583
 
54580
54584
  // node_modules/jodit-pro/esm/plugins/translate/assets/swap.svg.js
@@ -54599,8 +54603,8 @@ init_assert();
54599
54603
  var a73 = { "Detect language": "auto", Afrikaans: "af", Albanian: "sq", Amharic: "am", Arabic: "ar", Armenian: "hy", "Assamese*": "as", "Aymara*": "ay", Azerbaijani: "az", "Bambara*": "bm", Basque: "eu", Belarusian: "be", Bengali: "bn", "Bhojpuri*": "bho", Bosnian: "bs", Bulgarian: "bg", Catalan: "ca", Cebuano: "ceb", "Chinese (Simplified)": "zh-CN", "Chinese (Traditional)": "zh-TW", Corsican: "co", Croatian: "hr", Czech: "cs", Danish: "da", "Dhivehi*": "dv", "Dogri*": "doi", Dutch: "nl", English: "en", Esperanto: "eo", Estonian: "et", "Ewe*": "ee", "Filipino (Tagalog)": "fil", Finnish: "fi", French: "fr", Frisian: "fy", Galician: "gl", Georgian: "ka", German: "de", Greek: "el", "Guarani*": "gn", Gujarati: "gu", "Haitian Creole": "ht", Hausa: "ha", Hawaiian: "haw", Hebrew: "he", Hindi: "hi", Hmong: "hmn", Hungarian: "hu", Icelandic: "is", Igbo: "ig", "Ilocano*": "ilo", Indonesian: "id", Irish: "ga", Italian: "it", Japanese: "ja", Kannada: "kn", Kazakh: "kk", Khmer: "km", Kinyarwanda: "rw", "Konkani*": "gom", Korean: "ko", "Krio*": "kri", Kurdish: "ku", "Kurdish (Sorani)*": "ckb", Kyrgyz: "ky", Lao: "lo", Latin: "la", Latvian: "lv", "Lingala*": "ln", Lithuanian: "lt", "Luganda*": "lg", Luxembourgish: "lb", Macedonian: "mk", "Maithili*": "mai", Malagasy: "mg", Malay: "ms", Malayalam: "ml", Maltese: "mt", Maori: "mi", Marathi: "mr", "Meiteilon (Manipuri)*": "mni-Mtei", Mizo: "lus", Mongolian: "mn", "Myanmar (Burmese)": "my", Nepali: "ne", Norwegian: "no", "Nyanja (Chichewa)": "ny", "Odia (Oriya)": "or", "Oromo*": "om", Pashto: "ps", Persian: "fa", Polish: "pl", Portuguese: "pt", Punjabi: "pa", "Quechua*": "qu", Romanian: "ro", Russian: "ru", Samoan: "sm", "Sanskrit*": "sa", "Scots Gaelic": "gd", "Sepedi*": "nso", Serbian: "sr", Sesotho: "st", Shona: "sn", Sindhi: "sd", "Sinhala (Sinhalese)": "si", Slovak: "sk", Slovenian: "sl", Somali: "so", Spanish: "es", Sundanese: "su", Swahili: "sw", Swedish: "sv", "Tagalog (Filipino)": "tl", Tajik: "tg", Tamil: "ta", Tatar: "tt", Telugu: "te", Thai: "th", "Tigrinya*": "ti", "Tsonga*": "ts", Turkish: "tr", Turkmen: "tk", "Twi (Akan)*": "ak", Ukrainian: "uk", Urdu: "ur", Uyghur: "ug", Uzbek: "uz", Vietnamese: "vi", Welsh: "cy", Xhosa: "xh", Yiddish: "yi", Yoruba: "yo", Zulu: "zu" };
54600
54604
 
54601
54605
  // node_modules/jodit-pro/esm/plugins/translate/providers/cloud/cloud.js
54602
- var h60 = Object.defineProperty;
54603
- var n52 = (c70, t46) => h60(c70, "name", { value: t46, configurable: true });
54606
+ var h59 = Object.defineProperty;
54607
+ var n52 = (c70, t46) => h59(c70, "name", { value: t46, configurable: true });
54604
54608
  var a74 = class a75 {
54605
54609
  constructor(t46) {
54606
54610
  this.jodit = t46;
@@ -54629,8 +54633,8 @@ var i51 = a74;
54629
54633
  // node_modules/jodit-pro/esm/plugins/translate/providers/google/google.js
54630
54634
  init_constants();
54631
54635
  init_assert();
54632
- var h61 = Object.defineProperty;
54633
- var n53 = (c70, t46) => h61(c70, "name", { value: t46, configurable: true });
54636
+ var h60 = Object.defineProperty;
54637
+ var n53 = (c70, t46) => h60(c70, "name", { value: t46, configurable: true });
54634
54638
  var a76 = class a77 {
54635
54639
  constructor(t46) {
54636
54640
  this.jodit = t46;
@@ -54669,9 +54673,9 @@ var m49 = Object.defineProperty;
54669
54673
  var _10 = (r71, t46) => m49(r71, "name", { value: t46, configurable: true });
54670
54674
  var s48;
54671
54675
  var l57 = function(r71, t46, e44, i55) {
54672
- var n55 = arguments.length, a79 = n55 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, e44) : i55, h62;
54676
+ var n55 = arguments.length, a79 = n55 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, e44) : i55, h61;
54673
54677
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a79 = Reflect.decorate(r71, t46, e44, i55);
54674
- else for (var d55 = r71.length - 1; d55 >= 0; d55--) (h62 = r71[d55]) && (a79 = (n55 < 3 ? h62(a79) : n55 > 3 ? h62(t46, e44, a79) : h62(t46, e44)) || a79);
54678
+ else for (var d55 = r71.length - 1; d55 >= 0; d55--) (h61 = r71[d55]) && (a79 = (n55 < 3 ? h61(a79) : n55 > 3 ? h61(t46, e44, a79) : h61(t46, e44)) || a79);
54675
54679
  return n55 > 3 && a79 && Object.defineProperty(t46, e44, a79), a79;
54676
54680
  };
54677
54681
  var o54 = (s48 = class extends UIElement {
@@ -54732,7 +54736,7 @@ var r70;
54732
54736
  var _11 = function(o57, t46, e44, a79) {
54733
54737
  var i55 = arguments.length, s51 = i55 < 3 ? t46 : a79 === null ? a79 = Object.getOwnPropertyDescriptor(t46, e44) : a79, n55;
54734
54738
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(o57, t46, e44, a79);
54735
- else for (var h62 = o57.length - 1; h62 >= 0; h62--) (n55 = o57[h62]) && (s51 = (i55 < 3 ? n55(s51) : i55 > 3 ? n55(t46, e44, s51) : n55(t46, e44)) || s51);
54739
+ else for (var h61 = o57.length - 1; h61 >= 0; h61--) (n55 = o57[h61]) && (s51 = (i55 < 3 ? n55(s51) : i55 > 3 ? n55(t46, e44, s51) : n55(t46, e44)) || s51);
54736
54740
  return i55 > 3 && s51 && Object.defineProperty(t46, e44, s51), s51;
54737
54741
  };
54738
54742
  var l58 = (r70 = class extends UIElement {
@@ -54771,15 +54775,15 @@ function R2(t46) {
54771
54775
  const e44 = [], r71 = t46.s.expandSelection().sel;
54772
54776
  if (!r71 || r71.rangeCount === 0 || r71.isCollapsed) return e44;
54773
54777
  t46.s.range.commonAncestorContainer.normalize();
54774
- const a79 = t46.s.range, { commonAncestorContainer: T4, startContainer: l60, endContainer: h62, startOffset: u56, endOffset: d55 } = a79;
54775
- if (l60 === h62) {
54776
- if (Dom.isText(l60)) return [f45(l60, u56, d55)];
54777
- if (d55 - u56 === 1) {
54778
- const o57 = l60.childNodes[u56];
54778
+ const a79 = t46.s.range, { commonAncestorContainer: T4, startContainer: l60, endContainer: h61, startOffset: u57, endOffset: d55 } = a79;
54779
+ if (l60 === h61) {
54780
+ if (Dom.isText(l60)) return [f45(l60, u57, d55)];
54781
+ if (d55 - u57 === 1) {
54782
+ const o57 = l60.childNodes[u57];
54779
54783
  return Dom.isText(o57) ? [f45(o57, 0, o57.nodeValue.length)] : [N3(o57)];
54780
54784
  }
54781
- if (u56 === 0 && l60.childNodes.length === d55) return [N3(l60)];
54782
- for (let o57 = u56; o57 < d55; o57++) {
54785
+ if (u57 === 0 && l60.childNodes.length === d55) return [N3(l60)];
54786
+ for (let o57 = u57; o57 < d55; o57++) {
54783
54787
  const s51 = l60.childNodes[o57];
54784
54788
  Dom.isText(s51) ? e44.push(f45(s51, 0, s51.nodeValue.length)) : e44.push(N3(s51));
54785
54789
  }
@@ -54792,7 +54796,7 @@ function R2(t46) {
54792
54796
  else if (Dom.isText(n55) && m50(a79, n55)) e44.push(f45(n55, 0, n55.nodeValue.length));
54793
54797
  else if (Dom.isText(n55)) {
54794
54798
  let o57 = 0, s51 = n55.nodeValue.length;
54795
- n55 === l60 && (o57 = u56), n55 === h62 && (s51 = d55), e44.push(f45(n55, o57, s51));
54799
+ n55 === l60 && (o57 = u57), n55 === h61 && (s51 = d55), e44.push(f45(n55, o57, s51));
54796
54800
  }
54797
54801
  n55 = g25.nextNode();
54798
54802
  }
@@ -54858,12 +54862,12 @@ var g23 = class g24 extends Plugin {
54858
54862
  let o57 = this.state;
54859
54863
  const r71 = t46.dlg();
54860
54864
  r71.setHeader("Translate options");
54861
- const e44 = yield a79.supportedLanguages(), s51 = "source" in e44 ? e44.source.langs : e44.langs, n55 = "target" in e44 ? e44.target.langs : e44.langs, u56 = new l58(r71, this.state, { sourceList: s51, targetList: n55, onChange(h62) {
54862
- o57 = h62;
54865
+ const e44 = yield a79.supportedLanguages(), s51 = "source" in e44 ? e44.source.langs : e44.langs, n55 = "target" in e44 ? e44.target.langs : e44.langs, u57 = new l58(r71, this.state, { sourceList: s51, targetList: n55, onChange(h61) {
54866
+ o57 = h61;
54863
54867
  } });
54864
- r71.setContent(u56), r71.setFooter([Button(t46, "cancel", "Cancel").onAction(() => r71.close()), Button(t46, "ok", "Save", "primary").onAction(() => {
54868
+ r71.setContent(u57), r71.setFooter([Button(t46, "cancel", "Cancel").onAction(() => r71.close()), Button(t46, "ok", "Save", "primary").onAction(() => {
54865
54869
  this.state = o57, r71.close();
54866
- })]), u56.bindDestruct(r71), r71.setSize(500, 400).open(true);
54870
+ })]), u57.bindDestruct(r71), r71.setSize(500, 400).open(true);
54867
54871
  }), "exec"), hotkeys: t46.o.translate.hotkeys.translateOptions }).registerCommand("translate", { exec: l59(() => {
54868
54872
  const o57 = R2(t46).filter((s51) => s51.text.trim().length > 0);
54869
54873
  if (!o57.length) {
@@ -54900,7 +54904,7 @@ var s49 = ["tune.h1", "tune.h2", "tune.h3", `
54900
54904
  `, "tune.h4", "tune.h5", "tune.h6", `
54901
54905
  `, ...i54];
54902
54906
  Config.prototype.tuneBlock = { popup: { p: i54, table: i54, img: i54, blockquote: i54, div: i54, pre: ["tune.editPre", ...i54], h1: s49, h2: s49, h3: s49, h4: s49, h5: s49, h6: s49 } };
54903
- function u54(e44) {
54907
+ function u55(e44) {
54904
54908
  return { icon: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">' + e44.toUpperCase() + "</text></svg>", isActive(n55, r71) {
54905
54909
  var o57;
54906
54910
  return ((o57 = r71 == null ? void 0 : r71.target) === null || o57 === void 0 ? void 0 : o57.tagName.toLowerCase()) === e44;
@@ -54913,7 +54917,7 @@ function u54(e44) {
54913
54917
  return true;
54914
54918
  } };
54915
54919
  }
54916
- c69(u54, "headerControl");
54920
+ c69(u55, "headerControl");
54917
54921
  function a78(e44) {
54918
54922
  const n55 = e44 ? "previousSibling" : "nextSibling";
54919
54923
  return { icon: e44 ? "angle-up" : "angle-down", isDisabled(r71, o57) {
@@ -54924,7 +54928,7 @@ function a78(e44) {
54924
54928
  return o57 && t46 && (r71.selection.save(), call(e44 ? Dom.before : Dom.after, t46, o57), r71.selection.restore()), r71.e.fire("synchro"), r71.e.fire("afterExecTune.tune"), true;
54925
54929
  } };
54926
54930
  }
54927
- c69(a78, "moveTo"), Config.prototype.controls.tune = { h1: u54("h1"), h2: u54("h2"), h3: u54("h3"), h4: u54("h4"), h5: u54("h5"), h6: u54("h6"), up: a78(true), down: a78(false), editPre: { icon: "pencil", exec(e44, n55) {
54931
+ c69(a78, "moveTo"), Config.prototype.controls.tune = { h1: u55("h1"), h2: u55("h2"), h3: u55("h3"), h4: u55("h4"), h5: u55("h5"), h6: u55("h6"), up: a78(true), down: a78(false), editPre: { icon: "pencil", exec(e44, n55) {
54928
54932
  e44.e.fire("editPreInPasteCode", n55);
54929
54933
  } }, remove: { icon: "bin", exec(e44, n55) {
54930
54934
  Dom.safeRemove(n55), e44.e.fire("synchro"), e44.e.fire("closeTuner.tune"), e44.e.fire("hideTuner.tune");
@@ -54935,12 +54939,12 @@ init_decorators();
54935
54939
  init_dom2();
54936
54940
  init_helpers();
54937
54941
  var m51 = Object.defineProperty;
54938
- var d52 = (h62, t46) => m51(h62, "name", { value: t46, configurable: true });
54942
+ var d52 = (h61, t46) => m51(h61, "name", { value: t46, configurable: true });
54939
54943
  var p59;
54940
- var s50 = function(h62, t46, o57, i55) {
54944
+ var s50 = function(h61, t46, o57, i55) {
54941
54945
  var r71 = arguments.length, e44 = r71 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, o57) : i55, l60;
54942
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(h62, t46, o57, i55);
54943
- else for (var u56 = h62.length - 1; u56 >= 0; u56--) (l60 = h62[u56]) && (e44 = (r71 < 3 ? l60(e44) : r71 > 3 ? l60(t46, o57, e44) : l60(t46, o57)) || e44);
54946
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(h61, t46, o57, i55);
54947
+ else for (var u57 = h61.length - 1; u57 >= 0; u57--) (l60 = h61[u57]) && (e44 = (r71 < 3 ? l60(e44) : r71 > 3 ? l60(t46, o57, e44) : l60(t46, o57)) || e44);
54944
54948
  return r71 > 3 && e44 && Object.defineProperty(t46, o57, e44), e44;
54945
54949
  };
54946
54950
  var n54 = (p59 = class extends UIElement {
@@ -55001,7 +55005,7 @@ init_decorators();
55001
55005
  init_plugin2();
55002
55006
  var d53 = Object.defineProperty;
55003
55007
  var f48 = (i55, e44) => d53(i55, "name", { value: e44, configurable: true });
55004
- var u55 = function(i55, e44, n55, r71) {
55008
+ var u56 = function(i55, e44, n55, r71) {
55005
55009
  var l60 = arguments.length, t46 = l60 < 3 ? e44 : r71 === null ? r71 = Object.getOwnPropertyDescriptor(e44, n55) : r71, c70;
55006
55010
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t46 = Reflect.decorate(i55, e44, n55, r71);
55007
55011
  else for (var s51 = i55.length - 1; s51 >= 0; s51--) (c70 = i55[s51]) && (t46 = (l60 < 3 ? c70(t46) : l60 > 3 ? c70(e44, n55, t46) : c70(e44, n55)) || t46);
@@ -55026,7 +55030,7 @@ var p60 = class p61 extends Plugin {
55026
55030
  };
55027
55031
  f48(p60, "tuneBlock");
55028
55032
  var o55 = p60;
55029
- o55.requires = ["license"], u55([watch(":outsideClick :keydown")], o55.prototype, "hideTuner", null), u55([watch("j.ed:selectionchange"), debounce()], o55.prototype, "onChangeSelection", null), u55([watch(":click")], o55.prototype, "onClickInBlock", null), n11.plugins.add("tune-block", o55);
55033
+ o55.requires = ["license"], u56([watch(":outsideClick :keydown")], o55.prototype, "hideTuner", null), u56([watch("j.ed:selectionchange"), debounce()], o55.prototype, "onChangeSelection", null), u56([watch(":click")], o55.prototype, "onClickInBlock", null), n11.plugins.add("tune-block", o55);
55030
55034
 
55031
55035
  // node_modules/jodit-pro/esm/index.js
55032
55036
  var d54 = Object.defineProperty;