@mjhls/mjh-framework 1.0.926 → 1.0.927
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 +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +26 -28
- package/dist/cjs/AD300x250x600.js +26 -28
- package/dist/cjs/AD728x90.js +29 -31
- package/dist/cjs/ADFloatingFooter.js +29 -31
- package/dist/cjs/ADFooter.js +12 -13
- package/dist/cjs/ADGutter.js +29 -31
- package/dist/cjs/{ADInfeed-44d43b8a.js → ADInfeed-a3fa4967.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +29 -31
- package/dist/cjs/ADSponsoredResources.js +29 -31
- package/dist/cjs/ADWebcast.js +29 -31
- package/dist/cjs/ADWelcome.js +30 -32
- package/dist/cjs/{ADlgInfeed-24d739f6.js → ADlgInfeed-79ce7a02.js} +10 -11
- package/dist/cjs/AccordionPanel.js +27 -29
- package/dist/cjs/AdSlot.js +30 -32
- package/dist/cjs/AdSlotsProvider.js +15 -18
- package/dist/cjs/AlgoliaSearch.js +67 -14215
- package/dist/cjs/AlphabeticList.js +23 -24
- package/dist/cjs/ArticleCarousel.js +19 -20
- package/dist/cjs/ArticleProgramLandingPage.js +57 -59
- package/dist/cjs/ArticleSeriesLandingPage.js +38 -40
- package/dist/cjs/ArticleSeriesListing.js +59 -61
- package/dist/cjs/Auth.js +283 -287
- package/dist/cjs/AuthWrapper.js +148 -59
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-421d5ec1.js} +13 -14
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-bac780ac.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +25 -27
- package/dist/cjs/CMEDeck.js +81 -82
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +31 -34
- package/dist/cjs/Column3.js +55 -59
- package/dist/cjs/ConferenceArticleCard.js +25 -26
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/ContentCardPaginated.js +87 -93
- package/dist/cjs/DeckContent.js +92 -97
- package/dist/cjs/DeckQueue.js +86 -91
- package/dist/cjs/DeckQueuePaginated.js +81 -87
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-52a869e5.js} +32 -34
- package/dist/cjs/EventsDeck.js +133 -140
- package/dist/cjs/ExternalResources.js +78 -80
- package/dist/cjs/Feature.js +26 -28
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +182 -187
- package/dist/cjs/GridContentPaginated.js +172 -178
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +57 -58
- package/dist/cjs/HamMagazine.js +128 -133
- 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 -73
- package/dist/cjs/HorizontalHero.js +28 -29
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-5d7082b9.js} +283 -182
- package/dist/cjs/IssueContentDeck.js +71 -76
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +65 -67
- package/dist/cjs/LeftNav.js +36 -39
- package/dist/cjs/MasterDeck.js +69 -71
- package/dist/cjs/MasterDeckPaginated.js +60 -63
- package/dist/cjs/{MediaSeriesCard-ca36cda9.js → MediaSeriesCard-b1ba6145.js} +996 -902
- package/dist/cjs/MediaSeriesLanding.js +79 -83
- package/dist/cjs/MediaSeriesLandingPaginated.js +94 -98
- package/dist/cjs/NavDvm.js +72 -77
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +134 -139
- package/dist/cjs/NavNative.js +126 -134
- package/dist/cjs/OncliveHero.js +21 -22
- package/dist/cjs/OncliveLargeHero.js +70 -71
- package/dist/cjs/PageFilter.js +12 -13
- package/dist/cjs/{Pagination-885dcfbd.js → Pagination-df492888.js} +18 -21
- package/dist/cjs/PartnerDetailListing.js +95 -98
- package/dist/cjs/PartnerDetailListingPaginated.js +95 -98
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +17 -19
- package/dist/cjs/PubSection.js +40 -42
- package/dist/cjs/PubToc.js +13 -14
- package/dist/cjs/PublicationDeck.js +65 -70
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a54b1d9d.js} +36 -40
- package/dist/cjs/PublicationLanding.js +107 -115
- package/dist/cjs/QueueDeckExpanded.js +308 -309
- package/dist/cjs/QueueDeckExpandedPaginated.js +270 -271
- package/dist/cjs/RecentNews.js +22 -23
- package/dist/cjs/RelatedContent.js +29 -30
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Schema.js +14 -15
- package/dist/cjs/Search.js +16 -20
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +34 -35
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-372e418f.js} +30 -31
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +34 -35
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-e5196fc1.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -66
- package/dist/cjs/TaxonomyDescription.js +53 -55
- package/dist/cjs/TemplateNormal.js +71 -73
- package/dist/cjs/ThumbnailCard.js +24 -26
- package/dist/cjs/Ustream.js +29 -30
- package/dist/cjs/VerticalHero.js +19 -20
- package/dist/cjs/VideoProgramLandingPage.js +72 -77
- package/dist/cjs/VideoSeriesCard.js +32 -33
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +48 -50
- package/dist/cjs/VideoSeriesListing.js +76 -78
- package/dist/cjs/View.js +254 -259
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +58 -59
- package/dist/cjs/{_is-array-54228b29.js → _is-array-bd978497.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-ee3d4802.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-fee50a62.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-18379aba.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-15014394.js} +30 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-05029198.js} +6 -7
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-5cb3af28.js} +33 -33
- package/dist/cjs/{debounce-d4a2369b.js → debounce-6191c8ee.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-530a5e9e.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-5ca424cd.js} +1 -1
- package/dist/cjs/{entities-df1aed86.js → entities-fb0c6568.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-1d905ddb.js} +7 -7
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +16 -16
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +44 -45
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-091ec6c8.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-d0404e0f.js → index-3aea0f98.js} +567 -577
- package/dist/cjs/{index-f86bb269.js → index-79eed652.js} +6 -6
- package/dist/cjs/{index-fc2f1ca2.js → index-8bf6c863.js} +476 -12
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-d48b231c.js → index-ff69979f.js} +3 -3
- package/dist/cjs/{index.es-f3e47207.js → index.es-e9d84959.js} +7 -8
- 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-2bb721c8.js → index.esm-bf016399.js} +18 -19
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +427 -174
- package/dist/cjs/{inherits-de66ea16.js → inherits-07da6623.js} +21 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-91f31941.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-b5e0d5f6.js} +1 -1
- package/dist/cjs/{main-f1c77adb.js → main-bc7d4bf8.js} +69 -70
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-0a78cdf3.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-13405ce2.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-39fd0757.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-f2f8744b.js} +1 -1
- package/dist/cjs/{typeof-567e31ff.js → typeof-3dd6d3df.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-0e7175d9.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-5619c1fa.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-a9359910.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +20 -21
- package/dist/esm/AD300x250x600.js +20 -21
- package/dist/esm/AD728x90.js +22 -23
- package/dist/esm/ADFloatingFooter.js +20 -21
- package/dist/esm/ADFooter.js +4 -4
- package/dist/esm/ADGutter.js +20 -21
- package/dist/esm/{ADInfeed-36171412.js → ADInfeed-8153cd02.js} +4 -4
- package/dist/esm/ADSkyscraper.js +20 -21
- package/dist/esm/ADSponsoredResources.js +20 -21
- package/dist/esm/ADWebcast.js +20 -21
- package/dist/esm/ADWelcome.js +17 -18
- package/dist/esm/{ADlgInfeed-a1e9682e.js → ADlgInfeed-72aadf98.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +19 -20
- package/dist/esm/AdSlotsProvider.js +9 -10
- package/dist/esm/AlgoliaSearch.js +24 -14171
- package/dist/esm/AlphabeticList.js +8 -8
- package/dist/esm/ArticleCarousel.js +13 -13
- package/dist/esm/ArticleProgramLandingPage.js +48 -49
- package/dist/esm/ArticleSeriesLandingPage.js +29 -30
- package/dist/esm/ArticleSeriesListing.js +30 -31
- package/dist/esm/Auth.js +199 -199
- package/dist/esm/AuthWrapper.js +118 -28
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-2277b67c.js} +1 -1
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-ea93e8f7.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +21 -22
- package/dist/esm/Column2.js +14 -14
- package/dist/esm/Column3.js +28 -29
- package/dist/esm/ConferenceArticleCard.js +10 -10
- package/dist/esm/ContentCardPaginated.js +35 -36
- package/dist/esm/DeckContent.js +30 -31
- package/dist/esm/DeckQueue.js +28 -29
- package/dist/esm/DeckQueuePaginated.js +31 -32
- package/dist/esm/{Dfp-102f0beb.js → Dfp-8ff435f8.js} +12 -13
- package/dist/esm/EventsDeck.js +24 -24
- package/dist/esm/ExternalResources.js +45 -46
- package/dist/esm/Feature.js +6 -6
- package/dist/esm/ForbesHero.js +10 -10
- package/dist/esm/GridContent.js +42 -43
- package/dist/esm/GridContentPaginated.js +42 -43
- package/dist/esm/GridHero.js +11 -11
- package/dist/esm/GroupDeck.js +12 -12
- package/dist/esm/HamMagazine.js +23 -23
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +46 -47
- package/dist/esm/HorizontalHero.js +8 -8
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-f34519d8.js} +134 -32
- package/dist/esm/IssueContentDeck.js +11 -11
- package/dist/esm/IssueDeck.js +13 -13
- package/dist/esm/IssueLanding.js +54 -55
- package/dist/esm/LeftNav.js +19 -20
- package/dist/esm/MasterDeck.js +30 -31
- package/dist/esm/MasterDeckPaginated.js +32 -33
- package/dist/esm/{MediaSeriesCard-4f82982b.js → MediaSeriesCard-91ab398c.js} +373 -277
- package/dist/esm/MediaSeriesLanding.js +49 -51
- package/dist/esm/MediaSeriesLandingPaginated.js +55 -57
- package/dist/esm/NavDvm.js +11 -11
- package/dist/esm/NavMagazine.js +27 -27
- package/dist/esm/NavNative.js +26 -26
- package/dist/esm/OncliveHero.js +7 -7
- package/dist/esm/OncliveLargeHero.js +11 -11
- package/dist/esm/PageFilter.js +4 -4
- package/dist/esm/{Pagination-59436882.js → Pagination-4c847101.js} +2 -2
- package/dist/esm/PartnerDetailListing.js +57 -59
- package/dist/esm/PartnerDetailListingPaginated.js +57 -59
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +4 -4
- package/dist/esm/PubSection.js +32 -33
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +10 -10
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-99f26b5e.js} +2 -2
- package/dist/esm/PublicationLanding.js +26 -30
- package/dist/esm/QueueDeckExpanded.js +33 -34
- package/dist/esm/QueueDeckExpandedPaginated.js +35 -36
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +10 -10
- package/dist/esm/Schema.js +10 -10
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +17 -18
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-88c4133d.js} +5 -5
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +13 -13
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-1a2b7ff8.js} +6 -6
- package/dist/esm/TaxonomyCard.js +12 -12
- package/dist/esm/TaxonomyDescription.js +44 -45
- package/dist/esm/TemplateNormal.js +45 -46
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +49 -50
- package/dist/esm/VideoSeriesCard.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +35 -36
- package/dist/esm/VideoSeriesListing.js +30 -31
- package/dist/esm/View.js +84 -84
- package/dist/esm/YahooHero.js +13 -13
- package/dist/esm/YoutubeGroup.js +12 -12
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-8914b83f.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-13e31915.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-fc9da7e8.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-ee8f6d98.js} +2 -2
- package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-ff459dfa.js} +31 -31
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-0fb60d94.js} +34 -34
- package/dist/esm/{debounce-533d9748.js → debounce-89969f66.js} +2 -2
- package/dist/esm/define-property-73034847.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-e66a2c7c.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-731f3fdb.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-9a61581c.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 +44 -45
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-c43ad0eb.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-79cfd25c.js → index-511bdaa5.js} +6 -6
- package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-3f653f73.js → index-74c8ee86.js} +116 -116
- package/dist/esm/{index-f0fc23eb.js → index-a9e53f80.js} +469 -4
- package/dist/esm/{index-3f5c03b2.js → index-f7fdcc91.js} +3 -3
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- 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.esm-37268dca.js → index.esm-ed50151c.js} +2 -2
- package/dist/esm/index.js +380 -126
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-eeaf6740.js} +18 -18
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-a5ffafe7.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-a818d390.js} +1 -1
- package/dist/esm/{main-1894c974.js → main-ede573ee.js} +53 -53
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-9c3bb613.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-ebc16384.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-e333293f.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-e3dcad26.js} +1 -1
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-938ae770.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-f1fe0b74.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-d325d196.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-6b037ff9.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- 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/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-e761d404.js} +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,76 +1,166 @@
|
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-0fb60d94.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-13e31915.js';
|
|
5
|
+
import './toConsumableArray-e333293f.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-9a61581c.js';
|
|
8
|
+
import './_object-sap-fc9da7e8.js';
|
|
9
|
+
import './inherits-eeaf6740.js';
|
|
10
|
+
import './define-property-73034847.js';
|
|
11
|
+
import './web.dom.iterable-6b037ff9.js';
|
|
12
|
+
import './typeof-938ae770.js';
|
|
13
|
+
import './_is-array-8914b83f.js';
|
|
14
|
+
import React__default from 'react';
|
|
15
|
+
import './index-a9e53f80.js';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
import 'react-bootstrap/Container';
|
|
18
|
+
import Row from 'react-bootstrap/Row';
|
|
19
|
+
import Col from 'react-bootstrap/Col';
|
|
20
|
+
import 'react-bootstrap/Card';
|
|
21
|
+
import './moment-b6f49411.js';
|
|
22
|
+
import 'next/router';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import './debounce-89969f66.js';
|
|
25
|
+
import './toNumber-e3dcad26.js';
|
|
26
|
+
import './index.es-a6137319.js';
|
|
27
|
+
import 'react-dom';
|
|
28
|
+
import './visibility-sensor-72fd8f8b.js';
|
|
29
|
+
import { _ as _slicedToArray } from './slicedToArray-9c3bb613.js';
|
|
30
|
+
import './index-f7fdcc91.js';
|
|
31
|
+
import urlFor from './urlFor.js';
|
|
32
|
+
export { default as urlFor } from './urlFor.js';
|
|
33
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
34
|
+
import './main-ede573ee.js';
|
|
35
|
+
import './entities-731f3fdb.js';
|
|
36
|
+
import { _ as _JSON$stringify } from './stringify-ebc16384.js';
|
|
37
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-ff459dfa.js';
|
|
38
|
+
export { default as Segment } from './Segment.js';
|
|
39
|
+
export { default as Beam } from './Beam.js';
|
|
40
|
+
export { default as AdSlot } from './AdSlot.js';
|
|
41
|
+
import './ADInfeed-8153cd02.js';
|
|
1
42
|
export { default as DeckContent } from './DeckContent.js';
|
|
43
|
+
import './lodash-a818d390.js';
|
|
44
|
+
import './ADlgInfeed-72aadf98.js';
|
|
45
|
+
import './getContentCategory-15dcc413.js';
|
|
46
|
+
import './get-1e515072.js';
|
|
47
|
+
import './eq-b470f743.js';
|
|
48
|
+
export { default as AD } from './AD.js';
|
|
49
|
+
import './AuthorComponent-2277b67c.js';
|
|
50
|
+
import 'react-bootstrap/Button';
|
|
51
|
+
import './PublicationFeature-99f26b5e.js';
|
|
2
52
|
export { default as GridContent } from './GridContent.js';
|
|
3
53
|
export { default as DeckQueue } from './DeckQueue.js';
|
|
54
|
+
import 'react-bootstrap/Media';
|
|
4
55
|
export { default as ThumbnailCard } from './ThumbnailCard.js';
|
|
56
|
+
import './BlockContent-ea93e8f7.js';
|
|
57
|
+
import './react-social-icons-a7d5c5c7.js';
|
|
5
58
|
export { default as TaxonomyCard } from './TaxonomyCard.js';
|
|
6
59
|
export { default as RolesDeck } from './RolesDeck.js';
|
|
60
|
+
import './index-c7e2ac95.js';
|
|
61
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
7
62
|
export { default as GroupDeck } from './GroupDeck.js';
|
|
8
63
|
export { default as YoutubeGroup } from './YoutubeGroup.js';
|
|
64
|
+
import 'react-bootstrap';
|
|
65
|
+
import './timeDifferenceCalc.js';
|
|
9
66
|
export { default as QueueDeckExpanded } from './QueueDeckExpanded.js';
|
|
67
|
+
import './iconBase-602d52fe.js';
|
|
68
|
+
import './index.esm-55f22b35.js';
|
|
10
69
|
export { default as VideoSeriesListing } from './VideoSeriesListing.js';
|
|
11
70
|
export { default as ArticleSeriesListing } from './ArticleSeriesListing.js';
|
|
71
|
+
export { default as ArticleCarousel } from './ArticleCarousel.js';
|
|
72
|
+
export { g as getSerializers } from './index-74c8ee86.js';
|
|
73
|
+
import './util-7700fc59.js';
|
|
74
|
+
import './urlForFile-f1fe0b74.js';
|
|
75
|
+
import './brightcove-react-player-loader.es-e761d404.js';
|
|
76
|
+
import 'next/head';
|
|
77
|
+
import 'react-share';
|
|
78
|
+
export { default as SocialShare } from './SocialShare.js';
|
|
79
|
+
import './_object-to-array-ee8f6d98.js';
|
|
80
|
+
import 'react-bootstrap/Pagination';
|
|
81
|
+
import 'react-bootstrap/Figure';
|
|
82
|
+
import 'react-bootstrap/OverlayTrigger';
|
|
83
|
+
import 'react-bootstrap/Tooltip';
|
|
84
|
+
import 'react-bootstrap/Popover';
|
|
12
85
|
export { default as HorizontalArticleListing } from './HorizontalArticleListing.js';
|
|
13
86
|
export { default as MasterDeck } from './MasterDeck.js';
|
|
14
87
|
export { default as PublicationDeck } from './PublicationDeck.js';
|
|
15
88
|
export { default as IssueDeck } from './IssueDeck.js';
|
|
89
|
+
import 'react-bootstrap/Badge';
|
|
16
90
|
export { default as IssueContentDeck } from './IssueContentDeck.js';
|
|
91
|
+
import './defineProperty-e66a2c7c.js';
|
|
17
92
|
export { default as EventsDeck } from './EventsDeck.js';
|
|
93
|
+
import 'react-bootstrap/Spinner';
|
|
94
|
+
import 'react-bootstrap/Form';
|
|
95
|
+
import { m as momentTimezone } from './index-511bdaa5.js';
|
|
96
|
+
import './js.cookie-6874175c.js';
|
|
18
97
|
export { default as CMEDeck } from './CMEDeck.js';
|
|
19
98
|
export { default as ExternalResources } from './ExternalResources.js';
|
|
99
|
+
import 'react-instantsearch-dom';
|
|
20
100
|
export { default as AlgoliaSearch } from './AlgoliaSearch.js';
|
|
21
101
|
export { Column1 } from './Column1.js';
|
|
102
|
+
export { default as SideFooter } from './SideFooter.js';
|
|
103
|
+
import './ConferenceBanner-8792ebd2.js';
|
|
22
104
|
export { Column2 } from './Column2.js';
|
|
105
|
+
export { default as ADSponsoredResources } from './ADSponsoredResources.js';
|
|
106
|
+
import 'react-bootstrap/ListGroup';
|
|
107
|
+
export { default as ADWebcast } from './ADWebcast.js';
|
|
108
|
+
export { default as LeftNav } from './LeftNav.js';
|
|
109
|
+
export { default as PageFilter } from './PageFilter.js';
|
|
23
110
|
export { Column3 } from './Column3.js';
|
|
24
111
|
export { default as Header } from './Header.js';
|
|
25
|
-
|
|
112
|
+
import 'react-bootstrap/Accordion';
|
|
113
|
+
import 'react-bootstrap/AccordionToggle';
|
|
26
114
|
export { default as AccordionPanel } from './AccordionPanel.js';
|
|
27
|
-
export { default as SocialShare } from './SocialShare.js';
|
|
28
|
-
export { default as PageFilter } from './PageFilter.js';
|
|
29
115
|
export { default as VideoSeriesFilter } from './VideoSeriesFilter.js';
|
|
116
|
+
import 'react-bootstrap/Nav';
|
|
117
|
+
import 'react-bootstrap/Navbar';
|
|
118
|
+
import 'react-bootstrap/NavDropdown';
|
|
119
|
+
import './index.esm-c6715e80.js';
|
|
120
|
+
import './NavFooter-e27bd93b.js';
|
|
121
|
+
import './index.esm-ed50151c.js';
|
|
122
|
+
export { default as SocialIcons } from './SocialIcons.js';
|
|
123
|
+
import 'react-bootstrap/FormControl';
|
|
124
|
+
import './SocialSearchComponent-1a2b7ff8.js';
|
|
30
125
|
export { default as NavMagazine } from './NavMagazine.js';
|
|
31
126
|
export { NavNative } from './NavNative.js';
|
|
127
|
+
export { default as Search } from './Search.js';
|
|
32
128
|
export { NavDvm } from './NavDvm.js';
|
|
33
129
|
export { HamMagazine } from './HamMagazine.js';
|
|
130
|
+
export { default as ADGutter } from './ADGutter.js';
|
|
131
|
+
export { default as AD728x90 } from './AD728x90.js';
|
|
34
132
|
export { default as TemplateNormal } from './TemplateNormal.js';
|
|
35
|
-
export { default as AD } from './AD.js';
|
|
36
133
|
export { default as AD300x250 } from './AD300x250.js';
|
|
37
134
|
export { default as AD300x250x600 } from './AD300x250x600.js';
|
|
38
|
-
export { default as AD728x90 } from './AD728x90.js';
|
|
39
135
|
export { default as ADFooter } from './ADFooter.js';
|
|
40
|
-
|
|
136
|
+
import 'react-ga';
|
|
41
137
|
export { default as AdSlotsProvider } from './AdSlotsProvider.js';
|
|
42
138
|
export { default as ADFloatingFooter } from './ADFloatingFooter.js';
|
|
43
|
-
export { default as ADGutter } from './ADGutter.js';
|
|
44
139
|
export { default as ADWelcome } from './ADWelcome.js';
|
|
45
|
-
export { default as ADSponsoredResources } from './ADSponsoredResources.js';
|
|
46
|
-
export { default as ADWebcast } from './ADWebcast.js';
|
|
47
140
|
export { default as ADSkyscraper } from './ADSkyscraper.js';
|
|
48
|
-
|
|
141
|
+
import 'react-bootstrap/Carousel';
|
|
49
142
|
export { default as Feature } from './Feature.js';
|
|
50
|
-
import
|
|
51
|
-
import urlFor from './urlFor.js';
|
|
52
|
-
export { default as urlFor } from './urlFor.js';
|
|
53
|
-
import Row from 'react-bootstrap/Row';
|
|
54
|
-
import Col from 'react-bootstrap/Col';
|
|
55
|
-
import 'react-bootstrap/Badge';
|
|
56
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
143
|
+
import 'react-bootstrap/Breadcrumb';
|
|
57
144
|
export { default as Breadcrumbs } from './Breadcrumbs.js';
|
|
58
145
|
export { default as Hero } from './Hero.js';
|
|
146
|
+
import './keys-a5ffafe7.js';
|
|
59
147
|
export { default as AlphabeticList } from './AlphabeticList.js';
|
|
60
148
|
export { default as PdfDownload } from './PdfDownload.js';
|
|
149
|
+
import 'react-bootstrap/DropdownButton';
|
|
150
|
+
import 'react-bootstrap/Dropdown';
|
|
61
151
|
export { default as RelatedTopicsDropdown } from './RelatedTopicsDropdown.js';
|
|
152
|
+
import './index.esm-d1125763.js';
|
|
62
153
|
export { default as Ustream } from './Ustream.js';
|
|
63
|
-
export { default as SideFooter } from './SideFooter.js';
|
|
64
154
|
export { default as HighlightenVideo } from './HighlightenVideo.js';
|
|
65
155
|
export { default as PublicationLanding } from './PublicationLanding.js';
|
|
66
156
|
export { default as IssueLanding } from './IssueLanding.js';
|
|
157
|
+
import 'react-bootstrap/Modal';
|
|
67
158
|
export { default as PopUpModal } from './PopUpModal.js';
|
|
68
159
|
export { default as RelatedContent } from './RelatedContent.js';
|
|
69
|
-
export { default as SocialIcons } from './SocialIcons.js';
|
|
70
|
-
export { default as ArticleCarousel } from './ArticleCarousel.js';
|
|
71
160
|
export { default as TaxonomyDescription } from './TaxonomyDescription.js';
|
|
72
161
|
export { default as PubToc } from './PubToc.js';
|
|
73
162
|
export { default as PubSection } from './PubSection.js';
|
|
163
|
+
import ProgressBar from 'react-bootstrap/ProgressBar';
|
|
74
164
|
export { default as ForbesHero } from './ForbesHero.js';
|
|
75
165
|
export { default as HorizontalHero } from './HorizontalHero.js';
|
|
76
166
|
export { default as OncliveHero } from './OncliveHero.js';
|
|
@@ -79,125 +169,33 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
79
169
|
export { default as YahooHero } from './YahooHero.js';
|
|
80
170
|
export { default as GridHero } from './GridHero.js';
|
|
81
171
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
82
|
-
export { g as getSerializers } from './index-3f653f73.js';
|
|
83
|
-
export { default as Beam } from './Beam.js';
|
|
84
|
-
export { default as Segment } from './Segment.js';
|
|
85
172
|
export { default as KMTracker } from './KMTracker.js';
|
|
86
173
|
export { default as getSeriesDetail } from './getSeriesDetail.js';
|
|
87
174
|
export { default as SetCookie } from './SetCookie.js';
|
|
175
|
+
import './index-db3bb315.js';
|
|
88
176
|
export { default as getRelatedArticle } from './getRelatedArticle.js';
|
|
89
|
-
export { default as Auth } from './Auth.js';
|
|
90
|
-
export { default as View } from './View.js';
|
|
91
|
-
export { default as PartnerDetailListing } from './PartnerDetailListing.js';
|
|
92
|
-
export { default as VideoProgramLandingPage } from './VideoProgramLandingPage.js';
|
|
93
|
-
export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
|
|
94
|
-
export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
|
|
95
|
-
export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
|
|
96
|
-
export { default as Schema } from './Schema.js';
|
|
97
|
-
export { g as getTargeting } from './getTargeting-42f9b439.js';
|
|
98
|
-
export { default as getKeywords } from './getKeywords.js';
|
|
99
177
|
export { default as getQuery } from './getQuery.js';
|
|
100
|
-
|
|
101
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
102
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
103
|
-
import './_iter-detect-98db3b07.js';
|
|
104
|
-
import './extends-6d8e3924.js';
|
|
105
|
-
import './_object-pie-133f504a.js';
|
|
106
|
-
import './inherits-a6ba2ec4.js';
|
|
107
|
-
import './_object-sap-7cee6f84.js';
|
|
108
|
-
import './define-property-5f1bda73.js';
|
|
109
|
-
import './typeof-e9fc0c5d.js';
|
|
110
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
111
|
-
import './_is-array-8d21b9e3.js';
|
|
112
|
-
import './_library-528f1934.js';
|
|
113
|
-
import './index-f0fc23eb.js';
|
|
114
|
-
import './events-6c3a7a63.js';
|
|
115
|
-
import 'prop-types';
|
|
116
|
-
import 'react-bootstrap/Container';
|
|
117
|
-
import 'react-bootstrap/Card';
|
|
118
|
-
import './moment-bc12cb97.js';
|
|
119
|
-
import 'next/router';
|
|
120
|
-
import './debounce-533d9748.js';
|
|
121
|
-
import './isSymbol-a7e9aafe.js';
|
|
122
|
-
import './toNumber-5aeba6e7.js';
|
|
123
|
-
import './index.es-a6137319.js';
|
|
124
|
-
import './visibility-sensor-72fd8f8b.js';
|
|
125
|
-
import 'react-dom';
|
|
126
|
-
import './main-1894c974.js';
|
|
127
|
-
import './entities-6d9154b4.js';
|
|
128
|
-
import './ADInfeed-36171412.js';
|
|
129
|
-
import './slicedToArray-6ebcbfea.js';
|
|
130
|
-
import './lodash-f97fd99a.js';
|
|
131
|
-
import './ADlgInfeed-a1e9682e.js';
|
|
132
|
-
import './getContentCategory-15dcc413.js';
|
|
133
|
-
import './get-3c308da4.js';
|
|
134
|
-
import './eq-bdcbf886.js';
|
|
135
|
-
import './AuthorComponent-11adff02.js';
|
|
136
|
-
import './PublicationFeature-d88e76b9.js';
|
|
137
|
-
import 'react-bootstrap/Button';
|
|
138
|
-
import 'react-bootstrap/Media';
|
|
139
|
-
import './BlockContent-1e73bd2c.js';
|
|
140
|
-
import './index-3f5c03b2.js';
|
|
141
|
-
import './react-social-icons-9be47857.js';
|
|
142
|
-
import './index-c7e2ac95.js';
|
|
143
|
-
import './smoothscroll-fa4e3f8c.js';
|
|
144
|
-
import 'react-bootstrap';
|
|
145
|
-
import './timeDifferenceCalc.js';
|
|
146
|
-
import './index.esm-eb1e8e80.js';
|
|
147
|
-
import './iconBase-ccc56b97.js';
|
|
148
|
-
import './asyncToGenerator-5ef104a7.js';
|
|
149
|
-
import './defineProperty-8c30428f.js';
|
|
150
|
-
import './_object-to-array-2300e51b.js';
|
|
151
|
-
import './stringify-2b084bee.js';
|
|
152
|
-
import 'react-bootstrap/Spinner';
|
|
153
|
-
import 'react-bootstrap/Form';
|
|
154
|
-
import './index-79cfd25c.js';
|
|
155
|
-
import './js.cookie-6874175c.js';
|
|
156
|
-
import './typeof-2f07d0e8.js';
|
|
157
|
-
import './index-98ca9cec.js';
|
|
158
|
-
import './ConferenceBanner-8792ebd2.js';
|
|
159
|
-
import 'next/head';
|
|
160
|
-
import 'react-bootstrap/ListGroup';
|
|
161
|
-
import 'react-bootstrap/Accordion';
|
|
162
|
-
import 'react-bootstrap/AccordionToggle';
|
|
163
|
-
import 'react-share';
|
|
164
|
-
import 'react-bootstrap/Nav';
|
|
165
|
-
import 'react-bootstrap/Navbar';
|
|
166
|
-
import 'react-bootstrap/NavDropdown';
|
|
167
|
-
import './index.esm-9b042655.js';
|
|
168
|
-
import './NavFooter-e27bd93b.js';
|
|
169
|
-
import './index.esm-37268dca.js';
|
|
170
|
-
import './SocialSearchComponent-4b56cd8c.js';
|
|
171
|
-
import 'react-bootstrap/FormControl';
|
|
172
|
-
import 'react-ga';
|
|
173
|
-
import 'react-bootstrap/Carousel';
|
|
174
|
-
import 'react-bootstrap/Breadcrumb';
|
|
175
|
-
import './keys-31dcdb31.js';
|
|
176
|
-
import 'react-bootstrap/DropdownButton';
|
|
177
|
-
import 'react-bootstrap/Dropdown';
|
|
178
|
-
import './index.esm-1bd8a0a8.js';
|
|
179
|
-
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
180
|
-
import './urlForFile-b69adffc.js';
|
|
181
|
-
import 'react-bootstrap/Modal';
|
|
182
|
-
import './util-8ed16d48.js';
|
|
183
|
-
import 'react-bootstrap/Pagination';
|
|
184
|
-
import 'react-bootstrap/Figure';
|
|
185
|
-
import 'react-bootstrap/OverlayTrigger';
|
|
186
|
-
import 'react-bootstrap/Tooltip';
|
|
187
|
-
import 'react-bootstrap/Popover';
|
|
188
|
-
import './index-db3bb315.js';
|
|
178
|
+
export { default as Auth } from './Auth.js';
|
|
189
179
|
import 'swr';
|
|
190
180
|
import 'passport-local';
|
|
191
181
|
import 'mysql';
|
|
192
182
|
import './md5-4e42248e.js';
|
|
193
|
-
import './SeriesSlider-
|
|
183
|
+
import './SeriesSlider-88c4133d.js';
|
|
184
|
+
export { g as getTargeting } from './getTargeting-c43ad0eb.js';
|
|
185
|
+
export { default as View } from './View.js';
|
|
186
|
+
export { default as getKeywords } from './getKeywords.js';
|
|
194
187
|
import './style-inject.es-1f59c1d0.js';
|
|
195
188
|
import 'disqus-react';
|
|
189
|
+
export { default as Schema } from './Schema.js';
|
|
196
190
|
import 'file-saver';
|
|
197
191
|
import 'react-twitter-embed';
|
|
198
|
-
import './ImageSlider-
|
|
199
|
-
|
|
192
|
+
import './ImageSlider-f34519d8.js';
|
|
193
|
+
export { default as PartnerDetailListing } from './PartnerDetailListing.js';
|
|
194
|
+
export { default as VideoProgramLandingPage } from './VideoProgramLandingPage.js';
|
|
200
195
|
import './VideoSeriesCard.js';
|
|
196
|
+
export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
|
|
197
|
+
export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
|
|
198
|
+
export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
|
|
201
199
|
|
|
202
200
|
//Feature query to be used
|
|
203
201
|
// const featureQuery = `*[_type == 'feature' && is_active == true && feature_url == "/"] | order(_updatedAt asc)[0..5]{
|
|
@@ -277,4 +275,260 @@ var FeatureArticles = function FeatureArticles(props) {
|
|
|
277
275
|
);
|
|
278
276
|
};
|
|
279
277
|
|
|
280
|
-
|
|
278
|
+
var _this = undefined;
|
|
279
|
+
|
|
280
|
+
var Survey = function Survey(_ref) {
|
|
281
|
+
var surveyData = _ref.surveyData,
|
|
282
|
+
handleEndSurvey = _ref.handleEndSurvey,
|
|
283
|
+
eventData = _ref.eventData,
|
|
284
|
+
takenQuestions = _ref.takenQuestions,
|
|
285
|
+
showLoading = _ref.showLoading,
|
|
286
|
+
colors = _ref.colors;
|
|
287
|
+
|
|
288
|
+
var _React$useState = React__default.useState('begin'),
|
|
289
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
290
|
+
progressState = _React$useState2[0],
|
|
291
|
+
setProgressState = _React$useState2[1];
|
|
292
|
+
|
|
293
|
+
var _React$useState3 = React__default.useState(0),
|
|
294
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
295
|
+
questionIndex = _React$useState4[0],
|
|
296
|
+
setQuestionIndex = _React$useState4[1];
|
|
297
|
+
|
|
298
|
+
var _React$useState5 = React__default.useState(100 / (surveyData.questions.length + 2)),
|
|
299
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
300
|
+
progressBarState = _React$useState6[0],
|
|
301
|
+
setProgressBarState = _React$useState6[1];
|
|
302
|
+
|
|
303
|
+
var _React$useState7 = React__default.useState(false),
|
|
304
|
+
_React$useState8 = _slicedToArray(_React$useState7, 2),
|
|
305
|
+
buttonActive = _React$useState8[0],
|
|
306
|
+
setButtonActive = _React$useState8[1];
|
|
307
|
+
|
|
308
|
+
var _React$useState9 = React__default.useState(eventData),
|
|
309
|
+
_React$useState10 = _slicedToArray(_React$useState9, 2),
|
|
310
|
+
data = _React$useState10[0],
|
|
311
|
+
setData = _React$useState10[1];
|
|
312
|
+
|
|
313
|
+
var handleAnswer = function handleAnswer(a, qi) {
|
|
314
|
+
setData(_extends({}, data, {
|
|
315
|
+
type: surveyData.type,
|
|
316
|
+
time: momentTimezone().utc().format(),
|
|
317
|
+
question: surveyData.questions[qi].question,
|
|
318
|
+
answer: a
|
|
319
|
+
}));
|
|
320
|
+
setButtonActive(true);
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
var handleSurvey = function () {
|
|
324
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(i) {
|
|
325
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
326
|
+
while (1) {
|
|
327
|
+
switch (_context.prev = _context.next) {
|
|
328
|
+
case 0:
|
|
329
|
+
if (i === 0) {
|
|
330
|
+
updateStates(i + takenQuestions.length);
|
|
331
|
+
} else {
|
|
332
|
+
// Send question data to the api
|
|
333
|
+
handleAnswer(_JSON$stringify(data));
|
|
334
|
+
// Set states for the next question
|
|
335
|
+
updateStates(i);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
case 1:
|
|
339
|
+
case 'end':
|
|
340
|
+
return _context.stop();
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}, _callee, _this);
|
|
344
|
+
}));
|
|
345
|
+
|
|
346
|
+
return function handleSurvey(_x) {
|
|
347
|
+
return _ref2.apply(this, arguments);
|
|
348
|
+
};
|
|
349
|
+
}();
|
|
350
|
+
|
|
351
|
+
var updateStates = function updateStates(i) {
|
|
352
|
+
if (i === surveyData.questions.length) {
|
|
353
|
+
setProgressState('complete');
|
|
354
|
+
setProgressBarState(100);
|
|
355
|
+
} else {
|
|
356
|
+
setProgressState('question ' + (i + 1) + '/' + surveyData.questions.length);
|
|
357
|
+
setProgressBarState(100 / (surveyData.questions.length + 2) * (i + 2));
|
|
358
|
+
setQuestionIndex(i);
|
|
359
|
+
setButtonActive(false);
|
|
360
|
+
setData(eventData);
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
React__default.useEffect(function () {
|
|
365
|
+
if (takenQuestions.length !== 0) updateStates(takenQuestions.length);
|
|
366
|
+
}, [takenQuestions]);
|
|
367
|
+
|
|
368
|
+
return React__default.createElement(
|
|
369
|
+
'div',
|
|
370
|
+
null,
|
|
371
|
+
React__default.createElement(
|
|
372
|
+
'style',
|
|
373
|
+
{ jsx: true },
|
|
374
|
+
'\n .font-family-georgia {\n font-family: Georgia, \'Times New Roman\', Times, serif;\n }\n .font-family-markw1g {\n font-family: \'MarkW1G\';\n }\n .survey-header {\n background-color: ' + colors.secondary + ';\n padding-left: 24px;\n padding-right: 24px;\n min-height: 50px;\n }\n .survey-title {\n color: ' + colors.headerText + ';\n font-size: 20px;\n text-align: center;\n font-weight: 600;\n }\n .survey-state {\n color: ' + colors.primary + ';\n text-align: center;\n font-size: 15px;\n font-weight: 600;\n }\n .survey-content {\n min-height: 322px;\n background-color: ' + colors.primary + ';\n padding: 25px 28px 20px;\n }\n .survey-button {\n box-shadow: 0px 3px 6px #00000029;\n background-color: ' + colors.button + ';\n color: ' + colors.secondary + ';\n font-size: 14px;\n line-height: 20px;\n border-radius: 0;\n }\n .survey-option {\n background-color: ' + colors.answer + ';\n padding: 20px;\n height: 100%;\n }\n .big-text {\n font-size: 30px;\n line-height: 30px;\n text-align: center;\n margin-bottom: 0;\n }\n .normal-text {\n font-size: 18px;\n line-height: 22px;\n text-align: center;\n margin-bottom: 0;\n }\n .small-text {\n font-size: 12px;\n line-height: 14px;\n text-align: center;\n margin-bottom: 0;\n }\n '
|
|
375
|
+
),
|
|
376
|
+
showLoading ? React__default.createElement(
|
|
377
|
+
'div',
|
|
378
|
+
{ className: 'd-flex align-items-center justify-content-center' },
|
|
379
|
+
React__default.createElement(
|
|
380
|
+
'h2',
|
|
381
|
+
{ className: 'font-family-georgia' },
|
|
382
|
+
'Loading...'
|
|
383
|
+
)
|
|
384
|
+
) : React__default.createElement(
|
|
385
|
+
React__default.Fragment,
|
|
386
|
+
null,
|
|
387
|
+
React__default.createElement(
|
|
388
|
+
'div',
|
|
389
|
+
{ className: 'survey-header d-flex flex-column flex-md-row align-items-center justify-content-between' },
|
|
390
|
+
React__default.createElement(
|
|
391
|
+
'p',
|
|
392
|
+
{ className: 'survey-title text-uppercase font-family-markw1g' },
|
|
393
|
+
surveyData.title
|
|
394
|
+
),
|
|
395
|
+
React__default.createElement(
|
|
396
|
+
'p',
|
|
397
|
+
{ className: 'survey-state text-uppercase font-family-markw1g' },
|
|
398
|
+
progressState
|
|
399
|
+
)
|
|
400
|
+
),
|
|
401
|
+
React__default.createElement(ProgressBar, { now: progressBarState }),
|
|
402
|
+
React__default.createElement(
|
|
403
|
+
'div',
|
|
404
|
+
{ className: 'survey-content' },
|
|
405
|
+
progressState === 'begin' && takenQuestions.length === 0 && React__default.createElement(
|
|
406
|
+
'div',
|
|
407
|
+
{ className: 'd-flex align-items-center justify-content-center flex-column', style: { minHeight: 322 } },
|
|
408
|
+
React__default.createElement(
|
|
409
|
+
'p',
|
|
410
|
+
{ className: 'font-family-georgia big-text', style: { color: colors.contentText } },
|
|
411
|
+
surveyData.beforeSurveyText
|
|
412
|
+
),
|
|
413
|
+
surveyData.beforeSurveyButtonLabel && React__default.createElement(
|
|
414
|
+
'button',
|
|
415
|
+
{ onClick: function onClick() {
|
|
416
|
+
return handleSurvey(0);
|
|
417
|
+
}, className: 'btn survey-button font-family-markw1g mt-3' },
|
|
418
|
+
surveyData.beforeSurveyButtonLabel
|
|
419
|
+
)
|
|
420
|
+
),
|
|
421
|
+
progressState !== 'begin' && progressState !== 'complete' && React__default.createElement(
|
|
422
|
+
React__default.Fragment,
|
|
423
|
+
null,
|
|
424
|
+
React__default.createElement(
|
|
425
|
+
'p',
|
|
426
|
+
{ className: 'font-family-georgia normal-text', style: { color: colors.contentText } },
|
|
427
|
+
surveyData.questions[questionIndex].question
|
|
428
|
+
),
|
|
429
|
+
React__default.createElement(
|
|
430
|
+
Row,
|
|
431
|
+
{ className: 'my-4' },
|
|
432
|
+
surveyData.questions[questionIndex].answers.map(function (a, i) {
|
|
433
|
+
return React__default.createElement(
|
|
434
|
+
Col,
|
|
435
|
+
{ sm: 12, md: 6, key: i, className: 'my-2' },
|
|
436
|
+
React__default.createElement(
|
|
437
|
+
'div',
|
|
438
|
+
{
|
|
439
|
+
className: 'd-flex align-items-center justify-content-center survey-option',
|
|
440
|
+
onClick: function onClick() {
|
|
441
|
+
return handleAnswer(a, questionIndex);
|
|
442
|
+
},
|
|
443
|
+
style: data.answer && data.answer === a ? { background: colors.selectedAnswer } : null },
|
|
444
|
+
React__default.createElement(
|
|
445
|
+
'p',
|
|
446
|
+
{ className: 'font-family-georgia small-text', style: { color: colors.contentText } },
|
|
447
|
+
a
|
|
448
|
+
)
|
|
449
|
+
)
|
|
450
|
+
);
|
|
451
|
+
})
|
|
452
|
+
),
|
|
453
|
+
React__default.createElement(
|
|
454
|
+
'div',
|
|
455
|
+
{ className: 'd-flex justify-content-end' },
|
|
456
|
+
React__default.createElement(
|
|
457
|
+
'button',
|
|
458
|
+
{
|
|
459
|
+
onClick: buttonActive ? function () {
|
|
460
|
+
return handleSurvey(questionIndex + 1);
|
|
461
|
+
} : function () {},
|
|
462
|
+
className: 'btn survey-button font-family-markw1g',
|
|
463
|
+
style: !buttonActive ? { opacity: 0.5 } : null,
|
|
464
|
+
disabled: !buttonActive },
|
|
465
|
+
'next question'
|
|
466
|
+
)
|
|
467
|
+
)
|
|
468
|
+
),
|
|
469
|
+
progressState === 'complete' && React__default.createElement(
|
|
470
|
+
'div',
|
|
471
|
+
{ className: 'd-flex align-items-center justify-content-center flex-column', style: { minHeight: 322 } },
|
|
472
|
+
React__default.createElement(
|
|
473
|
+
'p',
|
|
474
|
+
{ className: 'font-family-georgia big-text', style: { color: colors.contentText } },
|
|
475
|
+
surveyData.afterSurveyText
|
|
476
|
+
),
|
|
477
|
+
surveyData.afterSurveyButtonLabel && React__default.createElement(
|
|
478
|
+
'button',
|
|
479
|
+
{ onClick: handleEndSurvey, className: 'btn survey-button font-family-markw1g mt-3' },
|
|
480
|
+
surveyData.afterSurveyButtonLabel
|
|
481
|
+
)
|
|
482
|
+
)
|
|
483
|
+
)
|
|
484
|
+
)
|
|
485
|
+
);
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
Survey.propTypes = {
|
|
489
|
+
showLoading: PropTypes.bool.isRequired,
|
|
490
|
+
colors: PropTypes.shape({
|
|
491
|
+
primary: PropTypes.string,
|
|
492
|
+
secondary: PropTypes.string,
|
|
493
|
+
contentText: PropTypes.string,
|
|
494
|
+
headerText: PropTypes.string,
|
|
495
|
+
button: PropTypes.string,
|
|
496
|
+
answer: PropTypes.string,
|
|
497
|
+
selectedAnswer: PropTypes.string
|
|
498
|
+
}).isRequired,
|
|
499
|
+
eventData: PropTypes.shape({
|
|
500
|
+
url: PropTypes.string,
|
|
501
|
+
email: PropTypes.string
|
|
502
|
+
}).isRequired,
|
|
503
|
+
surveyData: PropTypes.shape({
|
|
504
|
+
type: PropTypes.oneOf(['pre', 'post']),
|
|
505
|
+
title: PropTypes.string,
|
|
506
|
+
beforeSurveyText: PropTypes.string,
|
|
507
|
+
beforeSurveyButtonLabel: PropTypes.string,
|
|
508
|
+
afterSurveyText: PropTypes.string,
|
|
509
|
+
afterSurveyButtonLabel: PropTypes.string,
|
|
510
|
+
questions: PropTypes.arrayOf(PropTypes.shape({
|
|
511
|
+
question: PropTypes.string,
|
|
512
|
+
answers: PropTypes.arrayOf(PropTypes.string)
|
|
513
|
+
}))
|
|
514
|
+
}).isRequired,
|
|
515
|
+
takenQuestions: PropTypes.arrayOf(PropTypes.string),
|
|
516
|
+
handleAnswer: PropTypes.func.isRequired,
|
|
517
|
+
handleEndSurvey: PropTypes.func.isRequired
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
Survey.defaultProps = {
|
|
521
|
+
showLoading: false,
|
|
522
|
+
colors: {
|
|
523
|
+
primary: '#6ED4C8',
|
|
524
|
+
secondary: '#26292D',
|
|
525
|
+
contentText: '#FF009D',
|
|
526
|
+
headerText: '#FFF',
|
|
527
|
+
button: '#EBE9AC',
|
|
528
|
+
answer: '#FFF',
|
|
529
|
+
selectedAnswer: '#EBE9AC'
|
|
530
|
+
},
|
|
531
|
+
takenQuestions: []
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
export { FeatureArticles, Survey };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _objectSap } from './_object-sap-
|
|
4
|
-
import { d as defineProperty } from './define-property-
|
|
5
|
-
import { a as _typeof_1, b as _objectGopd } from './typeof-
|
|
2
|
+
import { r as _objectGpo, i as _toObject, a as _core, d as _ctx, s as _anObject, b as _isObject, _ as _export, c as _objectCreate } from './core.get-iterator-method-0fb60d94.js';
|
|
3
|
+
import { _ as _objectSap } from './_object-sap-fc9da7e8.js';
|
|
4
|
+
import { d as defineProperty } from './define-property-73034847.js';
|
|
5
|
+
import { a as _typeof_1, b as _objectGopd } from './typeof-938ae770.js';
|
|
6
6
|
|
|
7
7
|
// 19.1.2.9 Object.getPrototypeOf(O)
|
|
8
8
|
|
|
@@ -14,13 +14,13 @@ _objectSap('getPrototypeOf', function () {
|
|
|
14
14
|
};
|
|
15
15
|
});
|
|
16
16
|
|
|
17
|
-
var getPrototypeOf
|
|
17
|
+
var getPrototypeOf = _core.Object.getPrototypeOf;
|
|
18
18
|
|
|
19
|
-
var getPrototypeOf = createCommonjsModule(function (module) {
|
|
20
|
-
module.exports = { "default": getPrototypeOf
|
|
19
|
+
var getPrototypeOf$1 = createCommonjsModule(function (module) {
|
|
20
|
+
module.exports = { "default": getPrototypeOf, __esModule: true };
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
var _Object$getPrototypeOf = unwrapExports(getPrototypeOf);
|
|
23
|
+
var _Object$getPrototypeOf = unwrapExports(getPrototypeOf$1);
|
|
24
24
|
|
|
25
25
|
var classCallCheck = createCommonjsModule(function (module, exports) {
|
|
26
26
|
|
|
@@ -117,27 +117,27 @@ var _setProto = {
|
|
|
117
117
|
|
|
118
118
|
_export(_export.S, 'Object', { setPrototypeOf: _setProto.set });
|
|
119
119
|
|
|
120
|
-
var setPrototypeOf
|
|
120
|
+
var setPrototypeOf = _core.Object.setPrototypeOf;
|
|
121
121
|
|
|
122
|
-
var setPrototypeOf = createCommonjsModule(function (module) {
|
|
123
|
-
module.exports = { "default": setPrototypeOf
|
|
122
|
+
var setPrototypeOf$1 = createCommonjsModule(function (module) {
|
|
123
|
+
module.exports = { "default": setPrototypeOf, __esModule: true };
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
unwrapExports(setPrototypeOf);
|
|
126
|
+
unwrapExports(setPrototypeOf$1);
|
|
127
127
|
|
|
128
128
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
129
129
|
_export(_export.S, 'Object', { create: _objectCreate });
|
|
130
130
|
|
|
131
131
|
var $Object = _core.Object;
|
|
132
|
-
var create
|
|
132
|
+
var create = function create(P, D) {
|
|
133
133
|
return $Object.create(P, D);
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
var create = createCommonjsModule(function (module) {
|
|
137
|
-
module.exports = { "default": create
|
|
136
|
+
var create$1 = createCommonjsModule(function (module) {
|
|
137
|
+
module.exports = { "default": create, __esModule: true };
|
|
138
138
|
});
|
|
139
139
|
|
|
140
|
-
unwrapExports(create);
|
|
140
|
+
unwrapExports(create$1);
|
|
141
141
|
|
|
142
142
|
var inherits = createCommonjsModule(function (module, exports) {
|
|
143
143
|
|
|
@@ -145,11 +145,11 @@ exports.__esModule = true;
|
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
var _setPrototypeOf2 = _interopRequireDefault(setPrototypeOf);
|
|
148
|
+
var _setPrototypeOf2 = _interopRequireDefault(setPrototypeOf$1);
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
var _create2 = _interopRequireDefault(create);
|
|
152
|
+
var _create2 = _interopRequireDefault(create$1);
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
|