@mjhls/mjh-framework 1.0.921 → 1.0.923
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 +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -21
- package/dist/cjs/AD300x250x600.js +21 -21
- package/dist/cjs/AD728x90.js +24 -24
- package/dist/cjs/ADFloatingFooter.js +20 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -20
- package/dist/cjs/{ADInfeed-51a39495.js → ADInfeed-a4d973da.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -20
- package/dist/cjs/ADSponsoredResources.js +20 -20
- package/dist/cjs/ADWebcast.js +20 -20
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-12db4509.js → ADlgInfeed-def2c25d.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -19
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +49 -48
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +9 -586
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -30
- package/dist/cjs/ConferenceArticleCard.js +25 -25
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +39 -39
- package/dist/cjs/DeckQueue.js +29 -29
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-bcaa7e3f.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +46 -45
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -45
- package/dist/cjs/GridContentPaginated.js +46 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -46
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +84 -83
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +38 -38
- package/dist/cjs/MasterDeckPaginated.js +41 -41
- package/dist/cjs/{MediaSeriesCard-d237146e.js → MediaSeriesCard-be3f9e36.js} +446 -646
- package/dist/cjs/MediaSeriesLanding.js +55 -54
- package/dist/cjs/MediaSeriesLandingPaginated.js +61 -60
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +39 -39
- package/dist/cjs/NavNative.js +39 -39
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-885dcfbd.js → Pagination-a2807e27.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +59 -59
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -59
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +32 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-be5f3503.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +54 -54
- package/dist/cjs/QueueDeckExpanded.js +35 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +38 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +25 -8
- package/dist/cjs/SeriesListingDeck.js +17 -17
- package/dist/cjs/{SeriesSlider-f9128638.js → SeriesSlider-88e59074.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +45 -44
- package/dist/cjs/TemplateNormal.js +45 -45
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +51 -50
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -35
- package/dist/cjs/VideoSeriesListing.js +30 -30
- package/dist/cjs/View.js +94 -92
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +69 -133
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-1359b868.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-0e4427c8.js → index-44481153.js} +21 -40
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-e6ba0197.js → index-faf269e6.js} +157 -407
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +143 -143
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-bba8b026.js → ADInfeed-7ba4f982.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-a45afa1d.js → ADlgInfeed-8eb5060f.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlgoliaSearch.js +49 -49
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +55 -54
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +416 -552
- package/dist/esm/AuthWrapper.js +27 -605
- package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -49
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -72
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +67 -67
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-4b99f79d.js → Dfp-23281963.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +72 -71
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -142
- package/dist/esm/GridContentPaginated.js +133 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -68
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-522a2cd0.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +92 -91
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +71 -71
- package/dist/esm/MasterDeckPaginated.js +63 -63
- package/dist/esm/{MediaSeriesCard-131f2659.js → MediaSeriesCard-b6034225.js} +707 -907
- package/dist/esm/MediaSeriesLanding.js +80 -79
- package/dist/esm/MediaSeriesLandingPaginated.js +84 -83
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +121 -121
- package/dist/esm/NavNative.js +110 -110
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-59436882.js → Pagination-185dfca0.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +93 -93
- package/dist/esm/PartnerDetailListingPaginated.js +91 -91
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-03500094.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +25 -8
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-98b7a870.js → SeriesSlider-0a8cfca0.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-1d8a9f59.js → SocialSearchComponent-32ee0f63.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +49 -48
- package/dist/esm/TemplateNormal.js +65 -65
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +63 -62
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +251 -249
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-893ab020.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-f089461c.js → _iter-detect-130ee549.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-169d6272.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-b4dfe691.js → asyncToGenerator-7bf8bc4d.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-e903ff31.js → core.get-iterator-method-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-99e66838.js → define-property-6d26cb48.js} +6 -6
- package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-dc6a71fd.js → extends-a4230287.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +45 -44
- package/dist/esm/{getTargeting-0cdf8983.js → getTargeting-ba1ffe43.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-1819118a.js} +24 -43
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-01c66814.js → index-93fc4be2.js} +551 -802
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/index.js +138 -138
- package/dist/esm/{inherits-8a801a18.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-425c8ab0.js → keys-69989821.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-ca2c8b8d.js → slicedToArray-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-7b1c0e23.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-83d9eb10.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-413f5ddb.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-41166338.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +114 -114
- package/dist/cjs/ImageSlider-a7fb6218.js +0 -182
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/esm/ImageSlider-eab2fe41.js +0 -176
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-c21932b3.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
|
@@ -1,70 +1,71 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
|
-
import { _ as _typeof } from './typeof-83d9eb10.js';
|
|
3
|
-
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
4
|
-
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
5
|
-
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-131f2659.js';
|
|
7
|
-
import 'react-dom';
|
|
8
|
-
import Link from 'next/link';
|
|
9
|
-
import MasterDeck from './MasterDeck.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
11
|
-
import { g as getSerializers } from './index-01c66814.js';
|
|
12
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
|
-
import './core.get-iterator-method-
|
|
14
|
-
import './web.dom.iterable-fdf034f5.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
15
3
|
import './_library-528f1934.js';
|
|
16
|
-
import './_iter-detect-
|
|
17
|
-
import './
|
|
18
|
-
import './_object-pie-
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import './inherits-91a2c374.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import { _ as _typeof } from './typeof-f1b7564e.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React, { useState, useEffect } from 'react';
|
|
15
|
+
import './index-1819118a.js';
|
|
19
16
|
import 'prop-types';
|
|
20
|
-
import './index-755f2cc2.js';
|
|
21
|
-
import './urlFor.js';
|
|
22
|
-
import './index-0dbff1d1.js';
|
|
23
|
-
import './moment-bc12cb97.js';
|
|
24
|
-
import './style-inject.es-1f59c1d0.js';
|
|
25
|
-
import './toConsumableArray-7b1c0e23.js';
|
|
26
|
-
import './inherits-8a801a18.js';
|
|
27
|
-
import './_object-sap-169d6272.js';
|
|
28
|
-
import './define-property-99e66838.js';
|
|
29
|
-
import './index-5cc7b406.js';
|
|
30
17
|
import 'react-bootstrap/Container';
|
|
31
18
|
import 'react-bootstrap/Row';
|
|
32
19
|
import 'react-bootstrap/Col';
|
|
33
20
|
import 'react-bootstrap/Card';
|
|
21
|
+
import './moment-b6f49411.js';
|
|
34
22
|
import 'next/router';
|
|
35
|
-
import './
|
|
36
|
-
import './debounce-
|
|
37
|
-
import './
|
|
38
|
-
import './
|
|
39
|
-
import '
|
|
40
|
-
import './visibility-sensor-
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
26
|
+
import './index.es-c6222053.js';
|
|
27
|
+
import 'react-dom';
|
|
28
|
+
import './visibility-sensor-f40c2564.js';
|
|
29
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
|
+
import './urlFor.js';
|
|
32
|
+
import './index-6c12bdd5.js';
|
|
33
|
+
import './main-43ca42fe.js';
|
|
34
|
+
import './entities-7cc3bf45.js';
|
|
35
|
+
import './stringify-70b72959.js';
|
|
36
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
|
|
45
37
|
import './Segment.js';
|
|
46
|
-
import './
|
|
47
|
-
import './
|
|
48
|
-
import '
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import './AdSlot.js';
|
|
40
|
+
import './ADInfeed-7ba4f982.js';
|
|
41
|
+
import './lodash-ec8c6b48.js';
|
|
42
|
+
import './ADlgInfeed-8eb5060f.js';
|
|
43
|
+
import 'react-bootstrap/Button';
|
|
44
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
49
45
|
import './index-c7e2ac95.js';
|
|
50
|
-
import './
|
|
51
|
-
import './urlForFile-413f5ddb.js';
|
|
52
|
-
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
46
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
53
47
|
import './GroupDeck.js';
|
|
54
|
-
import '
|
|
55
|
-
import './
|
|
48
|
+
import 'react-bootstrap';
|
|
49
|
+
import './iconBase-602d52fe.js';
|
|
50
|
+
import './index.esm-55f22b35.js';
|
|
51
|
+
import { g as getSerializers } from './index-93fc4be2.js';
|
|
52
|
+
import './util-7700fc59.js';
|
|
53
|
+
import './urlForFile-d2a27665.js';
|
|
54
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
56
55
|
import 'next/head';
|
|
57
56
|
import 'react-share';
|
|
58
|
-
import './
|
|
57
|
+
import './SocialShare.js';
|
|
58
|
+
import './_object-to-array-c54dd835.js';
|
|
59
59
|
import 'react-bootstrap/Pagination';
|
|
60
|
-
import 'react-bootstrap/Button';
|
|
61
|
-
import './entities-932b50cf.js';
|
|
62
|
-
import './index.esm-eb1e8e80.js';
|
|
63
|
-
import './iconBase-ccc56b97.js';
|
|
64
60
|
import 'react-bootstrap/Figure';
|
|
65
61
|
import 'react-bootstrap/OverlayTrigger';
|
|
66
62
|
import 'react-bootstrap/Tooltip';
|
|
67
63
|
import 'react-bootstrap/Popover';
|
|
64
|
+
import 'react-script-tag';
|
|
65
|
+
import MasterDeck from './MasterDeck.js';
|
|
66
|
+
import './style-inject.es-1f59c1d0.js';
|
|
67
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-b6034225.js';
|
|
68
|
+
import Link from 'next/link';
|
|
68
69
|
|
|
69
70
|
var _this = undefined;
|
|
70
71
|
|
|
@@ -88,11 +89,11 @@ var Filter = function Filter(_ref) {
|
|
|
88
89
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
89
90
|
grandChildData = _useState6[0],
|
|
90
91
|
setGrandChildData = _useState6[1];
|
|
91
|
-
/*
|
|
92
|
-
{parent: showAll,
|
|
93
|
-
chidlren: show selected from parent,
|
|
94
|
-
grandchildren: show selected from children
|
|
95
|
-
}
|
|
92
|
+
/*
|
|
93
|
+
{parent: showAll,
|
|
94
|
+
chidlren: show selected from parent,
|
|
95
|
+
grandchildren: show selected from children
|
|
96
|
+
}
|
|
96
97
|
*/
|
|
97
98
|
|
|
98
99
|
|
|
@@ -156,13 +157,13 @@ var Filter = function Filter(_ref) {
|
|
|
156
157
|
}
|
|
157
158
|
};
|
|
158
159
|
|
|
159
|
-
return
|
|
160
|
+
return React.createElement(
|
|
160
161
|
'div',
|
|
161
162
|
{ className: 'flex-container' },
|
|
162
|
-
parentData &&
|
|
163
|
+
parentData && React.createElement(
|
|
163
164
|
DropdownButton,
|
|
164
165
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn', title: parentData.name ? parentData.name : 'Filter By Category' },
|
|
165
|
-
|
|
166
|
+
React.createElement(
|
|
166
167
|
Dropdown.Item,
|
|
167
168
|
{ onSelect: function onSelect() {
|
|
168
169
|
return handleFilterSelect({}, 'parent');
|
|
@@ -171,7 +172,7 @@ var Filter = function Filter(_ref) {
|
|
|
171
172
|
),
|
|
172
173
|
parentData.data.map(function (docGroup) {
|
|
173
174
|
if (!docGroup._id) return null;
|
|
174
|
-
return
|
|
175
|
+
return React.createElement(
|
|
175
176
|
Dropdown.Item,
|
|
176
177
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
177
178
|
return handleFilterSelect(docGroup, 'parent');
|
|
@@ -180,10 +181,10 @@ var Filter = function Filter(_ref) {
|
|
|
180
181
|
);
|
|
181
182
|
})
|
|
182
183
|
),
|
|
183
|
-
childData && childData.data && childData.data.length > 0 &&
|
|
184
|
+
childData && childData.data && childData.data.length > 0 && React.createElement(
|
|
184
185
|
DropdownButton,
|
|
185
186
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: childData.name ? childData.name : 'Filter By Topic' },
|
|
186
|
-
|
|
187
|
+
React.createElement(
|
|
187
188
|
Dropdown.Item,
|
|
188
189
|
{ onSelect: function onSelect() {
|
|
189
190
|
return handleFilterSelect({}, 'child');
|
|
@@ -192,7 +193,7 @@ var Filter = function Filter(_ref) {
|
|
|
192
193
|
),
|
|
193
194
|
childData.data.map(function (docGroup) {
|
|
194
195
|
if (!docGroup._id) return null;
|
|
195
|
-
return
|
|
196
|
+
return React.createElement(
|
|
196
197
|
Dropdown.Item,
|
|
197
198
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
198
199
|
return handleFilterSelect(docGroup, 'child');
|
|
@@ -201,10 +202,10 @@ var Filter = function Filter(_ref) {
|
|
|
201
202
|
);
|
|
202
203
|
})
|
|
203
204
|
),
|
|
204
|
-
grandChildData && grandChildData.data && grandChildData.data.length > 0 &&
|
|
205
|
+
grandChildData && grandChildData.data && grandChildData.data.length > 0 && React.createElement(
|
|
205
206
|
DropdownButton,
|
|
206
207
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: grandChildData.name ? grandChildData.name : 'Select Sub Topic' },
|
|
207
|
-
|
|
208
|
+
React.createElement(
|
|
208
209
|
Dropdown.Item,
|
|
209
210
|
{ onSelect: function onSelect() {
|
|
210
211
|
return handleFilterSelect({}, 'grandchild');
|
|
@@ -213,7 +214,7 @@ var Filter = function Filter(_ref) {
|
|
|
213
214
|
),
|
|
214
215
|
grandChildData.data.map(function (docGroup) {
|
|
215
216
|
if (!docGroup._id) return null;
|
|
216
|
-
return
|
|
217
|
+
return React.createElement(
|
|
217
218
|
Dropdown.Item,
|
|
218
219
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
219
220
|
return handleFilterSelect(docGroup, 'grandchild');
|
|
@@ -222,7 +223,7 @@ var Filter = function Filter(_ref) {
|
|
|
222
223
|
);
|
|
223
224
|
})
|
|
224
225
|
),
|
|
225
|
-
|
|
226
|
+
React.createElement(
|
|
226
227
|
'style',
|
|
227
228
|
{ jsx: 'true' },
|
|
228
229
|
'\n .flex-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n }\n .filter-btn button {\n border-radius: 3px;\n z-index: 99999;\n }\n .filter-btn .dropdown-menu {\n z-index: 9999999;\n }\n @media (max-width: 768px) {\n .flex-container {\n flex-direction: column;\n align-items: flex-start;\n }\n }\n '
|
|
@@ -312,27 +313,27 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
312
313
|
}();
|
|
313
314
|
|
|
314
315
|
if (props.statusCode === 404) {
|
|
315
|
-
return
|
|
316
|
+
return React.createElement(
|
|
316
317
|
'div',
|
|
317
318
|
{ className: 'd-flex flex-column align-items-center mt-3' },
|
|
318
|
-
|
|
319
|
+
React.createElement(
|
|
319
320
|
'h3',
|
|
320
321
|
null,
|
|
321
322
|
'404: Resource not found'
|
|
322
323
|
),
|
|
323
|
-
|
|
324
|
+
React.createElement(
|
|
324
325
|
'p',
|
|
325
326
|
null,
|
|
326
327
|
'We seem to have misplaced the page you\'re looking for. Sorry! Please try checking the URL for errors.'
|
|
327
328
|
),
|
|
328
|
-
|
|
329
|
+
React.createElement(
|
|
329
330
|
'p',
|
|
330
331
|
null,
|
|
331
332
|
'Click here to',
|
|
332
|
-
|
|
333
|
+
React.createElement(
|
|
333
334
|
Link,
|
|
334
335
|
{ href: '/' },
|
|
335
|
-
|
|
336
|
+
React.createElement(
|
|
336
337
|
'a',
|
|
337
338
|
{ style: { color: 'blue', textDecoration: 'underline' } },
|
|
338
339
|
' return to homepage.'
|
|
@@ -342,17 +343,17 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
342
343
|
);
|
|
343
344
|
}
|
|
344
345
|
|
|
345
|
-
return
|
|
346
|
+
return React.createElement(
|
|
346
347
|
'div',
|
|
347
348
|
{ className: 'mb-5' },
|
|
348
|
-
props.docGroup && props.docGroup.description &&
|
|
349
|
-
props.taxonomyFilter && props.taxonomyFilter &&
|
|
349
|
+
props.docGroup && props.docGroup.description && React.createElement(BlockContent, { blocks: props.docGroup.description, serializers: getSerializers(client) }),
|
|
350
|
+
props.taxonomyFilter && props.taxonomyFilter && React.createElement(
|
|
350
351
|
'div',
|
|
351
352
|
{ className: '' },
|
|
352
|
-
|
|
353
|
-
|
|
353
|
+
React.createElement(Filter, { setFilterTopicID: setFilterTopicID, filterData: props.taxonomyFilter }),
|
|
354
|
+
React.createElement('hr', null)
|
|
354
355
|
),
|
|
355
|
-
seriesData &&
|
|
356
|
+
seriesData && React.createElement(MasterDeck, {
|
|
356
357
|
deck: MediaSeriesCard,
|
|
357
358
|
variant: 'left',
|
|
358
359
|
defaultImage: '/placeholder.jpg',
|
|
@@ -370,12 +371,12 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
370
371
|
|
|
371
372
|
MediaSeriesLanding.getInitialData = function () {
|
|
372
373
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(ctx, client, cache) {
|
|
373
|
-
var urlQuery, pathname, identifier, itemsPerPage, currentPage, start, statusCode, params, docGroupID, seriesQuery, seriesData, allSeries, buildUsedTopicsArray, usedTopics, taxonomyFilter;
|
|
374
|
+
var urlQuery, pathname, req, identifier, itemsPerPage, currentPage, start, statusCode, params, docGroupID, seriesQuery, seriesData, allSeries, buildUsedTopicsArray, usedTopics, taxonomyFilter;
|
|
374
375
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
375
376
|
while (1) {
|
|
376
377
|
switch (_context2.prev = _context2.next) {
|
|
377
378
|
case 0:
|
|
378
|
-
urlQuery = ctx.query, pathname = ctx.pathname, ctx.req;
|
|
379
|
+
urlQuery = ctx.query, pathname = ctx.pathname, req = ctx.req;
|
|
379
380
|
identifier = pathname.replace('/', '');
|
|
380
381
|
itemsPerPage = 10;
|
|
381
382
|
currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
|
|
@@ -1,72 +1,73 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-b4dfe691.js';
|
|
2
|
-
import { _ as _typeof } from './typeof-83d9eb10.js';
|
|
3
|
-
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
4
|
-
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
5
|
-
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-131f2659.js';
|
|
7
|
-
import 'react-dom';
|
|
8
|
-
import Link from 'next/link';
|
|
9
|
-
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
10
|
-
import MasterDeck from './MasterDeckPaginated.js';
|
|
11
|
-
import { g as getSerializers } from './index-01c66814.js';
|
|
12
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
|
-
import './core.get-iterator-method-
|
|
14
|
-
import './web.dom.iterable-fdf034f5.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
15
3
|
import './_library-528f1934.js';
|
|
16
|
-
import './_iter-detect-
|
|
17
|
-
import './
|
|
18
|
-
import './_object-pie-
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import './inherits-91a2c374.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import { _ as _typeof } from './typeof-f1b7564e.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React, { useState, useEffect } from 'react';
|
|
15
|
+
import './index-1819118a.js';
|
|
19
16
|
import 'prop-types';
|
|
20
|
-
import './index-755f2cc2.js';
|
|
21
|
-
import './urlFor.js';
|
|
22
|
-
import './index-0dbff1d1.js';
|
|
23
|
-
import './moment-bc12cb97.js';
|
|
24
|
-
import './style-inject.es-1f59c1d0.js';
|
|
25
|
-
import './stringify-c21932b3.js';
|
|
26
|
-
import './toConsumableArray-7b1c0e23.js';
|
|
27
|
-
import './inherits-8a801a18.js';
|
|
28
|
-
import './_object-sap-169d6272.js';
|
|
29
|
-
import './define-property-99e66838.js';
|
|
30
|
-
import './index-5cc7b406.js';
|
|
31
17
|
import 'react-bootstrap/Container';
|
|
32
|
-
import 'react-bootstrap/
|
|
33
|
-
import '
|
|
34
|
-
import './lodash-f97fd99a.js';
|
|
35
|
-
import './main-1894c974.js';
|
|
36
|
-
import './ADlgInfeed-a45afa1d.js';
|
|
18
|
+
import 'react-bootstrap/Row';
|
|
19
|
+
import 'react-bootstrap/Col';
|
|
37
20
|
import 'react-bootstrap/Card';
|
|
38
|
-
import './
|
|
39
|
-
import '
|
|
40
|
-
import './isSymbol-
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
21
|
+
import './moment-b6f49411.js';
|
|
22
|
+
import 'next/router';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
26
|
+
import 'react-dom';
|
|
27
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
28
|
+
import './index-51a80699.js';
|
|
29
|
+
import './urlFor.js';
|
|
30
|
+
import './index-6c12bdd5.js';
|
|
31
|
+
import './main-43ca42fe.js';
|
|
32
|
+
import './entities-7cc3bf45.js';
|
|
33
|
+
import './stringify-70b72959.js';
|
|
34
|
+
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7bf8bc4d.js';
|
|
43
35
|
import './Segment.js';
|
|
44
|
-
import './
|
|
45
|
-
import './
|
|
46
|
-
import '
|
|
36
|
+
import './Beam.js';
|
|
37
|
+
import './AdSlot.js';
|
|
38
|
+
import './ADInfeed-7ba4f982.js';
|
|
39
|
+
import './lodash-ec8c6b48.js';
|
|
40
|
+
import './ADlgInfeed-8eb5060f.js';
|
|
47
41
|
import 'react-bootstrap/Button';
|
|
48
|
-
import './
|
|
49
|
-
import './iconBase-ccc56b97.js';
|
|
50
|
-
import 'react-bootstrap';
|
|
42
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
51
43
|
import './index-c7e2ac95.js';
|
|
52
|
-
import './
|
|
53
|
-
import './urlForFile-413f5ddb.js';
|
|
54
|
-
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
44
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
55
45
|
import './GroupDeck.js';
|
|
56
|
-
import '
|
|
57
|
-
import './
|
|
46
|
+
import 'react-bootstrap';
|
|
47
|
+
import './iconBase-602d52fe.js';
|
|
48
|
+
import './index.esm-55f22b35.js';
|
|
49
|
+
import { g as getSerializers } from './index-93fc4be2.js';
|
|
50
|
+
import './util-7700fc59.js';
|
|
51
|
+
import './urlForFile-d2a27665.js';
|
|
52
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
58
53
|
import 'next/head';
|
|
59
54
|
import 'react-share';
|
|
60
|
-
import './
|
|
55
|
+
import './SocialShare.js';
|
|
56
|
+
import './_object-to-array-c54dd835.js';
|
|
61
57
|
import 'react-bootstrap/Pagination';
|
|
62
|
-
import './entities-932b50cf.js';
|
|
63
|
-
import 'react-bootstrap/Row';
|
|
64
|
-
import 'react-bootstrap/Col';
|
|
65
|
-
import './index.esm-eb1e8e80.js';
|
|
66
58
|
import 'react-bootstrap/Figure';
|
|
67
59
|
import 'react-bootstrap/OverlayTrigger';
|
|
68
60
|
import 'react-bootstrap/Tooltip';
|
|
69
61
|
import 'react-bootstrap/Popover';
|
|
62
|
+
import 'react-script-tag';
|
|
63
|
+
import 'react-bootstrap/Spinner';
|
|
64
|
+
import './index.esm-d1125763.js';
|
|
65
|
+
import './style-inject.es-1f59c1d0.js';
|
|
66
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-b6034225.js';
|
|
67
|
+
import Link from 'next/link';
|
|
68
|
+
import 'react-paginate';
|
|
69
|
+
import './Pagination-185dfca0.js';
|
|
70
|
+
import MasterDeck from './MasterDeckPaginated.js';
|
|
70
71
|
|
|
71
72
|
var _this = undefined;
|
|
72
73
|
|
|
@@ -90,11 +91,11 @@ var Filter = function Filter(_ref) {
|
|
|
90
91
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
91
92
|
grandChildData = _useState6[0],
|
|
92
93
|
setGrandChildData = _useState6[1];
|
|
93
|
-
/*
|
|
94
|
-
{parent: showAll,
|
|
95
|
-
chidlren: show selected from parent,
|
|
96
|
-
grandchildren: show selected from children
|
|
97
|
-
}
|
|
94
|
+
/*
|
|
95
|
+
{parent: showAll,
|
|
96
|
+
chidlren: show selected from parent,
|
|
97
|
+
grandchildren: show selected from children
|
|
98
|
+
}
|
|
98
99
|
*/
|
|
99
100
|
|
|
100
101
|
|
|
@@ -158,13 +159,13 @@ var Filter = function Filter(_ref) {
|
|
|
158
159
|
}
|
|
159
160
|
};
|
|
160
161
|
|
|
161
|
-
return
|
|
162
|
+
return React.createElement(
|
|
162
163
|
'div',
|
|
163
164
|
{ className: 'flex-container' },
|
|
164
|
-
parentData &&
|
|
165
|
+
parentData && React.createElement(
|
|
165
166
|
DropdownButton,
|
|
166
167
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn', title: parentData.name ? parentData.name : 'Filter By Category' },
|
|
167
|
-
|
|
168
|
+
React.createElement(
|
|
168
169
|
Dropdown.Item,
|
|
169
170
|
{ onSelect: function onSelect() {
|
|
170
171
|
return handleFilterSelect({}, 'parent');
|
|
@@ -173,7 +174,7 @@ var Filter = function Filter(_ref) {
|
|
|
173
174
|
),
|
|
174
175
|
parentData.data.map(function (docGroup) {
|
|
175
176
|
if (!docGroup._id) return null;
|
|
176
|
-
return
|
|
177
|
+
return React.createElement(
|
|
177
178
|
Dropdown.Item,
|
|
178
179
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
179
180
|
return handleFilterSelect(docGroup, 'parent');
|
|
@@ -182,10 +183,10 @@ var Filter = function Filter(_ref) {
|
|
|
182
183
|
);
|
|
183
184
|
})
|
|
184
185
|
),
|
|
185
|
-
childData && childData.data && childData.data.length > 0 &&
|
|
186
|
+
childData && childData.data && childData.data.length > 0 && React.createElement(
|
|
186
187
|
DropdownButton,
|
|
187
188
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: childData.name ? childData.name : 'Filter By Topic' },
|
|
188
|
-
|
|
189
|
+
React.createElement(
|
|
189
190
|
Dropdown.Item,
|
|
190
191
|
{ onSelect: function onSelect() {
|
|
191
192
|
return handleFilterSelect({}, 'child');
|
|
@@ -194,7 +195,7 @@ var Filter = function Filter(_ref) {
|
|
|
194
195
|
),
|
|
195
196
|
childData.data.map(function (docGroup) {
|
|
196
197
|
if (!docGroup._id) return null;
|
|
197
|
-
return
|
|
198
|
+
return React.createElement(
|
|
198
199
|
Dropdown.Item,
|
|
199
200
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
200
201
|
return handleFilterSelect(docGroup, 'child');
|
|
@@ -203,10 +204,10 @@ var Filter = function Filter(_ref) {
|
|
|
203
204
|
);
|
|
204
205
|
})
|
|
205
206
|
),
|
|
206
|
-
grandChildData && grandChildData.data && grandChildData.data.length > 0 &&
|
|
207
|
+
grandChildData && grandChildData.data && grandChildData.data.length > 0 && React.createElement(
|
|
207
208
|
DropdownButton,
|
|
208
209
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: grandChildData.name ? grandChildData.name : 'Select Sub Topic' },
|
|
209
|
-
|
|
210
|
+
React.createElement(
|
|
210
211
|
Dropdown.Item,
|
|
211
212
|
{ onSelect: function onSelect() {
|
|
212
213
|
return handleFilterSelect({}, 'grandchild');
|
|
@@ -215,7 +216,7 @@ var Filter = function Filter(_ref) {
|
|
|
215
216
|
),
|
|
216
217
|
grandChildData.data.map(function (docGroup) {
|
|
217
218
|
if (!docGroup._id) return null;
|
|
218
|
-
return
|
|
219
|
+
return React.createElement(
|
|
219
220
|
Dropdown.Item,
|
|
220
221
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
221
222
|
return handleFilterSelect(docGroup, 'grandchild');
|
|
@@ -224,7 +225,7 @@ var Filter = function Filter(_ref) {
|
|
|
224
225
|
);
|
|
225
226
|
})
|
|
226
227
|
),
|
|
227
|
-
|
|
228
|
+
React.createElement(
|
|
228
229
|
'style',
|
|
229
230
|
{ jsx: 'true' },
|
|
230
231
|
'\n .flex-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n }\n .filter-btn button {\n border-radius: 3px;\n z-index: 99999;\n }\n .filter-btn .dropdown-menu {\n z-index: 9999999;\n }\n @media (max-width: 768px) {\n .flex-container {\n flex-direction: column;\n align-items: flex-start;\n }\n }\n '
|
|
@@ -333,27 +334,27 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
333
334
|
}();
|
|
334
335
|
|
|
335
336
|
if (props.statusCode === 404) {
|
|
336
|
-
return
|
|
337
|
+
return React.createElement(
|
|
337
338
|
'div',
|
|
338
339
|
{ className: 'd-flex flex-column align-items-center mt-3' },
|
|
339
|
-
|
|
340
|
+
React.createElement(
|
|
340
341
|
'h3',
|
|
341
342
|
null,
|
|
342
343
|
'404: Resource not found'
|
|
343
344
|
),
|
|
344
|
-
|
|
345
|
+
React.createElement(
|
|
345
346
|
'p',
|
|
346
347
|
null,
|
|
347
348
|
'We seem to have misplaced the page you\'re looking for. Sorry! Please try checking the URL for errors.'
|
|
348
349
|
),
|
|
349
|
-
|
|
350
|
+
React.createElement(
|
|
350
351
|
'p',
|
|
351
352
|
null,
|
|
352
353
|
'Click here to',
|
|
353
|
-
|
|
354
|
+
React.createElement(
|
|
354
355
|
Link,
|
|
355
356
|
{ href: '/' },
|
|
356
|
-
|
|
357
|
+
React.createElement(
|
|
357
358
|
'a',
|
|
358
359
|
{ style: { color: 'blue', textDecoration: 'underline' } },
|
|
359
360
|
' return to homepage.'
|
|
@@ -363,17 +364,17 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
363
364
|
);
|
|
364
365
|
}
|
|
365
366
|
|
|
366
|
-
return
|
|
367
|
+
return React.createElement(
|
|
367
368
|
'div',
|
|
368
369
|
{ className: 'mb-5' },
|
|
369
|
-
props.docGroup && props.docGroup.description &&
|
|
370
|
-
props.taxonomyFilter && props.taxonomyFilter &&
|
|
370
|
+
props.docGroup && props.docGroup.description && React.createElement(BlockContent, { blocks: props.docGroup.description, serializers: getSerializers(client) }),
|
|
371
|
+
props.taxonomyFilter && props.taxonomyFilter && React.createElement(
|
|
371
372
|
'div',
|
|
372
373
|
{ className: '' },
|
|
373
|
-
|
|
374
|
-
|
|
374
|
+
React.createElement(Filter, { setFilterTopicID: setFilterTopicID, filterData: props.taxonomyFilter }),
|
|
375
|
+
React.createElement('hr', null)
|
|
375
376
|
),
|
|
376
|
-
seriesData &&
|
|
377
|
+
seriesData && React.createElement(MasterDeck, {
|
|
377
378
|
deck: MediaSeriesCard,
|
|
378
379
|
variant: 'left',
|
|
379
380
|
defaultImage: '/placeholder.jpg',
|
|
@@ -392,13 +393,13 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
392
393
|
|
|
393
394
|
MediaSeriesLanding.getInitialData = function () {
|
|
394
395
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(ctx, client, cache, parameters) {
|
|
395
|
-
var urlQuery, pathname, identifier, itemsPerPage, currentPage, start, statusCode, params, docGroupID, seriesQueryFilters, seriesQuerySorts, seriesQueryProjection, seriesQuery, totalSeriesCountQuery, _ref6, _ref7, seriesData, totalSeriesCount, allSeries, buildUsedTopicsArray, usedTopics, taxonomyFilter;
|
|
396
|
+
var urlQuery, pathname, req, identifier, itemsPerPage, currentPage, start, statusCode, params, docGroupID, seriesQueryFilters, seriesQuerySorts, seriesQueryProjection, seriesQuery, totalSeriesCountQuery, _ref6, _ref7, seriesData, totalSeriesCount, allSeries, buildUsedTopicsArray, usedTopics, taxonomyFilter;
|
|
396
397
|
|
|
397
398
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
398
399
|
while (1) {
|
|
399
400
|
switch (_context2.prev = _context2.next) {
|
|
400
401
|
case 0:
|
|
401
|
-
urlQuery = ctx.query, pathname = ctx.pathname, ctx.req;
|
|
402
|
+
urlQuery = ctx.query, pathname = ctx.pathname, req = ctx.req;
|
|
402
403
|
identifier = pathname.replace('/', '');
|
|
403
404
|
itemsPerPage = parameters && parameters.itemsPerPage ? parameters.itemsPerPage : 30;
|
|
404
405
|
currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
|