@mjhls/mjh-framework 1.0.1066 → 1.0.1067-iframe-test
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/AD.js +1 -1
- package/dist/cjs/AD300x250.js +3 -2
- package/dist/cjs/AD300x250x600.js +3 -2
- package/dist/cjs/AD728x90.js +3 -2
- package/dist/cjs/ADFloatingFooter.js +3 -2
- package/dist/cjs/ADGutter.js +3 -2
- package/dist/cjs/{ADInfeed-98ee4120.js → ADInfeed-93cad44d.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +3 -2
- package/dist/cjs/ADSponsoredResources.js +3 -2
- package/dist/cjs/ADWebcast.js +3 -2
- package/dist/cjs/ADWelcome.js +3 -2
- package/dist/cjs/{ADlgInfeed-55df7d69.js → ADlgInfeed-80062861.js} +1 -1
- package/dist/cjs/AdSlot.js +3 -2
- package/dist/cjs/AdSlotsProvider.js +3 -2
- package/dist/cjs/AlgoliaSearch.js +522 -1037
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +4 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
- package/dist/cjs/ArticleSeriesListing.js +3 -2
- package/dist/cjs/AuthWrapper.js +19 -89
- package/dist/cjs/CEDeckSupabase.js +3 -2
- package/dist/cjs/CMEDeck.js +3 -2
- package/dist/cjs/Column3.js +3 -2
- package/dist/cjs/ContentCardPaginated.js +5 -4
- package/dist/cjs/DeckContent.js +4 -3
- package/dist/cjs/DeckQueue.js +3 -2
- package/dist/cjs/DeckQueuePaginated.js +4 -3
- package/dist/cjs/{Dfp-67646058.js → Dfp-c313a700.js} +2 -1
- package/dist/cjs/EventsDeck.js +2 -2
- package/dist/cjs/ExternalResources.js +5 -4
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +6 -5
- package/dist/cjs/GridContentPaginated.js +7 -6
- package/dist/cjs/HamMagazine.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +4 -3
- package/dist/cjs/{ImageSlider-d65bc9c8.js → ImageSlider-68db9d26.js} +116 -156
- package/dist/cjs/IssueLanding.js +6 -5
- package/dist/cjs/LeftNav.js +3 -2
- package/dist/cjs/MasterDeck.js +5 -4
- package/dist/cjs/MasterDeckPaginated.js +6 -5
- package/dist/cjs/{MediaSeriesCard-2e65fe95.js → MediaSeriesCard-20fb87c6.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +9 -8
- package/dist/cjs/MediaSeriesLandingPaginated.js +10 -9
- package/dist/cjs/NavMagazine.js +2 -2
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/{Pagination-6359861a.js → Pagination-842c556f.js} +1 -1
- package/dist/cjs/PartnerDetailListing.js +8 -6
- package/dist/cjs/PartnerDetailListingPaginated.js +9 -7
- package/dist/cjs/PodcastsLanding.js +7 -6
- package/dist/cjs/PubSection.js +5 -4
- package/dist/cjs/QueueDeckExpanded.js +5 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +6 -5
- package/dist/cjs/SeriesListingDeck.js +4 -3
- package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-a3d45f7b.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-d7e5d3a6.js → SocialSearchComponent-e9ec9c63.js} +1 -1
- package/dist/cjs/TaxonomyDescription.js +4 -3
- package/dist/cjs/TemplateNormal.js +4 -3
- package/dist/cjs/{Tooltip-02a841b5.js → Tooltip-4cb8849a.js} +99 -192
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +4 -3
- package/dist/cjs/VideoSeriesLandingPage.js +5 -4
- package/dist/cjs/VideoSeriesListing.js +3 -2
- package/dist/cjs/View.js +8 -8
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +4 -3
- package/dist/cjs/{index-9ec837cc.js → index-50be6759.js} +25 -9
- package/dist/cjs/{index-4e9a219e.js → index-825c2c02.js} +33 -19
- package/dist/cjs/{index-7435b964.js → index-d2a6ef75.js} +2 -467
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/index.js +14 -11
- package/dist/cjs/{main-ae8472f3.js → main-47be4f9f.js} +9 -4
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/urlFor.js +1 -0
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +3 -2
- package/dist/esm/AD300x250x600.js +3 -2
- package/dist/esm/AD728x90.js +3 -2
- package/dist/esm/ADFloatingFooter.js +3 -2
- package/dist/esm/ADGutter.js +3 -2
- package/dist/esm/{ADInfeed-6d0c0856.js → ADInfeed-74cc728c.js} +1 -1
- package/dist/esm/ADSkyscraper.js +3 -2
- package/dist/esm/ADSponsoredResources.js +3 -2
- package/dist/esm/ADWebcast.js +3 -2
- package/dist/esm/ADWelcome.js +3 -2
- package/dist/esm/{ADlgInfeed-93bc2250.js → ADlgInfeed-b6217567.js} +1 -1
- package/dist/esm/AdSlot.js +3 -2
- package/dist/esm/AdSlotsProvider.js +3 -2
- package/dist/esm/AlgoliaSearch.js +522 -1037
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +5 -4
- package/dist/esm/ArticleSeriesListing.js +3 -2
- package/dist/esm/AuthWrapper.js +16 -86
- package/dist/esm/CEDeckSupabase.js +3 -2
- package/dist/esm/CMEDeck.js +3 -2
- package/dist/esm/Column3.js +3 -2
- package/dist/esm/ContentCardPaginated.js +5 -4
- package/dist/esm/DeckContent.js +4 -3
- package/dist/esm/DeckQueue.js +3 -2
- package/dist/esm/DeckQueuePaginated.js +4 -3
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +5 -4
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +6 -5
- package/dist/esm/GridContentPaginated.js +7 -6
- package/dist/esm/HamMagazine.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +4 -3
- package/dist/esm/{ImageSlider-da225417.js → ImageSlider-788daebb.js} +117 -157
- package/dist/esm/IssueLanding.js +6 -5
- package/dist/esm/LeftNav.js +3 -2
- package/dist/esm/MasterDeck.js +5 -4
- package/dist/esm/MasterDeckPaginated.js +6 -5
- package/dist/esm/{MediaSeriesCard-27cce8ea.js → MediaSeriesCard-cfdc313b.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +9 -8
- package/dist/esm/MediaSeriesLandingPaginated.js +10 -9
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +8 -6
- package/dist/esm/PartnerDetailListingPaginated.js +9 -7
- package/dist/esm/PodcastsLanding.js +7 -6
- package/dist/esm/PubSection.js +5 -4
- package/dist/esm/QueueDeckExpanded.js +5 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -5
- package/dist/esm/SeriesListingDeck.js +4 -3
- package/dist/esm/{SeriesSlider-a6b1d617.js → SeriesSlider-2eda1e45.js} +1 -1
- package/dist/esm/{SocialSearchComponent-6065bff2.js → SocialSearchComponent-020f9e81.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -3
- package/dist/esm/TemplateNormal.js +4 -3
- package/dist/esm/{Tooltip-7a093cd4.js → Tooltip-95655b44.js} +257 -350
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -3
- package/dist/esm/VideoSeriesLandingPage.js +5 -4
- package/dist/esm/VideoSeriesListing.js +3 -2
- package/dist/esm/View.js +8 -8
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +4 -3
- package/dist/esm/{index-1fd45cc5.js → index-30b512d6.js} +37 -23
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/{index-0ce54f8a.js → index-98ca9cec.js} +25 -10
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +14 -11
- package/dist/esm/{main-754d4992.js → main-f97773b2.js} +9 -4
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/urlFor.js +1 -0
- package/package.json +1 -1
- /package/dist/cjs/{PublicationFeature-e945bd55.js → PublicationFeature-2e15f1bb.js} +0 -0
- /package/dist/esm/{PublicationFeature-3cc370de.js → PublicationFeature-b44a69eb.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
2
|
+
export { g as default } from './index-30b512d6.js';
|
|
3
3
|
import './BlockContent-1e73bd2c.js';
|
|
4
4
|
import './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
@@ -10,7 +10,8 @@ import 'react-bootstrap';
|
|
|
10
10
|
import './urlFor.js';
|
|
11
11
|
import './extends-1559c147.js';
|
|
12
12
|
import './index-3f5c03b2.js';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-f0fc23eb.js';
|
|
14
|
+
import './events-6c3a7a63.js';
|
|
14
15
|
import 'prop-types';
|
|
15
16
|
import 'next/router';
|
|
16
17
|
import './index-c7e2ac95.js';
|
|
@@ -21,7 +22,7 @@ import './_library-528f1934.js';
|
|
|
21
22
|
import './_set-species-2cd9340f.js';
|
|
22
23
|
import './_iter-detect-98db3b07.js';
|
|
23
24
|
import './Segment.js';
|
|
24
|
-
import './main-
|
|
25
|
+
import './main-f97773b2.js';
|
|
25
26
|
import './urlForFile-f6485737.js';
|
|
26
27
|
import './index-755f2cc2.js';
|
|
27
28
|
import 'react-dom';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
2
2
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
3
|
-
import { Carousel, Table, Figure
|
|
3
|
+
import { Carousel, Table, Figure, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
4
4
|
import urlFor from './urlFor.js';
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
5
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
6
6
|
import Router, { useRouter } from 'next/router';
|
|
7
7
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './Beam.js';
|
|
11
11
|
import Segment from './Segment.js';
|
|
12
|
-
import { f as main_18, b as main_42, m as main_43 } from './main-
|
|
12
|
+
import { f as main_18, b as main_42, m as main_43 } from './main-f97773b2.js';
|
|
13
13
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
14
14
|
import { _ as _extends, b as _extends$1 } from './extends-1559c147.js';
|
|
15
15
|
import { u as urlForFile } from './urlForFile-f6485737.js';
|
|
@@ -37,7 +37,7 @@ import Col$1 from 'react-bootstrap/Col';
|
|
|
37
37
|
import Head from 'next/head';
|
|
38
38
|
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits$2 } from './inherits-d21b4ef9.js';
|
|
39
39
|
import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
|
|
40
|
-
import Figure$
|
|
40
|
+
import Figure$1 from 'react-bootstrap/Figure';
|
|
41
41
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
42
42
|
import Tooltip from 'react-bootstrap/Tooltip';
|
|
43
43
|
import Popover from 'react-bootstrap/Popover';
|
|
@@ -2745,7 +2745,7 @@ var Media = function Media(_ref) {
|
|
|
2745
2745
|
};
|
|
2746
2746
|
|
|
2747
2747
|
return React__default.createElement(
|
|
2748
|
-
Figure
|
|
2748
|
+
Figure,
|
|
2749
2749
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2750
2750
|
React__default.createElement(
|
|
2751
2751
|
'a',
|
|
@@ -2763,7 +2763,7 @@ var Media = function Media(_ref) {
|
|
|
2763
2763
|
)
|
|
2764
2764
|
),
|
|
2765
2765
|
caption && React__default.createElement(
|
|
2766
|
-
Figure
|
|
2766
|
+
Figure.Caption,
|
|
2767
2767
|
{ className: 'media-caption' },
|
|
2768
2768
|
caption
|
|
2769
2769
|
)
|
|
@@ -2787,14 +2787,32 @@ var Media = function Media(_ref) {
|
|
|
2787
2787
|
var IFrame = function IFrame(_ref) {
|
|
2788
2788
|
var url = _ref.url,
|
|
2789
2789
|
_ref$needSegmentSuppo = _ref.needSegmentSupport,
|
|
2790
|
-
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo
|
|
2790
|
+
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo,
|
|
2791
|
+
node = _ref.node;
|
|
2791
2792
|
|
|
2793
|
+
console.log('node', node);
|
|
2792
2794
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2795
|
+
// if (node.height) return null
|
|
2796
|
+
// else {
|
|
2793
2797
|
return React__default.createElement(
|
|
2794
2798
|
'div',
|
|
2795
|
-
|
|
2796
|
-
React__default.createElement(
|
|
2799
|
+
null,
|
|
2800
|
+
node.height ? React__default.createElement(
|
|
2801
|
+
'div',
|
|
2802
|
+
null,
|
|
2803
|
+
React__default.createElement('iframe', { id: 'iframe-block', className: 'w-100 iFrame-block', src: url, allowFullScreen: true, webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2804
|
+
) : React__default.createElement(
|
|
2805
|
+
'div',
|
|
2806
|
+
{ className: 'd-block text-center mb-3' },
|
|
2807
|
+
React__default.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: true, webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2808
|
+
),
|
|
2809
|
+
React__default.createElement(
|
|
2810
|
+
'style',
|
|
2811
|
+
{ jsx: 'true' },
|
|
2812
|
+
'\n #iframe-block {\n height: ' + node.height + ' !important;\n }\n '
|
|
2813
|
+
)
|
|
2797
2814
|
);
|
|
2815
|
+
// }
|
|
2798
2816
|
};
|
|
2799
2817
|
|
|
2800
2818
|
// https://github.com/tc39/proposal-object-values-entries
|
|
@@ -10070,17 +10088,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
10070
10088
|
React__default.createElement(
|
|
10071
10089
|
'style',
|
|
10072
10090
|
{ jsx: 'true' },
|
|
10073
|
-
'\n /*Eliminates padding, centers the thumbnail */\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n
|
|
10091
|
+
'\n /*Eliminates padding, centers the thumbnail */\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n // a.lightbox-close {\n // display: block;\n // width: 50px;\n // height: 50px;\n // box-sizing: border-box;\n // background: white;\n // color: black;\n // text-decoration: none;\n // position: absolute;\n // top: -80px;\n // right: 0;\n // -webkit-transition: 0.5s ease-in-out;\n // -moz-transition: 0.5s ease-in-out;\n // -o-transition: 0.5s ease-in-out;\n // transition: 0.5s ease-in-out;\n // }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n // a.lightbox-close:before {\n // content: \'\';\n // display: block;\n // height: 30px;\n // width: 1px;\n // background: black;\n // position: absolute;\n // left: 26px;\n // top: 10px;\n // -webkit-transform: rotate(45deg);\n // -moz-transform: rotate(45deg);\n // -o-transform: rotate(45deg);\n // transform: rotate(45deg);\n // }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n // a.lightbox-close:after {\n // content: \'\';\n // display: block;\n // height: 30px;\n // width: 1px;\n // background: black;\n // position: absolute;\n // left: 26px;\n // top: 10px;\n // -webkit-transform: rotate(-45deg);\n // -moz-transform: rotate(-45deg);\n // -o-transform: rotate(-45deg);\n // transform: rotate(-45deg);\n // }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
10074
10092
|
)
|
|
10075
10093
|
);
|
|
10076
10094
|
};
|
|
10077
10095
|
|
|
10078
|
-
var compareProps = function compareProps(prevProps, nextProps) {
|
|
10079
|
-
if (nextProps.node.asset && nextProps.node.asset._ref) {
|
|
10080
|
-
return prevProps.node.asset._ref === nextProps.node.asset._ref;
|
|
10081
|
-
}
|
|
10082
|
-
};
|
|
10083
|
-
|
|
10084
10096
|
var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
10085
10097
|
var node = _ref2.node,
|
|
10086
10098
|
client = _ref2.client,
|
|
@@ -10109,6 +10121,8 @@ var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
|
10109
10121
|
});
|
|
10110
10122
|
|
|
10111
10123
|
var FigureComponent = function FigureComponent(props) {
|
|
10124
|
+
console.log('props in Figure Component', props);
|
|
10125
|
+
|
|
10112
10126
|
var _useState = useState(false),
|
|
10113
10127
|
_useState2 = _slicedToArray(_useState, 2),
|
|
10114
10128
|
showLightbox = _useState2[0],
|
|
@@ -10120,7 +10134,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
10120
10134
|
setLightboxImgSrc = _useState4[1];
|
|
10121
10135
|
|
|
10122
10136
|
if (typeof window === 'undefined') return null;
|
|
10123
|
-
|
|
10137
|
+
console.log('props in FigureComp', props);
|
|
10124
10138
|
var node = props.node,
|
|
10125
10139
|
client = props.client,
|
|
10126
10140
|
getSerializers = props.getSerializers;
|
|
@@ -10177,6 +10191,8 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
10177
10191
|
link = _ref3.link,
|
|
10178
10192
|
handleClickFigure = _ref3.handleClickFigure;
|
|
10179
10193
|
|
|
10194
|
+
console.log('node in FImage', node);
|
|
10195
|
+
|
|
10180
10196
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
10181
10197
|
var triggerAction = main_42 ? 'click' : 'hover';
|
|
10182
10198
|
var placementLocation = main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
@@ -10279,7 +10295,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
10279
10295
|
React__default.Fragment,
|
|
10280
10296
|
null,
|
|
10281
10297
|
infoBox.length >= 1 ? React__default.createElement(
|
|
10282
|
-
Figure$
|
|
10298
|
+
Figure$1,
|
|
10283
10299
|
{ className: '' + class_name, style: figureStyle },
|
|
10284
10300
|
link ? React__default.createElement(
|
|
10285
10301
|
'a',
|
|
@@ -10302,7 +10318,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
10302
10318
|
}
|
|
10303
10319
|
})
|
|
10304
10320
|
) : React__default.createElement(
|
|
10305
|
-
Figure$
|
|
10321
|
+
Figure$1,
|
|
10306
10322
|
{ className: '' + class_name, style: figureStyle },
|
|
10307
10323
|
link ? React__default.createElement(
|
|
10308
10324
|
'a',
|
|
@@ -10333,8 +10349,6 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
10333
10349
|
);
|
|
10334
10350
|
};
|
|
10335
10351
|
|
|
10336
|
-
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
10337
|
-
|
|
10338
10352
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
10339
10353
|
useEffect(function () {
|
|
10340
10354
|
function handleClickOutside(event) {
|
|
@@ -11191,7 +11205,7 @@ var getSerializers = function getSerializers() {
|
|
|
11191
11205
|
figure: function figure(_ref4) {
|
|
11192
11206
|
var node = _ref4.node;
|
|
11193
11207
|
|
|
11194
|
-
return React__default.createElement(
|
|
11208
|
+
return React__default.createElement(FigureComponent, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
11195
11209
|
},
|
|
11196
11210
|
multifigure: function multifigure(_ref5) {
|
|
11197
11211
|
var node = _ref5.node;
|
|
@@ -11225,7 +11239,7 @@ var getSerializers = function getSerializers() {
|
|
|
11225
11239
|
iframe: function iframe(_ref10) {
|
|
11226
11240
|
var node = _ref10.node;
|
|
11227
11241
|
|
|
11228
|
-
return React__default.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
11242
|
+
return React__default.createElement(IFrame, { url: node.url, node: node, needSegmentSupport: node.needSegmentSupport });
|
|
11229
11243
|
},
|
|
11230
11244
|
video: function video(_ref11) {
|
|
11231
11245
|
var node = _ref11.node;
|