@mjhls/mjh-framework 1.0.850-beta.0 → 1.0.850-beta.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 (55) hide show
  1. package/dist/cjs/AdSlotsProvider.js +2 -895
  2. package/dist/cjs/AlgoliaSearch.js +336 -237
  3. package/dist/cjs/ArticleProgramLandingPage.js +2 -3
  4. package/dist/cjs/ArticleSeriesLandingPage.js +1 -1
  5. package/dist/cjs/ArticleSeriesListing.js +1 -1
  6. package/dist/cjs/DeckContent.js +1 -1
  7. package/dist/cjs/DeckQueue.js +1 -1
  8. package/dist/cjs/ExternalResources.js +2 -3
  9. package/dist/cjs/GridContent.js +1 -1
  10. package/dist/cjs/HorizontalArticleListing.js +2 -3
  11. package/dist/cjs/IssueLanding.js +2 -3
  12. package/dist/cjs/MasterDeck.js +1 -1
  13. package/dist/cjs/MediaSeriesLanding.js +5 -6
  14. package/dist/cjs/PartnerDetailListing.js +6 -1105
  15. package/dist/cjs/QueueDeckExpanded.js +1097 -112
  16. package/dist/cjs/TaxonomyDescription.js +2 -3
  17. package/dist/cjs/VideoProgramLandingPage.js +2 -3
  18. package/dist/cjs/VideoSeriesCard.js +2 -2
  19. package/dist/cjs/VideoSeriesLandingPage.js +3 -3
  20. package/dist/cjs/VideoSeriesListing.js +1 -1
  21. package/dist/cjs/View.js +5 -7
  22. package/dist/cjs/faundadb.js +321 -4
  23. package/dist/cjs/getRelatedArticle.js +21 -438
  24. package/dist/cjs/getSerializers.js +2 -3
  25. package/dist/cjs/{index-bc88f898.js → index-4151deb3.js} +587 -15
  26. package/dist/cjs/index.js +6 -13
  27. package/dist/cjs/{inherits-452ff02c.js → inherits-9953db94.js} +4 -4
  28. package/dist/esm/AdSlotsProvider.js +6 -898
  29. package/dist/esm/AlgoliaSearch.js +100 -1
  30. package/dist/esm/ArticleProgramLandingPage.js +1 -2
  31. package/dist/esm/ExternalResources.js +1 -2
  32. package/dist/esm/HorizontalArticleListing.js +1 -2
  33. package/dist/esm/IssueLanding.js +1 -2
  34. package/dist/esm/MediaSeriesLanding.js +1 -2
  35. package/dist/esm/PartnerDetailListing.js +5 -1103
  36. package/dist/esm/QueueDeckExpanded.js +1098 -113
  37. package/dist/esm/TaxonomyDescription.js +1 -2
  38. package/dist/esm/VideoProgramLandingPage.js +1 -2
  39. package/dist/esm/View.js +2 -4
  40. package/dist/esm/faundadb.js +319 -2
  41. package/dist/esm/getRelatedArticle.js +21 -438
  42. package/dist/esm/getSerializers.js +1 -2
  43. package/dist/esm/{index-f2a0d400.js → index-d6dc592a.js} +575 -3
  44. package/dist/esm/index.js +4 -10
  45. package/package.json +8 -3
  46. package/dist/cjs/Auth.js +0 -3428
  47. package/dist/cjs/index-bd6c9f56.js +0 -211
  48. package/dist/cjs/inherits-8d29278d.js +0 -110
  49. package/dist/cjs/md5-5039b1a6.js +0 -323
  50. package/dist/cjs/util-f2c1b65b.js +0 -576
  51. package/dist/esm/Auth.js +0 -3412
  52. package/dist/esm/index-db3bb315.js +0 -207
  53. package/dist/esm/inherits-77d5e4fc.js +0 -101
  54. package/dist/esm/md5-9be0e905.js +0 -321
  55. package/dist/esm/util-7700fc59.js +0 -574
@@ -44,8 +44,7 @@ import './GroupDeck.js';
44
44
  import 'react-bootstrap';
