@covalent/components 8.1.0-beta.6 → 8.1.0-beta.8

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 (185) hide show
  1. package/action-ribbon.js +2 -3
  2. package/action-ribbon.mjs +9 -10
  3. package/alert.js +2 -3
  4. package/alert.mjs +9 -10
  5. package/app-shell/app-shell.d.ts +4 -1
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +2 -3
  8. package/app-shell.mjs +55 -53
  9. package/{base-element-67ae173f.mjs → base-element--jaKdI-8.mjs} +2 -2
  10. package/{base-element-58a3f9ea.js → base-element-atp_8bvP.js} +1 -1
  11. package/button.js +2 -3
  12. package/button.mjs +15 -16
  13. package/card.js +2 -3
  14. package/card.mjs +4 -5
  15. package/check-list-item.js +11 -15
  16. package/check-list-item.mjs +62 -68
  17. package/checkbox.js +1 -2
  18. package/checkbox.mjs +23 -25
  19. package/{chip-3c12a33d.js → chip-M5Vb5Kd6.js} +32 -33
  20. package/{chip-13877bb8.mjs → chip-m2mKzWQT.mjs} +82 -83
  21. package/chip-set.js +2 -3
  22. package/chip-set.mjs +9 -10
  23. package/chip.js +1 -1
  24. package/chip.mjs +8 -8
  25. package/circular-progress.js +1 -1
  26. package/circular-progress.mjs +7 -7
  27. package/{class-map-4b94b017.mjs → class-map-YPXv0Hj4.mjs} +1 -1
  28. package/{class-map-b5efe8da.js → class-map-wtcW44Of.js} +1 -1
  29. package/code-snippet.js +5 -6
  30. package/code-snippet.mjs +97 -98
  31. package/{dialog-82b03745.js → dialog-SpbwRuWY.js} +6 -7
  32. package/{dialog-3444dd4d.mjs → dialog-tIMorfuj.mjs} +53 -55
  33. package/dialog.js +1 -1
  34. package/dialog.mjs +10 -10
  35. package/{directive-helpers-0ce1f995.js → directive-helpers--rJ2jf3N.js} +1 -1
  36. package/{directive-helpers-e3ea6592.mjs → directive-helpers-9566lOOl.mjs} +1 -1
  37. package/drawer.js +2 -3
  38. package/drawer.mjs +11 -12
  39. package/empty-state.js +1 -2
  40. package/empty-state.mjs +5 -6
  41. package/{event-options-78d6cf94.mjs → event-options-0xzSdemG.mjs} +1 -1
  42. package/{event-options-3f5eb195.js → event-options-2TJPtsKy.js} +1 -1
  43. package/expansion-panel-item.js +1 -2
  44. package/expansion-panel-item.mjs +5 -6
  45. package/expansion-panel.js +1 -1
  46. package/expansion-panel.mjs +2 -2
  47. package/{form-element-c553d6f5.js → form-element-5s8gft-A.js} +1 -1
  48. package/{form-element-7353b3c4.mjs → form-element-gM33WEq3.mjs} +4 -4
  49. package/formfield.js +6 -7
  50. package/formfield.mjs +20 -22
  51. package/{foundation-786bf879.js → foundation-1Vzfdey_.js} +1 -1
  52. package/{foundation-eff81c1e.mjs → foundation-3Wg80pI7.mjs} +1 -1
  53. package/icon-button.js +2 -3
  54. package/icon-button.mjs +14 -15
  55. package/icon-check-toggle.js +4 -5
  56. package/icon-check-toggle.mjs +22 -24
  57. package/icon-radio-toggle.js +4 -5
  58. package/icon-radio-toggle.mjs +25 -27
  59. package/icon.js +1 -5
  60. package/icon.mjs +15 -21
  61. package/{if-defined-c367f208.mjs → if-defined-BH_l2PVl.mjs} +1 -1
  62. package/{if-defined-f1c45245.js → if-defined-lAIUwAsA.js} +1 -1
  63. package/index.js +1 -1
  64. package/index.mjs +124 -126
  65. package/{inert.esm-359d4581.mjs → inert.esm-vhZXthJr.mjs} +1 -1
  66. package/linear-progress.js +2 -3
  67. package/linear-progress.mjs +10 -11
  68. package/list-item-F2e6aWaj.mjs +11 -0
  69. package/list-item-Ze98reWt.js +5 -0
  70. package/list-item.js +3 -3
  71. package/list-item.mjs +25 -25
  72. package/list.js +3 -8
  73. package/list.mjs +31 -37
  74. package/menu.js +1 -5
  75. package/menu.mjs +28 -34
  76. package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-JOD-Qh-9.js} +42 -2
  77. package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-c44nPIEs.mjs} +198 -3
  78. package/{mwc-drawer-base-0c2b4060.mjs → mwc-drawer-base-8e_1aSuf.mjs} +24 -26
  79. package/{mwc-drawer-base-798b11f8.js → mwc-drawer-base-Fv3JVYPS.js} +5 -5
  80. package/{mwc-icon-28b10c70.mjs → mwc-icon-eaW72Ei7.mjs} +6 -5
  81. package/{mwc-icon-f87639bc.js → mwc-icon-r2y4-AXI.js} +2 -2
  82. package/{mwc-line-ripple-directive-315e996d.mjs → mwc-line-ripple-directive-Q_HMRGPE.mjs} +6 -6
  83. package/{mwc-line-ripple-directive-a6b39a3c.js → mwc-line-ripple-directive-iRoAkPnW.js} +1 -1
  84. package/{list-item-1fc0d619.mjs → mwc-list-item.css-d-SHhq7Q.mjs} +199 -9
  85. package/{list-item-209613bf.js → mwc-list-item.css-yJ5bjNGc.js} +28 -6
  86. package/mwc-list.css-DjU8XB1m.js +111 -0
  87. package/{mwc-list-base-8aa5bfd8.mjs → mwc-list.css-_OVL_dbR.mjs} +213 -212
  88. package/{mwc-menu-base-872420a4.mjs → mwc-menu.css-cKtc1ZD4.mjs} +74 -75
  89. package/mwc-menu.css-qavo4jer.js +190 -0
  90. package/{mwc-radio-base-18a887dd.mjs → mwc-radio.css-_lt-Vcvl.mjs} +123 -117
  91. package/mwc-radio.css-h_Wv0Eag.js +105 -0
  92. package/{mwc-slider.css-c7107d94.js → mwc-slider.css-lCfMVbO5.js} +1 -1
  93. package/{mwc-slider.css-03537082.mjs → mwc-slider.css-md7hPAE7.mjs} +11 -11
  94. package/{mwc-tab-base-cd1570e4.mjs → mwc-tab.css-lT5vTf5I.mjs} +127 -123
  95. package/{mwc-tab-base-f28722aa.js → mwc-tab.css-q4Jsbyp5.js} +26 -22
  96. package/{mwc-top-app-bar-base-aec60f27.js → mwc-top-app-bar-base-8qOIX1me.js} +3 -3
  97. package/{mwc-top-app-bar-base-c7380903.mjs → mwc-top-app-bar-base-nm6mdCR3.mjs} +12 -13
  98. package/nav-list-item.js +5 -6
  99. package/nav-list-item.mjs +37 -38
  100. package/package.json +1 -1
  101. package/{query-d843aa92.mjs → query-1WmuF6Bq.mjs} +1 -1
  102. package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-1p7z6CEm.js} +1 -1
  103. package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-6yHI5ePh.mjs} +1 -1
  104. package/{query-680f1868.js → query-duvhtfSs.js} +1 -1
  105. package/radio-list-item.js +9 -13
  106. package/radio-list-item.mjs +58 -64
  107. package/radio.js +1 -2
  108. package/radio.mjs +23 -25
  109. package/{ripple-handlers-38a43e50.mjs → ripple-handlers-BwaZu9Ps.mjs} +16 -17
  110. package/{ripple-handlers-5d5b21db.js → ripple-handlers-HeGhXgD2.js} +8 -8
  111. package/select.js +10 -15
  112. package/select.mjs +139 -147
  113. package/side-sheet.js +1 -2
  114. package/side-sheet.mjs +11 -12
  115. package/slider-range.js +1 -1
  116. package/slider-range.mjs +14 -14
  117. package/slider.js +1 -1
  118. package/slider.mjs +14 -14
  119. package/snackbar.js +10 -11
  120. package/snackbar.mjs +34 -36
  121. package/{state-0974a8e5.js → state-LqPxt99W.js} +1 -1
  122. package/{state-b5e865db.mjs → state-inNZe6rL.mjs} +1 -1
  123. package/status-header-item.js +1 -2
  124. package/status-header-item.mjs +3 -4
  125. package/status-header.js +2 -3
  126. package/status-header.mjs +4 -5
  127. package/{style-map-88d2563f.js → style-map-66_3wrLx.js} +1 -1
  128. package/{style-map-bc3ed3e0.mjs → style-map-8yp6DGeh.mjs} +2 -2
  129. package/style.css +1 -1
  130. package/switch.js +2 -3
  131. package/switch.mjs +15 -16
  132. package/tab-bar.js +18 -22
  133. package/tab-bar.mjs +195 -203
  134. package/tab.js +1 -6
  135. package/tab.mjs +26 -32
  136. package/text-lockup.js +1 -2
  137. package/text-lockup.mjs +8 -9
  138. package/textarea.js +15 -19
  139. package/textarea.mjs +59 -65
  140. package/textfield-7aU1kEO6.mjs +936 -0
  141. package/textfield-jvevIGSw.js +136 -0
  142. package/textfield.js +3 -7
  143. package/textfield.mjs +30 -36
  144. package/toolbar.js +1 -2
  145. package/toolbar.mjs +9 -10
  146. package/tooltip.js +2 -3
  147. package/tooltip.mjs +9 -10
  148. package/top-app-bar-fixed.js +6 -6
  149. package/top-app-bar-fixed.mjs +27 -28
  150. package/{top-app-bar-f83386e0.mjs → top-app-bar-h0V-USh_.mjs} +2 -3
  151. package/{top-app-bar-a531c1b4.js → top-app-bar-qcW2ucE3.js} +2 -3
  152. package/top-app-bar.js +1 -1
  153. package/top-app-bar.mjs +9 -9
  154. package/tree-list-item.js +1 -2
  155. package/tree-list-item.mjs +6 -7
  156. package/tree-list.js +1 -2
  157. package/tree-list.mjs +2 -3
  158. package/typography.js +1 -2
  159. package/typography.mjs +3 -4
  160. package/mwc-checkbox-base-3d8c9549.js +0 -41
  161. package/mwc-checkbox-base-afeeff16.mjs +0 -198
  162. package/mwc-list-base-400b00e2.js +0 -111
  163. package/mwc-list-item-base-297d86b0.js +0 -28
  164. package/mwc-list-item-base-bf1a075b.mjs +0 -202
  165. package/mwc-menu-base-c75ca473.js +0 -190
  166. package/mwc-radio-base-913e02e2.js +0 -101
  167. package/mwc-radio.css-4e140252.js +0 -5
  168. package/mwc-radio.css-7454bb11.mjs +0 -10
  169. package/textfield-62e16cc2.js +0 -133
  170. package/textfield-a2e37241.mjs +0 -932
  171. /package/{_commonjsHelpers-de2741aa.mjs → _commonjsHelpers-ZPn_iTGj.mjs} +0 -0
  172. /package/{_commonjsHelpers-2367a3a2.js → _commonjsHelpers-fFrWAeZI.js} +0 -0
  173. /package/{aria-property-849c8816.js → aria-property-52VAcg_f.js} +0 -0
  174. /package/{aria-property-fa2717fe.mjs → aria-property-wYjPNXcK.mjs} +0 -0
  175. /package/{inert.esm-2cee6f2e.js → inert.esm-TSRtlTFV.js} +0 -0
  176. /package/{observer-a096ab43.js → observer-LlGBroG9.js} +0 -0
  177. /package/{observer-be7b92e2.mjs → observer-cKAgu-MI.mjs} +0 -0
  178. /package/{property-9b6ea53b.mjs → property-K7hFBmOi.mjs} +0 -0
  179. /package/{property-57f6f6fe.js → property-iZpLBvy-.js} +0 -0
  180. /package/{query-assigned-elements-f623705d.js → query-assigned-elements-j_5ZiL65.js} +0 -0
  181. /package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-yFWOzcsT.mjs} +0 -0
  182. /package/{tslib.es6-98719205.js → tslib.es6-5xG0QhxF.js} +0 -0
  183. /package/{tslib.es6-226581a4.mjs → tslib.es6-S8SvF2K1.mjs} +0 -0
  184. /package/{utils-a8190a39.js → utils-W3ENJhq-.js} +0 -0
  185. /package/{utils-2932417c.mjs → utils-xAXEDL0Y.mjs} +0 -0
