jodit-pro-react 5.5.58 → 5.5.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -193,7 +193,7 @@ var APP_VERSION, ES, IS_ES_MODERN, IS_ES_NEXT, IS_PROD, IS_TEST, FAT_MODE, HOMEP
193
193
  var init_constants = __esm({
194
194
  "node_modules/jodit/esm/core/constants.js"() {
195
195
  "use strict";
196
- APP_VERSION = "4.12.41";
196
+ APP_VERSION = "4.12.43";
197
197
  ES = "es2020";
198
198
  IS_ES_MODERN = true;
199
199
  IS_ES_NEXT = true;
@@ -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";
@@ -20128,6 +20128,13 @@ function getHash(tags) {
20128
20128
  return false;
20129
20129
  }
20130
20130
 
20131
+ // node_modules/jodit/esm/plugins/clean-html/helpers/is-allowed-media-embed.js
20132
+ var YOUTUBE_EMBED = /^(https?:)?\/\/(www\.|m\.|music\.)?youtube(-nocookie)?\.com\/embed\//i;
20133
+ var VIMEO_EMBED = /^(https?:)?\/\/player\.vimeo\.com\/video\//i;
20134
+ function isAllowedMediaEmbed(src) {
20135
+ return YOUTUBE_EMBED.test(src) || VIMEO_EMBED.test(src);
20136
+ }
20137
+
20131
20138
  // node_modules/jodit/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.js
20132
20139
  init_constants();
20133
20140
  init_dom();
@@ -20396,6 +20403,9 @@ function sandboxIframesInContent(jodit, nodeElm, hadEffect) {
20396
20403
  return hadEffect;
20397
20404
  }
20398
20405
  const elm = nodeElm;
20406
+ if (isAllowedMediaEmbed(attr(elm, "src") || "")) {
20407
+ return hadEffect;
20408
+ }
20399
20409
  if (!elm.hasAttribute("sandbox")) {
20400
20410
  attr(elm, "sandbox", "");
20401
20411
  return true;
@@ -20484,6 +20494,7 @@ function filterStyleProperties(style, allowed) {
20484
20494
  init_constants();
20485
20495
  init_dom();
20486
20496
  init_trim();
20497
+ init_attr();
20487
20498
  function tryRemoveNode(jodit, nodeElm, hadEffect, allowTags, denyTags, currentSelectionNode) {
20488
20499
  if (isRemovableNode(jodit, nodeElm, currentSelectionNode, allowTags, denyTags)) {
20489
20500
  Dom.safeRemove(nodeElm);
@@ -20496,7 +20507,8 @@ function isRemovableNode(jodit, node, current, allow, deny) {
20496
20507
  if (allow && !allow[node.nodeName]) {
20497
20508
  return true;
20498
20509
  }
20499
- if (!allow && deny && deny[node.nodeName]) {
20510
+ const isTrustedEmbed = node.nodeName === "IFRAME" && isAllowedMediaEmbed(attr(node, "src") || "");
20511
+ if (!allow && deny && deny[node.nodeName] && !isTrustedEmbed) {
20500
20512
  return true;
20501
20513
  }
20502
20514
  }
@@ -20531,13 +20543,13 @@ function visitNodeWalker(jodit, nodeElm, allowTags, denyTags, currentSelectionNo
20531
20543
 
20532
20544
  // node_modules/jodit/esm/plugins/clean-html/clean-html.js
20533
20545
  var __decorate39 = function(decorators, target, key3, desc) {
20534
- 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;
20535
20547
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
20536
20548
  r59 = Reflect.decorate(decorators, target, key3, desc);
20537
20549
  else
20538
20550
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
20539
- if (d53 = decorators[i54])
20540
- 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;
20541
20553
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
20542
20554
  };
20543
20555
  var cleanHtml = class extends Plugin {
@@ -21431,13 +21443,13 @@ init_global2();
21431
21443
  init_helpers();
21432
21444
  init_plugin2();
21433
21445
  var __decorate40 = function(decorators, target, key3, desc) {
21434
- 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;
21435
21447
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
21436
21448
  r59 = Reflect.decorate(decorators, target, key3, desc);
21437
21449
  else
21438
21450
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
21439
- if (d53 = decorators[i54])
21440
- 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;
21441
21453
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
21442
21454
  };
21443
21455
  var dragAndDrop = class extends Plugin {
@@ -21594,13 +21606,13 @@ Config.prototype.draggableTags = ["img", "jodit-media", "jodit"];
21594
21606
 
21595
21607
  // node_modules/jodit/esm/plugins/drag-and-drop-element/drag-and-drop-element.js
21596
21608
  var __decorate41 = function(decorators, target, key3, desc) {
21597
- 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;
21598
21610
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
21599
21611
  r59 = Reflect.decorate(decorators, target, key3, desc);
21600
21612
  else
21601
21613
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
21602
- if (d53 = decorators[i54])
21603
- 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;
21604
21616
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
21605
21617
  };
21606
21618
  var DragState;
@@ -22002,13 +22014,13 @@ function wrapText(fake, jodit) {
22002
22014
 
22003
22015
  // node_modules/jodit/esm/plugins/enter/enter.js
22004
22016
  var __decorate42 = function(decorators, target, key3, desc) {
22005
- 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;
22006
22018
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
22007
22019
  r59 = Reflect.decorate(decorators, target, key3, desc);
22008
22020
  else
22009
22021
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
22010
- if (d53 = decorators[i54])
22011
- 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;
22012
22024
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
22013
22025
  };
22014
22026
  var enter = class extends Plugin {
@@ -22937,13 +22949,13 @@ Config.prototype.imageProcessor = {
22937
22949
 
22938
22950
  // node_modules/jodit/esm/plugins/image-processor/image-processor.js
22939
22951
  var __decorate43 = function(decorators, target, key3, desc) {
22940
- 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;
22941
22953
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
22942
22954
  r59 = Reflect.decorate(decorators, target, key3, desc);
22943
22955
  else
22944
22956
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
22945
- if (d53 = decorators[i54])
22946
- 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;
22947
22959
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
22948
22960
  };
22949
22961
  var JODIT_IMAGE_PROCESSOR_BINDED = "__jodit_imageprocessor_binded";
@@ -23086,13 +23098,13 @@ init_hook();
23086
23098
  init_watch();
23087
23099
  init_helpers();
23088
23100
  var __decorate44 = function(decorators, target, key3, desc) {
23089
- 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;
23090
23102
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
23091
23103
  r59 = Reflect.decorate(decorators, target, key3, desc);
23092
23104
  else
23093
23105
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
23094
- if (d53 = decorators[i54])
23095
- 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;
23096
23108
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
23097
23109
  };
23098
23110
  var UIImageMainTab = class UIImageMainTab2 extends UIGroup {
@@ -23278,13 +23290,13 @@ var normalSizeToString = (value) => {
23278
23290
 
23279
23291
  // node_modules/jodit/esm/plugins/image-properties/ui/ui-image-position-tab.js
23280
23292
  var __decorate45 = function(decorators, target, key3, desc) {
23281
- 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;
23282
23294
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
23283
23295
  r59 = Reflect.decorate(decorators, target, key3, desc);
23284
23296
  else
23285
23297
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
23286
- if (d53 = decorators[i54])
23287
- 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;
23288
23300
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
23289
23301
  };
23290
23302
  var UIImagePositionTab = class UIImagePositionTab2 extends UIElement {
@@ -23522,13 +23534,13 @@ UIImagePositionTab = __decorate45([
23522
23534
 
23523
23535
  // node_modules/jodit/esm/plugins/image-properties/ui/ui-image-form.js
23524
23536
  var __decorate46 = function(decorators, target, key3, desc) {
23525
- 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;
23526
23538
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
23527
23539
  r59 = Reflect.decorate(decorators, target, key3, desc);
23528
23540
  else
23529
23541
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
23530
- if (d53 = decorators[i54])
23531
- 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;
23532
23544
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
23533
23545
  };
23534
23546
  var UIImagePropertiesForm = class UIImagePropertiesForm2 extends UIGroup {
@@ -23950,13 +23962,13 @@ function applyValuesToImage(j10, state, image2) {
23950
23962
 
23951
23963
  // node_modules/jodit/esm/plugins/image-properties/image-properties.js
23952
23964
  var __decorate47 = function(decorators, target, key3, desc) {
23953
- 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;
23954
23966
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
23955
23967
  r59 = Reflect.decorate(decorators, target, key3, desc);
23956
23968
  else
23957
23969
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
23958
- if (d53 = decorators[i54])
23959
- 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;
23960
23972
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
23961
23973
  };
23962
23974
  var imageProperties = class extends Plugin {
@@ -24571,13 +24583,13 @@ Config.prototype.popup = {
24571
24583
 
24572
24584
  // node_modules/jodit/esm/plugins/inline-popup/inline-popup.js
24573
24585
  var __decorate48 = function(decorators, target, key3, desc) {
24574
- 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;
24575
24587
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
24576
24588
  r59 = Reflect.decorate(decorators, target, key3, desc);
24577
24589
  else
24578
24590
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
24579
- if (d53 = decorators[i54])
24580
- 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;
24581
24593
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
24582
24594
  };
24583
24595
  var inlinePopup = class extends Plugin {
@@ -24943,13 +24955,13 @@ init_dom();
24943
24955
  init_global2();
24944
24956
  init_plugin2();
24945
24957
  var __decorate49 = function(decorators, target, key3, desc) {
24946
- 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;
24947
24959
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
24948
24960
  r59 = Reflect.decorate(decorators, target, key3, desc);
24949
24961
  else
24950
24962
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
24951
- if (d53 = decorators[i54])
24952
- 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;
24953
24965
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
24954
24966
  };
24955
24967
  var keyArrowOutside = class extends Plugin {
@@ -24993,13 +25005,13 @@ Config.prototype.limitHTML = false;
24993
25005
 
24994
25006
  // node_modules/jodit/esm/plugins/limit/limit.js
24995
25007
  var __decorate50 = function(decorators, target, key3, desc) {
24996
- 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;
24997
25009
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
24998
25010
  r59 = Reflect.decorate(decorators, target, key3, desc);
24999
25011
  else
25000
25012
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
25001
- if (d53 = decorators[i54])
25002
- 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;
25003
25015
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
25004
25016
  };
25005
25017
  var limit = class extends Plugin {
@@ -25335,13 +25347,13 @@ var zh_tw_default2 = {
25335
25347
 
25336
25348
  // node_modules/jodit/esm/plugins/line-height/line-height.js
25337
25349
  var __decorate51 = function(decorators, target, key3, desc) {
25338
- 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;
25339
25351
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
25340
25352
  r59 = Reflect.decorate(decorators, target, key3, desc);
25341
25353
  else
25342
25354
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
25343
- if (d53 = decorators[i54])
25344
- 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;
25345
25357
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
25346
25358
  };
25347
25359
  var lineHeight = class extends Plugin {
@@ -25544,13 +25556,13 @@ Config.prototype.controls.link = {
25544
25556
 
25545
25557
  // node_modules/jodit/esm/plugins/link/link.js
25546
25558
  var __decorate52 = function(decorators, target, key3, desc) {
25547
- 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;
25548
25560
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
25549
25561
  r59 = Reflect.decorate(decorators, target, key3, desc);
25550
25562
  else
25551
25563
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
25552
- if (d53 = decorators[i54])
25553
- 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;
25554
25566
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
25555
25567
  };
25556
25568
  var link = class extends Plugin {
@@ -26199,13 +26211,13 @@ Config.prototype.controls.ol = {
26199
26211
 
26200
26212
  // node_modules/jodit/esm/plugins/ordered-list/ordered-list.js
26201
26213
  var __decorate53 = function(decorators, target, key3, desc) {
26202
- 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;
26203
26215
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
26204
26216
  r59 = Reflect.decorate(decorators, target, key3, desc);
26205
26217
  else
26206
26218
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
26207
- if (d53 = decorators[i54])
26208
- 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;
26209
26221
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
26210
26222
  };
26211
26223
  var orderedList = class extends Plugin {
@@ -26414,13 +26426,13 @@ Config.prototype.controls.paste = {
26414
26426
 
26415
26427
  // node_modules/jodit/esm/plugins/paste/paste.js
26416
26428
  var __decorate54 = function(decorators, target, key3, desc) {
26417
- 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;
26418
26430
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
26419
26431
  r59 = Reflect.decorate(decorators, target, key3, desc);
26420
26432
  else
26421
26433
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
26422
- if (d53 = decorators[i54])
26423
- 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;
26424
26436
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
26425
26437
  };
26426
26438
  var paste = class extends Plugin {
@@ -26590,13 +26602,13 @@ Config.prototype.pasteFromWordActionList = [
26590
26602
 
26591
26603
  // node_modules/jodit/esm/plugins/paste-from-word/paste-from-word.js
26592
26604
  var __decorate55 = function(decorators, target, key3, desc) {
26593
- 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;
26594
26606
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
26595
26607
  r59 = Reflect.decorate(decorators, target, key3, desc);
26596
26608
  else
26597
26609
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
26598
- if (d53 = decorators[i54])
26599
- 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;
26600
26612
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
26601
26613
  };
26602
26614
  var pasteFromWord = class extends Plugin {
@@ -26823,13 +26835,13 @@ Config.prototype.useInputsPlaceholder = true;
26823
26835
 
26824
26836
  // node_modules/jodit/esm/plugins/placeholder/placeholder.js
26825
26837
  var __decorate56 = function(decorators, target, key3, desc) {
26826
- 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;
26827
26839
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
26828
26840
  r59 = Reflect.decorate(decorators, target, key3, desc);
26829
26841
  else
26830
26842
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
26831
- if (d53 = decorators[i54])
26832
- 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;
26833
26845
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
26834
26846
  };
26835
26847
  function isEditorEmpty(root) {
@@ -27012,7 +27024,7 @@ function generateCriticalCSS(jodit) {
27012
27024
  });
27013
27025
  };
27014
27026
  class CSSCriticalPath {
27015
- constructor(w9, d53, opts) {
27027
+ constructor(w9, d54, opts) {
27016
27028
  this.css = {};
27017
27029
  const opt = opts || {};
27018
27030
  const pushCSS = (r59) => {
@@ -27036,7 +27048,7 @@ function generateCriticalCSS(jodit) {
27036
27048
  };
27037
27049
  const parseTree = () => {
27038
27050
  const height = w9.innerHeight;
27039
- 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);
27040
27052
  while (walker.nextNode()) {
27041
27053
  const node = walker.currentNode;
27042
27054
  const rect = node.getBoundingClientRect();
@@ -27200,13 +27212,13 @@ Config.prototype.tableAllowCellResize = true;
27200
27212
 
27201
27213
  // node_modules/jodit/esm/plugins/resize-cells/resize-cells.js
27202
27214
  var __decorate57 = function(decorators, target, key3, desc) {
27203
- 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;
27204
27216
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
27205
27217
  r59 = Reflect.decorate(decorators, target, key3, desc);
27206
27218
  else
27207
27219
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
27208
- if (d53 = decorators[i54])
27209
- 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;
27210
27222
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
27211
27223
  };
27212
27224
  var key = "table_processor_observer-resize";
@@ -27480,13 +27492,13 @@ Config.prototype.allowResizeY = true;
27480
27492
 
27481
27493
  // node_modules/jodit/esm/plugins/resize-handler/resize-handler.js
27482
27494
  var __decorate58 = function(decorators, target, key3, desc) {
27483
- 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;
27484
27496
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
27485
27497
  r59 = Reflect.decorate(decorators, target, key3, desc);
27486
27498
  else
27487
27499
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
27488
- if (d53 = decorators[i54])
27489
- 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;
27490
27502
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
27491
27503
  };
27492
27504
  var resizeHandler = class extends Plugin {
@@ -27602,13 +27614,13 @@ Config.prototype.resizer = {
27602
27614
 
27603
27615
  // node_modules/jodit/esm/plugins/resizer/resizer.js
27604
27616
  var __decorate59 = function(decorators, target, key3, desc) {
27605
- 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;
27606
27618
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
27607
27619
  r59 = Reflect.decorate(decorators, target, key3, desc);
27608
27620
  else
27609
27621
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
27610
- if (d53 = decorators[i54])
27611
- 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;
27612
27624
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
27613
27625
  };
27614
27626
  var keyBInd = "__jodit-resizer_binded";
@@ -28251,13 +28263,13 @@ init_decorators();
28251
28263
  init_dom2();
28252
28264
  init_helpers();
28253
28265
  var __decorate60 = function(decorators, target, key3, desc) {
28254
- 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;
28255
28267
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
28256
28268
  r59 = Reflect.decorate(decorators, target, key3, desc);
28257
28269
  else
28258
28270
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
28259
- if (d53 = decorators[i54])
28260
- 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;
28261
28273
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
28262
28274
  };
28263
28275
  var UISearch = class UISearch2 extends UIElement {
@@ -28447,13 +28459,13 @@ UISearch = __decorate60([
28447
28459
 
28448
28460
  // node_modules/jodit/esm/plugins/search/search.js
28449
28461
  var __decorate61 = function(decorators, target, key3, desc) {
28450
- 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;
28451
28463
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
28452
28464
  r59 = Reflect.decorate(decorators, target, key3, desc);
28453
28465
  else
28454
28466
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
28455
- if (d53 = decorators[i54])
28456
- 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;
28457
28469
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
28458
28470
  };
28459
28471
  var search = class extends Plugin {
@@ -28770,13 +28782,13 @@ Config.prototype.select = {
28770
28782
 
28771
28783
  // node_modules/jodit/esm/plugins/select/select.js
28772
28784
  var __decorate62 = function(decorators, target, key3, desc) {
28773
- 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;
28774
28786
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
28775
28787
  r59 = Reflect.decorate(decorators, target, key3, desc);
28776
28788
  else
28777
28789
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
28778
- if (d53 = decorators[i54])
28779
- 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;
28780
28792
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
28781
28793
  };
28782
28794
  var select = class extends Plugin {
@@ -28955,13 +28967,13 @@ Config.prototype.tableAllowCellSelection = true;
28955
28967
 
28956
28968
  // node_modules/jodit/esm/plugins/select-cells/select-cells.js
28957
28969
  var __decorate63 = function(decorators, target, key3, desc) {
28958
- 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;
28959
28971
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
28960
28972
  r59 = Reflect.decorate(decorators, target, key3, desc);
28961
28973
  else
28962
28974
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
28963
- if (d53 = decorators[i54])
28964
- 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;
28965
28977
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
28966
28978
  };
28967
28979
  var key2 = "table_processor_observer";
@@ -29314,13 +29326,13 @@ Config.prototype.saveHeightInStorage = false;
29314
29326
 
29315
29327
  // node_modules/jodit/esm/plugins/size/size.js
29316
29328
  var __decorate64 = function(decorators, target, key3, desc) {
29317
- 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;
29318
29330
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29319
29331
  r59 = Reflect.decorate(decorators, target, key3, desc);
29320
29332
  else
29321
29333
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
29322
- if (d53 = decorators[i54])
29323
- 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;
29324
29336
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
29325
29337
  };
29326
29338
  var size2 = class extends Plugin {
@@ -29881,13 +29893,13 @@ function createSourceEditor(type, editor, container, toWYSIWYG, fromWYSIWYG) {
29881
29893
 
29882
29894
  // node_modules/jodit/esm/plugins/source/source.js
29883
29895
  var __decorate65 = function(decorators, target, key3, desc) {
29884
- 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;
29885
29897
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29886
29898
  r59 = Reflect.decorate(decorators, target, key3, desc);
29887
29899
  else
29888
29900
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
29889
- if (d53 = decorators[i54])
29890
- 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;
29891
29903
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
29892
29904
  };
29893
29905
  var source = class extends Plugin {
@@ -29952,9 +29964,9 @@ var source = class extends Plugin {
29952
29964
  this.__oldMirrorValue = value;
29953
29965
  }
29954
29966
  getNormalPosition(pos, str) {
29955
- str = str.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im, (m54) => {
29967
+ str = str.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im, (m53) => {
29956
29968
  let res = "";
29957
- for (let i54 = 0; i54 < m54.length; i54 += 1) {
29969
+ for (let i54 = 0; i54 < m53.length; i54 += 1) {
29958
29970
  res += INVISIBLE_SPACE;
29959
29971
  }
29960
29972
  return res;
@@ -30434,13 +30446,13 @@ var zh_tw_default3 = {
30434
30446
 
30435
30447
  // node_modules/jodit/esm/plugins/spellcheck/spellcheck.js
30436
30448
  var __decorate66 = function(decorators, target, key3, desc) {
30437
- 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;
30438
30450
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
30439
30451
  r59 = Reflect.decorate(decorators, target, key3, desc);
30440
30452
  else
30441
30453
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
30442
- if (d53 = decorators[i54])
30443
- 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;
30444
30456
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
30445
30457
  };
30446
30458
  var spellcheck = class extends Plugin {
@@ -30557,13 +30569,13 @@ Config.prototype.toolbarStickyOffset = 0;
30557
30569
 
30558
30570
  // node_modules/jodit/esm/plugins/sticky/sticky.js
30559
30571
  var __decorate67 = function(decorators, target, key3, desc) {
30560
- 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;
30561
30573
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
30562
30574
  r59 = Reflect.decorate(decorators, target, key3, desc);
30563
30575
  else
30564
30576
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
30565
- if (d53 = decorators[i54])
30566
- 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;
30567
30579
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
30568
30580
  };
30569
30581
  var NEED_DUMMY_BOX = !IS_ES_NEXT && IS_IE;
@@ -31327,13 +31339,13 @@ init_watch();
31327
31339
  init_dom();
31328
31340
  init_is_string();
31329
31341
  var __decorate68 = function(decorators, target, key3, desc) {
31330
- 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;
31331
31343
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
31332
31344
  r59 = Reflect.decorate(decorators, target, key3, desc);
31333
31345
  else
31334
31346
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
31335
- if (d53 = decorators[i54])
31336
- 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;
31337
31349
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
31338
31350
  };
31339
31351
  var UiAiAssistant = class UiAiAssistant2 extends UIElement {
@@ -31533,13 +31545,13 @@ var es_default5 = {
31533
31545
 
31534
31546
  // node_modules/jodit/esm/plugins/ai-assistant/ai-assistant.js
31535
31547
  var __decorate69 = function(decorators, target, key3, desc) {
31536
- 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;
31537
31549
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
31538
31550
  r59 = Reflect.decorate(decorators, target, key3, desc);
31539
31551
  else
31540
31552
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
31541
- if (d53 = decorators[i54])
31542
- 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;
31543
31555
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
31544
31556
  };
31545
31557
  var aiAssistant = class extends Plugin {
@@ -32201,13 +32213,13 @@ function closeSound(owner) {
32201
32213
 
32202
32214
  // node_modules/jodit/esm/plugins/speech-recognize/helpers/recognize-manager.js
32203
32215
  var __decorate70 = function(decorators, target, key3, desc) {
32204
- 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;
32205
32217
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
32206
32218
  r59 = Reflect.decorate(decorators, target, key3, desc);
32207
32219
  else
32208
32220
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
32209
- if (d53 = decorators[i54])
32210
- 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;
32211
32223
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
32212
32224
  };
32213
32225
  var RecognizeManager = class _RecognizeManager extends Eventify {
@@ -32475,13 +32487,13 @@ init_global2();
32475
32487
  init_helpers();
32476
32488
  init_config();
32477
32489
  var __decorate71 = function(decorators, target, key3, desc) {
32478
- 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;
32479
32491
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
32480
32492
  r59 = Reflect.decorate(decorators, target, key3, desc);
32481
32493
  else
32482
32494
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
32483
- if (d53 = decorators[i54])
32484
- 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;
32485
32497
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
32486
32498
  };
32487
32499
  var Jodit_1;
@@ -34028,13 +34040,13 @@ var zh_tw_default5 = {
34028
34040
 
34029
34041
  // node_modules/jodit/esm/plugins/speech-recognize/speech-recognize.js
34030
34042
  var __decorate72 = function(decorators, target, key3, desc) {
34031
- 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;
34032
34044
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
34033
34045
  r59 = Reflect.decorate(decorators, target, key3, desc);
34034
34046
  else
34035
34047
  for (var i54 = decorators.length - 1; i54 >= 0; i54--)
34036
- if (d53 = decorators[i54])
34037
- 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;
34038
34050
  return c74 > 3 && r59 && Object.defineProperty(target, key3, r59), r59;
34039
34051
  };
34040
34052
  var SpeechRecognizeNative = class extends Plugin {
@@ -34338,8 +34350,8 @@ var h = class h2 {
34338
34350
  if (this._data[e42]) {
34339
34351
  const o57 = r59.indexOf(e42), u58 = p(this._data[e42]);
34340
34352
  ["top", "right", "bottom", "left"].forEach((f50, g24) => {
34341
- const p63 = `${e42}-${f50}`, d53 = this._data[p63];
34342
- 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);
34343
34355
  });
34344
34356
  }
34345
34357
  }), r59.length ? r59.map((e42) => `${kebabCase(e42)}:${this.get(e42)}`).join(";") : "";
@@ -34476,10 +34488,10 @@ function E2(n57) {
34476
34488
  }
34477
34489
  e42 = e42.next;
34478
34490
  }
34479
- const d53 = Math.min(...i54.filter((t48) => t48 > 0));
34491
+ const d54 = Math.min(...i54.filter((t48) => t48 > 0));
34480
34492
  let s50 = i54.map((t48) => Math.ceil(t48 / 10));
34481
34493
  s50.indexOf(0) !== -1 && (s50 = s50.map((t48) => t48 + 1)), l57.forEach((t48, o57) => {
34482
- 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`);
34483
34495
  });
34484
34496
  }
34485
34497
  r4(E2, "calcListLevels");
@@ -34495,8 +34507,8 @@ function B(t48) {
34495
34507
  t48.attributes[e2] = o57, t48.attributes[l] = r59, E2(t48), T(t48);
34496
34508
  const { parent: a77 } = t48;
34497
34509
  if (!b2(a77) || !L(t48, a77)) {
34498
- const d53 = K(t48, o57, i54, r59);
34499
- 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;
34500
34512
  }
34501
34513
  }
34502
34514
  return t48;
@@ -34680,11 +34692,11 @@ init_selector();
34680
34692
  var $2 = Object.defineProperty;
34681
34693
  var a10 = (y9, n57) => $2(y9, "name", { value: n57, configurable: true });
34682
34694
  function w(y9, n57, u58, p63 = "") {
34683
- var d53, f50;
34695
+ var d54, f50;
34684
34696
  const s50 = document.createElement("iframe");
34685
34697
  s50.style.display = "none", document.body.appendChild(s50);
34686
34698
  try {
34687
- 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;
34688
34700
  if (!t48) return n57;
34689
34701
  t48.open(), t48.write(n57), t48.close();
34690
34702
  const i54 = "jd-style";
@@ -39716,8 +39728,8 @@ var s11 = class s12 extends pasteFromWord {
39716
39728
  var e42;
39717
39729
  if (this.j.o.pasteFromWord.enable && (i54 === INSERT_AS_HTML || i54 === INSERT_AS_TEXT)) {
39718
39730
  if (r59 = w(this.j, r59, i54 === INSERT_AS_TEXT, p63.rtf), this.j.o.beautifyHTML) {
39719
- const m54 = (e42 = this.j.events) === null || e42 === void 0 ? void 0 : e42.fire("beautifyHTML", r59);
39720
- 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);
39721
39733
  }
39722
39734
  pasteInsertHtml(o57, this.j, r59);
39723
39735
  return;
@@ -39825,8 +39837,8 @@ Config.prototype.autocomplete = { displayMode: "list", sources: [], maxItems: 50
39825
39837
  var U = Object.defineProperty;
39826
39838
  var v4 = (C14, e42) => U(C14, "name", { value: e42, configurable: true });
39827
39839
  var u5 = class u6 {
39828
- static reconcile(e42, i54, d53) {
39829
- 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();
39830
39842
  e42.forEach((n57, s50) => {
39831
39843
  const c74 = o57(n57);
39832
39844
  a77.set(c74, n57), h60.set(c74, s50);
@@ -39845,18 +39857,18 @@ var u5 = class u6 {
39845
39857
  r59.has(s50) || g24.push(n57);
39846
39858
  }), { toCreate: E4, toUpdate: l57, toRemove: g24, unchanged: M4 };
39847
39859
  }
39848
- static applyResult(e42, i54, d53 = {}) {
39860
+ static applyResult(e42, i54, d54 = {}) {
39849
39861
  i54.toRemove.forEach((o57) => {
39850
39862
  var t48;
39851
39863
  const p63 = e42.indexOf(o57);
39852
- 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));
39853
39865
  }), i54.toUpdate.forEach(({ oldItem: o57, newItem: t48, index: p63 }) => {
39854
39866
  var a77;
39855
39867
  const h60 = e42.indexOf(o57);
39856
- 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);
39857
39869
  }), i54.toCreate.forEach((o57) => {
39858
39870
  var t48;
39859
- (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);
39860
39872
  });
39861
39873
  }
39862
39874
  };
@@ -39931,7 +39943,7 @@ var u7;
39931
39943
  var S2 = function(a77, e42, i54, h60) {
39932
39944
  var n57 = arguments.length, s50 = n57 < 3 ? e42 : h60 === null ? h60 = Object.getOwnPropertyDescriptor(e42, i54) : h60, o57;
39933
39945
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(a77, e42, i54, h60);
39934
- 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);
39935
39947
  return n57 > 3 && s50 && Object.defineProperty(e42, i54, s50), s50;
39936
39948
  };
39937
39949
  var f3 = (u7 = class extends UIGroup {
@@ -39964,8 +39976,8 @@ var f3 = (u7 = class extends UIGroup {
39964
39976
  const r59 = n57(t48);
39965
39977
  if (o57.has(r59)) return;
39966
39978
  o57.add(r59);
39967
- const c74 = new s15(this.jodit, t48, (m54) => {
39968
- 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();
39969
39981
  });
39970
39982
  this.itemsMap.set(r59, c74);
39971
39983
  const l57 = e42.indexOf(t48);
@@ -39977,8 +39989,8 @@ var f3 = (u7 = class extends UIGroup {
39977
39989
  const l57 = this.itemsMap.get(c74);
39978
39990
  l57 && (l57.item = t48, this.elements.indexOf(l57) !== r59 && r59 < this.elements.length && (this.remove(l57), this.append(l57, r59)));
39979
39991
  });
39980
- const d53 = this.currentSelection;
39981
- 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];
39982
39994
  }
39983
39995
  selectNext() {
39984
39996
  this.currentSelection + 1 <= this.elements.length - 1 ? this.currentSelection += 1 : this.currentSelection = 0;
@@ -40003,15 +40015,15 @@ function h5(i54) {
40003
40015
  const e42 = t48.childNodes[l57];
40004
40016
  if (!e42) return "";
40005
40017
  if (Dom.isText(e42)) return (r59 = e42.nodeValue) !== null && r59 !== void 0 ? r59 : "";
40006
- const d53 = Dom.findNotEmptyNeighbor(e42, true, t48);
40007
- 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 : "";
40008
40020
  }
40009
40021
  a16(h5, "getTextLeftOfCursor");
40010
40022
  function _2(i54, n57) {
40011
40023
  var o57, r59, s50;
40012
40024
  let { startContainer: t48, startOffset: l57 } = i54;
40013
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)) {
40014
- 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(" ");
40015
40027
  f50[f50.length - 1] = "";
40016
40028
  const c74 = f50.join(" ");
40017
40029
  t48.nodeValue = c74 + v22, i54.setStart(t48, c74.length), i54.insertNode(n57);
@@ -40026,13 +40038,13 @@ init_decorators();
40026
40038
  init_dom();
40027
40039
  init_helpers();
40028
40040
  init_plugin2();
40029
- var R = Object.defineProperty;
40030
- 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 });
40031
40043
  var p8 = function(c74, e42, t48, o57) {
40032
- var r59 = arguments.length, s50 = r59 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, n57;
40033
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(c74, e42, t48, o57);
40034
- 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);
40035
- 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;
40036
40048
  };
40037
40049
  var a17 = class a18 extends Plugin {
40038
40050
  constructor() {
@@ -40071,16 +40083,27 @@ var a17 = class a18 extends Plugin {
40071
40083
  this.popup.isOpened && this.popup.close();
40072
40084
  return;
40073
40085
  }
40074
- const { s: r59 } = this.j;
40075
- if (a18.isControlKey(e42.key) || !r59.isInsideArea || !r59.isCollapsed) return;
40076
- 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();
40077
40089
  if (n57 && trim(n57).length) {
40078
40090
  const i54 = yield this.onAutoComplete(n57);
40091
+ if (!this.isQueryStillAnchored(n57)) {
40092
+ this.popup.isOpened && this.popup.close();
40093
+ return;
40094
+ }
40079
40095
  if (i54.length) return this.openPopup(i54);
40080
40096
  }
40081
40097
  this.popup.isOpened && this.popup.close();
40082
40098
  });
40083
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
+ }
40084
40107
  onKeyControlDown(e42) {
40085
40108
  if (this.popup.isOpened && a18.isControlKey(e42.key)) {
40086
40109
  switch (e42.key) {
@@ -40110,38 +40133,38 @@ var a17 = class a18 extends Plugin {
40110
40133
  }
40111
40134
  resolveFeed(e42, t48, o57) {
40112
40135
  return __async(this, null, function* () {
40113
- let r59;
40114
- 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);
40115
40138
  else if (isArray(t48)) {
40116
- const s50 = t48, { isMatchedQuery: n57 } = this.j.o.autocomplete;
40117
- r59 = s50.filter((i54) => isString(i54) ? n57(e42, i54) : n57(e42, i54.value)).map((i54) => isString(i54) ? { title: i54, value: i54 } : i54);
40118
- } 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);
40119
40142
  if (this.j.isDestructed) return [];
40120
- if (r59 && isArray(r59)) {
40121
- const { itemRenderer: s50, insertValueRenderer: n57, maxItems: i54 } = this.j.o.autocomplete;
40122
- 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) => {
40123
40146
  var h60, f50;
40124
- 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);
40125
- }), 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);
40126
40149
  }
40127
40150
  return [];
40128
40151
  });
40129
40152
  }
40130
40153
  openPopup(e42) {
40131
40154
  this.list.build(e42), this.popup.open(() => {
40132
- 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 };
40133
40156
  if (t48.o.iframe && t48.iframe) {
40134
- const s50 = position(t48.iframe, t48);
40135
- r59.top += s50.top, r59.left += s50.left;
40157
+ const r59 = position(t48.iframe, t48);
40158
+ s50.top += r59.top, s50.left += r59.left;
40136
40159
  }
40137
- return r59;
40160
+ return s50;
40138
40161
  });
40139
40162
  }
40140
40163
  beforeDestruct(e42) {
40141
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();
40142
40165
  }
40143
40166
  };
40144
- m6(a17, "autocomplete");
40167
+ d4(a17, "autocomplete");
40145
40168
  var l4 = a17;
40146
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);
40147
40170
 
@@ -40270,9 +40293,9 @@ function a21(t48, { selector: e42, index: r59, requireExactlyOne: s50 = false }
40270
40293
  if (typeof r59 != "number") throw new Error("Block index must be a number");
40271
40294
  const n57 = Array.from(t48.editor.children);
40272
40295
  if (r59 < 0 || r59 >= n57.length) throw new Error(`Block index ${r59} is out of range. Document has ${n57.length} blocks`);
40273
- const m54 = n57[r59];
40274
- if (!Dom.isElement(m54)) throw new Error(`Block at index ${r59} is not a valid element`);
40275
- 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}` };
40276
40299
  }
40277
40300
  f5(a21, "resolveBlock");
40278
40301
 
@@ -40281,10 +40304,10 @@ var a22 = Object.defineProperty;
40281
40304
  var c10 = (e42, r59) => a22(e42, "name", { value: r59, configurable: true });
40282
40305
  function h6(e42, r59, i54) {
40283
40306
  return __async(this, null, function* () {
40284
- 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;
40285
40308
  if (a20(i54), !s50 && !o57) throw new Error('Either "element" or "attributes" must be provided');
40286
- if (e42.s.restore(), n57 !== void 0 || m54) {
40287
- 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 });
40288
40311
  e42.s.select(t48);
40289
40312
  }
40290
40313
  if (e42.s.isCollapsed()) throw new Error("No selection found. Please select text to format");
@@ -40351,10 +40374,10 @@ var o16 = false;
40351
40374
  init_dom2();
40352
40375
  var h7 = Object.defineProperty;
40353
40376
  var f7 = (i54, a77) => h7(i54, "name", { value: a77, configurable: true });
40354
- function k2(i54, a77, m54) {
40377
+ function k2(i54, a77, m53) {
40355
40378
  return __async(this, null, function* () {
40356
- const { offset: d53, limit: o57, query: l57 } = a77;
40357
- a20(m54);
40379
+ const { offset: d54, limit: o57, query: l57 } = a77;
40380
+ a20(m53);
40358
40381
  const s50 = [];
40359
40382
  Array.from(i54.editor.children).forEach((e42, n57) => {
40360
40383
  if (Dom.isElement(e42)) {
@@ -40367,7 +40390,7 @@ function k2(i54, a77, m54) {
40367
40390
  const e42 = l57.toLowerCase();
40368
40391
  t48 = s50.filter((n57) => n57.textContent.toLowerCase().includes(e42) || n57.tagName.includes(e42) || n57.content.toLowerCase().includes(e42));
40369
40392
  }
40370
- 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;
40371
40394
  return { blocks: t48.slice(c74, u58), total: s50.length, offset: c74, limit: o57 !== void 0 ? o57 : void 0 };
40372
40395
  });
40373
40396
  }
@@ -40392,7 +40415,7 @@ var n15 = false;
40392
40415
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/read-document/executor.js
40393
40416
  init_dom2();
40394
40417
  var u9 = Object.defineProperty;
40395
- var m7 = (t48, o57) => u9(t48, "name", { value: o57, configurable: true });
40418
+ var m6 = (t48, o57) => u9(t48, "name", { value: o57, configurable: true });
40396
40419
  function w2(t48, o57, c74) {
40397
40420
  return __async(this, null, function* () {
40398
40421
  const { start: i54, end: l57, aroundSelection: f50 } = o57;
@@ -40414,7 +40437,7 @@ function w2(t48, o57, c74) {
40414
40437
  return (s50 > 0 || a77 < r59) && (n57 = n57.substring(s50, a77)), { html: n57, length: r59, start: s50, end: a77 };
40415
40438
  });
40416
40439
  }
40417
- m7(w2, "execute");
40440
+ m6(w2, "execute");
40418
40441
 
40419
40442
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/read-document/index.js
40420
40443
  var i16 = __spreadProps(__spreadValues({}, definition_exports5), { execute: w2 });
@@ -40469,15 +40492,15 @@ var r17 = true;
40469
40492
  init_dom2();
40470
40493
  var u11 = Object.defineProperty;
40471
40494
  var a23 = (e42, r59) => u11(e42, "name", { value: r59, configurable: true });
40472
- function y2(e42, r59, d53) {
40495
+ function y2(e42, r59, d54) {
40473
40496
  return __async(this, null, function* () {
40474
40497
  var o57;
40475
- const { index: n57, selector: i54 } = r59, m54 = u8(r59, "html");
40476
- 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");
40477
40500
  const { element: s50, identifier: l57 } = a21(e42, { selector: i54, index: n57, requireExactlyOne: true });
40478
40501
  try {
40479
40502
  const t48 = e42.createInside.div();
40480
- t48.innerHTML = m54;
40503
+ t48.innerHTML = m53;
40481
40504
  const c74 = t48.firstChild;
40482
40505
  if (!c74 || !Dom.isElement(c74)) throw new Error("Invalid HTML: must contain at least one element");
40483
40506
  return (o57 = s50.parentNode) === null || o57 === void 0 || o57.replaceChild(c74, s50), e42.synchronizeValues(), { success: true, message: `Block ${l57} replaced successfully` };
@@ -40506,8 +40529,8 @@ var s16 = true;
40506
40529
 
40507
40530
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/replace-in-document/executor.js
40508
40531
  var w3 = Object.defineProperty;
40509
- var m8 = (n57, s50) => w3(n57, "name", { value: s50, configurable: true });
40510
- 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) {
40511
40534
  const l57 = n57.editor.querySelectorAll(u58);
40512
40535
  if (l57.length === 0) return { replacements: 0, message: `No elements found matching selector "${u58}"` };
40513
40536
  let e42 = 0;
@@ -40529,7 +40552,7 @@ function d5(n57, s50, o57, c74, u58, a77) {
40529
40552
  r59 !== f50 && (t48.innerHTML = r59);
40530
40553
  }), e42 > 0 && (n57.synchronizeValues(), n57.s.restore()), { replacements: e42 };
40531
40554
  }
40532
- m8(d5, "replaceInSelectedElements");
40555
+ m7(d6, "replaceInSelectedElements");
40533
40556
  function v5(n57, s50, o57, c74, u58, a77) {
40534
40557
  let l57 = 0, e42 = s50;
40535
40558
  if (u58) try {
@@ -40545,7 +40568,7 @@ function v5(n57, s50, o57, c74, u58, a77) {
40545
40568
  }
40546
40569
  return l57 > 0 && (n57.value = e42, n57.s.restore(), n57.synchronizeValues()), l57;
40547
40570
  }
40548
- m8(v5, "replaceInDocument");
40571
+ m7(v5, "replaceInDocument");
40549
40572
  function b7(n57, s50, o57) {
40550
40573
  return __async(this, null, function* () {
40551
40574
  const c74 = u8(s50, "search"), u58 = u8(s50, "replace", { allowEmpty: true }), { useRegex: a77, useSelector: l57 } = s50;
@@ -40554,7 +40577,7 @@ function b7(n57, s50, o57) {
40554
40577
  n57.s.focus(), n57.s.save();
40555
40578
  let e42 = 0, t48;
40556
40579
  if (l57) {
40557
- const r59 = d5(n57, c74, u58, a77, l57, o57);
40580
+ const r59 = d6(n57, c74, u58, a77, l57, o57);
40558
40581
  e42 = r59.replacements, t48 = r59.message;
40559
40582
  } else e42 = v5(n57, n57.value, c74, u58, a77, o57);
40560
40583
  return { replacements: e42, message: t48 || (e42 > 0 ? `Replaced ${e42} occurrence(s)` : "No matches found") };
@@ -40563,7 +40586,7 @@ function b7(n57, s50, o57) {
40563
40586
  }
40564
40587
  });
40565
40588
  }
40566
- m8(b7, "execute");
40589
+ m7(b7, "execute");
40567
40590
 
40568
40591
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/replace-in-document/index.js
40569
40592
  var i20 = __spreadProps(__spreadValues({}, definition_exports8), { execute: b7 });
@@ -40637,8 +40660,8 @@ n19(i22, "execute");
40637
40660
  var i23 = __spreadProps(__spreadValues({}, definition_exports10), { execute: i22 });
40638
40661
 
40639
40662
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/tools/index.js
40640
- var m9 = Object.defineProperty;
40641
- 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 });
40642
40665
  var t17 = { readDocument: i16, readBlocks: i15, readSelection: i18, writeDocument: i23, replaceSelection: i21, replaceBlock: i19, replaceInDocument: i20, insertHTML: i14, addHTML: i11, applyFormat: i12 };
40643
40666
  function H() {
40644
40667
  return Object.keys(t17);
@@ -40668,7 +40691,7 @@ var _3 = { exec: () => null };
40668
40691
  function k3(u58, e42 = "") {
40669
40692
  let t48 = typeof u58 == "string" ? u58 : u58.source, n57 = { replace: (r59, i54) => {
40670
40693
  let s50 = typeof i54 == "string" ? i54 : i54.source;
40671
- 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;
40672
40695
  }, getRegex: () => new RegExp(t48, e42) };
40673
40696
  return n57;
40674
40697
  }
@@ -40679,7 +40702,7 @@ var Re = (() => {
40679
40702
  return false;
40680
40703
  }
40681
40704
  })();
40682
- 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)}}>`) };
40683
40706
  var Te = /^(?:[ \t]*(?:\n|$))+/;
40684
40707
  var Oe = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/;
40685
40708
  var we = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/;
@@ -40733,14 +40756,14 @@ var Xe = k3(/\\(punct)/, "gu").replace(/punct/g, v6).getRegex();
40733
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();
40734
40757
  var Ve = k3(F).replace("(?:-->|$)", "-->").getRegex();
40735
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();
40736
- var D = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/;
40737
- 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();
40738
- 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();
40739
40762
  var ke = k3(/^!?\[(ref)\](?:\[\])?/).replace("ref", j4).getRegex();
40740
40763
  var tt = k3("reflink|nolink(?!\\()", "g").replace("reflink", he).replace("nolink", ke).getRegex();
40741
40764
  var ne = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/;
40742
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 };
40743
- 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() });
40744
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() });
40745
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() });
40746
40769
  var C = { normal: U2, gfm: ze, pedantic: Ee };
@@ -40749,13 +40772,13 @@ var st = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }
40749
40772
  var de = (u58) => st[u58];
40750
40773
  function O(u58, e42) {
40751
40774
  if (e42) {
40752
- if (m10.escapeTest.test(u58)) return u58.replace(m10.escapeReplace, de);
40753
- } 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);
40754
40777
  return u58;
40755
40778
  }
40756
40779
  function X(u58) {
40757
40780
  try {
40758
- u58 = encodeURI(u58).replace(m10.percentDecode, "%");
40781
+ u58 = encodeURI(u58).replace(m9.percentDecode, "%");
40759
40782
  } catch (e42) {
40760
40783
  return null;
40761
40784
  }
@@ -40763,14 +40786,14 @@ function X(u58) {
40763
40786
  }
40764
40787
  function J(u58, e42) {
40765
40788
  var _a2;
40766
- let t48 = u58.replace(m10.findPipe, (i54, s50, a77) => {
40789
+ let t48 = u58.replace(m9.findPipe, (i54, s50, a77) => {
40767
40790
  let o57 = false, l57 = s50;
40768
40791
  for (; --l57 >= 0 && a77[l57] === "\\"; ) o57 = !o57;
40769
40792
  return o57 ? "|" : " |";
40770
- }), n57 = t48.split(m10.splitPipe), r59 = 0;
40793
+ }), n57 = t48.split(m9.splitPipe), r59 = 0;
40771
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);
40772
40795
  else for (; n57.length < e42; ) n57.push("");
40773
- 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, "|");
40774
40797
  return n57;
40775
40798
  }
40776
40799
  function E3(u58, e42, t48) {
@@ -40880,21 +40903,21 @@ var w4 = class {
40880
40903
  r59 = r59 ? `${r59}
40881
40904
  ${p63}` : p63, i54 = i54 ? `${i54}
40882
40905
  ${c74}` : c74;
40883
- let d53 = this.lexer.state.top;
40884
- 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;
40885
40908
  let h60 = s50.at(-1);
40886
40909
  if ((h60 == null ? void 0 : h60.type) === "code") break;
40887
40910
  if ((h60 == null ? void 0 : h60.type) === "blockquote") {
40888
- let R4 = h60, f50 = R4.raw + `
40911
+ let R3 = h60, f50 = R3.raw + `
40889
40912
  ` + n57.join(`
40890
40913
  `), S8 = this.blockquote(f50);
40891
- 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;
40892
40915
  break;
40893
40916
  } else if ((h60 == null ? void 0 : h60.type) === "list") {
40894
- let R4 = h60, f50 = R4.raw + `
40917
+ let R3 = h60, f50 = R3.raw + `
40895
40918
  ` + n57.join(`
40896
40919
  `), S8 = this.list(f50);
40897
- 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(`
40898
40921
  `);
40899
40922
  continue;
40900
40923
  }
@@ -40913,10 +40936,10 @@ ${c74}` : c74;
40913
40936
  let l57 = false, p63 = "", c74 = "";
40914
40937
  if (!(t48 = s50.exec(e42)) || this.rules.block.hr.test(e42)) break;
40915
40938
  p63 = t48[0], e42 = e42.substring(p63.length);
40916
- let d53 = fe(t48[2].split(`
40939
+ let d54 = fe(t48[2].split(`
40917
40940
  `, 1)[0], t48[1].length), h60 = e42.split(`
40918
- `, 1)[0], R4 = !d53.trim(), f50 = 0;
40919
- 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 + `
40920
40943
  `, e42 = e42.substring(h60.length + 1), l57 = true), !l57) {
40921
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);
40922
40945
  for (; e42; ) {
@@ -40926,12 +40949,12 @@ ${c74}` : c74;
40926
40949
  if (I2.search(this.rules.other.nonSpaceChar) >= f50 || !h60.trim()) c74 += `
40927
40950
  ` + I2.slice(f50);
40928
40951
  else {
40929
- 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;
40930
40953
  c74 += `
40931
40954
  ` + h60;
40932
40955
  }
40933
- R4 = !h60.trim(), p63 += H2 + `
40934
- `, 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);
40935
40958
  }
40936
40959
  }
40937
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;
@@ -40956,7 +40979,7 @@ ${c74}` : c74;
40956
40979
  }
40957
40980
  }
40958
40981
  if (!i54.loose) {
40959
- 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));
40960
40983
  i54.loose = c74;
40961
40984
  }
40962
40985
  }
@@ -41066,13 +41089,13 @@ ${c74}` : c74;
41066
41089
  }
41067
41090
  if (l57 -= o57, l57 > 0) continue;
41068
41091
  o57 = Math.min(o57, o57 + l57 + p63);
41069
- 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);
41070
41093
  if (Math.min(s50, o57) % 2) {
41071
41094
  let f50 = h60.slice(1, -1);
41072
41095
  return { type: "em", raw: h60, text: f50, tokens: this.lexer.inlineTokens(f50) };
41073
41096
  }
41074
- let R4 = h60.slice(2, -2);
41075
- 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) };
41076
41099
  }
41077
41100
  }
41078
41101
  }
@@ -41100,8 +41123,8 @@ ${c74}` : c74;
41100
41123
  }
41101
41124
  if (l57 -= o57, l57 > 0) continue;
41102
41125
  o57 = Math.min(o57, o57 + l57);
41103
- let c74 = [...r59[0]][0].length, d53 = e42.slice(0, s50 + r59.index + c74 + o57), h60 = d53.slice(s50, -s50);
41104
- 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) };
41105
41128
  }
41106
41129
  }
41107
41130
  }
@@ -41144,7 +41167,7 @@ var x4 = class u12 {
41144
41167
  __publicField(this, "inlineQueue");
41145
41168
  __publicField(this, "tokenizer");
41146
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 };
41147
- let t48 = { other: m10, block: C.normal, inline: z.normal };
41170
+ let t48 = { other: m9, block: C.normal, inline: z.normal };
41148
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;
41149
41172
  }
41150
41173
  static get rules() {
@@ -41157,7 +41180,7 @@ var x4 = class u12 {
41157
41180
  return new u12(t48).inlineTokens(e42);
41158
41181
  }
41159
41182
  lex(e42) {
41160
- e42 = e42.replace(m10.carriageReturn, `
41183
+ e42 = e42.replace(m9.carriageReturn, `
41161
41184
  `), this.blockTokens(e42, this.tokens);
41162
41185
  for (let t48 = 0; t48 < this.inlineQueue.length; t48++) {
41163
41186
  let n57 = this.inlineQueue[t48];
@@ -41167,7 +41190,7 @@ var x4 = class u12 {
41167
41190
  }
41168
41191
  blockTokens(e42, t48 = [], n57 = false) {
41169
41192
  var _a2, _b, _c;
41170
- 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; ) {
41171
41194
  let r59;
41172
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;
41173
41196
  if (r59 = this.tokenizer.space(e42)) {
@@ -41324,9 +41347,9 @@ var x4 = class u12 {
41324
41347
  }
41325
41348
  let l57 = e42;
41326
41349
  if ((_f = this.options.extensions) == null ? void 0 : _f.startInline) {
41327
- let p63 = 1 / 0, c74 = e42.slice(1), d53;
41350
+ let p63 = 1 / 0, c74 = e42.slice(1), d54;
41328
41351
  this.options.extensions.startInline.forEach((h60) => {
41329
- 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));
41330
41353
  }), p63 < 1 / 0 && p63 >= 0 && (l57 = e42.substring(0, p63 + 1));
41331
41354
  }
41332
41355
  if (o57 = this.tokenizer.inlineText(l57)) {
@@ -41357,7 +41380,7 @@ var y3 = class {
41357
41380
  }
41358
41381
  code({ text: e42, lang: t48, escaped: n57 }) {
41359
41382
  var _a2;
41360
- 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, "") + `
41361
41384
  `;
41362
41385
  return r59 ? '<pre><code class="language-' + O(r59) + '">' + (n57 ? i54 : O(i54, true)) + `</code></pre>
41363
41386
  ` : "<pre><code>" + (n57 ? i54 : O(i54, true)) + `</code></pre>
@@ -41767,15 +41790,15 @@ var B2 = class {
41767
41790
  let a77 = s50, o57 = n57.hooks[a77], l57 = i54[a77];
41768
41791
  P.passThroughHooks.has(s50) ? i54[a77] = (p63) => {
41769
41792
  if (this.defaults.async && P.passThroughHooksRespectAsync.has(s50)) return (() => __async(this, null, function* () {
41770
- let d53 = yield o57.call(i54, p63);
41771
- return l57.call(i54, d53);
41793
+ let d54 = yield o57.call(i54, p63);
41794
+ return l57.call(i54, d54);
41772
41795
  }))();
41773
41796
  let c74 = o57.call(i54, p63);
41774
41797
  return l57.call(i54, c74);
41775
41798
  } : i54[a77] = (...p63) => {
41776
41799
  if (this.defaults.async) return (() => __async(this, null, function* () {
41777
- let d53 = yield o57.apply(i54, p63);
41778
- 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;
41779
41802
  }))();
41780
41803
  let c74 = o57.apply(i54, p63);
41781
41804
  return c74 === false && (c74 = l57.apply(i54, p63)), c74;
@@ -41871,8 +41894,8 @@ var Yt = b8.parse;
41871
41894
  var en = x4.lex;
41872
41895
 
41873
41896
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/config.js
41874
- var d6 = Object.defineProperty;
41875
- 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 });
41876
41899
  var n20;
41877
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) => {
41878
41901
  const o57 = new Date(e42), i54 = (/* @__PURE__ */ new Date()).getTime() - o57.getTime();
@@ -41888,7 +41911,7 @@ Icon.set("ai-assistant-pro", t5).set("ai-commands-pro", o6).set("ai-add-context"
41888
41911
  return e42;
41889
41912
  });
41890
41913
  }, getAIProviderOptions(e42, t48) {
41891
- return d4(e42, t48);
41914
+ return d5(e42, t48);
41892
41915
  }, registerAIProvider(e42, t48) {
41893
41916
  p9(e42, t48);
41894
41917
  } }, Config.prototype.controls.aiAssistantPro = { icon: "ai-assistant-pro", tooltip: "AI Assistant", hotkeys: ["ctrl+shift+a", "cmd+shift+a"], exec(e42) {
@@ -41934,20 +41957,20 @@ var p12 = class p13 {
41934
41957
  let h60 = null;
41935
41958
  for (let f50 = 0; f50 <= i54; f50++) try {
41936
41959
  if (s50.signal.aborted) throw abort();
41937
- const d53 = setTimeout(() => {
41960
+ const d54 = setTimeout(() => {
41938
41961
  s50.abort();
41939
41962
  }, c74);
41940
41963
  try {
41941
41964
  const u58 = yield n57(a77, s50.signal);
41942
- return clearTimeout(d53), this.validateResponse(u58), u58;
41965
+ return clearTimeout(d54), this.validateResponse(u58), u58;
41943
41966
  } catch (u58) {
41944
- throw clearTimeout(d53), u58;
41967
+ throw clearTimeout(d54), u58;
41945
41968
  }
41946
- } catch (d53) {
41947
- 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) {
41948
41971
  const u58 = this.calculateRetryDelay(f50);
41949
41972
  yield this.sleep(u58);
41950
- } else throw d53;
41973
+ } else throw d54;
41951
41974
  }
41952
41975
  throw h60 || new Error("API request failed after all retries");
41953
41976
  } finally {
@@ -42015,11 +42038,11 @@ var p12 = class p13 {
42015
42038
  }
42016
42039
  };
42017
42040
  w5(p12, "APIClient");
42018
- var m11 = p12;
42041
+ var m10 = p12;
42019
42042
 
42020
42043
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/helpers/permission-manager.js
42021
- var d7 = Object.defineProperty;
42022
- 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 });
42023
42046
  var o19 = class o20 {
42024
42047
  constructor(s50, t48) {
42025
42048
  this.jodit = s50, this.toolRegistry = t48, this.permanentPermissions = /* @__PURE__ */ new Map(), this.PERMANENT_PERMISSIONS_KEY = "jodit-permissions.ai-assistant-pro", this.loadPermanentPermissions();
@@ -42103,7 +42126,7 @@ var o19 = class o20 {
42103
42126
  this.permanentPermissions.clear();
42104
42127
  }
42105
42128
  };
42106
- m12(o19, "PermissionManager");
42129
+ m11(o19, "PermissionManager");
42107
42130
  var u15 = o19;
42108
42131
 
42109
42132
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/helpers/state-manager.js
@@ -42271,8 +42294,8 @@ var l8 = class l9 {
42271
42294
  var e42, s50;
42272
42295
  try {
42273
42296
  const a77 = yield this.getAllKeys(), i54 = [], c74 = t48 == null ? void 0 : t48.toLowerCase().trim();
42274
- for (const d53 of a77) {
42275
- const o57 = yield this.get(d53);
42297
+ for (const d54 of a77) {
42298
+ const o57 = yield this.get(d54);
42276
42299
  if (o57) {
42277
42300
  if (c74) {
42278
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));
@@ -42281,7 +42304,7 @@ var l8 = class l9 {
42281
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 });
42282
42305
  }
42283
42306
  }
42284
- return i54.sort((d53, o57) => o57.updated - d53.updated), i54;
42307
+ return i54.sort((d54, o57) => o57.updated - d54.updated), i54;
42285
42308
  } catch (a77) {
42286
42309
  return console.error("Failed to list conversations:", a77), [];
42287
42310
  }
@@ -42396,7 +42419,7 @@ n22(K3, "generateToolCallId");
42396
42419
 
42397
42420
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/helpers/tool-registry.js
42398
42421
  var h9 = Object.defineProperty;
42399
- var m13 = (l57, e42) => h9(l57, "name", { value: e42, configurable: true });
42422
+ var m12 = (l57, e42) => h9(l57, "name", { value: e42, configurable: true });
42400
42423
  var u16 = class u17 {
42401
42424
  constructor(e42) {
42402
42425
  this.jodit = e42, this.tools = /* @__PURE__ */ new Map(), this.registerBuiltInTools(e42.o.aiAssistantPro.enabledTools || []), this.registerCustomTools(e42.o.aiAssistantPro.customTools || []);
@@ -42471,7 +42494,7 @@ var u16 = class u17 {
42471
42494
  this.tools.clear();
42472
42495
  }
42473
42496
  };
42474
- m13(u16, "ToolRegistry");
42497
+ m12(u16, "ToolRegistry");
42475
42498
  var f9 = u16;
42476
42499
 
42477
42500
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/conversation-list/conversation-list-item.js
@@ -42557,7 +42580,7 @@ h10([watch("container:click")], a25.prototype, "onClick", null), h10([autobind],
42557
42580
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/conversation-list/conversation-list.js
42558
42581
  init_decorators();
42559
42582
  var p16 = Object.defineProperty;
42560
- var d8 = (c74, t48) => p16(c74, "name", { value: t48, configurable: true });
42583
+ var d9 = (c74, t48) => p16(c74, "name", { value: t48, configurable: true });
42561
42584
  var a26;
42562
42585
  var l11 = function(c74, t48, s50, r59) {
42563
42586
  var e42 = arguments.length, i54 = e42 < 3 ? t48 : r59 === null ? r59 = Object.getOwnPropertyDescriptor(t48, s50) : r59, n57;
@@ -42604,7 +42627,7 @@ var h11 = (a26 = class extends UIGroup {
42604
42627
  this.j.e.fire("searchConversations.ai-assistant-pro", t48);
42605
42628
  }
42606
42629
  buildList(t48) {
42607
- 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 });
42608
42631
  r59.toRemove.forEach((e42) => {
42609
42632
  const i54 = this.conversationItems.get(e42.id);
42610
42633
  i54 && (this.elements.indexOf(i54) !== -1 && (this.remove(i54), i54.destruct()), this.conversationItems.delete(e42.id));
@@ -42638,13 +42661,13 @@ var h11 = (a26 = class extends UIGroup {
42638
42661
  var t48;
42639
42662
  (t48 = this.searchInput) === null || t48 === void 0 || t48.destruct(), super.destruct();
42640
42663
  }
42641
- }, d8(a26, "UIConversationList"), a26);
42664
+ }, d9(a26, "UIConversationList"), a26);
42642
42665
  l11([hook("ready")], h11.prototype, "afterRender", null), l11([debounce()], h11.prototype, "onSearch", null), h11 = l11([component], h11);
42643
42666
 
42644
42667
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/voice/microphone-streamer.js
42645
42668
  var h12 = Object.defineProperty;
42646
42669
  var a27 = (o57, t48) => h12(o57, "name", { value: t48, configurable: true });
42647
- function d9(o57) {
42670
+ function d10(o57) {
42648
42671
  const t48 = new Int16Array(o57.length);
42649
42672
  for (let s50 = 0; s50 < o57.length; s50++) {
42650
42673
  const n57 = Math.max(-1, Math.min(1, o57[s50]));
@@ -42652,7 +42675,7 @@ function d9(o57) {
42652
42675
  }
42653
42676
  return t48;
42654
42677
  }
42655
- a27(d9, "floatTo16BitPCM");
42678
+ a27(d10, "floatTo16BitPCM");
42656
42679
  function f10(o57, t48, s50) {
42657
42680
  if (s50 >= t48) return o57;
42658
42681
  const n57 = t48 / s50, i54 = Math.round(o57.length / n57), r59 = new Float32Array(i54);
@@ -42678,7 +42701,7 @@ var c13 = class c14 {
42678
42701
  const s50 = t48.createMediaStreamSource(this.stream), n57 = t48.createScriptProcessor(4096, 1, 1), i54 = t48.createGain();
42679
42702
  i54.gain.value = 0, n57.onaudioprocess = (r59) => {
42680
42703
  if (!this.running) return;
42681
- 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));
42682
42705
  this.onFrame(l57);
42683
42706
  }, s50.connect(n57), n57.connect(i54), i54.connect(t48.destination), this.audioCtx = t48, this.source = s50, this.processor = n57, this.zeroGain = i54;
42684
42707
  });
@@ -42697,7 +42720,7 @@ var u18 = c13;
42697
42720
 
42698
42721
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/voice/voice-transcriber.js
42699
42722
  var p17 = Object.defineProperty;
42700
- var d10 = (u58, s50) => p17(u58, "name", { value: s50, configurable: true });
42723
+ var d11 = (u58, s50) => p17(u58, "name", { value: s50, configurable: true });
42701
42724
  var l12 = class l13 {
42702
42725
  constructor(s50) {
42703
42726
  this.options = s50, this.ws = null, this.streamer = null, this.running = false;
@@ -42767,7 +42790,7 @@ var l12 = class l13 {
42767
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));
42768
42791
  }
42769
42792
  };
42770
- d10(l12, "VoiceTranscriber");
42793
+ d11(l12, "VoiceTranscriber");
42771
42794
  var c15 = l12;
42772
42795
 
42773
42796
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/voice/voice-input-button.js
@@ -42846,14 +42869,14 @@ init_decorators();
42846
42869
  init_assert();
42847
42870
  var v9 = Object.defineProperty;
42848
42871
  var a28 = (u58, t48) => v9(u58, "name", { value: t48, configurable: true });
42849
- var d11;
42872
+ var d12;
42850
42873
  var h13 = function(u58, t48, e42, i54) {
42851
42874
  var n57 = arguments.length, s50 = n57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, o57;
42852
42875
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(u58, t48, e42, i54);
42853
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);
42854
42877
  return n57 > 3 && s50 && Object.defineProperty(t48, e42, s50), s50;
42855
42878
  };
42856
- var r23 = (d11 = class extends UIElement {
42879
+ var r23 = (d12 = class extends UIElement {
42857
42880
  className() {
42858
42881
  return "UIInputArea";
42859
42882
  }
@@ -42976,7 +42999,7 @@ var r23 = (d11 = class extends UIElement {
42976
42999
  var t48, e42, i54, n57;
42977
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();
42978
43001
  }
42979
- }, a28(d11, "UIInputArea"), d11);
43002
+ }, a28(d12, "UIInputArea"), d12);
42980
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);
42981
43004
 
42982
43005
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/message-list/artifact.js
@@ -42984,14 +43007,14 @@ init_decorators();
42984
43007
  init_attr();
42985
43008
  var g7 = Object.defineProperty;
42986
43009
  var p18 = (l57, t48) => g7(l57, "name", { value: t48, configurable: true });
42987
- var d12;
43010
+ var d13;
42988
43011
  var u20 = function(l57, t48, e42, i54) {
42989
43012
  var a77 = arguments.length, n57 = a77 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, s50;
42990
43013
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n57 = Reflect.decorate(l57, t48, e42, i54);
42991
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);
42992
43015
  return a77 > 3 && n57 && Object.defineProperty(t48, e42, n57), n57;
42993
43016
  };
42994
- var o25 = (d12 = class extends UIElement {
43017
+ var o25 = (d13 = class extends UIElement {
42995
43018
  className() {
42996
43019
  return "UIArtifact";
42997
43020
  }
@@ -43098,8 +43121,8 @@ var o25 = (d12 = class extends UIElement {
43098
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" });
43099
43122
  if (c74.textContent = this.j.i18n("Download"), this.artifact.data.kind === "url") c74.href = this.artifact.data.url;
43100
43123
  else if (this.artifact.data.kind === "base64") {
43101
- const m54 = this.artifact.mimeType || "application/octet-stream";
43102
- 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}`;
43103
43126
  }
43104
43127
  n57.appendChild(s50), n57.appendChild(r59), n57.appendChild(c74), a77.appendChild(n57), this.container.appendChild(a77);
43105
43128
  }
@@ -43128,7 +43151,7 @@ var o25 = (d12 = class extends UIElement {
43128
43151
  updateArtifact(t48) {
43129
43152
  this.artifact = t48, this.renderArtifact();
43130
43153
  }
43131
- }, p18(d12, "UIArtifact"), d12);
43154
+ }, p18(d13, "UIArtifact"), d13);
43132
43155
  u20([hook("ready")], o25.prototype, "onReady", null), o25 = u20([component], o25);
43133
43156
 
43134
43157
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/message-list/item/message-list-item.js
@@ -43142,7 +43165,7 @@ var p19 = function(c74, t48, e42, s50) {
43142
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);
43143
43166
  return i54 > 3 && n57 && Object.defineProperty(t48, e42, n57), n57;
43144
43167
  };
43145
- var d13 = (l14 = class extends UIElement {
43168
+ var d14 = (l14 = class extends UIElement {
43146
43169
  className() {
43147
43170
  return "UIMessageListItem";
43148
43171
  }
@@ -43217,8 +43240,8 @@ var d13 = (l14 = class extends UIElement {
43217
43240
  o57.textContent = this.getToolStatusText(t48.status || "unknown"), s50.appendChild(i54), s50.appendChild(n57), s50.appendChild(o57), e42.appendChild(s50);
43218
43241
  const a77 = this.createExpandableSection("Arguments", JSON.stringify(t48.arguments || {}, null, 2));
43219
43242
  if (e42.appendChild(a77), t48.result) {
43220
- 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));
43221
- 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);
43222
43245
  }
43223
43246
  return e42;
43224
43247
  }
@@ -43251,7 +43274,7 @@ var d13 = (l14 = class extends UIElement {
43251
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();
43252
43275
  }
43253
43276
  }, r24(l14, "UIMessageListItem"), l14);
43254
- p19([hook("ready")], d13.prototype, "onReady", null), d13 = p19([component], d13);
43277
+ p19([hook("ready")], d14.prototype, "onReady", null), d14 = p19([component], d14);
43255
43278
 
43256
43279
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/message-list/message-list.js
43257
43280
  init_decorators();
@@ -43261,7 +43284,7 @@ var a29;
43261
43284
  var l15 = function(r59, s50, i54, t48) {
43262
43285
  var e42 = arguments.length, o57 = e42 < 3 ? s50 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(s50, i54) : t48, c74;
43263
43286
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(r59, s50, i54, t48);
43264
- 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);
43265
43288
  return e42 > 3 && o57 && Object.defineProperty(s50, i54, o57), o57;
43266
43289
  };
43267
43290
  var n24 = (a29 = class extends UIGroup {
@@ -43301,7 +43324,7 @@ var n24 = (a29 = class extends UIGroup {
43301
43324
  const o57 = this.messageItems.get(t48.id);
43302
43325
  o57 && (o57.updateMessage(t48), this.elements.indexOf(o57) !== e42 && e42 < this.elements.length && (this.remove(o57), this.append(o57, e42)));
43303
43326
  }), i54.toCreate.forEach((t48) => {
43304
- const e42 = new d13(this.j, t48, this.params);
43327
+ const e42 = new d14(this.j, t48, this.params);
43305
43328
  this.messageItems.set(t48.id, e42);
43306
43329
  const o57 = this.messages.indexOf(t48);
43307
43330
  this.append(e42, o57);
@@ -43319,7 +43342,7 @@ l15([hook("ready")], n24.prototype, "afterRender", null), l15([watch(["scrollCon
43319
43342
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/permission-request/permission-request.js
43320
43343
  init_decorators();
43321
43344
  var v10 = Object.defineProperty;
43322
- var d14 = (r59, t48) => v10(r59, "name", { value: t48, configurable: true });
43345
+ var d15 = (r59, t48) => v10(r59, "name", { value: t48, configurable: true });
43323
43346
  var l16;
43324
43347
  var c16 = function(r59, t48, e42, o57) {
43325
43348
  var i54 = arguments.length, n57 = i54 < 3 ? t48 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t48, e42) : o57, a77;
@@ -43386,7 +43409,7 @@ var s18 = (l16 = class extends UIElement {
43386
43409
  var t48, e42, o57;
43387
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();
43388
43411
  }
43389
- }, d14(l16, "UIPermissionRequest"), l16);
43412
+ }, d15(l16, "UIPermissionRequest"), l16);
43390
43413
  c16([hook("ready")], s18.prototype, "afterRender", null), c16([autobind], s18.prototype, "onApprove", null), c16([autobind], s18.prototype, "onDeny", null), s18 = c16([component], s18);
43391
43414
 
43392
43415
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/settings-popup/dialog-settings.js
@@ -43401,7 +43424,7 @@ var o26;
43401
43424
  var r25 = function(h60, t48, e42, s50) {
43402
43425
  var l57 = arguments.length, a77 = l57 < 3 ? t48 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(t48, e42) : s50, n57;
43403
43426
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(h60, t48, e42, s50);
43404
- 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);
43405
43428
  return l57 > 3 && a77 && Object.defineProperty(t48, e42, a77), a77;
43406
43429
  };
43407
43430
  var i24 = (o26 = class extends UIInput {
@@ -43448,7 +43471,7 @@ r25([watch(["handle:mousedown", "handle:touchstart"])], i24.prototype, "onDragSt
43448
43471
  var f11 = Object.defineProperty;
43449
43472
  var h15 = (l57, e42) => f11(l57, "name", { value: e42, configurable: true });
43450
43473
  var r26;
43451
- var d15 = function(l57, e42, t48, n57) {
43474
+ var d16 = function(l57, e42, t48, n57) {
43452
43475
  var o57 = arguments.length, i54 = o57 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, t48) : n57, a77;
43453
43476
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(l57, e42, t48, n57);
43454
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);
@@ -43508,17 +43531,17 @@ var p21 = (r26 = class extends UIElement {
43508
43531
  (e42 = this.modelSelect) === null || e42 === void 0 || e42.destruct(), super.destruct();
43509
43532
  }
43510
43533
  }, h15(r26, "UIDialogSettings"), r26);
43511
- 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);
43512
43535
 
43513
43536
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/settings-popup/global-settings.js
43514
43537
  init_decorators();
43515
- var m14 = Object.defineProperty;
43516
- 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 });
43517
43540
  var o27;
43518
- var u22 = function(d53, t48, e42, i54) {
43541
+ var u22 = function(d54, t48, e42, i54) {
43519
43542
  var n57 = arguments.length, a77 = n57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, l57;
43520
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(d53, t48, e42, i54);
43521
- 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);
43522
43545
  return n57 > 3 && a77 && Object.defineProperty(t48, e42, a77), a77;
43523
43546
  };
43524
43547
  var h16 = (o27 = class extends UIElement {
@@ -43590,12 +43613,12 @@ u22([watch("state.displayMode")], h16.prototype, "onStateDisplayModeChange", nul
43590
43613
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/settings-popup/settings-popup.js
43591
43614
  init_decorators();
43592
43615
  var g10 = Object.defineProperty;
43593
- var r27 = (d53, t48) => g10(d53, "name", { value: t48, configurable: true });
43616
+ var r27 = (d54, t48) => g10(d54, "name", { value: t48, configurable: true });
43594
43617
  var a30;
43595
- var c17 = function(d53, t48, e42, i54) {
43618
+ var c17 = function(d54, t48, e42, i54) {
43596
43619
  var l57 = arguments.length, s50 = l57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, n57;
43597
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(d53, t48, e42, i54);
43598
- 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);
43599
43622
  return l57 > 3 && s50 && Object.defineProperty(t48, e42, s50), s50;
43600
43623
  };
43601
43624
  var h17 = (a30 = class extends UIElement {
@@ -43692,7 +43715,7 @@ h18([watch("extraState.displayMode")], u23.prototype, "onChangeOptionsClosePopup
43692
43715
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/welcome-screen/welcome-screen.js
43693
43716
  init_decorators();
43694
43717
  var a31 = Object.defineProperty;
43695
- var d16 = (i54, e42) => a31(i54, "name", { value: e42, configurable: true });
43718
+ var d17 = (i54, e42) => a31(i54, "name", { value: e42, configurable: true });
43696
43719
  var c18;
43697
43720
  var f13 = function(i54, e42, o57, n57) {
43698
43721
  var r59 = arguments.length, t48 = r59 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, o57) : n57, s50;
@@ -43716,7 +43739,7 @@ var v11 = (c18 = class extends UIElement {
43716
43739
  <div class="&__tip">~Tip: Select text in editor to add context~</div>
43717
43740
  </div>`;
43718
43741
  }
43719
- }, d16(c18, "UIWelcomeScreen"), c18);
43742
+ }, d17(c18, "UIWelcomeScreen"), c18);
43720
43743
  v11 = f13([component], v11);
43721
43744
 
43722
43745
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/ui/main-panel/main-panel.js
@@ -43724,14 +43747,14 @@ init_decorators();
43724
43747
  init_dom();
43725
43748
  var C2 = Object.defineProperty;
43726
43749
  var p23 = (u58, t48) => C2(u58, "name", { value: t48, configurable: true });
43727
- var d17;
43750
+ var d18;
43728
43751
  var l18 = function(u58, t48, e42, s50) {
43729
43752
  var i54 = arguments.length, o57 = i54 < 3 ? t48 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(t48, e42) : s50, n57;
43730
43753
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(u58, t48, e42, s50);
43731
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);
43732
43755
  return i54 > 3 && o57 && Object.defineProperty(t48, e42, o57), o57;
43733
43756
  };
43734
- var a32 = (d17 = class extends UIElement {
43757
+ var a32 = (d18 = class extends UIElement {
43735
43758
  className() {
43736
43759
  return "UIMainPanel";
43737
43760
  }
@@ -43860,7 +43883,7 @@ var a32 = (d17 = class extends UIElement {
43860
43883
  var t48, e42, s50, i54, o57, n57, r59, v22;
43861
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();
43862
43885
  }
43863
- }, p23(d17, "UIMainPanel"), d17);
43886
+ }, p23(d18, "UIMainPanel"), d18);
43864
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);
43865
43888
 
43866
43889
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/message-builder.js
@@ -43874,11 +43897,11 @@ function c19() {
43874
43897
  return { id: "", role: "assistant", content: "", artifacts: [], timestamp: Date.now(), toolCalls: [] };
43875
43898
  }
43876
43899
  t18(c19, "createAIMessage");
43877
- function m15(e42) {
43900
+ function m14(e42) {
43878
43901
  return { id: "error_" + _4(), role: "assistant", content: `\u274C Error: ${e42.message}`, timestamp: Date.now(), toolCalls: [], artifacts: [] };
43879
43902
  }
43880
- t18(m15, "createErrorMessage");
43881
- function d18(e42, r59) {
43903
+ t18(m14, "createErrorMessage");
43904
+ function d19(e42, r59) {
43882
43905
  return __async(this, null, function* () {
43883
43906
  if (!r59 || r59.length === 0) return r59;
43884
43907
  const o57 = e42.o.aiAssistantPro.uploadBase64Artifact;
@@ -43888,12 +43911,12 @@ function d18(e42, r59) {
43888
43911
  }))) : r59;
43889
43912
  });
43890
43913
  }
43891
- t18(d18, "uploadArtifacts");
43914
+ t18(d19, "uploadArtifacts");
43892
43915
 
43893
43916
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/ai-response-handler.js
43894
43917
  var l19 = Object.defineProperty;
43895
43918
  var c20 = (a77, t48) => l19(a77, "name", { value: t48, configurable: true });
43896
- function m16(a77, t48, s50) {
43919
+ function m15(a77, t48, s50) {
43897
43920
  return __async(this, null, function* () {
43898
43921
  let e42 = c19(), r59 = -1;
43899
43922
  try {
@@ -43913,7 +43936,7 @@ function m16(a77, t48, s50) {
43913
43936
  break;
43914
43937
  }
43915
43938
  case "error": {
43916
- const o57 = m15(n57.error);
43939
+ const o57 = m14(n57.error);
43917
43940
  e42 = __spreadProps(__spreadValues({}, e42), { id: o57.id, content: o57.content });
43918
43941
  break;
43919
43942
  }
@@ -43936,7 +43959,7 @@ function m16(a77, t48, s50) {
43936
43959
  return { aiMessage: e42, index: r59, conversation: s50 };
43937
43960
  });
43938
43961
  }
43939
- c20(m16, "processStreamingResponse");
43962
+ c20(m15, "processStreamingResponse");
43940
43963
  function u24(a77, t48) {
43941
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();
43942
43965
  e42.push(s50), t48 = __spreadProps(__spreadValues({}, t48), { messages: e42, updated: Date.now() });
@@ -43948,7 +43971,7 @@ function h19(a77, t48, s50, e42) {
43948
43971
  return __async(this, null, function* () {
43949
43972
  if (t48.artifacts && t48.artifacts.length > 0) {
43950
43973
  const r59 = s50.messages.slice();
43951
- 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() });
43952
43975
  }
43953
43976
  return s50;
43954
43977
  });
@@ -43971,16 +43994,16 @@ function C3(t48) {
43971
43994
  return null;
43972
43995
  }
43973
43996
  o28(C3, "findParentMessageId");
43974
- var d19 = /* @__PURE__ */ new Set(["executed", "denied", "error"]);
43997
+ var d20 = /* @__PURE__ */ new Set(["executed", "denied", "error"]);
43975
43998
  function l20(t48) {
43976
- return d19.has(t48);
43999
+ return d20.has(t48);
43977
44000
  }
43978
44001
  o28(l20, "isTerminalToolCallStatus");
43979
- function m17(t48) {
44002
+ function m16(t48) {
43980
44003
  const e42 = t48.messages[t48.messages.length - 1];
43981
44004
  return (e42 == null ? void 0 : e42.toolCalls) ? e42.toolCalls.every((s50) => l20(s50.status)) : false;
43982
44005
  }
43983
- o28(m17, "areAllToolCallsExecuted");
44006
+ o28(m16, "areAllToolCallsExecuted");
43984
44007
  function p25(t48) {
43985
44008
  return t48.messages.filter((e42) => e42.toolCalls && e42.toolCalls.length > 0 && e42.toolCalls.some((s50) => !l20(s50.status)));
43986
44009
  }
@@ -43989,7 +44012,7 @@ o28(p25, "findMessagesWithPendingToolCalls");
43989
44012
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/tool-execution.js
43990
44013
  var s20 = Object.defineProperty;
43991
44014
  var a33 = (l57, o57) => s20(l57, "name", { value: o57, configurable: true });
43992
- function d20(l57, o57, e42) {
44015
+ function d21(l57, o57, e42) {
43993
44016
  return __async(this, null, function* () {
43994
44017
  let t48;
43995
44018
  try {
@@ -44001,7 +44024,7 @@ function d20(l57, o57, e42) {
44001
44024
  return l57.e.fire("toolCallExecuted.ai-assistant-pro", t48, { toolCallId: t48.id, result: t48.result }), t48;
44002
44025
  });
44003
44026
  }
44004
- a33(d20, "executeToolCall");
44027
+ a33(d21, "executeToolCall");
44005
44028
  function c21(l57, o57) {
44006
44029
  var e42, t48;
44007
44030
  const r59 = (e42 = l57.toolCalls) === null || e42 === void 0 ? void 0 : e42.findIndex((i54) => i54.id === o57.id);
@@ -44013,8 +44036,8 @@ a33(c21, "updateToolCallInMessage");
44013
44036
 
44014
44037
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/event-handlers.js
44015
44038
  init_constants();
44016
- var m18 = Object.defineProperty;
44017
- 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 });
44018
44041
  function L3(e42, o57, n57, i54, f50) {
44019
44042
  return __async(this, null, function* () {
44020
44043
  const s50 = n57.getPendingToolCalls().find((c74) => c74.id === e42);
@@ -44026,13 +44049,13 @@ function L3(e42, o57, n57, i54, f50) {
44026
44049
  t19(L3, "handleToolApproval");
44027
44050
  function x5(e42, o57, n57, i54) {
44028
44051
  return __async(this, null, function* () {
44029
- const a77 = n57.getPendingToolCalls().find((d53) => d53.id === o57);
44052
+ const a77 = n57.getPendingToolCalls().find((d54) => d54.id === o57);
44030
44053
  if (!a77) return;
44031
44054
  let s50 = n57.getCurrentConversation();
44032
44055
  if (!s50) return;
44033
- const l57 = s50.messages.findIndex((d53) => {
44056
+ const l57 = s50.messages.findIndex((d54) => {
44034
44057
  var u58;
44035
- 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);
44036
44059
  });
44037
44060
  if (l57 === -1) return;
44038
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];
@@ -44055,7 +44078,7 @@ function P2(e42, o57, n57) {
44055
44078
  });
44056
44079
  }
44057
44080
  t19(P2, "handleConversationSelect");
44058
- function D2(e42, o57) {
44081
+ function D3(e42, o57) {
44059
44082
  return __async(this, null, function* () {
44060
44083
  o57.setView("conversationList");
44061
44084
  try {
@@ -44067,7 +44090,7 @@ function D2(e42, o57) {
44067
44090
  }
44068
44091
  });
44069
44092
  }
44070
- t19(D2, "handleBackToList");
44093
+ t19(D3, "handleBackToList");
44071
44094
  function S3(e42, o57, n57) {
44072
44095
  return __async(this, null, function* () {
44073
44096
  n57.setLoading(true);
@@ -44119,8 +44142,8 @@ r28(o29, "getCurrentSelectionContext");
44119
44142
 
44120
44143
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/storage-helpers.js
44121
44144
  init_constants();
44122
- var d21 = Object.defineProperty;
44123
- 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 });
44124
44147
  function f15(s50, i54, e42, n57, t48) {
44125
44148
  return __async(this, null, function* () {
44126
44149
  try {
@@ -44158,8 +44181,8 @@ function w6(s50, i54, e42) {
44158
44181
  r29(w6, "loadInitialData");
44159
44182
 
44160
44183
  // node_modules/jodit-pro/esm/plugins/ai-assistant-pro/core/theme.js
44161
- var m19 = Object.defineProperty;
44162
- 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 });
44163
44186
  var l22 = ["jodit_theme_dark", "jodit-ai-assistant-pro_theme_dark", "jodit-dialog_theme_dark"];
44164
44187
  var e17 = ["jodit_theme_light", "jodit-ai-assistant-pro_theme_light", "jodit-dialog_theme_light"];
44165
44188
  function u25(v22, t48, a77, o57, s50) {
@@ -44167,10 +44190,10 @@ function u25(v22, t48, a77, o57, s50) {
44167
44190
  const i54 = s50 == null ? void 0 : s50.container;
44168
44191
  i54 == null ? void 0 : i54.classList.remove(...l22), i54 == null ? void 0 : i54.classList.remove(...e17);
44169
44192
  }
44170
- let d53;
44171
- 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") {
44172
44195
  const i54 = s50 == null ? void 0 : s50.container;
44173
- i54 == null ? void 0 : i54.classList.add(...d53);
44196
+ i54 == null ? void 0 : i54.classList.add(...d54);
44174
44197
  }
44175
44198
  }
44176
44199
  _5(u25, "applyTheme");
@@ -44211,8 +44234,8 @@ var r30 = /* @__PURE__ */ new WeakMap();
44211
44234
  var h20 = class h21 {
44212
44235
  static install(t48, e42, o57 = {}) {
44213
44236
  this.remove(t48);
44214
- const { panelHeight: d53 = 250, containerClassName: l57, toolbarSelector: i54 = ".jodit-toolbar__box", gap: c74 = 16 } = o57, s50 = t48.j.c.div("jodit-flight-position");
44215
- 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);
44216
44239
  const a77 = { toolbarSelector: i54, gap: c74 }, n57 = b10(() => {
44217
44240
  this.updatePosition(s50, e42, a77);
44218
44241
  }, "onScroll"), p63 = new ResizeObserver(n57);
@@ -44221,9 +44244,9 @@ var h20 = class h21 {
44221
44244
  r30.set(t48, v22), this.updatePosition(s50, e42, a77);
44222
44245
  }
44223
44246
  static updatePosition(t48, e42, o57) {
44224
- 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;
44225
44248
  t48.style.left = `${i54.left}px`, t48.style.width = `${i54.width}px`;
44226
- 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;
44227
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`);
44228
44251
  }
44229
44252
  static remove(t48) {
@@ -44303,7 +44326,7 @@ var l23 = (f18 = class extends Plugin {
44303
44326
  return new u15(this.j, this.toolRegistry);
44304
44327
  }
44305
44328
  get apiClient() {
44306
- return new m11(this.j, this.toolRegistry);
44329
+ return new m10(this.j, this.toolRegistry);
44307
44330
  }
44308
44331
  get storage() {
44309
44332
  const { storage: t48, storageKey: e42, maxConversations: a77 } = this.j.o.aiAssistantPro;
@@ -44339,16 +44362,16 @@ var l23 = (f18 = class extends Plugin {
44339
44362
  const P4 = `${v22}:${s50}`;
44340
44363
  if (n57 > 0) {
44341
44364
  const g24 = r59.get(P4);
44342
- 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 }));
44343
44366
  }
44344
44367
  c74 && clearTimeout(c74);
44345
44368
  const I2 = new AbortController();
44346
44369
  return new Promise((g24) => {
44347
44370
  c74 = setTimeout(() => __async(this, null, function* () {
44348
44371
  try {
44349
- const m54 = yield e42(v22, s50, I2.signal);
44350
- if (Array.isArray(m54)) {
44351
- 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);
44352
44375
  if (n57 > 0) {
44353
44376
  if (r59.size >= o57) {
44354
44377
  const C14 = r59.keys().next().value;
@@ -44414,7 +44437,7 @@ var l23 = (f18 = class extends Plugin {
44414
44437
  })), this.j.e.on("renameConversation.ai-assistant-pro", (t48, e42) => __async(this, null, function* () {
44415
44438
  yield this.__loadData(), yield this.renameConversation(t48, e42);
44416
44439
  })), this.j.e.on("backToList.ai-assistant-pro", () => __async(this, null, function* () {
44417
- yield this.__loadData(), yield D2(this.storage, this.stateManager);
44440
+ yield this.__loadData(), yield D3(this.storage, this.stateManager);
44418
44441
  })), this.j.e.on("removeContext.ai-assistant-pro", (t48) => __async(this, null, function* () {
44419
44442
  yield this.__loadData(), this.stateManager.removeSelectionContext(t48);
44420
44443
  })), this.j.e.on("approveToolCall.ai-assistant-pro", (t48, e42) => __async(this, null, function* () {
@@ -44593,7 +44616,7 @@ ${n57}`.trim();
44593
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)]);
44594
44617
  let n57, o57;
44595
44618
  if (i54.mode === "stream") {
44596
- const r59 = yield m16(this.stateManager, i54, a77);
44619
+ const r59 = yield m15(this.stateManager, i54, a77);
44597
44620
  n57 = r59.aiMessage, o57 = r59.index, a77 = r59.conversation;
44598
44621
  } else {
44599
44622
  const r59 = u24(i54, a77);
@@ -44642,10 +44665,10 @@ ${n57}`.trim();
44642
44665
  return __async(this, null, function* () {
44643
44666
  let s50 = this.stateManager.getCurrentConversation();
44644
44667
  if (!s50) return;
44645
- 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);
44646
44669
  if (n57 === -1) return;
44647
44670
  const o57 = s50.messages[n57], r59 = s50.messages.slice();
44648
- 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));
44649
44672
  });
44650
44673
  }
44651
44674
  copyMessage(t48) {
@@ -44951,9 +44974,9 @@ init_assert();
44951
44974
  var O2 = Object.defineProperty;
44952
44975
  var b12 = (u58, o57) => O2(u58, "name", { value: o57, configurable: true });
44953
44976
  var f22;
44954
- var _7 = function(u58, o57, e42, d53) {
44955
- var n57 = arguments.length, r59 = n57 < 3 ? o57 : d53 === null ? d53 = Object.getOwnPropertyDescriptor(o57, e42) : d53, l57;
44956
- 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);
44957
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);
44958
44981
  return n57 > 3 && r59 && Object.defineProperty(o57, e42, r59), r59;
44959
44982
  };
@@ -44968,12 +44991,12 @@ var p30 = x6 = (f22 = class extends UIElement {
44968
44991
  __updateStyles() {
44969
44992
  const { style: o57 } = this, e42 = this.getElm("button");
44970
44993
  assert(e42 != null, "button element does not exist");
44971
- const d53 = this.getElm("wrapper");
44972
- 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);
44973
44996
  }
44974
44997
  static applyStyle(o57, e42) {
44975
- const d53 = b12((n57) => isString(n57) ? n57 : n57 + "px", "_");
44976
- 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 });
44977
45000
  }
44978
45001
  update() {
44979
45002
  this.__updateStyles();
@@ -44986,8 +45009,8 @@ var p30 = x6 = (f22 = class extends UIElement {
44986
45009
  </div>`;
44987
45010
  }
44988
45011
  static extractStyle(o57, e42) {
44989
- var d53, n57, r59, l57;
44990
- 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(() => {
44991
45014
  var c74, a77;
44992
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;
44993
45016
  if (S8 && /linear-gradient/.test(S8)) {
@@ -44995,7 +45018,7 @@ var p30 = x6 = (f22 = class extends UIElement {
44995
45018
  s50 && (i54.solid = false, i54.bgStart = s50[1] || i54.bgStart, i54.bgEnd = s50[2] || "#5cbf2a");
44996
45019
  }
44997
45020
  return i54;
44998
- }, "extractColors"), m54 = b12((c74, a77, i54, S8) => {
45021
+ }, "extractColors"), m53 = b12((c74, a77, i54, S8) => {
44999
45022
  const s50 = t48[i54];
45000
45023
  return !s50 || ["none", "inherit", "initial", "unset"].includes(s50) ? { [i54]: false } : (s50.replace(/,\s/g, ",").split(/\s+/).forEach((h60) => {
45001
45024
  if (/[0-9.]+(px|pt|em|%)/.test(h60)) {
@@ -45004,7 +45027,7 @@ var p30 = x6 = (f22 = class extends UIElement {
45004
45027
  } else h60 === "inset" ? a77.boxShadowInset = true : a77[S8] = h60;
45005
45028
  }), a77[i54] = true, a77);
45006
45029
  }, "extractShadow");
45007
- 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")));
45008
45031
  }
45009
45032
  }, b12(f22, "UIGButton"), f22);
45010
45033
  _7([watch("style")], p30.prototype, "__updateStyles", null), p30 = x6 = _7([component], p30);
@@ -45022,14 +45045,14 @@ init_dom();
45022
45045
  init_to_array();
45023
45046
  init_assert();
45024
45047
  var v12 = Object.defineProperty;
45025
- var o31 = (m54, i54) => v12(m54, "name", { value: i54, configurable: true });
45048
+ var o31 = (m53, i54) => v12(m53, "name", { value: i54, configurable: true });
45026
45049
  var r35 = class r36 extends UIElement {
45027
45050
  className() {
45028
45051
  return "UIFormButtonGenerator";
45029
45052
  }
45030
45053
  constructor(i54, n57, l57) {
45031
45054
  super(i54), this.state = n57, this.updateState = l57, this.onUpdates = [];
45032
- const d53 = o31((e42, t48) => () => {
45055
+ const d54 = o31((e42, t48) => () => {
45033
45056
  let a77 = this.state[t48.name];
45034
45057
  /px/.test(a77.toString()) && (a77 = a77.toString().replace(/px/, "")), a77.toString() !== e42.value && (e42.value = a77);
45035
45058
  }, "getOnUpdate");
@@ -45038,7 +45061,7 @@ var r35 = class r36 extends UIElement {
45038
45061
  const t48 = new UISelect(this.j, { options: toArray(e42.options).map((a77) => ({ text: a77.innerText, value: a77.value })), onChange: o31((a77) => {
45039
45062
  this.updateState(e42.name, a77);
45040
45063
  }, "onChange") });
45041
- 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));
45042
45065
  return;
45043
45066
  }
45044
45067
  if (Dom.isTag(e42, "input")) switch (e42.type) {
@@ -45046,14 +45069,14 @@ var r35 = class r36 extends UIElement {
45046
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) => {
45047
45070
  this.updateState(e42.name, parseInt(a77, 10));
45048
45071
  }, "onChange") });
45049
- 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));
45050
45073
  return;
45051
45074
  }
45052
45075
  case "text": {
45053
45076
  const t48 = new UIInput(this.j, { placeholder: e42.placeholder, name: e42.name, onChange: o31((a77) => {
45054
45077
  this.updateState(e42.name, a77);
45055
45078
  }, "onChange") });
45056
- 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));
45057
45080
  return;
45058
45081
  }
45059
45082
  case "checkbox":
@@ -45161,13 +45184,13 @@ init_decorators();
45161
45184
  init_assert();
45162
45185
 
45163
45186
  // node_modules/jodit-pro/esm/plugins/color-picker/ui/input/color-input.js
45164
- var d22 = __toESM(require_acolorpicker());
45187
+ var d23 = __toESM(require_acolorpicker());
45165
45188
  init_constants();
45166
45189
  init_decorators();
45167
45190
  init_helpers();
45168
45191
  init_assert();
45169
- var m20 = Object.defineProperty;
45170
- 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 });
45171
45194
  var l26;
45172
45195
  var f23 = function(a77, e42, t48, o57) {
45173
45196
  var r59 = arguments.length, i54 = r59 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, n57;
@@ -45181,15 +45204,15 @@ var c23 = (l26 = class extends UIInput {
45181
45204
  }
45182
45205
  constructor(e42, t48) {
45183
45206
  super(e42, t48);
45184
- 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");
45185
45208
  this.popup = o57, this.trigger = Button(this.j, "ok");
45186
45209
  const i54 = this.getElm("wrapper");
45187
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(() => {
45188
45211
  var p63, h60;
45189
45212
  (h60 = (p63 = this.state).onChange) === null || h60 === void 0 || h60.call(p63, this.value), o57.close();
45190
45213
  }), o57.setMod("padding", false).setMod("max-height", false);
45191
- 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) => {
45192
- 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"));
45193
45216
  });
45194
45217
  this.j.e.on(this, "change", () => {
45195
45218
  r59(this.value) !== s50.color && (s50.color = this.value);
@@ -45212,7 +45235,7 @@ f23([watch(":change")], c23.prototype, "onChangeSelfValue", null), f23([watch("n
45212
45235
 
45213
45236
  // node_modules/jodit-pro/esm/plugins/button-generator/ui/preview/preview.js
45214
45237
  var u29 = Object.defineProperty;
45215
- var d23 = (l57, t48) => u29(l57, "name", { value: t48, configurable: true });
45238
+ var d24 = (l57, t48) => u29(l57, "name", { value: t48, configurable: true });
45216
45239
  var a39;
45217
45240
  var p31 = function(l57, t48, s50, n57) {
45218
45241
  var r59 = arguments.length, e42 = r59 < 3 ? t48 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(t48, s50) : n57, o57;
@@ -45236,7 +45259,7 @@ var h27 = (a39 = class extends UIElement {
45236
45259
  }), this.lockUpdate = false;
45237
45260
  }
45238
45261
  constructor(t48, s50, n57) {
45239
- 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) => {
45240
45263
  this.lockUpdate || (o57 === "bgEnd" && i54 !== this.state.bgStart && this.updateState("solid", false), this.updateState(o57, i54));
45241
45264
  }, "onChange") }).setMod("slim", true)), this.setMod("mode", "default");
45242
45265
  const r59 = this.getElm("button");
@@ -45246,7 +45269,7 @@ var h27 = (a39 = class extends UIElement {
45246
45269
  e42.appendChild(o57.container);
45247
45270
  }), this.update();
45248
45271
  }
45249
- }, d23(a39, "UIPreviewButtonGenerator"), a39);
45272
+ }, d24(a39, "UIPreviewButtonGenerator"), a39);
45250
45273
  h27 = p31([component], h27);
45251
45274
 
45252
45275
  // node_modules/jodit-pro/esm/plugins/button-generator/ui/generator/button-generator.js
@@ -45260,7 +45283,7 @@ var b13 = function(i54, t48, e42, r59) {
45260
45283
  return s50 > 3 && o57 && Object.defineProperty(t48, e42, o57), o57;
45261
45284
  };
45262
45285
  var l27;
45263
- var d24 = l27 = (a40 = class extends UIElement {
45286
+ var d25 = l27 = (a40 = class extends UIElement {
45264
45287
  className() {
45265
45288
  return "UIButtonGenerator";
45266
45289
  }
@@ -45302,7 +45325,7 @@ var d24 = l27 = (a40 = class extends UIElement {
45302
45325
  this.isReady && (this.form.update(), this.preview.update());
45303
45326
  }
45304
45327
  }, p32(a40, "UIButtonGenerator"), a40);
45305
- b13([autobind], d24.prototype, "updateState", null), d24 = l27 = b13([component], d24);
45328
+ b13([autobind], d25.prototype, "updateState", null), d25 = l27 = b13([component], d25);
45306
45329
 
45307
45330
  // node_modules/jodit-pro/esm/plugins/button-generator/button-generator.js
45308
45331
  init_decorators();
@@ -45310,7 +45333,7 @@ init_dom();
45310
45333
  init_plugin2();
45311
45334
  var _8 = Object.defineProperty;
45312
45335
  var c24 = (r59, t48) => _8(r59, "name", { value: t48, configurable: true });
45313
- var d25 = function(r59, t48, o57, e42) {
45336
+ var d26 = function(r59, t48, o57, e42) {
45314
45337
  var s50 = arguments.length, i54 = s50 < 3 ? t48 : e42 === null ? e42 = Object.getOwnPropertyDescriptor(t48, o57) : e42, l57;
45315
45338
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(r59, t48, o57, e42);
45316
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);
@@ -45327,7 +45350,7 @@ var u31 = class u32 extends Plugin {
45327
45350
  });
45328
45351
  }
45329
45352
  toggleButtonGenerator(t48) {
45330
- 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);
45331
45354
  const o57 = this.__ui, e42 = this.__dialog;
45332
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(() => {
45333
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();
@@ -45343,7 +45366,7 @@ var u31 = class u32 extends Plugin {
45343
45366
  };
45344
45367
  c24(u31, "buttonGenerator");
45345
45368
  var n29 = u31;
45346
- 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);
45347
45370
 
45348
45371
  // node_modules/jodit-pro/esm/plugins/change-case/icon.svg.js
45349
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> ';
@@ -45354,17 +45377,17 @@ init_data_bind();
45354
45377
  Config.prototype.controls.changeCase = { tooltip: "Change case", icon: C4, list: ["lowercase", "UPPERCASE", "Title Case"], isDisabled(e42) {
45355
45378
  return !e42.s.current();
45356
45379
  }, exec(e42, o57, { control: a77 }) {
45357
- const c74 = a77.command + "Selected", m54 = a77.args && a77.args[0] || dataBind(e42, c74);
45358
- if (!m54 || !a77.command) return false;
45359
- 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);
45360
45383
  }, command: "changeCase" };
45361
45384
 
45362
45385
  // node_modules/jodit-pro/esm/plugins/change-case/change-case.js
45363
45386
  init_dom();
45364
45387
  init_ucfirst();
45365
45388
  init_plugin2();
45366
- var R2 = Object.defineProperty;
45367
- 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 });
45368
45391
  var p33 = class p34 extends Plugin {
45369
45392
  constructor() {
45370
45393
  super(...arguments), this.buttons = [{ name: "changeCase", group: "font-style" }];
@@ -45415,7 +45438,7 @@ init_dom();
45415
45438
  init_plugin2();
45416
45439
  var u33 = Object.defineProperty;
45417
45440
  var p35 = (i54, e42) => u33(i54, "name", { value: e42, configurable: true });
45418
- var m21 = function(i54, e42, o57, t48) {
45441
+ var m20 = function(i54, e42, o57, t48) {
45419
45442
  var n57 = arguments.length, r59 = n57 < 3 ? e42 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(e42, o57) : t48, l57;
45420
45443
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(i54, e42, o57, t48);
45421
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);
@@ -45439,7 +45462,7 @@ var a41 = class a42 extends Plugin {
45439
45462
  };
45440
45463
  p35(a41, "colorPicker");
45441
45464
  var f24 = a41;
45442
- 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);
45443
45466
 
45444
45467
  // node_modules/jodit-pro/esm/plugins/emoji/ui/emoji.js
45445
45468
  init_decorators();
@@ -45507,8 +45530,8 @@ var l29 = c25 = (h28 = class extends UIElement {
45507
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) : "");
45508
45531
  this.cache[e42] = f50, o57.push(f50);
45509
45532
  }
45510
- 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);
45511
- 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;
45512
45535
  }, []);
45513
45536
  }
45514
45537
  static isShortCat(t48) {
@@ -45580,8 +45603,8 @@ var t21 = (o57, r59) => p36(o57, "name", { value: r59, configurable: true });
45580
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) => {
45581
45604
  o57.s.save();
45582
45605
  const e42 = o57.getInstance(l29);
45583
- return o57.e.off(e42, "insert").on(e42, "insert", (m54) => {
45584
- 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();
45585
45608
  }), o57.e.one("beforePopupClose", () => {
45586
45609
  o57.s.restore();
45587
45610
  }), e42.reset(), e42.container;
@@ -45593,13 +45616,13 @@ init_trim();
45593
45616
  init_plugin();
45594
45617
  var u34 = Object.defineProperty;
45595
45618
  var p37 = (r59, t48) => u34(r59, "name", { value: t48, configurable: true });
45596
- var d26 = function(r59, t48, e42, o57) {
45619
+ var d27 = function(r59, t48, e42, o57) {
45597
45620
  var s50 = arguments.length, i54 = s50 < 3 ? t48 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t48, e42) : o57, a77;
45598
45621
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(r59, t48, e42, o57);
45599
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);
45600
45623
  return s50 > 3 && i54 && Object.defineProperty(t48, e42, i54), i54;
45601
45624
  };
45602
- var m22 = class m23 extends Plugin {
45625
+ var m21 = class m22 extends Plugin {
45603
45626
  constructor() {
45604
45627
  super(...arguments), this.hasStyle = !n11.fatMode, this.buttons = [{ name: "emoji", group: "insert" }];
45605
45628
  }
@@ -45620,9 +45643,9 @@ var m22 = class m23 extends Plugin {
45620
45643
  beforeDestruct(t48) {
45621
45644
  }
45622
45645
  };
45623
- p37(m22, "emoji");
45624
- var n30 = m22;
45625
- 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);
45626
45649
 
45627
45650
  // node_modules/jodit-pro/esm/plugins/export-docs/assets/export.svg.js
45628
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> ';
@@ -45878,8 +45901,8 @@ c26([watch(":contextmenuFolder.filebrowser")], l33.prototype, "onFolderContext",
45878
45901
 
45879
45902
  // node_modules/jodit-pro/esm/plugins/finder/helpers/data-provider.js
45880
45903
  init_helpers();
45881
- var d27 = Object.defineProperty;
45882
- 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 });
45883
45906
  var i33 = class i34 extends DataProvider {
45884
45907
  copy(o57, e42, s50, t48) {
45885
45908
  const n57 = t48 ? "fileCopy" : "folderCopy", r59 = this.o[n57];
@@ -45999,7 +46022,7 @@ var r39 = (l35 = class extends ViewComponent {
45999
46022
  this.__tick += 1;
46000
46023
  const { __tick: t48 } = this;
46001
46024
  this.offset = 0, this.stopLoadingParts = false, this.__callQueueCount = 0;
46002
- 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);
46003
46026
  if (this.state.elements = e42, this.stopLoadingParts = o57 < this.countInOneChunk, yield this.loadItemsChunk(t48), yield this.async.requestIdlePromise(), this.__tick !== t48) return;
46004
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;
46005
46028
  } catch (t48) {
@@ -46020,7 +46043,7 @@ var r39 = (l35 = class extends ViewComponent {
46020
46043
  this.__isLoadingPart = true, this.j.panel.items.setMod("chunk-loading", true);
46021
46044
  try {
46022
46045
  this.offset += this.countInOneChunk;
46023
- 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);
46024
46047
  if (this.__tick !== t48) return;
46025
46048
  this.stopLoadingParts = o57 < this.countInOneChunk, e42.length && (this.state.elements = this.state.elements.concat(e42));
46026
46049
  } catch (e42) {
@@ -46034,17 +46057,17 @@ var r39 = (l35 = class extends ViewComponent {
46034
46057
  }
46035
46058
  }, c29(l35, "LoadingManager"), l35);
46036
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);
46037
- function m24(i54, t48, e42, o57) {
46060
+ function m23(i54, t48, e42, o57) {
46038
46061
  const { currentPath: n57, currentSource: s50, sortBy: a77, withFolders: u58, foldersPosition: _12, onlyImages: p63, filterWord: P4 } = i54;
46039
46062
  return t48.itemsEx(n57, s50, { offset: e42, limit: o57, sortBy: a77, withFolders: u58, foldersPosition: _12, onlyImages: p63, filterWord: P4 });
46040
46063
  }
46041
- c29(m24, "loadPartItems");
46064
+ c29(m23, "loadPartItems");
46042
46065
 
46043
46066
  // node_modules/jodit-pro/esm/plugins/finder/helpers/persistent-store.js
46044
46067
  init_component3();
46045
46068
  init_decorators();
46046
46069
  var S4 = Object.defineProperty;
46047
- var d28 = (a77, e42) => S4(a77, "name", { value: e42, configurable: true });
46070
+ var d29 = (a77, e42) => S4(a77, "name", { value: e42, configurable: true });
46048
46071
  var n35;
46049
46072
  var o35 = function(a77, e42, h60, l57) {
46050
46073
  var w9 = arguments.length, r59 = w9 < 3 ? e42 : l57 === null ? l57 = Object.getOwnPropertyDescriptor(e42, h60) : l57, p63;
@@ -46104,7 +46127,7 @@ var t24 = (n35 = class extends ViewComponent {
46104
46127
  __hasStoredView() {
46105
46128
  return this.j.storage.get(`${this.j.o.namespace}${this.componentName}_prop_view`) != null;
46106
46129
  }
46107
- }, d28(n35, "PersistentStore"), n35);
46130
+ }, d29(n35, "PersistentStore"), n35);
46108
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);
46109
46132
 
46110
46133
  // node_modules/jodit-pro/esm/plugins/finder/helpers/state-manager.js
@@ -46148,14 +46171,14 @@ var u36 = class u37 {
46148
46171
  }
46149
46172
  fillTreeForPath(e42, t48) {
46150
46173
  if (!this.state.tree.length || !t48 || t48 === "/") {
46151
- this.state.tree = e42.map(m25);
46174
+ this.state.tree = e42.map(m24);
46152
46175
  return;
46153
46176
  }
46154
46177
  this.removeActive(this.state.tree), e42.forEach((i54) => {
46155
46178
  let r59 = v14(this.state.tree, i54.name);
46156
- 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;
46157
46180
  const n57 = y4(t48, r59);
46158
- 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)));
46159
46182
  }), this.state.tree = [...this.state.tree];
46160
46183
  }
46161
46184
  removeActive(e42) {
@@ -46179,14 +46202,14 @@ function v14(s50, e42) {
46179
46202
  return (t48 = s50.find((i54) => i54.name === e42)) !== null && t48 !== void 0 ? t48 : null;
46180
46203
  }
46181
46204
  l36(v14, "findItem");
46182
- function d29(s50) {
46205
+ function d30(s50) {
46183
46206
  return s50.filter((e42) => e42 !== "." && e42 !== "..");
46184
46207
  }
46185
- l36(d29, "filterFolders");
46186
- function m25(s50) {
46187
- 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)) };
46188
46211
  }
46189
- l36(m25, "sourceToTreeItem");
46212
+ l36(m24, "sourceToTreeItem");
46190
46213
  function p40(s50, e42, t48) {
46191
46214
  return { type: "directory", name: s50, path: e42, sourceName: t48, children: [] };
46192
46215
  }
@@ -46198,7 +46221,7 @@ init_is_string();
46198
46221
  var p41 = Object.defineProperty;
46199
46222
  var c31 = (a77, t48) => p41(a77, "name", { value: t48, configurable: true });
46200
46223
  var s32;
46201
- var d30 = function(a77, t48, r59, e42) {
46224
+ var d31 = function(a77, t48, r59, e42) {
46202
46225
  var i54 = arguments.length, o57 = i54 < 3 ? t48 : e42 === null ? e42 = Object.getOwnPropertyDescriptor(t48, r59) : e42, n57;
46203
46226
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(a77, t48, r59, e42);
46204
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);
@@ -46236,7 +46259,7 @@ var l37 = (s32 = class extends UIGroup {
46236
46259
  });
46237
46260
  }
46238
46261
  }, c31(s32, "UIBrowserHeader"), s32);
46239
- 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);
46240
46263
 
46241
46264
  // node_modules/jodit-pro/esm/plugins/finder/ui/lightboox/lightbox.js
46242
46265
  init_constants();
@@ -46244,7 +46267,7 @@ init_decorators();
46244
46267
  init_helpers();
46245
46268
  init_assert();
46246
46269
  var p42 = Object.defineProperty;
46247
- var d31 = (l57, e42) => p42(l57, "name", { value: e42, configurable: true });
46270
+ var d32 = (l57, e42) => p42(l57, "name", { value: e42, configurable: true });
46248
46271
  var r40;
46249
46272
  var a48 = function(l57, e42, t48, i54) {
46250
46273
  var s50 = arguments.length, n57 = s50 < 3 ? e42 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(e42, t48) : i54, h60;
@@ -46252,8 +46275,8 @@ var a48 = function(l57, e42, t48, i54) {
46252
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);
46253
46276
  return s50 > 3 && n57 && Object.defineProperty(e42, t48, n57), n57;
46254
46277
  };
46255
- var m26;
46256
- var o37 = m26 = (r40 = class extends UIElement {
46278
+ var m25;
46279
+ var o37 = m25 = (r40 = class extends UIElement {
46257
46280
  className() {
46258
46281
  return "UILightBox";
46259
46282
  }
@@ -46270,7 +46293,7 @@ var o37 = m26 = (r40 = class extends UIElement {
46270
46293
  const { dialog: s50 } = this;
46271
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", () => {
46272
46295
  this.j.async.setTimeout(() => this.destruct(), 1);
46273
- }), this.addGlobalListeners(), this.onChangeCurrent(), s50.toolbar.build([{ icon: "check", exec: d31(() => {
46296
+ }), this.addGlobalListeners(), this.onChangeCurrent(), s50.toolbar.build([{ icon: "check", exec: d32(() => {
46274
46297
  e42.stateManager.addActive(this.current, false), e42.e.fire("select.filebrowser"), s50.close();
46275
46298
  }, "exec") }, "dialog.close"]);
46276
46299
  }
@@ -46304,7 +46327,7 @@ var o37 = m26 = (r40 = class extends UIElement {
46304
46327
  t48 >= this.elements.length - 1 ? t48 = 0 : t48 += 1, this.current = this.elements[t48];
46305
46328
  }
46306
46329
  static open(e42, t48, i54) {
46307
- return new m26(e42, t48, i54);
46330
+ return new m25(e42, t48, i54);
46308
46331
  }
46309
46332
  addGlobalListeners() {
46310
46333
  this.j.e.on(this.j.od, "keydown", this.onKeyPress);
@@ -46318,8 +46341,8 @@ var o37 = m26 = (r40 = class extends UIElement {
46318
46341
  destruct() {
46319
46342
  return this.removeGlobalListeners(), this.dialog.destruct(), super.destruct();
46320
46343
  }
46321
- }, d31(r40, "UILightBox"), r40);
46322
- 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);
46323
46346
 
46324
46347
  // node_modules/jodit-pro/esm/plugins/finder/ui/panel/panel.js
46325
46348
  init_decorators();
@@ -46335,13 +46358,13 @@ init_assert();
46335
46358
  init_decorators();
46336
46359
  init_helpers();
46337
46360
  init_assert();
46338
- var d32 = Object.defineProperty;
46339
- 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 });
46340
46363
  var n36;
46341
46364
  var c32 = function(o57, e42, t48, i54) {
46342
- 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;
46343
46366
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s50 = Reflect.decorate(o57, e42, t48, i54);
46344
- 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);
46345
46368
  return r59 > 3 && s50 && Object.defineProperty(e42, t48, s50), s50;
46346
46369
  };
46347
46370
  var l38 = (n36 = class extends UIElement {
@@ -46389,13 +46412,13 @@ c32([watch("heart:click")], l38.prototype, "onClickFavorite", null), c32([watch(
46389
46412
  var v15 = Object.defineProperty;
46390
46413
  var p43 = (r59, e42) => v15(r59, "name", { value: e42, configurable: true });
46391
46414
  var a49;
46392
- var d33 = function(r59, e42, i54, t48) {
46415
+ var d34 = function(r59, e42, i54, t48) {
46393
46416
  var s50 = arguments.length, o57 = s50 < 3 ? e42 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(e42, i54) : t48, l57;
46394
46417
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(r59, e42, i54, t48);
46395
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);
46396
46419
  return s50 > 3 && o57 && Object.defineProperty(e42, i54, o57), o57;
46397
46420
  };
46398
- var m27 = (a49 = class extends UIGroup {
46421
+ var m26 = (a49 = class extends UIGroup {
46399
46422
  className() {
46400
46423
  return "UIPreview";
46401
46424
  }
@@ -46433,7 +46456,7 @@ var m27 = (a49 = class extends UIGroup {
46433
46456
  }));
46434
46457
  }
46435
46458
  }, p43(a49, "UIPreview"), a49);
46436
- 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);
46437
46460
 
46438
46461
  // node_modules/jodit-pro/esm/plugins/finder/ui/settings/settings.js
46439
46462
  init_decorators();
@@ -46560,9 +46583,9 @@ init_component();
46560
46583
  init_component();
46561
46584
  init_assert();
46562
46585
  var f27 = Object.defineProperty;
46563
- var d34 = (s50, e42) => f27(s50, "name", { value: e42, configurable: true });
46586
+ var d35 = (s50, e42) => f27(s50, "name", { value: e42, configurable: true });
46564
46587
  var i37;
46565
- var m28 = function(s50, e42, r59, t48) {
46588
+ var m27 = function(s50, e42, r59, t48) {
46566
46589
  var o57 = arguments.length, n57 = o57 < 3 ? e42 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(e42, r59) : t48, l57;
46567
46590
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n57 = Reflect.decorate(s50, e42, r59, t48);
46568
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);
@@ -46589,12 +46612,12 @@ var a52 = (i37 = class extends UIElement {
46589
46612
  const t48 = this.getElm("name");
46590
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));
46591
46614
  }
46592
- }, d34(i37, "UIBrowserFolder"), i37);
46593
- a52 = m28([component], a52);
46615
+ }, d35(i37, "UIBrowserFolder"), i37);
46616
+ a52 = m27([component], a52);
46594
46617
 
46595
46618
  // node_modules/jodit-pro/esm/plugins/finder/ui/tree/tree.js
46596
- var d35 = Object.defineProperty;
46597
- 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 });
46598
46621
  var n37;
46599
46622
  var u39 = function(i54, e42, r59, o57) {
46600
46623
  var c74 = arguments.length, t48 = c74 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, r59) : o57, l57;
@@ -46629,7 +46652,7 @@ var p47 = function(i54, e42, t48, n57) {
46629
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);
46630
46653
  return o57 > 3 && r59 && Object.defineProperty(e42, t48, r59), r59;
46631
46654
  };
46632
- var m29 = (s33 = class extends UIElement {
46655
+ var m28 = (s33 = class extends UIElement {
46633
46656
  className() {
46634
46657
  return "UIBrowserSource";
46635
46658
  }
@@ -46647,13 +46670,13 @@ var m29 = (s33 = class extends UIElement {
46647
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));
46648
46671
  }
46649
46672
  }, u40(s33, "UIBrowserSource"), s33);
46650
- m29 = p47([component], m29);
46673
+ m28 = p47([component], m28);
46651
46674
 
46652
46675
  // node_modules/jodit-pro/esm/plugins/finder/ui/sources/sources.js
46653
46676
  var l40 = Object.defineProperty;
46654
46677
  var p48 = (c74, e42) => l40(c74, "name", { value: e42, configurable: true });
46655
46678
  var t25;
46656
- var m30 = function(c74, e42, o57, n57) {
46679
+ var m29 = function(c74, e42, o57, n57) {
46657
46680
  var s50 = arguments.length, r59 = s50 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, o57) : n57, f50;
46658
46681
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(c74, e42, o57, n57);
46659
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);
@@ -46668,19 +46691,19 @@ var u41 = (t25 = class extends UIGroup {
46668
46691
  }
46669
46692
  build(e42) {
46670
46693
  this.clear(), e42.forEach((o57) => {
46671
- this.append(new m29(this.jodit, o57));
46694
+ this.append(new m28(this.jodit, o57));
46672
46695
  });
46673
46696
  }
46674
46697
  }, p48(t25, "UIBrowserSources"), t25);
46675
- u41 = m30([component], u41);
46698
+ u41 = m29([component], u41);
46676
46699
 
46677
46700
  // node_modules/jodit-pro/esm/plugins/finder/ui/statusbar/statusbar.js
46678
46701
  init_decorators();
46679
46702
  init_assert();
46680
- var d36 = Object.defineProperty;
46681
- 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 });
46682
46705
  var l41;
46683
- var m31 = function(s50, t48, r59, o57) {
46706
+ var m30 = function(s50, t48, r59, o57) {
46684
46707
  var n57 = arguments.length, e42 = n57 < 3 ? t48 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t48, r59) : o57, i54;
46685
46708
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e42 = Reflect.decorate(s50, t48, r59, o57);
46686
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);
@@ -46702,7 +46725,7 @@ var f29 = (l41 = class extends UIElement {
46702
46725
  return assert(o57 != null, "Slot does not exists"), o57.innerText = t48, this;
46703
46726
  }
46704
46727
  }, a53(l41, "UIBrowserStatusBar"), l41);
46705
- f29 = m31([component], f29);
46728
+ f29 = m30([component], f29);
46706
46729
 
46707
46730
  // node_modules/jodit-pro/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js
46708
46731
  init_decorators();
@@ -46713,7 +46736,7 @@ init_position();
46713
46736
  init_dom();
46714
46737
  init_css();
46715
46738
  var j5 = Object.defineProperty;
46716
- var e22 = (d53, t48) => j5(d53, "name", { value: t48, configurable: true });
46739
+ var e22 = (d54, t48) => j5(d54, "name", { value: t48, configurable: true });
46717
46740
  var n38 = class n39 {
46718
46741
  static remove(t48) {
46719
46742
  Dom.safeRemove(t48.container.querySelector(".jodit-ui-select-items")), t48.j.e.off(t48.container, "mousedown.uiselectitems touchstart.uiselectitems");
@@ -46740,13 +46763,13 @@ e22(n38, "UISelectItems");
46740
46763
  var r42 = n38;
46741
46764
 
46742
46765
  // node_modules/jodit-pro/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js
46743
- var m32 = Object.defineProperty;
46744
- 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 });
46745
46768
  var l42;
46746
46769
  var c34 = function(a77, e42, t48, o57) {
46747
46770
  var s50 = arguments.length, i54 = s50 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, h60;
46748
46771
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(a77, e42, t48, o57);
46749
- 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);
46750
46773
  return s50 > 3 && i54 && Object.defineProperty(e42, t48, i54), i54;
46751
46774
  };
46752
46775
  var f30;
@@ -46826,8 +46849,8 @@ var r43 = f30 = (l42 = class extends UIGroup {
46826
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);
46827
46850
 
46828
46851
  // node_modules/jodit-pro/esm/plugins/finder/ui/panel/panel.js
46829
- var d37 = Object.defineProperty;
46830
- 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 });
46831
46854
  var a54;
46832
46855
  var o38 = function(r59, t48, e42, h60) {
46833
46856
  var l57 = arguments.length, n57 = l57 < 3 ? t48 : h60 === null ? h60 = Object.getOwnPropertyDescriptor(t48, e42) : h60, g24;
@@ -46856,7 +46879,7 @@ var s34 = (a54 = class extends UIGroup {
46856
46879
  </div>`;
46857
46880
  }
46858
46881
  constructor(t48, e42) {
46859
- 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();
46860
46883
  }
46861
46884
  onChangeTheme() {
46862
46885
  this.setMod("theme", this.stateManager.state.theme);
@@ -46974,7 +46997,7 @@ init_constants();
46974
46997
  init_decorators();
46975
46998
  init_helpers();
46976
46999
  var S5 = Object.defineProperty;
46977
- var d38 = (u58, e42) => S5(u58, "name", { value: e42, configurable: true });
47000
+ var d39 = (u58, e42) => S5(u58, "name", { value: e42, configurable: true });
46978
47001
  var c36;
46979
47002
  var a55 = function(u58, e42, t48, s50) {
46980
47003
  var i54 = arguments.length, n57 = i54 < 3 ? e42 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(e42, t48) : s50, r59;
@@ -47082,7 +47105,7 @@ var o39 = (c36 = class _this extends Dialog {
47082
47105
  canPaste(e42) {
47083
47106
  const t48 = this.state.clipboard;
47084
47107
  if (!t48.length || t48.some((r59) => r59.sourceName !== e42.sourceName)) return false;
47085
- 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");
47086
47109
  if (!t48.every(i54)) return false;
47087
47110
  const n57 = s30(e42.path);
47088
47111
  return !t48.some((r59) => r59.type === "folder" && (n57 === r59.from || n57.startsWith(r59.from + "/")));
@@ -47091,7 +47114,7 @@ var o39 = (c36 = class _this extends Dialog {
47091
47114
  if (!this.canPaste(e42)) return;
47092
47115
  const t48 = this.state.clipboard;
47093
47116
  t48.some((r59) => r59.mode === "cut") && (this.state.clipboard = []);
47094
- const s50 = s30(e42.path), i54 = d38(() => __async(this, null, function* () {
47117
+ const s50 = s30(e42.path), i54 = d39(() => __async(this, null, function* () {
47095
47118
  let r59 = 0;
47096
47119
  for (const h60 of t48) {
47097
47120
  const b17 = h60.type === "file";
@@ -47182,7 +47205,7 @@ var o39 = (c36 = class _this extends Dialog {
47182
47205
  o37.open(this, e42, this.state.elements);
47183
47206
  }
47184
47207
  initUploader() {
47185
- 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");
47186
47209
  e42.uploader = e42.getInstance("Uploader", t48), e42.uploader.bind(e42.panel.container, s50, e42.errorHandler), e42.e.on("bindUploader.filebrowser", (i54) => {
47187
47210
  e42.uploader.bind(i54, s50, e42.errorHandler);
47188
47211
  });
@@ -47195,7 +47218,7 @@ var o39 = (c36 = class _this extends Dialog {
47195
47218
  this.options[t48] != null && (this.options[t48] = ConfigProto(this.options[t48], this.o.ajax));
47196
47219
  });
47197
47220
  }
47198
- }, d38(c36, "FileBrowserPro"), c36);
47221
+ }, d39(c36, "FileBrowserPro"), c36);
47199
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);
47200
47223
  Object.defineProperty(n11.modules, "FileBrowserPro", { value: o39, writable: false, enumerable: true, configurable: true });
47201
47224
 
@@ -47392,10 +47415,10 @@ var l45 = Object.defineProperty;
47392
47415
  var t27 = (e42, o57) => l45(e42, "name", { value: o57, configurable: true });
47393
47416
  var p50 = false;
47394
47417
  var n40 = [];
47395
- function d39(e42) {
47418
+ function d40(e42) {
47396
47419
  p50 ? e42() : n40.push(e42);
47397
47420
  }
47398
- t27(d39, "googleReady");
47421
+ t27(d40, "googleReady");
47399
47422
  function i40() {
47400
47423
  p50 = true, n40 && n40.forEach((e42) => e42());
47401
47424
  }
@@ -47424,8 +47447,8 @@ t27(A3, "isApiAvailable");
47424
47447
 
47425
47448
  // node_modules/jodit-pro/esm/plugins/google-maps/helpers/generate-static-elements.js
47426
47449
  init_strip_tags();
47427
- var d40 = Object.defineProperty;
47428
- 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 });
47429
47452
  function h35(e42) {
47430
47453
  return e42.state.elements.map((o57) => {
47431
47454
  var r59, t48, n57, a77, i54, l57;
@@ -47453,8 +47476,8 @@ o42(i41, "staticUrl");
47453
47476
 
47454
47477
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/combo-box/combo-box.js
47455
47478
  init_decorators();
47456
- var d41 = Object.defineProperty;
47457
- 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 });
47458
47481
  var u45 = function(c74, e42, t48, o57) {
47459
47482
  var l57 = arguments.length, n57 = l57 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, p63;
47460
47483
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n57 = Reflect.decorate(c74, e42, t48, o57);
@@ -47486,8 +47509,8 @@ u45([hook("ready")], r48.prototype, "onReady", null), u45([watch("nativeInput:in
47486
47509
  init_decorators();
47487
47510
 
47488
47511
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/editors/base.js
47489
- var d42 = Object.defineProperty;
47490
- 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 });
47491
47514
  var t28 = class t29 extends UIGroup {
47492
47515
  className() {
47493
47516
  return "UIBaseEditor";
@@ -47514,7 +47537,7 @@ var e23 = t28;
47514
47537
  init_component();
47515
47538
  init_assert();
47516
47539
  var u46 = Object.defineProperty;
47517
- var m33 = (s50, e42) => u46(s50, "name", { value: e42, configurable: true });
47540
+ var m32 = (s50, e42) => u46(s50, "name", { value: e42, configurable: true });
47518
47541
  var n41;
47519
47542
  var f33 = function(s50, e42, i54, l57) {
47520
47543
  var r59 = arguments.length, t48 = r59 < 3 ? e42 : l57 === null ? l57 = Object.getOwnPropertyDescriptor(e42, i54) : l57, o57;
@@ -47539,12 +47562,12 @@ var c41 = (n41 = class extends UIElement {
47539
47562
  <div class='&__editor'></div>
47540
47563
  </div>`;
47541
47564
  }
47542
- }, m33(n41, "UIWysiwyg"), n41);
47565
+ }, m32(n41, "UIWysiwyg"), n41);
47543
47566
  c41 = f33([component], c41);
47544
47567
 
47545
47568
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/editors/marker/marker.js
47546
- var d43 = Object.defineProperty;
47547
- 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 });
47548
47571
  var n42;
47549
47572
  var c42 = function(i54, e42, o57, r59) {
47550
47573
  var s50 = arguments.length, t48 = s50 < 3 ? e42 : r59 === null ? r59 = Object.getOwnPropertyDescriptor(e42, o57) : r59, p63;
@@ -47617,7 +47640,7 @@ c44([hook("ready")], s40.prototype, "onReady", null), s40 = c44([component], s40
47617
47640
  var h38 = Object.defineProperty;
47618
47641
  var c45 = (e42, s50) => h38(e42, "name", { value: s50, configurable: true });
47619
47642
  function u47(e42) {
47620
- var s50, o57, a77, i54, l57, n57, d53, r59;
47643
+ var s50, o57, a77, i54, l57, n57, d54, r59;
47621
47644
  switch (this.state.mode) {
47622
47645
  case "polyline":
47623
47646
  case "polygon": {
@@ -47632,7 +47655,7 @@ function u47(e42) {
47632
47655
  }
47633
47656
  case "marker": {
47634
47657
  const t48 = e42;
47635
- 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)];
47636
47659
  break;
47637
47660
  }
47638
47661
  }
@@ -47642,7 +47665,7 @@ c45(u47, "addNewInState");
47642
47665
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js
47643
47666
  var n44 = Object.defineProperty;
47644
47667
  var c46 = (e42, o57) => n44(e42, "name", { value: o57, configurable: true });
47645
- function m34(e42, o57, i54 = false) {
47668
+ function m33(e42, o57, i54 = false) {
47646
47669
  const t48 = this.mapElements[o57];
47647
47670
  if (t48.state === e42 || t48.state.type !== e42.type) return;
47648
47671
  const r59 = t48.state;
@@ -47678,28 +47701,28 @@ function m34(e42, o57, i54 = false) {
47678
47701
  }
47679
47702
  t48.state = e42, this.state.elements[o57] = e42;
47680
47703
  }
47681
- c46(m34, "updateStateAndGme");
47704
+ c46(m33, "updateStateAndGme");
47682
47705
 
47683
47706
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js
47684
- var d44 = Object.defineProperty;
47685
- 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 });
47686
47709
  function h39(o57, e42) {
47687
47710
  var i54, l57, r59, s50;
47688
47711
  switch (o57.type) {
47689
47712
  case "polyline":
47690
47713
  case "polygon": {
47691
47714
  const t48 = g13(o57.gme.getPath()), a77 = __spreadProps(__spreadValues({}, o57.state), { coordinates: t48 });
47692
- m34.call(this, a77, e42, true);
47715
+ m33.call(this, a77, e42, true);
47693
47716
  break;
47694
47717
  }
47695
47718
  case "marker": {
47696
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] });
47697
- m34.call(this, a77, e42, true);
47720
+ m33.call(this, a77, e42, true);
47698
47721
  break;
47699
47722
  }
47700
47723
  case "circle": {
47701
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] });
47702
- m34.call(this, a77, e42, true);
47725
+ m33.call(this, a77, e42, true);
47703
47726
  break;
47704
47727
  }
47705
47728
  }
@@ -47707,8 +47730,8 @@ function h39(o57, e42) {
47707
47730
  c47(h39, "onChangeGeometries");
47708
47731
 
47709
47732
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/map/modules/remove-element.js
47710
- var m35 = Object.defineProperty;
47711
- 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 });
47712
47735
  function i46(t48) {
47713
47736
  const e42 = this.mapElements.indexOf(t48);
47714
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]);
@@ -47745,7 +47768,7 @@ function u48(t48, i54) {
47745
47768
  this.append(e42), this.j.e.on(e42, "bin", () => {
47746
47769
  i46.call(this, t48);
47747
47770
  }).on(e42, "change", (s50, r59) => {
47748
- m34.call(this, __spreadProps(__spreadValues({}, t48.state), { [s50]: r59 }), i54);
47771
+ m33.call(this, __spreadProps(__spreadValues({}, t48.state), { [s50]: r59 }), i54);
47749
47772
  });
47750
47773
  const o57 = l46.call(this);
47751
47774
  if (t48.type === "polygon" || t48.type === "polyline") {
@@ -47766,7 +47789,7 @@ function L5(o57, e42) {
47766
47789
  var a77;
47767
47790
  const t48 = this.mapElements[e42];
47768
47791
  if (t48) {
47769
- 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);
47770
47793
  t48.gme.setMap(null);
47771
47794
  }
47772
47795
  let r59;
@@ -47917,7 +47940,7 @@ init_component();
47917
47940
  var h40 = Object.defineProperty;
47918
47941
  var p52 = (l57, o57) => h40(l57, "name", { value: o57, configurable: true });
47919
47942
  var c49;
47920
- var m36 = function(l57, o57, e42, n57) {
47943
+ var m35 = function(l57, o57, e42, n57) {
47921
47944
  var r59 = arguments.length, t48 = r59 < 3 ? o57 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(o57, e42) : n57, s50;
47922
47945
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t48 = Reflect.decorate(l57, o57, e42, n57);
47923
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);
@@ -47936,13 +47959,13 @@ var i47 = (c49 = class extends UIForm {
47936
47959
  this.state.controls = __spreadProps(__spreadValues({}, this.state.controls), { [o57]: e42 === "true" });
47937
47960
  }
47938
47961
  }, p52(c49, "UIMapsControlsForm"), c49);
47939
- i47 = m36([component], i47);
47962
+ i47 = m35([component], i47);
47940
47963
 
47941
47964
  // node_modules/jodit-pro/esm/plugins/google-maps/ui/maps-props/maps-props.js
47942
47965
  init_decorators();
47943
47966
  init_selector();
47944
- var m37 = Object.defineProperty;
47945
- 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 });
47946
47969
  var h41;
47947
47970
  var r49 = function(u58, e42, t48, n57) {
47948
47971
  var a77 = arguments.length, l57 = a77 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, t48) : n57, i54;
@@ -47997,11 +48020,11 @@ init_decorators();
47997
48020
  init_helpers();
47998
48021
  init_plugin2();
47999
48022
  var C8 = Object.defineProperty;
48000
- var u49 = (d53, e42) => C8(d53, "name", { value: e42, configurable: true });
48001
- 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) {
48002
48025
  var i54 = arguments.length, r59 = i54 < 3 ? e42 : t48 === null ? t48 = Object.getOwnPropertyDescriptor(e42, s50) : t48, c74;
48003
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(d53, e42, s50, t48);
48004
- 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);
48005
48028
  return i54 > 3 && r59 && Object.defineProperty(e42, s50, r59), r59;
48006
48029
  };
48007
48030
  window.JoditGoogleReadyHandler = i40;
@@ -48047,7 +48070,7 @@ var y6 = class y7 extends Plugin {
48047
48070
  const l57 = u49(() => {
48048
48071
  A3() ? a77(0) : this.j.async.setTimeout(l57, 100);
48049
48072
  }, "intervalChecker");
48050
- l57(), d39(a77);
48073
+ l57(), d40(a77);
48051
48074
  }).then(() => {
48052
48075
  o57.setStatus("ready"), n57.setStatus("ready");
48053
48076
  }), this.j.e.on(n57, "select", (a77, l57) => {
@@ -48066,13 +48089,13 @@ var y6 = class y7 extends Plugin {
48066
48089
  const l57 = { value: a77.outerHTML };
48067
48090
  this.onAfterGetValueFromEditor(l57), t48.execCommand("preview", null, l57.value);
48068
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(() => {
48069
- 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);
48070
48093
  })]).open();
48071
- const m54 = u49(() => {
48094
+ const m53 = u49(() => {
48072
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;
48073
- o57.destruct(), n57.destruct(), i54.e.off("beforeClose", m54);
48096
+ o57.destruct(), n57.destruct(), i54.e.off("beforeClose", m53);
48074
48097
  }, "onCLose");
48075
- i54.e.on("beforeClose", m54);
48098
+ i54.e.on("beforeClose", m53);
48076
48099
  });
48077
48100
  }
48078
48101
  getDialog() {
@@ -48111,8 +48134,8 @@ var C9 = '<svg width="11" height="15" viewBox="0 0 11 15" fill="none" xmlns="htt
48111
48134
  init_config();
48112
48135
  init_helpers();
48113
48136
  init_plugin2();
48114
- var d45 = Object.defineProperty;
48115
- 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 });
48116
48139
  Config.prototype.controls.google = { tooltip: "Google search", icon: C9, isDisabled(e42) {
48117
48140
  return isEditorEmpty(e42.editor);
48118
48141
  }, command: "startSearch" };
@@ -48121,7 +48144,7 @@ var c50 = class c51 extends Plugin {
48121
48144
  super(...arguments), this.buttons = [{ name: "google", group: "search" }];
48122
48145
  }
48123
48146
  afterInit(o57) {
48124
- o57.registerCommand("startSearch", { exec: m38(() => {
48147
+ o57.registerCommand("startSearch", { exec: m37(() => {
48125
48148
  var i54, n57, s50;
48126
48149
  let r59;
48127
48150
  const { s: l57 } = o57;
@@ -48134,7 +48157,7 @@ var c50 = class c51 extends Plugin {
48134
48157
  beforeDestruct(o57) {
48135
48158
  }
48136
48159
  };
48137
- m38(c50, "googleSearch");
48160
+ m37(c50, "googleSearch");
48138
48161
  var t30 = c50;
48139
48162
  t30.requires = ["license"], n11.plugins.add("google-search", t30);
48140
48163
 
@@ -48148,7 +48171,7 @@ init_dom();
48148
48171
  init_attr();
48149
48172
  init_plugin();
48150
48173
  var j6 = Object.defineProperty;
48151
- var d46 = (c74, e42) => j6(c74, "name", { value: e42, configurable: true });
48174
+ var d47 = (c74, e42) => j6(c74, "name", { value: e42, configurable: true });
48152
48175
  var g18 = function(c74, e42, t48, r59) {
48153
48176
  var i54 = arguments.length, o57 = i54 < 3 ? e42 : r59 === null ? r59 = Object.getOwnPropertyDescriptor(e42, t48) : r59, n57;
48154
48177
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o57 = Reflect.decorate(c74, e42, t48, r59);
@@ -48213,14 +48236,14 @@ var h43 = class h44 extends Plugin {
48213
48236
  }
48214
48237
  replaceMatchedTextToElm(e42, t48, r59, i54) {
48215
48238
  var o57;
48216
- 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;
48217
48240
  e42.nodeValue = t48.substring(0, f50);
48218
48241
  const p63 = t48.substring(f50 + r59[0].length);
48219
48242
  if (p63.length) {
48220
48243
  const x9 = n57.createInside.text(p63);
48221
48244
  Dom.after(e42, x9);
48222
48245
  }
48223
- 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);
48224
48247
  }
48225
48248
  static hasUtilWrapper(e42) {
48226
48249
  return Dom.isTemporary(e42.parentElement);
@@ -48249,7 +48272,7 @@ var h43 = class h44 extends Plugin {
48249
48272
  });
48250
48273
  }
48251
48274
  };
48252
- d46(h43, "highlightSignature");
48275
+ d47(h43, "highlightSignature");
48253
48276
  var l47 = h43;
48254
48277
  l47.requires = ["license"], g18([debounce()], l47.prototype, "walkNodes", null), g18([autobind], l47.prototype, "runWorker", null), n11.plugins.add("highlight-signature", l47);
48255
48278
 
@@ -50958,23 +50981,23 @@ var j7 = class j8 extends ViewComponent {
50958
50981
  }), i54.onAction(() => {
50959
50982
  y9 = i54, o57.saveAs();
50960
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 } }));
50961
- const g24 = h46((...d53) => {
50984
+ const g24 = h46((...d54) => {
50962
50985
  const u58 = t48.c.div("jodit-image-editor-pro__group");
50963
- return u58.style.display = "flex", u58.style.alignItems = "center", u58.style.gap = "4px", d53.forEach((b17) => u58.appendChild(b17)), u58;
50964
- }, "group"), m54 = t48.c.div("jodit-image-editor-pro__toolbar");
50965
- 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));
50966
50989
  const z2 = g24(a77.container, p63.container, f50.container);
50967
- z2.style.marginLeft = "auto", m54.appendChild(z2), n57.setHeader(m54);
50968
- const x9 = "jodit-image-editor-pro__button_busy", _12 = h46((d53) => {
50969
- const u58 = selectors.selectOutputSize(d53), b17 = d53.status === "exporting", C14 = b17 || d53.status === "loading", S8 = d53.busyVisible, E4 = b17 && (S8 != null ? S8 : true);
50970
- 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}` : "";
50971
- 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);
50972
50995
  c74.textContent = `${V}%`;
50973
50996
  }, "sync");
50974
50997
  _12(o57.state);
50975
50998
  const U3 = o57.store.subscribe(_12);
50976
50999
  return () => {
50977
- 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());
50978
51001
  };
50979
51002
  }
50980
51003
  saveAs(n57, o57, t48, s50, i54) {
@@ -51060,7 +51083,7 @@ var $4 = j7;
51060
51083
  // node_modules/jodit-pro/esm/plugins/image-editor-pro/image-editor-pro.js
51061
51084
  init_plugin2();
51062
51085
  var a62 = Object.defineProperty;
51063
- var m39 = (s50, r59) => a62(s50, "name", { value: r59, configurable: true });
51086
+ var m38 = (s50, r59) => a62(s50, "name", { value: r59, configurable: true });
51064
51087
  var t31 = class t32 extends Plugin {
51065
51088
  afterInit(r59) {
51066
51089
  const i54 = $4, o57 = n11.modules;
@@ -51069,7 +51092,7 @@ var t31 = class t32 extends Plugin {
51069
51092
  beforeDestruct(r59) {
51070
51093
  }
51071
51094
  };
51072
- m39(t31, "imageEditorPro");
51095
+ m38(t31, "imageEditorPro");
51073
51096
  var e24 = t31;
51074
51097
  e24.requires = ["license"], n11.plugins.add("imageEditorPro", e24);
51075
51098
 
@@ -51097,7 +51120,7 @@ var p54 = function(l57, e42, a77, t48) {
51097
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);
51098
51121
  return i54 > 3 && r59 && Object.defineProperty(e42, a77, r59), r59;
51099
51122
  };
51100
- var m40 = (n48 = class extends UIGroup {
51123
+ var m39 = (n48 = class extends UIGroup {
51101
51124
  className() {
51102
51125
  return "UIIframeEditor";
51103
51126
  }
@@ -51117,7 +51140,7 @@ var m40 = (n48 = class extends UIGroup {
51117
51140
  }, "onChange") })]);
51118
51141
  }
51119
51142
  }, s43(n48, "UIIframeEditor"), n48);
51120
- m40 = p54([component], m40);
51143
+ m39 = p54([component], m39);
51121
51144
 
51122
51145
  // node_modules/jodit-pro/esm/plugins/iframe-editor/iframe-editor.js
51123
51146
  init_decorators();
@@ -51127,12 +51150,12 @@ init_plugin2();
51127
51150
  var p55 = Object.defineProperty;
51128
51151
  var a63 = (c74, i54) => p55(c74, "name", { value: i54, configurable: true });
51129
51152
  var u50 = function(c74, i54, e42, t48) {
51130
- 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;
51131
51154
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l57 = Reflect.decorate(c74, i54, e42, t48);
51132
- 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);
51133
51156
  return s50 > 3 && l57 && Object.defineProperty(i54, e42, l57), l57;
51134
51157
  };
51135
- var m41 = class m42 extends Plugin {
51158
+ var m40 = class m41 extends Plugin {
51136
51159
  constructor() {
51137
51160
  super(...arguments), this.buttons = [{ group: "form", name: "iframeEditor" }];
51138
51161
  }
@@ -51140,9 +51163,9 @@ var m41 = class m42 extends Plugin {
51140
51163
  i54.e.on("toggleIframeEditor", this.toggleEditor);
51141
51164
  }
51142
51165
  toggleEditor(i54) {
51143
- var e42, t48, s50, l57, d53;
51166
+ var e42, t48, s50, l57, d54;
51144
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);
51145
- 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 });
51146
51169
  this.__dialog.setContent(o57);
51147
51170
  const n57 = this.__dialog;
51148
51171
  n57.isOpened ? n57.close() : (n57.setFooter([Button(n57, "cancel", "Cancel", "default").onAction(() => n57.close()), Button(n57, "ok", i54 ? "Update" : "Insert", "primary").onAction(() => {
@@ -51163,8 +51186,8 @@ var m41 = class m42 extends Plugin {
51163
51186
  (e42 = this.__dialog) === null || e42 === void 0 || e42.destruct();
51164
51187
  }
51165
51188
  };
51166
- a63(m41, "IframeEditor");
51167
- var r50 = m41;
51189
+ a63(m40, "IframeEditor");
51190
+ var r50 = m40;
51168
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);
51169
51192
 
51170
51193
  // node_modules/jodit-pro/esm/plugins/keyboard/icon.svg.js
@@ -51198,7 +51221,7 @@ var v18 = '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d=
51198
51221
 
51199
51222
  // node_modules/jodit-pro/esm/plugins/keyboard/ui/keyboard/keyboard.js
51200
51223
  var b14 = Object.defineProperty;
51201
- var m43 = (u58, t48) => b14(u58, "name", { value: t48, configurable: true });
51224
+ var m42 = (u58, t48) => b14(u58, "name", { value: t48, configurable: true });
51202
51225
  var p56;
51203
51226
  var l49 = function(u58, t48, r59, s50) {
51204
51227
  var o57 = arguments.length, e42 = o57 < 3 ? t48 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(t48, r59) : s50, a77;
@@ -51319,7 +51342,7 @@ var n49 = f37 = (p56 = class extends UIElement {
51319
51342
  return t48;
51320
51343
  }
51321
51344
  }
51322
- }, m43(p56, "UIKeyboard"), p56);
51345
+ }, m42(p56, "UIKeyboard"), p56);
51323
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);
51324
51347
 
51325
51348
  // node_modules/jodit-pro/esm/plugins/keyboard/keyboard.js
@@ -51328,11 +51351,11 @@ init_decorators();
51328
51351
  init_checker();
51329
51352
  init_plugin2();
51330
51353
  var y8 = Object.defineProperty;
51331
- var h49 = (d53, t48) => y8(d53, "name", { value: t48, configurable: true });
51332
- 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) {
51333
51356
  var r59 = arguments.length, i54 = r59 < 3 ? t48 : s50 === null ? s50 = Object.getOwnPropertyDescriptor(t48, e42) : s50, o57;
51334
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i54 = Reflect.decorate(d53, t48, e42, s50);
51335
- 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);
51336
51359
  return r59 > 3 && i54 && Object.defineProperty(t48, e42, i54), i54;
51337
51360
  };
51338
51361
  var u51 = class u52 extends Plugin {
@@ -51393,11 +51416,11 @@ var f38 = Object.defineProperty;
51393
51416
  var l50 = (e42, n57) => f38(e42, "name", { value: n57, configurable: true });
51394
51417
  Config.prototype.mobileView = { mode: "default" };
51395
51418
  var c54 = "buttonmobileSView";
51396
- var m44 = "buttonmobileCView";
51397
- 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) => {
51398
51421
  var t48, i54;
51399
51422
  let o57 = (i54 = (t48 = n57.control) === null || t48 === void 0 ? void 0 : t48.args) === null || i54 === void 0 ? void 0 : i54[0];
51400
- return isNumeric(o57) && (o57 = Number(o57)), (dataBind(e42, m44) || "default") === o57;
51423
+ return isNumeric(o57) && (o57 = Number(o57)), (dataBind(e42, m43) || "default") === o57;
51401
51424
  }, "isChildActive"), exec: l50((e42) => {
51402
51425
  if (dataBind(e42, c54)) {
51403
51426
  e42.execCommand("mobileView", false, dataBind(e42, c54));
@@ -51417,8 +51440,8 @@ init_plugin2();
51417
51440
  var b15 = Object.defineProperty;
51418
51441
  var c55 = (o57, e42) => b15(o57, "name", { value: e42, configurable: true });
51419
51442
  var h50 = (o57, e42) => () => (e42 || o57((e42 = { exports: {} }).exports, e42), e42.exports);
51420
- var S6 = h50((d53) => {
51421
- 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) {
51422
51445
  var t48 = arguments.length, r59 = t48 < 3 ? e42 : l57 === null ? l57 = Object.getOwnPropertyDescriptor(e42, i54) : l57, u58;
51423
51446
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r59 = Reflect.decorate(o57, e42, i54, l57);
51424
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);
@@ -51433,7 +51456,7 @@ var S6 = h50((d53) => {
51433
51456
  }
51434
51457
  afterInit(e42) {
51435
51458
  e42.registerCommand("mobileView", { exec: c55((i54, l57, t48) => {
51436
- 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" });
51437
51460
  }, "exec") }), e42.events.on("beforeSetMode", () => {
51438
51461
  });
51439
51462
  }
@@ -51443,7 +51466,7 @@ var S6 = h50((d53) => {
51443
51466
  beforeDestruct(e42) {
51444
51467
  }
51445
51468
  }, c55(n57, "MobileView"), n57);
51446
- 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);
51447
51470
  });
51448
51471
  var mobile_view_default = S6();
51449
51472
 
@@ -51479,9 +51502,9 @@ init_decorators();
51479
51502
  init_dom2();
51480
51503
  init_helpers();
51481
51504
  init_plugin2();
51482
- var m45 = Object.defineProperty;
51483
- var c56 = (i54, e42) => m45(i54, "name", { value: e42, configurable: true });
51484
- 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) {
51485
51508
  var r59 = arguments.length, a77 = r59 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, s50;
51486
51509
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(i54, e42, t48, o57);
51487
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);
@@ -51520,7 +51543,7 @@ var f39 = class f40 extends Plugin {
51520
51543
  };
51521
51544
  c56(f39, "PageBreak");
51522
51545
  var n50 = f39;
51523
- 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);
51524
51547
 
51525
51548
  // node_modules/jodit-pro/esm/plugins/paste-code/helpers.js
51526
51549
  init_dom2();
@@ -51546,7 +51569,7 @@ function h51(e42, t48) {
51546
51569
  return e42.i18n(String(n57 ? n57.text : t48));
51547
51570
  }
51548
51571
  i48(h51, "languageTitle");
51549
- function m46(e42, t48, n57) {
51572
+ function m45(e42, t48, n57) {
51550
51573
  const o57 = i48((c74) => Array.from(c74.classList).forEach((s50) => {
51551
51574
  /^language-/.test(s50) && c74.classList.remove(s50);
51552
51575
  }), "strip");
@@ -51554,7 +51577,7 @@ function m46(e42, t48, n57) {
51554
51577
  const a77 = f41(t48);
51555
51578
  a77 !== t48 && o57(a77), a77.classList.add(`language-${n57}`), e42.e.fire("rehighlightPasteCode", t48), e42.e.fire("synchro");
51556
51579
  }
51557
- i48(m46, "setPreLanguage");
51580
+ i48(m45, "setPreLanguage");
51558
51581
  function x7(e42, t48) {
51559
51582
  const n57 = t48.innerText, { navigator: o57 } = e42.ow;
51560
51583
  if (o57 && o57.clipboard && o57.clipboard.writeText) o57.clipboard.writeText(n57).catch(() => null);
@@ -51614,7 +51637,7 @@ var l51;
51614
51637
  var r52 = function(p63, t48, e42, i54) {
51615
51638
  var o57 = arguments.length, n57 = o57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, u58;
51616
51639
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n57 = Reflect.decorate(p63, t48, e42, i54);
51617
- 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);
51618
51641
  return o57 > 3 && n57 && Object.defineProperty(t48, e42, n57), n57;
51619
51642
  };
51620
51643
  var C12 = 16;
@@ -51694,7 +51717,7 @@ var s44 = (l51 = class extends UIElement {
51694
51717
  Dom.isTag(o57, "pre") && i54.setState({ text: h51(this.j, C11(this.j, o57)), icon: { name: "" } });
51695
51718
  }, "update"), childExec: a67((e42, i54, { control: o57 }) => {
51696
51719
  const n57 = String(o57.args && o57.args[0] || "plaintext");
51697
- 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"));
51698
51721
  }, "childExec") };
51699
51722
  }
51700
51723
  onAnchorMouseDown(t48) {
@@ -51714,12 +51737,12 @@ init_is_boolean();
51714
51737
  init_htmlspecialchars();
51715
51738
  init_plugin2();
51716
51739
  var v20 = Object.defineProperty;
51717
- var _9 = (d53, e42) => v20(d53, "name", { value: e42, configurable: true });
51740
+ var _9 = (d54, e42) => v20(d54, "name", { value: e42, configurable: true });
51718
51741
  var u53;
51719
- var g20 = function(d53, e42, t48, o57) {
51742
+ var g20 = function(d54, e42, t48, o57) {
51720
51743
  var i54 = arguments.length, a77 = i54 < 3 ? e42 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(e42, t48) : o57, s50;
51721
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(d53, e42, t48, o57);
51722
- 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);
51723
51746
  return i54 > 3 && a77 && Object.defineProperty(e42, t48, a77), a77;
51724
51747
  };
51725
51748
  var l52 = (u53 = class extends Plugin {
@@ -51806,8 +51829,8 @@ var l52 = (u53 = class extends Plugin {
51806
51829
  }
51807
51830
  }, _9(u53, "pasteCode"), u53);
51808
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);
51809
- function L6(d53, e42) {
51810
- return d53.promise((t48, o57) => {
51832
+ function L6(d54, e42) {
51833
+ return d54.promise((t48, o57) => {
51811
51834
  e42.then(t48).catch(o57);
51812
51835
  }).catch(() => null);
51813
51836
  }
@@ -51984,8 +52007,8 @@ init_decorators();
51984
52007
  init_dom();
51985
52008
  init_global2();
51986
52009
  init_plugin2();
51987
- var m47 = Object.defineProperty;
51988
- 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 });
51989
52012
  var a69 = function(s50, e42, i54, n57) {
51990
52013
  var r59 = arguments.length, t48 = r59 < 3 ? e42 : n57 === null ? n57 = Object.getOwnPropertyDescriptor(e42, i54) : n57, l57;
51991
52014
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t48 = Reflect.decorate(s50, e42, i54, n57);
@@ -52122,16 +52145,16 @@ function b16(t48, s50) {
52122
52145
  if (o57) for (let l57 = 1; l57 < e42.length; l57++) o57.classList.add(e42[l57]);
52123
52146
  }
52124
52147
  r54(b16, "addExtraClasses");
52125
- function m48(t48) {
52148
+ function m47(t48) {
52126
52149
  var s50;
52127
52150
  if (t48.attributes) return { element: t48.element, attributes: t48.attributes };
52128
52151
  const n57 = (s50 = t48.classes) === null || s50 === void 0 ? void 0 : s50.filter(Boolean)[0];
52129
52152
  return n57 ? { element: t48.element, attributes: { class: n57 } } : { element: t48.element };
52130
52153
  }
52131
- r54(m48, "buildCommitStyleOptions");
52154
+ r54(m47, "buildCommitStyleOptions");
52132
52155
  function S7(t48, s50, n57) {
52133
52156
  const e42 = h54(t48, n57);
52134
- 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));
52135
52158
  }
52136
52159
  r54(S7, "applyStyle");
52137
52160
 
@@ -52154,11 +52177,11 @@ var f45 = (t48, o57) => h55(t48, "name", { value: o57, configurable: true });
52154
52177
  var n52 = "jodit-style-popup";
52155
52178
  function j9(t48, o57, v22) {
52156
52179
  var s50, a77;
52157
- const m54 = r55(o57), C14 = h54(t48, o57), i54 = t48.c.div(n52);
52158
- 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) {
52159
52182
  const r59 = t48.c.div(`${n52}__group-title`);
52160
52183
  r59.textContent = t48.i18n(p63.title), i54.appendChild(r59);
52161
- const d53 = t48.c.div(`${n52}__grid`);
52184
+ const d54 = t48.c.div(`${n52}__grid`);
52162
52185
  for (const e42 of p63.definitions) {
52163
52186
  const c74 = t48.c.element("button");
52164
52187
  c74.type = "button";
@@ -52171,9 +52194,9 @@ function j9(t48, o57, v22) {
52171
52194
  const _12 = t48.c.div(`${n52}__card-label`);
52172
52195
  _12.textContent = e42.name, c74.appendChild(_12), t48.e.on(c74, "click", () => {
52173
52196
  t48.s.focus(), S7(t48, e42, o57), t48.synchronizeValues(), v22();
52174
- }), d53.appendChild(c74);
52197
+ }), d54.appendChild(c74);
52175
52198
  }
52176
- i54.appendChild(d53);
52199
+ i54.appendChild(d54);
52177
52200
  }
52178
52201
  return i54;
52179
52202
  }
@@ -52227,8 +52250,8 @@ var t44 = o50;
52227
52250
  t44.requires = ["license"], n11.plugins.add("style", t44);
52228
52251
 
52229
52252
  // node_modules/jodit-pro/esm/plugins/templates/ui/templates-popup.js
52230
- var m49 = Object.defineProperty;
52231
- 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 });
52232
52255
  var t45 = "jodit-templates-popup";
52233
52256
  function C13(n57, p63, _12) {
52234
52257
  const l57 = n57.c.div(t45);
@@ -52244,8 +52267,8 @@ function C13(n57, p63, _12) {
52244
52267
  i54.innerHTML = e42.html, s50.appendChild(i54);
52245
52268
  }
52246
52269
  c74.appendChild(s50);
52247
- const a77 = n57.c.div(`${t45}__card-info`), d53 = n57.c.div(`${t45}__card-title`);
52248
- 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);
52249
52272
  const o57 = n57.c.div(`${t45}__card-description`);
52250
52273
  o57.textContent = e42.description, a77.appendChild(o57), c74.appendChild(a77), n57.e.on(c74, "click", () => {
52251
52274
  n57.s.focus(), n57.s.insertHTML(e42.html), n57.synchronizeValues(), _12();
@@ -52320,7 +52343,7 @@ var i49 = function(c74, e42, t48, s50) {
52320
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);
52321
52344
  return l57 > 3 && r59 && Object.defineProperty(e42, t48, r59), r59;
52322
52345
  };
52323
- var d48 = true;
52346
+ var d49 = true;
52324
52347
  var h56 = class h57 extends Plugin {
52325
52348
  constructor() {
52326
52349
  super(...arguments), this.buttons = [{ name: "todoList", group: "list" }], this.__isOwnCommand = false;
@@ -52330,7 +52353,7 @@ var h56 = class h57 extends Plugin {
52330
52353
  }
52331
52354
  onCommand() {
52332
52355
  try {
52333
- 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 } : {} });
52334
52357
  } finally {
52335
52358
  this.__isOwnCommand = false;
52336
52359
  }
@@ -52344,7 +52367,7 @@ var h56 = class h57 extends Plugin {
52344
52367
  r59.appendChild(p63), Dom.prepend(e42, r59);
52345
52368
  }
52346
52369
  __afterToggleList(e42, t48) {
52347
- if (d48) {
52370
+ if (d49) {
52348
52371
  if ((e42 === CHANGE || e42 === REPLACE) && this.__isOwnCommand) return this.__appendInputs(t48);
52349
52372
  if (e42 === UNWRAP || e42 === REPLACE || e42 === CHANGE) return this.__removeInputs(t48);
52350
52373
  }
@@ -52358,7 +52381,7 @@ var h56 = class h57 extends Plugin {
52358
52381
  }
52359
52382
  __beforeToggleOrderedList(e42, t48, s50) {
52360
52383
  var l57;
52361
- if (!d48) return;
52384
+ if (!d49) return;
52362
52385
  const r59 = "__beforeToggleOrderedList";
52363
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) {
52364
52387
  const p63 = Dom.replace(t48, s50.element, this.jodit.createInside);
@@ -52499,13 +52522,13 @@ init_decorators();
52499
52522
  init_dom();
52500
52523
  init_helpers();
52501
52524
  init_attr();
52502
- var m50 = Object.defineProperty;
52503
- 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 });
52504
52527
  var s47;
52505
52528
  var l54 = function(r59, t48, e42, i54) {
52506
52529
  var n57 = arguments.length, a77 = n57 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, e42) : i54, h60;
52507
52530
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a77 = Reflect.decorate(r59, t48, e42, i54);
52508
- 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);
52509
52532
  return n57 > 3 && a77 && Object.defineProperty(t48, e42, a77), a77;
52510
52533
  };
52511
52534
  var o54 = (s47 = class extends UIElement {
@@ -52601,19 +52624,19 @@ _11([watch("arrow-swap:click")], l55.prototype, "__onSwap", null), l55 = _11([co
52601
52624
  init_dom();
52602
52625
  var x8 = Object.defineProperty;
52603
52626
  var i52 = (t48, e42) => x8(t48, "name", { value: e42, configurable: true });
52604
- function R3(t48) {
52627
+ function R2(t48) {
52605
52628
  const e42 = [], r59 = t48.s.expandSelection().sel;
52606
52629
  if (!r59 || r59.rangeCount === 0 || r59.isCollapsed) return e42;
52607
52630
  t48.s.range.commonAncestorContainer.normalize();
52608
- 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;
52609
52632
  if (l57 === h60) {
52610
- if (Dom.isText(l57)) return [f46(l57, u58, d53)];
52611
- if (d53 - u58 === 1) {
52633
+ if (Dom.isText(l57)) return [f46(l57, u58, d54)];
52634
+ if (d54 - u58 === 1) {
52612
52635
  const o57 = l57.childNodes[u58];
52613
52636
  return Dom.isText(o57) ? [f46(o57, 0, o57.nodeValue.length)] : [N3(o57)];
52614
52637
  }
52615
- if (u58 === 0 && l57.childNodes.length === d53) return [N3(l57)];
52616
- 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++) {
52617
52640
  const s50 = l57.childNodes[o57];
52618
52641
  Dom.isText(s50) ? e42.push(f46(s50, 0, s50.nodeValue.length)) : e42.push(N3(s50));
52619
52642
  }
@@ -52622,18 +52645,18 @@ function R3(t48) {
52622
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") });
52623
52646
  let n57 = g24.nextNode();
52624
52647
  for (; n57; ) {
52625
- if (Dom.isElement(n57) && m51(a77, n57)) p63.add(n57), e42.push(N3(n57));
52626
- 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));
52627
52650
  else if (Dom.isText(n57)) {
52628
52651
  let o57 = 0, s50 = n57.nodeValue.length;
52629
- 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));
52630
52653
  }
52631
52654
  n57 = g24.nextNode();
52632
52655
  }
52633
52656
  return e42;
52634
52657
  }
52635
- i52(R3, "getSelectionFragments");
52636
- var m51 = i52((t48, e42) => {
52658
+ i52(R2, "getSelectionFragments");
52659
+ var m50 = i52((t48, e42) => {
52637
52660
  const r59 = document.createRange();
52638
52661
  try {
52639
52662
  r59.selectNodeContents(e42);
@@ -52664,7 +52687,7 @@ init_assert();
52664
52687
  init_plugin2();
52665
52688
  var f47 = Object.defineProperty;
52666
52689
  var l56 = (i54, t48) => f47(i54, "name", { value: t48, configurable: true });
52667
- var d49 = function(i54, t48, a77, o57) {
52690
+ var d50 = function(i54, t48, a77, o57) {
52668
52691
  var r59 = arguments.length, e42 = r59 < 3 ? t48 : o57 === null ? o57 = Object.getOwnPropertyDescriptor(t48, a77) : o57, s50;
52669
52692
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e42 = Reflect.decorate(i54, t48, a77, o57);
52670
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);
@@ -52699,7 +52722,7 @@ var g22 = class g23 extends Plugin {
52699
52722
  this.state = o57, r59.close();
52700
52723
  })]), u58.bindDestruct(r59), r59.setSize(500, 400).open(true);
52701
52724
  }), "exec"), hotkeys: t48.o.translate.hotkeys.translateOptions }).registerCommand("translate", { exec: l56(() => {
52702
- const o57 = R3(t48).filter((s50) => s50.text.trim().length > 0);
52725
+ const o57 = R2(t48).filter((s50) => s50.text.trim().length > 0);
52703
52726
  if (!o57.length) {
52704
52727
  t48.message.error("Select text for translate");
52705
52728
  return;
@@ -52721,7 +52744,7 @@ var g22 = class g23 extends Plugin {
52721
52744
  };
52722
52745
  l56(g22, "Translate");
52723
52746
  var c72 = g22;
52724
- 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);
52725
52748
 
52726
52749
  // node_modules/jodit-pro/esm/plugins/tune-block/config.js
52727
52750
  init_config();
@@ -52768,8 +52791,8 @@ c73(a76, "moveTo"), Config.prototype.controls.tune = { h1: u56("h1"), h2: u56("h
52768
52791
  init_decorators();
52769
52792
  init_dom2();
52770
52793
  init_helpers();
52771
- var m52 = Object.defineProperty;
52772
- 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 });
52773
52796
  var p60;
52774
52797
  var s49 = function(h60, t48, o57, i54) {
52775
52798
  var r59 = arguments.length, e42 = r59 < 3 ? t48 : i54 === null ? i54 = Object.getOwnPropertyDescriptor(t48, o57) : i54, l57;
@@ -52827,14 +52850,14 @@ var n56 = (p60 = class extends UIElement {
52827
52850
  toggleToolbar() {
52828
52851
  this.getMod("opened") ? this.closeToolbar() : this.openToolbar();
52829
52852
  }
52830
- }, d50(p60, "UITuner"), p60);
52853
+ }, d51(p60, "UITuner"), p60);
52831
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);
52832
52855
 
52833
52856
  // node_modules/jodit-pro/esm/plugins/tune-block/tune-block.js
52834
52857
  init_decorators();
52835
52858
  init_plugin2();
52836
- var d51 = Object.defineProperty;
52837
- 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 });
52838
52861
  var u57 = function(i54, e42, n57, r59) {
52839
52862
  var l57 = arguments.length, t48 = l57 < 3 ? e42 : r59 === null ? r59 = Object.getOwnPropertyDescriptor(e42, n57) : r59, c74;
52840
52863
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t48 = Reflect.decorate(i54, e42, n57, r59);
@@ -52863,11 +52886,11 @@ var o55 = p61;
52863
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);
52864
52887
 
52865
52888
  // node_modules/jodit-pro/esm/index.js
52866
- var d52 = Object.defineProperty;
52867
- var o56 = (r59, t48) => d52(r59, "name", { value: t48, configurable: true });
52868
- function m53() {
52889
+ var d53 = Object.defineProperty;
52890
+ var o56 = (r59, t48) => d53(r59, "name", { value: t48, configurable: true });
52891
+ function m52() {
52869
52892
  }
52870
- 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;
52871
52894
 
52872
52895
  // src/JoditEditor.tsx
52873
52896
  import { forwardRef, useEffect, useRef } from "react";
@@ -53288,6 +53311,7 @@ jodit/esm/plugins/bold/bold.js:
53288
53311
  jodit/esm/plugins/class-span/class-span.js:
53289
53312
  jodit/esm/plugins/clean-html/config.js:
53290
53313
  jodit/esm/plugins/clean-html/helpers/get-hash.js:
53314
+ jodit/esm/plugins/clean-html/helpers/is-allowed-media-embed.js:
53291
53315
  jodit/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.js:
53292
53316
  jodit/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.js:
53293
53317
  jodit/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.js: