@cldemo/ui-kit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (720) hide show
  1. package/COMPONENT_CATALOG.md +210 -0
  2. package/LICENSE +21 -0
  3. package/README.md +120 -0
  4. package/buildLibs/all/index.cjs +99 -0
  5. package/buildLibs/all/index.cjs.map +1 -0
  6. package/buildLibs/all/index.d.ts +83 -0
  7. package/buildLibs/all/index.js +168 -0
  8. package/buildLibs/all/index.js.map +1 -0
  9. package/buildLibs/common/Element/Event/drag.d.ts +24 -0
  10. package/buildLibs/common/Element/Event/index.d.ts +9 -0
  11. package/buildLibs/common/Element/Event/resize.d.ts +20 -0
  12. package/buildLibs/common/Element/index.d.ts +104 -0
  13. package/buildLibs/common/Element_Event_drag-DeZYlveu.js +430 -0
  14. package/buildLibs/common/Element_Event_drag-DeZYlveu.js.map +1 -0
  15. package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs +3 -0
  16. package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs.map +1 -0
  17. package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs +2 -0
  18. package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs.map +1 -0
  19. package/buildLibs/common/Element_Event_resize-DqH_UT2k.js +49 -0
  20. package/buildLibs/common/Element_Event_resize-DqH_UT2k.js.map +1 -0
  21. package/buildLibs/common/Tools/animateEasing.d.ts +27 -0
  22. package/buildLibs/common/Tools/cookie.d.ts +8 -0
  23. package/buildLibs/common/Tools/delayFun.d.ts +9 -0
  24. package/buildLibs/common/Tools/index.d.ts +15 -0
  25. package/buildLibs/common/Tools/localStorage.d.ts +9 -0
  26. package/buildLibs/common/Tools/number.d.ts +8 -0
  27. package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs +2 -0
  28. package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs.map +1 -0
  29. package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js +50 -0
  30. package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js.map +1 -0
  31. package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs +2 -0
  32. package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs.map +1 -0
  33. package/buildLibs/common/Tools_cookie-DKctMXdK.js +31 -0
  34. package/buildLibs/common/Tools_cookie-DKctMXdK.js.map +1 -0
  35. package/buildLibs/common/Tools_delayFun-CA1ktv1L.js +21 -0
  36. package/buildLibs/common/Tools_delayFun-CA1ktv1L.js.map +1 -0
  37. package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs +2 -0
  38. package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs.map +1 -0
  39. package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs +2 -0
  40. package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs.map +1 -0
  41. package/buildLibs/common/Tools_localStorage-DVvhtzhL.js +48 -0
  42. package/buildLibs/common/Tools_localStorage-DVvhtzhL.js.map +1 -0
  43. package/buildLibs/common/Tools_number-Bh6hGO5U.cjs +2 -0
  44. package/buildLibs/common/Tools_number-Bh6hGO5U.cjs.map +1 -0
  45. package/buildLibs/common/Tools_number-C_MjN473.js +22 -0
  46. package/buildLibs/common/Tools_number-C_MjN473.js.map +1 -0
  47. package/buildLibs/common/axios-DZoeNi6y.cjs +2 -0
  48. package/buildLibs/common/axios-DZoeNi6y.cjs.map +1 -0
  49. package/buildLibs/common/axios-DqkFEq4Y.js +242 -0
  50. package/buildLibs/common/axios-DqkFEq4Y.js.map +1 -0
  51. package/buildLibs/common/axios.d.ts +28 -0
  52. package/buildLibs/common/base-PQGakkrl.js +808 -0
  53. package/buildLibs/common/base-PQGakkrl.js.map +1 -0
  54. package/buildLibs/common/base-iCmnU-fv.cjs +2 -0
  55. package/buildLibs/common/base-iCmnU-fv.cjs.map +1 -0
  56. package/buildLibs/common/base.d.ts +222 -0
  57. package/buildLibs/common/day-BzMalBXj.cjs +2 -0
  58. package/buildLibs/common/day-BzMalBXj.cjs.map +1 -0
  59. package/buildLibs/common/day-Dm_AnEZp.js +75 -0
  60. package/buildLibs/common/day-Dm_AnEZp.js.map +1 -0
  61. package/buildLibs/common/day.d.ts +25 -0
  62. package/buildLibs/common/echart-BtfUJ8lE.js +498 -0
  63. package/buildLibs/common/echart-BtfUJ8lE.js.map +1 -0
  64. package/buildLibs/common/echart-Cs3rQ-e9.cjs +2 -0
  65. package/buildLibs/common/echart-Cs3rQ-e9.cjs.map +1 -0
  66. package/buildLibs/common/echart.d.ts +82 -0
  67. package/buildLibs/common/i18n/en.d.ts +111 -0
  68. package/buildLibs/common/i18n/index.d.ts +25 -0
  69. package/buildLibs/common/i18n/zh_CN.d.ts +111 -0
  70. package/buildLibs/common/i18n_en-BHhFEbi6.js +114 -0
  71. package/buildLibs/common/i18n_en-BHhFEbi6.js.map +1 -0
  72. package/buildLibs/common/i18n_en-D-5antzy.cjs +2 -0
  73. package/buildLibs/common/i18n_en-D-5antzy.cjs.map +1 -0
  74. package/buildLibs/common/i18n_zh_CN-COzQ8Los.js +114 -0
  75. package/buildLibs/common/i18n_zh_CN-COzQ8Los.js.map +1 -0
  76. package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs +2 -0
  77. package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs.map +1 -0
  78. package/buildLibs/common/index.cjs +2 -0
  79. package/buildLibs/common/index.cjs.map +1 -0
  80. package/buildLibs/common/index.d.ts +10 -0
  81. package/buildLibs/common/index.js +124 -0
  82. package/buildLibs/common/index.js.map +1 -0
  83. package/buildLibs/common/promise-BtoePzHD.cjs +2 -0
  84. package/buildLibs/common/promise-BtoePzHD.cjs.map +1 -0
  85. package/buildLibs/common/promise-CPiVqqqL.js +44 -0
  86. package/buildLibs/common/promise-CPiVqqqL.js.map +1 -0
  87. package/buildLibs/common/promise.d.ts +14 -0
  88. package/buildLibs/common/tooltip-De0atcAJ.js +215 -0
  89. package/buildLibs/common/tooltip-De0atcAJ.js.map +1 -0
  90. package/buildLibs/common/tooltip-Dj_ol2ax.cjs +2 -0
  91. package/buildLibs/common/tooltip-Dj_ol2ax.cjs.map +1 -0
  92. package/buildLibs/common/tooltip.d.ts +37 -0
  93. package/buildLibs/mobile/index.cjs +56 -0
  94. package/buildLibs/mobile/index.cjs.map +1 -0
  95. package/buildLibs/mobile/index.d.ts +47 -0
  96. package/buildLibs/mobile/index.js +96 -0
  97. package/buildLibs/mobile/index.js.map +1 -0
  98. package/buildLibs/resolver/index.cjs +2 -0
  99. package/buildLibs/resolver/index.cjs.map +1 -0
  100. package/buildLibs/resolver/index.js +82 -0
  101. package/buildLibs/resolver/index.js.map +1 -0
  102. package/buildLibs/resolver/resolver.d.ts +7 -0
  103. package/buildLibs/utils/Element/ClAnchorNav.cjs +2 -0
  104. package/buildLibs/utils/Element/ClAnchorNav.cjs.map +1 -0
  105. package/buildLibs/utils/Element/ClAnchorNav.css +1 -0
  106. package/buildLibs/utils/Element/ClAnchorNav.d.ts +3 -0
  107. package/buildLibs/utils/Element/ClAnchorNav.js +55 -0
  108. package/buildLibs/utils/Element/ClAnchorNav.js.map +1 -0
  109. package/buildLibs/utils/Element/ClBadge.cjs +2 -0
  110. package/buildLibs/utils/Element/ClBadge.cjs.map +1 -0
  111. package/buildLibs/utils/Element/ClBadge.d.ts +3 -0
  112. package/buildLibs/utils/Element/ClBadge.js +5 -0
  113. package/buildLibs/utils/Element/ClBadge.js.map +1 -0
  114. package/buildLibs/utils/Element/ClButton.cjs +2 -0
  115. package/buildLibs/utils/Element/ClButton.cjs.map +1 -0
  116. package/buildLibs/utils/Element/ClButton.css +1 -0
  117. package/buildLibs/utils/Element/ClButton.d.ts +3 -0
  118. package/buildLibs/utils/Element/ClButton.js +226 -0
  119. package/buildLibs/utils/Element/ClButton.js.map +1 -0
  120. package/buildLibs/utils/Element/ClCheckbox.cjs +2 -0
  121. package/buildLibs/utils/Element/ClCheckbox.cjs.map +1 -0
  122. package/buildLibs/utils/Element/ClCheckbox.d.ts +3 -0
  123. package/buildLibs/utils/Element/ClCheckbox.js +205 -0
  124. package/buildLibs/utils/Element/ClCheckbox.js.map +1 -0
  125. package/buildLibs/utils/Element/ClCheckboxOne.d.ts +3 -0
  126. package/buildLibs/utils/Element/ClClipboard.cjs +2 -0
  127. package/buildLibs/utils/Element/ClClipboard.cjs.map +1 -0
  128. package/buildLibs/utils/Element/ClClipboard.d.ts +3 -0
  129. package/buildLibs/utils/Element/ClClipboard.js +5 -0
  130. package/buildLibs/utils/Element/ClClipboard.js.map +1 -0
  131. package/buildLibs/utils/Element/ClCountup.cjs +2 -0
  132. package/buildLibs/utils/Element/ClCountup.cjs.map +1 -0
  133. package/buildLibs/utils/Element/ClCountup.d.ts +3 -0
  134. package/buildLibs/utils/Element/ClCountup.js +56 -0
  135. package/buildLibs/utils/Element/ClCountup.js.map +1 -0
  136. package/buildLibs/utils/Element/ClCropper.cjs +2 -0
  137. package/buildLibs/utils/Element/ClCropper.cjs.map +1 -0
  138. package/buildLibs/utils/Element/ClCropper.d.ts +3 -0
  139. package/buildLibs/utils/Element/ClCropper.js +5 -0
  140. package/buildLibs/utils/Element/ClCropper.js.map +1 -0
  141. package/buildLibs/utils/Element/ClCropperPreview.css +1 -0
  142. package/buildLibs/utils/Element/ClDarg.cjs +7 -0
  143. package/buildLibs/utils/Element/ClDarg.cjs.map +1 -0
  144. package/buildLibs/utils/Element/ClDarg.css +1 -0
  145. package/buildLibs/utils/Element/ClDarg.d.ts +3 -0
  146. package/buildLibs/utils/Element/ClDarg.js +1554 -0
  147. package/buildLibs/utils/Element/ClDarg.js.map +1 -0
  148. package/buildLibs/utils/Element/ClEllipsis.cjs +2 -0
  149. package/buildLibs/utils/Element/ClEllipsis.cjs.map +1 -0
  150. package/buildLibs/utils/Element/ClEllipsis.css +1 -0
  151. package/buildLibs/utils/Element/ClEllipsis.d.ts +3 -0
  152. package/buildLibs/utils/Element/ClEllipsis.js +99 -0
  153. package/buildLibs/utils/Element/ClEllipsis.js.map +1 -0
  154. package/buildLibs/utils/Element/ClForm.cjs +2 -0
  155. package/buildLibs/utils/Element/ClForm.cjs.map +1 -0
  156. package/buildLibs/utils/Element/ClForm.css +1 -0
  157. package/buildLibs/utils/Element/ClForm.d.ts +3 -0
  158. package/buildLibs/utils/Element/ClForm.js +139 -0
  159. package/buildLibs/utils/Element/ClForm.js.map +1 -0
  160. package/buildLibs/utils/Element/ClFormGroup.cjs +2 -0
  161. package/buildLibs/utils/Element/ClFormGroup.cjs.map +1 -0
  162. package/buildLibs/utils/Element/ClFormGroup.css +1 -0
  163. package/buildLibs/utils/Element/ClFormGroup.d.ts +3 -0
  164. package/buildLibs/utils/Element/ClFormGroup.js +76 -0
  165. package/buildLibs/utils/Element/ClFormGroup.js.map +1 -0
  166. package/buildLibs/utils/Element/ClFormValidate.d.ts +3 -0
  167. package/buildLibs/utils/Element/ClIconFont.cjs +2 -0
  168. package/buildLibs/utils/Element/ClIconFont.cjs.map +1 -0
  169. package/buildLibs/utils/Element/ClIconFont.d.ts +3 -0
  170. package/buildLibs/utils/Element/ClIconFont.js +5 -0
  171. package/buildLibs/utils/Element/ClIconFont.js.map +1 -0
  172. package/buildLibs/utils/Element/ClImage.cjs +2 -0
  173. package/buildLibs/utils/Element/ClImage.cjs.map +1 -0
  174. package/buildLibs/utils/Element/ClImage.css +1 -0
  175. package/buildLibs/utils/Element/ClImage.d.ts +3 -0
  176. package/buildLibs/utils/Element/ClImage.js +195 -0
  177. package/buildLibs/utils/Element/ClImage.js.map +1 -0
  178. package/buildLibs/utils/Element/ClInput.cjs +2 -0
  179. package/buildLibs/utils/Element/ClInput.cjs.map +1 -0
  180. package/buildLibs/utils/Element/ClInput.d.ts +3 -0
  181. package/buildLibs/utils/Element/ClInput.js +5 -0
  182. package/buildLibs/utils/Element/ClInput.js.map +1 -0
  183. package/buildLibs/utils/Element/ClInputCaptcha.cjs +2 -0
  184. package/buildLibs/utils/Element/ClInputCaptcha.cjs.map +1 -0
  185. package/buildLibs/utils/Element/ClInputCaptcha.css +1 -0
  186. package/buildLibs/utils/Element/ClInputCaptcha.d.ts +3 -0
  187. package/buildLibs/utils/Element/ClInputCaptcha.js +111 -0
  188. package/buildLibs/utils/Element/ClInputCaptcha.js.map +1 -0
  189. package/buildLibs/utils/Element/ClInputNumber.cjs +2 -0
  190. package/buildLibs/utils/Element/ClInputNumber.cjs.map +1 -0
  191. package/buildLibs/utils/Element/ClInputNumber.d.ts +3 -0
  192. package/buildLibs/utils/Element/ClInputNumber.js +5 -0
  193. package/buildLibs/utils/Element/ClInputNumber.js.map +1 -0
  194. package/buildLibs/utils/Element/ClInputSearch.cjs +2 -0
  195. package/buildLibs/utils/Element/ClInputSearch.cjs.map +1 -0
  196. package/buildLibs/utils/Element/ClInputSearch.d.ts +3 -0
  197. package/buildLibs/utils/Element/ClInputSearch.js +5 -0
  198. package/buildLibs/utils/Element/ClInputSearch.js.map +1 -0
  199. package/buildLibs/utils/Element/ClInputTag.css +1 -0
  200. package/buildLibs/utils/Element/ClInputTextarea.cjs +2 -0
  201. package/buildLibs/utils/Element/ClInputTextarea.cjs.map +1 -0
  202. package/buildLibs/utils/Element/ClInputTextarea.d.ts +3 -0
  203. package/buildLibs/utils/Element/ClInputTextarea.js +5 -0
  204. package/buildLibs/utils/Element/ClInputTextarea.js.map +1 -0
  205. package/buildLibs/utils/Element/ClInputnumberButton.d.ts +3 -0
  206. package/buildLibs/utils/Element/ClLink.cjs +2 -0
  207. package/buildLibs/utils/Element/ClLink.cjs.map +1 -0
  208. package/buildLibs/utils/Element/ClLink.d.ts +3 -0
  209. package/buildLibs/utils/Element/ClLink.js +5 -0
  210. package/buildLibs/utils/Element/ClLink.js.map +1 -0
  211. package/buildLibs/utils/Element/ClLoad.cjs +2 -0
  212. package/buildLibs/utils/Element/ClLoad.cjs.map +1 -0
  213. package/buildLibs/utils/Element/ClLoad.d.ts +3 -0
  214. package/buildLibs/utils/Element/ClLoad.js +5 -0
  215. package/buildLibs/utils/Element/ClLoad.js.map +1 -0
  216. package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +3 -0
  217. package/buildLibs/utils/Element/ClLoadIng.d.ts +3 -0
  218. package/buildLibs/utils/Element/ClLoadScreen.cjs +2 -0
  219. package/buildLibs/utils/Element/ClLoadScreen.cjs.map +1 -0
  220. package/buildLibs/utils/Element/ClLoadScreen.d.ts +3 -0
  221. package/buildLibs/utils/Element/ClLoadScreen.js +5 -0
  222. package/buildLibs/utils/Element/ClLoadScreen.js.map +1 -0
  223. package/buildLibs/utils/Element/ClLoadWarp.d.ts +3 -0
  224. package/buildLibs/utils/Element/ClModal.cjs +2 -0
  225. package/buildLibs/utils/Element/ClModal.cjs.map +1 -0
  226. package/buildLibs/utils/Element/ClModal.d.ts +3 -0
  227. package/buildLibs/utils/Element/ClModal.js +5 -0
  228. package/buildLibs/utils/Element/ClModal.js.map +1 -0
  229. package/buildLibs/utils/Element/ClProgress.cjs +2 -0
  230. package/buildLibs/utils/Element/ClProgress.cjs.map +1 -0
  231. package/buildLibs/utils/Element/ClProgress.css +1 -0
  232. package/buildLibs/utils/Element/ClProgress.d.ts +3 -0
  233. package/buildLibs/utils/Element/ClProgress.js +219 -0
  234. package/buildLibs/utils/Element/ClProgress.js.map +1 -0
  235. package/buildLibs/utils/Element/ClRadio.cjs +2 -0
  236. package/buildLibs/utils/Element/ClRadio.cjs.map +1 -0
  237. package/buildLibs/utils/Element/ClRadio.d.ts +3 -0
  238. package/buildLibs/utils/Element/ClRadio.js +176 -0
  239. package/buildLibs/utils/Element/ClRadio.js.map +1 -0
  240. package/buildLibs/utils/Element/ClRadioOne.d.ts +3 -0
  241. package/buildLibs/utils/Element/ClSlider.cjs +2 -0
  242. package/buildLibs/utils/Element/ClSlider.cjs.map +1 -0
  243. package/buildLibs/utils/Element/ClSlider.css +1 -0
  244. package/buildLibs/utils/Element/ClSlider.d.ts +3 -0
  245. package/buildLibs/utils/Element/ClSlider.js +721 -0
  246. package/buildLibs/utils/Element/ClSlider.js.map +1 -0
  247. package/buildLibs/utils/Element/ClSwitchery.cjs +2 -0
  248. package/buildLibs/utils/Element/ClSwitchery.cjs.map +1 -0
  249. package/buildLibs/utils/Element/ClSwitchery.css +1 -0
  250. package/buildLibs/utils/Element/ClSwitchery.d.ts +3 -0
  251. package/buildLibs/utils/Element/ClSwitchery.js +429 -0
  252. package/buildLibs/utils/Element/ClSwitchery.js.map +1 -0
  253. package/buildLibs/utils/Element/ClTags.cjs +2 -0
  254. package/buildLibs/utils/Element/ClTags.cjs.map +1 -0
  255. package/buildLibs/utils/Element/ClTags.d.ts +3 -0
  256. package/buildLibs/utils/Element/ClTags.js +5 -0
  257. package/buildLibs/utils/Element/ClTags.js.map +1 -0
  258. package/buildLibs/utils/Element/ClTransitionSlideupdown.d.ts +3 -0
  259. package/buildLibs/utils/Element/ClWaterfall.cjs +2 -0
  260. package/buildLibs/utils/Element/ClWaterfall.cjs.map +1 -0
  261. package/buildLibs/utils/Element/ClWaterfall.css +1 -0
  262. package/buildLibs/utils/Element/ClWaterfall.d.ts +3 -0
  263. package/buildLibs/utils/Element/ClWaterfall.js +167 -0
  264. package/buildLibs/utils/Element/ClWaterfall.js.map +1 -0
  265. package/buildLibs/utils/Element/ClWaterfallImage.d.ts +3 -0
  266. package/buildLibs/utils/Element/__provide__/Clipboard.cjs +2 -0
  267. package/buildLibs/utils/Element/__provide__/Clipboard.cjs.map +1 -0
  268. package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +2 -0
  269. package/buildLibs/utils/Element/__provide__/Clipboard.js +62 -0
  270. package/buildLibs/utils/Element/__provide__/Clipboard.js.map +1 -0
  271. package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +2 -0
  272. package/buildLibs/utils/Element/__provide__/LoadScreen.cjs.map +1 -0
  273. package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +2 -0
  274. package/buildLibs/utils/Element/__provide__/LoadScreen.js +17 -0
  275. package/buildLibs/utils/Element/__provide__/LoadScreen.js.map +1 -0
  276. package/buildLibs/utils/Element/__provide__/languagePack.cjs +2 -0
  277. package/buildLibs/utils/Element/__provide__/languagePack.cjs.map +1 -0
  278. package/buildLibs/utils/Element/__provide__/languagePack.d.ts +2 -0
  279. package/buildLibs/utils/Element/__provide__/languagePack.js +29 -0
  280. package/buildLibs/utils/Element/__provide__/languagePack.js.map +1 -0
  281. package/buildLibs/utils/Mobile/ClCell.cjs +2 -0
  282. package/buildLibs/utils/Mobile/ClCell.cjs.map +1 -0
  283. package/buildLibs/utils/Mobile/ClCell.css +1 -0
  284. package/buildLibs/utils/Mobile/ClCell.d.ts +3 -0
  285. package/buildLibs/utils/Mobile/ClCell.js +130 -0
  286. package/buildLibs/utils/Mobile/ClCell.js.map +1 -0
  287. package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +2 -0
  288. package/buildLibs/utils/Mobile/ClPullToRefresh.cjs.map +1 -0
  289. package/buildLibs/utils/Mobile/ClPullToRefresh.css +1 -0
  290. package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +3 -0
  291. package/buildLibs/utils/Mobile/ClPullToRefresh.js +195 -0
  292. package/buildLibs/utils/Mobile/ClPullToRefresh.js.map +1 -0
  293. package/buildLibs/utils/Shared/Alert.css +1 -0
  294. package/buildLibs/utils/Shared/Base.css +1 -0
  295. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js +2 -0
  296. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js.map +1 -0
  297. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js +354 -0
  298. package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js.map +1 -0
  299. package/buildLibs/utils/Shared/BaseTransition.css +1 -0
  300. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js +2 -0
  301. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js.map +1 -0
  302. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js +121 -0
  303. package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js.map +1 -0
  304. package/buildLibs/utils/Shared/Highlight.css +1 -0
  305. package/buildLibs/utils/Shared/Index.css +1 -0
  306. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js +233 -0
  307. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js.map +1 -0
  308. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js +75 -0
  309. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js.map +1 -0
  310. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js +2 -0
  311. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js.map +1 -0
  312. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js +2 -0
  313. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js.map +1 -0
  314. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js +2 -0
  315. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js.map +1 -0
  316. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js +143 -0
  317. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js.map +1 -0
  318. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js +2 -0
  319. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js.map +1 -0
  320. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js +24 -0
  321. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js.map +1 -0
  322. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js +1146 -0
  323. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js.map +1 -0
  324. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js +336 -0
  325. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js.map +1 -0
  326. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js +2 -0
  327. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js.map +1 -0
  328. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js +2 -0
  329. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js.map +1 -0
  330. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js +165 -0
  331. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js.map +1 -0
  332. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js +2 -0
  333. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js.map +1 -0
  334. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js +168 -0
  335. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js.map +1 -0
  336. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js +2 -0
  337. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js.map +1 -0
  338. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js +2 -0
  339. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js.map +1 -0
  340. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js +70 -0
  341. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js.map +1 -0
  342. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js +2 -0
  343. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js.map +1 -0
  344. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js +84 -0
  345. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js.map +1 -0
  346. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js +2 -0
  347. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js.map +1 -0
  348. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js +98 -0
  349. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js.map +1 -0
  350. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js +342 -0
  351. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js.map +1 -0
  352. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js +166 -0
  353. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js.map +1 -0
  354. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js +2 -0
  355. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js.map +1 -0
  356. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js +2 -0
  357. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js.map +1 -0
  358. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js +384 -0
  359. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js.map +1 -0
  360. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js +462 -0
  361. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js.map +1 -0
  362. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js +2 -0
  363. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js.map +1 -0
  364. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js +2 -0
  365. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js.map +1 -0
  366. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js +2 -0
  367. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js.map +1 -0
  368. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js +2 -0
  369. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js.map +1 -0
  370. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js +593 -0
  371. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js.map +1 -0
  372. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js +54 -0
  373. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js.map +1 -0
  374. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js +144 -0
  375. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js.map +1 -0
  376. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js +2 -0
  377. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js.map +1 -0
  378. package/buildLibs/utils/Shared/Index10.css +1 -0
  379. package/buildLibs/utils/Shared/Index11.css +1 -0
  380. package/buildLibs/utils/Shared/Index12.css +1 -0
  381. package/buildLibs/utils/Shared/Index13.css +1 -0
  382. package/buildLibs/utils/Shared/Index14.css +1 -0
  383. package/buildLibs/utils/Shared/Index15.css +1 -0
  384. package/buildLibs/utils/Shared/Index16.css +1 -0
  385. package/buildLibs/utils/Shared/Index17.css +1 -0
  386. package/buildLibs/utils/Shared/Index18.css +1 -0
  387. package/buildLibs/utils/Shared/Index19.css +1 -0
  388. package/buildLibs/utils/Shared/Index2.css +1 -0
  389. package/buildLibs/utils/Shared/Index3.css +1 -0
  390. package/buildLibs/utils/Shared/Index4.css +1 -0
  391. package/buildLibs/utils/Shared/Index5.css +1 -0
  392. package/buildLibs/utils/Shared/Index6.css +1 -0
  393. package/buildLibs/utils/Shared/Index7.css +1 -0
  394. package/buildLibs/utils/Shared/Index8.css +1 -0
  395. package/buildLibs/utils/Shared/Index9.css +1 -0
  396. package/buildLibs/utils/Shared/Ing-C_3NkQxd.js +43 -0
  397. package/buildLibs/utils/Shared/Ing-C_3NkQxd.js.map +1 -0
  398. package/buildLibs/utils/Shared/Ing-D_cd5IxY.js +2 -0
  399. package/buildLibs/utils/Shared/Ing-D_cd5IxY.js.map +1 -0
  400. package/buildLibs/utils/Shared/Ing.css +1 -0
  401. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js +2 -0
  402. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js.map +1 -0
  403. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js +141 -0
  404. package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js.map +1 -0
  405. package/buildLibs/utils/Shared/Notify.css +1 -0
  406. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js +87 -0
  407. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js.map +1 -0
  408. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js +2 -0
  409. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js.map +1 -0
  410. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js +109 -0
  411. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js.map +1 -0
  412. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js +2 -0
  413. package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js.map +1 -0
  414. package/buildLibs/utils/Shared/Tooltip.css +1 -0
  415. package/buildLibs/utils/Shared/Waves.css +7 -0
  416. package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js +2 -0
  417. package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js.map +1 -0
  418. package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js +10 -0
  419. package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js.map +1 -0
  420. package/buildLibs/utils/Shared/base-PQGakkrl.js +808 -0
  421. package/buildLibs/utils/Shared/base-PQGakkrl.js.map +1 -0
  422. package/buildLibs/utils/Shared/base-iCmnU-fv.js +2 -0
  423. package/buildLibs/utils/Shared/base-iCmnU-fv.js.map +1 -0
  424. package/buildLibs/utils/Shared/day-Bz9LfelO.js +75 -0
  425. package/buildLibs/utils/Shared/day-Bz9LfelO.js.map +1 -0
  426. package/buildLibs/utils/Shared/day-CvcvgKjb.js +2 -0
  427. package/buildLibs/utils/Shared/day-CvcvgKjb.js.map +1 -0
  428. package/buildLibs/utils/Shared/drag-CzE5R222.js +2 -0
  429. package/buildLibs/utils/Shared/drag-CzE5R222.js.map +1 -0
  430. package/buildLibs/utils/Shared/drag-CzfhSB0g.js +42 -0
  431. package/buildLibs/utils/Shared/drag-CzfhSB0g.js.map +1 -0
  432. package/buildLibs/utils/Shared/index-BnerInzC.js +432 -0
  433. package/buildLibs/utils/Shared/index-BnerInzC.js.map +1 -0
  434. package/buildLibs/utils/Shared/index-C1R9HAvS.js +320 -0
  435. package/buildLibs/utils/Shared/index-C1R9HAvS.js.map +1 -0
  436. package/buildLibs/utils/Shared/index-CVBh8iTg.js +2 -0
  437. package/buildLibs/utils/Shared/index-CVBh8iTg.js.map +1 -0
  438. package/buildLibs/utils/Shared/index-Ul6uY51t.js +3 -0
  439. package/buildLibs/utils/Shared/index-Ul6uY51t.js.map +1 -0
  440. package/buildLibs/utils/Shared/language-D6gRWx8H.js +2 -0
  441. package/buildLibs/utils/Shared/language-D6gRWx8H.js.map +1 -0
  442. package/buildLibs/utils/Shared/language-DxTlvFs2.js +18 -0
  443. package/buildLibs/utils/Shared/language-DxTlvFs2.js.map +1 -0
  444. package/buildLibs/utils/Shared/resize-COkswDOq.js +2 -0
  445. package/buildLibs/utils/Shared/resize-COkswDOq.js.map +1 -0
  446. package/buildLibs/utils/Shared/resize-kOWxHVSP.js +54 -0
  447. package/buildLibs/utils/Shared/resize-kOWxHVSP.js.map +1 -0
  448. package/buildLibs/utils/Shared/vue-virtual-scroller.css +1 -0
  449. package/buildLibs/utils/Web/ClBreadcrumb.cjs +2 -0
  450. package/buildLibs/utils/Web/ClBreadcrumb.cjs.map +1 -0
  451. package/buildLibs/utils/Web/ClBreadcrumb.css +1 -0
  452. package/buildLibs/utils/Web/ClBreadcrumb.d.ts +3 -0
  453. package/buildLibs/utils/Web/ClBreadcrumb.js +82 -0
  454. package/buildLibs/utils/Web/ClBreadcrumb.js.map +1 -0
  455. package/buildLibs/utils/Web/ClCalendar.cjs +2 -0
  456. package/buildLibs/utils/Web/ClCalendar.cjs.map +1 -0
  457. package/buildLibs/utils/Web/ClCalendar.css +1 -0
  458. package/buildLibs/utils/Web/ClCalendar.d.ts +3 -0
  459. package/buildLibs/utils/Web/ClCalendar.js +179 -0
  460. package/buildLibs/utils/Web/ClCalendar.js.map +1 -0
  461. package/buildLibs/utils/Web/ClCard.cjs +2 -0
  462. package/buildLibs/utils/Web/ClCard.cjs.map +1 -0
  463. package/buildLibs/utils/Web/ClCard.d.ts +3 -0
  464. package/buildLibs/utils/Web/ClCard.js +5 -0
  465. package/buildLibs/utils/Web/ClCard.js.map +1 -0
  466. package/buildLibs/utils/Web/ClCardLegend.cjs +2 -0
  467. package/buildLibs/utils/Web/ClCardLegend.cjs.map +1 -0
  468. package/buildLibs/utils/Web/ClCardLegend.css +1 -0
  469. package/buildLibs/utils/Web/ClCardLegend.d.ts +3 -0
  470. package/buildLibs/utils/Web/ClCardLegend.js +128 -0
  471. package/buildLibs/utils/Web/ClCardLegend.js.map +1 -0
  472. package/buildLibs/utils/Web/ClCollapse.cjs +2 -0
  473. package/buildLibs/utils/Web/ClCollapse.cjs.map +1 -0
  474. package/buildLibs/utils/Web/ClCollapse.css +1 -0
  475. package/buildLibs/utils/Web/ClCollapse.d.ts +3 -0
  476. package/buildLibs/utils/Web/ClCollapse.js +111 -0
  477. package/buildLibs/utils/Web/ClCollapse.js.map +1 -0
  478. package/buildLibs/utils/Web/ClColorpicker.cjs +2 -0
  479. package/buildLibs/utils/Web/ClColorpicker.cjs.map +1 -0
  480. package/buildLibs/utils/Web/ClColorpicker.css +1 -0
  481. package/buildLibs/utils/Web/ClColorpicker.d.ts +3 -0
  482. package/buildLibs/utils/Web/ClColorpicker.js +1130 -0
  483. package/buildLibs/utils/Web/ClColorpicker.js.map +1 -0
  484. package/buildLibs/utils/Web/ClCropperPreview.cjs +2 -0
  485. package/buildLibs/utils/Web/ClCropperPreview.cjs.map +1 -0
  486. package/buildLibs/utils/Web/ClCropperPreview.d.ts +3 -0
  487. package/buildLibs/utils/Web/ClCropperPreview.js +175 -0
  488. package/buildLibs/utils/Web/ClCropperPreview.js.map +1 -0
  489. package/buildLibs/utils/Web/ClDatetime.cjs +2 -0
  490. package/buildLibs/utils/Web/ClDatetime.cjs.map +1 -0
  491. package/buildLibs/utils/Web/ClDatetime.css +1 -0
  492. package/buildLibs/utils/Web/ClDatetime.d.ts +3 -0
  493. package/buildLibs/utils/Web/ClDatetime.js +2002 -0
  494. package/buildLibs/utils/Web/ClDatetime.js.map +1 -0
  495. package/buildLibs/utils/Web/ClDropdownmenu.cjs +2 -0
  496. package/buildLibs/utils/Web/ClDropdownmenu.cjs.map +1 -0
  497. package/buildLibs/utils/Web/ClDropdownmenu.css +1 -0
  498. package/buildLibs/utils/Web/ClDropdownmenu.d.ts +3 -0
  499. package/buildLibs/utils/Web/ClDropdownmenu.js +75 -0
  500. package/buildLibs/utils/Web/ClDropdownmenu.js.map +1 -0
  501. package/buildLibs/utils/Web/ClDropdownmenuItem.d.ts +3 -0
  502. package/buildLibs/utils/Web/ClDropdownpopup.cjs +2 -0
  503. package/buildLibs/utils/Web/ClDropdownpopup.cjs.map +1 -0
  504. package/buildLibs/utils/Web/ClDropdownpopup.css +1 -0
  505. package/buildLibs/utils/Web/ClDropdownpopup.d.ts +3 -0
  506. package/buildLibs/utils/Web/ClDropdownpopup.js +89 -0
  507. package/buildLibs/utils/Web/ClDropdownpopup.js.map +1 -0
  508. package/buildLibs/utils/Web/ClEcharts.cjs +2 -0
  509. package/buildLibs/utils/Web/ClEcharts.cjs.map +1 -0
  510. package/buildLibs/utils/Web/ClEcharts.css +1 -0
  511. package/buildLibs/utils/Web/ClEcharts.d.ts +3 -0
  512. package/buildLibs/utils/Web/ClEcharts.js +297 -0
  513. package/buildLibs/utils/Web/ClEcharts.js.map +1 -0
  514. package/buildLibs/utils/Web/ClFileupload.cjs +2 -0
  515. package/buildLibs/utils/Web/ClFileupload.cjs.map +1 -0
  516. package/buildLibs/utils/Web/ClFileupload.d.ts +3 -0
  517. package/buildLibs/utils/Web/ClFileupload.js +5 -0
  518. package/buildLibs/utils/Web/ClFileupload.js.map +1 -0
  519. package/buildLibs/utils/Web/ClInputTag.cjs +6 -0
  520. package/buildLibs/utils/Web/ClInputTag.cjs.map +1 -0
  521. package/buildLibs/utils/Web/ClInputTag.d.ts +3 -0
  522. package/buildLibs/utils/Web/ClInputTag.js +854 -0
  523. package/buildLibs/utils/Web/ClInputTag.js.map +1 -0
  524. package/buildLibs/utils/Web/ClPaginate.cjs +2 -0
  525. package/buildLibs/utils/Web/ClPaginate.cjs.map +1 -0
  526. package/buildLibs/utils/Web/ClPaginate.css +1 -0
  527. package/buildLibs/utils/Web/ClPaginate.d.ts +3 -0
  528. package/buildLibs/utils/Web/ClPaginate.js +167 -0
  529. package/buildLibs/utils/Web/ClPaginate.js.map +1 -0
  530. package/buildLibs/utils/Web/ClPortlet.cjs +2 -0
  531. package/buildLibs/utils/Web/ClPortlet.cjs.map +1 -0
  532. package/buildLibs/utils/Web/ClPortlet.css +1 -0
  533. package/buildLibs/utils/Web/ClPortlet.d.ts +3 -0
  534. package/buildLibs/utils/Web/ClPortlet.js +47 -0
  535. package/buildLibs/utils/Web/ClPortlet.js.map +1 -0
  536. package/buildLibs/utils/Web/ClPreview.cjs +2 -0
  537. package/buildLibs/utils/Web/ClPreview.cjs.map +1 -0
  538. package/buildLibs/utils/Web/ClPreview.js +5 -0
  539. package/buildLibs/utils/Web/ClPreview.js.map +1 -0
  540. package/buildLibs/utils/Web/ClPreviewexample.cjs +2 -0
  541. package/buildLibs/utils/Web/ClPreviewexample.cjs.map +1 -0
  542. package/buildLibs/utils/Web/ClPreviewexample.d.ts +3 -0
  543. package/buildLibs/utils/Web/ClPreviewexample.js +5 -0
  544. package/buildLibs/utils/Web/ClPreviewexample.js.map +1 -0
  545. package/buildLibs/utils/Web/ClScrollXFence.cjs +2 -0
  546. package/buildLibs/utils/Web/ClScrollXFence.cjs.map +1 -0
  547. package/buildLibs/utils/Web/ClScrollXFence.css +1 -0
  548. package/buildLibs/utils/Web/ClScrollXFence.d.ts +3 -0
  549. package/buildLibs/utils/Web/ClScrollXFence.js +107 -0
  550. package/buildLibs/utils/Web/ClScrollXFence.js.map +1 -0
  551. package/buildLibs/utils/Web/ClSelect.cjs +2 -0
  552. package/buildLibs/utils/Web/ClSelect.cjs.map +1 -0
  553. package/buildLibs/utils/Web/ClSelect.d.ts +3 -0
  554. package/buildLibs/utils/Web/ClSelect.js +5 -0
  555. package/buildLibs/utils/Web/ClSelect.js.map +1 -0
  556. package/buildLibs/utils/Web/ClSelectCascade.cjs +2 -0
  557. package/buildLibs/utils/Web/ClSelectCascade.cjs.map +1 -0
  558. package/buildLibs/utils/Web/ClSelectCascade.css +1 -0
  559. package/buildLibs/utils/Web/ClSelectCascade.d.ts +3 -0
  560. package/buildLibs/utils/Web/ClSelectCascade.js +222 -0
  561. package/buildLibs/utils/Web/ClSelectCascade.js.map +1 -0
  562. package/buildLibs/utils/Web/ClSelectTag.cjs +2 -0
  563. package/buildLibs/utils/Web/ClSelectTag.cjs.map +1 -0
  564. package/buildLibs/utils/Web/ClSelectTag.css +1 -0
  565. package/buildLibs/utils/Web/ClSelectTag.d.ts +3 -0
  566. package/buildLibs/utils/Web/ClSelectTag.js +249 -0
  567. package/buildLibs/utils/Web/ClSelectTag.js.map +1 -0
  568. package/buildLibs/utils/Web/ClSelectTree.cjs +2 -0
  569. package/buildLibs/utils/Web/ClSelectTree.cjs.map +1 -0
  570. package/buildLibs/utils/Web/ClSelectTree.css +1 -0
  571. package/buildLibs/utils/Web/ClSelectTree.d.ts +3 -0
  572. package/buildLibs/utils/Web/ClSelectTree.js +190 -0
  573. package/buildLibs/utils/Web/ClSelectTree.js.map +1 -0
  574. package/buildLibs/utils/Web/ClSelectmove.cjs +2 -0
  575. package/buildLibs/utils/Web/ClSelectmove.cjs.map +1 -0
  576. package/buildLibs/utils/Web/ClSelectmove.css +1 -0
  577. package/buildLibs/utils/Web/ClSelectmove.d.ts +3 -0
  578. package/buildLibs/utils/Web/ClSelectmove.js +1090 -0
  579. package/buildLibs/utils/Web/ClSelectmove.js.map +1 -0
  580. package/buildLibs/utils/Web/ClSidemenu.cjs +2 -0
  581. package/buildLibs/utils/Web/ClSidemenu.cjs.map +1 -0
  582. package/buildLibs/utils/Web/ClSidemenu.css +1 -0
  583. package/buildLibs/utils/Web/ClSidemenu.d.ts +3 -0
  584. package/buildLibs/utils/Web/ClSidemenu.js +190 -0
  585. package/buildLibs/utils/Web/ClSidemenu.js.map +1 -0
  586. package/buildLibs/utils/Web/ClTable.cjs +2 -0
  587. package/buildLibs/utils/Web/ClTable.cjs.map +1 -0
  588. package/buildLibs/utils/Web/ClTable.css +1 -0
  589. package/buildLibs/utils/Web/ClTable.d.ts +3 -0
  590. package/buildLibs/utils/Web/ClTable.js +1914 -0
  591. package/buildLibs/utils/Web/ClTable.js.map +1 -0
  592. package/buildLibs/utils/Web/ClTabs.cjs +2 -0
  593. package/buildLibs/utils/Web/ClTabs.cjs.map +1 -0
  594. package/buildLibs/utils/Web/ClTabs.css +1 -0
  595. package/buildLibs/utils/Web/ClTabs.d.ts +3 -0
  596. package/buildLibs/utils/Web/ClTabs.js +276 -0
  597. package/buildLibs/utils/Web/ClTabs.js.map +1 -0
  598. package/buildLibs/utils/Web/ClTree.cjs +2 -0
  599. package/buildLibs/utils/Web/ClTree.cjs.map +1 -0
  600. package/buildLibs/utils/Web/ClTree.css +1 -0
  601. package/buildLibs/utils/Web/ClTree.d.ts +3 -0
  602. package/buildLibs/utils/Web/ClTree.js +416 -0
  603. package/buildLibs/utils/Web/ClTree.js.map +1 -0
  604. package/buildLibs/utils/Web/ClWeekhour.cjs +2 -0
  605. package/buildLibs/utils/Web/ClWeekhour.cjs.map +1 -0
  606. package/buildLibs/utils/Web/ClWeekhour.css +1 -0
  607. package/buildLibs/utils/Web/ClWeekhour.d.ts +3 -0
  608. package/buildLibs/utils/Web/ClWeekhour.js +679 -0
  609. package/buildLibs/utils/Web/ClWeekhour.js.map +1 -0
  610. package/buildLibs/utils/Web/ClXeditable.cjs +2 -0
  611. package/buildLibs/utils/Web/ClXeditable.cjs.map +1 -0
  612. package/buildLibs/utils/Web/ClXeditable.css +1 -0
  613. package/buildLibs/utils/Web/ClXeditable.d.ts +3 -0
  614. package/buildLibs/utils/Web/ClXeditable.js +593 -0
  615. package/buildLibs/utils/Web/ClXeditable.js.map +1 -0
  616. package/buildLibs/utils/Web/__directive__/Highlight.cjs +4 -0
  617. package/buildLibs/utils/Web/__directive__/Highlight.cjs.map +1 -0
  618. package/buildLibs/utils/Web/__directive__/Highlight.d.ts +2 -0
  619. package/buildLibs/utils/Web/__directive__/Highlight.js +3625 -0
  620. package/buildLibs/utils/Web/__directive__/Highlight.js.map +1 -0
  621. package/buildLibs/utils/Web/__directive__/Tooltip.cjs +2 -0
  622. package/buildLibs/utils/Web/__directive__/Tooltip.cjs.map +1 -0
  623. package/buildLibs/utils/Web/__directive__/Tooltip.d.ts +2 -0
  624. package/buildLibs/utils/Web/__directive__/Tooltip.js +356 -0
  625. package/buildLibs/utils/Web/__directive__/Tooltip.js.map +1 -0
  626. package/buildLibs/utils/Web/__directive__/Waves.cjs +9 -0
  627. package/buildLibs/utils/Web/__directive__/Waves.cjs.map +1 -0
  628. package/buildLibs/utils/Web/__directive__/Waves.d.ts +2 -0
  629. package/buildLibs/utils/Web/__directive__/Waves.js +256 -0
  630. package/buildLibs/utils/Web/__directive__/Waves.js.map +1 -0
  631. package/buildLibs/utils/Web/__provide__/Alert.cjs +2 -0
  632. package/buildLibs/utils/Web/__provide__/Alert.cjs.map +1 -0
  633. package/buildLibs/utils/Web/__provide__/Alert.d.ts +2 -0
  634. package/buildLibs/utils/Web/__provide__/Alert.js +236 -0
  635. package/buildLibs/utils/Web/__provide__/Alert.js.map +1 -0
  636. package/buildLibs/utils/Web/__provide__/Notify.cjs +2 -0
  637. package/buildLibs/utils/Web/__provide__/Notify.cjs.map +1 -0
  638. package/buildLibs/utils/Web/__provide__/Notify.d.ts +2 -0
  639. package/buildLibs/utils/Web/__provide__/Notify.js +235 -0
  640. package/buildLibs/utils/Web/__provide__/Notify.js.map +1 -0
  641. package/buildLibs/utils/Web/__provide__/Preview.cjs +2 -0
  642. package/buildLibs/utils/Web/__provide__/Preview.cjs.map +1 -0
  643. package/buildLibs/utils/Web/__provide__/Preview.d.ts +2 -0
  644. package/buildLibs/utils/Web/__provide__/Preview.js +26 -0
  645. package/buildLibs/utils/Web/__provide__/Preview.js.map +1 -0
  646. package/buildLibs/web/index.cjs +97 -0
  647. package/buildLibs/web/index.cjs.map +1 -0
  648. package/buildLibs/web/index.d.ts +81 -0
  649. package/buildLibs/web/index.js +164 -0
  650. package/buildLibs/web/index.js.map +1 -0
  651. package/docs/components/Element/AnchorNav.md +19 -0
  652. package/docs/components/Element/Badge.md +24 -0
  653. package/docs/components/Element/Button.md +45 -0
  654. package/docs/components/Element/Checkbox.md +48 -0
  655. package/docs/components/Element/Clipboard.md +34 -0
  656. package/docs/components/Element/Countup.md +12 -0
  657. package/docs/components/Element/Cropper.md +46 -0
  658. package/docs/components/Element/Darg.md +30 -0
  659. package/docs/components/Element/Ellipsis.md +12 -0
  660. package/docs/components/Element/Form.md +25 -0
  661. package/docs/components/Element/FormGroup.md +29 -0
  662. package/docs/components/Element/IconFont.md +12 -0
  663. package/docs/components/Element/Image.md +18 -0
  664. package/docs/components/Element/Input.md +65 -0
  665. package/docs/components/Element/InputCaptcha.md +27 -0
  666. package/docs/components/Element/InputNumber.md +51 -0
  667. package/docs/components/Element/InputSearch.md +43 -0
  668. package/docs/components/Element/InputTextarea.md +52 -0
  669. package/docs/components/Element/Link.md +41 -0
  670. package/docs/components/Element/Load.md +20 -0
  671. package/docs/components/Element/LoadScreen.md +19 -0
  672. package/docs/components/Element/Modal.md +51 -0
  673. package/docs/components/Element/Progress.md +28 -0
  674. package/docs/components/Element/Radio.md +41 -0
  675. package/docs/components/Element/Slider.md +33 -0
  676. package/docs/components/Element/Switchery.md +42 -0
  677. package/docs/components/Element/Tags.md +39 -0
  678. package/docs/components/Element/Waterfall.md +36 -0
  679. package/docs/components/Mobile/Cell.md +49 -0
  680. package/docs/components/Mobile/PullToRefresh.md +52 -0
  681. package/docs/components/Web/Breadcrumb.md +26 -0
  682. package/docs/components/Web/Calendar.md +34 -0
  683. package/docs/components/Web/Card.md +22 -0
  684. package/docs/components/Web/CardLegend.md +20 -0
  685. package/docs/components/Web/Collapse.md +26 -0
  686. package/docs/components/Web/Colorpicker.md +41 -0
  687. package/docs/components/Web/CropperPreview.md +43 -0
  688. package/docs/components/Web/Datetime.md +52 -0
  689. package/docs/components/Web/Dropdownmenu.md +33 -0
  690. package/docs/components/Web/Dropdownpopup.md +47 -0
  691. package/docs/components/Web/Echarts.md +43 -0
  692. package/docs/components/Web/Fileupload.md +60 -0
  693. package/docs/components/Web/InputTag.md +56 -0
  694. package/docs/components/Web/Paginate.md +30 -0
  695. package/docs/components/Web/Portlet.md +27 -0
  696. package/docs/components/Web/Preview.md +19 -0
  697. package/docs/components/Web/Previewexample.md +39 -0
  698. package/docs/components/Web/ScrollXFence.md +38 -0
  699. package/docs/components/Web/Select.md +56 -0
  700. package/docs/components/Web/SelectCascade.md +37 -0
  701. package/docs/components/Web/SelectTag.md +43 -0
  702. package/docs/components/Web/SelectTree.md +44 -0
  703. package/docs/components/Web/Selectmove.md +58 -0
  704. package/docs/components/Web/Sidemenu.md +25 -0
  705. package/docs/components/Web/Table.md +78 -0
  706. package/docs/components/Web/Tabs.md +47 -0
  707. package/docs/components/Web/Tree.md +44 -0
  708. package/docs/components/Web/Weekhour.md +29 -0
  709. package/docs/components/Web/Xeditable.md +52 -0
  710. package/docs/tools/CommonAxios.md +17 -0
  711. package/docs/tools/CommonBase.md +79 -0
  712. package/docs/tools/CommonDay.md +18 -0
  713. package/docs/tools/CommonEchart.md +19 -0
  714. package/docs/tools/CommonElement.md +42 -0
  715. package/docs/tools/CommonElementEvent.md +30 -0
  716. package/docs/tools/CommonI18n.md +18 -0
  717. package/docs/tools/CommonPromise.md +16 -0
  718. package/docs/tools/CommonTools.md +43 -0
  719. package/docs/tools/CommonTooltip.md +38 -0
  720. package/package.json +123 -0