45
45
  import './iconBase-602d52fe.js';
46
46
  import './index.esm-29e48d38.js';
47
- import { g as getSerializers } from './index-f2a0d400.js';
48
- import './util-7700fc59.js';
47
+ import { g as getSerializers } from './index-d6dc592a.js';
49
48
  import './brightcove-react-player-loader.es-83f53e4e.js';
50
49
  import Head from 'next/head';
51
50
  import 'react-share';
@@ -49,8 +49,7 @@ import 'react-bootstrap';
49
49
  import './iconBase-602d52fe.js';
50
50
  import './index.esm-29e48d38.js';
51
51
  import VideoSeriesListing from './VideoSeriesListing.js';
52
- import { g as getSerializers } from './index-f2a0d400.js';
53
- import './util-7700fc59.js';
52
+ import { g as getSerializers } from './index-d6dc592a.js';
54
53
  import './brightcove-react-player-loader.es-83f53e4e.js';
55
54
  import 'next/head';
56
55
  import 'react-share';
package/dist/esm/View.js CHANGED
@@ -46,8 +46,7 @@ import './GroupDeck.js';
46
46
  import 'react-bootstrap';
47
47
  import './iconBase-602d52fe.js';
48
48
  import './index.esm-29e48d38.js';
49
- import { r as renderAuthor, g as getSerializers } from './index-f2a0d400.js';
50
- import './util-7700fc59.js';
49
+ import { r as renderAuthor, g as getSerializers } from './index-d6dc592a.js';
51
50
  import './brightcove-react-player-loader.es-83f53e4e.js';
52
51
  import Head from 'next/head';
53
52
  import 'react-share';
@@ -61,9 +60,8 @@ import { _ as _Object$keys } from './keys-8eda7a5c.js';
61
60
  import 'react-bootstrap/Dropdown';
62
61
  import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
63
62
  import getSeriesDetail from './getSeriesDetail.js';
64
- import './index-db3bb315.js';
65
- import getRelatedArticle from './getRelatedArticle.js';
66
63
  import getQuery from './getQuery.js';
64
+ import getRelatedArticle from './getRelatedArticle.js';
67
65
  import { S as SeriesSlider } from './SeriesSlider-a866bb21.js';
68
66
  import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-bd800589.js';
69
67
  import getKeywords from './getKeywords.js';
@@ -1,4 +1,4 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
1
+ import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import './_to-object-a4107da3.js';
3
3
  import './es6.string.iterator-c990c18c.js';
4
4
  import './_library-528f1934.js';
@@ -6,7 +6,324 @@ import './_iter-detect-5d49a330.js';
6
6
  import './core.get-iterator-method-e1de7503.js';
7
7
  import './web.dom.iterable-4439f05a.js';
