@cldemo/ui-kit 1.0.6 → 1.0.7
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.
- package/package.json +1 -1
- package/buildLibs/all/index.cjs +0 -99
- package/buildLibs/all/index.cjs.map +0 -1
- package/buildLibs/all/index.d.ts +0 -83
- package/buildLibs/all/index.js +0 -168
- package/buildLibs/all/index.js.map +0 -1
- package/buildLibs/common/Element/Event/drag.d.ts +0 -24
- package/buildLibs/common/Element/Event/index.d.ts +0 -9
- package/buildLibs/common/Element/Event/resize.d.ts +0 -20
- package/buildLibs/common/Element/index.d.ts +0 -104
- package/buildLibs/common/Element_Event_drag-DeZYlveu.js +0 -430
- package/buildLibs/common/Element_Event_drag-DeZYlveu.js.map +0 -1
- package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs +0 -3
- package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs.map +0 -1
- package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs +0 -2
- package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs.map +0 -1
- package/buildLibs/common/Element_Event_resize-DqH_UT2k.js +0 -49
- package/buildLibs/common/Element_Event_resize-DqH_UT2k.js.map +0 -1
- package/buildLibs/common/Tools/animateEasing.d.ts +0 -27
- package/buildLibs/common/Tools/cookie.d.ts +0 -8
- package/buildLibs/common/Tools/delayFun.d.ts +0 -9
- package/buildLibs/common/Tools/index.d.ts +0 -15
- package/buildLibs/common/Tools/localStorage.d.ts +0 -9
- package/buildLibs/common/Tools/number.d.ts +0 -8
- package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs +0 -2
- package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs.map +0 -1
- package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js +0 -50
- package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js.map +0 -1
- package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs +0 -2
- package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs.map +0 -1
- package/buildLibs/common/Tools_cookie-DKctMXdK.js +0 -31
- package/buildLibs/common/Tools_cookie-DKctMXdK.js.map +0 -1
- package/buildLibs/common/Tools_delayFun-CA1ktv1L.js +0 -21
- package/buildLibs/common/Tools_delayFun-CA1ktv1L.js.map +0 -1
- package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs +0 -2
- package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs.map +0 -1
- package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs +0 -2
- package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs.map +0 -1
- package/buildLibs/common/Tools_localStorage-DVvhtzhL.js +0 -48
- package/buildLibs/common/Tools_localStorage-DVvhtzhL.js.map +0 -1
- package/buildLibs/common/Tools_number-Bh6hGO5U.cjs +0 -2
- package/buildLibs/common/Tools_number-Bh6hGO5U.cjs.map +0 -1
- package/buildLibs/common/Tools_number-C_MjN473.js +0 -22
- package/buildLibs/common/Tools_number-C_MjN473.js.map +0 -1
- package/buildLibs/common/axios-DZoeNi6y.cjs +0 -2
- package/buildLibs/common/axios-DZoeNi6y.cjs.map +0 -1
- package/buildLibs/common/axios-DqkFEq4Y.js +0 -242
- package/buildLibs/common/axios-DqkFEq4Y.js.map +0 -1
- package/buildLibs/common/axios.d.ts +0 -28
- package/buildLibs/common/base-PQGakkrl.js +0 -808
- package/buildLibs/common/base-PQGakkrl.js.map +0 -1
- package/buildLibs/common/base-iCmnU-fv.cjs +0 -2
- package/buildLibs/common/base-iCmnU-fv.cjs.map +0 -1
- package/buildLibs/common/base.d.ts +0 -222
- package/buildLibs/common/day-BzMalBXj.cjs +0 -2
- package/buildLibs/common/day-BzMalBXj.cjs.map +0 -1
- package/buildLibs/common/day-Dm_AnEZp.js +0 -75
- package/buildLibs/common/day-Dm_AnEZp.js.map +0 -1
- package/buildLibs/common/day.d.ts +0 -25
- package/buildLibs/common/echart-BtfUJ8lE.js +0 -498
- package/buildLibs/common/echart-BtfUJ8lE.js.map +0 -1
- package/buildLibs/common/echart-Cs3rQ-e9.cjs +0 -2
- package/buildLibs/common/echart-Cs3rQ-e9.cjs.map +0 -1
- package/buildLibs/common/echart.d.ts +0 -82
- package/buildLibs/common/i18n/en.d.ts +0 -111
- package/buildLibs/common/i18n/index.d.ts +0 -25
- package/buildLibs/common/i18n/zh_CN.d.ts +0 -111
- package/buildLibs/common/i18n_en-BHhFEbi6.js +0 -114
- package/buildLibs/common/i18n_en-BHhFEbi6.js.map +0 -1
- package/buildLibs/common/i18n_en-D-5antzy.cjs +0 -2
- package/buildLibs/common/i18n_en-D-5antzy.cjs.map +0 -1
- package/buildLibs/common/i18n_zh_CN-COzQ8Los.js +0 -114
- package/buildLibs/common/i18n_zh_CN-COzQ8Los.js.map +0 -1
- package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs +0 -2
- package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs.map +0 -1
- package/buildLibs/common/index.cjs +0 -2
- package/buildLibs/common/index.cjs.map +0 -1
- package/buildLibs/common/index.d.ts +0 -10
- package/buildLibs/common/index.js +0 -124
- package/buildLibs/common/index.js.map +0 -1
- package/buildLibs/common/promise-BtoePzHD.cjs +0 -2
- package/buildLibs/common/promise-BtoePzHD.cjs.map +0 -1
- package/buildLibs/common/promise-CPiVqqqL.js +0 -44
- package/buildLibs/common/promise-CPiVqqqL.js.map +0 -1
- package/buildLibs/common/promise.d.ts +0 -14
- package/buildLibs/common/tooltip-De0atcAJ.js +0 -215
- package/buildLibs/common/tooltip-De0atcAJ.js.map +0 -1
- package/buildLibs/common/tooltip-Dj_ol2ax.cjs +0 -2
- package/buildLibs/common/tooltip-Dj_ol2ax.cjs.map +0 -1
- package/buildLibs/common/tooltip.d.ts +0 -37
- package/buildLibs/mobile/index.cjs +0 -56
- package/buildLibs/mobile/index.cjs.map +0 -1
- package/buildLibs/mobile/index.d.ts +0 -47
- package/buildLibs/mobile/index.js +0 -96
- package/buildLibs/mobile/index.js.map +0 -1
- package/buildLibs/resolver/index.cjs +0 -2
- package/buildLibs/resolver/index.cjs.map +0 -1
- package/buildLibs/resolver/index.js +0 -82
- package/buildLibs/resolver/index.js.map +0 -1
- package/buildLibs/resolver/resolver.d.ts +0 -7
- package/buildLibs/utils/Element/ClAnchorNav.cjs +0 -2
- package/buildLibs/utils/Element/ClAnchorNav.cjs.map +0 -1
- package/buildLibs/utils/Element/ClAnchorNav.css +0 -1
- package/buildLibs/utils/Element/ClAnchorNav.d.ts +0 -3
- package/buildLibs/utils/Element/ClAnchorNav.js +0 -55
- package/buildLibs/utils/Element/ClAnchorNav.js.map +0 -1
- package/buildLibs/utils/Element/ClBadge.cjs +0 -2
- package/buildLibs/utils/Element/ClBadge.cjs.map +0 -1
- package/buildLibs/utils/Element/ClBadge.d.ts +0 -3
- package/buildLibs/utils/Element/ClBadge.js +0 -5
- package/buildLibs/utils/Element/ClBadge.js.map +0 -1
- package/buildLibs/utils/Element/ClButton.cjs +0 -2
- package/buildLibs/utils/Element/ClButton.cjs.map +0 -1
- package/buildLibs/utils/Element/ClButton.css +0 -1
- package/buildLibs/utils/Element/ClButton.d.ts +0 -3
- package/buildLibs/utils/Element/ClButton.js +0 -226
- package/buildLibs/utils/Element/ClButton.js.map +0 -1
- package/buildLibs/utils/Element/ClCheckbox.cjs +0 -2
- package/buildLibs/utils/Element/ClCheckbox.cjs.map +0 -1
- package/buildLibs/utils/Element/ClCheckbox.d.ts +0 -3
- package/buildLibs/utils/Element/ClCheckbox.js +0 -205
- package/buildLibs/utils/Element/ClCheckbox.js.map +0 -1
- package/buildLibs/utils/Element/ClCheckboxOne.d.ts +0 -3
- package/buildLibs/utils/Element/ClClipboard.cjs +0 -2
- package/buildLibs/utils/Element/ClClipboard.cjs.map +0 -1
- package/buildLibs/utils/Element/ClClipboard.d.ts +0 -3
- package/buildLibs/utils/Element/ClClipboard.js +0 -5
- package/buildLibs/utils/Element/ClClipboard.js.map +0 -1
- package/buildLibs/utils/Element/ClCountup.cjs +0 -2
- package/buildLibs/utils/Element/ClCountup.cjs.map +0 -1
- package/buildLibs/utils/Element/ClCountup.d.ts +0 -3
- package/buildLibs/utils/Element/ClCountup.js +0 -56
- package/buildLibs/utils/Element/ClCountup.js.map +0 -1
- package/buildLibs/utils/Element/ClCropper.cjs +0 -2
- package/buildLibs/utils/Element/ClCropper.cjs.map +0 -1
- package/buildLibs/utils/Element/ClCropper.d.ts +0 -3
- package/buildLibs/utils/Element/ClCropper.js +0 -5
- package/buildLibs/utils/Element/ClCropper.js.map +0 -1
- package/buildLibs/utils/Element/ClCropperPreview.css +0 -1
- package/buildLibs/utils/Element/ClDarg.cjs +0 -7
- package/buildLibs/utils/Element/ClDarg.cjs.map +0 -1
- package/buildLibs/utils/Element/ClDarg.css +0 -1
- package/buildLibs/utils/Element/ClDarg.d.ts +0 -3
- package/buildLibs/utils/Element/ClDarg.js +0 -1554
- package/buildLibs/utils/Element/ClDarg.js.map +0 -1
- package/buildLibs/utils/Element/ClEllipsis.cjs +0 -2
- package/buildLibs/utils/Element/ClEllipsis.cjs.map +0 -1
- package/buildLibs/utils/Element/ClEllipsis.css +0 -1
- package/buildLibs/utils/Element/ClEllipsis.d.ts +0 -3
- package/buildLibs/utils/Element/ClEllipsis.js +0 -99
- package/buildLibs/utils/Element/ClEllipsis.js.map +0 -1
- package/buildLibs/utils/Element/ClForm.cjs +0 -2
- package/buildLibs/utils/Element/ClForm.cjs.map +0 -1
- package/buildLibs/utils/Element/ClForm.css +0 -1
- package/buildLibs/utils/Element/ClForm.d.ts +0 -3
- package/buildLibs/utils/Element/ClForm.js +0 -139
- package/buildLibs/utils/Element/ClForm.js.map +0 -1
- package/buildLibs/utils/Element/ClFormGroup.cjs +0 -2
- package/buildLibs/utils/Element/ClFormGroup.cjs.map +0 -1
- package/buildLibs/utils/Element/ClFormGroup.css +0 -1
- package/buildLibs/utils/Element/ClFormGroup.d.ts +0 -3
- package/buildLibs/utils/Element/ClFormGroup.js +0 -76
- package/buildLibs/utils/Element/ClFormGroup.js.map +0 -1
- package/buildLibs/utils/Element/ClFormValidate.d.ts +0 -3
- package/buildLibs/utils/Element/ClIconFont.cjs +0 -2
- package/buildLibs/utils/Element/ClIconFont.cjs.map +0 -1
- package/buildLibs/utils/Element/ClIconFont.d.ts +0 -3
- package/buildLibs/utils/Element/ClIconFont.js +0 -5
- package/buildLibs/utils/Element/ClIconFont.js.map +0 -1
- package/buildLibs/utils/Element/ClImage.cjs +0 -2
- package/buildLibs/utils/Element/ClImage.cjs.map +0 -1
- package/buildLibs/utils/Element/ClImage.css +0 -1
- package/buildLibs/utils/Element/ClImage.d.ts +0 -3
- package/buildLibs/utils/Element/ClImage.js +0 -195
- package/buildLibs/utils/Element/ClImage.js.map +0 -1
- package/buildLibs/utils/Element/ClInput.cjs +0 -2
- package/buildLibs/utils/Element/ClInput.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInput.d.ts +0 -3
- package/buildLibs/utils/Element/ClInput.js +0 -5
- package/buildLibs/utils/Element/ClInput.js.map +0 -1
- package/buildLibs/utils/Element/ClInputCaptcha.cjs +0 -2
- package/buildLibs/utils/Element/ClInputCaptcha.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInputCaptcha.css +0 -1
- package/buildLibs/utils/Element/ClInputCaptcha.d.ts +0 -3
- package/buildLibs/utils/Element/ClInputCaptcha.js +0 -111
- package/buildLibs/utils/Element/ClInputCaptcha.js.map +0 -1
- package/buildLibs/utils/Element/ClInputNumber.cjs +0 -2
- package/buildLibs/utils/Element/ClInputNumber.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInputNumber.d.ts +0 -3
- package/buildLibs/utils/Element/ClInputNumber.js +0 -5
- package/buildLibs/utils/Element/ClInputNumber.js.map +0 -1
- package/buildLibs/utils/Element/ClInputSearch.cjs +0 -2
- package/buildLibs/utils/Element/ClInputSearch.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInputSearch.d.ts +0 -3
- package/buildLibs/utils/Element/ClInputSearch.js +0 -5
- package/buildLibs/utils/Element/ClInputSearch.js.map +0 -1
- package/buildLibs/utils/Element/ClInputTag.css +0 -1
- package/buildLibs/utils/Element/ClInputTextarea.cjs +0 -2
- package/buildLibs/utils/Element/ClInputTextarea.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInputTextarea.d.ts +0 -3
- package/buildLibs/utils/Element/ClInputTextarea.js +0 -5
- package/buildLibs/utils/Element/ClInputTextarea.js.map +0 -1
- package/buildLibs/utils/Element/ClInputnumberButton.d.ts +0 -3
- package/buildLibs/utils/Element/ClLink.cjs +0 -2
- package/buildLibs/utils/Element/ClLink.cjs.map +0 -1
- package/buildLibs/utils/Element/ClLink.d.ts +0 -3
- package/buildLibs/utils/Element/ClLink.js +0 -5
- package/buildLibs/utils/Element/ClLink.js.map +0 -1
- package/buildLibs/utils/Element/ClLoad.cjs +0 -2
- package/buildLibs/utils/Element/ClLoad.cjs.map +0 -1
- package/buildLibs/utils/Element/ClLoad.d.ts +0 -3
- package/buildLibs/utils/Element/ClLoad.js +0 -5
- package/buildLibs/utils/Element/ClLoad.js.map +0 -1
- package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +0 -3
- package/buildLibs/utils/Element/ClLoadIng.d.ts +0 -3
- package/buildLibs/utils/Element/ClLoadScreen.cjs +0 -2
- package/buildLibs/utils/Element/ClLoadScreen.cjs.map +0 -1
- package/buildLibs/utils/Element/ClLoadScreen.d.ts +0 -3
- package/buildLibs/utils/Element/ClLoadScreen.js +0 -5
- package/buildLibs/utils/Element/ClLoadScreen.js.map +0 -1
- package/buildLibs/utils/Element/ClLoadWarp.d.ts +0 -3
- package/buildLibs/utils/Element/ClModal.cjs +0 -2
- package/buildLibs/utils/Element/ClModal.cjs.map +0 -1
- package/buildLibs/utils/Element/ClModal.d.ts +0 -3
- package/buildLibs/utils/Element/ClModal.js +0 -5
- package/buildLibs/utils/Element/ClModal.js.map +0 -1
- package/buildLibs/utils/Element/ClProgress.cjs +0 -2
- package/buildLibs/utils/Element/ClProgress.cjs.map +0 -1
- package/buildLibs/utils/Element/ClProgress.css +0 -1
- package/buildLibs/utils/Element/ClProgress.d.ts +0 -3
- package/buildLibs/utils/Element/ClProgress.js +0 -219
- package/buildLibs/utils/Element/ClProgress.js.map +0 -1
- package/buildLibs/utils/Element/ClRadio.cjs +0 -2
- package/buildLibs/utils/Element/ClRadio.cjs.map +0 -1
- package/buildLibs/utils/Element/ClRadio.d.ts +0 -3
- package/buildLibs/utils/Element/ClRadio.js +0 -176
- package/buildLibs/utils/Element/ClRadio.js.map +0 -1
- package/buildLibs/utils/Element/ClRadioOne.d.ts +0 -3
- package/buildLibs/utils/Element/ClSlider.cjs +0 -2
- package/buildLibs/utils/Element/ClSlider.cjs.map +0 -1
- package/buildLibs/utils/Element/ClSlider.css +0 -1
- package/buildLibs/utils/Element/ClSlider.d.ts +0 -3
- package/buildLibs/utils/Element/ClSlider.js +0 -721
- package/buildLibs/utils/Element/ClSlider.js.map +0 -1
- package/buildLibs/utils/Element/ClSwitchery.cjs +0 -2
- package/buildLibs/utils/Element/ClSwitchery.cjs.map +0 -1
- package/buildLibs/utils/Element/ClSwitchery.css +0 -1
- package/buildLibs/utils/Element/ClSwitchery.d.ts +0 -3
- package/buildLibs/utils/Element/ClSwitchery.js +0 -429
- package/buildLibs/utils/Element/ClSwitchery.js.map +0 -1
- package/buildLibs/utils/Element/ClTags.cjs +0 -2
- package/buildLibs/utils/Element/ClTags.cjs.map +0 -1
- package/buildLibs/utils/Element/ClTags.d.ts +0 -3
- package/buildLibs/utils/Element/ClTags.js +0 -5
- package/buildLibs/utils/Element/ClTags.js.map +0 -1
- package/buildLibs/utils/Element/ClTransitionSlideupdown.d.ts +0 -3
- package/buildLibs/utils/Element/ClWaterfall.cjs +0 -2
- package/buildLibs/utils/Element/ClWaterfall.cjs.map +0 -1
- package/buildLibs/utils/Element/ClWaterfall.css +0 -1
- package/buildLibs/utils/Element/ClWaterfall.d.ts +0 -3
- package/buildLibs/utils/Element/ClWaterfall.js +0 -167
- package/buildLibs/utils/Element/ClWaterfall.js.map +0 -1
- package/buildLibs/utils/Element/ClWaterfallImage.d.ts +0 -3
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs +0 -2
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs.map +0 -1
- package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +0 -2
- package/buildLibs/utils/Element/__provide__/Clipboard.js +0 -62
- package/buildLibs/utils/Element/__provide__/Clipboard.js.map +0 -1
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +0 -2
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs.map +0 -1
- package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +0 -2
- package/buildLibs/utils/Element/__provide__/LoadScreen.js +0 -17
- package/buildLibs/utils/Element/__provide__/LoadScreen.js.map +0 -1
- package/buildLibs/utils/Element/__provide__/languagePack.cjs +0 -2
- package/buildLibs/utils/Element/__provide__/languagePack.cjs.map +0 -1
- package/buildLibs/utils/Element/__provide__/languagePack.d.ts +0 -2
- package/buildLibs/utils/Element/__provide__/languagePack.js +0 -29
- package/buildLibs/utils/Element/__provide__/languagePack.js.map +0 -1
- package/buildLibs/utils/Mobile/ClCell.cjs +0 -2
- package/buildLibs/utils/Mobile/ClCell.cjs.map +0 -1
- package/buildLibs/utils/Mobile/ClCell.css +0 -1
- package/buildLibs/utils/Mobile/ClCell.d.ts +0 -3
- package/buildLibs/utils/Mobile/ClCell.js +0 -130
- package/buildLibs/utils/Mobile/ClCell.js.map +0 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +0 -2
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs.map +0 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.css +0 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +0 -3
- package/buildLibs/utils/Mobile/ClPullToRefresh.js +0 -195
- package/buildLibs/utils/Mobile/ClPullToRefresh.js.map +0 -1
- package/buildLibs/utils/Shared/Alert.css +0 -1
- package/buildLibs/utils/Shared/Base.css +0 -1
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js +0 -2
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js.map +0 -1
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js +0 -354
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js.map +0 -1
- package/buildLibs/utils/Shared/BaseTransition.css +0 -1
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js +0 -2
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js.map +0 -1
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js +0 -121
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js.map +0 -1
- package/buildLibs/utils/Shared/Highlight.css +0 -1
- package/buildLibs/utils/Shared/Index.css +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js +0 -233
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js +0 -75
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js +0 -143
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js +0 -24
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js +0 -1146
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js +0 -336
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js +0 -165
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js +0 -168
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js +0 -70
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js +0 -84
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js +0 -98
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js +0 -342
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js +0 -166
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js +0 -384
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js +0 -462
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js +0 -593
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js +0 -54
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js +0 -144
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js.map +0 -1
- package/buildLibs/utils/Shared/Index10.css +0 -1
- package/buildLibs/utils/Shared/Index11.css +0 -1
- package/buildLibs/utils/Shared/Index12.css +0 -1
- package/buildLibs/utils/Shared/Index13.css +0 -1
- package/buildLibs/utils/Shared/Index14.css +0 -1
- package/buildLibs/utils/Shared/Index15.css +0 -1
- package/buildLibs/utils/Shared/Index16.css +0 -1
- package/buildLibs/utils/Shared/Index17.css +0 -1
- package/buildLibs/utils/Shared/Index18.css +0 -1
- package/buildLibs/utils/Shared/Index19.css +0 -1
- package/buildLibs/utils/Shared/Index2.css +0 -1
- package/buildLibs/utils/Shared/Index3.css +0 -1
- package/buildLibs/utils/Shared/Index4.css +0 -1
- package/buildLibs/utils/Shared/Index5.css +0 -1
- package/buildLibs/utils/Shared/Index6.css +0 -1
- package/buildLibs/utils/Shared/Index7.css +0 -1
- package/buildLibs/utils/Shared/Index8.css +0 -1
- package/buildLibs/utils/Shared/Index9.css +0 -1
- package/buildLibs/utils/Shared/Ing-C_3NkQxd.js +0 -43
- package/buildLibs/utils/Shared/Ing-C_3NkQxd.js.map +0 -1
- package/buildLibs/utils/Shared/Ing-D_cd5IxY.js +0 -2
- package/buildLibs/utils/Shared/Ing-D_cd5IxY.js.map +0 -1
- package/buildLibs/utils/Shared/Ing.css +0 -1
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js +0 -2
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js.map +0 -1
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js +0 -141
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js.map +0 -1
- package/buildLibs/utils/Shared/Notify.css +0 -1
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js +0 -87
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js.map +0 -1
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js +0 -2
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js.map +0 -1
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js +0 -109
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js.map +0 -1
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js +0 -2
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js.map +0 -1
- package/buildLibs/utils/Shared/Tooltip.css +0 -1
- package/buildLibs/utils/Shared/Waves.css +0 -7
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js +0 -2
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js.map +0 -1
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js +0 -10
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js.map +0 -1
- package/buildLibs/utils/Shared/base-PQGakkrl.js +0 -808
- package/buildLibs/utils/Shared/base-PQGakkrl.js.map +0 -1
- package/buildLibs/utils/Shared/base-iCmnU-fv.js +0 -2
- package/buildLibs/utils/Shared/base-iCmnU-fv.js.map +0 -1
- package/buildLibs/utils/Shared/day-Bz9LfelO.js +0 -75
- package/buildLibs/utils/Shared/day-Bz9LfelO.js.map +0 -1
- package/buildLibs/utils/Shared/day-CvcvgKjb.js +0 -2
- package/buildLibs/utils/Shared/day-CvcvgKjb.js.map +0 -1
- package/buildLibs/utils/Shared/drag-CzE5R222.js +0 -2
- package/buildLibs/utils/Shared/drag-CzE5R222.js.map +0 -1
- package/buildLibs/utils/Shared/drag-CzfhSB0g.js +0 -42
- package/buildLibs/utils/Shared/drag-CzfhSB0g.js.map +0 -1
- package/buildLibs/utils/Shared/index-BnerInzC.js +0 -432
- package/buildLibs/utils/Shared/index-BnerInzC.js.map +0 -1
- package/buildLibs/utils/Shared/index-C1R9HAvS.js +0 -320
- package/buildLibs/utils/Shared/index-C1R9HAvS.js.map +0 -1
- package/buildLibs/utils/Shared/index-CVBh8iTg.js +0 -2
- package/buildLibs/utils/Shared/index-CVBh8iTg.js.map +0 -1
- package/buildLibs/utils/Shared/index-Ul6uY51t.js +0 -3
- package/buildLibs/utils/Shared/index-Ul6uY51t.js.map +0 -1
- package/buildLibs/utils/Shared/language-D6gRWx8H.js +0 -2
- package/buildLibs/utils/Shared/language-D6gRWx8H.js.map +0 -1
- package/buildLibs/utils/Shared/language-DxTlvFs2.js +0 -18
- package/buildLibs/utils/Shared/language-DxTlvFs2.js.map +0 -1
- package/buildLibs/utils/Shared/resize-COkswDOq.js +0 -2
- package/buildLibs/utils/Shared/resize-COkswDOq.js.map +0 -1
- package/buildLibs/utils/Shared/resize-kOWxHVSP.js +0 -54
- package/buildLibs/utils/Shared/resize-kOWxHVSP.js.map +0 -1
- package/buildLibs/utils/Shared/vue-virtual-scroller.css +0 -1
- package/buildLibs/utils/Web/ClBreadcrumb.cjs +0 -2
- package/buildLibs/utils/Web/ClBreadcrumb.cjs.map +0 -1
- package/buildLibs/utils/Web/ClBreadcrumb.css +0 -1
- package/buildLibs/utils/Web/ClBreadcrumb.d.ts +0 -3
- package/buildLibs/utils/Web/ClBreadcrumb.js +0 -82
- package/buildLibs/utils/Web/ClBreadcrumb.js.map +0 -1
- package/buildLibs/utils/Web/ClCalendar.cjs +0 -2
- package/buildLibs/utils/Web/ClCalendar.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCalendar.css +0 -1
- package/buildLibs/utils/Web/ClCalendar.d.ts +0 -3
- package/buildLibs/utils/Web/ClCalendar.js +0 -179
- package/buildLibs/utils/Web/ClCalendar.js.map +0 -1
- package/buildLibs/utils/Web/ClCard.cjs +0 -2
- package/buildLibs/utils/Web/ClCard.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCard.d.ts +0 -3
- package/buildLibs/utils/Web/ClCard.js +0 -5
- package/buildLibs/utils/Web/ClCard.js.map +0 -1
- package/buildLibs/utils/Web/ClCardLegend.cjs +0 -2
- package/buildLibs/utils/Web/ClCardLegend.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCardLegend.css +0 -1
- package/buildLibs/utils/Web/ClCardLegend.d.ts +0 -3
- package/buildLibs/utils/Web/ClCardLegend.js +0 -128
- package/buildLibs/utils/Web/ClCardLegend.js.map +0 -1
- package/buildLibs/utils/Web/ClCollapse.cjs +0 -2
- package/buildLibs/utils/Web/ClCollapse.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCollapse.css +0 -1
- package/buildLibs/utils/Web/ClCollapse.d.ts +0 -3
- package/buildLibs/utils/Web/ClCollapse.js +0 -111
- package/buildLibs/utils/Web/ClCollapse.js.map +0 -1
- package/buildLibs/utils/Web/ClColorpicker.cjs +0 -2
- package/buildLibs/utils/Web/ClColorpicker.cjs.map +0 -1
- package/buildLibs/utils/Web/ClColorpicker.css +0 -1
- package/buildLibs/utils/Web/ClColorpicker.d.ts +0 -3
- package/buildLibs/utils/Web/ClColorpicker.js +0 -1130
- package/buildLibs/utils/Web/ClColorpicker.js.map +0 -1
- package/buildLibs/utils/Web/ClCropperPreview.cjs +0 -2
- package/buildLibs/utils/Web/ClCropperPreview.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCropperPreview.d.ts +0 -3
- package/buildLibs/utils/Web/ClCropperPreview.js +0 -175
- package/buildLibs/utils/Web/ClCropperPreview.js.map +0 -1
- package/buildLibs/utils/Web/ClDatetime.cjs +0 -2
- package/buildLibs/utils/Web/ClDatetime.cjs.map +0 -1
- package/buildLibs/utils/Web/ClDatetime.css +0 -1
- package/buildLibs/utils/Web/ClDatetime.d.ts +0 -3
- package/buildLibs/utils/Web/ClDatetime.js +0 -2002
- package/buildLibs/utils/Web/ClDatetime.js.map +0 -1
- package/buildLibs/utils/Web/ClDropdownmenu.cjs +0 -2
- package/buildLibs/utils/Web/ClDropdownmenu.cjs.map +0 -1
- package/buildLibs/utils/Web/ClDropdownmenu.css +0 -1
- package/buildLibs/utils/Web/ClDropdownmenu.d.ts +0 -3
- package/buildLibs/utils/Web/ClDropdownmenu.js +0 -75
- package/buildLibs/utils/Web/ClDropdownmenu.js.map +0 -1
- package/buildLibs/utils/Web/ClDropdownmenuItem.d.ts +0 -3
- package/buildLibs/utils/Web/ClDropdownpopup.cjs +0 -2
- package/buildLibs/utils/Web/ClDropdownpopup.cjs.map +0 -1
- package/buildLibs/utils/Web/ClDropdownpopup.css +0 -1
- package/buildLibs/utils/Web/ClDropdownpopup.d.ts +0 -3
- package/buildLibs/utils/Web/ClDropdownpopup.js +0 -89
- package/buildLibs/utils/Web/ClDropdownpopup.js.map +0 -1
- package/buildLibs/utils/Web/ClEcharts.cjs +0 -2
- package/buildLibs/utils/Web/ClEcharts.cjs.map +0 -1
- package/buildLibs/utils/Web/ClEcharts.css +0 -1
- package/buildLibs/utils/Web/ClEcharts.d.ts +0 -3
- package/buildLibs/utils/Web/ClEcharts.js +0 -297
- package/buildLibs/utils/Web/ClEcharts.js.map +0 -1
- package/buildLibs/utils/Web/ClFileupload.cjs +0 -2
- package/buildLibs/utils/Web/ClFileupload.cjs.map +0 -1
- package/buildLibs/utils/Web/ClFileupload.d.ts +0 -3
- package/buildLibs/utils/Web/ClFileupload.js +0 -5
- package/buildLibs/utils/Web/ClFileupload.js.map +0 -1
- package/buildLibs/utils/Web/ClInputTag.cjs +0 -6
- package/buildLibs/utils/Web/ClInputTag.cjs.map +0 -1
- package/buildLibs/utils/Web/ClInputTag.d.ts +0 -3
- package/buildLibs/utils/Web/ClInputTag.js +0 -854
- package/buildLibs/utils/Web/ClInputTag.js.map +0 -1
- package/buildLibs/utils/Web/ClPaginate.cjs +0 -2
- package/buildLibs/utils/Web/ClPaginate.cjs.map +0 -1
- package/buildLibs/utils/Web/ClPaginate.css +0 -1
- package/buildLibs/utils/Web/ClPaginate.d.ts +0 -3
- package/buildLibs/utils/Web/ClPaginate.js +0 -167
- package/buildLibs/utils/Web/ClPaginate.js.map +0 -1
- package/buildLibs/utils/Web/ClPortlet.cjs +0 -2
- package/buildLibs/utils/Web/ClPortlet.cjs.map +0 -1
- package/buildLibs/utils/Web/ClPortlet.css +0 -1
- package/buildLibs/utils/Web/ClPortlet.d.ts +0 -3
- package/buildLibs/utils/Web/ClPortlet.js +0 -47
- package/buildLibs/utils/Web/ClPortlet.js.map +0 -1
- package/buildLibs/utils/Web/ClPreview.cjs +0 -2
- package/buildLibs/utils/Web/ClPreview.cjs.map +0 -1
- package/buildLibs/utils/Web/ClPreview.js +0 -5
- package/buildLibs/utils/Web/ClPreview.js.map +0 -1
- package/buildLibs/utils/Web/ClPreviewexample.cjs +0 -2
- package/buildLibs/utils/Web/ClPreviewexample.cjs.map +0 -1
- package/buildLibs/utils/Web/ClPreviewexample.d.ts +0 -3
- package/buildLibs/utils/Web/ClPreviewexample.js +0 -5
- package/buildLibs/utils/Web/ClPreviewexample.js.map +0 -1
- package/buildLibs/utils/Web/ClScrollXFence.cjs +0 -2
- package/buildLibs/utils/Web/ClScrollXFence.cjs.map +0 -1
- package/buildLibs/utils/Web/ClScrollXFence.css +0 -1
- package/buildLibs/utils/Web/ClScrollXFence.d.ts +0 -3
- package/buildLibs/utils/Web/ClScrollXFence.js +0 -107
- package/buildLibs/utils/Web/ClScrollXFence.js.map +0 -1
- package/buildLibs/utils/Web/ClSelect.cjs +0 -2
- package/buildLibs/utils/Web/ClSelect.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelect.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelect.js +0 -5
- package/buildLibs/utils/Web/ClSelect.js.map +0 -1
- package/buildLibs/utils/Web/ClSelectCascade.cjs +0 -2
- package/buildLibs/utils/Web/ClSelectCascade.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelectCascade.css +0 -1
- package/buildLibs/utils/Web/ClSelectCascade.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelectCascade.js +0 -222
- package/buildLibs/utils/Web/ClSelectCascade.js.map +0 -1
- package/buildLibs/utils/Web/ClSelectTag.cjs +0 -2
- package/buildLibs/utils/Web/ClSelectTag.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelectTag.css +0 -1
- package/buildLibs/utils/Web/ClSelectTag.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelectTag.js +0 -249
- package/buildLibs/utils/Web/ClSelectTag.js.map +0 -1
- package/buildLibs/utils/Web/ClSelectTree.cjs +0 -2
- package/buildLibs/utils/Web/ClSelectTree.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelectTree.css +0 -1
- package/buildLibs/utils/Web/ClSelectTree.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelectTree.js +0 -190
- package/buildLibs/utils/Web/ClSelectTree.js.map +0 -1
- package/buildLibs/utils/Web/ClSelectmove.cjs +0 -2
- package/buildLibs/utils/Web/ClSelectmove.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelectmove.css +0 -1
- package/buildLibs/utils/Web/ClSelectmove.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelectmove.js +0 -1090
- package/buildLibs/utils/Web/ClSelectmove.js.map +0 -1
- package/buildLibs/utils/Web/ClSidemenu.cjs +0 -2
- package/buildLibs/utils/Web/ClSidemenu.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSidemenu.css +0 -1
- package/buildLibs/utils/Web/ClSidemenu.d.ts +0 -3
- package/buildLibs/utils/Web/ClSidemenu.js +0 -190
- package/buildLibs/utils/Web/ClSidemenu.js.map +0 -1
- package/buildLibs/utils/Web/ClTable.cjs +0 -2
- package/buildLibs/utils/Web/ClTable.cjs.map +0 -1
- package/buildLibs/utils/Web/ClTable.css +0 -1
- package/buildLibs/utils/Web/ClTable.d.ts +0 -3
- package/buildLibs/utils/Web/ClTable.js +0 -1914
- package/buildLibs/utils/Web/ClTable.js.map +0 -1
- package/buildLibs/utils/Web/ClTabs.cjs +0 -2
- package/buildLibs/utils/Web/ClTabs.cjs.map +0 -1
- package/buildLibs/utils/Web/ClTabs.css +0 -1
- package/buildLibs/utils/Web/ClTabs.d.ts +0 -3
- package/buildLibs/utils/Web/ClTabs.js +0 -276
- package/buildLibs/utils/Web/ClTabs.js.map +0 -1
- package/buildLibs/utils/Web/ClTree.cjs +0 -2
- package/buildLibs/utils/Web/ClTree.cjs.map +0 -1
- package/buildLibs/utils/Web/ClTree.css +0 -1
- package/buildLibs/utils/Web/ClTree.d.ts +0 -3
- package/buildLibs/utils/Web/ClTree.js +0 -416
- package/buildLibs/utils/Web/ClTree.js.map +0 -1
- package/buildLibs/utils/Web/ClWeekhour.cjs +0 -2
- package/buildLibs/utils/Web/ClWeekhour.cjs.map +0 -1
- package/buildLibs/utils/Web/ClWeekhour.css +0 -1
- package/buildLibs/utils/Web/ClWeekhour.d.ts +0 -3
- package/buildLibs/utils/Web/ClWeekhour.js +0 -679
- package/buildLibs/utils/Web/ClWeekhour.js.map +0 -1
- package/buildLibs/utils/Web/ClXeditable.cjs +0 -2
- package/buildLibs/utils/Web/ClXeditable.cjs.map +0 -1
- package/buildLibs/utils/Web/ClXeditable.css +0 -1
- package/buildLibs/utils/Web/ClXeditable.d.ts +0 -3
- package/buildLibs/utils/Web/ClXeditable.js +0 -593
- package/buildLibs/utils/Web/ClXeditable.js.map +0 -1
- package/buildLibs/utils/Web/__directive__/Highlight.cjs +0 -4
- package/buildLibs/utils/Web/__directive__/Highlight.cjs.map +0 -1
- package/buildLibs/utils/Web/__directive__/Highlight.d.ts +0 -2
- package/buildLibs/utils/Web/__directive__/Highlight.js +0 -3625
- package/buildLibs/utils/Web/__directive__/Highlight.js.map +0 -1
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs +0 -2
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs.map +0 -1
- package/buildLibs/utils/Web/__directive__/Tooltip.d.ts +0 -2
- package/buildLibs/utils/Web/__directive__/Tooltip.js +0 -356
- package/buildLibs/utils/Web/__directive__/Tooltip.js.map +0 -1
- package/buildLibs/utils/Web/__directive__/Waves.cjs +0 -9
- package/buildLibs/utils/Web/__directive__/Waves.cjs.map +0 -1
- package/buildLibs/utils/Web/__directive__/Waves.d.ts +0 -2
- package/buildLibs/utils/Web/__directive__/Waves.js +0 -256
- package/buildLibs/utils/Web/__directive__/Waves.js.map +0 -1
- package/buildLibs/utils/Web/__provide__/Alert.cjs +0 -2
- package/buildLibs/utils/Web/__provide__/Alert.cjs.map +0 -1
- package/buildLibs/utils/Web/__provide__/Alert.d.ts +0 -2
- package/buildLibs/utils/Web/__provide__/Alert.js +0 -236
- package/buildLibs/utils/Web/__provide__/Alert.js.map +0 -1
- package/buildLibs/utils/Web/__provide__/Notify.cjs +0 -2
- package/buildLibs/utils/Web/__provide__/Notify.cjs.map +0 -1
- package/buildLibs/utils/Web/__provide__/Notify.d.ts +0 -2
- package/buildLibs/utils/Web/__provide__/Notify.js +0 -235
- package/buildLibs/utils/Web/__provide__/Notify.js.map +0 -1
- package/buildLibs/utils/Web/__provide__/Preview.cjs +0 -2
- package/buildLibs/utils/Web/__provide__/Preview.cjs.map +0 -1
- package/buildLibs/utils/Web/__provide__/Preview.d.ts +0 -2
- package/buildLibs/utils/Web/__provide__/Preview.js +0 -26
- package/buildLibs/utils/Web/__provide__/Preview.js.map +0 -1
- package/buildLibs/web/index.cjs +0 -97
- package/buildLibs/web/index.cjs.map +0 -1
- package/buildLibs/web/index.d.ts +0 -81
- package/buildLibs/web/index.js +0 -164
- package/buildLibs/web/index.js.map +0 -1
|
@@ -1,3625 +0,0 @@
|
|
|
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, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
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
|