@mjhls/mjh-framework 1.0.54 → 1.0.56

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/dist/index.es.js CHANGED
@@ -4076,6 +4076,993 @@ var DeckContent = function (_React$Component) {
4076
4076
 
4077
4077
  var ContentCard = withRouter(DeckContent);
4078
4078
 
4079
+ /**
4080
+ * Checks if `value` is classified as an `Array` object.
4081
+ *
4082
+ * @static
4083
+ * @memberOf _
4084
+ * @since 0.1.0
4085
+ * @category Lang
4086
+ * @param {*} value The value to check.
4087
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
4088
+ * @example
4089
+ *
4090
+ * _.isArray([1, 2, 3]);
4091
+ * // => true
4092
+ *
4093
+ * _.isArray(document.body.children);
4094
+ * // => false
4095
+ *
4096
+ * _.isArray('abc');
4097
+ * // => false
4098
+ *
4099
+ * _.isArray(_.noop);
4100
+ * // => false
4101
+ */
4102
+ var isArray = Array.isArray;
4103
+
4104
+ var isArray_1 = isArray;
4105
+
4106
+ /** Used to match property names within property paths. */
4107
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
4108
+ reIsPlainProp = /^\w*$/;
4109
+
4110
+ /**
4111
+ * Checks if `value` is a property name and not a property path.
4112
+ *
4113
+ * @private
4114
+ * @param {*} value The value to check.
4115
+ * @param {Object} [object] The object to query keys on.
4116
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
4117
+ */
4118
+ function isKey(value, object) {
4119
+ if (isArray_1(value)) {
4120
+ return false;
4121
+ }
4122
+ var type = typeof value;
4123
+ if (type == 'number' || type == 'symbol' || type == 'boolean' ||
4124
+ value == null || isSymbol_1(value)) {
4125
+ return true;
4126
+ }
4127
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
4128
+ (object != null && value in Object(object));
4129
+ }
4130
+
4131
+ var _isKey = isKey;
4132
+
4133
+ /** `Object#toString` result references. */
4134
+ var asyncTag = '[object AsyncFunction]',
4135
+ funcTag = '[object Function]',
4136
+ genTag = '[object GeneratorFunction]',
4137
+ proxyTag = '[object Proxy]';
4138
+
4139
+ /**
4140
+ * Checks if `value` is classified as a `Function` object.
4141
+ *
4142
+ * @static
4143
+ * @memberOf _
4144
+ * @since 0.1.0
4145
+ * @category Lang
4146
+ * @param {*} value The value to check.
4147
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
4148
+ * @example
4149
+ *
4150
+ * _.isFunction(_);
4151
+ * // => true
4152
+ *
4153
+ * _.isFunction(/abc/);
4154
+ * // => false
4155
+ */
4156
+ function isFunction(value) {
4157
+ if (!isObject_1(value)) {
4158
+ return false;
4159
+ }
4160
+ // The use of `Object#toString` avoids issues with the `typeof` operator
4161
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
4162
+ var tag = _baseGetTag(value);
4163
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
4164
+ }
4165
+
4166
+ var isFunction_1 = isFunction;
4167
+
4168
+ /** Used to detect overreaching core-js shims. */
4169
+ var coreJsData = _root['__core-js_shared__'];
4170
+
4171
+ var _coreJsData = coreJsData;
4172
+
4173
+ /** Used to detect methods masquerading as native. */
4174
+ var maskSrcKey = (function() {
4175
+ var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
4176
+ return uid ? ('Symbol(src)_1.' + uid) : '';
4177
+ }());
4178
+
4179
+ /**
4180
+ * Checks if `func` has its source masked.
4181
+ *
4182
+ * @private
4183
+ * @param {Function} func The function to check.
4184
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
4185
+ */
4186
+ function isMasked(func) {
4187
+ return !!maskSrcKey && (maskSrcKey in func);
4188
+ }
4189
+
4190
+ var _isMasked = isMasked;
4191
+
4192
+ /** Used for built-in method references. */
4193
+ var funcProto = Function.prototype;
4194
+
4195
+ /** Used to resolve the decompiled source of functions. */
4196
+ var funcToString = funcProto.toString;
4197
+
4198
+ /**
4199
+ * Converts `func` to its source code.
4200
+ *
4201
+ * @private
4202
+ * @param {Function} func The function to convert.
4203
+ * @returns {string} Returns the source code.
4204
+ */
4205
+ function toSource(func) {
4206
+ if (func != null) {
4207
+ try {
4208
+ return funcToString.call(func);
4209
+ } catch (e) {}
4210
+ try {
4211
+ return (func + '');
4212
+ } catch (e) {}
4213
+ }
4214
+ return '';
4215
+ }
4216
+
4217
+ var _toSource = toSource;
4218
+
4219
+ /**
4220
+ * Used to match `RegExp`
4221
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
4222
+ */
4223
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
4224
+
4225
+ /** Used to detect host constructors (Safari). */
4226
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
4227
+
4228
+ /** Used for built-in method references. */
4229
+ var funcProto$1 = Function.prototype,
4230
+ objectProto$2 = Object.prototype;
4231
+
4232
+ /** Used to resolve the decompiled source of functions. */
4233
+ var funcToString$1 = funcProto$1.toString;
4234
+
4235
+ /** Used to check objects for own properties. */
4236
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
4237
+
4238
+ /** Used to detect if a method is native. */
4239
+ var reIsNative = RegExp('^' +
4240
+ funcToString$1.call(hasOwnProperty$1).replace(reRegExpChar, '\\$&')
4241
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
4242
+ );
4243
+
4244
+ /**
4245
+ * The base implementation of `_.isNative` without bad shim checks.
4246
+ *
4247
+ * @private
4248
+ * @param {*} value The value to check.
4249
+ * @returns {boolean} Returns `true` if `value` is a native function,
4250
+ * else `false`.
4251
+ */
4252
+ function baseIsNative(value) {
4253
+ if (!isObject_1(value) || _isMasked(value)) {
4254
+ return false;
4255
+ }
4256
+ var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
4257
+ return pattern.test(_toSource(value));
4258
+ }
4259
+
4260
+ var _baseIsNative = baseIsNative;
4261
+
4262
+ /**
4263
+ * Gets the value at `key` of `object`.
4264
+ *
4265
+ * @private
4266
+ * @param {Object} [object] The object to query.
4267
+ * @param {string} key The key of the property to get.
4268
+ * @returns {*} Returns the property value.
4269
+ */
4270
+ function getValue(object, key) {
4271
+ return object == null ? undefined : object[key];
4272
+ }
4273
+
4274
+ var _getValue = getValue;
4275
+
4276
+ /**
4277
+ * Gets the native function at `key` of `object`.
4278
+ *
4279
+ * @private
4280
+ * @param {Object} object The object to query.
4281
+ * @param {string} key The key of the method to get.
4282
+ * @returns {*} Returns the function if it's native, else `undefined`.
4283
+ */
4284
+ function getNative(object, key) {
4285
+ var value = _getValue(object, key);
4286
+ return _baseIsNative(value) ? value : undefined;
4287
+ }
4288
+
4289
+ var _getNative = getNative;
4290
+
4291
+ /* Built-in method references that are verified to be native. */
4292
+ var nativeCreate = _getNative(Object, 'create');
4293
+
4294
+ var _nativeCreate = nativeCreate;
4295
+
4296
+ /**
4297
+ * Removes all key-value entries from the hash.
4298
+ *
4299
+ * @private
4300
+ * @name clear
4301
+ * @memberOf Hash
4302
+ */
4303
+ function hashClear() {
4304
+ this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
4305
+ this.size = 0;
4306
+ }
4307
+
4308
+ var _hashClear = hashClear;
4309
+
4310
+ /**
4311
+ * Removes `key` and its value from the hash.
4312
+ *
4313
+ * @private
4314
+ * @name delete
4315
+ * @memberOf Hash
4316
+ * @param {Object} hash The hash to modify.
4317
+ * @param {string} key The key of the value to remove.
4318
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4319
+ */
4320
+ function hashDelete(key) {
4321
+ var result = this.has(key) && delete this.__data__[key];
4322
+ this.size -= result ? 1 : 0;
4323
+ return result;
4324
+ }
4325
+
4326
+ var _hashDelete = hashDelete;
4327
+
4328
+ /** Used to stand-in for `undefined` hash values. */
4329
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
4330
+
4331
+ /** Used for built-in method references. */
4332
+ var objectProto$3 = Object.prototype;
4333
+
4334
+ /** Used to check objects for own properties. */
4335
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
4336
+
4337
+ /**
4338
+ * Gets the hash value for `key`.
4339
+ *
4340
+ * @private
4341
+ * @name get
4342
+ * @memberOf Hash
4343
+ * @param {string} key The key of the value to get.
4344
+ * @returns {*} Returns the entry value.
4345
+ */
4346
+ function hashGet(key) {
4347
+ var data = this.__data__;
4348
+ if (_nativeCreate) {
4349
+ var result = data[key];
4350
+ return result === HASH_UNDEFINED ? undefined : result;
4351
+ }
4352
+ return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
4353
+ }
4354
+
4355
+ var _hashGet = hashGet;
4356
+
4357
+ /** Used for built-in method references. */
4358
+ var objectProto$4 = Object.prototype;
4359
+
4360
+ /** Used to check objects for own properties. */
4361
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
4362
+
4363
+ /**
4364
+ * Checks if a hash value for `key` exists.
4365
+ *
4366
+ * @private
4367
+ * @name has
4368
+ * @memberOf Hash
4369
+ * @param {string} key The key of the entry to check.
4370
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4371
+ */
4372
+ function hashHas(key) {
4373
+ var data = this.__data__;
4374
+ return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$3.call(data, key);
4375
+ }
4376
+
4377
+ var _hashHas = hashHas;
4378
+
4379
+ /** Used to stand-in for `undefined` hash values. */
4380
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
4381
+
4382
+ /**
4383
+ * Sets the hash `key` to `value`.
4384
+ *
4385
+ * @private
4386
+ * @name set
4387
+ * @memberOf Hash
4388
+ * @param {string} key The key of the value to set.
4389
+ * @param {*} value The value to set.
4390
+ * @returns {Object} Returns the hash instance.
4391
+ */
4392
+ function hashSet(key, value) {
4393
+ var data = this.__data__;
4394
+ this.size += this.has(key) ? 0 : 1;
4395
+ data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
4396
+ return this;
4397
+ }
4398
+
4399
+ var _hashSet = hashSet;
4400
+
4401
+ /**
4402
+ * Creates a hash object.
4403
+ *
4404
+ * @private
4405
+ * @constructor
4406
+ * @param {Array} [entries] The key-value pairs to cache.
4407
+ */
4408
+ function Hash(entries) {
4409
+ var index = -1,
4410
+ length = entries == null ? 0 : entries.length;
4411
+
4412
+ this.clear();
4413
+ while (++index < length) {
4414
+ var entry = entries[index];
4415
+ this.set(entry[0], entry[1]);
4416
+ }
4417
+ }
4418
+
4419
+ // Add methods to `Hash`.
4420
+ Hash.prototype.clear = _hashClear;
4421
+ Hash.prototype['delete'] = _hashDelete;
4422
+ Hash.prototype.get = _hashGet;
4423
+ Hash.prototype.has = _hashHas;
4424
+ Hash.prototype.set = _hashSet;
4425
+
4426
+ var _Hash = Hash;
4427
+
4428
+ /**
4429
+ * Removes all key-value entries from the list cache.
4430
+ *
4431
+ * @private
4432
+ * @name clear
4433
+ * @memberOf ListCache
4434
+ */
4435
+ function listCacheClear() {
4436
+ this.__data__ = [];
4437
+ this.size = 0;
4438
+ }
4439
+
4440
+ var _listCacheClear = listCacheClear;
4441
+
4442
+ /**
4443
+ * Performs a
4444
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
4445
+ * comparison between two values to determine if they are equivalent.
4446
+ *
4447
+ * @static
4448
+ * @memberOf _
4449
+ * @since 4.0.0
4450
+ * @category Lang
4451
+ * @param {*} value The value to compare.
4452
+ * @param {*} other The other value to compare.
4453
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
4454
+ * @example
4455
+ *
4456
+ * var object = { 'a': 1 };
4457
+ * var other = { 'a': 1 };
4458
+ *
4459
+ * _.eq(object, object);
4460
+ * // => true
4461
+ *
4462
+ * _.eq(object, other);
4463
+ * // => false
4464
+ *
4465
+ * _.eq('a', 'a');
4466
+ * // => true
4467
+ *
4468
+ * _.eq('a', Object('a'));
4469
+ * // => false
4470
+ *
4471
+ * _.eq(NaN, NaN);
4472
+ * // => true
4473
+ */
4474
+ function eq(value, other) {
4475
+ return value === other || (value !== value && other !== other);
4476
+ }
4477
+
4478
+ var eq_1 = eq;
4479
+
4480
+ /**
4481
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
4482
+ *
4483
+ * @private
4484
+ * @param {Array} array The array to inspect.
4485
+ * @param {*} key The key to search for.
4486
+ * @returns {number} Returns the index of the matched value, else `-1`.
4487
+ */
4488
+ function assocIndexOf(array, key) {
4489
+ var length = array.length;
4490
+ while (length--) {
4491
+ if (eq_1(array[length][0], key)) {
4492
+ return length;
4493
+ }
4494
+ }
4495
+ return -1;
4496
+ }
4497
+
4498
+ var _assocIndexOf = assocIndexOf;
4499
+
4500
+ /** Used for built-in method references. */
4501
+ var arrayProto = Array.prototype;
4502
+
4503
+ /** Built-in value references. */
4504
+ var splice = arrayProto.splice;
4505
+
4506
+ /**
4507
+ * Removes `key` and its value from the list cache.
4508
+ *
4509
+ * @private
4510
+ * @name delete
4511
+ * @memberOf ListCache
4512
+ * @param {string} key The key of the value to remove.
4513
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4514
+ */
4515
+ function listCacheDelete(key) {
4516
+ var data = this.__data__,
4517
+ index = _assocIndexOf(data, key);
4518
+
4519
+ if (index < 0) {
4520
+ return false;
4521
+ }
4522
+ var lastIndex = data.length - 1;
4523
+ if (index == lastIndex) {
4524
+ data.pop();
4525
+ } else {
4526
+ splice.call(data, index, 1);
4527
+ }
4528
+ --this.size;
4529
+ return true;
4530
+ }
4531
+
4532
+ var _listCacheDelete = listCacheDelete;
4533
+
4534
+ /**
4535
+ * Gets the list cache value for `key`.
4536
+ *
4537
+ * @private
4538
+ * @name get
4539
+ * @memberOf ListCache
4540
+ * @param {string} key The key of the value to get.
4541
+ * @returns {*} Returns the entry value.
4542
+ */
4543
+ function listCacheGet(key) {
4544
+ var data = this.__data__,
4545
+ index = _assocIndexOf(data, key);
4546
+
4547
+ return index < 0 ? undefined : data[index][1];
4548
+ }
4549
+
4550
+ var _listCacheGet = listCacheGet;
4551
+
4552
+ /**
4553
+ * Checks if a list cache value for `key` exists.
4554
+ *
4555
+ * @private
4556
+ * @name has
4557
+ * @memberOf ListCache
4558
+ * @param {string} key The key of the entry to check.
4559
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4560
+ */
4561
+ function listCacheHas(key) {
4562
+ return _assocIndexOf(this.__data__, key) > -1;
4563
+ }
4564
+
4565
+ var _listCacheHas = listCacheHas;
4566
+
4567
+ /**
4568
+ * Sets the list cache `key` to `value`.
4569
+ *
4570
+ * @private
4571
+ * @name set
4572
+ * @memberOf ListCache
4573
+ * @param {string} key The key of the value to set.
4574
+ * @param {*} value The value to set.
4575
+ * @returns {Object} Returns the list cache instance.
4576
+ */
4577
+ function listCacheSet(key, value) {
4578
+ var data = this.__data__,
4579
+ index = _assocIndexOf(data, key);
4580
+
4581
+ if (index < 0) {
4582
+ ++this.size;
4583
+ data.push([key, value]);
4584
+ } else {
4585
+ data[index][1] = value;
4586
+ }
4587
+ return this;
4588
+ }
4589
+
4590
+ var _listCacheSet = listCacheSet;
4591
+
4592
+ /**
4593
+ * Creates an list cache object.
4594
+ *
4595
+ * @private
4596
+ * @constructor
4597
+ * @param {Array} [entries] The key-value pairs to cache.
4598
+ */
4599
+ function ListCache(entries) {
4600
+ var index = -1,
4601
+ length = entries == null ? 0 : entries.length;
4602
+
4603
+ this.clear();
4604
+ while (++index < length) {
4605
+ var entry = entries[index];
4606
+ this.set(entry[0], entry[1]);
4607
+ }
4608
+ }
4609
+
4610
+ // Add methods to `ListCache`.
4611
+ ListCache.prototype.clear = _listCacheClear;
4612
+ ListCache.prototype['delete'] = _listCacheDelete;
4613
+ ListCache.prototype.get = _listCacheGet;
4614
+ ListCache.prototype.has = _listCacheHas;
4615
+ ListCache.prototype.set = _listCacheSet;
4616
+
4617
+ var _ListCache = ListCache;
4618
+
4619
+ /* Built-in method references that are verified to be native. */
4620
+ var Map = _getNative(_root, 'Map');
4621
+
4622
+ var _Map = Map;
4623
+
4624
+ /**
4625
+ * Removes all key-value entries from the map.
4626
+ *
4627
+ * @private
4628
+ * @name clear
4629
+ * @memberOf MapCache
4630
+ */
4631
+ function mapCacheClear() {
4632
+ this.size = 0;
4633
+ this.__data__ = {
4634
+ 'hash': new _Hash,
4635
+ 'map': new (_Map || _ListCache),
4636
+ 'string': new _Hash
4637
+ };
4638
+ }
4639
+
4640
+ var _mapCacheClear = mapCacheClear;
4641
+
4642
+ /**
4643
+ * Checks if `value` is suitable for use as unique object key.
4644
+ *
4645
+ * @private
4646
+ * @param {*} value The value to check.
4647
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
4648
+ */
4649
+ function isKeyable(value) {
4650
+ var type = typeof value;
4651
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
4652
+ ? (value !== '__proto__')
4653
+ : (value === null);
4654
+ }
4655
+
4656
+ var _isKeyable = isKeyable;
4657
+
4658
+ /**
4659
+ * Gets the data for `map`.
4660
+ *
4661
+ * @private
4662
+ * @param {Object} map The map to query.
4663
+ * @param {string} key The reference key.
4664
+ * @returns {*} Returns the map data.
4665
+ */
4666
+ function getMapData(map, key) {
4667
+ var data = map.__data__;
4668
+ return _isKeyable(key)
4669
+ ? data[typeof key == 'string' ? 'string' : 'hash']
4670
+ : data.map;
4671
+ }
4672
+
4673
+ var _getMapData = getMapData;
4674
+
4675
+ /**
4676
+ * Removes `key` and its value from the map.
4677
+ *
4678
+ * @private
4679
+ * @name delete
4680
+ * @memberOf MapCache
4681
+ * @param {string} key The key of the value to remove.
4682
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4683
+ */
4684
+ function mapCacheDelete(key) {
4685
+ var result = _getMapData(this, key)['delete'](key);
4686
+ this.size -= result ? 1 : 0;
4687
+ return result;
4688
+ }
4689
+
4690
+ var _mapCacheDelete = mapCacheDelete;
4691
+
4692
+ /**
4693
+ * Gets the map value for `key`.
4694
+ *
4695
+ * @private
4696
+ * @name get
4697
+ * @memberOf MapCache
4698
+ * @param {string} key The key of the value to get.
4699
+ * @returns {*} Returns the entry value.
4700
+ */
4701
+ function mapCacheGet(key) {
4702
+ return _getMapData(this, key).get(key);
4703
+ }
4704
+
4705
+ var _mapCacheGet = mapCacheGet;
4706
+
4707
+ /**
4708
+ * Checks if a map value for `key` exists.
4709
+ *
4710
+ * @private
4711
+ * @name has
4712
+ * @memberOf MapCache
4713
+ * @param {string} key The key of the entry to check.
4714
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4715
+ */
4716
+ function mapCacheHas(key) {
4717
+ return _getMapData(this, key).has(key);
4718
+ }
4719
+
4720
+ var _mapCacheHas = mapCacheHas;
4721
+
4722
+ /**
4723
+ * Sets the map `key` to `value`.
4724
+ *
4725
+ * @private
4726
+ * @name set
4727
+ * @memberOf MapCache
4728
+ * @param {string} key The key of the value to set.
4729
+ * @param {*} value The value to set.
4730
+ * @returns {Object} Returns the map cache instance.
4731
+ */
4732
+ function mapCacheSet(key, value) {
4733
+ var data = _getMapData(this, key),
4734
+ size = data.size;
4735
+
4736
+ data.set(key, value);
4737
+ this.size += data.size == size ? 0 : 1;
4738
+ return this;
4739
+ }
4740
+
4741
+ var _mapCacheSet = mapCacheSet;
4742
+
4743
+ /**
4744
+ * Creates a map cache object to store key-value pairs.
4745
+ *
4746
+ * @private
4747
+ * @constructor
4748
+ * @param {Array} [entries] The key-value pairs to cache.
4749
+ */
4750
+ function MapCache(entries) {
4751
+ var index = -1,
4752
+ length = entries == null ? 0 : entries.length;
4753
+
4754
+ this.clear();
4755
+ while (++index < length) {
4756
+ var entry = entries[index];
4757
+ this.set(entry[0], entry[1]);
4758
+ }
4759
+ }
4760
+
4761
+ // Add methods to `MapCache`.
4762
+ MapCache.prototype.clear = _mapCacheClear;
4763
+ MapCache.prototype['delete'] = _mapCacheDelete;
4764
+ MapCache.prototype.get = _mapCacheGet;
4765
+ MapCache.prototype.has = _mapCacheHas;
4766
+ MapCache.prototype.set = _mapCacheSet;
4767
+
4768
+ var _MapCache = MapCache;
4769
+
4770
+ /** Error message constants. */
4771
+ var FUNC_ERROR_TEXT$1 = 'Expected a function';
4772
+
4773
+ /**
4774
+ * Creates a function that memoizes the result of `func`. If `resolver` is
4775
+ * provided, it determines the cache key for storing the result based on the
4776
+ * arguments provided to the memoized function. By default, the first argument
4777
+ * provided to the memoized function is used as the map cache key. The `func`
4778
+ * is invoked with the `this` binding of the memoized function.
4779
+ *
4780
+ * **Note:** The cache is exposed as the `cache` property on the memoized
4781
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
4782
+ * constructor with one whose instances implement the
4783
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
4784
+ * method interface of `clear`, `delete`, `get`, `has`, and `set`.
4785
+ *
4786
+ * @static
4787
+ * @memberOf _
4788
+ * @since 0.1.0
4789
+ * @category Function
4790
+ * @param {Function} func The function to have its output memoized.
4791
+ * @param {Function} [resolver] The function to resolve the cache key.
4792
+ * @returns {Function} Returns the new memoized function.
4793
+ * @example
4794
+ *
4795
+ * var object = { 'a': 1, 'b': 2 };
4796
+ * var other = { 'c': 3, 'd': 4 };
4797
+ *
4798
+ * var values = _.memoize(_.values);
4799
+ * values(object);
4800
+ * // => [1, 2]
4801
+ *
4802
+ * values(other);
4803
+ * // => [3, 4]
4804
+ *
4805
+ * object.a = 2;
4806
+ * values(object);
4807
+ * // => [1, 2]
4808
+ *
4809
+ * // Modify the result cache.
4810
+ * values.cache.set(object, ['a', 'b']);
4811
+ * values(object);
4812
+ * // => ['a', 'b']
4813
+ *
4814
+ * // Replace `_.memoize.Cache`.
4815
+ * _.memoize.Cache = WeakMap;
4816
+ */
4817
+ function memoize(func, resolver) {
4818
+ if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
4819
+ throw new TypeError(FUNC_ERROR_TEXT$1);
4820
+ }
4821
+ var memoized = function() {
4822
+ var args = arguments,
4823
+ key = resolver ? resolver.apply(this, args) : args[0],
4824
+ cache = memoized.cache;
4825
+
4826
+ if (cache.has(key)) {
4827
+ return cache.get(key);
4828
+ }
4829
+ var result = func.apply(this, args);
4830
+ memoized.cache = cache.set(key, result) || cache;
4831
+ return result;
4832
+ };
4833
+ memoized.cache = new (memoize.Cache || _MapCache);
4834
+ return memoized;
4835
+ }
4836
+
4837
+ // Expose `MapCache`.
4838
+ memoize.Cache = _MapCache;
4839
+
4840
+ var memoize_1 = memoize;
4841
+
4842
+ /** Used as the maximum memoize cache size. */
4843
+ var MAX_MEMOIZE_SIZE = 500;
4844
+
4845
+ /**
4846
+ * A specialized version of `_.memoize` which clears the memoized function's
4847
+ * cache when it exceeds `MAX_MEMOIZE_SIZE`.
4848
+ *
4849
+ * @private
4850
+ * @param {Function} func The function to have its output memoized.
4851
+ * @returns {Function} Returns the new memoized function.
4852
+ */
4853
+ function memoizeCapped(func) {
4854
+ var result = memoize_1(func, function(key) {
4855
+ if (cache.size === MAX_MEMOIZE_SIZE) {
4856
+ cache.clear();
4857
+ }
4858
+ return key;
4859
+ });
4860
+
4861
+ var cache = result.cache;
4862
+ return result;
4863
+ }
4864
+
4865
+ var _memoizeCapped = memoizeCapped;
4866
+
4867
+ /** Used to match property names within property paths. */
4868
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
4869
+
4870
+ /** Used to match backslashes in property paths. */
4871
+ var reEscapeChar = /\\(\\)?/g;
4872
+
4873
+ /**
4874
+ * Converts `string` to a property path array.
4875
+ *
4876
+ * @private
4877
+ * @param {string} string The string to convert.
4878
+ * @returns {Array} Returns the property path array.
4879
+ */
4880
+ var stringToPath = _memoizeCapped(function(string) {
4881
+ var result = [];
4882
+ if (string.charCodeAt(0) === 46 /* . */) {
4883
+ result.push('');
4884
+ }
4885
+ string.replace(rePropName, function(match, number, quote, subString) {
4886
+ result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
4887
+ });
4888
+ return result;
4889
+ });
4890
+
4891
+ var _stringToPath = stringToPath;
4892
+
4893
+ /**
4894
+ * A specialized version of `_.map` for arrays without support for iteratee
4895
+ * shorthands.
4896
+ *
4897
+ * @private
4898
+ * @param {Array} [array] The array to iterate over.
4899
+ * @param {Function} iteratee The function invoked per iteration.
4900
+ * @returns {Array} Returns the new mapped array.
4901
+ */
4902
+ function arrayMap(array, iteratee) {
4903
+ var index = -1,
4904
+ length = array == null ? 0 : array.length,
4905
+ result = Array(length);
4906
+
4907
+ while (++index < length) {
4908
+ result[index] = iteratee(array[index], index, array);
4909
+ }
4910
+ return result;
4911
+ }
4912
+
4913
+ var _arrayMap = arrayMap;
4914
+
4915
+ /** Used as references for various `Number` constants. */
4916
+ var INFINITY = 1 / 0;
4917
+
4918
+ /** Used to convert symbols to primitives and strings. */
4919
+ var symbolProto = _Symbol ? _Symbol.prototype : undefined,
4920
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
4921
+
4922
+ /**
4923
+ * The base implementation of `_.toString` which doesn't convert nullish
4924
+ * values to empty strings.
4925
+ *
4926
+ * @private
4927
+ * @param {*} value The value to process.
4928
+ * @returns {string} Returns the string.
4929
+ */
4930
+ function baseToString(value) {
4931
+ // Exit early for strings to avoid a performance hit in some environments.
4932
+ if (typeof value == 'string') {
4933
+ return value;
4934
+ }
4935
+ if (isArray_1(value)) {
4936
+ // Recursively convert values (susceptible to call stack limits).
4937
+ return _arrayMap(value, baseToString) + '';
4938
+ }
4939
+ if (isSymbol_1(value)) {
4940
+ return symbolToString ? symbolToString.call(value) : '';
4941
+ }
4942
+ var result = (value + '');
4943
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
4944
+ }
4945
+
4946
+ var _baseToString = baseToString;
4947
+
4948
+ /**
4949
+ * Converts `value` to a string. An empty string is returned for `null`
4950
+ * and `undefined` values. The sign of `-0` is preserved.
4951
+ *
4952
+ * @static
4953
+ * @memberOf _
4954
+ * @since 4.0.0
4955
+ * @category Lang
4956
+ * @param {*} value The value to convert.
4957
+ * @returns {string} Returns the converted string.
4958
+ * @example
4959
+ *
4960
+ * _.toString(null);
4961
+ * // => ''
4962
+ *
4963
+ * _.toString(-0);
4964
+ * // => '-0'
4965
+ *
4966
+ * _.toString([1, 2, 3]);
4967
+ * // => '1,2,3'
4968
+ */
4969
+ function toString(value) {
4970
+ return value == null ? '' : _baseToString(value);
4971
+ }
4972
+
4973
+ var toString_1 = toString;
4974
+
4975
+ /**
4976
+ * Casts `value` to a path array if it's not one.
4977
+ *
4978
+ * @private
4979
+ * @param {*} value The value to inspect.
4980
+ * @param {Object} [object] The object to query keys on.
4981
+ * @returns {Array} Returns the cast property path array.
4982
+ */
4983
+ function castPath(value, object) {
4984
+ if (isArray_1(value)) {
4985
+ return value;
4986
+ }
4987
+ return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
4988
+ }
4989
+
4990
+ var _castPath = castPath;
4991
+
4992
+ /** Used as references for various `Number` constants. */
4993
+ var INFINITY$1 = 1 / 0;
4994
+
4995
+ /**
4996
+ * Converts `value` to a string key if it's not a string or symbol.
4997
+ *
4998
+ * @private
4999
+ * @param {*} value The value to inspect.
5000
+ * @returns {string|symbol} Returns the key.
5001
+ */
5002
+ function toKey(value) {
5003
+ if (typeof value == 'string' || isSymbol_1(value)) {
5004
+ return value;
5005
+ }
5006
+ var result = (value + '');
5007
+ return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
5008
+ }
5009
+
5010
+ var _toKey = toKey;
5011
+
5012
+ /**
5013
+ * The base implementation of `_.get` without support for default values.
5014
+ *
5015
+ * @private
5016
+ * @param {Object} object The object to query.
5017
+ * @param {Array|string} path The path of the property to get.
5018
+ * @returns {*} Returns the resolved value.
5019
+ */
5020
+ function baseGet(object, path) {
5021
+ path = _castPath(path, object);
5022
+
5023
+ var index = 0,
5024
+ length = path.length;
5025
+
5026
+ while (object != null && index < length) {
5027
+ object = object[_toKey(path[index++])];
5028
+ }
5029
+ return (index && index == length) ? object : undefined;
5030
+ }
5031
+
5032
+ var _baseGet = baseGet;
5033
+
5034
+ /**
5035
+ * Gets the value at `path` of `object`. If the resolved value is
5036
+ * `undefined`, the `defaultValue` is returned in its place.
5037
+ *
5038
+ * @static
5039
+ * @memberOf _
5040
+ * @since 3.7.0
5041
+ * @category Object
5042
+ * @param {Object} object The object to query.
5043
+ * @param {Array|string} path The path of the property to get.
5044
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
5045
+ * @returns {*} Returns the resolved value.
5046
+ * @example
5047
+ *
5048
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
5049
+ *
5050
+ * _.get(object, 'a[0].b.c');
5051
+ * // => 3
5052
+ *
5053
+ * _.get(object, ['a', '0', 'b', 'c']);
5054
+ * // => 3
5055
+ *
5056
+ * _.get(object, 'a.b.c', 'default');
5057
+ * // => 'default'
5058
+ */
5059
+ function get$1(object, path, defaultValue) {
5060
+ var result = object == null ? undefined : _baseGet(object, path);
5061
+ return result === undefined ? defaultValue : result;
5062
+ }
5063
+
5064
+ var get_1 = get$1;
5065
+
4079
5066
  var DeckQueue = function (_React$Component) {
4080
5067
  inherits(DeckQueue, _React$Component);
4081
5068
 
@@ -4180,7 +5167,7 @@ var DeckQueue = function (_React$Component) {
4180
5167
  { key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
4181
5168
  React__default.createElement(
4182
5169
  Link,
4183
- { href: _this2.page + '/[url]', as: _this2.page + '/' + row.url.current },
5170
+ { href: _this2.page + '/[url]', as: _this2.page + '/' + get_1(row, 'url.current') },
4184
5171
  React__default.createElement(
4185
5172
  'a',
4186
5173
  null,
@@ -6444,7 +7431,7 @@ var getYoutubeId = createCommonjsModule(function (module, exports) {
6444
7431
  }));
6445
7432
  });
6446
7433
 
6447
- var isArray = Array.isArray;
7434
+ var isArray$1 = Array.isArray;
6448
7435
  var keyList = Object.keys;
6449
7436
  var hasProp = Object.prototype.hasOwnProperty;
6450
7437
 
@@ -6452,8 +7439,8 @@ var fastDeepEqual = function equal(a, b) {
6452
7439
  if (a === b) return true;
6453
7440
 
6454
7441
  if (a && b && typeof a == 'object' && typeof b == 'object') {
6455
- var arrA = isArray(a)
6456
- , arrB = isArray(b)
7442
+ var arrA = isArray$1(a)
7443
+ , arrB = isArray$1(b)
6457
7444
  , i
6458
7445
  , length
6459
7446
  , key;
@@ -7686,7 +8673,7 @@ function formatValue(ctx, value, recurseTimes) {
7686
8673
  // Check that value is an object with an inspect function on it
7687
8674
  if (ctx.customInspect &&
7688
8675
  value &&
7689
- isFunction(value.inspect) &&
8676
+ isFunction$1(value.inspect) &&
7690
8677
  // Filter out the util module, it's inspect function is special
7691
8678
  value.inspect !== inspect &&
7692
8679
  // Also filter out any prototype objects using the circular check.
@@ -7721,7 +8708,7 @@ function formatValue(ctx, value, recurseTimes) {
7721
8708
 
7722
8709
  // Some type of object without properties can be shortcutted.
7723
8710
  if (keys.length === 0) {
7724
- if (isFunction(value)) {
8711
+ if (isFunction$1(value)) {
7725
8712
  var name = value.name ? ': ' + value.name : '';
7726
8713
  return ctx.stylize('[Function' + name + ']', 'special');
7727
8714
  }
@@ -7739,13 +8726,13 @@ function formatValue(ctx, value, recurseTimes) {
7739
8726
  var base = '', array = false, braces = ['{', '}'];
7740
8727
 
7741
8728
  // Make Array say that they are Array
7742
- if (isArray$1(value)) {
8729
+ if (isArray$2(value)) {
7743
8730
  array = true;
7744
8731
  braces = ['[', ']'];
7745
8732
  }
7746
8733
 
7747
8734
  // Make functions say that they are functions
7748
- if (isFunction(value)) {
8735
+ if (isFunction$1(value)) {
7749
8736
  var n = value.name ? ': ' + value.name : '';
7750
8737
  base = ' [Function' + n + ']';
7751
8738
  }
@@ -7821,7 +8808,7 @@ function formatError(value) {
7821
8808
  function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
7822
8809
  var output = [];
7823
8810
  for (var i = 0, l = value.length; i < l; ++i) {
7824
- if (hasOwnProperty$1(value, String(i))) {
8811
+ if (hasOwnProperty$4(value, String(i))) {
7825
8812
  output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
7826
8813
  String(i), true));
7827
8814
  } else {
@@ -7852,7 +8839,7 @@ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
7852
8839
  str = ctx.stylize('[Setter]', 'special');
7853
8840
  }
7854
8841
  }
7855
- if (!hasOwnProperty$1(visibleKeys, key)) {
8842
+ if (!hasOwnProperty$4(visibleKeys, key)) {
7856
8843
  name = '[' + key + ']';
7857
8844
  }
7858
8845
  if (!str) {
@@ -7918,7 +8905,7 @@ function reduceToSingleString(output, base, braces) {
7918
8905
 
7919
8906
  // NOTE: These type checking functions intentionally don't use `instanceof`
7920
8907
  // because it is fragile and can be easily faked with `Object.create()`.
7921
- function isArray$1(ar) {
8908
+ function isArray$2(ar) {
7922
8909
  return Array.isArray(ar);
7923
8910
  }
7924
8911
 
@@ -7967,7 +8954,7 @@ function isError(e) {
7967
8954
  (objectToString$1(e) === '[object Error]' || e instanceof Error);
7968
8955
  }
7969
8956
 
7970
- function isFunction(arg) {
8957
+ function isFunction$1(arg) {
7971
8958
  return typeof arg === 'function';
7972
8959
  }
7973
8960
 
@@ -8023,7 +9010,7 @@ function _extend(origin, add) {
8023
9010
  }
8024
9011
  return origin;
8025
9012
  }
8026
- function hasOwnProperty$1(obj, prop) {
9013
+ function hasOwnProperty$4(obj, prop) {
8027
9014
  return Object.prototype.hasOwnProperty.call(obj, prop);
8028
9015
  }
8029
9016
 
@@ -8033,7 +9020,7 @@ var util = {
8033
9020
  log: log,
8034
9021
  isBuffer: isBuffer,
8035
9022
  isPrimitive: isPrimitive,
8036
- isFunction: isFunction,
9023
+ isFunction: isFunction$1,
8037
9024
  isError: isError,
8038
9025
  isDate: isDate,
8039
9026
  isObject: isObject$1,
@@ -8045,7 +9032,7 @@ var util = {
8045
9032
  isNullOrUndefined: isNullOrUndefined,
8046
9033
  isNull: isNull,
8047
9034
  isBoolean: isBoolean,
8048
- isArray: isArray$1,
9035
+ isArray: isArray$2,
8049
9036
  inspect: inspect,
8050
9037
  deprecate: deprecate,
8051
9038
  format: format,
@@ -9074,7 +10061,7 @@ object-assign
9074
10061
  */
9075
10062
  /* eslint-disable no-unused-vars */
9076
10063
  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
9077
- var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
10064
+ var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
9078
10065
  var propIsEnumerable = Object.prototype.propertyIsEnumerable;
9079
10066
 
9080
10067
  function toObject(val) {
@@ -9138,7 +10125,7 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
9138
10125
  from = Object(arguments[s]);
9139
10126
 
9140
10127
  for (var key in from) {
9141
- if (hasOwnProperty$2.call(from, key)) {
10128
+ if (hasOwnProperty$5.call(from, key)) {
9142
10129
  to[key] = from[key];
9143
10130
  }
9144
10131
  }
@@ -10090,6 +11077,22 @@ var getSerializers$1 = function getSerializers(client) {
10090
11077
 
10091
11078
  return React__default.createElement(Media$1, { uploadDoc: upload_doc, poster: poster, blank: blank, client: client, caption: caption });
10092
11079
  }
11080
+ },
11081
+ marks: {
11082
+ superscript: function superscript(props) {
11083
+ return React__default.createElement(
11084
+ 'sup',
11085
+ null,
11086
+ props.children
11087
+ );
11088
+ },
11089
+ subscript: function subscript(props) {
11090
+ return React__default.createElement(
11091
+ 'sub',
11092
+ null,
11093
+ props.children
11094
+ );
11095
+ }
10093
11096
  }
10094
11097
  };
10095
11098
  };