@mjhls/mjh-framework 1.0.27 → 1.0.29

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
@@ -1,4 +1,4 @@
1
- import React__default, { Component, useState, createContext, createElement } from 'react';
1
+ import React__default, { Component, useState, createElement, createContext } from 'react';
2
2
  import Row from 'react-bootstrap/Row';
3
3
  import Col from 'react-bootstrap/Col';
4
4
  import Card from 'react-bootstrap/Card';
@@ -694,7 +694,7 @@ var DeckContent = function (_React$Component) {
694
694
 
695
695
 
696
696
  return React__default.createElement(
697
- 'deck',
697
+ 'div',
698
698
  { className: 'contentDeck' },
699
699
  autoScroll ? React__default.createElement(
700
700
  React__default.Fragment,
@@ -742,9 +742,1205 @@ var DeckContent = function (_React$Component) {
742
742
  )
743
743
  );
744
744
  }
745
- }]);
746
- return DeckContent;
747
- }(React__default.Component);
745
+ }]);
746
+ return DeckContent;
747
+ }(React__default.Component);
748
+
749
+ /**
750
+ * Checks if `value` is classified as an `Array` object.
751
+ *
752
+ * @static
753
+ * @memberOf _
754
+ * @since 0.1.0
755
+ * @category Lang
756
+ * @param {*} value The value to check.
757
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
758
+ * @example
759
+ *
760
+ * _.isArray([1, 2, 3]);
761
+ * // => true
762
+ *
763
+ * _.isArray(document.body.children);
764
+ * // => false
765
+ *
766
+ * _.isArray('abc');
767
+ * // => false
768
+ *
769
+ * _.isArray(_.noop);
770
+ * // => false
771
+ */
772
+ var isArray = Array.isArray;
773
+
774
+ var isArray_1 = isArray;
775
+
776
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
777
+
778
+ function unwrapExports (x) {
779
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
780
+ }
781
+
782
+ function createCommonjsModule(fn, module) {
783
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
784
+ }
785
+
786
+ /** Detect free variable `global` from Node.js. */
787
+ var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
788
+
789
+ var _freeGlobal = freeGlobal;
790
+
791
+ /** Detect free variable `self`. */
792
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
793
+
794
+ /** Used as a reference to the global object. */
795
+ var root = _freeGlobal || freeSelf || Function('return this')();
796
+
797
+ var _root = root;
798
+
799
+ /** Built-in value references. */
800
+ var Symbol$1 = _root.Symbol;
801
+
802
+ var _Symbol = Symbol$1;
803
+
804
+ /** Used for built-in method references. */
805
+ var objectProto = Object.prototype;
806
+
807
+ /** Used to check objects for own properties. */
808
+ var hasOwnProperty = objectProto.hasOwnProperty;
809
+
810
+ /**
811
+ * Used to resolve the
812
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
813
+ * of values.
814
+ */
815
+ var nativeObjectToString = objectProto.toString;
816
+
817
+ /** Built-in value references. */
818
+ var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
819
+
820
+ /**
821
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
822
+ *
823
+ * @private
824
+ * @param {*} value The value to query.
825
+ * @returns {string} Returns the raw `toStringTag`.
826
+ */
827
+ function getRawTag(value) {
828
+ var isOwn = hasOwnProperty.call(value, symToStringTag),
829
+ tag = value[symToStringTag];
830
+
831
+ try {
832
+ value[symToStringTag] = undefined;
833
+ } catch (e) {}
834
+
835
+ var result = nativeObjectToString.call(value);
836
+ {
837
+ if (isOwn) {
838
+ value[symToStringTag] = tag;
839
+ } else {
840
+ delete value[symToStringTag];
841
+ }
842
+ }
843
+ return result;
844
+ }
845
+
846
+ var _getRawTag = getRawTag;
847
+
848
+ /** Used for built-in method references. */
849
+ var objectProto$1 = Object.prototype;
850
+
851
+ /**
852
+ * Used to resolve the
853
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
854
+ * of values.
855
+ */
856
+ var nativeObjectToString$1 = objectProto$1.toString;
857
+
858
+ /**
859
+ * Converts `value` to a string using `Object.prototype.toString`.
860
+ *
861
+ * @private
862
+ * @param {*} value The value to convert.
863
+ * @returns {string} Returns the converted string.
864
+ */
865
+ function objectToString(value) {
866
+ return nativeObjectToString$1.call(value);
867
+ }
868
+
869
+ var _objectToString = objectToString;
870
+
871
+ /** `Object#toString` result references. */
872
+ var nullTag = '[object Null]',
873
+ undefinedTag = '[object Undefined]';
874
+
875
+ /** Built-in value references. */
876
+ var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
877
+
878
+ /**
879
+ * The base implementation of `getTag` without fallbacks for buggy environments.
880
+ *
881
+ * @private
882
+ * @param {*} value The value to query.
883
+ * @returns {string} Returns the `toStringTag`.
884
+ */
885
+ function baseGetTag(value) {
886
+ if (value == null) {
887
+ return value === undefined ? undefinedTag : nullTag;
888
+ }
889
+ return (symToStringTag$1 && symToStringTag$1 in Object(value))
890
+ ? _getRawTag(value)
891
+ : _objectToString(value);
892
+ }
893
+
894
+ var _baseGetTag = baseGetTag;
895
+
896
+ /**
897
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
898
+ * and has a `typeof` result of "object".
899
+ *
900
+ * @static
901
+ * @memberOf _
902
+ * @since 4.0.0
903
+ * @category Lang
904
+ * @param {*} value The value to check.
905
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
906
+ * @example
907
+ *
908
+ * _.isObjectLike({});
909
+ * // => true
910
+ *
911
+ * _.isObjectLike([1, 2, 3]);
912
+ * // => true
913
+ *
914
+ * _.isObjectLike(_.noop);
915
+ * // => false
916
+ *
917
+ * _.isObjectLike(null);
918
+ * // => false
919
+ */
920
+ function isObjectLike(value) {
921
+ return value != null && typeof value == 'object';
922
+ }
923
+
924
+ var isObjectLike_1 = isObjectLike;
925
+
926
+ /** `Object#toString` result references. */
927
+ var symbolTag = '[object Symbol]';
928
+
929
+ /**
930
+ * Checks if `value` is classified as a `Symbol` primitive or object.
931
+ *
932
+ * @static
933
+ * @memberOf _
934
+ * @since 4.0.0
935
+ * @category Lang
936
+ * @param {*} value The value to check.
937
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
938
+ * @example
939
+ *
940
+ * _.isSymbol(Symbol.iterator);
941
+ * // => true
942
+ *
943
+ * _.isSymbol('abc');
944
+ * // => false
945
+ */
946
+ function isSymbol(value) {
947
+ return typeof value == 'symbol' ||
948
+ (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
949
+ }
950
+
951
+ var isSymbol_1 = isSymbol;
952
+
953
+ /** Used to match property names within property paths. */
954
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
955
+ reIsPlainProp = /^\w*$/;
956
+
957
+ /**
958
+ * Checks if `value` is a property name and not a property path.
959
+ *
960
+ * @private
961
+ * @param {*} value The value to check.
962
+ * @param {Object} [object] The object to query keys on.
963
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
964
+ */
965
+ function isKey(value, object) {
966
+ if (isArray_1(value)) {
967
+ return false;
968
+ }
969
+ var type = typeof value;
970
+ if (type == 'number' || type == 'symbol' || type == 'boolean' ||
971
+ value == null || isSymbol_1(value)) {
972
+ return true;
973
+ }
974
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
975
+ (object != null && value in Object(object));
976
+ }
977
+
978
+ var _isKey = isKey;
979
+
980
+ /**
981
+ * Checks if `value` is the
982
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
983
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
984
+ *
985
+ * @static
986
+ * @memberOf _
987
+ * @since 0.1.0
988
+ * @category Lang
989
+ * @param {*} value The value to check.
990
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
991
+ * @example
992
+ *
993
+ * _.isObject({});
994
+ * // => true
995
+ *
996
+ * _.isObject([1, 2, 3]);
997
+ * // => true
998
+ *
999
+ * _.isObject(_.noop);
1000
+ * // => true
1001
+ *
1002
+ * _.isObject(null);
1003
+ * // => false
1004
+ */
1005
+ function isObject(value) {
1006
+ var type = typeof value;
1007
+ return value != null && (type == 'object' || type == 'function');
1008
+ }
1009
+
1010
+ var isObject_1 = isObject;
1011
+
1012
+ /** `Object#toString` result references. */
1013
+ var asyncTag = '[object AsyncFunction]',
1014
+ funcTag = '[object Function]',
1015
+ genTag = '[object GeneratorFunction]',
1016
+ proxyTag = '[object Proxy]';
1017
+
1018
+ /**
1019
+ * Checks if `value` is classified as a `Function` object.
1020
+ *
1021
+ * @static
1022
+ * @memberOf _
1023
+ * @since 0.1.0
1024
+ * @category Lang
1025
+ * @param {*} value The value to check.
1026
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
1027
+ * @example
1028
+ *
1029
+ * _.isFunction(_);
1030
+ * // => true
1031
+ *
1032
+ * _.isFunction(/abc/);
1033
+ * // => false
1034
+ */
1035
+ function isFunction(value) {
1036
+ if (!isObject_1(value)) {
1037
+ return false;
1038
+ }
1039
+ // The use of `Object#toString` avoids issues with the `typeof` operator
1040
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
1041
+ var tag = _baseGetTag(value);
1042
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
1043
+ }
1044
+
1045
+ var isFunction_1 = isFunction;
1046
+
1047
+ /** Used to detect overreaching core-js shims. */
1048
+ var coreJsData = _root['__core-js_shared__'];
1049
+
1050
+ var _coreJsData = coreJsData;
1051
+
1052
+ /** Used to detect methods masquerading as native. */
1053
+ var maskSrcKey = (function() {
1054
+ var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
1055
+ return uid ? ('Symbol(src)_1.' + uid) : '';
1056
+ }());
1057
+
1058
+ /**
1059
+ * Checks if `func` has its source masked.
1060
+ *
1061
+ * @private
1062
+ * @param {Function} func The function to check.
1063
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
1064
+ */
1065
+ function isMasked(func) {
1066
+ return !!maskSrcKey && (maskSrcKey in func);
1067
+ }
1068
+
1069
+ var _isMasked = isMasked;
1070
+
1071
+ /** Used for built-in method references. */
1072
+ var funcProto = Function.prototype;
1073
+
1074
+ /** Used to resolve the decompiled source of functions. */
1075
+ var funcToString = funcProto.toString;
1076
+
1077
+ /**
1078
+ * Converts `func` to its source code.
1079
+ *
1080
+ * @private
1081
+ * @param {Function} func The function to convert.
1082
+ * @returns {string} Returns the source code.
1083
+ */
1084
+ function toSource(func) {
1085
+ if (func != null) {
1086
+ try {
1087
+ return funcToString.call(func);
1088
+ } catch (e) {}
1089
+ try {
1090
+ return (func + '');
1091
+ } catch (e) {}
1092
+ }
1093
+ return '';
1094
+ }
1095
+
1096
+ var _toSource = toSource;
1097
+
1098
+ /**
1099
+ * Used to match `RegExp`
1100
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
1101
+ */
1102
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
1103
+
1104
+ /** Used to detect host constructors (Safari). */
1105
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
1106
+
1107
+ /** Used for built-in method references. */
1108
+ var funcProto$1 = Function.prototype,
1109
+ objectProto$2 = Object.prototype;
1110
+
1111
+ /** Used to resolve the decompiled source of functions. */
1112
+ var funcToString$1 = funcProto$1.toString;
1113
+
1114
+ /** Used to check objects for own properties. */
1115
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
1116
+
1117
+ /** Used to detect if a method is native. */
1118
+ var reIsNative = RegExp('^' +
1119
+ funcToString$1.call(hasOwnProperty$1).replace(reRegExpChar, '\\$&')
1120
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
1121
+ );
1122
+
1123
+ /**
1124
+ * The base implementation of `_.isNative` without bad shim checks.
1125
+ *
1126
+ * @private
1127
+ * @param {*} value The value to check.
1128
+ * @returns {boolean} Returns `true` if `value` is a native function,
1129
+ * else `false`.
1130
+ */
1131
+ function baseIsNative(value) {
1132
+ if (!isObject_1(value) || _isMasked(value)) {
1133
+ return false;
1134
+ }
1135
+ var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
1136
+ return pattern.test(_toSource(value));
1137
+ }
1138
+
1139
+ var _baseIsNative = baseIsNative;
1140
+
1141
+ /**
1142
+ * Gets the value at `key` of `object`.
1143
+ *
1144
+ * @private
1145
+ * @param {Object} [object] The object to query.
1146
+ * @param {string} key The key of the property to get.
1147
+ * @returns {*} Returns the property value.
1148
+ */
1149
+ function getValue(object, key) {
1150
+ return object == null ? undefined : object[key];
1151
+ }
1152
+
1153
+ var _getValue = getValue;
1154
+
1155
+ /**
1156
+ * Gets the native function at `key` of `object`.
1157
+ *
1158
+ * @private
1159
+ * @param {Object} object The object to query.
1160
+ * @param {string} key The key of the method to get.
1161
+ * @returns {*} Returns the function if it's native, else `undefined`.
1162
+ */
1163
+ function getNative(object, key) {
1164
+ var value = _getValue(object, key);
1165
+ return _baseIsNative(value) ? value : undefined;
1166
+ }
1167
+
1168
+ var _getNative = getNative;
1169
+
1170
+ /* Built-in method references that are verified to be native. */
1171
+ var nativeCreate = _getNative(Object, 'create');
1172
+
1173
+ var _nativeCreate = nativeCreate;
1174
+
1175
+ /**
1176
+ * Removes all key-value entries from the hash.
1177
+ *
1178
+ * @private
1179
+ * @name clear
1180
+ * @memberOf Hash
1181
+ */
1182
+ function hashClear() {
1183
+ this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
1184
+ this.size = 0;
1185
+ }
1186
+
1187
+ var _hashClear = hashClear;
1188
+
1189
+ /**
1190
+ * Removes `key` and its value from the hash.
1191
+ *
1192
+ * @private
1193
+ * @name delete
1194
+ * @memberOf Hash
1195
+ * @param {Object} hash The hash to modify.
1196
+ * @param {string} key The key of the value to remove.
1197
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1198
+ */
1199
+ function hashDelete(key) {
1200
+ var result = this.has(key) && delete this.__data__[key];
1201
+ this.size -= result ? 1 : 0;
1202
+ return result;
1203
+ }
1204
+
1205
+ var _hashDelete = hashDelete;
1206
+
1207
+ /** Used to stand-in for `undefined` hash values. */
1208
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
1209
+
1210
+ /** Used for built-in method references. */
1211
+ var objectProto$3 = Object.prototype;
1212
+
1213
+ /** Used to check objects for own properties. */
1214
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1215
+
1216
+ /**
1217
+ * Gets the hash value for `key`.
1218
+ *
1219
+ * @private
1220
+ * @name get
1221
+ * @memberOf Hash
1222
+ * @param {string} key The key of the value to get.
1223
+ * @returns {*} Returns the entry value.
1224
+ */
1225
+ function hashGet(key) {
1226
+ var data = this.__data__;
1227
+ if (_nativeCreate) {
1228
+ var result = data[key];
1229
+ return result === HASH_UNDEFINED ? undefined : result;
1230
+ }
1231
+ return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
1232
+ }
1233
+
1234
+ var _hashGet = hashGet;
1235
+
1236
+ /** Used for built-in method references. */
1237
+ var objectProto$4 = Object.prototype;
1238
+
1239
+ /** Used to check objects for own properties. */
1240
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1241
+
1242
+ /**
1243
+ * Checks if a hash value for `key` exists.
1244
+ *
1245
+ * @private
1246
+ * @name has
1247
+ * @memberOf Hash
1248
+ * @param {string} key The key of the entry to check.
1249
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1250
+ */
1251
+ function hashHas(key) {
1252
+ var data = this.__data__;
1253
+ return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$3.call(data, key);
1254
+ }
1255
+
1256
+ var _hashHas = hashHas;
1257
+
1258
+ /** Used to stand-in for `undefined` hash values. */
1259
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1260
+
1261
+ /**
1262
+ * Sets the hash `key` to `value`.
1263
+ *
1264
+ * @private
1265
+ * @name set
1266
+ * @memberOf Hash
1267
+ * @param {string} key The key of the value to set.
1268
+ * @param {*} value The value to set.
1269
+ * @returns {Object} Returns the hash instance.
1270
+ */
1271
+ function hashSet(key, value) {
1272
+ var data = this.__data__;
1273
+ this.size += this.has(key) ? 0 : 1;
1274
+ data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
1275
+ return this;
1276
+ }
1277
+
1278
+ var _hashSet = hashSet;
1279
+
1280
+ /**
1281
+ * Creates a hash object.
1282
+ *
1283
+ * @private
1284
+ * @constructor
1285
+ * @param {Array} [entries] The key-value pairs to cache.
1286
+ */
1287
+ function Hash(entries) {
1288
+ var index = -1,
1289
+ length = entries == null ? 0 : entries.length;
1290
+
1291
+ this.clear();
1292
+ while (++index < length) {
1293
+ var entry = entries[index];
1294
+ this.set(entry[0], entry[1]);
1295
+ }
1296
+ }
1297
+
1298
+ // Add methods to `Hash`.
1299
+ Hash.prototype.clear = _hashClear;
1300
+ Hash.prototype['delete'] = _hashDelete;
1301
+ Hash.prototype.get = _hashGet;
1302
+ Hash.prototype.has = _hashHas;
1303
+ Hash.prototype.set = _hashSet;
1304
+
1305
+ var _Hash = Hash;
1306
+
1307
+ /**
1308
+ * Removes all key-value entries from the list cache.
1309
+ *
1310
+ * @private
1311
+ * @name clear
1312
+ * @memberOf ListCache
1313
+ */
1314
+ function listCacheClear() {
1315
+ this.__data__ = [];
1316
+ this.size = 0;
1317
+ }
1318
+
1319
+ var _listCacheClear = listCacheClear;
1320
+
1321
+ /**
1322
+ * Performs a
1323
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1324
+ * comparison between two values to determine if they are equivalent.
1325
+ *
1326
+ * @static
1327
+ * @memberOf _
1328
+ * @since 4.0.0
1329
+ * @category Lang
1330
+ * @param {*} value The value to compare.
1331
+ * @param {*} other The other value to compare.
1332
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1333
+ * @example
1334
+ *
1335
+ * var object = { 'a': 1 };
1336
+ * var other = { 'a': 1 };
1337
+ *
1338
+ * _.eq(object, object);
1339
+ * // => true
1340
+ *
1341
+ * _.eq(object, other);
1342
+ * // => false
1343
+ *
1344
+ * _.eq('a', 'a');
1345
+ * // => true
1346
+ *
1347
+ * _.eq('a', Object('a'));
1348
+ * // => false
1349
+ *
1350
+ * _.eq(NaN, NaN);
1351
+ * // => true
1352
+ */
1353
+ function eq(value, other) {
1354
+ return value === other || (value !== value && other !== other);
1355
+ }
1356
+
1357
+ var eq_1 = eq;
1358
+
1359
+ /**
1360
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
1361
+ *
1362
+ * @private
1363
+ * @param {Array} array The array to inspect.
1364
+ * @param {*} key The key to search for.
1365
+ * @returns {number} Returns the index of the matched value, else `-1`.
1366
+ */
1367
+ function assocIndexOf(array, key) {
1368
+ var length = array.length;
1369
+ while (length--) {
1370
+ if (eq_1(array[length][0], key)) {
1371
+ return length;
1372
+ }
1373
+ }
1374
+ return -1;
1375
+ }
1376
+
1377
+ var _assocIndexOf = assocIndexOf;
1378
+
1379
+ /** Used for built-in method references. */
1380
+ var arrayProto = Array.prototype;
1381
+
1382
+ /** Built-in value references. */
1383
+ var splice = arrayProto.splice;
1384
+
1385
+ /**
1386
+ * Removes `key` and its value from the list cache.
1387
+ *
1388
+ * @private
1389
+ * @name delete
1390
+ * @memberOf ListCache
1391
+ * @param {string} key The key of the value to remove.
1392
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1393
+ */
1394
+ function listCacheDelete(key) {
1395
+ var data = this.__data__,
1396
+ index = _assocIndexOf(data, key);
1397
+
1398
+ if (index < 0) {
1399
+ return false;
1400
+ }
1401
+ var lastIndex = data.length - 1;
1402
+ if (index == lastIndex) {
1403
+ data.pop();
1404
+ } else {
1405
+ splice.call(data, index, 1);
1406
+ }
1407
+ --this.size;
1408
+ return true;
1409
+ }
1410
+
1411
+ var _listCacheDelete = listCacheDelete;
1412
+
1413
+ /**
1414
+ * Gets the list cache value for `key`.
1415
+ *
1416
+ * @private
1417
+ * @name get
1418
+ * @memberOf ListCache
1419
+ * @param {string} key The key of the value to get.
1420
+ * @returns {*} Returns the entry value.
1421
+ */
1422
+ function listCacheGet(key) {
1423
+ var data = this.__data__,
1424
+ index = _assocIndexOf(data, key);
1425
+
1426
+ return index < 0 ? undefined : data[index][1];
1427
+ }
1428
+
1429
+ var _listCacheGet = listCacheGet;
1430
+
1431
+ /**
1432
+ * Checks if a list cache value for `key` exists.
1433
+ *
1434
+ * @private
1435
+ * @name has
1436
+ * @memberOf ListCache
1437
+ * @param {string} key The key of the entry to check.
1438
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1439
+ */
1440
+ function listCacheHas(key) {
1441
+ return _assocIndexOf(this.__data__, key) > -1;
1442
+ }
1443
+
1444
+ var _listCacheHas = listCacheHas;
1445
+
1446
+ /**
1447
+ * Sets the list cache `key` to `value`.
1448
+ *
1449
+ * @private
1450
+ * @name set
1451
+ * @memberOf ListCache
1452
+ * @param {string} key The key of the value to set.
1453
+ * @param {*} value The value to set.
1454
+ * @returns {Object} Returns the list cache instance.
1455
+ */
1456
+ function listCacheSet(key, value) {
1457
+ var data = this.__data__,
1458
+ index = _assocIndexOf(data, key);
1459
+
1460
+ if (index < 0) {
1461
+ ++this.size;
1462
+ data.push([key, value]);
1463
+ } else {
1464
+ data[index][1] = value;
1465
+ }
1466
+ return this;
1467
+ }
1468
+
1469
+ var _listCacheSet = listCacheSet;
1470
+
1471
+ /**
1472
+ * Creates an list cache object.
1473
+ *
1474
+ * @private
1475
+ * @constructor
1476
+ * @param {Array} [entries] The key-value pairs to cache.
1477
+ */
1478
+ function ListCache(entries) {
1479
+ var index = -1,
1480
+ length = entries == null ? 0 : entries.length;
1481
+
1482
+ this.clear();
1483
+ while (++index < length) {
1484
+ var entry = entries[index];
1485
+ this.set(entry[0], entry[1]);
1486
+ }
1487
+ }
1488
+
1489
+ // Add methods to `ListCache`.
1490
+ ListCache.prototype.clear = _listCacheClear;
1491
+ ListCache.prototype['delete'] = _listCacheDelete;
1492
+ ListCache.prototype.get = _listCacheGet;
1493
+ ListCache.prototype.has = _listCacheHas;
1494
+ ListCache.prototype.set = _listCacheSet;
1495
+
1496
+ var _ListCache = ListCache;
1497
+
1498
+ /* Built-in method references that are verified to be native. */
1499
+ var Map = _getNative(_root, 'Map');
1500
+
1501
+ var _Map = Map;
1502
+
1503
+ /**
1504
+ * Removes all key-value entries from the map.
1505
+ *
1506
+ * @private
1507
+ * @name clear
1508
+ * @memberOf MapCache
1509
+ */
1510
+ function mapCacheClear() {
1511
+ this.size = 0;
1512
+ this.__data__ = {
1513
+ 'hash': new _Hash,
1514
+ 'map': new (_Map || _ListCache),
1515
+ 'string': new _Hash
1516
+ };
1517
+ }
1518
+
1519
+ var _mapCacheClear = mapCacheClear;
1520
+
1521
+ /**
1522
+ * Checks if `value` is suitable for use as unique object key.
1523
+ *
1524
+ * @private
1525
+ * @param {*} value The value to check.
1526
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1527
+ */
1528
+ function isKeyable(value) {
1529
+ var type = typeof value;
1530
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1531
+ ? (value !== '__proto__')
1532
+ : (value === null);
1533
+ }
1534
+
1535
+ var _isKeyable = isKeyable;
1536
+
1537
+ /**
1538
+ * Gets the data for `map`.
1539
+ *
1540
+ * @private
1541
+ * @param {Object} map The map to query.
1542
+ * @param {string} key The reference key.
1543
+ * @returns {*} Returns the map data.
1544
+ */
1545
+ function getMapData(map, key) {
1546
+ var data = map.__data__;
1547
+ return _isKeyable(key)
1548
+ ? data[typeof key == 'string' ? 'string' : 'hash']
1549
+ : data.map;
1550
+ }
1551
+
1552
+ var _getMapData = getMapData;
1553
+
1554
+ /**
1555
+ * Removes `key` and its value from the map.
1556
+ *
1557
+ * @private
1558
+ * @name delete
1559
+ * @memberOf MapCache
1560
+ * @param {string} key The key of the value to remove.
1561
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1562
+ */
1563
+ function mapCacheDelete(key) {
1564
+ var result = _getMapData(this, key)['delete'](key);
1565
+ this.size -= result ? 1 : 0;
1566
+ return result;
1567
+ }
1568
+
1569
+ var _mapCacheDelete = mapCacheDelete;
1570
+
1571
+ /**
1572
+ * Gets the map value for `key`.
1573
+ *
1574
+ * @private
1575
+ * @name get
1576
+ * @memberOf MapCache
1577
+ * @param {string} key The key of the value to get.
1578
+ * @returns {*} Returns the entry value.
1579
+ */
1580
+ function mapCacheGet(key) {
1581
+ return _getMapData(this, key).get(key);
1582
+ }
1583
+
1584
+ var _mapCacheGet = mapCacheGet;
1585
+
1586
+ /**
1587
+ * Checks if a map value for `key` exists.
1588
+ *
1589
+ * @private
1590
+ * @name has
1591
+ * @memberOf MapCache
1592
+ * @param {string} key The key of the entry to check.
1593
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1594
+ */
1595
+ function mapCacheHas(key) {
1596
+ return _getMapData(this, key).has(key);
1597
+ }
1598
+
1599
+ var _mapCacheHas = mapCacheHas;
1600
+
1601
+ /**
1602
+ * Sets the map `key` to `value`.
1603
+ *
1604
+ * @private
1605
+ * @name set
1606
+ * @memberOf MapCache
1607
+ * @param {string} key The key of the value to set.
1608
+ * @param {*} value The value to set.
1609
+ * @returns {Object} Returns the map cache instance.
1610
+ */
1611
+ function mapCacheSet(key, value) {
1612
+ var data = _getMapData(this, key),
1613
+ size = data.size;
1614
+
1615
+ data.set(key, value);
1616
+ this.size += data.size == size ? 0 : 1;
1617
+ return this;
1618
+ }
1619
+
1620
+ var _mapCacheSet = mapCacheSet;
1621
+
1622
+ /**
1623
+ * Creates a map cache object to store key-value pairs.
1624
+ *
1625
+ * @private
1626
+ * @constructor
1627
+ * @param {Array} [entries] The key-value pairs to cache.
1628
+ */
1629
+ function MapCache(entries) {
1630
+ var index = -1,
1631
+ length = entries == null ? 0 : entries.length;
1632
+
1633
+ this.clear();
1634
+ while (++index < length) {
1635
+ var entry = entries[index];
1636
+ this.set(entry[0], entry[1]);
1637
+ }
1638
+ }
1639
+
1640
+ // Add methods to `MapCache`.
1641
+ MapCache.prototype.clear = _mapCacheClear;
1642
+ MapCache.prototype['delete'] = _mapCacheDelete;
1643
+ MapCache.prototype.get = _mapCacheGet;
1644
+ MapCache.prototype.has = _mapCacheHas;
1645
+ MapCache.prototype.set = _mapCacheSet;
1646
+
1647
+ var _MapCache = MapCache;
1648
+
1649
+ /** Error message constants. */
1650
+ var FUNC_ERROR_TEXT = 'Expected a function';
1651
+
1652
+ /**
1653
+ * Creates a function that memoizes the result of `func`. If `resolver` is
1654
+ * provided, it determines the cache key for storing the result based on the
1655
+ * arguments provided to the memoized function. By default, the first argument
1656
+ * provided to the memoized function is used as the map cache key. The `func`
1657
+ * is invoked with the `this` binding of the memoized function.
1658
+ *
1659
+ * **Note:** The cache is exposed as the `cache` property on the memoized
1660
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
1661
+ * constructor with one whose instances implement the
1662
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1663
+ * method interface of `clear`, `delete`, `get`, `has`, and `set`.
1664
+ *
1665
+ * @static
1666
+ * @memberOf _
1667
+ * @since 0.1.0
1668
+ * @category Function
1669
+ * @param {Function} func The function to have its output memoized.
1670
+ * @param {Function} [resolver] The function to resolve the cache key.
1671
+ * @returns {Function} Returns the new memoized function.
1672
+ * @example
1673
+ *
1674
+ * var object = { 'a': 1, 'b': 2 };
1675
+ * var other = { 'c': 3, 'd': 4 };
1676
+ *
1677
+ * var values = _.memoize(_.values);
1678
+ * values(object);
1679
+ * // => [1, 2]
1680
+ *
1681
+ * values(other);
1682
+ * // => [3, 4]
1683
+ *
1684
+ * object.a = 2;
1685
+ * values(object);
1686
+ * // => [1, 2]
1687
+ *
1688
+ * // Modify the result cache.
1689
+ * values.cache.set(object, ['a', 'b']);
1690
+ * values(object);
1691
+ * // => ['a', 'b']
1692
+ *
1693
+ * // Replace `_.memoize.Cache`.
1694
+ * _.memoize.Cache = WeakMap;
1695
+ */
1696
+ function memoize(func, resolver) {
1697
+ if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
1698
+ throw new TypeError(FUNC_ERROR_TEXT);
1699
+ }
1700
+ var memoized = function() {
1701
+ var args = arguments,
1702
+ key = resolver ? resolver.apply(this, args) : args[0],
1703
+ cache = memoized.cache;
1704
+
1705
+ if (cache.has(key)) {
1706
+ return cache.get(key);
1707
+ }
1708
+ var result = func.apply(this, args);
1709
+ memoized.cache = cache.set(key, result) || cache;
1710
+ return result;
1711
+ };
1712
+ memoized.cache = new (memoize.Cache || _MapCache);
1713
+ return memoized;
1714
+ }
1715
+
1716
+ // Expose `MapCache`.
1717
+ memoize.Cache = _MapCache;
1718
+
1719
+ var memoize_1 = memoize;
1720
+
1721
+ /** Used as the maximum memoize cache size. */
1722
+ var MAX_MEMOIZE_SIZE = 500;
1723
+
1724
+ /**
1725
+ * A specialized version of `_.memoize` which clears the memoized function's
1726
+ * cache when it exceeds `MAX_MEMOIZE_SIZE`.
1727
+ *
1728
+ * @private
1729
+ * @param {Function} func The function to have its output memoized.
1730
+ * @returns {Function} Returns the new memoized function.
1731
+ */
1732
+ function memoizeCapped(func) {
1733
+ var result = memoize_1(func, function(key) {
1734
+ if (cache.size === MAX_MEMOIZE_SIZE) {
1735
+ cache.clear();
1736
+ }
1737
+ return key;
1738
+ });
1739
+
1740
+ var cache = result.cache;
1741
+ return result;
1742
+ }
1743
+
1744
+ var _memoizeCapped = memoizeCapped;
1745
+
1746
+ /** Used to match property names within property paths. */
1747
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1748
+
1749
+ /** Used to match backslashes in property paths. */
1750
+ var reEscapeChar = /\\(\\)?/g;
1751
+
1752
+ /**
1753
+ * Converts `string` to a property path array.
1754
+ *
1755
+ * @private
1756
+ * @param {string} string The string to convert.
1757
+ * @returns {Array} Returns the property path array.
1758
+ */
1759
+ var stringToPath = _memoizeCapped(function(string) {
1760
+ var result = [];
1761
+ if (string.charCodeAt(0) === 46 /* . */) {
1762
+ result.push('');
1763
+ }
1764
+ string.replace(rePropName, function(match, number, quote, subString) {
1765
+ result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
1766
+ });
1767
+ return result;
1768
+ });
1769
+
1770
+ var _stringToPath = stringToPath;
1771
+
1772
+ /**
1773
+ * A specialized version of `_.map` for arrays without support for iteratee
1774
+ * shorthands.
1775
+ *
1776
+ * @private
1777
+ * @param {Array} [array] The array to iterate over.
1778
+ * @param {Function} iteratee The function invoked per iteration.
1779
+ * @returns {Array} Returns the new mapped array.
1780
+ */
1781
+ function arrayMap(array, iteratee) {
1782
+ var index = -1,
1783
+ length = array == null ? 0 : array.length,
1784
+ result = Array(length);
1785
+
1786
+ while (++index < length) {
1787
+ result[index] = iteratee(array[index], index, array);
1788
+ }
1789
+ return result;
1790
+ }
1791
+
1792
+ var _arrayMap = arrayMap;
1793
+
1794
+ /** Used as references for various `Number` constants. */
1795
+ var INFINITY = 1 / 0;
1796
+
1797
+ /** Used to convert symbols to primitives and strings. */
1798
+ var symbolProto = _Symbol ? _Symbol.prototype : undefined,
1799
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
1800
+
1801
+ /**
1802
+ * The base implementation of `_.toString` which doesn't convert nullish
1803
+ * values to empty strings.
1804
+ *
1805
+ * @private
1806
+ * @param {*} value The value to process.
1807
+ * @returns {string} Returns the string.
1808
+ */
1809
+ function baseToString(value) {
1810
+ // Exit early for strings to avoid a performance hit in some environments.
1811
+ if (typeof value == 'string') {
1812
+ return value;
1813
+ }
1814
+ if (isArray_1(value)) {
1815
+ // Recursively convert values (susceptible to call stack limits).
1816
+ return _arrayMap(value, baseToString) + '';
1817
+ }
1818
+ if (isSymbol_1(value)) {
1819
+ return symbolToString ? symbolToString.call(value) : '';
1820
+ }
1821
+ var result = (value + '');
1822
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
1823
+ }
1824
+
1825
+ var _baseToString = baseToString;
1826
+
1827
+ /**
1828
+ * Converts `value` to a string. An empty string is returned for `null`
1829
+ * and `undefined` values. The sign of `-0` is preserved.
1830
+ *
1831
+ * @static
1832
+ * @memberOf _
1833
+ * @since 4.0.0
1834
+ * @category Lang
1835
+ * @param {*} value The value to convert.
1836
+ * @returns {string} Returns the converted string.
1837
+ * @example
1838
+ *
1839
+ * _.toString(null);
1840
+ * // => ''
1841
+ *
1842
+ * _.toString(-0);
1843
+ * // => '-0'
1844
+ *
1845
+ * _.toString([1, 2, 3]);
1846
+ * // => '1,2,3'
1847
+ */
1848
+ function toString(value) {
1849
+ return value == null ? '' : _baseToString(value);
1850
+ }
1851
+
1852
+ var toString_1 = toString;
1853
+
1854
+ /**
1855
+ * Casts `value` to a path array if it's not one.
1856
+ *
1857
+ * @private
1858
+ * @param {*} value The value to inspect.
1859
+ * @param {Object} [object] The object to query keys on.
1860
+ * @returns {Array} Returns the cast property path array.
1861
+ */
1862
+ function castPath(value, object) {
1863
+ if (isArray_1(value)) {
1864
+ return value;
1865
+ }
1866
+ return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
1867
+ }
1868
+
1869
+ var _castPath = castPath;
1870
+
1871
+ /** Used as references for various `Number` constants. */
1872
+ var INFINITY$1 = 1 / 0;
1873
+
1874
+ /**
1875
+ * Converts `value` to a string key if it's not a string or symbol.
1876
+ *
1877
+ * @private
1878
+ * @param {*} value The value to inspect.
1879
+ * @returns {string|symbol} Returns the key.
1880
+ */
1881
+ function toKey(value) {
1882
+ if (typeof value == 'string' || isSymbol_1(value)) {
1883
+ return value;
1884
+ }
1885
+ var result = (value + '');
1886
+ return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
1887
+ }
1888
+
1889
+ var _toKey = toKey;
1890
+
1891
+ /**
1892
+ * The base implementation of `_.get` without support for default values.
1893
+ *
1894
+ * @private
1895
+ * @param {Object} object The object to query.
1896
+ * @param {Array|string} path The path of the property to get.
1897
+ * @returns {*} Returns the resolved value.
1898
+ */
1899
+ function baseGet(object, path) {
1900
+ path = _castPath(path, object);
1901
+
1902
+ var index = 0,
1903
+ length = path.length;
1904
+
1905
+ while (object != null && index < length) {
1906
+ object = object[_toKey(path[index++])];
1907
+ }
1908
+ return (index && index == length) ? object : undefined;
1909
+ }
1910
+
1911
+ var _baseGet = baseGet;
1912
+
1913
+ /**
1914
+ * Gets the value at `path` of `object`. If the resolved value is
1915
+ * `undefined`, the `defaultValue` is returned in its place.
1916
+ *
1917
+ * @static
1918
+ * @memberOf _
1919
+ * @since 3.7.0
1920
+ * @category Object
1921
+ * @param {Object} object The object to query.
1922
+ * @param {Array|string} path The path of the property to get.
1923
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
1924
+ * @returns {*} Returns the resolved value.
1925
+ * @example
1926
+ *
1927
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1928
+ *
1929
+ * _.get(object, 'a[0].b.c');
1930
+ * // => 3
1931
+ *
1932
+ * _.get(object, ['a', '0', 'b', 'c']);
1933
+ * // => 3
1934
+ *
1935
+ * _.get(object, 'a.b.c', 'default');
1936
+ * // => 'default'
1937
+ */
1938
+ function get$1(object, path, defaultValue) {
1939
+ var result = object == null ? undefined : _baseGet(object, path);
1940
+ return result === undefined ? defaultValue : result;
1941
+ }
1942
+
1943
+ var get_1 = get$1;
748
1944
 
