@ably/ui 8.10.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/core/Code/component.css +3 -3
  2. package/core/Code/component.js +1 -1
  3. package/core/Code.jsx +353 -7273
  4. package/core/CompanyAutocomplete/component.js +1 -1
  5. package/core/ConnectStateWrapper.jsx +13 -4
  6. package/core/ContactFooter.jsx +13 -119
  7. package/core/CookieMessage.jsx +21 -293
  8. package/core/CustomerLogos.jsx +9 -114
  9. package/core/DropdownMenu.jsx +10 -116
  10. package/core/FeaturedLink.jsx +10 -116
  11. package/core/Flash.jsx +29 -1483
  12. package/core/Footer.jsx +17 -123
  13. package/core/Icon.jsx +9 -114
  14. package/core/Loader.jsx +9 -114
  15. package/core/Logo.jsx +13 -118
  16. package/core/Meganav/component.js +1 -2
  17. package/core/Meganav.jsx +2844 -10189
  18. package/core/MeganavBlogPostsList/component.js +1 -1
  19. package/core/MeganavBlogPostsList.jsx +11 -118
  20. package/core/MeganavContentCompany.jsx +31 -124
  21. package/core/MeganavContentDevelopers.jsx +10 -116
  22. package/core/MeganavContentPlatform.jsx +11 -118
  23. package/core/MeganavContentUseCases.jsx +10 -116
  24. package/core/MeganavControl.jsx +10 -116
  25. package/core/MeganavControlMobileDropdown/component.js +1 -1
  26. package/core/MeganavControlMobileDropdown.jsx +10 -116
  27. package/core/MeganavControlMobilePanelClose.jsx +10 -116
  28. package/core/MeganavControlMobilePanelOpen.jsx +10 -116
  29. package/core/MeganavItemsDesktop.jsx +13 -121
  30. package/core/MeganavItemsMobile.jsx +18 -132
  31. package/core/MeganavItemsSignedIn.jsx +16 -129
  32. package/core/MeganavSearch.jsx +13 -123
  33. package/core/MeganavSearchAutocomplete/component.js +1 -2
  34. package/core/MeganavSearchPanel.jsx +12 -121
  35. package/core/MeganavSearchSuggestions.jsx +11 -118
  36. package/core/Notice/component.js +1 -2
  37. package/core/Notice.jsx +62 -2136
  38. package/core/SignOutLink.jsx +9 -114
  39. package/core/Slider/component.js +1 -1
  40. package/core/Slider.jsx +25 -582
  41. package/core/Uptime.jsx +15 -118
  42. package/core/scripts.js +1 -1
  43. package/package.json +4 -4
  44. package/src/core/Code/component.css +1 -67
  45. package/src/core/Code/component.js +11 -46
  46. package/src/core/Code/component.jsx +7 -3
  47. package/src/core/FeatureFooter/component.html.erb +1 -1
  48. package/src/core/utils/syntax-highlighter-registry.js +61 -0
  49. package/src/core/utils/syntax-highlighter.css +69 -0
  50. package/src/core/utils/syntax-highlighter.js +98 -0
  51. package/core/Meganav/component.js.LICENSE.txt +0 -7
  52. package/core/MeganavSearchAutocomplete/component.js.LICENSE.txt +0 -7
  53. package/core/Notice/component.js.LICENSE.txt +0 -9
