@mjhls/mjh-framework 1.0.223 → 1.0.225
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 +174 -174
- package/dist/cjs/DeckContent.js +11 -11
- package/dist/cjs/DeckQueue.js +3 -3
- package/dist/cjs/{Dfp-8b6f25fe.js → Dfp-c4f1f12a.js} +1 -1
- package/dist/cjs/{GridContent-8b0ebfec.js → GridContent-1575c8db.js} +4 -4
- package/dist/cjs/GridContent.js +4 -4
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/MasterDeck.js +11 -11
- package/dist/cjs/{Normal-78631b6e.js → Normal-11ae4373.js} +32 -31
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +3 -3
- package/dist/cjs/{TaxonomyCard-f24d8ec9.js → TaxonomyCard-d97685e2.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +2 -2
- package/dist/cjs/{YoutubeGroup-d2d9e57c.js → YoutubeGroup-ad994d02.js} +4 -4
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/{index-eb596973.js → index-a4c53ff4.js} +18 -18
- package/dist/cjs/index.js +77 -75
- package/dist/cjs/{main-c1bd47fe.js → main-58839f4e.js} +6 -6
- package/dist/cjs/{visibility-sensor-59b2685c.js → visibility-sensor-bea3105d.js} +1447 -2511
- package/dist/esm/DeckContent.js +11 -11
- package/dist/esm/DeckQueue.js +3 -3
- package/dist/esm/{Dfp-6c8d69e6.js → Dfp-6731ac01.js} +1 -1
- package/dist/esm/{GridContent-0777cc42.js → GridContent-e5cdc9da.js} +4 -4
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/{Normal-7d33c7bf.js → Normal-8e0aa5e8.js} +32 -31
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/{TaxonomyCard-ca8c7c8a.js → TaxonomyCard-f9c93953.js} +1 -1
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/{YoutubeGroup-d3b92eb5.js → YoutubeGroup-1368335c.js} +4 -4
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/{index-b7bbf1d4.js → index-ca4ff5cb.js} +18 -18
- package/dist/esm/index.js +80 -78
- package/dist/esm/{main-2504c03f.js → main-dea495b7.js} +6 -6
- package/dist/esm/{visibility-sensor-61158020.js → visibility-sensor-675d3fa1.js} +1447 -2511
- package/package.json +93 -93
package/dist/esm/DeckContent.js
CHANGED
|
@@ -6,14 +6,14 @@ import Container from 'react-bootstrap/Container';
|
|
|
6
6
|
import Row from 'react-bootstrap/Row';
|
|
7
7
|
import Col from 'react-bootstrap/Col';
|
|
8
8
|
import Card from 'react-bootstrap/Card';
|
|
9
|
-
import { I as InfiniteScroll, V as VisibilitySensor, m as moment } from './visibility-sensor-
|
|
9
|
+
import { I as InfiniteScroll, V as VisibilitySensor, m as moment } from './visibility-sensor-675d3fa1.js';
|
|
10
10
|
import 'next/link';
|
|
11
11
|
import { withRouter } from 'next/router';
|
|
12
12
|
import { d as debounce_1 } from './debounce-dc0c02e5.js';
|
|
13
13
|
import 'react-dom';
|
|
14
|
-
import { i as imageUrlBuilder } from './index-
|
|
14
|
+
import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
|
|
15
15
|
import { L as LazyLoad } from './index-3c1ee9ab.js';
|
|
16
|
-
import { a as main_36 } from './main-
|
|
16
|
+
import { a as main_36 } from './main-dea495b7.js';
|
|
17
17
|
import { c as clean_html_1 } from './entities-e85d3a4a.js';
|
|
18
18
|
import { i as inherits, c as createClass, a as classCallCheck, p as possibleConstructorReturn, _ as _extends, t as toConsumableArray } from './_babelHelpers-67c05996.js';
|
|
19
19
|
import { D as DFPAdSlot } from './AdSlot-b67f8534.js';
|
|
@@ -157,14 +157,14 @@ var DeckContent = function (_React$Component) {
|
|
|
157
157
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
158
158
|
|
|
159
159
|
// please leave this for later debug purpose : Yong Jun.
|
|
160
|
-
/* console.log('page change reported', {
|
|
161
|
-
currentPage: currentPage,
|
|
162
|
-
pageNumber: pageNumber,
|
|
163
|
-
pathname: pathname,
|
|
164
|
-
path: path,
|
|
165
|
-
newPath: newPath,
|
|
166
|
-
firstPage: pageNumber === 1,
|
|
167
|
-
queryString: queryString
|
|
160
|
+
/* console.log('page change reported', {
|
|
161
|
+
currentPage: currentPage,
|
|
162
|
+
pageNumber: pageNumber,
|
|
163
|
+
pathname: pathname,
|
|
164
|
+
path: path,
|
|
165
|
+
newPath: newPath,
|
|
166
|
+
firstPage: pageNumber === 1,
|
|
167
|
+
queryString: queryString
|
|
168
168
|
}) */
|
|
169
169
|
|
|
170
170
|
if (pageview) {
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -6,14 +6,14 @@ import Container from 'react-bootstrap/Container';
|
|
|
6
6
|
import Row from 'react-bootstrap/Row';
|
|
7
7
|
import Col from 'react-bootstrap/Col';
|
|
8
8
|
import Card from 'react-bootstrap/Card';
|
|
9
|
-
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-
|
|
9
|
+
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-675d3fa1.js';
|
|
10
10
|
import 'next/link';
|
|
11
11
|
import { withRouter } from 'next/router';
|
|
12
12
|
import { d as debounce_1 } from './debounce-dc0c02e5.js';
|
|
13
13
|
import 'react-dom';
|
|
14
|
-
import { i as imageUrlBuilder } from './index-
|
|
14
|
+
import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
|
|
15
15
|
import { L as LazyLoad } from './index-3c1ee9ab.js';
|
|
16
|
-
import { a as main_36 } from './main-
|
|
16
|
+
import { a as main_36 } from './main-dea495b7.js';
|
|
17
17
|
import { c as clean_html_1 } from './entities-e85d3a4a.js';
|
|
18
18
|
import { i as inherits, c as createClass, a as classCallCheck, p as possibleConstructorReturn, _ as _extends, t as toConsumableArray } from './_babelHelpers-67c05996.js';
|
|
19
19
|
import { g as get_1 } from './get-b074314b.js';
|
|
@@ -2,7 +2,7 @@ import React__default, { useState } from 'react';
|
|
|
2
2
|
import './_commonjsHelpers-ae1b5db5.js';
|
|
3
3
|
import { l as lib_1, b as lib_2 } from './index-6a79dad6.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
5
|
+
import { V as VisibilitySensor } from './visibility-sensor-675d3fa1.js';
|
|
6
6
|
import { d as debounce_1 } from './debounce-dc0c02e5.js';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import { s as slicedToArray } from './_babelHelpers-67c05996.js';
|
|
@@ -4,20 +4,20 @@ import Container from 'react-bootstrap/Container';
|
|
|
4
4
|
import Row from 'react-bootstrap/Row';
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Card from 'react-bootstrap/Card';
|
|
7
|
-
import { m as moment, V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-
|
|
7
|
+
import { m as moment, V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-675d3fa1.js';
|
|
8
8
|
import 'next/link';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import { d as debounce_1 } from './debounce-dc0c02e5.js';
|
|
11
|
-
import { i as imageUrlBuilder } from './index-
|
|
11
|
+
import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
|
|
12
12
|
import { L as LazyLoad } from './index-3c1ee9ab.js';
|
|
13
|
-
import { a as main_36 } from './main-
|
|
13
|
+
import { a as main_36 } from './main-dea495b7.js';
|
|
14
14
|
import { c as clean_html_1 } from './entities-e85d3a4a.js';
|
|
15
15
|
import { i as inherits, c as createClass, t as toConsumableArray, a as classCallCheck, p as possibleConstructorReturn, _ as _extends } from './_babelHelpers-67c05996.js';
|
|
16
16
|
import { D as DFPAdSlot } from './AdSlot-b67f8534.js';
|
|
17
17
|
import { g as get_1 } from './get-b074314b.js';
|
|
18
18
|
|
|
19
19
|
var Dfp = React__default.lazy(function () {
|
|
20
|
-
return import('./Dfp-
|
|
20
|
+
return import('./Dfp-6731ac01.js');
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
var AD = function AD(props) {
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -6,16 +6,16 @@ import 'react-bootstrap/Container';
|
|
|
6
6
|
import 'react-bootstrap/Row';
|
|
7
7
|
import 'react-bootstrap/Col';
|
|
8
8
|
import 'react-bootstrap/Card';
|
|
9
|
-
import './visibility-sensor-
|
|
9
|
+
import './visibility-sensor-675d3fa1.js';
|
|
10
10
|
import 'next/link';
|
|
11
11
|
import 'next/router';
|
|
12
12
|
import './debounce-dc0c02e5.js';
|
|
13
13
|
import 'react-dom';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-ca4ff5cb.js';
|
|
15
15
|
import './index-3c1ee9ab.js';
|
|
16
|
-
import './main-
|
|
16
|
+
import './main-dea495b7.js';
|
|
17
17
|
import './entities-e85d3a4a.js';
|
|
18
18
|
import './_babelHelpers-67c05996.js';
|
|
19
19
|
import './AdSlot-b67f8534.js';
|
|
20
20
|
import './get-b074314b.js';
|
|
21
|
-
export { G as default } from './GridContent-
|
|
21
|
+
export { G as default } from './GridContent-e5cdc9da.js';
|
|
@@ -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-ca4ff5cb.js';
|
|
10
10
|
import { L as LazyLoad } from './index-3c1ee9ab.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-ca4ff5cb.js';
|
|
10
10
|
import { L as LazyLoad } from './index-3c1ee9ab.js';
|
|
11
11
|
import Button from 'react-bootstrap/Button';
|
|
12
12
|
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -6,13 +6,13 @@ import Container from 'react-bootstrap/Container';
|
|
|
6
6
|
import Row from 'react-bootstrap/Row';
|
|
7
7
|
import 'react-bootstrap/Col';
|
|
8
8
|
import 'react-bootstrap/Card';
|
|
9
|
-
import { I as InfiniteScroll, V as VisibilitySensor } from './visibility-sensor-
|
|
9
|
+
import { I as InfiniteScroll, V as VisibilitySensor } from './visibility-sensor-675d3fa1.js';
|
|
10
10
|
import 'next/link';
|
|
11
11
|
import { withRouter } from 'next/router';
|
|
12
12
|
import { d as debounce_1 } from './debounce-dc0c02e5.js';
|
|
13
13
|
import 'react-dom';
|
|
14
|
-
import './index-
|
|
15
|
-
import { a as main_36 } from './main-
|
|
14
|
+
import './index-ca4ff5cb.js';
|
|
15
|
+
import { a as main_36 } from './main-dea495b7.js';
|
|
16
16
|
import { i as inherits, c as createClass, a as classCallCheck, p as possibleConstructorReturn, _ as _extends, t as toConsumableArray } from './_babelHelpers-67c05996.js';
|
|
17
17
|
|
|
18
18
|
var MasterDeck = function (_React$Component) {
|
|
@@ -158,14 +158,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
158
158
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
159
159
|
|
|
160
160
|
// please leave this for later debug purpose : Yong Jun.
|
|
161
|
-
/* console.log('page change reported', {
|
|
162
|
-
currentPage: currentPage,
|
|
163
|
-
pageNumber: pageNumber,
|
|
164
|
-
pathname: pathname,
|
|
165
|
-
path: path,
|
|
166
|
-
newPath: newPath,
|
|
167
|
-
firstPage: pageNumber === 1,
|
|
168
|
-
queryString: queryString
|
|
161
|
+
/* console.log('page change reported', {
|
|
162
|
+
currentPage: currentPage,
|
|
163
|
+
pageNumber: pageNumber,
|
|
164
|
+
pathname: pathname,
|
|
165
|
+
path: path,
|
|
166
|
+
newPath: newPath,
|
|
167
|
+
firstPage: pageNumber === 1,
|
|
168
|
+
queryString: queryString
|
|
169
169
|
}) */
|
|
170
170
|
|
|
171
171
|
if (pageview) {
|
|
@@ -5,7 +5,7 @@ import Container from 'react-bootstrap/Container';
|
|
|
5
5
|
import Row from 'react-bootstrap/Row';
|
|
6
6
|
import Col from 'react-bootstrap/Col';
|
|
7
7
|
import Link from 'next/link';
|
|
8
|
-
import { a as main_36, b as main_37 } from './main-
|
|
8
|
+
import { a as main_36, b as main_37 } from './main-dea495b7.js';
|
|
9
9
|
import { s as slicedToArray } from './_babelHelpers-67c05996.js';
|
|
10
10
|
import { D as DFPAdSlot } from './AdSlot-b67f8534.js';
|
|
11
11
|
import { g as get_1 } from './get-b074314b.js';
|
|
@@ -669,8 +669,8 @@ var renderLink = function renderLink(row) {
|
|
|
669
669
|
};
|
|
670
670
|
|
|
671
671
|
var SideFooter = function SideFooter(props) {
|
|
672
|
-
/*
|
|
673
|
-
useage example: <SideFooter cache={props.cache} logo='/an_mjhls_brand_logo.png' />
|
|
672
|
+
/*
|
|
673
|
+
useage example: <SideFooter cache={props.cache} logo='/an_mjhls_brand_logo.png' />
|
|
674
674
|
*/
|
|
675
675
|
var _get = get_1(props, 'cache.siteSettingCache', {}),
|
|
676
676
|
socialLinks = _get.socialLinks,
|
|
@@ -1243,15 +1243,15 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
1243
1243
|
};
|
|
1244
1244
|
|
|
1245
1245
|
var NavMagazine = function NavMagazine(props) {
|
|
1246
|
-
/*
|
|
1247
|
-
Example Nav with acceptable props
|
|
1248
|
-
|
|
1249
|
-
showLogin
|
|
1250
|
-
logo={props.settings.logo}
|
|
1251
|
-
dataObject={props.cache.mainNavCache}
|
|
1252
|
-
website={website}
|
|
1253
|
-
subNav={props.cache.subNavCache}
|
|
1254
|
-
/>
|
|
1246
|
+
/*
|
|
1247
|
+
Example Nav with acceptable props
|
|
1248
|
+
<MagazineNav
|
|
1249
|
+
showLogin
|
|
1250
|
+
logo={props.settings.logo}
|
|
1251
|
+
dataObject={props.cache.mainNavCache}
|
|
1252
|
+
website={website}
|
|
1253
|
+
subNav={props.cache.subNavCache}
|
|
1254
|
+
/>
|
|
1255
1255
|
*/
|
|
1256
1256
|
|
|
1257
1257
|
var logo = props.logo,
|
|
@@ -1539,15 +1539,15 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
1539
1539
|
var MagazineNav = React__default.memo(NavMagazine);
|
|
1540
1540
|
|
|
1541
1541
|
var NavNative = function NavNative(props) {
|
|
1542
|
-
/*
|
|
1543
|
-
Example Nav with acceptable props
|
|
1544
|
-
|
|
1545
|
-
showLogin
|
|
1546
|
-
logo={props.settings.logo}
|
|
1547
|
-
dataObject={props.cache.mainNavCache}
|
|
1548
|
-
website={website}
|
|
1549
|
-
subNav={props.cache.subNavCache}
|
|
1550
|
-
/>
|
|
1542
|
+
/*
|
|
1543
|
+
Example Nav with acceptable props
|
|
1544
|
+
<MagazineNav
|
|
1545
|
+
showLogin
|
|
1546
|
+
logo={props.settings.logo}
|
|
1547
|
+
dataObject={props.cache.mainNavCache}
|
|
1548
|
+
website={website}
|
|
1549
|
+
subNav={props.cache.subNavCache}
|
|
1550
|
+
/>
|
|
1551
1551
|
*/
|
|
1552
1552
|
|
|
1553
1553
|
var logo = props.logo,
|
|
@@ -1941,15 +1941,15 @@ var NavDvm = function NavDvm(props) {
|
|
|
1941
1941
|
};
|
|
1942
1942
|
|
|
1943
1943
|
var HamMagazine = function HamMagazine(props) {
|
|
1944
|
-
/*
|
|
1945
|
-
Example Nav with acceptable props
|
|
1946
|
-
<MagazineNav
|
|
1947
|
-
showLogin
|
|
1948
|
-
logo={props.settings.logo}
|
|
1949
|
-
dataObject={props.cache.mainNavCache}
|
|
1950
|
-
website={website}
|
|
1951
|
-
subNav={props.cache.subNavCache}
|
|
1952
|
-
/>
|
|
1944
|
+
/*
|
|
1945
|
+
Example Nav with acceptable props
|
|
1946
|
+
<MagazineNav
|
|
1947
|
+
showLogin
|
|
1948
|
+
logo={props.settings.logo}
|
|
1949
|
+
dataObject={props.cache.mainNavCache}
|
|
1950
|
+
website={website}
|
|
1951
|
+
subNav={props.cache.subNavCache}
|
|
1952
|
+
/>
|
|
1953
1953
|
*/
|
|
1954
1954
|
|
|
1955
1955
|
var logo = props.logo,
|
|
@@ -2330,7 +2330,8 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
2330
2330
|
dataObject: config.navItems,
|
|
2331
2331
|
mobileLogo: website.logo,
|
|
2332
2332
|
subNav: config.leftItems,
|
|
2333
|
-
website: website.siteSettingCache
|
|
2333
|
+
website: website.siteSettingCache,
|
|
2334
|
+
showLogin: website.showLogin
|
|
2334
2335
|
});
|
|
2335
2336
|
default:
|
|
2336
2337
|
return React__default.createElement('noNav', null);
|
|
@@ -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-ca4ff5cb.js';
|
|
10
10
|
import { L as LazyLoad } from './index-3c1ee9ab.js';
|
|
11
11
|
import Button from 'react-bootstrap/Button';
|
|
12
12
|
|
|
@@ -2,13 +2,13 @@ import React__default, { useState, useEffect, useRef } from 'react';
|
|
|
2
2
|
import './_commonjsHelpers-ae1b5db5.js';
|
|
3
3
|
import { a as lib_3 } from './index-6a79dad6.js';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import { I as InfiniteScroll, V as VisibilitySensor, m as moment } from './visibility-sensor-
|
|
5
|
+
import { I as InfiniteScroll, V as VisibilitySensor, m as moment } from './visibility-sensor-675d3fa1.js';
|
|
6
6
|
import 'next/link';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
|
|
10
10
|
import { L as LazyLoad } from './index-3c1ee9ab.js';
|
|
11
|
-
import { a as main_36 } from './main-
|
|
11
|
+
import { a as main_36 } from './main-dea495b7.js';
|
|
12
12
|
import { c as clean_html_1 } from './entities-e85d3a4a.js';
|
|
13
13
|
import { s as slicedToArray, _ as _extends, t as toConsumableArray } from './_babelHelpers-67c05996.js';
|
|
14
14
|
import { Container, Media } from 'react-bootstrap';
|
|
@@ -4,7 +4,7 @@ import Container from 'react-bootstrap/Container';
|
|
|
4
4
|
import Row from 'react-bootstrap/Row';
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Card from 'react-bootstrap/Card';
|
|
7
|
-
import { n as node, i as imageUrlBuilder } from './index-
|
|
7
|
+
import { n as node, i as imageUrlBuilder } from './index-ca4ff5cb.js';
|
|
8
8
|
import { L as LazyLoad } from './index-3c1ee9ab.js';
|
|
9
9
|
import { _ as _extends } from './_babelHelpers-67c05996.js';
|
|
10
10
|
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -6,7 +6,7 @@ import 'react-bootstrap/Row';
|
|
|
6
6
|
import 'react-bootstrap/Col';
|
|
7
7
|
import 'react-bootstrap/Card';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import './index-
|
|
9
|
+
import './index-ca4ff5cb.js';
|
|
10
10
|
import './index-3c1ee9ab.js';
|
|
11
11
|
import './_babelHelpers-67c05996.js';
|
|
12
|
-
export { T as default } from './TaxonomyCard-
|
|
12
|
+
export { T as default } from './TaxonomyCard-f9c93953.js';
|
|
@@ -7,14 +7,14 @@ import 'react-bootstrap/Row';
|
|
|
7
7
|
import 'react-bootstrap/Col';
|
|
8
8
|
import 'next/link';
|
|
9
9
|
import './debounce-dc0c02e5.js';
|
|
10
|
-
import './main-
|
|
10
|
+
import './main-dea495b7.js';
|
|
11
11
|
import './_babelHelpers-67c05996.js';
|
|
12
12
|
import './AdSlot-b67f8534.js';
|
|
13
13
|
import './get-b074314b.js';
|
|
14
14
|
import 'react-bootstrap';
|
|
15
15
|
import './index.esm-536609db.js';
|
|
16
16
|
import 'react-bootstrap/Button';
|
|
17
|
-
export { T as default } from './Normal-
|
|
17
|
+
export { T as default } from './Normal-8e0aa5e8.js';
|
|
18
18
|
import 'react-bootstrap/ListGroup';
|
|
19
19
|
import 'next/head';
|
|
20
20
|
import 'react-bootstrap/Nav';
|
|
@@ -2,7 +2,7 @@ import React__default from 'react';
|
|
|
2
2
|
import './_commonjsHelpers-ae1b5db5.js';
|
|
3
3
|
import 'prop-types';
|
|
4
4
|
import 'react-dom';
|
|
5
|
-
import { i as imageUrlBuilder } from './index-
|
|
5
|
+
import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
|
|
6
6
|
import { L as LazyLoad } from './index-3c1ee9ab.js';
|
|
7
7
|
import { c as clean_html_1 } from './entities-e85d3a4a.js';
|
|
8
8
|
import Media$1 from 'react-bootstrap/Media';
|
|
@@ -3,14 +3,14 @@ import './_commonjsHelpers-ae1b5db5.js';
|
|
|
3
3
|
import { a as lib_3 } from './index-6a79dad6.js';
|
|
4
4
|
import 'prop-types';
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
6
|
-
import { I as InfiniteScroll, V as VisibilitySensor } from './visibility-sensor-
|
|
6
|
+
import { I as InfiniteScroll, V as VisibilitySensor } from './visibility-sensor-675d3fa1.js';
|
|
7
7
|
import 'next/link';
|
|
8
8
|
import { withRouter } from 'next/router';
|
|
9
9
|
import { d as debounce_1 } from './debounce-dc0c02e5.js';
|
|
10
10
|
import 'react-dom';
|
|
11
11
|
import './index-3c1ee9ab.js';
|
|
12
12
|
import { i as inherits, c as createClass, a as classCallCheck, p as possibleConstructorReturn, _ as _extends } from './_babelHelpers-67c05996.js';
|
|
13
|
-
import { Y as YoutubeGroup } from './YoutubeGroup-
|
|
13
|
+
import { Y as YoutubeGroup } from './YoutubeGroup-1368335c.js';
|
|
14
14
|
import { a as IoIosArrowForward } from './index.esm-536609db.js';
|
|
15
15
|
|
|
16
16
|
var VideoSeriesListing = function (_React$Component) {
|
|
@@ -52,10 +52,10 @@ var getYoutubeId = createCommonjsModule(function (module, exports) {
|
|
|
52
52
|
}));
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
-
/*
|
|
56
|
-
GROQ query -
|
|
57
|
-
accepts an array of title, URL
|
|
58
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
55
|
+
/*
|
|
56
|
+
GROQ query -
|
|
57
|
+
accepts an array of title, URL
|
|
58
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
59
59
|
*/
|
|
60
60
|
var YoutubeGroup = function YoutubeGroup(props) {
|
|
61
61
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -58,35 +58,35 @@ function parseSource(source) {
|
|
|
58
58
|
if (typeof source === 'string' && isUrl(source)) {
|
|
59
59
|
// Someone passed an existing image url?
|
|
60
60
|
image = {
|
|
61
|
-
asset: { _ref: urlToId(source) }
|
|
61
|
+
asset: { _ref: urlToId(source) }
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
else if (typeof source === 'string') {
|
|
65
65
|
// Just an asset id
|
|
66
66
|
image = {
|
|
67
|
-
asset: { _ref: source }
|
|
67
|
+
asset: { _ref: source }
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
else if (isRef(source)) {
|
|
71
71
|
// We just got passed an asset directly
|
|
72
72
|
image = {
|
|
73
|
-
asset: source
|
|
73
|
+
asset: source
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
else if (isAsset(source)) {
|
|
77
77
|
// If we were passed an image asset document
|
|
78
78
|
image = {
|
|
79
79
|
asset: {
|
|
80
|
-
_ref: source._id || ''
|
|
81
|
-
}
|
|
80
|
+
_ref: source._id || ''
|
|
81
|
+
}
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
else if (isAssetStub(source)) {
|
|
85
85
|
// If we were passed a partial asset (`url`, but no `_id`)
|
|
86
86
|
image = {
|
|
87
87
|
asset: {
|
|
88
|
-
_ref: urlToId(source.asset.url)
|
|
89
|
-
}
|
|
88
|
+
_ref: urlToId(source.asset.url)
|
|
89
|
+
}
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
else if (typeof source.asset === 'object') {
|
|
@@ -127,7 +127,7 @@ function applyDefaults(image) {
|
|
|
127
127
|
left: 0,
|
|
128
128
|
top: 0,
|
|
129
129
|
bottom: 0,
|
|
130
|
-
right: 0
|
|
130
|
+
right: 0
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
if (!result.hotspot) {
|
|
@@ -135,7 +135,7 @@ function applyDefaults(image) {
|
|
|
135
135
|
x: 0.5,
|
|
136
136
|
y: 0.5,
|
|
137
137
|
height: 1.0,
|
|
138
|
-
width: 1.0
|
|
138
|
+
width: 1.0
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
141
|
return result;
|
|
@@ -182,7 +182,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
|
|
|
182
182
|
['crop', 'crop'],
|
|
183
183
|
['saturation', 'sat'],
|
|
184
184
|
['auto', 'auto'],
|
|
185
|
-
['dpr', 'dpr']
|
|
185
|
+
['dpr', 'dpr']
|
|
186
186
|
];
|
|
187
187
|
function urlForImage(options) {
|
|
188
188
|
var spec = __assign({}, (options || {}));
|
|
@@ -201,7 +201,7 @@ function urlForImage(options) {
|
|
|
201
201
|
left: cropLeft,
|
|
202
202
|
top: cropTop,
|
|
203
203
|
width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
|
|
204
|
-
height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
|
|
204
|
+
height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
|
|
205
205
|
};
|
|
206
206
|
// Compute hot spot rect in terms of pixel coordinates
|
|
207
207
|
var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
|
|
@@ -212,7 +212,7 @@ function urlForImage(options) {
|
|
|
212
212
|
left: hotSpotCenterX - hotSpotHorizontalRadius,
|
|
213
213
|
top: hotSpotCenterY - hotSpotVerticalRadius,
|
|
214
214
|
right: hotSpotCenterX + hotSpotHorizontalRadius,
|
|
215
|
-
bottom: hotSpotCenterY + hotSpotVerticalRadius
|
|
215
|
+
bottom: hotSpotCenterY + hotSpotVerticalRadius
|
|
216
216
|
};
|
|
217
217
|
// If irrelevant, or if we are requested to: don't perform crop/fit based on
|
|
218
218
|
// the crop/hotspot.
|
|
@@ -294,7 +294,7 @@ function fit(source, spec) {
|
|
|
294
294
|
left: Math.round(left),
|
|
295
295
|
top: Math.round(top_2),
|
|
296
296
|
width: Math.round(width),
|
|
297
|
-
height: Math.round(height)
|
|
297
|
+
height: Math.round(height)
|
|
298
298
|
};
|
|
299
299
|
}
|
|
300
300
|
else {
|
|
@@ -316,13 +316,13 @@ function fit(source, spec) {
|
|
|
316
316
|
left: Math.max(0, Math.floor(left)),
|
|
317
317
|
top: Math.max(0, Math.floor(top_3)),
|
|
318
318
|
width: Math.round(width),
|
|
319
|
-
height: Math.round(height)
|
|
319
|
+
height: Math.round(height)
|
|
320
320
|
};
|
|
321
321
|
}
|
|
322
322
|
return {
|
|
323
323
|
width: imgWidth,
|
|
324
324
|
height: imgHeight,
|
|
325
|
-
rect: cropRect
|
|
325
|
+
rect: cropRect
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
328
|
|
|
@@ -380,7 +380,7 @@ function urlBuilder(options) {
|
|
|
380
380
|
return new ImageUrlBuilder(null, {
|
|
381
381
|
baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
|
|
382
382
|
projectId: projectId,
|
|
383
|
-
dataset: dataset
|
|
383
|
+
dataset: dataset
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
386
|
// Or just accept the options as given
|
|
@@ -393,7 +393,7 @@ var ImageUrlBuilder = /** @class */ (function () {
|
|
|
393
393
|
? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
|
|
394
394
|
}
|
|
395
395
|
ImageUrlBuilder.prototype.withOptions = function (options) {
|
|
396
|
-
var baseUrl = options.baseUrl ||
|
|
396
|
+
var baseUrl = options.baseUrl || '';
|
|
397
397
|
var newOptions = { baseUrl: baseUrl };
|
|
398
398
|
for (var key in options) {
|
|
399
399
|
if (options.hasOwnProperty(key)) {
|
|
@@ -521,7 +521,7 @@ var ImageUrlBuilder = /** @class */ (function () {
|
|
|
521
521
|
ImageUrlBuilder.prototype.url = function () {
|
|
522
522
|
return urlForImage_1$1.default(this.options);
|
|
523
523
|
};
|
|
524
|
-
//
|
|
524
|
+
// Synonym for url()
|
|
525
525
|
ImageUrlBuilder.prototype.toString = function () {
|
|
526
526
|
return this.url();
|
|
527
527
|
};
|