@mjhls/mjh-framework 1.0.331 → 1.0.333
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 +171 -171
- package/dist/cjs/{ADInfeed-d58f7a88.js → ADInfeed-b042a194.js} +1 -1
- package/dist/cjs/{AdSlot-c8f07bcf.js → AdSlot-c5bff604.js} +3 -3
- package/dist/cjs/DeckContent.js +18 -18
- package/dist/cjs/DeckQueue.js +8 -8
- package/dist/cjs/{Dfp-fc16f64b.js → Dfp-9ede68c7.js} +2 -2
- package/dist/cjs/{Figure-6805ef02.js → Figure-a47ec3a7.js} +1 -1
- package/dist/cjs/{GridContent-70d80f27.js → GridContent-9f212ec5.js} +12 -12
- package/dist/cjs/GridContent.js +11 -11
- package/dist/cjs/GroupDeck.js +4 -4
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/MasterDeck.js +16 -16
- package/dist/cjs/{Normal-cc2f9b2f.js → Normal-c85aee96.js} +39 -39
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +11 -11
- package/dist/cjs/{TaxonomyCard-0b6bc8db.js → TaxonomyCard-e36602e8.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/{debounce-ba3eaee2.js → debounce-528ad412.js} +4 -6
- package/dist/cjs/{get-de2660c3.js → get-3b23d857.js} +1 -1
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/index.js +1213 -828
- package/dist/cjs/{inherits-d1613ef1.js → inherits-7548e3e8.js} +1 -1
- package/dist/cjs/{main-6a82a5d2.js → main-987c23c6.js} +66 -35
- package/dist/cjs/{promise-60431c75.js → promise-3b44b2a3.js} +2 -2
- package/dist/cjs/{toConsumableArray-82ec1016.js → toConsumableArray-34b5e9a7.js} +1 -1
- package/dist/cjs/{visibility-sensor-b72d9527.js → visibility-sensor-c2ccc22d.js} +4 -2
- package/dist/esm/{ADInfeed-c42432d8.js → ADInfeed-aadcfc25.js} +1 -1
- package/dist/esm/{AdSlot-4a85e252.js → AdSlot-8946358f.js} +3 -3
- package/dist/esm/DeckContent.js +18 -18
- package/dist/esm/DeckQueue.js +8 -8
- package/dist/esm/{Dfp-1cde9792.js → Dfp-9293acfb.js} +2 -2
- package/dist/esm/{Figure-ddfa279d.js → Figure-584ac0c8.js} +1 -1
- package/dist/esm/{GridContent-55e6512a.js → GridContent-13be42a1.js} +12 -12
- package/dist/esm/GridContent.js +11 -11
- package/dist/esm/GroupDeck.js +4 -4
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/MasterDeck.js +16 -16
- package/dist/esm/{Normal-63478e2d.js → Normal-cbddc3c0.js} +39 -39
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +11 -11
- package/dist/esm/{TaxonomyCard-c036f1c3.js → TaxonomyCard-89325080.js} +1 -1
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +6 -6
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/{debounce-93ab8f80.js → debounce-702eb224.js} +4 -6
- package/dist/esm/{get-9c285a85.js → get-36d03764.js} +1 -1
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/index.js +1216 -831
- package/dist/esm/{inherits-424c89e9.js → inherits-4b85034c.js} +1 -1
- package/dist/esm/{main-9ae8991d.js → main-cb86f95d.js} +65 -34
- package/dist/esm/{promise-e4a5eb9f.js → promise-86cb8313.js} +2 -2
- package/dist/esm/{toConsumableArray-ec38f5fe.js → toConsumableArray-2718dc16.js} +1 -1
- package/dist/esm/{visibility-sensor-336093e1.js → visibility-sensor-3cea5efb.js} +4 -2
- package/package.json +104 -104
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
4
|
var _toObject = require('./_to-object-329a650b.js');
|
|
5
5
|
var web_dom_iterable = require('./web.dom.iterable-8b02d65e.js');
|
|
6
|
-
var debounce = require('./debounce-
|
|
6
|
+
var debounce = require('./debounce-528ad412.js');
|
|
7
7
|
var _extends$2 = require('./extends-4c2285ff.js');
|
|
8
8
|
|
|
9
9
|
// most Object methods by ES6 should accept primitives
|
|
@@ -100,7 +100,7 @@ var getNavigatorInstance = function getNavigatorInstance() {
|
|
|
100
100
|
};
|
|
101
101
|
var isIOS13Check = function isIOS13Check(type) {
|
|
102
102
|
var nav = getNavigatorInstance();
|
|
103
|
-
return nav && (nav.platform.
|
|
103
|
+
return nav && nav.platform && (nav.platform.indexOf(type) !== -1 || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
function _typeof(obj) {
|
|
@@ -271,12 +271,15 @@ var BROWSER_TYPES = {
|
|
|
271
271
|
EDGE: "Edge",
|
|
272
272
|
CHROMIUM: "Chromium",
|
|
273
273
|
IE: 'IE',
|
|
274
|
-
MOBILE_SAFARI: "Mobile Safari"
|
|
274
|
+
MOBILE_SAFARI: "Mobile Safari",
|
|
275
|
+
EDGE_CHROMIUM: "Edge Chromium"
|
|
275
276
|
};
|
|
276
277
|
var OS_TYPES = {
|
|
277
278
|
IOS: 'iOS',
|
|
278
279
|
ANDROID: "Android",
|
|
279
|
-
WINDOWS_PHONE: "Windows Phone"
|
|
280
|
+
WINDOWS_PHONE: "Windows Phone",
|
|
281
|
+
WINDOWS: 'Windows',
|
|
282
|
+
MAC_OS: 'Mac OS'
|
|
280
283
|
};
|
|
281
284
|
var initialData = {
|
|
282
285
|
isMobile: false,
|
|
@@ -429,6 +432,14 @@ var isMobileAndTabletType = function isMobileAndTabletType() {
|
|
|
429
432
|
}
|
|
430
433
|
};
|
|
431
434
|
|
|
435
|
+
var isEdgeChromiumType = function isEdgeChromiumType() {
|
|
436
|
+
if (os.name === OS_TYPES.WINDOWS && os.version === '10') {
|
|
437
|
+
return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
return false;
|
|
441
|
+
};
|
|
442
|
+
|
|
432
443
|
var isSmartTVType = function isSmartTVType() {
|
|
433
444
|
return device.type === DEVICE_TYPES.SMART_TV;
|
|
434
445
|
};
|
|
@@ -449,6 +460,14 @@ var isAndroidType = function isAndroidType() {
|
|
|
449
460
|
return os.name === OS_TYPES.ANDROID;
|
|
450
461
|
};
|
|
451
462
|
|
|
463
|
+
var isWindowsType = function isWindowsType() {
|
|
464
|
+
return os.name === OS_TYPES.WINDOWS;
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
var isMacOsType = function isMacOsType() {
|
|
468
|
+
return os.name === OS_TYPES.MAC_OS;
|
|
469
|
+
};
|
|
470
|
+
|
|
452
471
|
var isWinPhoneType = function isWinPhoneType() {
|
|
453
472
|
return os.name === OS_TYPES.WINDOWS_PHONE;
|
|
454
473
|
};
|
|
@@ -496,7 +515,7 @@ var isIEType = function isIEType() {
|
|
|
496
515
|
var isElectronType = function isElectronType() {
|
|
497
516
|
var nav = getNavigatorInstance();
|
|
498
517
|
var ua = nav && nav.userAgent.toLowerCase();
|
|
499
|
-
return typeof ua === 'string' ? ua
|
|
518
|
+
return typeof ua === 'string' ? /electron/.test(ua) : false;
|
|
500
519
|
};
|
|
501
520
|
|
|
502
521
|
var getIOS13 = function getIOS13() {
|
|
@@ -563,15 +582,15 @@ var getDeviceType = function getDeviceType() {
|
|
|
563
582
|
var isSmartTV = isSmartTVType();
|
|
564
583
|
var isConsole = isConsoleType();
|
|
565
584
|
var isWearable = isWearableType();
|
|
566
|
-
var isMobileSafari = isMobileSafariType();
|
|
585
|
+
var isMobileSafari = isMobileSafariType() || getIPad13();
|
|
567
586
|
var isChromium = isChromiumType();
|
|
568
|
-
var isMobile = isMobileAndTabletType();
|
|
587
|
+
var isMobile = isMobileAndTabletType() || getIPad13();
|
|
569
588
|
var isMobileOnly = isMobileType();
|
|
570
|
-
var isTablet = isTabletType();
|
|
589
|
+
var isTablet = isTabletType() || getIPad13();
|
|
571
590
|
var isBrowser = isBrowserType();
|
|
572
591
|
var isAndroid = isAndroidType();
|
|
573
592
|
var isWinPhone = isWinPhoneType();
|
|
574
|
-
var isIOS = isIOSType();
|
|
593
|
+
var isIOS = isIOSType() || getIPad13();
|
|
575
594
|
var isChrome = isChromeType();
|
|
576
595
|
var isFirefox = isFirefoxType();
|
|
577
596
|
var isSafari = isSafariType();
|
|
@@ -587,7 +606,7 @@ var mobileModel = getMobileModel();
|
|
|
587
606
|
var engineName = getEngineName();
|
|
588
607
|
var engineVersion = getEngineVersion();
|
|
589
608
|
var getUA = getUseragent();
|
|
590
|
-
var isEdge = isEdgeType();
|
|
609
|
+
var isEdge = isEdgeType() || isEdgeChromiumType();
|
|
591
610
|
var isYandex = isYandexType();
|
|
592
611
|
var deviceType = getDeviceType();
|
|
593
612
|
var isIOS13 = getIOS13();
|
|
@@ -595,6 +614,10 @@ var isIPad13 = getIPad13();
|
|
|
595
614
|
var isIPhone13 = getIphone13();
|
|
596
615
|
var isIPod13 = getIPod13();
|
|
597
616
|
var isElectron = isElectronType();
|
|
617
|
+
var isEdgeChromium = isEdgeChromiumType();
|
|
618
|
+
var isLegacyEdge = isEdgeType();
|
|
619
|
+
var isWindows = isWindowsType();
|
|
620
|
+
var isMacOs = isMacOsType();
|
|
598
621
|
|
|
599
622
|
var AndroidView = function AndroidView(_ref) {
|
|
600
623
|
var renderWithFragment = _ref.renderWithFragment,
|
|
@@ -824,6 +847,7 @@ exports.isChrome = isChrome;
|
|
|
824
847
|
exports.isChromium = isChromium;
|
|
825
848
|
exports.isConsole = isConsole;
|
|
826
849
|
exports.isEdge = isEdge;
|
|
850
|
+
exports.isEdgeChromium = isEdgeChromium;
|
|
827
851
|
exports.isElectron = isElectron;
|
|
828
852
|
exports.isFirefox = isFirefox;
|
|
829
853
|
exports.isIE = isIE;
|
|
@@ -832,6 +856,8 @@ exports.isIOS13 = isIOS13;
|
|
|
832
856
|
exports.isIPad13 = isIPad13;
|
|
833
857
|
exports.isIPhone13 = isIPhone13;
|
|
834
858
|
exports.isIPod13 = isIPod13;
|
|
859
|
+
exports.isLegacyEdge = isLegacyEdge;
|
|
860
|
+
exports.isMacOs = isMacOs;
|
|
835
861
|
exports.isMobile = isMobile;
|
|
836
862
|
exports.isMobileOnly = isMobileOnly;
|
|
837
863
|
exports.isMobileSafari = isMobileSafari;
|
|
@@ -841,6 +867,7 @@ exports.isSmartTV = isSmartTV;
|
|
|
841
867
|
exports.isTablet = isTablet;
|
|
842
868
|
exports.isWearable = isWearable;
|
|
843
869
|
exports.isWinPhone = isWinPhone;
|
|
870
|
+
exports.isWindows = isWindows;
|
|
844
871
|
exports.isYandex = isYandex;
|
|
845
872
|
exports.mobileModel = mobileModel;
|
|
846
873
|
exports.mobileVendor = mobileVendor;
|
|
@@ -876,34 +903,38 @@ var main_23 = main.isChrome;
|
|
|
876
903
|
var main_24 = main.isChromium;
|
|
877
904
|
var main_25 = main.isConsole;
|
|
878
905
|
var main_26 = main.isEdge;
|
|
879
|
-
var main_27 = main.
|
|
880
|
-
var main_28 = main.
|
|
881
|
-
var main_29 = main.
|
|
882
|
-
var main_30 = main.
|
|
883
|
-
var main_31 = main.
|
|
884
|
-
var main_32 = main.
|
|
885
|
-
var main_33 = main.
|
|
886
|
-
var main_34 = main.
|
|
887
|
-
var main_35 = main.
|
|
888
|
-
var main_36 = main.
|
|
889
|
-
var main_37 = main.
|
|
890
|
-
var main_38 = main.
|
|
891
|
-
var main_39 = main.
|
|
892
|
-
var main_40 = main.
|
|
893
|
-
var main_41 = main.
|
|
894
|
-
var main_42 = main.
|
|
895
|
-
var main_43 = main.
|
|
896
|
-
var main_44 = main.
|
|
897
|
-
var main_45 = main.
|
|
898
|
-
var main_46 = main.
|
|
899
|
-
var main_47 = main.
|
|
900
|
-
var main_48 = main.
|
|
901
|
-
var main_49 = main.
|
|
906
|
+
var main_27 = main.isEdgeChromium;
|
|
907
|
+
var main_28 = main.isElectron;
|
|
908
|
+
var main_29 = main.isFirefox;
|
|
909
|
+
var main_30 = main.isIE;
|
|
910
|
+
var main_31 = main.isIOS;
|
|
911
|
+
var main_32 = main.isIOS13;
|
|
912
|
+
var main_33 = main.isIPad13;
|
|
913
|
+
var main_34 = main.isIPhone13;
|
|
914
|
+
var main_35 = main.isIPod13;
|
|
915
|
+
var main_36 = main.isLegacyEdge;
|
|
916
|
+
var main_37 = main.isMacOs;
|
|
917
|
+
var main_38 = main.isMobile;
|
|
918
|
+
var main_39 = main.isMobileOnly;
|
|
919
|
+
var main_40 = main.isMobileSafari;
|
|
920
|
+
var main_41 = main.isOpera;
|
|
921
|
+
var main_42 = main.isSafari;
|
|
922
|
+
var main_43 = main.isSmartTV;
|
|
923
|
+
var main_44 = main.isTablet;
|
|
924
|
+
var main_45 = main.isWearable;
|
|
925
|
+
var main_46 = main.isWinPhone;
|
|
926
|
+
var main_47 = main.isWindows;
|
|
927
|
+
var main_48 = main.isYandex;
|
|
928
|
+
var main_49 = main.mobileModel;
|
|
929
|
+
var main_50 = main.mobileVendor;
|
|
930
|
+
var main_51 = main.osName;
|
|
931
|
+
var main_52 = main.osVersion;
|
|
932
|
+
var main_53 = main.withOrientationChange;
|
|
902
933
|
|
|
903
934
|
exports._isArrayIter = _isArrayIter;
|
|
904
935
|
exports._iterCall = _iterCall;
|
|
905
936
|
exports._iterDetect = _iterDetect;
|
|
906
937
|
exports.main_16 = main_16;
|
|
907
|
-
exports.
|
|
908
|
-
exports.
|
|
909
|
-
exports.
|
|
938
|
+
exports.main_38 = main_38;
|
|
939
|
+
exports.main_39 = main_39;
|
|
940
|
+
exports.main_40 = main_40;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
4
|
var _toObject = require('./_to-object-329a650b.js');
|
|
5
5
|
var web_dom_iterable = require('./web.dom.iterable-8b02d65e.js');
|
|
6
|
-
var debounce = require('./debounce-
|
|
7
|
-
var main = require('./main-
|
|
6
|
+
var debounce = require('./debounce-528ad412.js');
|
|
7
|
+
var main = require('./main-987c23c6.js');
|
|
8
8
|
|
|
9
9
|
var _anInstance = function (it, Constructor, name, forbiddenField) {
|
|
10
10
|
if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
4
|
var _toObject = require('./_to-object-329a650b.js');
|
|
5
5
|
var web_dom_iterable = require('./web.dom.iterable-8b02d65e.js');
|
|
6
|
-
var main = require('./main-
|
|
6
|
+
var main = require('./main-987c23c6.js');
|
|
7
7
|
|
|
8
8
|
var _createProperty = function (object, index, value) {
|
|
9
9
|
if (index in object) _toObject._objectDp.f(object, index, _toObject._propertyDesc(0, value));
|
|
@@ -5619,7 +5619,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
5619
5619
|
|
|
5620
5620
|
//! moment.js
|
|
5621
5621
|
|
|
5622
|
-
hooks.version = '2.
|
|
5622
|
+
hooks.version = '2.27.0';
|
|
5623
5623
|
|
|
5624
5624
|
setHookCallback(createLocal);
|
|
5625
5625
|
|
|
@@ -5932,6 +5932,9 @@ var InfiniteScroll = /** @class */ (function (_super) {
|
|
|
5932
5932
|
_this.dragging = false;
|
|
5933
5933
|
if (_this.state.pullToRefreshThresholdBreached) {
|
|
5934
5934
|
_this.props.refreshFunction && _this.props.refreshFunction();
|
|
5935
|
+
_this.setState({
|
|
5936
|
+
pullToRefreshThresholdBreached: false,
|
|
5937
|
+
});
|
|
5935
5938
|
}
|
|
5936
5939
|
requestAnimationFrame(function () {
|
|
5937
5940
|
// this._infScroll
|
|
@@ -6038,7 +6041,6 @@ var InfiniteScroll = /** @class */ (function (_super) {
|
|
|
6038
6041
|
// update state when new data was sent in
|
|
6039
6042
|
this.setState({
|
|
6040
6043
|
showLoader: false,
|
|
6041
|
-
pullToRefreshThresholdBreached: false,
|
|
6042
6044
|
});
|
|
6043
6045
|
};
|
|
6044
6046
|
InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import { b as _core } from './_to-object-b9b796ec.js';
|
|
3
|
-
import { d as debounce_1, e as lib_2 } from './debounce-
|
|
4
|
-
import { a as main_16 } from './main-
|
|
3
|
+
import { d as debounce_1, e as lib_2 } from './debounce-702eb224.js';
|
|
4
|
+
import { a as main_16 } from './main-cb86f95d.js';
|
|
5
5
|
import React__default, { useState } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
|
|
8
|
-
import { p as promise } from './promise-
|
|
8
|
+
import { p as promise } from './promise-86cb8313.js';
|
|
9
9
|
|
|
10
10
|
var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
|
|
11
11
|
var stringify = function stringify(it) { // eslint-disable-line no-unused-vars
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
5
|
-
import { m as
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
4
|
+
import { d as debounce_1, l as lib_3 } from './debounce-702eb224.js';
|
|
5
|
+
import { m as main_39 } from './main-cb86f95d.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-2718dc16.js';
|
|
7
7
|
import { _ as _extends } from './extends-26d3b609.js';
|
|
8
|
-
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-
|
|
8
|
+
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4b85034c.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import Container from 'react-bootstrap/Container';
|
|
12
12
|
import Row from 'react-bootstrap/Row';
|
|
13
13
|
import Col from 'react-bootstrap/Col';
|
|
14
14
|
import Card from 'react-bootstrap/Card';
|
|
15
|
-
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-
|
|
15
|
+
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-3cea5efb.js';
|
|
16
16
|
import 'next/link';
|
|
17
17
|
import { withRouter } from 'next/router';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import { i as imageUrlBuilder } from './index-
|
|
19
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
20
20
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
21
21
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
22
22
|
import './slicedToArray-a47a84a4.js';
|
|
23
|
-
import './AdSlot-
|
|
24
|
-
import './promise-
|
|
25
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
23
|
+
import './AdSlot-8946358f.js';
|
|
24
|
+
import './promise-86cb8313.js';
|
|
25
|
+
import { A as ADInfeed } from './ADInfeed-aadcfc25.js';
|
|
26
26
|
|
|
27
27
|
var DeckContent = function (_React$Component) {
|
|
28
28
|
_inherits(DeckContent, _React$Component);
|
|
@@ -163,14 +163,14 @@ var DeckContent = function (_React$Component) {
|
|
|
163
163
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
164
164
|
|
|
165
165
|
// please leave this for later debug purpose : Yong Jun.
|
|
166
|
-
/* console.log('page change reported', {
|
|
167
|
-
currentPage: currentPage,
|
|
168
|
-
pageNumber: pageNumber,
|
|
169
|
-
pathname: pathname,
|
|
170
|
-
path: path,
|
|
171
|
-
newPath: newPath,
|
|
172
|
-
firstPage: pageNumber === 1,
|
|
173
|
-
queryString: queryString
|
|
166
|
+
/* console.log('page change reported', {
|
|
167
|
+
currentPage: currentPage,
|
|
168
|
+
pageNumber: pageNumber,
|
|
169
|
+
pathname: pathname,
|
|
170
|
+
path: path,
|
|
171
|
+
newPath: newPath,
|
|
172
|
+
firstPage: pageNumber === 1,
|
|
173
|
+
queryString: queryString
|
|
174
174
|
}) */
|
|
175
175
|
|
|
176
176
|
if (pageview) {
|
|
@@ -333,7 +333,7 @@ var DeckContent = function (_React$Component) {
|
|
|
333
333
|
)
|
|
334
334
|
)
|
|
335
335
|
),
|
|
336
|
-
|
|
336
|
+
main_39 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
337
337
|
);
|
|
338
338
|
}
|
|
339
339
|
})
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
5
|
-
import { m as
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
4
|
+
import { d as debounce_1, l as lib_3 } from './debounce-702eb224.js';
|
|
5
|
+
import { m as main_39 } from './main-cb86f95d.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-2718dc16.js';
|
|
7
7
|
import { _ as _extends } from './extends-26d3b609.js';
|
|
8
|
-
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-
|
|
8
|
+
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4b85034c.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import Container from 'react-bootstrap/Container';
|
|
12
12
|
import Row from 'react-bootstrap/Row';
|
|
13
13
|
import Col from 'react-bootstrap/Col';
|
|
14
14
|
import Card from 'react-bootstrap/Card';
|
|
15
|
-
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-
|
|
15
|
+
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-3cea5efb.js';
|
|
16
16
|
import 'next/link';
|
|
17
17
|
import { withRouter } from 'next/router';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import { i as imageUrlBuilder } from './index-
|
|
19
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
20
20
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
21
21
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
22
|
-
import { g as get_1 } from './get-
|
|
22
|
+
import { g as get_1 } from './get-36d03764.js';
|
|
23
23
|
|
|
24
24
|
var DeckQueue = function (_React$Component) {
|
|
25
25
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -288,7 +288,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
288
288
|
)
|
|
289
289
|
)
|
|
290
290
|
),
|
|
291
|
-
|
|
291
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
292
292
|
);
|
|
293
293
|
})
|
|
294
294
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import { d as debounce_1, a as lib_1, e as lib_2 } from './debounce-
|
|
4
|
+
import { d as debounce_1, a as lib_1, e as lib_2 } from './debounce-702eb224.js';
|
|
5
5
|
import React__default, { useState } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
7
|
+
import { V as VisibilitySensor } from './visibility-sensor-3cea5efb.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
4
|
import React__default, { useState } from 'react';
|
|
5
|
-
import { i as imageUrlBuilder } from './index-
|
|
5
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
6
6
|
import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
|
|
7
7
|
import { Figure as Figure$1 } from 'react-bootstrap';
|
|
8
8
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
2
|
-
import { m as
|
|
3
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
1
|
+
import { d as debounce_1, l as lib_3 } from './debounce-702eb224.js';
|
|
2
|
+
import { m as main_39 } from './main-cb86f95d.js';
|
|
3
|
+
import { _ as _toConsumableArray } from './toConsumableArray-2718dc16.js';
|
|
4
4
|
import { _ as _extends } from './extends-26d3b609.js';
|
|
5
|
-
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-
|
|
5
|
+
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4b85034c.js';
|
|
6
6
|
import React__default, { Suspense } from 'react';
|
|
7
7
|
import Container from 'react-bootstrap/Container';
|
|
8
8
|
import Row from 'react-bootstrap/Row';
|
|
9
9
|
import Col from 'react-bootstrap/Col';
|
|
10
10
|
import Card from 'react-bootstrap/Card';
|
|
11
|
-
import { m as moment, V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-
|
|
11
|
+
import { m as moment, V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-3cea5efb.js';
|
|
12
12
|
import 'next/link';
|
|
13
13
|
import { withRouter } from 'next/router';
|
|
14
|
-
import { i as imageUrlBuilder } from './index-
|
|
14
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
15
15
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
16
16
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
17
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
18
|
-
import { g as get_1 } from './get-
|
|
17
|
+
import { A as ADInfeed } from './ADInfeed-aadcfc25.js';
|
|
18
|
+
import { g as get_1 } from './get-36d03764.js';
|
|
19
19
|
|
|
20
20
|
var Dfp = React__default.lazy(function () {
|
|
21
|
-
return import('./Dfp-
|
|
21
|
+
return import('./Dfp-9293acfb.js');
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
var AD = function AD(props) {
|
|
@@ -440,7 +440,7 @@ var GridContent = function (_React$Component) {
|
|
|
440
440
|
)
|
|
441
441
|
),
|
|
442
442
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
443
|
-
|
|
443
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
444
444
|
);
|
|
445
445
|
} else {
|
|
446
446
|
return React__default.createElement(
|
|
@@ -502,7 +502,7 @@ var GridContent = function (_React$Component) {
|
|
|
502
502
|
)
|
|
503
503
|
),
|
|
504
504
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
505
|
-
|
|
505
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
506
506
|
);
|
|
507
507
|
}
|
|
508
508
|
} else if (row._type === 'BrandInsight' && row.adUnit) {
|
|
@@ -562,7 +562,7 @@ var GridContent = function (_React$Component) {
|
|
|
562
562
|
)
|
|
563
563
|
),
|
|
564
564
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
565
|
-
|
|
565
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
566
566
|
);
|
|
567
567
|
}) : React__default.createElement(
|
|
568
568
|
'div',
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import './debounce-
|
|
5
|
-
import './main-
|
|
6
|
-
import './toConsumableArray-
|
|
4
|
+
import './debounce-702eb224.js';
|
|
5
|
+
import './main-cb86f95d.js';
|
|
6
|
+
import './toConsumableArray-2718dc16.js';
|
|
7
7
|
import './extends-26d3b609.js';
|
|
8
|
-
import './inherits-
|
|
8
|
+
import './inherits-4b85034c.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import 'react-bootstrap/Container';
|
|
12
12
|
import 'react-bootstrap/Row';
|
|
13
13
|
import 'react-bootstrap/Col';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import './visibility-sensor-
|
|
15
|
+
import './visibility-sensor-3cea5efb.js';
|
|
16
16
|
import 'next/link';
|
|
17
17
|
import 'next/router';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-51a80699.js';
|
|
20
20
|
import './index-5f9f807a.js';
|
|
21
21
|
import './entities-7cc3bf45.js';
|
|
22
22
|
import './slicedToArray-a47a84a4.js';
|
|
23
|
-
import './AdSlot-
|
|
24
|
-
import './promise-
|
|
25
|
-
import './ADInfeed-
|
|
26
|
-
import './get-
|
|
27
|
-
export { G as default } from './GridContent-
|
|
23
|
+
import './AdSlot-8946358f.js';
|
|
24
|
+
import './promise-86cb8313.js';
|
|
25
|
+
import './ADInfeed-aadcfc25.js';
|
|
26
|
+
import './get-36d03764.js';
|
|
27
|
+
export { G as default } from './GridContent-13be42a1.js';
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -9,10 +9,10 @@ import { L as LazyLoad } from './index-5f9f807a.js';
|
|
|
9
9
|
import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
|
|
10
10
|
import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
|
|
11
11
|
|
|
12
|
-
/*
|
|
13
|
-
GROQ query -
|
|
14
|
-
accepts an array of title, URL
|
|
15
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
12
|
+
/*
|
|
13
|
+
GROQ query -
|
|
14
|
+
accepts an array of title, URL
|
|
15
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
var GroupDeck = function GroupDeck(props) {
|
|
@@ -6,7 +6,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
6
6
|
import Card from 'react-bootstrap/Card';
|
|
7
7
|
import 'next/link';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
10
10
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import Badge from 'react-bootstrap/Badge';
|
|
12
12
|
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -6,7 +6,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
6
6
|
import Card from 'react-bootstrap/Card';
|
|
7
7
|
import 'next/link';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
10
10
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import Button from 'react-bootstrap/Button';
|
|
12
12
|
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
5
|
-
import { m as
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
4
|
+
import { d as debounce_1, l as lib_3 } from './debounce-702eb224.js';
|
|
5
|
+
import { m as main_39 } from './main-cb86f95d.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-2718dc16.js';
|
|
7
7
|
import { _ as _extends } from './extends-26d3b609.js';
|
|
8
|
-
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-
|
|
8
|
+
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4b85034c.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import Container from 'react-bootstrap/Container';
|
|
12
12
|
import 'react-bootstrap/Row';
|
|
13
13
|
import 'react-bootstrap/Col';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import { V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-
|
|
15
|
+
import { V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-3cea5efb.js';
|
|
16
16
|
import 'next/link';
|
|
17
17
|
import { withRouter } from 'next/router';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import './index-
|
|
20
|
-
import { _ as _Promise } from './promise-
|
|
19
|
+
import './index-51a80699.js';
|
|
20
|
+
import { _ as _Promise } from './promise-86cb8313.js';
|
|
21
21
|
|
|
22
22
|
var MasterDeck = function (_React$Component) {
|
|
23
23
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -162,14 +162,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
162
162
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
163
163
|
|
|
164
164
|
// please leave this for later debug purpose : Yong Jun.
|
|
165
|
-
/* console.log('page change reported', {
|
|
166
|
-
currentPage: currentPage,
|
|
167
|
-
pageNumber: pageNumber,
|
|
168
|
-
pathname: pathname,
|
|
169
|
-
path: path,
|
|
170
|
-
newPath: newPath,
|
|
171
|
-
firstPage: pageNumber === 1,
|
|
172
|
-
queryString: queryString
|
|
165
|
+
/* console.log('page change reported', {
|
|
166
|
+
currentPage: currentPage,
|
|
167
|
+
pageNumber: pageNumber,
|
|
168
|
+
pathname: pathname,
|
|
169
|
+
path: path,
|
|
170
|
+
newPath: newPath,
|
|
171
|
+
firstPage: pageNumber === 1,
|
|
172
|
+
queryString: queryString
|
|
173
173
|
}) */
|
|
174
174
|
|
|
175
175
|
if (pageview) {
|
|
@@ -201,7 +201,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
201
201
|
} },
|
|
202
202
|
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage })
|
|
203
203
|
),
|
|
204
|
-
|
|
204
|
+
main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
205
205
|
'div',
|
|
206
206
|
{ style: { margin: '0 auto' } },
|
|
207
207
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|