jodit-pro-react 5.6.6 → 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.
@@ -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
  };
@@ -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
  }
@@ -41657,10 +41657,10 @@ var a13 = class a14 extends Plugin {
41657
41657
  const o57 = "validateJoditLicenseRemote", n55 = this.j.storage.get(o57);
41658
41658
  if (n55 && g3(n55, i55)) return true;
41659
41659
  const e44 = document.createElement("script");
41660
- 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) => {
41661
41661
  let l60 = false;
41662
41662
  const s51 = d3((r71) => {
41663
- l60 || (l60 = true, Dom.safeRemove(e44), u56(r71));
41663
+ l60 || (l60 = true, Dom.safeRemove(e44), u57(r71));
41664
41664
  }, "finish");
41665
41665
  window.onJoditResolveKeyCode = (r71) => {
41666
41666
  if (isBoolean(r71)) return s51(r71);
@@ -41688,10 +41688,10 @@ var U = Object.defineProperty;
41688
41688
  var v4 = (C15, e44) => U(C15, "name", { value: e44, configurable: true });
41689
41689
  var u5 = class u6 {
41690
41690
  static reconcile(e44, i55, d55) {
41691
- 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();
41692
41692
  e44.forEach((n55, s51) => {
41693
41693
  const c70 = o57(n55);
41694
- a79.set(c70, n55), h62.set(c70, s51);
41694
+ a79.set(c70, n55), h61.set(c70, s51);
41695
41695
  });
41696
41696
  const r71 = /* @__PURE__ */ new Map(), O3 = /* @__PURE__ */ new Map();
41697
41697
  i55.forEach((n55, s51) => {
@@ -41701,7 +41701,7 @@ var u5 = class u6 {
41701
41701
  const E4 = [], l60 = [], g25 = [], M4 = [];
41702
41702
  return i55.forEach((n55, s51) => {
41703
41703
  const c70 = o57(n55), f49 = a79.get(c70);
41704
- 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);
41705
41705
  }), e44.forEach((n55) => {
41706
41706
  const s51 = o57(n55);
41707
41707
  r71.has(s51) || g25.push(n55);
@@ -41714,8 +41714,8 @@ var u5 = class u6 {
41714
41714
  p62 !== -1 && ((t46 = d55.onRemove) === null || t46 === void 0 || t46.call(d55, o57, p62), e44.splice(p62, 1));
41715
41715
  }), i55.toUpdate.forEach(({ oldItem: o57, newItem: t46, index: p62 }) => {
41716
41716
  var a79;
41717
- const h62 = e44.indexOf(o57);
41718
- 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);
41719
41719
  }), i55.toCreate.forEach((o57) => {
41720
41720
  var t46;
41721
41721
  (t46 = d55.onCreate) === null || t46 === void 0 || t46.call(d55, o57, e44.length), e44.push(o57);
@@ -41754,7 +41754,7 @@ var i6;
41754
41754
  var h4 = function(c70, e44, t46, r71) {
41755
41755
  var o57 = arguments.length, n55 = o57 < 3 ? e44 : r71 === null ? r71 = Object.getOwnPropertyDescriptor(e44, t46) : r71, l60;
41756
41756
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(c70, e44, t46, r71);
41757
- 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);
41758
41758
  return o57 > 3 && n55 && Object.defineProperty(e44, t46, n55), n55;
41759
41759
  };
41760
41760
  var s15 = (i6 = class extends UIElement {
@@ -41790,9 +41790,9 @@ init_decorators();
41790
41790
  var M = Object.defineProperty;
41791
41791
  var p7 = (a79, e44) => M(a79, "name", { value: e44, configurable: true });
41792
41792
  var u7;
41793
- var S2 = function(a79, e44, i55, h62) {
41794
- var n55 = arguments.length, s51 = n55 < 3 ? e44 : h62 === null ? h62 = Object.getOwnPropertyDescriptor(e44, i55) : h62, o57;
41795
- 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);
41796
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);
41797
41797
  return n55 > 3 && s51 && Object.defineProperty(e44, i55, s51), s51;
41798
41798
  };
@@ -41815,7 +41815,7 @@ var f3 = (u7 = class extends UIGroup {
41815
41815
  }
41816
41816
  build(e44) {
41817
41817
  var i55;
41818
- 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();
41819
41819
  s51.toRemove.forEach((t46) => {
41820
41820
  const r71 = n55(t46);
41821
41821
  if (o57.has(r71)) return;
@@ -41840,7 +41840,7 @@ var f3 = (u7 = class extends UIGroup {
41840
41840
  l60 && (l60.item = t46, this.elements.indexOf(l60) !== r71 && r71 < this.elements.length && (this.remove(l60), this.append(l60, r71)));
41841
41841
  });
41842
41842
  const d55 = this.currentSelection;
41843
- 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];
41844
41844
  }
41845
41845
  selectNext() {
41846
41846
  this.currentSelection + 1 <= this.elements.length - 1 ? this.currentSelection += 1 : this.currentSelection = 0;
@@ -41993,8 +41993,8 @@ var a17 = class a18 extends Plugin {
41993
41993
  if (s51 && isArray(s51)) {
41994
41994
  const { itemRenderer: r71, insertValueRenderer: n55, maxItems: i55 } = this.j.o.autocomplete;
41995
41995
  return s51 = s51.map((R3) => {
41996
- var h62, f49;
41997
- 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);
41998
41998
  }), s51.slice(0, i55);
41999
41999
  }
42000
42000
  return [];
@@ -42253,8 +42253,8 @@ function k2(i55, a79, m53) {
42253
42253
  const e44 = l60.toLowerCase();
42254
42254
  t46 = s51.filter((n55) => n55.textContent.toLowerCase().includes(e44) || n55.tagName.includes(e44) || n55.content.toLowerCase().includes(e44));
42255
42255
  }
42256
- 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;
42257
- 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 };
42258
42258
  });
42259
42259
  }
42260
42260
  f7(k2, "execute");
@@ -42284,7 +42284,7 @@ function w2(t46, o57, c70) {
42284
42284
  const { start: i55, end: l60, aroundSelection: f49 } = o57;
42285
42285
  a20(c70);
42286
42286
  let n55 = t46.value;
42287
- const r71 = n55.length, h62 = typeof i55 == "number" ? i55 : 0;
42287
+ const r71 = n55.length, h61 = typeof i55 == "number" ? i55 : 0;
42288
42288
  if (f49 && !t46.s.isCollapsed()) {
42289
42289
  let e44 = t46.s.range.commonAncestorContainer;
42290
42290
  for (; e44 && e44 !== t46.editor; ) {
@@ -42296,7 +42296,7 @@ function w2(t46, o57, c70) {
42296
42296
  }
42297
42297
  return { html: n55, length: r71 };
42298
42298
  }
42299
- 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));
42300
42300
  return (s51 > 0 || a79 < r71) && (n55 = n55.substring(s51, a79)), { html: n55, length: r71, start: s51, end: a79 };
42301
42301
  });
42302
42302
  }
@@ -42391,9 +42391,9 @@ var s17 = true;
42391
42391
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/replace-in-document/executor.js
42392
42392
  var w3 = Object.defineProperty;
42393
42393
  var g4 = (n55, s51) => w3(n55, "name", { value: s51, configurable: true });
42394
- function x4(n55, s51, o57, c70, u56, a79) {
42395
- const l60 = n55.editor.querySelectorAll(u56);
42396
- 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}"` };
42397
42397
  let e44 = 0;
42398
42398
  return l60.forEach((t46) => {
42399
42399
  a20(a79);
@@ -42414,9 +42414,9 @@ function x4(n55, s51, o57, c70, u56, a79) {
42414
42414
  }), e44 > 0 && (n55.synchronizeValues(), n55.s.restore()), { replacements: e44 };
42415
42415
  }
42416
42416
  g4(x4, "replaceInSelectedElements");
42417
- function d7(n55, s51, o57, c70, u56, a79) {
42417
+ function d7(n55, s51, o57, c70, u57, a79) {
42418
42418
  let l60 = 0, e44 = s51;
42419
- if (u56) try {
42419
+ if (u57) try {
42420
42420
  const t46 = new RegExp(o57, "g");
42421
42421
  e44 = e44.replace(t46, () => (l60++, c70));
42422
42422
  } catch (t46) {
@@ -42432,15 +42432,15 @@ function d7(n55, s51, o57, c70, u56, a79) {
42432
42432
  g4(d7, "replaceInDocument");
42433
42433
  function $3(n55, s51, o57) {
42434
42434
  return __async(this, null, function* () {
42435
- 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;
42436
42436
  a20(o57);
42437
42437
  try {
42438
42438
  n55.s.focus(), n55.s.save();
42439
42439
  let e44 = 0, t46;
42440
42440
  if (l60) {
42441
- const r71 = x4(n55, c70, u56, a79, l60, o57);
42441
+ const r71 = x4(n55, c70, u57, a79, l60, o57);
42442
42442
  e44 = r71.replacements, t46 = r71.message;
42443
- } else e44 = d7(n55, n55.value, c70, u56, a79, o57);
42443
+ } else e44 = d7(n55, n55.value, c70, u57, a79, o57);
42444
42444
  return { replacements: e44, message: t46 || (e44 > 0 ? `Replaced ${e44} occurrence(s)` : "No matches found") };
42445
42445
  } catch (e44) {
42446
42446
  throw n55.s.restore(), new Error(`Failed to replace in document: ${(e44 == null ? void 0 : e44.message) || "Unknown error"}`);
@@ -42545,12 +42545,12 @@ function M3() {
42545
42545
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
42546
42546
  }
42547
42547
  var T2 = M3();
42548
- function G(u56) {
42549
- T2 = u56;
42548
+ function G(u57) {
42549
+ T2 = u57;
42550
42550
  }
42551
42551
  var _3 = { exec: () => null };
42552
- function k3(u56, e44 = "") {
42553
- 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) => {
42554
42554
  let s51 = typeof i55 == "string" ? i55 : i55.source;
42555
42555
  return s51 = s51.replace(m9.caret, "$1"), t46 = t46.replace(r71, s51), n55;
42556
42556
  }, getRegex: () => new RegExp(t46, e44) };
@@ -42563,7 +42563,7 @@ var Re = (() => {
42563
42563
  return false;
42564
42564
  }
42565
42565
  })();
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: (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)}}>`) };
42567
42567
  var Te = /^(?:[ \t]*(?:\n|$))+/;
42568
42568
  var Oe = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/;
42569
42569
  var we = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/;
@@ -42630,24 +42630,24 @@ var rt = __spreadProps(__spreadValues({}, Z), { br: k3(oe).replace("{2,}", "*").
42630
42630
  var C = { normal: U2, gfm: ze, pedantic: Ee };
42631
42631
  var z = { normal: W, gfm: Z, breaks: rt, pedantic: nt };
42632
42632
  var st = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" };
42633
- var de6 = (u56) => st[u56];
42634
- function O(u56, e44) {
42633
+ var de6 = (u57) => st[u57];
42634
+ function O(u57, e44) {
42635
42635
  if (e44) {
42636
- if (m9.escapeTest.test(u56)) return u56.replace(m9.escapeReplace, de6);
42637
- } else if (m9.escapeTestNoEncode.test(u56)) return u56.replace(m9.escapeReplaceNoEncode, de6);
42638
- 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;
42639
42639
  }
42640
- function X(u56) {
42640
+ function X(u57) {
42641
42641
  try {
42642
- u56 = encodeURI(u56).replace(m9.percentDecode, "%");
42642
+ u57 = encodeURI(u57).replace(m9.percentDecode, "%");
42643
42643
  } catch (e44) {
42644
42644
  return null;
42645
42645
  }
42646
- return u56;
42646
+ return u57;
42647
42647
  }
42648
- function J(u56, e44) {
42648
+ function J(u57, e44) {
42649
42649
  var _a2;
42650
- let t46 = u56.replace(m9.findPipe, (i55, s51, a79) => {
42650
+ let t46 = u57.replace(m9.findPipe, (i55, s51, a79) => {
42651
42651
  let o57 = false, l60 = s51;
42652
42652
  for (; --l60 >= 0 && a79[l60] === "\\"; ) o57 = !o57;
42653
42653
  return o57 ? "|" : " |";
@@ -42657,42 +42657,42 @@ function J(u56, e44) {
42657
42657
  for (; r71 < n55.length; r71++) n55[r71] = n55[r71].trim().replace(m9.slashPipe, "|");
42658
42658
  return n55;
42659
42659
  }
42660
- function E3(u56, e44, t46) {
42661
- let n55 = u56.length;
42660
+ function E3(u57, e44, t46) {
42661
+ let n55 = u57.length;
42662
42662
  if (n55 === 0) return "";
42663
42663
  let r71 = 0;
42664
42664
  for (; r71 < n55; ) {
42665
- let i55 = u56.charAt(n55 - r71 - 1);
42665
+ let i55 = u57.charAt(n55 - r71 - 1);
42666
42666
  if (i55 === e44 && !t46) r71++;
42667
42667
  else if (i55 !== e44 && t46) r71++;
42668
42668
  else break;
42669
42669
  }
42670
- return u56.slice(0, n55 - r71);
42670
+ return u57.slice(0, n55 - r71);
42671
42671
  }
42672
- function ge(u56, e44) {
42673
- if (u56.indexOf(e44[1]) === -1) return -1;
42672
+ function ge(u57, e44) {
42673
+ if (u57.indexOf(e44[1]) === -1) return -1;
42674
42674
  let t46 = 0;
42675
- for (let n55 = 0; n55 < u56.length; n55++) if (u56[n55] === "\\") n55++;
42676
- else if (u56[n55] === e44[0]) t46++;
42677
- 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;
42678
42678
  return t46 > 0 ? -2 : -1;
42679
42679
  }
42680
- function fe(u56, e44 = 0) {
42680
+ function fe(u57, e44 = 0) {
42681
42681
  let t46 = e44, n55 = "";
42682
- for (let r71 of u56) if (r71 === " ") {
42682
+ for (let r71 of u57) if (r71 === " ") {
42683
42683
  let i55 = 4 - t46 % 4;
42684
42684
  n55 += " ".repeat(i55), t46 += i55;
42685
42685
  } else n55 += r71, t46++;
42686
42686
  return n55;
42687
42687
  }
42688
- function me(u56, e44, t46, n55, r71) {
42689
- 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");
42690
42690
  n55.state.inLink = true;
42691
- 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) };
42692
42692
  return n55.state.inLink = false, o57;
42693
42693
  }
42694
- function it6(u56, e44, t46) {
42695
- let n55 = u56.match(t46.other.indentCodeCompensation);
42694
+ function it6(u57, e44, t46) {
42695
+ let n55 = u57.match(t46.other.indentCodeCompensation);
42696
42696
  if (n55 === null) return e44;
42697
42697
  let r71 = n55[1];
42698
42698
  return e44.split(`
@@ -42766,19 +42766,19 @@ ${p62}` : p62, i55 = i55 ? `${i55}
42766
42766
  ${c70}` : c70;
42767
42767
  let d55 = this.lexer.state.top;
42768
42768
  if (this.lexer.state.top = true, this.lexer.blockTokens(c70, s51, true), this.lexer.state.top = d55, n55.length === 0) break;
42769
- let h62 = s51.at(-1);
42770
- if ((h62 == null ? void 0 : h62.type) === "code") break;
42771
- if ((h62 == null ? void 0 : h62.type) === "blockquote") {
42772
- 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 + `
42773
42773
  ` + n55.join(`
42774
42774
  `), S8 = this.blockquote(f49);
42775
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;
42776
42776
  break;
42777
- } else if ((h62 == null ? void 0 : h62.type) === "list") {
42778
- let R3 = h62, f49 = R3.raw + `
42777
+ } else if ((h61 == null ? void 0 : h61.type) === "list") {
42778
+ let R3 = h61, f49 = R3.raw + `
42779
42779
  ` + n55.join(`
42780
42780
  `), S8 = this.list(f49);
42781
- 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(`
42782
42782
  `);
42783
42783
  continue;
42784
42784
  }
@@ -42798,23 +42798,23 @@ ${c70}` : c70;
42798
42798
  if (!(t46 = s51.exec(e44)) || this.rules.block.hr.test(e44)) break;
42799
42799
  p62 = t46[0], e44 = e44.substring(p62.length);
42800
42800
  let d55 = fe(t46[2].split(`
42801
- `, 1)[0], t46[1].length), h62 = e44.split(`
42801
+ `, 1)[0], t46[1].length), h61 = e44.split(`
42802
42802
  `, 1)[0], R3 = !d55.trim(), f49 = 0;
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(h62) && (p62 += h62 + `
42804
- `, 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) {
42805
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);
42806
42806
  for (; e44; ) {
42807
42807
  let H2 = e44.split(`
42808
42808
  `, 1)[0], I2;
42809
- 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;
42810
- 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 += `
42811
42811
  ` + I2.slice(f49);
42812
42812
  else {
42813
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;
42814
42814
  c70 += `
42815
- ` + h62;
42815
+ ` + h61;
42816
42816
  }
42817
- R3 = !h62.trim(), p62 += H2 + `
42817
+ R3 = !h61.trim(), p62 += H2 + `
42818
42818
  `, e44 = e44.substring(H2.length + 1), d55 = I2.slice(f49);
42819
42819
  }
42820
42820
  }
@@ -42950,13 +42950,13 @@ ${c70}` : c70;
42950
42950
  }
42951
42951
  if (l60 -= o57, l60 > 0) continue;
42952
42952
  o57 = Math.min(o57, o57 + l60 + p62);
42953
- 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);
42954
42954
  if (Math.min(s51, o57) % 2) {
42955
- let f49 = h62.slice(1, -1);
42956
- 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) };
42957
42957
  }
42958
- let R3 = h62.slice(2, -2);
42959
- 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) };
42960
42960
  }