package/core/Slider.jsx CHANGED
@@ -1,26 +1,26 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("react"));
3
+ module.exports = factory(require("react"), require("prop-types"), require("lodash.throttle"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define([], factory);
5
+ define([, , ], factory);
6
6
  else {
7
- var a = typeof exports === 'object' ? factory(require("react")) : factory(root[undefined]);
7
+ var a = typeof exports === 'object' ? factory(require("react"), require("prop-types"), require("lodash.throttle")) : factory(root[undefined], root[undefined], root[undefined]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__, __WEBPACK_EXTERNAL_MODULE__3474__, __WEBPACK_EXTERNAL_MODULE__2040__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
12
13
  /******/ var __webpack_modules__ = ({
13
14
 
14
15
  /***/ 9008:
15
16
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16
17
 
17
- "use strict";
18
18
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
19
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
20
20
  /* harmony export */ });
21
21
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
22
22
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
23
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5697);
23
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3474);
24
24
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
25
25
  var _excluded = ["name", "size", "color", "additionalCSS"];
26
26
 
@@ -64,567 +64,23 @@ Icon.propTypes = {
64
64
 
65
65
  /***/ }),
66
66
 
67
- /***/ 3096:
68
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
69
-
70
- /**
71
- * lodash (Custom Build) <https://lodash.com/>
72
- * Build: `lodash modularize exports="npm" -o ./`
73
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
74
- * Released under MIT license <https://lodash.com/license>
75
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
76
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
77
- */
78
-
79
- /** Used as the `TypeError` message for "Functions" methods. */
80
- var FUNC_ERROR_TEXT = 'Expected a function';
81
-
82
- /** Used as references for various `Number` constants. */
83
- var NAN = 0 / 0;
84
-
85
- /** `Object#toString` result references. */
86
- var symbolTag = '[object Symbol]';
87
-
88
- /** Used to match leading and trailing whitespace. */
89
- var reTrim = /^\s+|\s+$/g;
90
-
91
- /** Used to detect bad signed hexadecimal string values. */
92
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
93
-
94
- /** Used to detect binary string values. */
95
- var reIsBinary = /^0b[01]+$/i;
96
-
97
- /** Used to detect octal string values. */
98
- var reIsOctal = /^0o[0-7]+$/i;
99
-
100
- /** Built-in method references without a dependency on `root`. */
101
- var freeParseInt = parseInt;
102
-
103
- /** Detect free variable `global` from Node.js. */
104
- var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
105
-
106
- /** Detect free variable `self`. */
107
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
108
-
109
- /** Used as a reference to the global object. */
110
- var root = freeGlobal || freeSelf || Function('return this')();
111
-
112
- /** Used for built-in method references. */
113
- var objectProto = Object.prototype;
114
-
115
- /**
116
- * Used to resolve the
117
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
118
- * of values.
119
- */
120
- var objectToString = objectProto.toString;
121
-
122
- /* Built-in method references for those with the same name as other `lodash` methods. */
123
- var nativeMax = Math.max,
124
- nativeMin = Math.min;
125
-
126
- /**
127
- * Gets the timestamp of the number of milliseconds that have elapsed since
128
- * the Unix epoch (1 January 1970 00:00:00 UTC).
129
- *
130
- * @static
131
- * @memberOf _
132
- * @since 2.4.0
133
- * @category Date
134
- * @returns {number} Returns the timestamp.
135
- * @example
136
- *
137
- * _.defer(function(stamp) {
138
- * console.log(_.now() - stamp);
139
- * }, _.now());
140
- * // => Logs the number of milliseconds it took for the deferred invocation.
141
- */
142
- var now = function() {
143
- return root.Date.now();
144
- };
145
-
146
- /**
147
- * Creates a debounced function that delays invoking `func` until after `wait`
148
- * milliseconds have elapsed since the last time the debounced function was
149
- * invoked. The debounced function comes with a `cancel` method to cancel
150
- * delayed `func` invocations and a `flush` method to immediately invoke them.
151
- * Provide `options` to indicate whether `func` should be invoked on the
152
- * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
153
- * with the last arguments provided to the debounced function. Subsequent
154
- * calls to the debounced function return the result of the last `func`
155
- * invocation.
156
- *
157
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
158
- * invoked on the trailing edge of the timeout only if the debounced function
159
- * is invoked more than once during the `wait` timeout.
160
- *
161
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
162
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
163
- *
164
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
165
- * for details over the differences between `_.debounce` and `_.throttle`.
166
- *
167
- * @static
168
- * @memberOf _
169
- * @since 0.1.0
170
- * @category Function
171
- * @param {Function} func The function to debounce.
172
- * @param {number} [wait=0] The number of milliseconds to delay.
173
- * @param {Object} [options={}] The options object.
174
- * @param {boolean} [options.leading=false]
175
- * Specify invoking on the leading edge of the timeout.
176
- * @param {number} [options.maxWait]
177
- * The maximum time `func` is allowed to be delayed before it's invoked.
178
- * @param {boolean} [options.trailing=true]
179
- * Specify invoking on the trailing edge of the timeout.
180
- * @returns {Function} Returns the new debounced function.
181
- * @example
182
- *
183
- * // Avoid costly calculations while the window size is in flux.
184
- * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
185
- *
186
- * // Invoke `sendMail` when clicked, debouncing subsequent calls.
187
- * jQuery(element).on('click', _.debounce(sendMail, 300, {
188
- * 'leading': true,
189
- * 'trailing': false
190
- * }));
191
- *
192
- * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
193
- * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
194
- * var source = new EventSource('/stream');
195
- * jQuery(source).on('message', debounced);
196
- *
197
- * // Cancel the trailing debounced invocation.
198
- * jQuery(window).on('popstate', debounced.cancel);
199
- */
200
- function debounce(func, wait, options) {
201
- var lastArgs,
202
- lastThis,
203
- maxWait,
204
- result,
205
- timerId,
206
- lastCallTime,
207
- lastInvokeTime = 0,
208
- leading = false,
209
- maxing = false,
210
- trailing = true;
211
-
212
- if (typeof func != 'function') {
213
- throw new TypeError(FUNC_ERROR_TEXT);
214
- }
215
- wait = toNumber(wait) || 0;
216
- if (isObject(options)) {
217
- leading = !!options.leading;
218
- maxing = 'maxWait' in options;
219
- maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
220
- trailing = 'trailing' in options ? !!options.trailing : trailing;
221
- }
222
-
223
- function invokeFunc(time) {
224
- var args = lastArgs,
225
- thisArg = lastThis;
226
-
227
- lastArgs = lastThis = undefined;
228
- lastInvokeTime = time;
229
- result = func.apply(thisArg, args);
230
- return result;
231
- }
232
-
233
- function leadingEdge(time) {
234
- // Reset any `maxWait` timer.
235
- lastInvokeTime = time;
236
- // Start the timer for the trailing edge.
237
- timerId = setTimeout(timerExpired, wait);
238
- // Invoke the leading edge.
239
- return leading ? invokeFunc(time) : result;
240
- }
241
-
242
- function remainingWait(time) {
243
- var timeSinceLastCall = time - lastCallTime,
244
- timeSinceLastInvoke = time - lastInvokeTime,
245
- result = wait - timeSinceLastCall;
246
-
247
- return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
248
- }
249
-
250
- function shouldInvoke(time) {
251
- var timeSinceLastCall = time - lastCallTime,
252
- timeSinceLastInvoke = time - lastInvokeTime;
253
-
254
- // Either this is the first call, activity has stopped and we're at the
255
- // trailing edge, the system time has gone backwards and we're treating
256
- // it as the trailing edge, or we've hit the `maxWait` limit.
257
- return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
258
- (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
259
- }
260
-
261
- function timerExpired() {
262
- var time = now();
263
- if (shouldInvoke(time)) {
264
- return trailingEdge(time);
265
- }
266
- // Restart the timer.
267
- timerId = setTimeout(timerExpired, remainingWait(time));
268
- }
269
-
270
- function trailingEdge(time) {
271
- timerId = undefined;
272
-
273
- // Only invoke if we have `lastArgs` which means `func` has been
274
- // debounced at least once.
275
- if (trailing && lastArgs) {
276
- return invokeFunc(time);
277
- }
278
- lastArgs = lastThis = undefined;
279
- return result;
280
- }
281
-
282
- function cancel() {
283
- if (timerId !== undefined) {
284
- clearTimeout(timerId);
285
- }
286
- lastInvokeTime = 0;
287
- lastArgs = lastCallTime = lastThis = timerId = undefined;
288
- }
289
-
290
- function flush() {
291
- return timerId === undefined ? result : trailingEdge(now());
292
- }
293
-
294
- function debounced() {
295
- var time = now(),
296
- isInvoking = shouldInvoke(time);
297
-
298
- lastArgs = arguments;
299
- lastThis = this;
300
- lastCallTime = time;
301
-
302
- if (isInvoking) {
303
- if (timerId === undefined) {
304
- return leadingEdge(lastCallTime);
305
- }
306
- if (maxing) {
307
- // Handle invocations in a tight loop.
308
- timerId = setTimeout(timerExpired, wait);
309
- return invokeFunc(lastCallTime);
310
- }
311
- }
312
- if (timerId === undefined) {
313
- timerId = setTimeout(timerExpired, wait);
314
- }
315
- return result;
316
- }
317
- debounced.cancel = cancel;
318
- debounced.flush = flush;
319
- return debounced;
320
- }
321
-
322
- /**
323
- * Creates a throttled function that only invokes `func` at most once per
324
- * every `wait` milliseconds. The throttled function comes with a `cancel`
325
- * method to cancel delayed `func` invocations and a `flush` method to
326
- * immediately invoke them. Provide `options` to indicate whether `func`
327
- * should be invoked on the leading and/or trailing edge of the `wait`
328
- * timeout. The `func` is invoked with the last arguments provided to the
329
- * throttled function. Subsequent calls to the throttled function return the
330
- * result of the last `func` invocation.
331
- *
332
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
333
- * invoked on the trailing edge of the timeout only if the throttled function
334
- * is invoked more than once during the `wait` timeout.
335
- *
336
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
337
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
338
- *
339
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
340
- * for details over the differences between `_.throttle` and `_.debounce`.
341
- *
342
- * @static
343
- * @memberOf _
344
- * @since 0.1.0
345
- * @category Function
346
- * @param {Function} func The function to throttle.
347
- * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
348
- * @param {Object} [options={}] The options object.
349
- * @param {boolean} [options.leading=true]
350
- * Specify invoking on the leading edge of the timeout.
351
- * @param {boolean} [options.trailing=true]
352
- * Specify invoking on the trailing edge of the timeout.
353
- * @returns {Function} Returns the new throttled function.
354
- * @example
355
- *
356
- * // Avoid excessively updating the position while scrolling.
357
- * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
358
- *
359
- * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
360
- * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
361
- * jQuery(element).on('click', throttled);
362
- *
363
- * // Cancel the trailing throttled invocation.
364
- * jQuery(window).on('popstate', throttled.cancel);
365
- */
366
- function throttle(func, wait, options) {
367
- var leading = true,
368
- trailing = true;
369
-
370
- if (typeof func != 'function') {
371
- throw new TypeError(FUNC_ERROR_TEXT);
372
- }
373
- if (isObject(options)) {
374
- leading = 'leading' in options ? !!options.leading : leading;
375
- trailing = 'trailing' in options ? !!options.trailing : trailing;
376
- }
377
- return debounce(func, wait, {
378
- 'leading': leading,
379
- 'maxWait': wait,
380
- 'trailing': trailing
381
- });
382
- }
383
-
384
- /**
385
- * Checks if `value` is the
386
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
387
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
388
- *
389
- * @static
390
- * @memberOf _
391
- * @since 0.1.0
392
- * @category Lang
393
- * @param {*} value The value to check.
394
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
395
- * @example
396
- *
397
- * _.isObject({});
398
- * // => true
399
- *
400
- * _.isObject([1, 2, 3]);
401
- * // => true
402
- *
403
- * _.isObject(_.noop);
404
- * // => true
405
- *
406
- * _.isObject(null);
407
- * // => false
408
- */
409
- function isObject(value) {
410
- var type = typeof value;
411
- return !!value && (type == 'object' || type == 'function');
412
- }
413
-
414
- /**
415
- * Checks if `value` is object-like. A value is object-like if it's not `null`
416
- * and has a `typeof` result of "object".
417
- *
418
- * @static
419
- * @memberOf _
420
- * @since 4.0.0
421
- * @category Lang
422
- * @param {*} value The value to check.
423
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
424
- * @example
425
- *
426
- * _.isObjectLike({});
427
- * // => true
428
- *
429
- * _.isObjectLike([1, 2, 3]);
430
- * // => true
431
- *
432
- * _.isObjectLike(_.noop);
433
- * // => false
434
- *
435
- * _.isObjectLike(null);
436
- * // => false
437
- */
438
- function isObjectLike(value) {
439
- return !!value && typeof value == 'object';
440
- }
441
-
442
- /**
443
- * Checks if `value` is classified as a `Symbol` primitive or object.
444
- *
445
- * @static
446
- * @memberOf _
447
- * @since 4.0.0
448
- * @category Lang
449
- * @param {*} value The value to check.
450
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
451
- * @example
452
- *
453
- * _.isSymbol(Symbol.iterator);
454
- * // => true
455
- *
456
- * _.isSymbol('abc');
457
- * // => false
458
- */
459
- function isSymbol(value) {
460
- return typeof value == 'symbol' ||
461
- (isObjectLike(value) && objectToString.call(value) == symbolTag);
462
- }
463
-
464
- /**
465
- * Converts `value` to a number.
466
- *
467
- * @static
468
- * @memberOf _
469
- * @since 4.0.0
470
- * @category Lang
471
- * @param {*} value The value to process.
472
- * @returns {number} Returns the number.
473
- * @example
474
- *
475
- * _.toNumber(3.2);
476
- * // => 3.2
477
- *
478
- * _.toNumber(Number.MIN_VALUE);
479
- * // => 5e-324
480
- *
481
- * _.toNumber(Infinity);
482
- * // => Infinity
483
- *
484
- * _.toNumber('3.2');
485
- * // => 3.2
486
- */
487
- function toNumber(value) {
488
- if (typeof value == 'number') {
489
- return value;
490
- }
491
- if (isSymbol(value)) {
492
- return NAN;
493
- }
494
- if (isObject(value)) {
495
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
496
- value = isObject(other) ? (other + '') : other;
497
- }
498
- if (typeof value != 'string') {
499
- return value === 0 ? value : +value;
500
- }
501
- value = value.replace(reTrim, '');
502
- var isBinary = reIsBinary.test(value);
503
- return (isBinary || reIsOctal.test(value))
504
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
505
- : (reIsBadHex.test(value) ? NAN : +value);
506
- }
507
-
508
- module.exports = throttle;
509
-
510
-
511
- /***/ }),
512
-
513
- /***/ 2703:
514
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
515
-
516
- "use strict";
517
- /**
518
- * Copyright (c) 2013-present, Facebook, Inc.
519
- *
520
- * This source code is licensed under the MIT license found in the
521
- * LICENSE file in the root directory of this source tree.
522
- */
523
-
524
-
525
-
526
- var ReactPropTypesSecret = __webpack_require__(414);
527
-
528
- function emptyFunction() {}
529
- function emptyFunctionWithReset() {}
530
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
531
-
532
- module.exports = function() {
533
- function shim(props, propName, componentName, location, propFullName, secret) {
534
- if (secret === ReactPropTypesSecret) {
535
- // It is still safe when called from React.
536
- return;
537
- }
538
- var err = new Error(
539
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
540
- 'Use PropTypes.checkPropTypes() to call them. ' +
541
- 'Read more at http://fb.me/use-check-prop-types'
542
- );
543
- err.name = 'Invariant Violation';
544
- throw err;
545
- };
546
- shim.isRequired = shim;
547
- function getShim() {
548
- return shim;
549
- };
550
- // Important!
551
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
552
- var ReactPropTypes = {
553
- array: shim,
554
- bool: shim,
555
- func: shim,
556
- number: shim,
557
- object: shim,
558
- string: shim,
559
- symbol: shim,
560
-
561
- any: shim,
562
- arrayOf: getShim,
563
- element: shim,
564
- elementType: shim,
565
- instanceOf: getShim,
566
- node: shim,
567
- objectOf: getShim,
568
- oneOf: getShim,
569
- oneOfType: getShim,
570
- shape: getShim,
571
- exact: getShim,
572
-
573
- checkPropTypes: emptyFunctionWithReset,
574
- resetWarningCache: emptyFunction
575
- };
576
-
577
- ReactPropTypes.PropTypes = ReactPropTypes;
578
-
579
- return ReactPropTypes;
580
- };
581
-
582
-
583
- /***/ }),
584
-
585
- /***/ 5697:
586
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
587
-
588
- /**
589
- * Copyright (c) 2013-present, Facebook, Inc.
590
- *
591
- * This source code is licensed under the MIT license found in the
592
- * LICENSE file in the root directory of this source tree.
593
- */
594
-
595
- if (false) { var throwOnDirectAccess, ReactIs; } else {
596
- // By explicitly using `prop-types` you are opting into new production behavior.
597
- // http://fb.me/prop-types-in-prod
598
- module.exports = __webpack_require__(2703)();
599
- }
67
+ /***/ 2040:
68
+ /***/ ((module) => {
600
69
 
70
+ module.exports = __WEBPACK_EXTERNAL_MODULE__2040__;
601
71
 
602
72
  /***/ }),
