@mjhls/mjh-framework 1.0.883-mwn-test-v4 → 1.0.884-beta.0
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 +9 -10
- package/dist/cjs/AD300x250.js +28 -29
- package/dist/cjs/AD300x250x600.js +28 -29
- package/dist/cjs/AD728x90.js +31 -32
- package/dist/cjs/ADFloatingFooter.js +30 -31
- package/dist/cjs/ADFooter.js +12 -13
- package/dist/cjs/ADGutter.js +30 -31
- package/dist/cjs/{ADInfeed-bce0ba07.js → ADInfeed-2e48af77.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +30 -31
- package/dist/cjs/ADSponsoredResources.js +30 -31
- package/dist/cjs/ADWebcast.js +30 -31
- package/dist/cjs/ADWelcome.js +31 -32
- package/dist/cjs/{ADlgInfeed-950b414b.js → ADlgInfeed-c39c7131.js} +10 -11
- package/dist/cjs/AccordionPanel.js +27 -29
- package/dist/cjs/AdSlot.js +31 -32
- package/dist/cjs/AdSlotsProvider.js +909 -18
- package/dist/cjs/AlgoliaSearch.js +1306 -1490
- package/dist/cjs/AlphabeticList.js +23 -24
- package/dist/cjs/ArticleCarousel.js +19 -20
- package/dist/cjs/ArticleProgramLandingPage.js +60 -61
- package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
- package/dist/cjs/ArticleSeriesListing.js +59 -60
- package/dist/cjs/Auth.js +1504 -680
- package/dist/cjs/AuthWrapper.js +419 -1637
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-02e827ae.js} +13 -14
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-091a991f.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +25 -27
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +31 -34
- package/dist/cjs/Column3.js +57 -60
- package/dist/cjs/ConferenceArticleCard.js +40 -41
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +101 -105
- package/dist/cjs/DeckQueue.js +87 -91
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-14d2455c.js} +32 -33
- package/dist/cjs/EventsDeck.js +150 -157
- package/dist/cjs/ExternalResources.js +78 -79
- package/dist/cjs/Feature.js +27 -29
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +231 -236
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +57 -58
- package/dist/cjs/HamMagazine.js +139 -144
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +15 -16
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +71 -72
- package/dist/cjs/HorizontalHero.js +28 -29
- package/dist/cjs/IssueContentDeck.js +71 -76
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +93 -94
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +37 -39
- package/dist/cjs/MasterDeck.js +78 -79
- package/dist/cjs/MediaSeriesLanding.js +1138 -1233
- package/dist/cjs/NavDvm.js +72 -77
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +146 -151
- package/dist/cjs/NavNative.js +137 -145
- package/dist/cjs/OncliveHero.js +22 -22
- package/dist/cjs/OncliveLargeHero.js +70 -71
- package/dist/cjs/PageFilter.js +12 -13
- package/dist/cjs/PartnerDetailListing.js +1463 -289
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +17 -19
- package/dist/cjs/PubSection.js +40 -41
- package/dist/cjs/PubToc.js +13 -14
- package/dist/cjs/PublicationDeck.js +65 -70
- package/dist/cjs/PublicationLanding.js +133 -141
- package/dist/cjs/QueueDeckExpanded.js +308 -308
- package/dist/cjs/RecentNews.js +22 -23
- package/dist/cjs/RelatedContent.js +57 -58
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Schema.js +100 -0
- package/dist/cjs/Search.js +16 -20
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +36 -36
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-49b81b0b.js} +39 -40
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -37
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-e8477ca3.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -66
- package/dist/cjs/TaxonomyDescription.js +53 -54
- package/dist/cjs/TemplateNormal.js +72 -73
- package/dist/cjs/ThumbnailCard.js +24 -26
- package/dist/cjs/Ustream.js +79 -71
- package/dist/cjs/VerticalHero.js +19 -20
- package/dist/cjs/VideoProgramLandingPage.js +74 -78
- package/dist/cjs/VideoSeriesCard.js +32 -33
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +49 -50
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +264 -347
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +67 -68
- 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/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- 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-df1aed86.js → entities-310b46ee.js} +1 -5
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-eed4f016.js} +7 -7
- package/dist/cjs/faundadb.js +19 -19
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +16 -16
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/getSeriesDetail.js +3 -0
- package/dist/cjs/{getTargeting-9d509319.js → getTargeting-8874437b.js} +12 -12
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
- package/dist/cjs/{index-af49d679.js → index-396089c0.js} +1044 -1070
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
- package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
- package/dist/cjs/{index-50be6759.js → index-e2e62963.js} +10 -26
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-90433435.js} +18 -6
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-e32d3e8e.js} +7 -4
- package/dist/cjs/{index.esm-88593816.js → index.esm-ff47db6f.js} +15 -8
- package/dist/cjs/index.js +166 -171
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{inherits-de66ea16.js → inherits-cba9c846.js} +19 -19
- 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-fc2922d0.js} +31 -128
- package/dist/cjs/main-02daeefe.js +862 -0
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- 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-5f52cf64.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +22 -22
- package/dist/esm/AD300x250x600.js +22 -22
- package/dist/esm/AD728x90.js +25 -25
- package/dist/esm/ADFloatingFooter.js +21 -21
- package/dist/esm/ADFooter.js +4 -4
- package/dist/esm/ADGutter.js +21 -21
- package/dist/esm/{ADInfeed-0a55cd2d.js → ADInfeed-8a038df9.js} +6 -6
- package/dist/esm/ADSkyscraper.js +21 -21
- package/dist/esm/ADSponsoredResources.js +21 -21
- package/dist/esm/ADWebcast.js +21 -21
- package/dist/esm/ADWelcome.js +18 -18
- package/dist/esm/{ADlgInfeed-013e1f4a.js → ADlgInfeed-cee95aa2.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +20 -20
- package/dist/esm/AdSlotsProvider.js +906 -14
- package/dist/esm/AlgoliaSearch.js +534 -717
- package/dist/esm/AlphabeticList.js +8 -8
- package/dist/esm/ArticleCarousel.js +13 -13
- package/dist/esm/ArticleProgramLandingPage.js +48 -48
- package/dist/esm/ArticleSeriesLandingPage.js +30 -30
- package/dist/esm/ArticleSeriesListing.js +32 -32
- package/dist/esm/Auth.js +1419 -591
- package/dist/esm/AuthWrapper.js +392 -1609
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-e6f95c2f.js} +1 -1
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-e9b4ddcf.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +22 -22
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +19 -19
- package/dist/esm/Column3.js +37 -37
- package/dist/esm/ConferenceArticleCard.js +25 -25
- package/dist/esm/DeckContent.js +55 -55
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-102f0beb.js → Dfp-f867d061.js} +13 -13
- package/dist/esm/EventsDeck.js +65 -65
- package/dist/esm/ExternalResources.js +46 -46
- package/dist/esm/Feature.js +7 -7
- package/dist/esm/ForbesHero.js +10 -10
- package/dist/esm/GridContent.js +88 -88
- package/dist/esm/GridHero.js +11 -11
- package/dist/esm/GroupDeck.js +12 -12
- package/dist/esm/HamMagazine.js +37 -37
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +46 -46
- package/dist/esm/HorizontalHero.js +8 -8
- package/dist/esm/IssueContentDeck.js +25 -25
- package/dist/esm/IssueDeck.js +35 -35
- package/dist/esm/IssueLanding.js +82 -82
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +20 -20
- package/dist/esm/MasterDeck.js +43 -43
- package/dist/esm/MediaSeriesLanding.js +660 -752
- package/dist/esm/NavDvm.js +14 -14
- package/dist/esm/NavMagazine.js +42 -42
- package/dist/esm/NavNative.js +41 -41
- package/dist/esm/OncliveHero.js +8 -7
- package/dist/esm/OncliveLargeHero.js +11 -11
- package/dist/esm/PageFilter.js +4 -4
- package/dist/esm/PartnerDetailListing.js +1371 -196
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +4 -4
- package/dist/esm/PubSection.js +32 -32
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +27 -27
- package/dist/esm/PublicationLanding.js +74 -78
- package/dist/esm/QueueDeckExpanded.js +36 -36
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +38 -38
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Schema.js +95 -0
- package/dist/esm/Search.js +6 -6
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +18 -18
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-ce19fa25.js} +14 -14
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-8e0fcf66.js → SocialSearchComponent-b5be0e6c.js} +12 -12
- package/dist/esm/TaxonomyCard.js +27 -27
- package/dist/esm/TaxonomyDescription.js +44 -44
- package/dist/esm/TemplateNormal.js +48 -48
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +72 -63
- package/dist/esm/VerticalHero.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +52 -52
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +36 -36
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +91 -170
- package/dist/esm/YahooHero.js +13 -13
- package/dist/esm/YoutubeGroup.js +21 -21
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.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-7cee6f84.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-7bf8bc4d.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
- package/dist/esm/{core.get-iterator-method-ea258bb1.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-6d26cb48.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-7cc3bf45.js} +1 -5
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-5b1796d4.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +11 -11
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/getSeriesDetail.js +3 -0
- package/dist/esm/{getTargeting-4061f839.js → getTargeting-277c801e.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-d7489d39.js → index-0e04b7d7.js} +618 -634
- package/dist/esm/{index-f0fc23eb.js → index-41a678ea.js} +4 -4
- package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
- package/dist/esm/{index-98ca9cec.js → index-aaa2dae0.js} +11 -26
- package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-29e48d38.js} +18 -7
- package/dist/esm/{index.esm-28aafed6.js → index.esm-cf08bf18.js} +15 -8
- package/dist/esm/{index.esm-9b042655.js → index.esm-f8aaeeeb.js} +7 -4
- package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
- package/dist/esm/index.js +123 -126
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-2409637d.js} +18 -18
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-69989821.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
- package/dist/esm/main-c0612122.js +851 -0
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
- package/dist/esm/{slicedToArray-6ebcbfea.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-f7074d7c.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-c05a82ba.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +111 -111
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import 'react-bootstrap/Media';
|
|
4
|
-
import urlFor from './urlFor.js';
|
|
5
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './web.dom.iterable-
|
|
9
|
-
import '
|
|
10
|
-
import './index-3f5c03b2.js';
|
|
11
|
-
import 'react-dom';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
4
|
+
import React__default from 'react';
|
|
12
5
|
import 'prop-types';
|
|
6
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
7
|
+
import 'react-dom';
|
|
8
|
+
import './slicedToArray-67a08c9c.js';
|
|
9
|
+
import './index-73819142.js';
|
|
10
|
+
import urlFor from './urlFor.js';
|
|
11
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
12
|
+
import 'react-bootstrap/Media';
|
|
13
13
|
|
|
14
|
-
/*
|
|
15
|
-
Sample query
|
|
16
|
-
let references = ''
|
|
17
|
-
if(article.taxonomyMapping.length > 0){
|
|
18
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
-
references = references + `references('${ref._ref}') `
|
|
20
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
-
references = references + ` && `
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
27
|
-
...,
|
|
28
|
-
title,
|
|
29
|
-
summary,
|
|
30
|
-
thumbnail,
|
|
31
|
-
url,
|
|
32
|
-
published,
|
|
33
|
-
authorMapping[]->,
|
|
34
|
-
contentCategory->
|
|
35
|
-
}`
|
|
36
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
-
|
|
38
|
-
Sample usage
|
|
39
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
/*
|
|
15
|
+
Sample query
|
|
16
|
+
let references = ''
|
|
17
|
+
if(article.taxonomyMapping.length > 0){
|
|
18
|
+
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
+
references = references + `references('${ref._ref}') `
|
|
20
|
+
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
+
references = references + ` && `
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
27
|
+
...,
|
|
28
|
+
title,
|
|
29
|
+
summary,
|
|
30
|
+
thumbnail,
|
|
31
|
+
url,
|
|
32
|
+
published,
|
|
33
|
+
authorMapping[]->,
|
|
34
|
+
contentCategory->
|
|
35
|
+
}`
|
|
36
|
+
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
+
|
|
38
|
+
Sample usage
|
|
39
|
+
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
+
|
|
41
|
+
|
|
42
42
|
*/
|
|
43
43
|
var RelatedContent = function RelatedContent(props) {
|
|
44
44
|
var client = props.client,
|
|
@@ -14,16 +14,16 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
14
14
|
_ref$className = _ref.className,
|
|
15
15
|
className = _ref$className === undefined ? '' : _ref$className;
|
|
16
16
|
|
|
17
|
-
/*
|
|
18
|
-
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
-
example:
|
|
20
|
-
<RelatedTopicDropdown
|
|
21
|
-
page='/clinical'
|
|
22
|
-
exclude="clinical"
|
|
23
|
-
className='mb-3'
|
|
24
|
-
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
-
subTaxonomies={props.subTaxonomies}
|
|
26
|
-
/>
|
|
17
|
+
/*
|
|
18
|
+
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
+
example:
|
|
20
|
+
<RelatedTopicDropdown
|
|
21
|
+
page='/clinical'
|
|
22
|
+
exclude="clinical"
|
|
23
|
+
className='mb-3'
|
|
24
|
+
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
+
subTaxonomies={props.subTaxonomies}
|
|
26
|
+
/>
|
|
27
27
|
*/
|
|
28
28
|
if (subTaxonomies.length === 0 && parentTaxonomy) {
|
|
29
29
|
if (parentTaxonomy.identifier == exclude) {
|
package/dist/esm/RolesDeck.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import Container from 'react-bootstrap/Container';
|
|
3
|
-
import Row from 'react-bootstrap/Row';
|
|
4
|
-
import Col from 'react-bootstrap/Col';
|
|
5
|
-
import Card from 'react-bootstrap/Card';
|
|
2
|
+
import Container$1 from 'react-bootstrap/Container';
|
|
3
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
4
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
5
|
+
import Card$1 from 'react-bootstrap/Card';
|
|
6
6
|
|
|
7
7
|
var RolesDeck = function RolesDeck(props) {
|
|
8
8
|
var _props$icon = props.icon,
|
|
@@ -19,30 +19,30 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
19
19
|
'div',
|
|
20
20
|
{ className: 'rolesDeck' },
|
|
21
21
|
React__default.createElement(
|
|
22
|
-
Container,
|
|
22
|
+
Container$1,
|
|
23
23
|
null,
|
|
24
24
|
React__default.createElement(
|
|
25
|
-
Row,
|
|
25
|
+
Row$1,
|
|
26
26
|
null,
|
|
27
27
|
data && data.map(function (row, index) {
|
|
28
28
|
if (row && row.url && row.name) {
|
|
29
29
|
return React__default.createElement(
|
|
30
|
-
Col,
|
|
30
|
+
Col$1,
|
|
31
31
|
{ key: index, md: 12, lg: 6, counter: index++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
32
32
|
React__default.createElement(
|
|
33
|
-
Card,
|
|
33
|
+
Card$1,
|
|
34
34
|
{ className: 'taxonomy-card', style: { position: 'relative', overflow: 'hidden', borderBottom: '3px solid var(--primary)' } },
|
|
35
35
|
React__default.createElement(
|
|
36
|
-
Card.Link,
|
|
36
|
+
Card$1.Link,
|
|
37
37
|
{ href: row.url },
|
|
38
38
|
React__default.createElement(
|
|
39
|
-
Card.Body,
|
|
39
|
+
Card$1.Body,
|
|
40
40
|
null,
|
|
41
41
|
React__default.createElement(
|
|
42
|
-
Row,
|
|
42
|
+
Row$1,
|
|
43
43
|
null,
|
|
44
44
|
React__default.createElement(
|
|
45
|
-
Col,
|
|
45
|
+
Col$1,
|
|
46
46
|
{ className: 'details-content-wrapper' },
|
|
47
47
|
React__default.createElement(
|
|
48
48
|
'div',
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_iter-detect-130ee549.js';
|
|
4
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
5
|
+
import './_object-pie-33c40e79.js';
|
|
6
|
+
import { _ as _extends } from './extends-5b1796d4.js';
|
|
7
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
8
|
+
import React__default from 'react';
|
|
9
|
+
import './slicedToArray-67a08c9c.js';
|
|
10
|
+
import './index-73819142.js';
|
|
11
|
+
import urlFor from './urlFor.js';
|
|
12
|
+
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
13
|
+
|
|
14
|
+
function toPlainText() {
|
|
15
|
+
var blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
16
|
+
|
|
17
|
+
return blocks
|
|
18
|
+
// loop through each block
|
|
19
|
+
.map(function (block) {
|
|
20
|
+
// if it's not a text block with children,
|
|
21
|
+
// return nothing
|
|
22
|
+
if (block._type !== 'block' || !block.children) {
|
|
23
|
+
return '';
|
|
24
|
+
}
|
|
25
|
+
// loop through the children spans, and join the
|
|
26
|
+
// text strings
|
|
27
|
+
return block.children.map(function (child) {
|
|
28
|
+
return child.text;
|
|
29
|
+
}).join('');
|
|
30
|
+
})
|
|
31
|
+
// join the paragraphs leaving split by two linebreaks
|
|
32
|
+
.join('\n\n');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function generateSchema(props) {
|
|
36
|
+
var _props$article = props.article,
|
|
37
|
+
title = _props$article.title,
|
|
38
|
+
body = _props$article.body,
|
|
39
|
+
summary = _props$article.summary,
|
|
40
|
+
url = _props$article.url,
|
|
41
|
+
content_placement = _props$article.content_placement,
|
|
42
|
+
authorDetails = _props$article.authorDetails,
|
|
43
|
+
thumbnail = _props$article.thumbnail,
|
|
44
|
+
published = _props$article.published,
|
|
45
|
+
_updatedAt = _props$article._updatedAt,
|
|
46
|
+
seoTag = _props$article.seoTag,
|
|
47
|
+
_props$Website = props.Website,
|
|
48
|
+
liveDomain = _props$Website.liveDomain,
|
|
49
|
+
websiteTitle = _props$Website.title,
|
|
50
|
+
logo = _props$Website.logo,
|
|
51
|
+
client = props.client;
|
|
52
|
+
|
|
53
|
+
var authors = authorDetails && authorDetails.length > 0 && authorDetails.reduce(function (result, author) {
|
|
54
|
+
if (author.displayName) return [].concat(_toConsumableArray(result), [{
|
|
55
|
+
'@type': 'Person',
|
|
56
|
+
name: author.displayName
|
|
57
|
+
}]);else return result;
|
|
58
|
+
}, []);
|
|
59
|
+
var articleSection = content_placement && content_placement.map(function (cp) {
|
|
60
|
+
return cp.name;
|
|
61
|
+
});
|
|
62
|
+
var image = thumbnail && thumbnail.asset && client ? urlFor({ source: thumbnail, client: client }) : liveDomain && logo && 'https://' + liveDomain + logo;
|
|
63
|
+
|
|
64
|
+
if (title && published && _updatedAt) {
|
|
65
|
+
return _extends({
|
|
66
|
+
'@context': 'https://schema.org',
|
|
67
|
+
'@type': 'NewsArticle',
|
|
68
|
+
headline: title,
|
|
69
|
+
datePublished: published,
|
|
70
|
+
dateModified: _updatedAt,
|
|
71
|
+
inLanguage: 'en-US'
|
|
72
|
+
}, image && { image: image }, liveDomain && url && url.current && {
|
|
73
|
+
mainEntityOfPage: {
|
|
74
|
+
'@type': 'WebPage',
|
|
75
|
+
'@id': 'https://' + liveDomain + '/view/' + url.current
|
|
76
|
+
}
|
|
77
|
+
}, websiteTitle && liveDomain && logo && {
|
|
78
|
+
publisher: {
|
|
79
|
+
'@type': 'Organization',
|
|
80
|
+
name: websiteTitle,
|
|
81
|
+
logo: {
|
|
82
|
+
'@type': 'ImageObject',
|
|
83
|
+
url: 'https://' + liveDomain + logo
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}, articleSection && { articleSection: articleSection }, seoTag && seoTag.length > 0 && { keywords: seoTag.join() }, body && body.length > 0 && { articleBody: toPlainText(body) }, summary && { description: summary }, authors && authors.length > 0 && { author: authors });
|
|
87
|
+
}
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
var Schema = function Schema(props) {
|
|
92
|
+
return React__default.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export default Schema;
|
package/dist/esm/Search.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
2
4
|
import React__default, { useState } from 'react';
|
|
5
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
6
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
3
7
|
import Form from 'react-bootstrap/Form';
|
|
4
8
|
import FormControl from 'react-bootstrap/FormControl';
|
|
5
|
-
import Button from 'react-bootstrap/Button';
|
|
6
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
8
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
|
|
10
10
|
var Search = function Search(props) {
|
|
11
11
|
var _props$placeholder = props.placeholder,
|
|
@@ -40,7 +40,7 @@ var Search = function Search(props) {
|
|
|
40
40
|
}
|
|
41
41
|
}),
|
|
42
42
|
React__default.createElement(
|
|
43
|
-
Button,
|
|
43
|
+
Button$1,
|
|
44
44
|
{ variant: 'secondary', onClick: function onClick(e) {
|
|
45
45
|
return submitSearch(e);
|
|
46
46
|
} },
|
package/dist/esm/Segment.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
|
|
2
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import './core.get-iterator-method-
|
|
4
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
5
3
|
import './_library-528f1934.js';
|
|
6
|
-
import './_iter-detect-
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
6
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
|
|
7
7
|
|
|
8
8
|
require('babel-polyfill');
|
|
9
9
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
2
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
|
-
import React__default, { useState, useEffect, useRef } from 'react';
|
|
5
|
-
import { useRouter } from 'next/router';
|
|
6
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
|
|
9
|
-
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
-
import './core.get-iterator-method-
|
|
12
|
-
import './_iter-detect-
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_iter-detect-130ee549.js';
|
|
4
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
5
|
+
import './_object-pie-33c40e79.js';
|
|
6
|
+
import { _ as _extends } from './extends-5b1796d4.js';
|
|
7
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
8
|
+
import React__default, { useState, useEffect, useRef } from 'react';
|
|
15
9
|
import './events-6c3a7a63.js';
|
|
10
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
16
11
|
import 'prop-types';
|
|
17
|
-
import '
|
|
18
|
-
import './index-
|
|
12
|
+
import { useRouter } from 'next/router';
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
19
14
|
import 'react-dom';
|
|
20
|
-
import './
|
|
15
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
16
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
17
|
+
import './index-73819142.js';
|
|
21
18
|
import './urlFor.js';
|
|
22
|
-
import './index-
|
|
23
|
-
import './main-
|
|
19
|
+
import './index-5f7e79e7.js';
|
|
20
|
+
import './main-c0612122.js';
|
|
21
|
+
import './index-c7e2ac95.js';
|
|
22
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
23
|
+
import { S as SeriesSlider } from './SeriesSlider-ce19fa25.js';
|
|
24
24
|
|
|
25
25
|
var usePrevious = function usePrevious(value) {
|
|
26
26
|
var ref = useRef();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
1
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
|
-
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
6
3
|
import urlFor from './urlFor.js';
|
|
7
|
-
import {
|
|
4
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
5
|
+
import { m as main_36, a as main_41, b as main_35 } from './main-c0612122.js';
|
|
6
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
7
|
+
import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
|
|
8
8
|
|
|
9
|
-
/*
|
|
10
|
-
GROQ query -
|
|
11
|
-
accepts an array of title, URL
|
|
12
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
9
|
+
/*
|
|
10
|
+
GROQ query -
|
|
11
|
+
accepts an array of title, URL
|
|
12
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
var SeriesSlider = function SeriesSlider(_ref) {
|
|
@@ -100,13 +100,13 @@ var SeriesSlider = function SeriesSlider(_ref) {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
if (
|
|
103
|
+
if (main_36) {
|
|
104
104
|
thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth) / 2);
|
|
105
105
|
if (dataset.length > 2) {
|
|
106
106
|
scrollerVisible = true;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
if (
|
|
109
|
+
if (main_41) {
|
|
110
110
|
thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth * 2) / 3);
|
|
111
111
|
if (dataset.length > 3) {
|
|
112
112
|
scrollerVisible = true;
|
|
@@ -182,10 +182,10 @@ var SeriesSlider = function SeriesSlider(_ref) {
|
|
|
182
182
|
if (viewableWindow.current.offsetWidth < 604) {
|
|
183
183
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
|
|
184
184
|
}
|
|
185
|
-
if (
|
|
185
|
+
if (main_41) {
|
|
186
186
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
|
|
187
187
|
}
|
|
188
|
-
if (
|
|
188
|
+
if (main_36) {
|
|
189
189
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 1;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
@@ -292,7 +292,7 @@ var SeriesSlider = function SeriesSlider(_ref) {
|
|
|
292
292
|
React__default.createElement(
|
|
293
293
|
'style',
|
|
294
294
|
{ jsx: 'true' },
|
|
295
|
-
'\n .vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n .vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n .vid-slider::-webkit-scrollbar {\n display: none;\n }\n .vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n .vid-slider .row {\n margin: 0 -14px;\n }\n .vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n .vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n max-width: 800px;\n margin-left: auto;\n margin-right: auto;\n }\n .vid-slider.col {\n padding: 0 1.15rem 0 2.75rem;\n }\n .vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n .vid-slider h1,\n .vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n .vid-slider a:link,\n .vid-slider a:hover,\n .vid-slider a:active,\n .vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n .vid-slider .contain {\n width: 100%;\n }\n .vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n .vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: bold;\n transition: opacity 0.25s;\n }\n .vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n .vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n .vid-slider .tile:first-child {\n margin-left: 0;\n }\n .vid-slider .tile__img {\n height: auto;\n border-radius: 3px;\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n .vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n .vid-slider .tile__details:after,\n .vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n .vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n .vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);\n border-radius: 3px;\n }\n\n .vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (
|
|
295
|
+
'\n .vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n .vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n .vid-slider::-webkit-scrollbar {\n display: none;\n }\n .vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n .vid-slider .row {\n margin: 0 -14px;\n }\n .vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n .vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n max-width: 800px;\n margin-left: auto;\n margin-right: auto;\n }\n .vid-slider.col {\n padding: 0 1.15rem 0 2.75rem;\n }\n .vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n .vid-slider h1,\n .vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n .vid-slider a:link,\n .vid-slider a:hover,\n .vid-slider a:active,\n .vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n .vid-slider .contain {\n width: 100%;\n }\n .vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n .vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: bold;\n transition: opacity 0.25s;\n }\n .vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n .vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n .vid-slider .tile:first-child {\n margin-left: 0;\n }\n .vid-slider .tile__img {\n height: auto;\n border-radius: 3px;\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n .vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n .vid-slider .tile__details:after,\n .vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n .vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n .vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);\n border-radius: 3px;\n }\n\n .vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (main_35 ? '0.75rem' : '0.9rem') + ';\n font-weight: normal;\n transition: opacity 0.25s;\n }\n\n .vid-slider .tile__slider-prev,\n .vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n margin-left: 10px;\n margin-right: 10px;\n box-shadow: 1px 3px 7px rgba(0, 0, 0, 0.5);\n }\n .vid-slider .tile__slider-prev {\n left: -.9rem;\n padding: 1rem;\n }\n .vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n .vid-slider,\n .vid-slider .row {\n padding-right: 0 1.2rem;\n }\n\n .vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n .vid-slider i {\n border: solid ' + (dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n .vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n .vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n .vidHolder {\n max-width: 805px;\n }\n @media screen and (max-width: 1399px) {\n .vid-slider {\n max-width: 615px;\n margin: 0 auto;\n }\n .vid-slider .tile__img {\n }\n }\n @media screen and (max-width: 1200px) {\n .vid-slider {\n max-width: 580px;\n }\n }\n @media screen and (max-width: 967px) {\n .vid-slider {\n max-width: 100%;\n }\n .vid-slider .tile__img {\n }\n }\n\n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n\n .vid-slider .tile__img {\n }\n .vid-slider .row__inner {\n margin-top: 1.5rem !important;\n }\n }\n\n @media screen and (max-width: 590px) {\n .vid-slider .tile__img {\n }\n }\n '
|
|
296
296
|
)
|
|
297
297
|
);
|
|
298
298
|
};
|
package/dist/esm/SetCookie.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
2
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
3
3
|
|
|
4
4
|
var SetCookie = function SetCookie(key, value) {
|
|
5
5
|
js_cookie.set(key, value, { expires: 1, sameSite: 'none', secure: true });
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './defineProperty-8c30428f.js';
|
|
2
|
-
import React__default, { useRef, useEffect } from 'react';
|
|
3
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
4
|
-
import { g as get_1 } from './get-3c308da4.js';
|
|
5
|
-
import Segment from './Segment.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
9
|
-
import 'prop-types';
|
|
10
|
-
import './isSymbol-a7e9aafe.js';
|
|
11
|
-
import './eq-bdcbf886.js';
|
|
12
|
-
import './asyncToGenerator-5ef104a7.js';
|
|
13
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
14
3
|
import './_library-528f1934.js';
|
|
15
|
-
import './_iter-detect-
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import './define-property-6d26cb48.js';
|
|
6
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
7
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
8
|
+
import 'prop-types';
|
|
9
|
+
import './isSymbol-1981418f.js';
|
|
10
|
+
import './asyncToGenerator-7bf8bc4d.js';
|
|
11
|
+
import Segment from './Segment.js';
|
|
12
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
13
|
+
import './eq-b470f743.js';
|
|
14
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
|
|
15
|
+
import { _ as _defineProperty } from './defineProperty-d7d9b577.js';
|
|
16
16
|
|
|
17
17
|
var year = new Date().getFullYear();
|
|
18
18
|
|
|
@@ -32,8 +32,8 @@ var renderLink = function renderLink(row) {
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
var SideFooter = function SideFooter(props) {
|
|
35
|
-
/*
|
|
36
|
-
useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
|
|
35
|
+
/*
|
|
36
|
+
useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
|
|
37
37
|
*/
|
|
38
38
|
var _get = get_1(props, 'cache.siteSettingCache', {}),
|
|
39
39
|
socialLinks = _get.socialLinks,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
1
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
3
|
+
import { f as main_30, c as main_37 } from './main-c0612122.js';
|
|
4
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
5
|
+
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
|
+
import { G as GoSearch } from './index.esm-fd746768.js';
|
|
8
|
+
import SocialIcons from './SocialIcons.js';
|
|
7
9
|
import FormControl from 'react-bootstrap/FormControl';
|
|
8
|
-
import Button from 'react-bootstrap/Button';
|
|
9
|
-
import { f as main_34, c as main_44 } from './main-1894c974.js';
|
|
10
10
|
|
|
11
11
|
var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
12
12
|
var type = _ref.type,
|
|
@@ -40,7 +40,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
40
40
|
var mastNav = document.querySelector('.nav-brands');
|
|
41
41
|
var topOffset = 0;
|
|
42
42
|
// Checking for non-IOS devices before setting the offset position.
|
|
43
|
-
if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !
|
|
43
|
+
if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !main_30) topOffset = topOffset + mastNav.offsetHeight;
|
|
44
44
|
if (navWrapper && navWrapper.offsetHeight) topOffset = topOffset + navWrapper.offsetHeight;
|
|
45
45
|
setTopOffset(topOffset + 2);
|
|
46
46
|
|
|
@@ -68,14 +68,14 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
68
68
|
var searchBtn = document.getElementsByClassName(selector)[0];
|
|
69
69
|
if (searchBtn && searchBtn.classList && searchBtn.classList.contains(addOn)) {
|
|
70
70
|
// Set overflow fix for iPhones safari browsers
|
|
71
|
-
if (
|
|
71
|
+
if (main_37 || window.innerWidth < 1200 && main_30) {
|
|
72
72
|
var mainNav = document.querySelector('#navbar-ham');
|
|
73
73
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
74
74
|
}
|
|
75
75
|
searchBtn.classList.remove(addOn);
|
|
76
76
|
} else if (searchBtn && searchBtn.classList) {
|
|
77
77
|
// Set overflow fix for iPhones safari browsers
|
|
78
|
-
if (
|
|
78
|
+
if (main_37 || window.innerWidth < 1200 && main_30) {
|
|
79
79
|
var _mainNav = document.querySelector('#navbar-ham');
|
|
80
80
|
if (_mainNav && _mainNav.style) _mainNav.style.overflow = 'visible';
|
|
81
81
|
}
|
|
@@ -100,7 +100,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
100
100
|
return setSearchKey(e.target.value);
|
|
101
101
|
} }),
|
|
102
102
|
React__default.createElement(
|
|
103
|
-
Button,
|
|
103
|
+
Button$1,
|
|
104
104
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
105
105
|
return submitSearch(e);
|
|
106
106
|
} },
|
|
@@ -147,7 +147,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
147
147
|
return setSearchKey(e.target.value);
|
|
148
148
|
} }),
|
|
149
149
|
React__default.createElement(
|
|
150
|
-
Button,
|
|
150
|
+
Button$1,
|
|
151
151
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
152
152
|
return submitSearch(e);
|
|
153
153
|
} },
|
|
@@ -177,7 +177,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
177
177
|
React__default.createElement(
|
|
178
178
|
'style',
|
|
179
179
|
{ jsx: 'true' },
|
|
180
|
-
'\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (
|
|
180
|
+
'\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (main_30 ? 'absolute' : 'fixed') + ';\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 5px;\n padding: 1px;\n }\n #search-content-mobile .search-btn-mobile.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n #search-content-mobile #search-bar-mobile.show {\n display: block !important;\n }\n '
|
|
181
181
|
)
|
|
182
182
|
);
|
|
183
183
|
};
|