@mjhls/mjh-framework 1.0.770-beta.0 → 1.0.771-full-path-docgroup
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 +169 -169
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +31 -29
- package/dist/cjs/AD300x250x600.js +31 -29
- package/dist/cjs/AD728x90.js +34 -32
- package/dist/cjs/ADFloatingFooter.js +33 -31
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +33 -31
- package/dist/cjs/{ADInfeed-547e399f.js → ADInfeed-38240eb1.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +33 -31
- package/dist/cjs/ADSponsoredResources.js +33 -31
- package/dist/cjs/ADWebcast.js +33 -31
- package/dist/cjs/ADWelcome.js +34 -32
- package/dist/cjs/{ADlgInfeed-84cd6750.js → ADlgInfeed-795bcf35.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -34
- package/dist/cjs/AdSlotsProvider.js +18 -17
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +58 -56
- package/dist/cjs/ArticleSeriesLandingPage.js +42 -40
- package/dist/cjs/ArticleSeriesListing.js +61 -59
- package/dist/cjs/Auth.js +688 -464
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +84 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +37 -33
- package/dist/cjs/Column3.js +62 -57
- package/dist/cjs/ConferenceArticleCard.js +39 -38
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +108 -103
- package/dist/cjs/DeckQueue.js +92 -86
- package/dist/cjs/{Dfp-ce7ac168.js → Dfp-b63b5e5f.js} +33 -31
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +80 -78
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +183 -177
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +59 -58
- package/dist/cjs/HamMagazine.js +145 -140
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +71 -69
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +76 -71
- package/dist/cjs/IssueLanding.js +73 -71
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -38
- package/dist/cjs/MasterDeck.js +81 -79
- package/dist/cjs/MediaSeriesLanding.js +40 -38
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +153 -148
- package/dist/cjs/NavNative.js +461 -129
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +110 -108
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -41
- package/dist/cjs/PubToc.js +17 -16
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +125 -125
- package/dist/cjs/QueueDeckExpanded.js +295 -294
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SeriesListingDeck.js +40 -39
- package/dist/cjs/{SeriesSlider-0a4b30a7.js → SeriesSlider-7dbeaa51.js} +42 -41
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +40 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-31afe61f.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +63 -58
- package/dist/cjs/TaxonomyDescription.js +55 -53
- package/dist/cjs/TemplateNormal.js +77 -74
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +77 -72
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesLandingPage.js +50 -48
- package/dist/cjs/VideoSeriesListing.js +78 -76
- package/dist/cjs/View.js +375 -275
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +67 -66
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-9f96b3af.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-6d1a113d.js} +29 -29
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-eb287781.js → debounce-d4a2369b.js} +4 -67
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/eq-5fc26c07.js +79 -0
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-60837c34.js → extends-9d158713.js} +7 -7
- package/dist/cjs/{get-68c52cb1.js → get-5839e5b5.js} +23 -95
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +426 -13
- package/dist/cjs/getRootDocGroup.js +7 -7
- package/dist/cjs/getSerializers.js +44 -43
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-3cdc6e1d.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/{index-4ec63018.js → index-873750c4.js} +986 -963
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +164 -160
- package/dist/cjs/{inherits-c9f99d47.js → inherits-3ff1b657.js} +19 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/toNumber-5e1fac58.js +104 -0
- package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -26
- package/dist/esm/AD300x250x600.js +27 -26
- package/dist/esm/AD728x90.js +30 -29
- package/dist/esm/ADFloatingFooter.js +29 -28
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -28
- package/dist/esm/{ADInfeed-892282a8.js → ADInfeed-de396be9.js} +9 -9
- package/dist/esm/ADSkyscraper.js +29 -28
- package/dist/esm/ADSponsoredResources.js +29 -28
- package/dist/esm/ADWebcast.js +29 -28
- package/dist/esm/ADWelcome.js +30 -29
- package/dist/esm/{ADlgInfeed-4cc9ead9.js → ADlgInfeed-a6f8b5fa.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -26
- package/dist/esm/AdSlotsProvider.js +14 -14
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +54 -53
- package/dist/esm/ArticleSeriesLandingPage.js +38 -37
- package/dist/esm/ArticleSeriesListing.js +55 -54
- package/dist/esm/Auth.js +671 -451
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-5ae7409f.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +80 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +28 -27
- package/dist/esm/Column3.js +52 -50
- package/dist/esm/ConferenceArticleCard.js +34 -34
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +86 -85
- package/dist/esm/DeckQueue.js +67 -65
- package/dist/esm/{Dfp-e9a07597.js → Dfp-723aab19.js} +22 -21
- package/dist/esm/EventsDeck.js +105 -105
- package/dist/esm/ExternalResources.js +73 -72
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +142 -140
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +114 -114
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +67 -66
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +69 -68
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -34
- package/dist/esm/MasterDeck.js +74 -73
- package/dist/esm/MediaSeriesLanding.js +31 -31
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +429 -105
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +105 -104
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -38
- package/dist/esm/PubToc.js +13 -13
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +97 -101
- package/dist/esm/QueueDeckExpanded.js +275 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SeriesListingDeck.js +34 -34
- package/dist/esm/{SeriesSlider-f629bded.js → SeriesSlider-c324917a.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +35 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a2ae84d1.js → SocialSearchComponent-116b1d5d.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +49 -48
- package/dist/esm/TemplateNormal.js +70 -68
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +63 -62
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesLandingPage.js +42 -41
- package/dist/esm/VideoSeriesListing.js +71 -70
- package/dist/esm/View.js +355 -259
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +50 -50
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_set-species-3f8319f5.js → _set-species-807b5286.js} +4 -4
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-502f13b4.js → asyncToGenerator-207adf34.js} +29 -29
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-1a993acf.js → debounce-533d9748.js} +2 -65
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/eq-bdcbf886.js +76 -0
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-eb69e8ac.js → extends-f076879e.js} +7 -7
- package/dist/esm/{get-5ee14cda.js → get-3c308da4.js} +21 -93
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +426 -13
- package/dist/esm/getRootDocGroup.js +7 -7
- package/dist/esm/getSerializers.js +44 -43
- package/dist/esm/{getTargeting-7211f12c.js → getTargeting-9e21a02f.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-a9e53f80.js → index-888f9253.js} +6 -6
- package/dist/esm/{index-c6e49ea4.js → index-da683e94.js} +920 -904
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +130 -129
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-f71787cf.js} +19 -19
- package/dist/esm/{isSymbol-807e927e.js → isSymbol-a7e9aafe.js} +16 -16
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-b5c5aac1.js +961 -0
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/toNumber-5aeba6e7.js +102 -0
- package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-4330ccdc.js +0 -15
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
-
|
|
5
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
6
4
|
var React = require('react');
|
|
7
|
-
var
|
|
8
|
-
|
|
5
|
+
var reactDom = require('react-dom');
|
|
6
|
+
|
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
|
+
var reactDom__default = /*#__PURE__*/_interopDefaultLegacy(reactDom);
|
|
9
11
|
|
|
10
12
|
var visibilitySensor = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
11
13
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
12
|
-
module.exports = factory(React__default,
|
|
14
|
+
module.exports = factory(React__default['default'], reactDom__default['default']);
|
|
13
15
|
})(_commonjsHelpers.commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
|
14
16
|
return /******/ (function(modules) { // webpackBootstrap
|
|
15
17
|
/******/ // The module cache
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var es6_string_iterator = require('./es6.string.iterator-c2573ffd.js');
|
|
4
|
+
var _toObject = require('./_to-object-6de10e57.js');
|
|
5
5
|
|
|
6
6
|
var _iterStep = function (done, value) {
|
|
7
7
|
return { value: value, done: !!done };
|
|
@@ -11,7 +11,7 @@ var _iterStep = function (done, value) {
|
|
|
11
11
|
// 22.1.3.13 Array.prototype.keys()
|
|
12
12
|
// 22.1.3.29 Array.prototype.values()
|
|
13
13
|
// 22.1.3.30 Array.prototype[@@iterator]()
|
|
14
|
-
|
|
14
|
+
es6_string_iterator._iterDefine(Array, 'Array', function (iterated, kind) {
|
|
15
15
|
this._t = _toObject._toIobject(iterated); // target
|
|
16
16
|
this._i = 0; // next index
|
|
17
17
|
this._k = kind; // kind
|
package/dist/esm/AD.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React, { Suspense } from 'react';
|
|
2
2
|
|
|
3
|
-
var Dfp =
|
|
4
|
-
return import('./Dfp-
|
|
3
|
+
var Dfp = React.lazy(function () {
|
|
4
|
+
return import('./Dfp-723aab19.js');
|
|
5
5
|
});
|
|
6
6
|
|
|
7
7
|
var AD = function AD(props) {
|
|
8
8
|
if (typeof window === 'undefined') {
|
|
9
9
|
return null;
|
|
10
10
|
}
|
|
11
|
-
return
|
|
11
|
+
return React.createElement(
|
|
12
12
|
'div',
|
|
13
13
|
null,
|
|
14
|
-
|
|
14
|
+
React.createElement(
|
|
15
15
|
Suspense,
|
|
16
|
-
{ fallback:
|
|
16
|
+
{ fallback: React.createElement(
|
|
17
17
|
'div',
|
|
18
18
|
null,
|
|
19
19
|
'Loading...'
|
|
20
20
|
) },
|
|
21
|
-
|
|
21
|
+
React.createElement(Dfp, props)
|
|
22
22
|
)
|
|
23
23
|
);
|
|
24
24
|
};
|
package/dist/esm/AD300x250.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
|
+
import './stringify-59c8f690.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
5
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import './index-a9e53f80.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './web.dom.iterable-4109ff68.js';
|
|
9
|
+
import './es6.string.iterator-bc33758b.js';
|
|
10
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
11
|
+
import './extends-f076879e.js';
|
|
12
|
+
import './_object-pie-133f504a.js';
|
|
12
13
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
-
import './debounce-
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import './stringify-4330ccdc.js';
|
|
18
|
-
import './asyncToGenerator-502f13b4.js';
|
|
19
|
-
import './_set-species-3f8319f5.js';
|
|
20
|
-
import './Segment.js';
|
|
14
|
+
import './index-888f9253.js';
|
|
15
|
+
import './debounce-533d9748.js';
|
|
16
|
+
import './isSymbol-a7e9aafe.js';
|
|
17
|
+
import './toNumber-5aeba6e7.js';
|
|
21
18
|
import './Beam.js';
|
|
22
|
-
import
|
|
19
|
+
import './asyncToGenerator-207adf34.js';
|
|
20
|
+
import './_library-528f1934.js';
|
|
21
|
+
import './_set-species-807b5286.js';
|
|
22
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
23
|
+
import './Segment.js';
|
|
23
24
|
|
|
24
25
|
// removed static slotID ,because defining static slotID is restricting AD to render only once.
|
|
25
26
|
var AD300x250 = function AD300x250(_ref) {
|
|
@@ -33,15 +34,15 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
33
34
|
pos = _ref$pos === undefined ? 'rec1' : _ref$pos;
|
|
34
35
|
|
|
35
36
|
var mobileView = false;
|
|
36
|
-
if (
|
|
37
|
+
if (main_43) {
|
|
37
38
|
pos = 'rec1-mobile';
|
|
38
39
|
mobileView = true;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
var _useState = useState(true),
|
|
42
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
43
|
-
|
|
44
|
-
setPreviewAd = _useState2[1];
|
|
43
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
44
|
+
_useState2[0];
|
|
45
|
+
var setPreviewAd = _useState2[1];
|
|
45
46
|
|
|
46
47
|
useEffect(function () {
|
|
47
48
|
var path = window && window.location && window.location.search;
|
|
@@ -66,10 +67,10 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
66
67
|
var browserSizes = [[300, 250], [300, 100]];
|
|
67
68
|
var mobileSizes = [[300, 250], [300, 100]];
|
|
68
69
|
|
|
69
|
-
return
|
|
70
|
+
return React.createElement(
|
|
70
71
|
'div',
|
|
71
72
|
null,
|
|
72
|
-
|
|
73
|
+
React.createElement(DFPAdSlot, {
|
|
73
74
|
networkID: networkID,
|
|
74
75
|
adUnit: adUnit,
|
|
75
76
|
slotId: slotId,
|
|
@@ -80,7 +81,7 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
80
81
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
81
82
|
// style={{ display: 'none' }}
|
|
82
83
|
}),
|
|
83
|
-
|
|
84
|
+
React.createElement(
|
|
84
85
|
'style',
|
|
85
86
|
{ jsx: 'true' },
|
|
86
87
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
+
import './stringify-59c8f690.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
5
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import './index-a9e53f80.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './web.dom.iterable-4109ff68.js';
|
|
9
|
+
import './es6.string.iterator-bc33758b.js';
|
|
10
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
11
|
+
import './extends-f076879e.js';
|
|
12
|
+
import './_object-pie-133f504a.js';
|
|
12
13
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
-
import './debounce-
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import './stringify-4330ccdc.js';
|
|
18
|
-
import './asyncToGenerator-502f13b4.js';
|
|
19
|
-
import './_set-species-3f8319f5.js';
|
|
20
|
-
import './Segment.js';
|
|
14
|
+
import './index-888f9253.js';
|
|
15
|
+
import './debounce-533d9748.js';
|
|
16
|
+
import './isSymbol-a7e9aafe.js';
|
|
17
|
+
import './toNumber-5aeba6e7.js';
|
|
21
18
|
import './Beam.js';
|
|
22
|
-
import
|
|
19
|
+
import './asyncToGenerator-207adf34.js';
|
|
20
|
+
import './_library-528f1934.js';
|
|
21
|
+
import './_set-species-807b5286.js';
|
|
22
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
23
|
+
import './Segment.js';
|
|
23
24
|
|
|
24
25
|
// removed static slotID ,because defining static slotID is restricting AD to render only once.
|
|
25
26
|
var AD300x250x600 = function AD300x250x600(_ref) {
|
|
@@ -34,14 +35,14 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
34
35
|
_ref$sizeMapFlag = _ref.sizeMapFlag,
|
|
35
36
|
sizeMapFlag = _ref$sizeMapFlag === undefined ? true : _ref$sizeMapFlag;
|
|
36
37
|
|
|
37
|
-
if (
|
|
38
|
+
if (main_43) {
|
|
38
39
|
pos = 'rec2-mobile';
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
var _useState = useState(true),
|
|
42
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
43
|
-
|
|
44
|
-
setPreviewAd = _useState2[1];
|
|
43
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
44
|
+
_useState2[0];
|
|
45
|
+
var setPreviewAd = _useState2[1];
|
|
45
46
|
|
|
46
47
|
useEffect(function () {
|
|
47
48
|
var path = window && window.location && window.location.search;
|
|
@@ -80,10 +81,10 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
80
81
|
sizes: [[300, 100], [300, 250]]
|
|
81
82
|
}];
|
|
82
83
|
|
|
83
|
-
return
|
|
84
|
+
return React.createElement(
|
|
84
85
|
'div',
|
|
85
86
|
null,
|
|
86
|
-
|
|
87
|
+
React.createElement(DFPAdSlot, {
|
|
87
88
|
networkID: networkID,
|
|
88
89
|
adUnit: adUnit,
|
|
89
90
|
className: 'AD300x250',
|
|
@@ -97,7 +98,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
97
98
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
98
99
|
// style={{ display: 'none' }}
|
|
99
100
|
}),
|
|
100
|
-
|
|
101
|
+
React.createElement(
|
|
101
102
|
'style',
|
|
102
103
|
{ jsx: 'true' },
|
|
103
104
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
|
+
import './stringify-59c8f690.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
5
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import './index-a9e53f80.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './web.dom.iterable-4109ff68.js';
|
|
9
|
+
import './es6.string.iterator-bc33758b.js';
|
|
10
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
11
|
+
import './extends-f076879e.js';
|
|
12
|
+
import './_object-pie-133f504a.js';
|
|
12
13
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
-
import './debounce-
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import './stringify-4330ccdc.js';
|
|
18
|
-
import './asyncToGenerator-502f13b4.js';
|
|
19
|
-
import './_set-species-3f8319f5.js';
|
|
20
|
-
import './Segment.js';
|
|
14
|
+
import './index-888f9253.js';
|
|
15
|
+
import './debounce-533d9748.js';
|
|
16
|
+
import './isSymbol-a7e9aafe.js';
|
|
17
|
+
import './toNumber-5aeba6e7.js';
|
|
21
18
|
import './Beam.js';
|
|
22
|
-
import
|
|
19
|
+
import './asyncToGenerator-207adf34.js';
|
|
20
|
+
import './_library-528f1934.js';
|
|
21
|
+
import './_set-species-807b5286.js';
|
|
22
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
23
|
+
import './Segment.js';
|
|
23
24
|
|
|
24
25
|
var AD728x90 = function AD728x90(_ref) {
|
|
25
26
|
var networkID = _ref.networkID,
|
|
@@ -29,19 +30,19 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
29
30
|
_ref$targeting = _ref.targeting,
|
|
30
31
|
targeting = _ref$targeting === undefined ? {} : _ref$targeting,
|
|
31
32
|
_ref$pos = _ref.pos,
|
|
32
|
-
pos = _ref$pos === undefined ? 'top' : _ref$pos
|
|
33
|
-
_ref
|
|
33
|
+
pos = _ref$pos === undefined ? 'top' : _ref$pos;
|
|
34
|
+
_ref.fixedPos;
|
|
34
35
|
|
|
35
36
|
var mobileView = false;
|
|
36
|
-
if (
|
|
37
|
+
if (main_43) {
|
|
37
38
|
pos = 'top-mobile';
|
|
38
39
|
mobileView = true;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
var _useState = useState(true),
|
|
42
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
43
|
-
|
|
44
|
-
setPreviewAd = _useState2[1];
|
|
43
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
44
|
+
_useState2[0];
|
|
45
|
+
var setPreviewAd = _useState2[1];
|
|
45
46
|
|
|
46
47
|
useEffect(function () {
|
|
47
48
|
var path = window && window.location && window.location.search;
|
|
@@ -66,10 +67,10 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
66
67
|
var browserSizes = [[728, 90], [970, 90], [320, 50], [300, 50]];
|
|
67
68
|
var mobileSizes = [[320, 50], [300, 50]];
|
|
68
69
|
|
|
69
|
-
return
|
|
70
|
+
return React.createElement(
|
|
70
71
|
'div',
|
|
71
72
|
{ className: 'leaderboard-ad-wrapper' },
|
|
72
|
-
|
|
73
|
+
React.createElement(DFPAdSlot, {
|
|
73
74
|
slotId: slotId,
|
|
74
75
|
networkID: networkID,
|
|
75
76
|
adUnit: adUnit,
|
|
@@ -89,12 +90,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
89
90
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
90
91
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
91
92
|
}),
|
|
92
|
-
|
|
93
|
+
React.createElement(
|
|
93
94
|
'style',
|
|
94
95
|
{ jsx: 'true' },
|
|
95
96
|
'\n .leaderboard-ad-wrapper {\n height: auto !important;\n background: #fff;\n }\n .leaderboard-ad-wrapper .AD728x90 {\n height: auto !important;\n }\n /* setting height to 0px when the ad slot is empty. */\n .leaderboard-ad-wrapper .AD728x90 div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
96
97
|
),
|
|
97
|
-
|
|
98
|
+
main_43 && React.createElement(
|
|
98
99
|
'style',
|
|
99
100
|
{ jsx: 'true' },
|
|
100
101
|
'\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n }\n }\n '
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React, { useState, useEffect } from 'react';
|
|
3
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import './index-a9e53f80.js';
|
|
5
|
+
import './web.dom.iterable-4109ff68.js';
|
|
6
|
+
import './es6.string.iterator-bc33758b.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
9
|
+
import './extends-f076879e.js';
|
|
10
|
+
import './_object-pie-133f504a.js';
|
|
12
11
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
-
import './debounce-
|
|
15
|
-
import './
|
|
16
|
-
import
|
|
17
|
-
import './stringify-4330ccdc.js';
|
|
18
|
-
import './asyncToGenerator-502f13b4.js';
|
|
19
|
-
import './_set-species-3f8319f5.js';
|
|
20
|
-
import './Segment.js';
|
|
12
|
+
import './index-888f9253.js';
|
|
13
|
+
import './debounce-533d9748.js';
|
|
14
|
+
import './isSymbol-a7e9aafe.js';
|
|
15
|
+
import './toNumber-5aeba6e7.js';
|
|
21
16
|
import './Beam.js';
|
|
22
|
-
import
|
|
17
|
+
import './stringify-59c8f690.js';
|
|
18
|
+
import './asyncToGenerator-207adf34.js';
|
|
19
|
+
import './_library-528f1934.js';
|
|
20
|
+
import './_set-species-807b5286.js';
|
|
21
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
22
|
+
import './Segment.js';
|
|
23
|
+
import './main-b5c5aac1.js';
|
|
23
24
|
|
|
24
25
|
var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
25
26
|
var title = _ref.title,
|
|
@@ -54,9 +55,9 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
54
55
|
setWidthFlag = _useState2[1];
|
|
55
56
|
|
|
56
57
|
var _useState3 = useState(true),
|
|
57
|
-
_useState4 = _slicedToArray(_useState3, 2)
|
|
58
|
-
|
|
59
|
-
setPreviewAd = _useState4[1];
|
|
58
|
+
_useState4 = _slicedToArray(_useState3, 2);
|
|
59
|
+
_useState4[0];
|
|
60
|
+
var setPreviewAd = _useState4[1];
|
|
60
61
|
|
|
61
62
|
useEffect(function () {
|
|
62
63
|
var path = window && window.location && window.location.search;
|
|
@@ -89,13 +90,13 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
89
90
|
parent.classList.add('hide-floating');
|
|
90
91
|
};
|
|
91
92
|
|
|
92
|
-
return
|
|
93
|
-
|
|
93
|
+
return React.createElement(
|
|
94
|
+
React.Fragment,
|
|
94
95
|
null,
|
|
95
|
-
widthFlag && adTargeting.document_url &&
|
|
96
|
+
widthFlag && adTargeting.document_url && React.createElement(
|
|
96
97
|
'div',
|
|
97
98
|
{ id: 'floating-ad-wrapper', className: 'floating-ad-wrapper display-floating ' + title },
|
|
98
|
-
|
|
99
|
+
React.createElement(DFPAdSlot, {
|
|
99
100
|
className: className,
|
|
100
101
|
slotId: slotId,
|
|
101
102
|
networkID: networkID,
|
|
@@ -106,7 +107,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
106
107
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
107
108
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
108
109
|
}),
|
|
109
|
-
|
|
110
|
+
React.createElement(
|
|
110
111
|
'div',
|
|
111
112
|
{ className: 'closeButton', onClick: function onClick() {
|
|
112
113
|
return collapseAd();
|
|
@@ -114,7 +115,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
114
115
|
'x'
|
|
115
116
|
)
|
|
116
117
|
),
|
|
117
|
-
|
|
118
|
+
React.createElement(
|
|
118
119
|
'style',
|
|
119
120
|
{ jsx: 'true' },
|
|
120
121
|
'\n .display-floating {\n display: block;\n }\n .hide-floating {\n display: none;\n }\n .floating-ad-wrapper {\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .closeButton {\n position: absolute;\n top: -16px;\n right: -16px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 15px;\n cursor: pointer;\n z-index: 999999;\n }\n .floating-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADFooter.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React, { useState } from 'react';
|
|
1
3
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import React__default, { useState } from 'react';
|
|
7
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
4
|
+
import './web.dom.iterable-4109ff68.js';
|
|
5
|
+
import './es6.string.iterator-bc33758b.js';
|
|
6
|
+
import './_to-object-b50e61c3.js';
|
|
7
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
8
8
|
|
|
9
9
|
var ADFooter = function ADFooter(_ref) {
|
|
10
10
|
var children = _ref.children;
|
|
@@ -14,14 +14,14 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
14
14
|
showAd = _useState2[0],
|
|
15
15
|
setShowAd = _useState2[1];
|
|
16
16
|
|
|
17
|
-
return
|
|
18
|
-
|
|
17
|
+
return React.createElement(
|
|
18
|
+
React.Fragment,
|
|
19
19
|
null,
|
|
20
|
-
showAd &&
|
|
20
|
+
showAd && React.createElement(
|
|
21
21
|
'div',
|
|
22
22
|
{ className: 'ADFooter' },
|
|
23
23
|
children,
|
|
24
|
-
|
|
24
|
+
React.createElement(
|
|
25
25
|
'div',
|
|
26
26
|
{ className: 'closeButton', onClick: function onClick() {
|
|
27
27
|
return setShowAd(false);
|
|
@@ -29,7 +29,7 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
29
29
|
'x'
|
|
30
30
|
)
|
|
31
31
|
),
|
|
32
|
-
|
|
32
|
+
React.createElement(
|
|
33
33
|
'style',
|
|
34
34
|
{ jsx: 'true' },
|
|
35
35
|
'\n .ADFooter {\n width: auto;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .adBox > div:empty {\n display: none !important;\n }\n .adBox > div:not(:empty){\n display: block !important;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
|
package/dist/esm/ADGutter.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React, { useState, useEffect } from 'react';
|
|
3
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import './index-a9e53f80.js';
|
|
5
|
+
import './web.dom.iterable-4109ff68.js';
|
|
6
|
+
import './es6.string.iterator-bc33758b.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
9
|
+
import './extends-f076879e.js';
|
|
10
|
+
import './_object-pie-133f504a.js';
|
|
12
11
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
-
import './debounce-
|
|
15
|
-
import './
|
|
16
|
-
import
|
|
17
|
-
import './stringify-4330ccdc.js';
|
|
18
|
-
import './asyncToGenerator-502f13b4.js';
|
|
19
|
-
import './_set-species-3f8319f5.js';
|
|
20
|
-
import './Segment.js';
|
|
12
|
+
import './index-888f9253.js';
|
|
13
|
+
import './debounce-533d9748.js';
|
|
14
|
+
import './isSymbol-a7e9aafe.js';
|
|
15
|
+
import './toNumber-5aeba6e7.js';
|
|
21
16
|
import './Beam.js';
|
|
22
|
-
import
|
|
17
|
+
import './stringify-59c8f690.js';
|
|
18
|
+
import './asyncToGenerator-207adf34.js';
|
|
19
|
+
import './_library-528f1934.js';
|
|
20
|
+
import './_set-species-807b5286.js';
|
|
21
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
22
|
+
import './Segment.js';
|
|
23
|
+
import './main-b5c5aac1.js';
|
|
23
24
|
|
|
24
25
|
var ADGutter = function ADGutter(_ref) {
|
|
25
26
|
var title = _ref.title,
|
|
@@ -57,9 +58,9 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
57
58
|
setWidthFlag = _useState2[1];
|
|
58
59
|
|
|
59
60
|
var _useState3 = useState(true),
|
|
60
|
-
_useState4 = _slicedToArray(_useState3, 2)
|
|
61
|
-
|
|
62
|
-
setPreviewAd = _useState4[1];
|
|
61
|
+
_useState4 = _slicedToArray(_useState3, 2);
|
|
62
|
+
_useState4[0];
|
|
63
|
+
var setPreviewAd = _useState4[1];
|
|
63
64
|
|
|
64
65
|
useEffect(function () {
|
|
65
66
|
var path = window && window.location && window.location.search;
|
|
@@ -76,16 +77,16 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
76
77
|
}, [minScreenWidth]);
|
|
77
78
|
|
|
78
79
|
if (widthFlag) {
|
|
79
|
-
return
|
|
80
|
-
|
|
80
|
+
return React.createElement(
|
|
81
|
+
React.Fragment,
|
|
81
82
|
null,
|
|
82
|
-
widthFlag &&
|
|
83
|
+
widthFlag && React.createElement(
|
|
83
84
|
'div',
|
|
84
85
|
{ id: 'gutter-ad-wrapper', className: 'gutter-ad-wrapper ' + title },
|
|
85
|
-
|
|
86
|
+
React.createElement(
|
|
86
87
|
'div',
|
|
87
88
|
{ className: 'gutter-ad' },
|
|
88
|
-
|
|
89
|
+
React.createElement(DFPAdSlot, {
|
|
89
90
|
className: className,
|
|
90
91
|
slotId: slotId,
|
|
91
92
|
networkID: networkID,
|
|
@@ -99,7 +100,7 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
99
100
|
})
|
|
100
101
|
)
|
|
101
102
|
),
|
|
102
|
-
|
|
103
|
+
React.createElement(
|
|
103
104
|
'style',
|
|
104
105
|
{ jsx: 'true' },
|
|
105
106
|
'\n .gutter-ad-wrapper {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 999;\n }\n .gutter-ad {\n width: 150px;\n position: relative;\n top: 50;\n }\n /* setting height to 0px when the ad slot is empty. */\n .gutter-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React, { useState, useEffect } from 'react';
|
|
2
3
|
import Card from 'react-bootstrap/Card';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
4
4
|
import DFPAdSlot from './AdSlot.js';
|
|
5
5
|
|
|
6
6
|
var ADInfeed = function ADInfeed(_ref) {
|
|
@@ -17,9 +17,9 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
17
17
|
sizes = infeedAd.sizes;
|
|
18
18
|
|
|
19
19
|
var _useState = useState(true),
|
|
20
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
21
|
-
|
|
22
|
-
setPreviewAd = _useState2[1];
|
|
20
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
21
|
+
_useState2[0];
|
|
22
|
+
var setPreviewAd = _useState2[1];
|
|
23
23
|
|
|
24
24
|
useEffect(function () {
|
|
25
25
|
var path = window && window.location && window.location.search;
|
|
@@ -29,13 +29,13 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
29
29
|
}));
|
|
30
30
|
}, []);
|
|
31
31
|
|
|
32
|
-
return
|
|
32
|
+
return React.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
{ id: 'brand-insight-wrapper-' + (index + 1), className: 'brand-insight-wrapper', style: { display: 'flex', flex: '1 0 auto' } },
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
Card,
|
|
37
37
|
{ className: 'ad-wrapper', style: { display: 'block !important', flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
38
|
-
|
|
38
|
+
React.createElement(DFPAdSlot, {
|
|
39
39
|
className: className,
|
|
40
40
|
networkID: networkID,
|
|
41
41
|
adUnit: adUnit,
|
|
@@ -48,7 +48,7 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
48
48
|
, refreshFlag: refreshFlag
|
|
49
49
|
})
|
|
50
50
|
),
|
|
51
|
-
|
|
51
|
+
React.createElement(
|
|
52
52
|
'style',
|
|
53
53
|
{ jsx: 'true' },
|
|
54
54
|
'\n .brand-insight-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|