@editora/core 1.0.25 → 1.0.27

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.
@@ -195,7 +195,7 @@ class ee {
195
195
  caret-color: var(--editor-foreground, #f8f9fa);
196
196
  tab-size: 2;
197
197
  -moz-tab-size: 2;
198
- `, this.contentElement.contentEditable = "true", this.contentElement.spellcheck = !1, this.contentElement.tabIndex = 0;
198
+ `, this.contentElement.contentEditable = "true", this.contentElement.spellcheck = !1, this.contentElement.tabIndex = 0, this.contentElement.setAttribute("role", "textbox"), this.contentElement.setAttribute("aria-multiline", "true"), this.contentElement.setAttribute("aria-label", "Code editor");
199
199
  const i = document.createElement("div");
200
200
  this.scrollWrapper = i, i.setAttribute("data-editora-editor", "true"), i.style.cssText = `
201
201
  position: relative;
@@ -564,7 +564,11 @@ class ee {
564
564
  }
565
565
  // Set read-only mode
566
566
  setReadOnly(e) {
567
- this.contentElement.contentEditable = e ? "false" : "true";
567
+ this.contentElement.contentEditable = e ? "false" : "true", e ? this.contentElement.setAttribute("aria-readonly", "true") : this.contentElement.removeAttribute("aria-readonly");
568
+ }
569
+ /** The accessible name of the editing surface (what a screen reader calls the editor). */
570
+ setAccessibleName(e) {
571
+ this.contentElement.setAttribute("aria-label", e || "Code editor");
568
572
  }
569
573
  // Apply theme
570
574
  applyTheme(e) {
@@ -939,7 +943,7 @@ class ee {
939
943
  }
940
944
  }
941
945
  let te = 0;
942
- const ie = 200, ne = 1e3, se = 8e3, T = class T {
946
+ const ie = 200, ne = 1e3, se = 8e3, S = class S {
943
947
  constructor(e, t = {}) {
944
948
  this.extensions = /* @__PURE__ */ new Map(), this.commands = /* @__PURE__ */ new Map(), this.eventListeners = /* @__PURE__ */ new Map(), this.folds = [], this.currentTheme = "default", this.isDestroyed = !1, this.undoStack = [], this.redoStack = [], this.suppressHistory = !1, this.highlightTimeout = null, this.expectingProgrammaticCursor = !1, this.lastKnownCursor = { line: 0, column: 0 }, this.typingRun = null, this.editorInstanceId = ++te, this.decorationHighlightStyleId = `editora-decoration-style-${this.editorInstanceId}`, this.decorationHighlightLimit = 1e3, this.decorationLayers = /* @__PURE__ */ new Map(), this.inlineDecorationHighlightNames = /* @__PURE__ */ new Set(), this.decorationRenderRaf = null, this.decorationMutationObserver = null, this.hasCustomDecorationHighlightSupport = !1, this.lastProgrammaticClipboardInsertAt = 0, this.tabReleased = !1, this.config = {
945
949
  value: "",
@@ -949,7 +953,7 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
949
953
  lineWrapping: !1,
950
954
  lineNumbers: !0,
951
955
  ...t
952
- }, this.textModel = new V(this.config.value), this.view = new ee(e), this.view.setTabSize(this.config.tabSize || 2), this.view.setLineWrapping(!!this.config.lineWrapping), this.view.setLineNumbersVisible(this.config.lineNumbers !== !1), this.hasCustomDecorationHighlightSupport = this.detectCustomHighlightSupport(), this.observeDecorationRelevantMutations(), this.setupEventHandlers(), this.config.extensions && this.config.extensions.forEach((i) => this.addExtension(i)), this.setTheme(this.config.theme), this.view.setReadOnly(this.config.readOnly || !1), this.renderTextWithHighlight(this.textModel.getText()), this.registerBuiltInCommands();
956
+ }, this.textModel = new V(this.config.value), this.view = new ee(e), this.view.setTabSize(this.config.tabSize || 2), this.view.setLineWrapping(!!this.config.lineWrapping), this.view.setLineNumbersVisible(this.config.lineNumbers !== !1), this.config.ariaLabel && this.view.setAccessibleName(this.config.ariaLabel), this.hasCustomDecorationHighlightSupport = this.detectCustomHighlightSupport(), this.observeDecorationRelevantMutations(), this.setupEventHandlers(), this.config.extensions && this.config.extensions.forEach((i) => this.addExtension(i)), this.setTheme(this.config.theme), this.view.setReadOnly(this.config.readOnly || !1), this.renderTextWithHighlight(this.textModel.getText()), this.registerBuiltInCommands();
953
957
  }
954
958
  // Public accessors for extensions
955
959
  getTextModel() {
@@ -993,12 +997,12 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
993
997
  return;
994
998
  }
995
999
  if (!t.isComposing) {
996
- const i = T.deletionUnit(t.inputType, "Backward");
1000
+ const i = S.deletionUnit(t.inputType, "Backward");
997
1001
  if (i) {
998
1002
  t.preventDefault(), this.pendingInputSnapshot = void 0, this.deleteBackward(i);
999
1003
  return;
1000
1004
  }
1001
- const n = T.deletionUnit(t.inputType, "Forward");
1005
+ const n = S.deletionUnit(t.inputType, "Forward");
1002
1006
  if (n) {
1003
1007
  t.preventDefault(), this.pendingInputSnapshot = void 0, this.deleteForward(n);
1004
1008
  return;
@@ -1029,7 +1033,7 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1029
1033
  const t = this.view.getText(), i = this.textModel.getText();
1030
1034
  if (t !== i) {
1031
1035
  if (!this.suppressHistory) {
1032
- const s = T.describeEdit(i, t);
1036
+ const s = S.describeEdit(i, t);
1033
1037
  this.recordUndoStep(
1034
1038
  (n = this.pendingInputSnapshot) != null ? n : this.captureHistorySnapshot(i),
1035
1039
  s.removedLength,
@@ -1171,20 +1175,29 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1171
1175
  // Configuration
1172
1176
  setTheme(e) {
1173
1177
  this.currentTheme = e;
1174
- const t = {
1175
- "editor-background": e === "dark" ? "#1e1e1e" : "#ffffff",
1176
- "editor-foreground": e === "dark" ? "#f8f9fa" : "#1a1a1a",
1177
- "editor-gutter-background": e === "dark" ? "#252526" : "#f8f9fa",
1178
- "editor-gutter-foreground": e === "dark" ? "#858585" : "#666666",
1179
- "editor-gutter-border": e === "dark" ? "#3e3e42" : "#e1e5e9"
1178
+ const t = e === "dark", i = {
1179
+ "editor-background": t ? "#1e1e1e" : "#ffffff",
1180
+ "editor-foreground": t ? "#f8f9fa" : "#1a1a1a",
1181
+ "editor-gutter-background": t ? "#252526" : "#f8f9fa",
1182
+ // muted text must read on the editor and on a tinted (active, hovered) row: 4.5:1 or better
1183
+ "editor-gutter-foreground": t ? "#a6a6ab" : "#5c6066",
1184
+ "editor-gutter-border": t ? "#3e3e42" : "#e1e5e9",
1185
+ // overlays (completion, find, go to line, menus): a raised surface with a hairline and a soft shadow
1186
+ "editor-surface": t ? "#262629" : "#ffffff",
1187
+ "editor-surface-hover": t ? "#2f2f34" : "#f3f4f6",
1188
+ "editor-border-strong": t ? "#505057" : "#cfd4da",
1189
+ "editor-accent": t ? "#4da3ff" : "#0b63c4",
1190
+ "editor-accent-soft": t ? "rgba(77, 163, 255, 0.16)" : "rgba(11, 99, 196, 0.10)",
1191
+ "editor-accent-contrast": t ? "#0b1b2b" : "#ffffff",
1192
+ "editor-shadow": t ? "0 12px 32px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35)" : "0 12px 32px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08)"
1180
1193
  };
1181
- this.view.applyTheme(t);
1182
- const i = this.extensions.get("syntax-highlighting");
1183
- if (i && typeof i.setTheme == "function")
1194
+ this.view.applyTheme(i);
1195
+ const n = this.extensions.get("syntax-highlighting");
1196
+ if (n && typeof n.setTheme == "function")
1184
1197
  try {
1185
- i.setTheme(e === "dark" ? "dark" : "light"), this.renderTextWithHighlight(this.textModel.getText());
1186
- } catch (n) {
1187
- console.warn("Error applying theme to syntax-highlighting extension", n);
1198
+ n.setTheme(e === "dark" ? "dark" : "light"), this.renderTextWithHighlight(this.textModel.getText());
1199
+ } catch (s) {
1200
+ console.warn("Error applying theme to syntax-highlighting extension", s);
1188
1201
  }
1189
1202
  }
1190
1203
  setReadOnly(e) {
@@ -1305,7 +1318,7 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1305
1318
  let n = 0;
1306
1319
  for (let s = 0; s < e.length; s++) {
1307
1320
  const r = e[s];
1308
- r === "​" || r === T.CURSOR_SENTINEL || (t.push(r), n += 1, i[n] = s + 1);
1321
+ r === "​" || r === S.CURSOR_SENTINEL || (t.push(r), n += 1, i[n] = s + 1);
1309
1322
  }
1310
1323
  return i[n] = e.length, {
1311
1324
  normalizedText: t.join(""),
@@ -1389,8 +1402,8 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1389
1402
  return;
1390
1403
  }
1391
1404
  if (r && (l !== void 0 || a !== void 0)) {
1392
- const g = l !== void 0 ? l : o, p = a !== void 0 ? a : o, m = Math.min(g, p), y = Math.max(g, p), v = this.textModel.offsetToPosition(m), S = this.textModel.offsetToPosition(y);
1393
- this.view.setSelectionRange({ start: v, end: S });
1405
+ const g = l !== void 0 ? l : o, p = a !== void 0 ? a : o, m = Math.min(g, p), y = Math.max(g, p), T = this.textModel.offsetToPosition(m), v = this.textModel.offsetToPosition(y);
1406
+ this.view.setSelectionRange({ start: T, end: v });
1394
1407
  } else if (o !== void 0) {
1395
1408
  const g = this.textModel.offsetToPosition(o);
1396
1409
  this.view.setCursorPosition(g);
@@ -1422,19 +1435,19 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1422
1435
  return n.selectNodeContents(i), n.setEnd(t.endContainer, t.endOffset), this.stripVirtualMarkers(n.toString()).length;
1423
1436
  }
1424
1437
  stripVirtualMarkers(e) {
1425
- return e.replace(/\u200B/g, "").split(T.CURSOR_SENTINEL).join("");
1438
+ return e.replace(/\u200B/g, "").split(S.CURSOR_SENTINEL).join("");
1426
1439
  }
1427
1440
  insertSentinelAtOffset(e, t) {
1428
1441
  const i = Math.max(0, Math.min(t, e.length));
1429
- return e.slice(0, i) + T.CURSOR_SENTINEL + e.slice(i);
1442
+ return e.slice(0, i) + S.CURSOR_SENTINEL + e.slice(i);
1430
1443
  }
1431
1444
  restoreCursorFromSentinel() {
1432
1445
  var o;
1433
1446
  const e = this.view.getContentElement(), t = window.getSelection(), i = document.createTreeWalker(e, NodeFilter.SHOW_TEXT);
1434
1447
  let n = i.nextNode(), s = null, r = 0;
1435
1448
  for (; n; ) {
1436
- const l = (o = n.textContent) != null ? o : "", a = l.indexOf(T.CURSOR_SENTINEL);
1437
- a !== -1 && (s || (s = n, r = a), n.textContent = l.split(T.CURSOR_SENTINEL).join("")), n = i.nextNode();
1449
+ const l = (o = n.textContent) != null ? o : "", a = l.indexOf(S.CURSOR_SENTINEL);
1450
+ a !== -1 && (s || (s = n, r = a), n.textContent = l.split(S.CURSOR_SENTINEL).join("")), n = i.nextNode();
1438
1451
  }
1439
1452
  if (!s || !t) return !1;
1440
1453
  try {
@@ -1505,18 +1518,18 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1505
1518
  `, a), c = h === -1 ? t.length : h, d = t.slice(l, c).split(`
1506
1519
  `);
1507
1520
  let f = 0, u = 0;
1508
- const g = d.map((y, v) => {
1509
- let S = y;
1521
+ const g = d.map((y, T) => {
1522
+ let v = y;
1510
1523
  if (!e)
1511
- S = y.length === 0 ? y : o + y;
1524
+ v = y.length === 0 ? y : o + y;
1512
1525
  else if (y.startsWith(" "))
1513
- S = y.slice(1);
1526
+ v = y.slice(1);
1514
1527
  else {
1515
1528
  const C = /^ */.exec(y)[0].length;
1516
- S = y.slice(Math.min(C, o.length));
1529
+ v = y.slice(Math.min(C, o.length));
1517
1530
  }
1518
- const w = S.length - y.length;
1519
- return v === 0 && (f = w), u += w, S;
1531
+ const w = v.length - y.length;
1532
+ return T === 0 && (f = w), u += w, v;
1520
1533
  });
1521
1534
  if (u === 0) return !0;
1522
1535
  this.replaceOffsetsWithText(l, c, g.join(`
@@ -1618,7 +1631,7 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1618
1631
  * start a new step.
1619
1632
  */
1620
1633
  recordUndoStep(e, t, i, n) {
1621
- const s = T.typingKind(t, i), r = Date.now(), o = s === "insert" && /\s/.test(i), l = this.typingRun;
1634
+ const s = S.typingKind(t, i), r = Date.now(), o = s === "insert" && /\s/.test(i), l = this.typingRun;
1622
1635
  if (s && l && l.kind === s && !l.closed && l.endText === e.text && r - l.updatedAt <= ne && r - l.startedAt <= se) {
1623
1636
  l.endText = n, l.updatedAt = r, o && (l.closed = !0);
1624
1637
  return;
@@ -1773,21 +1786,21 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1773
1786
  if (e === "backward") {
1774
1787
  if (r === 0)
1775
1788
  return;
1776
- const a = T.deletionBoundary(i, r, "backward", t);
1789
+ const a = S.deletionBoundary(i, r, "backward", t);
1777
1790
  this.replaceOffsetsWithText(a, r, "");
1778
1791
  return;
1779
1792
  }
1780
1793
  if (o >= i.length)
1781
1794
  return;
1782
- const l = T.deletionBoundary(i, o, "forward", t);
1795
+ const l = S.deletionBoundary(i, o, "forward", t);
1783
1796
  this.replaceOffsetsWithText(o, l, "");
1784
1797
  }
1785
1798
  static getGraphemeSegmenter() {
1786
- if (T.graphemeSegmenter === void 0) {
1799
+ if (S.graphemeSegmenter === void 0) {
1787
1800
  const e = Intl.Segmenter;
1788
- T.graphemeSegmenter = e ? new e(void 0, { granularity: "grapheme" }) : null;
1801
+ S.graphemeSegmenter = e ? new e(void 0, { granularity: "grapheme" }) : null;
1789
1802
  }
1790
- return T.graphemeSegmenter;
1803
+ return S.graphemeSegmenter;
1791
1804
  }
1792
1805
  /**
1793
1806
  * Where a deletion of `unit` starting at `offset` ends. Characters are whole grapheme
@@ -1836,7 +1849,7 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1836
1849
  const d = e.lastIndexOf(`
1837
1850
  `, t - 1) + 1;
1838
1851
  if (d === t) return t - 1;
1839
- const f = T.getGraphemeSegmenter();
1852
+ const f = S.getGraphemeSegmenter();
1840
1853
  if (f) {
1841
1854
  let p = 1;
1842
1855
  for (const { segment: m } of f.segment(e.slice(d, t))) p = m.length;
@@ -1848,7 +1861,7 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
1848
1861
  if (e[t] === `
1849
1862
  `) return t + 1;
1850
1863
  const o = e.indexOf(`
1851
- `, t), l = o === -1 ? e.length : o, a = T.getGraphemeSegmenter();
1864
+ `, t), l = o === -1 ? e.length : o, a = S.getGraphemeSegmenter();
1852
1865
  if (a) {
1853
1866
  for (const { segment: d } of a.segment(e.slice(t, l))) return t + d.length;
1854
1867
  return t + 1;
@@ -2066,8 +2079,8 @@ const ie = 200, ne = 1e3, se = 8e3, T = class T {
2066
2079
  };
2067
2080
  }
2068
2081
  };
2069
- T.CURSOR_SENTINEL = "";
2070
- let z = T;
2082
+ S.CURSOR_SENTINEL = "";
2083
+ let B = S;
2071
2084
  class re {
2072
2085
  constructor(e) {
2073
2086
  this.name = "keymap", this.editor = null, this.keymap = {}, this.isMac = navigator.platform.toUpperCase().indexOf("MAC") >= 0, this.keymap = e || this.getDefaultKeymap();
@@ -2142,7 +2155,7 @@ class re {
2142
2155
  this.keymap = {}, this.editor = null;
2143
2156
  }
2144
2157
  }
2145
- const D = class D {
2158
+ const N = class N {
2146
2159
  constructor() {
2147
2160
  this.name = "transaction", this.transactions = [];
2148
2161
  }
@@ -2154,9 +2167,9 @@ const D = class D {
2154
2167
  effects: [],
2155
2168
  annotations: []
2156
2169
  };
2157
- this.transactions.push(i), this.transactions.length > D.MAX_TRANSACTIONS && this.transactions.splice(
2170
+ this.transactions.push(i), this.transactions.length > N.MAX_TRANSACTIONS && this.transactions.splice(
2158
2171
  0,
2159
- this.transactions.length - D.MAX_TRANSACTIONS
2172
+ this.transactions.length - N.MAX_TRANSACTIONS
2160
2173
  );
2161
2174
  });
2162
2175
  }
@@ -2167,8 +2180,8 @@ const D = class D {
2167
2180
  this.transactions = [];
2168
2181
  }
2169
2182
  };
2170
- D.MAX_TRANSACTIONS = 200;
2171
- let B = D;
2183
+ N.MAX_TRANSACTIONS = 200;
2184
+ let z = N;
2172
2185
  class oe {
2173
2186
  constructor() {
2174
2187
  this.name = "line-numbers", this.editor = null, this.lineNumbersElement = null, this.isEnabled = !0;
@@ -2292,12 +2305,12 @@ const b = class b {
2292
2305
  this.editorContainerSelector
2293
2306
  ), i = t == null ? void 0 : t.parentElement, n = e.closest(".rte-source-editor-modal") || i || t || e.parentElement;
2294
2307
  if (!n) return;
2295
- window.getComputedStyle(n).position === "static" && (n.style.position = "relative"), this.searchUI = document.createElement("div"), this.searchUI.className = b.css.root, this.searchUI.style.display = "none", this.searchUI.innerHTML = `
2308
+ window.getComputedStyle(n).position === "static" && (n.style.position = "relative"), this.searchUI = document.createElement("div"), this.searchUI.className = b.css.root, this.searchUI.style.display = "none", this.searchUI.setAttribute("role", "search"), this.searchUI.setAttribute("aria-label", "Find and replace"), this.searchUI.innerHTML = `
2296
2309
  <div class="${b.css.row}">
2297
- <input type="text" class="${b.css.findInput} ${b.css.inputBase}" placeholder="Find..." />
2298
- <button class="${b.css.prevButton} ${b.css.buttonBase}" type="button" aria-label="Previous match">↑</button>
2299
- <button class="${b.css.nextButton} ${b.css.buttonBase}" type="button" aria-label="Next match">↓</button>
2300
- <button class="${b.css.closeButton} ${b.css.buttonBase}" type="button" aria-label="Close search">×</button>
2310
+ <input type="text" class="${b.css.findInput} ${b.css.inputBase}" placeholder="Find..." aria-label="Find" autocomplete="off" spellcheck="false" />
2311
+ <button class="${b.css.prevButton} ${b.css.buttonBase}" type="button" aria-label="Previous match" title="Previous match (Shift+Enter)"><svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true" focusable="false"><path d="M4 10l4-4 4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
2312
+ <button class="${b.css.nextButton} ${b.css.buttonBase}" type="button" aria-label="Next match" title="Next match (Enter)"><svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true" focusable="false"><path d="M4 6l4 4 4-4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
2313
+ <button class="${b.css.closeButton} ${b.css.buttonBase}" type="button" aria-label="Close search" title="Close (Esc)"><svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true" focusable="false"><path d="M4 4l8 8M12 4l-8 8" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/></svg></button>
2301
2314
  </div>
2302
2315
  <div class="${b.css.options}">
2303
2316
  <label class="${b.css.optionLabel}" title="Case sensitive">
@@ -2314,10 +2327,10 @@ const b = class b {
2314
2327
  </label>
2315
2328
  </div>
2316
2329
  <div class="${b.css.meta}">
2317
- <div class="${b.css.status} ${b.css.statusLayout}"></div>
2330
+ <div class="${b.css.status} ${b.css.statusLayout}" role="status" aria-live="polite"></div>
2318
2331
  <div class="${b.css.mode} ${b.css.modeLayout}" aria-live="polite"></div>
2319
2332
  </div>
2320
- <input type="text" class="${b.css.replaceInput} ${b.css.inputBase} ${b.css.replaceInputLayout}" placeholder="Replace with..." />
2333
+ <input type="text" class="${b.css.replaceInput} ${b.css.inputBase} ${b.css.replaceInputLayout}" placeholder="Replace with..." aria-label="Replace with" autocomplete="off" spellcheck="false" />
2321
2334
  `;
2322
2335
  const s = this.searchUI.querySelector(
2323
2336
  `.${b.css.findInput}`
@@ -2454,10 +2467,10 @@ const b = class b {
2454
2467
  if (h) {
2455
2468
  const c = l.getClientRects()[0] || l.getBoundingClientRect(), d = h.getBoundingClientRect(), u = h.scrollTop + (c.top - d.top) - d.height / 2 + c.height / 2, g = 18;
2456
2469
  let p = t ? u : h.scrollTop, m = h.scrollLeft;
2457
- const y = h.scrollLeft + (c.left - d.left), v = y + c.width;
2458
- c.right > d.right - g ? m = v - d.width + g : c.left < d.left + g && (m = Math.max(0, y - g));
2459
- const S = Math.max(0, h.scrollHeight - h.clientHeight), w = Math.max(0, h.scrollWidth - h.clientWidth);
2460
- if (p = Math.min(S, Math.max(0, p)), m = Math.min(w, Math.max(0, m)), S === 0 && w === 0) {
2470
+ const y = h.scrollLeft + (c.left - d.left), T = y + c.width;
2471
+ c.right > d.right - g ? m = T - d.width + g : c.left < d.left + g && (m = Math.max(0, y - g));
2472
+ const v = Math.max(0, h.scrollHeight - h.clientHeight), w = Math.max(0, h.scrollWidth - h.clientWidth);
2473
+ if (p = Math.min(v, Math.max(0, p)), m = Math.min(w, Math.max(0, m)), v === 0 && w === 0) {
2461
2474
  a == null || a.scrollIntoView({
2462
2475
  block: t ? "center" : "nearest",
2463
2476
  inline: "nearest",
@@ -3299,7 +3312,7 @@ class ue {
3299
3312
  }
3300
3313
  createFoldIndicator(e, t, i) {
3301
3314
  const n = document.createElement("button");
3302
- return n.type = "button", n.style.cssText = `
3315
+ n.type = "button", n.style.cssText = `
3303
3316
  position: absolute;
3304
3317
  left: 0;
3305
3318
  top: ${t * this.lineHeight}px;
@@ -3314,12 +3327,13 @@ class ue {
3314
3327
  background: transparent;
3315
3328
  border: none;
3316
3329
  padding: 0;
3317
- font-size: 10px;
3318
3330
  user-select: none;
3319
- `, n.textContent = i ? "▶" : "▼", n.title = i ? "Expand folded region" : "Collapse region", n.setAttribute("aria-label", n.title), n.addEventListener("mousedown", (s) => {
3320
- s.preventDefault();
3321
- }), n.addEventListener("click", (s) => {
3322
- s.preventDefault(), s.stopPropagation(), this.toggleFold(e);
3331
+ `, n.className = "lce-fold-toggle";
3332
+ const s = document.createElement("span");
3333
+ return s.className = "lce-fold-chevron", s.dataset.state = i ? "closed" : "open", s.setAttribute("aria-hidden", "true"), n.appendChild(s), n.title = i ? "Expand folded region" : "Collapse region", n.setAttribute("aria-label", n.title), n.setAttribute("aria-expanded", String(!i)), n.addEventListener("mousedown", (r) => {
3334
+ r.preventDefault();
3335
+ }), n.addEventListener("click", (r) => {
3336
+ r.preventDefault(), r.stopPropagation(), this.toggleFold(e);
3323
3337
  }), n;
3324
3338
  }
3325
3339
  toggleFold(e) {
@@ -3884,8 +3898,8 @@ class ge {
3884
3898
  }
3885
3899
  let c = 0;
3886
3900
  return a = a.replace(/(&lt;script\b([^&>]*)&gt;)([\s\S]*?)(&lt;\/script&gt;)/gi, (d, f, u, g, p) => {
3887
- var v, S, w;
3888
- const m = (S = (v = h[c++]) == null ? void 0 : v.inner) != null ? S : this.unescapeEntitiesRepeated(g || "");
3901
+ var T, v, w;
3902
+ const m = (v = (T = h[c++]) == null ? void 0 : T.inner) != null ? v : this.unescapeEntitiesRepeated(g || "");
3889
3903
  (((w = h[c - 1]) == null ? void 0 : w.attrs) || u || "").toLowerCase();
3890
3904
  const y = this._highlightJS(m, i);
3891
3905
  return `${f}${y}${p}`;
@@ -3903,17 +3917,17 @@ class ge {
3903
3917
  let y = g;
3904
3918
  return y = y.replace(
3905
3919
  /([\w:-]+)(\s*=\s*)((&quot;[\s\S]*?&quot;|&#39;[\s\S]*?&#39;|[^\s&>]+))/g,
3906
- (v, S, w, C) => {
3907
- const L = String(S).toLowerCase(), I = `<span style="color: ${i.attrName};">${S}</span>`;
3920
+ (T, v, w, C) => {
3921
+ const L = String(v).toLowerCase(), I = `<span style="color: ${i.attrName};">${v}</span>`;
3908
3922
  let O = C, M = "";
3909
3923
  C.startsWith("&quot;") && C.endsWith("&quot;") ? (O = C.slice(6, -6), M = "&quot;") : C.startsWith("&#39;") && C.endsWith("&#39;") && (O = C.slice(5, -5), M = "&#39;");
3910
- let R = C;
3924
+ let E = C;
3911
3925
  if (L === "style") {
3912
- const A = O.replace(/([\w-]+)\s*:\s*([^;]+)(;?)/g, (N, k, F, H) => `<span style="color: ${i.styleProp};">${k}</span>:<span style="color: ${i.styleVal};">${F}</span>${H}`);
3913
- M ? R = `${M}${A}${M}` : R = A, R = `<span style="color: ${i.attrValue};">${R}</span>`;
3926
+ const A = O.replace(/([\w-]+)\s*:\s*([^;]+)(;?)/g, (D, k, F, H) => `<span style="color: ${i.styleProp};">${k}</span>:<span style="color: ${i.styleVal};">${F}</span>${H}`);
3927
+ M ? E = `${M}${A}${M}` : E = A, E = `<span style="color: ${i.attrValue};">${E}</span>`;
3914
3928
  } else
3915
- M && (R = `${M}${O}${M}`), R = `<span style="color: ${i.attrValue};">${R}</span>`;
3916
- return `${I}${w}${R}`;
3929
+ M && (E = `${M}${O}${M}`), E = `<span style="color: ${i.attrValue};">${E}</span>`;
3930
+ return `${I}${w}${E}`;
3917
3931
  }
3918
3932
  ), `${f}${m}${y}${p}`;
3919
3933
  }), a = a.replace(/\u0002ht(\d+)\u0002/g, (d, f) => o[Number(f)] || ""), this.restoreHighlightTokens(a, s);
@@ -4006,10 +4020,10 @@ class ge {
4006
4020
  (p, m, y) => `<span style="color: ${t.comment};">${m}</span>${y}`
4007
4021
  ), g = g.replace(
4008
4022
  /^(\s*)([-*+])(\s+\[[ xX]\])(\s+)/,
4009
- (p, m, y, v, S) => `${m}<span style="color: ${t.keyword};">${y}</span><span style="color: ${t.attrName};">${v}</span>${S}`
4023
+ (p, m, y, T, v) => `${m}<span style="color: ${t.keyword};">${y}</span><span style="color: ${t.attrName};">${T}</span>${v}`
4010
4024
  ), g = g.replace(
4011
4025
  /^(\s*)([-*+]|\d+\.)(\s+)/,
4012
- (p, m, y, v) => `${m}<span style="color: ${t.keyword};">${y}</span>${v}`
4026
+ (p, m, y, T) => `${m}<span style="color: ${t.keyword};">${y}</span>${T}`
4013
4027
  ), g = g.replace(
4014
4028
  /^(\s*\|.*\|\s*)$/,
4015
4029
  (p) => p.replace(/\|/g, (m) => `<span style="color: ${t.keyword};">${m}</span>`)
@@ -4243,9 +4257,9 @@ class ge {
4243
4257
  this.editor = null, this.modes.clear();
4244
4258
  }
4245
4259
  }
4246
- function fe(E, e) {
4260
+ function fe(R, e) {
4247
4261
  const t = { ...e };
4248
- return t.extensions || (t.extensions = []), t.extensions.some((s) => s.name === "keymap") || t.extensions.unshift(new re(t.keymap)), t.extensions.some((s) => s.name === "transaction") || t.extensions.unshift(new B()), new z(E, t);
4262
+ return t.extensions || (t.extensions = []), t.extensions.some((s) => s.name === "keymap") || t.extensions.unshift(new re(t.keymap)), t.extensions.some((s) => s.name === "transaction") || t.extensions.unshift(new z()), new B(R, t);
4249
4263
  }
4250
4264
  const P = '[data-theme="dark"], .dark, .editora-theme-dark', pe = `/* Source Editor Dialog Styles */
4251
4265
  .rte-source-editor-overlay {
@@ -4624,7 +4638,7 @@ const P = '[data-theme="dark"], .dark, .editora-theme-dark', pe = `/* Source Edi
4624
4638
  flex: 1;
4625
4639
  text-align: center;
4626
4640
  }
4627
- }`, Se = () => ({
4641
+ }`, ve = () => ({
4628
4642
  name: "code",
4629
4643
  // Toolbar button configuration
4630
4644
  toolbar: [
@@ -4741,10 +4755,10 @@ const P = '[data-theme="dark"], .dark, .editora-theme-dark', pe = `/* Source Edi
4741
4755
  m.className = "rte-source-editor-body";
4742
4756
  const y = document.createElement("div");
4743
4757
  y.className = "rte-source-editor-content";
4758
+ const T = document.createElement("div");
4759
+ T.className = "rte-source-editor-warning", T.textContent = "⚠️ Advanced users only. Invalid HTML may break the editor.";
4744
4760
  const v = document.createElement("div");
4745
- v.className = "rte-source-editor-warning", v.textContent = "⚠️ Advanced users only. Invalid HTML may break the editor.";
4746
- const S = document.createElement("div");
4747
- S.className = "rte-source-editor-light-editor", S.style.height = "400px", y.appendChild(v), y.appendChild(S), m.appendChild(y);
4761
+ v.className = "rte-source-editor-light-editor", v.style.height = "400px", y.appendChild(T), y.appendChild(v), m.appendChild(y);
4748
4762
  const w = document.createElement("div");
4749
4763
  if (w.className = "rte-source-editor-footer", w.innerHTML = `
4750
4764
  <div class="rte-source-editor-footer-info">
@@ -4768,20 +4782,20 @@ const P = '[data-theme="dark"], .dark, .editora-theme-dark', pe = `/* Source Edi
4768
4782
  ".rte-source-editor-close-btn"
4769
4783
  ), M = w.querySelector(
4770
4784
  ".rte-source-editor-btn-cancel"
4771
- ), R = w.querySelector(
4785
+ ), E = w.querySelector(
4772
4786
  ".rte-source-editor-btn-save"
4773
4787
  ), A = w.querySelector(
4774
4788
  ".unsaved-changes"
4775
- ), N = [], k = (x, $, U, K) => {
4776
- x.addEventListener($, U, K), N.push(
4789
+ ), D = [], k = (x, $, U, K) => {
4790
+ x.addEventListener($, U, K), D.push(
4777
4791
  () => x.removeEventListener($, U, K)
4778
4792
  );
4779
4793
  }, F = (x) => {
4780
4794
  c !== x && (c = x, A && (A.style.display = c ? "inline" : "none"));
4781
4795
  }, H = () => {
4782
4796
  if (!d) {
4783
- for (d = !0; N.length; ) {
4784
- const x = N.pop();
4797
+ for (d = !0; D.length; ) {
4798
+ const x = D.pop();
4785
4799
  x == null || x();
4786
4800
  }
4787
4801
  o && (o.destroy(), o = null), u.isConnected && u.remove();
@@ -4818,7 +4832,7 @@ const P = '[data-theme="dark"], .dark, .editora-theme-dark', pe = `/* Source Edi
4818
4832
  </svg>
4819
4833
  `);
4820
4834
  }, G = () => {
4821
- h = !h, u.classList.toggle("fullscreen", h), S.style.height = h ? "calc(100vh - 200px)" : "400px", I && (I.innerHTML = h ? `
4835
+ h = !h, u.classList.toggle("fullscreen", h), v.style.height = h ? "calc(100vh - 200px)" : "400px", I && (I.innerHTML = h ? `
4822
4836
  <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
4823
4837
  <path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 0 2-2h3M3 16h3a2 2 0 0 0 2 2v3"/>
4824
4838
  </svg>
@@ -4859,7 +4873,7 @@ const P = '[data-theme="dark"], .dark, .editora-theme-dark', pe = `/* Source Edi
4859
4873
  _("Failed to update HTML. Please check your syntax.", "error"), console.error("HTML update error:", x);
4860
4874
  }
4861
4875
  };
4862
- C && k(C, "click", j), L && k(L, "click", q), I && k(I, "click", G), O && k(O, "click", H), M && k(M, "click", Z), R && k(R, "click", Q), k(u, "click", (x) => {
4876
+ C && k(C, "click", j), L && k(L, "click", q), I && k(I, "click", G), O && k(O, "click", H), M && k(M, "click", Z), E && k(E, "click", Q), k(u, "click", (x) => {
4863
4877
  x.target === u && H();
4864
4878
  }), k(document, "keydown", (x) => {
4865
4879
  const $ = x;
@@ -4867,7 +4881,7 @@ const P = '[data-theme="dark"], .dark, .editora-theme-dark', pe = `/* Source Edi
4867
4881
  }), document.body.appendChild(u), requestAnimationFrame(() => {
4868
4882
  if (!(d || !u.isConnected))
4869
4883
  try {
4870
- o = fe(S, {
4884
+ o = fe(v, {
4871
4885
  value: r,
4872
4886
  theme: "dark",
4873
4887
  readOnly: !1,
@@ -4898,6 +4912,6 @@ const P = '[data-theme="dark"], .dark, .editora-theme-dark', pe = `/* Source Edi
4898
4912
  }
4899
4913
  });
4900
4914
  export {
4901
- Se as CodePlugin
4915
+ ve as CodePlugin
4902
4916
  };
4903
- //# sourceMappingURL=CodePlugin.native-CRpX2G93.mjs.map
4917
+ //# sourceMappingURL=CodePlugin.native-DNJmRGdT.mjs.map
@@ -464,7 +464,7 @@ class Ti {
464
464
  caret-color: var(--editor-foreground, #f8f9fa);
465
465
  tab-size: 2;
466
466
  -moz-tab-size: 2;
467
- `, this.contentElement.contentEditable = "true", this.contentElement.spellcheck = !1, this.contentElement.tabIndex = 0;
467
+ `, this.contentElement.contentEditable = "true", this.contentElement.spellcheck = !1, this.contentElement.tabIndex = 0, this.contentElement.setAttribute("role", "textbox"), this.contentElement.setAttribute("aria-multiline", "true"), this.contentElement.setAttribute("aria-label", "Code editor");
468
468
  const n = document.createElement("div");
469
469
  this.scrollWrapper = n, n.setAttribute("data-editora-editor", "true"), n.style.cssText = `
470
470
  position: relative;
@@ -833,7 +833,11 @@ class Ti {
833
833
  }
834
834
  // Set read-only mode
835
835
  setReadOnly(e) {
836
- this.contentElement.contentEditable = e ? "false" : "true";
836
+ this.contentElement.contentEditable = e ? "false" : "true", e ? this.contentElement.setAttribute("aria-readonly", "true") : this.contentElement.removeAttribute("aria-readonly");
837
+ }
838
+ /** The accessible name of the editing surface (what a screen reader calls the editor). */
839
+ setAccessibleName(e) {
840
+ this.contentElement.setAttribute("aria-label", e || "Code editor");
837
841
  }
838
842
  // Apply theme
839
843
  applyTheme(e) {
@@ -1218,7 +1222,7 @@ const Si = 200, wi = 1e3, vi = 8e3, B = class B {
1218
1222
  lineWrapping: !1,
1219
1223
  lineNumbers: !0,
1220
1224
  ...t
1221
- }, this.textModel = new It(this.config.value), this.view = new Ti(e), this.view.setTabSize(this.config.tabSize || 2), this.view.setLineWrapping(!!this.config.lineWrapping), this.view.setLineNumbersVisible(this.config.lineNumbers !== !1), this.hasCustomDecorationHighlightSupport = this.detectCustomHighlightSupport(), this.observeDecorationRelevantMutations(), this.setupEventHandlers(), this.config.extensions && this.config.extensions.forEach((n) => this.addExtension(n)), this.setTheme(this.config.theme), this.view.setReadOnly(this.config.readOnly || !1), this.renderTextWithHighlight(this.textModel.getText()), this.registerBuiltInCommands();
1225
+ }, this.textModel = new It(this.config.value), this.view = new Ti(e), this.view.setTabSize(this.config.tabSize || 2), this.view.setLineWrapping(!!this.config.lineWrapping), this.view.setLineNumbersVisible(this.config.lineNumbers !== !1), this.config.ariaLabel && this.view.setAccessibleName(this.config.ariaLabel), this.hasCustomDecorationHighlightSupport = this.detectCustomHighlightSupport(), this.observeDecorationRelevantMutations(), this.setupEventHandlers(), this.config.extensions && this.config.extensions.forEach((n) => this.addExtension(n)), this.setTheme(this.config.theme), this.view.setReadOnly(this.config.readOnly || !1), this.renderTextWithHighlight(this.textModel.getText()), this.registerBuiltInCommands();
1222
1226
  }
1223
1227
  // Public accessors for extensions
1224
1228
  getTextModel() {
@@ -1440,20 +1444,29 @@ const Si = 200, wi = 1e3, vi = 8e3, B = class B {
1440
1444
  // Configuration
1441
1445
  setTheme(e) {
1442
1446
  this.currentTheme = e;
1443
- const t = {
1444
- "editor-background": e === "dark" ? "#1e1e1e" : "#ffffff",
1445
- "editor-foreground": e === "dark" ? "#f8f9fa" : "#1a1a1a",
1446
- "editor-gutter-background": e === "dark" ? "#252526" : "#f8f9fa",
1447
- "editor-gutter-foreground": e === "dark" ? "#858585" : "#666666",
1448
- "editor-gutter-border": e === "dark" ? "#3e3e42" : "#e1e5e9"
1447
+ const t = e === "dark", n = {
1448
+ "editor-background": t ? "#1e1e1e" : "#ffffff",
1449
+ "editor-foreground": t ? "#f8f9fa" : "#1a1a1a",
1450
+ "editor-gutter-background": t ? "#252526" : "#f8f9fa",
1451
+ // muted text must read on the editor and on a tinted (active, hovered) row: 4.5:1 or better
1452
+ "editor-gutter-foreground": t ? "#a6a6ab" : "#5c6066",
1453
+ "editor-gutter-border": t ? "#3e3e42" : "#e1e5e9",
1454
+ // overlays (completion, find, go to line, menus): a raised surface with a hairline and a soft shadow
1455
+ "editor-surface": t ? "#262629" : "#ffffff",
1456
+ "editor-surface-hover": t ? "#2f2f34" : "#f3f4f6",
1457
+ "editor-border-strong": t ? "#505057" : "#cfd4da",
1458
+ "editor-accent": t ? "#4da3ff" : "#0b63c4",
1459
+ "editor-accent-soft": t ? "rgba(77, 163, 255, 0.16)" : "rgba(11, 99, 196, 0.10)",
1460
+ "editor-accent-contrast": t ? "#0b1b2b" : "#ffffff",
1461
+ "editor-shadow": t ? "0 12px 32px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35)" : "0 12px 32px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08)"
1449
1462
  };
1450
- this.view.applyTheme(t);
1451
- const n = this.extensions.get("syntax-highlighting");
1452
- if (n && typeof n.setTheme == "function")
1463
+ this.view.applyTheme(n);
1464
+ const i = this.extensions.get("syntax-highlighting");
1465
+ if (i && typeof i.setTheme == "function")
1453
1466
  try {
1454
- n.setTheme(e === "dark" ? "dark" : "light"), this.renderTextWithHighlight(this.textModel.getText());
1455
- } catch (i) {
1456
- console.warn("Error applying theme to syntax-highlighting extension", i);
1467
+ i.setTheme(e === "dark" ? "dark" : "light"), this.renderTextWithHighlight(this.textModel.getText());
1468
+ } catch (s) {
1469
+ console.warn("Error applying theme to syntax-highlighting extension", s);
1457
1470
  }
1458
1471
  }
1459
1472
  setReadOnly(e) {
@@ -2561,12 +2574,12 @@ const C = class C {
2561
2574
  this.editorContainerSelector
2562
2575
  ), n = t == null ? void 0 : t.parentElement, i = e.closest(".rte-source-editor-modal") || n || t || e.parentElement;
2563
2576
  if (!i) return;
2564
- window.getComputedStyle(i).position === "static" && (i.style.position = "relative"), this.searchUI = document.createElement("div"), this.searchUI.className = C.css.root, this.searchUI.style.display = "none", this.searchUI.innerHTML = `
2577
+ window.getComputedStyle(i).position === "static" && (i.style.position = "relative"), this.searchUI = document.createElement("div"), this.searchUI.className = C.css.root, this.searchUI.style.display = "none", this.searchUI.setAttribute("role", "search"), this.searchUI.setAttribute("aria-label", "Find and replace"), this.searchUI.innerHTML = `
2565
2578
  <div class="${C.css.row}">
2566
- <input type="text" class="${C.css.findInput} ${C.css.inputBase}" placeholder="Find..." />
2567
- <button class="${C.css.prevButton} ${C.css.buttonBase}" type="button" aria-label="Previous match">↑</button>
2568
- <button class="${C.css.nextButton} ${C.css.buttonBase}" type="button" aria-label="Next match">↓</button>
2569
- <button class="${C.css.closeButton} ${C.css.buttonBase}" type="button" aria-label="Close search">×</button>
2579
+ <input type="text" class="${C.css.findInput} ${C.css.inputBase}" placeholder="Find..." aria-label="Find" autocomplete="off" spellcheck="false" />
2580
+ <button class="${C.css.prevButton} ${C.css.buttonBase}" type="button" aria-label="Previous match" title="Previous match (Shift+Enter)"><svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true" focusable="false"><path d="M4 10l4-4 4 4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
2581
+ <button class="${C.css.nextButton} ${C.css.buttonBase}" type="button" aria-label="Next match" title="Next match (Enter)"><svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true" focusable="false"><path d="M4 6l4 4 4-4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
2582
+ <button class="${C.css.closeButton} ${C.css.buttonBase}" type="button" aria-label="Close search" title="Close (Esc)"><svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true" focusable="false"><path d="M4 4l8 8M12 4l-8 8" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/></svg></button>
2570
2583
  </div>
2571
2584
  <div class="${C.css.options}">
2572
2585
  <label class="${C.css.optionLabel}" title="Case sensitive">
@@ -2583,10 +2596,10 @@ const C = class C {
2583
2596
  </label>
2584
2597
  </div>
2585
2598
  <div class="${C.css.meta}">
2586
- <div class="${C.css.status} ${C.css.statusLayout}"></div>
2599
+ <div class="${C.css.status} ${C.css.statusLayout}" role="status" aria-live="polite"></div>
2587
2600
  <div class="${C.css.mode} ${C.css.modeLayout}" aria-live="polite"></div>
2588
2601
  </div>
2589
- <input type="text" class="${C.css.replaceInput} ${C.css.inputBase} ${C.css.replaceInputLayout}" placeholder="Replace with..." />
2602
+ <input type="text" class="${C.css.replaceInput} ${C.css.inputBase} ${C.css.replaceInputLayout}" placeholder="Replace with..." aria-label="Replace with" autocomplete="off" spellcheck="false" />
2590
2603
  `;
2591
2604
  const s = this.searchUI.querySelector(
2592
2605
  `.${C.css.findInput}`
@@ -3568,7 +3581,7 @@ class Oi {
3568
3581
  }
3569
3582
  createFoldIndicator(e, t, n) {
3570
3583
  const i = document.createElement("button");
3571
- return i.type = "button", i.style.cssText = `
3584
+ i.type = "button", i.style.cssText = `
3572
3585
  position: absolute;
3573
3586
  left: 0;
3574
3587
  top: ${t * this.lineHeight}px;
@@ -3583,12 +3596,13 @@ class Oi {
3583
3596
  background: transparent;
3584
3597
  border: none;
3585
3598
  padding: 0;
3586
- font-size: 10px;
3587
3599
  user-select: none;
3588
- `, i.textContent = n ? "▶" : "▼", i.title = n ? "Expand folded region" : "Collapse region", i.setAttribute("aria-label", i.title), i.addEventListener("mousedown", (s) => {
3589
- s.preventDefault();
3590
- }), i.addEventListener("click", (s) => {
3591
- s.preventDefault(), s.stopPropagation(), this.toggleFold(e);
3600
+ `, i.className = "lce-fold-toggle";
3601
+ const s = document.createElement("span");
3602
+ return s.className = "lce-fold-chevron", s.dataset.state = n ? "closed" : "open", s.setAttribute("aria-hidden", "true"), i.appendChild(s), i.title = n ? "Expand folded region" : "Collapse region", i.setAttribute("aria-label", i.title), i.setAttribute("aria-expanded", String(!n)), i.addEventListener("mousedown", (r) => {
3603
+ r.preventDefault();
3604
+ }), i.addEventListener("click", (r) => {
3605
+ r.preventDefault(), r.stopPropagation(), this.toggleFold(e);
3592
3606
  }), i;
3593
3607
  }
3594
3608
  toggleFold(e) {
@@ -6654,4 +6668,4 @@ const Mt = '[data-theme="dark"], .dark, .editora-theme-dark', ms = `/* Source Ed
6654
6668
  export {
6655
6669
  ys as CodePlugin
6656
6670
  };
6657
- //# sourceMappingURL=CodePlugin.native-CPfKDrkr.mjs.map
6671
+ //# sourceMappingURL=CodePlugin.native-DhLs8BoM.mjs.map