8
8
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
9
- import { m as md5 } from './md5-9be0e905.js';
9
+
10
+ var crypt = createCommonjsModule(function (module) {
11
+ (function() {
12
+ var base64map
13
+ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
14
+
15
+ crypt = {
16
+ // Bit-wise rotation left
17
+ rotl: function(n, b) {
18
+ return (n << b) | (n >>> (32 - b));
19
+ },
20
+
21
+ // Bit-wise rotation right
22
+ rotr: function(n, b) {
23
+ return (n << (32 - b)) | (n >>> b);
24
+ },
25
+
26
+ // Swap big-endian to little-endian and vice versa
27
+ endian: function(n) {
28
+ // If number given, swap endian
29
+ if (n.constructor == Number) {
30
+ return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;
31
+ }
32
+
33
+ // Else, assume array and swap all items
34
+ for (var i = 0; i < n.length; i++)
35
+ n[i] = crypt.endian(n[i]);
36
+ return n;
37
+ },
38
+
39
+ // Generate an array of any length of random bytes
40
+ randomBytes: function(n) {
41
+ for (var bytes = []; n > 0; n--)
42
+ bytes.push(Math.floor(Math.random() * 256));
43
+ return bytes;
44
+ },
45
+
46
+ // Convert a byte array to big-endian 32-bit words
47
+ bytesToWords: function(bytes) {
48
+ for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)
49
+ words[b >>> 5] |= bytes[i] << (24 - b % 32);
50
+ return words;
51
+ },
52
+
53
+ // Convert big-endian 32-bit words to a byte array
54
+ wordsToBytes: function(words) {
55
+ for (var bytes = [], b = 0; b < words.length * 32; b += 8)
56
+ bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);
57
+ return bytes;
58
+ },
59
+
60
+ // Convert a byte array to a hex string
61
+ bytesToHex: function(bytes) {
62
+ for (var hex = [], i = 0; i < bytes.length; i++) {
63
+ hex.push((bytes[i] >>> 4).toString(16));
64
+ hex.push((bytes[i] & 0xF).toString(16));
65
+ }
66
+ return hex.join('');
67
+ },
68
+
69
+ // Convert a hex string to a byte array
70
+ hexToBytes: function(hex) {
71
+ for (var bytes = [], c = 0; c < hex.length; c += 2)
72
+ bytes.push(parseInt(hex.substr(c, 2), 16));
73
+ return bytes;
74
+ },
75
+
76
+ // Convert a byte array to a base-64 string
77
+ bytesToBase64: function(bytes) {
78
+ for (var base64 = [], i = 0; i < bytes.length; i += 3) {
79
+ var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];
80
+ for (var j = 0; j < 4; j++)
81
+ if (i * 8 + j * 6 <= bytes.length * 8)
82
+ base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));
83
+ else
84
+ base64.push('=');
85
+ }
86
+ return base64.join('');
87
+ },
88
+
89
+ // Convert a base-64 string to a byte array
90
+ base64ToBytes: function(base64) {
91
+ // Remove non-base-64 characters
92
+ base64 = base64.replace(/[^A-Z0-9+\/]/ig, '');
93
+
94
+ for (var bytes = [], i = 0, imod4 = 0; i < base64.length;
95
+ imod4 = ++i % 4) {
96
+ if (imod4 == 0) continue;
97
+ bytes.push(((base64map.indexOf(base64.charAt(i - 1))
98
+ & (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))
99
+ | (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));
100
+ }
101
+ return bytes;
102
+ }
103
+ };
104
+
105
+ module.exports = crypt;
106
+ })();
107
+ });
108
+
109
+ var charenc = {
110
+ // UTF-8 encoding
111
+ utf8: {
112
+ // Convert a string to a byte array
113
+ stringToBytes: function(str) {
114
+ return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));
115
+ },
116
+
117
+ // Convert a byte array to a string
118
+ bytesToString: function(bytes) {
119
+ return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));
120
+ }
121
+ },
122
+
123
+ // Binary encoding
124
+ bin: {
125
+ // Convert a string to a byte array
126
+ stringToBytes: function(str) {
127
+ for (var bytes = [], i = 0; i < str.length; i++)
128
+ bytes.push(str.charCodeAt(i) & 0xFF);
129
+ return bytes;
130
+ },
131
+
132
+ // Convert a byte array to a string
133
+ bytesToString: function(bytes) {
134
+ for (var str = [], i = 0; i < bytes.length; i++)
135
+ str.push(String.fromCharCode(bytes[i]));
136
+ return str.join('');
137
+ }
138
+ }
139
+ };
140
+
141
+ var charenc_1 = charenc;
142
+
143
+ /*!
144
+ * Determine if an object is a Buffer
145
+ *
146
+ * @author Feross Aboukhadijeh <https://feross.org>
147
+ * @license MIT
148
+ */
149
+
150
+ // The _isBuffer check is for Safari 5-7 support, because it's missing
151
+ // Object.prototype.constructor. Remove this eventually
152
+ var isBuffer_1 = function (obj) {
153
+ return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
154
+ };
155
+
156
+ function isBuffer (obj) {
157
+ return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
158
+ }
159
+
160
+ // For Node v0.10 support. Remove this eventually.
161
+ function isSlowBuffer (obj) {
162
+ return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
163
+ }
164
+
165
+ var md5 = createCommonjsModule(function (module) {
166
+ (function(){
167
+ var crypt$1 = crypt,
168
+ utf8 = charenc_1.utf8,
169
+ isBuffer = isBuffer_1,
170
+ bin = charenc_1.bin,
171
+
172
+ // The core
173
+ md5 = function (message, options) {
174
+ // Convert to byte array
175
+ if (message.constructor == String)
176
+ if (options && options.encoding === 'binary')
177
+ message = bin.stringToBytes(message);
178
+ else
179
+ message = utf8.stringToBytes(message);
180
+ else if (isBuffer(message))
181
+ message = Array.prototype.slice.call(message, 0);
182
+ else if (!Array.isArray(message))
183
+ message = message.toString();
184
+ // else, assume byte array already
185
+
186
+ var m = crypt$1.bytesToWords(message),
187
+ l = message.length * 8,
188
+ a = 1732584193,
189
+ b = -271733879,
190
+ c = -1732584194,
191
+ d = 271733878;
192
+
193
+ // Swap endian
194
+ for (var i = 0; i < m.length; i++) {
195
+ m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |
196
+ ((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;
197
+ }
198
+
199
+ // Padding
200
+ m[l >>> 5] |= 0x80 << (l % 32);
201
+ m[(((l + 64) >>> 9) << 4) + 14] = l;
202
+
203
+ // Method shortcuts
204
+ var FF = md5._ff,
205
+ GG = md5._gg,
206
+ HH = md5._hh,
207
+ II = md5._ii;
208
+
209
+ for (var i = 0; i < m.length; i += 16) {
210
+
211
+ var aa = a,
212
+ bb = b,
213
+ cc = c,
214
+ dd = d;
215
+
216
+ a = FF(a, b, c, d, m[i+ 0], 7, -680876936);
217
+ d = FF(d, a, b, c, m[i+ 1], 12, -389564586);
218
+ c = FF(c, d, a, b, m[i+ 2], 17, 606105819);
219
+ b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);
220
+ a = FF(a, b, c, d, m[i+ 4], 7, -176418897);
221
+ d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);
222
+ c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);
223
+ b = FF(b, c, d, a, m[i+ 7], 22, -45705983);
224
+ a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);
225
+ d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);
226
+ c = FF(c, d, a, b, m[i+10], 17, -42063);
227
+ b = FF(b, c, d, a, m[i+11], 22, -1990404162);
228
+ a = FF(a, b, c, d, m[i+12], 7, 1804603682);
229
+ d = FF(d, a, b, c, m[i+13], 12, -40341101);
230
+ c = FF(c, d, a, b, m[i+14], 17, -1502002290);
231
+ b = FF(b, c, d, a, m[i+15], 22, 1236535329);
232
+
233
+ a = GG(a, b, c, d, m[i+ 1], 5, -165796510);
234
+ d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);
235
+ c = GG(c, d, a, b, m[i+11], 14, 643717713);
236
+ b = GG(b, c, d, a, m[i+ 0], 20, -373897302);
237
+ a = GG(a, b, c, d, m[i+ 5], 5, -701558691);
238
+ d = GG(d, a, b, c, m[i+10], 9, 38016083);
239
+ c = GG(c, d, a, b, m[i+15], 14, -660478335);
240
+ b = GG(b, c, d, a, m[i+ 4], 20, -405537848);
241
+ a = GG(a, b, c, d, m[i+ 9], 5, 568446438);
242
+ d = GG(d, a, b, c, m[i+14], 9, -1019803690);
243
+ c = GG(c, d, a, b, m[i+ 3], 14, -187363961);
244
+ b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);
245
+ a = GG(a, b, c, d, m[i+13], 5, -1444681467);
246
+ d = GG(d, a, b, c, m[i+ 2], 9, -51403784);
247
+ c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);
248
+ b = GG(b, c, d, a, m[i+12], 20, -1926607734);
249
+
250
+ a = HH(a, b, c, d, m[i+ 5], 4, -378558);
251
+ d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);
252
+ c = HH(c, d, a, b, m[i+11], 16, 1839030562);
253
+ b = HH(b, c, d, a, m[i+14], 23, -35309556);
254
+ a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);
255
+ d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);
256
+ c = HH(c, d, a, b, m[i+ 7], 16, -155497632);
257
+ b = HH(b, c, d, a, m[i+10], 23, -1094730640);
258
+ a = HH(a, b, c, d, m[i+13], 4, 681279174);
259
+ d = HH(d, a, b, c, m[i+ 0], 11, -358537222);
260
+ c = HH(c, d, a, b, m[i+ 3], 16, -722521979);
261
+ b = HH(b, c, d, a, m[i+ 6], 23, 76029189);
262
+ a = HH(a, b, c, d, m[i+ 9], 4, -640364487);
263
+ d = HH(d, a, b, c, m[i+12], 11, -421815835);
264
+ c = HH(c, d, a, b, m[i+15], 16, 530742520);
265
+ b = HH(b, c, d, a, m[i+ 2], 23, -995338651);
266
+
267
+ a = II(a, b, c, d, m[i+ 0], 6, -198630844);
268
+ d = II(d, a, b, c, m[i+ 7], 10, 1126891415);
269
+ c = II(c, d, a, b, m[i+14], 15, -1416354905);
270
+ b = II(b, c, d, a, m[i+ 5], 21, -57434055);
271
+ a = II(a, b, c, d, m[i+12], 6, 1700485571);
272
+ d = II(d, a, b, c, m[i+ 3], 10, -1894986606);
273
+ c = II(c, d, a, b, m[i+10], 15, -1051523);
274
+ b = II(b, c, d, a, m[i+ 1], 21, -2054922799);
275
+ a = II(a, b, c, d, m[i+ 8], 6, 1873313359);
276
+ d = II(d, a, b, c, m[i+15], 10, -30611744);
277
+ c = II(c, d, a, b, m[i+ 6], 15, -1560198380);
278
+ b = II(b, c, d, a, m[i+13], 21, 1309151649);
279
+ a = II(a, b, c, d, m[i+ 4], 6, -145523070);
280
+ d = II(d, a, b, c, m[i+11], 10, -1120210379);
281
+ c = II(c, d, a, b, m[i+ 2], 15, 718787259);
282
+ b = II(b, c, d, a, m[i+ 9], 21, -343485551);
283
+
284
+ a = (a + aa) >>> 0;
285
+ b = (b + bb) >>> 0;
286
+ c = (c + cc) >>> 0;
287
+ d = (d + dd) >>> 0;
288
+ }
289
+
290
+ return crypt$1.endian([a, b, c, d]);
291
+ };
292
+
293
+ // Auxiliary functions
294
+ md5._ff = function (a, b, c, d, x, s, t) {
295
+ var n = a + (b & c | ~b & d) + (x >>> 0) + t;
296
+ return ((n << s) | (n >>> (32 - s))) + b;
297
+ };
298
+ md5._gg = function (a, b, c, d, x, s, t) {
299
+ var n = a + (b & d | c & ~d) + (x >>> 0) + t;
300
+ return ((n << s) | (n >>> (32 - s))) + b;
301
+ };
302
+ md5._hh = function (a, b, c, d, x, s, t) {
303
+ var n = a + (b ^ c ^ d) + (x >>> 0) + t;
304
+ return ((n << s) | (n >>> (32 - s))) + b;
305
+ };
306
+ md5._ii = function (a, b, c, d, x, s, t) {
307
+ var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
308
+ return ((n << s) | (n >>> (32 - s))) + b;
309
+ };
310
+
311
+ // Package private blocksize
312
+ md5._blocksize = 16;
313
+ md5._digestsize = 16;
314
+
315
+ module.exports = function (message, options) {
316
+ if (message === undefined || message === null)
317
+ throw new Error('Illegal argument ' + message);
318
+
319
+ var digestbytes = crypt$1.wordsToBytes(md5(message, options));
320
+ return options && options.asBytes ? digestbytes :
321
+ options && options.asString ? bin.bytesToString(digestbytes) :
322
+ crypt$1.bytesToHex(digestbytes);
323
+ };
324
+
325
+ })();
326
+ });
10
327
 
11
328
  var encrypt = function () {
12
329
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(password) {