@jobber/components 5.40.3-scottwebp-71ad7be.3 → 5.40.3
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/dist/AnimatedPresence/index.cjs +1 -1
- package/dist/AnimatedPresence/index.mjs +1 -1
- package/dist/AnimatedSwitcher/index.cjs +2 -2
- package/dist/AnimatedSwitcher/index.mjs +2 -2
- package/dist/{AnimatedSwitcher-DMR5n4yz.js → AnimatedSwitcher-AzrRT3yl.js} +1 -1
- package/dist/{AnimatedSwitcher-D-GIyOdt.js → AnimatedSwitcher-CxF56S16.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/AtlantisThemeContext/index.cjs +10 -10
- package/dist/AtlantisThemeContext/index.mjs +10 -10
- package/dist/Autocomplete/index.cjs +19 -17
- package/dist/Autocomplete/index.mjs +19 -17
- package/dist/{Autocomplete-BcMNL3wM.js → Autocomplete-CjVWHKDF.js} +16 -14
- package/dist/{Autocomplete-DZq8ahlZ.js → Autocomplete-s5jtYkQP.js} +14 -12
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-Bf_NWlHJ.js → Avatar-Bvk2S3n2.js} +1 -1
- package/dist/{Avatar-Dfhy4he_.js → Avatar-Cxy3wYgx.js} +1 -1
- package/dist/Banner/components/BannerIcon/index.cjs +2 -2
- package/dist/Banner/components/BannerIcon/index.mjs +2 -2
- package/dist/Banner/index.cjs +13 -8
- package/dist/Banner/index.mjs +13 -8
- package/dist/{Banner-BiQWwGmw.js → Banner-Cfiwq82m.js} +6 -6
- package/dist/{Banner-BCjndzqm.js → Banner-Db6TeJuJ.js} +6 -6
- package/dist/{BannerIcon-CAGcTbsN.js → BannerIcon-Dzukatn_.js} +1 -1
- package/dist/{BannerIcon-BYKSE_UI.js → BannerIcon-sSkqxoNB.js} +1 -1
- package/dist/Box/index.cjs +2 -2
- package/dist/Box/index.mjs +2 -2
- package/dist/{Box-bl3qs5hd.js → Box-1PcRg59i.js} +1 -1
- package/dist/{Box-CFlr9A_K.js → Box-Vh_QUIbP.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-Dl3IZTmm.js → Button-DIyHx6LV.js} +2 -2
- package/dist/{Button-BytpZITh.js → Button-j2FZti2X.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-BkYdMZld.js → ButtonDismiss-BWaDBkTB.js} +1 -1
- package/dist/{ButtonDismiss-D2F_bv2-.js → ButtonDismiss-Daj4eEjT.js} +1 -1
- package/dist/Card/index.cjs +12 -8
- package/dist/Card/index.mjs +12 -8
- package/dist/{Card-Bhm8F75Q.js → Card-CKk1Vd6m.js} +3 -3
- package/dist/{Card-BOma5a_1.js → Card-Dd8hlVLa.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-egmCQEuB.js → Checkbox-CjEwCNkh.js} +3 -3
- package/dist/{Checkbox-RG_dKx5y.js → Checkbox-DQMuBRvP.js} +3 -3
- package/dist/Chip/hooks/index.cjs +1 -1
- package/dist/Chip/hooks/index.mjs +1 -1
- package/dist/Chip/index.cjs +11 -9
- package/dist/Chip/index.mjs +11 -9
- package/dist/{Chip-B47NMAZH.js → Chip-D5BxCot3.js} +8 -8
- package/dist/{Chip-DHoh3ARZ.js → Chip-Drq_AGpU.js} +8 -8
- package/dist/{ChipDismissible-B07i_uOI.js → ChipDismissible-Cm7vUjt6.js} +3 -3
- package/dist/{ChipDismissible-CpasuzBg.js → ChipDismissible-CyhnHoGf.js} +3 -3
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +15 -16
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +15 -16
- package/dist/Chips/InternalChipDismissible/index.cjs +28 -26
- package/dist/Chips/InternalChipDismissible/index.mjs +28 -26
- package/dist/Chips/index.cjs +32 -28
- package/dist/Chips/index.mjs +32 -28
- package/dist/{Chips-D-qrz26K.js → Chips-BfEVoAhv.js} +3 -3
- package/dist/{Chips-JszJtMu8.js → Chips-CohyFR4p.js} +3 -3
- package/dist/Combobox/components/ComboboxAction/index.cjs +4 -4
- package/dist/Combobox/components/ComboboxAction/index.mjs +4 -4
- package/dist/Combobox/components/ComboboxActivator/index.cjs +13 -11
- package/dist/Combobox/components/ComboboxActivator/index.mjs +13 -11
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.cjs +4 -4
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.mjs +4 -4
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.cjs +14 -14
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.mjs +14 -14
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.cjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.mjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.cjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.mjs +2 -2
- package/dist/Combobox/components/ComboboxContent/index.cjs +21 -18
- package/dist/Combobox/components/ComboboxContent/index.mjs +21 -18
- package/dist/Combobox/components/ComboboxOption/index.cjs +5 -5
- package/dist/Combobox/components/ComboboxOption/index.mjs +5 -5
- package/dist/Combobox/components/ComboboxTrigger/index.cjs +12 -10
- package/dist/Combobox/components/ComboboxTrigger/index.mjs +12 -10
- package/dist/Combobox/index.cjs +38 -31
- package/dist/Combobox/index.mjs +38 -31
- package/dist/{Combobox-BBP90DeA.js → Combobox-C8AmqMIT.js} +10 -10
- package/dist/{Combobox-DHkWABaN.js → Combobox-Ck1iSjYO.js} +10 -10
- package/dist/{ComboboxAction-CNSGUG8i.js → ComboboxAction-CHkOa42P.js} +2 -2
- package/dist/{ComboboxAction-DEaHJA13.js → ComboboxAction-DhCmA3Gc.js} +2 -2
- package/dist/{ComboboxActivator-Cme0m7Q_.js → ComboboxActivator-Dae9LF2P.js} +4 -4
- package/dist/{ComboboxActivator-CxofJNFB.js → ComboboxActivator-Y8OQaX2I.js} +4 -4
- package/dist/{ComboboxContent-B5kBPB7f.js → ComboboxContent-BHYSwvKB.js} +12 -10
- package/dist/{ComboboxContent-Ceu6VYoN.js → ComboboxContent-CHiUXnb5.js} +10 -8
- package/dist/{ComboboxContentHeader-T5Hl9JJS.js → ComboboxContentHeader-DVTe7CR6.js} +2 -2
- package/dist/{ComboboxContentHeader-fil8eJtH.js → ComboboxContentHeader-epUVSFZo.js} +2 -2
- package/dist/{ComboboxContentList-DLoU8ken.js → ComboboxContentList-DB7MoKgp.js} +6 -6
- package/dist/{ComboboxContentList-BgFyEgpO.js → ComboboxContentList-aJHl0-RD.js} +6 -6
- package/dist/{ComboboxContentSearch-CCX2FNJ6.js → ComboboxContentSearch-BDe7DFvv.js} +1 -1
- package/dist/{ComboboxContentSearch-K07rmlJb.js → ComboboxContentSearch-CnzbZj09.js} +1 -1
- package/dist/{ComboboxLoadMore-DD5rvgL9.js → ComboboxLoadMore-3U3GWvjY.js} +2 -2
- package/dist/{ComboboxLoadMore-a5I4le7J.js → ComboboxLoadMore-B8E7eCev.js} +2 -2
- package/dist/{ComboboxOption-B4XYIORG.js → ComboboxOption-ClCW4k5j.js} +3 -3
- package/dist/{ComboboxOption-Dl7JHif-.js → ComboboxOption-rlgPnSfn.js} +3 -3
- package/dist/{ComboboxProvider-Dhe83_Xo.js → ComboboxProvider-CPYiFmFy.js} +1 -1
- package/dist/{ComboboxProvider-DH1ArYpI.js → ComboboxProvider-nhG6r8rS.js} +1 -1
- package/dist/{ComboboxTrigger-oR96Osrf.js → ComboboxTrigger-CkGlEQyb.js} +4 -4
- package/dist/{ComboboxTrigger-D9ZXLtKh.js → ComboboxTrigger-DvBck9a3.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -15
- package/dist/ConfirmationModal/index.mjs +17 -15
- package/dist/{ConfirmationModal-DuijEZeh.js → ConfirmationModal-ClxTdXYO.js} +5 -5
- package/dist/{ConfirmationModal-D5p-8NzH.js → ConfirmationModal-DcccMOWv.js} +5 -5
- package/dist/Content/index.cjs +1 -1
- package/dist/Content/index.mjs +1 -1
- package/dist/Countdown/index.cjs +3 -4
- package/dist/Countdown/index.mjs +3 -4
- package/dist/{Countdown-CT3rVH9Z.js → Countdown-BadY8kTm.js} +1 -1
- package/dist/{Countdown-jGpynrNp.js → Countdown-DX6SMg5X.js} +1 -1
- package/dist/DataDump/index.cjs +15 -11
- package/dist/DataDump/index.mjs +15 -11
- package/dist/{DataDump-Dcy3YIp0.js → DataDump-BaVOZkxO.js} +3 -3
- package/dist/{DataDump-CJZDQNpS.js → DataDump-rtaJjYNE.js} +3 -3
- package/dist/DataList/components/DataListAction/index.cjs +4 -4
- package/dist/DataList/components/DataListAction/index.mjs +4 -4
- package/dist/DataList/components/DataListActions/index.cjs +28 -24
- package/dist/DataList/components/DataListActions/index.mjs +28 -24
- package/dist/DataList/components/DataListActionsMenu/index.cjs +7 -3
- package/dist/DataList/components/DataListActionsMenu/index.mjs +7 -3
- package/dist/DataList/components/DataListBulkActions/index.cjs +30 -26
- package/dist/DataList/components/DataListBulkActions/index.mjs +30 -26
- package/dist/DataList/components/DataListEmptyState/index.cjs +9 -9
- package/dist/DataList/components/DataListEmptyState/index.mjs +9 -9
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +40 -33
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +40 -33
- package/dist/DataList/components/DataListFilters/index.cjs +53 -46
- package/dist/DataList/components/DataListFilters/index.mjs +53 -46
- package/dist/DataList/components/DataListHeader/index.cjs +37 -33
- package/dist/DataList/components/DataListHeader/index.mjs +37 -33
- package/dist/DataList/components/DataListHeaderTile/components/index.cjs +4 -3
- package/dist/DataList/components/DataListHeaderTile/components/index.mjs +4 -3
- package/dist/DataList/components/DataListHeaderTile/index.cjs +11 -9
- package/dist/DataList/components/DataListHeaderTile/index.mjs +11 -9
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +6 -6
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +6 -6
- package/dist/DataList/components/DataListItem/index.cjs +36 -32
- package/dist/DataList/components/DataListItem/index.mjs +36 -32
- package/dist/DataList/components/DataListItemActions/index.cjs +29 -25
- package/dist/DataList/components/DataListItemActions/index.mjs +29 -25
- package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +12 -8
- package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +12 -8
- package/dist/DataList/components/DataListItems/index.cjs +37 -33
- package/dist/DataList/components/DataListItems/index.mjs +37 -33
- package/dist/DataList/components/DataListLayout/index.cjs +40 -36
- package/dist/DataList/components/DataListLayout/index.mjs +40 -36
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.cjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.mjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/index.cjs +20 -16
- package/dist/DataList/components/DataListLayoutActions/index.mjs +20 -16
- package/dist/DataList/components/DataListLoadMore/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadMore/index.mjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.mjs +10 -10
- package/dist/DataList/components/DataListOverflowFade/index.cjs +2 -2
- package/dist/DataList/components/DataListOverflowFade/index.mjs +2 -2
- package/dist/DataList/components/DataListSearch/index.cjs +20 -20
- package/dist/DataList/components/DataListSearch/index.mjs +20 -20
- package/dist/DataList/components/DataListStatusBar/index.cjs +21 -19
- package/dist/DataList/components/DataListStatusBar/index.mjs +21 -19
- package/dist/DataList/components/DataListStickyHeader/index.cjs +2 -2
- package/dist/DataList/components/DataListStickyHeader/index.mjs +2 -2
- package/dist/DataList/components/DataListTags/index.cjs +4 -4
- package/dist/DataList/components/DataListTags/index.mjs +4 -4
- package/dist/DataList/components/DataListTotalCount/index.cjs +6 -6
- package/dist/DataList/components/DataListTotalCount/index.mjs +6 -6
- package/dist/DataList/context/DataListContext/index.cjs +3 -3
- package/dist/DataList/context/DataListContext/index.mjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.cjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.mjs +3 -3
- package/dist/DataList/index.cjs +84 -77
- package/dist/DataList/index.mjs +84 -77
- package/dist/{DataList-C8-oq1FC.js → DataList-BI4sFTLF.js} +21 -21
- package/dist/{DataList-aKEtw0tb.js → DataList-D0wCmlsU.js} +21 -21
- package/dist/{DataList.utils-DkcHPyCS.js → DataList.utils-8MIRZL29.js} +9 -9
- package/dist/{DataList.utils-COK4AH2v.js → DataList.utils-BBjapEYm.js} +9 -9
- package/dist/{DataListAction-Dem3698L.js → DataListAction-DU4bFrvv.js} +3 -3
- package/dist/{DataListAction-6KSSNMkw.js → DataListAction-bOVuRw6I.js} +3 -3
- package/dist/{DataListActions-ABO1SxQk.js → DataListActions-BGwdpQQg.js} +5 -5
- package/dist/{DataListActions-D9vuop08.js → DataListActions-CkOlkf4q.js} +5 -5
- package/dist/{DataListActionsMenu-CN_VxtMf.js → DataListActionsMenu-CD8W1Qac.js} +9 -6
- package/dist/{DataListActionsMenu-BQH_E4Jd.js → DataListActionsMenu-CvOvyIVj.js} +9 -6
- package/dist/{DataListBulkActions-Cp9yUR_A.js → DataListBulkActions-BGKiTVuu.js} +3 -3
- package/dist/{DataListBulkActions-E_GS0mkC.js → DataListBulkActions-DNEmUnse.js} +3 -3
- package/dist/{DataListContext-CLD4Rn7m.js → DataListContext-CsKeFjL9.js} +1 -1
- package/dist/{DataListContext-CcLtLXts.js → DataListContext-Dml6pHLd.js} +1 -1
- package/dist/{DataListEmptyState-BVDLmM8j.js → DataListEmptyState-BYFKWp8a.js} +4 -4
- package/dist/{DataListEmptyState-Cp6fCFA2.js → DataListEmptyState-Bg2lxQi1.js} +4 -4
- package/dist/{DataListFilters-C_Kx81Vp.js → DataListFilters-CezMsiVP.js} +5 -5
- package/dist/{DataListFilters-DtGcezZl.js → DataListFilters-DNAH9PeD.js} +5 -5
- package/dist/{DataListHeader-IM8yU-Kx.js → DataListHeader-CGEoDBFR.js} +11 -11
- package/dist/{DataListHeader-xutK-BgX.js → DataListHeader-CvBD5eMG.js} +11 -11
- package/dist/{DataListHeaderTile-B1uuxBct.js → DataListHeaderTile-DhiH_Fel.js} +7 -6
- package/dist/{DataListHeaderTile-DltgjEkw.js → DataListHeaderTile-pqfOyvII.js} +7 -6
- package/dist/{DataListItem-BSeB9ku5.js → DataListItem-BGe4mbSs.js} +10 -10
- package/dist/{DataListItem-CWBc-PcW.js → DataListItem-zGh5DTEb.js} +10 -10
- package/dist/{DataListItemActions-fAGRaen9.js → DataListItemActions-CHzVTkV9.js} +2 -2
- package/dist/{DataListItemActions-D0-x1nmA.js → DataListItemActions-DXSXeioO.js} +2 -2
- package/dist/{DataListItemActionsOverflow-_PAge40K.js → DataListItemActionsOverflow-CXtYscUt.js} +3 -3
- package/dist/{DataListItemActionsOverflow-D_1pGKnK.js → DataListItemActionsOverflow-D3VPYqzG.js} +3 -3
- package/dist/{DataListItemClickable-Bh7jmfez.js → DataListItemClickable-BWlbzwW0.js} +3 -3
- package/dist/{DataListItemClickable-yfnBJsUq.js → DataListItemClickable-DkO4zphX.js} +3 -3
- package/dist/{DataListItems-C32ibj0W.js → DataListItems-DjZ94e5o.js} +3 -3
- package/dist/{DataListItems-7TRTn7O0.js → DataListItems-iK6-Ikfm.js} +3 -3
- package/dist/{DataListLayout-BNy9tbcl.js → DataListLayout-DhCX3fdT.js} +3 -3
- package/dist/{DataListLayout-DchB_aVS.js → DataListLayout-DrghhdZZ.js} +3 -3
- package/dist/{DataListLayoutActions-DcyGBZN0.js → DataListLayoutActions-B6cZR8JZ.js} +4 -4
- package/dist/{DataListLayoutActions-COWWhRUL.js → DataListLayoutActions-CC618dkt.js} +4 -4
- package/dist/{DataListLayoutContext-fR7MaTi7.js → DataListLayoutContext-DMOSZjZI.js} +1 -1
- package/dist/{DataListLayoutContext-CZiCFoXV.js → DataListLayoutContext-Dz2Wgxlc.js} +1 -1
- package/dist/{DataListLoadMore-BiSVh2z8.js → DataListLoadMore-BK06u067.js} +6 -6
- package/dist/{DataListLoadMore-D5SUJUG9.js → DataListLoadMore-XXq5aRYY.js} +6 -6
- package/dist/{DataListLoadingState-CmtRZX9s.js → DataListLoadingState-BMc_lRBD.js} +3 -3
- package/dist/{DataListLoadingState-CFxnGXuC.js → DataListLoadingState-C_1s-Nig.js} +3 -3
- package/dist/{DataListOverflowFade-qb11gdRy.js → DataListOverflowFade--5ii0Qy6.js} +3 -3
- package/dist/{DataListOverflowFade-ksdnjNsN.js → DataListOverflowFade-aYfKvWow.js} +3 -3
- package/dist/{DataListSearch-Cr8BQuOe.js → DataListSearch-CQiB6xF9.js} +6 -6
- package/dist/{DataListSearch-CPMQFbSl.js → DataListSearch-mTvSn0Qn.js} +6 -6
- package/dist/{DataListSort-L7c2OLPX.js → DataListSort-DH6KZgNB.js} +6 -6
- package/dist/{DataListSort-Vd2D-EV9.js → DataListSort-jUxG4wo0.js} +6 -6
- package/dist/{DataListSortingOptions-D3ZDcnAQ.js → DataListSortingOptions-CiKxFm-E.js} +5 -4
- package/dist/{DataListSortingOptions-D2RpN4hg.js → DataListSortingOptions-Djcoth4o.js} +5 -4
- package/dist/{DataListStatusBar-BbQPYLXu.js → DataListStatusBar-BeUnnUJq.js} +2 -2
- package/dist/{DataListStatusBar-6fcjqd8G.js → DataListStatusBar-CpJC2wJe.js} +2 -2
- package/dist/{DataListStickyHeader-BPswtxc0.js → DataListStickyHeader-An0f95Xf.js} +1 -1
- package/dist/{DataListStickyHeader-D9tsFjNk.js → DataListStickyHeader-aiBTk36h.js} +1 -1
- package/dist/{DataListTags-DHhGmBf4.js → DataListTags-CMX8jWKk.js} +2 -2
- package/dist/{DataListTags-I6LVW-wx.js → DataListTags-D7CrjiC7.js} +2 -2
- package/dist/{DataListTotalCount-Cvtj9_HH.js → DataListTotalCount-BYkvms2T.js} +2 -2
- package/dist/{DataListTotalCount-CYmtGm9u.js → DataListTotalCount-YfP_wVzp.js} +2 -2
- package/dist/DataTable/index.cjs +20 -15
- package/dist/DataTable/index.mjs +20 -15
- package/dist/DataTable/test-utilities/index.cjs +8 -2
- package/dist/DataTable/test-utilities/index.mjs +8 -2
- package/dist/{DataTable-_wYr0Oe5.js → DataTable-BLML0x5Q.js} +9 -9
- package/dist/{DataTable-D8kenhl1.js → DataTable-ZrAmuVBm.js} +9 -9
- package/dist/DatePicker/index.cjs +18 -18
- package/dist/DatePicker/index.mjs +18 -18
- package/dist/{DatePicker-uYFLkt6Q.js → DatePicker-ov7VYwLu.js} +449 -1026
- package/dist/{DatePicker-D6clwpa6.js → DatePicker-zdLg_aXo.js} +450 -1027
- package/dist/{DayOfMonthSelect-Crxchg-w.js → DayOfMonthSelect-Cr_MOeVB.js} +2 -2
- package/dist/{DayOfMonthSelect-DFpmGZfF.js → DayOfMonthSelect-DCoHGrFI.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-DxlRP8sH.js → DescriptionList-D1JPJ8sQ.js} +1 -1
- package/dist/{DescriptionList-CE_tigP8.js → DescriptionList-Ztcj1iiq.js} +1 -1
- package/dist/Disclosure/index.cjs +9 -4
- package/dist/Disclosure/index.mjs +9 -4
- package/dist/{Disclosure-B4YxzWQu.js → Disclosure-Bz5RU30o.js} +5 -5
- package/dist/{Disclosure-CDH7Ckpy.js → Disclosure-CzZgMlXC.js} +5 -5
- package/dist/Divider/index.cjs +1 -1
- package/dist/Divider/index.mjs +1 -1
- package/dist/Drawer/index.cjs +6 -6
- package/dist/Drawer/index.mjs +6 -6
- package/dist/{DrawerGrid-mW9hTXN8.js → DrawerGrid-BDvPqUUN.js} +2 -2
- package/dist/{DrawerGrid-C1jdpB9T.js → DrawerGrid-CU6TpFxx.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-BKplSYOA.js → Emphasis-BKy_VKiX.js} +1 -1
- package/dist/{Emphasis-qQG2usNj.js → Emphasis-Dzw5HzFj.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-BzVZLQ7T.js → FeatureSwitch-CNvt2Cat.js} +7 -7
- package/dist/{FeatureSwitch-BnXgvR25.js → FeatureSwitch-kE4bBoEc.js} +7 -7
- package/dist/Flex/index.cjs +1 -1
- package/dist/Flex/index.mjs +1 -1
- package/dist/Form/index.cjs +2 -2
- package/dist/Form/index.mjs +2 -2
- package/dist/{Form-Y7VyBQYI.js → Form-CWUFuCyP.js} +1 -1
- package/dist/{Form-a--S6Xd3.js → Form-CZtnDMIb.js} +1 -1
- package/dist/FormField/FormFieldTypes.d.ts +1 -1
- package/dist/FormField/FormFieldWrapper.d.ts +1 -1
- package/dist/FormField/index.cjs +9 -10
- package/dist/FormField/index.mjs +9 -10
- package/dist/{FormField-D61oDi0D.js → FormField--GMXwQfU.js} +29 -9
- package/dist/{FormField-CPDzS7m6.js → FormField-DjvuqGra.js} +29 -9
- package/dist/FormatDate/index.cjs +1 -1
- package/dist/FormatDate/index.mjs +1 -1
- package/dist/FormatEmail/index.cjs +1 -1
- package/dist/FormatEmail/index.mjs +1 -1
- package/dist/FormatFile/index.cjs +21 -19
- package/dist/FormatFile/index.mjs +21 -19
- package/dist/{FormatFile-DUoEYDwD.js → FormatFile-BYA0Bx7g.js} +7 -7
- package/dist/{FormatFile-DLL2dYFS.js → FormatFile-CI1yWJ-n.js} +7 -7
- package/dist/FormatRelativeDateTime/index.cjs +1 -1
- package/dist/FormatRelativeDateTime/index.mjs +1 -1
- package/dist/FormatTime/index.cjs +1 -1
- package/dist/FormatTime/index.mjs +1 -1
- package/dist/Gallery/index.cjs +28 -24
- package/dist/Gallery/index.mjs +28 -24
- package/dist/{Gallery-CUSckHqL.js → Gallery-DoE2j7ZA.js} +3 -3
- package/dist/{Gallery-DbHhIbX0.js → Gallery-fbsmew9u.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-DNLIQwvq.js → Glimmer-DLFZkl_T.js} +2 -2
- package/dist/{Glimmer-jQMk9bGX.js → Glimmer-Dk_Q61fG.js} +2 -2
- package/dist/Grid/InternalGridCell/index.cjs +1 -1
- package/dist/Grid/InternalGridCell/index.mjs +1 -1
- package/dist/Grid/index.cjs +5 -3
- package/dist/Grid/index.mjs +5 -3
- package/dist/{Grid-DY2uamPr.js → Grid-CyG3J5Pq.js} +3 -3
- package/dist/{Grid-Bv0hoJaB.js → Grid-m1zQNGSo.js} +3 -3
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-CXFNwq_E.js → Heading-BO8WkCVr.js} +1 -1
- package/dist/{Heading-BbxWDLQH.js → Heading-aLFLLj33.js} +1 -1
- package/dist/Icon/index.cjs +1 -1
- package/dist/Icon/index.mjs +1 -1
- package/dist/InlineLabel/index.cjs +2 -2
- package/dist/InlineLabel/index.mjs +2 -2
- package/dist/{InlineLabel-BGaG7siq.js → InlineLabel-BFbT-Ddx.js} +1 -1
- package/dist/{InlineLabel-uZfIpINI.js → InlineLabel-D7pkGhZL.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -14
- package/dist/InputAvatar/index.mjs +13 -14
- package/dist/{InputAvatar-DtVTa-Af.js → InputAvatar-BEW4-tM_.js} +5 -5
- package/dist/{InputAvatar-Cr5XsxAA.js → InputAvatar-Dg2dPDO2.js} +5 -5
- package/dist/InputDate/index.cjs +25 -25
- package/dist/InputDate/index.mjs +25 -25
- package/dist/{InputDate-mHtxO-Un.js → InputDate-0cfpOvzX.js} +2 -2
- package/dist/{InputDate-CpJKsXX-.js → InputDate-DBq6OHjS.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -11
- package/dist/InputEmail/index.mjs +10 -11
- package/dist/{InputEmail-DrzFmj-7.js → InputEmail-B61jPCLk.js} +1 -1
- package/dist/{InputEmail-CJJwiS0g.js → InputEmail-Ba9qI8lO.js} +1 -1
- package/dist/InputFile/index.cjs +10 -11
- package/dist/InputFile/index.mjs +10 -11
- package/dist/{InputFile-BPRv75AM.js → InputFile-BKJNPZW0.js} +6 -6
- package/dist/{InputFile-ZxCxHopN.js → InputFile-CaeH4B4E.js} +6 -6
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/InputNumber/index.cjs +10 -11
- package/dist/InputNumber/index.mjs +10 -11
- package/dist/{InputNumber-DASeesk8.js → InputNumber-D36ZyP7q.js} +1 -1
- package/dist/{InputNumber-CavW0k0p.js → InputNumber-yZn8vWT4.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -11
- package/dist/InputPassword/index.mjs +10 -11
- package/dist/{InputPassword-BPlnm0A_.js → InputPassword-0UZiu8gO.js} +1 -1
- package/dist/{InputPassword-p3eqnWYE.js → InputPassword-CFWMzbGo.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -11
- package/dist/InputPhoneNumber/index.mjs +10 -11
- package/dist/{InputPhoneNumber-CuHLZrop.js → InputPhoneNumber-CEtdv_z7.js} +2 -2
- package/dist/{InputPhoneNumber-BMJ-J55b.js → InputPhoneNumber-DlzJLU8i.js} +2 -2
- package/dist/InputText/InputText.d.ts +2 -2
- package/dist/InputText/index.cjs +11 -11
- package/dist/InputText/index.mjs +11 -11
- package/dist/{InputText-CLutpqKQ.js → InputText-BX32rFGZ.js} +3 -3
- package/dist/{InputText-Cwx_MWvl.js → InputText-CnMckSL1.js} +3 -3
- package/dist/InputTime/index.cjs +14 -15
- package/dist/InputTime/index.mjs +14 -15
- package/dist/{InputTime-Dfzf-QBz.js → InputTime-CfQ88QZb.js} +3 -3
- package/dist/{InputTime-D6WPOR7L.js → InputTime-d5UKalPw.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-CUUbExbO.js → InputValidation-CJFPi4_L.js} +2 -2
- package/dist/{InputValidation-C5xxbrFx.js → InputValidation-DM6zYB0G.js} +2 -2
- package/dist/{InternalChipDismissible-So_PhIyF.js → InternalChipDismissible-4QXKNsLh.js} +8 -9
- package/dist/{InternalChipDismissible-D03QPcPb.js → InternalChipDismissible-BAWDwkxl.js} +8 -9
- package/dist/LightBox/index.cjs +14 -10
- package/dist/LightBox/index.mjs +14 -10
- package/dist/{LightBox-BwKh_oms.js → LightBox-CUb9nT-S.js} +13 -10
- package/dist/{LightBox-er-6wwp1.js → LightBox-kNGnCsY3.js} +13 -10
- package/dist/Link/index.cjs +1 -1
- package/dist/Link/index.mjs +1 -1
- package/dist/List/index.cjs +20 -20
- package/dist/List/index.mjs +20 -20
- package/dist/{List-Dw6qdLKW.js → List-oPADEepD.js} +10 -10
- package/dist/{List-B-r6Z5aP.js → List-ve4Qa0LM.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-DU6e0R5l.js → Markdown-BmARz0IT.js} +3472 -975
- package/dist/{Markdown-DtkEdUsH.js → Markdown-CY6l0hIC.js} +3472 -975
- package/dist/Menu/index.cjs +10 -6
- package/dist/Menu/index.mjs +10 -6
- package/dist/{Menu-c8qm7U-G.js → Menu-CsHy6gs-.js} +46 -11
- package/dist/{Menu-0jlQtbhS.js → Menu-D3t5LB8U.js} +48 -13
- package/dist/Modal/index.cjs +9 -7
- package/dist/Modal/index.mjs +9 -7
- package/dist/{Modal-BrJVKbDa.js → Modal-Cd9Wf-Vk.js} +9 -7
- package/dist/{Modal-GZyA9FpK.js → Modal-DG6xw7VG.js} +9 -7
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-ClrYvU6U.js → MultiSelect-CHDTbXP8.js} +3 -3
- package/dist/{MultiSelect-C6NifFQJ.js → MultiSelect-D7KoGTYT.js} +3 -3
- package/dist/{Option-BVRydPNU.js → Option-DBbeBwlA.js} +1 -1
- package/dist/{Option-E_59_-Ix.js → Option-DXeqxLgl.js} +1 -1
- package/dist/Page/index.cjs +24 -15
- package/dist/Page/index.mjs +24 -15
- package/dist/{Page-BlW-PXar.js → Page-BSNAUovf.js} +12 -12
- package/dist/{Page-Bt2n_ePj.js → Page-BxrGfXaY.js} +12 -12
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-DmPae0An.js → Popover-DDM7vYCq.js} +5 -5
- package/dist/{Popover-C2vvsojD.js → Popover-li4gfpcY.js} +3 -3
- package/dist/ProgressBar/index.cjs +1 -1
- package/dist/ProgressBar/index.mjs +1 -1
- package/dist/RadioGroup/index.cjs +3 -3
- package/dist/RadioGroup/index.mjs +3 -3
- package/dist/{RadioGroup-Bk_ekWYq.js → RadioGroup-anXK04fc.js} +1 -1
- package/dist/{RadioGroup-CAJ7O6J7.js → RadioGroup-tBHxPHrl.js} +1 -1
- package/dist/RecurringSelect/components/index.cjs +4 -4
- package/dist/RecurringSelect/components/index.mjs +4 -4
- package/dist/RecurringSelect/index.cjs +16 -17
- package/dist/RecurringSelect/index.mjs +16 -17
- package/dist/{RecurringSelect-DjFKHuK8.js → RecurringSelect-BWuqrelo.js} +6 -6
- package/dist/{RecurringSelect-s4eUygKL.js → RecurringSelect-CvSY-21B.js} +6 -6
- package/dist/Select/index.cjs +10 -11
- package/dist/Select/index.mjs +10 -11
- package/dist/SideDrawer/index.cjs +11 -7
- package/dist/SideDrawer/index.mjs +11 -7
- package/dist/{SideDrawer--GrFpVbx.js → SideDrawer-B3rPSAus.js} +12 -9
- package/dist/{SideDrawer-BXeI_koJ.js → SideDrawer-DCgMMdVB.js} +12 -9
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.mjs +1 -1
- package/dist/StatusIndicator/index.cjs +1 -1
- package/dist/StatusIndicator/index.mjs +1 -1
- package/dist/StatusLabel/index.cjs +3 -3
- package/dist/StatusLabel/index.mjs +3 -3
- package/dist/{StatusLabel-BBAwskx_.js → StatusLabel-CV2dOO_R.js} +2 -2
- package/dist/{StatusLabel-BeLL6F9P.js → StatusLabel-KYVtD2zA.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-1EpBfm02.js → Switch-BLN4xROD.js} +1 -1
- package/dist/{Switch-CG-jui4E.js → Switch-BYK7IhPL.js} +1 -1
- package/dist/Table/index.cjs +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/index.cjs +7 -6
- package/dist/Tabs/index.mjs +7 -6
- package/dist/{Tabs-B72AblWO.js → Tabs-ChrlxhO-.js} +3 -77
- package/dist/{Tabs-BP0amTdS.js → Tabs-CoUG_dsa.js} +3 -77
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-DKEjSacy.js → Text-CYPpna_A.js} +1 -1
- package/dist/{Text-DcLB-pAo.js → Text-Dz42rriT.js} +1 -1
- package/dist/Toast/index.cjs +4 -4
- package/dist/Toast/index.mjs +4 -4
- package/dist/Tooltip/index.cjs +3 -2
- package/dist/Tooltip/index.mjs +3 -2
- package/dist/{Tooltip-9oHWMaw6.js → Tooltip-DDMUvgSO.js} +4 -3
- package/dist/{Tooltip-CEVviBnu.js → Tooltip-gbxyli56.js} +6 -5
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-EK6iR6kk.js → _baseAssignValue-D-57Tsb7.js} +1 -1
- package/dist/{_baseAssignValue-AEtO5fdz.js → _baseAssignValue-DxTwSZki.js} +1 -1
- package/dist/{_baseEach-BsaZ74CR.js → _baseEach-BlAtaodt.js} +7 -7
- package/dist/{_baseEach-B31j2Hgp.js → _baseEach-P76m0qCp.js} +7 -7
- package/dist/{_baseFlatten-meuhUQ9G.js → _baseFlatten-D5QhhXgt.js} +3 -3
- package/dist/{_baseFlatten-B14Acx9j.js → _baseFlatten-PBO7AXLC.js} +3 -3
- package/dist/{_getAllKeys-BCwMIX-R.js → _getAllKeys-CGq_X5RY.js} +5 -5
- package/dist/{_getAllKeys-fFN550xc.js → _getAllKeys-Cue8K_Ya.js} +5 -5
- package/dist/{_getTag-BmwGFQNB.js → _getTag-BDqFxl6z.js} +2 -2
- package/dist/{_getTag-C_h8bdDW.js → _getTag-BsvDuYNT.js} +2 -2
- package/dist/{_isIterateeCall-CuTM48Xn.js → _isIterateeCall-9G9hW3kQ.js} +4 -4
- package/dist/{_isIterateeCall-C3DTPGPW.js → _isIterateeCall-lBt0hU7t.js} +4 -4
- package/dist/_polyfill-node.process-DjFE7UqH.js +258 -0
- package/dist/_polyfill-node.process-SUu84QPb.js +255 -0
- package/dist/{_setToString-FCEV8RR7.js → _setToString-BkI6B7yN.js} +1 -1
- package/dist/{_setToString-BejoYAEL.js → _setToString-Cq2Rcu1n.js} +1 -1
- package/dist/{debounce-CCpg5ph6.js → debounce-CrMla9Mp.js} +4 -4
- package/dist/{debounce-DME81pxu.js → debounce-D3Hl6gvj.js} +3 -3
- package/dist/{helpers-DHAwKpbg.js → helpers-BaiceTQK.js} +1 -1
- package/dist/helpers-BwYD2_aY.js +17 -0
- package/dist/{identity-Df3H63--.js → identity-CYplbeqi.js} +2 -2
- package/dist/{identity-C7F6c_8r.js → identity-DhNWhZKt.js} +2 -2
- package/dist/{index-MQ-iPJ8M.js → index-CUJ0sCuP.js} +16 -20
- package/dist/{index-C-J7niBW.js → index-D_Q_4KnJ.js} +20 -19
- package/dist/index.cjs +157 -149
- package/dist/index.mjs +157 -149
- package/dist/{isObjectLike-D9KNElet.js → isObjectLike-BKMV5j4-.js} +1 -1
- package/dist/{isObjectLike-D7DFHww9.js → isObjectLike-CJahVmA9.js} +2 -2
- package/dist/{isSymbol-BeM6vpo2.js → isSymbol-D1uOrnC6.js} +1 -1
- package/dist/{isSymbol-CfUFoybO.js → isSymbol-D1wm2Pu4.js} +1 -1
- package/dist/{isTypedArray-uvxAlUuj.js → isTypedArray-CKVIoU5d.js} +2 -2
- package/dist/{isTypedArray-BzEmr7DH.js → isTypedArray-D0FBu98j.js} +1 -1
- package/dist/{keysIn-DHpCHqZ0.js → keysIn-Bpky-sBv.js} +4 -4
- package/dist/{keysIn-CBsPIf0l.js → keysIn-fltgvMv1.js} +4 -4
- package/dist/{noop-Cw2Zlbcq.js → noop-BWlcZnqO.js} +1 -1
- package/dist/{noop-2Ngo-bGn.js → noop-Q10-3hc_.js} +1 -1
- package/dist/{showToast-D8dUgp96.js → showToast-BD3fXqXw.js} +3 -3
- package/dist/{showToast-BF0AmS9G.js → showToast-DiRbI7vY.js} +3 -3
- package/dist/styles.css +1 -0
- package/dist/throttle-C8W1Nwdn.js +77 -0
- package/dist/throttle-DpN5FRp6.js +80 -0
- package/dist/{updateTheme-CW5uhmum.js → updateTheme-Cq080ctT.js} +8 -8
- package/dist/{updateTheme-Wtcya_U_.js → updateTheme-DN_GLbu9.js} +8 -8
- package/dist/{useActiveLayout-CoP0RfYI.js → useActiveLayout-BKtbxFCE.js} +2 -2
- package/dist/{useActiveLayout-Df5uBF0H.js → useActiveLayout-BwO0sDik.js} +2 -2
- package/dist/useAssert-Bvj6ma8T.js +27 -0
- package/dist/useAssert-DaFVHMgX.js +27 -0
- package/dist/{useBatchSelect-B6-NwAy_.js → useBatchSelect-BqZZe4rM.js} +1 -1
- package/dist/{useBatchSelect-MHxS_Inv.js → useBatchSelect-DjLKs4OU.js} +1 -1
- package/dist/useFocusTrap-BDQe5oCj.js +74 -0
- package/dist/useFocusTrap-CqwJLaEA.js +74 -0
- package/dist/useInView-C32Ce2x9.js +25 -0
- package/dist/useInView-Uq7Y-c-A.js +25 -0
- package/dist/useIsMounted-DaAAKF_i.js +50 -0
- package/dist/useIsMounted-LN-sspZU.js +50 -0
- package/dist/useOnKeyDown-CBcYPHEe.js +40 -0
- package/dist/useOnKeyDown-SvCAGt-i.js +40 -0
- package/dist/useRefocusOnActivator-CukgaNm9.js +32 -0
- package/dist/useRefocusOnActivator-DUORZODa.js +32 -0
- package/dist/useResizeObserver-CgHVP5nI.js +1121 -0
- package/dist/useResizeObserver-PNPCe7LT.js +1118 -0
- package/dist/{useResponsiveSizing-ZPRJxwtb.js → useResponsiveSizing-OkV6puRc.js} +1 -1
- package/dist/{useResponsiveSizing-Dyg2q8Ej.js → useResponsiveSizing-hpZUYtGn.js} +1 -1
- package/dist/useSafeLayoutEffect-BKQEUQPc.js +14 -0
- package/dist/useSafeLayoutEffect-CUWLzBXh.js +12 -0
- package/dist/{useScrollToActive-TNRVW0jS.js → useScrollToActive-BDxJBuX6.js} +58 -15
- package/dist/{useScrollToActive-CI2ELwMP.js → useScrollToActive-xAvQxa5v.js} +56 -13
- package/package.json +2 -2
- package/rollup.config.mjs +5 -10
- package/dist/helpers-CmHPmogT.js +0 -36
- package/dist/index-BRwI8qm9.js +0 -7
- package/dist/index-Cmbpv2x7.js +0 -10
- /package/dist/{AnimatedPresence-D7tP3W5M.js → AnimatedPresence-Di5GRAIo.js} +0 -0
- /package/dist/{AnimatedPresence-lrOwmMrR.js → AnimatedPresence-qxvlycLY.js} +0 -0
- /package/dist/{AtlantisContext-C1Kgg953.js → AtlantisContext--0yLtX0Q.js} +0 -0
- /package/dist/{AtlantisContext-BYJ2fM-x.js → AtlantisContext-DnmDqI4s.js} +0 -0
- /package/dist/{Body-BJkuLbto.js → Body-CHZcSWkO.js} +0 -0
- /package/dist/{Body-B2V3nxvC.js → Body-F_EXHjlD.js} +0 -0
- /package/dist/{Content-CeRoe948.js → Content-BMb92MKy.js} +0 -0
- /package/dist/{Content-Da1gLCz3.js → Content-DGpJ066C.js} +0 -0
- /package/dist/{DataList.const-06Df4XzY.js → DataList.const-DEVqI70Q.js} +0 -0
- /package/dist/{DataList.const-nQnvXqgx.js → DataList.const-DNFR1hYa.js} +0 -0
- /package/dist/{DataList.module-p3p5OpV-.js → DataList.module-CawUM5kT.js} +0 -0
- /package/dist/{DataList.module-BCnPjrl0.js → DataList.module-P4RMuUTA.js} +0 -0
- /package/dist/{DataListLayoutContext-VE_tFifG.js → DataListLayoutContext-fBGlNuSL.js} +0 -0
- /package/dist/{DataListLayoutContext-PpcH9Dee.js → DataListLayoutContext-yXiR9k6V.js} +0 -0
- /package/dist/{Divider-sNSNzbut.js → Divider-B4q-H4y6.js} +0 -0
- /package/dist/{Divider-Ba2Gpt_3.js → Divider-lmgfyFS0.js} +0 -0
- /package/dist/{Flex-g2ca7712.js → Flex-DaPjtsko.js} +0 -0
- /package/dist/{Flex-BwUEBsrt.js → Flex-YfY5Djnv.js} +0 -0
- /package/dist/{FormatDate-DCvv_pOp.js → FormatDate-BQ26WG4Z.js} +0 -0
- /package/dist/{FormatDate-hHZTU8K_.js → FormatDate-Bk5i54qy.js} +0 -0
- /package/dist/{FormatEmail-Dioi4ZHC.js → FormatEmail-B0SM0up4.js} +0 -0
- /package/dist/{FormatEmail-Dz7GbbAz.js → FormatEmail-asa6yYJN.js} +0 -0
- /package/dist/{FormatRelativeDateTime-FwXaad3N.js → FormatRelativeDateTime-B7VLWLet.js} +0 -0
- /package/dist/{FormatRelativeDateTime-BqRXnuBw.js → FormatRelativeDateTime-Ci74sYEu.js} +0 -0
- /package/dist/{FormatTime-BxRI0LP_.js → FormatTime-AK-2KBk2.js} +0 -0
- /package/dist/{FormatTime-6jlRBbq4.js → FormatTime-LAwZnlDF.js} +0 -0
- /package/dist/{Icon-DpK1DbfY.js → Icon-Cco79q1Z.js} +0 -0
- /package/dist/{Icon-CoREN3sy.js → Icon-xgH56Ujn.js} +0 -0
- /package/dist/{InputGroup-h3jDrLE2.js → InputGroup-CFtxRJQa.js} +0 -0
- /package/dist/{InputGroup-BwT-DiJr.js → InputGroup-Cz1zAk0Q.js} +0 -0
- /package/dist/{InternalGridCell-BPW6xlco.js → InternalGridCell-BfIPqaSl.js} +0 -0
- /package/dist/{InternalGridCell-BbJANRYM.js → InternalGridCell-bCpuVjsy.js} +0 -0
- /package/dist/{Link-TjqhO9_a.js → Link-Dl-C-fou.js} +0 -0
- /package/dist/{Link-Cw3XP9tk.js → Link-WfXiyIOx.js} +0 -0
- /package/dist/{ProgressBar-DMvN5nHP.js → ProgressBar-BsH7CH-e.js} +0 -0
- /package/dist/{ProgressBar-nlmSMtgr.js → ProgressBar-CmZCoPRH.js} +0 -0
- /package/dist/{Spinner-VQ1eCw7F.js → Spinner-Buoym1KL.js} +0 -0
- /package/dist/{Spinner-Cl3_p77w.js → Spinner-C88DyKtP.js} +0 -0
- /package/dist/{StatusIndicator-Iv2NvXbw.js → StatusIndicator-vhHrxjfa.js} +0 -0
- /package/dist/{StatusIndicator-U7B57Xw7.js → StatusIndicator-x9f30Qhx.js} +0 -0
- /package/dist/{Typography-HBoNYubQ.js → Typography-C1UEAfaY.js} +0 -0
- /package/dist/{Typography-CiY8Ds7Z.js → Typography-eMgZ7shu.js} +0 -0
- /package/dist/{_baseFor-Z_GHSUQ6.js → _baseFor-B44XyzI3.js} +0 -0
- /package/dist/{_baseFor-C2FEmD0I.js → _baseFor-BfjbGAzq.js} +0 -0
- /package/dist/{_commonjsHelpers-CC6SfZmL.js → _commonjsHelpers-DGFZgUy3.js} +0 -0
- /package/dist/{_commonjsHelpers-B8LX4GJh.js → _commonjsHelpers-lUPY9CgW.js} +0 -0
- /package/dist/{tslib.es6-DquRgmuZ.js → tslib.es6-BC0UaW5g.js} +0 -0
- /package/dist/{tslib.es6-DtOipERZ.js → tslib.es6-CTxYapuX.js} +0 -0
- /package/dist/{useChildComponent-B96WuTx7.js → useChildComponent-XiGOWejK.js} +0 -0
- /package/dist/{useChildComponent-3slaVmqT.js → useChildComponent-xP94WO80.js} +0 -0
- /package/dist/{useFormFieldFocus-DNZWY38H.js → useFormFieldFocus-BDAPakEy.js} +0 -0
- /package/dist/{useFormFieldFocus-BVHpUI_8.js → useFormFieldFocus-R-A00m2T.js} +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { T as Text } from './Text-
|
|
3
|
-
import { E as Emphasis } from './Emphasis-
|
|
4
|
-
import { H as Heading } from './Heading-
|
|
5
|
-
import { C as Content } from './Content-
|
|
6
|
-
import { P as PropTypes } from './index-
|
|
7
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
2
|
+
import { T as Text } from './Text-Dz42rriT.js';
|
|
3
|
+
import { E as Emphasis } from './Emphasis-BKy_VKiX.js';
|
|
4
|
+
import { H as Heading } from './Heading-aLFLLj33.js';
|
|
5
|
+
import { C as Content } from './Content-DGpJ066C.js';
|
|
6
|
+
import { P as PropTypes } from './index-CUJ0sCuP.js';
|
|
7
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-DGFZgUy3.js';
|
|
8
|
+
import { b as browser$1 } from './_polyfill-node.process-SUu84QPb.js';
|
|
8
9
|
|
|
9
10
|
const protocols = ['http', 'https', 'mailto', 'tel'];
|
|
10
11
|
|
|
@@ -376,36 +377,6 @@ VFileMessage$1.prototype.source = null;
|
|
|
376
377
|
VFileMessage$1.prototype.ruleId = null;
|
|
377
378
|
VFileMessage$1.prototype.position = null;
|
|
378
379
|
|
|
379
|
-
// A derivative work based on:
|
|
380
|
-
// <https://github.com/browserify/path-browserify>.
|
|
381
|
-
// Which is licensed:
|
|
382
|
-
//
|
|
383
|
-
// MIT License
|
|
384
|
-
//
|
|
385
|
-
// Copyright (c) 2013 James Halliday
|
|
386
|
-
//
|
|
387
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
388
|
-
// this software and associated documentation files (the "Software"), to deal in
|
|
389
|
-
// the Software without restriction, including without limitation the rights to
|
|
390
|
-
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
391
|
-
// the Software, and to permit persons to whom the Software is furnished to do so,
|
|
392
|
-
// subject to the following conditions:
|
|
393
|
-
//
|
|
394
|
-
// The above copyright notice and this permission notice shall be included in all
|
|
395
|
-
// copies or substantial portions of the Software.
|
|
396
|
-
//
|
|
397
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
398
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
399
|
-
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
400
|
-
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
401
|
-
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
402
|
-
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
403
|
-
// A derivative work based on:
|
|
404
|
-
//
|
|
405
|
-
// Parts of that are extracted from Node’s internal `path` module:
|
|
406
|
-
// <https://github.com/nodejs/node/blob/master/lib/path.js>.
|
|
407
|
-
// Which is licensed:
|
|
408
|
-
//
|
|
409
380
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
410
381
|
//
|
|
411
382
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -427,383 +398,1375 @@ VFileMessage$1.prototype.position = null;
|
|
|
427
398
|
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
428
399
|
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
429
400
|
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
401
|
+
// resolves . and .. elements in a path array with directory names there
|
|
402
|
+
// must be no slashes, empty elements, or device names (c:\) in the array
|
|
403
|
+
// (so also no leading and trailing slashes - it does not distinguish
|
|
404
|
+
// relative and absolute paths)
|
|
405
|
+
function normalizeArray(parts, allowAboveRoot) {
|
|
406
|
+
// if the path tries to go above the root, `up` ends up > 0
|
|
407
|
+
var up = 0;
|
|
408
|
+
for (var i = parts.length - 1; i >= 0; i--) {
|
|
409
|
+
var last = parts[i];
|
|
410
|
+
if (last === '.') {
|
|
411
|
+
parts.splice(i, 1);
|
|
412
|
+
} else if (last === '..') {
|
|
413
|
+
parts.splice(i, 1);
|
|
414
|
+
up++;
|
|
415
|
+
} else if (up) {
|
|
416
|
+
parts.splice(i, 1);
|
|
417
|
+
up--;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
433
420
|
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
* @param {string | undefined} [ext]
|
|
440
|
-
* Extension to strip.
|
|
441
|
-
* @returns {string}
|
|
442
|
-
* Stem or basename.
|
|
443
|
-
*/
|
|
444
|
-
function basename$1(path, ext) {
|
|
445
|
-
if (ext !== undefined && typeof ext !== 'string') {
|
|
446
|
-
throw new TypeError('"ext" argument must be a string')
|
|
421
|
+
// if the path is allowed to go above the root, restore leading ..s
|
|
422
|
+
if (allowAboveRoot) {
|
|
423
|
+
for (; up--; up) {
|
|
424
|
+
parts.unshift('..');
|
|
425
|
+
}
|
|
447
426
|
}
|
|
448
427
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
428
|
+
return parts;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
// Split a filename into [root, dir, basename, ext], unix version
|
|
432
|
+
// 'root' is just a slash, or nothing.
|
|
433
|
+
var splitPathRe =
|
|
434
|
+
/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
|
|
435
|
+
var splitPath = function(filename) {
|
|
436
|
+
return splitPathRe.exec(filename).slice(1);
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
// path.resolve([from ...], to)
|
|
440
|
+
// posix version
|
|
441
|
+
function resolve() {
|
|
442
|
+
var resolvedPath = '',
|
|
443
|
+
resolvedAbsolute = false;
|
|
444
|
+
|
|
445
|
+
for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
|
|
446
|
+
var path = (i >= 0) ? arguments[i] : '/';
|
|
447
|
+
|
|
448
|
+
// Skip empty and invalid entries
|
|
449
|
+
if (typeof path !== 'string') {
|
|
450
|
+
throw new TypeError('Arguments to path.resolve must be strings');
|
|
451
|
+
} else if (!path) {
|
|
452
|
+
continue;
|
|
471
453
|
}
|
|
472
454
|
|
|
473
|
-
|
|
455
|
+
resolvedPath = path + '/' + resolvedPath;
|
|
456
|
+
resolvedAbsolute = path.charAt(0) === '/';
|
|
474
457
|
}
|
|
475
458
|
|
|
476
|
-
|
|
477
|
-
|
|
459
|
+
// At this point the path should be resolved to a full absolute path, but
|
|
460
|
+
// handle relative paths to be safe (might happen when process.cwd() fails)
|
|
461
|
+
|
|
462
|
+
// Normalize the path
|
|
463
|
+
resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
|
|
464
|
+
return !!p;
|
|
465
|
+
}), !resolvedAbsolute).join('/');
|
|
466
|
+
|
|
467
|
+
return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
|
|
468
|
+
}
|
|
469
|
+
// path.normalize(path)
|
|
470
|
+
// posix version
|
|
471
|
+
function normalize$1(path) {
|
|
472
|
+
var isPathAbsolute = isAbsolute(path),
|
|
473
|
+
trailingSlash = substr(path, -1) === '/';
|
|
474
|
+
|
|
475
|
+
// Normalize the path
|
|
476
|
+
path = normalizeArray(filter(path.split('/'), function(p) {
|
|
477
|
+
return !!p;
|
|
478
|
+
}), !isPathAbsolute).join('/');
|
|
479
|
+
|
|
480
|
+
if (!path && !isPathAbsolute) {
|
|
481
|
+
path = '.';
|
|
482
|
+
}
|
|
483
|
+
if (path && trailingSlash) {
|
|
484
|
+
path += '/';
|
|
478
485
|
}
|
|
479
486
|
|
|
480
|
-
|
|
481
|
-
|
|
487
|
+
return (isPathAbsolute ? '/' : '') + path;
|
|
488
|
+
}
|
|
489
|
+
// posix version
|
|
490
|
+
function isAbsolute(path) {
|
|
491
|
+
return path.charAt(0) === '/';
|
|
492
|
+
}
|
|
482
493
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
// We saw the first non-path separator, remember this index in case
|
|
494
|
-
// we need it if the extension ends up not matching.
|
|
495
|
-
seenNonSlash = true;
|
|
496
|
-
firstNonSlashEnd = index + 1;
|
|
497
|
-
}
|
|
494
|
+
// posix version
|
|
495
|
+
function join() {
|
|
496
|
+
var paths = Array.prototype.slice.call(arguments, 0);
|
|
497
|
+
return normalize$1(filter(paths, function(p, index) {
|
|
498
|
+
if (typeof p !== 'string') {
|
|
499
|
+
throw new TypeError('Arguments to path.join must be strings');
|
|
500
|
+
}
|
|
501
|
+
return p;
|
|
502
|
+
}).join('/'));
|
|
503
|
+
}
|
|
498
504
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
505
|
+
|
|
506
|
+
// path.relative(from, to)
|
|
507
|
+
// posix version
|
|
508
|
+
function relative(from, to) {
|
|
509
|
+
from = resolve(from).substr(1);
|
|
510
|
+
to = resolve(to).substr(1);
|
|
511
|
+
|
|
512
|
+
function trim(arr) {
|
|
513
|
+
var start = 0;
|
|
514
|
+
for (; start < arr.length; start++) {
|
|
515
|
+
if (arr[start] !== '') break;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
var end = arr.length - 1;
|
|
519
|
+
for (; end >= 0; end--) {
|
|
520
|
+
if (arr[end] !== '') break;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
if (start > end) return [];
|
|
524
|
+
return arr.slice(start, end - start + 1);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
var fromParts = trim(from.split('/'));
|
|
528
|
+
var toParts = trim(to.split('/'));
|
|
529
|
+
|
|
530
|
+
var length = Math.min(fromParts.length, toParts.length);
|
|
531
|
+
var samePartsLength = length;
|
|
532
|
+
for (var i = 0; i < length; i++) {
|
|
533
|
+
if (fromParts[i] !== toParts[i]) {
|
|
534
|
+
samePartsLength = i;
|
|
535
|
+
break;
|
|
514
536
|
}
|
|
515
537
|
}
|
|
516
538
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
539
|
+
var outputParts = [];
|
|
540
|
+
for (var i = samePartsLength; i < fromParts.length; i++) {
|
|
541
|
+
outputParts.push('..');
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
outputParts = outputParts.concat(toParts.slice(samePartsLength));
|
|
545
|
+
|
|
546
|
+
return outputParts.join('/');
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
var sep = '/';
|
|
550
|
+
var delimiter$1 = ':';
|
|
551
|
+
|
|
552
|
+
function dirname(path) {
|
|
553
|
+
var result = splitPath(path),
|
|
554
|
+
root = result[0],
|
|
555
|
+
dir = result[1];
|
|
556
|
+
|
|
557
|
+
if (!root && !dir) {
|
|
558
|
+
// No dirname whatsoever
|
|
559
|
+
return '.';
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
if (dir) {
|
|
563
|
+
// It has a dirname, strip trailing slash
|
|
564
|
+
dir = dir.substr(0, dir.length - 1);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
return root + dir;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
function basename(path, ext) {
|
|
571
|
+
var f = splitPath(path)[2];
|
|
572
|
+
// TODO: make this comparison case-insensitive on windows?
|
|
573
|
+
if (ext && f.substr(-1 * ext.length) === ext) {
|
|
574
|
+
f = f.substr(0, f.length - ext.length);
|
|
521
575
|
}
|
|
576
|
+
return f;
|
|
577
|
+
}
|
|
578
|
+
|
|
522
579
|
|
|
523
|
-
|
|
580
|
+
function extname(path) {
|
|
581
|
+
return splitPath(path)[3];
|
|
582
|
+
}
|
|
583
|
+
var path = {
|
|
584
|
+
extname: extname,
|
|
585
|
+
basename: basename,
|
|
586
|
+
dirname: dirname,
|
|
587
|
+
sep: sep,
|
|
588
|
+
delimiter: delimiter$1,
|
|
589
|
+
relative: relative,
|
|
590
|
+
join: join,
|
|
591
|
+
isAbsolute: isAbsolute,
|
|
592
|
+
normalize: normalize$1,
|
|
593
|
+
resolve: resolve
|
|
594
|
+
};
|
|
595
|
+
function filter (xs, f) {
|
|
596
|
+
if (xs.filter) return xs.filter(f);
|
|
597
|
+
var res = [];
|
|
598
|
+
for (var i = 0; i < xs.length; i++) {
|
|
599
|
+
if (f(xs[i], i, xs)) res.push(xs[i]);
|
|
600
|
+
}
|
|
601
|
+
return res;
|
|
524
602
|
}
|
|
525
603
|
|
|
604
|
+
// String.prototype.substr - negative index don't work in IE8
|
|
605
|
+
var substr = 'ab'.substr(-1) === 'b' ?
|
|
606
|
+
function (str, start, len) { return str.substr(start, len) } :
|
|
607
|
+
function (str, start, len) {
|
|
608
|
+
if (start < 0) start = str.length + start;
|
|
609
|
+
return str.substr(start, len);
|
|
610
|
+
}
|
|
611
|
+
;
|
|
612
|
+
|
|
613
|
+
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
/** Highest positive signed 32-bit float value */
|
|
617
|
+
var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
|
|
618
|
+
|
|
619
|
+
/** Bootstring parameters */
|
|
620
|
+
var base$1 = 36;
|
|
621
|
+
var tMin = 1;
|
|
622
|
+
var tMax = 26;
|
|
623
|
+
var skew = 38;
|
|
624
|
+
var damp = 700;
|
|
625
|
+
var initialBias = 72;
|
|
626
|
+
var initialN = 128; // 0x80
|
|
627
|
+
var delimiter = '-'; // '\x2D'
|
|
628
|
+
var regexNonASCII = /[^\x20-\x7E]/; // unprintable ASCII chars + non-ASCII chars
|
|
629
|
+
var regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
|
|
630
|
+
|
|
631
|
+
/** Error messages */
|
|
632
|
+
var errors = {
|
|
633
|
+
'overflow': 'Overflow: input needs wider integers to process',
|
|
634
|
+
'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
|
|
635
|
+
'invalid-input': 'Invalid input'
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
/** Convenience shortcuts */
|
|
639
|
+
var baseMinusTMin = base$1 - tMin;
|
|
640
|
+
var floor = Math.floor;
|
|
641
|
+
var stringFromCharCode = String.fromCharCode;
|
|
642
|
+
|
|
643
|
+
/*--------------------------------------------------------------------------*/
|
|
644
|
+
|
|
526
645
|
/**
|
|
527
|
-
*
|
|
528
|
-
*
|
|
529
|
-
* @param {
|
|
530
|
-
*
|
|
531
|
-
* @returns {string}
|
|
532
|
-
* File path.
|
|
646
|
+
* A generic error utility function.
|
|
647
|
+
* @private
|
|
648
|
+
* @param {String} type The error type.
|
|
649
|
+
* @returns {Error} Throws a `RangeError` with the applicable error message.
|
|
533
650
|
*/
|
|
534
|
-
function
|
|
535
|
-
|
|
651
|
+
function error(type) {
|
|
652
|
+
throw new RangeError(errors[type]);
|
|
653
|
+
}
|
|
536
654
|
|
|
537
|
-
|
|
538
|
-
|
|
655
|
+
/**
|
|
656
|
+
* A generic `Array#map` utility function.
|
|
657
|
+
* @private
|
|
658
|
+
* @param {Array} array The array to iterate over.
|
|
659
|
+
* @param {Function} callback The function that gets called for every array
|
|
660
|
+
* item.
|
|
661
|
+
* @returns {Array} A new array of values returned by the callback function.
|
|
662
|
+
*/
|
|
663
|
+
function map$1(array, fn) {
|
|
664
|
+
var length = array.length;
|
|
665
|
+
var result = [];
|
|
666
|
+
while (length--) {
|
|
667
|
+
result[length] = fn(array[length]);
|
|
539
668
|
}
|
|
669
|
+
return result;
|
|
670
|
+
}
|
|
540
671
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
672
|
+
/**
|
|
673
|
+
* A simple `Array#map`-like wrapper to work with domain name strings or email
|
|
674
|
+
* addresses.
|
|
675
|
+
* @private
|
|
676
|
+
* @param {String} domain The domain name or email address.
|
|
677
|
+
* @param {Function} callback The function that gets called for every
|
|
678
|
+
* character.
|
|
679
|
+
* @returns {Array} A new string of characters returned by the callback
|
|
680
|
+
* function.
|
|
681
|
+
*/
|
|
682
|
+
function mapDomain(string, fn) {
|
|
683
|
+
var parts = string.split('@');
|
|
684
|
+
var result = '';
|
|
685
|
+
if (parts.length > 1) {
|
|
686
|
+
// In email addresses, only the domain name should be punycoded. Leave
|
|
687
|
+
// the local part (i.e. everything up to `@`) intact.
|
|
688
|
+
result = parts[0] + '@';
|
|
689
|
+
string = parts[1];
|
|
690
|
+
}
|
|
691
|
+
// Avoid `split(regex)` for IE8 compatibility. See #17.
|
|
692
|
+
string = string.replace(regexSeparators, '\x2E');
|
|
693
|
+
var labels = string.split('.');
|
|
694
|
+
var encoded = map$1(labels, fn).join('.');
|
|
695
|
+
return result + encoded;
|
|
696
|
+
}
|
|
545
697
|
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
698
|
+
/**
|
|
699
|
+
* Creates an array containing the numeric code points of each Unicode
|
|
700
|
+
* character in the string. While JavaScript uses UCS-2 internally,
|
|
701
|
+
* this function will convert a pair of surrogate halves (each of which
|
|
702
|
+
* UCS-2 exposes as separate characters) into a single code point,
|
|
703
|
+
* matching UTF-16.
|
|
704
|
+
* @see `punycode.ucs2.encode`
|
|
705
|
+
* @see <https://mathiasbynens.be/notes/javascript-encoding>
|
|
706
|
+
* @memberOf punycode.ucs2
|
|
707
|
+
* @name decode
|
|
708
|
+
* @param {String} string The Unicode input string (UCS-2).
|
|
709
|
+
* @returns {Array} The new array of code points.
|
|
710
|
+
*/
|
|
711
|
+
function ucs2decode(string) {
|
|
712
|
+
var output = [],
|
|
713
|
+
counter = 0,
|
|
714
|
+
length = string.length,
|
|
715
|
+
value,
|
|
716
|
+
extra;
|
|
717
|
+
while (counter < length) {
|
|
718
|
+
value = string.charCodeAt(counter++);
|
|
719
|
+
if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
|
|
720
|
+
// high surrogate, and there is a next character
|
|
721
|
+
extra = string.charCodeAt(counter++);
|
|
722
|
+
if ((extra & 0xFC00) == 0xDC00) { // low surrogate
|
|
723
|
+
output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
|
|
724
|
+
} else {
|
|
725
|
+
// unmatched surrogate; only append this code unit, in case the next
|
|
726
|
+
// code unit is the high surrogate of a surrogate pair
|
|
727
|
+
output.push(value);
|
|
728
|
+
counter--;
|
|
552
729
|
}
|
|
553
|
-
} else
|
|
554
|
-
|
|
555
|
-
unmatchedSlash = true;
|
|
730
|
+
} else {
|
|
731
|
+
output.push(value);
|
|
556
732
|
}
|
|
557
733
|
}
|
|
734
|
+
return output;
|
|
735
|
+
}
|
|
558
736
|
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
737
|
+
/**
|
|
738
|
+
* Converts a digit/integer into a basic code point.
|
|
739
|
+
* @see `basicToDigit()`
|
|
740
|
+
* @private
|
|
741
|
+
* @param {Number} digit The numeric value of a basic code point.
|
|
742
|
+
* @returns {Number} The basic code point whose value (when used for
|
|
743
|
+
* representing integers) is `digit`, which needs to be in the range
|
|
744
|
+
* `0` to `base - 1`. If `flag` is non-zero, the uppercase form is
|
|
745
|
+
* used; else, the lowercase form is used. The behavior is undefined
|
|
746
|
+
* if `flag` is non-zero and `digit` has no uppercase form.
|
|
747
|
+
*/
|
|
748
|
+
function digitToBasic(digit, flag) {
|
|
749
|
+
// 0..25 map to ASCII a..z or A..Z
|
|
750
|
+
// 26..35 map to ASCII 0..9
|
|
751
|
+
return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
|
|
566
752
|
}
|
|
567
753
|
|
|
568
754
|
/**
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
* @
|
|
572
|
-
* File path.
|
|
573
|
-
* @returns {string}
|
|
574
|
-
* Extname.
|
|
755
|
+
* Bias adaptation function as per section 3.4 of RFC 3492.
|
|
756
|
+
* https://tools.ietf.org/html/rfc3492#section-3.4
|
|
757
|
+
* @private
|
|
575
758
|
*/
|
|
576
|
-
function
|
|
577
|
-
|
|
759
|
+
function adapt(delta, numPoints, firstTime) {
|
|
760
|
+
var k = 0;
|
|
761
|
+
delta = firstTime ? floor(delta / damp) : delta >> 1;
|
|
762
|
+
delta += floor(delta / numPoints);
|
|
763
|
+
for ( /* no initialization */ ; delta > baseMinusTMin * tMax >> 1; k += base$1) {
|
|
764
|
+
delta = floor(delta / baseMinusTMin);
|
|
765
|
+
}
|
|
766
|
+
return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
|
|
767
|
+
}
|
|
578
768
|
|
|
579
|
-
|
|
769
|
+
/**
|
|
770
|
+
* Converts a string of Unicode symbols (e.g. a domain name label) to a
|
|
771
|
+
* Punycode string of ASCII-only symbols.
|
|
772
|
+
* @memberOf punycode
|
|
773
|
+
* @param {String} input The string of Unicode symbols.
|
|
774
|
+
* @returns {String} The resulting Punycode string of ASCII-only symbols.
|
|
775
|
+
*/
|
|
776
|
+
function encode(input) {
|
|
777
|
+
var n,
|
|
778
|
+
delta,
|
|
779
|
+
handledCPCount,
|
|
780
|
+
basicLength,
|
|
781
|
+
bias,
|
|
782
|
+
j,
|
|
783
|
+
m,
|
|
784
|
+
q,
|
|
785
|
+
k,
|
|
786
|
+
t,
|
|
787
|
+
currentValue,
|
|
788
|
+
output = [],
|
|
789
|
+
/** `inputLength` will hold the number of code points in `input`. */
|
|
790
|
+
inputLength,
|
|
791
|
+
/** Cached calculation results */
|
|
792
|
+
handledCPCountPlusOne,
|
|
793
|
+
baseMinusT,
|
|
794
|
+
qMinusT;
|
|
795
|
+
|
|
796
|
+
// Convert the input in UCS-2 to Unicode
|
|
797
|
+
input = ucs2decode(input);
|
|
798
|
+
|
|
799
|
+
// Cache the length
|
|
800
|
+
inputLength = input.length;
|
|
801
|
+
|
|
802
|
+
// Initialize the state
|
|
803
|
+
n = initialN;
|
|
804
|
+
delta = 0;
|
|
805
|
+
bias = initialBias;
|
|
806
|
+
|
|
807
|
+
// Handle the basic code points
|
|
808
|
+
for (j = 0; j < inputLength; ++j) {
|
|
809
|
+
currentValue = input[j];
|
|
810
|
+
if (currentValue < 0x80) {
|
|
811
|
+
output.push(stringFromCharCode(currentValue));
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
handledCPCount = basicLength = output.length;
|
|
816
|
+
|
|
817
|
+
// `handledCPCount` is the number of code points that have been handled;
|
|
818
|
+
// `basicLength` is the number of basic code points.
|
|
819
|
+
|
|
820
|
+
// Finish the basic string - if it is not empty - with a delimiter
|
|
821
|
+
if (basicLength) {
|
|
822
|
+
output.push(delimiter);
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
// Main encoding loop:
|
|
826
|
+
while (handledCPCount < inputLength) {
|
|
827
|
+
|
|
828
|
+
// All non-basic code points < n have been handled already. Find the next
|
|
829
|
+
// larger one:
|
|
830
|
+
for (m = maxInt, j = 0; j < inputLength; ++j) {
|
|
831
|
+
currentValue = input[j];
|
|
832
|
+
if (currentValue >= n && currentValue < m) {
|
|
833
|
+
m = currentValue;
|
|
834
|
+
}
|
|
835
|
+
}
|
|
580
836
|
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
/** @type {boolean | undefined} */
|
|
588
|
-
let unmatchedSlash;
|
|
837
|
+
// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,
|
|
838
|
+
// but guard against overflow
|
|
839
|
+
handledCPCountPlusOne = handledCPCount + 1;
|
|
840
|
+
if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
|
|
841
|
+
error('overflow');
|
|
842
|
+
}
|
|
589
843
|
|
|
590
|
-
|
|
591
|
-
|
|
844
|
+
delta += (m - n) * handledCPCountPlusOne;
|
|
845
|
+
n = m;
|
|
592
846
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
// separators at the end of the string, stop now.
|
|
596
|
-
if (unmatchedSlash) {
|
|
597
|
-
startPart = index + 1;
|
|
598
|
-
break
|
|
599
|
-
}
|
|
847
|
+
for (j = 0; j < inputLength; ++j) {
|
|
848
|
+
currentValue = input[j];
|
|
600
849
|
|
|
601
|
-
|
|
602
|
-
|
|
850
|
+
if (currentValue < n && ++delta > maxInt) {
|
|
851
|
+
error('overflow');
|
|
852
|
+
}
|
|
603
853
|
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
854
|
+
if (currentValue == n) {
|
|
855
|
+
// Represent delta as a generalized variable-length integer
|
|
856
|
+
for (q = delta, k = base$1; /* no condition */ ; k += base$1) {
|
|
857
|
+
t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
|
|
858
|
+
if (q < t) {
|
|
859
|
+
break;
|
|
860
|
+
}
|
|
861
|
+
qMinusT = q - t;
|
|
862
|
+
baseMinusT = base$1 - t;
|
|
863
|
+
output.push(
|
|
864
|
+
stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))
|
|
865
|
+
);
|
|
866
|
+
q = floor(qMinusT / baseMinusT);
|
|
867
|
+
}
|
|
610
868
|
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
} else if (preDotState !== 1) {
|
|
616
|
-
preDotState = 1;
|
|
869
|
+
output.push(stringFromCharCode(digitToBasic(q, 0)));
|
|
870
|
+
bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
|
|
871
|
+
delta = 0;
|
|
872
|
+
++handledCPCount;
|
|
617
873
|
}
|
|
618
|
-
} else if (startDot > -1) {
|
|
619
|
-
// We saw a non-dot and non-path separator before our dot, so we should
|
|
620
|
-
// have a good chance at having a non-empty extension.
|
|
621
|
-
preDotState = -1;
|
|
622
874
|
}
|
|
623
|
-
}
|
|
624
875
|
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
end < 0 ||
|
|
628
|
-
// We saw a non-dot character immediately before the dot.
|
|
629
|
-
preDotState === 0 ||
|
|
630
|
-
// The (right-most) trimmed path component is exactly `..`.
|
|
631
|
-
(preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)
|
|
632
|
-
) {
|
|
633
|
-
return ''
|
|
634
|
-
}
|
|
876
|
+
++delta;
|
|
877
|
+
++n;
|
|
635
878
|
|
|
636
|
-
|
|
879
|
+
}
|
|
880
|
+
return output.join('');
|
|
637
881
|
}
|
|
638
882
|
|
|
639
883
|
/**
|
|
640
|
-
*
|
|
641
|
-
*
|
|
642
|
-
*
|
|
643
|
-
*
|
|
644
|
-
* @
|
|
645
|
-
*
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
884
|
+
* Converts a Unicode string representing a domain name or an email address to
|
|
885
|
+
* Punycode. Only the non-ASCII parts of the domain name will be converted,
|
|
886
|
+
* i.e. it doesn't matter if you call it with a domain that's already in
|
|
887
|
+
* ASCII.
|
|
888
|
+
* @memberOf punycode
|
|
889
|
+
* @param {String} input The domain name or email address to convert, as a
|
|
890
|
+
* Unicode string.
|
|
891
|
+
* @returns {String} The Punycode representation of the given domain name or
|
|
892
|
+
* email address.
|
|
893
|
+
*/
|
|
894
|
+
function toASCII(input) {
|
|
895
|
+
return mapDomain(input, function(string) {
|
|
896
|
+
return regexNonASCII.test(string) ?
|
|
897
|
+
'xn--' + encode(string) :
|
|
898
|
+
string;
|
|
899
|
+
});
|
|
900
|
+
}
|
|
651
901
|
|
|
652
|
-
|
|
653
|
-
|
|
902
|
+
function isNull(arg) {
|
|
903
|
+
return arg === null;
|
|
904
|
+
}
|
|
654
905
|
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
}
|
|
659
|
-
}
|
|
906
|
+
function isNullOrUndefined(arg) {
|
|
907
|
+
return arg == null;
|
|
908
|
+
}
|
|
660
909
|
|
|
661
|
-
|
|
910
|
+
function isString(arg) {
|
|
911
|
+
return typeof arg === 'string';
|
|
662
912
|
}
|
|
663
913
|
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
//
|
|
673
|
-
//
|
|
674
|
-
|
|
675
|
-
|
|
914
|
+
function isObject(arg) {
|
|
915
|
+
return typeof arg === 'object' && arg !== null;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
|
919
|
+
//
|
|
920
|
+
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
921
|
+
// copy of this software and associated documentation files (the
|
|
922
|
+
// "Software"), to deal in the Software without restriction, including
|
|
923
|
+
// without limitation the rights to use, copy, modify, merge, publish,
|
|
924
|
+
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
925
|
+
// persons to whom the Software is furnished to do so, subject to the
|
|
926
|
+
// following conditions:
|
|
927
|
+
//
|
|
928
|
+
// The above copyright notice and this permission notice shall be included
|
|
929
|
+
// in all copies or substantial portions of the Software.
|
|
930
|
+
//
|
|
931
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
932
|
+
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
933
|
+
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
934
|
+
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
935
|
+
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
936
|
+
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
937
|
+
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
// If obj.hasOwnProperty has been overridden, then calling
|
|
941
|
+
// obj.hasOwnProperty(prop) will break.
|
|
942
|
+
// See: https://github.com/joyent/node/issues/1707
|
|
943
|
+
function hasOwnProperty$1(obj, prop) {
|
|
944
|
+
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
945
|
+
}
|
|
946
|
+
var isArray$1 = Array.isArray || function (xs) {
|
|
947
|
+
return Object.prototype.toString.call(xs) === '[object Array]';
|
|
948
|
+
};
|
|
949
|
+
function stringifyPrimitive(v) {
|
|
950
|
+
switch (typeof v) {
|
|
951
|
+
case 'string':
|
|
952
|
+
return v;
|
|
953
|
+
|
|
954
|
+
case 'boolean':
|
|
955
|
+
return v ? 'true' : 'false';
|
|
676
956
|
|
|
677
|
-
|
|
957
|
+
case 'number':
|
|
958
|
+
return isFinite(v) ? v : '';
|
|
678
959
|
|
|
679
|
-
|
|
680
|
-
|
|
960
|
+
default:
|
|
961
|
+
return '';
|
|
962
|
+
}
|
|
963
|
+
}
|
|
681
964
|
|
|
682
|
-
|
|
683
|
-
|
|
965
|
+
function stringify$2 (obj, sep, eq, name) {
|
|
966
|
+
sep = sep || '&';
|
|
967
|
+
eq = eq || '=';
|
|
968
|
+
if (obj === null) {
|
|
969
|
+
obj = undefined;
|
|
684
970
|
}
|
|
685
971
|
|
|
686
|
-
if (
|
|
687
|
-
|
|
972
|
+
if (typeof obj === 'object') {
|
|
973
|
+
return map(objectKeys(obj), function(k) {
|
|
974
|
+
var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;
|
|
975
|
+
if (isArray$1(obj[k])) {
|
|
976
|
+
return map(obj[k], function(v) {
|
|
977
|
+
return ks + encodeURIComponent(stringifyPrimitive(v));
|
|
978
|
+
}).join(sep);
|
|
979
|
+
} else {
|
|
980
|
+
return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
|
|
981
|
+
}
|
|
982
|
+
}).join(sep);
|
|
983
|
+
|
|
688
984
|
}
|
|
689
985
|
|
|
690
|
-
|
|
986
|
+
if (!name) return '';
|
|
987
|
+
return encodeURIComponent(stringifyPrimitive(name)) + eq +
|
|
988
|
+
encodeURIComponent(stringifyPrimitive(obj));
|
|
989
|
+
}
|
|
990
|
+
function map (xs, f) {
|
|
991
|
+
if (xs.map) return xs.map(f);
|
|
992
|
+
var res = [];
|
|
993
|
+
for (var i = 0; i < xs.length; i++) {
|
|
994
|
+
res.push(f(xs[i], i));
|
|
995
|
+
}
|
|
996
|
+
return res;
|
|
691
997
|
}
|
|
692
998
|
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
* @returns {string}
|
|
701
|
-
* File path.
|
|
702
|
-
*/
|
|
703
|
-
function normalizeString$1(path, allowAboveRoot) {
|
|
704
|
-
let result = '';
|
|
705
|
-
let lastSegmentLength = 0;
|
|
706
|
-
let lastSlash = -1;
|
|
707
|
-
let dots = 0;
|
|
708
|
-
let index = -1;
|
|
709
|
-
/** @type {number | undefined} */
|
|
710
|
-
let code;
|
|
711
|
-
/** @type {number} */
|
|
712
|
-
let lastSlashIndex;
|
|
999
|
+
var objectKeys = Object.keys || function (obj) {
|
|
1000
|
+
var res = [];
|
|
1001
|
+
for (var key in obj) {
|
|
1002
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);
|
|
1003
|
+
}
|
|
1004
|
+
return res;
|
|
1005
|
+
};
|
|
713
1006
|
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
1007
|
+
function parse$3(qs, sep, eq, options) {
|
|
1008
|
+
sep = sep || '&';
|
|
1009
|
+
eq = eq || '=';
|
|
1010
|
+
var obj = {};
|
|
1011
|
+
|
|
1012
|
+
if (typeof qs !== 'string' || qs.length === 0) {
|
|
1013
|
+
return obj;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
var regexp = /\+/g;
|
|
1017
|
+
qs = qs.split(sep);
|
|
1018
|
+
|
|
1019
|
+
var maxKeys = 1000;
|
|
1020
|
+
if (options && typeof options.maxKeys === 'number') {
|
|
1021
|
+
maxKeys = options.maxKeys;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
var len = qs.length;
|
|
1025
|
+
// maxKeys <= 0 means that we should not limit keys count
|
|
1026
|
+
if (maxKeys > 0 && len > maxKeys) {
|
|
1027
|
+
len = maxKeys;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
for (var i = 0; i < len; ++i) {
|
|
1031
|
+
var x = qs[i].replace(regexp, '%20'),
|
|
1032
|
+
idx = x.indexOf(eq),
|
|
1033
|
+
kstr, vstr, k, v;
|
|
1034
|
+
|
|
1035
|
+
if (idx >= 0) {
|
|
1036
|
+
kstr = x.substr(0, idx);
|
|
1037
|
+
vstr = x.substr(idx + 1);
|
|
719
1038
|
} else {
|
|
720
|
-
|
|
1039
|
+
kstr = x;
|
|
1040
|
+
vstr = '';
|
|
721
1041
|
}
|
|
722
1042
|
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
if (
|
|
726
|
-
result.length < 2 ||
|
|
727
|
-
lastSegmentLength !== 2 ||
|
|
728
|
-
result.charCodeAt(result.length - 1) !== 46 /* `.` */ ||
|
|
729
|
-
result.charCodeAt(result.length - 2) !== 46 /* `.` */
|
|
730
|
-
) {
|
|
731
|
-
if (result.length > 2) {
|
|
732
|
-
lastSlashIndex = result.lastIndexOf('/');
|
|
733
|
-
|
|
734
|
-
if (lastSlashIndex !== result.length - 1) {
|
|
735
|
-
if (lastSlashIndex < 0) {
|
|
736
|
-
result = '';
|
|
737
|
-
lastSegmentLength = 0;
|
|
738
|
-
} else {
|
|
739
|
-
result = result.slice(0, lastSlashIndex);
|
|
740
|
-
lastSegmentLength = result.length - 1 - result.lastIndexOf('/');
|
|
741
|
-
}
|
|
1043
|
+
k = decodeURIComponent(kstr);
|
|
1044
|
+
v = decodeURIComponent(vstr);
|
|
742
1045
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
dots = 0;
|
|
752
|
-
continue
|
|
753
|
-
}
|
|
754
|
-
}
|
|
1046
|
+
if (!hasOwnProperty$1(obj, k)) {
|
|
1047
|
+
obj[k] = v;
|
|
1048
|
+
} else if (isArray$1(obj[k])) {
|
|
1049
|
+
obj[k].push(v);
|
|
1050
|
+
} else {
|
|
1051
|
+
obj[k] = [obj[k], v];
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
755
1054
|
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
1055
|
+
return obj;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
function Url() {
|
|
1059
|
+
this.protocol = null;
|
|
1060
|
+
this.slashes = null;
|
|
1061
|
+
this.auth = null;
|
|
1062
|
+
this.host = null;
|
|
1063
|
+
this.port = null;
|
|
1064
|
+
this.hostname = null;
|
|
1065
|
+
this.hash = null;
|
|
1066
|
+
this.search = null;
|
|
1067
|
+
this.query = null;
|
|
1068
|
+
this.pathname = null;
|
|
1069
|
+
this.path = null;
|
|
1070
|
+
this.href = null;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
// Reference: RFC 3986, RFC 1808, RFC 2396
|
|
1074
|
+
|
|
1075
|
+
// define these here so at least they only have to be
|
|
1076
|
+
// compiled once on the first module load.
|
|
1077
|
+
var protocolPattern = /^([a-z0-9.+-]+:)/i,
|
|
1078
|
+
portPattern = /:[0-9]*$/,
|
|
1079
|
+
|
|
1080
|
+
// Special case for a simple path URL
|
|
1081
|
+
simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
|
|
1082
|
+
|
|
1083
|
+
// RFC 2396: characters reserved for delimiting URLs.
|
|
1084
|
+
// We actually just auto-escape these.
|
|
1085
|
+
delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'],
|
|
1086
|
+
|
|
1087
|
+
// RFC 2396: characters not allowed for various reasons.
|
|
1088
|
+
unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims),
|
|
1089
|
+
|
|
1090
|
+
// Allowed by RFCs, but cause of XSS attacks. Always escape these.
|
|
1091
|
+
autoEscape = ['\''].concat(unwise),
|
|
1092
|
+
// Characters that are never ever allowed in a hostname.
|
|
1093
|
+
// Note that any invalid chars are also handled, but these
|
|
1094
|
+
// are the ones that are *expected* to be seen, so we fast-path
|
|
1095
|
+
// them.
|
|
1096
|
+
nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),
|
|
1097
|
+
hostEndingChars = ['/', '?', '#'],
|
|
1098
|
+
hostnameMaxLen = 255,
|
|
1099
|
+
hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,
|
|
1100
|
+
hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
|
|
1101
|
+
// protocols that can allow "unsafe" and "unwise" chars.
|
|
1102
|
+
unsafeProtocol = {
|
|
1103
|
+
'javascript': true,
|
|
1104
|
+
'javascript:': true
|
|
1105
|
+
},
|
|
1106
|
+
// protocols that never have a hostname.
|
|
1107
|
+
hostlessProtocol = {
|
|
1108
|
+
'javascript': true,
|
|
1109
|
+
'javascript:': true
|
|
1110
|
+
},
|
|
1111
|
+
// protocols that always contain a // bit.
|
|
1112
|
+
slashedProtocol = {
|
|
1113
|
+
'http': true,
|
|
1114
|
+
'https': true,
|
|
1115
|
+
'ftp': true,
|
|
1116
|
+
'gopher': true,
|
|
1117
|
+
'file': true,
|
|
1118
|
+
'http:': true,
|
|
1119
|
+
'https:': true,
|
|
1120
|
+
'ftp:': true,
|
|
1121
|
+
'gopher:': true,
|
|
1122
|
+
'file:': true
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
function urlParse(url, parseQueryString, slashesDenoteHost) {
|
|
1126
|
+
if (url && isObject(url) && url instanceof Url) return url;
|
|
1127
|
+
|
|
1128
|
+
var u = new Url;
|
|
1129
|
+
u.parse(url, parseQueryString, slashesDenoteHost);
|
|
1130
|
+
return u;
|
|
1131
|
+
}
|
|
1132
|
+
Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
1133
|
+
return parse$2(this, url, parseQueryString, slashesDenoteHost);
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
function parse$2(self, url, parseQueryString, slashesDenoteHost) {
|
|
1137
|
+
if (!isString(url)) {
|
|
1138
|
+
throw new TypeError('Parameter \'url\' must be a string, not ' + typeof url);
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
// Copy chrome, IE, opera backslash-handling behavior.
|
|
1142
|
+
// Back slashes before the query string get converted to forward slashes
|
|
1143
|
+
// See: https://code.google.com/p/chromium/issues/detail?id=25916
|
|
1144
|
+
var queryIndex = url.indexOf('?'),
|
|
1145
|
+
splitter =
|
|
1146
|
+
(queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',
|
|
1147
|
+
uSplit = url.split(splitter),
|
|
1148
|
+
slashRegex = /\\/g;
|
|
1149
|
+
uSplit[0] = uSplit[0].replace(slashRegex, '/');
|
|
1150
|
+
url = uSplit.join(splitter);
|
|
1151
|
+
|
|
1152
|
+
var rest = url;
|
|
1153
|
+
|
|
1154
|
+
// trim before proceeding.
|
|
1155
|
+
// This is to support parse stuff like " http://foo.com \n"
|
|
1156
|
+
rest = rest.trim();
|
|
1157
|
+
|
|
1158
|
+
if (!slashesDenoteHost && url.split('#').length === 1) {
|
|
1159
|
+
// Try fast path regexp
|
|
1160
|
+
var simplePath = simplePathPattern.exec(rest);
|
|
1161
|
+
if (simplePath) {
|
|
1162
|
+
self.path = rest;
|
|
1163
|
+
self.href = rest;
|
|
1164
|
+
self.pathname = simplePath[1];
|
|
1165
|
+
if (simplePath[2]) {
|
|
1166
|
+
self.search = simplePath[2];
|
|
1167
|
+
if (parseQueryString) {
|
|
1168
|
+
self.query = parse$3(self.search.substr(1));
|
|
763
1169
|
} else {
|
|
764
|
-
|
|
1170
|
+
self.query = self.search.substr(1);
|
|
765
1171
|
}
|
|
1172
|
+
} else if (parseQueryString) {
|
|
1173
|
+
self.search = '';
|
|
1174
|
+
self.query = {};
|
|
1175
|
+
}
|
|
1176
|
+
return self;
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
766
1179
|
|
|
767
|
-
|
|
1180
|
+
var proto = protocolPattern.exec(rest);
|
|
1181
|
+
if (proto) {
|
|
1182
|
+
proto = proto[0];
|
|
1183
|
+
var lowerProto = proto.toLowerCase();
|
|
1184
|
+
self.protocol = lowerProto;
|
|
1185
|
+
rest = rest.substr(proto.length);
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
// figure out if it's got a host
|
|
1189
|
+
// user@server is *always* interpreted as a hostname, and url
|
|
1190
|
+
// resolution will treat //foo/bar as host=foo,path=bar because that's
|
|
1191
|
+
// how the browser resolves relative URLs.
|
|
1192
|
+
if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
|
|
1193
|
+
var slashes = rest.substr(0, 2) === '//';
|
|
1194
|
+
if (slashes && !(proto && hostlessProtocol[proto])) {
|
|
1195
|
+
rest = rest.substr(2);
|
|
1196
|
+
self.slashes = true;
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
var i, hec, l, p;
|
|
1200
|
+
if (!hostlessProtocol[proto] &&
|
|
1201
|
+
(slashes || (proto && !slashedProtocol[proto]))) {
|
|
1202
|
+
|
|
1203
|
+
// there's a hostname.
|
|
1204
|
+
// the first instance of /, ?, ;, or # ends the host.
|
|
1205
|
+
//
|
|
1206
|
+
// If there is an @ in the hostname, then non-host chars *are* allowed
|
|
1207
|
+
// to the left of the last @ sign, unless some host-ending character
|
|
1208
|
+
// comes *before* the @-sign.
|
|
1209
|
+
// URLs are obnoxious.
|
|
1210
|
+
//
|
|
1211
|
+
// ex:
|
|
1212
|
+
// http://a@b@c/ => user:a@b host:c
|
|
1213
|
+
// http://a@b?@c => user:a host:c path:/?@c
|
|
1214
|
+
|
|
1215
|
+
// v0.12 TODO(isaacs): This is not quite how Chrome does things.
|
|
1216
|
+
// Review our test case against browsers more comprehensively.
|
|
1217
|
+
|
|
1218
|
+
// find the first instance of any hostEndingChars
|
|
1219
|
+
var hostEnd = -1;
|
|
1220
|
+
for (i = 0; i < hostEndingChars.length; i++) {
|
|
1221
|
+
hec = rest.indexOf(hostEndingChars[i]);
|
|
1222
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
|
|
1223
|
+
hostEnd = hec;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
// at this point, either we have an explicit point where the
|
|
1227
|
+
// auth portion cannot go past, or the last @ char is the decider.
|
|
1228
|
+
var auth, atSign;
|
|
1229
|
+
if (hostEnd === -1) {
|
|
1230
|
+
// atSign can be anywhere.
|
|
1231
|
+
atSign = rest.lastIndexOf('@');
|
|
1232
|
+
} else {
|
|
1233
|
+
// atSign must be in auth portion.
|
|
1234
|
+
// http://a@b/c@d => host:b auth:a path:/c@d
|
|
1235
|
+
atSign = rest.lastIndexOf('@', hostEnd);
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
// Now we have a portion which is definitely the auth.
|
|
1239
|
+
// Pull that off.
|
|
1240
|
+
if (atSign !== -1) {
|
|
1241
|
+
auth = rest.slice(0, atSign);
|
|
1242
|
+
rest = rest.slice(atSign + 1);
|
|
1243
|
+
self.auth = decodeURIComponent(auth);
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
// the host is the remaining to the left of the first non-host char
|
|
1247
|
+
hostEnd = -1;
|
|
1248
|
+
for (i = 0; i < nonHostChars.length; i++) {
|
|
1249
|
+
hec = rest.indexOf(nonHostChars[i]);
|
|
1250
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
|
|
1251
|
+
hostEnd = hec;
|
|
1252
|
+
}
|
|
1253
|
+
// if we still have not hit it, then the entire thing is a host.
|
|
1254
|
+
if (hostEnd === -1)
|
|
1255
|
+
hostEnd = rest.length;
|
|
1256
|
+
|
|
1257
|
+
self.host = rest.slice(0, hostEnd);
|
|
1258
|
+
rest = rest.slice(hostEnd);
|
|
1259
|
+
|
|
1260
|
+
// pull out port.
|
|
1261
|
+
parseHost(self);
|
|
1262
|
+
|
|
1263
|
+
// we've indicated that there is a hostname,
|
|
1264
|
+
// so even if it's empty, it has to be present.
|
|
1265
|
+
self.hostname = self.hostname || '';
|
|
1266
|
+
|
|
1267
|
+
// if hostname begins with [ and ends with ]
|
|
1268
|
+
// assume that it's an IPv6 address.
|
|
1269
|
+
var ipv6Hostname = self.hostname[0] === '[' &&
|
|
1270
|
+
self.hostname[self.hostname.length - 1] === ']';
|
|
1271
|
+
|
|
1272
|
+
// validate a little.
|
|
1273
|
+
if (!ipv6Hostname) {
|
|
1274
|
+
var hostparts = self.hostname.split(/\./);
|
|
1275
|
+
for (i = 0, l = hostparts.length; i < l; i++) {
|
|
1276
|
+
var part = hostparts[i];
|
|
1277
|
+
if (!part) continue;
|
|
1278
|
+
if (!part.match(hostnamePartPattern)) {
|
|
1279
|
+
var newpart = '';
|
|
1280
|
+
for (var j = 0, k = part.length; j < k; j++) {
|
|
1281
|
+
if (part.charCodeAt(j) > 127) {
|
|
1282
|
+
// we replace non-ASCII char with a temporary placeholder
|
|
1283
|
+
// we need this to make sure size of hostname is not
|
|
1284
|
+
// broken by replacing non-ASCII by nothing
|
|
1285
|
+
newpart += 'x';
|
|
1286
|
+
} else {
|
|
1287
|
+
newpart += part[j];
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
// we test again with ASCII char only
|
|
1291
|
+
if (!newpart.match(hostnamePartPattern)) {
|
|
1292
|
+
var validParts = hostparts.slice(0, i);
|
|
1293
|
+
var notHost = hostparts.slice(i + 1);
|
|
1294
|
+
var bit = part.match(hostnamePartStart);
|
|
1295
|
+
if (bit) {
|
|
1296
|
+
validParts.push(bit[1]);
|
|
1297
|
+
notHost.unshift(bit[2]);
|
|
1298
|
+
}
|
|
1299
|
+
if (notHost.length) {
|
|
1300
|
+
rest = '/' + notHost.join('.') + rest;
|
|
1301
|
+
}
|
|
1302
|
+
self.hostname = validParts.join('.');
|
|
1303
|
+
break;
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
768
1306
|
}
|
|
1307
|
+
}
|
|
769
1308
|
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
} else if (code === 46 /* `.` */ && dots > -1) {
|
|
773
|
-
dots++;
|
|
1309
|
+
if (self.hostname.length > hostnameMaxLen) {
|
|
1310
|
+
self.hostname = '';
|
|
774
1311
|
} else {
|
|
775
|
-
|
|
1312
|
+
// hostnames are always lower case.
|
|
1313
|
+
self.hostname = self.hostname.toLowerCase();
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
if (!ipv6Hostname) {
|
|
1317
|
+
// IDNA Support: Returns a punycoded representation of "domain".
|
|
1318
|
+
// It only converts parts of the domain name that
|
|
1319
|
+
// have non-ASCII characters, i.e. it doesn't matter if
|
|
1320
|
+
// you call it with a domain that already is ASCII-only.
|
|
1321
|
+
self.hostname = toASCII(self.hostname);
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
p = self.port ? ':' + self.port : '';
|
|
1325
|
+
var h = self.hostname || '';
|
|
1326
|
+
self.host = h + p;
|
|
1327
|
+
self.href += self.host;
|
|
1328
|
+
|
|
1329
|
+
// strip [ and ] from the hostname
|
|
1330
|
+
// the host field still retains them, though
|
|
1331
|
+
if (ipv6Hostname) {
|
|
1332
|
+
self.hostname = self.hostname.substr(1, self.hostname.length - 2);
|
|
1333
|
+
if (rest[0] !== '/') {
|
|
1334
|
+
rest = '/' + rest;
|
|
1335
|
+
}
|
|
776
1336
|
}
|
|
777
1337
|
}
|
|
778
1338
|
|
|
779
|
-
|
|
1339
|
+
// now rest is set to the post-host stuff.
|
|
1340
|
+
// chop off any delim chars.
|
|
1341
|
+
if (!unsafeProtocol[lowerProto]) {
|
|
1342
|
+
|
|
1343
|
+
// First, make 100% sure that any "autoEscape" chars get
|
|
1344
|
+
// escaped, even if encodeURIComponent doesn't think they
|
|
1345
|
+
// need to be.
|
|
1346
|
+
for (i = 0, l = autoEscape.length; i < l; i++) {
|
|
1347
|
+
var ae = autoEscape[i];
|
|
1348
|
+
if (rest.indexOf(ae) === -1)
|
|
1349
|
+
continue;
|
|
1350
|
+
var esc = encodeURIComponent(ae);
|
|
1351
|
+
if (esc === ae) {
|
|
1352
|
+
esc = escape(ae);
|
|
1353
|
+
}
|
|
1354
|
+
rest = rest.split(ae).join(esc);
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
// chop off from the tail first.
|
|
1360
|
+
var hash = rest.indexOf('#');
|
|
1361
|
+
if (hash !== -1) {
|
|
1362
|
+
// got a fragment string.
|
|
1363
|
+
self.hash = rest.substr(hash);
|
|
1364
|
+
rest = rest.slice(0, hash);
|
|
1365
|
+
}
|
|
1366
|
+
var qm = rest.indexOf('?');
|
|
1367
|
+
if (qm !== -1) {
|
|
1368
|
+
self.search = rest.substr(qm);
|
|
1369
|
+
self.query = rest.substr(qm + 1);
|
|
1370
|
+
if (parseQueryString) {
|
|
1371
|
+
self.query = parse$3(self.query);
|
|
1372
|
+
}
|
|
1373
|
+
rest = rest.slice(0, qm);
|
|
1374
|
+
} else if (parseQueryString) {
|
|
1375
|
+
// no query string, but parseQueryString still requested
|
|
1376
|
+
self.search = '';
|
|
1377
|
+
self.query = {};
|
|
1378
|
+
}
|
|
1379
|
+
if (rest) self.pathname = rest;
|
|
1380
|
+
if (slashedProtocol[lowerProto] &&
|
|
1381
|
+
self.hostname && !self.pathname) {
|
|
1382
|
+
self.pathname = '/';
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
//to support http.request
|
|
1386
|
+
if (self.pathname || self.search) {
|
|
1387
|
+
p = self.pathname || '';
|
|
1388
|
+
var s = self.search || '';
|
|
1389
|
+
self.path = p + s;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
// finally, reconstruct the href based on what has been validated.
|
|
1393
|
+
self.href = format(self);
|
|
1394
|
+
return self;
|
|
780
1395
|
}
|
|
781
1396
|
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
1397
|
+
function urlFileURLToPath(path) {
|
|
1398
|
+
if (typeof path === 'string')
|
|
1399
|
+
path = new Url().parse(path);
|
|
1400
|
+
else if (!(path instanceof Url))
|
|
1401
|
+
throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type ' + (typeof path) + String(path));
|
|
1402
|
+
if (path.protocol !== 'file:')
|
|
1403
|
+
throw new TypeError('The URL must be of scheme file');
|
|
1404
|
+
return getPathFromURLPosix(path);
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
function getPathFromURLPosix(url) {
|
|
1408
|
+
const pathname = url.pathname;
|
|
1409
|
+
for (let n = 0; n < pathname.length; n++) {
|
|
1410
|
+
if (pathname[n] === '%') {
|
|
1411
|
+
const third = pathname.codePointAt(n + 2) | 0x20;
|
|
1412
|
+
if (pathname[n + 1] === '2' && third === 102) {
|
|
1413
|
+
throw new TypeError(
|
|
1414
|
+
'must not include encoded / characters'
|
|
1415
|
+
);
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
795
1418
|
}
|
|
1419
|
+
return decodeURIComponent(pathname);
|
|
796
1420
|
}
|
|
797
1421
|
|
|
798
|
-
|
|
1422
|
+
function format(self) {
|
|
1423
|
+
var auth = self.auth || '';
|
|
1424
|
+
if (auth) {
|
|
1425
|
+
auth = encodeURIComponent(auth);
|
|
1426
|
+
auth = auth.replace(/%3A/i, ':');
|
|
1427
|
+
auth += '@';
|
|
1428
|
+
}
|
|
799
1429
|
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
1430
|
+
var protocol = self.protocol || '',
|
|
1431
|
+
pathname = self.pathname || '',
|
|
1432
|
+
hash = self.hash || '',
|
|
1433
|
+
host = false,
|
|
1434
|
+
query = '';
|
|
804
1435
|
|
|
805
|
-
|
|
806
|
-
|
|
1436
|
+
if (self.host) {
|
|
1437
|
+
host = auth + self.host;
|
|
1438
|
+
} else if (self.hostname) {
|
|
1439
|
+
host = auth + (self.hostname.indexOf(':') === -1 ?
|
|
1440
|
+
self.hostname :
|
|
1441
|
+
'[' + this.hostname + ']');
|
|
1442
|
+
if (self.port) {
|
|
1443
|
+
host += ':' + self.port;
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
if (self.query &&
|
|
1448
|
+
isObject(self.query) &&
|
|
1449
|
+
Object.keys(self.query).length) {
|
|
1450
|
+
query = stringify$2(self.query);
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
var search = self.search || (query && ('?' + query)) || '';
|
|
1454
|
+
|
|
1455
|
+
if (protocol && protocol.substr(-1) !== ':') protocol += ':';
|
|
1456
|
+
|
|
1457
|
+
// only the slashedProtocols get the //. Not mailto:, xmpp:, etc.
|
|
1458
|
+
// unless they had them to begin with.
|
|
1459
|
+
if (self.slashes ||
|
|
1460
|
+
(!protocol || slashedProtocol[protocol]) && host !== false) {
|
|
1461
|
+
host = '//' + (host || '');
|
|
1462
|
+
if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;
|
|
1463
|
+
} else if (!host) {
|
|
1464
|
+
host = '';
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
if (hash && hash.charAt(0) !== '#') hash = '#' + hash;
|
|
1468
|
+
if (search && search.charAt(0) !== '?') search = '?' + search;
|
|
1469
|
+
|
|
1470
|
+
pathname = pathname.replace(/[?#]/g, function(match) {
|
|
1471
|
+
return encodeURIComponent(match);
|
|
1472
|
+
});
|
|
1473
|
+
search = search.replace('#', '%23');
|
|
1474
|
+
|
|
1475
|
+
return protocol + host + pathname + search + hash;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
Url.prototype.format = function() {
|
|
1479
|
+
return format(this);
|
|
1480
|
+
};
|
|
1481
|
+
|
|
1482
|
+
Url.prototype.resolve = function(relative) {
|
|
1483
|
+
return this.resolveObject(urlParse(relative, false, true)).format();
|
|
1484
|
+
};
|
|
1485
|
+
|
|
1486
|
+
Url.prototype.resolveObject = function(relative) {
|
|
1487
|
+
if (isString(relative)) {
|
|
1488
|
+
var rel = new Url();
|
|
1489
|
+
rel.parse(relative, false, true);
|
|
1490
|
+
relative = rel;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
var result = new Url();
|
|
1494
|
+
var tkeys = Object.keys(this);
|
|
1495
|
+
for (var tk = 0; tk < tkeys.length; tk++) {
|
|
1496
|
+
var tkey = tkeys[tk];
|
|
1497
|
+
result[tkey] = this[tkey];
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
// hash is always overridden, no matter what.
|
|
1501
|
+
// even href="" will remove it.
|
|
1502
|
+
result.hash = relative.hash;
|
|
1503
|
+
|
|
1504
|
+
// if the relative url is empty, then there's nothing left to do here.
|
|
1505
|
+
if (relative.href === '') {
|
|
1506
|
+
result.href = result.format();
|
|
1507
|
+
return result;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
// hrefs like //foo/bar always cut to the protocol.
|
|
1511
|
+
if (relative.slashes && !relative.protocol) {
|
|
1512
|
+
// take everything except the protocol from relative
|
|
1513
|
+
var rkeys = Object.keys(relative);
|
|
1514
|
+
for (var rk = 0; rk < rkeys.length; rk++) {
|
|
1515
|
+
var rkey = rkeys[rk];
|
|
1516
|
+
if (rkey !== 'protocol')
|
|
1517
|
+
result[rkey] = relative[rkey];
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
//urlParse appends trailing / to urls like http://www.example.com
|
|
1521
|
+
if (slashedProtocol[result.protocol] &&
|
|
1522
|
+
result.hostname && !result.pathname) {
|
|
1523
|
+
result.path = result.pathname = '/';
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
result.href = result.format();
|
|
1527
|
+
return result;
|
|
1528
|
+
}
|
|
1529
|
+
var relPath;
|
|
1530
|
+
if (relative.protocol && relative.protocol !== result.protocol) {
|
|
1531
|
+
// if it's a known url protocol, then changing
|
|
1532
|
+
// the protocol does weird things
|
|
1533
|
+
// first, if it's not file:, then we MUST have a host,
|
|
1534
|
+
// and if there was a path
|
|
1535
|
+
// to begin with, then we MUST have a path.
|
|
1536
|
+
// if it is file:, then the host is dropped,
|
|
1537
|
+
// because that's known to be hostless.
|
|
1538
|
+
// anything else is assumed to be absolute.
|
|
1539
|
+
if (!slashedProtocol[relative.protocol]) {
|
|
1540
|
+
var keys = Object.keys(relative);
|
|
1541
|
+
for (var v = 0; v < keys.length; v++) {
|
|
1542
|
+
var k = keys[v];
|
|
1543
|
+
result[k] = relative[k];
|
|
1544
|
+
}
|
|
1545
|
+
result.href = result.format();
|
|
1546
|
+
return result;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
result.protocol = relative.protocol;
|
|
1550
|
+
if (!relative.host && !hostlessProtocol[relative.protocol]) {
|
|
1551
|
+
relPath = (relative.pathname || '').split('/');
|
|
1552
|
+
while (relPath.length && !(relative.host = relPath.shift()));
|
|
1553
|
+
if (!relative.host) relative.host = '';
|
|
1554
|
+
if (!relative.hostname) relative.hostname = '';
|
|
1555
|
+
if (relPath[0] !== '') relPath.unshift('');
|
|
1556
|
+
if (relPath.length < 2) relPath.unshift('');
|
|
1557
|
+
result.pathname = relPath.join('/');
|
|
1558
|
+
} else {
|
|
1559
|
+
result.pathname = relative.pathname;
|
|
1560
|
+
}
|
|
1561
|
+
result.search = relative.search;
|
|
1562
|
+
result.query = relative.query;
|
|
1563
|
+
result.host = relative.host || '';
|
|
1564
|
+
result.auth = relative.auth;
|
|
1565
|
+
result.hostname = relative.hostname || relative.host;
|
|
1566
|
+
result.port = relative.port;
|
|
1567
|
+
// to support http.request
|
|
1568
|
+
if (result.pathname || result.search) {
|
|
1569
|
+
var p = result.pathname || '';
|
|
1570
|
+
var s = result.search || '';
|
|
1571
|
+
result.path = p + s;
|
|
1572
|
+
}
|
|
1573
|
+
result.slashes = result.slashes || relative.slashes;
|
|
1574
|
+
result.href = result.format();
|
|
1575
|
+
return result;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),
|
|
1579
|
+
isRelAbs = (
|
|
1580
|
+
relative.host ||
|
|
1581
|
+
relative.pathname && relative.pathname.charAt(0) === '/'
|
|
1582
|
+
),
|
|
1583
|
+
mustEndAbs = (isRelAbs || isSourceAbs ||
|
|
1584
|
+
(result.host && relative.pathname)),
|
|
1585
|
+
removeAllDots = mustEndAbs,
|
|
1586
|
+
srcPath = result.pathname && result.pathname.split('/') || [],
|
|
1587
|
+
psychotic = result.protocol && !slashedProtocol[result.protocol];
|
|
1588
|
+
relPath = relative.pathname && relative.pathname.split('/') || [];
|
|
1589
|
+
// if the url is a non-slashed url, then relative
|
|
1590
|
+
// links like ../.. should be able
|
|
1591
|
+
// to crawl up to the hostname, as well. This is strange.
|
|
1592
|
+
// result.protocol has already been set by now.
|
|
1593
|
+
// Later on, put the first path part into the host field.
|
|
1594
|
+
if (psychotic) {
|
|
1595
|
+
result.hostname = '';
|
|
1596
|
+
result.port = null;
|
|
1597
|
+
if (result.host) {
|
|
1598
|
+
if (srcPath[0] === '') srcPath[0] = result.host;
|
|
1599
|
+
else srcPath.unshift(result.host);
|
|
1600
|
+
}
|
|
1601
|
+
result.host = '';
|
|
1602
|
+
if (relative.protocol) {
|
|
1603
|
+
relative.hostname = null;
|
|
1604
|
+
relative.port = null;
|
|
1605
|
+
if (relative.host) {
|
|
1606
|
+
if (relPath[0] === '') relPath[0] = relative.host;
|
|
1607
|
+
else relPath.unshift(relative.host);
|
|
1608
|
+
}
|
|
1609
|
+
relative.host = null;
|
|
1610
|
+
}
|
|
1611
|
+
mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');
|
|
1612
|
+
}
|
|
1613
|
+
var authInHost;
|
|
1614
|
+
if (isRelAbs) {
|
|
1615
|
+
// it's absolute.
|
|
1616
|
+
result.host = (relative.host || relative.host === '') ?
|
|
1617
|
+
relative.host : result.host;
|
|
1618
|
+
result.hostname = (relative.hostname || relative.hostname === '') ?
|
|
1619
|
+
relative.hostname : result.hostname;
|
|
1620
|
+
result.search = relative.search;
|
|
1621
|
+
result.query = relative.query;
|
|
1622
|
+
srcPath = relPath;
|
|
1623
|
+
// fall through to the dot-handling below.
|
|
1624
|
+
} else if (relPath.length) {
|
|
1625
|
+
// it's relative
|
|
1626
|
+
// throw away the existing file, and take the new path instead.
|
|
1627
|
+
if (!srcPath) srcPath = [];
|
|
1628
|
+
srcPath.pop();
|
|
1629
|
+
srcPath = srcPath.concat(relPath);
|
|
1630
|
+
result.search = relative.search;
|
|
1631
|
+
result.query = relative.query;
|
|
1632
|
+
} else if (!isNullOrUndefined(relative.search)) {
|
|
1633
|
+
// just pull out the search.
|
|
1634
|
+
// like href='?foo'.
|
|
1635
|
+
// Put this after the other two cases because it simplifies the booleans
|
|
1636
|
+
if (psychotic) {
|
|
1637
|
+
result.hostname = result.host = srcPath.shift();
|
|
1638
|
+
//occationaly the auth can get stuck only in host
|
|
1639
|
+
//this especially happens in cases like
|
|
1640
|
+
//url.resolveObject('mailto:local1@domain1', 'local2@domain2')
|
|
1641
|
+
authInHost = result.host && result.host.indexOf('@') > 0 ?
|
|
1642
|
+
result.host.split('@') : false;
|
|
1643
|
+
if (authInHost) {
|
|
1644
|
+
result.auth = authInHost.shift();
|
|
1645
|
+
result.host = result.hostname = authInHost.shift();
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
result.search = relative.search;
|
|
1649
|
+
result.query = relative.query;
|
|
1650
|
+
//to support http.request
|
|
1651
|
+
if (!isNull(result.pathname) || !isNull(result.search)) {
|
|
1652
|
+
result.path = (result.pathname ? result.pathname : '') +
|
|
1653
|
+
(result.search ? result.search : '');
|
|
1654
|
+
}
|
|
1655
|
+
result.href = result.format();
|
|
1656
|
+
return result;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
if (!srcPath.length) {
|
|
1660
|
+
// no path at all. easy.
|
|
1661
|
+
// we've already handled the other stuff above.
|
|
1662
|
+
result.pathname = null;
|
|
1663
|
+
//to support http.request
|
|
1664
|
+
if (result.search) {
|
|
1665
|
+
result.path = '/' + result.search;
|
|
1666
|
+
} else {
|
|
1667
|
+
result.path = null;
|
|
1668
|
+
}
|
|
1669
|
+
result.href = result.format();
|
|
1670
|
+
return result;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
// if a url ENDs in . or .., then it must get a trailing slash.
|
|
1674
|
+
// however, if it ends in anything else non-slashy,
|
|
1675
|
+
// then it must NOT get a trailing slash.
|
|
1676
|
+
var last = srcPath.slice(-1)[0];
|
|
1677
|
+
var hasTrailingSlash = (
|
|
1678
|
+
(result.host || relative.host || srcPath.length > 1) &&
|
|
1679
|
+
(last === '.' || last === '..') || last === '');
|
|
1680
|
+
|
|
1681
|
+
// strip single dots, resolve double dots to parent dir
|
|
1682
|
+
// if the path tries to go above the root, `up` ends up > 0
|
|
1683
|
+
var up = 0;
|
|
1684
|
+
for (var i = srcPath.length; i >= 0; i--) {
|
|
1685
|
+
last = srcPath[i];
|
|
1686
|
+
if (last === '.') {
|
|
1687
|
+
srcPath.splice(i, 1);
|
|
1688
|
+
} else if (last === '..') {
|
|
1689
|
+
srcPath.splice(i, 1);
|
|
1690
|
+
up++;
|
|
1691
|
+
} else if (up) {
|
|
1692
|
+
srcPath.splice(i, 1);
|
|
1693
|
+
up--;
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
// if the path is allowed to go above the root, restore leading ..s
|
|
1698
|
+
if (!mustEndAbs && !removeAllDots) {
|
|
1699
|
+
for (; up--; up) {
|
|
1700
|
+
srcPath.unshift('..');
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
if (mustEndAbs && srcPath[0] !== '' &&
|
|
1705
|
+
(!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
|
|
1706
|
+
srcPath.unshift('');
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {
|
|
1710
|
+
srcPath.push('');
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
var isAbsolute = srcPath[0] === '' ||
|
|
1714
|
+
(srcPath[0] && srcPath[0].charAt(0) === '/');
|
|
1715
|
+
|
|
1716
|
+
// put the host back
|
|
1717
|
+
if (psychotic) {
|
|
1718
|
+
result.hostname = result.host = isAbsolute ? '' :
|
|
1719
|
+
srcPath.length ? srcPath.shift() : '';
|
|
1720
|
+
//occationaly the auth can get stuck only in host
|
|
1721
|
+
//this especially happens in cases like
|
|
1722
|
+
//url.resolveObject('mailto:local1@domain1', 'local2@domain2')
|
|
1723
|
+
authInHost = result.host && result.host.indexOf('@') > 0 ?
|
|
1724
|
+
result.host.split('@') : false;
|
|
1725
|
+
if (authInHost) {
|
|
1726
|
+
result.auth = authInHost.shift();
|
|
1727
|
+
result.host = result.hostname = authInHost.shift();
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
mustEndAbs = mustEndAbs || (result.host && srcPath.length);
|
|
1732
|
+
|
|
1733
|
+
if (mustEndAbs && !isAbsolute) {
|
|
1734
|
+
srcPath.unshift('');
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
if (!srcPath.length) {
|
|
1738
|
+
result.pathname = null;
|
|
1739
|
+
result.path = null;
|
|
1740
|
+
} else {
|
|
1741
|
+
result.pathname = srcPath.join('/');
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
//to support request.http
|
|
1745
|
+
if (!isNull(result.pathname) || !isNull(result.search)) {
|
|
1746
|
+
result.path = (result.pathname ? result.pathname : '') +
|
|
1747
|
+
(result.search ? result.search : '');
|
|
1748
|
+
}
|
|
1749
|
+
result.auth = relative.auth || result.auth;
|
|
1750
|
+
result.slashes = result.slashes || relative.slashes;
|
|
1751
|
+
result.href = result.format();
|
|
1752
|
+
return result;
|
|
1753
|
+
};
|
|
1754
|
+
|
|
1755
|
+
Url.prototype.parseHost = function() {
|
|
1756
|
+
return parseHost(this);
|
|
1757
|
+
};
|
|
1758
|
+
|
|
1759
|
+
function parseHost(self) {
|
|
1760
|
+
var host = self.host;
|
|
1761
|
+
var port = portPattern.exec(host);
|
|
1762
|
+
if (port) {
|
|
1763
|
+
port = port[0];
|
|
1764
|
+
if (port !== ':') {
|
|
1765
|
+
self.port = port.substr(1);
|
|
1766
|
+
}
|
|
1767
|
+
host = host.substr(0, host.length - port.length);
|
|
1768
|
+
}
|
|
1769
|
+
if (host) self.hostname = host;
|
|
807
1770
|
}
|
|
808
1771
|
|
|
809
1772
|
/**
|
|
@@ -830,94 +1793,18 @@ function cwd$1() {
|
|
|
830
1793
|
* @param {unknown} fileUrlOrPath
|
|
831
1794
|
* File path or URL.
|
|
832
1795
|
* @returns {fileUrlOrPath is URL}
|
|
833
|
-
* Whether it’s a URL.
|
|
834
|
-
*/
|
|
835
|
-
// From: <https://github.com/nodejs/node/blob/fcf8ba4/lib/internal/url.js#L1501>
|
|
836
|
-
function isUrl$1(fileUrlOrPath) {
|
|
837
|
-
return (
|
|
838
|
-
fileUrlOrPath !== null &&
|
|
839
|
-
typeof fileUrlOrPath === 'object' &&
|
|
840
|
-
// @ts-expect-error: indexable.
|
|
841
|
-
fileUrlOrPath.href &&
|
|
842
|
-
// @ts-expect-error: indexable.
|
|
843
|
-
fileUrlOrPath.origin
|
|
844
|
-
)
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
/// <reference lib="dom" />
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
// See: <https://github.com/nodejs/node/blob/fcf8ba4/lib/internal/url.js>
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
* @param {string | URL} path
|
|
854
|
-
* File URL.
|
|
855
|
-
* @returns {string}
|
|
856
|
-
* File URL.
|
|
857
|
-
*/
|
|
858
|
-
function urlToPath$1(path) {
|
|
859
|
-
if (typeof path === 'string') {
|
|
860
|
-
path = new URL(path);
|
|
861
|
-
} else if (!isUrl$1(path)) {
|
|
862
|
-
/** @type {NodeJS.ErrnoException} */
|
|
863
|
-
const error = new TypeError(
|
|
864
|
-
'The "path" argument must be of type string or an instance of URL. Received `' +
|
|
865
|
-
path +
|
|
866
|
-
'`'
|
|
867
|
-
);
|
|
868
|
-
error.code = 'ERR_INVALID_ARG_TYPE';
|
|
869
|
-
throw error
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
if (path.protocol !== 'file:') {
|
|
873
|
-
/** @type {NodeJS.ErrnoException} */
|
|
874
|
-
const error = new TypeError('The URL must be of scheme file');
|
|
875
|
-
error.code = 'ERR_INVALID_URL_SCHEME';
|
|
876
|
-
throw error
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
return getPathFromURLPosix$1(path)
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
/**
|
|
883
|
-
* Get a path from a POSIX URL.
|
|
884
|
-
*
|
|
885
|
-
* @param {URL} url
|
|
886
|
-
* URL.
|
|
887
|
-
* @returns {string}
|
|
888
|
-
* File path.
|
|
889
|
-
*/
|
|
890
|
-
function getPathFromURLPosix$1(url) {
|
|
891
|
-
if (url.hostname !== '') {
|
|
892
|
-
/** @type {NodeJS.ErrnoException} */
|
|
893
|
-
const error = new TypeError(
|
|
894
|
-
'File URL host must be "localhost" or empty on darwin'
|
|
895
|
-
);
|
|
896
|
-
error.code = 'ERR_INVALID_FILE_URL_HOST';
|
|
897
|
-
throw error
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
const pathname = url.pathname;
|
|
901
|
-
let index = -1;
|
|
902
|
-
|
|
903
|
-
while (++index < pathname.length) {
|
|
904
|
-
if (
|
|
905
|
-
pathname.charCodeAt(index) === 37 /* `%` */ &&
|
|
906
|
-
pathname.charCodeAt(index + 1) === 50 /* `2` */
|
|
907
|
-
) {
|
|
908
|
-
const third = pathname.charCodeAt(index + 2);
|
|
909
|
-
if (third === 70 /* `F` */ || third === 102 /* `f` */) {
|
|
910
|
-
/** @type {NodeJS.ErrnoException} */
|
|
911
|
-
const error = new TypeError(
|
|
912
|
-
'File URL path must not include encoded / characters'
|
|
913
|
-
);
|
|
914
|
-
error.code = 'ERR_INVALID_FILE_URL_PATH';
|
|
915
|
-
throw error
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
return decodeURIComponent(pathname)
|
|
1796
|
+
* Whether it’s a URL.
|
|
1797
|
+
*/
|
|
1798
|
+
// From: <https://github.com/nodejs/node/blob/fcf8ba4/lib/internal/url.js#L1501>
|
|
1799
|
+
function isUrl$1(fileUrlOrPath) {
|
|
1800
|
+
return (
|
|
1801
|
+
fileUrlOrPath !== null &&
|
|
1802
|
+
typeof fileUrlOrPath === 'object' &&
|
|
1803
|
+
// @ts-expect-error: indexable.
|
|
1804
|
+
fileUrlOrPath.href &&
|
|
1805
|
+
// @ts-expect-error: indexable.
|
|
1806
|
+
fileUrlOrPath.origin
|
|
1807
|
+
)
|
|
921
1808
|
}
|
|
922
1809
|
|
|
923
1810
|
/**
|
|
@@ -1007,7 +1894,7 @@ let VFile$1 = class VFile {
|
|
|
1007
1894
|
*
|
|
1008
1895
|
* @type {string}
|
|
1009
1896
|
*/
|
|
1010
|
-
this.cwd =
|
|
1897
|
+
this.cwd = browser$1.cwd();
|
|
1011
1898
|
|
|
1012
1899
|
/* eslint-disable no-unused-expressions */
|
|
1013
1900
|
/**
|
|
@@ -1101,7 +1988,7 @@ let VFile$1 = class VFile {
|
|
|
1101
1988
|
*/
|
|
1102
1989
|
set path(path) {
|
|
1103
1990
|
if (isUrl$1(path)) {
|
|
1104
|
-
path =
|
|
1991
|
+
path = urlFileURLToPath(path);
|
|
1105
1992
|
}
|
|
1106
1993
|
|
|
1107
1994
|
assertNonEmpty$1(path, 'path');
|
|
@@ -1115,7 +2002,7 @@ let VFile$1 = class VFile {
|
|
|
1115
2002
|
* Get the parent path (example: `'~'`).
|
|
1116
2003
|
*/
|
|
1117
2004
|
get dirname() {
|
|
1118
|
-
return typeof this.path === 'string' ? path
|
|
2005
|
+
return typeof this.path === 'string' ? path.dirname(this.path) : undefined
|
|
1119
2006
|
}
|
|
1120
2007
|
|
|
1121
2008
|
/**
|
|
@@ -1124,15 +2011,15 @@ let VFile$1 = class VFile {
|
|
|
1124
2011
|
* Cannot be set if there’s no `path` yet.
|
|
1125
2012
|
*/
|
|
1126
2013
|
set dirname(dirname) {
|
|
1127
|
-
assertPath$
|
|
1128
|
-
this.path = path
|
|
2014
|
+
assertPath$1(this.basename, 'dirname');
|
|
2015
|
+
this.path = path.join(dirname || '', this.basename);
|
|
1129
2016
|
}
|
|
1130
2017
|
|
|
1131
2018
|
/**
|
|
1132
2019
|
* Get the basename (including extname) (example: `'index.min.js'`).
|
|
1133
2020
|
*/
|
|
1134
2021
|
get basename() {
|
|
1135
|
-
return typeof this.path === 'string' ? path
|
|
2022
|
+
return typeof this.path === 'string' ? path.basename(this.path) : undefined
|
|
1136
2023
|
}
|
|
1137
2024
|
|
|
1138
2025
|
/**
|
|
@@ -1145,14 +2032,14 @@ let VFile$1 = class VFile {
|
|
|
1145
2032
|
set basename(basename) {
|
|
1146
2033
|
assertNonEmpty$1(basename, 'basename');
|
|
1147
2034
|
assertPart$1(basename, 'basename');
|
|
1148
|
-
this.path = path
|
|
2035
|
+
this.path = path.join(this.dirname || '', basename);
|
|
1149
2036
|
}
|
|
1150
2037
|
|
|
1151
2038
|
/**
|
|
1152
2039
|
* Get the extname (including dot) (example: `'.js'`).
|
|
1153
2040
|
*/
|
|
1154
2041
|
get extname() {
|
|
1155
|
-
return typeof this.path === 'string' ? path
|
|
2042
|
+
return typeof this.path === 'string' ? path.extname(this.path) : undefined
|
|
1156
2043
|
}
|
|
1157
2044
|
|
|
1158
2045
|
/**
|
|
@@ -1164,7 +2051,7 @@ let VFile$1 = class VFile {
|
|
|
1164
2051
|
*/
|
|
1165
2052
|
set extname(extname) {
|
|
1166
2053
|
assertPart$1(extname, 'extname');
|
|
1167
|
-
assertPath$
|
|
2054
|
+
assertPath$1(this.dirname, 'extname');
|
|
1168
2055
|
|
|
1169
2056
|
if (extname) {
|
|
1170
2057
|
if (extname.charCodeAt(0) !== 46 /* `.` */) {
|
|
@@ -1176,7 +2063,7 @@ let VFile$1 = class VFile {
|
|
|
1176
2063
|
}
|
|
1177
2064
|
}
|
|
1178
2065
|
|
|
1179
|
-
this.path = path
|
|
2066
|
+
this.path = path.join(this.dirname, this.stem + (extname || ''));
|
|
1180
2067
|
}
|
|
1181
2068
|
|
|
1182
2069
|
/**
|
|
@@ -1184,7 +2071,7 @@ let VFile$1 = class VFile {
|
|
|
1184
2071
|
*/
|
|
1185
2072
|
get stem() {
|
|
1186
2073
|
return typeof this.path === 'string'
|
|
1187
|
-
? path
|
|
2074
|
+
? path.basename(this.path, this.extname)
|
|
1188
2075
|
: undefined
|
|
1189
2076
|
}
|
|
1190
2077
|
|
|
@@ -1198,7 +2085,7 @@ let VFile$1 = class VFile {
|
|
|
1198
2085
|
set stem(stem) {
|
|
1199
2086
|
assertNonEmpty$1(stem, 'stem');
|
|
1200
2087
|
assertPart$1(stem, 'stem');
|
|
1201
|
-
this.path = path
|
|
2088
|
+
this.path = path.join(this.dirname || '', stem + (this.extname || ''));
|
|
1202
2089
|
}
|
|
1203
2090
|
|
|
1204
2091
|
/**
|
|
@@ -1309,9 +2196,9 @@ let VFile$1 = class VFile {
|
|
|
1309
2196
|
* Nothing.
|
|
1310
2197
|
*/
|
|
1311
2198
|
function assertPart$1(part, name) {
|
|
1312
|
-
if (part && part.includes(path
|
|
2199
|
+
if (part && part.includes(path.sep)) {
|
|
1313
2200
|
throw new Error(
|
|
1314
|
-
'`' + name + '` cannot be a path: did not expect `' + path
|
|
2201
|
+
'`' + name + '` cannot be a path: did not expect `' + path.sep + '`'
|
|
1315
2202
|
)
|
|
1316
2203
|
}
|
|
1317
2204
|
}
|
|
@@ -1342,7 +2229,7 @@ function assertNonEmpty$1(part, name) {
|
|
|
1342
2229
|
* @returns {asserts path is string}
|
|
1343
2230
|
* Nothing.
|
|
1344
2231
|
*/
|
|
1345
|
-
function assertPath$
|
|
2232
|
+
function assertPath$1(path, name) {
|
|
1346
2233
|
if (!path) {
|
|
1347
2234
|
throw new Error('Setting `' + name + '` requires `path` to be set too')
|
|
1348
2235
|
}
|
|
@@ -1971,436 +2858,6 @@ VFileMessage.prototype.source = null;
|
|
|
1971
2858
|
VFileMessage.prototype.ruleId = null;
|
|
1972
2859
|
VFileMessage.prototype.position = null;
|
|
1973
2860
|
|
|
1974
|
-
// A derivative work based on:
|
|
1975
|
-
// <https://github.com/browserify/path-browserify>.
|
|
1976
|
-
// Which is licensed:
|
|
1977
|
-
//
|
|
1978
|
-
// MIT License
|
|
1979
|
-
//
|
|
1980
|
-
// Copyright (c) 2013 James Halliday
|
|
1981
|
-
//
|
|
1982
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1983
|
-
// this software and associated documentation files (the "Software"), to deal in
|
|
1984
|
-
// the Software without restriction, including without limitation the rights to
|
|
1985
|
-
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
1986
|
-
// the Software, and to permit persons to whom the Software is furnished to do so,
|
|
1987
|
-
// subject to the following conditions:
|
|
1988
|
-
//
|
|
1989
|
-
// The above copyright notice and this permission notice shall be included in all
|
|
1990
|
-
// copies or substantial portions of the Software.
|
|
1991
|
-
//
|
|
1992
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1993
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
1994
|
-
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
1995
|
-
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
1996
|
-
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
1997
|
-
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1998
|
-
// A derivative work based on:
|
|
1999
|
-
//
|
|
2000
|
-
// Parts of that are extracted from Node’s internal `path` module:
|
|
2001
|
-
// <https://github.com/nodejs/node/blob/master/lib/path.js>.
|
|
2002
|
-
// Which is licensed:
|
|
2003
|
-
//
|
|
2004
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
|
2005
|
-
//
|
|
2006
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
2007
|
-
// copy of this software and associated documentation files (the
|
|
2008
|
-
// "Software"), to deal in the Software without restriction, including
|
|
2009
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
|
2010
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
2011
|
-
// persons to whom the Software is furnished to do so, subject to the
|
|
2012
|
-
// following conditions:
|
|
2013
|
-
//
|
|
2014
|
-
// The above copyright notice and this permission notice shall be included
|
|
2015
|
-
// in all copies or substantial portions of the Software.
|
|
2016
|
-
//
|
|
2017
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
2018
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
2019
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
2020
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
2021
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
2022
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
2023
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2024
|
-
|
|
2025
|
-
const path = {basename, dirname, extname, join, sep: '/'};
|
|
2026
|
-
|
|
2027
|
-
/* eslint-disable max-depth, complexity */
|
|
2028
|
-
|
|
2029
|
-
/**
|
|
2030
|
-
* Get the basename from a path.
|
|
2031
|
-
*
|
|
2032
|
-
* @param {string} path
|
|
2033
|
-
* File path.
|
|
2034
|
-
* @param {string | undefined} [ext]
|
|
2035
|
-
* Extension to strip.
|
|
2036
|
-
* @returns {string}
|
|
2037
|
-
* Stem or basename.
|
|
2038
|
-
*/
|
|
2039
|
-
function basename(path, ext) {
|
|
2040
|
-
if (ext !== undefined && typeof ext !== 'string') {
|
|
2041
|
-
throw new TypeError('"ext" argument must be a string')
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
assertPath$1(path);
|
|
2045
|
-
let start = 0;
|
|
2046
|
-
let end = -1;
|
|
2047
|
-
let index = path.length;
|
|
2048
|
-
/** @type {boolean | undefined} */
|
|
2049
|
-
let seenNonSlash;
|
|
2050
|
-
|
|
2051
|
-
if (ext === undefined || ext.length === 0 || ext.length > path.length) {
|
|
2052
|
-
while (index--) {
|
|
2053
|
-
if (path.charCodeAt(index) === 47 /* `/` */) {
|
|
2054
|
-
// If we reached a path separator that was not part of a set of path
|
|
2055
|
-
// separators at the end of the string, stop now.
|
|
2056
|
-
if (seenNonSlash) {
|
|
2057
|
-
start = index + 1;
|
|
2058
|
-
break
|
|
2059
|
-
}
|
|
2060
|
-
} else if (end < 0) {
|
|
2061
|
-
// We saw the first non-path separator, mark this as the end of our
|
|
2062
|
-
// path component.
|
|
2063
|
-
seenNonSlash = true;
|
|
2064
|
-
end = index + 1;
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
return end < 0 ? '' : path.slice(start, end)
|
|
2069
|
-
}
|
|
2070
|
-
|
|
2071
|
-
if (ext === path) {
|
|
2072
|
-
return ''
|
|
2073
|
-
}
|
|
2074
|
-
|
|
2075
|
-
let firstNonSlashEnd = -1;
|
|
2076
|
-
let extIndex = ext.length - 1;
|
|
2077
|
-
|
|
2078
|
-
while (index--) {
|
|
2079
|
-
if (path.charCodeAt(index) === 47 /* `/` */) {
|
|
2080
|
-
// If we reached a path separator that was not part of a set of path
|
|
2081
|
-
// separators at the end of the string, stop now.
|
|
2082
|
-
if (seenNonSlash) {
|
|
2083
|
-
start = index + 1;
|
|
2084
|
-
break
|
|
2085
|
-
}
|
|
2086
|
-
} else {
|
|
2087
|
-
if (firstNonSlashEnd < 0) {
|
|
2088
|
-
// We saw the first non-path separator, remember this index in case
|
|
2089
|
-
// we need it if the extension ends up not matching.
|
|
2090
|
-
seenNonSlash = true;
|
|
2091
|
-
firstNonSlashEnd = index + 1;
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
if (extIndex > -1) {
|
|
2095
|
-
// Try to match the explicit extension.
|
|
2096
|
-
if (path.charCodeAt(index) === ext.charCodeAt(extIndex--)) {
|
|
2097
|
-
if (extIndex < 0) {
|
|
2098
|
-
// We matched the extension, so mark this as the end of our path
|
|
2099
|
-
// component
|
|
2100
|
-
end = index;
|
|
2101
|
-
}
|
|
2102
|
-
} else {
|
|
2103
|
-
// Extension does not match, so our result is the entire path
|
|
2104
|
-
// component
|
|
2105
|
-
extIndex = -1;
|
|
2106
|
-
end = firstNonSlashEnd;
|
|
2107
|
-
}
|
|
2108
|
-
}
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
|
|
2112
|
-
if (start === end) {
|
|
2113
|
-
end = firstNonSlashEnd;
|
|
2114
|
-
} else if (end < 0) {
|
|
2115
|
-
end = path.length;
|
|
2116
|
-
}
|
|
2117
|
-
|
|
2118
|
-
return path.slice(start, end)
|
|
2119
|
-
}
|
|
2120
|
-
|
|
2121
|
-
/**
|
|
2122
|
-
* Get the dirname from a path.
|
|
2123
|
-
*
|
|
2124
|
-
* @param {string} path
|
|
2125
|
-
* File path.
|
|
2126
|
-
* @returns {string}
|
|
2127
|
-
* File path.
|
|
2128
|
-
*/
|
|
2129
|
-
function dirname(path) {
|
|
2130
|
-
assertPath$1(path);
|
|
2131
|
-
|
|
2132
|
-
if (path.length === 0) {
|
|
2133
|
-
return '.'
|
|
2134
|
-
}
|
|
2135
|
-
|
|
2136
|
-
let end = -1;
|
|
2137
|
-
let index = path.length;
|
|
2138
|
-
/** @type {boolean | undefined} */
|
|
2139
|
-
let unmatchedSlash;
|
|
2140
|
-
|
|
2141
|
-
// Prefix `--` is important to not run on `0`.
|
|
2142
|
-
while (--index) {
|
|
2143
|
-
if (path.charCodeAt(index) === 47 /* `/` */) {
|
|
2144
|
-
if (unmatchedSlash) {
|
|
2145
|
-
end = index;
|
|
2146
|
-
break
|
|
2147
|
-
}
|
|
2148
|
-
} else if (!unmatchedSlash) {
|
|
2149
|
-
// We saw the first non-path separator
|
|
2150
|
-
unmatchedSlash = true;
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
return end < 0
|
|
2155
|
-
? path.charCodeAt(0) === 47 /* `/` */
|
|
2156
|
-
? '/'
|
|
2157
|
-
: '.'
|
|
2158
|
-
: end === 1 && path.charCodeAt(0) === 47 /* `/` */
|
|
2159
|
-
? '//'
|
|
2160
|
-
: path.slice(0, end)
|
|
2161
|
-
}
|
|
2162
|
-
|
|
2163
|
-
/**
|
|
2164
|
-
* Get an extname from a path.
|
|
2165
|
-
*
|
|
2166
|
-
* @param {string} path
|
|
2167
|
-
* File path.
|
|
2168
|
-
* @returns {string}
|
|
2169
|
-
* Extname.
|
|
2170
|
-
*/
|
|
2171
|
-
function extname(path) {
|
|
2172
|
-
assertPath$1(path);
|
|
2173
|
-
|
|
2174
|
-
let index = path.length;
|
|
2175
|
-
|
|
2176
|
-
let end = -1;
|
|
2177
|
-
let startPart = 0;
|
|
2178
|
-
let startDot = -1;
|
|
2179
|
-
// Track the state of characters (if any) we see before our first dot and
|
|
2180
|
-
// after any path separator we find.
|
|
2181
|
-
let preDotState = 0;
|
|
2182
|
-
/** @type {boolean | undefined} */
|
|
2183
|
-
let unmatchedSlash;
|
|
2184
|
-
|
|
2185
|
-
while (index--) {
|
|
2186
|
-
const code = path.charCodeAt(index);
|
|
2187
|
-
|
|
2188
|
-
if (code === 47 /* `/` */) {
|
|
2189
|
-
// If we reached a path separator that was not part of a set of path
|
|
2190
|
-
// separators at the end of the string, stop now.
|
|
2191
|
-
if (unmatchedSlash) {
|
|
2192
|
-
startPart = index + 1;
|
|
2193
|
-
break
|
|
2194
|
-
}
|
|
2195
|
-
|
|
2196
|
-
continue
|
|
2197
|
-
}
|
|
2198
|
-
|
|
2199
|
-
if (end < 0) {
|
|
2200
|
-
// We saw the first non-path separator, mark this as the end of our
|
|
2201
|
-
// extension.
|
|
2202
|
-
unmatchedSlash = true;
|
|
2203
|
-
end = index + 1;
|
|
2204
|
-
}
|
|
2205
|
-
|
|
2206
|
-
if (code === 46 /* `.` */) {
|
|
2207
|
-
// If this is our first dot, mark it as the start of our extension.
|
|
2208
|
-
if (startDot < 0) {
|
|
2209
|
-
startDot = index;
|
|
2210
|
-
} else if (preDotState !== 1) {
|
|
2211
|
-
preDotState = 1;
|
|
2212
|
-
}
|
|
2213
|
-
} else if (startDot > -1) {
|
|
2214
|
-
// We saw a non-dot and non-path separator before our dot, so we should
|
|
2215
|
-
// have a good chance at having a non-empty extension.
|
|
2216
|
-
preDotState = -1;
|
|
2217
|
-
}
|
|
2218
|
-
}
|
|
2219
|
-
|
|
2220
|
-
if (
|
|
2221
|
-
startDot < 0 ||
|
|
2222
|
-
end < 0 ||
|
|
2223
|
-
// We saw a non-dot character immediately before the dot.
|
|
2224
|
-
preDotState === 0 ||
|
|
2225
|
-
// The (right-most) trimmed path component is exactly `..`.
|
|
2226
|
-
(preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)
|
|
2227
|
-
) {
|
|
2228
|
-
return ''
|
|
2229
|
-
}
|
|
2230
|
-
|
|
2231
|
-
return path.slice(startDot, end)
|
|
2232
|
-
}
|
|
2233
|
-
|
|
2234
|
-
/**
|
|
2235
|
-
* Join segments from a path.
|
|
2236
|
-
*
|
|
2237
|
-
* @param {Array<string>} segments
|
|
2238
|
-
* Path segments.
|
|
2239
|
-
* @returns {string}
|
|
2240
|
-
* File path.
|
|
2241
|
-
*/
|
|
2242
|
-
function join(...segments) {
|
|
2243
|
-
let index = -1;
|
|
2244
|
-
/** @type {string | undefined} */
|
|
2245
|
-
let joined;
|
|
2246
|
-
|
|
2247
|
-
while (++index < segments.length) {
|
|
2248
|
-
assertPath$1(segments[index]);
|
|
2249
|
-
|
|
2250
|
-
if (segments[index]) {
|
|
2251
|
-
joined =
|
|
2252
|
-
joined === undefined ? segments[index] : joined + '/' + segments[index];
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
|
-
return joined === undefined ? '.' : normalize$1(joined)
|
|
2257
|
-
}
|
|
2258
|
-
|
|
2259
|
-
/**
|
|
2260
|
-
* Normalize a basic file path.
|
|
2261
|
-
*
|
|
2262
|
-
* @param {string} path
|
|
2263
|
-
* File path.
|
|
2264
|
-
* @returns {string}
|
|
2265
|
-
* File path.
|
|
2266
|
-
*/
|
|
2267
|
-
// Note: `normalize` is not exposed as `path.normalize`, so some code is
|
|
2268
|
-
// manually removed from it.
|
|
2269
|
-
function normalize$1(path) {
|
|
2270
|
-
assertPath$1(path);
|
|
2271
|
-
|
|
2272
|
-
const absolute = path.charCodeAt(0) === 47; /* `/` */
|
|
2273
|
-
|
|
2274
|
-
// Normalize the path according to POSIX rules.
|
|
2275
|
-
let value = normalizeString(path, !absolute);
|
|
2276
|
-
|
|
2277
|
-
if (value.length === 0 && !absolute) {
|
|
2278
|
-
value = '.';
|
|
2279
|
-
}
|
|
2280
|
-
|
|
2281
|
-
if (value.length > 0 && path.charCodeAt(path.length - 1) === 47 /* / */) {
|
|
2282
|
-
value += '/';
|
|
2283
|
-
}
|
|
2284
|
-
|
|
2285
|
-
return absolute ? '/' + value : value
|
|
2286
|
-
}
|
|
2287
|
-
|
|
2288
|
-
/**
|
|
2289
|
-
* Resolve `.` and `..` elements in a path with directory names.
|
|
2290
|
-
*
|
|
2291
|
-
* @param {string} path
|
|
2292
|
-
* File path.
|
|
2293
|
-
* @param {boolean} allowAboveRoot
|
|
2294
|
-
* Whether `..` can move above root.
|
|
2295
|
-
* @returns {string}
|
|
2296
|
-
* File path.
|
|
2297
|
-
*/
|
|
2298
|
-
function normalizeString(path, allowAboveRoot) {
|
|
2299
|
-
let result = '';
|
|
2300
|
-
let lastSegmentLength = 0;
|
|
2301
|
-
let lastSlash = -1;
|
|
2302
|
-
let dots = 0;
|
|
2303
|
-
let index = -1;
|
|
2304
|
-
/** @type {number | undefined} */
|
|
2305
|
-
let code;
|
|
2306
|
-
/** @type {number} */
|
|
2307
|
-
let lastSlashIndex;
|
|
2308
|
-
|
|
2309
|
-
while (++index <= path.length) {
|
|
2310
|
-
if (index < path.length) {
|
|
2311
|
-
code = path.charCodeAt(index);
|
|
2312
|
-
} else if (code === 47 /* `/` */) {
|
|
2313
|
-
break
|
|
2314
|
-
} else {
|
|
2315
|
-
code = 47; /* `/` */
|
|
2316
|
-
}
|
|
2317
|
-
|
|
2318
|
-
if (code === 47 /* `/` */) {
|
|
2319
|
-
if (lastSlash === index - 1 || dots === 1) ; else if (lastSlash !== index - 1 && dots === 2) {
|
|
2320
|
-
if (
|
|
2321
|
-
result.length < 2 ||
|
|
2322
|
-
lastSegmentLength !== 2 ||
|
|
2323
|
-
result.charCodeAt(result.length - 1) !== 46 /* `.` */ ||
|
|
2324
|
-
result.charCodeAt(result.length - 2) !== 46 /* `.` */
|
|
2325
|
-
) {
|
|
2326
|
-
if (result.length > 2) {
|
|
2327
|
-
lastSlashIndex = result.lastIndexOf('/');
|
|
2328
|
-
|
|
2329
|
-
if (lastSlashIndex !== result.length - 1) {
|
|
2330
|
-
if (lastSlashIndex < 0) {
|
|
2331
|
-
result = '';
|
|
2332
|
-
lastSegmentLength = 0;
|
|
2333
|
-
} else {
|
|
2334
|
-
result = result.slice(0, lastSlashIndex);
|
|
2335
|
-
lastSegmentLength = result.length - 1 - result.lastIndexOf('/');
|
|
2336
|
-
}
|
|
2337
|
-
|
|
2338
|
-
lastSlash = index;
|
|
2339
|
-
dots = 0;
|
|
2340
|
-
continue
|
|
2341
|
-
}
|
|
2342
|
-
} else if (result.length > 0) {
|
|
2343
|
-
result = '';
|
|
2344
|
-
lastSegmentLength = 0;
|
|
2345
|
-
lastSlash = index;
|
|
2346
|
-
dots = 0;
|
|
2347
|
-
continue
|
|
2348
|
-
}
|
|
2349
|
-
}
|
|
2350
|
-
|
|
2351
|
-
if (allowAboveRoot) {
|
|
2352
|
-
result = result.length > 0 ? result + '/..' : '..';
|
|
2353
|
-
lastSegmentLength = 2;
|
|
2354
|
-
}
|
|
2355
|
-
} else {
|
|
2356
|
-
if (result.length > 0) {
|
|
2357
|
-
result += '/' + path.slice(lastSlash + 1, index);
|
|
2358
|
-
} else {
|
|
2359
|
-
result = path.slice(lastSlash + 1, index);
|
|
2360
|
-
}
|
|
2361
|
-
|
|
2362
|
-
lastSegmentLength = index - lastSlash - 1;
|
|
2363
|
-
}
|
|
2364
|
-
|
|
2365
|
-
lastSlash = index;
|
|
2366
|
-
dots = 0;
|
|
2367
|
-
} else if (code === 46 /* `.` */ && dots > -1) {
|
|
2368
|
-
dots++;
|
|
2369
|
-
} else {
|
|
2370
|
-
dots = -1;
|
|
2371
|
-
}
|
|
2372
|
-
}
|
|
2373
|
-
|
|
2374
|
-
return result
|
|
2375
|
-
}
|
|
2376
|
-
|
|
2377
|
-
/**
|
|
2378
|
-
* Make sure `path` is a string.
|
|
2379
|
-
*
|
|
2380
|
-
* @param {string} path
|
|
2381
|
-
* File path.
|
|
2382
|
-
* @returns {asserts path is string}
|
|
2383
|
-
* Nothing.
|
|
2384
|
-
*/
|
|
2385
|
-
function assertPath$1(path) {
|
|
2386
|
-
if (typeof path !== 'string') {
|
|
2387
|
-
throw new TypeError(
|
|
2388
|
-
'Path must be a string. Received ' + JSON.stringify(path)
|
|
2389
|
-
)
|
|
2390
|
-
}
|
|
2391
|
-
}
|
|
2392
|
-
|
|
2393
|
-
/* eslint-enable max-depth, complexity */
|
|
2394
|
-
|
|
2395
|
-
// Somewhat based on:
|
|
2396
|
-
// <https://github.com/defunctzombie/node-process/blob/master/browser.js>.
|
|
2397
|
-
// But I don’t think one tiny line of code can be copyrighted. 😅
|
|
2398
|
-
const proc = {cwd};
|
|
2399
|
-
|
|
2400
|
-
function cwd() {
|
|
2401
|
-
return '/'
|
|
2402
|
-
}
|
|
2403
|
-
|
|
2404
2861
|
/**
|
|
2405
2862
|
* @typedef URL
|
|
2406
2863
|
* @property {string} hash
|
|
@@ -2439,82 +2896,6 @@ function isUrl(fileUrlOrPath) {
|
|
|
2439
2896
|
)
|
|
2440
2897
|
}
|
|
2441
2898
|
|
|
2442
|
-
/// <reference lib="dom" />
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
// See: <https://github.com/nodejs/node/blob/fcf8ba4/lib/internal/url.js>
|
|
2446
|
-
|
|
2447
|
-
/**
|
|
2448
|
-
* @param {string | URL} path
|
|
2449
|
-
* File URL.
|
|
2450
|
-
* @returns {string}
|
|
2451
|
-
* File URL.
|
|
2452
|
-
*/
|
|
2453
|
-
function urlToPath(path) {
|
|
2454
|
-
if (typeof path === 'string') {
|
|
2455
|
-
path = new URL(path);
|
|
2456
|
-
} else if (!isUrl(path)) {
|
|
2457
|
-
/** @type {NodeJS.ErrnoException} */
|
|
2458
|
-
const error = new TypeError(
|
|
2459
|
-
'The "path" argument must be of type string or an instance of URL. Received `' +
|
|
2460
|
-
path +
|
|
2461
|
-
'`'
|
|
2462
|
-
);
|
|
2463
|
-
error.code = 'ERR_INVALID_ARG_TYPE';
|
|
2464
|
-
throw error
|
|
2465
|
-
}
|
|
2466
|
-
|
|
2467
|
-
if (path.protocol !== 'file:') {
|
|
2468
|
-
/** @type {NodeJS.ErrnoException} */
|
|
2469
|
-
const error = new TypeError('The URL must be of scheme file');
|
|
2470
|
-
error.code = 'ERR_INVALID_URL_SCHEME';
|
|
2471
|
-
throw error
|
|
2472
|
-
}
|
|
2473
|
-
|
|
2474
|
-
return getPathFromURLPosix(path)
|
|
2475
|
-
}
|
|
2476
|
-
|
|
2477
|
-
/**
|
|
2478
|
-
* Get a path from a POSIX URL.
|
|
2479
|
-
*
|
|
2480
|
-
* @param {URL} url
|
|
2481
|
-
* URL.
|
|
2482
|
-
* @returns {string}
|
|
2483
|
-
* File path.
|
|
2484
|
-
*/
|
|
2485
|
-
function getPathFromURLPosix(url) {
|
|
2486
|
-
if (url.hostname !== '') {
|
|
2487
|
-
/** @type {NodeJS.ErrnoException} */
|
|
2488
|
-
const error = new TypeError(
|
|
2489
|
-
'File URL host must be "localhost" or empty on darwin'
|
|
2490
|
-
);
|
|
2491
|
-
error.code = 'ERR_INVALID_FILE_URL_HOST';
|
|
2492
|
-
throw error
|
|
2493
|
-
}
|
|
2494
|
-
|
|
2495
|
-
const pathname = url.pathname;
|
|
2496
|
-
let index = -1;
|
|
2497
|
-
|
|
2498
|
-
while (++index < pathname.length) {
|
|
2499
|
-
if (
|
|
2500
|
-
pathname.charCodeAt(index) === 37 /* `%` */ &&
|
|
2501
|
-
pathname.charCodeAt(index + 1) === 50 /* `2` */
|
|
2502
|
-
) {
|
|
2503
|
-
const third = pathname.charCodeAt(index + 2);
|
|
2504
|
-
if (third === 70 /* `F` */ || third === 102 /* `f` */) {
|
|
2505
|
-
/** @type {NodeJS.ErrnoException} */
|
|
2506
|
-
const error = new TypeError(
|
|
2507
|
-
'File URL path must not include encoded / characters'
|
|
2508
|
-
);
|
|
2509
|
-
error.code = 'ERR_INVALID_FILE_URL_PATH';
|
|
2510
|
-
throw error
|
|
2511
|
-
}
|
|
2512
|
-
}
|
|
2513
|
-
}
|
|
2514
|
-
|
|
2515
|
-
return decodeURIComponent(pathname)
|
|
2516
|
-
}
|
|
2517
|
-
|
|
2518
2899
|
/**
|
|
2519
2900
|
* @typedef {import('unist').Node} Node
|
|
2520
2901
|
* @typedef {import('unist').Position} Position
|
|
@@ -2602,7 +2983,7 @@ class VFile {
|
|
|
2602
2983
|
*
|
|
2603
2984
|
* @type {string}
|
|
2604
2985
|
*/
|
|
2605
|
-
this.cwd =
|
|
2986
|
+
this.cwd = browser$1.cwd();
|
|
2606
2987
|
|
|
2607
2988
|
/* eslint-disable no-unused-expressions */
|
|
2608
2989
|
/**
|
|
@@ -2696,7 +3077,7 @@ class VFile {
|
|
|
2696
3077
|
*/
|
|
2697
3078
|
set path(path) {
|
|
2698
3079
|
if (isUrl(path)) {
|
|
2699
|
-
path =
|
|
3080
|
+
path = urlFileURLToPath(path);
|
|
2700
3081
|
}
|
|
2701
3082
|
|
|
2702
3083
|
assertNonEmpty(path, 'path');
|
|
@@ -2979,7 +3360,7 @@ function buffer(value) {
|
|
|
2979
3360
|
// Expose a frozen processor.
|
|
2980
3361
|
const unified = base().freeze();
|
|
2981
3362
|
|
|
2982
|
-
const own$
|
|
3363
|
+
const own$7 = {}.hasOwnProperty;
|
|
2983
3364
|
|
|
2984
3365
|
// Function to create the first processor.
|
|
2985
3366
|
/**
|
|
@@ -3052,7 +3433,7 @@ function base() {
|
|
|
3052
3433
|
}
|
|
3053
3434
|
|
|
3054
3435
|
// Get `key`.
|
|
3055
|
-
return (own$
|
|
3436
|
+
return (own$7.call(namespace, key) && namespace[key]) || null
|
|
3056
3437
|
}
|
|
3057
3438
|
|
|
3058
3439
|
// Set space.
|
|
@@ -3432,7 +3813,7 @@ function keys(value) {
|
|
|
3432
3813
|
let key;
|
|
3433
3814
|
|
|
3434
3815
|
for (key in value) {
|
|
3435
|
-
if (own$
|
|
3816
|
+
if (own$7.call(value, key)) {
|
|
3436
3817
|
return true
|
|
3437
3818
|
}
|
|
3438
3819
|
}
|
|
@@ -4110,7 +4491,7 @@ function initializeContent(effects) {
|
|
|
4110
4491
|
|
|
4111
4492
|
/** @type {InitialConstruct} */
|
|
4112
4493
|
|
|
4113
|
-
const document$
|
|
4494
|
+
const document$1 = {
|
|
4114
4495
|
tokenize: initializeDocument
|
|
4115
4496
|
};
|
|
4116
4497
|
/** @type {Construct} */
|
|
@@ -5028,38 +5409,2154 @@ function tokenizeCharacterEscape(effects, ok, nok) {
|
|
|
5028
5409
|
}
|
|
5029
5410
|
}
|
|
5030
5411
|
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5412
|
+
/**
|
|
5413
|
+
* Map of named character references.
|
|
5414
|
+
*
|
|
5415
|
+
* @type {Record<string, string>}
|
|
5416
|
+
*/
|
|
5417
|
+
const characterEntities = {
|
|
5418
|
+
AElig: 'Æ',
|
|
5419
|
+
AMP: '&',
|
|
5420
|
+
Aacute: 'Á',
|
|
5421
|
+
Abreve: 'Ă',
|
|
5422
|
+
Acirc: 'Â',
|
|
5423
|
+
Acy: 'А',
|
|
5424
|
+
Afr: '𝔄',
|
|
5425
|
+
Agrave: 'À',
|
|
5426
|
+
Alpha: 'Α',
|
|
5427
|
+
Amacr: 'Ā',
|
|
5428
|
+
And: '⩓',
|
|
5429
|
+
Aogon: 'Ą',
|
|
5430
|
+
Aopf: '𝔸',
|
|
5431
|
+
ApplyFunction: '',
|
|
5432
|
+
Aring: 'Å',
|
|
5433
|
+
Ascr: '𝒜',
|
|
5434
|
+
Assign: '≔',
|
|
5435
|
+
Atilde: 'Ã',
|
|
5436
|
+
Auml: 'Ä',
|
|
5437
|
+
Backslash: '∖',
|
|
5438
|
+
Barv: '⫧',
|
|
5439
|
+
Barwed: '⌆',
|
|
5440
|
+
Bcy: 'Б',
|
|
5441
|
+
Because: '∵',
|
|
5442
|
+
Bernoullis: 'ℬ',
|
|
5443
|
+
Beta: 'Β',
|
|
5444
|
+
Bfr: '𝔅',
|
|
5445
|
+
Bopf: '𝔹',
|
|
5446
|
+
Breve: '˘',
|
|
5447
|
+
Bscr: 'ℬ',
|
|
5448
|
+
Bumpeq: '≎',
|
|
5449
|
+
CHcy: 'Ч',
|
|
5450
|
+
COPY: '©',
|
|
5451
|
+
Cacute: 'Ć',
|
|
5452
|
+
Cap: '⋒',
|
|
5453
|
+
CapitalDifferentialD: 'ⅅ',
|
|
5454
|
+
Cayleys: 'ℭ',
|
|
5455
|
+
Ccaron: 'Č',
|
|
5456
|
+
Ccedil: 'Ç',
|
|
5457
|
+
Ccirc: 'Ĉ',
|
|
5458
|
+
Cconint: '∰',
|
|
5459
|
+
Cdot: 'Ċ',
|
|
5460
|
+
Cedilla: '¸',
|
|
5461
|
+
CenterDot: '·',
|
|
5462
|
+
Cfr: 'ℭ',
|
|
5463
|
+
Chi: 'Χ',
|
|
5464
|
+
CircleDot: '⊙',
|
|
5465
|
+
CircleMinus: '⊖',
|
|
5466
|
+
CirclePlus: '⊕',
|
|
5467
|
+
CircleTimes: '⊗',
|
|
5468
|
+
ClockwiseContourIntegral: '∲',
|
|
5469
|
+
CloseCurlyDoubleQuote: '”',
|
|
5470
|
+
CloseCurlyQuote: '’',
|
|
5471
|
+
Colon: '∷',
|
|
5472
|
+
Colone: '⩴',
|
|
5473
|
+
Congruent: '≡',
|
|
5474
|
+
Conint: '∯',
|
|
5475
|
+
ContourIntegral: '∮',
|
|
5476
|
+
Copf: 'ℂ',
|
|
5477
|
+
Coproduct: '∐',
|
|
5478
|
+
CounterClockwiseContourIntegral: '∳',
|
|
5479
|
+
Cross: '⨯',
|
|
5480
|
+
Cscr: '𝒞',
|
|
5481
|
+
Cup: '⋓',
|
|
5482
|
+
CupCap: '≍',
|
|
5483
|
+
DD: 'ⅅ',
|
|
5484
|
+
DDotrahd: '⤑',
|
|
5485
|
+
DJcy: 'Ђ',
|
|
5486
|
+
DScy: 'Ѕ',
|
|
5487
|
+
DZcy: 'Џ',
|
|
5488
|
+
Dagger: '‡',
|
|
5489
|
+
Darr: '↡',
|
|
5490
|
+
Dashv: '⫤',
|
|
5491
|
+
Dcaron: 'Ď',
|
|
5492
|
+
Dcy: 'Д',
|
|
5493
|
+
Del: '∇',
|
|
5494
|
+
Delta: 'Δ',
|
|
5495
|
+
Dfr: '𝔇',
|
|
5496
|
+
DiacriticalAcute: '´',
|
|
5497
|
+
DiacriticalDot: '˙',
|
|
5498
|
+
DiacriticalDoubleAcute: '˝',
|
|
5499
|
+
DiacriticalGrave: '`',
|
|
5500
|
+
DiacriticalTilde: '˜',
|
|
5501
|
+
Diamond: '⋄',
|
|
5502
|
+
DifferentialD: 'ⅆ',
|
|
5503
|
+
Dopf: '𝔻',
|
|
5504
|
+
Dot: '¨',
|
|
5505
|
+
DotDot: '⃜',
|
|
5506
|
+
DotEqual: '≐',
|
|
5507
|
+
DoubleContourIntegral: '∯',
|
|
5508
|
+
DoubleDot: '¨',
|
|
5509
|
+
DoubleDownArrow: '⇓',
|
|
5510
|
+
DoubleLeftArrow: '⇐',
|
|
5511
|
+
DoubleLeftRightArrow: '⇔',
|
|
5512
|
+
DoubleLeftTee: '⫤',
|
|
5513
|
+
DoubleLongLeftArrow: '⟸',
|
|
5514
|
+
DoubleLongLeftRightArrow: '⟺',
|
|
5515
|
+
DoubleLongRightArrow: '⟹',
|
|
5516
|
+
DoubleRightArrow: '⇒',
|
|
5517
|
+
DoubleRightTee: '⊨',
|
|
5518
|
+
DoubleUpArrow: '⇑',
|
|
5519
|
+
DoubleUpDownArrow: '⇕',
|
|
5520
|
+
DoubleVerticalBar: '∥',
|
|
5521
|
+
DownArrow: '↓',
|
|
5522
|
+
DownArrowBar: '⤓',
|
|
5523
|
+
DownArrowUpArrow: '⇵',
|
|
5524
|
+
DownBreve: '̑',
|
|
5525
|
+
DownLeftRightVector: '⥐',
|
|
5526
|
+
DownLeftTeeVector: '⥞',
|
|
5527
|
+
DownLeftVector: '↽',
|
|
5528
|
+
DownLeftVectorBar: '⥖',
|
|
5529
|
+
DownRightTeeVector: '⥟',
|
|
5530
|
+
DownRightVector: '⇁',
|
|
5531
|
+
DownRightVectorBar: '⥗',
|
|
5532
|
+
DownTee: '⊤',
|
|
5533
|
+
DownTeeArrow: '↧',
|
|
5534
|
+
Downarrow: '⇓',
|
|
5535
|
+
Dscr: '𝒟',
|
|
5536
|
+
Dstrok: 'Đ',
|
|
5537
|
+
ENG: 'Ŋ',
|
|
5538
|
+
ETH: 'Ð',
|
|
5539
|
+
Eacute: 'É',
|
|
5540
|
+
Ecaron: 'Ě',
|
|
5541
|
+
Ecirc: 'Ê',
|
|
5542
|
+
Ecy: 'Э',
|
|
5543
|
+
Edot: 'Ė',
|
|
5544
|
+
Efr: '𝔈',
|
|
5545
|
+
Egrave: 'È',
|
|
5546
|
+
Element: '∈',
|
|
5547
|
+
Emacr: 'Ē',
|
|
5548
|
+
EmptySmallSquare: '◻',
|
|
5549
|
+
EmptyVerySmallSquare: '▫',
|
|
5550
|
+
Eogon: 'Ę',
|
|
5551
|
+
Eopf: '𝔼',
|
|
5552
|
+
Epsilon: 'Ε',
|
|
5553
|
+
Equal: '⩵',
|
|
5554
|
+
EqualTilde: '≂',
|
|
5555
|
+
Equilibrium: '⇌',
|
|
5556
|
+
Escr: 'ℰ',
|
|
5557
|
+
Esim: '⩳',
|
|
5558
|
+
Eta: 'Η',
|
|
5559
|
+
Euml: 'Ë',
|
|
5560
|
+
Exists: '∃',
|
|
5561
|
+
ExponentialE: 'ⅇ',
|
|
5562
|
+
Fcy: 'Ф',
|
|
5563
|
+
Ffr: '𝔉',
|
|
5564
|
+
FilledSmallSquare: '◼',
|
|
5565
|
+
FilledVerySmallSquare: '▪',
|
|
5566
|
+
Fopf: '𝔽',
|
|
5567
|
+
ForAll: '∀',
|
|
5568
|
+
Fouriertrf: 'ℱ',
|
|
5569
|
+
Fscr: 'ℱ',
|
|
5570
|
+
GJcy: 'Ѓ',
|
|
5571
|
+
GT: '>',
|
|
5572
|
+
Gamma: 'Γ',
|
|
5573
|
+
Gammad: 'Ϝ',
|
|
5574
|
+
Gbreve: 'Ğ',
|
|
5575
|
+
Gcedil: 'Ģ',
|
|
5576
|
+
Gcirc: 'Ĝ',
|
|
5577
|
+
Gcy: 'Г',
|
|
5578
|
+
Gdot: 'Ġ',
|
|
5579
|
+
Gfr: '𝔊',
|
|
5580
|
+
Gg: '⋙',
|
|
5581
|
+
Gopf: '𝔾',
|
|
5582
|
+
GreaterEqual: '≥',
|
|
5583
|
+
GreaterEqualLess: '⋛',
|
|
5584
|
+
GreaterFullEqual: '≧',
|
|
5585
|
+
GreaterGreater: '⪢',
|
|
5586
|
+
GreaterLess: '≷',
|
|
5587
|
+
GreaterSlantEqual: '⩾',
|
|
5588
|
+
GreaterTilde: '≳',
|
|
5589
|
+
Gscr: '𝒢',
|
|
5590
|
+
Gt: '≫',
|
|
5591
|
+
HARDcy: 'Ъ',
|
|
5592
|
+
Hacek: 'ˇ',
|
|
5593
|
+
Hat: '^',
|
|
5594
|
+
Hcirc: 'Ĥ',
|
|
5595
|
+
Hfr: 'ℌ',
|
|
5596
|
+
HilbertSpace: 'ℋ',
|
|
5597
|
+
Hopf: 'ℍ',
|
|
5598
|
+
HorizontalLine: '─',
|
|
5599
|
+
Hscr: 'ℋ',
|
|
5600
|
+
Hstrok: 'Ħ',
|
|
5601
|
+
HumpDownHump: '≎',
|
|
5602
|
+
HumpEqual: '≏',
|
|
5603
|
+
IEcy: 'Е',
|
|
5604
|
+
IJlig: 'IJ',
|
|
5605
|
+
IOcy: 'Ё',
|
|
5606
|
+
Iacute: 'Í',
|
|
5607
|
+
Icirc: 'Î',
|
|
5608
|
+
Icy: 'И',
|
|
5609
|
+
Idot: 'İ',
|
|
5610
|
+
Ifr: 'ℑ',
|
|
5611
|
+
Igrave: 'Ì',
|
|
5612
|
+
Im: 'ℑ',
|
|
5613
|
+
Imacr: 'Ī',
|
|
5614
|
+
ImaginaryI: 'ⅈ',
|
|
5615
|
+
Implies: '⇒',
|
|
5616
|
+
Int: '∬',
|
|
5617
|
+
Integral: '∫',
|
|
5618
|
+
Intersection: '⋂',
|
|
5619
|
+
InvisibleComma: '',
|
|
5620
|
+
InvisibleTimes: '',
|
|
5621
|
+
Iogon: 'Į',
|
|
5622
|
+
Iopf: '𝕀',
|
|
5623
|
+
Iota: 'Ι',
|
|
5624
|
+
Iscr: 'ℐ',
|
|
5625
|
+
Itilde: 'Ĩ',
|
|
5626
|
+
Iukcy: 'І',
|
|
5627
|
+
Iuml: 'Ï',
|
|
5628
|
+
Jcirc: 'Ĵ',
|
|
5629
|
+
Jcy: 'Й',
|
|
5630
|
+
Jfr: '𝔍',
|
|
5631
|
+
Jopf: '𝕁',
|
|
5632
|
+
Jscr: '𝒥',
|
|
5633
|
+
Jsercy: 'Ј',
|
|
5634
|
+
Jukcy: 'Є',
|
|
5635
|
+
KHcy: 'Х',
|
|
5636
|
+
KJcy: 'Ќ',
|
|
5637
|
+
Kappa: 'Κ',
|
|
5638
|
+
Kcedil: 'Ķ',
|
|
5639
|
+
Kcy: 'К',
|
|
5640
|
+
Kfr: '𝔎',
|
|
5641
|
+
Kopf: '𝕂',
|
|
5642
|
+
Kscr: '𝒦',
|
|
5643
|
+
LJcy: 'Љ',
|
|
5644
|
+
LT: '<',
|
|
5645
|
+
Lacute: 'Ĺ',
|
|
5646
|
+
Lambda: 'Λ',
|
|
5647
|
+
Lang: '⟪',
|
|
5648
|
+
Laplacetrf: 'ℒ',
|
|
5649
|
+
Larr: '↞',
|
|
5650
|
+
Lcaron: 'Ľ',
|
|
5651
|
+
Lcedil: 'Ļ',
|
|
5652
|
+
Lcy: 'Л',
|
|
5653
|
+
LeftAngleBracket: '⟨',
|
|
5654
|
+
LeftArrow: '←',
|
|
5655
|
+
LeftArrowBar: '⇤',
|
|
5656
|
+
LeftArrowRightArrow: '⇆',
|
|
5657
|
+
LeftCeiling: '⌈',
|
|
5658
|
+
LeftDoubleBracket: '⟦',
|
|
5659
|
+
LeftDownTeeVector: '⥡',
|
|
5660
|
+
LeftDownVector: '⇃',
|
|
5661
|
+
LeftDownVectorBar: '⥙',
|
|
5662
|
+
LeftFloor: '⌊',
|
|
5663
|
+
LeftRightArrow: '↔',
|
|
5664
|
+
LeftRightVector: '⥎',
|
|
5665
|
+
LeftTee: '⊣',
|
|
5666
|
+
LeftTeeArrow: '↤',
|
|
5667
|
+
LeftTeeVector: '⥚',
|
|
5668
|
+
LeftTriangle: '⊲',
|
|
5669
|
+
LeftTriangleBar: '⧏',
|
|
5670
|
+
LeftTriangleEqual: '⊴',
|
|
5671
|
+
LeftUpDownVector: '⥑',
|
|
5672
|
+
LeftUpTeeVector: '⥠',
|
|
5673
|
+
LeftUpVector: '↿',
|
|
5674
|
+
LeftUpVectorBar: '⥘',
|
|
5675
|
+
LeftVector: '↼',
|
|
5676
|
+
LeftVectorBar: '⥒',
|
|
5677
|
+
Leftarrow: '⇐',
|
|
5678
|
+
Leftrightarrow: '⇔',
|
|
5679
|
+
LessEqualGreater: '⋚',
|
|
5680
|
+
LessFullEqual: '≦',
|
|
5681
|
+
LessGreater: '≶',
|
|
5682
|
+
LessLess: '⪡',
|
|
5683
|
+
LessSlantEqual: '⩽',
|
|
5684
|
+
LessTilde: '≲',
|
|
5685
|
+
Lfr: '𝔏',
|
|
5686
|
+
Ll: '⋘',
|
|
5687
|
+
Lleftarrow: '⇚',
|
|
5688
|
+
Lmidot: 'Ŀ',
|
|
5689
|
+
LongLeftArrow: '⟵',
|
|
5690
|
+
LongLeftRightArrow: '⟷',
|
|
5691
|
+
LongRightArrow: '⟶',
|
|
5692
|
+
Longleftarrow: '⟸',
|
|
5693
|
+
Longleftrightarrow: '⟺',
|
|
5694
|
+
Longrightarrow: '⟹',
|
|
5695
|
+
Lopf: '𝕃',
|
|
5696
|
+
LowerLeftArrow: '↙',
|
|
5697
|
+
LowerRightArrow: '↘',
|
|
5698
|
+
Lscr: 'ℒ',
|
|
5699
|
+
Lsh: '↰',
|
|
5700
|
+
Lstrok: 'Ł',
|
|
5701
|
+
Lt: '≪',
|
|
5702
|
+
Map: '⤅',
|
|
5703
|
+
Mcy: 'М',
|
|
5704
|
+
MediumSpace: ' ',
|
|
5705
|
+
Mellintrf: 'ℳ',
|
|
5706
|
+
Mfr: '𝔐',
|
|
5707
|
+
MinusPlus: '∓',
|
|
5708
|
+
Mopf: '𝕄',
|
|
5709
|
+
Mscr: 'ℳ',
|
|
5710
|
+
Mu: 'Μ',
|
|
5711
|
+
NJcy: 'Њ',
|
|
5712
|
+
Nacute: 'Ń',
|
|
5713
|
+
Ncaron: 'Ň',
|
|
5714
|
+
Ncedil: 'Ņ',
|
|
5715
|
+
Ncy: 'Н',
|
|
5716
|
+
NegativeMediumSpace: '',
|
|
5717
|
+
NegativeThickSpace: '',
|
|
5718
|
+
NegativeThinSpace: '',
|
|
5719
|
+
NegativeVeryThinSpace: '',
|
|
5720
|
+
NestedGreaterGreater: '≫',
|
|
5721
|
+
NestedLessLess: '≪',
|
|
5722
|
+
NewLine: '\n',
|
|
5723
|
+
Nfr: '𝔑',
|
|
5724
|
+
NoBreak: '',
|
|
5725
|
+
NonBreakingSpace: ' ',
|
|
5726
|
+
Nopf: 'ℕ',
|
|
5727
|
+
Not: '⫬',
|
|
5728
|
+
NotCongruent: '≢',
|
|
5729
|
+
NotCupCap: '≭',
|
|
5730
|
+
NotDoubleVerticalBar: '∦',
|
|
5731
|
+
NotElement: '∉',
|
|
5732
|
+
NotEqual: '≠',
|
|
5733
|
+
NotEqualTilde: '≂̸',
|
|
5734
|
+
NotExists: '∄',
|
|
5735
|
+
NotGreater: '≯',
|
|
5736
|
+
NotGreaterEqual: '≱',
|
|
5737
|
+
NotGreaterFullEqual: '≧̸',
|
|
5738
|
+
NotGreaterGreater: '≫̸',
|
|
5739
|
+
NotGreaterLess: '≹',
|
|
5740
|
+
NotGreaterSlantEqual: '⩾̸',
|
|
5741
|
+
NotGreaterTilde: '≵',
|
|
5742
|
+
NotHumpDownHump: '≎̸',
|
|
5743
|
+
NotHumpEqual: '≏̸',
|
|
5744
|
+
NotLeftTriangle: '⋪',
|
|
5745
|
+
NotLeftTriangleBar: '⧏̸',
|
|
5746
|
+
NotLeftTriangleEqual: '⋬',
|
|
5747
|
+
NotLess: '≮',
|
|
5748
|
+
NotLessEqual: '≰',
|
|
5749
|
+
NotLessGreater: '≸',
|
|
5750
|
+
NotLessLess: '≪̸',
|
|
5751
|
+
NotLessSlantEqual: '⩽̸',
|
|
5752
|
+
NotLessTilde: '≴',
|
|
5753
|
+
NotNestedGreaterGreater: '⪢̸',
|
|
5754
|
+
NotNestedLessLess: '⪡̸',
|
|
5755
|
+
NotPrecedes: '⊀',
|
|
5756
|
+
NotPrecedesEqual: '⪯̸',
|
|
5757
|
+
NotPrecedesSlantEqual: '⋠',
|
|
5758
|
+
NotReverseElement: '∌',
|
|
5759
|
+
NotRightTriangle: '⋫',
|
|
5760
|
+
NotRightTriangleBar: '⧐̸',
|
|
5761
|
+
NotRightTriangleEqual: '⋭',
|
|
5762
|
+
NotSquareSubset: '⊏̸',
|
|
5763
|
+
NotSquareSubsetEqual: '⋢',
|
|
5764
|
+
NotSquareSuperset: '⊐̸',
|
|
5765
|
+
NotSquareSupersetEqual: '⋣',
|
|
5766
|
+
NotSubset: '⊂⃒',
|
|
5767
|
+
NotSubsetEqual: '⊈',
|
|
5768
|
+
NotSucceeds: '⊁',
|
|
5769
|
+
NotSucceedsEqual: '⪰̸',
|
|
5770
|
+
NotSucceedsSlantEqual: '⋡',
|
|
5771
|
+
NotSucceedsTilde: '≿̸',
|
|
5772
|
+
NotSuperset: '⊃⃒',
|
|
5773
|
+
NotSupersetEqual: '⊉',
|
|
5774
|
+
NotTilde: '≁',
|
|
5775
|
+
NotTildeEqual: '≄',
|
|
5776
|
+
NotTildeFullEqual: '≇',
|
|
5777
|
+
NotTildeTilde: '≉',
|
|
5778
|
+
NotVerticalBar: '∤',
|
|
5779
|
+
Nscr: '𝒩',
|
|
5780
|
+
Ntilde: 'Ñ',
|
|
5781
|
+
Nu: 'Ν',
|
|
5782
|
+
OElig: 'Œ',
|
|
5783
|
+
Oacute: 'Ó',
|
|
5784
|
+
Ocirc: 'Ô',
|
|
5785
|
+
Ocy: 'О',
|
|
5786
|
+
Odblac: 'Ő',
|
|
5787
|
+
Ofr: '𝔒',
|
|
5788
|
+
Ograve: 'Ò',
|
|
5789
|
+
Omacr: 'Ō',
|
|
5790
|
+
Omega: 'Ω',
|
|
5791
|
+
Omicron: 'Ο',
|
|
5792
|
+
Oopf: '𝕆',
|
|
5793
|
+
OpenCurlyDoubleQuote: '“',
|
|
5794
|
+
OpenCurlyQuote: '‘',
|
|
5795
|
+
Or: '⩔',
|
|
5796
|
+
Oscr: '𝒪',
|
|
5797
|
+
Oslash: 'Ø',
|
|
5798
|
+
Otilde: 'Õ',
|
|
5799
|
+
Otimes: '⨷',
|
|
5800
|
+
Ouml: 'Ö',
|
|
5801
|
+
OverBar: '‾',
|
|
5802
|
+
OverBrace: '⏞',
|
|
5803
|
+
OverBracket: '⎴',
|
|
5804
|
+
OverParenthesis: '⏜',
|
|
5805
|
+
PartialD: '∂',
|
|
5806
|
+
Pcy: 'П',
|
|
5807
|
+
Pfr: '𝔓',
|
|
5808
|
+
Phi: 'Φ',
|
|
5809
|
+
Pi: 'Π',
|
|
5810
|
+
PlusMinus: '±',
|
|
5811
|
+
Poincareplane: 'ℌ',
|
|
5812
|
+
Popf: 'ℙ',
|
|
5813
|
+
Pr: '⪻',
|
|
5814
|
+
Precedes: '≺',
|
|
5815
|
+
PrecedesEqual: '⪯',
|
|
5816
|
+
PrecedesSlantEqual: '≼',
|
|
5817
|
+
PrecedesTilde: '≾',
|
|
5818
|
+
Prime: '″',
|
|
5819
|
+
Product: '∏',
|
|
5820
|
+
Proportion: '∷',
|
|
5821
|
+
Proportional: '∝',
|
|
5822
|
+
Pscr: '𝒫',
|
|
5823
|
+
Psi: 'Ψ',
|
|
5824
|
+
QUOT: '"',
|
|
5825
|
+
Qfr: '𝔔',
|
|
5826
|
+
Qopf: 'ℚ',
|
|
5827
|
+
Qscr: '𝒬',
|
|
5828
|
+
RBarr: '⤐',
|
|
5829
|
+
REG: '®',
|
|
5830
|
+
Racute: 'Ŕ',
|
|
5831
|
+
Rang: '⟫',
|
|
5832
|
+
Rarr: '↠',
|
|
5833
|
+
Rarrtl: '⤖',
|
|
5834
|
+
Rcaron: 'Ř',
|
|
5835
|
+
Rcedil: 'Ŗ',
|
|
5836
|
+
Rcy: 'Р',
|
|
5837
|
+
Re: 'ℜ',
|
|
5838
|
+
ReverseElement: '∋',
|
|
5839
|
+
ReverseEquilibrium: '⇋',
|
|
5840
|
+
ReverseUpEquilibrium: '⥯',
|
|
5841
|
+
Rfr: 'ℜ',
|
|
5842
|
+
Rho: 'Ρ',
|
|
5843
|
+
RightAngleBracket: '⟩',
|
|
5844
|
+
RightArrow: '→',
|
|
5845
|
+
RightArrowBar: '⇥',
|
|
5846
|
+
RightArrowLeftArrow: '⇄',
|
|
5847
|
+
RightCeiling: '⌉',
|
|
5848
|
+
RightDoubleBracket: '⟧',
|
|
5849
|
+
RightDownTeeVector: '⥝',
|
|
5850
|
+
RightDownVector: '⇂',
|
|
5851
|
+
RightDownVectorBar: '⥕',
|
|
5852
|
+
RightFloor: '⌋',
|
|
5853
|
+
RightTee: '⊢',
|
|
5854
|
+
RightTeeArrow: '↦',
|
|
5855
|
+
RightTeeVector: '⥛',
|
|
5856
|
+
RightTriangle: '⊳',
|
|
5857
|
+
RightTriangleBar: '⧐',
|
|
5858
|
+
RightTriangleEqual: '⊵',
|
|
5859
|
+
RightUpDownVector: '⥏',
|
|
5860
|
+
RightUpTeeVector: '⥜',
|
|
5861
|
+
RightUpVector: '↾',
|
|
5862
|
+
RightUpVectorBar: '⥔',
|
|
5863
|
+
RightVector: '⇀',
|
|
5864
|
+
RightVectorBar: '⥓',
|
|
5865
|
+
Rightarrow: '⇒',
|
|
5866
|
+
Ropf: 'ℝ',
|
|
5867
|
+
RoundImplies: '⥰',
|
|
5868
|
+
Rrightarrow: '⇛',
|
|
5869
|
+
Rscr: 'ℛ',
|
|
5870
|
+
Rsh: '↱',
|
|
5871
|
+
RuleDelayed: '⧴',
|
|
5872
|
+
SHCHcy: 'Щ',
|
|
5873
|
+
SHcy: 'Ш',
|
|
5874
|
+
SOFTcy: 'Ь',
|
|
5875
|
+
Sacute: 'Ś',
|
|
5876
|
+
Sc: '⪼',
|
|
5877
|
+
Scaron: 'Š',
|
|
5878
|
+
Scedil: 'Ş',
|
|
5879
|
+
Scirc: 'Ŝ',
|
|
5880
|
+
Scy: 'С',
|
|
5881
|
+
Sfr: '𝔖',
|
|
5882
|
+
ShortDownArrow: '↓',
|
|
5883
|
+
ShortLeftArrow: '←',
|
|
5884
|
+
ShortRightArrow: '→',
|
|
5885
|
+
ShortUpArrow: '↑',
|
|
5886
|
+
Sigma: 'Σ',
|
|
5887
|
+
SmallCircle: '∘',
|
|
5888
|
+
Sopf: '𝕊',
|
|
5889
|
+
Sqrt: '√',
|
|
5890
|
+
Square: '□',
|
|
5891
|
+
SquareIntersection: '⊓',
|
|
5892
|
+
SquareSubset: '⊏',
|
|
5893
|
+
SquareSubsetEqual: '⊑',
|
|
5894
|
+
SquareSuperset: '⊐',
|
|
5895
|
+
SquareSupersetEqual: '⊒',
|
|
5896
|
+
SquareUnion: '⊔',
|
|
5897
|
+
Sscr: '𝒮',
|
|
5898
|
+
Star: '⋆',
|
|
5899
|
+
Sub: '⋐',
|
|
5900
|
+
Subset: '⋐',
|
|
5901
|
+
SubsetEqual: '⊆',
|
|
5902
|
+
Succeeds: '≻',
|
|
5903
|
+
SucceedsEqual: '⪰',
|
|
5904
|
+
SucceedsSlantEqual: '≽',
|
|
5905
|
+
SucceedsTilde: '≿',
|
|
5906
|
+
SuchThat: '∋',
|
|
5907
|
+
Sum: '∑',
|
|
5908
|
+
Sup: '⋑',
|
|
5909
|
+
Superset: '⊃',
|
|
5910
|
+
SupersetEqual: '⊇',
|
|
5911
|
+
Supset: '⋑',
|
|
5912
|
+
THORN: 'Þ',
|
|
5913
|
+
TRADE: '™',
|
|
5914
|
+
TSHcy: 'Ћ',
|
|
5915
|
+
TScy: 'Ц',
|
|
5916
|
+
Tab: '\t',
|
|
5917
|
+
Tau: 'Τ',
|
|
5918
|
+
Tcaron: 'Ť',
|
|
5919
|
+
Tcedil: 'Ţ',
|
|
5920
|
+
Tcy: 'Т',
|
|
5921
|
+
Tfr: '𝔗',
|
|
5922
|
+
Therefore: '∴',
|
|
5923
|
+
Theta: 'Θ',
|
|
5924
|
+
ThickSpace: ' ',
|
|
5925
|
+
ThinSpace: ' ',
|
|
5926
|
+
Tilde: '∼',
|
|
5927
|
+
TildeEqual: '≃',
|
|
5928
|
+
TildeFullEqual: '≅',
|
|
5929
|
+
TildeTilde: '≈',
|
|
5930
|
+
Topf: '𝕋',
|
|
5931
|
+
TripleDot: '⃛',
|
|
5932
|
+
Tscr: '𝒯',
|
|
5933
|
+
Tstrok: 'Ŧ',
|
|
5934
|
+
Uacute: 'Ú',
|
|
5935
|
+
Uarr: '↟',
|
|
5936
|
+
Uarrocir: '⥉',
|
|
5937
|
+
Ubrcy: 'Ў',
|
|
5938
|
+
Ubreve: 'Ŭ',
|
|
5939
|
+
Ucirc: 'Û',
|
|
5940
|
+
Ucy: 'У',
|
|
5941
|
+
Udblac: 'Ű',
|
|
5942
|
+
Ufr: '𝔘',
|
|
5943
|
+
Ugrave: 'Ù',
|
|
5944
|
+
Umacr: 'Ū',
|
|
5945
|
+
UnderBar: '_',
|
|
5946
|
+
UnderBrace: '⏟',
|
|
5947
|
+
UnderBracket: '⎵',
|
|
5948
|
+
UnderParenthesis: '⏝',
|
|
5949
|
+
Union: '⋃',
|
|
5950
|
+
UnionPlus: '⊎',
|
|
5951
|
+
Uogon: 'Ų',
|
|
5952
|
+
Uopf: '𝕌',
|
|
5953
|
+
UpArrow: '↑',
|
|
5954
|
+
UpArrowBar: '⤒',
|
|
5955
|
+
UpArrowDownArrow: '⇅',
|
|
5956
|
+
UpDownArrow: '↕',
|
|
5957
|
+
UpEquilibrium: '⥮',
|
|
5958
|
+
UpTee: '⊥',
|
|
5959
|
+
UpTeeArrow: '↥',
|
|
5960
|
+
Uparrow: '⇑',
|
|
5961
|
+
Updownarrow: '⇕',
|
|
5962
|
+
UpperLeftArrow: '↖',
|
|
5963
|
+
UpperRightArrow: '↗',
|
|
5964
|
+
Upsi: 'ϒ',
|
|
5965
|
+
Upsilon: 'Υ',
|
|
5966
|
+
Uring: 'Ů',
|
|
5967
|
+
Uscr: '𝒰',
|
|
5968
|
+
Utilde: 'Ũ',
|
|
5969
|
+
Uuml: 'Ü',
|
|
5970
|
+
VDash: '⊫',
|
|
5971
|
+
Vbar: '⫫',
|
|
5972
|
+
Vcy: 'В',
|
|
5973
|
+
Vdash: '⊩',
|
|
5974
|
+
Vdashl: '⫦',
|
|
5975
|
+
Vee: '⋁',
|
|
5976
|
+
Verbar: '‖',
|
|
5977
|
+
Vert: '‖',
|
|
5978
|
+
VerticalBar: '∣',
|
|
5979
|
+
VerticalLine: '|',
|
|
5980
|
+
VerticalSeparator: '❘',
|
|
5981
|
+
VerticalTilde: '≀',
|
|
5982
|
+
VeryThinSpace: ' ',
|
|
5983
|
+
Vfr: '𝔙',
|
|
5984
|
+
Vopf: '𝕍',
|
|
5985
|
+
Vscr: '𝒱',
|
|
5986
|
+
Vvdash: '⊪',
|
|
5987
|
+
Wcirc: 'Ŵ',
|
|
5988
|
+
Wedge: '⋀',
|
|
5989
|
+
Wfr: '𝔚',
|
|
5990
|
+
Wopf: '𝕎',
|
|
5991
|
+
Wscr: '𝒲',
|
|
5992
|
+
Xfr: '𝔛',
|
|
5993
|
+
Xi: 'Ξ',
|
|
5994
|
+
Xopf: '𝕏',
|
|
5995
|
+
Xscr: '𝒳',
|
|
5996
|
+
YAcy: 'Я',
|
|
5997
|
+
YIcy: 'Ї',
|
|
5998
|
+
YUcy: 'Ю',
|
|
5999
|
+
Yacute: 'Ý',
|
|
6000
|
+
Ycirc: 'Ŷ',
|
|
6001
|
+
Ycy: 'Ы',
|
|
6002
|
+
Yfr: '𝔜',
|
|
6003
|
+
Yopf: '𝕐',
|
|
6004
|
+
Yscr: '𝒴',
|
|
6005
|
+
Yuml: 'Ÿ',
|
|
6006
|
+
ZHcy: 'Ж',
|
|
6007
|
+
Zacute: 'Ź',
|
|
6008
|
+
Zcaron: 'Ž',
|
|
6009
|
+
Zcy: 'З',
|
|
6010
|
+
Zdot: 'Ż',
|
|
6011
|
+
ZeroWidthSpace: '',
|
|
6012
|
+
Zeta: 'Ζ',
|
|
6013
|
+
Zfr: 'ℨ',
|
|
6014
|
+
Zopf: 'ℤ',
|
|
6015
|
+
Zscr: '𝒵',
|
|
6016
|
+
aacute: 'á',
|
|
6017
|
+
abreve: 'ă',
|
|
6018
|
+
ac: '∾',
|
|
6019
|
+
acE: '∾̳',
|
|
6020
|
+
acd: '∿',
|
|
6021
|
+
acirc: 'â',
|
|
6022
|
+
acute: '´',
|
|
6023
|
+
acy: 'а',
|
|
6024
|
+
aelig: 'æ',
|
|
6025
|
+
af: '',
|
|
6026
|
+
afr: '𝔞',
|
|
6027
|
+
agrave: 'à',
|
|
6028
|
+
alefsym: 'ℵ',
|
|
6029
|
+
aleph: 'ℵ',
|
|
6030
|
+
alpha: 'α',
|
|
6031
|
+
amacr: 'ā',
|
|
6032
|
+
amalg: '⨿',
|
|
6033
|
+
amp: '&',
|
|
6034
|
+
and: '∧',
|
|
6035
|
+
andand: '⩕',
|
|
6036
|
+
andd: '⩜',
|
|
6037
|
+
andslope: '⩘',
|
|
6038
|
+
andv: '⩚',
|
|
6039
|
+
ang: '∠',
|
|
6040
|
+
ange: '⦤',
|
|
6041
|
+
angle: '∠',
|
|
6042
|
+
angmsd: '∡',
|
|
6043
|
+
angmsdaa: '⦨',
|
|
6044
|
+
angmsdab: '⦩',
|
|
6045
|
+
angmsdac: '⦪',
|
|
6046
|
+
angmsdad: '⦫',
|
|
6047
|
+
angmsdae: '⦬',
|
|
6048
|
+
angmsdaf: '⦭',
|
|
6049
|
+
angmsdag: '⦮',
|
|
6050
|
+
angmsdah: '⦯',
|
|
6051
|
+
angrt: '∟',
|
|
6052
|
+
angrtvb: '⊾',
|
|
6053
|
+
angrtvbd: '⦝',
|
|
6054
|
+
angsph: '∢',
|
|
6055
|
+
angst: 'Å',
|
|
6056
|
+
angzarr: '⍼',
|
|
6057
|
+
aogon: 'ą',
|
|
6058
|
+
aopf: '𝕒',
|
|
6059
|
+
ap: '≈',
|
|
6060
|
+
apE: '⩰',
|
|
6061
|
+
apacir: '⩯',
|
|
6062
|
+
ape: '≊',
|
|
6063
|
+
apid: '≋',
|
|
6064
|
+
apos: "'",
|
|
6065
|
+
approx: '≈',
|
|
6066
|
+
approxeq: '≊',
|
|
6067
|
+
aring: 'å',
|
|
6068
|
+
ascr: '𝒶',
|
|
6069
|
+
ast: '*',
|
|
6070
|
+
asymp: '≈',
|
|
6071
|
+
asympeq: '≍',
|
|
6072
|
+
atilde: 'ã',
|
|
6073
|
+
auml: 'ä',
|
|
6074
|
+
awconint: '∳',
|
|
6075
|
+
awint: '⨑',
|
|
6076
|
+
bNot: '⫭',
|
|
6077
|
+
backcong: '≌',
|
|
6078
|
+
backepsilon: '϶',
|
|
6079
|
+
backprime: '‵',
|
|
6080
|
+
backsim: '∽',
|
|
6081
|
+
backsimeq: '⋍',
|
|
6082
|
+
barvee: '⊽',
|
|
6083
|
+
barwed: '⌅',
|
|
6084
|
+
barwedge: '⌅',
|
|
6085
|
+
bbrk: '⎵',
|
|
6086
|
+
bbrktbrk: '⎶',
|
|
6087
|
+
bcong: '≌',
|
|
6088
|
+
bcy: 'б',
|
|
6089
|
+
bdquo: '„',
|
|
6090
|
+
becaus: '∵',
|
|
6091
|
+
because: '∵',
|
|
6092
|
+
bemptyv: '⦰',
|
|
6093
|
+
bepsi: '϶',
|
|
6094
|
+
bernou: 'ℬ',
|
|
6095
|
+
beta: 'β',
|
|
6096
|
+
beth: 'ℶ',
|
|
6097
|
+
between: '≬',
|
|
6098
|
+
bfr: '𝔟',
|
|
6099
|
+
bigcap: '⋂',
|
|
6100
|
+
bigcirc: '◯',
|
|
6101
|
+
bigcup: '⋃',
|
|
6102
|
+
bigodot: '⨀',
|
|
6103
|
+
bigoplus: '⨁',
|
|
6104
|
+
bigotimes: '⨂',
|
|
6105
|
+
bigsqcup: '⨆',
|
|
6106
|
+
bigstar: '★',
|
|
6107
|
+
bigtriangledown: '▽',
|
|
6108
|
+
bigtriangleup: '△',
|
|
6109
|
+
biguplus: '⨄',
|
|
6110
|
+
bigvee: '⋁',
|
|
6111
|
+
bigwedge: '⋀',
|
|
6112
|
+
bkarow: '⤍',
|
|
6113
|
+
blacklozenge: '⧫',
|
|
6114
|
+
blacksquare: '▪',
|
|
6115
|
+
blacktriangle: '▴',
|
|
6116
|
+
blacktriangledown: '▾',
|
|
6117
|
+
blacktriangleleft: '◂',
|
|
6118
|
+
blacktriangleright: '▸',
|
|
6119
|
+
blank: '␣',
|
|
6120
|
+
blk12: '▒',
|
|
6121
|
+
blk14: '░',
|
|
6122
|
+
blk34: '▓',
|
|
6123
|
+
block: '█',
|
|
6124
|
+
bne: '=⃥',
|
|
6125
|
+
bnequiv: '≡⃥',
|
|
6126
|
+
bnot: '⌐',
|
|
6127
|
+
bopf: '𝕓',
|
|
6128
|
+
bot: '⊥',
|
|
6129
|
+
bottom: '⊥',
|
|
6130
|
+
bowtie: '⋈',
|
|
6131
|
+
boxDL: '╗',
|
|
6132
|
+
boxDR: '╔',
|
|
6133
|
+
boxDl: '╖',
|
|
6134
|
+
boxDr: '╓',
|
|
6135
|
+
boxH: '═',
|
|
6136
|
+
boxHD: '╦',
|
|
6137
|
+
boxHU: '╩',
|
|
6138
|
+
boxHd: '╤',
|
|
6139
|
+
boxHu: '╧',
|
|
6140
|
+
boxUL: '╝',
|
|
6141
|
+
boxUR: '╚',
|
|
6142
|
+
boxUl: '╜',
|
|
6143
|
+
boxUr: '╙',
|
|
6144
|
+
boxV: '║',
|
|
6145
|
+
boxVH: '╬',
|
|
6146
|
+
boxVL: '╣',
|
|
6147
|
+
boxVR: '╠',
|
|
6148
|
+
boxVh: '╫',
|
|
6149
|
+
boxVl: '╢',
|
|
6150
|
+
boxVr: '╟',
|
|
6151
|
+
boxbox: '⧉',
|
|
6152
|
+
boxdL: '╕',
|
|
6153
|
+
boxdR: '╒',
|
|
6154
|
+
boxdl: '┐',
|
|
6155
|
+
boxdr: '┌',
|
|
6156
|
+
boxh: '─',
|
|
6157
|
+
boxhD: '╥',
|
|
6158
|
+
boxhU: '╨',
|
|
6159
|
+
boxhd: '┬',
|
|
6160
|
+
boxhu: '┴',
|
|
6161
|
+
boxminus: '⊟',
|
|
6162
|
+
boxplus: '⊞',
|
|
6163
|
+
boxtimes: '⊠',
|
|
6164
|
+
boxuL: '╛',
|
|
6165
|
+
boxuR: '╘',
|
|
6166
|
+
boxul: '┘',
|
|
6167
|
+
boxur: '└',
|
|
6168
|
+
boxv: '│',
|
|
6169
|
+
boxvH: '╪',
|
|
6170
|
+
boxvL: '╡',
|
|
6171
|
+
boxvR: '╞',
|
|
6172
|
+
boxvh: '┼',
|
|
6173
|
+
boxvl: '┤',
|
|
6174
|
+
boxvr: '├',
|
|
6175
|
+
bprime: '‵',
|
|
6176
|
+
breve: '˘',
|
|
6177
|
+
brvbar: '¦',
|
|
6178
|
+
bscr: '𝒷',
|
|
6179
|
+
bsemi: '⁏',
|
|
6180
|
+
bsim: '∽',
|
|
6181
|
+
bsime: '⋍',
|
|
6182
|
+
bsol: '\\',
|
|
6183
|
+
bsolb: '⧅',
|
|
6184
|
+
bsolhsub: '⟈',
|
|
6185
|
+
bull: '•',
|
|
6186
|
+
bullet: '•',
|
|
6187
|
+
bump: '≎',
|
|
6188
|
+
bumpE: '⪮',
|
|
6189
|
+
bumpe: '≏',
|
|
6190
|
+
bumpeq: '≏',
|
|
6191
|
+
cacute: 'ć',
|
|
6192
|
+
cap: '∩',
|
|
6193
|
+
capand: '⩄',
|
|
6194
|
+
capbrcup: '⩉',
|
|
6195
|
+
capcap: '⩋',
|
|
6196
|
+
capcup: '⩇',
|
|
6197
|
+
capdot: '⩀',
|
|
6198
|
+
caps: '∩︀',
|
|
6199
|
+
caret: '⁁',
|
|
6200
|
+
caron: 'ˇ',
|
|
6201
|
+
ccaps: '⩍',
|
|
6202
|
+
ccaron: 'č',
|
|
6203
|
+
ccedil: 'ç',
|
|
6204
|
+
ccirc: 'ĉ',
|
|
6205
|
+
ccups: '⩌',
|
|
6206
|
+
ccupssm: '⩐',
|
|
6207
|
+
cdot: 'ċ',
|
|
6208
|
+
cedil: '¸',
|
|
6209
|
+
cemptyv: '⦲',
|
|
6210
|
+
cent: '¢',
|
|
6211
|
+
centerdot: '·',
|
|
6212
|
+
cfr: '𝔠',
|
|
6213
|
+
chcy: 'ч',
|
|
6214
|
+
check: '✓',
|
|
6215
|
+
checkmark: '✓',
|
|
6216
|
+
chi: 'χ',
|
|
6217
|
+
cir: '○',
|
|
6218
|
+
cirE: '⧃',
|
|
6219
|
+
circ: 'ˆ',
|
|
6220
|
+
circeq: '≗',
|
|
6221
|
+
circlearrowleft: '↺',
|
|
6222
|
+
circlearrowright: '↻',
|
|
6223
|
+
circledR: '®',
|
|
6224
|
+
circledS: 'Ⓢ',
|
|
6225
|
+
circledast: '⊛',
|
|
6226
|
+
circledcirc: '⊚',
|
|
6227
|
+
circleddash: '⊝',
|
|
6228
|
+
cire: '≗',
|
|
6229
|
+
cirfnint: '⨐',
|
|
6230
|
+
cirmid: '⫯',
|
|
6231
|
+
cirscir: '⧂',
|
|
6232
|
+
clubs: '♣',
|
|
6233
|
+
clubsuit: '♣',
|
|
6234
|
+
colon: ':',
|
|
6235
|
+
colone: '≔',
|
|
6236
|
+
coloneq: '≔',
|
|
6237
|
+
comma: ',',
|
|
6238
|
+
commat: '@',
|
|
6239
|
+
comp: '∁',
|
|
6240
|
+
compfn: '∘',
|
|
6241
|
+
complement: '∁',
|
|
6242
|
+
complexes: 'ℂ',
|
|
6243
|
+
cong: '≅',
|
|
6244
|
+
congdot: '⩭',
|
|
6245
|
+
conint: '∮',
|
|
6246
|
+
copf: '𝕔',
|
|
6247
|
+
coprod: '∐',
|
|
6248
|
+
copy: '©',
|
|
6249
|
+
copysr: '℗',
|
|
6250
|
+
crarr: '↵',
|
|
6251
|
+
cross: '✗',
|
|
6252
|
+
cscr: '𝒸',
|
|
6253
|
+
csub: '⫏',
|
|
6254
|
+
csube: '⫑',
|
|
6255
|
+
csup: '⫐',
|
|
6256
|
+
csupe: '⫒',
|
|
6257
|
+
ctdot: '⋯',
|
|
6258
|
+
cudarrl: '⤸',
|
|
6259
|
+
cudarrr: '⤵',
|
|
6260
|
+
cuepr: '⋞',
|
|
6261
|
+
cuesc: '⋟',
|
|
6262
|
+
cularr: '↶',
|
|
6263
|
+
cularrp: '⤽',
|
|
6264
|
+
cup: '∪',
|
|
6265
|
+
cupbrcap: '⩈',
|
|
6266
|
+
cupcap: '⩆',
|
|
6267
|
+
cupcup: '⩊',
|
|
6268
|
+
cupdot: '⊍',
|
|
6269
|
+
cupor: '⩅',
|
|
6270
|
+
cups: '∪︀',
|
|
6271
|
+
curarr: '↷',
|
|
6272
|
+
curarrm: '⤼',
|
|
6273
|
+
curlyeqprec: '⋞',
|
|
6274
|
+
curlyeqsucc: '⋟',
|
|
6275
|
+
curlyvee: '⋎',
|
|
6276
|
+
curlywedge: '⋏',
|
|
6277
|
+
curren: '¤',
|
|
6278
|
+
curvearrowleft: '↶',
|
|
6279
|
+
curvearrowright: '↷',
|
|
6280
|
+
cuvee: '⋎',
|
|
6281
|
+
cuwed: '⋏',
|
|
6282
|
+
cwconint: '∲',
|
|
6283
|
+
cwint: '∱',
|
|
6284
|
+
cylcty: '⌭',
|
|
6285
|
+
dArr: '⇓',
|
|
6286
|
+
dHar: '⥥',
|
|
6287
|
+
dagger: '†',
|
|
6288
|
+
daleth: 'ℸ',
|
|
6289
|
+
darr: '↓',
|
|
6290
|
+
dash: '‐',
|
|
6291
|
+
dashv: '⊣',
|
|
6292
|
+
dbkarow: '⤏',
|
|
6293
|
+
dblac: '˝',
|
|
6294
|
+
dcaron: 'ď',
|
|
6295
|
+
dcy: 'д',
|
|
6296
|
+
dd: 'ⅆ',
|
|
6297
|
+
ddagger: '‡',
|
|
6298
|
+
ddarr: '⇊',
|
|
6299
|
+
ddotseq: '⩷',
|
|
6300
|
+
deg: '°',
|
|
6301
|
+
delta: 'δ',
|
|
6302
|
+
demptyv: '⦱',
|
|
6303
|
+
dfisht: '⥿',
|
|
6304
|
+
dfr: '𝔡',
|
|
6305
|
+
dharl: '⇃',
|
|
6306
|
+
dharr: '⇂',
|
|
6307
|
+
diam: '⋄',
|
|
6308
|
+
diamond: '⋄',
|
|
6309
|
+
diamondsuit: '♦',
|
|
6310
|
+
diams: '♦',
|
|
6311
|
+
die: '¨',
|
|
6312
|
+
digamma: 'ϝ',
|
|
6313
|
+
disin: '⋲',
|
|
6314
|
+
div: '÷',
|
|
6315
|
+
divide: '÷',
|
|
6316
|
+
divideontimes: '⋇',
|
|
6317
|
+
divonx: '⋇',
|
|
6318
|
+
djcy: 'ђ',
|
|
6319
|
+
dlcorn: '⌞',
|
|
6320
|
+
dlcrop: '⌍',
|
|
6321
|
+
dollar: '$',
|
|
6322
|
+
dopf: '𝕕',
|
|
6323
|
+
dot: '˙',
|
|
6324
|
+
doteq: '≐',
|
|
6325
|
+
doteqdot: '≑',
|
|
6326
|
+
dotminus: '∸',
|
|
6327
|
+
dotplus: '∔',
|
|
6328
|
+
dotsquare: '⊡',
|
|
6329
|
+
doublebarwedge: '⌆',
|
|
6330
|
+
downarrow: '↓',
|
|
6331
|
+
downdownarrows: '⇊',
|
|
6332
|
+
downharpoonleft: '⇃',
|
|
6333
|
+
downharpoonright: '⇂',
|
|
6334
|
+
drbkarow: '⤐',
|
|
6335
|
+
drcorn: '⌟',
|
|
6336
|
+
drcrop: '⌌',
|
|
6337
|
+
dscr: '𝒹',
|
|
6338
|
+
dscy: 'ѕ',
|
|
6339
|
+
dsol: '⧶',
|
|
6340
|
+
dstrok: 'đ',
|
|
6341
|
+
dtdot: '⋱',
|
|
6342
|
+
dtri: '▿',
|
|
6343
|
+
dtrif: '▾',
|
|
6344
|
+
duarr: '⇵',
|
|
6345
|
+
duhar: '⥯',
|
|
6346
|
+
dwangle: '⦦',
|
|
6347
|
+
dzcy: 'џ',
|
|
6348
|
+
dzigrarr: '⟿',
|
|
6349
|
+
eDDot: '⩷',
|
|
6350
|
+
eDot: '≑',
|
|
6351
|
+
eacute: 'é',
|
|
6352
|
+
easter: '⩮',
|
|
6353
|
+
ecaron: 'ě',
|
|
6354
|
+
ecir: '≖',
|
|
6355
|
+
ecirc: 'ê',
|
|
6356
|
+
ecolon: '≕',
|
|
6357
|
+
ecy: 'э',
|
|
6358
|
+
edot: 'ė',
|
|
6359
|
+
ee: 'ⅇ',
|
|
6360
|
+
efDot: '≒',
|
|
6361
|
+
efr: '𝔢',
|
|
6362
|
+
eg: '⪚',
|
|
6363
|
+
egrave: 'è',
|
|
6364
|
+
egs: '⪖',
|
|
6365
|
+
egsdot: '⪘',
|
|
6366
|
+
el: '⪙',
|
|
6367
|
+
elinters: '⏧',
|
|
6368
|
+
ell: 'ℓ',
|
|
6369
|
+
els: '⪕',
|
|
6370
|
+
elsdot: '⪗',
|
|
6371
|
+
emacr: 'ē',
|
|
6372
|
+
empty: '∅',
|
|
6373
|
+
emptyset: '∅',
|
|
6374
|
+
emptyv: '∅',
|
|
6375
|
+
emsp13: ' ',
|
|
6376
|
+
emsp14: ' ',
|
|
6377
|
+
emsp: ' ',
|
|
6378
|
+
eng: 'ŋ',
|
|
6379
|
+
ensp: ' ',
|
|
6380
|
+
eogon: 'ę',
|
|
6381
|
+
eopf: '𝕖',
|
|
6382
|
+
epar: '⋕',
|
|
6383
|
+
eparsl: '⧣',
|
|
6384
|
+
eplus: '⩱',
|
|
6385
|
+
epsi: 'ε',
|
|
6386
|
+
epsilon: 'ε',
|
|
6387
|
+
epsiv: 'ϵ',
|
|
6388
|
+
eqcirc: '≖',
|
|
6389
|
+
eqcolon: '≕',
|
|
6390
|
+
eqsim: '≂',
|
|
6391
|
+
eqslantgtr: '⪖',
|
|
6392
|
+
eqslantless: '⪕',
|
|
6393
|
+
equals: '=',
|
|
6394
|
+
equest: '≟',
|
|
6395
|
+
equiv: '≡',
|
|
6396
|
+
equivDD: '⩸',
|
|
6397
|
+
eqvparsl: '⧥',
|
|
6398
|
+
erDot: '≓',
|
|
6399
|
+
erarr: '⥱',
|
|
6400
|
+
escr: 'ℯ',
|
|
6401
|
+
esdot: '≐',
|
|
6402
|
+
esim: '≂',
|
|
6403
|
+
eta: 'η',
|
|
6404
|
+
eth: 'ð',
|
|
6405
|
+
euml: 'ë',
|
|
6406
|
+
euro: '€',
|
|
6407
|
+
excl: '!',
|
|
6408
|
+
exist: '∃',
|
|
6409
|
+
expectation: 'ℰ',
|
|
6410
|
+
exponentiale: 'ⅇ',
|
|
6411
|
+
fallingdotseq: '≒',
|
|
6412
|
+
fcy: 'ф',
|
|
6413
|
+
female: '♀',
|
|
6414
|
+
ffilig: 'ffi',
|
|
6415
|
+
fflig: 'ff',
|
|
6416
|
+
ffllig: 'ffl',
|
|
6417
|
+
ffr: '𝔣',
|
|
6418
|
+
filig: 'fi',
|
|
6419
|
+
fjlig: 'fj',
|
|
6420
|
+
flat: '♭',
|
|
6421
|
+
fllig: 'fl',
|
|
6422
|
+
fltns: '▱',
|
|
6423
|
+
fnof: 'ƒ',
|
|
6424
|
+
fopf: '𝕗',
|
|
6425
|
+
forall: '∀',
|
|
6426
|
+
fork: '⋔',
|
|
6427
|
+
forkv: '⫙',
|
|
6428
|
+
fpartint: '⨍',
|
|
6429
|
+
frac12: '½',
|
|
6430
|
+
frac13: '⅓',
|
|
6431
|
+
frac14: '¼',
|
|
6432
|
+
frac15: '⅕',
|
|
6433
|
+
frac16: '⅙',
|
|
6434
|
+
frac18: '⅛',
|
|
6435
|
+
frac23: '⅔',
|
|
6436
|
+
frac25: '⅖',
|
|
6437
|
+
frac34: '¾',
|
|
6438
|
+
frac35: '⅗',
|
|
6439
|
+
frac38: '⅜',
|
|
6440
|
+
frac45: '⅘',
|
|
6441
|
+
frac56: '⅚',
|
|
6442
|
+
frac58: '⅝',
|
|
6443
|
+
frac78: '⅞',
|
|
6444
|
+
frasl: '⁄',
|
|
6445
|
+
frown: '⌢',
|
|
6446
|
+
fscr: '𝒻',
|
|
6447
|
+
gE: '≧',
|
|
6448
|
+
gEl: '⪌',
|
|
6449
|
+
gacute: 'ǵ',
|
|
6450
|
+
gamma: 'γ',
|
|
6451
|
+
gammad: 'ϝ',
|
|
6452
|
+
gap: '⪆',
|
|
6453
|
+
gbreve: 'ğ',
|
|
6454
|
+
gcirc: 'ĝ',
|
|
6455
|
+
gcy: 'г',
|
|
6456
|
+
gdot: 'ġ',
|
|
6457
|
+
ge: '≥',
|
|
6458
|
+
gel: '⋛',
|
|
6459
|
+
geq: '≥',
|
|
6460
|
+
geqq: '≧',
|
|
6461
|
+
geqslant: '⩾',
|
|
6462
|
+
ges: '⩾',
|
|
6463
|
+
gescc: '⪩',
|
|
6464
|
+
gesdot: '⪀',
|
|
6465
|
+
gesdoto: '⪂',
|
|
6466
|
+
gesdotol: '⪄',
|
|
6467
|
+
gesl: '⋛︀',
|
|
6468
|
+
gesles: '⪔',
|
|
6469
|
+
gfr: '𝔤',
|
|
6470
|
+
gg: '≫',
|
|
6471
|
+
ggg: '⋙',
|
|
6472
|
+
gimel: 'ℷ',
|
|
6473
|
+
gjcy: 'ѓ',
|
|
6474
|
+
gl: '≷',
|
|
6475
|
+
glE: '⪒',
|
|
6476
|
+
gla: '⪥',
|
|
6477
|
+
glj: '⪤',
|
|
6478
|
+
gnE: '≩',
|
|
6479
|
+
gnap: '⪊',
|
|
6480
|
+
gnapprox: '⪊',
|
|
6481
|
+
gne: '⪈',
|
|
6482
|
+
gneq: '⪈',
|
|
6483
|
+
gneqq: '≩',
|
|
6484
|
+
gnsim: '⋧',
|
|
6485
|
+
gopf: '𝕘',
|
|
6486
|
+
grave: '`',
|
|
6487
|
+
gscr: 'ℊ',
|
|
6488
|
+
gsim: '≳',
|
|
6489
|
+
gsime: '⪎',
|
|
6490
|
+
gsiml: '⪐',
|
|
6491
|
+
gt: '>',
|
|
6492
|
+
gtcc: '⪧',
|
|
6493
|
+
gtcir: '⩺',
|
|
6494
|
+
gtdot: '⋗',
|
|
6495
|
+
gtlPar: '⦕',
|
|
6496
|
+
gtquest: '⩼',
|
|
6497
|
+
gtrapprox: '⪆',
|
|
6498
|
+
gtrarr: '⥸',
|
|
6499
|
+
gtrdot: '⋗',
|
|
6500
|
+
gtreqless: '⋛',
|
|
6501
|
+
gtreqqless: '⪌',
|
|
6502
|
+
gtrless: '≷',
|
|
6503
|
+
gtrsim: '≳',
|
|
6504
|
+
gvertneqq: '≩︀',
|
|
6505
|
+
gvnE: '≩︀',
|
|
6506
|
+
hArr: '⇔',
|
|
6507
|
+
hairsp: ' ',
|
|
6508
|
+
half: '½',
|
|
6509
|
+
hamilt: 'ℋ',
|
|
6510
|
+
hardcy: 'ъ',
|
|
6511
|
+
harr: '↔',
|
|
6512
|
+
harrcir: '⥈',
|
|
6513
|
+
harrw: '↭',
|
|
6514
|
+
hbar: 'ℏ',
|
|
6515
|
+
hcirc: 'ĥ',
|
|
6516
|
+
hearts: '♥',
|
|
6517
|
+
heartsuit: '♥',
|
|
6518
|
+
hellip: '…',
|
|
6519
|
+
hercon: '⊹',
|
|
6520
|
+
hfr: '𝔥',
|
|
6521
|
+
hksearow: '⤥',
|
|
6522
|
+
hkswarow: '⤦',
|
|
6523
|
+
hoarr: '⇿',
|
|
6524
|
+
homtht: '∻',
|
|
6525
|
+
hookleftarrow: '↩',
|
|
6526
|
+
hookrightarrow: '↪',
|
|
6527
|
+
hopf: '𝕙',
|
|
6528
|
+
horbar: '―',
|
|
6529
|
+
hscr: '𝒽',
|
|
6530
|
+
hslash: 'ℏ',
|
|
6531
|
+
hstrok: 'ħ',
|
|
6532
|
+
hybull: '⁃',
|
|
6533
|
+
hyphen: '‐',
|
|
6534
|
+
iacute: 'í',
|
|
6535
|
+
ic: '',
|
|
6536
|
+
icirc: 'î',
|
|
6537
|
+
icy: 'и',
|
|
6538
|
+
iecy: 'е',
|
|
6539
|
+
iexcl: '¡',
|
|
6540
|
+
iff: '⇔',
|
|
6541
|
+
ifr: '𝔦',
|
|
6542
|
+
igrave: 'ì',
|
|
6543
|
+
ii: 'ⅈ',
|
|
6544
|
+
iiiint: '⨌',
|
|
6545
|
+
iiint: '∭',
|
|
6546
|
+
iinfin: '⧜',
|
|
6547
|
+
iiota: '℩',
|
|
6548
|
+
ijlig: 'ij',
|
|
6549
|
+
imacr: 'ī',
|
|
6550
|
+
image: 'ℑ',
|
|
6551
|
+
imagline: 'ℐ',
|
|
6552
|
+
imagpart: 'ℑ',
|
|
6553
|
+
imath: 'ı',
|
|
6554
|
+
imof: '⊷',
|
|
6555
|
+
imped: 'Ƶ',
|
|
6556
|
+
in: '∈',
|
|
6557
|
+
incare: '℅',
|
|
6558
|
+
infin: '∞',
|
|
6559
|
+
infintie: '⧝',
|
|
6560
|
+
inodot: 'ı',
|
|
6561
|
+
int: '∫',
|
|
6562
|
+
intcal: '⊺',
|
|
6563
|
+
integers: 'ℤ',
|
|
6564
|
+
intercal: '⊺',
|
|
6565
|
+
intlarhk: '⨗',
|
|
6566
|
+
intprod: '⨼',
|
|
6567
|
+
iocy: 'ё',
|
|
6568
|
+
iogon: 'į',
|
|
6569
|
+
iopf: '𝕚',
|
|
6570
|
+
iota: 'ι',
|
|
6571
|
+
iprod: '⨼',
|
|
6572
|
+
iquest: '¿',
|
|
6573
|
+
iscr: '𝒾',
|
|
6574
|
+
isin: '∈',
|
|
6575
|
+
isinE: '⋹',
|
|
6576
|
+
isindot: '⋵',
|
|
6577
|
+
isins: '⋴',
|
|
6578
|
+
isinsv: '⋳',
|
|
6579
|
+
isinv: '∈',
|
|
6580
|
+
it: '',
|
|
6581
|
+
itilde: 'ĩ',
|
|
6582
|
+
iukcy: 'і',
|
|
6583
|
+
iuml: 'ï',
|
|
6584
|
+
jcirc: 'ĵ',
|
|
6585
|
+
jcy: 'й',
|
|
6586
|
+
jfr: '𝔧',
|
|
6587
|
+
jmath: 'ȷ',
|
|
6588
|
+
jopf: '𝕛',
|
|
6589
|
+
jscr: '𝒿',
|
|
6590
|
+
jsercy: 'ј',
|
|
6591
|
+
jukcy: 'є',
|
|
6592
|
+
kappa: 'κ',
|
|
6593
|
+
kappav: 'ϰ',
|
|
6594
|
+
kcedil: 'ķ',
|
|
6595
|
+
kcy: 'к',
|
|
6596
|
+
kfr: '𝔨',
|
|
6597
|
+
kgreen: 'ĸ',
|
|
6598
|
+
khcy: 'х',
|
|
6599
|
+
kjcy: 'ќ',
|
|
6600
|
+
kopf: '𝕜',
|
|
6601
|
+
kscr: '𝓀',
|
|
6602
|
+
lAarr: '⇚',
|
|
6603
|
+
lArr: '⇐',
|
|
6604
|
+
lAtail: '⤛',
|
|
6605
|
+
lBarr: '⤎',
|
|
6606
|
+
lE: '≦',
|
|
6607
|
+
lEg: '⪋',
|
|
6608
|
+
lHar: '⥢',
|
|
6609
|
+
lacute: 'ĺ',
|
|
6610
|
+
laemptyv: '⦴',
|
|
6611
|
+
lagran: 'ℒ',
|
|
6612
|
+
lambda: 'λ',
|
|
6613
|
+
lang: '⟨',
|
|
6614
|
+
langd: '⦑',
|
|
6615
|
+
langle: '⟨',
|
|
6616
|
+
lap: '⪅',
|
|
6617
|
+
laquo: '«',
|
|
6618
|
+
larr: '←',
|
|
6619
|
+
larrb: '⇤',
|
|
6620
|
+
larrbfs: '⤟',
|
|
6621
|
+
larrfs: '⤝',
|
|
6622
|
+
larrhk: '↩',
|
|
6623
|
+
larrlp: '↫',
|
|
6624
|
+
larrpl: '⤹',
|
|
6625
|
+
larrsim: '⥳',
|
|
6626
|
+
larrtl: '↢',
|
|
6627
|
+
lat: '⪫',
|
|
6628
|
+
latail: '⤙',
|
|
6629
|
+
late: '⪭',
|
|
6630
|
+
lates: '⪭︀',
|
|
6631
|
+
lbarr: '⤌',
|
|
6632
|
+
lbbrk: '❲',
|
|
6633
|
+
lbrace: '{',
|
|
6634
|
+
lbrack: '[',
|
|
6635
|
+
lbrke: '⦋',
|
|
6636
|
+
lbrksld: '⦏',
|
|
6637
|
+
lbrkslu: '⦍',
|
|
6638
|
+
lcaron: 'ľ',
|
|
6639
|
+
lcedil: 'ļ',
|
|
6640
|
+
lceil: '⌈',
|
|
6641
|
+
lcub: '{',
|
|
6642
|
+
lcy: 'л',
|
|
6643
|
+
ldca: '⤶',
|
|
6644
|
+
ldquo: '“',
|
|
6645
|
+
ldquor: '„',
|
|
6646
|
+
ldrdhar: '⥧',
|
|
6647
|
+
ldrushar: '⥋',
|
|
6648
|
+
ldsh: '↲',
|
|
6649
|
+
le: '≤',
|
|
6650
|
+
leftarrow: '←',
|
|
6651
|
+
leftarrowtail: '↢',
|
|
6652
|
+
leftharpoondown: '↽',
|
|
6653
|
+
leftharpoonup: '↼',
|
|
6654
|
+
leftleftarrows: '⇇',
|
|
6655
|
+
leftrightarrow: '↔',
|
|
6656
|
+
leftrightarrows: '⇆',
|
|
6657
|
+
leftrightharpoons: '⇋',
|
|
6658
|
+
leftrightsquigarrow: '↭',
|
|
6659
|
+
leftthreetimes: '⋋',
|
|
6660
|
+
leg: '⋚',
|
|
6661
|
+
leq: '≤',
|
|
6662
|
+
leqq: '≦',
|
|
6663
|
+
leqslant: '⩽',
|
|
6664
|
+
les: '⩽',
|
|
6665
|
+
lescc: '⪨',
|
|
6666
|
+
lesdot: '⩿',
|
|
6667
|
+
lesdoto: '⪁',
|
|
6668
|
+
lesdotor: '⪃',
|
|
6669
|
+
lesg: '⋚︀',
|
|
6670
|
+
lesges: '⪓',
|
|
6671
|
+
lessapprox: '⪅',
|
|
6672
|
+
lessdot: '⋖',
|
|
6673
|
+
lesseqgtr: '⋚',
|
|
6674
|
+
lesseqqgtr: '⪋',
|
|
6675
|
+
lessgtr: '≶',
|
|
6676
|
+
lesssim: '≲',
|
|
6677
|
+
lfisht: '⥼',
|
|
6678
|
+
lfloor: '⌊',
|
|
6679
|
+
lfr: '𝔩',
|
|
6680
|
+
lg: '≶',
|
|
6681
|
+
lgE: '⪑',
|
|
6682
|
+
lhard: '↽',
|
|
6683
|
+
lharu: '↼',
|
|
6684
|
+
lharul: '⥪',
|
|
6685
|
+
lhblk: '▄',
|
|
6686
|
+
ljcy: 'љ',
|
|
6687
|
+
ll: '≪',
|
|
6688
|
+
llarr: '⇇',
|
|
6689
|
+
llcorner: '⌞',
|
|
6690
|
+
llhard: '⥫',
|
|
6691
|
+
lltri: '◺',
|
|
6692
|
+
lmidot: 'ŀ',
|
|
6693
|
+
lmoust: '⎰',
|
|
6694
|
+
lmoustache: '⎰',
|
|
6695
|
+
lnE: '≨',
|
|
6696
|
+
lnap: '⪉',
|
|
6697
|
+
lnapprox: '⪉',
|
|
6698
|
+
lne: '⪇',
|
|
6699
|
+
lneq: '⪇',
|
|
6700
|
+
lneqq: '≨',
|
|
6701
|
+
lnsim: '⋦',
|
|
6702
|
+
loang: '⟬',
|
|
6703
|
+
loarr: '⇽',
|
|
6704
|
+
lobrk: '⟦',
|
|
6705
|
+
longleftarrow: '⟵',
|
|
6706
|
+
longleftrightarrow: '⟷',
|
|
6707
|
+
longmapsto: '⟼',
|
|
6708
|
+
longrightarrow: '⟶',
|
|
6709
|
+
looparrowleft: '↫',
|
|
6710
|
+
looparrowright: '↬',
|
|
6711
|
+
lopar: '⦅',
|
|
6712
|
+
lopf: '𝕝',
|
|
6713
|
+
loplus: '⨭',
|
|
6714
|
+
lotimes: '⨴',
|
|
6715
|
+
lowast: '∗',
|
|
6716
|
+
lowbar: '_',
|
|
6717
|
+
loz: '◊',
|
|
6718
|
+
lozenge: '◊',
|
|
6719
|
+
lozf: '⧫',
|
|
6720
|
+
lpar: '(',
|
|
6721
|
+
lparlt: '⦓',
|
|
6722
|
+
lrarr: '⇆',
|
|
6723
|
+
lrcorner: '⌟',
|
|
6724
|
+
lrhar: '⇋',
|
|
6725
|
+
lrhard: '⥭',
|
|
6726
|
+
lrm: '',
|
|
6727
|
+
lrtri: '⊿',
|
|
6728
|
+
lsaquo: '‹',
|
|
6729
|
+
lscr: '𝓁',
|
|
6730
|
+
lsh: '↰',
|
|
6731
|
+
lsim: '≲',
|
|
6732
|
+
lsime: '⪍',
|
|
6733
|
+
lsimg: '⪏',
|
|
6734
|
+
lsqb: '[',
|
|
6735
|
+
lsquo: '‘',
|
|
6736
|
+
lsquor: '‚',
|
|
6737
|
+
lstrok: 'ł',
|
|
6738
|
+
lt: '<',
|
|
6739
|
+
ltcc: '⪦',
|
|
6740
|
+
ltcir: '⩹',
|
|
6741
|
+
ltdot: '⋖',
|
|
6742
|
+
lthree: '⋋',
|
|
6743
|
+
ltimes: '⋉',
|
|
6744
|
+
ltlarr: '⥶',
|
|
6745
|
+
ltquest: '⩻',
|
|
6746
|
+
ltrPar: '⦖',
|
|
6747
|
+
ltri: '◃',
|
|
6748
|
+
ltrie: '⊴',
|
|
6749
|
+
ltrif: '◂',
|
|
6750
|
+
lurdshar: '⥊',
|
|
6751
|
+
luruhar: '⥦',
|
|
6752
|
+
lvertneqq: '≨︀',
|
|
6753
|
+
lvnE: '≨︀',
|
|
6754
|
+
mDDot: '∺',
|
|
6755
|
+
macr: '¯',
|
|
6756
|
+
male: '♂',
|
|
6757
|
+
malt: '✠',
|
|
6758
|
+
maltese: '✠',
|
|
6759
|
+
map: '↦',
|
|
6760
|
+
mapsto: '↦',
|
|
6761
|
+
mapstodown: '↧',
|
|
6762
|
+
mapstoleft: '↤',
|
|
6763
|
+
mapstoup: '↥',
|
|
6764
|
+
marker: '▮',
|
|
6765
|
+
mcomma: '⨩',
|
|
6766
|
+
mcy: 'м',
|
|
6767
|
+
mdash: '—',
|
|
6768
|
+
measuredangle: '∡',
|
|
6769
|
+
mfr: '𝔪',
|
|
6770
|
+
mho: '℧',
|
|
6771
|
+
micro: 'µ',
|
|
6772
|
+
mid: '∣',
|
|
6773
|
+
midast: '*',
|
|
6774
|
+
midcir: '⫰',
|
|
6775
|
+
middot: '·',
|
|
6776
|
+
minus: '−',
|
|
6777
|
+
minusb: '⊟',
|
|
6778
|
+
minusd: '∸',
|
|
6779
|
+
minusdu: '⨪',
|
|
6780
|
+
mlcp: '⫛',
|
|
6781
|
+
mldr: '…',
|
|
6782
|
+
mnplus: '∓',
|
|
6783
|
+
models: '⊧',
|
|
6784
|
+
mopf: '𝕞',
|
|
6785
|
+
mp: '∓',
|
|
6786
|
+
mscr: '𝓂',
|
|
6787
|
+
mstpos: '∾',
|
|
6788
|
+
mu: 'μ',
|
|
6789
|
+
multimap: '⊸',
|
|
6790
|
+
mumap: '⊸',
|
|
6791
|
+
nGg: '⋙̸',
|
|
6792
|
+
nGt: '≫⃒',
|
|
6793
|
+
nGtv: '≫̸',
|
|
6794
|
+
nLeftarrow: '⇍',
|
|
6795
|
+
nLeftrightarrow: '⇎',
|
|
6796
|
+
nLl: '⋘̸',
|
|
6797
|
+
nLt: '≪⃒',
|
|
6798
|
+
nLtv: '≪̸',
|
|
6799
|
+
nRightarrow: '⇏',
|
|
6800
|
+
nVDash: '⊯',
|
|
6801
|
+
nVdash: '⊮',
|
|
6802
|
+
nabla: '∇',
|
|
6803
|
+
nacute: 'ń',
|
|
6804
|
+
nang: '∠⃒',
|
|
6805
|
+
nap: '≉',
|
|
6806
|
+
napE: '⩰̸',
|
|
6807
|
+
napid: '≋̸',
|
|
6808
|
+
napos: 'ʼn',
|
|
6809
|
+
napprox: '≉',
|
|
6810
|
+
natur: '♮',
|
|
6811
|
+
natural: '♮',
|
|
6812
|
+
naturals: 'ℕ',
|
|
6813
|
+
nbsp: ' ',
|
|
6814
|
+
nbump: '≎̸',
|
|
6815
|
+
nbumpe: '≏̸',
|
|
6816
|
+
ncap: '⩃',
|
|
6817
|
+
ncaron: 'ň',
|
|
6818
|
+
ncedil: 'ņ',
|
|
6819
|
+
ncong: '≇',
|
|
6820
|
+
ncongdot: '⩭̸',
|
|
6821
|
+
ncup: '⩂',
|
|
6822
|
+
ncy: 'н',
|
|
6823
|
+
ndash: '–',
|
|
6824
|
+
ne: '≠',
|
|
6825
|
+
neArr: '⇗',
|
|
6826
|
+
nearhk: '⤤',
|
|
6827
|
+
nearr: '↗',
|
|
6828
|
+
nearrow: '↗',
|
|
6829
|
+
nedot: '≐̸',
|
|
6830
|
+
nequiv: '≢',
|
|
6831
|
+
nesear: '⤨',
|
|
6832
|
+
nesim: '≂̸',
|
|
6833
|
+
nexist: '∄',
|
|
6834
|
+
nexists: '∄',
|
|
6835
|
+
nfr: '𝔫',
|
|
6836
|
+
ngE: '≧̸',
|
|
6837
|
+
nge: '≱',
|
|
6838
|
+
ngeq: '≱',
|
|
6839
|
+
ngeqq: '≧̸',
|
|
6840
|
+
ngeqslant: '⩾̸',
|
|
6841
|
+
nges: '⩾̸',
|
|
6842
|
+
ngsim: '≵',
|
|
6843
|
+
ngt: '≯',
|
|
6844
|
+
ngtr: '≯',
|
|
6845
|
+
nhArr: '⇎',
|
|
6846
|
+
nharr: '↮',
|
|
6847
|
+
nhpar: '⫲',
|
|
6848
|
+
ni: '∋',
|
|
6849
|
+
nis: '⋼',
|
|
6850
|
+
nisd: '⋺',
|
|
6851
|
+
niv: '∋',
|
|
6852
|
+
njcy: 'њ',
|
|
6853
|
+
nlArr: '⇍',
|
|
6854
|
+
nlE: '≦̸',
|
|
6855
|
+
nlarr: '↚',
|
|
6856
|
+
nldr: '‥',
|
|
6857
|
+
nle: '≰',
|
|
6858
|
+
nleftarrow: '↚',
|
|
6859
|
+
nleftrightarrow: '↮',
|
|
6860
|
+
nleq: '≰',
|
|
6861
|
+
nleqq: '≦̸',
|
|
6862
|
+
nleqslant: '⩽̸',
|
|
6863
|
+
nles: '⩽̸',
|
|
6864
|
+
nless: '≮',
|
|
6865
|
+
nlsim: '≴',
|
|
6866
|
+
nlt: '≮',
|
|
6867
|
+
nltri: '⋪',
|
|
6868
|
+
nltrie: '⋬',
|
|
6869
|
+
nmid: '∤',
|
|
6870
|
+
nopf: '𝕟',
|
|
6871
|
+
not: '¬',
|
|
6872
|
+
notin: '∉',
|
|
6873
|
+
notinE: '⋹̸',
|
|
6874
|
+
notindot: '⋵̸',
|
|
6875
|
+
notinva: '∉',
|
|
6876
|
+
notinvb: '⋷',
|
|
6877
|
+
notinvc: '⋶',
|
|
6878
|
+
notni: '∌',
|
|
6879
|
+
notniva: '∌',
|
|
6880
|
+
notnivb: '⋾',
|
|
6881
|
+
notnivc: '⋽',
|
|
6882
|
+
npar: '∦',
|
|
6883
|
+
nparallel: '∦',
|
|
6884
|
+
nparsl: '⫽⃥',
|
|
6885
|
+
npart: '∂̸',
|
|
6886
|
+
npolint: '⨔',
|
|
6887
|
+
npr: '⊀',
|
|
6888
|
+
nprcue: '⋠',
|
|
6889
|
+
npre: '⪯̸',
|
|
6890
|
+
nprec: '⊀',
|
|
6891
|
+
npreceq: '⪯̸',
|
|
6892
|
+
nrArr: '⇏',
|
|
6893
|
+
nrarr: '↛',
|
|
6894
|
+
nrarrc: '⤳̸',
|
|
6895
|
+
nrarrw: '↝̸',
|
|
6896
|
+
nrightarrow: '↛',
|
|
6897
|
+
nrtri: '⋫',
|
|
6898
|
+
nrtrie: '⋭',
|
|
6899
|
+
nsc: '⊁',
|
|
6900
|
+
nsccue: '⋡',
|
|
6901
|
+
nsce: '⪰̸',
|
|
6902
|
+
nscr: '𝓃',
|
|
6903
|
+
nshortmid: '∤',
|
|
6904
|
+
nshortparallel: '∦',
|
|
6905
|
+
nsim: '≁',
|
|
6906
|
+
nsime: '≄',
|
|
6907
|
+
nsimeq: '≄',
|
|
6908
|
+
nsmid: '∤',
|
|
6909
|
+
nspar: '∦',
|
|
6910
|
+
nsqsube: '⋢',
|
|
6911
|
+
nsqsupe: '⋣',
|
|
6912
|
+
nsub: '⊄',
|
|
6913
|
+
nsubE: '⫅̸',
|
|
6914
|
+
nsube: '⊈',
|
|
6915
|
+
nsubset: '⊂⃒',
|
|
6916
|
+
nsubseteq: '⊈',
|
|
6917
|
+
nsubseteqq: '⫅̸',
|
|
6918
|
+
nsucc: '⊁',
|
|
6919
|
+
nsucceq: '⪰̸',
|
|
6920
|
+
nsup: '⊅',
|
|
6921
|
+
nsupE: '⫆̸',
|
|
6922
|
+
nsupe: '⊉',
|
|
6923
|
+
nsupset: '⊃⃒',
|
|
6924
|
+
nsupseteq: '⊉',
|
|
6925
|
+
nsupseteqq: '⫆̸',
|
|
6926
|
+
ntgl: '≹',
|
|
6927
|
+
ntilde: 'ñ',
|
|
6928
|
+
ntlg: '≸',
|
|
6929
|
+
ntriangleleft: '⋪',
|
|
6930
|
+
ntrianglelefteq: '⋬',
|
|
6931
|
+
ntriangleright: '⋫',
|
|
6932
|
+
ntrianglerighteq: '⋭',
|
|
6933
|
+
nu: 'ν',
|
|
6934
|
+
num: '#',
|
|
6935
|
+
numero: '№',
|
|
6936
|
+
numsp: ' ',
|
|
6937
|
+
nvDash: '⊭',
|
|
6938
|
+
nvHarr: '⤄',
|
|
6939
|
+
nvap: '≍⃒',
|
|
6940
|
+
nvdash: '⊬',
|
|
6941
|
+
nvge: '≥⃒',
|
|
6942
|
+
nvgt: '>⃒',
|
|
6943
|
+
nvinfin: '⧞',
|
|
6944
|
+
nvlArr: '⤂',
|
|
6945
|
+
nvle: '≤⃒',
|
|
6946
|
+
nvlt: '<⃒',
|
|
6947
|
+
nvltrie: '⊴⃒',
|
|
6948
|
+
nvrArr: '⤃',
|
|
6949
|
+
nvrtrie: '⊵⃒',
|
|
6950
|
+
nvsim: '∼⃒',
|
|
6951
|
+
nwArr: '⇖',
|
|
6952
|
+
nwarhk: '⤣',
|
|
6953
|
+
nwarr: '↖',
|
|
6954
|
+
nwarrow: '↖',
|
|
6955
|
+
nwnear: '⤧',
|
|
6956
|
+
oS: 'Ⓢ',
|
|
6957
|
+
oacute: 'ó',
|
|
6958
|
+
oast: '⊛',
|
|
6959
|
+
ocir: '⊚',
|
|
6960
|
+
ocirc: 'ô',
|
|
6961
|
+
ocy: 'о',
|
|
6962
|
+
odash: '⊝',
|
|
6963
|
+
odblac: 'ő',
|
|
6964
|
+
odiv: '⨸',
|
|
6965
|
+
odot: '⊙',
|
|
6966
|
+
odsold: '⦼',
|
|
6967
|
+
oelig: 'œ',
|
|
6968
|
+
ofcir: '⦿',
|
|
6969
|
+
ofr: '𝔬',
|
|
6970
|
+
ogon: '˛',
|
|
6971
|
+
ograve: 'ò',
|
|
6972
|
+
ogt: '⧁',
|
|
6973
|
+
ohbar: '⦵',
|
|
6974
|
+
ohm: 'Ω',
|
|
6975
|
+
oint: '∮',
|
|
6976
|
+
olarr: '↺',
|
|
6977
|
+
olcir: '⦾',
|
|
6978
|
+
olcross: '⦻',
|
|
6979
|
+
oline: '‾',
|
|
6980
|
+
olt: '⧀',
|
|
6981
|
+
omacr: 'ō',
|
|
6982
|
+
omega: 'ω',
|
|
6983
|
+
omicron: 'ο',
|
|
6984
|
+
omid: '⦶',
|
|
6985
|
+
ominus: '⊖',
|
|
6986
|
+
oopf: '𝕠',
|
|
6987
|
+
opar: '⦷',
|
|
6988
|
+
operp: '⦹',
|
|
6989
|
+
oplus: '⊕',
|
|
6990
|
+
or: '∨',
|
|
6991
|
+
orarr: '↻',
|
|
6992
|
+
ord: '⩝',
|
|
6993
|
+
order: 'ℴ',
|
|
6994
|
+
orderof: 'ℴ',
|
|
6995
|
+
ordf: 'ª',
|
|
6996
|
+
ordm: 'º',
|
|
6997
|
+
origof: '⊶',
|
|
6998
|
+
oror: '⩖',
|
|
6999
|
+
orslope: '⩗',
|
|
7000
|
+
orv: '⩛',
|
|
7001
|
+
oscr: 'ℴ',
|
|
7002
|
+
oslash: 'ø',
|
|
7003
|
+
osol: '⊘',
|
|
7004
|
+
otilde: 'õ',
|
|
7005
|
+
otimes: '⊗',
|
|
7006
|
+
otimesas: '⨶',
|
|
7007
|
+
ouml: 'ö',
|
|
7008
|
+
ovbar: '⌽',
|
|
7009
|
+
par: '∥',
|
|
7010
|
+
para: '¶',
|
|
7011
|
+
parallel: '∥',
|
|
7012
|
+
parsim: '⫳',
|
|
7013
|
+
parsl: '⫽',
|
|
7014
|
+
part: '∂',
|
|
7015
|
+
pcy: 'п',
|
|
7016
|
+
percnt: '%',
|
|
7017
|
+
period: '.',
|
|
7018
|
+
permil: '‰',
|
|
7019
|
+
perp: '⊥',
|
|
7020
|
+
pertenk: '‱',
|
|
7021
|
+
pfr: '𝔭',
|
|
7022
|
+
phi: 'φ',
|
|
7023
|
+
phiv: 'ϕ',
|
|
7024
|
+
phmmat: 'ℳ',
|
|
7025
|
+
phone: '☎',
|
|
7026
|
+
pi: 'π',
|
|
7027
|
+
pitchfork: '⋔',
|
|
7028
|
+
piv: 'ϖ',
|
|
7029
|
+
planck: 'ℏ',
|
|
7030
|
+
planckh: 'ℎ',
|
|
7031
|
+
plankv: 'ℏ',
|
|
7032
|
+
plus: '+',
|
|
7033
|
+
plusacir: '⨣',
|
|
7034
|
+
plusb: '⊞',
|
|
7035
|
+
pluscir: '⨢',
|
|
7036
|
+
plusdo: '∔',
|
|
7037
|
+
plusdu: '⨥',
|
|
7038
|
+
pluse: '⩲',
|
|
7039
|
+
plusmn: '±',
|
|
7040
|
+
plussim: '⨦',
|
|
7041
|
+
plustwo: '⨧',
|
|
7042
|
+
pm: '±',
|
|
7043
|
+
pointint: '⨕',
|
|
7044
|
+
popf: '𝕡',
|
|
7045
|
+
pound: '£',
|
|
7046
|
+
pr: '≺',
|
|
7047
|
+
prE: '⪳',
|
|
7048
|
+
prap: '⪷',
|
|
7049
|
+
prcue: '≼',
|
|
7050
|
+
pre: '⪯',
|
|
7051
|
+
prec: '≺',
|
|
7052
|
+
precapprox: '⪷',
|
|
7053
|
+
preccurlyeq: '≼',
|
|
7054
|
+
preceq: '⪯',
|
|
7055
|
+
precnapprox: '⪹',
|
|
7056
|
+
precneqq: '⪵',
|
|
7057
|
+
precnsim: '⋨',
|
|
7058
|
+
precsim: '≾',
|
|
7059
|
+
prime: '′',
|
|
7060
|
+
primes: 'ℙ',
|
|
7061
|
+
prnE: '⪵',
|
|
7062
|
+
prnap: '⪹',
|
|
7063
|
+
prnsim: '⋨',
|
|
7064
|
+
prod: '∏',
|
|
7065
|
+
profalar: '⌮',
|
|
7066
|
+
profline: '⌒',
|
|
7067
|
+
profsurf: '⌓',
|
|
7068
|
+
prop: '∝',
|
|
7069
|
+
propto: '∝',
|
|
7070
|
+
prsim: '≾',
|
|
7071
|
+
prurel: '⊰',
|
|
7072
|
+
pscr: '𝓅',
|
|
7073
|
+
psi: 'ψ',
|
|
7074
|
+
puncsp: ' ',
|
|
7075
|
+
qfr: '𝔮',
|
|
7076
|
+
qint: '⨌',
|
|
7077
|
+
qopf: '𝕢',
|
|
7078
|
+
qprime: '⁗',
|
|
7079
|
+
qscr: '𝓆',
|
|
7080
|
+
quaternions: 'ℍ',
|
|
7081
|
+
quatint: '⨖',
|
|
7082
|
+
quest: '?',
|
|
7083
|
+
questeq: '≟',
|
|
7084
|
+
quot: '"',
|
|
7085
|
+
rAarr: '⇛',
|
|
7086
|
+
rArr: '⇒',
|
|
7087
|
+
rAtail: '⤜',
|
|
7088
|
+
rBarr: '⤏',
|
|
7089
|
+
rHar: '⥤',
|
|
7090
|
+
race: '∽̱',
|
|
7091
|
+
racute: 'ŕ',
|
|
7092
|
+
radic: '√',
|
|
7093
|
+
raemptyv: '⦳',
|
|
7094
|
+
rang: '⟩',
|
|
7095
|
+
rangd: '⦒',
|
|
7096
|
+
range: '⦥',
|
|
7097
|
+
rangle: '⟩',
|
|
7098
|
+
raquo: '»',
|
|
7099
|
+
rarr: '→',
|
|
7100
|
+
rarrap: '⥵',
|
|
7101
|
+
rarrb: '⇥',
|
|
7102
|
+
rarrbfs: '⤠',
|
|
7103
|
+
rarrc: '⤳',
|
|
7104
|
+
rarrfs: '⤞',
|
|
7105
|
+
rarrhk: '↪',
|
|
7106
|
+
rarrlp: '↬',
|
|
7107
|
+
rarrpl: '⥅',
|
|
7108
|
+
rarrsim: '⥴',
|
|
7109
|
+
rarrtl: '↣',
|
|
7110
|
+
rarrw: '↝',
|
|
7111
|
+
ratail: '⤚',
|
|
7112
|
+
ratio: '∶',
|
|
7113
|
+
rationals: 'ℚ',
|
|
7114
|
+
rbarr: '⤍',
|
|
7115
|
+
rbbrk: '❳',
|
|
7116
|
+
rbrace: '}',
|
|
7117
|
+
rbrack: ']',
|
|
7118
|
+
rbrke: '⦌',
|
|
7119
|
+
rbrksld: '⦎',
|
|
7120
|
+
rbrkslu: '⦐',
|
|
7121
|
+
rcaron: 'ř',
|
|
7122
|
+
rcedil: 'ŗ',
|
|
7123
|
+
rceil: '⌉',
|
|
7124
|
+
rcub: '}',
|
|
7125
|
+
rcy: 'р',
|
|
7126
|
+
rdca: '⤷',
|
|
7127
|
+
rdldhar: '⥩',
|
|
7128
|
+
rdquo: '”',
|
|
7129
|
+
rdquor: '”',
|
|
7130
|
+
rdsh: '↳',
|
|
7131
|
+
real: 'ℜ',
|
|
7132
|
+
realine: 'ℛ',
|
|
7133
|
+
realpart: 'ℜ',
|
|
7134
|
+
reals: 'ℝ',
|
|
7135
|
+
rect: '▭',
|
|
7136
|
+
reg: '®',
|
|
7137
|
+
rfisht: '⥽',
|
|
7138
|
+
rfloor: '⌋',
|
|
7139
|
+
rfr: '𝔯',
|
|
7140
|
+
rhard: '⇁',
|
|
7141
|
+
rharu: '⇀',
|
|
7142
|
+
rharul: '⥬',
|
|
7143
|
+
rho: 'ρ',
|
|
7144
|
+
rhov: 'ϱ',
|
|
7145
|
+
rightarrow: '→',
|
|
7146
|
+
rightarrowtail: '↣',
|
|
7147
|
+
rightharpoondown: '⇁',
|
|
7148
|
+
rightharpoonup: '⇀',
|
|
7149
|
+
rightleftarrows: '⇄',
|
|
7150
|
+
rightleftharpoons: '⇌',
|
|
7151
|
+
rightrightarrows: '⇉',
|
|
7152
|
+
rightsquigarrow: '↝',
|
|
7153
|
+
rightthreetimes: '⋌',
|
|
7154
|
+
ring: '˚',
|
|
7155
|
+
risingdotseq: '≓',
|
|
7156
|
+
rlarr: '⇄',
|
|
7157
|
+
rlhar: '⇌',
|
|
7158
|
+
rlm: '',
|
|
7159
|
+
rmoust: '⎱',
|
|
7160
|
+
rmoustache: '⎱',
|
|
7161
|
+
rnmid: '⫮',
|
|
7162
|
+
roang: '⟭',
|
|
7163
|
+
roarr: '⇾',
|
|
7164
|
+
robrk: '⟧',
|
|
7165
|
+
ropar: '⦆',
|
|
7166
|
+
ropf: '𝕣',
|
|
7167
|
+
roplus: '⨮',
|
|
7168
|
+
rotimes: '⨵',
|
|
7169
|
+
rpar: ')',
|
|
7170
|
+
rpargt: '⦔',
|
|
7171
|
+
rppolint: '⨒',
|
|
7172
|
+
rrarr: '⇉',
|
|
7173
|
+
rsaquo: '›',
|
|
7174
|
+
rscr: '𝓇',
|
|
7175
|
+
rsh: '↱',
|
|
7176
|
+
rsqb: ']',
|
|
7177
|
+
rsquo: '’',
|
|
7178
|
+
rsquor: '’',
|
|
7179
|
+
rthree: '⋌',
|
|
7180
|
+
rtimes: '⋊',
|
|
7181
|
+
rtri: '▹',
|
|
7182
|
+
rtrie: '⊵',
|
|
7183
|
+
rtrif: '▸',
|
|
7184
|
+
rtriltri: '⧎',
|
|
7185
|
+
ruluhar: '⥨',
|
|
7186
|
+
rx: '℞',
|
|
7187
|
+
sacute: 'ś',
|
|
7188
|
+
sbquo: '‚',
|
|
7189
|
+
sc: '≻',
|
|
7190
|
+
scE: '⪴',
|
|
7191
|
+
scap: '⪸',
|
|
7192
|
+
scaron: 'š',
|
|
7193
|
+
sccue: '≽',
|
|
7194
|
+
sce: '⪰',
|
|
7195
|
+
scedil: 'ş',
|
|
7196
|
+
scirc: 'ŝ',
|
|
7197
|
+
scnE: '⪶',
|
|
7198
|
+
scnap: '⪺',
|
|
7199
|
+
scnsim: '⋩',
|
|
7200
|
+
scpolint: '⨓',
|
|
7201
|
+
scsim: '≿',
|
|
7202
|
+
scy: 'с',
|
|
7203
|
+
sdot: '⋅',
|
|
7204
|
+
sdotb: '⊡',
|
|
7205
|
+
sdote: '⩦',
|
|
7206
|
+
seArr: '⇘',
|
|
7207
|
+
searhk: '⤥',
|
|
7208
|
+
searr: '↘',
|
|
7209
|
+
searrow: '↘',
|
|
7210
|
+
sect: '§',
|
|
7211
|
+
semi: ';',
|
|
7212
|
+
seswar: '⤩',
|
|
7213
|
+
setminus: '∖',
|
|
7214
|
+
setmn: '∖',
|
|
7215
|
+
sext: '✶',
|
|
7216
|
+
sfr: '𝔰',
|
|
7217
|
+
sfrown: '⌢',
|
|
7218
|
+
sharp: '♯',
|
|
7219
|
+
shchcy: 'щ',
|
|
7220
|
+
shcy: 'ш',
|
|
7221
|
+
shortmid: '∣',
|
|
7222
|
+
shortparallel: '∥',
|
|
7223
|
+
shy: '',
|
|
7224
|
+
sigma: 'σ',
|
|
7225
|
+
sigmaf: 'ς',
|
|
7226
|
+
sigmav: 'ς',
|
|
7227
|
+
sim: '∼',
|
|
7228
|
+
simdot: '⩪',
|
|
7229
|
+
sime: '≃',
|
|
7230
|
+
simeq: '≃',
|
|
7231
|
+
simg: '⪞',
|
|
7232
|
+
simgE: '⪠',
|
|
7233
|
+
siml: '⪝',
|
|
7234
|
+
simlE: '⪟',
|
|
7235
|
+
simne: '≆',
|
|
7236
|
+
simplus: '⨤',
|
|
7237
|
+
simrarr: '⥲',
|
|
7238
|
+
slarr: '←',
|
|
7239
|
+
smallsetminus: '∖',
|
|
7240
|
+
smashp: '⨳',
|
|
7241
|
+
smeparsl: '⧤',
|
|
7242
|
+
smid: '∣',
|
|
7243
|
+
smile: '⌣',
|
|
7244
|
+
smt: '⪪',
|
|
7245
|
+
smte: '⪬',
|
|
7246
|
+
smtes: '⪬︀',
|
|
7247
|
+
softcy: 'ь',
|
|
7248
|
+
sol: '/',
|
|
7249
|
+
solb: '⧄',
|
|
7250
|
+
solbar: '⌿',
|
|
7251
|
+
sopf: '𝕤',
|
|
7252
|
+
spades: '♠',
|
|
7253
|
+
spadesuit: '♠',
|
|
7254
|
+
spar: '∥',
|
|
7255
|
+
sqcap: '⊓',
|
|
7256
|
+
sqcaps: '⊓︀',
|
|
7257
|
+
sqcup: '⊔',
|
|
7258
|
+
sqcups: '⊔︀',
|
|
7259
|
+
sqsub: '⊏',
|
|
7260
|
+
sqsube: '⊑',
|
|
7261
|
+
sqsubset: '⊏',
|
|
7262
|
+
sqsubseteq: '⊑',
|
|
7263
|
+
sqsup: '⊐',
|
|
7264
|
+
sqsupe: '⊒',
|
|
7265
|
+
sqsupset: '⊐',
|
|
7266
|
+
sqsupseteq: '⊒',
|
|
7267
|
+
squ: '□',
|
|
7268
|
+
square: '□',
|
|
7269
|
+
squarf: '▪',
|
|
7270
|
+
squf: '▪',
|
|
7271
|
+
srarr: '→',
|
|
7272
|
+
sscr: '𝓈',
|
|
7273
|
+
ssetmn: '∖',
|
|
7274
|
+
ssmile: '⌣',
|
|
7275
|
+
sstarf: '⋆',
|
|
7276
|
+
star: '☆',
|
|
7277
|
+
starf: '★',
|
|
7278
|
+
straightepsilon: 'ϵ',
|
|
7279
|
+
straightphi: 'ϕ',
|
|
7280
|
+
strns: '¯',
|
|
7281
|
+
sub: '⊂',
|
|
7282
|
+
subE: '⫅',
|
|
7283
|
+
subdot: '⪽',
|
|
7284
|
+
sube: '⊆',
|
|
7285
|
+
subedot: '⫃',
|
|
7286
|
+
submult: '⫁',
|
|
7287
|
+
subnE: '⫋',
|
|
7288
|
+
subne: '⊊',
|
|
7289
|
+
subplus: '⪿',
|
|
7290
|
+
subrarr: '⥹',
|
|
7291
|
+
subset: '⊂',
|
|
7292
|
+
subseteq: '⊆',
|
|
7293
|
+
subseteqq: '⫅',
|
|
7294
|
+
subsetneq: '⊊',
|
|
7295
|
+
subsetneqq: '⫋',
|
|
7296
|
+
subsim: '⫇',
|
|
7297
|
+
subsub: '⫕',
|
|
7298
|
+
subsup: '⫓',
|
|
7299
|
+
succ: '≻',
|
|
7300
|
+
succapprox: '⪸',
|
|
7301
|
+
succcurlyeq: '≽',
|
|
7302
|
+
succeq: '⪰',
|
|
7303
|
+
succnapprox: '⪺',
|
|
7304
|
+
succneqq: '⪶',
|
|
7305
|
+
succnsim: '⋩',
|
|
7306
|
+
succsim: '≿',
|
|
7307
|
+
sum: '∑',
|
|
7308
|
+
sung: '♪',
|
|
7309
|
+
sup1: '¹',
|
|
7310
|
+
sup2: '²',
|
|
7311
|
+
sup3: '³',
|
|
7312
|
+
sup: '⊃',
|
|
7313
|
+
supE: '⫆',
|
|
7314
|
+
supdot: '⪾',
|
|
7315
|
+
supdsub: '⫘',
|
|
7316
|
+
supe: '⊇',
|
|
7317
|
+
supedot: '⫄',
|
|
7318
|
+
suphsol: '⟉',
|
|
7319
|
+
suphsub: '⫗',
|
|
7320
|
+
suplarr: '⥻',
|
|
7321
|
+
supmult: '⫂',
|
|
7322
|
+
supnE: '⫌',
|
|
7323
|
+
supne: '⊋',
|
|
7324
|
+
supplus: '⫀',
|
|
7325
|
+
supset: '⊃',
|
|
7326
|
+
supseteq: '⊇',
|
|
7327
|
+
supseteqq: '⫆',
|
|
7328
|
+
supsetneq: '⊋',
|
|
7329
|
+
supsetneqq: '⫌',
|
|
7330
|
+
supsim: '⫈',
|
|
7331
|
+
supsub: '⫔',
|
|
7332
|
+
supsup: '⫖',
|
|
7333
|
+
swArr: '⇙',
|
|
7334
|
+
swarhk: '⤦',
|
|
7335
|
+
swarr: '↙',
|
|
7336
|
+
swarrow: '↙',
|
|
7337
|
+
swnwar: '⤪',
|
|
7338
|
+
szlig: 'ß',
|
|
7339
|
+
target: '⌖',
|
|
7340
|
+
tau: 'τ',
|
|
7341
|
+
tbrk: '⎴',
|
|
7342
|
+
tcaron: 'ť',
|
|
7343
|
+
tcedil: 'ţ',
|
|
7344
|
+
tcy: 'т',
|
|
7345
|
+
tdot: '⃛',
|
|
7346
|
+
telrec: '⌕',
|
|
7347
|
+
tfr: '𝔱',
|
|
7348
|
+
there4: '∴',
|
|
7349
|
+
therefore: '∴',
|
|
7350
|
+
theta: 'θ',
|
|
7351
|
+
thetasym: 'ϑ',
|
|
7352
|
+
thetav: 'ϑ',
|
|
7353
|
+
thickapprox: '≈',
|
|
7354
|
+
thicksim: '∼',
|
|
7355
|
+
thinsp: ' ',
|
|
7356
|
+
thkap: '≈',
|
|
7357
|
+
thksim: '∼',
|
|
7358
|
+
thorn: 'þ',
|
|
7359
|
+
tilde: '˜',
|
|
7360
|
+
times: '×',
|
|
7361
|
+
timesb: '⊠',
|
|
7362
|
+
timesbar: '⨱',
|
|
7363
|
+
timesd: '⨰',
|
|
7364
|
+
tint: '∭',
|
|
7365
|
+
toea: '⤨',
|
|
7366
|
+
top: '⊤',
|
|
7367
|
+
topbot: '⌶',
|
|
7368
|
+
topcir: '⫱',
|
|
7369
|
+
topf: '𝕥',
|
|
7370
|
+
topfork: '⫚',
|
|
7371
|
+
tosa: '⤩',
|
|
7372
|
+
tprime: '‴',
|
|
7373
|
+
trade: '™',
|
|
7374
|
+
triangle: '▵',
|
|
7375
|
+
triangledown: '▿',
|
|
7376
|
+
triangleleft: '◃',
|
|
7377
|
+
trianglelefteq: '⊴',
|
|
7378
|
+
triangleq: '≜',
|
|
7379
|
+
triangleright: '▹',
|
|
7380
|
+
trianglerighteq: '⊵',
|
|
7381
|
+
tridot: '◬',
|
|
7382
|
+
trie: '≜',
|
|
7383
|
+
triminus: '⨺',
|
|
7384
|
+
triplus: '⨹',
|
|
7385
|
+
trisb: '⧍',
|
|
7386
|
+
tritime: '⨻',
|
|
7387
|
+
trpezium: '⏢',
|
|
7388
|
+
tscr: '𝓉',
|
|
7389
|
+
tscy: 'ц',
|
|
7390
|
+
tshcy: 'ћ',
|
|
7391
|
+
tstrok: 'ŧ',
|
|
7392
|
+
twixt: '≬',
|
|
7393
|
+
twoheadleftarrow: '↞',
|
|
7394
|
+
twoheadrightarrow: '↠',
|
|
7395
|
+
uArr: '⇑',
|
|
7396
|
+
uHar: '⥣',
|
|
7397
|
+
uacute: 'ú',
|
|
7398
|
+
uarr: '↑',
|
|
7399
|
+
ubrcy: 'ў',
|
|
7400
|
+
ubreve: 'ŭ',
|
|
7401
|
+
ucirc: 'û',
|
|
7402
|
+
ucy: 'у',
|
|
7403
|
+
udarr: '⇅',
|
|
7404
|
+
udblac: 'ű',
|
|
7405
|
+
udhar: '⥮',
|
|
7406
|
+
ufisht: '⥾',
|
|
7407
|
+
ufr: '𝔲',
|
|
7408
|
+
ugrave: 'ù',
|
|
7409
|
+
uharl: '↿',
|
|
7410
|
+
uharr: '↾',
|
|
7411
|
+
uhblk: '▀',
|
|
7412
|
+
ulcorn: '⌜',
|
|
7413
|
+
ulcorner: '⌜',
|
|
7414
|
+
ulcrop: '⌏',
|
|
7415
|
+
ultri: '◸',
|
|
7416
|
+
umacr: 'ū',
|
|
7417
|
+
uml: '¨',
|
|
7418
|
+
uogon: 'ų',
|
|
7419
|
+
uopf: '𝕦',
|
|
7420
|
+
uparrow: '↑',
|
|
7421
|
+
updownarrow: '↕',
|
|
7422
|
+
upharpoonleft: '↿',
|
|
7423
|
+
upharpoonright: '↾',
|
|
7424
|
+
uplus: '⊎',
|
|
7425
|
+
upsi: 'υ',
|
|
7426
|
+
upsih: 'ϒ',
|
|
7427
|
+
upsilon: 'υ',
|
|
7428
|
+
upuparrows: '⇈',
|
|
7429
|
+
urcorn: '⌝',
|
|
7430
|
+
urcorner: '⌝',
|
|
7431
|
+
urcrop: '⌎',
|
|
7432
|
+
uring: 'ů',
|
|
7433
|
+
urtri: '◹',
|
|
7434
|
+
uscr: '𝓊',
|
|
7435
|
+
utdot: '⋰',
|
|
7436
|
+
utilde: 'ũ',
|
|
7437
|
+
utri: '▵',
|
|
7438
|
+
utrif: '▴',
|
|
7439
|
+
uuarr: '⇈',
|
|
7440
|
+
uuml: 'ü',
|
|
7441
|
+
uwangle: '⦧',
|
|
7442
|
+
vArr: '⇕',
|
|
7443
|
+
vBar: '⫨',
|
|
7444
|
+
vBarv: '⫩',
|
|
7445
|
+
vDash: '⊨',
|
|
7446
|
+
vangrt: '⦜',
|
|
7447
|
+
varepsilon: 'ϵ',
|
|
7448
|
+
varkappa: 'ϰ',
|
|
7449
|
+
varnothing: '∅',
|
|
7450
|
+
varphi: 'ϕ',
|
|
7451
|
+
varpi: 'ϖ',
|
|
7452
|
+
varpropto: '∝',
|
|
7453
|
+
varr: '↕',
|
|
7454
|
+
varrho: 'ϱ',
|
|
7455
|
+
varsigma: 'ς',
|
|
7456
|
+
varsubsetneq: '⊊︀',
|
|
7457
|
+
varsubsetneqq: '⫋︀',
|
|
7458
|
+
varsupsetneq: '⊋︀',
|
|
7459
|
+
varsupsetneqq: '⫌︀',
|
|
7460
|
+
vartheta: 'ϑ',
|
|
7461
|
+
vartriangleleft: '⊲',
|
|
7462
|
+
vartriangleright: '⊳',
|
|
7463
|
+
vcy: 'в',
|
|
7464
|
+
vdash: '⊢',
|
|
7465
|
+
vee: '∨',
|
|
7466
|
+
veebar: '⊻',
|
|
7467
|
+
veeeq: '≚',
|
|
7468
|
+
vellip: '⋮',
|
|
7469
|
+
verbar: '|',
|
|
7470
|
+
vert: '|',
|
|
7471
|
+
vfr: '𝔳',
|
|
7472
|
+
vltri: '⊲',
|
|
7473
|
+
vnsub: '⊂⃒',
|
|
7474
|
+
vnsup: '⊃⃒',
|
|
7475
|
+
vopf: '𝕧',
|
|
7476
|
+
vprop: '∝',
|
|
7477
|
+
vrtri: '⊳',
|
|
7478
|
+
vscr: '𝓋',
|
|
7479
|
+
vsubnE: '⫋︀',
|
|
7480
|
+
vsubne: '⊊︀',
|
|
7481
|
+
vsupnE: '⫌︀',
|
|
7482
|
+
vsupne: '⊋︀',
|
|
7483
|
+
vzigzag: '⦚',
|
|
7484
|
+
wcirc: 'ŵ',
|
|
7485
|
+
wedbar: '⩟',
|
|
7486
|
+
wedge: '∧',
|
|
7487
|
+
wedgeq: '≙',
|
|
7488
|
+
weierp: '℘',
|
|
7489
|
+
wfr: '𝔴',
|
|
7490
|
+
wopf: '𝕨',
|
|
7491
|
+
wp: '℘',
|
|
7492
|
+
wr: '≀',
|
|
7493
|
+
wreath: '≀',
|
|
7494
|
+
wscr: '𝓌',
|
|
7495
|
+
xcap: '⋂',
|
|
7496
|
+
xcirc: '◯',
|
|
7497
|
+
xcup: '⋃',
|
|
7498
|
+
xdtri: '▽',
|
|
7499
|
+
xfr: '𝔵',
|
|
7500
|
+
xhArr: '⟺',
|
|
7501
|
+
xharr: '⟷',
|
|
7502
|
+
xi: 'ξ',
|
|
7503
|
+
xlArr: '⟸',
|
|
7504
|
+
xlarr: '⟵',
|
|
7505
|
+
xmap: '⟼',
|
|
7506
|
+
xnis: '⋻',
|
|
7507
|
+
xodot: '⨀',
|
|
7508
|
+
xopf: '𝕩',
|
|
7509
|
+
xoplus: '⨁',
|
|
7510
|
+
xotime: '⨂',
|
|
7511
|
+
xrArr: '⟹',
|
|
7512
|
+
xrarr: '⟶',
|
|
7513
|
+
xscr: '𝓍',
|
|
7514
|
+
xsqcup: '⨆',
|
|
7515
|
+
xuplus: '⨄',
|
|
7516
|
+
xutri: '△',
|
|
7517
|
+
xvee: '⋁',
|
|
7518
|
+
xwedge: '⋀',
|
|
7519
|
+
yacute: 'ý',
|
|
7520
|
+
yacy: 'я',
|
|
7521
|
+
ycirc: 'ŷ',
|
|
7522
|
+
ycy: 'ы',
|
|
7523
|
+
yen: '¥',
|
|
7524
|
+
yfr: '𝔶',
|
|
7525
|
+
yicy: 'ї',
|
|
7526
|
+
yopf: '𝕪',
|
|
7527
|
+
yscr: '𝓎',
|
|
7528
|
+
yucy: 'ю',
|
|
7529
|
+
yuml: 'ÿ',
|
|
7530
|
+
zacute: 'ź',
|
|
7531
|
+
zcaron: 'ž',
|
|
7532
|
+
zcy: 'з',
|
|
7533
|
+
zdot: 'ż',
|
|
7534
|
+
zeetrf: 'ℨ',
|
|
7535
|
+
zeta: 'ζ',
|
|
7536
|
+
zfr: '𝔷',
|
|
7537
|
+
zhcy: 'ж',
|
|
7538
|
+
zigrarr: '⇝',
|
|
7539
|
+
zopf: '𝕫',
|
|
7540
|
+
zscr: '𝓏',
|
|
7541
|
+
zwj: '',
|
|
7542
|
+
zwnj: ''
|
|
7543
|
+
};
|
|
5034
7544
|
|
|
5035
|
-
const
|
|
7545
|
+
const own$6 = {}.hasOwnProperty;
|
|
5036
7546
|
|
|
5037
7547
|
/**
|
|
7548
|
+
* Decode a single character reference (without the `&` or `;`).
|
|
7549
|
+
* You probably only need this when you’re building parsers yourself that follow
|
|
7550
|
+
* different rules compared to HTML.
|
|
7551
|
+
* This is optimized to be tiny in browsers.
|
|
7552
|
+
*
|
|
5038
7553
|
* @param {string} value
|
|
7554
|
+
* `notin` (named), `#123` (deci), `#x123` (hexa).
|
|
5039
7555
|
* @returns {string|false}
|
|
7556
|
+
* Decoded reference.
|
|
5040
7557
|
*/
|
|
5041
7558
|
function decodeNamedCharacterReference(value) {
|
|
5042
|
-
|
|
5043
|
-
element.innerHTML = characterReference;
|
|
5044
|
-
const char = element.textContent;
|
|
5045
|
-
|
|
5046
|
-
// Some named character references do not require the closing semicolon
|
|
5047
|
-
// (`¬`, for instance), which leads to situations where parsing the assumed
|
|
5048
|
-
// named reference of `¬it;` will result in the string `¬it;`.
|
|
5049
|
-
// When we encounter a trailing semicolon after parsing, and the character
|
|
5050
|
-
// reference to decode was not a semicolon (`;`), we can assume that the
|
|
5051
|
-
// matching was not complete.
|
|
5052
|
-
// @ts-expect-error: TypeScript is wrong that `textContent` on elements can
|
|
5053
|
-
// yield `null`.
|
|
5054
|
-
if (char.charCodeAt(char.length - 1) === 59 /* `;` */ && value !== 'semi') {
|
|
5055
|
-
return false
|
|
5056
|
-
}
|
|
5057
|
-
|
|
5058
|
-
// If the decoded string is equal to the input, the character reference was
|
|
5059
|
-
// not valid.
|
|
5060
|
-
// @ts-expect-error: TypeScript is wrong that `textContent` on elements can
|
|
5061
|
-
// yield `null`.
|
|
5062
|
-
return char === characterReference ? false : char
|
|
7559
|
+
return own$6.call(characterEntities, value) ? characterEntities[value] : false
|
|
5063
7560
|
}
|
|
5064
7561
|
|
|
5065
7562
|
/**
|
|
@@ -9655,7 +12152,7 @@ function serializeChunks(chunks, expandTabs) {
|
|
|
9655
12152
|
*/
|
|
9656
12153
|
/** @type {Extension['document']} */
|
|
9657
12154
|
|
|
9658
|
-
const document
|
|
12155
|
+
const document = {
|
|
9659
12156
|
[42]: list$1,
|
|
9660
12157
|
[43]: list$1,
|
|
9661
12158
|
[45]: list$1,
|
|
@@ -9738,7 +12235,7 @@ var defaultConstructs = /*#__PURE__*/Object.freeze({
|
|
|
9738
12235
|
attentionMarkers: attentionMarkers,
|
|
9739
12236
|
contentInitial: contentInitial,
|
|
9740
12237
|
disable: disable,
|
|
9741
|
-
document: document
|
|
12238
|
+
document: document,
|
|
9742
12239
|
flow: flow,
|
|
9743
12240
|
flowInitial: flowInitial,
|
|
9744
12241
|
insideSpan: insideSpan,
|
|
@@ -9772,7 +12269,7 @@ function parse$1(options = {}) {
|
|
|
9772
12269
|
lazy: {},
|
|
9773
12270
|
constructs,
|
|
9774
12271
|
content: create(content$1),
|
|
9775
|
-
document: create(document$
|
|
12272
|
+
document: create(document$1),
|
|
9776
12273
|
flow: create(flow$1),
|
|
9777
12274
|
string: create(string$1),
|
|
9778
12275
|
text: create(text$2)
|
|
@@ -12875,7 +15372,7 @@ function ok() {
|
|
|
12875
15372
|
* @returns {string}
|
|
12876
15373
|
*/
|
|
12877
15374
|
function color(d) {
|
|
12878
|
-
return d
|
|
15375
|
+
return '\u001B[33m' + d + '\u001B[39m'
|
|
12879
15376
|
}
|
|
12880
15377
|
|
|
12881
15378
|
/**
|