@mjhls/mjh-framework 1.0.989 → 1.0.990-next-12-01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -21
- package/dist/cjs/AD300x250x600.js +21 -21
- package/dist/cjs/AD728x90.js +24 -24
- package/dist/cjs/ADFloatingFooter.js +20 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -20
- package/dist/cjs/{ADInfeed-b54f0bda.js → ADInfeed-cf54cb8a.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -20
- package/dist/cjs/ADSponsoredResources.js +20 -20
- package/dist/cjs/ADWebcast.js +20 -20
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-4f0850ec.js → ADlgInfeed-d06624d8.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -19
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +48 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/AuthWrapper.js +586 -9
- package/dist/cjs/{AuthorComponent-17e1c62b.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -30
- package/dist/cjs/ConferenceArticleCard.js +25 -25
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +39 -39
- package/dist/cjs/DeckQueue.js +29 -29
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-bcaa7e3f.js → Dfp-94f8ccdf.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +45 -47
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -45
- package/dist/cjs/GridContentPaginated.js +46 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/HealthCareProfessionalModal.js +3 -3
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-a7fb6218.js +182 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +83 -85
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +38 -38
- package/dist/cjs/MasterDeckPaginated.js +41 -41
- package/dist/cjs/{MediaSeriesCard-94c5bb79.js → MediaSeriesCard-36eab8b7.js} +646 -446
- package/dist/cjs/MediaSeriesLanding.js +54 -56
- package/dist/cjs/MediaSeriesLandingPaginated.js +60 -62
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +39 -39
- package/dist/cjs/NavNative.js +39 -39
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-7624a3bd.js → Pagination-1e0d5f1d.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +59 -60
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -60
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PixelTracking.js +7 -7
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PtceDeck.js +10 -10
- package/dist/cjs/PubSection.js +32 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-6f89fb97.js → PublicationFeature-be5f3503.js} +2 -2
- package/dist/cjs/PublicationLanding.js +54 -54
- package/dist/cjs/QueueDeckExpanded.js +35 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +38 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -17
- package/dist/cjs/{SeriesSlider-08699353.js → SeriesSlider-b94f1dd5.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-af6ddcc0.js → SocialSearchComponent-b7faaedc.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +44 -46
- package/dist/cjs/TemplateNormal.js +45 -45
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +50 -52
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -35
- package/dist/cjs/VideoSeriesListing.js +30 -30
- package/dist/cjs/View.js +115 -119
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{extends-7df78678.js → extends-7c86182f.js} +8 -7
- package/dist/cjs/faundadb.js +325 -8
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getPtceActivities.js +27 -14
- package/dist/cjs/getRelatedArticle.js +343 -74
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +44 -46
- package/dist/cjs/{getTargeting-5eabd6e2.js → getTargeting-4439c99d.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-44481153.js → index-0e4427c8.js} +40 -21
- package/dist/cjs/{index-3c067d4f.js → index-7361fa72.js} +993 -171
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
- package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-2bb721c8.js} +2 -2
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-f93506ac.js → index.esm-d51c9ac6.js} +1 -1
- package/dist/cjs/{index.esm-48e0f0d8.js → index.esm-d81454e7.js} +1 -1
- package/dist/cjs/index.js +140 -148
- package/dist/cjs/{inherits-420ee86f.js → inherits-de66ea16.js} +21 -18
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-ec08d471.js → typeof-567e31ff.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-ad96158c.js → urlForFile-29d3815a.js} +1 -1
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-310d113c.js → ADInfeed-f684cac9.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-eeaa14e2.js → ADlgInfeed-8c438cee.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlgoliaSearch.js +49 -49
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +54 -56
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/AuthWrapper.js +605 -27
- package/dist/esm/{AuthorComponent-b0a47123.js → AuthorComponent-defe68b6.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -49
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -72
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +70 -70
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-e151d2de.js → Dfp-4b99f79d.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +71 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +145 -145
- package/dist/esm/GridContentPaginated.js +133 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +8 -8
- package/dist/esm/HealthCareProfessionalModal.js +13 -13
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-eab2fe41.js +176 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +91 -93
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +71 -71
- package/dist/esm/MasterDeckPaginated.js +63 -63
- package/dist/esm/{MediaSeriesCard-4865e60f.js → MediaSeriesCard-99048e65.js} +907 -707
- package/dist/esm/MediaSeriesLanding.js +79 -81
- package/dist/esm/MediaSeriesLandingPaginated.js +83 -85
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +121 -121
- package/dist/esm/NavNative.js +110 -110
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-1e09918f.js → Pagination-cd21f8c2.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +95 -96
- package/dist/esm/PartnerDetailListingPaginated.js +91 -92
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PixelTracking.js +16 -16
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PtceDeck.js +23 -23
- package/dist/esm/PubSection.js +37 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-0379cc20.js → PublicationFeature-03500094.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-b364d074.js → SeriesSlider-609f9d94.js} +35 -35
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-77a22145.js → SocialSearchComponent-1d8a9f59.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +48 -50
- package/dist/esm/TemplateNormal.js +65 -65
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +62 -64
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +318 -322
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-31d40a83.js → _is-array-893ab020.js} +6 -6
- package/dist/esm/{_iter-detect-72edfd60.js → _iter-detect-f089461c.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-4201ccf6.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-fa0feeff.js → _object-to-array-50a6b9a3.js} +2 -2
- package/dist/esm/{asyncToGenerator-9c835201.js → asyncToGenerator-9716ae8d.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/{core.get-iterator-method-8c71f470.js → core.get-iterator-method-e903ff31.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-a8a00786.js → define-property-99e66838.js} +6 -6
- package/dist/esm/{defineProperty-3518b6fe.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{extends-7fbbe94e.js → extends-dc6a71fd.js} +8 -8
- package/dist/esm/faundadb.js +323 -6
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getPtceActivities.js +27 -14
- package/dist/esm/getRelatedArticle.js +339 -70
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +44 -46
- package/dist/esm/{getTargeting-eed01f73.js → getTargeting-db566006.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
- package/dist/esm/{index-1819118a.js → index-5cc7b406.js} +43 -24
- package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
- package/dist/esm/{index-fa2ffe86.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-25f93396.js → index-c60f3bb6.js} +1396 -573
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-d1125763.js → index.esm-1bd8a0a8.js} +1 -1
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-55f22b35.js → index.esm-eb1e8e80.js} +1 -1
- package/dist/esm/index.js +166 -173
- package/dist/esm/{inherits-d26c739e.js → inherits-8a801a18.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/keys-425c8ab0.js +23 -0
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/main-1894c974.js +961 -0
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
- package/dist/esm/{slicedToArray-99bcfd93.js → slicedToArray-ca2c8b8d.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-c21932b3.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-47a5394a.js → toConsumableArray-7b1c0e23.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-d92ed6e0.js → typeof-83d9eb10.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-0fc42ed8.js → urlForFile-413f5ddb.js} +1 -1
- package/dist/esm/{ustream-api-cbba615a.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-406140e0.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +115 -115
- package/dist/cjs/Auth.js +0 -3514
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/cjs/md5-e1ca5797.js +0 -323
- package/dist/cjs/util-f2c1b65b.js +0 -576
- package/dist/esm/Auth.js +0 -3494
- package/dist/esm/ImageSlider-5ae6287a.js +0 -1375
- package/dist/esm/index-db3bb315.js +0 -207
- package/dist/esm/keys-5e9bd229.js +0 -23
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/md5-4e42248e.js +0 -321
- package/dist/esm/stringify-0c65d837.js +0 -15
- package/dist/esm/util-7700fc59.js +0 -574
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
|
@@ -1,68 +1,65 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
var core_getIteratorMethod = require('./core.get-iterator-method-f3c44602.js');
|
|
5
|
-
var toConsumableArray = require('./toConsumableArray-c9b8a0d0.js');
|
|
6
|
-
var _extends = require('./extends-7df78678.js');
|
|
7
|
-
var inherits = require('./inherits-420ee86f.js');
|
|
8
|
-
var _typeof$1 = require('./typeof-ec08d471.js');
|
|
9
3
|
var React = require('react');
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var Row = require('react-bootstrap/Row');
|
|
13
|
-
var Col = require('react-bootstrap/Col');
|
|
14
|
-
var moment = require('./moment-ca3bd9fb.js');
|
|
15
|
-
var Router = require('next/router');
|
|
16
|
-
var slicedToArray = require('./slicedToArray-f6d4eaa8.js');
|
|
4
|
+
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
5
|
+
var reactBootstrap = require('react-bootstrap');
|
|
17
6
|
var urlFor = require('./urlFor.js');
|
|
18
|
-
var index
|
|
19
|
-
var
|
|
20
|
-
var entities = require('./entities-310b46ee.js');
|
|
21
|
-
var stringify = require('./stringify-bbc68047.js');
|
|
22
|
-
var asyncToGenerator = require('./asyncToGenerator-df19209d.js');
|
|
23
|
-
var Segment = require('./Segment.js');
|
|
24
|
-
require('./Beam.js');
|
|
25
|
-
var AdSlot = require('./AdSlot.js');
|
|
26
|
-
var Button = require('react-bootstrap/Button');
|
|
27
|
-
var BlockContent = require('./BlockContent-8b494587.js');
|
|
7
|
+
var index = require('./index-0e4427c8.js');
|
|
8
|
+
var Router = require('next/router');
|
|
28
9
|
var index$1 = require('./index-187c967e.js');
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
10
|
+
var PropTypes = require('prop-types');
|
|
11
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
12
|
+
require('./Beam.js');
|
|
13
|
+
var Segment = require('./Segment.js');
|
|
14
|
+
var main = require('./main-f1c77adb.js');
|
|
15
|
+
var BlockContent = require('./BlockContent-36e54d77.js');
|
|
16
|
+
var _extends = require('./extends-7c86182f.js');
|
|
17
|
+
var urlForFile = require('./urlForFile-29d3815a.js');
|
|
18
|
+
var index$2 = require('./index-eadd5035.js');
|
|
19
|
+
var asyncToGenerator = require('./asyncToGenerator-77821af0.js');
|
|
20
|
+
var _typeof$1 = require('./typeof-567e31ff.js');
|
|
21
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-a195642e.js');
|
|
22
|
+
var stringify = require('./stringify-f7a37a8d.js');
|
|
35
23
|
var Modal = require('react-bootstrap/Modal');
|
|
24
|
+
var Button = require('react-bootstrap/Button');
|
|
36
25
|
var Form = require('react-bootstrap/Form');
|
|
37
26
|
var ReactGA = require('react-ga');
|
|
38
|
-
var
|
|
27
|
+
var GroupDeck = require('./GroupDeck.js');
|
|
28
|
+
var moment = require('./moment-aca40de1.js');
|
|
39
29
|
var SocialShare = require('./SocialShare.js');
|
|
40
|
-
var
|
|
30
|
+
var core_getIteratorMethod = require('./core.get-iterator-method-5643aa10.js');
|
|
31
|
+
var _objectToArray = require('./_object-to-array-ce86cae7.js');
|
|
32
|
+
var toConsumableArray = require('./toConsumableArray-d7797c2b.js');
|
|
41
33
|
var Pagination = require('react-bootstrap/Pagination');
|
|
34
|
+
var entities = require('./entities-3f9d0f2f.js');
|
|
35
|
+
var AdSlot = require('./AdSlot.js');
|
|
36
|
+
var Row = require('react-bootstrap/Row');
|
|
37
|
+
var Col = require('react-bootstrap/Col');
|
|
38
|
+
var Head = require('next/head');
|
|
39
|
+
var inherits$2 = require('./inherits-de66ea16.js');
|
|
40
|
+
var index_esm = require('./index.esm-d81454e7.js');
|
|
42
41
|
var Figure$1 = require('react-bootstrap/Figure');
|
|
43
42
|
var OverlayTrigger = require('react-bootstrap/OverlayTrigger');
|
|
44
43
|
var Tooltip = require('react-bootstrap/Tooltip');
|
|
45
44
|
var Popover = require('react-bootstrap/Popover');
|
|
46
|
-
var ScriptTag = require('react-script-tag');
|
|
47
45
|
|
|
48
46
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
49
47
|
|
|
50
48
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
51
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
52
|
-
var Row__default = /*#__PURE__*/_interopDefaultLegacy(Row);
|
|
53
|
-
var Col__default = /*#__PURE__*/_interopDefaultLegacy(Col);
|
|
54
49
|
var Router__default = /*#__PURE__*/_interopDefaultLegacy(Router);
|
|
55
|
-
var
|
|
50
|
+
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
56
51
|
var Modal__default = /*#__PURE__*/_interopDefaultLegacy(Modal);
|
|
52
|
+
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
57
53
|
var Form__default = /*#__PURE__*/_interopDefaultLegacy(Form);
|
|
58
54
|
var ReactGA__default = /*#__PURE__*/_interopDefaultLegacy(ReactGA);
|
|
59
|
-
var Head__default = /*#__PURE__*/_interopDefaultLegacy(Head);
|
|
60
55
|
var Pagination__default = /*#__PURE__*/_interopDefaultLegacy(Pagination);
|
|
56
|
+
var Row__default = /*#__PURE__*/_interopDefaultLegacy(Row);
|
|
57
|
+
var Col__default = /*#__PURE__*/_interopDefaultLegacy(Col);
|
|
58
|
+
var Head__default = /*#__PURE__*/_interopDefaultLegacy(Head);
|
|
61
59
|
var Figure__default = /*#__PURE__*/_interopDefaultLegacy(Figure$1);
|
|
62
60
|
var OverlayTrigger__default = /*#__PURE__*/_interopDefaultLegacy(OverlayTrigger);
|
|
63
61
|
var Tooltip__default = /*#__PURE__*/_interopDefaultLegacy(Tooltip);
|
|
64
62
|
var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
65
|
-
var ScriptTag__default = /*#__PURE__*/_interopDefaultLegacy(ScriptTag);
|
|
66
63
|
|
|
67
64
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
68
65
|
var pageNumber = selectedIndex + 1;
|
|
@@ -70,7 +67,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
|
70
67
|
Router__default['default'].push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
71
68
|
};
|
|
72
69
|
|
|
73
|
-
var Slideshow = function Slideshow(_ref) {
|
|
70
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
74
71
|
var slides = _ref.slides,
|
|
75
72
|
client = _ref.client,
|
|
76
73
|
pageview = _ref.pageview;
|
|
@@ -707,14 +704,14 @@ function coerce(val) {
|
|
|
707
704
|
return val;
|
|
708
705
|
}
|
|
709
706
|
});
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
707
|
+
debug.coerce;
|
|
708
|
+
debug.disable;
|
|
709
|
+
debug.enable;
|
|
710
|
+
debug.enabled;
|
|
711
|
+
debug.humanize;
|
|
712
|
+
debug.names;
|
|
713
|
+
debug.skips;
|
|
714
|
+
debug.formatters;
|
|
718
715
|
|
|
719
716
|
var browser = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
720
717
|
/**
|
|
@@ -903,13 +900,13 @@ function localstorage() {
|
|
|
903
900
|
} catch (e) {}
|
|
904
901
|
}
|
|
905
902
|
});
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
903
|
+
browser.log;
|
|
904
|
+
browser.formatArgs;
|
|
905
|
+
browser.save;
|
|
906
|
+
browser.load;
|
|
907
|
+
browser.useColors;
|
|
908
|
+
browser.storage;
|
|
909
|
+
browser.colors;
|
|
913
910
|
|
|
914
911
|
// MIT lisence
|
|
915
912
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -932,6 +929,579 @@ var tty = {
|
|
|
932
929
|
WriteStream: WriteStream
|
|
933
930
|
};
|
|
934
931
|
|
|
932
|
+
var inherits;
|
|
933
|
+
if (typeof Object.create === 'function'){
|
|
934
|
+
inherits = function inherits(ctor, superCtor) {
|
|
935
|
+
// implementation from standard node.js 'util' module
|
|
936
|
+
ctor.super_ = superCtor;
|
|
937
|
+
ctor.prototype = Object.create(superCtor.prototype, {
|
|
938
|
+
constructor: {
|
|
939
|
+
value: ctor,
|
|
940
|
+
enumerable: false,
|
|
941
|
+
writable: true,
|
|
942
|
+
configurable: true
|
|
943
|
+
}
|
|
944
|
+
});
|
|
945
|
+
};
|
|
946
|
+
} else {
|
|
947
|
+
inherits = function inherits(ctor, superCtor) {
|
|
948
|
+
ctor.super_ = superCtor;
|
|
949
|
+
var TempCtor = function () {};
|
|
950
|
+
TempCtor.prototype = superCtor.prototype;
|
|
951
|
+
ctor.prototype = new TempCtor();
|
|
952
|
+
ctor.prototype.constructor = ctor;
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
var inherits$1 = inherits;
|
|
956
|
+
|
|
957
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
|
958
|
+
var formatRegExp = /%[sdj%]/g;
|
|
959
|
+
function format(f) {
|
|
960
|
+
if (!isString(f)) {
|
|
961
|
+
var objects = [];
|
|
962
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
963
|
+
objects.push(inspect(arguments[i]));
|
|
964
|
+
}
|
|
965
|
+
return objects.join(' ');
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
var i = 1;
|
|
969
|
+
var args = arguments;
|
|
970
|
+
var len = args.length;
|
|
971
|
+
var str = String(f).replace(formatRegExp, function(x) {
|
|
972
|
+
if (x === '%%') return '%';
|
|
973
|
+
if (i >= len) return x;
|
|
974
|
+
switch (x) {
|
|
975
|
+
case '%s': return String(args[i++]);
|
|
976
|
+
case '%d': return Number(args[i++]);
|
|
977
|
+
case '%j':
|
|
978
|
+
try {
|
|
979
|
+
return JSON.stringify(args[i++]);
|
|
980
|
+
} catch (_) {
|
|
981
|
+
return '[Circular]';
|
|
982
|
+
}
|
|
983
|
+
default:
|
|
984
|
+
return x;
|
|
985
|
+
}
|
|
986
|
+
});
|
|
987
|
+
for (var x = args[i]; i < len; x = args[++i]) {
|
|
988
|
+
if (isNull(x) || !isObject(x)) {
|
|
989
|
+
str += ' ' + x;
|
|
990
|
+
} else {
|
|
991
|
+
str += ' ' + inspect(x);
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
return str;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
// Mark that a method should not be used.
|
|
998
|
+
// Returns a modified function which warns once by default.
|
|
999
|
+
// If --no-deprecation is set, then it is a no-op.
|
|
1000
|
+
function deprecate(fn, msg) {
|
|
1001
|
+
// Allow for deprecating things in the process of starting up.
|
|
1002
|
+
if (isUndefined(global.process)) {
|
|
1003
|
+
return function() {
|
|
1004
|
+
return deprecate(fn, msg).apply(this, arguments);
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
var warned = false;
|
|
1009
|
+
function deprecated() {
|
|
1010
|
+
if (!warned) {
|
|
1011
|
+
{
|
|
1012
|
+
console.error(msg);
|
|
1013
|
+
}
|
|
1014
|
+
warned = true;
|
|
1015
|
+
}
|
|
1016
|
+
return fn.apply(this, arguments);
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
return deprecated;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
var debugs = {};
|
|
1023
|
+
var debugEnviron;
|
|
1024
|
+
function debuglog(set) {
|
|
1025
|
+
if (isUndefined(debugEnviron))
|
|
1026
|
+
debugEnviron = '';
|
|
1027
|
+
set = set.toUpperCase();
|
|
1028
|
+
if (!debugs[set]) {
|
|
1029
|
+
if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
|
|
1030
|
+
var pid = 0;
|
|
1031
|
+
debugs[set] = function() {
|
|
1032
|
+
var msg = format.apply(null, arguments);
|
|
1033
|
+
console.error('%s %d: %s', set, pid, msg);
|
|
1034
|
+
};
|
|
1035
|
+
} else {
|
|
1036
|
+
debugs[set] = function() {};
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
return debugs[set];
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Echos the value of a value. Trys to print the value out
|
|
1044
|
+
* in the best way possible given the different types.
|
|
1045
|
+
*
|
|
1046
|
+
* @param {Object} obj The object to print out.
|
|
1047
|
+
* @param {Object} opts Optional options object that alters the output.
|
|
1048
|
+
*/
|
|
1049
|
+
/* legacy: obj, showHidden, depth, colors*/
|
|
1050
|
+
function inspect(obj, opts) {
|
|
1051
|
+
// default options
|
|
1052
|
+
var ctx = {
|
|
1053
|
+
seen: [],
|
|
1054
|
+
stylize: stylizeNoColor
|
|
1055
|
+
};
|
|
1056
|
+
// legacy...
|
|
1057
|
+
if (arguments.length >= 3) ctx.depth = arguments[2];
|
|
1058
|
+
if (arguments.length >= 4) ctx.colors = arguments[3];
|
|
1059
|
+
if (isBoolean(opts)) {
|
|
1060
|
+
// legacy...
|
|
1061
|
+
ctx.showHidden = opts;
|
|
1062
|
+
} else if (opts) {
|
|
1063
|
+
// got an "options" object
|
|
1064
|
+
_extend(ctx, opts);
|
|
1065
|
+
}
|
|
1066
|
+
// set default options
|
|
1067
|
+
if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
|
|
1068
|
+
if (isUndefined(ctx.depth)) ctx.depth = 2;
|
|
1069
|
+
if (isUndefined(ctx.colors)) ctx.colors = false;
|
|
1070
|
+
if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
|
|
1071
|
+
if (ctx.colors) ctx.stylize = stylizeWithColor;
|
|
1072
|
+
return formatValue(ctx, obj, ctx.depth);
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
|
|
1076
|
+
inspect.colors = {
|
|
1077
|
+
'bold' : [1, 22],
|
|
1078
|
+
'italic' : [3, 23],
|
|
1079
|
+
'underline' : [4, 24],
|
|
1080
|
+
'inverse' : [7, 27],
|
|
1081
|
+
'white' : [37, 39],
|
|
1082
|
+
'grey' : [90, 39],
|
|
1083
|
+
'black' : [30, 39],
|
|
1084
|
+
'blue' : [34, 39],
|
|
1085
|
+
'cyan' : [36, 39],
|
|
1086
|
+
'green' : [32, 39],
|
|
1087
|
+
'magenta' : [35, 39],
|
|
1088
|
+
'red' : [31, 39],
|
|
1089
|
+
'yellow' : [33, 39]
|
|
1090
|
+
};
|
|
1091
|
+
|
|
1092
|
+
// Don't use 'blue' not visible on cmd.exe
|
|
1093
|
+
inspect.styles = {
|
|
1094
|
+
'special': 'cyan',
|
|
1095
|
+
'number': 'yellow',
|
|
1096
|
+
'boolean': 'yellow',
|
|
1097
|
+
'undefined': 'grey',
|
|
1098
|
+
'null': 'bold',
|
|
1099
|
+
'string': 'green',
|
|
1100
|
+
'date': 'magenta',
|
|
1101
|
+
// "name": intentionally not styling
|
|
1102
|
+
'regexp': 'red'
|
|
1103
|
+
};
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
function stylizeWithColor(str, styleType) {
|
|
1107
|
+
var style = inspect.styles[styleType];
|
|
1108
|
+
|
|
1109
|
+
if (style) {
|
|
1110
|
+
return '\u001b[' + inspect.colors[style][0] + 'm' + str +
|
|
1111
|
+
'\u001b[' + inspect.colors[style][1] + 'm';
|
|
1112
|
+
} else {
|
|
1113
|
+
return str;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
function stylizeNoColor(str, styleType) {
|
|
1119
|
+
return str;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
function arrayToHash(array) {
|
|
1124
|
+
var hash = {};
|
|
1125
|
+
|
|
1126
|
+
array.forEach(function(val, idx) {
|
|
1127
|
+
hash[val] = true;
|
|
1128
|
+
});
|
|
1129
|
+
|
|
1130
|
+
return hash;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
function formatValue(ctx, value, recurseTimes) {
|
|
1135
|
+
// Provide a hook for user-specified inspect functions.
|
|
1136
|
+
// Check that value is an object with an inspect function on it
|
|
1137
|
+
if (ctx.customInspect &&
|
|
1138
|
+
value &&
|
|
1139
|
+
isFunction(value.inspect) &&
|
|
1140
|
+
// Filter out the util module, it's inspect function is special
|
|
1141
|
+
value.inspect !== inspect &&
|
|
1142
|
+
// Also filter out any prototype objects using the circular check.
|
|
1143
|
+
!(value.constructor && value.constructor.prototype === value)) {
|
|
1144
|
+
var ret = value.inspect(recurseTimes, ctx);
|
|
1145
|
+
if (!isString(ret)) {
|
|
1146
|
+
ret = formatValue(ctx, ret, recurseTimes);
|
|
1147
|
+
}
|
|
1148
|
+
return ret;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
// Primitive types cannot have properties
|
|
1152
|
+
var primitive = formatPrimitive(ctx, value);
|
|
1153
|
+
if (primitive) {
|
|
1154
|
+
return primitive;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
// Look up the keys of the object.
|
|
1158
|
+
var keys = Object.keys(value);
|
|
1159
|
+
var visibleKeys = arrayToHash(keys);
|
|
1160
|
+
|
|
1161
|
+
if (ctx.showHidden) {
|
|
1162
|
+
keys = Object.getOwnPropertyNames(value);
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
// IE doesn't make error fields non-enumerable
|
|
1166
|
+
// http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
|
|
1167
|
+
if (isError(value)
|
|
1168
|
+
&& (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
|
|
1169
|
+
return formatError(value);
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
// Some type of object without properties can be shortcutted.
|
|
1173
|
+
if (keys.length === 0) {
|
|
1174
|
+
if (isFunction(value)) {
|
|
1175
|
+
var name = value.name ? ': ' + value.name : '';
|
|
1176
|
+
return ctx.stylize('[Function' + name + ']', 'special');
|
|
1177
|
+
}
|
|
1178
|
+
if (isRegExp(value)) {
|
|
1179
|
+
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
1180
|
+
}
|
|
1181
|
+
if (isDate(value)) {
|
|
1182
|
+
return ctx.stylize(Date.prototype.toString.call(value), 'date');
|
|
1183
|
+
}
|
|
1184
|
+
if (isError(value)) {
|
|
1185
|
+
return formatError(value);
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
var base = '', array = false, braces = ['{', '}'];
|
|
1190
|
+
|
|
1191
|
+
// Make Array say that they are Array
|
|
1192
|
+
if (isArray(value)) {
|
|
1193
|
+
array = true;
|
|
1194
|
+
braces = ['[', ']'];
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
// Make functions say that they are functions
|
|
1198
|
+
if (isFunction(value)) {
|
|
1199
|
+
var n = value.name ? ': ' + value.name : '';
|
|
1200
|
+
base = ' [Function' + n + ']';
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
// Make RegExps say that they are RegExps
|
|
1204
|
+
if (isRegExp(value)) {
|
|
1205
|
+
base = ' ' + RegExp.prototype.toString.call(value);
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
// Make dates with properties first say the date
|
|
1209
|
+
if (isDate(value)) {
|
|
1210
|
+
base = ' ' + Date.prototype.toUTCString.call(value);
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
// Make error with message first say the error
|
|
1214
|
+
if (isError(value)) {
|
|
1215
|
+
base = ' ' + formatError(value);
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
if (keys.length === 0 && (!array || value.length == 0)) {
|
|
1219
|
+
return braces[0] + base + braces[1];
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
if (recurseTimes < 0) {
|
|
1223
|
+
if (isRegExp(value)) {
|
|
1224
|
+
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
1225
|
+
} else {
|
|
1226
|
+
return ctx.stylize('[Object]', 'special');
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
ctx.seen.push(value);
|
|
1231
|
+
|
|
1232
|
+
var output;
|
|
1233
|
+
if (array) {
|
|
1234
|
+
output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
|
|
1235
|
+
} else {
|
|
1236
|
+
output = keys.map(function(key) {
|
|
1237
|
+
return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
|
|
1238
|
+
});
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
ctx.seen.pop();
|
|
1242
|
+
|
|
1243
|
+
return reduceToSingleString(output, base, braces);
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
function formatPrimitive(ctx, value) {
|
|
1248
|
+
if (isUndefined(value))
|
|
1249
|
+
return ctx.stylize('undefined', 'undefined');
|
|
1250
|
+
if (isString(value)) {
|
|
1251
|
+
var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
|
|
1252
|
+
.replace(/'/g, "\\'")
|
|
1253
|
+
.replace(/\\"/g, '"') + '\'';
|
|
1254
|
+
return ctx.stylize(simple, 'string');
|
|
1255
|
+
}
|
|
1256
|
+
if (isNumber(value))
|
|
1257
|
+
return ctx.stylize('' + value, 'number');
|
|
1258
|
+
if (isBoolean(value))
|
|
1259
|
+
return ctx.stylize('' + value, 'boolean');
|
|
1260
|
+
// For some reason typeof null is "object", so special case here.
|
|
1261
|
+
if (isNull(value))
|
|
1262
|
+
return ctx.stylize('null', 'null');
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
function formatError(value) {
|
|
1267
|
+
return '[' + Error.prototype.toString.call(value) + ']';
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
|
|
1272
|
+
var output = [];
|
|
1273
|
+
for (var i = 0, l = value.length; i < l; ++i) {
|
|
1274
|
+
if (hasOwnProperty(value, String(i))) {
|
|
1275
|
+
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
|
|
1276
|
+
String(i), true));
|
|
1277
|
+
} else {
|
|
1278
|
+
output.push('');
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
keys.forEach(function(key) {
|
|
1282
|
+
if (!key.match(/^\d+$/)) {
|
|
1283
|
+
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
|
|
1284
|
+
key, true));
|
|
1285
|
+
}
|
|
1286
|
+
});
|
|
1287
|
+
return output;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
|
|
1292
|
+
var name, str, desc;
|
|
1293
|
+
desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
|
|
1294
|
+
if (desc.get) {
|
|
1295
|
+
if (desc.set) {
|
|
1296
|
+
str = ctx.stylize('[Getter/Setter]', 'special');
|
|
1297
|
+
} else {
|
|
1298
|
+
str = ctx.stylize('[Getter]', 'special');
|
|
1299
|
+
}
|
|
1300
|
+
} else {
|
|
1301
|
+
if (desc.set) {
|
|
1302
|
+
str = ctx.stylize('[Setter]', 'special');
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
if (!hasOwnProperty(visibleKeys, key)) {
|
|
1306
|
+
name = '[' + key + ']';
|
|
1307
|
+
}
|
|
1308
|
+
if (!str) {
|
|
1309
|
+
if (ctx.seen.indexOf(desc.value) < 0) {
|
|
1310
|
+
if (isNull(recurseTimes)) {
|
|
1311
|
+
str = formatValue(ctx, desc.value, null);
|
|
1312
|
+
} else {
|
|
1313
|
+
str = formatValue(ctx, desc.value, recurseTimes - 1);
|
|
1314
|
+
}
|
|
1315
|
+
if (str.indexOf('\n') > -1) {
|
|
1316
|
+
if (array) {
|
|
1317
|
+
str = str.split('\n').map(function(line) {
|
|
1318
|
+
return ' ' + line;
|
|
1319
|
+
}).join('\n').substr(2);
|
|
1320
|
+
} else {
|
|
1321
|
+
str = '\n' + str.split('\n').map(function(line) {
|
|
1322
|
+
return ' ' + line;
|
|
1323
|
+
}).join('\n');
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
} else {
|
|
1327
|
+
str = ctx.stylize('[Circular]', 'special');
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
if (isUndefined(name)) {
|
|
1331
|
+
if (array && key.match(/^\d+$/)) {
|
|
1332
|
+
return str;
|
|
1333
|
+
}
|
|
1334
|
+
name = JSON.stringify('' + key);
|
|
1335
|
+
if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
|
|
1336
|
+
name = name.substr(1, name.length - 2);
|
|
1337
|
+
name = ctx.stylize(name, 'name');
|
|
1338
|
+
} else {
|
|
1339
|
+
name = name.replace(/'/g, "\\'")
|
|
1340
|
+
.replace(/\\"/g, '"')
|
|
1341
|
+
.replace(/(^"|"$)/g, "'");
|
|
1342
|
+
name = ctx.stylize(name, 'string');
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
return name + ': ' + str;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
function reduceToSingleString(output, base, braces) {
|
|
1351
|
+
var length = output.reduce(function(prev, cur) {
|
|
1352
|
+
if (cur.indexOf('\n') >= 0) ;
|
|
1353
|
+
return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
|
|
1354
|
+
}, 0);
|
|
1355
|
+
|
|
1356
|
+
if (length > 60) {
|
|
1357
|
+
return braces[0] +
|
|
1358
|
+
(base === '' ? '' : base + '\n ') +
|
|
1359
|
+
' ' +
|
|
1360
|
+
output.join(',\n ') +
|
|
1361
|
+
' ' +
|
|
1362
|
+
braces[1];
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
// NOTE: These type checking functions intentionally don't use `instanceof`
|
|
1370
|
+
// because it is fragile and can be easily faked with `Object.create()`.
|
|
1371
|
+
function isArray(ar) {
|
|
1372
|
+
return Array.isArray(ar);
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
function isBoolean(arg) {
|
|
1376
|
+
return typeof arg === 'boolean';
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
function isNull(arg) {
|
|
1380
|
+
return arg === null;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
function isNullOrUndefined(arg) {
|
|
1384
|
+
return arg == null;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
function isNumber(arg) {
|
|
1388
|
+
return typeof arg === 'number';
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
function isString(arg) {
|
|
1392
|
+
return typeof arg === 'string';
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
function isSymbol(arg) {
|
|
1396
|
+
return typeof arg === 'symbol';
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
function isUndefined(arg) {
|
|
1400
|
+
return arg === void 0;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
function isRegExp(re) {
|
|
1404
|
+
return isObject(re) && objectToString(re) === '[object RegExp]';
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
function isObject(arg) {
|
|
1408
|
+
return typeof arg === 'object' && arg !== null;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
function isDate(d) {
|
|
1412
|
+
return isObject(d) && objectToString(d) === '[object Date]';
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
function isError(e) {
|
|
1416
|
+
return isObject(e) &&
|
|
1417
|
+
(objectToString(e) === '[object Error]' || e instanceof Error);
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
function isFunction(arg) {
|
|
1421
|
+
return typeof arg === 'function';
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
function isPrimitive(arg) {
|
|
1425
|
+
return arg === null ||
|
|
1426
|
+
typeof arg === 'boolean' ||
|
|
1427
|
+
typeof arg === 'number' ||
|
|
1428
|
+
typeof arg === 'string' ||
|
|
1429
|
+
typeof arg === 'symbol' || // ES6 symbol
|
|
1430
|
+
typeof arg === 'undefined';
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
function isBuffer(maybeBuf) {
|
|
1434
|
+
return Buffer.isBuffer(maybeBuf);
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
function objectToString(o) {
|
|
1438
|
+
return Object.prototype.toString.call(o);
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
function pad(n) {
|
|
1443
|
+
return n < 10 ? '0' + n.toString(10) : n.toString(10);
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
|
|
1448
|
+
'Oct', 'Nov', 'Dec'];
|
|
1449
|
+
|
|
1450
|
+
// 26 Feb 16:19:34
|
|
1451
|
+
function timestamp() {
|
|
1452
|
+
var d = new Date();
|
|
1453
|
+
var time = [pad(d.getHours()),
|
|
1454
|
+
pad(d.getMinutes()),
|
|
1455
|
+
pad(d.getSeconds())].join(':');
|
|
1456
|
+
return [d.getDate(), months[d.getMonth()], time].join(' ');
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
// log is just a thin wrapper to console.log that prepends a timestamp
|
|
1461
|
+
function log() {
|
|
1462
|
+
console.log('%s - %s', timestamp(), format.apply(null, arguments));
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
function _extend(origin, add) {
|
|
1466
|
+
// Don't do anything if add isn't an object
|
|
1467
|
+
if (!add || !isObject(add)) return origin;
|
|
1468
|
+
|
|
1469
|
+
var keys = Object.keys(add);
|
|
1470
|
+
var i = keys.length;
|
|
1471
|
+
while (i--) {
|
|
1472
|
+
origin[keys[i]] = add[keys[i]];
|
|
1473
|
+
}
|
|
1474
|
+
return origin;
|
|
1475
|
+
}
|
|
1476
|
+
function hasOwnProperty(obj, prop) {
|
|
1477
|
+
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
var util = {
|
|
1481
|
+
inherits: inherits$1,
|
|
1482
|
+
_extend: _extend,
|
|
1483
|
+
log: log,
|
|
1484
|
+
isBuffer: isBuffer,
|
|
1485
|
+
isPrimitive: isPrimitive,
|
|
1486
|
+
isFunction: isFunction,
|
|
1487
|
+
isError: isError,
|
|
1488
|
+
isDate: isDate,
|
|
1489
|
+
isObject: isObject,
|
|
1490
|
+
isRegExp: isRegExp,
|
|
1491
|
+
isUndefined: isUndefined,
|
|
1492
|
+
isSymbol: isSymbol,
|
|
1493
|
+
isString: isString,
|
|
1494
|
+
isNumber: isNumber,
|
|
1495
|
+
isNullOrUndefined: isNullOrUndefined,
|
|
1496
|
+
isNull: isNull,
|
|
1497
|
+
isBoolean: isBoolean,
|
|
1498
|
+
isArray: isArray,
|
|
1499
|
+
inspect: inspect,
|
|
1500
|
+
deprecate: deprecate,
|
|
1501
|
+
format: format,
|
|
1502
|
+
debuglog: debuglog
|
|
1503
|
+
};
|
|
1504
|
+
|
|
935
1505
|
var require$$2 = {};
|
|
936
1506
|
|
|
937
1507
|
var node = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
@@ -998,7 +1568,7 @@ exports.inspectOpts = Object.keys(process.env).filter(function (key) {
|
|
|
998
1568
|
var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
|
|
999
1569
|
|
|
1000
1570
|
if (1 !== fd && 2 !== fd) {
|
|
1001
|
-
util.
|
|
1571
|
+
util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')();
|
|
1002
1572
|
}
|
|
1003
1573
|
|
|
1004
1574
|
var stream = 1 === fd ? process.stdout :
|
|
@@ -1021,7 +1591,7 @@ function useColors() {
|
|
|
1021
1591
|
|
|
1022
1592
|
exports.formatters.o = function(v) {
|
|
1023
1593
|
this.inspectOpts.colors = this.useColors;
|
|
1024
|
-
return util.
|
|
1594
|
+
return util.inspect(v, this.inspectOpts)
|
|
1025
1595
|
.split('\n').map(function(str) {
|
|
1026
1596
|
return str.trim()
|
|
1027
1597
|
}).join(' ');
|
|
@@ -1033,7 +1603,7 @@ exports.formatters.o = function(v) {
|
|
|
1033
1603
|
|
|
1034
1604
|
exports.formatters.O = function(v) {
|
|
1035
1605
|
this.inspectOpts.colors = this.useColors;
|
|
1036
|
-
return util.
|
|
1606
|
+
return util.inspect(v, this.inspectOpts);
|
|
1037
1607
|
};
|
|
1038
1608
|
|
|
1039
1609
|
/**
|
|
@@ -1063,7 +1633,7 @@ function formatArgs(args) {
|
|
|
1063
1633
|
*/
|
|
1064
1634
|
|
|
1065
1635
|
function log() {
|
|
1066
|
-
return stream.write(util.
|
|
1636
|
+
return stream.write(util.format.apply(util, arguments) + '\n');
|
|
1067
1637
|
}
|
|
1068
1638
|
|
|
1069
1639
|
/**
|
|
@@ -1184,14 +1754,14 @@ function init (debug) {
|
|
|
1184
1754
|
|
|
1185
1755
|
exports.enable(load());
|
|
1186
1756
|
});
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1757
|
+
node.init;
|
|
1758
|
+
node.log;
|
|
1759
|
+
node.formatArgs;
|
|
1760
|
+
node.save;
|
|
1761
|
+
node.load;
|
|
1762
|
+
node.useColors;
|
|
1763
|
+
node.colors;
|
|
1764
|
+
node.inspectOpts;
|
|
1195
1765
|
|
|
1196
1766
|
var src = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
1197
1767
|
/**
|
|
@@ -1649,11 +2219,11 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1649
2219
|
|
|
1650
2220
|
function filterResetOptions(opts) {
|
|
1651
2221
|
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1652
|
-
playerVars: _objectSpread(
|
|
2222
|
+
playerVars: _objectSpread({
|
|
1653
2223
|
autoplay: 0,
|
|
1654
2224
|
start: 0,
|
|
1655
2225
|
end: 0
|
|
1656
|
-
})
|
|
2226
|
+
}, opts.playerVars)
|
|
1657
2227
|
});
|
|
1658
2228
|
}
|
|
1659
2229
|
/**
|
|
@@ -1955,7 +2525,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1955
2525
|
var queue = Math.floor(duration / 10);
|
|
1956
2526
|
var segment = Math.floor(current / queue);
|
|
1957
2527
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
1958
|
-
Segment.report_video_event('Video Ready', main.
|
|
2528
|
+
Segment.report_video_event('Video Ready', main.main_18, duration, current, segment);
|
|
1959
2529
|
};
|
|
1960
2530
|
|
|
1961
2531
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1966,7 +2536,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1966
2536
|
|
|
1967
2537
|
if (!queueProgress.includes(segment)) {
|
|
1968
2538
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
1969
|
-
Segment.report_video_event('Video Segment', main.
|
|
2539
|
+
Segment.report_video_event('Video Segment', main.main_18, duration, current, segment);
|
|
1970
2540
|
queueProgress.push(segment);
|
|
1971
2541
|
}
|
|
1972
2542
|
};
|
|
@@ -1980,7 +2550,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1980
2550
|
var segment = Math.floor(current / queue);
|
|
1981
2551
|
|
|
1982
2552
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
1983
|
-
Segment.report_video_event('Video Play', main.
|
|
2553
|
+
Segment.report_video_event('Video Play', main.main_18, duration, current, segment);
|
|
1984
2554
|
|
|
1985
2555
|
if (!playReported) {
|
|
1986
2556
|
setPlayReported(true);
|
|
@@ -2000,7 +2570,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2000
2570
|
var segment = Math.floor(current / queue);
|
|
2001
2571
|
|
|
2002
2572
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
2003
|
-
Segment.report_video_event('Video End', main.
|
|
2573
|
+
Segment.report_video_event('Video End', main.main_18, duration, current, segment);
|
|
2004
2574
|
setEndReported(true);
|
|
2005
2575
|
clearInterval(intervalID);
|
|
2006
2576
|
}
|
|
@@ -2014,7 +2584,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2014
2584
|
var segment = Math.floor(current / queue);
|
|
2015
2585
|
|
|
2016
2586
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
2017
|
-
Segment.report_video_event('Video Pause', main.
|
|
2587
|
+
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2018
2588
|
};
|
|
2019
2589
|
|
|
2020
2590
|
return React__default['default'].createElement(
|
|
@@ -2490,7 +3060,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2490
3060
|
var queue = Math.floor(duration / 10);
|
|
2491
3061
|
var segment = Math.floor(current / queue);
|
|
2492
3062
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2493
|
-
Segment.report_video_event('Video Ready', main.
|
|
3063
|
+
Segment.report_video_event('Video Ready', main.main_18, duration, current, segment, 'MP4');
|
|
2494
3064
|
};
|
|
2495
3065
|
|
|
2496
3066
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2500,7 +3070,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2500
3070
|
var segment = Math.floor(current / queue);
|
|
2501
3071
|
if (!queueProgress.includes(segment)) {
|
|
2502
3072
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2503
|
-
Segment.report_video_event('Video Segment', main.
|
|
3073
|
+
Segment.report_video_event('Video Segment', main.main_18, duration, current, segment, 'MP4');
|
|
2504
3074
|
queueProgress.push(segment);
|
|
2505
3075
|
}
|
|
2506
3076
|
};
|
|
@@ -2513,7 +3083,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2513
3083
|
var queue = Math.floor(duration / 10);
|
|
2514
3084
|
var segment = Math.floor(current / queue);
|
|
2515
3085
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2516
|
-
Segment.report_video_event('Video Play', main.
|
|
3086
|
+
Segment.report_video_event('Video Play', main.main_18, duration, current, segment, 'MP4');
|
|
2517
3087
|
if (!playReported) {
|
|
2518
3088
|
event.persist();
|
|
2519
3089
|
setPlayReported(true);
|
|
@@ -2556,7 +3126,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2556
3126
|
var segment = Math.floor(current / queue);
|
|
2557
3127
|
clearInterval(intId);
|
|
2558
3128
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2559
|
-
Segment.report_video_event('Video End', main.
|
|
3129
|
+
Segment.report_video_event('Video End', main.main_18, duration, current, segment, 'MP4');
|
|
2560
3130
|
setEndReported(true);
|
|
2561
3131
|
clearInterval(intervalID);
|
|
2562
3132
|
}
|
|
@@ -2570,7 +3140,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2570
3140
|
var segment = Math.floor(current / queue);
|
|
2571
3141
|
clearInterval(intId);
|
|
2572
3142
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2573
|
-
Segment.report_video_event('Video Pause', main.
|
|
3143
|
+
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2574
3144
|
};
|
|
2575
3145
|
|
|
2576
3146
|
return React__default['default'].createElement(
|
|
@@ -2759,7 +3329,7 @@ var Video = function Video(_ref) {
|
|
|
2759
3329
|
}
|
|
2760
3330
|
|
|
2761
3331
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2762
|
-
Segment.report_video_event('Video Ready', main.
|
|
3332
|
+
Segment.report_video_event('Video Ready', main.main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2763
3333
|
});
|
|
2764
3334
|
// let intId
|
|
2765
3335
|
// const convertTime = (timeStr) => {
|
|
@@ -2794,7 +3364,7 @@ var Video = function Video(_ref) {
|
|
|
2794
3364
|
}, 1000);
|
|
2795
3365
|
}
|
|
2796
3366
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2797
|
-
Segment.report_video_event('Video Play', main.
|
|
3367
|
+
Segment.report_video_event('Video Play', main.main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2798
3368
|
});
|
|
2799
3369
|
|
|
2800
3370
|
// pause
|
|
@@ -2805,7 +3375,7 @@ var Video = function Video(_ref) {
|
|
|
2805
3375
|
var segment = Math.floor(current / queue);
|
|
2806
3376
|
clearInterval(intId);
|
|
2807
3377
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2808
|
-
Segment.report_video_event('Video Pause', main.
|
|
3378
|
+
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2809
3379
|
});
|
|
2810
3380
|
|
|
2811
3381
|
// end
|
|
@@ -2816,7 +3386,7 @@ var Video = function Video(_ref) {
|
|
|
2816
3386
|
var segment = Math.floor(current / queue);
|
|
2817
3387
|
clearInterval(intId);
|
|
2818
3388
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2819
|
-
Segment.report_video_event('Video End', main.
|
|
3389
|
+
Segment.report_video_event('Video End', main.main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2820
3390
|
// This is for old series format
|
|
2821
3391
|
autoplayNextVideo(evt);
|
|
2822
3392
|
if (nextVideo) {
|
|
@@ -2832,7 +3402,7 @@ var Video = function Video(_ref) {
|
|
|
2832
3402
|
var segment = Math.floor(current / queue);
|
|
2833
3403
|
if (!queueProgress.includes(segment)) {
|
|
2834
3404
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2835
|
-
Segment.report_video_event('Video Segment', main.
|
|
3405
|
+
Segment.report_video_event('Video Segment', main.main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2836
3406
|
queueProgress.push(segment);
|
|
2837
3407
|
}
|
|
2838
3408
|
});
|
|
@@ -2844,7 +3414,7 @@ var Video = function Video(_ref) {
|
|
|
2844
3414
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2845
3415
|
|
|
2846
3416
|
// Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2847
|
-
Segment.report_ad_event('Video Ad Started', main.
|
|
3417
|
+
Segment.report_ad_event('Video Ad Started', main.main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2848
3418
|
});
|
|
2849
3419
|
|
|
2850
3420
|
// ad ended
|
|
@@ -2853,7 +3423,7 @@ var Video = function Video(_ref) {
|
|
|
2853
3423
|
// const id = player.ads.ad.id
|
|
2854
3424
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2855
3425
|
// Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2856
|
-
Segment.report_ad_event('Video Ad Ended', main.
|
|
3426
|
+
Segment.report_ad_event('Video Ad Ended', main.main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2857
3427
|
});
|
|
2858
3428
|
};
|
|
2859
3429
|
|
|
@@ -3161,9 +3731,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3161
3731
|
});
|
|
3162
3732
|
|
|
3163
3733
|
_commonjsHelpers.unwrapExports(props);
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3734
|
+
props.DEPRECATED_CONFIG_PROPS;
|
|
3735
|
+
props.defaultProps;
|
|
3736
|
+
props.propTypes;
|
|
3167
3737
|
|
|
3168
3738
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3169
3739
|
return isNonNullObject(value)
|
|
@@ -3598,17 +4168,17 @@ function isMediaStream(url) {
|
|
|
3598
4168
|
});
|
|
3599
4169
|
|
|
3600
4170
|
_commonjsHelpers.unwrapExports(utils);
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
4171
|
+
utils.parseStartTime;
|
|
4172
|
+
utils.parseEndTime;
|
|
4173
|
+
utils.randomString;
|
|
4174
|
+
utils.queryString;
|
|
4175
|
+
utils.getSDK;
|
|
4176
|
+
utils.getConfig;
|
|
4177
|
+
utils.omit;
|
|
4178
|
+
utils.callPlayer;
|
|
4179
|
+
utils.isObject;
|
|
4180
|
+
utils.isEqual;
|
|
4181
|
+
utils.isMediaStream;
|
|
3612
4182
|
|
|
3613
4183
|
var Player_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
3614
4184
|
|
|
@@ -4485,7 +5055,7 @@ exports["default"] = _default;
|
|
|
4485
5055
|
});
|
|
4486
5056
|
|
|
4487
5057
|
_commonjsHelpers.unwrapExports(YouTube_1);
|
|
4488
|
-
|
|
5058
|
+
YouTube_1.YouTube;
|
|
4489
5059
|
|
|
4490
5060
|
var SoundCloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4491
5061
|
|
|
@@ -4702,7 +5272,7 @@ exports["default"] = _default;
|
|
|
4702
5272
|
});
|
|
4703
5273
|
|
|
4704
5274
|
_commonjsHelpers.unwrapExports(SoundCloud_1);
|
|
4705
|
-
|
|
5275
|
+
SoundCloud_1.SoundCloud;
|
|
4706
5276
|
|
|
4707
5277
|
var Vimeo_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4708
5278
|
|
|
@@ -4958,7 +5528,7 @@ exports["default"] = _default;
|
|
|
4958
5528
|
});
|
|
4959
5529
|
|
|
4960
5530
|
_commonjsHelpers.unwrapExports(Vimeo_1);
|
|
4961
|
-
|
|
5531
|
+
Vimeo_1.Vimeo;
|
|
4962
5532
|
|
|
4963
5533
|
var Facebook_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4964
5534
|
|
|
@@ -5170,7 +5740,7 @@ exports["default"] = _default;
|
|
|
5170
5740
|
});
|
|
5171
5741
|
|
|
5172
5742
|
_commonjsHelpers.unwrapExports(Facebook_1);
|
|
5173
|
-
|
|
5743
|
+
Facebook_1.Facebook;
|
|
5174
5744
|
|
|
5175
5745
|
var Streamable_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5176
5746
|
|
|
@@ -5381,7 +5951,7 @@ exports["default"] = _default;
|
|
|
5381
5951
|
});
|
|
5382
5952
|
|
|
5383
5953
|
_commonjsHelpers.unwrapExports(Streamable_1);
|
|
5384
|
-
|
|
5954
|
+
Streamable_1.Streamable;
|
|
5385
5955
|
|
|
5386
5956
|
var Wistia_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5387
5957
|
|
|
@@ -5624,7 +6194,7 @@ exports["default"] = _default;
|
|
|
5624
6194
|
});
|
|
5625
6195
|
|
|
5626
6196
|
_commonjsHelpers.unwrapExports(Wistia_1);
|
|
5627
|
-
|
|
6197
|
+
Wistia_1.Wistia;
|
|
5628
6198
|
|
|
5629
6199
|
var Twitch_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5630
6200
|
|
|
@@ -5840,7 +6410,7 @@ exports["default"] = _default;
|
|
|
5840
6410
|
});
|
|
5841
6411
|
|
|
5842
6412
|
_commonjsHelpers.unwrapExports(Twitch_1);
|
|
5843
|
-
|
|
6413
|
+
Twitch_1.Twitch;
|
|
5844
6414
|
|
|
5845
6415
|
var DailyMotion_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5846
6416
|
|
|
@@ -6076,7 +6646,7 @@ exports["default"] = _default;
|
|
|
6076
6646
|
});
|
|
6077
6647
|
|
|
6078
6648
|
_commonjsHelpers.unwrapExports(DailyMotion_1);
|
|
6079
|
-
|
|
6649
|
+
DailyMotion_1.DailyMotion;
|
|
6080
6650
|
|
|
6081
6651
|
var Mixcloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6082
6652
|
|
|
@@ -6275,7 +6845,7 @@ exports["default"] = _default;
|
|
|
6275
6845
|
});
|
|
6276
6846
|
|
|
6277
6847
|
_commonjsHelpers.unwrapExports(Mixcloud_1);
|
|
6278
|
-
|
|
6848
|
+
Mixcloud_1.Mixcloud;
|
|
6279
6849
|
|
|
6280
6850
|
var FilePlayer_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6281
6851
|
|
|
@@ -6809,7 +7379,7 @@ exports["default"] = _default;
|
|
|
6809
7379
|
});
|
|
6810
7380
|
|
|
6811
7381
|
_commonjsHelpers.unwrapExports(FilePlayer_1);
|
|
6812
|
-
|
|
7382
|
+
FilePlayer_1.FilePlayer;
|
|
6813
7383
|
|
|
6814
7384
|
var players = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6815
7385
|
|
|
@@ -7791,7 +8361,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7791
8361
|
var queue = Math.floor(duration / 10);
|
|
7792
8362
|
var segment = Math.floor(current / queue);
|
|
7793
8363
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
7794
|
-
Segment.report_video_event('Video Ready', main.
|
|
8364
|
+
Segment.report_video_event('Video Ready', main.main_18, duration, current, segment);
|
|
7795
8365
|
//autoplay
|
|
7796
8366
|
|
|
7797
8367
|
//Small pause before starting next video
|
|
@@ -7812,7 +8382,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7812
8382
|
var segment = Math.floor(current / queue);
|
|
7813
8383
|
|
|
7814
8384
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
7815
|
-
Segment.report_video_event('Video End', main.
|
|
8385
|
+
Segment.report_video_event('Video End', main.main_18, duration, current, segment);
|
|
7816
8386
|
setEndReported(true);
|
|
7817
8387
|
clearInterval(intervalID);
|
|
7818
8388
|
}
|
|
@@ -7863,7 +8433,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7863
8433
|
var segment = Math.floor(current / queue);
|
|
7864
8434
|
if (!queueProgress.includes(segment)) {
|
|
7865
8435
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
7866
|
-
Segment.report_video_event('Video Segment', main.
|
|
8436
|
+
Segment.report_video_event('Video Segment', main.main_18, duration, current, segment);
|
|
7867
8437
|
queueProgress.push(segment);
|
|
7868
8438
|
}
|
|
7869
8439
|
};
|
|
@@ -7877,7 +8447,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7877
8447
|
var segment = Math.floor(current / queue);
|
|
7878
8448
|
|
|
7879
8449
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
7880
|
-
Segment.report_video_event('Video Play', main.
|
|
8450
|
+
Segment.report_video_event('Video Play', main.main_18, duration, current, segment);
|
|
7881
8451
|
|
|
7882
8452
|
if (!playReported) {
|
|
7883
8453
|
setPlayReported(true);
|
|
@@ -7896,7 +8466,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7896
8466
|
var segment = Math.floor(current / queue);
|
|
7897
8467
|
|
|
7898
8468
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
7899
|
-
Segment.report_video_event('Video Pause', main.
|
|
8469
|
+
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
7900
8470
|
};
|
|
7901
8471
|
|
|
7902
8472
|
// Youtube Options
|
|
@@ -8024,14 +8594,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8024
8594
|
);
|
|
8025
8595
|
};
|
|
8026
8596
|
|
|
8027
|
-
var Poll = function Poll(_ref) {
|
|
8028
|
-
var node = _ref.node
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
onVote = _ref.onVote
|
|
8033
|
-
_ref
|
|
8034
|
-
getSerializers = _ref.getSerializers;
|
|
8597
|
+
var Poll$1 = function Poll(_ref) {
|
|
8598
|
+
var node = _ref.node;
|
|
8599
|
+
_ref.client;
|
|
8600
|
+
_ref.pageview;
|
|
8601
|
+
_ref.videoAccountIDs;
|
|
8602
|
+
var onVote = _ref.onVote;
|
|
8603
|
+
_ref.showVotes;
|
|
8604
|
+
var getSerializers = _ref.getSerializers;
|
|
8035
8605
|
|
|
8036
8606
|
var _useState = React.useState(null),
|
|
8037
8607
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -8165,22 +8735,22 @@ core_getIteratorMethod._export(core_getIteratorMethod._export.S, 'Object', {
|
|
|
8165
8735
|
}
|
|
8166
8736
|
});
|
|
8167
8737
|
|
|
8168
|
-
var values = core_getIteratorMethod._core.Object.values;
|
|
8738
|
+
var values$1 = core_getIteratorMethod._core.Object.values;
|
|
8169
8739
|
|
|
8170
|
-
var values
|
|
8171
|
-
module.exports = { "default": values, __esModule: true };
|
|
8740
|
+
var values = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
8741
|
+
module.exports = { "default": values$1, __esModule: true };
|
|
8172
8742
|
});
|
|
8173
8743
|
|
|
8174
|
-
var _Object$values = _commonjsHelpers.unwrapExports(values
|
|
8744
|
+
var _Object$values = _commonjsHelpers.unwrapExports(values);
|
|
8175
8745
|
|
|
8176
|
-
var Poll
|
|
8177
|
-
var node = _ref.node
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
onVote = _ref.onVote
|
|
8182
|
-
_ref
|
|
8183
|
-
getSerializers = _ref.getSerializers;
|
|
8746
|
+
var Poll = function Poll(_ref) {
|
|
8747
|
+
var node = _ref.node;
|
|
8748
|
+
_ref.client;
|
|
8749
|
+
_ref.pageview;
|
|
8750
|
+
_ref.videoAccountIDs;
|
|
8751
|
+
var onVote = _ref.onVote;
|
|
8752
|
+
_ref.showVotes;
|
|
8753
|
+
var getSerializers = _ref.getSerializers;
|
|
8184
8754
|
|
|
8185
8755
|
var _useState = React.useState(null),
|
|
8186
8756
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -8332,7 +8902,7 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8332
8902
|
);
|
|
8333
8903
|
};
|
|
8334
8904
|
|
|
8335
|
-
var numberOfPaginations = main.
|
|
8905
|
+
var numberOfPaginations = main.main_42 ? 4 : 10;
|
|
8336
8906
|
|
|
8337
8907
|
var Quiz = function Quiz(_ref) {
|
|
8338
8908
|
var quizzes = _ref.quizzes,
|
|
@@ -8470,7 +9040,7 @@ var Quiz = function Quiz(_ref) {
|
|
|
8470
9040
|
var renderPagination = function renderPagination() {
|
|
8471
9041
|
return React__default['default'].createElement(
|
|
8472
9042
|
Pagination__default['default'],
|
|
8473
|
-
{ className: 'p-0 m-0', size: main.
|
|
9043
|
+
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8474
9044
|
React__default['default'].createElement(Pagination__default['default'].First, { onClick: function onClick() {
|
|
8475
9045
|
return changePage('first');
|
|
8476
9046
|
}, disabled: currentPage === 1 }),
|
|
@@ -8672,7 +9242,7 @@ var Leads = function Leads(_ref) {
|
|
|
8672
9242
|
);
|
|
8673
9243
|
};
|
|
8674
9244
|
|
|
8675
|
-
var Slideshow
|
|
9245
|
+
var Slideshow = function Slideshow(_ref) {
|
|
8676
9246
|
var slides = _ref.node.slides,
|
|
8677
9247
|
client = _ref.client,
|
|
8678
9248
|
pageview = _ref.pageview,
|
|
@@ -8859,12 +9429,12 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8859
9429
|
};
|
|
8860
9430
|
|
|
8861
9431
|
var InscreenSensor = function (_React$Component) {
|
|
8862
|
-
inherits._inherits(InscreenSensor, _React$Component);
|
|
9432
|
+
inherits$2._inherits(InscreenSensor, _React$Component);
|
|
8863
9433
|
|
|
8864
9434
|
function InscreenSensor(props) {
|
|
8865
|
-
inherits._classCallCheck(this, InscreenSensor);
|
|
9435
|
+
inherits$2._classCallCheck(this, InscreenSensor);
|
|
8866
9436
|
|
|
8867
|
-
var _this = inherits._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits._Object$getPrototypeOf(InscreenSensor)).call(this, props));
|
|
9437
|
+
var _this = inherits$2._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits$2._Object$getPrototypeOf(InscreenSensor)).call(this, props));
|
|
8868
9438
|
|
|
8869
9439
|
_this.scrollHandler = function () {
|
|
8870
9440
|
var visible = _this.checkInside();
|
|
@@ -8900,7 +9470,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8900
9470
|
return _this;
|
|
8901
9471
|
}
|
|
8902
9472
|
|
|
8903
|
-
inherits._createClass(InscreenSensor, [{
|
|
9473
|
+
inherits$2._createClass(InscreenSensor, [{
|
|
8904
9474
|
key: 'componentDidMount',
|
|
8905
9475
|
value: function componentDidMount() {
|
|
8906
9476
|
this.visible = this.checkInside();
|
|
@@ -8939,9 +9509,9 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8939
9509
|
client = _ref.client,
|
|
8940
9510
|
pageview = _ref.pageview,
|
|
8941
9511
|
getSerializers = _ref.getSerializers,
|
|
8942
|
-
accountIDs = _ref.accountIDs
|
|
8943
|
-
|
|
8944
|
-
rootArticle = _ref.rootArticle;
|
|
9512
|
+
accountIDs = _ref.accountIDs;
|
|
9513
|
+
_ref.Ads;
|
|
9514
|
+
var rootArticle = _ref.rootArticle;
|
|
8945
9515
|
|
|
8946
9516
|
if (!nodes || !nodes.articles) {
|
|
8947
9517
|
return null;
|
|
@@ -8955,7 +9525,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8955
9525
|
var router = Router.useRouter();
|
|
8956
9526
|
|
|
8957
9527
|
var refArray = React.useRef([]);
|
|
8958
|
-
|
|
9528
|
+
React.useRef([]);
|
|
8959
9529
|
var articleContainerRef = React.useRef(null);
|
|
8960
9530
|
var arrowRef = React.useRef(null);
|
|
8961
9531
|
|
|
@@ -9204,7 +9774,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9204
9774
|
//console.log('useLayoutEffect')
|
|
9205
9775
|
if (!firstLoad) {
|
|
9206
9776
|
setUpArrowClicked(false);
|
|
9207
|
-
if (main.
|
|
9777
|
+
if (main.main_43) {
|
|
9208
9778
|
grabLoadedAds();
|
|
9209
9779
|
} else {
|
|
9210
9780
|
scrollToArticle();
|
|
@@ -9228,7 +9798,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9228
9798
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
9229
9799
|
if (pageview) pageview(path);
|
|
9230
9800
|
|
|
9231
|
-
if (!main.
|
|
9801
|
+
if (!main.main_43) {
|
|
9232
9802
|
index.lib_3.getGoogletag().then(function (googletag) {
|
|
9233
9803
|
if (window.googletag && googletag.pubadsReady) {
|
|
9234
9804
|
index.lib_3.refresh();
|
|
@@ -9236,7 +9806,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9236
9806
|
});
|
|
9237
9807
|
}
|
|
9238
9808
|
//Refresh leaderboard ad on mobile
|
|
9239
|
-
if (main.
|
|
9809
|
+
if (main.main_43) {
|
|
9240
9810
|
var leaderboardSlotId = '';
|
|
9241
9811
|
index.lib_3.getGoogletag().then(function (googletag) {
|
|
9242
9812
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -9450,7 +10020,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9450
10020
|
}
|
|
9451
10021
|
};
|
|
9452
10022
|
|
|
9453
|
-
var FigureImage = React__default['default'].memo(function (_ref2) {
|
|
10023
|
+
var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
9454
10024
|
var node = _ref2.node,
|
|
9455
10025
|
client = _ref2.client,
|
|
9456
10026
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9546,20 +10116,20 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9546
10116
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9547
10117
|
|
|
9548
10118
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9549
|
-
var triggerAction = main.
|
|
9550
|
-
var placementLocation = main.
|
|
10119
|
+
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
10120
|
+
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9551
10121
|
return React__default['default'].createElement(
|
|
9552
10122
|
'picture',
|
|
9553
10123
|
null,
|
|
9554
10124
|
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9555
10125
|
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9556
10126
|
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9557
|
-
main.
|
|
10127
|
+
main.main_42 && link ? React__default['default'].createElement('img', _extends._extends({
|
|
9558
10128
|
style: figureImageStyle,
|
|
9559
10129
|
className: 'figure-image',
|
|
9560
10130
|
src: urlFor({ source: node, client: client }),
|
|
9561
10131
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9562
|
-
}, !link && !main.
|
|
10132
|
+
}, !link && !main.main_42 && {
|
|
9563
10133
|
onClick: function onClick() {
|
|
9564
10134
|
return handleClickFigure(node, client);
|
|
9565
10135
|
}
|
|
@@ -9571,7 +10141,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9571
10141
|
className: 'figure-image',
|
|
9572
10142
|
src: urlFor({ source: node, client: client }),
|
|
9573
10143
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9574
|
-
}, !link && !main.
|
|
10144
|
+
}, !link && !main.main_42 && {
|
|
9575
10145
|
onClick: function onClick() {
|
|
9576
10146
|
return handleClickFigure(node, client);
|
|
9577
10147
|
}
|
|
@@ -9674,12 +10244,12 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9674
10244
|
link ? React__default['default'].createElement(
|
|
9675
10245
|
'a',
|
|
9676
10246
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9677
|
-
React__default['default'].createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
|
|
10247
|
+
React__default['default'].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9678
10248
|
React__default['default'].createElement(FigureCaption, null)
|
|
9679
10249
|
) : React__default['default'].createElement(
|
|
9680
10250
|
React__default['default'].Fragment,
|
|
9681
10251
|
null,
|
|
9682
|
-
React__default['default'].createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
10252
|
+
React__default['default'].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9683
10253
|
React__default['default'].createElement(FigureCaption, null)
|
|
9684
10254
|
),
|
|
9685
10255
|
React__default['default'].createElement(LightBox, {
|
|
@@ -9716,7 +10286,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9716
10286
|
}, [ref]);
|
|
9717
10287
|
}
|
|
9718
10288
|
|
|
9719
|
-
var FigureImage
|
|
10289
|
+
var FigureImage = React__default['default'].memo(function (_ref) {
|
|
9720
10290
|
var imagesCount = _ref.imagesCount,
|
|
9721
10291
|
image = _ref.image,
|
|
9722
10292
|
client = _ref.client,
|
|
@@ -9790,20 +10360,20 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9790
10360
|
link = _ref3.link,
|
|
9791
10361
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9792
10362
|
|
|
9793
|
-
var triggerAction = main.
|
|
9794
|
-
var placementLocation = main.
|
|
10363
|
+
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
10364
|
+
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9795
10365
|
return React__default['default'].createElement(
|
|
9796
10366
|
'picture',
|
|
9797
10367
|
null,
|
|
9798
10368
|
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9799
10369
|
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9800
10370
|
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9801
|
-
main.
|
|
10371
|
+
main.main_42 && link ? React__default['default'].createElement('img', _extends._extends({
|
|
9802
10372
|
'images-count': imagesCount,
|
|
9803
10373
|
className: 'multi-figure-image',
|
|
9804
10374
|
src: urlFor({ source: image, client: client }),
|
|
9805
10375
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9806
|
-
}, !link && !main.
|
|
10376
|
+
}, !link && !main.main_42 && {
|
|
9807
10377
|
onClick: function onClick() {
|
|
9808
10378
|
return handleClickFigure(image, client);
|
|
9809
10379
|
}
|
|
@@ -9815,7 +10385,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9815
10385
|
className: 'multi-figure-image',
|
|
9816
10386
|
src: urlFor({ source: image, client: client }),
|
|
9817
10387
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9818
|
-
}, !link && !main.
|
|
10388
|
+
}, !link && !main.main_42 && {
|
|
9819
10389
|
onClick: function onClick() {
|
|
9820
10390
|
return handleClickFigure(image, client);
|
|
9821
10391
|
}
|
|
@@ -9898,7 +10468,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9898
10468
|
React__default['default'].createElement(
|
|
9899
10469
|
index$2.LazyLoad,
|
|
9900
10470
|
{ once: true },
|
|
9901
|
-
React__default['default'].createElement(FigureImage
|
|
10471
|
+
React__default['default'].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9902
10472
|
),
|
|
9903
10473
|
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9904
10474
|
)
|
|
@@ -9908,7 +10478,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9908
10478
|
React__default['default'].createElement(
|
|
9909
10479
|
index$2.LazyLoad,
|
|
9910
10480
|
{ once: true },
|
|
9911
|
-
React__default['default'].createElement(FigureImage
|
|
10481
|
+
React__default['default'].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9912
10482
|
),
|
|
9913
10483
|
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9914
10484
|
)
|
|
@@ -9995,6 +10565,258 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9995
10565
|
);
|
|
9996
10566
|
};
|
|
9997
10567
|
|
|
10568
|
+
var objectWithoutProperties = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
10569
|
+
|
|
10570
|
+
exports.__esModule = true;
|
|
10571
|
+
|
|
10572
|
+
exports.default = function (obj, keys) {
|
|
10573
|
+
var target = {};
|
|
10574
|
+
|
|
10575
|
+
for (var i in obj) {
|
|
10576
|
+
if (keys.indexOf(i) >= 0) continue;
|
|
10577
|
+
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
10578
|
+
target[i] = obj[i];
|
|
10579
|
+
}
|
|
10580
|
+
|
|
10581
|
+
return target;
|
|
10582
|
+
};
|
|
10583
|
+
});
|
|
10584
|
+
|
|
10585
|
+
_commonjsHelpers.unwrapExports(objectWithoutProperties);
|
|
10586
|
+
|
|
10587
|
+
var ScriptTag_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
10588
|
+
|
|
10589
|
+
exports.__esModule = true;
|
|
10590
|
+
|
|
10591
|
+
|
|
10592
|
+
|
|
10593
|
+
var _extends3 = _interopRequireDefault(_extends._extends$1);
|
|
10594
|
+
|
|
10595
|
+
|
|
10596
|
+
|
|
10597
|
+
var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
10598
|
+
|
|
10599
|
+
|
|
10600
|
+
|
|
10601
|
+
var _classCallCheck3 = _interopRequireDefault(inherits$2.classCallCheck);
|
|
10602
|
+
|
|
10603
|
+
|
|
10604
|
+
|
|
10605
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(inherits$2.possibleConstructorReturn);
|
|
10606
|
+
|
|
10607
|
+
|
|
10608
|
+
|
|
10609
|
+
var _inherits3 = _interopRequireDefault(inherits$2.inherits);
|
|
10610
|
+
|
|
10611
|
+
|
|
10612
|
+
|
|
10613
|
+
var _react2 = _interopRequireDefault(React__default['default']);
|
|
10614
|
+
|
|
10615
|
+
|
|
10616
|
+
|
|
10617
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default['default']);
|
|
10618
|
+
|
|
10619
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10620
|
+
var noop = function noop() {};
|
|
10621
|
+
|
|
10622
|
+
var ScriptTag = function (_Component) {
|
|
10623
|
+
(0, _inherits3.default)(ScriptTag, _Component);
|
|
10624
|
+
|
|
10625
|
+
ScriptTag.removeNode = function removeNode(node) {
|
|
10626
|
+
if (node) {
|
|
10627
|
+
node.parentNode.removeChild(node);
|
|
10628
|
+
}
|
|
10629
|
+
};
|
|
10630
|
+
|
|
10631
|
+
function ScriptTag(props, context) {
|
|
10632
|
+
(0, _classCallCheck3.default)(this, ScriptTag);
|
|
10633
|
+
|
|
10634
|
+
var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
|
|
10635
|
+
|
|
10636
|
+
_this.domRef = null;
|
|
10637
|
+
_this.state = {
|
|
10638
|
+
isHydrated: props.isHydrating,
|
|
10639
|
+
additionalNode: null,
|
|
10640
|
+
removeAdditionalNode: null
|
|
10641
|
+
};
|
|
10642
|
+
return _this;
|
|
10643
|
+
}
|
|
10644
|
+
|
|
10645
|
+
ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
|
|
10646
|
+
var _props = this.props,
|
|
10647
|
+
onError = _props.onError,
|
|
10648
|
+
onLoad = _props.onLoad,
|
|
10649
|
+
nonce = _props.nonce;
|
|
10650
|
+
|
|
10651
|
+
// Create a new HTML script element
|
|
10652
|
+
|
|
10653
|
+
var newElement = document.createElement("script");
|
|
10654
|
+
|
|
10655
|
+
// Copy all attribute values
|
|
10656
|
+
for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
|
|
10657
|
+
var attr = this.domRef.attributes[i];
|
|
10658
|
+
if (attr.nodeName === 'nonce') {
|
|
10659
|
+
// The browser clears the nonce value - grab from props
|
|
10660
|
+
newElement.setAttribute(attr.nodeName, nonce);
|
|
10661
|
+
} else {
|
|
10662
|
+
newElement.setAttribute(attr.nodeName, attr.nodeValue);
|
|
10663
|
+
}
|
|
10664
|
+
}
|
|
10665
|
+
|
|
10666
|
+
// Copy the inner script
|
|
10667
|
+
if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
|
|
10668
|
+
newElement.innerHTML = this.domRef.innerHTML;
|
|
10669
|
+
}
|
|
10670
|
+
|
|
10671
|
+
// Bind event listeners
|
|
10672
|
+
newElement.addEventListener('load', onLoad);
|
|
10673
|
+
newElement.addEventListener('error', onError);
|
|
10674
|
+
|
|
10675
|
+
// Append the new script tag
|
|
10676
|
+
this.domRef.parentNode.appendChild(newElement);
|
|
10677
|
+
return newElement;
|
|
10678
|
+
};
|
|
10679
|
+
|
|
10680
|
+
ScriptTag.prototype.componentDidMount = function componentDidMount() {
|
|
10681
|
+
var isHydrated = this.state.isHydrated;
|
|
10682
|
+
|
|
10683
|
+
if (isHydrated) {
|
|
10684
|
+
// was rendered on server, don't replace elements when hydrating
|
|
10685
|
+
return;
|
|
10686
|
+
}
|
|
10687
|
+
|
|
10688
|
+
this.setState({
|
|
10689
|
+
additionalNode: this.appendAdditionalElement(),
|
|
10690
|
+
removeAdditionalNode: null
|
|
10691
|
+
});
|
|
10692
|
+
};
|
|
10693
|
+
|
|
10694
|
+
ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
|
10695
|
+
// This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
|
|
10696
|
+
// - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
|
|
10697
|
+
|
|
10698
|
+
// This isn't perfect - but it keeps the component very simple, and should cover most use-cases
|
|
10699
|
+
// Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
|
|
10700
|
+
// -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
|
|
10701
|
+
// and state management will need to be modified to manipulate the DOM script tag based on each prop change.
|
|
10702
|
+
// This really complicates the component - for now we'll leave it as is.
|
|
10703
|
+
var _props2 = this.props,
|
|
10704
|
+
src = _props2.src,
|
|
10705
|
+
dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
|
|
10706
|
+
|
|
10707
|
+
if (src && src === nextProps.src) {
|
|
10708
|
+
// The 'src' attribute has not changed
|
|
10709
|
+
return;
|
|
10710
|
+
}
|
|
10711
|
+
|
|
10712
|
+
if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
|
|
10713
|
+
// The 'dangerouslySetInnerHTML' attribute has not changed
|
|
10714
|
+
return;
|
|
10715
|
+
}
|
|
10716
|
+
|
|
10717
|
+
this.setState({
|
|
10718
|
+
removeAdditionalNode: this.state.additionalNode,
|
|
10719
|
+
additionalNode: null
|
|
10720
|
+
});
|
|
10721
|
+
};
|
|
10722
|
+
|
|
10723
|
+
ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
|
|
10724
|
+
ScriptTag.removeNode(nextState.removeAdditionalNode);
|
|
10725
|
+
};
|
|
10726
|
+
|
|
10727
|
+
ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
|
|
10728
|
+
var _state = this.state,
|
|
10729
|
+
additionalNode = _state.additionalNode,
|
|
10730
|
+
removeAdditionalNode = _state.removeAdditionalNode;
|
|
10731
|
+
|
|
10732
|
+
if (additionalNode === null) {
|
|
10733
|
+
this.setState({
|
|
10734
|
+
additionalNode: this.appendAdditionalElement()
|
|
10735
|
+
});
|
|
10736
|
+
}
|
|
10737
|
+
|
|
10738
|
+
if (removeAdditionalNode !== null) {
|
|
10739
|
+
// Was removed in 'componentWillUpdate', but can not update state there
|
|
10740
|
+
this.setState({
|
|
10741
|
+
removeAdditionalNode: null
|
|
10742
|
+
});
|
|
10743
|
+
}
|
|
10744
|
+
};
|
|
10745
|
+
|
|
10746
|
+
ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
|
|
10747
|
+
ScriptTag.removeNode(this.state.removeAdditionalNode);
|
|
10748
|
+
ScriptTag.removeNode(this.state.additionalNode);
|
|
10749
|
+
};
|
|
10750
|
+
|
|
10751
|
+
ScriptTag.prototype.render = function render() {
|
|
10752
|
+
var _this2 = this;
|
|
10753
|
+
|
|
10754
|
+
var additionalNode = this.state.additionalNode;
|
|
10755
|
+
|
|
10756
|
+
if (additionalNode !== null) {
|
|
10757
|
+
return null;
|
|
10758
|
+
}
|
|
10759
|
+
|
|
10760
|
+
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10761
|
+
// eslint-disable-next-line no-unused-vars
|
|
10762
|
+
var _props3 = this.props;
|
|
10763
|
+
_props3.isHydrating;
|
|
10764
|
+
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10765
|
+
|
|
10766
|
+
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10767
|
+
return _this2.domRef = tag;
|
|
10768
|
+
} }));
|
|
10769
|
+
};
|
|
10770
|
+
|
|
10771
|
+
return ScriptTag;
|
|
10772
|
+
}(React__default['default'].Component);
|
|
10773
|
+
|
|
10774
|
+
ScriptTag.propTypes = {
|
|
10775
|
+
/**
|
|
10776
|
+
* True if the <ScriptTag> is being hydrated on the client, otherwise false.
|
|
10777
|
+
*/
|
|
10778
|
+
isHydrating: _propTypes2.default.bool,
|
|
10779
|
+
|
|
10780
|
+
// Standard <script> tag props
|
|
10781
|
+
async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
|
|
10782
|
+
crossOrigin: _propTypes2.default.string,
|
|
10783
|
+
defer: _propTypes2.default.bool,
|
|
10784
|
+
integrity: _propTypes2.default.string,
|
|
10785
|
+
nonce: _propTypes2.default.string,
|
|
10786
|
+
src: _propTypes2.default.string,
|
|
10787
|
+
text: _propTypes2.default.string,
|
|
10788
|
+
type: _propTypes2.default.string,
|
|
10789
|
+
dangerouslySetInnerHTML: _propTypes2.default.object,
|
|
10790
|
+
|
|
10791
|
+
// globals
|
|
10792
|
+
onError: _propTypes2.default.func,
|
|
10793
|
+
onLoad: _propTypes2.default.func
|
|
10794
|
+
};
|
|
10795
|
+
ScriptTag.defaultProps = {
|
|
10796
|
+
isHydrating: false,
|
|
10797
|
+
onError: noop,
|
|
10798
|
+
onLoad: noop
|
|
10799
|
+
};
|
|
10800
|
+
exports.default = ScriptTag;
|
|
10801
|
+
});
|
|
10802
|
+
|
|
10803
|
+
_commonjsHelpers.unwrapExports(ScriptTag_1);
|
|
10804
|
+
|
|
10805
|
+
var lib = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
10806
|
+
|
|
10807
|
+
exports.__esModule = true;
|
|
10808
|
+
|
|
10809
|
+
|
|
10810
|
+
|
|
10811
|
+
var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
|
|
10812
|
+
|
|
10813
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10814
|
+
|
|
10815
|
+
exports.default = _ScriptTag2.default;
|
|
10816
|
+
});
|
|
10817
|
+
|
|
10818
|
+
var ScriptTag = _commonjsHelpers.unwrapExports(lib);
|
|
10819
|
+
|
|
9998
10820
|
var enterpriseDomainName = 'mjhlifesciences';
|
|
9999
10821
|
|
|
10000
10822
|
var FormAssembly = function FormAssembly(props) {
|
|
@@ -10043,7 +10865,7 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10043
10865
|
'section',
|
|
10044
10866
|
{ className: 'form-assembly' },
|
|
10045
10867
|
iframeSrc && React__default['default'].createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10046
|
-
React__default['default'].createElement(
|
|
10868
|
+
React__default['default'].createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10047
10869
|
);
|
|
10048
10870
|
}
|
|
10049
10871
|
|
|
@@ -10110,8 +10932,8 @@ var BlockTable = function BlockTable(props) {
|
|
|
10110
10932
|
|
|
10111
10933
|
var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
10112
10934
|
var _props$node = props.node,
|
|
10113
|
-
FormID = _props$node.FormID
|
|
10114
|
-
_props$node
|
|
10935
|
+
FormID = _props$node.FormID;
|
|
10936
|
+
_props$node.needSegmentSupport;
|
|
10115
10937
|
|
|
10116
10938
|
|
|
10117
10939
|
return React__default['default'].createElement('div', { id: FormID });
|
|
@@ -10305,7 +11127,7 @@ var getSerializers = function getSerializers() {
|
|
|
10305
11127
|
var node = _ref6.node;
|
|
10306
11128
|
var slides = node.slides;
|
|
10307
11129
|
|
|
10308
|
-
return React__default['default'].createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
11130
|
+
return React__default['default'].createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10309
11131
|
},
|
|
10310
11132
|
sidebar: function sidebar(_ref7) {
|
|
10311
11133
|
var node = _ref7.node;
|
|
@@ -10343,12 +11165,12 @@ var getSerializers = function getSerializers() {
|
|
|
10343
11165
|
poll: function poll(_ref13) {
|
|
10344
11166
|
var node = _ref13.node;
|
|
10345
11167
|
|
|
10346
|
-
return React__default['default'].createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
11168
|
+
return React__default['default'].createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10347
11169
|
},
|
|
10348
11170
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10349
11171
|
var node = _ref14.node;
|
|
10350
11172
|
|
|
10351
|
-
return React__default['default'].createElement(Poll
|
|
11173
|
+
return React__default['default'].createElement(Poll, {
|
|
10352
11174
|
node: node,
|
|
10353
11175
|
client: client,
|
|
10354
11176
|
pageview: pageview,
|
|
@@ -10374,7 +11196,7 @@ var getSerializers = function getSerializers() {
|
|
|
10374
11196
|
slideshows: function slideshows(_ref17) {
|
|
10375
11197
|
var node = _ref17.node;
|
|
10376
11198
|
|
|
10377
|
-
return React__default['default'].createElement(Slideshow
|
|
11199
|
+
return React__default['default'].createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10378
11200
|
},
|
|
10379
11201
|
nativeAd: function nativeAd(_ref18) {
|
|
10380
11202
|
var node = _ref18.node;
|