package/code-snippet.mjs CHANGED
@@ -1,10 +1,9 @@
1
- import { i as Rt, r as At, s as Mt, x as Me, e as Ct } from "./query-assigned-elements-4a39219d.mjs";
2
- import { n as Te } from "./property-9b6ea53b.mjs";
3
- import { o as It } from "./query-assigned-nodes-df691e78.mjs";
4
- import { o as kt } from "./class-map-4b94b017.mjs";
5
- import { a as xt } from "./_commonjsHelpers-de2741aa.mjs";
6
- const Dt = `:host{background-color:var(--mdc-theme-surface-canvas);border-radius:var(--mdc-shape-medium);display:block;position:relative;overflow:hidden}:host pre{margin:0;padding:16px 0;overflow:auto}:host pre code.hljs.cv-code-snippet{padding:0 16px;display:block;overflow-x:auto}:host .hljs{color:var(--cov-theme-code-snippet-color, #abb2bf)}:host .hljs-comment,:host .hljs-quote{color:var(--cov-theme-code-snippet-comment, #5c6370);font-style:italic}:host .hljs-doctag,:host .hljs-formula,:host .hljs-keyword{color:var(--cov-theme-code-snippet-keyword, #c678dd)}:host .hljs-deletion,:host .hljs-name,:host .hljs-section,:host .hljs-selector-tag,:host .hljs-subst{color:var(--cov-theme-code-snippet-selector, #e06c75)}:host .hljs-literal{color:var(--cov-theme-code-snippet-literal, #56b6c2)}:host .hljs-addition,:host .hljs-attribute,:host .hljs-meta .hljs-string,:host .hljs-regexp,:host .hljs-string{color:var(--cov-theme-code-snippet-string, #98c379)}:host .hljs-attr,:host .hljs-number,:host .hljs-selector-attr,:host .hljs-selector-class,:host .hljs-selector-pseudo,:host .hljs-template-variable,:host .hljs-type,:host .hljs-variable{color:var(--cov-theme-code-snippet-variable, #d19a66)}:host .hljs-bullet,:host .hljs-link,:host .hljs-meta,:host .hljs-selector-id,:host .hljs-symbol,:host .hljs-title{color:var(--cov-theme-code-snippet-title, #61aeee)}:host .hljs-built_in,:host .hljs-class .hljs-title,:host .hljs-title.class_{color:var(--cov-theme-code-snippet-class, #e6c07b)}:host .hljs-emphasis{font-style:italic}:host .hljs-strong{font-weight:700}:host .hljs-link{text-decoration:underline}:host([inline]){border-radius:0}.header{border-bottom:1px solid var(--mdc-theme-border);position:sticky;top:-8px;background-color:var(--mdc-theme-surface-canvas);display:flex;justify-content:space-between;padding:4px 8px 4px 16px;align-items:center;border-radius:var(--mdc-shape-medium) var(--mdc-shape-medium) 0 0}.title{font-family:var(--mdc-typography-subtitle2-font-family);font-size:var(--mdc-typography-subtitle2-font-size);font-weight:var(--mdc-typography-subtitle2-font-weight);line-height:var(--mdc-typography-subtitle2-line-height);padding-right:16px}
7
- `;
1
+ import { i as Rt, r as At, s as Mt, x as Me, e as Ct } from "./query-assigned-elements-yFWOzcsT.mjs";
2
+ import { n as Se } from "./property-K7hFBmOi.mjs";
3
+ import { o as It } from "./query-assigned-nodes-6yHI5ePh.mjs";
4
+ import { o as kt } from "./class-map-YPXv0Hj4.mjs";
5
+ import { a as xt } from "./_commonjsHelpers-ZPn_iTGj.mjs";
6
+ const Dt = ":host{background-color:var(--mdc-theme-surface-canvas);border-radius:var(--mdc-shape-medium);display:block;position:relative;overflow:hidden}:host pre{margin:0;padding:16px 0;overflow:auto}:host pre code.hljs.cv-code-snippet{padding:0 16px;display:block;overflow-x:auto}:host .hljs{color:var(--cov-theme-code-snippet-color, #abb2bf)}:host .hljs-comment,:host .hljs-quote{color:var(--cov-theme-code-snippet-comment, #5c6370);font-style:italic}:host .hljs-doctag,:host .hljs-formula,:host .hljs-keyword{color:var(--cov-theme-code-snippet-keyword, #c678dd)}:host .hljs-deletion,:host .hljs-name,:host .hljs-section,:host .hljs-selector-tag,:host .hljs-subst{color:var(--cov-theme-code-snippet-selector, #e06c75)}:host .hljs-literal{color:var(--cov-theme-code-snippet-literal, #56b6c2)}:host .hljs-addition,:host .hljs-attribute,:host .hljs-meta .hljs-string,:host .hljs-regexp,:host .hljs-string{color:var(--cov-theme-code-snippet-string, #98c379)}:host .hljs-attr,:host .hljs-number,:host .hljs-selector-attr,:host .hljs-selector-class,:host .hljs-selector-pseudo,:host .hljs-template-variable,:host .hljs-type,:host .hljs-variable{color:var(--cov-theme-code-snippet-variable, #d19a66)}:host .hljs-bullet,:host .hljs-link,:host .hljs-meta,:host .hljs-selector-id,:host .hljs-symbol,:host .hljs-title{color:var(--cov-theme-code-snippet-title, #61aeee)}:host .hljs-built_in,:host .hljs-class .hljs-title,:host .hljs-title.class_{color:var(--cov-theme-code-snippet-class, #e6c07b)}:host .hljs-emphasis{font-style:italic}:host .hljs-strong{font-weight:700}:host .hljs-link{text-decoration:underline}:host([inline]){border-radius:0}.header{border-bottom:1px solid var(--mdc-theme-border);position:sticky;top:-8px;background-color:var(--mdc-theme-surface-canvas);display:flex;justify-content:space-between;padding:4px 8px 4px 16px;align-items:center;border-radius:var(--mdc-shape-medium) var(--mdc-shape-medium) 0 0}.title{font-family:var(--mdc-typography-subtitle2-font-family);font-size:var(--mdc-typography-subtitle2-font-size);font-weight:var(--mdc-typography-subtitle2-font-weight);line-height:var(--mdc-typography-subtitle2-line-height);padding-right:16px}";
8
7
  function gt(n) {
9
8
  return n instanceof Map ? n.clear = n.delete = n.set = function() {
10
9
  throw new Error("map is read-only");
@@ -15,7 +14,7 @@ function gt(n) {
15
14
  (s === "object" || s === "function") && !Object.isFrozen(t) && gt(t);
16
15
  }), n;
17
16
  }
