@mjhls/mjh-framework 1.0.702 → 1.0.703-testing-module-splitting
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 +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +27 -27
- package/dist/cjs/AD300x250x600.js +27 -27
- package/dist/cjs/AD728x90.js +30 -30
- package/dist/cjs/ADFloatingFooter.js +33 -33
- package/dist/cjs/ADFooter.js +16 -14
- package/dist/cjs/ADGutter.js +30 -30
- package/dist/cjs/{ADInfeed-ede153e2.js → ADInfeed-d36dc3ca.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +30 -30
- package/dist/cjs/ADSponsoredResources.js +30 -30
- package/dist/cjs/ADWebcast.js +30 -30
- package/dist/cjs/ADWelcome.js +34 -34
- package/dist/cjs/{ADlgInfeed-6a121a0d.js → ADlgInfeed-93205fa0.js} +9 -8
- package/dist/cjs/AccordionPanel.js +32 -29
- package/dist/cjs/AdSlot.js +35 -35
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlphabeticList.js +27 -25
- package/dist/cjs/ArticleCarousel.js +24 -25
- package/dist/cjs/ArticleSeriesListing.js +61 -62
- package/dist/cjs/Auth.js +154 -149
- package/dist/cjs/{AuthorComponent-d19285ed.js → AuthorComponent-482218ce.js} +14 -13
- package/dist/cjs/Beam.js +21 -20
- package/dist/cjs/{BlockContent-e53217a7.js → BlockContent-eca358e4.js} +27 -24
- package/dist/cjs/Breadcrumbs.js +30 -27
- package/dist/cjs/BrowseVideosListing.js +42 -43
- package/dist/cjs/CMEDeck.js +83 -85
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +37 -35
- package/dist/cjs/Column3.js +60 -58
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +109 -107
- package/dist/cjs/DeckQueue.js +95 -93
- package/dist/cjs/{Dfp-13ff07b4.js → Dfp-80c3d853.js} +34 -35
- package/dist/cjs/EventsDeck.js +164 -157
- package/dist/cjs/ExternalResources.js +77 -78
- package/dist/cjs/Feature.js +26 -25
- package/dist/cjs/ForbesHero.js +42 -43
- package/dist/cjs/GridContent.js +187 -185
- package/dist/cjs/GridHero.js +44 -45
- package/dist/cjs/GroupDeck.js +54 -52
- package/dist/cjs/HamMagazine.js +143 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +78 -75
- package/dist/cjs/IssueDeck.js +77 -74
- package/dist/cjs/IssueLanding.js +73 -74
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -40
- package/dist/cjs/MasterDeck.js +87 -88
- package/dist/cjs/NavDvm.js +81 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -148
- package/dist/cjs/NavNative.js +131 -124
- package/dist/cjs/NavNormal.js +54 -48
- package/dist/cjs/OncliveHero.js +20 -19
- package/dist/cjs/OncliveLargeHero.js +68 -69
- package/dist/cjs/PageFilter.js +16 -14
- package/dist/cjs/PartnerDetailListing.js +112 -113
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +22 -19
- package/dist/cjs/PublicationDeck.js +68 -66
- package/dist/cjs/PublicationLanding.js +146 -144
- package/dist/cjs/QueueDeckExpanded.js +298 -300
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -55
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +23 -18
- package/dist/cjs/Segment.js +21 -20
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +41 -41
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-1ef1e6fb.js → SocialSearchComponent-a49e8e9d.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -61
- package/dist/cjs/TemplateNormal.js +78 -78
- package/dist/cjs/ThumbnailCard.js +22 -23
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +35 -36
- package/dist/cjs/VideoSeriesFilter.js +22 -21
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +229 -228
- package/dist/cjs/YahooHero.js +41 -42
- package/dist/cjs/YoutubeGroup.js +73 -74
- package/dist/cjs/{_export-a917dedd.js → _export-7e018e14.js} +17 -161
- package/dist/cjs/{_is-array-a82382b4.js → _is-array-4c61cfba.js} +17 -16
- package/dist/cjs/{_iter-detect-671c90bd.js → _iter-detect-2a826637.js} +10 -10
- package/dist/cjs/{_library-4360b4e4.js → _library-dd23b178.js} +1 -1
- package/dist/cjs/{_object-pie-6bed508e.js → _object-pie-68c5bcbc.js} +2 -2
- package/dist/cjs/_object-sap-4ac28868.js +16 -0
- package/dist/cjs/{_set-species-47156c42.js → _set-species-d088ff6e.js} +18 -17
- package/dist/cjs/_to-object-233fc5c9.js +149 -0
- package/dist/cjs/{asyncToGenerator-fd8e35e7.js → asyncToGenerator-7ca8f87e.js} +72 -71
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/core.get-iterator-method-14f49e03.js +40 -0
- package/dist/cjs/{debounce-fb3a46a9.js → debounce-eb287781.js} +7 -7
- package/dist/cjs/{define-property-9b6df20e.js → define-property-fd46a81e.js} +4 -4
- package/dist/cjs/{defineProperty-d3c0cfc0.js → defineProperty-edc12c5a.js} +2 -2
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-e5f4ce45.js → es6.string.iterator-a390d61f.js} +36 -35
- package/dist/cjs/{extends-5fde0677.js → extends-0a166456.js} +12 -11
- package/dist/cjs/{get-70ef997d.js → get-68c52cb1.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +22 -21
- package/dist/cjs/getSerializers.js +42 -44
- package/dist/cjs/getSeriesDetail.js +1 -1
- package/dist/cjs/{getTargeting-5ca9bfaf.js → getTargeting-57edbc60.js} +11 -11
- package/dist/cjs/getTargeting.js +9 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-b1ee7cd9.js → index-0e3597c2.js} +423 -418
- package/dist/cjs/{index-d7577df6.js → index-5ad2b070.js} +14 -11
- package/dist/cjs/{index-29e3f3a9.js → index-80f57cff.js} +19 -16
- package/dist/cjs/{index-949261b4.js → index-cb6ed1fc.js} +4 -4
- package/dist/cjs/{index-ff69979f.js → index-d48b231c.js} +3 -3
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-8a8fa078.js → index.esm-8123cf40.js} +18 -17
- package/dist/cjs/index.js +9 -264
- package/dist/cjs/{inherits-02a27fbf.js → inherits-a9209207.js} +19 -18
- package/dist/cjs/{isSymbol-a0d5eb50.js → isSymbol-04666465.js} +5 -5
- package/dist/cjs/{js.cookie-e4684873.js → js.cookie-a511c430.js} +1 -1
- package/dist/cjs/{keys-1a65eb47.js → keys-d2f5bcf0.js} +6 -5
- package/dist/cjs/{lodash-257df6c4.js → lodash-4ef21f0f.js} +2 -2
- package/dist/cjs/{main-1442052b.js → main-eeffe77b.js} +70 -67
- package/dist/cjs/{moment-29403f08.js → moment-aca40de1.js} +1 -2
- package/dist/cjs/{react-social-icons-5604d0d1.js → react-social-icons-af932527.js} +29 -26
- package/dist/cjs/{slicedToArray-d0ac47b9.js → slicedToArray-60dafa9c.js} +10 -10
- package/dist/cjs/{smoothscroll-03c20c7d.js → smoothscroll-1abb448e.js} +2 -2
- package/dist/cjs/{stringify-e064b7d0.js → stringify-44244c64.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d47f0c64.js → toConsumableArray-4bb00640.js} +14 -13
- package/dist/cjs/{typeof-5763a25b.js → typeof-03c3fdc8.js} +85 -84
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ede0bc7b.js → visibility-sensor-8b54af99.js} +8 -5
- package/dist/cjs/{web.dom.iterable-cd8a9ccb.js → web.dom.iterable-2d47ebe6.js} +11 -10
- 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 +29 -30
- package/dist/esm/ADFooter.js +12 -11
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-d890d5ca.js → ADInfeed-bf7de12d.js} +8 -8
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +30 -31
- package/dist/esm/{ADlgInfeed-1d006b36.js → ADlgInfeed-3ac04591.js} +7 -7
- package/dist/esm/AccordionPanel.js +25 -24
- package/dist/esm/AdSlot.js +26 -27
- package/dist/esm/AdSlotsProvider.js +4 -6
- package/dist/esm/AlphabeticList.js +23 -22
- package/dist/esm/ArticleCarousel.js +20 -22
- package/dist/esm/ArticleSeriesListing.js +55 -57
- package/dist/esm/Auth.js +135 -134
- package/dist/esm/{AuthorComponent-8ffb1deb.js → AuthorComponent-22790017.js} +11 -11
- package/dist/esm/Beam.js +21 -20
- package/dist/esm/{BlockContent-e6f64e62.js → BlockContent-d8cd739c.js} +21 -23
- package/dist/esm/Breadcrumbs.js +18 -17
- package/dist/esm/BrowseVideosListing.js +38 -40
- package/dist/esm/CMEDeck.js +80 -82
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +28 -29
- package/dist/esm/Column3.js +50 -51
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +86 -88
- package/dist/esm/DeckQueue.js +69 -71
- package/dist/esm/{Dfp-7db56716.js → Dfp-08279047.js} +23 -25
- package/dist/esm/EventsDeck.js +120 -120
- package/dist/esm/ExternalResources.js +71 -73
- package/dist/esm/Feature.js +17 -18
- package/dist/esm/ForbesHero.js +35 -37
- package/dist/esm/GridContent.js +145 -147
- package/dist/esm/GridHero.js +37 -39
- package/dist/esm/GroupDeck.js +49 -48
- package/dist/esm/HamMagazine.js +111 -112
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +50 -52
- package/dist/esm/IssueDeck.js +47 -49
- package/dist/esm/IssueLanding.js +69 -71
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -36
- package/dist/esm/MasterDeck.js +80 -82
- package/dist/esm/NavDvm.js +58 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +122 -123
- package/dist/esm/NavNative.js +99 -100
- package/dist/esm/NavNormal.js +36 -35
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -62
- package/dist/esm/PageFilter.js +13 -12
- package/dist/esm/PartnerDetailListing.js +107 -109
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +15 -14
- package/dist/esm/PublicationDeck.js +40 -43
- package/dist/esm/PublicationLanding.js +123 -125
- package/dist/esm/QueueDeckExpanded.js +278 -280
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -50
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +13 -12
- package/dist/esm/Segment.js +21 -20
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +36 -37
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4eae0149.js → SocialSearchComponent-46ea0f4d.js} +24 -24
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -44
- package/dist/esm/TemplateNormal.js +68 -69
- package/dist/esm/ThumbnailCard.js +13 -16
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +27 -29
- package/dist/esm/VideoSeriesFilter.js +19 -18
- package/dist/esm/VideoSeriesListing.js +69 -71
- package/dist/esm/View.js +216 -219
- package/dist/esm/YahooHero.js +35 -37
- package/dist/esm/YoutubeGroup.js +57 -59
- package/dist/esm/{_export-f7ec2adf.js → _export-9029ebab.js} +2 -133
- package/dist/esm/{_is-array-5bea6006.js → _is-array-46713c19.js} +16 -15
- package/dist/esm/{_iter-detect-65720de7.js → _iter-detect-60cd145f.js} +8 -8
- package/dist/esm/_library-528f1934.js +3 -0
- package/dist/esm/{_object-pie-8e2f6c3a.js → _object-pie-33c40e79.js} +1 -1
- package/dist/esm/_object-sap-108a1939.js +14 -0
- package/dist/esm/{_set-species-26ee5c2a.js → _set-species-a4b3fe39.js} +15 -14
- package/dist/esm/_to-object-62924b74.js +135 -0
- package/dist/esm/{asyncToGenerator-0c61f551.js → asyncToGenerator-7714cea4.js} +72 -71
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/core.get-iterator-method-6636b3ef.js +37 -0
- package/dist/esm/{debounce-7b569c00.js → debounce-1a993acf.js} +6 -6
- package/dist/esm/{define-property-7a40a451.js → define-property-f2d6f244.js} +4 -4
- package/dist/esm/{defineProperty-a2ac5d3d.js → defineProperty-69f06029.js} +2 -2
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-13b94db0.js → es6.string.iterator-2efae22d.js} +29 -28
- package/dist/esm/{extends-8e0228d5.js → extends-f866c8d0.js} +12 -11
- package/dist/esm/{get-bb2155d5.js → get-5ee14cda.js} +10 -10
- package/dist/esm/getRelatedArticle.js +16 -15
- package/dist/esm/getSerializers.js +42 -44
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-d97a1e83.js → getTargeting-5cdca4e1.js} +11 -11
- package/dist/esm/getTargeting.js +9 -8
- package/dist/esm/{index-f7fdcc91.js → index-3f5c03b2.js} +3 -3
- package/dist/esm/{index-4540328d.js → index-5db919a6.js} +382 -384
- package/dist/esm/{index-17490425.js → index-669ff425.js} +9 -11
- package/dist/esm/{index-1295881c.js → index-750a7380.js} +2 -2
- package/dist/esm/{index-a4e850af.js → index-752d1dae.js} +13 -16
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-3fdda599.js → index.esm-57f377a5.js} +1 -1
- package/dist/esm/{index.esm-4838a32e.js → index.esm-8016b507.js} +15 -15
- package/dist/esm/index.js +11 -176
- package/dist/esm/{inherits-d1948b66.js → inherits-75d6495f.js} +17 -16
- package/dist/esm/{isSymbol-2b7f6e65.js → isSymbol-807e927e.js} +1 -1
- package/dist/esm/{js.cookie-2ce24ab0.js → js.cookie-6874175c.js} +1 -1
- package/dist/esm/{keys-e091cb65.js → keys-78217618.js} +6 -5
- package/dist/esm/{lodash-2b866578.js → lodash-ad27652f.js} +2 -2
- package/dist/esm/{main-140f99b4.js → main-decc48f4.js} +66 -67
- package/dist/esm/{moment-8797a4d3.js → moment-bc12cb97.js} +2 -2
- package/dist/esm/{react-social-icons-40e8d28f.js → react-social-icons-91f9716f.js} +24 -26
- package/dist/esm/{slicedToArray-8818fe95.js → slicedToArray-fa9240c4.js} +10 -10
- package/dist/esm/{smoothscroll-2d74941c.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-dedf4a20.js → stringify-22907f56.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-02217419.js → toConsumableArray-bd01c637.js} +14 -13
- package/dist/esm/{typeof-a10a5616.js → typeof-668f30cd.js} +86 -85
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-7b6316cf.js → visibility-sensor-082c757b.js} +3 -5
- package/dist/esm/{web.dom.iterable-c3ba4d37.js → web.dom.iterable-89515070.js} +11 -10
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-947ef6fb.js +0 -16
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +0 -10
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +0 -9
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +0 -10
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +0 -39
- package/dist/esm/_library-90219a8d.js +0 -3
- package/dist/esm/_object-sap-146241c9.js +0 -14
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +0 -5
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +0 -5
- package/dist/esm/_react_commonjs-external-22b61490.js +0 -5
- package/dist/esm/core.get-iterator-method-dbbb346b.js +0 -36
package/dist/esm/NavNative.js
CHANGED
|
@@ -1,42 +1,41 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import '
|
|
3
|
-
import './es6.string.iterator-13b94db0.js';
|
|
4
|
-
import './_library-90219a8d.js';
|
|
5
|
-
import './_iter-detect-65720de7.js';
|
|
6
|
-
import './core.get-iterator-method-dbbb346b.js';
|
|
7
|
-
import './web.dom.iterable-c3ba4d37.js';
|
|
8
|
-
import React__default, { useRef, useState, useEffect } from 'react';
|
|
9
|
-
import 'prop-types';
|
|
10
|
-
import './_react_commonjs-external-22b61490.js';
|
|
11
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
2
|
+
import React, { useRef, useState, useEffect } from 'react';
|
|
12
3
|
import Container from 'react-bootstrap/Container';
|
|
13
|
-
import { a as main_41 } from './main-140f99b4.js';
|
|
14
|
-
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
15
|
-
import './asyncToGenerator-0c61f551.js';
|
|
16
|
-
import './_set-species-26ee5c2a.js';
|
|
17
|
-
import Segment from './Segment.js';
|
|
18
|
-
import './react-social-icons-40e8d28f.js';
|
|
19
|
-
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
20
|
-
import Button from 'react-bootstrap/Button';
|
|
21
|
-
import Form from 'react-bootstrap/Form';
|
|
22
4
|
import Nav from 'react-bootstrap/Nav';
|
|
23
5
|
import Navbar from 'react-bootstrap/Navbar';
|
|
24
6
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
25
|
-
import { N as NavFooter } from './NavFooter-
|
|
26
|
-
import { S as SocialNavFooter, G as GoSearch } from './index.esm-
|
|
7
|
+
import { N as NavFooter } from './NavFooter-c29526b7.js';
|
|
8
|
+
import { S as SocialNavFooter, G as GoSearch } from './index.esm-8016b507.js';
|
|
9
|
+
import Segment from './Segment.js';
|
|
27
10
|
import SocialIcons from './SocialIcons.js';
|
|
11
|
+
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
12
|
+
import Form from 'react-bootstrap/Form';
|
|
28
13
|
import FormControl from 'react-bootstrap/FormControl';
|
|
14
|
+
import Button from 'react-bootstrap/Button';
|
|
15
|
+
import { c as main_41 } from './main-decc48f4.js';
|
|
16
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
|
+
import './web.dom.iterable-89515070.js';
|
|
18
|
+
import './es6.string.iterator-2efae22d.js';
|
|
19
|
+
import './_to-object-62924b74.js';
|
|
20
|
+
import './_export-9029ebab.js';
|
|
21
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
22
|
+
import './react-social-icons-91f9716f.js';
|
|
23
|
+
import 'prop-types';
|
|
24
|
+
import './asyncToGenerator-7714cea4.js';
|
|
25
|
+
import './_library-528f1934.js';
|
|
26
|
+
import './_set-species-a4b3fe39.js';
|
|
27
|
+
import './_iter-detect-60cd145f.js';
|
|
29
28
|
|
|
30
29
|
var NavNative = function NavNative(props) {
|
|
31
|
-
/*
|
|
32
|
-
Example Nav with acceptable props
|
|
33
|
-
<MagazineNav
|
|
34
|
-
showLogin
|
|
35
|
-
logo={props.settings.logo}
|
|
36
|
-
dataObject={props.cache.mainNavCache}
|
|
37
|
-
website={website}
|
|
38
|
-
subNav={props.cache.subNavCache}
|
|
39
|
-
/>
|
|
30
|
+
/*
|
|
31
|
+
Example Nav with acceptable props
|
|
32
|
+
<MagazineNav
|
|
33
|
+
showLogin
|
|
34
|
+
logo={props.settings.logo}
|
|
35
|
+
dataObject={props.cache.mainNavCache}
|
|
36
|
+
website={website}
|
|
37
|
+
subNav={props.cache.subNavCache}
|
|
38
|
+
/>
|
|
40
39
|
*/
|
|
41
40
|
// Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
|
|
42
41
|
var logo = props.logo,
|
|
@@ -44,10 +43,10 @@ var NavNative = function NavNative(props) {
|
|
|
44
43
|
dataObject = props.dataObject,
|
|
45
44
|
subNav = props.subNav,
|
|
46
45
|
_props$website = props.website,
|
|
47
|
-
website = _props$website === undefined ? {} : _props$website
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
_props$socialFooterNa = props.socialFooterNav,
|
|
46
|
+
website = _props$website === undefined ? {} : _props$website;
|
|
47
|
+
props.showLogin;
|
|
48
|
+
props.userData;
|
|
49
|
+
var _props$socialFooterNa = props.socialFooterNav,
|
|
51
50
|
socialFooterNav = _props$socialFooterNa === undefined ? false : _props$socialFooterNa,
|
|
52
51
|
_props$socialIconVari = props.socialIconVariant,
|
|
53
52
|
socialIconVariant = _props$socialIconVari === undefined ? 'dark' : _props$socialIconVari;
|
|
@@ -173,21 +172,21 @@ var NavNative = function NavNative(props) {
|
|
|
173
172
|
// Search Component
|
|
174
173
|
var socialSearchComponent = function socialSearchComponent(type) {
|
|
175
174
|
if (type === 'mobile') {
|
|
176
|
-
return
|
|
175
|
+
return React.createElement(
|
|
177
176
|
'div',
|
|
178
177
|
{ id: 'search-content-mobile' },
|
|
179
|
-
|
|
178
|
+
React.createElement(
|
|
180
179
|
'div',
|
|
181
180
|
{ id: 'search-bar-mobile', ref: searchRef },
|
|
182
|
-
|
|
181
|
+
React.createElement(
|
|
183
182
|
Form,
|
|
184
183
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
185
184
|
return submitSearch(e);
|
|
186
185
|
} },
|
|
187
|
-
|
|
186
|
+
React.createElement(FormControl, { placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
188
187
|
return setSearchKey(e.target.value);
|
|
189
188
|
} }),
|
|
190
|
-
|
|
189
|
+
React.createElement(
|
|
191
190
|
Button,
|
|
192
191
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none' }, onClick: function onClick(e) {
|
|
193
192
|
return submitSearch(e);
|
|
@@ -196,10 +195,10 @@ var NavNative = function NavNative(props) {
|
|
|
196
195
|
)
|
|
197
196
|
)
|
|
198
197
|
),
|
|
199
|
-
|
|
198
|
+
React.createElement(
|
|
200
199
|
IconContext.Provider,
|
|
201
200
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-mobile', size: '50px' } },
|
|
202
|
-
|
|
201
|
+
React.createElement(GoSearch, {
|
|
203
202
|
onClick: function onClick() {
|
|
204
203
|
var navToggle = document.getElementsByClassName('navbar-toggler')[0];
|
|
205
204
|
if (navToggle && navToggle.classList && !navToggle.classList.contains('collapsed')) {
|
|
@@ -215,52 +214,52 @@ var NavNative = function NavNative(props) {
|
|
|
215
214
|
}
|
|
216
215
|
})
|
|
217
216
|
),
|
|
218
|
-
|
|
217
|
+
React.createElement(
|
|
219
218
|
'style',
|
|
220
219
|
{ jsx: 'true' },
|
|
221
220
|
'\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 '
|
|
222
221
|
)
|
|
223
222
|
);
|
|
224
223
|
} else if (type === 'desktop') {
|
|
225
|
-
return
|
|
224
|
+
return React.createElement(
|
|
226
225
|
'div',
|
|
227
226
|
null,
|
|
228
|
-
|
|
227
|
+
React.createElement(
|
|
229
228
|
'div',
|
|
230
229
|
{ id: 'search-content-desktop' },
|
|
231
|
-
|
|
230
|
+
React.createElement(
|
|
232
231
|
IconContext.Provider,
|
|
233
232
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-desktop', size: '50px' } },
|
|
234
|
-
|
|
233
|
+
React.createElement(GoSearch, {
|
|
235
234
|
onClick: function onClick() {
|
|
236
235
|
toggleClass('search-bar-desktop', 'id', 'show');
|
|
237
236
|
toggleClass('search-btn-desktop', 'class', 'active-search');
|
|
238
237
|
}
|
|
239
238
|
})
|
|
240
239
|
),
|
|
241
|
-
website && website.socialLinks && website.socialLinks.length !== 0 &&
|
|
240
|
+
website && website.socialLinks && website.socialLinks.length !== 0 && React.createElement(
|
|
242
241
|
'div',
|
|
243
242
|
{ id: 'social-tab-desktop', style: { display: 'flex' } },
|
|
244
|
-
website.socialLinks &&
|
|
243
|
+
website.socialLinks && React.createElement(SocialIcons, { socialLinks: website.socialLinks, variant: socialIconVariant })
|
|
245
244
|
),
|
|
246
|
-
|
|
245
|
+
React.createElement(
|
|
247
246
|
'style',
|
|
248
247
|
{ jsx: 'true' },
|
|
249
248
|
'\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 '
|
|
250
249
|
)
|
|
251
250
|
),
|
|
252
|
-
|
|
251
|
+
React.createElement(
|
|
253
252
|
'div',
|
|
254
253
|
{ id: 'search-bar-desktop' },
|
|
255
|
-
|
|
254
|
+
React.createElement(
|
|
256
255
|
Form,
|
|
257
256
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
258
257
|
return submitSearch(e);
|
|
259
258
|
} },
|
|
260
|
-
|
|
259
|
+
React.createElement(FormControl, { placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
261
260
|
return setSearchKey(e.target.value);
|
|
262
261
|
} }),
|
|
263
|
-
|
|
262
|
+
React.createElement(
|
|
264
263
|
Button,
|
|
265
264
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none' }, onClick: function onClick(e) {
|
|
266
265
|
return submitSearch(e);
|
|
@@ -273,10 +272,10 @@ var NavNative = function NavNative(props) {
|
|
|
273
272
|
}
|
|
274
273
|
};
|
|
275
274
|
|
|
276
|
-
return
|
|
277
|
-
|
|
275
|
+
return React.createElement(
|
|
276
|
+
React.Fragment,
|
|
278
277
|
null,
|
|
279
|
-
|
|
278
|
+
React.createElement(
|
|
280
279
|
Navbar,
|
|
281
280
|
{
|
|
282
281
|
className: main_41 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
|
|
@@ -286,22 +285,22 @@ var NavNative = function NavNative(props) {
|
|
|
286
285
|
sticky: 'top',
|
|
287
286
|
ref: navRef,
|
|
288
287
|
style: { minHeight: '65px', overflow: '' + (main_41 ? 'auto' : '') } },
|
|
289
|
-
|
|
288
|
+
React.createElement(
|
|
290
289
|
Container,
|
|
291
290
|
{ style: { maxHeight: '80vh' }, className: 'mobile-nav' },
|
|
292
|
-
|
|
291
|
+
React.createElement(
|
|
293
292
|
Navbar.Brand,
|
|
294
293
|
{ id: 'nav-mobile-sm', className: 'nav-mobile-logo' },
|
|
295
|
-
|
|
294
|
+
React.createElement(
|
|
296
295
|
'a',
|
|
297
296
|
{ href: '/' },
|
|
298
|
-
mobileLogo && screenWidth < 1200 ?
|
|
297
|
+
mobileLogo && screenWidth < 1200 ? React.createElement('img', { src: mobileLogo, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' }) : React.createElement('img', { src: logo, className: 'logo', style: { height: '50px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' })
|
|
299
298
|
)
|
|
300
299
|
),
|
|
301
|
-
|
|
300
|
+
React.createElement(
|
|
302
301
|
'div',
|
|
303
302
|
{ className: 'nav-toggle', style: { width: 'auto' } },
|
|
304
|
-
|
|
303
|
+
React.createElement(Navbar.Toggle, {
|
|
305
304
|
'aria-controls': 'basic-navbar-nav',
|
|
306
305
|
onClick: function onClick() {
|
|
307
306
|
var searchBar = document.getElementById('search-bar-mobile');
|
|
@@ -314,46 +313,46 @@ var NavNative = function NavNative(props) {
|
|
|
314
313
|
}
|
|
315
314
|
}
|
|
316
315
|
}),
|
|
317
|
-
|
|
316
|
+
React.createElement(
|
|
318
317
|
Navbar.Brand,
|
|
319
318
|
{ id: 'nav-mobile-md', className: 'nav-mobile-logo' },
|
|
320
|
-
|
|
319
|
+
React.createElement(
|
|
321
320
|
'a',
|
|
322
321
|
{ href: '/' },
|
|
323
|
-
mobileLogo && screenWidth < 1200 ?
|
|
322
|
+
mobileLogo && screenWidth < 1200 ? React.createElement('img', { src: mobileLogo, style: { height: '40px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' }) : React.createElement('img', { src: logo, className: 'logo', style: { height: '40px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' })
|
|
324
323
|
)
|
|
325
324
|
)
|
|
326
325
|
),
|
|
327
|
-
|
|
326
|
+
React.createElement(
|
|
328
327
|
'div',
|
|
329
328
|
{ className: 'site-logo-wrapper', style: { display: 'none' } },
|
|
330
|
-
|
|
329
|
+
React.createElement(
|
|
331
330
|
'a',
|
|
332
331
|
{ href: '/' },
|
|
333
|
-
|
|
332
|
+
React.createElement('img', { src: logo })
|
|
334
333
|
),
|
|
335
|
-
|
|
334
|
+
React.createElement(
|
|
336
335
|
'style',
|
|
337
336
|
{ jsx: 'true' },
|
|
338
337
|
'\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 '
|
|
339
338
|
)
|
|
340
339
|
),
|
|
341
340
|
socialSearchComponent('mobile'),
|
|
342
|
-
subNav &&
|
|
341
|
+
subNav && React.createElement(
|
|
343
342
|
Navbar.Collapse,
|
|
344
343
|
{ id: 'basic-navbar-sub' },
|
|
345
|
-
|
|
344
|
+
React.createElement(
|
|
346
345
|
Nav,
|
|
347
346
|
{ className: 'mr-auto' },
|
|
348
347
|
subNav && subNav.map(function (row, index) {
|
|
349
348
|
if (row.subQuery && row.subQuery.length > 0) {
|
|
350
|
-
return row.name ?
|
|
349
|
+
return row.name ? React.createElement(
|
|
351
350
|
'div',
|
|
352
351
|
{ key: index },
|
|
353
|
-
|
|
352
|
+
React.createElement(
|
|
354
353
|
NavDropdown,
|
|
355
354
|
{ title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true },
|
|
356
|
-
row.url &&
|
|
355
|
+
row.url && React.createElement(
|
|
357
356
|
'a',
|
|
358
357
|
{
|
|
359
358
|
className: 'dropdownlist-expand-btn',
|
|
@@ -370,10 +369,10 @@ var NavNative = function NavNative(props) {
|
|
|
370
369
|
),
|
|
371
370
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
372
371
|
if (ddRow.type === 'divider') {
|
|
373
|
-
return
|
|
372
|
+
return React.createElement(NavDropdown.Divider, { key: subIndex });
|
|
374
373
|
} else {
|
|
375
374
|
if (ddRow.url && ddRow.name) {
|
|
376
|
-
return ddRow.url && ddRow.name ?
|
|
375
|
+
return ddRow.url && ddRow.name ? React.createElement(
|
|
377
376
|
'a',
|
|
378
377
|
{
|
|
379
378
|
key: subIndex,
|
|
@@ -387,18 +386,18 @@ var NavNative = function NavNative(props) {
|
|
|
387
386
|
}
|
|
388
387
|
})
|
|
389
388
|
),
|
|
390
|
-
|
|
389
|
+
React.createElement(
|
|
391
390
|
'noscript',
|
|
392
391
|
null,
|
|
393
|
-
|
|
392
|
+
React.createElement(
|
|
394
393
|
'div',
|
|
395
394
|
null,
|
|
396
395
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
397
396
|
if (ddRow.type === 'divider') {
|
|
398
|
-
return
|
|
397
|
+
return React.createElement(NavDropdown.Divider, { key: subIndex });
|
|
399
398
|
} else {
|
|
400
399
|
if (ddRow.url && ddRow.name) {
|
|
401
|
-
return ddRow.url && ddRow.name ?
|
|
400
|
+
return ddRow.url && ddRow.name ? React.createElement(
|
|
402
401
|
'a',
|
|
403
402
|
{
|
|
404
403
|
key: subIndex,
|
|
@@ -415,7 +414,7 @@ var NavNative = function NavNative(props) {
|
|
|
415
414
|
)
|
|
416
415
|
) : null;
|
|
417
416
|
} else {
|
|
418
|
-
return row.url && row.name ?
|
|
417
|
+
return row.url && row.name ? React.createElement(
|
|
419
418
|
'a',
|
|
420
419
|
{ key: index, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', href: ddRow.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
421
420
|
row.name
|
|
@@ -424,28 +423,28 @@ var NavNative = function NavNative(props) {
|
|
|
424
423
|
})
|
|
425
424
|
)
|
|
426
425
|
),
|
|
427
|
-
|
|
426
|
+
React.createElement(
|
|
428
427
|
Navbar.Collapse,
|
|
429
428
|
{ id: 'basic-navbar-nav' },
|
|
430
|
-
|
|
429
|
+
React.createElement(
|
|
431
430
|
Nav,
|
|
432
431
|
{ className: 'mr-auto' },
|
|
433
432
|
dataObject && dataObject.map(function (row, index) {
|
|
434
433
|
if (row.subQuery && row.subQuery.length > 0) {
|
|
435
|
-
return row.name ?
|
|
434
|
+
return row.name ? React.createElement(
|
|
436
435
|
'div',
|
|
437
436
|
{ key: 'subnav-' + index },
|
|
438
|
-
|
|
437
|
+
React.createElement(
|
|
439
438
|
NavDropdown,
|
|
440
439
|
{ key: index, title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true },
|
|
441
440
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
442
441
|
if (ddRow.type === 'divider') {
|
|
443
|
-
return
|
|
442
|
+
return React.createElement(NavDropdown.Divider, { key: subIndex });
|
|
444
443
|
} else {
|
|
445
|
-
return ddRow.url && ddRow.name ?
|
|
444
|
+
return ddRow.url && ddRow.name ? React.createElement(
|
|
446
445
|
Nav.Item,
|
|
447
446
|
null,
|
|
448
|
-
|
|
447
|
+
React.createElement(
|
|
449
448
|
Nav.Link,
|
|
450
449
|
{
|
|
451
450
|
key: subIndex,
|
|
@@ -459,17 +458,17 @@ var NavNative = function NavNative(props) {
|
|
|
459
458
|
}
|
|
460
459
|
})
|
|
461
460
|
),
|
|
462
|
-
|
|
461
|
+
React.createElement(
|
|
463
462
|
'noscript',
|
|
464
463
|
null,
|
|
465
|
-
|
|
464
|
+
React.createElement(
|
|
466
465
|
'div',
|
|
467
466
|
null,
|
|
468
467
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
469
468
|
if (ddRow.type === 'divider') {
|
|
470
|
-
return
|
|
469
|
+
return React.createElement(NavDropdown.Divider, { key: subIndex });
|
|
471
470
|
} else {
|
|
472
|
-
return ddRow.url && ddRow.name ?
|
|
471
|
+
return ddRow.url && ddRow.name ? React.createElement(
|
|
473
472
|
'a',
|
|
474
473
|
{
|
|
475
474
|
key: subIndex,
|
|
@@ -485,7 +484,7 @@ var NavNative = function NavNative(props) {
|
|
|
485
484
|
)
|
|
486
485
|
) : null;
|
|
487
486
|
} else {
|
|
488
|
-
return row.url && row.name ?
|
|
487
|
+
return row.url && row.name ? React.createElement(
|
|
489
488
|
'a',
|
|
490
489
|
{ key: index, needsegmentsupport: row.needSegmentSupport ? 'true' : '', href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
491
490
|
row.name
|
|
@@ -494,28 +493,28 @@ var NavNative = function NavNative(props) {
|
|
|
494
493
|
})
|
|
495
494
|
)
|
|
496
495
|
),
|
|
497
|
-
website &&
|
|
496
|
+
website && React.createElement(
|
|
498
497
|
Navbar.Collapse,
|
|
499
498
|
{ id: 'basic-navbar-sub' },
|
|
500
|
-
|
|
499
|
+
React.createElement(
|
|
501
500
|
Nav,
|
|
502
501
|
{ className: 'mr-auto' },
|
|
503
|
-
socialFooterNav ?
|
|
502
|
+
socialFooterNav ? React.createElement(SocialNavFooter, { website: website }) : React.createElement(NavFooter, { website: website })
|
|
504
503
|
)
|
|
505
504
|
),
|
|
506
505
|
socialSearchComponent('desktop')
|
|
507
506
|
)
|
|
508
507
|
),
|
|
509
|
-
|
|
508
|
+
React.createElement(
|
|
510
509
|
'noscript',
|
|
511
510
|
null,
|
|
512
|
-
|
|
511
|
+
React.createElement(
|
|
513
512
|
'style',
|
|
514
513
|
{ jsx: 'true' },
|
|
515
514
|
'\n .navbar .collapse {\n display: block;\n }\n '
|
|
516
515
|
)
|
|
517
516
|
),
|
|
518
|
-
|
|
517
|
+
React.createElement(
|
|
519
518
|
'style',
|
|
520
519
|
{ jsx: 'true' },
|
|
521
520
|
'\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: 5px;\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,26 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import './_export-f7ec2adf.js';
|
|
3
|
-
import './es6.string.iterator-13b94db0.js';
|
|
4
|
-
import './_library-90219a8d.js';
|
|
5
|
-
import './_iter-detect-65720de7.js';
|
|
6
|
-
import './core.get-iterator-method-dbbb346b.js';
|
|
7
|
-
import './web.dom.iterable-c3ba4d37.js';
|
|
8
|
-
import React__default, { useRef, useEffect } from 'react';
|
|
1
|
+
import React, { useRef, useEffect } from 'react';
|
|
9
2
|
import Container from 'react-bootstrap/Container';
|
|
10
|
-
import './slicedToArray-8818fe95.js';
|
|
11
|
-
import './asyncToGenerator-0c61f551.js';
|
|
12
|
-
import './_set-species-26ee5c2a.js';
|
|
13
|
-
import Segment from './Segment.js';
|
|
14
|
-
import './iconBase-602d52fe.js';
|
|
15
|
-
import 'react-bootstrap/Button';
|
|
16
|
-
import 'react-bootstrap/Form';
|
|
17
3
|
import Nav from 'react-bootstrap/Nav';
|
|
18
4
|
import Navbar from 'react-bootstrap/Navbar';
|
|
19
5
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
20
6
|
import { M as MdEmail, a as MdMouse } from './index.esm-d6f88d94.js';
|
|
21
|
-
import 'react-bootstrap/FormControl';
|
|
22
7
|
import Search from './Search.js';
|
|
8
|
+
import Segment from './Segment.js';
|
|
9
|
+
import './iconBase-602d52fe.js';
|
|
10
|
+
import './slicedToArray-fa9240c4.js';
|
|
11
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
+
import './web.dom.iterable-89515070.js';
|
|
13
|
+
import './es6.string.iterator-2efae22d.js';
|
|
14
|
+
import './_to-object-62924b74.js';
|
|
15
|
+
import './_export-9029ebab.js';
|
|
16
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
17
|
+
import 'react-bootstrap/Form';
|
|
18
|
+
import 'react-bootstrap/FormControl';
|
|
19
|
+
import 'react-bootstrap/Button';
|
|
20
|
+
import './asyncToGenerator-7714cea4.js';
|
|
21
|
+
import './_library-528f1934.js';
|
|
22
|
+
import './_set-species-a4b3fe39.js';
|
|
23
|
+
import './_iter-detect-60cd145f.js';
|
|
23
24
|
|
|
24
25
|
var NavNormal = function NavNormal(props) {
|
|
25
26
|
var logo = props.logo,
|
|
@@ -43,50 +44,50 @@ var NavNormal = function NavNormal(props) {
|
|
|
43
44
|
}, 1000);
|
|
44
45
|
}, []);
|
|
45
46
|
|
|
46
|
-
return
|
|
47
|
+
return React.createElement(
|
|
47
48
|
'section',
|
|
48
49
|
{ ref: ref },
|
|
49
|
-
|
|
50
|
+
React.createElement(
|
|
50
51
|
Navbar,
|
|
51
52
|
{ expand: 'lg' },
|
|
52
|
-
|
|
53
|
+
React.createElement(
|
|
53
54
|
Container,
|
|
54
55
|
null,
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
React.createElement('img', { src: logo, style: { height: '50px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' }),
|
|
57
|
+
React.createElement(
|
|
57
58
|
'div',
|
|
58
59
|
null,
|
|
59
|
-
|
|
60
|
+
React.createElement(MdEmail, null),
|
|
60
61
|
' Subscribe',
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
React.createElement('br', null),
|
|
63
|
+
React.createElement(MdMouse, null),
|
|
63
64
|
' Login'
|
|
64
65
|
)
|
|
65
66
|
)
|
|
66
67
|
),
|
|
67
|
-
|
|
68
|
+
React.createElement(
|
|
68
69
|
Navbar,
|
|
69
70
|
{ variant: 'dark', expand: 'lg', bg: 'primary' },
|
|
70
|
-
|
|
71
|
+
React.createElement(
|
|
71
72
|
Container,
|
|
72
73
|
null,
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
React.createElement(Navbar.Toggle, { 'aria-controls': 'basic-navbar-nav' }),
|
|
75
|
+
React.createElement(
|
|
75
76
|
Navbar.Collapse,
|
|
76
77
|
{ id: 'basic-navbar-nav' },
|
|
77
|
-
|
|
78
|
+
React.createElement(
|
|
78
79
|
Nav,
|
|
79
80
|
{ className: 'mr-auto' },
|
|
80
81
|
dataObject && dataObject.map(function (row) {
|
|
81
82
|
if (row.type === 'dropdown') {
|
|
82
|
-
return
|
|
83
|
+
return React.createElement(
|
|
83
84
|
NavDropdown,
|
|
84
85
|
{ title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true },
|
|
85
86
|
row.dropdown && row.dropdown.map(function (ddRow, ddItems) {
|
|
86
87
|
if (ddRow.type === 'divider') {
|
|
87
|
-
return
|
|
88
|
+
return React.createElement(NavDropdown.Divider, null);
|
|
88
89
|
} else {
|
|
89
|
-
return
|
|
90
|
+
return React.createElement(
|
|
90
91
|
NavDropdown.Item,
|
|
91
92
|
{ href: ddRow.url, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', target: ddRow.blank ? '_blank' : '_self' },
|
|
92
93
|
ddRow.name
|
|
@@ -96,7 +97,7 @@ var NavNormal = function NavNormal(props) {
|
|
|
96
97
|
);
|
|
97
98
|
} else {
|
|
98
99
|
// Link default
|
|
99
|
-
return
|
|
100
|
+
return React.createElement(
|
|
100
101
|
Nav.Link,
|
|
101
102
|
{ href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', target: row.blank ? '_blank' : '_self' },
|
|
102
103
|
row.name
|
|
@@ -105,10 +106,10 @@ var NavNormal = function NavNormal(props) {
|
|
|
105
106
|
})
|
|
106
107
|
)
|
|
107
108
|
),
|
|
108
|
-
|
|
109
|
+
React.createElement(Search, null)
|
|
109
110
|
)
|
|
110
111
|
),
|
|
111
|
-
|
|
112
|
+
React.createElement(
|
|
112
113
|
'style',
|
|
113
114
|
{ jsx: 'true' },
|
|
114
115
|
'\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 '
|