@mjhls/mjh-framework 1.0.1071 → 1.0.1073-doi-link
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +3 -2
- package/dist/cjs/AD300x250x600.js +3 -2
- package/dist/cjs/AD728x90.js +3 -2
- package/dist/cjs/ADFloatingFooter.js +3 -2
- package/dist/cjs/ADGutter.js +3 -2
- package/dist/cjs/{ADInfeed-98ee4120.js → ADInfeed-93cad44d.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +3 -2
- package/dist/cjs/ADSponsoredResources.js +3 -2
- package/dist/cjs/ADWebcast.js +3 -2
- package/dist/cjs/ADWelcome.js +3 -2
- package/dist/cjs/{ADlgInfeed-55df7d69.js → ADlgInfeed-80062861.js} +1 -1
- package/dist/cjs/AdSlot.js +3 -2
- package/dist/cjs/AdSlotsProvider.js +3 -2
- package/dist/cjs/AlgoliaSearch.js +485 -968
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +4 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
- package/dist/cjs/ArticleSeriesListing.js +3 -2
- package/dist/cjs/CEDeckSupabase.js +3 -2
- package/dist/cjs/CMEDeck.js +3 -2
- package/dist/cjs/Column3.js +3 -2
- package/dist/cjs/ContentCardPaginated.js +5 -4
- package/dist/cjs/DeckContent.js +4 -3
- package/dist/cjs/DeckQueue.js +3 -2
- package/dist/cjs/DeckQueuePaginated.js +4 -3
- package/dist/cjs/{Dfp-67646058.js → Dfp-c313a700.js} +2 -1
- package/dist/cjs/EventsDeck.js +2 -2
- package/dist/cjs/ExternalResources.js +5 -4
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +5 -4
- package/dist/cjs/GridContentPaginated.js +6 -5
- package/dist/cjs/HamMagazine.js +3 -3
- package/dist/cjs/HorizontalArticleListing.js +4 -3
- package/dist/cjs/IssueLanding.js +6 -5
- package/dist/cjs/LeftNav.js +3 -2
- package/dist/cjs/MasterDeck.js +5 -4
- package/dist/cjs/MasterDeckPaginated.js +6 -5
- package/dist/cjs/{MediaSeriesCard-55eab36c.js → MediaSeriesCard-af95a955.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +8 -7
- package/dist/cjs/MediaSeriesLandingPaginated.js +9 -8
- package/dist/cjs/NavMagazine.js +2 -2
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/{Pagination-6359861a.js → Pagination-842c556f.js} +1 -1
- package/dist/cjs/PartnerDetailListing.js +6 -5
- package/dist/cjs/PartnerDetailListingPaginated.js +7 -6
- package/dist/cjs/PodcastsLanding.js +7 -6
- package/dist/cjs/PubSection.js +5 -4
- package/dist/cjs/QueueDeckExpanded.js +5 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +6 -5
- package/dist/cjs/SeriesListingDeck.js +4 -3
- package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-a2621860.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-d7e5d3a6.js → SocialSearchComponent-e9ec9c63.js} +1 -1
- package/dist/cjs/TaxonomyDescription.js +4 -3
- package/dist/cjs/TemplateNormal.js +4 -3
- package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-4cb8849a.js} +66 -107
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +4 -3
- package/dist/cjs/VideoSeriesLandingPage.js +5 -4
- package/dist/cjs/VideoSeriesListing.js +3 -2
- package/dist/cjs/View.js +35 -26
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +4 -3
- package/dist/cjs/{index-4c260728.js → index-a43de5b0.js} +4 -6
- package/dist/cjs/{index-7435b964.js → index-d2a6ef75.js} +2 -467
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/index.js +9 -8
- package/dist/cjs/{main-ae8472f3.js → main-47be4f9f.js} +9 -4
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +3 -2
- package/dist/esm/AD300x250x600.js +3 -2
- package/dist/esm/AD728x90.js +3 -2
- package/dist/esm/ADFloatingFooter.js +3 -2
- package/dist/esm/ADGutter.js +3 -2
- package/dist/esm/{ADInfeed-6d0c0856.js → ADInfeed-74cc728c.js} +1 -1
- package/dist/esm/ADSkyscraper.js +3 -2
- package/dist/esm/ADSponsoredResources.js +3 -2
- package/dist/esm/ADWebcast.js +3 -2
- package/dist/esm/ADWelcome.js +3 -2
- package/dist/esm/{ADlgInfeed-93bc2250.js → ADlgInfeed-b6217567.js} +1 -1
- package/dist/esm/AdSlot.js +3 -2
- package/dist/esm/AdSlotsProvider.js +3 -2
- package/dist/esm/AlgoliaSearch.js +485 -968
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +5 -4
- package/dist/esm/ArticleSeriesListing.js +3 -2
- package/dist/esm/CEDeckSupabase.js +3 -2
- package/dist/esm/CMEDeck.js +3 -2
- package/dist/esm/Column3.js +3 -2
- package/dist/esm/ContentCardPaginated.js +5 -4
- package/dist/esm/DeckContent.js +4 -3
- package/dist/esm/DeckQueue.js +3 -2
- package/dist/esm/DeckQueuePaginated.js +4 -3
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +5 -4
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +5 -4
- package/dist/esm/GridContentPaginated.js +6 -5
- package/dist/esm/HamMagazine.js +3 -3
- package/dist/esm/HorizontalArticleListing.js +4 -3
- package/dist/esm/IssueLanding.js +6 -5
- package/dist/esm/LeftNav.js +3 -2
- package/dist/esm/MasterDeck.js +5 -4
- package/dist/esm/MasterDeckPaginated.js +6 -5
- package/dist/esm/{MediaSeriesCard-c0cc5c10.js → MediaSeriesCard-a7084d7c.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +8 -7
- package/dist/esm/MediaSeriesLandingPaginated.js +9 -8
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +6 -5
- package/dist/esm/PartnerDetailListingPaginated.js +7 -6
- package/dist/esm/PodcastsLanding.js +7 -6
- package/dist/esm/PubSection.js +5 -4
- package/dist/esm/QueueDeckExpanded.js +5 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -5
- package/dist/esm/SeriesListingDeck.js +4 -3
- package/dist/esm/{SeriesSlider-a6b1d617.js → SeriesSlider-07be99e0.js} +1 -1
- package/dist/esm/{SocialSearchComponent-6065bff2.js → SocialSearchComponent-020f9e81.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -3
- package/dist/esm/TemplateNormal.js +4 -3
- package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-95655b44.js} +66 -107
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -3
- package/dist/esm/VideoSeriesLandingPage.js +5 -4
- package/dist/esm/VideoSeriesListing.js +3 -2
- package/dist/esm/View.js +35 -26
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +4 -3
- package/dist/esm/{index-aef9aa6f.js → index-57eb68ee.js} +4 -6
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +9 -8
- package/dist/esm/{main-754d4992.js → main-f97773b2.js} +9 -4
- package/package.json +1 -1
|
@@ -2652,10 +2652,7 @@ function isShadowRoot(node) {
|
|
|
2652
2652
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2653
2653
|
}
|
|
2654
2654
|
|
|
2655
|
-
var
|
|
2656
|
-
var min = Math.min;
|
|
2657
|
-
var round = Math.round;
|
|
2658
|
-
|
|
2655
|
+
var round$1 = Math.round;
|
|
2659
2656
|
function getBoundingClientRect(element, includeScale) {
|
|
2660
2657
|
if (includeScale === void 0) {
|
|
2661
2658
|
includeScale = false;
|
|
@@ -2666,28 +2663,20 @@ function getBoundingClientRect(element, includeScale) {
|
|
|
2666
2663
|
var scaleY = 1;
|
|
2667
2664
|
|
|
2668
2665
|
if (isHTMLElement(element) && includeScale) {
|
|
2669
|
-
var offsetHeight = element.offsetHeight;
|
|
2670
|
-
var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
|
|
2671
2666
|
// Fallback to 1 in case both values are `0`
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
scaleX = round(rect.width) / offsetWidth || 1;
|
|
2675
|
-
}
|
|
2676
|
-
|
|
2677
|
-
if (offsetHeight > 0) {
|
|
2678
|
-
scaleY = round(rect.height) / offsetHeight || 1;
|
|
2679
|
-
}
|
|
2667
|
+
scaleX = rect.width / element.offsetWidth || 1;
|
|
2668
|
+
scaleY = rect.height / element.offsetHeight || 1;
|
|
2680
2669
|
}
|
|
2681
2670
|
|
|
2682
2671
|
return {
|
|
2683
|
-
width: rect.width / scaleX,
|
|
2684
|
-
height: rect.height / scaleY,
|
|
2685
|
-
top: rect.top / scaleY,
|
|
2686
|
-
right: rect.right / scaleX,
|
|
2687
|
-
bottom: rect.bottom / scaleY,
|
|
2688
|
-
left: rect.left / scaleX,
|
|
2689
|
-
x: rect.left / scaleX,
|
|
2690
|
-
y: rect.top / scaleY
|
|
2672
|
+
width: round$1(rect.width / scaleX),
|
|
2673
|
+
height: round$1(rect.height / scaleY),
|
|
2674
|
+
top: round$1(rect.top / scaleY),
|
|
2675
|
+
right: round$1(rect.right / scaleX),
|
|
2676
|
+
bottom: round$1(rect.bottom / scaleY),
|
|
2677
|
+
left: round$1(rect.left / scaleX),
|
|
2678
|
+
x: round$1(rect.left / scaleX),
|
|
2679
|
+
y: round$1(rect.top / scaleY)
|
|
2691
2680
|
};
|
|
2692
2681
|
}
|
|
2693
2682
|
|
|
@@ -2836,13 +2825,13 @@ function getMainAxisFromPlacement(placement) {
|
|
|
2836
2825
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
2837
2826
|
}
|
|
2838
2827
|
|
|
2828
|
+
var max = Math.max;
|
|
2829
|
+
var min = Math.min;
|
|
2830
|
+
var round = Math.round;
|
|
2831
|
+
|
|
2839
2832
|
function within(min$1, value, max$1) {
|
|
2840
2833
|
return max(min$1, min(value, max$1));
|
|
2841
2834
|
}
|
|
2842
|
-
function withinMaxClamp(min, value, max) {
|
|
2843
|
-
var v = within(min, value, max);
|
|
2844
|
-
return v > max ? max : v;
|
|
2845
|
-
}
|
|
2846
2835
|
|
|
2847
2836
|
function getFreshSideObject() {
|
|
2848
2837
|
return {
|
|
@@ -2955,10 +2944,6 @@ var arrow$1 = {
|
|
|
2955
2944
|
requiresIfExists: ['preventOverflow']
|
|
2956
2945
|
};
|
|
2957
2946
|
|
|
2958
|
-
function getVariation(placement) {
|
|
2959
|
-
return placement.split('-')[1];
|
|
2960
|
-
}
|
|
2961
|
-
|
|
2962
2947
|
var unsetSides = {
|
|
2963
2948
|
top: 'auto',
|
|
2964
2949
|
right: 'auto',
|
|
@@ -2974,8 +2959,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
2974
2959
|
var win = window;
|
|
2975
2960
|
var dpr = win.devicePixelRatio || 1;
|
|
2976
2961
|
return {
|
|
2977
|
-
x: round(x * dpr) / dpr || 0,
|
|
2978
|
-
y: round(y * dpr) / dpr || 0
|
|
2962
|
+
x: round(round(x * dpr) / dpr) || 0,
|
|
2963
|
+
y: round(round(y * dpr) / dpr) || 0
|
|
2979
2964
|
};
|
|
2980
2965
|
}
|
|
2981
2966
|
|
|
@@ -2985,13 +2970,11 @@ function mapToStyles(_ref2) {
|
|
|
2985
2970
|
var popper = _ref2.popper,
|
|
2986
2971
|
popperRect = _ref2.popperRect,
|
|
2987
2972
|
placement = _ref2.placement,
|
|
2988
|
-
variation = _ref2.variation,
|
|
2989
2973
|
offsets = _ref2.offsets,
|
|
2990
2974
|
position = _ref2.position,
|
|
2991
2975
|
gpuAcceleration = _ref2.gpuAcceleration,
|
|
2992
2976
|
adaptive = _ref2.adaptive,
|
|
2993
|
-
roundOffsets = _ref2.roundOffsets
|
|
2994
|
-
isFixed = _ref2.isFixed;
|
|
2977
|
+
roundOffsets = _ref2.roundOffsets;
|
|
2995
2978
|
|
|
2996
2979
|
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
2997
2980
|
_ref3$x = _ref3.x,
|
|
@@ -3013,7 +2996,7 @@ function mapToStyles(_ref2) {
|
|
|
3013
2996
|
if (offsetParent === getWindow(popper)) {
|
|
3014
2997
|
offsetParent = getDocumentElement(popper);
|
|
3015
2998
|
|
|
3016
|
-
if (getComputedStyle$1(offsetParent).position !== 'static'
|
|
2999
|
+
if (getComputedStyle$1(offsetParent).position !== 'static') {
|
|
3017
3000
|
heightProp = 'scrollHeight';
|
|
3018
3001
|
widthProp = 'scrollWidth';
|
|
3019
3002
|
}
|
|
@@ -3022,19 +3005,17 @@ function mapToStyles(_ref2) {
|
|
|
3022
3005
|
|
|
3023
3006
|
offsetParent = offsetParent;
|
|
3024
3007
|
|
|
3025
|
-
if (placement === top
|
|
3026
|
-
sideY = bottom;
|
|
3027
|
-
|
|
3028
|
-
offsetParent[heightProp];
|
|
3029
|
-
y -= offsetY - popperRect.height;
|
|
3008
|
+
if (placement === top) {
|
|
3009
|
+
sideY = bottom; // $FlowFixMe[prop-missing]
|
|
3010
|
+
|
|
3011
|
+
y -= offsetParent[heightProp] - popperRect.height;
|
|
3030
3012
|
y *= gpuAcceleration ? 1 : -1;
|
|
3031
3013
|
}
|
|
3032
3014
|
|
|
3033
|
-
if (placement === left
|
|
3034
|
-
sideX = right;
|
|
3035
|
-
|
|
3036
|
-
offsetParent[widthProp];
|
|
3037
|
-
x -= offsetX - popperRect.width;
|
|
3015
|
+
if (placement === left) {
|
|
3016
|
+
sideX = right; // $FlowFixMe[prop-missing]
|
|
3017
|
+
|
|
3018
|
+
x -= offsetParent[widthProp] - popperRect.width;
|
|
3038
3019
|
x *= gpuAcceleration ? 1 : -1;
|
|
3039
3020
|
}
|
|
3040
3021
|
}
|
|
@@ -3046,7 +3027,7 @@ function mapToStyles(_ref2) {
|
|
|
3046
3027
|
if (gpuAcceleration) {
|
|
3047
3028
|
var _Object$assign;
|
|
3048
3029
|
|
|
3049
|
-
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1)
|
|
3030
|
+
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
3050
3031
|
}
|
|
3051
3032
|
|
|
3052
3033
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
@@ -3074,11 +3055,9 @@ function computeStyles(_ref4) {
|
|
|
3074
3055
|
|
|
3075
3056
|
var commonStyles = {
|
|
3076
3057
|
placement: getBasePlacement(state.placement),
|
|
3077
|
-
variation: getVariation(state.placement),
|
|
3078
3058
|
popper: state.elements.popper,
|
|
3079
3059
|
popperRect: state.rects.popper,
|
|
3080
|
-
gpuAcceleration: gpuAcceleration
|
|
3081
|
-
isFixed: state.options.strategy === 'fixed'
|
|
3060
|
+
gpuAcceleration: gpuAcceleration
|
|
3082
3061
|
};
|
|
3083
3062
|
|
|
3084
3063
|
if (state.modifiersData.popperOffsets != null) {
|
|
@@ -3336,7 +3315,7 @@ function getInnerBoundingClientRect(element) {
|
|
|
3336
3315
|
}
|
|
3337
3316
|
|
|
3338
3317
|
function getClientRectFromMixedType(element, clippingParent) {
|
|
3339
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) :
|
|
3318
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
3340
3319
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
3341
3320
|
// clipping (or hiding) overflowing elements with a position different from
|
|
3342
3321
|
// `initial`
|
|
@@ -3353,7 +3332,7 @@ function getClippingParents(element) {
|
|
|
3353
3332
|
|
|
3354
3333
|
|
|
3355
3334
|
return clippingParents.filter(function (clippingParent) {
|
|
3356
|
-
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'
|
|
3335
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3357
3336
|
});
|
|
3358
3337
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3359
3338
|
// clipping parents
|
|
@@ -3378,6 +3357,10 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
3378
3357
|
return clippingRect;
|
|
3379
3358
|
}
|
|
3380
3359
|
|
|
3360
|
+
function getVariation(placement) {
|
|
3361
|
+
return placement.split('-')[1];
|
|
3362
|
+
}
|
|
3363
|
+
|
|
3381
3364
|
function computeOffsets(_ref) {
|
|
3382
3365
|
var reference = _ref.reference,
|
|
3383
3366
|
element = _ref.element,
|
|
@@ -3463,10 +3446,11 @@ function detectOverflow(state, options) {
|
|
|
3463
3446
|
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
3464
3447
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
3465
3448
|
var altContext = elementContext === popper ? reference : popper;
|
|
3449
|
+
var referenceElement = state.elements.reference;
|
|
3466
3450
|
var popperRect = state.rects.popper;
|
|
3467
3451
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
3468
3452
|
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
3469
|
-
var referenceClientRect = getBoundingClientRect(
|
|
3453
|
+
var referenceClientRect = getBoundingClientRect(referenceElement);
|
|
3470
3454
|
var popperOffsets = computeOffsets({
|
|
3471
3455
|
reference: referenceClientRect,
|
|
3472
3456
|
element: popperRect,
|
|
@@ -3853,14 +3837,6 @@ function preventOverflow(_ref) {
|
|
|
3853
3837
|
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
3854
3838
|
placement: state.placement
|
|
3855
3839
|
})) : tetherOffset;
|
|
3856
|
-
var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
|
|
3857
|
-
mainAxis: tetherOffsetValue,
|
|
3858
|
-
altAxis: tetherOffsetValue
|
|
3859
|
-
} : Object.assign({
|
|
3860
|
-
mainAxis: 0,
|
|
3861
|
-
altAxis: 0
|
|
3862
|
-
}, tetherOffsetValue);
|
|
3863
|
-
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
|
3864
3840
|
var data = {
|
|
3865
3841
|
x: 0,
|
|
3866
3842
|
y: 0
|
|
@@ -3870,15 +3846,13 @@ function preventOverflow(_ref) {
|
|
|
3870
3846
|
return;
|
|
3871
3847
|
}
|
|
3872
3848
|
|
|
3873
|
-
if (checkMainAxis) {
|
|
3874
|
-
var _offsetModifierState$;
|
|
3875
|
-
|
|
3849
|
+
if (checkMainAxis || checkAltAxis) {
|
|
3876
3850
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
3877
3851
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
3878
3852
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
3879
3853
|
var offset = popperOffsets[mainAxis];
|
|
3880
|
-
var min$1 =
|
|
3881
|
-
var max$1 =
|
|
3854
|
+
var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
|
|
3855
|
+
var max$1 = popperOffsets[mainAxis] - overflow[altSide];
|
|
3882
3856
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
3883
3857
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
3884
3858
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -3898,45 +3872,36 @@ function preventOverflow(_ref) {
|
|
|
3898
3872
|
// width or height)
|
|
3899
3873
|
|
|
3900
3874
|
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
3901
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin -
|
|
3902
|
-
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax +
|
|
3875
|
+
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
|
|
3876
|
+
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
|
|
3903
3877
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
3904
3878
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
3905
|
-
var offsetModifierValue =
|
|
3906
|
-
var tetherMin =
|
|
3907
|
-
var tetherMax =
|
|
3908
|
-
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
3909
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
3910
|
-
data[mainAxis] = preventedOffset - offset;
|
|
3911
|
-
}
|
|
3912
|
-
|
|
3913
|
-
if (checkAltAxis) {
|
|
3914
|
-
var _offsetModifierState$2;
|
|
3915
|
-
|
|
3916
|
-
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3879
|
+
var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
|
|
3880
|
+
var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
|
|
3881
|
+
var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
|
|
3917
3882
|
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
var _min = _offset + overflow[_mainSide];
|
|
3883
|
+
if (checkMainAxis) {
|
|
3884
|
+
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
3885
|
+
popperOffsets[mainAxis] = preventedOffset;
|
|
3886
|
+
data[mainAxis] = preventedOffset - offset;
|
|
3887
|
+
}
|
|
3925
3888
|
|
|
3926
|
-
|
|
3889
|
+
if (checkAltAxis) {
|
|
3890
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3927
3891
|
|
|
3928
|
-
|
|
3892
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
3929
3893
|
|
|
3930
|
-
|
|
3894
|
+
var _offset = popperOffsets[altAxis];
|
|
3931
3895
|
|
|
3932
|
-
|
|
3896
|
+
var _min = _offset + overflow[_mainSide];
|
|
3933
3897
|
|
|
3934
|
-
|
|
3898
|
+
var _max = _offset - overflow[_altSide];
|
|
3935
3899
|
|
|
3936
|
-
|
|
3900
|
+
var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
|
|
3937
3901
|
|
|
3938
|
-
|
|
3939
|
-
|
|
3902
|
+
popperOffsets[altAxis] = _preventedOffset;
|
|
3903
|
+
data[altAxis] = _preventedOffset - _offset;
|
|
3904
|
+
}
|
|
3940
3905
|
}
|
|
3941
3906
|
|
|
3942
3907
|
state.modifiersData[name] = data;
|
|
@@ -3968,8 +3933,8 @@ function getNodeScroll(node) {
|
|
|
3968
3933
|
|
|
3969
3934
|
function isElementScaled(element) {
|
|
3970
3935
|
var rect = element.getBoundingClientRect();
|
|
3971
|
-
var scaleX =
|
|
3972
|
-
var scaleY =
|
|
3936
|
+
var scaleX = rect.width / element.offsetWidth || 1;
|
|
3937
|
+
var scaleY = rect.height / element.offsetHeight || 1;
|
|
3973
3938
|
return scaleX !== 1 || scaleY !== 1;
|
|
3974
3939
|
} // Returns the composite rect of an element relative to its offsetParent.
|
|
3975
3940
|
// Composite means it takes into account transforms as well as layout.
|
|
@@ -4090,10 +4055,7 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
|
|
|
4090
4055
|
var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
|
|
4091
4056
|
function validateModifiers(modifiers) {
|
|
4092
4057
|
modifiers.forEach(function (modifier) {
|
|
4093
|
-
|
|
4094
|
-
.filter(function (value, index, self) {
|
|
4095
|
-
return self.indexOf(value) === index;
|
|
4096
|
-
}).forEach(function (key) {
|
|
4058
|
+
Object.keys(modifier).forEach(function (key) {
|
|
4097
4059
|
switch (key) {
|
|
4098
4060
|
case 'name':
|
|
4099
4061
|
if (typeof modifier.name !== 'string') {
|
|
@@ -4107,8 +4069,6 @@ function validateModifiers(modifiers) {
|
|
|
4107
4069
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
|
|
4108
4070
|
}
|
|
4109
4071
|
|
|
4110
|
-
break;
|
|
4111
|
-
|
|
4112
4072
|
case 'phase':
|
|
4113
4073
|
if (modifierPhases.indexOf(modifier.phase) < 0) {
|
|
4114
4074
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
|
|
@@ -4124,14 +4084,14 @@ function validateModifiers(modifiers) {
|
|
|
4124
4084
|
break;
|
|
4125
4085
|
|
|
4126
4086
|
case 'effect':
|
|
4127
|
-
if (
|
|
4087
|
+
if (typeof modifier.effect !== 'function') {
|
|
4128
4088
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
4129
4089
|
}
|
|
4130
4090
|
|
|
4131
4091
|
break;
|
|
4132
4092
|
|
|
4133
4093
|
case 'requires':
|
|
4134
|
-
if (
|
|
4094
|
+
if (!Array.isArray(modifier.requires)) {
|
|
4135
4095
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
|
|
4136
4096
|
}
|
|
4137
4097
|
|
|
@@ -4241,8 +4201,7 @@ function popperGenerator(generatorOptions) {
|
|
|
4241
4201
|
var isDestroyed = false;
|
|
4242
4202
|
var instance = {
|
|
4243
4203
|
state: state,
|
|
4244
|
-
setOptions: function setOptions(
|
|
4245
|
-
var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
|
|
4204
|
+
setOptions: function setOptions(options) {
|
|
4246
4205
|
cleanupModifierEffects();
|
|
4247
4206
|
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
4248
4207
|
state.scrollParents = {
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-648
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
4
4
|
import { F as FaWindowClose } from './index.esm-1bd8a0a8.js';
|
|
5
|
-
import { m as main_43 } from './main-
|
|
5
|
+
import { m as main_43 } from './main-f97773b2.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './core.get-iterator-method-ea258bb1.js';
|
|
8
8
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-57eb68ee.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -18,13 +18,14 @@ import './index-3f5c03b2.js';
|
|
|
18
18
|
import './slicedToArray-6ebcbfea.js';
|
|
19
19
|
import 'react-bootstrap';
|
|
20
20
|
import './urlFor.js';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-f0fc23eb.js';
|
|
22
|
+
import './events-6c3a7a63.js';
|
|
22
23
|
import 'next/router';
|
|
23
24
|
import './index-c7e2ac95.js';
|
|
24
25
|
import './Beam.js';
|
|
25
26
|
import './stringify-2b084bee.js';
|
|
26
27
|
import './Segment.js';
|
|
27
|
-
import './main-
|
|
28
|
+
import './main-f97773b2.js';
|
|
28
29
|
import './urlForFile-f6485737.js';
|
|
29
30
|
import './index-755f2cc2.js';
|
|
30
31
|
import 'react-dom';
|
|
@@ -20,7 +20,8 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
20
20
|
import './inherits-d21b4ef9.js';
|
|
21
21
|
import './_object-sap-7cee6f84.js';
|
|
22
22
|
import './define-property-5f1bda73.js';
|
|
23
|
-
import './index-
|
|
23
|
+
import './index-f0fc23eb.js';
|
|
24
|
+
import './events-6c3a7a63.js';
|
|
24
25
|
import 'prop-types';
|
|
25
26
|
import 'react-bootstrap/Container';
|
|
26
27
|
import 'react-bootstrap/Row';
|
|
@@ -35,13 +36,13 @@ import './index.es-a6137319.js';
|
|
|
35
36
|
import './visibility-sensor-72fd8f8b.js';
|
|
36
37
|
import 'react-dom';
|
|
37
38
|
import './index-3f5c03b2.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
39
|
+
import './ADlgInfeed-b6217567.js';
|
|
39
40
|
import './AdSlot.js';
|
|
40
41
|
import './Beam.js';
|
|
41
42
|
import './stringify-2b084bee.js';
|
|
42
43
|
import './Segment.js';
|
|
43
|
-
import './main-
|
|
44
|
-
import './ADInfeed-
|
|
44
|
+
import './main-f97773b2.js';
|
|
45
|
+
import './ADInfeed-74cc728c.js';
|
|
45
46
|
import './index-755f2cc2.js';
|
|
46
47
|
import './urlFor.js';
|
|
47
48
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-1559c147.js';
|
|
2
2
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { l as lib_3 } from './index-
|
|
4
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
6
6
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
7
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
@@ -18,6 +18,7 @@ import './typeof-657f25da.js';
|
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
19
19
|
import './_is-array-8d21b9e3.js';
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
|
+
import './events-6c3a7a63.js';
|
|
21
22
|
import 'prop-types';
|
|
22
23
|
import 'react-dom';
|
|
23
24
|
import './iconBase-ccc56b97.js';
|
|
@@ -27,7 +28,7 @@ import './index-755f2cc2.js';
|
|
|
27
28
|
import './smoothscroll-fa4e3f8c.js';
|
|
28
29
|
import './urlFor.js';
|
|
29
30
|
import './index-3f5c03b2.js';
|
|
30
|
-
import './main-
|
|
31
|
+
import './main-f97773b2.js';
|
|
31
32
|
import './isSymbol-a7e9aafe.js';
|
|
32
33
|
import './toNumber-5aeba6e7.js';
|
|
33
34
|
|
package/dist/esm/View.js
CHANGED
|
@@ -8,16 +8,16 @@ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
|
8
8
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { m as main_43 } from './main-
|
|
11
|
+
import { m as main_43 } from './main-f97773b2.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-57eb68ee.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-07be99e0.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-5a281334.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
@@ -32,7 +32,7 @@ import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpe
|
|
|
32
32
|
import { PixelTrackingArticle } from './PixelTracking.js';
|
|
33
33
|
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
34
34
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
35
|
-
import { l as lib_3 } from './index-
|
|
35
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
36
36
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
37
37
|
import getQuery from './getQuery.js';
|
|
38
38
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
@@ -73,6 +73,7 @@ import './checkSisterSite-a7218fda.js';
|
|
|
73
73
|
import './debounce-533d9748.js';
|
|
74
74
|
import './isSymbol-a7e9aafe.js';
|
|
75
75
|
import './toNumber-5aeba6e7.js';
|
|
76
|
+
import './events-6c3a7a63.js';
|
|
76
77
|
|
|
77
78
|
var getArticleSummary = function getArticleSummary(article) {
|
|
78
79
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -1007,8 +1008,9 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1007
1008
|
showIsi = _props$article.showIsi,
|
|
1008
1009
|
isi = _props$article.isi,
|
|
1009
1010
|
_props$article$displa = _props$article.display_summary,
|
|
1010
|
-
display_summary = _props$article$displa === undefined ? true : _props$article$displa
|
|
1011
|
-
|
|
1011
|
+
display_summary = _props$article$displa === undefined ? true : _props$article$displa;
|
|
1012
|
+
_props$article.doiLink;
|
|
1013
|
+
var regionalPages = props.regionalPages,
|
|
1012
1014
|
nationalPage = props.nationalPage,
|
|
1013
1015
|
ISIContent = props.ISIContent,
|
|
1014
1016
|
shareOptions = props.shareOptions,
|
|
@@ -1855,7 +1857,16 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1855
1857
|
'div',
|
|
1856
1858
|
{ className: 'article-pageNumber' },
|
|
1857
1859
|
'Pages: ' + pageNumber
|
|
1858
|
-
) : null
|
|
1860
|
+
) : null,
|
|
1861
|
+
props.article.doiLink && React__default.createElement(
|
|
1862
|
+
'div',
|
|
1863
|
+
null,
|
|
1864
|
+
React__default.createElement(
|
|
1865
|
+
'a',
|
|
1866
|
+
{ href: props.article.doiLink },
|
|
1867
|
+
props.article.doiLink
|
|
1868
|
+
)
|
|
1869
|
+
)
|
|
1859
1870
|
),
|
|
1860
1871
|
React__default.createElement(
|
|
1861
1872
|
'div',
|
|
@@ -2577,8 +2588,6 @@ View.returnGetInitialProps = function () {
|
|
|
2577
2588
|
|
|
2578
2589
|
case 2:
|
|
2579
2590
|
article = _context.sent;
|
|
2580
|
-
|
|
2581
|
-
console.log('article url current', url);
|
|
2582
2591
|
relatedArticleQuery = getQuery('related');
|
|
2583
2592
|
|
|
2584
2593
|
article.seriesDetail = getSeriesDetail(article, seriesVid);
|
|
@@ -2590,35 +2599,35 @@ View.returnGetInitialProps = function () {
|
|
|
2590
2599
|
}
|
|
2591
2600
|
|
|
2592
2601
|
if (!(article.documentGroup && article.documentGroup.isSeries)) {
|
|
2593
|
-
_context.next =
|
|
2602
|
+
_context.next = 15;
|
|
2594
2603
|
break;
|
|
2595
2604
|
}
|
|
2596
2605
|
|
|
2597
|
-
_context.next =
|
|
2606
|
+
_context.next = 11;
|
|
2598
2607
|
return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && is_visible == true\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published asc) {\n title,\n thumbnail,\n url,\n published\n }');
|
|
2599
2608
|
|
|
2600
|
-
case
|
|
2609
|
+
case 11:
|
|
2601
2610
|
sliderArticles = _context.sent;
|
|
2602
2611
|
|
|
2603
2612
|
sliderData = sliderArticles;
|
|
2604
|
-
_context.next =
|
|
2613
|
+
_context.next = 20;
|
|
2605
2614
|
break;
|
|
2606
2615
|
|
|
2607
|
-
case
|
|
2616
|
+
case 15:
|
|
2608
2617
|
if (!(article.documentGroupMapping && article.documentGroupMapping[0] && article.documentGroupMapping[0].isSeries)) {
|
|
2609
|
-
_context.next =
|
|
2618
|
+
_context.next = 20;
|
|
2610
2619
|
break;
|
|
2611
2620
|
}
|
|
2612
2621
|
|
|
2613
|
-
_context.next =
|
|
2622
|
+
_context.next = 18;
|
|
2614
2623
|
return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroupMapping[0]._id + '\')\n && is_visible == true\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published asc) {\n title,\n thumbnail,\n url,\n published\n }');
|
|
2615
2624
|
|
|
2616
|
-
case
|
|
2625
|
+
case 18:
|
|
2617
2626
|
_sliderArticles = _context.sent;
|
|
2618
2627
|
|
|
2619
2628
|
sliderData = _sliderArticles;
|
|
2620
2629
|
|
|
2621
|
-
case
|
|
2630
|
+
case 20:
|
|
2622
2631
|
_context$query$series = context.query.seriesArticle, seriesArticle = _context$query$series === undefined ? false : _context$query$series;
|
|
2623
2632
|
|
|
2624
2633
|
if ((seriesArticle || seriesVid) && article.body) {
|
|
@@ -2677,27 +2686,27 @@ View.returnGetInitialProps = function () {
|
|
|
2677
2686
|
}
|
|
2678
2687
|
|
|
2679
2688
|
if (!article.disableRelatedContent) {
|
|
2680
|
-
_context.next =
|
|
2689
|
+
_context.next = 30;
|
|
2681
2690
|
break;
|
|
2682
2691
|
}
|
|
2683
2692
|
|
|
2684
2693
|
article.relatedArticle = null;
|
|
2685
|
-
_context.next =
|
|
2694
|
+
_context.next = 34;
|
|
2686
2695
|
break;
|
|
2687
2696
|
|
|
2688
|
-
case
|
|
2697
|
+
case 30:
|
|
2689
2698
|
if (!article) {
|
|
2690
|
-
_context.next =
|
|
2699
|
+
_context.next = 34;
|
|
2691
2700
|
break;
|
|
2692
2701
|
}
|
|
2693
2702
|
|
|
2694
|
-
_context.next =
|
|
2703
|
+
_context.next = 33;
|
|
2695
2704
|
return getRelatedArticle(context, client, article, prevUrl, '0..2');
|
|
2696
2705
|
|
|
2697
|
-
case
|
|
2706
|
+
case 33:
|
|
2698
2707
|
article.relatedArticle = _context.sent;
|
|
2699
2708
|
|
|
2700
|
-
case
|
|
2709
|
+
case 34:
|
|
2701
2710
|
|
|
2702
2711
|
//check documentGroup and documentGroupMapping for disableNativeAds:true
|
|
2703
2712
|
if (!article.disableNativeAds) {
|
|
@@ -2738,7 +2747,7 @@ View.returnGetInitialProps = function () {
|
|
|
2738
2747
|
sponsoredFlag: sponsoredFlag
|
|
2739
2748
|
});
|
|
2740
2749
|
|
|
2741
|
-
case
|
|
2750
|
+
case 36:
|
|
2742
2751
|
case 'end':
|
|
2743
2752
|
return _context.stop();
|
|
2744
2753
|
}
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
|
4
4
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
-
import { m as main_43, a as main_49, b as main_42 } from './main-
|
|
7
|
+
import { m as main_43, a as main_49, b as main_42 } from './main-f97773b2.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './web.dom.iterable-ab4dea5c.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|