|
2 | 2 | * lock v11.31.0 |
3 | 3 | * |
4 | 4 | * Author: Auth0 <support@auth0.com> (http://auth0.com) |
5 | | - * Date: 15/10/2021, 16:04:30 |
| 5 | + * Date: 22/10/2021, 13:23:25 |
6 | 6 | * License: MIT |
7 | 7 | * |
8 | 8 | *//******/ (function(modules) { // webpackBootstrap |
@@ -7468,10 +7468,12 @@ function registerLanguageDictionary(language, dictionary) { |
7468 | 7468 | languageDictionaries[language] = __WEBPACK_IMPORTED_MODULE_1_immutable___default.a.fromJS(dictionary); |
7469 | 7469 | } |
7470 | 7470 |
|
7471 | | -__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_8__utils_cdn_utils__["b" /* preload */])({ |
7472 | | - method: 'registerLanguageDictionary', |
7473 | | - cb: registerLanguageDictionary |
7474 | | -}); |
| 7471 | +if (typeof window !== 'undefined') { |
| 7472 | + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_8__utils_cdn_utils__["b" /* preload */])({ |
| 7473 | + method: 'registerLanguageDictionary', |
| 7474 | + cb: registerLanguageDictionary |
| 7475 | + }); |
| 7476 | +} |
7475 | 7477 |
|
7476 | 7478 | /***/ }), |
7477 | 7479 | /* 13 */ |
@@ -14744,7 +14746,7 @@ QuickAuthPane.propTypes = { |
14744 | 14746 | /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_auth0_js__ = __webpack_require__(101); |
14745 | 14747 |
|
14746 | 14748 |
|
14747 | | -if (!window.Auth0) { |
| 14749 | +if (typeof window !== 'undefined' && !window.Auth0) { |
14748 | 14750 | window.Auth0 = {}; |
14749 | 14751 | } |
14750 | 14752 |
|
@@ -20345,7 +20347,7 @@ var EscKeyDownHandler = function () { |
20345 | 20347 | return EscKeyDownHandler; |
20346 | 20348 | }(); |
20347 | 20349 |
|
20348 | | -var IPHONE = window.navigator && !!window.navigator.userAgent.match(/iPhone/i); |
| 20350 | +var IPHONE = typeof window !== 'undefined' && window.navigator && !!window.navigator.userAgent.match(/iPhone/i); |
20349 | 20351 |
|
20350 | 20352 | var Container = function (_React$Component) { |
20351 | 20353 | _inherits(Container, _React$Component); |
@@ -20617,7 +20619,7 @@ Container.propTypes = { |
20617 | 20619 | }; |
20618 | 20620 |
|
20619 | 20621 | // NOTE: detecting the file protocol is important for things like electron. |
20620 | | -var isFileProtocol = window.window && window.location && window.location.protocol === 'file:'; |
| 20622 | +var isFileProtocol = typeof window !== 'undefined' && window.window && window.location && window.location.protocol === 'file:'; |
20621 | 20623 |
|
20622 | 20624 | var defaultProps = Container.defaultProps = { |
20623 | 20625 | autofocus: false, |
@@ -25691,16 +25693,18 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); |
25691 | 25693 |
|
25692 | 25694 |
|
25693 | 25695 |
|
25694 | | -if (typeof window.define == 'function' && window.define.amd) { |
25695 | | - window.define('auth0Lock', function () { |
25696 | | - return __WEBPACK_IMPORTED_MODULE_0__index__["a" /* default */]; |
25697 | | - }); |
25698 | | - window.define('auth0LockPasswordless', function () { |
25699 | | - return __WEBPACK_IMPORTED_MODULE_1__passwordless__["a" /* default */]; |
25700 | | - }); |
25701 | | -} else if (window.window) { |
25702 | | - window.Auth0Lock = __WEBPACK_IMPORTED_MODULE_0__index__["a" /* default */]; |
25703 | | - window.Auth0LockPasswordless = __WEBPACK_IMPORTED_MODULE_1__passwordless__["a" /* default */]; |
| 25696 | +if (typeof window !== 'undefined') { |
| 25697 | + if (typeof window.define == 'function' && window.define.amd) { |
| 25698 | + window.define('auth0Lock', function () { |
| 25699 | + return __WEBPACK_IMPORTED_MODULE_0__index__["a" /* default */]; |
| 25700 | + }); |
| 25701 | + window.define('auth0LockPasswordless', function () { |
| 25702 | + return __WEBPACK_IMPORTED_MODULE_1__passwordless__["a" /* default */]; |
| 25703 | + }); |
| 25704 | + } else if (window.window) { |
| 25705 | + window.Auth0Lock = __WEBPACK_IMPORTED_MODULE_0__index__["a" /* default */]; |
| 25706 | + window.Auth0LockPasswordless = __WEBPACK_IMPORTED_MODULE_1__passwordless__["a" /* default */]; |
| 25707 | + } |
25704 | 25708 | } |
25705 | 25709 |
|
25706 | 25710 | /***/ }), |
@@ -30299,13 +30303,16 @@ WelcomeMessage.propTypes = { |
30299 | 30303 | }; |
30300 | 30304 |
|
30301 | 30305 | var cssBlurSupport = function () { |
30302 | | - // Check stolen from Modernizr, see https://github.com/Modernizr/Modernizr/blob/29eab707f7a2fb261c8a9c538370e97eb1f86e25/feature-detects/css/filters.js |
30303 | | - var isEdge = window.navigator && !!window.navigator.userAgent.match(/Edge/i); |
30304 | | - if (typeof window.document === 'undefined' || isEdge) return false; |
| 30306 | + if (typeof window !== 'undefined') { |
| 30307 | + // Check stolen from Modernizr, see https://github.com/Modernizr/Modernizr/blob/29eab707f7a2fb261c8a9c538370e97eb1f86e25/feature-detects/css/filters.js |
| 30308 | + var isEdge = window.navigator && !!window.navigator.userAgent.match(/Edge/i); |
| 30309 | + if (typeof window.document === 'undefined' || isEdge) return false; |
30305 | 30310 |
|
30306 | | - var el = window.document.createElement('div'); |
30307 | | - el.style.cssText = 'filter: blur(2px); -webkit-filter: blur(2px)'; |
30308 | | - return !!el.style.length && (window.document.documentMode === undefined || window.document.documentMode > 9); |
| 30311 | + var el = window.document.createElement('div'); |
| 30312 | + el.style.cssText = 'filter: blur(2px); -webkit-filter: blur(2px)'; |
| 30313 | + |
| 30314 | + return !!el.style.length && (window.document.documentMode === undefined || window.document.documentMode > 9); |
| 30315 | + } |
30309 | 30316 | }(); |
30310 | 30317 |
|
30311 | 30318 | var Background = function (_React$Component4) { |
|
0 commit comments