@mjhls/mjh-framework 1.0.701 → 1.0.702-beta-v1

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.
Files changed (150) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +5 -3
  4. package/dist/cjs/AD300x250x600.js +5 -3
  5. package/dist/cjs/AD728x90.js +6 -4
  6. package/dist/cjs/ADFloatingFooter.js +4 -2
  7. package/dist/cjs/ADGutter.js +4 -2
  8. package/dist/cjs/ADSkyscraper.js +4 -2
  9. package/dist/cjs/ADSponsoredResources.js +4 -2
  10. package/dist/cjs/ADWebcast.js +4 -2
  11. package/dist/cjs/ADWelcome.js +4 -2
  12. package/dist/cjs/AdSlot.js +14 -3
  13. package/dist/cjs/AdSlotsProvider.js +2 -2
  14. package/dist/cjs/ArticleCarousel.js +1 -1
  15. package/dist/cjs/ArticleSeriesListing.js +4 -4
  16. package/dist/cjs/Auth.js +455 -306
  17. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-80b15fac.js} +1 -1
  18. package/dist/cjs/BrowseVideosListing.js +1 -1
  19. package/dist/cjs/CMEDeck.js +5 -5
  20. package/dist/cjs/Column3.js +6 -4
  21. package/dist/cjs/ConferenceArticleCard.js +2 -2
  22. package/dist/cjs/DeckContent.js +7 -7
  23. package/dist/cjs/DeckQueue.js +6 -6
  24. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-390337bf.js} +1 -1
  25. package/dist/cjs/EventsDeck.js +4 -4
  26. package/dist/cjs/ExternalResources.js +7 -7
  27. package/dist/cjs/Feature.js +3 -3
  28. package/dist/cjs/ForbesHero.js +2 -2
  29. package/dist/cjs/GridContent.js +11 -11
  30. package/dist/cjs/GridHero.js +2 -2
  31. package/dist/cjs/GroupDeck.js +1 -1
  32. package/dist/cjs/HamMagazine.js +4 -4
  33. package/dist/cjs/Hero.js +1 -1
  34. package/dist/cjs/HorizontalHero.js +2 -2
  35. package/dist/cjs/IssueContentDeck.js +2 -2
  36. package/dist/cjs/IssueDeck.js +2 -2
  37. package/dist/cjs/IssueLanding.js +8 -8
  38. package/dist/cjs/LeftNav.js +4 -2
  39. package/dist/cjs/MasterDeck.js +8 -8
  40. package/dist/cjs/NavMagazine.js +4 -4
  41. package/dist/cjs/NavNative.js +3 -3
  42. package/dist/cjs/OncliveHero.js +2 -2
  43. package/dist/cjs/OncliveLargeHero.js +2 -2
  44. package/dist/cjs/PartnerDetailListing.js +10 -10
  45. package/dist/cjs/PublicationDeck.js +2 -2
  46. package/dist/cjs/QueueDeckExpanded.js +10 -10
  47. package/dist/cjs/RecentNews.js +2 -2
  48. package/dist/cjs/RelatedContent.js +2 -2
  49. package/dist/cjs/{SocialSearchComponent-75c51b47.js → SocialSearchComponent-56d49a1a.js} +5 -5
  50. package/dist/cjs/TaxonomyCard.js +2 -2
  51. package/dist/cjs/TemplateNormal.js +5 -3
  52. package/dist/cjs/ThumbnailCard.js +1 -1
  53. package/dist/cjs/Ustream.js +2 -2
  54. package/dist/cjs/VerticalHero.js +2 -2
  55. package/dist/cjs/VideoSeriesCard.js +2 -2
  56. package/dist/cjs/VideoSeriesListing.js +4 -4
  57. package/dist/cjs/View.js +15 -15
  58. package/dist/cjs/YahooHero.js +2 -2
  59. package/dist/cjs/YoutubeGroup.js +1 -1
  60. package/dist/cjs/getRelatedArticle.js +5 -416
  61. package/dist/cjs/getSerializers.js +6 -6
  62. package/dist/cjs/{index-2d0a4911.js → index-099d45ae.js} +6 -4
  63. package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
  64. package/dist/cjs/{index-b5eb3ff8.js → index-39beccb3.js} +18 -18
  65. package/dist/cjs/{index-ec02006c.js → index-58dae365.js} +12 -12
  66. package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
  67. package/dist/cjs/index.js +15 -15
  68. package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
  69. package/dist/cjs/{main-99536bdc.js → main-03ffa84c.js} +36 -67
  70. package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
  71. package/dist/cjs/timeDifferenceCalc.js +1 -1
  72. package/dist/cjs/urlFor.js +1 -1
  73. package/dist/esm/AD.js +1 -1
  74. package/dist/esm/AD300x250.js +5 -3
  75. package/dist/esm/AD300x250x600.js +5 -3
  76. package/dist/esm/AD728x90.js +6 -4
  77. package/dist/esm/ADFloatingFooter.js +4 -2
  78. package/dist/esm/ADGutter.js +4 -2
  79. package/dist/esm/ADSkyscraper.js +4 -2
  80. package/dist/esm/ADSponsoredResources.js +4 -2
  81. package/dist/esm/ADWebcast.js +4 -2
  82. package/dist/esm/ADWelcome.js +4 -2
  83. package/dist/esm/AdSlot.js +15 -4
  84. package/dist/esm/AdSlotsProvider.js +2 -2
  85. package/dist/esm/ArticleCarousel.js +1 -1
  86. package/dist/esm/ArticleSeriesListing.js +4 -4
  87. package/dist/esm/Auth.js +450 -301
  88. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c409aca5.js} +1 -1
  89. package/dist/esm/BrowseVideosListing.js +1 -1
  90. package/dist/esm/CMEDeck.js +5 -5
  91. package/dist/esm/Column3.js +6 -4
  92. package/dist/esm/ConferenceArticleCard.js +2 -2
  93. package/dist/esm/DeckContent.js +7 -7
  94. package/dist/esm/DeckQueue.js +6 -6
  95. package/dist/esm/{Dfp-8a8fca18.js → Dfp-741c01be.js} +1 -1
  96. package/dist/esm/EventsDeck.js +4 -4
  97. package/dist/esm/ExternalResources.js +7 -7
  98. package/dist/esm/Feature.js +3 -3
  99. package/dist/esm/ForbesHero.js +2 -2
  100. package/dist/esm/GridContent.js +11 -11
  101. package/dist/esm/GridHero.js +2 -2
  102. package/dist/esm/GroupDeck.js +1 -1
  103. package/dist/esm/HamMagazine.js +4 -4
  104. package/dist/esm/Hero.js +1 -1
  105. package/dist/esm/HorizontalHero.js +2 -2
  106. package/dist/esm/IssueContentDeck.js +2 -2
  107. package/dist/esm/IssueDeck.js +2 -2
  108. package/dist/esm/IssueLanding.js +8 -8
  109. package/dist/esm/LeftNav.js +4 -2
  110. package/dist/esm/MasterDeck.js +8 -8
  111. package/dist/esm/NavMagazine.js +4 -4
  112. package/dist/esm/NavNative.js +3 -3
  113. package/dist/esm/OncliveHero.js +2 -2
  114. package/dist/esm/OncliveLargeHero.js +2 -2
  115. package/dist/esm/PartnerDetailListing.js +10 -10
  116. package/dist/esm/PublicationDeck.js +2 -2
  117. package/dist/esm/QueueDeckExpanded.js +10 -10
  118. package/dist/esm/RecentNews.js +2 -2
  119. package/dist/esm/RelatedContent.js +2 -2
  120. package/dist/esm/{SocialSearchComponent-5a9c4628.js → SocialSearchComponent-677ed3bd.js} +5 -5
  121. package/dist/esm/TaxonomyCard.js +2 -2
  122. package/dist/esm/TemplateNormal.js +5 -3
  123. package/dist/esm/ThumbnailCard.js +1 -1
  124. package/dist/esm/Ustream.js +2 -2
  125. package/dist/esm/VerticalHero.js +2 -2
  126. package/dist/esm/VideoSeriesCard.js +2 -2
  127. package/dist/esm/VideoSeriesListing.js +4 -4
  128. package/dist/esm/View.js +15 -15
  129. package/dist/esm/YahooHero.js +2 -2
  130. package/dist/esm/YoutubeGroup.js +1 -1
  131. package/dist/esm/getRelatedArticle.js +5 -416
  132. package/dist/esm/getSerializers.js +6 -6
  133. package/dist/esm/{index-51a80699.js → index-3849e3fe.js} +18 -18
  134. package/dist/esm/{index-93ec3c59.js → index-3f4dd6f2.js} +6 -4
  135. package/dist/esm/{index-50d0fbc7.js → index-7779a6df.js} +12 -12
  136. package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
  137. package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
  138. package/dist/esm/index.js +14 -14
  139. package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
  140. package/dist/esm/{main-e2627831.js → main-35ff7b4f.js} +34 -65
  141. package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
  142. package/dist/esm/timeDifferenceCalc.js +1 -1
  143. package/dist/esm/urlFor.js +1 -1
  144. package/package.json +3 -3
  145. package/dist/cjs/index-bd6c9f56.js +0 -211
  146. package/dist/esm/index-db3bb315.js +0 -207
  147. /package/dist/cjs/{ADInfeed-f60d8625.js → ADInfeed-38066a36.js} +0 -0
  148. /package/dist/cjs/{ADlgInfeed-a08f8a4b.js → ADlgInfeed-d95c9027.js} +0 -0
  149. /package/dist/esm/{ADInfeed-c7e745f1.js → ADInfeed-7b1b2fcb.js} +0 -0
  150. /package/dist/esm/{ADlgInfeed-6fedd79b.js → ADlgInfeed-2afe92e6.js} +0 -0
