@mjhls/mjh-framework 1.0.819 → 1.0.820
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +24 -23
- package/dist/cjs/AD300x250x600.js +24 -23
- package/dist/cjs/AD728x90.js +27 -26
- package/dist/cjs/ADFloatingFooter.js +23 -22
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +23 -22
- package/dist/cjs/{ADInfeed-98f6bd26.js → ADInfeed-8b336c67.js} +4 -4
- 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 +20 -19
- package/dist/cjs/{ADlgInfeed-6055cb1b.js → ADlgInfeed-aedd5e18.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +24 -23
- package/dist/cjs/AdSlotsProvider.js +14 -13
- package/dist/cjs/AlgoliaSearch.js +14114 -32
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +18 -17
- package/dist/cjs/ArticleProgramLandingPage.js +49 -47
- package/dist/cjs/ArticleSeriesLandingPage.js +33 -32
- package/dist/cjs/ArticleSeriesListing.js +34 -32
- package/dist/cjs/Auth.js +519 -348
- package/dist/cjs/AuthWrapper.js +19 -19
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-c21aac7f.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +25 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +33 -32
- package/dist/cjs/ConferenceArticleCard.js +10 -15
- package/dist/cjs/DeckContent.js +41 -46
- package/dist/cjs/DeckQueue.js +37 -43
- package/dist/cjs/{Dfp-82f75e49.js → Dfp-93399f8c.js} +15 -14
- package/dist/cjs/EventsDeck.js +28 -28
- package/dist/cjs/ExternalResources.js +48 -46
- package/dist/cjs/Feature.js +8 -12
- package/dist/cjs/ForbesHero.js +21 -23
- package/dist/cjs/GridContent.js +64 -69
- package/dist/cjs/GridHero.js +20 -29
- package/dist/cjs/GroupDeck.js +16 -20
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +5 -16
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -44
- package/dist/cjs/HorizontalHero.js +8 -9
- package/dist/cjs/IssueContentDeck.js +21 -38
- package/dist/cjs/IssueDeck.js +25 -27
- package/dist/cjs/IssueLanding.js +55 -53
- package/dist/cjs/LeftNav.js +22 -21
- package/dist/cjs/MasterDeck.js +35 -34
- package/dist/cjs/MediaSeriesLanding.js +606 -695
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +30 -30
- package/dist/cjs/NavNative.js +32 -32
- package/dist/cjs/NavNormal.js +14 -14
- package/dist/cjs/OncliveHero.js +8 -9
- package/dist/cjs/OncliveLargeHero.js +31 -32
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +60 -63
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +35 -33
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +16 -18
- package/dist/cjs/PublicationLanding.js +30 -33
- package/dist/cjs/QueueDeckExpanded.js +103 -101
- package/dist/cjs/RecentNews.js +4 -7
- package/dist/cjs/RelatedContent.js +11 -14
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +21 -19
- package/dist/cjs/{SeriesSlider-b79e7df9.js → SeriesSlider-d54fa925.js} +11 -16
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-560a666e.js → SocialSearchComponent-ecb4f972.js} +10 -10
- package/dist/cjs/TaxonomyCard.js +18 -21
- package/dist/cjs/TaxonomyDescription.js +46 -44
- package/dist/cjs/TemplateNormal.js +48 -47
- package/dist/cjs/ThumbnailCard.js +10 -14
- package/dist/cjs/Ustream.js +13 -13
- package/dist/cjs/VerticalHero.js +5 -9
- package/dist/cjs/VideoProgramLandingPage.js +52 -50
- package/dist/cjs/VideoSeriesCard.js +18 -17
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +39 -37
- package/dist/cjs/VideoSeriesListing.js +35 -33
- package/dist/cjs/View.js +97 -97
- package/dist/cjs/YahooHero.js +23 -25
- package/dist/cjs/YoutubeGroup.js +24 -28
- 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/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-a195642e.js} +5 -4
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- 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-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +14 -14
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -43
- package/dist/cjs/{getTargeting-ea2ea5e7.js → getTargeting-be6168ad.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-35099a60.js → index-179d21a3.js} +203 -247
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
- package/dist/cjs/{index-5be2866f.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-e08f00ce.js → index-fc2f1ca2.js} +5 -470
- package/dist/cjs/{index.es-13533f24.js → index.es-f3e47207.js} +20 -4
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/index.js +138 -151
- package/dist/cjs/{inherits-0c7830c5.js → inherits-c2065b95.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-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/{main-11ec04d2.js → main-025fdc78.js} +240 -161
- package/dist/cjs/{moment-66a6a284.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- 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-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-9d7f610f.js → typeof-88a668c5.js} +35 -35
- package/dist/cjs/urlFor.js +35 -3
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +24 -23
- package/dist/esm/AD300x250x600.js +24 -23
- package/dist/esm/AD728x90.js +27 -26
- package/dist/esm/ADFloatingFooter.js +23 -22
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +23 -22
- package/dist/esm/{ADInfeed-ba59666b.js → ADInfeed-28b1e946.js} +4 -4
- package/dist/esm/ADSkyscraper.js +23 -22
- package/dist/esm/ADSponsoredResources.js +23 -22
- package/dist/esm/ADWebcast.js +23 -22
- package/dist/esm/ADWelcome.js +20 -19
- package/dist/esm/{ADlgInfeed-995322a1.js → ADlgInfeed-0b474b02.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +24 -23
- package/dist/esm/AdSlotsProvider.js +14 -13
- package/dist/esm/AlgoliaSearch.js +14108 -26
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +18 -17
- package/dist/esm/ArticleProgramLandingPage.js +49 -47
- package/dist/esm/ArticleSeriesLandingPage.js +33 -32
- package/dist/esm/ArticleSeriesListing.js +34 -32
- package/dist/esm/Auth.js +519 -348
- package/dist/esm/AuthWrapper.js +19 -19
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-5ae7409f.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-52cf21c5.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +25 -24
- package/dist/esm/Column2.js +16 -16
- package/dist/esm/Column3.js +33 -32
- package/dist/esm/ConferenceArticleCard.js +10 -15
- package/dist/esm/DeckContent.js +39 -44
- package/dist/esm/DeckQueue.js +35 -41
- package/dist/esm/{Dfp-cde02d85.js → Dfp-43f121ff.js} +15 -14
- package/dist/esm/EventsDeck.js +26 -26
- package/dist/esm/ExternalResources.js +48 -46
- package/dist/esm/Feature.js +8 -12
- package/dist/esm/ForbesHero.js +16 -18
- package/dist/esm/GridContent.js +51 -56
- package/dist/esm/GridHero.js +15 -24
- package/dist/esm/GroupDeck.js +16 -20
- package/dist/esm/HamMagazine.js +27 -27
- package/dist/esm/Hero.js +5 -16
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +46 -44
- package/dist/esm/HorizontalHero.js +8 -9
- package/dist/esm/IssueContentDeck.js +21 -38
- package/dist/esm/IssueDeck.js +24 -26
- package/dist/esm/IssueLanding.js +55 -53
- package/dist/esm/LeftNav.js +22 -21
- package/dist/esm/MasterDeck.js +35 -34
- package/dist/esm/MediaSeriesLanding.js +328 -417
- package/dist/esm/NavDvm.js +13 -13
- package/dist/esm/NavMagazine.js +30 -30
- package/dist/esm/NavNative.js +30 -30
- package/dist/esm/NavNormal.js +14 -14
- package/dist/esm/OncliveHero.js +8 -9
- package/dist/esm/OncliveLargeHero.js +19 -20
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +60 -63
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +35 -33
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +15 -17
- package/dist/esm/PublicationLanding.js +29 -32
- package/dist/esm/QueueDeckExpanded.js +58 -56
- package/dist/esm/RecentNews.js +4 -7
- package/dist/esm/RelatedContent.js +8 -11
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +21 -19
- package/dist/esm/{SeriesSlider-1fa61a74.js → SeriesSlider-8f2aca58.js} +11 -16
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-82ac7d6d.js → SocialSearchComponent-cd38ae60.js} +9 -9
- package/dist/esm/TaxonomyCard.js +16 -19
- package/dist/esm/TaxonomyDescription.js +46 -44
- package/dist/esm/TemplateNormal.js +48 -47
- package/dist/esm/ThumbnailCard.js +8 -12
- package/dist/esm/Ustream.js +13 -13
- package/dist/esm/VerticalHero.js +5 -9
- package/dist/esm/VideoProgramLandingPage.js +51 -49
- package/dist/esm/VideoSeriesCard.js +15 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +39 -37
- package/dist/esm/VideoSeriesListing.js +35 -33
- package/dist/esm/View.js +96 -96
- package/dist/esm/YahooHero.js +19 -21
- package/dist/esm/YoutubeGroup.js +24 -28
- 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/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-b43c695a.js} +5 -4
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- 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-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -43
- package/dist/esm/{getTargeting-831bc794.js → getTargeting-68291ce9.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
- package/dist/esm/{index-acfb8079.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-6c12bdd5.js → index-35bdcc81.js} +6 -6
- package/dist/esm/{index-e887f3d1.js → index-5cc7293b.js} +179 -223
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index-d2f90501.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index.es-7dda2f0a.js → index.es-c6222053.js} +20 -4
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-8016b507.js} +1 -1
- package/dist/esm/index.js +119 -131
- package/dist/esm/{inherits-75d45541.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/{main-aef58dbc.js → main-b5c5aac1.js} +235 -156
- package/dist/esm/{moment-12415288.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-91f9716f.js} +16 -16
- 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-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-af9c50d8.js → typeof-a286cf0c.js} +35 -35
- package/dist/esm/urlFor.js +35 -3
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,44 +1,46 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-5d49a330.js';
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
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';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
16
4
|
import React from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
18
|
-
import 'prop-types';
|
|
5
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
19
6
|
import Container from 'react-bootstrap/Container';
|
|
20
7
|
import Row from 'react-bootstrap/Row';
|
|
21
8
|
import Col from 'react-bootstrap/Col';
|
|
22
9
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
10
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
24
11
|
import { withRouter } from 'next/router';
|
|
25
|
-
import './
|
|
26
|
-
import {
|
|
27
|
-
import './toNumber-2f7a84cd.js';
|
|
28
|
-
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
29
|
-
import 'react-dom';
|
|
12
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
30
14
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
31
|
-
import
|
|
32
|
-
import { L as LazyLoad } from './index-
|
|
33
|
-
import { m as
|
|
34
|
-
import { c as clean_html_1 } from './entities-
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
15
|
+
import urlFor from './urlFor.js';
|
|
16
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
17
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
18
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-28b1e946.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './es6.string.iterator-bc33758b.js';
|
|
22
|
+
import './_to-object-b50e61c3.js';
|
|
23
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
25
|
+
import './_object-pie-133f504a.js';
|
|
26
|
+
import './_object-sap-f353c2a9.js';
|
|
27
|
+
import './define-property-fe54dc9f.js';
|
|
28
|
+
import './typeof-a286cf0c.js';
|
|
29
|
+
import './web.dom.iterable-4109ff68.js';
|
|
30
|
+
import './_is-array-3e99e06e.js';
|
|
31
|
+
import './_library-528f1934.js';
|
|
32
|
+
import './events-6c3a7a63.js';
|
|
33
|
+
import 'prop-types';
|
|
34
|
+
import './isSymbol-a7e9aafe.js';
|
|
35
|
+
import './toNumber-5aeba6e7.js';
|
|
36
|
+
import 'react-dom';
|
|
37
|
+
import './index-0dbff1d1.js';
|
|
38
|
+
import './slicedToArray-be2f7a22.js';
|
|
40
39
|
import './AdSlot.js';
|
|
41
|
-
import
|
|
40
|
+
import './Beam.js';
|
|
41
|
+
import './stringify-59c8f690.js';
|
|
42
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
43
|
+
import './Segment.js';
|
|
42
44
|
|
|
43
45
|
var DeckContent = function (_React$Component) {
|
|
44
46
|
_inherits(DeckContent, _React$Component);
|
|
@@ -54,7 +56,7 @@ var DeckContent = function (_React$Component) {
|
|
|
54
56
|
args[_key] = arguments[_key];
|
|
55
57
|
}
|
|
56
58
|
|
|
57
|
-
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = DeckContent.__proto__ || _Object$getPrototypeOf(DeckContent)).call.apply(_ref, [this].concat(args))), _this), _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord || [], _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.state = {
|
|
59
|
+
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = DeckContent.__proto__ || _Object$getPrototypeOf(DeckContent)).call.apply(_ref, [this].concat(args))), _this), _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord || [], _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.client = _this.props.client, _this.state = {
|
|
58
60
|
data: _this.data,
|
|
59
61
|
dataKeptToCompareNewDatarecord: _this.data,
|
|
60
62
|
per: _this.params ? _this.params.to : 2,
|
|
@@ -115,17 +117,10 @@ var DeckContent = function (_React$Component) {
|
|
|
115
117
|
}
|
|
116
118
|
});
|
|
117
119
|
});
|
|
118
|
-
}, _this.urlFor = function (source) {
|
|
119
|
-
var client = _this.props.client;
|
|
120
|
-
|
|
121
|
-
var builder = imageUrlBuilder(client);
|
|
122
|
-
return builder.image(source).auto('format');
|
|
123
120
|
}, _this.renderCardImage = function (row, page) {
|
|
124
121
|
if (row.thumbnail && row.thumbnail.asset) {
|
|
125
|
-
var url = _this.
|
|
126
|
-
|
|
127
|
-
if (_this.props.imageWidth) url = url.width(_this.props.imageWidth);
|
|
128
|
-
return url.url();
|
|
122
|
+
var url = urlFor({ client: _this.client, source: row.thumbnail, imageHeight: _this.props.imageHeight || null, imageWidth: _this.props.imageWidth || null, imageFit: _this.props.imageFit || null });
|
|
123
|
+
return url;
|
|
129
124
|
} else {
|
|
130
125
|
return _this.defaultImage;
|
|
131
126
|
}
|
|
@@ -351,7 +346,7 @@ var DeckContent = function (_React$Component) {
|
|
|
351
346
|
)
|
|
352
347
|
)
|
|
353
348
|
),
|
|
354
|
-
|
|
349
|
+
main_43 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
355
350
|
);
|
|
356
351
|
}
|
|
357
352
|
})
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,39 +1,41 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-5d49a330.js';
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
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';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
16
4
|
import React from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
18
|
-
import 'prop-types';
|
|
5
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
19
6
|
import Container from 'react-bootstrap/Container';
|
|
20
7
|
import Row from 'react-bootstrap/Row';
|
|
21
8
|
import Col from 'react-bootstrap/Col';
|
|
22
9
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import {
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
11
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
24
12
|
import { withRouter } from 'next/router';
|
|
25
|
-
import './
|
|
26
|
-
import {
|
|
27
|
-
import './
|
|
28
|
-
import { I as InfiniteScroll } from './index.es-
|
|
13
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
14
|
+
import { g as get_1 } from './get-3c308da4.js';
|
|
15
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
16
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
17
|
+
import urlFor from './urlFor.js';
|
|
18
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
19
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './es6.string.iterator-bc33758b.js';
|
|
22
|
+
import './_to-object-b50e61c3.js';
|
|
23
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
25
|
+
import './_object-pie-133f504a.js';
|
|
26
|
+
import './_object-sap-f353c2a9.js';
|
|
27
|
+
import './define-property-fe54dc9f.js';
|
|
28
|
+
import './typeof-a286cf0c.js';
|
|
29
|
+
import './web.dom.iterable-4109ff68.js';
|
|
30
|
+
import './_is-array-3e99e06e.js';
|
|
31
|
+
import './_library-528f1934.js';
|
|
32
|
+
import './events-6c3a7a63.js';
|
|
33
|
+
import 'prop-types';
|
|
29
34
|
import 'react-dom';
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
-
import { g as get_1 } from './get-1e515072.js';
|
|
36
|
-
import './eq-b470f743.js';
|
|
35
|
+
import './isSymbol-a7e9aafe.js';
|
|
36
|
+
import './eq-bdcbf886.js';
|
|
37
|
+
import './toNumber-5aeba6e7.js';
|
|
38
|
+
import './index-0dbff1d1.js';
|
|
37
39
|
|
|
38
40
|
var DeckQueue = function (_React$Component) {
|
|
39
41
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -49,7 +51,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
49
51
|
args[_key] = arguments[_key];
|
|
50
52
|
}
|
|
51
53
|
|
|
52
|
-
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = DeckQueue.__proto__ || _Object$getPrototypeOf(DeckQueue)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.imageHeight = _this.props.imageHeight ? _this.props.imageHeight : 270, _this.state = {
|
|
54
|
+
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = DeckQueue.__proto__ || _Object$getPrototypeOf(DeckQueue)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.client = _this.props.client, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.imageHeight = _this.props.imageHeight ? _this.props.imageHeight : 270, _this.state = {
|
|
53
55
|
data: _this.data,
|
|
54
56
|
per: _this.params ? _this.params.to : 2,
|
|
55
57
|
page: _this.props.currentPage || 1,
|
|
@@ -79,7 +81,6 @@ var DeckQueue = function (_React$Component) {
|
|
|
79
81
|
data = _this$state.data,
|
|
80
82
|
query = _this$state.query,
|
|
81
83
|
page = _this$state.page;
|
|
82
|
-
var client = _this.props.client;
|
|
83
84
|
|
|
84
85
|
|
|
85
86
|
var params = _extends({}, _this.params, { from: from, to: to
|
|
@@ -108,17 +109,10 @@ var DeckQueue = function (_React$Component) {
|
|
|
108
109
|
}
|
|
109
110
|
});
|
|
110
111
|
});
|
|
111
|
-
}, _this.urlFor = function (source) {
|
|
112
|
-
var client = _this.props.client;
|
|
113
|
-
|
|
114
|
-
var builder = imageUrlBuilder(client);
|
|
115
|
-
return builder.image(source).auto('format');
|
|
116
112
|
}, _this.renderCardImage = function (row) {
|
|
117
113
|
if (row.thumbnail && row.thumbnail.asset) {
|
|
118
|
-
var url = _this.
|
|
119
|
-
|
|
120
|
-
if (_this.props.imageWidth) url = url.width(_this.props.imageWidth);
|
|
121
|
-
return url.url();
|
|
114
|
+
var url = urlFor({ client: _this.client, source: row.thumbnail, imageHeight: _this.imageHeight || null, imageWidth: _this.props.imageWidth || null, imageFit: _this.props.imageFit || null });
|
|
115
|
+
return url;
|
|
122
116
|
} else {
|
|
123
117
|
return _this.defaultImage;
|
|
124
118
|
}
|
|
@@ -302,7 +296,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
302
296
|
)
|
|
303
297
|
)
|
|
304
298
|
),
|
|
305
|
-
|
|
299
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
306
300
|
);
|
|
307
301
|
})
|
|
308
302
|
);
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './_to-object-a4107da3.js';
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
4
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
-
import './web.dom.iterable-4439f05a.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
6
2
|
import React, { useState } from 'react';
|
|
7
|
-
import { b as lib_1, a as lib_2 } from './index-acfb8079.js';
|
|
8
3
|
import PropTypes from 'prop-types';
|
|
9
|
-
import './
|
|
10
|
-
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
11
|
-
import './toNumber-2f7a84cd.js';
|
|
12
|
-
import 'react-dom';
|
|
4
|
+
import { b as lib_1, a as lib_2 } from './index-2446af28.js';
|
|
13
5
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
14
|
-
import {
|
|
6
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './web.dom.iterable-4109ff68.js';
|
|
9
|
+
import './es6.string.iterator-bc33758b.js';
|
|
10
|
+
import './_to-object-b50e61c3.js';
|
|
11
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
12
|
+
import './events-6c3a7a63.js';
|
|
13
|
+
import 'react-dom';
|
|
14
|
+
import './isSymbol-a7e9aafe.js';
|
|
15
|
+
import './toNumber-5aeba6e7.js';
|
|
15
16
|
|
|
16
17
|
var AD = function AD(_ref) {
|
|
17
18
|
var networkID = _ref.networkID,
|
|
@@ -19,9 +20,9 @@ var AD = function AD(_ref) {
|
|
|
19
20
|
sizeMapping = _ref.sizeMapping,
|
|
20
21
|
className = _ref.className,
|
|
21
22
|
slotId = _ref.slotId,
|
|
22
|
-
sizes = _ref.sizes
|
|
23
|
-
|
|
24
|
-
_ref$targeting = _ref.targeting,
|
|
23
|
+
sizes = _ref.sizes;
|
|
24
|
+
_ref.minInViewPercent;
|
|
25
|
+
var _ref$targeting = _ref.targeting,
|
|
25
26
|
targeting = _ref$targeting === undefined ? {} : _ref$targeting;
|
|
26
27
|
|
|
27
28
|
var _useState = useState(false),
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-f5ff6f5a.js';
|
|
1
2
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { _ as _export, a as _core } from './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import { _ as
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
9
|
-
import './define-property-8af5f002.js';
|
|
10
|
-
import './web.dom.iterable-4439f05a.js';
|
|
3
|
+
import { _ as _export, a as _core } from './_to-object-b50e61c3.js';
|
|
4
|
+
import { _ as _objectToArray } from './_object-to-array-0f197f89.js';
|
|
5
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
|
|
6
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
7
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
8
|
+
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
11
9
|
import React, { useState, useEffect } from 'react';
|
|
10
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
12
11
|
import Container from 'react-bootstrap/Container';
|
|
12
|
+
import Spinner from 'react-bootstrap/Spinner';
|
|
13
13
|
import Row from 'react-bootstrap/Row';
|
|
14
14
|
import Col from 'react-bootstrap/Col';
|
|
15
15
|
import Card from 'react-bootstrap/Card';
|
|
16
|
-
import './moment-12415288.js';
|
|
17
|
-
import { useRouter } from 'next/router';
|
|
18
|
-
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
19
|
-
import './main-aef58dbc.js';
|
|
20
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
|
|
21
|
-
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
22
|
-
import { _ as _objectToArray } from './_object-to-array-7e804fce.js';
|
|
23
|
-
import Button from 'react-bootstrap/Button';
|
|
24
|
-
import { _ as _defineProperty } from './defineProperty-94fd8bfc.js';
|
|
25
|
-
import Spinner from 'react-bootstrap/Spinner';
|
|
26
16
|
import Form from 'react-bootstrap/Form';
|
|
27
|
-
import
|
|
17
|
+
import Button from 'react-bootstrap/Button';
|
|
18
|
+
import './main-b5c5aac1.js';
|
|
19
|
+
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
28
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
|
+
import { useRouter } from 'next/router';
|
|
22
|
+
import './define-property-fe54dc9f.js';
|
|
23
|
+
import './_object-pie-133f504a.js';
|
|
24
|
+
import './web.dom.iterable-4109ff68.js';
|
|
25
|
+
import './es6.string.iterator-bc33758b.js';
|
|
26
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
27
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
28
|
+
import './moment-bc12cb97.js';
|
|
29
29
|
|
|
30
30
|
// https://github.com/tc39/proposal-object-values-entries
|
|
31
31
|
|
|
@@ -37,13 +37,13 @@ _export(_export.S, 'Object', {
|
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
var entries = _core.Object.entries;
|
|
40
|
+
var entries$1 = _core.Object.entries;
|
|
41
41
|
|
|
42
|
-
var entries
|
|
43
|
-
module.exports = { "default": entries, __esModule: true };
|
|
42
|
+
var entries = createCommonjsModule(function (module) {
|
|
43
|
+
module.exports = { "default": entries$1, __esModule: true };
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
var _Object$entries = unwrapExports(entries
|
|
46
|
+
var _Object$entries = unwrapExports(entries);
|
|
47
47
|
|
|
48
48
|
var clientId = process.env.CVENT_CLIENT_ID;
|
|
49
49
|
var clientSecret = process.env.CVENT_CLIENT_SECRET;
|
|
@@ -333,8 +333,8 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
333
333
|
|
|
334
334
|
var valuesArray = _Object$entries(deckAdvancedFilters).map(function (_ref6, index) {
|
|
335
335
|
var _ref7 = _slicedToArray(_ref6, 2),
|
|
336
|
-
key = _ref7[0]
|
|
337
|
-
|
|
336
|
+
key = _ref7[0];
|
|
337
|
+
_ref7[1];
|
|
338
338
|
|
|
339
339
|
var temp = [];
|
|
340
340
|
for (var evt in data) {
|
|
@@ -1,57 +1,59 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
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 { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
|
-
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './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';
|
|
1
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
16
3
|
import React, { useState, useEffect } from 'react';
|
|
17
|
-
import './
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
20
|
-
import 'react-bootstrap/Col';
|
|
21
|
-
import './moment-12415288.js';
|
|
4
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
5
|
+
import { g as getSerializers } from './index-5cc7293b.js';
|
|
6
|
+
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
22
7
|
import { useRouter } from 'next/router';
|
|
23
|
-
import '
|
|
24
|
-
import './
|
|
25
|
-
import './
|
|
26
|
-
import '
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
29
|
-
import './
|
|
30
|
-
import '
|
|
31
|
-
import
|
|
32
|
-
import '
|
|
33
|
-
import './
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
36
|
-
import './AdSlot.js';
|
|
37
|
-
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
8
|
+
import Button from 'react-bootstrap/Button';
|
|
9
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
+
import './_to-object-b50e61c3.js';
|
|
11
|
+
import './_object-pie-133f504a.js';
|
|
12
|
+
import './web.dom.iterable-4109ff68.js';
|
|
13
|
+
import './es6.string.iterator-bc33758b.js';
|
|
14
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
15
|
+
import 'prop-types';
|
|
16
|
+
import './index-0dbff1d1.js';
|
|
17
|
+
import 'react-bootstrap';
|
|
18
|
+
import './urlFor.js';
|
|
19
|
+
import './index-2446af28.js';
|
|
20
|
+
import './events-6c3a7a63.js';
|
|
38
21
|
import './index-c7e2ac95.js';
|
|
39
|
-
import './
|
|
22
|
+
import './util-3ab476bf.js';
|
|
23
|
+
import './Beam.js';
|
|
24
|
+
import './stringify-59c8f690.js';
|
|
25
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
26
|
+
import './_library-528f1934.js';
|
|
27
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
28
|
+
import './Segment.js';
|
|
29
|
+
import './main-b5c5aac1.js';
|
|
30
|
+
import './index-35bdcc81.js';
|
|
31
|
+
import 'react-dom';
|
|
32
|
+
import './typeof-a286cf0c.js';
|
|
33
|
+
import './_is-array-3e99e06e.js';
|
|
34
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
40
35
|
import './GroupDeck.js';
|
|
41
|
-
import '
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import { g as getSerializers } from './index-e887f3d1.js';
|
|
45
|
-
import './util-7700fc59.js';
|
|
46
|
-
import './brightcove-react-player-loader.es-e1c6b0f2.js';
|
|
36
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
37
|
+
import './moment-bc12cb97.js';
|
|
38
|
+
import './SocialShare.js';
|
|
47
39
|
import 'next/head';
|
|
48
40
|
import 'react-share';
|
|
49
|
-
import './
|
|
50
|
-
import './
|
|
41
|
+
import './_object-to-array-0f197f89.js';
|
|
42
|
+
import './toConsumableArray-6d9a4616.js';
|
|
51
43
|
import 'react-bootstrap/Pagination';
|
|
52
|
-
import
|
|
44
|
+
import './entities-932b50cf.js';
|
|
45
|
+
import './AdSlot.js';
|
|
46
|
+
import './debounce-533d9748.js';
|
|
47
|
+
import './isSymbol-a7e9aafe.js';
|
|
48
|
+
import './toNumber-5aeba6e7.js';
|
|
49
|
+
import 'react-bootstrap/Row';
|
|
50
|
+
import 'react-bootstrap/Col';
|
|
51
|
+
import './inherits-a41fe93f.js';
|
|
52
|
+
import './_object-sap-f353c2a9.js';
|
|
53
|
+
import './define-property-fe54dc9f.js';
|
|
54
|
+
import './index.esm-3fdda599.js';
|
|
55
|
+
import './iconBase-602d52fe.js';
|
|
53
56
|
import 'react-bootstrap/Figure';
|
|
54
|
-
import { m as momentTimezone } from './index-d2f90501.js';
|
|
55
57
|
|
|
56
58
|
var ExternalResources = function ExternalResources(props) {
|
|
57
59
|
var resources = props.resources,
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { m as
|
|
2
|
+
import urlFor from './urlFor.js';
|
|
3
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
5
4
|
import Carousel from 'react-bootstrap/Carousel';
|
|
5
|
+
import './index-0dbff1d1.js';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
7
|
|
|
7
8
|
//Feature query to be used
|
|
8
9
|
// const featureQuery = `*[_type == 'feature' && is_active == true && feature_url == "/"] | order(_updatedAt asc)[0..5]{
|
|
@@ -16,7 +17,8 @@ import Carousel from 'react-bootstrap/Carousel';
|
|
|
16
17
|
var Feature = function Feature(props) {
|
|
17
18
|
var dataset = props.dataset;
|
|
18
19
|
var _props$controls = props.controls,
|
|
19
|
-
controls = _props$controls === undefined ? false : _props$controls
|
|
20
|
+
controls = _props$controls === undefined ? false : _props$controls,
|
|
21
|
+
client = props.client;
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
var checkUrlIsExternal = function checkUrlIsExternal(url) {
|
|
@@ -26,15 +28,9 @@ var Feature = function Feature(props) {
|
|
|
26
28
|
return false;
|
|
27
29
|
};
|
|
28
30
|
|
|
29
|
-
var urlFor = function urlFor(source) {
|
|
30
|
-
var client = props.client;
|
|
31
|
-
|
|
32
|
-
var builder = imageUrlBuilder(client);
|
|
33
|
-
return builder.image(source).auto('format');
|
|
34
|
-
};
|
|
35
31
|
//image width updated.
|
|
36
32
|
var imageWidth = 450;
|
|
37
|
-
if (
|
|
33
|
+
if (main_43) {
|
|
38
34
|
imageWidth = 225;
|
|
39
35
|
}
|
|
40
36
|
|
|
@@ -95,7 +91,7 @@ var Feature = function Feature(props) {
|
|
|
95
91
|
React.createElement('img', {
|
|
96
92
|
style: { maxHeight: '375px', minHeight: '300px', objectFit: 'cover', paddingLeft: '50%' },
|
|
97
93
|
className: 'd-block w-100',
|
|
98
|
-
src: urlFor(feature_img
|
|
94
|
+
src: urlFor({ client: client, source: feature_img, imageWidth: imageWidth }),
|
|
99
95
|
alt: feature_alt
|
|
100
96
|
}),
|
|
101
97
|
React.createElement(
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-a4107da3.js';
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
4
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
-
import './web.dom.iterable-4439f05a.js';
|
|
6
1
|
import React from 'react';
|
|
7
|
-
import '
|
|
8
|
-
import
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
|
+
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
5
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './index-0dbff1d1.js';
|
|
8
|
+
import './slicedToArray-be2f7a22.js';
|
|
9
|
+
import './web.dom.iterable-4109ff68.js';
|
|
10
|
+
import './es6.string.iterator-bc33758b.js';
|
|
11
|
+
import './_to-object-b50e61c3.js';
|
|
12
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
9
13
|
import 'react-dom';
|
|
10
|
-
import
|
|
11
|
-
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
12
|
-
import './slicedToArray-641f241f.js';
|
|
13
|
-
import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
|
|
14
|
+
import 'prop-types';
|
|
14
15
|
|
|
15
16
|
var fbsHero = function fbsHero(props) {
|
|
16
17
|
var removeTimeStamp = props.removeTimeStamp;
|
|
@@ -20,15 +21,12 @@ var fbsHero = function fbsHero(props) {
|
|
|
20
21
|
|
|
21
22
|
var client = props.client;
|
|
22
23
|
|
|
23
|
-
var builder = imageUrlBuilder(client);
|
|
24
|
-
function urlFor(source) {
|
|
25
|
-
return builder.image(source).auto('format');
|
|
26
|
-
}
|
|
27
24
|
|
|
28
25
|
var topArticleThumbnail = '';
|
|
29
26
|
var topArticleAltText = topArticle.title;
|
|
30
27
|
if (topArticle.thumbnail && topArticle.thumbnail.asset) {
|
|
31
|
-
topArticleThumbnail = urlFor(topArticle.thumbnail.asset
|
|
28
|
+
topArticleThumbnail = urlFor({ client: client, source: topArticle.thumbnail.asset, imageWidth: 600 });
|
|
29
|
+
|
|
32
30
|
topArticleAltText = topArticle.thumbnail.asset.originalFileName;
|
|
33
31
|
} else if (props.thumbnail) {
|
|
34
32
|
topArticleThumbnail = props.thumbnail;
|
|
@@ -84,7 +82,7 @@ var fbsHero = function fbsHero(props) {
|
|
|
84
82
|
var articleThumbnail = '';
|
|
85
83
|
var articleAltText = article.title;
|
|
86
84
|
if (article.thumbnail && article.thumbnail.asset) {
|
|
87
|
-
articleThumbnail = urlFor(article.thumbnail.asset
|
|
85
|
+
articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 });
|
|
88
86
|
articleAltText = article.thumbnail.asset.originalFileName;
|
|
89
87
|
} else if (props.thumbnail) {
|
|
90
88
|
articleThumbnail = props.thumbnail;
|
|
@@ -127,7 +125,7 @@ var fbsHero = function fbsHero(props) {
|
|
|
127
125
|
React.createElement(
|
|
128
126
|
'style',
|
|
129
127
|
{ jsx: 'true' },
|
|
130
|
-
'\n .author-wrapper {\n text-align: center;\n }\n .article-hero {\n margin-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n padding-bottom: 0.5rem;\n }\n .fbs-top-article {\n width: 100%;\n margin-bottom: 1rem;\n padding-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n }\n .fbs-top-article img {\n width: 100%;\n\n max-height:
|
|
128
|
+
'\n .author-wrapper {\n text-align: center;\n }\n .article-hero {\n margin-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n padding-bottom: 0.5rem;\n }\n .fbs-top-article {\n width: 100%;\n margin-bottom: 1rem;\n padding-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n }\n .fbs-top-article img {\n width: 100%;\n\n max-height: 400px;\n min-height: 275px;\n object-fit: cover;\n }\n\n .fbs-top-article--body {\n }\n .fbs-top-article--body h1 {\n color: #252525 !important;\n font-size: 1.6rem;\n font-weight: bold;\n text-align: center;\n margin-top: 1rem;\n }\n .fbs-top-article--body p {\n text-align: center;\n margin-bottom: 0;\n color: #252525;\n }\n .fbs-top-article--body p:first-of-type {\n font-size: 0.9rem;\n }\n .fbs-sub-article-container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n padding-top: 1.75rem;\n margin-left: -1rem;\n margin-rigth: -1rem;\n }\n .fbs-sub-article {\n width: calc(50% - 2rem);\n min-width: 350px;\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n margin: 0 1rem 1.75rem;\n }\n .fbs-sub-article img {\n margin-right: 1rem;\n width: 145px;\n min-width: 145px;\n max-height: 100px;\n object-fit: cover;\n }\n .fbs-sub-article p {\n margin-bottom: 0;\n font-size: 0.8rem;\n color: #252525;\n }\n .fbs-sub-article .fbs-sub-article--title {\n font-weight: bold;\n font-size: 1rem;\n color: #252525;\n }\n '
|
|
131
129
|
)
|
|
132
130
|
);
|
|
133
131
|
};
|