@mjhls/mjh-framework 1.0.859-segment-targeting-v2 → 1.0.859
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 +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -3
- package/dist/cjs/AD300x250x600.js +2 -3
- package/dist/cjs/AD728x90.js +2 -3
- package/dist/cjs/ADFloatingFooter.js +2 -3
- package/dist/cjs/ADGutter.js +2 -3
- package/dist/cjs/ADSkyscraper.js +2 -3
- package/dist/cjs/ADSponsoredResources.js +2 -3
- package/dist/cjs/ADWebcast.js +2 -3
- package/dist/cjs/ADWelcome.js +2 -3
- package/dist/cjs/AdSlot.js +2 -3
- package/dist/cjs/AdSlotsProvider.js +1 -2
- package/dist/cjs/AlgoliaSearch.js +17 -14090
- package/dist/cjs/AlphabeticList.js +1 -1
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +5 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -6
- package/dist/cjs/ArticleSeriesListing.js +3 -4
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +6 -622
- package/dist/cjs/CMEDeck.js +1 -2
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +12 -13
- package/dist/cjs/DeckQueue.js +3 -4
- package/dist/cjs/{Dfp-391fd124.js → Dfp-0bf098b5.js} +1 -2
- package/dist/cjs/EventsDeck.js +19 -19
- package/dist/cjs/ExternalResources.js +6 -6
- package/dist/cjs/GridContent.js +5 -6
- package/dist/cjs/HamMagazine.js +9 -9
- package/dist/cjs/HorizontalArticleListing.js +5 -5
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +36 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -3
- package/dist/cjs/MasterDeck.js +13 -14
- package/dist/cjs/MediaSeriesLanding.js +407 -462
- package/dist/cjs/NavMagazine.js +10 -10
- package/dist/cjs/NavNative.js +9 -9
- package/dist/cjs/PartnerDetailListing.js +1208 -11
- package/dist/cjs/PubSection.js +4 -5
- package/dist/cjs/PublicationLanding.js +27 -27
- package/dist/cjs/QueueDeckExpanded.js +4 -5
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Segment.js +21 -9
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-0d3bf265.js → SeriesSlider-60fa1342.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyCard.js +1 -1
- package/dist/cjs/TaxonomyDescription.js +5 -5
- package/dist/cjs/TemplateNormal.js +2 -3
- package/dist/cjs/VideoProgramLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +5 -6
- package/dist/cjs/VideoSeriesListing.js +3 -4
- package/dist/cjs/View.js +12 -18
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/{extends-0a918631.js → extends-60837c34.js} +0 -1
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +5 -5
- package/dist/cjs/{getTargeting-a9a871f0.js → getTargeting-3e45e4d4.js} +10 -10
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/{index-2cf30c83.js → index-44481153.js} +485 -39
- package/dist/cjs/{index-6367b7bf.js → index-99edf08a.js} +16 -15
- package/dist/cjs/{index-84332690.js → index-cf3e6aca.js} +8 -258
- package/dist/cjs/index.js +11 -12
- package/dist/cjs/{inherits-0c7830c5.js → inherits-87492b40.js} +0 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -3
- package/dist/esm/AD300x250x600.js +2 -3
- package/dist/esm/AD728x90.js +2 -3
- package/dist/esm/ADFloatingFooter.js +2 -3
- package/dist/esm/ADGutter.js +2 -3
- package/dist/esm/ADSkyscraper.js +2 -3
- package/dist/esm/ADSponsoredResources.js +2 -3
- package/dist/esm/ADWebcast.js +2 -3
- package/dist/esm/ADWelcome.js +2 -3
- package/dist/esm/AdSlot.js +2 -3
- package/dist/esm/AdSlotsProvider.js +1 -2
- package/dist/esm/AlgoliaSearch.js +16 -14089
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +5 -5
- package/dist/esm/ArticleSeriesLandingPage.js +5 -6
- package/dist/esm/ArticleSeriesListing.js +3 -4
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +5 -622
- package/dist/esm/CMEDeck.js +1 -2
- package/dist/esm/Column3.js +2 -3
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/DeckContent.js +12 -13
- package/dist/esm/DeckQueue.js +3 -4
- package/dist/esm/{Dfp-2f9796e1.js → Dfp-85c9513e.js} +1 -2
- package/dist/esm/EventsDeck.js +19 -19
- package/dist/esm/ExternalResources.js +6 -6
- package/dist/esm/GridContent.js +5 -6
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/HorizontalArticleListing.js +5 -5
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +36 -36
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +2 -3
- package/dist/esm/MasterDeck.js +13 -14
- package/dist/esm/MediaSeriesLanding.js +132 -187
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/PartnerDetailListing.js +1207 -11
- package/dist/esm/PubSection.js +4 -5
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +4 -5
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Segment.js +21 -9
- package/dist/esm/SeriesListingDeck.js +3 -4
- package/dist/esm/{SeriesSlider-7d89f4d9.js → SeriesSlider-05ecb544.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +5 -5
- package/dist/esm/TemplateNormal.js +2 -3
- package/dist/esm/VideoProgramLandingPage.js +5 -5
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +5 -6
- package/dist/esm/VideoSeriesListing.js +3 -4
- package/dist/esm/View.js +12 -18
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/{extends-6f2fcc99.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +5 -5
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-9cb7e014.js} +10 -10
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-f7fb1e25.js → index-1819118a.js} +484 -38
- package/dist/esm/{index-95d38271.js → index-9bed8450.js} +6 -257
- package/dist/esm/{index-c00b0bbb.js → index-fa2ffe86.js} +16 -15
- package/dist/esm/index.js +11 -12
- package/dist/esm/{inherits-75d45541.js → inherits-0d8cda6e.js} +1 -1
- package/package.json +110 -110
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-e2e62963.js +0 -89
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-aaa2dae0.js +0 -85
- /package/dist/cjs/{ADInfeed-87d1627b.js → ADInfeed-ff26342c.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-0070c9c4.js → ADlgInfeed-ad4953d4.js} +0 -0
- /package/dist/esm/{ADInfeed-f7a68557.js → ADInfeed-422ad6e6.js} +0 -0
- /package/dist/esm/{ADlgInfeed-b0a8a43b.js → ADlgInfeed-f7468db8.js} +0 -0
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -18,10 +18,10 @@ import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
|
18
18
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
19
19
|
import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
|
|
20
20
|
|
|
21
|
-
/*
|
|
22
|
-
GROQ query -
|
|
23
|
-
accepts an array of title, URL
|
|
24
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
21
|
+
/*
|
|
22
|
+
GROQ query -
|
|
23
|
+
accepts an array of title, URL
|
|
24
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
var YoutubeGroup = function YoutubeGroup(props) {
|
package/dist/esm/getQuery.js
CHANGED
|
@@ -8,7 +8,7 @@ var getQuery = function getQuery(type) {
|
|
|
8
8
|
|
|
9
9
|
switch (type) {
|
|
10
10
|
case 'related':
|
|
11
|
-
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n slides[]{\n ...,\n slideshowImage{\n ...,\n "width": asset->.metadata.dimensions.width,\n "height": asset->.metadata.dimensions.height,\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'
|
|
11
|
+
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n slides[]{\n ...,\n slideshowImage{\n ...,\n "width": asset->.metadata.dimensions.width,\n "height": asset->.metadata.dimensions.height,\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
|
|
12
12
|
case 'article':
|
|
13
13
|
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n slides[]{\n ...,\n slideshowImage{\n ...,\n "width": asset->.metadata.dimensions.width,\n "height": asset->.metadata.dimensions.height,\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
|
|
14
14
|
case 'publication':
|
|
@@ -303,7 +303,7 @@ function setCookie$1(ctx, name, value, options) {
|
|
|
303
303
|
var cookiesToSet_1 = [];
|
|
304
304
|
parsedCookies.forEach(function (parsedCookie) {
|
|
305
305
|
if (!areCookiesEqual(parsedCookie, createCookie(name, value, options))) {
|
|
306
|
-
cookiesToSet_1.push(cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({
|
|
306
|
+
cookiesToSet_1.push(cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({}, parsedCookie)));
|
|
307
307
|
}
|
|
308
308
|
});
|
|
309
309
|
cookiesToSet_1.push(cookie.serialize(name, value, options));
|
|
@@ -6,16 +6,15 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import './toConsumableArray-43aa614d.js';
|
|
7
7
|
import './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import './extends-
|
|
9
|
+
import './extends-eb69e8ac.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-
|
|
11
|
+
import './inherits-0d8cda6e.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
14
|
import './typeof-af9c50d8.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
16
|
import 'react';
|
|
17
|
-
import './
|
|
18
|
-
import './index-f7fb1e25.js';
|
|
17
|
+
import './index-1819118a.js';
|
|
19
18
|
import 'prop-types';
|
|
20
19
|
import 'react-bootstrap/Row';
|
|
21
20
|
import 'react-bootstrap/Col';
|
|
@@ -44,7 +43,7 @@ import './GroupDeck.js';
|
|
|
44
43
|
import 'react-bootstrap';
|
|
45
44
|
import './iconBase-602d52fe.js';
|
|
46
45
|
import './index.esm-3fdda599.js';
|
|
47
|
-
export { g as default } from './index-
|
|
46
|
+
export { g as default } from './index-9bed8450.js';
|
|
48
47
|
import './util-7700fc59.js';
|
|
49
48
|
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
50
49
|
import 'next/head';
|
|
@@ -56,3 +55,4 @@ import 'react-bootstrap/Figure';
|
|
|
56
55
|
import 'react-bootstrap/OverlayTrigger';
|
|
57
56
|
import 'react-bootstrap/Tooltip';
|
|
58
57
|
import 'react-bootstrap/Popover';
|
|
58
|
+
import 'react-script-tag';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
2
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
3
3
|
|
|
4
4
|
var getContentPlacementUrl = function getContentPlacementUrl(cp) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var cp_url = '';
|
|
6
|
+
if (cp.ancestor && typeof cp.ancestor == 'string') {
|
|
7
|
+
cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
|
|
8
|
+
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
|
|
11
|
+
cp_url += (cp_url === '' ? '' : '/') + cp.parent;
|
|
12
|
+
}
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
return cp_url;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
var getTargeting = function getTargeting(props) {
|
package/dist/esm/getTargeting.js
CHANGED
|
@@ -5,5 +5,5 @@ import './_iter-detect-5d49a330.js';
|
|
|
5
5
|
import './toConsumableArray-43aa614d.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
9
|
-
export { g as default } from './getTargeting-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
|
+
export { g as default } from './getTargeting-9cb7e014.js';
|