@mjhls/mjh-framework 1.0.1056 → 1.0.1058

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 (182) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD300x250.js +1 -1
  3. package/dist/cjs/AD300x250x600.js +1 -1
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/{ADInfeed-98ee4120.js → ADInfeed-0519664d.js} +1 -1
  8. package/dist/cjs/ADSkyscraper.js +1 -1
  9. package/dist/cjs/ADSponsoredResources.js +1 -1
  10. package/dist/cjs/ADWebcast.js +1 -1
  11. package/dist/cjs/ADWelcome.js +1 -1
  12. package/dist/cjs/{ADlgInfeed-55df7d69.js → ADlgInfeed-e544ac1c.js} +1 -1
  13. package/dist/cjs/AdSlot.js +1 -1
  14. package/dist/cjs/AdSlotsProvider.js +1 -1
  15. package/dist/cjs/AlgoliaSearch.js +91 -63
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +3 -4
  18. package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
  19. package/dist/cjs/ArticleSeriesListing.js +1 -1
  20. package/dist/cjs/AuthWrapper.js +294 -1476
  21. package/dist/cjs/CEDeckSupabase.js +2 -2
  22. package/dist/cjs/CMEDeck.js +1 -1
  23. package/dist/cjs/Column3.js +1 -1
  24. package/dist/cjs/ConferenceArticleCard.js +15 -15
  25. package/dist/cjs/ContentCardPaginated.js +3 -3
  26. package/dist/cjs/DeckContent.js +11 -11
  27. package/dist/cjs/DeckQueue.js +2 -2
  28. package/dist/cjs/DeckQueuePaginated.js +2 -2
  29. package/dist/cjs/EventsDeck.js +18 -18
  30. package/dist/cjs/ExternalResources.js +3 -4
  31. package/dist/cjs/Feature.js +1 -1
  32. package/dist/cjs/GridContent.js +4 -4
  33. package/dist/cjs/GridContentPaginated.js +4 -4
  34. package/dist/cjs/GridHero.js +1 -1
  35. package/dist/cjs/HamMagazine.js +11 -11
  36. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  37. package/dist/cjs/Hero.js +1 -1
  38. package/dist/cjs/HorizontalArticleListing.js +3 -4
  39. package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-62a43659.js} +149 -92
  40. package/dist/cjs/IssueLanding.js +34 -35
  41. package/dist/cjs/KMTracker.js +15 -15
  42. package/dist/cjs/LeftNav.js +1 -1
  43. package/dist/cjs/MasterDeck.js +11 -11
  44. package/dist/cjs/MasterDeckPaginated.js +11 -11
  45. package/dist/cjs/{MediaSeriesCard-6c1bfd9c.js → MediaSeriesCard-3cf661c7.js} +2 -2
  46. package/dist/cjs/MediaSeriesLanding.js +13 -14
  47. package/dist/cjs/MediaSeriesLandingPaginated.js +13 -14
  48. package/dist/cjs/NavMagazine.js +12 -12
  49. package/dist/cjs/NavNative.js +10 -10
  50. package/dist/cjs/OncliveLargeHero.js +1 -1
  51. package/dist/cjs/PartnerDetailListing.js +6 -8
  52. package/dist/cjs/PartnerDetailListingPaginated.js +6 -8
  53. package/dist/cjs/PodcastsLanding.js +6 -7
  54. package/dist/cjs/PubSection.js +4 -4
  55. package/dist/cjs/PublicationLanding.js +26 -26
  56. package/dist/cjs/QueueDeckExpanded.js +4 -4
  57. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
  58. package/dist/cjs/RelatedContent.js +28 -28
  59. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  60. package/dist/cjs/SeriesListingDeck.js +2 -2
  61. package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-edcb8e4b.js} +5 -5
  62. package/dist/cjs/SideFooter.js +2 -2
  63. package/dist/cjs/{SocialSearchComponent-d7e5d3a6.js → SocialSearchComponent-e9ec9c63.js} +1 -1
  64. package/dist/cjs/TaxonomyDescription.js +3 -4
  65. package/dist/cjs/TemplateNormal.js +2 -2
  66. package/dist/cjs/ThumbnailCard.js +1 -1
  67. package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-980a1d1a.js} +108 -264
  68. package/dist/cjs/Ustream.js +1 -1
  69. package/dist/cjs/VideoProgramLandingPage.js +3 -4
  70. package/dist/cjs/VideoSeriesCard.js +1 -1
  71. package/dist/cjs/VideoSeriesLandingPage.js +3 -3
  72. package/dist/cjs/VideoSeriesListing.js +1 -1
  73. package/dist/cjs/View.js +7 -9
  74. package/dist/cjs/YahooHero.js +1 -1
  75. package/dist/cjs/YoutubeGroup.js +5 -5
  76. package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
  77. package/dist/cjs/faundadb.js +321 -4
  78. package/dist/cjs/getRelatedArticle.js +211 -6
  79. package/dist/cjs/getSerializers.js +3 -4
  80. package/dist/cjs/{getTargeting-5b954783.js → getTargeting-45ffbee8.js} +9 -9
  81. package/dist/cjs/getTargeting.js +1 -1
  82. package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
  83. package/dist/cjs/{index-46b24f52.js → index-c19999b7.js} +598 -15
  84. package/dist/cjs/index.js +10 -20
  85. package/dist/cjs/{main-ae8472f3.js → main-47be4f9f.js} +9 -4
  86. package/dist/esm/AD300x250.js +1 -1
  87. package/dist/esm/AD300x250x600.js +1 -1
  88. package/dist/esm/AD728x90.js +1 -1
  89. package/dist/esm/ADFloatingFooter.js +1 -1
  90. package/dist/esm/ADGutter.js +1 -1
  91. package/dist/esm/{ADInfeed-6d0c0856.js → ADInfeed-c3f5613e.js} +1 -1
  92. package/dist/esm/ADSkyscraper.js +1 -1
  93. package/dist/esm/ADSponsoredResources.js +1 -1
  94. package/dist/esm/ADWebcast.js +1 -1
  95. package/dist/esm/ADWelcome.js +1 -1
  96. package/dist/esm/{ADlgInfeed-93bc2250.js → ADlgInfeed-2b148f3f.js} +1 -1
  97. package/dist/esm/AdSlot.js +1 -1
  98. package/dist/esm/AdSlotsProvider.js +1 -1
  99. package/dist/esm/AlgoliaSearch.js +91 -63
  100. package/dist/esm/ArticleCarousel.js +1 -1
  101. package/dist/esm/ArticleProgramLandingPage.js +3 -4
  102. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  103. package/dist/esm/ArticleSeriesListing.js +1 -1
  104. package/dist/esm/AuthWrapper.js +288 -1470
  105. package/dist/esm/CEDeckSupabase.js +2 -2
  106. package/dist/esm/CMEDeck.js +1 -1
  107. package/dist/esm/Column3.js +1 -1
  108. package/dist/esm/ConferenceArticleCard.js +15 -15
  109. package/dist/esm/ContentCardPaginated.js +3 -3
  110. package/dist/esm/DeckContent.js +11 -11
  111. package/dist/esm/DeckQueue.js +2 -2
  112. package/dist/esm/DeckQueuePaginated.js +2 -2
  113. package/dist/esm/EventsDeck.js +18 -18
  114. package/dist/esm/ExternalResources.js +3 -4
  115. package/dist/esm/Feature.js +1 -1
  116. package/dist/esm/GridContent.js +4 -4
  117. package/dist/esm/GridContentPaginated.js +4 -4
  118. package/dist/esm/GridHero.js +1 -1
  119. package/dist/esm/HamMagazine.js +11 -11
  120. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  121. package/dist/esm/Hero.js +1 -1
  122. package/dist/esm/HorizontalArticleListing.js +3 -4
  123. package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-aea3a615.js} +67 -10
  124. package/dist/esm/IssueLanding.js +34 -35
  125. package/dist/esm/KMTracker.js +15 -15
  126. package/dist/esm/LeftNav.js +1 -1
  127. package/dist/esm/MasterDeck.js +11 -11
  128. package/dist/esm/MasterDeckPaginated.js +11 -11
  129. package/dist/esm/{MediaSeriesCard-ed860bcf.js → MediaSeriesCard-52a2e1ca.js} +2 -2
  130. package/dist/esm/MediaSeriesLanding.js +13 -14
  131. package/dist/esm/MediaSeriesLandingPaginated.js +13 -14
  132. package/dist/esm/NavMagazine.js +12 -12
  133. package/dist/esm/NavNative.js +10 -10
  134. package/dist/esm/OncliveLargeHero.js +1 -1
  135. package/dist/esm/PartnerDetailListing.js +6 -8
  136. package/dist/esm/PartnerDetailListingPaginated.js +6 -8
  137. package/dist/esm/PodcastsLanding.js +6 -7
  138. package/dist/esm/PubSection.js +4 -4
  139. package/dist/esm/PublicationLanding.js +26 -26
  140. package/dist/esm/QueueDeckExpanded.js +4 -4
  141. package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
  142. package/dist/esm/RelatedContent.js +28 -28
  143. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  144. package/dist/esm/SeriesListingDeck.js +2 -2
  145. package/dist/esm/{SeriesSlider-a6b1d617.js → SeriesSlider-2e83e861.js} +5 -5
  146. package/dist/esm/SideFooter.js +2 -2
  147. package/dist/esm/{SocialSearchComponent-6065bff2.js → SocialSearchComponent-020f9e81.js} +1 -1
  148. package/dist/esm/TaxonomyDescription.js +3 -4
  149. package/dist/esm/TemplateNormal.js +2 -2
  150. package/dist/esm/ThumbnailCard.js +1 -1
  151. package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-51957f7c.js} +108 -264
  152. package/dist/esm/Ustream.js +1 -1
  153. package/dist/esm/VideoProgramLandingPage.js +3 -4
  154. package/dist/esm/VideoSeriesCard.js +1 -1
  155. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  156. package/dist/esm/VideoSeriesListing.js +1 -1
  157. package/dist/esm/View.js +7 -9
  158. package/dist/esm/YahooHero.js +1 -1
  159. package/dist/esm/YoutubeGroup.js +5 -5
  160. package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
  161. package/dist/esm/faundadb.js +319 -2
  162. package/dist/esm/getRelatedArticle.js +206 -1
  163. package/dist/esm/getSerializers.js +3 -4
  164. package/dist/esm/{getTargeting-5a281334.js → getTargeting-a569a9cc.js} +9 -9
  165. package/dist/esm/getTargeting.js +1 -1
  166. package/dist/esm/{index-d3b5043e.js → index-588abaff.js} +588 -5
  167. package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
  168. package/dist/esm/index.js +10 -19
  169. package/dist/esm/{main-754d4992.js → main-f97773b2.js} +9 -4
  170. package/package.json +116 -116
  171. package/dist/cjs/Auth.js +0 -3682
  172. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  173. package/dist/cjs/index-bd6c9f56.js +0 -211
  174. package/dist/cjs/md5-e1ca5797.js +0 -323
  175. package/dist/cjs/typeof-1358762e.js +0 -33
  176. package/dist/cjs/util-93a37fd0.js +0 -587
  177. package/dist/esm/Auth.js +0 -3661
  178. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  179. package/dist/esm/index-db3bb315.js +0 -207
  180. package/dist/esm/md5-4e42248e.js +0 -321
  181. package/dist/esm/typeof-2f07d0e8.js +0 -30
  182. package/dist/esm/util-8ed16d48.js +0 -585
