@mjhls/mjh-framework 1.0.852 → 1.0.854-adblocker-fix-v1
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 +10 -9
- package/dist/cjs/AD300x250.js +21 -20
- package/dist/cjs/AD300x250x600.js +21 -20
- package/dist/cjs/AD728x90.js +22 -21
- package/dist/cjs/ADFloatingFooter.js +23 -22
- package/dist/cjs/ADFooter.js +14 -13
- package/dist/cjs/ADGutter.js +23 -22
- package/dist/cjs/{ADInfeed-5f236872.js → ADInfeed-25d48cc2.js} +12 -10
- package/dist/cjs/ADSkyscraper.js +23 -22
- package/dist/cjs/ADSponsoredResources.js +23 -22
- package/dist/cjs/ADWebcast.js +23 -22
- package/dist/cjs/ADWelcome.js +37 -27
- package/dist/cjs/{ADlgInfeed-7b915591.js → ADlgInfeed-a535a768.js} +8 -7
- package/dist/cjs/AccordionPanel.js +28 -26
- package/dist/cjs/AdSlot.js +27 -26
- package/dist/cjs/AdSlotsProvider.js +20 -18
- package/dist/cjs/AlgoliaSearch.js +637 -650
- package/dist/cjs/AlphabeticList.js +24 -23
- package/dist/cjs/ArticleCarousel.js +18 -17
- package/dist/cjs/ArticleProgramLandingPage.js +37 -36
- package/dist/cjs/ArticleSeriesLandingPage.js +34 -33
- package/dist/cjs/ArticleSeriesListing.js +49 -48
- package/dist/cjs/Auth.js +294 -426
- package/dist/cjs/AuthWrapper.js +256 -216
- package/dist/cjs/{AuthorComponent-0c464248.js → AuthorComponent-ac8972ce.js} +14 -13
- package/dist/cjs/Beam.js +7 -7
- package/dist/cjs/{BlockContent-bac780ac.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +28 -26
- package/dist/cjs/CMEDeck.js +75 -75
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +30 -27
- package/dist/cjs/Column3.js +48 -45
- package/dist/cjs/ConferenceArticleCard.js +31 -30
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +98 -94
- package/dist/cjs/DeckQueue.js +83 -79
- package/dist/cjs/{Dfp-ac0c1cc6.js → Dfp-391fd124.js} +29 -28
- package/dist/cjs/EventsDeck.js +150 -143
- package/dist/cjs/ExternalResources.js +61 -60
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +39 -38
- package/dist/cjs/GridContent.js +222 -217
- package/dist/cjs/GridHero.js +40 -39
- package/dist/cjs/GroupDeck.js +55 -54
- package/dist/cjs/HamMagazine.js +137 -132
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +10 -9
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +51 -50
- package/dist/cjs/HorizontalHero.js +23 -22
- package/dist/cjs/IssueContentDeck.js +74 -69
- package/dist/cjs/IssueDeck.js +73 -68
- package/dist/cjs/IssueLanding.js +70 -69
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +33 -31
- package/dist/cjs/MasterDeck.js +72 -71
- package/dist/cjs/MediaSeriesLanding.js +853 -905
- package/dist/cjs/NavDvm.js +75 -70
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +138 -133
- package/dist/cjs/NavNative.js +133 -125
- package/dist/cjs/OncliveHero.js +16 -15
- package/dist/cjs/OncliveLargeHero.js +68 -67
- package/dist/cjs/PageFilter.js +14 -13
- package/dist/cjs/PartnerDetailListing.js +83 -82
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +20 -18
- package/dist/cjs/PubSection.js +31 -30
- package/dist/cjs/PubToc.js +15 -14
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +123 -119
- package/dist/cjs/QueueDeckExpanded.js +296 -296
- package/dist/cjs/RecentNews.js +20 -19
- package/dist/cjs/RelatedContent.js +48 -47
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +21 -17
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +31 -31
- package/dist/cjs/{SeriesSlider-dad08884.js → SeriesSlider-0d3bf265.js} +39 -38
- package/dist/cjs/SideFooter.js +33 -32
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-ad15dd61.js → SocialSearchComponent-19548e2a.js} +39 -35
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +61 -56
- package/dist/cjs/TaxonomyDescription.js +36 -35
- package/dist/cjs/TemplateNormal.js +46 -45
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +29 -28
- package/dist/cjs/VerticalHero.js +15 -14
- package/dist/cjs/VideoProgramLandingPage.js +57 -53
- package/dist/cjs/VideoSeriesCard.js +28 -27
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +40 -39
- package/dist/cjs/VideoSeriesListing.js +66 -65
- package/dist/cjs/View.js +211 -207
- package/dist/cjs/YahooHero.js +35 -34
- package/dist/cjs/YoutubeGroup.js +61 -60
- package/dist/cjs/{_is-array-39ff55dd.js → _is-array-754e012d.js} +1 -1
- package/dist/cjs/{_iter-detect-ef35661e.js → _iter-detect-60b2f026.js} +2 -2
- package/dist/cjs/{_object-sap-b231f928.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-c3aeb51d.js → _object-to-array-5762f850.js} +1 -1
- package/dist/cjs/{_to-object-7a3ce269.js → _to-object-329a650b.js} +2 -2
- package/dist/cjs/{asyncToGenerator-8ae2191c.js → asyncToGenerator-140e5f89.js} +5 -5
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-5c98aec7.js} +6 -5
- package/dist/cjs/{core.get-iterator-method-6cd7682d.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-6191c8ee.js → debounce-529c8d06.js} +1 -1
- package/dist/cjs/{define-property-fc002cec.js → define-property-f4d12f4e.js} +1 -1
- package/dist/cjs/{defineProperty-03c4c82e.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{es6.string.iterator-ab94a594.js → es6.string.iterator-cc0bbaa4.js} +1 -1
- package/dist/cjs/{extends-acc1318d.js → extends-0a918631.js} +1 -1
- package/dist/cjs/faundadb.js +6 -6
- package/dist/cjs/getRelatedArticle.js +73 -137
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +25 -25
- package/dist/cjs/{getTargeting-608e1fd1.js → getTargeting-a9a871f0.js} +11 -11
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-a7a90204.js → index-00a7ead6.js} +570 -541
- package/dist/cjs/{index-98e01cb9.js → index-2cf30c83.js} +9 -8
- package/dist/cjs/{index-79eed652.js → index-6367b7bf.js} +29 -29
- package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
- package/dist/cjs/{index-ff69979f.js → index-b5eb3ff8.js} +3 -8
- package/dist/cjs/{index-53e27416.js → index-e2e62963.js} +9 -25
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-bf016399.js → index.esm-3ffa049c.js} +18 -17
- package/dist/cjs/index.js +74 -71
- package/dist/cjs/{inherits-bfdb22af.js → inherits-0c7830c5.js} +8 -8
- package/dist/cjs/{keys-62e097ca.js → keys-a586b7a0.js} +2 -2
- package/dist/cjs/{lodash-b5e0d5f6.js → lodash-7fd85bcf.js} +9 -57
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/{slicedToArray-41819145.js → slicedToArray-8f385299.js} +4 -4
- package/dist/cjs/{stringify-7ccc8524.js → stringify-7c5aff47.js} +1 -1
- package/dist/cjs/{toConsumableArray-4fdb72e2.js → toConsumableArray-9a3476fe.js} +4 -4
- package/dist/cjs/{toNumber-f2f8744b.js → toNumber-36d1e7e5.js} +4 -39
- package/dist/cjs/{typeof-e83d4a26.js → typeof-9d7f610f.js} +5 -5
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-c30d203c.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-68e3aaf2.js → web.dom.iterable-a0e279c1.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +18 -18
- package/dist/esm/AD300x250x600.js +18 -18
- package/dist/esm/AD728x90.js +19 -19
- package/dist/esm/ADFloatingFooter.js +20 -20
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +20 -20
- package/dist/esm/{ADInfeed-dec9975c.js → ADInfeed-56a3db8b.js} +8 -8
- package/dist/esm/ADSkyscraper.js +20 -20
- package/dist/esm/ADSponsoredResources.js +20 -20
- package/dist/esm/ADWebcast.js +20 -20
- package/dist/esm/ADWelcome.js +34 -25
- package/dist/esm/{ADlgInfeed-1ea41fb6.js → ADlgInfeed-53edb995.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -21
- package/dist/esm/AdSlot.js +18 -18
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlgoliaSearch.js +266 -280
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +15 -15
- package/dist/esm/ArticleProgramLandingPage.js +34 -34
- package/dist/esm/ArticleSeriesLandingPage.js +31 -31
- package/dist/esm/ArticleSeriesListing.js +45 -45
- package/dist/esm/Auth.js +275 -411
- package/dist/esm/AuthWrapper.js +253 -214
- package/dist/esm/{AuthorComponent-5cab1f6b.js → AuthorComponent-8ffd4679.js} +11 -11
- package/dist/esm/Beam.js +7 -7
- package/dist/esm/{BlockContent-ea93e8f7.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +16 -16
- package/dist/esm/CMEDeck.js +72 -72
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +43 -43
- package/dist/esm/ConferenceArticleCard.js +29 -29
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +90 -90
- package/dist/esm/DeckQueue.js +75 -75
- package/dist/esm/{Dfp-4b94fbd4.js → Dfp-2f9796e1.js} +17 -17
- package/dist/esm/EventsDeck.js +120 -120
- package/dist/esm/ExternalResources.js +55 -55
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +32 -32
- package/dist/esm/GridContent.js +186 -186
- package/dist/esm/GridHero.js +33 -33
- package/dist/esm/GroupDeck.js +42 -42
- package/dist/esm/HamMagazine.js +105 -105
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +48 -48
- package/dist/esm/HorizontalHero.js +19 -19
- package/dist/esm/IssueContentDeck.js +57 -57
- package/dist/esm/IssueDeck.js +62 -62
- package/dist/esm/IssueLanding.js +69 -69
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +27 -27
- package/dist/esm/MasterDeck.js +68 -68
- package/dist/esm/MediaSeriesLanding.js +484 -539
- package/dist/esm/NavDvm.js +53 -53
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +108 -108
- package/dist/esm/NavNative.js +100 -100
- package/dist/esm/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +56 -56
- package/dist/esm/PageFilter.js +11 -11
- package/dist/esm/PartnerDetailListing.js +80 -80
- package/dist/esm/PdfDownload.js +5 -5
- package/dist/esm/PopUpModal.js +13 -13
- package/dist/esm/PubSection.js +28 -28
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +105 -105
- package/dist/esm/QueueDeckExpanded.js +262 -262
- package/dist/esm/RecentNews.js +16 -16
- package/dist/esm/RelatedContent.js +44 -44
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +28 -28
- package/dist/esm/{SeriesSlider-5ba2e521.js → SeriesSlider-7d89f4d9.js} +29 -29
- package/dist/esm/SideFooter.js +29 -29
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-9cc36413.js → SocialSearchComponent-47815365.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +52 -52
- package/dist/esm/TaxonomyDescription.js +30 -30
- package/dist/esm/TemplateNormal.js +42 -42
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +12 -12
- package/dist/esm/VideoProgramLandingPage.js +46 -46
- package/dist/esm/VideoSeriesCard.js +21 -21
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +31 -31
- package/dist/esm/VideoSeriesListing.js +62 -62
- package/dist/esm/View.js +196 -196
- package/dist/esm/YahooHero.js +29 -29
- package/dist/esm/YoutubeGroup.js +45 -45
- package/dist/esm/{_is-array-328b85b7.js → _is-array-58e95429.js} +1 -1
- package/dist/esm/{_iter-detect-0fa1c752.js → _iter-detect-5d49a330.js} +2 -2
- package/dist/esm/{_object-sap-1b84e2bf.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-c8f72bf1.js → _object-to-array-7e804fce.js} +1 -1
- package/dist/esm/{_to-object-cedb5b78.js → _to-object-a4107da3.js} +2 -2
- package/dist/esm/{asyncToGenerator-e1a2f43a.js → asyncToGenerator-fc1c2e29.js} +5 -5
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-227107e6.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{debounce-89969f66.js → debounce-9207d8ee.js} +1 -1
- package/dist/esm/{define-property-2f35af22.js → define-property-8af5f002.js} +1 -1
- package/dist/esm/{defineProperty-eb9699c0.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{es6.string.iterator-1577cb76.js → es6.string.iterator-c990c18c.js} +1 -1
- package/dist/esm/{extends-be71a29a.js → extends-6f2fcc99.js} +1 -1
- package/dist/esm/faundadb.js +6 -6
- package/dist/esm/getRelatedArticle.js +68 -132
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +25 -25
- package/dist/esm/{getTargeting-37cb4051.js → getTargeting-bd800589.js} +11 -11
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-03da2fcc.js → index-0500ae55.js} +513 -494
- package/dist/esm/{index-f7fdcc91.js → index-51a80699.js} +3 -8
- package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
- package/dist/esm/{index-637e8f49.js → index-aaa2dae0.js} +10 -25
- package/dist/esm/{index-511bdaa5.js → index-c00b0bbb.js} +29 -29
- package/dist/esm/{index-41a678ea.js → index-f7fb1e25.js} +3 -3
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-ed50151c.js → index.esm-8ee5ff72.js} +15 -15
- package/dist/esm/index.js +63 -63
- package/dist/esm/{inherits-2cf82c38.js → inherits-75d45541.js} +5 -5
- package/dist/esm/{keys-526daf0a.js → keys-8eda7a5c.js} +2 -2
- package/dist/esm/{lodash-a818d390.js → lodash-ec8c6b48.js} +9 -57
- package/dist/esm/main-747e7d25.js +886 -0
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{slicedToArray-f0edf3d6.js → slicedToArray-641f241f.js} +4 -4
- package/dist/esm/{stringify-d1b9276a.js → stringify-4330ccdc.js} +1 -1
- package/dist/esm/{toConsumableArray-81605212.js → toConsumableArray-43aa614d.js} +4 -4
- package/dist/esm/{toNumber-e3dcad26.js → toNumber-2f7a84cd.js} +4 -39
- package/dist/esm/{typeof-ad2c7a21.js → typeof-af9c50d8.js} +5 -5
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-cf90f7e6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ace8ed30.js → web.dom.iterable-4439f05a.js} +2 -2
- package/package.json +110 -110
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/main-bc7d4bf8.js +0 -972
- package/dist/esm/main-ae902629.js +0 -961
package/dist/esm/Column3.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './es6.string.iterator-
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-
|
|
6
|
-
import './core.get-iterator-method-
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
9
|
-
import './define-property-
|
|
10
|
-
import './web.dom.iterable-
|
|
11
|
-
import
|
|
8
|
+
import './extends-6f2fcc99.js';
|
|
9
|
+
import './define-property-8af5f002.js';
|
|
10
|
+
import './web.dom.iterable-4439f05a.js';
|
|
11
|
+
import React, { useRef, useEffect } from 'react';
|
|
12
12
|
import './events-6c3a7a63.js';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-f7fb1e25.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
-
import Row
|
|
16
|
-
import Col
|
|
15
|
+
import Row from 'react-bootstrap/Row';
|
|
16
|
+
import Col from 'react-bootstrap/Col';
|
|
17
17
|
import './isSymbol-1981418f.js';
|
|
18
|
-
import './debounce-
|
|
19
|
-
import './toNumber-
|
|
20
|
-
import { m as
|
|
21
|
-
import './slicedToArray-
|
|
22
|
-
import './stringify-
|
|
23
|
-
import './asyncToGenerator-
|
|
18
|
+
import './debounce-9207d8ee.js';
|
|
19
|
+
import './toNumber-2f7a84cd.js';
|
|
20
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
21
|
+
import './slicedToArray-641f241f.js';
|
|
22
|
+
import './stringify-4330ccdc.js';
|
|
23
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
24
24
|
import './Segment.js';
|
|
25
25
|
import './Beam.js';
|
|
26
26
|
import './AdSlot.js';
|
|
27
27
|
import './get-1e515072.js';
|
|
28
28
|
import './eq-b470f743.js';
|
|
29
|
-
import './react-social-icons-
|
|
29
|
+
import './react-social-icons-3822f1ce.js';
|
|
30
30
|
import 'react-bootstrap';
|
|
31
|
-
import './defineProperty-
|
|
31
|
+
import './defineProperty-94fd8bfc.js';
|
|
32
32
|
import SideFooter from './SideFooter.js';
|
|
33
|
-
import { C as ConferenceBanner } from './ConferenceBanner-
|
|
33
|
+
import { C as ConferenceBanner } from './ConferenceBanner-9162d0ca.js';
|
|
34
34
|
import ADSponsoredResources from './ADSponsoredResources.js';
|
|
35
35
|
import 'react-bootstrap/ListGroup';
|
|
36
36
|
import './ADWebcast.js';
|
|
@@ -52,7 +52,7 @@ var Column3 = function Column3(props) {
|
|
|
52
52
|
var adRef = useRef(null);
|
|
53
53
|
|
|
54
54
|
useEffect(function () {
|
|
55
|
-
if (!
|
|
55
|
+
if (!main_40 && window.innerWidth >= 768) {
|
|
56
56
|
var navbar = document.querySelector('.navbar');
|
|
57
57
|
var AdOffsetTop = adRef.current.getBoundingClientRect().top;
|
|
58
58
|
window.addEventListener('scroll', function () {
|
|
@@ -71,62 +71,62 @@ var Column3 = function Column3(props) {
|
|
|
71
71
|
}
|
|
72
72
|
}, []);
|
|
73
73
|
|
|
74
|
-
return
|
|
74
|
+
return React.createElement(
|
|
75
75
|
'section',
|
|
76
76
|
null,
|
|
77
|
-
|
|
78
|
-
Row
|
|
77
|
+
React.createElement(
|
|
78
|
+
Row,
|
|
79
79
|
{ className: 'justify-content-md-center' },
|
|
80
|
-
|
|
81
|
-
Col
|
|
80
|
+
React.createElement(
|
|
81
|
+
Col,
|
|
82
82
|
{ md: true, className: 'leftCol', style: { width: '200px' } },
|
|
83
|
-
|
|
84
|
-
website && website.sponsoredAd &&
|
|
85
|
-
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide &&
|
|
83
|
+
React.createElement(LeftNav, { leftItems: leftItems }),
|
|
84
|
+
website && website.sponsoredAd && React.createElement(ADSponsoredResources, { sponsoredAd: website.sponsoredAd }),
|
|
85
|
+
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
86
86
|
),
|
|
87
|
-
|
|
88
|
-
Col
|
|
87
|
+
React.createElement(
|
|
88
|
+
Col,
|
|
89
89
|
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !title && '10px' } },
|
|
90
|
-
showFilter ?
|
|
90
|
+
showFilter ? React.createElement(
|
|
91
91
|
'div',
|
|
92
92
|
{ className: 'title-wrap' },
|
|
93
|
-
|
|
93
|
+
React.createElement(
|
|
94
94
|
'h1',
|
|
95
95
|
{ className: 'title' },
|
|
96
96
|
title
|
|
97
97
|
),
|
|
98
|
-
|
|
98
|
+
React.createElement(
|
|
99
99
|
'div',
|
|
100
100
|
{ className: 'filter-box' },
|
|
101
|
-
|
|
101
|
+
React.createElement(PageFilter, { getParams: getParams, filters: filters, defaultFilter: defaultFilter })
|
|
102
102
|
)
|
|
103
|
-
) : title &&
|
|
103
|
+
) : title && React.createElement(
|
|
104
104
|
'h1',
|
|
105
105
|
{ className: 'title' },
|
|
106
106
|
title
|
|
107
107
|
),
|
|
108
108
|
props.children
|
|
109
109
|
),
|
|
110
|
-
|
|
110
|
+
React.createElement(
|
|
111
111
|
'style',
|
|
112
112
|
{ jsx: 'true' },
|
|
113
113
|
'\n .filter-box {\n float: right;\n padding-top: 6px;\n padding-right: 18px;\n }\n @media only screen and (min-width: 768px) {\n .title-wrap {\n display: flex;\n justify-content: space-between;\n }\n }\n @media only screen and (max-width: 767px) {\n /* .filter-box {\n float: right;\n display: flex;\n justify-content: flex-end;\n } */\n .title-wrap {\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n }\n }\n '
|
|
114
114
|
),
|
|
115
|
-
(!
|
|
116
|
-
Col
|
|
115
|
+
(!main_40 || showRightAd) && React.createElement(
|
|
116
|
+
Col,
|
|
117
117
|
{ xs: 12, className: 'rightCol' },
|
|
118
|
-
website && website.conferenceBannerContent &&
|
|
119
|
-
|
|
118
|
+
website && website.conferenceBannerContent && React.createElement(ConferenceBanner, { website: website }),
|
|
119
|
+
React.createElement(
|
|
120
120
|
'div',
|
|
121
121
|
{ ref: adRef },
|
|
122
122
|
rightItems && rightItems.map(function (row, index) {
|
|
123
|
-
return
|
|
123
|
+
return React.createElement(
|
|
124
124
|
'div',
|
|
125
125
|
{ key: index },
|
|
126
126
|
row.component
|
|
127
127
|
);
|
|
128
128
|
}),
|
|
129
|
-
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide &&
|
|
129
|
+
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
130
130
|
)
|
|
131
131
|
)
|
|
132
132
|
)
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { m as moment } from './moment-b6f49411.js';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-51a80699.js';
|
|
5
5
|
import urlFor from './urlFor.js';
|
|
6
6
|
|
|
7
|
-
/*
|
|
8
|
-
Example usage - targetedonc.com/latest-conference
|
|
9
|
-
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
10
|
-
...,
|
|
11
|
-
title,
|
|
12
|
-
summary,
|
|
13
|
-
thumbnail,
|
|
14
|
-
url,
|
|
15
|
-
published,
|
|
16
|
-
documentGroup->,
|
|
17
|
-
contentCategory->,
|
|
18
|
-
'pageNumber': ${currentPage}
|
|
19
|
-
}`
|
|
20
|
-
|
|
21
|
-
const posts = await client.fetch(query, params)
|
|
7
|
+
/*
|
|
8
|
+
Example usage - targetedonc.com/latest-conference
|
|
9
|
+
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
10
|
+
...,
|
|
11
|
+
title,
|
|
12
|
+
summary,
|
|
13
|
+
thumbnail,
|
|
14
|
+
url,
|
|
15
|
+
published,
|
|
16
|
+
documentGroup->,
|
|
17
|
+
contentCategory->,
|
|
18
|
+
'pageNumber': ${currentPage}
|
|
19
|
+
}`
|
|
20
|
+
|
|
21
|
+
const posts = await client.fetch(query, params)
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
@@ -29,51 +29,51 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
29
29
|
|
|
30
30
|
// title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
31
31
|
|
|
32
|
-
return
|
|
32
|
+
return React.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
{ className: 'conference-media' },
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
'a',
|
|
37
37
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
38
|
-
|
|
38
|
+
React.createElement('img', {
|
|
39
39
|
className: 'mr-3 img-fluid',
|
|
40
40
|
src: data.thumbnail && urlFor({ client: client, source: data.thumbnail.asset, imageWidth: 350 }),
|
|
41
41
|
alt: data.title
|
|
42
42
|
})
|
|
43
43
|
),
|
|
44
|
-
|
|
44
|
+
React.createElement(
|
|
45
45
|
'div',
|
|
46
46
|
{ className: 'media-body' },
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
'a',
|
|
49
49
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
50
|
-
|
|
50
|
+
React.createElement(
|
|
51
51
|
'h4',
|
|
52
52
|
{ className: 'conf-media__card-title' },
|
|
53
53
|
data.title
|
|
54
54
|
)
|
|
55
55
|
),
|
|
56
|
-
|
|
56
|
+
React.createElement(
|
|
57
57
|
'p',
|
|
58
58
|
{ className: 'conf-media__card-text' },
|
|
59
59
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React.createElement(
|
|
62
62
|
'p',
|
|
63
63
|
{ className: 'mb-1 conference-group' },
|
|
64
|
-
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ?
|
|
64
|
+
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ? React.createElement(
|
|
65
65
|
'a',
|
|
66
66
|
{ href: '/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
67
67
|
data.documentGroup.name
|
|
68
|
-
) :
|
|
68
|
+
) : React.createElement(
|
|
69
69
|
'a',
|
|
70
70
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
71
71
|
data.documentGroup.name
|
|
72
72
|
))
|
|
73
73
|
),
|
|
74
|
-
|
|
74
|
+
React.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
75
75
|
),
|
|
76
|
-
|
|
76
|
+
React.createElement(
|
|
77
77
|
'style',
|
|
78
78
|
{ jsx: 'true' },
|
|
79
79
|
'\n .conference-media {\n display: flex;\n flex-direction: row;\n margin-bottom: 1.25rem;\n padding-bottom: 1.25rem;\n border-bottom: 1px solid #ddd;\n }\n .conf-media__card-title {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.5rem;\n font-size: 1.5rem;\n }\n .conf-media__card-text {\n color: var(--dark);\n margin-bottom: 0.25rem;\n }\n .conference-media a img {\n width: 175px;\n min-width: 175px;\n height: auto;\n object-fit: contain;\n }\n .conference-media .conference-group {\n background: #003767;\n color: white;\n border-radius: 5px;\n display: inline-block;\n padding: 0 0.25rem;\n }\n .conference-media .conference-group a {\n color: white;\n font-size: 0.8rem;\n }\n @media screen and (max-width: 1064px) {\n .conf-media__card-title {\n font-size: 1.1rem;\n }\n }\n @media screen and (max-width: 768px) {\n .conference-media {\n flex-direction: column;\n }\n .conference-media a img {\n width: 100%;\n height: auto;\n max-height: 175px;\n object-fit: contain;\n margin-bottom: 1rem;\n }\n }\n '
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
|
|
3
3
|
var ConferenceBanner = function ConferenceBanner(props) {
|
|
4
4
|
var website = props.website;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
return
|
|
7
|
+
return React.createElement(
|
|
8
8
|
"div",
|
|
9
9
|
{ className: "conf-img" },
|
|
10
|
-
|
|
10
|
+
React.createElement(
|
|
11
11
|
"a",
|
|
12
12
|
{ href: website.conferenceBannerContent.href },
|
|
13
|
-
|
|
13
|
+
React.createElement("img", { src: website.conferenceBannerContent.src, alt: website.conferenceBannerContent.alt })
|
|
14
14
|
)
|
|
15
15
|
);
|
|
16
16
|
};
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './es6.string.iterator-
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
7
|
-
import './core.get-iterator-method-
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-
|
|
10
|
-
import './_object-sap-
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
12
|
-
import './define-property-
|
|
13
|
-
import './web.dom.iterable-
|
|
14
|
-
import './typeof-
|
|
15
|
-
import './_is-array-
|
|
16
|
-
import
|
|
9
|
+
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React from 'react';
|
|
17
17
|
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-
|
|
18
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
19
19
|
import 'prop-types';
|
|
20
|
-
import Container
|
|
21
|
-
import Row
|
|
22
|
-
import Col
|
|
23
|
-
import Card
|
|
20
|
+
import Container from 'react-bootstrap/Container';
|
|
21
|
+
import Row from 'react-bootstrap/Row';
|
|
22
|
+
import Col from 'react-bootstrap/Col';
|
|
23
|
+
import Card from 'react-bootstrap/Card';
|
|
24
24
|
import { m as moment } from './moment-b6f49411.js';
|
|
25
25
|
import { withRouter } from 'next/router';
|
|
26
26
|
import './isSymbol-1981418f.js';
|
|
27
|
-
import { d as debounce_1 } from './debounce-
|
|
28
|
-
import './toNumber-
|
|
29
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
28
|
+
import './toNumber-2f7a84cd.js';
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
30
30
|
import 'react-dom';
|
|
31
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
32
|
-
import './index-
|
|
31
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
32
|
+
import './index-51a80699.js';
|
|
33
33
|
import urlFor from './urlFor.js';
|
|
34
|
-
import { L as LazyLoad } from './index-
|
|
35
|
-
import { m as
|
|
34
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
35
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
36
36
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
37
|
-
import './slicedToArray-
|
|
38
|
-
import './stringify-
|
|
39
|
-
import './asyncToGenerator-
|
|
37
|
+
import './slicedToArray-641f241f.js';
|
|
38
|
+
import './stringify-4330ccdc.js';
|
|
39
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
40
40
|
import './Segment.js';
|
|
41
41
|
import './Beam.js';
|
|
42
42
|
import './AdSlot.js';
|
|
43
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
43
|
+
import { A as ADInfeed } from './ADInfeed-56a3db8b.js';
|
|
44
44
|
|
|
45
45
|
var DeckContent = function (_React$Component) {
|
|
46
46
|
_inherits(DeckContent, _React$Component);
|
|
@@ -174,14 +174,14 @@ var DeckContent = function (_React$Component) {
|
|
|
174
174
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
175
175
|
|
|
176
176
|
// please leave this for later debug purpose : Yong Jun.
|
|
177
|
-
/* console.log('page change reported', {
|
|
178
|
-
currentPage: currentPage,
|
|
179
|
-
pageNumber: pageNumber,
|
|
180
|
-
pathname: pathname,
|
|
181
|
-
path: path,
|
|
182
|
-
newPath: newPath,
|
|
183
|
-
firstPage: pageNumber === 1,
|
|
184
|
-
queryString: queryString
|
|
177
|
+
/* console.log('page change reported', {
|
|
178
|
+
currentPage: currentPage,
|
|
179
|
+
pageNumber: pageNumber,
|
|
180
|
+
pathname: pathname,
|
|
181
|
+
path: path,
|
|
182
|
+
newPath: newPath,
|
|
183
|
+
firstPage: pageNumber === 1,
|
|
184
|
+
queryString: queryString
|
|
185
185
|
}) */
|
|
186
186
|
|
|
187
187
|
if (pageview) {
|
|
@@ -201,35 +201,35 @@ var DeckContent = function (_React$Component) {
|
|
|
201
201
|
url = authorDetail.url;
|
|
202
202
|
|
|
203
203
|
if (displayName && url && url.current) {
|
|
204
|
-
return
|
|
204
|
+
return React.createElement(
|
|
205
205
|
'div',
|
|
206
206
|
{ key: _id },
|
|
207
|
-
index === 0 &&
|
|
207
|
+
index === 0 && React.createElement(
|
|
208
208
|
'span',
|
|
209
209
|
{ className: 'pr-1' },
|
|
210
210
|
'By'
|
|
211
211
|
),
|
|
212
|
-
|
|
212
|
+
React.createElement(
|
|
213
213
|
'a',
|
|
214
214
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
215
215
|
displayName,
|
|
216
|
-
length !== index + 1 &&
|
|
216
|
+
length !== index + 1 && React.createElement('br', null)
|
|
217
217
|
)
|
|
218
218
|
);
|
|
219
219
|
} else if (displayName) {
|
|
220
|
-
return
|
|
220
|
+
return React.createElement(
|
|
221
221
|
'div',
|
|
222
222
|
{ key: _id },
|
|
223
|
-
index === 0 &&
|
|
223
|
+
index === 0 && React.createElement(
|
|
224
224
|
'span',
|
|
225
225
|
{ className: 'pr-1' },
|
|
226
226
|
'By'
|
|
227
227
|
),
|
|
228
|
-
|
|
228
|
+
React.createElement(
|
|
229
229
|
'span',
|
|
230
230
|
{ className: 'text-muted' },
|
|
231
231
|
displayName,
|
|
232
|
-
length !== index + 1 &&
|
|
232
|
+
length !== index + 1 && React.createElement('br', null)
|
|
233
233
|
)
|
|
234
234
|
);
|
|
235
235
|
}
|
|
@@ -273,8 +273,8 @@ var DeckContent = function (_React$Component) {
|
|
|
273
273
|
articles = _this.state.data;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
return
|
|
277
|
-
Row
|
|
276
|
+
return React.createElement(
|
|
277
|
+
Row,
|
|
278
278
|
null,
|
|
279
279
|
articles && articles.map(function (row, index) {
|
|
280
280
|
if (columns === 'rotate' && itemCounter % 3 === 0) {
|
|
@@ -285,60 +285,60 @@ var DeckContent = function (_React$Component) {
|
|
|
285
285
|
lgVar = 6;
|
|
286
286
|
}
|
|
287
287
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
288
|
-
return
|
|
288
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
289
289
|
} else {
|
|
290
290
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
291
291
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
292
|
-
return
|
|
293
|
-
|
|
292
|
+
return React.createElement(
|
|
293
|
+
React.Fragment,
|
|
294
294
|
{ key: itemCounter },
|
|
295
|
-
|
|
295
|
+
React.createElement(
|
|
296
296
|
VisibilitySensor,
|
|
297
297
|
{
|
|
298
298
|
onChange: function onChange(isVisible) {
|
|
299
299
|
isVisible && _this.changePageNumber(pageNumber);
|
|
300
300
|
} },
|
|
301
|
-
|
|
302
|
-
Col
|
|
301
|
+
React.createElement(
|
|
302
|
+
Col,
|
|
303
303
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
304
|
-
|
|
305
|
-
Card
|
|
304
|
+
React.createElement(
|
|
305
|
+
Card,
|
|
306
306
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
307
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
307
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
308
308
|
'a',
|
|
309
309
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
310
|
-
|
|
310
|
+
React.createElement(
|
|
311
311
|
LazyLoad,
|
|
312
312
|
{ height: _this.props.imageHeight },
|
|
313
|
-
|
|
313
|
+
React.createElement(Card.Img, {
|
|
314
314
|
variant: 'top',
|
|
315
315
|
src: _this.renderCardImage(row, page),
|
|
316
316
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
317
317
|
})
|
|
318
318
|
)
|
|
319
319
|
),
|
|
320
|
-
|
|
321
|
-
Card
|
|
320
|
+
React.createElement(
|
|
321
|
+
Card.Body,
|
|
322
322
|
null,
|
|
323
|
-
|
|
323
|
+
React.createElement(
|
|
324
324
|
'a',
|
|
325
325
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
326
|
-
|
|
327
|
-
Card
|
|
326
|
+
React.createElement(
|
|
327
|
+
Card.Title,
|
|
328
328
|
null,
|
|
329
329
|
row.title
|
|
330
330
|
)
|
|
331
331
|
),
|
|
332
|
-
_this.props.showPublished && row.published &&
|
|
333
|
-
Card
|
|
332
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
333
|
+
Card.Subtitle,
|
|
334
334
|
null,
|
|
335
335
|
moment(row.published).format('MMMM DD, YYYY')
|
|
336
336
|
),
|
|
337
337
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
338
338
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
339
339
|
}),
|
|
340
|
-
|
|
341
|
-
Card
|
|
340
|
+
React.createElement(
|
|
341
|
+
Card.Text,
|
|
342
342
|
null,
|
|
343
343
|
clean_html_1(row.summary)
|
|
344
344
|
)
|
|
@@ -346,7 +346,7 @@ var DeckContent = function (_React$Component) {
|
|
|
346
346
|
)
|
|
347
347
|
)
|
|
348
348
|
),
|
|
349
|
-
|
|
349
|
+
main_40 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
352
|
})
|
|
@@ -355,23 +355,23 @@ var DeckContent = function (_React$Component) {
|
|
|
355
355
|
var rightItems = _this.props.rightItems;
|
|
356
356
|
|
|
357
357
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
358
|
-
return
|
|
359
|
-
Col
|
|
358
|
+
return React.createElement(
|
|
359
|
+
Col,
|
|
360
360
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
361
361
|
rightItems[i].component
|
|
362
362
|
);
|
|
363
363
|
}, _this.renderManualPagination = function () {
|
|
364
364
|
var currentPage = _this.state.currentPage;
|
|
365
365
|
|
|
366
|
-
return
|
|
366
|
+
return React.createElement(
|
|
367
367
|
'div',
|
|
368
368
|
{ className: 'd-flex justify-content-between' },
|
|
369
|
-
currentPage && currentPage > 1 &&
|
|
369
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
370
370
|
'a',
|
|
371
371
|
{ href: '?page=' + (currentPage - 1) },
|
|
372
372
|
'<< Previous'
|
|
373
373
|
),
|
|
374
|
-
|
|
374
|
+
React.createElement(
|
|
375
375
|
'a',
|
|
376
376
|
{ href: '?page=' + (currentPage + 1) },
|
|
377
377
|
'Next >>'
|
|
@@ -417,38 +417,38 @@ var DeckContent = function (_React$Component) {
|
|
|
417
417
|
brandInsight = _props.brandInsight;
|
|
418
418
|
|
|
419
419
|
|
|
420
|
-
return
|
|
420
|
+
return React.createElement(
|
|
421
421
|
'div',
|
|
422
422
|
{ className: 'contentDeck' },
|
|
423
|
-
autoScroll ?
|
|
424
|
-
|
|
423
|
+
autoScroll ? React.createElement(
|
|
424
|
+
React.Fragment,
|
|
425
425
|
null,
|
|
426
|
-
|
|
426
|
+
React.createElement(
|
|
427
427
|
InfiniteScroll,
|
|
428
428
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
429
|
-
|
|
430
|
-
Container
|
|
429
|
+
React.createElement(
|
|
430
|
+
Container,
|
|
431
431
|
null,
|
|
432
432
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
433
433
|
)
|
|
434
434
|
),
|
|
435
|
-
|
|
435
|
+
React.createElement(
|
|
436
436
|
'noscript',
|
|
437
437
|
null,
|
|
438
438
|
this.renderManualPagination()
|
|
439
439
|
)
|
|
440
|
-
) :
|
|
441
|
-
|
|
440
|
+
) : React.createElement(
|
|
441
|
+
React.Fragment,
|
|
442
442
|
null,
|
|
443
|
-
|
|
444
|
-
Container
|
|
443
|
+
React.createElement(
|
|
444
|
+
Container,
|
|
445
445
|
null,
|
|
446
446
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
447
447
|
),
|
|
448
|
-
|
|
448
|
+
React.createElement(
|
|
449
449
|
'div',
|
|
450
450
|
{ style: { padding: '0px 10px' } },
|
|
451
|
-
this.state.scrolling ?
|
|
451
|
+
this.state.scrolling ? React.createElement(
|
|
452
452
|
'button',
|
|
453
453
|
{
|
|
454
454
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -456,17 +456,17 @@ var DeckContent = function (_React$Component) {
|
|
|
456
456
|
_this2.loadMore();
|
|
457
457
|
} },
|
|
458
458
|
'Load More'
|
|
459
|
-
) :
|
|
459
|
+
) : React.createElement(
|
|
460
460
|
'p',
|
|
461
461
|
{ style: { textAlign: 'center' } },
|
|
462
|
-
|
|
462
|
+
React.createElement(
|
|
463
463
|
'b',
|
|
464
464
|
null,
|
|
465
465
|
'End of data'
|
|
466
466
|
)
|
|
467
467
|
)
|
|
468
468
|
),
|
|
469
|
-
|
|
469
|
+
React.createElement(
|
|
470
470
|
'noscript',
|
|
471
471
|
null,
|
|
472
472
|
this.renderManualPagination()
|
|
@@ -477,7 +477,7 @@ var DeckContent = function (_React$Component) {
|
|
|
477
477
|
}]);
|
|
478
478
|
|
|
479
479
|
return DeckContent;
|
|
480
|
-
}(
|
|
480
|
+
}(React.Component);
|
|
481
481
|
|
|
482
482
|
var ContentCard = withRouter(DeckContent);
|
|
483
483
|
|