@mjhls/mjh-framework 1.0.1035-segment → 1.0.1036
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 +1 -1
- package/dist/cjs/AlgoliaSearch.js +62 -90
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +17 -25
- package/dist/cjs/HamMagazine.js +11 -11
- package/dist/cjs/{ImageSlider-eb866353.js → ImageSlider-984a697b.js} +10 -5
- package/dist/cjs/LeftNav.js +3 -3
- package/dist/cjs/MediaSeriesLanding.js +1 -1
- package/dist/cjs/MediaSeriesLandingPaginated.js +1 -1
- package/dist/cjs/NavDvm.js +6 -6
- package/dist/cjs/NavMagazine.js +7 -7
- package/dist/cjs/NavNative.js +8 -8
- package/dist/cjs/PartnerDetailListing.js +2 -2
- package/dist/cjs/PartnerDetailListingPaginated.js +2 -2
- package/dist/cjs/SideFooter.js +3 -3
- package/dist/cjs/{Tooltip-8011d690.js → Tooltip-96fe6ef6.js} +9 -28
- package/dist/cjs/View.js +1 -1
- package/dist/cjs/{defineProperty-19580e93.js → defineProperty-e0fb52c5.js} +4 -2
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/{index-3cd60d26.js → index-bd6c9f56.js} +11 -11
- package/dist/cjs/index.js +4 -3
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/esm/AlgoliaSearch.js +62 -90
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +16 -24
- package/dist/esm/HamMagazine.js +11 -11
- package/dist/esm/{ImageSlider-fc25202e.js → ImageSlider-497e9c88.js} +10 -5
- package/dist/esm/LeftNav.js +3 -3
- package/dist/esm/MediaSeriesLanding.js +1 -1
- package/dist/esm/MediaSeriesLandingPaginated.js +1 -1
- package/dist/esm/NavDvm.js +6 -6
- package/dist/esm/NavMagazine.js +7 -7
- package/dist/esm/NavNative.js +8 -8
- package/dist/esm/PartnerDetailListing.js +2 -2
- package/dist/esm/PartnerDetailListingPaginated.js +2 -2
- package/dist/esm/SideFooter.js +3 -3
- package/dist/esm/{Tooltip-2cdd0895.js → Tooltip-bc98d17e.js} +9 -28
- package/dist/esm/View.js +1 -1
- package/dist/esm/{defineProperty-e8022d1e.js → defineProperty-23a8f8cd.js} +4 -2
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/{index-0a63f9a3.js → index-db3bb315.js} +11 -11
- package/dist/esm/index.js +4 -3
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, a as _defineProperty } from './defineProperty-
|
|
1
|
+
import { _ as _asyncToGenerator, a as _defineProperty } from './defineProperty-23a8f8cd.js';
|
|
2
2
|
import React__default, { createContext, Component, forwardRef, PureComponent, useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -30,7 +30,8 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
30
30
|
return target;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
module.exports = _objectWithoutPropertiesLoose
|
|
33
|
+
module.exports = _objectWithoutPropertiesLoose;
|
|
34
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
34
35
|
});
|
|
35
36
|
|
|
36
37
|
unwrapExports(objectWithoutPropertiesLoose);
|
|
@@ -55,7 +56,8 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
55
56
|
return target;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
module.exports = _objectWithoutProperties
|
|
59
|
+
module.exports = _objectWithoutProperties;
|
|
60
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
59
61
|
});
|
|
60
62
|
|
|
61
63
|
var _objectWithoutProperties = unwrapExports(objectWithoutProperties);
|
|
@@ -820,11 +822,14 @@ function _extends() {
|
|
|
820
822
|
}
|
|
821
823
|
|
|
822
824
|
return target;
|
|
823
|
-
}
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
824
828
|
return _extends.apply(this, arguments);
|
|
825
829
|
}
|
|
826
830
|
|
|
827
|
-
module.exports = _extends
|
|
831
|
+
module.exports = _extends;
|
|
832
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
828
833
|
});
|
|
829
834
|
|
|
830
835
|
var _extends = unwrapExports(_extends_1);
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -52,7 +52,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
52
52
|
var leftNavRef = useRef(null);
|
|
53
53
|
useEffect(function () {
|
|
54
54
|
setTimeout(function () {
|
|
55
|
-
var segmentLinks = leftNavRef.current.querySelectorAll('a[
|
|
55
|
+
var segmentLinks = leftNavRef.current.querySelectorAll('a[needsegmentsupport="true"]');
|
|
56
56
|
for (var i = 0; i < segmentLinks.length; i++) {
|
|
57
57
|
var link = segmentLinks[i];
|
|
58
58
|
var href = link.getAttribute('href');
|
|
@@ -68,7 +68,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
68
68
|
'a',
|
|
69
69
|
_extends({
|
|
70
70
|
target: subRow.blank ? '_blank' : '_self'
|
|
71
|
-
}, subRow.needSegmentSupport ? {
|
|
71
|
+
}, subRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
72
72
|
href: subRow.url
|
|
73
73
|
}, checkSisterSite(subRow.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
74
74
|
subRow.name
|
|
@@ -80,7 +80,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
80
80
|
_extends({
|
|
81
81
|
href: subRow.url || '#',
|
|
82
82
|
target: subRow.blank ? '_blank' : '_self'
|
|
83
|
-
}, subRow.needSegmentSupport ? {
|
|
83
|
+
}, subRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, checkSisterSite(subRow.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
84
84
|
subRow.name
|
|
85
85
|
);
|
|
86
86
|
};
|
|
@@ -3,7 +3,7 @@ import { _ as _typeof } from './typeof-657f25da.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-bc98d17e.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
@@ -3,7 +3,7 @@ import { _ as _typeof } from './typeof-657f25da.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-bc98d17e.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
package/dist/esm/NavDvm.js
CHANGED
|
@@ -35,7 +35,7 @@ var NavDvm = function NavDvm(props) {
|
|
|
35
35
|
// this adds ?eKey=xxx or ?anonymousid=xxx for forms that's outside - eg) formstack forms
|
|
36
36
|
// for tracking same user
|
|
37
37
|
setTimeout(function () {
|
|
38
|
-
var segmentLinks = sfRef.current.querySelectorAll('a[
|
|
38
|
+
var segmentLinks = sfRef.current.querySelectorAll('a[needsegmentsupport="true"]');
|
|
39
39
|
for (var i = 0; i < segmentLinks.length; i++) {
|
|
40
40
|
var link = segmentLinks[i];
|
|
41
41
|
var href = link.getAttribute('href');
|
|
@@ -53,7 +53,7 @@ var NavDvm = function NavDvm(props) {
|
|
|
53
53
|
'a',
|
|
54
54
|
_extends({
|
|
55
55
|
target: blank ? '_blank' : '_self'
|
|
56
|
-
}, needSegmentSupport ? {
|
|
56
|
+
}, needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
57
57
|
key: key,
|
|
58
58
|
href: url || '#',
|
|
59
59
|
className: className
|
|
@@ -67,7 +67,7 @@ var NavDvm = function NavDvm(props) {
|
|
|
67
67
|
_extends({
|
|
68
68
|
key: key,
|
|
69
69
|
href: url || '#'
|
|
70
|
-
}, needSegmentSupport ? {
|
|
70
|
+
}, needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
71
71
|
target: blank ? '_blank' : '_self',
|
|
72
72
|
className: className
|
|
73
73
|
}, checkSisterSite(url) ? {} : { rel: 'noopener noreferrer' }),
|
|
@@ -179,7 +179,7 @@ var NavDvm = function NavDvm(props) {
|
|
|
179
179
|
'a',
|
|
180
180
|
_extends({
|
|
181
181
|
key: subIndex
|
|
182
|
-
}, ddRow.needSegmentSupport ? {
|
|
182
|
+
}, ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
183
183
|
href: ddRow.url,
|
|
184
184
|
target: ddRow.blank ? '_blank' : '_self',
|
|
185
185
|
className: 'dropdown-item'
|
|
@@ -205,7 +205,7 @@ var NavDvm = function NavDvm(props) {
|
|
|
205
205
|
'a',
|
|
206
206
|
_extends({
|
|
207
207
|
key: subIndex
|
|
208
|
-
}, ddRow.needSegmentSupport ? {
|
|
208
|
+
}, ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
209
209
|
href: ddRow.url,
|
|
210
210
|
target: ddRow.blank ? '_blank' : '_self',
|
|
211
211
|
className: 'dropdown-item'
|
|
@@ -223,7 +223,7 @@ var NavDvm = function NavDvm(props) {
|
|
|
223
223
|
'a',
|
|
224
224
|
_extends({
|
|
225
225
|
key: index
|
|
226
|
-
}, row.needSegmentSupport ? {
|
|
226
|
+
}, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
227
227
|
href: row.url,
|
|
228
228
|
target: row.blank ? '_blank' : '_self',
|
|
229
229
|
className: 'nav-link'
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -110,7 +110,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
110
110
|
setScreenWidth(parseInt(window.innerWidth));
|
|
111
111
|
|
|
112
112
|
setTimeout(function () {
|
|
113
|
-
var segmentLinks = navRef.current.querySelectorAll('a[
|
|
113
|
+
var segmentLinks = navRef.current.querySelectorAll('a[needsegmentsupport="true"]');
|
|
114
114
|
for (var i = 0; i < segmentLinks.length; i++) {
|
|
115
115
|
var link = segmentLinks[i];
|
|
116
116
|
var href = link.getAttribute('href');
|
|
@@ -429,7 +429,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
429
429
|
'a',
|
|
430
430
|
_extends({
|
|
431
431
|
key: subIndex
|
|
432
|
-
}, ddRow.needSegmentSupport ? {
|
|
432
|
+
}, ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
433
433
|
href: ddRow.url
|
|
434
434
|
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
435
435
|
target: ddRow.blank ? '_blank' : '_self',
|
|
@@ -455,7 +455,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
455
455
|
'a',
|
|
456
456
|
_extends({
|
|
457
457
|
key: subIndex
|
|
458
|
-
}, ddRow.needSegmentSupport ? {
|
|
458
|
+
}, ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
459
459
|
href: ddRow.url
|
|
460
460
|
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
461
461
|
target: ddRow.blank ? '_blank' : '_self',
|
|
@@ -473,7 +473,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
473
473
|
'a',
|
|
474
474
|
_extends({
|
|
475
475
|
key: index
|
|
476
|
-
}, row.needSegmentSupport ? {
|
|
476
|
+
}, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
477
477
|
href: row.url,
|
|
478
478
|
target: row.blank ? '_blank' : '_self',
|
|
479
479
|
className: 'nav-link'
|
|
@@ -515,7 +515,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
515
515
|
'a',
|
|
516
516
|
_extends({
|
|
517
517
|
key: subIndex
|
|
518
|
-
}, ddRow.needSegmentSupport ? {
|
|
518
|
+
}, ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
519
519
|
href: ddRow.url
|
|
520
520
|
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
521
521
|
target: ddRow.blank ? '_blank' : '_self',
|
|
@@ -539,7 +539,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
539
539
|
'a',
|
|
540
540
|
_extends({
|
|
541
541
|
key: subIndex
|
|
542
|
-
}, ddRow.needSegmentSupport ? {
|
|
542
|
+
}, ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
543
543
|
href: ddRow.url
|
|
544
544
|
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
545
545
|
target: ddRow.blank ? '_blank' : '_self',
|
|
@@ -556,7 +556,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
556
556
|
'a',
|
|
557
557
|
_extends({
|
|
558
558
|
key: index
|
|
559
|
-
}, row.needSegmentSupport ? {
|
|
559
|
+
}, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
560
560
|
href: row.url,
|
|
561
561
|
target: row.blank ? '_blank' : '_self',
|
|
562
562
|
className: 'nav-link'
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -366,7 +366,7 @@ var NavNative = function NavNative(props) {
|
|
|
366
366
|
|
|
367
367
|
useEffect(function () {
|
|
368
368
|
setTimeout(function () {
|
|
369
|
-
var segmentLinks = navRef.current.querySelectorAll('a[
|
|
369
|
+
var segmentLinks = navRef.current.querySelectorAll('a[needsegmentsupport="true"]');
|
|
370
370
|
for (var i = 0; i < segmentLinks.length; i++) {
|
|
371
371
|
var link = segmentLinks[i];
|
|
372
372
|
var href = link.getAttribute('href');
|
|
@@ -666,7 +666,7 @@ var NavNative = function NavNative(props) {
|
|
|
666
666
|
'a',
|
|
667
667
|
_extends({
|
|
668
668
|
key: subIndex
|
|
669
|
-
}, ddRow && ddRow.needSegmentSupport ? {
|
|
669
|
+
}, ddRow && ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
670
670
|
href: ddRow.url
|
|
671
671
|
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
672
672
|
target: ddRow.blank ? '_blank' : '_self',
|
|
@@ -692,7 +692,7 @@ var NavNative = function NavNative(props) {
|
|
|
692
692
|
'a',
|
|
693
693
|
_extends({
|
|
694
694
|
key: subIndex
|
|
695
|
-
}, ddRow && ddRow.needSegmentSupport ? {
|
|
695
|
+
}, ddRow && ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
696
696
|
href: ddRow.url
|
|
697
697
|
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
698
698
|
target: ddRow.blank ? '_blank' : '_self',
|
|
@@ -710,7 +710,7 @@ var NavNative = function NavNative(props) {
|
|
|
710
710
|
'a',
|
|
711
711
|
_extends({
|
|
712
712
|
key: index
|
|
713
|
-
}, row && row.needSegmentSupport ? {
|
|
713
|
+
}, row && row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
714
714
|
href: row.url,
|
|
715
715
|
target: row.blank ? '_blank' : '_self',
|
|
716
716
|
className: 'nav-link'
|
|
@@ -754,7 +754,7 @@ var NavNative = function NavNative(props) {
|
|
|
754
754
|
{ key: ddRow._id },
|
|
755
755
|
React__default.createElement(
|
|
756
756
|
Nav.Link,
|
|
757
|
-
_extends({}, ddRow && ddRow.needSegmentSupport ? {
|
|
757
|
+
_extends({}, ddRow && ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
758
758
|
href: ddRow.url
|
|
759
759
|
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
760
760
|
target: ddRow.blank ? '_blank' : '_self',
|
|
@@ -779,7 +779,7 @@ var NavNative = function NavNative(props) {
|
|
|
779
779
|
{ key: subIndex },
|
|
780
780
|
React__default.createElement(
|
|
781
781
|
Nav.Link,
|
|
782
|
-
_extends({}, ddRow && ddRow.needSegmentSupport ? {
|
|
782
|
+
_extends({}, ddRow && ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
783
783
|
href: ddRow.url
|
|
784
784
|
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
785
785
|
target: ddRow.blank ? '_blank' : '_self',
|
|
@@ -804,7 +804,7 @@ var NavNative = function NavNative(props) {
|
|
|
804
804
|
'a',
|
|
805
805
|
_extends({
|
|
806
806
|
key: subIndex
|
|
807
|
-
}, ddRow && ddRow.needSegmentSupport ? {
|
|
807
|
+
}, ddRow && ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
808
808
|
href: ddRow.url
|
|
809
809
|
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
810
810
|
target: ddRow.blank ? '_blank' : '_self',
|
|
@@ -821,7 +821,7 @@ var NavNative = function NavNative(props) {
|
|
|
821
821
|
'a',
|
|
822
822
|
_extends({
|
|
823
823
|
key: index
|
|
824
|
-
}, row.needSegmentSupport ? {
|
|
824
|
+
}, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
825
825
|
href: row.url,
|
|
826
826
|
target: row.blank ? '_blank' : '_self',
|
|
827
827
|
className: 'nav-link'
|
|
@@ -3,8 +3,8 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-
|
|
7
|
-
import './defineProperty-
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-497e9c88.js';
|
|
7
|
+
import './defineProperty-23a8f8cd.js';
|
|
8
8
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
@@ -3,8 +3,8 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-
|
|
7
|
-
import './defineProperty-
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-497e9c88.js';
|
|
7
|
+
import './defineProperty-23a8f8cd.js';
|
|
8
8
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
9
|
import './moment-bc12cb97.js';
|
|
10
10
|
import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -21,13 +21,13 @@ var renderLink = function renderLink(row) {
|
|
|
21
21
|
if (row.blank) {
|
|
22
22
|
return React__default.createElement(
|
|
23
23
|
'a',
|
|
24
|
-
_extends({ href: row.url }, row.needSegmentSupport ? {
|
|
24
|
+
_extends({ href: row.url }, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, { target: '_blank' }, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
25
25
|
row.title
|
|
26
26
|
);
|
|
27
27
|
}
|
|
28
28
|
return React__default.createElement(
|
|
29
29
|
'a',
|
|
30
|
-
_extends({ href: row.url }, row.needSegmentSupport ? {
|
|
30
|
+
_extends({ href: row.url }, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
31
31
|
row.title
|
|
32
32
|
);
|
|
33
33
|
};
|
|
@@ -54,7 +54,7 @@ var SideFooter = function SideFooter(props) {
|
|
|
54
54
|
// this adds ?eKey=xxx or ?anonymousid=xxx for forms that's outside - eg) formstack forms
|
|
55
55
|
// for tracking same user
|
|
56
56
|
setTimeout(function () {
|
|
57
|
-
var segmentLinks = sfRef.current.querySelectorAll('a[
|
|
57
|
+
var segmentLinks = sfRef.current.querySelectorAll('a[needsegmentsupport="true"]');
|
|
58
58
|
for (var i = 0; i < segmentLinks.length; i++) {
|
|
59
59
|
var link = segmentLinks[i];
|
|
60
60
|
var href = link.getAttribute('href');
|
|
@@ -2992,21 +2992,13 @@ function mapToStyles(_ref2) {
|
|
|
2992
2992
|
adaptive = _ref2.adaptive,
|
|
2993
2993
|
roundOffsets = _ref2.roundOffsets,
|
|
2994
2994
|
isFixed = _ref2.isFixed;
|
|
2995
|
-
var _offsets$x = offsets.x,
|
|
2996
|
-
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
|
2997
|
-
_offsets$y = offsets.y,
|
|
2998
|
-
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
2999
2995
|
|
|
3000
|
-
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets(
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
y: y
|
|
3006
|
-
};
|
|
2996
|
+
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
2997
|
+
_ref3$x = _ref3.x,
|
|
2998
|
+
x = _ref3$x === void 0 ? 0 : _ref3$x,
|
|
2999
|
+
_ref3$y = _ref3.y,
|
|
3000
|
+
y = _ref3$y === void 0 ? 0 : _ref3$y;
|
|
3007
3001
|
|
|
3008
|
-
x = _ref3.x;
|
|
3009
|
-
y = _ref3.y;
|
|
3010
3002
|
var hasX = offsets.hasOwnProperty('x');
|
|
3011
3003
|
var hasY = offsets.hasOwnProperty('y');
|
|
3012
3004
|
var sideX = left;
|
|
@@ -3051,17 +3043,6 @@ function mapToStyles(_ref2) {
|
|
|
3051
3043
|
position: position
|
|
3052
3044
|
}, adaptive && unsetSides);
|
|
3053
3045
|
|
|
3054
|
-
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
3055
|
-
x: x,
|
|
3056
|
-
y: y
|
|
3057
|
-
}) : {
|
|
3058
|
-
x: x,
|
|
3059
|
-
y: y
|
|
3060
|
-
};
|
|
3061
|
-
|
|
3062
|
-
x = _ref4.x;
|
|
3063
|
-
y = _ref4.y;
|
|
3064
|
-
|
|
3065
3046
|
if (gpuAcceleration) {
|
|
3066
3047
|
var _Object$assign;
|
|
3067
3048
|
|
|
@@ -3071,9 +3052,9 @@ function mapToStyles(_ref2) {
|
|
|
3071
3052
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
3072
3053
|
}
|
|
3073
3054
|
|
|
3074
|
-
function computeStyles(
|
|
3075
|
-
var state =
|
|
3076
|
-
options =
|
|
3055
|
+
function computeStyles(_ref4) {
|
|
3056
|
+
var state = _ref4.state,
|
|
3057
|
+
options = _ref4.options;
|
|
3077
3058
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
3078
3059
|
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
3079
3060
|
_options$adaptive = options.adaptive,
|
|
@@ -3372,7 +3353,7 @@ function getClippingParents(element) {
|
|
|
3372
3353
|
|
|
3373
3354
|
|
|
3374
3355
|
return clippingParents.filter(function (clippingParent) {
|
|
3375
|
-
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3356
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
|
|
3376
3357
|
});
|
|
3377
3358
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3378
3359
|
// clipping parents
|
package/dist/esm/View.js
CHANGED
|
@@ -74,7 +74,7 @@ import './checkSisterSite-a7218fda.js';
|
|
|
74
74
|
import './debounce-533d9748.js';
|
|
75
75
|
import './isSymbol-a7e9aafe.js';
|
|
76
76
|
import './toNumber-5aeba6e7.js';
|
|
77
|
-
import './index-
|
|
77
|
+
import './index-db3bb315.js';
|
|
78
78
|
|
|
79
79
|
var getArticleSummary = function getArticleSummary(article) {
|
|
80
80
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -37,7 +37,8 @@ function _asyncToGenerator(fn) {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
module.exports = _asyncToGenerator
|
|
40
|
+
module.exports = _asyncToGenerator;
|
|
41
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
41
42
|
});
|
|
42
43
|
|
|
43
44
|
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
@@ -58,7 +59,8 @@ function _defineProperty(obj, key, value) {
|
|
|
58
59
|
return obj;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
module.exports = _defineProperty
|
|
62
|
+
module.exports = _defineProperty;
|
|
63
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
62
64
|
});
|
|
63
65
|
|
|
64
66
|
var _defineProperty = unwrapExports(defineProperty);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import { c as cookie } from './index-
|
|
3
|
+
import { c as cookie } from './index-db3bb315.js';
|
|
4
4
|
import getQuery from './getQuery.js';
|
|
5
5
|
import './core.get-iterator-method-ea258bb1.js';
|
|
6
6
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -20,6 +20,7 @@ var serialize_1 = serialize;
|
|
|
20
20
|
|
|
21
21
|
var decode = decodeURIComponent;
|
|
22
22
|
var encode = encodeURIComponent;
|
|
23
|
+
var pairSplitRegExp = /; */;
|
|
23
24
|
|
|
24
25
|
/**
|
|
25
26
|
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
@@ -50,29 +51,28 @@ function parse(str, options) {
|
|
|
50
51
|
|
|
51
52
|
var obj = {};
|
|
52
53
|
var opt = options || {};
|
|
53
|
-
var pairs = str.split(
|
|
54
|
+
var pairs = str.split(pairSplitRegExp);
|
|
54
55
|
var dec = opt.decode || decode;
|
|
55
56
|
|
|
56
57
|
for (var i = 0; i < pairs.length; i++) {
|
|
57
58
|
var pair = pairs[i];
|
|
58
|
-
var
|
|
59
|
+
var eq_idx = pair.indexOf('=');
|
|
59
60
|
|
|
60
61
|
// skip things that don't look like key=value
|
|
61
|
-
if (
|
|
62
|
+
if (eq_idx < 0) {
|
|
62
63
|
continue;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
var key = pair.
|
|
66
|
+
var key = pair.substr(0, eq_idx).trim();
|
|
67
|
+
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
68
|
+
|
|
69
|
+
// quoted values
|
|
70
|
+
if ('"' == val[0]) {
|
|
71
|
+
val = val.slice(1, -1);
|
|
72
|
+
}
|
|
66
73
|
|
|
67
74
|
// only assign once
|
|
68
75
|
if (undefined == obj[key]) {
|
|
69
|
-
var val = pair.substring(index + 1, pair.length).trim();
|
|
70
|
-
|
|
71
|
-
// quoted values
|
|
72
|
-
if (val[0] === '"') {
|
|
73
|
-
val = val.slice(1, -1);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
76
|
obj[key] = tryDecode(val, dec);
|
|
77
77
|
}
|
|
78
78
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -154,6 +154,7 @@ import './_object-to-array-b61d5965.js';
|
|
|
154
154
|
import 'react-bootstrap/Spinner';
|
|
155
155
|
import 'react-bootstrap/Form';
|
|
156
156
|
import './js.cookie-6874175c.js';
|
|
157
|
+
import './typeof-2f07d0e8.js';
|
|
157
158
|
import './index-98ca9cec.js';
|
|
158
159
|
import './ConferenceBanner-8792ebd2.js';
|
|
159
160
|
import 'next/head';
|
|
@@ -187,7 +188,7 @@ import 'react-bootstrap/Figure';
|
|
|
187
188
|
import 'react-bootstrap/OverlayTrigger';
|
|
188
189
|
import 'react-bootstrap/Tooltip';
|
|
189
190
|
import 'react-bootstrap/Popover';
|
|
190
|
-
import './index-
|
|
191
|
+
import './index-db3bb315.js';
|
|
191
192
|
import 'swr';
|
|
192
193
|
import 'passport-local';
|
|
193
194
|
import 'mysql';
|
|
@@ -196,8 +197,8 @@ import './SeriesSlider-a6b1d617.js';
|
|
|
196
197
|
import './style-inject.es-1f59c1d0.js';
|
|
197
198
|
import 'disqus-react';
|
|
198
199
|
import 'react-twitter-embed';
|
|
199
|
-
import './ImageSlider-
|
|
200
|
-
import './defineProperty-
|
|
200
|
+
import './ImageSlider-497e9c88.js';
|
|
201
|
+
import './defineProperty-23a8f8cd.js';
|
|
201
202
|
import './VideoSeriesCard.js';
|
|
202
203
|
|
|
203
204
|
//Feature query to be used
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
|
|
3
|
+
var _typeof_1 = createCommonjsModule(function (module) {
|
|
4
|
+
function _typeof(obj) {
|
|
5
|
+
"@babel/helpers - typeof";
|
|
6
|
+
|
|
7
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
8
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
9
|
+
return typeof obj;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
13
|
+
} else {
|
|
14
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
15
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return _typeof(obj);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
module.exports = _typeof;
|
|
25
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
var _typeof = unwrapExports(_typeof_1);
|
|
29
|
+
|
|
30
|
+
export { _typeof as _, _typeof_1 as a };
|