@@ -4,21 +4,21 @@ import { _ as _extends } from './extends-cc5da797.js';
4
4
  import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-7ee3e0c1.js';
5
5
  import { _ as _typeof$1 } from './typeof-08f2c380.js';
6
6
  import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
7
- import { l as lib_3 } from './index-93ec3c59.js';
7
+ import { l as lib_3 } from './index-3f4dd6f2.js';
8
8
  import PropTypes from 'prop-types';
9
9
  import Row from 'react-bootstrap/Row';
10
10
  import Col from 'react-bootstrap/Col';
11
- import { m as moment } from './moment-12415288.js';
11
+ import { m as moment } from './moment-e2f9b20c.js';
12
12
  import Router, { useRouter } from 'next/router';
13
- import { i as imageUrlBuilder } from './index-51a80699.js';
13
+ import { i as imageUrlBuilder } from './index-3849e3fe.js';
14
14
  import { L as LazyLoad } from './index-5f9f807a.js';
15
- import { b as main_16, d as main_38, m as main_39 } from './main-e2627831.js';
15
+ import { b as main_16, d as main_35, m as main_36 } from './main-35ff7b4f.js';
16
16
  import { h as html_decode_1 } from './entities-7cc3bf45.js';
17
17
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
18
18
  import Segment from './Segment.js';
