@mhmo91/schmancy 0.2.200 → 0.2.202

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 (287) hide show
  1. package/ai/boat.md +118 -0
  2. package/ai/chips.md +89 -123
  3. package/dist/ai/boat.md +118 -0
  4. package/dist/ai/chips.md +89 -123
  5. package/dist/{animated-text-BZWvzqEZ.js → animated-text-BYS4ollO.js} +3 -3
  6. package/dist/{animated-text-BZWvzqEZ.js.map → animated-text-BYS4ollO.js.map} +1 -1
  7. package/dist/{animated-text-BgLktXr-.cjs → animated-text-jb8xtsKZ.cjs} +2 -2
  8. package/dist/{animated-text-BgLktXr-.cjs.map → animated-text-jb8xtsKZ.cjs.map} +1 -1
  9. package/dist/animated-text.cjs +1 -1
  10. package/dist/animated-text.js +1 -1
  11. package/dist/area.cjs +1 -1
  12. package/dist/{area.component-zvrF1R-P.js → area.component-DxNRxMvF.js} +4 -4
  13. package/dist/area.component-DxNRxMvF.js.map +1 -0
  14. package/dist/{area.component-CqKoQRDp.cjs → area.component-VivYGPFY.cjs} +3 -3
  15. package/dist/area.component-VivYGPFY.cjs.map +1 -0
  16. package/dist/area.js +1 -1
  17. package/dist/{autocomplete-CpYDECg0.js → autocomplete-Bau2LIoa.js} +3 -3
  18. package/dist/{autocomplete-CpYDECg0.js.map → autocomplete-Bau2LIoa.js.map} +1 -1
  19. package/dist/{autocomplete-BCE9oBkO.cjs → autocomplete-CfpLrL2J.cjs} +2 -2
  20. package/dist/{autocomplete-BCE9oBkO.cjs.map → autocomplete-CfpLrL2J.cjs.map} +1 -1
  21. package/dist/autocomplete.cjs +1 -1
  22. package/dist/autocomplete.js +1 -1
  23. package/dist/{avatar-B_y2vLrR.cjs → avatar-CUD4cs6U.cjs} +2 -2
  24. package/dist/{avatar-B_y2vLrR.cjs.map → avatar-CUD4cs6U.cjs.map} +1 -1
  25. package/dist/{avatar-B_BubJYb.js → avatar-CsMJfDiv.js} +47 -46
  26. package/dist/{avatar-B_BubJYb.js.map → avatar-CsMJfDiv.js.map} +1 -1
  27. package/dist/badge.cjs +1 -1
  28. package/dist/badge.js +1 -1
  29. package/dist/boat-BH_EwwX-.cjs +64 -0
  30. package/dist/boat-BH_EwwX-.cjs.map +1 -0
  31. package/dist/boat-CqW5lpYZ.js +95 -0
  32. package/dist/boat-CqW5lpYZ.js.map +1 -0
  33. package/dist/boat.cjs +2 -0
  34. package/dist/boat.cjs.map +1 -0
  35. package/dist/boat.js +5 -0
  36. package/dist/boat.js.map +1 -0
  37. package/dist/busy.cjs +1 -1
  38. package/dist/busy.js +1 -1
  39. package/dist/button.cjs +1 -1
  40. package/dist/button.js +1 -1
  41. package/dist/card.cjs +1 -1
  42. package/dist/card.js +1 -1
  43. package/dist/{checkbox-DATn1US_.cjs → checkbox-BPaB8gjl.cjs} +2 -2
  44. package/dist/{checkbox-DATn1US_.cjs.map → checkbox-BPaB8gjl.cjs.map} +1 -1
  45. package/dist/{checkbox-CJ6x-G_b.js → checkbox-DWzhuPa4.js} +6 -6
  46. package/dist/{checkbox-CJ6x-G_b.js.map → checkbox-DWzhuPa4.js.map} +1 -1
  47. package/dist/checkbox.cjs +1 -1
  48. package/dist/checkbox.js +1 -1
  49. package/dist/{chips-BbWIMKDU.cjs → chips-B_JKvtqB.cjs} +2 -2
  50. package/dist/{chips-BbWIMKDU.cjs.map → chips-B_JKvtqB.cjs.map} +1 -1
  51. package/dist/{chips-CcT1N7--.js → chips-K6z9BIbc.js} +9 -9
  52. package/dist/{chips-CcT1N7--.js.map → chips-K6z9BIbc.js.map} +1 -1
  53. package/dist/chips.cjs +1 -1
  54. package/dist/chips.js +1 -1
  55. package/dist/{circular-progress-JGc2_9ef.cjs → circular-progress-BG_EnVTn.cjs} +2 -2
  56. package/dist/{circular-progress-JGc2_9ef.cjs.map → circular-progress-BG_EnVTn.cjs.map} +1 -1
  57. package/dist/{circular-progress-Cs3G6PHo.js → circular-progress-irMd5G3E.js} +3 -3
  58. package/dist/{circular-progress-Cs3G6PHo.js.map → circular-progress-irMd5G3E.js.map} +1 -1
  59. package/dist/circular-progress.cjs +1 -1
  60. package/dist/circular-progress.js +1 -1
  61. package/dist/code-highlight.cjs +1 -1
  62. package/dist/code-highlight.js +1 -1
  63. package/dist/{code-preview-DXf_SN2X.cjs → code-preview-BDi-9C_7.cjs} +14 -9
  64. package/dist/{code-preview-DXf_SN2X.cjs.map → code-preview-BDi-9C_7.cjs.map} +1 -1
  65. package/dist/{code-preview-BZ-uk6y1.js → code-preview-D_QJybDt.js} +129 -124
  66. package/dist/{code-preview-BZ-uk6y1.js.map → code-preview-D_QJybDt.js.map} +1 -1
  67. package/dist/components.cjs +1 -1
  68. package/dist/components.js +1 -1
  69. package/dist/content-drawer.cjs +1 -1
  70. package/dist/content-drawer.js +1 -1
  71. package/dist/{date-range-D85imfq-.cjs → date-range--jCSlkf3.cjs} +2 -2
  72. package/dist/{date-range-D85imfq-.cjs.map → date-range--jCSlkf3.cjs.map} +1 -1
  73. package/dist/{date-range-Dt9V5MyB.js → date-range-B9UeIzcl.js} +3 -3
  74. package/dist/{date-range-Dt9V5MyB.js.map → date-range-B9UeIzcl.js.map} +1 -1
  75. package/dist/date-range.cjs +1 -1
  76. package/dist/date-range.js +1 -1
  77. package/dist/{delay-CE3iPMYG.js → delay-CCOKwDX3.js} +2 -2
  78. package/dist/{delay-CE3iPMYG.js.map → delay-CCOKwDX3.js.map} +1 -1
  79. package/dist/{delay-BH-y0tJg.cjs → delay-OOtwG41o.cjs} +2 -2
  80. package/dist/{delay-BH-y0tJg.cjs.map → delay-OOtwG41o.cjs.map} +1 -1
  81. package/dist/delay.cjs +1 -1
  82. package/dist/delay.js +1 -1
  83. package/dist/{dialog-content-BQN75NSZ.cjs → dialog-content-B3kd79fM.cjs} +2 -2
  84. package/dist/{dialog-content-BQN75NSZ.cjs.map → dialog-content-B3kd79fM.cjs.map} +1 -1
  85. package/dist/{dialog-content-E5R1XfK5.js → dialog-content-BpvJPGA8.js} +3 -3
  86. package/dist/{dialog-content-E5R1XfK5.js.map → dialog-content-BpvJPGA8.js.map} +1 -1
  87. package/dist/dialog.cjs +1 -1
  88. package/dist/dialog.js +1 -1
  89. package/dist/{divider-BEtL0P-_.cjs → divider-Bf9Slnvo.cjs} +2 -2
  90. package/dist/{divider-BEtL0P-_.cjs.map → divider-Bf9Slnvo.cjs.map} +1 -1
  91. package/dist/{divider-BlSi0WWi.js → divider-CmpZyxZz.js} +3 -3
  92. package/dist/{divider-BlSi0WWi.js.map → divider-CmpZyxZz.js.map} +1 -1
  93. package/dist/divider.cjs +1 -1
  94. package/dist/divider.js +1 -1
  95. package/dist/{dropdown-content-DkKciM_R.js → dropdown-content-CU1cly-s.js} +3 -3
  96. package/dist/{dropdown-content-DkKciM_R.js.map → dropdown-content-CU1cly-s.js.map} +1 -1
  97. package/dist/{dropdown-content-HRI7Jkak.cjs → dropdown-content-DBk4DHeT.cjs} +2 -2
  98. package/dist/{dropdown-content-HRI7Jkak.cjs.map → dropdown-content-DBk4DHeT.cjs.map} +1 -1
  99. package/dist/dropdown.cjs +1 -1
  100. package/dist/dropdown.js +1 -1
  101. package/dist/extra.cjs +1 -1
  102. package/dist/extra.js +1 -1
  103. package/dist/{flex-DHA02Mfw.js → flex-CujhhojR.js} +2 -2
  104. package/dist/{flex-DHA02Mfw.js.map → flex-CujhhojR.js.map} +1 -1
  105. package/dist/{flex-CwTn3AfA.cjs → flex-W05LrmiY.cjs} +2 -2
  106. package/dist/{flex-CwTn3AfA.cjs.map → flex-W05LrmiY.cjs.map} +1 -1
  107. package/dist/{form-DsprWndI.js → form-BHEhndln.js} +2 -2
  108. package/dist/{form-DsprWndI.js.map → form-BHEhndln.js.map} +1 -1
  109. package/dist/{form-C9llOgOw.cjs → form-D99IyIWZ.cjs} +2 -2
  110. package/dist/{form-C9llOgOw.cjs.map → form-D99IyIWZ.cjs.map} +1 -1
  111. package/dist/form.cjs +1 -1
  112. package/dist/form.js +1 -1
  113. package/dist/{icon-D967cxey.js → icon-C200ch2d.js} +2 -2
  114. package/dist/{icon-D967cxey.js.map → icon-C200ch2d.js.map} +1 -1
  115. package/dist/{icon-B1vaqlkD.cjs → icon-DwMgmWET.cjs} +2 -2
  116. package/dist/{icon-B1vaqlkD.cjs.map → icon-DwMgmWET.cjs.map} +1 -1
  117. package/dist/{icon-button-C_OqjQfc.js → icon-button-CpaZ6Sl4.js} +3 -3
  118. package/dist/{icon-button-C_OqjQfc.js.map → icon-button-CpaZ6Sl4.js.map} +1 -1
  119. package/dist/{icon-button-D6RzSEQb.cjs → icon-button-DjdXn0i9.cjs} +2 -2
  120. package/dist/{icon-button-D6RzSEQb.cjs.map → icon-button-DjdXn0i9.cjs.map} +1 -1
  121. package/dist/icons.cjs +1 -1
  122. package/dist/icons.js +1 -1
  123. package/dist/index.cjs +1 -1
  124. package/dist/index.js +157 -155
  125. package/dist/index.js.map +1 -1
  126. package/dist/{input-DschQCBp.cjs → input-BeOn-cgH.cjs} +2 -2
  127. package/dist/{input-DschQCBp.cjs.map → input-BeOn-cgH.cjs.map} +1 -1
  128. package/dist/{input-4heVsnGw.js → input-oJU4j5gv.js} +2 -2
  129. package/dist/{input-4heVsnGw.js.map → input-oJU4j5gv.js.map} +1 -1
  130. package/dist/input.cjs +1 -1
  131. package/dist/input.js +1 -1
  132. package/dist/layout.cjs +1 -1
  133. package/dist/layout.js +1 -1
  134. package/dist/{list-B1bxSmd5.cjs → list-77ofKN4f.cjs} +2 -2
  135. package/dist/{list-B1bxSmd5.cjs.map → list-77ofKN4f.cjs.map} +1 -1
  136. package/dist/{list-DE1otSG3.js → list-DA5qfp5T.js} +2 -2
  137. package/dist/{list-DE1otSG3.js.map → list-DA5qfp5T.js.map} +1 -1
  138. package/dist/list.cjs +1 -1
  139. package/dist/list.js +1 -1
  140. package/dist/{litElement.mixin-1-y-wwQg.js → litElement.mixin-BWl8md6o.js} +2 -2
  141. package/dist/{litElement.mixin-1-y-wwQg.js.map → litElement.mixin-BWl8md6o.js.map} +1 -1
  142. package/dist/{litElement.mixin-CB6DWbFn.cjs → litElement.mixin-DWxMKydc.cjs} +2 -2
  143. package/dist/{litElement.mixin-CB6DWbFn.cjs.map → litElement.mixin-DWxMKydc.cjs.map} +1 -1
  144. package/dist/{menu-TDH53RmV.cjs → menu-Bo6lczzN.cjs} +2 -2
  145. package/dist/{menu-TDH53RmV.cjs.map → menu-Bo6lczzN.cjs.map} +1 -1
  146. package/dist/{menu-B1qPlV2t.js → menu-DHJGkSYp.js} +3 -3
  147. package/dist/{menu-B1qPlV2t.js.map → menu-DHJGkSYp.js.map} +1 -1
  148. package/dist/menu.cjs +1 -1
  149. package/dist/menu.js +1 -1
  150. package/dist/nav-drawer.cjs +1 -1
  151. package/dist/nav-drawer.js +1 -1
  152. package/dist/{notification-service-D2pgTqTS.js → notification-service-DzLqQyQY.js} +3 -3
  153. package/dist/{notification-service-D2pgTqTS.js.map → notification-service-DzLqQyQY.js.map} +1 -1
  154. package/dist/{notification-service-BKSRwonz.cjs → notification-service-WLfJOHGg.cjs} +2 -2
  155. package/dist/{notification-service-BKSRwonz.cjs.map → notification-service-WLfJOHGg.cjs.map} +1 -1
  156. package/dist/notification.cjs +1 -1
  157. package/dist/notification.js +1 -1
  158. package/dist/{option-Q6l-t3es.cjs → option-D7kpmdEM.cjs} +2 -2
  159. package/dist/{option-Q6l-t3es.cjs.map → option-D7kpmdEM.cjs.map} +1 -1
  160. package/dist/{option-CLY6hO5V.js → option-DQpRizvO.js} +2 -2
  161. package/dist/{option-CLY6hO5V.js.map → option-DQpRizvO.js.map} +1 -1
  162. package/dist/option.cjs +1 -1
  163. package/dist/option.js +1 -1
  164. package/dist/{payment-card-form-BpaCnjrt.js → payment-card-form-BZLHY7HJ.js} +3 -3
  165. package/dist/{payment-card-form-BpaCnjrt.js.map → payment-card-form-BZLHY7HJ.js.map} +1 -1
  166. package/dist/{payment-card-form-V5eIamA9.cjs → payment-card-form-DfgGRWy8.cjs} +2 -2
  167. package/dist/{payment-card-form-V5eIamA9.cjs.map → payment-card-form-DfgGRWy8.cjs.map} +1 -1
  168. package/dist/{radio-button-CuTpkLr8.js → radio-button-BNpFaQX8.js} +2 -2
  169. package/dist/{radio-button-CuTpkLr8.js.map → radio-button-BNpFaQX8.js.map} +1 -1
  170. package/dist/{radio-button-Dm2I9Ic4.cjs → radio-button-BiHHYFbP.cjs} +2 -2
  171. package/dist/{radio-button-Dm2I9Ic4.cjs.map → radio-button-BiHHYFbP.cjs.map} +1 -1
  172. package/dist/radio-group.cjs +1 -1
  173. package/dist/radio-group.js +1 -1
  174. package/dist/{schmancy-steps-container-DO4tx0KH.cjs → schmancy-steps-container-DhJWC3Lf.cjs} +2 -2
  175. package/dist/{schmancy-steps-container-DO4tx0KH.cjs.map → schmancy-steps-container-DhJWC3Lf.cjs.map} +1 -1
  176. package/dist/{schmancy-steps-container-SrnYbTe-.js → schmancy-steps-container-idw6M7gT.js} +2 -2
  177. package/dist/{schmancy-steps-container-SrnYbTe-.js.map → schmancy-steps-container-idw6M7gT.js.map} +1 -1
  178. package/dist/{select-BJdRm5US.cjs → select-BQVRqkgK.cjs} +2 -2
  179. package/dist/{select-BJdRm5US.cjs.map → select-BQVRqkgK.cjs.map} +1 -1
  180. package/dist/{select-DfemPf0w.js → select-DV_tG6Z1.js} +3 -3
  181. package/dist/{select-DfemPf0w.js.map → select-DV_tG6Z1.js.map} +1 -1
  182. package/dist/select.cjs +1 -1
  183. package/dist/select.js +1 -1
  184. package/dist/{sheet-Bvj7tapP.js → sheet-DGaUsOLM.js} +3 -3
  185. package/dist/{sheet-Bvj7tapP.js.map → sheet-DGaUsOLM.js.map} +1 -1
  186. package/dist/{sheet-BtaT1eui.cjs → sheet-Ds_huwa_.cjs} +2 -2
  187. package/dist/{sheet-BtaT1eui.cjs.map → sheet-Ds_huwa_.cjs.map} +1 -1
  188. package/dist/sheet.cjs +1 -1
  189. package/dist/sheet.js +1 -1
  190. package/dist/{slider-AQvRuZ-m.cjs → slider-CJINpiTK.cjs} +2 -2
  191. package/dist/{slider-AQvRuZ-m.cjs.map → slider-CJINpiTK.cjs.map} +1 -1
  192. package/dist/{slider-DAwHA6Az.js → slider-Cl30H-Ky.js} +3 -3
  193. package/dist/{slider-DAwHA6Az.js.map → slider-Cl30H-Ky.js.map} +1 -1
  194. package/dist/slider.cjs +1 -1
  195. package/dist/slider.js +1 -1
  196. package/dist/{spinner-DrZuae0L.js → spinner-Dpo3W3c-.js} +3 -3
  197. package/dist/{spinner-DrZuae0L.js.map → spinner-Dpo3W3c-.js.map} +1 -1
  198. package/dist/{spinner-BLy3-lqb.cjs → spinner-uO1siKhB.cjs} +2 -2
  199. package/dist/{spinner-BLy3-lqb.cjs.map → spinner-uO1siKhB.cjs.map} +1 -1
  200. package/dist/steps.cjs +1 -1
  201. package/dist/steps.js +1 -1
  202. package/dist/{surface-CAlEVfSs.js → surface-C6Krb1lv.js} +3 -3
  203. package/dist/{surface-CAlEVfSs.js.map → surface-C6Krb1lv.js.map} +1 -1
  204. package/dist/{surface-BOerTano.cjs → surface-JsTE_chE.cjs} +3 -3
  205. package/dist/{surface-BOerTano.cjs.map → surface-JsTE_chE.cjs.map} +1 -1
  206. package/dist/surface.cjs +1 -1
  207. package/dist/surface.js +1 -1
  208. package/dist/{table-hjsAGpRq.js → table-Dbf_6MHf.js} +2 -2
  209. package/dist/{table-hjsAGpRq.js.map → table-Dbf_6MHf.js.map} +1 -1
  210. package/dist/{table-B3VrNQUV.cjs → table-ZmivCJrn.cjs} +2 -2
  211. package/dist/{table-B3VrNQUV.cjs.map → table-ZmivCJrn.cjs.map} +1 -1
  212. package/dist/table.cjs +1 -1
  213. package/dist/table.js +1 -1
  214. package/dist/{tabs-compatibility-D9ajXdXz.js → tabs-compatibility-CDMklQAm.js} +2 -2
  215. package/dist/{tabs-compatibility-D9ajXdXz.js.map → tabs-compatibility-CDMklQAm.js.map} +1 -1
  216. package/dist/{tabs-compatibility-DdXO8DcF.cjs → tabs-compatibility-CTswDDwq.cjs} +2 -2
  217. package/dist/{tabs-compatibility-DdXO8DcF.cjs.map → tabs-compatibility-CTswDDwq.cjs.map} +1 -1
  218. package/dist/tabs.cjs +1 -1
  219. package/dist/tabs.js +1 -1
  220. package/dist/tailwind.mixin-B1NF3tDz.cjs +2 -0
  221. package/dist/{tailwind.mixin-mxyACxyp.cjs.map → tailwind.mixin-B1NF3tDz.cjs.map} +1 -1
  222. package/dist/tailwind.mixin-DRbXmwPy.js +43 -0
  223. package/dist/{tailwind.mixin-DPUboU_5.js.map → tailwind.mixin-DRbXmwPy.js.map} +1 -1
  224. package/dist/teleport.cjs +1 -1
  225. package/dist/teleport.js +1 -1
  226. package/dist/{textarea-C16vg4ME.cjs → textarea-B5NhHUmB.cjs} +2 -2
  227. package/dist/{textarea-C16vg4ME.cjs.map → textarea-B5NhHUmB.cjs.map} +1 -1
  228. package/dist/{textarea-DqFx1pM1.js → textarea-BgIcOe2_.js} +2 -2
  229. package/dist/{textarea-DqFx1pM1.js.map → textarea-BgIcOe2_.js.map} +1 -1
  230. package/dist/textarea.cjs +1 -1
  231. package/dist/textarea.js +1 -1
  232. package/dist/{theme-button-CgZ5qc7_.cjs → theme-button-ByTuVI2m.cjs} +2 -2
  233. package/dist/{theme-button-CgZ5qc7_.cjs.map → theme-button-ByTuVI2m.cjs.map} +1 -1
  234. package/dist/{theme-button-D5fnf2QD.js → theme-button-CHfJgh_S.js} +2 -2
  235. package/dist/{theme-button-D5fnf2QD.js.map → theme-button-CHfJgh_S.js.map} +1 -1
  236. package/dist/theme-button.cjs +1 -1
  237. package/dist/theme-button.js +1 -1
  238. package/dist/theme.cjs +1 -1
  239. package/dist/{theme.component-BOnjDUB3.js → theme.component-BOA_RlkP.js} +2 -2
  240. package/dist/{theme.component-BOnjDUB3.js.map → theme.component-BOA_RlkP.js.map} +1 -1
  241. package/dist/{theme.component-B5uMqEbH.cjs → theme.component-Dqb12V2Y.cjs} +2 -2
  242. package/dist/{theme.component-B5uMqEbH.cjs.map → theme.component-Dqb12V2Y.cjs.map} +1 -1
  243. package/dist/theme.js +1 -1
  244. package/dist/{timezone-CdAu8QsM.cjs → timezone-CeArJOdv.cjs} +2 -2
  245. package/dist/{timezone-CdAu8QsM.cjs.map → timezone-CeArJOdv.cjs.map} +1 -1
  246. package/dist/{timezone-DwU-YCRw.js → timezone-EnguJE1R.js} +3 -3
  247. package/dist/{timezone-DwU-YCRw.js.map → timezone-EnguJE1R.js.map} +1 -1
  248. package/dist/{tooltip-Bn-UWxd4.js → tooltip-beiWb2qf.js} +2 -2
  249. package/dist/{tooltip-Bn-UWxd4.js.map → tooltip-beiWb2qf.js.map} +1 -1
  250. package/dist/{tooltip-CyI3NYzI.cjs → tooltip-swpV3EIO.cjs} +2 -2
  251. package/dist/{tooltip-CyI3NYzI.cjs.map → tooltip-swpV3EIO.cjs.map} +1 -1
  252. package/dist/tooltip.cjs +1 -1
  253. package/dist/tooltip.js +1 -1
  254. package/dist/{tree-D2g2zq2B.js → tree-BJfdIGMP.js} +2 -2
  255. package/dist/{tree-D2g2zq2B.js.map → tree-BJfdIGMP.js.map} +1 -1
  256. package/dist/{tree-DdXcAF6S.cjs → tree-CwNbvxdt.cjs} +2 -2
  257. package/dist/{tree-DdXcAF6S.cjs.map → tree-CwNbvxdt.cjs.map} +1 -1
  258. package/dist/tree.cjs +1 -1
  259. package/dist/tree.js +1 -1
  260. package/dist/{typewriter-3w_PiJFo.js → typewriter-BAfCN_JJ.js} +4 -4
  261. package/dist/{typewriter-3w_PiJFo.js.map → typewriter-BAfCN_JJ.js.map} +1 -1
  262. package/dist/{typewriter-RVqJuWSv.cjs → typewriter-CQePZbSj.cjs} +2 -2
  263. package/dist/{typewriter-RVqJuWSv.cjs.map → typewriter-CQePZbSj.cjs.map} +1 -1
  264. package/dist/typewriter.cjs +1 -1
  265. package/dist/typewriter.js +1 -1
  266. package/dist/typography-CUv4DPU-.js +342 -0
  267. package/dist/typography-CUv4DPU-.js.map +1 -0
  268. package/dist/typography-DrDWI6Bh.cjs +318 -0
  269. package/dist/typography-DrDWI6Bh.cjs.map +1 -0
  270. package/dist/typography.cjs +1 -1
  271. package/dist/typography.js +1 -1
  272. package/package.json +15 -15
  273. package/types/src/area/area.component.d.ts +1 -1
  274. package/types/src/area/router.types.d.ts +1 -1
  275. package/types/src/boat/boat.d.ts +12 -0
  276. package/types/src/boat/index.d.ts +1 -0
  277. package/types/src/index.d.ts +1 -0
  278. package/types/src/surface/surface.d.ts +1 -1
  279. package/types/src/typography/typography.d.ts +6 -5
  280. package/dist/area.component-CqKoQRDp.cjs.map +0 -1
  281. package/dist/area.component-zvrF1R-P.js.map +0 -1
  282. package/dist/tailwind.mixin-DPUboU_5.js +0 -43
  283. package/dist/tailwind.mixin-mxyACxyp.cjs +0 -2
  284. package/dist/typography-BLJPXhuT.cjs +0 -10
  285. package/dist/typography-BLJPXhuT.cjs.map +0 -1
  286. package/dist/typography-izBBu-t8.js +0 -37
  287. package/dist/typography-izBBu-t8.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  import "rxjs";
