@mjhls/mjh-framework 1.0.28 → 1.0.30

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.js CHANGED
@@ -753,6 +753,1202 @@ var DeckContent = function (_React$Component) {
753
753
  return DeckContent;
754
754
  }(React__default.Component);
755
755
 
756
+ /**
757
+ * Checks if `value` is classified as an `Array` object.
758
+ *
759
+ * @static
760
+ * @memberOf _
761
+ * @since 0.1.0
762
+ * @category Lang
763
+ * @param {*} value The value to check.
764
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
765
+ * @example
766
+ *
767
+ * _.isArray([1, 2, 3]);
768
+ * // => true
769
+ *
770
+ * _.isArray(document.body.children);
771
+ * // => false
772
+ *
773
+ * _.isArray('abc');
774
+ * // => false
775
+ *
776
+ * _.isArray(_.noop);
777
+ * // => false
778
+ */
779
+ var isArray = Array.isArray;
780
+
781
+ var isArray_1 = isArray;
782
+
783
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
784
+
785
+ function unwrapExports (x) {
786
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
787
+ }
788
+
789
+ function createCommonjsModule(fn, module) {
790
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
791
+ }
792
+
793
+ /** Detect free variable `global` from Node.js. */
794
+ var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
795
+
796
+ var _freeGlobal = freeGlobal;
797
+
798
+ /** Detect free variable `self`. */
799
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
800
+
801
+ /** Used as a reference to the global object. */
802
+ var root = _freeGlobal || freeSelf || Function('return this')();
803
+
804
+ var _root = root;
805
+
806
+ /** Built-in value references. */
807
+ var Symbol$1 = _root.Symbol;
808
+
809
+ var _Symbol = Symbol$1;
810
+
811
+ /** Used for built-in method references. */
812
+ var objectProto = Object.prototype;
813
+
814
+ /** Used to check objects for own properties. */
815
+ var hasOwnProperty = objectProto.hasOwnProperty;
816
+
817
+ /**
818
+ * Used to resolve the
819
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
820
+ * of values.
821
+ */
822
+ var nativeObjectToString = objectProto.toString;
823
+
824
+ /** Built-in value references. */
825
+ var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
826
+
827
+ /**
828
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
829
+ *
830
+ * @private
831
+ * @param {*} value The value to query.
832
+ * @returns {string} Returns the raw `toStringTag`.
833
+ */
834
+ function getRawTag(value) {
835
+ var isOwn = hasOwnProperty.call(value, symToStringTag),
836
+ tag = value[symToStringTag];
837
+
838
+ try {
839
+ value[symToStringTag] = undefined;
840
+ } catch (e) {}
841
+
842
+ var result = nativeObjectToString.call(value);
843
+ {
844
+ if (isOwn) {
845
+ value[symToStringTag] = tag;
846
+ } else {
847
+ delete value[symToStringTag];
848
+ }
849
+ }
850
+ return result;
851
+ }
852
+
853
+ var _getRawTag = getRawTag;
854
+
855
+ /** Used for built-in method references. */
856
+ var objectProto$1 = Object.prototype;
857
+
858
+ /**
859
+ * Used to resolve the
860
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
861
+ * of values.
862
+ */
863
+ var nativeObjectToString$1 = objectProto$1.toString;
864
+
865
+ /**
866
+ * Converts `value` to a string using `Object.prototype.toString`.
867
+ *
868
+ * @private
869
+ * @param {*} value The value to convert.
870
+ * @returns {string} Returns the converted string.
871
+ */
872
+ function objectToString(value) {
873
+ return nativeObjectToString$1.call(value);
874
+ }
875
+
876
+ var _objectToString = objectToString;
877
+
878
+ /** `Object#toString` result references. */
879
+ var nullTag = '[object Null]',
880
+ undefinedTag = '[object Undefined]';
881
+
882
+ /** Built-in value references. */
883
+ var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
884
+
885
+ /**
886
+ * The base implementation of `getTag` without fallbacks for buggy environments.
887
+ *
888
+ * @private
889
+ * @param {*} value The value to query.
890
+ * @returns {string} Returns the `toStringTag`.
891
+ */
892
+ function baseGetTag(value) {
893
+ if (value == null) {
894
+ return value === undefined ? undefinedTag : nullTag;
895
+ }
896
+ return (symToStringTag$1 && symToStringTag$1 in Object(value))
897
+ ? _getRawTag(value)
898
+ : _objectToString(value);
899
+ }
900
+
901
+ var _baseGetTag = baseGetTag;
902
+
903
+ /**
904
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
905
+ * and has a `typeof` result of "object".
906
+ *
907
+ * @static
908
+ * @memberOf _
909
+ * @since 4.0.0
910
+ * @category Lang
911
+ * @param {*} value The value to check.
912
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
913
+ * @example
914
+ *
915
+ * _.isObjectLike({});
916
+ * // => true
917
+ *
918
+ * _.isObjectLike([1, 2, 3]);
919
+ * // => true
920
+ *
921
+ * _.isObjectLike(_.noop);
922
+ * // => false
923
+ *
924
+ * _.isObjectLike(null);
925
+ * // => false
926
+ */
927
+ function isObjectLike(value) {
928
+ return value != null && typeof value == 'object';
929
+ }
930
+
931
+ var isObjectLike_1 = isObjectLike;
932
+
933
+ /** `Object#toString` result references. */
934
+ var symbolTag = '[object Symbol]';
935
+
936
+ /**
937
+ * Checks if `value` is classified as a `Symbol` primitive or object.
938
+ *
939
+ * @static
940
+ * @memberOf _
941
+ * @since 4.0.0
942
+ * @category Lang
943
+ * @param {*} value The value to check.
944
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
945
+ * @example
946
+ *
947
+ * _.isSymbol(Symbol.iterator);
948
+ * // => true
949
+ *
950
+ * _.isSymbol('abc');
951
+ * // => false
952
+ */
953
+ function isSymbol(value) {
954
+ return typeof value == 'symbol' ||
955
+ (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
956
+ }
957
+
958
+ var isSymbol_1 = isSymbol;
959
+
960
+ /** Used to match property names within property paths. */
961
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
962
+ reIsPlainProp = /^\w*$/;
963
+
964
+ /**
965
+ * Checks if `value` is a property name and not a property path.
966
+ *
967
+ * @private
968
+ * @param {*} value The value to check.
969
+ * @param {Object} [object] The object to query keys on.
970
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
971
+ */
972
+ function isKey(value, object) {
973
+ if (isArray_1(value)) {
974
+ return false;
975
+ }
976
+ var type = typeof value;
977
+ if (type == 'number' || type == 'symbol' || type == 'boolean' ||
978
+ value == null || isSymbol_1(value)) {
979
+ return true;
980
+ }
981
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
982
+ (object != null && value in Object(object));
983
+ }
984
+
985
+ var _isKey = isKey;
986
+
987
+ /**
988
+ * Checks if `value` is the
989
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
990
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
991
+ *
992
+ * @static
993
+ * @memberOf _
994
+ * @since 0.1.0
995
+ * @category Lang
996
+ * @param {*} value The value to check.
997
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
998
+ * @example
999
+ *
1000
+ * _.isObject({});
1001
+ * // => true
1002
+ *
1003
+ * _.isObject([1, 2, 3]);
1004
+ * // => true
1005
+ *
1006
+ * _.isObject(_.noop);
1007
+ * // => true
1008
+ *
1009
+ * _.isObject(null);
1010
+ * // => false
1011
+ */
1012
+ function isObject(value) {
1013
+ var type = typeof value;
1014
+ return value != null && (type == 'object' || type == 'function');
1015
+ }
1016
+
1017
+ var isObject_1 = isObject;
1018
+
1019
+ /** `Object#toString` result references. */
1020
+ var asyncTag = '[object AsyncFunction]',
1021
+ funcTag = '[object Function]',
1022
+ genTag = '[object GeneratorFunction]',
1023
+ proxyTag = '[object Proxy]';
1024
+
1025
+ /**
1026
+ * Checks if `value` is classified as a `Function` object.
1027
+ *
1028
+ * @static
1029
+ * @memberOf _
1030
+ * @since 0.1.0
1031
+ * @category Lang
1032
+ * @param {*} value The value to check.
1033
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
1034
+ * @example
1035
+ *
1036
+ * _.isFunction(_);
1037
+ * // => true
1038
+ *
1039
+ * _.isFunction(/abc/);
1040
+ * // => false
1041
+ */
1042
+ function isFunction(value) {
1043
+ if (!isObject_1(value)) {
1044
+ return false;
1045
+ }
1046
+ // The use of `Object#toString` avoids issues with the `typeof` operator
1047
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
1048
+ var tag = _baseGetTag(value);
1049
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
1050
+ }
1051
+
1052
+ var isFunction_1 = isFunction;
1053
+
1054
+ /** Used to detect overreaching core-js shims. */
1055
+ var coreJsData = _root['__core-js_shared__'];
1056
+
1057
+ var _coreJsData = coreJsData;
1058
+
1059
+ /** Used to detect methods masquerading as native. */
1060
+ var maskSrcKey = (function() {
1061
+ var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
1062
+ return uid ? ('Symbol(src)_1.' + uid) : '';
1063
+ }());
1064
+
1065
+ /**
1066
+ * Checks if `func` has its source masked.
1067
+ *
1068
+ * @private
1069
+ * @param {Function} func The function to check.
1070
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
1071
+ */
1072
+ function isMasked(func) {
1073
+ return !!maskSrcKey && (maskSrcKey in func);
1074
+ }
1075
+
1076
+ var _isMasked = isMasked;
1077
+
1078
+ /** Used for built-in method references. */
1079
+ var funcProto = Function.prototype;
1080
+
1081
+ /** Used to resolve the decompiled source of functions. */
1082
+ var funcToString = funcProto.toString;
1083
+
1084
+ /**
1085
+ * Converts `func` to its source code.
1086
+ *
1087
+ * @private
1088
+ * @param {Function} func The function to convert.
1089
+ * @returns {string} Returns the source code.
1090
+ */
1091
+ function toSource(func) {
1092
+ if (func != null) {
1093
+ try {
1094
+ return funcToString.call(func);
1095
+ } catch (e) {}
1096
+ try {
1097
+ return (func + '');
1098
+ } catch (e) {}
1099
+ }
1100
+ return '';
1101
+ }
1102
+
1103
+ var _toSource = toSource;
1104
+
1105
+ /**
1106
+ * Used to match `RegExp`
1107
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
1108
+ */
1109
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
1110
+
1111
+ /** Used to detect host constructors (Safari). */
1112
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
1113
+
1114
+ /** Used for built-in method references. */
1115
+ var funcProto$1 = Function.prototype,
1116
+ objectProto$2 = Object.prototype;
1117
+
1118
+ /** Used to resolve the decompiled source of functions. */
1119
+ var funcToString$1 = funcProto$1.toString;
1120
+
1121
+ /** Used to check objects for own properties. */
1122
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
1123
+
1124
+ /** Used to detect if a method is native. */
1125
+ var reIsNative = RegExp('^' +
1126
+ funcToString$1.call(hasOwnProperty$1).replace(reRegExpChar, '\\$&')
1127
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
1128
+ );
1129
+
1130
+ /**
1131
+ * The base implementation of `_.isNative` without bad shim checks.
1132
+ *
1133
+ * @private
1134
+ * @param {*} value The value to check.
1135
+ * @returns {boolean} Returns `true` if `value` is a native function,
1136
+ * else `false`.
1137
+ */
1138
+ function baseIsNative(value) {
1139
+ if (!isObject_1(value) || _isMasked(value)) {
1140
+ return false;
1141
+ }
1142
+ var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
1143
+ return pattern.test(_toSource(value));
1144
+ }
1145
+
1146
+ var _baseIsNative = baseIsNative;
1147
+
1148
+ /**
1149
+ * Gets the value at `key` of `object`.
1150
+ *
1151
+ * @private
1152
+ * @param {Object} [object] The object to query.
1153
+ * @param {string} key The key of the property to get.
1154
+ * @returns {*} Returns the property value.
1155
+ */
1156
+ function getValue(object, key) {
1157
+ return object == null ? undefined : object[key];
1158
+ }
1159
+
1160
+ var _getValue = getValue;
1161
+
1162
+ /**
1163
+ * Gets the native function at `key` of `object`.
1164
+ *
1165
+ * @private
1166
+ * @param {Object} object The object to query.
1167
+ * @param {string} key The key of the method to get.
1168
+ * @returns {*} Returns the function if it's native, else `undefined`.
1169
+ */
1170
+ function getNative(object, key) {
1171
+ var value = _getValue(object, key);
1172
+ return _baseIsNative(value) ? value : undefined;
1173
+ }
1174
+
1175
+ var _getNative = getNative;
1176
+
1177
+ /* Built-in method references that are verified to be native. */
1178
+ var nativeCreate = _getNative(Object, 'create');
1179
+
1180
+ var _nativeCreate = nativeCreate;
1181
+
1182
+ /**
1183
+ * Removes all key-value entries from the hash.
1184
+ *
1185
+ * @private
1186
+ * @name clear
1187
+ * @memberOf Hash
1188
+ */
1189
+ function hashClear() {
1190
+ this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
1191
+ this.size = 0;
1192
+ }
1193
+
1194
+ var _hashClear = hashClear;
1195
+
1196
+ /**
1197
+ * Removes `key` and its value from the hash.
1198
+ *
1199
+ * @private
1200
+ * @name delete
1201
+ * @memberOf Hash
1202
+ * @param {Object} hash The hash to modify.
1203
+ * @param {string} key The key of the value to remove.
1204
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1205
+ */
1206
+ function hashDelete(key) {
1207
+ var result = this.has(key) && delete this.__data__[key];
1208
+ this.size -= result ? 1 : 0;
1209
+ return result;
1210
+ }
1211
+
1212
+ var _hashDelete = hashDelete;
1213
+
1214
+ /** Used to stand-in for `undefined` hash values. */
1215
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
1216
+
1217
+ /** Used for built-in method references. */
1218
+ var objectProto$3 = Object.prototype;
1219
+
1220
+ /** Used to check objects for own properties. */
1221
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1222
+
1223
+ /**
1224
+ * Gets the hash value for `key`.
1225
+ *
1226
+ * @private
1227
+ * @name get
1228
+ * @memberOf Hash
1229
+ * @param {string} key The key of the value to get.
1230
+ * @returns {*} Returns the entry value.
1231
+ */
1232
+ function hashGet(key) {
1233
+ var data = this.__data__;
1234
+ if (_nativeCreate) {
1235
+ var result = data[key];
1236
+ return result === HASH_UNDEFINED ? undefined : result;
1237
+ }
1238
+ return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
1239
+ }
1240
+
1241
+ var _hashGet = hashGet;
1242
+
1243
+ /** Used for built-in method references. */
1244
+ var objectProto$4 = Object.prototype;
1245
+
1246
+ /** Used to check objects for own properties. */
1247
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1248
+
1249
+ /**
1250
+ * Checks if a hash value for `key` exists.
1251
+ *
1252
+ * @private
1253
+ * @name has
1254
+ * @memberOf Hash
1255
+ * @param {string} key The key of the entry to check.
1256
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1257
+ */
1258
+ function hashHas(key) {
1259
+ var data = this.__data__;
1260
+ return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$3.call(data, key);
1261
+ }
1262
+
1263
+ var _hashHas = hashHas;
1264
+
1265
+ /** Used to stand-in for `undefined` hash values. */
1266
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1267
+
1268
+ /**
1269
+ * Sets the hash `key` to `value`.
1270
+ *
1271
+ * @private
1272
+ * @name set
1273
+ * @memberOf Hash
1274
+ * @param {string} key The key of the value to set.
1275
+ * @param {*} value The value to set.
1276
+ * @returns {Object} Returns the hash instance.
1277
+ */
1278
+ function hashSet(key, value) {
1279
+ var data = this.__data__;
1280
+ this.size += this.has(key) ? 0 : 1;
1281
+ data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
1282
+ return this;
1283
+ }
1284
+
1285
+ var _hashSet = hashSet;
1286
+
1287
+ /**
1288
+ * Creates a hash object.
1289
+ *
1290
+ * @private
1291
+ * @constructor
1292
+ * @param {Array} [entries] The key-value pairs to cache.
1293
+ */
1294
+ function Hash(entries) {
1295
+ var index = -1,
1296
+ length = entries == null ? 0 : entries.length;
1297
+
1298
+ this.clear();
1299
+ while (++index < length) {
1300
+ var entry = entries[index];
1301
+ this.set(entry[0], entry[1]);
1302
+ }
1303
+ }
1304
+
1305
+ // Add methods to `Hash`.
1306
+ Hash.prototype.clear = _hashClear;
1307
+ Hash.prototype['delete'] = _hashDelete;
1308
+ Hash.prototype.get = _hashGet;
1309
+ Hash.prototype.has = _hashHas;
1310
+ Hash.prototype.set = _hashSet;
1311
+
1312
+ var _Hash = Hash;
1313
+
1314
+ /**
1315
+ * Removes all key-value entries from the list cache.
1316
+ *
1317
+ * @private
1318
+ * @name clear
1319
+ * @memberOf ListCache
1320
+ */
1321
+ function listCacheClear() {
1322
+ this.__data__ = [];
1323
+ this.size = 0;
1324
+ }
1325
+
1326
+ var _listCacheClear = listCacheClear;
1327
+
1328
+ /**
1329
+ * Performs a
1330
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1331
+ * comparison between two values to determine if they are equivalent.
1332
+ *
1333
+ * @static
1334
+ * @memberOf _
1335
+ * @since 4.0.0
1336
+ * @category Lang
1337
+ * @param {*} value The value to compare.
1338
+ * @param {*} other The other value to compare.
1339
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1340
+ * @example
1341
+ *
1342
+ * var object = { 'a': 1 };
1343
+ * var other = { 'a': 1 };
1344
+ *
1345
+ * _.eq(object, object);
1346
+ * // => true
1347
+ *
1348
+ * _.eq(object, other);
1349
+ * // => false
1350
+ *
1351
+ * _.eq('a', 'a');
1352
+ * // => true
1353
+ *
1354
+ * _.eq('a', Object('a'));
1355
+ * // => false
1356
+ *
1357
+ * _.eq(NaN, NaN);
1358
+ * // => true
1359
+ */
1360
+ function eq(value, other) {
1361
+ return value === other || (value !== value && other !== other);
1362
+ }
1363
+
1364
+ var eq_1 = eq;
1365
+
1366
+ /**
1367
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
1368
+ *
1369
+ * @private
1370
+ * @param {Array} array The array to inspect.
1371
+ * @param {*} key The key to search for.
1372
+ * @returns {number} Returns the index of the matched value, else `-1`.
1373
+ */
1374
+ function assocIndexOf(array, key) {
1375
+ var length = array.length;
1376
+ while (length--) {
1377
+ if (eq_1(array[length][0], key)) {
1378
+ return length;
1379
+ }
1380
+ }
1381
+ return -1;
1382
+ }
1383
+
1384
+ var _assocIndexOf = assocIndexOf;
1385
+
1386
+ /** Used for built-in method references. */
1387
+ var arrayProto = Array.prototype;
1388
+
1389
+ /** Built-in value references. */
1390
+ var splice = arrayProto.splice;
1391
+
1392
+ /**
1393
+ * Removes `key` and its value from the list cache.
1394
+ *
1395
+ * @private
1396
+ * @name delete
1397
+ * @memberOf ListCache
1398
+ * @param {string} key The key of the value to remove.
1399
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1400
+ */
1401
+ function listCacheDelete(key) {
1402
+ var data = this.__data__,
1403
+ index = _assocIndexOf(data, key);
1404
+
1405
+ if (index < 0) {
1406
+ return false;
1407
+ }
1408
+ var lastIndex = data.length - 1;
1409
+ if (index == lastIndex) {
1410
+ data.pop();
1411
+ } else {
1412
+ splice.call(data, index, 1);
1413
+ }
1414
+ --this.size;
1415
+ return true;
1416
+ }
1417
+
1418
+ var _listCacheDelete = listCacheDelete;
1419
+
1420
+ /**
1421
+ * Gets the list cache value for `key`.
1422
+ *
1423
+ * @private
1424
+ * @name get
1425
+ * @memberOf ListCache
1426
+ * @param {string} key The key of the value to get.
1427
+ * @returns {*} Returns the entry value.
1428
+ */
1429
+ function listCacheGet(key) {
1430
+ var data = this.__data__,
1431
+ index = _assocIndexOf(data, key);
1432
+
1433
+ return index < 0 ? undefined : data[index][1];
1434
+ }
1435
+
1436
+ var _listCacheGet = listCacheGet;
1437
+
1438
+ /**
1439
+ * Checks if a list cache value for `key` exists.
1440
+ *
1441
+ * @private
1442
+ * @name has
1443
+ * @memberOf ListCache
1444
+ * @param {string} key The key of the entry to check.
1445
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1446
+ */
1447
+ function listCacheHas(key) {
1448
+ return _assocIndexOf(this.__data__, key) > -1;
1449
+ }
1450
+
1451
+ var _listCacheHas = listCacheHas;
1452
+
1453
+ /**
1454
+ * Sets the list cache `key` to `value`.
1455
+ *
1456
+ * @private
1457
+ * @name set
1458
+ * @memberOf ListCache
1459
+ * @param {string} key The key of the value to set.
1460
+ * @param {*} value The value to set.
1461
+ * @returns {Object} Returns the list cache instance.
1462
+ */
1463
+ function listCacheSet(key, value) {
1464
+ var data = this.__data__,
1465
+ index = _assocIndexOf(data, key);
1466
+
1467
+ if (index < 0) {
1468
+ ++this.size;
1469
+ data.push([key, value]);
1470
+ } else {
1471
+ data[index][1] = value;
1472
+ }
1473
+ return this;
1474
+ }
1475
+
1476
+ var _listCacheSet = listCacheSet;
1477
+
1478
+ /**
1479
+ * Creates an list cache object.
1480
+ *
1481
+ * @private
1482
+ * @constructor
1483
+ * @param {Array} [entries] The key-value pairs to cache.
1484
+ */
1485
+ function ListCache(entries) {
1486
+ var index = -1,
1487
+ length = entries == null ? 0 : entries.length;
1488
+
1489
+ this.clear();
1490
+ while (++index < length) {
1491
+ var entry = entries[index];
1492
+ this.set(entry[0], entry[1]);
1493
+ }
1494
+ }
1495
+
1496
+ // Add methods to `ListCache`.
1497
+ ListCache.prototype.clear = _listCacheClear;
1498
+ ListCache.prototype['delete'] = _listCacheDelete;
1499
+ ListCache.prototype.get = _listCacheGet;
1500
+ ListCache.prototype.has = _listCacheHas;
1501
+ ListCache.prototype.set = _listCacheSet;
1502
+
1503
+ var _ListCache = ListCache;
1504
+
1505
+ /* Built-in method references that are verified to be native. */
1506
+ var Map = _getNative(_root, 'Map');
1507
+
1508
+ var _Map = Map;
1509
+
1510
+ /**
1511
+ * Removes all key-value entries from the map.
1512
+ *
1513
+ * @private
1514
+ * @name clear
1515
+ * @memberOf MapCache
1516
+ */
1517
+ function mapCacheClear() {
1518
+ this.size = 0;
1519
+ this.__data__ = {
1520
+ 'hash': new _Hash,
1521
+ 'map': new (_Map || _ListCache),
1522
+ 'string': new _Hash
1523
+ };
1524
+ }
1525
+
1526
+ var _mapCacheClear = mapCacheClear;
1527
+
1528
+ /**
1529
+ * Checks if `value` is suitable for use as unique object key.
1530
+ *
1531
+ * @private
1532
+ * @param {*} value The value to check.
1533
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1534
+ */
1535
+ function isKeyable(value) {
1536
+ var type = typeof value;
1537
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1538
+ ? (value !== '__proto__')
1539
+ : (value === null);
1540
+ }
1541
+
1542
+ var _isKeyable = isKeyable;
1543
+
1544
+ /**
1545
+ * Gets the data for `map`.
1546
+ *
1547
+ * @private
1548
+ * @param {Object} map The map to query.
1549
+ * @param {string} key The reference key.
1550
+ * @returns {*} Returns the map data.
1551
+ */
1552
+ function getMapData(map, key) {
1553
+ var data = map.__data__;
1554
+ return _isKeyable(key)
1555
+ ? data[typeof key == 'string' ? 'string' : 'hash']
1556
+ : data.map;
1557
+ }
1558
+
1559
+ var _getMapData = getMapData;
1560
+
1561
+ /**
1562
+ * Removes `key` and its value from the map.
1563
+ *
1564
+ * @private
1565
+ * @name delete
1566
+ * @memberOf MapCache
1567
+ * @param {string} key The key of the value to remove.
1568
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1569
+ */
1570
+ function mapCacheDelete(key) {
1571
+ var result = _getMapData(this, key)['delete'](key);
1572
+ this.size -= result ? 1 : 0;
1573
+ return result;
1574
+ }
1575
+
1576
+ var _mapCacheDelete = mapCacheDelete;
1577
+
1578
+ /**
1579
+ * Gets the map value for `key`.
1580
+ *
1581
+ * @private
1582
+ * @name get
1583
+ * @memberOf MapCache
1584
+ * @param {string} key The key of the value to get.
1585
+ * @returns {*} Returns the entry value.
1586
+ */
1587
+ function mapCacheGet(key) {
1588
+ return _getMapData(this, key).get(key);
1589
+ }
1590
+
1591
+ var _mapCacheGet = mapCacheGet;
1592
+
1593
+ /**
1594
+ * Checks if a map value for `key` exists.
1595
+ *
1596
+ * @private
1597
+ * @name has
1598
+ * @memberOf MapCache
1599
+ * @param {string} key The key of the entry to check.
1600
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1601
+ */
1602
+ function mapCacheHas(key) {
1603
+ return _getMapData(this, key).has(key);
1604
+ }
1605
+
1606
+ var _mapCacheHas = mapCacheHas;
1607
+
1608
+ /**
1609
+ * Sets the map `key` to `value`.
1610
+ *
1611
+ * @private
1612
+ * @name set
1613
+ * @memberOf MapCache
1614
+ * @param {string} key The key of the value to set.
1615
+ * @param {*} value The value to set.
1616
+ * @returns {Object} Returns the map cache instance.
1617
+ */
1618
+ function mapCacheSet(key, value) {
1619
+ var data = _getMapData(this, key),
1620
+ size = data.size;
1621
+
1622
+ data.set(key, value);
1623
+ this.size += data.size == size ? 0 : 1;
1624
+ return this;
1625
+ }
1626
+
1627
+ var _mapCacheSet = mapCacheSet;
1628
+
1629
+ /**
1630
+ * Creates a map cache object to store key-value pairs.
1631
+ *
1632
+ * @private
1633
+ * @constructor
1634
+ * @param {Array} [entries] The key-value pairs to cache.
1635
+ */
1636
+ function MapCache(entries) {
1637
+ var index = -1,
1638
+ length = entries == null ? 0 : entries.length;
1639
+
1640
+ this.clear();
1641
+ while (++index < length) {
1642
+ var entry = entries[index];
1643
+ this.set(entry[0], entry[1]);
1644
+ }
1645
+ }
1646
+
1647
+ // Add methods to `MapCache`.
1648
+ MapCache.prototype.clear = _mapCacheClear;
1649
+ MapCache.prototype['delete'] = _mapCacheDelete;
1650
+ MapCache.prototype.get = _mapCacheGet;
1651
+ MapCache.prototype.has = _mapCacheHas;
1652
+ MapCache.prototype.set = _mapCacheSet;
1653
+
1654
+ var _MapCache = MapCache;
1655
+
1656
+ /** Error message constants. */
1657
+ var FUNC_ERROR_TEXT = 'Expected a function';
1658
+
1659
+ /**
1660
+ * Creates a function that memoizes the result of `func`. If `resolver` is
1661
+ * provided, it determines the cache key for storing the result based on the
1662
+ * arguments provided to the memoized function. By default, the first argument
1663
+ * provided to the memoized function is used as the map cache key. The `func`
1664
+ * is invoked with the `this` binding of the memoized function.
1665
+ *
1666
+ * **Note:** The cache is exposed as the `cache` property on the memoized
1667
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
1668
+ * constructor with one whose instances implement the
1669
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1670
+ * method interface of `clear`, `delete`, `get`, `has`, and `set`.
1671
+ *
1672
+ * @static
1673
+ * @memberOf _
1674
+ * @since 0.1.0
1675
+ * @category Function
1676
+ * @param {Function} func The function to have its output memoized.
1677
+ * @param {Function} [resolver] The function to resolve the cache key.
1678
+ * @returns {Function} Returns the new memoized function.
1679
+ * @example
1680
+ *
1681
+ * var object = { 'a': 1, 'b': 2 };
1682
+ * var other = { 'c': 3, 'd': 4 };
1683
+ *
1684
+ * var values = _.memoize(_.values);
1685
+ * values(object);
1686
+ * // => [1, 2]
1687
+ *
1688
+ * values(other);
1689
+ * // => [3, 4]
1690
+ *
1691
+ * object.a = 2;
1692
+ * values(object);
1693
+ * // => [1, 2]
1694
+ *
1695
+ * // Modify the result cache.
1696
+ * values.cache.set(object, ['a', 'b']);
1697
+ * values(object);
1698
+ * // => ['a', 'b']
1699
+ *
1700
+ * // Replace `_.memoize.Cache`.
1701
+ * _.memoize.Cache = WeakMap;
1702
+ */
1703
+ function memoize(func, resolver) {
1704
+ if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
1705
+ throw new TypeError(FUNC_ERROR_TEXT);
1706
+ }
1707
+ var memoized = function() {
1708
+ var args = arguments,
1709
+ key = resolver ? resolver.apply(this, args) : args[0],
1710
+ cache = memoized.cache;
1711
+
1712
+ if (cache.has(key)) {
1713
+ return cache.get(key);
1714
+ }
1715
+ var result = func.apply(this, args);
1716
+ memoized.cache = cache.set(key, result) || cache;
1717
+ return result;
1718
+ };
1719
+ memoized.cache = new (memoize.Cache || _MapCache);
1720
+ return memoized;
1721
+ }
1722
+
1723
+ // Expose `MapCache`.
1724
+ memoize.Cache = _MapCache;
1725
+
1726
+ var memoize_1 = memoize;
1727
+
1728
+ /** Used as the maximum memoize cache size. */
1729
+ var MAX_MEMOIZE_SIZE = 500;
1730
+
1731
+ /**
1732
+ * A specialized version of `_.memoize` which clears the memoized function's
1733
+ * cache when it exceeds `MAX_MEMOIZE_SIZE`.
1734
+ *
1735
+ * @private
1736
+ * @param {Function} func The function to have its output memoized.
1737
+ * @returns {Function} Returns the new memoized function.
1738
+ */
1739
+ function memoizeCapped(func) {
1740
+ var result = memoize_1(func, function(key) {
1741
+ if (cache.size === MAX_MEMOIZE_SIZE) {
1742
+ cache.clear();
1743
+ }
1744
+ return key;
1745
+ });
1746
+
1747
+ var cache = result.cache;
1748
+ return result;
1749
+ }
1750
+
1751
+ var _memoizeCapped = memoizeCapped;
1752
+
1753
+ /** Used to match property names within property paths. */
1754
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1755
+
1756
+ /** Used to match backslashes in property paths. */
1757
+ var reEscapeChar = /\\(\\)?/g;
1758
+
1759
+ /**
1760
+ * Converts `string` to a property path array.
1761
+ *
1762
+ * @private
1763
+ * @param {string} string The string to convert.
1764
+ * @returns {Array} Returns the property path array.
1765
+ */
1766
+ var stringToPath = _memoizeCapped(function(string) {
1767
+ var result = [];
1768
+ if (string.charCodeAt(0) === 46 /* . */) {
1769
+ result.push('');
1770
+ }
1771
+ string.replace(rePropName, function(match, number, quote, subString) {
1772
+ result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
1773
+ });
1774
+ return result;
1775
+ });
1776
+
1777
+ var _stringToPath = stringToPath;
1778
+
1779
+ /**
1780
+ * A specialized version of `_.map` for arrays without support for iteratee
1781
+ * shorthands.
1782
+ *
1783
+ * @private
1784
+ * @param {Array} [array] The array to iterate over.
1785
+ * @param {Function} iteratee The function invoked per iteration.
1786
+ * @returns {Array} Returns the new mapped array.
1787
+ */
1788
+ function arrayMap(array, iteratee) {
1789
+ var index = -1,
1790
+ length = array == null ? 0 : array.length,
1791
+ result = Array(length);
1792
+
1793
+ while (++index < length) {
1794
+ result[index] = iteratee(array[index], index, array);
1795
+ }
1796
+ return result;
1797
+ }
1798
+
1799
+ var _arrayMap = arrayMap;
1800
+
1801
+ /** Used as references for various `Number` constants. */
1802
+ var INFINITY = 1 / 0;
1803
+
1804
+ /** Used to convert symbols to primitives and strings. */
1805
+ var symbolProto = _Symbol ? _Symbol.prototype : undefined,
1806
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
1807
+
1808
+ /**
1809
+ * The base implementation of `_.toString` which doesn't convert nullish
1810
+ * values to empty strings.
1811
+ *
1812
+ * @private
1813
+ * @param {*} value The value to process.
1814
+ * @returns {string} Returns the string.
1815
+ */
1816
+ function baseToString(value) {
1817
+ // Exit early for strings to avoid a performance hit in some environments.
1818
+ if (typeof value == 'string') {
1819
+ return value;
1820
+ }
1821
+ if (isArray_1(value)) {
1822
+ // Recursively convert values (susceptible to call stack limits).
1823
+ return _arrayMap(value, baseToString) + '';
1824
+ }
1825
+ if (isSymbol_1(value)) {
1826
+ return symbolToString ? symbolToString.call(value) : '';
1827
+ }
1828
+ var result = (value + '');
1829
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
1830
+ }
1831
+
1832
+ var _baseToString = baseToString;
1833
+
1834
+ /**
1835
+ * Converts `value` to a string. An empty string is returned for `null`
1836
+ * and `undefined` values. The sign of `-0` is preserved.
1837
+ *
1838
+ * @static
1839
+ * @memberOf _
1840
+ * @since 4.0.0
1841
+ * @category Lang
1842
+ * @param {*} value The value to convert.
1843
+ * @returns {string} Returns the converted string.
1844
+ * @example
1845
+ *
1846
+ * _.toString(null);
1847
+ * // => ''
1848
+ *
1849
+ * _.toString(-0);
1850
+ * // => '-0'
1851
+ *
1852
+ * _.toString([1, 2, 3]);
1853
+ * // => '1,2,3'
1854
+ */
1855
+ function toString(value) {
1856
+ return value == null ? '' : _baseToString(value);
1857
+ }
1858
+
1859
+ var toString_1 = toString;
1860
+
1861
+ /**
1862
+ * Casts `value` to a path array if it's not one.
1863
+ *
1864
+ * @private
1865
+ * @param {*} value The value to inspect.
1866
+ * @param {Object} [object] The object to query keys on.
1867
+ * @returns {Array} Returns the cast property path array.
1868
+ */
1869
+ function castPath(value, object) {
1870
+ if (isArray_1(value)) {
1871
+ return value;
1872
+ }
1873
+ return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
1874
+ }
1875
+
1876
+ var _castPath = castPath;
1877
+
1878
+ /** Used as references for various `Number` constants. */
1879
+ var INFINITY$1 = 1 / 0;
1880
+
1881
+ /**
1882
+ * Converts `value` to a string key if it's not a string or symbol.
1883
+ *
1884
+ * @private
1885
+ * @param {*} value The value to inspect.
1886
+ * @returns {string|symbol} Returns the key.
1887
+ */
1888
+ function toKey(value) {
1889
+ if (typeof value == 'string' || isSymbol_1(value)) {
1890
+ return value;
1891
+ }
1892
+ var result = (value + '');
1893
+ return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
1894
+ }
1895
+
1896
+ var _toKey = toKey;
1897
+
1898
+ /**
1899
+ * The base implementation of `_.get` without support for default values.
1900
+ *
1901
+ * @private
1902
+ * @param {Object} object The object to query.
1903
+ * @param {Array|string} path The path of the property to get.
1904
+ * @returns {*} Returns the resolved value.
1905
+ */
1906
+ function baseGet(object, path) {
1907
+ path = _castPath(path, object);
1908
+
1909
+ var index = 0,
1910
+ length = path.length;
1911
+
1912
+ while (object != null && index < length) {
1913
+ object = object[_toKey(path[index++])];
1914
+ }
1915
+ return (index && index == length) ? object : undefined;
1916
+ }
1917
+
1918
+ var _baseGet = baseGet;
1919
+
1920
+ /**
1921
+ * Gets the value at `path` of `object`. If the resolved value is
1922
+ * `undefined`, the `defaultValue` is returned in its place.
1923
+ *
1924
+ * @static
1925
+ * @memberOf _
1926
+ * @since 3.7.0
1927
+ * @category Object
1928
+ * @param {Object} object The object to query.
1929
+ * @param {Array|string} path The path of the property to get.
1930
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
1931
+ * @returns {*} Returns the resolved value.
1932
+ * @example
1933
+ *
1934
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1935
+ *
1936
+ * _.get(object, 'a[0].b.c');
1937
+ * // => 3
1938
+ *
1939
+ * _.get(object, ['a', '0', 'b', 'c']);
1940
+ * // => 3
1941
+ *
1942
+ * _.get(object, 'a.b.c', 'default');
1943
+ * // => 'default'
1944
+ */
1945
+ function get$1(object, path, defaultValue) {
1946
+ var result = object == null ? undefined : _baseGet(object, path);
1947
+ return result === undefined ? defaultValue : result;
1948
+ }
1949
+
1950
+ var get_1 = get$1;
1951
+
756
1952
  var DeckQueue = function (_React$Component) {
757
1953
  inherits(DeckQueue, _React$Component);
758
1954
 
@@ -797,7 +1993,6 @@ var DeckQueue = function (_React$Component) {
797
1993
 
798
1994
  var params = { from: from, to: to };
799
1995
  var queryUpdated = query.replace('$from', params.from).replace('$to', params.to);
800
- // const query = '*[_type == "article" && defined(title) && defined(thumbnail)][$from...$to] { title, summary, thumbnail { asset-> }, url }'
801
1996
 
802
1997
  if (_this.pointer && _this.pointerArray) {
803
1998
  var pointer = _this.pointer;
@@ -842,15 +2037,14 @@ var DeckQueue = function (_React$Component) {
842
2037
  var mode = variant && variant === 'right' ? 'row-reverse' : 'row';
843
2038
  var lgVar = Math.floor(12 / columns);
844
2039
 
845
- console.log(this.state.from, this.state.to);
846
-
847
2040
  return React__default.createElement(
848
2041
  Row,
849
2042
  null,
850
2043
  this.state.data && this.state.data.map(function (row, index) {
2044
+ var thumbnailURL = get_1(row, 'thumbnail.asset.url', _this2.props.defaultImage);
851
2045
  return React__default.createElement(
852
2046
  Col,
853
- { md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
2047
+ { key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
854
2048
  React__default.createElement(
855
2049
  Link,
856
2050
  { href: _this2.page + '/[url]', as: _this2.page + '/' + row.url.current },
@@ -866,7 +2060,7 @@ var DeckQueue = function (_React$Component) {
866
2060
  React__default.createElement(
867
2061
  Col,
868
2062
  { md: 12, lg: 4 },
869
- React__default.createElement(Card.Img, { variant: 'top', src: row.thumbnail.asset.url })
2063
+ React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL })
870
2064
  ),
871
2065
  React__default.createElement(
872
2066
  Col,
@@ -907,7 +2101,7 @@ var DeckQueue = function (_React$Component) {
907
2101
 
908
2102
 
909
2103
  return React__default.createElement(
910
- 'deck',
2104
+ 'div',
911
2105
  { className: 'contentDeck' },
912
2106
  autoScroll ? React__default.createElement(
913
2107
  InfiniteScroll,
@@ -979,7 +2173,8 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
979
2173
  var TaxonomyCard = function TaxonomyCard(props) {
980
2174
  var columns = props.columns,
981
2175
  variant = props.variant,
982
- data = props.dataRecord;
2176
+ data = props.dataRecord,
2177
+ defaultImage = props.defaultImage;
983
2178
 
984
2179
 
985
2180
  var mode = variant && variant === 'bottom' ? 'column-reverse' : 'column';
@@ -1001,6 +2196,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
1001
2196
  } else {
1002
2197
  lgVar = 6;
1003
2198
  }
2199
+ var thumbnailURL = get_1(row, 'thumbnail.asset.url', defaultImage);
1004
2200
 
1005
2201
  return React__default.createElement(
1006
2202
  Col,
@@ -1012,15 +2208,37 @@ var TaxonomyCard = function TaxonomyCard(props) {
1012
2208
  Card.Body,
1013
2209
  null,
1014
2210
  React__default.createElement(
1015
- Link,
1016
- { href: row.url, as: row.url },
2211
+ Row,
2212
+ null,
2213
+ thumbnailURL && React__default.createElement(
2214
+ Col,
2215
+ null,
2216
+ React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL })
2217
+ ),
1017
2218
  React__default.createElement(
1018
- 'a',
2219
+ Col,
1019
2220
  null,
1020
- React__default.createElement(
2221
+ row.url ? React__default.createElement(
2222
+ Link,
2223
+ { href: row.url, as: row.url },
2224
+ React__default.createElement(
2225
+ 'a',
2226
+ null,
2227
+ React__default.createElement(
2228
+ Card.Title,
2229
+ null,
2230
+ row.name
2231
+ )
2232
+ )
2233
+ ) : React__default.createElement(
1021
2234
  Card.Title,
1022
2235
  null,
1023
2236
  row.name
2237
+ ),
2238
+ React__default.createElement(
2239
+ Card.Text,
2240
+ null,
2241
+ row.summary
1024
2242
  )
1025
2243
  )
1026
2244
  )
@@ -1099,6 +2317,25 @@ var LeftNav = function LeftNav(props) {
1099
2317
  return false;
1100
2318
  };
1101
2319
 
2320
+ var renderListGroupItem = function renderListGroupItem(subRow) {
2321
+ if (checkUrlIsExternal(subRow.url)) {
2322
+ return React__default.createElement(
2323
+ 'a',
2324
+ { href: subRow.url },
2325
+ subRow.name
2326
+ );
2327
+ }
2328
+ return React__default.createElement(
2329
+ Link,
2330
+ { href: subRow.url || '#' },
2331
+ React__default.createElement(
2332
+ 'a',
2333
+ null,
2334
+ subRow.name
2335
+ )
2336
+ );
2337
+ };
2338
+
1102
2339
  return React__default.createElement(
1103
2340
  'section',
1104
2341
  null,
@@ -1119,15 +2356,7 @@ var LeftNav = function LeftNav(props) {
1119
2356
  React__default.createElement(
1120
2357
  ListGroup.Item,
1121
2358
  { as: 'li' },
1122
- React__default.createElement(
1123
- Link,
1124
- { href: subRow.url || '#' },
1125
- React__default.createElement(
1126
- 'a',
1127
- null,
1128
- subRow.name
1129
- )
1130
- )
2359
+ renderListGroupItem(subRow)
1131
2360
  )
1132
2361
  );
1133
2362
  } else {
@@ -1137,19 +2366,7 @@ var LeftNav = function LeftNav(props) {
1137
2366
  React__default.createElement(
1138
2367
  ListGroup.Item,
1139
2368
  { as: 'li' },
1140
- checkUrlIsExternal(subRow.url) ? React__default.createElement(
1141
- 'a',
1142
- { target: '_blank', href: subRow.url },
1143
- subRow.name
1144
- ) : React__default.createElement(
1145
- Link,
1146
- { href: subRow.url || '#' },
1147
- React__default.createElement(
1148
- 'a',
1149
- null,
1150
- subRow.name
1151
- )
1152
- )
2369
+ renderListGroupItem(subRow)
1153
2370
  )
1154
2371
  );
1155
2372
  }
@@ -1749,7 +2966,6 @@ var NavDvm = function NavDvm(props) {
1749
2966
  React__default.createElement(
1750
2967
  Container,
1751
2968
  null,
1752
- React__default.createElement(Nav, { className: 'justify-content-start leftHeader' }),
1753
2969
  React__default.createElement(
1754
2970
  Nav,
1755
2971
  { className: 'justify-content-center', style: { margin: '0 auto' } },
@@ -1766,8 +2982,7 @@ var NavDvm = function NavDvm(props) {
1766
2982
  )
1767
2983
  )
1768
2984
  )
1769
- ),
1770
- React__default.createElement(Nav, { className: 'justify-content-end rightHeader' })
2985
+ )
1771
2986
  )
1772
2987
  ),
1773
2988
  React__default.createElement(
@@ -1826,16 +3041,6 @@ var NavDvm = function NavDvm(props) {
1826
3041
  );
1827
3042
  };
1828
3043
 
1829
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
1830
-
1831
- function unwrapExports (x) {
1832
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
1833
- }
1834
-
1835
- function createCommonjsModule(fn, module) {
1836
- return module = { exports: {} }, fn(module, module.exports), module.exports;
1837
- }
1838
-
1839
3044
  var domain;
1840
3045
 
1841
3046
  // This constructor is used to store event handlers. Instantiating this is
@@ -3714,7 +4919,7 @@ var getYoutubeId = createCommonjsModule(function (module, exports) {
3714
4919
  }));
3715
4920
  });
3716
4921
 
3717
- var isArray = Array.isArray;
4922
+ var isArray$1 = Array.isArray;
3718
4923
  var keyList = Object.keys;
3719
4924
  var hasProp = Object.prototype.hasOwnProperty;
3720
4925
 
@@ -3722,8 +4927,8 @@ var fastDeepEqual = function equal(a, b) {
3722
4927
  if (a === b) return true;
3723
4928
 
3724
4929
  if (a && b && typeof a == 'object' && typeof b == 'object') {
3725
- var arrA = isArray(a)
3726
- , arrB = isArray(b)
4930
+ var arrA = isArray$1(a)
4931
+ , arrB = isArray$1(b)
3727
4932
  , i
3728
4933
  , length
3729
4934
  , key;
@@ -4805,7 +6010,7 @@ function format(f) {
4805
6010
  }
4806
6011
  });
4807
6012
  for (var x = args[i]; i < len; x = args[++i]) {
4808
- if (isNull(x) || !isObject(x)) {
6013
+ if (isNull(x) || !isObject$1(x)) {
4809
6014
  str += ' ' + x;
4810
6015
  } else {
4811
6016
  str += ' ' + inspect(x);
@@ -4956,7 +6161,7 @@ function formatValue(ctx, value, recurseTimes) {
4956
6161
  // Check that value is an object with an inspect function on it
4957
6162
  if (ctx.customInspect &&
4958
6163
  value &&
4959
- isFunction(value.inspect) &&
6164
+ isFunction$1(value.inspect) &&
4960
6165
  // Filter out the util module, it's inspect function is special
4961
6166
  value.inspect !== inspect &&
4962
6167
  // Also filter out any prototype objects using the circular check.
@@ -4991,7 +6196,7 @@ function formatValue(ctx, value, recurseTimes) {
4991
6196
 
4992
6197
  // Some type of object without properties can be shortcutted.
4993
6198
  if (keys.length === 0) {
4994
- if (isFunction(value)) {
6199
+ if (isFunction$1(value)) {
4995
6200
  var name = value.name ? ': ' + value.name : '';
4996
6201
  return ctx.stylize('[Function' + name + ']', 'special');
4997
6202
  }
@@ -5009,13 +6214,13 @@ function formatValue(ctx, value, recurseTimes) {
5009
6214
  var base = '', array = false, braces = ['{', '}'];
5010
6215
 
5011
6216
  // Make Array say that they are Array
5012
- if (isArray$1(value)) {
6217
+ if (isArray$2(value)) {
5013
6218
  array = true;
5014
6219
  braces = ['[', ']'];
5015
6220
  }
5016
6221
 
5017
6222
  // Make functions say that they are functions
5018
- if (isFunction(value)) {
6223
+ if (isFunction$1(value)) {
5019
6224
  var n = value.name ? ': ' + value.name : '';
5020
6225
  base = ' [Function' + n + ']';
5021
6226
  }
@@ -5091,7 +6296,7 @@ function formatError(value) {
5091
6296
  function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
5092
6297
  var output = [];
5093
6298
  for (var i = 0, l = value.length; i < l; ++i) {
5094
- if (hasOwnProperty(value, String(i))) {
6299
+ if (hasOwnProperty$4(value, String(i))) {
5095
6300
  output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
5096
6301
  String(i), true));
5097
6302
  } else {
@@ -5122,7 +6327,7 @@ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
5122
6327
  str = ctx.stylize('[Setter]', 'special');
5123
6328
  }
5124
6329
  }
5125
- if (!hasOwnProperty(visibleKeys, key)) {
6330
+ if (!hasOwnProperty$4(visibleKeys, key)) {
5126
6331
  name = '[' + key + ']';
5127
6332
  }
5128
6333
  if (!str) {
@@ -5188,7 +6393,7 @@ function reduceToSingleString(output, base, braces) {
5188
6393
 
5189
6394
  // NOTE: These type checking functions intentionally don't use `instanceof`
5190
6395
  // because it is fragile and can be easily faked with `Object.create()`.
5191
- function isArray$1(ar) {
6396
+ function isArray$2(ar) {
5192
6397
  return Array.isArray(ar);
5193
6398
  }
5194
6399
 
@@ -5212,7 +6417,7 @@ function isString(arg) {
5212
6417
  return typeof arg === 'string';
5213
6418
  }
5214
6419
 
5215
- function isSymbol(arg) {
6420
+ function isSymbol$1(arg) {
5216
6421
  return typeof arg === 'symbol';
5217
6422
  }
5218
6423
 
@@ -5221,23 +6426,23 @@ function isUndefined(arg) {
5221
6426
  }
5222
6427
 
5223
6428
  function isRegExp(re) {
5224
- return isObject(re) && objectToString(re) === '[object RegExp]';
6429
+ return isObject$1(re) && objectToString$1(re) === '[object RegExp]';
5225
6430
  }
5226
6431
 
5227
- function isObject(arg) {
6432
+ function isObject$1(arg) {
5228
6433
  return typeof arg === 'object' && arg !== null;
5229
6434
  }
5230
6435
 
5231
6436
  function isDate(d) {
5232
- return isObject(d) && objectToString(d) === '[object Date]';
6437
+ return isObject$1(d) && objectToString$1(d) === '[object Date]';
5233
6438
  }
5234
6439
 
5235
6440
  function isError(e) {
5236
- return isObject(e) &&
5237
- (objectToString(e) === '[object Error]' || e instanceof Error);
6441
+ return isObject$1(e) &&
6442
+ (objectToString$1(e) === '[object Error]' || e instanceof Error);
5238
6443
  }
5239
6444
 
5240
- function isFunction(arg) {
6445
+ function isFunction$1(arg) {
5241
6446
  return typeof arg === 'function';
5242
6447
  }
5243
6448
 
@@ -5254,7 +6459,7 @@ function isBuffer(maybeBuf) {
5254
6459
  return Buffer.isBuffer(maybeBuf);
5255
6460
  }
5256
6461
 
5257
- function objectToString(o) {
6462
+ function objectToString$1(o) {
5258
6463
  return Object.prototype.toString.call(o);
5259
6464
  }
5260
6465
 
@@ -5284,7 +6489,7 @@ function log() {
5284
6489
 
5285
6490
  function _extend(origin, add) {
5286
6491
  // Don't do anything if add isn't an object
5287
- if (!add || !isObject(add)) return origin;
6492
+ if (!add || !isObject$1(add)) return origin;
5288
6493
 
5289
6494
  var keys = Object.keys(add);
5290
6495
  var i = keys.length;
@@ -5293,7 +6498,7 @@ function _extend(origin, add) {
5293
6498
  }
5294
6499
  return origin;
5295
6500
  }
5296
- function hasOwnProperty(obj, prop) {
6501
+ function hasOwnProperty$4(obj, prop) {
5297
6502
  return Object.prototype.hasOwnProperty.call(obj, prop);
5298
6503
  }
5299
6504
 
@@ -5303,19 +6508,19 @@ var util = {
5303
6508
  log: log,
5304
6509
  isBuffer: isBuffer,
5305
6510
  isPrimitive: isPrimitive,
5306
- isFunction: isFunction,
6511
+ isFunction: isFunction$1,
5307
6512
  isError: isError,
5308
6513
  isDate: isDate,
5309
- isObject: isObject,
6514
+ isObject: isObject$1,
5310
6515
  isRegExp: isRegExp,
5311
6516
  isUndefined: isUndefined,
5312
- isSymbol: isSymbol,
6517
+ isSymbol: isSymbol$1,
5313
6518
  isString: isString,
5314
6519
  isNumber: isNumber,
5315
6520
  isNullOrUndefined: isNullOrUndefined,
5316
6521
  isNull: isNull,
5317
6522
  isBoolean: isBoolean,
5318
- isArray: isArray$1,
6523
+ isArray: isArray$2,
5319
6524
  inspect: inspect,
5320
6525
  deprecate: deprecate,
5321
6526
  format: format,
@@ -6363,44 +7568,6 @@ var getSerializers = function getSerializers(client) {
6363
7568
  };
6364
7569
  };
6365
7570
 
6366
- var searchResult = function searchResult(_ref) {
6367
- var searchResults = _ref.searchResults,
6368
- searchTerm = _ref.searchTerm;
6369
-
6370
- return React__default.createElement(
6371
- React__default.Fragment,
6372
- null,
6373
- React__default.createElement(
6374
- 'p',
6375
- null,
6376
- ' Results for "',
6377
- searchTerm,
6378
- '" '
6379
- ),
6380
- searchResults && searchResults.length > 0 ? searchResults.map(function (item, index) {
6381
- return React__default.createElement(
6382
- 'div',
6383
- { key: index, className: 'search-result-container' },
6384
- React__default.createElement(
6385
- 'h5',
6386
- null,
6387
- item.title
6388
- ),
6389
- React__default.createElement(
6390
- 'p',
6391
- null,
6392
- item.summary,
6393
- ' '
6394
- )
6395
- );
6396
- }) : React__default.createElement(
6397
- 'div',
6398
- null,
6399
- 'No results found'
6400
- )
6401
- );
6402
- };
6403
-
6404
7571
  exports.DeckContent = DeckContent;
6405
7572
  exports.DeckQueue = DeckQueue;
6406
7573
  exports.ThumbnailCard = ThumbnailCard;
@@ -6420,6 +7587,5 @@ exports.AD300x250 = AD300x250;
6420
7587
  exports.AD300x250x600 = AD300x250x600;
6421
7588
  exports.AD728x90 = AD728x90;
6422
7589
  exports.getSerializers = getSerializers;
6423
- exports.SearchResult = searchResult;
6424
7590
  exports.Search = Search$1;
6425
7591
  //# sourceMappingURL=index.js.map