@mjhls/mjh-framework 1.0.850-affiliatefix-v1 → 1.0.850-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +30 -31
- package/dist/cjs/AD300x250x600.js +30 -31
- package/dist/cjs/AD728x90.js +33 -34
- package/dist/cjs/ADFloatingFooter.js +32 -33
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +32 -33
- package/dist/cjs/{ADInfeed-859820d9.js → ADInfeed-98c71bcd.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +32 -33
- package/dist/cjs/ADSponsoredResources.js +32 -33
- package/dist/cjs/ADWebcast.js +32 -33
- package/dist/cjs/ADWelcome.js +33 -34
- package/dist/cjs/{ADlgInfeed-da3a36a6.js → ADlgInfeed-9de32585.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +101 -34
- package/dist/cjs/AdSlotsProvider.js +925 -24
- package/dist/cjs/AlgoliaSearch.js +1276 -1371
- package/dist/cjs/AlphabeticList.js +25 -26
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +59 -60
- package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
- package/dist/cjs/ArticleSeriesListing.js +61 -62
- package/dist/cjs/Auth.js +462 -686
- package/dist/cjs/AuthWrapper.js +423 -1739
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +33 -36
- package/dist/cjs/Column3.js +59 -62
- package/dist/cjs/ConferenceArticleCard.js +37 -38
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +103 -107
- package/dist/cjs/DeckQueue.js +90 -94
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-26baccf1.js} +34 -35
- package/dist/cjs/EventsDeck.js +152 -159
- package/dist/cjs/ExternalResources.js +80 -81
- package/dist/cjs/Feature.js +24 -26
- package/dist/cjs/ForbesHero.js +42 -43
- package/dist/cjs/GridContent.js +304 -190
- package/dist/cjs/GridHero.js +44 -45
- package/dist/cjs/GroupDeck.js +59 -60
- package/dist/cjs/HamMagazine.js +141 -146
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +72 -73
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +73 -78
- package/dist/cjs/IssueDeck.js +72 -77
- package/dist/cjs/IssueLanding.js +93 -96
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -41
- package/dist/cjs/MasterDeck.js +80 -81
- package/dist/cjs/MediaSeriesLanding.js +1137 -1228
- package/dist/cjs/NavDvm.js +74 -79
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +148 -153
- package/dist/cjs/NavNative.js +145 -153
- package/dist/cjs/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +72 -73
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +1205 -115
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +40 -43
- package/dist/cjs/PubToc.js +15 -16
- package/dist/cjs/PublicationDeck.js +62 -67
- package/dist/cjs/PublicationLanding.js +135 -139
- package/dist/cjs/QueueDeckExpanded.js +1150 -1131
- package/dist/cjs/RecentNews.js +22 -23
- package/dist/cjs/RelatedContent.js +54 -55
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +368 -343
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-34c6cc2b.js → SeriesSlider-8bbc989f.js} +39 -40
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +38 -39
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-cea213aa.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +59 -64
- package/dist/cjs/TaxonomyDescription.js +55 -56
- package/dist/cjs/TemplateNormal.js +74 -75
- package/dist/cjs/ThumbnailCard.js +21 -23
- package/dist/cjs/Ustream.js +30 -31
- package/dist/cjs/VerticalHero.js +16 -17
- package/dist/cjs/VideoProgramLandingPage.js +74 -78
- package/dist/cjs/VideoSeriesCard.js +32 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +49 -50
- package/dist/cjs/VideoSeriesListing.js +82 -81
- package/dist/cjs/View.js +342 -264
- package/dist/cjs/YahooHero.js +41 -42
- package/dist/cjs/YoutubeGroup.js +66 -67
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
- package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +20 -20
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-f1821260.js} +26 -17
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
- package/dist/cjs/{index-060c5d65.js → index-bc88f898.js} +1039 -1005
- package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
- package/dist/cjs/{index-50be6759.js → index-e2e62963.js} +10 -26
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-e32d3e8e.js} +7 -4
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
- package/dist/cjs/index.js +164 -169
- package/dist/cjs/{inherits-c2065b95.js → inherits-452ff02c.js} +19 -19
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
- package/dist/cjs/main-02daeefe.js +862 -0
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-725500bc.js} +36 -36
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +1 -1
- 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 +23 -23
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +23 -23
- package/dist/esm/{ADInfeed-4bf3b2f9.js → ADInfeed-bbdd5398.js} +6 -6
- package/dist/esm/ADSkyscraper.js +23 -23
- package/dist/esm/ADSponsoredResources.js +23 -23
- package/dist/esm/ADWebcast.js +23 -23
- package/dist/esm/ADWelcome.js +20 -20
- package/dist/esm/{ADlgInfeed-a3377c4a.js → ADlgInfeed-4473ee3b.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +92 -24
- package/dist/esm/AdSlotsProvider.js +922 -20
- package/dist/esm/AlgoliaSearch.js +505 -599
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +50 -50
- package/dist/esm/ArticleSeriesLandingPage.js +32 -32
- package/dist/esm/ArticleSeriesListing.js +34 -34
- package/dist/esm/Auth.js +375 -595
- package/dist/esm/AuthWrapper.js +396 -1711
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-34b16174.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-e9b4ddcf.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +24 -24
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +21 -21
- package/dist/esm/Column3.js +39 -39
- package/dist/esm/ConferenceArticleCard.js +22 -22
- package/dist/esm/DeckContent.js +57 -57
- package/dist/esm/DeckQueue.js +50 -50
- package/dist/esm/{Dfp-2c43d2a0.js → Dfp-b7236041.js} +15 -15
- package/dist/esm/EventsDeck.js +67 -67
- package/dist/esm/ExternalResources.js +48 -48
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +200 -82
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +39 -39
- package/dist/esm/Hero.js +4 -4
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -47
- package/dist/esm/HorizontalHero.js +5 -5
- package/dist/esm/IssueContentDeck.js +27 -27
- package/dist/esm/IssueDeck.js +37 -37
- package/dist/esm/IssueLanding.js +82 -84
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +22 -22
- package/dist/esm/MasterDeck.js +45 -45
- package/dist/esm/MediaSeriesLanding.js +663 -751
- package/dist/esm/NavDvm.js +16 -16
- package/dist/esm/NavMagazine.js +44 -44
- package/dist/esm/NavNative.js +49 -49
- package/dist/esm/OncliveHero.js +5 -4
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +1155 -65
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +32 -34
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +24 -24
- package/dist/esm/PublicationLanding.js +76 -76
- package/dist/esm/QueueDeckExpanded.js +1103 -1084
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +35 -35
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +368 -343
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-5d5c08f4.js → SeriesSlider-a866bb21.js} +14 -14
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-03c3e869.js} +12 -12
- package/dist/esm/TaxonomyCard.js +25 -25
- package/dist/esm/TaxonomyDescription.js +46 -46
- package/dist/esm/TemplateNormal.js +50 -50
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +14 -14
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +54 -54
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +38 -38
- package/dist/esm/VideoSeriesListing.js +39 -37
- package/dist/esm/View.js +174 -92
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +26 -26
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
- package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-4877b617.js} +33 -33
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
- package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
- package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-bd800589.js} +25 -16
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-41a678ea.js} +4 -4
- package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
- package/dist/esm/{index-98ca9cec.js → index-aaa2dae0.js} +11 -26
- package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
- package/dist/esm/{index-01d53c17.js → index-f2a0d400.js} +688 -647
- package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
- package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
- package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
- package/dist/esm/{index.esm-9b042655.js → index.esm-f8aaeeeb.js} +7 -4
- package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
- package/dist/esm/index.js +122 -124
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{inherits-a41fe93f.js → inherits-cf8dde54.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
- package/dist/esm/main-e4a934b2.js +851 -0
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-4330ccdc.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-a286cf0c.js → typeof-6435ba1c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +111 -110
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/main-d4165069.js +0 -961
- package/dist/esm/stringify-59c8f690.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as isSymbol_1, _ as _root, i as isObject_1, b as _Symbol } from './isSymbol-
|
|
2
|
-
import { i as isFunction_1, e as eq_1 } from './eq-
|
|
1
|
+
import { a as isSymbol_1, _ as _root, i as isObject_1, b as _Symbol } from './isSymbol-1981418f.js';
|
|
2
|
+
import { i as isFunction_1, e as eq_1 } from './eq-b470f743.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Checks if `value` is classified as an `Array` object.
|
|
@@ -80,10 +80,10 @@ function isMasked(func) {
|
|
|
80
80
|
var _isMasked = isMasked;
|
|
81
81
|
|
|
82
82
|
/** Used for built-in method references. */
|
|
83
|
-
var funcProto
|
|
83
|
+
var funcProto = Function.prototype;
|
|
84
84
|
|
|
85
85
|
/** Used to resolve the decompiled source of functions. */
|
|
86
|
-
var funcToString
|
|
86
|
+
var funcToString = funcProto.toString;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* Converts `func` to its source code.
|
|
@@ -95,7 +95,7 @@ var funcToString$1 = funcProto$1.toString;
|
|
|
95
95
|
function toSource(func) {
|
|
96
96
|
if (func != null) {
|
|
97
97
|
try {
|
|
98
|
-
return funcToString
|
|
98
|
+
return funcToString.call(func);
|
|
99
99
|
} catch (e) {}
|
|
100
100
|
try {
|
|
101
101
|
return (func + '');
|
|
@@ -116,18 +116,18 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
|
116
116
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
117
117
|
|
|
118
118
|
/** Used for built-in method references. */
|
|
119
|
-
var funcProto = Function.prototype,
|
|
120
|
-
objectProto
|
|
119
|
+
var funcProto$1 = Function.prototype,
|
|
120
|
+
objectProto = Object.prototype;
|
|
121
121
|
|
|
122
122
|
/** Used to resolve the decompiled source of functions. */
|
|
123
|
-
var funcToString = funcProto.toString;
|
|
123
|
+
var funcToString$1 = funcProto$1.toString;
|
|
124
124
|
|
|
125
125
|
/** Used to check objects for own properties. */
|
|
126
|
-
var hasOwnProperty
|
|
126
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
127
127
|
|
|
128
128
|
/** Used to detect if a method is native. */
|
|
129
129
|
var reIsNative = RegExp('^' +
|
|
130
|
-
funcToString.call(hasOwnProperty
|
|
130
|
+
funcToString$1.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
|
131
131
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
132
132
|
);
|
|
133
133
|
|
|
@@ -216,7 +216,7 @@ function hashDelete(key) {
|
|
|
216
216
|
var _hashDelete = hashDelete;
|
|
217
217
|
|
|
218
218
|
/** Used to stand-in for `undefined` hash values. */
|
|
219
|
-
var HASH_UNDEFINED
|
|
219
|
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
220
220
|
|
|
221
221
|
/** Used for built-in method references. */
|
|
222
222
|
var objectProto$1 = Object.prototype;
|
|
@@ -237,7 +237,7 @@ function hashGet(key) {
|
|
|
237
237
|
var data = this.__data__;
|
|
238
238
|
if (_nativeCreate) {
|
|
239
239
|
var result = data[key];
|
|
240
|
-
return result === HASH_UNDEFINED
|
|
240
|
+
return result === HASH_UNDEFINED ? undefined : result;
|
|
241
241
|
}
|
|
242
242
|
return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
|
|
243
243
|
}
|
|
@@ -245,10 +245,10 @@ function hashGet(key) {
|
|
|
245
245
|
var _hashGet = hashGet;
|
|
246
246
|
|
|
247
247
|
/** Used for built-in method references. */
|
|
248
|
-
var objectProto = Object.prototype;
|
|
248
|
+
var objectProto$2 = Object.prototype;
|
|
249
249
|
|
|
250
250
|
/** Used to check objects for own properties. */
|
|
251
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
251
|
+
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* Checks if a hash value for `key` exists.
|
|
@@ -261,13 +261,13 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
|
|
261
261
|
*/
|
|
262
262
|
function hashHas(key) {
|
|
263
263
|
var data = this.__data__;
|
|
264
|
-
return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
|
|
264
|
+
return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$2.call(data, key);
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
var _hashHas = hashHas;
|
|
268
268
|
|
|
269
269
|
/** Used to stand-in for `undefined` hash values. */
|
|
270
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
270
|
+
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
273
|
* Sets the hash `key` to `value`.
|
|
@@ -282,7 +282,7 @@ var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
|
282
282
|
function hashSet(key, value) {
|
|
283
283
|
var data = this.__data__;
|
|
284
284
|
this.size += this.has(key) ? 0 : 1;
|
|
285
|
-
data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
|
|
285
|
+
data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
|
|
286
286
|
return this;
|
|
287
287
|
}
|
|
288
288
|
|
|
@@ -765,7 +765,7 @@ function arrayMap(array, iteratee) {
|
|
|
765
765
|
var _arrayMap = arrayMap;
|
|
766
766
|
|
|
767
767
|
/** Used as references for various `Number` constants. */
|
|
768
|
-
var INFINITY
|
|
768
|
+
var INFINITY = 1 / 0;
|
|
769
769
|
|
|
770
770
|
/** Used to convert symbols to primitives and strings. */
|
|
771
771
|
var symbolProto = _Symbol ? _Symbol.prototype : undefined,
|
|
@@ -792,7 +792,7 @@ function baseToString(value) {
|
|
|
792
792
|
return symbolToString ? symbolToString.call(value) : '';
|
|
793
793
|
}
|
|
794
794
|
var result = (value + '');
|
|
795
|
-
return (result == '0' && (1 / value) == -INFINITY
|
|
795
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
var _baseToString = baseToString;
|
|
@@ -842,7 +842,7 @@ function castPath(value, object) {
|
|
|
842
842
|
var _castPath = castPath;
|
|
843
843
|
|
|
844
844
|
/** Used as references for various `Number` constants. */
|
|
845
|
-
var INFINITY = 1 / 0;
|
|
845
|
+
var INFINITY$1 = 1 / 0;
|
|
846
846
|
|
|
847
847
|
/**
|
|
848
848
|
* Converts `value` to a string key if it's not a string or symbol.
|
|
@@ -856,7 +856,7 @@ function toKey(value) {
|
|
|
856
856
|
return value;
|
|
857
857
|
}
|
|
858
858
|
var result = (value + '');
|
|
859
|
-
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
859
|
+
return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
var _toKey = toKey;
|
package/dist/esm/getQuery.js
CHANGED
|
@@ -8,9 +8,9 @@ var getQuery = function getQuery(type) {
|
|
|
8
8
|
|
|
9
9
|
switch (type) {
|
|
10
10
|
case 'related':
|
|
11
|
-
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
|
|
11
|
+
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n slides[]{\n ...,\n slideshowImage{\n ...,\n "width": asset->.metadata.dimensions.width,\n "height": asset->.metadata.dimensions.height,\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
|
|
12
12
|
case 'article':
|
|
13
|
-
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n showSocialShare,\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
|
|
13
|
+
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n slides[]{\n ...,\n slideshowImage{\n ...,\n "width": asset->.metadata.dimensions.width,\n "height": asset->.metadata.dimensions.height,\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
|
|
14
14
|
case 'publication':
|
|
15
15
|
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
16
16
|
case 'issue':
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
1
|
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
|
|
3
9
|
import { c as cookie } from './index-db3bb315.js';
|
|
4
10
|
import getQuery from './getQuery.js';
|
|
5
|
-
import './es6.string.iterator-bc33758b.js';
|
|
6
|
-
import './_to-object-b50e61c3.js';
|
|
7
|
-
import './web.dom.iterable-4109ff68.js';
|
|
8
|
-
import './_library-528f1934.js';
|
|
9
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
10
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
11
11
|
|
|
12
12
|
var defaultParseOptions = {
|
|
13
13
|
decodeValues: true,
|
|
@@ -284,14 +284,14 @@ function areCookiesEqual(a, b) {
|
|
|
284
284
|
}
|
|
285
285
|
exports.areCookiesEqual = areCookiesEqual;
|
|
286
286
|
/* Functions */
|
|
287
|
-
|
|
287
|
+
|
|
288
288
|
});
|
|
289
289
|
|
|
290
290
|
unwrapExports(utils);
|
|
291
|
-
utils.areCookiesEqual;
|
|
292
|
-
utils.hasSameProperties;
|
|
293
|
-
utils.createCookie;
|
|
294
|
-
utils.isBrowser;
|
|
291
|
+
var utils_1 = utils.areCookiesEqual;
|
|
292
|
+
var utils_2 = utils.hasSameProperties;
|
|
293
|
+
var utils_3 = utils.createCookie;
|
|
294
|
+
var utils_4 = utils.isBrowser;
|
|
295
295
|
|
|
296
296
|
var dist = createCommonjsModule(function (module, exports) {
|
|
297
297
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
@@ -414,11 +414,11 @@ exports.default = {
|
|
|
414
414
|
get: parseCookies,
|
|
415
415
|
destroy: destroyCookie,
|
|
416
416
|
};
|
|
417
|
-
|
|
417
|
+
|
|
418
418
|
});
|
|
419
419
|
|
|
420
420
|
unwrapExports(dist);
|
|
421
|
-
dist.destroyCookie;
|
|
421
|
+
var dist_1 = dist.destroyCookie;
|
|
422
422
|
var dist_2 = dist.setCookie;
|
|
423
423
|
var dist_3 = dist.parseCookies;
|
|
424
424
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
6
4
|
import './_library-528f1934.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
|
|
9
9
|
|
|
10
10
|
var _this = undefined;
|
|
11
11
|
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import 'react';
|
|
2
|
-
export { g as default } from './index-01d53c17.js';
|
|
3
|
-
import './BlockContent-c99c9a8d.js';
|
|
4
|
-
import './entities-932b50cf.js';
|
|
5
|
-
import './slicedToArray-be2f7a22.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './es6.string.iterator-
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import '
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import './extends-6f2fcc99.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-cf8dde54.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-6435ba1c.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import 'react';
|
|
15
17
|
import './events-6c3a7a63.js';
|
|
18
|
+
import './index-41a678ea.js';
|
|
16
19
|
import 'prop-types';
|
|
20
|
+
import 'react-bootstrap/Row';
|
|
21
|
+
import 'react-bootstrap/Col';
|
|
22
|
+
import './moment-e2f9b20c.js';
|
|
17
23
|
import 'next/router';
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './stringify-59c8f690.js';
|
|
22
|
-
import './asyncToGenerator-7f8f9219.js';
|
|
23
|
-
import './_library-528f1934.js';
|
|
24
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
25
|
-
import './Segment.js';
|
|
26
|
-
import './main-d4165069.js';
|
|
27
|
-
import './extends-60e0e1c6.js';
|
|
28
|
-
import './_object-pie-133f504a.js';
|
|
29
|
-
import './index-755f2cc2.js';
|
|
24
|
+
import './isSymbol-1981418f.js';
|
|
25
|
+
import './debounce-9207d8ee.js';
|
|
26
|
+
import './toNumber-2f7a84cd.js';
|
|
30
27
|
import 'react-dom';
|
|
31
|
-
import './
|
|
32
|
-
import './
|
|
33
|
-
import './
|
|
28
|
+
import './index-73819142.js';
|
|
29
|
+
import './urlFor.js';
|
|
30
|
+
import './index-5f7e79e7.js';
|
|
31
|
+
import './main-e4a934b2.js';
|
|
32
|
+
import './entities-7cc3bf45.js';
|
|
33
|
+
import './slicedToArray-641f241f.js';
|
|
34
|
+
import './stringify-4330ccdc.js';
|
|
35
|
+
import './asyncToGenerator-4877b617.js';
|
|
36
|
+
import './Segment.js';
|
|
37
|
+
import './Beam.js';
|
|
38
|
+
import './AdSlot.js';
|
|
39
|
+
import 'react-bootstrap/Button';
|
|
40
|
+
import './BlockContent-e9b4ddcf.js';
|
|
41
|
+
import './index-c7e2ac95.js';
|
|
42
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
34
43
|
import './GroupDeck.js';
|
|
35
|
-
import '
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
44
|
+
import 'react-bootstrap';
|
|
45
|
+
import './iconBase-602d52fe.js';
|
|
46
|
+
import './index.esm-29e48d38.js';
|
|
47
|
+
export { g as default } from './index-f2a0d400.js';
|
|
48
|
+
import './util-7700fc59.js';
|
|
49
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
38
50
|
import 'next/head';
|
|
39
51
|
import 'react-share';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
52
|
+
import './SocialShare.js';
|
|
53
|
+
import './_object-to-array-7e804fce.js';
|
|
42
54
|
import 'react-bootstrap/Pagination';
|
|
43
|
-
import 'react-bootstrap/Button';
|
|
44
|
-
import './AdSlot.js';
|
|
45
|
-
import './debounce-533d9748.js';
|
|
46
|
-
import './isSymbol-a7e9aafe.js';
|
|
47
|
-
import './toNumber-5aeba6e7.js';
|
|
48
|
-
import 'react-bootstrap/Row';
|
|
49
|
-
import 'react-bootstrap/Col';
|
|
50
|
-
import './inherits-a41fe93f.js';
|
|
51
|
-
import './_object-sap-f353c2a9.js';
|
|
52
|
-
import './define-property-fe54dc9f.js';
|
|
53
|
-
import './index.esm-f6156a57.js';
|
|
54
|
-
import './iconBase-ccc56b97.js';
|
|
55
55
|
import 'react-bootstrap/Figure';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
2
|
+
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
3
3
|
|
|
4
4
|
var getContentPlacementUrl = function getContentPlacementUrl(cp) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var cp_url = '';
|
|
6
|
+
if (cp.ancestor && typeof cp.ancestor == 'string') {
|
|
7
|
+
cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
|
|
8
|
+
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
|
|
11
|
+
cp_url += (cp_url === '' ? '' : '/') + cp.parent;
|
|
12
|
+
}
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
return cp_url;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
var getTargeting = function getTargeting(props) {
|
|
@@ -90,9 +90,6 @@ var getTargeting = function getTargeting(props) {
|
|
|
90
90
|
if (document_groups && prevUrl && prevUrl.length) {
|
|
91
91
|
document_groups.forEach(function (item) {
|
|
92
92
|
var path = item.path;
|
|
93
|
-
if (cpModificationRequired) {
|
|
94
|
-
path = getContentPlacementUrl(item);
|
|
95
|
-
}
|
|
96
93
|
|
|
97
94
|
var previous_url_to_check = prevUrl;
|
|
98
95
|
if (prevUrl.includes('?')) {
|
|
@@ -100,6 +97,14 @@ var getTargeting = function getTargeting(props) {
|
|
|
100
97
|
}
|
|
101
98
|
|
|
102
99
|
if (previous_url_to_check.endsWith(path)) {
|
|
100
|
+
if (item.adTargetingURL) {
|
|
101
|
+
path = item.adTargetingURL;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (cpModificationRequired) {
|
|
105
|
+
path = getContentPlacementUrl(item);
|
|
106
|
+
}
|
|
107
|
+
|
|
103
108
|
document_group_urls.push(path);
|
|
104
109
|
}
|
|
105
110
|
});
|
|
@@ -108,11 +113,15 @@ var getTargeting = function getTargeting(props) {
|
|
|
108
113
|
if (document_groups) {
|
|
109
114
|
if (document_group_urls.length === 0) {
|
|
110
115
|
document_group_urls = document_groups.map(function (item) {
|
|
111
|
-
return cpModificationRequired ? getContentPlacementUrl(item) : item.path;
|
|
116
|
+
return cpModificationRequired ? getContentPlacementUrl(item) : item.adTargetingURL ? item.adTargetingURL : item.path;
|
|
112
117
|
});
|
|
113
118
|
}
|
|
114
119
|
} else {
|
|
115
|
-
|
|
120
|
+
var path = document_group;
|
|
121
|
+
if (article.documentGroup && article.documentGroup.adTargetingURL) {
|
|
122
|
+
path = article.documentGroup.adTargetingURL;
|
|
123
|
+
}
|
|
124
|
+
document_group_urls = [path];
|
|
116
125
|
}
|
|
117
126
|
|
|
118
127
|
var articleKeywords = [].concat(_toConsumableArray(internalTag), _toConsumableArray(userDefinedTag), _toConsumableArray(SponsorshipTag), _toConsumableArray(seoTag));
|
package/dist/esm/getTargeting.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './extends-60e0e1c6.js';
|
|
2
|
-
import './toConsumableArray-6d9a4616.js';
|
|
3
|
-
export { g as default } from './getTargeting-68291ce9.js';
|
|
4
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import './_to-object-
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './core.get-iterator-method-
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_iter-detect-5d49a330.js';
|
|
5
|
+
import './toConsumableArray-43aa614d.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './_object-pie-33c40e79.js';
|
|
8
|
+
import './extends-6f2fcc99.js';
|
|
9
|
+
export { g as default } from './getTargeting-bd800589.js';
|
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
|
|
5
|
-
function _interopNamespace(e) {
|
|
6
|
-
if (e && e.__esModule) return e;
|
|
7
|
-
var n = Object.create(null);
|
|
8
|
-
if (e) {
|
|
9
|
-
Object.keys(e).forEach(function (k) {
|
|
10
|
-
if (k !== 'default') {
|
|
11
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return e[k];
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
n['default'] = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
1
|
+
import { createContext, createElement } from 'react';
|
|
26
2
|
|
|
27
3
|
var DefaultContext = {
|
|
28
4
|
color: undefined,
|
|
@@ -31,7 +7,7 @@ var DefaultContext = {
|
|
|
31
7
|
style: undefined,
|
|
32
8
|
attr: undefined
|
|
33
9
|
};
|
|
34
|
-
var IconContext =
|
|
10
|
+
var IconContext = createContext && createContext(DefaultContext);
|
|
35
11
|
|
|
36
12
|
var __assign = undefined && undefined.__assign || function () {
|
|
37
13
|
__assign = Object.assign || function (t) {
|
|
@@ -58,7 +34,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
58
34
|
|
|
59
35
|
function Tree2Element(tree) {
|
|
60
36
|
return tree && tree.map(function (node, i) {
|
|
61
|
-
return
|
|
37
|
+
return createElement(node.tag, __assign({
|
|
62
38
|
key: i
|
|
63
39
|
}, node.attr), Tree2Element(node.child));
|
|
64
40
|
});
|
|
@@ -66,7 +42,7 @@ function Tree2Element(tree) {
|
|
|
66
42
|
|
|
67
43
|
function GenIcon(data) {
|
|
68
44
|
return function (props) {
|
|
69
|
-
return
|
|
45
|
+
return createElement(IconBase, __assign({
|
|
70
46
|
attr: __assign({}, data.attr)
|
|
71
47
|
}, props), Tree2Element(data.child));
|
|
72
48
|
};
|
|
@@ -82,7 +58,7 @@ function IconBase(props) {
|
|
|
82
58
|
title = props.title,
|
|
83
59
|
svgProps = __rest(props, ["attr", "title"]);
|
|
84
60
|
|
|
85
|
-
return
|
|
61
|
+
return createElement("svg", __assign({
|
|
86
62
|
stroke: "currentColor",
|
|
87
63
|
fill: "currentColor",
|
|
88
64
|
strokeWidth: "0"
|
|
@@ -94,13 +70,12 @@ function IconBase(props) {
|
|
|
94
70
|
height: computedSize,
|
|
95
71
|
width: computedSize,
|
|
96
72
|
xmlns: "http://www.w3.org/2000/svg"
|
|
97
|
-
}), title &&
|
|
73
|
+
}), title && createElement("title", null, title), props.children);
|
|
98
74
|
};
|
|
99
75
|
|
|
100
|
-
return IconContext !== undefined ?
|
|
76
|
+
return IconContext !== undefined ? createElement(IconContext.Consumer, null, function (conf) {
|
|
101
77
|
return elem(conf);
|
|
102
78
|
}) : elem(DefaultContext);
|
|
103
79
|
}
|
|
104
80
|
|
|
105
|
-
|
|
106
|
-
exports.IconContext = IconContext;
|
|
81
|
+
export { GenIcon as G, IconContext as I };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { E as EventEmitter } from './events-6c3a7a63.js';
|
|
3
2
|
import React__default from 'react';
|
|
3
|
+
import { E as EventEmitter } from './events-6c3a7a63.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
|
|
6
6
|
var utils = createCommonjsModule(function (module, exports) {
|
|
@@ -37,7 +37,7 @@ function loadGPTScript() {
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
unwrapExports(utils);
|
|
40
|
-
utils.loadGPTScript;
|
|
40
|
+
var utils_1 = utils.loadGPTScript;
|
|
41
41
|
|
|
42
42
|
var manager = createCommonjsModule(function (module, exports) {
|
|
43
43
|
|
|
@@ -880,7 +880,7 @@ if (Context === null) {
|
|
|
880
880
|
});
|
|
881
881
|
|
|
882
882
|
unwrapExports(dfpslotsprovider);
|
|
883
|
-
dfpslotsprovider.Context;
|
|
883
|
+
var dfpslotsprovider_1 = dfpslotsprovider.Context;
|
|
884
884
|
|
|
885
885
|
var adslot = createCommonjsModule(function (module, exports) {
|
|
886
886
|
|
|
@@ -1176,7 +1176,7 @@ exports.default = _default;
|
|
|
1176
1176
|
});
|
|
1177
1177
|
|
|
1178
1178
|
unwrapExports(adslot);
|
|
1179
|
-
adslot.AdSlot;
|
|
1179
|
+
var adslot_1 = adslot.AdSlot;
|
|
1180
1180
|
|
|
1181
1181
|
var lib = createCommonjsModule(function (module, exports) {
|
|
1182
1182
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import ReactDOM from 'react-dom';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
4
|
+
import ReactDOM from 'react-dom';
|
|
5
5
|
|
|
6
6
|
var event = createCommonjsModule(function (module, exports) {
|
|
7
7
|
|
|
@@ -32,8 +32,8 @@ function off(el, eventName, callback, opts) {
|
|
|
32
32
|
});
|
|
33
33
|
|
|
34
34
|
unwrapExports(event);
|
|
35
|
-
event.on;
|
|
36
|
-
event.off;
|
|
35
|
+
var event_1 = event.on;
|
|
36
|
+
var event_2 = event.off;
|
|
37
37
|
|
|
38
38
|
var scrollParent = createCommonjsModule(function (module, exports) {
|
|
39
39
|
|
|
@@ -598,8 +598,8 @@ exports.forceVisible = forceVisible;
|
|
|
598
598
|
});
|
|
599
599
|
|
|
600
600
|
var LazyLoad = unwrapExports(lib);
|
|
601
|
-
lib.forceVisible;
|
|
602
|
-
lib.forceCheck;
|
|
603
|
-
lib.lazyload;
|
|
601
|
+
var lib_1 = lib.forceVisible;
|
|
602
|
+
var lib_2 = lib.forceCheck;
|
|
603
|
+
var lib_3 = lib.lazyload;
|
|
604
604
|
|
|
605
605
|
export { LazyLoad as L };
|