jodit-pro-react 5.5.59 → 5.5.61

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.
@@ -557,7 +557,7 @@ var init_camel_case = __esm({
557
557
  "node_modules/jodit/esm/core/helpers/string/camel-case.js"() {
558
558
  "use strict";
559
559
  camelCase = (key3) => {
560
- return key3.replace(/([-_])(.)/g, (m54, code, letter) => {
560
+ return key3.replace(/([-_])(.)/g, (m53, code, letter) => {
561
561
  return letter.toUpperCase();
562
562
  });
563
563
  };
@@ -676,8 +676,8 @@ var init_connection_error = __esm({
676
676
  "node_modules/jodit/esm/core/helpers/utils/error/errors/connection-error.js"() {
677
677
  "use strict";
678
678
  ConnectionError = class _ConnectionError extends Error {
679
- constructor(m54) {
680
- super(m54);
679
+ constructor(m53) {
680
+ super(m53);
681
681
  Object.setPrototypeOf(this, _ConnectionError.prototype);
682
682
  }
683
683
  };
@@ -690,8 +690,8 @@ var init_options_error = __esm({
690
690
  "node_modules/jodit/esm/core/helpers/utils/error/errors/options-error.js"() {
691
691
  "use strict";
692
692
  OptionsError = class _OptionsError extends TypeError {
693
- constructor(m54) {
694
- super(m54);
693
+ constructor(m53) {
694
+ super(m53);
695
695
  Object.setPrototypeOf(this, _OptionsError.prototype);
696
696
  }
697
697
  };
@@ -1105,13 +1105,13 @@ var init_event_emitter = __esm({
1105
1105
  this.__domEventsMap.set(subject, callbackStore);
1106
1106
  }
1107
1107
  __unmemoryDOMSubjectToHandler(subject, syntheticCallback) {
1108
- const m54 = this.__domEventsMap;
1109
- const callbackStore = m54.get(subject) || /* @__PURE__ */ new Set();
1108
+ const m53 = this.__domEventsMap;
1109
+ const callbackStore = m53.get(subject) || /* @__PURE__ */ new Set();
1110
1110
  callbackStore.delete(syntheticCallback);
1111
1111
  if (callbackStore.size) {
1112
- m54.set(subject, callbackStore);
1112
+ m53.set(subject, callbackStore);
1113
1113
  } else {
1114
- m54.delete(subject);
1114
+ m53.delete(subject);
1115
1115
  }
1116
1116
  }
1117
1117
  one(eventsOrSubjects, callbackOrEvents, optionsOrCallback, opts) {
@@ -2768,13 +2768,13 @@ var init_lazy_walker = __esm({
2768
2768
  init_dom();
2769
2769
  init_eventify();
2770
2770
  __decorate = function(decorators, target, key3, desc) {
2771
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
2771
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
2772
2772
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
2773
2773
  r59 = Reflect.decorate(decorators, target, key3, desc);
2774
2774
  else
2775
2775
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
2776
- if (d53 = decorators[i54])
2777
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
2776
+ if (d54 = decorators[i54])
2777
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
2778
2778
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
2779
2779
  };
2780
2780
  LazyWalker = class extends Eventify {
@@ -6452,13 +6452,13 @@ var init_ajax = __esm({
6452
6452
  init_config2();
6453
6453
  init_response();
6454
6454
  __decorate24 = function(decorators, target, key3, desc) {
6455
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
6455
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
6456
6456
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
6457
6457
  r59 = Reflect.decorate(decorators, target, key3, desc);
6458
6458
  else
6459
6459
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
6460
- if (d53 = decorators[i54])
6461
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
6460
+ if (d54 = decorators[i54])
6461
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
6462
6462
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
6463
6463
  };
6464
6464
  Ajax = class _Ajax {
@@ -6717,13 +6717,13 @@ var init_plugin = __esm({
6717
6717
  init_decorators();
6718
6718
  init_is_jodit_object();
6719
6719
  __decorate28 = function(decorators, target, key3, desc) {
6720
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
6720
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
6721
6721
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
6722
6722
  r59 = Reflect.decorate(decorators, target, key3, desc);
6723
6723
  else
6724
6724
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
6725
- if (d53 = decorators[i54])
6726
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
6725
+ if (d54 = decorators[i54])
6726
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
6727
6727
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
6728
6728
  };
6729
6729
  Plugin = class extends ViewComponent {
@@ -6928,13 +6928,13 @@ var require_tab = __commonJS({
6928
6928
  init_config3();
6929
6929
  init_cases();
6930
6930
  var __decorate73 = exports && exports.__decorate || function(decorators, target, key3, desc) {
6931
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
6931
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
6932
6932
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
6933
6933
  r59 = Reflect.decorate(decorators, target, key3, desc);
6934
6934
  else
6935
6935
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
6936
- if (d53 = decorators[i54])
6937
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
6936
+ if (d54 = decorators[i54])
6937
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
6938
6938
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
6939
6939
  };
6940
6940
  var tab = class extends Plugin {
@@ -6993,13 +6993,13 @@ var require_wrap_nodes = __commonJS({
6993
6993
  init_plugin2();
6994
6994
  init_config4();
6995
6995
  var __decorate73 = exports && exports.__decorate || function(decorators, target, key3, desc) {
6996
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
6996
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
6997
6997
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
6998
6998
  r59 = Reflect.decorate(decorators, target, key3, desc);
6999
6999
  else
7000
7000
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
7001
- if (d53 = decorators[i54])
7002
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
7001
+ if (d54 = decorators[i54])
7002
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
7003
7003
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
7004
7004
  };
7005
7005
  var wrapNodes = class extends Plugin {
@@ -7248,13 +7248,13 @@ var require_dtd = __commonJS({
7248
7248
  init_after_insert();
7249
7249
  init_before_insert();
7250
7250
  var __decorate73 = exports && exports.__decorate || function(decorators, target, key3, desc) {
7251
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
7251
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
7252
7252
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7253
7253
  r59 = Reflect.decorate(decorators, target, key3, desc);
7254
7254
  else
7255
7255
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
7256
- if (d53 = decorators[i54])
7257
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
7256
+ if (d54 = decorators[i54])
7257
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
7258
7258
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
7259
7259
  };
7260
7260
  var dtd = class extends Plugin {
@@ -7286,7 +7286,7 @@ var require_dtd = __commonJS({
7286
7286
  });
7287
7287
 
7288
7288
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/providers/registry.js
7289
- function d4(r59, e42) {
7289
+ function d5(r59, e42) {
7290
7290
  const i54 = t6.get(r59);
7291
7291
  if (!i54) throw new Error(`AI provider "${r59}" is not registered. Available providers: ${[...t6.keys()].join(", ")}`);
7292
7292
  return i54(e42);
@@ -7301,7 +7301,7 @@ var init_registry = __esm({
7301
7301
  n12 = Object.defineProperty;
7302
7302
  o11 = (r59, e42) => n12(r59, "name", { value: e42, configurable: true });
7303
7303
  t6 = /* @__PURE__ */ new Map();
7304
- o11(d4, "getAIProviderOptions");
7304
+ o11(d5, "getAIProviderOptions");
7305
7305
  o11(p9, "registerAIProvider");
7306
7306
  }
7307
7307
  });
@@ -7316,15 +7316,15 @@ var require_jodit_ai_adapter = __commonJS({
7316
7316
  var c74 = (e42, t48) => v22(e42, "name", { value: t48, configurable: true });
7317
7317
  p9("jodit-ai-adapter", ((e42) => {
7318
7318
  var t48;
7319
- const i54 = e42.url.replace(/\/+$/, ""), d53 = (t48 = e42.provider) !== null && t48 !== void 0 ? t48 : "openai", u58 = e42.stream !== false;
7319
+ const i54 = e42.url.replace(/\/+$/, ""), d54 = (t48 = e42.provider) !== null && t48 !== void 0 ? t48 : "openai", u58 = e42.stream !== false;
7320
7320
  return { apiMode: "incremental", maxRetries: 0, voiceInputEnabled: true, voiceInputUrl: `${i54.replace(/^http/, "ws")}/v1/ai/transcribe`, voiceInputApiKey: e42.apiKey, textAutocompleteEnabled: true, textAutocompleteApiRequest: c74((a77, s50, r59) => __async(null, null, function* () {
7321
7321
  var n57;
7322
- const o57 = new Ajax({ url: `${i54}/ai/autocomplete?query=${encodeURIComponent(a77)}&key=${encodeURIComponent(e42.apiKey)}`, method: "POST", contentType: "application/json", data: { provider: d53, context: { maxSuggestions: s50 } } });
7322
+ const o57 = new Ajax({ url: `${i54}/ai/autocomplete?query=${encodeURIComponent(a77)}&key=${encodeURIComponent(e42.apiKey)}`, method: "POST", contentType: "application/json", data: { provider: d54, context: { maxSuggestions: s50 } } });
7323
7323
  r59.addEventListener("abort", () => o57.abort(), { once: true });
7324
7324
  const p63 = yield (yield o57.send()).json();
7325
7325
  return p63.success && (!((n57 = p63.result) === null || n57 === void 0) && n57.suggestions) ? p63.result.suggestions : [];
7326
7326
  }), "textAutocompleteApiRequest"), apiRequest: c74((a77, s50) => __async(null, null, function* () {
7327
- const r59 = new Ajax({ url: `${i54}/ai/request?key=${encodeURIComponent(e42.apiKey)}`, method: "POST", contentType: "application/json", data: { provider: d53, context: u58 ? __spreadProps(__spreadValues({}, a77), { metadata: __spreadProps(__spreadValues({}, a77.metadata), { stream: true }) }) : a77 } });
7327
+ const r59 = new Ajax({ url: `${i54}/ai/request?key=${encodeURIComponent(e42.apiKey)}`, method: "POST", contentType: "application/json", data: { provider: d54, context: u58 ? __spreadProps(__spreadValues({}, a77), { metadata: __spreadProps(__spreadValues({}, a77.metadata), { stream: true }) }) : a77 } });
7328
7328
  if (s50 && s50.addEventListener("abort", () => r59.abort(), { once: true }), !u58) return { mode: "final", response: (yield (yield r59.send()).json()).result };
7329
7329
  const n57 = r59.stream();
7330
7330
  return { mode: "stream", stream: (function() {
@@ -7449,11 +7449,11 @@ var require_acolorpicker = __commonJS({
7449
7449
  }
7450
7450
  return Array.from(e43);
7451
7451
  }
7452
- var h60 = "undefined" != typeof window && window.navigator.userAgent.indexOf("Edge") > -1, p63 = "undefined" != typeof window && window.navigator.userAgent.indexOf("rv:") > -1, d53 = { 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] }, f50 = "COLOR", g24 = "RGBA_USER", b17 = "HSLA_USER";
7452
+ var h60 = "undefined" != typeof window && window.navigator.userAgent.indexOf("Edge") > -1, p63 = "undefined" != typeof window && window.navigator.userAgent.indexOf("rv:") > -1, d54 = { 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] }, f50 = "COLOR", g24 = "RGBA_USER", b17 = "HSLA_USER";
7453
7453
  function v22(e43, t49, r60) {
7454
7454
  return e43 ? e43 instanceof HTMLElement ? e43 : e43 instanceof NodeList ? e43[0] : "string" == typeof e43 ? document.querySelector(e43) : e43.jquery ? e43.get(0) : r60 ? t49 : null : t49;
7455
7455
  }
7456
- function m54(e43) {
7456
+ function m53(e43) {
7457
7457
  var t49 = e43.getContext("2d"), r60 = +e43.width, i55 = +e43.height, s51 = t49.createLinearGradient(1, 1, 1, i55 - 1);
7458
7458
  return s51.addColorStop(0, "white"), s51.addColorStop(1, "black"), { setHue: function(e44) {
7459
7459
  var o58 = t49.createLinearGradient(1, 0, r60 - 1, 0);
@@ -7476,10 +7476,10 @@ var require_acolorpicker = __commonJS({
7476
7476
  }
7477
7477
  var k6 = (function() {
7478
7478
  function e43(t49, r60) {
7479
- if (c74(this, e43), r60 ? (t49 = v22(t49), this.options = Object.assign({}, d53, r60)) : t49 && (0, s50.default)(t49) ? (this.options = Object.assign({}, d53, t49), t49 = v22(this.options.attachTo)) : (this.options = Object.assign({}, d53), t49 = v22((0, n57.nvl)(t49, this.options.attachTo))), !t49) throw new Error("Container not found: " + this.options.attachTo);
7479
+ if (c74(this, e43), r60 ? (t49 = v22(t49), this.options = Object.assign({}, d54, r60)) : t49 && (0, s50.default)(t49) ? (this.options = Object.assign({}, d54, t49), t49 = v22(this.options.attachTo)) : (this.options = Object.assign({}, d54), t49 = v22((0, n57.nvl)(t49, this.options.attachTo))), !t49) throw new Error("Container not found: " + this.options.attachTo);
7480
7480
  !(function(e44, t50) {
7481
7481
  var r61 = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "acp-";
7482
- if (t50.hasAttribute(r61 + "show-hsl") && (e44.showHSL = A4(t50.getAttribute(r61 + "show-hsl"), d53.showHSL, true)), t50.hasAttribute(r61 + "show-rgb") && (e44.showRGB = A4(t50.getAttribute(r61 + "show-rgb"), d53.showRGB, true)), t50.hasAttribute(r61 + "show-hex") && (e44.showHEX = A4(t50.getAttribute(r61 + "show-hex"), d53.showHEX, true)), t50.hasAttribute(r61 + "show-alpha") && (e44.showAlpha = A4(t50.getAttribute(r61 + "show-alpha"), d53.showAlpha, true)), t50.hasAttribute(r61 + "palette-editable") && (e44.paletteEditable = A4(t50.getAttribute(r61 + "palette-editable"), d53.paletteEditable, true)), t50.hasAttribute(r61 + "sl-bar-size") && (e44.slBarSize = y9(t50.getAttribute(r61 + "sl-bar-size"), d53.slBarSize, [232, 150])), t50.hasAttribute(r61 + "hue-bar-size") && (e44.hueBarSize = y9(t50.getAttribute(r61 + "hue-bar-size"), d53.hueBarSize, [150, 11]), e44.alphaBarSize = e44.hueBarSize), t50.hasAttribute(r61 + "palette")) {
7482
+ if (t50.hasAttribute(r61 + "show-hsl") && (e44.showHSL = A4(t50.getAttribute(r61 + "show-hsl"), d54.showHSL, true)), t50.hasAttribute(r61 + "show-rgb") && (e44.showRGB = A4(t50.getAttribute(r61 + "show-rgb"), d54.showRGB, true)), t50.hasAttribute(r61 + "show-hex") && (e44.showHEX = A4(t50.getAttribute(r61 + "show-hex"), d54.showHEX, true)), t50.hasAttribute(r61 + "show-alpha") && (e44.showAlpha = A4(t50.getAttribute(r61 + "show-alpha"), d54.showAlpha, true)), t50.hasAttribute(r61 + "palette-editable") && (e44.paletteEditable = A4(t50.getAttribute(r61 + "palette-editable"), d54.paletteEditable, true)), t50.hasAttribute(r61 + "sl-bar-size") && (e44.slBarSize = y9(t50.getAttribute(r61 + "sl-bar-size"), d54.slBarSize, [232, 150])), t50.hasAttribute(r61 + "hue-bar-size") && (e44.hueBarSize = y9(t50.getAttribute(r61 + "hue-bar-size"), d54.hueBarSize, [150, 11]), e44.alphaBarSize = e44.hueBarSize), t50.hasAttribute(r61 + "palette")) {
7483
7483
  var i56 = t50.getAttribute(r61 + "palette");
7484
7484
  switch (i56) {
7485
7485
  case "PALETTE_MATERIAL_500":
@@ -7496,9 +7496,9 @@ var require_acolorpicker = __commonJS({
7496
7496
  t50.hasAttribute(r61 + "color") && (e44.color = t50.getAttribute(r61 + "color"));
7497
7497
  })(this.options, t49), this.H = 0, this.S = 0, this.L = 0, this.R = 0, this.G = 0, this.B = 0, this.A = 1, this.palette = {}, this.element = document.createElement("div"), this.options.id && (this.element.id = this.options.id), this.element.className = "a-color-picker", this.element.innerHTML = a77.default, t49.appendChild(this.element);
7498
7498
  var i55 = this.element.querySelector(".a-color-picker-h");
7499
- this.setupHueCanvas(i55), this.hueBarHelper = m54(i55), this.huePointer = this.element.querySelector(".a-color-picker-h+.a-color-picker-dot");
7499
+ this.setupHueCanvas(i55), this.hueBarHelper = m53(i55), this.huePointer = this.element.querySelector(".a-color-picker-h+.a-color-picker-dot");
7500
7500
  var o58 = this.element.querySelector(".a-color-picker-sl");
7501
- this.setupSlCanvas(o58), this.slBarHelper = m54(o58), this.slPointer = this.element.querySelector(".a-color-picker-sl+.a-color-picker-dot"), this.preview = this.element.querySelector(".a-color-picker-preview"), this.setupClipboard(this.preview.querySelector(".a-color-picker-clipbaord")), this.options.showHSL ? (this.setupInput(this.inputH = this.element.querySelector(".a-color-picker-hsl>input[nameref=H]")), this.setupInput(this.inputS = this.element.querySelector(".a-color-picker-hsl>input[nameref=S]")), this.setupInput(this.inputL = this.element.querySelector(".a-color-picker-hsl>input[nameref=L]"))) : this.element.querySelector(".a-color-picker-hsl").remove(), this.options.showRGB ? (this.setupInput(this.inputR = this.element.querySelector(".a-color-picker-rgb>input[nameref=R]")), this.setupInput(this.inputG = this.element.querySelector(".a-color-picker-rgb>input[nameref=G]")), this.setupInput(this.inputB = this.element.querySelector(".a-color-picker-rgb>input[nameref=B]"))) : this.element.querySelector(".a-color-picker-rgb").remove(), this.options.showHEX ? this.setupInput(this.inputRGBHEX = this.element.querySelector("input[nameref=RGBHEX]")) : this.element.querySelector(".a-color-picker-rgbhex").remove(), this.options.paletteEditable || this.options.palette && this.options.palette.length > 0 ? this.setPalette(this.paletteRow = this.element.querySelector(".a-color-picker-palette")) : (this.paletteRow = this.element.querySelector(".a-color-picker-palette"), this.paletteRow.remove()), this.options.showAlpha ? (this.setupAlphaCanvas(this.element.querySelector(".a-color-picker-a")), this.alphaPointer = this.element.querySelector(".a-color-picker-a+.a-color-picker-dot")) : this.element.querySelector(".a-color-picker-alpha").remove(), this.element.style.width = this.options.slBarSize[0] + "px", this.onValueChanged(f50, this.options.color);
7501
+ this.setupSlCanvas(o58), this.slBarHelper = m53(o58), this.slPointer = this.element.querySelector(".a-color-picker-sl+.a-color-picker-dot"), this.preview = this.element.querySelector(".a-color-picker-preview"), this.setupClipboard(this.preview.querySelector(".a-color-picker-clipbaord")), this.options.showHSL ? (this.setupInput(this.inputH = this.element.querySelector(".a-color-picker-hsl>input[nameref=H]")), this.setupInput(this.inputS = this.element.querySelector(".a-color-picker-hsl>input[nameref=S]")), this.setupInput(this.inputL = this.element.querySelector(".a-color-picker-hsl>input[nameref=L]"))) : this.element.querySelector(".a-color-picker-hsl").remove(), this.options.showRGB ? (this.setupInput(this.inputR = this.element.querySelector(".a-color-picker-rgb>input[nameref=R]")), this.setupInput(this.inputG = this.element.querySelector(".a-color-picker-rgb>input[nameref=G]")), this.setupInput(this.inputB = this.element.querySelector(".a-color-picker-rgb>input[nameref=B]"))) : this.element.querySelector(".a-color-picker-rgb").remove(), this.options.showHEX ? this.setupInput(this.inputRGBHEX = this.element.querySelector("input[nameref=RGBHEX]")) : this.element.querySelector(".a-color-picker-rgbhex").remove(), this.options.paletteEditable || this.options.palette && this.options.palette.length > 0 ? this.setPalette(this.paletteRow = this.element.querySelector(".a-color-picker-palette")) : (this.paletteRow = this.element.querySelector(".a-color-picker-palette"), this.paletteRow.remove()), this.options.showAlpha ? (this.setupAlphaCanvas(this.element.querySelector(".a-color-picker-a")), this.alphaPointer = this.element.querySelector(".a-color-picker-a+.a-color-picker-dot")) : this.element.querySelector(".a-color-picker-alpha").remove(), this.element.style.width = this.options.slBarSize[0] + "px", this.onValueChanged(f50, this.options.color);
7502
7502
  }
7503
7503
  return i54(e43, [{ key: "setupHueCanvas", value: function(e44) {
7504
7504
  var t49 = this;
@@ -7622,12 +7622,12 @@ var require_acolorpicker = __commonJS({
7622
7622
  break;
7623
7623
  case "G":
7624
7624
  this.G = t49;
7625
- var d54 = (0, n57.rgbToHsl)(this.R, this.G, this.B), v23 = o57(d54, 3);
7625
+ var d55 = (0, n57.rgbToHsl)(this.R, this.G, this.B), v23 = o57(d55, 3);
7626
7626
  this.H = v23[0], this.S = v23[1], this.L = v23[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);
7627
7627
  break;
7628
7628
  case "B":
7629
7629
  this.B = t49;
7630
- var m55 = (0, n57.rgbToHsl)(this.R, this.G, this.B), A5 = o57(m55, 3);
7630
+ var m54 = (0, n57.rgbToHsl)(this.R, this.G, this.B), A5 = o57(m54, 3);
7631
7631
  this.H = A5[0], this.S = A5[1], this.L = A5[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);
7632
7632
  break;
7633
7633
  case "RGB":
@@ -7643,8 +7643,8 @@ var require_acolorpicker = __commonJS({
7643
7643
  this.H = B5[0], this.S = B5[1], this.L = B5[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.updateInputRGB(this.R, this.G, this.B), this.updateInputRGBHEX(this.R, this.G, this.B), this.updatePointerA(this.A);
7644
7644
  break;
7645
7645
  case b17:
7646
- var R4 = o57(t49, 4);
7647
- this.H = R4[0], this.S = R4[1], this.L = R4[2], this.A = R4[3];
7646
+ var R3 = o57(t49, 4);
7647
+ this.H = R3[0], this.S = R3[1], this.L = R3[2], this.A = R3[3];
7648
7648
  var C14 = (0, n57.hslToRgb)(this.H, this.S, this.L), S8 = o57(C14, 3);
7649
7649
  this.R = S8[0], this.G = S8[1], this.B = S8[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.updateInputRGB(this.R, this.G, this.B), this.updateInputRGBHEX(this.R, this.G, this.B), this.updatePointerA(this.A);
7650
7650
  break;
@@ -7657,8 +7657,8 @@ var require_acolorpicker = __commonJS({
7657
7657
  case f50:
7658
7658
  var G2 = (0, n57.parseColor)(t49, "rgba") || [0, 0, 0, 1], I2 = o57(G2, 4);
7659
7659
  this.R = I2[0], this.G = I2[1], this.B = I2[2], this.A = I2[3];
7660
- var P4 = (0, n57.rgbToHsl)(this.R, this.G, this.B), D3 = o57(P4, 3);
7661
- this.H = D3[0], this.S = D3[1], this.L = D3[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.updateInputRGB(this.R, this.G, this.B), this.updateInputRGBHEX(this.R, this.G, this.B), this.updatePointerA(this.A);
7660
+ var P4 = (0, n57.rgbToHsl)(this.R, this.G, this.B), D4 = o57(P4, 3);
7661
+ this.H = D4[0], this.S = D4[1], this.L = D4[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.updateInputRGB(this.R, this.G, this.B), this.updateInputRGBHEX(this.R, this.G, this.B), this.updatePointerA(this.A);
7662
7662
  break;
7663
7663
  case "ALPHA":
7664
7664
  this.A = t49;
@@ -7678,8 +7678,8 @@ var require_acolorpicker = __commonJS({
7678
7678
  var t49 = this.options.hueBarSize[0] * e44 / 360;
7679
7679
  this.huePointer.style.left = t49 - 7 + "px";
7680
7680
  } }, { key: "updatePointerSL", value: function(e44, t49, r60) {
7681
- var i55 = (0, n57.hslToRgb)(e44, t49, r60), s51 = o57(i55, 3), a78 = s51[0], l58 = s51[1], c75 = s51[2], u59 = this.slBarHelper.findColor(a78, l58, c75), h61 = o57(u59, 2), p64 = h61[0], d54 = h61[1];
7682
- p64 >= 0 && (this.slPointer.style.left = p64 - 7 + "px", this.slPointer.style.top = d54 - 7 + "px");
7681
+ var i55 = (0, n57.hslToRgb)(e44, t49, r60), s51 = o57(i55, 3), a78 = s51[0], l58 = s51[1], c75 = s51[2], u59 = this.slBarHelper.findColor(a78, l58, c75), h61 = o57(u59, 2), p64 = h61[0], d55 = h61[1];
7682
+ p64 >= 0 && (this.slPointer.style.left = p64 - 7 + "px", this.slPointer.style.top = d55 - 7 + "px");
7683
7683
  } }, { key: "updatePointerA", value: function(e44) {
7684
7684
  if (this.options.showAlpha) {
7685
7685
  var t49 = this.options.alphaBarSize[0] * e44;
@@ -7880,7 +7880,7 @@ var require_acolorpicker = __commonJS({
7880
7880
  function p63(e43, t49, r60) {
7881
7881
  return e43 << 16 | t49 << 8 | r60;
7882
7882
  }
7883
- function d53(e43) {
7883
+ function d54(e43) {
7884
7884
  if (e43) {
7885
7885
  var t49 = s50[e43.toString().toLowerCase()], r60 = /^\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(t49 || e43) || [], o58 = i54(r60, 10), n58 = o58[3], a78 = o58[4], l58 = o58[5], c75 = o58[7], u59 = o58[8], h61 = o58[9];
7886
7886
  if (void 0 !== n58) return [parseInt(n58 + n58, 16), parseInt(a78 + a78, 16), parseInt(l58 + l58, 16)];
@@ -7889,9 +7889,9 @@ var require_acolorpicker = __commonJS({
7889
7889
  }
7890
7890
  function f50(e43) {
7891
7891
  if (e43) {
7892
- var t49 = s50[e43.toString().toLowerCase()], r60 = /^\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(t49 || e43) || [], o58 = i54(r60, 12), n58 = o58[3], a78 = o58[4], l58 = o58[5], c75 = o58[6], u59 = o58[8], h61 = o58[9], p64 = o58[10], d54 = o58[11];
7892
+ var t49 = s50[e43.toString().toLowerCase()], r60 = /^\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(t49 || e43) || [], o58 = i54(r60, 12), n58 = o58[3], a78 = o58[4], l58 = o58[5], c75 = o58[6], u59 = o58[8], h61 = o58[9], p64 = o58[10], d55 = o58[11];
7893
7893
  if (void 0 !== n58) return [parseInt(n58 + n58, 16), parseInt(a78 + a78, 16), parseInt(l58 + l58, 16), c75 ? +(parseInt(c75 + c75, 16) / 255).toFixed(2) : 1];
7894
- if (void 0 !== u59) return [parseInt(u59, 16), parseInt(h61, 16), parseInt(p64, 16), d54 ? +(parseInt(d54, 16) / 255).toFixed(2) : 1];
7894
+ if (void 0 !== u59) return [parseInt(u59, 16), parseInt(h61, 16), parseInt(p64, 16), d55 ? +(parseInt(d55, 16) / 255).toFixed(2) : 1];
7895
7895
  }
7896
7896
  }
7897
7897
  function g24(e43) {
@@ -7911,7 +7911,7 @@ var require_acolorpicker = __commonJS({
7911
7911
  var t49 = f50(e43) || b17(e43);
7912
7912
  return t49 && 3 === t49.length && t49.push(1), t49;
7913
7913
  }
7914
- function m54(e43) {
7914
+ function m53(e43) {
7915
7915
  if (e43) {
7916
7916
  var t49 = /^hsl\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(e43) || [], r60 = i54(t49, 4), o58 = r60[0], n58 = r60[1], s51 = r60[2], l58 = r60[3];
7917
7917
  return o58 ? [a77(n58, 0, 360), a77(s51, 0, 100), a77(l58, 0, 100)] : void 0;
@@ -7982,10 +7982,10 @@ var require_acolorpicker = __commonJS({
7982
7982
  return [l58, o58, c75];
7983
7983
  }, t48.rgbToInt = p63, t48.intToRgb = function(e43) {
7984
7984
  return [e43 >> 16 & 255, e43 >> 8 & 255, 255 & e43];
7985
- }, t48.cssColorToRgb = d53, t48.cssColorToRgba = f50, t48.cssRgbToRgb = g24, t48.cssRgbaToRgba = b17, t48.parseColorToRgb = function(e43) {
7986
- return Array.isArray(e43) ? e43 = [a77(e43[0], 0, 255), a77(e43[1], 0, 255), a77(e43[2], 0, 255)] : d53(e43) || g24(e43);
7987
- }, t48.parseColorToRgba = v22, t48.cssHslToHsl = m54, t48.cssHslaToHsla = A4, t48.parseColorToHsl = function(e43) {
7988
- return Array.isArray(e43) ? e43 = [a77(e43[0], 0, 360), a77(e43[1], 0, 100), a77(e43[2], 0, 100)] : m54(e43);
7985
+ }, t48.cssColorToRgb = d54, t48.cssColorToRgba = f50, t48.cssRgbToRgb = g24, t48.cssRgbaToRgba = b17, t48.parseColorToRgb = function(e43) {
7986
+ return Array.isArray(e43) ? e43 = [a77(e43[0], 0, 255), a77(e43[1], 0, 255), a77(e43[2], 0, 255)] : d54(e43) || g24(e43);
7987
+ }, t48.parseColorToRgba = v22, t48.cssHslToHsl = m53, t48.cssHslaToHsla = A4, t48.parseColorToHsl = function(e43) {
7988
+ return Array.isArray(e43) ? e43 = [a77(e43[0], 0, 360), a77(e43[1], 0, 100), a77(e43[2], 0, 100)] : m53(e43);
7989
7989
  }, t48.parseColorToHsla = y9, t48.parseColor = function(e43, t49) {
7990
7990
  if (t49 = t49 || "rgb", null != e43) {
7991
7991
  var r60 = void 0;
@@ -8341,13 +8341,13 @@ var Mods = class {
8341
8341
 
8342
8342
  // node_modules/jodit/esm/core/ui/element.js
8343
8343
  var __decorate2 = function(decorators, target, key3, desc) {
8344
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
8344
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
8345
8345
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
8346
8346
  r59 = Reflect.decorate(decorators, target, key3, desc);
8347
8347
  else
8348
8348
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
8349
- if (d53 = decorators[i54])
8350
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
8349
+ if (d54 = decorators[i54])
8350
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
8351
8351
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
8352
8352
  };
8353
8353
  var UIElement_1;
@@ -8480,13 +8480,13 @@ UIElement = UIElement_1 = __decorate2([
8480
8480
 
8481
8481
  // node_modules/jodit/esm/core/ui/button/button/button.js
8482
8482
  var __decorate3 = function(decorators, target, key3, desc) {
8483
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
8483
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
8484
8484
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
8485
8485
  r59 = Reflect.decorate(decorators, target, key3, desc);
8486
8486
  else
8487
8487
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
8488
- if (d53 = decorators[i54])
8489
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
8488
+ if (d54 = decorators[i54])
8489
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
8490
8490
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
8491
8491
  };
8492
8492
  var UIButtonState = () => ({
@@ -8756,13 +8756,13 @@ init_decorators();
8756
8756
  init_dom();
8757
8757
  init_helpers();
8758
8758
  var __decorate4 = function(decorators, target, key3, desc) {
8759
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
8759
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
8760
8760
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
8761
8761
  r59 = Reflect.decorate(decorators, target, key3, desc);
8762
8762
  else
8763
8763
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
8764
- if (d53 = decorators[i54])
8765
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
8764
+ if (d54 = decorators[i54])
8765
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
8766
8766
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
8767
8767
  };
8768
8768
  var UIGroup_1;
@@ -8902,13 +8902,13 @@ UIGroup = UIGroup_1 = __decorate4([
8902
8902
 
8903
8903
  // node_modules/jodit/esm/core/ui/popup/popup.js
8904
8904
  var __decorate5 = function(decorators, target, key3, desc) {
8905
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
8905
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
8906
8906
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
8907
8907
  r59 = Reflect.decorate(decorators, target, key3, desc);
8908
8908
  else
8909
8909
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
8910
- if (d53 = decorators[i54])
8911
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
8910
+ if (d54 = decorators[i54])
8911
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
8912
8912
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
8913
8913
  };
8914
8914
  var EVENTS_FOR_AUTOCLOSE = [
@@ -9208,13 +9208,13 @@ __decorate5([
9208
9208
 
9209
9209
  // node_modules/jodit/esm/modules/context-menu/context-menu.js
9210
9210
  var __decorate6 = function(decorators, target, key3, desc) {
9211
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
9211
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
9212
9212
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9213
9213
  r59 = Reflect.decorate(decorators, target, key3, desc);
9214
9214
  else
9215
9215
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
9216
- if (d53 = decorators[i54])
9217
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
9216
+ if (d54 = decorators[i54])
9217
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
9218
9218
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
9219
9219
  };
9220
9220
  var ContextMenu = class ContextMenu2 extends Popup {
@@ -9282,13 +9282,13 @@ init_assert();
9282
9282
  init_component();
9283
9283
  init_assert();
9284
9284
  var __decorate7 = function(decorators, target, key3, desc) {
9285
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
9285
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
9286
9286
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9287
9287
  r59 = Reflect.decorate(decorators, target, key3, desc);
9288
9288
  else
9289
9289
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
9290
- if (d53 = decorators[i54])
9291
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
9290
+ if (d54 = decorators[i54])
9291
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
9292
9292
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
9293
9293
  };
9294
9294
  var UIButtonGroup = class UIButtonGroup2 extends UIGroup {
@@ -9357,13 +9357,13 @@ init_get_fixed_position_offset();
9357
9357
  init_position();
9358
9358
  init_utils3();
9359
9359
  var __decorate8 = function(decorators, target, key3, desc) {
9360
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
9360
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
9361
9361
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9362
9362
  r59 = Reflect.decorate(decorators, target, key3, desc);
9363
9363
  else
9364
9364
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
9365
- if (d53 = decorators[i54])
9366
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
9365
+ if (d54 = decorators[i54])
9366
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
9367
9367
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
9368
9368
  };
9369
9369
  var UITooltip_1;
@@ -9546,13 +9546,13 @@ UITooltip = UITooltip_1 = __decorate8([
9546
9546
  init_component();
9547
9547
  init_utils3();
9548
9548
  var __decorate9 = function(decorators, target, key3, desc) {
9549
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
9549
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
9550
9550
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9551
9551
  r59 = Reflect.decorate(decorators, target, key3, desc);
9552
9552
  else
9553
9553
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
9554
- if (d53 = decorators[i54])
9555
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
9554
+ if (d54 = decorators[i54])
9555
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
9556
9556
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
9557
9557
  };
9558
9558
  var UIBlock = class UIBlock2 extends UIGroup {
@@ -9627,13 +9627,13 @@ var required2 = function(select2) {
9627
9627
 
9628
9628
  // node_modules/jodit/esm/core/ui/form/inputs/input/input.js
9629
9629
  var __decorate10 = function(decorators, target, key3, desc) {
9630
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
9630
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
9631
9631
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9632
9632
  r59 = Reflect.decorate(decorators, target, key3, desc);
9633
9633
  else
9634
9634
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
9635
- if (d53 = decorators[i54])
9636
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
9635
+ if (d54 = decorators[i54])
9636
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
9637
9637
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
9638
9638
  };
9639
9639
  var UIInput_1;
@@ -9851,13 +9851,13 @@ UIInput = UIInput_1 = __decorate10([
9851
9851
  init_component();
9852
9852
  init_attr();
9853
9853
  var __decorate11 = function(decorators, target, key3, desc) {
9854
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
9854
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
9855
9855
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9856
9856
  r59 = Reflect.decorate(decorators, target, key3, desc);
9857
9857
  else
9858
9858
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
9859
- if (d53 = decorators[i54])
9860
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
9859
+ if (d54 = decorators[i54])
9860
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
9861
9861
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
9862
9862
  };
9863
9863
  var UISelect_1;
@@ -9921,13 +9921,13 @@ UISelect = UISelect_1 = __decorate11([
9921
9921
 
9922
9922
  // node_modules/jodit/esm/core/ui/form/form.js
9923
9923
  var __decorate12 = function(decorators, target, key3, desc) {
9924
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
9924
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
9925
9925
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9926
9926
  r59 = Reflect.decorate(decorators, target, key3, desc);
9927
9927
  else
9928
9928
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
9929
- if (d53 = decorators[i54])
9930
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
9929
+ if (d54 = decorators[i54])
9930
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
9931
9931
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
9932
9932
  };
9933
9933
  var UIForm = class UIForm2 extends UIGroup {
@@ -9991,13 +9991,13 @@ UIForm = __decorate12([
9991
9991
  init_decorators();
9992
9992
  init_component();
9993
9993
  var __decorate13 = function(decorators, target, key3, desc) {
9994
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
9994
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
9995
9995
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9996
9996
  r59 = Reflect.decorate(decorators, target, key3, desc);
9997
9997
  else
9998
9998
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
9999
- if (d53 = decorators[i54])
10000
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
9999
+ if (d54 = decorators[i54])
10000
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
10001
10001
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
10002
10002
  };
10003
10003
  var UITextArea_1;
@@ -10038,13 +10038,13 @@ UITextArea = UITextArea_1 = __decorate13([
10038
10038
  init_decorators();
10039
10039
  init_dom();
10040
10040
  var __decorate14 = function(decorators, target, key3, desc) {
10041
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
10041
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
10042
10042
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
10043
10043
  r59 = Reflect.decorate(decorators, target, key3, desc);
10044
10044
  else
10045
10045
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
10046
- if (d53 = decorators[i54])
10047
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
10046
+ if (d54 = decorators[i54])
10047
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
10048
10048
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
10049
10049
  };
10050
10050
  var UICheckbox_1;
@@ -10108,13 +10108,13 @@ UICheckbox = UICheckbox_1 = __decorate14([
10108
10108
  // node_modules/jodit/esm/core/ui/form/inputs/file/file.js
10109
10109
  init_component();
10110
10110
  var __decorate15 = function(decorators, target, key3, desc) {
10111
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
10111
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
10112
10112
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
10113
10113
  r59 = Reflect.decorate(decorators, target, key3, desc);
10114
10114
  else
10115
10115
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
10116
- if (d53 = decorators[i54])
10117
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
10116
+ if (d54 = decorators[i54])
10117
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
10118
10118
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
10119
10119
  };
10120
10120
  var UIFileInput = class UIFileInput2 extends UIInput {
@@ -10172,13 +10172,13 @@ init_split_array();
10172
10172
  // node_modules/jodit/esm/core/ui/group/separator.js
10173
10173
  init_component();
10174
10174
  var __decorate16 = function(decorators, target, key3, desc) {
10175
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
10175
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
10176
10176
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
10177
10177
  r59 = Reflect.decorate(decorators, target, key3, desc);
10178
10178
  else
10179
10179
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
10180
- if (d53 = decorators[i54])
10181
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
10180
+ if (d54 = decorators[i54])
10181
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
10182
10182
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
10183
10183
  };
10184
10184
  var UISeparator = class UISeparator2 extends UIElement {
@@ -10193,13 +10193,13 @@ UISeparator = __decorate16([
10193
10193
  // node_modules/jodit/esm/core/ui/group/spacer.js
10194
10194
  init_component();
10195
10195
  var __decorate17 = function(decorators, target, key3, desc) {
10196
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
10196
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
10197
10197
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
10198
10198
  r59 = Reflect.decorate(decorators, target, key3, desc);
10199
10199
  else
10200
10200
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
10201
- if (d53 = decorators[i54])
10202
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
10201
+ if (d54 = decorators[i54])
10202
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
10203
10203
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
10204
10204
  };
10205
10205
  var UISpacer = class UISpacer2 extends UIElement {
@@ -10283,13 +10283,13 @@ function getStrongControlTypes(items, controls) {
10283
10283
 
10284
10284
  // node_modules/jodit/esm/core/ui/group/list.js
10285
10285
  var __decorate18 = function(decorators, target, key3, desc) {
10286
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
10286
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
10287
10287
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
10288
10288
  r59 = Reflect.decorate(decorators, target, key3, desc);
10289
10289
  else
10290
10290
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
10291
- if (d53 = decorators[i54])
10292
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
10291
+ if (d54 = decorators[i54])
10292
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
10293
10293
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
10294
10294
  };
10295
10295
  var UIList = class UIList2 extends UIGroup {
@@ -11080,13 +11080,13 @@ init_css();
11080
11080
  // node_modules/jodit/esm/modules/messages/message.js
11081
11081
  init_component();
11082
11082
  var __decorate19 = function(decorators, target, key3, desc) {
11083
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
11083
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
11084
11084
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
11085
11085
  r59 = Reflect.decorate(decorators, target, key3, desc);
11086
11086
  else
11087
11087
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
11088
- if (d53 = decorators[i54])
11089
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
11088
+ if (d54 = decorators[i54])
11089
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
11090
11090
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
11091
11091
  };
11092
11092
  var UIMessage = class UIMessage2 extends UIElement {
@@ -11106,13 +11106,13 @@ UIMessage = __decorate19([
11106
11106
 
11107
11107
  // node_modules/jodit/esm/modules/messages/messages.js
11108
11108
  var __decorate20 = function(decorators, target, key3, desc) {
11109
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
11109
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
11110
11110
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
11111
11111
  r59 = Reflect.decorate(decorators, target, key3, desc);
11112
11112
  else
11113
11113
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
11114
- if (d53 = decorators[i54])
11115
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
11114
+ if (d54 = decorators[i54])
11115
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
11116
11116
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
11117
11117
  };
11118
11118
  var UIMessages = class UIMessages2 extends UIGroup {
@@ -11221,13 +11221,13 @@ UIMessages = __decorate20([
11221
11221
 
11222
11222
  // node_modules/jodit/esm/core/view/view.js
11223
11223
  var __decorate21 = function(decorators, target, key3, desc) {
11224
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
11224
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
11225
11225
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
11226
11226
  r59 = Reflect.decorate(decorators, target, key3, desc);
11227
11227
  else
11228
11228
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
11229
- if (d53 = decorators[i54])
11230
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
11229
+ if (d54 = decorators[i54])
11230
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
11231
11231
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
11232
11232
  };
11233
11233
  var View_1;
@@ -11560,13 +11560,13 @@ function makeSelect(view, control, target = null) {
11560
11560
 
11561
11561
  // node_modules/jodit/esm/core/view/view-with-toolbar.js
11562
11562
  var __decorate22 = function(decorators, target, key3, desc) {
11563
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
11563
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
11564
11564
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
11565
11565
  r59 = Reflect.decorate(decorators, target, key3, desc);
11566
11566
  else
11567
11567
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
11568
- if (d53 = decorators[i54])
11569
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
11568
+ if (d54 = decorators[i54])
11569
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
11570
11570
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
11571
11571
  };
11572
11572
  var ViewWithToolbar = class extends View {
@@ -11689,13 +11689,13 @@ __decorate22([
11689
11689
  // node_modules/jodit/esm/modules/dialog/dialog.js
11690
11690
  init_config();
11691
11691
  var __decorate23 = function(decorators, target, key3, desc) {
11692
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
11692
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
11693
11693
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
11694
11694
  r59 = Reflect.decorate(decorators, target, key3, desc);
11695
11695
  else
11696
11696
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
11697
- if (d53 = decorators[i54])
11698
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
11697
+ if (d54 = decorators[i54])
11698
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
11699
11699
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
11700
11700
  };
11701
11701
  var Dialog_1;
@@ -12827,13 +12827,13 @@ var FileBrowserItem = class _FileBrowserItem {
12827
12827
 
12828
12828
  // node_modules/jodit/esm/modules/file-browser/data-provider.js
12829
12829
  var __decorate25 = function(decorators, target, key3, desc) {
12830
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
12830
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
12831
12831
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
12832
12832
  r59 = Reflect.decorate(decorators, target, key3, desc);
12833
12833
  else
12834
12834
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
12835
- if (d53 = decorators[i54])
12836
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
12835
+ if (d54 = decorators[i54])
12836
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
12837
12837
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
12838
12838
  };
12839
12839
  var DEFAULT_SOURCE_NAME = "default";
@@ -13384,13 +13384,13 @@ var form = (editor, o57) => {
13384
13384
 
13385
13385
  // node_modules/jodit/esm/modules/image-editor/image-editor.js
13386
13386
  var __decorate26 = function(decorators, target, key3, desc) {
13387
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
13387
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
13388
13388
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
13389
13389
  r59 = Reflect.decorate(decorators, target, key3, desc);
13390
13390
  else
13391
13391
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
13392
- if (d53 = decorators[i54])
13393
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
13392
+ if (d54 = decorators[i54])
13393
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
13394
13394
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
13395
13395
  };
13396
13396
  var ImageEditor_1;
@@ -14328,13 +14328,13 @@ var FileBrowserTree = class extends UIGroup {
14328
14328
 
14329
14329
  // node_modules/jodit/esm/modules/file-browser/file-browser.js
14330
14330
  var __decorate27 = function(decorators, target, key3, desc) {
14331
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
14331
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
14332
14332
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
14333
14333
  r59 = Reflect.decorate(decorators, target, key3, desc);
14334
14334
  else
14335
14335
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
14336
- if (d53 = decorators[i54])
14337
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
14336
+ if (d54 = decorators[i54])
14337
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
14338
14338
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
14339
14339
  };
14340
14340
  var FileBrowser = class FileBrowser2 extends ViewWithToolbar {
@@ -14929,13 +14929,13 @@ var Stack = class {
14929
14929
 
14930
14930
  // node_modules/jodit/esm/modules/history/history.js
14931
14931
  var __decorate29 = function(decorators, target, key3, desc) {
14932
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
14932
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
14933
14933
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
14934
14934
  r59 = Reflect.decorate(decorators, target, key3, desc);
14935
14935
  else
14936
14936
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
14937
- if (d53 = decorators[i54])
14938
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
14937
+ if (d54 = decorators[i54])
14938
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
14939
14939
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
14940
14940
  };
14941
14941
  Config.prototype.history = {
@@ -15080,13 +15080,13 @@ init_component3();
15080
15080
  init_decorators();
15081
15081
  init_dom();
15082
15082
  var __decorate30 = function(decorators, target, key3, desc) {
15083
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
15083
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
15084
15084
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
15085
15085
  r59 = Reflect.decorate(decorators, target, key3, desc);
15086
15086
  else
15087
15087
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
15088
- if (d53 = decorators[i54])
15089
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
15088
+ if (d54 = decorators[i54])
15089
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
15090
15090
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
15091
15091
  };
15092
15092
  var StatusBar = class StatusBar2 extends ViewComponent {
@@ -15173,13 +15173,13 @@ init_dom2();
15173
15173
  init_global2();
15174
15174
  init_helpers();
15175
15175
  var __decorate31 = function(decorators, target, key3, desc) {
15176
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
15176
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
15177
15177
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
15178
15178
  r59 = Reflect.decorate(decorators, target, key3, desc);
15179
15179
  else
15180
15180
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
15181
- if (d53 = decorators[i54])
15182
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
15181
+ if (d54 = decorators[i54])
15182
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
15183
15183
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
15184
15184
  };
15185
15185
  var markedValue = /* @__PURE__ */ new WeakMap();
@@ -15840,13 +15840,13 @@ init_assert();
15840
15840
  init_attr();
15841
15841
  init_utils();
15842
15842
  var __decorate32 = function(decorators, target, key3, desc) {
15843
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
15843
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
15844
15844
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
15845
15845
  r59 = Reflect.decorate(decorators, target, key3, desc);
15846
15846
  else
15847
15847
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
15848
- if (d53 = decorators[i54])
15849
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
15848
+ if (d54 = decorators[i54])
15849
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
15850
15850
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
15851
15851
  };
15852
15852
  var ToolbarButton = class ToolbarButton2 extends UIButton {
@@ -16219,13 +16219,13 @@ init_decorators();
16219
16219
  init_dom2();
16220
16220
  init_helpers();
16221
16221
  var __decorate33 = function(decorators, target, key3, desc) {
16222
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
16222
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
16223
16223
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
16224
16224
  r59 = Reflect.decorate(decorators, target, key3, desc);
16225
16225
  else
16226
16226
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
16227
- if (d53 = decorators[i54])
16228
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
16227
+ if (d54 = decorators[i54])
16228
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
16229
16229
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
16230
16230
  };
16231
16231
  var ToolbarContent = class ToolbarContent2 extends UIButton {
@@ -16279,13 +16279,13 @@ init_decorators();
16279
16279
  init_is_plain_object();
16280
16280
  init_is_string();
16281
16281
  var __decorate34 = function(decorators, target, key3, desc) {
16282
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
16282
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
16283
16283
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
16284
16284
  r59 = Reflect.decorate(decorators, target, key3, desc);
16285
16285
  else
16286
16286
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
16287
- if (d53 = decorators[i54])
16288
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
16287
+ if (d54 = decorators[i54])
16288
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
16289
16289
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
16290
16290
  };
16291
16291
  var ToolbarSelect = class ToolbarSelect2 extends ToolbarButton {
@@ -16320,13 +16320,13 @@ init_hook();
16320
16320
  init_watch();
16321
16321
  init_error();
16322
16322
  var __decorate35 = function(decorators, target, key3, desc) {
16323
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
16323
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
16324
16324
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
16325
16325
  r59 = Reflect.decorate(decorators, target, key3, desc);
16326
16326
  else
16327
16327
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
16328
- if (d53 = decorators[i54])
16329
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
16328
+ if (d54 = decorators[i54])
16329
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
16330
16330
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
16331
16331
  };
16332
16332
  var ToolbarCollection = class ToolbarCollection2 extends UIList {
@@ -16438,13 +16438,13 @@ init_decorators();
16438
16438
  init_dom2();
16439
16439
  init_helpers();
16440
16440
  var __decorate36 = function(decorators, target, key3, desc) {
16441
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
16441
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
16442
16442
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
16443
16443
  r59 = Reflect.decorate(decorators, target, key3, desc);
16444
16444
  else
16445
16445
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
16446
- if (d53 = decorators[i54])
16447
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
16446
+ if (d54 = decorators[i54])
16447
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
16448
16448
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
16449
16449
  };
16450
16450
  var ToolbarEditorCollection = class ToolbarEditorCollection2 extends ToolbarCollection {
@@ -17979,13 +17979,13 @@ function findCorrectCurrentNode(node, range, rightMode, isCollapsed, checkChild,
17979
17979
 
17980
17980
  // node_modules/jodit/esm/core/selection/selection.js
17981
17981
  var __decorate37 = function(decorators, target, key3, desc) {
17982
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
17982
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
17983
17983
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
17984
17984
  r59 = Reflect.decorate(decorators, target, key3, desc);
17985
17985
  else
17986
17986
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
17987
- if (d53 = decorators[i54])
17988
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
17987
+ if (d54 = decorators[i54])
17988
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
17989
17989
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
17990
17990
  };
17991
17991
  var Selection = class {
@@ -19057,13 +19057,13 @@ Icon.set("enter", enter_svg_default);
19057
19057
 
19058
19058
  // node_modules/jodit/esm/plugins/add-new-line/add-new-line.js
19059
19059
  var __decorate38 = function(decorators, target, key3, desc) {
19060
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
19060
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
19061
19061
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
19062
19062
  r59 = Reflect.decorate(decorators, target, key3, desc);
19063
19063
  else
19064
19064
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
19065
- if (d53 = decorators[i54])
19066
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
19065
+ if (d54 = decorators[i54])
19066
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
19067
19067
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
19068
19068
  };
19069
19069
  var ns = "addnewline";
@@ -20543,13 +20543,13 @@ function visitNodeWalker(jodit, nodeElm, allowTags, denyTags, currentSelectionNo
20543
20543
 
20544
20544
  // node_modules/jodit/esm/plugins/clean-html/clean-html.js
20545
20545
  var __decorate39 = function(decorators, target, key3, desc) {
20546
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
20546
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
20547
20547
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
20548
20548
  r59 = Reflect.decorate(decorators, target, key3, desc);
20549
20549
  else
20550
20550
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
20551
- if (d53 = decorators[i54])
20552
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
20551
+ if (d54 = decorators[i54])
20552
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
20553
20553
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
20554
20554
  };
20555
20555
  var cleanHtml = class extends Plugin {
@@ -21443,13 +21443,13 @@ init_global2();
21443
21443
  init_helpers();
21444
21444
  init_plugin2();
21445
21445
  var __decorate40 = function(decorators, target, key3, desc) {
21446
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
21446
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
21447
21447
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
21448
21448
  r59 = Reflect.decorate(decorators, target, key3, desc);
21449
21449
  else
21450
21450
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
21451
- if (d53 = decorators[i54])
21452
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
21451
+ if (d54 = decorators[i54])
21452
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
21453
21453
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
21454
21454
  };
21455
21455
  var dragAndDrop = class extends Plugin {
@@ -21606,13 +21606,13 @@ Config.prototype.draggableTags = ["img", "jodit-media", "jodit"];
21606
21606
 
21607
21607
  // node_modules/jodit/esm/plugins/drag-and-drop-element/drag-and-drop-element.js
21608
21608
  var __decorate41 = function(decorators, target, key3, desc) {
21609
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
21609
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
21610
21610
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
21611
21611
  r59 = Reflect.decorate(decorators, target, key3, desc);
21612
21612
  else
21613
21613
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
21614
- if (d53 = decorators[i54])
21615
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
21614
+ if (d54 = decorators[i54])
21615
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
21616
21616
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
21617
21617
  };
21618
21618
  var DragState;
@@ -22014,13 +22014,13 @@ function wrapText(fake, jodit) {
22014
22014
 
22015
22015
  // node_modules/jodit/esm/plugins/enter/enter.js
22016
22016
  var __decorate42 = function(decorators, target, key3, desc) {
22017
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
22017
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
22018
22018
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
22019
22019
  r59 = Reflect.decorate(decorators, target, key3, desc);
22020
22020
  else
22021
22021
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
22022
- if (d53 = decorators[i54])
22023
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
22022
+ if (d54 = decorators[i54])
22023
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
22024
22024
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
22025
22025
  };
22026
22026
  var enter = class extends Plugin {
@@ -22949,13 +22949,13 @@ Config.prototype.imageProcessor = {
22949
22949
 
22950
22950
  // node_modules/jodit/esm/plugins/image-processor/image-processor.js
22951
22951
  var __decorate43 = function(decorators, target, key3, desc) {
22952
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
22952
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
22953
22953
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
22954
22954
  r59 = Reflect.decorate(decorators, target, key3, desc);
22955
22955
  else
22956
22956
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
22957
- if (d53 = decorators[i54])
22958
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
22957
+ if (d54 = decorators[i54])
22958
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
22959
22959
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
22960
22960
  };
22961
22961
  var JODIT_IMAGE_PROCESSOR_BINDED = "__jodit_imageprocessor_binded";
@@ -23098,13 +23098,13 @@ init_hook();
23098
23098
  init_watch();
23099
23099
  init_helpers();
23100
23100
  var __decorate44 = function(decorators, target, key3, desc) {
23101
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
23101
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
23102
23102
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
23103
23103
  r59 = Reflect.decorate(decorators, target, key3, desc);
23104
23104
  else
23105
23105
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
23106
- if (d53 = decorators[i54])
23107
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
23106
+ if (d54 = decorators[i54])
23107
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
23108
23108
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
23109
23109
  };
23110
23110
  var UIImageMainTab = class UIImageMainTab2 extends UIGroup {
@@ -23290,13 +23290,13 @@ var normalSizeToString = (value) => {
23290
23290
 
23291
23291
  // node_modules/jodit/esm/plugins/image-properties/ui/ui-image-position-tab.js
23292
23292
  var __decorate45 = function(decorators, target, key3, desc) {
23293
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
23293
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
23294
23294
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
23295
23295
  r59 = Reflect.decorate(decorators, target, key3, desc);
23296
23296
  else
23297
23297
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
23298
- if (d53 = decorators[i54])
23299
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
23298
+ if (d54 = decorators[i54])
23299
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
23300
23300
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
23301
23301
  };
23302
23302
  var UIImagePositionTab = class UIImagePositionTab2 extends UIElement {
@@ -23534,13 +23534,13 @@ UIImagePositionTab = __decorate45([
23534
23534
 
23535
23535
  // node_modules/jodit/esm/plugins/image-properties/ui/ui-image-form.js
23536
23536
  var __decorate46 = function(decorators, target, key3, desc) {
23537
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
23537
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
23538
23538
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
23539
23539
  r59 = Reflect.decorate(decorators, target, key3, desc);
23540
23540
  else
23541
23541
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
23542
- if (d53 = decorators[i54])
23543
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
23542
+ if (d54 = decorators[i54])
23543
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
23544
23544
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
23545
23545
  };
23546
23546
  var UIImagePropertiesForm = class UIImagePropertiesForm2 extends UIGroup {
@@ -23962,13 +23962,13 @@ function applyValuesToImage(j10, state, image2) {
23962
23962
 
23963
23963
  // node_modules/jodit/esm/plugins/image-properties/image-properties.js
23964
23964
  var __decorate47 = function(decorators, target, key3, desc) {
23965
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
23965
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
23966
23966
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
23967
23967
  r59 = Reflect.decorate(decorators, target, key3, desc);
23968
23968
  else
23969
23969
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
23970
- if (d53 = decorators[i54])
23971
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
23970
+ if (d54 = decorators[i54])
23971
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
23972
23972
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
23973
23973
  };
23974
23974
  var imageProperties = class extends Plugin {
@@ -24583,13 +24583,13 @@ Config.prototype.popup = {
24583
24583
 
24584
24584
  // node_modules/jodit/esm/plugins/inline-popup/inline-popup.js
24585
24585
  var __decorate48 = function(decorators, target, key3, desc) {
24586
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
24586
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
24587
24587
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
24588
24588
  r59 = Reflect.decorate(decorators, target, key3, desc);
24589
24589
  else
24590
24590
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
24591
- if (d53 = decorators[i54])
24592
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
24591
+ if (d54 = decorators[i54])
24592
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
24593
24593
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
24594
24594
  };
24595
24595
  var inlinePopup = class extends Plugin {
@@ -24955,13 +24955,13 @@ init_dom();
24955
24955
  init_global2();
24956
24956
  init_plugin2();
24957
24957
  var __decorate49 = function(decorators, target, key3, desc) {
24958
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
24958
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
24959
24959
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
24960
24960
  r59 = Reflect.decorate(decorators, target, key3, desc);
24961
24961
  else
24962
24962
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
24963
- if (d53 = decorators[i54])
24964
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
24963
+ if (d54 = decorators[i54])
24964
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
24965
24965
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
24966
24966
  };
24967
24967
  var keyArrowOutside = class extends Plugin {
@@ -25005,13 +25005,13 @@ Config.prototype.limitHTML = false;
25005
25005
 
25006
25006
  // node_modules/jodit/esm/plugins/limit/limit.js
25007
25007
  var __decorate50 = function(decorators, target, key3, desc) {
25008
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
25008
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
25009
25009
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
25010
25010
  r59 = Reflect.decorate(decorators, target, key3, desc);
25011
25011
  else
25012
25012
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
25013
- if (d53 = decorators[i54])
25014
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
25013
+ if (d54 = decorators[i54])
25014
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
25015
25015
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
25016
25016
  };
25017
25017
  var limit = class extends Plugin {
@@ -25347,13 +25347,13 @@ var zh_tw_default2 = {
25347
25347
 
25348
25348
  // node_modules/jodit/esm/plugins/line-height/line-height.js
25349
25349
  var __decorate51 = function(decorators, target, key3, desc) {
25350
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
25350
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
25351
25351
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
25352
25352
  r59 = Reflect.decorate(decorators, target, key3, desc);
25353
25353
  else
25354
25354
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
25355
- if (d53 = decorators[i54])
25356
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
25355
+ if (d54 = decorators[i54])
25356
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
25357
25357
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
25358
25358
  };
25359
25359
  var lineHeight = class extends Plugin {
@@ -25556,13 +25556,13 @@ Config.prototype.controls.link = {
25556
25556
 
25557
25557
  // node_modules/jodit/esm/plugins/link/link.js
25558
25558
  var __decorate52 = function(decorators, target, key3, desc) {
25559
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
25559
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
25560
25560
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
25561
25561
  r59 = Reflect.decorate(decorators, target, key3, desc);
25562
25562
  else
25563
25563
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
25564
- if (d53 = decorators[i54])
25565
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
25564
+ if (d54 = decorators[i54])
25565
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
25566
25566
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
25567
25567
  };
25568
25568
  var link = class extends Plugin {
@@ -26211,13 +26211,13 @@ Config.prototype.controls.ol = {
26211
26211
 
26212
26212
  // node_modules/jodit/esm/plugins/ordered-list/ordered-list.js
26213
26213
  var __decorate53 = function(decorators, target, key3, desc) {
26214
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
26214
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
26215
26215
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
26216
26216
  r59 = Reflect.decorate(decorators, target, key3, desc);
26217
26217
  else
26218
26218
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
26219
- if (d53 = decorators[i54])
26220
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
26219
+ if (d54 = decorators[i54])
26220
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
26221
26221
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
26222
26222
  };
26223
26223
  var orderedList = class extends Plugin {
@@ -26426,13 +26426,13 @@ Config.prototype.controls.paste = {
26426
26426
 
26427
26427
  // node_modules/jodit/esm/plugins/paste/paste.js
26428
26428
  var __decorate54 = function(decorators, target, key3, desc) {
26429
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
26429
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
26430
26430
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
26431
26431
  r59 = Reflect.decorate(decorators, target, key3, desc);
26432
26432
  else
26433
26433
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
26434
- if (d53 = decorators[i54])
26435
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
26434
+ if (d54 = decorators[i54])
26435
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
26436
26436
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
26437
26437
  };
26438
26438
  var paste = class extends Plugin {
@@ -26602,13 +26602,13 @@ Config.prototype.pasteFromWordActionList = [
26602
26602
 
26603
26603
  // node_modules/jodit/esm/plugins/paste-from-word/paste-from-word.js
26604
26604
  var __decorate55 = function(decorators, target, key3, desc) {
26605
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
26605
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
26606
26606
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
26607
26607
  r59 = Reflect.decorate(decorators, target, key3, desc);
26608
26608
  else
26609
26609
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
26610
- if (d53 = decorators[i54])
26611
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
26610
+ if (d54 = decorators[i54])
26611
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
26612
26612
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
26613
26613
  };
26614
26614
  var pasteFromWord = class extends Plugin {
@@ -26835,13 +26835,13 @@ Config.prototype.useInputsPlaceholder = true;
26835
26835
 
26836
26836
  // node_modules/jodit/esm/plugins/placeholder/placeholder.js
26837
26837
  var __decorate56 = function(decorators, target, key3, desc) {
26838
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
26838
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
26839
26839
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
26840
26840
  r59 = Reflect.decorate(decorators, target, key3, desc);
26841
26841
  else
26842
26842
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
26843
- if (d53 = decorators[i54])
26844
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
26843
+ if (d54 = decorators[i54])
26844
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
26845
26845
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
26846
26846
  };
26847
26847
  function isEditorEmpty(root) {
@@ -27024,7 +27024,7 @@ function generateCriticalCSS(jodit) {
27024
27024
  });
27025
27025
  };
27026
27026
  class CSSCriticalPath {
27027
- constructor(w9, d53, opts) {
27027
+ constructor(w9, d54, opts) {
27028
27028
  this.css = {};
27029
27029
  const opt = opts || {};
27030
27030
  const pushCSS = (r59) => {
@@ -27048,7 +27048,7 @@ function generateCriticalCSS(jodit) {
27048
27048
  };
27049
27049
  const parseTree = () => {
27050
27050
  const height = w9.innerHeight;
27051
- const walker = d53.createTreeWalker(jodit.editor, NodeFilter.SHOW_ELEMENT, () => NodeFilter.FILTER_ACCEPT);
27051
+ const walker = d54.createTreeWalker(jodit.editor, NodeFilter.SHOW_ELEMENT, () => NodeFilter.FILTER_ACCEPT);
27052
27052
  while (walker.nextNode()) {
27053
27053
  const node = walker.currentNode;
27054
27054
  const rect = node.getBoundingClientRect();
@@ -27212,13 +27212,13 @@ Config.prototype.tableAllowCellResize = true;
27212
27212
 
27213
27213
  // node_modules/jodit/esm/plugins/resize-cells/resize-cells.js
27214
27214
  var __decorate57 = function(decorators, target, key3, desc) {
27215
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
27215
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
27216
27216
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
27217
27217
  r59 = Reflect.decorate(decorators, target, key3, desc);
27218
27218
  else
27219
27219
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
27220
- if (d53 = decorators[i54])
27221
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
27220
+ if (d54 = decorators[i54])
27221
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
27222
27222
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
27223
27223
  };
27224
27224
  var key = "table_processor_observer-resize";
@@ -27492,13 +27492,13 @@ Config.prototype.allowResizeY = true;
27492
27492
 
27493
27493
  // node_modules/jodit/esm/plugins/resize-handler/resize-handler.js
27494
27494
  var __decorate58 = function(decorators, target, key3, desc) {
27495
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
27495
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
27496
27496
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
27497
27497
  r59 = Reflect.decorate(decorators, target, key3, desc);
27498
27498
  else
27499
27499
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
27500
- if (d53 = decorators[i54])
27501
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
27500
+ if (d54 = decorators[i54])
27501
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
27502
27502
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
27503
27503
  };
27504
27504
  var resizeHandler = class extends Plugin {
@@ -27614,13 +27614,13 @@ Config.prototype.resizer = {
27614
27614
 
27615
27615
  // node_modules/jodit/esm/plugins/resizer/resizer.js
27616
27616
  var __decorate59 = function(decorators, target, key3, desc) {
27617
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
27617
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
27618
27618
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
27619
27619
  r59 = Reflect.decorate(decorators, target, key3, desc);
27620
27620
  else
27621
27621
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
27622
- if (d53 = decorators[i54])
27623
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
27622
+ if (d54 = decorators[i54])
27623
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
27624
27624
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
27625
27625
  };
27626
27626
  var keyBInd = "__jodit-resizer_binded";
@@ -28263,13 +28263,13 @@ init_decorators();
28263
28263
  init_dom2();
28264
28264
  init_helpers();
28265
28265
  var __decorate60 = function(decorators, target, key3, desc) {
28266
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
28266
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
28267
28267
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
28268
28268
  r59 = Reflect.decorate(decorators, target, key3, desc);
28269
28269
  else
28270
28270
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
28271
- if (d53 = decorators[i54])
28272
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
28271
+ if (d54 = decorators[i54])
28272
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
28273
28273
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
28274
28274
  };
28275
28275
  var UISearch = class UISearch2 extends UIElement {
@@ -28459,13 +28459,13 @@ UISearch = __decorate60([
28459
28459
 
28460
28460
  // node_modules/jodit/esm/plugins/search/search.js
28461
28461
  var __decorate61 = function(decorators, target, key3, desc) {
28462
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
28462
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
28463
28463
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
28464
28464
  r59 = Reflect.decorate(decorators, target, key3, desc);
28465
28465
  else
28466
28466
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
28467
- if (d53 = decorators[i54])
28468
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
28467
+ if (d54 = decorators[i54])
28468
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
28469
28469
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
28470
28470
  };
28471
28471
  var search = class extends Plugin {
@@ -28782,13 +28782,13 @@ Config.prototype.select = {
28782
28782
 
28783
28783
  // node_modules/jodit/esm/plugins/select/select.js
28784
28784
  var __decorate62 = function(decorators, target, key3, desc) {
28785
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
28785
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
28786
28786
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
28787
28787
  r59 = Reflect.decorate(decorators, target, key3, desc);
28788
28788
  else
28789
28789
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
28790
- if (d53 = decorators[i54])
28791
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
28790
+ if (d54 = decorators[i54])
28791
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
28792
28792
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
28793
28793
  };
28794
28794
  var select = class extends Plugin {
@@ -28967,13 +28967,13 @@ Config.prototype.tableAllowCellSelection = true;
28967
28967
 
28968
28968
  // node_modules/jodit/esm/plugins/select-cells/select-cells.js
28969
28969
  var __decorate63 = function(decorators, target, key3, desc) {
28970
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
28970
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
28971
28971
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
28972
28972
  r59 = Reflect.decorate(decorators, target, key3, desc);
28973
28973
  else
28974
28974
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
28975
- if (d53 = decorators[i54])
28976
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
28975
+ if (d54 = decorators[i54])
28976
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
28977
28977
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
28978
28978
  };
28979
28979
  var key2 = "table_processor_observer";
@@ -29326,13 +29326,13 @@ Config.prototype.saveHeightInStorage = false;
29326
29326
 
29327
29327
  // node_modules/jodit/esm/plugins/size/size.js
29328
29328
  var __decorate64 = function(decorators, target, key3, desc) {
29329
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
29329
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
29330
29330
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29331
29331
  r59 = Reflect.decorate(decorators, target, key3, desc);
29332
29332
  else
29333
29333
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
29334
- if (d53 = decorators[i54])
29335
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
29334
+ if (d54 = decorators[i54])
29335
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
29336
29336
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
29337
29337
  };
29338
29338
  var size2 = class extends Plugin {
@@ -29893,13 +29893,13 @@ function createSourceEditor(type, editor, container, toWYSIWYG, fromWYSIWYG) {
29893
29893
 
29894
29894
  // node_modules/jodit/esm/plugins/source/source.js
29895
29895
  var __decorate65 = function(decorators, target, key3, desc) {
29896
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
29896
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
29897
29897
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29898
29898
  r59 = Reflect.decorate(decorators, target, key3, desc);
29899
29899
  else
29900
29900
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
29901
- if (d53 = decorators[i54])
29902
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
29901
+ if (d54 = decorators[i54])
29902
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
29903
29903
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
29904
29904
  };
29905
29905
  var source = class extends Plugin {
@@ -29964,9 +29964,9 @@ var source = class extends Plugin {
29964
29964
  this.__oldMirrorValue = value;
29965
29965
  }
29966
29966
  getNormalPosition(pos, str) {
29967
- str = str.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im, (m54) => {
29967
+ str = str.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im, (m53) => {
29968
29968
  let res = "";
29969
- for (let i54 = 0; i54 < m54.length; i54 += 1) {
29969
+ for (let i54 = 0; i54 < m53.length; i54 += 1) {
29970
29970
  res += INVISIBLE_SPACE;
29971
29971
  }
29972
29972
  return res;
@@ -30446,13 +30446,13 @@ var zh_tw_default3 = {
30446
30446
 
30447
30447
  // node_modules/jodit/esm/plugins/spellcheck/spellcheck.js
30448
30448
  var __decorate66 = function(decorators, target, key3, desc) {
30449
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
30449
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
30450
30450
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
30451
30451
  r59 = Reflect.decorate(decorators, target, key3, desc);
30452
30452
  else
30453
30453
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
30454
- if (d53 = decorators[i54])
30455
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
30454
+ if (d54 = decorators[i54])
30455
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
30456
30456
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
30457
30457
  };
30458
30458
  var spellcheck = class extends Plugin {
@@ -30569,13 +30569,13 @@ Config.prototype.toolbarStickyOffset = 0;
30569
30569
 
30570
30570
  // node_modules/jodit/esm/plugins/sticky/sticky.js
30571
30571
  var __decorate67 = function(decorators, target, key3, desc) {
30572
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
30572
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
30573
30573
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
30574
30574
  r59 = Reflect.decorate(decorators, target, key3, desc);
30575
30575
  else
30576
30576
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
30577
- if (d53 = decorators[i54])
30578
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
30577
+ if (d54 = decorators[i54])
30578
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
30579
30579
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
30580
30580
  };
30581
30581
  var NEED_DUMMY_BOX = !IS_ES_NEXT && IS_IE;
@@ -31339,13 +31339,13 @@ init_watch();
31339
31339
  init_dom();
31340
31340
  init_is_string();
31341
31341
  var __decorate68 = function(decorators, target, key3, desc) {
31342
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
31342
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
31343
31343
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
31344
31344
  r59 = Reflect.decorate(decorators, target, key3, desc);
31345
31345
  else
31346
31346
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
31347
- if (d53 = decorators[i54])
31348
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
31347
+ if (d54 = decorators[i54])
31348
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
31349
31349
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
31350
31350
  };
31351
31351
  var UiAiAssistant = class UiAiAssistant2 extends UIElement {
@@ -31545,13 +31545,13 @@ var es_default5 = {
31545
31545
 
31546
31546
  // node_modules/jodit/esm/plugins/ai-assistant/ai-assistant.js
31547
31547
  var __decorate69 = function(decorators, target, key3, desc) {
31548
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
31548
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
31549
31549
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
31550
31550
  r59 = Reflect.decorate(decorators, target, key3, desc);
31551
31551
  else
31552
31552
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
31553
- if (d53 = decorators[i54])
31554
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
31553
+ if (d54 = decorators[i54])
31554
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
31555
31555
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
31556
31556
  };
31557
31557
  var aiAssistant = class extends Plugin {
@@ -32213,13 +32213,13 @@ function closeSound(owner) {
32213
32213
 
32214
32214
  // node_modules/jodit/esm/plugins/speech-recognize/helpers/recognize-manager.js
32215
32215
  var __decorate70 = function(decorators, target, key3, desc) {
32216
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
32216
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
32217
32217
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
32218
32218
  r59 = Reflect.decorate(decorators, target, key3, desc);
32219
32219
  else
32220
32220
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
32221
- if (d53 = decorators[i54])
32222
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
32221
+ if (d54 = decorators[i54])
32222
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
32223
32223
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
32224
32224
  };
32225
32225
  var RecognizeManager = class _RecognizeManager extends Eventify {
@@ -32487,13 +32487,13 @@ init_global2();
32487
32487
  init_helpers();
32488
32488
  init_config();
32489
32489
  var __decorate71 = function(decorators, target, key3, desc) {
32490
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
32490
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
32491
32491
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
32492
32492
  r59 = Reflect.decorate(decorators, target, key3, desc);
32493
32493
  else
32494
32494
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
32495
- if (d53 = decorators[i54])
32496
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
32495
+ if (d54 = decorators[i54])
32496
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
32497
32497
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
32498
32498
  };
32499
32499
  var Jodit_1;
@@ -34040,13 +34040,13 @@ var zh_tw_default5 = {
34040
34040
 
34041
34041
  // node_modules/jodit/esm/plugins/speech-recognize/speech-recognize.js
34042
34042
  var __decorate72 = function(decorators, target, key3, desc) {
34043
- var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d53;
34043
+ var c74 = arguments.length, r59 = c74 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d54;
34044
34044
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
34045
34045
  r59 = Reflect.decorate(decorators, target, key3, desc);
34046
34046
  else
34047
34047
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
34048
- if (d53 = decorators[i54])
34049
- r59 = (c74 < 3 ? d53(r59) : c74 > 3 ? d53(target, key3, r59) : d53(target, key3)) || r59;
34048
+ if (d54 = decorators[i54])
34049
+ r59 = (c74 < 3 ? d54(r59) : c74 > 3 ? d54(target, key3, r59) : d54(target, key3)) || r59;
34050
34050
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
34051
34051
  };
34052
34052
  var SpeechRecognizeNative = class extends Plugin {
@@ -34350,8 +34350,8 @@ var h = class h2 {
34350
34350
  if (this._data[e42]) {
34351
34351
  const o57 = r59.indexOf(e42), u58 = p(this._data[e42]);
34352
34352
  ["top", "right", "bottom", "left"].forEach((f50, g24) => {
34353
- const p63 = `${e42}-${f50}`, d53 = this._data[p63];
34354
- d53 != null && (r59.indexOf(p63) < o57 || n57(u58[g24]) === n57(d53)) && r59.indexOf(p63) !== -1 && r59.splice(r59.indexOf(p63), 1);
34353
+ const p63 = `${e42}-${f50}`, d54 = this._data[p63];
34354
+ d54 != null && (r59.indexOf(p63) < o57 || n57(u58[g24]) === n57(d54)) && r59.indexOf(p63) !== -1 && r59.splice(r59.indexOf(p63), 1);
34355
34355
  });
34356
34356
  }
34357
34357
  }), r59.length ? r59.map((e42) => `${kebabCase(e42)}:${this.get(e42)}`).join(";") : "";
@@ -34488,10 +34488,10 @@ function E2(n57) {
34488
34488
  }
34489
34489
  e42 = e42.next;
34490
34490
  }
34491
- const d53 = Math.min(...i54.filter((t48) => t48 > 0));
34491
+ const d54 = Math.min(...i54.filter((t48) => t48 > 0));
34492
34492
  let s50 = i54.map((t48) => Math.ceil(t48 / 10));
34493
34493
  s50.indexOf(0) !== -1 && (s50 = s50.map((t48) => t48 + 1)), l57.forEach((t48, o57) => {
34494
- t48.attributes[t] = s50[o57], t48.style.add("margin-left", `${Math.max(d(t48) - s50[o57] * 10 / d53 * 40, 0)}px`);
34494
+ t48.attributes[t] = s50[o57], t48.style.add("margin-left", `${Math.max(d(t48) - s50[o57] * 10 / d54 * 40, 0)}px`);
34495
34495
  });
34496
34496
  }
34497
34497
  r4(E2, "calcListLevels");
@@ -34507,8 +34507,8 @@ function B(t48) {
34507
34507
  t48.attributes[e2] = o57, t48.attributes[l] = r59, E2(t48), T(t48);
34508
34508
  const { parent: a77 } = t48;
34509
34509
  if (!b2(a77) || !L(t48, a77)) {
34510
- const d53 = K(t48, o57, i54, r59);
34511
- return b2(a77) && (d53.remove(), (e42 = a77.lastElement) === null || e42 === void 0 || e42.append(d53)), t48;
34510
+ const d54 = K(t48, o57, i54, r59);
34511
+ return b2(a77) && (d54.remove(), (e42 = a77.lastElement) === null || e42 === void 0 || e42.append(d54)), t48;
34512
34512
  }
34513
34513
  }
34514
34514
  return t48;
@@ -34692,11 +34692,11 @@ init_selector();
34692
34692
  var $2 = Object.defineProperty;
34693
34693
  var a10 = (y9, n57) => $2(y9, "name", { value: n57, configurable: true });
34694
34694
  function w(y9, n57, u58, p63 = "") {
34695
- var d53, f50;
34695
+ var d54, f50;
34696
34696
  const s50 = document.createElement("iframe");
34697
34697
  s50.style.display = "none", document.body.appendChild(s50);
34698
34698
  try {
34699
- const t48 = (d53 = s50.contentDocument) !== null && d53 !== void 0 ? d53 : (f50 = s50.contentWindow) === null || f50 === void 0 ? void 0 : f50.document;
34699
+ const t48 = (d54 = s50.contentDocument) !== null && d54 !== void 0 ? d54 : (f50 = s50.contentWindow) === null || f50 === void 0 ? void 0 : f50.document;
34700
34700
  if (!t48) return n57;
34701
34701
  t48.open(), t48.write(n57), t48.close();
34702
34702
  const i54 = "jd-style";
@@ -39728,8 +39728,8 @@ var s11 = class s12 extends pasteFromWord {
39728
39728
  var e42;
39729
39729
  if (this.j.o.pasteFromWord.enable && (i54 === INSERT_AS_HTML || i54 === INSERT_AS_TEXT)) {
39730
39730
  if (r59 = w(this.j, r59, i54 === INSERT_AS_TEXT, p63.rtf), this.j.o.beautifyHTML) {
39731
- const m54 = (e42 = this.j.events) === null || e42 === void 0 ? void 0 : e42.fire("beautifyHTML", r59);
39732
- isString(m54) && (r59 = m54);
39731
+ const m53 = (e42 = this.j.events) === null || e42 === void 0 ? void 0 : e42.fire("beautifyHTML", r59);
39732
+ isString(m53) && (r59 = m53);
39733
39733
  }
39734
39734
  pasteInsertHtml(o57, this.j, r59);
39735
39735
  return;
@@ -39837,8 +39837,8 @@ Config.prototype.autocomplete = { displayMode: "list", sources: [], maxItems: 50
39837
39837
  var U = Object.defineProperty;
39838
39838
  var v4 = (C14, e42) => U(C14, "name", { value: e42, configurable: true });
39839
39839
  var u5 = class u6 {
39840
- static reconcile(e42, i54, d53) {
39841
- const { getId: o57, isEqual: t48 = v4((n57, s50) => o57(n57) === o57(s50), "isEqual"), preserveOrder: p63 = true } = d53, a77 = /* @__PURE__ */ new Map(), h60 = /* @__PURE__ */ new Map();
39840
+ static reconcile(e42, i54, d54) {
39841
+ const { getId: o57, isEqual: t48 = v4((n57, s50) => o57(n57) === o57(s50), "isEqual"), preserveOrder: p63 = true } = d54, a77 = /* @__PURE__ */ new Map(), h60 = /* @__PURE__ */ new Map();
39842
39842
  e42.forEach((n57, s50) => {
39843
39843
  const c74 = o57(n57);
39844
39844
  a77.set(c74, n57), h60.set(c74, s50);
@@ -39857,18 +39857,18 @@ var u5 = class u6 {
39857
39857
  r59.has(s50) || g24.push(n57);
39858
39858
  }), { toCreate: E4, toUpdate: l57, toRemove: g24, unchanged: M4 };
39859
39859
  }
39860
- static applyResult(e42, i54, d53 = {}) {
39860
+ static applyResult(e42, i54, d54 = {}) {
39861
39861
  i54.toRemove.forEach((o57) => {
39862
39862
  var t48;
39863
39863
  const p63 = e42.indexOf(o57);
39864
- p63 !== -1 && ((t48 = d53.onRemove) === null || t48 === void 0 || t48.call(d53, o57, p63), e42.splice(p63, 1));
39864
+ p63 !== -1 && ((t48 = d54.onRemove) === null || t48 === void 0 || t48.call(d54, o57, p63), e42.splice(p63, 1));
39865
39865
  }), i54.toUpdate.forEach(({ oldItem: o57, newItem: t48, index: p63 }) => {
39866
39866
  var a77;
39867
39867
  const h60 = e42.indexOf(o57);
39868
- h60 !== -1 && ((a77 = d53.onUpdate) === null || a77 === void 0 || a77.call(d53, o57, t48, p63), e42[h60] = t48);
39868
+ h60 !== -1 && ((a77 = d54.onUpdate) === null || a77 === void 0 || a77.call(d54, o57, t48, p63), e42[h60] = t48);
39869
39869
  }), i54.toCreate.forEach((o57) => {
39870
39870
  var t48;
39871
- (t48 = d53.onCreate) === null || t48 === void 0 || t48.call(d53, o57, e42.length), e42.push(o57);
39871
+ (t48 = d54.onCreate) === null || t48 === void 0 || t48.call(d54, o57, e42.length), e42.push(o57);
39872
39872
  });
39873
39873
  }
39874
39874
  };
@@ -39943,7 +39943,7 @@ var u7;
39943
39943
  var S2 = function(a77, e42, i54, h60) {
39944
39944
  var n57 = arguments.length, s50 = n57 < 3 ? e42 : h60 === null ? h60 = Object.getOwnPropertyDescriptor(e42, i54) : h60, o57;
39945
39945
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(a77, e42, i54, h60);
39946
- else for (var d53 = a77.length - 1; d53 >= 0; d53--) (o57 = a77[d53]) && (s50 = (n57 < 3 ? o57(s50) : n57 > 3 ? o57(e42, i54, s50) : o57(e42, i54)) || s50);
39946
+ else for (var d54 = a77.length - 1; d54 >= 0; d54--) (o57 = a77[d54]) && (s50 = (n57 < 3 ? o57(s50) : n57 > 3 ? o57(e42, i54, s50) : o57(e42, i54)) || s50);
39947
39947
  return n57 > 3 && s50 && Object.defineProperty(e42, i54, s50), s50;
39948
39948
  };
39949
39949
  var f3 = (u7 = class extends UIGroup {
@@ -39976,8 +39976,8 @@ var f3 = (u7 = class extends UIGroup {
39976
39976
  const r59 = n57(t48);
39977
39977
  if (o57.has(r59)) return;
39978
39978
  o57.add(r59);
39979
- const c74 = new s15(this.jodit, t48, (m54) => {
39980
- this.currentSelection = e42.findIndex((v22) => n57(v22) === m54), this.select();
39979
+ const c74 = new s15(this.jodit, t48, (m53) => {
39980
+ this.currentSelection = e42.findIndex((v22) => n57(v22) === m53), this.select();
39981
39981
  });
39982
39982
  this.itemsMap.set(r59, c74);
39983
39983
  const l57 = e42.indexOf(t48);
@@ -39989,8 +39989,8 @@ var f3 = (u7 = class extends UIGroup {
39989
39989
  const l57 = this.itemsMap.get(c74);
39990
39990
  l57 && (l57.item = t48, this.elements.indexOf(l57) !== r59 && r59 < this.elements.length && (this.remove(l57), this.append(l57, r59)));
39991
39991
  });
39992
- const d53 = this.currentSelection;
39993
- this.currentSelection = Math.max(0, e42.findIndex((t48) => n57(t48) === h60)), d53 === this.currentSelection && this.onChangeSelection(), this.__previousList = [...e42];
39992
+ const d54 = this.currentSelection;
39993
+ this.currentSelection = Math.max(0, e42.findIndex((t48) => n57(t48) === h60)), d54 === this.currentSelection && this.onChangeSelection(), this.__previousList = [...e42];
39994
39994
  }
39995
39995
  selectNext() {
39996
39996
  this.currentSelection + 1 <= this.elements.length - 1 ? this.currentSelection += 1 : this.currentSelection = 0;
@@ -40015,15 +40015,15 @@ function h5(i54) {
40015
40015
  const e42 = t48.childNodes[l57];
40016
40016
  if (!e42) return "";
40017
40017
  if (Dom.isText(e42)) return (r59 = e42.nodeValue) !== null && r59 !== void 0 ? r59 : "";
40018
- const d53 = Dom.findNotEmptyNeighbor(e42, true, t48);
40019
- return Dom.isText(d53) && (s50 = e42.nodeValue) !== null && s50 !== void 0 ? s50 : "";
40018
+ const d54 = Dom.findNotEmptyNeighbor(e42, true, t48);
40019
+ return Dom.isText(d54) && (s50 = e42.nodeValue) !== null && s50 !== void 0 ? s50 : "";
40020
40020
  }
40021
40021
  a16(h5, "getTextLeftOfCursor");
40022
40022
  function _2(i54, n57) {
40023
40023
  var o57, r59, s50;
40024
40024
  let { startContainer: t48, startOffset: l57 } = i54;
40025
40025
  if (Dom.isText(t48) || (t48 = t48.childNodes[l57 - 1], Dom.isText(t48) && (l57 = (r59 = (o57 = t48.nodeValue) === null || o57 === void 0 ? void 0 : o57.length) !== null && r59 !== void 0 ? r59 : 0)), Dom.isText(t48)) {
40026
- const e42 = (s50 = t48.nodeValue) !== null && s50 !== void 0 ? s50 : "", d53 = e42.substring(0, l57), v22 = e42.substring(l57), f50 = d53.split(" ");
40026
+ const e42 = (s50 = t48.nodeValue) !== null && s50 !== void 0 ? s50 : "", d54 = e42.substring(0, l57), v22 = e42.substring(l57), f50 = d54.split(" ");
40027
40027
  f50[f50.length - 1] = "";
40028
40028
  const c74 = f50.join(" ");
40029
40029
  t48.nodeValue = c74 + v22, i54.setStart(t48, c74.length), i54.insertNode(n57);
@@ -40038,13 +40038,13 @@ init_decorators();
40038
40038
  init_dom();
40039
40039
  init_helpers();
40040
40040
  init_plugin2();
40041
- var R = Object.defineProperty;
40042
- var m6 = (c74, e42) => R(c74, "name", { value: e42, configurable: true });
40041
+ var D = Object.defineProperty;
40042
+ var d4 = (c74, e42) => D(c74, "name", { value: e42, configurable: true });
40043
40043
  var p8 = function(c74, e42, t48, o57) {
40044
- var r59 = arguments.length, s50 = r59 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, n57;
40045
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(c74, e42, t48, o57);
40046
- else for (var i54 = c74.length - 1; i54 >= 0; i54--) (n57 = c74[i54]) && (s50 = (r59 < 3 ? n57(s50) : r59 > 3 ? n57(e42, t48, s50) : n57(e42, t48)) || s50);
40047
- return r59 > 3 && s50 && Object.defineProperty(e42, t48, s50), s50;
40044
+ var s50 = arguments.length, r59 = s50 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, n57;
40045
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(c74, e42, t48, o57);
40046
+ else for (var i54 = c74.length - 1; i54 >= 0; i54--) (n57 = c74[i54]) && (r59 = (s50 < 3 ? n57(r59) : s50 > 3 ? n57(e42, t48, r59) : n57(e42, t48)) || r59);
40047
+ return s50 > 3 && r59 && Object.defineProperty(e42, t48, r59), r59;
40048
40048
  };
40049
40049
  var a17 = class a18 extends Plugin {
40050
40050
  constructor() {
@@ -40083,16 +40083,27 @@ var a17 = class a18 extends Plugin {
40083
40083
  this.popup.isOpened && this.popup.close();
40084
40084
  return;
40085
40085
  }
40086
- const { s: r59 } = this.j;
40087
- if (a18.isControlKey(e42.key) || !r59.isInsideArea || !r59.isCollapsed) return;
40088
- const s50 = !((t48 = this.j.s.sel) === null || t48 === void 0) && t48.rangeCount ? (o57 = this.j.s.sel) === null || o57 === void 0 ? void 0 : o57.getRangeAt(0) : null, n57 = s50 && h5(s50).split(" ").pop();
40086
+ const { s: s50 } = this.j;
40087
+ if (a18.isControlKey(e42.key) || !s50.isInsideArea || !s50.isCollapsed) return;
40088
+ const r59 = !((t48 = this.j.s.sel) === null || t48 === void 0) && t48.rangeCount ? (o57 = this.j.s.sel) === null || o57 === void 0 ? void 0 : o57.getRangeAt(0) : null, n57 = r59 && h5(r59).split(" ").pop();
40089
40089
  if (n57 && trim(n57).length) {
40090
40090
  const i54 = yield this.onAutoComplete(n57);
40091
+ if (!this.isQueryStillAnchored(n57)) {
40092
+ this.popup.isOpened && this.popup.close();
40093
+ return;
40094
+ }
40091
40095
  if (i54.length) return this.openPopup(i54);
40092
40096
  }
40093
40097
  this.popup.isOpened && this.popup.close();
40094
40098
  });
40095
40099
  }
40100
+ isQueryStillAnchored(e42) {
40101
+ var t48, o57;
40102
+ const { s: s50 } = this.j;
40103
+ if (!s50.isInsideArea || !s50.isCollapsed) return false;
40104
+ const r59 = !((t48 = s50.sel) === null || t48 === void 0) && t48.rangeCount ? s50.sel.getRangeAt(0) : null;
40105
+ return !r59 || !r59.startContainer.isConnected ? false : ((o57 = h5(r59).split(" ").pop()) !== null && o57 !== void 0 ? o57 : "").startsWith(e42);
40106
+ }
40096
40107
  onKeyControlDown(e42) {
40097
40108
  if (this.popup.isOpened && a18.isControlKey(e42.key)) {
40098
40109
  switch (e42.key) {
@@ -40122,38 +40133,38 @@ var a17 = class a18 extends Plugin {
40122
40133
  }
40123
40134
  resolveFeed(e42, t48, o57) {
40124
40135
  return __async(this, null, function* () {
40125
- let r59;
40126
- if (isPromise(t48) && (t48 = yield t48), isFunction(t48)) r59 = yield t48(e42);
40136
+ let s50;
40137
+ if (isPromise(t48) && (t48 = yield t48), isFunction(t48)) s50 = yield t48(e42);
40127
40138
  else if (isArray(t48)) {
40128
- const s50 = t48, { isMatchedQuery: n57 } = this.j.o.autocomplete;
40129
- r59 = s50.filter((i54) => isString(i54) ? n57(e42, i54) : n57(e42, i54.value)).map((i54) => isString(i54) ? { title: i54, value: i54 } : i54);
40130
- } else r59 = yield this.resolveFeed(e42, t48.feed, t48);
40139
+ const r59 = t48, { isMatchedQuery: n57 } = this.j.o.autocomplete;
40140
+ s50 = r59.filter((i54) => isString(i54) ? n57(e42, i54) : n57(e42, i54.value)).map((i54) => isString(i54) ? { title: i54, value: i54 } : i54);
40141
+ } else s50 = yield this.resolveFeed(e42, t48.feed, t48);
40131
40142
  if (this.j.isDestructed) return [];
40132
- if (r59 && isArray(r59)) {
40133
- const { itemRenderer: s50, insertValueRenderer: n57, maxItems: i54 } = this.j.o.autocomplete;
40134
- return r59 = r59.map((K4) => {
40143
+ if (s50 && isArray(s50)) {
40144
+ const { itemRenderer: r59, insertValueRenderer: n57, maxItems: i54 } = this.j.o.autocomplete;
40145
+ return s50 = s50.map((R3) => {
40135
40146
  var h60, f50;
40136
- return __spreadValues({ itemRenderer: (h60 = o57 == null ? void 0 : o57.itemRenderer) !== null && h60 !== void 0 ? h60 : s50, insertValueRenderer: (f50 = o57 == null ? void 0 : o57.insertValueRenderer) !== null && f50 !== void 0 ? f50 : n57 }, K4);
40137
- }), r59.slice(0, i54);
40147
+ return __spreadValues({ itemRenderer: (h60 = o57 == null ? void 0 : o57.itemRenderer) !== null && h60 !== void 0 ? h60 : r59, insertValueRenderer: (f50 = o57 == null ? void 0 : o57.insertValueRenderer) !== null && f50 !== void 0 ? f50 : n57 }, R3);
40148
+ }), s50.slice(0, i54);
40138
40149
  }
40139
40150
  return [];
40140
40151
  });
40141
40152
  }
40142
40153
  openPopup(e42) {
40143
40154
  this.list.build(e42), this.popup.open(() => {
40144
- const { j: t48 } = this, o57 = t48.s.range.getBoundingClientRect(), r59 = { left: o57.left, top: o57.top, height: o57.height, width: o57.width };
40155
+ const { j: t48 } = this, o57 = t48.s.range.getBoundingClientRect(), s50 = { left: o57.left, top: o57.top, height: o57.height, width: o57.width };
40145
40156
  if (t48.o.iframe && t48.iframe) {
40146
- const s50 = position(t48.iframe, t48);
40147
- r59.top += s50.top, r59.left += s50.left;
40157
+ const r59 = position(t48.iframe, t48);
40158
+ s50.top += r59.top, s50.left += r59.left;
40148
40159
  }
40149
- return r59;
40160
+ return s50;
40150
40161
  });
40151
40162
  }
40152
40163
  beforeDestruct(e42) {
40153
40164
  e42.e.off(this.list).off(this.popup).off("keydown.autocomplete", this.onKeyDown).off("autocomplete.autocomplete", this.onAutoComplete).off(".autocomplete"), this.list.destruct(), this.popup.destruct();
40154
40165
  }
40155
40166
  };
40156
- m6(a17, "autocomplete");
40167
+ d4(a17, "autocomplete");
40157
40168
  var l4 = a17;
40158
40169
  l4.requires = ["enter", "license"], p8([cache], l4.prototype, "list", null), p8([cache], l4.prototype, "popup", null), p8([autobind], l4.prototype, "registerAutocompleteSource", null), p8([autobind], l4.prototype, "unregisterAutocompleteSource", null), p8([debounce()], l4.prototype, "onKeyDown", null), p8([autobind], l4.prototype, "onKeyControlDown", null), p8([autobind], l4.prototype, "onEnter", null), p8([autobind], l4.prototype, "onAutoComplete", null), p8([autobind], l4.prototype, "resolveFeed", null), n11.plugins.add("autocomplete", l4);
40159
40170
 
@@ -40282,9 +40293,9 @@ function a21(t48, { selector: e42, index: r59, requireExactlyOne: s50 = false }
40282
40293
  if (typeof r59 != "number") throw new Error("Block index must be a number");
40283
40294
  const n57 = Array.from(t48.editor.children);
40284
40295
  if (r59 < 0 || r59 >= n57.length) throw new Error(`Block index ${r59} is out of range. Document has ${n57.length} blocks`);
40285
- const m54 = n57[r59];
40286
- if (!Dom.isElement(m54)) throw new Error(`Block at index ${r59} is not a valid element`);
40287
- return { element: m54, identifier: `at index ${r59}` };
40296
+ const m53 = n57[r59];
40297
+ if (!Dom.isElement(m53)) throw new Error(`Block at index ${r59} is not a valid element`);
40298
+ return { element: m53, identifier: `at index ${r59}` };
40288
40299
  }
40289
40300
  f5(a21, "resolveBlock");
40290
40301
 
@@ -40293,10 +40304,10 @@ var a22 = Object.defineProperty;
40293
40304
  var c10 = (e42, r59) => a22(e42, "name", { value: r59, configurable: true });
40294
40305
  function h6(e42, r59, i54) {
40295
40306
  return __async(this, null, function* () {
40296
- const { element: s50, attributes: o57, remove: l57, blockIndex: n57, selector: m54 } = r59;
40307
+ const { element: s50, attributes: o57, remove: l57, blockIndex: n57, selector: m53 } = r59;
40297
40308
  if (a20(i54), !s50 && !o57) throw new Error('Either "element" or "attributes" must be provided');
40298
- if (e42.s.restore(), n57 !== void 0 || m54) {
40299
- const { element: t48 } = a21(e42, { selector: m54, index: n57 });
40309
+ if (e42.s.restore(), n57 !== void 0 || m53) {
40310
+ const { element: t48 } = a21(e42, { selector: m53, index: n57 });
40300
40311
  e42.s.select(t48);
40301
40312
  }
40302
40313
  if (e42.s.isCollapsed()) throw new Error("No selection found. Please select text to format");
@@ -40363,10 +40374,10 @@ var o16 = false;
40363
40374
  init_dom2();
40364
40375
  var h7 = Object.defineProperty;
40365
40376
  var f7 = (i54, a77) => h7(i54, "name", { value: a77, configurable: true });
40366
- function k2(i54, a77, m54) {
40377
+ function k2(i54, a77, m53) {
40367
40378
  return __async(this, null, function* () {
40368
- const { offset: d53, limit: o57, query: l57 } = a77;
40369
- a20(m54);
40379
+ const { offset: d54, limit: o57, query: l57 } = a77;
40380
+ a20(m53);
40370
40381
  const s50 = [];
40371
40382
  Array.from(i54.editor.children).forEach((e42, n57) => {
40372
40383
  if (Dom.isElement(e42)) {
@@ -40379,7 +40390,7 @@ function k2(i54, a77, m54) {
40379
40390
  const e42 = l57.toLowerCase();
40380
40391
  t48 = s50.filter((n57) => n57.textContent.toLowerCase().includes(e42) || n57.tagName.includes(e42) || n57.content.toLowerCase().includes(e42));
40381
40392
  }
40382
- const c74 = Math.max(0, Math.min(typeof d53 == "number" ? d53 : 0, t48.length)), u58 = o57 !== void 0 ? Math.min(c74 + o57, t48.length) : t48.length;
40393
+ const c74 = Math.max(0, Math.min(typeof d54 == "number" ? d54 : 0, t48.length)), u58 = o57 !== void 0 ? Math.min(c74 + o57, t48.length) : t48.length;
40383
40394
  return { blocks: t48.slice(c74, u58), total: s50.length, offset: c74, limit: o57 !== void 0 ? o57 : void 0 };
40384
40395
  });
40385
40396
  }
@@ -40404,7 +40415,7 @@ var n15 = false;
40404
40415
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/read-document/executor.js
40405
40416
  init_dom2();
40406
40417
  var u9 = Object.defineProperty;
40407
- var m7 = (t48, o57) => u9(t48, "name", { value: o57, configurable: true });
40418
+ var m6 = (t48, o57) => u9(t48, "name", { value: o57, configurable: true });
40408
40419
  function w2(t48, o57, c74) {
40409
40420
  return __async(this, null, function* () {
40410
40421
  const { start: i54, end: l57, aroundSelection: f50 } = o57;
@@ -40426,7 +40437,7 @@ function w2(t48, o57, c74) {
40426
40437
  return (s50 > 0 || a77 < r59) && (n57 = n57.substring(s50, a77)), { html: n57, length: r59, start: s50, end: a77 };
40427
40438
  });
40428
40439
  }
40429
- m7(w2, "execute");
40440
+ m6(w2, "execute");
40430
40441
 
40431
40442
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/read-document/index.js
40432
40443
  var i16 = __spreadProps(__spreadValues({}, definition_exports5), { execute: w2 });
@@ -40481,15 +40492,15 @@ var r17 = true;
40481
40492
  init_dom2();
40482
40493
  var u11 = Object.defineProperty;
40483
40494
  var a23 = (e42, r59) => u11(e42, "name", { value: r59, configurable: true });
40484
- function y2(e42, r59, d53) {
40495
+ function y2(e42, r59, d54) {
40485
40496
  return __async(this, null, function* () {
40486
40497
  var o57;
40487
- const { index: n57, selector: i54 } = r59, m54 = u8(r59, "html");
40488
- if (a20(d53), n57 === void 0 && !i54 || n57 !== void 0 && i54) throw new Error("Either index or selector must be provided, but not both");
40498
+ const { index: n57, selector: i54 } = r59, m53 = u8(r59, "html");
40499
+ if (a20(d54), n57 === void 0 && !i54 || n57 !== void 0 && i54) throw new Error("Either index or selector must be provided, but not both");
40489
40500
  const { element: s50, identifier: l57 } = a21(e42, { selector: i54, index: n57, requireExactlyOne: true });
40490
40501
  try {
40491
40502
  const t48 = e42.createInside.div();
40492
- t48.innerHTML = m54;
40503
+ t48.innerHTML = m53;
40493
40504
  const c74 = t48.firstChild;
40494
40505
  if (!c74 || !Dom.isElement(c74)) throw new Error("Invalid HTML: must contain at least one element");
40495
40506
  return (o57 = s50.parentNode) === null || o57 === void 0 || o57.replaceChild(c74, s50), e42.synchronizeValues(), { success: true, message: `Block ${l57} replaced successfully` };
@@ -40518,8 +40529,8 @@ var s16 = true;
40518
40529
 
40519
40530
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/replace-in-document/executor.js
40520
40531
  var w3 = Object.defineProperty;
40521
- var m8 = (n57, s50) => w3(n57, "name", { value: s50, configurable: true });
40522
- function d5(n57, s50, o57, c74, u58, a77) {
40532
+ var m7 = (n57, s50) => w3(n57, "name", { value: s50, configurable: true });
40533
+ function d6(n57, s50, o57, c74, u58, a77) {
40523
40534
  const l57 = n57.editor.querySelectorAll(u58);
40524
40535
  if (l57.length === 0) return { replacements: 0, message: `No elements found matching selector "${u58}"` };
40525
40536
  let e42 = 0;
@@ -40541,7 +40552,7 @@ function d5(n57, s50, o57, c74, u58, a77) {
40541
40552
  r59 !== f50 && (t48.innerHTML = r59);
40542
40553
  }), e42 > 0 && (n57.synchronizeValues(), n57.s.restore()), { replacements: e42 };
40543
40554
  }
40544
- m8(d5, "replaceInSelectedElements");
40555
+ m7(d6, "replaceInSelectedElements");
40545
40556
  function v5(n57, s50, o57, c74, u58, a77) {
40546
40557
  let l57 = 0, e42 = s50;
40547
40558
  if (u58) try {
@@ -40557,7 +40568,7 @@ function v5(n57, s50, o57, c74, u58, a77) {
40557
40568
  }
40558
40569
  return l57 > 0 && (n57.value = e42, n57.s.restore(), n57.synchronizeValues()), l57;
40559
40570
  }
40560
- m8(v5, "replaceInDocument");
40571
+ m7(v5, "replaceInDocument");
40561
40572
  function b7(n57, s50, o57) {
40562
40573
  return __async(this, null, function* () {
40563
40574
  const c74 = u8(s50, "search"), u58 = u8(s50, "replace", { allowEmpty: true }), { useRegex: a77, useSelector: l57 } = s50;
@@ -40566,7 +40577,7 @@ function b7(n57, s50, o57) {
40566
40577
  n57.s.focus(), n57.s.save();
40567
40578
  let e42 = 0, t48;
40568
40579
  if (l57) {
40569
- const r59 = d5(n57, c74, u58, a77, l57, o57);
40580
+ const r59 = d6(n57, c74, u58, a77, l57, o57);
40570
40581
  e42 = r59.replacements, t48 = r59.message;
40571
40582
  } else e42 = v5(n57, n57.value, c74, u58, a77, o57);
40572
40583
  return { replacements: e42, message: t48 || (e42 > 0 ? `Replaced ${e42} occurrence(s)` : "No matches found") };
@@ -40575,7 +40586,7 @@ function b7(n57, s50, o57) {
40575
40586
  }
40576
40587
  });
40577
40588
  }
40578
- m8(b7, "execute");
40589
+ m7(b7, "execute");
40579
40590
 
40580
40591
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/replace-in-document/index.js
40581
40592
  var i20 = __spreadProps(__spreadValues({}, definition_exports8), { execute: b7 });
@@ -40649,8 +40660,8 @@ n19(i22, "execute");
40649
40660
  var i23 = __spreadProps(__spreadValues({}, definition_exports10), { execute: i22 });
40650
40661
 
40651
40662
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/index.js
40652
- var m9 = Object.defineProperty;
40653
- var r20 = (o57, e42) => m9(o57, "name", { value: e42, configurable: true });
40663
+ var m8 = Object.defineProperty;
40664
+ var r20 = (o57, e42) => m8(o57, "name", { value: e42, configurable: true });
40654
40665
  var t17 = { readDocument: i16, readBlocks: i15, readSelection: i18, writeDocument: i23, replaceSelection: i21, replaceBlock: i19, replaceInDocument: i20, insertHTML: i14, addHTML: i11, applyFormat: i12 };
40655
40666
  function H() {
40656
40667
  return Object.keys(t17);
@@ -40680,7 +40691,7 @@ var _3 = { exec: () => null };
40680
40691
  function k3(u58, e42 = "") {
40681
40692
  let t48 = typeof u58 == "string" ? u58 : u58.source, n57 = { replace: (r59, i54) => {
40682
40693
  let s50 = typeof i54 == "string" ? i54 : i54.source;
40683
- return s50 = s50.replace(m10.caret, "$1"), t48 = t48.replace(r59, s50), n57;
40694
+ return s50 = s50.replace(m9.caret, "$1"), t48 = t48.replace(r59, s50), n57;
40684
40695
  }, getRegex: () => new RegExp(t48, e42) };
40685
40696
  return n57;
40686
40697
  }
@@ -40691,7 +40702,7 @@ var Re = (() => {
40691
40702
  return false;
40692
40703
  }
40693
40704
  })();
40694
- var m10 = { 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: (u58) => new RegExp(`^( {0,3}${u58})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}#`), htmlBeginRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}<(?:[a-z].*>|!--)`, "i"), blockquoteBeginRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}>`) };
40705
+ 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: (u58) => new RegExp(`^( {0,3}${u58})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}#`), htmlBeginRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}<(?:[a-z].*>|!--)`, "i"), blockquoteBeginRegex: (u58) => new RegExp(`^ {0,${Math.min(3, u58 - 1)}}>`) };
40695
40706
  var Te = /^(?:[ \t]*(?:\n|$))+/;
40696
40707
  var Oe = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/;
40697
40708
  var we = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/;
@@ -40745,14 +40756,14 @@ var Xe = k3(/\\(punct)/, "gu").replace(/punct/g, v6).getRegex();
40745
40756
  var Je = k3(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex();
40746
40757
  var Ve = k3(F).replace("(?:-->|$)", "-->").getRegex();
40747
40758
  var Ye = k3("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Ve).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex();
40748
- var D = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/;
40749
- var et = k3(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", D).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex();
40750
- var he = k3(/^!?\[(label)\]\[(ref)\]/).replace("label", D).replace("ref", j4).getRegex();
40759
+ var D2 = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/;
40760
+ var et = k3(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", D2).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex();
40761
+ var he = k3(/^!?\[(label)\]\[(ref)\]/).replace("label", D2).replace("ref", j4).getRegex();
40751
40762
  var ke = k3(/^!?\[(ref)\](?:\[\])?/).replace("ref", j4).getRegex();
40752
40763
  var tt = k3("reflink|nolink(?!\\()", "g").replace("reflink", he).replace("nolink", ke).getRegex();
40753
40764
  var ne = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/;
40754
40765
  var W = { _backpedal: _3, anyPunctuation: Xe, autolink: Je, blockSkip: Ge, br: oe, code: Ae, del: _3, delLDelim: _3, delRDelim: _3, emStrongLDelim: Ze, emStrongRDelimAst: Qe, emStrongRDelimUnd: Fe, escape: Ie, link: et, nolink: ke, punctuation: Be, reflink: he, reflinkSearch: tt, tag: Ye, text: Ce, url: _3 };
40755
- var nt = __spreadProps(__spreadValues({}, W), { link: k3(/^!?\[(label)\]\((.*?)\)/).replace("label", D).getRegex(), reflink: k3(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", D).getRegex() });
40766
+ var nt = __spreadProps(__spreadValues({}, W), { link: k3(/^!?\[(label)\]\((.*?)\)/).replace("label", D2).getRegex(), reflink: k3(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", D2).getRegex() });
40756
40767
  var Z = __spreadProps(__spreadValues({}, W), { emStrongRDelimAst: je, emStrongLDelim: Ne, delLDelim: Ue, delRDelim: We, url: k3(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", ne).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: k3(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", ne).getRegex() });
40757
40768
  var rt = __spreadProps(__spreadValues({}, Z), { br: k3(oe).replace("{2,}", "*").getRegex(), text: k3(Z.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() });
40758
40769
  var C = { normal: U2, gfm: ze, pedantic: Ee };
@@ -40761,13 +40772,13 @@ var st = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }
40761
40772
  var de = (u58) => st[u58];
40762
40773
  function O(u58, e42) {
40763
40774
  if (e42) {
40764
- if (m10.escapeTest.test(u58)) return u58.replace(m10.escapeReplace, de);
40765
- } else if (m10.escapeTestNoEncode.test(u58)) return u58.replace(m10.escapeReplaceNoEncode, de);
40775
+ if (m9.escapeTest.test(u58)) return u58.replace(m9.escapeReplace, de);
40776
+ } else if (m9.escapeTestNoEncode.test(u58)) return u58.replace(m9.escapeReplaceNoEncode, de);
40766
40777
  return u58;
40767
40778
  }
40768
40779
  function X(u58) {
40769
40780
  try {
40770
- u58 = encodeURI(u58).replace(m10.percentDecode, "%");
40781
+ u58 = encodeURI(u58).replace(m9.percentDecode, "%");
40771
40782
  } catch (e42) {
40772
40783
  return null;
40773
40784
  }
@@ -40775,14 +40786,14 @@ function X(u58) {
40775
40786
  }
40776
40787
  function J(u58, e42) {
40777
40788
  var _a2;
40778
- let t48 = u58.replace(m10.findPipe, (i54, s50, a77) => {
40789
+ let t48 = u58.replace(m9.findPipe, (i54, s50, a77) => {
40779
40790
  let o57 = false, l57 = s50;
40780
40791
  for (; --l57 >= 0 && a77[l57] === "\\"; ) o57 = !o57;
40781
40792
  return o57 ? "|" : " |";
40782
- }), n57 = t48.split(m10.splitPipe), r59 = 0;
40793
+ }), n57 = t48.split(m9.splitPipe), r59 = 0;
40783
40794
  if (n57[0].trim() || n57.shift(), n57.length > 0 && !((_a2 = n57.at(-1)) == null ? void 0 : _a2.trim()) && n57.pop(), e42) if (n57.length > e42) n57.splice(e42);
40784
40795
  else for (; n57.length < e42; ) n57.push("");
40785
- for (; r59 < n57.length; r59++) n57[r59] = n57[r59].trim().replace(m10.slashPipe, "|");
40796
+ for (; r59 < n57.length; r59++) n57[r59] = n57[r59].trim().replace(m9.slashPipe, "|");
40786
40797
  return n57;
40787
40798
  }
40788
40799
  function E3(u58, e42, t48) {
@@ -40892,21 +40903,21 @@ var w4 = class {
40892
40903
  r59 = r59 ? `${r59}
40893
40904
  ${p63}` : p63, i54 = i54 ? `${i54}
40894
40905
  ${c74}` : c74;
40895
- let d53 = this.lexer.state.top;
40896
- if (this.lexer.state.top = true, this.lexer.blockTokens(c74, s50, true), this.lexer.state.top = d53, n57.length === 0) break;
40906
+ let d54 = this.lexer.state.top;
40907
+ if (this.lexer.state.top = true, this.lexer.blockTokens(c74, s50, true), this.lexer.state.top = d54, n57.length === 0) break;
40897
40908
  let h60 = s50.at(-1);
40898
40909
  if ((h60 == null ? void 0 : h60.type) === "code") break;
40899
40910
  if ((h60 == null ? void 0 : h60.type) === "blockquote") {
40900
- let R4 = h60, f50 = R4.raw + `
40911
+ let R3 = h60, f50 = R3.raw + `
40901
40912
  ` + n57.join(`
40902
40913
  `), S8 = this.blockquote(f50);
40903
- s50[s50.length - 1] = S8, r59 = r59.substring(0, r59.length - R4.raw.length) + S8.raw, i54 = i54.substring(0, i54.length - R4.text.length) + S8.text;
40914
+ s50[s50.length - 1] = S8, r59 = r59.substring(0, r59.length - R3.raw.length) + S8.raw, i54 = i54.substring(0, i54.length - R3.text.length) + S8.text;
40904
40915
  break;
40905
40916
  } else if ((h60 == null ? void 0 : h60.type) === "list") {
40906
- let R4 = h60, f50 = R4.raw + `
40917
+ let R3 = h60, f50 = R3.raw + `
40907
40918
  ` + n57.join(`
40908
40919
  `), S8 = this.list(f50);
40909
- s50[s50.length - 1] = S8, r59 = r59.substring(0, r59.length - h60.raw.length) + S8.raw, i54 = i54.substring(0, i54.length - R4.raw.length) + S8.raw, n57 = f50.substring(s50.at(-1).raw.length).split(`
40920
+ s50[s50.length - 1] = S8, r59 = r59.substring(0, r59.length - h60.raw.length) + S8.raw, i54 = i54.substring(0, i54.length - R3.raw.length) + S8.raw, n57 = f50.substring(s50.at(-1).raw.length).split(`
40910
40921
  `);
40911
40922
  continue;
40912
40923
  }
@@ -40925,10 +40936,10 @@ ${c74}` : c74;
40925
40936
  let l57 = false, p63 = "", c74 = "";
40926
40937
  if (!(t48 = s50.exec(e42)) || this.rules.block.hr.test(e42)) break;
40927
40938
  p63 = t48[0], e42 = e42.substring(p63.length);
40928
- let d53 = fe(t48[2].split(`
40939
+ let d54 = fe(t48[2].split(`
40929
40940
  `, 1)[0], t48[1].length), h60 = e42.split(`
40930
- `, 1)[0], R4 = !d53.trim(), f50 = 0;
40931
- if (this.options.pedantic ? (f50 = 2, c74 = d53.trimStart()) : R4 ? f50 = t48[1].length + 1 : (f50 = d53.search(this.rules.other.nonSpaceChar), f50 = f50 > 4 ? 1 : f50, c74 = d53.slice(f50), f50 += t48[1].length), R4 && this.rules.other.blankLine.test(h60) && (p63 += h60 + `
40941
+ `, 1)[0], R3 = !d54.trim(), f50 = 0;
40942
+ if (this.options.pedantic ? (f50 = 2, c74 = d54.trimStart()) : R3 ? f50 = t48[1].length + 1 : (f50 = d54.search(this.rules.other.nonSpaceChar), f50 = f50 > 4 ? 1 : f50, c74 = d54.slice(f50), f50 += t48[1].length), R3 && this.rules.other.blankLine.test(h60) && (p63 += h60 + `
40932
40943
  `, e42 = e42.substring(h60.length + 1), l57 = true), !l57) {
40933
40944
  let S8 = this.rules.other.nextBulletRegex(f50), V = this.rules.other.hrRegex(f50), Y = this.rules.other.fencesBeginRegex(f50), ee = this.rules.other.headingBeginRegex(f50), xe = this.rules.other.htmlBeginRegex(f50), be = this.rules.other.blockquoteBeginRegex(f50);
40934
40945
  for (; e42; ) {
@@ -40938,12 +40949,12 @@ ${c74}` : c74;
40938
40949
  if (I2.search(this.rules.other.nonSpaceChar) >= f50 || !h60.trim()) c74 += `
40939
40950
  ` + I2.slice(f50);
40940
40951
  else {
40941
- if (R4 || d53.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Y.test(d53) || ee.test(d53) || V.test(d53)) break;
40952
+ if (R3 || d54.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Y.test(d54) || ee.test(d54) || V.test(d54)) break;
40942
40953
  c74 += `
40943
40954
  ` + h60;
40944
40955
  }
40945
- R4 = !h60.trim(), p63 += H2 + `
40946
- `, e42 = e42.substring(H2.length + 1), d53 = I2.slice(f50);
40956
+ R3 = !h60.trim(), p63 += H2 + `
40957
+ `, e42 = e42.substring(H2.length + 1), d54 = I2.slice(f50);
40947
40958
  }
40948
40959
  }
40949
40960
  i54.loose || (a77 ? i54.loose = true : this.rules.other.doubleBlankLine.test(p63) && (a77 = true)), i54.items.push({ type: "list_item", raw: p63, task: !!this.options.gfm && this.rules.other.listIsTask.test(c74), loose: false, text: c74, tokens: [] }), i54.raw += p63;
@@ -40968,7 +40979,7 @@ ${c74}` : c74;
40968
40979
  }
40969
40980
  }
40970
40981
  if (!i54.loose) {
40971
- let p63 = l57.tokens.filter((d53) => d53.type === "space"), c74 = p63.length > 0 && p63.some((d53) => this.rules.other.anyLine.test(d53.raw));
40982
+ let p63 = l57.tokens.filter((d54) => d54.type === "space"), c74 = p63.length > 0 && p63.some((d54) => this.rules.other.anyLine.test(d54.raw));
40972
40983
  i54.loose = c74;
40973
40984
  }
40974
40985
  }
@@ -41078,13 +41089,13 @@ ${c74}` : c74;
41078
41089
  }
41079
41090
  if (l57 -= o57, l57 > 0) continue;
41080
41091
  o57 = Math.min(o57, o57 + l57 + p63);
41081
- let d53 = [...r59[0]][0].length, h60 = e42.slice(0, s50 + r59.index + d53 + o57);
41092
+ let d54 = [...r59[0]][0].length, h60 = e42.slice(0, s50 + r59.index + d54 + o57);
41082
41093
  if (Math.min(s50, o57) % 2) {
41083
41094
  let f50 = h60.slice(1, -1);
41084
41095
  return { type: "em", raw: h60, text: f50, tokens: this.lexer.inlineTokens(f50) };
41085
41096
  }
41086
- let R4 = h60.slice(2, -2);
41087
- return { type: "strong", raw: h60, text: R4, tokens: this.lexer.inlineTokens(R4) };
41097
+ let R3 = h60.slice(2, -2);
41098
+ return { type: "strong", raw: h60, text: R3, tokens: this.lexer.inlineTokens(R3) };
41088
41099
  }
41089
41100
  }
41090
41101
  }
@@ -41112,8 +41123,8 @@ ${c74}` : c74;
41112
41123
  }
41113
41124
  if (l57 -= o57, l57 > 0) continue;
41114
41125
  o57 = Math.min(o57, o57 + l57);
41115
- let c74 = [...r59[0]][0].length, d53 = e42.slice(0, s50 + r59.index + c74 + o57), h60 = d53.slice(s50, -s50);
41116
- return { type: "del", raw: d53, text: h60, tokens: this.lexer.inlineTokens(h60) };
41126
+ let c74 = [...r59[0]][0].length, d54 = e42.slice(0, s50 + r59.index + c74 + o57), h60 = d54.slice(s50, -s50);
41127
+ return { type: "del", raw: d54, text: h60, tokens: this.lexer.inlineTokens(h60) };
41117
41128
  }
41118
41129
  }
41119
41130
  }
@@ -41156,7 +41167,7 @@ var x4 = class u12 {
41156
41167
  __publicField(this, "inlineQueue");
41157
41168
  __publicField(this, "tokenizer");
41158
41169
  this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e42 || T2, this.options.tokenizer = this.options.tokenizer || new w4(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
41159
- let t48 = { other: m10, block: C.normal, inline: z.normal };
41170
+ let t48 = { other: m9, block: C.normal, inline: z.normal };
41160
41171
  this.options.pedantic ? (t48.block = C.pedantic, t48.inline = z.pedantic) : this.options.gfm && (t48.block = C.gfm, this.options.breaks ? t48.inline = z.breaks : t48.inline = z.gfm), this.tokenizer.rules = t48;
41161
41172
  }
41162
41173
  static get rules() {
@@ -41169,7 +41180,7 @@ var x4 = class u12 {
41169
41180
  return new u12(t48).inlineTokens(e42);
41170
41181
  }
41171
41182
  lex(e42) {
41172
- e42 = e42.replace(m10.carriageReturn, `
41183
+ e42 = e42.replace(m9.carriageReturn, `
41173
41184
  `), this.blockTokens(e42, this.tokens);
41174
41185
  for (let t48 = 0; t48 < this.inlineQueue.length; t48++) {
41175
41186
  let n57 = this.inlineQueue[t48];
@@ -41179,7 +41190,7 @@ var x4 = class u12 {
41179
41190
  }
41180
41191
  blockTokens(e42, t48 = [], n57 = false) {
41181
41192
  var _a2, _b, _c;
41182
- for (this.options.pedantic && (e42 = e42.replace(m10.tabCharGlobal, " ").replace(m10.spaceLine, "")); e42; ) {
41193
+ for (this.options.pedantic && (e42 = e42.replace(m9.tabCharGlobal, " ").replace(m9.spaceLine, "")); e42; ) {
41183
41194
  let r59;
41184
41195
  if ((_b = (_a2 = this.options.extensions) == null ? void 0 : _a2.block) == null ? void 0 : _b.some((s50) => (r59 = s50.call({ lexer: this }, e42, t48)) ? (e42 = e42.substring(r59.raw.length), t48.push(r59), true) : false)) continue;
41185
41196
  if (r59 = this.tokenizer.space(e42)) {
@@ -41336,9 +41347,9 @@ var x4 = class u12 {
41336
41347
  }
41337
41348
  let l57 = e42;
41338
41349
  if ((_f = this.options.extensions) == null ? void 0 : _f.startInline) {
41339
- let p63 = 1 / 0, c74 = e42.slice(1), d53;
41350
+ let p63 = 1 / 0, c74 = e42.slice(1), d54;
41340
41351
  this.options.extensions.startInline.forEach((h60) => {
41341
- d53 = h60.call({ lexer: this }, c74), typeof d53 == "number" && d53 >= 0 && (p63 = Math.min(p63, d53));
41352
+ d54 = h60.call({ lexer: this }, c74), typeof d54 == "number" && d54 >= 0 && (p63 = Math.min(p63, d54));
41342
41353
  }), p63 < 1 / 0 && p63 >= 0 && (l57 = e42.substring(0, p63 + 1));
41343
41354
  }
41344
41355
  if (o57 = this.tokenizer.inlineText(l57)) {
@@ -41369,7 +41380,7 @@ var y3 = class {
41369
41380
  }
41370
41381
  code({ text: e42, lang: t48, escaped: n57 }) {
41371
41382
  var _a2;
41372
- let r59 = (_a2 = (t48 || "").match(m10.notSpaceStart)) == null ? void 0 : _a2[0], i54 = e42.replace(m10.endingNewline, "") + `
41383
+ let r59 = (_a2 = (t48 || "").match(m9.notSpaceStart)) == null ? void 0 : _a2[0], i54 = e42.replace(m9.endingNewline, "") + `
41373
41384
  `;
41374
41385
  return r59 ? '<pre><code class="language-' + O(r59) + '">' + (n57 ? i54 : O(i54, true)) + `</code></pre>
41375
41386
  ` : "<pre><code>" + (n57 ? i54 : O(i54, true)) + `</code></pre>
@@ -41779,15 +41790,15 @@ var B2 = class {
41779
41790
  let a77 = s50, o57 = n57.hooks[a77], l57 = i54[a77];
41780
41791
  P.passThroughHooks.has(s50) ? i54[a77] = (p63) => {
41781
41792
  if (this.defaults.async && P.passThroughHooksRespectAsync.has(s50)) return (() => __async(this, null, function* () {
41782
- let d53 = yield o57.call(i54, p63);
41783
- return l57.call(i54, d53);
41793
+ let d54 = yield o57.call(i54, p63);
41794
+ return l57.call(i54, d54);
41784
41795
  }))();
41785
41796
  let c74 = o57.call(i54, p63);
41786
41797
  return l57.call(i54, c74);
41787
41798
  } : i54[a77] = (...p63) => {
41788
41799
  if (this.defaults.async) return (() => __async(this, null, function* () {
41789
- let d53 = yield o57.apply(i54, p63);
41790
- return d53 === false && (d53 = yield l57.apply(i54, p63)), d53;
41800
+ let d54 = yield o57.apply(i54, p63);
41801
+ return d54 === false && (d54 = yield l57.apply(i54, p63)), d54;
41791
41802
  }))();
41792
41803
  let c74 = o57.apply(i54, p63);
41793
41804
  return c74 === false && (c74 = l57.apply(i54, p63)), c74;
@@ -41883,8 +41894,8 @@ var Yt = b8.parse;
41883
41894
  var en = x4.lex;
41884
41895
 
41885
41896
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/config.js
41886
- var d6 = Object.defineProperty;
41887
- var r21 = (e42, t48) => d6(e42, "name", { value: t48, configurable: true });
41897
+ var d7 = Object.defineProperty;
41898
+ var r21 = (e42, t48) => d7(e42, "name", { value: t48, configurable: true });
41888
41899
  var n20;
41889
41900
  Icon.set("ai-assistant-pro", t5).set("ai-commands-pro", o6).set("ai-add-context", t4).set("send", o8).set("microphone", e6).set("tool-bolt", o10).set("chevron-right", o7).set("shield", o9), Config.prototype.aiAssistantPro = { displayMode: "right", panelWidth: 400, panelHeight: 500, flightPanelHeight: 250, dialogFullSize: false, resizable: true, apiMode: "incremental", apiRequest: null, maxRetries: 3, requestTimeout: 6e4 * 5, retryDelay: 1e3, maxRecursionToolCallDepth: 1e3, enabledTools: H(), customTools: [], toolPermissions: {}, autoApproveTools: ["readDocument", "readBlocks", "readSelection", "insertHTML", "addHTML"], alwaysDenyTools: [], defaultPermissionScope: "conversation", storage: "indexedDB", maxConversations: 50, storageKey: "jodit-ai-assistant-pro", showConversationList: true, enableMarkdown: true, enableCodeHighlight: true, maxMessageHeight: 400, placeholderText: "Ask AI assistant...", sendShortcut: "Ctrl+Enter", showTimestamps: true, formatTimestamp: r21((e42, t48) => {
41890
41901
  const o57 = new Date(e42), i54 = (/* @__PURE__ */ new Date()).getTime() - o57.getTime();
@@ -41900,7 +41911,7 @@ Icon.set("ai-assistant-pro", t5).set("ai-commands-pro", o6).set("ai-add-context"
41900
41911
  return e42;
41901
41912
  });
41902
41913
  }, getAIProviderOptions(e42, t48) {
41903
- return d4(e42, t48);
41914
+ return d5(e42, t48);
41904
41915
  }, registerAIProvider(e42, t48) {
41905
41916
  p9(e42, t48);
41906
41917
  } }, Config.prototype.controls.aiAssistantPro = { icon: "ai-assistant-pro", tooltip: "AI Assistant", hotkeys: ["ctrl+shift+a", "cmd+shift+a"], exec(e42) {
@@ -41946,20 +41957,20 @@ var p12 = class p13 {
41946
41957
  let h60 = null;
41947
41958
  for (let f50 = 0; f50 <= i54; f50++) try {
41948
41959
  if (s50.signal.aborted) throw abort();
41949
- const d53 = setTimeout(() => {
41960
+ const d54 = setTimeout(() => {
41950
41961
  s50.abort();
41951
41962
  }, c74);
41952
41963
  try {
41953
41964
  const u58 = yield n57(a77, s50.signal);
41954
- return clearTimeout(d53), this.validateResponse(u58), u58;
41965
+ return clearTimeout(d54), this.validateResponse(u58), u58;
41955
41966
  } catch (u58) {
41956
- throw clearTimeout(d53), u58;
41967
+ throw clearTimeout(d54), u58;
41957
41968
  }
41958
- } catch (d53) {
41959
- if (h60 = d53, IS_PROD || console.warn(`API request attempt ${f50 + 1} failed:`, d53), f50 < i54) {
41969
+ } catch (d54) {
41970
+ if (h60 = d54, IS_PROD || console.warn(`API request attempt ${f50 + 1} failed:`, d54), f50 < i54) {
41960
41971
  const u58 = this.calculateRetryDelay(f50);
41961
41972
  yield this.sleep(u58);
41962
- } else throw d53;
41973
+ } else throw d54;
41963
41974
  }
41964
41975
  throw h60 || new Error("API request failed after all retries");
41965
41976
  } finally {
@@ -42027,11 +42038,11 @@ var p12 = class p13 {
42027
42038
  }
42028
42039
  };
42029
42040
  w5(p12, "APIClient");
42030
- var m11 = p12;
42041
+ var m10 = p12;
42031
42042
 
42032
42043
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/helpers/permission-manager.js
42033
- var d7 = Object.defineProperty;
42034
- var m12 = (c74, s50) => d7(c74, "name", { value: s50, configurable: true });
42044
+ var d8 = Object.defineProperty;
42045
+ var m11 = (c74, s50) => d8(c74, "name", { value: s50, configurable: true });
42035
42046
  var o19 = class o20 {
42036
42047
  constructor(s50, t48) {
42037
42048
  this.jodit = s50, this.toolRegistry = t48, this.permanentPermissions = /* @__PURE__ */ new Map(), this.PERMANENT_PERMISSIONS_KEY = "jodit-permissions.ai-assistant-pro", this.loadPermanentPermissions();
@@ -42115,7 +42126,7 @@ var o19 = class o20 {
42115
42126
  this.permanentPermissions.clear();
42116
42127
  }
42117
42128
  };
42118
- m12(o19, "PermissionManager");
42129
+ m11(o19, "PermissionManager");
42119
42130
  var u15 = o19;
42120
42131
 
42121
42132
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/helpers/state-manager.js
@@ -42283,8 +42294,8 @@ var l8 = class l9 {
42283
42294
  var e42, s50;
42284
42295
  try {
42285
42296
  const a77 = yield this.getAllKeys(), i54 = [], c74 = t48 == null ? void 0 : t48.toLowerCase().trim();
42286
- for (const d53 of a77) {
42287
- const o57 = yield this.get(d53);
42297
+ for (const d54 of a77) {
42298
+ const o57 = yield this.get(d54);
42288
42299
  if (o57) {
42289
42300
  if (c74) {
42290
42301
  const g24 = (e42 = o57.title) === null || e42 === void 0 ? void 0 : e42.toLowerCase().includes(c74), u58 = !g24 && o57.messages.some((y9) => y9.content.toLowerCase().includes(c74));
@@ -42293,7 +42304,7 @@ var l8 = class l9 {
42293
42304
  i54.push({ id: o57.id, title: (s50 = o57.title) !== null && s50 !== void 0 ? s50 : "", created: o57.created, updated: o57.updated, messageCount: o57.messages.length });
42294
42305
  }
42295
42306
  }
42296
- return i54.sort((d53, o57) => o57.updated - d53.updated), i54;
42307
+ return i54.sort((d54, o57) => o57.updated - d54.updated), i54;
42297
42308
  } catch (a77) {
42298
42309
  return console.error("Failed to list conversations:", a77), [];
42299
42310
  }
@@ -42408,7 +42419,7 @@ n22(K3, "generateToolCallId");
42408
42419
 
42409
42420
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/helpers/tool-registry.js
42410
42421
  var h9 = Object.defineProperty;
42411
- var m13 = (l57, e42) => h9(l57, "name", { value: e42, configurable: true });
42422
+ var m12 = (l57, e42) => h9(l57, "name", { value: e42, configurable: true });
42412
42423
  var u16 = class u17 {
42413
42424
  constructor(e42) {
42414
42425
  this.jodit = e42, this.tools = /* @__PURE__ */ new Map(), this.registerBuiltInTools(e42.o.aiAssistantPro.enabledTools || []), this.registerCustomTools(e42.o.aiAssistantPro.customTools || []);
@@ -42483,7 +42494,7 @@ var u16 = class u17 {
42483
42494
  this.tools.clear();
42484
42495
  }
42485
42496
  };
42486
- m13(u16, "ToolRegistry");
42497
+ m12(u16, "ToolRegistry");
42487
42498
  var f9 = u16;
42488
42499
 
42489
42500
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/conversation-list/conversation-list-item.js
@@ -42569,7 +42580,7 @@ h10([watch("container:click")], a25.prototype, "onClick", null), h10([autobind],
42569
42580
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/conversation-list/conversation-list.js
42570
42581
  init_decorators();
42571
42582
  var p16 = Object.defineProperty;
42572
- var d8 = (c74, t48) => p16(c74, "name", { value: t48, configurable: true });
42583
+ var d9 = (c74, t48) => p16(c74, "name", { value: t48, configurable: true });
42573
42584
  var a26;
42574
42585
  var l11 = function(c74, t48, s50, r59) {
42575
42586
  var e42 = arguments.length, i54 = e42 < 3 ? t48 : r59 === null ? r59 = Object.getOwnPropertyDescriptor(t48, s50) : r59, n57;
@@ -42616,7 +42627,7 @@ var h11 = (a26 = class extends UIGroup {
42616
42627
  this.j.e.fire("searchConversations.ai-assistant-pro", t48);
42617
42628
  }
42618
42629
  buildList(t48) {
42619
- const s50 = this.elements.map((e42) => e42.conversation), r59 = x2.reconcile(s50, t48, { getId: d8((e42) => e42.id, "getId"), isEqual: d8((e42, i54) => e42.id === i54.id && e42.updated === i54.updated, "isEqual"), preserveOrder: true });
42630
+ const s50 = this.elements.map((e42) => e42.conversation), r59 = x2.reconcile(s50, t48, { getId: d9((e42) => e42.id, "getId"), isEqual: d9((e42, i54) => e42.id === i54.id && e42.updated === i54.updated, "isEqual"), preserveOrder: true });
42620
42631
  r59.toRemove.forEach((e42) => {
42621
42632
  const i54 = this.conversationItems.get(e42.id);
42622
42633
  i54 && (this.elements.indexOf(i54) !== -1 && (this.remove(i54), i54.destruct()), this.conversationItems.delete(e42.id));
@@ -42650,13 +42661,13 @@ var h11 = (a26 = class extends UIGroup {
42650
42661
  var t48;
42651
42662
  (t48 = this.searchInput) === null || t48 === void 0 || t48.destruct(), super.destruct();
42652
42663
  }
42653
- }, d8(a26, "UIConversationList"), a26);
42664
+ }, d9(a26, "UIConversationList"), a26);
42654
42665
  l11([hook("ready")], h11.prototype, "afterRender", null), l11([debounce()], h11.prototype, "onSearch", null), h11 = l11([component], h11);
42655
42666
 
42656
42667
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/voice/microphone-streamer.js
42657
42668
  var h12 = Object.defineProperty;
42658
42669
  var a27 = (o57, t48) => h12(o57, "name", { value: t48, configurable: true });
42659
- function d9(o57) {
42670
+ function d10(o57) {
42660
42671
  const t48 = new Int16Array(o57.length);
42661
42672
  for (let s50 = 0; s50 < o57.length; s50++) {
42662
42673
  const n57 = Math.max(-1, Math.min(1, o57[s50]));
@@ -42664,7 +42675,7 @@ function d9(o57) {
42664
42675
  }
42665
42676
  return t48;
42666
42677
  }
42667
- a27(d9, "floatTo16BitPCM");
42678
+ a27(d10, "floatTo16BitPCM");
42668
42679
  function f10(o57, t48, s50) {
42669
42680
  if (s50 >= t48) return o57;
42670
42681
  const n57 = t48 / s50, i54 = Math.round(o57.length / n57), r59 = new Float32Array(i54);
@@ -42690,7 +42701,7 @@ var c13 = class c14 {
42690
42701
  const s50 = t48.createMediaStreamSource(this.stream), n57 = t48.createScriptProcessor(4096, 1, 1), i54 = t48.createGain();
42691
42702
  i54.gain.value = 0, n57.onaudioprocess = (r59) => {
42692
42703
  if (!this.running) return;
42693
- const e42 = r59.inputBuffer.getChannelData(0), l57 = d9(f10(e42, r59.inputBuffer.sampleRate, 24e3));
42704
+ const e42 = r59.inputBuffer.getChannelData(0), l57 = d10(f10(e42, r59.inputBuffer.sampleRate, 24e3));
42694
42705
  this.onFrame(l57);
42695
42706
  }, s50.connect(n57), n57.connect(i54), i54.connect(t48.destination), this.audioCtx = t48, this.source = s50, this.processor = n57, this.zeroGain = i54;
42696
42707
  });
@@ -42709,7 +42720,7 @@ var u18 = c13;
42709
42720
 
42710
42721
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/voice/voice-transcriber.js
42711
42722
  var p17 = Object.defineProperty;
42712
- var d10 = (u58, s50) => p17(u58, "name", { value: s50, configurable: true });
42723
+ var d11 = (u58, s50) => p17(u58, "name", { value: s50, configurable: true });
42713
42724
  var l12 = class l13 {
42714
42725
  constructor(s50) {
42715
42726
  this.options = s50, this.ws = null, this.streamer = null, this.running = false;
@@ -42779,7 +42790,7 @@ var l12 = class l13 {
42779
42790
  this.running = false, (s50 = this.streamer) === null || s50 === void 0 || s50.stop(), this.streamer = null, n57 && ((t48 = (i54 = this.options).onEnd) === null || t48 === void 0 || t48.call(i54));
42780
42791
  }
42781
42792
  };
42782
- d10(l12, "VoiceTranscriber");
42793
+ d11(l12, "VoiceTranscriber");
42783
42794
  var c15 = l12;
42784
42795
 
42785
42796
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/voice/voice-input-button.js
@@ -42858,14 +42869,14 @@ init_decorators();
42858
42869
  init_assert();
42859
42870
  var v9 = Object.defineProperty;
42860
42871
  var a28 = (u58, t48) => v9(u58, "name", { value: t48, configurable: true });
42861
- var d11;
42872
+ var d12;
42862
42873
  var h13 = function(u58, t48, e42, i54) {
42863
42874
  var n57 = arguments.length, s50 = n57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, o57;
42864
42875
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(u58, t48, e42, i54);
42865
42876
  else for (var l57 = u58.length - 1; l57 >= 0; l57--) (o57 = u58[l57]) && (s50 = (n57 < 3 ? o57(s50) : n57 > 3 ? o57(t48, e42, s50) : o57(t48, e42)) || s50);
42866
42877
  return n57 > 3 && s50 && Object.defineProperty(t48, e42, s50), s50;
42867
42878
  };
42868
- var r23 = (d11 = class extends UIElement {
42879
+ var r23 = (d12 = class extends UIElement {
42869
42880
  className() {
42870
42881
  return "UIInputArea";
42871
42882
  }
@@ -42988,7 +42999,7 @@ var r23 = (d11 = class extends UIElement {
42988
42999
  var t48, e42, i54, n57;
42989
43000
  (t48 = this.textarea) === null || t48 === void 0 || t48.destruct(), (e42 = this.sendButton) === null || e42 === void 0 || e42.destruct(), (i54 = this.stopButton) === null || i54 === void 0 || i54.destruct(), (n57 = this.voiceButton) === null || n57 === void 0 || n57.destruct(), super.destruct();
42990
43001
  }
42991
- }, a28(d11, "UIInputArea"), d11);
43002
+ }, a28(d12, "UIInputArea"), d12);
42992
43003
  h13([watch("input-row:click")], r23.prototype, "onInputRowClick", null), h13([hook("ready")], r23.prototype, "afterRender", null), h13([autobind], r23.prototype, "onSend", null), h13([autobind], r23.prototype, "onStop", null), r23 = h13([component], r23);
42993
43004
 
42994
43005
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/message-list/artifact.js
@@ -42996,14 +43007,14 @@ init_decorators();
42996
43007
  init_attr();
42997
43008
  var g7 = Object.defineProperty;
42998
43009
  var p18 = (l57, t48) => g7(l57, "name", { value: t48, configurable: true });
42999
- var d12;
43010
+ var d13;
43000
43011
  var u20 = function(l57, t48, e42, i54) {
43001
43012
  var a77 = arguments.length, n57 = a77 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, s50;
43002
43013
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n57 = Reflect.decorate(l57, t48, e42, i54);
43003
43014
  else for (var r59 = l57.length - 1; r59 >= 0; r59--) (s50 = l57[r59]) && (n57 = (a77 < 3 ? s50(n57) : a77 > 3 ? s50(t48, e42, n57) : s50(t48, e42)) || n57);
43004
43015
  return a77 > 3 && n57 && Object.defineProperty(t48, e42, n57), n57;
43005
43016
  };
43006
- var o25 = (d12 = class extends UIElement {
43017
+ var o25 = (d13 = class extends UIElement {
43007
43018
  className() {
43008
43019
  return "UIArtifact";
43009
43020
  }
@@ -43110,8 +43121,8 @@ var o25 = (d12 = class extends UIElement {
43110
43121
  const c74 = this.j.c.element("a", { class: this.getFullElName("download-btn"), download: ((i54 = this.artifact.metadata) === null || i54 === void 0 ? void 0 : i54.filename) || "download.file" });
43111
43122
  if (c74.textContent = this.j.i18n("Download"), this.artifact.data.kind === "url") c74.href = this.artifact.data.url;
43112
43123
  else if (this.artifact.data.kind === "base64") {
43113
- const m54 = this.artifact.mimeType || "application/octet-stream";
43114
- c74.href = `data:${m54};base64,${this.artifact.data.base64}`;
43124
+ const m53 = this.artifact.mimeType || "application/octet-stream";
43125
+ c74.href = `data:${m53};base64,${this.artifact.data.base64}`;
43115
43126
  }
43116
43127
  n57.appendChild(s50), n57.appendChild(r59), n57.appendChild(c74), a77.appendChild(n57), this.container.appendChild(a77);
43117
43128
  }
@@ -43140,7 +43151,7 @@ var o25 = (d12 = class extends UIElement {
43140
43151
  updateArtifact(t48) {
43141
43152
  this.artifact = t48, this.renderArtifact();
43142
43153
  }
43143
- }, p18(d12, "UIArtifact"), d12);
43154
+ }, p18(d13, "UIArtifact"), d13);
43144
43155
  u20([hook("ready")], o25.prototype, "onReady", null), o25 = u20([component], o25);
43145
43156
 
43146
43157
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/message-list/item/message-list-item.js
@@ -43154,7 +43165,7 @@ var p19 = function(c74, t48, e42, s50) {
43154
43165
  else for (var a77 = c74.length - 1; a77 >= 0; a77--) (o57 = c74[a77]) && (n57 = (i54 < 3 ? o57(n57) : i54 > 3 ? o57(t48, e42, n57) : o57(t48, e42)) || n57);
43155
43166
  return i54 > 3 && n57 && Object.defineProperty(t48, e42, n57), n57;
43156
43167
  };
43157
- var d13 = (l14 = class extends UIElement {
43168
+ var d14 = (l14 = class extends UIElement {
43158
43169
  className() {
43159
43170
  return "UIMessageListItem";
43160
43171
  }
@@ -43229,8 +43240,8 @@ var d13 = (l14 = class extends UIElement {
43229
43240
  o57.textContent = this.getToolStatusText(t48.status || "unknown"), s50.appendChild(i54), s50.appendChild(n57), s50.appendChild(o57), e42.appendChild(s50);
43230
43241
  const a77 = this.createExpandableSection("Arguments", JSON.stringify(t48.arguments || {}, null, 2));
43231
43242
  if (e42.appendChild(a77), t48.result) {
43232
- const h60 = t48.result.error ? `Error: ${t48.result.error}` : t48.result.result || "", m54 = this.createExpandableSection("Result", typeof h60 == "string" ? h60 : JSON.stringify(h60, null, 2));
43233
- e42.appendChild(m54);
43243
+ const h60 = t48.result.error ? `Error: ${t48.result.error}` : t48.result.result || "", m53 = this.createExpandableSection("Result", typeof h60 == "string" ? h60 : JSON.stringify(h60, null, 2));
43244
+ e42.appendChild(m53);
43234
43245
  }
43235
43246
  return e42;
43236
43247
  }
@@ -43263,7 +43274,7 @@ var d13 = (l14 = class extends UIElement {
43263
43274
  (t48 = this.actionsButton) === null || t48 === void 0 || t48.destruct(), (e42 = this.contextMenu) === null || e42 === void 0 || e42.destruct(), (s50 = this.artifactGroup) === null || s50 === void 0 || s50.destruct(), super.destruct();
43264
43275
  }
43265
43276
  }, r24(l14, "UIMessageListItem"), l14);
43266
- p19([hook("ready")], d13.prototype, "onReady", null), d13 = p19([component], d13);
43277
+ p19([hook("ready")], d14.prototype, "onReady", null), d14 = p19([component], d14);
43267
43278
 
43268
43279
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/message-list/message-list.js
43269
43280
  init_decorators();
@@ -43273,7 +43284,7 @@ var a29;
43273
43284
  var l15 = function(r59, s50, i54, t48) {
43274
43285
  var e42 = arguments.length, o57 = e42 < 3 ? s50 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(s50, i54) : t48, c74;
43275
43286
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(r59, s50, i54, t48);
43276
- else for (var m54 = r59.length - 1; m54 >= 0; m54--) (c74 = r59[m54]) && (o57 = (e42 < 3 ? c74(o57) : e42 > 3 ? c74(s50, i54, o57) : c74(s50, i54)) || o57);
43287
+ else for (var m53 = r59.length - 1; m53 >= 0; m53--) (c74 = r59[m53]) && (o57 = (e42 < 3 ? c74(o57) : e42 > 3 ? c74(s50, i54, o57) : c74(s50, i54)) || o57);
43277
43288
  return e42 > 3 && o57 && Object.defineProperty(s50, i54, o57), o57;
43278
43289
  };
43279
43290
  var n24 = (a29 = class extends UIGroup {
@@ -43313,7 +43324,7 @@ var n24 = (a29 = class extends UIGroup {
43313
43324
  const o57 = this.messageItems.get(t48.id);
43314
43325
  o57 && (o57.updateMessage(t48), this.elements.indexOf(o57) !== e42 && e42 < this.elements.length && (this.remove(o57), this.append(o57, e42)));
43315
43326
  }), i54.toCreate.forEach((t48) => {
43316
- const e42 = new d13(this.j, t48, this.params);
43327
+ const e42 = new d14(this.j, t48, this.params);
43317
43328
  this.messageItems.set(t48.id, e42);
43318
43329
  const o57 = this.messages.indexOf(t48);
43319
43330
  this.append(e42, o57);
@@ -43331,7 +43342,7 @@ l15([hook("ready")], n24.prototype, "afterRender", null), l15([watch(["scrollCon
43331
43342
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/permission-request/permission-request.js
43332
43343
  init_decorators();
43333
43344
  var v10 = Object.defineProperty;
43334
- var d14 = (r59, t48) => v10(r59, "name", { value: t48, configurable: true });
43345
+ var d15 = (r59, t48) => v10(r59, "name", { value: t48, configurable: true });
43335
43346
  var l16;
43336
43347
  var c16 = function(r59, t48, e42, o57) {
43337
43348
  var i54 = arguments.length, n57 = i54 < 3 ? t48 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t48, e42) : o57, a77;
@@ -43398,7 +43409,7 @@ var s18 = (l16 = class extends UIElement {
43398
43409
  var t48, e42, o57;
43399
43410
  (t48 = this.scopeSelect) === null || t48 === void 0 || t48.destruct(), (e42 = this.approveButton) === null || e42 === void 0 || e42.destruct(), (o57 = this.denyButton) === null || o57 === void 0 || o57.destruct(), super.destruct();
43400
43411
  }
43401
- }, d14(l16, "UIPermissionRequest"), l16);
43412
+ }, d15(l16, "UIPermissionRequest"), l16);
43402
43413
  c16([hook("ready")], s18.prototype, "afterRender", null), c16([autobind], s18.prototype, "onApprove", null), c16([autobind], s18.prototype, "onDeny", null), s18 = c16([component], s18);
43403
43414
 
43404
43415
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/settings-popup/dialog-settings.js
@@ -43413,7 +43424,7 @@ var o26;
43413
43424
  var r25 = function(h60, t48, e42, s50) {
43414
43425
  var l57 = arguments.length, a77 = l57 < 3 ? t48 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(t48, e42) : s50, n57;
43415
43426
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(h60, t48, e42, s50);
43416
- else for (var d53 = h60.length - 1; d53 >= 0; d53--) (n57 = h60[d53]) && (a77 = (l57 < 3 ? n57(a77) : l57 > 3 ? n57(t48, e42, a77) : n57(t48, e42)) || a77);
43427
+ else for (var d54 = h60.length - 1; d54 >= 0; d54--) (n57 = h60[d54]) && (a77 = (l57 < 3 ? n57(a77) : l57 > 3 ? n57(t48, e42, a77) : n57(t48, e42)) || a77);
43417
43428
  return l57 > 3 && a77 && Object.defineProperty(t48, e42, a77), a77;
43418
43429
  };
43419
43430
  var i24 = (o26 = class extends UIInput {
@@ -43460,7 +43471,7 @@ r25([watch(["handle:mousedown", "handle:touchstart"])], i24.prototype, "onDragSt
43460
43471
  var f11 = Object.defineProperty;
43461
43472
  var h15 = (l57, e42) => f11(l57, "name", { value: e42, configurable: true });
43462
43473
  var r26;
43463
- var d15 = function(l57, e42, t48, n57) {
43474
+ var d16 = function(l57, e42, t48, n57) {
43464
43475
  var o57 = arguments.length, i54 = o57 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, t48) : n57, a77;
43465
43476
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(l57, e42, t48, n57);
43466
43477
  else for (var s50 = l57.length - 1; s50 >= 0; s50--) (a77 = l57[s50]) && (i54 = (o57 < 3 ? a77(i54) : o57 > 3 ? a77(e42, t48, i54) : a77(e42, t48)) || i54);
@@ -43520,17 +43531,17 @@ var p21 = (r26 = class extends UIElement {
43520
43531
  (e42 = this.modelSelect) === null || e42 === void 0 || e42.destruct(), super.destruct();
43521
43532
  }
43522
43533
  }, h15(r26, "UIDialogSettings"), r26);
43523
- d15([watch("state.defaultModel")], p21.prototype, "onDefaultModelChange", null), d15([watch("state.defaultTemperature")], p21.prototype, "onDefaultTemperatureChange", null), p21 = d15([component], p21);
43534
+ d16([watch("state.defaultModel")], p21.prototype, "onDefaultModelChange", null), d16([watch("state.defaultTemperature")], p21.prototype, "onDefaultTemperatureChange", null), p21 = d16([component], p21);
43524
43535
 
43525
43536
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/settings-popup/global-settings.js
43526
43537
  init_decorators();
43527
- var m14 = Object.defineProperty;
43528
- var p22 = (d53, t48) => m14(d53, "name", { value: t48, configurable: true });
43538
+ var m13 = Object.defineProperty;
43539
+ var p22 = (d54, t48) => m13(d54, "name", { value: t48, configurable: true });
43529
43540
  var o27;
43530
- var u22 = function(d53, t48, e42, i54) {
43541
+ var u22 = function(d54, t48, e42, i54) {
43531
43542
  var n57 = arguments.length, a77 = n57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, l57;
43532
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(d53, t48, e42, i54);
43533
- else for (var s50 = d53.length - 1; s50 >= 0; s50--) (l57 = d53[s50]) && (a77 = (n57 < 3 ? l57(a77) : n57 > 3 ? l57(t48, e42, a77) : l57(t48, e42)) || a77);
43543
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(d54, t48, e42, i54);
43544
+ else for (var s50 = d54.length - 1; s50 >= 0; s50--) (l57 = d54[s50]) && (a77 = (n57 < 3 ? l57(a77) : n57 > 3 ? l57(t48, e42, a77) : l57(t48, e42)) || a77);
43534
43545
  return n57 > 3 && a77 && Object.defineProperty(t48, e42, a77), a77;
43535
43546
  };
43536
43547
  var h16 = (o27 = class extends UIElement {
@@ -43602,12 +43613,12 @@ u22([watch("state.displayMode")], h16.prototype, "onStateDisplayModeChange", nul
43602
43613
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/settings-popup/settings-popup.js
43603
43614
  init_decorators();
43604
43615
  var g10 = Object.defineProperty;
43605
- var r27 = (d53, t48) => g10(d53, "name", { value: t48, configurable: true });
43616
+ var r27 = (d54, t48) => g10(d54, "name", { value: t48, configurable: true });
43606
43617
  var a30;
43607
- var c17 = function(d53, t48, e42, i54) {
43618
+ var c17 = function(d54, t48, e42, i54) {
43608
43619
  var l57 = arguments.length, s50 = l57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, n57;
43609
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(d53, t48, e42, i54);
43610
- else for (var o57 = d53.length - 1; o57 >= 0; o57--) (n57 = d53[o57]) && (s50 = (l57 < 3 ? n57(s50) : l57 > 3 ? n57(t48, e42, s50) : n57(t48, e42)) || s50);
43620
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(d54, t48, e42, i54);
43621
+ else for (var o57 = d54.length - 1; o57 >= 0; o57--) (n57 = d54[o57]) && (s50 = (l57 < 3 ? n57(s50) : l57 > 3 ? n57(t48, e42, s50) : n57(t48, e42)) || s50);
43611
43622
  return l57 > 3 && s50 && Object.defineProperty(t48, e42, s50), s50;
43612
43623
  };
43613
43624
  var h17 = (a30 = class extends UIElement {
@@ -43704,7 +43715,7 @@ h18([watch("extraState.displayMode")], u23.prototype, "onChangeOptionsClosePopup
43704
43715
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/welcome-screen/welcome-screen.js
43705
43716
  init_decorators();
43706
43717
  var a31 = Object.defineProperty;
43707
- var d16 = (i54, e42) => a31(i54, "name", { value: e42, configurable: true });
43718
+ var d17 = (i54, e42) => a31(i54, "name", { value: e42, configurable: true });
43708
43719
  var c18;
43709
43720
  var f13 = function(i54, e42, o57, n57) {
43710
43721
  var r59 = arguments.length, t48 = r59 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, o57) : n57, s50;
@@ -43728,7 +43739,7 @@ var v11 = (c18 = class extends UIElement {
43728
43739
  <div class="&__tip">~Tip: Select text in editor to add context~</div>
43729
43740
  </div>`;
43730
43741
  }
43731
- }, d16(c18, "UIWelcomeScreen"), c18);
43742
+ }, d17(c18, "UIWelcomeScreen"), c18);
43732
43743
  v11 = f13([component], v11);
43733
43744
 
43734
43745
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/main-panel/main-panel.js
@@ -43736,14 +43747,14 @@ init_decorators();
43736
43747
  init_dom();
43737
43748
  var C2 = Object.defineProperty;
43738
43749
  var p23 = (u58, t48) => C2(u58, "name", { value: t48, configurable: true });
43739
- var d17;
43750
+ var d18;
43740
43751
  var l18 = function(u58, t48, e42, s50) {
43741
43752
  var i54 = arguments.length, o57 = i54 < 3 ? t48 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(t48, e42) : s50, n57;
43742
43753
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(u58, t48, e42, s50);
43743
43754
  else for (var r59 = u58.length - 1; r59 >= 0; r59--) (n57 = u58[r59]) && (o57 = (i54 < 3 ? n57(o57) : i54 > 3 ? n57(t48, e42, o57) : n57(t48, e42)) || o57);
43744
43755
  return i54 > 3 && o57 && Object.defineProperty(t48, e42, o57), o57;
43745
43756
  };
43746
- var a32 = (d17 = class extends UIElement {
43757
+ var a32 = (d18 = class extends UIElement {
43747
43758
  className() {
43748
43759
  return "UIMainPanel";
43749
43760
  }
@@ -43872,7 +43883,7 @@ var a32 = (d17 = class extends UIElement {
43872
43883
  var t48, e42, s50, i54, o57, n57, r59, v22;
43873
43884
  (t48 = this.welcomeScreen) === null || t48 === void 0 || t48.destruct(), (e42 = this.conversationList) === null || e42 === void 0 || e42.destruct(), (s50 = this.messageList) === null || s50 === void 0 || s50.destruct(), (i54 = this.inputArea) === null || i54 === void 0 || i54.destruct(), (o57 = this.permissionRequest) === null || o57 === void 0 || o57.destruct(), (n57 = this.settingsButton) === null || n57 === void 0 || n57.destruct(), (r59 = this.conversationActionsButton) === null || r59 === void 0 || r59.destruct(), (v22 = this.headerContextMenu) === null || v22 === void 0 || v22.destruct(), super.destruct();
43874
43885
  }
43875
- }, p23(d17, "UIMainPanel"), d17);
43886
+ }, p23(d18, "UIMainPanel"), d18);
43876
43887
  l18([hook("ready")], a32.prototype, "afterRender", null), l18([watch(["state.currentView", "state.currentConversation"])], a32.prototype, "__onChangeView", null), l18([autobind], a32.prototype, "showConversationActionsMenu", null), l18([autobind], a32.prototype, "showRenamePrompt", null), l18([watch("state.currentConversation")], a32.prototype, "onChangeCurrentConversation", null), l18([watch("state.conversations")], a32.prototype, "onChangeConversations", null), l18([watch("state.selectionContexts")], a32.prototype, "onChangeSelectionContexts", null), l18([watch("state.isLoading")], a32.prototype, "onChangeLoading", null), l18([watch("state.pendingToolCalls")], a32.prototype, "onChangePendingToolCalls", null), a32 = l18([component], a32);
43877
43888
 
43878
43889
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/message-builder.js
@@ -43886,11 +43897,11 @@ function c19() {
43886
43897
  return { id: "", role: "assistant", content: "", artifacts: [], timestamp: Date.now(), toolCalls: [] };
43887
43898
  }
43888
43899
  t18(c19, "createAIMessage");
43889
- function m15(e42) {
43900
+ function m14(e42) {
43890
43901
  return { id: "error_" + _4(), role: "assistant", content: `\u274C Error: ${e42.message}`, timestamp: Date.now(), toolCalls: [], artifacts: [] };
43891
43902
  }
43892
- t18(m15, "createErrorMessage");
43893
- function d18(e42, r59) {
43903
+ t18(m14, "createErrorMessage");
43904
+ function d19(e42, r59) {
43894
43905
  return __async(this, null, function* () {
43895
43906
  if (!r59 || r59.length === 0) return r59;
43896
43907
  const o57 = e42.o.aiAssistantPro.uploadBase64Artifact;
@@ -43900,12 +43911,12 @@ function d18(e42, r59) {
43900
43911
  }))) : r59;
43901
43912
  });
43902
43913
  }
43903
- t18(d18, "uploadArtifacts");
43914
+ t18(d19, "uploadArtifacts");
43904
43915
 
43905
43916
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/ai-response-handler.js
43906
43917
  var l19 = Object.defineProperty;
43907
43918
  var c20 = (a77, t48) => l19(a77, "name", { value: t48, configurable: true });
43908
- function m16(a77, t48, s50) {
43919
+ function m15(a77, t48, s50) {
43909
43920
  return __async(this, null, function* () {
43910
43921
  let e42 = c19(), r59 = -1;
43911
43922
  try {
@@ -43925,7 +43936,7 @@ function m16(a77, t48, s50) {
43925
43936
  break;
43926
43937
  }
43927
43938
  case "error": {
43928
- const o57 = m15(n57.error);
43939
+ const o57 = m14(n57.error);
43929
43940
  e42 = __spreadProps(__spreadValues({}, e42), { id: o57.id, content: o57.content });
43930
43941
  break;
43931
43942
  }
@@ -43948,7 +43959,7 @@ function m16(a77, t48, s50) {
43948
43959
  return { aiMessage: e42, index: r59, conversation: s50 };
43949
43960
  });
43950
43961
  }
43951
- c20(m16, "processStreamingResponse");
43962
+ c20(m15, "processStreamingResponse");
43952
43963
  function u24(a77, t48) {
43953
43964
  const s50 = __spreadProps(__spreadValues({}, c19()), { id: a77.response.responseId, content: a77.response.content, toolCalls: a77.response.toolCalls || [], artifacts: a77.response.artifacts || [] }), e42 = t48.messages.slice();
43954
43965
  e42.push(s50), t48 = __spreadProps(__spreadValues({}, t48), { messages: e42, updated: Date.now() });
@@ -43960,7 +43971,7 @@ function h19(a77, t48, s50, e42) {
43960
43971
  return __async(this, null, function* () {
43961
43972
  if (t48.artifacts && t48.artifacts.length > 0) {
43962
43973
  const r59 = s50.messages.slice();
43963
- return r59[e42] = __spreadProps(__spreadValues({}, r59[e42]), { artifacts: yield d18(a77, t48.artifacts) }), __spreadProps(__spreadValues({}, s50), { messages: r59, updated: Date.now() });
43974
+ return r59[e42] = __spreadProps(__spreadValues({}, r59[e42]), { artifacts: yield d19(a77, t48.artifacts) }), __spreadProps(__spreadValues({}, s50), { messages: r59, updated: Date.now() });
43964
43975
  }
43965
43976
  return s50;
43966
43977
  });
@@ -43983,16 +43994,16 @@ function C3(t48) {
43983
43994
  return null;
43984
43995
  }
43985
43996
  o28(C3, "findParentMessageId");
43986
- var d19 = /* @__PURE__ */ new Set(["executed", "denied", "error"]);
43997
+ var d20 = /* @__PURE__ */ new Set(["executed", "denied", "error"]);
43987
43998
  function l20(t48) {
43988
- return d19.has(t48);
43999
+ return d20.has(t48);
43989
44000
  }
43990
44001
  o28(l20, "isTerminalToolCallStatus");
43991
- function m17(t48) {
44002
+ function m16(t48) {
43992
44003
  const e42 = t48.messages[t48.messages.length - 1];
43993
44004
  return (e42 == null ? void 0 : e42.toolCalls) ? e42.toolCalls.every((s50) => l20(s50.status)) : false;
43994
44005
  }
43995
- o28(m17, "areAllToolCallsExecuted");
44006
+ o28(m16, "areAllToolCallsExecuted");
43996
44007
  function p25(t48) {
43997
44008
  return t48.messages.filter((e42) => e42.toolCalls && e42.toolCalls.length > 0 && e42.toolCalls.some((s50) => !l20(s50.status)));
43998
44009
  }
@@ -44001,7 +44012,7 @@ o28(p25, "findMessagesWithPendingToolCalls");
44001
44012
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/tool-execution.js
44002
44013
  var s20 = Object.defineProperty;
44003
44014
  var a33 = (l57, o57) => s20(l57, "name", { value: o57, configurable: true });
44004
- function d20(l57, o57, e42) {
44015
+ function d21(l57, o57, e42) {
44005
44016
  return __async(this, null, function* () {
44006
44017
  let t48;
44007
44018
  try {
@@ -44013,7 +44024,7 @@ function d20(l57, o57, e42) {
44013
44024
  return l57.e.fire("toolCallExecuted.ai-assistant-pro", t48, { toolCallId: t48.id, result: t48.result }), t48;
44014
44025
  });
44015
44026
  }
44016
- a33(d20, "executeToolCall");
44027
+ a33(d21, "executeToolCall");
44017
44028
  function c21(l57, o57) {
44018
44029
  var e42, t48;
44019
44030
  const r59 = (e42 = l57.toolCalls) === null || e42 === void 0 ? void 0 : e42.findIndex((i54) => i54.id === o57.id);
@@ -44025,8 +44036,8 @@ a33(c21, "updateToolCallInMessage");
44025
44036
 
44026
44037
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/event-handlers.js
44027
44038
  init_constants();
44028
- var m18 = Object.defineProperty;
44029
- var t19 = (e42, o57) => m18(e42, "name", { value: o57, configurable: true });
44039
+ var m17 = Object.defineProperty;
44040
+ var t19 = (e42, o57) => m17(e42, "name", { value: o57, configurable: true });
44030
44041
  function L3(e42, o57, n57, i54, f50) {
44031
44042
  return __async(this, null, function* () {
44032
44043
  const s50 = n57.getPendingToolCalls().find((c74) => c74.id === e42);
@@ -44038,13 +44049,13 @@ function L3(e42, o57, n57, i54, f50) {
44038
44049
  t19(L3, "handleToolApproval");
44039
44050
  function x5(e42, o57, n57, i54) {
44040
44051
  return __async(this, null, function* () {
44041
- const a77 = n57.getPendingToolCalls().find((d53) => d53.id === o57);
44052
+ const a77 = n57.getPendingToolCalls().find((d54) => d54.id === o57);
44042
44053
  if (!a77) return;
44043
44054
  let s50 = n57.getCurrentConversation();
44044
44055
  if (!s50) return;
44045
- const l57 = s50.messages.findIndex((d53) => {
44056
+ const l57 = s50.messages.findIndex((d54) => {
44046
44057
  var u58;
44047
- return (u58 = d53.toolCalls) === null || u58 === void 0 ? void 0 : u58.find((p63) => p63.id === o57);
44058
+ return (u58 = d54.toolCalls) === null || u58 === void 0 ? void 0 : u58.find((p63) => p63.id === o57);
44048
44059
  });
44049
44060
  if (l57 === -1) return;
44050
44061
  const r59 = s50.messages[l57], c74 = __spreadProps(__spreadValues({}, a77), { result: { error: "Tool call denied by user." }, status: "denied" }), C14 = c21(r59, c74), v22 = [...s50.messages];
@@ -44067,7 +44078,7 @@ function P2(e42, o57, n57) {
44067
44078
  });
44068
44079
  }
44069
44080
  t19(P2, "handleConversationSelect");
44070
- function D2(e42, o57) {
44081
+ function D3(e42, o57) {
44071
44082
  return __async(this, null, function* () {
44072
44083
  o57.setView("conversationList");
44073
44084
  try {
@@ -44079,7 +44090,7 @@ function D2(e42, o57) {
44079
44090
  }
44080
44091
  });
44081
44092
  }
44082
- t19(D2, "handleBackToList");
44093
+ t19(D3, "handleBackToList");
44083
44094
  function S3(e42, o57, n57) {
44084
44095
  return __async(this, null, function* () {
44085
44096
  n57.setLoading(true);
@@ -44131,8 +44142,8 @@ r28(o29, "getCurrentSelectionContext");
44131
44142
 
44132
44143
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/storage-helpers.js
44133
44144
  init_constants();
44134
- var d21 = Object.defineProperty;
44135
- var r29 = (s50, i54) => d21(s50, "name", { value: i54, configurable: true });
44145
+ var d22 = Object.defineProperty;
44146
+ var r29 = (s50, i54) => d22(s50, "name", { value: i54, configurable: true });
44136
44147
  function f15(s50, i54, e42, n57, t48) {
44137
44148
  return __async(this, null, function* () {
44138
44149
  try {
@@ -44170,8 +44181,8 @@ function w6(s50, i54, e42) {
44170
44181
  r29(w6, "loadInitialData");
44171
44182
 
44172
44183
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/theme.js
44173
- var m19 = Object.defineProperty;
44174
- var _5 = (v22, t48) => m19(v22, "name", { value: t48, configurable: true });
44184
+ var m18 = Object.defineProperty;
44185
+ var _5 = (v22, t48) => m18(v22, "name", { value: t48, configurable: true });
44175
44186
  var l22 = ["jodit_theme_dark", "jodit-ai-assistant-pro_theme_dark", "jodit-dialog_theme_dark"];
44176
44187
  var e17 = ["jodit_theme_light", "jodit-ai-assistant-pro_theme_light", "jodit-dialog_theme_light"];
44177
44188
  function u25(v22, t48, a77, o57, s50) {
@@ -44179,10 +44190,10 @@ function u25(v22, t48, a77, o57, s50) {
44179
44190
  const i54 = s50 == null ? void 0 : s50.container;
44180
44191
  i54 == null ? void 0 : i54.classList.remove(...l22), i54 == null ? void 0 : i54.classList.remove(...e17);
44181
44192
  }
44182
- let d53;
44183
- if (t48 === "dark" ? d53 = l22 : d53 = e17, o57 == null ? void 0 : o57.classList.add(...d53), a77 === "dialog") {
44193
+ let d54;
44194
+ if (t48 === "dark" ? d54 = l22 : d54 = e17, o57 == null ? void 0 : o57.classList.add(...d54), a77 === "dialog") {
44184
44195
  const i54 = s50 == null ? void 0 : s50.container;
44185
- i54 == null ? void 0 : i54.classList.add(...d53);
44196
+ i54 == null ? void 0 : i54.classList.add(...d54);
44186
44197
  }
44187
44198
  }
44188
44199
  _5(u25, "applyTheme");
@@ -44223,8 +44234,8 @@ var r30 = /* @__PURE__ */ new WeakMap();
44223
44234
  var h20 = class h21 {
44224
44235
  static install(t48, e42, o57 = {}) {
44225
44236
  this.remove(t48);
44226
- const { panelHeight: d53 = 250, containerClassName: l57, toolbarSelector: i54 = ".jodit-toolbar__box", gap: c74 = 16 } = o57, s50 = t48.j.c.div("jodit-flight-position");
44227
- l57 && s50.classList.add(l57), s50.style.setProperty("--flight-panel-height", `${d53}px`), s50.appendChild(t48.container), document.body.appendChild(s50);
44237
+ const { panelHeight: d54 = 250, containerClassName: l57, toolbarSelector: i54 = ".jodit-toolbar__box", gap: c74 = 16 } = o57, s50 = t48.j.c.div("jodit-flight-position");
44238
+ l57 && s50.classList.add(l57), s50.style.setProperty("--flight-panel-height", `${d54}px`), s50.appendChild(t48.container), document.body.appendChild(s50);
44228
44239
  const a77 = { toolbarSelector: i54, gap: c74 }, n57 = b10(() => {
44229
44240
  this.updatePosition(s50, e42, a77);
44230
44241
  }, "onScroll"), p63 = new ResizeObserver(n57);
@@ -44233,9 +44244,9 @@ var h20 = class h21 {
44233
44244
  r30.set(t48, v22), this.updatePosition(s50, e42, a77);
44234
44245
  }
44235
44246
  static updatePosition(t48, e42, o57) {
44236
- const { toolbarSelector: d53, gap: l57 } = o57, i54 = e42.getBoundingClientRect(), c74 = window.innerHeight, s50 = t48.offsetHeight || 250;
44247
+ const { toolbarSelector: d54, gap: l57 } = o57, i54 = e42.getBoundingClientRect(), c74 = window.innerHeight, s50 = t48.offsetHeight || 250;
44237
44248
  t48.style.left = `${i54.left}px`, t48.style.width = `${i54.width}px`;
44238
- const a77 = e42.querySelector(d53), n57 = a77 ? a77.getBoundingClientRect().bottom : i54.top, p63 = i54.bottom - n57, v22 = s50 <= p63, u58 = i54.bottom <= c74;
44249
+ const a77 = e42.querySelector(d54), n57 = a77 ? a77.getBoundingClientRect().bottom : i54.top, p63 = i54.bottom - n57, v22 = s50 <= p63, u58 = i54.bottom <= c74;
44239
44250
  v22 ? u58 ? (t48.style.top = "auto", t48.style.bottom = `${c74 - i54.bottom + l57}px`) : (t48.style.top = "auto", t48.style.bottom = `${l57}px`) : (t48.style.bottom = "auto", t48.style.top = `${n57}px`);
44240
44251
  }
44241
44252
  static remove(t48) {
@@ -44315,7 +44326,7 @@ var l23 = (f18 = class extends Plugin {
44315
44326
  return new u15(this.j, this.toolRegistry);
44316
44327
  }
44317
44328
  get apiClient() {
44318
- return new m11(this.j, this.toolRegistry);
44329
+ return new m10(this.j, this.toolRegistry);
44319
44330
  }
44320
44331
  get storage() {
44321
44332
  const { storage: t48, storageKey: e42, maxConversations: a77 } = this.j.o.aiAssistantPro;
@@ -44351,16 +44362,16 @@ var l23 = (f18 = class extends Plugin {
44351
44362
  const P4 = `${v22}:${s50}`;
44352
44363
  if (n57 > 0) {
44353
44364
  const g24 = r59.get(P4);
44354
- if (g24 && Date.now() - g24.ts < n57) return g24.data.map((m54) => ({ value: m54, title: m54 }));
44365
+ if (g24 && Date.now() - g24.ts < n57) return g24.data.map((m53) => ({ value: m53, title: m53 }));
44355
44366
  }
44356
44367
  c74 && clearTimeout(c74);
44357
44368
  const I2 = new AbortController();
44358
44369
  return new Promise((g24) => {
44359
44370
  c74 = setTimeout(() => __async(this, null, function* () {
44360
44371
  try {
44361
- const m54 = yield e42(v22, s50, I2.signal);
44362
- if (Array.isArray(m54)) {
44363
- const x9 = m54.slice(0, s50);
44372
+ const m53 = yield e42(v22, s50, I2.signal);
44373
+ if (Array.isArray(m53)) {
44374
+ const x9 = m53.slice(0, s50);
44364
44375
  if (n57 > 0) {
44365
44376
  if (r59.size >= o57) {
44366
44377
  const C14 = r59.keys().next().value;
@@ -44426,7 +44437,7 @@ var l23 = (f18 = class extends Plugin {
44426
44437
  })), this.j.e.on("renameConversation.ai-assistant-pro", (t48, e42) => __async(this, null, function* () {
44427
44438
  yield this.__loadData(), yield this.renameConversation(t48, e42);
44428
44439
  })), this.j.e.on("backToList.ai-assistant-pro", () => __async(this, null, function* () {
44429
- yield this.__loadData(), yield D2(this.storage, this.stateManager);
44440
+ yield this.__loadData(), yield D3(this.storage, this.stateManager);
44430
44441
  })), this.j.e.on("removeContext.ai-assistant-pro", (t48) => __async(this, null, function* () {
44431
44442
  yield this.__loadData(), this.stateManager.removeSelectionContext(t48);
44432
44443
  })), this.j.e.on("approveToolCall.ai-assistant-pro", (t48, e42) => __async(this, null, function* () {
@@ -44605,7 +44616,7 @@ ${n57}`.trim();
44605
44616
  const s50 = C3(a77), [i54] = yield Promise.all([this.apiClient.sendRequest(a77.id, a77.messages, s50, this.stateManager.getSelectionContexts(), a77.options), this.storage.save(a77)]);
44606
44617
  let n57, o57;
44607
44618
  if (i54.mode === "stream") {
44608
- const r59 = yield m16(this.stateManager, i54, a77);
44619
+ const r59 = yield m15(this.stateManager, i54, a77);
44609
44620
  n57 = r59.aiMessage, o57 = r59.index, a77 = r59.conversation;
44610
44621
  } else {
44611
44622
  const r59 = u24(i54, a77);
@@ -44654,10 +44665,10 @@ ${n57}`.trim();
44654
44665
  return __async(this, null, function* () {
44655
44666
  let s50 = this.stateManager.getCurrentConversation();
44656
44667
  if (!s50) return;
44657
- const i54 = yield d20(this.j, e42, this.toolRegistry), n57 = s50.messages.findIndex((c74) => c74.id === t48);
44668
+ const i54 = yield d21(this.j, e42, this.toolRegistry), n57 = s50.messages.findIndex((c74) => c74.id === t48);
44658
44669
  if (n57 === -1) return;
44659
44670
  const o57 = s50.messages[n57], r59 = s50.messages.slice();
44660
- r59[n57] = c21(o57, i54), s50 = __spreadProps(__spreadValues({}, s50), { messages: r59, updated: Date.now() }), this.stateManager.setCurrentConversation(s50), m17(s50) && (yield this.sendRequestToAI(a77 + 1));
44671
+ r59[n57] = c21(o57, i54), s50 = __spreadProps(__spreadValues({}, s50), { messages: r59, updated: Date.now() }), this.stateManager.setCurrentConversation(s50), m16(s50) && (yield this.sendRequestToAI(a77 + 1));
44661
44672
  });
44662
44673
  }
44663
44674
  copyMessage(t48) {
@@ -44963,9 +44974,9 @@ init_assert();
44963
44974
  var O2 = Object.defineProperty;
44964
44975
  var b12 = (u58, o57) => O2(u58, "name", { value: o57, configurable: true });
44965
44976
  var f22;
44966
- var _7 = function(u58, o57, e42, d53) {
44967
- var n57 = arguments.length, r59 = n57 < 3 ? o57 : d53 === null ? d53 = Object.getOwnPropertyDescriptor(o57, e42) : d53, l57;
44968
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(u58, o57, e42, d53);
44977
+ var _7 = function(u58, o57, e42, d54) {
44978
+ var n57 = arguments.length, r59 = n57 < 3 ? o57 : d54 === null ? d54 = Object.getOwnPropertyDescriptor(o57, e42) : d54, l57;
44979
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(u58, o57, e42, d54);
44969
44980
  else for (var t48 = u58.length - 1; t48 >= 0; t48--) (l57 = u58[t48]) && (r59 = (n57 < 3 ? l57(r59) : n57 > 3 ? l57(o57, e42, r59) : l57(o57, e42)) || r59);
44970
44981
  return n57 > 3 && r59 && Object.defineProperty(o57, e42, r59), r59;
44971
44982
  };
@@ -44980,12 +44991,12 @@ var p30 = x6 = (f22 = class extends UIElement {
44980
44991
  __updateStyles() {
44981
44992
  const { style: o57 } = this, e42 = this.getElm("button");
44982
44993
  assert(e42 != null, "button element does not exist");
44983
- const d53 = this.getElm("wrapper");
44984
- assert(d53 != null, "wrapper element does not exist"), d53.style.backgroundColor = o57.previewBgColor, x6.applyStyle(o57, e42);
44994
+ const d54 = this.getElm("wrapper");
44995
+ assert(d54 != null, "wrapper element does not exist"), d54.style.backgroundColor = o57.previewBgColor, x6.applyStyle(o57, e42);
44985
44996
  }
44986
44997
  static applyStyle(o57, e42) {
44987
- const d53 = b12((n57) => isString(n57) ? n57 : n57 + "px", "_");
44988
- e42.innerText = o57.text || "css", e42.setAttribute("href", o57.href), css(e42, { background: o57.solid ? null : `linear-gradient(to bottom, ${o57.bgStart} 5%, ${o57.bgEnd} 100%)`, backgroundColor: o57.bgStart, borderRadius: d53(o57.borderRadius), border: `${d53(o57.borderSize)} solid ${o57.borderColor}`, display: "inline-block", cursor: "pointer", color: o57.fontColor, fontFamily: o57.fontFamily, fontSize: d53(o57.fontSize), fontWeight: o57.fontWeight ? "bold" : null, fontStyle: o57.fontItalic ? "italic" : null, padding: `${d53(o57.paddingY)} ${d53(o57.paddingX)}`, textDecoration: "none" }), css(e42, { textShadow: o57.textShadow ? [o57.textShadowOffsetX, o57.textShadowOffsetY, o57.textShadowBlurRadius, o57.textShadowColor].map(d53).join(" ") : null }), css(e42, { boxShadow: o57.boxShadow ? [o57.boxShadowInset ? "inset" : "", o57.boxShadowOffsetX, o57.boxShadowOffsetY, o57.boxShadowBlurRadius, o57.boxShadowSpreadRadius, o57.boxShadowColor].map(d53).join(" ") : null });
44998
+ const d54 = b12((n57) => isString(n57) ? n57 : n57 + "px", "_");
44999
+ e42.innerText = o57.text || "css", e42.setAttribute("href", o57.href), css(e42, { background: o57.solid ? null : `linear-gradient(to bottom, ${o57.bgStart} 5%, ${o57.bgEnd} 100%)`, backgroundColor: o57.bgStart, borderRadius: d54(o57.borderRadius), border: `${d54(o57.borderSize)} solid ${o57.borderColor}`, display: "inline-block", cursor: "pointer", color: o57.fontColor, fontFamily: o57.fontFamily, fontSize: d54(o57.fontSize), fontWeight: o57.fontWeight ? "bold" : null, fontStyle: o57.fontItalic ? "italic" : null, padding: `${d54(o57.paddingY)} ${d54(o57.paddingX)}`, textDecoration: "none" }), css(e42, { textShadow: o57.textShadow ? [o57.textShadowOffsetX, o57.textShadowOffsetY, o57.textShadowBlurRadius, o57.textShadowColor].map(d54).join(" ") : null }), css(e42, { boxShadow: o57.boxShadow ? [o57.boxShadowInset ? "inset" : "", o57.boxShadowOffsetX, o57.boxShadowOffsetY, o57.boxShadowBlurRadius, o57.boxShadowSpreadRadius, o57.boxShadowColor].map(d54).join(" ") : null });
44989
45000
  }
44990
45001
  update() {
44991
45002
  this.__updateStyles();
@@ -44998,8 +45009,8 @@ var p30 = x6 = (f22 = class extends UIElement {
44998
45009
  </div>`;
44999
45010
  }
45000
45011
  static extractStyle(o57, e42) {
45001
- var d53, n57, r59, l57;
45002
- const t48 = ((d53 = e42.ownerDocument.defaultView) === null || d53 === void 0 ? void 0 : d53.getComputedStyle(e42)) || {}, C14 = b12(() => {
45012
+ var d54, n57, r59, l57;
45013
+ const t48 = ((d54 = e42.ownerDocument.defaultView) === null || d54 === void 0 ? void 0 : d54.getComputedStyle(e42)) || {}, C14 = b12(() => {
45003
45014
  var c74, a77;
45004
45015
  const i54 = { solid: true, bgStart: (c74 = t48.backgroundColor) !== null && c74 !== void 0 ? c74 : "#44c767", bgEnd: (a77 = t48.backgroundColor) !== null && a77 !== void 0 ? a77 : "#44c767" }, S8 = t48.backgroundImage;
45005
45016
  if (S8 && /linear-gradient/.test(S8)) {
@@ -45007,7 +45018,7 @@ var p30 = x6 = (f22 = class extends UIElement {
45007
45018
  s50 && (i54.solid = false, i54.bgStart = s50[1] || i54.bgStart, i54.bgEnd = s50[2] || "#5cbf2a");
45008
45019
  }
45009
45020
  return i54;
45010
- }, "extractColors"), m54 = b12((c74, a77, i54, S8) => {
45021
+ }, "extractColors"), m53 = b12((c74, a77, i54, S8) => {
45011
45022
  const s50 = t48[i54];
45012
45023
  return !s50 || ["none", "inherit", "initial", "unset"].includes(s50) ? { [i54]: false } : (s50.replace(/,\s/g, ",").split(/\s+/).forEach((h60) => {
45013
45024
  if (/[0-9.]+(px|pt|em|%)/.test(h60)) {
@@ -45016,7 +45027,7 @@ var p30 = x6 = (f22 = class extends UIElement {
45016
45027
  } else h60 === "inset" ? a77.boxShadowInset = true : a77[S8] = h60;
45017
45028
  }), a77[i54] = true, a77);
45018
45029
  }, "extractShadow");
45019
- Object.assign(o57, __spreadValues(__spreadProps(__spreadValues(__spreadProps(__spreadValues({ text: e42.innerText, className: e42.className, href: e42.getAttribute("href") || "" }, C14()), { borderColor: (n57 = t48 == null ? void 0 : t48.borderColor) !== null && n57 !== void 0 ? n57 : "#18ab29", borderRadius: (r59 = t48 == null ? void 0 : t48.borderRadius) !== null && r59 !== void 0 ? r59 : 0, borderSize: (l57 = t48 == null ? void 0 : t48.borderWidth) !== null && l57 !== void 0 ? l57 : 1 }), m54(["boxShadowOffsetX", "boxShadowOffsetY", "boxShadowBlurRadius", "boxShadowSpreadRadius"], { boxShadowBlurRadius: 0, boxShadowColor: "#3dc21b", boxShadowInset: false, boxShadowOffsetX: 0, boxShadowOffsetY: 0, boxShadowSpreadRadius: 0 }, "boxShadow", "boxShadowColor")), { fontColor: t48.color, fontFamily: t48.fontFamily, fontSize: t48.fontSize, fontWeight: t48.fontWeight === "bold", fontItalic: t48.fontStyle === "italic", paddingX: t48.paddingLeft, paddingY: t48.paddingTop }), m54(["textShadowOffsetX", "textShadowOffsetY", "textShadowBlurRadius"], { textShadowBlurRadius: 0, textShadowColor: "#2f6627", textShadowOffsetX: 0, textShadowOffsetY: 1 }, "textShadow", "textShadowColor")));
45030
+ Object.assign(o57, __spreadValues(__spreadProps(__spreadValues(__spreadProps(__spreadValues({ text: e42.innerText, className: e42.className, href: e42.getAttribute("href") || "" }, C14()), { borderColor: (n57 = t48 == null ? void 0 : t48.borderColor) !== null && n57 !== void 0 ? n57 : "#18ab29", borderRadius: (r59 = t48 == null ? void 0 : t48.borderRadius) !== null && r59 !== void 0 ? r59 : 0, borderSize: (l57 = t48 == null ? void 0 : t48.borderWidth) !== null && l57 !== void 0 ? l57 : 1 }), m53(["boxShadowOffsetX", "boxShadowOffsetY", "boxShadowBlurRadius", "boxShadowSpreadRadius"], { boxShadowBlurRadius: 0, boxShadowColor: "#3dc21b", boxShadowInset: false, boxShadowOffsetX: 0, boxShadowOffsetY: 0, boxShadowSpreadRadius: 0 }, "boxShadow", "boxShadowColor")), { fontColor: t48.color, fontFamily: t48.fontFamily, fontSize: t48.fontSize, fontWeight: t48.fontWeight === "bold", fontItalic: t48.fontStyle === "italic", paddingX: t48.paddingLeft, paddingY: t48.paddingTop }), m53(["textShadowOffsetX", "textShadowOffsetY", "textShadowBlurRadius"], { textShadowBlurRadius: 0, textShadowColor: "#2f6627", textShadowOffsetX: 0, textShadowOffsetY: 1 }, "textShadow", "textShadowColor")));
45020
45031
  }
45021
45032
  }, b12(f22, "UIGButton"), f22);
45022
45033
  _7([watch("style")], p30.prototype, "__updateStyles", null), p30 = x6 = _7([component], p30);
@@ -45034,14 +45045,14 @@ init_dom();
45034
45045
  init_to_array();
45035
45046
  init_assert();
45036
45047
  var v12 = Object.defineProperty;
45037
- var o31 = (m54, i54) => v12(m54, "name", { value: i54, configurable: true });
45048
+ var o31 = (m53, i54) => v12(m53, "name", { value: i54, configurable: true });
45038
45049
  var r35 = class r36 extends UIElement {
45039
45050
  className() {
45040
45051
  return "UIFormButtonGenerator";
45041
45052
  }
45042
45053
  constructor(i54, n57, l57) {
45043
45054
  super(i54), this.state = n57, this.updateState = l57, this.onUpdates = [];
45044
- const d53 = o31((e42, t48) => () => {
45055
+ const d54 = o31((e42, t48) => () => {
45045
45056
  let a77 = this.state[t48.name];
45046
45057
  /px/.test(a77.toString()) && (a77 = a77.toString().replace(/px/, "")), a77.toString() !== e42.value && (e42.value = a77);
45047
45058
  }, "getOnUpdate");
@@ -45050,7 +45061,7 @@ var r35 = class r36 extends UIElement {
45050
45061
  const t48 = new UISelect(this.j, { options: toArray(e42.options).map((a77) => ({ text: a77.innerText, value: a77.value })), onChange: o31((a77) => {
45051
45062
  this.updateState(e42.name, a77);
45052
45063
  }, "onChange") });
45053
- Dom.replace(e42, t48.container, this.j.create, false, true), this.onUpdates.push(d53(t48, e42));
45064
+ Dom.replace(e42, t48.container, this.j.create, false, true), this.onUpdates.push(d54(t48, e42));
45054
45065
  return;
45055
45066
  }
45056
45067
  if (Dom.isTag(e42, "input")) switch (e42.type) {
@@ -45058,14 +45069,14 @@ var r35 = class r36 extends UIElement {
45058
45069
  const t48 = new i24(this.j, { label: e42.placeholder, name: e42.name, min: parseInt(e42.min, 0) || 0, max: parseInt(e42.max, 0) || 100, onChange: o31((a77) => {
45059
45070
  this.updateState(e42.name, parseInt(a77, 10));
45060
45071
  }, "onChange") });
45061
- Dom.replace(e42, t48.container, this.j.create), this.onUpdates.push(d53(t48, e42));
45072
+ Dom.replace(e42, t48.container, this.j.create), this.onUpdates.push(d54(t48, e42));
45062
45073
  return;
45063
45074
  }
45064
45075
  case "text": {
45065
45076
  const t48 = new UIInput(this.j, { placeholder: e42.placeholder, name: e42.name, onChange: o31((a77) => {
45066
45077
  this.updateState(e42.name, a77);
45067
45078
  }, "onChange") });
45068
- Dom.replace(e42, t48.container, this.j.create), this.onUpdates.push(d53(t48, e42));
45079
+ Dom.replace(e42, t48.container, this.j.create), this.onUpdates.push(d54(t48, e42));
45069
45080
  return;
45070
45081
  }
45071
45082
  case "checkbox":
@@ -45173,13 +45184,13 @@ init_decorators();
45173
45184
  init_assert();
45174
45185
 
45175
45186
  // node_modules/jodit-pro/esm/plugins/color-picker/ui/input/color-input.js
45176
- var d22 = __toESM(require_acolorpicker());
45187
+ var d23 = __toESM(require_acolorpicker());
45177
45188
  init_constants();
45178
45189
  init_decorators();
45179
45190
  init_helpers();
45180
45191
  init_assert();
45181
- var m20 = Object.defineProperty;
45182
- var u28 = (a77, e42) => m20(a77, "name", { value: e42, configurable: true });
45192
+ var m19 = Object.defineProperty;
45193
+ var u28 = (a77, e42) => m19(a77, "name", { value: e42, configurable: true });
45183
45194
  var l26;
45184
45195
  var f23 = function(a77, e42, t48, o57) {
45185
45196
  var r59 = arguments.length, i54 = r59 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, n57;
@@ -45193,15 +45204,15 @@ var c23 = (l26 = class extends UIInput {
45193
45204
  }
45194
45205
  constructor(e42, t48) {
45195
45206
  super(e42, t48);
45196
- const o57 = new Popup(e42), r59 = u28((p63) => d22.parseColor(p63, "hex"), "parse");
45207
+ const o57 = new Popup(e42), r59 = u28((p63) => d23.parseColor(p63, "hex"), "parse");
45197
45208
  this.popup = o57, this.trigger = Button(this.j, "ok");
45198
45209
  const i54 = this.getElm("wrapper");
45199
45210
  assert(i54 != null, "wrapper element does not exist"), i54.appendChild(this.trigger.container), this.trigger.container.classList.add(this.getFullElName("trigger")), this.trigger.onAction(() => {
45200
45211
  var p63, h60;
45201
45212
  (h60 = (p63 = this.state).onChange) === null || h60 === void 0 || h60.call(p63, this.value), o57.close();
45202
45213
  }), o57.setMod("padding", false).setMod("max-height", false);
45203
- const n57 = this.j.create.div(this.getFullElName("picker")), s50 = d22.createPicker(n57, { paletteEditable: true, showAlpha: true, palette: "PALETTE_MATERIAL_CHROME" }).on("change", (p63, h60) => {
45204
- this.isFocused || (this.value = d22.parseColor(h60 || "", "hex"));
45214
+ const n57 = this.j.create.div(this.getFullElName("picker")), s50 = d23.createPicker(n57, { paletteEditable: true, showAlpha: true, palette: "PALETTE_MATERIAL_CHROME" }).on("change", (p63, h60) => {
45215
+ this.isFocused || (this.value = d23.parseColor(h60 || "", "hex"));
45205
45216
  });
45206
45217
  this.j.e.on(this, "change", () => {
45207
45218
  r59(this.value) !== s50.color && (s50.color = this.value);
@@ -45224,7 +45235,7 @@ f23([watch(":change")], c23.prototype, "onChangeSelfValue", null), f23([watch("n
45224
45235
 
45225
45236
  // node_modules/jodit-pro/esm/plugins/button-generator/ui/preview/preview.js
45226
45237
  var u29 = Object.defineProperty;
45227
- var d23 = (l57, t48) => u29(l57, "name", { value: t48, configurable: true });
45238
+ var d24 = (l57, t48) => u29(l57, "name", { value: t48, configurable: true });
45228
45239
  var a39;
45229
45240
  var p31 = function(l57, t48, s50, n57) {
45230
45241
  var r59 = arguments.length, e42 = r59 < 3 ? t48 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(t48, s50) : n57, o57;
@@ -45248,7 +45259,7 @@ var h27 = (a39 = class extends UIElement {
45248
45259
  }), this.lockUpdate = false;
45249
45260
  }
45250
45261
  constructor(t48, s50, n57) {
45251
- super(t48), this.state = s50, this.updateState = n57, this.button = new p30(this.j, this.state), this.lockUpdate = false, this.colors = ["bgStart", "bgEnd", "fontColor", "borderColor", "boxShadowColor", "textShadowColor", "previewBgColor"].map((o57) => new c23(this.j, { name: o57, onChange: d23((i54) => {
45262
+ super(t48), this.state = s50, this.updateState = n57, this.button = new p30(this.j, this.state), this.lockUpdate = false, this.colors = ["bgStart", "bgEnd", "fontColor", "borderColor", "boxShadowColor", "textShadowColor", "previewBgColor"].map((o57) => new c23(this.j, { name: o57, onChange: d24((i54) => {
45252
45263
  this.lockUpdate || (o57 === "bgEnd" && i54 !== this.state.bgStart && this.updateState("solid", false), this.updateState(o57, i54));
45253
45264
  }, "onChange") }).setMod("slim", true)), this.setMod("mode", "default");
45254
45265
  const r59 = this.getElm("button");
@@ -45258,7 +45269,7 @@ var h27 = (a39 = class extends UIElement {
45258
45269
  e42.appendChild(o57.container);
45259
45270
  }), this.update();
45260
45271
  }
45261
- }, d23(a39, "UIPreviewButtonGenerator"), a39);
45272
+ }, d24(a39, "UIPreviewButtonGenerator"), a39);
45262
45273
  h27 = p31([component], h27);
45263
45274
 
45264
45275
  // node_modules/jodit-pro/esm/plugins/button-generator/ui/generator/button-generator.js
@@ -45272,7 +45283,7 @@ var b13 = function(i54, t48, e42, r59) {
45272
45283
  return s50 > 3 && o57 && Object.defineProperty(t48, e42, o57), o57;
45273
45284
  };
45274
45285
  var l27;
45275
- var d24 = l27 = (a40 = class extends UIElement {
45286
+ var d25 = l27 = (a40 = class extends UIElement {
45276
45287
  className() {
45277
45288
  return "UIButtonGenerator";
45278
45289
  }
@@ -45314,7 +45325,7 @@ var d24 = l27 = (a40 = class extends UIElement {
45314
45325
  this.isReady && (this.form.update(), this.preview.update());
45315
45326
  }
45316
45327
  }, p32(a40, "UIButtonGenerator"), a40);
45317
- b13([autobind], d24.prototype, "updateState", null), d24 = l27 = b13([component], d24);
45328
+ b13([autobind], d25.prototype, "updateState", null), d25 = l27 = b13([component], d25);
45318
45329
 
45319
45330
  // node_modules/jodit-pro/esm/plugins/button-generator/button-generator.js
45320
45331
  init_decorators();
@@ -45322,7 +45333,7 @@ init_dom();
45322
45333
  init_plugin2();
45323
45334
  var _8 = Object.defineProperty;
45324
45335
  var c24 = (r59, t48) => _8(r59, "name", { value: t48, configurable: true });
45325
- var d25 = function(r59, t48, o57, e42) {
45336
+ var d26 = function(r59, t48, o57, e42) {
45326
45337
  var s50 = arguments.length, i54 = s50 < 3 ? t48 : e42 === null ? e42 = Object.getOwnPropertyDescriptor(t48, o57) : e42, l57;
45327
45338
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(r59, t48, o57, e42);
45328
45339
  else for (var a77 = r59.length - 1; a77 >= 0; a77--) (l57 = r59[a77]) && (i54 = (s50 < 3 ? l57(i54) : s50 > 3 ? l57(t48, o57, i54) : l57(t48, o57)) || i54);
@@ -45339,7 +45350,7 @@ var u31 = class u32 extends Plugin {
45339
45350
  });
45340
45351
  }
45341
45352
  toggleButtonGenerator(t48) {
45342
- this.__dialog || (this.__dialog = new Dialog({ language: this.j.o.language, theme: this.j.o.theme, shadowRoot: this.j.o.shadowRoot }), this.__ui = new d24(this.__dialog), this.__dialog.setHeader("Button Generator").setContent(this.__ui).setSize(730, 700)), t48 && !Dom.isTag(t48, /* @__PURE__ */ new Set(["button", "a"])) && (t48 = void 0);
45353
+ this.__dialog || (this.__dialog = new Dialog({ language: this.j.o.language, theme: this.j.o.theme, shadowRoot: this.j.o.shadowRoot }), this.__ui = new d25(this.__dialog), this.__dialog.setHeader("Button Generator").setContent(this.__ui).setSize(730, 700)), t48 && !Dom.isTag(t48, /* @__PURE__ */ new Set(["button", "a"])) && (t48 = void 0);
45343
45354
  const o57 = this.__ui, e42 = this.__dialog;
45344
45355
  e42.isOpened ? e42.close() : (t48 && p30.extractStyle(o57.state, t48), o57.target = t48, o57.update(), e42.setFooter([Button(e42, "cancel", "Cancel", "default").onAction(() => e42.close()), Button(e42, "ok", t48 ? "Update" : "Insert", "primary").onAction(() => {
45345
45356
  t48 || (t48 = this.j.createInside.element(o57.state.href ? "a" : "button"), this.j.s.insertNode(t48, true, false)), p30.applyStyle(o57.state, t48), t48.className = o57.state.className || "", this.jodit.e.fire("synchro"), e42.close();
@@ -45355,7 +45366,7 @@ var u31 = class u32 extends Plugin {
45355
45366
  };
45356
45367
  c24(u31, "buttonGenerator");
45357
45368
  var n29 = u31;
45358
- n29.requires = ["license", "color-picker"], d25([autobind], n29.prototype, "toggleButtonGenerator", null), d25([watch(":dblclick")], n29.prototype, "onDblClick", null), n11.plugins.add("button-generator", n29);
45369
+ n29.requires = ["license", "color-picker"], d26([autobind], n29.prototype, "toggleButtonGenerator", null), d26([watch(":dblclick")], n29.prototype, "onDblClick", null), n11.plugins.add("button-generator", n29);
45359
45370
 
45360
45371
  // node_modules/jodit-pro/esm/plugins/change-case/icon.svg.js
45361
45372
  var C4 = '<svg width="19" height="13" viewBox="0 0 19 13" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12.799 11.449V12H7.764V11.449L8.695 11.487C9.075 11.525 9.265 11.373 9.265 11.031C9.265 10.8157 9.20167 10.5687 9.075 10.29L8.144 8.048H3.717L2.843 10.176C2.66567 10.5687 2.577 10.8853 2.577 11.126C2.577 11.392 2.71633 11.5187 2.995 11.506L3.907 11.449V12H0.62V11.449L1.114 11.487H1.19C1.44333 11.487 1.65233 11.3667 1.817 11.126C2.007 10.8473 2.197 10.48 2.387 10.024L6.358 0.466999H6.852L10.861 10.062C11.0383 10.518 11.222 10.879 11.412 11.145C11.5893 11.373 11.811 11.487 12.077 11.487H12.172L12.799 11.449ZM3.945 7.516H7.916L5.921 2.728L3.945 7.516Z" fill="black"/> <path d="M18.45 11.61V12H16.32C16.33 11.93 16.34 11.84 16.35 11.73C16.37 11.61 16.38 11.515 16.38 11.445L16.41 10.86C16.19 11.29 15.905 11.6 15.555 11.79C15.215 11.98 14.805 12.075 14.325 12.075C13.695 12.075 13.215 11.935 12.885 11.655C12.565 11.365 12.405 10.94 12.405 10.38C12.405 9.61 12.725 9.045 13.365 8.685C14.015 8.315 15.03 8.13 16.41 8.13V7.26C16.41 6.79 16.3 6.455 16.08 6.255C15.86 6.055 15.505 5.955 15.015 5.955C14.255 5.955 13.875 6.165 13.875 6.585C13.875 6.665 13.895 6.76 13.935 6.87C13.985 6.97 14.01 7.065 14.01 7.155C14.01 7.325 13.955 7.455 13.845 7.545C13.735 7.625 13.595 7.665 13.425 7.665C13.215 7.665 13.05 7.6 12.93 7.47C12.82 7.34 12.765 7.17 12.765 6.96C12.765 6.54 12.985 6.2 13.425 5.94C13.865 5.68 14.455 5.55 15.195 5.55C16.865 5.55 17.7 6.255 17.7 7.665V11.355C17.7 11.545 17.765 11.64 17.895 11.64L18.45 11.61ZM14.775 11.535C15.215 11.535 15.59 11.355 15.9 10.995C16.21 10.625 16.38 10.15 16.41 9.57V8.535C15.47 8.535 14.795 8.675 14.385 8.955C13.975 9.225 13.77 9.66 13.77 10.26C13.77 10.68 13.855 11 14.025 11.22C14.205 11.43 14.455 11.535 14.775 11.535Z" fill="black"/> </svg> ';
@@ -45366,17 +45377,17 @@ init_data_bind();
45366
45377
  Config.prototype.controls.changeCase = { tooltip: "Change case", icon: C4, list: ["lowercase", "UPPERCASE", "Title Case"], isDisabled(e42) {
45367
45378
  return !e42.s.current();
45368
45379
  }, exec(e42, o57, { control: a77 }) {
45369
- const c74 = a77.command + "Selected", m54 = a77.args && a77.args[0] || dataBind(e42, c74);
45370
- if (!m54 || !a77.command) return false;
45371
- dataBind(e42, c74, m54), e42.execCommand(a77.command, null, m54);
45380
+ const c74 = a77.command + "Selected", m53 = a77.args && a77.args[0] || dataBind(e42, c74);
45381
+ if (!m53 || !a77.command) return false;
45382
+ dataBind(e42, c74, m53), e42.execCommand(a77.command, null, m53);
45372
45383
  }, command: "changeCase" };
45373
45384
 
45374
45385
  // node_modules/jodit-pro/esm/plugins/change-case/change-case.js
45375
45386
  init_dom();
45376
45387
  init_ucfirst();
45377
45388
  init_plugin2();
45378
- var R2 = Object.defineProperty;
45379
- var l28 = (m54, e42) => R2(m54, "name", { value: e42, configurable: true });
45389
+ var R = Object.defineProperty;
45390
+ var l28 = (m53, e42) => R(m53, "name", { value: e42, configurable: true });
45380
45391
  var p33 = class p34 extends Plugin {
45381
45392
  constructor() {
45382
45393
  super(...arguments), this.buttons = [{ name: "changeCase", group: "font-style" }];
@@ -45427,7 +45438,7 @@ init_dom();
45427
45438
  init_plugin2();
45428
45439
  var u33 = Object.defineProperty;
45429
45440
  var p35 = (i54, e42) => u33(i54, "name", { value: e42, configurable: true });
45430
- var m21 = function(i54, e42, o57, t48) {
45441
+ var m20 = function(i54, e42, o57, t48) {
45431
45442
  var n57 = arguments.length, r59 = n57 < 3 ? e42 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(e42, o57) : t48, l57;
45432
45443
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(i54, e42, o57, t48);
45433
45444
  else for (var c74 = i54.length - 1; c74 >= 0; c74--) (l57 = i54[c74]) && (r59 = (n57 < 3 ? l57(r59) : n57 > 3 ? l57(e42, o57, r59) : l57(e42, o57)) || r59);
@@ -45451,7 +45462,7 @@ var a41 = class a42 extends Plugin {
45451
45462
  };
45452
45463
  p35(a41, "colorPicker");
45453
45464
  var f24 = a41;
45454
- f24.requires = ["license"], m21([autobind], f24.prototype, "onAfterGenerateColorPicker", null), n11.plugins.add("color-picker", f24);
45465
+ f24.requires = ["license"], m20([autobind], f24.prototype, "onAfterGenerateColorPicker", null), n11.plugins.add("color-picker", f24);
45455
45466
 
45456
45467
  // node_modules/jodit-pro/esm/plugins/emoji/ui/emoji.js
45457
45468
  init_decorators();
@@ -45519,8 +45530,8 @@ var l29 = c25 = (h28 = class extends UIElement {
45519
45530
  const f50 = (n57 = this.cache[e42]) !== null && n57 !== void 0 ? n57 : this.j.c.div(this.getFullElName("category-title"), e42 ? this.j.i18n(e42) : "");
45520
45531
  this.cache[e42] = f50, o57.push(f50);
45521
45532
  }
45522
- const m54 = (p63 = this.cache[s50.emoji + s50.category]) !== null && p63 !== void 0 ? p63 : this.j.c.div(this.getFullElName("emoji"), { "data-id": a77, "data-value": s50.emoji }, s50.emoji);
45523
- return this.cache[s50.emoji + s50.category] = m54, o57.push(m54), o57;
45533
+ const m53 = (p63 = this.cache[s50.emoji + s50.category]) !== null && p63 !== void 0 ? p63 : this.j.c.div(this.getFullElName("emoji"), { "data-id": a77, "data-value": s50.emoji }, s50.emoji);
45534
+ return this.cache[s50.emoji + s50.category] = m53, o57.push(m53), o57;
45524
45535
  }, []);
45525
45536
  }
45526
45537
  static isShortCat(t48) {
@@ -45592,8 +45603,8 @@ var t21 = (o57, r59) => p36(o57, "name", { value: r59, configurable: true });
45592
45603
  Config.prototype.emoji = { data: t21(() => a43, "data"), enableAutoComplete: true, recentCountLimit: 10 }, Config.prototype.controls.emoji = { tooltip: "Insert Emoji", icon: t20, popup: t21((o57, r59, s50) => {
45593
45604
  o57.s.save();
45594
45605
  const e42 = o57.getInstance(l29);
45595
- return o57.e.off(e42, "insert").on(e42, "insert", (m54) => {
45596
- o57.s.restore(), o57.s.insertNode(o57.createInside.text(m54), true), s50();
45606
+ return o57.e.off(e42, "insert").on(e42, "insert", (m53) => {
45607
+ o57.s.restore(), o57.s.insertNode(o57.createInside.text(m53), true), s50();
45597
45608
  }), o57.e.one("beforePopupClose", () => {
45598
45609
  o57.s.restore();
45599
45610
  }), e42.reset(), e42.container;
@@ -45605,13 +45616,13 @@ init_trim();
45605
45616
  init_plugin();
45606
45617
  var u34 = Object.defineProperty;
45607
45618
  var p37 = (r59, t48) => u34(r59, "name", { value: t48, configurable: true });
45608
- var d26 = function(r59, t48, e42, o57) {
45619
+ var d27 = function(r59, t48, e42, o57) {
45609
45620
  var s50 = arguments.length, i54 = s50 < 3 ? t48 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t48, e42) : o57, a77;
45610
45621
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(r59, t48, e42, o57);
45611
45622
  else for (var l57 = r59.length - 1; l57 >= 0; l57--) (a77 = r59[l57]) && (i54 = (s50 < 3 ? a77(i54) : s50 > 3 ? a77(t48, e42, i54) : a77(t48, e42)) || i54);
45612
45623
  return s50 > 3 && i54 && Object.defineProperty(t48, e42, i54), i54;
45613
45624
  };
45614
- var m22 = class m23 extends Plugin {
45625
+ var m21 = class m22 extends Plugin {
45615
45626
  constructor() {
45616
45627
  super(...arguments), this.hasStyle = !n11.fatMode, this.buttons = [{ name: "emoji", group: "insert" }];
45617
45628
  }
@@ -45632,9 +45643,9 @@ var m22 = class m23 extends Plugin {
45632
45643
  beforeDestruct(t48) {
45633
45644
  }
45634
45645
  };
45635
- p37(m22, "emoji");
45636
- var n30 = m22;
45637
- n30.requires = ["autocomplete", "license"], d26([autobind], n30.prototype, "onAutoComplete", null), n11.plugins.add("emoji", n30);
45646
+ p37(m21, "emoji");
45647
+ var n30 = m21;
45648
+ n30.requires = ["autocomplete", "license"], d27([autobind], n30.prototype, "onAutoComplete", null), n11.plugins.add("emoji", n30);
45638
45649
 
45639
45650
  // node_modules/jodit-pro/esm/plugins/export-docs/assets/export.svg.js
45640
45651
  var a44 = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M19,21H5a2,2,0,0,1-2-2V17a1,1,0,0,1,2,0v2H19V17a1,1,0,0,1,2,0v2A2,2,0,0,1,19,21Z"/> <path d="M18,5H6A1,1,0,0,1,6,3H18a1,1,0,0,1,0,2Z"/> <path d="M15.71,10.29l-3-3a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-3,3a1,1,0,0,0-.21,1.09A1,1,0,0,0,9,12h2v3a1,1,0,0,0,2,0V12h2a1,1,0,0,0,.92-.62A1,1,0,0,0,15.71,10.29Z"/> </svg> ';
@@ -45890,8 +45901,8 @@ c26([watch(":contextmenuFolder.filebrowser")], l33.prototype, "onFolderContext",
45890
45901
 
45891
45902
  // node_modules/jodit-pro/esm/plugins/finder/helpers/data-provider.js
45892
45903
  init_helpers();
45893
- var d27 = Object.defineProperty;
45894
- var l34 = (u58, o57) => d27(u58, "name", { value: o57, configurable: true });
45904
+ var d28 = Object.defineProperty;
45905
+ var l34 = (u58, o57) => d28(u58, "name", { value: o57, configurable: true });
45895
45906
  var i33 = class i34 extends DataProvider {
45896
45907
  copy(o57, e42, s50, t48) {
45897
45908
  const n57 = t48 ? "fileCopy" : "folderCopy", r59 = this.o[n57];
@@ -46011,7 +46022,7 @@ var r39 = (l35 = class extends ViewComponent {
46011
46022
  this.__tick += 1;
46012
46023
  const { __tick: t48 } = this;
46013
46024
  this.offset = 0, this.stopLoadingParts = false, this.__callQueueCount = 0;
46014
- const { items: e42, loadedTotal: o57 } = yield m24(this.state, this.j.dataProvider, this.offset, this.countInOneChunk);
46025
+ const { items: e42, loadedTotal: o57 } = yield m23(this.state, this.j.dataProvider, this.offset, this.countInOneChunk);
46015
46026
  if (this.state.elements = e42, this.stopLoadingParts = o57 < this.countInOneChunk, yield this.loadItemsChunk(t48), yield this.async.requestIdlePromise(), this.__tick !== t48) return;
46016
46027
  for (; !this.stopLoadingParts && this.j.panel.countInColumn * this.j.panel.countInRow >= this.state.elements.length; ) if (yield this.loadItemsChunk(t48), this.__tick !== t48) return;
46017
46028
  } catch (t48) {
@@ -46032,7 +46043,7 @@ var r39 = (l35 = class extends ViewComponent {
46032
46043
  this.__isLoadingPart = true, this.j.panel.items.setMod("chunk-loading", true);
46033
46044
  try {
46034
46045
  this.offset += this.countInOneChunk;
46035
- const { items: e42, loadedTotal: o57 } = yield m24(this.state, this.j.dataProvider, this.offset, this.countInOneChunk);
46046
+ const { items: e42, loadedTotal: o57 } = yield m23(this.state, this.j.dataProvider, this.offset, this.countInOneChunk);
46036
46047
  if (this.__tick !== t48) return;
46037
46048
  this.stopLoadingParts = o57 < this.countInOneChunk, e42.length && (this.state.elements = this.state.elements.concat(e42));
46038
46049
  } catch (e42) {
@@ -46046,17 +46057,17 @@ var r39 = (l35 = class extends ViewComponent {
46046
46057
  }
46047
46058
  }, c29(l35, "LoadingManager"), l35);
46048
46059
  h32([watch(":update.filebrowser")], r39.prototype, "onUpdateFileBrowser", null), h32([watch(["state.currentPath", "state.currentSource", "state.onlyImages"]), debounce((i54) => ({ timeout: i54.defaultTimeout, promisify: true }))], r39.prototype, "loadFolders", null), h32([watch(["state.currentPath", "state.currentSource", "state.sortBy", "state.onlyImages", "state.foldersPosition", "state.filterWord"]), debounce((i54) => ({ timeout: i54.defaultTimeout, promisify: true }))], r39.prototype, "loadItems", null), h32([debounce((i54) => ({ timeout: i54.defaultTimeout, promisify: true }))], r39.prototype, "loadItemsChunk", null), r39 = h32([component], r39);
46049
- function m24(i54, t48, e42, o57) {
46060
+ function m23(i54, t48, e42, o57) {
46050
46061
  const { currentPath: n57, currentSource: s50, sortBy: a77, withFolders: u58, foldersPosition: _12, onlyImages: p63, filterWord: P4 } = i54;
46051
46062
  return t48.itemsEx(n57, s50, { offset: e42, limit: o57, sortBy: a77, withFolders: u58, foldersPosition: _12, onlyImages: p63, filterWord: P4 });
46052
46063
  }
46053
- c29(m24, "loadPartItems");
46064
+ c29(m23, "loadPartItems");
46054
46065
 
46055
46066
  // node_modules/jodit-pro/esm/plugins/finder/helpers/persistent-store.js
46056
46067
  init_component3();
46057
46068
  init_decorators();
46058
46069
  var S4 = Object.defineProperty;
46059
- var d28 = (a77, e42) => S4(a77, "name", { value: e42, configurable: true });
46070
+ var d29 = (a77, e42) => S4(a77, "name", { value: e42, configurable: true });
46060
46071
  var n35;
46061
46072
  var o35 = function(a77, e42, h60, l57) {
46062
46073
  var w9 = arguments.length, r59 = w9 < 3 ? e42 : l57 === null ? l57 = Object.getOwnPropertyDescriptor(e42, h60) : l57, p63;
@@ -46116,7 +46127,7 @@ var t24 = (n35 = class extends ViewComponent {
46116
46127
  __hasStoredView() {
46117
46128
  return this.j.storage.get(`${this.j.o.namespace}${this.componentName}_prop_view`) != null;
46118
46129
  }
46119
- }, d28(n35, "PersistentStore"), n35);
46130
+ }, d29(n35, "PersistentStore"), n35);
46120
46131
  o35([persistent], t24.prototype, "theme", void 0), o35([persistent], t24.prototype, "sortBy", void 0), o35([persistent], t24.prototype, "view", void 0), o35([persistent], t24.prototype, "foldersPosition", void 0), o35([persistent], t24.prototype, "tileSize", void 0), o35([persistent], t24.prototype, "favorites", void 0), o35([persistent], t24.prototype, "showSideBar", void 0), o35([persistent], t24.prototype, "showPreview", void 0), o35([persistent], t24.prototype, "showFavorites", void 0), o35([watch("state.theme")], t24.prototype, "onChangeThemeSetField", null), o35([watch("state.view")], t24.prototype, "onChangeView", null), o35([watch("state.sortBy")], t24.prototype, "onChangeSortBy", null), o35([watch("state.tileSize")], t24.prototype, "onChangeTileSize", null), o35([watch("state.favorites")], t24.prototype, "onChangeFavorites", null), o35([watch("state.showSideBar")], t24.prototype, "onChangeShowSideBar", null), o35([watch("state.showPreview")], t24.prototype, "onChangeShowPreview", null), o35([watch("state.showFavorites")], t24.prototype, "onChangeShowFavorites", null), o35([watch("state.foldersPosition")], t24.prototype, "onChangeFoldersPosition", null), t24 = o35([component], t24);
46121
46132
 
46122
46133
  // node_modules/jodit-pro/esm/plugins/finder/helpers/state-manager.js
@@ -46160,14 +46171,14 @@ var u36 = class u37 {
46160
46171
  }
46161
46172
  fillTreeForPath(e42, t48) {
46162
46173
  if (!this.state.tree.length || !t48 || t48 === "/") {
46163
- this.state.tree = e42.map(m25);
46174
+ this.state.tree = e42.map(m24);
46164
46175
  return;
46165
46176
  }
46166
46177
  this.removeActive(this.state.tree), e42.forEach((i54) => {
46167
46178
  let r59 = v14(this.state.tree, i54.name);
46168
- r59 || (r59 = m25(i54), this.state.tree.push(r59)), r59.isActive = true;
46179
+ r59 || (r59 = m24(i54), this.state.tree.push(r59)), r59.isActive = true;
46169
46180
  const n57 = y4(t48, r59);
46170
- n57 && (n57.isActive = true, n57.children = d29(i54.folders).map((a77) => p40(a77, t48 + "/" + a77, i54.name)));
46181
+ n57 && (n57.isActive = true, n57.children = d30(i54.folders).map((a77) => p40(a77, t48 + "/" + a77, i54.name)));
46171
46182
  }), this.state.tree = [...this.state.tree];
46172
46183
  }
46173
46184
  removeActive(e42) {
@@ -46191,14 +46202,14 @@ function v14(s50, e42) {
46191
46202
  return (t48 = s50.find((i54) => i54.name === e42)) !== null && t48 !== void 0 ? t48 : null;
46192
46203
  }
46193
46204
  l36(v14, "findItem");
46194
- function d29(s50) {
46205
+ function d30(s50) {
46195
46206
  return s50.filter((e42) => e42 !== "." && e42 !== "..");
46196
46207
  }
46197
- l36(d29, "filterFolders");
46198
- function m25(s50) {
46199
- return { type: "source", name: s50.name, title: s50.title, sourceName: s50.name, path: "/", children: d29(s50.folders).map((e42) => p40(e42, e42, s50.name)) };
46208
+ l36(d30, "filterFolders");
46209
+ function m24(s50) {
46210
+ return { type: "source", name: s50.name, title: s50.title, sourceName: s50.name, path: "/", children: d30(s50.folders).map((e42) => p40(e42, e42, s50.name)) };
46200
46211
  }
46201
- l36(m25, "sourceToTreeItem");
46212
+ l36(m24, "sourceToTreeItem");
46202
46213
  function p40(s50, e42, t48) {
46203
46214
  return { type: "directory", name: s50, path: e42, sourceName: t48, children: [] };
46204
46215
  }
@@ -46210,7 +46221,7 @@ init_is_string();
46210
46221
  var p41 = Object.defineProperty;
46211
46222
  var c31 = (a77, t48) => p41(a77, "name", { value: t48, configurable: true });
46212
46223
  var s32;
46213
- var d30 = function(a77, t48, r59, e42) {
46224
+ var d31 = function(a77, t48, r59, e42) {
46214
46225
  var i54 = arguments.length, o57 = i54 < 3 ? t48 : e42 === null ? e42 = Object.getOwnPropertyDescriptor(t48, r59) : e42, n57;
46215
46226
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(a77, t48, r59, e42);
46216
46227
  else for (var h60 = a77.length - 1; h60 >= 0; h60--) (n57 = a77[h60]) && (o57 = (i54 < 3 ? n57(o57) : i54 > 3 ? n57(t48, r59, o57) : n57(t48, r59)) || o57);
@@ -46248,7 +46259,7 @@ var l37 = (s32 = class extends UIGroup {
46248
46259
  });
46249
46260
  }
46250
46261
  }, c31(s32, "UIBrowserHeader"), s32);
46251
- d30([watch("state.clipboard")], l37.prototype, "onChangeClipboard", null), l37 = d30([component], l37);
46262
+ d31([watch("state.clipboard")], l37.prototype, "onChangeClipboard", null), l37 = d31([component], l37);
46252
46263
 
46253
46264
  // node_modules/jodit-pro/esm/plugins/finder/ui/lightboox/lightbox.js
46254
46265
  init_constants();
@@ -46256,7 +46267,7 @@ init_decorators();
46256
46267
  init_helpers();
46257
46268
  init_assert();
46258
46269
  var p42 = Object.defineProperty;
46259
- var d31 = (l57, e42) => p42(l57, "name", { value: e42, configurable: true });
46270
+ var d32 = (l57, e42) => p42(l57, "name", { value: e42, configurable: true });
46260
46271
  var r40;
46261
46272
  var a48 = function(l57, e42, t48, i54) {
46262
46273
  var s50 = arguments.length, n57 = s50 < 3 ? e42 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(e42, t48) : i54, h60;
@@ -46264,8 +46275,8 @@ var a48 = function(l57, e42, t48, i54) {
46264
46275
  else for (var c74 = l57.length - 1; c74 >= 0; c74--) (h60 = l57[c74]) && (n57 = (s50 < 3 ? h60(n57) : s50 > 3 ? h60(e42, t48, n57) : h60(e42, t48)) || n57);
46265
46276
  return s50 > 3 && n57 && Object.defineProperty(e42, t48, n57), n57;
46266
46277
  };
46267
- var m26;
46268
- var o37 = m26 = (r40 = class extends UIElement {
46278
+ var m25;
46279
+ var o37 = m25 = (r40 = class extends UIElement {
46269
46280
  className() {
46270
46281
  return "UILightBox";
46271
46282
  }
@@ -46282,7 +46293,7 @@ var o37 = m26 = (r40 = class extends UIElement {
46282
46293
  const { dialog: s50 } = this;
46283
46294
  s50.setMod("theme", e42.state.theme).toolbar.setMod("mode", "header"), s50.open(this), this.elements = this.elements.filter((n57) => n57.isImage), s50.e.on(s50, "afterClose", () => {
46284
46295
  this.j.async.setTimeout(() => this.destruct(), 1);
46285
- }), this.addGlobalListeners(), this.onChangeCurrent(), s50.toolbar.build([{ icon: "check", exec: d31(() => {
46296
+ }), this.addGlobalListeners(), this.onChangeCurrent(), s50.toolbar.build([{ icon: "check", exec: d32(() => {
46286
46297
  e42.stateManager.addActive(this.current, false), e42.e.fire("select.filebrowser"), s50.close();
46287
46298
  }, "exec") }, "dialog.close"]);
46288
46299
  }
@@ -46316,7 +46327,7 @@ var o37 = m26 = (r40 = class extends UIElement {
46316
46327
  t48 >= this.elements.length - 1 ? t48 = 0 : t48 += 1, this.current = this.elements[t48];
46317
46328
  }
46318
46329
  static open(e42, t48, i54) {
46319
- return new m26(e42, t48, i54);
46330
+ return new m25(e42, t48, i54);
46320
46331
  }
46321
46332
  addGlobalListeners() {
46322
46333
  this.j.e.on(this.j.od, "keydown", this.onKeyPress);
@@ -46330,8 +46341,8 @@ var o37 = m26 = (r40 = class extends UIElement {
46330
46341
  destruct() {
46331
46342
  return this.removeGlobalListeners(), this.dialog.destruct(), super.destruct();
46332
46343
  }
46333
- }, d31(r40, "UILightBox"), r40);
46334
- a48([watch("current")], o37.prototype, "onChangeCurrent", null), a48([watch("previous:click")], o37.prototype, "onPreviousClick", null), a48([watch("next:click")], o37.prototype, "onNextClick", null), a48([autobind], o37.prototype, "onKeyPress", null), o37 = m26 = a48([component], o37);
46344
+ }, d32(r40, "UILightBox"), r40);
46345
+ a48([watch("current")], o37.prototype, "onChangeCurrent", null), a48([watch("previous:click")], o37.prototype, "onPreviousClick", null), a48([watch("next:click")], o37.prototype, "onNextClick", null), a48([autobind], o37.prototype, "onKeyPress", null), o37 = m25 = a48([component], o37);
46335
46346
 
46336
46347
  // node_modules/jodit-pro/esm/plugins/finder/ui/panel/panel.js
46337
46348
  init_decorators();
@@ -46347,13 +46358,13 @@ init_assert();
46347
46358
  init_decorators();
46348
46359
  init_helpers();
46349
46360
  init_assert();
46350
- var d32 = Object.defineProperty;
46351
- var f26 = (o57, e42) => d32(o57, "name", { value: e42, configurable: true });
46361
+ var d33 = Object.defineProperty;
46362
+ var f26 = (o57, e42) => d33(o57, "name", { value: e42, configurable: true });
46352
46363
  var n36;
46353
46364
  var c32 = function(o57, e42, t48, i54) {
46354
- var r59 = arguments.length, s50 = r59 < 3 ? e42 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(e42, t48) : i54, m54;
46365
+ var r59 = arguments.length, s50 = r59 < 3 ? e42 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(e42, t48) : i54, m53;
46355
46366
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(o57, e42, t48, i54);
46356
- else for (var a77 = o57.length - 1; a77 >= 0; a77--) (m54 = o57[a77]) && (s50 = (r59 < 3 ? m54(s50) : r59 > 3 ? m54(e42, t48, s50) : m54(e42, t48)) || s50);
46367
+ else for (var a77 = o57.length - 1; a77 >= 0; a77--) (m53 = o57[a77]) && (s50 = (r59 < 3 ? m53(s50) : r59 > 3 ? m53(e42, t48, s50) : m53(e42, t48)) || s50);
46357
46368
  return r59 > 3 && s50 && Object.defineProperty(e42, t48, s50), s50;
46358
46369
  };
46359
46370
  var l38 = (n36 = class extends UIElement {
@@ -46401,13 +46412,13 @@ c32([watch("heart:click")], l38.prototype, "onClickFavorite", null), c32([watch(
46401
46412
  var v15 = Object.defineProperty;
46402
46413
  var p43 = (r59, e42) => v15(r59, "name", { value: e42, configurable: true });
46403
46414
  var a49;
46404
- var d33 = function(r59, e42, i54, t48) {
46415
+ var d34 = function(r59, e42, i54, t48) {
46405
46416
  var s50 = arguments.length, o57 = s50 < 3 ? e42 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(e42, i54) : t48, l57;
46406
46417
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(r59, e42, i54, t48);
46407
46418
  else for (var n57 = r59.length - 1; n57 >= 0; n57--) (l57 = r59[n57]) && (o57 = (s50 < 3 ? l57(o57) : s50 > 3 ? l57(e42, i54, o57) : l57(e42, i54)) || o57);
46408
46419
  return s50 > 3 && o57 && Object.defineProperty(e42, i54, o57), o57;
46409
46420
  };
46410
- var m27 = (a49 = class extends UIGroup {
46421
+ var m26 = (a49 = class extends UIGroup {
46411
46422
  className() {
46412
46423
  return "UIPreview";
46413
46424
  }
@@ -46445,7 +46456,7 @@ var m27 = (a49 = class extends UIGroup {
46445
46456
  }));
46446
46457
  }
46447
46458
  }, p43(a49, "UIPreview"), a49);
46448
- d33([hook("ready"), watch(":resize", { context: window }), debounce()], m27.prototype, "addResize", null), d33([watch("state.metaInfo")], m27.prototype, "onChangeMetaInfo", null), m27 = d33([component], m27);
46459
+ d34([hook("ready"), watch(":resize", { context: window }), debounce()], m26.prototype, "addResize", null), d34([watch("state.metaInfo")], m26.prototype, "onChangeMetaInfo", null), m26 = d34([component], m26);
46449
46460
 
46450
46461
  // node_modules/jodit-pro/esm/plugins/finder/ui/settings/settings.js
46451
46462
  init_decorators();
@@ -46572,9 +46583,9 @@ init_component();
46572
46583
  init_component();
46573
46584
  init_assert();
46574
46585
  var f27 = Object.defineProperty;
46575
- var d34 = (s50, e42) => f27(s50, "name", { value: e42, configurable: true });
46586
+ var d35 = (s50, e42) => f27(s50, "name", { value: e42, configurable: true });
46576
46587
  var i37;
46577
- var m28 = function(s50, e42, r59, t48) {
46588
+ var m27 = function(s50, e42, r59, t48) {
46578
46589
  var o57 = arguments.length, n57 = o57 < 3 ? e42 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(e42, r59) : t48, l57;
46579
46590
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n57 = Reflect.decorate(s50, e42, r59, t48);
46580
46591
  else for (var c74 = s50.length - 1; c74 >= 0; c74--) (l57 = s50[c74]) && (n57 = (o57 < 3 ? l57(n57) : o57 > 3 ? l57(e42, r59, n57) : l57(e42, r59)) || n57);
@@ -46601,12 +46612,12 @@ var a52 = (i37 = class extends UIElement {
46601
46612
  const t48 = this.getElm("name");
46602
46613
  assert(t48 != null, "name element does not exists"), t48.innerText = r59.name, e42.e.on(this.container, "click", () => (this.getMod("active") || this.setMod("loading", true), e42.e.fire("openFolder", r59))).on(this.container, "contextmenu", (o57) => e42.e.fire("contextmenuFolder.filebrowser", r59, o57));
46603
46614
  }
46604
- }, d34(i37, "UIBrowserFolder"), i37);
46605
- a52 = m28([component], a52);
46615
+ }, d35(i37, "UIBrowserFolder"), i37);
46616
+ a52 = m27([component], a52);
46606
46617
 
46607
46618
  // node_modules/jodit-pro/esm/plugins/finder/ui/tree/tree.js
46608
- var d35 = Object.defineProperty;
46609
- var h33 = (i54, e42) => d35(i54, "name", { value: e42, configurable: true });
46619
+ var d36 = Object.defineProperty;
46620
+ var h33 = (i54, e42) => d36(i54, "name", { value: e42, configurable: true });
46610
46621
  var n37;
46611
46622
  var u39 = function(i54, e42, r59, o57) {
46612
46623
  var c74 = arguments.length, t48 = c74 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, r59) : o57, l57;
@@ -46641,7 +46652,7 @@ var p47 = function(i54, e42, t48, n57) {
46641
46652
  else for (var l57 = i54.length - 1; l57 >= 0; l57--) (c74 = i54[l57]) && (r59 = (o57 < 3 ? c74(r59) : o57 > 3 ? c74(e42, t48, r59) : c74(e42, t48)) || r59);
46642
46653
  return o57 > 3 && r59 && Object.defineProperty(e42, t48, r59), r59;
46643
46654
  };
46644
- var m29 = (s33 = class extends UIElement {
46655
+ var m28 = (s33 = class extends UIElement {
46645
46656
  className() {
46646
46657
  return "UIBrowserSource";
46647
46658
  }
@@ -46659,13 +46670,13 @@ var m29 = (s33 = class extends UIElement {
46659
46670
  assert(o57 != null, "tree element does not exists"), o57.appendChild(this.tree.container), e42.e.on(this.container, "contextmenu", (r59) => e42.e.fire("contextmenuSource.filebrowser", t48, r59));
46660
46671
  }
46661
46672
  }, u40(s33, "UIBrowserSource"), s33);
46662
- m29 = p47([component], m29);
46673
+ m28 = p47([component], m28);
46663
46674
 
46664
46675
  // node_modules/jodit-pro/esm/plugins/finder/ui/sources/sources.js
46665
46676
  var l40 = Object.defineProperty;
46666
46677
  var p48 = (c74, e42) => l40(c74, "name", { value: e42, configurable: true });
46667
46678
  var t25;
46668
- var m30 = function(c74, e42, o57, n57) {
46679
+ var m29 = function(c74, e42, o57, n57) {
46669
46680
  var s50 = arguments.length, r59 = s50 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, o57) : n57, f50;
46670
46681
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(c74, e42, o57, n57);
46671
46682
  else for (var i54 = c74.length - 1; i54 >= 0; i54--) (f50 = c74[i54]) && (r59 = (s50 < 3 ? f50(r59) : s50 > 3 ? f50(e42, o57, r59) : f50(e42, o57)) || r59);
@@ -46680,19 +46691,19 @@ var u41 = (t25 = class extends UIGroup {
46680
46691
  }
46681
46692
  build(e42) {
46682
46693
  this.clear(), e42.forEach((o57) => {
46683
- this.append(new m29(this.jodit, o57));
46694
+ this.append(new m28(this.jodit, o57));
46684
46695
  });
46685
46696
  }
46686
46697
  }, p48(t25, "UIBrowserSources"), t25);
46687
- u41 = m30([component], u41);
46698
+ u41 = m29([component], u41);
46688
46699
 
46689
46700
  // node_modules/jodit-pro/esm/plugins/finder/ui/statusbar/statusbar.js
46690
46701
  init_decorators();
46691
46702
  init_assert();
46692
- var d36 = Object.defineProperty;
46693
- var a53 = (s50, t48) => d36(s50, "name", { value: t48, configurable: true });
46703
+ var d37 = Object.defineProperty;
46704
+ var a53 = (s50, t48) => d37(s50, "name", { value: t48, configurable: true });
46694
46705
  var l41;
46695
- var m31 = function(s50, t48, r59, o57) {
46706
+ var m30 = function(s50, t48, r59, o57) {
46696
46707
  var n57 = arguments.length, e42 = n57 < 3 ? t48 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t48, r59) : o57, i54;
46697
46708
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e42 = Reflect.decorate(s50, t48, r59, o57);
46698
46709
  else for (var c74 = s50.length - 1; c74 >= 0; c74--) (i54 = s50[c74]) && (e42 = (n57 < 3 ? i54(e42) : n57 > 3 ? i54(t48, r59, e42) : i54(t48, r59)) || e42);
@@ -46714,7 +46725,7 @@ var f29 = (l41 = class extends UIElement {
46714
46725
  return assert(o57 != null, "Slot does not exists"), o57.innerText = t48, this;
46715
46726
  }
46716
46727
  }, a53(l41, "UIBrowserStatusBar"), l41);
46717
- f29 = m31([component], f29);
46728
+ f29 = m30([component], f29);
46718
46729
 
46719
46730
  // node_modules/jodit-pro/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js
46720
46731
  init_decorators();
@@ -46725,7 +46736,7 @@ init_position();
46725
46736
  init_dom();
46726
46737
  init_css();
46727
46738
  var j5 = Object.defineProperty;
46728
- var e22 = (d53, t48) => j5(d53, "name", { value: t48, configurable: true });
46739
+ var e22 = (d54, t48) => j5(d54, "name", { value: t48, configurable: true });
46729
46740
  var n38 = class n39 {
46730
46741
  static remove(t48) {
46731
46742
  Dom.safeRemove(t48.container.querySelector(".jodit-ui-select-items")), t48.j.e.off(t48.container, "mousedown.uiselectitems touchstart.uiselectitems");
@@ -46752,13 +46763,13 @@ e22(n38, "UISelectItems");
46752
46763
  var r42 = n38;
46753
46764
 
46754
46765
  // node_modules/jodit-pro/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js
46755
- var m32 = Object.defineProperty;
46756
- var u42 = (a77, e42) => m32(a77, "name", { value: e42, configurable: true });
46766
+ var m31 = Object.defineProperty;
46767
+ var u42 = (a77, e42) => m31(a77, "name", { value: e42, configurable: true });
46757
46768
  var l42;
46758
46769
  var c34 = function(a77, e42, t48, o57) {
46759
46770
  var s50 = arguments.length, i54 = s50 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, h60;
46760
46771
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(a77, e42, t48, o57);
46761
- else for (var d53 = a77.length - 1; d53 >= 0; d53--) (h60 = a77[d53]) && (i54 = (s50 < 3 ? h60(i54) : s50 > 3 ? h60(e42, t48, i54) : h60(e42, t48)) || i54);
46772
+ else for (var d54 = a77.length - 1; d54 >= 0; d54--) (h60 = a77[d54]) && (i54 = (s50 < 3 ? h60(i54) : s50 > 3 ? h60(e42, t48, i54) : h60(e42, t48)) || i54);
46762
46773
  return s50 > 3 && i54 && Object.defineProperty(e42, t48, i54), i54;
46763
46774
  };
46764
46775
  var f30;
@@ -46838,8 +46849,8 @@ var r43 = f30 = (l42 = class extends UIGroup {
46838
46849
  c34([watch(":afterResize"), watch(":resize"), watch("container:scroll"), throttle()], r43.prototype, "onScrollLoadChunk", null), c34([watch("container:contextmenu")], r43.prototype, "onAreaContextMenu", null), c34([watch("container:dragover")], r43.prototype, "onDragOver", null), c34([watch(["container:dragleave", "container:drop"])], r43.prototype, "onDragLeave", null), r43 = f30 = c34([component], r43);
46839
46850
 
46840
46851
  // node_modules/jodit-pro/esm/plugins/finder/ui/panel/panel.js
46841
- var d37 = Object.defineProperty;
46842
- var p49 = (r59, t48) => d37(r59, "name", { value: t48, configurable: true });
46852
+ var d38 = Object.defineProperty;
46853
+ var p49 = (r59, t48) => d38(r59, "name", { value: t48, configurable: true });
46843
46854
  var a54;
46844
46855
  var o38 = function(r59, t48, e42, h60) {
46845
46856
  var l57 = arguments.length, n57 = l57 < 3 ? t48 : h60 === null ? h60 = Object.getOwnPropertyDescriptor(t48, e42) : h60, g24;
@@ -46868,7 +46879,7 @@ var s34 = (a54 = class extends UIGroup {
46868
46879
  </div>`;
46869
46880
  }
46870
46881
  constructor(t48, e42) {
46871
- super(t48), this.stateManager = e42, this.syncMod = true, this.sources = new u41(this.j), this.sidebar = new i36(this.jodit, [this.sources], this.stateManager.state), this.preview = new m27(this.jodit, this.stateManager.state), this.statusbar = new f29(this.j), this.items = new r43(this.j, this.stateManager), this.settings = new u38(this.jodit, this.stateManager.state), this.state = e42.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();
46882
+ super(t48), this.stateManager = e42, this.syncMod = true, this.sources = new u41(this.j), this.sidebar = new i36(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 r43(this.j, this.stateManager), this.settings = new u38(this.jodit, this.stateManager.state), this.state = e42.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();
46872
46883
  }
46873
46884
  onChangeTheme() {
46874
46885
  this.setMod("theme", this.stateManager.state.theme);
@@ -46986,7 +46997,7 @@ init_constants();
46986
46997
  init_decorators();
46987
46998
  init_helpers();
46988
46999
  var S5 = Object.defineProperty;
46989
- var d38 = (u58, e42) => S5(u58, "name", { value: e42, configurable: true });
47000
+ var d39 = (u58, e42) => S5(u58, "name", { value: e42, configurable: true });
46990
47001
  var c36;
46991
47002
  var a55 = function(u58, e42, t48, s50) {
46992
47003
  var i54 = arguments.length, n57 = i54 < 3 ? e42 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(e42, t48) : s50, r59;
@@ -47094,7 +47105,7 @@ var o39 = (c36 = class _this extends Dialog {
47094
47105
  canPaste(e42) {
47095
47106
  const t48 = this.state.clipboard;
47096
47107
  if (!t48.length || t48.some((r59) => r59.sourceName !== e42.sourceName)) return false;
47097
- const s50 = this.dataProvider, i54 = d38((r59) => r59.mode === "copy" ? s50.canCopy(r59.type === "file") : s50.canI(r59.type === "file" ? "FileMove" : "FolderMove"), "allowed");
47108
+ const s50 = this.dataProvider, i54 = d39((r59) => r59.mode === "copy" ? s50.canCopy(r59.type === "file") : s50.canI(r59.type === "file" ? "FileMove" : "FolderMove"), "allowed");
47098
47109
  if (!t48.every(i54)) return false;
47099
47110
  const n57 = s30(e42.path);
47100
47111
  return !t48.some((r59) => r59.type === "folder" && (n57 === r59.from || n57.startsWith(r59.from + "/")));
@@ -47103,7 +47114,7 @@ var o39 = (c36 = class _this extends Dialog {
47103
47114
  if (!this.canPaste(e42)) return;
47104
47115
  const t48 = this.state.clipboard;
47105
47116
  t48.some((r59) => r59.mode === "cut") && (this.state.clipboard = []);
47106
- const s50 = s30(e42.path), i54 = d38(() => __async(this, null, function* () {
47117
+ const s50 = s30(e42.path), i54 = d39(() => __async(this, null, function* () {
47107
47118
  let r59 = 0;
47108
47119
  for (const h60 of t48) {
47109
47120
  const b17 = h60.type === "file";
@@ -47194,7 +47205,7 @@ var o39 = (c36 = class _this extends Dialog {
47194
47205
  o37.open(this, e42, this.state.elements);
47195
47206
  }
47196
47207
  initUploader() {
47197
- const e42 = this, t48 = ConfigProto(e42.o.uploader || {}, Config.defaultOptions.uploader), s50 = d38(() => this.loadingManager.loadItems(), "uploadHandler");
47208
+ const e42 = this, t48 = ConfigProto(e42.o.uploader || {}, Config.defaultOptions.uploader), s50 = d39(() => this.loadingManager.loadItems(), "uploadHandler");
47198
47209
  e42.uploader = e42.getInstance("Uploader", t48), e42.uploader.bind(e42.panel.container, s50, e42.errorHandler), e42.e.on("bindUploader.filebrowser", (i54) => {
47199
47210
  e42.uploader.bind(i54, s50, e42.errorHandler);
47200
47211
  });
@@ -47207,7 +47218,7 @@ var o39 = (c36 = class _this extends Dialog {
47207
47218
  this.options[t48] != null && (this.options[t48] = ConfigProto(this.options[t48], this.o.ajax));
47208
47219
  });
47209
47220
  }
47210
- }, d38(c36, "FileBrowserPro"), c36);
47221
+ }, d39(c36, "FileBrowserPro"), c36);
47211
47222
  a55([autobind], o39.prototype, "status", null), a55([autobind], o39.prototype, "errorHandler", null), a55([cache], o39.prototype, "progressbar", null), a55([watch(":resize", { context: window })], o39.prototype, "onResizeWindow", null), a55([watch(["state.currentPath", "state.currentSource"])], o39.prototype, "onChangePath", null), a55([watch("state.theme")], o39.prototype, "onChangeTheme", null), a55([watch(":toggleSettings.filebrowser")], o39.prototype, "onToggleSettings", null), a55([autobind], o39.prototype, "onKeyPress", null), a55([autobind], o39.prototype, "removeGlobalListeners", null), a55([watch(":cut.filebrowser")], o39.prototype, "onCut", null), a55([watch(":copy.filebrowser")], o39.prototype, "onCopy", null), a55([watch(":paste.filebrowser")], o39.prototype, "onPaste", null), a55([watch(":fileRemove.filebrowser")], o39.prototype, "onFileRemove", null), a55([watch(":edit.filebrowser")], o39.prototype, "onFileEdit", null), a55([watch(":folderRename.filebrowser")], o39.prototype, "onFolderRename", null), a55([watch(":folderRemove.filebrowser")], o39.prototype, "onFolderRemove", null), a55([watch(":folderCreate.filebrowser")], o39.prototype, "onFolderCreate", null), a55([watch(":fileRename.filebrowser")], o39.prototype, "onFileRename", null), a55([watch(":select.filebrowser")], o39.prototype, "onChooseItems", null), a55([watch(":openLightBox.filebrowser")], o39.prototype, "onOpenLightBox", null), o39 = a55([component, derive(Dlgs)], o39);
47212
47223
  Object.defineProperty(n11.modules, "FileBrowserPro", { value: o39, writable: false, enumerable: true, configurable: true });
47213
47224
 
@@ -47404,10 +47415,10 @@ var l45 = Object.defineProperty;
47404
47415
  var t27 = (e42, o57) => l45(e42, "name", { value: o57, configurable: true });
47405
47416
  var p50 = false;
47406
47417
  var n40 = [];
47407
- function d39(e42) {
47418
+ function d40(e42) {
47408
47419
  p50 ? e42() : n40.push(e42);
47409
47420
  }
47410
- t27(d39, "googleReady");
47421
+ t27(d40, "googleReady");
47411
47422
  function i40() {
47412
47423
  p50 = true, n40 && n40.forEach((e42) => e42());
47413
47424
  }
@@ -47436,8 +47447,8 @@ t27(A3, "isApiAvailable");
47436
47447
 
47437
47448
  // node_modules/jodit-pro/esm/plugins/google-maps/helpers/generate-static-elements.js
47438
47449
  init_strip_tags();
47439
- var d40 = Object.defineProperty;
47440
- var s37 = (e42, o57) => d40(e42, "name", { value: o57, configurable: true });
47450
+ var d41 = Object.defineProperty;
47451
+ var s37 = (e42, o57) => d41(e42, "name", { value: o57, configurable: true });
47441
47452
  function h35(e42) {
47442
47453
  return e42.state.elements.map((o57) => {
47443
47454
  var r59, t48, n57, a77, i54, l57;
@@ -47465,8 +47476,8 @@ o42(i41, "staticUrl");
47465
47476
 
47466
47477
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/combo-box/combo-box.js
47467
47478
  init_decorators();
47468
- var d41 = Object.defineProperty;
47469
- var s39 = (c74, e42) => d41(c74, "name", { value: e42, configurable: true });
47479
+ var d42 = Object.defineProperty;
47480
+ var s39 = (c74, e42) => d42(c74, "name", { value: e42, configurable: true });
47470
47481
  var u45 = function(c74, e42, t48, o57) {
47471
47482
  var l57 = arguments.length, n57 = l57 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, p63;
47472
47483
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n57 = Reflect.decorate(c74, e42, t48, o57);
@@ -47498,8 +47509,8 @@ u45([hook("ready")], r48.prototype, "onReady", null), u45([watch("nativeInput:in
47498
47509
  init_decorators();
47499
47510
 
47500
47511
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/editors/base.js
47501
- var d42 = Object.defineProperty;
47502
- var i44 = (n57, s50) => d42(n57, "name", { value: s50, configurable: true });
47512
+ var d43 = Object.defineProperty;
47513
+ var i44 = (n57, s50) => d43(n57, "name", { value: s50, configurable: true });
47503
47514
  var t28 = class t29 extends UIGroup {
47504
47515
  className() {
47505
47516
  return "UIBaseEditor";
@@ -47526,7 +47537,7 @@ var e23 = t28;
47526
47537
  init_component();
47527
47538
  init_assert();
47528
47539
  var u46 = Object.defineProperty;
47529
- var m33 = (s50, e42) => u46(s50, "name", { value: e42, configurable: true });
47540
+ var m32 = (s50, e42) => u46(s50, "name", { value: e42, configurable: true });
47530
47541
  var n41;
47531
47542
  var f33 = function(s50, e42, i54, l57) {
47532
47543
  var r59 = arguments.length, t48 = r59 < 3 ? e42 : l57 === null ? l57 = Object.getOwnPropertyDescriptor(e42, i54) : l57, o57;
@@ -47551,12 +47562,12 @@ var c41 = (n41 = class extends UIElement {
47551
47562
  <div class='&__editor'></div>
47552
47563
  </div>`;
47553
47564
  }
47554
- }, m33(n41, "UIWysiwyg"), n41);
47565
+ }, m32(n41, "UIWysiwyg"), n41);
47555
47566
  c41 = f33([component], c41);
47556
47567
 
47557
47568
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/editors/marker/marker.js
47558
- var d43 = Object.defineProperty;
47559
- var f34 = (i54, e42) => d43(i54, "name", { value: e42, configurable: true });
47569
+ var d44 = Object.defineProperty;
47570
+ var f34 = (i54, e42) => d44(i54, "name", { value: e42, configurable: true });
47560
47571
  var n42;
47561
47572
  var c42 = function(i54, e42, o57, r59) {
47562
47573
  var s50 = arguments.length, t48 = s50 < 3 ? e42 : r59 === null ? r59 = Object.getOwnPropertyDescriptor(e42, o57) : r59, p63;
@@ -47629,7 +47640,7 @@ c44([hook("ready")], s40.prototype, "onReady", null), s40 = c44([component], s40
47629
47640
  var h38 = Object.defineProperty;
47630
47641
  var c45 = (e42, s50) => h38(e42, "name", { value: s50, configurable: true });
47631
47642
  function u47(e42) {
47632
- var s50, o57, a77, i54, l57, n57, d53, r59;
47643
+ var s50, o57, a77, i54, l57, n57, d54, r59;
47633
47644
  switch (this.state.mode) {
47634
47645
  case "polyline":
47635
47646
  case "polygon": {
@@ -47644,7 +47655,7 @@ function u47(e42) {
47644
47655
  }
47645
47656
  case "marker": {
47646
47657
  const t48 = e42;
47647
- this.state.elements = [...this.state.elements, __spreadValues({ type: this.state.mode, coordinates: [(n57 = (l57 = t48.getPosition()) === null || l57 === void 0 ? void 0 : l57.lat()) !== null && n57 !== void 0 ? n57 : 0, (r59 = (d53 = t48.getPosition()) === null || d53 === void 0 ? void 0 : d53.lng()) !== null && r59 !== void 0 ? r59 : 0] }, this.options.googleMaps.map.defaultStates.marker)];
47658
+ this.state.elements = [...this.state.elements, __spreadValues({ type: this.state.mode, coordinates: [(n57 = (l57 = t48.getPosition()) === null || l57 === void 0 ? void 0 : l57.lat()) !== null && n57 !== void 0 ? n57 : 0, (r59 = (d54 = t48.getPosition()) === null || d54 === void 0 ? void 0 : d54.lng()) !== null && r59 !== void 0 ? r59 : 0] }, this.options.googleMaps.map.defaultStates.marker)];
47648
47659
  break;
47649
47660
  }
47650
47661
  }
@@ -47654,7 +47665,7 @@ c45(u47, "addNewInState");
47654
47665
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js
47655
47666
  var n44 = Object.defineProperty;
47656
47667
  var c46 = (e42, o57) => n44(e42, "name", { value: o57, configurable: true });
47657
- function m34(e42, o57, i54 = false) {
47668
+ function m33(e42, o57, i54 = false) {
47658
47669
  const t48 = this.mapElements[o57];
47659
47670
  if (t48.state === e42 || t48.state.type !== e42.type) return;
47660
47671
  const r59 = t48.state;
@@ -47690,28 +47701,28 @@ function m34(e42, o57, i54 = false) {
47690
47701
  }
47691
47702
  t48.state = e42, this.state.elements[o57] = e42;
47692
47703
  }
47693
- c46(m34, "updateStateAndGme");
47704
+ c46(m33, "updateStateAndGme");
47694
47705
 
47695
47706
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js
47696
- var d44 = Object.defineProperty;
47697
- var c47 = (o57, e42) => d44(o57, "name", { value: e42, configurable: true });
47707
+ var d45 = Object.defineProperty;
47708
+ var c47 = (o57, e42) => d45(o57, "name", { value: e42, configurable: true });
47698
47709
  function h39(o57, e42) {
47699
47710
  var i54, l57, r59, s50;
47700
47711
  switch (o57.type) {
47701
47712
  case "polyline":
47702
47713
  case "polygon": {
47703
47714
  const t48 = g13(o57.gme.getPath()), a77 = __spreadProps(__spreadValues({}, o57.state), { coordinates: t48 });
47704
- m34.call(this, a77, e42, true);
47715
+ m33.call(this, a77, e42, true);
47705
47716
  break;
47706
47717
  }
47707
47718
  case "marker": {
47708
47719
  const t48 = o57.gme.getPosition(), a77 = __spreadProps(__spreadValues({}, o57.state), { coordinates: [(i54 = t48 == null ? void 0 : t48.lat()) !== null && i54 !== void 0 ? i54 : 0, (l57 = t48 == null ? void 0 : t48.lng()) !== null && l57 !== void 0 ? l57 : 0] });
47709
- m34.call(this, a77, e42, true);
47720
+ m33.call(this, a77, e42, true);
47710
47721
  break;
47711
47722
  }
47712
47723
  case "circle": {
47713
47724
  const t48 = o57.gme.getCenter(), a77 = __spreadProps(__spreadValues({}, o57.state), { radius: o57.gme.getRadius(), coordinates: [(r59 = t48 == null ? void 0 : t48.lat()) !== null && r59 !== void 0 ? r59 : 0, (s50 = t48 == null ? void 0 : t48.lng()) !== null && s50 !== void 0 ? s50 : 0] });
47714
- m34.call(this, a77, e42, true);
47725
+ m33.call(this, a77, e42, true);
47715
47726
  break;
47716
47727
  }
47717
47728
  }
@@ -47719,8 +47730,8 @@ function h39(o57, e42) {
47719
47730
  c47(h39, "onChangeGeometries");
47720
47731
 
47721
47732
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/remove-element.js
47722
- var m35 = Object.defineProperty;
47723
- var s41 = (t48, e42) => m35(t48, "name", { value: e42, configurable: true });
47733
+ var m34 = Object.defineProperty;
47734
+ var s41 = (t48, e42) => m34(t48, "name", { value: e42, configurable: true });
47724
47735
  function i46(t48) {
47725
47736
  const e42 = this.mapElements.indexOf(t48);
47726
47737
  e42 !== -1 && (this.mapElements[e42].gme.setMap(null), this.mapElements.splice(e42, 1), this.state.elements.splice(e42, 1), this.state.elements = [...this.state.elements]);
@@ -47757,7 +47768,7 @@ function u48(t48, i54) {
47757
47768
  this.append(e42), this.j.e.on(e42, "bin", () => {
47758
47769
  i46.call(this, t48);
47759
47770
  }).on(e42, "change", (s50, r59) => {
47760
- m34.call(this, __spreadProps(__spreadValues({}, t48.state), { [s50]: r59 }), i54);
47771
+ m33.call(this, __spreadProps(__spreadValues({}, t48.state), { [s50]: r59 }), i54);
47761
47772
  });
47762
47773
  const o57 = l46.call(this);
47763
47774
  if (t48.type === "polygon" || t48.type === "polyline") {
@@ -47778,7 +47789,7 @@ function L5(o57, e42) {
47778
47789
  var a77;
47779
47790
  const t48 = this.mapElements[e42];
47780
47791
  if (t48) {
47781
- if (t48.state.type === o57.type) return m34.call(this, o57, e42);
47792
+ if (t48.state.type === o57.type) return m33.call(this, o57, e42);
47782
47793
  t48.gme.setMap(null);
47783
47794
  }
47784
47795
  let r59;
@@ -47929,7 +47940,7 @@ init_component();
47929
47940
  var h40 = Object.defineProperty;
47930
47941
  var p52 = (l57, o57) => h40(l57, "name", { value: o57, configurable: true });
47931
47942
  var c49;
47932
- var m36 = function(l57, o57, e42, n57) {
47943
+ var m35 = function(l57, o57, e42, n57) {
47933
47944
  var r59 = arguments.length, t48 = r59 < 3 ? o57 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(o57, e42) : n57, s50;
47934
47945
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t48 = Reflect.decorate(l57, o57, e42, n57);
47935
47946
  else for (var a77 = l57.length - 1; a77 >= 0; a77--) (s50 = l57[a77]) && (t48 = (r59 < 3 ? s50(t48) : r59 > 3 ? s50(o57, e42, t48) : s50(o57, e42)) || t48);
@@ -47948,13 +47959,13 @@ var i47 = (c49 = class extends UIForm {
47948
47959
  this.state.controls = __spreadProps(__spreadValues({}, this.state.controls), { [o57]: e42 === "true" });
47949
47960
  }
47950
47961
  }, p52(c49, "UIMapsControlsForm"), c49);
47951
- i47 = m36([component], i47);
47962
+ i47 = m35([component], i47);
47952
47963
 
47953
47964
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/maps-props/maps-props.js
47954
47965
  init_decorators();
47955
47966
  init_selector();
47956
- var m37 = Object.defineProperty;
47957
- var v17 = (u58, e42) => m37(u58, "name", { value: e42, configurable: true });
47967
+ var m36 = Object.defineProperty;
47968
+ var v17 = (u58, e42) => m36(u58, "name", { value: e42, configurable: true });
47958
47969
  var h41;
47959
47970
  var r49 = function(u58, e42, t48, n57) {
47960
47971
  var a77 = arguments.length, l57 = a77 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, t48) : n57, i54;
@@ -48009,11 +48020,11 @@ init_decorators();
48009
48020
  init_helpers();
48010
48021
  init_plugin2();
48011
48022
  var C8 = Object.defineProperty;
48012
- var u49 = (d53, e42) => C8(d53, "name", { value: e42, configurable: true });
48013
- var h42 = function(d53, e42, s50, t48) {
48023
+ var u49 = (d54, e42) => C8(d54, "name", { value: e42, configurable: true });
48024
+ var h42 = function(d54, e42, s50, t48) {
48014
48025
  var i54 = arguments.length, r59 = i54 < 3 ? e42 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(e42, s50) : t48, c74;
48015
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(d53, e42, s50, t48);
48016
- else for (var p63 = d53.length - 1; p63 >= 0; p63--) (c74 = d53[p63]) && (r59 = (i54 < 3 ? c74(r59) : i54 > 3 ? c74(e42, s50, r59) : c74(e42, s50)) || r59);
48026
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(d54, e42, s50, t48);
48027
+ else for (var p63 = d54.length - 1; p63 >= 0; p63--) (c74 = d54[p63]) && (r59 = (i54 < 3 ? c74(r59) : i54 > 3 ? c74(e42, s50, r59) : c74(e42, s50)) || r59);
48017
48028
  return i54 > 3 && r59 && Object.defineProperty(e42, s50, r59), r59;
48018
48029
  };
48019
48030
  window.JoditGoogleReadyHandler = i40;
@@ -48059,7 +48070,7 @@ var y6 = class y7 extends Plugin {
48059
48070
  const l57 = u49(() => {
48060
48071
  A3() ? a77(0) : this.j.async.setTimeout(l57, 100);
48061
48072
  }, "intervalChecker");
48062
- l57(), d39(a77);
48073
+ l57(), d40(a77);
48063
48074
  }).then(() => {
48064
48075
  o57.setStatus("ready"), n57.setStatus("ready");
48065
48076
  }), this.j.e.on(n57, "select", (a77, l57) => {
@@ -48078,13 +48089,13 @@ var y6 = class y7 extends Plugin {
48078
48089
  const l57 = { value: a77.outerHTML };
48079
48090
  this.onAfterGetValueFromEditor(l57), t48.execCommand("preview", null, l57.value);
48080
48091
  })]).setContent(TabsWidget(t48, [{ name: "Map", icon: "map", content: o57 }, { name: "Settings", content: new o43(t48, o57.state) }, { name: "Controls", icon: "menu", content: new i47(t48, o57.state) }])).setFooter([Button(t48, "cancel", "Cancel", "default").onAction(() => i54.close()), Button(t48, "ok", e42 ? "Save" : "Insert", "primary").onAction(() => {
48081
- o57.destruct(), n57.destruct(), i54.e.off("beforeClose", m54), i54.close(), this.insertMap(e42, o57);
48092
+ o57.destruct(), n57.destruct(), i54.e.off("beforeClose", m53), i54.close(), this.insertMap(e42, o57);
48082
48093
  })]).open();
48083
- const m54 = u49(() => {
48094
+ const m53 = u49(() => {
48084
48095
  if (o57.state.elements.length && JSON.stringify(o57.state.elements) !== JSON.stringify(p63.elements) && !IS_TEST && !confirm(this.i18n("Are you sure?"))) return false;
48085
- o57.destruct(), n57.destruct(), i54.e.off("beforeClose", m54);
48096
+ o57.destruct(), n57.destruct(), i54.e.off("beforeClose", m53);
48086
48097
  }, "onCLose");
48087
- i54.e.on("beforeClose", m54);
48098
+ i54.e.on("beforeClose", m53);
48088
48099
  });
48089
48100
  }
48090
48101
  getDialog() {
@@ -48123,8 +48134,8 @@ var C9 = '<svg width="11" height="15" viewBox="0 0 11 15" fill="none" xmlns="htt
48123
48134
  init_config();
48124
48135
  init_helpers();
48125
48136
  init_plugin2();
48126
- var d45 = Object.defineProperty;
48127
- var m38 = (e42, o57) => d45(e42, "name", { value: o57, configurable: true });
48137
+ var d46 = Object.defineProperty;
48138
+ var m37 = (e42, o57) => d46(e42, "name", { value: o57, configurable: true });
48128
48139
  Config.prototype.controls.google = { tooltip: "Google search", icon: C9, isDisabled(e42) {
48129
48140
  return isEditorEmpty(e42.editor);
48130
48141
  }, command: "startSearch" };
@@ -48133,7 +48144,7 @@ var c50 = class c51 extends Plugin {
48133
48144
  super(...arguments), this.buttons = [{ name: "google", group: "search" }];
48134
48145
  }
48135
48146
  afterInit(o57) {
48136
- o57.registerCommand("startSearch", { exec: m38(() => {
48147
+ o57.registerCommand("startSearch", { exec: m37(() => {
48137
48148
  var i54, n57, s50;
48138
48149
  let r59;
48139
48150
  const { s: l57 } = o57;
@@ -48146,7 +48157,7 @@ var c50 = class c51 extends Plugin {
48146
48157
  beforeDestruct(o57) {
48147
48158
  }
48148
48159
  };
48149
- m38(c50, "googleSearch");
48160
+ m37(c50, "googleSearch");
48150
48161
  var t30 = c50;
48151
48162
  t30.requires = ["license"], n11.plugins.add("google-search", t30);
48152
48163
 
@@ -48160,7 +48171,7 @@ init_dom();
48160
48171
  init_attr();
48161
48172
  init_plugin();
48162
48173
  var j6 = Object.defineProperty;
48163
- var d46 = (c74, e42) => j6(c74, "name", { value: e42, configurable: true });
48174
+ var d47 = (c74, e42) => j6(c74, "name", { value: e42, configurable: true });
48164
48175
  var g18 = function(c74, e42, t48, r59) {
48165
48176
  var i54 = arguments.length, o57 = i54 < 3 ? e42 : r59 === null ? r59 = Object.getOwnPropertyDescriptor(e42, t48) : r59, n57;
48166
48177
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(c74, e42, t48, r59);
@@ -48225,14 +48236,14 @@ var h43 = class h44 extends Plugin {
48225
48236
  }
48226
48237
  replaceMatchedTextToElm(e42, t48, r59, i54) {
48227
48238
  var o57;
48228
- const { j: n57 } = this, { range: s50 } = n57.s, u58 = s50.startContainer === e42, m54 = s50.startOffset, f50 = (o57 = r59.index) !== null && o57 !== void 0 ? o57 : 0;
48239
+ const { j: n57 } = this, { range: s50 } = n57.s, u58 = s50.startContainer === e42, m53 = s50.startOffset, f50 = (o57 = r59.index) !== null && o57 !== void 0 ? o57 : 0;
48229
48240
  e42.nodeValue = t48.substring(0, f50);
48230
48241
  const p63 = t48.substring(f50 + r59[0].length);
48231
48242
  if (p63.length) {
48232
48243
  const x9 = n57.createInside.text(p63);
48233
48244
  Dom.after(e42, x9);
48234
48245
  }
48235
- i54.innerText = r59[0], Dom.after(e42, i54), u58 && this.restoreCursorPosition(m54, e42, i54.firstChild, i54.nextSibling);
48246
+ i54.innerText = r59[0], Dom.after(e42, i54), u58 && this.restoreCursorPosition(m53, e42, i54.firstChild, i54.nextSibling);
48236
48247
  }
48237
48248
  static hasUtilWrapper(e42) {
48238
48249
  return Dom.isTemporary(e42.parentElement);
@@ -48261,7 +48272,7 @@ var h43 = class h44 extends Plugin {
48261
48272
  });
48262
48273
  }
48263
48274
  };
48264
- d46(h43, "highlightSignature");
48275
+ d47(h43, "highlightSignature");
48265
48276
  var l47 = h43;
48266
48277
  l47.requires = ["license"], g18([debounce()], l47.prototype, "walkNodes", null), g18([autobind], l47.prototype, "runWorker", null), n11.plugins.add("highlight-signature", l47);
48267
48278
 
@@ -50970,23 +50981,23 @@ var j7 = class j8 extends ViewComponent {
50970
50981
  }), i54.onAction(() => {
50971
50982
  y9 = i54, o57.saveAs();
50972
50983
  }), e42.onAction(() => o57.update({ zoom: o57.state.zoom / 1.2 })), l57.onAction(() => o57.update({ zoom: o57.state.zoom * 1.2 })), a77.onAction(() => o57.reset()), p63.onAction(() => o57.update({ history: { step: -1 } })), f50.onAction(() => o57.update({ history: { step: 1 } }));
50973
- const g24 = h46((...d53) => {
50984
+ const g24 = h46((...d54) => {
50974
50985
  const u58 = t48.c.div("jodit-image-editor-pro__group");
50975
- return u58.style.display = "flex", u58.style.alignItems = "center", u58.style.gap = "4px", d53.forEach((b17) => u58.appendChild(b17)), u58;
50976
- }, "group"), m54 = t48.c.div("jodit-image-editor-pro__toolbar");
50977
- m54.style.display = "flex", m54.style.alignItems = "center", m54.style.gap = "12px", m54.style.width = "100%", r59.style.opacity = "0.75", c74.style.minWidth = "3.5em", c74.style.textAlign = "center", m54.appendChild(g24(s50.container, i54.container)), m54.appendChild(g24(r59, e42.container, c74, l57.container));
50986
+ return u58.style.display = "flex", u58.style.alignItems = "center", u58.style.gap = "4px", d54.forEach((b17) => u58.appendChild(b17)), u58;
50987
+ }, "group"), m53 = t48.c.div("jodit-image-editor-pro__toolbar");
50988
+ m53.style.display = "flex", m53.style.alignItems = "center", m53.style.gap = "12px", m53.style.width = "100%", r59.style.opacity = "0.75", c74.style.minWidth = "3.5em", c74.style.textAlign = "center", m53.appendChild(g24(s50.container, i54.container)), m53.appendChild(g24(r59, e42.container, c74, l57.container));
50978
50989
  const z2 = g24(a77.container, p63.container, f50.container);
50979
- z2.style.marginLeft = "auto", m54.appendChild(z2), n57.setHeader(m54);
50980
- const x9 = "jodit-image-editor-pro__button_busy", _12 = h46((d53) => {
50981
- const u58 = selectors.selectOutputSize(d53), b17 = d53.status === "exporting", C14 = b17 || d53.status === "loading", S8 = d53.busyVisible, E4 = b17 && (S8 != null ? S8 : true);
50982
- b17 || (y9 = null), s50.setState({ disabled: !d53.source || C14 }), i54.setState({ disabled: !d53.source || C14 }), s50.container.classList.toggle(x9, E4 && y9 !== i54), i54.container.classList.toggle(x9, E4 && y9 === i54), a77.setState({ disabled: !selectors.selectIsDirty(d53) }), p63.setState({ disabled: !selectors.selectCanUndo(d53) }), f50.setState({ disabled: !selectors.selectCanRedo(d53) }), r59.textContent = u58 ? `${u58.width} \xD7 ${u58.height}` : "";
50983
- const A4 = selectors.selectViewportFit(d53), V = Math.round(A4 ? A4.scale * 100 : d53.zoom * 100);
50990
+ z2.style.marginLeft = "auto", m53.appendChild(z2), n57.setHeader(m53);
50991
+ const x9 = "jodit-image-editor-pro__button_busy", _12 = h46((d54) => {
50992
+ const u58 = selectors.selectOutputSize(d54), b17 = d54.status === "exporting", C14 = b17 || d54.status === "loading", S8 = d54.busyVisible, E4 = b17 && (S8 != null ? S8 : true);
50993
+ b17 || (y9 = null), s50.setState({ disabled: !d54.source || C14 }), i54.setState({ disabled: !d54.source || C14 }), s50.container.classList.toggle(x9, E4 && y9 !== i54), i54.container.classList.toggle(x9, E4 && y9 === i54), a77.setState({ disabled: !selectors.selectIsDirty(d54) }), p63.setState({ disabled: !selectors.selectCanUndo(d54) }), f50.setState({ disabled: !selectors.selectCanRedo(d54) }), r59.textContent = u58 ? `${u58.width} \xD7 ${u58.height}` : "";
50994
+ const A4 = selectors.selectViewportFit(d54), V = Math.round(A4 ? A4.scale * 100 : d54.zoom * 100);
50984
50995
  c74.textContent = `${V}%`;
50985
50996
  }, "sync");
50986
50997
  _12(o57.state);
50987
50998
  const U3 = o57.store.subscribe(_12);
50988
50999
  return () => {
50989
- U3(), [s50, i54, e42, l57, a77, p63, f50].forEach((d53) => d53.destruct());
51000
+ U3(), [s50, i54, e42, l57, a77, p63, f50].forEach((d54) => d54.destruct());
50990
51001
  };
50991
51002
  }
50992
51003
  saveAs(n57, o57, t48, s50, i54) {
@@ -51072,7 +51083,7 @@ var $4 = j7;
51072
51083
  // node_modules/jodit-pro/esm/plugins/image-editor-pro/image-editor-pro.js
51073
51084
  init_plugin2();
51074
51085
  var a62 = Object.defineProperty;
51075
- var m39 = (s50, r59) => a62(s50, "name", { value: r59, configurable: true });
51086
+ var m38 = (s50, r59) => a62(s50, "name", { value: r59, configurable: true });
51076
51087
  var t31 = class t32 extends Plugin {
51077
51088
  afterInit(r59) {
51078
51089
  const i54 = $4, o57 = n11.modules;
@@ -51081,7 +51092,7 @@ var t31 = class t32 extends Plugin {
51081
51092
  beforeDestruct(r59) {
51082
51093
  }
51083
51094
  };
51084
- m39(t31, "imageEditorPro");
51095
+ m38(t31, "imageEditorPro");
51085
51096
  var e24 = t31;
51086
51097
  e24.requires = ["license"], n11.plugins.add("imageEditorPro", e24);
51087
51098
 
@@ -51109,7 +51120,7 @@ var p54 = function(l57, e42, a77, t48) {
51109
51120
  else for (var o57 = l57.length - 1; o57 >= 0; o57--) (c74 = l57[o57]) && (r59 = (i54 < 3 ? c74(r59) : i54 > 3 ? c74(e42, a77, r59) : c74(e42, a77)) || r59);
51110
51121
  return i54 > 3 && r59 && Object.defineProperty(e42, a77, r59), r59;
51111
51122
  };
51112
- var m40 = (n48 = class extends UIGroup {
51123
+ var m39 = (n48 = class extends UIGroup {
51113
51124
  className() {
51114
51125
  return "UIIframeEditor";
51115
51126
  }
@@ -51129,7 +51140,7 @@ var m40 = (n48 = class extends UIGroup {
51129
51140
  }, "onChange") })]);
51130
51141
  }
51131
51142
  }, s43(n48, "UIIframeEditor"), n48);
51132
- m40 = p54([component], m40);
51143
+ m39 = p54([component], m39);
51133
51144
 
51134
51145
  // node_modules/jodit-pro/esm/plugins/iframe-editor/iframe-editor.js
51135
51146
  init_decorators();
@@ -51139,12 +51150,12 @@ init_plugin2();
51139
51150
  var p55 = Object.defineProperty;
51140
51151
  var a63 = (c74, i54) => p55(c74, "name", { value: i54, configurable: true });
51141
51152
  var u50 = function(c74, i54, e42, t48) {
51142
- var s50 = arguments.length, l57 = s50 < 3 ? i54 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(i54, e42) : t48, d53;
51153
+ var s50 = arguments.length, l57 = s50 < 3 ? i54 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(i54, e42) : t48, d54;
51143
51154
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l57 = Reflect.decorate(c74, i54, e42, t48);
51144
- else for (var o57 = c74.length - 1; o57 >= 0; o57--) (d53 = c74[o57]) && (l57 = (s50 < 3 ? d53(l57) : s50 > 3 ? d53(i54, e42, l57) : d53(i54, e42)) || l57);
51155
+ else for (var o57 = c74.length - 1; o57 >= 0; o57--) (d54 = c74[o57]) && (l57 = (s50 < 3 ? d54(l57) : s50 > 3 ? d54(i54, e42, l57) : d54(i54, e42)) || l57);
51145
51156
  return s50 > 3 && l57 && Object.defineProperty(i54, e42, l57), l57;
51146
51157
  };
51147
- var m41 = class m42 extends Plugin {
51158
+ var m40 = class m41 extends Plugin {
51148
51159
  constructor() {
51149
51160
  super(...arguments), this.buttons = [{ group: "form", name: "iframeEditor" }];
51150
51161
  }
@@ -51152,9 +51163,9 @@ var m41 = class m42 extends Plugin {
51152
51163
  i54.e.on("toggleIframeEditor", this.toggleEditor);
51153
51164
  }
51154
51165
  toggleEditor(i54) {
51155
- var e42, t48, s50, l57, d53;
51166
+ var e42, t48, s50, l57, d54;
51156
51167
  this.__dialog || (this.__dialog = new Dialog({ language: this.j.o.language, theme: this.j.o.theme }), this.__dialog.setHeader("Iframe Properties").setSize(470, 400)), i54 && !Dom.isTag(i54, "iframe") && (i54 = void 0);
51157
- const o57 = new m40(this.__dialog, { src: (e42 = i54 == null ? void 0 : i54.src) !== null && e42 !== void 0 ? e42 : "", name: (t48 = i54 == null ? void 0 : i54.name) !== null && t48 !== void 0 ? t48 : "", title: (s50 = i54 == null ? void 0 : i54.title) !== null && s50 !== void 0 ? s50 : "", frameBorder: (i54 == null ? void 0 : i54.frameBorder) === "1" || (i54 == null ? void 0 : i54.frameBorder) === "yes", width: (l57 = i54 == null ? void 0 : i54.offsetWidth) !== null && l57 !== void 0 ? l57 : 700, height: (d53 = i54 == null ? void 0 : i54.offsetHeight) !== null && d53 !== void 0 ? d53 : 400 });
51168
+ const o57 = new m39(this.__dialog, { src: (e42 = i54 == null ? void 0 : i54.src) !== null && e42 !== void 0 ? e42 : "", name: (t48 = i54 == null ? void 0 : i54.name) !== null && t48 !== void 0 ? t48 : "", title: (s50 = i54 == null ? void 0 : i54.title) !== null && s50 !== void 0 ? s50 : "", frameBorder: (i54 == null ? void 0 : i54.frameBorder) === "1" || (i54 == null ? void 0 : i54.frameBorder) === "yes", width: (l57 = i54 == null ? void 0 : i54.offsetWidth) !== null && l57 !== void 0 ? l57 : 700, height: (d54 = i54 == null ? void 0 : i54.offsetHeight) !== null && d54 !== void 0 ? d54 : 400 });
51158
51169
  this.__dialog.setContent(o57);
51159
51170
  const n57 = this.__dialog;
51160
51171
  n57.isOpened ? n57.close() : (n57.setFooter([Button(n57, "cancel", "Cancel", "default").onAction(() => n57.close()), Button(n57, "ok", i54 ? "Update" : "Insert", "primary").onAction(() => {
@@ -51175,8 +51186,8 @@ var m41 = class m42 extends Plugin {
51175
51186
  (e42 = this.__dialog) === null || e42 === void 0 || e42.destruct();
51176
51187
  }
51177
51188
  };
51178
- a63(m41, "IframeEditor");
51179
- var r50 = m41;
51189
+ a63(m40, "IframeEditor");
51190
+ var r50 = m40;
51180
51191
  r50.requires = ["license", "color-picker"], u50([autobind], r50.prototype, "toggleEditor", null), u50([watch(":dblclick")], r50.prototype, "onDblClick", null), n11.plugins.add("iframe-editor", r50);
51181
51192
 
51182
51193
  // node_modules/jodit-pro/esm/plugins/keyboard/icon.svg.js
@@ -51210,7 +51221,7 @@ var v18 = '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d=
51210
51221
 
51211
51222
  // node_modules/jodit-pro/esm/plugins/keyboard/ui/keyboard/keyboard.js
51212
51223
  var b14 = Object.defineProperty;
51213
- var m43 = (u58, t48) => b14(u58, "name", { value: t48, configurable: true });
51224
+ var m42 = (u58, t48) => b14(u58, "name", { value: t48, configurable: true });
51214
51225
  var p56;
51215
51226
  var l49 = function(u58, t48, r59, s50) {
51216
51227
  var o57 = arguments.length, e42 = o57 < 3 ? t48 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(t48, r59) : s50, a77;
@@ -51331,7 +51342,7 @@ var n49 = f37 = (p56 = class extends UIElement {
51331
51342
  return t48;
51332
51343
  }
51333
51344
  }
51334
- }, m43(p56, "UIKeyboard"), p56);
51345
+ }, m42(p56, "UIKeyboard"), p56);
51335
51346
  l49([watch(["state.currentLayout", "state.options", "state.shift", "state.caps"])], n49.prototype, "onStateChange", null), l49([watch(["ow:mouseup"])], n49.prototype, "onKeyUp", null), l49([hook("ready")], n49.prototype, "onReady", null), l49([autobind], n49.prototype, "stopPress", null), l49([watch(["container:mousedown", "container:touchstart"])], n49.prototype, "onKeyDown", null), n49 = f37 = l49([component], n49);
51336
51347
 
51337
51348
  // node_modules/jodit-pro/esm/plugins/keyboard/keyboard.js
@@ -51340,11 +51351,11 @@ init_decorators();
51340
51351
  init_checker();
51341
51352
  init_plugin2();
51342
51353
  var y8 = Object.defineProperty;
51343
- var h49 = (d53, t48) => y8(d53, "name", { value: t48, configurable: true });
51344
- var c53 = function(d53, t48, e42, s50) {
51354
+ var h49 = (d54, t48) => y8(d54, "name", { value: t48, configurable: true });
51355
+ var c53 = function(d54, t48, e42, s50) {
51345
51356
  var r59 = arguments.length, i54 = r59 < 3 ? t48 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(t48, e42) : s50, o57;
51346
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(d53, t48, e42, s50);
51347
- else for (var n57 = d53.length - 1; n57 >= 0; n57--) (o57 = d53[n57]) && (i54 = (r59 < 3 ? o57(i54) : r59 > 3 ? o57(t48, e42, i54) : o57(t48, e42)) || i54);
51357
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(d54, t48, e42, s50);
51358
+ else for (var n57 = d54.length - 1; n57 >= 0; n57--) (o57 = d54[n57]) && (i54 = (r59 < 3 ? o57(i54) : r59 > 3 ? o57(t48, e42, i54) : o57(t48, e42)) || i54);
51348
51359
  return r59 > 3 && i54 && Object.defineProperty(t48, e42, i54), i54;
51349
51360
  };
51350
51361
  var u51 = class u52 extends Plugin {
@@ -51405,11 +51416,11 @@ var f38 = Object.defineProperty;
51405
51416
  var l50 = (e42, n57) => f38(e42, "name", { value: n57, configurable: true });
51406
51417
  Config.prototype.mobileView = { mode: "default" };
51407
51418
  var c54 = "buttonmobileSView";
51408
- var m44 = "buttonmobileCView";
51409
- Config.prototype.controls.mobileView = { tooltip: "Mobile View", icon: a65, command: "mobileView", isActive: l50((e42) => dataBind(e42, m44) && dataBind(e42, m44) !== "default", "isActive"), isChildActive: l50((e42, n57) => {
51419
+ var m43 = "buttonmobileCView";
51420
+ Config.prototype.controls.mobileView = { tooltip: "Mobile View", icon: a65, command: "mobileView", isActive: l50((e42) => dataBind(e42, m43) && dataBind(e42, m43) !== "default", "isActive"), isChildActive: l50((e42, n57) => {
51410
51421
  var t48, i54;
51411
51422
  let o57 = (i54 = (t48 = n57.control) === null || t48 === void 0 ? void 0 : t48.args) === null || i54 === void 0 ? void 0 : i54[0];
51412
- return isNumeric(o57) && (o57 = Number(o57)), (dataBind(e42, m44) || "default") === o57;
51423
+ return isNumeric(o57) && (o57 = Number(o57)), (dataBind(e42, m43) || "default") === o57;
51413
51424
  }, "isChildActive"), exec: l50((e42) => {
51414
51425
  if (dataBind(e42, c54)) {
51415
51426
  e42.execCommand("mobileView", false, dataBind(e42, c54));
@@ -51429,8 +51440,8 @@ init_plugin2();
51429
51440
  var b15 = Object.defineProperty;
51430
51441
  var c55 = (o57, e42) => b15(o57, "name", { value: e42, configurable: true });
51431
51442
  var h50 = (o57, e42) => () => (e42 || o57((e42 = { exports: {} }).exports, e42), e42.exports);
51432
- var S6 = h50((d53) => {
51433
- var n57, m54 = d53 && d53.__decorate || function(o57, e42, i54, l57) {
51443
+ var S6 = h50((d54) => {
51444
+ var n57, m53 = d54 && d54.__decorate || function(o57, e42, i54, l57) {
51434
51445
  var t48 = arguments.length, r59 = t48 < 3 ? e42 : l57 === null ? l57 = Object.getOwnPropertyDescriptor(e42, i54) : l57, u58;
51435
51446
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(o57, e42, i54, l57);
51436
51447
  else for (var a77 = o57.length - 1; a77 >= 0; a77--) (u58 = o57[a77]) && (r59 = (t48 < 3 ? u58(r59) : t48 > 3 ? u58(e42, i54, r59) : u58(e42, i54)) || r59);
@@ -51445,7 +51456,7 @@ var S6 = h50((d53) => {
51445
51456
  }
51446
51457
  afterInit(e42) {
51447
51458
  e42.registerCommand("mobileView", { exec: c55((i54, l57, t48) => {
51448
- this.__currentMode === t48 && (t48 = "default"), this.__currentMode = t48, dataBind(e42, m44, t48), this.__currentMode !== "default" && dataBind(e42, c54, t48), t48 === "default" ? css(this.jodit.currentPlace.slots.center, { width: null, margin: null }) : css(this.j.currentPlace.slots.center, { width: t48, margin: "0 auto" });
51459
+ this.__currentMode === t48 && (t48 = "default"), this.__currentMode = t48, dataBind(e42, m43, t48), this.__currentMode !== "default" && dataBind(e42, c54, t48), t48 === "default" ? css(this.jodit.currentPlace.slots.center, { width: null, margin: null }) : css(this.j.currentPlace.slots.center, { width: t48, margin: "0 auto" });
51449
51460
  }, "exec") }), e42.events.on("beforeSetMode", () => {
51450
51461
  });
51451
51462
  }
@@ -51455,7 +51466,7 @@ var S6 = h50((d53) => {
51455
51466
  beforeDestruct(e42) {
51456
51467
  }
51457
51468
  }, c55(n57, "MobileView"), n57);
51458
- f50.requires = ["license"], m54([watch(":beforeSetMode.mobileView")], f50.prototype, "__beforeSetMode", null), f50 = m54([component], f50), n11.plugins.add("mobileView", f50);
51469
+ f50.requires = ["license"], m53([watch(":beforeSetMode.mobileView")], f50.prototype, "__beforeSetMode", null), f50 = m53([component], f50), n11.plugins.add("mobileView", f50);
51459
51470
  });
51460
51471
  var mobile_view_default = S6();
51461
51472
 
@@ -51491,9 +51502,9 @@ init_decorators();
51491
51502
  init_dom2();
51492
51503
  init_helpers();
51493
51504
  init_plugin2();
51494
- var m45 = Object.defineProperty;
51495
- var c56 = (i54, e42) => m45(i54, "name", { value: e42, configurable: true });
51496
- var d47 = function(i54, e42, t48, o57) {
51505
+ var m44 = Object.defineProperty;
51506
+ var c56 = (i54, e42) => m44(i54, "name", { value: e42, configurable: true });
51507
+ var d48 = function(i54, e42, t48, o57) {
51497
51508
  var r59 = arguments.length, a77 = r59 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, s50;
51498
51509
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(i54, e42, t48, o57);
51499
51510
  else for (var p63 = i54.length - 1; p63 >= 0; p63--) (s50 = i54[p63]) && (a77 = (r59 < 3 ? s50(a77) : r59 > 3 ? s50(e42, t48, a77) : s50(e42, t48)) || a77);
@@ -51532,7 +51543,7 @@ var f39 = class f40 extends Plugin {
51532
51543
  };
51533
51544
  c56(f39, "PageBreak");
51534
51545
  var n50 = f39;
51535
- n50.requires = ["license"], d47([watch([":change", ":afterSetMode"]), debounce()], n50.prototype, "onChange", null), d47([watch(":afterGetValueFromEditor")], n50.prototype, "onAfterGetValueFromEditor", null), n11.plugins.add("pageBreak", n50);
51546
+ n50.requires = ["license"], d48([watch([":change", ":afterSetMode"]), debounce()], n50.prototype, "onChange", null), d48([watch(":afterGetValueFromEditor")], n50.prototype, "onAfterGetValueFromEditor", null), n11.plugins.add("pageBreak", n50);
51536
51547
 
51537
51548
  // node_modules/jodit-pro/esm/plugins/paste-code/helpers.js
51538
51549
  init_dom2();
@@ -51558,7 +51569,7 @@ function h51(e42, t48) {
51558
51569
  return e42.i18n(String(n57 ? n57.text : t48));
51559
51570
  }
51560
51571
  i48(h51, "languageTitle");
51561
- function m46(e42, t48, n57) {
51572
+ function m45(e42, t48, n57) {
51562
51573
  const o57 = i48((c74) => Array.from(c74.classList).forEach((s50) => {
51563
51574
  /^language-/.test(s50) && c74.classList.remove(s50);
51564
51575
  }), "strip");
@@ -51566,7 +51577,7 @@ function m46(e42, t48, n57) {
51566
51577
  const a77 = f41(t48);
51567
51578
  a77 !== t48 && o57(a77), a77.classList.add(`language-${n57}`), e42.e.fire("rehighlightPasteCode", t48), e42.e.fire("synchro");
51568
51579
  }
51569
- i48(m46, "setPreLanguage");
51580
+ i48(m45, "setPreLanguage");
51570
51581
  function x7(e42, t48) {
51571
51582
  const n57 = t48.innerText, { navigator: o57 } = e42.ow;
51572
51583
  if (o57 && o57.clipboard && o57.clipboard.writeText) o57.clipboard.writeText(n57).catch(() => null);
@@ -51626,7 +51637,7 @@ var l51;
51626
51637
  var r52 = function(p63, t48, e42, i54) {
51627
51638
  var o57 = arguments.length, n57 = o57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, u58;
51628
51639
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n57 = Reflect.decorate(p63, t48, e42, i54);
51629
- else for (var d53 = p63.length - 1; d53 >= 0; d53--) (u58 = p63[d53]) && (n57 = (o57 < 3 ? u58(n57) : o57 > 3 ? u58(t48, e42, n57) : u58(t48, e42)) || n57);
51640
+ else for (var d54 = p63.length - 1; d54 >= 0; d54--) (u58 = p63[d54]) && (n57 = (o57 < 3 ? u58(n57) : o57 > 3 ? u58(t48, e42, n57) : u58(t48, e42)) || n57);
51630
51641
  return o57 > 3 && n57 && Object.defineProperty(t48, e42, n57), n57;
51631
51642
  };
51632
51643
  var C12 = 16;
@@ -51706,7 +51717,7 @@ var s44 = (l51 = class extends UIElement {
51706
51717
  Dom.isTag(o57, "pre") && i54.setState({ text: h51(this.j, C11(this.j, o57)), icon: { name: "" } });
51707
51718
  }, "update"), childExec: a67((e42, i54, { control: o57 }) => {
51708
51719
  const n57 = String(o57.args && o57.args[0] || "plaintext");
51709
- Dom.isTag(i54, "pre") && (m46(this.j, i54, n57), this.j.e.fire("hideCodeTuner.pasteCode"));
51720
+ Dom.isTag(i54, "pre") && (m45(this.j, i54, n57), this.j.e.fire("hideCodeTuner.pasteCode"));
51710
51721
  }, "childExec") };
51711
51722
  }
51712
51723
  onAnchorMouseDown(t48) {
@@ -51726,12 +51737,12 @@ init_is_boolean();
51726
51737
  init_htmlspecialchars();
51727
51738
  init_plugin2();
51728
51739
  var v20 = Object.defineProperty;
51729
- var _9 = (d53, e42) => v20(d53, "name", { value: e42, configurable: true });
51740
+ var _9 = (d54, e42) => v20(d54, "name", { value: e42, configurable: true });
51730
51741
  var u53;
51731
- var g20 = function(d53, e42, t48, o57) {
51742
+ var g20 = function(d54, e42, t48, o57) {
51732
51743
  var i54 = arguments.length, a77 = i54 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, s50;
51733
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(d53, e42, t48, o57);
51734
- else for (var n57 = d53.length - 1; n57 >= 0; n57--) (s50 = d53[n57]) && (a77 = (i54 < 3 ? s50(a77) : i54 > 3 ? s50(e42, t48, a77) : s50(e42, t48)) || a77);
51744
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(d54, e42, t48, o57);
51745
+ else for (var n57 = d54.length - 1; n57 >= 0; n57--) (s50 = d54[n57]) && (a77 = (i54 < 3 ? s50(a77) : i54 > 3 ? s50(e42, t48, a77) : s50(e42, t48)) || a77);
51735
51746
  return i54 > 3 && a77 && Object.defineProperty(e42, t48, a77), a77;
51736
51747
  };
51737
51748
  var l52 = (u53 = class extends Plugin {
@@ -51818,8 +51829,8 @@ var l52 = (u53 = class extends Plugin {
51818
51829
  }
51819
51830
  }, _9(u53, "pasteCode"), u53);
51820
51831
  l52.requires = ["license"], g20([autobind], l52.prototype, "__openCodeEditDialog", null), g20([watch("?:rehighlightPasteCode")], l52.prototype, "onRehighlightPasteCode", null), g20([watch(["?:change", "?:afterInit"]), debounce()], l52.prototype, "__onChange", null), g20([watch(["?:dblclick", "?:editPreInPasteCode"])], l52.prototype, "onPreEdit", null), g20([watch("?:afterGetValueFromEditor")], l52.prototype, "onAfterGetValueFromEditor", null), l52 = g20([component], l52);
51821
- function L6(d53, e42) {
51822
- return d53.promise((t48, o57) => {
51832
+ function L6(d54, e42) {
51833
+ return d54.promise((t48, o57) => {
51823
51834
  e42.then(t48).catch(o57);
51824
51835
  }).catch(() => null);
51825
51836
  }
@@ -51996,8 +52007,8 @@ init_decorators();
51996
52007
  init_dom();
51997
52008
  init_global2();
51998
52009
  init_plugin2();
51999
- var m47 = Object.defineProperty;
52000
- var c69 = (s50, e42) => m47(s50, "name", { value: e42, configurable: true });
52010
+ var m46 = Object.defineProperty;
52011
+ var c69 = (s50, e42) => m46(s50, "name", { value: e42, configurable: true });
52001
52012
  var a69 = function(s50, e42, i54, n57) {
52002
52013
  var r59 = arguments.length, t48 = r59 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, i54) : n57, l57;
52003
52014
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t48 = Reflect.decorate(s50, e42, i54, n57);
@@ -52134,16 +52145,16 @@ function b16(t48, s50) {
52134
52145
  if (o57) for (let l57 = 1; l57 < e42.length; l57++) o57.classList.add(e42[l57]);
52135
52146
  }
52136
52147
  r54(b16, "addExtraClasses");
52137
- function m48(t48) {
52148
+ function m47(t48) {
52138
52149
  var s50;
52139
52150
  if (t48.attributes) return { element: t48.element, attributes: t48.attributes };
52140
52151
  const n57 = (s50 = t48.classes) === null || s50 === void 0 ? void 0 : s50.filter(Boolean)[0];
52141
52152
  return n57 ? { element: t48.element, attributes: { class: n57 } } : { element: t48.element };
52142
52153
  }
52143
- r54(m48, "buildCommitStyleOptions");
52154
+ r54(m47, "buildCommitStyleOptions");
52144
52155
  function S7(t48, s50, n57) {
52145
52156
  const e42 = h54(t48, n57);
52146
- e42 && IS_BLOCK.test(e42.element) === IS_BLOCK.test(s50.element) && (t48.s.commitStyle(m48(e42)), e42.attributes || p58(t48, e42), e42 === s50) || (t48.s.commitStyle(m48(s50)), s50.attributes || b16(t48, s50));
52157
+ e42 && IS_BLOCK.test(e42.element) === IS_BLOCK.test(s50.element) && (t48.s.commitStyle(m47(e42)), e42.attributes || p58(t48, e42), e42 === s50) || (t48.s.commitStyle(m47(s50)), s50.attributes || b16(t48, s50));
52147
52158
  }
52148
52159
  r54(S7, "applyStyle");
52149
52160
 
@@ -52166,11 +52177,11 @@ var f45 = (t48, o57) => h55(t48, "name", { value: o57, configurable: true });
52166
52177
  var n52 = "jodit-style-popup";
52167
52178
  function j9(t48, o57, v22) {
52168
52179
  var s50, a77;
52169
- const m54 = r55(o57), C14 = h54(t48, o57), i54 = t48.c.div(n52);
52170
- for (const p63 of m54) {
52180
+ const m53 = r55(o57), C14 = h54(t48, o57), i54 = t48.c.div(n52);
52181
+ for (const p63 of m53) {
52171
52182
  const r59 = t48.c.div(`${n52}__group-title`);
52172
52183
  r59.textContent = t48.i18n(p63.title), i54.appendChild(r59);
52173
- const d53 = t48.c.div(`${n52}__grid`);
52184
+ const d54 = t48.c.div(`${n52}__grid`);
52174
52185
  for (const e42 of p63.definitions) {
52175
52186
  const c74 = t48.c.element("button");
52176
52187
  c74.type = "button";
@@ -52183,9 +52194,9 @@ function j9(t48, o57, v22) {
52183
52194
  const _12 = t48.c.div(`${n52}__card-label`);
52184
52195
  _12.textContent = e42.name, c74.appendChild(_12), t48.e.on(c74, "click", () => {
52185
52196
  t48.s.focus(), S7(t48, e42, o57), t48.synchronizeValues(), v22();
52186
- }), d53.appendChild(c74);
52197
+ }), d54.appendChild(c74);
52187
52198
  }
52188
- i54.appendChild(d53);
52199
+ i54.appendChild(d54);
52189
52200
  }
52190
52201
  return i54;
52191
52202
  }
@@ -52239,8 +52250,8 @@ var t44 = o50;
52239
52250
  t44.requires = ["license"], n11.plugins.add("style", t44);
52240
52251
 
52241
52252
  // node_modules/jodit-pro/esm/plugins/templates/ui/templates-popup.js
52242
- var m49 = Object.defineProperty;
52243
- var r56 = (n57, p63) => m49(n57, "name", { value: p63, configurable: true });
52253
+ var m48 = Object.defineProperty;
52254
+ var r56 = (n57, p63) => m48(n57, "name", { value: p63, configurable: true });
52244
52255
  var t45 = "jodit-templates-popup";
52245
52256
  function C13(n57, p63, _12) {
52246
52257
  const l57 = n57.c.div(t45);
@@ -52256,8 +52267,8 @@ function C13(n57, p63, _12) {
52256
52267
  i54.innerHTML = e42.html, s50.appendChild(i54);
52257
52268
  }
52258
52269
  c74.appendChild(s50);
52259
- const a77 = n57.c.div(`${t45}__card-info`), d53 = n57.c.div(`${t45}__card-title`);
52260
- d53.textContent = e42.title, a77.appendChild(d53);
52270
+ const a77 = n57.c.div(`${t45}__card-info`), d54 = n57.c.div(`${t45}__card-title`);
52271
+ d54.textContent = e42.title, a77.appendChild(d54);
52261
52272
  const o57 = n57.c.div(`${t45}__card-description`);
52262
52273
  o57.textContent = e42.description, a77.appendChild(o57), c74.appendChild(a77), n57.e.on(c74, "click", () => {
52263
52274
  n57.s.focus(), n57.s.insertHTML(e42.html), n57.synchronizeValues(), _12();
@@ -52332,7 +52343,7 @@ var i49 = function(c74, e42, t48, s50) {
52332
52343
  else for (var u58 = c74.length - 1; u58 >= 0; u58--) (p63 = c74[u58]) && (r59 = (l57 < 3 ? p63(r59) : l57 > 3 ? p63(e42, t48, r59) : p63(e42, t48)) || r59);
52333
52344
  return l57 > 3 && r59 && Object.defineProperty(e42, t48, r59), r59;
52334
52345
  };
52335
- var d48 = true;
52346
+ var d49 = true;
52336
52347
  var h56 = class h57 extends Plugin {
52337
52348
  constructor() {
52338
52349
  super(...arguments), this.buttons = [{ name: "todoList", group: "list" }], this.__isOwnCommand = false;
@@ -52342,7 +52353,7 @@ var h56 = class h57 extends Plugin {
52342
52353
  }
52343
52354
  onCommand() {
52344
52355
  try {
52345
- this.__isOwnCommand = true, this.jodit.s.commitStyle({ element: "ul", attributes: { class: this.j.o.todoList.className }, hooks: d48 ? { afterWrapList: this.__afterWrapList, afterToggleAttribute: this.__afterWrapList } : {} });
52356
+ this.__isOwnCommand = true, this.jodit.s.commitStyle({ element: "ul", attributes: { class: this.j.o.todoList.className }, hooks: d49 ? { afterWrapList: this.__afterWrapList, afterToggleAttribute: this.__afterWrapList } : {} });
52346
52357
  } finally {
52347
52358
  this.__isOwnCommand = false;
52348
52359
  }
@@ -52356,7 +52367,7 @@ var h56 = class h57 extends Plugin {
52356
52367
  r59.appendChild(p63), Dom.prepend(e42, r59);
52357
52368
  }
52358
52369
  __afterToggleList(e42, t48) {
52359
- if (d48) {
52370
+ if (d49) {
52360
52371
  if ((e42 === CHANGE || e42 === REPLACE) && this.__isOwnCommand) return this.__appendInputs(t48);
52361
52372
  if (e42 === UNWRAP || e42 === REPLACE || e42 === CHANGE) return this.__removeInputs(t48);
52362
52373
  }
@@ -52370,7 +52381,7 @@ var h56 = class h57 extends Plugin {
52370
52381
  }
52371
52382
  __beforeToggleOrderedList(e42, t48, s50) {
52372
52383
  var l57;
52373
- if (!d48) return;
52384
+ if (!d49) return;
52374
52385
  const r59 = "__beforeToggleOrderedList";
52375
52386
  if (e42 !== REPLACE && (t48.classList.contains(this.j.o.todoList.className) || s50.isApplied(t48, r59)) && (s50.element === "ul" || s50.element === "ol") && ((l57 = s50.options.attributes) === null || l57 === void 0 ? void 0 : l57.class) !== this.j.o.todoList.className) {
52376
52387
  const p63 = Dom.replace(t48, s50.element, this.jodit.createInside);
@@ -52511,13 +52522,13 @@ init_decorators();
52511
52522
  init_dom();
52512
52523
  init_helpers();
52513
52524
  init_attr();
52514
- var m50 = Object.defineProperty;
52515
- var _10 = (r59, t48) => m50(r59, "name", { value: t48, configurable: true });
52525
+ var m49 = Object.defineProperty;
52526
+ var _10 = (r59, t48) => m49(r59, "name", { value: t48, configurable: true });
52516
52527
  var s47;
52517
52528
  var l54 = function(r59, t48, e42, i54) {
52518
52529
  var n57 = arguments.length, a77 = n57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, h60;
52519
52530
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(r59, t48, e42, i54);
52520
- else for (var d53 = r59.length - 1; d53 >= 0; d53--) (h60 = r59[d53]) && (a77 = (n57 < 3 ? h60(a77) : n57 > 3 ? h60(t48, e42, a77) : h60(t48, e42)) || a77);
52531
+ else for (var d54 = r59.length - 1; d54 >= 0; d54--) (h60 = r59[d54]) && (a77 = (n57 < 3 ? h60(a77) : n57 > 3 ? h60(t48, e42, a77) : h60(t48, e42)) || a77);
52521
52532
  return n57 > 3 && a77 && Object.defineProperty(t48, e42, a77), a77;
52522
52533
  };
52523
52534
  var o54 = (s47 = class extends UIElement {
@@ -52613,19 +52624,19 @@ _11([watch("arrow-swap:click")], l55.prototype, "__onSwap", null), l55 = _11([co
52613
52624
  init_dom();
52614
52625
  var x8 = Object.defineProperty;
52615
52626
  var i52 = (t48, e42) => x8(t48, "name", { value: e42, configurable: true });
52616
- function R3(t48) {
52627
+ function R2(t48) {
52617
52628
  const e42 = [], r59 = t48.s.expandSelection().sel;
52618
52629
  if (!r59 || r59.rangeCount === 0 || r59.isCollapsed) return e42;
52619
52630
  t48.s.range.commonAncestorContainer.normalize();
52620
- const a77 = t48.s.range, { commonAncestorContainer: T4, startContainer: l57, endContainer: h60, startOffset: u58, endOffset: d53 } = a77;
52631
+ const a77 = t48.s.range, { commonAncestorContainer: T4, startContainer: l57, endContainer: h60, startOffset: u58, endOffset: d54 } = a77;
52621
52632
  if (l57 === h60) {
52622
- if (Dom.isText(l57)) return [f46(l57, u58, d53)];
52623
- if (d53 - u58 === 1) {
52633
+ if (Dom.isText(l57)) return [f46(l57, u58, d54)];
52634
+ if (d54 - u58 === 1) {
52624
52635
  const o57 = l57.childNodes[u58];
52625
52636
  return Dom.isText(o57) ? [f46(o57, 0, o57.nodeValue.length)] : [N3(o57)];
52626
52637
  }
52627
- if (u58 === 0 && l57.childNodes.length === d53) return [N3(l57)];
52628
- for (let o57 = u58; o57 < d53; o57++) {
52638
+ if (u58 === 0 && l57.childNodes.length === d54) return [N3(l57)];
52639
+ for (let o57 = u58; o57 < d54; o57++) {
52629
52640
  const s50 = l57.childNodes[o57];
52630
52641
  Dom.isText(s50) ? e42.push(f46(s50, 0, s50.nodeValue.length)) : e42.push(N3(s50));
52631
52642
  }
@@ -52634,18 +52645,18 @@ function R3(t48) {
52634
52645
  const p63 = /* @__PURE__ */ new Set(), g24 = t48.ed.createTreeWalker(T4, NodeFilter.SHOW_ALL, { acceptNode: i52((o57) => !a77.intersectsNode(o57) || Dom.closest(o57, (s50) => s50 && p63.has(s50), T4) ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT, "acceptNode") });
52635
52646
  let n57 = g24.nextNode();
52636
52647
  for (; n57; ) {
52637
- if (Dom.isElement(n57) && m51(a77, n57)) p63.add(n57), e42.push(N3(n57));
52638
- else if (Dom.isText(n57) && m51(a77, n57)) e42.push(f46(n57, 0, n57.nodeValue.length));
52648
+ if (Dom.isElement(n57) && m50(a77, n57)) p63.add(n57), e42.push(N3(n57));
52649
+ else if (Dom.isText(n57) && m50(a77, n57)) e42.push(f46(n57, 0, n57.nodeValue.length));
52639
52650
  else if (Dom.isText(n57)) {
52640
52651
  let o57 = 0, s50 = n57.nodeValue.length;
52641
- n57 === l57 && (o57 = u58), n57 === h60 && (s50 = d53), e42.push(f46(n57, o57, s50));
52652
+ n57 === l57 && (o57 = u58), n57 === h60 && (s50 = d54), e42.push(f46(n57, o57, s50));
52642
52653
  }
52643
52654
  n57 = g24.nextNode();
52644
52655
  }
52645
52656
  return e42;
52646
52657
  }
52647
- i52(R3, "getSelectionFragments");
52648
- var m51 = i52((t48, e42) => {
52658
+ i52(R2, "getSelectionFragments");
52659
+ var m50 = i52((t48, e42) => {
52649
52660
  const r59 = document.createRange();
52650
52661
  try {
52651
52662
  r59.selectNodeContents(e42);
@@ -52676,7 +52687,7 @@ init_assert();
52676
52687
  init_plugin2();
52677
52688
  var f47 = Object.defineProperty;
52678
52689
  var l56 = (i54, t48) => f47(i54, "name", { value: t48, configurable: true });
52679
- var d49 = function(i54, t48, a77, o57) {
52690
+ var d50 = function(i54, t48, a77, o57) {
52680
52691
  var r59 = arguments.length, e42 = r59 < 3 ? t48 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t48, a77) : o57, s50;
52681
52692
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e42 = Reflect.decorate(i54, t48, a77, o57);
52682
52693
  else for (var n57 = i54.length - 1; n57 >= 0; n57--) (s50 = i54[n57]) && (e42 = (r59 < 3 ? s50(e42) : r59 > 3 ? s50(t48, a77, e42) : s50(t48, a77)) || e42);
@@ -52711,7 +52722,7 @@ var g22 = class g23 extends Plugin {
52711
52722
  this.state = o57, r59.close();
52712
52723
  })]), u58.bindDestruct(r59), r59.setSize(500, 400).open(true);
52713
52724
  }), "exec"), hotkeys: t48.o.translate.hotkeys.translateOptions }).registerCommand("translate", { exec: l56(() => {
52714
- const o57 = R3(t48).filter((s50) => s50.text.trim().length > 0);
52725
+ const o57 = R2(t48).filter((s50) => s50.text.trim().length > 0);
52715
52726
  if (!o57.length) {
52716
52727
  t48.message.error("Select text for translate");
52717
52728
  return;
@@ -52733,7 +52744,7 @@ var g22 = class g23 extends Plugin {
52733
52744
  };
52734
52745
  l56(g22, "Translate");
52735
52746
  var c72 = g22;
52736
- c72.requires = ["license"], d49([persistent], c72.prototype, "state", void 0), n11.plugins.add("translate", c72);
52747
+ c72.requires = ["license"], d50([persistent], c72.prototype, "state", void 0), n11.plugins.add("translate", c72);
52737
52748
 
52738
52749
  // node_modules/jodit-pro/esm/plugins/tune-block/config.js
52739
52750
  init_config();
@@ -52780,8 +52791,8 @@ c73(a76, "moveTo"), Config.prototype.controls.tune = { h1: u56("h1"), h2: u56("h
52780
52791
  init_decorators();
52781
52792
  init_dom2();
52782
52793
  init_helpers();
52783
- var m52 = Object.defineProperty;
52784
- var d50 = (h60, t48) => m52(h60, "name", { value: t48, configurable: true });
52794
+ var m51 = Object.defineProperty;
52795
+ var d51 = (h60, t48) => m51(h60, "name", { value: t48, configurable: true });
52785
52796
  var p60;
52786
52797
  var s49 = function(h60, t48, o57, i54) {
52787
52798
  var r59 = arguments.length, e42 = r59 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, o57) : i54, l57;
@@ -52839,14 +52850,14 @@ var n56 = (p60 = class extends UIElement {
52839
52850
  toggleToolbar() {
52840
52851
  this.getMod("opened") ? this.closeToolbar() : this.openToolbar();
52841
52852
  }
52842
- }, d50(p60, "UITuner"), p60);
52853
+ }, d51(p60, "UITuner"), p60);
52843
52854
  s49([watch(":hideTuner.tune")], n56.prototype, "hide", null), s49([watch("j.editor:scroll"), throttle(10)], n56.prototype, "onEditorScroll", null), s49([watch(":afterExecTune.tune"), idle()], n56.prototype, "onAfterExecTune", null), s49([watch("container:click container:mousedown")], n56.prototype, "onClickPrevent", null), s49([watch("handle:click")], n56.prototype, "onTargetClick", null), s49([watch(":closeTuner.tune")], n56.prototype, "closeToolbar", null), n56 = s49([component], n56);
52844
52855
 
52845
52856
  // node_modules/jodit-pro/esm/plugins/tune-block/tune-block.js
52846
52857
  init_decorators();
52847
52858
  init_plugin2();
52848
- var d51 = Object.defineProperty;
52849
- var f49 = (i54, e42) => d51(i54, "name", { value: e42, configurable: true });
52859
+ var d52 = Object.defineProperty;
52860
+ var f49 = (i54, e42) => d52(i54, "name", { value: e42, configurable: true });
52850
52861
  var u57 = function(i54, e42, n57, r59) {
52851
52862
  var l57 = arguments.length, t48 = l57 < 3 ? e42 : r59 === null ? r59 = Object.getOwnPropertyDescriptor(e42, n57) : r59, c74;
52852
52863
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t48 = Reflect.decorate(i54, e42, n57, r59);
@@ -52875,11 +52886,11 @@ var o55 = p61;
52875
52886
  o55.requires = ["license"], u57([watch(":outsideClick :keydown")], o55.prototype, "hideTuner", null), u57([watch("j.ed:selectionchange"), debounce()], o55.prototype, "onChangeSelection", null), u57([watch(":click")], o55.prototype, "onClickInBlock", null), n11.plugins.add("tune-block", o55);
52876
52887
 
52877
52888
  // node_modules/jodit-pro/esm/index.js
52878
- var d52 = Object.defineProperty;
52879
- var o56 = (r59, t48) => d52(r59, "name", { value: t48, configurable: true });
52880
- function m53() {
52889
+ var d53 = Object.defineProperty;
52890
+ var o56 = (r59, t48) => d53(r59, "name", { value: t48, configurable: true });
52891
+ function m52() {
52881
52892
  }
52882
- o56(m53, "poweredByJodit"), n11.plugins.add("poweredByJodit", m53), n11.modules.ListReconciler = x2;
52893
+ o56(m52, "poweredByJodit"), n11.plugins.add("poweredByJodit", m52), n11.modules.ListReconciler = x2;
52883
52894
 
52884
52895
  // src/JoditEditor.tsx
52885
52896
  import { forwardRef, useEffect, useRef } from "react";