2
2
  import "lit/directives/class-map.js";
3
3
  import "lit/directives/style-map.js";
4
- import { T as sn } from "./tailwind.mixin-DPUboU_5.js";
5
- import { css as Cn, html as He } from "lit";
6
- import { property as ye, state as on, customElement as cn } from "lit/decorators.js";
4
+ import { T as on } from "./tailwind.mixin-DRbXmwPy.js";
5
+ import { css as sn, html as He } from "lit";
6
+ import { property as ye, state as cn, customElement as ln } from "lit/decorators.js";
7
7
  import { g as In } from "./_commonjsHelpers-Dw9sPFZy.js";
8
8
  var Ue, tn;
9
9
  function Ln() {
@@ -175,13 +175,13 @@ function Ln() {
175
175
  return u;
176
176
  }).map((d) => `(${d})`).join(n);
177
177
  }
178
- const re = "[a-zA-Z]\\w*", W = "[a-zA-Z_]\\w*", H = "\\b\\d+(\\.\\d+)?", ve = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", se = "\\b(0b[01]+)", Q = { begin: "\\\\[\\s\\S]", relevance: 0 }, xe = { scope: "string", begin: "'", end: "'", illegal: "\\n", contains: [Q] }, ue = { scope: "string", begin: '"', end: '"', illegal: "\\n", contains: [Q] }, oe = function(e, n, a = {}) {
178
+ const re = "[a-zA-Z]\\w*", W = "[a-zA-Z_]\\w*", H = "\\b\\d+(\\.\\d+)?", ve = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", oe = "\\b(0b[01]+)", Q = { begin: "\\\\[\\s\\S]", relevance: 0 }, xe = { scope: "string", begin: "'", end: "'", illegal: "\\n", contains: [Q] }, ue = { scope: "string", begin: '"', end: '"', illegal: "\\n", contains: [Q] }, se = function(e, n, a = {}) {
179
179
  const d = f({ scope: "comment", begin: e, end: n, contains: [] }, a);
