@mjhls/mjh-framework 1.0.939-disable-episode-number-v3 → 1.0.939-iamge-width-v2
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 +168 -168
- package/dist/cjs/AlgoliaSearch.js +5 -11
- package/dist/cjs/Auth.js +17 -20
- package/dist/cjs/AuthWrapper.js +13 -19
- package/dist/cjs/CMEDeck.js +1 -5
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +46 -13
- package/dist/cjs/Dfp-9be904d5.js +1 -1
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/HamMagazine.js +10 -10
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/IssueLanding.js +29 -29
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +10 -10
- package/dist/cjs/MasterDeckPaginated.js +8 -8
- package/dist/cjs/{MediaSeriesCard-0c0fa2c6.js → MediaSeriesCard-cc5aa886.js} +43 -65
- package/dist/cjs/MediaSeriesLanding.js +6 -6
- package/dist/cjs/MediaSeriesLandingPaginated.js +6 -6
- package/dist/cjs/NavDvm.js +1 -1
- package/dist/cjs/NavMagazine.js +11 -11
- package/dist/cjs/NavNative.js +10 -10
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +1 -1
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-de93a303.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/View.js +21 -34
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-dab97fe1.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +6 -12
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +18 -20
- package/dist/esm/AuthWrapper.js +14 -20
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +2 -6
- package/dist/esm/Column1.js +2 -1
- package/dist/esm/Column2.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/ContentCardPaginated.js +1 -1
- package/dist/esm/DeckContent.js +47 -14
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +1 -1
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +1 -1
- package/dist/esm/GridContentPaginated.js +1 -1
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +11 -10
- package/dist/esm/Header.js +2 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +30 -30
- package/dist/esm/KMTracker.js +16 -16
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +9 -9
- package/dist/esm/{MediaSeriesCard-4c6c664c.js → MediaSeriesCard-2dc3c439.js} +43 -65
- package/dist/esm/MediaSeriesLanding.js +7 -7
- package/dist/esm/MediaSeriesLandingPaginated.js +7 -7
- package/dist/esm/NavDvm.js +2 -1
- package/dist/esm/NavMagazine.js +12 -11
- package/dist/esm/NavNative.js +11 -10
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/PartnerDetailListing.js +1 -1
- package/dist/esm/PartnerDetailListingPaginated.js +1 -1
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PubSection.js +1 -1
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-98ad6d97.js} +4 -4
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +3 -3
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/TemplateNormal.js +1 -1
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +22 -35
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-04d979c9.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +115 -115
package/dist/esm/ADWelcome.js
CHANGED
package/dist/esm/AdSlot.js
CHANGED
|
@@ -822,7 +822,7 @@ function parseAlgoliaHit(_ref2) {
|
|
|
822
822
|
});
|
|
823
823
|
}
|
|
824
824
|
|
|
825
|
-
var version$1 = '6.12.
|
|
825
|
+
var version$1 = '6.12.0';
|
|
826
826
|
|
|
827
827
|
var withKeysPropType = function withKeysPropType(keys) {
|
|
828
828
|
return function (props, propName, componentName) {
|
|
@@ -4772,7 +4772,7 @@ var requestBuilder = {
|
|
|
4772
4772
|
|
|
4773
4773
|
var requestBuilder_1 = requestBuilder;
|
|
4774
4774
|
|
|
4775
|
-
var version = '3.5.
|
|
4775
|
+
var version = '3.5.4';
|
|
4776
4776
|
|
|
4777
4777
|
/**
|
|
4778
4778
|
* Event triggered when a parameter is set or updated
|
|
@@ -7346,21 +7346,15 @@ function hydrateMetadata(resultsState) {
|
|
|
7346
7346
|
|
|
7347
7347
|
return resultsState.metadata.map(function (datum) {
|
|
7348
7348
|
return _objectSpread({
|
|
7349
|
-
value: function value() {
|
|
7350
|
-
return {};
|
|
7351
|
-
}
|
|
7349
|
+
value: function value() {}
|
|
7352
7350
|
}, datum, {
|
|
7353
7351
|
items: datum.items && datum.items.map(function (item) {
|
|
7354
7352
|
return _objectSpread({
|
|
7355
|
-
value: function value() {
|
|
7356
|
-
return {};
|
|
7357
|
-
}
|
|
7353
|
+
value: function value() {}
|
|
7358
7354
|
}, item, {
|
|
7359
7355
|
items: item.items && item.items.map(function (nestedItem) {
|
|
7360
7356
|
return _objectSpread({
|
|
7361
|
-
value: function value() {
|
|
7362
|
-
return {};
|
|
7363
|
-
}
|
|
7357
|
+
value: function value() {}
|
|
7364
7358
|
}, nestedItem);
|
|
7365
7359
|
})
|
|
7366
7360
|
});
|
|
@@ -14454,4 +14448,4 @@ AlgoliaSearch.propTypes = {
|
|
|
14454
14448
|
refinementAttributes: PropTypes.array
|
|
14455
14449
|
};
|
|
14456
14450
|
|
|
14457
|
-
export
|
|
14451
|
+
export default AlgoliaSearch;
|
package/dist/esm/Auth.js
CHANGED
|
@@ -1479,7 +1479,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
1479
1479
|
|
|
1480
1480
|
var objectKeys = keysShim;
|
|
1481
1481
|
|
|
1482
|
-
var hasSymbols$
|
|
1482
|
+
var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
1483
1483
|
|
|
1484
1484
|
var toStr$3 = Object.prototype.toString;
|
|
1485
1485
|
var concat = Array.prototype.concat;
|
|
@@ -1523,7 +1523,7 @@ var defineProperty = function (object, name, value, predicate) {
|
|
|
1523
1523
|
var defineProperties = function (object, map) {
|
|
1524
1524
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
1525
1525
|
var props = objectKeys(map);
|
|
1526
|
-
if (hasSymbols$
|
|
1526
|
+
if (hasSymbols$4) {
|
|
1527
1527
|
props = concat.call(props, Object.getOwnPropertySymbols(map));
|
|
1528
1528
|
}
|
|
1529
1529
|
for (var i = 0; i < props.length; i += 1) {
|
|
@@ -1589,7 +1589,7 @@ var implementation$2 = function bind(that) {
|
|
|
1589
1589
|
var functionBind = Function.prototype.bind || implementation$2;
|
|
1590
1590
|
|
|
1591
1591
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
1592
|
-
var shams
|
|
1592
|
+
var shams = function hasSymbols() {
|
|
1593
1593
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
1594
1594
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
1595
1595
|
|
|
@@ -1632,13 +1632,13 @@ var shams$1 = function hasSymbols() {
|
|
|
1632
1632
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
1633
1633
|
|
|
1634
1634
|
|
|
1635
|
-
var hasSymbols$
|
|
1635
|
+
var hasSymbols$3 = function hasNativeSymbols() {
|
|
1636
1636
|
if (typeof origSymbol !== 'function') { return false; }
|
|
1637
1637
|
if (typeof Symbol !== 'function') { return false; }
|
|
1638
1638
|
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
1639
1639
|
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
1640
1640
|
|
|
1641
|
-
return shams
|
|
1641
|
+
return shams();
|
|
1642
1642
|
};
|
|
1643
1643
|
|
|
1644
1644
|
var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
@@ -1685,7 +1685,7 @@ var ThrowTypeError = $gOPD$2
|
|
|
1685
1685
|
}())
|
|
1686
1686
|
: throwTypeError;
|
|
1687
1687
|
|
|
1688
|
-
var hasSymbols$
|
|
1688
|
+
var hasSymbols$2 = hasSymbols$3();
|
|
1689
1689
|
|
|
1690
1690
|
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
1691
1691
|
|
|
@@ -1697,7 +1697,7 @@ var INTRINSICS = {
|
|
|
1697
1697
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
1698
1698
|
'%Array%': Array,
|
|
1699
1699
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
1700
|
-
'%ArrayIteratorPrototype%': hasSymbols$
|
|
1700
|
+
'%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
1701
1701
|
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
1702
1702
|
'%AsyncFunction%': needsEval,
|
|
1703
1703
|
'%AsyncGenerator%': needsEval,
|
|
@@ -1725,10 +1725,10 @@ var INTRINSICS = {
|
|
|
1725
1725
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
1726
1726
|
'%isFinite%': isFinite,
|
|
1727
1727
|
'%isNaN%': isNaN,
|
|
1728
|
-
'%IteratorPrototype%': hasSymbols$
|
|
1728
|
+
'%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
1729
1729
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
1730
1730
|
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
1731
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$
|
|
1731
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
1732
1732
|
'%Math%': Math,
|
|
1733
1733
|
'%Number%': Number,
|
|
1734
1734
|
'%Object%': Object,
|
|
@@ -1741,11 +1741,11 @@ var INTRINSICS = {
|
|
|
1741
1741
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
1742
1742
|
'%RegExp%': RegExp,
|
|
1743
1743
|
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
1744
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$
|
|
1744
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
1745
1745
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
1746
1746
|
'%String%': String,
|
|
1747
|
-
'%StringIteratorPrototype%': hasSymbols$
|
|
1748
|
-
'%Symbol%': hasSymbols$
|
|
1747
|
+
'%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
1748
|
+
'%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
|
|
1749
1749
|
'%SyntaxError%': $SyntaxError$1,
|
|
1750
1750
|
'%ThrowTypeError%': ThrowTypeError,
|
|
1751
1751
|
'%TypedArray%': TypedArray,
|
|
@@ -2214,11 +2214,8 @@ var IsPropertyKey = function IsPropertyKey(argument) {
|
|
|
2214
2214
|
return typeof argument === 'string' || typeof argument === 'symbol';
|
|
2215
2215
|
};
|
|
2216
2216
|
|
|
2217
|
-
var
|
|
2218
|
-
|
|
2219
|
-
};
|
|
2220
|
-
|
|
2221
|
-
var hasToStringTag$1 = shams();
|
|
2217
|
+
var hasSymbols$1 = shams();
|
|
2218
|
+
var hasToStringTag$1 = hasSymbols$1 && !!Symbol.toStringTag;
|
|
2222
2219
|
var has;
|
|
2223
2220
|
var $exec;
|
|
2224
2221
|
var isRegexMarker;
|
|
@@ -2344,7 +2341,7 @@ var tryFunctionObject = function tryFunctionToStr(value) {
|
|
|
2344
2341
|
var toStr = Object.prototype.toString;
|
|
2345
2342
|
var fnClass = '[object Function]';
|
|
2346
2343
|
var genClass = '[object GeneratorFunction]';
|
|
2347
|
-
var hasToStringTag = typeof Symbol === 'function' &&
|
|
2344
|
+
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
|
|
2348
2345
|
/* globals document: false */
|
|
2349
2346
|
var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
|
|
2350
2347
|
|
|
@@ -2660,7 +2657,7 @@ var $slice = callBound('Array.prototype.slice');
|
|
|
2660
2657
|
var $concat = callBound('Array.prototype.concat');
|
|
2661
2658
|
var $forEach = callBound('Array.prototype.forEach');
|
|
2662
2659
|
|
|
2663
|
-
var hasSymbols = hasSymbols$
|
|
2660
|
+
var hasSymbols = hasSymbols$3();
|
|
2664
2661
|
|
|
2665
2662
|
var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
|
|
2666
2663
|
var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
|
|
@@ -3629,4 +3626,5 @@ var auth = {
|
|
|
3629
3626
|
ProcessData: ProcessData_1
|
|
3630
3627
|
};
|
|
3631
3628
|
|
|
3632
|
-
export
|
|
3629
|
+
export default auth;
|
|
3630
|
+
export { AuthCookies_1 as AuthCookies, AuthHooks_1 as AuthHooks, Iron_1 as Iron, LoginForm_1 as LoginForm, PassportLocal_1 as PassportLocal, ProcessData_1 as ProcessData, ProfileForm_1 as ProfileForm, SignupForm_1 as SignupForm, User_1 as User };
|
package/dist/esm/AuthWrapper.js
CHANGED
|
@@ -109,9 +109,9 @@ var runtime = (function (exports) {
|
|
|
109
109
|
// This is a polyfill for %IteratorPrototype% for environments that
|
|
110
110
|
// don't natively support it.
|
|
111
111
|
var IteratorPrototype = {};
|
|
112
|
-
|
|
112
|
+
IteratorPrototype[iteratorSymbol] = function () {
|
|
113
113
|
return this;
|
|
114
|
-
}
|
|
114
|
+
};
|
|
115
115
|
|
|
116
116
|
var getProto = Object.getPrototypeOf;
|
|
117
117
|
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
@@ -125,9 +125,8 @@ var runtime = (function (exports) {
|
|
|
125
125
|
|
|
126
126
|
var Gp = GeneratorFunctionPrototype.prototype =
|
|
127
127
|
Generator.prototype = Object.create(IteratorPrototype);
|
|
128
|
-
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
129
|
-
|
|
130
|
-
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
128
|
+
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
|
|
129
|
+
GeneratorFunctionPrototype.constructor = GeneratorFunction;
|
|
131
130
|
GeneratorFunction.displayName = define(
|
|
132
131
|
GeneratorFunctionPrototype,
|
|
133
132
|
toStringTagSymbol,
|
|
@@ -241,9 +240,9 @@ var runtime = (function (exports) {
|
|
|
241
240
|
}
|
|
242
241
|
|
|
243
242
|
defineIteratorMethods(AsyncIterator.prototype);
|
|
244
|
-
|
|
243
|
+
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
|
245
244
|
return this;
|
|
246
|
-
}
|
|
245
|
+
};
|
|
247
246
|
exports.AsyncIterator = AsyncIterator;
|
|
248
247
|
|
|
249
248
|
// Note that simple async functions are implemented on top of
|
|
@@ -436,13 +435,13 @@ var runtime = (function (exports) {
|
|
|
436
435
|
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
437
436
|
// object to not be returned from this call. This ensures that doesn't happen.
|
|
438
437
|
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
439
|
-
|
|
438
|
+
Gp[iteratorSymbol] = function() {
|
|
440
439
|
return this;
|
|
441
|
-
}
|
|
440
|
+
};
|
|
442
441
|
|
|
443
|
-
|
|
442
|
+
Gp.toString = function() {
|
|
444
443
|
return "[object Generator]";
|
|
445
|
-
}
|
|
444
|
+
};
|
|
446
445
|
|
|
447
446
|
function pushTryEntry(locs) {
|
|
448
447
|
var entry = { tryLoc: locs[0] };
|
|
@@ -761,19 +760,14 @@ try {
|
|
|
761
760
|
} catch (accidentalStrictMode) {
|
|
762
761
|
// This module should not be running in strict mode, so the above
|
|
763
762
|
// assignment should always work unless something is misconfigured. Just
|
|
764
|
-
// in case runtime.js accidentally runs in strict mode,
|
|
765
|
-
// we can explicitly access globalThis. In older engines we can escape
|
|
763
|
+
// in case runtime.js accidentally runs in strict mode, we can escape
|
|
766
764
|
// strict mode using a global Function call. This could conceivably fail
|
|
767
765
|
// if a Content Security Policy forbids using Function, but in that case
|
|
768
766
|
// the proper solution is to fix the accidental strict mode problem. If
|
|
769
767
|
// you've misconfigured your bundler to force strict mode and applied a
|
|
770
768
|
// CSP to forbid Function, and you're not willing to fix either of those
|
|
771
769
|
// problems, please detail your unique predicament in a GitHub issue.
|
|
772
|
-
|
|
773
|
-
globalThis.regeneratorRuntime = runtime;
|
|
774
|
-
} else {
|
|
775
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
776
|
-
}
|
|
770
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
777
771
|
}
|
|
778
772
|
});
|
|
779
773
|
|
|
@@ -1767,7 +1761,7 @@ client$1.Provider;
|
|
|
1767
1761
|
|
|
1768
1762
|
var client = client$1.default;
|
|
1769
1763
|
|
|
1770
|
-
var css = ".AuthWrapper-module_loginBox__3l-BE {\n margin-bottom: 2rem;\n width: 350px;\n max-width: 90vw;\n margin-left: auto;\n margin-right: auto;\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\n background: #fff;\n z-index: 1;\n}\n.AuthWrapper-module_loginBox_title__12rGD {\n margin-bottom: 2rem;\n text-align: center;\n}\n.AuthWrapper-module_bar__1dafn {\n background: #eee;\n margin-left: unset;\n margin-right: unset;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\n float: left;\n border-right: 1rem solid #fff;\n background: rgb(245, 245, 245);\n height: 10rem;\n width: 25%;\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 2rem;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\n width: 97%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\n width: 96%;\n height: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\n width: 72%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\n width: 88%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n\n.AuthWrapper-module_iframe__2wDJW {\n margin-top: -3rem;\n border: none;\n width: 100%;\n height: 1900px;\n}";
|
|
1764
|
+
var css = ".AuthWrapper-module_loginBox__3l-BE {\r\n margin-bottom: 2rem;\r\n width: 350px;\r\n max-width: 90vw;\r\n margin-left: auto;\r\n margin-right: auto;\r\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\r\n background: #fff;\r\n z-index: 1;\r\n}\r\n.AuthWrapper-module_loginBox_title__12rGD {\r\n margin-bottom: 2rem;\r\n text-align: center;\r\n}\r\n.AuthWrapper-module_bar__1dafn {\r\n background: #eee;\r\n margin-left: unset;\r\n margin-right: unset;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\r\n float: left;\r\n border-right: 1rem solid #fff;\r\n background: rgb(245, 245, 245);\r\n height: 10rem;\r\n width: 25%;\r\n margin-left: auto;\r\n margin-right: auto;\r\n margin-bottom: 2rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\r\n width: 97%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\r\n width: 96%;\r\n height: 1.5rem;\r\n margin-bottom: 1.5rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\r\n width: 72%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\r\n width: 88%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n\r\n.AuthWrapper-module_iframe__2wDJW {\r\n margin-top: -3rem;\r\n border: none;\r\n width: 100%;\r\n height: 1900px;\r\n}";
|
|
1771
1765
|
var styles = { "loginBox": "AuthWrapper-module_loginBox__3l-BE", "loginBox_title": "AuthWrapper-module_loginBox_title__12rGD", "bar": "AuthWrapper-module_bar__1dafn", "iframe": "AuthWrapper-module_iframe__2wDJW" };
|
|
1772
1766
|
styleInject(css);
|
|
1773
1767
|
|
|
@@ -1893,4 +1887,4 @@ var AuthWrapper = function AuthWrapper(_ref) {
|
|
|
1893
1887
|
}
|
|
1894
1888
|
};
|
|
1895
1889
|
|
|
1896
|
-
export
|
|
1890
|
+
export default AuthWrapper;
|
package/dist/esm/Beam.js
CHANGED
package/dist/esm/Breadcrumbs.js
CHANGED
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -309,11 +309,7 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
309
309
|
return React__default.createElement(
|
|
310
310
|
'div',
|
|
311
311
|
{ className: 'd-flex justify-content-between' },
|
|
312
|
-
currentPage
|
|
313
|
-
'a',
|
|
314
|
-
{ href: '?page=' + (currentPage - 1) },
|
|
315
|
-
'<< Previous'
|
|
316
|
-
),
|
|
312
|
+
currentPage > 1 ,
|
|
317
313
|
React__default.createElement(
|
|
318
314
|
'a',
|
|
319
315
|
{ href: '?page=' + (currentPage + 1) },
|
|
@@ -439,4 +435,4 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
439
435
|
}
|
|
440
436
|
};
|
|
441
437
|
|
|
442
|
-
export
|
|
438
|
+
export default CMEDeck;
|
package/dist/esm/Column1.js
CHANGED
package/dist/esm/Column2.js
CHANGED
package/dist/esm/Column3.js
CHANGED
|
@@ -7,21 +7,21 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
7
7
|
import './core.get-iterator-method-ea258bb1.js';
|
|
8
8
|
import './index-3f5c03b2.js';
|
|
9
9
|
|
|
10
|
-
/*
|
|
11
|
-
Example usage - targetedonc.com/latest-conference
|
|
12
|
-
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
13
|
-
...,
|
|
14
|
-
title,
|
|
15
|
-
summary,
|
|
16
|
-
thumbnail,
|
|
17
|
-
url,
|
|
18
|
-
published,
|
|
19
|
-
documentGroup->,
|
|
20
|
-
contentCategory->,
|
|
21
|
-
'pageNumber': ${currentPage}
|
|
22
|
-
}`
|
|
23
|
-
|
|
24
|
-
const posts = await client.fetch(query, params)
|
|
10
|
+
/*
|
|
11
|
+
Example usage - targetedonc.com/latest-conference
|
|
12
|
+
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
13
|
+
...,
|
|
14
|
+
title,
|
|
15
|
+
summary,
|
|
16
|
+
thumbnail,
|
|
17
|
+
url,
|
|
18
|
+
published,
|
|
19
|
+
documentGroup->,
|
|
20
|
+
contentCategory->,
|
|
21
|
+
'pageNumber': ${currentPage}
|
|
22
|
+
}`
|
|
23
|
+
|
|
24
|
+
const posts = await client.fetch(query, params)
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
@@ -84,4 +84,4 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
84
84
|
);
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
-
export
|
|
87
|
+
export default ConferenceArticleCard;
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -115,9 +115,26 @@ var DeckContent = function (_React$Component) {
|
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
117
|
});
|
|
118
|
-
}, _this.renderCardImage = function (row, page) {
|
|
118
|
+
}, _this.renderCardImage = function (row, page, lgVar) {
|
|
119
|
+
var getImageWidth = function getImageWidth(lgVar) {
|
|
120
|
+
if (main_43 === true) {
|
|
121
|
+
return Number(_this.props.imageWidth) / 2;
|
|
122
|
+
} else if (lgVar === 12) {
|
|
123
|
+
return Number(_this.props.imageWidth);
|
|
124
|
+
} else if (lgVar === 6) {
|
|
125
|
+
return Number(_this.props.imageWidth) / 2;
|
|
126
|
+
} else {
|
|
127
|
+
return Number(_this.props.imageWidth) / (12 / lgVar);
|
|
128
|
+
}
|
|
129
|
+
};
|
|
119
130
|
if (row.thumbnail && row.thumbnail.asset) {
|
|
120
|
-
var url = urlFor({
|
|
131
|
+
var url = urlFor({
|
|
132
|
+
client: _this.client,
|
|
133
|
+
source: row.thumbnail,
|
|
134
|
+
imageHeight: _this.props.imageHeight || null,
|
|
135
|
+
imageWidth: getImageWidth(lgVar) || null,
|
|
136
|
+
imageFit: _this.props.imageFit || null
|
|
137
|
+
});
|
|
121
138
|
return url;
|
|
122
139
|
} else {
|
|
123
140
|
return _this.defaultImage;
|
|
@@ -172,14 +189,14 @@ var DeckContent = function (_React$Component) {
|
|
|
172
189
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
173
190
|
|
|
174
191
|
// please leave this for later debug purpose : Yong Jun.
|
|
175
|
-
/* console.log('page change reported', {
|
|
176
|
-
currentPage: currentPage,
|
|
177
|
-
pageNumber: pageNumber,
|
|
178
|
-
pathname: pathname,
|
|
179
|
-
path: path,
|
|
180
|
-
newPath: newPath,
|
|
181
|
-
firstPage: pageNumber === 1,
|
|
182
|
-
queryString: queryString
|
|
192
|
+
/* console.log('page change reported', {
|
|
193
|
+
currentPage: currentPage,
|
|
194
|
+
pageNumber: pageNumber,
|
|
195
|
+
pathname: pathname,
|
|
196
|
+
path: path,
|
|
197
|
+
newPath: newPath,
|
|
198
|
+
firstPage: pageNumber === 1,
|
|
199
|
+
queryString: queryString
|
|
183
200
|
}) */
|
|
184
201
|
|
|
185
202
|
if (pageview) {
|
|
@@ -272,7 +289,19 @@ var DeckContent = function (_React$Component) {
|
|
|
272
289
|
} else {
|
|
273
290
|
articles = _this.state.data;
|
|
274
291
|
}
|
|
275
|
-
|
|
292
|
+
var getImageHeight = function getImageHeight(lgVar, aspectRatio, actualWidth, actualHeight, mobileView) {
|
|
293
|
+
if (mobileView) {
|
|
294
|
+
return actualWidth > actualHeight ? Number(_this.props.imageWidth) / (2 * aspectRatio) + 'px' : Number(_this.props.imageWidth) * (2 * aspectRatio) + 'px';
|
|
295
|
+
} else {
|
|
296
|
+
if (lgVar === 12) {
|
|
297
|
+
return actualWidth > actualHeight ? Number(_this.props.imageWidth) / aspectRatio + 'px' : Number(_this.props.imageWidth) * aspectRatio + 'px';
|
|
298
|
+
} else if (lgVar === 6) {
|
|
299
|
+
return actualWidth > actualHeight ? Number(_this.props.imageWidth) / (2 * aspectRatio) + 'px' : Number(_this.props.imageWidth) * (2 * aspectRatio) + 'px';
|
|
300
|
+
} else {
|
|
301
|
+
return actualWidth > actualHeight ? Number(_this.props.imageWidth) / (12 / lgVar * aspectRatio) + 'px' : Number(_this.props.imageWidth) * (12 / lgVar * aspectRatio) + 'px';
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
};
|
|
276
305
|
return React__default.createElement(
|
|
277
306
|
Row,
|
|
278
307
|
null,
|
|
@@ -306,13 +335,17 @@ var DeckContent = function (_React$Component) {
|
|
|
306
335
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
307
336
|
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
308
337
|
'a',
|
|
309
|
-
{
|
|
338
|
+
{
|
|
339
|
+
href: _this.mapping[contentCategoryName] + '/' + row.url.current,
|
|
340
|
+
style: {
|
|
341
|
+
minHeight: getImageHeight(lgVar, row.thumbnail.asset.metadata.dimensions.aspectRatio, row.thumbnail.asset.metadata.dimensions.width, row.thumbnail.asset.metadata.dimensions.height, main_43)
|
|
342
|
+
} },
|
|
310
343
|
React__default.createElement(
|
|
311
344
|
LazyLoad,
|
|
312
345
|
{ height: _this.props.imageHeight },
|
|
313
346
|
React__default.createElement(Card.Img, {
|
|
314
347
|
variant: 'top',
|
|
315
|
-
src: _this.renderCardImage(row, page),
|
|
348
|
+
src: _this.renderCardImage(row, page, lgVar),
|
|
316
349
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
317
350
|
})
|
|
318
351
|
)
|
|
@@ -482,4 +515,4 @@ var DeckContent = function (_React$Component) {
|
|
|
482
515
|
|
|
483
516
|
var ContentCard = withRouter(DeckContent);
|
|
484
517
|
|
|
485
|
-
export
|
|
518
|
+
export default ContentCard;
|
package/dist/esm/DeckQueue.js
CHANGED
package/dist/esm/Dfp-102f0beb.js
CHANGED
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -243,23 +243,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
243
243
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
244
244
|
setAccessToken(cventAccessToken);
|
|
245
245
|
} else {
|
|
246
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
-
fetch(url, {
|
|
250
|
-
headers: {
|
|
251
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
-
Authorization: `Basic ${encodedData}`
|
|
253
|
-
},
|
|
254
|
-
method: 'POST',
|
|
255
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
-
})
|
|
257
|
-
.then((response) => response.json())
|
|
258
|
-
.then((json) => {
|
|
259
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
-
setAccessToken(json.access_token)
|
|
262
|
-
})
|
|
246
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
+
fetch(url, {
|
|
250
|
+
headers: {
|
|
251
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
+
Authorization: `Basic ${encodedData}`
|
|
253
|
+
},
|
|
254
|
+
method: 'POST',
|
|
255
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
+
})
|
|
257
|
+
.then((response) => response.json())
|
|
258
|
+
.then((json) => {
|
|
259
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
+
setAccessToken(json.access_token)
|
|
262
|
+
})
|
|
263
263
|
.catch((e) => console.log(e))*/
|
|
264
264
|
// hello
|
|
265
265
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -837,4 +837,4 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
837
837
|
}
|
|
838
838
|
};
|
|
839
839
|
|
|
840
|
-
export
|
|
840
|
+
export default EventsDeck;
|
package/dist/esm/Feature.js
CHANGED
package/dist/esm/ForbesHero.js
CHANGED
package/dist/esm/GridContent.js
CHANGED