@@ -1,6 +1,5 @@
1
1
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
2
2
  import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
3
- import { c as cookie } from './index-db3bb315.js';
4
3
  import getQuery from './getQuery.js';
5
4
  import './core.get-iterator-method-ea258bb1.js';
6
5
  import './web.dom.iterable-ab4dea5c.js';
@@ -8,6 +7,212 @@ import './_library-528f1934.js';
8
7
  import './_set-species-2cd9340f.js';
9
8
  import './_iter-detect-98db3b07.js';
10
9
 
10
+ /*!
11
+ * cookie
12
+ * Copyright(c) 2012-2014 Roman Shtylman
13
+ * Copyright(c) 2015 Douglas Christopher Wilson
14
+ * MIT Licensed
15
+ */
16
+
17
+ /**
18
+ * Module exports.
19
+ * @public
20
+ */
21
+
22
+ var parse_1$1 = parse$1;
23
+ var serialize_1 = serialize;
24
+
25
+ /**
26
+ * Module variables.
27
+ * @private
28
+ */
29
+
30
+ var decode = decodeURIComponent;
31
+ var encode = encodeURIComponent;
32
+ var pairSplitRegExp = /; */;
33
+
34
+ /**
35
+ * RegExp to match field-content in RFC 7230 sec 3.2
36
+ *
37
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
38
+ * field-vchar = VCHAR / obs-text
39
+ * obs-text = %x80-FF
40
+ */
41
+
42
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
43
+
44
+ /**
45
+ * Parse a cookie header.
46
+ *
47
+ * Parse the given cookie header string into an object
48
+ * The object has the various cookies as keys(names) => values
49
+ *
50
+ * @param {string} str
51
+ * @param {object} [options]
52
+ * @return {object}
53
+ * @public
54
+ */
55
+
56
+ function parse$1(str, options) {
57
+ if (typeof str !== 'string') {
58
+ throw new TypeError('argument str must be a string');
59
+ }
60
+
61
+ var obj = {};
62
+ var opt = options || {};
63
+ var pairs = str.split(pairSplitRegExp);
64
+ var dec = opt.decode || decode;
65
+
66
+ for (var i = 0; i < pairs.length; i++) {
67
+ var pair = pairs[i];
68
+ var eq_idx = pair.indexOf('=');
69
+
70
+ // skip things that don't look like key=value
71
+ if (eq_idx < 0) {
72
+ continue;
73
+ }
74
+
75
+ var key = pair.substr(0, eq_idx).trim();
76
+ var val = pair.substr(++eq_idx, pair.length).trim();
77
+
78
+ // quoted values
79
+ if ('"' == val[0]) {
80
+ val = val.slice(1, -1);
81
+ }
82
+
83
+ // only assign once
84
+ if (undefined == obj[key]) {
85
+ obj[key] = tryDecode(val, dec);
86
+ }
87
+ }
88
+
89
+ return obj;
90
+ }
91
+
92
+ /**
93
+ * Serialize data into a cookie header.
94
+ *
95
+ * Serialize the a name value pair into a cookie string suitable for
96
+ * http headers. An optional options object specified cookie parameters.
97
+ *
98
+ * serialize('foo', 'bar', { httpOnly: true })
99
+ * => "foo=bar; httpOnly"
100
+ *
101
+ * @param {string} name
102
+ * @param {string} val
103
+ * @param {object} [options]
104
+ * @return {string}
105
+ * @public
106
+ */
107
+
108
+ function serialize(name, val, options) {
109
+ var opt = options || {};
110
+ var enc = opt.encode || encode;
111
+
112
+ if (typeof enc !== 'function') {
113
+ throw new TypeError('option encode is invalid');
114
+ }
115
+
116
+ if (!fieldContentRegExp.test(name)) {
117
+ throw new TypeError('argument name is invalid');
118
+ }
119
+
120
+ var value = enc(val);
121
+
122
+ if (value && !fieldContentRegExp.test(value)) {
123
+ throw new TypeError('argument val is invalid');
124
+ }
125
+
126
+ var str = name + '=' + value;
127
+
128
+ if (null != opt.maxAge) {
129
+ var maxAge = opt.maxAge - 0;
130
+
131
+ if (isNaN(maxAge) || !isFinite(maxAge)) {
132
+ throw new TypeError('option maxAge is invalid')
133
+ }
134
+
135
+ str += '; Max-Age=' + Math.floor(maxAge);
136
+ }
137
+
138
+ if (opt.domain) {
139
+ if (!fieldContentRegExp.test(opt.domain)) {
140
+ throw new TypeError('option domain is invalid');
141
+ }
142
+
143
+ str += '; Domain=' + opt.domain;
144
+ }
145
+
146
+ if (opt.path) {
147
+ if (!fieldContentRegExp.test(opt.path)) {
148
+ throw new TypeError('option path is invalid');
149
+ }
150
+
151
+ str += '; Path=' + opt.path;
152
+ }
153
+
154
+ if (opt.expires) {
155
+ if (typeof opt.expires.toUTCString !== 'function') {
156
+ throw new TypeError('option expires is invalid');
157
+ }
158
+
159
+ str += '; Expires=' + opt.expires.toUTCString();
160
+ }
161
+
162
+ if (opt.httpOnly) {
163
+ str += '; HttpOnly';
164
+ }
165
+
166
+ if (opt.secure) {
167
+ str += '; Secure';
168
+ }
169
+
170
+ if (opt.sameSite) {
171
+ var sameSite = typeof opt.sameSite === 'string'
172
+ ? opt.sameSite.toLowerCase() : opt.sameSite;
173
+
174
+ switch (sameSite) {
175
+ case true:
176
+ str += '; SameSite=Strict';
177
+ break;
178
+ case 'lax':
179
+ str += '; SameSite=Lax';
180
+ break;
181
+ case 'strict':
182
+ str += '; SameSite=Strict';
183
+ break;
184
+ case 'none':
185
+ str += '; SameSite=None';
186
+ break;
187
+ default:
188
+ throw new TypeError('option sameSite is invalid');
189
+ }
190
+ }
191
+
192
+ return str;
193
+ }
194
+
195
+ /**
196
+ * Try decoding a string using a decoding function.
197
+ *
198
+ * @param {string} str
199
+ * @param {function} decode
200
+ * @private
201
+ */
202
+
203
+ function tryDecode(str, decode) {
204
+ try {
205
+ return decode(str);
206
+ } catch (e) {
207
+ return str;
208
+ }
209
+ }
210
+
211
+ var cookie = {
212
+ parse: parse_1$1,
213
+ serialize: serialize_1
214
+ };
215
+
11
216
  var defaultParseOptions = {
12
217
  decodeValues: true,
13
218
  map: false,
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
- export { g as default } from './index-d3b5043e.js';
2
+ export { g as default } from './index-588abaff.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
- import './entities-6d9154b4.js';
4
+ import './entities-932b50cf.js';
5
5
  import './slicedToArray-6ebcbfea.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './web.dom.iterable-ab4dea5c.js';
@@ -14,7 +14,6 @@ import './index-5cc7b406.js';
14
14
  import 'prop-types';
15
15
  import 'next/router';
16
16
  import './index-c7e2ac95.js';
17
- import './util-8ed16d48.js';
18
17
  import './Beam.js';
19
18
  import './stringify-2b084bee.js';
20
19
  import './asyncToGenerator-64822ccc.js';
@@ -22,7 +21,7 @@ import './_library-528f1934.js';
22
21
  import './_set-species-2cd9340f.js';
23
22
  import './_iter-detect-98db3b07.js';
24
23
  import './Segment.js';
25
- import './main-754d4992.js';
24
+ import './main-f97773b2.js';
26
25
  import './urlForFile-f6485737.js';
27
26
  import './index-755f2cc2.js';
28
27
  import 'react-dom';
@@ -2,18 +2,18 @@ import { _ as _extends } from './extends-1559c147.js';
2
2
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
- var cp_url = '';
6
- if (cp.ancestor && typeof cp.ancestor == 'string') {
7
- cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
- }
5
+ var cp_url = '';
6
+ if (cp.ancestor && typeof cp.ancestor == 'string') {
7
+ cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
+ }
9
9
 
10
- if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
- cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
- }
10
+ if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
+ cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
+ }
13
13
 
14
- cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
14
+ cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
15
15
 
16
- return cp_url;
16
+ return cp_url;
17
17
  };
18
18
 
19
19
  var getTargeting = function getTargeting(props) {
@@ -1,6 +1,6 @@
1
1
  import './extends-1559c147.js';
2
2
  import './toConsumableArray-f7074d7c.js';
3
- export { g as default } from './getTargeting-5a281334.js';
3
+ export { g as default } from './getTargeting-a569a9cc.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './core.get-iterator-method-ea258bb1.js';
6
6
  import './_iter-detect-98db3b07.js';