603
73
 
604
- /***/ 414:
74
+ /***/ 3474:
605
75
  /***/ ((module) => {
606
76
 
607
- "use strict";
608
- /**
609
- * Copyright (c) 2013-present, Facebook, Inc.
610
- *
611
- * This source code is licensed under the MIT license found in the
612
- * LICENSE file in the root directory of this source tree.
613
- */
614
-
615
-
616
-
617
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
618
-
619
- module.exports = ReactPropTypesSecret;
620
-
77
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3474__;
621
78
 
622
79
  /***/ }),
623
80
 
624
81
  /***/ 9281:
625
82
  /***/ ((module) => {
626
83
 
627
- "use strict";
628
84
  module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
629
85
 
630
86
  /***/ })
@@ -680,18 +136,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
680
136
  /******/ };
681
137
  /******/ })();
682
138
  /******/
683
- /******/ /* webpack/runtime/global */
684
- /******/ (() => {
685
- /******/ __webpack_require__.g = (function() {
686
- /******/ if (typeof globalThis === 'object') return globalThis;
687
- /******/ try {
688
- /******/ return this || new Function('return this')();
689
- /******/ } catch (e) {
690
- /******/ if (typeof window === 'object') return window;
691
- /******/ }
692
- /******/ })();
693
- /******/ })();
694
- /******/
695
139
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
696
140
  /******/ (() => {
697
141
  /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
@@ -710,9 +154,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
710
154
  /******/
711
155
  /************************************************************************/
712
156
  var __webpack_exports__ = {};
713
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
157
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
714
158
  (() => {
715
- "use strict";
716
159
  // ESM COMPAT FLAG
717
160
  __webpack_require__.r(__webpack_exports__);
718
161
 
@@ -724,14 +167,14 @@ __webpack_require__.d(__webpack_exports__, {
724
167
  // EXTERNAL MODULE: external {"commonjs":"react","commonjs2":"react"}
725
168
  var external_commonjs_react_commonjs2_react_ = __webpack_require__(9281);
726
169
  var external_commonjs_react_commonjs2_react_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_react_commonjs2_react_);
727
- // EXTERNAL MODULE: ./node_modules/prop-types/index.js
728
- var prop_types = __webpack_require__(5697);
729
- var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
170
+ // EXTERNAL MODULE: external {"commonjs":"prop-types","commonjs2":"prop-types"}
171
+ var external_commonjs_prop_types_commonjs2_prop_types_ = __webpack_require__(3474);
172
+ var external_commonjs_prop_types_commonjs2_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_prop_types_commonjs2_prop_types_);
730
173
  // EXTERNAL MODULE: ./src/core/Icon/component.jsx
731
174
  var component = __webpack_require__(9008);
732
- // EXTERNAL MODULE: ./node_modules/lodash.throttle/index.js
733
- var lodash_throttle = __webpack_require__(3096);
734
- var lodash_throttle_default = /*#__PURE__*/__webpack_require__.n(lodash_throttle);
175
+ // EXTERNAL MODULE: external {"commonjs":"lodash.throttle","commonjs2":"lodash.throttle"}
176
+ var external_commonjs_lodash_throttle_commonjs2_lodash_throttle_ = __webpack_require__(2040);
177
+ var external_commonjs_lodash_throttle_commonjs2_lodash_throttle_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_lodash_throttle_commonjs2_lodash_throttle_);
735
178
  ;// CONCATENATED MODULE: ./src/core/dom-query.js
736
179
  var queryId = function queryId(val) {
737
180
  var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
@@ -839,7 +282,7 @@ var Slider = function Slider(_ref) {
839
282
  var unmount = function unmount() {};
840
283
 
841
284
  if (breakpointCheck()) unmount = init(container);
842
- window.addEventListener("resize", lodash_throttle_default()(function () {
285
+ window.addEventListener("resize", external_commonjs_lodash_throttle_commonjs2_lodash_throttle_default()(function () {
843
286
  if (breakpointCheck()) {
844
287
  unmount = init(container);
845
288
  } else {
@@ -941,12 +384,12 @@ var component_Slider = function Slider(_ref) {
941
384
  };
942
385
 
943
386
  component_Slider.propTypes = {
944
- slides: prop_types_default().arrayOf((prop_types_default()).node),
945
- classes: (prop_types_default()).string,
946
- slideClasses: (prop_types_default()).string,
947
- slideMinWidth: (prop_types_default()).string,
948
- slideMaxWidth: (prop_types_default()).string,
949
- mqEnableThreshold: (prop_types_default()).func
387
+ slides: external_commonjs_prop_types_commonjs2_prop_types_default().arrayOf((external_commonjs_prop_types_commonjs2_prop_types_default()).node),
388
+ classes: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
389
+ slideClasses: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
390
+ slideMinWidth: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
391
+ slideMaxWidth: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
392
+ mqEnableThreshold: (external_commonjs_prop_types_commonjs2_prop_types_default()).func
950
393
  };
951
394
  /* harmony default export */ const core_Slider_component = (component_Slider);
952
395
  })();