42961
42961
  }
42962
42962
  }
@@ -42984,8 +42984,8 @@ ${c70}` : c70;
42984
42984
  }
42985
42985
  if (l60 -= o57, l60 > 0) continue;
42986
42986
  o57 = Math.min(o57, o57 + l60);
42987
- let c70 = [...r71[0]][0].length, d55 = e44.slice(0, s51 + r71.index + c70 + o57), h62 = d55.slice(s51, -s51);
42988
- 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) };
42989
42989
  }
42990
42990
  }
42991
42991
  }
@@ -43209,8 +43209,8 @@ var x5 = class u12 {
43209
43209
  let l60 = e44;
43210
43210
  if ((_f = this.options.extensions) == null ? void 0 : _f.startInline) {
43211
43211
  let p62 = 1 / 0, c70 = e44.slice(1), d55;
43212
- this.options.extensions.startInline.forEach((h62) => {
43213
- 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));
43214
43214
  }), p62 < 1 / 0 && p62 >= 0 && (l60 = e44.substring(0, p62 + 1));
43215
43215
  }
43216
43216
  if (o57 = this.tokenizer.inlineText(l60)) {
@@ -43695,8 +43695,8 @@ var B3 = class {
43695
43695
  if (s51.hooks && (s51.hooks.options = s51, s51.hooks.block = e44), s51.async) return (() => __async(this, null, function* () {
43696
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;
43697
43697
  s51.walkTokens && (yield Promise.all(this.walkTokens(c70, s51.walkTokens)));
43698
- let h62 = yield (s51.hooks ? yield s51.hooks.provideParser() : e44 ? b7.parse : b7.parseInline)(c70, s51);
43699
- 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;
43700
43700
  }))().catch(a79);
43701
43701
  try {
43702
43702
  s51.hooks && (n55 = s51.hooks.preprocess(n55));
@@ -43722,19 +43722,19 @@ Please report this to https://github.com/markedjs/marked.`, e44) {
43722
43722
  }
43723
43723
  };
43724
43724
  var L2 = new B3();
43725
- function g5(u56, e44) {
43726
- return L2.parse(u56, e44);
43725
+ function g5(u57, e44) {
43726
+ return L2.parse(u57, e44);
43727
43727
  }
43728
- g5.options = g5.setOptions = function(u56) {
43729
- 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;
43730
43730
  };
43731
43731
  g5.getDefaults = M3;
43732
43732
  g5.defaults = T2;
43733
- g5.use = function(...u56) {
43734
- 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;
43735
43735
  };
43736
- g5.walkTokens = function(u56, e44) {
43737
- return L2.walkTokens(u56, e44);
43736
+ g5.walkTokens = function(u57, e44) {
43737
+ return L2.walkTokens(u57, e44);
43738
43738
  };
43739
43739
  g5.parseInline = L2.parseInline;
43740
43740
  g5.Parser = b7;
@@ -43815,25 +43815,25 @@ var p12 = class p13 {
43815
43815
  this.abortControllers.add(s51);
43816
43816
  try {
43817
43817
  const a79 = this.buildRequestContext(o57, t46, e44, r71, l60);
43818
- let h62 = null;
43818
+ let h61 = null;
43819
43819
  for (let f49 = 0; f49 <= i55; f49++) try {
43820
43820
  if (s51.signal.aborted) throw abort();
43821
43821
  const d55 = setTimeout(() => {
43822
43822
  s51.abort();
43823
43823
  }, c70);
43824
43824
  try {
43825
- const u56 = yield n55(a79, s51.signal);
43826
- return clearTimeout(d55), this.validateResponse(u56), u56;
43827
- } catch (u56) {
43828
- 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;
43829
43829
  }
43830
43830
  } catch (d55) {
43831
- if (h62 = d55, IS_PROD || console.warn(`API request attempt ${f49 + 1} failed:`, d55), f49 < i55) {
43832
- const u56 = this.calculateRetryDelay(f49);
43833
- 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);
43834
43834
  } else throw d55;
43835
43835
  }
43836
- throw h62 || new Error("API request failed after all retries");
43836
+ throw h61 || new Error("API request failed after all retries");
43837
43837
  } finally {
43838
43838
  this.abortControllers.delete(s51);
43839
43839
  }
@@ -43852,7 +43852,7 @@ var p12 = class p13 {
43852
43852
  let i55 = { mode: n55, conversationId: o57, tools: this.toolRegistry.getAllTools(), selectionContexts: r71, conversationOptions: l60, instructions: c70 }, s51;
43853
43853
  if (n55 === "full") s51 = t46;
43854
43854
  else if (e44) {
43855
- const a79 = t46.findIndex((h62) => h62.id === e44);
43855
+ const a79 = t46.findIndex((h61) => h61.id === e44);
43856
43856
  a79 !== -1 ? s51 = t46.slice(a79 + 1) : s51 = t46, i55 = __spreadProps(__spreadValues({}, i55), { parentMessageId: e44 });
43857
43857
  } else s51 = t46;
43858
43858
  return i55 = __spreadProps(__spreadValues({}, i55), { messages: this.expandToolMessages(s51, t46.find((a79) => a79.id === e44)) }), i55;
@@ -44159,8 +44159,8 @@ var l8 = class l9 {
44159
44159
  const o57 = yield this.get(d55);
44160
44160
  if (o57) {
44161
44161
  if (c70) {
44162
- 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));
44163
- 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;
44164
44164
  }
44165
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 });
44166
44166
  }
@@ -44366,7 +44366,7 @@ var c12;
44366
44366
  var h10 = function(r71, t46, n55, i55) {
44367
44367
  var o57 = arguments.length, e44 = o57 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, n55) : i55, s51;
44368
44368
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(r71, t46, n55, i55);
44369
- 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);
44370
44370
  return o57 > 3 && e44 && Object.defineProperty(t46, n55, e44), e44;
44371
44371
  };