180
180
  d.contains.push({ scope: "doctag", begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)", end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/, excludeBegin: !0, relevance: 0 });
181
181
  const E = F("I", "a", "is", "so", "us", "to", "at", "if", "in", "it", "on", /[A-Za-z]+['](d|ve|re|ll|t|s|n)/, /[A-Za-z]+[-][a-z]+/, /[A-Za-z][a-z]{2,}/);
182
182
  return d.contains.push({ begin: P(/[ ]+/, "(", E, /[.]?[:]?([.][ ]|[ ])/, "){3}") }), d;
183
- }, ke = oe("//", "$"), he = oe("/\\*", "\\*/"), _e = oe("#", "$"), L = { scope: "number", begin: H, relevance: 0 }, Y = { scope: "number", begin: ve, relevance: 0 }, ee = { scope: "number", begin: se, relevance: 0 }, ne = { scope: "regexp", begin: /\/(?=[^/\n]*\/)/, end: /\/[gimuy]*/, contains: [Q, { begin: /\[/, end: /\]/, relevance: 0, contains: [Q] }] }, te = { scope: "title", begin: re, relevance: 0 }, pe = { scope: "title", begin: W, relevance: 0 }, me = { begin: "\\.\\s*" + W, relevance: 0 };
184
- var ce = Object.freeze({ __proto__: null, APOS_STRING_MODE: xe, BACKSLASH_ESCAPE: Q, BINARY_NUMBER_MODE: ee, BINARY_NUMBER_RE: se, COMMENT: oe, C_BLOCK_COMMENT_MODE: he, C_LINE_COMMENT_MODE: ke, C_NUMBER_MODE: Y, C_NUMBER_RE: ve, END_SAME_AS_BEGIN: function(e) {
183
+ }, ke = se("//", "$"), he = se("/\\*", "\\*/"), _e = se("#", "$"), L = { scope: "number", begin: H, relevance: 0 }, Y = { scope: "number", begin: ve, relevance: 0 }, ee = { scope: "number", begin: oe, relevance: 0 }, ne = { scope: "regexp", begin: /\/(?=[^/\n]*\/)/, end: /\/[gimuy]*/, contains: [Q, { begin: /\[/, end: /\]/, relevance: 0, contains: [Q] }] }, te = { scope: "title", begin: re, relevance: 0 }, pe = { scope: "title", begin: W, relevance: 0 }, me = { begin: "\\.\\s*" + W, relevance: 0 };
184
+ var ce = Object.freeze({ __proto__: null, APOS_STRING_MODE: xe, BACKSLASH_ESCAPE: Q, BINARY_NUMBER_MODE: ee, BINARY_NUMBER_RE: oe, COMMENT: se, C_BLOCK_COMMENT_MODE: he, C_LINE_COMMENT_MODE: ke, C_NUMBER_MODE: Y, C_NUMBER_RE: ve, END_SAME_AS_BEGIN: function(e) {
185
185
  return Object.assign(e, { "on:begin": (n, a) => {
186
186
  a.data._beginMatch = n[1];
187
187
  }, "on:end": (n, a) => {
@@ -196,32 +196,32 @@ function Ln() {
196
196
  function Ne(e, n) {
197
197
  e.input[e.index - 1] === "." && n.ignoreMatch();
198
198
  }
199
- function vn(e, n) {
199
+ function wn(e, n) {
200
200
  e.className !== void 0 && (e.scope = e.className, delete e.className);
201
201
  }
202
- function wn(e, n) {
202
+ function En(e, n) {
203
203
  n && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.i = Ne, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
204
204
  }
205
- function En(e, n) {
205
+ function xn(e, n) {
206
206
  Array.isArray(e.illegal) && (e.illegal = F(...e.illegal));
207
207
  }
208
- function xn(e, n) {
208
+ function kn(e, n) {
209
209
  if (e.match) {
210
210
  if (e.begin || e.end) throw new Error("begin & end are not supported with match");
211
211
  e.begin = e.match, delete e.match;
212
212
  }
213
213
  }
214
- function kn(e, n) {
214
+ function _n(e, n) {
215
215
  e.relevance === void 0 && (e.relevance = 1);
216
216
  }
217
- const _n = (e, n) => {
217
+ const Nn = (e, n) => {
218
218
  if (!e.beforeMatch) return;
219
219
  if (e.starts) throw new Error("beforeMatch cannot be used with starts");
220
220
  const a = Object.assign({}, e);
221
221
  Object.keys(e).forEach((d) => {
222
222
  delete e[d];
223
223
  }), e.keywords = a.keywords, e.begin = P(a.beforeMatch, G(a.begin)), e.starts = { relevance: 0, contains: [Object.assign(a, { endsParent: !0 })] }, e.relevance = 0, delete a.beforeMatch;
224
- }, Nn = ["of", "and", "for", "in", "not", "or", "if", "then", "parent", "list", "value"];
224
+ }, An = ["of", "and", "for", "in", "not", "or", "if", "then", "parent", "list", "value"];
225
225
  function Ze(e, n, a = "keyword") {
226
226
  const d = /* @__PURE__ */ Object.create(null);
227
227
  return typeof e == "string" ? E(a, e.split(" ")) : Array.isArray(e) ? E(a, e) : Object.keys(e).forEach(function(r) {
@@ -230,13 +230,13 @@ function Ln() {
230
230
  function E(r, u) {
231
231
  n && (u = u.map((c) => c.toLowerCase())), u.forEach(function(c) {
232
232
  const j = c.split("|");
233
- d[j[0]] = [r, An(j[0], j[1])];
233
+ d[j[0]] = [r, Sn(j[0], j[1])];
234
234
  });
235
235
  }
236
236
  }
237
- function An(e, n) {
237
+ function Sn(e, n) {
238
238
  return n ? Number(n) : function(a) {
239
- return Nn.includes(a.toLowerCase());
239
+ return An.includes(a.toLowerCase());
240
240
  }(e) ? 0 : 1;
241
241
  }
242
242
  const Ge = {}, we = (e, n) => {
@@ -248,7 +248,7 @@ function Ln() {
248
248
  for (let c = 1; c <= n.length; c++) u[c + d] = E[c], r[c + d] = !0, d += K(n[c - 1]);
249
249
  e[a] = u, e[a]._emit = r, e[a]._multi = !0;
250
250
  }
251
- function Sn(e) {
251
+ function On(e) {
252
252
  (function(n) {
253
253
  n.scope && typeof n.scope == "object" && n.scope !== null && (n.beginScope = n.scope, delete n.scope);
254
254
  })(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), function(n) {
@@ -263,7 +263,7 @@ function Ln() {
263
263
  }
264
264
  }(e);
265
265
  }
266
- function On(e) {
266
+ function Mn(e) {
267
267
  function n(E, r) {
268
268
  return new RegExp(D(E), "m" + (e.case_insensitive ? "i" : "") + (e.unicodeRegex ? "u" : "") + (r ? "g" : ""));
269
269
  }
@@ -320,7 +320,7 @@ function Ln() {
320
320
  return e.classNameAliases = f(e.classNameAliases || {}), function E(r, u) {
321
321
  const c = r;
322
322
  if (r.isCompiled) return c;
323
- [vn, xn, Sn, _n].forEach((S) => S(r, u)), e.compilerExtensions.forEach((S) => S(r, u)), r.i = null, [wn, En, kn].forEach((S) => S(r, u)), r.isCompiled = !0;
323
+ [wn, kn, On, Nn].forEach((S) => S(r, u)), e.compilerExtensions.forEach((S) => S(r, u)), r.i = null, [En, xn, _n].forEach((S) => S(r, u)), r.isCompiled = !0;
324
324
  let j = null;
325
325
  return typeof r.keywords == "object" && r.keywords.$pattern && (r.keywords = Object.assign({}, r.keywords), j = r.keywords.$pattern, delete r.keywords.$pattern), j = j || /\w+/, r.keywords && (r.keywords = Ze(r.keywords, e.case_insensitive)), c.keywordPatternRe = n(j, !0), u && (r.begin || (r.begin = /\B|\b/), c.beginRe = n(c.begin), r.end || r.endsWithParent || (r.end = /\B|\b/), r.end && (c.endRe = n(c.end)), c.terminatorEnd = D(c.end) || "", r.endsWithParent && u.terminatorEnd && (c.terminatorEnd += (r.end ? "|" : "") + u.terminatorEnd)), r.illegal && (c.illegalRe = n(r.illegal)), r.contains || (r.contains = []), r.contains = [].concat(...r.contains.map(function(S) {
326
326
  return function(_) {
@@ -339,7 +339,7 @@ function Ln() {
339
339
  function Ke(e) {
340
340
  return !!e && (e.endsWithParent || Ke(e.starts));
341
341
  }
342
- class Mn extends Error {
342
+ class Rn extends Error {
343
343
  constructor(n, a) {
344
344
  super(n), this.name = "HTMLInjectionError", this.html = a;
345
345
  }
@@ -349,27 +349,27 @@ function Ln() {
349
349
  let E = !0;
350
350
  const r = "Could not find the language '{}', did you forget to load/include a language module?", u = { disableAutodetect: !0, name: "Plain text", contains: [] };
351
351
  let c = { ignoreUnescapedHTML: !1, throwUnescapedHTML: !1, noHighlightRe: /^(no-?highlight)$/i, languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i, classPrefix: "hljs-", cssSelector: "pre code", languages: null, o: M };
352
- function j(o) {
353
- return c.noHighlightRe.test(o);
352
+ function j(s) {
353
+ return c.noHighlightRe.test(s);
354
354
  }
355
- function S(o, h, y) {
355
+ function S(s, h, y) {
356
356
  let B = "", R = "";
357
- typeof h == "object" ? (B = o, y = h.ignoreIllegals, R = h.language) : (we("10.7.0", "highlight(lang, code, ...args) has been deprecated."), we("10.7.0", `Please use highlight(code, options) instead.
358
- https://github.com/highlightjs/highlight.js/issues/2277`), R = o, B = h), y === void 0 && (y = !0);
357
+ typeof h == "object" ? (B = s, y = h.ignoreIllegals, R = h.language) : (we("10.7.0", "highlight(lang, code, ...args) has been deprecated."), we("10.7.0", `Please use highlight(code, options) instead.
358
+ https://github.com/highlightjs/highlight.js/issues/2277`), R = s, B = h), y === void 0 && (y = !0);
359
359
  const C = { code: B, language: R };
360
360
  Me("before:highlight", C);
361
361
  const I = C.result ? C.result : _(C.language, C.code, y);
362
362
  return I.code = C.code, Me("after:highlight", I), I;
363
363
  }
364
- function _(o, h, y, B) {
364
+ function _(s, h, y, B) {
365
365
  const R = /* @__PURE__ */ Object.create(null);
366
366
  function C() {
367
367
  if (!p.keywords) return void z.addText(k);
368
- let s = 0;
368
+ let o = 0;
369
369
  p.keywordPatternRe.lastIndex = 0;
370
370
  let g = p.keywordPatternRe.exec(k), x = "";
371
371
  for (; g; ) {
372
- x += k.substring(s, g.index);
372
+ x += k.substring(o, g.index);
373
373
  const N = J.case_insensitive ? g[0].toLowerCase() : g[0], $ = (w = N, p.keywords[w]);
374
374
  if ($) {
375
375
  const [ie, Pe] = $;
@@ -379,84 +379,84 @@ https://github.com/highlightjs/highlight.js/issues/2277`), R = o, B = h), y ===
379
379
  Z(g[0], je);
380
380
  }
381
381
  } else x += g[0];
382
- s = p.keywordPatternRe.lastIndex, g = p.keywordPatternRe.exec(k);
382
+ o = p.keywordPatternRe.lastIndex, g = p.keywordPatternRe.exec(k);
383
383
  }
384
384
  var w;
385
- x += k.substring(s), z.addText(x);
385
+ x += k.substring(o), z.addText(x);
386
386
  }
387
387
  function I() {
388
388
  p.subLanguage != null ? function() {
389
389
  if (k === "") return;
390
- let s = null;
390
+ let o = null;
391
391
  if (typeof p.subLanguage == "string") {
392
392
  if (!n[p.subLanguage]) return void z.addText(k);
393
- s = _(p.subLanguage, k, !0, nn[p.subLanguage]), nn[p.subLanguage] = s._top;
394
- } else s = le(k, p.subLanguage.length ? p.subLanguage : null);
395
- p.relevance > 0 && (Te += s.relevance), z.t(s._emitter, s.language);
393
+ o = _(p.subLanguage, k, !0, nn[p.subLanguage]), nn[p.subLanguage] = o._top;
394
+ } else o = le(k, p.subLanguage.length ? p.subLanguage : null);
395
+ p.relevance > 0 && (Te += o.relevance), z.t(o._emitter, o.language);
396
396
  }() : C(), k = "";
397
397
  }
398
- function Z(s, g) {
399
- s !== "" && (z.startScope(g), z.addText(s), z.endScope());
398
+ function Z(o, g) {
399
+ o !== "" && (z.startScope(g), z.addText(o), z.endScope());
400
400
  }
401
- function O(s, g) {
401
+ function O(o, g) {
402
402
  let x = 1;
403
403
  const w = g.length - 1;
404
404
  for (; x <= w; ) {
405
- if (!s._emit[x]) {
405
+ if (!o._emit[x]) {
406
406
  x++;
407
407
  continue;
408
408
  }
409
- const N = J.classNameAliases[s[x]] || s[x], $ = g[x];
409
+ const N = J.classNameAliases[o[x]] || o[x], $ = g[x];
410
410
  N ? Z($, N) : (k = $, C(), k = ""), x++;
411
411
  }
412
412
  }
413
- function q(s, g) {
414
- return s.scope && typeof s.scope == "string" && z.openNode(J.classNameAliases[s.scope] || s.scope), s.beginScope && (s.beginScope._wrap ? (Z(k, J.classNameAliases[s.beginScope._wrap] || s.beginScope._wrap), k = "") : s.beginScope._multi && (O(s.beginScope, g), k = "")), p = Object.create(s, { parent: { value: p } }), p;
413
+ function q(o, g) {
414
+ return o.scope && typeof o.scope == "string" && z.openNode(J.classNameAliases[o.scope] || o.scope), o.beginScope && (o.beginScope._wrap ? (Z(k, J.classNameAliases[o.beginScope._wrap] || o.beginScope._wrap), k = "") : o.beginScope._multi && (O(o.beginScope, g), k = "")), p = Object.create(o, { parent: { value: p } }), p;
415
415
  }
416
- function Ye(s, g, x) {
416
+ function Ye(o, g, x) {
417
417
  let w = function(N, $) {
418
418
  const ie = N && N.exec($);
419
419
  return ie && ie.index === 0;
420
- }(s.endRe, x);
420
+ }(o.endRe, x);
421
421
  if (w) {
422
- if (s["on:end"]) {
423
- const N = new l(s);
424
- s["on:end"](g, N), N.isMatchIgnored && (w = !1);
422
+ if (o["on:end"]) {
423
+ const N = new l(o);
424
+ o["on:end"](g, N), N.isMatchIgnored && (w = !1);
425
425
  }
426
426
  if (w) {
427
- for (; s.endsParent && s.parent; ) s = s.parent;
428
- return s;
427
+ for (; o.endsParent && o.parent; ) o = o.parent;
428
+ return o;
429
429
  }
430
430
  }
431
- if (s.endsWithParent) return Ye(s.parent, g, x);
431
+ if (o.endsWithParent) return Ye(o.parent, g, x);
432
432
  }
433
- function Rn(s) {
434
- return p.matcher.regexIndex === 0 ? (k += s[0], 1) : (De = !0, 0);
433
+ function Tn(o) {
434
+ return p.matcher.regexIndex === 0 ? (k += o[0], 1) : (De = !0, 0);
435
435
  }
436
- function Tn(s) {
437
- const g = s[0], x = h.substring(s.index), w = Ye(p, s, x);
436
+ function jn(o) {
437
+ const g = o[0], x = h.substring(o.index), w = Ye(p, o, x);
438
438
  if (!w) return We;
439
439
  const N = p;
440
- p.endScope && p.endScope._wrap ? (I(), Z(g, p.endScope._wrap)) : p.endScope && p.endScope._multi ? (I(), O(p.endScope, s)) : N.skip ? k += g : (N.returnEnd || N.excludeEnd || (k += g), I(), N.excludeEnd && (k = g));
440
+ p.endScope && p.endScope._wrap ? (I(), Z(g, p.endScope._wrap)) : p.endScope && p.endScope._multi ? (I(), O(p.endScope, o)) : N.skip ? k += g : (N.returnEnd || N.excludeEnd || (k += g), I(), N.excludeEnd && (k = g));
441
441
  do
442
442
  p.scope && z.closeNode(), p.skip || p.subLanguage || (Te += p.relevance), p = p.parent;
443
443
  while (p !== w.parent);
444
- return w.starts && q(w.starts, s), N.returnEnd ? 0 : g.length;
444
+ return w.starts && q(w.starts, o), N.returnEnd ? 0 : g.length;
445
445
  }
446
446
  let Re = {};
447
- function en(s, g) {
447
+ function en(o, g) {
448
448
  const x = g && g[0];
449
- if (k += s, x == null) return I(), 0;
449
+ if (k += o, x == null) return I(), 0;
450
450
  if (Re.type === "begin" && g.type === "end" && Re.index === g.index && x === "") {
451
451
  if (k += h.slice(g.index, g.index + 1), !E) {
452
- const w = new Error(`0 width match regex (${o})`);
453
- throw w.languageName = o, w.badRule = Re.rule, w;
452
+ const w = new Error(`0 width match regex (${s})`);
453
+ throw w.languageName = s, w.badRule = Re.rule, w;
454
454
  }
455
455
  return 1;
456
456
  }
457
457
  if (Re = g, g.type === "begin") return function(w) {
458
458
  const N = w[0], $ = w.rule, ie = new l($), Pe = [$.i, $["on:begin"]];
459
- for (const je of Pe) if (je && (je(w, ie), ie.isMatchIgnored)) return Rn(N);
459
+ for (const je of Pe) if (je && (je(w, ie), ie.isMatchIgnored)) return Tn(N);
460
460
  return $.skip ? k += N : ($.excludeBegin && (k += N), I(), $.returnBegin || $.excludeBegin || (k = N)), q($, w), $.returnBegin ? 0 : N.length;
461
461
  }(g);
462
462
  if (g.type === "illegal" && !y) {
@@ -464,7 +464,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), R = o, B = h), y ===
464
464
  throw w.mode = p, w;
465
465
  }
466
466
  if (g.type === "end") {
467
- const w = Tn(g);
467
+ const w = jn(g);
468
468
  if (w !== We) return w;
469
469
  }
470
470
  if (g.type === "illegal" && x === "") return k += `
@@ -473,15 +473,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), R = o, B = h), y ===
473
473
  throw new Error("potential infinite loop, way more iterations than matches");
474
474
  return k += x, x.length;
475
475
  }
476
- const J = de(o);
477
- if (!J) throw r.replace("{}", o), new Error('Unknown language: "' + o + '"');
478
- const jn = On(J);
479
- let ze = "", p = B || jn;
476
+ const J = de(s);
477
+ if (!J) throw r.replace("{}", s), new Error('Unknown language: "' + s + '"');
478
+ const Cn = Mn(J);
479
+ let ze = "", p = B || Cn;
480
480
  const nn = {}, z = new c.o(c);
481
481
  (function() {
482
- const s = [];
483
- for (let g = p; g !== J; g = g.parent) g.scope && s.unshift(g.scope);
484
- s.forEach((g) => z.openNode(g));
482
+ const o = [];
483
+ for (let g = p; g !== J; g = g.parent) g.scope && o.unshift(g.scope);
484
+ o.forEach((g) => z.openNode(g));
485
485
  })();
486
486
  let k = "", Te = 0, be = 0, $e = 0, De = !1;
487
487
  try {
@@ -489,26 +489,26 @@ https://github.com/highlightjs/highlight.js/issues/2277`), R = o, B = h), y ===
489
489
  else {
490
490
  for (p.matcher.considerAll(); ; ) {
491
491
  $e++, De ? De = !1 : p.matcher.considerAll(), p.matcher.lastIndex = be;
492
- const s = p.matcher.exec(h);
493
- if (!s) break;
494
- const g = en(h.substring(be, s.index), s);
495
- be = s.index + g;
492
+ const o = p.matcher.exec(h);
493
+ if (!o) break;
494
+ const g = en(h.substring(be, o.index), o);
495
+ be = o.index + g;
496
496
  }
497
497
  en(h.substring(be));
498
498
  }
499
- return z.finalize(), ze = z.toHTML(), { language: o, value: ze, relevance: Te, illegal: !1, _emitter: z, _top: p };
500
- } catch (s) {
501
- if (s.message && s.message.includes("Illegal")) return { language: o, value: Le(h), illegal: !0, relevance: 0, _illegalBy: { message: s.message, index: be, context: h.slice(be - 100, be + 100), mode: s.mode, resultSoFar: ze }, _emitter: z };
502
- if (E) return { language: o, value: Le(h), illegal: !1, relevance: 0, errorRaised: s, _emitter: z, _top: p };
503
- throw s;
499
+ return z.finalize(), ze = z.toHTML(), { language: s, value: ze, relevance: Te, illegal: !1, _emitter: z, _top: p };
500
+ } catch (o) {
501
+ if (o.message && o.message.includes("Illegal")) return { language: s, value: Le(h), illegal: !0, relevance: 0, _illegalBy: { message: o.message, index: be, context: h.slice(be - 100, be + 100), mode: o.mode, resultSoFar: ze }, _emitter: z };
502
+ if (E) return { language: s, value: Le(h), illegal: !1, relevance: 0, errorRaised: o, _emitter: z, _top: p };
503
+ throw o;
504
504
  }
505
505
  }
506
- function le(o, h) {
506
+ function le(s, h) {
507
507
  h = h || c.languages || Object.keys(n);
508
508
  const y = function(O) {
509
509
  const q = { value: Le(O), illegal: !1, relevance: 0, _top: u, _emitter: new c.o(c) };
510
510
  return q._emitter.addText(O), q;
511
- }(o), B = h.filter(de).filter(Qe).map((O) => _(O, o, !1));
511
+ }(s), B = h.filter(de).filter(Qe).map((O) => _(O, s, !1));
512
512
  B.unshift(y);
513
513
  const R = B.sort((O, q) => {
514
514
  if (O.relevance !== q.relevance) return q.relevance - O.relevance;
@@ -520,7 +520,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), R = o, B = h), y ===
520
520
  }), [C, I] = R, Z = C;
521
521
  return Z.secondBest = I, Z;
522
522
  }
523
- function Be(o) {
523
+ function Be(s) {
524
524
  let h = null;
525
525
  const y = function(C) {
526
526
  let I = C.className + " ";
@@ -531,16 +531,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), R = o, B = h), y ===
531
531
  return O || r.replace("{}", Z[1]), O ? Z[1] : "no-highlight";
532
532
  }
533
533
  return I.split(/\s+/).find((O) => j(O) || de(O));
534
- }(o);
535
- if (j(y) || (Me("before:highlightElement", { el: o, language: y }), o.dataset.highlighted)) return;
536
- if (o.children.length > 0 && (c.ignoreUnescapedHTML, c.throwUnescapedHTML))
537
- throw new Mn("One of your code blocks includes unescaped HTML.", o.innerHTML);
538
- h = o;
534
+ }(s);
535
+ if (j(y) || (Me("before:highlightElement", { el: s, language: y }), s.dataset.highlighted)) return;
536
+ if (s.children.length > 0 && (c.ignoreUnescapedHTML, c.throwUnescapedHTML))
537
+ throw new Rn("One of your code blocks includes unescaped HTML.", s.innerHTML);
538
+ h = s;
539
539
  const B = h.textContent, R = y ? S(B, { language: y, ignoreIllegals: !0 }) : le(B);
540
- o.innerHTML = R.value, o.dataset.highlighted = "yes", function(C, I, Z) {
540
+ s.innerHTML = R.value, s.dataset.highlighted = "yes", function(C, I, Z) {
541
541
  const O = I && a[I] || Z;
542
542
  C.classList.add("hljs"), C.classList.add(`language-${O}`);
543
- }(o, y, R.language), o.result = { language: R.language, re: R.relevance, relevance: R.relevance }, R.secondBest && (o.secondBest = { language: R.secondBest.language, relevance: R.secondBest.relevance }), Me("after:highlightElement", { el: o, result: R, text: B });
543
+ }(s, y, R.language), s.result = { language: R.language, re: R.relevance, relevance: R.relevance }, R.secondBest && (s.secondBest = { language: R.secondBest.language, relevance: R.secondBest.relevance }), Me("after:highlightElement", { el: s, result: R, text: B });
544
544
  }
545
545
  let Je = !1;
546
546
  function Oe() {
@@ -549,63 +549,63 @@ https://github.com/highlightjs/highlight.js/issues/2277`), R = o, B = h), y ===
549
549
  }, !1), void (Je = !0);
550
550
  document.querySelectorAll(c.cssSelector).forEach(Be);
551
551
  }
552
- function de(o) {
553
- return o = (o || "").toLowerCase(), n[o] || n[a[o]];
552
+ function de(s) {
553
+ return s = (s || "").toLowerCase(), n[s] || n[a[s]];
554
554
  }
555
- function Ve(o, { languageName: h }) {
556
- typeof o == "string" && (o = [o]), o.forEach((y) => {
555
+ function Ve(s, { languageName: h }) {
556
+ typeof s == "string" && (s = [s]), s.forEach((y) => {
557
557
  a[y.toLowerCase()] = h;
558
558
  });
559
559
  }
560
- function Qe(o) {
561
- const h = de(o);
560
+ function Qe(s) {
561
+ const h = de(s);
562
562
  return h && !h.disableAutodetect;
563
563
  }
564
- function Me(o, h) {
565
- const y = o;
564
+ function Me(s, h) {
565
+ const y = s;
566
566
  d.forEach(function(B) {
567
567
  B[y] && B[y](h);
568
568
  });
569
569
  }
570
- Object.assign(e, { highlight: S, highlightAuto: le, highlightAll: Oe, highlightElement: Be, highlightBlock: function(o) {
571
- return we("10.7.0", "highlightBlock will be removed entirely in v12.0"), we("10.7.0", "Please use highlightElement now."), Be(o);
572
- }, configure: function(o) {
573
- c = Xe(c, o);
570
+ Object.assign(e, { highlight: S, highlightAuto: le, highlightAll: Oe, highlightElement: Be, highlightBlock: function(s) {
571
+ return we("10.7.0", "highlightBlock will be removed entirely in v12.0"), we("10.7.0", "Please use highlightElement now."), Be(s);
572
+ }, configure: function(s) {
573
+ c = Xe(c, s);
574
574
  }, initHighlighting: () => {
575
575
  Oe(), we("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
576
576
  }, initHighlightingOnLoad: function() {
577
577
  Oe(), we("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
578
- }, registerLanguage: function(o, h) {
578
+ }, registerLanguage: function(s, h) {
579
579
  let y = null;
580
580
  try {
581
581
  y = h(e);
582
582
  } catch (B) {
583
- if ("Language definition for '{}' could not be registered.".replace("{}", o), !E) throw B;
583
+ if ("Language definition for '{}' could not be registered.".replace("{}", s), !E) throw B;
584
584
  y = u;
585
585
  }
586
- y.name || (y.name = o), n[o] = y, y.rawDefinition = h.bind(null, e), y.aliases && Ve(y.aliases, { languageName: o });
587
- }, unregisterLanguage: function(o) {
588
- delete n[o];
589
- for (const h of Object.keys(a)) a[h] === o && delete a[h];
586
+ y.name || (y.name = s), n[s] = y, y.rawDefinition = h.bind(null, e), y.aliases && Ve(y.aliases, { languageName: s });
587
+ }, unregisterLanguage: function(s) {
588
+ delete n[s];
589
+ for (const h of Object.keys(a)) a[h] === s && delete a[h];
590
590
  }, listLanguages: function() {
591
591
  return Object.keys(n);
592
- }, getLanguage: de, registerAliases: Ve, autoDetection: Qe, inherit: Xe, addPlugin: function(o) {
592
+ }, getLanguage: de, registerAliases: Ve, autoDetection: Qe, inherit: Xe, addPlugin: function(s) {
593
593
  (function(h) {
594
594
  h["before:highlightBlock"] && !h["before:highlightElement"] && (h["before:highlightElement"] = (y) => {
595
595
  h["before:highlightBlock"](Object.assign({ block: y.el }, y));
596
596
  }), h["after:highlightBlock"] && !h["after:highlightElement"] && (h["after:highlightElement"] = (y) => {
597
597
  h["after:highlightBlock"](Object.assign({ block: y.el }, y));
598
598
  });
599
- })(o), d.push(o);
600
- }, removePlugin: function(o) {
601
- const h = d.indexOf(o);
599
+ })(s), d.push(s);
600
+ }, removePlugin: function(s) {
601
+ const h = d.indexOf(s);
602
602
  h !== -1 && d.splice(h, 1);
603
603
  } }), e.debugMode = function() {
604
604
  E = !1;
605
605
  }, e.safeMode = function() {
606
606
  E = !0;
607
607
  }, e.versionString = "11.11.1", e.regex = { concat: P, lookahead: G, either: F, optional: U, anyNumberOfTimes: T };
608
- for (const o in ce) typeof ce[o] == "object" && t(ce[o]);
608
+ for (const s in ce) typeof ce[s] == "object" && t(ce[s]);
609
609
  return Object.assign(e, ce), e;
610
610
  }, Ee = qe({});
611
611
  return Ee.newInstance = () => qe({}), Ue = Ee, Ee.HighlightJS = Ee, Ee.default = Ee, Ue;
@@ -615,7 +615,7 @@ function an(t) {
615
615
  const l = t.regex, i = l.concat(/[\p{L}_]/u, l.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), f = { className: "symbol", begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/ }, m = { begin: /\s/, contains: [{ className: "keyword", begin: /#?[a-z_][a-z1-9_-]+/, illegal: /\n/ }] }, b = t.inherit(m, { begin: /\(/, end: /\)/ }), v = t.inherit(t.APOS_STRING_MODE, { className: "string" }), A = t.inherit(t.QUOTE_STRING_MODE, { className: "string" }), M = { endsWithParent: !0, illegal: /</, relevance: 0, contains: [{ className: "attr", begin: /[\p{L}0-9._:-]+/u, relevance: 0 }, { begin: /=\s*/, relevance: 0, contains: [{ className: "string", endsParent: !0, variants: [{ begin: /"/, end: /"/, contains: [f] }, { begin: /'/, end: /'/, contains: [f] }, { begin: /[^\s"'=<>`]+/ }] }] }] };
616
616
  return { name: "HTML, XML", aliases: ["html", "xhtml", "rss", "atom", "xjb", "xsd", "xsl", "plist", "wsf", "svg"], case_insensitive: !0, unicodeRegex: !0, contains: [{ className: "meta", begin: /<![a-z]/, end: />/, relevance: 10, contains: [m, A, v, b, { begin: /\[/, end: /\]/, contains: [{ className: "meta", begin: /<![a-z]/, end: />/, contains: [m, b, A, v] }] }] }, t.COMMENT(/<!--/, /-->/, { relevance: 10 }), { begin: /<!\[CDATA\[/, end: /\]\]>/, relevance: 10 }, f, { className: "meta", end: /\?>/, variants: [{ begin: /<\?xml/, relevance: 10, contains: [A] }, { begin: /<\?[a-z][a-z0-9]+/ }] }, { className: "tag", begin: /<style(?=\s|>)/, end: />/, keywords: { name: "style" }, contains: [M], starts: { end: /<\/style>/, returnEnd: !0, subLanguage: ["css", "xml"] } }, { className: "tag", begin: /<script(?=\s|>)/, end: />/, keywords: { name: "script" }, contains: [M], starts: { end: /<\/script>/, returnEnd: !0, subLanguage: ["javascript", "handlebars", "xml"] } }, { className: "tag", begin: /<>|<\/>/ }, { className: "tag", begin: l.concat(/</, l.lookahead(l.concat(i, l.either(/\/>/, />/, /\s/)))), end: /\/?>/, contains: [{ className: "name", begin: i, relevance: 0, starts: M }] }, { className: "tag", begin: l.concat(/<\//, l.lookahead(l.concat(i, />/))), contains: [{ className: "name", begin: i, relevance: 0 }, { begin: />/, relevance: 0, endsParent: !0 }] }] };
617
617
  }
618
- const rn = "[A-Za-z$_][0-9A-Za-z$_]*", Bn = ["as", "in", "of", "if", "for", "while", "finally", "var", "new", "function", "do", "return", "void", "else", "break", "catch", "instanceof", "with", "throw", "case", "default", "try", "switch", "continue", "typeof", "delete", "let", "yield", "const", "class", "debugger", "async", "await", "static", "import", "from", "export", "extends", "using"], zn = ["true", "false", "null", "undefined", "NaN", "Infinity"], ln = ["Object", "Function", "Boolean", "Symbol", "Math", "Date", "Number", "BigInt", "String", "RegExp", "Array", "Float32Array", "Float64Array", "Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Int32Array", "Uint16Array", "Uint32Array", "BigInt64Array", "BigUint64Array", "Set", "Map", "WeakSet", "WeakMap", "ArrayBuffer", "SharedArrayBuffer", "Atomics", "DataView", "JSON", "Promise", "Generator", "GeneratorFunction", "AsyncFunction", "Reflect", "Proxy", "Intl", "WebAssembly"], dn = ["Error", "EvalError", "InternalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError"], gn = ["setInterval", "setTimeout", "clearInterval", "clearTimeout", "require", "exports", "eval", "isFinite", "isNaN", "parseFloat", "parseInt", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "escape", "unescape"], $n = ["arguments", "this", "super", "console", "window", "document", "localStorage", "sessionStorage", "module", "global"], Dn = [].concat(gn, ln, dn), Ie = "[A-Za-z$_][0-9A-Za-z$_]*", un = ["as", "in", "of", "if", "for", "while", "finally", "var", "new", "function", "do", "return", "void", "else", "break", "catch", "instanceof", "with", "throw", "case", "default", "try", "switch", "continue", "typeof", "delete", "let", "yield", "const", "class", "debugger", "async", "await", "static", "import", "from", "export", "extends", "using"], hn = ["true", "false", "null", "undefined", "NaN", "Infinity"], pn = ["Object", "Function", "Boolean", "Symbol", "Math", "Date", "Number", "BigInt", "String", "RegExp", "Array", "Float32Array", "Float64Array", "Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Int32Array", "Uint16Array", "Uint32Array", "BigInt64Array", "BigUint64Array", "Set", "Map", "WeakSet", "WeakMap", "ArrayBuffer", "SharedArrayBuffer", "Atomics", "DataView", "JSON", "Promise", "Generator", "GeneratorFunction", "AsyncFunction", "Reflect", "Proxy", "Intl", "WebAssembly"], mn = ["Error", "EvalError", "InternalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError"], bn = ["setInterval", "setTimeout", "clearInterval", "clearTimeout", "require", "exports", "eval", "isFinite", "isNaN", "parseFloat", "parseInt", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "escape", "unescape"], fn = ["arguments", "this", "super", "console", "window", "document", "localStorage", "sessionStorage", "module", "global"], yn = [].concat(bn, pn, mn);
618
+ const rn = "[A-Za-z$_][0-9A-Za-z$_]*", Bn = ["as", "in", "of", "if", "for", "while", "finally", "var", "new", "function", "do", "return", "void", "else", "break", "catch", "instanceof", "with", "throw", "case", "default", "try", "switch", "continue", "typeof", "delete", "let", "yield", "const", "class", "debugger", "async", "await", "static", "import", "from", "export", "extends", "using"], zn = ["true", "false", "null", "undefined", "NaN", "Infinity"], dn = ["Object", "Function", "Boolean", "Symbol", "Math", "Date", "Number", "BigInt", "String", "RegExp", "Array", "Float32Array", "Float64Array", "Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Int32Array", "Uint16Array", "Uint32Array", "BigInt64Array", "BigUint64Array", "Set", "Map", "WeakSet", "WeakMap", "ArrayBuffer", "SharedArrayBuffer", "Atomics", "DataView", "JSON", "Promise", "Generator", "GeneratorFunction", "AsyncFunction", "Reflect", "Proxy", "Intl", "WebAssembly"], gn = ["Error", "EvalError", "InternalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError"], un = ["setInterval", "setTimeout", "clearInterval", "clearTimeout", "require", "exports", "eval", "isFinite", "isNaN", "parseFloat", "parseInt", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "escape", "unescape"], $n = ["arguments", "this", "super", "console", "window", "document", "localStorage", "sessionStorage", "module", "global"], Dn = [].concat(un, dn, gn), Ie = "[A-Za-z$_][0-9A-Za-z$_]*", hn = ["as", "in", "of", "if", "for", "while", "finally", "var", "new", "function", "do", "return", "void", "else", "break", "catch", "instanceof", "with", "throw", "case", "default", "try", "switch", "continue", "typeof", "delete", "let", "yield", "const", "class", "debugger", "async", "await", "static", "import", "from", "export", "extends", "using"], pn = ["true", "false", "null", "undefined", "NaN", "Infinity"], mn = ["Object", "Function", "Boolean", "Symbol", "Math", "Date", "Number", "BigInt", "String", "RegExp", "Array", "Float32Array", "Float64Array", "Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Int32Array", "Uint16Array", "Uint32Array", "BigInt64Array", "BigUint64Array", "Set", "Map", "WeakSet", "WeakMap", "ArrayBuffer", "SharedArrayBuffer", "Atomics", "DataView", "JSON", "Promise", "Generator", "GeneratorFunction", "AsyncFunction", "Reflect", "Proxy", "Intl", "WebAssembly"], bn = ["Error", "EvalError", "InternalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError"], fn = ["setInterval", "setTimeout", "clearInterval", "clearTimeout", "require", "exports", "eval", "isFinite", "isNaN", "parseFloat", "parseInt", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "escape", "unescape"], yn = ["arguments", "this", "super", "console", "window", "document", "localStorage", "sessionStorage", "module", "global"], vn = [].concat(fn, mn, bn);
619
619
  function Pn(t) {
620
620
  const l = t.regex, i = Ie, f = "<>", m = "</>", b = { begin: /<[A-Za-z0-9\\._:-]+/, end: /\/[A-Za-z0-9\\._:-]+>|\/>/, isTrulyOpeningTag: (L, Y) => {
621
621
  const ee = L[0].length + L.index, ne = L.input[ee];
@@ -627,12 +627,12 @@ function Pn(t) {
627
627
  })(L, { after: ee }) || Y.ignoreMatch());
628
628
  const pe = L.input.substring(ee);
629
629
  ((te = pe.match(/^\s*=/)) || (te = pe.match(/^\s+extends\s+/)) && te.index === 0) && Y.ignoreMatch();
630
- } }, v = { $pattern: Ie, keyword: un, literal: hn, built_in: yn, "variable.language": fn }, A = "[0-9](_?[0-9])*", M = `\\.(${A})`, D = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", G = { className: "number", variants: [{ begin: `(\\b(${D})((${M})|\\.)?|(${M}))[eE][+-]?(${A})\\b` }, { begin: `\\b(${D})\\b((${M})\\b|\\.)?|(${M})\\b` }, { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" }, { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" }, { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" }, { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" }, { begin: "\\b0[0-7]+n?\\b" }], relevance: 0 }, T = { className: "subst", begin: "\\$\\{", end: "\\}", keywords: v, contains: [] }, U = { begin: ".?html`", end: "", starts: { end: "`", returnEnd: !1, contains: [t.BACKSLASH_ESCAPE, T], subLanguage: "xml" } }, P = { begin: ".?css`", end: "", starts: { end: "`", returnEnd: !1, contains: [t.BACKSLASH_ESCAPE, T], subLanguage: "css" } }, F = { begin: ".?gql`", end: "", starts: { end: "`", returnEnd: !1, contains: [t.BACKSLASH_ESCAPE, T], subLanguage: "graphql" } }, K = { className: "string", begin: "`", end: "`", contains: [t.BACKSLASH_ESCAPE, T] }, X = { className: "comment", variants: [t.COMMENT(/\/\*\*(?!\/)/, "\\*/", { relevance: 0, contains: [{ begin: "(?=@[A-Za-z]+)", relevance: 0, contains: [{ className: "doctag", begin: "@[A-Za-z]+" }, { className: "type", begin: "\\{", end: "\\}", excludeEnd: !0, excludeBegin: !0, relevance: 0 }, { className: "variable", begin: i + "(?=\\s*(-)|$)", endsParent: !0, relevance: 0 }, { begin: /(?=[^\n])\s/, relevance: 0 }] }] }), t.C_BLOCK_COMMENT_MODE, t.C_LINE_COMMENT_MODE] }, V = [t.APOS_STRING_MODE, t.QUOTE_STRING_MODE, U, P, F, K, { match: /\$\d+/ }, G];
630
+ } }, v = { $pattern: Ie, keyword: hn, literal: pn, built_in: vn, "variable.language": yn }, A = "[0-9](_?[0-9])*", M = `\\.(${A})`, D = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", G = { className: "number", variants: [{ begin: `(\\b(${D})((${M})|\\.)?|(${M}))[eE][+-]?(${A})\\b` }, { begin: `\\b(${D})\\b((${M})\\b|\\.)?|(${M})\\b` }, { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" }, { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" }, { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" }, { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" }, { begin: "\\b0[0-7]+n?\\b" }], relevance: 0 }, T = { className: "subst", begin: "\\$\\{", end: "\\}", keywords: v, contains: [] }, U = { begin: ".?html`", end: "", starts: { end: "`", returnEnd: !1, contains: [t.BACKSLASH_ESCAPE, T], subLanguage: "xml" } }, P = { begin: ".?css`", end: "", starts: { end: "`", returnEnd: !1, contains: [t.BACKSLASH_ESCAPE, T], subLanguage: "css" } }, F = { begin: ".?gql`", end: "", starts: { end: "`", returnEnd: !1, contains: [t.BACKSLASH_ESCAPE, T], subLanguage: "graphql" } }, K = { className: "string", begin: "`", end: "`", contains: [t.BACKSLASH_ESCAPE, T] }, X = { className: "comment", variants: [t.COMMENT(/\/\*\*(?!\/)/, "\\*/", { relevance: 0, contains: [{ begin: "(?=@[A-Za-z]+)", relevance: 0, contains: [{ className: "doctag", begin: "@[A-Za-z]+" }, { className: "type", begin: "\\{", end: "\\}", excludeEnd: !0, excludeBegin: !0, relevance: 0 }, { className: "variable", begin: i + "(?=\\s*(-)|$)", endsParent: !0, relevance: 0 }, { begin: /(?=[^\n])\s/, relevance: 0 }] }] }), t.C_BLOCK_COMMENT_MODE, t.C_LINE_COMMENT_MODE] }, V = [t.APOS_STRING_MODE, t.QUOTE_STRING_MODE, U, P, F, K, { match: /\$\d+/ }, G];
631
631
  T.contains = V.concat({ begin: /\{/, end: /\}/, keywords: v, contains: ["self"].concat(V) });
632
- const re = [].concat(X, T.contains), W = re.concat([{ begin: /(\s*)\(/, end: /\)/, keywords: v, contains: ["self"].concat(re) }]), H = { className: "params", begin: /(\s*)\(/, end: /\)/, excludeBegin: !0, excludeEnd: !0, keywords: v, contains: W }, ve = { variants: [{ match: [/class/, /\s+/, i, /\s+/, /extends/, /\s+/, l.concat(i, "(", l.concat(/\./, i), ")*")], scope: { 1: "keyword", 3: "title.class", 5: "keyword", 7: "title.class.inherited" } }, { match: [/class/, /\s+/, i], scope: { 1: "keyword", 3: "title.class" } }] }, se = { relevance: 0, match: l.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/), className: "title.class", keywords: { _: [...pn, ...mn] } }, Q = { variants: [{ match: [/function/, /\s+/, i, /(?=\s*\()/] }, { match: [/function/, /\s*(?=\()/] }], className: { 1: "keyword", 3: "title.function" }, label: "func.def", contains: [H], illegal: /%/ }, xe = { match: l.concat(/\b/, (ue = [...bn, "super", "import"].map((L) => `${L}\\s*\\(`), l.concat("(?!", ue.join("|"), ")")), i, l.lookahead(/\s*\(/)), className: "title.function", relevance: 0 };
632
+ const re = [].concat(X, T.contains), W = re.concat([{ begin: /(\s*)\(/, end: /\)/, keywords: v, contains: ["self"].concat(re) }]), H = { className: "params", begin: /(\s*)\(/, end: /\)/, excludeBegin: !0, excludeEnd: !0, keywords: v, contains: W }, ve = { variants: [{ match: [/class/, /\s+/, i, /\s+/, /extends/, /\s+/, l.concat(i, "(", l.concat(/\./, i), ")*")], scope: { 1: "keyword", 3: "title.class", 5: "keyword", 7: "title.class.inherited" } }, { match: [/class/, /\s+/, i], scope: { 1: "keyword", 3: "title.class" } }] }, oe = { relevance: 0, match: l.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/), className: "title.class", keywords: { _: [...mn, ...bn] } }, Q = { variants: [{ match: [/function/, /\s+/, i, /(?=\s*\()/] }, { match: [/function/, /\s*(?=\()/] }], className: { 1: "keyword", 3: "title.function" }, label: "func.def", contains: [H], illegal: /%/ }, xe = { match: l.concat(/\b/, (ue = [...fn, "super", "import"].map((L) => `${L}\\s*\\(`), l.concat("(?!", ue.join("|"), ")")), i, l.lookahead(/\s*\(/)), className: "title.function", relevance: 0 };
633
633
  var ue;
634
- const oe = { begin: l.concat(/\./, l.lookahead(l.concat(i, /(?![0-9A-Za-z$_(])/))), end: i, excludeBegin: !0, keywords: "prototype", className: "property", relevance: 0 }, ke = { match: [/get|set/, /\s+/, i, /(?=\()/], className: { 1: "keyword", 3: "title.function" }, contains: [{ begin: /\(\)/ }, H] }, he = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + t.UNDERSCORE_IDENT_RE + ")\\s*=>", _e = { match: [/const|var|let/, /\s+/, i, /\s*/, /=\s*/, /(async\s*)?/, l.lookahead(he)], keywords: "async", className: { 1: "keyword", 3: "title.function" }, contains: [H] };
635
- return { name: "JavaScript", aliases: ["js", "jsx", "mjs", "cjs"], keywords: v, exports: { PARAMS_CONTAINS: W, CLASS_REFERENCE: se }, illegal: /#(?![$_A-z])/, contains: [t.SHEBANG({ label: "shebang", binary: "node", relevance: 5 }), { label: "use_strict", className: "meta", relevance: 10, begin: /^\s*['"]use (strict|asm)['"]/ }, t.APOS_STRING_MODE, t.QUOTE_STRING_MODE, U, P, F, K, X, { match: /\$\d+/ }, G, se, { scope: "attr", match: i + l.lookahead(":"), relevance: 0 }, _e, { begin: "(" + t.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*", keywords: "return throw case", relevance: 0, contains: [X, t.REGEXP_MODE, { className: "function", begin: he, returnBegin: !0, end: "\\s*=>", contains: [{ className: "params", variants: [{ begin: t.UNDERSCORE_IDENT_RE, relevance: 0 }, { className: null, begin: /\(\s*\)/, skip: !0 }, { begin: /(\s*)\(/, end: /\)/, excludeBegin: !0, excludeEnd: !0, keywords: v, contains: W }] }] }, { begin: /,/, relevance: 0 }, { match: /\s+/, relevance: 0 }, { variants: [{ begin: f, end: m }, { match: /<[A-Za-z0-9\\._:-]+\s*\/>/ }, { begin: b.begin, "on:begin": b.isTrulyOpeningTag, end: b.end }], subLanguage: "xml", contains: [{ begin: b.begin, end: b.end, skip: !0, contains: ["self"] }] }] }, Q, { beginKeywords: "while if switch catch for" }, { begin: "\\b(?!function)" + t.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{", returnBegin: !0, label: "func.def", contains: [H, t.inherit(t.TITLE_MODE, { begin: i, className: "title.function" })] }, { match: /\.\.\./, relevance: 0 }, oe, { match: "\\$" + i, relevance: 0 }, { match: [/\bconstructor(?=\s*\()/], className: { 1: "title.function" }, contains: [H] }, xe, { relevance: 0, match: /\b[A-Z][A-Z_0-9]+\b/, className: "variable.constant" }, ve, ke, { match: /\$[(.]/ }] };
634
+ const se = { begin: l.concat(/\./, l.lookahead(l.concat(i, /(?![0-9A-Za-z$_(])/))), end: i, excludeBegin: !0, keywords: "prototype", className: "property", relevance: 0 }, ke = { match: [/get|set/, /\s+/, i, /(?=\()/], className: { 1: "keyword", 3: "title.function" }, contains: [{ begin: /\(\)/ }, H] }, he = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + t.UNDERSCORE_IDENT_RE + ")\\s*=>", _e = { match: [/const|var|let/, /\s+/, i, /\s*/, /=\s*/, /(async\s*)?/, l.lookahead(he)], keywords: "async", className: { 1: "keyword", 3: "title.function" }, contains: [H] };
635
+ return { name: "JavaScript", aliases: ["js", "jsx", "mjs", "cjs"], keywords: v, exports: { PARAMS_CONTAINS: W, CLASS_REFERENCE: oe }, illegal: /#(?![$_A-z])/, contains: [t.SHEBANG({ label: "shebang", binary: "node", relevance: 5 }), { label: "use_strict", className: "meta", relevance: 10, begin: /^\s*['"]use (strict|asm)['"]/ }, t.APOS_STRING_MODE, t.QUOTE_STRING_MODE, U, P, F, K, X, { match: /\$\d+/ }, G, oe, { scope: "attr", match: i + l.lookahead(":"), relevance: 0 }, _e, { begin: "(" + t.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*", keywords: "return throw case", relevance: 0, contains: [X, t.REGEXP_MODE, { className: "function", begin: he, returnBegin: !0, end: "\\s*=>", contains: [{ className: "params", variants: [{ begin: t.UNDERSCORE_IDENT_RE, relevance: 0 }, { className: null, begin: /\(\s*\)/, skip: !0 }, { begin: /(\s*)\(/, end: /\)/, excludeBegin: !0, excludeEnd: !0, keywords: v, contains: W }] }] }, { begin: /,/, relevance: 0 }, { match: /\s+/, relevance: 0 }, { variants: [{ begin: f, end: m }, { match: /<[A-Za-z0-9\\._:-]+\s*\/>/ }, { begin: b.begin, "on:begin": b.isTrulyOpeningTag, end: b.end }], subLanguage: "xml", contains: [{ begin: b.begin, end: b.end, skip: !0, contains: ["self"] }] }] }, Q, { beginKeywords: "while if switch catch for" }, { begin: "\\b(?!function)" + t.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{", returnBegin: !0, label: "func.def", contains: [H, t.inherit(t.TITLE_MODE, { begin: i, className: "title.function" })] }, { match: /\.\.\./, relevance: 0 }, se, { match: "\\$" + i, relevance: 0 }, { match: [/\bconstructor(?=\s*\()/], className: { 1: "title.function" }, contains: [H] }, xe, { relevance: 0, match: /\b[A-Z][A-Z_0-9]+\b/, className: "variable.constant" }, ve, ke, { match: /\$[(.]/ }] };
636
636
  }
637
637
  const Un = ["a", "abbr", "address", "article", "aside", "audio", "b", "blockquote", "body", "button", "canvas", "caption", "cite", "code", "dd", "del", "details", "dfn", "div", "dl", "dt", "em", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "mark", "menu", "nav", "object", "ol", "optgroup", "option", "p", "picture", "q", "quote", "samp", "section", "select", "source", "span", "strong", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "ul", "var", "video", "defs", "g", "marker", "mask", "pattern", "svg", "switch", "symbol", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feFlood", "feGaussianBlur", "feImage", "feMerge", "feMorphology", "feOffset", "feSpecularLighting", "feTile", "feTurbulence", "linearGradient", "radialGradient", "stop", "circle", "ellipse", "image", "line", "path", "polygon", "polyline", "rect", "text", "use", "textPath", "tspan", "foreignObject", "clipPath"], Hn = ["any-hover", "any-pointer", "aspect-ratio", "color", "color-gamut", "color-index", "device-aspect-ratio", "device-height", "device-width", "display-mode", "forced-colors", "grid", "height", "hover", "inverted-colors", "monochrome", "orientation", "overflow-block", "overflow-inline", "pointer", "prefers-color-scheme", "prefers-contrast", "prefers-reduced-motion", "prefers-reduced-transparency", "resolution", "scan", "scripting", "update", "width", "min-width", "max-width", "min-height", "max-height"].sort().reverse(), Zn = ["active", "any-link", "blank", "checked", "current", "default", "defined", "dir", "disabled", "drop", "empty", "enabled", "first", "first-child", "first-of-type", "fullscreen", "future", "focus", "focus-visible", "focus-within", "has", "host", "host-context", "hover", "indeterminate", "in-range", "invalid", "is", "lang", "last-child", "last-of-type", "left", "link", "local-link", "not", "nth-child", "nth-col", "nth-last-child", "nth-last-col", "nth-last-of-type", "nth-of-type", "only-child", "only-of-type", "optional", "out-of-range", "past", "placeholder-shown", "read-only", "read-write", "required", "right", "root", "scope", "target", "target-within", "user-invalid", "valid", "visited", "where"].sort().reverse(), Gn = ["after", "backdrop", "before", "cue", "cue-region", "first-letter", "first-line", "grammar-error", "marker", "part", "placeholder", "selection", "slotted", "spelling-error"].sort().reverse(), Fn = ["accent-color", "align-content", "align-items", "align-self", "alignment-baseline", "all", "anchor-name", "animation", "animation-composition", "animation-delay", "animation-direction", "animation-duration", "animation-fill-mode", "animation-iteration-count", "animation-name", "animation-play-state", "animation-range", "animation-range-end", "animation-range-start", "animation-timeline", "animation-timing-function", "appearance", "aspect-ratio", "backdrop-filter", "backface-visibility", "background", "background-attachment", "background-blend-mode", "background-clip", "background-color", "background-image", "background-origin", "background-position", "background-position-x", "background-position-y", "background-repeat", "background-size", "baseline-shift", "block-size", "border", "border-block", "border-block-color", "border-block-end", "border-block-end-color", "border-block-end-style", "border-block-end-width", "border-block-start", "border-block-start-color", "border-block-start-style", "border-block-start-width", "border-block-style", "border-block-width", "border-bottom", "border-bottom-color", "border-bottom-left-radius", "border-bottom-right-radius", "border-bottom-style", "border-bottom-width", "border-collapse", "border-color", "border-end-end-radius", "border-end-start-radius", "border-image", "border-image-outset", "border-image-repeat", "border-image-slice", "border-image-source", "border-image-width", "border-inline", "border-inline-color", "border-inline-end", "border-inline-end-color", "border-inline-end-style", "border-inline-end-width", "border-inline-start", "border-inline-start-color", "border-inline-start-style", "border-inline-start-width", "border-inline-style", "border-inline-width", "border-left", "border-left-color", "border-left-style", "border-left-width", "border-radius", "border-right", "border-right-color", "border-right-style", "border-right-width", "border-spacing", "border-start-end-radius", "border-start-start-radius", "border-style", "border-top", "border-top-color", "border-top-left-radius", "border-top-right-radius", "border-top-style", "border-top-width", "border-width", "bottom", "box-align", "box-decoration-break", "box-direction", "box-flex", "box-flex-group", "box-lines", "box-ordinal-group", "box-orient", "box-pack", "box-shadow", "box-sizing", "break-after", "break-before", "break-inside", "caption-side", "caret-color", "clear", "clip", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "color-scheme", "column-count", "column-fill", "column-gap", "column-rule", "column-rule-color", "column-rule-style", "column-rule-width", "column-span", "column-width", "columns", "contain", "contain-intrinsic-block-size", "contain-intrinsic-height", "contain-intrinsic-inline-size", "contain-intrinsic-size", "contain-intrinsic-width", "container", "container-name", "container-type", "content", "content-visibility", "counter-increment", "counter-reset", "counter-set", "cue", "cue-after", "cue-before", "cursor", "cx", "cy", "direction", "display", "dominant-baseline", "empty-cells", "enable-background", "field-sizing", "fill", "fill-opacity", "fill-rule", "filter", "flex", "flex-basis", "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap", "float", "flood-color", "flood-opacity", "flow", "font", "font-display", "font-family", "font-feature-settings", "font-kerning", "font-language-override", "font-optical-sizing", "font-palette", "font-size", "font-size-adjust", "font-smooth", "font-smoothing", "font-stretch", "font-style", "font-synthesis", "font-synthesis-position", "font-synthesis-small-caps", "font-synthesis-style", "font-synthesis-weight", "font-variant", "font-variant-alternates", "font-variant-caps", "font-variant-east-asian", "font-variant-emoji", "font-variant-ligatures", "font-variant-numeric", "font-variant-position", "font-variation-settings", "font-weight", "forced-color-adjust", "gap", "glyph-orientation-horizontal", "glyph-orientation-vertical", "grid", "grid-area", "grid-auto-columns", "grid-auto-flow", "grid-auto-rows", "grid-column", "grid-column-end", "grid-column-start", "grid-gap", "grid-row", "grid-row-end", "grid-row-start", "grid-template", "grid-template-areas", "grid-template-columns", "grid-template-rows", "hanging-punctuation", "height", "hyphenate-character", "hyphenate-limit-chars", "hyphens", "icon", "image-orientation", "image-rendering", "image-resolution", "ime-mode", "initial-letter", "initial-letter-align", "inline-size", "inset", "inset-area", "inset-block", "inset-block-end", "inset-block-start", "inset-inline", "inset-inline-end", "inset-inline-start", "isolation", "justify-content", "justify-items", "justify-self", "kerning", "left", "letter-spacing", "lighting-color", "line-break", "line-height", "line-height-step", "list-style", "list-style-image", "list-style-position", "list-style-type", "margin", "margin-block", "margin-block-end", "margin-block-start", "margin-bottom", "margin-inline", "margin-inline-end", "margin-inline-start", "margin-left", "margin-right", "margin-top", "margin-trim", "marker", "marker-end", "marker-mid", "marker-start", "marks", "mask", "mask-border", "mask-border-mode", "mask-border-outset", "mask-border-repeat", "mask-border-slice", "mask-border-source", "mask-border-width", "mask-clip", "mask-composite", "mask-image", "mask-mode", "mask-origin", "mask-position", "mask-repeat", "mask-size", "mask-type", "masonry-auto-flow", "math-depth", "math-shift", "math-style", "max-block-size", "max-height", "max-inline-size", "max-width", "min-block-size", "min-height", "min-inline-size", "min-width", "mix-blend-mode", "nav-down", "nav-index", "nav-left", "nav-right", "nav-up", "none", "normal", "object-fit", "object-position", "offset", "offset-anchor", "offset-distance", "offset-path", "offset-position", "offset-rotate", "opacity", "order", "orphans", "outline", "outline-color", "outline-offset", "outline-style", "outline-width", "overflow", "overflow-anchor", "overflow-block", "overflow-clip-margin", "overflow-inline", "overflow-wrap", "overflow-x", "overflow-y", "overlay", "overscroll-behavior", "overscroll-behavior-block", "overscroll-behavior-inline", "overscroll-behavior-x", "overscroll-behavior-y", "padding", "padding-block", "padding-block-end", "padding-block-start", "padding-bottom", "padding-inline", "padding-inline-end", "padding-inline-start", "padding-left", "padding-right", "padding-top", "page", "page-break-after", "page-break-before", "page-break-inside", "paint-order", "pause", "pause-after", "pause-before", "perspective", "perspective-origin", "place-content", "place-items", "place-self", "pointer-events", "position", "position-anchor", "position-visibility", "print-color-adjust", "quotes", "r", "resize", "rest", "rest-after", "rest-before", "right", "rotate", "row-gap", "ruby-align", "ruby-position", "scale", "scroll-behavior", "scroll-margin", "scroll-margin-block", "scroll-margin-block-end", "scroll-margin-block-start", "scroll-margin-bottom", "scroll-margin-inline", "scroll-margin-inline-end", "scroll-margin-inline-start", "scroll-margin-left", "scroll-margin-right", "scroll-margin-top", "scroll-padding", "scroll-padding-block", "scroll-padding-block-end", "scroll-padding-block-start", "scroll-padding-bottom", "scroll-padding-inline", "scroll-padding-inline-end", "scroll-padding-inline-start", "scroll-padding-left", "scroll-padding-right", "scroll-padding-top", "scroll-snap-align", "scroll-snap-stop", "scroll-snap-type", "scroll-timeline", "scroll-timeline-axis", "scroll-timeline-name", "scrollbar-color", "scrollbar-gutter", "scrollbar-width", "shape-image-threshold", "shape-margin", "shape-outside", "shape-rendering", "speak", "speak-as", "src", "stop-color", "stop-opacity", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "tab-size", "table-layout", "text-align", "text-align-all", "text-align-last", "text-anchor", "text-combine-upright", "text-decoration", "text-decoration-color", "text-decoration-line", "text-decoration-skip", "text-decoration-skip-ink", "text-decoration-style", "text-decoration-thickness", "text-emphasis", "text-emphasis-color", "text-emphasis-position", "text-emphasis-style", "text-indent", "text-justify", "text-orientation", "text-overflow", "text-rendering", "text-shadow", "text-size-adjust", "text-transform", "text-underline-offset", "text-underline-position", "text-wrap", "text-wrap-mode", "text-wrap-style", "timeline-scope", "top", "touch-action", "transform", "transform-box", "transform-origin", "transform-style", "transition", "transition-behavior", "transition-delay", "transition-duration", "transition-property", "transition-timing-function", "translate", "unicode-bidi", "user-modify", "user-select", "vector-effect", "vertical-align", "view-timeline", "view-timeline-axis", "view-timeline-inset", "view-timeline-name", "view-transition-name", "visibility", "voice-balance", "voice-duration", "voice-family", "voice-pitch", "voice-range", "voice-rate", "voice-stress", "voice-volume", "white-space", "white-space-collapse", "widows", "width", "will-change", "word-break", "word-spacing", "word-wrap", "writing-mode", "x", "y", "z-index", "zoom"].sort().reverse();
638
638
  var Kn = Object.defineProperty, Xn = Object.getOwnPropertyDescriptor, fe = (t, l, i, f) => {
@@ -652,12 +652,12 @@ ae.registerLanguage("xml", an), ae.registerLanguage("html", an), ae.registerLang
652
652
  ((te = pe.match(/^\s*=/)) || (te = pe.match(/^\s+extends\s+/)) && te.index === 0) && Y.ignoreMatch();
653
653
  } }, v = { $pattern: rn, keyword: Bn, literal: zn, built_in: Dn, "variable.language": $n }, A = "[0-9](_?[0-9])*", M = `\\.(${A})`, D = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", G = { className: "number", variants: [{ begin: `(\\b(${D})((${M})|\\.)?|(${M}))[eE][+-]?(${A})\\b` }, { begin: `\\b(${D})\\b((${M})\\b|\\.)?|(${M})\\b` }, { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" }, { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" }, { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" }, { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" }, { begin: "\\b0[0-7]+n?\\b" }], relevance: 0 }, T = { className: "subst", begin: "\\$\\{", end: "\\}", keywords: v, contains: [] }, U = { begin: ".?html`", end: "", starts: { end: "`", returnEnd: !1, contains: [t.BACKSLASH_ESCAPE, T], subLanguage: "xml" } }, P = { begin: ".?css`", end: "", starts: { end: "`", returnEnd: !1, contains: [t.BACKSLASH_ESCAPE, T], subLanguage: "css" } }, F = { begin: ".?gql`", end: "", starts: { end: "`", returnEnd: !1, contains: [t.BACKSLASH_ESCAPE, T], subLanguage: "graphql" } }, K = { className: "string", begin: "`", end: "`", contains: [t.BACKSLASH_ESCAPE, T] }, X = { className: "comment", variants: [t.COMMENT(/\/\*\*(?!\/)/, "\\*/", { relevance: 0, contains: [{ begin: "(?=@[A-Za-z]+)", relevance: 0, contains: [{ className: "doctag", begin: "@[A-Za-z]+" }, { className: "type", begin: "\\{", end: "\\}", excludeEnd: !0, excludeBegin: !0, relevance: 0 }, { className: "variable", begin: i + "(?=\\s*(-)|$)", endsParent: !0, relevance: 0 }, { begin: /(?=[^\n])\s/, relevance: 0 }] }] }), t.C_BLOCK_COMMENT_MODE, t.C_LINE_COMMENT_MODE] }, V = [t.APOS_STRING_MODE, t.QUOTE_STRING_MODE, U, P, F, K, { match: /\$\d+/ }, G];
654
654
  T.contains = V.concat({ begin: /\{/, end: /\}/, keywords: v, contains: ["self"].concat(V) });
655
- const re = [].concat(X, T.contains), W = re.concat([{ begin: /(\s*)\(/, end: /\)/, keywords: v, contains: ["self"].concat(re) }]), H = { className: "params", begin: /(\s*)\(/, end: /\)/, excludeBegin: !0, excludeEnd: !0, keywords: v, contains: W }, ve = { variants: [{ match: [/class/, /\s+/, i, /\s+/, /extends/, /\s+/, l.concat(i, "(", l.concat(/\./, i), ")*")], scope: { 1: "keyword", 3: "title.class", 5: "keyword", 7: "title.class.inherited" } }, { match: [/class/, /\s+/, i], scope: { 1: "keyword", 3: "title.class" } }] }, se = { relevance: 0, match: l.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/), className: "title.class", keywords: { _: [...ln, ...dn] } }, Q = { variants: [{ match: [/function/, /\s+/, i, /(?=\s*\()/] }, { match: [/function/, /\s*(?=\()/] }], className: { 1: "keyword", 3: "title.function" }, label: "func.def", contains: [H], illegal: /%/ }, xe = { match: l.concat(/\b/, (ue = [...gn, "super", "import"].map((L) => `${L}\\s*\\(`), l.concat("(?!", ue.join("|"), ")")), i, l.lookahead(/\s*\(/)), className: "title.function", relevance: 0 };
655
+ const re = [].concat(X, T.contains), W = re.concat([{ begin: /(\s*)\(/, end: /\)/, keywords: v, contains: ["self"].concat(re) }]), H = { className: "params", begin: /(\s*)\(/, end: /\)/, excludeBegin: !0, excludeEnd: !0, keywords: v, contains: W }, ve = { variants: [{ match: [/class/, /\s+/, i, /\s+/, /extends/, /\s+/, l.concat(i, "(", l.concat(/\./, i), ")*")], scope: { 1: "keyword", 3: "title.class", 5: "keyword", 7: "title.class.inherited" } }, { match: [/class/, /\s+/, i], scope: { 1: "keyword", 3: "title.class" } }] }, oe = { relevance: 0, match: l.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/), className: "title.class", keywords: { _: [...dn, ...gn] } }, Q = { variants: [{ match: [/function/, /\s+/, i, /(?=\s*\()/] }, { match: [/function/, /\s*(?=\()/] }], className: { 1: "keyword", 3: "title.function" }, label: "func.def", contains: [H], illegal: /%/ }, xe = { match: l.concat(/\b/, (ue = [...un, "super", "import"].map((L) => `${L}\\s*\\(`), l.concat("(?!", ue.join("|"), ")")), i, l.lookahead(/\s*\(/)), className: "title.function", relevance: 0 };
656
656
  var ue;
657
- const oe = { begin: l.concat(/\./, l.lookahead(l.concat(i, /(?![0-9A-Za-z$_(])/))), end: i, excludeBegin: !0, keywords: "prototype", className: "property", relevance: 0 }, ke = { match: [/get|set/, /\s+/, i, /(?=\()/], className: { 1: "keyword", 3: "title.function" }, contains: [{ begin: /\(\)/ }, H] }, he = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + t.UNDERSCORE_IDENT_RE + ")\\s*=>", _e = { match: [/const|var|let/, /\s+/, i, /\s*/, /=\s*/, /(async\s*)?/, l.lookahead(he)], keywords: "async", className: { 1: "keyword", 3: "title.function" }, contains: [H] };
658
- return { name: "JavaScript", aliases: ["js", "jsx", "mjs", "cjs"], keywords: v, exports: { PARAMS_CONTAINS: W, CLASS_REFERENCE: se }, illegal: /#(?![$_A-z])/, contains: [t.SHEBANG({ label: "shebang", binary: "node", relevance: 5 }), { label: "use_strict", className: "meta", relevance: 10, begin: /^\s*['"]use (strict|asm)['"]/ }, t.APOS_STRING_MODE, t.QUOTE_STRING_MODE, U, P, F, K, X, { match: /\$\d+/ }, G, se, { scope: "attr", match: i + l.lookahead(":"), relevance: 0 }, _e, { begin: "(" + t.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*", keywords: "return throw case", relevance: 0, contains: [X, t.REGEXP_MODE, { className: "function", begin: he, returnBegin: !0, end: "\\s*=>", contains: [{ className: "params", variants: [{ begin: t.UNDERSCORE_IDENT_RE, relevance: 0 }, { className: null, begin: /\(\s*\)/, skip: !0 }, { begin: /(\s*)\(/, end: /\)/, excludeBegin: !0, excludeEnd: !0, keywords: v, contains: W }] }] }, { begin: /,/, relevance: 0 }, { match: /\s+/, relevance: 0 }, { variants: [{ begin: f, end: m }, { match: /<[A-Za-z0-9\\._:-]+\s*\/>/ }, { begin: b.begin, "on:begin": b.isTrulyOpeningTag, end: b.end }], subLanguage: "xml", contains: [{ begin: b.begin, end: b.end, skip: !0, contains: ["self"] }] }] }, Q, { beginKeywords: "while if switch catch for" }, { begin: "\\b(?!function)" + t.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{", returnBegin: !0, label: "func.def", contains: [H, t.inherit(t.TITLE_MODE, { begin: i, className: "title.function" })] }, { match: /\.\.\./, relevance: 0 }, oe, { match: "\\$" + i, relevance: 0 }, { match: [/\bconstructor(?=\s*\()/], className: { 1: "title.function" }, contains: [H] }, xe, { relevance: 0, match: /\b[A-Z][A-Z_0-9]+\b/, className: "variable.constant" }, ve, ke, { match: /\$[(.]/ }] };
657
+ const se = { begin: l.concat(/\./, l.lookahead(l.concat(i, /(?![0-9A-Za-z$_(])/))), end: i, excludeBegin: !0, keywords: "prototype", className: "property", relevance: 0 }, ke = { match: [/get|set/, /\s+/, i, /(?=\()/], className: { 1: "keyword", 3: "title.function" }, contains: [{ begin: /\(\)/ }, H] }, he = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + t.UNDERSCORE_IDENT_RE + ")\\s*=>", _e = { match: [/const|var|let/, /\s+/, i, /\s*/, /=\s*/, /(async\s*)?/, l.lookahead(he)], keywords: "async", className: { 1: "keyword", 3: "title.function" }, contains: [H] };
658
+ return { name: "JavaScript", aliases: ["js", "jsx", "mjs", "cjs"], keywords: v, exports: { PARAMS_CONTAINS: W, CLASS_REFERENCE: oe }, illegal: /#(?![$_A-z])/, contains: [t.SHEBANG({ label: "shebang", binary: "node", relevance: 5 }), { label: "use_strict", className: "meta", relevance: 10, begin: /^\s*['"]use (strict|asm)['"]/ }, t.APOS_STRING_MODE, t.QUOTE_STRING_MODE, U, P, F, K, X, { match: /\$\d+/ }, G, oe, { scope: "attr", match: i + l.lookahead(":"), relevance: 0 }, _e, { begin: "(" + t.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*", keywords: "return throw case", relevance: 0, contains: [X, t.REGEXP_MODE, { className: "function", begin: he, returnBegin: !0, end: "\\s*=>", contains: [{ className: "params", variants: [{ begin: t.UNDERSCORE_IDENT_RE, relevance: 0 }, { className: null, begin: /\(\s*\)/, skip: !0 }, { begin: /(\s*)\(/, end: /\)/, excludeBegin: !0, excludeEnd: !0, keywords: v, contains: W }] }] }, { begin: /,/, relevance: 0 }, { match: /\s+/, relevance: 0 }, { variants: [{ begin: f, end: m }, { match: /<[A-Za-z0-9\\._:-]+\s*\/>/ }, { begin: b.begin, "on:begin": b.isTrulyOpeningTag, end: b.end }], subLanguage: "xml", contains: [{ begin: b.begin, end: b.end, skip: !0, contains: ["self"] }] }] }, Q, { beginKeywords: "while if switch catch for" }, { begin: "\\b(?!function)" + t.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{", returnBegin: !0, label: "func.def", contains: [H, t.inherit(t.TITLE_MODE, { begin: i, className: "title.function" })] }, { match: /\.\.\./, relevance: 0 }, se, { match: "\\$" + i, relevance: 0 }, { match: [/\bconstructor(?=\s*\()/], className: { 1: "title.function" }, contains: [H] }, xe, { relevance: 0, match: /\b[A-Z][A-Z_0-9]+\b/, className: "variable.constant" }, ve, ke, { match: /\$[(.]/ }] };
659
659
  }), ae.registerLanguage("typescript", function(t) {
660
- const l = t.regex, i = Pn(t), f = Ie, m = ["any", "void", "number", "boolean", "string", "object", "never", "symbol", "bigint", "unknown"], b = { begin: [/namespace/, /\s+/, t.IDENT_RE], beginScope: { 1: "keyword", 3: "title.class" } }, v = { beginKeywords: "interface", end: /\{/, excludeEnd: !0, keywords: { keyword: "interface extends", built_in: m }, contains: [i.exports.CLASS_REFERENCE] }, A = { $pattern: Ie, keyword: un.concat(["type", "interface", "public", "private", "protected", "implements", "declare", "abstract", "readonly", "enum", "override", "satisfies"]), literal: hn, built_in: yn.concat(m), "variable.language": fn }, M = { className: "meta", begin: "@" + f }, D = (U, P, F) => {
660
+ const l = t.regex, i = Pn(t), f = Ie, m = ["any", "void", "number", "boolean", "string", "object", "never", "symbol", "bigint", "unknown"], b = { begin: [/namespace/, /\s+/, t.IDENT_RE], beginScope: { 1: "keyword", 3: "title.class" } }, v = { beginKeywords: "interface", end: /\{/, excludeEnd: !0, keywords: { keyword: "interface extends", built_in: m }, contains: [i.exports.CLASS_REFERENCE] }, A = { $pattern: Ie, keyword: hn.concat(["type", "interface", "public", "private", "protected", "implements", "declare", "abstract", "readonly", "enum", "override", "satisfies"]), literal: pn, built_in: vn.concat(m), "variable.language": yn }, M = { className: "meta", begin: "@" + f }, D = (U, P, F) => {
661
661
  const K = U.contains.findIndex((X) => X.label === P);
662
662
  if (K === -1) throw new Error("can not find mode to replace");
663
663
  U.contains.splice(K, 1, F);
@@ -679,7 +679,7 @@ ae.registerLanguage("xml", an), ae.registerLanguage("html", an), ae.registerLang
679
679
  const M = { begin: /\$?\(\(/, end: /\)\)/, contains: [{ begin: /\d+#[0-9a-f]+/, className: "number" }, t.NUMBER_MODE, i] }, D = t.SHEBANG({ binary: `(${["fish", "bash", "zsh", "sh", "csh", "ksh", "tcsh", "dash", "scsh"].join("|")})`, relevance: 10 }), G = { className: "function", begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/, returnBegin: !0, contains: [t.inherit(t.TITLE_MODE, { begin: /\w[\w\d_]*/ })], relevance: 0 };
680
680
  return { name: "Bash", aliases: ["sh", "zsh"], keywords: { $pattern: /\b[a-z][a-z0-9._-]+\b/, keyword: ["if", "then", "else", "elif", "fi", "time", "for", "while", "until", "in", "do", "done", "case", "esac", "coproc", "function", "select"], literal: ["true", "false"], built_in: ["break", "cd", "continue", "eval", "exec", "exit", "export", "getopts", "hash", "pwd", "readonly", "return", "shift", "test", "times", "trap", "umask", "unset", "alias", "bind", "builtin", "caller", "command", "declare", "echo", "enable", "help", "let", "local", "logout", "mapfile", "printf", "read", "readarray", "source", "sudo", "type", "typeset", "ulimit", "unalias", "set", "shopt", "autoload", "bg", "bindkey", "bye", "cap", "chdir", "clone", "comparguments", "compcall", "compctl", "compdescribe", "compfiles", "compgroups", "compquote", "comptags", "comptry", "compvalues", "dirs", "disable", "disown", "echotc", "echoti", "emulate", "fc", "fg", "float", "functions", "getcap", "getln", "history", "integer", "jobs", "kill", "limit", "log", "noglob", "popd", "print", "pushd", "pushln", "rehash", "sched", "setcap", "setopt", "stat", "suspend", "ttyctl", "unfunction", "unhash", "unlimit", "unsetopt", "vared", "wait", "whence", "where", "which", "zcompile", "zformat", "zftp", "zle", "zmodload", "zparseopts", "zprof", "zpty", "zregexparse", "zsocket", "zstyle", "ztcp", "chcon", "chgrp", "chown", "chmod", "cp", "dd", "df", "dir", "dircolors", "ln", "ls", "mkdir", "mkfifo", "mknod", "mktemp", "mv", "realpath", "rm", "rmdir", "shred", "sync", "touch", "truncate", "vdir", "b2sum", "base32", "base64", "cat", "cksum", "comm", "csplit", "cut", "expand", "fmt", "fold", "head", "join", "md5sum", "nl", "numfmt", "od", "paste", "ptx", "pr", "sha1sum", "sha224sum", "sha256sum", "sha384sum", "sha512sum", "shuf", "sort", "split", "sum", "tac", "tail", "tr", "tsort", "unexpand", "uniq", "wc", "arch", "basename", "chroot", "date", "dirname", "du", "echo", "env", "expr", "factor", "groups", "hostid", "id", "link", "logname", "nice", "nohup", "nproc", "pathchk", "pinky", "printenv", "printf", "pwd", "readlink", "runcon", "seq", "sleep", "stat", "stdbuf", "stty", "tee", "test", "timeout", "tty", "uname", "unlink", "uptime", "users", "who", "whoami", "yes"] }, contains: [D, t.SHEBANG(), G, M, b, v, { match: /(\/[a-z._-]+)+/ }, A, { match: /\\"/ }, { className: "string", begin: /'/, end: /'/ }, { match: /\\'/ }, i] };
681
681
  });
682
- let ge = class extends sn(Cn`
682
+ let ge = class extends on(sn`
683
683
  :host {
684
684
  display: block;
685
685
  width: 100%;
@@ -817,12 +817,17 @@ let ge = class extends sn(Cn`
817
817
  `;
818
818
  }
819
819
  };
820
- fe([ye({ type: String })], ge.prototype, "language", 2), fe([ye({ type: String })], ge.prototype, "code", 2), fe([ye({ type: String })], ge.prototype, "filename", 2), fe([ye({ type: Boolean })], ge.prototype, "lineNumbers", 2), fe([ye({ type: Boolean })], ge.prototype, "copyButton", 2), fe([on()], ge.prototype, "copied", 2), ge = fe([cn("schmancy-code")], ge);
820
+ fe([ye({ type: String })], ge.prototype, "language", 2), fe([ye({ type: String })], ge.prototype, "code", 2), fe([ye({ type: String })], ge.prototype, "filename", 2), fe([ye({ type: Boolean })], ge.prototype, "lineNumbers", 2), fe([ye({ type: Boolean })], ge.prototype, "copyButton", 2), fe([cn()], ge.prototype, "copied", 2), ge = fe([ln("schmancy-code")], ge);
821
821
  var Wn = Object.defineProperty, qn = Object.getOwnPropertyDescriptor, Ce = (t, l, i, f) => {
822
822
  for (var m, b = f > 1 ? void 0 : f ? qn(l, i) : l, v = t.length - 1; v >= 0; v--) (m = t[v]) && (b = (f ? m(l, i, b) : m(b)) || b);
823
823
  return f && b && Wn(l, i, b), b;
824
824
  };
825
- let Ae = class extends sn() {
825
+ let Ae = class extends on(sn`:host{
826
+ display:block;
827
+ overflow:hidden;
828
+ position:relative;
829
+ inset:0;
830
+ }`) {
826
831
  constructor() {
827
832
  super(...arguments), this.language = "html", this.layout = "vertical", this.slotContent = "";
828
833
  }
@@ -868,9 +873,9 @@ let Ae = class extends sn() {
868
873
  `;
869
874
  }
870
875
  };
871
- Ce([ye({ type: String })], Ae.prototype, "language", 2), Ce([ye({ type: String })], Ae.prototype, "layout", 2), Ce([on()], Ae.prototype, "slotContent", 2), Ae = Ce([cn("schmancy-code-preview")], Ae);
876
+ Ce([ye({ type: String })], Ae.prototype, "language", 2), Ce([ye({ type: String })], Ae.prototype, "layout", 2), Ce([cn()], Ae.prototype, "slotContent", 2), Ae = Ce([ln("schmancy-code-preview")], Ae);
872
877
  export {
873
878
  ge as S,
874
879
  Ae as a
875
880
  };
876
- //# sourceMappingURL=code-preview-BZ-uk6y1.js.map
881
+ //# sourceMappingURL=code-preview-D_QJybDt.js.map