@mjhls/mjh-framework 1.0.401 → 1.0.403
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/{ADInfeed-d1783f42.js → ADInfeed-494f5e6b.js} +1 -1
- package/dist/cjs/{AdSlot-20aa927e.js → AdSlot-4d22aad4.js} +2 -2
- package/dist/cjs/DeckContent.js +9 -7
- package/dist/cjs/DeckQueue.js +6 -4
- package/dist/cjs/{Dfp-27b922b0.js → Dfp-2399639f.js} +1 -1
- package/dist/cjs/{Figure-8dd7df44.js → Figure-04d4a60d.js} +1 -1
- package/dist/cjs/{GridContent-c0c0d3e5.js → GridContent-2f42692a.js} +7 -6
- package/dist/cjs/GridContent.js +9 -7
- package/dist/cjs/IssueDeck.js +182 -86
- package/dist/cjs/MasterDeck.js +21 -7
- package/dist/cjs/{Normal-53437675.js → Normal-4a0d7dfc.js} +105 -3
- package/dist/cjs/QueueDeckExpanded.js +9 -7
- package/dist/cjs/{TaxonomyCard-cf264332.js → TaxonomyCard-eb928f05.js} +8 -1
- package/dist/cjs/TaxonomyCard.js +1 -1
- package/dist/cjs/TemplateNormal.js +6 -4
- package/dist/cjs/VideoSeriesListing.js +3 -2
- package/dist/cjs/_iter-detect-234453c3.js +53 -0
- package/dist/cjs/index.es-ab3f2690.js +428 -0
- package/dist/cjs/index.js +54 -109
- package/dist/cjs/{main-2020ba94.js → main-bc4db521.js} +0 -50
- package/dist/cjs/{promise-d5136080.js → promise-0a493c7a.js} +4 -4
- package/dist/cjs/{toConsumableArray-3cf1df2c.js → toConsumableArray-25d0e2a3.js} +4 -4
- package/dist/cjs/{visibility-sensor-43e0b37c.js → visibility-sensor-0c45a583.js} +0 -421
- package/dist/esm/{ADInfeed-40adc8e0.js → ADInfeed-e5cefea5.js} +1 -1
- package/dist/esm/{AdSlot-c3ed3214.js → AdSlot-78e48a2c.js} +2 -2
- package/dist/esm/DeckContent.js +8 -6
- package/dist/esm/DeckQueue.js +5 -3
- package/dist/esm/{Dfp-3b3273ee.js → Dfp-d5fe1252.js} +1 -1
- package/dist/esm/{Figure-f269f495.js → Figure-e32f60c5.js} +1 -1
- package/dist/esm/{GridContent-b042eb2d.js → GridContent-cafb2fe4.js} +6 -5
- package/dist/esm/GridContent.js +9 -7
- package/dist/esm/IssueDeck.js +183 -87
- package/dist/esm/MasterDeck.js +20 -6
- package/dist/esm/{Normal-fe65159c.js → Normal-b8c423e3.js} +104 -4
- package/dist/esm/QueueDeckExpanded.js +8 -6
- package/dist/esm/{TaxonomyCard-12f0a90a.js → TaxonomyCard-b29aa7ac.js} +8 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TemplateNormal.js +6 -4
- package/dist/esm/VideoSeriesListing.js +2 -1
- package/dist/esm/_iter-detect-7c281f0a.js +49 -0
- package/dist/esm/index.es-938a3a58.js +423 -0
- package/dist/esm/index.js +52 -107
- package/dist/esm/{main-25bb2c75.js → main-7d1b3c98.js} +1 -48
- package/dist/esm/{promise-5d7cd78a.js → promise-2592a80a.js} +1 -1
- package/dist/esm/{toConsumableArray-d7054876.js → toConsumableArray-c5e2fde8.js} +1 -1
- package/dist/esm/{visibility-sensor-49d5805d.js → visibility-sensor-0baa4eea.js} +2 -422
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import { c as createCommonjsModule, a as commonjsGlobal, g as getCjsExportFromNa
|
|
|
2
2
|
import { _ as _objectKeys, a as _toObject, b as _core, c as _isObject, d as _ctx, e as _descriptors, f as _objectDp, g as _iobject, h as _toLength, i as _global, j as _fails, k as _hide, l as _export, m as _aFunction } from './_to-object-1b1f7766.js';
|
|
3
3
|
import { _ as _objectCreate, a as _iterDefine, b as _iterStep, c as _wks, d as _setToStringTag, e as _classof } from './web.dom.iterable-e6bf2bf6.js';
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
|
-
import
|
|
6
|
-
import { _ as _toConsumableArray, a as _Array$from } from './toConsumableArray-
|
|
5
|
+
import './_iter-detect-7c281f0a.js';
|
|
6
|
+
import { _ as _toConsumableArray, a as _Array$from } from './toConsumableArray-c5e2fde8.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
8
|
import { _ as _extends$2, a as _Object$assign } from './extends-92072fff.js';
|
|
9
9
|
import { _ as _objectSap, a as _inherits$1, b as _classCallCheck$1, c as _possibleConstructorReturn$1, d as _Object$getPrototypeOf, e as _createClass$1, f as defineProperty$2 } from './inherits-dfba24f5.js';
|
|
@@ -17,25 +17,27 @@ import Col from 'react-bootstrap/Col';
|
|
|
17
17
|
import Card from 'react-bootstrap/Card';
|
|
18
18
|
import { m as moment } from './moment-12415288.js';
|
|
19
19
|
import Router, { useRouter } from 'next/router';
|
|
20
|
-
import { I as InfiniteScroll
|
|
20
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
21
21
|
import 'react-dom';
|
|
22
|
+
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
22
23
|
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
23
24
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
25
|
+
import { m as main_39, a as main_16, b as main_38 } from './main-7d1b3c98.js';
|
|
24
26
|
import { c as clean_html_1, h as html_decode_1 } from './entities-7cc3bf45.js';
|
|
25
27
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-04e02710.js';
|
|
26
|
-
import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-
|
|
27
|
-
export { D as AdSlot, B as Beam } from './AdSlot-
|
|
28
|
-
import { _ as _anInstance, a as _forOf, b as _redefineAll, c as _setSpecies } from './promise-
|
|
29
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
28
|
+
import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-78e48a2c.js';
|
|
29
|
+
export { D as AdSlot, B as Beam } from './AdSlot-78e48a2c.js';
|
|
30
|
+
import { _ as _anInstance, a as _forOf, b as _redefineAll, c as _setSpecies } from './promise-2592a80a.js';
|
|
31
|
+
import { A as ADInfeed } from './ADInfeed-e5cefea5.js';
|
|
30
32
|
export { default as DeckContent } from './DeckContent.js';
|
|
31
33
|
import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './get-53653403.js';
|
|
32
|
-
export { A as AD, G as GridContent } from './GridContent-
|
|
34
|
+
export { A as AD, G as GridContent } from './GridContent-cafb2fe4.js';
|
|
33
35
|
import { A as AuthorComponent } from './AuthorComponent-c9e46673.js';
|
|
34
36
|
export { default as DeckQueue } from './DeckQueue.js';
|
|
35
37
|
import 'react-bootstrap/Media';
|
|
36
38
|
export { default as ThumbnailCard } from './ThumbnailCard.js';
|
|
37
|
-
import { B as BlockContent } from './TaxonomyCard-
|
|
38
|
-
export { T as TaxonomyCard } from './TaxonomyCard-
|
|
39
|
+
import { B as BlockContent } from './TaxonomyCard-b29aa7ac.js';
|
|
40
|
+
export { T as TaxonomyCard } from './TaxonomyCard-b29aa7ac.js';
|
|
39
41
|
import './react-social-icons-a7d5c5c7.js';
|
|
40
42
|
import { g as getYoutubeId } from './smoothscroll-4b699764.js';
|
|
41
43
|
import GroupDeck from './GroupDeck.js';
|
|
@@ -52,8 +54,8 @@ export { default as IssueDeck } from './IssueDeck.js';
|
|
|
52
54
|
import 'react-bootstrap/Badge';
|
|
53
55
|
export { default as IssueContentDeck } from './IssueContentDeck.js';
|
|
54
56
|
import Spinner from 'react-bootstrap/Spinner';
|
|
55
|
-
import { M as MdPictureAsPdf } from './Normal-
|
|
56
|
-
export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search,
|
|
57
|
+
import { M as MdPictureAsPdf } from './Normal-b8c423e3.js';
|
|
58
|
+
export { A as AD728x90, g as ADSponsoredResources, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, h as SideFooter, T as TemplateNormal } from './Normal-b8c423e3.js';
|
|
57
59
|
import 'react-bootstrap/ListGroup';
|
|
58
60
|
import Head from 'next/head';
|
|
59
61
|
import Accordion from 'react-bootstrap/Accordion';
|
|
@@ -3507,9 +3509,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
3507
3509
|
targeting = _floatingAd$targeting === undefined ? {} : _floatingAd$targeting,
|
|
3508
3510
|
_floatingAd$position = floatingAd.position,
|
|
3509
3511
|
position = _floatingAd$position === undefined ? 'float' : _floatingAd$position,
|
|
3510
|
-
networkID = floatingAd.networkID
|
|
3511
|
-
_floatingAd$sizes = floatingAd.sizes,
|
|
3512
|
-
sizes = _floatingAd$sizes === undefined ? [[1025, 100], [728, 90]] : _floatingAd$sizes;
|
|
3512
|
+
networkID = floatingAd.networkID;
|
|
3513
3513
|
|
|
3514
3514
|
var adTargeting = {
|
|
3515
3515
|
content_placement: targeting.content_placement,
|
|
@@ -3563,7 +3563,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
3563
3563
|
className: className,
|
|
3564
3564
|
slotId: slotId,
|
|
3565
3565
|
networkID: networkID,
|
|
3566
|
-
sizes:
|
|
3566
|
+
sizes: [[1025, 100]],
|
|
3567
3567
|
adUnit: adUnit,
|
|
3568
3568
|
targeting: adTargeting,
|
|
3569
3569
|
refreshFlag: refreshFlag,
|
|
@@ -3767,84 +3767,6 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
3767
3767
|
);
|
|
3768
3768
|
};
|
|
3769
3769
|
|
|
3770
|
-
var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
3771
|
-
var sponsoredAd = _ref.sponsoredAd,
|
|
3772
|
-
_ref$minScreenWidth = _ref.minScreenWidth,
|
|
3773
|
-
minScreenWidth = _ref$minScreenWidth === undefined ? 1200 : _ref$minScreenWidth;
|
|
3774
|
-
var className = sponsoredAd.className,
|
|
3775
|
-
slotId = sponsoredAd.slotId,
|
|
3776
|
-
adUnit = sponsoredAd.adUnit,
|
|
3777
|
-
_sponsoredAd$targetin = sponsoredAd.targeting,
|
|
3778
|
-
targeting = _sponsoredAd$targetin === undefined ? {} : _sponsoredAd$targetin,
|
|
3779
|
-
_sponsoredAd$position = sponsoredAd.position,
|
|
3780
|
-
position = _sponsoredAd$position === undefined ? 'sponsor' : _sponsoredAd$position,
|
|
3781
|
-
networkID = sponsoredAd.networkID,
|
|
3782
|
-
sizes = sponsoredAd.sizes;
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
var adTargeting = {
|
|
3786
|
-
content_placement: targeting.content_placement,
|
|
3787
|
-
tags: targeting.tags,
|
|
3788
|
-
document_group: targeting.document_group,
|
|
3789
|
-
document_url: targeting.document_url,
|
|
3790
|
-
pos: position,
|
|
3791
|
-
campaign_id: targeting.campaign_id,
|
|
3792
|
-
issue_url: targeting.issue_url,
|
|
3793
|
-
publication_url: targeting.publication_url
|
|
3794
|
-
};
|
|
3795
|
-
|
|
3796
|
-
var _useState = useState(false),
|
|
3797
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
3798
|
-
widthFlag = _useState2[0],
|
|
3799
|
-
setWidthFlag = _useState2[1];
|
|
3800
|
-
|
|
3801
|
-
useEffect(function () {
|
|
3802
|
-
if (window && window.innerWidth >= minScreenWidth) {
|
|
3803
|
-
setWidthFlag(true);
|
|
3804
|
-
}
|
|
3805
|
-
}, [minScreenWidth]);
|
|
3806
|
-
|
|
3807
|
-
var collapseAd = function collapseAd() {
|
|
3808
|
-
var parent = document.getElementById('sponsored-ad-wrapper');
|
|
3809
|
-
parent.style.height = '0%';
|
|
3810
|
-
parent.style.width = '0%';
|
|
3811
|
-
parent.style.display = 'none';
|
|
3812
|
-
};
|
|
3813
|
-
|
|
3814
|
-
var checkIsAdFound = function checkIsAdFound(isFound) {
|
|
3815
|
-
if (isFound) {
|
|
3816
|
-
var parent = document.getElementById('sponsored-ad-wrapper');
|
|
3817
|
-
parent.style.display = 'block';
|
|
3818
|
-
} else {
|
|
3819
|
-
collapseAd();
|
|
3820
|
-
}
|
|
3821
|
-
};
|
|
3822
|
-
if (widthFlag) {
|
|
3823
|
-
return React__default.createElement(
|
|
3824
|
-
React__default.Fragment,
|
|
3825
|
-
null,
|
|
3826
|
-
React__default.createElement(
|
|
3827
|
-
'div',
|
|
3828
|
-
{ id: 'sponsored-ad-wrapper', className: 'sponsored-ad-wrapper' },
|
|
3829
|
-
React__default.createElement(
|
|
3830
|
-
'div',
|
|
3831
|
-
{ className: 'sponsored-ad' },
|
|
3832
|
-
React__default.createElement(DFPAdSlot, {
|
|
3833
|
-
className: className,
|
|
3834
|
-
slotId: slotId,
|
|
3835
|
-
networkID: networkID,
|
|
3836
|
-
sizes: sizes,
|
|
3837
|
-
adUnit: adUnit,
|
|
3838
|
-
targeting: adTargeting,
|
|
3839
|
-
refreshFlag: false,
|
|
3840
|
-
checkIsAdFound: checkIsAdFound
|
|
3841
|
-
})
|
|
3842
|
-
)
|
|
3843
|
-
)
|
|
3844
|
-
);
|
|
3845
|
-
} else return null;
|
|
3846
|
-
};
|
|
3847
|
-
|
|
3848
3770
|
var urlFor$2 = function urlFor(source, builder) {
|
|
3849
3771
|
return builder.image(source).auto('format');
|
|
3850
3772
|
};
|
|
@@ -6441,12 +6363,22 @@ var Media = function Media(_ref) {
|
|
|
6441
6363
|
}
|
|
6442
6364
|
|
|
6443
6365
|
useEffect(function () {
|
|
6444
|
-
var
|
|
6445
|
-
if (
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6366
|
+
var mediaLinks = document.querySelectorAll('.media-link');
|
|
6367
|
+
if (mediaLinks.length > 0) {
|
|
6368
|
+
mediaLinks.forEach(function (mediaLink) {
|
|
6369
|
+
var prevSibling = mediaLink.previousSibling;
|
|
6370
|
+
if (prevSibling && prevSibling.textContent && prevSibling.textContent !== '') {
|
|
6371
|
+
prevSibling.style.display = 'inline';
|
|
6372
|
+
prevSibling.style.paddingRight = '0';
|
|
6373
|
+
prevSibling.style.marginRight = '0';
|
|
6374
|
+
}
|
|
6375
|
+
var nextSibling = mediaLink.nextSibling;
|
|
6376
|
+
if (nextSibling && nextSibling.textContent && nextSibling.textContent !== '') {
|
|
6377
|
+
nextSibling.style.display = 'inline';
|
|
6378
|
+
nextSibling.style.paddingLeft = '0';
|
|
6379
|
+
nextSibling.style.marginLeft = '0';
|
|
6380
|
+
}
|
|
6381
|
+
});
|
|
6450
6382
|
}
|
|
6451
6383
|
}, []);
|
|
6452
6384
|
|
|
@@ -6516,7 +6448,7 @@ var Media = function Media(_ref) {
|
|
|
6516
6448
|
href: uploadDoc.asset.url + '?dl='
|
|
6517
6449
|
} : { href: uploadDoc.asset.url, target: blank ? '_blank' : '_self', rel: 'noopener noreferrer' }, {
|
|
6518
6450
|
style: { paddingLeft: '4px', paddingRight: '4px' },
|
|
6519
|
-
|
|
6451
|
+
className: 'media-link' }),
|
|
6520
6452
|
caption
|
|
6521
6453
|
);
|
|
6522
6454
|
} else {
|
|
@@ -14295,7 +14227,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
14295
14227
|
};
|
|
14296
14228
|
|
|
14297
14229
|
var Figure = dynamic(function () {
|
|
14298
|
-
return import('./Figure-
|
|
14230
|
+
return import('./Figure-e32f60c5.js');
|
|
14299
14231
|
}, { ssr: false });
|
|
14300
14232
|
|
|
14301
14233
|
var checkUrlIsExternal = function checkUrlIsExternal(url) {
|
|
@@ -14508,7 +14440,7 @@ var getSerializers = function getSerializers() {
|
|
|
14508
14440
|
// feature_img { asset-> {url} }
|
|
14509
14441
|
// }`
|
|
14510
14442
|
|
|
14511
|
-
//Update* Added control toggle for features. Will default to off -
|
|
14443
|
+
//Update* Added control toggle for features. Will default to off -
|
|
14512
14444
|
//<Feature controls dataset={props.features} /></div>
|
|
14513
14445
|
|
|
14514
14446
|
var Feature = function Feature(props) {
|
|
@@ -14577,6 +14509,11 @@ var Feature = function Feature(props) {
|
|
|
14577
14509
|
return React__default.createElement(
|
|
14578
14510
|
'div',
|
|
14579
14511
|
null,
|
|
14512
|
+
React__default.createElement(
|
|
14513
|
+
'style',
|
|
14514
|
+
{ jsx: true },
|
|
14515
|
+
'\n .carousel-indicators {\n visibility: hidden;\n }\n\n .carousel-control-prev-icon {\n width: 25%;\n height: 100%;\n background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23000000\' viewBox=\'0 0 24 24\'%3E%3Cpath d=\'M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm7.58 0l5.988-5.995 1.414 1.416-4.574 4.579 4.574 4.59-1.414 1.416-5.988-6.006z\'/%3E%3C/svg%3E") !important;\n }\n .carousel-control-next-icon {\n width: 25%;\n height: 100%;\n background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23000000\' viewBox=\'0 0 24 24\'%3E%3Cpath d=\'M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-1.218 19l-1.782-1.75 5.25-5.25-5.25-5.25 1.782-1.75 6.968 7-6.968 7z\'/%3E%3C/svg%3E") !important;\n }\n .carousel-item img {\n padding-left: 0 !important;\n max-height: 500px !important;\n min-height: 500px !important;\n }\n .carousel-item::after {\n content: \'\';\n position: absolute;\n width: 100%;\n height: 10px;\n bottom: 0;\n left: 0;\n z-index: 999;\n background: rgba(255, 255, 255, 0.6);\n }\n .carousel-caption {\n padding-right: 0 !important;\n justify-content: left !important;\n display: flex;\n flex-direction: row-reverse;\n justify-content: center !important;\n align-items: center;\n bottom: 5px;\n width: 100%;\n padding-top: 0px;\n left: 0 !important;\n padding-bottom: 0px;\n }\n .carousel-caption a {\n width: 100%;\n margin-top: auto;\n padding: 8%;\n margin-bottom: 0px;\n background: rgba(255, 255, 255, 0.6);\n }\n .carousel-caption a p,\n .carousel-caption a h3 {\n color: #3e3f3a !important;\n text-align: left;\n word-break: break-word;\n }\n\n .carousel-control-prev,\n .carousel-control-next {\n z-index: 999;\n }\n .carousel-caption h3,\n .carousel-caption p {\n font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;\n }\n .carousel-caption p {\n font-size: 1.2em;\n }\n .carousel-caption h3 {\n font-size: 1.6em;\n font-weight: 400;\n }\n .carousel-item {\n background: #eee !important;\n }\n\n .carousel-control-prev-icon {\n width: 25%;\n height: 100%;\n background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23000000\' viewBox=\'0 0 24 24\'%3E%3Cpath d=\'M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm7.58 0l5.988-5.995 1.414 1.416-4.574 4.579 4.574 4.59-1.414 1.416-5.988-6.006z\'/%3E%3C/svg%3E") !important;\n }\n .carousel-control-next-icon {\n width: 25%;\n height: 100%;\n background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23000000\' viewBox=\'0 0 24 24\'%3E%3Cpath d=\'M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-1.218 19l-1.782-1.75 5.25-5.25-5.25-5.25 1.782-1.75 6.968 7-6.968 7z\'/%3E%3C/svg%3E") !important;\n }\n '
|
|
14516
|
+
),
|
|
14580
14517
|
React__default.createElement(
|
|
14581
14518
|
Carousel$1,
|
|
14582
14519
|
{ touch: true, controls: controls },
|
|
@@ -14590,10 +14527,16 @@ var Feature = function Feature(props) {
|
|
|
14590
14527
|
return React__default.createElement(
|
|
14591
14528
|
Carousel$1.Item,
|
|
14592
14529
|
{ key: index, style: { background: 'var(--primary)' } },
|
|
14593
|
-
React__default.createElement('img', {
|
|
14530
|
+
React__default.createElement('img', {
|
|
14531
|
+
style: { maxHeight: '375px', minHeight: '300px', objectFit: 'cover', paddingLeft: '50%' },
|
|
14532
|
+
className: 'd-block w-100',
|
|
14533
|
+
src: urlFor(feature_img).width(imageWidth).url(),
|
|
14534
|
+
alt: feature_alt
|
|
14535
|
+
}),
|
|
14594
14536
|
React__default.createElement(
|
|
14595
14537
|
Carousel$1.Caption,
|
|
14596
|
-
{
|
|
14538
|
+
{
|
|
14539
|
+
style: { paddingRight: '50%', left: '3rem', right: '3rem', top: '0', height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
14597
14540
|
renderUrl(feature_link, feature_title, feature_body)
|
|
14598
14541
|
)
|
|
14599
14542
|
);
|
|
@@ -17743,7 +17686,9 @@ var Article = function Article(props) {
|
|
|
17743
17686
|
parent.style.display = 'none';
|
|
17744
17687
|
setContextualADFlag(false);
|
|
17745
17688
|
} else {
|
|
17746
|
-
|
|
17689
|
+
if (body[1]._type === 'figure') {
|
|
17690
|
+
setContextualADFlag(true);
|
|
17691
|
+
}
|
|
17747
17692
|
}
|
|
17748
17693
|
};
|
|
17749
17694
|
|
|
@@ -23410,4 +23355,4 @@ var getQuery = function getQuery(type) {
|
|
|
23410
23355
|
}
|
|
23411
23356
|
};
|
|
23412
23357
|
|
|
23413
|
-
export { AD300x250, AD300x250x600, ADFloatingFooter, ADFooter, ADGutter,
|
|
23358
|
+
export { AD300x250, AD300x250x600, ADFloatingFooter, ADFooter, ADGutter, ADWelcome, AccordionPanel, AdSlotsProvider, AlphabeticList, ArticleDetailDropdown, ArticleQueue, auth as Auth, Breadcrumbs$1 as Breadcrumbs, CMEDeck, ConferenceArticleCard, EventsDeck, Feature, fbsHero as ForbesHero, GridHero, Hero, HighlightenVideo, HorizontalHero, InfiniteScrollDeck, KMTracker, OncliveHero, OncliveLargeHero, PdfDownload, PopUpModal, PublicationLanding, RelatedContent, RelatedTopicsDropdown, SetCookie, SocialShare$1 as SocialShare, VerticalHero, View, YahooHero, getKeywords, getQuery, getSerializers, getSeriesDetail, getTargeting, urlFor$6 as urlFor };
|
|
@@ -1,53 +1,6 @@
|
|
|
1
1
|
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { n as _anObject } from './_to-object-1b1f7766.js';
|
|
3
|
-
import { c as _wks, h as _iterators } from './web.dom.iterable-e6bf2bf6.js';
|
|
4
2
|
import React__default from 'react';
|
|
5
3
|
|
|
6
|
-
// call something on iterator step with safe closing on error
|
|
7
|
-
|
|
8
|
-
var _iterCall = function (iterator, fn, value, entries) {
|
|
9
|
-
try {
|
|
10
|
-
return entries ? fn(_anObject(value)[0], value[1]) : fn(value);
|
|
11
|
-
// 7.4.6 IteratorClose(iterator, completion)
|
|
12
|
-
} catch (e) {
|
|
13
|
-
var ret = iterator['return'];
|
|
14
|
-
if (ret !== undefined) _anObject(ret.call(iterator));
|
|
15
|
-
throw e;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
// check on default Array iterator
|
|
20
|
-
|
|
21
|
-
var ITERATOR = _wks('iterator');
|
|
22
|
-
var ArrayProto = Array.prototype;
|
|
23
|
-
|
|
24
|
-
var _isArrayIter = function (it) {
|
|
25
|
-
return it !== undefined && (_iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
var ITERATOR$1 = _wks('iterator');
|
|
29
|
-
var SAFE_CLOSING = false;
|
|
30
|
-
|
|
31
|
-
try {
|
|
32
|
-
var riter = [7][ITERATOR$1]();
|
|
33
|
-
riter['return'] = function () { SAFE_CLOSING = true; };
|
|
34
|
-
// eslint-disable-next-line no-throw-literal
|
|
35
|
-
Array.from(riter, function () { throw 2; });
|
|
36
|
-
} catch (e) { /* empty */ }
|
|
37
|
-
|
|
38
|
-
var _iterDetect = function (exec, skipClosing) {
|
|
39
|
-
if (!skipClosing && !SAFE_CLOSING) return false;
|
|
40
|
-
var safe = false;
|
|
41
|
-
try {
|
|
42
|
-
var arr = [7];
|
|
43
|
-
var iter = arr[ITERATOR$1]();
|
|
44
|
-
iter.next = function () { return { done: safe = true }; };
|
|
45
|
-
arr[ITERATOR$1] = function () { return iter; };
|
|
46
|
-
exec(arr);
|
|
47
|
-
} catch (e) { /* empty */ }
|
|
48
|
-
return safe;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
4
|
var uaParser_min = createCommonjsModule(function (module, exports) {
|
|
52
5
|
/*!
|
|
53
6
|
* UAParser.js v0.7.21
|
|
@@ -926,4 +879,4 @@ var main_51 = main.osName;
|
|
|
926
879
|
var main_52 = main.osVersion;
|
|
927
880
|
var main_53 = main.withOrientationChange;
|
|
928
881
|
|
|
929
|
-
export {
|
|
882
|
+
export { main_16 as a, main_38 as b, main_40 as c, main_39 as m };
|
|
@@ -2,7 +2,7 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
|
|
|
2
2
|
import { d as _ctx, h as _toLength, n as _anObject, m as _aFunction, i as _global, r as _cof, y as _domCreate, c as _isObject, k as _hide, b as _core, e as _descriptors, f as _objectDp, l as _export } from './_to-object-1b1f7766.js';
|
|
3
3
|
import { g as core_getIteratorMethod, c as _wks, j as _html, e as _classof, d as _setToStringTag } from './web.dom.iterable-e6bf2bf6.js';
|
|
4
4
|
import { _ as _library } from './_library-528f1934.js';
|
|
5
|
-
import {
|
|
5
|
+
import { a as _isArrayIter, b as _iterCall, _ as _iterDetect } from './_iter-detect-7c281f0a.js';
|
|
6
6
|
|
|
7
7
|
var _anInstance = function (it, Constructor, name, forbiddenField) {
|
|
8
8
|
if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import { f as _objectDp, o as _propertyDesc, l as _export, a as _toObject, d as _ctx, h as _toLength, b as _core } from './_to-object-1b1f7766.js';
|
|
3
3
|
import { g as core_getIteratorMethod } from './web.dom.iterable-e6bf2bf6.js';
|
|
4
|
-
import { _ as _iterDetect,
|
|
4
|
+
import { _ as _iterDetect, a as _isArrayIter, b as _iterCall } from './_iter-detect-7c281f0a.js';
|
|
5
5
|
|
|
6
6
|
var _createProperty = function (object, index, value) {
|
|
7
7
|
if (index in object) _objectDp.f(object, index, _propertyDesc(0, value));
|