@mjhls/mjh-framework 1.0.1067-featureUpdate → 1.0.1067-iframe-test-2

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.
Files changed (139) hide show
  1. package/dist/cjs/AD.js +1 -1
  2. package/dist/cjs/AD300x250.js +3 -2
  3. package/dist/cjs/AD300x250x600.js +3 -2
  4. package/dist/cjs/AD728x90.js +3 -2
  5. package/dist/cjs/ADFloatingFooter.js +3 -2
  6. package/dist/cjs/ADGutter.js +3 -2
  7. package/dist/cjs/{ADInfeed-98ee4120.js → ADInfeed-93cad44d.js} +1 -1
  8. package/dist/cjs/ADSkyscraper.js +3 -2
  9. package/dist/cjs/ADSponsoredResources.js +3 -2
  10. package/dist/cjs/ADWebcast.js +3 -2
  11. package/dist/cjs/ADWelcome.js +3 -2
  12. package/dist/cjs/{ADlgInfeed-55df7d69.js → ADlgInfeed-80062861.js} +1 -1
  13. package/dist/cjs/AdSlot.js +3 -2
  14. package/dist/cjs/AdSlotsProvider.js +3 -2
  15. package/dist/cjs/AlgoliaSearch.js +485 -968
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +4 -3
  18. package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
  19. package/dist/cjs/ArticleSeriesListing.js +3 -2
  20. package/dist/cjs/CEDeckSupabase.js +3 -2
  21. package/dist/cjs/CMEDeck.js +3 -2
  22. package/dist/cjs/Column3.js +3 -2
  23. package/dist/cjs/ContentCardPaginated.js +5 -4
  24. package/dist/cjs/DeckContent.js +4 -3
  25. package/dist/cjs/DeckQueue.js +3 -2
  26. package/dist/cjs/DeckQueuePaginated.js +4 -3
  27. package/dist/cjs/{Dfp-67646058.js → Dfp-c313a700.js} +2 -1
  28. package/dist/cjs/EventsDeck.js +2 -2
  29. package/dist/cjs/ExternalResources.js +5 -4
  30. package/dist/cjs/Feature.js +8 -419
  31. package/dist/cjs/GridContent.js +5 -4
  32. package/dist/cjs/GridContentPaginated.js +6 -5
  33. package/dist/cjs/HamMagazine.js +2 -2
  34. package/dist/cjs/HorizontalArticleListing.js +4 -3
  35. package/dist/cjs/IssueLanding.js +6 -5
  36. package/dist/cjs/LeftNav.js +3 -2
  37. package/dist/cjs/MasterDeck.js +5 -4
  38. package/dist/cjs/MasterDeckPaginated.js +6 -5
  39. package/dist/cjs/{MediaSeriesCard-2e65fe95.js → MediaSeriesCard-69f28654.js} +1 -1
  40. package/dist/cjs/MediaSeriesLanding.js +8 -7
  41. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -8
  42. package/dist/cjs/NavMagazine.js +2 -2
  43. package/dist/cjs/NavNative.js +1 -1
  44. package/dist/cjs/{Pagination-6359861a.js → Pagination-842c556f.js} +1 -1
  45. package/dist/cjs/PartnerDetailListing.js +6 -5
  46. package/dist/cjs/PartnerDetailListingPaginated.js +7 -6
  47. package/dist/cjs/PodcastsLanding.js +7 -6
  48. package/dist/cjs/PubSection.js +5 -4
  49. package/dist/cjs/QueueDeckExpanded.js +5 -4
  50. package/dist/cjs/QueueDeckExpandedPaginated.js +6 -5
  51. package/dist/cjs/SeriesListingDeck.js +4 -3
  52. package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-a2621860.js} +1 -1
  53. package/dist/cjs/{SocialSearchComponent-d7e5d3a6.js → SocialSearchComponent-e9ec9c63.js} +1 -1
  54. package/dist/cjs/TaxonomyDescription.js +4 -3
  55. package/dist/cjs/TemplateNormal.js +4 -3
  56. package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-4cb8849a.js} +66 -107
  57. package/dist/cjs/Ustream.js +1 -1
  58. package/dist/cjs/VideoProgramLandingPage.js +4 -3
  59. package/dist/cjs/VideoSeriesLandingPage.js +5 -4
  60. package/dist/cjs/VideoSeriesListing.js +3 -2
  61. package/dist/cjs/View.js +5 -4
  62. package/dist/cjs/YoutubeGroup.js +1 -1
  63. package/dist/cjs/events-1b438fe7.js +469 -0
  64. package/dist/cjs/getSerializers.js +4 -3
  65. package/dist/cjs/{index-4e9a219e.js → index-4ef0337e.js} +24 -6
  66. package/dist/cjs/{index-7435b964.js → index-d2a6ef75.js} +2 -467
  67. package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
  68. package/dist/cjs/index.js +9 -8
  69. package/dist/cjs/{main-ae8472f3.js → main-47be4f9f.js} +9 -4
  70. package/dist/esm/AD.js +1 -1
  71. package/dist/esm/AD300x250.js +3 -2
  72. package/dist/esm/AD300x250x600.js +3 -2
  73. package/dist/esm/AD728x90.js +3 -2
  74. package/dist/esm/ADFloatingFooter.js +3 -2
  75. package/dist/esm/ADGutter.js +3 -2
  76. package/dist/esm/{ADInfeed-6d0c0856.js → ADInfeed-74cc728c.js} +1 -1
  77. package/dist/esm/ADSkyscraper.js +3 -2
  78. package/dist/esm/ADSponsoredResources.js +3 -2
  79. package/dist/esm/ADWebcast.js +3 -2
  80. package/dist/esm/ADWelcome.js +3 -2
  81. package/dist/esm/{ADlgInfeed-93bc2250.js → ADlgInfeed-b6217567.js} +1 -1
  82. package/dist/esm/AdSlot.js +3 -2
  83. package/dist/esm/AdSlotsProvider.js +3 -2
  84. package/dist/esm/AlgoliaSearch.js +485 -968
  85. package/dist/esm/ArticleCarousel.js +1 -1
  86. package/dist/esm/ArticleProgramLandingPage.js +4 -3
  87. package/dist/esm/ArticleSeriesLandingPage.js +5 -4
  88. package/dist/esm/ArticleSeriesListing.js +3 -2
  89. package/dist/esm/CEDeckSupabase.js +3 -2
  90. package/dist/esm/CMEDeck.js +3 -2
  91. package/dist/esm/Column3.js +3 -2
  92. package/dist/esm/ContentCardPaginated.js +5 -4
  93. package/dist/esm/DeckContent.js +4 -3
  94. package/dist/esm/DeckQueue.js +3 -2
  95. package/dist/esm/DeckQueuePaginated.js +4 -3
  96. package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
  97. package/dist/esm/EventsDeck.js +2 -2
  98. package/dist/esm/ExternalResources.js +5 -4
  99. package/dist/esm/Feature.js +8 -419
  100. package/dist/esm/GridContent.js +5 -4
  101. package/dist/esm/GridContentPaginated.js +6 -5
  102. package/dist/esm/HamMagazine.js +2 -2
  103. package/dist/esm/HorizontalArticleListing.js +4 -3
  104. package/dist/esm/IssueLanding.js +6 -5
  105. package/dist/esm/LeftNav.js +3 -2
  106. package/dist/esm/MasterDeck.js +5 -4
  107. package/dist/esm/MasterDeckPaginated.js +6 -5
  108. package/dist/esm/{MediaSeriesCard-27cce8ea.js → MediaSeriesCard-ae514b3b.js} +1 -1
  109. package/dist/esm/MediaSeriesLanding.js +8 -7
  110. package/dist/esm/MediaSeriesLandingPaginated.js +9 -8
  111. package/dist/esm/NavMagazine.js +2 -2
  112. package/dist/esm/NavNative.js +1 -1
  113. package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
  114. package/dist/esm/PartnerDetailListing.js +6 -5
  115. package/dist/esm/PartnerDetailListingPaginated.js +7 -6
  116. package/dist/esm/PodcastsLanding.js +7 -6
  117. package/dist/esm/PubSection.js +5 -4
  118. package/dist/esm/QueueDeckExpanded.js +5 -4
  119. package/dist/esm/QueueDeckExpandedPaginated.js +6 -5
  120. package/dist/esm/SeriesListingDeck.js +4 -3
  121. package/dist/esm/{SeriesSlider-a6b1d617.js → SeriesSlider-07be99e0.js} +1 -1
  122. package/dist/esm/{SocialSearchComponent-6065bff2.js → SocialSearchComponent-020f9e81.js} +1 -1
  123. package/dist/esm/TaxonomyDescription.js +4 -3
  124. package/dist/esm/TemplateNormal.js +4 -3
  125. package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-95655b44.js} +66 -107
  126. package/dist/esm/Ustream.js +1 -1
  127. package/dist/esm/VideoProgramLandingPage.js +4 -3
  128. package/dist/esm/VideoSeriesLandingPage.js +5 -4
  129. package/dist/esm/VideoSeriesListing.js +3 -2
  130. package/dist/esm/View.js +5 -4
  131. package/dist/esm/YoutubeGroup.js +1 -1
  132. package/dist/esm/events-6c3a7a63.js +467 -0
  133. package/dist/esm/getSerializers.js +4 -3
  134. package/dist/esm/{index-1fd45cc5.js → index-1d8d115d.js} +24 -6
  135. package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
  136. package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
  137. package/dist/esm/index.js +9 -8
  138. package/dist/esm/{main-754d4992.js → main-f97773b2.js} +9 -4
  139. package/package.json +1 -2
