@mjhls/mjh-framework 1.0.691-beta.5 → 1.0.691-beta.6

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 (45) hide show
  1. package/dist/cjs/ADGutter.js +4 -2
  2. package/dist/cjs/{ADInfeed-8952e375.js → ADInfeed-fd8c792f.js} +4 -2
  3. package/dist/cjs/ADSkyscraper.js +4 -2
  4. package/dist/cjs/ADSponsoredResources.js +4 -2
  5. package/dist/cjs/ADWebcast.js +4 -2
  6. package/dist/cjs/{ADlgInfeed-20c916fc.js → ADlgInfeed-40259fe0.js} +4 -2
  7. package/dist/cjs/AdSlot.js +3 -2
  8. package/dist/cjs/AdSlotsProvider.js +1 -1
  9. package/dist/cjs/Auth.js +6 -206
  10. package/dist/cjs/DeckContent.js +3 -2
  11. package/dist/cjs/ExternalResources.js +1 -1
  12. package/dist/cjs/GridContent.js +6 -4
  13. package/dist/cjs/IssueLanding.js +2 -2
  14. package/dist/cjs/MasterDeck.js +6 -4
  15. package/dist/cjs/PartnerDetailListing.js +3 -3
  16. package/dist/cjs/QueueDeckExpanded.js +6 -4
  17. package/dist/cjs/View.js +10 -8
  18. package/dist/cjs/getRelatedArticle.js +354 -5
  19. package/dist/cjs/getSerializers.js +1 -1
  20. package/dist/cjs/index-bd6c9f56.js +211 -0
  21. package/dist/cjs/index.js +6 -6
  22. package/dist/esm/ADGutter.js +4 -2
  23. package/dist/esm/{ADInfeed-1153eefc.js → ADInfeed-af6b0616.js} +4 -2
  24. package/dist/esm/ADSkyscraper.js +4 -2
  25. package/dist/esm/ADSponsoredResources.js +4 -2
  26. package/dist/esm/ADWebcast.js +4 -2
  27. package/dist/esm/{ADlgInfeed-8cb4e36a.js → ADlgInfeed-27ba8238.js} +4 -2
  28. package/dist/esm/AdSlot.js +3 -2
  29. package/dist/esm/AdSlotsProvider.js +1 -1
  30. package/dist/esm/Auth.js +1 -201
  31. package/dist/esm/DeckContent.js +3 -2
  32. package/dist/esm/ExternalResources.js +1 -1
  33. package/dist/esm/GridContent.js +6 -4
  34. package/dist/esm/IssueLanding.js +2 -2
  35. package/dist/esm/MasterDeck.js +6 -4
  36. package/dist/esm/PartnerDetailListing.js +3 -3
  37. package/dist/esm/QueueDeckExpanded.js +6 -4
  38. package/dist/esm/View.js +10 -8
  39. package/dist/esm/getRelatedArticle.js +354 -5
  40. package/dist/esm/getSerializers.js +1 -1
  41. package/dist/esm/index-db3bb315.js +207 -0
  42. package/dist/esm/index.js +5 -5
  43. package/package.json +1 -1
  44. /package/dist/cjs/{index-0fff88e9.js → index-1735f801.js} +0 -0
  45. /package/dist/esm/{index-792a492f.js → index-273cc821.js} +0 -0
@@ -1,4 +1,4 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
1
+ import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import './_to-object-ded78eb9.js';
3
3
  import './es6.string.iterator-9b2af4a5.js';
4
4
  import './_library-528f1934.js';
@@ -7,9 +7,358 @@ import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
9
9
  import './_set-species-cede29f8.js';
10
- import { parseCookies, setCookie } from 'nookies';
10
+ import { c as cookie } from './index-db3bb315.js';
11
11
  import getQuery from './getQuery.js';
12
12
 
