@templatical/editor 0.11.1 → 0.12.0

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.
Files changed (154) hide show
  1. package/dist/{AiChatSidebar-Cm5RM5Qh.js → AiChatSidebar-CXH7l1Ar.js} +13 -13
  2. package/dist/{AiFeatureMenu-DBWcfcWl.js → AiFeatureMenu-BKbUUc1D.js} +10 -10
  3. package/dist/{BlockIssueBadge-BF4sdsr4.js → BlockIssueBadge-C-EPqWsh.js} +5 -5
  4. package/dist/{CloudEditor-C6cSXtcP.js → CloudEditor-F5YV5hE3.js} +60 -60
  5. package/dist/{CollaboratorBar-B8-AQfG2.js → CollaboratorBar-ACUA7lBJ.js} +4 -4
  6. package/dist/{CommentsSidebar-BQJzyCc6.js → CommentsSidebar-CpRLN40c.js} +19 -19
  7. package/dist/{CountdownBlock-D_AsF4F3.js → CountdownBlock-C-6o19qS.js} +3 -3
  8. package/dist/{CountdownToolbar-BGTkFky9.js → CountdownToolbar-CDy9_2Yj.js} +3 -3
  9. package/dist/{DesignReferenceSidebar-O3epZMXD.js → DesignReferenceSidebar-0dTsBW08.js} +9 -9
  10. package/dist/{IssuesPanel-CPBbR8yp.js → IssuesPanel-I0z6k6-H.js} +11 -11
  11. package/dist/{LoadingTrack-e67FA0NP.js → LoadingTrack-C7mGWPHS.js} +1 -1
  12. package/dist/{ModuleBrowserModal-B_tLzFAk.js → ModuleBrowserModal-Bz9hSjMS.js} +10 -10
  13. package/dist/{ModulePreviewCanvas-B7pNpAHM.js → ModulePreviewCanvas-CpaumPMS.js} +23 -23
  14. package/dist/{NumberWithSuffix-eI9pPDWT.js → NumberWithSuffix-Cd7bz1Wk.js} +3 -3
  15. package/dist/{ParagraphEditor-DmA9K7dx.js → ParagraphEditor-BqRFV_Y-.js} +47 -47
  16. package/dist/{RichTextEditorContent-Dvn4woIt.js → RichTextEditorContent-Q5altsx1.js} +6 -6
  17. package/dist/{SaveModuleDialog-B8ypoxdj.js → SaveModuleDialog-DmfvH5D0.js} +7 -7
  18. package/dist/{SnapshotHistory-BTHd7CVP.js → SnapshotHistory-C052o-8U.js} +13 -13
  19. package/dist/{TemplateScoringPanel-Bt5Rsgen.js → TemplateScoringPanel-CUs8XmIi.js} +24 -24
  20. package/dist/{TestEmailModal-CBIFMzK6.js → TestEmailModal-BIIxRWUt.js} +5 -5
  21. package/dist/{TitleEditor-C9jDA5lI.js → TitleEditor-FMh54Cx5.js} +18 -18
  22. package/dist/{TplModal-ND4fiqOS.js → TplModal-utMtXzSO.js} +4 -4
  23. package/dist/{blockTypeIcons-Bn-_Smlm.js → blockTypeIcons-C6UGDmrC.js} +5 -5
  24. package/dist/bundle-stats.json +6 -6
  25. package/dist/cdn/chunks/{AiFeatureMenu-BuSO0dXP.js → AiFeatureMenu-4NhCFeTh.js} +6 -6
  26. package/dist/cdn/chunks/{AiFeatureMenu-BuSO0dXP.js.map → AiFeatureMenu-4NhCFeTh.js.map} +1 -1
  27. package/dist/cdn/chunks/{BlockIssueBadge-sv3IZ1Pb.js → BlockIssueBadge-BYKThwhE.js} +6 -6
  28. package/dist/cdn/chunks/{BlockIssueBadge-sv3IZ1Pb.js.map → BlockIssueBadge-BYKThwhE.js.map} +1 -1
  29. package/dist/cdn/chunks/{CloudEditor-hxoqsTsq.js → CloudEditor-OO8hWAVp.js} +162 -162
  30. package/dist/cdn/chunks/{CloudEditor-hxoqsTsq.js.map → CloudEditor-OO8hWAVp.js.map} +1 -1
  31. package/dist/cdn/chunks/{CollaboratorBar-DFqsaNX0.js → CollaboratorBar-Dn5gXNDt.js} +4 -4
  32. package/dist/cdn/chunks/{CollaboratorBar-DFqsaNX0.js.map → CollaboratorBar-Dn5gXNDt.js.map} +1 -1
  33. package/dist/cdn/chunks/{CountdownBlock-PpH3fxAX.js → CountdownBlock-hYoJdVOt.js} +3 -3
  34. package/dist/cdn/chunks/{CountdownBlock-PpH3fxAX.js.map → CountdownBlock-hYoJdVOt.js.map} +1 -1
  35. package/dist/cdn/chunks/{CountdownToolbar-CZN92Bhz.js → CountdownToolbar-BXjDFRHI.js} +4 -4
  36. package/dist/cdn/chunks/{CountdownToolbar-CZN92Bhz.js.map → CountdownToolbar-BXjDFRHI.js.map} +1 -1
  37. package/dist/cdn/chunks/{IssuesPanel-wQjrnuyc.js → IssuesPanel-_5fEnivU.js} +11 -11
  38. package/dist/cdn/chunks/{IssuesPanel-wQjrnuyc.js.map → IssuesPanel-_5fEnivU.js.map} +1 -1
  39. package/dist/cdn/chunks/{ModuleBrowserModal-348wCgft.js → ModuleBrowserModal-DtCksAeW.js} +9 -9
  40. package/dist/cdn/chunks/{ModuleBrowserModal-348wCgft.js.map → ModuleBrowserModal-DtCksAeW.js.map} +1 -1
  41. package/dist/cdn/chunks/{ModulePreviewCanvas-Cf6DUHml.js → ModulePreviewCanvas-CCOvabZd.js} +33 -33
  42. package/dist/cdn/chunks/{ModulePreviewCanvas-Cf6DUHml.js.map → ModulePreviewCanvas-CCOvabZd.js.map} +1 -1
  43. package/dist/cdn/chunks/{NumberWithSuffix-Deo8EOSz.js → NumberWithSuffix-ZuJ2ePB0.js} +3 -3
  44. package/dist/cdn/chunks/{NumberWithSuffix-Deo8EOSz.js.map → NumberWithSuffix-ZuJ2ePB0.js.map} +1 -1
  45. package/dist/cdn/chunks/{ParagraphEditor-Cbl_gBYM.js → ParagraphEditor-BnhnFOW1.js} +67 -67
  46. package/dist/cdn/chunks/{ParagraphEditor-Cbl_gBYM.js.map → ParagraphEditor-BnhnFOW1.js.map} +1 -1
  47. package/dist/cdn/chunks/{RichTextEditorContent-TBPzn3RC.js → RichTextEditorContent-DV2yknp8.js} +5 -5
  48. package/dist/cdn/chunks/{RichTextEditorContent-TBPzn3RC.js.map → RichTextEditorContent-DV2yknp8.js.map} +1 -1
  49. package/dist/cdn/chunks/{SaveModuleDialog-CxdYMutK.js → SaveModuleDialog-CCX5U7VA.js} +6 -6
  50. package/dist/cdn/chunks/{SaveModuleDialog-CxdYMutK.js.map → SaveModuleDialog-CCX5U7VA.js.map} +1 -1
  51. package/dist/cdn/chunks/{TitleEditor--XulEf7R.js → TitleEditor-CQqklX0D.js} +13 -13
  52. package/dist/cdn/chunks/{TitleEditor--XulEf7R.js.map → TitleEditor-CQqklX0D.js.map} +1 -1
  53. package/dist/cdn/chunks/blockTypeIcons-CpGPHppB.js +22 -0
  54. package/dist/cdn/chunks/{blockTypeIcons-BJND4L-A.js.map → blockTypeIcons-CpGPHppB.js.map} +1 -1
  55. package/dist/{de-BJMLpg_p.js → cdn/chunks/de-DpBN9H7-.js} +9 -1
  56. package/dist/cdn/chunks/de-DpBN9H7-.js.map +1 -0
  57. package/dist/cdn/chunks/{draggable-iAb7QVJo.js → draggable-Bci-fq8y.js} +473 -465
  58. package/dist/cdn/chunks/draggable-Bci-fq8y.js.map +1 -0
  59. package/dist/{en-DFMMw7SL.js → cdn/chunks/en-BhHtdIiU.js} +9 -1
  60. package/dist/cdn/chunks/en-BhHtdIiU.js.map +1 -0
  61. package/dist/cdn/chunks/{extensions-BtWoLy6E.js → extensions-Ds9GnMcd.js} +25 -25
  62. package/dist/cdn/chunks/{extensions-BtWoLy6E.js.map → extensions-Ds9GnMcd.js.map} +1 -1
  63. package/dist/cdn/chunks/{features-mO5NzwnN.js → features-DxWz_Enw.js} +1048 -1059
  64. package/dist/cdn/chunks/features-DxWz_Enw.js.map +1 -0
  65. package/dist/cdn/chunks/{icons-CuXm6XAT.js → icons-BflGUmFY.js} +146 -146
  66. package/dist/cdn/chunks/icons-BflGUmFY.js.map +1 -0
  67. package/dist/cdn/chunks/{liquid.browser-DUDc3U21.js → liquid.browser-DKKBzRQu.js} +502 -497
  68. package/dist/cdn/chunks/liquid.browser-DKKBzRQu.js.map +1 -0
  69. package/dist/cdn/chunks/{media-library-BtNzYUTi.js → media-library-C479-QcE.js} +565 -565
  70. package/dist/cdn/chunks/{media-library-BtNzYUTi.js.map → media-library-C479-QcE.js.map} +1 -1
  71. package/dist/cdn/chunks/{pt-BR-C-9aWLlR.js → pt-BR-Bth5a93y.js} +8 -2
  72. package/dist/cdn/chunks/pt-BR-Bth5a93y.js.map +1 -0
  73. package/dist/cdn/chunks/{pusher-CHo5Cua0.js → pusher-BICWUP2j.js} +3 -3
  74. package/dist/cdn/chunks/{pusher-CHo5Cua0.js.map → pusher-BICWUP2j.js.map} +1 -1
  75. package/dist/cdn/chunks/{quality-YKe19zp8.js → quality-BL_pEvFP.js} +101 -101
  76. package/dist/cdn/chunks/{quality-YKe19zp8.js.map → quality-BL_pEvFP.js.map} +1 -1
  77. package/dist/cdn/chunks/readableTextColor-f8Kykfnh.js.map +1 -1
  78. package/dist/cdn/chunks/{renderer-BcOaxCs6.js → renderer-DwPomkBw.js} +53 -50
  79. package/dist/cdn/chunks/renderer-DwPomkBw.js.map +1 -0
  80. package/dist/cdn/chunks/{src-B_ZRmuit.js → src-DzvOWQ9S.js} +11 -11
  81. package/dist/cdn/chunks/{src-B_ZRmuit.js.map → src-DzvOWQ9S.js.map} +1 -1
  82. package/dist/cdn/chunks/{styles-DDBCCJ-l.js → styles-D45rgVq8.js} +737 -667
  83. package/dist/cdn/chunks/styles-D45rgVq8.js.map +1 -0
  84. package/dist/cdn/chunks/{tiptap-BAwu9VcJ.js → tiptap-CwScfbsM.js} +5 -4
  85. package/dist/cdn/chunks/tiptap-CwScfbsM.js.map +1 -0
  86. package/dist/cdn/editor.css +1 -1
  87. package/dist/cdn/editor.js +36 -36
  88. package/dist/cdn/editor.js.map +1 -1
  89. package/dist/{check-BsNM6BDs.js → check-BRzXxFHr.js} +1 -1
  90. package/dist/{chevron-down-fcsZ5DU7.js → chevron-down-DmEgzmYT.js} +1 -1
  91. package/dist/{circle-alert-BZTbwc-B.js → circle-alert-BStvZr3O.js} +1 -1
  92. package/dist/{clock-B7iQRubC.js → clock-Blwp_1R6.js} +1 -1
  93. package/dist/{cloud-Dom4EH5Z.js → cloud-_olro76D.js} +6 -6
  94. package/dist/{createLucideIcon-C_fetdGM.js → createLucideIcon-CmPAC-gt.js} +3 -3
  95. package/dist/{cdn/chunks/de-BJMLpg_p.js → de-DpBN9H7-.js} +7 -3
  96. package/dist/{dist-ByBVNmRN.js → dist-412xXefB.js} +1 -1
  97. package/dist/{dist-XdF11ZkX.js → dist-BCQZZUE9.js} +1 -1
  98. package/dist/{dist-CD3wbUoR.js → dist-BNEdeWub.js} +1 -1
  99. package/dist/dist-BctFrpeA.js +472 -0
  100. package/dist/{dist-eVlXvuKI.js → dist-BlG7k25W.js} +1 -1
  101. package/dist/{dist-BLcYl_de.js → dist-BwgjpLfr.js} +1 -1
  102. package/dist/{dist-Dhs3W2WW.js → dist-Cz79qrLL.js} +1 -1
  103. package/dist/{dist-c2sj5PQ5.js → dist-D6x1cQeh.js} +3 -3
  104. package/dist/{dist-cT52Hh9L.js → dist-DJ9aD8yA.js} +3 -3
  105. package/dist/{dist-Cwl7XXr4.js → dist-DULfKmTh.js} +3 -3
  106. package/dist/{dist-Dem8ODLh.js → dist-DhKTdU52.js} +3 -2
  107. package/dist/{dist-BOHAk4zI.js → dist-b7Ak-CuM.js} +1 -1
  108. package/dist/{dist-B4NkMBYc.js → dist-o73iaGqy.js} +1 -1
  109. package/dist/{dist-BsB4nPJD.js → dist-u0iIJH3V.js} +1 -1
  110. package/dist/{cdn/chunks/en-DFMMw7SL.js → en-BhHtdIiU.js} +7 -3
  111. package/dist/{extensions-B2lSGCA8.js → extensions-XPlNAKIL.js} +23 -23
  112. package/dist/formatRelativeTime-CtUU-QZ8.js +10 -0
  113. package/dist/{image-up-1xrPPJYH.js → image-up-BFPbw_Zq.js} +1 -1
  114. package/dist/{info-ByAFxArD.js → info-B_qLEBN2.js} +1 -1
  115. package/dist/{keys-DsRdOmg3.js → keys-mFiJ5N0_.js} +1 -1
  116. package/dist/{liquid.browser--qtl1Fqy.js → liquid.browser-CVjP5Mex.js} +501 -496
  117. package/dist/{list-checks-CKUP4UZU.js → list-checks-CGg7JxPm.js} +1 -1
  118. package/dist/{loader-circle-BuxX338d.js → loader-circle-CDF8eR_Q.js} +1 -1
  119. package/dist/{message-circle-nLwqegRi.js → message-circle-C3cHsCJl.js} +1 -1
  120. package/dist/{pt-BR-C-9aWLlR.js → pt-BR-Bth5a93y.js} +7 -1
  121. package/dist/{refresh-cw-DAkD6iDI.js → refresh-cw-Butml7Q4.js} +1 -1
  122. package/dist/{scan-line-DEELRJJ5.js → scan-line-XYEqim_E.js} +1 -1
  123. package/dist/{send-DCMgrNT4.js → send-k7npFJNO.js} +1 -1
  124. package/dist/{shield-check-BFtVr_ov.js → shield-check-CV6GbmCu.js} +1 -1
  125. package/dist/{sparkles-CeYIQ5RJ.js → sparkles-C965Xop4.js} +1 -1
  126. package/dist/style.css +1 -1
  127. package/dist/{styles-DZcQGzsN.js → styles-Dp4mJuCM.js} +888 -818
  128. package/dist/templatical-editor.js +14 -14
  129. package/dist/{text-align-start-BsmIoqLS.js → text-align-start-Bxnps8fH.js} +1 -1
  130. package/dist/{trash-2-C2S4-CIH.js → trash-2-DpGb7fIt.js} +1 -1
  131. package/dist/{triangle-alert-DMdedF6W.js → triangle-alert-BKYElAwz.js} +1 -1
  132. package/dist/{useAliveFlag-DlVvpZxc.js → useAliveFlag-BinvbqQR.js} +1 -1
  133. package/dist/{useCloudI18n-BEuiZdzs.js → useCloudI18n-L3H2XvdW.js} +2 -2
  134. package/dist/{useEditorCore-D00QzW07.js → useEditorCore-D7dQFRkw.js} +406 -486
  135. package/dist/{useI18n-DNspT6uw.js → useI18n-CTs_bP9d.js} +2 -2
  136. package/dist/{useMergeTag-abutjUud.js → useMergeTag-e3RSY-s3.js} +6 -6
  137. package/dist/usePopoverRoot-DVh7NY1q.js +8 -0
  138. package/dist/{vue.runtime.esm-bundler-mPytWZFh.js → vue.runtime.esm-bundler-B2k01iQh.js} +345 -337
  139. package/dist/{x-_9jw816B.js → x-CGjkjdKK.js} +1 -1
  140. package/package.json +10 -10
  141. package/dist/cdn/chunks/blockTypeIcons-BJND4L-A.js +0 -22
  142. package/dist/cdn/chunks/de-BJMLpg_p.js.map +0 -1
  143. package/dist/cdn/chunks/draggable-iAb7QVJo.js.map +0 -1
  144. package/dist/cdn/chunks/en-DFMMw7SL.js.map +0 -1
  145. package/dist/cdn/chunks/features-mO5NzwnN.js.map +0 -1
  146. package/dist/cdn/chunks/icons-CuXm6XAT.js.map +0 -1
  147. package/dist/cdn/chunks/liquid.browser-DUDc3U21.js.map +0 -1
  148. package/dist/cdn/chunks/pt-BR-C-9aWLlR.js.map +0 -1
  149. package/dist/cdn/chunks/renderer-BcOaxCs6.js.map +0 -1
  150. package/dist/cdn/chunks/styles-DDBCCJ-l.js.map +0 -1
  151. package/dist/cdn/chunks/tiptap-BAwu9VcJ.js.map +0 -1
  152. package/dist/dist-D6L_WdRL.js +0 -403
  153. package/dist/formatRelativeTime-CyDg5cDD.js +0 -12
  154. package/dist/usePopoverRoot-DG3mlvd1.js +0 -8
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./rolldown-runtime-Dqa2HsxW.js";
2
- import { An as t, Bn as n, Fn as r, Hn as i, In as a, Ln as o, Nn as s, Pn as c, Rn as ee, Un as te, Vn as l } from "./features-mO5NzwnN.js";
2
+ import { Bn as t, Fn as n, Hn as r, In as i, Ln as a, Mn as o, Nn as s, Pn as c, Vn as ee, kn as l, zn as te } from "./features-DxWz_Enw.js";
3
3
  //#region ../quality/src/types.ts