@@ -1,5 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import urlFor from './urlFor.js';
3
+ import { m as main_43 } from './main-f97773b2.js';
3
4
  import Carousel from 'react-bootstrap/Carousel';
4
5
  import './slicedToArray-6ebcbfea.js';
5
6
  import './_commonjsHelpers-0c4b6f40.js';
@@ -8,408 +9,6 @@ import './core.get-iterator-method-ea258bb1.js';
8
9
  import './extends-1559c147.js';
9
10
  import './index-3f5c03b2.js';
10
11
 
11
- function _inheritsLoose(subClass, superClass) {
12
- subClass.prototype = Object.create(superClass.prototype);
13
- subClass.prototype.constructor = subClass;
14
- subClass.__proto__ = superClass;
15
- }
16
-
17
- function _getPrototypeOf(o) {
18
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
19
- return o.__proto__ || Object.getPrototypeOf(o);
20
- };
21
- return _getPrototypeOf(o);
22
- }
23
-
24
- function _setPrototypeOf(o, p) {
25
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
26
- o.__proto__ = p;
27
- return o;
28
- };
29
-
30
- return _setPrototypeOf(o, p);
31
- }
32
-
33
- function _isNativeReflectConstruct() {
34
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
35
- if (Reflect.construct.sham) return false;
36
- if (typeof Proxy === "function") return true;
37
-
38
- try {
39
- Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
40
- return true;
41
- } catch (e) {
42
- return false;
43
- }
44
- }
45
-
46
- function _construct(Parent, args, Class) {
47
- if (_isNativeReflectConstruct()) {
48
- _construct = Reflect.construct;
49
- } else {
50
- _construct = function _construct(Parent, args, Class) {
51
- var a = [null];
52
- a.push.apply(a, args);
53
- var Constructor = Function.bind.apply(Parent, a);
54
- var instance = new Constructor();
55
- if (Class) _setPrototypeOf(instance, Class.prototype);
56
- return instance;
57
- };
58
- }
59
-
60
- return _construct.apply(null, arguments);
61
- }
62
-
63
- function _isNativeFunction(fn) {
64
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
65
- }
66
-
67
- function _wrapNativeSuper(Class) {
68
- var _cache = typeof Map === "function" ? new Map() : undefined;
69
-
70
- _wrapNativeSuper = function _wrapNativeSuper(Class) {
71
- if (Class === null || !_isNativeFunction(Class)) return Class;
72
-
73
- if (typeof Class !== "function") {
74
- throw new TypeError("Super expression must either be null or a function");
75
- }
76
-
77
- if (typeof _cache !== "undefined") {
78
- if (_cache.has(Class)) return _cache.get(Class);
79
-
80
- _cache.set(Class, Wrapper);
81
- }
82
-
83
- function Wrapper() {
84
- return _construct(Class, arguments, _getPrototypeOf(this).constructor);
85
- }
86
-
87
- Wrapper.prototype = Object.create(Class.prototype, {
88
- constructor: {
89
- value: Wrapper,
90
- enumerable: false,
91
- writable: true,
92
- configurable: true
93
- }
94
- });
95
- return _setPrototypeOf(Wrapper, Class);
96
- };
97
-
98
- return _wrapNativeSuper(Class);
99
- }
100
-
101
- /**
102
- * Error type thrown when the library fails to resolve a value, such as an asset ID,
103
- * filename or project ID/dataset information.
104
- *
105
- * The `input` property holds the value passed as the input, which failed to be
106
- * resolved to something meaningful.
107
- */
108
- var UnresolvableError = /*#__PURE__*/function (_Error) {
109
- _inheritsLoose(UnresolvableError, _Error);
110
-
111
- function UnresolvableError(inputSource, message) {
112
- var _this;
113
-
114
- if (message === void 0) {
115
- message = 'Failed to resolve asset ID from source';
116
- }
117
-
118
- _this = _Error.call(this, message) || this;
119
- _this.unresolvable = true;
120
- _this.input = inputSource;
121
- return _this;
122
- }
123
-
124
- return UnresolvableError;
125
- }( /*#__PURE__*/_wrapNativeSuper(Error));
126
-
127
- /**
128
- * @internal
129
- */
130
- var cdnUrl = 'https://cdn.sanity.io';
131
- /**
132
- * @internal
133
- */
134
-
135
- var fileAssetFilenamePattern = /^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/;
136
- /**
137
- * @internal
138
- */
139
-
140
- var imageAssetFilenamePattern = /^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/;
141
- /**
142
- * @internal
143
- */
144
-
145
- var pathPattern = /^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//;
146
- /**
147
- * @internal
148
- */
149
-
150
- var idPattern = /^(?:image-[a-zA-Z0-9_]+-\d+x\d+-[a-z0-9]+|file-[a-zA-Z0-9_]+-[a-z0-9]+)$/;
151
-
152
- /**
153
- * Checks whether or not the given source is a Sanity reference
154
- * (an object containing _ref string key)
155
- *
156
- * @param ref - Possible reference
157
- * @returns Whether or not the passed object is a reference
158
- */
159
- function isReference(ref) {
160
- return isObject(ref) && typeof ref._ref === 'string';
161
- }
162
- /**
163
- * Checks whether or not the given source is an asset ID stub
164
- * (an object containing an `_id` property)
165
- *
166
- * @param stub - Possible asset id stub
167
- * @returns Whether or not the passed object is an object id stub
168
- */
169
-
170
- function isAssetIdStub(stub) {
171
- return isObject(stub) && typeof stub._id === 'string';
172
- }
173
- /**
174
- * Checks whether or not the given source is an asset path stub
175
- * (an object containing a `path` property)
176
- *
177
- * @param stub - Possible asset path stub
178
- * @returns Whether or not the passed object is an object path stub
179
- */
180
-
181
- function isAssetPathStub(stub) {
182
- return isObject(stub) && typeof stub.path === 'string';
183
- }
184
- /**
185
- * Checks whether or not the given source is an asset URL stub
186
- * (an object containing a `url` property)
187
- *
188
- * @param stub - Possible asset url stub
189
- * @returns Whether or not the passed object is an object url stub
190
- */
191
-
192
- function isAssetUrlStub(stub) {
193
- return isObject(stub) && typeof stub.url === 'string';
194
- }
195
- /**
196
- * Checks whether or not the given source is an asset object stub
197
- *
198
- * @param stub - Possible asset object stub
199
- * @returns Whether or not the passed object is an object stub
200
- */
201
-
202
- function isAssetObjectStub(stub) {
203
- var item = stub;
204
- return isObject(item) && item.asset && typeof item.asset === 'object';
205
- }
206
- /**
207
- * Checks whether or not the passed object is an object (and not `null`)
208
- *
209
- * @param obj Item to check whether or not is an object
210
- * @returns Whether or not `obj` is an object
211
- * @internal
212
- */
213
-
214
- function isObject(obj) {
215
- return obj !== null && !Array.isArray(obj) && typeof obj === 'object';
216
- }
217
- /**
218
- * Strips the CDN URL and query params from a URL, eg:
219
- * `https://cdn.sanity.io/images/project/dataset/filename-200x200.jpg?foo=bar` =>
220
- * `images/project/dataset/filename-200x200.jpg`
221
- *
222
- * @param url - URL to get path name from
223
- * @returns The path of a CDN URL
224
- * @throws If URL is not a valid Sanity asset URL
225
- */
226
-
227
- function getUrlPath(url) {
228
- if (pathPattern.test(url)) {
229
- // Already just a path
230
- return url;
231
- }
232
-
233
- if (!url.startsWith(cdnUrl + "/")) {
234
- throw new UnresolvableError("Failed to resolve path from URL \"" + url + "\"");
235
- }
236
-
237
- var qsPos = url.indexOf('?');
238
- var toIndex = qsPos === -1 ? undefined : qsPos;
239
- return url.slice(cdnUrl.length + 1, toIndex);
240
- }
241
- /**
242
- * @internal
243
- */
244
-
245
- var exampleImageId = 'image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg';
246
- /**
247
- * Parses a Sanity image asset document ID into individual parts (type, id, extension, width, height)
248
- *
249
- * @param documentId - Image asset document ID to parse into named parts
250
- * @returns Object of named properties
251
- * @throws If document ID invalid
252
- */
253
-
254
- function parseImageAssetId(documentId) {
255
- var _documentId$split2 = documentId.split('-'),
256
- assetId = _documentId$split2[1],
257
- dimensionString = _documentId$split2[2],
258
- extension = _documentId$split2[3];
259
-
260
- var _split$map = (dimensionString || '').split('x').map(Number),
261
- width = _split$map[0],
262
- height = _split$map[1];
263
-
264
- if (!assetId || !dimensionString || !extension || !(width > 0) || !(height > 0)) {
265
- throw new Error("Malformed asset ID '" + documentId + "'. Expected an id like \"" + exampleImageId + "\".");
266
- }
267
-
268
- return {
269
- type: 'image',
270
- assetId: assetId,
271
- width: width,
272
- height: height,
273
- extension: extension
274
- };
275
- }
276
-
277
- /**
278
- * Returns the width, height and aspect ratio of a passed image asset, from any
279
- * inferrable structure (id, url, path, asset document, image object etc)
280
- *
281
- * @param src - Input source (image object, asset, reference, id, url, path)
282
- * @returns Object with width, height and aspect ratio properties
283
- *
284
- * @throws {@link UnresolvableError}
285
- * Throws if passed image source could not be resolved to an asset ID
286
- */
287
-
288
- function getImageDimensions(src) {
289
- var imageId = getAssetDocumentId(src);
290
-
291
- var _parseImageAssetId = parseImageAssetId(imageId),
292
- width = _parseImageAssetId.width,
293
- height = _parseImageAssetId.height;
294
-
295
- var aspectRatio = width / height;
296
- return {
297
- width: width,
298
- height: height,
299
- aspectRatio: aspectRatio
300
- };
301
- }
302
- /**
303
- * Tries to resolve the asset document ID from any inferrable structure
304
- *
305
- * @param src - Input source (image/file object, asset, reference, id, url, path)
306
- * @returns The asset document ID
307
- *
308
- * @throws {@link UnresolvableError}
309
- * Throws if passed asset source could not be resolved to an asset document ID
310
- */
311
-
312
- function getAssetDocumentId(src) {
313
- var source = isAssetObjectStub(src) ? src.asset : src;
314
- var id = '';
315
-
316
- if (typeof source === 'string') {
317
- id = getIdFromString(source);
318
- } else if (isReference(source)) {
319
- id = source._ref;
320
- } else if (isAssetIdStub(source)) {
321
- id = source._id;
322
- } else if (isAssetPathStub(source)) {
323
- id = idFromUrl(cdnUrl + "/" + source.path);
324
- } else if (isAssetUrlStub(source)) {
325
- id = idFromUrl(source.url);
326
- }
327
-
328
- var hasId = id && idPattern.test(id);
329
-
330
- if (!hasId) {
331
- throw new UnresolvableError(src);
332
- }
333
-
334
- return id;
335
- }
336
- /**
337
- * Tries to cooerce a string (ID, URL or path) to an image asset ID
338
- *
339
- * @param str - Input string (ID, URL or path)
340
- * @returns string
341
- *
342
- *
343
- * @throws {@link UnresolvableError}
344
- * Throws if passed image source could not be resolved to an asset ID
345
- */
346
-
347
- function getIdFromString(str) {
348
- if (idPattern.test(str)) {
349
- // Already an ID
350
- return str;
351
- }
352
-
353
- if (str.indexOf(cdnUrl + "/images") === 0 || str.indexOf(cdnUrl + "/files") === 0) {
354
- // Full URL
355
- return idFromUrl(str);
356
- }
357
-
358
- if (pathPattern.test(str)) {
359
- // Path
360
- return idFromUrl(cdnUrl + "/" + str);
361
- }
362
-
363
- if (isFileAssetFilename(str)) {
364
- // Just a filename (projectId/dataset irrelevant: just need asset ID)
365
- return idFromUrl(cdnUrl + "/files/a/b/" + str);
366
- }
367
-
368
- if (isImageAssetFilename(str)) {
369
- // Just a filename (projectId/dataset irrelevant: just need asset ID)
370
- return idFromUrl(cdnUrl + "/images/a/b/" + str);
371
- }
372
-
373
- throw new UnresolvableError(str);
374
- }
375
- /**
376
- * Converts from a full asset URL to just the asset document ID
377
- *
378
- * @param url - A full asset URL to convert
379
- * @returns string
380
- */
381
-
382
- function idFromUrl(url) {
383
- var path = getUrlPath(url);
384
-
385
- var _path$split = path.split('/'),
386
- type = _path$split[0],
387
- fileName = _path$split[3];
388
-
389
- var prefix = type.replace(/s$/, '');
390
- return prefix + "-" + fileName.replace(/\./g, '-');
391
- }
392
- /**
393
- * Returns whether or not the passed filename is a valid image asset filename
394
- *
395
- * @param filename - Filename to validate
396
- * @returns Whether or not the filename is an image asset filename
397
- */
398
-
399
- function isImageAssetFilename(filename) {
400
- return imageAssetFilenamePattern.test(filename);
401
- }
402
- /**
403
- * Returns whether or not the passed filename is a valid file asset filename
404
- *
405
- * @param filename - Filename to validate
406
- * @returns Whether or not the filename is a file asset filename
407
- */
408
-
409
- function isFileAssetFilename(filename) {
410
- return fileAssetFilenamePattern.test(filename);
411
- }
412
-
413
12
  /* eslint-disable camelcase */
