@mjhls/mjh-framework 1.0.1081 → 1.0.1082-404-v4
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/AlgoliaSearch.js +468 -196
- package/dist/cjs/ArticleProgramLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +1 -1
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/AuthWrapper.js +233 -609
- package/dist/cjs/CEDeckSupabase.js +1 -5
- package/dist/cjs/CMEDeck.js +1 -5
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +1 -1
- package/dist/cjs/DeckContent.js +1 -1
- package/dist/cjs/DeckQueue.js +1 -1
- package/dist/cjs/DeckQueuePaginated.js +1 -1
- package/dist/cjs/EventsDeck.js +2 -2
- package/dist/cjs/ExternalResources.js +4 -4
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridContentPaginated.js +2 -2
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HighlightenVideo.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +3 -3
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-7c995858.js} +6 -11
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/MasterDeck.js +1 -1
- package/dist/cjs/MediaSeriesCard.js +3 -3
- package/dist/cjs/MediaSeriesLanding.js +6 -6
- package/dist/cjs/MediaSeriesLandingPaginated.js +6 -6
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +5 -5
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -5
- package/dist/cjs/PodcastsLanding.js +4 -4
- package/dist/cjs/PtceDeck.js +1 -1
- package/dist/cjs/PubSection.js +1 -1
- package/dist/cjs/{PublicationFeature-e945bd55.js → PublicationFeature-4b68e0db.js} +1 -1
- package/dist/cjs/QueueDeckExpanded.js +1 -1
- package/dist/cjs/QueueDeckExpandedPaginated.js +1 -1
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/TaxonomyDescription.js +3 -3
- package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-b8516cbf.js} +107 -61
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +11 -7
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-35faab67.js} +3 -3
- package/dist/cjs/{defineProperty-e0fb52c5.js → defineProperty-19580e93.js} +2 -4
- package/dist/cjs/getQuery.js +0 -1
- package/dist/cjs/getRelatedArticle.js +33 -15
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{index-4fdedd6a.js → index-171e9e82.js} +233 -14
- package/dist/cjs/index-3177f564.js +1573 -0
- package/dist/cjs/{index-50be6759.js → index-ff83a88b.js} +13 -14
- package/dist/cjs/index.js +8 -9
- package/dist/cjs/{moment-aca40de1.js → moment-f730814d.js} +95 -80
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/esm/AlgoliaSearch.js +468 -196
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/AuthWrapper.js +232 -608
- package/dist/esm/CEDeckSupabase.js +1 -5
- package/dist/esm/CMEDeck.js +1 -5
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +1 -1
- package/dist/esm/DeckContent.js +1 -1
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +1 -1
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +4 -4
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +2 -2
- package/dist/esm/GridContentPaginated.js +2 -2
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/{ImageSlider-9250ddc9.js → ImageSlider-75f7b81a.js} +6 -11
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueLanding.js +3 -3
- package/dist/esm/MasterDeck.js +1 -1
- package/dist/esm/MediaSeriesCard.js +3 -3
- package/dist/esm/MediaSeriesLanding.js +6 -6
- package/dist/esm/MediaSeriesLandingPaginated.js +6 -6
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/Pagination-9fe9f61d.js +1 -1
- package/dist/esm/PartnerDetailListing.js +5 -5
- package/dist/esm/PartnerDetailListingPaginated.js +5 -5
- package/dist/esm/PodcastsLanding.js +4 -4
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +1 -1
- package/dist/esm/{PublicationFeature-89b7afdb.js → PublicationFeature-6c334891.js} +1 -1
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-fe0ed92d.js} +108 -62
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +11 -7
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-a2422c4b.js} +3 -3
- package/dist/esm/{defineProperty-23a8f8cd.js → defineProperty-e8022d1e.js} +2 -4
- package/dist/esm/getQuery.js +0 -1
- package/dist/esm/getRelatedArticle.js +34 -16
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{index-de2bb37c.js → index-1d1bbc8c.js} +233 -14
- package/dist/esm/index-4550ef23.js +1571 -0
- package/dist/esm/{index-98ca9cec.js → index-c8d5e72b.js} +13 -14
- package/dist/esm/index.js +8 -9
- package/dist/esm/{moment-bc12cb97.js → moment-48faeb9c.js} +95 -80
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-96c331fd.js +0 -1572
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/index-30a6257d.js +0 -1570
- package/dist/esm/typeof-2f07d0e8.js +0 -30
|
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import Head from 'next/head';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-1d1bbc8c.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './core.get-iterator-method-95db387d.js';
|
|
11
11
|
import './web.dom.iterable-3fffc027.js';
|
|
@@ -27,7 +27,7 @@ import './index-755f2cc2.js';
|
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import './typeof-3ab7d3b6.js';
|
|
29
29
|
import './_is-array-68c79b29.js';
|
|
30
|
-
import './brightcove-react-player-loader.es-
|
|
30
|
+
import './brightcove-react-player-loader.es-a2422c4b.js';
|
|
31
31
|
import './_object-to-array-9dfdfb29.js';
|
|
32
32
|
import './keys-185288f4.js';
|
|
33
33
|
import './_object-sap-14bd8e96.js';
|
|
@@ -37,7 +37,7 @@ import 'react-bootstrap/Form';
|
|
|
37
37
|
import 'react-ga';
|
|
38
38
|
import './GroupDeck.js';
|
|
39
39
|
import './smoothscroll-fa4e3f8c.js';
|
|
40
|
-
import './moment-
|
|
40
|
+
import './moment-48faeb9c.js';
|
|
41
41
|
import './SocialShare.js';
|
|
42
42
|
import 'react-share';
|
|
43
43
|
import './toConsumableArray-e6f28e5c.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-
|
|
2
|
-
import React__default, {
|
|
1
|
+
import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-c8d5e72b.js';
|
|
2
|
+
import React__default, { useRef, useState, useCallback, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import ReactDOM from 'react-dom';
|
|
5
5
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -412,6 +412,10 @@ process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, P
|
|
|
412
412
|
|
|
413
413
|
var TransitionGroupContext = React__default.createContext(null);
|
|
414
414
|
|
|
415
|
+
var forceReflow = function forceReflow(node) {
|
|
416
|
+
return node.scrollTop;
|
|
417
|
+
};
|
|
418
|
+
|
|
415
419
|
var UNMOUNTED = 'unmounted';
|
|
416
420
|
var EXITED = 'exited';
|
|
417
421
|
var ENTERING = 'entering';
|
|
@@ -631,6 +635,14 @@ var Transition = /*#__PURE__*/function (_React$Component) {
|
|
|
631
635
|
this.cancelNextCallback();
|
|
632
636
|
|
|
633
637
|
if (nextStatus === ENTERING) {
|
|
638
|
+
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
639
|
+
var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749
|
|
640
|
+
// With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.
|
|
641
|
+
// To make the animation happen, we have to separate each rendering and avoid being processed as batched.
|
|
642
|
+
|
|
643
|
+
if (node) forceReflow(node);
|
|
644
|
+
}
|
|
645
|
+
|
|
634
646
|
this.performEnter(mounting);
|
|
635
647
|
} else {
|
|
636
648
|
this.performExit();
|
|
@@ -2656,38 +2668,57 @@ var max = Math.max;
|
|
|
2656
2668
|
var min = Math.min;
|
|
2657
2669
|
var round = Math.round;
|
|
2658
2670
|
|
|
2659
|
-
function
|
|
2671
|
+
function getUAString() {
|
|
2672
|
+
var uaData = navigator.userAgentData;
|
|
2673
|
+
|
|
2674
|
+
if (uaData != null && uaData.brands) {
|
|
2675
|
+
return uaData.brands.map(function (item) {
|
|
2676
|
+
return item.brand + "/" + item.version;
|
|
2677
|
+
}).join(' ');
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2680
|
+
return navigator.userAgent;
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
function isLayoutViewport() {
|
|
2684
|
+
return !/^((?!chrome|android).)*safari/i.test(getUAString());
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
2660
2688
|
if (includeScale === void 0) {
|
|
2661
2689
|
includeScale = false;
|
|
2662
2690
|
}
|
|
2663
2691
|
|
|
2664
|
-
|
|
2692
|
+
if (isFixedStrategy === void 0) {
|
|
2693
|
+
isFixedStrategy = false;
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
var clientRect = element.getBoundingClientRect();
|
|
2665
2697
|
var scaleX = 1;
|
|
2666
2698
|
var scaleY = 1;
|
|
2667
2699
|
|
|
2668
|
-
if (isHTMLElement(element)
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
// Fallback to 1 in case both values are `0`
|
|
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
|
-
}
|
|
2700
|
+
if (includeScale && isHTMLElement(element)) {
|
|
2701
|
+
scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;
|
|
2702
|
+
scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;
|
|
2680
2703
|
}
|
|
2681
2704
|
|
|
2705
|
+
var _ref = isElement(element) ? getWindow(element) : window,
|
|
2706
|
+
visualViewport = _ref.visualViewport;
|
|
2707
|
+
|
|
2708
|
+
var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
2709
|
+
var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
|
|
2710
|
+
var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
|
|
2711
|
+
var width = clientRect.width / scaleX;
|
|
2712
|
+
var height = clientRect.height / scaleY;
|
|
2682
2713
|
return {
|
|
2683
|
-
width:
|
|
2684
|
-
height:
|
|
2685
|
-
top:
|
|
2686
|
-
right:
|
|
2687
|
-
bottom:
|
|
2688
|
-
left:
|
|
2689
|
-
x:
|
|
2690
|
-
y:
|
|
2714
|
+
width: width,
|
|
2715
|
+
height: height,
|
|
2716
|
+
top: y,
|
|
2717
|
+
right: x + width,
|
|
2718
|
+
bottom: y + height,
|
|
2719
|
+
left: x,
|
|
2720
|
+
x: x,
|
|
2721
|
+
y: y
|
|
2691
2722
|
};
|
|
2692
2723
|
}
|
|
2693
2724
|
|
|
@@ -2786,8 +2817,8 @@ function getTrueOffsetParent(element) {
|
|
|
2786
2817
|
|
|
2787
2818
|
|
|
2788
2819
|
function getContainingBlock(element) {
|
|
2789
|
-
var isFirefox =
|
|
2790
|
-
var isIE =
|
|
2820
|
+
var isFirefox = /firefox/i.test(getUAString());
|
|
2821
|
+
var isIE = /Trident/i.test(getUAString());
|
|
2791
2822
|
|
|
2792
2823
|
if (isIE && isHTMLElement(element)) {
|
|
2793
2824
|
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
|
@@ -2800,6 +2831,10 @@ function getContainingBlock(element) {
|
|
|
2800
2831
|
|
|
2801
2832
|
var currentNode = getParentNode(element);
|
|
2802
2833
|
|
|
2834
|
+
if (isShadowRoot(currentNode)) {
|
|
2835
|
+
currentNode = currentNode.host;
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2803
2838
|
while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
|
|
2804
2839
|
var css = getComputedStyle$1(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
|
2805
2840
|
// create a containing block.
|
|
@@ -2992,13 +3027,21 @@ function mapToStyles(_ref2) {
|
|
|
2992
3027
|
adaptive = _ref2.adaptive,
|
|
2993
3028
|
roundOffsets = _ref2.roundOffsets,
|
|
2994
3029
|
isFixed = _ref2.isFixed;
|
|
3030
|
+
var _offsets$x = offsets.x,
|
|
3031
|
+
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
|
3032
|
+
_offsets$y = offsets.y,
|
|
3033
|
+
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
2995
3034
|
|
|
2996
|
-
var _ref3 =
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3035
|
+
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
3036
|
+
x: x,
|
|
3037
|
+
y: y
|
|
3038
|
+
}) : {
|
|
3039
|
+
x: x,
|
|
3040
|
+
y: y
|
|
3041
|
+
};
|
|
3001
3042
|
|
|
3043
|
+
x = _ref3.x;
|
|
3044
|
+
y = _ref3.y;
|
|
3002
3045
|
var hasX = offsets.hasOwnProperty('x');
|
|
3003
3046
|
var hasY = offsets.hasOwnProperty('y');
|
|
3004
3047
|
var sideX = left;
|
|
@@ -3024,7 +3067,7 @@ function mapToStyles(_ref2) {
|
|
|
3024
3067
|
|
|
3025
3068
|
if (placement === top || (placement === left || placement === right) && variation === end) {
|
|
3026
3069
|
sideY = bottom;
|
|
3027
|
-
var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
3070
|
+
var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
3028
3071
|
offsetParent[heightProp];
|
|
3029
3072
|
y -= offsetY - popperRect.height;
|
|
3030
3073
|
y *= gpuAcceleration ? 1 : -1;
|
|
@@ -3032,7 +3075,7 @@ function mapToStyles(_ref2) {
|
|
|
3032
3075
|
|
|
3033
3076
|
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
|
3034
3077
|
sideX = right;
|
|
3035
|
-
var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
3078
|
+
var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
3036
3079
|
offsetParent[widthProp];
|
|
3037
3080
|
x -= offsetX - popperRect.width;
|
|
3038
3081
|
x *= gpuAcceleration ? 1 : -1;
|
|
@@ -3043,6 +3086,17 @@ function mapToStyles(_ref2) {
|
|
|
3043
3086
|
position: position
|
|
3044
3087
|
}, adaptive && unsetSides);
|
|
3045
3088
|
|
|
3089
|
+
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
3090
|
+
x: x,
|
|
3091
|
+
y: y
|
|
3092
|
+
}) : {
|
|
3093
|
+
x: x,
|
|
3094
|
+
y: y
|
|
3095
|
+
};
|
|
3096
|
+
|
|
3097
|
+
x = _ref4.x;
|
|
3098
|
+
y = _ref4.y;
|
|
3099
|
+
|
|
3046
3100
|
if (gpuAcceleration) {
|
|
3047
3101
|
var _Object$assign;
|
|
3048
3102
|
|
|
@@ -3052,9 +3106,9 @@ function mapToStyles(_ref2) {
|
|
|
3052
3106
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
3053
3107
|
}
|
|
3054
3108
|
|
|
3055
|
-
function computeStyles(
|
|
3056
|
-
var state =
|
|
3057
|
-
options =
|
|
3109
|
+
function computeStyles(_ref5) {
|
|
3110
|
+
var state = _ref5.state,
|
|
3111
|
+
options = _ref5.options;
|
|
3058
3112
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
3059
3113
|
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
3060
3114
|
_options$adaptive = options.adaptive,
|
|
@@ -3204,31 +3258,21 @@ function getWindowScrollBarX(element) {
|
|
|
3204
3258
|
return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
|
|
3205
3259
|
}
|
|
3206
3260
|
|
|
3207
|
-
function getViewportRect(element) {
|
|
3261
|
+
function getViewportRect(element, strategy) {
|
|
3208
3262
|
var win = getWindow(element);
|
|
3209
3263
|
var html = getDocumentElement(element);
|
|
3210
3264
|
var visualViewport = win.visualViewport;
|
|
3211
3265
|
var width = html.clientWidth;
|
|
3212
3266
|
var height = html.clientHeight;
|
|
3213
3267
|
var x = 0;
|
|
3214
|
-
var y = 0;
|
|
3215
|
-
// can be obscured underneath it.
|
|
3216
|
-
// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even
|
|
3217
|
-
// if it isn't open, so if this isn't available, the popper will be detected
|
|
3218
|
-
// to overflow the bottom of the screen too early.
|
|
3268
|
+
var y = 0;
|
|
3219
3269
|
|
|
3220
3270
|
if (visualViewport) {
|
|
3221
3271
|
width = visualViewport.width;
|
|
3222
|
-
height = visualViewport.height;
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
// Feature detection fails in mobile emulation mode in Chrome.
|
|
3227
|
-
// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <
|
|
3228
|
-
// 0.001
|
|
3229
|
-
// Fallback here: "Not Safari" userAgent
|
|
3230
|
-
|
|
3231
|
-
if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
|
|
3272
|
+
height = visualViewport.height;
|
|
3273
|
+
var layoutViewport = isLayoutViewport();
|
|
3274
|
+
|
|
3275
|
+
if (layoutViewport || !layoutViewport && strategy === 'fixed') {
|
|
3232
3276
|
x = visualViewport.offsetLeft;
|
|
3233
3277
|
y = visualViewport.offsetTop;
|
|
3234
3278
|
}
|
|
@@ -3322,8 +3366,8 @@ function rectToClientRect(rect) {
|
|
|
3322
3366
|
});
|
|
3323
3367
|
}
|
|
3324
3368
|
|
|
3325
|
-
function getInnerBoundingClientRect(element) {
|
|
3326
|
-
var rect = getBoundingClientRect(element);
|
|
3369
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
3370
|
+
var rect = getBoundingClientRect(element, false, strategy === 'fixed');
|
|
3327
3371
|
rect.top = rect.top + element.clientTop;
|
|
3328
3372
|
rect.left = rect.left + element.clientLeft;
|
|
3329
3373
|
rect.bottom = rect.top + element.clientHeight;
|
|
@@ -3335,8 +3379,8 @@ function getInnerBoundingClientRect(element) {
|
|
|
3335
3379
|
return rect;
|
|
3336
3380
|
}
|
|
3337
3381
|
|
|
3338
|
-
function getClientRectFromMixedType(element, clippingParent) {
|
|
3339
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
3382
|
+
function getClientRectFromMixedType(element, clippingParent, strategy) {
|
|
3383
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
3340
3384
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
3341
3385
|
// clipping (or hiding) overflowing elements with a position different from
|
|
3342
3386
|
// `initial`
|
|
@@ -3353,24 +3397,24 @@ function getClippingParents(element) {
|
|
|
3353
3397
|
|
|
3354
3398
|
|
|
3355
3399
|
return clippingParents.filter(function (clippingParent) {
|
|
3356
|
-
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'
|
|
3400
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3357
3401
|
});
|
|
3358
3402
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3359
3403
|
// clipping parents
|
|
3360
3404
|
|
|
3361
3405
|
|
|
3362
|
-
function getClippingRect(element, boundary, rootBoundary) {
|
|
3406
|
+
function getClippingRect(element, boundary, rootBoundary, strategy) {
|
|
3363
3407
|
var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
|
|
3364
3408
|
var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
|
|
3365
3409
|
var firstClippingParent = clippingParents[0];
|
|
3366
3410
|
var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
|
|
3367
|
-
var rect = getClientRectFromMixedType(element, clippingParent);
|
|
3411
|
+
var rect = getClientRectFromMixedType(element, clippingParent, strategy);
|
|
3368
3412
|
accRect.top = max(rect.top, accRect.top);
|
|
3369
3413
|
accRect.right = min(rect.right, accRect.right);
|
|
3370
3414
|
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
3371
3415
|
accRect.left = max(rect.left, accRect.left);
|
|
3372
3416
|
return accRect;
|
|
3373
|
-
}, getClientRectFromMixedType(element, firstClippingParent));
|
|
3417
|
+
}, getClientRectFromMixedType(element, firstClippingParent, strategy));
|
|
3374
3418
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
3375
3419
|
clippingRect.height = clippingRect.bottom - clippingRect.top;
|
|
3376
3420
|
clippingRect.x = clippingRect.left;
|
|
@@ -3451,6 +3495,8 @@ function detectOverflow(state, options) {
|
|
|
3451
3495
|
var _options = options,
|
|
3452
3496
|
_options$placement = _options.placement,
|
|
3453
3497
|
placement = _options$placement === void 0 ? state.placement : _options$placement,
|
|
3498
|
+
_options$strategy = _options.strategy,
|
|
3499
|
+
strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
|
|
3454
3500
|
_options$boundary = _options.boundary,
|
|
3455
3501
|
boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
|
|
3456
3502
|
_options$rootBoundary = _options.rootBoundary,
|
|
@@ -3465,7 +3511,7 @@ function detectOverflow(state, options) {
|
|
|
3465
3511
|
var altContext = elementContext === popper ? reference : popper;
|
|
3466
3512
|
var popperRect = state.rects.popper;
|
|
3467
3513
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
3468
|
-
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
3514
|
+
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);
|
|
3469
3515
|
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
3470
3516
|
var popperOffsets = computeOffsets({
|
|
3471
3517
|
reference: referenceClientRect,
|
|
@@ -3983,7 +4029,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
|
3983
4029
|
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
3984
4030
|
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
3985
4031
|
var documentElement = getDocumentElement(offsetParent);
|
|
3986
|
-
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
|
|
4032
|
+
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);
|
|
3987
4033
|
var scroll = {
|
|
3988
4034
|
scrollLeft: 0,
|
|
3989
4035
|
scrollTop: 0
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -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-1d1bbc8c.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-95db387d.js';
|
|
@@ -30,7 +30,7 @@ import './index-755f2cc2.js';
|
|
|
30
30
|
import 'react-dom';
|
|
31
31
|
import './typeof-3ab7d3b6.js';
|
|
32
32
|
import './_is-array-68c79b29.js';
|
|
33
|
-
import './brightcove-react-player-loader.es-
|
|
33
|
+
import './brightcove-react-player-loader.es-a2422c4b.js';
|
|
34
34
|
import './_object-to-array-9dfdfb29.js';
|
|
35
35
|
import './keys-185288f4.js';
|
|
36
36
|
import './_object-sap-14bd8e96.js';
|
|
@@ -38,7 +38,7 @@ import 'react-bootstrap/Modal';
|
|
|
38
38
|
import 'react-ga';
|
|
39
39
|
import './GroupDeck.js';
|
|
40
40
|
import './smoothscroll-fa4e3f8c.js';
|
|
41
|
-
import './moment-
|
|
41
|
+
import './moment-48faeb9c.js';
|
|
42
42
|
import './SocialShare.js';
|
|
43
43
|
import 'next/head';
|
|
44
44
|
import 'react-share';
|
|
@@ -2,7 +2,7 @@ import { _ as _typeof } from './typeof-3ab7d3b6.js';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
4
4
|
import urlFor from './urlFor.js';
|
|
5
|
-
import { m as moment } from './moment-
|
|
5
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
|
|
2
2
|
import { _ as _typeof } from './typeof-3ab7d3b6.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { m as moment } from './moment-
|
|
4
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
5
5
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
6
6
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
7
7
|
import MasterDeck from './MasterDeck.js';
|
|
@@ -5,7 +5,7 @@ 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';
|
|
8
|
-
import { m as moment } from './moment-
|
|
8
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
11
11
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -6,7 +6,7 @@ import Head from 'next/head';
|
|
|
6
6
|
import { useRouter } from 'next/router';
|
|
7
7
|
import { _ as _JSON$stringify } from './stringify-1e2a5946.js';
|
|
8
8
|
import { _ as _toConsumableArray } from './toConsumableArray-e6f28e5c.js';
|
|
9
|
-
import { m as moment } from './moment-
|
|
9
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import { m as main_43 } from './main-754d4992.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
@@ -15,7 +15,7 @@ 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-1d1bbc8c.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
20
|
import { S as SeriesSlider } from './SeriesSlider-acbdf4c9.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-b62a177c.js';
|
|
@@ -49,7 +49,7 @@ import 'react-bootstrap';
|
|
|
49
49
|
import './index-c7e2ac95.js';
|
|
50
50
|
import './Beam.js';
|
|
51
51
|
import './Segment.js';
|
|
52
|
-
import './brightcove-react-player-loader.es-
|
|
52
|
+
import './brightcove-react-player-loader.es-a2422c4b.js';
|
|
53
53
|
import './_object-to-array-9dfdfb29.js';
|
|
54
54
|
import 'react-bootstrap/Modal';
|
|
55
55
|
import 'react-ga';
|
|
@@ -885,7 +885,7 @@ var RelevantTopics = function RelevantTopics(props) {
|
|
|
885
885
|
{ key: relatedLink.label, className: 'related-link' },
|
|
886
886
|
React__default.createElement(
|
|
887
887
|
'a',
|
|
888
|
-
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
888
|
+
{ className: 'related-links recomm', style: { color: 'blue' }, href: relatedLink.href },
|
|
889
889
|
relatedLink.label
|
|
890
890
|
),
|
|
891
891
|
React__default.createElement(
|
|
@@ -1276,8 +1276,10 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1276
1276
|
if (cp.excludeRelatedContents) {
|
|
1277
1277
|
return null;
|
|
1278
1278
|
}
|
|
1279
|
-
|
|
1280
|
-
var
|
|
1279
|
+
// const cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.path
|
|
1280
|
+
var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.parent && !cp.path.includes('/') ? '/' + cp.parent + '/' + cp.path : '/' + cp.path;
|
|
1281
|
+
var href = '' + cp_url;
|
|
1282
|
+
console.log("hrwef", href);
|
|
1281
1283
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
|
|
1282
1284
|
});
|
|
1283
1285
|
}
|
|
@@ -1298,7 +1300,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1298
1300
|
{ key: index, className: 'related-link' },
|
|
1299
1301
|
React__default.createElement(
|
|
1300
1302
|
'a',
|
|
1301
|
-
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
1303
|
+
{ className: 'related-links article', style: { color: 'blue' }, href: relatedLink.href },
|
|
1302
1304
|
relatedLink.label
|
|
1303
1305
|
),
|
|
1304
1306
|
React__default.createElement(
|
|
@@ -2373,6 +2375,8 @@ var View = function View(props) {
|
|
|
2373
2375
|
var title = _props$article2.title,
|
|
2374
2376
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
2375
2377
|
|
|
2378
|
+
console.log(props);
|
|
2379
|
+
|
|
2376
2380
|
var _useState = useState(0),
|
|
2377
2381
|
_useState2 = _slicedToArray(_useState, 2),
|
|
2378
2382
|
currentPage = _useState2[0],
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-
|
|
2
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
5
5
|
import { A as AuthorComponent } from './AuthorComponent-d9653ae5.js';
|
|
@@ -564,7 +564,7 @@ proto.createDocumentFragment = function createDocumentFragment() {
|
|
|
564
564
|
};
|
|
565
565
|
|
|
566
566
|
proto.createEvent = function createEvent(family) {
|
|
567
|
-
return new event(
|
|
567
|
+
return new event()
|
|
568
568
|
};
|
|
569
569
|
|
|
570
570
|
proto.createComment = function createComment(data) {
|
|
@@ -625,7 +625,7 @@ if (typeof window !== "undefined") {
|
|
|
625
625
|
|
|
626
626
|
var window_1 = win;
|
|
627
627
|
|
|
628
|
-
/*! @name @brightcove/react-player-loader @version 1.4.
|
|
628
|
+
/*! @name @brightcove/react-player-loader @version 1.4.2 @license Apache-2.0 */
|
|
629
629
|
|
|
630
630
|
function _extends() {
|
|
631
631
|
_extends = Object.assign || function (target) {
|
|
@@ -2073,7 +2073,7 @@ function (_React$Component) {
|
|
|
2073
2073
|
|
|
2074
2074
|
_proto.updatePlayer = function updatePlayer(changes) {
|
|
2075
2075
|
// No player exists, player is disposed, or not using the catalog
|
|
2076
|
-
if (!this.player || !this.player.el()) {
|
|
2076
|
+
if (!this.player || !this.player.el || !this.player.el()) {
|
|
2077
2077
|
return;
|
|
2078
2078
|
} // If the player is using the catalog plugin, we _may_ populate this
|
|
2079
2079
|
// variable with an object.
|
|
@@ -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);
|
package/dist/esm/getQuery.js
CHANGED
|
@@ -5,7 +5,6 @@ var getQuery = function getQuery(type) {
|
|
|
5
5
|
|
|
6
6
|
//Added feature to include additional conditions and parameters for site level operations
|
|
7
7
|
//Site level conditions should start with && (logical AND), and site level params should end with , (comma) in order to execute query
|
|
8
|
-
|
|
9
8
|
switch (type) {
|
|
10
9
|
// quiz video series and slideshow
|
|
11
10
|
case 'related':
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
|
|
2
|
-
import { c as createCommonjsModule,
|
|
2
|
+
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import getQuery from './getQuery.js';
|
|
4
4
|
import './core.get-iterator-method-95db387d.js';
|
|
5
5
|
import './web.dom.iterable-3fffc027.js';
|
|
@@ -29,7 +29,6 @@ var serialize_1 = serialize;
|
|
|
29
29
|
|
|
30
30
|
var decode = decodeURIComponent;
|
|
31
31
|
var encode = encodeURIComponent;
|
|
32
|
-
var pairSplitRegExp = /; */;
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
@@ -60,28 +59,29 @@ function parse$1(str, options) {
|
|
|
60
59
|
|
|
61
60
|
var obj = {};
|
|
62
61
|
var opt = options || {};
|
|
63
|
-
var pairs = str.split(
|
|
62
|
+
var pairs = str.split(';');
|
|
64
63
|
var dec = opt.decode || decode;
|
|
65
64
|
|
|
66
65
|
for (var i = 0; i < pairs.length; i++) {
|
|
67
66
|
var pair = pairs[i];
|
|
68
|
-
var
|
|
67
|
+
var index = pair.indexOf('=');
|
|
69
68
|
|
|
70
69
|
// skip things that don't look like key=value
|
|
71
|
-
if (
|
|
70
|
+
if (index < 0) {
|
|
72
71
|
continue;
|
|
73
72
|
}
|
|
74
73
|
|
|
75
|
-
var key = pair.
|
|
76
|
-
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
77
|
-
|
|
78
|
-
// quoted values
|
|
79
|
-
if ('"' == val[0]) {
|
|
80
|
-
val = val.slice(1, -1);
|
|
81
|
-
}
|
|
74
|
+
var key = pair.substring(0, index).trim();
|
|
82
75
|
|
|
83
76
|
// only assign once
|
|
84
77
|
if (undefined == obj[key]) {
|
|
78
|
+
var val = pair.substring(index + 1, pair.length).trim();
|
|
79
|
+
|
|
80
|
+
// quoted values
|
|
81
|
+
if (val[0] === '"') {
|
|
82
|
+
val = val.slice(1, -1);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
85
|
obj[key] = tryDecode(val, dec);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -225,9 +225,11 @@ function isNonEmptyString(str) {
|
|
|
225
225
|
|
|
226
226
|
function parseString(setCookieValue, options) {
|
|
227
227
|
var parts = setCookieValue.split(";").filter(isNonEmptyString);
|
|
228
|
-
|
|
229
|
-
var
|
|
230
|
-
var
|
|
228
|
+
|
|
229
|
+
var nameValuePairStr = parts.shift();
|
|
230
|
+
var parsed = parseNameValuePair(nameValuePairStr);
|
|
231
|
+
var name = parsed.name;
|
|
232
|
+
var value = parsed.value;
|
|
231
233
|
|
|
232
234
|
options = options
|
|
233
235
|
? Object.assign({}, defaultParseOptions, options)
|
|
@@ -245,7 +247,7 @@ function parseString(setCookieValue, options) {
|
|
|
245
247
|
}
|
|
246
248
|
|
|
247
249
|
var cookie = {
|
|
248
|
-
name: name,
|
|
250
|
+
name: name,
|
|
249
251
|
value: value,
|
|
250
252
|
};
|
|
251
253
|
|
|
@@ -271,6 +273,22 @@ function parseString(setCookieValue, options) {
|
|
|
271
273
|
return cookie;
|
|
272
274
|
}
|
|
273
275
|
|
|
276
|
+
function parseNameValuePair(nameValuePairStr) {
|
|
277
|
+
// Parses name-value-pair according to rfc6265bis draft
|
|
278
|
+
|
|
279
|
+
var name = "";
|
|
280
|
+
var value = "";
|
|
281
|
+
var nameValueArr = nameValuePairStr.split("=");
|
|
282
|
+
if (nameValueArr.length > 1) {
|
|
283
|
+
name = nameValueArr.shift();
|
|
284
|
+
value = nameValueArr.join("="); // everything after the first =, joined by a "=" if there was more than one part
|
|
285
|
+
} else {
|
|
286
|
+
value = nameValuePairStr;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
return { name: name, value: value };
|
|
290
|
+
}
|
|
291
|
+
|
|
274
292
|
function parse(input, options) {
|
|
275
293
|
options = options
|
|
276
294
|
? Object.assign({}, defaultParseOptions, options)
|