749
1945
  var DeckQueue = function (_React$Component) {
750
1946
  inherits(DeckQueue, _React$Component);
@@ -790,7 +1986,6 @@ var DeckQueue = function (_React$Component) {
790
1986
 
791
1987
  var params = { from: from, to: to };
792
1988
  var queryUpdated = query.replace('$from', params.from).replace('$to', params.to);
793
- // const query = '*[_type == "article" && defined(title) && defined(thumbnail)][$from...$to] { title, summary, thumbnail { asset-> }, url }'
794
1989
 
795
1990
  if (_this.pointer && _this.pointerArray) {
796
1991
  var pointer = _this.pointer;
@@ -835,12 +2030,11 @@ var DeckQueue = function (_React$Component) {
835
2030
  var mode = variant && variant === 'right' ? 'row-reverse' : 'row';
836
2031
  var lgVar = Math.floor(12 / columns);
837
2032
 
838
- console.log(this.state.from, this.state.to);
839
-
840
2033
  return React__default.createElement(
841
2034
  Row,
842
2035
  null,
843
2036
  this.state.data && this.state.data.map(function (row, index) {
2037
+ var thumbnailURL = get_1(row, 'thumbnail.asset.url', _this2.props.defaultImage);
844
2038
  return React__default.createElement(
845
2039
  Col,
846
2040
  { md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
@@ -859,7 +2053,7 @@ var DeckQueue = function (_React$Component) {
859
2053
  React__default.createElement(
860
2054
  Col,
861
2055
  { md: 12, lg: 4 },
862
- React__default.createElement(Card.Img, { variant: 'top', src: row.thumbnail.asset.url })
2056
+ React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL })
863
2057
  ),
864
2058
  React__default.createElement(
865
2059
  Col,
@@ -900,7 +2094,7 @@ var DeckQueue = function (_React$Component) {
900
2094
 
901
2095
 
902
2096
  return React__default.createElement(
903
- 'deck',
2097
+ 'div',
904
2098
  { className: 'contentDeck' },
905
2099
  autoScroll ? React__default.createElement(
906
2100
  InfiniteScroll,
@@ -972,7 +2166,8 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
972
2166
  var TaxonomyCard = function TaxonomyCard(props) {
973
2167
  var columns = props.columns,
974
2168
  variant = props.variant,
975
- data = props.dataRecord;
2169
+ data = props.dataRecord,
2170
+ defaultImage = props.defaultImage;
976
2171
 
977
2172
 
978
2173
  var mode = variant && variant === 'bottom' ? 'column-reverse' : 'column';
@@ -994,6 +2189,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
994
2189
  } else {
995
2190
  lgVar = 6;
996
2191
  }
2192
+ var thumbnailURL = get_1(row, 'thumbnail.asset.url', defaultImage);
997
2193
 
998
2194
  return React__default.createElement(
999
2195
  Col,
@@ -1005,15 +2201,37 @@ var TaxonomyCard = function TaxonomyCard(props) {
1005
2201
  Card.Body,
1006
2202
  null,
1007
2203
  React__default.createElement(
1008
- Link,
1009
- { href: row.url, as: row.url },
2204
+ Row,
2205
+ null,
2206
+ thumbnailURL && React__default.createElement(
2207
+ Col,
2208
+ null,
2209
+ React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL })
2210
+ ),
1010
2211
  React__default.createElement(
1011
- 'a',
2212
+ Col,
1012
2213
  null,
1013
- React__default.createElement(
2214
+ row.url ? React__default.createElement(
2215
+ Link,
2216
+ { href: row.url, as: row.url },
2217
+ React__default.createElement(
2218
+ 'a',
2219
+ null,
2220
+ React__default.createElement(
2221
+ Card.Title,
2222
+ null,
2223
+ row.name
2224
+ )
2225
+ )
2226
+ ) : React__default.createElement(
1014
2227
  Card.Title,
1015
2228
  null,
1016
2229
  row.name
2230
+ ),
2231
+ React__default.createElement(
2232
+ Card.Text,
2233
+ null,
2234
+ row.summary
1017
2235
  )
1018
2236
  )
1019
2237
  )
@@ -1102,7 +2320,7 @@ var LeftNav = function LeftNav(props) {
1102
2320
  row.subQuery && row.subQuery.map(function (subRow, subIndex) {
1103
2321
  if (subIndex === 0) {
1104
2322
  return React__default.createElement(
1105
- 'enclosed',
2323
+ React__default.Fragment,
1106
2324
  { key: subIndex },
1107
2325
  React__default.createElement(
1108
2326
  ListGroup.Item,
@@ -1125,7 +2343,7 @@ var LeftNav = function LeftNav(props) {
1125
2343
  );
1126
2344
  } else {
1127
2345
  return React__default.createElement(
1128
- 'enclosed',
2346
+ React__default.Fragment,
1129
2347
  { key: subIndex },
1130
2348
  React__default.createElement(
1131
2349
  ListGroup.Item,
@@ -1730,8 +2948,7 @@ var Search$1 = withRouter(Search);
1730
2948
 
1731
2949
  var NavDvm = function NavDvm(props) {
1732
2950
  var logo = props.logo,
1733
- dataObject = props.dataObject,
1734
- subNavHeads = props.subNavHeads;
2951
+ dataObject = props.dataObject;
1735
2952
 
1736
2953
 
1737
2954
  return React__default.createElement(
@@ -1739,53 +2956,34 @@ var NavDvm = function NavDvm(props) {
1739
2956
  null,
1740
2957
  React__default.createElement(
1741
2958
  Navbar,
1742
- { expand: 'md', className: 'header-container', style: { background: '#151F5D' } },
2959
+ { expand: 'md' },
1743
2960
  React__default.createElement(
1744
2961
  Container,
1745
- { className: 'd-flex px-0' },
2962
+ null,
2963
+ React__default.createElement(Nav, { className: 'justify-content-start leftHeader' }),
1746
2964
  React__default.createElement(
1747
- 'div',
1748
- { className: 'd-flex' },
2965
+ Nav,
2966
+ { className: 'justify-content-center', style: { margin: '0 auto' } },
1749
2967
  React__default.createElement(
1750
- Link,
1751
- { href: '/' },
2968
+ Nav.Item,
2969
+ null,
1752
2970
  React__default.createElement(
1753
- 'a',
1754
- null,
1755
- React__default.createElement('img', { src: logo, className: 'h-100', style: { width: '120px' } })
2971
+ Link,
2972
+ { href: '/' },
2973
+ React__default.createElement(
2974
+ 'a',
2975
+ null,
2976
+ React__default.createElement('img', { src: logo, style: { height: '55px' } })
2977
+ )
1756
2978
  )
1757
- ),
1758
- React__default.createElement(
1759
- 'div',
1760
- { className: ' ml-4 d-flex align-items-center' },
1761
- React__default.createElement(Search$1, { btnText: 'Search' })
1762
2979
  )
1763
2980
  ),
1764
- React__default.createElement(
1765
- 'div',
1766
- { className: 'login-right-wrapper w-50 my-3', style: { background: 'linear-gradient(to right,#104676,#01ABB5)' } },
1767
- React__default.createElement(
1768
- 'div',
1769
- { className: 'row' },
1770
- subNavHeads && subNavHeads.map(function (item, index) {
1771
- return React__default.createElement(
1772
- 'div',
1773
- { key: index, className: 'col-3 py-1', style: { fontSize: '12px' } },
1774
- React__default.createElement(
1775
- 'span',
1776
- { style: { color: '#fff' } },
1777
- item.name,
1778
- ' '
1779
- )
1780
- );
1781
- })
1782
- )
1783
- )
2981
+ React__default.createElement(Nav, { className: 'justify-content-end rightHeader' })
1784
2982
  )
1785
2983
  ),
1786
2984
  React__default.createElement(
1787
2985
  Navbar,
1788
- { variant: 'dark', className: 'dvm-nav p-0', style: { background: 'linear-gradient(to right,#FFB71C,#ED4303,#EB3300)' } },
2986
+ { variant: 'dark', expand: 'lg', bg: 'primary' },
1789
2987
  React__default.createElement(
1790
2988
  Container,
1791
2989
  null,
@@ -1807,10 +3005,10 @@ var NavDvm = function NavDvm(props) {
1807
3005
  } else {
1808
3006
  return React__default.createElement(
1809
3007
  Link,
1810
- { href: ddRow.url },
3008
+ { key: subIndex, href: ddRow.url || '#' },
1811
3009
  React__default.createElement(
1812
3010
  'a',
1813
- { key: subIndex, className: 'dropdown-item' },
3011
+ { className: 'dropdown-item' },
1814
3012
  ddRow.name
1815
3013
  )
1816
3014
  );
@@ -1818,34 +3016,27 @@ var NavDvm = function NavDvm(props) {
1818
3016
  })
1819
3017
  );
1820
3018
  } else {
3019
+ // Link default
3020
+ // return <Nav.Link href={row.url} key={index}>{row.name}</Nav.Link>
1821
3021
  return React__default.createElement(
1822
3022
  Link,
1823
- { href: row.url },
3023
+ { key: index, href: row.url },
1824
3024
  React__default.createElement(
1825
3025
  'a',
1826
- { key: index, className: 'nav-link' },
3026
+ { className: 'nav-link' },
1827
3027
  row.name
1828
3028
  )
1829
3029
  );
1830
3030
  }
1831
3031
  })
1832
- )
3032
+ ),
3033
+ React__default.createElement(Search$1, null)
1833
3034
  )
1834
3035
  )
1835
3036
  )
1836
3037
  );
1837
3038
  };
1838
3039
 
1839
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
1840
-
1841
- function unwrapExports (x) {
1842
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
1843
- }
1844
-
1845
- function createCommonjsModule(fn, module) {
1846
- return module = { exports: {} }, fn(module, module.exports), module.exports;
1847
- }
1848
-
1849
3040
  var domain;
1850
3041
 
1851
3042
  // This constructor is used to store event handlers. Instantiating this is
@@ -3636,20 +4827,23 @@ var FigureComponent = function FigureComponent(_ref) {
3636
4827
  var caption = _ref.caption,
3637
4828
  asset = _ref.asset;
3638
4829
 
3639
- return React__default.createElement(
3640
- 'div',
3641
- { style: { textAlign: 'center', marginTop: '1em', marginBottom: '1em' } },
3642
- React__default.createElement(
3643
- Figure,
3644
- null,
3645
- React__default.createElement(Figure.Image, { alt: asset ? asset.originalFilename : '', src: asset.url ? asset.url : '/placeholder.jpg' }),
3646
- caption && React__default.createElement(
3647
- Figure.Caption,
4830
+ if (asset && asset.url) {
4831
+ return React__default.createElement(
4832
+ 'div',
4833
+ { style: { textAlign: 'center', marginTop: '1em', marginBottom: '1em' } },
4834
+ React__default.createElement(
4835
+ Figure,
3648
4836
  null,
3649
- caption
4837
+ React__default.createElement(Figure.Image, { alt: asset ? asset.originalFilename : '', src: asset.url }),
4838
+ caption && React__default.createElement(
4839
+ Figure.Caption,
4840
+ null,
4841
+ caption
4842
+ )
3650
4843
  )
3651
- )
3652
- );
4844
+ );
4845
+ }
4846
+ return null;
3653
4847
  };
3654
4848
 
3655
4849
  var Slideshow = function Slideshow(_ref) {
@@ -3721,7 +4915,7 @@ var getYoutubeId = createCommonjsModule(function (module, exports) {
3721
4915
  }));
3722
4916
  });
3723
4917
 
3724
- var isArray = Array.isArray;
4918
+ var isArray$1 = Array.isArray;
3725
4919
  var keyList = Object.keys;
3726
4920
  var hasProp = Object.prototype.hasOwnProperty;
3727
4921
 
@@ -3729,8 +4923,8 @@ var fastDeepEqual = function equal(a, b) {
3729
4923
  if (a === b) return true;
3730
4924
 
3731
4925
  if (a && b && typeof a == 'object' && typeof b == 'object') {
3732
- var arrA = isArray(a)
3733
- , arrB = isArray(b)
4926
+ var arrA = isArray$1(a)
4927
+ , arrB = isArray$1(b)
3734
4928
  , i
3735
4929
  , length
3736
4930
  , key;
@@ -4812,7 +6006,7 @@ function format(f) {
4812
6006
  }
4813
6007
  });
4814
6008
  for (var x = args[i]; i < len; x = args[++i]) {
4815
- if (isNull(x) || !isObject(x)) {
6009
+ if (isNull(x) || !isObject$1(x)) {
4816
6010
  str += ' ' + x;
4817
6011
  } else {
4818
6012
  str += ' ' + inspect(x);
@@ -4963,7 +6157,7 @@ function formatValue(ctx, value, recurseTimes) {
4963
6157
  // Check that value is an object with an inspect function on it
4964
6158
  if (ctx.customInspect &&
4965
6159
  value &&
4966
- isFunction(value.inspect) &&
6160
+ isFunction$1(value.inspect) &&
4967
6161
  // Filter out the util module, it's inspect function is special
4968
6162
  value.inspect !== inspect &&
4969
6163
  // Also filter out any prototype objects using the circular check.
@@ -4998,7 +6192,7 @@ function formatValue(ctx, value, recurseTimes) {
4998
6192
 
4999
6193
  // Some type of object without properties can be shortcutted.
5000
6194
  if (keys.length === 0) {
5001
- if (isFunction(value)) {
6195
+ if (isFunction$1(value)) {
5002
6196
  var name = value.name ? ': ' + value.name : '';
5003
6197
  return ctx.stylize('[Function' + name + ']', 'special');
5004
6198
  }
@@ -5016,13 +6210,13 @@ function formatValue(ctx, value, recurseTimes) {
5016
6210
  var base = '', array = false, braces = ['{', '}'];
5017
6211
 
5018
6212
  // Make Array say that they are Array
5019
- if (isArray$1(value)) {
6213
+ if (isArray$2(value)) {
5020
6214
  array = true;
5021
6215
  braces = ['[', ']'];
5022
6216
  }
5023
6217
 
5024
6218
  // Make functions say that they are functions
5025
- if (isFunction(value)) {
6219
+ if (isFunction$1(value)) {
5026
6220
  var n = value.name ? ': ' + value.name : '';
5027
6221
  base = ' [Function' + n + ']';
5028
6222
  }
@@ -5098,7 +6292,7 @@ function formatError(value) {
5098
6292
  function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
5099
6293
  var output = [];
5100
6294
  for (var i = 0, l = value.length; i < l; ++i) {
5101
- if (hasOwnProperty(value, String(i))) {
6295
+ if (hasOwnProperty$4(value, String(i))) {
5102
6296
  output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
5103
6297
  String(i), true));
5104
6298
  } else {
@@ -5129,7 +6323,7 @@ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
5129
6323
  str = ctx.stylize('[Setter]', 'special');
5130
6324
  }
5131
6325
  }
5132
- if (!hasOwnProperty(visibleKeys, key)) {
6326
+ if (!hasOwnProperty$4(visibleKeys, key)) {
5133
6327
  name = '[' + key + ']';
5134
6328
  }
5135
6329
  if (!str) {
@@ -5195,7 +6389,7 @@ function reduceToSingleString(output, base, braces) {
5195
6389
 
5196
6390
  // NOTE: These type checking functions intentionally don't use `instanceof`
5197
6391
  // because it is fragile and can be easily faked with `Object.create()`.
5198
- function isArray$1(ar) {
6392
+ function isArray$2(ar) {
5199
6393
  return Array.isArray(ar);
5200
6394
  }
5201
6395
 
@@ -5219,7 +6413,7 @@ function isString(arg) {
5219
6413
  return typeof arg === 'string';
5220
6414
  }
5221
6415
 
5222
- function isSymbol(arg) {
6416
+ function isSymbol$1(arg) {
5223
6417
  return typeof arg === 'symbol';
5224
6418
  }
5225
6419
 
@@ -5228,23 +6422,23 @@ function isUndefined(arg) {
5228
6422
  }
5229
6423
 
5230
6424
  function isRegExp(re) {
5231
- return isObject(re) && objectToString(re) === '[object RegExp]';
6425
+ return isObject$1(re) && objectToString$1(re) === '[object RegExp]';
5232
6426
  }
5233
6427
 
5234
- function isObject(arg) {
6428
+ function isObject$1(arg) {
5235
6429
  return typeof arg === 'object' && arg !== null;
5236
6430
  }
5237
6431
 
5238
6432
  function isDate(d) {
5239
- return isObject(d) && objectToString(d) === '[object Date]';
6433
+ return isObject$1(d) && objectToString$1(d) === '[object Date]';
5240
6434
  }
5241
6435
 
5242
6436
  function isError(e) {
5243
- return isObject(e) &&
5244
- (objectToString(e) === '[object Error]' || e instanceof Error);
6437
+ return isObject$1(e) &&
6438
+ (objectToString$1(e) === '[object Error]' || e instanceof Error);
5245
6439
  }
5246
6440
 
5247
- function isFunction(arg) {
6441
+ function isFunction$1(arg) {
5248
6442
  return typeof arg === 'function';
5249
6443
  }
5250
6444
 
@@ -5261,7 +6455,7 @@ function isBuffer(maybeBuf) {
5261
6455
  return Buffer.isBuffer(maybeBuf);
5262
6456
  }
5263
6457
 
5264
- function objectToString(o) {
6458
+ function objectToString$1(o) {
5265
6459
  return Object.prototype.toString.call(o);
5266
6460
  }
5267
6461
 
@@ -5291,7 +6485,7 @@ function log() {
5291
6485
 
5292
6486
  function _extend(origin, add) {
5293
6487
  // Don't do anything if add isn't an object
5294
- if (!add || !isObject(add)) return origin;
6488
+ if (!add || !isObject$1(add)) return origin;
5295
6489
 
5296
6490
  var keys = Object.keys(add);
5297
6491
  var i = keys.length;
@@ -5300,7 +6494,7 @@ function _extend(origin, add) {
5300
6494
  }
5301
6495
  return origin;
5302
6496
  }
5303
- function hasOwnProperty(obj, prop) {
6497
+ function hasOwnProperty$4(obj, prop) {
5304
6498
  return Object.prototype.hasOwnProperty.call(obj, prop);
5305
6499
  }
5306
6500
 
@@ -5310,19 +6504,19 @@ var util = {
5310
6504
  log: log,
5311
6505
  isBuffer: isBuffer,
5312
6506
  isPrimitive: isPrimitive,
5313
- isFunction: isFunction,
6507
+ isFunction: isFunction$1,
5314
6508
  isError: isError,
5315
6509
  isDate: isDate,
5316
- isObject: isObject,
6510
+ isObject: isObject$1,
5317
6511
  isRegExp: isRegExp,
5318
6512
  isUndefined: isUndefined,
5319
- isSymbol: isSymbol,
6513
+ isSymbol: isSymbol$1,
5320
6514
  isString: isString,
5321
6515
  isNumber: isNumber,
5322
6516
  isNullOrUndefined: isNullOrUndefined,
5323
6517
  isNull: isNull,
5324
6518
  isBoolean: isBoolean,
5325
- isArray: isArray$1,
6519
+ isArray: isArray$2,
5326
6520
  inspect: inspect,
5327
6521
  deprecate: deprecate,
5328
6522
  format: format,
@@ -6370,43 +7564,5 @@ var getSerializers = function getSerializers(client) {
6370
7564
  };
6371
7565
  };
6372
7566
 
6373
- var searchResult = function searchResult(_ref) {
6374
- var searchResults = _ref.searchResults,
6375
- searchTerm = _ref.searchTerm;
6376
-
6377
- return React__default.createElement(
6378
- React__default.Fragment,
6379
- null,
6380
- React__default.createElement(
6381
- 'p',
6382
- null,
6383
- ' Results for "',
6384
- searchTerm,
6385
- '" '
6386
- ),
6387
- searchResults && searchResults.length > 0 ? searchResults.map(function (item, index) {
6388
- return React__default.createElement(
6389
- 'div',
6390
- { key: index, className: 'search-result-container' },
6391
- React__default.createElement(
6392
- 'h5',
6393
- null,
6394
- item.title
6395
- ),
6396
- React__default.createElement(
6397
- 'p',
6398
- null,
6399
- item.summary,
6400
- ' '
6401
- )
6402
- );
6403
- }) : React__default.createElement(
6404
- 'div',
6405
- null,
6406
- 'No results found'
6407
- )
6408
- );
6409
- };
6410
-
6411
- export { DeckContent, DeckQueue, ThumbnailCard, TaxonomyCard, Column1, Column2, Column3, Header, LeftNav, AccordionPanel, NavMagazine, NavNative, NavNormal, NavDvm, TemplateNormal, AD300x250, AD300x250x600, AD728x90, getSerializers, searchResult as SearchResult, Search$1 as Search };
7567
+ export { DeckContent, DeckQueue, ThumbnailCard, TaxonomyCard, Column1, Column2, Column3, Header, LeftNav, AccordionPanel, NavMagazine, NavNative, NavNormal, NavDvm, TemplateNormal, AD300x250, AD300x250x600, AD728x90, getSerializers, Search$1 as Search };
6412
7568
  //# sourceMappingURL=index.es.js.map