44372
44372
  var a25 = (c12 = class extends UIElement {
@@ -44581,7 +44581,7 @@ var u18 = c13;
44581
44581
 
44582
44582
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/voice/voice-transcriber.js
44583
44583
  var p17 = Object.defineProperty;
44584
- var d12 = (u56, s51) => p17(u56, "name", { value: s51, configurable: true });
44584
+ var d12 = (u57, s51) => p17(u57, "name", { value: s51, configurable: true });
44585
44585
  var l12 = class l13 {
44586
44586
  constructor(s51) {
44587
44587
  this.options = s51, this.ws = null, this.streamer = null, this.running = false;
@@ -44608,7 +44608,7 @@ var l12 = class l13 {
44608
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());
44609
44609
  }
44610
44610
  onMessage(s51) {
44611
- var i55, t46, n55, r71, h62, a79, o57;
44611
+ var i55, t46, n55, r71, h61, a79, o57;
44612
44612
  if (typeof s51.data != "string") return;
44613
44613
  let e44;
44614
44614
  try {
@@ -44624,7 +44624,7 @@ var l12 = class l13 {
44624
44624
  e44.text && ((r71 = (n55 = this.options).onInterim) === null || r71 === void 0 || r71.call(n55, e44.text));
44625
44625
  break;
44626
44626
  case "final":
44627
- 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));
44628
44628
  break;
44629
44629
  case "error":
44630
44630
  this.fail((o57 = e44.message) !== null && o57 !== void 0 ? o57 : "Transcription error");
@@ -44711,8 +44711,8 @@ var o24 = class o25 {
44711
44711
  insertPhrase(t46) {
44712
44712
  if (!this.phraseActive) {
44713
44713
  this.phraseActive = true;
44714
- const { start: c70, end: l60 } = this.io.getSelection(), h62 = this.io.getValue();
44715
- 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);
44716
44716
  }
44717
44717
  const e44 = (this.before.length > 0 && !/\s$/.test(this.before) ? " " : "") + t46, i55 = this.before.length + e44.length;
44718
44718
  this.io.setValue(this.before + e44 + this.after, i55);
@@ -44729,12 +44729,12 @@ var r23 = o24;
44729
44729
  init_decorators();
44730
44730
  init_assert();
44731
44731
  var v8 = Object.defineProperty;
44732
- var a28 = (u56, t46) => v8(u56, "name", { value: t46, configurable: true });
44732
+ var a28 = (u57, t46) => v8(u57, "name", { value: t46, configurable: true });
44733
44733
  var d13;
44734
- var h13 = function(u56, t46, e44, i55) {
44734
+ var h13 = function(u57, t46, e44, i55) {
44735
44735
  var n55 = arguments.length, s51 = n55 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, e44) : i55, o57;
44736
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(u56, t46, e44, i55);
44737
- 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);
44738
44738
  return n55 > 3 && s51 && Object.defineProperty(t46, e44, s51), s51;
44739
44739
  };
44740
44740
  var r24 = (d13 = class extends UIElement {
@@ -44975,10 +44975,10 @@ var o26 = (d14 = class extends UIElement {
44975
44975
  if (!this.artifact.data) return;
44976
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"));
44977
44977
  s51.textContent = "\u{1F4C4}";
44978
- const r71 = this.j.c.div(this.getFullElName("file-info")), h62 = this.j.c.div(this.getFullElName("file-name"));
44979
- 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";
44980
44980
  const f49 = this.j.c.div(this.getFullElName("file-size"));
44981
- !((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);
44982
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" });
44983
44983
  if (c70.textContent = this.j.i18n("Download"), this.artifact.data.kind === "url") c70.href = this.artifact.data.url;
44984
44984
  else if (this.artifact.data.kind === "base64") {
@@ -45101,7 +45101,7 @@ var d15 = (l14 = class extends UIElement {
45101
45101
  o57.textContent = this.getToolStatusText(t46.status || "unknown"), s51.appendChild(i55), s51.appendChild(n55), s51.appendChild(o57), e44.appendChild(s51);
45102
45102
  const a79 = this.createExpandableSection("Arguments", JSON.stringify(t46.arguments || {}, null, 2));
45103
45103
  if (e44.appendChild(a79), t46.result) {
45104
- 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));
45105
45105
  e44.appendChild(m53);
45106
45106
  }
45107
45107
  return e44;
@@ -45280,12 +45280,12 @@ init_decorators();
45280
45280
  init_decorators();
45281
45281
  init_helpers();
45282
45282
  var g9 = Object.defineProperty;
45283
- var p20 = (h62, t46) => g9(h62, "name", { value: t46, configurable: true });
45283
+ var p20 = (h61, t46) => g9(h61, "name", { value: t46, configurable: true });
45284
45284
  var o27;
45285
- var r26 = function(h62, t46, e44, s51) {
45285
+ var r26 = function(h61, t46, e44, s51) {
45286
45286
  var l60 = arguments.length, a79 = l60 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, e44) : s51, n55;
45287
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a79 = Reflect.decorate(h62, t46, e44, s51);
45288
- 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);
45289
45289
  return l60 > 3 && a79 && Object.defineProperty(t46, e44, a79), a79;
45290
45290
  };
45291
45291
  var i23 = (o27 = class extends UIInput {
@@ -45354,13 +45354,13 @@ var p21 = (r27 = class extends UIElement {
45354
45354
  var e44, t46, n55, o57, i55;
45355
45355
  const a79 = this.container, s51 = this.getConversation().options || {};
45356
45356
  if (this.options.dialogSettings.models && this.options.dialogSettings.models.length > 0) {
45357
- 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;
45358
- 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);
45359
45359
  }
45360
45360
  if (this.options.dialogSettings.temperature) {
45361
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) });
45362
- const u56 = this.temperatureInput.nativeInput;
45363
- 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);
45364
45364
  }
45365
45365
  });
45366
45366
  }
@@ -45607,12 +45607,12 @@ v10 = f13([component], v10);
45607
45607
  init_decorators();
45608
45608
  init_dom();
45609
45609
  var C2 = Object.defineProperty;
45610
- var p23 = (u56, t46) => C2(u56, "name", { value: t46, configurable: true });
45610
+ var p23 = (u57, t46) => C2(u57, "name", { value: t46, configurable: true });
45611
45611
  var d19;
45612
- var l18 = function(u56, t46, e44, s51) {
45612
+ var l18 = function(u57, t46, e44, s51) {
45613
45613
  var i55 = arguments.length, o57 = i55 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, e44) : s51, n55;
45614
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(u56, t46, e44, s51);
45615
- 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);
45616
45616
  return i55 > 3 && o57 && Object.defineProperty(t46, e44, o57), o57;
45617
45617
  };
45618
45618
  var a32 = (d19 = class extends UIElement {
@@ -45915,8 +45915,8 @@ function x6(e44, o57, n55, i55) {
45915
45915
  let s51 = n55.getCurrentConversation();
45916
45916
  if (!s51) return;
45917
45917
  const l60 = s51.messages.findIndex((d55) => {
45918
- var u56;
45919
- 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);
45920
45920
  });
45921
45921
  if (l60 === -1) return;
45922
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];
@@ -45982,12 +45982,12 @@ function i26(r71) {
45982
45982
  }
45983
45983
  }
45984
45984
  l21(i26, "invertMode");
45985
- function P3(r71, t46, u56, s51) {
45985
+ function P3(r71, t46, u57, s51) {
45986
45986
  var e44, n55, o57, c70;
45987
45987
  if (t46 === "dialog" || t46 === "flight") return;
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`, `${u56}px`));
45989
- const h62 = (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(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`);
45991
45991
  }
45992
45992
  l21(P3, "resizeInPanelView");
45993
45993
 
@@ -46119,8 +46119,8 @@ var h20 = class h21 {
46119
46119
  static updatePosition(t46, e44, o57) {
46120
46120
  const { toolbarSelector: d55, gap: l60 } = o57, i55 = e44.getBoundingClientRect(), c70 = window.innerHeight, s51 = t46.offsetHeight || 250;
46121
46121
  t46.style.left = `${i55.left}px`, t46.style.width = `${i55.width}px`;
46122
- const a79 = e44.querySelector(d55), n55 = a79 ? a79.getBoundingClientRect().bottom : i55.top, p62 = i55.bottom - n55, v22 = s51 <= p62, u56 = i55.bottom <= c70;
46123
- 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`);
46124
46124
  }
46125
46125
  static remove(t46) {
46126
46126
  var e44;
@@ -46146,7 +46146,7 @@ var f16 = h20;
46146
46146
  init_dom();
46147
46147
  init_css();
46148
46148
  var f17 = Object.defineProperty;
46149
- var r34 = (u56, i55) => f17(u56, "name", { value: i55, configurable: true });
46149
+ var r34 = (u57, i55) => f17(u57, "name", { value: i55, configurable: true });
46150
46150
  var a34 = class a35 {
46151
46151
  static remove(i55) {
46152
46152
  i55.container.classList.remove("jodit-ui-resize"), Dom.safeRemove(i55.container.querySelector(".jodit-ui-resize__handle"));
@@ -46619,7 +46619,7 @@ var e18 = class e19 {
46619
46619
  return __async(this, null, function* () {
46620
46620
  if (!t46.html.trim().length) return false;
46621
46621
  const s51 = this.jodit.storage.get(this.key) || [];
46622
- 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;
46623
46623
  });
46624
46624
  }
46625
46625
  items() {
@@ -46664,7 +46664,7 @@ var c22;
46664
46664
  var h24 = function(l60, e44, t46, n55) {
46665
46665
  var o57 = arguments.length, i55 = o57 < 3 ? e44 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(e44, t46) : n55, r71;
46666
46666
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(l60, e44, t46, n55);
46667
- 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);
46668
46668
  return o57 > 3 && i55 && Object.defineProperty(e44, t46, i55), i55;
46669
46669
  };
46670
46670
  var s26 = (c22 = class extends UIGroup {
@@ -46721,10 +46721,10 @@ var a38 = Object.defineProperty;
46721
46721
  var u26 = (s51, t46) => a38(s51, "name", { value: t46, configurable: true });
46722
46722
  var i28;
46723
46723
  var p26 = function(s51, t46, o57, n55) {
46724
- 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;
46725
46725
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(s51, t46, o57, n55);
46726
- 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);
46727
- 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;
46728
46728
  };
46729
46729
  var l25 = (i28 = class extends UIElement {
46730
46730
  className() {
@@ -46845,12 +46845,12 @@ init_helpers();
46845
46845
  init_checker();
46846
46846
  init_assert();
46847
46847
  var O2 = Object.defineProperty;
46848
- var b11 = (u56, o57) => O2(u56, "name", { value: o57, configurable: true });
46848
+ var b11 = (u57, o57) => O2(u57, "name", { value: o57, configurable: true });
46849
46849
  var f22;
46850
- var _7 = function(u56, o57, e44, d55) {
46850
+ var _7 = function(u57, o57, e44, d55) {
46851
46851
  var n55 = arguments.length, r71 = n55 < 3 ? o57 : d55 === null ? d55 = Object.getOwnPropertyDescriptor(o57, e44) : d55, l60;
46852
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(u56, o57, e44, d55);
46853
- 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);
46854
46854
  return n55 > 3 && r71 && Object.defineProperty(o57, e44, r71), r71;
46855
46855
  };
46856
46856
  var x7;
@@ -46893,11 +46893,11 @@ var p30 = x7 = (f22 = class extends UIElement {
46893
46893
  return i55;
46894
46894
  }, "extractColors"), m53 = b11((c70, a79, i55, S8) => {
46895
46895
  const s51 = t46[i55];
46896
- return !s51 || ["none", "inherit", "initial", "unset"].includes(s51) ? { [i55]: false } : (s51.replace(/,\s/g, ",").split(/\s+/).forEach((h62) => {
46897
- 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)) {
46898
46898
  const g25 = c70.shift();
46899
- g25 && (a79[g25] = h62);
46900
- } else h62 === "inset" ? a79.boxShadowInset = true : a79[S8] = h62;
46899
+ g25 && (a79[g25] = h61);
46900
+ } else h61 === "inset" ? a79.boxShadowInset = true : a79[S8] = h61;
46901
46901
  }), a79[i55] = true, a79);
46902
46902
  }, "extractShadow");
46903
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")));
@@ -47081,11 +47081,11 @@ var c23 = (l26 = class extends UIInput {
47081
47081
  this.popup = o57, this.trigger = Button(this.j, "ok");
47082
47082
  const i55 = this.getElm("wrapper");
47083
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(() => {
47084
- var p62, h62;
47085
- (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();
47086
47086
  }), o57.setMod("padding", false).setMod("max-height", false);
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, h62) => {
47088
- 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"));
47089
47089
  });
47090
47090
  this.j.e.on(this, "change", () => {
47091
47091
  r71(this.value) !== s51.color && (s51.color = this.value);
@@ -47268,13 +47268,13 @@ var p33 = class p34 extends Plugin {
47268
47268
  afterInit(e44) {
47269
47269
  e44.registerCommand("changeCase", { exec: l28((a79, f49, t46) => {
47270
47270
  t46 = t46.toLowerCase();
47271
- const s51 = e44.s.range, { startContainer: g25, startOffset: h62 } = s51;
47271
+ const s51 = e44.s.range, { startContainer: g25, startOffset: h61 } = s51;
47272
47272
  if (e44.s.isCollapsed()) {
47273
47273
  const r71 = e44.s.current(true);
47274
- 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);
47275
47275
  } else {
47276
- const r71 = s51.cloneRange(), u56 = s51.cloneRange(), o57 = e44.createInside.fake(), c70 = e44.createInside.fake();
47277
- 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) => {
47278
47278
  this.applyCase(t46, C15);
47279
47279
  }), s51.setStartAfter(o57), s51.setEndBefore(c70), e44.s.selectRange(s51), Dom.safeRemove(o57), Dom.safeRemove(c70);
47280
47280
  }
@@ -47342,12 +47342,12 @@ init_decorators();
47342
47342
  init_dom();
47343
47343
  init_helpers();
47344
47344
  var C5 = Object.defineProperty;
47345
- var v12 = (u56, t46) => C5(u56, "name", { value: t46, configurable: true });
47345
+ var v12 = (u57, t46) => C5(u57, "name", { value: t46, configurable: true });
47346
47346
  var h28;
47347
- var r40 = function(u56, t46, i55, e44) {
47347
+ var r40 = function(u57, t46, i55, e44) {
47348
47348
  var o57 = arguments.length, s51 = o57 < 3 ? t46 : e44 === null ? e44 = Object.getOwnPropertyDescriptor(t46, i55) : e44, a79;
47349
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(u56, t46, i55, e44);
47350
- 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);
47351
47351
  return o57 > 3 && s51 && Object.defineProperty(t46, i55, s51), s51;
47352
47352
  };
47353
47353
  var c25;
@@ -47708,13 +47708,13 @@ var u35 = n31((t46, e44) => {
47708
47708
  // node_modules/jodit-pro/esm/plugins/finder/helpers/context-menu.js
47709
47709
  init_view_component();
47710
47710
  init_decorators();
47711
- var h31 = Object.defineProperty;
47712
- 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 });
47713
47713
  var s32;
47714
47714
  var c26 = function(a79, e44, t46, o57) {
47715
47715
  var r71 = arguments.length, i55 = r71 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, t46) : o57, f49;
47716
47716
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(a79, e44, t46, o57);
47717
- 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);
47718
47718
  return r71 > 3 && i55 && Object.defineProperty(e44, t46, i55), i55;
47719
47719
  };
47720
47720
  var l33 = (s32 = class extends ViewComponent {
@@ -47745,7 +47745,7 @@ var l33 = (s32 = class extends ViewComponent {
47745
47745
  const t46 = this.j.options, o57 = this.j.dataProvider, r71 = this.j.state.activeElements.length === 1;
47746
47746
  return [{ icon: "pencil", title: "Edit", enabled: !!e44.isImage && t46.editImage && r71 && (o57.canI("ImageResize") || o57.canI("ImageCrop")), exec: n32(() => {
47747
47747
  this.j.e.fire("edit.filebrowser");
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: "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(() => {
47749
47749
  e44.fileURL && this.j.ow.open(e44.fileURL);
47750
47750
  }, "exec") }];
47751
47751
  }
@@ -47787,7 +47787,7 @@ c26([watch(":contextmenuFolder.filebrowser")], l33.prototype, "onFolderContext",
47787
47787
  // node_modules/jodit-pro/esm/plugins/finder/helpers/data-provider.js
47788
47788
  init_helpers();
47789
47789
  var d29 = Object.defineProperty;
47790
- var l34 = (u56, o57) => d29(u56, "name", { value: o57, configurable: true });
47790
+ var l34 = (u57, o57) => d29(u57, "name", { value: o57, configurable: true });
47791
47791
  var i31 = class i32 extends DataProvider {
47792
47792
  copy(o57, e44, s51, t46) {
47793
47793
  const n55 = t46 ? "fileCopy" : "folderCopy", r71 = this.o[n55];
@@ -47812,12 +47812,12 @@ init_view_component();
47812
47812
  init_decorators();
47813
47813
  init_extend();
47814
47814
  var f25 = Object.defineProperty;
47815
- var p39 = (h62, t46) => f25(h62, "name", { value: t46, configurable: true });
47815
+ var p39 = (h61, t46) => f25(h61, "name", { value: t46, configurable: true });
47816
47816
  var o35;
47817
- var c28 = function(h62, t46, e44, s51) {
47818
- var r71 = arguments.length, n55 = r71 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, e44) : s51, u56;
47819
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(h62, t46, e44, s51);
47820
- 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);
47821
47821
  return r71 > 3 && n55 && Object.defineProperty(t46, e44, n55), n55;
47822
47822
  };
47823
47823
  var i33 = (o35 = class extends ViewComponent {
@@ -47868,10 +47868,10 @@ init_decorators();
47868
47868
  var g12 = Object.defineProperty;
47869
47869
  var c29 = (i55, t46) => g12(i55, "name", { value: t46, configurable: true });
47870
47870
  var l35;
47871
- var h32 = function(i55, t46, e44, o57) {
47871
+ var h31 = function(i55, t46, e44, o57) {
47872
47872
  var n55 = arguments.length, s51 = n55 < 3 ? t46 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t46, e44) : o57, a79;
47873
47873
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(i55, t46, e44, o57);
47874
- 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);
47875
47875
  return n55 > 3 && s51 && Object.defineProperty(t46, e44, s51), s51;
47876
47876
  };
47877
47877
  var r43 = (l35 = class extends ViewComponent {
@@ -47941,10 +47941,10 @@ var r43 = (l35 = class extends ViewComponent {
47941
47941
  return t46 !== this.__tick ? Promise.resolve() : this.__loadItemsChunk(t46);
47942
47942
  }
47943
47943
  }, c29(l35, "LoadingManager"), l35);
47944
- 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);
47945
47945
  function m23(i55, t46, e44, o57) {
47946
- const { currentPath: n55, currentSource: s51, sortBy: a79, withFolders: u56, foldersPosition: _12, onlyImages: p62, filterWord: P4 } = i55;
47947
- 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 });
47948
47948
  }
47949
47949
  c29(m23, "loadPartItems");
47950
47950
 
@@ -47954,18 +47954,18 @@ init_decorators();
47954
47954
  var S4 = Object.defineProperty;
47955
47955
  var d30 = (a79, e44) => S4(a79, "name", { value: e44, configurable: true });
47956
47956
  var n33;
47957
- var o36 = function(a79, e44, h62, l60) {
47958
- var w9 = arguments.length, r71 = w9 < 3 ? e44 : l60 === null ? l60 = Object.getOwnPropertyDescriptor(e44, h62) : l60, p62;
47959
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(a79, e44, h62, l60);
47960
- 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);
47961
- 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;
47962
47962
  };
47963
47963
  var t24 = (n33 = class extends ViewComponent {
47964
47964
  className() {
47965
47965
  return "PersistentStore";
47966
47966
  }
47967
- constructor(e44, h62) {
47968
- 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;
47969
47969
  }
47970
47970
  onChangeThemeSetField() {
47971
47971
  this.theme = this.state.theme;
@@ -48022,10 +48022,10 @@ var l36 = (s51, e44) => I(s51, "name", { value: e44, configurable: true });
48022
48022
  var c30 = function(s51, e44, t46, i55) {
48023
48023
  var r71 = arguments.length, n55 = r71 < 3 ? e44 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(e44, t46) : i55, a79;
48024
48024
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(s51, e44, t46, i55);
48025
- 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);
48026
48026
  return r71 > 3 && n55 && Object.defineProperty(e44, t46, n55), n55;
48027
48027
  };
48028
- var u36 = class u37 {
48028
+ var u37 = class u38 {
48029
48029
  constructor(e44) {
48030
48030
  this.state = e44;
48031
48031
  }
@@ -48075,8 +48075,8 @@ var u36 = class u37 {
48075
48075
  return this.state.favorites === this.state.elements;
48076
48076
  }
48077
48077
  };
48078
- l36(u36, "StateManager");
48079
- var o37 = u36;
48078
+ l36(u37, "StateManager");
48079
+ var o37 = u37;
48080
48080
  c30([autobind], o37.prototype, "getIndex", null), c30([autobind], o37.prototype, "isActive", null), c30([autobind], o37.prototype, "isFavorite", null);
48081
48081
  function y4(s51, e44) {
48082
48082
  return s51.split("/").reduce((t46, i55) => t46 && v13(t46.children, i55), e44);
@@ -48109,7 +48109,7 @@ var s33;
48109
48109
  var d32 = function(a79, t46, r71, e44) {
48110
48110
  var i55 = arguments.length, o57 = i55 < 3 ? t46 : e44 === null ? e44 = Object.getOwnPropertyDescriptor(t46, r71) : e44, n55;
48111
48111
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(a79, t46, r71, e44);
48112
- 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);
48113
48113
  return i55 > 3 && o57 && Object.defineProperty(t46, r71, o57), o57;
48114
48114
  };
48115
48115
  var l37 = (s33 = class extends UIGroup {
@@ -48155,9 +48155,9 @@ var p42 = Object.defineProperty;
48155
48155
  var d33 = (l60, e44) => p42(l60, "name", { value: e44, configurable: true });
48156
48156
  var r44;
48157
48157
  var a48 = function(l60, e44, t46, i55) {
48158
- 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;
48159
48159
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(l60, e44, t46, i55);
48160
- 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);
48161
48161
  return s51 > 3 && n55 && Object.defineProperty(e44, t46, n55), n55;
48162
48162
  };
48163
48163
  var m25;
@@ -48355,7 +48355,7 @@ var c33 = function(o57, e44, t46, i55) {
48355
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);
48356
48356
  return n55 > 3 && s51 && Object.defineProperty(e44, t46, s51), s51;
48357
48357
  };
48358
- var u38 = (l39 = class extends UIGroup {
48358
+ var u39 = (l39 = class extends UIGroup {
48359
48359
  className() {
48360
48360
  return "UIBrowserSettings";
48361
48361
  }
@@ -48406,7 +48406,7 @@ var u38 = (l39 = class extends UIGroup {
48406
48406
  }, "onChange") })]), this.onChangeView();
48407
48407
  }
48408
48408
  }, a50(l39, "UIBrowserSettings"), l39);
48409
- 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);
48410
48410
 
48411
48411
  // node_modules/jodit-pro/esm/plugins/finder/ui/sidebar/sidebar.js
48412
48412
  init_decorators();
@@ -48416,9 +48416,9 @@ var v15 = Object.defineProperty;
48416
48416
  var p45 = (n55, e44) => v15(n55, "name", { value: e44, configurable: true });
48417
48417
  var r45;
48418
48418
  var a51 = function(n55, e44, t46, s51) {
48419
- 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;
48420
48420
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(n55, e44, t46, s51);
48421
- 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);
48422
48422
  return l60 > 3 && o57 && Object.defineProperty(e44, t46, o57), o57;
48423
48423
  };
48424
48424
  var i34 = (r45 = class extends UIGroup {
@@ -48502,9 +48502,9 @@ a52 = m27([component], a52);
48502
48502
 
48503
48503
  // node_modules/jodit-pro/esm/plugins/finder/ui/tree/tree.js
48504
48504
  var d37 = Object.defineProperty;
48505
- var h33 = (i55, e44) => d37(i55, "name", { value: e44, configurable: true });
48505
+ var h32 = (i55, e44) => d37(i55, "name", { value: e44, configurable: true });
48506
48506
  var n35;
48507
- var u39 = function(i55, e44, r71, o57) {
48507
+ var u40 = function(i55, e44, r71, o57) {
48508
48508
  var c70 = arguments.length, t46 = c70 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, r71) : o57, l60;
48509
48509
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t46 = Reflect.decorate(i55, e44, r71, o57);
48510
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);
@@ -48524,12 +48524,12 @@ var p46 = f28 = (n35 = class extends UIGroup {
48524
48524
  this.append(o57), r71.isActive && o57.setMod("active", true), r71.children.length && this.append(new f28(this.jodit, r71.children));
48525
48525
  });
48526
48526
  }
48527
- }, h33(n35, "UITree"), n35);
48528
- p46 = f28 = u39([component], p46);
48527
+ }, h32(n35, "UITree"), n35);
48528
+ p46 = f28 = u40([component], p46);
48529
48529
 
48530
48530
  // node_modules/jodit-pro/esm/plugins/finder/ui/source/source.js
48531
- var h34 = Object.defineProperty;
48532
- 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 });
48533
48533
  var s34;
48534
48534
  var p47 = function(i55, e44, t46, n55) {
48535
48535
  var o57 = arguments.length, r71 = o57 < 3 ? e44 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(e44, t46) : n55, c70;
@@ -48554,7 +48554,7 @@ var m28 = (s34 = class extends UIElement {
48554
48554
  const o57 = this.getElm("tree");
48555
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));
48556
48556
  }
48557
- }, u40(s34, "UIBrowserSource"), s34);
48557
+ }, u41(s34, "UIBrowserSource"), s34);
48558
48558
  m28 = p47([component], m28);
48559
48559
 
48560
48560
  // node_modules/jodit-pro/esm/plugins/finder/ui/sources/sources.js
@@ -48567,7 +48567,7 @@ var m29 = function(c70, e44, o57, n55) {
48567
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);
48568
48568
  return s51 > 3 && r71 && Object.defineProperty(e44, o57, r71), r71;
48569
48569
  };
48570
- var u41 = (t25 = class extends UIGroup {
48570
+ var u42 = (t25 = class extends UIGroup {
48571
48571
  constructor() {
48572
48572
  super(...arguments), this.syncMod = true;
48573
48573
  }
@@ -48580,7 +48580,7 @@ var u41 = (t25 = class extends UIGroup {
48580
48580
  });
48581
48581
  }
48582
48582
  }, p48(t25, "UIBrowserSources"), t25);
48583
- u41 = m29([component], u41);
48583
+ u42 = m29([component], u42);
48584
48584
 
48585
48585
  // node_modules/jodit-pro/esm/plugins/finder/ui/statusbar/statusbar.js
48586
48586
  init_decorators();
@@ -48637,8 +48637,8 @@ var n36 = class n37 {
48637
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 });
48638
48638
  }
48639
48639
  static onSelect(t46, c70, o57, i55) {
48640
- 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) };
48641
- 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);
48642
48642
  }
48643
48643
  static onEndSelect(t46, c70, o57, i55) {
48644
48644
  Dom.safeRemove(c70), t46.j.e.off(t46.j.ow, "mousemove touchmove", o57), t46.j.unlock();
@@ -48649,12 +48649,12 @@ var r46 = n36;
48649
48649
 
48650
48650
  // node_modules/jodit-pro/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js
48651
48651
  var m31 = Object.defineProperty;
48652
- var u42 = (a79, e44) => m31(a79, "name", { value: e44, configurable: true });
48652
+ var u43 = (a79, e44) => m31(a79, "name", { value: e44, configurable: true });
48653
48653
  var l42;
48654
48654
  var c34 = function(a79, e44, t46, o57) {
48655
- 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;
48656
48656
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(a79, e44, t46, o57);
48657
- 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);
48658
48658
  return s51 > 3 && i55 && Object.defineProperty(e44, t46, i55), i55;
48659
48659
  };
48660
48660
  var f30;
@@ -48730,16 +48730,16 @@ var r47 = f30 = (l42 = class extends UIGroup {
48730
48730
  f30.intersectRect(s51, e44) && t46.push(o57.item);
48731
48731
  }), this.stateManager.state.activeElements = t46;
48732
48732
  }
48733
- }, u42(l42, "UIVirtualScroll"), l42);
48733
+ }, u43(l42, "UIVirtualScroll"), l42);
48734
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);
48735
48735
 
48736
48736
  // node_modules/jodit-pro/esm/plugins/finder/ui/panel/panel.js
48737
48737
  var d39 = Object.defineProperty;
48738
48738
  var p49 = (r71, t46) => d39(r71, "name", { value: t46, configurable: true });
48739
48739
  var a54;
48740
- var o39 = function(r71, t46, e44, h62) {
48741
- var l60 = arguments.length, n55 = l60 < 3 ? t46 : h62 === null ? h62 = Object.getOwnPropertyDescriptor(t46, e44) : h62, g25;
48742
- 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);
48743
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);
48744
48744
  return l60 > 3 && n55 && Object.defineProperty(t46, e44, n55), n55;
48745
48745
  };
@@ -48764,7 +48764,7 @@ var s35 = (a54 = class extends UIGroup {
48764
48764
  </div>`;
48765
48765
  }
48766
48766
  constructor(t46, e44) {
48767
- 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();
48768
48768
  }
48769
48769
  onChangeTheme() {
48770
48770
  this.setMod("theme", this.stateManager.state.theme);
@@ -48843,14 +48843,14 @@ o39([watch("state.theme")], s35.prototype, "onChangeTheme", null), o39([watch("s
48843
48843
 
48844
48844
  // node_modules/jodit-pro/esm/plugins/finder/ui/progress/progress.js
48845
48845
  init_decorators();
48846
- var u43 = Object.defineProperty;
48847
- 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 });
48848
48848
  var r48;
48849
48849
  var f31 = function(o57, e44, s51, i55) {
48850
- 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;
48851
48851
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t46 = Reflect.decorate(o57, e44, s51, i55);
48852
- 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);
48853
- 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;
48854
48854
  };
48855
48855
  var l43 = (r48 = class extends ProgressBar {
48856
48856
  className() {
@@ -48882,12 +48882,12 @@ init_constants();
48882
48882
  init_decorators();
48883
48883
  init_helpers();
48884
48884
  var S5 = Object.defineProperty;
48885
- var d40 = (u56, e44) => S5(u56, "name", { value: e44, configurable: true });
48885
+ var d40 = (u57, e44) => S5(u57, "name", { value: e44, configurable: true });
48886
48886
  var c36;
48887
- var a55 = function(u56, e44, t46, s51) {
48887
+ var a55 = function(u57, e44, t46, s51) {
48888
48888
  var i55 = arguments.length, n55 = i55 < 3 ? e44 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(e44, t46) : s51, r71;
48889
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(u56, e44, t46, s51);
48890
- 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);
48891
48891
  return i55 > 3 && n55 && Object.defineProperty(e44, t46, n55), n55;
48892
48892
  };
48893
48893
  var o40 = (c36 = class _this extends Dialog {
@@ -48963,8 +48963,8 @@ var o40 = (c36 = class _this extends Dialog {
48963
48963
  let r71;
48964
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;
48965
48965
  else {
48966
- const { countInRow: h62 } = this.panel;
48967
- 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);
48968
48968
  }
48969
48969
  return s51[r71] && this.stateManager.addActive(s51[r71], e44.shiftKey), false;
48970
48970
  }
@@ -49001,12 +49001,12 @@ var o40 = (c36 = class _this extends Dialog {
49001
49001
  t46.some((r71) => r71.mode === "cut") && (this.state.clipboard = []);
49002
49002
  const s51 = s31(e44.path), i55 = d40(() => __async(this, null, function* () {
49003
49003
  let r71 = 0;
49004
- for (const h62 of t46) {
49005
- const b16 = h62.type === "file";
49006
- if (h62.mode === "cut") {
49007
- if (h30(h62.from) === s51) continue;
49008
- yield this.dataProvider.move(h62.from, s51, e44.sourceName, b16);
49009
- } 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);
49010
49010
  r71 += 1;
49011
49011
  }
49012
49012
  return r71;
@@ -49314,18 +49314,18 @@ function A3() {
49314
49314
  n38 = true, a58.forEach((e44) => e44());
49315
49315
  }
49316
49316
  o42(A3, "GoogleAuthFailureHandler");
49317
- function h35(e44) {
49317
+ function h34(e44) {
49318
49318
  n38 ? e44() : a58.push(e44);
49319
49319
  }
49320
- o42(h35, "googleAuthFailure");
49320
+ o42(h34, "googleAuthFailure");
49321
49321
  function x8() {
49322
49322
  return n38;
49323
49323
  }
49324
49324
  o42(x8, "isApiFailed");
49325
49325
  function s38(e44, t46 = false) {
49326
49326
  const p62 = [];
49327
- if (Array.isArray(e44)) if (Array.isArray(e44[0]) || Array.isArray(e44[1])) e44.forEach((u56) => {
49328
- 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));
49329
49329
  });
49330
49330
  else return t46 ? { lat: e44[0], lng: e44[1] } : new google.maps.LatLng(e44[0], e44[1]);
49331
49331
  return p62;
@@ -49348,7 +49348,7 @@ o42(F2, "isApiAvailable");
49348
49348
  init_strip_tags();
49349
49349
  var d42 = Object.defineProperty;
49350
49350
  var s39 = (e44, o57) => d42(e44, "name", { value: o57, configurable: true });
49351
- function h36(e44) {
49351
+ function h35(e44) {
49352
49352
  return e44.state.elements.map((o57) => {
49353
49353
  var r71, t46, n55, a79, i55, l60;
49354
49354
  switch (o57.type) {
@@ -49362,14 +49362,14 @@ function h36(e44) {
49362
49362
  return "";
49363
49363
  }).join("");
49364
49364
  }
49365
- s39(h36, "generateStaticElements");
49365
+ s39(h35, "generateStaticElements");
49366
49366
 
49367
49367
  // node_modules/jodit-pro/esm/plugins/google-maps/helpers/static-url.js
49368
49368
  var s40 = Object.defineProperty;
49369
49369
  var o43 = (e44, t46) => s40(e44, "name", { value: t46, configurable: true });
49370
49370
  function i40(e44) {
49371
49371
  const { state: t46 } = 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}` + 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);
49373
49373
  }
49374
49374
  o43(i40, "staticUrl");
49375
49375
 
@@ -49377,7 +49377,7 @@ o43(i40, "staticUrl");
49377
49377
  init_decorators();
49378
49378
  var d43 = Object.defineProperty;
49379
49379
  var s41 = (c70, e44) => d43(c70, "name", { value: e44, configurable: true });
49380
- var u44 = function(c70, e44, t46, o57) {
49380
+ var u45 = function(c70, e44, t46, o57) {
49381
49381
  var l60 = arguments.length, n55 = l60 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, t46) : o57, p62;
49382
49382
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(c70, e44, t46, o57);
49383
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);
@@ -49402,7 +49402,7 @@ var i41 = class i42 extends UIInput {
49402
49402
  };
49403
49403
  s41(i41, "UIComboBox");
49404
49404
  var r52 = i41;
49405
- 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);
49406
49406
 
49407
49407
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/editors/marker/marker.js
49408
49408
  init_decorators();
@@ -49435,8 +49435,8 @@ var e23 = t28;
49435
49435
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js
49436
49436
  init_component();
49437
49437
  init_assert();
49438
- var u45 = Object.defineProperty;
49439
- 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 });
49440
49440
  var n39;
49441
49441
  var f32 = function(s51, e44, i55, l60) {
49442
49442
  var r71 = arguments.length, t46 = r71 < 3 ? e44 : l60 === null ? l60 = Object.getOwnPropertyDescriptor(e44, i55) : l60, o57;
@@ -49501,7 +49501,7 @@ var p50 = function(i55, e44, t46, o57) {
49501
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);
49502
49502
  return l60 > 3 && r71 && Object.defineProperty(e44, t46, r71), r71;
49503
49503
  };
49504
- var h37 = (n41 = class extends e23 {
49504
+ var h36 = (n41 = class extends e23 {
49505
49505
  className() {
49506
49506
  return "UIPolylineEditor";
49507
49507
  }
@@ -49510,11 +49510,11 @@ var h37 = (n41 = class extends e23 {
49510
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");
49511
49511
  }
49512
49512
  }, a60(n41, "UIPolylineEditor"), n41);
49513
- p50([hook("ready")], h37.prototype, "onReady", null), h37 = p50([component], h37);
49513
+ p50([hook("ready")], h36.prototype, "onReady", null), h36 = p50([component], h36);
49514
49514
 
49515
49515
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/editors/polygon/polygon.js
49516
- var h38 = Object.defineProperty;
49517
- 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 });
49518
49518
  var i44;
49519
49519
  var c45 = function(r71, e44, o57, t46) {
49520
49520
  var n55 = arguments.length, l60 = n55 < 3 ? e44 : t46 === null ? t46 = Object.getOwnPropertyDescriptor(e44, o57) : t46, a79;
@@ -49522,7 +49522,7 @@ var c45 = function(r71, e44, o57, t46) {
49522
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);
49523
49523
  return n55 > 3 && l60 && Object.defineProperty(e44, o57, l60), l60;
49524
49524
  };
49525
- var s42 = (i44 = class extends h37 {
49525
+ var s42 = (i44 = class extends h36 {
49526
49526
  className() {
49527
49527
  return "UIPolygonEditor";
49528
49528
  }
@@ -49536,9 +49536,9 @@ var s42 = (i44 = class extends h37 {
49536
49536
  c45([hook("ready")], s42.prototype, "onReady", null), s42 = c45([component], s42);
49537
49537
 
49538
49538
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js
49539
- var h39 = Object.defineProperty;
49540
- var c46 = (e44, s51) => h39(e44, "name", { value: s51, configurable: true });
49541
- function u46(e44) {
49539
+ var h38 = Object.defineProperty;
49540
+ var c46 = (e44, s51) => h38(e44, "name", { value: s51, configurable: true });
49541
+ function u47(e44) {
49542
49542
  var s51, o57, a79, i55, l60, n55, d55, r71;
49543
49543
  switch (this.state.mode) {
49544
49544
  case "polyline":
@@ -49559,7 +49559,7 @@ function u46(e44) {
49559
49559
  }
49560
49560
  }
49561
49561
  }
49562
- c46(u46, "addNewInState");
49562
+ c46(u47, "addNewInState");
49563
49563
 
49564
49564
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/drawing-controller.js
49565
49565
  var c47 = Object.defineProperty;
@@ -49614,7 +49614,7 @@ var o44 = class o45 {
49614
49614
  }
49615
49615
  onDblClick() {
49616
49616
  if (this.mode !== "polyline" && this.mode !== "polygon") return;
49617
- 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;
49618
49618
  if (e44.length >= i55 && this.preview) {
49619
49619
  const t46 = this.preview;
49620
49620
  t46.setPath(e44), this.onComplete(t46);
@@ -49685,7 +49685,7 @@ c48(m33, "updateStateAndGme");
49685
49685
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js
49686
49686
  var d46 = Object.defineProperty;
49687
49687
  var c49 = (o57, e44) => d46(o57, "name", { value: e44, configurable: true });
49688
- function h40(o57, e44) {
49688
+ function h39(o57, e44) {
49689
49689
  var i55, l60, r71, s51;
49690
49690
  switch (o57.type) {
49691
49691
  case "polyline":
@@ -49706,7 +49706,7 @@ function h40(o57, e44) {
49706
49706
  }
49707
49707
  }
49708
49708
  }
49709
- c49(h40, "onChangeGeometries");
49709
+ c49(h39, "onChangeGeometries");
49710
49710
 
49711
49711
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/remove-element.js
49712
49712
  var m34 = Object.defineProperty;
@@ -49729,11 +49729,11 @@ function l48() {
49729
49729
  }), t46;
49730
49730
  }
49731
49731
  n43(l48, "getInfoWindow");
49732
- function u47(t46, i55) {
49732
+ function u48(t46, i55) {
49733
49733
  let e44;
49734
49734
  switch (this.state.mode = "hand", t46.type) {
49735
49735
  case "polyline":
49736
- e44 = new h37(this.jodit, t46.state, this.options);
49736
+ e44 = new h36(this.jodit, t46.state, this.options);
49737
49737
  break;
49738
49738
  case "marker":
49739
49739
  e44 = new a59(this.jodit, t46.state, this.options);
@@ -49758,7 +49758,7 @@ function u47(t46, i55) {
49758
49758
  e44 && (this.remove(e44), e44.destruct());
49759
49759
  });
49760
49760
  }
49761
- n43(u47, "openPropsDialog");
49761
+ n43(u48, "openPropsDialog");
49762
49762
 
49763
49763
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js
49764
49764
  init_global2();
@@ -49791,7 +49791,7 @@ function L5(o57, e44) {
49791
49791
  break;
49792
49792
  }
49793
49793
  const i55 = { type: o57.type, uid: uniqueUid(), state: o57, gme: r71 };
49794
- "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;
49795
49795
  }
49796
49796
  n44(L5, "initOrUpdateElementFromState");
49797
49797
 
@@ -49806,9 +49806,9 @@ init_css();
49806
49806
  var f35 = Object.defineProperty;
49807
49807
  var c50 = (l60, t46) => f35(l60, "name", { value: t46, configurable: true });
49808
49808
  var n45 = function(l60, t46, e44, o57) {
49809
- 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;
49810
49810
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(l60, t46, e44, o57);
49811
- 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);
49812
49812
  return s51 > 3 && i55 && Object.defineProperty(t46, e44, i55), i55;
49813
49813
  };
49814
49814
  var g15 = class g16 extends UIGroup {
@@ -49836,12 +49836,12 @@ var g15 = class g16 extends UIGroup {
49836
49836
  var e44;
49837
49837
  this.state.zoom = (e44 = this.map.getZoom()) !== null && e44 !== void 0 ? e44 : 10;
49838
49838
  }), this.map.addListener("center_changed", () => {
49839
- var e44, o57, s51, i55, h62, 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 = (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];
49841
49841
  }), this.map.addListener("maptypeid_changed", () => {
49842
49842
  const e44 = this.map.getMapTypeId();
49843
49843
  e44 && (this.state.type = e44);
49844
- }), h35(() => {
49844
+ }), h34(() => {
49845
49845
  this.isInDestruct || this.markAsFailed();
49846
49846
  }), this.initDrawingController(), this.onChangeElementsList(), this.onChangeSize(), this.onChangeControls(), this.onChangeLayer(), this.onChangeMapType(), this.onChangeMode(), this.mapInitialized = true, this.j.async.requestIdleCallback(() => {
49847
49847
  this.j.e.fire(this, "GoogleMapsIsReady");
@@ -49855,7 +49855,7 @@ var g15 = class g16 extends UIGroup {
49855
49855
  }
49856
49856
  initDrawingController() {
49857
49857
  this.drawing = new r53(this.map, this.options.googleMaps.map.defaultStates, (t46) => {
49858
- u46.call(this, t46), t46.setMap(null);
49858
+ u47.call(this, t46), t46.setMap(null);
49859
49859
  });
49860
49860
  }
49861
49861
  changeCreateMode(t46) {
@@ -49937,8 +49937,8 @@ n45([hook("ready")], a63.prototype, "onReady", null), n45([watch("?:changeCreate
49937
49937
 
49938
49938
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/maps-controls/maps-controls.js
49939
49939
  init_component();
49940
- var h41 = Object.defineProperty;
49941
- 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 });
49942
49942
  var c51;
49943
49943
  var m35 = function(l60, o57, e44, n55) {
49944
49944
  var r71 = arguments.length, t46 = r71 < 3 ? o57 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(o57, e44) : n55, s51;
@@ -49965,15 +49965,15 @@ i46 = m35([component], i46);
49965
49965
  init_decorators();
49966
49966
  init_selector();
49967
49967
  var m36 = Object.defineProperty;
49968
- var v16 = (u56, e44) => m36(u56, "name", { value: e44, configurable: true });
49969
- var h42;
49970
- 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) {
49971
49971
  var a79 = arguments.length, l60 = a79 < 3 ? e44 : n55 === null ? n55 = Object.getOwnPropertyDescriptor(e44, t46) : n55, i55;
49972
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l60 = Reflect.decorate(u56, e44, t46, n55);
49973
- 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);
49974
49974
  return a79 > 3 && l60 && Object.defineProperty(e44, t46, l60), l60;
49975
49975
  };
49976
- var o46 = (h42 = class extends UIForm {
49976
+ var o46 = (h41 = class extends UIForm {
49977
49977
  className() {
49978
49978
  return "UIMapsPropsForm";
49979
49979
  }
@@ -50011,7 +50011,7 @@ var o46 = (h42 = class extends UIForm {
50011
50011
  const { layer: e44 } = refs(this.container);
50012
50012
  this.state.layer !== e44.value && (e44.value = this.state.layer);
50013
50013
  }
50014
- }, v16(h42, "UIMapsPropsForm"), h42);
50014
+ }, v16(h41, "UIMapsPropsForm"), h41);
50015
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);
50016
50016
 
50017
50017
  // node_modules/jodit-pro/esm/plugins/google-maps/google-maps.js
@@ -50020,8 +50020,8 @@ init_decorators();
50020
50020
  init_helpers();
50021
50021
  init_plugin2();
50022
50022
  var C8 = Object.defineProperty;
50023
- var u48 = (d55, e44) => C8(d55, "name", { value: e44, configurable: true });
50024
- 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) {
50025
50025
  var i55 = arguments.length, r71 = i55 < 3 ? e44 : t46 === null ? t46 = Object.getOwnPropertyDescriptor(e44, a79) : t46, c70;
50026
50026
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(d55, e44, a79, t46);
50027
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);
@@ -50067,7 +50067,7 @@ var y6 = class y7 extends Plugin {
50067
50067
  s51(0);
50068
50068
  return;
50069
50069
  }
50070
- const l60 = u48(() => {
50070
+ const l60 = u49(() => {
50071
50071
  F2() ? s51(0) : this.j.async.setTimeout(l60, 100);
50072
50072
  }, "intervalChecker");
50073
50073
  l60(), d41(s51);
@@ -50091,7 +50091,7 @@ var y6 = class y7 extends Plugin {
50091
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(() => {
50092
50092
  o57.destruct(), n55.destruct(), i55.e.off("beforeClose", m53), i55.close(), this.insertMap(e44, o57);
50093
50093
  })]).open();
50094
- const m53 = u48(() => {
50094
+ const m53 = u49(() => {
50095
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;
50096
50096
  o57.destruct(), n55.destruct(), i55.e.off("beforeClose", m53);
50097
50097
  }, "onCLose");
@@ -50123,9 +50123,9 @@ var y6 = class y7 extends Plugin {
50123
50123
  }));
50124
50124
  }
50125
50125
  };
50126
- u48(y6, "googleMaps");
50126
+ u49(y6, "googleMaps");
50127
50127
  var g17 = y6;
50128
- 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);
50129
50129
 
50130
50130
  // node_modules/jodit-pro/esm/plugins/google-search/icon.svg.js
50131
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> ';
@@ -50178,15 +50178,15 @@ var g18 = function(c70, e44, t46, r71) {
50178
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);
50179
50179
  return i55 > 3 && o57 && Object.defineProperty(e44, t46, o57), o57;
50180
50180
  };
50181
- var h44 = class h45 extends Plugin {
50181
+ var h43 = class h44 extends Plugin {
50182
50182
  constructor() {
50183
50183
  super(...arguments), this.abortController = null;
50184
50184
  }
50185
50185
  afterInit(e44) {
50186
- 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());
50187
50187
  }
50188
50188
  beforeDestruct(e44) {
50189
- e44.e.off("change afterSetMode", this.walkNodes).off("afterGetValueFromEditor", h45.removeUtilWrappers);
50189
+ e44.e.off("change afterSetMode", this.walkNodes).off("afterGetValueFromEditor", h44.removeUtilWrappers);
50190
50190
  }
50191
50191
  walkNodes() {
50192
50192
  var e44;
@@ -50217,7 +50217,7 @@ var h44 = class h45 extends Plugin {
50217
50217
  return Dom.isText(e44.nextSibling) ? (this.j.editor.normalize(), this.walkNodes(), true) : false;
50218
50218
  }
50219
50219
  checkReplaceSchemas(e44) {
50220
- if (h45.hasUtilWrapper(e44)) return;
50220
+ if (h44.hasUtilWrapper(e44)) return;
50221
50221
  const t46 = e44.nodeValue;
50222
50222
  if (t46 == null) return;
50223
50223
  const { j: r71 } = this, i55 = r71.o.highlightSignature;
@@ -50226,9 +50226,9 @@ var h44 = class h45 extends Plugin {
50226
50226
  if (n55.test(t46)) {
50227
50227
  const s51 = t46.match(n55);
50228
50228
  if (!s51 || s51.index === void 0) continue;
50229
- const u56 = i55.schema[o57](this.j, s51);
50230
- if (u56) {
50231
- 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);
50232
50232
  return;
50233
50233
  }
50234
50234
  }
@@ -50236,14 +50236,14 @@ var h44 = class h45 extends Plugin {
50236
50236
  }
50237
50237
  replaceMatchedTextToElm(e44, t46, r71, i55) {
50238
50238
  var o57;
50239
- 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;
50240
50240
  e44.nodeValue = t46.substring(0, f49);
50241
50241
  const p62 = t46.substring(f49 + r71[0].length);
50242
50242
  if (p62.length) {
50243
50243
  const x11 = n55.createInside.text(p62);
50244
50244
  Dom.after(e44, x11);
50245
50245
  }
50246
- 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);
50247
50247
  }
50248
50248
  static hasUtilWrapper(e44) {
50249
50249
  return Dom.isTemporary(e44.parentElement);
@@ -50272,8 +50272,8 @@ var h44 = class h45 extends Plugin {
50272
50272
  });
50273
50273
  }
50274
50274
  };
50275
- d48(h44, "highlightSignature");
50276
- var l49 = h44;
50275
+ d48(h43, "highlightSignature");
50276
+ var l49 = h43;
50277
50277
  l49.requires = ["license"], g18([debounce()], l49.prototype, "walkNodes", null), g18([autobind], l49.prototype, "runWorker", null), n11.plugins.add("highlight-signature", l49);
50278
50278
 
50279
50279
  // node_modules/jodit-pro/esm/plugins/image-editor-pro/config.js
@@ -50506,11 +50506,11 @@ function createRafScheduler() {
50506
50506
  if (typeof requestAnimationFrame !== "function") {
50507
50507
  return new CoalescingScheduler(
50508
50508
  (cb) => setTimeout(cb, 16),
50509
- (h62) => clearTimeout(h62)
50509
+ (h61) => clearTimeout(h61)
50510
50510
  );
50511
50511
  }
50512
- const clear = (h62) => {
50513
- const handle = h62;
50512
+ const clear = (h61) => {
50513
+ const handle = h61;
50514
50514
  cancelAnimationFrame(handle.raf);
50515
50515
  if (handle.timer !== null) {
50516
50516
  clearTimeout(handle.timer);
@@ -50638,13 +50638,13 @@ function lockedResize(source2, next, locked, min = 1) {
50638
50638
  }
50639
50639
  return __spreadValues({}, source2);
50640
50640
  }
50641
- function fitWithinLimits(w9, h62, limits) {
50641
+ function fitWithinLimits(w9, h61, limits) {
50642
50642
  let scale = 1;
50643
50643
  if (limits.maxSize && limits.maxSize > 0) {
50644
- scale = Math.min(scale, limits.maxSize / Math.max(w9, h62));
50644
+ scale = Math.min(scale, limits.maxSize / Math.max(w9, h61));
50645
50645
  }
50646
50646
  if (limits.maxPixels && limits.maxPixels > 0) {
50647
- scale = Math.min(scale, Math.sqrt(limits.maxPixels / (w9 * h62)));
50647
+ scale = Math.min(scale, Math.sqrt(limits.maxPixels / (w9 * h61)));
50648
50648
  }
50649
50649
  return Math.min(1, scale);
50650
50650
  }
@@ -50853,19 +50853,19 @@ function flip(img, axis) {
50853
50853
  function rotate90(img, degrees) {
50854
50854
  const turns = (Math.round(degrees / 90) % 4 + 4) % 4;
50855
50855
  if (turns === 0) return createRaster(img.width, img.height, new Uint8ClampedArray(img.data));
50856
- const { width: w9, height: h62 } = img;
50856
+ const { width: w9, height: h61 } = img;
50857
50857
  const swap = turns === 1 || turns === 3;
50858
- const out = createRaster(swap ? h62 : w9, swap ? w9 : h62);
50859
- 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++) {
50860
50860
  for (let x11 = 0; x11 < w9; x11++) {
50861
50861
  let dx;
50862
50862
  let dy;
50863
50863
  if (turns === 1) {
50864
- dx = h62 - 1 - y9;
50864
+ dx = h61 - 1 - y9;
50865
50865
  dy = x11;
50866
50866
  } else if (turns === 2) {
50867
50867
  dx = w9 - 1 - x11;
50868
- dy = h62 - 1 - y9;
50868
+ dy = h61 - 1 - y9;
50869
50869
  } else {
50870
50870
  dx = y9;
50871
50871
  dy = w9 - 1 - x11;
@@ -50914,9 +50914,9 @@ function halveWidth(img) {
50914
50914
  return out;
50915
50915
  }
50916
50916
  function halveHeight(img) {
50917
- const h62 = Math.ceil(img.height / 2);
50918
- const out = createRaster(img.width, h62);
50919
- 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++) {
50920
50920
  for (let x11 = 0; x11 < img.width; x11++) {
50921
50921
  const i0 = indexOf(img, x11, 2 * y9);
50922
50922
  const i1 = indexOf(img, x11, Math.min(2 * y9 + 1, img.height - 1));
@@ -50959,15 +50959,15 @@ function bilinearResize(img, width, height) {
50959
50959
  }
50960
50960
  function sampleRotatedRect(img, rect, angleDeg) {
50961
50961
  const w9 = Math.max(1, Math.round(rect.width));
50962
- const h62 = Math.max(1, Math.round(rect.height));
50963
- const out = createRaster(w9, h62);
50962
+ const h61 = Math.max(1, Math.round(rect.height));
50963
+ const out = createRaster(w9, h61);
50964
50964
  const cx = rect.x + rect.width / 2;
50965
50965
  const cy = rect.y + rect.height / 2;
50966
50966
  const rad = angleDeg * Math.PI / 180;
50967
50967
  const cos = Math.cos(rad);
50968
50968
  const sin = Math.sin(rad);
50969
- for (let oy = 0; oy < h62; oy++) {
50970
- const ly = oy + 0.5 - h62 / 2;
50969
+ for (let oy = 0; oy < h61; oy++) {
50970
+ const ly = oy + 0.5 - h61 / 2;
50971
50971
  for (let ox = 0; ox < w9; ox++) {
50972
50972
  const lx = ox + 0.5 - w9 / 2;
50973
50973
  const sx = cx + lx * cos - ly * sin - 0.5;
@@ -51196,7 +51196,7 @@ var LocaleRegistry = class {
51196
51196
  }
51197
51197
  };
51198
51198
  var DOM_PROPERTIES = /* @__PURE__ */ new Set(["value", "checked", "disabled", "selected", "innerHTML"]);
51199
- function h46(tag, props = {}, children = []) {
51199
+ function h45(tag, props = {}, children = []) {
51200
51200
  return {
51201
51201
  kind: "element",
51202
51202
  tag,
@@ -51521,10 +51521,10 @@ var _ToolRegistry = class _ToolRegistry {
51521
51521
  __publicField(_ToolRegistry, "UNORDERED_BASE", 1e6);
51522
51522
  var ToolRegistry = _ToolRegistry;
51523
51523
  function icon(svg2) {
51524
- return h46("span", { class: "jie-icon", innerHTML: svg2 });
51524
+ return h45("span", { class: "jie-icon", innerHTML: svg2 });
51525
51525
  }
51526
51526
  function spinner() {
51527
- return h46("span", { class: "jie-spinner" });
51527
+ return h45("span", { class: "jie-spinner" });
51528
51528
  }
51529
51529
  function button(props) {
51530
51530
  var _a2, _b, _c;
@@ -51537,8 +51537,8 @@ function button(props) {
51537
51537
  const children = [];
51538
51538
  if (props.busy) children.push(spinner());
51539
51539
  else if (props.icon) children.push(icon(props.icon));
51540
- if (props.label) children.push(h46("span", {}, props.label));
51541
- return h46(
51540
+ if (props.label) children.push(h45("span", {}, props.label));
51541
+ return h45(
51542
51542
  "button",
51543
51543
  {
51544
51544
  key: props.key,
@@ -51560,9 +51560,9 @@ function slider(props) {
51560
51560
  if (onStart) on.pointerdown = () => onStart();
51561
51561
  const span = props.max - props.min || 1;
51562
51562
  const fill = Math.min(100, Math.max(0, (props.value - props.min) / span * 100));
51563
- return h46("div", { class: "jie-slider" }, [
51564
- h46("span", { class: "jie-slider__label" }, props.label),
51565
- h46("input", {
51563
+ return h45("div", { class: "jie-slider" }, [
51564
+ h45("span", { class: "jie-slider__label" }, props.label),
51565
+ h45("input", {
51566
51566
  class: "jie-range",
51567
51567
  type: "range",
51568
51568
  min: String(props.min),
@@ -51572,14 +51572,14 @@ function slider(props) {
51572
51572
  style: { "--jie-range-fill": `${fill}%` },
51573
51573
  on
51574
51574
  }),
51575
- h46("span", { class: "jie-slider__value" }, String(Math.round(props.value)))
51575
+ h45("span", { class: "jie-slider__value" }, String(Math.round(props.value)))
51576
51576
  ]);
51577
51577
  }
51578
51578
  function numberField(props) {
51579
- return h46("label", { class: "jie-field" }, [
51580
- h46("span", {}, props.label),
51581
- h46("span", { style: { display: "flex", "align-items": "center", gap: "6px" } }, [
51582
- 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", {
51583
51583
  class: "jie-input",
51584
51584
  type: "number",
51585
51585
  value: String(props.value),
@@ -51590,12 +51590,12 @@ function numberField(props) {
51590
51590
  }
51591
51591
  }
51592
51592
  }),
51593
- props.suffix ? h46("span", {}, props.suffix) : null
51593
+ props.suffix ? h45("span", {}, props.suffix) : null
51594
51594
  ])
51595
51595
  ]);
51596
51596
  }
51597
51597
  function segmented(options2, active, onSelect) {
51598
- return h46(
51598
+ return h45(
51599
51599
  "div",
51600
51600
  { class: "jie-toolrow" },
51601
51601
  options2.map(
@@ -51682,7 +51682,7 @@ var adjustTool = {
51682
51682
  renderPanel({ state, update, t: t46 }) {
51683
51683
  const design = selectDesign(state);
51684
51684
  const cropping = selectIsCropping(state);
51685
- return h46("div", { class: "jie-toolrow" }, [
51685
+ return h45("div", { class: "jie-toolrow" }, [
51686
51686
  button({
51687
51687
  label: t46("Crop"),
51688
51688
  icon: ICONS.crop,
@@ -51732,7 +51732,7 @@ var finetuneTool = {
51732
51732
  const patch = { [field.id]: v22 };
51733
51733
  update({ design: { finetune: patch }, commit: commit2 });
51734
51734
  };
51735
- return h46("div", { class: "jie-panel-stack", style: { display: "contents" } }, [
51735
+ return h45("div", { class: "jie-panel-stack", style: { display: "contents" } }, [
51736
51736
  slider({
51737
51737
  label: t46(field.label),
51738
51738
  value,
@@ -51756,11 +51756,11 @@ var filtersTool = {
51756
51756
  order: 2,
51757
51757
  renderPanel({ state, update, t: t46 }) {
51758
51758
  const active = selectDesign(state).filter;
51759
- return h46(
51759
+ return h45(
51760
51760
  "div",
51761
51761
  { class: "jie-thumbs" },
51762
51762
  listFilters().map(
51763
- (f49) => h46(
51763
+ (f49) => h45(
51764
51764
  "button",
51765
51765
  {
51766
51766
  key: f49.id,
@@ -51772,8 +51772,8 @@ var filtersTool = {
51772
51772
  [
51773
51773
  // The editor paints a live filtered preview onto this canvas after
51774
51774
  // render (see ImageEditor#paintFilterThumbs).
51775
- h46("canvas", { class: "jie-thumb__swatch", "data-jie-filter-thumb": f49.id }),
51776
- h46("span", {}, t46(f49.label))
51775
+ h45("canvas", { class: "jie-thumb__swatch", "data-jie-filter-thumb": f49.id }),
51776
+ h45("span", {}, t46(f49.label))
51777
51777
  ]
51778
51778
  )
51779
51779
  )
@@ -51787,17 +51787,17 @@ function selectiveBlur(img, focus2) {
51787
51787
  if (focus2.amount <= 0)
51788
51788
  return createRaster(img.width, img.height, new Uint8ClampedArray(img.data));
51789
51789
  const blurred = blur(img, focus2.amount, 32);
51790
- const { width: w9, height: h62 } = img;
51791
- const out = createRaster(w9, h62);
51792
- 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);
51793
51793
  const cx = focus2.x * w9;
51794
- const cy = focus2.y * h62;
51794
+ const cy = focus2.y * h61;
51795
51795
  const sharpR = focus2.radius * minDim;
51796
51796
  const feather = Math.max(minDim * 0.06, sharpR * 0.9);
51797
51797
  const rad = focus2.angle * Math.PI / 180;
51798
51798
  const nx = -Math.sin(rad);
51799
51799
  const ny = Math.cos(rad);
51800
- for (let y9 = 0; y9 < h62; y9++) {
51800
+ for (let y9 = 0; y9 < h61; y9++) {
51801
51801
  for (let x11 = 0; x11 < w9; x11++) {
51802
51802
  const dx = x11 - cx;
51803
51803
  const dy = y9 - cy;
@@ -51827,8 +51827,8 @@ var focusTool = {
51827
51827
  const focus2 = (_a2 = selectDesign(state).focus) != null ? _a2 : createDefaultFocus();
51828
51828
  const enabled = selectDesign(state).focus !== null;
51829
51829
  const set3 = (patch, commit2) => update({ design: { focus: __spreadValues(__spreadValues({}, focus2), patch) }, commit: commit2 });
51830
- return h46("div", { class: "jie-panel-stack", style: { display: "contents" } }, [
51831
- h46("div", { class: "jie-toolrow" }, [
51830
+ return h45("div", { class: "jie-panel-stack", style: { display: "contents" } }, [
51831
+ h45("div", { class: "jie-toolrow" }, [
51832
51832
  slider({
51833
51833
  label: t46("Intensity"),
51834
51834
  value: focus2.amount,
@@ -51866,7 +51866,7 @@ var focusTool = {
51866
51866
  function colorPicker(props) {
51867
51867
  var _a2;
51868
51868
  const children = [
51869
- h46("button", {
51869
+ h45("button", {
51870
51870
  class: "jie-color",
51871
51871
  type: "button",
51872
51872
  title: (_a2 = props.title) != null ? _a2 : "Colour",
@@ -51878,12 +51878,12 @@ function colorPicker(props) {
51878
51878
  ];
51879
51879
  if (props.open) {
51880
51880
  children.push(
51881
- h46("div", { class: "jie-popover__backdrop", on: { click: () => props.onToggle() } }),
51882
- h46(
51881
+ h45("div", { class: "jie-popover__backdrop", on: { click: () => props.onToggle() } }),
51882
+ h45(
51883
51883
  "div",
51884
51884
  { class: "jie-popover jie-swatches", role: "listbox" },
51885
51885
  props.palette.map(
51886
- (color2) => h46("button", {
51886
+ (color2) => h45("button", {
51887
51887
  key: color2,
51888
51888
  class: "jie-swatch",
51889
51889
  type: "button",
@@ -51896,13 +51896,13 @@ function colorPicker(props) {
51896
51896
  )
51897
51897
  );
51898
51898
  }
51899
- return h46("div", { class: "jie-colorpicker" }, children);
51899
+ return h45("div", { class: "jie-colorpicker" }, children);
51900
51900
  }
51901
51901
  function fontSelect(props) {
51902
51902
  var _a2, _b;
51903
51903
  const current = props.fonts.find((f49) => f49.value === props.value);
51904
51904
  const children = [
51905
- h46(
51905
+ h45(
51906
51906
  "button",
51907
51907
  {
51908
51908
  class: "jie-fontselect__trigger",
@@ -51914,19 +51914,19 @@ function fontSelect(props) {
51914
51914
  },
51915
51915
  [
51916
51916
  icon(ICONS.font),
51917
- 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"),
51918
51918
  icon(ICONS.book)
51919
51919
  ]
51920
51920
  )
51921
51921
  ];
51922
51922
  if (props.open) {
51923
51923
  children.push(
51924
- h46("div", { class: "jie-popover__backdrop", on: { click: () => props.onToggle() } }),
51925
- h46(
51924
+ h45("div", { class: "jie-popover__backdrop", on: { click: () => props.onToggle() } }),
51925
+ h45(
51926
51926
  "div",
51927
51927
  { class: "jie-popover jie-fontlist", role: "listbox" },
51928
51928
  props.fonts.map(
51929
- (f49) => h46(
51929
+ (f49) => h45(
51930
51930
  "button",
51931
51931
  {
51932
51932
  key: f49.value,
@@ -51942,7 +51942,7 @@ function fontSelect(props) {
51942
51942
  )
51943
51943
  );
51944
51944
  }
51945
- return h46("div", { class: "jie-fontselect" }, children);
51945
+ return h45("div", { class: "jie-fontselect" }, children);
51946
51946
  }
51947
51947
  var CELLS = [
51948
51948
  { align: "left", valign: "top", icon: ICONS.posTopLeft },
@@ -51956,11 +51956,11 @@ var CELLS = [
51956
51956
  { align: "right", valign: "bottom", icon: ICONS.posBottomRight }
51957
51957
  ];
51958
51958
  function positionGrid(props) {
51959
- return h46(
51959
+ return h45(
51960
51960
  "div",
51961
51961
  { class: "jie-posgrid", role: "group" },
51962
51962
  CELLS.map(
51963
- (cell) => h46(
51963
+ (cell) => h45(
51964
51964
  "button",
51965
51965
  {
51966
51966
  key: `${cell.valign}-${cell.align}`,
@@ -52025,13 +52025,13 @@ var annotateTool = {
52025
52025
  const ann = createTextAnnotation(uid());
52026
52026
  update({ design: { annotations: [ann] }, selectedAnnotationId: ann.id });
52027
52027
  };
52028
- return h46("div", { class: "jie-toolrow" }, [
52028
+ return h45("div", { class: "jie-toolrow" }, [
52029
52029
  button({ label: t46("Add text"), icon: ICONS.text, variant: "primary", onClick: addText })
52030
52030
  ]);
52031
52031
  }
52032
52032
  const patch = (p62) => update({ design: { annotations: updateAnnotation(design.annotations, text2.id, p62) } });
52033
- return h46("div", { class: "jie-toolrow" }, [
52034
- h46("input", {
52033
+ return h45("div", { class: "jie-toolrow" }, [
52034
+ h45("input", {
52035
52035
  class: "jie-input",
52036
52036
  type: "text",
52037
52037
  value: text2.text,
@@ -52105,7 +52105,7 @@ var resizeTool = {
52105
52105
  if (!size3) return null;
52106
52106
  const locked = state.activeTool !== "unlocked";
52107
52107
  const apply = (next) => update({ design: { resize: lockedResize(size3, next, locked, state.minResizeSize) } });
52108
- return h46("div", { class: "jie-fieldrow" }, [
52108
+ return h45("div", { class: "jie-fieldrow" }, [
52109
52109
  numberField({
52110
52110
  label: t46("Width"),
52111
52111
  value: size3.width,
@@ -52230,14 +52230,14 @@ var CanvasImageCodec = class {
52230
52230
  maxPixels: this.maxPixels
52231
52231
  });
52232
52232
  const w9 = Math.max(1, Math.round(bitmap.width * scale));
52233
- const h62 = Math.max(1, Math.round(bitmap.height * scale));
52234
- const canvas = this.createCanvas(w9, h62);
52233
+ const h61 = Math.max(1, Math.round(bitmap.height * scale));
52234
+ const canvas = this.createCanvas(w9, h61);
52235
52235
  const ctx = this.context(canvas);
52236
52236
  ctx.imageSmoothingEnabled = true;
52237
52237
  ctx.imageSmoothingQuality = "high";
52238
- ctx.drawImage(bitmap, 0, 0, w9, h62);
52238
+ ctx.drawImage(bitmap, 0, 0, w9, h61);
52239
52239
  if ("close" in bitmap && typeof bitmap.close === "function") bitmap.close();
52240
- const imageData = ctx.getImageData(0, 0, w9, h62);
52240
+ const imageData = ctx.getImageData(0, 0, w9, h61);
52241
52241
  return createRaster(imageData.width, imageData.height, imageData.data);
52242
52242
  });
52243
52243
  }
@@ -52349,9 +52349,9 @@ function createDefaultProcessor(createCanvas = defaultCanvasFactory, limits) {
52349
52349
  return new ImageProcessor({ codec: new CanvasImageCodec(createCanvas, limits), createCanvas });
52350
52350
  }
52351
52351
  function renderApp(state, ctx) {
52352
- return h46("div", { class: "jie", "data-theme": state.theme }, [
52352
+ return h45("div", { class: "jie", "data-theme": state.theme }, [
52353
52353
  state.showToolbar ? renderTopBar(state, ctx) : null,
52354
- h46("div", { class: "jie-body" }, [renderRail(state, ctx), renderStage(state, ctx)])
52354
+ h45("div", { class: "jie-body" }, [renderRail(state, ctx), renderStage(state, ctx)])
52355
52355
  ]);
52356
52356
  }
52357
52357
  function renderTopBar(state, ctx) {
@@ -52361,8 +52361,8 @@ function renderTopBar(state, ctx) {
52361
52361
  const t46 = ctx.t;
52362
52362
  const busy = state.status === "loading" || state.status === "exporting";
52363
52363
  const spinning = state.status === "exporting" && state.busyVisible;
52364
- return h46("header", { class: "jie-topbar" }, [
52365
- h46("div", { class: "jie-topbar__save" }, [
52364
+ return h45("header", { class: "jie-topbar" }, [
52365
+ h45("div", { class: "jie-topbar__save" }, [
52366
52366
  button({
52367
52367
  label: t46("Save"),
52368
52368
  variant: "primary",
@@ -52377,17 +52377,17 @@ function renderTopBar(state, ctx) {
52377
52377
  busy: spinning
52378
52378
  })
52379
52379
  ]),
52380
- h46("div", { class: "jie-topbar__meta" }, [
52381
- 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,
52382
52382
  icon(ICONS.book),
52383
- h46("div", { class: "jie-zoom" }, [
52383
+ h45("div", { class: "jie-zoom" }, [
52384
52384
  button({
52385
52385
  variant: "icon",
52386
52386
  icon: ICONS.zoomOut,
52387
52387
  title: t46("Zoom out"),
52388
52388
  onClick: () => zoom(ctx, state, 1 / 1.2)
52389
52389
  }),
52390
- h46("span", {}, `${percent}%`),
52390
+ h45("span", {}, `${percent}%`),
52391
52391
  button({
52392
52392
  variant: "icon",
52393
52393
  icon: ICONS.zoomIn,
@@ -52396,7 +52396,7 @@ function renderTopBar(state, ctx) {
52396
52396
  })
52397
52397
  ])
52398
52398
  ]),
52399
- h46("div", { class: "jie-topbar__actions" }, [
52399
+ h45("div", { class: "jie-topbar__actions" }, [
52400
52400
  button({
52401
52401
  variant: "icon",
52402
52402
  icon: ICONS.reset,
@@ -52422,11 +52422,11 @@ function renderTopBar(state, ctx) {
52422
52422
  ]);
52423
52423
  }
52424
52424
  function renderRail(state, ctx) {
52425
- return h46(
52425
+ return h45(
52426
52426
  "nav",
52427
52427
  { class: "jie-rail" },
52428
52428
  ctx.tools.map(
52429
- (tool) => h46(
52429
+ (tool) => h45(
52430
52430
  "button",
52431
52431
  {
52432
52432
  key: tool.id,
@@ -52440,7 +52440,7 @@ function renderRail(state, ctx) {
52440
52440
  }
52441
52441
  }
52442
52442
  },
52443
- [icon(tool.icon), h46("span", {}, ctx.t(tool.label))]
52443
+ [icon(tool.icon), h45("span", {}, ctx.t(tool.label))]
52444
52444
  )
52445
52445
  )
52446
52446
  );
@@ -52449,24 +52449,24 @@ function renderStage(state, ctx) {
52449
52449
  var _a2, _b;
52450
52450
  const active = (_a2 = ctx.tools.find((tool) => tool.id === state.activeTab)) != null ? _a2 : ctx.tools[0];
52451
52451
  const panel = (_b = active == null ? void 0 : active.renderPanel({ state, update: ctx.update, t: ctx.t })) != null ? _b : null;
52452
- return h46("div", { class: "jie-stage" }, [
52453
- 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": "" }, [
52454
52454
  // The editor paints pixels onto this canvas imperatively after each render.
52455
- h46("canvas", { class: "jie-canvas", "data-jie-canvas": "" }),
52455
+ h45("canvas", { class: "jie-canvas", "data-jie-canvas": "" }),
52456
52456
  renderCropOverlay(state, ctx),
52457
52457
  renderStatusOverlay(state, ctx)
52458
52458
  ]),
52459
- panel ? h46("div", { class: "jie-panel" }, [panel]) : null
52459
+ panel ? h45("div", { class: "jie-panel" }, [panel]) : null
52460
52460
  ]);
52461
52461
  }
52462
52462
  function renderStatusOverlay(state, ctx) {
52463
52463
  if (state.status === "loading") {
52464
- return h46("div", { class: "jie-overlay", "data-jie-loading": "" }, [spinner()]);
52464
+ return h45("div", { class: "jie-overlay", "data-jie-loading": "" }, [spinner()]);
52465
52465
  }
52466
52466
  if (state.status === "error" && state.error) {
52467
- return h46("div", { class: "jie-overlay jie-overlay--error", "data-jie-error": "" }, [
52468
- h46("span", {}, ctx.t("Failed to load the image")),
52469
- 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)
52470
52470
  ]);
52471
52471
  }
52472
52472
  return null;
@@ -52485,7 +52485,7 @@ function renderCropOverlay(state, ctx) {
52485
52485
  transform: `rotate(${angle}deg)`
52486
52486
  };
52487
52487
  const handles = ["nw", "ne", "sw", "se"];
52488
- return h46(
52488
+ return h45(
52489
52489
  "div",
52490
52490
  {
52491
52491
  class: "jie-crop",
@@ -52494,7 +52494,7 @@ function renderCropOverlay(state, ctx) {
52494
52494
  },
52495
52495
  [
52496
52496
  // rotation knob, centred above the frame
52497
- h46("div", {
52497
+ h45("div", {
52498
52498
  key: "rotate",
52499
52499
  class: "jie-crop__rotate",
52500
52500
  title: "Rotate",
@@ -52506,7 +52506,7 @@ function renderCropOverlay(state, ctx) {
52506
52506
  }
52507
52507
  }),
52508
52508
  ...handles.map(
52509
- (handle) => h46("div", {
52509
+ (handle) => h45("div", {
52510
52510
  key: handle,
52511
52511
  class: "jie-crop__handle",
52512
52512
  "data-h": handle,
@@ -52939,7 +52939,7 @@ function downscale(raster, maxSize) {
52939
52939
  init_config();
52940
52940
  init_component3();
52941
52941
  var T3 = Object.defineProperty;
52942
- var h47 = (P4, n55) => T3(P4, "name", { value: n55, configurable: true });
52942
+ var h46 = (P4, n55) => T3(P4, "name", { value: n55, configurable: true });
52943
52943
  var j7 = class j8 extends ViewComponent {
52944
52944
  constructor() {
52945
52945
  super(...arguments), this.isProImageEditor = true;
@@ -52954,14 +52954,14 @@ var j7 = class j8 extends ViewComponent {
52954
52954
  const r71 = new Dialog({ language: t46.o.language });
52955
52955
  r71.setSize(s51.dialog.width, s51.dialog.height), r71.setContent(i55), r71.open();
52956
52956
  let e44 = null, c70 = null;
52957
- const l60 = h47(() => {
52957
+ const l60 = h46(() => {
52958
52958
  c70 == null ? void 0 : c70(), c70 = null, e44 == null ? void 0 : e44.destroy(), e44 = null, r71.close();
52959
52959
  }, "cleanup");
52960
52960
  r71.e.on("beforeClose", () => {
52961
52961
  c70 == null ? void 0 : c70(), c70 = null, e44 == null ? void 0 : e44.destroy(), e44 = null;
52962
- }), 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) => {
52963
52963
  this.persist(e44, n55, void 0, a79, o57, l60);
52964
- }, "onSave"), onSaveAs: h47((a79) => {
52964
+ }, "onSave"), onSaveAs: h46((a79) => {
52965
52965
  this.saveAs(e44, n55, a79, o57, l60);
52966
52966
  }, "onSaveAs") }), c70 = this.mountToolbar(r71, e44);
52967
52967
  try {
@@ -52981,16 +52981,16 @@ var j7 = class j8 extends ViewComponent {
52981
52981
  }), i55.onAction(() => {
52982
52982
  y9 = i55, o57.saveAs();
52983
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 } }));
52984
- const g25 = h47((...d55) => {
52985
- const u56 = t46.c.div("jodit-image-editor-pro__group");
52986
- 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;
52987
52987
  }, "group"), m53 = t46.c.div("jodit-image-editor-pro__toolbar");
52988
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));
52989
52989
  const z2 = g25(a79.container, p62.container, f49.container);
52990
52990
  z2.style.marginLeft = "auto", m53.appendChild(z2), n55.setHeader(m53);
52991
- const x11 = "jodit-image-editor-pro__button_busy", _12 = h47((d55) => {
52992
- const u56 = 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 = 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}` : "";
52994
52994
  const A4 = selectors.selectViewportFit(d55), V = Math.round(A4 ? A4.scale * 100 : d55.zoom * 100);
52995
52995
  c70.textContent = `${V}%`;
52996
52996
  }, "sync");
@@ -53013,7 +53013,7 @@ var j7 = class j8 extends ViewComponent {
53013
53013
  try {
53014
53014
  const e44 = yield this.blobSize(s51), c70 = { action: this.coreSupportsSaved() ? "saved" : "resize", box: e44 };
53015
53015
  t46 !== void 0 ? this.j.e.fire("afterImageEditorSave", c70, t46) : this.j.e.fire("afterImageEditorSave", c70);
53016
- const l60 = yield this.uploadEdited(o57, s51, t46), a79 = h47(() => {
53016
+ const l60 = yield this.uploadEdited(o57, s51, t46), a79 = h46(() => {
53017
53017
  r71(), this.j.e.fire("update.filebrowser");
53018
53018
  }, "done");
53019
53019
  i55(t46, this.coreSupportsSaved() ? { action: "saved", box: e44, newPath: l60 || void 0 } : { action: "resize", box: e44 }, a79, (p62) => {
@@ -53077,7 +53077,7 @@ var j7 = class j8 extends ViewComponent {
53077
53077
  this.j.e.fire("errorMessage", n55.message);
53078
53078
  }
53079
53079
  };
53080
- h47(j7, "ProImageEditor");
53080
+ h46(j7, "ProImageEditor");
53081
53081
  var $5 = j7;
53082
53082
 
53083
53083
  // node_modules/jodit-pro/esm/plugins/image-editor-pro/image-editor-pro.js
@@ -53097,7 +53097,7 @@ var e24 = t31;
53097
53097
  e24.requires = ["license"], n11.plugins.add("imageEditorPro", e24);
53098
53098
 
53099
53099
  // node_modules/jodit-pro/esm/plugins/iframe-editor/icon.svg.js
53100
- 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> ';
53101
53101
 
53102
53102
  // node_modules/jodit-pro/esm/plugins/iframe-editor/config.js
53103
53103
  init_config();
@@ -53105,7 +53105,7 @@ init_dom();
53105
53105
  init_is_array();
53106
53106
  var e25 = Object.defineProperty;
53107
53107
  var p53 = (i55, o57) => e25(i55, "name", { value: o57, configurable: true });
53108
- 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) => {
53109
53109
  Dom.isTag(o57, "jodit") && Dom.isTag(o57.firstElementChild, "iframe") && (o57 = o57.firstElementChild), i55.e.fire("toggleIframeEditor", Dom.isTag(o57, "iframe") ? o57 : null);
53110
53110
  }, "exec") }, isArray(Config.prototype.popup.iframe) && Config.prototype.popup.iframe.push("iframeEditor");
53111
53111
 
@@ -53149,7 +53149,7 @@ init_helpers();
53149
53149
  init_plugin2();
53150
53150
  var p55 = Object.defineProperty;
53151
53151
  var a65 = (c70, i55) => p55(c70, "name", { value: i55, configurable: true });
53152
- var u49 = function(c70, i55, e44, t46) {
53152
+ var u50 = function(c70, i55, e44, t46) {
53153
53153
  var s51 = arguments.length, l60 = s51 < 3 ? i55 : t46 === null ? t46 = Object.getOwnPropertyDescriptor(i55, e44) : t46, d55;
53154
53154
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l60 = Reflect.decorate(c70, i55, e44, t46);
53155
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);
@@ -53188,14 +53188,14 @@ var m40 = class m41 extends Plugin {
53188
53188
  };
53189
53189
  a65(m40, "IframeEditor");
53190
53190
  var r55 = m40;
53191
- 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);
53192
53192
 
53193
53193
  // node_modules/jodit-pro/esm/plugins/keyboard/icon.svg.js
53194
- 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> ';
53195
53195
 
53196
53196
  // node_modules/jodit-pro/esm/plugins/keyboard/config.js
53197
53197
  init_config();
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: 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) {
53199
53199
  return !!e44.e.fire("isKeyboardOpened");
53200
53200
  }, command: "toggleKeyboard" }, Config.prototype.controls.extraKeyboardButtons = {};
53201
53201
 
@@ -53221,12 +53221,12 @@ var v17 = '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d=
53221
53221
 
53222
53222
  // node_modules/jodit-pro/esm/plugins/keyboard/ui/keyboard/keyboard.js
53223
53223
  var b13 = Object.defineProperty;
53224
- var m42 = (u56, t46) => b13(u56, "name", { value: t46, configurable: true });
53224
+ var m42 = (u57, t46) => b13(u57, "name", { value: t46, configurable: true });
53225
53225
  var p56;
53226
- var l51 = function(u56, t46, r71, s51) {
53226
+ var l51 = function(u57, t46, r71, s51) {
53227
53227
  var o57 = arguments.length, e44 = o57 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, r71) : s51, a79;
53228
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(u56, t46, r71, s51);
53229
- 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);
53230
53230
  return o57 > 3 && e44 && Object.defineProperty(t46, r71, e44), e44;
53231
53231
  };
53232
53232
  var f37;
@@ -53253,8 +53253,8 @@ var n47 = f37 = (p56 = class extends UIElement {
53253
53253
  let a79 = 0;
53254
53254
  for (let i55 = 0; i55 < e44.length; i55 += 1) for (let y9 = 0; y9 < e44[i55].length; y9 += 1) {
53255
53255
  const c70 = e44[i55][y9].split(" ");
53256
- let h62 = c70[0];
53257
- 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;
53258
53258
  }
53259
53259
  }
53260
53260
  static isLetter(t46) {
@@ -53351,14 +53351,14 @@ init_decorators();
53351
53351
  init_checker();
53352
53352
  init_plugin2();
53353
53353
  var y8 = Object.defineProperty;
53354
- var h50 = (d55, t46) => y8(d55, "name", { value: t46, configurable: true });
53354
+ var h49 = (d55, t46) => y8(d55, "name", { value: t46, configurable: true });
53355
53355
  var c55 = function(d55, t46, e44, s51) {
53356
53356
  var r71 = arguments.length, i55 = r71 < 3 ? t46 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(t46, e44) : s51, o57;
53357
53357
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i55 = Reflect.decorate(d55, t46, e44, s51);
53358
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);
53359
53359
  return r71 > 3 && i55 && Object.defineProperty(t46, e44, i55), i55;
53360
53360
  };
53361
- var u50 = class u51 extends Plugin {
53361
+ var u51 = class u52 extends Plugin {
53362
53362
  constructor(t46) {
53363
53363
  super(t46), this.hasStyle = !n11.fatMode, this.buttons = [{ group: "insert", name: "keyboard" }];
53364
53364
  const { extraKeyButtons: e44, extraKeyGroup: s51 } = t46.o.keyboard;
@@ -53401,8 +53401,8 @@ var u50 = class u51 extends Plugin {
53401
53401
  (e44 = this.__keyboard) === null || e44 === void 0 || e44.destruct();
53402
53402
  }
53403
53403
  };
53404
- h50(u50, "keyboard");
53405
- var a66 = u50;
53404
+ h49(u51, "keyboard");
53405
+ var a66 = u51;
53406
53406
  a66.requires = ["license"], c55([autobind], a66.prototype, "insertChar", null), c55([autobind], a66.prototype, "toggleKeyboard", null), n11.plugins.add("keyboard", a66);
53407
53407
 
53408
53408
  // node_modules/jodit-pro/esm/plugins/mobile-view/icon.svg.js
@@ -53439,18 +53439,18 @@ init_utils3();
53439
53439
  init_plugin2();
53440
53440
  var b14 = Object.defineProperty;
53441
53441
  var c57 = (i55, e44) => b14(i55, "name", { value: e44, configurable: true });
53442
- var h51 = (i55, e44) => () => {
53442
+ var h50 = (i55, e44) => () => {
53443
53443
  try {
53444
53444
  return e44 || i55((e44 = { exports: {} }).exports, e44), e44.exports;
53445
53445
  } catch (r71) {
53446
53446
  throw e44 = 0, r71;
53447
53447
  }
53448
53448
  };
53449
- var S6 = h51((d55) => {
53449
+ var S6 = h50((d55) => {
53450
53450
  var n55, m53 = d55 && d55.__decorate || function(i55, e44, r71, l60) {
53451
- 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;
53452
53452
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(i55, e44, r71, l60);
53453
- 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);
53454
53454
  return t46 > 3 && o57 && Object.defineProperty(e44, r71, o57), o57;
53455
53455
  };
53456
53456
  let f49 = (n55 = class extends Plugin {
@@ -53570,11 +53570,11 @@ function C11(e44, t46) {
53570
53570
  return n55 == null && a79 !== t46 && o57(a79), e44.o.pasteCode.canonicalLanguageCode(n55 || "html");
53571
53571
  }
53572
53572
  i47(C11, "parseLanguage");
53573
- function h52(e44, t46) {
53573
+ function h51(e44, t46) {
53574
53574
  const n55 = e44.o.pasteCode.languages.find((o57) => String(o57.value) === t46);
53575
53575
  return e44.i18n(String(n55 ? n55.text : t46));
53576
53576
  }
53577
- i47(h52, "languageTitle");
53577
+ i47(h51, "languageTitle");
53578
53578
  function m45(e44, t46, n55) {
53579
53579
  const o57 = i47((c70) => Array.from(c70.classList).forEach((s51) => {
53580
53580
  /^language-/.test(s51) && c70.classList.remove(s51);
@@ -53641,9 +53641,9 @@ var w8 = Object.defineProperty;
53641
53641
  var a69 = (p62, t46) => w8(p62, "name", { value: t46, configurable: true });
53642
53642
  var l53;
53643
53643
  var r57 = function(p62, t46, e44, i55) {
53644
- 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;
53645
53645
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n55 = Reflect.decorate(p62, t46, e44, i55);
53646
- 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);
53647
53647
  return o57 > 3 && n55 && Object.defineProperty(t46, e44, n55), n55;
53648
53648
  };
53649
53649
  var C12 = 16;
@@ -53718,9 +53718,9 @@ var s45 = (l53 = class extends UIElement {
53718
53718
  const t46 = {};
53719
53719
  return this.j.o.pasteCode.languages.forEach((e44) => {
53720
53720
  t46[String(e44.value)] = String(e44.text);
53721
- }), { 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) => {
53722
53722
  const o57 = i55.target;
53723
- 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: "" } });
53724
53724
  }, "update"), childExec: a69((e44, i55, { control: o57 }) => {
53725
53725
  const n55 = String(o57.args && o57.args[0] || "plaintext");
53726
53726
  Dom.isTag(i55, "pre") && (m45(this.j, i55, n55), this.j.e.fire("hideCodeTuner.pasteCode"));
@@ -53744,18 +53744,18 @@ init_htmlspecialchars();
53744
53744
  init_plugin2();
53745
53745
  var v19 = Object.defineProperty;
53746
53746
  var _9 = (d55, e44) => v19(d55, "name", { value: e44, configurable: true });
53747
- var u52;
53747
+ var u53;
53748
53748
  var g20 = function(d55, e44, t46, o57) {
53749
53749
  var i55 = arguments.length, a79 = i55 < 3 ? e44 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e44, t46) : o57, s51;
53750
53750
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a79 = Reflect.decorate(d55, e44, t46, o57);
53751
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);
53752
53752
  return i55 > 3 && a79 && Object.defineProperty(e44, t46, a79), a79;
53753
53753
  };
53754
- var l54 = (u52 = class extends Plugin {
53754
+ var l54 = (u53 = class extends Plugin {
53755
53755
  constructor() {
53756
53756
  super(...arguments), this.buttons = [{ name: "pasteCode", group: "clipboard" }], this.__highlightLibJSIsLoaded = false, this.__loadLanguage = /* @__PURE__ */ new Map(), this.__initHighlightLibLoading = (e44) => __async(this, null, function* () {
53757
- const { globalHighlightLib: t46, highlightLib: { css: o57, js: i55, langUrl: a79, highlight: s51, isLangLoaded: n55, beforeLibLoad: c70, afterLibLoad: h62 } } = 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(() => 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 };
53759
53759
  });
53760
53760
  }
53761
53761
  className() {
@@ -53771,11 +53771,11 @@ var l54 = (u52 = class extends Plugin {
53771
53771
  }), i55.s.save(), this.__createDialog(() => {
53772
53772
  if (a79.validate()) {
53773
53773
  i55.s.restore();
53774
- const h62 = i55.createInside.fromHTML(i55.o.pasteCode.insertTemplate(i55, n55.value, s51.value));
53775
- 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);
53776
53776
  else {
53777
53777
  const b16 = i55.s.current(), f49 = Dom.up(b16, Dom.isBlock, i55.editor);
53778
- 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);
53779
53779
  }
53780
53780
  this.__imdOnChange();
53781
53781
  return;
@@ -53833,7 +53833,7 @@ var l54 = (u52 = class extends Plugin {
53833
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");
53834
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);
53835
53835
  }
53836
- }, _9(u52, "pasteCode"), u52);
53836
+ }, _9(u53, "pasteCode"), u53);
53837
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);
53838
53838
  function L6(d55, e44) {
53839
53839
  return d55.promise((t46, o57) => {
@@ -53919,7 +53919,7 @@ var e29 = (r71, s51) => () => {
53919
53919
  throw s51 = 0, t46;
53920
53920
  }
53921
53921
  };
53922
- var c61 = e29((u56, o57) => {
53922
+ var c61 = e29((u57, o57) => {
53923
53923
  o57.exports = { "Show Blocks": "Mostrar Bloques" };
53924
53924
  });
53925
53925
  var es_default2 = c61();
@@ -53945,7 +53945,7 @@ var r60 = (e44, s51) => () => {
53945
53945
  throw s51 = 0, o57;
53946
53946
  }
53947
53947
  };
53948
- var t36 = r60((h62, c70) => {
53948
+ var t36 = r60((h61, c70) => {
53949
53949
  c70.exports = { "Show Blocks": "Afficher Les Blocs" };
53950
53950
  });
53951
53951
  var fr_default2 = t36();
@@ -54139,9 +54139,9 @@ function B4(s51) {
54139
54139
  return `data:image/svg+xml;utf8,${escape(s51)}`;
54140
54140
  }
54141
54141
  c66(B4, "svgToUrl");
54142
- var h53 = class h54 extends Plugin {
54142
+ var h52 = class h53 extends Plugin {
54143
54143
  get style() {
54144
- return getContainer(this.jodit, h54, "style", true);
54144
+ return getContainer(this.jodit, h53, "style", true);
54145
54145
  }
54146
54146
  enable() {
54147
54147
  this.isEnabled = true;
@@ -54172,8 +54172,8 @@ var h53 = class h54 extends Plugin {
54172
54172
  this.disable(), Dom.safeRemove(cached(this, "style"));
54173
54173
  }
54174
54174
  };
54175
- c66(h53, "showBlocks");
54176
- var o47 = h53;
54175
+ c66(h52, "showBlocks");
54176
+ var o47 = h52;
54177
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);
54178
54178
 
54179
54179
  // node_modules/jodit-pro/esm/plugins/style/helpers/detect-active-style.js
@@ -54181,8 +54181,8 @@ init_constants();
54181
54181
  init_dom();
54182
54182
  init_attr();
54183
54183
  init_css();
54184
- var u53 = Object.defineProperty;
54185
- 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 });
54186
54186
  function p57(e44, i55) {
54187
54187
  for (const [n55, t46] of Object.entries(i55)) if (t46 != null) {
54188
54188
  if (n55 === "class") {
@@ -54204,7 +54204,7 @@ function f42(e44, i55) {
54204
54204
  return (t46 == null ? void 0 : t46.length) ? t46.every((r71) => e44.classList.contains(r71)) : true;
54205
54205
  }
54206
54206
  o48(f42, "elementMatchesDefinition");
54207
- function h55(e44, i55) {
54207
+ function h54(e44, i55) {
54208
54208
  const n55 = e44.s.current();
54209
54209
  if (!n55) return null;
54210
54210
  for (const t46 of i55) if (IS_BLOCK.test(t46.element)) {
@@ -54219,7 +54219,7 @@ function h55(e44, i55) {
54219
54219
  }
54220
54220
  return null;
54221
54221
  }
54222
- o48(h55, "detectActiveStyle");
54222
+ o48(h54, "detectActiveStyle");
54223
54223
 
54224
54224
  // node_modules/jodit-pro/esm/plugins/style/helpers/apply-style.js
54225
54225
  init_constants();
@@ -54281,13 +54281,13 @@ function S7(t46, e44) {
54281
54281
  }
54282
54282
  }
54283
54283
  i49(S7, "removeBlockStyleAttributes");
54284
- function h56(t46) {
54284
+ function h55(t46) {
54285
54285
  const e44 = t46.s.current();
54286
54286
  if (!e44) return;
54287
54287
  const n55 = Dom.closest(e44, Dom.isBlock, t46.editor);
54288
54288
  Dom.isTag(n55, "pre") && attr(n55, "contenteditable") === "false" && attr(n55, "contenteditable", null);
54289
54289
  }
54290
- i49(h56, "unlockCodeBlock");
54290
+ i49(h55, "unlockCodeBlock");
54291
54291
  function b15(t46) {
54292
54292
  var e44;
54293
54293
  if (t46.attributes) return { element: t46.element, attributes: t46.attributes };
@@ -54296,8 +54296,8 @@ function b15(t46) {
54296
54296
  }
54297
54297
  i49(b15, "buildCommitStyleOptions");
54298
54298
  function j9(t46, e44, n55) {
54299
- const s51 = h55(t46, n55), l60 = IS_BLOCK.test(e44.element);
54300
- 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) {
54301
54301
  if (l60 && s51 !== e44) S7(t46, s51);
54302
54302
  else if (t46.s.commitStyle(b15(s51)), s51.attributes || g21(t46, s51), s51 === e44) return;
54303
54303
  }
@@ -54319,12 +54319,12 @@ o49(r67, "classifyDefinitions");
54319
54319
 
54320
54320
  // node_modules/jodit-pro/esm/plugins/style/ui/style-popup.js
54321
54321
  init_attr();
54322
- var h57 = Object.defineProperty;
54323
- 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 });
54324
54324
  var n50 = "jodit-style-popup";
54325
54325
  function j10(t46, o57, v22) {
54326
54326
  var s51, a79;
54327
- 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);
54328
54328
  for (const p62 of m53) {
54329
54329
  const r71 = t46.c.div(`${n50}__group-title`);
54330
54330
  r71.textContent = t46.i18n(p62.title), i55.appendChild(r71);
@@ -54334,10 +54334,10 @@ function j10(t46, o57, v22) {
54334
54334
  c70.type = "button";
54335
54335
  const b16 = C15 === e44;
54336
54336
  c70.className = `${n50}__card` + (b16 ? ` ${n50}__card_active_true` : "");
54337
- 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);
54338
54338
  if (e44.attributes) attr(l60, e44.attributes);
54339
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);
54340
- l60.textContent = e44.name, u56.appendChild(l60), c70.appendChild(u56);
54340
+ l60.textContent = e44.name, u57.appendChild(l60), c70.appendChild(u57);
54341
54341
  const _12 = t46.c.div(`${n50}__card-label`);
54342
54342
  _12.textContent = e44.name, c70.appendChild(_12), t46.e.on(c70, "click", () => {
54343
54343
  t46.s.focus(), j9(t46, e44, o57), t46.synchronizeValues(), v22();
@@ -54358,12 +54358,12 @@ Config.prototype.customStyles = { definitions: [] }, Config.prototype.controls.s
54358
54358
  return !t46.o.customStyles.definitions.length;
54359
54359
  }, isActive(t46) {
54360
54360
  const e44 = t46.o.customStyles.definitions;
54361
- return e44.length ? h55(t46, e44) != null : false;
54361
+ return e44.length ? h54(t46, e44) != null : false;
54362
54362
  }, update(t46, e44) {
54363
54363
  var s51;
54364
54364
  const o57 = t46.o.customStyles.definitions;
54365
54365
  if (!o57.length) return;
54366
- 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";
54367
54367
  (t46.o.textIcons || i55) && (n55 ? e44.state.text = n55.name : e44.state.text = i55 ? t46.i18n("Styles") : "");
54368
54368
  }, exec() {
54369
54369
  return false;
@@ -54487,11 +54487,11 @@ var L7 = (c70, e44) => g22(c70, "name", { value: e44, configurable: true });
54487
54487
  var i50 = function(c70, e44, t46, s51) {
54488
54488
  var l60 = arguments.length, r71 = l60 < 3 ? e44 : s51 === null ? s51 = Object.getOwnPropertyDescriptor(e44, t46) : s51, p62;
54489
54489
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r71 = Reflect.decorate(c70, e44, t46, s51);
54490
- 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);
54491
54491
  return l60 > 3 && r71 && Object.defineProperty(e44, t46, r71), r71;
54492
54492
  };
54493
54493
  var d50 = true;
54494
- var h58 = class h59 extends Plugin {
54494
+ var h57 = class h58 extends Plugin {
54495
54495
  constructor() {
54496
54496
  super(...arguments), this.buttons = [{ name: "todoList", group: "list" }], this.__isOwnCommand = false;
54497
54497
  }
@@ -54577,8 +54577,8 @@ var h58 = class h59 extends Plugin {
54577
54577
  beforeDestruct(e44) {
54578
54578
  }
54579
54579
  };
54580
- L7(h58, "TodoList");
54581
- var o53 = h58;
54580
+ L7(h57, "TodoList");
54581
+ var o53 = h57;
54582
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);
54583
54583
 
54584
54584
  // node_modules/jodit-pro/esm/plugins/translate/assets/swap.svg.js
@@ -54603,8 +54603,8 @@ init_assert();
54603
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" };
54604
54604
 
54605
54605
  // node_modules/jodit-pro/esm/plugins/translate/providers/cloud/cloud.js
54606
- var h60 = Object.defineProperty;
54607
- 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 });
54608
54608
  var a74 = class a75 {
54609
54609
  constructor(t46) {
54610
54610
  this.jodit = t46;
@@ -54633,8 +54633,8 @@ var i51 = a74;
54633
54633
  // node_modules/jodit-pro/esm/plugins/translate/providers/google/google.js
54634
54634
  init_constants();
54635
54635
  init_assert();
54636
- var h61 = Object.defineProperty;
54637
- 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 });
54638
54638
  var a76 = class a77 {
54639
54639
  constructor(t46) {
54640
54640
  this.jodit = t46;
@@ -54673,9 +54673,9 @@ var m49 = Object.defineProperty;
54673
54673
  var _10 = (r71, t46) => m49(r71, "name", { value: t46, configurable: true });
54674
54674
  var s48;
54675
54675
  var l57 = function(r71, t46, e44, i55) {
54676
- 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;
54677
54677
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a79 = Reflect.decorate(r71, t46, e44, i55);
54678
- 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);
54679
54679
  return n55 > 3 && a79 && Object.defineProperty(t46, e44, a79), a79;
54680
54680
  };
54681
54681
  var o54 = (s48 = class extends UIElement {
@@ -54736,7 +54736,7 @@ var r70;
54736
54736
  var _11 = function(o57, t46, e44, a79) {
54737
54737
  var i55 = arguments.length, s51 = i55 < 3 ? t46 : a79 === null ? a79 = Object.getOwnPropertyDescriptor(t46, e44) : a79, n55;
54738
54738
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s51 = Reflect.decorate(o57, t46, e44, a79);
54739
- 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);
54740
54740
  return i55 > 3 && s51 && Object.defineProperty(t46, e44, s51), s51;
54741
54741
  };
54742
54742
  var l58 = (r70 = class extends UIElement {
@@ -54775,15 +54775,15 @@ function R2(t46) {
54775
54775
  const e44 = [], r71 = t46.s.expandSelection().sel;
54776
54776
  if (!r71 || r71.rangeCount === 0 || r71.isCollapsed) return e44;
54777
54777
  t46.s.range.commonAncestorContainer.normalize();
54778
- const a79 = t46.s.range, { commonAncestorContainer: T4, startContainer: l60, endContainer: h62, startOffset: u56, endOffset: d55 } = a79;
54779
- if (l60 === h62) {
54780
- if (Dom.isText(l60)) return [f45(l60, u56, d55)];
54781
- if (d55 - u56 === 1) {
54782
- 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];
54783
54783
  return Dom.isText(o57) ? [f45(o57, 0, o57.nodeValue.length)] : [N3(o57)];
54784
54784
  }
54785
- if (u56 === 0 && l60.childNodes.length === d55) return [N3(l60)];
54786
- 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++) {
54787
54787
  const s51 = l60.childNodes[o57];
54788
54788
  Dom.isText(s51) ? e44.push(f45(s51, 0, s51.nodeValue.length)) : e44.push(N3(s51));
54789
54789
  }
@@ -54796,7 +54796,7 @@ function R2(t46) {
54796
54796
  else if (Dom.isText(n55) && m50(a79, n55)) e44.push(f45(n55, 0, n55.nodeValue.length));
54797
54797
  else if (Dom.isText(n55)) {
54798
54798
  let o57 = 0, s51 = n55.nodeValue.length;
54799
- 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));
54800
54800
  }
54801
54801
  n55 = g25.nextNode();
54802
54802
  }
@@ -54862,12 +54862,12 @@ var g23 = class g24 extends Plugin {
54862
54862
  let o57 = this.state;
54863
54863
  const r71 = t46.dlg();
54864
54864
  r71.setHeader("Translate options");
54865
- 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) {
54866
- 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;
54867
54867
  } });
54868
- 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(() => {
54869
54869
  this.state = o57, r71.close();
54870
- })]), u56.bindDestruct(r71), r71.setSize(500, 400).open(true);
54870
+ })]), u57.bindDestruct(r71), r71.setSize(500, 400).open(true);
54871
54871
  }), "exec"), hotkeys: t46.o.translate.hotkeys.translateOptions }).registerCommand("translate", { exec: l59(() => {
54872
54872
  const o57 = R2(t46).filter((s51) => s51.text.trim().length > 0);
54873
54873
  if (!o57.length) {
@@ -54904,7 +54904,7 @@ var s49 = ["tune.h1", "tune.h2", "tune.h3", `
54904
54904
  `, "tune.h4", "tune.h5", "tune.h6", `
54905
54905
  `, ...i54];
54906
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 } };
54907
- function u54(e44) {
54907
+ function u55(e44) {
54908
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) {
54909
54909
  var o57;
54910
54910
  return ((o57 = r71 == null ? void 0 : r71.target) === null || o57 === void 0 ? void 0 : o57.tagName.toLowerCase()) === e44;
@@ -54917,7 +54917,7 @@ function u54(e44) {
54917
54917
  return true;
54918
54918
  } };
54919
54919
  }
54920
- c69(u54, "headerControl");
54920
+ c69(u55, "headerControl");
54921
54921
  function a78(e44) {
54922
54922
  const n55 = e44 ? "previousSibling" : "nextSibling";
54923
54923
  return { icon: e44 ? "angle-up" : "angle-down", isDisabled(r71, o57) {
@@ -54928,7 +54928,7 @@ function a78(e44) {
54928
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;
54929
54929
  } };
54930
54930
  }
54931
- 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) {
54932
54932
  e44.e.fire("editPreInPasteCode", n55);
54933
54933
  } }, remove: { icon: "bin", exec(e44, n55) {
54934
54934
  Dom.safeRemove(n55), e44.e.fire("synchro"), e44.e.fire("closeTuner.tune"), e44.e.fire("hideTuner.tune");
@@ -54939,12 +54939,12 @@ init_decorators();
54939
54939
  init_dom2();
54940
54940
  init_helpers();
54941
54941
  var m51 = Object.defineProperty;
54942
- var d52 = (h62, t46) => m51(h62, "name", { value: t46, configurable: true });
54942
+ var d52 = (h61, t46) => m51(h61, "name", { value: t46, configurable: true });
54943
54943
  var p59;
54944
- var s50 = function(h62, t46, o57, i55) {
54944
+ var s50 = function(h61, t46, o57, i55) {
54945
54945
  var r71 = arguments.length, e44 = r71 < 3 ? t46 : i55 === null ? i55 = Object.getOwnPropertyDescriptor(t46, o57) : i55, l60;
54946
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e44 = Reflect.decorate(h62, t46, o57, i55);
54947
- 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);
54948
54948
  return r71 > 3 && e44 && Object.defineProperty(t46, o57, e44), e44;
54949
54949
  };
54950
54950
  var n54 = (p59 = class extends UIElement {
@@ -55005,7 +55005,7 @@ init_decorators();
55005
55005
  init_plugin2();
55006
55006
  var d53 = Object.defineProperty;
55007
55007
  var f48 = (i55, e44) => d53(i55, "name", { value: e44, configurable: true });
55008
- var u55 = function(i55, e44, n55, r71) {
55008
+ var u56 = function(i55, e44, n55, r71) {
55009
55009
  var l60 = arguments.length, t46 = l60 < 3 ? e44 : r71 === null ? r71 = Object.getOwnPropertyDescriptor(e44, n55) : r71, c70;
55010
55010
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t46 = Reflect.decorate(i55, e44, n55, r71);
55011
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);
@@ -55030,7 +55030,7 @@ var p60 = class p61 extends Plugin {
55030
55030
  };
55031
55031
  f48(p60, "tuneBlock");
55032
55032
  var o55 = p60;
55033
- 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);
55034
55034
 
55035
55035
  // node_modules/jodit-pro/esm/index.js
55036
55036
  var d54 = Object.defineProperty;