@@ -0,0 +1,3625 @@
1
+ function it(r) {
2
+ return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
3
+ }
4
+ var Ue, nn;
5
+ function rt() {
6
+ if (nn) return Ue;
7
+ nn = 1;
8
+ function r(e) {
9
+ return e instanceof Map ? e.clear = e.delete = e.set = function() {
10
+ throw new Error("map is read-only");
11
+ } : e instanceof Set && (e.add = e.clear = e.delete = function() {
12
+ throw new Error("set is read-only");
13
+ }), Object.freeze(e), Object.getOwnPropertyNames(e).forEach((n) => {
14
+ const i = e[n], f = typeof i;
15
+ (f === "object" || f === "function") && !Object.isFrozen(i) && r(i);
16
+ }), e;
17
+ }
18
+ class g {
19
+ /**
20
+ * @param {CompiledMode} mode
21
+ */
22
+ constructor(n) {
23
+ n.data === void 0 && (n.data = {}), this.data = n.data, this.isMatchIgnored = !1;
24
+ }
25
+ ignoreMatch() {
26
+ this.isMatchIgnored = !0;
27
+ }
28
+ }
29
+ function p(e) {
30
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
31
+ }
32
+ function u(e, ...n) {
33
+ const i = /* @__PURE__ */ Object.create(null);
34
+ for (const f in e)
35
+ i[f] = e[f];
36
+ return n.forEach(function(f) {
37
+ for (const A in f)
38
+ i[A] = f[A];
39
+ }), /** @type {T} */
40
+ i;
41
+ }
42
+ const C = "</span>", B = (e) => !!e.scope, w = (e, { prefix: n }) => {
43
+ if (e.startsWith("language:"))
44
+ return e.replace("language:", "language-");
45
+ if (e.includes(".")) {
46
+ const i = e.split(".");
47
+ return [
48
+ `${n}${i.shift()}`,
49
+ ...i.map((f, A) => `${f}${"_".repeat(A + 1)}`)
50
+ ].join(" ");
51
+ }
52
+ return `${n}${e}`;
53
+ };
54
+ class S {
55
+ /**
56
+ * Creates a new HTMLRenderer
57
+ *
58
+ * @param {Tree} parseTree - the parse tree (must support `walk` API)
59
+ * @param {{classPrefix: string}} options
60
+ */
61
+ constructor(n, i) {
62
+ this.buffer = "", this.classPrefix = i.classPrefix, n.walk(this);
63
+ }
64
+ /**
65
+ * Adds texts to the output stream
66
+ *
67
+ * @param {string} text */
68
+ addText(n) {
69
+ this.buffer += p(n);
70
+ }
71
+ /**
72
+ * Adds a node open to the output stream (if needed)
73
+ *
74
+ * @param {Node} node */
75
+ openNode(n) {
76
+ if (!B(n)) return;
77
+ const i = w(
78
+ n.scope,
79
+ { prefix: this.classPrefix }
80
+ );
81
+ this.span(i);
82
+ }
83
+ /**
84
+ * Adds a node close to the output stream (if needed)
85
+ *
86
+ * @param {Node} node */
87
+ closeNode(n) {
88
+ B(n) && (this.buffer += C);
89
+ }
90
+ /**
91
+ * returns the accumulated buffer
92
+ */
93
+ value() {
94
+ return this.buffer;
95
+ }
96
+ // helpers
97
+ /**
98
+ * Builds a span element
99
+ *
100
+ * @param {string} className */
101
+ span(n) {
102
+ this.buffer += `<span class="${n}">`;
103
+ }
104
+ }
105
+ const P = (e = {}) => {
106
+ const n = { children: [] };
107
+ return Object.assign(n, e), n;
108
+ };
109
+ class M {
110
+ constructor() {
111
+ this.rootNode = P(), this.stack = [this.rootNode];
112
+ }
113
+ get top() {
114
+ return this.stack[this.stack.length - 1];
115
+ }
116
+ get root() {
117
+ return this.rootNode;
118
+ }
119
+ /** @param {Node} node */
120
+ add(n) {
121
+ this.top.children.push(n);
122
+ }
123
+ /** @param {string} scope */
124
+ openNode(n) {
125
+ const i = P({ scope: n });
126
+ this.add(i), this.stack.push(i);
127
+ }
128
+ closeNode() {
129
+ if (this.stack.length > 1)
130
+ return this.stack.pop();
131
+ }
132
+ closeAllNodes() {
133
+ for (; this.closeNode(); ) ;
134
+ }
135
+ toJSON() {
136
+ return JSON.stringify(this.rootNode, null, 4);
137
+ }
138
+ /**
139
+ * @typedef { import("./html_renderer").Renderer } Renderer
140
+ * @param {Renderer} builder
141
+ */
142
+ walk(n) {
143
+ return this.constructor._walk(n, this.rootNode);
144
+ }
145
+ /**
146
+ * @param {Renderer} builder
147
+ * @param {Node} node
148
+ */
149
+ static _walk(n, i) {
150
+ return typeof i == "string" ? n.addText(i) : i.children && (n.openNode(i), i.children.forEach((f) => this._walk(n, f)), n.closeNode(i)), n;
151
+ }
152
+ /**
153
+ * @param {Node} node
154
+ */
155
+ static _collapse(n) {
156
+ typeof n != "string" && n.children && (n.children.every((i) => typeof i == "string") ? n.children = [n.children.join("")] : n.children.forEach((i) => {
157
+ M._collapse(i);
158
+ }));
159
+ }
160
+ }
161
+ class W extends M {
162
+ /**
163
+ * @param {*} options
164
+ */
165
+ constructor(n) {
166
+ super(), this.options = n;
167
+ }
168
+ /**
169
+ * @param {string} text
170
+ */
171
+ addText(n) {
172
+ n !== "" && this.add(n);
173
+ }
174
+ /** @param {string} scope */
175
+ startScope(n) {
176
+ this.openNode(n);
177
+ }
178
+ endScope() {
179
+ this.closeNode();
180
+ }
181
+ /**
182
+ * @param {Emitter & {root: DataNode}} emitter
183
+ * @param {string} name
184
+ */
185
+ __addSublanguage(n, i) {
186
+ const f = n.root;
187
+ i && (f.scope = `language:${i}`), this.add(f);
188
+ }
189
+ toHTML() {
190
+ return new S(this, this.options).value();
191
+ }
192
+ finalize() {
193
+ return this.closeAllNodes(), !0;
194
+ }
195
+ }
196
+ function U(e) {
197
+ return e ? typeof e == "string" ? e : e.source : null;
198
+ }
199
+ function O(e) {
200
+ return x("(?=", e, ")");
201
+ }
202
+ function X(e) {
203
+ return x("(?:", e, ")*");
204
+ }
205
+ function q(e) {
206
+ return x("(?:", e, ")?");
207
+ }
208
+ function x(...e) {
209
+ return e.map((i) => U(i)).join("");
210
+ }
211
+ function J(e) {
212
+ const n = e[e.length - 1];
213
+ return typeof n == "object" && n.constructor === Object ? (e.splice(e.length - 1, 1), n) : {};
214
+ }
215
+ function se(...e) {
216
+ return "(" + (J(e).capture ? "" : "?:") + e.map((f) => U(f)).join("|") + ")";
217
+ }
218
+ function $(e) {
219
+ return new RegExp(e.toString() + "|").exec("").length - 1;
220
+ }
221
+ function V(e, n) {
222
+ const i = e && e.exec(n);
223
+ return i && i.index === 0;
224
+ }
225
+ const ae = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
226
+ function F(e, { joinWith: n }) {
227
+ let i = 0;
228
+ return e.map((f) => {
229
+ i += 1;
230
+ const A = i;
231
+ let T = U(f), o = "";
232
+ for (; T.length > 0; ) {
233
+ const a = ae.exec(T);
234
+ if (!a) {
235
+ o += T;
236
+ break;
237
+ }
238
+ o += T.substring(0, a.index), T = T.substring(a.index + a[0].length), a[0][0] === "\\" && a[1] ? o += "\\" + String(Number(a[1]) + A) : (o += a[0], a[0] === "(" && i++);
239
+ }
240
+ return o;
241
+ }).map((f) => `(${f})`).join(n);
242
+ }
243
+ const z = /\b\B/, de = "[a-zA-Z]\\w*", Q = "[a-zA-Z_]\\w*", ge = "\\b\\d+(\\.\\d+)?", fe = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", be = "\\b(0b[01]+)", Ee = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", me = (e = {}) => {
244
+ const n = /^#![ ]*\//;
245
+ return e.binary && (e.begin = x(
246
+ n,
247
+ /.*\b/,
248
+ e.binary,
249
+ /\b.*/
250
+ )), u({
251
+ scope: "meta",
252
+ begin: n,
253
+ end: /$/,
254
+ relevance: 0,
255
+ /** @type {ModeCallback} */
256
+ "on:begin": (i, f) => {
257
+ i.index !== 0 && f.ignoreMatch();
258
+ }
259
+ }, e);
260
+ }, ee = {
261
+ begin: "\\\\[\\s\\S]",
262
+ relevance: 0
263
+ }, _e = {
264
+ scope: "string",
265
+ begin: "'",
266
+ end: "'",
267
+ illegal: "\\n",
268
+ contains: [ee]
269
+ }, oe = {
270
+ scope: "string",
271
+ begin: '"',
272
+ end: '"',
273
+ illegal: "\\n",
274
+ contains: [ee]
275
+ }, ye = {
276
+ 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/
277
+ }, m = function(e, n, i = {}) {
278
+ const f = u(
279
+ {
280
+ scope: "comment",
281
+ begin: e,
282
+ end: n,
283
+ contains: []
284
+ },
285
+ i
286
+ );
287
+ f.contains.push({
288
+ scope: "doctag",
289
+ // hack to avoid the space from being included. the space is necessary to
290
+ // match here to prevent the plain text rule below from gobbling up doctags
291
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
292
+ end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,
293
+ excludeBegin: !0,
294
+ relevance: 0
295
+ });
296
+ const A = se(
297
+ // list of common 1 and 2 letter words in English
298
+ "I",
299
+ "a",
300
+ "is",
301
+ "so",
302
+ "us",
303
+ "to",
304
+ "at",
305
+ "if",
306
+ "in",
307
+ "it",
308
+ "on",
309
+ // note: this is not an exhaustive list of contractions, just popular ones
310
+ /[A-Za-z]+['](d|ve|re|ll|t|s|n)/,
311
+ // contractions - can't we'd they're let's, etc
312
+ /[A-Za-z]+[-][a-z]+/,
313
+ // `no-way`, etc.
314
+ /[A-Za-z][a-z]{2,}/
315
+ // allow capitalized words at beginning of sentences
316
+ );
317
+ return f.contains.push(
318
+ {
319
+ // TODO: how to include ", (, ) without breaking grammars that use these for
320
+ // comment delimiters?
321
+ // begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/
322
+ // ---
323
+ // this tries to find sequences of 3 english words in a row (without any
324
+ // "programming" type syntax) this gives us a strong signal that we've
325
+ // TRULY found a comment - vs perhaps scanning with the wrong language.
326
+ // It's possible to find something that LOOKS like the start of the
327
+ // comment - but then if there is no readable text - good chance it is a
328
+ // false match and not a comment.
329
+ //
330
+ // for a visual example please see:
331
+ // https://github.com/highlightjs/highlight.js/issues/2827
332
+ begin: x(
333
+ /[ ]+/,
334
+ // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
335
+ "(",
336
+ A,
337
+ /[.]?[:]?([.][ ]|[ ])/,
338
+ "){3}"
339
+ )
340
+ // look for 3 words in a row
341
+ }
342
+ ), f;
343
+ }, D = m("//", "$"), G = m("/\\*", "\\*/"), Z = m("#", "$"), ne = {
344
+ scope: "number",
345
+ begin: ge,
346
+ relevance: 0
347
+ }, ce = {
348
+ scope: "number",
349
+ begin: fe,
350
+ relevance: 0
351
+ }, bn = {
352
+ scope: "number",
353
+ begin: be,
354
+ relevance: 0
355
+ }, pn = {
356
+ scope: "regexp",
357
+ begin: /\/(?=[^/\n]*\/)/,
358
+ end: /\/[gimuy]*/,
359
+ contains: [
360
+ ee,
361
+ {
362
+ begin: /\[/,
363
+ end: /\]/,
364
+ relevance: 0,
365
+ contains: [ee]
366
+ }
367
+ ]
368
+ }, hn = {
369
+ scope: "title",
370
+ begin: de,
371
+ relevance: 0
372
+ }, En = {
373
+ scope: "title",
374
+ begin: Q,
375
+ relevance: 0
376
+ }, mn = {
377
+ // excludes method names from keyword processing
378
+ begin: "\\.\\s*" + Q,
379
+ relevance: 0
380
+ };
381
+ var Ae = /* @__PURE__ */ Object.freeze({
382
+ __proto__: null,
383
+ APOS_STRING_MODE: _e,
384
+ BACKSLASH_ESCAPE: ee,
385
+ BINARY_NUMBER_MODE: bn,
386
+ BINARY_NUMBER_RE: be,
387
+ COMMENT: m,
388
+ C_BLOCK_COMMENT_MODE: G,
389
+ C_LINE_COMMENT_MODE: D,
390
+ C_NUMBER_MODE: ce,
391
+ C_NUMBER_RE: fe,
392
+ END_SAME_AS_BEGIN: function(e) {
393
+ return Object.assign(
394
+ e,
395
+ {
396
+ /** @type {ModeCallback} */
397
+ "on:begin": (n, i) => {
398
+ i.data._beginMatch = n[1];
399
+ },
400
+ /** @type {ModeCallback} */
401
+ "on:end": (n, i) => {
402
+ i.data._beginMatch !== n[1] && i.ignoreMatch();
403
+ }
404
+ }
405
+ );
406
+ },
407
+ HASH_COMMENT_MODE: Z,
408
+ IDENT_RE: de,
409
+ MATCH_NOTHING_RE: z,
410
+ METHOD_GUARD: mn,
411
+ NUMBER_MODE: ne,
412
+ NUMBER_RE: ge,
413
+ PHRASAL_WORDS_MODE: ye,
414
+ QUOTE_STRING_MODE: oe,
415
+ REGEXP_MODE: pn,
416
+ RE_STARTERS_RE: Ee,
417
+ SHEBANG: me,
418
+ TITLE_MODE: hn,
419
+ UNDERSCORE_IDENT_RE: Q,
420
+ UNDERSCORE_TITLE_MODE: En
421
+ });
422
+ function _n(e, n) {
423
+ e.input[e.index - 1] === "." && n.ignoreMatch();
424
+ }
425
+ function yn(e, n) {
426
+ e.className !== void 0 && (e.scope = e.className, delete e.className);
427
+ }
428
+ function Nn(e, n) {
429
+ n && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = _n, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
430
+ }
431
+ function Sn(e, n) {
432
+ Array.isArray(e.illegal) && (e.illegal = se(...e.illegal));
433
+ }
434
+ function An(e, n) {
435
+ if (e.match) {
436
+ if (e.begin || e.end) throw new Error("begin & end are not supported with match");
437
+ e.begin = e.match, delete e.match;
438
+ }
439
+ }
440
+ function Tn(e, n) {
441
+ e.relevance === void 0 && (e.relevance = 1);
442
+ }
443
+ const wn = (e, n) => {
444
+ if (!e.beforeMatch) return;
445
+ if (e.starts) throw new Error("beforeMatch cannot be used with starts");
446
+ const i = Object.assign({}, e);
447
+ Object.keys(e).forEach((f) => {
448
+ delete e[f];
449
+ }), e.keywords = i.keywords, e.begin = x(i.beforeMatch, O(i.begin)), e.starts = {
450
+ relevance: 0,
451
+ contains: [
452
+ Object.assign(i, { endsParent: !0 })
453
+ ]
454
+ }, e.relevance = 0, delete i.beforeMatch;
455
+ }, xn = [
456
+ "of",
457
+ "and",
458
+ "for",
459
+ "in",
460
+ "not",
461
+ "or",
462
+ "if",
463
+ "then",
464
+ "parent",
465
+ // common variable name
466
+ "list",
467
+ // common variable name
468
+ "value"
469
+ // common variable name
470
+ ], Rn = "keyword";
471
+ function $e(e, n, i = Rn) {
472
+ const f = /* @__PURE__ */ Object.create(null);
473
+ return typeof e == "string" ? A(i, e.split(" ")) : Array.isArray(e) ? A(i, e) : Object.keys(e).forEach(function(T) {
474
+ Object.assign(
475
+ f,
476
+ $e(e[T], n, T)
477
+ );
478
+ }), f;
479
+ function A(T, o) {
480
+ n && (o = o.map((a) => a.toLowerCase())), o.forEach(function(a) {
481
+ const d = a.split("|");
482
+ f[d[0]] = [T, Mn(d[0], d[1])];
483
+ });
484
+ }
485
+ }
486
+ function Mn(e, n) {
487
+ return n ? Number(n) : On(e) ? 0 : 1;
488
+ }
489
+ function On(e) {
490
+ return xn.includes(e.toLowerCase());
491
+ }
492
+ const ze = {}, le = (e) => {
493
+ console.error(e);
494
+ }, Ge = (e, ...n) => {
495
+ console.log(`WARN: ${e}`, ...n);
496
+ }, pe = (e, n) => {
497
+ ze[`${e}/${n}`] || (console.log(`Deprecated as of ${e}. ${n}`), ze[`${e}/${n}`] = !0);
498
+ }, Te = new Error();
499
+ function He(e, n, { key: i }) {
500
+ let f = 0;
501
+ const A = e[i], T = {}, o = {};
502
+ for (let a = 1; a <= n.length; a++)
503
+ o[a + f] = A[a], T[a + f] = !0, f += $(n[a - 1]);
504
+ e[i] = o, e[i]._emit = T, e[i]._multi = !0;
505
+ }
506
+ function kn(e) {
507
+ if (Array.isArray(e.begin)) {
508
+ if (e.skip || e.excludeBegin || e.returnBegin)
509
+ throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Te;
510
+ if (typeof e.beginScope != "object" || e.beginScope === null)
511
+ throw le("beginScope must be object"), Te;
512
+ He(e, e.begin, { key: "beginScope" }), e.begin = F(e.begin, { joinWith: "" });
513
+ }
514
+ }
515
+ function vn(e) {
516
+ if (Array.isArray(e.end)) {
517
+ if (e.skip || e.excludeEnd || e.returnEnd)
518
+ throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Te;
519
+ if (typeof e.endScope != "object" || e.endScope === null)
520
+ throw le("endScope must be object"), Te;
521
+ He(e, e.end, { key: "endScope" }), e.end = F(e.end, { joinWith: "" });
522
+ }
523
+ }
524
+ function In(e) {
525
+ e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
526
+ }
527
+ function Cn(e) {
528
+ In(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), kn(e), vn(e);
529
+ }
530
+ function Ln(e) {
531
+ function n(o, a) {
532
+ return new RegExp(
533
+ U(o),
534
+ "m" + (e.case_insensitive ? "i" : "") + (e.unicodeRegex ? "u" : "") + (a ? "g" : "")
535
+ );
536
+ }
537
+ class i {
538
+ constructor() {
539
+ this.matchIndexes = {}, this.regexes = [], this.matchAt = 1, this.position = 0;
540
+ }
541
+ // @ts-ignore
542
+ addRule(a, d) {
543
+ d.position = this.position++, this.matchIndexes[this.matchAt] = d, this.regexes.push([d, a]), this.matchAt += $(a) + 1;
544
+ }
545
+ compile() {
546
+ this.regexes.length === 0 && (this.exec = () => null);
547
+ const a = this.regexes.map((d) => d[1]);
548
+ this.matcherRe = n(F(a, { joinWith: "|" }), !0), this.lastIndex = 0;
549
+ }
550
+ /** @param {string} s */
551
+ exec(a) {
552
+ this.matcherRe.lastIndex = this.lastIndex;
553
+ const d = this.matcherRe.exec(a);
554
+ if (!d)
555
+ return null;
556
+ const v = d.findIndex((Ne, Ie) => Ie > 0 && Ne !== void 0), R = this.matchIndexes[v];
557
+ return d.splice(0, v), Object.assign(d, R);
558
+ }
559
+ }
560
+ class f {
561
+ constructor() {
562
+ this.rules = [], this.multiRegexes = [], this.count = 0, this.lastIndex = 0, this.regexIndex = 0;
563
+ }
564
+ // @ts-ignore
565
+ getMatcher(a) {
566
+ if (this.multiRegexes[a]) return this.multiRegexes[a];
567
+ const d = new i();
568
+ return this.rules.slice(a).forEach(([v, R]) => d.addRule(v, R)), d.compile(), this.multiRegexes[a] = d, d;
569
+ }
570
+ resumingScanAtSamePosition() {
571
+ return this.regexIndex !== 0;
572
+ }
573
+ considerAll() {
574
+ this.regexIndex = 0;
575
+ }
576
+ // @ts-ignore
577
+ addRule(a, d) {
578
+ this.rules.push([a, d]), d.type === "begin" && this.count++;
579
+ }
580
+ /** @param {string} s */
581
+ exec(a) {
582
+ const d = this.getMatcher(this.regexIndex);
583
+ d.lastIndex = this.lastIndex;
584
+ let v = d.exec(a);
585
+ if (this.resumingScanAtSamePosition() && !(v && v.index === this.lastIndex)) {
586
+ const R = this.getMatcher(0);
587
+ R.lastIndex = this.lastIndex + 1, v = R.exec(a);
588
+ }
589
+ return v && (this.regexIndex += v.position + 1, this.regexIndex === this.count && this.considerAll()), v;
590
+ }
591
+ }
592
+ function A(o) {
593
+ const a = new f();
594
+ return o.contains.forEach((d) => a.addRule(d.begin, { rule: d, type: "begin" })), o.terminatorEnd && a.addRule(o.terminatorEnd, { type: "end" }), o.illegal && a.addRule(o.illegal, { type: "illegal" }), a;
595
+ }
596
+ function T(o, a) {
597
+ const d = (
598
+ /** @type CompiledMode */
599
+ o
600
+ );
601
+ if (o.isCompiled) return d;
602
+ [
603
+ yn,
604
+ // do this early so compiler extensions generally don't have to worry about
605
+ // the distinction between match/begin
606
+ An,
607
+ Cn,
608
+ wn
609
+ ].forEach((R) => R(o, a)), e.compilerExtensions.forEach((R) => R(o, a)), o.__beforeBegin = null, [
610
+ Nn,
611
+ // do this later so compiler extensions that come earlier have access to the
612
+ // raw array if they wanted to perhaps manipulate it, etc.
613
+ Sn,
614
+ // default to 1 relevance if not specified
615
+ Tn
616
+ ].forEach((R) => R(o, a)), o.isCompiled = !0;
617
+ let v = null;
618
+ return typeof o.keywords == "object" && o.keywords.$pattern && (o.keywords = Object.assign({}, o.keywords), v = o.keywords.$pattern, delete o.keywords.$pattern), v = v || /\w+/, o.keywords && (o.keywords = $e(o.keywords, e.case_insensitive)), d.keywordPatternRe = n(v, !0), a && (o.begin || (o.begin = /\B|\b/), d.beginRe = n(d.begin), !o.end && !o.endsWithParent && (o.end = /\B|\b/), o.end && (d.endRe = n(d.end)), d.terminatorEnd = U(d.end) || "", o.endsWithParent && a.terminatorEnd && (d.terminatorEnd += (o.end ? "|" : "") + a.terminatorEnd)), o.illegal && (d.illegalRe = n(
619
+ /** @type {RegExp | string} */
620
+ o.illegal
621
+ )), o.contains || (o.contains = []), o.contains = [].concat(...o.contains.map(function(R) {
622
+ return Dn(R === "self" ? o : R);
623
+ })), o.contains.forEach(function(R) {
624
+ T(
625
+ /** @type Mode */
626
+ R,
627
+ d
628
+ );
629
+ }), o.starts && T(o.starts, a), d.matcher = A(d), d;
630
+ }
631
+ if (e.compilerExtensions || (e.compilerExtensions = []), e.contains && e.contains.includes("self"))
632
+ throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
633
+ return e.classNameAliases = u(e.classNameAliases || {}), T(
634
+ /** @type Mode */
635
+ e
636
+ );
637
+ }
638
+ function Fe(e) {
639
+ return e ? e.endsWithParent || Fe(e.starts) : !1;
640
+ }
641
+ function Dn(e) {
642
+ return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(n) {
643
+ return u(e, { variants: null }, n);
644
+ })), e.cachedVariants ? e.cachedVariants : Fe(e) ? u(e, { starts: e.starts ? u(e.starts) : null }) : Object.isFrozen(e) ? u(e) : e;
645
+ }
646
+ var Bn = "11.11.1";
647
+ class Pn extends Error {
648
+ constructor(n, i) {
649
+ super(n), this.name = "HTMLInjectionError", this.html = i;
650
+ }
651
+ }
652
+ const ve = p, Ze = u, Ke = Symbol("nomatch"), Un = 7, We = function(e) {
653
+ const n = /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ Object.create(null), f = [];
654
+ let A = !0;
655
+ const T = "Could not find the language '{}', did you forget to load/include a language module?", o = { disableAutodetect: !0, name: "Plain text", contains: [] };
656
+ let a = {
657
+ ignoreUnescapedHTML: !1,
658
+ throwUnescapedHTML: !1,
659
+ noHighlightRe: /^(no-?highlight)$/i,
660
+ languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
661
+ classPrefix: "hljs-",
662
+ cssSelector: "pre code",
663
+ languages: null,
664
+ // beta configuration options, subject to change, welcome to discuss
665
+ // https://github.com/highlightjs/highlight.js/issues/1086
666
+ __emitter: W
667
+ };
668
+ function d(t) {
669
+ return a.noHighlightRe.test(t);
670
+ }
671
+ function v(t) {
672
+ let l = t.className + " ";
673
+ l += t.parentNode ? t.parentNode.className : "";
674
+ const E = a.languageDetectRe.exec(l);
675
+ if (E) {
676
+ const y = ie(E[1]);
677
+ return y || (Ge(T.replace("{}", E[1])), Ge("Falling back to no-highlight mode for this block.", t)), y ? E[1] : "no-highlight";
678
+ }
679
+ return l.split(/\s+/).find((y) => d(y) || ie(y));
680
+ }
681
+ function R(t, l, E) {
682
+ let y = "", k = "";
683
+ typeof l == "object" ? (y = t, E = l.ignoreIllegals, k = l.language) : (pe("10.7.0", "highlight(lang, code, ...args) has been deprecated."), pe("10.7.0", `Please use highlight(code, options) instead.
684
+ https://github.com/highlightjs/highlight.js/issues/2277`), k = t, y = l), E === void 0 && (E = !0);
685
+ const K = {
686
+ code: y,
687
+ language: k
688
+ };
689
+ xe("before:highlight", K);
690
+ const re = K.result ? K.result : Ne(K.language, K.code, E);
691
+ return re.code = K.code, xe("after:highlight", re), re;
692
+ }
693
+ function Ne(t, l, E, y) {
694
+ const k = /* @__PURE__ */ Object.create(null);
695
+ function K(s, c) {
696
+ return s.keywords[c];
697
+ }
698
+ function re() {
699
+ if (!b.keywords) {
700
+ I.addText(N);
701
+ return;
702
+ }
703
+ let s = 0;
704
+ b.keywordPatternRe.lastIndex = 0;
705
+ let c = b.keywordPatternRe.exec(N), h = "";
706
+ for (; c; ) {
707
+ h += N.substring(s, c.index);
708
+ const _ = Y.case_insensitive ? c[0].toLowerCase() : c[0], L = K(b, _);
709
+ if (L) {
710
+ const [te, nt] = L;
711
+ if (I.addText(h), h = "", k[_] = (k[_] || 0) + 1, k[_] <= Un && (Oe += nt), te.startsWith("_"))
712
+ h += c[0];
713
+ else {
714
+ const tt = Y.classNameAliases[te] || te;
715
+ j(c[0], tt);
716
+ }
717
+ } else
718
+ h += c[0];
719
+ s = b.keywordPatternRe.lastIndex, c = b.keywordPatternRe.exec(N);
720
+ }
721
+ h += N.substring(s), I.addText(h);
722
+ }
723
+ function Re() {
724
+ if (N === "") return;
725
+ let s = null;
726
+ if (typeof b.subLanguage == "string") {
727
+ if (!n[b.subLanguage]) {
728
+ I.addText(N);
729
+ return;
730
+ }
731
+ s = Ne(b.subLanguage, N, !0, en[b.subLanguage]), en[b.subLanguage] = /** @type {CompiledMode} */
732
+ s._top;
733
+ } else
734
+ s = Ce(N, b.subLanguage.length ? b.subLanguage : null);
735
+ b.relevance > 0 && (Oe += s.relevance), I.__addSublanguage(s._emitter, s.language);
736
+ }
737
+ function H() {
738
+ b.subLanguage != null ? Re() : re(), N = "";
739
+ }
740
+ function j(s, c) {
741
+ s !== "" && (I.startScope(c), I.addText(s), I.endScope());
742
+ }
743
+ function qe(s, c) {
744
+ let h = 1;
745
+ const _ = c.length - 1;
746
+ for (; h <= _; ) {
747
+ if (!s._emit[h]) {
748
+ h++;
749
+ continue;
750
+ }
751
+ const L = Y.classNameAliases[s[h]] || s[h], te = c[h];
752
+ L ? j(te, L) : (N = te, re(), N = ""), h++;
753
+ }
754
+ }
755
+ function Je(s, c) {
756
+ return s.scope && typeof s.scope == "string" && I.openNode(Y.classNameAliases[s.scope] || s.scope), s.beginScope && (s.beginScope._wrap ? (j(N, Y.classNameAliases[s.beginScope._wrap] || s.beginScope._wrap), N = "") : s.beginScope._multi && (qe(s.beginScope, c), N = "")), b = Object.create(s, { parent: { value: b } }), b;
757
+ }
758
+ function Ve(s, c, h) {
759
+ let _ = V(s.endRe, h);
760
+ if (_) {
761
+ if (s["on:end"]) {
762
+ const L = new g(s);
763
+ s["on:end"](c, L), L.isMatchIgnored && (_ = !1);
764
+ }
765
+ if (_) {
766
+ for (; s.endsParent && s.parent; )
767
+ s = s.parent;
768
+ return s;
769
+ }
770
+ }
771
+ if (s.endsWithParent)
772
+ return Ve(s.parent, c, h);
773
+ }
774
+ function qn(s) {
775
+ return b.matcher.regexIndex === 0 ? (N += s[0], 1) : (Pe = !0, 0);
776
+ }
777
+ function Jn(s) {
778
+ const c = s[0], h = s.rule, _ = new g(h), L = [h.__beforeBegin, h["on:begin"]];
779
+ for (const te of L)
780
+ if (te && (te(s, _), _.isMatchIgnored))
781
+ return qn(c);
782
+ return h.skip ? N += c : (h.excludeBegin && (N += c), H(), !h.returnBegin && !h.excludeBegin && (N = c)), Je(h, s), h.returnBegin ? 0 : c.length;
783
+ }
784
+ function Vn(s) {
785
+ const c = s[0], h = l.substring(s.index), _ = Ve(b, s, h);
786
+ if (!_)
787
+ return Ke;
788
+ const L = b;
789
+ b.endScope && b.endScope._wrap ? (H(), j(c, b.endScope._wrap)) : b.endScope && b.endScope._multi ? (H(), qe(b.endScope, s)) : L.skip ? N += c : (L.returnEnd || L.excludeEnd || (N += c), H(), L.excludeEnd && (N = c));
790
+ do
791
+ b.scope && I.closeNode(), !b.skip && !b.subLanguage && (Oe += b.relevance), b = b.parent;
792
+ while (b !== _.parent);
793
+ return _.starts && Je(_.starts, s), L.returnEnd ? 0 : c.length;
794
+ }
795
+ function Qn() {
796
+ const s = [];
797
+ for (let c = b; c !== Y; c = c.parent)
798
+ c.scope && s.unshift(c.scope);
799
+ s.forEach((c) => I.openNode(c));
800
+ }
801
+ let Me = {};
802
+ function Qe(s, c) {
803
+ const h = c && c[0];
804
+ if (N += s, h == null)
805
+ return H(), 0;
806
+ if (Me.type === "begin" && c.type === "end" && Me.index === c.index && h === "") {
807
+ if (N += l.slice(c.index, c.index + 1), !A) {
808
+ const _ = new Error(`0 width match regex (${t})`);
809
+ throw _.languageName = t, _.badRule = Me.rule, _;
810
+ }
811
+ return 1;
812
+ }
813
+ if (Me = c, c.type === "begin")
814
+ return Jn(c);
815
+ if (c.type === "illegal" && !E) {
816
+ const _ = new Error('Illegal lexeme "' + h + '" for mode "' + (b.scope || "<unnamed>") + '"');
817
+ throw _.mode = b, _;
818
+ } else if (c.type === "end") {
819
+ const _ = Vn(c);
820
+ if (_ !== Ke)
821
+ return _;
822
+ }
823
+ if (c.type === "illegal" && h === "")
824
+ return N += `
825
+ `, 1;
826
+ if (Be > 1e5 && Be > c.index * 3)
827
+ throw new Error("potential infinite loop, way more iterations than matches");
828
+ return N += h, h.length;
829
+ }
830
+ const Y = ie(t);
831
+ if (!Y)
832
+ throw le(T.replace("{}", t)), new Error('Unknown language: "' + t + '"');
833
+ const et = Ln(Y);
834
+ let De = "", b = y || et;
835
+ const en = {}, I = new a.__emitter(a);
836
+ Qn();
837
+ let N = "", Oe = 0, ue = 0, Be = 0, Pe = !1;
838
+ try {
839
+ if (Y.__emitTokens)
840
+ Y.__emitTokens(l, I);
841
+ else {
842
+ for (b.matcher.considerAll(); ; ) {
843
+ Be++, Pe ? Pe = !1 : b.matcher.considerAll(), b.matcher.lastIndex = ue;
844
+ const s = b.matcher.exec(l);
845
+ if (!s) break;
846
+ const c = l.substring(ue, s.index), h = Qe(c, s);
847
+ ue = s.index + h;
848
+ }
849
+ Qe(l.substring(ue));
850
+ }
851
+ return I.finalize(), De = I.toHTML(), {
852
+ language: t,
853
+ value: De,
854
+ relevance: Oe,
855
+ illegal: !1,
856
+ _emitter: I,
857
+ _top: b
858
+ };
859
+ } catch (s) {
860
+ if (s.message && s.message.includes("Illegal"))
861
+ return {
862
+ language: t,
863
+ value: ve(l),
864
+ illegal: !0,
865
+ relevance: 0,
866
+ _illegalBy: {
867
+ message: s.message,
868
+ index: ue,
869
+ context: l.slice(ue - 100, ue + 100),
870
+ mode: s.mode,
871
+ resultSoFar: De
872
+ },
873
+ _emitter: I
874
+ };
875
+ if (A)
876
+ return {
877
+ language: t,
878
+ value: ve(l),
879
+ illegal: !1,
880
+ relevance: 0,
881
+ errorRaised: s,
882
+ _emitter: I,
883
+ _top: b
884
+ };
885
+ throw s;
886
+ }
887
+ }
888
+ function Ie(t) {
889
+ const l = {
890
+ value: ve(t),
891
+ illegal: !1,
892
+ relevance: 0,
893
+ _top: o,
894
+ _emitter: new a.__emitter(a)
895
+ };
896
+ return l._emitter.addText(t), l;
897
+ }
898
+ function Ce(t, l) {
899
+ l = l || a.languages || Object.keys(n);
900
+ const E = Ie(t), y = l.filter(ie).filter(Ye).map(
901
+ (H) => Ne(H, t, !1)
902
+ );
903
+ y.unshift(E);
904
+ const k = y.sort((H, j) => {
905
+ if (H.relevance !== j.relevance) return j.relevance - H.relevance;
906
+ if (H.language && j.language) {
907
+ if (ie(H.language).supersetOf === j.language)
908
+ return 1;
909
+ if (ie(j.language).supersetOf === H.language)
910
+ return -1;
911
+ }
912
+ return 0;
913
+ }), [K, re] = k, Re = K;
914
+ return Re.secondBest = re, Re;
915
+ }
916
+ function $n(t, l, E) {
917
+ const y = l && i[l] || E;
918
+ t.classList.add("hljs"), t.classList.add(`language-${y}`);
919
+ }
920
+ function Le(t) {
921
+ let l = null;
922
+ const E = v(t);
923
+ if (d(E)) return;
924
+ if (xe(
925
+ "before:highlightElement",
926
+ { el: t, language: E }
927
+ ), t.dataset.highlighted) {
928
+ console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", t);
929
+ return;
930
+ }
931
+ if (t.children.length > 0 && (a.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(t)), a.throwUnescapedHTML))
932
+ throw new Pn(
933
+ "One of your code blocks includes unescaped HTML.",
934
+ t.innerHTML
935
+ );
936
+ l = t;
937
+ const y = l.textContent, k = E ? R(y, { language: E, ignoreIllegals: !0 }) : Ce(y);
938
+ t.innerHTML = k.value, t.dataset.highlighted = "yes", $n(t, E, k.language), t.result = {
939
+ language: k.language,
940
+ // TODO: remove with version 11.0
941
+ re: k.relevance,
942
+ relevance: k.relevance
943
+ }, k.secondBest && (t.secondBest = {
944
+ language: k.secondBest.language,
945
+ relevance: k.secondBest.relevance
946
+ }), xe("after:highlightElement", { el: t, result: k, text: y });
947
+ }
948
+ function zn(t) {
949
+ a = Ze(a, t);
950
+ }
951
+ const Gn = () => {
952
+ we(), pe("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
953
+ };
954
+ function Hn() {
955
+ we(), pe("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
956
+ }
957
+ let Xe = !1;
958
+ function we() {
959
+ function t() {
960
+ we();
961
+ }
962
+ if (document.readyState === "loading") {
963
+ Xe || window.addEventListener("DOMContentLoaded", t, !1), Xe = !0;
964
+ return;
965
+ }
966
+ document.querySelectorAll(a.cssSelector).forEach(Le);
967
+ }
968
+ function Fn(t, l) {
969
+ let E = null;
970
+ try {
971
+ E = l(e);
972
+ } catch (y) {
973
+ if (le("Language definition for '{}' could not be registered.".replace("{}", t)), A)
974
+ le(y);
975
+ else
976
+ throw y;
977
+ E = o;
978
+ }
979
+ E.name || (E.name = t), n[t] = E, E.rawDefinition = l.bind(null, e), E.aliases && je(E.aliases, { languageName: t });
980
+ }
981
+ function Zn(t) {
982
+ delete n[t];
983
+ for (const l of Object.keys(i))
984
+ i[l] === t && delete i[l];
985
+ }
986
+ function Kn() {
987
+ return Object.keys(n);
988
+ }
989
+ function ie(t) {
990
+ return t = (t || "").toLowerCase(), n[t] || n[i[t]];
991
+ }
992
+ function je(t, { languageName: l }) {
993
+ typeof t == "string" && (t = [t]), t.forEach((E) => {
994
+ i[E.toLowerCase()] = l;
995
+ });
996
+ }
997
+ function Ye(t) {
998
+ const l = ie(t);
999
+ return l && !l.disableAutodetect;
1000
+ }
1001
+ function Wn(t) {
1002
+ t["before:highlightBlock"] && !t["before:highlightElement"] && (t["before:highlightElement"] = (l) => {
1003
+ t["before:highlightBlock"](
1004
+ Object.assign({ block: l.el }, l)
1005
+ );
1006
+ }), t["after:highlightBlock"] && !t["after:highlightElement"] && (t["after:highlightElement"] = (l) => {
1007
+ t["after:highlightBlock"](
1008
+ Object.assign({ block: l.el }, l)
1009
+ );
1010
+ });
1011
+ }
1012
+ function Xn(t) {
1013
+ Wn(t), f.push(t);
1014
+ }
1015
+ function jn(t) {
1016
+ const l = f.indexOf(t);
1017
+ l !== -1 && f.splice(l, 1);
1018
+ }
1019
+ function xe(t, l) {
1020
+ const E = t;
1021
+ f.forEach(function(y) {
1022
+ y[E] && y[E](l);
1023
+ });
1024
+ }
1025
+ function Yn(t) {
1026
+ return pe("10.7.0", "highlightBlock will be removed entirely in v12.0"), pe("10.7.0", "Please use highlightElement now."), Le(t);
1027
+ }
1028
+ Object.assign(e, {
1029
+ highlight: R,
1030
+ highlightAuto: Ce,
1031
+ highlightAll: we,
1032
+ highlightElement: Le,
1033
+ // TODO: Remove with v12 API
1034
+ highlightBlock: Yn,
1035
+ configure: zn,
1036
+ initHighlighting: Gn,
1037
+ initHighlightingOnLoad: Hn,
1038
+ registerLanguage: Fn,
1039
+ unregisterLanguage: Zn,
1040
+ listLanguages: Kn,
1041
+ getLanguage: ie,
1042
+ registerAliases: je,
1043
+ autoDetection: Ye,
1044
+ inherit: Ze,
1045
+ addPlugin: Xn,
1046
+ removePlugin: jn
1047
+ }), e.debugMode = function() {
1048
+ A = !1;
1049
+ }, e.safeMode = function() {
1050
+ A = !0;
1051
+ }, e.versionString = Bn, e.regex = {
1052
+ concat: x,
1053
+ lookahead: O,
1054
+ either: se,
1055
+ optional: q,
1056
+ anyNumberOfTimes: X
1057
+ };
1058
+ for (const t in Ae)
1059
+ typeof Ae[t] == "object" && r(Ae[t]);
1060
+ return Object.assign(e, Ae), e;
1061
+ }, he = We({});
1062
+ return he.newInstance = () => We({}), Ue = he, he.HighlightJS = he, he.default = he, Ue;
1063
+ }
1064
+ var st = /* @__PURE__ */ rt();
1065
+ const Se = /* @__PURE__ */ it(st), tn = "[A-Za-z$_][0-9A-Za-z$_]*", at = [
1066
+ "as",
1067
+ // for exports
1068
+ "in",
1069
+ "of",
1070
+ "if",
1071
+ "for",
1072
+ "while",
1073
+ "finally",
1074
+ "var",
1075
+ "new",
1076
+ "function",
1077
+ "do",
1078
+ "return",
1079
+ "void",
1080
+ "else",
1081
+ "break",
1082
+ "catch",
1083
+ "instanceof",
1084
+ "with",
1085
+ "throw",
1086
+ "case",
1087
+ "default",
1088
+ "try",
1089
+ "switch",
1090
+ "continue",
1091
+ "typeof",
1092
+ "delete",
1093
+ "let",
1094
+ "yield",
1095
+ "const",
1096
+ "class",
1097
+ // JS handles these with a special rule
1098
+ // "get",
1099
+ // "set",
1100
+ "debugger",
1101
+ "async",
1102
+ "await",
1103
+ "static",
1104
+ "import",
1105
+ "from",
1106
+ "export",
1107
+ "extends",
1108
+ // It's reached stage 3, which is "recommended for implementation":
1109
+ "using"
1110
+ ], ot = [
1111
+ "true",
1112
+ "false",
1113
+ "null",
1114
+ "undefined",
1115
+ "NaN",
1116
+ "Infinity"
1117
+ ], rn = [
1118
+ // Fundamental objects
1119
+ "Object",
1120
+ "Function",
1121
+ "Boolean",
1122
+ "Symbol",
1123
+ // numbers and dates
1124
+ "Math",
1125
+ "Date",
1126
+ "Number",
1127
+ "BigInt",
1128
+ // text
1129
+ "String",
1130
+ "RegExp",
1131
+ // Indexed collections
1132
+ "Array",
1133
+ "Float32Array",
1134
+ "Float64Array",
1135
+ "Int8Array",
1136
+ "Uint8Array",
1137
+ "Uint8ClampedArray",
1138
+ "Int16Array",
1139
+ "Int32Array",
1140
+ "Uint16Array",
1141
+ "Uint32Array",
1142
+ "BigInt64Array",
1143
+ "BigUint64Array",
1144
+ // Keyed collections
1145
+ "Set",
1146
+ "Map",
1147
+ "WeakSet",
1148
+ "WeakMap",
1149
+ // Structured data
1150
+ "ArrayBuffer",
1151
+ "SharedArrayBuffer",
1152
+ "Atomics",
1153
+ "DataView",
1154
+ "JSON",
1155
+ // Control abstraction objects
1156
+ "Promise",
1157
+ "Generator",
1158
+ "GeneratorFunction",
1159
+ "AsyncFunction",
1160
+ // Reflection
1161
+ "Reflect",
1162
+ "Proxy",
1163
+ // Internationalization
1164
+ "Intl",
1165
+ // WebAssembly
1166
+ "WebAssembly"
1167
+ ], sn = [
1168
+ "Error",
1169
+ "EvalError",
1170
+ "InternalError",
1171
+ "RangeError",
1172
+ "ReferenceError",
1173
+ "SyntaxError",
1174
+ "TypeError",
1175
+ "URIError"
1176
+ ], an = [
1177
+ "setInterval",
1178
+ "setTimeout",
1179
+ "clearInterval",
1180
+ "clearTimeout",
1181
+ "require",
1182
+ "exports",
1183
+ "eval",
1184
+ "isFinite",
1185
+ "isNaN",
1186
+ "parseFloat",
1187
+ "parseInt",
1188
+ "decodeURI",
1189
+ "decodeURIComponent",
1190
+ "encodeURI",
1191
+ "encodeURIComponent",
1192
+ "escape",
1193
+ "unescape"
1194
+ ], ct = [
1195
+ "arguments",
1196
+ "this",
1197
+ "super",
1198
+ "console",
1199
+ "window",
1200
+ "document",
1201
+ "localStorage",
1202
+ "sessionStorage",
1203
+ "module",
1204
+ "global"
1205
+ // Node.js
1206
+ ], lt = [].concat(
1207
+ an,
1208
+ rn,
1209
+ sn
1210
+ );
1211
+ function ut(r) {
1212
+ const g = r.regex, p = (m, { after: D }) => {
1213
+ const G = "</" + m[0].slice(1);
1214
+ return m.input.indexOf(G, D) !== -1;
1215
+ }, u = tn, C = {
1216
+ begin: "<>",
1217
+ end: "</>"
1218
+ }, B = /<[A-Za-z0-9\\._:-]+\s*\/>/, w = {
1219
+ begin: /<[A-Za-z0-9\\._:-]+/,
1220
+ end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
1221
+ /**
1222
+ * @param {RegExpMatchArray} match
1223
+ * @param {CallbackResponse} response
1224
+ */
1225
+ isTrulyOpeningTag: (m, D) => {
1226
+ const G = m[0].length + m.index, Z = m.input[G];
1227
+ if (
1228
+ // HTML should not include another raw `<` inside a tag
1229
+ // nested type?
1230
+ // `<Array<Array<number>>`, etc.
1231
+ Z === "<" || // the , gives away that this is not HTML
1232
+ // `<T, A extends keyof T, V>`
1233
+ Z === ","
1234
+ ) {
1235
+ D.ignoreMatch();
1236
+ return;
1237
+ }
1238
+ Z === ">" && (p(m, { after: G }) || D.ignoreMatch());
1239
+ let ne;
1240
+ const ce = m.input.substring(G);
1241
+ if (ne = ce.match(/^\s*=/)) {
1242
+ D.ignoreMatch();
1243
+ return;
1244
+ }
1245
+ if ((ne = ce.match(/^\s+extends\s+/)) && ne.index === 0) {
1246
+ D.ignoreMatch();
1247
+ return;
1248
+ }
1249
+ }
1250
+ }, S = {
1251
+ $pattern: tn,
1252
+ keyword: at,
1253
+ literal: ot,
1254
+ built_in: lt,
1255
+ "variable.language": ct
1256
+ }, P = "[0-9](_?[0-9])*", M = `\\.(${P})`, W = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", U = {
1257
+ className: "number",
1258
+ variants: [
1259
+ // DecimalLiteral
1260
+ { begin: `(\\b(${W})((${M})|\\.)?|(${M}))[eE][+-]?(${P})\\b` },
1261
+ { begin: `\\b(${W})\\b((${M})\\b|\\.)?|(${M})\\b` },
1262
+ // DecimalBigIntegerLiteral
1263
+ { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
1264
+ // NonDecimalIntegerLiteral
1265
+ { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
1266
+ { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
1267
+ { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
1268
+ // LegacyOctalIntegerLiteral (does not include underscore separators)
1269
+ // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
1270
+ { begin: "\\b0[0-7]+n?\\b" }
1271
+ ],
1272
+ relevance: 0
1273
+ }, O = {
1274
+ className: "subst",
1275
+ begin: "\\$\\{",
1276
+ end: "\\}",
1277
+ keywords: S,
1278
+ contains: []
1279
+ // defined later
1280
+ }, X = {
1281
+ begin: ".?html`",
1282
+ end: "",
1283
+ starts: {
1284
+ end: "`",
1285
+ returnEnd: !1,
1286
+ contains: [
1287
+ r.BACKSLASH_ESCAPE,
1288
+ O
1289
+ ],
1290
+ subLanguage: "xml"
1291
+ }
1292
+ }, q = {
1293
+ begin: ".?css`",
1294
+ end: "",
1295
+ starts: {
1296
+ end: "`",
1297
+ returnEnd: !1,
1298
+ contains: [
1299
+ r.BACKSLASH_ESCAPE,
1300
+ O
1301
+ ],
1302
+ subLanguage: "css"
1303
+ }
1304
+ }, x = {
1305
+ begin: ".?gql`",
1306
+ end: "",
1307
+ starts: {
1308
+ end: "`",
1309
+ returnEnd: !1,
1310
+ contains: [
1311
+ r.BACKSLASH_ESCAPE,
1312
+ O
1313
+ ],
1314
+ subLanguage: "graphql"
1315
+ }
1316
+ }, J = {
1317
+ className: "string",
1318
+ begin: "`",
1319
+ end: "`",
1320
+ contains: [
1321
+ r.BACKSLASH_ESCAPE,
1322
+ O
1323
+ ]
1324
+ }, $ = {
1325
+ className: "comment",
1326
+ variants: [
1327
+ r.COMMENT(
1328
+ /\/\*\*(?!\/)/,
1329
+ "\\*/",
1330
+ {
1331
+ relevance: 0,
1332
+ contains: [
1333
+ {
1334
+ begin: "(?=@[A-Za-z]+)",
1335
+ relevance: 0,
1336
+ contains: [
1337
+ {
1338
+ className: "doctag",
1339
+ begin: "@[A-Za-z]+"
1340
+ },
1341
+ {
1342
+ className: "type",
1343
+ begin: "\\{",
1344
+ end: "\\}",
1345
+ excludeEnd: !0,
1346
+ excludeBegin: !0,
1347
+ relevance: 0
1348
+ },
1349
+ {
1350
+ className: "variable",
1351
+ begin: u + "(?=\\s*(-)|$)",
1352
+ endsParent: !0,
1353
+ relevance: 0
1354
+ },
1355
+ // eat spaces (not newlines) so we can find
1356
+ // types or variables
1357
+ {
1358
+ begin: /(?=[^\n])\s/,
1359
+ relevance: 0
1360
+ }
1361
+ ]
1362
+ }
1363
+ ]
1364
+ }
1365
+ ),
1366
+ r.C_BLOCK_COMMENT_MODE,
1367
+ r.C_LINE_COMMENT_MODE
1368
+ ]
1369
+ }, V = [
1370
+ r.APOS_STRING_MODE,
1371
+ r.QUOTE_STRING_MODE,
1372
+ X,
1373
+ q,
1374
+ x,
1375
+ J,
1376
+ // Skip numbers when they are part of a variable name
1377
+ { match: /\$\d+/ },
1378
+ U
1379
+ // This is intentional:
1380
+ // See https://github.com/highlightjs/highlight.js/issues/3288
1381
+ // hljs.REGEXP_MODE
1382
+ ];
1383
+ O.contains = V.concat({
1384
+ // we need to pair up {} inside our subst to prevent
1385
+ // it from ending too early by matching another }
1386
+ begin: /\{/,
1387
+ end: /\}/,
1388
+ keywords: S,
1389
+ contains: [
1390
+ "self"
1391
+ ].concat(V)
1392
+ });
1393
+ const ae = [].concat($, O.contains), F = ae.concat([
1394
+ // eat recursive parens in sub expressions
1395
+ {
1396
+ begin: /(\s*)\(/,
1397
+ end: /\)/,
1398
+ keywords: S,
1399
+ contains: ["self"].concat(ae)
1400
+ }
1401
+ ]), z = {
1402
+ className: "params",
1403
+ // convert this to negative lookbehind in v12
1404
+ begin: /(\s*)\(/,
1405
+ // to match the parms with
1406
+ end: /\)/,
1407
+ excludeBegin: !0,
1408
+ excludeEnd: !0,
1409
+ keywords: S,
1410
+ contains: F
1411
+ }, de = {
1412
+ variants: [
1413
+ // class Car extends vehicle
1414
+ {
1415
+ match: [
1416
+ /class/,
1417
+ /\s+/,
1418
+ u,
1419
+ /\s+/,
1420
+ /extends/,
1421
+ /\s+/,
1422
+ g.concat(u, "(", g.concat(/\./, u), ")*")
1423
+ ],
1424
+ scope: {
1425
+ 1: "keyword",
1426
+ 3: "title.class",
1427
+ 5: "keyword",
1428
+ 7: "title.class.inherited"
1429
+ }
1430
+ },
1431
+ // class Car
1432
+ {
1433
+ match: [
1434
+ /class/,
1435
+ /\s+/,
1436
+ u
1437
+ ],
1438
+ scope: {
1439
+ 1: "keyword",
1440
+ 3: "title.class"
1441
+ }
1442
+ }
1443
+ ]
1444
+ }, Q = {
1445
+ relevance: 0,
1446
+ match: g.either(
1447
+ // Hard coded exceptions
1448
+ /\bJSON/,
1449
+ // Float32Array, OutT
1450
+ /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,
1451
+ // CSSFactory, CSSFactoryT
1452
+ /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,
1453
+ // FPs, FPsT
1454
+ /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/
1455
+ // P
1456
+ // single letters are not highlighted
1457
+ // BLAH
1458
+ // this will be flagged as a UPPER_CASE_CONSTANT instead
1459
+ ),
1460
+ className: "title.class",
1461
+ keywords: {
1462
+ _: [
1463
+ // se we still get relevance credit for JS library classes
1464
+ ...rn,
1465
+ ...sn
1466
+ ]
1467
+ }
1468
+ }, ge = {
1469
+ label: "use_strict",
1470
+ className: "meta",
1471
+ relevance: 10,
1472
+ begin: /^\s*['"]use (strict|asm)['"]/
1473
+ }, fe = {
1474
+ variants: [
1475
+ {
1476
+ match: [
1477
+ /function/,
1478
+ /\s+/,
1479
+ u,
1480
+ /(?=\s*\()/
1481
+ ]
1482
+ },
1483
+ // anonymous function
1484
+ {
1485
+ match: [
1486
+ /function/,
1487
+ /\s*(?=\()/
1488
+ ]
1489
+ }
1490
+ ],
1491
+ className: {
1492
+ 1: "keyword",
1493
+ 3: "title.function"
1494
+ },
1495
+ label: "func.def",
1496
+ contains: [z],
1497
+ illegal: /%/
1498
+ }, be = {
1499
+ relevance: 0,
1500
+ match: /\b[A-Z][A-Z_0-9]+\b/,
1501
+ className: "variable.constant"
1502
+ };
1503
+ function Ee(m) {
1504
+ return g.concat("(?!", m.join("|"), ")");
1505
+ }
1506
+ const me = {
1507
+ match: g.concat(
1508
+ /\b/,
1509
+ Ee([
1510
+ ...an,
1511
+ "super",
1512
+ "import"
1513
+ ].map((m) => `${m}\\s*\\(`)),
1514
+ u,
1515
+ g.lookahead(/\s*\(/)
1516
+ ),
1517
+ className: "title.function",
1518
+ relevance: 0
1519
+ }, ee = {
1520
+ begin: g.concat(/\./, g.lookahead(
1521
+ g.concat(u, /(?![0-9A-Za-z$_(])/)
1522
+ )),
1523
+ end: u,
1524
+ excludeBegin: !0,
1525
+ keywords: "prototype",
1526
+ className: "property",
1527
+ relevance: 0
1528
+ }, _e = {
1529
+ match: [
1530
+ /get|set/,
1531
+ /\s+/,
1532
+ u,
1533
+ /(?=\()/
1534
+ ],
1535
+ className: {
1536
+ 1: "keyword",
1537
+ 3: "title.function"
1538
+ },
1539
+ contains: [
1540
+ {
1541
+ // eat to avoid empty params
1542
+ begin: /\(\)/
1543
+ },
1544
+ z
1545
+ ]
1546
+ }, oe = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + r.UNDERSCORE_IDENT_RE + ")\\s*=>", ye = {
1547
+ match: [
1548
+ /const|var|let/,
1549
+ /\s+/,
1550
+ u,
1551
+ /\s*/,
1552
+ /=\s*/,
1553
+ /(async\s*)?/,
1554
+ // async is optional
1555
+ g.lookahead(oe)
1556
+ ],
1557
+ keywords: "async",
1558
+ className: {
1559
+ 1: "keyword",
1560
+ 3: "title.function"
1561
+ },
1562
+ contains: [
1563
+ z
1564
+ ]
1565
+ };
1566
+ return {
1567
+ name: "JavaScript",
1568
+ aliases: ["js", "jsx", "mjs", "cjs"],
1569
+ keywords: S,
1570
+ // this will be extended by TypeScript
1571
+ exports: { PARAMS_CONTAINS: F, CLASS_REFERENCE: Q },
1572
+ illegal: /#(?![$_A-z])/,
1573
+ contains: [
1574
+ r.SHEBANG({
1575
+ label: "shebang",
1576
+ binary: "node",
1577
+ relevance: 5
1578
+ }),
1579
+ ge,
1580
+ r.APOS_STRING_MODE,
1581
+ r.QUOTE_STRING_MODE,
1582
+ X,
1583
+ q,
1584
+ x,
1585
+ J,
1586
+ $,
1587
+ // Skip numbers when they are part of a variable name
1588
+ { match: /\$\d+/ },
1589
+ U,
1590
+ Q,
1591
+ {
1592
+ scope: "attr",
1593
+ match: u + g.lookahead(":"),
1594
+ relevance: 0
1595
+ },
1596
+ ye,
1597
+ {
1598
+ // "value" container
1599
+ begin: "(" + r.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
1600
+ keywords: "return throw case",
1601
+ relevance: 0,
1602
+ contains: [
1603
+ $,
1604
+ r.REGEXP_MODE,
1605
+ {
1606
+ className: "function",
1607
+ // we have to count the parens to make sure we actually have the
1608
+ // correct bounding ( ) before the =>. There could be any number of
1609
+ // sub-expressions inside also surrounded by parens.
1610
+ begin: oe,
1611
+ returnBegin: !0,
1612
+ end: "\\s*=>",
1613
+ contains: [
1614
+ {
1615
+ className: "params",
1616
+ variants: [
1617
+ {
1618
+ begin: r.UNDERSCORE_IDENT_RE,
1619
+ relevance: 0
1620
+ },
1621
+ {
1622
+ className: null,
1623
+ begin: /\(\s*\)/,
1624
+ skip: !0
1625
+ },
1626
+ {
1627
+ begin: /(\s*)\(/,
1628
+ end: /\)/,
1629
+ excludeBegin: !0,
1630
+ excludeEnd: !0,
1631
+ keywords: S,
1632
+ contains: F
1633
+ }
1634
+ ]
1635
+ }
1636
+ ]
1637
+ },
1638
+ {
1639
+ // could be a comma delimited list of params to a function call
1640
+ begin: /,/,
1641
+ relevance: 0
1642
+ },
1643
+ {
1644
+ match: /\s+/,
1645
+ relevance: 0
1646
+ },
1647
+ {
1648
+ // JSX
1649
+ variants: [
1650
+ { begin: C.begin, end: C.end },
1651
+ { match: B },
1652
+ {
1653
+ begin: w.begin,
1654
+ // we carefully check the opening tag to see if it truly
1655
+ // is a tag and not a false positive
1656
+ "on:begin": w.isTrulyOpeningTag,
1657
+ end: w.end
1658
+ }
1659
+ ],
1660
+ subLanguage: "xml",
1661
+ contains: [
1662
+ {
1663
+ begin: w.begin,
1664
+ end: w.end,
1665
+ skip: !0,
1666
+ contains: ["self"]
1667
+ }
1668
+ ]
1669
+ }
1670
+ ]
1671
+ },
1672
+ fe,
1673
+ {
1674
+ // prevent this from getting swallowed up by function
1675
+ // since they appear "function like"
1676
+ beginKeywords: "while if switch catch for"
1677
+ },
1678
+ {
1679
+ // we have to count the parens to make sure we actually have the correct
1680
+ // bounding ( ). There could be any number of sub-expressions inside
1681
+ // also surrounded by parens.
1682
+ begin: "\\b(?!function)" + r.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
1683
+ // end parens
1684
+ returnBegin: !0,
1685
+ label: "func.def",
1686
+ contains: [
1687
+ z,
1688
+ r.inherit(r.TITLE_MODE, { begin: u, className: "title.function" })
1689
+ ]
1690
+ },
1691
+ // catch ... so it won't trigger the property rule below
1692
+ {
1693
+ match: /\.\.\./,
1694
+ relevance: 0
1695
+ },
1696
+ ee,
1697
+ // hack: prevents detection of keywords in some circumstances
1698
+ // .keyword()
1699
+ // $keyword = x
1700
+ {
1701
+ match: "\\$" + u,
1702
+ relevance: 0
1703
+ },
1704
+ {
1705
+ match: [/\bconstructor(?=\s*\()/],
1706
+ className: { 1: "title.function" },
1707
+ contains: [z]
1708
+ },
1709
+ me,
1710
+ be,
1711
+ de,
1712
+ _e,
1713
+ {
1714
+ match: /\$[(.]/
1715
+ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
1716
+ }
1717
+ ]
1718
+ };
1719
+ }
1720
+ const ke = "[A-Za-z$_][0-9A-Za-z$_]*", on = [
1721
+ "as",
1722
+ // for exports
1723
+ "in",
1724
+ "of",
1725
+ "if",
1726
+ "for",
1727
+ "while",
1728
+ "finally",
1729
+ "var",
1730
+ "new",
1731
+ "function",
1732
+ "do",
1733
+ "return",
1734
+ "void",
1735
+ "else",
1736
+ "break",
1737
+ "catch",
1738
+ "instanceof",
1739
+ "with",
1740
+ "throw",
1741
+ "case",
1742
+ "default",
1743
+ "try",
1744
+ "switch",
1745
+ "continue",
1746
+ "typeof",
1747
+ "delete",
1748
+ "let",
1749
+ "yield",
1750
+ "const",
1751
+ "class",
1752
+ // JS handles these with a special rule
1753
+ // "get",
1754
+ // "set",
1755
+ "debugger",
1756
+ "async",
1757
+ "await",
1758
+ "static",
1759
+ "import",
1760
+ "from",
1761
+ "export",
1762
+ "extends",
1763
+ // It's reached stage 3, which is "recommended for implementation":
1764
+ "using"
1765
+ ], cn = [
1766
+ "true",
1767
+ "false",
1768
+ "null",
1769
+ "undefined",
1770
+ "NaN",
1771
+ "Infinity"
1772
+ ], ln = [
1773
+ // Fundamental objects
1774
+ "Object",
1775
+ "Function",
1776
+ "Boolean",
1777
+ "Symbol",
1778
+ // numbers and dates
1779
+ "Math",
1780
+ "Date",
1781
+ "Number",
1782
+ "BigInt",
1783
+ // text
1784
+ "String",
1785
+ "RegExp",
1786
+ // Indexed collections
1787
+ "Array",
1788
+ "Float32Array",
1789
+ "Float64Array",
1790
+ "Int8Array",
1791
+ "Uint8Array",
1792
+ "Uint8ClampedArray",
1793
+ "Int16Array",
1794
+ "Int32Array",
1795
+ "Uint16Array",
1796
+ "Uint32Array",
1797
+ "BigInt64Array",
1798
+ "BigUint64Array",
1799
+ // Keyed collections
1800
+ "Set",
1801
+ "Map",
1802
+ "WeakSet",
1803
+ "WeakMap",
1804
+ // Structured data
1805
+ "ArrayBuffer",
1806
+ "SharedArrayBuffer",
1807
+ "Atomics",
1808
+ "DataView",
1809
+ "JSON",
1810
+ // Control abstraction objects
1811
+ "Promise",
1812
+ "Generator",
1813
+ "GeneratorFunction",
1814
+ "AsyncFunction",
1815
+ // Reflection
1816
+ "Reflect",
1817
+ "Proxy",
1818
+ // Internationalization
1819
+ "Intl",
1820
+ // WebAssembly
1821
+ "WebAssembly"
1822
+ ], un = [
1823
+ "Error",
1824
+ "EvalError",
1825
+ "InternalError",
1826
+ "RangeError",
1827
+ "ReferenceError",
1828
+ "SyntaxError",
1829
+ "TypeError",
1830
+ "URIError"
1831
+ ], dn = [
1832
+ "setInterval",
1833
+ "setTimeout",
1834
+ "clearInterval",
1835
+ "clearTimeout",
1836
+ "require",
1837
+ "exports",
1838
+ "eval",
1839
+ "isFinite",
1840
+ "isNaN",
1841
+ "parseFloat",
1842
+ "parseInt",
1843
+ "decodeURI",
1844
+ "decodeURIComponent",
1845
+ "encodeURI",
1846
+ "encodeURIComponent",
1847
+ "escape",
1848
+ "unescape"
1849
+ ], gn = [
1850
+ "arguments",
1851
+ "this",
1852
+ "super",
1853
+ "console",
1854
+ "window",
1855
+ "document",
1856
+ "localStorage",
1857
+ "sessionStorage",
1858
+ "module",
1859
+ "global"
1860
+ // Node.js
1861
+ ], fn = [].concat(
1862
+ dn,
1863
+ ln,
1864
+ un
1865
+ );
1866
+ function dt(r) {
1867
+ const g = r.regex, p = (m, { after: D }) => {
1868
+ const G = "</" + m[0].slice(1);
1869
+ return m.input.indexOf(G, D) !== -1;
1870
+ }, u = ke, C = {
1871
+ begin: "<>",
1872
+ end: "</>"
1873
+ }, B = /<[A-Za-z0-9\\._:-]+\s*\/>/, w = {
1874
+ begin: /<[A-Za-z0-9\\._:-]+/,
1875
+ end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
1876
+ /**
1877
+ * @param {RegExpMatchArray} match
1878
+ * @param {CallbackResponse} response
1879
+ */
1880
+ isTrulyOpeningTag: (m, D) => {
1881
+ const G = m[0].length + m.index, Z = m.input[G];
1882
+ if (
1883
+ // HTML should not include another raw `<` inside a tag
1884
+ // nested type?
1885
+ // `<Array<Array<number>>`, etc.
1886
+ Z === "<" || // the , gives away that this is not HTML
1887
+ // `<T, A extends keyof T, V>`
1888
+ Z === ","
1889
+ ) {
1890
+ D.ignoreMatch();
1891
+ return;
1892
+ }
1893
+ Z === ">" && (p(m, { after: G }) || D.ignoreMatch());
1894
+ let ne;
1895
+ const ce = m.input.substring(G);
1896
+ if (ne = ce.match(/^\s*=/)) {
1897
+ D.ignoreMatch();
1898
+ return;
1899
+ }
1900
+ if ((ne = ce.match(/^\s+extends\s+/)) && ne.index === 0) {
1901
+ D.ignoreMatch();
1902
+ return;
1903
+ }
1904
+ }
1905
+ }, S = {
1906
+ $pattern: ke,
1907
+ keyword: on,
1908
+ literal: cn,
1909
+ built_in: fn,
1910
+ "variable.language": gn
1911
+ }, P = "[0-9](_?[0-9])*", M = `\\.(${P})`, W = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", U = {
1912
+ className: "number",
1913
+ variants: [
1914
+ // DecimalLiteral
1915
+ { begin: `(\\b(${W})((${M})|\\.)?|(${M}))[eE][+-]?(${P})\\b` },
1916
+ { begin: `\\b(${W})\\b((${M})\\b|\\.)?|(${M})\\b` },
1917
+ // DecimalBigIntegerLiteral
1918
+ { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
1919
+ // NonDecimalIntegerLiteral
1920
+ { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
1921
+ { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
1922
+ { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
1923
+ // LegacyOctalIntegerLiteral (does not include underscore separators)
1924
+ // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
1925
+ { begin: "\\b0[0-7]+n?\\b" }
1926
+ ],
1927
+ relevance: 0
1928
+ }, O = {
1929
+ className: "subst",
1930
+ begin: "\\$\\{",
1931
+ end: "\\}",
1932
+ keywords: S,
1933
+ contains: []
1934
+ // defined later
1935
+ }, X = {
1936
+ begin: ".?html`",
1937
+ end: "",
1938
+ starts: {
1939
+ end: "`",
1940
+ returnEnd: !1,
1941
+ contains: [
1942
+ r.BACKSLASH_ESCAPE,
1943
+ O
1944
+ ],
1945
+ subLanguage: "xml"
1946
+ }
1947
+ }, q = {
1948
+ begin: ".?css`",
1949
+ end: "",
1950
+ starts: {
1951
+ end: "`",
1952
+ returnEnd: !1,
1953
+ contains: [
1954
+ r.BACKSLASH_ESCAPE,
1955
+ O
1956
+ ],
1957
+ subLanguage: "css"
1958
+ }
1959
+ }, x = {
1960
+ begin: ".?gql`",
1961
+ end: "",
1962
+ starts: {
1963
+ end: "`",
1964
+ returnEnd: !1,
1965
+ contains: [
1966
+ r.BACKSLASH_ESCAPE,
1967
+ O
1968
+ ],
1969
+ subLanguage: "graphql"
1970
+ }
1971
+ }, J = {
1972
+ className: "string",
1973
+ begin: "`",
1974
+ end: "`",
1975
+ contains: [
1976
+ r.BACKSLASH_ESCAPE,
1977
+ O
1978
+ ]
1979
+ }, $ = {
1980
+ className: "comment",
1981
+ variants: [
1982
+ r.COMMENT(
1983
+ /\/\*\*(?!\/)/,
1984
+ "\\*/",
1985
+ {
1986
+ relevance: 0,
1987
+ contains: [
1988
+ {
1989
+ begin: "(?=@[A-Za-z]+)",
1990
+ relevance: 0,
1991
+ contains: [
1992
+ {
1993
+ className: "doctag",
1994
+ begin: "@[A-Za-z]+"
1995
+ },
1996
+ {
1997
+ className: "type",
1998
+ begin: "\\{",
1999
+ end: "\\}",
2000
+ excludeEnd: !0,
2001
+ excludeBegin: !0,
2002
+ relevance: 0
2003
+ },
2004
+ {
2005
+ className: "variable",
2006
+ begin: u + "(?=\\s*(-)|$)",
2007
+ endsParent: !0,
2008
+ relevance: 0
2009
+ },
2010
+ // eat spaces (not newlines) so we can find
2011
+ // types or variables
2012
+ {
2013
+ begin: /(?=[^\n])\s/,
2014
+ relevance: 0
2015
+ }
2016
+ ]
2017
+ }
2018
+ ]
2019
+ }
2020
+ ),
2021
+ r.C_BLOCK_COMMENT_MODE,
2022
+ r.C_LINE_COMMENT_MODE
2023
+ ]
2024
+ }, V = [
2025
+ r.APOS_STRING_MODE,
2026
+ r.QUOTE_STRING_MODE,
2027
+ X,
2028
+ q,
2029
+ x,
2030
+ J,
2031
+ // Skip numbers when they are part of a variable name
2032
+ { match: /\$\d+/ },
2033
+ U
2034
+ // This is intentional:
2035
+ // See https://github.com/highlightjs/highlight.js/issues/3288
2036
+ // hljs.REGEXP_MODE
2037
+ ];
2038
+ O.contains = V.concat({
2039
+ // we need to pair up {} inside our subst to prevent
2040
+ // it from ending too early by matching another }
2041
+ begin: /\{/,
2042
+ end: /\}/,
2043
+ keywords: S,
2044
+ contains: [
2045
+ "self"
2046
+ ].concat(V)
2047
+ });
2048
+ const ae = [].concat($, O.contains), F = ae.concat([
2049
+ // eat recursive parens in sub expressions
2050
+ {
2051
+ begin: /(\s*)\(/,
2052
+ end: /\)/,
2053
+ keywords: S,
2054
+ contains: ["self"].concat(ae)
2055
+ }
2056
+ ]), z = {
2057
+ className: "params",
2058
+ // convert this to negative lookbehind in v12
2059
+ begin: /(\s*)\(/,
2060
+ // to match the parms with
2061
+ end: /\)/,
2062
+ excludeBegin: !0,
2063
+ excludeEnd: !0,
2064
+ keywords: S,
2065
+ contains: F
2066
+ }, de = {
2067
+ variants: [
2068
+ // class Car extends vehicle
2069
+ {
2070
+ match: [
2071
+ /class/,
2072
+ /\s+/,
2073
+ u,
2074
+ /\s+/,
2075
+ /extends/,
2076
+ /\s+/,
2077
+ g.concat(u, "(", g.concat(/\./, u), ")*")
2078
+ ],
2079
+ scope: {
2080
+ 1: "keyword",
2081
+ 3: "title.class",
2082
+ 5: "keyword",
2083
+ 7: "title.class.inherited"
2084
+ }
2085
+ },
2086
+ // class Car
2087
+ {
2088
+ match: [
2089
+ /class/,
2090
+ /\s+/,
2091
+ u
2092
+ ],
2093
+ scope: {
2094
+ 1: "keyword",
2095
+ 3: "title.class"
2096
+ }
2097
+ }
2098
+ ]
2099
+ }, Q = {
2100
+ relevance: 0,
2101
+ match: g.either(
2102
+ // Hard coded exceptions
2103
+ /\bJSON/,
2104
+ // Float32Array, OutT
2105
+ /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,
2106
+ // CSSFactory, CSSFactoryT
2107
+ /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,
2108
+ // FPs, FPsT
2109
+ /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/
2110
+ // P
2111
+ // single letters are not highlighted
2112
+ // BLAH
2113
+ // this will be flagged as a UPPER_CASE_CONSTANT instead
2114
+ ),
2115
+ className: "title.class",
2116
+ keywords: {
2117
+ _: [
2118
+ // se we still get relevance credit for JS library classes
2119
+ ...ln,
2120
+ ...un
2121
+ ]
2122
+ }
2123
+ }, ge = {
2124
+ label: "use_strict",
2125
+ className: "meta",
2126
+ relevance: 10,
2127
+ begin: /^\s*['"]use (strict|asm)['"]/
2128
+ }, fe = {
2129
+ variants: [
2130
+ {
2131
+ match: [
2132
+ /function/,
2133
+ /\s+/,
2134
+ u,
2135
+ /(?=\s*\()/
2136
+ ]
2137
+ },
2138
+ // anonymous function
2139
+ {
2140
+ match: [
2141
+ /function/,
2142
+ /\s*(?=\()/
2143
+ ]
2144
+ }
2145
+ ],
2146
+ className: {
2147
+ 1: "keyword",
2148
+ 3: "title.function"
2149
+ },
2150
+ label: "func.def",
2151
+ contains: [z],
2152
+ illegal: /%/
2153
+ }, be = {
2154
+ relevance: 0,
2155
+ match: /\b[A-Z][A-Z_0-9]+\b/,
2156
+ className: "variable.constant"
2157
+ };
2158
+ function Ee(m) {
2159
+ return g.concat("(?!", m.join("|"), ")");
2160
+ }
2161
+ const me = {
2162
+ match: g.concat(
2163
+ /\b/,
2164
+ Ee([
2165
+ ...dn,
2166
+ "super",
2167
+ "import"
2168
+ ].map((m) => `${m}\\s*\\(`)),
2169
+ u,
2170
+ g.lookahead(/\s*\(/)
2171
+ ),
2172
+ className: "title.function",
2173
+ relevance: 0
2174
+ }, ee = {
2175
+ begin: g.concat(/\./, g.lookahead(
2176
+ g.concat(u, /(?![0-9A-Za-z$_(])/)
2177
+ )),
2178
+ end: u,
2179
+ excludeBegin: !0,
2180
+ keywords: "prototype",
2181
+ className: "property",
2182
+ relevance: 0
2183
+ }, _e = {
2184
+ match: [
2185
+ /get|set/,
2186
+ /\s+/,
2187
+ u,
2188
+ /(?=\()/
2189
+ ],
2190
+ className: {
2191
+ 1: "keyword",
2192
+ 3: "title.function"
2193
+ },
2194
+ contains: [
2195
+ {
2196
+ // eat to avoid empty params
2197
+ begin: /\(\)/
2198
+ },
2199
+ z
2200
+ ]
2201
+ }, oe = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + r.UNDERSCORE_IDENT_RE + ")\\s*=>", ye = {
2202
+ match: [
2203
+ /const|var|let/,
2204
+ /\s+/,
2205
+ u,
2206
+ /\s*/,
2207
+ /=\s*/,
2208
+ /(async\s*)?/,
2209
+ // async is optional
2210
+ g.lookahead(oe)
2211
+ ],
2212
+ keywords: "async",
2213
+ className: {
2214
+ 1: "keyword",
2215
+ 3: "title.function"
2216
+ },
2217
+ contains: [
2218
+ z
2219
+ ]
2220
+ };
2221
+ return {
2222
+ name: "JavaScript",
2223
+ aliases: ["js", "jsx", "mjs", "cjs"],
2224
+ keywords: S,
2225
+ // this will be extended by TypeScript
2226
+ exports: { PARAMS_CONTAINS: F, CLASS_REFERENCE: Q },
2227
+ illegal: /#(?![$_A-z])/,
2228
+ contains: [
2229
+ r.SHEBANG({
2230
+ label: "shebang",
2231
+ binary: "node",
2232
+ relevance: 5
2233
+ }),
2234
+ ge,
2235
+ r.APOS_STRING_MODE,
2236
+ r.QUOTE_STRING_MODE,
2237
+ X,
2238
+ q,
2239
+ x,
2240
+ J,
2241
+ $,
2242
+ // Skip numbers when they are part of a variable name
2243
+ { match: /\$\d+/ },
2244
+ U,
2245
+ Q,
2246
+ {
2247
+ scope: "attr",
2248
+ match: u + g.lookahead(":"),
2249
+ relevance: 0
2250
+ },
2251
+ ye,
2252
+ {
2253
+ // "value" container
2254
+ begin: "(" + r.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
2255
+ keywords: "return throw case",
2256
+ relevance: 0,
2257
+ contains: [
2258
+ $,
2259
+ r.REGEXP_MODE,
2260
+ {
2261
+ className: "function",
2262
+ // we have to count the parens to make sure we actually have the
2263
+ // correct bounding ( ) before the =>. There could be any number of
2264
+ // sub-expressions inside also surrounded by parens.
2265
+ begin: oe,
2266
+ returnBegin: !0,
2267
+ end: "\\s*=>",
2268
+ contains: [
2269
+ {
2270
+ className: "params",
2271
+ variants: [
2272
+ {
2273
+ begin: r.UNDERSCORE_IDENT_RE,
2274
+ relevance: 0
2275
+ },
2276
+ {
2277
+ className: null,
2278
+ begin: /\(\s*\)/,
2279
+ skip: !0
2280
+ },
2281
+ {
2282
+ begin: /(\s*)\(/,
2283
+ end: /\)/,
2284
+ excludeBegin: !0,
2285
+ excludeEnd: !0,
2286
+ keywords: S,
2287
+ contains: F
2288
+ }
2289
+ ]
2290
+ }
2291
+ ]
2292
+ },
2293
+ {
2294
+ // could be a comma delimited list of params to a function call
2295
+ begin: /,/,
2296
+ relevance: 0
2297
+ },
2298
+ {
2299
+ match: /\s+/,
2300
+ relevance: 0
2301
+ },
2302
+ {
2303
+ // JSX
2304
+ variants: [
2305
+ { begin: C.begin, end: C.end },
2306
+ { match: B },
2307
+ {
2308
+ begin: w.begin,
2309
+ // we carefully check the opening tag to see if it truly
2310
+ // is a tag and not a false positive
2311
+ "on:begin": w.isTrulyOpeningTag,
2312
+ end: w.end
2313
+ }
2314
+ ],
2315
+ subLanguage: "xml",
2316
+ contains: [
2317
+ {
2318
+ begin: w.begin,
2319
+ end: w.end,
2320
+ skip: !0,
2321
+ contains: ["self"]
2322
+ }
2323
+ ]
2324
+ }
2325
+ ]
2326
+ },
2327
+ fe,
2328
+ {
2329
+ // prevent this from getting swallowed up by function
2330
+ // since they appear "function like"
2331
+ beginKeywords: "while if switch catch for"
2332
+ },
2333
+ {
2334
+ // we have to count the parens to make sure we actually have the correct
2335
+ // bounding ( ). There could be any number of sub-expressions inside
2336
+ // also surrounded by parens.
2337
+ begin: "\\b(?!function)" + r.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
2338
+ // end parens
2339
+ returnBegin: !0,
2340
+ label: "func.def",
2341
+ contains: [
2342
+ z,
2343
+ r.inherit(r.TITLE_MODE, { begin: u, className: "title.function" })
2344
+ ]
2345
+ },
2346
+ // catch ... so it won't trigger the property rule below
2347
+ {
2348
+ match: /\.\.\./,
2349
+ relevance: 0
2350
+ },
2351
+ ee,
2352
+ // hack: prevents detection of keywords in some circumstances
2353
+ // .keyword()
2354
+ // $keyword = x
2355
+ {
2356
+ match: "\\$" + u,
2357
+ relevance: 0
2358
+ },
2359
+ {
2360
+ match: [/\bconstructor(?=\s*\()/],
2361
+ className: { 1: "title.function" },
2362
+ contains: [z]
2363
+ },
2364
+ me,
2365
+ be,
2366
+ de,
2367
+ _e,
2368
+ {
2369
+ match: /\$[(.]/
2370
+ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
2371
+ }
2372
+ ]
2373
+ };
2374
+ }
2375
+ function gt(r) {
2376
+ const g = r.regex, p = dt(r), u = ke, C = [
2377
+ "any",
2378
+ "void",
2379
+ "number",
2380
+ "boolean",
2381
+ "string",
2382
+ "object",
2383
+ "never",
2384
+ "symbol",
2385
+ "bigint",
2386
+ "unknown"
2387
+ ], B = {
2388
+ begin: [
2389
+ /namespace/,
2390
+ /\s+/,
2391
+ r.IDENT_RE
2392
+ ],
2393
+ beginScope: {
2394
+ 1: "keyword",
2395
+ 3: "title.class"
2396
+ }
2397
+ }, w = {
2398
+ beginKeywords: "interface",
2399
+ end: /\{/,
2400
+ excludeEnd: !0,
2401
+ keywords: {
2402
+ keyword: "interface extends",
2403
+ built_in: C
2404
+ },
2405
+ contains: [p.exports.CLASS_REFERENCE]
2406
+ }, S = {
2407
+ className: "meta",
2408
+ relevance: 10,
2409
+ begin: /^\s*['"]use strict['"]/
2410
+ }, P = [
2411
+ "type",
2412
+ // "namespace",
2413
+ "interface",
2414
+ "public",
2415
+ "private",
2416
+ "protected",
2417
+ "implements",
2418
+ "declare",
2419
+ "abstract",
2420
+ "readonly",
2421
+ "enum",
2422
+ "override",
2423
+ "satisfies"
2424
+ ], M = {
2425
+ $pattern: ke,
2426
+ keyword: on.concat(P),
2427
+ literal: cn,
2428
+ built_in: fn.concat(C),
2429
+ "variable.language": gn
2430
+ }, W = {
2431
+ className: "meta",
2432
+ begin: "@" + u
2433
+ }, U = (x, J, se) => {
2434
+ const $ = x.contains.findIndex((V) => V.label === J);
2435
+ if ($ === -1)
2436
+ throw new Error("can not find mode to replace");
2437
+ x.contains.splice($, 1, se);
2438
+ };
2439
+ Object.assign(p.keywords, M), p.exports.PARAMS_CONTAINS.push(W);
2440
+ const O = p.contains.find((x) => x.scope === "attr"), X = Object.assign(
2441
+ {},
2442
+ O,
2443
+ { match: g.concat(u, g.lookahead(/\s*\?:/)) }
2444
+ );
2445
+ p.exports.PARAMS_CONTAINS.push([
2446
+ p.exports.CLASS_REFERENCE,
2447
+ // class reference for highlighting the params types
2448
+ O,
2449
+ // highlight the params key
2450
+ X
2451
+ // Added for optional property assignment highlighting
2452
+ ]), p.contains = p.contains.concat([
2453
+ W,
2454
+ B,
2455
+ w,
2456
+ X
2457
+ // Added for optional property assignment highlighting
2458
+ ]), U(p, "shebang", r.SHEBANG()), U(p, "use_strict", S);
2459
+ const q = p.contains.find((x) => x.label === "func.def");
2460
+ return q.relevance = 0, Object.assign(p, {
2461
+ name: "TypeScript",
2462
+ aliases: [
2463
+ "ts",
2464
+ "tsx",
2465
+ "mts",
2466
+ "cts"
2467
+ ]
2468
+ }), p;
2469
+ }
2470
+ function ft(r) {
2471
+ const g = r.regex, p = g.concat(/[\p{L}_]/u, g.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), u = /[\p{L}0-9._:-]+/u, C = {
2472
+ className: "symbol",
2473
+ begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
2474
+ }, B = {
2475
+ begin: /\s/,
2476
+ contains: [
2477
+ {
2478
+ className: "keyword",
2479
+ begin: /#?[a-z_][a-z1-9_-]+/,
2480
+ illegal: /\n/
2481
+ }
2482
+ ]
2483
+ }, w = r.inherit(B, {
2484
+ begin: /\(/,
2485
+ end: /\)/
2486
+ }), S = r.inherit(r.APOS_STRING_MODE, { className: "string" }), P = r.inherit(r.QUOTE_STRING_MODE, { className: "string" }), M = {
2487
+ endsWithParent: !0,
2488
+ illegal: /</,
2489
+ relevance: 0,
2490
+ contains: [
2491
+ {
2492
+ className: "attr",
2493
+ begin: u,
2494
+ relevance: 0
2495
+ },
2496
+ {
2497
+ begin: /=\s*/,
2498
+ relevance: 0,
2499
+ contains: [
2500
+ {
2501
+ className: "string",
2502
+ endsParent: !0,
2503
+ variants: [
2504
+ {
2505
+ begin: /"/,
2506
+ end: /"/,
2507
+ contains: [C]
2508
+ },
2509
+ {
2510
+ begin: /'/,
2511
+ end: /'/,
2512
+ contains: [C]
2513
+ },
2514
+ { begin: /[^\s"'=<>`]+/ }
2515
+ ]
2516
+ }
2517
+ ]
2518
+ }
2519
+ ]
2520
+ };
2521
+ return {
2522
+ name: "HTML, XML",
2523
+ aliases: [
2524
+ "html",
2525
+ "xhtml",
2526
+ "rss",
2527
+ "atom",
2528
+ "xjb",
2529
+ "xsd",
2530
+ "xsl",
2531
+ "plist",
2532
+ "wsf",
2533
+ "svg"
2534
+ ],
2535
+ case_insensitive: !0,
2536
+ unicodeRegex: !0,
2537
+ contains: [
2538
+ {
2539
+ className: "meta",
2540
+ begin: /<![a-z]/,
2541
+ end: />/,
2542
+ relevance: 10,
2543
+ contains: [
2544
+ B,
2545
+ P,
2546
+ S,
2547
+ w,
2548
+ {
2549
+ begin: /\[/,
2550
+ end: /\]/,
2551
+ contains: [
2552
+ {
2553
+ className: "meta",
2554
+ begin: /<![a-z]/,
2555
+ end: />/,
2556
+ contains: [
2557
+ B,
2558
+ w,
2559
+ P,
2560
+ S
2561
+ ]
2562
+ }
2563
+ ]
2564
+ }
2565
+ ]
2566
+ },
2567
+ r.COMMENT(
2568
+ /<!--/,
2569
+ /-->/,
2570
+ { relevance: 10 }
2571
+ ),
2572
+ {
2573
+ begin: /<!\[CDATA\[/,
2574
+ end: /\]\]>/,
2575
+ relevance: 10
2576
+ },
2577
+ C,
2578
+ // xml processing instructions
2579
+ {
2580
+ className: "meta",
2581
+ end: /\?>/,
2582
+ variants: [
2583
+ {
2584
+ begin: /<\?xml/,
2585
+ relevance: 10,
2586
+ contains: [
2587
+ P
2588
+ ]
2589
+ },
2590
+ {
2591
+ begin: /<\?[a-z][a-z0-9]+/
2592
+ }
2593
+ ]
2594
+ },
2595
+ {
2596
+ className: "tag",
2597
+ /*
2598
+ The lookahead pattern (?=...) ensures that 'begin' only matches
2599
+ '<style' as a single word, followed by a whitespace or an
2600
+ ending bracket.
2601
+ */
2602
+ begin: /<style(?=\s|>)/,
2603
+ end: />/,
2604
+ keywords: { name: "style" },
2605
+ contains: [M],
2606
+ starts: {
2607
+ end: /<\/style>/,
2608
+ returnEnd: !0,
2609
+ subLanguage: [
2610
+ "css",
2611
+ "xml"
2612
+ ]
2613
+ }
2614
+ },
2615
+ {
2616
+ className: "tag",
2617
+ // See the comment in the <style tag about the lookahead pattern
2618
+ begin: /<script(?=\s|>)/,
2619
+ end: />/,
2620
+ keywords: { name: "script" },
2621
+ contains: [M],
2622
+ starts: {
2623
+ end: /<\/script>/,
2624
+ returnEnd: !0,
2625
+ subLanguage: [
2626
+ "javascript",
2627
+ "handlebars",
2628
+ "xml"
2629
+ ]
2630
+ }
2631
+ },
2632
+ // we need this for now for jSX
2633
+ {
2634
+ className: "tag",
2635
+ begin: /<>|<\/>/
2636
+ },
2637
+ // open tag
2638
+ {
2639
+ className: "tag",
2640
+ begin: g.concat(
2641
+ /</,
2642
+ g.lookahead(g.concat(
2643
+ p,
2644
+ // <tag/>
2645
+ // <tag>
2646
+ // <tag ...
2647
+ g.either(/\/>/, />/, /\s/)
2648
+ ))
2649
+ ),
2650
+ end: /\/?>/,
2651
+ contains: [
2652
+ {
2653
+ className: "name",
2654
+ begin: p,
2655
+ relevance: 0,
2656
+ starts: M
2657
+ }
2658
+ ]
2659
+ },
2660
+ // close tag
2661
+ {
2662
+ className: "tag",
2663
+ begin: g.concat(
2664
+ /<\//,
2665
+ g.lookahead(g.concat(
2666
+ p,
2667
+ />/
2668
+ ))
2669
+ ),
2670
+ contains: [
2671
+ {
2672
+ className: "name",
2673
+ begin: p,
2674
+ relevance: 0
2675
+ },
2676
+ {
2677
+ begin: />/,
2678
+ relevance: 0,
2679
+ endsParent: !0
2680
+ }
2681
+ ]
2682
+ }
2683
+ ]
2684
+ };
2685
+ }
2686
+ const bt = (r) => ({
2687
+ IMPORTANT: {
2688
+ scope: "meta",
2689
+ begin: "!important"
2690
+ },
2691
+ BLOCK_COMMENT: r.C_BLOCK_COMMENT_MODE,
2692
+ HEXCOLOR: {
2693
+ scope: "number",
2694
+ begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
2695
+ },
2696
+ FUNCTION_DISPATCH: {
2697
+ className: "built_in",
2698
+ begin: /[\w-]+(?=\()/
2699
+ },
2700
+ ATTRIBUTE_SELECTOR_MODE: {
2701
+ scope: "selector-attr",
2702
+ begin: /\[/,
2703
+ end: /\]/,
2704
+ illegal: "$",
2705
+ contains: [
2706
+ r.APOS_STRING_MODE,
2707
+ r.QUOTE_STRING_MODE
2708
+ ]
2709
+ },
2710
+ CSS_NUMBER_MODE: {
2711
+ scope: "number",
2712
+ begin: r.NUMBER_RE + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
2713
+ relevance: 0
2714
+ },
2715
+ CSS_VARIABLE: {
2716
+ className: "attr",
2717
+ begin: /--[A-Za-z_][A-Za-z0-9_-]*/
2718
+ }
2719
+ }), pt = [
2720
+ "a",
2721
+ "abbr",
2722
+ "address",
2723
+ "article",
2724
+ "aside",
2725
+ "audio",
2726
+ "b",
2727
+ "blockquote",
2728
+ "body",
2729
+ "button",
2730
+ "canvas",
2731
+ "caption",
2732
+ "cite",
2733
+ "code",
2734
+ "dd",
2735
+ "del",
2736
+ "details",
2737
+ "dfn",
2738
+ "div",
2739
+ "dl",
2740
+ "dt",
2741
+ "em",
2742
+ "fieldset",
2743
+ "figcaption",
2744
+ "figure",
2745
+ "footer",
2746
+ "form",
2747
+ "h1",
2748
+ "h2",
2749
+ "h3",
2750
+ "h4",
2751
+ "h5",
2752
+ "h6",
2753
+ "header",
2754
+ "hgroup",
2755
+ "html",
2756
+ "i",
2757
+ "iframe",
2758
+ "img",
2759
+ "input",
2760
+ "ins",
2761
+ "kbd",
2762
+ "label",
2763
+ "legend",
2764
+ "li",
2765
+ "main",
2766
+ "mark",
2767
+ "menu",
2768
+ "nav",
2769
+ "object",
2770
+ "ol",
2771
+ "optgroup",
2772
+ "option",
2773
+ "p",
2774
+ "picture",
2775
+ "q",
2776
+ "quote",
2777
+ "samp",
2778
+ "section",
2779
+ "select",
2780
+ "source",
2781
+ "span",
2782
+ "strong",
2783
+ "summary",
2784
+ "sup",
2785
+ "table",
2786
+ "tbody",
2787
+ "td",
2788
+ "textarea",
2789
+ "tfoot",
2790
+ "th",
2791
+ "thead",
2792
+ "time",
2793
+ "tr",
2794
+ "ul",
2795
+ "var",
2796
+ "video"
2797
+ ], ht = [
2798
+ "defs",
2799
+ "g",
2800
+ "marker",
2801
+ "mask",
2802
+ "pattern",
2803
+ "svg",
2804
+ "switch",
2805
+ "symbol",
2806
+ "feBlend",
2807
+ "feColorMatrix",
2808
+ "feComponentTransfer",
2809
+ "feComposite",
2810
+ "feConvolveMatrix",
2811
+ "feDiffuseLighting",
2812
+ "feDisplacementMap",
2813
+ "feFlood",
2814
+ "feGaussianBlur",
2815
+ "feImage",
2816
+ "feMerge",
2817
+ "feMorphology",
2818
+ "feOffset",
2819
+ "feSpecularLighting",
2820
+ "feTile",
2821
+ "feTurbulence",
2822
+ "linearGradient",
2823
+ "radialGradient",
2824
+ "stop",
2825
+ "circle",
2826
+ "ellipse",
2827
+ "image",
2828
+ "line",
2829
+ "path",
2830
+ "polygon",
2831
+ "polyline",
2832
+ "rect",
2833
+ "text",
2834
+ "use",
2835
+ "textPath",
2836
+ "tspan",
2837
+ "foreignObject",
2838
+ "clipPath"
2839
+ ], Et = [
2840
+ ...pt,
2841
+ ...ht
2842
+ ], mt = [
2843
+ "any-hover",
2844
+ "any-pointer",
2845
+ "aspect-ratio",
2846
+ "color",
2847
+ "color-gamut",
2848
+ "color-index",
2849
+ "device-aspect-ratio",
2850
+ "device-height",
2851
+ "device-width",
2852
+ "display-mode",
2853
+ "forced-colors",
2854
+ "grid",
2855
+ "height",
2856
+ "hover",
2857
+ "inverted-colors",
2858
+ "monochrome",
2859
+ "orientation",
2860
+ "overflow-block",
2861
+ "overflow-inline",
2862
+ "pointer",
2863
+ "prefers-color-scheme",
2864
+ "prefers-contrast",
2865
+ "prefers-reduced-motion",
2866
+ "prefers-reduced-transparency",
2867
+ "resolution",
2868
+ "scan",
2869
+ "scripting",
2870
+ "update",
2871
+ "width",
2872
+ // TODO: find a better solution?
2873
+ "min-width",
2874
+ "max-width",
2875
+ "min-height",
2876
+ "max-height"
2877
+ ].sort().reverse(), _t = [
2878
+ "active",
2879
+ "any-link",
2880
+ "blank",
2881
+ "checked",
2882
+ "current",
2883
+ "default",
2884
+ "defined",
2885
+ "dir",
2886
+ // dir()
2887
+ "disabled",
2888
+ "drop",
2889
+ "empty",
2890
+ "enabled",
2891
+ "first",
2892
+ "first-child",
2893
+ "first-of-type",
2894
+ "fullscreen",
2895
+ "future",
2896
+ "focus",
2897
+ "focus-visible",
2898
+ "focus-within",
2899
+ "has",
2900
+ // has()
2901
+ "host",
2902
+ // host or host()
2903
+ "host-context",
2904
+ // host-context()
2905
+ "hover",
2906
+ "indeterminate",
2907
+ "in-range",
2908
+ "invalid",
2909
+ "is",
2910
+ // is()
2911
+ "lang",
2912
+ // lang()
2913
+ "last-child",
2914
+ "last-of-type",
2915
+ "left",
2916
+ "link",
2917
+ "local-link",
2918
+ "not",
2919
+ // not()
2920
+ "nth-child",
2921
+ // nth-child()
2922
+ "nth-col",
2923
+ // nth-col()
2924
+ "nth-last-child",
2925
+ // nth-last-child()
2926
+ "nth-last-col",
2927
+ // nth-last-col()
2928
+ "nth-last-of-type",
2929
+ //nth-last-of-type()
2930
+ "nth-of-type",
2931
+ //nth-of-type()
2932
+ "only-child",
2933
+ "only-of-type",
2934
+ "optional",
2935
+ "out-of-range",
2936
+ "past",
2937
+ "placeholder-shown",
2938
+ "read-only",
2939
+ "read-write",
2940
+ "required",
2941
+ "right",
2942
+ "root",
2943
+ "scope",
2944
+ "target",
2945
+ "target-within",
2946
+ "user-invalid",
2947
+ "valid",
2948
+ "visited",
2949
+ "where"
2950
+ // where()
2951
+ ].sort().reverse(), yt = [
2952
+ "after",
2953
+ "backdrop",
2954
+ "before",
2955
+ "cue",
2956
+ "cue-region",
2957
+ "first-letter",
2958
+ "first-line",
2959
+ "grammar-error",
2960
+ "marker",
2961
+ "part",
2962
+ "placeholder",
2963
+ "selection",
2964
+ "slotted",
2965
+ "spelling-error"
2966
+ ].sort().reverse(), Nt = [
2967
+ "accent-color",
2968
+ "align-content",
2969
+ "align-items",
2970
+ "align-self",
2971
+ "alignment-baseline",
2972
+ "all",
2973
+ "anchor-name",
2974
+ "animation",
2975
+ "animation-composition",
2976
+ "animation-delay",
2977
+ "animation-direction",
2978
+ "animation-duration",
2979
+ "animation-fill-mode",
2980
+ "animation-iteration-count",
2981
+ "animation-name",
2982
+ "animation-play-state",
2983
+ "animation-range",
2984
+ "animation-range-end",
2985
+ "animation-range-start",
2986
+ "animation-timeline",
2987
+ "animation-timing-function",
2988
+ "appearance",
2989
+ "aspect-ratio",
2990
+ "backdrop-filter",
2991
+ "backface-visibility",
2992
+ "background",
2993
+ "background-attachment",
2994
+ "background-blend-mode",
2995
+ "background-clip",
2996
+ "background-color",
2997
+ "background-image",
2998
+ "background-origin",
2999
+ "background-position",
3000
+ "background-position-x",
3001
+ "background-position-y",
3002
+ "background-repeat",
3003
+ "background-size",
3004
+ "baseline-shift",
3005
+ "block-size",
3006
+ "border",
3007
+ "border-block",
3008
+ "border-block-color",
3009
+ "border-block-end",
3010
+ "border-block-end-color",
3011
+ "border-block-end-style",
3012
+ "border-block-end-width",
3013
+ "border-block-start",
3014
+ "border-block-start-color",
3015
+ "border-block-start-style",
3016
+ "border-block-start-width",
3017
+ "border-block-style",
3018
+ "border-block-width",
3019
+ "border-bottom",
3020
+ "border-bottom-color",
3021
+ "border-bottom-left-radius",
3022
+ "border-bottom-right-radius",
3023
+ "border-bottom-style",
3024
+ "border-bottom-width",
3025
+ "border-collapse",
3026
+ "border-color",
3027
+ "border-end-end-radius",
3028
+ "border-end-start-radius",
3029
+ "border-image",
3030
+ "border-image-outset",
3031
+ "border-image-repeat",
3032
+ "border-image-slice",
3033
+ "border-image-source",
3034
+ "border-image-width",
3035
+ "border-inline",
3036
+ "border-inline-color",
3037
+ "border-inline-end",
3038
+ "border-inline-end-color",
3039
+ "border-inline-end-style",
3040
+ "border-inline-end-width",
3041
+ "border-inline-start",
3042
+ "border-inline-start-color",
3043
+ "border-inline-start-style",
3044
+ "border-inline-start-width",
3045
+ "border-inline-style",
3046
+ "border-inline-width",
3047
+ "border-left",
3048
+ "border-left-color",
3049
+ "border-left-style",
3050
+ "border-left-width",
3051
+ "border-radius",
3052
+ "border-right",
3053
+ "border-right-color",
3054
+ "border-right-style",
3055
+ "border-right-width",
3056
+ "border-spacing",
3057
+ "border-start-end-radius",
3058
+ "border-start-start-radius",
3059
+ "border-style",
3060
+ "border-top",
3061
+ "border-top-color",
3062
+ "border-top-left-radius",
3063
+ "border-top-right-radius",
3064
+ "border-top-style",
3065
+ "border-top-width",
3066
+ "border-width",
3067
+ "bottom",
3068
+ "box-align",
3069
+ "box-decoration-break",
3070
+ "box-direction",
3071
+ "box-flex",
3072
+ "box-flex-group",
3073
+ "box-lines",
3074
+ "box-ordinal-group",
3075
+ "box-orient",
3076
+ "box-pack",
3077
+ "box-shadow",
3078
+ "box-sizing",
3079
+ "break-after",
3080
+ "break-before",
3081
+ "break-inside",
3082
+ "caption-side",
3083
+ "caret-color",
3084
+ "clear",
3085
+ "clip",
3086
+ "clip-path",
3087
+ "clip-rule",
3088
+ "color",
3089
+ "color-interpolation",
3090
+ "color-interpolation-filters",
3091
+ "color-profile",
3092
+ "color-rendering",
3093
+ "color-scheme",
3094
+ "column-count",
3095
+ "column-fill",
3096
+ "column-gap",
3097
+ "column-rule",
3098
+ "column-rule-color",
3099
+ "column-rule-style",
3100
+ "column-rule-width",
3101
+ "column-span",
3102
+ "column-width",
3103
+ "columns",
3104
+ "contain",
3105
+ "contain-intrinsic-block-size",
3106
+ "contain-intrinsic-height",
3107
+ "contain-intrinsic-inline-size",
3108
+ "contain-intrinsic-size",
3109
+ "contain-intrinsic-width",
3110
+ "container",
3111
+ "container-name",
3112
+ "container-type",
3113
+ "content",
3114
+ "content-visibility",
3115
+ "counter-increment",
3116
+ "counter-reset",
3117
+ "counter-set",
3118
+ "cue",
3119
+ "cue-after",
3120
+ "cue-before",
3121
+ "cursor",
3122
+ "cx",
3123
+ "cy",
3124
+ "direction",
3125
+ "display",
3126
+ "dominant-baseline",
3127
+ "empty-cells",
3128
+ "enable-background",
3129
+ "field-sizing",
3130
+ "fill",
3131
+ "fill-opacity",
3132
+ "fill-rule",
3133
+ "filter",
3134
+ "flex",
3135
+ "flex-basis",
3136
+ "flex-direction",
3137
+ "flex-flow",
3138
+ "flex-grow",
3139
+ "flex-shrink",
3140
+ "flex-wrap",
3141
+ "float",
3142
+ "flood-color",
3143
+ "flood-opacity",
3144
+ "flow",
3145
+ "font",
3146
+ "font-display",
3147
+ "font-family",
3148
+ "font-feature-settings",
3149
+ "font-kerning",
3150
+ "font-language-override",
3151
+ "font-optical-sizing",
3152
+ "font-palette",
3153
+ "font-size",
3154
+ "font-size-adjust",
3155
+ "font-smooth",
3156
+ "font-smoothing",
3157
+ "font-stretch",
3158
+ "font-style",
3159
+ "font-synthesis",
3160
+ "font-synthesis-position",
3161
+ "font-synthesis-small-caps",
3162
+ "font-synthesis-style",
3163
+ "font-synthesis-weight",
3164
+ "font-variant",
3165
+ "font-variant-alternates",
3166
+ "font-variant-caps",
3167
+ "font-variant-east-asian",
3168
+ "font-variant-emoji",
3169
+ "font-variant-ligatures",
3170
+ "font-variant-numeric",
3171
+ "font-variant-position",
3172
+ "font-variation-settings",
3173
+ "font-weight",
3174
+ "forced-color-adjust",
3175
+ "gap",
3176
+ "glyph-orientation-horizontal",
3177
+ "glyph-orientation-vertical",
3178
+ "grid",
3179
+ "grid-area",
3180
+ "grid-auto-columns",
3181
+ "grid-auto-flow",
3182
+ "grid-auto-rows",
3183
+ "grid-column",
3184
+ "grid-column-end",
3185
+ "grid-column-start",
3186
+ "grid-gap",
3187
+ "grid-row",
3188
+ "grid-row-end",
3189
+ "grid-row-start",
3190
+ "grid-template",
3191
+ "grid-template-areas",
3192
+ "grid-template-columns",
3193
+ "grid-template-rows",
3194
+ "hanging-punctuation",
3195
+ "height",
3196
+ "hyphenate-character",
3197
+ "hyphenate-limit-chars",
3198
+ "hyphens",
3199
+ "icon",
3200
+ "image-orientation",
3201
+ "image-rendering",
3202
+ "image-resolution",
3203
+ "ime-mode",
3204
+ "initial-letter",
3205
+ "initial-letter-align",
3206
+ "inline-size",
3207
+ "inset",
3208
+ "inset-area",
3209
+ "inset-block",
3210
+ "inset-block-end",
3211
+ "inset-block-start",
3212
+ "inset-inline",
3213
+ "inset-inline-end",
3214
+ "inset-inline-start",
3215
+ "isolation",
3216
+ "justify-content",
3217
+ "justify-items",
3218
+ "justify-self",
3219
+ "kerning",
3220
+ "left",
3221
+ "letter-spacing",
3222
+ "lighting-color",
3223
+ "line-break",
3224
+ "line-height",
3225
+ "line-height-step",
3226
+ "list-style",
3227
+ "list-style-image",
3228
+ "list-style-position",
3229
+ "list-style-type",
3230
+ "margin",
3231
+ "margin-block",
3232
+ "margin-block-end",
3233
+ "margin-block-start",
3234
+ "margin-bottom",
3235
+ "margin-inline",
3236
+ "margin-inline-end",
3237
+ "margin-inline-start",
3238
+ "margin-left",
3239
+ "margin-right",
3240
+ "margin-top",
3241
+ "margin-trim",
3242
+ "marker",
3243
+ "marker-end",
3244
+ "marker-mid",
3245
+ "marker-start",
3246
+ "marks",
3247
+ "mask",
3248
+ "mask-border",
3249
+ "mask-border-mode",
3250
+ "mask-border-outset",
3251
+ "mask-border-repeat",
3252
+ "mask-border-slice",
3253
+ "mask-border-source",
3254
+ "mask-border-width",
3255
+ "mask-clip",
3256
+ "mask-composite",
3257
+ "mask-image",
3258
+ "mask-mode",
3259
+ "mask-origin",
3260
+ "mask-position",
3261
+ "mask-repeat",
3262
+ "mask-size",
3263
+ "mask-type",
3264
+ "masonry-auto-flow",
3265
+ "math-depth",
3266
+ "math-shift",
3267
+ "math-style",
3268
+ "max-block-size",
3269
+ "max-height",
3270
+ "max-inline-size",
3271
+ "max-width",
3272
+ "min-block-size",
3273
+ "min-height",
3274
+ "min-inline-size",
3275
+ "min-width",
3276
+ "mix-blend-mode",
3277
+ "nav-down",
3278
+ "nav-index",
3279
+ "nav-left",
3280
+ "nav-right",
3281
+ "nav-up",
3282
+ "none",
3283
+ "normal",
3284
+ "object-fit",
3285
+ "object-position",
3286
+ "offset",
3287
+ "offset-anchor",
3288
+ "offset-distance",
3289
+ "offset-path",
3290
+ "offset-position",
3291
+ "offset-rotate",
3292
+ "opacity",
3293
+ "order",
3294
+ "orphans",
3295
+ "outline",
3296
+ "outline-color",
3297
+ "outline-offset",
3298
+ "outline-style",
3299
+ "outline-width",
3300
+ "overflow",
3301
+ "overflow-anchor",
3302
+ "overflow-block",
3303
+ "overflow-clip-margin",
3304
+ "overflow-inline",
3305
+ "overflow-wrap",
3306
+ "overflow-x",
3307
+ "overflow-y",
3308
+ "overlay",
3309
+ "overscroll-behavior",
3310
+ "overscroll-behavior-block",
3311
+ "overscroll-behavior-inline",
3312
+ "overscroll-behavior-x",
3313
+ "overscroll-behavior-y",
3314
+ "padding",
3315
+ "padding-block",
3316
+ "padding-block-end",
3317
+ "padding-block-start",
3318
+ "padding-bottom",
3319
+ "padding-inline",
3320
+ "padding-inline-end",
3321
+ "padding-inline-start",
3322
+ "padding-left",
3323
+ "padding-right",
3324
+ "padding-top",
3325
+ "page",
3326
+ "page-break-after",
3327
+ "page-break-before",
3328
+ "page-break-inside",
3329
+ "paint-order",
3330
+ "pause",
3331
+ "pause-after",
3332
+ "pause-before",
3333
+ "perspective",
3334
+ "perspective-origin",
3335
+ "place-content",
3336
+ "place-items",
3337
+ "place-self",
3338
+ "pointer-events",
3339
+ "position",
3340
+ "position-anchor",
3341
+ "position-visibility",
3342
+ "print-color-adjust",
3343
+ "quotes",
3344
+ "r",
3345
+ "resize",
3346
+ "rest",
3347
+ "rest-after",
3348
+ "rest-before",
3349
+ "right",
3350
+ "rotate",
3351
+ "row-gap",
3352
+ "ruby-align",
3353
+ "ruby-position",
3354
+ "scale",
3355
+ "scroll-behavior",
3356
+ "scroll-margin",
3357
+ "scroll-margin-block",
3358
+ "scroll-margin-block-end",
3359
+ "scroll-margin-block-start",
3360
+ "scroll-margin-bottom",
3361
+ "scroll-margin-inline",
3362
+ "scroll-margin-inline-end",
3363
+ "scroll-margin-inline-start",
3364
+ "scroll-margin-left",
3365
+ "scroll-margin-right",
3366
+ "scroll-margin-top",
3367
+ "scroll-padding",
3368
+ "scroll-padding-block",
3369
+ "scroll-padding-block-end",
3370
+ "scroll-padding-block-start",
3371
+ "scroll-padding-bottom",
3372
+ "scroll-padding-inline",
3373
+ "scroll-padding-inline-end",
3374
+ "scroll-padding-inline-start",
3375
+ "scroll-padding-left",
3376
+ "scroll-padding-right",
3377
+ "scroll-padding-top",
3378
+ "scroll-snap-align",
3379
+ "scroll-snap-stop",
3380
+ "scroll-snap-type",
3381
+ "scroll-timeline",
3382
+ "scroll-timeline-axis",
3383
+ "scroll-timeline-name",
3384
+ "scrollbar-color",
3385
+ "scrollbar-gutter",
3386
+ "scrollbar-width",
3387
+ "shape-image-threshold",
3388
+ "shape-margin",
3389
+ "shape-outside",
3390
+ "shape-rendering",
3391
+ "speak",
3392
+ "speak-as",
3393
+ "src",
3394
+ // @font-face
3395
+ "stop-color",
3396
+ "stop-opacity",
3397
+ "stroke",
3398
+ "stroke-dasharray",
3399
+ "stroke-dashoffset",
3400
+ "stroke-linecap",
3401
+ "stroke-linejoin",
3402
+ "stroke-miterlimit",
3403
+ "stroke-opacity",
3404
+ "stroke-width",
3405
+ "tab-size",
3406
+ "table-layout",
3407
+ "text-align",
3408
+ "text-align-all",
3409
+ "text-align-last",
3410
+ "text-anchor",
3411
+ "text-combine-upright",
3412
+ "text-decoration",
3413
+ "text-decoration-color",
3414
+ "text-decoration-line",
3415
+ "text-decoration-skip",
3416
+ "text-decoration-skip-ink",
3417
+ "text-decoration-style",
3418
+ "text-decoration-thickness",
3419
+ "text-emphasis",
3420
+ "text-emphasis-color",
3421
+ "text-emphasis-position",
3422
+ "text-emphasis-style",
3423
+ "text-indent",
3424
+ "text-justify",
3425
+ "text-orientation",
3426
+ "text-overflow",
3427
+ "text-rendering",
3428
+ "text-shadow",
3429
+ "text-size-adjust",
3430
+ "text-transform",
3431
+ "text-underline-offset",
3432
+ "text-underline-position",
3433
+ "text-wrap",
3434
+ "text-wrap-mode",
3435
+ "text-wrap-style",
3436
+ "timeline-scope",
3437
+ "top",
3438
+ "touch-action",
3439
+ "transform",
3440
+ "transform-box",
3441
+ "transform-origin",
3442
+ "transform-style",
3443
+ "transition",
3444
+ "transition-behavior",
3445
+ "transition-delay",
3446
+ "transition-duration",
3447
+ "transition-property",
3448
+ "transition-timing-function",
3449
+ "translate",
3450
+ "unicode-bidi",
3451
+ "user-modify",
3452
+ "user-select",
3453
+ "vector-effect",
3454
+ "vertical-align",
3455
+ "view-timeline",
3456
+ "view-timeline-axis",
3457
+ "view-timeline-inset",
3458
+ "view-timeline-name",
3459
+ "view-transition-name",
3460
+ "visibility",
3461
+ "voice-balance",
3462
+ "voice-duration",
3463
+ "voice-family",
3464
+ "voice-pitch",
3465
+ "voice-range",
3466
+ "voice-rate",
3467
+ "voice-stress",
3468
+ "voice-volume",
3469
+ "white-space",
3470
+ "white-space-collapse",
3471
+ "widows",
3472
+ "width",
3473
+ "will-change",
3474
+ "word-break",
3475
+ "word-spacing",
3476
+ "word-wrap",
3477
+ "writing-mode",
3478
+ "x",
3479
+ "y",
3480
+ "z-index",
3481
+ "zoom"
3482
+ ].sort().reverse();
3483
+ function St(r) {
3484
+ const g = r.regex, p = bt(r), u = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, C = "and or not only", B = /@-?\w[\w]*(-\w+)*/, w = "[a-zA-Z-][a-zA-Z0-9_-]*", S = [
3485
+ r.APOS_STRING_MODE,
3486
+ r.QUOTE_STRING_MODE
3487
+ ];
3488
+ return {
3489
+ name: "CSS",
3490
+ case_insensitive: !0,
3491
+ illegal: /[=|'\$]/,
3492
+ keywords: { keyframePosition: "from to" },
3493
+ classNameAliases: {
3494
+ // for visual continuity with `tag {}` and because we
3495
+ // don't have a great class for this?
3496
+ keyframePosition: "selector-tag"
3497
+ },
3498
+ contains: [
3499
+ p.BLOCK_COMMENT,
3500
+ u,
3501
+ // to recognize keyframe 40% etc which are outside the scope of our
3502
+ // attribute value mode
3503
+ p.CSS_NUMBER_MODE,
3504
+ {
3505
+ className: "selector-id",
3506
+ begin: /#[A-Za-z0-9_-]+/,
3507
+ relevance: 0
3508
+ },
3509
+ {
3510
+ className: "selector-class",
3511
+ begin: "\\." + w,
3512
+ relevance: 0
3513
+ },
3514
+ p.ATTRIBUTE_SELECTOR_MODE,
3515
+ {
3516
+ className: "selector-pseudo",
3517
+ variants: [
3518
+ { begin: ":(" + _t.join("|") + ")" },
3519
+ { begin: ":(:)?(" + yt.join("|") + ")" }
3520
+ ]
3521
+ },
3522
+ // we may actually need this (12/2020)
3523
+ // { // pseudo-selector params
3524
+ // begin: /\(/,
3525
+ // end: /\)/,
3526
+ // contains: [ hljs.CSS_NUMBER_MODE ]
3527
+ // },
3528
+ p.CSS_VARIABLE,
3529
+ {
3530
+ className: "attribute",
3531
+ begin: "\\b(" + Nt.join("|") + ")\\b"
3532
+ },
3533
+ // attribute values
3534
+ {
3535
+ begin: /:/,
3536
+ end: /[;}{]/,
3537
+ contains: [
3538
+ p.BLOCK_COMMENT,
3539
+ p.HEXCOLOR,
3540
+ p.IMPORTANT,
3541
+ p.CSS_NUMBER_MODE,
3542
+ ...S,
3543
+ // needed to highlight these as strings and to avoid issues with
3544
+ // illegal characters that might be inside urls that would tigger the
3545
+ // languages illegal stack
3546
+ {
3547
+ begin: /(url|data-uri)\(/,
3548
+ end: /\)/,
3549
+ relevance: 0,
3550
+ // from keywords
3551
+ keywords: { built_in: "url data-uri" },
3552
+ contains: [
3553
+ ...S,
3554
+ {
3555
+ className: "string",
3556
+ // any character other than `)` as in `url()` will be the start
3557
+ // of a string, which ends with `)` (from the parent mode)
3558
+ begin: /[^)]/,
3559
+ endsWithParent: !0,
3560
+ excludeEnd: !0
3561
+ }
3562
+ ]
3563
+ },
3564
+ p.FUNCTION_DISPATCH
3565
+ ]
3566
+ },
3567
+ {
3568
+ begin: g.lookahead(/@/),
3569
+ end: "[{;]",
3570
+ relevance: 0,
3571
+ illegal: /:/,
3572
+ // break on Less variables @var: ...
3573
+ contains: [
3574
+ {
3575
+ className: "keyword",
3576
+ begin: B
3577
+ },
3578
+ {
3579
+ begin: /\s/,
3580
+ endsWithParent: !0,
3581
+ excludeEnd: !0,
3582
+ relevance: 0,
3583
+ keywords: {
3584
+ $pattern: /[a-z-]+/,
3585
+ keyword: C,
3586
+ attribute: mt.join(" ")
3587
+ },
3588
+ contains: [
3589
+ {
3590
+ begin: /[a-z-]+(?=:)/,
3591
+ className: "attribute"
3592
+ },
3593
+ ...S,
3594
+ p.CSS_NUMBER_MODE
3595
+ ]
3596
+ }
3597
+ ]
3598
+ },
3599
+ {
3600
+ className: "selector-tag",
3601
+ begin: "\\b(" + Et.join("|") + ")\\b"
3602
+ }
3603
+ ]
3604
+ };
3605
+ }
3606
+ Se.registerLanguage("javascript", ut);
3607
+ Se.registerLanguage("typescript", gt);
3608
+ Se.registerLanguage("xml", ft);
3609
+ Se.registerLanguage("css", St);
3610
+ const At = {
3611
+ bind: (r, g) => {
3612
+ const p = r.querySelectorAll("code");
3613
+ p.length > 0 && p.forEach((u) => {
3614
+ typeof g.value == "string" && (u.textContent = g.value), Se.highlightElement(u);
3615
+ });
3616
+ }
3617
+ }, wt = "clHighlight", xt = () => ({
3618
+ deep: !0,
3619
+ beforeMount: At.bind
3620
+ });
3621
+ export {
3622
+ xt as directive,
3623
+ wt as name
3624
+ };
3625
+ //# sourceMappingURL=Highlight.js.map