@mjhls/mjh-framework 1.0.783 → 1.0.784-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 +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +26 -28
- package/dist/cjs/AD300x250x600.js +26 -28
- package/dist/cjs/AD728x90.js +29 -31
- package/dist/cjs/ADFloatingFooter.js +28 -30
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +28 -30
- package/dist/cjs/{ADInfeed-d1eceaf2.js → ADInfeed-5b042ade.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +28 -30
- package/dist/cjs/ADSponsoredResources.js +28 -30
- package/dist/cjs/ADWebcast.js +28 -30
- package/dist/cjs/ADWelcome.js +29 -31
- package/dist/cjs/{ADlgInfeed-24c693d8.js → ADlgInfeed-e92b6f9f.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +31 -33
- package/dist/cjs/AdSlotsProvider.js +15 -17
- package/dist/cjs/AlphabeticList.js +24 -25
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +55 -57
- package/dist/cjs/ArticleSeriesLandingPage.js +37 -39
- package/dist/cjs/ArticleSeriesListing.js +60 -61
- package/dist/cjs/Auth.js +333 -820
- package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +8 -9
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +82 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +32 -36
- package/dist/cjs/Column3.js +54 -58
- package/dist/cjs/ConferenceArticleCard.js +23 -24
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +93 -98
- package/dist/cjs/DeckQueue.js +87 -91
- package/dist/cjs/{Dfp-a17e00fa.js → Dfp-b807d8fa.js} +31 -32
- package/dist/cjs/EventsDeck.js +131 -138
- package/dist/cjs/ExternalResources.js +78 -80
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +177 -182
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +58 -59
- package/dist/cjs/HamMagazine.js +130 -136
- package/dist/cjs/Header.js +14 -14
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +69 -71
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +72 -77
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +39 -41
- package/dist/cjs/LeftNav.js +35 -38
- package/dist/cjs/MasterDeck.js +69 -71
- package/dist/cjs/MediaSeriesLanding.js +38 -41
- package/dist/cjs/NavDvm.js +74 -80
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +137 -143
- package/dist/cjs/NavNative.js +126 -135
- package/dist/cjs/NavNormal.js +47 -53
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -67
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +105 -107
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +38 -40
- package/dist/cjs/PubToc.js +15 -17
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +167 -92
- package/dist/cjs/QueueDeckExpanded.js +291 -292
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +24 -25
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +6 -7
- package/dist/cjs/SeriesListingDeck.js +37 -37
- package/dist/cjs/{SeriesSlider-193a2958.js → SeriesSlider-f662f1f5.js} +37 -38
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +34 -36
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +57 -62
- package/dist/cjs/TaxonomyDescription.js +52 -54
- package/dist/cjs/TemplateNormal.js +72 -74
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +26 -27
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoProgramLandingPage.js +71 -76
- package/dist/cjs/VideoSeriesCard.js +31 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -19
- package/dist/cjs/VideoSeriesLandingPage.js +45 -47
- package/dist/cjs/VideoSeriesListing.js +77 -78
- package/dist/cjs/View.js +256 -260
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +62 -63
- package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
- package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-5762f850.js} +1 -1
- package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
- package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-140e5f89.js} +61 -13
- 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-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
- package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
- package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +75 -138
- package/dist/cjs/getRootDocGroup.js +6 -7
- package/dist/cjs/getSerializers.js +43 -44
- package/dist/cjs/{getTargeting-497b581d.js → getTargeting-9af0ef69.js} +3 -3
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
- package/dist/cjs/{index-8ef858d4.js → index-76417d82.js} +911 -934
- package/dist/cjs/{index-0e4427c8.js → index-8bf6c863.js} +11 -12
- package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
- package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +160 -164
- package/dist/cjs/{inherits-2eb23889.js → inherits-c9f99d47.js} +5 -5
- package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-fc2922d0.js} +23 -72
- package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
- 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-db24842a.js → slicedToArray-8f385299.js} +4 -4
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
- package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -24
- package/dist/esm/AD300x250x600.js +23 -24
- package/dist/esm/AD728x90.js +26 -27
- package/dist/esm/ADFloatingFooter.js +25 -26
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +25 -26
- package/dist/esm/{ADInfeed-c12cd1ce.js → ADInfeed-eb7bdd41.js} +9 -9
- package/dist/esm/ADSkyscraper.js +25 -26
- package/dist/esm/ADSponsoredResources.js +25 -26
- package/dist/esm/ADWebcast.js +25 -26
- package/dist/esm/ADWelcome.js +26 -27
- package/dist/esm/{ADlgInfeed-246a8787.js → ADlgInfeed-f2ac31d1.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +22 -23
- package/dist/esm/AdSlotsProvider.js +12 -13
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +52 -53
- package/dist/esm/ArticleSeriesLandingPage.js +34 -35
- package/dist/esm/ArticleSeriesListing.js +55 -55
- package/dist/esm/Auth.js +316 -799
- package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-34b16174.js} +11 -11
- package/dist/esm/Beam.js +8 -9
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +78 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -27
- package/dist/esm/Column3.js +47 -48
- package/dist/esm/ConferenceArticleCard.js +19 -19
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +75 -76
- package/dist/esm/DeckQueue.js +65 -65
- package/dist/esm/{Dfp-988dbcaa.js → Dfp-ebc4b22f.js} +21 -21
- package/dist/esm/EventsDeck.js +84 -84
- package/dist/esm/ExternalResources.js +71 -72
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -140
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +104 -105
- package/dist/esm/Header.js +10 -8
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +66 -67
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +36 -37
- package/dist/esm/LeftNav.js +31 -32
- package/dist/esm/MasterDeck.js +63 -64
- package/dist/esm/MediaSeriesLanding.js +31 -32
- package/dist/esm/NavDvm.js +56 -57
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +113 -114
- package/dist/esm/NavNative.js +99 -100
- package/dist/esm/NavNormal.js +35 -36
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +101 -102
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +35 -36
- package/dist/esm/PubToc.js +12 -13
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +131 -52
- package/dist/esm/QueueDeckExpanded.js +271 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -7
- package/dist/esm/SeriesListingDeck.js +31 -31
- package/dist/esm/{SeriesSlider-6a1081ff.js → SeriesSlider-9245785f.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-a2ae84d1.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +47 -48
- package/dist/esm/TemplateNormal.js +66 -67
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +61 -62
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +15 -16
- package/dist/esm/VideoSeriesLandingPage.js +38 -39
- package/dist/esm/VideoSeriesListing.js +71 -71
- package/dist/esm/View.js +240 -240
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +46 -46
- package/dist/esm/{_is-array-674f71ec.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-5d49a330.js} +2 -2
- package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-7e804fce.js} +1 -1
- package/dist/esm/{_to-object-97770c52.js → _to-object-a4107da3.js} +5 -5
- package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-fc1c2e29.js} +53 -9
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{define-property-ec6d528d.js → define-property-8af5f002.js} +1 -1
- package/dist/esm/{defineProperty-ea516b15.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-c990c18c.js} +3 -3
- package/dist/esm/{extends-31d65aba.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +70 -133
- package/dist/esm/getRootDocGroup.js +6 -7
- package/dist/esm/getSerializers.js +43 -44
- package/dist/esm/{getTargeting-2d402d66.js → getTargeting-7211f12c.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
- package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
- package/dist/esm/{index-888f9253.js → index-a9e53f80.js} +6 -6
- package/dist/esm/{index-9b2f6ac4.js → index-c1374f98.js} +853 -869
- package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +129 -130
- package/dist/esm/{inherits-5906fbea.js → inherits-fb9b6e8f.js} +5 -5
- package/dist/esm/{keys-a0b0c7a4.js → keys-8eda7a5c.js} +2 -2
- package/dist/esm/{lodash-ad27652f.js → lodash-17fdfebb.js} +23 -72
- package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-641f241f.js} +4 -4
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/{stringify-d4839bab.js → stringify-4330ccdc.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-43aa614d.js} +4 -4
- package/dist/esm/{typeof-e9cea9e8.js → typeof-6435ba1c.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/_set-species-a8cfdb84.js +0 -57
- package/dist/esm/_set-species-494ed292.js +0 -52
package/dist/esm/NavNative.js
CHANGED
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import './_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 React__default, { useRef, useState, useEffect } from 'react';
|
|
9
|
+
import 'prop-types';
|
|
3
10
|
import Container from 'react-bootstrap/Container';
|
|
11
|
+
import { i as isObject_1 } from './isSymbol-1981418f.js';
|
|
12
|
+
import { t as toNumber_1 } from './toNumber-2f7a84cd.js';
|
|
13
|
+
import { c as main_37 } from './main-e4a934b2.js';
|
|
14
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
15
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
16
|
+
import Segment from './Segment.js';
|
|
17
|
+
import { i as isFunction_1, e as eq_1 } from './eq-b470f743.js';
|
|
18
|
+
import './react-social-icons-a7d5c5c7.js';
|
|
19
|
+
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
20
|
+
import Button from 'react-bootstrap/Button';
|
|
21
|
+
import Form from 'react-bootstrap/Form';
|
|
4
22
|
import Nav from 'react-bootstrap/Nav';
|
|
5
23
|
import Navbar from 'react-bootstrap/Navbar';
|
|
6
24
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
7
|
-
import { N as NavFooter } from './NavFooter-
|
|
8
|
-
import { S as SocialNavFooter, G as GoSearch } from './index.esm-
|
|
9
|
-
import Segment from './Segment.js';
|
|
25
|
+
import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
26
|
+
import { S as SocialNavFooter, G as GoSearch } from './index.esm-fd746768.js';
|
|
10
27
|
import SocialIcons from './SocialIcons.js';
|
|
11
|
-
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
12
|
-
import Form from 'react-bootstrap/Form';
|
|
13
28
|
import FormControl from 'react-bootstrap/FormControl';
|
|
14
|
-
import Button from 'react-bootstrap/Button';
|
|
15
|
-
import { c as main_41 } from './main-1450d277.js';
|
|
16
|
-
import { i as isFunction_1, e as eq_1 } from './eq-b470f743.js';
|
|
17
|
-
import { i as isObject_1 } from './isSymbol-1981418f.js';
|
|
18
|
-
import { t as toNumber_1 } from './toNumber-2f7a84cd.js';
|
|
19
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
20
|
-
import './web.dom.iterable-035980f3.js';
|
|
21
|
-
import './es6.string.iterator-aa6068a3.js';
|
|
22
|
-
import './_to-object-97770c52.js';
|
|
23
|
-
import './core.get-iterator-method-d1d5ed02.js';
|
|
24
|
-
import './react-social-icons-91f9716f.js';
|
|
25
|
-
import 'prop-types';
|
|
26
|
-
import './asyncToGenerator-2bd4099a.js';
|
|
27
|
-
import './_library-528f1934.js';
|
|
28
|
-
import './_set-species-494ed292.js';
|
|
29
|
-
import './_iter-detect-48516cd3.js';
|
|
30
29
|
|
|
31
30
|
/**
|
|
32
31
|
* The base implementation of `_.slice` without an iteratee call guard.
|
|
@@ -319,10 +318,10 @@ var NavNative = function NavNative(props) {
|
|
|
319
318
|
dataObject = props.dataObject,
|
|
320
319
|
subNav = props.subNav,
|
|
321
320
|
_props$website = props.website,
|
|
322
|
-
website = _props$website === undefined ? {} : _props$website
|
|
323
|
-
props.showLogin
|
|
324
|
-
props.userData
|
|
325
|
-
|
|
321
|
+
website = _props$website === undefined ? {} : _props$website,
|
|
322
|
+
_props$showLogin = props.showLogin,
|
|
323
|
+
_props$userData = props.userData,
|
|
324
|
+
_props$socialFooterNa = props.socialFooterNav,
|
|
326
325
|
socialFooterNav = _props$socialFooterNa === undefined ? false : _props$socialFooterNa,
|
|
327
326
|
_props$socialIconVari = props.socialIconVariant,
|
|
328
327
|
socialIconVariant = _props$socialIconVari === undefined ? 'dark' : _props$socialIconVari;
|
|
@@ -448,21 +447,21 @@ var NavNative = function NavNative(props) {
|
|
|
448
447
|
// Search Component
|
|
449
448
|
var socialSearchComponent = function socialSearchComponent(type) {
|
|
450
449
|
if (type === 'mobile') {
|
|
451
|
-
return
|
|
450
|
+
return React__default.createElement(
|
|
452
451
|
'div',
|
|
453
452
|
{ id: 'search-content-mobile' },
|
|
454
|
-
|
|
453
|
+
React__default.createElement(
|
|
455
454
|
'div',
|
|
456
455
|
{ id: 'search-bar-mobile', ref: searchRef },
|
|
457
|
-
|
|
456
|
+
React__default.createElement(
|
|
458
457
|
Form,
|
|
459
458
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
460
459
|
return submitSearch(e);
|
|
461
460
|
} },
|
|
462
|
-
|
|
461
|
+
React__default.createElement(FormControl, { placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
463
462
|
return setSearchKey(e.target.value);
|
|
464
463
|
} }),
|
|
465
|
-
|
|
464
|
+
React__default.createElement(
|
|
466
465
|
Button,
|
|
467
466
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none' }, onClick: function onClick(e) {
|
|
468
467
|
return submitSearch(e);
|
|
@@ -471,10 +470,10 @@ var NavNative = function NavNative(props) {
|
|
|
471
470
|
)
|
|
472
471
|
)
|
|
473
472
|
),
|
|
474
|
-
|
|
473
|
+
React__default.createElement(
|
|
475
474
|
IconContext.Provider,
|
|
476
475
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-mobile', size: '50px' } },
|
|
477
|
-
|
|
476
|
+
React__default.createElement(GoSearch, {
|
|
478
477
|
onClick: function onClick() {
|
|
479
478
|
var navToggle = document.getElementsByClassName('navbar-toggler')[0];
|
|
480
479
|
if (navToggle && navToggle.classList && !navToggle.classList.contains('collapsed')) {
|
|
@@ -490,52 +489,52 @@ var NavNative = function NavNative(props) {
|
|
|
490
489
|
}
|
|
491
490
|
})
|
|
492
491
|
),
|
|
493
|
-
|
|
492
|
+
React__default.createElement(
|
|
494
493
|
'style',
|
|
495
494
|
{ jsx: 'true' },
|
|
496
495
|
'\n #search-content-mobile {\n display: flex;\n }\n @media screen and (min-width: 1192px) {\n #search-content-mobile {\n display: none;\n }\n #basic-navbar-nav {\n display: flex !important;\n }\n #basic-navbar-sub {\n display: none !important;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n position: absolute;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 12px;\n cursor: pointer;\n top: 0px;\n }\n #search-content-mobile #search-bar-mobile {\n position: fixed;\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 2%;\n padding: 1px;\n }\n .show {\n display: block !important;\n }\n .active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n '
|
|
497
496
|
)
|
|
498
497
|
);
|
|
499
498
|
} else if (type === 'desktop') {
|
|
500
|
-
return
|
|
499
|
+
return React__default.createElement(
|
|
501
500
|
'div',
|
|
502
501
|
null,
|
|
503
|
-
|
|
502
|
+
React__default.createElement(
|
|
504
503
|
'div',
|
|
505
504
|
{ id: 'search-content-desktop' },
|
|
506
|
-
|
|
505
|
+
React__default.createElement(
|
|
507
506
|
IconContext.Provider,
|
|
508
507
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-desktop', size: '50px' } },
|
|
509
|
-
|
|
508
|
+
React__default.createElement(GoSearch, {
|
|
510
509
|
onClick: function onClick() {
|
|
511
510
|
toggleClass('search-bar-desktop', 'id', 'show');
|
|
512
511
|
toggleClass('search-btn-desktop', 'class', 'active-search');
|
|
513
512
|
}
|
|
514
513
|
})
|
|
515
514
|
),
|
|
516
|
-
website && website.socialLinks && website.socialLinks.length !== 0 &&
|
|
515
|
+
website && website.socialLinks && website.socialLinks.length !== 0 && React__default.createElement(
|
|
517
516
|
'div',
|
|
518
517
|
{ id: 'social-tab-desktop', style: { display: 'flex' } },
|
|
519
|
-
website.socialLinks &&
|
|
518
|
+
website.socialLinks && React__default.createElement(SocialIcons, { socialLinks: website.socialLinks, variant: socialIconVariant })
|
|
520
519
|
),
|
|
521
|
-
|
|
520
|
+
React__default.createElement(
|
|
522
521
|
'style',
|
|
523
522
|
{ jsx: 'true' },
|
|
524
523
|
'\n #social-tab-desktops {\n position: relative;\n display: flex;\n left: 0px;\n }\n #social-tab-desktops svg {\n height: 25px !important;\n width: 25px !important;\n }\n @media screen and (max-width: 1191px) {\n #search-content-desktop {\n display: none !important;\n }\n }\n @media screen and (min-width: 1199px) {\n .mobile-nav {\n width: 100% !important;\n }\n }\n #search-content-desktop {\n display: flex;\n padding-top: 2px;\n height: 35px;\n position: relative;\n }\n .search-btn-desktop {\n padding: 5px;\n height: 35px;\n width: 35px;\n margin: -3px 0px 0px 0px;\n cursor: pointer;\n }\n #search-bar-desktop {\n display: none;\n background-color: var(--primary);\n position: fixed;\n width: 400px;\n border-radius: 5px;\n height: 48px;\n top: 105px;\n }\n #search-bar-desktop .form-inline {\n padding: 5px;\n }\n #search-bar-desktop .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n }\n #search-bar-desktop .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n padding: 7px;\n margin-left: 5px;\n }\n .show {\n display: block !important;\n }\n .active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n margin-right: 1px !important;\n }\n #basic-navbar-nav {\n margin-right: 20%;\n }\n '
|
|
525
524
|
)
|
|
526
525
|
),
|
|
527
|
-
|
|
526
|
+
React__default.createElement(
|
|
528
527
|
'div',
|
|
529
528
|
{ id: 'search-bar-desktop' },
|
|
530
|
-
|
|
529
|
+
React__default.createElement(
|
|
531
530
|
Form,
|
|
532
531
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
533
532
|
return submitSearch(e);
|
|
534
533
|
} },
|
|
535
|
-
|
|
534
|
+
React__default.createElement(FormControl, { placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
536
535
|
return setSearchKey(e.target.value);
|
|
537
536
|
} }),
|
|
538
|
-
|
|
537
|
+
React__default.createElement(
|
|
539
538
|
Button,
|
|
540
539
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none' }, onClick: function onClick(e) {
|
|
541
540
|
return submitSearch(e);
|
|
@@ -561,35 +560,35 @@ var NavNative = function NavNative(props) {
|
|
|
561
560
|
}, 50);
|
|
562
561
|
};
|
|
563
562
|
|
|
564
|
-
return
|
|
565
|
-
|
|
563
|
+
return React__default.createElement(
|
|
564
|
+
React__default.Fragment,
|
|
566
565
|
null,
|
|
567
|
-
|
|
566
|
+
React__default.createElement(
|
|
568
567
|
Navbar,
|
|
569
568
|
{
|
|
570
|
-
className:
|
|
569
|
+
className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
|
|
571
570
|
variant: 'dark',
|
|
572
571
|
expand: 'lg',
|
|
573
572
|
bg: 'primary',
|
|
574
573
|
sticky: 'top',
|
|
575
574
|
ref: navRef,
|
|
576
|
-
style: { minHeight: '65px', overflow: '' + (
|
|
577
|
-
|
|
575
|
+
style: { minHeight: '65px', overflow: '' + (main_37 ? 'auto' : '') } },
|
|
576
|
+
React__default.createElement(
|
|
578
577
|
Container,
|
|
579
578
|
{ style: { maxHeight: '80vh' }, className: 'mobile-nav' },
|
|
580
|
-
|
|
579
|
+
React__default.createElement(
|
|
581
580
|
Navbar.Brand,
|
|
582
581
|
{ id: 'nav-mobile-sm', className: 'nav-mobile-logo' },
|
|
583
|
-
|
|
582
|
+
React__default.createElement(
|
|
584
583
|
'a',
|
|
585
584
|
{ href: '/' },
|
|
586
|
-
mobileLogo && screenWidth < 1200 ?
|
|
585
|
+
mobileLogo && screenWidth < 1200 ? React__default.createElement('img', { src: mobileLogo, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '50px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' })
|
|
587
586
|
)
|
|
588
587
|
),
|
|
589
|
-
|
|
588
|
+
React__default.createElement(
|
|
590
589
|
'div',
|
|
591
590
|
{ className: 'nav-toggle', style: { width: 'auto' } },
|
|
592
|
-
|
|
591
|
+
React__default.createElement(Navbar.Toggle, {
|
|
593
592
|
'aria-controls': 'basic-navbar-nav',
|
|
594
593
|
onClick: function onClick() {
|
|
595
594
|
var searchBar = document.getElementById('search-bar-mobile');
|
|
@@ -602,46 +601,46 @@ var NavNative = function NavNative(props) {
|
|
|
602
601
|
}
|
|
603
602
|
}
|
|
604
603
|
}),
|
|
605
|
-
|
|
604
|
+
React__default.createElement(
|
|
606
605
|
Navbar.Brand,
|
|
607
606
|
{ id: 'nav-mobile-md', className: 'nav-mobile-logo' },
|
|
608
|
-
|
|
607
|
+
React__default.createElement(
|
|
609
608
|
'a',
|
|
610
609
|
{ href: '/' },
|
|
611
|
-
mobileLogo && screenWidth < 1200 ?
|
|
610
|
+
mobileLogo && screenWidth < 1200 ? React__default.createElement('img', { src: mobileLogo, style: { height: '40px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '40px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' })
|
|
612
611
|
)
|
|
613
612
|
)
|
|
614
613
|
),
|
|
615
|
-
|
|
614
|
+
React__default.createElement(
|
|
616
615
|
'div',
|
|
617
616
|
{ className: 'site-logo-wrapper', style: { display: 'none' } },
|
|
618
|
-
|
|
617
|
+
React__default.createElement(
|
|
619
618
|
'a',
|
|
620
619
|
{ href: '/' },
|
|
621
|
-
|
|
620
|
+
React__default.createElement('img', { src: logo })
|
|
622
621
|
),
|
|
623
|
-
|
|
622
|
+
React__default.createElement(
|
|
624
623
|
'style',
|
|
625
624
|
{ jsx: 'true' },
|
|
626
625
|
'\n @media screen and (max-width: 1199px) {\n .site-logo-wrapper {\n display: block !important;\n margin: auto;\n margin-top: 10px;\n padding-right: 8%;\n }\n .site-logo-wrapper img {\n object-fit: contain;\n max-height: 38px;\n }\n .nav-mobile-logo {\n display: none !important;\n }\n }\n @media screen and (max-width: 767px) {\n .site-logo-wrapper {\n padding-right: 17%;\n }\n }\n @media screen and (max-width: 420px) {\n .site-logo-wrapper img {\n max-width: 200px;\n }\n }\n '
|
|
627
626
|
)
|
|
628
627
|
),
|
|
629
628
|
socialSearchComponent('mobile'),
|
|
630
|
-
subNav &&
|
|
629
|
+
subNav && React__default.createElement(
|
|
631
630
|
Navbar.Collapse,
|
|
632
631
|
{ id: 'basic-navbar-sub' },
|
|
633
|
-
|
|
632
|
+
React__default.createElement(
|
|
634
633
|
Nav,
|
|
635
634
|
{ className: 'mr-auto' },
|
|
636
635
|
subNav && subNav.map(function (row, index) {
|
|
637
636
|
if (row.subQuery && row.subQuery.length > 0) {
|
|
638
|
-
return row.name ?
|
|
637
|
+
return row.name ? React__default.createElement(
|
|
639
638
|
'div',
|
|
640
639
|
{ key: index },
|
|
641
|
-
|
|
640
|
+
React__default.createElement(
|
|
642
641
|
NavDropdown,
|
|
643
642
|
{ title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true },
|
|
644
|
-
row.url &&
|
|
643
|
+
row.url && React__default.createElement(
|
|
645
644
|
'a',
|
|
646
645
|
{
|
|
647
646
|
className: 'dropdownlist-expand-btn',
|
|
@@ -658,10 +657,10 @@ var NavNative = function NavNative(props) {
|
|
|
658
657
|
),
|
|
659
658
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
660
659
|
if (ddRow.type === 'divider') {
|
|
661
|
-
return
|
|
660
|
+
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
662
661
|
} else {
|
|
663
662
|
if (ddRow.url && ddRow.name) {
|
|
664
|
-
return ddRow.url && ddRow.name ?
|
|
663
|
+
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
665
664
|
'a',
|
|
666
665
|
{
|
|
667
666
|
key: subIndex,
|
|
@@ -675,18 +674,18 @@ var NavNative = function NavNative(props) {
|
|
|
675
674
|
}
|
|
676
675
|
})
|
|
677
676
|
),
|
|
678
|
-
|
|
677
|
+
React__default.createElement(
|
|
679
678
|
'noscript',
|
|
680
679
|
null,
|
|
681
|
-
|
|
680
|
+
React__default.createElement(
|
|
682
681
|
'div',
|
|
683
682
|
null,
|
|
684
683
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
685
684
|
if (ddRow.type === 'divider') {
|
|
686
|
-
return
|
|
685
|
+
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
687
686
|
} else {
|
|
688
687
|
if (ddRow.url && ddRow.name) {
|
|
689
|
-
return ddRow.url && ddRow.name ?
|
|
688
|
+
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
690
689
|
'a',
|
|
691
690
|
{
|
|
692
691
|
key: subIndex,
|
|
@@ -703,7 +702,7 @@ var NavNative = function NavNative(props) {
|
|
|
703
702
|
)
|
|
704
703
|
) : null;
|
|
705
704
|
} else {
|
|
706
|
-
return row.url && row.name ?
|
|
705
|
+
return row.url && row.name ? React__default.createElement(
|
|
707
706
|
'a',
|
|
708
707
|
{ key: index, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', href: ddRow.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
709
708
|
row.name
|
|
@@ -712,38 +711,38 @@ var NavNative = function NavNative(props) {
|
|
|
712
711
|
})
|
|
713
712
|
)
|
|
714
713
|
),
|
|
715
|
-
|
|
714
|
+
React__default.createElement(
|
|
716
715
|
Navbar.Collapse,
|
|
717
716
|
{ id: 'basic-navbar-nav' },
|
|
718
|
-
|
|
717
|
+
React__default.createElement(
|
|
719
718
|
Nav,
|
|
720
719
|
{ className: 'mr-auto' },
|
|
721
720
|
dataObject && dataObject.map(function (row, index) {
|
|
722
721
|
if (row.subQuery && row.subQuery.length > 0) {
|
|
723
722
|
if (!row.name) return null;
|
|
724
|
-
return
|
|
723
|
+
return React__default.createElement(
|
|
725
724
|
'div',
|
|
726
725
|
{ key: index },
|
|
727
|
-
props.megaNav ?
|
|
726
|
+
props.megaNav ? React__default.createElement(
|
|
728
727
|
NavDropdown,
|
|
729
728
|
{ title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true, onClick: function onClick() {
|
|
730
729
|
return handleMegaMenuAlignment('mega-menu-' + index);
|
|
731
730
|
} },
|
|
732
|
-
|
|
731
|
+
React__default.createElement(
|
|
733
732
|
'div',
|
|
734
733
|
{ id: 'mega-menu-' + index, className: 'mega-menu' },
|
|
735
734
|
chunk_1(row.subQuery, 10).map(function (items, colIndex) {
|
|
736
|
-
return
|
|
735
|
+
return React__default.createElement(
|
|
737
736
|
'div',
|
|
738
737
|
{ key: colIndex, className: 'flex-fill' },
|
|
739
738
|
items && items.map(function (ddRow) {
|
|
740
739
|
if (ddRow.type === 'divider') {
|
|
741
|
-
return
|
|
740
|
+
return React__default.createElement(NavDropdown.Divider, { key: ddRow._id });
|
|
742
741
|
} else {
|
|
743
|
-
return ddRow.url && ddRow.name ?
|
|
742
|
+
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
744
743
|
Nav.Item,
|
|
745
744
|
{ key: ddRow._id },
|
|
746
|
-
|
|
745
|
+
React__default.createElement(
|
|
747
746
|
Nav.Link,
|
|
748
747
|
{
|
|
749
748
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
@@ -758,17 +757,17 @@ var NavNative = function NavNative(props) {
|
|
|
758
757
|
);
|
|
759
758
|
})
|
|
760
759
|
)
|
|
761
|
-
) :
|
|
760
|
+
) : React__default.createElement(
|
|
762
761
|
NavDropdown,
|
|
763
762
|
{ key: index, title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true },
|
|
764
763
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
765
764
|
if (ddRow.type === 'divider') {
|
|
766
|
-
return
|
|
765
|
+
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
767
766
|
} else {
|
|
768
|
-
return ddRow.url && ddRow.name ?
|
|
767
|
+
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
769
768
|
Nav.Item,
|
|
770
769
|
{ key: subIndex },
|
|
771
|
-
|
|
770
|
+
React__default.createElement(
|
|
772
771
|
Nav.Link,
|
|
773
772
|
{
|
|
774
773
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
@@ -781,17 +780,17 @@ var NavNative = function NavNative(props) {
|
|
|
781
780
|
}
|
|
782
781
|
})
|
|
783
782
|
),
|
|
784
|
-
|
|
783
|
+
React__default.createElement(
|
|
785
784
|
'noscript',
|
|
786
785
|
null,
|
|
787
|
-
|
|
786
|
+
React__default.createElement(
|
|
788
787
|
'div',
|
|
789
788
|
null,
|
|
790
789
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
791
790
|
if (ddRow.type === 'divider') {
|
|
792
|
-
return
|
|
791
|
+
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
793
792
|
} else {
|
|
794
|
-
return ddRow.url && ddRow.name ?
|
|
793
|
+
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
795
794
|
'a',
|
|
796
795
|
{
|
|
797
796
|
key: subIndex,
|
|
@@ -807,7 +806,7 @@ var NavNative = function NavNative(props) {
|
|
|
807
806
|
)
|
|
808
807
|
);
|
|
809
808
|
} else {
|
|
810
|
-
return row.url && row.name ?
|
|
809
|
+
return row.url && row.name ? React__default.createElement(
|
|
811
810
|
'a',
|
|
812
811
|
{ key: index, needsegmentsupport: row.needSegmentSupport ? 'true' : '', href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
813
812
|
row.name
|
|
@@ -816,28 +815,28 @@ var NavNative = function NavNative(props) {
|
|
|
816
815
|
})
|
|
817
816
|
)
|
|
818
817
|
),
|
|
819
|
-
website &&
|
|
818
|
+
website && React__default.createElement(
|
|
820
819
|
Navbar.Collapse,
|
|
821
820
|
{ id: 'basic-navbar-sub' },
|
|
822
|
-
|
|
821
|
+
React__default.createElement(
|
|
823
822
|
Nav,
|
|
824
823
|
{ className: 'mr-auto' },
|
|
825
|
-
socialFooterNav ?
|
|
824
|
+
socialFooterNav ? React__default.createElement(SocialNavFooter, { website: website }) : React__default.createElement(NavFooter, { website: website })
|
|
826
825
|
)
|
|
827
826
|
),
|
|
828
827
|
socialSearchComponent('desktop')
|
|
829
828
|
)
|
|
830
829
|
),
|
|
831
|
-
|
|
830
|
+
React__default.createElement(
|
|
832
831
|
'noscript',
|
|
833
832
|
null,
|
|
834
|
-
|
|
833
|
+
React__default.createElement(
|
|
835
834
|
'style',
|
|
836
835
|
{ jsx: 'true' },
|
|
837
836
|
'\n .navbar .collapse {\n display: block;\n }\n '
|
|
838
837
|
)
|
|
839
838
|
),
|
|
840
|
-
|
|
839
|
+
React__default.createElement(
|
|
841
840
|
'style',
|
|
842
841
|
{ jsx: 'true' },
|
|
843
842
|
'\n .mega-menu {\n display: block;\n }\n @media screen and (min-width: 1192px) {\n .mega-menu {\n display: flex;\n }\n }\n .sticky-home {\n position: relative;\n top: -3px;\n left: -6px;\n cursor: pointer;\n }\n .nav-item svg {\n margin-bottom: 2px;\n }\n #nav-login,\n #nav-logout,\n #nav-register {\n padding: 0.5rem;\n cursor: pointer;\n }\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: none;\n }\n #nav-mobile-logout,\n #nav-mobile-login {\n position: absolute;\n right: 1rem;\n }\n #nav-mobile-register {\n position: absolute;\n left: 1rem;\n }\n #nav-mobile-sm {\n display: none;\n }\n @media screen and (max-width: 1192px) {\n .mobile-nav .nav-toggle {\n display: flex;\n justify-content: space-between;\n }\n .nav-mobile-logo {\n margin-left: 1.5rem;\n }\n #nav-mobile-md {\n margin-right: auto;\n }\n .nav-mobile-logo img {\n height: 48px !important;\n }\n .nav-mobile-logo img {\n height: 38px !important;\n }\n .ios-nav {\n max-height: none;\n }\n .mobile-nav .nav-toggle .navbar-toggler {\n float: left;\n height: 45px;\n }\n .mobile-nav .nav-toggle .form-inline {\n float: right;\n margin: 4px 0px 0px 0px;\n }\n .mobile-nav .form-inline .mobile-search {\n width: auto;\n }\n .sticky-home {\n display: none;\n }\n .navbar-expand-lg .show#basic-navbar-sub {\n display: block;\n }\n .navbar .mobile-nav .navbar-collapse.show {\n padding-bottom: 10px;\n border-bottom: 0.5px solid white;\n }\n .navbar .mobile-nav .navbar-collapse .form-inline {\n display: none;\n }\n .navbar .mobile-nav .navbar-collapse {\n margin-top: 15px;\n padding-left: 0.5rem;\n }\n .navbar .mobile-nav .navbar-collapse:last-child {\n border-bottom: none;\n margin-bottom: 0px;\n padding-bottom: 0px;\n margin-top: 0px;\n padding-top: 10px;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer ul {\n list-style-type: none;\n padding: inherit;\n margin-bottom: 0rem;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer .nav-link {\n text-transform: capitalize !important;\n font-weight: 300;\n }\n .navbar .mobile-nav .dropdown-item:focus {\n background-color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: white;\n /* To break text into next line */\n white-space: inherit !important;\n margin-bottom: 0.25rem;\n padding: 0.25rem 0.5rem;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: inherit;\n border: none;\n direction: rtl;\n }\n }\n @media screen and (max-width: 1199px) {\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: block;\n }\n .navbar-top {\n flex-direction: row;\n justify-content: space-around !important;\n align-items: center;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n width: 100%;\n }\n }\n @media screen and (min-width: 1200px) {\n #basic-navbar-nav .navbar-nav {\n position: fixed !important;\n }\n #search-content-mobile {\n position: absolute;\n right: 4%;\n top: 10%;\n }\n #basic-navbar-sub {\n display: none !important;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: white;\n border: 1 px solid #708090;\n }\n .mobile-nav .nav-toggle .form-inline {\n display: none;\n }\n }\n @media screen and (max-width: 376px) {\n .mobile-nav .nav-toggle .form-inline .mobile-search {\n width: 60%;\n }\n .mobile-nav .nav-toggle .form-inline {\n flex: 1 1 auto;\n margin-left: 0.25rem;\n }\n }\n @media screen and (max-width: 328px) {\n .mobile-nav .nav-toggle .form-inline .mobile-search {\n margin-right: 5px;\n }\n }\n @media screen and (max-width: 767px) {\n #nav-mobile-md {\n display: none;\n }\n #nav-mobile-sm {\n display: inline-block;\n margin: 0 auto 0.5rem;\n }\n .nav-toggle {\n margin: 0.5rem 0;\n padding: 0 0.5rem;\n }\n }\n '
|
package/dist/esm/NavNormal.js
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_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 React__default, { useRef, useEffect } from 'react';
|
|
2
9
|
import Container from 'react-bootstrap/Container';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
6
|
-
import { M as MdEmail, a as MdMouse } from './index.esm-d6f88d94.js';
|
|
7
|
-
import Search from './Search.js';
|
|
10
|
+
import './slicedToArray-641f241f.js';
|
|
11
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
8
12
|
import Segment from './Segment.js';
|
|
9
13
|
import './iconBase-602d52fe.js';
|
|
10
|
-
import '
|
|
11
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
-
import './web.dom.iterable-035980f3.js';
|
|
13
|
-
import './es6.string.iterator-aa6068a3.js';
|
|
14
|
-
import './_to-object-97770c52.js';
|
|
15
|
-
import './core.get-iterator-method-d1d5ed02.js';
|
|
14
|
+
import 'react-bootstrap/Button';
|
|
16
15
|
import 'react-bootstrap/Form';
|
|
16
|
+
import Nav from 'react-bootstrap/Nav';
|
|
17
|
+
import Navbar from 'react-bootstrap/Navbar';
|
|
18
|
+
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
19
|
+
import { M as MdEmail, a as MdMouse } from './index.esm-b08f4b04.js';
|
|
17
20
|
import 'react-bootstrap/FormControl';
|
|
18
|
-
import '
|
|
19
|
-
import './asyncToGenerator-2bd4099a.js';
|
|
20
|
-
import './_library-528f1934.js';
|
|
21
|
-
import './_set-species-494ed292.js';
|
|
22
|
-
import './_iter-detect-48516cd3.js';
|
|
21
|
+
import Search from './Search.js';
|
|
23
22
|
|
|
24
23
|
var NavNormal = function NavNormal(props) {
|
|
25
24
|
var logo = props.logo,
|
|
@@ -43,50 +42,50 @@ var NavNormal = function NavNormal(props) {
|
|
|
43
42
|
}, 1000);
|
|
44
43
|
}, []);
|
|
45
44
|
|
|
46
|
-
return
|
|
45
|
+
return React__default.createElement(
|
|
47
46
|
'section',
|
|
48
47
|
{ ref: ref },
|
|
49
|
-
|
|
48
|
+
React__default.createElement(
|
|
50
49
|
Navbar,
|
|
51
50
|
{ expand: 'lg' },
|
|
52
|
-
|
|
51
|
+
React__default.createElement(
|
|
53
52
|
Container,
|
|
54
53
|
null,
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
React__default.createElement('img', { src: logo, style: { height: '50px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' }),
|
|
55
|
+
React__default.createElement(
|
|
57
56
|
'div',
|
|
58
57
|
null,
|
|
59
|
-
|
|
58
|
+
React__default.createElement(MdEmail, null),
|
|
60
59
|
' Subscribe',
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
React__default.createElement('br', null),
|
|
61
|
+
React__default.createElement(MdMouse, null),
|
|
63
62
|
' Login'
|
|
64
63
|
)
|
|
65
64
|
)
|
|
66
65
|
),
|
|
67
|
-
|
|
66
|
+
React__default.createElement(
|
|
68
67
|
Navbar,
|
|
69
68
|
{ variant: 'dark', expand: 'lg', bg: 'primary' },
|
|
70
|
-
|
|
69
|
+
React__default.createElement(
|
|
71
70
|
Container,
|
|
72
71
|
null,
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
React__default.createElement(Navbar.Toggle, { 'aria-controls': 'basic-navbar-nav' }),
|
|
73
|
+
React__default.createElement(
|
|
75
74
|
Navbar.Collapse,
|
|
76
75
|
{ id: 'basic-navbar-nav' },
|
|
77
|
-
|
|
76
|
+
React__default.createElement(
|
|
78
77
|
Nav,
|
|
79
78
|
{ className: 'mr-auto' },
|
|
80
79
|
dataObject && dataObject.map(function (row) {
|
|
81
80
|
if (row.type === 'dropdown') {
|
|
82
|
-
return
|
|
81
|
+
return React__default.createElement(
|
|
83
82
|
NavDropdown,
|
|
84
83
|
{ title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true },
|
|
85
84
|
row.dropdown && row.dropdown.map(function (ddRow, ddItems) {
|
|
86
85
|
if (ddRow.type === 'divider') {
|
|
87
|
-
return
|
|
86
|
+
return React__default.createElement(NavDropdown.Divider, null);
|
|
88
87
|
} else {
|
|
89
|
-
return
|
|
88
|
+
return React__default.createElement(
|
|
90
89
|
NavDropdown.Item,
|
|
91
90
|
{ href: ddRow.url, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', target: ddRow.blank ? '_blank' : '_self' },
|
|
92
91
|
ddRow.name
|
|
@@ -96,7 +95,7 @@ var NavNormal = function NavNormal(props) {
|
|
|
96
95
|
);
|
|
97
96
|
} else {
|
|
98
97
|
// Link default
|
|
99
|
-
return
|
|
98
|
+
return React__default.createElement(
|
|
100
99
|
Nav.Link,
|
|
101
100
|
{ href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', target: row.blank ? '_blank' : '_self' },
|
|
102
101
|
row.name
|
|
@@ -105,10 +104,10 @@ var NavNormal = function NavNormal(props) {
|
|
|
105
104
|
})
|
|
106
105
|
)
|
|
107
106
|
),
|
|
108
|
-
|
|
107
|
+
React__default.createElement(Search, null)
|
|
109
108
|
)
|
|
110
109
|
),
|
|
111
|
-
|
|
110
|
+
React__default.createElement(
|
|
112
111
|
'style',
|
|
113
112
|
{ jsx: 'true' },
|
|
114
113
|
'\n @media screen and (max-width: 991px) {\n .dropdown-menu {\n max-height: 315px;\n overflow: auto;\n }\n ::-webkit-scrollbar {\n width: 10px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(214, 214, 214, 0.8);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n }\n '
|