13
+ var defaultParseOptions = {
14
+ decodeValues: true,
15
+ map: false,
16
+ silent: false,
17
+ };
18
+
19
+ function isNonEmptyString(str) {
20
+ return typeof str === "string" && !!str.trim();
21
+ }
22
+
23
+ function parseString(setCookieValue, options) {
24
+ var parts = setCookieValue.split(";").filter(isNonEmptyString);
25
+ var nameValue = parts.shift().split("=");
26
+ var name = nameValue.shift();
27
+ var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
28
+
29
+ options = options
30
+ ? Object.assign({}, defaultParseOptions, options)
31
+ : defaultParseOptions;
32
+
33
+ var cookie = {
34
+ name: name, // grab everything before the first =
35
+ value: options.decodeValues ? decodeURIComponent(value) : value, // decode cookie value
36
+ };
37
+
38
+ parts.forEach(function (part) {
39
+ var sides = part.split("=");
40
+ var key = sides.shift().trimLeft().toLowerCase();
41
+ var value = sides.join("=");
42
+ if (key === "expires") {
43
+ cookie.expires = new Date(value);
44
+ } else if (key === "max-age") {
45
+ cookie.maxAge = parseInt(value, 10);
46
+ } else if (key === "secure") {
47
+ cookie.secure = true;
48
+ } else if (key === "httponly") {
49
+ cookie.httpOnly = true;
50
+ } else if (key === "samesite") {
51
+ cookie.sameSite = value;
52
+ } else {
53
+ cookie[key] = value;
54
+ }
55
+ });
56
+
57
+ return cookie;
58
+ }
59
+
60
+ function parse(input, options) {
61
+ options = options
62
+ ? Object.assign({}, defaultParseOptions, options)
63
+ : defaultParseOptions;
64
+
65
+ if (!input) {
66
+ if (!options.map) {
67
+ return [];
68
+ } else {
69
+ return {};
70
+ }
71
+ }
72
+
73
+ if (input.headers && input.headers["set-cookie"]) {
74
+ // fast-path for node.js (which automatically normalizes header names to lower-case
75
+ input = input.headers["set-cookie"];
76
+ } else if (input.headers) {
77
+ // slow-path for other environments - see #25
78
+ var sch =
79
+ input.headers[
80
+ Object.keys(input.headers).find(function (key) {
81
+ return key.toLowerCase() === "set-cookie";
82
+ })
83
+ ];
84
+ // warn if called on a request-like object with a cookie header rather than a set-cookie header - see #34, 36
85
+ if (!sch && input.headers.cookie && !options.silent) {
86
+ console.warn(
87
+ "Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."
88
+ );
89
+ }
90
+ input = sch;
91
+ }
92
+ if (!Array.isArray(input)) {
93
+ input = [input];
94
+ }
95
+
96
+ options = options
97
+ ? Object.assign({}, defaultParseOptions, options)
98
+ : defaultParseOptions;
99
+
100
+ if (!options.map) {
101
+ return input.filter(isNonEmptyString).map(function (str) {
102
+ return parseString(str, options);
103
+ });
104
+ } else {
105
+ var cookies = {};
106
+ return input.filter(isNonEmptyString).reduce(function (cookies, str) {
107
+ var cookie = parseString(str, options);
108
+ cookies[cookie.name] = cookie;
109
+ return cookies;
110
+ }, cookies);
111
+ }
112
+ }
113
+
114
+ /*
115
+ Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas
116
+ that are within a single set-cookie field-value, such as in the Expires portion.
117
+
118
+ This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2
119
+ Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128
120
+ React Native's fetch does this for *every* header, including set-cookie.
121
+
122
+ Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25
123
+ Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation
124
+ */
125
+ function splitCookiesString(cookiesString) {
126
+ if (Array.isArray(cookiesString)) {
127
+ return cookiesString;
128
+ }
129
+ if (typeof cookiesString !== "string") {
130
+ return [];
131
+ }
132
+
133
+ var cookiesStrings = [];
134
+ var pos = 0;
135
+ var start;
136
+ var ch;
137
+ var lastComma;
138
+ var nextStart;
139
+ var cookiesSeparatorFound;
140
+
141
+ function skipWhitespace() {
142
+ while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) {
143
+ pos += 1;
144
+ }
145
+ return pos < cookiesString.length;
146
+ }
147
+
148
+ function notSpecialChar() {
149
+ ch = cookiesString.charAt(pos);
150
+
151
+ return ch !== "=" && ch !== ";" && ch !== ",";
152
+ }
153
+
154
+ while (pos < cookiesString.length) {
155
+ start = pos;
156
+ cookiesSeparatorFound = false;
157
+
158
+ while (skipWhitespace()) {
159
+ ch = cookiesString.charAt(pos);
160
+ if (ch === ",") {
161
+ // ',' is a cookie separator if we have later first '=', not ';' or ','
162
+ lastComma = pos;
163
+ pos += 1;
164
+
165
+ skipWhitespace();
166
+ nextStart = pos;
167
+
168
+ while (pos < cookiesString.length && notSpecialChar()) {
169
+ pos += 1;
170
+ }
171
+
172
+ // currently special character
173
+ if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
174
+ // we found cookies separator
175
+ cookiesSeparatorFound = true;
176
+ // pos is inside the next cookie, so back up and return it.
177
+ pos = nextStart;
178
+ cookiesStrings.push(cookiesString.substring(start, lastComma));
179
+ start = pos;
180
+ } else {
181
+ // in param ',' or param separator ';',
182
+ // we continue from that comma
183
+ pos = lastComma + 1;
184
+ }
185
+ } else {
186
+ pos += 1;
187
+ }
188
+ }
189
+
190
+ if (!cookiesSeparatorFound || pos >= cookiesString.length) {
191
+ cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
192
+ }
193
+ }
194
+
195
+ return cookiesStrings;
196
+ }
197
+
198
+ var setCookie = parse;
199
+ var parse_1 = parse;
200
+ var parseString_1 = parseString;
201
+ var splitCookiesString_1 = splitCookiesString;
202
+ setCookie.parse = parse_1;
203
+ setCookie.parseString = parseString_1;
204
+ setCookie.splitCookiesString = splitCookiesString_1;
205
+
206
+ var dist = createCommonjsModule(function (module, exports) {
207
+ var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
208
+ __assign = Object.assign || function(t) {
209
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
210
+ s = arguments[i];
211
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
212
+ t[p] = s[p];
213
+ }
214
+ return t;
215
+ };
216
+ return __assign.apply(this, arguments);
217
+ };
218
+ Object.defineProperty(exports, "__esModule", { value: true });
219
+ exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
220
+
221
+
222
+ var isBrowser = function () { return typeof window !== 'undefined'; };
223
+ function hasSameProperties(a, b) {
224
+ var aProps = Object.getOwnPropertyNames(a);
225
+ var bProps = Object.getOwnPropertyNames(b);
226
+ if (aProps.length !== bProps.length) {
227
+ return false;
228
+ }
229
+ for (var i = 0; i < aProps.length; i++) {
230
+ var propName = aProps[i];
231
+ if (a[propName] !== b[propName]) {
232
+ return false;
233
+ }
234
+ }
235
+ return true;
236
+ }
237
+ /**
238
+ * Compare the cookie and return true if the cookies has equivalent
239
+ * options and the cookies would be overwritten in the browser storage.
240
+ *
241
+ * @param a first Cookie for comparison
242
+ * @param b second Cookie for comparison
243
+ */
244
+ function areCookiesEqual(a, b) {
245
+ var sameSiteSame = a.sameSite === b.sameSite;
246
+ if (typeof a.sameSite === 'string' && typeof b.sameSite === 'string') {
247
+ sameSiteSame = a.sameSite.toLowerCase() === b.sameSite.toLowerCase();
248
+ }
249
+ return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
250
+ }
251
+ /**
252
+ * Create an instance of the Cookie interface
253
+ *
254
+ * @param name name of the Cookie
255
+ * @param value value of the Cookie
256
+ * @param options Cookie options
257
+ */
258
+ function createCookie(name, value, options) {
259
+ var sameSite = options.sameSite;
260
+ if (sameSite === true) {
261
+ sameSite = 'strict';
262
+ }
263
+ if (sameSite === undefined || sameSite === false) {
264
+ sameSite = 'lax';
265
+ }
266
+ var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
267
+ delete cookieToSet.encode;
268
+ return __assign({ name: name, value: value }, cookieToSet);
269
+ }
270
+ /**
271
+ *
272
+ * Parses cookies.
273
+ *
274
+ * @param ctx
275
+ * @param options
276
+ */
277
+ function parseCookies(ctx, options) {
278
+ if (ctx && ctx.req && ctx.req.headers && ctx.req.headers.cookie) {
279
+ return cookie.parse(ctx.req.headers.cookie, options);
280
+ }
281
+ if (isBrowser()) {
282
+ return cookie.parse(document.cookie, options);
283
+ }
284
+ return {};
285
+ }
286
+ exports.parseCookies = parseCookies;
287
+ /**
288
+ *
289
+ * Sets a cookie.
290
+ *
291
+ * @param ctx
292
+ * @param name
293
+ * @param value
294
+ * @param options
295
+ */
296
+ function setCookie$1(ctx, name, value, options) {
297
+ if (ctx && ctx.res && ctx.res.getHeader && ctx.res.setHeader) {
298
+ var cookies = ctx.res.getHeader('Set-Cookie') || [];
299
+ if (typeof cookies === 'string')
300
+ cookies = [cookies];
301
+ if (typeof cookies === 'number')
302
+ cookies = [];
303
+ var parsedCookies = setCookie.parse(cookies);
304
+ var cookiesToSet_1 = [];
305
+ parsedCookies.forEach(function (parsedCookie) {
306
+ if (!areCookiesEqual(parsedCookie, createCookie(name, value, options))) {
307
+ cookiesToSet_1.push(cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({ encode: function (val) { return val; } }, parsedCookie)));
308
+ }
309
+ });
310
+ cookiesToSet_1.push(cookie.serialize(name, value, options));
311
+ if (!ctx.res.finished) {
312
+ ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
313
+ }
314
+ }
315
+ if (isBrowser()) {
316
+ if (options && options.httpOnly) {
317
+ throw new Error('Can not set a httpOnly cookie in the browser.');
318
+ }
319
+ document.cookie = cookie.serialize(name, value, options);
320
+ }
321
+ return {};
322
+ }
323
+ exports.setCookie = setCookie$1;
324
+ /**
325
+ *
326
+ * Destroys a cookie with a particular name.
327
+ *
328
+ * @param ctx
329
+ * @param name
330
+ * @param options
331
+ */
332
+ function destroyCookie(ctx, name, options) {
333
+ var opts = __assign(__assign({}, (options || {})), { maxAge: -1 });
334
+ if (ctx && ctx.res && ctx.res.setHeader && ctx.res.getHeader) {
335
+ var cookies = ctx.res.getHeader('Set-Cookie') || [];
336
+ if (typeof cookies === 'string')
337
+ cookies = [cookies];
338
+ if (typeof cookies === 'number')
339
+ cookies = [];
340
+ cookies.push(cookie.serialize(name, '', opts));
341
+ ctx.res.setHeader('Set-Cookie', cookies);
342
+ }
343
+ if (isBrowser()) {
344
+ document.cookie = cookie.serialize(name, '', opts);
345
+ }
346
+ return {};
347
+ }
348
+ exports.destroyCookie = destroyCookie;
349
+ exports.default = {
350
+ set: setCookie$1,
351
+ get: parseCookies,
352
+ destroy: destroyCookie,
353
+ };
354
+
355
+ });
356
+
357
+ unwrapExports(dist);
358
+ var dist_1 = dist.destroyCookie;
359
+ var dist_2 = dist.setCookie;
360
+ var dist_3 = dist.parseCookies;
361
+
13
362
  var _this = undefined;
