@scrippsproduct/networks-ui-library 1.0.15
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/README.md +71 -0
- package/dist/ChoicesItem-CGIr6Qga.mjs +38 -0
- package/dist/Form.module-DbpB9u1l.mjs +150 -0
- package/dist/PageHero.module-BdV8z_Xv.mjs +8 -0
- package/dist/ResultsTable.module-B7M9y7hd.mjs +14 -0
- package/dist/SocialShareButton-BXGVUD-z.mjs +30 -0
- package/dist/_commonjsHelpers-DaMA6jEr.mjs +8 -0
- package/dist/add-DH4DZT_w.mjs +17 -0
- package/dist/addMonths-Ca2KMx6g.mjs +23 -0
- package/dist/assets/ActionButton.css +1 -0
- package/dist/assets/AdBlock.css +1 -0
- package/dist/assets/AdjustableTwoColumnGrid.css +1 -0
- package/dist/assets/AirDateFormatter.css +1 -0
- package/dist/assets/AnchorTag.css +1 -0
- package/dist/assets/BCVideoPlayer.css +1 -0
- package/dist/assets/BasicGridModule.css +1 -0
- package/dist/assets/Button.css +1 -0
- package/dist/assets/CarouselSlide.css +1 -0
- package/dist/assets/ChannelSearch.css +1 -0
- package/dist/assets/ChoicesItem.css +1 -0
- package/dist/assets/ContentHero.css +1 -0
- package/dist/assets/CtaBlock.css +1 -0
- package/dist/assets/CustomDataList.css +1 -0
- package/dist/assets/DateNavigation.css +1 -0
- package/dist/assets/DatePicker.css +1 -0
- package/dist/assets/DeviceAndPlatformLists.css +1 -0
- package/dist/assets/DrawerNavigation.css +1 -0
- package/dist/assets/EqualSizeFlexRow.css +1 -0
- package/dist/assets/EqualSizeGrid.css +1 -0
- package/dist/assets/ErrorHandler.css +1 -0
- package/dist/assets/FeaturedList.css +1 -0
- package/dist/assets/Figure.css +1 -0
- package/dist/assets/Figure2.css +1 -0
- package/dist/assets/FindUs.css +1 -0
- package/dist/assets/FooterNavigation.css +1 -0
- package/dist/assets/Form.css +1 -0
- package/dist/assets/GradientButton.css +1 -0
- package/dist/assets/GridList.css +1 -0
- package/dist/assets/IONShowHero.css +1 -0
- package/dist/assets/ImageCard.css +1 -0
- package/dist/assets/ImageReplacementAnchor.css +1 -0
- package/dist/assets/InfoPanel.css +1 -0
- package/dist/assets/InlineNavigation.css +1 -0
- package/dist/assets/InstructionsList.css +1 -0
- package/dist/assets/Loading.css +1 -0
- package/dist/assets/LoadingV2.css +1 -0
- package/dist/assets/LogoListItem.css +1 -0
- package/dist/assets/LogoNavigation.css +1 -0
- package/dist/assets/ModalContainer.css +1 -0
- package/dist/assets/MultiLayeredFigure.css +1 -0
- package/dist/assets/NavList.css +1 -0
- package/dist/assets/Overlay.css +1 -0
- package/dist/assets/PageHero.css +1 -0
- package/dist/assets/Pagination.css +1 -0
- package/dist/assets/ProgramAirdate.css +1 -0
- package/dist/assets/PromotionBlock.css +1 -0
- package/dist/assets/PromotionsRowModule.css +1 -0
- package/dist/assets/RescanInstructions.css +1 -0
- package/dist/assets/ResultsTable.css +1 -0
- package/dist/assets/ScheduleList.css +1 -0
- package/dist/assets/ShowAboutLayout.css +1 -0
- package/dist/assets/ShowSlide.css +1 -0
- package/dist/assets/SocialLinks.css +1 -0
- package/dist/assets/SocialShareButton.css +1 -0
- package/dist/assets/StringList.css +1 -0
- package/dist/assets/TabNavigation.css +1 -0
- package/dist/assets/TextSlide.css +1 -0
- package/dist/assets/TwoColumnSlide.css +1 -0
- package/dist/assets/UpcomingList.css +1 -0
- package/dist/chevron-left-DmvQntvu.mjs +54 -0
- package/dist/chevron-right-CaAz6ISN.mjs +54 -0
- package/dist/components/ActionButton/ActionButton.d.ts +19 -0
- package/dist/components/ActionButton/ActionButton.js +78 -0
- package/dist/components/ActionButton/index.d.ts +1 -0
- package/dist/components/ActionButton/index.js +5 -0
- package/dist/components/AdBlock/AdBlock.d.ts +6 -0
- package/dist/components/AdBlock/AdBlock.js +110 -0
- package/dist/components/AdBlock/index.d.ts +1 -0
- package/dist/components/AdBlock/index.js +5 -0
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -0
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +24 -0
- package/dist/components/AdjustableTwoColumnGrid/index.d.ts +1 -0
- package/dist/components/AdjustableTwoColumnGrid/index.js +5 -0
- package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -0
- package/dist/components/AirDateFormatter/AirDateFormatter.js +82 -0
- package/dist/components/AirDateFormatter/index.d.ts +1 -0
- package/dist/components/AirDateFormatter/index.js +5 -0
- package/dist/components/AnchorTag/AnchorTag.d.ts +9 -0
- package/dist/components/AnchorTag/AnchorTag.js +45 -0
- package/dist/components/AnchorTag/index.d.ts +1 -0
- package/dist/components/AnchorTag/index.js +5 -0
- package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +13 -0
- package/dist/components/BCVideoPlayer/BCVideoPlayer.js +57 -0
- package/dist/components/BCVideoPlayer/index.d.ts +1 -0
- package/dist/components/BCVideoPlayer/index.js +5 -0
- package/dist/components/BasicGridModule/BasicGridModule.d.ts +24 -0
- package/dist/components/BasicGridModule/BasicGridModule.js +88 -0
- package/dist/components/BasicGridModule/index.d.ts +1 -0
- package/dist/components/BasicGridModule/index.js +5 -0
- package/dist/components/Button/Button.d.ts +19 -0
- package/dist/components/Button/Button.js +76 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.js +5 -0
- package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +6 -0
- package/dist/components/ButtonAnchor/ButtonAnchor.js +18 -0
- package/dist/components/ButtonAnchor/index.d.ts +1 -0
- package/dist/components/ButtonAnchor/index.js +5 -0
- package/dist/components/Carousel/Carousel.d.ts +25 -0
- package/dist/components/Carousel/Carousel.js +298 -0
- package/dist/components/Carousel/CarouselUtils.class.d.ts +68 -0
- package/dist/components/Carousel/CarouselUtils.class.js +187 -0
- package/dist/components/Carousel/index.d.ts +1 -0
- package/dist/components/Carousel/index.js +5 -0
- package/dist/components/Carousel/navigations/Pagination.d.ts +3 -0
- package/dist/components/Carousel/navigations/Pagination.js +18 -0
- package/dist/components/CarouselSlide/CarouselSlide.d.ts +7 -0
- package/dist/components/CarouselSlide/CarouselSlide.js +37 -0
- package/dist/components/CarouselSlide/index.d.ts +1 -0
- package/dist/components/CarouselSlide/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +2 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +9 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +9 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +30 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +34 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +105 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +2 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +10 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.d.ts +4 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.js +27 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +28 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +42 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +17 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +116 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +170 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +193 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +7 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +30 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +19 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +35 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +17 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +17 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +49 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +2 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +20 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/index.d.ts +8 -0
- package/dist/components/CarouselSlide/slide-layouts/index.js +18 -0
- package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +2 -0
- package/dist/components/CastInfoLayout/CastInfoLayout.js +62 -0
- package/dist/components/CastInfoLayout/index.d.ts +1 -0
- package/dist/components/CastInfoLayout/index.js +5 -0
- package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -0
- package/dist/components/ChannelSearch/ChannelSearch.js +171 -0
- package/dist/components/ChannelSearch/index.d.ts +1 -0
- package/dist/components/ChannelSearch/index.js +5 -0
- package/dist/components/ChoicesItem/ChoicesItem.d.ts +5 -0
- package/dist/components/ChoicesItem/ChoicesItem.js +8 -0
- package/dist/components/ChoicesItem/index.d.ts +1 -0
- package/dist/components/ChoicesItem/index.js +5 -0
- package/dist/components/ChoicesList/ChoicesList.d.ts +4 -0
- package/dist/components/ChoicesList/ChoicesList.js +9 -0
- package/dist/components/ChoicesList/index.d.ts +1 -0
- package/dist/components/ChoicesList/index.js +5 -0
- package/dist/components/Concat/Concat.d.ts +4 -0
- package/dist/components/Concat/Concat.js +10 -0
- package/dist/components/Concat/index.d.ts +1 -0
- package/dist/components/Concat/index.js +5 -0
- package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +6 -0
- package/dist/components/CreateChoiceList/CreateChoiceList.js +14 -0
- package/dist/components/CreateChoiceList/index.d.ts +1 -0
- package/dist/components/CreateChoiceList/index.js +5 -0
- package/dist/components/CtaBlock/CtaBlock.d.ts +23 -0
- package/dist/components/CtaBlock/CtaBlock.js +89 -0
- package/dist/components/CtaBlock/index.d.ts +1 -0
- package/dist/components/CtaBlock/index.js +5 -0
- package/dist/components/CustomDataList/CustomDataList.d.ts +11 -0
- package/dist/components/CustomDataList/CustomDataList.js +282 -0
- package/dist/components/CustomDataList/index.d.ts +1 -0
- package/dist/components/CustomDataList/index.js +5 -0
- package/dist/components/CustomSelect/CustomSelect.d.ts +14 -0
- package/dist/components/CustomSelect/CustomSelect.js +217 -0
- package/dist/components/CustomSelect/index.d.ts +1 -0
- package/dist/components/CustomSelect/index.js +5 -0
- package/dist/components/DateNavigation/DateNavigation.d.ts +5 -0
- package/dist/components/DateNavigation/DateNavigation.js +115 -0
- package/dist/components/DateNavigation/index.d.ts +1 -0
- package/dist/components/DateNavigation/index.js +5 -0
- package/dist/components/DatePicker/DatePicker.d.ts +10 -0
- package/dist/components/DatePicker/DatePicker.js +5895 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/index.js +5 -0
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +5 -0
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +60 -0
- package/dist/components/DeviceAndPlatformLists/index.d.ts +1 -0
- package/dist/components/DeviceAndPlatformLists/index.js +5 -0
- package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +10 -0
- package/dist/components/DrawerNavigation/DrawerNavigation.js +123 -0
- package/dist/components/DrawerNavigation/index.d.ts +1 -0
- package/dist/components/DrawerNavigation/index.js +5 -0
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -0
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +31 -0
- package/dist/components/EqualSizeFlexRow/index.d.ts +1 -0
- package/dist/components/EqualSizeFlexRow/index.js +5 -0
- package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -0
- package/dist/components/EqualSizeGrid/EqualSizeGrid.js +29 -0
- package/dist/components/EqualSizeGrid/index.d.ts +1 -0
- package/dist/components/EqualSizeGrid/index.js +5 -0
- package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -0
- package/dist/components/ErrorHandler/ErrorHandler.js +17 -0
- package/dist/components/ErrorHandler/index.d.ts +1 -0
- package/dist/components/ErrorHandler/index.js +5 -0
- package/dist/components/FeaturedList/FeaturedList.d.ts +7 -0
- package/dist/components/FeaturedList/FeaturedList.js +48 -0
- package/dist/components/FeaturedList/index.d.ts +1 -0
- package/dist/components/FeaturedList/index.js +5 -0
- package/dist/components/Figure/Figure.d.ts +8 -0
- package/dist/components/Figure/Figure.js +23 -0
- package/dist/components/Figure/index.d.ts +1 -0
- package/dist/components/Figure/index.js +5 -0
- package/dist/components/FindUs/FindUs.d.ts +20 -0
- package/dist/components/FindUs/FindUs.js +120 -0
- package/dist/components/FindUs/index.d.ts +1 -0
- package/dist/components/FindUs/index.js +5 -0
- package/dist/components/FooterNavigation/FooterNavigation.d.ts +4 -0
- package/dist/components/FooterNavigation/FooterNavigation.js +24 -0
- package/dist/components/FooterNavigation/index.d.ts +1 -0
- package/dist/components/FooterNavigation/index.js +5 -0
- package/dist/components/GenericList/GenericList.d.ts +6 -0
- package/dist/components/GenericList/GenericList.js +23 -0
- package/dist/components/GenericList/index.d.ts +1 -0
- package/dist/components/GenericList/index.js +5 -0
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -0
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +40 -0
- package/dist/components/GetAirdateWrapper/index.d.ts +1 -0
- package/dist/components/GetAirdateWrapper/index.js +5 -0
- package/dist/components/GradientButton/GradientButton.d.ts +15 -0
- package/dist/components/GradientButton/GradientButton.js +69 -0
- package/dist/components/GradientButton/index.d.ts +1 -0
- package/dist/components/GradientButton/index.js +5 -0
- package/dist/components/GridList/GridList.d.ts +6 -0
- package/dist/components/GridList/GridList.js +28 -0
- package/dist/components/GridList/index.d.ts +1 -0
- package/dist/components/GridList/index.js +5 -0
- package/dist/components/ImageCard/ImageCard.d.ts +3 -0
- package/dist/components/ImageCard/ImageCard.js +113 -0
- package/dist/components/ImageCard/ImageCardCore.d.ts +3 -0
- package/dist/components/ImageCard/ImageCardCore.js +129 -0
- package/dist/components/ImageCard/index.d.ts +1 -0
- package/dist/components/ImageCard/index.js +5 -0
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +15 -0
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +52 -0
- package/dist/components/ImageReplacementAnchor/index.d.ts +1 -0
- package/dist/components/ImageReplacementAnchor/index.js +5 -0
- package/dist/components/InfoPanel/InfoPanel.d.ts +10 -0
- package/dist/components/InfoPanel/InfoPanel.js +66 -0
- package/dist/components/InfoPanel/index.d.ts +1 -0
- package/dist/components/InfoPanel/index.js +5 -0
- package/dist/components/InlineNavigation/InlineNavigation.d.ts +6 -0
- package/dist/components/InlineNavigation/InlineNavigation.js +27 -0
- package/dist/components/InlineNavigation/index.d.ts +1 -0
- package/dist/components/InlineNavigation/index.js +4 -0
- package/dist/components/Input/Input.d.ts +10 -0
- package/dist/components/Input/Input.js +57 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/index.js +5 -0
- package/dist/components/InstructionsList/InstructionsList.d.ts +5 -0
- package/dist/components/InstructionsList/InstructionsList.js +17 -0
- package/dist/components/InstructionsList/index.d.ts +1 -0
- package/dist/components/InstructionsList/index.js +5 -0
- package/dist/components/Loading/Loading.d.ts +8 -0
- package/dist/components/Loading/Loading.js +36 -0
- package/dist/components/Loading/index.d.ts +1 -0
- package/dist/components/Loading/index.js +5 -0
- package/dist/components/LoadingV2/LoadingV2.d.ts +7 -0
- package/dist/components/LoadingV2/LoadingV2.js +39 -0
- package/dist/components/LoadingV2/index.d.ts +1 -0
- package/dist/components/LoadingV2/index.js +5 -0
- package/dist/components/LogoListItem/LogoListItem.d.ts +7 -0
- package/dist/components/LogoListItem/LogoListItem.js +29 -0
- package/dist/components/LogoListItem/index.d.ts +1 -0
- package/dist/components/LogoListItem/index.js +5 -0
- package/dist/components/LogoNavigation/LogoNavigation.d.ts +5 -0
- package/dist/components/LogoNavigation/LogoNavigation.js +23 -0
- package/dist/components/LogoNavigation/index.d.ts +1 -0
- package/dist/components/LogoNavigation/index.js +5 -0
- package/dist/components/ModalContainer/ModalContainer.d.ts +9 -0
- package/dist/components/ModalContainer/ModalContainer.js +108 -0
- package/dist/components/ModalContainer/index.d.ts +1 -0
- package/dist/components/ModalContainer/index.js +5 -0
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -0
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +29 -0
- package/dist/components/MultiLayeredFigure/index.d.ts +1 -0
- package/dist/components/MultiLayeredFigure/index.js +5 -0
- package/dist/components/NavList/NavList.d.ts +8 -0
- package/dist/components/NavList/NavList.js +33 -0
- package/dist/components/NavList/index.d.ts +1 -0
- package/dist/components/NavList/index.js +5 -0
- package/dist/components/Overlay/Overlay.d.ts +6 -0
- package/dist/components/Overlay/Overlay.js +37 -0
- package/dist/components/Overlay/index.d.ts +1 -0
- package/dist/components/Overlay/index.js +5 -0
- package/dist/components/PageHero/PageHero.d.ts +6 -0
- package/dist/components/PageHero/PageHero.js +19 -0
- package/dist/components/PageHero/index.d.ts +1 -0
- package/dist/components/PageHero/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +14 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +40 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +1 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +6 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +64 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +1 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +13 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +35 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +1 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/index.d.ts +3 -0
- package/dist/components/PageHero/page-hero-layouts/index.js +8 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +11 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.js +151 -0
- package/dist/components/ProgramAirdate/index.d.ts +1 -0
- package/dist/components/ProgramAirdate/index.js +5 -0
- package/dist/components/PromotionBlock/PromotionBlock.d.ts +5 -0
- package/dist/components/PromotionBlock/PromotionBlock.js +43 -0
- package/dist/components/PromotionBlock/index.d.ts +1 -0
- package/dist/components/PromotionBlock/index.js +5 -0
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -0
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +10 -0
- package/dist/components/PromotionsRowBlock/index.d.ts +1 -0
- package/dist/components/PromotionsRowBlock/index.js +5 -0
- package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +6 -0
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +113 -0
- package/dist/components/PromotionsRowModule/index.d.ts +1 -0
- package/dist/components/PromotionsRowModule/index.js +5 -0
- package/dist/components/RescanInstructions/RescanInstructions.d.ts +4 -0
- package/dist/components/RescanInstructions/RescanInstructions.js +30 -0
- package/dist/components/RescanInstructions/index.d.ts +1 -0
- package/dist/components/RescanInstructions/index.js +5 -0
- package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +14 -0
- package/dist/components/ResponsiveImage/ResponsiveImage.js +34 -0
- package/dist/components/ResponsiveImage/index.d.ts +1 -0
- package/dist/components/ResponsiveImage/index.js +5 -0
- package/dist/components/ResultsTable/ResultsTable.d.ts +7 -0
- package/dist/components/ResultsTable/ResultsTable.js +26 -0
- package/dist/components/ResultsTable/index.d.ts +1 -0
- package/dist/components/ResultsTable/index.js +5 -0
- package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +6 -0
- package/dist/components/ResultsTableBody/ResultsTableBody.js +51 -0
- package/dist/components/ResultsTableBody/index.d.ts +1 -0
- package/dist/components/ResultsTableBody/index.js +5 -0
- package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +4 -0
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +21 -0
- package/dist/components/ResultsTableHeader/index.d.ts +1 -0
- package/dist/components/ResultsTableHeader/index.js +5 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +6 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.js +28 -0
- package/dist/components/ScheduleLayout/index.d.ts +1 -0
- package/dist/components/ScheduleLayout/index.js +5 -0
- package/dist/components/ScheduleList/ScheduleList.d.ts +6 -0
- package/dist/components/ScheduleList/ScheduleList.js +100 -0
- package/dist/components/ScheduleList/index.d.ts +1 -0
- package/dist/components/ScheduleList/index.js +5 -0
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +5 -0
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +21 -0
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +8 -0
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +39 -0
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +8 -0
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +41 -0
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +8 -0
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +39 -0
- package/dist/components/SectionedContent/SectionedContent.d.ts +4 -0
- package/dist/components/SectionedContent/SectionedContent.js +23 -0
- package/dist/components/SectionedContent/index.d.ts +1 -0
- package/dist/components/SectionedContent/index.js +5 -0
- package/dist/components/Select/Select.d.ts +12 -0
- package/dist/components/Select/Select.js +64 -0
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/components/Select/index.js +5 -0
- package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +8 -0
- package/dist/components/ShowAboutContent/ShowAboutContent.js +69 -0
- package/dist/components/ShowAboutContent/index.d.ts +1 -0
- package/dist/components/ShowAboutContent/index.js +5 -0
- package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +8 -0
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +53 -0
- package/dist/components/ShowAboutLayout/index.d.ts +1 -0
- package/dist/components/ShowAboutLayout/index.js +5 -0
- package/dist/components/SocialLinks/SocialLinks.d.ts +11 -0
- package/dist/components/SocialLinks/SocialLinks.js +260 -0
- package/dist/components/SocialLinks/index.d.ts +1 -0
- package/dist/components/SocialLinks/index.js +5 -0
- package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -0
- package/dist/components/SocialShareBlock/SocialShareBlock.js +44 -0
- package/dist/components/SocialShareBlock/index.d.ts +1 -0
- package/dist/components/SocialShareBlock/index.js +5 -0
- package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -0
- package/dist/components/SocialShareButton/SocialShareButton.js +9 -0
- package/dist/components/SocialShareButton/index.d.ts +1 -0
- package/dist/components/SocialShareButton/index.js +5 -0
- package/dist/components/StringList/StringList.d.ts +6 -0
- package/dist/components/StringList/StringList.js +30 -0
- package/dist/components/StringList/index.d.ts +1 -0
- package/dist/components/StringList/index.js +5 -0
- package/dist/components/TabContent/TabContent.d.ts +5 -0
- package/dist/components/TabContent/TabContent.js +10 -0
- package/dist/components/TabContent/index.d.ts +1 -0
- package/dist/components/TabContent/index.js +5 -0
- package/dist/components/TabNavigation/TabNavigation.d.ts +6 -0
- package/dist/components/TabNavigation/TabNavigation.js +69 -0
- package/dist/components/TabNavigation/index.d.ts +1 -0
- package/dist/components/TabNavigation/index.js +5 -0
- package/dist/components/TabbedContent/TabbedContent.d.ts +5 -0
- package/dist/components/TabbedContent/TabbedContent.js +15 -0
- package/dist/components/TabbedContent/index.d.ts +1 -0
- package/dist/components/TabbedContent/index.js +5 -0
- package/dist/components/TextArea/TextArea.d.ts +2 -0
- package/dist/components/TextArea/TextArea.js +49 -0
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/TextArea/index.js +5 -0
- package/dist/components/UpcomingList/UpcomingList.d.ts +5 -0
- package/dist/components/UpcomingList/UpcomingList.js +61 -0
- package/dist/components/UpcomingList/index.d.ts +1 -0
- package/dist/components/UpcomingList/index.js +5 -0
- package/dist/containers/GetFeatruedListContainer.d.ts +17 -0
- package/dist/containers/GetFeatruedListContainer.js +50 -0
- package/dist/containers/NowPlayingContainer.d.ts +16 -0
- package/dist/containers/NowPlayingContainer.js +87 -0
- package/dist/data-resources/FakeDataResource.d.ts +95 -0
- package/dist/data-resources/FakeDataResource.js +692 -0
- package/dist/error-boundries/BlankErrorBoundry.d.ts +15 -0
- package/dist/error-boundries/BlankErrorBoundry.js +25 -0
- package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -0
- package/dist/error-boundries/GeneralErrorBoundry.js +27 -0
- package/dist/facebook-osmzgL7R.mjs +54 -0
- package/dist/format-DF9p-6BI.mjs +1221 -0
- package/dist/hooks/useAddScriptTags.d.ts +2 -0
- package/dist/hooks/useAddScriptTags.js +8 -0
- package/dist/hooks/useGetSchedule.d.ts +14 -0
- package/dist/hooks/useGetSchedule.js +58 -0
- package/dist/hooks/useGetUpcoming.d.ts +7 -0
- package/dist/hooks/useGetUpcoming.js +28 -0
- package/dist/hooks/useOptinMonsterReset.d.ts +4 -0
- package/dist/hooks/useOptinMonsterReset.js +41 -0
- package/dist/hooks/useSourcepointPrivacyTrigger.d.ts +4 -0
- package/dist/hooks/useSourcepointPrivacyTrigger.js +23 -0
- package/dist/icons/Facebook.d.ts +3 -0
- package/dist/icons/Facebook.js +33 -0
- package/dist/icons/Tiktok.d.ts +3 -0
- package/dist/icons/Tiktok.js +35 -0
- package/dist/icons/Twitter.d.ts +3 -0
- package/dist/icons/Twitter.js +35 -0
- package/dist/index-0wieGV50.mjs +133 -0
- package/dist/index-CZzwT3Oj.mjs +662 -0
- package/dist/index-DB0QlRo7.mjs +1827 -0
- package/dist/index-YbL9dKxh.mjs +19068 -0
- package/dist/index.d.ts +78 -0
- package/dist/index.js +158 -0
- package/dist/secl-ui.d.ts +2 -0
- package/dist/settings.d.ts +3 -0
- package/dist/settings.js +30 -0
- package/dist/sub-DTz41m8W.mjs +17 -0
- package/dist/subMonths-YdVF7zsL.mjs +11 -0
- package/dist/triangle-D0AHL9lB.mjs +54 -0
- package/dist/utils/Redirect.d.ts +4 -0
- package/dist/utils/Redirect.js +9 -0
- package/dist/utils/analytics.d.ts +1 -0
- package/dist/utils/analytics.js +458 -0
- package/dist/utils/createSocialShareLinks.d.ts +7 -0
- package/dist/utils/createSocialShareLinks.js +65 -0
- package/dist/utils/date-helpers.d.ts +31 -0
- package/dist/utils/date-helpers.js +49 -0
- package/dist/utils/events.d.ts +3 -0
- package/dist/utils/events.js +15 -0
- package/dist/utils/getCarouselOptions.d.ts +1 -0
- package/dist/utils/getCarouselOptions.js +64 -0
- package/dist/utils/getFeaturedList.d.ts +22 -0
- package/dist/utils/getFeaturedList.js +66 -0
- package/dist/utils/getFeaturedListImages.d.ts +5 -0
- package/dist/utils/getFeaturedListImages.js +36 -0
- package/dist/utils/getOnNowProgram.d.ts +12 -0
- package/dist/utils/getOnNowProgram.js +116 -0
- package/dist/utils/getSchedule.d.ts +7 -0
- package/dist/utils/getSchedule.js +31 -0
- package/dist/utils/getUpcomingPrograms.d.ts +18 -0
- package/dist/utils/getUpcomingPrograms.js +30 -0
- package/dist/utils/getViewingPlatforms.d.ts +16 -0
- package/dist/utils/getViewingPlatforms.js +34 -0
- package/dist/utils/gtm.d.ts +4 -0
- package/dist/utils/gtm.js +17 -0
- package/dist/utils/helpers.d.ts +116 -0
- package/dist/utils/helpers.js +117 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -0
- package/dist/utils/optinMonsterReset.d.ts +4 -0
- package/dist/utils/optinMonsterReset.js +18 -0
- package/dist/utils/optinMonsterScript.d.ts +4 -0
- package/dist/utils/optinMonsterScript.js +20 -0
- package/dist/utils/program-helpers.d.ts +50 -0
- package/dist/utils/program-helpers.js +33 -0
- package/dist/utils/schedule-helpers.d.ts +1 -0
- package/dist/utils/schedule-helpers.js +7 -0
- package/dist/utils/series-helpers.d.ts +50 -0
- package/dist/utils/series-helpers.js +33 -0
- package/dist/utils/wpPlatformsTransformer.d.ts +1 -0
- package/dist/utils/wpPlatformsTransformer.js +28 -0
- package/dist/vite-env.d.js +1 -0
- package/dist/vite.svg +1 -0
- package/dist/x-D8_C2o-U.mjs +62 -0
- package/package.json +131 -0
|
@@ -0,0 +1,1827 @@
|
|
|
1
|
+
import { c as m, g as ze } from "./_commonjsHelpers-DaMA6jEr.mjs";
|
|
2
|
+
import _e from "react";
|
|
3
|
+
var Te = {}, q = {}, Y = {}, A = {}, Z = {}, K = {};
|
|
4
|
+
(function(e) {
|
|
5
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
|
|
6
|
+
var t;
|
|
7
|
+
(function(n) {
|
|
8
|
+
n.Root = "root", n.Text = "text", n.Directive = "directive", n.Comment = "comment", n.Script = "script", n.Style = "style", n.Tag = "tag", n.CDATA = "cdata", n.Doctype = "doctype";
|
|
9
|
+
})(t = e.ElementType || (e.ElementType = {}));
|
|
10
|
+
function r(n) {
|
|
11
|
+
return n.type === t.Tag || n.type === t.Script || n.type === t.Style;
|
|
12
|
+
}
|
|
13
|
+
e.isTag = r, e.Root = t.Root, e.Text = t.Text, e.Directive = t.Directive, e.Comment = t.Comment, e.Script = t.Script, e.Style = t.Style, e.Tag = t.Tag, e.CDATA = t.CDATA, e.Doctype = t.Doctype;
|
|
14
|
+
})(K);
|
|
15
|
+
var p = {}, R = m && m.__extends || /* @__PURE__ */ function() {
|
|
16
|
+
var e = function(t, r) {
|
|
17
|
+
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
18
|
+
n.__proto__ = i;
|
|
19
|
+
} || function(n, i) {
|
|
20
|
+
for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (n[s] = i[s]);
|
|
21
|
+
}, e(t, r);
|
|
22
|
+
};
|
|
23
|
+
return function(t, r) {
|
|
24
|
+
if (typeof r != "function" && r !== null)
|
|
25
|
+
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
26
|
+
e(t, r);
|
|
27
|
+
function n() {
|
|
28
|
+
this.constructor = t;
|
|
29
|
+
}
|
|
30
|
+
t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n());
|
|
31
|
+
};
|
|
32
|
+
}(), O = m && m.__assign || function() {
|
|
33
|
+
return O = Object.assign || function(e) {
|
|
34
|
+
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
35
|
+
t = arguments[r];
|
|
36
|
+
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
37
|
+
}
|
|
38
|
+
return e;
|
|
39
|
+
}, O.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(p, "__esModule", { value: !0 });
|
|
42
|
+
p.cloneNode = p.hasChildren = p.isDocument = p.isDirective = p.isComment = p.isText = p.isCDATA = p.isTag = p.Element = p.Document = p.CDATA = p.NodeWithChildren = p.ProcessingInstruction = p.Comment = p.Text = p.DataNode = p.Node = void 0;
|
|
43
|
+
var y = K, J = (
|
|
44
|
+
/** @class */
|
|
45
|
+
function() {
|
|
46
|
+
function e() {
|
|
47
|
+
this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
|
|
48
|
+
}
|
|
49
|
+
return Object.defineProperty(e.prototype, "parentNode", {
|
|
50
|
+
// Read-write aliases for properties
|
|
51
|
+
/**
|
|
52
|
+
* Same as {@link parent}.
|
|
53
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
54
|
+
*/
|
|
55
|
+
get: function() {
|
|
56
|
+
return this.parent;
|
|
57
|
+
},
|
|
58
|
+
set: function(t) {
|
|
59
|
+
this.parent = t;
|
|
60
|
+
},
|
|
61
|
+
enumerable: !1,
|
|
62
|
+
configurable: !0
|
|
63
|
+
}), Object.defineProperty(e.prototype, "previousSibling", {
|
|
64
|
+
/**
|
|
65
|
+
* Same as {@link prev}.
|
|
66
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
67
|
+
*/
|
|
68
|
+
get: function() {
|
|
69
|
+
return this.prev;
|
|
70
|
+
},
|
|
71
|
+
set: function(t) {
|
|
72
|
+
this.prev = t;
|
|
73
|
+
},
|
|
74
|
+
enumerable: !1,
|
|
75
|
+
configurable: !0
|
|
76
|
+
}), Object.defineProperty(e.prototype, "nextSibling", {
|
|
77
|
+
/**
|
|
78
|
+
* Same as {@link next}.
|
|
79
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
80
|
+
*/
|
|
81
|
+
get: function() {
|
|
82
|
+
return this.next;
|
|
83
|
+
},
|
|
84
|
+
set: function(t) {
|
|
85
|
+
this.next = t;
|
|
86
|
+
},
|
|
87
|
+
enumerable: !1,
|
|
88
|
+
configurable: !0
|
|
89
|
+
}), e.prototype.cloneNode = function(t) {
|
|
90
|
+
return t === void 0 && (t = !1), Q(this, t);
|
|
91
|
+
}, e;
|
|
92
|
+
}()
|
|
93
|
+
);
|
|
94
|
+
p.Node = J;
|
|
95
|
+
var L = (
|
|
96
|
+
/** @class */
|
|
97
|
+
function(e) {
|
|
98
|
+
R(t, e);
|
|
99
|
+
function t(r) {
|
|
100
|
+
var n = e.call(this) || this;
|
|
101
|
+
return n.data = r, n;
|
|
102
|
+
}
|
|
103
|
+
return Object.defineProperty(t.prototype, "nodeValue", {
|
|
104
|
+
/**
|
|
105
|
+
* Same as {@link data}.
|
|
106
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
107
|
+
*/
|
|
108
|
+
get: function() {
|
|
109
|
+
return this.data;
|
|
110
|
+
},
|
|
111
|
+
set: function(r) {
|
|
112
|
+
this.data = r;
|
|
113
|
+
},
|
|
114
|
+
enumerable: !1,
|
|
115
|
+
configurable: !0
|
|
116
|
+
}), t;
|
|
117
|
+
}(J)
|
|
118
|
+
);
|
|
119
|
+
p.DataNode = L;
|
|
120
|
+
var Re = (
|
|
121
|
+
/** @class */
|
|
122
|
+
function(e) {
|
|
123
|
+
R(t, e);
|
|
124
|
+
function t() {
|
|
125
|
+
var r = e !== null && e.apply(this, arguments) || this;
|
|
126
|
+
return r.type = y.ElementType.Text, r;
|
|
127
|
+
}
|
|
128
|
+
return Object.defineProperty(t.prototype, "nodeType", {
|
|
129
|
+
get: function() {
|
|
130
|
+
return 3;
|
|
131
|
+
},
|
|
132
|
+
enumerable: !1,
|
|
133
|
+
configurable: !0
|
|
134
|
+
}), t;
|
|
135
|
+
}(L)
|
|
136
|
+
);
|
|
137
|
+
p.Text = Re;
|
|
138
|
+
var be = (
|
|
139
|
+
/** @class */
|
|
140
|
+
function(e) {
|
|
141
|
+
R(t, e);
|
|
142
|
+
function t() {
|
|
143
|
+
var r = e !== null && e.apply(this, arguments) || this;
|
|
144
|
+
return r.type = y.ElementType.Comment, r;
|
|
145
|
+
}
|
|
146
|
+
return Object.defineProperty(t.prototype, "nodeType", {
|
|
147
|
+
get: function() {
|
|
148
|
+
return 8;
|
|
149
|
+
},
|
|
150
|
+
enumerable: !1,
|
|
151
|
+
configurable: !0
|
|
152
|
+
}), t;
|
|
153
|
+
}(L)
|
|
154
|
+
);
|
|
155
|
+
p.Comment = be;
|
|
156
|
+
var Ce = (
|
|
157
|
+
/** @class */
|
|
158
|
+
function(e) {
|
|
159
|
+
R(t, e);
|
|
160
|
+
function t(r, n) {
|
|
161
|
+
var i = e.call(this, n) || this;
|
|
162
|
+
return i.name = r, i.type = y.ElementType.Directive, i;
|
|
163
|
+
}
|
|
164
|
+
return Object.defineProperty(t.prototype, "nodeType", {
|
|
165
|
+
get: function() {
|
|
166
|
+
return 1;
|
|
167
|
+
},
|
|
168
|
+
enumerable: !1,
|
|
169
|
+
configurable: !0
|
|
170
|
+
}), t;
|
|
171
|
+
}(L)
|
|
172
|
+
);
|
|
173
|
+
p.ProcessingInstruction = Ce;
|
|
174
|
+
var j = (
|
|
175
|
+
/** @class */
|
|
176
|
+
function(e) {
|
|
177
|
+
R(t, e);
|
|
178
|
+
function t(r) {
|
|
179
|
+
var n = e.call(this) || this;
|
|
180
|
+
return n.children = r, n;
|
|
181
|
+
}
|
|
182
|
+
return Object.defineProperty(t.prototype, "firstChild", {
|
|
183
|
+
// Aliases
|
|
184
|
+
/** First child of the node. */
|
|
185
|
+
get: function() {
|
|
186
|
+
var r;
|
|
187
|
+
return (r = this.children[0]) !== null && r !== void 0 ? r : null;
|
|
188
|
+
},
|
|
189
|
+
enumerable: !1,
|
|
190
|
+
configurable: !0
|
|
191
|
+
}), Object.defineProperty(t.prototype, "lastChild", {
|
|
192
|
+
/** Last child of the node. */
|
|
193
|
+
get: function() {
|
|
194
|
+
return this.children.length > 0 ? this.children[this.children.length - 1] : null;
|
|
195
|
+
},
|
|
196
|
+
enumerable: !1,
|
|
197
|
+
configurable: !0
|
|
198
|
+
}), Object.defineProperty(t.prototype, "childNodes", {
|
|
199
|
+
/**
|
|
200
|
+
* Same as {@link children}.
|
|
201
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
202
|
+
*/
|
|
203
|
+
get: function() {
|
|
204
|
+
return this.children;
|
|
205
|
+
},
|
|
206
|
+
set: function(r) {
|
|
207
|
+
this.children = r;
|
|
208
|
+
},
|
|
209
|
+
enumerable: !1,
|
|
210
|
+
configurable: !0
|
|
211
|
+
}), t;
|
|
212
|
+
}(J)
|
|
213
|
+
);
|
|
214
|
+
p.NodeWithChildren = j;
|
|
215
|
+
var Ae = (
|
|
216
|
+
/** @class */
|
|
217
|
+
function(e) {
|
|
218
|
+
R(t, e);
|
|
219
|
+
function t() {
|
|
220
|
+
var r = e !== null && e.apply(this, arguments) || this;
|
|
221
|
+
return r.type = y.ElementType.CDATA, r;
|
|
222
|
+
}
|
|
223
|
+
return Object.defineProperty(t.prototype, "nodeType", {
|
|
224
|
+
get: function() {
|
|
225
|
+
return 4;
|
|
226
|
+
},
|
|
227
|
+
enumerable: !1,
|
|
228
|
+
configurable: !0
|
|
229
|
+
}), t;
|
|
230
|
+
}(j)
|
|
231
|
+
);
|
|
232
|
+
p.CDATA = Ae;
|
|
233
|
+
var Se = (
|
|
234
|
+
/** @class */
|
|
235
|
+
function(e) {
|
|
236
|
+
R(t, e);
|
|
237
|
+
function t() {
|
|
238
|
+
var r = e !== null && e.apply(this, arguments) || this;
|
|
239
|
+
return r.type = y.ElementType.Root, r;
|
|
240
|
+
}
|
|
241
|
+
return Object.defineProperty(t.prototype, "nodeType", {
|
|
242
|
+
get: function() {
|
|
243
|
+
return 9;
|
|
244
|
+
},
|
|
245
|
+
enumerable: !1,
|
|
246
|
+
configurable: !0
|
|
247
|
+
}), t;
|
|
248
|
+
}(j)
|
|
249
|
+
);
|
|
250
|
+
p.Document = Se;
|
|
251
|
+
var Oe = (
|
|
252
|
+
/** @class */
|
|
253
|
+
function(e) {
|
|
254
|
+
R(t, e);
|
|
255
|
+
function t(r, n, i, s) {
|
|
256
|
+
i === void 0 && (i = []), s === void 0 && (s = r === "script" ? y.ElementType.Script : r === "style" ? y.ElementType.Style : y.ElementType.Tag);
|
|
257
|
+
var f = e.call(this, i) || this;
|
|
258
|
+
return f.name = r, f.attribs = n, f.type = s, f;
|
|
259
|
+
}
|
|
260
|
+
return Object.defineProperty(t.prototype, "nodeType", {
|
|
261
|
+
get: function() {
|
|
262
|
+
return 1;
|
|
263
|
+
},
|
|
264
|
+
enumerable: !1,
|
|
265
|
+
configurable: !0
|
|
266
|
+
}), Object.defineProperty(t.prototype, "tagName", {
|
|
267
|
+
// DOM Level 1 aliases
|
|
268
|
+
/**
|
|
269
|
+
* Same as {@link name}.
|
|
270
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
271
|
+
*/
|
|
272
|
+
get: function() {
|
|
273
|
+
return this.name;
|
|
274
|
+
},
|
|
275
|
+
set: function(r) {
|
|
276
|
+
this.name = r;
|
|
277
|
+
},
|
|
278
|
+
enumerable: !1,
|
|
279
|
+
configurable: !0
|
|
280
|
+
}), Object.defineProperty(t.prototype, "attributes", {
|
|
281
|
+
get: function() {
|
|
282
|
+
var r = this;
|
|
283
|
+
return Object.keys(this.attribs).map(function(n) {
|
|
284
|
+
var i, s;
|
|
285
|
+
return {
|
|
286
|
+
name: n,
|
|
287
|
+
value: r.attribs[n],
|
|
288
|
+
namespace: (i = r["x-attribsNamespace"]) === null || i === void 0 ? void 0 : i[n],
|
|
289
|
+
prefix: (s = r["x-attribsPrefix"]) === null || s === void 0 ? void 0 : s[n]
|
|
290
|
+
};
|
|
291
|
+
});
|
|
292
|
+
},
|
|
293
|
+
enumerable: !1,
|
|
294
|
+
configurable: !0
|
|
295
|
+
}), t;
|
|
296
|
+
}(j)
|
|
297
|
+
);
|
|
298
|
+
p.Element = Oe;
|
|
299
|
+
function ke(e) {
|
|
300
|
+
return (0, y.isTag)(e);
|
|
301
|
+
}
|
|
302
|
+
p.isTag = ke;
|
|
303
|
+
function we(e) {
|
|
304
|
+
return e.type === y.ElementType.CDATA;
|
|
305
|
+
}
|
|
306
|
+
p.isCDATA = we;
|
|
307
|
+
function Pe(e) {
|
|
308
|
+
return e.type === y.ElementType.Text;
|
|
309
|
+
}
|
|
310
|
+
p.isText = Pe;
|
|
311
|
+
function Ne(e) {
|
|
312
|
+
return e.type === y.ElementType.Comment;
|
|
313
|
+
}
|
|
314
|
+
p.isComment = Ne;
|
|
315
|
+
function Ie(e) {
|
|
316
|
+
return e.type === y.ElementType.Directive;
|
|
317
|
+
}
|
|
318
|
+
p.isDirective = Ie;
|
|
319
|
+
function De(e) {
|
|
320
|
+
return e.type === y.ElementType.Root;
|
|
321
|
+
}
|
|
322
|
+
p.isDocument = De;
|
|
323
|
+
function Ve(e) {
|
|
324
|
+
return Object.prototype.hasOwnProperty.call(e, "children");
|
|
325
|
+
}
|
|
326
|
+
p.hasChildren = Ve;
|
|
327
|
+
function Q(e, t) {
|
|
328
|
+
t === void 0 && (t = !1);
|
|
329
|
+
var r;
|
|
330
|
+
if (Pe(e))
|
|
331
|
+
r = new Re(e.data);
|
|
332
|
+
else if (Ne(e))
|
|
333
|
+
r = new be(e.data);
|
|
334
|
+
else if (ke(e)) {
|
|
335
|
+
var n = t ? z(e.children) : [], i = new Oe(e.name, O({}, e.attribs), n);
|
|
336
|
+
n.forEach(function(a) {
|
|
337
|
+
return a.parent = i;
|
|
338
|
+
}), e.namespace != null && (i.namespace = e.namespace), e["x-attribsNamespace"] && (i["x-attribsNamespace"] = O({}, e["x-attribsNamespace"])), e["x-attribsPrefix"] && (i["x-attribsPrefix"] = O({}, e["x-attribsPrefix"])), r = i;
|
|
339
|
+
} else if (we(e)) {
|
|
340
|
+
var n = t ? z(e.children) : [], s = new Ae(n);
|
|
341
|
+
n.forEach(function(o) {
|
|
342
|
+
return o.parent = s;
|
|
343
|
+
}), r = s;
|
|
344
|
+
} else if (De(e)) {
|
|
345
|
+
var n = t ? z(e.children) : [], f = new Se(n);
|
|
346
|
+
n.forEach(function(o) {
|
|
347
|
+
return o.parent = f;
|
|
348
|
+
}), e["x-mode"] && (f["x-mode"] = e["x-mode"]), r = f;
|
|
349
|
+
} else if (Ie(e)) {
|
|
350
|
+
var l = new Ce(e.name, e.data);
|
|
351
|
+
e["x-name"] != null && (l["x-name"] = e["x-name"], l["x-publicId"] = e["x-publicId"], l["x-systemId"] = e["x-systemId"]), r = l;
|
|
352
|
+
} else
|
|
353
|
+
throw new Error("Not implemented yet: ".concat(e.type));
|
|
354
|
+
return r.startIndex = e.startIndex, r.endIndex = e.endIndex, e.sourceCodeLocation != null && (r.sourceCodeLocation = e.sourceCodeLocation), r;
|
|
355
|
+
}
|
|
356
|
+
p.cloneNode = Q;
|
|
357
|
+
function z(e) {
|
|
358
|
+
for (var t = e.map(function(n) {
|
|
359
|
+
return Q(n, !0);
|
|
360
|
+
}), r = 1; r < t.length; r++)
|
|
361
|
+
t[r].prev = t[r - 1], t[r - 1].next = t[r];
|
|
362
|
+
return t;
|
|
363
|
+
}
|
|
364
|
+
(function(e) {
|
|
365
|
+
var t = m && m.__createBinding || (Object.create ? function(l, a, o, c) {
|
|
366
|
+
c === void 0 && (c = o);
|
|
367
|
+
var d = Object.getOwnPropertyDescriptor(a, o);
|
|
368
|
+
(!d || ("get" in d ? !a.__esModule : d.writable || d.configurable)) && (d = { enumerable: !0, get: function() {
|
|
369
|
+
return a[o];
|
|
370
|
+
} }), Object.defineProperty(l, c, d);
|
|
371
|
+
} : function(l, a, o, c) {
|
|
372
|
+
c === void 0 && (c = o), l[c] = a[o];
|
|
373
|
+
}), r = m && m.__exportStar || function(l, a) {
|
|
374
|
+
for (var o in l) o !== "default" && !Object.prototype.hasOwnProperty.call(a, o) && t(a, l, o);
|
|
375
|
+
};
|
|
376
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.DomHandler = void 0;
|
|
377
|
+
var n = K, i = p;
|
|
378
|
+
r(p, e);
|
|
379
|
+
var s = {
|
|
380
|
+
withStartIndices: !1,
|
|
381
|
+
withEndIndices: !1,
|
|
382
|
+
xmlMode: !1
|
|
383
|
+
}, f = (
|
|
384
|
+
/** @class */
|
|
385
|
+
function() {
|
|
386
|
+
function l(a, o, c) {
|
|
387
|
+
this.dom = [], this.root = new i.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof o == "function" && (c = o, o = s), typeof a == "object" && (o = a, a = void 0), this.callback = a ?? null, this.options = o ?? s, this.elementCB = c ?? null;
|
|
388
|
+
}
|
|
389
|
+
return l.prototype.onparserinit = function(a) {
|
|
390
|
+
this.parser = a;
|
|
391
|
+
}, l.prototype.onreset = function() {
|
|
392
|
+
this.dom = [], this.root = new i.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
|
|
393
|
+
}, l.prototype.onend = function() {
|
|
394
|
+
this.done || (this.done = !0, this.parser = null, this.handleCallback(null));
|
|
395
|
+
}, l.prototype.onerror = function(a) {
|
|
396
|
+
this.handleCallback(a);
|
|
397
|
+
}, l.prototype.onclosetag = function() {
|
|
398
|
+
this.lastNode = null;
|
|
399
|
+
var a = this.tagStack.pop();
|
|
400
|
+
this.options.withEndIndices && (a.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(a);
|
|
401
|
+
}, l.prototype.onopentag = function(a, o) {
|
|
402
|
+
var c = this.options.xmlMode ? n.ElementType.Tag : void 0, d = new i.Element(a, o, void 0, c);
|
|
403
|
+
this.addNode(d), this.tagStack.push(d);
|
|
404
|
+
}, l.prototype.ontext = function(a) {
|
|
405
|
+
var o = this.lastNode;
|
|
406
|
+
if (o && o.type === n.ElementType.Text)
|
|
407
|
+
o.data += a, this.options.withEndIndices && (o.endIndex = this.parser.endIndex);
|
|
408
|
+
else {
|
|
409
|
+
var c = new i.Text(a);
|
|
410
|
+
this.addNode(c), this.lastNode = c;
|
|
411
|
+
}
|
|
412
|
+
}, l.prototype.oncomment = function(a) {
|
|
413
|
+
if (this.lastNode && this.lastNode.type === n.ElementType.Comment) {
|
|
414
|
+
this.lastNode.data += a;
|
|
415
|
+
return;
|
|
416
|
+
}
|
|
417
|
+
var o = new i.Comment(a);
|
|
418
|
+
this.addNode(o), this.lastNode = o;
|
|
419
|
+
}, l.prototype.oncommentend = function() {
|
|
420
|
+
this.lastNode = null;
|
|
421
|
+
}, l.prototype.oncdatastart = function() {
|
|
422
|
+
var a = new i.Text(""), o = new i.CDATA([a]);
|
|
423
|
+
this.addNode(o), a.parent = o, this.lastNode = a;
|
|
424
|
+
}, l.prototype.oncdataend = function() {
|
|
425
|
+
this.lastNode = null;
|
|
426
|
+
}, l.prototype.onprocessinginstruction = function(a, o) {
|
|
427
|
+
var c = new i.ProcessingInstruction(a, o);
|
|
428
|
+
this.addNode(c);
|
|
429
|
+
}, l.prototype.handleCallback = function(a) {
|
|
430
|
+
if (typeof this.callback == "function")
|
|
431
|
+
this.callback(a, this.dom);
|
|
432
|
+
else if (a)
|
|
433
|
+
throw a;
|
|
434
|
+
}, l.prototype.addNode = function(a) {
|
|
435
|
+
var o = this.tagStack[this.tagStack.length - 1], c = o.children[o.children.length - 1];
|
|
436
|
+
this.options.withStartIndices && (a.startIndex = this.parser.startIndex), this.options.withEndIndices && (a.endIndex = this.parser.endIndex), o.children.push(a), c && (a.prev = c, c.next = a), a.parent = o, this.lastNode = null;
|
|
437
|
+
}, l;
|
|
438
|
+
}()
|
|
439
|
+
);
|
|
440
|
+
e.DomHandler = f, e.default = f;
|
|
441
|
+
})(Z);
|
|
442
|
+
var xe = {};
|
|
443
|
+
(function(e) {
|
|
444
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = e.CARRIAGE_RETURN_PLACEHOLDER = e.CARRIAGE_RETURN_REGEX = e.CARRIAGE_RETURN = e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES = void 0, e.CASE_SENSITIVE_TAG_NAMES = [
|
|
445
|
+
"animateMotion",
|
|
446
|
+
"animateTransform",
|
|
447
|
+
"clipPath",
|
|
448
|
+
"feBlend",
|
|
449
|
+
"feColorMatrix",
|
|
450
|
+
"feComponentTransfer",
|
|
451
|
+
"feComposite",
|
|
452
|
+
"feConvolveMatrix",
|
|
453
|
+
"feDiffuseLighting",
|
|
454
|
+
"feDisplacementMap",
|
|
455
|
+
"feDropShadow",
|
|
456
|
+
"feFlood",
|
|
457
|
+
"feFuncA",
|
|
458
|
+
"feFuncB",
|
|
459
|
+
"feFuncG",
|
|
460
|
+
"feFuncR",
|
|
461
|
+
"feGaussianBlur",
|
|
462
|
+
"feImage",
|
|
463
|
+
"feMerge",
|
|
464
|
+
"feMergeNode",
|
|
465
|
+
"feMorphology",
|
|
466
|
+
"feOffset",
|
|
467
|
+
"fePointLight",
|
|
468
|
+
"feSpecularLighting",
|
|
469
|
+
"feSpotLight",
|
|
470
|
+
"feTile",
|
|
471
|
+
"feTurbulence",
|
|
472
|
+
"foreignObject",
|
|
473
|
+
"linearGradient",
|
|
474
|
+
"radialGradient",
|
|
475
|
+
"textPath"
|
|
476
|
+
], e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t, r) {
|
|
477
|
+
return t[r.toLowerCase()] = r, t;
|
|
478
|
+
}, {}), e.CARRIAGE_RETURN = "\r", e.CARRIAGE_RETURN_REGEX = new RegExp(e.CARRIAGE_RETURN, "g"), e.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(), "__"), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER, "g");
|
|
479
|
+
})(xe);
|
|
480
|
+
Object.defineProperty(A, "__esModule", { value: !0 });
|
|
481
|
+
A.formatAttributes = Me;
|
|
482
|
+
A.escapeSpecialCharacters = We;
|
|
483
|
+
A.revertEscapedCharacters = Le;
|
|
484
|
+
A.formatDOM = je;
|
|
485
|
+
var N = Z, w = xe;
|
|
486
|
+
function Xe(e) {
|
|
487
|
+
return w.CASE_SENSITIVE_TAG_NAMES_MAP[e];
|
|
488
|
+
}
|
|
489
|
+
function Me(e) {
|
|
490
|
+
for (var t = {}, r = 0, n = e.length; r < n; r++) {
|
|
491
|
+
var i = e[r];
|
|
492
|
+
t[i.name] = i.value;
|
|
493
|
+
}
|
|
494
|
+
return t;
|
|
495
|
+
}
|
|
496
|
+
function $e(e) {
|
|
497
|
+
e = e.toLowerCase();
|
|
498
|
+
var t = Xe(e);
|
|
499
|
+
return t || e;
|
|
500
|
+
}
|
|
501
|
+
function We(e) {
|
|
502
|
+
return e.replace(w.CARRIAGE_RETURN_REGEX, w.CARRIAGE_RETURN_PLACEHOLDER);
|
|
503
|
+
}
|
|
504
|
+
function Le(e) {
|
|
505
|
+
return e.replace(w.CARRIAGE_RETURN_PLACEHOLDER_REGEX, w.CARRIAGE_RETURN);
|
|
506
|
+
}
|
|
507
|
+
function je(e, t, r) {
|
|
508
|
+
t === void 0 && (t = null);
|
|
509
|
+
for (var n = [], i, s = 0, f = e.length; s < f; s++) {
|
|
510
|
+
var l = e[s];
|
|
511
|
+
switch (l.nodeType) {
|
|
512
|
+
case 1: {
|
|
513
|
+
var a = $e(l.nodeName);
|
|
514
|
+
i = new N.Element(a, Me(l.attributes)), i.children = je(
|
|
515
|
+
// template children are on content
|
|
516
|
+
a === "template" ? l.content.childNodes : l.childNodes,
|
|
517
|
+
i
|
|
518
|
+
);
|
|
519
|
+
break;
|
|
520
|
+
}
|
|
521
|
+
case 3:
|
|
522
|
+
i = new N.Text(Le(l.nodeValue));
|
|
523
|
+
break;
|
|
524
|
+
case 8:
|
|
525
|
+
i = new N.Comment(l.nodeValue);
|
|
526
|
+
break;
|
|
527
|
+
default:
|
|
528
|
+
continue;
|
|
529
|
+
}
|
|
530
|
+
var o = n[s - 1] || null;
|
|
531
|
+
o && (o.next = i), i.parent = t, i.prev = o, i.next = null, n.push(i);
|
|
532
|
+
}
|
|
533
|
+
return r && (i = new N.ProcessingInstruction(r.substring(0, r.indexOf(" ")).toLowerCase(), r), i.next = n[0] || null, i.parent = t, n.unshift(i), n[1] && (n[1].prev = n[0])), n;
|
|
534
|
+
}
|
|
535
|
+
Object.defineProperty(Y, "__esModule", { value: !0 });
|
|
536
|
+
Y.default = Je;
|
|
537
|
+
var qe = A, oe = "html", le = "head", I = "body", Ye = /<([a-zA-Z]+[0-9]?)/, se = /<head[^]*>/i, ce = /<body[^]*>/i, M = function(e, t) {
|
|
538
|
+
throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
|
|
539
|
+
}, X = function(e, t) {
|
|
540
|
+
throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
|
|
541
|
+
}, ue = typeof window == "object" && window.DOMParser;
|
|
542
|
+
if (typeof ue == "function") {
|
|
543
|
+
var Ze = new ue(), Ke = "text/html";
|
|
544
|
+
X = function(e, t) {
|
|
545
|
+
return t && (e = "<".concat(t, ">").concat(e, "</").concat(t, ">")), Ze.parseFromString(e, Ke);
|
|
546
|
+
}, M = X;
|
|
547
|
+
}
|
|
548
|
+
if (typeof document == "object" && document.implementation) {
|
|
549
|
+
var D = document.implementation.createHTMLDocument();
|
|
550
|
+
M = function(e, t) {
|
|
551
|
+
if (t) {
|
|
552
|
+
var r = D.documentElement.querySelector(t);
|
|
553
|
+
return r && (r.innerHTML = e), D;
|
|
554
|
+
}
|
|
555
|
+
return D.documentElement.innerHTML = e, D;
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
var x = typeof document == "object" && document.createElement("template"), $;
|
|
559
|
+
x && x.content && ($ = function(e) {
|
|
560
|
+
return x.innerHTML = e, x.content.childNodes;
|
|
561
|
+
});
|
|
562
|
+
function Je(e) {
|
|
563
|
+
var t, r;
|
|
564
|
+
e = (0, qe.escapeSpecialCharacters)(e);
|
|
565
|
+
var n = e.match(Ye), i = n && n[1] ? n[1].toLowerCase() : "";
|
|
566
|
+
switch (i) {
|
|
567
|
+
case oe: {
|
|
568
|
+
var s = X(e);
|
|
569
|
+
if (!se.test(e)) {
|
|
570
|
+
var f = s.querySelector(le);
|
|
571
|
+
(t = f == null ? void 0 : f.parentNode) === null || t === void 0 || t.removeChild(f);
|
|
572
|
+
}
|
|
573
|
+
if (!ce.test(e)) {
|
|
574
|
+
var f = s.querySelector(I);
|
|
575
|
+
(r = f == null ? void 0 : f.parentNode) === null || r === void 0 || r.removeChild(f);
|
|
576
|
+
}
|
|
577
|
+
return s.querySelectorAll(oe);
|
|
578
|
+
}
|
|
579
|
+
case le:
|
|
580
|
+
case I: {
|
|
581
|
+
var l = M(e).querySelectorAll(i);
|
|
582
|
+
return ce.test(e) && se.test(e) ? l[0].parentNode.childNodes : l;
|
|
583
|
+
}
|
|
584
|
+
default: {
|
|
585
|
+
if ($)
|
|
586
|
+
return $(e);
|
|
587
|
+
var f = M(e, I).querySelector(I);
|
|
588
|
+
return f.childNodes;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
var Qe = m && m.__importDefault || function(e) {
|
|
593
|
+
return e && e.__esModule ? e : { default: e };
|
|
594
|
+
};
|
|
595
|
+
Object.defineProperty(q, "__esModule", { value: !0 });
|
|
596
|
+
q.default = nt;
|
|
597
|
+
var et = Qe(Y), tt = A, rt = /<(![a-zA-Z\s]+)>/;
|
|
598
|
+
function nt(e) {
|
|
599
|
+
if (typeof e != "string")
|
|
600
|
+
throw new TypeError("First argument must be a string");
|
|
601
|
+
if (!e)
|
|
602
|
+
return [];
|
|
603
|
+
var t = e.match(rt), r = t ? t[1] : void 0;
|
|
604
|
+
return (0, tt.formatDOM)((0, et.default)(e), null, r);
|
|
605
|
+
}
|
|
606
|
+
var H = {}, _ = {}, F = {}, it = 0;
|
|
607
|
+
F.SAME = it;
|
|
608
|
+
var at = 1;
|
|
609
|
+
F.CAMELCASE = at;
|
|
610
|
+
F.possibleStandardNames = {
|
|
611
|
+
accept: 0,
|
|
612
|
+
acceptCharset: 1,
|
|
613
|
+
"accept-charset": "acceptCharset",
|
|
614
|
+
accessKey: 1,
|
|
615
|
+
action: 0,
|
|
616
|
+
allowFullScreen: 1,
|
|
617
|
+
alt: 0,
|
|
618
|
+
as: 0,
|
|
619
|
+
async: 0,
|
|
620
|
+
autoCapitalize: 1,
|
|
621
|
+
autoComplete: 1,
|
|
622
|
+
autoCorrect: 1,
|
|
623
|
+
autoFocus: 1,
|
|
624
|
+
autoPlay: 1,
|
|
625
|
+
autoSave: 1,
|
|
626
|
+
capture: 0,
|
|
627
|
+
cellPadding: 1,
|
|
628
|
+
cellSpacing: 1,
|
|
629
|
+
challenge: 0,
|
|
630
|
+
charSet: 1,
|
|
631
|
+
checked: 0,
|
|
632
|
+
children: 0,
|
|
633
|
+
cite: 0,
|
|
634
|
+
class: "className",
|
|
635
|
+
classID: 1,
|
|
636
|
+
className: 1,
|
|
637
|
+
cols: 0,
|
|
638
|
+
colSpan: 1,
|
|
639
|
+
content: 0,
|
|
640
|
+
contentEditable: 1,
|
|
641
|
+
contextMenu: 1,
|
|
642
|
+
controls: 0,
|
|
643
|
+
controlsList: 1,
|
|
644
|
+
coords: 0,
|
|
645
|
+
crossOrigin: 1,
|
|
646
|
+
dangerouslySetInnerHTML: 1,
|
|
647
|
+
data: 0,
|
|
648
|
+
dateTime: 1,
|
|
649
|
+
default: 0,
|
|
650
|
+
defaultChecked: 1,
|
|
651
|
+
defaultValue: 1,
|
|
652
|
+
defer: 0,
|
|
653
|
+
dir: 0,
|
|
654
|
+
disabled: 0,
|
|
655
|
+
disablePictureInPicture: 1,
|
|
656
|
+
disableRemotePlayback: 1,
|
|
657
|
+
download: 0,
|
|
658
|
+
draggable: 0,
|
|
659
|
+
encType: 1,
|
|
660
|
+
enterKeyHint: 1,
|
|
661
|
+
for: "htmlFor",
|
|
662
|
+
form: 0,
|
|
663
|
+
formMethod: 1,
|
|
664
|
+
formAction: 1,
|
|
665
|
+
formEncType: 1,
|
|
666
|
+
formNoValidate: 1,
|
|
667
|
+
formTarget: 1,
|
|
668
|
+
frameBorder: 1,
|
|
669
|
+
headers: 0,
|
|
670
|
+
height: 0,
|
|
671
|
+
hidden: 0,
|
|
672
|
+
high: 0,
|
|
673
|
+
href: 0,
|
|
674
|
+
hrefLang: 1,
|
|
675
|
+
htmlFor: 1,
|
|
676
|
+
httpEquiv: 1,
|
|
677
|
+
"http-equiv": "httpEquiv",
|
|
678
|
+
icon: 0,
|
|
679
|
+
id: 0,
|
|
680
|
+
innerHTML: 1,
|
|
681
|
+
inputMode: 1,
|
|
682
|
+
integrity: 0,
|
|
683
|
+
is: 0,
|
|
684
|
+
itemID: 1,
|
|
685
|
+
itemProp: 1,
|
|
686
|
+
itemRef: 1,
|
|
687
|
+
itemScope: 1,
|
|
688
|
+
itemType: 1,
|
|
689
|
+
keyParams: 1,
|
|
690
|
+
keyType: 1,
|
|
691
|
+
kind: 0,
|
|
692
|
+
label: 0,
|
|
693
|
+
lang: 0,
|
|
694
|
+
list: 0,
|
|
695
|
+
loop: 0,
|
|
696
|
+
low: 0,
|
|
697
|
+
manifest: 0,
|
|
698
|
+
marginWidth: 1,
|
|
699
|
+
marginHeight: 1,
|
|
700
|
+
max: 0,
|
|
701
|
+
maxLength: 1,
|
|
702
|
+
media: 0,
|
|
703
|
+
mediaGroup: 1,
|
|
704
|
+
method: 0,
|
|
705
|
+
min: 0,
|
|
706
|
+
minLength: 1,
|
|
707
|
+
multiple: 0,
|
|
708
|
+
muted: 0,
|
|
709
|
+
name: 0,
|
|
710
|
+
noModule: 1,
|
|
711
|
+
nonce: 0,
|
|
712
|
+
noValidate: 1,
|
|
713
|
+
open: 0,
|
|
714
|
+
optimum: 0,
|
|
715
|
+
pattern: 0,
|
|
716
|
+
placeholder: 0,
|
|
717
|
+
playsInline: 1,
|
|
718
|
+
poster: 0,
|
|
719
|
+
preload: 0,
|
|
720
|
+
profile: 0,
|
|
721
|
+
radioGroup: 1,
|
|
722
|
+
readOnly: 1,
|
|
723
|
+
referrerPolicy: 1,
|
|
724
|
+
rel: 0,
|
|
725
|
+
required: 0,
|
|
726
|
+
reversed: 0,
|
|
727
|
+
role: 0,
|
|
728
|
+
rows: 0,
|
|
729
|
+
rowSpan: 1,
|
|
730
|
+
sandbox: 0,
|
|
731
|
+
scope: 0,
|
|
732
|
+
scoped: 0,
|
|
733
|
+
scrolling: 0,
|
|
734
|
+
seamless: 0,
|
|
735
|
+
selected: 0,
|
|
736
|
+
shape: 0,
|
|
737
|
+
size: 0,
|
|
738
|
+
sizes: 0,
|
|
739
|
+
span: 0,
|
|
740
|
+
spellCheck: 1,
|
|
741
|
+
src: 0,
|
|
742
|
+
srcDoc: 1,
|
|
743
|
+
srcLang: 1,
|
|
744
|
+
srcSet: 1,
|
|
745
|
+
start: 0,
|
|
746
|
+
step: 0,
|
|
747
|
+
style: 0,
|
|
748
|
+
summary: 0,
|
|
749
|
+
tabIndex: 1,
|
|
750
|
+
target: 0,
|
|
751
|
+
title: 0,
|
|
752
|
+
type: 0,
|
|
753
|
+
useMap: 1,
|
|
754
|
+
value: 0,
|
|
755
|
+
width: 0,
|
|
756
|
+
wmode: 0,
|
|
757
|
+
wrap: 0,
|
|
758
|
+
about: 0,
|
|
759
|
+
accentHeight: 1,
|
|
760
|
+
"accent-height": "accentHeight",
|
|
761
|
+
accumulate: 0,
|
|
762
|
+
additive: 0,
|
|
763
|
+
alignmentBaseline: 1,
|
|
764
|
+
"alignment-baseline": "alignmentBaseline",
|
|
765
|
+
allowReorder: 1,
|
|
766
|
+
alphabetic: 0,
|
|
767
|
+
amplitude: 0,
|
|
768
|
+
arabicForm: 1,
|
|
769
|
+
"arabic-form": "arabicForm",
|
|
770
|
+
ascent: 0,
|
|
771
|
+
attributeName: 1,
|
|
772
|
+
attributeType: 1,
|
|
773
|
+
autoReverse: 1,
|
|
774
|
+
azimuth: 0,
|
|
775
|
+
baseFrequency: 1,
|
|
776
|
+
baselineShift: 1,
|
|
777
|
+
"baseline-shift": "baselineShift",
|
|
778
|
+
baseProfile: 1,
|
|
779
|
+
bbox: 0,
|
|
780
|
+
begin: 0,
|
|
781
|
+
bias: 0,
|
|
782
|
+
by: 0,
|
|
783
|
+
calcMode: 1,
|
|
784
|
+
capHeight: 1,
|
|
785
|
+
"cap-height": "capHeight",
|
|
786
|
+
clip: 0,
|
|
787
|
+
clipPath: 1,
|
|
788
|
+
"clip-path": "clipPath",
|
|
789
|
+
clipPathUnits: 1,
|
|
790
|
+
clipRule: 1,
|
|
791
|
+
"clip-rule": "clipRule",
|
|
792
|
+
color: 0,
|
|
793
|
+
colorInterpolation: 1,
|
|
794
|
+
"color-interpolation": "colorInterpolation",
|
|
795
|
+
colorInterpolationFilters: 1,
|
|
796
|
+
"color-interpolation-filters": "colorInterpolationFilters",
|
|
797
|
+
colorProfile: 1,
|
|
798
|
+
"color-profile": "colorProfile",
|
|
799
|
+
colorRendering: 1,
|
|
800
|
+
"color-rendering": "colorRendering",
|
|
801
|
+
contentScriptType: 1,
|
|
802
|
+
contentStyleType: 1,
|
|
803
|
+
cursor: 0,
|
|
804
|
+
cx: 0,
|
|
805
|
+
cy: 0,
|
|
806
|
+
d: 0,
|
|
807
|
+
datatype: 0,
|
|
808
|
+
decelerate: 0,
|
|
809
|
+
descent: 0,
|
|
810
|
+
diffuseConstant: 1,
|
|
811
|
+
direction: 0,
|
|
812
|
+
display: 0,
|
|
813
|
+
divisor: 0,
|
|
814
|
+
dominantBaseline: 1,
|
|
815
|
+
"dominant-baseline": "dominantBaseline",
|
|
816
|
+
dur: 0,
|
|
817
|
+
dx: 0,
|
|
818
|
+
dy: 0,
|
|
819
|
+
edgeMode: 1,
|
|
820
|
+
elevation: 0,
|
|
821
|
+
enableBackground: 1,
|
|
822
|
+
"enable-background": "enableBackground",
|
|
823
|
+
end: 0,
|
|
824
|
+
exponent: 0,
|
|
825
|
+
externalResourcesRequired: 1,
|
|
826
|
+
fill: 0,
|
|
827
|
+
fillOpacity: 1,
|
|
828
|
+
"fill-opacity": "fillOpacity",
|
|
829
|
+
fillRule: 1,
|
|
830
|
+
"fill-rule": "fillRule",
|
|
831
|
+
filter: 0,
|
|
832
|
+
filterRes: 1,
|
|
833
|
+
filterUnits: 1,
|
|
834
|
+
floodOpacity: 1,
|
|
835
|
+
"flood-opacity": "floodOpacity",
|
|
836
|
+
floodColor: 1,
|
|
837
|
+
"flood-color": "floodColor",
|
|
838
|
+
focusable: 0,
|
|
839
|
+
fontFamily: 1,
|
|
840
|
+
"font-family": "fontFamily",
|
|
841
|
+
fontSize: 1,
|
|
842
|
+
"font-size": "fontSize",
|
|
843
|
+
fontSizeAdjust: 1,
|
|
844
|
+
"font-size-adjust": "fontSizeAdjust",
|
|
845
|
+
fontStretch: 1,
|
|
846
|
+
"font-stretch": "fontStretch",
|
|
847
|
+
fontStyle: 1,
|
|
848
|
+
"font-style": "fontStyle",
|
|
849
|
+
fontVariant: 1,
|
|
850
|
+
"font-variant": "fontVariant",
|
|
851
|
+
fontWeight: 1,
|
|
852
|
+
"font-weight": "fontWeight",
|
|
853
|
+
format: 0,
|
|
854
|
+
from: 0,
|
|
855
|
+
fx: 0,
|
|
856
|
+
fy: 0,
|
|
857
|
+
g1: 0,
|
|
858
|
+
g2: 0,
|
|
859
|
+
glyphName: 1,
|
|
860
|
+
"glyph-name": "glyphName",
|
|
861
|
+
glyphOrientationHorizontal: 1,
|
|
862
|
+
"glyph-orientation-horizontal": "glyphOrientationHorizontal",
|
|
863
|
+
glyphOrientationVertical: 1,
|
|
864
|
+
"glyph-orientation-vertical": "glyphOrientationVertical",
|
|
865
|
+
glyphRef: 1,
|
|
866
|
+
gradientTransform: 1,
|
|
867
|
+
gradientUnits: 1,
|
|
868
|
+
hanging: 0,
|
|
869
|
+
horizAdvX: 1,
|
|
870
|
+
"horiz-adv-x": "horizAdvX",
|
|
871
|
+
horizOriginX: 1,
|
|
872
|
+
"horiz-origin-x": "horizOriginX",
|
|
873
|
+
ideographic: 0,
|
|
874
|
+
imageRendering: 1,
|
|
875
|
+
"image-rendering": "imageRendering",
|
|
876
|
+
in2: 0,
|
|
877
|
+
in: 0,
|
|
878
|
+
inlist: 0,
|
|
879
|
+
intercept: 0,
|
|
880
|
+
k1: 0,
|
|
881
|
+
k2: 0,
|
|
882
|
+
k3: 0,
|
|
883
|
+
k4: 0,
|
|
884
|
+
k: 0,
|
|
885
|
+
kernelMatrix: 1,
|
|
886
|
+
kernelUnitLength: 1,
|
|
887
|
+
kerning: 0,
|
|
888
|
+
keyPoints: 1,
|
|
889
|
+
keySplines: 1,
|
|
890
|
+
keyTimes: 1,
|
|
891
|
+
lengthAdjust: 1,
|
|
892
|
+
letterSpacing: 1,
|
|
893
|
+
"letter-spacing": "letterSpacing",
|
|
894
|
+
lightingColor: 1,
|
|
895
|
+
"lighting-color": "lightingColor",
|
|
896
|
+
limitingConeAngle: 1,
|
|
897
|
+
local: 0,
|
|
898
|
+
markerEnd: 1,
|
|
899
|
+
"marker-end": "markerEnd",
|
|
900
|
+
markerHeight: 1,
|
|
901
|
+
markerMid: 1,
|
|
902
|
+
"marker-mid": "markerMid",
|
|
903
|
+
markerStart: 1,
|
|
904
|
+
"marker-start": "markerStart",
|
|
905
|
+
markerUnits: 1,
|
|
906
|
+
markerWidth: 1,
|
|
907
|
+
mask: 0,
|
|
908
|
+
maskContentUnits: 1,
|
|
909
|
+
maskUnits: 1,
|
|
910
|
+
mathematical: 0,
|
|
911
|
+
mode: 0,
|
|
912
|
+
numOctaves: 1,
|
|
913
|
+
offset: 0,
|
|
914
|
+
opacity: 0,
|
|
915
|
+
operator: 0,
|
|
916
|
+
order: 0,
|
|
917
|
+
orient: 0,
|
|
918
|
+
orientation: 0,
|
|
919
|
+
origin: 0,
|
|
920
|
+
overflow: 0,
|
|
921
|
+
overlinePosition: 1,
|
|
922
|
+
"overline-position": "overlinePosition",
|
|
923
|
+
overlineThickness: 1,
|
|
924
|
+
"overline-thickness": "overlineThickness",
|
|
925
|
+
paintOrder: 1,
|
|
926
|
+
"paint-order": "paintOrder",
|
|
927
|
+
panose1: 0,
|
|
928
|
+
"panose-1": "panose1",
|
|
929
|
+
pathLength: 1,
|
|
930
|
+
patternContentUnits: 1,
|
|
931
|
+
patternTransform: 1,
|
|
932
|
+
patternUnits: 1,
|
|
933
|
+
pointerEvents: 1,
|
|
934
|
+
"pointer-events": "pointerEvents",
|
|
935
|
+
points: 0,
|
|
936
|
+
pointsAtX: 1,
|
|
937
|
+
pointsAtY: 1,
|
|
938
|
+
pointsAtZ: 1,
|
|
939
|
+
prefix: 0,
|
|
940
|
+
preserveAlpha: 1,
|
|
941
|
+
preserveAspectRatio: 1,
|
|
942
|
+
primitiveUnits: 1,
|
|
943
|
+
property: 0,
|
|
944
|
+
r: 0,
|
|
945
|
+
radius: 0,
|
|
946
|
+
refX: 1,
|
|
947
|
+
refY: 1,
|
|
948
|
+
renderingIntent: 1,
|
|
949
|
+
"rendering-intent": "renderingIntent",
|
|
950
|
+
repeatCount: 1,
|
|
951
|
+
repeatDur: 1,
|
|
952
|
+
requiredExtensions: 1,
|
|
953
|
+
requiredFeatures: 1,
|
|
954
|
+
resource: 0,
|
|
955
|
+
restart: 0,
|
|
956
|
+
result: 0,
|
|
957
|
+
results: 0,
|
|
958
|
+
rotate: 0,
|
|
959
|
+
rx: 0,
|
|
960
|
+
ry: 0,
|
|
961
|
+
scale: 0,
|
|
962
|
+
security: 0,
|
|
963
|
+
seed: 0,
|
|
964
|
+
shapeRendering: 1,
|
|
965
|
+
"shape-rendering": "shapeRendering",
|
|
966
|
+
slope: 0,
|
|
967
|
+
spacing: 0,
|
|
968
|
+
specularConstant: 1,
|
|
969
|
+
specularExponent: 1,
|
|
970
|
+
speed: 0,
|
|
971
|
+
spreadMethod: 1,
|
|
972
|
+
startOffset: 1,
|
|
973
|
+
stdDeviation: 1,
|
|
974
|
+
stemh: 0,
|
|
975
|
+
stemv: 0,
|
|
976
|
+
stitchTiles: 1,
|
|
977
|
+
stopColor: 1,
|
|
978
|
+
"stop-color": "stopColor",
|
|
979
|
+
stopOpacity: 1,
|
|
980
|
+
"stop-opacity": "stopOpacity",
|
|
981
|
+
strikethroughPosition: 1,
|
|
982
|
+
"strikethrough-position": "strikethroughPosition",
|
|
983
|
+
strikethroughThickness: 1,
|
|
984
|
+
"strikethrough-thickness": "strikethroughThickness",
|
|
985
|
+
string: 0,
|
|
986
|
+
stroke: 0,
|
|
987
|
+
strokeDasharray: 1,
|
|
988
|
+
"stroke-dasharray": "strokeDasharray",
|
|
989
|
+
strokeDashoffset: 1,
|
|
990
|
+
"stroke-dashoffset": "strokeDashoffset",
|
|
991
|
+
strokeLinecap: 1,
|
|
992
|
+
"stroke-linecap": "strokeLinecap",
|
|
993
|
+
strokeLinejoin: 1,
|
|
994
|
+
"stroke-linejoin": "strokeLinejoin",
|
|
995
|
+
strokeMiterlimit: 1,
|
|
996
|
+
"stroke-miterlimit": "strokeMiterlimit",
|
|
997
|
+
strokeWidth: 1,
|
|
998
|
+
"stroke-width": "strokeWidth",
|
|
999
|
+
strokeOpacity: 1,
|
|
1000
|
+
"stroke-opacity": "strokeOpacity",
|
|
1001
|
+
suppressContentEditableWarning: 1,
|
|
1002
|
+
suppressHydrationWarning: 1,
|
|
1003
|
+
surfaceScale: 1,
|
|
1004
|
+
systemLanguage: 1,
|
|
1005
|
+
tableValues: 1,
|
|
1006
|
+
targetX: 1,
|
|
1007
|
+
targetY: 1,
|
|
1008
|
+
textAnchor: 1,
|
|
1009
|
+
"text-anchor": "textAnchor",
|
|
1010
|
+
textDecoration: 1,
|
|
1011
|
+
"text-decoration": "textDecoration",
|
|
1012
|
+
textLength: 1,
|
|
1013
|
+
textRendering: 1,
|
|
1014
|
+
"text-rendering": "textRendering",
|
|
1015
|
+
to: 0,
|
|
1016
|
+
transform: 0,
|
|
1017
|
+
typeof: 0,
|
|
1018
|
+
u1: 0,
|
|
1019
|
+
u2: 0,
|
|
1020
|
+
underlinePosition: 1,
|
|
1021
|
+
"underline-position": "underlinePosition",
|
|
1022
|
+
underlineThickness: 1,
|
|
1023
|
+
"underline-thickness": "underlineThickness",
|
|
1024
|
+
unicode: 0,
|
|
1025
|
+
unicodeBidi: 1,
|
|
1026
|
+
"unicode-bidi": "unicodeBidi",
|
|
1027
|
+
unicodeRange: 1,
|
|
1028
|
+
"unicode-range": "unicodeRange",
|
|
1029
|
+
unitsPerEm: 1,
|
|
1030
|
+
"units-per-em": "unitsPerEm",
|
|
1031
|
+
unselectable: 0,
|
|
1032
|
+
vAlphabetic: 1,
|
|
1033
|
+
"v-alphabetic": "vAlphabetic",
|
|
1034
|
+
values: 0,
|
|
1035
|
+
vectorEffect: 1,
|
|
1036
|
+
"vector-effect": "vectorEffect",
|
|
1037
|
+
version: 0,
|
|
1038
|
+
vertAdvY: 1,
|
|
1039
|
+
"vert-adv-y": "vertAdvY",
|
|
1040
|
+
vertOriginX: 1,
|
|
1041
|
+
"vert-origin-x": "vertOriginX",
|
|
1042
|
+
vertOriginY: 1,
|
|
1043
|
+
"vert-origin-y": "vertOriginY",
|
|
1044
|
+
vHanging: 1,
|
|
1045
|
+
"v-hanging": "vHanging",
|
|
1046
|
+
vIdeographic: 1,
|
|
1047
|
+
"v-ideographic": "vIdeographic",
|
|
1048
|
+
viewBox: 1,
|
|
1049
|
+
viewTarget: 1,
|
|
1050
|
+
visibility: 0,
|
|
1051
|
+
vMathematical: 1,
|
|
1052
|
+
"v-mathematical": "vMathematical",
|
|
1053
|
+
vocab: 0,
|
|
1054
|
+
widths: 0,
|
|
1055
|
+
wordSpacing: 1,
|
|
1056
|
+
"word-spacing": "wordSpacing",
|
|
1057
|
+
writingMode: 1,
|
|
1058
|
+
"writing-mode": "writingMode",
|
|
1059
|
+
x1: 0,
|
|
1060
|
+
x2: 0,
|
|
1061
|
+
x: 0,
|
|
1062
|
+
xChannelSelector: 1,
|
|
1063
|
+
xHeight: 1,
|
|
1064
|
+
"x-height": "xHeight",
|
|
1065
|
+
xlinkActuate: 1,
|
|
1066
|
+
"xlink:actuate": "xlinkActuate",
|
|
1067
|
+
xlinkArcrole: 1,
|
|
1068
|
+
"xlink:arcrole": "xlinkArcrole",
|
|
1069
|
+
xlinkHref: 1,
|
|
1070
|
+
"xlink:href": "xlinkHref",
|
|
1071
|
+
xlinkRole: 1,
|
|
1072
|
+
"xlink:role": "xlinkRole",
|
|
1073
|
+
xlinkShow: 1,
|
|
1074
|
+
"xlink:show": "xlinkShow",
|
|
1075
|
+
xlinkTitle: 1,
|
|
1076
|
+
"xlink:title": "xlinkTitle",
|
|
1077
|
+
xlinkType: 1,
|
|
1078
|
+
"xlink:type": "xlinkType",
|
|
1079
|
+
xmlBase: 1,
|
|
1080
|
+
"xml:base": "xmlBase",
|
|
1081
|
+
xmlLang: 1,
|
|
1082
|
+
"xml:lang": "xmlLang",
|
|
1083
|
+
xmlns: 0,
|
|
1084
|
+
"xml:space": "xmlSpace",
|
|
1085
|
+
xmlnsXlink: 1,
|
|
1086
|
+
"xmlns:xlink": "xmlnsXlink",
|
|
1087
|
+
xmlSpace: 1,
|
|
1088
|
+
y1: 0,
|
|
1089
|
+
y2: 0,
|
|
1090
|
+
y: 0,
|
|
1091
|
+
yChannelSelector: 1,
|
|
1092
|
+
z: 0,
|
|
1093
|
+
zoomAndPan: 1
|
|
1094
|
+
};
|
|
1095
|
+
const He = 0, b = 1, G = 2, U = 3, ee = 4, Fe = 5, Ge = 6;
|
|
1096
|
+
function ot(e) {
|
|
1097
|
+
return v.hasOwnProperty(e) ? v[e] : null;
|
|
1098
|
+
}
|
|
1099
|
+
function g(e, t, r, n, i, s, f) {
|
|
1100
|
+
this.acceptsBooleans = t === G || t === U || t === ee, this.attributeName = n, this.attributeNamespace = i, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = s, this.removeEmptyString = f;
|
|
1101
|
+
}
|
|
1102
|
+
const v = {}, lt = [
|
|
1103
|
+
"children",
|
|
1104
|
+
"dangerouslySetInnerHTML",
|
|
1105
|
+
// TODO: This prevents the assignment of defaultValue to regular
|
|
1106
|
+
// elements (not just inputs). Now that ReactDOMInput assigns to the
|
|
1107
|
+
// defaultValue property -- do we need this?
|
|
1108
|
+
"defaultValue",
|
|
1109
|
+
"defaultChecked",
|
|
1110
|
+
"innerHTML",
|
|
1111
|
+
"suppressContentEditableWarning",
|
|
1112
|
+
"suppressHydrationWarning",
|
|
1113
|
+
"style"
|
|
1114
|
+
];
|
|
1115
|
+
lt.forEach((e) => {
|
|
1116
|
+
v[e] = new g(
|
|
1117
|
+
e,
|
|
1118
|
+
He,
|
|
1119
|
+
!1,
|
|
1120
|
+
// mustUseProperty
|
|
1121
|
+
e,
|
|
1122
|
+
// attributeName
|
|
1123
|
+
null,
|
|
1124
|
+
// attributeNamespace
|
|
1125
|
+
!1,
|
|
1126
|
+
// sanitizeURL
|
|
1127
|
+
!1
|
|
1128
|
+
// removeEmptyString
|
|
1129
|
+
);
|
|
1130
|
+
});
|
|
1131
|
+
[
|
|
1132
|
+
["acceptCharset", "accept-charset"],
|
|
1133
|
+
["className", "class"],
|
|
1134
|
+
["htmlFor", "for"],
|
|
1135
|
+
["httpEquiv", "http-equiv"]
|
|
1136
|
+
].forEach(([e, t]) => {
|
|
1137
|
+
v[e] = new g(
|
|
1138
|
+
e,
|
|
1139
|
+
b,
|
|
1140
|
+
!1,
|
|
1141
|
+
// mustUseProperty
|
|
1142
|
+
t,
|
|
1143
|
+
// attributeName
|
|
1144
|
+
null,
|
|
1145
|
+
// attributeNamespace
|
|
1146
|
+
!1,
|
|
1147
|
+
// sanitizeURL
|
|
1148
|
+
!1
|
|
1149
|
+
// removeEmptyString
|
|
1150
|
+
);
|
|
1151
|
+
});
|
|
1152
|
+
["contentEditable", "draggable", "spellCheck", "value"].forEach((e) => {
|
|
1153
|
+
v[e] = new g(
|
|
1154
|
+
e,
|
|
1155
|
+
G,
|
|
1156
|
+
!1,
|
|
1157
|
+
// mustUseProperty
|
|
1158
|
+
e.toLowerCase(),
|
|
1159
|
+
// attributeName
|
|
1160
|
+
null,
|
|
1161
|
+
// attributeNamespace
|
|
1162
|
+
!1,
|
|
1163
|
+
// sanitizeURL
|
|
1164
|
+
!1
|
|
1165
|
+
// removeEmptyString
|
|
1166
|
+
);
|
|
1167
|
+
});
|
|
1168
|
+
[
|
|
1169
|
+
"autoReverse",
|
|
1170
|
+
"externalResourcesRequired",
|
|
1171
|
+
"focusable",
|
|
1172
|
+
"preserveAlpha"
|
|
1173
|
+
].forEach((e) => {
|
|
1174
|
+
v[e] = new g(
|
|
1175
|
+
e,
|
|
1176
|
+
G,
|
|
1177
|
+
!1,
|
|
1178
|
+
// mustUseProperty
|
|
1179
|
+
e,
|
|
1180
|
+
// attributeName
|
|
1181
|
+
null,
|
|
1182
|
+
// attributeNamespace
|
|
1183
|
+
!1,
|
|
1184
|
+
// sanitizeURL
|
|
1185
|
+
!1
|
|
1186
|
+
// removeEmptyString
|
|
1187
|
+
);
|
|
1188
|
+
});
|
|
1189
|
+
[
|
|
1190
|
+
"allowFullScreen",
|
|
1191
|
+
"async",
|
|
1192
|
+
// Note: there is a special case that prevents it from being written to the DOM
|
|
1193
|
+
// on the client side because the browsers are inconsistent. Instead we call focus().
|
|
1194
|
+
"autoFocus",
|
|
1195
|
+
"autoPlay",
|
|
1196
|
+
"controls",
|
|
1197
|
+
"default",
|
|
1198
|
+
"defer",
|
|
1199
|
+
"disabled",
|
|
1200
|
+
"disablePictureInPicture",
|
|
1201
|
+
"disableRemotePlayback",
|
|
1202
|
+
"formNoValidate",
|
|
1203
|
+
"hidden",
|
|
1204
|
+
"loop",
|
|
1205
|
+
"noModule",
|
|
1206
|
+
"noValidate",
|
|
1207
|
+
"open",
|
|
1208
|
+
"playsInline",
|
|
1209
|
+
"readOnly",
|
|
1210
|
+
"required",
|
|
1211
|
+
"reversed",
|
|
1212
|
+
"scoped",
|
|
1213
|
+
"seamless",
|
|
1214
|
+
// Microdata
|
|
1215
|
+
"itemScope"
|
|
1216
|
+
].forEach((e) => {
|
|
1217
|
+
v[e] = new g(
|
|
1218
|
+
e,
|
|
1219
|
+
U,
|
|
1220
|
+
!1,
|
|
1221
|
+
// mustUseProperty
|
|
1222
|
+
e.toLowerCase(),
|
|
1223
|
+
// attributeName
|
|
1224
|
+
null,
|
|
1225
|
+
// attributeNamespace
|
|
1226
|
+
!1,
|
|
1227
|
+
// sanitizeURL
|
|
1228
|
+
!1
|
|
1229
|
+
// removeEmptyString
|
|
1230
|
+
);
|
|
1231
|
+
});
|
|
1232
|
+
[
|
|
1233
|
+
"checked",
|
|
1234
|
+
// Note: `option.selected` is not updated if `select.multiple` is
|
|
1235
|
+
// disabled with `removeAttribute`. We have special logic for handling this.
|
|
1236
|
+
"multiple",
|
|
1237
|
+
"muted",
|
|
1238
|
+
"selected"
|
|
1239
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1240
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1241
|
+
// instead in the assignment below.
|
|
1242
|
+
].forEach((e) => {
|
|
1243
|
+
v[e] = new g(
|
|
1244
|
+
e,
|
|
1245
|
+
U,
|
|
1246
|
+
!0,
|
|
1247
|
+
// mustUseProperty
|
|
1248
|
+
e,
|
|
1249
|
+
// attributeName
|
|
1250
|
+
null,
|
|
1251
|
+
// attributeNamespace
|
|
1252
|
+
!1,
|
|
1253
|
+
// sanitizeURL
|
|
1254
|
+
!1
|
|
1255
|
+
// removeEmptyString
|
|
1256
|
+
);
|
|
1257
|
+
});
|
|
1258
|
+
[
|
|
1259
|
+
"capture",
|
|
1260
|
+
"download"
|
|
1261
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1262
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1263
|
+
// instead in the assignment below.
|
|
1264
|
+
].forEach((e) => {
|
|
1265
|
+
v[e] = new g(
|
|
1266
|
+
e,
|
|
1267
|
+
ee,
|
|
1268
|
+
!1,
|
|
1269
|
+
// mustUseProperty
|
|
1270
|
+
e,
|
|
1271
|
+
// attributeName
|
|
1272
|
+
null,
|
|
1273
|
+
// attributeNamespace
|
|
1274
|
+
!1,
|
|
1275
|
+
// sanitizeURL
|
|
1276
|
+
!1
|
|
1277
|
+
// removeEmptyString
|
|
1278
|
+
);
|
|
1279
|
+
});
|
|
1280
|
+
[
|
|
1281
|
+
"cols",
|
|
1282
|
+
"rows",
|
|
1283
|
+
"size",
|
|
1284
|
+
"span"
|
|
1285
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1286
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1287
|
+
// instead in the assignment below.
|
|
1288
|
+
].forEach((e) => {
|
|
1289
|
+
v[e] = new g(
|
|
1290
|
+
e,
|
|
1291
|
+
Ge,
|
|
1292
|
+
!1,
|
|
1293
|
+
// mustUseProperty
|
|
1294
|
+
e,
|
|
1295
|
+
// attributeName
|
|
1296
|
+
null,
|
|
1297
|
+
// attributeNamespace
|
|
1298
|
+
!1,
|
|
1299
|
+
// sanitizeURL
|
|
1300
|
+
!1
|
|
1301
|
+
// removeEmptyString
|
|
1302
|
+
);
|
|
1303
|
+
});
|
|
1304
|
+
["rowSpan", "start"].forEach((e) => {
|
|
1305
|
+
v[e] = new g(
|
|
1306
|
+
e,
|
|
1307
|
+
Fe,
|
|
1308
|
+
!1,
|
|
1309
|
+
// mustUseProperty
|
|
1310
|
+
e.toLowerCase(),
|
|
1311
|
+
// attributeName
|
|
1312
|
+
null,
|
|
1313
|
+
// attributeNamespace
|
|
1314
|
+
!1,
|
|
1315
|
+
// sanitizeURL
|
|
1316
|
+
!1
|
|
1317
|
+
// removeEmptyString
|
|
1318
|
+
);
|
|
1319
|
+
});
|
|
1320
|
+
const te = /[\-\:]([a-z])/g, re = (e) => e[1].toUpperCase();
|
|
1321
|
+
[
|
|
1322
|
+
"accent-height",
|
|
1323
|
+
"alignment-baseline",
|
|
1324
|
+
"arabic-form",
|
|
1325
|
+
"baseline-shift",
|
|
1326
|
+
"cap-height",
|
|
1327
|
+
"clip-path",
|
|
1328
|
+
"clip-rule",
|
|
1329
|
+
"color-interpolation",
|
|
1330
|
+
"color-interpolation-filters",
|
|
1331
|
+
"color-profile",
|
|
1332
|
+
"color-rendering",
|
|
1333
|
+
"dominant-baseline",
|
|
1334
|
+
"enable-background",
|
|
1335
|
+
"fill-opacity",
|
|
1336
|
+
"fill-rule",
|
|
1337
|
+
"flood-color",
|
|
1338
|
+
"flood-opacity",
|
|
1339
|
+
"font-family",
|
|
1340
|
+
"font-size",
|
|
1341
|
+
"font-size-adjust",
|
|
1342
|
+
"font-stretch",
|
|
1343
|
+
"font-style",
|
|
1344
|
+
"font-variant",
|
|
1345
|
+
"font-weight",
|
|
1346
|
+
"glyph-name",
|
|
1347
|
+
"glyph-orientation-horizontal",
|
|
1348
|
+
"glyph-orientation-vertical",
|
|
1349
|
+
"horiz-adv-x",
|
|
1350
|
+
"horiz-origin-x",
|
|
1351
|
+
"image-rendering",
|
|
1352
|
+
"letter-spacing",
|
|
1353
|
+
"lighting-color",
|
|
1354
|
+
"marker-end",
|
|
1355
|
+
"marker-mid",
|
|
1356
|
+
"marker-start",
|
|
1357
|
+
"overline-position",
|
|
1358
|
+
"overline-thickness",
|
|
1359
|
+
"paint-order",
|
|
1360
|
+
"panose-1",
|
|
1361
|
+
"pointer-events",
|
|
1362
|
+
"rendering-intent",
|
|
1363
|
+
"shape-rendering",
|
|
1364
|
+
"stop-color",
|
|
1365
|
+
"stop-opacity",
|
|
1366
|
+
"strikethrough-position",
|
|
1367
|
+
"strikethrough-thickness",
|
|
1368
|
+
"stroke-dasharray",
|
|
1369
|
+
"stroke-dashoffset",
|
|
1370
|
+
"stroke-linecap",
|
|
1371
|
+
"stroke-linejoin",
|
|
1372
|
+
"stroke-miterlimit",
|
|
1373
|
+
"stroke-opacity",
|
|
1374
|
+
"stroke-width",
|
|
1375
|
+
"text-anchor",
|
|
1376
|
+
"text-decoration",
|
|
1377
|
+
"text-rendering",
|
|
1378
|
+
"underline-position",
|
|
1379
|
+
"underline-thickness",
|
|
1380
|
+
"unicode-bidi",
|
|
1381
|
+
"unicode-range",
|
|
1382
|
+
"units-per-em",
|
|
1383
|
+
"v-alphabetic",
|
|
1384
|
+
"v-hanging",
|
|
1385
|
+
"v-ideographic",
|
|
1386
|
+
"v-mathematical",
|
|
1387
|
+
"vector-effect",
|
|
1388
|
+
"vert-adv-y",
|
|
1389
|
+
"vert-origin-x",
|
|
1390
|
+
"vert-origin-y",
|
|
1391
|
+
"word-spacing",
|
|
1392
|
+
"writing-mode",
|
|
1393
|
+
"xmlns:xlink",
|
|
1394
|
+
"x-height"
|
|
1395
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1396
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1397
|
+
// instead in the assignment below.
|
|
1398
|
+
].forEach((e) => {
|
|
1399
|
+
const t = e.replace(te, re);
|
|
1400
|
+
v[t] = new g(
|
|
1401
|
+
t,
|
|
1402
|
+
b,
|
|
1403
|
+
!1,
|
|
1404
|
+
// mustUseProperty
|
|
1405
|
+
e,
|
|
1406
|
+
null,
|
|
1407
|
+
// attributeNamespace
|
|
1408
|
+
!1,
|
|
1409
|
+
// sanitizeURL
|
|
1410
|
+
!1
|
|
1411
|
+
// removeEmptyString
|
|
1412
|
+
);
|
|
1413
|
+
});
|
|
1414
|
+
[
|
|
1415
|
+
"xlink:actuate",
|
|
1416
|
+
"xlink:arcrole",
|
|
1417
|
+
"xlink:role",
|
|
1418
|
+
"xlink:show",
|
|
1419
|
+
"xlink:title",
|
|
1420
|
+
"xlink:type"
|
|
1421
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1422
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1423
|
+
// instead in the assignment below.
|
|
1424
|
+
].forEach((e) => {
|
|
1425
|
+
const t = e.replace(te, re);
|
|
1426
|
+
v[t] = new g(
|
|
1427
|
+
t,
|
|
1428
|
+
b,
|
|
1429
|
+
!1,
|
|
1430
|
+
// mustUseProperty
|
|
1431
|
+
e,
|
|
1432
|
+
"http://www.w3.org/1999/xlink",
|
|
1433
|
+
!1,
|
|
1434
|
+
// sanitizeURL
|
|
1435
|
+
!1
|
|
1436
|
+
// removeEmptyString
|
|
1437
|
+
);
|
|
1438
|
+
});
|
|
1439
|
+
[
|
|
1440
|
+
"xml:base",
|
|
1441
|
+
"xml:lang",
|
|
1442
|
+
"xml:space"
|
|
1443
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1444
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1445
|
+
// instead in the assignment below.
|
|
1446
|
+
].forEach((e) => {
|
|
1447
|
+
const t = e.replace(te, re);
|
|
1448
|
+
v[t] = new g(
|
|
1449
|
+
t,
|
|
1450
|
+
b,
|
|
1451
|
+
!1,
|
|
1452
|
+
// mustUseProperty
|
|
1453
|
+
e,
|
|
1454
|
+
"http://www.w3.org/XML/1998/namespace",
|
|
1455
|
+
!1,
|
|
1456
|
+
// sanitizeURL
|
|
1457
|
+
!1
|
|
1458
|
+
// removeEmptyString
|
|
1459
|
+
);
|
|
1460
|
+
});
|
|
1461
|
+
["tabIndex", "crossOrigin"].forEach((e) => {
|
|
1462
|
+
v[e] = new g(
|
|
1463
|
+
e,
|
|
1464
|
+
b,
|
|
1465
|
+
!1,
|
|
1466
|
+
// mustUseProperty
|
|
1467
|
+
e.toLowerCase(),
|
|
1468
|
+
// attributeName
|
|
1469
|
+
null,
|
|
1470
|
+
// attributeNamespace
|
|
1471
|
+
!1,
|
|
1472
|
+
// sanitizeURL
|
|
1473
|
+
!1
|
|
1474
|
+
// removeEmptyString
|
|
1475
|
+
);
|
|
1476
|
+
});
|
|
1477
|
+
const st = "xlinkHref";
|
|
1478
|
+
v[st] = new g(
|
|
1479
|
+
"xlinkHref",
|
|
1480
|
+
b,
|
|
1481
|
+
!1,
|
|
1482
|
+
// mustUseProperty
|
|
1483
|
+
"xlink:href",
|
|
1484
|
+
"http://www.w3.org/1999/xlink",
|
|
1485
|
+
!0,
|
|
1486
|
+
// sanitizeURL
|
|
1487
|
+
!1
|
|
1488
|
+
// removeEmptyString
|
|
1489
|
+
);
|
|
1490
|
+
["src", "href", "action", "formAction"].forEach((e) => {
|
|
1491
|
+
v[e] = new g(
|
|
1492
|
+
e,
|
|
1493
|
+
b,
|
|
1494
|
+
!1,
|
|
1495
|
+
// mustUseProperty
|
|
1496
|
+
e.toLowerCase(),
|
|
1497
|
+
// attributeName
|
|
1498
|
+
null,
|
|
1499
|
+
// attributeNamespace
|
|
1500
|
+
!0,
|
|
1501
|
+
// sanitizeURL
|
|
1502
|
+
!0
|
|
1503
|
+
// removeEmptyString
|
|
1504
|
+
);
|
|
1505
|
+
});
|
|
1506
|
+
const {
|
|
1507
|
+
CAMELCASE: ct,
|
|
1508
|
+
SAME: ut,
|
|
1509
|
+
possibleStandardNames: fe
|
|
1510
|
+
} = F, ft = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", dt = ft + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", pt = RegExp.prototype.test.bind(
|
|
1511
|
+
// eslint-disable-next-line no-misleading-character-class
|
|
1512
|
+
new RegExp("^(data|aria)-[" + dt + "]*$")
|
|
1513
|
+
), ht = Object.keys(
|
|
1514
|
+
fe
|
|
1515
|
+
).reduce((e, t) => {
|
|
1516
|
+
const r = fe[t];
|
|
1517
|
+
return r === ut ? e[t] = t : r === ct ? e[t.toLowerCase()] = t : e[t] = r, e;
|
|
1518
|
+
}, {});
|
|
1519
|
+
_.BOOLEAN = U;
|
|
1520
|
+
_.BOOLEANISH_STRING = G;
|
|
1521
|
+
_.NUMERIC = Fe;
|
|
1522
|
+
_.OVERLOADED_BOOLEAN = ee;
|
|
1523
|
+
_.POSITIVE_NUMERIC = Ge;
|
|
1524
|
+
_.RESERVED = He;
|
|
1525
|
+
_.STRING = b;
|
|
1526
|
+
_.getPropertyInfo = ot;
|
|
1527
|
+
_.isCustomAttribute = pt;
|
|
1528
|
+
_.possibleStandardNames = ht;
|
|
1529
|
+
var ne = {}, ie = {}, de = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, mt = /\n/g, vt = /^\s*/, gt = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Et = /^:\s*/, yt = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, _t = /^[;\s]*/, Tt = /^\s+|\s+$/g, Rt = `
|
|
1530
|
+
`, pe = "/", he = "*", C = "", bt = "comment", Ct = "declaration", At = function(e, t) {
|
|
1531
|
+
if (typeof e != "string")
|
|
1532
|
+
throw new TypeError("First argument must be a string");
|
|
1533
|
+
if (!e) return [];
|
|
1534
|
+
t = t || {};
|
|
1535
|
+
var r = 1, n = 1;
|
|
1536
|
+
function i(h) {
|
|
1537
|
+
var u = h.match(mt);
|
|
1538
|
+
u && (r += u.length);
|
|
1539
|
+
var E = h.lastIndexOf(Rt);
|
|
1540
|
+
n = ~E ? h.length - E : n + h.length;
|
|
1541
|
+
}
|
|
1542
|
+
function s() {
|
|
1543
|
+
var h = { line: r, column: n };
|
|
1544
|
+
return function(u) {
|
|
1545
|
+
return u.position = new f(h), o(), u;
|
|
1546
|
+
};
|
|
1547
|
+
}
|
|
1548
|
+
function f(h) {
|
|
1549
|
+
this.start = h, this.end = { line: r, column: n }, this.source = t.source;
|
|
1550
|
+
}
|
|
1551
|
+
f.prototype.content = e;
|
|
1552
|
+
function l(h) {
|
|
1553
|
+
var u = new Error(
|
|
1554
|
+
t.source + ":" + r + ":" + n + ": " + h
|
|
1555
|
+
);
|
|
1556
|
+
if (u.reason = h, u.filename = t.source, u.line = r, u.column = n, u.source = e, !t.silent) throw u;
|
|
1557
|
+
}
|
|
1558
|
+
function a(h) {
|
|
1559
|
+
var u = h.exec(e);
|
|
1560
|
+
if (u) {
|
|
1561
|
+
var E = u[0];
|
|
1562
|
+
return i(E), e = e.slice(E.length), u;
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
function o() {
|
|
1566
|
+
a(vt);
|
|
1567
|
+
}
|
|
1568
|
+
function c(h) {
|
|
1569
|
+
var u;
|
|
1570
|
+
for (h = h || []; u = d(); )
|
|
1571
|
+
u !== !1 && h.push(u);
|
|
1572
|
+
return h;
|
|
1573
|
+
}
|
|
1574
|
+
function d() {
|
|
1575
|
+
var h = s();
|
|
1576
|
+
if (!(pe != e.charAt(0) || he != e.charAt(1))) {
|
|
1577
|
+
for (var u = 2; C != e.charAt(u) && (he != e.charAt(u) || pe != e.charAt(u + 1)); )
|
|
1578
|
+
++u;
|
|
1579
|
+
if (u += 2, C === e.charAt(u - 1))
|
|
1580
|
+
return l("End of comment missing");
|
|
1581
|
+
var E = e.slice(2, u - 2);
|
|
1582
|
+
return n += 2, i(E), e = e.slice(u), n += 2, h({
|
|
1583
|
+
type: bt,
|
|
1584
|
+
comment: E
|
|
1585
|
+
});
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
function T() {
|
|
1589
|
+
var h = s(), u = a(gt);
|
|
1590
|
+
if (u) {
|
|
1591
|
+
if (d(), !a(Et)) return l("property missing ':'");
|
|
1592
|
+
var E = a(yt), Be = h({
|
|
1593
|
+
type: Ct,
|
|
1594
|
+
property: me(u[0].replace(de, C)),
|
|
1595
|
+
value: E ? me(E[0].replace(de, C)) : C
|
|
1596
|
+
});
|
|
1597
|
+
return a(_t), Be;
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
function P() {
|
|
1601
|
+
var h = [];
|
|
1602
|
+
c(h);
|
|
1603
|
+
for (var u; u = T(); )
|
|
1604
|
+
u !== !1 && (h.push(u), c(h));
|
|
1605
|
+
return h;
|
|
1606
|
+
}
|
|
1607
|
+
return o(), P();
|
|
1608
|
+
};
|
|
1609
|
+
function me(e) {
|
|
1610
|
+
return e ? e.replace(Tt, C) : C;
|
|
1611
|
+
}
|
|
1612
|
+
var St = m && m.__importDefault || function(e) {
|
|
1613
|
+
return e && e.__esModule ? e : { default: e };
|
|
1614
|
+
};
|
|
1615
|
+
Object.defineProperty(ie, "__esModule", { value: !0 });
|
|
1616
|
+
ie.default = kt;
|
|
1617
|
+
var Ot = St(At);
|
|
1618
|
+
function kt(e, t) {
|
|
1619
|
+
var r = null;
|
|
1620
|
+
if (!e || typeof e != "string")
|
|
1621
|
+
return r;
|
|
1622
|
+
var n = (0, Ot.default)(e), i = typeof t == "function";
|
|
1623
|
+
return n.forEach(function(s) {
|
|
1624
|
+
if (s.type === "declaration") {
|
|
1625
|
+
var f = s.property, l = s.value;
|
|
1626
|
+
i ? t(f, l, s) : l && (r = r || {}, r[f] = l);
|
|
1627
|
+
}
|
|
1628
|
+
}), r;
|
|
1629
|
+
}
|
|
1630
|
+
var B = {};
|
|
1631
|
+
Object.defineProperty(B, "__esModule", { value: !0 });
|
|
1632
|
+
B.camelCase = void 0;
|
|
1633
|
+
var wt = /^--[a-zA-Z0-9_-]+$/, Pt = /-([a-z])/g, Nt = /^[^-]+$/, It = /^-(webkit|moz|ms|o|khtml)-/, Dt = /^-(ms)-/, xt = function(e) {
|
|
1634
|
+
return !e || Nt.test(e) || wt.test(e);
|
|
1635
|
+
}, Mt = function(e, t) {
|
|
1636
|
+
return t.toUpperCase();
|
|
1637
|
+
}, ve = function(e, t) {
|
|
1638
|
+
return "".concat(t, "-");
|
|
1639
|
+
}, Lt = function(e, t) {
|
|
1640
|
+
return t === void 0 && (t = {}), xt(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(Dt, ve) : e = e.replace(It, ve), e.replace(Pt, Mt));
|
|
1641
|
+
};
|
|
1642
|
+
B.camelCase = Lt;
|
|
1643
|
+
var jt = m && m.__importDefault || function(e) {
|
|
1644
|
+
return e && e.__esModule ? e : { default: e };
|
|
1645
|
+
}, Ht = jt(ie), Ft = B;
|
|
1646
|
+
function W(e, t) {
|
|
1647
|
+
var r = {};
|
|
1648
|
+
return !e || typeof e != "string" || (0, Ht.default)(e, function(n, i) {
|
|
1649
|
+
n && i && (r[(0, Ft.camelCase)(n, t)] = i);
|
|
1650
|
+
}), r;
|
|
1651
|
+
}
|
|
1652
|
+
W.default = W;
|
|
1653
|
+
var Gt = W;
|
|
1654
|
+
(function(e) {
|
|
1655
|
+
var t = m && m.__importDefault || function(c) {
|
|
1656
|
+
return c && c.__esModule ? c : { default: c };
|
|
1657
|
+
};
|
|
1658
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.returnFirstArg = e.canTextBeChildOfNode = e.ELEMENTS_WITH_NO_TEXT_CHILDREN = e.PRESERVE_CUSTOM_ATTRIBUTES = void 0, e.isCustomComponent = s, e.setStyleProp = l;
|
|
1659
|
+
var r = _e, n = t(Gt), i = /* @__PURE__ */ new Set([
|
|
1660
|
+
"annotation-xml",
|
|
1661
|
+
"color-profile",
|
|
1662
|
+
"font-face",
|
|
1663
|
+
"font-face-src",
|
|
1664
|
+
"font-face-uri",
|
|
1665
|
+
"font-face-format",
|
|
1666
|
+
"font-face-name",
|
|
1667
|
+
"missing-glyph"
|
|
1668
|
+
]);
|
|
1669
|
+
function s(c, d) {
|
|
1670
|
+
return c.includes("-") ? !i.has(c) : !!(d && typeof d.is == "string");
|
|
1671
|
+
}
|
|
1672
|
+
var f = {
|
|
1673
|
+
reactCompat: !0
|
|
1674
|
+
};
|
|
1675
|
+
function l(c, d) {
|
|
1676
|
+
if (typeof c == "string") {
|
|
1677
|
+
if (!c.trim()) {
|
|
1678
|
+
d.style = {};
|
|
1679
|
+
return;
|
|
1680
|
+
}
|
|
1681
|
+
try {
|
|
1682
|
+
d.style = (0, n.default)(c, f);
|
|
1683
|
+
} catch {
|
|
1684
|
+
d.style = {};
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
e.PRESERVE_CUSTOM_ATTRIBUTES = Number(r.version.split(".")[0]) >= 16, e.ELEMENTS_WITH_NO_TEXT_CHILDREN = /* @__PURE__ */ new Set([
|
|
1689
|
+
"tr",
|
|
1690
|
+
"tbody",
|
|
1691
|
+
"thead",
|
|
1692
|
+
"tfoot",
|
|
1693
|
+
"colgroup",
|
|
1694
|
+
"table",
|
|
1695
|
+
"head",
|
|
1696
|
+
"html",
|
|
1697
|
+
"frameset"
|
|
1698
|
+
]);
|
|
1699
|
+
var a = function(c) {
|
|
1700
|
+
return !e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(c.name);
|
|
1701
|
+
};
|
|
1702
|
+
e.canTextBeChildOfNode = a;
|
|
1703
|
+
var o = function(c) {
|
|
1704
|
+
return c;
|
|
1705
|
+
};
|
|
1706
|
+
e.returnFirstArg = o;
|
|
1707
|
+
})(ne);
|
|
1708
|
+
Object.defineProperty(H, "__esModule", { value: !0 });
|
|
1709
|
+
H.default = Vt;
|
|
1710
|
+
var S = _, ge = ne, Ut = ["checked", "value"], Bt = ["input", "select", "textarea"], zt = {
|
|
1711
|
+
reset: !0,
|
|
1712
|
+
submit: !0
|
|
1713
|
+
};
|
|
1714
|
+
function Vt(e, t) {
|
|
1715
|
+
e === void 0 && (e = {});
|
|
1716
|
+
var r = {}, n = !!(e.type && zt[e.type]);
|
|
1717
|
+
for (var i in e) {
|
|
1718
|
+
var s = e[i];
|
|
1719
|
+
if ((0, S.isCustomAttribute)(i)) {
|
|
1720
|
+
r[i] = s;
|
|
1721
|
+
continue;
|
|
1722
|
+
}
|
|
1723
|
+
var f = i.toLowerCase(), l = Ee(f);
|
|
1724
|
+
if (l) {
|
|
1725
|
+
var a = (0, S.getPropertyInfo)(l);
|
|
1726
|
+
switch (Ut.includes(l) && Bt.includes(t) && !n && (l = Ee("default" + f)), r[l] = s, a && a.type) {
|
|
1727
|
+
case S.BOOLEAN:
|
|
1728
|
+
r[l] = !0;
|
|
1729
|
+
break;
|
|
1730
|
+
case S.OVERLOADED_BOOLEAN:
|
|
1731
|
+
s === "" && (r[l] = !0);
|
|
1732
|
+
break;
|
|
1733
|
+
}
|
|
1734
|
+
continue;
|
|
1735
|
+
}
|
|
1736
|
+
ge.PRESERVE_CUSTOM_ATTRIBUTES && (r[i] = s);
|
|
1737
|
+
}
|
|
1738
|
+
return (0, ge.setStyleProp)(e.style, r), r;
|
|
1739
|
+
}
|
|
1740
|
+
function Ee(e) {
|
|
1741
|
+
return S.possibleStandardNames[e];
|
|
1742
|
+
}
|
|
1743
|
+
var ae = {}, Xt = m && m.__importDefault || function(e) {
|
|
1744
|
+
return e && e.__esModule ? e : { default: e };
|
|
1745
|
+
};
|
|
1746
|
+
Object.defineProperty(ae, "__esModule", { value: !0 });
|
|
1747
|
+
ae.default = Ue;
|
|
1748
|
+
var V = _e, $t = Xt(H), k = ne, Wt = {
|
|
1749
|
+
cloneElement: V.cloneElement,
|
|
1750
|
+
createElement: V.createElement,
|
|
1751
|
+
isValidElement: V.isValidElement
|
|
1752
|
+
};
|
|
1753
|
+
function Ue(e, t) {
|
|
1754
|
+
t === void 0 && (t = {});
|
|
1755
|
+
for (var r = [], n = typeof t.replace == "function", i = t.transform || k.returnFirstArg, s = t.library || Wt, f = s.cloneElement, l = s.createElement, a = s.isValidElement, o = e.length, c = 0; c < o; c++) {
|
|
1756
|
+
var d = e[c];
|
|
1757
|
+
if (n) {
|
|
1758
|
+
var T = t.replace(d, c);
|
|
1759
|
+
if (a(T)) {
|
|
1760
|
+
o > 1 && (T = f(T, {
|
|
1761
|
+
key: T.key || c
|
|
1762
|
+
})), r.push(i(T, d, c));
|
|
1763
|
+
continue;
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
if (d.type === "text") {
|
|
1767
|
+
var P = !d.data.trim().length;
|
|
1768
|
+
if (P && d.parent && !(0, k.canTextBeChildOfNode)(d.parent) || t.trim && P)
|
|
1769
|
+
continue;
|
|
1770
|
+
r.push(i(d.data, d, c));
|
|
1771
|
+
continue;
|
|
1772
|
+
}
|
|
1773
|
+
var h = d, u = {};
|
|
1774
|
+
qt(h) ? ((0, k.setStyleProp)(h.attribs.style, h.attribs), u = h.attribs) : h.attribs && (u = (0, $t.default)(h.attribs, h.name));
|
|
1775
|
+
var E = void 0;
|
|
1776
|
+
switch (d.type) {
|
|
1777
|
+
case "script":
|
|
1778
|
+
case "style":
|
|
1779
|
+
d.children[0] && (u.dangerouslySetInnerHTML = {
|
|
1780
|
+
__html: d.children[0].data
|
|
1781
|
+
});
|
|
1782
|
+
break;
|
|
1783
|
+
case "tag":
|
|
1784
|
+
d.name === "textarea" && d.children[0] ? u.defaultValue = d.children[0].data : d.children && d.children.length && (E = Ue(d.children, t));
|
|
1785
|
+
break;
|
|
1786
|
+
default:
|
|
1787
|
+
continue;
|
|
1788
|
+
}
|
|
1789
|
+
o > 1 && (u.key = c), r.push(i(l(d.name, u, E), d, c));
|
|
1790
|
+
}
|
|
1791
|
+
return r.length === 1 ? r[0] : r;
|
|
1792
|
+
}
|
|
1793
|
+
function qt(e) {
|
|
1794
|
+
return k.PRESERVE_CUSTOM_ATTRIBUTES && e.type === "tag" && (0, k.isCustomComponent)(e.name, e.attribs);
|
|
1795
|
+
}
|
|
1796
|
+
(function(e) {
|
|
1797
|
+
var t = m && m.__importDefault || function(a) {
|
|
1798
|
+
return a && a.__esModule ? a : { default: a };
|
|
1799
|
+
};
|
|
1800
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.htmlToDOM = e.domToReact = e.attributesToProps = e.Text = e.ProcessingInstruction = e.Element = e.Comment = void 0, e.default = l;
|
|
1801
|
+
var r = t(q);
|
|
1802
|
+
e.htmlToDOM = r.default;
|
|
1803
|
+
var n = t(H);
|
|
1804
|
+
e.attributesToProps = n.default;
|
|
1805
|
+
var i = t(ae);
|
|
1806
|
+
e.domToReact = i.default;
|
|
1807
|
+
var s = Z;
|
|
1808
|
+
Object.defineProperty(e, "Comment", { enumerable: !0, get: function() {
|
|
1809
|
+
return s.Comment;
|
|
1810
|
+
} }), Object.defineProperty(e, "Element", { enumerable: !0, get: function() {
|
|
1811
|
+
return s.Element;
|
|
1812
|
+
} }), Object.defineProperty(e, "ProcessingInstruction", { enumerable: !0, get: function() {
|
|
1813
|
+
return s.ProcessingInstruction;
|
|
1814
|
+
} }), Object.defineProperty(e, "Text", { enumerable: !0, get: function() {
|
|
1815
|
+
return s.Text;
|
|
1816
|
+
} });
|
|
1817
|
+
var f = { lowerCaseAttributeNames: !1 };
|
|
1818
|
+
function l(a, o) {
|
|
1819
|
+
if (typeof a != "string")
|
|
1820
|
+
throw new TypeError("First argument must be a string");
|
|
1821
|
+
return a ? (0, i.default)((0, r.default)(a, (o == null ? void 0 : o.htmlparser2) || f), o) : [];
|
|
1822
|
+
}
|
|
1823
|
+
})(Te);
|
|
1824
|
+
const ye = /* @__PURE__ */ ze(Te), Kt = ye.default || ye;
|
|
1825
|
+
export {
|
|
1826
|
+
Kt as p
|
|
1827
|
+
};
|