@mjhls/mjh-framework 1.0.919-TEST → 1.0.919-TEST-V2
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/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/IssueLanding.js +1 -1
- package/dist/cjs/{MediaSeriesCard-31e82b76.js → MediaSeriesCard-7e1ebe32.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +2 -2
- package/dist/cjs/MediaSeriesLandingPaginated.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +1 -1
- package/dist/cjs/PartnerDetailListingPaginated.js +1 -1
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/View.js +1 -1
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{index-da44b1e7.js → index-619b5600.js} +10 -28
- package/dist/cjs/index.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/IssueLanding.js +1 -1
- package/dist/esm/{MediaSeriesCard-3d6acf32.js → MediaSeriesCard-ca3c348f.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +2 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +2 -2
- package/dist/esm/PartnerDetailListing.js +1 -1
- package/dist/esm/PartnerDetailListingPaginated.js +1 -1
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/View.js +1 -1
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-803278c4.js → index-47a80fcc.js} +10 -28
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
|
5
5
|
var _extends = require('./extends-7c86182f.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-619b5600.js');
|
|
9
9
|
var ArticleSeriesListing = require('./ArticleSeriesListing.js');
|
|
10
10
|
require('./_commonjsHelpers-06173234.js');
|
|
11
11
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -4,7 +4,7 @@ var _extends = require('./extends-7c86182f.js');
|
|
|
4
4
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
7
|
-
var getSerializers = require('./index-
|
|
7
|
+
var getSerializers = require('./index-619b5600.js');
|
|
8
8
|
var index = require('./index-f86bb269.js');
|
|
9
9
|
var Router = require('next/router');
|
|
10
10
|
var Button = require('react-bootstrap/Button');
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var ArticleCarousel = require('./ArticleCarousel.js');
|
|
6
6
|
var index_esm = require('./index.esm-d81454e7.js');
|
|
7
7
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-619b5600.js');
|
|
9
9
|
require('./_commonjsHelpers-06173234.js');
|
|
10
10
|
require('./core.get-iterator-method-5643aa10.js');
|
|
11
11
|
require('./_object-pie-083f2dd6.js');
|
package/dist/cjs/IssueLanding.js
CHANGED
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
6
6
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
7
7
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-619b5600.js');
|
|
9
9
|
require('./_commonjsHelpers-06173234.js');
|
|
10
10
|
require('./core.get-iterator-method-5643aa10.js');
|
|
11
11
|
require('./_object-pie-083f2dd6.js');
|
|
@@ -11,7 +11,7 @@ var urlFor = require('./urlFor.js');
|
|
|
11
11
|
var moment = require('./moment-aca40de1.js');
|
|
12
12
|
var styleInject_es = require('./style-inject.es-dcee06b6.js');
|
|
13
13
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
14
|
-
var getSerializers = require('./index-
|
|
14
|
+
var getSerializers = require('./index-619b5600.js');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
17
|
|
|
@@ -5,13 +5,13 @@ var _typeof = require('./typeof-567e31ff.js');
|
|
|
5
5
|
var _extends = require('./extends-7c86182f.js');
|
|
6
6
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var MediaSeriesCard = require('./MediaSeriesCard-
|
|
8
|
+
var MediaSeriesCard = require('./MediaSeriesCard-7e1ebe32.js');
|
|
9
9
|
require('./index-50be6759.js');
|
|
10
10
|
require('react-dom');
|
|
11
11
|
var Link = require('next/link');
|
|
12
12
|
var MasterDeck = require('./MasterDeck.js');
|
|
13
13
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
14
|
-
var getSerializers = require('./index-
|
|
14
|
+
var getSerializers = require('./index-619b5600.js');
|
|
15
15
|
require('./_commonjsHelpers-06173234.js');
|
|
16
16
|
require('./core.get-iterator-method-5643aa10.js');
|
|
17
17
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -5,13 +5,13 @@ var _typeof = require('./typeof-567e31ff.js');
|
|
|
5
5
|
var _extends = require('./extends-7c86182f.js');
|
|
6
6
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var MediaSeriesCard = require('./MediaSeriesCard-
|
|
8
|
+
var MediaSeriesCard = require('./MediaSeriesCard-7e1ebe32.js');
|
|
9
9
|
require('./index-50be6759.js');
|
|
10
10
|
require('react-dom');
|
|
11
11
|
var Link = require('next/link');
|
|
12
12
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
13
13
|
var MasterDeckPaginated = require('./MasterDeckPaginated.js');
|
|
14
|
-
var getSerializers = require('./index-
|
|
14
|
+
var getSerializers = require('./index-619b5600.js');
|
|
15
15
|
require('./_commonjsHelpers-06173234.js');
|
|
16
16
|
require('./core.get-iterator-method-5643aa10.js');
|
|
17
17
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -13,7 +13,7 @@ var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
|
13
13
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
14
14
|
var Feature = require('./Feature.js');
|
|
15
15
|
var urlFor = require('./urlFor.js');
|
|
16
|
-
var getSerializers = require('./index-
|
|
16
|
+
var getSerializers = require('./index-619b5600.js');
|
|
17
17
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
18
18
|
require('./_commonjsHelpers-06173234.js');
|
|
19
19
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -13,7 +13,7 @@ var QueueDeckExpandedPaginated = require('./QueueDeckExpandedPaginated.js');
|
|
|
13
13
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
14
14
|
var Feature = require('./Feature.js');
|
|
15
15
|
var urlFor = require('./urlFor.js');
|
|
16
|
-
var getSerializers = require('./index-
|
|
16
|
+
var getSerializers = require('./index-619b5600.js');
|
|
17
17
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
18
18
|
require('./_commonjsHelpers-06173234.js');
|
|
19
19
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -6,7 +6,7 @@ var React = require('react');
|
|
|
6
6
|
var Router = require('next/router');
|
|
7
7
|
var Head = require('next/head');
|
|
8
8
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
9
|
-
var getSerializers = require('./index-
|
|
9
|
+
var getSerializers = require('./index-619b5600.js');
|
|
10
10
|
require('./_commonjsHelpers-06173234.js');
|
|
11
11
|
require('./core.get-iterator-method-5643aa10.js');
|
|
12
12
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -7,7 +7,7 @@ var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
|
7
7
|
var Col = require('react-bootstrap/Col');
|
|
8
8
|
var Form = require('react-bootstrap/Form');
|
|
9
9
|
var Button = require('react-bootstrap/Button');
|
|
10
|
-
var getSerializers = require('./index-
|
|
10
|
+
var getSerializers = require('./index-619b5600.js');
|
|
11
11
|
var VideoSeriesListing = require('./VideoSeriesListing.js');
|
|
12
12
|
require('./_commonjsHelpers-06173234.js');
|
|
13
13
|
require('./core.get-iterator-method-5643aa10.js');
|
package/dist/cjs/View.js
CHANGED
|
@@ -17,7 +17,7 @@ var FormControl = require('react-bootstrap/FormControl');
|
|
|
17
17
|
var Button = require('react-bootstrap/Button');
|
|
18
18
|
var visibilitySensor = require('./visibility-sensor-eb2c5b69.js');
|
|
19
19
|
var SocialShare = require('./SocialShare.js');
|
|
20
|
-
var getSerializers = require('./index-
|
|
20
|
+
var getSerializers = require('./index-619b5600.js');
|
|
21
21
|
var AdSlot = require('./AdSlot.js');
|
|
22
22
|
var SeriesSlider = require('./SeriesSlider-ba0c5d1a.js');
|
|
23
23
|
var getTargeting = require('./getTargeting-3c5754ac.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./extends-7c86182f.js');
|
|
4
4
|
require('react');
|
|
5
|
-
var getSerializers = require('./index-
|
|
5
|
+
var getSerializers = require('./index-619b5600.js');
|
|
6
6
|
require('./BlockContent-9ebd251f.js');
|
|
7
7
|
require('./entities-df1aed86.js');
|
|
8
8
|
require('./_commonjsHelpers-06173234.js');
|
|
@@ -2523,16 +2523,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2523
2523
|
className: 'modalForm'
|
|
2524
2524
|
},
|
|
2525
2525
|
pollArray,
|
|
2526
|
-
|
|
2527
|
-
Button__default['default'],
|
|
2528
|
-
{
|
|
2529
|
-
className: 'submitButton',
|
|
2530
|
-
type: 'submit',
|
|
2531
|
-
variant: 'success',
|
|
2532
|
-
disabled: !pollAnswer
|
|
2533
|
-
},
|
|
2534
|
-
'Submit'
|
|
2535
|
-
) : textInputRender && !multiChoiceRender ? React__default['default'].createElement(
|
|
2526
|
+
textInputRender && !multiChoiceRender ? React__default['default'].createElement(
|
|
2536
2527
|
Button__default['default'],
|
|
2537
2528
|
{
|
|
2538
2529
|
className: 'submitButton',
|
|
@@ -2547,7 +2538,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2547
2538
|
className: 'submitButton',
|
|
2548
2539
|
type: 'submit',
|
|
2549
2540
|
variant: 'success',
|
|
2550
|
-
disabled: !
|
|
2541
|
+
disabled: !pollAnswer
|
|
2551
2542
|
},
|
|
2552
2543
|
'Submit'
|
|
2553
2544
|
)
|
|
@@ -2601,20 +2592,15 @@ var Video = function Video(_ref) {
|
|
|
2601
2592
|
videoPlayer = _useState10[0],
|
|
2602
2593
|
setVideoPlayer = _useState10[1];
|
|
2603
2594
|
|
|
2604
|
-
var _useState11 = React.useState(
|
|
2595
|
+
var _useState11 = React.useState(false),
|
|
2605
2596
|
_useState12 = slicedToArray._slicedToArray(_useState11, 2),
|
|
2606
|
-
|
|
2607
|
-
|
|
2597
|
+
multiChoiceRender = _useState12[0],
|
|
2598
|
+
setMultiChoiceRender = _useState12[1];
|
|
2608
2599
|
|
|
2609
2600
|
var _useState13 = React.useState(false),
|
|
2610
2601
|
_useState14 = slicedToArray._slicedToArray(_useState13, 2),
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
var _useState15 = React.useState(false),
|
|
2615
|
-
_useState16 = slicedToArray._slicedToArray(_useState15, 2),
|
|
2616
|
-
textInputRender = _useState16[0],
|
|
2617
|
-
setTextInputRender = _useState16[1];
|
|
2602
|
+
textInputRender = _useState14[0],
|
|
2603
|
+
setTextInputRender = _useState14[1];
|
|
2618
2604
|
|
|
2619
2605
|
var restartPlayer = function restartPlayer() {
|
|
2620
2606
|
setIsPollingTime(false);
|
|
@@ -2706,7 +2692,7 @@ var Video = function Video(_ref) {
|
|
|
2706
2692
|
polls.forEach(function (pollObj) {
|
|
2707
2693
|
return modalTimes.push(convertTime(pollObj.timestamp));
|
|
2708
2694
|
});
|
|
2709
|
-
console.log('last poll time', modalTimes[modalTimes.length - 1])
|
|
2695
|
+
// console.log('last poll time', modalTimes[modalTimes.length - 1])
|
|
2710
2696
|
player.on('play', function (evt) {
|
|
2711
2697
|
var duration = player.mediainfo.duration;
|
|
2712
2698
|
var current = player.currentTime();
|
|
@@ -2716,12 +2702,8 @@ var Video = function Video(_ref) {
|
|
|
2716
2702
|
var vidPlayer = this;
|
|
2717
2703
|
intId = setInterval(function () {
|
|
2718
2704
|
var ct = player.currentTime();
|
|
2719
|
-
console.log(
|
|
2720
|
-
|
|
2721
|
-
console.log('currentPlayTime', currentPlayTime);
|
|
2722
|
-
console.log('intervaling');
|
|
2723
|
-
if (intId) console.log('interval ID is ' + intId);
|
|
2724
|
-
console.log('isPollingTime', isPollingTime);
|
|
2705
|
+
// if (intId) console.log(`interval ID is ${intId}`)
|
|
2706
|
+
// console.log('isPollingTime', isPollingTime)
|
|
2725
2707
|
modalTimes.forEach(function (modalTime, ind) {
|
|
2726
2708
|
if (Math.floor(ct) === modalTime) {
|
|
2727
2709
|
setPollItems(polls[ind].pollItems);
|
package/dist/cjs/index.js
CHANGED
|
@@ -82,7 +82,7 @@ var VerticalHero = require('./VerticalHero.js');
|
|
|
82
82
|
var YahooHero = require('./YahooHero.js');
|
|
83
83
|
var GridHero = require('./GridHero.js');
|
|
84
84
|
var ConferenceArticleCard = require('./ConferenceArticleCard.js');
|
|
85
|
-
var getSerializers = require('./index-
|
|
85
|
+
var getSerializers = require('./index-619b5600.js');
|
|
86
86
|
var Beam = require('./Beam.js');
|
|
87
87
|
var Segment = require('./Segment.js');
|
|
88
88
|
var KMTracker = require('./KMTracker.js');
|
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
7
7
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
6
6
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -9,7 +9,7 @@ import urlFor from './urlFor.js';
|
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-ca3c348f.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-ca3c348f.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -4,7 +4,7 @@ import React__default from 'react';
|
|
|
4
4
|
import { useRouter } from 'next/router';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
7
|
-
import { g as getSerializers } from './index-
|
|
7
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
10
10
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-47a80fcc.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -15,7 +15,7 @@ import FormControl from 'react-bootstrap/FormControl';
|
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-47a80fcc.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
20
|
import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
|
|
21
21
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-42f9b439.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './extends-6d8e3924.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { g as default } from './index-
|
|
3
|
+
export { g as default } from './index-47a80fcc.js';
|
|
4
4
|
import './BlockContent-1e73bd2c.js';
|
|
5
5
|
import './entities-6d9154b4.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -2504,16 +2504,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2504
2504
|
className: 'modalForm'
|
|
2505
2505
|
},
|
|
2506
2506
|
pollArray,
|
|
2507
|
-
|
|
2508
|
-
Button,
|
|
2509
|
-
{
|
|
2510
|
-
className: 'submitButton',
|
|
2511
|
-
type: 'submit',
|
|
2512
|
-
variant: 'success',
|
|
2513
|
-
disabled: !pollAnswer
|
|
2514
|
-
},
|
|
2515
|
-
'Submit'
|
|
2516
|
-
) : textInputRender && !multiChoiceRender ? React__default.createElement(
|
|
2507
|
+
textInputRender && !multiChoiceRender ? React__default.createElement(
|
|
2517
2508
|
Button,
|
|
2518
2509
|
{
|
|
2519
2510
|
className: 'submitButton',
|
|
@@ -2528,7 +2519,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2528
2519
|
className: 'submitButton',
|
|
2529
2520
|
type: 'submit',
|
|
2530
2521
|
variant: 'success',
|
|
2531
|
-
disabled: !
|
|
2522
|
+
disabled: !pollAnswer
|
|
2532
2523
|
},
|
|
2533
2524
|
'Submit'
|
|
2534
2525
|
)
|
|
@@ -2582,20 +2573,15 @@ var Video = function Video(_ref) {
|
|
|
2582
2573
|
videoPlayer = _useState10[0],
|
|
2583
2574
|
setVideoPlayer = _useState10[1];
|
|
2584
2575
|
|
|
2585
|
-
var _useState11 = useState(
|
|
2576
|
+
var _useState11 = useState(false),
|
|
2586
2577
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
2587
|
-
|
|
2588
|
-
|
|
2578
|
+
multiChoiceRender = _useState12[0],
|
|
2579
|
+
setMultiChoiceRender = _useState12[1];
|
|
2589
2580
|
|
|
2590
2581
|
var _useState13 = useState(false),
|
|
2591
2582
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
var _useState15 = useState(false),
|
|
2596
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
2597
|
-
textInputRender = _useState16[0],
|
|
2598
|
-
setTextInputRender = _useState16[1];
|
|
2583
|
+
textInputRender = _useState14[0],
|
|
2584
|
+
setTextInputRender = _useState14[1];
|
|
2599
2585
|
|
|
2600
2586
|
var restartPlayer = function restartPlayer() {
|
|
2601
2587
|
setIsPollingTime(false);
|
|
@@ -2687,7 +2673,7 @@ var Video = function Video(_ref) {
|
|
|
2687
2673
|
polls.forEach(function (pollObj) {
|
|
2688
2674
|
return modalTimes.push(convertTime(pollObj.timestamp));
|
|
2689
2675
|
});
|
|
2690
|
-
console.log('last poll time', modalTimes[modalTimes.length - 1])
|
|
2676
|
+
// console.log('last poll time', modalTimes[modalTimes.length - 1])
|
|
2691
2677
|
player.on('play', function (evt) {
|
|
2692
2678
|
var duration = player.mediainfo.duration;
|
|
2693
2679
|
var current = player.currentTime();
|
|
@@ -2697,12 +2683,8 @@ var Video = function Video(_ref) {
|
|
|
2697
2683
|
var vidPlayer = this;
|
|
2698
2684
|
intId = setInterval(function () {
|
|
2699
2685
|
var ct = player.currentTime();
|
|
2700
|
-
console.log(
|
|
2701
|
-
|
|
2702
|
-
console.log('currentPlayTime', currentPlayTime);
|
|
2703
|
-
console.log('intervaling');
|
|
2704
|
-
if (intId) console.log('interval ID is ' + intId);
|
|
2705
|
-
console.log('isPollingTime', isPollingTime);
|
|
2686
|
+
// if (intId) console.log(`interval ID is ${intId}`)
|
|
2687
|
+
// console.log('isPollingTime', isPollingTime)
|
|
2706
2688
|
modalTimes.forEach(function (modalTime, ind) {
|
|
2707
2689
|
if (Math.floor(ct) === modalTime) {
|
|
2708
2690
|
setPollItems(polls[ind].pollItems);
|
package/dist/esm/index.js
CHANGED
|
@@ -79,7 +79,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
79
79
|
export { default as YahooHero } from './YahooHero.js';
|
|
80
80
|
export { default as GridHero } from './GridHero.js';
|
|
81
81
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
82
|
-
export { g as getSerializers } from './index-
|
|
82
|
+
export { g as getSerializers } from './index-47a80fcc.js';
|
|
83
83
|
export { default as Beam } from './Beam.js';
|
|
84
84
|
export { default as Segment } from './Segment.js';
|
|
85
85
|
export { default as KMTracker } from './KMTracker.js';
|