18
- class Sn {
17
+ class Tn {
19
18
  /**
20
19
  * @param {CompiledMode} mode
21
20
  */
@@ -39,7 +38,7 @@ function ge(n, ...e) {
39
38
  }), /** @type {T} */
40
39
  t;
41
40
  }
42
- const Lt = "</span>", Tn = (n) => !!n.scope, Bt = (n, { prefix: e }) => {
41
+ const Lt = "</span>", Sn = (n) => !!n.scope, Bt = (n, { prefix: e }) => {
43
42
  if (n.startsWith("language:"))
44
43
  return n.replace("language:", "language-");
45
44
  if (n.includes(".")) {
@@ -73,7 +72,7 @@ class Ut {
73
72
  *
74
73
  * @param {Node} node */
75
74
  openNode(e) {
76
- if (!Tn(e))
75
+ if (!Sn(e))
77
76
  return;
78
77
  const t = Bt(
79
78
  e.scope,
@@ -86,7 +85,7 @@ class Ut {
86
85
  *
87
86
  * @param {Node} node */
88
87
  closeNode(e) {
89
- Tn(e) && (this.buffer += Lt);
88
+ Sn(e) && (this.buffer += Lt);
90
89
  }
91
90
  /**
92
91
  * returns the accumulated buffer
@@ -259,7 +258,7 @@ const Gt = /\b\B/, mt = "[a-zA-Z]\\w*", vn = "[a-zA-Z_]\\w*", Et = "\\b\\d+(\\.\
259
258
  t.index !== 0 && s.ignoreMatch();
260
259
  }
261
260
  }, n);
262
- }, Se = {
261
+ }, Te = {
263
262
  begin: "\\\\[\\s\\S]",
264
263
  relevance: 0
265
264
  }, Yt = {
@@ -267,13 +266,13 @@ const Gt = /\b\B/, mt = "[a-zA-Z]\\w*", vn = "[a-zA-Z_]\\w*", Et = "\\b\\d+(\\.\
267
266
  begin: "'",
268
267
  end: "'",
269
268
  illegal: "\\n",
270
- contains: [Se]
269
+ contains: [Te]
271
270
  }, Zt = {
272
271
  scope: "string",
273
272
  begin: '"',
274
273
  end: '"',
275
274
  illegal: "\\n",
276
- contains: [Se]
275
+ contains: [Te]
277
276
  }, Xt = {
278
277
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
279
278
  }, ke = function(n, e, t = {}) {
@@ -359,12 +358,12 @@ const Gt = /\b\B/, mt = "[a-zA-Z]\\w*", vn = "[a-zA-Z_]\\w*", Et = "\\b\\d+(\\.\
359
358
  begin: /\/(?=[^/\n]*\/)/,
360
359
  end: /\/[gimuy]*/,
361
360
  contains: [
362
- Se,
361
+ Te,
363
362
  {
364
363
  begin: /\[/,
365
364
  end: /\]/,
366
365
  relevance: 0,
367
- contains: [Se]
366
+ contains: [Te]
368
367
  }
369
368
  ]
370
369
  }, rr = {
@@ -397,7 +396,7 @@ const Gt = /\b\B/, mt = "[a-zA-Z]\\w*", vn = "[a-zA-Z_]\\w*", Et = "\\b\\d+(\\.\
397
396
  var Ce = /* @__PURE__ */ Object.freeze({
398
397
  __proto__: null,
399
398
  APOS_STRING_MODE: Yt,
400
- BACKSLASH_ESCAPE: Se,
399
+ BACKSLASH_ESCAPE: Te,
401
400
  BINARY_NUMBER_MODE: nr,
402
401
  BINARY_NUMBER_RE: ht,
403
402
  COMMENT: ke,
@@ -626,7 +625,7 @@ function vr(n) {
626
625
  /** @type {RegExp | string} */
627
626
  a.illegal
628
627
  )), a.contains || (a.contains = []), a.contains = [].concat(...a.contains.map(function(l) {
629
- return Sr(l === "self" ? a : l);
628
+ return Tr(l === "self" ? a : l);
630
629
  })), a.contains.forEach(function(l) {
631
630
  o(
632
631
  /** @type Mode */
@@ -645,18 +644,18 @@ function vr(n) {
645
644
  function vt(n) {
646
645
  return n ? n.endsWithParent || vt(n.starts) : !1;
647
646
  }
648
- function Sr(n) {
647
+ function Tr(n) {
649
648
  return n.variants && !n.cachedVariants && (n.cachedVariants = n.variants.map(function(e) {
650
649
  return ge(n, { variants: null }, e);
651
650
  })), n.cachedVariants ? n.cachedVariants : vt(n) ? ge(n, { starts: n.starts ? ge(n.starts) : null }) : Object.isFrozen(n) ? ge(n) : n;
652
651
  }
653
- var Tr = "11.9.0";
652
+ var Sr = "11.9.0";
654
653
  class Or extends Error {
655
654
  constructor(e, t) {
656
655
  super(e), this.name = "HTMLInjectionError", this.html = t;
657
656
  }
658
657
  }
659
- const Le = bt, An = ge, Mn = Symbol("nomatch"), wr = 7, St = function(n) {
658
+ const Le = bt, An = ge, Mn = Symbol("nomatch"), wr = 7, Tt = function(n) {
660
659
  const e = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null), s = [];
661
660
  let c = !0;
662
661
  const o = "Could not find the language '{}', did you forget to load/include a language module?", a = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -703,71 +702,71 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
703
702
  return _.keywords[y];
704
703
  }
705
704
  function ne() {
706
- if (!S.keywords) {
705
+ if (!T.keywords) {
707
706
  G.addText(P);
708
707
  return;
709
708
  }
710
709
  let _ = 0;
711
- S.keywordPatternRe.lastIndex = 0;
712
- let y = S.keywordPatternRe.exec(P), T = "";
710
+ T.keywordPatternRe.lastIndex = 0;
711
+ let y = T.keywordPatternRe.exec(P), S = "";
713
712
  for (; y; ) {
714
- T += P.substring(_, y.index);
715
- const x = re.case_insensitive ? y[0].toLowerCase() : y[0], X = Y(S, x);
713
+ S += P.substring(_, y.index);
714
+ const x = re.case_insensitive ? y[0].toLowerCase() : y[0], X = Y(T, x);
716
715
  if (X) {
717
716
  const [se, xe] = X;
718
- if (G.addText(T), T = "", U[x] = (U[x] || 0) + 1, U[x] <= wr && (fe += xe), se.startsWith("_"))
719
- T += y[0];
717
+ if (G.addText(S), S = "", U[x] = (U[x] || 0) + 1, U[x] <= wr && (fe += xe), se.startsWith("_"))
718
+ S += y[0];
720
719
  else {
721
720
  const De = re.classNameAliases[se] || se;
722
721
  Z(y[0], De);
723
722
  }
724
723
  } else
725
- T += y[0];
726
- _ = S.keywordPatternRe.lastIndex, y = S.keywordPatternRe.exec(P);
724
+ S += y[0];
725
+ _ = T.keywordPatternRe.lastIndex, y = T.keywordPatternRe.exec(P);
727
726
  }
728
- T += P.substring(_), G.addText(T);
727
+ S += P.substring(_), G.addText(S);
729
728
  }
730
729
  function te() {
731
730
  if (P === "")
732
731
  return;
733
732
  let _ = null;
734
- if (typeof S.subLanguage == "string") {
735
- if (!e[S.subLanguage]) {
733
+ if (typeof T.subLanguage == "string") {
734
+ if (!e[T.subLanguage]) {
736
735
  G.addText(P);
737
736
  return;
738
737
  }
739
- _ = g(S.subLanguage, P, !0, Re[S.subLanguage]), Re[S.subLanguage] = /** @type {CompiledMode} */
738
+ _ = g(T.subLanguage, P, !0, Re[T.subLanguage]), Re[T.subLanguage] = /** @type {CompiledMode} */
740
739
  _._top;
741
740
  } else
742
- _ = p(P, S.subLanguage.length ? S.subLanguage : null);
743
- S.relevance > 0 && (fe += _.relevance), G.__addSublanguage(_._emitter, _.language);
741
+ _ = p(P, T.subLanguage.length ? T.subLanguage : null);
742
+ T.relevance > 0 && (fe += _.relevance), G.__addSublanguage(_._emitter, _.language);
744
743
  }
745
744
  function z() {
746
- S.subLanguage != null ? te() : ne(), P = "";
745
+ T.subLanguage != null ? te() : ne(), P = "";
747
746
  }
748
747
  function Z(_, y) {
749
748
  _ !== "" && (G.startScope(y), G.addText(_), G.endScope());
750
749
  }
751
750
  function q(_, y) {
752
- let T = 1;
751
+ let S = 1;
753
752
  const x = y.length - 1;
754
- for (; T <= x; ) {
755
- if (!_._emit[T]) {
756
- T++;
753
+ for (; S <= x; ) {
754
+ if (!_._emit[S]) {
755
+ S++;
757
756
  continue;
758
757
  }
759
- const X = re.classNameAliases[_[T]] || _[T], se = y[T];
760
- X ? Z(se, X) : (P = se, ne(), P = ""), T++;
758
+ const X = re.classNameAliases[_[S]] || _[S], se = y[S];
759
+ X ? Z(se, X) : (P = se, ne(), P = ""), S++;
761
760
  }
762
761
  }
763
762
  function K(_, y) {
764
- return _.scope && typeof _.scope == "string" && G.openNode(re.classNameAliases[_.scope] || _.scope), _.beginScope && (_.beginScope._wrap ? (Z(P, re.classNameAliases[_.beginScope._wrap] || _.beginScope._wrap), P = "") : _.beginScope._multi && (q(_.beginScope, y), P = "")), S = Object.create(_, { parent: { value: S } }), S;
763
+ return _.scope && typeof _.scope == "string" && G.openNode(re.classNameAliases[_.scope] || _.scope), _.beginScope && (_.beginScope._wrap ? (Z(P, re.classNameAliases[_.beginScope._wrap] || _.beginScope._wrap), P = "") : _.beginScope._multi && (q(_.beginScope, y), P = "")), T = Object.create(_, { parent: { value: T } }), T;
765
764
  }
766
- function Q(_, y, T) {
767
- let x = Kt(_.endRe, T);
765
+ function Q(_, y, S) {
766
+ let x = Kt(_.endRe, S);
768
767
  if (x) {
769
768
  if (_["on:end"]) {
770
- const X = new Sn(_);
769
+ const X = new Tn(_);
771
770
  _["on:end"](y, X), X.isMatchIgnored && (x = !1);
772
771
  }
773
772
  if (x) {
@@ -777,41 +776,41 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
777
776
  }
778
777
  }
779
778
  if (_.endsWithParent)
780
- return Q(_.parent, y, T);
779
+ return Q(_.parent, y, S);
781
780
  }
782
781
  function j(_) {
783
- return S.matcher.regexIndex === 0 ? (P += _[0], 1) : (ce = !0, 0);
782
+ return T.matcher.regexIndex === 0 ? (P += _[0], 1) : (ce = !0, 0);
784
783
  }
785
784
  function ee(_) {
786
- const y = _[0], T = _.rule, x = new Sn(T), X = [T.__beforeBegin, T["on:begin"]];
785
+ const y = _[0], S = _.rule, x = new Tn(S), X = [S.__beforeBegin, S["on:begin"]];
787
786
  for (const se of X)
788
787
  if (se && (se(_, x), x.isMatchIgnored))
789
788
  return j(y);
790
- return T.skip ? P += y : (T.excludeBegin && (P += y), z(), !T.returnBegin && !T.excludeBegin && (P = y)), K(T, _), T.returnBegin ? 0 : y.length;
789
+ return S.skip ? P += y : (S.excludeBegin && (P += y), z(), !S.returnBegin && !S.excludeBegin && (P = y)), K(S, _), S.returnBegin ? 0 : y.length;
791
790
  }
792
791
  function ie(_) {
793
- const y = _[0], T = f.substring(_.index), x = Q(S, _, T);
792
+ const y = _[0], S = f.substring(_.index), x = Q(T, _, S);
794
793
  if (!x)
795
794
  return Mn;
796
- const X = S;
797
- S.endScope && S.endScope._wrap ? (z(), Z(y, S.endScope._wrap)) : S.endScope && S.endScope._multi ? (z(), q(S.endScope, _)) : X.skip ? P += y : (X.returnEnd || X.excludeEnd || (P += y), z(), X.excludeEnd && (P = y));
795
+ const X = T;
796
+ T.endScope && T.endScope._wrap ? (z(), Z(y, T.endScope._wrap)) : T.endScope && T.endScope._multi ? (z(), q(T.endScope, _)) : X.skip ? P += y : (X.returnEnd || X.excludeEnd || (P += y), z(), X.excludeEnd && (P = y));
798
797
  do
799
- S.scope && G.closeNode(), !S.skip && !S.subLanguage && (fe += S.relevance), S = S.parent;
800
- while (S !== x.parent);
798
+ T.scope && G.closeNode(), !T.skip && !T.subLanguage && (fe += T.relevance), T = T.parent;
799
+ while (T !== x.parent);
801
800
  return x.starts && K(x.starts, _), X.returnEnd ? 0 : y.length;
802
801
  }
803
802
  function oe() {
804
803
  const _ = [];
805
- for (let y = S; y !== re; y = y.parent)
804
+ for (let y = T; y !== re; y = y.parent)
806
805
  y.scope && _.unshift(y.scope);
807
806
  _.forEach((y) => G.openNode(y));
808
807
  }
809
808
  let be = {};
810
809
  function Oe(_, y) {
811
- const T = y && y[0];
812
- if (P += _, T == null)
810
+ const S = y && y[0];
811
+ if (P += _, S == null)
813
812
  return z(), 0;
814
- if (be.type === "begin" && y.type === "end" && be.index === y.index && T === "") {
813
+ if (be.type === "begin" && y.type === "end" && be.index === y.index && S === "") {
815
814
  if (P += f.slice(y.index, y.index + 1), !c) {
816
815
  const x = new Error(`0 width match regex (${u})`);
817
816
  throw x.languageName = u, x.badRule = be.rule, x;
@@ -821,24 +820,24 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
821
820
  if (be = y, y.type === "begin")
822
821
  return ee(y);
823
822
  if (y.type === "illegal" && !w) {
824
- const x = new Error('Illegal lexeme "' + T + '" for mode "' + (S.scope || "<unnamed>") + '"');
825
- throw x.mode = S, x;
823
+ const x = new Error('Illegal lexeme "' + S + '" for mode "' + (T.scope || "<unnamed>") + '"');
824
+ throw x.mode = T, x;
826
825
  } else if (y.type === "end") {
827
826
  const x = ie(y);
828
827
  if (x !== Mn)
829
828
  return x;
830
829
  }
831
- if (y.type === "illegal" && T === "")
830
+ if (y.type === "illegal" && S === "")
832
831
  return 1;
833
832
  if (ue > 1e5 && ue > y.index * 3)
834
833
  throw new Error("potential infinite loop, way more iterations than matches");
835
- return P += T, T.length;
834
+ return P += S, S.length;
836
835
  }
837
836
  const re = I(u);
838
837
  if (!re)
839
838
  throw pe(o.replace("{}", u)), new Error('Unknown language: "' + u + '"');
840
839
  const we = vr(re);
841
- let Ee = "", S = k || we;
840
+ let Ee = "", T = k || we;
842
841
  const Re = {}, G = new r.__emitter(r);
843
842
  oe();
844
843
  let P = "", fe = 0, de = 0, ue = 0, ce = !1;
@@ -846,13 +845,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
846
845
  if (re.__emitTokens)
847
846
  re.__emitTokens(f, G);
848
847
  else {
849
- for (S.matcher.considerAll(); ; ) {
850
- ue++, ce ? ce = !1 : S.matcher.considerAll(), S.matcher.lastIndex = de;
851
- const _ = S.matcher.exec(f);
848
+ for (T.matcher.considerAll(); ; ) {
849
+ ue++, ce ? ce = !1 : T.matcher.considerAll(), T.matcher.lastIndex = de;
850
+ const _ = T.matcher.exec(f);
852
851
  if (!_)
853
852
  break;
854
- const y = f.substring(de, _.index), T = Oe(y, _);
855
- de = _.index + T;
853
+ const y = f.substring(de, _.index), S = Oe(y, _);
854
+ de = _.index + S;
856
855
  }
857
856
  Oe(f.substring(de));
858
857
  }
@@ -862,7 +861,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
862
861
  relevance: fe,
863
862
  illegal: !1,
864
863
  _emitter: G,
865
- _top: S
864
+ _top: T
866
865
  };
867
866
  } catch (_) {
868
867
  if (_.message && _.message.includes("Illegal"))
@@ -888,7 +887,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
888
887
  relevance: 0,
889
888
  errorRaised: _,
890
889
  _emitter: G,
891
- _top: S
890
+ _top: T
892
891
  };
893
892
  throw _;
894
893
  }
@@ -1059,7 +1058,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
1059
1058
  c = !1;
1060
1059
  }, n.safeMode = function() {
1061
1060
  c = !0;
1062
- }, n.versionString = Tr, n.regex = {
1061
+ }, n.versionString = Sr, n.regex = {
1063
1062
  concat: _e,
1064
1063
  lookahead: pt,
1065
1064
  either: Nn,
@@ -1069,8 +1068,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
1069
1068
  for (const u in Ce)
1070
1069
  typeof Ce[u] == "object" && gt(Ce[u]);
1071
1070
  return Object.assign(n, Ce), n;
1072
- }, Ne = St({});
1073
- Ne.newInstance = () => St({});
1071
+ }, Ne = Tt({});
1072
+ Ne.newInstance = () => Tt({});
1074
1073
  var Rr = Ne;
1075
1074
  Ne.HighlightJS = Ne;
1076
1075
  Ne.default = Ne;
@@ -1667,13 +1666,13 @@ function Cr() {
1667
1666
  return Pe;
1668
1667
  kn = 1;
1669
1668
  function n(e) {
1670
- const t = e.regex, s = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), c = "decltype\\(auto\\)", o = "[a-zA-Z_]\\w*::", a = "<[^<>]+>", r = "(" + c + "|" + t.optional(o) + "[a-zA-Z_]\\w*" + t.optional(a) + ")", i = {
1669
+ const t = e.regex, s = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), c = "decltype\\(auto\\)", o = "[a-zA-Z_]\\w*::", r = "(" + c + "|" + t.optional(o) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", i = {
1671
1670
  className: "type",
1672
1671
  variants: [
1673
1672
  { begin: "\\b[a-z\\d_]*_t\\b" },
1674
1673
  { match: /\batomic_[a-z]{3,6}\b/ }
1675
1674
  ]
1676
- }, d = "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)", l = {
1675
+ }, l = {
1677
1676
  className: "string",
1678
1677
  variants: [
1679
1678
  {
@@ -1683,7 +1682,7 @@ function Cr() {
1683
1682
  contains: [e.BACKSLASH_ESCAPE]
1684
1683
  },
1685
1684
  {
1686
- begin: "(u8?|U|L)?'(" + d + "|.)",
1685
+ begin: "(u8?|U|L)?'(" + "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)" + "|.)",
1687
1686
  end: "'",
1688
1687
  illegal: "."
1689
1688
  },
@@ -1933,10 +1932,10 @@ function Ir() {
1933
1932
  return Fe;
1934
1933
  xn = 1;
1935
1934
  function n(e) {
1936
- const t = e.regex, s = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), c = "decltype\\(auto\\)", o = "[a-zA-Z_]\\w*::", a = "<[^<>]+>", r = "(?!struct)(" + c + "|" + t.optional(o) + "[a-zA-Z_]\\w*" + t.optional(a) + ")", i = {
1935
+ const t = e.regex, s = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), c = "decltype\\(auto\\)", o = "[a-zA-Z_]\\w*::", r = "(?!struct)(" + c + "|" + t.optional(o) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", i = {
1937
1936
  className: "type",
1938
1937
  begin: "\\b[a-z\\d_]*_t\\b"
1939
- }, d = "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)", l = {
1938
+ }, l = {
1940
1939
  className: "string",
1941
1940
  variants: [
1942
1941
  {
@@ -1946,7 +1945,7 @@ function Ir() {
1946
1945
  contains: [e.BACKSLASH_ESCAPE]
1947
1946
  },
1948
1947
  {
1949
- begin: "(u8?|U|L)?'(" + d + "|.)",
1948
+ begin: "(u8?|U|L)?'(" + "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)" + "|.)",
1950
1949
  end: "'",
1951
1950
  illegal: "."
1952
1951
  },
@@ -4172,7 +4171,7 @@ function Br() {
4172
4171
  }
4173
4172
  ].concat(d, l);
4174
4173
  g.contains = L, N.contains = L;
4175
- const v = "[>?]>", I = "[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]", H = "(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>", F = [
4174
+ const F = [
4176
4175
  {
4177
4176
  begin: /^\s*=>/,
4178
4177
  starts: {
@@ -4182,7 +4181,7 @@ function Br() {
4182
4181
  },
4183
4182
  {
4184
4183
  className: "meta.prompt",
4185
- begin: "^(" + v + "|" + I + "|" + H + ")(?=[ ])",
4184
+ begin: "^(" + "[>?]>" + "|" + "[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]" + "|" + "(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>" + ")(?=[ ])",
4186
4185
  starts: {
4187
4186
  end: "$",
4188
4187
  keywords: r,
@@ -7947,7 +7946,7 @@ function Jr() {
7947
7946
  return on;
7948
7947
  et = 1;
7949
7948
  function n(e) {
7950
- const t = e.regex, s = /[\p{XID_Start}_]\p{XID_Continue}*/u, c = [
7949
+ const t = e.regex, s = new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*", "u"), c = [
7951
7950
  "and",
7952
7951
  "as",
7953
7952
  "assert",
@@ -10723,7 +10722,7 @@ function ia() {
10723
10722
  re("#"),
10724
10723
  Oe
10725
10724
  ]
10726
- }, Ee = { match: t(/`/, C, /`/) }, S = {
10725
+ }, Ee = { match: t(/`/, C, /`/) }, T = {
10727
10726
  className: "variable",
10728
10727
  match: /\$\d+/
10729
10728
  }, Re = {
@@ -10731,7 +10730,7 @@ function ia() {
10731
10730
  match: `\\$${O}+`
10732
10731
  }, G = [
10733
10732
  Ee,
10734
- S,
10733
+ T,
10735
10734
  Re
10736
10735
  ], P = {
10737
10736
  match: /(@|#(un)?)available/,
@@ -10806,7 +10805,7 @@ function ia() {
10806
10805
  match: t(C, /\s*:/),
10807
10806
  keywords: "_|0",
10808
10807
  relevance: 0
10809
- }, T = {
10808
+ }, S = {
10810
10809
  begin: /\(/,
10811
10810
  end: /\)/,
10812
10811
  relevance: 0,
@@ -10863,7 +10862,7 @@ function ia() {
10863
10862
  oe,
10864
10863
  ...ue,
10865
10864
  ce,
10866
- T
10865
+ S
10867
10866
  ],
10868
10867
  endsParent: !0,
10869
10868
  illegal: /["']/
@@ -10898,7 +10897,7 @@ function ia() {
10898
10897
  I
10899
10898
  ],
10900
10899
  illegal: /\[|%/
10901
- }, Tt = {
10900
+ }, St = {
10902
10901
  match: [
10903
10902
  /operator/,
10904
10903
  /\s+/,
@@ -10968,7 +10967,7 @@ function ia() {
10968
10967
  ...f
10969
10968
  ]
10970
10969
  },
10971
- Tt,
10970
+ St,
10972
10971
  Ot,
10973
10972
  {
10974
10973
  beginKeywords: "import",
@@ -10985,7 +10984,7 @@ function ia() {
10985
10984
  ...G,
10986
10985
  ...ue,
10987
10986
  ce,
10988
- T
10987
+ S
10989
10988
  ]
10990
10989
  };
10991
10990
  }
@@ -11052,9 +11051,9 @@ function sa() {
11052
11051
  end: /"/
11053
11052
  },
11054
11053
  { begin: /[^\s,{}[\]]+/ }
11055
- ] }), i = "[0-9]{4}(-[0-9][0-9]){0,2}", d = "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?", l = "(\\.[0-9]*)?", g = "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?", b = {
11054
+ ] }), b = {
11056
11055
  className: "number",
11057
- begin: "\\b" + i + d + l + g + "\\b"
11056
+ begin: "\\b" + "[0-9]{4}(-[0-9][0-9]){0,2}" + "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?" + "(\\.[0-9]*)?" + "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?" + "\\b"
11058
11057
  }, p = {
11059
11058
  end: ",",
11060
11059
  endsWithParent: !0,
@@ -12227,22 +12226,22 @@ le.styles = [
12227
12226
  `
12228
12227
  ];
12229
12228
  me([
12230
- Te()
12229
+ Se()
12231
12230
  ], le.prototype, "language", 2);
12232
12231
  me([
12233
- Te()
12232
+ Se()
12234
12233
  ], le.prototype, "label", 2);
12235
12234
  me([
12236
- Te({ type: Boolean, reflect: !0 })
12235
+ Se({ type: Boolean, reflect: !0 })
12237
12236
  ], le.prototype, "inline", 2);
12238
12237
  me([
12239
- Te({ type: Boolean, reflect: !0 })
12238
+ Se({ type: Boolean, reflect: !0 })
12240
12239
  ], le.prototype, "hideHeader", 2);
12241
12240
  me([
12242
12241
  It({})
12243
12242
  ], le.prototype, "_codeItems", 2);
12244
12243
  me([
12245
- Te()
12244
+ Se()
12246
12245
  ], le.prototype, "maxHeight", 2);
12247
12246
  le = me([
12248
12247
  Ct("cv-code-snippet")