@mjhls/mjh-framework 1.0.567 → 1.0.569
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 +8 -7
- package/dist/cjs/AD300x250x600.js +8 -7
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +15 -14
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-17a378db.js → ADInfeed-fdbd80ea.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +11 -10
- package/dist/cjs/ADWebcast.js +11 -10
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-070d911c.js → ADlgInfeed-ecd2642c.js} +7 -6
- package/dist/cjs/AccordionPanel.js +25 -23
- package/dist/cjs/AdSlot.js +15 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleQueue.js +115 -112
- package/dist/cjs/Auth.js +430 -593
- package/dist/cjs/{AuthorComponent-cb8b8128.js → AuthorComponent-5bb8f868.js} +13 -12
- package/dist/cjs/{BlockContent-f942392e.js → BlockContent-8b494587.js} +26 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +34 -33
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -81
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-fbe32b96.js → Dfp-a06d722a.js} +22 -20
- package/dist/cjs/EventsDeck.js +113 -106
- package/dist/cjs/ExternalResources.js +42 -41
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +149 -145
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +38 -37
- package/dist/cjs/HamMagazine.js +119 -114
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/{InscreenSensor-3aec8492.js → InscreenSensor-1f9f7db4.js} +8 -7
- package/dist/cjs/IssueContentDeck.js +69 -64
- package/dist/cjs/IssueDeck.js +64 -59
- package/dist/cjs/IssueLanding.js +47 -46
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +60 -59
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +123 -118
- package/dist/cjs/NavNative.js +306 -104
- package/dist/cjs/NavNormal.js +42 -37
- package/dist/cjs/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +1267 -69
- package/dist/cjs/PdfDownload.js +10 -9
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +63 -58
- package/dist/cjs/PublicationLanding.js +85 -81
- package/dist/cjs/QueueDeckExpanded.js +223 -223
- package/dist/cjs/RelatedContent.js +47 -46
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +20 -19
- package/dist/cjs/SocialIcons.js +91 -0
- package/dist/cjs/{SocialNavFooter-9a07520f.js → SocialNavFooter-d9ab4d17.js} +18 -17
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +37 -35
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +22 -21
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +39 -38
- package/dist/cjs/View.js +166 -161
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +46 -45
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +355 -6
- package/dist/cjs/getSerializers.js +269 -259
- package/dist/cjs/{getTargeting-b15993cb.js → getTargeting-86e68d62.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{iconBase-637d3f1e.js → iconBase-68959171.js} +1 -3
- package/dist/cjs/{index-f7ee1612.js → index-44481153.js} +10 -8
- package/dist/cjs/{index-fa0fb52c.js → index-8a3fb0bc.js} +13 -10
- package/dist/cjs/{index-5be2866f.js → index-99edf08a.js} +1 -1
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
- package/dist/cjs/{index.esm-c0d8b44b.js → index.esm-3b9b8952.js} +5 -10
- package/dist/cjs/{index.esm-25423c2f.js → index.esm-55da9104.js} +4 -7
- package/dist/cjs/{index.esm-fcdbd2c6.js → index.esm-99553d28.js} +7 -16
- package/dist/cjs/index.js +34 -33
- package/dist/cjs/{inherits-14962339.js → inherits-4a2f1cc3.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-bc4db521.js → main-c50facd7.js} +48 -43
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-cd0d9d3b.js → react-social-icons-07939b41.js} +13 -11
- package/dist/cjs/{typeof-1869832c.js → typeof-583cdc4b.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +12 -12
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-c7dba95f.js → ADInfeed-ed104a2b.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWebcast.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-8bfd6d58.js → ADlgInfeed-dfde985e.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleQueue.js +97 -97
- package/dist/esm/Auth.js +411 -578
- package/dist/esm/{AuthorComponent-158226c9.js → AuthorComponent-f67cb027.js} +10 -10
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-d05b5b23.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +58 -58
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -24
- package/dist/esm/ConferenceArticleCard.js +28 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +61 -61
- package/dist/esm/DeckQueue.js +46 -46
- package/dist/esm/{Dfp-ae9336e2.js → Dfp-0557840a.js} +10 -10
- package/dist/esm/EventsDeck.js +64 -64
- package/dist/esm/ExternalResources.js +35 -35
- package/dist/esm/Feature.js +16 -16
- package/dist/esm/ForbesHero.js +27 -27
- package/dist/esm/GridContent.js +106 -106
- package/dist/esm/GridHero.js +28 -28
- package/dist/esm/GroupDeck.js +33 -33
- package/dist/esm/HamMagazine.js +87 -87
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/{InscreenSensor-280b2b10.js → InscreenSensor-3e1fe82a.js} +5 -5
- package/dist/esm/IssueContentDeck.js +40 -40
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +44 -44
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +53 -53
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +93 -93
- package/dist/esm/NavNative.js +280 -86
- package/dist/esm/NavNormal.js +22 -22
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +51 -51
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +1261 -65
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +61 -61
- package/dist/esm/QueueDeckExpanded.js +203 -203
- package/dist/esm/RelatedContent.js +42 -42
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/SocialIcons.js +85 -0
- package/dist/esm/{SocialNavFooter-4fb16720.js → SocialNavFooter-1a531144.js} +15 -15
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TemplateNormal.js +30 -29
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +19 -19
- package/dist/esm/VerticalHero.js +12 -12
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +140 -140
- package/dist/esm/YahooHero.js +24 -24
- package/dist/esm/YoutubeGroup.js +36 -36
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +355 -6
- package/dist/esm/getSerializers.js +220 -216
- package/dist/esm/{getTargeting-1a0bd08d.js → getTargeting-1f2c61e3.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{iconBase-6ee2f2fb.js → iconBase-602d52fe.js} +1 -1
- package/dist/esm/{index-93ec3c59.js → index-1819118a.js} +3 -3
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-d2f90501.js → index-fa2ffe86.js} +1 -1
- package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
- package/dist/esm/{index.esm-b97cf389.js → index.esm-116f3274.js} +7 -16
- package/dist/esm/{index.esm-a7ad65ba.js → index.esm-16e9450c.js} +4 -7
- package/dist/esm/{index.esm-9d6faf80.js → index.esm-d6f88d94.js} +5 -10
- package/dist/esm/index.js +28 -28
- package/dist/esm/{inherits-b8e4c697.js → inherits-2758cc14.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-7255814e.js → main-b722e2e2.js} +48 -44
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{typeof-5f046efd.js → typeof-7e72fee0.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/AD728x90.js
CHANGED
|
@@ -4,12 +4,12 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import './index-
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import './index-1819118a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import './debounce-048d9cb6.js';
|
|
12
|
-
import { m as
|
|
12
|
+
import { m as main_40 } from './main-b722e2e2.js';
|
|
13
13
|
import './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -29,7 +29,7 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
29
29
|
_ref$fixedPos = _ref.fixedPos;
|
|
30
30
|
|
|
31
31
|
var mobileView = false;
|
|
32
|
-
if (
|
|
32
|
+
if (main_40) {
|
|
33
33
|
pos = 'top-mobile';
|
|
34
34
|
mobileView = true;
|
|
35
35
|
}
|
|
@@ -48,10 +48,10 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
48
48
|
var browserSizes = [[728, 90], [970, 90], [320, 50], [300, 50]];
|
|
49
49
|
var mobileSizes = [[320, 50], [300, 50]];
|
|
50
50
|
|
|
51
|
-
return
|
|
51
|
+
return React.createElement(
|
|
52
52
|
'div',
|
|
53
53
|
{ className: 'leaderboard-ad-wrapper' },
|
|
54
|
-
|
|
54
|
+
React.createElement(DFPAdSlot, {
|
|
55
55
|
slotId: slotId,
|
|
56
56
|
networkID: networkID,
|
|
57
57
|
adUnit: adUnit,
|
|
@@ -66,12 +66,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
66
66
|
sizes: [[320, 50], [300, 50]]
|
|
67
67
|
}]
|
|
68
68
|
}),
|
|
69
|
-
|
|
69
|
+
React.createElement(
|
|
70
70
|
'style',
|
|
71
71
|
{ jsx: 'true' },
|
|
72
72
|
'\n .leaderboard-ad-wrapper {\n height: auto !important;\n background: #fff;\n }\n .leaderboard-ad-wrapper .AD728x90 {\n height: auto !important;\n }\n /* setting height to 0px when the ad slot is empty. */\n .leaderboard-ad-wrapper .AD728x90 div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
73
73
|
),
|
|
74
|
-
|
|
74
|
+
main_40 && React.createElement(
|
|
75
75
|
'style',
|
|
76
76
|
{ jsx: 'true' },
|
|
77
77
|
'\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n }\n }\n '
|
|
@@ -4,12 +4,12 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import './index-
|
|
7
|
+
import React, { useState, useEffect } from 'react';
|
|
8
|
+
import './index-1819118a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import './debounce-048d9cb6.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-b722e2e2.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -89,9 +89,9 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
89
89
|
}
|
|
90
90
|
// Removed else part so that the container won't be restricted and will be responsive based on the size of the ad.
|
|
91
91
|
// Need to add this CSS in site level magazine.css to make the close button visible for the expanded ad.
|
|
92
|
-
/* .w7e-platform-58 {
|
|
93
|
-
z-index: 9999999 !important;
|
|
94
|
-
}
|
|
92
|
+
/* .w7e-platform-58 {
|
|
93
|
+
z-index: 9999999 !important;
|
|
94
|
+
}
|
|
95
95
|
*/
|
|
96
96
|
}
|
|
97
97
|
} else {
|
|
@@ -99,13 +99,13 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
return
|
|
103
|
-
|
|
102
|
+
return React.createElement(
|
|
103
|
+
React.Fragment,
|
|
104
104
|
null,
|
|
105
|
-
widthFlag && adTargeting.document_url &&
|
|
105
|
+
widthFlag && adTargeting.document_url && React.createElement(
|
|
106
106
|
'div',
|
|
107
107
|
{ id: 'floating-ad-wrapper', className: 'floating-ad-wrapper hide-floating ' + title },
|
|
108
|
-
|
|
108
|
+
React.createElement(DFPAdSlot, {
|
|
109
109
|
className: className,
|
|
110
110
|
slotId: slotId,
|
|
111
111
|
networkID: networkID,
|
|
@@ -115,7 +115,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
115
115
|
refreshFlag: refreshFlag,
|
|
116
116
|
checkIsAdFound: checkIsAdFound
|
|
117
117
|
}),
|
|
118
|
-
|
|
118
|
+
React.createElement(
|
|
119
119
|
'div',
|
|
120
120
|
{ className: 'closeButton', onClick: function onClick() {
|
|
121
121
|
return collapseAd();
|
|
@@ -123,7 +123,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
123
123
|
'x'
|
|
124
124
|
)
|
|
125
125
|
),
|
|
126
|
-
|
|
126
|
+
React.createElement(
|
|
127
127
|
'style',
|
|
128
128
|
{ jsx: 'true' },
|
|
129
129
|
'\n .display-floating {\n display: block;\n }\n .hide-floating {\n display: none;\n }\n .floating-ad-wrapper {\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .closeButton {\n position: absolute;\n top: -16px;\n right: -16px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 15px;\n cursor: pointer;\n z-index: 999999;\n }\n '
|
package/dist/esm/ADFooter.js
CHANGED
|
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-16fd8b46.js';
|
|
3
3
|
import './core.get-iterator-method-f5c0d66a.js';
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
|
-
import
|
|
5
|
+
import React, { useState } from 'react';
|
|
6
6
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
7
7
|
|
|
8
8
|
var ADFooter = function ADFooter(_ref) {
|
|
@@ -13,14 +13,14 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
13
13
|
showAd = _useState2[0],
|
|
14
14
|
setShowAd = _useState2[1];
|
|
15
15
|
|
|
16
|
-
return
|
|
17
|
-
|
|
16
|
+
return React.createElement(
|
|
17
|
+
React.Fragment,
|
|
18
18
|
null,
|
|
19
|
-
showAd &&
|
|
19
|
+
showAd && React.createElement(
|
|
20
20
|
'div',
|
|
21
21
|
{ className: 'ADFooter' },
|
|
22
22
|
children,
|
|
23
|
-
|
|
23
|
+
React.createElement(
|
|
24
24
|
'div',
|
|
25
25
|
{ className: 'closeButton', onClick: function onClick() {
|
|
26
26
|
return setShowAd(false);
|
|
@@ -28,7 +28,7 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
28
28
|
'x'
|
|
29
29
|
)
|
|
30
30
|
),
|
|
31
|
-
|
|
31
|
+
React.createElement(
|
|
32
32
|
'style',
|
|
33
33
|
{ jsx: 'true' },
|
|
34
34
|
'\n .ADFooter {\n width: auto;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .adBox > div:empty {\n display: none !important;\n }\n .adBox > div:not(:empty){\n display: block !important;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
|
package/dist/esm/ADGutter.js
CHANGED
|
@@ -4,12 +4,12 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import './index-
|
|
7
|
+
import React, { useState, useEffect } from 'react';
|
|
8
|
+
import './index-1819118a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import './debounce-048d9cb6.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-b722e2e2.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -56,19 +56,19 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
56
56
|
}, [minScreenWidth]);
|
|
57
57
|
|
|
58
58
|
if (widthFlag) {
|
|
59
|
-
return
|
|
60
|
-
|
|
59
|
+
return React.createElement(
|
|
60
|
+
React.Fragment,
|
|
61
61
|
null,
|
|
62
|
-
widthFlag &&
|
|
62
|
+
widthFlag && React.createElement(
|
|
63
63
|
'div',
|
|
64
64
|
{ className: 'gutter-ad-wrapper ' + title },
|
|
65
|
-
|
|
65
|
+
React.createElement(
|
|
66
66
|
'div',
|
|
67
67
|
{ className: 'gutter-ad' },
|
|
68
|
-
|
|
68
|
+
React.createElement(DFPAdSlot, { className: className, slotId: slotId, networkID: networkID, sizes: sizes, adUnit: adUnit, targeting: adTargeting, refreshFlag: false })
|
|
69
69
|
)
|
|
70
70
|
),
|
|
71
|
-
|
|
71
|
+
React.createElement(
|
|
72
72
|
'style',
|
|
73
73
|
{ jsx: 'true' },
|
|
74
74
|
'\n .gutter-ad-wrapper {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 999;\n }\n .gutter-ad {\n width: 150px;\n position: relative;\n top: 50;\n }\n '
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import Card from 'react-bootstrap/Card';
|
|
3
3
|
import DFPAdSlot from './AdSlot.js';
|
|
4
4
|
|
|
@@ -30,13 +30,13 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
return
|
|
33
|
+
return React.createElement(
|
|
34
34
|
'div',
|
|
35
35
|
{ id: 'brand-insight-wrapper-' + (index + 1), className: 'brand-insight-wrapper', style: { display: 'none', flex: '1 0 auto' } },
|
|
36
|
-
|
|
36
|
+
React.createElement(
|
|
37
37
|
Card,
|
|
38
38
|
{ className: 'ad-wrapper', style: { display: 'block !important', flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
39
|
-
|
|
39
|
+
React.createElement(DFPAdSlot, {
|
|
40
40
|
className: className,
|
|
41
41
|
networkID: networkID,
|
|
42
42
|
adUnit: adUnit,
|
|
@@ -47,7 +47,7 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
47
47
|
refreshFlag: false
|
|
48
48
|
})
|
|
49
49
|
),
|
|
50
|
-
|
|
50
|
+
React.createElement(
|
|
51
51
|
'style',
|
|
52
52
|
{ jsx: 'true' },
|
|
53
53
|
''
|
package/dist/esm/ADSkyscraper.js
CHANGED
|
@@ -4,12 +4,12 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import './index-
|
|
7
|
+
import React, { useState, useEffect } from 'react';
|
|
8
|
+
import './index-1819118a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import './debounce-048d9cb6.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-b722e2e2.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -76,16 +76,16 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
if (widthFlag) {
|
|
79
|
-
return
|
|
80
|
-
|
|
79
|
+
return React.createElement(
|
|
80
|
+
React.Fragment,
|
|
81
81
|
null,
|
|
82
|
-
|
|
82
|
+
React.createElement(
|
|
83
83
|
'div',
|
|
84
84
|
{ id: 'skyscraper-ad-wrapper', className: 'skyscraper-ad-wrapper' },
|
|
85
|
-
|
|
85
|
+
React.createElement(
|
|
86
86
|
'div',
|
|
87
87
|
{ className: 'skyscraper-ad' },
|
|
88
|
-
|
|
88
|
+
React.createElement(DFPAdSlot, {
|
|
89
89
|
className: className,
|
|
90
90
|
slotId: slotId,
|
|
91
91
|
networkID: networkID,
|
|
@@ -96,7 +96,7 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
96
96
|
checkIsAdFound: checkIsAdFound
|
|
97
97
|
})
|
|
98
98
|
),
|
|
99
|
-
|
|
99
|
+
React.createElement(
|
|
100
100
|
'style',
|
|
101
101
|
{ jsx: 'true' },
|
|
102
102
|
'\n .skyscraper-ad-wrapper {\n margin-top: 20px;\n margin-bottom: 20px;\n }\n '
|
|
@@ -4,12 +4,12 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import './index-
|
|
7
|
+
import React, { useState, useEffect } from 'react';
|
|
8
|
+
import './index-1819118a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import './debounce-048d9cb6.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-b722e2e2.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -70,16 +70,16 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
if (widthFlag) {
|
|
73
|
-
return
|
|
74
|
-
|
|
73
|
+
return React.createElement(
|
|
74
|
+
React.Fragment,
|
|
75
75
|
null,
|
|
76
|
-
|
|
76
|
+
React.createElement(
|
|
77
77
|
'div',
|
|
78
78
|
{ id: 'sponsored-ad-wrapper', className: 'sponsored-ad-wrapper' },
|
|
79
|
-
|
|
79
|
+
React.createElement(
|
|
80
80
|
'div',
|
|
81
81
|
{ className: 'sponsored-ad' },
|
|
82
|
-
|
|
82
|
+
React.createElement(DFPAdSlot, {
|
|
83
83
|
className: className,
|
|
84
84
|
slotId: slotId,
|
|
85
85
|
networkID: networkID,
|
package/dist/esm/ADWebcast.js
CHANGED
|
@@ -4,12 +4,12 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import './index-
|
|
7
|
+
import React, { useState, useEffect } from 'react';
|
|
8
|
+
import './index-1819118a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import './debounce-048d9cb6.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-b722e2e2.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -75,16 +75,16 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
if (widthFlag) {
|
|
78
|
-
return
|
|
79
|
-
|
|
78
|
+
return React.createElement(
|
|
79
|
+
React.Fragment,
|
|
80
80
|
null,
|
|
81
|
-
|
|
81
|
+
React.createElement(
|
|
82
82
|
'div',
|
|
83
83
|
{ id: 'webcast-ad-wrapper', className: 'webcast-ad-wrapper' },
|
|
84
|
-
|
|
84
|
+
React.createElement(
|
|
85
85
|
'div',
|
|
86
86
|
{ className: 'webcast-ad', style: { paddingBottom: '15px' } },
|
|
87
|
-
|
|
87
|
+
React.createElement(DFPAdSlot, {
|
|
88
88
|
className: className,
|
|
89
89
|
slotId: slotId,
|
|
90
90
|
networkID: networkID,
|
package/dist/esm/ADWelcome.js
CHANGED
|
@@ -4,12 +4,12 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import './index-
|
|
7
|
+
import React, { useState, useEffect } from 'react';
|
|
8
|
+
import './index-1819118a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import './debounce-048d9cb6.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-b722e2e2.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -76,21 +76,21 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
return
|
|
79
|
+
return React.createElement(
|
|
80
80
|
'div',
|
|
81
81
|
{ style: { outline: 'none', display: 'none' }, className: 'welcome-modal', id: 'welcome-modal' },
|
|
82
|
-
|
|
82
|
+
React.createElement(
|
|
83
83
|
'div',
|
|
84
84
|
{ className: 'welcome-ad-head-wrapper' },
|
|
85
|
-
|
|
85
|
+
React.createElement(
|
|
86
86
|
'div',
|
|
87
87
|
{ className: 'left-top' },
|
|
88
|
-
|
|
88
|
+
React.createElement('img', { style: { width: '100%' }, src: Website.logo, alt: Website.title })
|
|
89
89
|
),
|
|
90
|
-
|
|
90
|
+
React.createElement(
|
|
91
91
|
'div',
|
|
92
92
|
{ className: 'right-top' },
|
|
93
|
-
|
|
93
|
+
React.createElement(
|
|
94
94
|
'span',
|
|
95
95
|
{
|
|
96
96
|
className: 'continue-site',
|
|
@@ -105,7 +105,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
105
105
|
} },
|
|
106
106
|
'CONTINUE TO SITE >'
|
|
107
107
|
),
|
|
108
|
-
|
|
108
|
+
React.createElement(
|
|
109
109
|
'p',
|
|
110
110
|
{
|
|
111
111
|
style: {
|
|
@@ -117,10 +117,10 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
117
117
|
)
|
|
118
118
|
)
|
|
119
119
|
),
|
|
120
|
-
|
|
120
|
+
React.createElement(
|
|
121
121
|
'div',
|
|
122
122
|
{ className: title },
|
|
123
|
-
|
|
123
|
+
React.createElement(DFPAdSlot, {
|
|
124
124
|
className: className,
|
|
125
125
|
slotId: slotId,
|
|
126
126
|
networkID: networkID,
|
|
@@ -131,7 +131,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
131
131
|
checkIsAdFound: checkIsAdFound
|
|
132
132
|
})
|
|
133
133
|
),
|
|
134
|
-
|
|
134
|
+
React.createElement(
|
|
135
135
|
'style',
|
|
136
136
|
{ jsx: 'true' },
|
|
137
137
|
'\n .continue-site:hover {\n cursor: pointer;\n }\n\n .welcome-modal {\n max-width: 100% !important;\n margin: 0px !important;\n height: 100vh;\n }\n .welcome-ad-head-wrapper {\n display: flex;\n justify-content: space-between;\n }\n .right-top {\n max-width: 250px;\n padding: 10px;\n }\n .left-top {\n max-width: 250px;\n padding: 10px;\n }\n .' + title + ' {\n width: auto !important;\n padding-top: 25px;\n justify-content: center;\n align-items: center;\n display: flex;\n }\n '
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import 'react-bootstrap/Card';
|
|
3
3
|
import DFPAdSlot from './AdSlot.js';
|
|
4
4
|
|
|
@@ -28,11 +28,11 @@ var ADlgInfeed = function ADlgInfeed(props) {
|
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
return
|
|
31
|
+
return React.createElement(
|
|
32
32
|
'div',
|
|
33
33
|
{ id: 'lg-infeed-wrapper-' + (index + 1), className: 'lg-infeed-wrapper', style: { display: 'none', flex: '1 0 auto' } },
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
React.createElement(DFPAdSlot, { className: className, networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, sizes: sizes, checkIsAdFound: checkIsAdFound, refreshFlag: false }),
|
|
35
|
+
React.createElement(
|
|
36
36
|
'style',
|
|
37
37
|
{ jsx: 'true' },
|
|
38
38
|
'\n .lg-infeed-wrapper {\n flex-direction: row;\n margin-bottom: 1.25rem;\n padding-bottom: 1.25rem;\n border-bottom: 1px solid rgb(221, 221, 221);\n }\n '
|
|
@@ -2,10 +2,10 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-16fd8b46.js';
|
|
3
3
|
import './core.get-iterator-method-f5c0d66a.js';
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
|
-
import
|
|
5
|
+
import React, { useState } from 'react';
|
|
6
6
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
7
|
-
import './iconBase-
|
|
8
|
-
import { a as IoMdArrowDropdown } from './index.esm-
|
|
7
|
+
import './iconBase-602d52fe.js';
|
|
8
|
+
import { a as IoMdArrowDropdown } from './index.esm-116f3274.js';
|
|
9
9
|
import Accordion from 'react-bootstrap/Accordion';
|
|
10
10
|
import { useAccordionToggle } from 'react-bootstrap/AccordionToggle';
|
|
11
11
|
|
|
@@ -29,48 +29,48 @@ var AccordionPanel = function AccordionPanel(props) {
|
|
|
29
29
|
var decoratedOnClick = useAccordionToggle(eventKey, function () {
|
|
30
30
|
return handleAccordion(eventKey);
|
|
31
31
|
});
|
|
32
|
-
return
|
|
32
|
+
return React.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
{ onMouseEnter: decoratedOnClick, className: 'accordion-head' },
|
|
35
35
|
children
|
|
36
36
|
);
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
return
|
|
40
|
-
|
|
39
|
+
return React.createElement(
|
|
40
|
+
React.Fragment,
|
|
41
41
|
null,
|
|
42
|
-
data && data.length &&
|
|
42
|
+
data && data.length && React.createElement(
|
|
43
43
|
Accordion,
|
|
44
44
|
{ defaultActiveKey: '0', activeKey: activeAccordionKey, className: accordionClassName },
|
|
45
45
|
data.map(function (item) {
|
|
46
|
-
return
|
|
47
|
-
|
|
46
|
+
return React.createElement(
|
|
47
|
+
React.Fragment,
|
|
48
48
|
null,
|
|
49
|
-
|
|
49
|
+
React.createElement(
|
|
50
50
|
CustomToggle,
|
|
51
51
|
{ key: item.id, eventKey: item.id },
|
|
52
|
-
|
|
52
|
+
React.createElement(
|
|
53
53
|
'a',
|
|
54
54
|
{ href: item.url },
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
React.createElement(
|
|
56
|
+
React.Fragment,
|
|
57
57
|
null,
|
|
58
58
|
item.title,
|
|
59
|
-
item.subItems &&
|
|
59
|
+
item.subItems && React.createElement(IoMdArrowDropdown, null)
|
|
60
60
|
)
|
|
61
61
|
)
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
React.createElement(
|
|
64
64
|
Accordion.Collapse,
|
|
65
65
|
{ eventKey: item.id },
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
'div',
|
|
68
68
|
null,
|
|
69
69
|
item.subItems && item.subItems.map(function (subItem) {
|
|
70
|
-
return
|
|
70
|
+
return React.createElement(
|
|
71
71
|
'a',
|
|
72
72
|
{ href: subItem.url },
|
|
73
|
-
|
|
73
|
+
React.createElement(
|
|
74
74
|
'div',
|
|
75
75
|
{ key: subItem.id, className: 'accordion-sub-item' },
|
|
76
76
|
subItem.title
|
package/dist/esm/AdSlot.js
CHANGED
|
@@ -4,12 +4,12 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import { a as lib_2 } from './index-
|
|
7
|
+
import React, { useState } from 'react';
|
|
8
|
+
import { a as lib_2 } from './index-1819118a.js';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import { d as debounce_1 } from './debounce-048d9cb6.js';
|
|
12
|
-
import { b as main_16 } from './main-
|
|
12
|
+
import { b as main_16 } from './main-b722e2e2.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -61,10 +61,10 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
61
61
|
eventData = _useState8[0],
|
|
62
62
|
setEventData = _useState8[1];
|
|
63
63
|
|
|
64
|
-
return
|
|
64
|
+
return React.createElement(
|
|
65
65
|
'div',
|
|
66
66
|
{ className: className, style: { textAlign: 'center' } },
|
|
67
|
-
|
|
67
|
+
React.createElement(lib_2, {
|
|
68
68
|
style: { marginBottom: '1rem' },
|
|
69
69
|
slotId: slotId,
|
|
70
70
|
sizes: sizes,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import { b as lib_1 } from './index-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { b as lib_1 } from './index-1819118a.js';
|
|
4
4
|
import 'prop-types';
|
|
5
5
|
|
|
6
6
|
var AdSlotsProvider = function AdSlotsProvider(_ref) {
|
|
@@ -11,7 +11,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
|
|
|
11
11
|
_ref$singleRequest = _ref.singleRequest,
|
|
12
12
|
singleRequest = _ref$singleRequest === undefined ? true : _ref$singleRequest;
|
|
13
13
|
|
|
14
|
-
return
|
|
14
|
+
return React.createElement(
|
|
15
15
|
lib_1,
|
|
16
16
|
{
|
|
17
17
|
dfpNetworkId: networkID,
|
|
@@ -7,7 +7,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-8712d678.js';
|
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
8
|
import { _ as _extends } from './extends-6e00b262.js';
|
|
9
9
|
import './_object-sap-56bb8073.js';
|
|
10
|
-
import
|
|
10
|
+
import React, { useRef, useEffect } from 'react';
|
|
11
11
|
import { _ as _Object$keys } from './keys-04cdec91.js';
|
|
12
12
|
|
|
13
13
|
var sortByName = function sortByName(arr) {
|
|
@@ -53,12 +53,12 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
53
53
|
padding: '0 10px',
|
|
54
54
|
color: 'grey'
|
|
55
55
|
};
|
|
56
|
-
return
|
|
56
|
+
return React.createElement(
|
|
57
57
|
'div',
|
|
58
58
|
{ className: 'd-flex flex-wrap mb-3' },
|
|
59
59
|
alphabet.map(function (letter, i) {
|
|
60
60
|
if (dataList[letter]) {
|
|
61
|
-
return
|
|
61
|
+
return React.createElement(
|
|
62
62
|
'a',
|
|
63
63
|
{
|
|
64
64
|
key: i,
|
|
@@ -70,7 +70,7 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
70
70
|
window.scrollTo(0, itemsRef.current[index].offsetTop);
|
|
71
71
|
}
|
|
72
72
|
} },
|
|
73
|
-
|
|
73
|
+
React.createElement(
|
|
74
74
|
'span',
|
|
75
75
|
{
|
|
76
76
|
style: _extends({}, style, {
|
|
@@ -80,7 +80,7 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
80
80
|
)
|
|
81
81
|
);
|
|
82
82
|
}
|
|
83
|
-
return
|
|
83
|
+
return React.createElement(
|
|
84
84
|
'span',
|
|
85
85
|
{ key: i, style: style },
|
|
86
86
|
letter
|
|
@@ -93,29 +93,29 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
93
93
|
itemsRef.current = itemsRef.current.slice(0, _Object$keys(dataList).length);
|
|
94
94
|
}, [dataList]);
|
|
95
95
|
|
|
96
|
-
return
|
|
97
|
-
|
|
96
|
+
return React.createElement(
|
|
97
|
+
React.Fragment,
|
|
98
98
|
null,
|
|
99
99
|
renderAlbhabetList(),
|
|
100
100
|
_Object$keys(dataList).map(function (letter, index) {
|
|
101
|
-
return
|
|
102
|
-
|
|
101
|
+
return React.createElement(
|
|
102
|
+
React.Fragment,
|
|
103
103
|
{ key: index },
|
|
104
|
-
|
|
104
|
+
React.createElement(
|
|
105
105
|
'h3',
|
|
106
106
|
{ ref: function ref(el) {
|
|
107
107
|
return itemsRef.current[index] = el;
|
|
108
108
|
} },
|
|
109
109
|
letter
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React.createElement(
|
|
112
112
|
'ul',
|
|
113
113
|
null,
|
|
114
114
|
dataList[letter].map(function (item, i) {
|
|
115
|
-
return
|
|
115
|
+
return React.createElement(
|
|
116
116
|
'li',
|
|
117
117
|
{ key: i },
|
|
118
|
-
|
|
118
|
+
React.createElement(
|
|
119
119
|
'a',
|
|
120
120
|
{ href: item.url },
|
|
121
121
|
item.name
|