@mjhls/mjh-framework 1.0.1019-msl-test → 1.0.1019-v3
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/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -3
- package/dist/cjs/AD300x250x600.js +2 -3
- package/dist/cjs/AD728x90.js +2 -3
- package/dist/cjs/ADFloatingFooter.js +2 -3
- package/dist/cjs/ADGutter.js +2 -3
- package/dist/cjs/ADSkyscraper.js +2 -3
- package/dist/cjs/ADSponsoredResources.js +2 -3
- package/dist/cjs/ADWebcast.js +2 -3
- package/dist/cjs/ADWelcome.js +2 -3
- package/dist/cjs/AdSlot.js +2 -3
- package/dist/cjs/AdSlotsProvider.js +2 -3
- package/dist/cjs/AlgoliaSearch.js +1023 -512
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -4
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesListing.js +2 -3
- package/dist/cjs/Auth.js +41 -12
- package/dist/cjs/AuthWrapper.js +25 -17
- package/dist/cjs/CEDeckSupabase.js +2 -3
- package/dist/cjs/CMEDeck.js +2 -3
- package/dist/cjs/Column2.js +4 -2
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ContentCardPaginated.js +4 -5
- package/dist/cjs/DeckContent.js +3 -4
- package/dist/cjs/DeckQueue.js +2 -3
- package/dist/cjs/DeckQueuePaginated.js +3 -4
- package/dist/cjs/{Dfp-c313a700.js → Dfp-67646058.js} +1 -2
- package/dist/cjs/EventsDeck.js +2 -2
- package/dist/cjs/ExternalResources.js +7 -8
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -5
- package/dist/cjs/GridContentPaginated.js +5 -6
- package/dist/cjs/HamMagazine.js +43 -41
- package/dist/cjs/HorizontalArticleListing.js +3 -4
- package/dist/cjs/{ImageSlider-17fdaf3b.js → ImageSlider-50807a77.js} +5 -10
- package/dist/cjs/IssueLanding.js +5 -6
- package/dist/cjs/LeftNav.js +15 -17
- package/dist/cjs/MasterDeck.js +4 -5
- package/dist/cjs/MasterDeckPaginated.js +5 -6
- package/dist/cjs/{MediaSeriesCard-b3b0e9e7.js → MediaSeriesCard-756b0d9a.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +8 -9
- package/dist/cjs/MediaSeriesLandingPaginated.js +8 -9
- package/dist/cjs/NavDvm.js +30 -28
- package/dist/cjs/{NavFooter-257b5318.js → NavFooter-b37e3eed.js} +4 -3
- package/dist/cjs/NavMagazine.js +41 -39
- package/dist/cjs/NavNative.js +46 -46
- package/dist/cjs/{Pagination-842c556f.js → Pagination-6359861a.js} +1 -1
- package/dist/cjs/PartnerDetailListing.js +40 -30
- package/dist/cjs/PartnerDetailListingPaginated.js +39 -35
- package/dist/cjs/PodcastsLanding.js +6 -7
- package/dist/cjs/PubSection.js +4 -5
- package/dist/cjs/QueueDeckExpanded.js +4 -5
- package/dist/cjs/QueueDeckExpandedPaginated.js +5 -6
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-3d57985d.js → SeriesSlider-18fc6e71.js} +1 -1
- package/dist/cjs/SideFooter.js +9 -7
- package/dist/cjs/{SocialSearchComponent-e2a5511a.js → SocialSearchComponent-e30b4dea.js} +2 -2
- package/dist/cjs/TaxonomyCard.js +8 -8
- package/dist/cjs/TaxonomyDescription.js +3 -4
- package/dist/cjs/TemplateNormal.js +5 -6
- package/dist/cjs/{Tooltip-4cb8849a.js → Tooltip-8011d690.js} +134 -74
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -4
- package/dist/cjs/VideoSeriesLandingPage.js +4 -5
- package/dist/cjs/VideoSeriesListing.js +2 -3
- package/dist/cjs/View.js +5 -6
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/{defineProperty-e0fb52c5.js → defineProperty-19580e93.js} +2 -4
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +3 -4
- package/dist/cjs/{index-bd6c9f56.js → index-3cd60d26.js} +11 -11
- package/dist/cjs/{index-d2a6ef75.js → index-7435b964.js} +467 -2
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index-59c0988f.js → index-de9f9069.js} +2 -2
- package/dist/cjs/{index.esm-91e651b0.js → index.esm-bb54403e.js} +8 -7
- package/dist/cjs/index.js +13 -15
- package/dist/cjs/{main-3643d499.js → main-6054981e.js} +4 -9
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -3
- package/dist/esm/AD300x250x600.js +2 -3
- package/dist/esm/AD728x90.js +2 -3
- package/dist/esm/ADFloatingFooter.js +2 -3
- package/dist/esm/ADGutter.js +2 -3
- package/dist/esm/ADSkyscraper.js +2 -3
- package/dist/esm/ADSponsoredResources.js +2 -3
- package/dist/esm/ADWebcast.js +2 -3
- package/dist/esm/ADWelcome.js +2 -3
- package/dist/esm/AdSlot.js +2 -3
- package/dist/esm/AdSlotsProvider.js +2 -3
- package/dist/esm/AlgoliaSearch.js +1023 -512
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -4
- package/dist/esm/ArticleSeriesLandingPage.js +4 -5
- package/dist/esm/ArticleSeriesListing.js +2 -3
- package/dist/esm/Auth.js +41 -12
- package/dist/esm/AuthWrapper.js +24 -16
- package/dist/esm/CEDeckSupabase.js +2 -3
- package/dist/esm/CMEDeck.js +2 -3
- package/dist/esm/Column2.js +4 -2
- package/dist/esm/Column3.js +2 -3
- package/dist/esm/ContentCardPaginated.js +4 -5
- package/dist/esm/DeckContent.js +3 -4
- package/dist/esm/DeckQueue.js +2 -3
- package/dist/esm/DeckQueuePaginated.js +3 -4
- package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +7 -8
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +4 -5
- package/dist/esm/GridContentPaginated.js +5 -6
- package/dist/esm/HamMagazine.js +43 -41
- package/dist/esm/HorizontalArticleListing.js +3 -4
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-cdb57d30.js} +5 -10
- package/dist/esm/IssueLanding.js +5 -6
- package/dist/esm/LeftNav.js +15 -17
- package/dist/esm/MasterDeck.js +4 -5
- package/dist/esm/MasterDeckPaginated.js +5 -6
- package/dist/esm/{MediaSeriesCard-ffbc04be.js → MediaSeriesCard-f1f91e14.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +8 -9
- package/dist/esm/MediaSeriesLandingPaginated.js +8 -9
- package/dist/esm/NavDvm.js +30 -28
- package/dist/esm/{NavFooter-27a16f65.js → NavFooter-37c5eea2.js} +4 -3
- package/dist/esm/NavMagazine.js +41 -39
- package/dist/esm/NavNative.js +46 -46
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +40 -30
- package/dist/esm/PartnerDetailListingPaginated.js +39 -35
- package/dist/esm/PodcastsLanding.js +6 -7
- package/dist/esm/PubSection.js +4 -5
- package/dist/esm/QueueDeckExpanded.js +4 -5
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
- package/dist/esm/SeriesListingDeck.js +3 -4
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-5728e349.js} +1 -1
- package/dist/esm/SideFooter.js +9 -7
- package/dist/esm/{SocialSearchComponent-a7714c5e.js → SocialSearchComponent-7591859b.js} +2 -2
- package/dist/esm/TaxonomyCard.js +8 -8
- package/dist/esm/TaxonomyDescription.js +3 -4
- package/dist/esm/TemplateNormal.js +5 -6
- package/dist/esm/{Tooltip-95655b44.js → Tooltip-2cdd0895.js} +134 -74
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -4
- package/dist/esm/VideoSeriesLandingPage.js +4 -5
- package/dist/esm/VideoSeriesListing.js +2 -3
- package/dist/esm/View.js +5 -6
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/{defineProperty-23a8f8cd.js → defineProperty-e8022d1e.js} +2 -4
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +3 -4
- package/dist/esm/{index-db3bb315.js → index-0a63f9a3.js} +11 -11
- package/dist/esm/{index-f843466e.js → index-29ed16aa.js} +2 -2
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
- package/dist/esm/{index.esm-06bf63a3.js → index.esm-8639823a.js} +8 -7
- package/dist/esm/index.js +13 -15
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/package.json +1 -1
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/cjs/{ADInfeed-0394f391.js → ADInfeed-ef933a08.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-759969d6.js → ADlgInfeed-0e931f24.js} +0 -0
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-f946441a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-012e6f16.js} +0 -0
|
@@ -2652,7 +2652,10 @@ function isShadowRoot(node) {
|
|
|
2652
2652
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2653
2653
|
}
|
|
2654
2654
|
|
|
2655
|
-
var
|
|
2655
|
+
var max = Math.max;
|
|
2656
|
+
var min = Math.min;
|
|
2657
|
+
var round = Math.round;
|
|
2658
|
+
|
|
2656
2659
|
function getBoundingClientRect(element, includeScale) {
|
|
2657
2660
|
if (includeScale === void 0) {
|
|
2658
2661
|
includeScale = false;
|
|
@@ -2663,20 +2666,28 @@ function getBoundingClientRect(element, includeScale) {
|
|
|
2663
2666
|
var scaleY = 1;
|
|
2664
2667
|
|
|
2665
2668
|
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
|
|
2666
2671
|
// Fallback to 1 in case both values are `0`
|
|
2667
|
-
|
|
2668
|
-
|
|
2672
|
+
|
|
2673
|
+
if (offsetWidth > 0) {
|
|
2674
|
+
scaleX = round(rect.width) / offsetWidth || 1;
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
if (offsetHeight > 0) {
|
|
2678
|
+
scaleY = round(rect.height) / offsetHeight || 1;
|
|
2679
|
+
}
|
|
2669
2680
|
}
|
|
2670
2681
|
|
|
2671
2682
|
return {
|
|
2672
|
-
width:
|
|
2673
|
-
height:
|
|
2674
|
-
top:
|
|
2675
|
-
right:
|
|
2676
|
-
bottom:
|
|
2677
|
-
left:
|
|
2678
|
-
x:
|
|
2679
|
-
y:
|
|
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
|
|
2680
2691
|
};
|
|
2681
2692
|
}
|
|
2682
2693
|
|
|
@@ -2825,13 +2836,13 @@ function getMainAxisFromPlacement(placement) {
|
|
|
2825
2836
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
2826
2837
|
}
|
|
2827
2838
|
|
|
2828
|
-
var max = Math.max;
|
|
2829
|
-
var min = Math.min;
|
|
2830
|
-
var round = Math.round;
|
|
2831
|
-
|
|
2832
2839
|
function within(min$1, value, max$1) {
|
|
2833
2840
|
return max(min$1, min(value, max$1));
|
|
2834
2841
|
}
|
|
2842
|
+
function withinMaxClamp(min, value, max) {
|
|
2843
|
+
var v = within(min, value, max);
|
|
2844
|
+
return v > max ? max : v;
|
|
2845
|
+
}
|
|
2835
2846
|
|
|
2836
2847
|
function getFreshSideObject() {
|
|
2837
2848
|
return {
|
|
@@ -2944,6 +2955,10 @@ var arrow$1 = {
|
|
|
2944
2955
|
requiresIfExists: ['preventOverflow']
|
|
2945
2956
|
};
|
|
2946
2957
|
|
|
2958
|
+
function getVariation(placement) {
|
|
2959
|
+
return placement.split('-')[1];
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2947
2962
|
var unsetSides = {
|
|
2948
2963
|
top: 'auto',
|
|
2949
2964
|
right: 'auto',
|
|
@@ -2959,8 +2974,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
2959
2974
|
var win = window;
|
|
2960
2975
|
var dpr = win.devicePixelRatio || 1;
|
|
2961
2976
|
return {
|
|
2962
|
-
x: round(
|
|
2963
|
-
y: round(
|
|
2977
|
+
x: round(x * dpr) / dpr || 0,
|
|
2978
|
+
y: round(y * dpr) / dpr || 0
|
|
2964
2979
|
};
|
|
2965
2980
|
}
|
|
2966
2981
|
|
|
@@ -2970,18 +2985,28 @@ function mapToStyles(_ref2) {
|
|
|
2970
2985
|
var popper = _ref2.popper,
|
|
2971
2986
|
popperRect = _ref2.popperRect,
|
|
2972
2987
|
placement = _ref2.placement,
|
|
2988
|
+
variation = _ref2.variation,
|
|
2973
2989
|
offsets = _ref2.offsets,
|
|
2974
2990
|
position = _ref2.position,
|
|
2975
2991
|
gpuAcceleration = _ref2.gpuAcceleration,
|
|
2976
2992
|
adaptive = _ref2.adaptive,
|
|
2977
|
-
roundOffsets = _ref2.roundOffsets
|
|
2978
|
-
|
|
2979
|
-
var
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2993
|
+
roundOffsets = _ref2.roundOffsets,
|
|
2994
|
+
isFixed = _ref2.isFixed;
|
|
2995
|
+
var _offsets$x = offsets.x,
|
|
2996
|
+
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
|
2997
|
+
_offsets$y = offsets.y,
|
|
2998
|
+
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
2999
|
+
|
|
3000
|
+
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
3001
|
+
x: x,
|
|
3002
|
+
y: y
|
|
3003
|
+
}) : {
|
|
3004
|
+
x: x,
|
|
3005
|
+
y: y
|
|
3006
|
+
};
|
|
2984
3007
|
|
|
3008
|
+
x = _ref3.x;
|
|
3009
|
+
y = _ref3.y;
|
|
2985
3010
|
var hasX = offsets.hasOwnProperty('x');
|
|
2986
3011
|
var hasY = offsets.hasOwnProperty('y');
|
|
2987
3012
|
var sideX = left;
|
|
@@ -2996,7 +3021,7 @@ function mapToStyles(_ref2) {
|
|
|
2996
3021
|
if (offsetParent === getWindow(popper)) {
|
|
2997
3022
|
offsetParent = getDocumentElement(popper);
|
|
2998
3023
|
|
|
2999
|
-
if (getComputedStyle$1(offsetParent).position !== 'static') {
|
|
3024
|
+
if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
|
|
3000
3025
|
heightProp = 'scrollHeight';
|
|
3001
3026
|
widthProp = 'scrollWidth';
|
|
3002
3027
|
}
|
|
@@ -3005,17 +3030,19 @@ function mapToStyles(_ref2) {
|
|
|
3005
3030
|
|
|
3006
3031
|
offsetParent = offsetParent;
|
|
3007
3032
|
|
|
3008
|
-
if (placement === top) {
|
|
3009
|
-
sideY = bottom;
|
|
3010
|
-
|
|
3011
|
-
|
|
3033
|
+
if (placement === top || (placement === left || placement === right) && variation === end) {
|
|
3034
|
+
sideY = bottom;
|
|
3035
|
+
var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
3036
|
+
offsetParent[heightProp];
|
|
3037
|
+
y -= offsetY - popperRect.height;
|
|
3012
3038
|
y *= gpuAcceleration ? 1 : -1;
|
|
3013
3039
|
}
|
|
3014
3040
|
|
|
3015
|
-
if (placement === left) {
|
|
3016
|
-
sideX = right;
|
|
3017
|
-
|
|
3018
|
-
|
|
3041
|
+
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
|
3042
|
+
sideX = right;
|
|
3043
|
+
var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
3044
|
+
offsetParent[widthProp];
|
|
3045
|
+
x -= offsetX - popperRect.width;
|
|
3019
3046
|
x *= gpuAcceleration ? 1 : -1;
|
|
3020
3047
|
}
|
|
3021
3048
|
}
|
|
@@ -3024,18 +3051,29 @@ function mapToStyles(_ref2) {
|
|
|
3024
3051
|
position: position
|
|
3025
3052
|
}, adaptive && unsetSides);
|
|
3026
3053
|
|
|
3054
|
+
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
3055
|
+
x: x,
|
|
3056
|
+
y: y
|
|
3057
|
+
}) : {
|
|
3058
|
+
x: x,
|
|
3059
|
+
y: y
|
|
3060
|
+
};
|
|
3061
|
+
|
|
3062
|
+
x = _ref4.x;
|
|
3063
|
+
y = _ref4.y;
|
|
3064
|
+
|
|
3027
3065
|
if (gpuAcceleration) {
|
|
3028
3066
|
var _Object$assign;
|
|
3029
3067
|
|
|
3030
|
-
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1)
|
|
3068
|
+
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
3031
3069
|
}
|
|
3032
3070
|
|
|
3033
3071
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
3034
3072
|
}
|
|
3035
3073
|
|
|
3036
|
-
function computeStyles(
|
|
3037
|
-
var state =
|
|
3038
|
-
options =
|
|
3074
|
+
function computeStyles(_ref5) {
|
|
3075
|
+
var state = _ref5.state,
|
|
3076
|
+
options = _ref5.options;
|
|
3039
3077
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
3040
3078
|
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
3041
3079
|
_options$adaptive = options.adaptive,
|
|
@@ -3055,9 +3093,11 @@ function computeStyles(_ref4) {
|
|
|
3055
3093
|
|
|
3056
3094
|
var commonStyles = {
|
|
3057
3095
|
placement: getBasePlacement(state.placement),
|
|
3096
|
+
variation: getVariation(state.placement),
|
|
3058
3097
|
popper: state.elements.popper,
|
|
3059
3098
|
popperRect: state.rects.popper,
|
|
3060
|
-
gpuAcceleration: gpuAcceleration
|
|
3099
|
+
gpuAcceleration: gpuAcceleration,
|
|
3100
|
+
isFixed: state.options.strategy === 'fixed'
|
|
3061
3101
|
};
|
|
3062
3102
|
|
|
3063
3103
|
if (state.modifiersData.popperOffsets != null) {
|
|
@@ -3315,7 +3355,7 @@ function getInnerBoundingClientRect(element) {
|
|
|
3315
3355
|
}
|
|
3316
3356
|
|
|
3317
3357
|
function getClientRectFromMixedType(element, clippingParent) {
|
|
3318
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) :
|
|
3358
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
3319
3359
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
3320
3360
|
// clipping (or hiding) overflowing elements with a position different from
|
|
3321
3361
|
// `initial`
|
|
@@ -3357,10 +3397,6 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
3357
3397
|
return clippingRect;
|
|
3358
3398
|
}
|
|
3359
3399
|
|
|
3360
|
-
function getVariation(placement) {
|
|
3361
|
-
return placement.split('-')[1];
|
|
3362
|
-
}
|
|
3363
|
-
|
|
3364
3400
|
function computeOffsets(_ref) {
|
|
3365
3401
|
var reference = _ref.reference,
|
|
3366
3402
|
element = _ref.element,
|
|
@@ -3446,11 +3482,10 @@ function detectOverflow(state, options) {
|
|
|
3446
3482
|
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
3447
3483
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
3448
3484
|
var altContext = elementContext === popper ? reference : popper;
|
|
3449
|
-
var referenceElement = state.elements.reference;
|
|
3450
3485
|
var popperRect = state.rects.popper;
|
|
3451
3486
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
3452
3487
|
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
3453
|
-
var referenceClientRect = getBoundingClientRect(
|
|
3488
|
+
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
3454
3489
|
var popperOffsets = computeOffsets({
|
|
3455
3490
|
reference: referenceClientRect,
|
|
3456
3491
|
element: popperRect,
|
|
@@ -3837,6 +3872,14 @@ function preventOverflow(_ref) {
|
|
|
3837
3872
|
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
3838
3873
|
placement: state.placement
|
|
3839
3874
|
})) : tetherOffset;
|
|
3875
|
+
var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
|
|
3876
|
+
mainAxis: tetherOffsetValue,
|
|
3877
|
+
altAxis: tetherOffsetValue
|
|
3878
|
+
} : Object.assign({
|
|
3879
|
+
mainAxis: 0,
|
|
3880
|
+
altAxis: 0
|
|
3881
|
+
}, tetherOffsetValue);
|
|
3882
|
+
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
|
3840
3883
|
var data = {
|
|
3841
3884
|
x: 0,
|
|
3842
3885
|
y: 0
|
|
@@ -3846,13 +3889,15 @@ function preventOverflow(_ref) {
|
|
|
3846
3889
|
return;
|
|
3847
3890
|
}
|
|
3848
3891
|
|
|
3849
|
-
if (checkMainAxis
|
|
3892
|
+
if (checkMainAxis) {
|
|
3893
|
+
var _offsetModifierState$;
|
|
3894
|
+
|
|
3850
3895
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
3851
3896
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
3852
3897
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
3853
3898
|
var offset = popperOffsets[mainAxis];
|
|
3854
|
-
var min$1 =
|
|
3855
|
-
var max$1 =
|
|
3899
|
+
var min$1 = offset + overflow[mainSide];
|
|
3900
|
+
var max$1 = offset - overflow[altSide];
|
|
3856
3901
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
3857
3902
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
3858
3903
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -3872,36 +3917,45 @@ function preventOverflow(_ref) {
|
|
|
3872
3917
|
// width or height)
|
|
3873
3918
|
|
|
3874
3919
|
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
3875
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin -
|
|
3876
|
-
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax +
|
|
3920
|
+
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
|
|
3921
|
+
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
3877
3922
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
3878
3923
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
3879
|
-
var offsetModifierValue =
|
|
3880
|
-
var tetherMin =
|
|
3881
|
-
var tetherMax =
|
|
3924
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
3925
|
+
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
3926
|
+
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
3927
|
+
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
3928
|
+
popperOffsets[mainAxis] = preventedOffset;
|
|
3929
|
+
data[mainAxis] = preventedOffset - offset;
|
|
3930
|
+
}
|
|
3882
3931
|
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
3886
|
-
data[mainAxis] = preventedOffset - offset;
|
|
3887
|
-
}
|
|
3932
|
+
if (checkAltAxis) {
|
|
3933
|
+
var _offsetModifierState$2;
|
|
3888
3934
|
|
|
3889
|
-
|
|
3890
|
-
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3935
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3891
3936
|
|
|
3892
|
-
|
|
3937
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
3893
3938
|
|
|
3894
|
-
|
|
3939
|
+
var _offset = popperOffsets[altAxis];
|
|
3895
3940
|
|
|
3896
|
-
|
|
3941
|
+
var _len = altAxis === 'y' ? 'height' : 'width';
|
|
3897
3942
|
|
|
3898
|
-
|
|
3943
|
+
var _min = _offset + overflow[_mainSide];
|
|
3899
3944
|
|
|
3900
|
-
|
|
3945
|
+
var _max = _offset - overflow[_altSide];
|
|
3901
3946
|
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3947
|
+
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
3948
|
+
|
|
3949
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
3950
|
+
|
|
3951
|
+
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
3952
|
+
|
|
3953
|
+
var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
|
|
3954
|
+
|
|
3955
|
+
var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
|
|
3956
|
+
|
|
3957
|
+
popperOffsets[altAxis] = _preventedOffset;
|
|
3958
|
+
data[altAxis] = _preventedOffset - _offset;
|
|
3905
3959
|
}
|
|
3906
3960
|
|
|
3907
3961
|
state.modifiersData[name] = data;
|
|
@@ -3933,8 +3987,8 @@ function getNodeScroll(node) {
|
|
|
3933
3987
|
|
|
3934
3988
|
function isElementScaled(element) {
|
|
3935
3989
|
var rect = element.getBoundingClientRect();
|
|
3936
|
-
var scaleX = rect.width / element.offsetWidth || 1;
|
|
3937
|
-
var scaleY = rect.height / element.offsetHeight || 1;
|
|
3990
|
+
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
|
3991
|
+
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
|
3938
3992
|
return scaleX !== 1 || scaleY !== 1;
|
|
3939
3993
|
} // Returns the composite rect of an element relative to its offsetParent.
|
|
3940
3994
|
// Composite means it takes into account transforms as well as layout.
|
|
@@ -4055,7 +4109,10 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
|
|
|
4055
4109
|
var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
|
|
4056
4110
|
function validateModifiers(modifiers) {
|
|
4057
4111
|
modifiers.forEach(function (modifier) {
|
|
4058
|
-
Object.keys(modifier)
|
|
4112
|
+
[].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
|
|
4113
|
+
.filter(function (value, index, self) {
|
|
4114
|
+
return self.indexOf(value) === index;
|
|
4115
|
+
}).forEach(function (key) {
|
|
4059
4116
|
switch (key) {
|
|
4060
4117
|
case 'name':
|
|
4061
4118
|
if (typeof modifier.name !== 'string') {
|
|
@@ -4069,6 +4126,8 @@ function validateModifiers(modifiers) {
|
|
|
4069
4126
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
|
|
4070
4127
|
}
|
|
4071
4128
|
|
|
4129
|
+
break;
|
|
4130
|
+
|
|
4072
4131
|
case 'phase':
|
|
4073
4132
|
if (modifierPhases.indexOf(modifier.phase) < 0) {
|
|
4074
4133
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
|
|
@@ -4084,14 +4143,14 @@ function validateModifiers(modifiers) {
|
|
|
4084
4143
|
break;
|
|
4085
4144
|
|
|
4086
4145
|
case 'effect':
|
|
4087
|
-
if (typeof modifier.effect !== 'function') {
|
|
4146
|
+
if (modifier.effect != null && typeof modifier.effect !== 'function') {
|
|
4088
4147
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
4089
4148
|
}
|
|
4090
4149
|
|
|
4091
4150
|
break;
|
|
4092
4151
|
|
|
4093
4152
|
case 'requires':
|
|
4094
|
-
if (!Array.isArray(modifier.requires)) {
|
|
4153
|
+
if (modifier.requires != null && !Array.isArray(modifier.requires)) {
|
|
4095
4154
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
|
|
4096
4155
|
}
|
|
4097
4156
|
|
|
@@ -4201,7 +4260,8 @@ function popperGenerator(generatorOptions) {
|
|
|
4201
4260
|
var isDestroyed = false;
|
|
4202
4261
|
var instance = {
|
|
4203
4262
|
state: state,
|
|
4204
|
-
setOptions: function setOptions(
|
|
4263
|
+
setOptions: function setOptions(setOptionsAction) {
|
|
4264
|
+
var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
|
|
4205
4265
|
cleanupModifierEffects();
|
|
4206
4266
|
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
4207
4267
|
state.scrollParents = {
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958
|
|
|
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-9f6806ea.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-29ed16aa.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -18,15 +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-
|
|
22
|
-
import './events-6c3a7a63.js';
|
|
21
|
+
import './index-5cc7b406.js';
|
|
23
22
|
import 'next/router';
|
|
24
23
|
import './index-c7e2ac95.js';
|
|
25
24
|
import './util-8ed16d48.js';
|
|
26
25
|
import './Beam.js';
|
|
27
26
|
import './stringify-2b084bee.js';
|
|
28
27
|
import './Segment.js';
|
|
29
|
-
import './main-
|
|
28
|
+
import './main-9f6806ea.js';
|
|
30
29
|
import './urlForFile-b69adffc.js';
|
|
31
30
|
import './index-755f2cc2.js';
|
|
32
31
|
import 'react-dom';
|
|
@@ -20,8 +20,7 @@ import './extends-6d8e3924.js';
|
|
|
20
20
|
import './inherits-a6ba2ec4.js';
|
|
21
21
|
import './_object-sap-7cee6f84.js';
|
|
22
22
|
import './define-property-5f1bda73.js';
|
|
23
|
-
import './index-
|
|
24
|
-
import './events-6c3a7a63.js';
|
|
23
|
+
import './index-5cc7b406.js';
|
|
25
24
|
import 'prop-types';
|
|
26
25
|
import 'react-bootstrap/Container';
|
|
27
26
|
import 'react-bootstrap/Row';
|
|
@@ -36,13 +35,13 @@ import './index.es-a6137319.js';
|
|
|
36
35
|
import './visibility-sensor-72fd8f8b.js';
|
|
37
36
|
import 'react-dom';
|
|
38
37
|
import './index-3f5c03b2.js';
|
|
39
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-012e6f16.js';
|
|
40
39
|
import './AdSlot.js';
|
|
41
40
|
import './Beam.js';
|
|
42
41
|
import './stringify-2b084bee.js';
|
|
43
42
|
import './Segment.js';
|
|
44
|
-
import './main-
|
|
45
|
-
import './ADInfeed-
|
|
43
|
+
import './main-9f6806ea.js';
|
|
44
|
+
import './ADInfeed-f946441a.js';
|
|
46
45
|
import './index-755f2cc2.js';
|
|
47
46
|
import './urlFor.js';
|
|
48
47
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
2
2
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { l as lib_3 } from './index-
|
|
4
|
+
import { l as lib_3 } from './index-5cc7b406.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';
|
|
@@ -19,7 +19,6 @@ import './typeof-e9fc0c5d.js';
|
|
|
19
19
|
import './web.dom.iterable-ab4dea5c.js';
|
|
20
20
|
import './_is-array-8d21b9e3.js';
|
|
21
21
|
import './_library-528f1934.js';
|
|
22
|
-
import './events-6c3a7a63.js';
|
|
23
22
|
import 'prop-types';
|
|
24
23
|
import 'react-dom';
|
|
25
24
|
import './iconBase-ccc56b97.js';
|
|
@@ -29,7 +28,7 @@ import './index-755f2cc2.js';
|
|
|
29
28
|
import './smoothscroll-fa4e3f8c.js';
|
|
30
29
|
import './urlFor.js';
|
|
31
30
|
import './index-3f5c03b2.js';
|
|
32
|
-
import './main-
|
|
31
|
+
import './main-9f6806ea.js';
|
|
33
32
|
import './isSymbol-a7e9aafe.js';
|
|
34
33
|
import './toNumber-5aeba6e7.js';
|
|
35
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-9f6806ea.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-29ed16aa.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
@@ -33,7 +33,7 @@ import { PixelTrackingArticle } from './PixelTracking.js';
|
|
|
33
33
|
import './Segment.js';
|
|
34
34
|
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
35
35
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
36
|
-
import { l as lib_3 } from './index-
|
|
36
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
37
37
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
38
38
|
import getQuery from './getQuery.js';
|
|
39
39
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
@@ -74,8 +74,7 @@ import './checkSisterSite-a7218fda.js';
|
|
|
74
74
|
import './debounce-533d9748.js';
|
|
75
75
|
import './isSymbol-a7e9aafe.js';
|
|
76
76
|
import './toNumber-5aeba6e7.js';
|
|
77
|
-
import './
|
|
78
|
-
import './index-db3bb315.js';
|
|
77
|
+
import './index-0a63f9a3.js';
|
|
79
78
|
|
|
80
79
|
var getArticleSummary = function getArticleSummary(article) {
|
|
81
80
|
if (article.summary && article.summary.length > 0) {
|
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-9f6806ea.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './web.dom.iterable-ab4dea5c.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -37,8 +37,7 @@ function _asyncToGenerator(fn) {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
module.exports = _asyncToGenerator;
|
|
41
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
40
|
+
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
42
41
|
});
|
|
43
42
|
|
|
44
43
|
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
@@ -59,8 +58,7 @@ function _defineProperty(obj, key, value) {
|
|
|
59
58
|
return obj;
|
|
60
59
|
}
|
|
61
60
|
|
|
62
|
-
module.exports = _defineProperty;
|
|
63
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
61
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
64
62
|
});
|
|
65
63
|
|
|
66
64
|
var _defineProperty = unwrapExports(defineProperty);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import { c as cookie } from './index-
|
|
3
|
+
import { c as cookie } from './index-0a63f9a3.js';
|
|
4
4
|
import getQuery from './getQuery.js';
|
|
5
5
|
import './core.get-iterator-method-ea258bb1.js';
|
|
6
6
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
2
|
+
export { g as default } from './index-29ed16aa.js';
|
|
3
3
|
import './BlockContent-1e73bd2c.js';
|
|
4
4
|
import './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
@@ -9,8 +9,7 @@ import './core.get-iterator-method-ea258bb1.js';
|
|
|
9
9
|
import 'react-bootstrap';
|
|
10
10
|
import './urlFor.js';
|
|
11
11
|
import './index-3f5c03b2.js';
|
|
12
|
-
import './index-
|
|
13
|
-
import './events-6c3a7a63.js';
|
|
12
|
+
import './index-5cc7b406.js';
|
|
14
13
|
import 'prop-types';
|
|
15
14
|
import 'next/router';
|
|
16
15
|
import './index-c7e2ac95.js';
|
|
@@ -21,7 +20,7 @@ import './asyncToGenerator-958ef5fc.js';
|
|
|
21
20
|
import './_library-528f1934.js';
|
|
22
21
|
import './_iter-detect-98db3b07.js';
|
|
23
22
|
import './Segment.js';
|
|
24
|
-
import './main-
|
|
23
|
+
import './main-9f6806ea.js';
|
|
25
24
|
import './extends-6d8e3924.js';
|
|
26
25
|
import './_object-pie-133f504a.js';
|
|
27
26
|
import './urlForFile-b69adffc.js';
|
|
@@ -20,7 +20,6 @@ var serialize_1 = serialize;
|
|
|
20
20
|
|
|
21
21
|
var decode = decodeURIComponent;
|
|
22
22
|
var encode = encodeURIComponent;
|
|
23
|
-
var pairSplitRegExp = /; */;
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
@@ -51,28 +50,29 @@ function parse(str, options) {
|
|
|
51
50
|
|
|
52
51
|
var obj = {};
|
|
53
52
|
var opt = options || {};
|
|
54
|
-
var pairs = str.split(
|
|
53
|
+
var pairs = str.split(';');
|
|
55
54
|
var dec = opt.decode || decode;
|
|
56
55
|
|
|
57
56
|
for (var i = 0; i < pairs.length; i++) {
|
|
58
57
|
var pair = pairs[i];
|
|
59
|
-
var
|
|
58
|
+
var index = pair.indexOf('=');
|
|
60
59
|
|
|
61
60
|
// skip things that don't look like key=value
|
|
62
|
-
if (
|
|
61
|
+
if (index < 0) {
|
|
63
62
|
continue;
|
|
64
63
|
}
|
|
65
64
|
|
|
66
|
-
var key = pair.
|
|
67
|
-
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
68
|
-
|
|
69
|
-
// quoted values
|
|
70
|
-
if ('"' == val[0]) {
|
|
71
|
-
val = val.slice(1, -1);
|
|
72
|
-
}
|
|
65
|
+
var key = pair.substring(0, index).trim();
|
|
73
66
|
|
|
74
67
|
// only assign once
|
|
75
68
|
if (undefined == obj[key]) {
|
|
69
|
+
var val = pair.substring(index + 1, pair.length).trim();
|
|
70
|
+
|
|
71
|
+
// quoted values
|
|
72
|
+
if (val[0] === '"') {
|
|
73
|
+
val = val.slice(1, -1);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
76
|
obj[key] = tryDecode(val, dec);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -2,7 +2,7 @@ import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallba
|
|
|
2
2
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
4
4
|
import urlFor from './urlFor.js';
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
5
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
6
6
|
import Router, { useRouter } from 'next/router';
|
|
7
7
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
@@ -10,7 +10,7 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
|
|
|
10
10
|
import { u as util } from './util-8ed16d48.js';
|
|
11
11
|
import './Beam.js';
|
|
12
12
|
import Segment from './Segment.js';
|
|
13
|
-
import { e as main_18, b as main_42, m as main_43 } from './main-
|
|
13
|
+
import { e as main_18, b as main_42, m as main_43 } from './main-9f6806ea.js';
|
|
14
14
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
15
15
|
import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
|
|
16
16
|
import { u as urlForFile } from './urlForFile-b69adffc.js';
|