@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,458 @@
|
|
|
1
|
+
import { g as J } from "../_commonjsHelpers-DaMA6jEr.mjs";
|
|
2
|
+
var q = {}, W = {}, R = {};
|
|
3
|
+
(function(g) {
|
|
4
|
+
Object.defineProperty(g, "__esModule", {
|
|
5
|
+
value: !0
|
|
6
|
+
}), g.default = void 0;
|
|
7
|
+
var h = function() {
|
|
8
|
+
for (var b = arguments.length, A = new Array(b), w = 0; w < b; w++)
|
|
9
|
+
A[w] = arguments[w];
|
|
10
|
+
if (typeof window < "u") {
|
|
11
|
+
var o;
|
|
12
|
+
typeof window.gtag > "u" && (window.dataLayer = window.dataLayer || [], window.gtag = function() {
|
|
13
|
+
window.dataLayer.push(arguments);
|
|
14
|
+
}), (o = window).gtag.apply(o, A);
|
|
15
|
+
}
|
|
16
|
+
}, v = h;
|
|
17
|
+
g.default = v;
|
|
18
|
+
})(R);
|
|
19
|
+
var F = {};
|
|
20
|
+
(function(g) {
|
|
21
|
+
Object.defineProperty(g, "__esModule", {
|
|
22
|
+
value: !0
|
|
23
|
+
}), g.default = w;
|
|
24
|
+
var h = /^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;
|
|
25
|
+
function v(o) {
|
|
26
|
+
return o.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g, function(u, c, l) {
|
|
27
|
+
return c > 0 && c + u.length !== l.length && u.search(h) > -1 && l.charAt(c - 2) !== ":" && (l.charAt(c + u.length) !== "-" || l.charAt(c - 1) === "-") && l.charAt(c - 1).search(/[^\s-]/) < 0 ? u.toLowerCase() : u.substr(1).search(/[A-Z]|\../) > -1 ? u : u.charAt(0).toUpperCase() + u.substr(1);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function S(o) {
|
|
31
|
+
return typeof o == "string" && o.indexOf("@") !== -1;
|
|
32
|
+
}
|
|
33
|
+
var b = "REDACTED (Potential Email Address)";
|
|
34
|
+
function A(o) {
|
|
35
|
+
return S(o) ? (console.warn("This arg looks like an email address, redacting."), b) : o;
|
|
36
|
+
}
|
|
37
|
+
function w() {
|
|
38
|
+
var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, l = o || "";
|
|
39
|
+
return u && (l = v(o)), c && (l = A(l)), l;
|
|
40
|
+
}
|
|
41
|
+
})(F);
|
|
42
|
+
(function(g) {
|
|
43
|
+
Object.defineProperty(g, "__esModule", {
|
|
44
|
+
value: !0
|
|
45
|
+
}), g.default = g.GA4 = void 0;
|
|
46
|
+
var h = w(R), v = w(F), S = ["eventCategory", "eventAction", "eventLabel", "eventValue", "hitType"], b = ["title", "location"], A = ["page", "hitType"];
|
|
47
|
+
function w(a) {
|
|
48
|
+
return a && a.__esModule ? a : { default: a };
|
|
49
|
+
}
|
|
50
|
+
function o(a, e) {
|
|
51
|
+
if (a == null) return {};
|
|
52
|
+
var t = u(a, e), n, r;
|
|
53
|
+
if (Object.getOwnPropertySymbols) {
|
|
54
|
+
var i = Object.getOwnPropertySymbols(a);
|
|
55
|
+
for (r = 0; r < i.length; r++)
|
|
56
|
+
n = i[r], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(a, n) && (t[n] = a[n]);
|
|
57
|
+
}
|
|
58
|
+
return t;
|
|
59
|
+
}
|
|
60
|
+
function u(a, e) {
|
|
61
|
+
if (a == null) return {};
|
|
62
|
+
var t = {}, n = Object.keys(a), r, i;
|
|
63
|
+
for (i = 0; i < n.length; i++)
|
|
64
|
+
r = n[i], !(e.indexOf(r) >= 0) && (t[r] = a[r]);
|
|
65
|
+
return t;
|
|
66
|
+
}
|
|
67
|
+
function c(a) {
|
|
68
|
+
"@babel/helpers - typeof";
|
|
69
|
+
return c = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
70
|
+
return typeof e;
|
|
71
|
+
} : function(e) {
|
|
72
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
73
|
+
}, c(a);
|
|
74
|
+
}
|
|
75
|
+
function l(a) {
|
|
76
|
+
return P(a) || O(a) || T(a) || C();
|
|
77
|
+
}
|
|
78
|
+
function C() {
|
|
79
|
+
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
80
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
81
|
+
}
|
|
82
|
+
function O(a) {
|
|
83
|
+
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
|
|
84
|
+
}
|
|
85
|
+
function P(a) {
|
|
86
|
+
if (Array.isArray(a)) return G(a);
|
|
87
|
+
}
|
|
88
|
+
function E(a, e) {
|
|
89
|
+
var t = Object.keys(a);
|
|
90
|
+
if (Object.getOwnPropertySymbols) {
|
|
91
|
+
var n = Object.getOwnPropertySymbols(a);
|
|
92
|
+
e && (n = n.filter(function(r) {
|
|
93
|
+
return Object.getOwnPropertyDescriptor(a, r).enumerable;
|
|
94
|
+
})), t.push.apply(t, n);
|
|
95
|
+
}
|
|
96
|
+
return t;
|
|
97
|
+
}
|
|
98
|
+
function _(a) {
|
|
99
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
100
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
|
101
|
+
e % 2 ? E(Object(t), !0).forEach(function(n) {
|
|
102
|
+
d(a, n, t[n]);
|
|
103
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : E(Object(t)).forEach(function(n) {
|
|
104
|
+
Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(t, n));
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
return a;
|
|
108
|
+
}
|
|
109
|
+
function Q(a, e) {
|
|
110
|
+
return V(a) || k(a, e) || T(a, e) || U();
|
|
111
|
+
}
|
|
112
|
+
function U() {
|
|
113
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
114
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
115
|
+
}
|
|
116
|
+
function T(a, e) {
|
|
117
|
+
if (a) {
|
|
118
|
+
if (typeof a == "string") return G(a, e);
|
|
119
|
+
var t = Object.prototype.toString.call(a).slice(8, -1);
|
|
120
|
+
if (t === "Object" && a.constructor && (t = a.constructor.name), t === "Map" || t === "Set") return Array.from(a);
|
|
121
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return G(a, e);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
function G(a, e) {
|
|
125
|
+
(e == null || e > a.length) && (e = a.length);
|
|
126
|
+
for (var t = 0, n = new Array(e); t < e; t++) n[t] = a[t];
|
|
127
|
+
return n;
|
|
128
|
+
}
|
|
129
|
+
function k(a, e) {
|
|
130
|
+
var t = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
|
|
131
|
+
if (t != null) {
|
|
132
|
+
var n, r, i, f, s = [], p = !0, m = !1;
|
|
133
|
+
try {
|
|
134
|
+
if (i = (t = t.call(a)).next, e !== 0) for (; !(p = (n = i.call(t)).done) && (s.push(n.value), s.length !== e); p = !0) ;
|
|
135
|
+
} catch (y) {
|
|
136
|
+
m = !0, r = y;
|
|
137
|
+
} finally {
|
|
138
|
+
try {
|
|
139
|
+
if (!p && t.return != null && (f = t.return(), Object(f) !== f)) return;
|
|
140
|
+
} finally {
|
|
141
|
+
if (m) throw r;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
return s;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
function V(a) {
|
|
148
|
+
if (Array.isArray(a)) return a;
|
|
149
|
+
}
|
|
150
|
+
function B(a, e) {
|
|
151
|
+
if (!(a instanceof e))
|
|
152
|
+
throw new TypeError("Cannot call a class as a function");
|
|
153
|
+
}
|
|
154
|
+
function H(a, e) {
|
|
155
|
+
for (var t = 0; t < e.length; t++) {
|
|
156
|
+
var n = e[t];
|
|
157
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(a, M(n.key), n);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function K(a, e, t) {
|
|
161
|
+
return e && H(a.prototype, e), Object.defineProperty(a, "prototype", { writable: !1 }), a;
|
|
162
|
+
}
|
|
163
|
+
function d(a, e, t) {
|
|
164
|
+
return e = M(e), e in a ? Object.defineProperty(a, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[e] = t, a;
|
|
165
|
+
}
|
|
166
|
+
function M(a) {
|
|
167
|
+
var e = Z(a, "string");
|
|
168
|
+
return c(e) === "symbol" ? e : String(e);
|
|
169
|
+
}
|
|
170
|
+
function Z(a, e) {
|
|
171
|
+
if (c(a) !== "object" || a === null) return a;
|
|
172
|
+
var t = a[Symbol.toPrimitive];
|
|
173
|
+
if (t !== void 0) {
|
|
174
|
+
var n = t.call(a, e);
|
|
175
|
+
if (c(n) !== "object") return n;
|
|
176
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
177
|
+
}
|
|
178
|
+
return (e === "string" ? String : Number)(a);
|
|
179
|
+
}
|
|
180
|
+
var L = /* @__PURE__ */ function() {
|
|
181
|
+
function a() {
|
|
182
|
+
var e = this;
|
|
183
|
+
B(this, a), d(this, "reset", function() {
|
|
184
|
+
e.isInitialized = !1, e._testMode = !1, e._currentMeasurementId, e._hasLoadedGA = !1, e._isQueuing = !1, e._queueGtag = [];
|
|
185
|
+
}), d(this, "_gtag", function() {
|
|
186
|
+
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
187
|
+
n[r] = arguments[r];
|
|
188
|
+
e._testMode || e._isQueuing ? e._queueGtag.push(n) : h.default.apply(void 0, n);
|
|
189
|
+
}), d(this, "_loadGA", function(t, n) {
|
|
190
|
+
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "https://www.googletagmanager.com/gtag/js";
|
|
191
|
+
if (!(typeof window > "u" || typeof document > "u") && !e._hasLoadedGA) {
|
|
192
|
+
var i = document.createElement("script");
|
|
193
|
+
i.async = !0, i.src = "".concat(r, "?id=").concat(t), n && i.setAttribute("nonce", n), document.body.appendChild(i), window.dataLayer = window.dataLayer || [], window.gtag = function() {
|
|
194
|
+
window.dataLayer.push(arguments);
|
|
195
|
+
}, e._hasLoadedGA = !0;
|
|
196
|
+
}
|
|
197
|
+
}), d(this, "_toGtagOptions", function(t) {
|
|
198
|
+
if (t) {
|
|
199
|
+
var n = {
|
|
200
|
+
// Old https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#cookieUpdate
|
|
201
|
+
// New https://developers.google.com/analytics/devguides/collection/gtagjs/cookies-user-id#cookie_update
|
|
202
|
+
cookieUpdate: "cookie_update",
|
|
203
|
+
cookieExpires: "cookie_expires",
|
|
204
|
+
cookieDomain: "cookie_domain",
|
|
205
|
+
cookieFlags: "cookie_flags",
|
|
206
|
+
// must be in set method?
|
|
207
|
+
userId: "user_id",
|
|
208
|
+
clientId: "client_id",
|
|
209
|
+
anonymizeIp: "anonymize_ip",
|
|
210
|
+
// https://support.google.com/analytics/answer/2853546?hl=en#zippy=%2Cin-this-article
|
|
211
|
+
contentGroup1: "content_group1",
|
|
212
|
+
contentGroup2: "content_group2",
|
|
213
|
+
contentGroup3: "content_group3",
|
|
214
|
+
contentGroup4: "content_group4",
|
|
215
|
+
contentGroup5: "content_group5",
|
|
216
|
+
// https://support.google.com/analytics/answer/9050852?hl=en
|
|
217
|
+
allowAdFeatures: "allow_google_signals",
|
|
218
|
+
allowAdPersonalizationSignals: "allow_ad_personalization_signals",
|
|
219
|
+
nonInteraction: "non_interaction",
|
|
220
|
+
page: "page_path",
|
|
221
|
+
hitCallback: "event_callback"
|
|
222
|
+
}, r = Object.entries(t).reduce(function(i, f) {
|
|
223
|
+
var s = Q(f, 2), p = s[0], m = s[1];
|
|
224
|
+
return n[p] ? i[n[p]] = m : i[p] = m, i;
|
|
225
|
+
}, {});
|
|
226
|
+
return r;
|
|
227
|
+
}
|
|
228
|
+
}), d(this, "initialize", function(t) {
|
|
229
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
230
|
+
if (!t)
|
|
231
|
+
throw new Error("Require GA_MEASUREMENT_ID");
|
|
232
|
+
var r = typeof t == "string" ? [{
|
|
233
|
+
trackingId: t
|
|
234
|
+
}] : t;
|
|
235
|
+
e._currentMeasurementId = r[0].trackingId;
|
|
236
|
+
var i = n.gaOptions, f = n.gtagOptions, s = n.nonce, p = n.testMode, m = p === void 0 ? !1 : p, y = n.gtagUrl;
|
|
237
|
+
if (e._testMode = m, m || e._loadGA(e._currentMeasurementId, s, y), e.isInitialized || (e._gtag("js", /* @__PURE__ */ new Date()), r.forEach(function(I) {
|
|
238
|
+
var j = _(_(_({}, e._toGtagOptions(_(_({}, i), I.gaOptions))), f), I.gtagOptions);
|
|
239
|
+
Object.keys(j).length ? e._gtag("config", I.trackingId, j) : e._gtag("config", I.trackingId);
|
|
240
|
+
})), e.isInitialized = !0, !m) {
|
|
241
|
+
var z = l(e._queueGtag);
|
|
242
|
+
for (e._queueGtag = [], e._isQueuing = !1; z.length; ) {
|
|
243
|
+
var D = z.shift();
|
|
244
|
+
e._gtag.apply(e, l(D)), D[0] === "get" && (e._isQueuing = !0);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}), d(this, "set", function(t) {
|
|
248
|
+
if (!t) {
|
|
249
|
+
console.warn("`fieldsObject` is required in .set()");
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
if (c(t) !== "object") {
|
|
253
|
+
console.warn("Expected `fieldsObject` arg to be an Object");
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
Object.keys(t).length === 0 && console.warn("empty `fieldsObject` given to .set()"), e._gaCommand("set", t);
|
|
257
|
+
}), d(this, "_gaCommandSendEvent", function(t, n, r, i, f) {
|
|
258
|
+
e._gtag("event", n, _(_({
|
|
259
|
+
event_category: t,
|
|
260
|
+
event_label: r,
|
|
261
|
+
value: i
|
|
262
|
+
}, f && {
|
|
263
|
+
non_interaction: f.nonInteraction
|
|
264
|
+
}), e._toGtagOptions(f)));
|
|
265
|
+
}), d(this, "_gaCommandSendEventParameters", function() {
|
|
266
|
+
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
267
|
+
n[r] = arguments[r];
|
|
268
|
+
if (typeof n[0] == "string")
|
|
269
|
+
e._gaCommandSendEvent.apply(e, l(n.slice(1)));
|
|
270
|
+
else {
|
|
271
|
+
var i = n[0], f = i.eventCategory, s = i.eventAction, p = i.eventLabel, m = i.eventValue;
|
|
272
|
+
i.hitType;
|
|
273
|
+
var y = o(i, S);
|
|
274
|
+
e._gaCommandSendEvent(f, s, p, m, y);
|
|
275
|
+
}
|
|
276
|
+
}), d(this, "_gaCommandSendTiming", function(t, n, r, i) {
|
|
277
|
+
e._gtag("event", "timing_complete", {
|
|
278
|
+
name: n,
|
|
279
|
+
value: r,
|
|
280
|
+
event_category: t,
|
|
281
|
+
event_label: i
|
|
282
|
+
});
|
|
283
|
+
}), d(this, "_gaCommandSendPageview", function(t, n) {
|
|
284
|
+
if (n && Object.keys(n).length) {
|
|
285
|
+
var r = e._toGtagOptions(n), i = r.title, f = r.location, s = o(r, b);
|
|
286
|
+
e._gtag("event", "page_view", _(_(_(_({}, t && {
|
|
287
|
+
page_path: t
|
|
288
|
+
}), i && {
|
|
289
|
+
page_title: i
|
|
290
|
+
}), f && {
|
|
291
|
+
page_location: f
|
|
292
|
+
}), s));
|
|
293
|
+
} else t ? e._gtag("event", "page_view", {
|
|
294
|
+
page_path: t
|
|
295
|
+
}) : e._gtag("event", "page_view");
|
|
296
|
+
}), d(this, "_gaCommandSendPageviewParameters", function() {
|
|
297
|
+
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
298
|
+
n[r] = arguments[r];
|
|
299
|
+
if (typeof n[0] == "string")
|
|
300
|
+
e._gaCommandSendPageview.apply(e, l(n.slice(1)));
|
|
301
|
+
else {
|
|
302
|
+
var i = n[0], f = i.page;
|
|
303
|
+
i.hitType;
|
|
304
|
+
var s = o(i, A);
|
|
305
|
+
e._gaCommandSendPageview(f, s);
|
|
306
|
+
}
|
|
307
|
+
}), d(this, "_gaCommandSend", function() {
|
|
308
|
+
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
309
|
+
n[r] = arguments[r];
|
|
310
|
+
var i = typeof n[0] == "string" ? n[0] : n[0].hitType;
|
|
311
|
+
switch (i) {
|
|
312
|
+
case "event":
|
|
313
|
+
e._gaCommandSendEventParameters.apply(e, n);
|
|
314
|
+
break;
|
|
315
|
+
case "pageview":
|
|
316
|
+
e._gaCommandSendPageviewParameters.apply(e, n);
|
|
317
|
+
break;
|
|
318
|
+
case "timing":
|
|
319
|
+
e._gaCommandSendTiming.apply(e, l(n.slice(1)));
|
|
320
|
+
break;
|
|
321
|
+
case "screenview":
|
|
322
|
+
case "transaction":
|
|
323
|
+
case "item":
|
|
324
|
+
case "social":
|
|
325
|
+
case "exception":
|
|
326
|
+
console.warn("Unsupported send command: ".concat(i));
|
|
327
|
+
break;
|
|
328
|
+
default:
|
|
329
|
+
console.warn("Send command doesn't exist: ".concat(i));
|
|
330
|
+
}
|
|
331
|
+
}), d(this, "_gaCommandSet", function() {
|
|
332
|
+
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
333
|
+
n[r] = arguments[r];
|
|
334
|
+
typeof n[0] == "string" && (n[0] = d({}, n[0], n[1])), e._gtag("set", e._toGtagOptions(n[0]));
|
|
335
|
+
}), d(this, "_gaCommand", function(t) {
|
|
336
|
+
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
337
|
+
r[i - 1] = arguments[i];
|
|
338
|
+
switch (t) {
|
|
339
|
+
case "send":
|
|
340
|
+
e._gaCommandSend.apply(e, r);
|
|
341
|
+
break;
|
|
342
|
+
case "set":
|
|
343
|
+
e._gaCommandSet.apply(e, r);
|
|
344
|
+
break;
|
|
345
|
+
default:
|
|
346
|
+
console.warn("Command doesn't exist: ".concat(t));
|
|
347
|
+
}
|
|
348
|
+
}), d(this, "ga", function() {
|
|
349
|
+
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
350
|
+
n[r] = arguments[r];
|
|
351
|
+
if (typeof n[0] == "string")
|
|
352
|
+
e._gaCommand.apply(e, n);
|
|
353
|
+
else {
|
|
354
|
+
var i = n[0];
|
|
355
|
+
e._gtag("get", e._currentMeasurementId, "client_id", function(f) {
|
|
356
|
+
e._isQueuing = !1;
|
|
357
|
+
var s = e._queueGtag;
|
|
358
|
+
for (i({
|
|
359
|
+
get: function(y) {
|
|
360
|
+
return y === "clientId" ? f : y === "trackingId" ? e._currentMeasurementId : y === "apiVersion" ? "1" : void 0;
|
|
361
|
+
}
|
|
362
|
+
}); s.length; ) {
|
|
363
|
+
var p = s.shift();
|
|
364
|
+
e._gtag.apply(e, l(p));
|
|
365
|
+
}
|
|
366
|
+
}), e._isQueuing = !0;
|
|
367
|
+
}
|
|
368
|
+
return e.ga;
|
|
369
|
+
}), d(this, "event", function(t, n) {
|
|
370
|
+
if (typeof t == "string")
|
|
371
|
+
e._gtag("event", t, e._toGtagOptions(n));
|
|
372
|
+
else {
|
|
373
|
+
var r = t.action, i = t.category, f = t.label, s = t.value, p = t.nonInteraction, m = t.transport;
|
|
374
|
+
if (!i || !r) {
|
|
375
|
+
console.warn("args.category AND args.action are required in event()");
|
|
376
|
+
return;
|
|
377
|
+
}
|
|
378
|
+
var y = {
|
|
379
|
+
hitType: "event",
|
|
380
|
+
eventCategory: (0, v.default)(i),
|
|
381
|
+
eventAction: (0, v.default)(r)
|
|
382
|
+
};
|
|
383
|
+
f && (y.eventLabel = (0, v.default)(f)), typeof s < "u" && (typeof s != "number" ? console.warn("Expected `args.value` arg to be a Number.") : y.eventValue = s), typeof p < "u" && (typeof p != "boolean" ? console.warn("`args.nonInteraction` must be a boolean.") : y.nonInteraction = p), typeof m < "u" && (typeof m != "string" ? console.warn("`args.transport` must be a string.") : (["beacon", "xhr", "image"].indexOf(m) === -1 && console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"), y.transport = m)), e._gaCommand("send", y);
|
|
384
|
+
}
|
|
385
|
+
}), d(this, "send", function(t) {
|
|
386
|
+
e._gaCommand("send", t);
|
|
387
|
+
}), this.reset();
|
|
388
|
+
}
|
|
389
|
+
return K(a, [{
|
|
390
|
+
key: "gtag",
|
|
391
|
+
value: function() {
|
|
392
|
+
this._gtag.apply(this, arguments);
|
|
393
|
+
}
|
|
394
|
+
}]), a;
|
|
395
|
+
}();
|
|
396
|
+
g.GA4 = L;
|
|
397
|
+
var x = new L();
|
|
398
|
+
g.default = x;
|
|
399
|
+
})(W);
|
|
400
|
+
(function(g) {
|
|
401
|
+
function h(o) {
|
|
402
|
+
"@babel/helpers - typeof";
|
|
403
|
+
return h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
|
|
404
|
+
return typeof u;
|
|
405
|
+
} : function(u) {
|
|
406
|
+
return u && typeof Symbol == "function" && u.constructor === Symbol && u !== Symbol.prototype ? "symbol" : typeof u;
|
|
407
|
+
}, h(o);
|
|
408
|
+
}
|
|
409
|
+
Object.defineProperty(g, "__esModule", {
|
|
410
|
+
value: !0
|
|
411
|
+
}), g.default = g.ReactGAImplementation = void 0;
|
|
412
|
+
var v = b(W);
|
|
413
|
+
function S(o) {
|
|
414
|
+
if (typeof WeakMap != "function") return null;
|
|
415
|
+
var u = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap();
|
|
416
|
+
return (S = function(C) {
|
|
417
|
+
return C ? c : u;
|
|
418
|
+
})(o);
|
|
419
|
+
}
|
|
420
|
+
function b(o, u) {
|
|
421
|
+
if (o && o.__esModule)
|
|
422
|
+
return o;
|
|
423
|
+
if (o === null || h(o) !== "object" && typeof o != "function")
|
|
424
|
+
return { default: o };
|
|
425
|
+
var c = S(u);
|
|
426
|
+
if (c && c.has(o))
|
|
427
|
+
return c.get(o);
|
|
428
|
+
var l = {}, C = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
429
|
+
for (var O in o)
|
|
430
|
+
if (O !== "default" && Object.prototype.hasOwnProperty.call(o, O)) {
|
|
431
|
+
var P = C ? Object.getOwnPropertyDescriptor(o, O) : null;
|
|
432
|
+
P && (P.get || P.set) ? Object.defineProperty(l, O, P) : l[O] = o[O];
|
|
433
|
+
}
|
|
434
|
+
return l.default = o, c && c.set(o, l), l;
|
|
435
|
+
}
|
|
436
|
+
var A = v.GA4;
|
|
437
|
+
g.ReactGAImplementation = A;
|
|
438
|
+
var w = v.default;
|
|
439
|
+
g.default = w;
|
|
440
|
+
})(q);
|
|
441
|
+
const X = /* @__PURE__ */ J(q), N = (g, h = "local", v) => {
|
|
442
|
+
if (!v) {
|
|
443
|
+
console.warn("GA_MEASUREMENT_ID is not set. Google Analytics will not be initialized.");
|
|
444
|
+
return;
|
|
445
|
+
}
|
|
446
|
+
h === "staging" || h === "production" ? X.initialize(v, {
|
|
447
|
+
// Use gaOptions to send custom dimensions with every GA event except initial_page_view.
|
|
448
|
+
// gtagOptions could be used to send custom dimensions to initial_page_view only, if desired.
|
|
449
|
+
gaOptions: {
|
|
450
|
+
// custom dimensions to report
|
|
451
|
+
scripps_brand: g,
|
|
452
|
+
scripps_platform: "Web"
|
|
453
|
+
}
|
|
454
|
+
}) : console.info("** Note: Google Analytics is only initialized in staging and production environments. **");
|
|
455
|
+
};
|
|
456
|
+
export {
|
|
457
|
+
N as initializeAnalytics
|
|
458
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { objectToGetParams as n } from "./helpers.js";
|
|
2
|
+
const i = {
|
|
3
|
+
email: (t) => {
|
|
4
|
+
const { url: e, text: r = "", longtext: o = "" } = t;
|
|
5
|
+
return `mailto:${n({
|
|
6
|
+
subject: r,
|
|
7
|
+
body: `${o}
|
|
8
|
+
|
|
9
|
+
» ${e}`
|
|
10
|
+
})}`;
|
|
11
|
+
},
|
|
12
|
+
facebook: (t) => {
|
|
13
|
+
const { url: e, text: r = "", longtext: o = "", hashtag: s = "" } = t;
|
|
14
|
+
return `https://www.facebook.com/sharer/sharer.php${n({
|
|
15
|
+
u: e,
|
|
16
|
+
quote: r || o ? `${r}
|
|
17
|
+
${o}` : "",
|
|
18
|
+
hashtag: s
|
|
19
|
+
})}`;
|
|
20
|
+
},
|
|
21
|
+
twitter: (t) => {
|
|
22
|
+
const { url: e, text: r = "", via: o = "", hashtags: s = [] } = t;
|
|
23
|
+
return `https://twitter.com/share${n({
|
|
24
|
+
url: e,
|
|
25
|
+
text: r,
|
|
26
|
+
via: o,
|
|
27
|
+
hashtags: s.join(",")
|
|
28
|
+
})}`;
|
|
29
|
+
},
|
|
30
|
+
googleplus: (t) => {
|
|
31
|
+
const { url: e } = t;
|
|
32
|
+
return `https://plus.google.com/share${n({
|
|
33
|
+
url: e
|
|
34
|
+
})}`;
|
|
35
|
+
},
|
|
36
|
+
linkedin: (t) => {
|
|
37
|
+
const { url: e, text: r = "", longtext: o = "" } = t;
|
|
38
|
+
return `https://linkedin.com/shareArticle${n({
|
|
39
|
+
url: e,
|
|
40
|
+
title: r,
|
|
41
|
+
summary: o
|
|
42
|
+
})}`;
|
|
43
|
+
},
|
|
44
|
+
pinterest: (t) => {
|
|
45
|
+
const { media: e, text: r = "" } = t;
|
|
46
|
+
return `https://pinterest.com/pin/create/button/${n({
|
|
47
|
+
media: e,
|
|
48
|
+
description: r
|
|
49
|
+
})}`;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
function u(t) {
|
|
53
|
+
return !!i.hasOwnProperty(t);
|
|
54
|
+
}
|
|
55
|
+
function c(t) {
|
|
56
|
+
const { network: e, ...r } = t, { url: o, media: s } = r, a = e.toLowerCase();
|
|
57
|
+
if (!a) throw new Error("the ShareButton's 'network' prop can't be undefined");
|
|
58
|
+
if (!u(a)) throw new Error("the 'network' prop's value is not a valid value for ShareButton");
|
|
59
|
+
if (!o) throw new Error("the ShareButton's 'url' prop can't be undefined");
|
|
60
|
+
if (e === "Pinterest" && !s) throw new Error("the ShareButton's 'media' prop for the 'Pinterest' network can't be undefined");
|
|
61
|
+
return i[a](r);
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
c as getSocialNetworkLink
|
|
65
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* creates an array containing dates for 2 weeks
|
|
3
|
+
* starting from todays date
|
|
4
|
+
*
|
|
5
|
+
* dates have five attributes:
|
|
6
|
+
* dayStr (string format EEE)
|
|
7
|
+
* monthStr (string format MMM)
|
|
8
|
+
* dateStr (string format d)
|
|
9
|
+
* fullDateStr (string format yyyy-MM-dd)
|
|
10
|
+
* date (a date object)
|
|
11
|
+
*
|
|
12
|
+
* @returns {Array} weeks
|
|
13
|
+
*/
|
|
14
|
+
export function create2WeeksList(): any[];
|
|
15
|
+
/**
|
|
16
|
+
* Checks the current time against the airdate and length of a show
|
|
17
|
+
* to determine if the show is currently on the air
|
|
18
|
+
*
|
|
19
|
+
* @param {string} airdateStr - needs to be parseable by Date() method
|
|
20
|
+
* @param {string} elementLength - format H:MM
|
|
21
|
+
* @returns {boolean}
|
|
22
|
+
*/
|
|
23
|
+
export function determineIfShowIsOnNow(airdateStr: string, elementLength: string): boolean;
|
|
24
|
+
export function getCurrentEasternProgrammingDateStr(): any;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @param {[]*} array
|
|
28
|
+
* @param {number} size
|
|
29
|
+
* @returns
|
|
30
|
+
*/
|
|
31
|
+
export function chunkArray(array: any, size: number): any[][];
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { a as u } from "../add-DH4DZT_w.mjs";
|
|
2
|
+
import { f as i } from "../format-DF9p-6BI.mjs";
|
|
3
|
+
import { s as w } from "../sub-DTz41m8W.mjs";
|
|
4
|
+
import { convert12to24 as h } from "./helpers.js";
|
|
5
|
+
import { g } from "../index-0wieGV50.mjs";
|
|
6
|
+
const S = () => {
|
|
7
|
+
const n = /* @__PURE__ */ new Date();
|
|
8
|
+
let e = n.toLocaleString("en-US", { timeZone: "America/New_York" }), [r, t] = e.split(",");
|
|
9
|
+
const o = Number.parseInt(t.split(":")[0], 10);
|
|
10
|
+
if (t.includes("AM") && (o < 6 || o === 12)) {
|
|
11
|
+
e = new Date(w(n, { days: 1 })).toLocaleString("en-US", { timeZone: "America/New_York" });
|
|
12
|
+
const c = e.split(",");
|
|
13
|
+
r = c[0], t = c[1];
|
|
14
|
+
}
|
|
15
|
+
const [s, a, m] = r.split("/"), [l, p] = t.trim().split(" "), [y, d] = l.split(":"), f = h(`${y}:${d} ${p}`);
|
|
16
|
+
return i(/* @__PURE__ */ new Date(`${m}-${s.length < 2 ? "0" + s : s}-${a.length < 2 ? "0" + a : a}T${f}:00`), "yyyy-MM-dd");
|
|
17
|
+
}, N = () => {
|
|
18
|
+
const n = /* @__PURE__ */ new Date(`${S()}T00:00:00`);
|
|
19
|
+
let e = [];
|
|
20
|
+
for (let r = 0; r <= 13; ++r) {
|
|
21
|
+
const t = u(n, { days: r });
|
|
22
|
+
e.push({
|
|
23
|
+
dayStr: r === 0 ? "Today" : i(t, "EEE"),
|
|
24
|
+
monthStr: i(t, "MMM"),
|
|
25
|
+
dateStr: i(t, "d"),
|
|
26
|
+
fullDateStr: i(t, "yyyy-MM-dd"),
|
|
27
|
+
date: t
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
return e;
|
|
31
|
+
}, E = (n, e) => {
|
|
32
|
+
if (!Array.isArray(n))
|
|
33
|
+
throw new TypeError("First argument must be an array");
|
|
34
|
+
if (typeof e != "number" || e <= 0)
|
|
35
|
+
throw new TypeError("Second argument must be a positive number");
|
|
36
|
+
const r = [];
|
|
37
|
+
for (let t = 0; t < n.length; t += e)
|
|
38
|
+
r.push(n.slice(t, t + e));
|
|
39
|
+
return r;
|
|
40
|
+
}, T = (n, e) => {
|
|
41
|
+
const r = /* @__PURE__ */ new Date(), t = g("America/New_York", new Date(n)) / 36e5, o = /* @__PURE__ */ new Date(`${n}:00-0${t * -1}:00`), [s, a] = e.split(":"), m = Number.parseInt(s, 10) * 60 + Number.parseInt(a, 10);
|
|
42
|
+
return r >= o && r <= u(o, { minutes: m });
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
E as chunkArray,
|
|
46
|
+
N as create2WeeksList,
|
|
47
|
+
T as determineIfShowIsOnNow,
|
|
48
|
+
S as getCurrentEasternProgrammingDateStr
|
|
49
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function u(e, n) {
|
|
2
|
+
document.addEventListener(e, n);
|
|
3
|
+
}
|
|
4
|
+
function c(e, n) {
|
|
5
|
+
document.removeEventListener(e, n);
|
|
6
|
+
}
|
|
7
|
+
function i(e, n) {
|
|
8
|
+
const t = new CustomEvent(e, { detail: n });
|
|
9
|
+
document.dispatchEvent(t);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
i as publish,
|
|
13
|
+
u as subscribe,
|
|
14
|
+
c as unsubscribe
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getCarouselOptions(type: any, title: any, env?: string): {};
|