19
19
  import Beam from './Beam.js';
20
20
  import DFPAdSlot from './AdSlot.js';
21
- import { B as BlockContent } from './BlockContent-a614acdf.js';
21
+ import { B as BlockContent } from './BlockContent-c409aca5.js';
22
22
  import { g as getYoutubeId } from './smoothscroll-4b699764.js';
23
23
  import GroupDeck from './GroupDeck.js';
24
24
  import { Carousel, Table, Figure as Figure$1, Button, ProgressBar, Card, Row as Row$1, Col as Col$1 } from 'react-bootstrap';
@@ -7509,7 +7509,7 @@ var Poll = function Poll(_ref) {
7509
7509
  );
7510
7510
  };
7511
7511
 
7512
- var numberOfPaginations = main_38 ? 4 : 10;
7512
+ var numberOfPaginations = main_35 ? 4 : 10;
7513
7513
 
7514
7514
  var Quiz = function Quiz(_ref) {
7515
7515
  var quizzes = _ref.quizzes,
@@ -7622,7 +7622,7 @@ var Quiz = function Quiz(_ref) {
7622
7622
  var renderPagination = function renderPagination() {
7623
7623
  return React__default.createElement(
7624
7624
  Pagination,
7625
- { className: 'p-0 m-0', size: main_38 && 'sm' },
7625
+ { className: 'p-0 m-0', size: main_35 && 'sm' },
7626
7626
  React__default.createElement(Pagination.First, { onClick: function onClick() {
7627
7627
  return changePage('first');
7628
7628
  }, disabled: currentPage === 1 }),
@@ -8291,7 +8291,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8291
8291
  //console.log('useLayoutEffect')
8292
8292
  if (!firstLoad) {
8293
8293
  setUpArrowClicked(false);
8294
- if (main_39) {
8294
+ if (main_36) {
8295
8295
  grabLoadedAds();
8296
8296
  } else {
8297
8297
  scrollToArticle();
@@ -8315,7 +8315,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8315
8315
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8316
8316
  if (pageview) pageview(path);
8317
8317
 
8318
- if (!main_39) {
8318
+ if (!main_36) {
8319
8319
  lib_3.getGoogletag().then(function (googletag) {
8320
8320
  if (window.googletag && googletag.pubadsReady) {
8321
8321
  lib_3.refresh();
@@ -8323,7 +8323,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8323
8323
  });
8324
8324
  }
8325
8325
  //Refresh leaderboard ad on mobile
8326
- if (main_39) {
8326
+ if (main_36) {
8327
8327
  var leaderboardSlotId = '';
8328
8328
  lib_3.getGoogletag().then(function (googletag) {
8329
8329
  if (window.googletag && googletag.pubadsReady) {
@@ -8392,7 +8392,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8392
8392
  React__default.createElement(
8393
8393
  'div',
8394
8394
  { className: 'ad-box', style: { textAlign: 'center' } },
8395
- main_39 && Ads.map(function (ad, index) {
8395
+ main_36 && Ads.map(function (ad, index) {
8396
8396
  if (index === 0) {
8397
8397
  return React__default.createElement(
8398
8398
  'div',
@@ -8514,7 +8514,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8514
8514
  React__default.createElement(
8515
8515
  'div',
8516
8516
  { className: 'ad-box', style: { textAlign: 'center' } },
8517
- main_39 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8517
+ main_36 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8518
8518
  if (innerIndex === 0) {
8519
8519
  return React__default.createElement(
8520
8520
  'div',
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule, a as commonjsGlobal, g as getCjsExportFromNamespace } from './_commonjsHelpers-0c4b6f40.js';
2
- import { m as moment } from './moment-12415288.js';
2
+ import { m as moment } from './moment-e2f9b20c.js';
3
3
 
4
4
  var momentTimezone = createCommonjsModule(function (module) {
5
5
  //! moment-timezone.js
@@ -263,9 +263,6 @@ var InfiniteScroll = /** @class */ (function (_super) {
263
263
  _this.dragging = false;
264
264
  if (_this.state.pullToRefreshThresholdBreached) {
265
265
  _this.props.refreshFunction && _this.props.refreshFunction();
266
- _this.setState({
267
- pullToRefreshThresholdBreached: false,
268
- });
269
266
  }
270
267
  requestAnimationFrame(function () {
271
268
  // this._infScroll
@@ -372,6 +369,7 @@ var InfiniteScroll = /** @class */ (function (_super) {
372
369
  // update state when new data was sent in
373
370
  this.setState({
374
371
  showLoader: false,
372
+ pullToRefreshThresholdBreached: false,
375
373
  });
376
374
  };
377
375
  InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
package/dist/esm/index.js CHANGED
@@ -14,22 +14,22 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import 'react';
17
- import './index-93ec3c59.js';
17
+ import './index-3f4dd6f2.js';
18
18
  import 'prop-types';
19
19
  import 'react-bootstrap/Container';
20
20
  import 'react-bootstrap/Row';
21
21
  import 'react-bootstrap/Col';
22
22
  import 'react-bootstrap/Card';
23
- import './moment-12415288.js';
23
+ import './moment-e2f9b20c.js';
24
24
  import 'next/router';
25
25
  import './isSymbol-807e927e.js';
26
26
  import './debounce-1a993acf.js';
27
- import './index.es-938a3a58.js';
27
+ import './index.es-29c1cef5.js';
28
28
  import 'react-dom';
29
29
  import './visibility-sensor-0baa4eea.js';
30
- import './index-51a80699.js';
30
+ import './index-3849e3fe.js';
31
31
  import './index-5f9f807a.js';
32
- import './main-e2627831.js';
32
+ import './main-35ff7b4f.js';
33
33
  import './entities-7cc3bf45.js';
34
34
  import './stringify-008c8802.js';
35
35
  import './slicedToArray-7021e5df.js';
@@ -38,10 +38,10 @@ import './_set-species-cede29f8.js';
38
38
  export { default as Segment } from './Segment.js';
39
39
  export { default as Beam } from './Beam.js';
40
40
  export { default as AdSlot } from './AdSlot.js';
41
- import './ADInfeed-c7e745f1.js';
41
+ import './ADInfeed-7b1b2fcb.js';
42
42
  export { default as DeckContent } from './DeckContent.js';
43
- import './lodash-17fdfebb.js';
44
- import './ADlgInfeed-6fedd79b.js';
43
+ import './lodash-ec8c6b48.js';
44
+ import './ADlgInfeed-2afe92e6.js';
45
45
  import './getContentCategory-15dcc413.js';
46
46
  import './get-5ee14cda.js';
47
47
  export { default as AD } from './AD.js';
@@ -50,7 +50,7 @@ export { default as GridContent } from './GridContent.js';
50
50
  export { default as DeckQueue } from './DeckQueue.js';
51
51
  import 'react-bootstrap/Media';
52
52
  export { default as ThumbnailCard } from './ThumbnailCard.js';
53
- import './BlockContent-a614acdf.js';
53
+ import './BlockContent-c409aca5.js';
54
54
  import './react-social-icons-a7d5c5c7.js';
55
55
  export { default as TaxonomyCard } from './TaxonomyCard.js';
56
56
  export { default as RolesDeck } from './RolesDeck.js';
@@ -76,10 +76,10 @@ import './defineProperty-b798470d.js';
76
76
  export { default as EventsDeck } from './EventsDeck.js';
77
77
  import 'react-bootstrap/Spinner';
78
78
  import 'react-bootstrap/Form';
79
- import './index-d2f90501.js';
79
+ import './index-ef6d5dcf.js';
80
80
  import './js.cookie-6874175c.js';
81
81
  export { default as CMEDeck } from './CMEDeck.js';
82
- export { g as getSerializers } from './index-50d0fbc7.js';
82
+ export { g as getSerializers } from './index-7779a6df.js';
83
83
  import './util-7700fc59.js';
84
84
  import './brightcove-react-player-loader.es-83f53e4e.js';
85
85
  import 'react-bootstrap/Pagination';
@@ -111,7 +111,7 @@ import './NavFooter-e27bd93b.js';
111
111
  import './index.esm-fd746768.js';
112
112
  export { default as SocialIcons } from './SocialIcons.js';
113
113
  import 'react-bootstrap/FormControl';
114
- import './SocialSearchComponent-5a9c4628.js';
114
+ import './SocialSearchComponent-677ed3bd.js';
115
115
  export { default as NavMagazine } from './NavMagazine.js';
116
116
  export { NavNative } from './NavNative.js';
117
117
  export { default as Search } from './Search.js';
@@ -158,9 +158,9 @@ export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
158
158
  export { default as KMTracker } from './KMTracker.js';
159
159
  export { default as getSeriesDetail } from './getSeriesDetail.js';
160
160
  export { default as SetCookie } from './SetCookie.js';
161
- import './index-db3bb315.js';
162
- export { default as getRelatedArticle } from './getRelatedArticle.js';
161
+ import 'nookies';
163
162
  export { default as getQuery } from './getQuery.js';
163
+ export { default as getRelatedArticle } from './getRelatedArticle.js';
164
164
  export { default as Auth } from './Auth.js';
165
165
  import 'swr';
166
166
  import 'passport-local';
@@ -7,7 +7,7 @@ var lodash = createCommonjsModule(function (module, exports) {
7
7
  var undefined$1;
8
8
 
9
9
  /** Used as the semantic version number. */
10
- var VERSION = '4.17.15';
10
+ var VERSION = '4.17.20';
11
11
 
12
12
  /** Used as the size to enable large array optimizations. */
13
13
  var LARGE_ARRAY_SIZE = 200;
@@ -3714,8 +3714,21 @@ var lodash = createCommonjsModule(function (module, exports) {
3714
3714
  * @returns {Array} Returns the new sorted array.
3715
3715
  */
3716
3716
  function baseOrderBy(collection, iteratees, orders) {
3717
+ if (iteratees.length) {
3718
+ iteratees = arrayMap(iteratees, function(iteratee) {
3719
+ if (isArray(iteratee)) {
3720
+ return function(value) {
3721
+ return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
3722
+ }
3723
+ }
3724
+ return iteratee;
3725
+ });
3726
+ } else {
3727
+ iteratees = [identity];
3728
+ }
3729
+
3717
3730
  var index = -1;
3718
- iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee()));
3731
+ iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
3719
3732
 
3720
3733
  var result = baseMap(collection, function(value, key, collection) {
3721
3734
  var criteria = arrayMap(iteratees, function(iteratee) {
@@ -3972,6 +3985,10 @@ var lodash = createCommonjsModule(function (module, exports) {
3972
3985
  var key = toKey(path[index]),
3973
3986
  newValue = value;
3974
3987
 
3988
+ if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
3989
+ return object;
3990
+ }
3991
+
3975
3992
  if (index != lastIndex) {
3976
3993
  var objValue = nested[key];
3977
3994
  newValue = customizer ? customizer(objValue, key, nested) : undefined$1;
@@ -4124,11 +4141,14 @@ var lodash = createCommonjsModule(function (module, exports) {
4124
4141
  * into `array`.
4125
4142
  */
4126
4143
  function baseSortedIndexBy(array, value, iteratee, retHighest) {
4127
- value = iteratee(value);
4128
-
4129
4144
  var low = 0,
4130
- high = array == null ? 0 : array.length,
4131
- valIsNaN = value !== value,
4145
+ high = array == null ? 0 : array.length;
4146
+ if (high === 0) {
4147
+ return 0;
4148
+ }
4149
+
4150
+ value = iteratee(value);
4151
+ var valIsNaN = value !== value,
4132
4152
  valIsNull = value === null,
4133
4153
  valIsSymbol = isSymbol(value),
4134
4154
  valIsUndefined = value === undefined$1;
@@ -5613,10 +5633,11 @@ var lodash = createCommonjsModule(function (module, exports) {
5613
5633
  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
5614
5634
  return false;
5615
5635
  }
5616
- // Assume cyclic values are equal.
5617
- var stacked = stack.get(array);
5618
- if (stacked && stack.get(other)) {
5619
- return stacked == other;
5636
+ // Check that cyclic values are equal.
5637
+ var arrStacked = stack.get(array);
5638
+ var othStacked = stack.get(other);
5639
+ if (arrStacked && othStacked) {
5640
+ return arrStacked == other && othStacked == array;
5620
5641
  }
5621
5642
  var index = -1,
5622
5643
  result = true,
@@ -5778,10 +5799,11 @@ var lodash = createCommonjsModule(function (module, exports) {
5778
5799
  return false;
5779
5800
  }
5780
5801
  }
5781
- // Assume cyclic values are equal.
5782
- var stacked = stack.get(object);
5783
- if (stacked && stack.get(other)) {
5784
- return stacked == other;
5802
+ // Check that cyclic values are equal.
5803
+ var objStacked = stack.get(object);
5804
+ var othStacked = stack.get(other);
5805
+ if (objStacked && othStacked) {
5806
+ return objStacked == other && othStacked == object;
5785
5807
  }
5786
5808
  var result = true;
5787
5809
  stack.set(object, other);
@@ -9162,6 +9184,10 @@ var lodash = createCommonjsModule(function (module, exports) {
9162
9184
  * // The `_.property` iteratee shorthand.
9163
9185
  * _.filter(users, 'active');
9164
9186
  * // => objects for ['barney']
9187
+ *
9188
+ * // Combining several predicates using `_.overEvery` or `_.overSome`.
9189
+ * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
9190
+ * // => objects for ['fred', 'barney']
9165
9191
  */
9166
9192
  function filter(collection, predicate) {
9167
9193
  var func = isArray(collection) ? arrayFilter : baseFilter;
@@ -9911,15 +9937,15 @@ var lodash = createCommonjsModule(function (module, exports) {
9911
9937
  * var users = [
9912
9938
  * { 'user': 'fred', 'age': 48 },
9913
9939
  * { 'user': 'barney', 'age': 36 },
9914
- * { 'user': 'fred', 'age': 40 },
9940
+ * { 'user': 'fred', 'age': 30 },
9915
9941
  * { 'user': 'barney', 'age': 34 }
9916
9942
  * ];
9917
9943
  *
9918
9944
  * _.sortBy(users, [function(o) { return o.user; }]);
9919
- * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
9945
+ * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
9920
9946
  *
9921
9947
  * _.sortBy(users, ['user', 'age']);
9922
- * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]
9948
+ * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
9923
9949
  */
9924
9950
  var sortBy = baseRest(function(collection, iteratees) {
9925
9951
  if (collection == null) {
@@ -14794,11 +14820,11 @@ var lodash = createCommonjsModule(function (module, exports) {
14794
14820
 
14795
14821
  // Use a sourceURL for easier debugging.
14796
14822
  // The sourceURL gets injected into the source that's eval-ed, so be careful
14797
- // with lookup (in case of e.g. prototype pollution), and strip newlines if any.
14798
- // A newline wouldn't be a valid sourceURL anyway, and it'd enable code injection.
14823
+ // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in
14824
+ // and escape the comment, thus injecting code that gets evaled.
14799
14825
  var sourceURL = '//# sourceURL=' +
14800
14826
  (hasOwnProperty.call(options, 'sourceURL')
14801
- ? (options.sourceURL + '').replace(/[\r\n]/g, ' ')
14827
+ ? (options.sourceURL + '').replace(/\s/g, ' ')
14802
14828
  : ('lodash.templateSources[' + (++templateCounter) + ']')
14803
14829
  ) + '\n';
14804
14830
 
@@ -14831,8 +14857,6 @@ var lodash = createCommonjsModule(function (module, exports) {
14831
14857
 
14832
14858
  // If `variable` is not specified wrap a with-statement around the generated
14833
14859
  // code to add the data object to the top of the scope chain.
14834
- // Like with sourceURL, we take care to not check the option's prototype,
14835
- // as this configuration is a code injection vector.
14836
14860
  var variable = hasOwnProperty.call(options, 'variable') && options.variable;
14837
14861
  if (!variable) {
14838
14862
  source = 'with (obj) {\n' + source + '\n}\n';
@@ -15539,6 +15563,9 @@ var lodash = createCommonjsModule(function (module, exports) {
15539
15563
  * values against any array or object value, respectively. See `_.isEqual`
15540
15564
  * for a list of supported value comparisons.
15541
15565
  *
15566
+ * **Note:** Multiple values can be checked by combining several matchers
15567
+ * using `_.overSome`
15568
+ *
15542
15569
  * @static
15543
15570
  * @memberOf _
15544
15571
  * @since 3.0.0
@@ -15554,6 +15581,10 @@ var lodash = createCommonjsModule(function (module, exports) {
15554
15581
  *
15555
15582
  * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
15556
15583
  * // => [{ 'a': 4, 'b': 5, 'c': 6 }]
15584
+ *
15585
+ * // Checking for several possible values
15586
+ * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
15587
+ * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
15557
15588
  */
15558
15589
  function matches(source) {
15559
15590
  return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
@@ -15568,6 +15599,9 @@ var lodash = createCommonjsModule(function (module, exports) {
15568
15599
  * `srcValue` values against any array or object value, respectively. See
15569
15600
  * `_.isEqual` for a list of supported value comparisons.
15570
15601
  *
15602
+ * **Note:** Multiple values can be checked by combining several matchers
15603
+ * using `_.overSome`
15604
+ *
15571
15605
  * @static
15572
15606
  * @memberOf _
15573
15607
  * @since 3.2.0
@@ -15584,6 +15618,10 @@ var lodash = createCommonjsModule(function (module, exports) {
15584
15618
  *
15585
15619
  * _.find(objects, _.matchesProperty('a', 4));
15586
15620
  * // => { 'a': 4, 'b': 5, 'c': 6 }
15621
+ *
15622
+ * // Checking for several possible values
15623
+ * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
15624
+ * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
15587
15625
  */
15588
15626
  function matchesProperty(path, srcValue) {
15589
15627
  return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
@@ -15807,6 +15845,10 @@ var lodash = createCommonjsModule(function (module, exports) {
15807
15845
  * Creates a function that checks if **all** of the `predicates` return
15808
15846
  * truthy when invoked with the arguments it receives.
15809
15847
  *
15848
+ * Following shorthands are possible for providing predicates.
15849
+ * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
15850
+ * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
15851
+ *
15810
15852
  * @static
15811
15853
  * @memberOf _
15812
15854
  * @since 4.0.0
@@ -15833,6 +15875,10 @@ var lodash = createCommonjsModule(function (module, exports) {
15833
15875
  * Creates a function that checks if **any** of the `predicates` return
15834
15876
  * truthy when invoked with the arguments it receives.
15835
15877
  *
15878
+ * Following shorthands are possible for providing predicates.
15879
+ * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
15880
+ * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
15881
+ *
15836
15882
  * @static
15837
15883
  * @memberOf _
15838
15884
  * @since 4.0.0
@@ -15852,6 +15898,9 @@ var lodash = createCommonjsModule(function (module, exports) {
15852
15898
  *
15853
15899
  * func(NaN);
15854
15900
  * // => false
15901
+ *
15902
+ * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
15903
+ * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
15855
15904
  */
15856
15905
  var overSome = createOver(arraySome);
15857
15906
 
@@ -48,7 +48,7 @@ var getNavigatorInstance = function getNavigatorInstance() {
48
48
  };
49
49
  var isIOS13Check = function isIOS13Check(type) {
50
50
  var nav = getNavigatorInstance();
51
- return nav && nav.platform && (nav.platform.indexOf(type) !== -1 || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);
51
+ return nav && (nav.platform.includes(type) || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);
52
52
  };
53
53
 
54
54
  function _typeof(obj) {
@@ -219,15 +219,12 @@ var BROWSER_TYPES = {
219
219
  EDGE: "Edge",
220
220
  CHROMIUM: "Chromium",
221
221
  IE: 'IE',
222
- MOBILE_SAFARI: "Mobile Safari",
223
- EDGE_CHROMIUM: "Edge Chromium"
222
+ MOBILE_SAFARI: "Mobile Safari"
224
223
  };
225
224
  var OS_TYPES = {
226
225
  IOS: 'iOS',
227
226
  ANDROID: "Android",
228
- WINDOWS_PHONE: "Windows Phone",
229
- WINDOWS: 'Windows',
230
- MAC_OS: 'Mac OS'
227
+ WINDOWS_PHONE: "Windows Phone"
231
228
  };
232
229
  var initialData = {
233
230
  isMobile: false,
@@ -380,14 +377,6 @@ var isMobileAndTabletType = function isMobileAndTabletType() {
380
377
  }
381
378
  };
382
379
 
383
- var isEdgeChromiumType = function isEdgeChromiumType() {
384
- if (os.name === OS_TYPES.WINDOWS && os.version === '10') {
385
- return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;
386
- }
387
-
388
- return false;
389
- };
390
-
391
380
  var isSmartTVType = function isSmartTVType() {
392
381
  return device.type === DEVICE_TYPES.SMART_TV;
393
382
  };
@@ -408,14 +397,6 @@ var isAndroidType = function isAndroidType() {
408
397
  return os.name === OS_TYPES.ANDROID;
409
398
  };
410
399
 
411
- var isWindowsType = function isWindowsType() {
412
- return os.name === OS_TYPES.WINDOWS;
413
- };
414
-
415
- var isMacOsType = function isMacOsType() {
416
- return os.name === OS_TYPES.MAC_OS;
417
- };
418
-
419
400
  var isWinPhoneType = function isWinPhoneType() {
420
401
  return os.name === OS_TYPES.WINDOWS_PHONE;
421
402
  };
@@ -463,7 +444,7 @@ var isIEType = function isIEType() {
463
444
  var isElectronType = function isElectronType() {
464
445
  var nav = getNavigatorInstance();
465
446
  var ua = nav && nav.userAgent.toLowerCase();
466
- return typeof ua === 'string' ? /electron/.test(ua) : false;
447
+ return typeof ua === 'string' ? ua.includes('electron') : false;
467
448
  };
468
449
 
469
450
  var getIOS13 = function getIOS13() {
@@ -530,15 +511,15 @@ var getDeviceType = function getDeviceType() {
530
511
  var isSmartTV = isSmartTVType();
531
512
  var isConsole = isConsoleType();
532
513
  var isWearable = isWearableType();
533
- var isMobileSafari = isMobileSafariType() || getIPad13();
514
+ var isMobileSafari = isMobileSafariType();
534
515
  var isChromium = isChromiumType();
535
- var isMobile = isMobileAndTabletType() || getIPad13();
516
+ var isMobile = isMobileAndTabletType();
536
517
  var isMobileOnly = isMobileType();
537
- var isTablet = isTabletType() || getIPad13();
518
+ var isTablet = isTabletType();
538
519
  var isBrowser = isBrowserType();
539
520
  var isAndroid = isAndroidType();
540
521
  var isWinPhone = isWinPhoneType();
541
- var isIOS = isIOSType() || getIPad13();
522
+ var isIOS = isIOSType();
542
523
  var isChrome = isChromeType();
543
524
  var isFirefox = isFirefoxType();
544
525
  var isSafari = isSafariType();
@@ -554,7 +535,7 @@ var mobileModel = getMobileModel();
554
535
  var engineName = getEngineName();
555
536
  var engineVersion = getEngineVersion();
556
537
  var getUA = getUseragent();
557
- var isEdge = isEdgeType() || isEdgeChromiumType();
538
+ var isEdge = isEdgeType();
558
539
  var isYandex = isYandexType();
559
540
  var deviceType = getDeviceType();
560
541
  var isIOS13 = getIOS13();
@@ -562,10 +543,6 @@ var isIPad13 = getIPad13();
562
543
  var isIPhone13 = getIphone13();
563
544
  var isIPod13 = getIPod13();
564
545
  var isElectron = isElectronType();
565
- var isEdgeChromium = isEdgeChromiumType();
566
- var isLegacyEdge = isEdgeType();
567
- var isWindows = isWindowsType();
568
- var isMacOs = isMacOsType();
569
546
 
570
547
  var AndroidView = function AndroidView(_ref) {
571
548
  var renderWithFragment = _ref.renderWithFragment,
@@ -795,7 +772,6 @@ exports.isChrome = isChrome;
795
772
  exports.isChromium = isChromium;
796
773
  exports.isConsole = isConsole;
797
774
  exports.isEdge = isEdge;
798
- exports.isEdgeChromium = isEdgeChromium;
799
775
  exports.isElectron = isElectron;
800
776
  exports.isFirefox = isFirefox;
801
777
  exports.isIE = isIE;
@@ -804,8 +780,6 @@ exports.isIOS13 = isIOS13;
804
780
  exports.isIPad13 = isIPad13;
805
781
  exports.isIPhone13 = isIPhone13;
806
782
  exports.isIPod13 = isIPod13;
807
- exports.isLegacyEdge = isLegacyEdge;
808
- exports.isMacOs = isMacOs;
809
783
  exports.isMobile = isMobile;
810
784
  exports.isMobileOnly = isMobileOnly;
811
785
  exports.isMobileSafari = isMobileSafari;
@@ -815,7 +789,6 @@ exports.isSmartTV = isSmartTV;
815
789
  exports.isTablet = isTablet;
816
790
  exports.isWearable = isWearable;
817
791
  exports.isWinPhone = isWinPhone;
818
- exports.isWindows = isWindows;
819
792
  exports.isYandex = isYandex;
820
793
  exports.mobileModel = mobileModel;
821
794
  exports.mobileVendor = mobileVendor;
@@ -851,32 +824,28 @@ var main_23 = main.isChrome;
851
824
  var main_24 = main.isChromium;
852
825
  var main_25 = main.isConsole;
853
826
  var main_26 = main.isEdge;
854
- var main_27 = main.isEdgeChromium;
855
- var main_28 = main.isElectron;
856
- var main_29 = main.isFirefox;
857
- var main_30 = main.isIE;
858
- var main_31 = main.isIOS;
859
- var main_32 = main.isIOS13;
860
- var main_33 = main.isIPad13;
861
- var main_34 = main.isIPhone13;
862
- var main_35 = main.isIPod13;
863
- var main_36 = main.isLegacyEdge;
864
- var main_37 = main.isMacOs;
865
- var main_38 = main.isMobile;
866
- var main_39 = main.isMobileOnly;
867
- var main_40 = main.isMobileSafari;
868
- var main_41 = main.isOpera;
869
- var main_42 = main.isSafari;
870
- var main_43 = main.isSmartTV;
871
- var main_44 = main.isTablet;
872
- var main_45 = main.isWearable;
873
- var main_46 = main.isWinPhone;
874
- var main_47 = main.isWindows;
875
- var main_48 = main.isYandex;
876
- var main_49 = main.mobileModel;
877
- var main_50 = main.mobileVendor;
878
- var main_51 = main.osName;
879
- var main_52 = main.osVersion;
880
- var main_53 = main.withOrientationChange;
881
-
882
- export { main_40 as a, main_16 as b, main_22 as c, main_38 as d, main_31 as e, main_39 as m };
827
+ var main_27 = main.isElectron;
828
+ var main_28 = main.isFirefox;
829
+ var main_29 = main.isIE;
830
+ var main_30 = main.isIOS;
831
+ var main_31 = main.isIOS13;
832
+ var main_32 = main.isIPad13;
833
+ var main_33 = main.isIPhone13;
834
+ var main_34 = main.isIPod13;
835
+ var main_35 = main.isMobile;
836
+ var main_36 = main.isMobileOnly;
837
+ var main_37 = main.isMobileSafari;
838
+ var main_38 = main.isOpera;
839
+ var main_39 = main.isSafari;
840
+ var main_40 = main.isSmartTV;
841
+ var main_41 = main.isTablet;
842
+ var main_42 = main.isWearable;
843
+ var main_43 = main.isWinPhone;
844
+ var main_44 = main.isYandex;
845
+ var main_45 = main.mobileModel;
846
+ var main_46 = main.mobileVendor;
847
+ var main_47 = main.osName;
848
+ var main_48 = main.osVersion;
849
+ var main_49 = main.withOrientationChange;
850
+
851
+ export { main_37 as a, main_16 as b, main_22 as c, main_35 as d, main_30 as e, main_36 as m };
@@ -5612,7 +5612,7 @@ var moment = createCommonjsModule(function (module, exports) {
5612
5612
 
5613
5613
  //! moment.js
5614
5614
 
5615
- hooks.version = '2.27.0';
5615
+ hooks.version = '2.26.0';
5616
5616
 
5617
5617
  setHookCallback(createLocal);
5618
5618
 
@@ -1,5 +1,5 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import { m as moment } from './moment-12415288.js';
2
+ import { m as moment } from './moment-e2f9b20c.js';
3
3
 
4
4
  var timeDifferenceCalc = function timeDifferenceCalc(articlePublishedDate) {
5
5
  var dateNow = new Date();
@@ -1,5 +1,5 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import { i as imageUrlBuilder } from './index-51a80699.js';
2
+ import { i as imageUrlBuilder } from './index-3849e3fe.js';
3
3
 
4
4
  // Sanity image auto formating
5
5
  function urlFor(client, source) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.701",
3
+ "version": "1.0.702-beta-v1",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",
@@ -20,8 +20,8 @@
20
20
  "test:watch": "react-scripts test --env=jsdom",
21
21
  "build": "npm run clean && rollup -c",
22
22
  "start": "npm run clean && rollup -c -w",
23
- "prepare": "yarn run build",
24
- "predeploy": "cd example && yarn install && yarn run build",
23
+ "prepare": "npm run build",
24
+ "predeploy": "cd example && npm install && npm run build",
25
25
  "deploy": "gh-pages -d example/build"
26
26
  },
27
27
  "peerDependencies": {