14
363
 
15
364
  var getRelatedArticle = function () {
@@ -69,13 +418,13 @@ var getRelatedArticle = function () {
69
418
  conditions = '';
70
419
 
71
420
  if (ctx && url) {
72
- cookies = parseCookies(ctx);
421
+ cookies = dist_3(ctx);
73
422
  prevSlugs = cookies['prevSlugs'];
74
423
 
75
424
  if (!!prevSlugs) {
76
- setCookie(ctx, 'prevSlugs', prevSlugs + ',"' + url + '"', {});
425
+ dist_2(ctx, 'prevSlugs', prevSlugs + ',"' + url + '"', {});
77
426
  conditions = '&& !(url.current in [' + prevSlugs + '])';
78
- } else setCookie(ctx, 'prevSlugs', '"' + url + '"', {});
427
+ } else dist_2(ctx, 'prevSlugs', '"' + url + '"', {});
79
428
  }
80
429
  relatedArticleQuery = getQuery('related', conditions, '', articleCount);
81
430
  _context.next = 12;
@@ -39,7 +39,7 @@ import './smoothscroll-4b699764.js';
39
39
  import './GroupDeck.js';
40
40
  import 'react-bootstrap';
41
41
  import 'react-bootstrap/Button';
42
- export { g as default } from './index-792a492f.js';
42
+ export { g as default } from './index-273cc821.js';
43
43
  import './util-7700fc59.js';
44
44
  import './brightcove-react-player-loader.es-83f53e4e.js';
45
45
  import 'react-bootstrap/Pagination';
@@ -0,0 +1,207 @@
1
+ /*!
2
+ * cookie
3
+ * Copyright(c) 2012-2014 Roman Shtylman
4
+ * Copyright(c) 2015 Douglas Christopher Wilson
5
+ * MIT Licensed
6
+ */
7
+
8
+ /**
9
+ * Module exports.
10
+ * @public
11
+ */
12
+
13
+ var parse_1 = parse;
14
+ var serialize_1 = serialize;
15
+
16
+ /**
17
+ * Module variables.
18
+ * @private
19
+ */
20
+
21
+ var decode = decodeURIComponent;
22
+ var encode = encodeURIComponent;
23
+ var pairSplitRegExp = /; */;
24
+
25
+ /**
26
+ * RegExp to match field-content in RFC 7230 sec 3.2
27
+ *
28
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
29
+ * field-vchar = VCHAR / obs-text
30
+ * obs-text = %x80-FF
31
+ */
32
+
33
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
34
+
35
+ /**
36
+ * Parse a cookie header.
37
+ *
38
+ * Parse the given cookie header string into an object
39
+ * The object has the various cookies as keys(names) => values
40
+ *
41
+ * @param {string} str
42
+ * @param {object} [options]
43
+ * @return {object}
44
+ * @public
45
+ */
46
+
47
+ function parse(str, options) {
48
+ if (typeof str !== 'string') {
49
+ throw new TypeError('argument str must be a string');
50
+ }
51
+
52
+ var obj = {};
53
+ var opt = options || {};
54
+ var pairs = str.split(pairSplitRegExp);
55
+ var dec = opt.decode || decode;
56
+
57
+ for (var i = 0; i < pairs.length; i++) {
58
+ var pair = pairs[i];
59
+ var eq_idx = pair.indexOf('=');
60
+
61
+ // skip things that don't look like key=value
62
+ if (eq_idx < 0) {
63
+ continue;
64
+ }
65
+
66
+ var key = pair.substr(0, eq_idx).trim();
67
+ var val = pair.substr(++eq_idx, pair.length).trim();
68
+
69
+ // quoted values
70
+ if ('"' == val[0]) {
71
+ val = val.slice(1, -1);
72
+ }
73
+
74
+ // only assign once
75
+ if (undefined == obj[key]) {
76
+ obj[key] = tryDecode(val, dec);
77
+ }
78
+ }
79
+
80
+ return obj;
81
+ }
82
+
83
+ /**
84
+ * Serialize data into a cookie header.
85
+ *
86
+ * Serialize the a name value pair into a cookie string suitable for
87
+ * http headers. An optional options object specified cookie parameters.
88
+ *
89
+ * serialize('foo', 'bar', { httpOnly: true })
90
+ * => "foo=bar; httpOnly"
91
+ *
92
+ * @param {string} name
93
+ * @param {string} val
94
+ * @param {object} [options]
95
+ * @return {string}
96
+ * @public
97
+ */
98
+
99
+ function serialize(name, val, options) {
100
+ var opt = options || {};
101
+ var enc = opt.encode || encode;
102
+
103
+ if (typeof enc !== 'function') {
104
+ throw new TypeError('option encode is invalid');
105
+ }
106
+
107
+ if (!fieldContentRegExp.test(name)) {
108
+ throw new TypeError('argument name is invalid');
109
+ }
110
+
111
+ var value = enc(val);
112
+
113
+ if (value && !fieldContentRegExp.test(value)) {
114
+ throw new TypeError('argument val is invalid');
115
+ }
116
+
117
+ var str = name + '=' + value;
118
+
119
+ if (null != opt.maxAge) {
120
+ var maxAge = opt.maxAge - 0;
121
+
122
+ if (isNaN(maxAge) || !isFinite(maxAge)) {
123
+ throw new TypeError('option maxAge is invalid')
124
+ }
125
+
126
+ str += '; Max-Age=' + Math.floor(maxAge);
127
+ }
128
+
129
+ if (opt.domain) {
130
+ if (!fieldContentRegExp.test(opt.domain)) {
131
+ throw new TypeError('option domain is invalid');
132
+ }
133
+
134
+ str += '; Domain=' + opt.domain;
135
+ }
136
+
137
+ if (opt.path) {
138
+ if (!fieldContentRegExp.test(opt.path)) {
139
+ throw new TypeError('option path is invalid');
140
+ }
141
+
142
+ str += '; Path=' + opt.path;
143
+ }
144
+
145
+ if (opt.expires) {
146
+ if (typeof opt.expires.toUTCString !== 'function') {
147
+ throw new TypeError('option expires is invalid');
148
+ }
149
+
150
+ str += '; Expires=' + opt.expires.toUTCString();
151
+ }
152
+
153
+ if (opt.httpOnly) {
154
+ str += '; HttpOnly';
155
+ }
156
+
157
+ if (opt.secure) {
158
+ str += '; Secure';
159
+ }
160
+
161
+ if (opt.sameSite) {
162
+ var sameSite = typeof opt.sameSite === 'string'
163
+ ? opt.sameSite.toLowerCase() : opt.sameSite;
164
+
165
+ switch (sameSite) {
166
+ case true:
167
+ str += '; SameSite=Strict';
168
+ break;
169
+ case 'lax':
170
+ str += '; SameSite=Lax';
171
+ break;
172
+ case 'strict':
173
+ str += '; SameSite=Strict';
174
+ break;
175
+ case 'none':
176
+ str += '; SameSite=None';
177
+ break;
178
+ default:
179
+ throw new TypeError('option sameSite is invalid');
180
+ }
181
+ }
182
+
183
+ return str;
184
+ }
185
+
186
+ /**
187
+ * Try decoding a string using a decoding function.
188
+ *
189
+ * @param {string} str
190
+ * @param {function} decode
191
+ * @private
192
+ */
193
+
194
+ function tryDecode(str, decode) {
195
+ try {
196
+ return decode(str);
197
+ } catch (e) {
198
+ return str;
199
+ }
200
+ }
201
+
202
+ var cookie = {
203
+ parse: parse_1,
204
+ serialize: serialize_1
205
+ };
206
+
207
+ export { cookie as c, parse_1 as p, serialize_1 as s };
package/dist/esm/index.js CHANGED
@@ -38,10 +38,10 @@ import './_set-species-cede29f8.js';
38
38
  export { default as Segment } from './Segment.js';
39
39
  export { default as Beam } from './Beam.js';
40
40
  export { default as AdSlot } from './AdSlot.js';
41
- import './ADInfeed-1153eefc.js';
41
+ import './ADInfeed-af6b0616.js';
42
42
  export { default as DeckContent } from './DeckContent.js';
43
43
  import './lodash-ec8c6b48.js';
44
- import './ADlgInfeed-8cb4e36a.js';
44
+ import './ADlgInfeed-27ba8238.js';
45
45
  import './getContentCategory-15dcc413.js';
46
46
  import './get-5ee14cda.js';
47
47
  export { default as AD } from './AD.js';
@@ -79,7 +79,7 @@ import 'react-bootstrap/Form';
79
79
  import './index-ef6d5dcf.js';
80
80
  import './js.cookie-6874175c.js';
81
81
  export { default as CMEDeck } from './CMEDeck.js';
82
- export { g as getSerializers } from './index-792a492f.js';
82
+ export { g as getSerializers } from './index-273cc821.js';
83
83
  import './util-7700fc59.js';
84
84
  import './brightcove-react-player-loader.es-83f53e4e.js';
85
85
  import 'react-bootstrap/Pagination';
@@ -157,9 +157,9 @@ export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
157
157
  export { default as KMTracker } from './KMTracker.js';
158
158
  export { default as getSeriesDetail } from './getSeriesDetail.js';
159
159
  export { default as SetCookie } from './SetCookie.js';
160
- import 'nookies';
161
- export { default as getQuery } from './getQuery.js';
160
+ import './index-db3bb315.js';
162
161
  export { default as getRelatedArticle } from './getRelatedArticle.js';
162
+ export { default as getQuery } from './getQuery.js';
163
163
  export { default as Auth } from './Auth.js';
164
164
  import 'swr';
165
165
  import 'passport-local';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.691-beta.5",
3
+ "version": "1.0.691-beta.6",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",