4
4
  var ne = {
5
5
  altMaxLength: 125,
@@ -59,17 +59,17 @@ function f(e) {
59
59
  var le = "#ffffff";
60
60
  function ue(e, t) {
61
61
  let n = d(e.settings.backgroundColor) ? e.settings.backgroundColor.toLowerCase() : le, r = (e, n) => {
62
- let i = e.styles?.backgroundColor, a = d(i) ? i.toLowerCase() : n.resolvedBackgroundColor;
63
- t(e, a === n.resolvedBackgroundColor ? n : {
62
+ let a = e.styles?.backgroundColor, o = d(a) ? a.toLowerCase() : n.resolvedBackgroundColor;
63
+ t(e, o === n.resolvedBackgroundColor ? n : {
64
64
  ...n,
65
- resolvedBackgroundColor: a
66
- }), o(e) && e.children.forEach((t, i) => {
65
+ resolvedBackgroundColor: o
66
+ }), i(e) && e.children.forEach((t, i) => {
67
67
  t.forEach((t) => r(t, {
68
68
  parent: e,
69
69
  section: e,
70
70
  columnIndex: i,
71
71
  depth: n.depth + 1,
72
- resolvedBackgroundColor: a
72
+ resolvedBackgroundColor: o
73
73
  }));
74
74
  });
75
75
  };
@@ -223,7 +223,7 @@ var be = {
223
223
  severity: "error"
224
224
  },
225
225
  block(e) {
226
- return !c(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
226
+ return !s(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
227
227
  }
228
228
  }, xe = {
229
229
  id: "a11y.img-alt-is-filename",
@@ -237,7 +237,7 @@ var be = {
237
237
  ], Ce = {
238
238
  meta: xe,
239
239
  block(e) {
240
- if (!c(e) || e.decorative === !0) return null;
240
+ if (!s(e) || e.decorative === !0) return null;
241
241
  let t = e.alt?.trim() ?? "";
242
242
  return t === "" || !Se.some((e) => e.test(t)) ? null : {
243
243
  blockId: e.id,
@@ -250,7 +250,7 @@ var be = {
250
250
  severity: "warning"
251
251
  },
252
252
  block(e, t, n) {
253
- if (!c(e) || e.decorative === !0) return null;
253
+ if (!s(e) || e.decorative === !0) return null;
254
254
  let r = e.alt ?? "";
255
255
  return r.length <= n.thresholds.altMaxLength ? null : {
256
256
  blockId: e.id,
@@ -266,7 +266,7 @@ var be = {
266
266
  severity: "info"
267
267
  },
268
268
  block(e) {
269
- return !c(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
269
+ return !s(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
270
270
  blockId: e.id,
271
271
  fix: {
272
272
  description: "Clear alt text",
@@ -390,13 +390,13 @@ var Me = {
390
390
  severity: "warning"
391
391
  },
392
392
  block(e, t, n) {
393
- if (!c(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
393
+ if (!s(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
394
394
  let r = (e.alt ?? "").trim();
395
395
  if (r === "") return null;
396
396
  let i = r.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), a = v(n.locale).linkedImageActionHints;
397
397
  return i.some((e) => a.includes(e)) ? null : { blockId: e.id };
398
398
  }
399
- }, Ne = new Map([
399
+ }, Ne = /* @__PURE__ */ new Map([
400
400
  [0, 65533],
401
401
  [128, 8364],
402
402
  [130, 8218],
@@ -613,7 +613,7 @@ var j;
613
613
  e[e.NoValue = 0] = "NoValue", e[e.Unquoted = 1] = "Unquoted", e[e.Single = 2] = "Single", e[e.Double = 3] = "Double";
614
614
  })(j ||= {});
615
615
  var M = {
616
- Empty: new Uint8Array(),
616
+ Empty: /* @__PURE__ */ new Uint8Array(),
617
617
  Cdata: new Uint8Array([
618
618
  67,
619
619
  68,
@@ -735,7 +735,7 @@ var M = {
735
735
  109,
736
736
  112
737
737
  ])
738
- }, We = new Map([
738
+ }, We = /* @__PURE__ */ new Map([
739
739
  [M.IframeEnd[2], M.IframeEnd],
740
740
  [M.NoembedEnd[2], M.NoembedEnd],
741
741
  [M.Plaintext[2], M.Plaintext],
@@ -1072,7 +1072,7 @@ var M = {
1072
1072
  emitCodePoint(e, t) {
1073
1073
  this.baseState !== O.Text && this.baseState !== O.InSpecialTag ? (this.sectionStart < this.entityStart && this.cbs.onattribdata(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + t, this.index = this.sectionStart - 1, this.cbs.onattribentity(e)) : (this.sectionStart < this.entityStart && this.cbs.ontext(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + t, this.index = this.sectionStart - 1, this.cbs.ontextentity(e, this.sectionStart));
1074
1074
  }
1075
- }, { fromCodePoint: Ke } = String, N = new Set([
1075
+ }, { fromCodePoint: Ke } = String, N = /* @__PURE__ */ new Set([
1076
1076
  "input",
1077
1077
  "option",
1078
1078
  "optgroup",
@@ -1080,7 +1080,7 @@ var M = {
1080
1080
  "button",
1081
1081
  "datalist",
1082
1082
  "textarea"
1083
- ]), P = new Set(["p"]), F = new Set([
1083
+ ]), P = /* @__PURE__ */ new Set(["p"]), F = /* @__PURE__ */ new Set([
1084
1084
  "h1",
1085
1085
  "h2",
1086
1086
  "h3",
@@ -1088,25 +1088,25 @@ var M = {
1088
1088
  "h5",
1089
1089
  "h6",
1090
1090
  "p"
1091
- ]), I = new Set(["thead", "tbody"]), L = new Set(["dd", "dt"]), R = new Set(["rt", "rp"]), qe = new Map([
1092
- ["tr", new Set([
1091
+ ]), I = /* @__PURE__ */ new Set(["thead", "tbody"]), L = /* @__PURE__ */ new Set(["dd", "dt"]), R = /* @__PURE__ */ new Set(["rt", "rp"]), qe = /* @__PURE__ */ new Map([
1092
+ ["tr", /* @__PURE__ */ new Set([
1093
1093
  "tr",
1094
1094
  "th",
1095
1095
  "td"
1096
1096
  ])],
1097
- ["th", new Set(["th"])],
1098
- ["td", new Set([
1097
+ ["th", /* @__PURE__ */ new Set(["th"])],
1098
+ ["td", /* @__PURE__ */ new Set([
1099
1099
  "thead",
1100
1100
  "th",
1101
1101
  "td"
1102
1102
  ])],
1103
- ["body", new Set([
1103
+ ["body", /* @__PURE__ */ new Set([
1104
1104
  "head",
1105
1105
  "link",
1106
1106
  "script"
1107
1107
  ])],
1108
- ["a", new Set(["a"])],
1109
- ["li", new Set(["li"])],
1108
+ ["a", /* @__PURE__ */ new Set(["a"])],
1109
+ ["li", /* @__PURE__ */ new Set(["li"])],
1110
1110
  ["p", P],
1111
1111
  ["h1", F],
1112
1112
  ["h2", F],
@@ -1120,8 +1120,8 @@ var M = {
1120
1120
  ["button", N],
1121
1121
  ["datalist", N],
1122
1122
  ["textarea", N],
1123
- ["option", new Set(["option"])],
1124
- ["optgroup", new Set(["optgroup", "option"])],
1123
+ ["option", /* @__PURE__ */ new Set(["option"])],
1124
+ ["optgroup", /* @__PURE__ */ new Set(["optgroup", "option"])],
1125
1125
  ["dd", L],
1126
1126
  ["dt", L],
1127
1127
  ["address", P],
@@ -1149,7 +1149,7 @@ var M = {
1149
1149
  ["rp", R],
1150
1150
  ["tbody", I],
1151
1151
  ["tfoot", I]
1152
- ]), Je = "doctype", Ye = new Set([
1152
+ ]), Je = "doctype", Ye = /* @__PURE__ */ new Set([
1153
1153
  "area",
1154
1154
  "base",
1155
1155
  "basefont",
@@ -1169,7 +1169,7 @@ var M = {
1169
1169
  "source",
1170
1170
  "track",
1171
1171
  "wbr"
1172
- ]), Xe = new Set(["math", "svg"]), z = new Set([
1172
+ ]), Xe = /* @__PURE__ */ new Set(["math", "svg"]), z = /* @__PURE__ */ new Set([
1173
1173
  "mi",
1174
1174
  "mo",
1175
1175
  "mn",
@@ -1179,7 +1179,7 @@ var M = {
1179
1179
  "foreignObject",
1180
1180
  "desc",
1181
1181
  "title"
1182
- ]), B = new Map([
1182
+ ]), B = /* @__PURE__ */ new Map([
1183
1183
  ["altglyph", "altGlyph"],
1184
1184
  ["altglyphdef", "altGlyphDef"],
1185
1185
  ["altglyphitem", "altGlyphItem"],
@@ -1466,19 +1466,19 @@ var et = {
1466
1466
  severity: "error"
1467
1467
  },
1468
1468
  block(e) {
1469
- return !l(e) || W(e.content ?? "") !== "" ? null : { blockId: e.id };
1469
+ return !t(e) || W(e.content ?? "") !== "" ? null : { blockId: e.id };
1470
1470
  }
1471
1471
  }, tt = {
1472
1472
  id: "a11y.heading-skip-level",
1473
1473
  severity: "error"
1474
1474
  };
1475
- function G(e, t) {
1476
- for (let n of e) {
1477
- if (l(n)) {
1478
- t.push(n);
1475
+ function G(e, n) {
1476
+ for (let r of e) {
1477
+ if (t(r)) {
1478
+ n.push(r);
1479
1479
  continue;
1480
1480
  }
1481
- if (o(n)) for (let e of n.children) G(e, t);
1481
+ if (i(r)) for (let e of r.children) G(e, n);
1482
1482
  }
1483
1483
  }
1484
1484
  var nt = {
@@ -1500,13 +1500,13 @@ var nt = {
1500
1500
  id: "a11y.heading-multiple-h1",
1501
1501
  severity: "warning"
1502
1502
  };
1503
- function K(e, t) {
1504
- for (let n of e) {
1505
- if (l(n)) {
1506
- t.push(n);
1503
+ function K(e, n) {
1504
+ for (let r of e) {
1505
+ if (t(r)) {
1506
+ n.push(r);
1507
1507
  continue;
1508
1508
  }
1509
- if (o(n)) for (let e of n.children) K(e, t);
1509
+ if (i(r)) for (let e of r.children) K(e, n);
1510
1510
  }
1511
1511
  }
1512
1512
  var it = {
@@ -1522,7 +1522,7 @@ var it = {
1522
1522
  severity: "error"
1523
1523
  };
1524
1524
  function ot(e) {
1525
- return a(e) || l(e) ? e.content : null;
1525
+ return n(e) || t(e) ? e.content : null;
1526
1526
  }
1527
1527
  var st = {
1528
1528
  meta: at,
@@ -1535,7 +1535,7 @@ var st = {
1535
1535
  severity: "warning"
1536
1536
  };
1537
1537
  function lt(e) {
1538
- return a(e) || l(e) ? e.content : null;
1538
+ return n(e) || t(e) ? e.content : null;
1539
1539
  }
1540
1540
  var ut = {
1541
1541
  meta: ct,
@@ -1556,7 +1556,7 @@ var ut = {
1556
1556
  severity: "error"
1557
1557
  };
1558
1558
  function ft(e) {
1559
- return a(e) || l(e) ? e.content : null;
1559
+ return n(e) || t(e) ? e.content : null;
1560
1560
  }
1561
1561
  var pt = {
1562
1562
  meta: dt,
@@ -1572,7 +1572,7 @@ var pt = {
1572
1572
  severity: "warning"
1573
1573
  };
1574
1574
  function ht(e) {
1575
- return a(e) || l(e) ? e.content : null;
1575
+ return n(e) || t(e) ? e.content : null;
1576
1576
  }
1577
1577
  function gt(e) {
1578
1578
  if (e === null) return !1;
@@ -1582,15 +1582,15 @@ function gt(e) {
1582
1582
  var _t = {
1583
1583
  meta: mt,
1584
1584
  block(e) {
1585
- let t = ht(e);
1586
- return t === null || !U(t).find((e) => e.target === "_blank" && !gt(e.rel)) ? null : {
1585
+ let r = ht(e);
1586
+ return r === null || !U(r).find((e) => e.target === "_blank" && !gt(e.rel)) ? null : {
1587
1587
  blockId: e.id,
1588
1588
  fix: {
1589
1589
  description: "Add rel=\"noopener\"",
1590
- apply: (t) => {
1591
- if (!a(e) && !l(e)) return;
1592
- let n = bt(e.content ?? "");
1593
- t.updateBlock(e.id, { content: n });
1590
+ apply: (r) => {
1591
+ if (!n(e) && !t(e)) return;
1592
+ let i = bt(e.content ?? "");
1593
+ r.updateBlock(e.id, { content: i });
1594
1594
  }
1595
1595
  }
1596
1596
  };
@@ -1630,7 +1630,7 @@ var xt = {
1630
1630
  severity: "error"
1631
1631
  };
1632
1632
  function St(e) {
1633
- return a(e) || l(e) ? e.content : null;
1633
+ return n(e) || t(e) ? e.content : null;
1634
1634
  }
1635
1635
  var Ct = {
1636
1636
  meta: xt,
@@ -1643,24 +1643,24 @@ var Ct = {
1643
1643
  id: "a11y.text-all-caps",
1644
1644
  severity: "warning"
1645
1645
  },
1646
- block(e, t, n) {
1647
- if (!a(e) && !l(e)) return null;
1648
- let r = W(e.content ?? "").replace(/[^\p{L}]/gu, "");
1649
- return r.length < n.thresholds.allCapsMinLength || r !== r.toLocaleUpperCase() ? null : { blockId: e.id };
1646
+ block(e, r, i) {
1647
+ if (!n(e) && !t(e)) return null;
1648
+ let a = W(e.content ?? "").replace(/[^\p{L}]/gu, "");
1649
+ return a.length < i.thresholds.allCapsMinLength || a !== a.toLocaleUpperCase() ? null : { blockId: e.id };
1650
1650
  }
1651
1651
  }, Tt = {
1652
1652
  meta: {
1653
1653
  id: "a11y.text-low-contrast",
1654
1654
  severity: "error"
1655
1655
  },
1656
- block(e, t) {
1657
- if (!l(e) || !d(e.color) || !d(t.resolvedBackgroundColor)) return null;
1658
- let n = te[e.level] >= 24 ? 3 : 4.5, r = ie(e.color, t.resolvedBackgroundColor);
1659
- return Number.isNaN(r) || r >= n ? null : {
1656
+ block(e, n) {
1657
+ if (!t(e) || !d(e.color) || !d(n.resolvedBackgroundColor)) return null;
1658
+ let i = r[e.level] >= 24 ? 3 : 4.5, a = ie(e.color, n.resolvedBackgroundColor);
1659
+ return Number.isNaN(a) || a >= i ? null : {
1660
1660
  blockId: e.id,
1661
1661
  params: {
1662
- ratio: r.toFixed(2),
1663
- required: n
1662
+ ratio: a.toFixed(2),
1663
+ required: i
1664
1664
  }
1665
1665
  };
1666
1666
  }
@@ -1669,7 +1669,7 @@ var Ct = {
1669
1669
  severity: "warning"
1670
1670
  };
1671
1671
  function Dt(e) {
1672
- return r(e) || n(e) ? e.fontSize : null;
1672
+ return c(e) || te(e) ? e.fontSize : null;
1673
1673
  }
1674
1674
  //#endregion
1675
1675
  //#region ../quality/src/accessibility/index.ts
@@ -1707,10 +1707,10 @@ var Ot = [
1707
1707
  id: "a11y.button-vague-label",
1708
1708
  severity: "warning"
1709
1709
  },
1710
- block(e, n, r) {
1711
- if (!t(e)) return null;
1712
- let i = b(e.text ?? "");
1713
- return i === "" || !v(r.locale).vagueButtonLabels.includes(i) ? null : {
1710
+ block(e, t, n) {
1711
+ if (!l(e)) return null;
1712
+ let r = b(e.text ?? "");
1713
+ return r === "" || !v(n.locale).vagueButtonLabels.includes(r) ? null : {
1714
1714
  blockId: e.id,
1715
1715
  params: { text: e.text }
1716
1716
  };
@@ -1721,16 +1721,16 @@ var Ot = [
1721
1721
  id: "a11y.button-touch-target",
1722
1722
  severity: "warning"
1723
1723
  },
1724
- block(e, n, r) {
1725
- if (!t(e)) return null;
1726
- let i = e.buttonPadding;
1727
- if (!i) return null;
1728
- let a = e.fontSize * 1.4 + i.top + i.bottom;
1729
- return a >= r.thresholds.minTouchTargetPx ? null : {
1724
+ block(e, t, n) {
1725
+ if (!l(e)) return null;
1726
+ let r = e.buttonPadding;
1727
+ if (!r) return null;
1728
+ let i = e.fontSize * 1.4 + r.top + r.bottom;
1729
+ return i >= n.thresholds.minTouchTargetPx ? null : {
1730
1730
  blockId: e.id,
1731
1731
  params: {
1732
- height: Math.round(a),
1733
- min: r.thresholds.minTouchTargetPx
1732
+ height: Math.round(i),
1733
+ min: n.thresholds.minTouchTargetPx
1734
1734
  }
1735
1735
  };
1736
1736
  }
@@ -1741,15 +1741,15 @@ var Ot = [
1741
1741
  severity: "error"
1742
1742
  },
1743
1743
  block(e) {
1744
- if (!t(e)) return null;
1745
- let n = ie(e.textColor, e.backgroundColor);
1746
- if (Number.isNaN(n)) return null;
1747
- let r = e.fontSize >= 24 ? 3 : 4.5;
1748
- return n >= r ? null : {
1744
+ if (!l(e)) return null;
1745
+ let t = ie(e.textColor, e.backgroundColor);
1746
+ if (Number.isNaN(t)) return null;
1747
+ let n = e.fontSize >= 24 ? 3 : 4.5;
1748
+ return t >= n ? null : {
1749
1749
  blockId: e.id,
1750
1750
  params: {
1751
- ratio: n.toFixed(2),
1752
- required: r
1751
+ ratio: t.toFixed(2),
1752
+ required: n
1753
1753
  }
1754
1754
  };
1755
1755
  }
@@ -1808,7 +1808,7 @@ var It = {
1808
1808
  severity: "error"
1809
1809
  };
1810
1810
  function X(e, t) {
1811
- for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), o(n)) for (let e of n.children) X(e, t);
1811
+ for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), i(n)) for (let e of n.children) X(e, t);
1812
1812
  }
1813
1813
  var Lt = {
1814
1814
  meta: It,
@@ -1828,7 +1828,7 @@ var Lt = {
1828
1828
  };
1829
1829
  function zt(e, t) {
1830
1830
  for (let n of e) {
1831
- if (!o(n)) continue;
1831
+ if (!i(n)) continue;
1832
1832
  let e = n;
1833
1833
  e.children.length > 1 && e.children.forEach((n, r) => {
1834
1834
  n.length === 0 && t.push({
@@ -1855,7 +1855,7 @@ function Ht(e) {
1855
1855
  var Ut = {
1856
1856
  meta: Vt,
1857
1857
  block(e) {
1858
- if (!o(e)) return null;
1858
+ if (!i(e)) return null;
1859
1859
  let t = e;
1860
1860
  return Ht(t) ? {
1861
1861
  blockId: t.id,
@@ -1873,7 +1873,7 @@ var Ut = {
1873
1873
  severity: "error"
1874
1874
  },
1875
1875
  block(e, t) {
1876
- return !o(e) || t.section === null ? null : {
1876
+ return !i(e) || t.section === null ? null : {
1877
1877
  blockId: e.id,
1878
1878
  params: { parentId: t.section.id }
1879
1879
  };
@@ -1895,7 +1895,7 @@ var qt = [
1895
1895
  {
1896
1896
  meta: Gt,
1897
1897
  block(e) {
1898
- if (!o(e)) return null;
1898
+ if (!i(e)) return null;
1899
1899
  let t = e, n = Kt(t.columns), r = t.children.length;
1900
1900
  return r === n ? null : {
1901
1901
  blockId: t.id,
@@ -1948,10 +1948,10 @@ function en(e, t, n) {
1948
1948
  //#endregion
1949
1949
  //#region ../quality/src/url-walker.ts
1950
1950
  function $(e) {
1951
- let n = [];
1951
+ let r = [];
1952
1952
  return ue(e, (e) => {
1953
- if (l(e) || a(e) || s(e)) {
1954
- for (let t of U(e.content)) n.push({
1953
+ if (t(e) || n(e) || o(e)) {
1954
+ for (let t of U(e.content)) r.push({
1955
1955
  url: t.href,
1956
1956
  blockId: e.id,
1957
1957
  source: "anchor",
@@ -1959,8 +1959,8 @@ function $(e) {
1959
1959
  });
1960
1960
  return;
1961
1961
  }
1962
- if (t(e)) {
1963
- n.push({
1962
+ if (l(e)) {
1963
+ r.push({
1964
1964
  url: e.url,
1965
1965
  blockId: e.id,
1966
1966
  source: "button",
@@ -1968,8 +1968,8 @@ function $(e) {
1968
1968
  });
1969
1969
  return;
1970
1970
  }
1971
- if (c(e)) {
1972
- e.linkUrl && e.linkUrl !== "" && n.push({
1971
+ if (s(e)) {
1972
+ e.linkUrl && e.linkUrl !== "" && r.push({
1973
1973
  url: e.linkUrl,
1974
1974
  blockId: e.id,
1975
1975
  source: "image-link",
@@ -1977,8 +1977,8 @@ function $(e) {
1977
1977
  });
1978
1978
  return;
1979
1979
  }
1980
- if (i(e)) {
1981
- n.push({
1980
+ if (ee(e)) {
1981
+ r.push({
1982
1982
  url: e.url,
1983
1983
  blockId: e.id,
1984
1984
  source: "video",
@@ -1986,8 +1986,8 @@ function $(e) {
1986
1986
  });
1987
1987
  return;
1988
1988
  }
1989
- if (r(e)) {
1990
- for (let t of e.items) n.push({
1989
+ if (c(e)) {
1990
+ for (let t of e.items) r.push({
1991
1991
  url: t.url,
1992
1992
  blockId: e.id,
1993
1993
  source: "menu-item",
@@ -1995,8 +1995,8 @@ function $(e) {
1995
1995
  });
1996
1996
  return;
1997
1997
  }
1998
- if (ee(e)) {
1999
- for (let t of e.icons) n.push({
1998
+ if (a(e)) {
1999
+ for (let t of e.icons) r.push({
2000
2000
  url: t.url,
2001
2001
  blockId: e.id,
2002
2002
  source: "social-icon",
@@ -2004,7 +2004,7 @@ function $(e) {
2004
2004
  });
2005
2005
  return;
2006
2006
  }
2007
- }), n;
2007
+ }), r;
2008
2008
  }
2009
2009
  //#endregion
2010
2010
  //#region ../quality/src/links/rules/javascript-protocol.ts
@@ -2038,7 +2038,7 @@ var an = {
2038
2038
  }, on = {
2039
2039
  id: "link.unsupported-protocol",
2040
2040
  severity: "warning"
2041
- }, sn = new Set([
2041
+ }, sn = /* @__PURE__ */ new Set([
2042
2042
  "http",
2043
2043
  "https",
2044
2044
  "mailto",
@@ -2173,4 +2173,4 @@ var En = /* @__PURE__ */ e({ lintTemplate: () => Tn });
2173
2173
  //#endregion
2174
2174
  export { En as t };
2175
2175
 
2176
- //# sourceMappingURL=quality-YKe19zp8.js.map
2176
+ //# sourceMappingURL=quality-BL_pEvFP.js.map