414
13
  // Feature query to be used
415
14
  // const featureQuery = `*[_type == 'feature' && is_active == true && feature_url == "/"] | order(_updatedAt asc)[0..5]{
@@ -434,18 +33,11 @@ var Feature = function Feature(props) {
434
33
  return false;
435
34
  };
436
35
 
437
- var featureImgDimensions = function featureImgDimensions(image) {
438
- if (image) {
439
- var dims = getImageDimensions(image);
440
- return { width: dims.width, height: dims.height };
441
- }
442
- };
443
-
444
36
  // image width updated.
445
- // let imageWidth = 900
446
- // if (isMobileOnly) {
447
- // imageWidth = 225
448
- // }
37
+ var imageWidth = 900;
38
+ if (main_43) {
39
+ imageWidth = 225;
40
+ }
449
41
 
450
42
  var renderUrl = function renderUrl(feature_link, feature_title, feature_body) {
451
43
  if (checkUrlIsExternal(feature_link)) {
@@ -505,8 +97,7 @@ var Feature = function Feature(props) {
505
97
  hide_title_body = feature.hide_title_body,
506
98
  feature_img = feature.feature_img,
507
99
  feature_alt = feature.feature_alt,
508
- feature_link = feature.feature_link,
509
- feature_contain = feature.feature_contain;
100
+ feature_link = feature.feature_link;
510
101
 
511
102
  return React__default.createElement(
512
103
  Carousel.Item,
@@ -514,11 +105,9 @@ var Feature = function Feature(props) {
514
105
  return openLink(feature_link);
515
106
  } },
516
107
  React__default.createElement('img', {
517
- style: { maxHeight: '375px', objectFit: feature_contain ? 'contain' : 'cover', cursor: 'pointer' },
108
+ style: { maxHeight: '375px', minHeight: '300px', objectFit: hide_title_body ? 'unset' : 'cover', cursor: 'pointer', paddingLeft: '50%' },
518
109
  className: 'd-block w-100',
519
- src: urlFor({ client: client, source: feature_img, imageWidth: featureImgDimensions(feature_img).width }),
520
- width: featureImgDimensions(feature_img).width,
521
- height: featureImgDimensions(feature_img).height,
110
+ src: urlFor({ client: client, source: feature_img, imageWidth: imageWidth }),
522
111
  alt: feature_alt
523
112
  }),
524
113
  !hide_title_body && React__default.createElement(
@@ -2,7 +2,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
2
2
  import { _ as _extends } from './extends-1559c147.js';
3
3
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
4
4
  import React__default from 'react';
5
- import { l as lib_3 } from './index-5cc7b406.js';
5
+ import { l as lib_3 } from './index-f0fc23eb.js';
6
6
  import Container from 'react-bootstrap/Container';
7
7
  import Row from 'react-bootstrap/Row';
8
8
  import Col from 'react-bootstrap/Col';
@@ -12,15 +12,15 @@ import { m as moment } from './moment-bc12cb97.js';
12
12
  import { withRouter } from 'next/router';
13
13
  import { L as LazyLoad } from './index-755f2cc2.js';
14
14
  import { c as clean_html_1 } from './entities-6d9154b4.js';
15
- import { A as ADInfeed } from './ADInfeed-6d0c0856.js';
15
+ import { A as ADInfeed } from './ADInfeed-74cc728c.js';
16
16
  import { l as lodash } from './lodash-f97fd99a.js';
17
- import { A as ADlgInfeed } from './ADlgInfeed-93bc2250.js';
17
+ import { A as ADlgInfeed } from './ADlgInfeed-b6217567.js';
18
18
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
19
19
  import { g as get_1 } from './get-3c308da4.js';
20
20
  import { d as debounce_1 } from './debounce-533d9748.js';
21
21
  import { I as InfiniteScroll } from './index.es-a6137319.js';
22
22
  import urlFor from './urlFor.js';
23
- import { m as main_43 } from './main-754d4992.js';
23
+ import { m as main_43 } from './main-f97773b2.js';
24
24
  import './AD.js';
25
25
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
26
26
  import { P as PublicationFeature } from './PublicationFeature-3cc370de.js';
@@ -33,6 +33,7 @@ import './typeof-657f25da.js';
33
33
  import './web.dom.iterable-ab4dea5c.js';
34
34
  import './_is-array-8d21b9e3.js';
35
35
  import './_library-528f1934.js';
36
+ import './events-6c3a7a63.js';
36
37
  import 'prop-types';
37
38
  import 'react-dom';
38
39
  import './slicedToArray-6ebcbfea.js';
@@ -4,7 +4,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-648
4
4
  import { _ as _extends } from './extends-1559c147.js';
5
5
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
6
6
  import React__default from 'react';
7
- import { l as lib_3 } from './index-5cc7b406.js';
7
+ import { l as lib_3 } from './index-f0fc23eb.js';
8
8
  import Container from 'react-bootstrap/Container';
9
9
  import Row from 'react-bootstrap/Row';
10
10
  import Col from 'react-bootstrap/Col';
@@ -13,16 +13,16 @@ import { m as moment } from './moment-bc12cb97.js';
13
13
  import { withRouter } from 'next/router';
14
14
  import { L as LazyLoad } from './index-755f2cc2.js';
15
15
  import { c as clean_html_1 } from './entities-6d9154b4.js';
16
- import { A as ADInfeed } from './ADInfeed-6d0c0856.js';
16
+ import { A as ADInfeed } from './ADInfeed-74cc728c.js';
17
17
  import { l as lodash } from './lodash-f97fd99a.js';
18
- import { A as ADlgInfeed } from './ADlgInfeed-93bc2250.js';
18
+ import { A as ADlgInfeed } from './ADlgInfeed-b6217567.js';
19
19
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
20
20
  import { g as get_1 } from './get-3c308da4.js';
21
21
  import urlFor from './urlFor.js';
22
- import { m as main_43 } from './main-754d4992.js';
22
+ import { m as main_43 } from './main-f97773b2.js';
23
23
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
24
24
  import { P as PublicationFeature } from './PublicationFeature-3cc370de.js';
25
- import { P as Pagination } from './Pagination-9fe9f61d.js';
25
+ import { P as Pagination } from './Pagination-dc30727b.js';
26
26
  import Spinner from 'react-bootstrap/Spinner';
27
27
  import './_commonjsHelpers-0c4b6f40.js';
28
28
  import './core.get-iterator-method-ea258bb1.js';
@@ -34,6 +34,7 @@ import './_object-sap-7cee6f84.js';
34
34
  import './define-property-5f1bda73.js';
35
35
  import './typeof-657f25da.js';
36
36
  import './_is-array-8d21b9e3.js';
37
+ import './events-6c3a7a63.js';
37
38
  import 'prop-types';
38
39
  import 'react-dom';
39
40
  import './slicedToArray-6ebcbfea.js';
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import React__default, { useRef, useState, useEffect } from 'react';
4
4
  import { N as NavFooter } from './NavFooter-1546a102.js';
5
5
  import { S as SocialNavFooter } from './index.esm-35a42e7d.js';
6
- import { S as SocialSearchComponent } from './SocialSearchComponent-6065bff2.js';
6
+ import { S as SocialSearchComponent } from './SocialSearchComponent-020f9e81.js';
7
7
  import 'react-bootstrap/Form';
8
8
  import 'react-bootstrap/FormControl';
9
9
  import 'react-bootstrap/Button';
@@ -15,7 +15,7 @@ import Navbar from 'react-bootstrap/Navbar';
15
15
  import NavDropdown from 'react-bootstrap/NavDropdown';
16
16
  import { M as MdEmail } from './index.esm-9b042655.js';
17
17
  import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
18
- import { m as main_43, c as main_44 } from './main-754d4992.js';
18
+ import { m as main_43, c as main_44 } from './main-f97773b2.js';
19
19
  import './_commonjsHelpers-0c4b6f40.js';
20
20
  import './core.get-iterator-method-ea258bb1.js';
21
21
  import './web.dom.iterable-ab4dea5c.js';
@@ -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-1fd45cc5.js';
6
+ import { g as getSerializers } from './index-1d8d115d.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './YoutubeGroup.js';
@@ -16,10 +16,11 @@ import 'prop-types';
16
16
  import './smoothscroll-fa4e3f8c.js';
17
17
  import './urlFor.js';
18
18
  import './index-3f5c03b2.js';
19
- import './main-754d4992.js';
19
+ import './main-f97773b2.js';
20
20
  import './iconBase-ccc56b97.js';
21
21
  import 'react-bootstrap';
22
- import './index-5cc7b406.js';
22
+ import './index-f0fc23eb.js';
23
+ import './events-6c3a7a63.js';
23
24
  import 'next/router';
24
25
  import './Beam.js';
25
26
  import './stringify-2b084bee.js';
@@ -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-1fd45cc5.js';
6
+ import { g as getSerializers } from './index-1d8d115d.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './slicedToArray-6ebcbfea.js';
@@ -17,13 +17,14 @@ import './index.es-a6137319.js';
17
17
  import './moment-bc12cb97.js';
18
18
  import './visibility-sensor-72fd8f8b.js';
19
19
  import 'react-dom';
20
- import './index-5cc7b406.js';
20
+ import './index-f0fc23eb.js';
21
+ import './events-6c3a7a63.js';
21
22
  import 'prop-types';
22
23
  import 'next/router';
23
24
  import './index-755f2cc2.js';
24
- import './main-754d4992.js';
25
+ import './main-f97773b2.js';
25
26
  import './entities-6d9154b4.js';
26
- import './ADInfeed-6d0c0856.js';
27
+ import './ADInfeed-74cc728c.js';
27
28
  import 'react-bootstrap/Card';
28
29
  import './AdSlot.js';
29
30
  import './debounce-533d9748.js';
@@ -37,7 +38,7 @@ import './_set-species-2cd9340f.js';
37
38
  import './Segment.js';
38
39
  import './AuthorComponent-11adff02.js';
39
40
  import './lodash-f97fd99a.js';
40
- import './ADlgInfeed-93bc2250.js';
41
+ import './ADlgInfeed-b6217567.js';
41
42
  import './getContentCategory-15dcc413.js';
42
43
  import './timeDifferenceCalc.js';
43
44
  import 'react-bootstrap/Breadcrumb';
@@ -10,7 +10,8 @@ import './slicedToArray-6ebcbfea.js';
10
10
  import './web.dom.iterable-ab4dea5c.js';
11
11
  import './AdSlot.js';
12
12
  import 'prop-types';
13
- import './index-5cc7b406.js';
13
+ import './index-f0fc23eb.js';
14
+ import './events-6c3a7a63.js';
14
15
  import './debounce-533d9748.js';
15
16
  import './isSymbol-a7e9aafe.js';
16
17
  import './toNumber-5aeba6e7.js';
@@ -20,7 +21,7 @@ import './asyncToGenerator-64822ccc.js';
20
21
  import './_library-528f1934.js';
21
22
  import './_set-species-2cd9340f.js';
22
23
  import './_iter-detect-98db3b07.js';
23
- import './main-754d4992.js';
24
+ import './main-f97773b2.js';
24
25
 
25
26
  var LeftNav = function LeftNav(props) {
26
27
  var leftItems = props.leftItems,
@@ -3,7 +3,7 @@ import { a as _Promise } from './asyncToGenerator-64822ccc.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
5
5
  import React__default from 'react';
6
- import { l as lib_3 } from './index-5cc7b406.js';
6
+ import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import Container from 'react-bootstrap/Container';
8
8
  import 'react-bootstrap/Row';
9
9
  import 'react-bootstrap/Col';
@@ -16,9 +16,9 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import './slicedToArray-6ebcbfea.js';
18
18
  import './index-3f5c03b2.js';
19
- import { A as ADlgInfeed } from './ADlgInfeed-93bc2250.js';
20
- import { A as ADInfeed } from './ADInfeed-6d0c0856.js';
21
- import './main-754d4992.js';
19
+ import { A as ADlgInfeed } from './ADlgInfeed-b6217567.js';
20
+ import { A as ADInfeed } from './ADInfeed-74cc728c.js';
21
+ import './main-f97773b2.js';
22
22
  import './_commonjsHelpers-0c4b6f40.js';
23
23
  import './core.get-iterator-method-ea258bb1.js';
24
24
  import './_iter-detect-98db3b07.js';
@@ -29,6 +29,7 @@ import './_object-sap-7cee6f84.js';
29
29
  import './define-property-5f1bda73.js';
30
30
  import './typeof-657f25da.js';
31
31
  import './_is-array-8d21b9e3.js';
32
+ import './events-6c3a7a63.js';
32
33
  import 'prop-types';
33
34
  import './isSymbol-a7e9aafe.js';
34
35
  import './toNumber-5aeba6e7.js';