@arcgis/common-components 6.0.0-next.26 → 6.0.0-next.28

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.
@@ -15,7 +15,7 @@ var dr = { exports: {} };
15
15
  dr.exports;
16
16
  var H_;
17
17
  function SB() {
18
- return H_ || (H_ = 1, (function(Ke, $) {
18
+ return H_ || (H_ = 1, (function(Ke, U) {
19
19
  (function(Z) {
20
20
  const X = Z.en = Z.en || {};
21
21
  X.dictionary = Object.assign(X.dictionary || {}, { "(may require <kbd>Fn</kbd>)": "(may require <kbd>Fn</kbd>)", "%0 of %1": "%0 of %1", Accept: "Accept", Accessibility: "Accessibility", "Accessibility help": "Accessibility help", "Align cell text to the bottom": "Align cell text to the bottom", "Align cell text to the center": "Align cell text to the center", "Align cell text to the left": "Align cell text to the left", "Align cell text to the middle": "Align cell text to the middle", "Align cell text to the right": "Align cell text to the right", "Align cell text to the top": "Align cell text to the top", "Align center": "Align center", "Align left": "Align left", "Align right": "Align right", "Align table to the left": "Align table to the left", "Align table to the right": "Align table to the right", Alignment: "Alignment", Aquamarine: "Aquamarine", Background: "Background", "Below, you can find a list of keyboard shortcuts that can be used in the editor.": "Below, you can find a list of keyboard shortcuts that can be used in the editor.", Big: "Big", Black: "Black", "Block quote": "Block quote", Blue: "Blue", Bold: "Bold", "Bold text": "Bold text", Border: "Border", "Break text": "Break text", "Bulleted List": "Bulleted List", "Bulleted list styles toolbar": "Bulleted list styles toolbar", Cancel: "Cancel", "Cannot upload file:": "Cannot upload file:", "Caption for image: %0": "Caption for image: %0", "Caption for the image": "Caption for the image", "Cell properties": "Cell properties", "Center table": "Center table", "Centered image": "Centered image", "Change image text alternative": "Change image text alternative", "Choose heading": "Choose heading", Circle: "Circle", Clear: "Clear", "Click to edit block": "Click to edit block", Close: "Close", "Close contextual balloons, dropdowns, and dialogs": "Close contextual balloons, dropdowns, and dialogs", Code: "Code", "Code block": "Code block", Color: "Color", "Color picker": "Color picker", Column: "Column", "Content editing keystrokes": "Content editing keystrokes", "Copy selected content": "Copy selected content", "Could not insert image at the current position.": "Could not insert image at the current position.", "Could not obtain resized image URL.": "Could not obtain resized image URL.", "Create link": "Create link", Dashed: "Dashed", Decimal: "Decimal", "Decimal with leading zero": "Decimal with leading zero", "Decrease indent": "Decrease indent", "Decrease list item indent": "Decrease list item indent", Default: "Default", "Delete column": "Delete column", "Delete row": "Delete row", "Dim grey": "Dim grey", Dimensions: "Dimensions", Disc: "Disc", "Document colors": "Document colors", Dotted: "Dotted", Double: "Double", Downloadable: "Downloadable", "Drag to move": "Drag to move", "Dropdown toolbar": "Dropdown toolbar", "Edit block": "Edit block", "Edit link": "Edit link", "Editor block content toolbar": "Editor block content toolbar", "Editor contextual toolbar": "Editor contextual toolbar", "Editor dialog": "Editor dialog", "Editor editing area: %0": "Editor editing area: %0", "Editor menu bar": "Editor menu bar", "Editor toolbar": "Editor toolbar", "Enter image caption": "Enter image caption", "Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.": "Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.", "Font Background Color": "Font Background Color", "Font Color": "Font Color", "Font Family": "Font Family", "Font Size": "Font Size", "Full size image": "Full size image", Green: "Green", Grey: "Grey", Groove: "Groove", "Header column": "Header column", "Header row": "Header row", Heading: "Heading", "Heading 1": "Heading 1", "Heading 2": "Heading 2", "Heading 3": "Heading 3", "Heading 4": "Heading 4", "Heading 5": "Heading 5", "Heading 6": "Heading 6", Height: "Height", "Help Contents. To close this dialog press ESC.": "Help Contents. To close this dialog press ESC.", HEX: "HEX", "Horizontal line": "Horizontal line", "Horizontal text alignment toolbar": "Horizontal text alignment toolbar", "HTML object": "HTML object", Huge: "Huge", "Image from computer": "Image from computer", "Image or file": "Image or file", "Image resize list": "Image resize list", "Image toolbar": "Image toolbar", "image widget": "image widget", "In line": "In line", "Increase indent": "Increase indent", "Increase list item indent": "Increase list item indent", Insert: "Insert", "Insert a hard break (a new paragraph)": "Insert a hard break (a new paragraph)", "Insert a new paragraph directly after a widget": "Insert a new paragraph directly after a widget", "Insert a new paragraph directly before a widget": "Insert a new paragraph directly before a widget", "Insert a new table row (when in the last cell of a table)": "Insert a new table row (when in the last cell of a table)", "Insert a soft break (a <code>&lt;br&gt;</code> element)": "Insert a soft break (a <code>&lt;br&gt;</code> element)", "Insert code block": "Insert code block", "Insert column left": "Insert column left", "Insert column right": "Insert column right", "Insert image": "Insert image", "Insert image or file": "Insert image or file", "Insert image via URL": "Insert image via URL", "Insert image with file manager": "Insert image with file manager", "Insert media": "Insert media", "Insert paragraph after block": "Insert paragraph after block", "Insert paragraph before block": "Insert paragraph before block", "Insert row above": "Insert row above", "Insert row below": "Insert row below", "Insert table": "Insert table", "Insert with file manager": "Insert with file manager", "Inserting image failed": "Inserting image failed", Inset: "Inset", "Invalid start index value.": "Invalid start index value.", Italic: "Italic", "Italic text": "Italic text", Justify: "Justify", "Justify cell text": "Justify cell text", "Keystrokes that can be used in a list": "Keystrokes that can be used in a list", "Keystrokes that can be used in a table cell": "Keystrokes that can be used in a table cell", "Keystrokes that can be used when a widget is selected (for example: image, table, etc.)": "Keystrokes that can be used when a widget is selected (for example: image, table, etc.)", "Left aligned image": "Left aligned image", "Light blue": "Light blue", "Light green": "Light green", "Light grey": "Light grey", Link: "Link", "Link image": "Link image", "Link URL": "Link URL", "List properties": "List properties", "Lower-latin": "Lower-latin", "Lower–roman": "Lower–roman", "Media URL": "Media URL", "media widget": "media widget", MENU_BAR_MENU_EDIT: "Edit", MENU_BAR_MENU_FILE: "File", MENU_BAR_MENU_FONT: "Font", MENU_BAR_MENU_FORMAT: "Format", MENU_BAR_MENU_HELP: "Help", MENU_BAR_MENU_INSERT: "Insert", MENU_BAR_MENU_TEXT: "Text", MENU_BAR_MENU_TOOLS: "Tools", MENU_BAR_MENU_VIEW: "View", "Merge cell down": "Merge cell down", "Merge cell left": "Merge cell left", "Merge cell right": "Merge cell right", "Merge cell up": "Merge cell up", "Merge cells": "Merge cells", "Move focus between form fields (inputs, buttons, etc.)": "Move focus between form fields (inputs, buttons, etc.)", "Move focus in and out of an active dialog window": "Move focus in and out of an active dialog window", "Move focus to the menu bar, navigate between menu bars": "Move focus to the menu bar, navigate between menu bars", "Move focus to the toolbar, navigate between toolbars": "Move focus to the toolbar, navigate between toolbars", "Move out of a link": "Move out of a link", "Move out of an inline code style": "Move out of an inline code style", "Move the caret to allow typing directly after a widget": "Move the caret to allow typing directly after a widget", "Move the caret to allow typing directly before a widget": "Move the caret to allow typing directly before a widget", "Move the selection to the next cell": "Move the selection to the next cell", "Move the selection to the previous cell": "Move the selection to the previous cell", "Navigate through the table": "Navigate through the table", "Navigate through the toolbar or menu bar": "Navigate through the toolbar or menu bar", Next: "Next", "No results found": "No results found", "No searchable items": "No searchable items", None: "None", "Numbered List": "Numbered List", "Numbered list styles toolbar": "Numbered list styles toolbar", "Open in a new tab": "Open in a new tab", "Open link in new tab": "Open link in new tab", "Open media in new tab": "Open media in new tab", "Open the accessibility help dialog": "Open the accessibility help dialog", Orange: "Orange", Original: "Original", Outset: "Outset", Padding: "Padding", Paragraph: "Paragraph", "Paste content": "Paste content", "Paste content as plain text": "Paste content as plain text", "Paste the media URL in the input.": "Paste the media URL in the input.", "Plain text": "Plain text", "Press %0 for help.": "Press %0 for help.", "Press Enter to type after or press Shift + Enter to type before the widget": "Press Enter to type after or press Shift + Enter to type before the widget", Previous: "Previous", Purple: "Purple", Red: "Red", Redo: "Redo", "Remove color": "Remove color", "Remove Format": "Remove Format", "Replace from computer": "Replace from computer", "Replace image": "Replace image", "Replace image from computer": "Replace image from computer", "Replace image with file manager": "Replace image with file manager", "Replace with file manager": "Replace with file manager", "Resize image": "Resize image", "Resize image to %0": "Resize image to %0", "Resize image to the original size": "Resize image to the original size", "Restore default": "Restore default", "Reversed order": "Reversed order", "Revert autoformatting action": "Revert autoformatting action", "Rich Text Editor": "Rich Text Editor", Ridge: "Ridge", "Right aligned image": "Right aligned image", Row: "Row", Save: "Save", "Select all": "Select all", "Select column": "Select column", "Select row": "Select row", "Selecting resized image failed": "Selecting resized image failed", "Show more items": "Show more items", "Show source": "Show source", "Side image": "Side image", Small: "Small", Solid: "Solid", Source: "Source", "Split cell horizontally": "Split cell horizontally", "Split cell vertically": "Split cell vertically", Square: "Square", "Start at": "Start at", "Start index must be greater than 0.": "Start index must be greater than 0.", Strikethrough: "Strikethrough", "Strikethrough text": "Strikethrough text", Style: "Style", Subscript: "Subscript", Superscript: "Superscript", Table: "Table", "Table alignment toolbar": "Table alignment toolbar", "Table cell text alignment": "Table cell text alignment", "Table properties": "Table properties", "Table toolbar": "Table toolbar", "Text alignment": "Text alignment", "Text alignment toolbar": "Text alignment toolbar", "Text alternative": "Text alternative", 'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".': 'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".', "The URL must not be empty.": "The URL must not be empty.", 'The value is invalid. Try "10px" or "2em" or simply "2".': 'The value is invalid. Try "10px" or "2em" or simply "2".', "These keyboard shortcuts allow for quick access to content editing features.": "These keyboard shortcuts allow for quick access to content editing features.", "This link has no URL": "This link has no URL", "This media URL is not supported.": "This media URL is not supported.", Tiny: "Tiny", "Tip: Paste the URL into the content to embed faster.": "Tip: Paste the URL into the content to embed faster.", "To-do List": "To-do List", "Toggle caption off": "Toggle caption off", "Toggle caption on": "Toggle caption on", "Toggle the circle list style": "Toggle the circle list style", "Toggle the decimal list style": "Toggle the decimal list style", "Toggle the decimal with leading zero list style": "Toggle the decimal with leading zero list style", "Toggle the disc list style": "Toggle the disc list style", "Toggle the lower–latin list style": "Toggle the lower–latin list style", "Toggle the lower–roman list style": "Toggle the lower–roman list style", "Toggle the square list style": "Toggle the square list style", "Toggle the upper–latin list style": "Toggle the upper–latin list style", "Toggle the upper–roman list style": "Toggle the upper–roman list style", Turquoise: "Turquoise", Underline: "Underline", "Underline text": "Underline text", Undo: "Undo", Unlink: "Unlink", Update: "Update", "Update image URL": "Update image URL", "Upload failed": "Upload failed", "Upload from computer": "Upload from computer", "Upload image from computer": "Upload image from computer", "Upload in progress": "Upload in progress", "Upper-latin": "Upper-latin", "Upper-roman": "Upper-roman", "Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.": "Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.", "User interface and content navigation keystrokes": "User interface and content navigation keystrokes", "Vertical text alignment toolbar": "Vertical text alignment toolbar", White: "White", "Widget toolbar": "Widget toolbar", Width: "Width", "Wrap text": "Wrap text", Yellow: "Yellow" });
@@ -26,7 +26,7 @@ function SB() {
26
26
  (function(Z, X) {
27
27
  Ke.exports = X();
28
28
  })(self, (() => (() => {
29
- var Z, X, xe = { 8168: (v, D, p) => {
29
+ var Z, X, ye = { 8168: (v, D, p) => {
30
30
  const x = p(8874), E = {};
31
31
  for (const f of Object.keys(x)) E[x[f]] = f;
32
32
  const A = { rgb: { channels: 3, labels: "rgb" }, hsl: { channels: 3, labels: "hsl" }, hsv: { channels: 3, labels: "hsv" }, hwb: { channels: 3, labels: "hwb" }, cmyk: { channels: 4, labels: "cmyk" }, xyz: { channels: 3, labels: "xyz" }, lab: { channels: 3, labels: "lab" }, lch: { channels: 3, labels: "lch" }, hex: { channels: 1, labels: ["hex"] }, keyword: { channels: 1, labels: ["keyword"] }, ansi16: { channels: 1, labels: ["ansi16"] }, ansi256: { channels: 1, labels: ["ansi256"] }, hcg: { channels: 3, labels: ["h", "c", "g"] }, apple: { channels: 3, labels: ["r16", "g16", "b16"] }, gray: { channels: 1, labels: ["gray"] } };
@@ -9028,7 +9028,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9028
9028
  var D = je[v];
9029
9029
  if (D !== void 0) return D.exports;
9030
9030
  var p = je[v] = { id: v, exports: {} };
9031
- return xe[v](p, p.exports, L), p.exports;
9031
+ return ye[v](p, p.exports, L), p.exports;
9032
9032
  }
9033
9033
  L.n = (v) => {
9034
9034
  var D = v && v.__esModule ? () => v.default : () => v;
@@ -9761,7 +9761,7 @@ Read more: ${ce}#error-${i}`;
9761
9761
  }, jA = function() {
9762
9762
  return !1;
9763
9763
  };
9764
- var xd = $ && !$.nodeType && $, Ed = xd && !0 && Ke && !Ke.nodeType && Ke, Dd = Ed && Ed.exports === xd ? Ot.Buffer : void 0;
9764
+ var xd = U && !U.nodeType && U, Ed = xd && !0 && Ke && !Ke.nodeType && Ke, Dd = Ed && Ed.exports === xd ? Ot.Buffer : void 0;
9765
9765
  const ri = (Dd ? Dd.isBuffer : void 0) || jA;
9766
9766
  var HA = /^(?:0|[1-9]\d*)$/;
9767
9767
  const Ar = function(i, e) {
@@ -9779,7 +9779,7 @@ Read more: ${ce}#error-${i}`;
9779
9779
  return i(e);
9780
9780
  };
9781
9781
  };
9782
- var Td = $ && !$.nodeType && $, si = Td && !0 && Ke && !Ke.nodeType && Ke, Ca = si && si.exports === Td && pd.process;
9782
+ var Td = U && !U.nodeType && U, si = Td && !0 && Ke && !Ke.nodeType && Ke, Ca = si && si.exports === Td && pd.process;
9783
9783
  const Ao = (function() {
9784
9784
  try {
9785
9785
  var i = si && si.require && si.require("util").types;
@@ -9828,7 +9828,7 @@ Read more: ${ce}#error-${i}`;
9828
9828
  }, XA = function(i, e) {
9829
9829
  return i && _o(e, Co(e), i);
9830
9830
  };
9831
- var Bd = $ && !$.nodeType && $, Md = Bd && !0 && Ke && !Ke.nodeType && Ke, Nd = Md && Md.exports === Bd ? Ot.Buffer : void 0, Pd = Nd ? Nd.allocUnsafe : void 0;
9831
+ var Bd = U && !U.nodeType && U, Md = Bd && !0 && Ke && !Ke.nodeType && Ke, Nd = Md && Md.exports === Bd ? Ot.Buffer : void 0, Pd = Nd ? Nd.allocUnsafe : void 0;
9832
9832
  const Ld = function(i, e) {
9833
9833
  if (e) return i.slice();
9834
9834
  var t = i.length, n = Pd ? Pd(t) : new i.constructor(t);
@@ -9963,8 +9963,8 @@ Read more: ${ce}#error-${i}`;
9963
9963
  };
9964
9964
  var Xd = Ao && Ao.isSet;
9965
9965
  const AC = Xd ? Aa(Xd) : _C;
9966
- var eu = "[object Arguments]", tu = "[object Function]", nu = "[object Object]", ye = {};
9967
- ye[eu] = ye["[object Array]"] = ye["[object ArrayBuffer]"] = ye["[object DataView]"] = ye["[object Boolean]"] = ye["[object Date]"] = ye["[object Float32Array]"] = ye["[object Float64Array]"] = ye["[object Int8Array]"] = ye["[object Int16Array]"] = ye["[object Int32Array]"] = ye["[object Map]"] = ye["[object Number]"] = ye[nu] = ye["[object RegExp]"] = ye["[object Set]"] = ye["[object String]"] = ye["[object Symbol]"] = ye["[object Uint8Array]"] = ye["[object Uint8ClampedArray]"] = ye["[object Uint16Array]"] = ye["[object Uint32Array]"] = !0, ye["[object Error]"] = ye[tu] = ye["[object WeakMap]"] = !1;
9966
+ var eu = "[object Arguments]", tu = "[object Function]", nu = "[object Object]", xe = {};
9967
+ xe[eu] = xe["[object Array]"] = xe["[object ArrayBuffer]"] = xe["[object DataView]"] = xe["[object Boolean]"] = xe["[object Date]"] = xe["[object Float32Array]"] = xe["[object Float64Array]"] = xe["[object Int8Array]"] = xe["[object Int16Array]"] = xe["[object Int32Array]"] = xe["[object Map]"] = xe["[object Number]"] = xe[nu] = xe["[object RegExp]"] = xe["[object Set]"] = xe["[object String]"] = xe["[object Symbol]"] = xe["[object Uint8Array]"] = xe["[object Uint8ClampedArray]"] = xe["[object Uint16Array]"] = xe["[object Uint32Array]"] = !0, xe["[object Error]"] = xe[tu] = xe["[object WeakMap]"] = !1;
9968
9968
  const Ma = function i(e, t, n, o, r, s) {
9969
9969
  var a, l = 1 & t, c = 2 & t, d = 4 & t;
9970
9970
  if (n && (a = r ? n(e, o, r, s) : n(e)), a !== void 0) return a;
@@ -9978,7 +9978,7 @@ Read more: ${ce}#error-${i}`;
9978
9978
  if (h == nu || h == eu || m && !r) {
9979
9979
  if (a = c || m ? {} : Qd(e), !l) return c ? oC(e, XA(a, e)) : nC(e, KA(a, e));
9980
9980
  } else {
9981
- if (!ye[h]) return r ? e : {};
9981
+ if (!xe[h]) return r ? e : {};
9982
9982
  a = fC(e, h, l);
9983
9983
  }
9984
9984
  }
@@ -20090,7 +20090,7 @@ Read more: ${ce}#error-${i}`;
20090
20090
  return !i && i !== 0;
20091
20091
  }
20092
20092
  function ts(i) {
20093
- return i instanceof U;
20093
+ return i instanceof $;
20094
20094
  }
20095
20095
  function Tl(i) {
20096
20096
  return i instanceof dt;
@@ -20106,7 +20106,7 @@ Read more: ${ce}#error-${i}`;
20106
20106
  }
20107
20107
  var Im = L(6150), Vy = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20108
20108
  R()(Im.Z, Vy), Im.Z.locals;
20109
- class U extends kt(fe()) {
20109
+ class $ extends kt(fe()) {
20110
20110
  constructor(e) {
20111
20111
  super(), this.element = null, this.isRendered = !1, this.locale = e, this.t = e && e.t, this._viewCollections = new Ye(), this._unboundChildren = this.createCollection(), this._viewCollections.on("add", ((t, n) => {
20112
20112
  n.locale = e, n.t = e && e.t;
@@ -20143,14 +20143,14 @@ Read more: ${ce}#error-${i}`;
20143
20143
  }
20144
20144
  var Bm = L(2751), jy = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20145
20145
  R()(Bm.Z, jy), Bm.Z.locals;
20146
- class vt extends U {
20146
+ class vt extends $ {
20147
20147
  constructor(e) {
20148
20148
  super(e), this.set("text", void 0), this.set("for", void 0), this.id = `ck-editor__label_${ae()}`;
20149
20149
  const t = this.bindTemplate;
20150
20150
  this.setTemplate({ tag: "label", attributes: { class: ["ck", "ck-label"], id: this.id, for: t.to("for") }, children: [{ text: t.to("text") }] });
20151
20151
  }
20152
20152
  }
20153
- class Hy extends U {
20153
+ class Hy extends $ {
20154
20154
  constructor(e, t) {
20155
20155
  super(e);
20156
20156
  const n = e.t, o = new vt();
@@ -20249,7 +20249,7 @@ Read more: ${ce}#error-${i}`;
20249
20249
  }
20250
20250
  var Pm = L(1174), Gy = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20251
20251
  R()(Pm.Z, Gy), Pm.Z.locals;
20252
- class ns extends U {
20252
+ class ns extends $ {
20253
20253
  constructor() {
20254
20254
  super();
20255
20255
  const e = this.bindTemplate;
@@ -20279,7 +20279,7 @@ Read more: ${ce}#error-${i}`;
20279
20279
  }
20280
20280
  ns.presentationalAttributeNames = ["alignment-baseline", "baseline-shift", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-rendering", "cursor", "direction", "display", "dominant-baseline", "fill", "fill-opacity", "fill-rule", "filter", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "image-rendering", "letter-spacing", "lighting-color", "marker-end", "marker-mid", "marker-start", "mask", "opacity", "overflow", "paint-order", "pointer-events", "shape-rendering", "stop-color", "stop-opacity", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "text-anchor", "text-decoration", "text-overflow", "text-rendering", "transform", "unicode-bidi", "vector-effect", "visibility", "white-space", "word-spacing", "writing-mode"];
20281
20281
  const vn = ns;
20282
- class Zy extends U {
20282
+ class Zy extends $ {
20283
20283
  constructor() {
20284
20284
  super(), this.set({ style: void 0, text: void 0, id: void 0 });
20285
20285
  const e = this.bindTemplate;
@@ -20288,7 +20288,7 @@ Read more: ${ce}#error-${i}`;
20288
20288
  }
20289
20289
  var Lm = L(4499), Ky = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20290
20290
  R()(Lm.Z, Ky), Lm.Z.locals;
20291
- class J extends U {
20291
+ class J extends $ {
20292
20292
  constructor(e, t = new Zy()) {
20293
20293
  super(e), this._focusDelayed = null;
20294
20294
  const n = this.bindTemplate, o = ae();
@@ -20315,7 +20315,7 @@ Read more: ${ce}#error-${i}`;
20315
20315
  return e.bind("text", "style", "id").to(this, "label", "labelStyle", "ariaLabelledBy"), e;
20316
20316
  }
20317
20317
  _createKeystrokeView() {
20318
- const e = new U();
20318
+ const e = new $();
20319
20319
  return e.setTemplate({ tag: "span", attributes: { class: ["ck", "ck-button__keystroke"] }, children: [{ text: this.bindTemplate.to("keystroke", ((t) => Sr(t))) }] }), e;
20320
20320
  }
20321
20321
  _getTooltipString(e, t, n) {
@@ -20332,7 +20332,7 @@ Read more: ${ce}#error-${i}`;
20332
20332
  super.render(), this.children.add(this.toggleSwitchView);
20333
20333
  }
20334
20334
  _createToggleView() {
20335
- const e = new U();
20335
+ const e = new $();
20336
20336
  return e.setTemplate({ tag: "span", attributes: { class: ["ck", "ck-button__toggle"] }, children: [{ tag: "span", attributes: { class: ["ck", "ck-button__toggle__inner"] } }] }), e;
20337
20337
  }
20338
20338
  }
@@ -20346,7 +20346,7 @@ Read more: ${ce}#error-${i}`;
20346
20346
  super.render(), this.children.add(this._fileInputView);
20347
20347
  }
20348
20348
  }
20349
- class Jy extends U {
20349
+ class Jy extends $ {
20350
20350
  constructor(e) {
20351
20351
  super(e), this.set("acceptedType", void 0), this.set("allowMultipleFiles", !1);
20352
20352
  const t = this.bindTemplate;
@@ -20361,7 +20361,7 @@ Read more: ${ce}#error-${i}`;
20361
20361
  const is = '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/></svg>';
20362
20362
  var Om = L(7217), Xy = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20363
20363
  R()(Om.Z, Xy), Om.Z.locals;
20364
- class Rm extends U {
20364
+ class Rm extends $ {
20365
20365
  constructor(e, t) {
20366
20366
  super(e);
20367
20367
  const n = this.bindTemplate;
@@ -20405,7 +20405,7 @@ Read more: ${ce}#error-${i}`;
20405
20405
  }
20406
20406
  var Vm = L(4923), t1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20407
20407
  R()(Vm.Z, t1), Vm.Z.locals;
20408
- class jm extends U {
20408
+ class jm extends $ {
20409
20409
  constructor(e, t) {
20410
20410
  super(e);
20411
20411
  const n = t && t.colorDefinitions ? t.colorDefinitions : [];
@@ -20505,7 +20505,7 @@ Read more: ${ce}#error-${i}`;
20505
20505
  }
20506
20506
  var Zm = L(8111), o1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20507
20507
  R()(Zm.Z, o1), Zm.Z.locals;
20508
- class $e extends U {
20508
+ class $e extends $ {
20509
20509
  constructor(e, t) {
20510
20510
  super(e);
20511
20511
  const n = `ck-labeled-field-view-${ae()}`, o = `ck-labeled-field-view-status-${ae()}`;
@@ -20518,14 +20518,14 @@ Read more: ${ce}#error-${i}`;
20518
20518
  return t.for = e, t.bind("text").to(this, "label"), t;
20519
20519
  }
20520
20520
  _createStatusView(e) {
20521
- const t = new U(this.locale), n = this.bindTemplate;
20521
+ const t = new $(this.locale), n = this.bindTemplate;
20522
20522
  return t.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-labeled-field-view__status", n.if("errorText", "ck-labeled-field-view__status_error"), n.if("_statusText", "ck-hidden", ((o) => !o))], id: e, role: n.if("errorText", "alert") }, children: [{ text: n.to("_statusText") }] }), t;
20523
20523
  }
20524
20524
  focus(e) {
20525
20525
  this.fieldView.focus(e);
20526
20526
  }
20527
20527
  }
20528
- class i1 extends U {
20528
+ class i1 extends $ {
20529
20529
  constructor(e) {
20530
20530
  super(e), this.set("value", void 0), this.set("id", void 0), this.set("placeholder", void 0), this.set("tabIndex", void 0), this.set("isReadOnly", !1), this.set("hasError", !1), this.set("ariaDescribedById", void 0), this.set("ariaLabel", void 0), this.focusTracker = new Se(), this.bind("isFocused").to(this.focusTracker), this.set("isEmpty", !0);
20531
20531
  const t = this.bindTemplate;
@@ -20573,7 +20573,7 @@ Read more: ${ce}#error-${i}`;
20573
20573
  }
20574
20574
  var Qm = L(3175), a1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20575
20575
  R()(Qm.Z, a1), Qm.Z.locals;
20576
- class l1 extends U {
20576
+ class l1 extends $ {
20577
20577
  constructor(e) {
20578
20578
  super(e);
20579
20579
  const t = this.bindTemplate;
@@ -20596,7 +20596,7 @@ Read more: ${ce}#error-${i}`;
20596
20596
  }
20597
20597
  var Jm = L(3488), c1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20598
20598
  R()(Jm.Z, c1), Jm.Z.locals;
20599
- class Po extends U {
20599
+ class Po extends $ {
20600
20600
  constructor(e, t, n) {
20601
20601
  super(e);
20602
20602
  const o = this.bindTemplate;
@@ -20712,12 +20712,12 @@ Read more: ${ce}#error-${i}`;
20712
20712
  function Li(i) {
20713
20713
  return !(!("focus" in i) || typeof i.focus != "function");
20714
20714
  }
20715
- class Xm extends U {
20715
+ class Xm extends $ {
20716
20716
  constructor(e) {
20717
20717
  super(e), this.setTemplate({ tag: "span", attributes: { class: ["ck", "ck-toolbar__separator"] } });
20718
20718
  }
20719
20719
  }
20720
- class u1 extends U {
20720
+ class u1 extends $ {
20721
20721
  constructor(e) {
20722
20722
  super(e), this.setTemplate({ tag: "span", attributes: { class: ["ck", "ck-toolbar__line-break"] } });
20723
20723
  }
@@ -20730,7 +20730,7 @@ Read more: ${ce}#error-${i}`;
20730
20730
  var tg = L(5571), h1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20731
20731
  R()(tg.Z, h1), tg.Z.locals;
20732
20732
  const { threeVerticalDots: ng } = q, m1 = { alignLeft: q.alignLeft, bold: q.bold, importExport: q.importExport, paragraph: q.paragraph, plus: q.plus, text: q.text, threeVerticalDots: q.threeVerticalDots, pilcrow: q.pilcrow, dragIndicator: q.dragIndicator };
20733
- class Lo extends U {
20733
+ class Lo extends $ {
20734
20734
  constructor(e, t) {
20735
20735
  super(e);
20736
20736
  const n = this.bindTemplate, o = this.t;
@@ -20785,7 +20785,7 @@ Read more: ${ce}#error-${i}`;
20785
20785
  return o || Q("toolbarview-nested-toolbar-dropdown-missing-label", e), c.class = "ck-toolbar__nested-toolbar-dropdown", c.buttonView.set({ label: o, tooltip: a, withText: !!l }), r !== !1 ? c.buttonView.icon = m1[r] || r || ng : c.buttonView.withText = !0, as(c, (() => c.toolbarView._buildItemsFromConfig(s, t, n))), c;
20786
20786
  }
20787
20787
  }
20788
- class g1 extends U {
20788
+ class g1 extends $ {
20789
20789
  constructor(e) {
20790
20790
  super(e), this.children = this.createCollection(), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-toolbar__items"] }, children: this.children });
20791
20791
  }
@@ -20866,7 +20866,7 @@ Read more: ${ce}#error-${i}`;
20866
20866
  })), this.groupedItems.length && this.viewFocusables.add(this.groupedItemsDropdown);
20867
20867
  }
20868
20868
  }
20869
- class Wn extends U {
20869
+ class Wn extends $ {
20870
20870
  constructor(e) {
20871
20871
  super(e);
20872
20872
  const t = this.bindTemplate;
@@ -20876,12 +20876,12 @@ Read more: ${ce}#error-${i}`;
20876
20876
  this.children.first && this.children.first.focus();
20877
20877
  }
20878
20878
  }
20879
- class Bl extends U {
20879
+ class Bl extends $ {
20880
20880
  constructor(e) {
20881
20881
  super(e), this.setTemplate({ tag: "li", attributes: { class: ["ck", "ck-list__separator"] } });
20882
20882
  }
20883
20883
  }
20884
- class rs extends U {
20884
+ class rs extends $ {
20885
20885
  constructor(e, t = new vt()) {
20886
20886
  super(e);
20887
20887
  const n = this.bindTemplate, o = new ss(e);
@@ -20896,7 +20896,7 @@ Read more: ${ce}#error-${i}`;
20896
20896
  }
20897
20897
  var og = L(1162), k1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20898
20898
  R()(og.Z, k1), og.Z.locals;
20899
- class ss extends U {
20899
+ class ss extends $ {
20900
20900
  constructor(e) {
20901
20901
  super(e), this._listItemGroupToChangeListeners = /* @__PURE__ */ new WeakMap();
20902
20902
  const t = this.bindTemplate;
@@ -20949,7 +20949,7 @@ Read more: ${ce}#error-${i}`;
20949
20949
  }
20950
20950
  var ig = L(66), b1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
20951
20951
  R()(ig.Z, b1), ig.Z.locals;
20952
- class zi extends U {
20952
+ class zi extends $ {
20953
20953
  constructor(e, t) {
20954
20954
  super(e);
20955
20955
  const n = this.bindTemplate;
@@ -21211,7 +21211,7 @@ Read more: ${ce}#error-${i}`;
21211
21211
  }
21212
21212
  var _g = L(2191), I1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
21213
21213
  R()(_g.Z, I1), _g.Z.locals;
21214
- class B1 extends U {
21214
+ class B1 extends $ {
21215
21215
  constructor(e, t = {}) {
21216
21216
  super(e), this.set({ color: "", _hexColor: "" }), this.hexInputRow = this._createInputRow();
21217
21217
  const n = this.createCollection();
@@ -21269,7 +21269,7 @@ Read more: ${ce}#error-${i}`;
21269
21269
  })(i);
21270
21270
  return e || (e = "#000"), e.length === 4 && (e = "#" + [e[1], e[1], e[2], e[2], e[3], e[3]].join("")), e.toLowerCase();
21271
21271
  }
21272
- class M1 extends U {
21272
+ class M1 extends $ {
21273
21273
  constructor(e) {
21274
21274
  super(), this.element = e;
21275
21275
  }
@@ -21277,12 +21277,12 @@ Read more: ${ce}#error-${i}`;
21277
21277
  this.element.focus();
21278
21278
  }
21279
21279
  }
21280
- class N1 extends U {
21280
+ class N1 extends $ {
21281
21281
  constructor(e) {
21282
21282
  super(e), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-color-picker__hash-view"] }, children: "#" });
21283
21283
  }
21284
21284
  }
21285
- class P1 extends U {
21285
+ class P1 extends $ {
21286
21286
  constructor(e, t) {
21287
21287
  super(e), this.children = this.createCollection(t), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-color-picker__row"] }, children: this.children });
21288
21288
  }
@@ -21301,7 +21301,7 @@ Read more: ${ce}#error-${i}`;
21301
21301
  }
21302
21302
  }
21303
21303
  const { eraser: z1, colorPalette: O1 } = q;
21304
- class R1 extends U {
21304
+ class R1 extends $ {
21305
21305
  constructor(e, { colors: t, columns: n, removeButtonLabel: o, documentColorsLabel: r, documentColorsCount: s, colorPickerLabel: a, focusTracker: l, focusables: c }) {
21306
21306
  super(e);
21307
21307
  const d = this.bindTemplate;
@@ -21371,7 +21371,7 @@ Read more: ${ce}#error-${i}`;
21371
21371
  t ? this.documentColors.add(Object.assign({}, t)) : this.documentColors.add({ color: e, label: e, options: { hasBorder: !1 } });
21372
21372
  }
21373
21373
  }
21374
- class F1 extends U {
21374
+ class F1 extends $ {
21375
21375
  constructor(e, { focusTracker: t, focusables: n, keystrokes: o, colorPickerViewConfig: r }) {
21376
21376
  super(e), this.items = this.createCollection(), this.focusTracker = t, this.keystrokes = o, this.set("isVisible", !1), this.set("selectedColor", void 0), this._focusables = n, this._colorPickerViewConfig = r;
21377
21377
  const s = this.bindTemplate, { saveButtonView: a, cancelButtonView: l } = this._createActionButtons();
@@ -21405,7 +21405,7 @@ Read more: ${ce}#error-${i}`;
21405
21405
  e.element && (this.focusTracker.add(e.element), this._focusables.add(e)), this.focusTracker.add(this.saveButtonView.element), this._focusables.add(this.saveButtonView), this.focusTracker.add(this.cancelButtonView.element), this._focusables.add(this.cancelButtonView);
21406
21406
  }
21407
21407
  _createActionBarView({ saveButtonView: e, cancelButtonView: t }) {
21408
- const n = new U(), o = this.createCollection();
21408
+ const n = new $(), o = this.createCollection();
21409
21409
  return o.add(e), o.add(t), n.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-color-selector_action-bar"] }, children: o }), n;
21410
21410
  }
21411
21411
  _createActionButtons() {
@@ -21424,7 +21424,7 @@ Read more: ${ce}#error-${i}`;
21424
21424
  }
21425
21425
  var Ag = L(4240), V1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
21426
21426
  R()(Ag.Z, V1), Ag.Z.locals;
21427
- class Vl extends U {
21427
+ class Vl extends $ {
21428
21428
  constructor(e, { colors: t, columns: n, removeButtonLabel: o, documentColorsLabel: r, documentColorsCount: s, colorPickerLabel: a, colorPickerViewConfig: l }) {
21429
21429
  super(e), this.items = this.createCollection(), this.focusTracker = new Se(), this.keystrokes = new Oe(), this._focusables = new Je(), this._colorPickerViewConfig = l, this._focusCycler = new Xe({ focusables: this._focusables, focusTracker: this.focusTracker, keystrokeHandler: this.keystrokes, actions: { focusPrevious: "shift + tab", focusNext: "tab" } }), this.colorGridsFragmentView = new R1(e, { colors: t, columns: n, removeButtonLabel: o, documentColorsLabel: r, documentColorsCount: s, colorPickerLabel: a, focusTracker: this.focusTracker, focusables: this._focusables }), this.colorPickerFragmentView = new F1(e, { focusables: this._focusables, focusTracker: this.focusTracker, keystrokes: this.keystrokes, colorPickerViewConfig: l }), this.set("_isColorGridsFragmentVisible", !0), this.set("_isColorPickerFragmentVisible", !1), this.set("selectedColor", void 0), this.colorGridsFragmentView.bind("isVisible").to(this, "_isColorGridsFragmentVisible"), this.colorPickerFragmentView.bind("isVisible").to(this, "_isColorPickerFragmentVisible"), this.on("change:selectedColor", ((c, d, u) => {
21430
21430
  this.colorGridsFragmentView.set("selectedColor", u), this.colorPickerFragmentView.set("selectedColor", u);
@@ -21493,18 +21493,18 @@ Read more: ${ce}#error-${i}`;
21493
21493
  }
21494
21494
  var Cg = L(5523), H1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
21495
21495
  R()(Cg.Z, H1), Cg.Z.locals;
21496
- class Hl extends U {
21496
+ class Hl extends $ {
21497
21497
  constructor(e, t = {}) {
21498
21498
  super(e);
21499
21499
  const n = this.bindTemplate;
21500
21500
  this.set("label", t.label || ""), this.set("class", t.class || null), this.children = this.createCollection(), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-form__header", n.to("class")] }, children: this.children }), t.icon && (this.iconView = new vn(), this.iconView.content = t.icon, this.children.add(this.iconView));
21501
- const o = new U(e);
21501
+ const o = new $(e);
21502
21502
  o.setTemplate({ tag: "h2", attributes: { class: ["ck", "ck-form__header__label"], role: "presentation" }, children: [{ text: n.to("label") }] }), this.children.add(o);
21503
21503
  }
21504
21504
  }
21505
21505
  var vg = L(8085), U1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
21506
21506
  R()(vg.Z, U1), vg.Z.locals;
21507
- class $1 extends U {
21507
+ class $1 extends $ {
21508
21508
  constructor(e) {
21509
21509
  super(e), this.children = this.createCollection(), this.keystrokes = new Oe(), this._focusTracker = new Se(), this._focusables = new Je(), this.focusCycler = new Xe({ focusables: this._focusables, focusTracker: this._focusTracker, keystrokeHandler: this.keystrokes, actions: { focusPrevious: "shift + tab", focusNext: "tab" } }), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-dialog__actions"] }, children: this.children });
21510
21510
  }
@@ -21529,7 +21529,7 @@ Read more: ${ce}#error-${i}`;
21529
21529
  }));
21530
21530
  }
21531
21531
  }
21532
- class q1 extends U {
21532
+ class q1 extends $ {
21533
21533
  constructor(e) {
21534
21534
  super(e), this.children = this.createCollection(), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-dialog__content"] }, children: this.children });
21535
21535
  }
@@ -21574,7 +21574,7 @@ Read more: ${ce}#error-${i}`;
21574
21574
  return !!this.dragHandleElement && (this.dragHandleElement === t.target || t.target instanceof HTMLElement && this.dragHandleElement.contains(t.target));
21575
21575
  }
21576
21576
  };
21577
- })(U)) {
21577
+ })($)) {
21578
21578
  constructor(e, { getCurrentDomRoot: t, getViewportOffset: n }) {
21579
21579
  super(e), this.wasMoved = !1;
21580
21580
  const o = this.bindTemplate, r = e.t;
@@ -21599,7 +21599,7 @@ Read more: ${ce}#error-${i}`;
21599
21599
  return this.headerView ? this.headerView.element : null;
21600
21600
  }
21601
21601
  setupParts({ icon: e, title: t, hasCloseButton: n = !0, content: o, actionButtons: r }) {
21602
- t && (this.headerView = new Hl(this.locale, { icon: e }), n && (this.closeButtonView = this._createCloseButton(), this.headerView.children.add(this.closeButtonView)), this.headerView.label = t, this.ariaLabel = t, this.parts.add(this.headerView, 0)), o && (o instanceof U && (o = [o]), this.contentView = new q1(this.locale), this.contentView.children.addMany(o), this.parts.add(this.contentView)), r && (this.actionsView = new $1(this.locale), this.actionsView.setButtons(r), this.parts.add(this.actionsView)), this._updateFocusCyclableItems();
21602
+ t && (this.headerView = new Hl(this.locale, { icon: e }), n && (this.closeButtonView = this._createCloseButton(), this.headerView.children.add(this.closeButtonView)), this.headerView.label = t, this.ariaLabel = t, this.parts.add(this.headerView, 0)), o && (o instanceof $ && (o = [o]), this.contentView = new q1(this.locale), this.contentView.children.addMany(o), this.parts.add(this.contentView)), r && (this.actionsView = new $1(this.locale), this.actionsView.setButtons(r), this.parts.add(this.actionsView)), this._updateFocusCyclableItems();
21603
21603
  }
21604
21604
  focus() {
21605
21605
  this._focusCycler.focusFirst();
@@ -21739,7 +21739,7 @@ Read more: ${ce}#error-${i}`;
21739
21739
  var Dg = L(8245), J1 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
21740
21740
  R()(Dg.Z, J1), Dg.Z.locals;
21741
21741
  const Tg = vo("px"), Sg = Y.document.body, X1 = { top: -99999, left: -99999, name: "arrowless", config: { withArrow: !1 } };
21742
- class Mt extends U {
21742
+ class Mt extends $ {
21743
21743
  constructor(e) {
21744
21744
  super(e);
21745
21745
  const t = this.bindTemplate;
@@ -21802,7 +21802,7 @@ Read more: ${ce}#error-${i}`;
21802
21802
  class Ge extends kt() {
21803
21803
  constructor(e) {
21804
21804
  if (super(), this._currentElementWithTooltip = null, this._currentTooltipPosition = null, this._resizeObserver = null, this._mutationObserver = null, Ge._editors.add(e), Ge._instance) return Ge._instance;
21805
- Ge._instance = this, this.tooltipTextView = new U(e.locale), this.tooltipTextView.set("text", ""), this.tooltipTextView.setTemplate({ tag: "span", attributes: { class: ["ck", "ck-tooltip__text"] }, children: [{ text: this.tooltipTextView.bindTemplate.to("text") }] }), this.balloonPanelView = new Oo(e.locale), this.balloonPanelView.class = Mg, this.balloonPanelView.content.add(this.tooltipTextView), this._mutationObserver = (function(t) {
21805
+ Ge._instance = this, this.tooltipTextView = new $(e.locale), this.tooltipTextView.set("text", ""), this.tooltipTextView.setTemplate({ tag: "span", attributes: { class: ["ck", "ck-tooltip__text"] }, children: [{ text: this.tooltipTextView.bindTemplate.to("text") }] }), this.balloonPanelView = new Oo(e.locale), this.balloonPanelView.class = Mg, this.balloonPanelView.content.add(this.tooltipTextView), this._mutationObserver = (function(t) {
21806
21806
  const n = new MutationObserver((() => {
21807
21807
  t();
21808
21808
  }));
@@ -21954,7 +21954,7 @@ Read more: ${ce}#error-${i}`;
21954
21954
  o.includes(n) ? this._lastFocusedEditableElement = n : this._lastFocusedEditableElement = o[0];
21955
21955
  }
21956
21956
  }
21957
- class sx extends U {
21957
+ class sx extends $ {
21958
21958
  constructor(e, t) {
21959
21959
  super(e);
21960
21960
  const n = new vn(), o = this.bindTemplate;
@@ -21990,12 +21990,12 @@ Read more: ${ce}#error-${i}`;
21990
21990
  r || (r = new dx(this.view.locale), this.view.regionViews.add(r)), r.set({ regionName: e, text: t, politeness: n });
21991
21991
  }
21992
21992
  }
21993
- class cx extends U {
21993
+ class cx extends $ {
21994
21994
  constructor(e) {
21995
21995
  super(e), this.regionViews = this.createCollection(), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-aria-live-announcer"] }, children: this.regionViews });
21996
21996
  }
21997
21997
  }
21998
- class dx extends U {
21998
+ class dx extends $ {
21999
21999
  constructor(e) {
22000
22000
  super(e);
22001
22001
  const t = this.bindTemplate;
@@ -22101,7 +22101,7 @@ Read more: ${ce}#error-${i}`;
22101
22101
  }
22102
22102
  var Fg = L(4547), hx = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
22103
22103
  R()(Fg.Z, hx), Fg.Z.locals;
22104
- class mx extends U {
22104
+ class mx extends $ {
22105
22105
  constructor(e) {
22106
22106
  super(e), this.body = new Wy(e);
22107
22107
  }
@@ -22121,7 +22121,7 @@ Read more: ${ce}#error-${i}`;
22121
22121
  return t.text = e("Rich Text Editor"), t.extendTemplate({ attributes: { class: "ck-voice-label" } }), t;
22122
22122
  }
22123
22123
  }
22124
- class px extends U {
22124
+ class px extends $ {
22125
22125
  constructor(e, t, n) {
22126
22126
  super(e), this.name = null, this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-content", "ck-editor__editable", "ck-rounded-corners"], lang: e.contentLanguage, dir: e.contentLanguageDirection } }), this.set("isFocused", !1), this._editableElement = n, this._hasExternalElement = !!this._editableElement, this._editingView = t;
22127
22127
  }
@@ -22257,7 +22257,7 @@ Read more: ${ce}#error-${i}`;
22257
22257
  return e && (e.limiter || (e = Object.assign({}, e, { limiter: this.positionLimiter })), e = Object.assign({}, e, { viewportOffsetConfig: this.editor.ui.viewportOffset })), e;
22258
22258
  }
22259
22259
  }
22260
- class wx extends U {
22260
+ class wx extends $ {
22261
22261
  constructor(e) {
22262
22262
  super(e);
22263
22263
  const t = e.t, n = this.bindTemplate;
@@ -22280,7 +22280,7 @@ Read more: ${ce}#error-${i}`;
22280
22280
  return n.set({ label: e, icon: t, tooltip: !0 }), n;
22281
22281
  }
22282
22282
  }
22283
- class _x extends U {
22283
+ class _x extends $ {
22284
22284
  constructor(e, t) {
22285
22285
  super(e);
22286
22286
  const n = this.bindTemplate;
@@ -22290,7 +22290,7 @@ Read more: ${ce}#error-${i}`;
22290
22290
  }
22291
22291
  _addPanels(e) {
22292
22292
  for (; e--; ) {
22293
- const t = new U();
22293
+ const t = new $();
22294
22294
  t.setTemplate({ tag: "div" }), this.content.add(t), this.registerChild(t);
22295
22295
  }
22296
22296
  }
@@ -22310,7 +22310,7 @@ Read more: ${ce}#error-${i}`;
22310
22310
  var Hg = L(3609), Ax = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
22311
22311
  R()(Hg.Z, Ax), Hg.Z.locals;
22312
22312
  const Ro = vo("px");
22313
- class Cx extends U {
22313
+ class Cx extends $ {
22314
22314
  constructor(e) {
22315
22315
  super(e);
22316
22316
  const t = this.bindTemplate;
@@ -22363,7 +22363,7 @@ Read more: ${ce}#error-${i}`;
22363
22363
  this.fieldView.reset(), this._viewConfig.showResetButton && (this.resetButtonView.isVisible = !1);
22364
22364
  }
22365
22365
  }
22366
- class yx extends U {
22366
+ class yx extends $ {
22367
22367
  constructor() {
22368
22368
  super();
22369
22369
  const e = this.bindTemplate;
@@ -22373,7 +22373,7 @@ Read more: ${ce}#error-${i}`;
22373
22373
  this.element.focus();
22374
22374
  }
22375
22375
  }
22376
- class xx extends U {
22376
+ class xx extends $ {
22377
22377
  constructor(e) {
22378
22378
  super(e), this.children = this.createCollection(), this.focusTracker = new Se(), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-search__results"], tabindex: -1 }, children: this.children }), this._focusCycler = new Xe({ focusables: this.children, focusTracker: this.focusTracker });
22379
22379
  }
@@ -22397,7 +22397,7 @@ Read more: ${ce}#error-${i}`;
22397
22397
  };
22398
22398
  var qg = L(9815), Dx = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
22399
22399
  R()(qg.Z, Dx), qg.Z.locals;
22400
- class Tx extends U {
22400
+ class Tx extends $ {
22401
22401
  constructor(e, t) {
22402
22402
  super(e), this._config = t, this.filteredView = t.filteredView, this.queryView = this._createSearchTextQueryView(), this.focusTracker = new Se(), this.keystrokes = new Oe(), this.resultsView = new xx(e), this.children = this.createCollection(), this.focusableChildren = this.createCollection([this.queryView, this.resultsView]), this.set("isEnabled", !0), this.set("resultsCount", 0), this.set("totalItemsCount", 0), t.infoView && t.infoView.instance ? this.infoView = t.infoView.instance : (this.infoView = new yx(), this._enableDefaultInfoViewBehavior(), this.on("render", (() => {
22403
22403
  this.search("");
@@ -22670,7 +22670,7 @@ Read more: ${ce}#error-${i}`;
22670
22670
  }
22671
22671
  var np = L(9406), Ux = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
22672
22672
  R()(np.Z, Ux), np.Z.locals;
22673
- class $x extends U {
22673
+ class $x extends $ {
22674
22674
  constructor(e) {
22675
22675
  super(e);
22676
22676
  const t = this.bindTemplate;
@@ -22684,7 +22684,7 @@ Read more: ${ce}#error-${i}`;
22684
22684
  }
22685
22685
  var op = L(5962), qx = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
22686
22686
  R()(op.Z, qx), op.Z.locals;
22687
- class ms extends U {
22687
+ class ms extends $ {
22688
22688
  constructor(e) {
22689
22689
  super(e);
22690
22690
  const t = this.bindTemplate;
@@ -22740,7 +22740,7 @@ Read more: ${ce}#error-${i}`;
22740
22740
  var rp = L(8761), Zx = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
22741
22741
  R()(rp.Z, Zx), rp.Z.locals;
22742
22742
  const sp = ["mouseenter", "arrowleft", "arrowright", "change:isOpen"];
22743
- class Kx extends U {
22743
+ class Kx extends $ {
22744
22744
  constructor(e) {
22745
22745
  super(e), this.menus = [];
22746
22746
  const t = e.t;
@@ -25057,7 +25057,7 @@ Read more: ${ce}#error-${i}`;
25057
25057
  function J2(i) {
25058
25058
  return `ck-widget__resizer__handle-${i}`;
25059
25059
  }
25060
- class X2 extends U {
25060
+ class X2 extends $ {
25061
25061
  constructor() {
25062
25062
  super();
25063
25063
  const e = this.bindTemplate;
@@ -25246,7 +25246,7 @@ Read more: ${ce}#error-${i}`;
25246
25246
  }
25247
25247
  }
25248
25248
  const oc = vo("px");
25249
- class tE extends U {
25249
+ class tE extends $ {
25250
25250
  constructor() {
25251
25251
  super();
25252
25252
  const e = this.bindTemplate;
@@ -26390,7 +26390,7 @@ Read more: ${ce}#error-${i}`;
26390
26390
  R()(Pf.Z, HE), Pf.Z.locals;
26391
26391
  var Lf = L(1590), UE = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
26392
26392
  R()(Lf.Z, UE), Lf.Z.locals;
26393
- class $E extends U {
26393
+ class $E extends $ {
26394
26394
  constructor(e) {
26395
26395
  super(e);
26396
26396
  const t = this.locale.t;
@@ -26713,7 +26713,7 @@ Read more: ${ce}#error-${i}`;
26713
26713
  }
26714
26714
  var qf = L(9292), KE = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
26715
26715
  R()(qf.Z, KE), qf.Z.locals;
26716
- class YE extends U {
26716
+ class YE extends $ {
26717
26717
  constructor(e, t = []) {
26718
26718
  super(e), this.focusTracker = new Se(), this.keystrokes = new Oe(), this._focusables = new Je(), this.children = this.createCollection(), this._focusCycler = new Xe({ focusables: this._focusables, focusTracker: this.focusTracker, keystrokeHandler: this.keystrokes, actions: { focusPrevious: "shift + tab", focusNext: "tab" } });
26719
26719
  for (const n of t) this.children.add(n), this._focusables.add(n), n instanceof Rm && this._focusables.addMany(n.children);
@@ -28175,7 +28175,7 @@ Read more: ${ce}#error-${i}`;
28175
28175
  }
28176
28176
  var Fk = L(3525), B5 = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
28177
28177
  R()(Fk.Z, B5), Fk.Z.locals;
28178
- class M5 extends U {
28178
+ class M5 extends $ {
28179
28179
  constructor(e, t) {
28180
28180
  super(t);
28181
28181
  const n = t.t;
@@ -28386,7 +28386,7 @@ Read more: ${ce}#error-${i}`;
28386
28386
  return new re(this.element).contains(new re(e.element));
28387
28387
  }
28388
28388
  }
28389
- class j5 extends U {
28389
+ class j5 extends $ {
28390
28390
  constructor(e, t) {
28391
28391
  super(e), this.template = void 0, this.domElement = t, this.domElement.classList.add("ck-button"), this.set("isOn", !1), this.on("change:isOn", ((n, o, r) => {
28392
28392
  r ? (this.domElement.classList.add("ck-on"), this.domElement.classList.remove("ck-off")) : (this.domElement.classList.add("ck-off"), this.domElement.classList.remove("ck-on"));
@@ -30091,7 +30091,7 @@ $&
30091
30091
  }
30092
30092
  var xb = L(7284), qD = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
30093
30093
  R()(xb.Z, qD), xb.Z.locals;
30094
- class Eb extends U {
30094
+ class Eb extends $ {
30095
30095
  constructor(e) {
30096
30096
  super(e);
30097
30097
  const t = this.bindTemplate;
@@ -30720,7 +30720,7 @@ $&
30720
30720
  }
30721
30721
  var zb = L(4082), dT = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
30722
30722
  R()(zb.Z, dT), zb.Z.locals;
30723
- class uT extends U {
30723
+ class uT extends $ {
30724
30724
  constructor(e, t) {
30725
30725
  super(e), this.set("value", ""), this.set("isReadOnly", !1), this.set("isFocused", !1), this.set("isEmpty", !0), this.options = t, this.focusTracker = new Se(), this._focusables = new Je(), this.dropdownView = this._createDropdownView(), this.inputView = this._createInputTextView(), this.keystrokes = new Oe(), this._stillTyping = !1, this.focusCycler = new Xe({ focusables: this._focusables, focusTracker: this.focusTracker, keystrokeHandler: this.keystrokes, actions: { focusPrevious: "shift + tab", focusNext: "tab" } }), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-input-color"] }, children: [this.dropdownView, this.inputView] }), this.on("change:value", ((n, o, r) => this._setInputValue(r)));
30726
30726
  }
@@ -30736,7 +30736,7 @@ $&
30736
30736
  super.destroy(), this.focusTracker.destroy(), this.keystrokes.destroy();
30737
30737
  }
30738
30738
  _createDropdownView() {
30739
- const e = this.locale, t = e.t, n = this.bindTemplate, o = this._createColorSelector(e), r = et(e), s = new U();
30739
+ const e = this.locale, t = e.t, n = this.bindTemplate, o = this._createColorSelector(e), r = et(e), s = new $();
30740
30740
  return s.setTemplate({ tag: "span", attributes: { class: ["ck", "ck-input-color__button__preview"], style: { backgroundColor: n.to("value") } }, children: [{ tag: "span", attributes: { class: ["ck", "ck-input-color__button__preview__no-color-indicator", n.if("value", "ck-hidden", ((a) => a != ""))] } }] }), r.buttonView.extendTemplate({ attributes: { class: "ck-input-color__button" } }), r.buttonView.children.add(s), r.buttonView.label = t("Color picker"), r.buttonView.tooltip = !0, r.panelPosition = e.uiLanguageDirection === "rtl" ? "se" : "sw", r.panelView.children.add(o), r.bind("isEnabled").to(this, "isReadOnly", ((a) => !a)), r.on("change:isOpen", ((a, l, c) => {
30741
30741
  c && (o.updateSelectedColors(), o.showColorGridsFragment());
30742
30742
  })), r;
@@ -30829,7 +30829,7 @@ $&
30829
30829
  }
30830
30830
  var Ub = L(9865), hT = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
30831
30831
  R()(Ub.Z, hT), Ub.Z.locals;
30832
- class xt extends U {
30832
+ class xt extends $ {
30833
30833
  constructor(e, t = {}) {
30834
30834
  super(e);
30835
30835
  const n = this.bindTemplate;
@@ -30843,7 +30843,7 @@ $&
30843
30843
  var Wb = L(9221), pT = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
30844
30844
  R()(Wb.Z, pT), Wb.Z.locals;
30845
30845
  const fT = { left: q.objectLeft, center: q.objectCenter, right: q.objectRight };
30846
- class kT extends U {
30846
+ class kT extends $ {
30847
30847
  constructor(e, t) {
30848
30848
  super(e), this.set({ borderStyle: "", borderWidth: "", borderColor: "", backgroundColor: "", width: "", height: "", alignment: "" }), this.options = t;
30849
30849
  const { borderStyleDropdown: n, borderWidthInput: o, borderColorInput: r, borderRowLabel: s } = this._createBorderFields(), { backgroundRowLabel: a, backgroundInput: l } = this._createBackgroundFields(), { widthInput: c, operatorLabel: d, heightInput: u, dimensionsLabel: h } = this._createDimensionFields(), { alignmentToolbar: m, alignmentLabel: g } = this._createAlignmentFields();
@@ -30901,7 +30901,7 @@ $&
30901
30901
  o.set({ label: t("Width"), class: "ck-table-form__dimensions-row__width" }), o.fieldView.bind("value").to(this, "width"), o.fieldView.on("input", (() => {
30902
30902
  this.width = o.fieldView.element.value;
30903
30903
  }));
30904
- const r = new U(e);
30904
+ const r = new $(e);
30905
30905
  r.setTemplate({ tag: "span", attributes: { class: ["ck-table-form__dimension-operator"] }, children: [{ text: "×" }] });
30906
30906
  const s = new $e(e, yt);
30907
30907
  return s.set({ label: t("Height"), class: "ck-table-form__dimensions-row__height" }), s.fieldView.bind("value").to(this, "height"), s.fieldView.on("input", (() => {
@@ -31032,7 +31032,7 @@ $&
31032
31032
  var Jb = L(5737), wT = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
31033
31033
  R()(Jb.Z, wT), Jb.Z.locals;
31034
31034
  const Xb = { left: q.alignLeft, center: q.alignCenter, right: q.alignRight, justify: q.alignJustify, top: q.alignTop, middle: q.alignMiddle, bottom: q.alignBottom };
31035
- class _T extends U {
31035
+ class _T extends $ {
31036
31036
  constructor(e, t) {
31037
31037
  super(e), this.set({ borderStyle: "", borderWidth: "", borderColor: "", padding: "", backgroundColor: "", width: "", height: "", horizontalAlignment: "", verticalAlignment: "" }), this.options = t;
31038
31038
  const { borderStyleDropdown: n, borderWidthInput: o, borderColorInput: r, borderRowLabel: s } = this._createBorderFields(), { backgroundRowLabel: a, backgroundInput: l } = this._createBackgroundFields(), { widthInput: c, operatorLabel: d, heightInput: u, dimensionsLabel: h } = this._createDimensionFields(), { horizontalAlignmentToolbar: m, verticalAlignmentToolbar: g, alignmentLabel: k } = this._createAlignmentFields();
@@ -31090,7 +31090,7 @@ $&
31090
31090
  o.set({ label: t("Width"), class: "ck-table-form__dimensions-row__width" }), o.fieldView.bind("value").to(this, "width"), o.fieldView.on("input", (() => {
31091
31091
  this.width = o.fieldView.element.value;
31092
31092
  }));
31093
- const r = new U(e);
31093
+ const r = new $(e);
31094
31094
  r.setTemplate({ tag: "span", attributes: { class: ["ck-table-form__dimension-operator"] }, children: [{ text: "×" }] });
31095
31095
  const s = new $e(e, yt);
31096
31096
  return s.set({ label: t("Height"), class: "ck-table-form__dimensions-row__height" }), s.fieldView.bind("value").to(this, "height"), s.fieldView.on("input", (() => {
@@ -32344,7 +32344,7 @@ $&
32344
32344
  }
32345
32345
  var Lw = L(1043), NS = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
32346
32346
  R()(Lw.Z, NS), Lw.Z.locals;
32347
- class PS extends U {
32347
+ class PS extends $ {
32348
32348
  constructor(e) {
32349
32349
  super(e), this.set("imageURLInputValue", ""), this.set("isImageSelected", !1), this.set("isEnabled", !0), this.focusTracker = new Se(), this.keystrokes = new Oe(), this._focusables = new Je(), this.focusCycler = new Xe({ focusables: this._focusables, focusTracker: this.focusTracker, keystrokeHandler: this.keystrokes, actions: { focusPrevious: "shift + tab", focusNext: "tab" } }), this.urlInputView = this._createUrlInputView(), this.insertButtonView = this._createInsertButton(), this.cancelButtonView = this._createCancelButton(), this._focusables.addMany([this.urlInputView, this.insertButtonView, this.cancelButtonView]), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-image-insert-url"] }, children: [this.urlInputView, { tag: "div", attributes: { class: ["ck", "ck-image-insert-url__action-row"] }, children: [this.insertButtonView, this.cancelButtonView] }] });
32350
32350
  }
@@ -32854,7 +32854,7 @@ $&
32854
32854
  }
32855
32855
  var Gw = L(4827), sI = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
32856
32856
  R()(Gw.Z, sI), Gw.Z.locals;
32857
- class aI extends U {
32857
+ class aI extends $ {
32858
32858
  constructor(e, t) {
32859
32859
  super(e), this.focusTracker = new Se(), this.keystrokes = new Oe(), this._focusables = new Je();
32860
32860
  const n = e.t;
@@ -32897,7 +32897,7 @@ $&
32897
32897
  _createFormChildren(e) {
32898
32898
  const t = this.createCollection();
32899
32899
  if (t.add(this.urlInputView), e.length) {
32900
- const n = new U();
32900
+ const n = new $();
32901
32901
  n.setTemplate({ tag: "ul", children: this._manualDecoratorSwitches.map(((o) => ({ tag: "li", children: [o], attributes: { class: ["ck", "ck-list__item"] } }))), attributes: { class: ["ck", "ck-reset", "ck-list"] } }), t.add(n);
32902
32902
  }
32903
32903
  return t.add(this.saveButtonView), t.add(this.cancelButtonView), t;
@@ -32905,7 +32905,7 @@ $&
32905
32905
  }
32906
32906
  var Zw = L(9465), lI = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
32907
32907
  R()(Zw.Z, lI), Zw.Z.locals;
32908
- class cI extends U {
32908
+ class cI extends $ {
32909
32909
  constructor(e, t = {}) {
32910
32910
  super(e), this.focusTracker = new Se(), this.keystrokes = new Oe(), this._focusables = new Je();
32911
32911
  const n = e.t;
@@ -35702,26 +35702,23 @@ class MB extends bB {
35702
35702
  figure: ["style", "class"],
35703
35703
  thead: []
35704
35704
  },
35705
- onTagAttr: ($, Z, X) => {
35706
- if ((Z === "src" && $ === "img" || $ === "a" && Z === "href" || $ === "source" && Z === "src") && this.mentionFields?.some((v) => v.id === X))
35707
- return `${Z}="${X}"`;
35708
- }
35709
- }, !0), this.resizeObserver = new ResizeObserver(($) => {
35710
- const Z = $[0];
35705
+ onTagAttr: (U, Z, X, ye) => (Z === "src" && U === "img" || U === "a" && Z === "href" || U === "source" && Z === "src") && this.mentionFields?.some((D) => D.id === X) ? `${Z}="${X}"` : this.sanitizer.arcgisFilterOptions?.onTagAttr?.(U, Z, X, ye)
35706
+ }, !0), this.resizeObserver = new ResizeObserver((U) => {
35707
+ const Z = U[0];
35711
35708
  this.currentEditableAreaHeight = Z.borderBoxSize[0].blockSize;
35712
- }), this.sourceResizeObserver = new ResizeObserver(($) => {
35713
- const Z = $[0];
35709
+ }), this.sourceResizeObserver = new ResizeObserver((U) => {
35710
+ const Z = U[0];
35714
35711
  this.currentSourceAreaHeight = Z.borderBoxSize[0].blockSize, this.editor.editing.view.getDomRoot().nextSibling.style.height = `${Z.borderBoxSize[0].blockSize}px`;
35715
- }), this.mutationObserver = new MutationObserver(($) => {
35716
- for (const Z of $) {
35712
+ }), this.mutationObserver = new MutationObserver((U) => {
35713
+ for (const Z of U) {
35717
35714
  const X = Z.addedNodes;
35718
35715
  if (X?.length) {
35719
- const xe = Array.from(X).find((je) => je.classList.contains("ck-alignment-dropdown"));
35720
- xe && this.configureAlignmentTooltips(xe.parentElement);
35716
+ const ye = Array.from(X).find((je) => je.classList.contains("ck-alignment-dropdown"));
35717
+ ye && this.configureAlignmentTooltips(ye.parentElement);
35721
35718
  }
35722
35719
  }
35723
- }), this.editorType = "html", this.mentionFields = [], this.intlTextPlaceHolder = "", this.intlExpressionsGroupHeading = "", this.intlFieldsGroupHeading = "", this.currentLanguage = "en", this.canResizeVertically = !1, this.groupFieldsAndExpressions = !1, this.arcgisCkeditor5Created = ei(), this.arcgisCkeditor5DataUpdated = ei(), this.arcgisCkeditor5SourceEditingChanged = ei(), this.arcgisCreated = ei(), this.arcgisDataUpdated = ei(), this.arcgisSourceEditingChanged = ei(), this.listen("input", ($) => {
35724
- $.target === this.sourceTextarea && this.editor.plugins.get("SourceEditing").updateEditorData();
35720
+ }), this.editorType = "html", this.mentionFields = [], this.intlTextPlaceHolder = "", this.intlExpressionsGroupHeading = "", this.intlFieldsGroupHeading = "", this.currentLanguage = "en", this.canResizeVertically = !1, this.groupFieldsAndExpressions = !1, this.arcgisCkeditor5Created = ei(), this.arcgisCkeditor5DataUpdated = ei(), this.arcgisCkeditor5SourceEditingChanged = ei(), this.arcgisCreated = ei(), this.arcgisDataUpdated = ei(), this.arcgisSourceEditingChanged = ei(), this.listen("input", (U) => {
35721
+ U.target === this.sourceTextarea && this.editor.plugins.get("SourceEditing").updateEditorData();
35725
35722
  });
35726
35723
  }
35727
35724
  static {
@@ -35734,8 +35731,8 @@ class MB extends bB {
35734
35731
  this.shadowRootOptions = wB;
35735
35732
  }
35736
35733
  get propClass() {
35737
- const $ = this.readOnly ? "readOnly" : this.canResizeVertically ? "resizable" : "", Z = this.editor?.config.codeBlock?.languages, X = Z?.length === 1 && Z[0].language === "plaintext" ? "generic-code-blocks" : "";
35738
- return [$, X].join(" ").trim();
35734
+ const U = this.readOnly ? "readOnly" : this.canResizeVertically ? "resizable" : "", Z = this.editor?.config.codeBlock?.languages, X = Z?.length === 1 && Z[0].language === "plaintext" ? "generic-code-blocks" : "";
35735
+ return [U, X].join(" ").trim();
35739
35736
  }
35740
35737
  get baseEditor() {
35741
35738
  return this.editorType === "html" ? ua.HTMLEditor : ua.MarkdownEditor;
@@ -35744,7 +35741,7 @@ class MB extends bB {
35744
35741
  return this.baseEditor.defaultConfig;
35745
35742
  }
35746
35743
  get additionalConfig() {
35747
- const $ = this.getFields.bind(this), Z = this.customItemRenderer.bind(this);
35744
+ const U = this.getFields.bind(this), Z = this.customItemRenderer.bind(this);
35748
35745
  return {
35749
35746
  language: this.actualLanguage,
35750
35747
  mention: {
@@ -35752,7 +35749,7 @@ class MB extends bB {
35752
35749
  feeds: [
35753
35750
  {
35754
35751
  marker: "{",
35755
- feed: $,
35752
+ feed: U,
35756
35753
  itemRenderer: Z
35757
35754
  }
35758
35755
  ]
@@ -35768,19 +35765,19 @@ class MB extends bB {
35768
35765
  }, 100);
35769
35766
  }
35770
35767
  async load() {
35771
- let $ = this.currentLanguage.toLowerCase(), Z = U_.find((X) => X === $);
35772
- if (!Z && $.includes("-") && ($ = $.substring(0, $.indexOf("-")), Z = U_.find((X) => X === $)), this.actualLanguage = Z || "en", this.actualLanguage !== "en") {
35768
+ let U = this.currentLanguage.toLowerCase(), Z = U_.find((X) => X === U);
35769
+ if (!Z && U.includes("-") && (U = U.substring(0, U.indexOf("-")), Z = U_.find((X) => X === U)), this.actualLanguage = Z || "en", this.actualLanguage !== "en") {
35773
35770
  const X = fB(`./assets/ckeditor5/translations/${this.actualLanguage}.js`);
35774
35771
  try {
35775
- const xe = await fetch(X);
35776
- xe.ok && (this.languageScript = document.createElement("script"), this.languageScript.type = "text/javascript", this.languageScript.text = await xe.text());
35777
- } catch (xe) {
35778
- console.error("Error loading language file:", xe);
35772
+ const ye = await fetch(X);
35773
+ ye.ok && (this.languageScript = document.createElement("script"), this.languageScript.type = "text/javascript", this.languageScript.text = await ye.text());
35774
+ } catch (ye) {
35775
+ console.error("Error loading language file:", ye);
35779
35776
  }
35780
35777
  }
35781
35778
  }
35782
- willUpdate($) {
35783
- $.has("textData") && this.updateData(this.textData), $.has("readOnly") && this.readOnlyWatcher(), !this.hasUpdated && this.editor && (this.editor.config._config.FieldExpression = this.customConfig.FieldExpression, this.editor.config._config.ArcgisColorPicker = this.customConfig.ArcgisColorPicker);
35779
+ willUpdate(U) {
35780
+ U.has("textData") && this.updateData(this.textData), U.has("readOnly") && this.readOnlyWatcher(), !this.hasUpdated && this.editor && (this.editor.config._config.FieldExpression = this.customConfig.FieldExpression, this.editor.config._config.ArcgisColorPicker = this.customConfig.ArcgisColorPicker);
35784
35781
  }
35785
35782
  loaded() {
35786
35783
  (this.actualLanguage === "en" || this.languageScript) && this.createEditor();
@@ -35788,16 +35785,16 @@ class MB extends bB {
35788
35785
  disconnectedCallback() {
35789
35786
  super.disconnectedCallback(), this.canResizeVertically && (this.resizeObserver.unobserve(this.editor.ui.view.editable.element), this.sourceResizeObserver.disconnect()), this.mutationObserver.disconnect();
35790
35787
  }
35791
- updateData($) {
35792
- this.editor?.setData($);
35788
+ updateData(U) {
35789
+ this.editor?.setData(U);
35793
35790
  }
35794
35791
  readOnlyWatcher() {
35795
35792
  this.updateReadOnlyStatus();
35796
35793
  }
35797
35794
  async createEditor() {
35798
- const $ = this.editorType === "html" ? ua.HTMLEditor : ua.MarkdownEditor, Z = { ...this.baseConfig, ...this.additionalConfig, ...this.customConfig };
35795
+ const U = this.editorType === "html" ? ua.HTMLEditor : ua.MarkdownEditor, Z = { ...this.baseConfig, ...this.additionalConfig, ...this.customConfig };
35799
35796
  try {
35800
- const X = await $.create(this.textAreaElement.value, Z);
35797
+ const X = await U.create(this.textAreaElement.value, Z);
35801
35798
  this.editor = X, this.editor.model.document.on("change:data", async () => {
35802
35799
  this.arcgisCkeditor5DataUpdated.emit(await this.getData()), this.arcgisDataUpdated.emit(await this.getData());
35803
35800
  }), this.editor.setData(this.textData ?? ""), this.configureReadOnlySettings(), this.configureSourceEditing(), this.canResizeVertically && this.configureResizing(), this.arcgisCkeditor5Created.emit(this.el), this.arcgisCreated.emit(this.el), this.setUpTooltipReconfiguring();
@@ -35811,20 +35808,20 @@ class MB extends bB {
35811
35808
  });
35812
35809
  }
35813
35810
  configureReadOnlySettings() {
35814
- const $ = this.editor.ui.view.toolbar.element;
35815
- this.editor.on("change:isReadOnly", (Z, X, xe) => {
35816
- $.style.display = xe ? "none" : "flex";
35811
+ const U = this.editor.ui.view.toolbar.element;
35812
+ this.editor.on("change:isReadOnly", (Z, X, ye) => {
35813
+ U.style.display = ye ? "none" : "flex";
35817
35814
  }), this.updateReadOnlyStatus();
35818
35815
  }
35819
35816
  setUpTooltipReconfiguring() {
35820
35817
  this.configureAlignmentTooltips(this.el);
35821
- const $ = this.el.querySelector(".ck-toolbar__grouped-dropdown");
35822
- $ && $.addEventListener("click", () => this.configureAlignmentTooltips($));
35818
+ const U = this.el.querySelector(".ck-toolbar__grouped-dropdown");
35819
+ U && U.addEventListener("click", () => this.configureAlignmentTooltips(U));
35823
35820
  const Z = this.el.querySelector(".ck-toolbar__items");
35824
35821
  Z && this.mutationObserver.observe(Z, { childList: !0 });
35825
35822
  }
35826
- configureAlignmentTooltips($) {
35827
- const Z = xB(this.el), X = $?.querySelector(".ck-alignment-dropdown");
35823
+ configureAlignmentTooltips(U) {
35824
+ const Z = xB(this.el), X = U?.querySelector(".ck-alignment-dropdown");
35828
35825
  X && X.addEventListener("click", () => {
35829
35826
  X.querySelectorAll(".ck-button").forEach((je) => {
35830
35827
  const L = window.innerWidth - X.getBoundingClientRect().right, rn = X.getBoundingClientRect().left;
@@ -35836,9 +35833,9 @@ class MB extends bB {
35836
35833
  this.readOnly ? this.editor?.enableReadOnlyMode("isReadOnlyProp") : this.editor?.disableReadOnlyMode("isReadOnlyProp");
35837
35834
  }
35838
35835
  configureSourceEditing() {
35839
- const $ = this.editor.plugins.get("SourceEditing");
35840
- $ && $?.on("change:isSourceEditingMode", () => {
35841
- const Z = $?.isSourceEditingMode;
35836
+ const U = this.editor.plugins.get("SourceEditing");
35837
+ U && U?.on("change:isSourceEditingMode", () => {
35838
+ const Z = U?.isSourceEditingMode;
35842
35839
  if (this.arcgisCkeditor5SourceEditingChanged.emit(Z), this.arcgisSourceEditingChanged.emit(Z), Z) {
35843
35840
  const X = this.editor.editing.view.getDomRoot()?.nextSibling;
35844
35841
  this.sourceTextarea = this.editor.editing.view.getDomRoot()?.nextSibling?.firstChild, this.canResizeVertically && (X.style.height = `${this.currentEditableAreaHeight}px`, this.sourceTextarea.style.height = `${this.currentEditableAreaHeight}px`, this.sourceResizeObserver.observe(this.editor.editing.view.getDomRoot()?.nextSibling?.firstChild));
@@ -35848,55 +35845,55 @@ class MB extends bB {
35848
35845
  }
35849
35846
  updateMentionHeadings() {
35850
35847
  this.removeMentionHeadings();
35851
- const $ = this.intlExpressionsGroupHeading, Z = this.intlFieldsGroupHeading;
35852
- this.addMentionHeading("[data-first-expression]", $), this.addMentionHeading("[data-first-field]", Z);
35848
+ const U = this.intlExpressionsGroupHeading, Z = this.intlFieldsGroupHeading;
35849
+ this.addMentionHeading("[data-first-expression]", U), this.addMentionHeading("[data-first-field]", Z);
35853
35850
  }
35854
35851
  removeMentionHeadings() {
35855
35852
  document.querySelectorAll(`.${cr.arcgisAppCkeditorMentionHeader}`).forEach((Z) => Z.remove());
35856
35853
  }
35857
- addMentionHeading($, Z) {
35858
- const X = document.querySelector($);
35854
+ addMentionHeading(U, Z) {
35855
+ const X = document.querySelector(U);
35859
35856
  if (X) {
35860
- const xe = document.createElement("div");
35861
- xe.setAttribute("class", cr.arcgisAppCkeditorMentionHeader), xe.textContent = Z, X.parentElement?.insertAdjacentElement("beforebegin", xe);
35857
+ const ye = document.createElement("div");
35858
+ ye.setAttribute("class", cr.arcgisAppCkeditorMentionHeader), ye.textContent = Z, X.parentElement?.insertAdjacentElement("beforebegin", ye);
35862
35859
  }
35863
35860
  }
35864
- getFields($) {
35865
- const Z = this.isItemMatching.bind(this, $);
35861
+ getFields(U) {
35862
+ const Z = this.isItemMatching.bind(this, U);
35866
35863
  return new Promise((X) => {
35867
35864
  setTimeout(() => {
35868
- const xe = this.mentionFields?.filter(Z), je = xe?.filter((v) => this.isExpression(v)), L = xe?.filter((v) => !this.isExpression(v));
35865
+ const ye = this.mentionFields?.filter(Z), je = ye?.filter((v) => this.isExpression(v)), L = ye?.filter((v) => !this.isExpression(v));
35869
35866
  je.length && (je[0].isFirstExpression = !0), L.length && (L[0].isFirstField = !0);
35870
35867
  const rn = je.concat(L);
35871
35868
  this.groupFieldsAndExpressions && setTimeout(() => this.updateMentionHeadings(), 10), X(rn);
35872
35869
  }, 100);
35873
35870
  });
35874
35871
  }
35875
- isItemMatching($, Z) {
35876
- const X = $.toLowerCase();
35872
+ isItemMatching(U, Z) {
35873
+ const X = U.toLowerCase();
35877
35874
  return Z.name.toLowerCase().includes(X) || Z.id.toLowerCase().includes(X);
35878
35875
  }
35879
- customItemRenderer($) {
35876
+ customItemRenderer(U) {
35880
35877
  const Z = document.createElement("div");
35881
- Z.setAttribute("class", `custom-item ${cr.arcgisAppCkeditorMentionItemContainer}`), $.isFirstExpression && Z.setAttribute("data-first-expression", ""), $.isFirstField && Z.setAttribute("data-first-field", "");
35878
+ Z.setAttribute("class", `custom-item ${cr.arcgisAppCkeditorMentionItemContainer}`), U.isFirstExpression && Z.setAttribute("data-first-expression", ""), U.isFirstField && Z.setAttribute("data-first-field", "");
35882
35879
  const X = document.createElement("div");
35883
- return X.setAttribute("class", cr.arcgisAppCkeditorMentionItem), Z.appendChild(X), X.innerHTML = `<span class="heading">${$.name}</span><span class="summary">${$.id}</span>`, Z.id = `mention-list-item-id-${$.id}`, Z.appendChild(X), Z;
35880
+ return X.setAttribute("class", cr.arcgisAppCkeditorMentionItem), Z.appendChild(X), X.innerHTML = `<span class="heading">${U.name}</span><span class="summary">${U.id}</span>`, Z.id = `mention-list-item-id-${U.id}`, Z.appendChild(X), Z;
35884
35881
  }
35885
35882
  postProcessCkeditorHtml() {
35886
- const $ = this.editor.getData(), Z = this.sanitizer.sanitize($), X = document.createElement("div");
35883
+ const U = this.editor.getData(), Z = this.sanitizer.sanitize(U), X = document.createElement("div");
35887
35884
  X.innerHTML = Z;
35888
- const xe = X.querySelectorAll("span.mention");
35889
- for (let je = 0; je < xe.length; ++je) {
35890
- const L = document.createTextNode(xe[je].textContent ?? "");
35891
- xe[je].parentNode?.replaceChild(L, xe[je]);
35885
+ const ye = X.querySelectorAll("span.mention");
35886
+ for (let je = 0; je < ye.length; ++je) {
35887
+ const L = document.createTextNode(ye[je].textContent ?? "");
35888
+ ye[je].parentNode?.replaceChild(L, ye[je]);
35892
35889
  }
35893
35890
  return X.innerHTML;
35894
35891
  }
35895
- isExpression($) {
35896
- return this.customExpressionCheck ? this.customExpressionCheck($) : this.defaultExpressionCheck($);
35892
+ isExpression(U) {
35893
+ return this.customExpressionCheck ? this.customExpressionCheck(U) : this.defaultExpressionCheck(U);
35897
35894
  }
35898
- defaultExpressionCheck($) {
35899
- return $.id.includes(DB.expression);
35895
+ defaultExpressionCheck(U) {
35896
+ return U.id.includes(DB.expression);
35900
35897
  }
35901
35898
  render() {
35902
35899
  return yB`${this.actualLanguage !== "en" && this.languageScript || ""}<div class=${`${cr.arcgisAppCkeditor} ${this.propClass}`}><textarea placeholder=${(this.readOnly ? void 0 : this.intlTextPlaceHolder) ?? _B} ${CB(this.textAreaElement)}></textarea></div>`;