@mjhls/mjh-framework 1.0.603 → 1.0.604-hamMagazine-v5
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 +172 -172
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +3 -3
- package/dist/cjs/AccordionPanel.js +1 -1
- package/dist/cjs/ArticleQueue.js +3 -3
- package/dist/cjs/Auth.js +12 -12
- package/dist/cjs/{BlockContent-77f81ffc.js → BlockContent-c2168db0.js} +1 -1
- package/dist/cjs/ConferenceArticleCard.js +16 -16
- package/dist/cjs/DeckContent.js +9 -9
- package/dist/cjs/DeckQueue.js +1 -1
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +3 -3
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/GroupDeck.js +5 -5
- package/dist/cjs/HamMagazine.js +215 -32
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +31 -31
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/MasterDeck.js +10 -10
- package/dist/cjs/NavMagazine.js +13 -14
- package/dist/cjs/NavNative.js +11 -12
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +6 -6
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/PublicationLanding.js +33 -33
- package/dist/cjs/QueueDeckExpanded.js +2 -2
- package/dist/cjs/RecentNews.js +1 -1
- package/dist/cjs/RelatedContent.js +29 -29
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/SocialShare.js +5 -3
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +2 -3
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +2 -2
- package/dist/cjs/View.js +39 -33
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getRelatedArticle.js +5 -354
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{getTargeting-5db63100.js → getTargeting-5a0b8ee4.js} +11 -11
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-be0c82be.js → index-39beccb3.js} +2 -1
- package/dist/cjs/{index-f745a50a.js → index-af999dce.js} +448 -436
- package/dist/cjs/{index.esm-fbd1f7e9.js → index.esm-876ca9ff.js} +0 -5
- package/dist/cjs/{SocialNavFooter-9a07520f.js → index.esm-d1259b34.js} +8 -0
- package/dist/cjs/index.js +11 -11
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/urlFor.js +2 -2
- package/dist/esm/ADFloatingFooter.js +3 -3
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/ArticleQueue.js +3 -3
- package/dist/esm/Auth.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c409aca5.js} +1 -1
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/DeckContent.js +9 -9
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/EventsDeck.js +17 -17
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +2 -2
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +5 -5
- package/dist/esm/HamMagazine.js +214 -31
- package/dist/esm/Hero.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 +31 -31
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/MasterDeck.js +10 -10
- package/dist/esm/NavMagazine.js +12 -13
- package/dist/esm/NavNative.js +10 -11
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +4 -4
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/PublicationLanding.js +33 -33
- package/dist/esm/QueueDeckExpanded.js +2 -2
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/SocialShare.js +5 -3
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +2 -3
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/View.js +15 -9
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/getRelatedArticle.js +5 -354
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{getTargeting-36bcd238.js → getTargeting-962c9cf6.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-599efdf0.js → index-1c791baf.js} +448 -436
- package/dist/esm/{index-73819142.js → index-3849e3fe.js} +2 -1
- package/dist/esm/{SocialNavFooter-4fb16720.js → index.esm-73e847d2.js} +8 -1
- package/dist/esm/{index.esm-4b1d94b7.js → index.esm-85cb09e6.js} +1 -5
- package/dist/esm/index.js +10 -10
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/urlFor.js +2 -2
- package/package.json +107 -107
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/cjs/index.esm-0e5c6a9e.js +0 -11
- package/dist/esm/index-db3bb315.js +0 -207
- package/dist/esm/index.esm-16536e81.js +0 -9
|
@@ -7,10 +7,6 @@ var IoIosArrowForward = function (props) {
|
|
|
7
7
|
return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z"}}]})(props);
|
|
8
8
|
};
|
|
9
9
|
IoIosArrowForward.displayName = "IoIosArrowForward";
|
|
10
|
-
var IoIosHome = function (props) {
|
|
11
|
-
return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M258.5 104.1c-1.5-1.2-3.5-1.2-5 0l-156 124.8c-.9.8-1.5 1.9-1.5 3.1v230c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V322c0-1.1.9-2 2-2h92c1.1 0 2 .9 2 2v140c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V232c0-1.2-.6-2.4-1.5-3.1l-156-124.8z"}},{"tag":"path","attr":{"d":"M458.7 204.2l-189-151.4C265.9 49.7 261 48 256 48s-9.9 1.7-13.7 4.8L160 119.7V77.5c0-1.1-.9-2-2-2H98c-1.1 0-2 .9-2 2v92.2l-42.7 35.1c-3.1 2.5-5.1 6.2-5.3 10.2-.2 4 1.3 7.9 4.1 10.7 2.6 2.6 6.1 4.1 9.9 4.1 3.2 0 6.3-1.1 8.8-3.1l183.9-148c.5-.4.9-.4 1.3-.4s.8.1 1.3.4l183.9 147.4c2.5 2 5.6 3.1 8.8 3.1 3.7 0 7.2-1.4 9.9-4.1 2.9-2.8 4.4-6.7 4.2-10.7-.3-4-2.2-7.7-5.4-10.2z"}}]})(props);
|
|
12
|
-
};
|
|
13
|
-
IoIosHome.displayName = "IoIosHome";
|
|
14
10
|
var IoIosOpen = function (props) {
|
|
15
11
|
return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M227.8 300.2c-5.1-5.1-5.1-13.3 0-18.4l133.7-133.7c-5.3-2.6-11.2-4.1-17.5-4.1H88c-22 0-40 18-40 40v224c0 22 18 40 40 40h256c22 0 40-18 40-40V184c0-6.3-1.5-12.2-4.1-17.5L246.2 300.2c-5.1 5.1-13.3 5.1-18.4 0z"}},{"tag":"path","attr":{"d":"M459.5 68.5C457 66 453 64 449 64h-97c-7.2-.1-13.1 5.7-13.1 12.9-.1 7.2 5.7 13.1 12.9 13.1l67.3.5-57.6 57.6c8 3.9 14.5 10.4 18.4 18.4l57.6-57.6.5 67.3c.1 7.2 5.9 13 13.1 12.9 7.2-.1 13-5.9 12.9-13.1V78c0-3.5-2-7-4.5-9.5z"}}]})(props);
|
|
16
12
|
};
|
|
@@ -25,7 +21,6 @@ var IoMdLogIn = function (props) {
|
|
|
25
21
|
IoMdLogIn.displayName = "IoMdLogIn";
|
|
26
22
|
|
|
27
23
|
exports.IoIosArrowForward = IoIosArrowForward;
|
|
28
|
-
exports.IoIosHome = IoIosHome;
|
|
29
24
|
exports.IoIosOpen = IoIosOpen;
|
|
30
25
|
exports.IoMdArrowDropdown = IoMdArrowDropdown;
|
|
31
26
|
exports.IoMdLogIn = IoMdLogIn;
|
|
@@ -5,6 +5,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var React__default = _interopDefault(React);
|
|
7
7
|
var reactSocialIcons = require('./react-social-icons-cd0d9d3b.js');
|
|
8
|
+
var iconBase = require('./iconBase-68959171.js');
|
|
8
9
|
|
|
9
10
|
var year = new Date().getFullYear();
|
|
10
11
|
|
|
@@ -79,4 +80,11 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
79
80
|
);
|
|
80
81
|
};
|
|
81
82
|
|
|
83
|
+
// THIS FILE IS AUTO GENERATED
|
|
84
|
+
var GoSearch = function (props) {
|
|
85
|
+
return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 16 16"},"child":[{"tag":"path","attr":{"fillRule":"evenodd","d":"M15.7 13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"}}]})(props);
|
|
86
|
+
};
|
|
87
|
+
GoSearch.displayName = "GoSearch";
|
|
88
|
+
|
|
89
|
+
exports.GoSearch = GoSearch;
|
|
82
90
|
exports.SocialNavFooter = SocialNavFooter;
|
package/dist/cjs/index.js
CHANGED
|
@@ -29,7 +29,7 @@ require('./debounce-32e57002.js');
|
|
|
29
29
|
require('./index.es-9110add6.js');
|
|
30
30
|
require('react-dom');
|
|
31
31
|
require('./visibility-sensor-0c45a583.js');
|
|
32
|
-
require('./index-
|
|
32
|
+
require('./index-39beccb3.js');
|
|
33
33
|
require('./index-fa0fb52c.js');
|
|
34
34
|
require('./main-88348b15.js');
|
|
35
35
|
require('./entities-310b46ee.js');
|
|
@@ -41,7 +41,7 @@ var Segment = require('./beam-d22818d3.js');
|
|
|
41
41
|
var AdSlot = require('./AdSlot.js');
|
|
42
42
|
require('./ADInfeed-df340285.js');
|
|
43
43
|
var DeckContent = require('./DeckContent.js');
|
|
44
|
-
require('./lodash-
|
|
44
|
+
require('./lodash-7fd85bcf.js');
|
|
45
45
|
require('./ADlgInfeed-2110d08c.js');
|
|
46
46
|
require('./_arrayMap-3b4a0f75.js');
|
|
47
47
|
require('./get-5dfcdc33.js');
|
|
@@ -51,7 +51,7 @@ var GridContent = require('./GridContent.js');
|
|
|
51
51
|
var DeckQueue = require('./DeckQueue.js');
|
|
52
52
|
require('react-bootstrap/Media');
|
|
53
53
|
var ThumbnailCard = require('./ThumbnailCard.js');
|
|
54
|
-
require('./BlockContent-
|
|
54
|
+
require('./BlockContent-c2168db0.js');
|
|
55
55
|
require('./react-social-icons-cd0d9d3b.js');
|
|
56
56
|
var TaxonomyCard = require('./TaxonomyCard.js');
|
|
57
57
|
var RolesDeck = require('./RolesDeck.js');
|
|
@@ -61,7 +61,7 @@ var YoutubeGroup = require('./YoutubeGroup.js');
|
|
|
61
61
|
require('react-bootstrap');
|
|
62
62
|
var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
63
63
|
require('./iconBase-68959171.js');
|
|
64
|
-
require('./index.esm-
|
|
64
|
+
require('./index.esm-876ca9ff.js');
|
|
65
65
|
var VideoSeriesListing = require('./VideoSeriesListing.js');
|
|
66
66
|
var MasterDeck = require('./MasterDeck.js');
|
|
67
67
|
require('react-bootstrap/Button');
|
|
@@ -74,7 +74,7 @@ require('./index-3294d3bc.js');
|
|
|
74
74
|
require('./js.cookie-a511c430.js');
|
|
75
75
|
var EventsDeck = require('./EventsDeck.js');
|
|
76
76
|
var CMEDeck = require('./CMEDeck.js');
|
|
77
|
-
var getSerializers = require('./index-
|
|
77
|
+
var getSerializers = require('./index-af999dce.js');
|
|
78
78
|
require('./util-f2c1b65b.js');
|
|
79
79
|
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
80
80
|
require('react-bootstrap/Pagination');
|
|
@@ -102,9 +102,8 @@ require('react-bootstrap/Navbar');
|
|
|
102
102
|
require('react-bootstrap/NavDropdown');
|
|
103
103
|
require('./index.esm-66ffa47a.js');
|
|
104
104
|
require('./NavFooter-76c913e3.js');
|
|
105
|
-
require('./
|
|
105
|
+
require('./index.esm-d1259b34.js');
|
|
106
106
|
var SocialIcons = require('./SocialIcons.js');
|
|
107
|
-
require('./index.esm-0e5c6a9e.js');
|
|
108
107
|
require('react-bootstrap/Form');
|
|
109
108
|
require('react-bootstrap/FormControl');
|
|
110
109
|
var NavMagazine = require('./NavMagazine.js');
|
|
@@ -155,14 +154,15 @@ var ConferenceArticleCard = require('./ConferenceArticleCard.js');
|
|
|
155
154
|
var KMTracker = require('./KMTracker.js');
|
|
156
155
|
var getSeriesDetail = require('./getSeriesDetail.js');
|
|
157
156
|
var SetCookie = require('./SetCookie.js');
|
|
158
|
-
require('
|
|
159
|
-
var getRelatedArticle = require('./getRelatedArticle.js');
|
|
157
|
+
require('nookies');
|
|
160
158
|
var getQuery = require('./getQuery.js');
|
|
159
|
+
var getRelatedArticle = require('./getRelatedArticle.js');
|
|
161
160
|
var Auth = require('./Auth.js');
|
|
162
161
|
require('swr');
|
|
162
|
+
require('cookie');
|
|
163
163
|
require('passport-local');
|
|
164
164
|
require('mysql');
|
|
165
|
-
var getTargeting = require('./getTargeting-
|
|
165
|
+
var getTargeting = require('./getTargeting-5a0b8ee4.js');
|
|
166
166
|
var View = require('./View.js');
|
|
167
167
|
var urlFor = require('./urlFor.js');
|
|
168
168
|
var PartnerDetailListing = require('./PartnerDetailListing.js');
|
|
@@ -245,8 +245,8 @@ exports.ConferenceArticleCard = ConferenceArticleCard;
|
|
|
245
245
|
exports.KMTracker = KMTracker;
|
|
246
246
|
exports.getSeriesDetail = getSeriesDetail;
|
|
247
247
|
exports.SetCookie = SetCookie;
|
|
248
|
-
exports.getRelatedArticle = getRelatedArticle;
|
|
249
248
|
exports.getQuery = getQuery;
|
|
249
|
+
exports.getRelatedArticle = getRelatedArticle;
|
|
250
250
|
exports.Auth = Auth.default;
|
|
251
251
|
exports.getTargeting = getTargeting.getTargeting;
|
|
252
252
|
exports.View = View;
|
|
@@ -9,7 +9,7 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
9
9
|
var undefined$1;
|
|
10
10
|
|
|
11
11
|
/** Used as the semantic version number. */
|
|
12
|
-
var VERSION = '4.17.
|
|
12
|
+
var VERSION = '4.17.20';
|
|
13
13
|
|
|
14
14
|
/** Used as the size to enable large array optimizations. */
|
|
15
15
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -3716,8 +3716,21 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
3716
3716
|
* @returns {Array} Returns the new sorted array.
|
|
3717
3717
|
*/
|
|
3718
3718
|
function baseOrderBy(collection, iteratees, orders) {
|
|
3719
|
+
if (iteratees.length) {
|
|
3720
|
+
iteratees = arrayMap(iteratees, function(iteratee) {
|
|
3721
|
+
if (isArray(iteratee)) {
|
|
3722
|
+
return function(value) {
|
|
3723
|
+
return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
return iteratee;
|
|
3727
|
+
});
|
|
3728
|
+
} else {
|
|
3729
|
+
iteratees = [identity];
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3719
3732
|
var index = -1;
|
|
3720
|
-
iteratees = arrayMap(iteratees
|
|
3733
|
+
iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
|
|
3721
3734
|
|
|
3722
3735
|
var result = baseMap(collection, function(value, key, collection) {
|
|
3723
3736
|
var criteria = arrayMap(iteratees, function(iteratee) {
|
|
@@ -3974,6 +3987,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
3974
3987
|
var key = toKey(path[index]),
|
|
3975
3988
|
newValue = value;
|
|
3976
3989
|
|
|
3990
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
3991
|
+
return object;
|
|
3992
|
+
}
|
|
3993
|
+
|
|
3977
3994
|
if (index != lastIndex) {
|
|
3978
3995
|
var objValue = nested[key];
|
|
3979
3996
|
newValue = customizer ? customizer(objValue, key, nested) : undefined$1;
|
|
@@ -4126,11 +4143,14 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
4126
4143
|
* into `array`.
|
|
4127
4144
|
*/
|
|
4128
4145
|
function baseSortedIndexBy(array, value, iteratee, retHighest) {
|
|
4129
|
-
value = iteratee(value);
|
|
4130
|
-
|
|
4131
4146
|
var low = 0,
|
|
4132
|
-
high = array == null ? 0 : array.length
|
|
4133
|
-
|
|
4147
|
+
high = array == null ? 0 : array.length;
|
|
4148
|
+
if (high === 0) {
|
|
4149
|
+
return 0;
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
value = iteratee(value);
|
|
4153
|
+
var valIsNaN = value !== value,
|
|
4134
4154
|
valIsNull = value === null,
|
|
4135
4155
|
valIsSymbol = isSymbol(value),
|
|
4136
4156
|
valIsUndefined = value === undefined$1;
|
|
@@ -5615,10 +5635,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
5615
5635
|
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
5616
5636
|
return false;
|
|
5617
5637
|
}
|
|
5618
|
-
//
|
|
5619
|
-
var
|
|
5620
|
-
|
|
5621
|
-
|
|
5638
|
+
// Check that cyclic values are equal.
|
|
5639
|
+
var arrStacked = stack.get(array);
|
|
5640
|
+
var othStacked = stack.get(other);
|
|
5641
|
+
if (arrStacked && othStacked) {
|
|
5642
|
+
return arrStacked == other && othStacked == array;
|
|
5622
5643
|
}
|
|
5623
5644
|
var index = -1,
|
|
5624
5645
|
result = true,
|
|
@@ -5780,10 +5801,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
5780
5801
|
return false;
|
|
5781
5802
|
}
|
|
5782
5803
|
}
|
|
5783
|
-
//
|
|
5784
|
-
var
|
|
5785
|
-
|
|
5786
|
-
|
|
5804
|
+
// Check that cyclic values are equal.
|
|
5805
|
+
var objStacked = stack.get(object);
|
|
5806
|
+
var othStacked = stack.get(other);
|
|
5807
|
+
if (objStacked && othStacked) {
|
|
5808
|
+
return objStacked == other && othStacked == object;
|
|
5787
5809
|
}
|
|
5788
5810
|
var result = true;
|
|
5789
5811
|
stack.set(object, other);
|
|
@@ -9164,6 +9186,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
9164
9186
|
* // The `_.property` iteratee shorthand.
|
|
9165
9187
|
* _.filter(users, 'active');
|
|
9166
9188
|
* // => objects for ['barney']
|
|
9189
|
+
*
|
|
9190
|
+
* // Combining several predicates using `_.overEvery` or `_.overSome`.
|
|
9191
|
+
* _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
|
|
9192
|
+
* // => objects for ['fred', 'barney']
|
|
9167
9193
|
*/
|
|
9168
9194
|
function filter(collection, predicate) {
|
|
9169
9195
|
var func = isArray(collection) ? arrayFilter : baseFilter;
|
|
@@ -9913,15 +9939,15 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
9913
9939
|
* var users = [
|
|
9914
9940
|
* { 'user': 'fred', 'age': 48 },
|
|
9915
9941
|
* { 'user': 'barney', 'age': 36 },
|
|
9916
|
-
* { 'user': 'fred', 'age':
|
|
9942
|
+
* { 'user': 'fred', 'age': 30 },
|
|
9917
9943
|
* { 'user': 'barney', 'age': 34 }
|
|
9918
9944
|
* ];
|
|
9919
9945
|
*
|
|
9920
9946
|
* _.sortBy(users, [function(o) { return o.user; }]);
|
|
9921
|
-
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred',
|
|
9947
|
+
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
|
|
9922
9948
|
*
|
|
9923
9949
|
* _.sortBy(users, ['user', 'age']);
|
|
9924
|
-
* // => objects for [['barney', 34], ['barney', 36], ['fred',
|
|
9950
|
+
* // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
|
|
9925
9951
|
*/
|
|
9926
9952
|
var sortBy = baseRest(function(collection, iteratees) {
|
|
9927
9953
|
if (collection == null) {
|
|
@@ -14796,11 +14822,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
14796
14822
|
|
|
14797
14823
|
// Use a sourceURL for easier debugging.
|
|
14798
14824
|
// The sourceURL gets injected into the source that's eval-ed, so be careful
|
|
14799
|
-
//
|
|
14800
|
-
//
|
|
14825
|
+
// to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in
|
|
14826
|
+
// and escape the comment, thus injecting code that gets evaled.
|
|
14801
14827
|
var sourceURL = '//# sourceURL=' +
|
|
14802
14828
|
(hasOwnProperty.call(options, 'sourceURL')
|
|
14803
|
-
? (options.sourceURL + '').replace(/
|
|
14829
|
+
? (options.sourceURL + '').replace(/\s/g, ' ')
|
|
14804
14830
|
: ('lodash.templateSources[' + (++templateCounter) + ']')
|
|
14805
14831
|
) + '\n';
|
|
14806
14832
|
|
|
@@ -14833,8 +14859,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
14833
14859
|
|
|
14834
14860
|
// If `variable` is not specified wrap a with-statement around the generated
|
|
14835
14861
|
// code to add the data object to the top of the scope chain.
|
|
14836
|
-
// Like with sourceURL, we take care to not check the option's prototype,
|
|
14837
|
-
// as this configuration is a code injection vector.
|
|
14838
14862
|
var variable = hasOwnProperty.call(options, 'variable') && options.variable;
|
|
14839
14863
|
if (!variable) {
|
|
14840
14864
|
source = 'with (obj) {\n' + source + '\n}\n';
|
|
@@ -15541,6 +15565,9 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15541
15565
|
* values against any array or object value, respectively. See `_.isEqual`
|
|
15542
15566
|
* for a list of supported value comparisons.
|
|
15543
15567
|
*
|
|
15568
|
+
* **Note:** Multiple values can be checked by combining several matchers
|
|
15569
|
+
* using `_.overSome`
|
|
15570
|
+
*
|
|
15544
15571
|
* @static
|
|
15545
15572
|
* @memberOf _
|
|
15546
15573
|
* @since 3.0.0
|
|
@@ -15556,6 +15583,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15556
15583
|
*
|
|
15557
15584
|
* _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
|
|
15558
15585
|
* // => [{ 'a': 4, 'b': 5, 'c': 6 }]
|
|
15586
|
+
*
|
|
15587
|
+
* // Checking for several possible values
|
|
15588
|
+
* _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
|
|
15589
|
+
* // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
|
|
15559
15590
|
*/
|
|
15560
15591
|
function matches(source) {
|
|
15561
15592
|
return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
|
|
@@ -15570,6 +15601,9 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15570
15601
|
* `srcValue` values against any array or object value, respectively. See
|
|
15571
15602
|
* `_.isEqual` for a list of supported value comparisons.
|
|
15572
15603
|
*
|
|
15604
|
+
* **Note:** Multiple values can be checked by combining several matchers
|
|
15605
|
+
* using `_.overSome`
|
|
15606
|
+
*
|
|
15573
15607
|
* @static
|
|
15574
15608
|
* @memberOf _
|
|
15575
15609
|
* @since 3.2.0
|
|
@@ -15586,6 +15620,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15586
15620
|
*
|
|
15587
15621
|
* _.find(objects, _.matchesProperty('a', 4));
|
|
15588
15622
|
* // => { 'a': 4, 'b': 5, 'c': 6 }
|
|
15623
|
+
*
|
|
15624
|
+
* // Checking for several possible values
|
|
15625
|
+
* _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
|
|
15626
|
+
* // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
|
|
15589
15627
|
*/
|
|
15590
15628
|
function matchesProperty(path, srcValue) {
|
|
15591
15629
|
return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
|
|
@@ -15809,6 +15847,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15809
15847
|
* Creates a function that checks if **all** of the `predicates` return
|
|
15810
15848
|
* truthy when invoked with the arguments it receives.
|
|
15811
15849
|
*
|
|
15850
|
+
* Following shorthands are possible for providing predicates.
|
|
15851
|
+
* Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
|
|
15852
|
+
* Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
|
|
15853
|
+
*
|
|
15812
15854
|
* @static
|
|
15813
15855
|
* @memberOf _
|
|
15814
15856
|
* @since 4.0.0
|
|
@@ -15835,6 +15877,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15835
15877
|
* Creates a function that checks if **any** of the `predicates` return
|
|
15836
15878
|
* truthy when invoked with the arguments it receives.
|
|
15837
15879
|
*
|
|
15880
|
+
* Following shorthands are possible for providing predicates.
|
|
15881
|
+
* Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
|
|
15882
|
+
* Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
|
|
15883
|
+
*
|
|
15838
15884
|
* @static
|
|
15839
15885
|
* @memberOf _
|
|
15840
15886
|
* @since 4.0.0
|
|
@@ -15854,6 +15900,9 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15854
15900
|
*
|
|
15855
15901
|
* func(NaN);
|
|
15856
15902
|
* // => false
|
|
15903
|
+
*
|
|
15904
|
+
* var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
|
|
15905
|
+
* var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
|
|
15857
15906
|
*/
|
|
15858
15907
|
var overSome = createOver(arraySome);
|
|
15859
15908
|
|
package/dist/cjs/urlFor.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
var index$1 = require('./index-
|
|
4
|
+
var index$1 = require('./index-39beccb3.js');
|
|
5
5
|
|
|
6
6
|
function urlFor(client, source) {
|
|
7
|
-
|
|
7
|
+
return index$1.imageUrlBuilder(client).image(source);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
module.exports = urlFor;
|
|
@@ -89,9 +89,9 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
89
89
|
}
|
|
90
90
|
// Removed else part so that the container won't be restricted and will be responsive based on the size of the ad.
|
|
91
91
|
// Need to add this CSS in site level magazine.css to make the close button visible for the expanded ad.
|
|
92
|
-
/* .w7e-platform-58 {
|
|
93
|
-
z-index: 9999999 !important;
|
|
94
|
-
}
|
|
92
|
+
/* .w7e-platform-58 {
|
|
93
|
+
z-index: 9999999 !important;
|
|
94
|
+
}
|
|
95
95
|
*/
|
|
96
96
|
}
|
|
97
97
|
} else {
|
|
@@ -5,7 +5,7 @@ import './web.dom.iterable-5c830d3d.js';
|
|
|
5
5
|
import React__default, { useState } from 'react';
|
|
6
6
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
7
7
|
import './iconBase-602d52fe.js';
|
|
8
|
-
import { a as IoMdArrowDropdown } from './index.esm-
|
|
8
|
+
import { a as IoMdArrowDropdown } from './index.esm-85cb09e6.js';
|
|
9
9
|
import Accordion from 'react-bootstrap/Accordion';
|
|
10
10
|
import { useAccordionToggle } from 'react-bootstrap/AccordionToggle';
|
|
11
11
|
|
package/dist/esm/ArticleQueue.js
CHANGED
|
@@ -22,7 +22,7 @@ import { i as isObjectLike_1, _ as _baseGetTag, a as _root, b as _freeGlobal } f
|
|
|
22
22
|
import { t as toNumber_1 } from './debounce-a0d9abca.js';
|
|
23
23
|
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
24
24
|
import 'react-dom';
|
|
25
|
-
import { i as imageUrlBuilder } from './index-
|
|
25
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
26
26
|
import './index-5f9f807a.js';
|
|
27
27
|
import { m as main_36 } from './main-d7ee6151.js';
|
|
28
28
|
import './entities-7cc3bf45.js';
|
|
@@ -33,12 +33,12 @@ import './_set-species-75f77d40.js';
|
|
|
33
33
|
import './beam-c40d77ae.js';
|
|
34
34
|
import DFPAdSlot from './AdSlot.js';
|
|
35
35
|
import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './_arrayMap-818441dd.js';
|
|
36
|
-
import { B as BlockContent } from './BlockContent-
|
|
36
|
+
import { B as BlockContent } from './BlockContent-c409aca5.js';
|
|
37
37
|
import './smoothscroll-4b699764.js';
|
|
38
38
|
import './GroupDeck.js';
|
|
39
39
|
import 'react-bootstrap';
|
|
40
40
|
import 'react-bootstrap/Button';
|
|
41
|
-
import { I as InscreenSensor, g as getSerializers } from './index-
|
|
41
|
+
import { I as InscreenSensor, g as getSerializers } from './index-1c791baf.js';
|
|
42
42
|
import './util-7700fc59.js';
|
|
43
43
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
44
44
|
import 'react-bootstrap/Pagination';
|
package/dist/esm/Auth.js
CHANGED
|
@@ -14,8 +14,8 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-d25
|
|
|
14
14
|
import './_set-species-75f77d40.js';
|
|
15
15
|
import { Col, Form, Button, Spinner } from 'react-bootstrap';
|
|
16
16
|
import { u as util } from './util-7700fc59.js';
|
|
17
|
-
import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
|
|
18
17
|
import useSWR from 'swr';
|
|
18
|
+
import { serialize, parse } from 'cookie';
|
|
19
19
|
import Local from 'passport-local';
|
|
20
20
|
import mysql from 'mysql';
|
|
21
21
|
|
|
@@ -1207,7 +1207,7 @@ var MAX_AGE = 60 * 60 * 8; // 8 hours
|
|
|
1207
1207
|
|
|
1208
1208
|
function setTokenCookie(res, token, eKey) {
|
|
1209
1209
|
var cookies_serailized = [];
|
|
1210
|
-
cookies_serailized.push(
|
|
1210
|
+
cookies_serailized.push(serialize(TOKEN_NAME, token, {
|
|
1211
1211
|
//maxAge: MAX_AGE, // we want login cookie to expire when browser
|
|
1212
1212
|
//expires: new Date(Date.now() + MAX_AGE * 1000),
|
|
1213
1213
|
//httpOnly: true,
|
|
@@ -1216,7 +1216,7 @@ function setTokenCookie(res, token, eKey) {
|
|
|
1216
1216
|
//sameSite: 'lax',
|
|
1217
1217
|
}));
|
|
1218
1218
|
|
|
1219
|
-
cookies_serailized.push(
|
|
1219
|
+
cookies_serailized.push(serialize('eKey', eKey, {
|
|
1220
1220
|
//maxAge: MAX_AGE, // we want login cookie to expire when browser
|
|
1221
1221
|
//expires: new Date(Date.now() + MAX_AGE * 1000),
|
|
1222
1222
|
//httpOnly: true,
|
|
@@ -1230,12 +1230,12 @@ function setTokenCookie(res, token, eKey) {
|
|
|
1230
1230
|
|
|
1231
1231
|
function removeTokenCookie(res) {
|
|
1232
1232
|
var cookies_serailized = [];
|
|
1233
|
-
cookies_serailized.push(
|
|
1233
|
+
cookies_serailized.push(serialize(TOKEN_NAME, '', {
|
|
1234
1234
|
maxAge: -1,
|
|
1235
1235
|
expires: new Date(Date.now() - MAX_AGE * 1000),
|
|
1236
1236
|
path: '/'
|
|
1237
1237
|
}));
|
|
1238
|
-
cookies_serailized.push(
|
|
1238
|
+
cookies_serailized.push(serialize('eKey', '', {
|
|
1239
1239
|
maxAge: -1,
|
|
1240
1240
|
expires: new Date(Date.now() - MAX_AGE * 1000),
|
|
1241
1241
|
path: '/'
|
|
@@ -1250,7 +1250,7 @@ function parseCookies(req) {
|
|
|
1250
1250
|
|
|
1251
1251
|
// For pages we do need to parse the cookies.
|
|
1252
1252
|
var cookie = req.headers ? req.headers.cookie : null;
|
|
1253
|
-
return
|
|
1253
|
+
return parse(cookie || '');
|
|
1254
1254
|
}
|
|
1255
1255
|
|
|
1256
1256
|
function getTokenCookie(req) {
|
|
@@ -2320,8 +2320,8 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
|
|
|
2320
2320
|
throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
|
|
2321
2321
|
}
|
|
2322
2322
|
var oldDesc = OrdinaryGetOwnProperty(O, P);
|
|
2323
|
-
var extensible = oldDesc || IsExtensible(O);
|
|
2324
|
-
var immutable = oldDesc && (!oldDesc
|
|
2323
|
+
var extensible = !oldDesc || IsExtensible(O);
|
|
2324
|
+
var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
|
|
2325
2325
|
if (immutable || !extensible) {
|
|
2326
2326
|
return false;
|
|
2327
2327
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { m as moment } from './moment-e2f9b20c.js';
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
4
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
Example usage - targetedonc.com/latest-conference
|
|
8
|
-
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] {
|
|
9
|
-
...,
|
|
10
|
-
title,
|
|
11
|
-
summary,
|
|
12
|
-
thumbnail,
|
|
13
|
-
url,
|
|
14
|
-
published,
|
|
15
|
-
documentGroup->,
|
|
16
|
-
contentCategory->,
|
|
17
|
-
'pageNumber': ${currentPage}
|
|
18
|
-
}`
|
|
19
|
-
|
|
20
|
-
const posts = await client.fetch(query, params)
|
|
6
|
+
/*
|
|
7
|
+
Example usage - targetedonc.com/latest-conference
|
|
8
|
+
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] {
|
|
9
|
+
...,
|
|
10
|
+
title,
|
|
11
|
+
summary,
|
|
12
|
+
thumbnail,
|
|
13
|
+
url,
|
|
14
|
+
published,
|
|
15
|
+
documentGroup->,
|
|
16
|
+
contentCategory->,
|
|
17
|
+
'pageNumber': ${currentPage}
|
|
18
|
+
}`
|
|
19
|
+
|
|
20
|
+
const posts = await client.fetch(query, params)
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -25,7 +25,7 @@ import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
|
25
25
|
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
26
26
|
import 'react-dom';
|
|
27
27
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
28
|
-
import { i as imageUrlBuilder } from './index-
|
|
28
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
29
29
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
30
30
|
import { m as main_36 } from './main-d7ee6151.js';
|
|
31
31
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
@@ -176,14 +176,14 @@ var DeckContent = function (_React$Component) {
|
|
|
176
176
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
177
177
|
|
|
178
178
|
// please leave this for later debug purpose : Yong Jun.
|
|
179
|
-
/* console.log('page change reported', {
|
|
180
|
-
currentPage: currentPage,
|
|
181
|
-
pageNumber: pageNumber,
|
|
182
|
-
pathname: pathname,
|
|
183
|
-
path: path,
|
|
184
|
-
newPath: newPath,
|
|
185
|
-
firstPage: pageNumber === 1,
|
|
186
|
-
queryString: queryString
|
|
179
|
+
/* console.log('page change reported', {
|
|
180
|
+
currentPage: currentPage,
|
|
181
|
+
pageNumber: pageNumber,
|
|
182
|
+
pathname: pathname,
|
|
183
|
+
path: path,
|
|
184
|
+
newPath: newPath,
|
|
185
|
+
firstPage: pageNumber === 1,
|
|
186
|
+
queryString: queryString
|
|
187
187
|
}) */
|
|
188
188
|
|
|
189
189
|
if (pageview) {
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -25,7 +25,7 @@ import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
|
25
25
|
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
26
26
|
import 'react-dom';
|
|
27
27
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
28
|
-
import { i as imageUrlBuilder } from './index-
|
|
28
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
29
29
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
30
30
|
import { m as main_36 } from './main-d7ee6151.js';
|
|
31
31
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -146,23 +146,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
146
146
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
147
147
|
setAccessToken(cventAccessToken);
|
|
148
148
|
} else {
|
|
149
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
150
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
151
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
152
|
-
fetch(url, {
|
|
153
|
-
headers: {
|
|
154
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
155
|
-
Authorization: `Basic ${encodedData}`
|
|
156
|
-
},
|
|
157
|
-
method: 'POST',
|
|
158
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
159
|
-
})
|
|
160
|
-
.then((response) => response.json())
|
|
161
|
-
.then((json) => {
|
|
162
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
163
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
164
|
-
setAccessToken(json.access_token)
|
|
165
|
-
})
|
|
149
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
150
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
151
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
152
|
+
fetch(url, {
|
|
153
|
+
headers: {
|
|
154
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
155
|
+
Authorization: `Basic ${encodedData}`
|
|
156
|
+
},
|
|
157
|
+
method: 'POST',
|
|
158
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
159
|
+
})
|
|
160
|
+
.then((response) => response.json())
|
|
161
|
+
.then((json) => {
|
|
162
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
163
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
164
|
+
setAccessToken(json.access_token)
|
|
165
|
+
})
|
|
166
166
|
.catch((e) => console.log(e))*/
|
|
167
167
|
// hello
|
|
168
168
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -21,7 +21,7 @@ import { useRouter } from 'next/router';
|
|
|
21
21
|
import './isSymbol-47f5ff3b.js';
|
|
22
22
|
import './debounce-a0d9abca.js';
|
|
23
23
|
import 'react-dom';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-3849e3fe.js';
|
|
25
25
|
import './index-5f9f807a.js';
|
|
26
26
|
import './main-d7ee6151.js';
|
|
27
27
|
import './entities-7cc3bf45.js';
|
|
@@ -31,13 +31,13 @@ import './asyncToGenerator-d25aac66.js';
|
|
|
31
31
|
import './_set-species-75f77d40.js';
|
|
32
32
|
import './beam-c40d77ae.js';
|
|
33
33
|
import './AdSlot.js';
|
|
34
|
-
import { B as BlockContent } from './BlockContent-
|
|
34
|
+
import { B as BlockContent } from './BlockContent-c409aca5.js';
|
|
35
35
|
import './smoothscroll-4b699764.js';
|
|
36
36
|
import './GroupDeck.js';
|
|
37
37
|
import 'react-bootstrap';
|
|
38
38
|
import Button from 'react-bootstrap/Button';
|
|
39
39
|
import { m as momentTimezone } from './index-ef6d5dcf.js';
|
|
40
|
-
import { g as getSerializers } from './index-
|
|
40
|
+
import { g as getSerializers } from './index-1c791baf.js';
|
|
41
41
|
import './util-7700fc59.js';
|
|
42
42
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
43
43
|
import 'react-bootstrap/Pagination';
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
4
4
|
import { m as main_36 } from './main-d7ee6151.js';
|
|
5
5
|
import Carousel from 'react-bootstrap/Carousel';
|
|
6
6
|
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -6,7 +6,7 @@ import React__default from 'react';
|
|
|
6
6
|
import 'prop-types';
|
|
7
7
|
import { m as moment } from './moment-e2f9b20c.js';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
10
10
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import './slicedToArray-a58d7edf.js';
|
|
12
12
|
import { A as AuthorComponent } from './AuthorComponent-4ddf3533.js';
|