diff --git a/.gitignore b/.gitignore index d7be52882..1503f5490 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,8 @@ .DS_Store -build/ css/index.css lib/ node_modules/ release/ npm-debug.log .css.map -.idea/ \ No newline at end of file +.idea/ diff --git a/build/lock.js b/build/lock.js new file mode 100644 index 000000000..ed9dd5dba --- /dev/null +++ b/build/lock.js @@ -0,0 +1,45811 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) +/******/ return installedModules[moduleId].exports; +/******/ +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ exports: {}, +/******/ id: moduleId, +/******/ loaded: false +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.loaded = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(0); +/******/ }) +/************************************************************************/ +/******/ ((function(modules) { + // Check all modules for deduplicated modules + for(var i in modules) { + if(Object.prototype.hasOwnProperty.call(modules, i)) { + switch(typeof modules[i]) { + case "function": break; + case "object": + // Module can be created from a template + modules[i] = (function(_m) { + var args = _m.slice(1), fn = modules[_m[0]]; + return function (a,b,c) { + fn.apply(this, [a,b,c].concat(args)); + }; + }(modules[i])); + break; + default: + // Module is a copy of another module + modules[i] = modules[modules[i]]; + break; + } + } + } + return modules; +}([ +/* 0 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + var _index = __webpack_require__(140); + + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + // import Auth0LockPasswordless from './passwordless'; + + if (typeof global.window.define == 'function' && global.window.define.amd) { + global.window.define('auth0Lock', function () { + return _index2.default; + }); + // global.window.define('auth0LockPasswordless', function () { return Auth0LockPasswordless; }); + } else if (global.window) { + global.window.Auth0Lock = _index2.default; + // global.window.Auth0LockPasswordless = Auth0LockPasswordless; + } /* + * + * This is used to build the bundle with browserify. + * + * The bundle is used by people who doesn't use browserify. + * Those who use browserify will install with npm and require the module, + * the package.json file points to index.js. + */ + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 1 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + module.exports = __webpack_require__(20); + +/***/ }, +/* 2 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.reset = exports.auth = exports.ui = undefined; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + exports.setup = setup; + exports.id = id; + exports.clientID = clientID; + exports.domain = domain; + exports.clientBaseUrl = clientBaseUrl; + exports.tenantBaseUrl = tenantBaseUrl; + exports.useTenantInfo = useTenantInfo; + exports.languageBaseUrl = languageBaseUrl; + exports.setSubmitting = setSubmitting; + exports.submitting = submitting; + exports.setGlobalError = setGlobalError; + exports.globalError = globalError; + exports.clearGlobalError = clearGlobalError; + exports.setGlobalSuccess = setGlobalSuccess; + exports.globalSuccess = globalSuccess; + exports.clearGlobalSuccess = clearGlobalSuccess; + exports.rendering = rendering; + exports.stopRendering = stopRendering; + exports.withAuthOptions = withAuthOptions; + exports.extractTenantBaseUrlOption = extractTenantBaseUrlOption; + exports.render = render; + exports.setLoggedIn = setLoggedIn; + exports.loggedIn = loggedIn; + exports.defaultADUsernameFromEmailPrefix = defaultADUsernameFromEmailPrefix; + exports.warn = warn; + exports.error = error; + exports.allowedConnections = allowedConnections; + exports.connections = connections; + exports.connection = connection; + exports.hasOneConnection = hasOneConnection; + exports.hasOnlyConnections = hasOnlyConnections; + exports.hasSomeConnections = hasSomeConnections; + exports.countConnections = countConnections; + exports.findConnection = findConnection; + exports.hasConnection = hasConnection; + exports.filterConnections = filterConnections; + exports.runHook = runHook; + exports.emitEvent = emitEvent; + exports.loginErrorMessage = loginErrorMessage; + exports.stop = stop; + exports.hasStopped = hasStopped; + exports.hashCleanup = hashCleanup; + exports.emitHashParsedEvent = emitHashParsedEvent; + exports.emitAuthenticatedEvent = emitAuthenticatedEvent; + exports.emitAuthorizationErrorEvent = emitAuthorizationErrorEvent; + exports.emitUnrecoverableErrorEvent = emitUnrecoverableErrorEvent; + exports.showBadge = showBadge; + exports.overrideOptions = overrideOptions; + + var _urlJoin = __webpack_require__(131); + + var _urlJoin2 = _interopRequireDefault(_urlJoin); + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _media_utils = __webpack_require__(145); + + var _string_utils = __webpack_require__(91); + + var _url_utils = __webpack_require__(327); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + var _trim = __webpack_require__(25); + + var _trim2 = _interopRequireDefault(_trim); + + var _gravatar_provider = __webpack_require__(280); + + var gp = _interopRequireWildcard(_gravatar_provider); + + var _data_utils = __webpack_require__(17); + + var _index = __webpack_require__(39); + + var _index2 = __webpack_require__(135); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var _dataFns = (0, _data_utils.dataFns)(["core"]), + get = _dataFns.get, + init = _dataFns.init, + remove = _dataFns.remove, + reset = _dataFns.reset, + set = _dataFns.set, + tget = _dataFns.tget, + tset = _dataFns.tset, + tremove = _dataFns.tremove; + + var _dataFns2 = (0, _data_utils.dataFns)(["social"]), + tsetSocial = _dataFns2.tset; + + function setup(id, clientID, domain, options, hookRunner, emitEventFn) { + var m = init(id, _immutable2.default.fromJS({ + clientBaseUrl: extractClientBaseUrlOption(options, domain), + tenantBaseUrl: extractTenantBaseUrlOption(options, domain), + languageBaseUrl: extractLanguageBaseUrlOption(options, domain), + auth: extractAuthOptions(options), + clientID: clientID, + domain: domain, + emitEventFn: emitEventFn, + hookRunner: hookRunner, + useTenantInfo: options.__useTenantInfo || false, + hashCleanup: options.hashCleanup === false ? false : true, + allowedConnections: _immutable2.default.fromJS(options.allowedConnections || []), + ui: extractUIOptions(id, options), + defaultADUsernameFromEmailPrefix: options.defaultADUsernameFromEmailPrefix === false ? false : true + })); + + m = i18n.initI18n(m); + + return m; + } + + function id(m) { + return m.get("id"); + } + + function clientID(m) { + return get(m, "clientID"); + } + + function domain(m) { + return get(m, "domain"); + } + + function clientBaseUrl(m) { + return get(m, "clientBaseUrl"); + } + + function tenantBaseUrl(m) { + return get(m, "tenantBaseUrl"); + } + + function useTenantInfo(m) { + return get(m, "useTenantInfo"); + } + + function languageBaseUrl(m) { + return get(m, "languageBaseUrl"); + } + + function setSubmitting(m, value) { + var error = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; + + m = tset(m, "submitting", value); + m = clearGlobalSuccess(m); + m = error && !value ? setGlobalError(m, error) : clearGlobalError(m); + return m; + } + + function submitting(m) { + return tget(m, "submitting", false); + } + + function setGlobalError(m, str) { + return tset(m, "globalError", str); + } + + function globalError(m) { + return tget(m, "globalError", ""); + } + + function clearGlobalError(m) { + return tremove(m, "globalError"); + } + + function setGlobalSuccess(m, str) { + return tset(m, "globalSuccess", str); + } + + function globalSuccess(m) { + return tget(m, "globalSuccess", ""); + } + + function clearGlobalSuccess(m) { + return tremove(m, "globalSuccess"); + } + + function rendering(m) { + return tget(m, "render", false); + } + + function stopRendering(m) { + return tremove(m, "render"); + } + + function extractUIOptions(id, options) { + var closable = options.container ? false : undefined === options.closable ? true : !!options.closable; + var theme = options.theme || {}; + var labeledSubmitButton = theme.labeledSubmitButton, + logo = theme.logo, + primaryColor = theme.primaryColor, + authButtons = theme.authButtons; + + + var avatar = options.avatar !== null; + var customAvatarProvider = options.avatar && typeof options.avatar.url === "function" && typeof options.avatar.displayName === "function" && options.avatar; + var avatarProvider = customAvatarProvider || gp; + + return new _immutable2.default.fromJS({ + containerID: options.container || 'auth0-lock-container-' + id, + appendContainer: !options.container, + autoclose: undefined === options.autoclose ? false : closable && options.autoclose, + autofocus: undefined === options.autofocus ? !(options.container || (0, _media_utils.isSmallScreen)()) : !!options.autofocus, + avatar: avatar, + avatarProvider: avatarProvider, + logo: typeof logo === "string" ? logo : undefined, + closable: closable, + labeledSubmitButton: undefined === labeledSubmitButton ? true : !!labeledSubmitButton, + language: undefined === options.language ? "en" : (0, _trim2.default)(options.language || "").toLowerCase(), + dict: _typeof(options.languageDictionary) === "object" ? options.languageDictionary : {}, + disableWarnings: options.disableWarnings === undefined ? false : !!options.disableWarnings, + mobile: undefined === options.mobile ? false : !!options.mobile, + popupOptions: undefined === options.popupOptions ? {} : options.popupOptions, + primaryColor: typeof primaryColor === "string" ? primaryColor : undefined, + rememberLastLogin: undefined === options.rememberLastLogin ? true : !!options.rememberLastLogin, + authButtonsTheme: (typeof authButtons === 'undefined' ? 'undefined' : _typeof(authButtons)) === "object" ? authButtons : {} + }); + } + + var _dataFns3 = (0, _data_utils.dataFns)(["core", "ui"]), + getUI = _dataFns3.get, + setUI = _dataFns3.set; + + var _dataFns4 = (0, _data_utils.dataFns)(["core", "transient", "ui"]), + tgetUI = _dataFns4.get, + tsetUI = _dataFns4.set; + + var getUIAttribute = function getUIAttribute(m, attribute) { + return tgetUI(m, attribute) || getUI(m, attribute); + }; + + var ui = exports.ui = { + containerID: function containerID(lock) { + return getUIAttribute(lock, "containerID"); + }, + appendContainer: function appendContainer(lock) { + return getUIAttribute(lock, "appendContainer"); + }, + autoclose: function autoclose(lock) { + return getUIAttribute(lock, "autoclose"); + }, + autofocus: function autofocus(lock) { + return getUIAttribute(lock, "autofocus"); + }, + avatar: function avatar(lock) { + return getUIAttribute(lock, "avatar"); + }, + avatarProvider: function avatarProvider(lock) { + return getUIAttribute(lock, "avatarProvider"); + }, + closable: function closable(lock) { + return getUIAttribute(lock, "closable"); + }, + dict: function dict(lock) { + return getUIAttribute(lock, "dict"); + }, + disableWarnings: function disableWarnings(lock) { + return getUIAttribute(lock, "disableWarnings"); + }, + labeledSubmitButton: function labeledSubmitButton(lock) { + return getUIAttribute(lock, "labeledSubmitButton"); + }, + language: function language(lock) { + return getUIAttribute(lock, "language"); + }, + logo: function logo(lock) { + return getUIAttribute(lock, "logo"); + }, + mobile: function mobile(lock) { + return getUIAttribute(lock, "mobile"); + }, + popupOptions: function popupOptions(lock) { + return getUIAttribute(lock, "popupOptions"); + }, + primaryColor: function primaryColor(lock) { + return getUIAttribute(lock, "primaryColor"); + }, + authButtonsTheme: function authButtonsTheme(lock) { + return getUIAttribute(lock, "authButtonsTheme"); + }, + rememberLastLogin: function rememberLastLogin(m) { + return tget(m, "rememberLastLogin", getUIAttribute(m, "rememberLastLogin")); + } + }; + + var _dataFns5 = (0, _data_utils.dataFns)(["core", "auth"]), + getAuthAttribute = _dataFns5.get; + + var auth = exports.auth = { + connectionScopes: function connectionScopes(m) { + return getAuthAttribute(m, "connectionScopes"); + }, + params: function params(m) { + return tget(m, "authParams") || getAuthAttribute(m, "params"); + }, + redirect: function redirect(lock) { + return getAuthAttribute(lock, "redirect"); + }, + redirectUrl: function redirectUrl(lock) { + return getAuthAttribute(lock, "redirectUrl"); + }, + responseType: function responseType(lock) { + return getAuthAttribute(lock, "responseType"); + }, + sso: function sso(lock) { + return getAuthAttribute(lock, "sso"); + } + }; + + function extractAuthOptions(options) { + var _ref = options.auth || {}, + connectionScopes = _ref.connectionScopes, + params = _ref.params, + redirect = _ref.redirect, + redirectUrl = _ref.redirectUrl, + responseMode = _ref.responseMode, + responseType = _ref.responseType, + sso = _ref.sso; + + connectionScopes = (typeof connectionScopes === 'undefined' ? 'undefined' : _typeof(connectionScopes)) === "object" ? connectionScopes : {}; + params = (typeof params === 'undefined' ? 'undefined' : _typeof(params)) === "object" ? params : {}; + redirectUrl = typeof redirectUrl === "string" && redirectUrl ? redirectUrl : undefined; + redirect = typeof redirect === "boolean" ? redirect : true; + responseMode = typeof responseMode === "string" ? responseMode : undefined; + responseType = typeof responseType === "string" ? responseType : redirectUrl ? "code" : "token"; + + sso = typeof sso === "boolean" ? sso : true; + + if ((0, _trim2.default)(params.scope || "") === "openid profile") { + warn(options, "Usage of scope 'openid profile' is not recommended. See https://auth0.com/docs/scopes for more details."); + } + + return _immutable2.default.fromJS({ + connectionScopes: connectionScopes, + params: params, + redirect: redirect, + redirectUrl: redirectUrl, + responseMode: responseMode, + responseType: responseType, + sso: sso + }); + } + + function withAuthOptions(m, opts) { + return _immutable2.default.fromJS(opts).merge(get(m, "auth")).toJS(); + } + + function extractClientBaseUrlOption(opts, domain) { + if (opts.clientBaseUrl && typeof opts.clientBaseUrl === "string") { + return opts.clientBaseUrl; + } + + if (opts.configurationBaseUrl && typeof opts.configurationBaseUrl === "string") { + return opts.configurationBaseUrl; + } + + if (opts.assetsUrl && typeof opts.assetsUrl === "string") { + return opts.assetsUrl; + } + + var domainUrl = "https://" + domain; + var hostname = (0, _url_utils.parseUrl)(domainUrl).hostname; + var DOT_AUTH0_DOT_COM = ".auth0.com"; + var AUTH0_US_CDN_URL = "https://cdn.auth0.com"; + if ((0, _string_utils.endsWith)(hostname, DOT_AUTH0_DOT_COM)) { + var parts = hostname.split("."); + return parts.length > 3 ? "https://cdn." + parts[parts.length - 3] + DOT_AUTH0_DOT_COM : AUTH0_US_CDN_URL; + } else { + return domainUrl; + } + } + + function extractTenantBaseUrlOption(opts, domain) { + if (opts.configurationBaseUrl && typeof opts.configurationBaseUrl === "string") { + return (0, _urlJoin2.default)(opts.configurationBaseUrl, 'info-v1.js'); + } + + if (opts.assetsUrl && typeof opts.assetsUrl === "string") { + return opts.assetsUrl; + } + + var domainUrl = "https://" + domain; + var hostname = (0, _url_utils.parseUrl)(domainUrl).hostname; + var DOT_AUTH0_DOT_COM = ".auth0.com"; + var AUTH0_US_CDN_URL = "https://cdn.auth0.com"; + + var parts = hostname.split("."); + var tenant_name = parts[0]; + var domain; + + if ((0, _string_utils.endsWith)(hostname, DOT_AUTH0_DOT_COM)) { + domain = parts.length > 3 ? "https://cdn." + parts[parts.length - 3] + DOT_AUTH0_DOT_COM : AUTH0_US_CDN_URL; + + return (0, _urlJoin2.default)(domain, 'tenants', 'v1', tenant_name + '.js'); + } else { + return (0, _urlJoin2.default)(domainUrl, 'info-v1.js'); + } + } + + function extractLanguageBaseUrlOption(opts, domain) { + if (opts.languageBaseUrl && typeof opts.languageBaseUrl === "string") { + return opts.languageBaseUrl; + } + + if (opts.assetsUrl && typeof opts.assetsUrl === "string") { + return opts.assetsUrl; + } + + return "https://cdn.auth0.com"; + } + + function render(m) { + return tset(m, "render", true); + } + + exports.reset = reset; + function setLoggedIn(m, value) { + return tset(m, "loggedIn", value); + } + + function loggedIn(m) { + return tget(m, "loggedIn", false); + } + + function defaultADUsernameFromEmailPrefix(m) { + return get(m, "defaultADUsernameFromEmailPrefix", true); + } + + function warn(x, str) { + var shouldOutput = _immutable.Map.isMap(x) ? !ui.disableWarnings(x) : !x.disableWarnings; + + if (shouldOutput && console && console.warn) { + console.warn(str); + } + } + + function error(x, str) { + var shouldOutput = _immutable.Map.isMap(x) ? !ui.disableWarnings(x) : !x.disableWarnings; + + if (shouldOutput && console && console.error) { + console.error(str); + } + } + + function allowedConnections(m) { + return tget(m, "allowedConnections") || get(m, "allowedConnections"); + } + + function connections(m) { + for (var _len = arguments.length, strategies = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { + strategies[_key - 2] = arguments[_key]; + } + + var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + if (arguments.length === 1) { + return tget(m, "connections", (0, _immutable.Map)()).filter(function (v, k) { + return k !== "unknown"; + }).valueSeq().flatten(true); + } + + var xs = tget(m, ["connections", type], (0, _immutable.List)()); + return strategies.length > 0 ? xs.filter(function (x) { + return ~strategies.indexOf(x.get("strategy")); + }) : xs; + } + + function connection(m) { + var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + for (var _len2 = arguments.length, strategies = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + strategies[_key2 - 2] = arguments[_key2]; + } + + return connections.apply(undefined, [m, type].concat(strategies)).get(0); + } + + function hasOneConnection(m) { + var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + var xs = connections(m); + return xs.count() === 1 && (!type || xs.getIn([0, "type"]) === type); + } + + function hasOnlyConnections(m) { + var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + var all = connections(m).count(); + + for (var _len3 = arguments.length, strategies = Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) { + strategies[_key3 - 2] = arguments[_key3]; + } + + var filtered = connections.apply(undefined, [m, type].concat(strategies)).count(); + return all > 0 && all === filtered; + } + + function hasSomeConnections(m) { + var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + for (var _len4 = arguments.length, strategies = Array(_len4 > 2 ? _len4 - 2 : 0), _key4 = 2; _key4 < _len4; _key4++) { + strategies[_key4 - 2] = arguments[_key4]; + } + + return countConnections.apply(undefined, [m, type].concat(strategies)) > 0; + } + + function countConnections(m) { + var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + for (var _len5 = arguments.length, strategies = Array(_len5 > 2 ? _len5 - 2 : 0), _key5 = 2; _key5 < _len5; _key5++) { + strategies[_key5 - 2] = arguments[_key5]; + } + + return connections.apply(undefined, [m, type].concat(strategies)).count(); + } + + function findConnection(m, name) { + return connections(m).find(function (m1) { + return m1.get("name") === name; + }); + } + + function hasConnection(m, name) { + return !!findConnection(m, name); + } + + function filterConnections(m) { + var allowed = allowedConnections(m); + + var order = allowed.count() === 0 ? function (_) { + return 0; + } : function (c) { + return allowed.indexOf(c.get("name")); + }; + + return tset(m, "connections", (0, _index2.clientConnections)(m).map(function (cs) { + return cs.filter(function (c) { + return order(c) >= 0; + }).sort(function (c1, c2) { + return order(c1) - order(c2); + }); + })); + } + + function runHook(m, str) { + for (var _len6 = arguments.length, args = Array(_len6 > 2 ? _len6 - 2 : 0), _key6 = 2; _key6 < _len6; _key6++) { + args[_key6 - 2] = arguments[_key6]; + } + + return get(m, "hookRunner").apply(undefined, [str, m].concat(args)); + } + + function emitEvent(m, str) { + for (var _len7 = arguments.length, args = Array(_len7 > 2 ? _len7 - 2 : 0), _key7 = 2; _key7 < _len7; _key7++) { + args[_key7 - 2] = arguments[_key7]; + } + + setTimeout(function () { + var emitEventFn = get(m, "emitEventFn"); + var hadListener = emitEventFn.apply(undefined, [str].concat(args)); + // Handle uncaught custom error + if (str === "unrecoverable_error" && !hadListener) { + throw new (Function.prototype.bind.apply(Error, [null].concat(args)))(); + } + }, 0); + } + + function loginErrorMessage(m, error, type) { + // NOTE: previous version of lock checked for status codes and, at + // some point, if the status code was 401 it defaults to an + // "invalid_user_password" error (actually the + // "wrongEmailPasswordErrorText" dict entry) instead of checking + // explicitly. We should figure out if there was a reason for that. + + if (error.status === 0) { + return i18n.str(m, ["error", "login", "lock.network"]); + } + + // Custom rule error (except blocked_user) + if (error.code === "rule_error") { + return error.description || i18n.str(m, ["error", "login", "lock.fallback"]); + } + + var INVALID_MAP = { + code: "lock.invalid_code", + email: "lock.invalid_email_password", + username: "lock.invalid_username_password" + }; + + var code = error.error || error.code; + if (code === "invalid_user_password" && INVALID_MAP[type]) { + code = INVALID_MAP[type]; + } + + if (code === "a0.mfa_registration_required") { + code = "lock.mfa_registration_required"; + } + + if (code === "a0.mfa_invalid_code") { + code = "lock.mfa_invalid_code"; + } + + return i18n.str(m, ["error", "login", code]) || i18n.str(m, ["error", "login", "lock.fallback"]); + } + + // TODO: rename to something less generic that is easier to grep + function stop(m, error) { + if (error) { + setTimeout(function () { + return emitEvent(m, "unrecoverable_error", error); + }, 17); + } + + return set(m, "stopped", true); + } + + function hasStopped(m) { + return get(m, "stopped"); + } + + function hashCleanup(m) { + return get(m, "hashCleanup"); + } + + function emitHashParsedEvent(m, parsedHash) { + emitEvent(m, "hash_parsed", parsedHash); + } + + function emitAuthenticatedEvent(m, result) { + emitEvent(m, "authenticated", result); + } + + function emitAuthorizationErrorEvent(m, error) { + emitEvent(m, "authorization_error", error); + } + + function emitUnrecoverableErrorEvent(m, error) { + emitEvent(m, "unrecoverable_error", error); + } + + function showBadge(m) { + return (0, _index2.hasFreeSubscription)(m) || false; + } + + function overrideOptions(m, opts) { + if (!opts) opts = {}; + + if (opts.allowedConnections) { + m = tset(m, "allowedConnections", _immutable2.default.fromJS(opts.allowedConnections)); + } + + if (opts.socialButtonStyle) { + var curated = (0, _index.processSocialOptions)(opts); + m = tsetSocial(m, "socialButtonStyle", curated.socialButtonStyle); + } + + if (opts.flashMessage) { + var key = "success" === opts.flashMessage.type ? "globalSuccess" : "globalError"; + m = tset(m, key, opts.flashMessage.text); + } + + if (opts.auth && opts.auth.params) { + m = tset(m, "authParams", _immutable2.default.fromJS(opts.auth.params)); + } + + if (opts.theme) { + if (opts.theme.primaryColor) { + m = tset(m, ["ui", "primaryColor"], opts.theme.primaryColor); + } + + if (opts.theme.logo) { + m = tset(m, ["ui", "logo"], opts.theme.logo); + } + } + + if (opts.language || opts.languageDictionary) { + + if (opts.language) { + m = tset(m, ["ui", "language"], opts.language); + } + + if (opts.languageDictionary) { + m = tset(m, ["ui", "dict"], opts.languageDictionary); + } + + m = i18n.initI18n(m); + } + + if (typeof opts.rememberLastLogin === "boolean") { + m = tset(m, "rememberLastLogin", opts.rememberLastLogin); + } + + return m; + } + +/***/ }, +/* 3 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * Use invariant() to assert state which your program assumes to be true. + * + * Provide sprintf-style format (only %s is supported) and arguments + * to provide information about what broke and what you were + * expecting. + * + * The invariant message will be stripped in production, but the invariant + * will remain to ensure logic does not differ in production. + */ + + var validateFormat = function validateFormat(format) {}; + + if (false) { + validateFormat = function validateFormat(format) { + if (format === undefined) { + throw new Error('invariant requires an error message argument'); + } + }; + } + + function invariant(condition, format, a, b, c, d, e, f) { + validateFormat(format); + + if (!condition) { + var error; + if (format === undefined) { + error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.'); + } else { + var args = [a, b, c, d, e, f]; + var argIndex = 0; + error = new Error(format.replace(/%s/g, function () { + return args[argIndex++]; + })); + error.name = 'Invariant Violation'; + } + + error.framesToPop = 1; // we don't care about invariant's own frame + throw error; + } + } + + module.exports = invariant; + +/***/ }, +/* 4 */ +/***/ function(module, exports) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + 'use strict'; + + /** + * WARNING: DO NOT manually require this module. + * This is a replacement for `invariant(...)` used by the error code system + * and will _only_ be required by the corresponding babel pass. + * It always throws. + */ + + function reactProdInvariant(code) { + var argCount = arguments.length - 1; + + var message = 'Minified React error #' + code + '; visit ' + 'http://facebook.github.io/react/docs/error-decoder.html?invariant=' + code; + + for (var argIdx = 0; argIdx < argCount; argIdx++) { + message += '&args[]=' + encodeURIComponent(arguments[argIdx + 1]); + } + + message += ' for the full message or use the non-minified dev environment' + ' for full errors and additional helpful warnings.'; + + var error = new Error(message); + error.name = 'Invariant Violation'; + error.framesToPop = 1; // we don't care about reactProdInvariant's own frame + + throw error; + } + + module.exports = reactProdInvariant; + +/***/ }, +/* 5 */ +[332, 19], +/* 6 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var DOMProperty = __webpack_require__(32); + var ReactDOMComponentFlags = __webpack_require__(101); + + var invariant = __webpack_require__(3); + + var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME; + var Flags = ReactDOMComponentFlags; + + var internalInstanceKey = '__reactInternalInstance$' + Math.random().toString(36).slice(2); + + /** + * Drill down (through composites and empty components) until we get a host or + * host text component. + * + * This is pretty polymorphic but unavoidable with the current structure we have + * for `_renderedChildren`. + */ + function getRenderedHostOrTextFromComponent(component) { + var rendered; + while (rendered = component._renderedComponent) { + component = rendered; + } + return component; + } + + /** + * Populate `_hostNode` on the rendered host/text component with the given + * DOM node. The passed `inst` can be a composite. + */ + function precacheNode(inst, node) { + var hostInst = getRenderedHostOrTextFromComponent(inst); + hostInst._hostNode = node; + node[internalInstanceKey] = hostInst; + } + + function uncacheNode(inst) { + var node = inst._hostNode; + if (node) { + delete node[internalInstanceKey]; + inst._hostNode = null; + } + } + + /** + * Populate `_hostNode` on each child of `inst`, assuming that the children + * match up with the DOM (element) children of `node`. + * + * We cache entire levels at once to avoid an n^2 problem where we access the + * children of a node sequentially and have to walk from the start to our target + * node every time. + * + * Since we update `_renderedChildren` and the actual DOM at (slightly) + * different times, we could race here and see a newer `_renderedChildren` than + * the DOM nodes we see. To avoid this, ReactMultiChild calls + * `prepareToManageChildren` before we change `_renderedChildren`, at which + * time the container's child nodes are always cached (until it unmounts). + */ + function precacheChildNodes(inst, node) { + if (inst._flags & Flags.hasCachedChildNodes) { + return; + } + var children = inst._renderedChildren; + var childNode = node.firstChild; + outer: for (var name in children) { + if (!children.hasOwnProperty(name)) { + continue; + } + var childInst = children[name]; + var childID = getRenderedHostOrTextFromComponent(childInst)._domID; + if (childID === 0) { + // We're currently unmounting this child in ReactMultiChild; skip it. + continue; + } + // We assume the child nodes are in the same order as the child instances. + for (; childNode !== null; childNode = childNode.nextSibling) { + if (childNode.nodeType === 1 && childNode.getAttribute(ATTR_NAME) === String(childID) || childNode.nodeType === 8 && childNode.nodeValue === ' react-text: ' + childID + ' ' || childNode.nodeType === 8 && childNode.nodeValue === ' react-empty: ' + childID + ' ') { + precacheNode(childInst, childNode); + continue outer; + } + } + // We reached the end of the DOM children without finding an ID match. + true ? false ? invariant(false, 'Unable to find element with ID %s.', childID) : _prodInvariant('32', childID) : void 0; + } + inst._flags |= Flags.hasCachedChildNodes; + } + + /** + * Given a DOM node, return the closest ReactDOMComponent or + * ReactDOMTextComponent instance ancestor. + */ + function getClosestInstanceFromNode(node) { + if (node[internalInstanceKey]) { + return node[internalInstanceKey]; + } + + // Walk up the tree until we find an ancestor whose instance we have cached. + var parents = []; + while (!node[internalInstanceKey]) { + parents.push(node); + if (node.parentNode) { + node = node.parentNode; + } else { + // Top of the tree. This node must not be part of a React tree (or is + // unmounted, potentially). + return null; + } + } + + var closest; + var inst; + for (; node && (inst = node[internalInstanceKey]); node = parents.pop()) { + closest = inst; + if (parents.length) { + precacheChildNodes(inst, node); + } + } + + return closest; + } + + /** + * Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent + * instance, or null if the node was not rendered by this React. + */ + function getInstanceFromNode(node) { + var inst = getClosestInstanceFromNode(node); + if (inst != null && inst._hostNode === node) { + return inst; + } else { + return null; + } + } + + /** + * Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding + * DOM node. + */ + function getNodeFromInstance(inst) { + // Without this first invariant, passing a non-DOM-component triggers the next + // invariant for a missing parent, which is super confusing. + !(inst._hostNode !== undefined) ? false ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0; + + if (inst._hostNode) { + return inst._hostNode; + } + + // Walk up the tree until we find an ancestor whose DOM node we have cached. + var parents = []; + while (!inst._hostNode) { + parents.push(inst); + !inst._hostParent ? false ? invariant(false, 'React DOM tree root should always have a node reference.') : _prodInvariant('34') : void 0; + inst = inst._hostParent; + } + + // Now parents contains each ancestor that does *not* have a cached native + // node, and `inst` is the deepest ancestor that does. + for (; parents.length; inst = parents.pop()) { + precacheChildNodes(inst, inst._hostNode); + } + + return inst._hostNode; + } + + var ReactDOMComponentTree = { + getClosestInstanceFromNode: getClosestInstanceFromNode, + getInstanceFromNode: getInstanceFromNode, + getNodeFromInstance: getNodeFromInstance, + precacheChildNodes: precacheChildNodes, + precacheNode: precacheNode, + uncacheNode: uncacheNode + }; + + module.exports = ReactDOMComponentTree; + +/***/ }, +/* 7 */ +/***/ function(module, exports) { + + 'use strict'; + /* eslint-disable no-unused-vars */ + + var hasOwnProperty = Object.prototype.hasOwnProperty; + var propIsEnumerable = Object.prototype.propertyIsEnumerable; + + function toObject(val) { + if (val === null || val === undefined) { + throw new TypeError('Object.assign cannot be called with null or undefined'); + } + + return Object(val); + } + + function shouldUseNative() { + try { + if (!Object.assign) { + return false; + } + + // Detect buggy property enumeration order in older V8 versions. + + // https://bugs.chromium.org/p/v8/issues/detail?id=4118 + var test1 = new String('abc'); // eslint-disable-line + test1[5] = 'de'; + if (Object.getOwnPropertyNames(test1)[0] === '5') { + return false; + } + + // https://bugs.chromium.org/p/v8/issues/detail?id=3056 + var test2 = {}; + for (var i = 0; i < 10; i++) { + test2['_' + String.fromCharCode(i)] = i; + } + var order2 = Object.getOwnPropertyNames(test2).map(function (n) { + return test2[n]; + }); + if (order2.join('') !== '0123456789') { + return false; + } + + // https://bugs.chromium.org/p/v8/issues/detail?id=3056 + var test3 = {}; + 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { + test3[letter] = letter; + }); + if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') { + return false; + } + + return true; + } catch (e) { + // We don't expect any of the above to throw, but better to be safe. + return false; + } + } + + module.exports = shouldUseNative() ? Object.assign : function (target, source) { + var from; + var to = toObject(target); + var symbols; + + for (var s = 1; s < arguments.length; s++) { + from = Object(arguments[s]); + + for (var key in from) { + if (hasOwnProperty.call(from, key)) { + to[key] = from[key]; + } + } + + if (Object.getOwnPropertySymbols) { + symbols = Object.getOwnPropertySymbols(from); + for (var i = 0; i < symbols.length; i++) { + if (propIsEnumerable.call(from, symbols[i])) { + to[symbols[i]] = from[symbols[i]]; + } + } + } + } + + return to; + }; + +/***/ }, +/* 8 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + exports.setField = setField; + exports.registerOptionField = registerOptionField; + exports.setOptionField = setOptionField; + exports.isFieldValid = isFieldValid; + exports.getFieldInvalidHint = getFieldInvalidHint; + exports.isFieldVisiblyInvalid = isFieldVisiblyInvalid; + exports.showInvalidField = showInvalidField; + exports.hideInvalidFields = hideInvalidFields; + exports.setFieldShowInvalid = setFieldShowInvalid; + exports.clearFields = clearFields; + exports.getField = getField; + exports.getFieldValue = getFieldValue; + exports.getFieldLabel = getFieldLabel; + exports.phoneNumber = phoneNumber; + exports.email = email; + exports.vcode = vcode; + exports.password = password; + exports.username = username; + exports.mfaCode = mfaCode; + exports.isSelecting = isSelecting; + exports.renderOptionSelection = renderOptionSelection; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _immutable = __webpack_require__(9); + + var _trim = __webpack_require__(25); + + var _trim2 = _interopRequireDefault(_trim); + + var _option_selection_pane = __webpack_require__(307); + + var _option_selection_pane2 = _interopRequireDefault(_option_selection_pane); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function setField(m, field, value) { + var validator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : function (str) { + return (0, _trim2.default)(str).length > 0; + }; + + var prevValue = m.getIn(["field", field, "value"]); + var prevShowInvalid = m.getIn(["field", field, "showInvalid"], false); + + for (var _len = arguments.length, args = Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++) { + args[_key - 4] = arguments[_key]; + } + + var validation = validate.apply(undefined, [validator, value].concat(args)); + + return m.mergeIn(["field", field], validation, (0, _immutable.Map)({ + value: value, + showInvalid: prevShowInvalid && prevValue === value + })); + } + + function validate(validator, value) { + if (typeof validator != "function") return (0, _immutable.Map)({ valid: true }); + + for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + args[_key2 - 2] = arguments[_key2]; + } + + var validation = validator.apply(undefined, [value].concat(args)); + return validation && (typeof validation === 'undefined' ? 'undefined' : _typeof(validation)) === "object" ? (0, _immutable.Map)({ valid: validation.valid, invalidHint: validation.hint }) : (0, _immutable.Map)({ valid: !!validation }); + } + + // TODO: this should handle icons, and everything. + // TODO: also there should be a similar fn for regular fields. + function registerOptionField(m, field, options, initialValue) { + var valid = true, + hasInitial = !initialValue, + initialOption = void 0; + options.forEach(function (x) { + valid = valid && x.get("label") && typeof x.get("label") === "string" && x.get("value") && typeof x.get("value") === "string"; + + if (!hasInitial && x.get("value") === initialValue) { + initialOption = x; + hasInitial = true; + } + }); + + if (!valid || !options.size) { + var stopError = new Error('The options provided for the "' + field + '" field are invalid, they must have the following format: {label: "non-empty string", value: "non-empty string"} and there has to be at least one option.'); + stopError.code = "invalid_select_field"; + // TODO: in the future we might want to return the result of the + // operation along with the model insteand of stopping the + // rendering, like [false, m] in the case of failure and [true, m] + // in the case of success. + return l.stop(m, stopError); + } + + if (!initialOption) initialOption = (0, _immutable.Map)({}); + + return m.mergeIn(["field", field], initialOption, (0, _immutable.Map)({ + options: options, + showInvalid: false, + valid: !initialOption.isEmpty() + })); + } + + function setOptionField(m, field, option) { + return m.mergeIn(["field", field], option.merge((0, _immutable.Map)({ + valid: true, + showInvalid: false + }))); + } + + function isFieldValid(m, field) { + return m.getIn(["field", field, "valid"]); + } + + function getFieldInvalidHint(m, field) { + return m.getIn(["field", field, "invalidHint"], ""); + } + + function isFieldVisiblyInvalid(m, field) { + return m.getIn(["field", field, "showInvalid"], false) && !m.getIn(["field", field, "valid"]); + } + + function showInvalidField(m, field) { + return m.setIn(["field", field, "showInvalid"], !isFieldValid(m, field)); + } + + function hideInvalidFields(m) { + return m.update("field", function (fields) { + + return fields && fields.map(function (field) { + return field.set("showInvalid", false); + }); + }); + } + + // TODO: only used in passwordless, when we update it to use + // validateAndSubmit this won't be needed anymore. + function setFieldShowInvalid(m, field, value) { + return m.setIn(["field", field, "showInvalid"], value); + } + + function clearFields(m, fields) { + var keyPaths = void 0; + + if (!fields || fields.length === 0) { + keyPaths = ["field"]; + } else { + keyPaths = fields.map(function (x) { + return ["field", x]; + }); + } + + return keyPaths.reduce(function (r, v) { + return r.removeIn(v); + }, m); + } + + function getField(m, field) { + var notFound = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new _immutable.Map({}); + + return m.getIn(["field", field], notFound); + } + + function getFieldValue(m, field) { + var notFound = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; + + return getField(m, field).get("value", notFound); + } + + function getFieldLabel(m, field) { + var notFound = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; + + return getField(m, field).get("label", notFound); + } + + // phone number + + function phoneNumber(lock) { + return lock.getIn(["field", "phoneNumber", "value"], ""); + } + + // email + + function email(m) { + return getFieldValue(m, "email"); + } + + // vcode + + function vcode(m) { + return getFieldValue(m, "vcode"); + } + + // password + + function password(m) { + return getFieldValue(m, "password"); + } + + // username + + function username(m) { + return getFieldValue(m, "username"); + } + + // mfa_code + + function mfaCode(m) { + return getFieldValue(m, "mfa_code"); + } + + // select field options + + function isSelecting(m) { + return !!m.getIn(["field", "selecting"]); + } + + function renderOptionSelection(m) { + var name = m.getIn(["field", "selecting", "name"]); + return isSelecting(m) ? _react2.default.createElement(_option_selection_pane2.default, { + model: m, + name: name, + icon: m.getIn(["field", "selecting", "icon"]), + iconUrl: m.getIn(["field", "selecting", "iconUrl"]), + items: m.getIn(["field", name, "options"]) + }) : null; + } + +/***/ }, +/* 9 */ +/***/ function(module, exports, __webpack_require__) { + + var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + /** + * Copyright (c) 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + (function (global, factory) { + ( false ? 'undefined' : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : global.Immutable = factory(); + })(undefined, function () { + 'use strict'; + var SLICE$0 = Array.prototype.slice; + + function createClass(ctor, superClass) { + if (superClass) { + ctor.prototype = Object.create(superClass.prototype); + } + ctor.prototype.constructor = ctor; + } + + function Iterable(value) { + return isIterable(value) ? value : Seq(value); + } + + createClass(KeyedIterable, Iterable); + function KeyedIterable(value) { + return isKeyed(value) ? value : KeyedSeq(value); + } + + createClass(IndexedIterable, Iterable); + function IndexedIterable(value) { + return isIndexed(value) ? value : IndexedSeq(value); + } + + createClass(SetIterable, Iterable); + function SetIterable(value) { + return isIterable(value) && !isAssociative(value) ? value : SetSeq(value); + } + + function isIterable(maybeIterable) { + return !!(maybeIterable && maybeIterable[IS_ITERABLE_SENTINEL]); + } + + function isKeyed(maybeKeyed) { + return !!(maybeKeyed && maybeKeyed[IS_KEYED_SENTINEL]); + } + + function isIndexed(maybeIndexed) { + return !!(maybeIndexed && maybeIndexed[IS_INDEXED_SENTINEL]); + } + + function isAssociative(maybeAssociative) { + return isKeyed(maybeAssociative) || isIndexed(maybeAssociative); + } + + function isOrdered(maybeOrdered) { + return !!(maybeOrdered && maybeOrdered[IS_ORDERED_SENTINEL]); + } + + Iterable.isIterable = isIterable; + Iterable.isKeyed = isKeyed; + Iterable.isIndexed = isIndexed; + Iterable.isAssociative = isAssociative; + Iterable.isOrdered = isOrdered; + + Iterable.Keyed = KeyedIterable; + Iterable.Indexed = IndexedIterable; + Iterable.Set = SetIterable; + + var IS_ITERABLE_SENTINEL = '@@__IMMUTABLE_ITERABLE__@@'; + var IS_KEYED_SENTINEL = '@@__IMMUTABLE_KEYED__@@'; + var IS_INDEXED_SENTINEL = '@@__IMMUTABLE_INDEXED__@@'; + var IS_ORDERED_SENTINEL = '@@__IMMUTABLE_ORDERED__@@'; + + // Used for setting prototype methods that IE8 chokes on. + var DELETE = 'delete'; + + // Constants describing the size of trie nodes. + var SHIFT = 5; // Resulted in best performance after ______? + var SIZE = 1 << SHIFT; + var MASK = SIZE - 1; + + // A consistent shared value representing "not set" which equals nothing other + // than itself, and nothing that could be provided externally. + var NOT_SET = {}; + + // Boolean references, Rough equivalent of `bool &`. + var CHANGE_LENGTH = { value: false }; + var DID_ALTER = { value: false }; + + function MakeRef(ref) { + ref.value = false; + return ref; + } + + function SetRef(ref) { + ref && (ref.value = true); + } + + // A function which returns a value representing an "owner" for transient writes + // to tries. The return value will only ever equal itself, and will not equal + // the return of any subsequent call of this function. + function OwnerID() {} + + // http://jsperf.com/copy-array-inline + function arrCopy(arr, offset) { + offset = offset || 0; + var len = Math.max(0, arr.length - offset); + var newArr = new Array(len); + for (var ii = 0; ii < len; ii++) { + newArr[ii] = arr[ii + offset]; + } + return newArr; + } + + function ensureSize(iter) { + if (iter.size === undefined) { + iter.size = iter.__iterate(returnTrue); + } + return iter.size; + } + + function wrapIndex(iter, index) { + // This implements "is array index" which the ECMAString spec defines as: + // + // A String property name P is an array index if and only if + // ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal + // to 2^32−1. + // + // http://www.ecma-international.org/ecma-262/6.0/#sec-array-exotic-objects + if (typeof index !== 'number') { + var uint32Index = index >>> 0; // N >>> 0 is shorthand for ToUint32 + if ('' + uint32Index !== index || uint32Index === 4294967295) { + return NaN; + } + index = uint32Index; + } + return index < 0 ? ensureSize(iter) + index : index; + } + + function returnTrue() { + return true; + } + + function wholeSlice(begin, end, size) { + return (begin === 0 || size !== undefined && begin <= -size) && (end === undefined || size !== undefined && end >= size); + } + + function resolveBegin(begin, size) { + return resolveIndex(begin, size, 0); + } + + function resolveEnd(end, size) { + return resolveIndex(end, size, size); + } + + function resolveIndex(index, size, defaultIndex) { + return index === undefined ? defaultIndex : index < 0 ? Math.max(0, size + index) : size === undefined ? index : Math.min(size, index); + } + + /* global Symbol */ + + var ITERATE_KEYS = 0; + var ITERATE_VALUES = 1; + var ITERATE_ENTRIES = 2; + + var REAL_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; + var FAUX_ITERATOR_SYMBOL = '@@iterator'; + + var ITERATOR_SYMBOL = REAL_ITERATOR_SYMBOL || FAUX_ITERATOR_SYMBOL; + + function Iterator(next) { + this.next = next; + } + + Iterator.prototype.toString = function () { + return '[Iterator]'; + }; + + Iterator.KEYS = ITERATE_KEYS; + Iterator.VALUES = ITERATE_VALUES; + Iterator.ENTRIES = ITERATE_ENTRIES; + + Iterator.prototype.inspect = Iterator.prototype.toSource = function () { + return this.toString(); + }; + Iterator.prototype[ITERATOR_SYMBOL] = function () { + return this; + }; + + function iteratorValue(type, k, v, iteratorResult) { + var value = type === 0 ? k : type === 1 ? v : [k, v]; + iteratorResult ? iteratorResult.value = value : iteratorResult = { + value: value, done: false + }; + return iteratorResult; + } + + function iteratorDone() { + return { value: undefined, done: true }; + } + + function hasIterator(maybeIterable) { + return !!getIteratorFn(maybeIterable); + } + + function isIterator(maybeIterator) { + return maybeIterator && typeof maybeIterator.next === 'function'; + } + + function getIterator(iterable) { + var iteratorFn = getIteratorFn(iterable); + return iteratorFn && iteratorFn.call(iterable); + } + + function getIteratorFn(iterable) { + var iteratorFn = iterable && (REAL_ITERATOR_SYMBOL && iterable[REAL_ITERATOR_SYMBOL] || iterable[FAUX_ITERATOR_SYMBOL]); + if (typeof iteratorFn === 'function') { + return iteratorFn; + } + } + + function isArrayLike(value) { + return value && typeof value.length === 'number'; + } + + createClass(Seq, Iterable); + function Seq(value) { + return value === null || value === undefined ? emptySequence() : isIterable(value) ? value.toSeq() : seqFromValue(value); + } + + Seq.of = function () /*...values*/{ + return Seq(arguments); + }; + + Seq.prototype.toSeq = function () { + return this; + }; + + Seq.prototype.toString = function () { + return this.__toString('Seq {', '}'); + }; + + Seq.prototype.cacheResult = function () { + if (!this._cache && this.__iterateUncached) { + this._cache = this.entrySeq().toArray(); + this.size = this._cache.length; + } + return this; + }; + + // abstract __iterateUncached(fn, reverse) + + Seq.prototype.__iterate = function (fn, reverse) { + return seqIterate(this, fn, reverse, true); + }; + + // abstract __iteratorUncached(type, reverse) + + Seq.prototype.__iterator = function (type, reverse) { + return seqIterator(this, type, reverse, true); + }; + + createClass(KeyedSeq, Seq); + function KeyedSeq(value) { + return value === null || value === undefined ? emptySequence().toKeyedSeq() : isIterable(value) ? isKeyed(value) ? value.toSeq() : value.fromEntrySeq() : keyedSeqFromValue(value); + } + + KeyedSeq.prototype.toKeyedSeq = function () { + return this; + }; + + createClass(IndexedSeq, Seq); + function IndexedSeq(value) { + return value === null || value === undefined ? emptySequence() : !isIterable(value) ? indexedSeqFromValue(value) : isKeyed(value) ? value.entrySeq() : value.toIndexedSeq(); + } + + IndexedSeq.of = function () /*...values*/{ + return IndexedSeq(arguments); + }; + + IndexedSeq.prototype.toIndexedSeq = function () { + return this; + }; + + IndexedSeq.prototype.toString = function () { + return this.__toString('Seq [', ']'); + }; + + IndexedSeq.prototype.__iterate = function (fn, reverse) { + return seqIterate(this, fn, reverse, false); + }; + + IndexedSeq.prototype.__iterator = function (type, reverse) { + return seqIterator(this, type, reverse, false); + }; + + createClass(SetSeq, Seq); + function SetSeq(value) { + return (value === null || value === undefined ? emptySequence() : !isIterable(value) ? indexedSeqFromValue(value) : isKeyed(value) ? value.entrySeq() : value).toSetSeq(); + } + + SetSeq.of = function () /*...values*/{ + return SetSeq(arguments); + }; + + SetSeq.prototype.toSetSeq = function () { + return this; + }; + + Seq.isSeq = isSeq; + Seq.Keyed = KeyedSeq; + Seq.Set = SetSeq; + Seq.Indexed = IndexedSeq; + + var IS_SEQ_SENTINEL = '@@__IMMUTABLE_SEQ__@@'; + + Seq.prototype[IS_SEQ_SENTINEL] = true; + + createClass(ArraySeq, IndexedSeq); + function ArraySeq(array) { + this._array = array; + this.size = array.length; + } + + ArraySeq.prototype.get = function (index, notSetValue) { + return this.has(index) ? this._array[wrapIndex(this, index)] : notSetValue; + }; + + ArraySeq.prototype.__iterate = function (fn, reverse) { + var array = this._array; + var maxIndex = array.length - 1; + for (var ii = 0; ii <= maxIndex; ii++) { + if (fn(array[reverse ? maxIndex - ii : ii], ii, this) === false) { + return ii + 1; + } + } + return ii; + }; + + ArraySeq.prototype.__iterator = function (type, reverse) { + var array = this._array; + var maxIndex = array.length - 1; + var ii = 0; + return new Iterator(function () { + return ii > maxIndex ? iteratorDone() : iteratorValue(type, ii, array[reverse ? maxIndex - ii++ : ii++]); + }); + }; + + createClass(ObjectSeq, KeyedSeq); + function ObjectSeq(object) { + var keys = Object.keys(object); + this._object = object; + this._keys = keys; + this.size = keys.length; + } + + ObjectSeq.prototype.get = function (key, notSetValue) { + if (notSetValue !== undefined && !this.has(key)) { + return notSetValue; + } + return this._object[key]; + }; + + ObjectSeq.prototype.has = function (key) { + return this._object.hasOwnProperty(key); + }; + + ObjectSeq.prototype.__iterate = function (fn, reverse) { + var object = this._object; + var keys = this._keys; + var maxIndex = keys.length - 1; + for (var ii = 0; ii <= maxIndex; ii++) { + var key = keys[reverse ? maxIndex - ii : ii]; + if (fn(object[key], key, this) === false) { + return ii + 1; + } + } + return ii; + }; + + ObjectSeq.prototype.__iterator = function (type, reverse) { + var object = this._object; + var keys = this._keys; + var maxIndex = keys.length - 1; + var ii = 0; + return new Iterator(function () { + var key = keys[reverse ? maxIndex - ii : ii]; + return ii++ > maxIndex ? iteratorDone() : iteratorValue(type, key, object[key]); + }); + }; + + ObjectSeq.prototype[IS_ORDERED_SENTINEL] = true; + + createClass(IterableSeq, IndexedSeq); + function IterableSeq(iterable) { + this._iterable = iterable; + this.size = iterable.length || iterable.size; + } + + IterableSeq.prototype.__iterateUncached = function (fn, reverse) { + if (reverse) { + return this.cacheResult().__iterate(fn, reverse); + } + var iterable = this._iterable; + var iterator = getIterator(iterable); + var iterations = 0; + if (isIterator(iterator)) { + var step; + while (!(step = iterator.next()).done) { + if (fn(step.value, iterations++, this) === false) { + break; + } + } + } + return iterations; + }; + + IterableSeq.prototype.__iteratorUncached = function (type, reverse) { + if (reverse) { + return this.cacheResult().__iterator(type, reverse); + } + var iterable = this._iterable; + var iterator = getIterator(iterable); + if (!isIterator(iterator)) { + return new Iterator(iteratorDone); + } + var iterations = 0; + return new Iterator(function () { + var step = iterator.next(); + return step.done ? step : iteratorValue(type, iterations++, step.value); + }); + }; + + createClass(IteratorSeq, IndexedSeq); + function IteratorSeq(iterator) { + this._iterator = iterator; + this._iteratorCache = []; + } + + IteratorSeq.prototype.__iterateUncached = function (fn, reverse) { + if (reverse) { + return this.cacheResult().__iterate(fn, reverse); + } + var iterator = this._iterator; + var cache = this._iteratorCache; + var iterations = 0; + while (iterations < cache.length) { + if (fn(cache[iterations], iterations++, this) === false) { + return iterations; + } + } + var step; + while (!(step = iterator.next()).done) { + var val = step.value; + cache[iterations] = val; + if (fn(val, iterations++, this) === false) { + break; + } + } + return iterations; + }; + + IteratorSeq.prototype.__iteratorUncached = function (type, reverse) { + if (reverse) { + return this.cacheResult().__iterator(type, reverse); + } + var iterator = this._iterator; + var cache = this._iteratorCache; + var iterations = 0; + return new Iterator(function () { + if (iterations >= cache.length) { + var step = iterator.next(); + if (step.done) { + return step; + } + cache[iterations] = step.value; + } + return iteratorValue(type, iterations, cache[iterations++]); + }); + }; + + // # pragma Helper functions + + function isSeq(maybeSeq) { + return !!(maybeSeq && maybeSeq[IS_SEQ_SENTINEL]); + } + + var EMPTY_SEQ; + + function emptySequence() { + return EMPTY_SEQ || (EMPTY_SEQ = new ArraySeq([])); + } + + function keyedSeqFromValue(value) { + var seq = Array.isArray(value) ? new ArraySeq(value).fromEntrySeq() : isIterator(value) ? new IteratorSeq(value).fromEntrySeq() : hasIterator(value) ? new IterableSeq(value).fromEntrySeq() : (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' ? new ObjectSeq(value) : undefined; + if (!seq) { + throw new TypeError('Expected Array or iterable object of [k, v] entries, ' + 'or keyed object: ' + value); + } + return seq; + } + + function indexedSeqFromValue(value) { + var seq = maybeIndexedSeqFromValue(value); + if (!seq) { + throw new TypeError('Expected Array or iterable object of values: ' + value); + } + return seq; + } + + function seqFromValue(value) { + var seq = maybeIndexedSeqFromValue(value) || (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && new ObjectSeq(value); + if (!seq) { + throw new TypeError('Expected Array or iterable object of values, or keyed object: ' + value); + } + return seq; + } + + function maybeIndexedSeqFromValue(value) { + return isArrayLike(value) ? new ArraySeq(value) : isIterator(value) ? new IteratorSeq(value) : hasIterator(value) ? new IterableSeq(value) : undefined; + } + + function seqIterate(seq, fn, reverse, useKeys) { + var cache = seq._cache; + if (cache) { + var maxIndex = cache.length - 1; + for (var ii = 0; ii <= maxIndex; ii++) { + var entry = cache[reverse ? maxIndex - ii : ii]; + if (fn(entry[1], useKeys ? entry[0] : ii, seq) === false) { + return ii + 1; + } + } + return ii; + } + return seq.__iterateUncached(fn, reverse); + } + + function seqIterator(seq, type, reverse, useKeys) { + var cache = seq._cache; + if (cache) { + var maxIndex = cache.length - 1; + var ii = 0; + return new Iterator(function () { + var entry = cache[reverse ? maxIndex - ii : ii]; + return ii++ > maxIndex ? iteratorDone() : iteratorValue(type, useKeys ? entry[0] : ii - 1, entry[1]); + }); + } + return seq.__iteratorUncached(type, reverse); + } + + function fromJS(json, converter) { + return converter ? fromJSWith(converter, json, '', { '': json }) : fromJSDefault(json); + } + + function fromJSWith(converter, json, key, parentJSON) { + if (Array.isArray(json)) { + return converter.call(parentJSON, key, IndexedSeq(json).map(function (v, k) { + return fromJSWith(converter, v, k, json); + })); + } + if (isPlainObj(json)) { + return converter.call(parentJSON, key, KeyedSeq(json).map(function (v, k) { + return fromJSWith(converter, v, k, json); + })); + } + return json; + } + + function fromJSDefault(json) { + if (Array.isArray(json)) { + return IndexedSeq(json).map(fromJSDefault).toList(); + } + if (isPlainObj(json)) { + return KeyedSeq(json).map(fromJSDefault).toMap(); + } + return json; + } + + function isPlainObj(value) { + return value && (value.constructor === Object || value.constructor === undefined); + } + + /** + * An extension of the "same-value" algorithm as [described for use by ES6 Map + * and Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#Key_equality) + * + * NaN is considered the same as NaN, however -0 and 0 are considered the same + * value, which is different from the algorithm described by + * [`Object.is`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is). + * + * This is extended further to allow Objects to describe the values they + * represent, by way of `valueOf` or `equals` (and `hashCode`). + * + * Note: because of this extension, the key equality of Immutable.Map and the + * value equality of Immutable.Set will differ from ES6 Map and Set. + * + * ### Defining custom values + * + * The easiest way to describe the value an object represents is by implementing + * `valueOf`. For example, `Date` represents a value by returning a unix + * timestamp for `valueOf`: + * + * var date1 = new Date(1234567890000); // Fri Feb 13 2009 ... + * var date2 = new Date(1234567890000); + * date1.valueOf(); // 1234567890000 + * assert( date1 !== date2 ); + * assert( Immutable.is( date1, date2 ) ); + * + * Note: overriding `valueOf` may have other implications if you use this object + * where JavaScript expects a primitive, such as implicit string coercion. + * + * For more complex types, especially collections, implementing `valueOf` may + * not be performant. An alternative is to implement `equals` and `hashCode`. + * + * `equals` takes another object, presumably of similar type, and returns true + * if the it is equal. Equality is symmetrical, so the same result should be + * returned if this and the argument are flipped. + * + * assert( a.equals(b) === b.equals(a) ); + * + * `hashCode` returns a 32bit integer number representing the object which will + * be used to determine how to store the value object in a Map or Set. You must + * provide both or neither methods, one must not exist without the other. + * + * Also, an important relationship between these methods must be upheld: if two + * values are equal, they *must* return the same hashCode. If the values are not + * equal, they might have the same hashCode; this is called a hash collision, + * and while undesirable for performance reasons, it is acceptable. + * + * if (a.equals(b)) { + * assert( a.hashCode() === b.hashCode() ); + * } + * + * All Immutable collections implement `equals` and `hashCode`. + * + */ + function is(valueA, valueB) { + if (valueA === valueB || valueA !== valueA && valueB !== valueB) { + return true; + } + if (!valueA || !valueB) { + return false; + } + if (typeof valueA.valueOf === 'function' && typeof valueB.valueOf === 'function') { + valueA = valueA.valueOf(); + valueB = valueB.valueOf(); + if (valueA === valueB || valueA !== valueA && valueB !== valueB) { + return true; + } + if (!valueA || !valueB) { + return false; + } + } + if (typeof valueA.equals === 'function' && typeof valueB.equals === 'function' && valueA.equals(valueB)) { + return true; + } + return false; + } + + function deepEqual(a, b) { + if (a === b) { + return true; + } + + if (!isIterable(b) || a.size !== undefined && b.size !== undefined && a.size !== b.size || a.__hash !== undefined && b.__hash !== undefined && a.__hash !== b.__hash || isKeyed(a) !== isKeyed(b) || isIndexed(a) !== isIndexed(b) || isOrdered(a) !== isOrdered(b)) { + return false; + } + + if (a.size === 0 && b.size === 0) { + return true; + } + + var notAssociative = !isAssociative(a); + + if (isOrdered(a)) { + var entries = a.entries(); + return b.every(function (v, k) { + var entry = entries.next().value; + return entry && is(entry[1], v) && (notAssociative || is(entry[0], k)); + }) && entries.next().done; + } + + var flipped = false; + + if (a.size === undefined) { + if (b.size === undefined) { + if (typeof a.cacheResult === 'function') { + a.cacheResult(); + } + } else { + flipped = true; + var _ = a; + a = b; + b = _; + } + } + + var allEqual = true; + var bSize = b.__iterate(function (v, k) { + if (notAssociative ? !a.has(v) : flipped ? !is(v, a.get(k, NOT_SET)) : !is(a.get(k, NOT_SET), v)) { + allEqual = false; + return false; + } + }); + + return allEqual && a.size === bSize; + } + + createClass(Repeat, IndexedSeq); + + function Repeat(value, times) { + if (!(this instanceof Repeat)) { + return new Repeat(value, times); + } + this._value = value; + this.size = times === undefined ? Infinity : Math.max(0, times); + if (this.size === 0) { + if (EMPTY_REPEAT) { + return EMPTY_REPEAT; + } + EMPTY_REPEAT = this; + } + } + + Repeat.prototype.toString = function () { + if (this.size === 0) { + return 'Repeat []'; + } + return 'Repeat [ ' + this._value + ' ' + this.size + ' times ]'; + }; + + Repeat.prototype.get = function (index, notSetValue) { + return this.has(index) ? this._value : notSetValue; + }; + + Repeat.prototype.includes = function (searchValue) { + return is(this._value, searchValue); + }; + + Repeat.prototype.slice = function (begin, end) { + var size = this.size; + return wholeSlice(begin, end, size) ? this : new Repeat(this._value, resolveEnd(end, size) - resolveBegin(begin, size)); + }; + + Repeat.prototype.reverse = function () { + return this; + }; + + Repeat.prototype.indexOf = function (searchValue) { + if (is(this._value, searchValue)) { + return 0; + } + return -1; + }; + + Repeat.prototype.lastIndexOf = function (searchValue) { + if (is(this._value, searchValue)) { + return this.size; + } + return -1; + }; + + Repeat.prototype.__iterate = function (fn, reverse) { + for (var ii = 0; ii < this.size; ii++) { + if (fn(this._value, ii, this) === false) { + return ii + 1; + } + } + return ii; + }; + + Repeat.prototype.__iterator = function (type, reverse) { + var this$0 = this; + var ii = 0; + return new Iterator(function () { + return ii < this$0.size ? iteratorValue(type, ii++, this$0._value) : iteratorDone(); + }); + }; + + Repeat.prototype.equals = function (other) { + return other instanceof Repeat ? is(this._value, other._value) : deepEqual(other); + }; + + var EMPTY_REPEAT; + + function invariant(condition, error) { + if (!condition) throw new Error(error); + } + + createClass(Range, IndexedSeq); + + function Range(start, end, step) { + if (!(this instanceof Range)) { + return new Range(start, end, step); + } + invariant(step !== 0, 'Cannot step a Range by 0'); + start = start || 0; + if (end === undefined) { + end = Infinity; + } + step = step === undefined ? 1 : Math.abs(step); + if (end < start) { + step = -step; + } + this._start = start; + this._end = end; + this._step = step; + this.size = Math.max(0, Math.ceil((end - start) / step - 1) + 1); + if (this.size === 0) { + if (EMPTY_RANGE) { + return EMPTY_RANGE; + } + EMPTY_RANGE = this; + } + } + + Range.prototype.toString = function () { + if (this.size === 0) { + return 'Range []'; + } + return 'Range [ ' + this._start + '...' + this._end + (this._step !== 1 ? ' by ' + this._step : '') + ' ]'; + }; + + Range.prototype.get = function (index, notSetValue) { + return this.has(index) ? this._start + wrapIndex(this, index) * this._step : notSetValue; + }; + + Range.prototype.includes = function (searchValue) { + var possibleIndex = (searchValue - this._start) / this._step; + return possibleIndex >= 0 && possibleIndex < this.size && possibleIndex === Math.floor(possibleIndex); + }; + + Range.prototype.slice = function (begin, end) { + if (wholeSlice(begin, end, this.size)) { + return this; + } + begin = resolveBegin(begin, this.size); + end = resolveEnd(end, this.size); + if (end <= begin) { + return new Range(0, 0); + } + return new Range(this.get(begin, this._end), this.get(end, this._end), this._step); + }; + + Range.prototype.indexOf = function (searchValue) { + var offsetValue = searchValue - this._start; + if (offsetValue % this._step === 0) { + var index = offsetValue / this._step; + if (index >= 0 && index < this.size) { + return index; + } + } + return -1; + }; + + Range.prototype.lastIndexOf = function (searchValue) { + return this.indexOf(searchValue); + }; + + Range.prototype.__iterate = function (fn, reverse) { + var maxIndex = this.size - 1; + var step = this._step; + var value = reverse ? this._start + maxIndex * step : this._start; + for (var ii = 0; ii <= maxIndex; ii++) { + if (fn(value, ii, this) === false) { + return ii + 1; + } + value += reverse ? -step : step; + } + return ii; + }; + + Range.prototype.__iterator = function (type, reverse) { + var maxIndex = this.size - 1; + var step = this._step; + var value = reverse ? this._start + maxIndex * step : this._start; + var ii = 0; + return new Iterator(function () { + var v = value; + value += reverse ? -step : step; + return ii > maxIndex ? iteratorDone() : iteratorValue(type, ii++, v); + }); + }; + + Range.prototype.equals = function (other) { + return other instanceof Range ? this._start === other._start && this._end === other._end && this._step === other._step : deepEqual(this, other); + }; + + var EMPTY_RANGE; + + createClass(Collection, Iterable); + function Collection() { + throw TypeError('Abstract'); + } + + createClass(KeyedCollection, Collection);function KeyedCollection() {} + + createClass(IndexedCollection, Collection);function IndexedCollection() {} + + createClass(SetCollection, Collection);function SetCollection() {} + + Collection.Keyed = KeyedCollection; + Collection.Indexed = IndexedCollection; + Collection.Set = SetCollection; + + var imul = typeof Math.imul === 'function' && Math.imul(0xffffffff, 2) === -2 ? Math.imul : function imul(a, b) { + a = a | 0; // int + b = b | 0; // int + var c = a & 0xffff; + var d = b & 0xffff; + // Shift by 0 fixes the sign on the high part. + return c * d + ((a >>> 16) * d + c * (b >>> 16) << 16 >>> 0) | 0; // int + }; + + // v8 has an optimization for storing 31-bit signed numbers. + // Values which have either 00 or 11 as the high order bits qualify. + // This function drops the highest order bit in a signed number, maintaining + // the sign bit. + function smi(i32) { + return i32 >>> 1 & 0x40000000 | i32 & 0xBFFFFFFF; + } + + function hash(o) { + if (o === false || o === null || o === undefined) { + return 0; + } + if (typeof o.valueOf === 'function') { + o = o.valueOf(); + if (o === false || o === null || o === undefined) { + return 0; + } + } + if (o === true) { + return 1; + } + var type = typeof o === 'undefined' ? 'undefined' : _typeof(o); + if (type === 'number') { + if (o !== o || o === Infinity) { + return 0; + } + var h = o | 0; + if (h !== o) { + h ^= o * 0xFFFFFFFF; + } + while (o > 0xFFFFFFFF) { + o /= 0xFFFFFFFF; + h ^= o; + } + return smi(h); + } + if (type === 'string') { + return o.length > STRING_HASH_CACHE_MIN_STRLEN ? cachedHashString(o) : hashString(o); + } + if (typeof o.hashCode === 'function') { + return o.hashCode(); + } + if (type === 'object') { + return hashJSObj(o); + } + if (typeof o.toString === 'function') { + return hashString(o.toString()); + } + throw new Error('Value type ' + type + ' cannot be hashed.'); + } + + function cachedHashString(string) { + var hash = stringHashCache[string]; + if (hash === undefined) { + hash = hashString(string); + if (STRING_HASH_CACHE_SIZE === STRING_HASH_CACHE_MAX_SIZE) { + STRING_HASH_CACHE_SIZE = 0; + stringHashCache = {}; + } + STRING_HASH_CACHE_SIZE++; + stringHashCache[string] = hash; + } + return hash; + } + + // http://jsperf.com/hashing-strings + function hashString(string) { + // This is the hash from JVM + // The hash code for a string is computed as + // s[0] * 31 ^ (n - 1) + s[1] * 31 ^ (n - 2) + ... + s[n - 1], + // where s[i] is the ith character of the string and n is the length of + // the string. We "mod" the result to make it between 0 (inclusive) and 2^31 + // (exclusive) by dropping high bits. + var hash = 0; + for (var ii = 0; ii < string.length; ii++) { + hash = 31 * hash + string.charCodeAt(ii) | 0; + } + return smi(hash); + } + + function hashJSObj(obj) { + var hash; + if (usingWeakMap) { + hash = weakMap.get(obj); + if (hash !== undefined) { + return hash; + } + } + + hash = obj[UID_HASH_KEY]; + if (hash !== undefined) { + return hash; + } + + if (!canDefineProperty) { + hash = obj.propertyIsEnumerable && obj.propertyIsEnumerable[UID_HASH_KEY]; + if (hash !== undefined) { + return hash; + } + + hash = getIENodeHash(obj); + if (hash !== undefined) { + return hash; + } + } + + hash = ++objHashUID; + if (objHashUID & 0x40000000) { + objHashUID = 0; + } + + if (usingWeakMap) { + weakMap.set(obj, hash); + } else if (isExtensible !== undefined && isExtensible(obj) === false) { + throw new Error('Non-extensible objects are not allowed as keys.'); + } else if (canDefineProperty) { + Object.defineProperty(obj, UID_HASH_KEY, { + 'enumerable': false, + 'configurable': false, + 'writable': false, + 'value': hash + }); + } else if (obj.propertyIsEnumerable !== undefined && obj.propertyIsEnumerable === obj.constructor.prototype.propertyIsEnumerable) { + // Since we can't define a non-enumerable property on the object + // we'll hijack one of the less-used non-enumerable properties to + // save our hash on it. Since this is a function it will not show up in + // `JSON.stringify` which is what we want. + obj.propertyIsEnumerable = function () { + return this.constructor.prototype.propertyIsEnumerable.apply(this, arguments); + }; + obj.propertyIsEnumerable[UID_HASH_KEY] = hash; + } else if (obj.nodeType !== undefined) { + // At this point we couldn't get the IE `uniqueID` to use as a hash + // and we couldn't use a non-enumerable property to exploit the + // dontEnum bug so we simply add the `UID_HASH_KEY` on the node + // itself. + obj[UID_HASH_KEY] = hash; + } else { + throw new Error('Unable to set a non-enumerable property on object.'); + } + + return hash; + } + + // Get references to ES5 object methods. + var isExtensible = Object.isExtensible; + + // True if Object.defineProperty works as expected. IE8 fails this test. + var canDefineProperty = function () { + try { + Object.defineProperty({}, '@', {}); + return true; + } catch (e) { + return false; + } + }(); + + // IE has a `uniqueID` property on DOM nodes. We can construct the hash from it + // and avoid memory leaks from the IE cloneNode bug. + function getIENodeHash(node) { + if (node && node.nodeType > 0) { + switch (node.nodeType) { + case 1: + // Element + return node.uniqueID; + case 9: + // Document + return node.documentElement && node.documentElement.uniqueID; + } + } + } + + // If possible, use a WeakMap. + var usingWeakMap = typeof WeakMap === 'function'; + var weakMap; + if (usingWeakMap) { + weakMap = new WeakMap(); + } + + var objHashUID = 0; + + var UID_HASH_KEY = '__immutablehash__'; + if (typeof Symbol === 'function') { + UID_HASH_KEY = Symbol(UID_HASH_KEY); + } + + var STRING_HASH_CACHE_MIN_STRLEN = 16; + var STRING_HASH_CACHE_MAX_SIZE = 255; + var STRING_HASH_CACHE_SIZE = 0; + var stringHashCache = {}; + + function assertNotInfinite(size) { + invariant(size !== Infinity, 'Cannot perform this action with an infinite size.'); + } + + createClass(Map, KeyedCollection); + + // @pragma Construction + + function Map(value) { + return value === null || value === undefined ? emptyMap() : isMap(value) && !isOrdered(value) ? value : emptyMap().withMutations(function (map) { + var iter = KeyedIterable(value); + assertNotInfinite(iter.size); + iter.forEach(function (v, k) { + return map.set(k, v); + }); + }); + } + + Map.of = function () { + var keyValues = SLICE$0.call(arguments, 0); + return emptyMap().withMutations(function (map) { + for (var i = 0; i < keyValues.length; i += 2) { + if (i + 1 >= keyValues.length) { + throw new Error('Missing value for key: ' + keyValues[i]); + } + map.set(keyValues[i], keyValues[i + 1]); + } + }); + }; + + Map.prototype.toString = function () { + return this.__toString('Map {', '}'); + }; + + // @pragma Access + + Map.prototype.get = function (k, notSetValue) { + return this._root ? this._root.get(0, undefined, k, notSetValue) : notSetValue; + }; + + // @pragma Modification + + Map.prototype.set = function (k, v) { + return updateMap(this, k, v); + }; + + Map.prototype.setIn = function (keyPath, v) { + return this.updateIn(keyPath, NOT_SET, function () { + return v; + }); + }; + + Map.prototype.remove = function (k) { + return updateMap(this, k, NOT_SET); + }; + + Map.prototype.deleteIn = function (keyPath) { + return this.updateIn(keyPath, function () { + return NOT_SET; + }); + }; + + Map.prototype.update = function (k, notSetValue, updater) { + return arguments.length === 1 ? k(this) : this.updateIn([k], notSetValue, updater); + }; + + Map.prototype.updateIn = function (keyPath, notSetValue, updater) { + if (!updater) { + updater = notSetValue; + notSetValue = undefined; + } + var updatedValue = updateInDeepMap(this, forceIterator(keyPath), notSetValue, updater); + return updatedValue === NOT_SET ? undefined : updatedValue; + }; + + Map.prototype.clear = function () { + if (this.size === 0) { + return this; + } + if (this.__ownerID) { + this.size = 0; + this._root = null; + this.__hash = undefined; + this.__altered = true; + return this; + } + return emptyMap(); + }; + + // @pragma Composition + + Map.prototype.merge = function () /*...iters*/{ + return mergeIntoMapWith(this, undefined, arguments); + }; + + Map.prototype.mergeWith = function (merger) { + var iters = SLICE$0.call(arguments, 1); + return mergeIntoMapWith(this, merger, iters); + }; + + Map.prototype.mergeIn = function (keyPath) { + var iters = SLICE$0.call(arguments, 1); + return this.updateIn(keyPath, emptyMap(), function (m) { + return typeof m.merge === 'function' ? m.merge.apply(m, iters) : iters[iters.length - 1]; + }); + }; + + Map.prototype.mergeDeep = function () /*...iters*/{ + return mergeIntoMapWith(this, deepMerger, arguments); + }; + + Map.prototype.mergeDeepWith = function (merger) { + var iters = SLICE$0.call(arguments, 1); + return mergeIntoMapWith(this, deepMergerWith(merger), iters); + }; + + Map.prototype.mergeDeepIn = function (keyPath) { + var iters = SLICE$0.call(arguments, 1); + return this.updateIn(keyPath, emptyMap(), function (m) { + return typeof m.mergeDeep === 'function' ? m.mergeDeep.apply(m, iters) : iters[iters.length - 1]; + }); + }; + + Map.prototype.sort = function (comparator) { + // Late binding + return OrderedMap(sortFactory(this, comparator)); + }; + + Map.prototype.sortBy = function (mapper, comparator) { + // Late binding + return OrderedMap(sortFactory(this, comparator, mapper)); + }; + + // @pragma Mutability + + Map.prototype.withMutations = function (fn) { + var mutable = this.asMutable(); + fn(mutable); + return mutable.wasAltered() ? mutable.__ensureOwner(this.__ownerID) : this; + }; + + Map.prototype.asMutable = function () { + return this.__ownerID ? this : this.__ensureOwner(new OwnerID()); + }; + + Map.prototype.asImmutable = function () { + return this.__ensureOwner(); + }; + + Map.prototype.wasAltered = function () { + return this.__altered; + }; + + Map.prototype.__iterator = function (type, reverse) { + return new MapIterator(this, type, reverse); + }; + + Map.prototype.__iterate = function (fn, reverse) { + var this$0 = this; + var iterations = 0; + this._root && this._root.iterate(function (entry) { + iterations++; + return fn(entry[1], entry[0], this$0); + }, reverse); + return iterations; + }; + + Map.prototype.__ensureOwner = function (ownerID) { + if (ownerID === this.__ownerID) { + return this; + } + if (!ownerID) { + this.__ownerID = ownerID; + this.__altered = false; + return this; + } + return makeMap(this.size, this._root, ownerID, this.__hash); + }; + + function isMap(maybeMap) { + return !!(maybeMap && maybeMap[IS_MAP_SENTINEL]); + } + + Map.isMap = isMap; + + var IS_MAP_SENTINEL = '@@__IMMUTABLE_MAP__@@'; + + var MapPrototype = Map.prototype; + MapPrototype[IS_MAP_SENTINEL] = true; + MapPrototype[DELETE] = MapPrototype.remove; + MapPrototype.removeIn = MapPrototype.deleteIn; + + // #pragma Trie Nodes + + + function ArrayMapNode(ownerID, entries) { + this.ownerID = ownerID; + this.entries = entries; + } + + ArrayMapNode.prototype.get = function (shift, keyHash, key, notSetValue) { + var entries = this.entries; + for (var ii = 0, len = entries.length; ii < len; ii++) { + if (is(key, entries[ii][0])) { + return entries[ii][1]; + } + } + return notSetValue; + }; + + ArrayMapNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) { + var removed = value === NOT_SET; + + var entries = this.entries; + var idx = 0; + for (var len = entries.length; idx < len; idx++) { + if (is(key, entries[idx][0])) { + break; + } + } + var exists = idx < len; + + if (exists ? entries[idx][1] === value : removed) { + return this; + } + + SetRef(didAlter); + (removed || !exists) && SetRef(didChangeSize); + + if (removed && entries.length === 1) { + return; // undefined + } + + if (!exists && !removed && entries.length >= MAX_ARRAY_MAP_SIZE) { + return createNodes(ownerID, entries, key, value); + } + + var isEditable = ownerID && ownerID === this.ownerID; + var newEntries = isEditable ? entries : arrCopy(entries); + + if (exists) { + if (removed) { + idx === len - 1 ? newEntries.pop() : newEntries[idx] = newEntries.pop(); + } else { + newEntries[idx] = [key, value]; + } + } else { + newEntries.push([key, value]); + } + + if (isEditable) { + this.entries = newEntries; + return this; + } + + return new ArrayMapNode(ownerID, newEntries); + }; + + function BitmapIndexedNode(ownerID, bitmap, nodes) { + this.ownerID = ownerID; + this.bitmap = bitmap; + this.nodes = nodes; + } + + BitmapIndexedNode.prototype.get = function (shift, keyHash, key, notSetValue) { + if (keyHash === undefined) { + keyHash = hash(key); + } + var bit = 1 << ((shift === 0 ? keyHash : keyHash >>> shift) & MASK); + var bitmap = this.bitmap; + return (bitmap & bit) === 0 ? notSetValue : this.nodes[popCount(bitmap & bit - 1)].get(shift + SHIFT, keyHash, key, notSetValue); + }; + + BitmapIndexedNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) { + if (keyHash === undefined) { + keyHash = hash(key); + } + var keyHashFrag = (shift === 0 ? keyHash : keyHash >>> shift) & MASK; + var bit = 1 << keyHashFrag; + var bitmap = this.bitmap; + var exists = (bitmap & bit) !== 0; + + if (!exists && value === NOT_SET) { + return this; + } + + var idx = popCount(bitmap & bit - 1); + var nodes = this.nodes; + var node = exists ? nodes[idx] : undefined; + var newNode = updateNode(node, ownerID, shift + SHIFT, keyHash, key, value, didChangeSize, didAlter); + + if (newNode === node) { + return this; + } + + if (!exists && newNode && nodes.length >= MAX_BITMAP_INDEXED_SIZE) { + return expandNodes(ownerID, nodes, bitmap, keyHashFrag, newNode); + } + + if (exists && !newNode && nodes.length === 2 && isLeafNode(nodes[idx ^ 1])) { + return nodes[idx ^ 1]; + } + + if (exists && newNode && nodes.length === 1 && isLeafNode(newNode)) { + return newNode; + } + + var isEditable = ownerID && ownerID === this.ownerID; + var newBitmap = exists ? newNode ? bitmap : bitmap ^ bit : bitmap | bit; + var newNodes = exists ? newNode ? setIn(nodes, idx, newNode, isEditable) : spliceOut(nodes, idx, isEditable) : spliceIn(nodes, idx, newNode, isEditable); + + if (isEditable) { + this.bitmap = newBitmap; + this.nodes = newNodes; + return this; + } + + return new BitmapIndexedNode(ownerID, newBitmap, newNodes); + }; + + function HashArrayMapNode(ownerID, count, nodes) { + this.ownerID = ownerID; + this.count = count; + this.nodes = nodes; + } + + HashArrayMapNode.prototype.get = function (shift, keyHash, key, notSetValue) { + if (keyHash === undefined) { + keyHash = hash(key); + } + var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK; + var node = this.nodes[idx]; + return node ? node.get(shift + SHIFT, keyHash, key, notSetValue) : notSetValue; + }; + + HashArrayMapNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) { + if (keyHash === undefined) { + keyHash = hash(key); + } + var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK; + var removed = value === NOT_SET; + var nodes = this.nodes; + var node = nodes[idx]; + + if (removed && !node) { + return this; + } + + var newNode = updateNode(node, ownerID, shift + SHIFT, keyHash, key, value, didChangeSize, didAlter); + if (newNode === node) { + return this; + } + + var newCount = this.count; + if (!node) { + newCount++; + } else if (!newNode) { + newCount--; + if (newCount < MIN_HASH_ARRAY_MAP_SIZE) { + return packNodes(ownerID, nodes, newCount, idx); + } + } + + var isEditable = ownerID && ownerID === this.ownerID; + var newNodes = setIn(nodes, idx, newNode, isEditable); + + if (isEditable) { + this.count = newCount; + this.nodes = newNodes; + return this; + } + + return new HashArrayMapNode(ownerID, newCount, newNodes); + }; + + function HashCollisionNode(ownerID, keyHash, entries) { + this.ownerID = ownerID; + this.keyHash = keyHash; + this.entries = entries; + } + + HashCollisionNode.prototype.get = function (shift, keyHash, key, notSetValue) { + var entries = this.entries; + for (var ii = 0, len = entries.length; ii < len; ii++) { + if (is(key, entries[ii][0])) { + return entries[ii][1]; + } + } + return notSetValue; + }; + + HashCollisionNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) { + if (keyHash === undefined) { + keyHash = hash(key); + } + + var removed = value === NOT_SET; + + if (keyHash !== this.keyHash) { + if (removed) { + return this; + } + SetRef(didAlter); + SetRef(didChangeSize); + return mergeIntoNode(this, ownerID, shift, keyHash, [key, value]); + } + + var entries = this.entries; + var idx = 0; + for (var len = entries.length; idx < len; idx++) { + if (is(key, entries[idx][0])) { + break; + } + } + var exists = idx < len; + + if (exists ? entries[idx][1] === value : removed) { + return this; + } + + SetRef(didAlter); + (removed || !exists) && SetRef(didChangeSize); + + if (removed && len === 2) { + return new ValueNode(ownerID, this.keyHash, entries[idx ^ 1]); + } + + var isEditable = ownerID && ownerID === this.ownerID; + var newEntries = isEditable ? entries : arrCopy(entries); + + if (exists) { + if (removed) { + idx === len - 1 ? newEntries.pop() : newEntries[idx] = newEntries.pop(); + } else { + newEntries[idx] = [key, value]; + } + } else { + newEntries.push([key, value]); + } + + if (isEditable) { + this.entries = newEntries; + return this; + } + + return new HashCollisionNode(ownerID, this.keyHash, newEntries); + }; + + function ValueNode(ownerID, keyHash, entry) { + this.ownerID = ownerID; + this.keyHash = keyHash; + this.entry = entry; + } + + ValueNode.prototype.get = function (shift, keyHash, key, notSetValue) { + return is(key, this.entry[0]) ? this.entry[1] : notSetValue; + }; + + ValueNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) { + var removed = value === NOT_SET; + var keyMatch = is(key, this.entry[0]); + if (keyMatch ? value === this.entry[1] : removed) { + return this; + } + + SetRef(didAlter); + + if (removed) { + SetRef(didChangeSize); + return; // undefined + } + + if (keyMatch) { + if (ownerID && ownerID === this.ownerID) { + this.entry[1] = value; + return this; + } + return new ValueNode(ownerID, this.keyHash, [key, value]); + } + + SetRef(didChangeSize); + return mergeIntoNode(this, ownerID, shift, hash(key), [key, value]); + }; + + // #pragma Iterators + + ArrayMapNode.prototype.iterate = HashCollisionNode.prototype.iterate = function (fn, reverse) { + var entries = this.entries; + for (var ii = 0, maxIndex = entries.length - 1; ii <= maxIndex; ii++) { + if (fn(entries[reverse ? maxIndex - ii : ii]) === false) { + return false; + } + } + }; + + BitmapIndexedNode.prototype.iterate = HashArrayMapNode.prototype.iterate = function (fn, reverse) { + var nodes = this.nodes; + for (var ii = 0, maxIndex = nodes.length - 1; ii <= maxIndex; ii++) { + var node = nodes[reverse ? maxIndex - ii : ii]; + if (node && node.iterate(fn, reverse) === false) { + return false; + } + } + }; + + ValueNode.prototype.iterate = function (fn, reverse) { + return fn(this.entry); + }; + + createClass(MapIterator, Iterator); + + function MapIterator(map, type, reverse) { + this._type = type; + this._reverse = reverse; + this._stack = map._root && mapIteratorFrame(map._root); + } + + MapIterator.prototype.next = function () { + var type = this._type; + var stack = this._stack; + while (stack) { + var node = stack.node; + var index = stack.index++; + var maxIndex; + if (node.entry) { + if (index === 0) { + return mapIteratorValue(type, node.entry); + } + } else if (node.entries) { + maxIndex = node.entries.length - 1; + if (index <= maxIndex) { + return mapIteratorValue(type, node.entries[this._reverse ? maxIndex - index : index]); + } + } else { + maxIndex = node.nodes.length - 1; + if (index <= maxIndex) { + var subNode = node.nodes[this._reverse ? maxIndex - index : index]; + if (subNode) { + if (subNode.entry) { + return mapIteratorValue(type, subNode.entry); + } + stack = this._stack = mapIteratorFrame(subNode, stack); + } + continue; + } + } + stack = this._stack = this._stack.__prev; + } + return iteratorDone(); + }; + + function mapIteratorValue(type, entry) { + return iteratorValue(type, entry[0], entry[1]); + } + + function mapIteratorFrame(node, prev) { + return { + node: node, + index: 0, + __prev: prev + }; + } + + function makeMap(size, root, ownerID, hash) { + var map = Object.create(MapPrototype); + map.size = size; + map._root = root; + map.__ownerID = ownerID; + map.__hash = hash; + map.__altered = false; + return map; + } + + var EMPTY_MAP; + function emptyMap() { + return EMPTY_MAP || (EMPTY_MAP = makeMap(0)); + } + + function updateMap(map, k, v) { + var newRoot; + var newSize; + if (!map._root) { + if (v === NOT_SET) { + return map; + } + newSize = 1; + newRoot = new ArrayMapNode(map.__ownerID, [[k, v]]); + } else { + var didChangeSize = MakeRef(CHANGE_LENGTH); + var didAlter = MakeRef(DID_ALTER); + newRoot = updateNode(map._root, map.__ownerID, 0, undefined, k, v, didChangeSize, didAlter); + if (!didAlter.value) { + return map; + } + newSize = map.size + (didChangeSize.value ? v === NOT_SET ? -1 : 1 : 0); + } + if (map.__ownerID) { + map.size = newSize; + map._root = newRoot; + map.__hash = undefined; + map.__altered = true; + return map; + } + return newRoot ? makeMap(newSize, newRoot) : emptyMap(); + } + + function updateNode(node, ownerID, shift, keyHash, key, value, didChangeSize, didAlter) { + if (!node) { + if (value === NOT_SET) { + return node; + } + SetRef(didAlter); + SetRef(didChangeSize); + return new ValueNode(ownerID, keyHash, [key, value]); + } + return node.update(ownerID, shift, keyHash, key, value, didChangeSize, didAlter); + } + + function isLeafNode(node) { + return node.constructor === ValueNode || node.constructor === HashCollisionNode; + } + + function mergeIntoNode(node, ownerID, shift, keyHash, entry) { + if (node.keyHash === keyHash) { + return new HashCollisionNode(ownerID, keyHash, [node.entry, entry]); + } + + var idx1 = (shift === 0 ? node.keyHash : node.keyHash >>> shift) & MASK; + var idx2 = (shift === 0 ? keyHash : keyHash >>> shift) & MASK; + + var newNode; + var nodes = idx1 === idx2 ? [mergeIntoNode(node, ownerID, shift + SHIFT, keyHash, entry)] : (newNode = new ValueNode(ownerID, keyHash, entry), idx1 < idx2 ? [node, newNode] : [newNode, node]); + + return new BitmapIndexedNode(ownerID, 1 << idx1 | 1 << idx2, nodes); + } + + function createNodes(ownerID, entries, key, value) { + if (!ownerID) { + ownerID = new OwnerID(); + } + var node = new ValueNode(ownerID, hash(key), [key, value]); + for (var ii = 0; ii < entries.length; ii++) { + var entry = entries[ii]; + node = node.update(ownerID, 0, undefined, entry[0], entry[1]); + } + return node; + } + + function packNodes(ownerID, nodes, count, excluding) { + var bitmap = 0; + var packedII = 0; + var packedNodes = new Array(count); + for (var ii = 0, bit = 1, len = nodes.length; ii < len; ii++, bit <<= 1) { + var node = nodes[ii]; + if (node !== undefined && ii !== excluding) { + bitmap |= bit; + packedNodes[packedII++] = node; + } + } + return new BitmapIndexedNode(ownerID, bitmap, packedNodes); + } + + function expandNodes(ownerID, nodes, bitmap, including, node) { + var count = 0; + var expandedNodes = new Array(SIZE); + for (var ii = 0; bitmap !== 0; ii++, bitmap >>>= 1) { + expandedNodes[ii] = bitmap & 1 ? nodes[count++] : undefined; + } + expandedNodes[including] = node; + return new HashArrayMapNode(ownerID, count + 1, expandedNodes); + } + + function mergeIntoMapWith(map, merger, iterables) { + var iters = []; + for (var ii = 0; ii < iterables.length; ii++) { + var value = iterables[ii]; + var iter = KeyedIterable(value); + if (!isIterable(value)) { + iter = iter.map(function (v) { + return fromJS(v); + }); + } + iters.push(iter); + } + return mergeIntoCollectionWith(map, merger, iters); + } + + function deepMerger(existing, value, key) { + return existing && existing.mergeDeep && isIterable(value) ? existing.mergeDeep(value) : is(existing, value) ? existing : value; + } + + function deepMergerWith(merger) { + return function (existing, value, key) { + if (existing && existing.mergeDeepWith && isIterable(value)) { + return existing.mergeDeepWith(merger, value); + } + var nextValue = merger(existing, value, key); + return is(existing, nextValue) ? existing : nextValue; + }; + } + + function mergeIntoCollectionWith(collection, merger, iters) { + iters = iters.filter(function (x) { + return x.size !== 0; + }); + if (iters.length === 0) { + return collection; + } + if (collection.size === 0 && !collection.__ownerID && iters.length === 1) { + return collection.constructor(iters[0]); + } + return collection.withMutations(function (collection) { + var mergeIntoMap = merger ? function (value, key) { + collection.update(key, NOT_SET, function (existing) { + return existing === NOT_SET ? value : merger(existing, value, key); + }); + } : function (value, key) { + collection.set(key, value); + }; + for (var ii = 0; ii < iters.length; ii++) { + iters[ii].forEach(mergeIntoMap); + } + }); + } + + function updateInDeepMap(existing, keyPathIter, notSetValue, updater) { + var isNotSet = existing === NOT_SET; + var step = keyPathIter.next(); + if (step.done) { + var existingValue = isNotSet ? notSetValue : existing; + var newValue = updater(existingValue); + return newValue === existingValue ? existing : newValue; + } + invariant(isNotSet || existing && existing.set, 'invalid keyPath'); + var key = step.value; + var nextExisting = isNotSet ? NOT_SET : existing.get(key, NOT_SET); + var nextUpdated = updateInDeepMap(nextExisting, keyPathIter, notSetValue, updater); + return nextUpdated === nextExisting ? existing : nextUpdated === NOT_SET ? existing.remove(key) : (isNotSet ? emptyMap() : existing).set(key, nextUpdated); + } + + function popCount(x) { + x = x - (x >> 1 & 0x55555555); + x = (x & 0x33333333) + (x >> 2 & 0x33333333); + x = x + (x >> 4) & 0x0f0f0f0f; + x = x + (x >> 8); + x = x + (x >> 16); + return x & 0x7f; + } + + function setIn(array, idx, val, canEdit) { + var newArray = canEdit ? array : arrCopy(array); + newArray[idx] = val; + return newArray; + } + + function spliceIn(array, idx, val, canEdit) { + var newLen = array.length + 1; + if (canEdit && idx + 1 === newLen) { + array[idx] = val; + return array; + } + var newArray = new Array(newLen); + var after = 0; + for (var ii = 0; ii < newLen; ii++) { + if (ii === idx) { + newArray[ii] = val; + after = -1; + } else { + newArray[ii] = array[ii + after]; + } + } + return newArray; + } + + function spliceOut(array, idx, canEdit) { + var newLen = array.length - 1; + if (canEdit && idx === newLen) { + array.pop(); + return array; + } + var newArray = new Array(newLen); + var after = 0; + for (var ii = 0; ii < newLen; ii++) { + if (ii === idx) { + after = 1; + } + newArray[ii] = array[ii + after]; + } + return newArray; + } + + var MAX_ARRAY_MAP_SIZE = SIZE / 4; + var MAX_BITMAP_INDEXED_SIZE = SIZE / 2; + var MIN_HASH_ARRAY_MAP_SIZE = SIZE / 4; + + createClass(List, IndexedCollection); + + // @pragma Construction + + function List(value) { + var empty = emptyList(); + if (value === null || value === undefined) { + return empty; + } + if (isList(value)) { + return value; + } + var iter = IndexedIterable(value); + var size = iter.size; + if (size === 0) { + return empty; + } + assertNotInfinite(size); + if (size > 0 && size < SIZE) { + return makeList(0, size, SHIFT, null, new VNode(iter.toArray())); + } + return empty.withMutations(function (list) { + list.setSize(size); + iter.forEach(function (v, i) { + return list.set(i, v); + }); + }); + } + + List.of = function () /*...values*/{ + return this(arguments); + }; + + List.prototype.toString = function () { + return this.__toString('List [', ']'); + }; + + // @pragma Access + + List.prototype.get = function (index, notSetValue) { + index = wrapIndex(this, index); + if (index >= 0 && index < this.size) { + index += this._origin; + var node = listNodeFor(this, index); + return node && node.array[index & MASK]; + } + return notSetValue; + }; + + // @pragma Modification + + List.prototype.set = function (index, value) { + return updateList(this, index, value); + }; + + List.prototype.remove = function (index) { + return !this.has(index) ? this : index === 0 ? this.shift() : index === this.size - 1 ? this.pop() : this.splice(index, 1); + }; + + List.prototype.insert = function (index, value) { + return this.splice(index, 0, value); + }; + + List.prototype.clear = function () { + if (this.size === 0) { + return this; + } + if (this.__ownerID) { + this.size = this._origin = this._capacity = 0; + this._level = SHIFT; + this._root = this._tail = null; + this.__hash = undefined; + this.__altered = true; + return this; + } + return emptyList(); + }; + + List.prototype.push = function () /*...values*/{ + var values = arguments; + var oldSize = this.size; + return this.withMutations(function (list) { + setListBounds(list, 0, oldSize + values.length); + for (var ii = 0; ii < values.length; ii++) { + list.set(oldSize + ii, values[ii]); + } + }); + }; + + List.prototype.pop = function () { + return setListBounds(this, 0, -1); + }; + + List.prototype.unshift = function () /*...values*/{ + var values = arguments; + return this.withMutations(function (list) { + setListBounds(list, -values.length); + for (var ii = 0; ii < values.length; ii++) { + list.set(ii, values[ii]); + } + }); + }; + + List.prototype.shift = function () { + return setListBounds(this, 1); + }; + + // @pragma Composition + + List.prototype.merge = function () /*...iters*/{ + return mergeIntoListWith(this, undefined, arguments); + }; + + List.prototype.mergeWith = function (merger) { + var iters = SLICE$0.call(arguments, 1); + return mergeIntoListWith(this, merger, iters); + }; + + List.prototype.mergeDeep = function () /*...iters*/{ + return mergeIntoListWith(this, deepMerger, arguments); + }; + + List.prototype.mergeDeepWith = function (merger) { + var iters = SLICE$0.call(arguments, 1); + return mergeIntoListWith(this, deepMergerWith(merger), iters); + }; + + List.prototype.setSize = function (size) { + return setListBounds(this, 0, size); + }; + + // @pragma Iteration + + List.prototype.slice = function (begin, end) { + var size = this.size; + if (wholeSlice(begin, end, size)) { + return this; + } + return setListBounds(this, resolveBegin(begin, size), resolveEnd(end, size)); + }; + + List.prototype.__iterator = function (type, reverse) { + var index = 0; + var values = iterateList(this, reverse); + return new Iterator(function () { + var value = values(); + return value === DONE ? iteratorDone() : iteratorValue(type, index++, value); + }); + }; + + List.prototype.__iterate = function (fn, reverse) { + var index = 0; + var values = iterateList(this, reverse); + var value; + while ((value = values()) !== DONE) { + if (fn(value, index++, this) === false) { + break; + } + } + return index; + }; + + List.prototype.__ensureOwner = function (ownerID) { + if (ownerID === this.__ownerID) { + return this; + } + if (!ownerID) { + this.__ownerID = ownerID; + return this; + } + return makeList(this._origin, this._capacity, this._level, this._root, this._tail, ownerID, this.__hash); + }; + + function isList(maybeList) { + return !!(maybeList && maybeList[IS_LIST_SENTINEL]); + } + + List.isList = isList; + + var IS_LIST_SENTINEL = '@@__IMMUTABLE_LIST__@@'; + + var ListPrototype = List.prototype; + ListPrototype[IS_LIST_SENTINEL] = true; + ListPrototype[DELETE] = ListPrototype.remove; + ListPrototype.setIn = MapPrototype.setIn; + ListPrototype.deleteIn = ListPrototype.removeIn = MapPrototype.removeIn; + ListPrototype.update = MapPrototype.update; + ListPrototype.updateIn = MapPrototype.updateIn; + ListPrototype.mergeIn = MapPrototype.mergeIn; + ListPrototype.mergeDeepIn = MapPrototype.mergeDeepIn; + ListPrototype.withMutations = MapPrototype.withMutations; + ListPrototype.asMutable = MapPrototype.asMutable; + ListPrototype.asImmutable = MapPrototype.asImmutable; + ListPrototype.wasAltered = MapPrototype.wasAltered; + + function VNode(array, ownerID) { + this.array = array; + this.ownerID = ownerID; + } + + // TODO: seems like these methods are very similar + + VNode.prototype.removeBefore = function (ownerID, level, index) { + if (index === level ? 1 << level : 0 || this.array.length === 0) { + return this; + } + var originIndex = index >>> level & MASK; + if (originIndex >= this.array.length) { + return new VNode([], ownerID); + } + var removingFirst = originIndex === 0; + var newChild; + if (level > 0) { + var oldChild = this.array[originIndex]; + newChild = oldChild && oldChild.removeBefore(ownerID, level - SHIFT, index); + if (newChild === oldChild && removingFirst) { + return this; + } + } + if (removingFirst && !newChild) { + return this; + } + var editable = editableVNode(this, ownerID); + if (!removingFirst) { + for (var ii = 0; ii < originIndex; ii++) { + editable.array[ii] = undefined; + } + } + if (newChild) { + editable.array[originIndex] = newChild; + } + return editable; + }; + + VNode.prototype.removeAfter = function (ownerID, level, index) { + if (index === (level ? 1 << level : 0) || this.array.length === 0) { + return this; + } + var sizeIndex = index - 1 >>> level & MASK; + if (sizeIndex >= this.array.length) { + return this; + } + + var newChild; + if (level > 0) { + var oldChild = this.array[sizeIndex]; + newChild = oldChild && oldChild.removeAfter(ownerID, level - SHIFT, index); + if (newChild === oldChild && sizeIndex === this.array.length - 1) { + return this; + } + } + + var editable = editableVNode(this, ownerID); + editable.array.splice(sizeIndex + 1); + if (newChild) { + editable.array[sizeIndex] = newChild; + } + return editable; + }; + + var DONE = {}; + + function iterateList(list, reverse) { + var left = list._origin; + var right = list._capacity; + var tailPos = getTailOffset(right); + var tail = list._tail; + + return iterateNodeOrLeaf(list._root, list._level, 0); + + function iterateNodeOrLeaf(node, level, offset) { + return level === 0 ? iterateLeaf(node, offset) : iterateNode(node, level, offset); + } + + function iterateLeaf(node, offset) { + var array = offset === tailPos ? tail && tail.array : node && node.array; + var from = offset > left ? 0 : left - offset; + var to = right - offset; + if (to > SIZE) { + to = SIZE; + } + return function () { + if (from === to) { + return DONE; + } + var idx = reverse ? --to : from++; + return array && array[idx]; + }; + } + + function iterateNode(node, level, offset) { + var values; + var array = node && node.array; + var from = offset > left ? 0 : left - offset >> level; + var to = (right - offset >> level) + 1; + if (to > SIZE) { + to = SIZE; + } + return function () { + do { + if (values) { + var value = values(); + if (value !== DONE) { + return value; + } + values = null; + } + if (from === to) { + return DONE; + } + var idx = reverse ? --to : from++; + values = iterateNodeOrLeaf(array && array[idx], level - SHIFT, offset + (idx << level)); + } while (true); + }; + } + } + + function makeList(origin, capacity, level, root, tail, ownerID, hash) { + var list = Object.create(ListPrototype); + list.size = capacity - origin; + list._origin = origin; + list._capacity = capacity; + list._level = level; + list._root = root; + list._tail = tail; + list.__ownerID = ownerID; + list.__hash = hash; + list.__altered = false; + return list; + } + + var EMPTY_LIST; + function emptyList() { + return EMPTY_LIST || (EMPTY_LIST = makeList(0, 0, SHIFT)); + } + + function updateList(list, index, value) { + index = wrapIndex(list, index); + + if (index !== index) { + return list; + } + + if (index >= list.size || index < 0) { + return list.withMutations(function (list) { + index < 0 ? setListBounds(list, index).set(0, value) : setListBounds(list, 0, index + 1).set(index, value); + }); + } + + index += list._origin; + + var newTail = list._tail; + var newRoot = list._root; + var didAlter = MakeRef(DID_ALTER); + if (index >= getTailOffset(list._capacity)) { + newTail = updateVNode(newTail, list.__ownerID, 0, index, value, didAlter); + } else { + newRoot = updateVNode(newRoot, list.__ownerID, list._level, index, value, didAlter); + } + + if (!didAlter.value) { + return list; + } + + if (list.__ownerID) { + list._root = newRoot; + list._tail = newTail; + list.__hash = undefined; + list.__altered = true; + return list; + } + return makeList(list._origin, list._capacity, list._level, newRoot, newTail); + } + + function updateVNode(node, ownerID, level, index, value, didAlter) { + var idx = index >>> level & MASK; + var nodeHas = node && idx < node.array.length; + if (!nodeHas && value === undefined) { + return node; + } + + var newNode; + + if (level > 0) { + var lowerNode = node && node.array[idx]; + var newLowerNode = updateVNode(lowerNode, ownerID, level - SHIFT, index, value, didAlter); + if (newLowerNode === lowerNode) { + return node; + } + newNode = editableVNode(node, ownerID); + newNode.array[idx] = newLowerNode; + return newNode; + } + + if (nodeHas && node.array[idx] === value) { + return node; + } + + SetRef(didAlter); + + newNode = editableVNode(node, ownerID); + if (value === undefined && idx === newNode.array.length - 1) { + newNode.array.pop(); + } else { + newNode.array[idx] = value; + } + return newNode; + } + + function editableVNode(node, ownerID) { + if (ownerID && node && ownerID === node.ownerID) { + return node; + } + return new VNode(node ? node.array.slice() : [], ownerID); + } + + function listNodeFor(list, rawIndex) { + if (rawIndex >= getTailOffset(list._capacity)) { + return list._tail; + } + if (rawIndex < 1 << list._level + SHIFT) { + var node = list._root; + var level = list._level; + while (node && level > 0) { + node = node.array[rawIndex >>> level & MASK]; + level -= SHIFT; + } + return node; + } + } + + function setListBounds(list, begin, end) { + // Sanitize begin & end using this shorthand for ToInt32(argument) + // http://www.ecma-international.org/ecma-262/6.0/#sec-toint32 + if (begin !== undefined) { + begin = begin | 0; + } + if (end !== undefined) { + end = end | 0; + } + var owner = list.__ownerID || new OwnerID(); + var oldOrigin = list._origin; + var oldCapacity = list._capacity; + var newOrigin = oldOrigin + begin; + var newCapacity = end === undefined ? oldCapacity : end < 0 ? oldCapacity + end : oldOrigin + end; + if (newOrigin === oldOrigin && newCapacity === oldCapacity) { + return list; + } + + // If it's going to end after it starts, it's empty. + if (newOrigin >= newCapacity) { + return list.clear(); + } + + var newLevel = list._level; + var newRoot = list._root; + + // New origin might need creating a higher root. + var offsetShift = 0; + while (newOrigin + offsetShift < 0) { + newRoot = new VNode(newRoot && newRoot.array.length ? [undefined, newRoot] : [], owner); + newLevel += SHIFT; + offsetShift += 1 << newLevel; + } + if (offsetShift) { + newOrigin += offsetShift; + oldOrigin += offsetShift; + newCapacity += offsetShift; + oldCapacity += offsetShift; + } + + var oldTailOffset = getTailOffset(oldCapacity); + var newTailOffset = getTailOffset(newCapacity); + + // New size might need creating a higher root. + while (newTailOffset >= 1 << newLevel + SHIFT) { + newRoot = new VNode(newRoot && newRoot.array.length ? [newRoot] : [], owner); + newLevel += SHIFT; + } + + // Locate or create the new tail. + var oldTail = list._tail; + var newTail = newTailOffset < oldTailOffset ? listNodeFor(list, newCapacity - 1) : newTailOffset > oldTailOffset ? new VNode([], owner) : oldTail; + + // Merge Tail into tree. + if (oldTail && newTailOffset > oldTailOffset && newOrigin < oldCapacity && oldTail.array.length) { + newRoot = editableVNode(newRoot, owner); + var node = newRoot; + for (var level = newLevel; level > SHIFT; level -= SHIFT) { + var idx = oldTailOffset >>> level & MASK; + node = node.array[idx] = editableVNode(node.array[idx], owner); + } + node.array[oldTailOffset >>> SHIFT & MASK] = oldTail; + } + + // If the size has been reduced, there's a chance the tail needs to be trimmed. + if (newCapacity < oldCapacity) { + newTail = newTail && newTail.removeAfter(owner, 0, newCapacity); + } + + // If the new origin is within the tail, then we do not need a root. + if (newOrigin >= newTailOffset) { + newOrigin -= newTailOffset; + newCapacity -= newTailOffset; + newLevel = SHIFT; + newRoot = null; + newTail = newTail && newTail.removeBefore(owner, 0, newOrigin); + + // Otherwise, if the root has been trimmed, garbage collect. + } else if (newOrigin > oldOrigin || newTailOffset < oldTailOffset) { + offsetShift = 0; + + // Identify the new top root node of the subtree of the old root. + while (newRoot) { + var beginIndex = newOrigin >>> newLevel & MASK; + if (beginIndex !== newTailOffset >>> newLevel & MASK) { + break; + } + if (beginIndex) { + offsetShift += (1 << newLevel) * beginIndex; + } + newLevel -= SHIFT; + newRoot = newRoot.array[beginIndex]; + } + + // Trim the new sides of the new root. + if (newRoot && newOrigin > oldOrigin) { + newRoot = newRoot.removeBefore(owner, newLevel, newOrigin - offsetShift); + } + if (newRoot && newTailOffset < oldTailOffset) { + newRoot = newRoot.removeAfter(owner, newLevel, newTailOffset - offsetShift); + } + if (offsetShift) { + newOrigin -= offsetShift; + newCapacity -= offsetShift; + } + } + + if (list.__ownerID) { + list.size = newCapacity - newOrigin; + list._origin = newOrigin; + list._capacity = newCapacity; + list._level = newLevel; + list._root = newRoot; + list._tail = newTail; + list.__hash = undefined; + list.__altered = true; + return list; + } + return makeList(newOrigin, newCapacity, newLevel, newRoot, newTail); + } + + function mergeIntoListWith(list, merger, iterables) { + var iters = []; + var maxSize = 0; + for (var ii = 0; ii < iterables.length; ii++) { + var value = iterables[ii]; + var iter = IndexedIterable(value); + if (iter.size > maxSize) { + maxSize = iter.size; + } + if (!isIterable(value)) { + iter = iter.map(function (v) { + return fromJS(v); + }); + } + iters.push(iter); + } + if (maxSize > list.size) { + list = list.setSize(maxSize); + } + return mergeIntoCollectionWith(list, merger, iters); + } + + function getTailOffset(size) { + return size < SIZE ? 0 : size - 1 >>> SHIFT << SHIFT; + } + + createClass(OrderedMap, Map); + + // @pragma Construction + + function OrderedMap(value) { + return value === null || value === undefined ? emptyOrderedMap() : isOrderedMap(value) ? value : emptyOrderedMap().withMutations(function (map) { + var iter = KeyedIterable(value); + assertNotInfinite(iter.size); + iter.forEach(function (v, k) { + return map.set(k, v); + }); + }); + } + + OrderedMap.of = function () /*...values*/{ + return this(arguments); + }; + + OrderedMap.prototype.toString = function () { + return this.__toString('OrderedMap {', '}'); + }; + + // @pragma Access + + OrderedMap.prototype.get = function (k, notSetValue) { + var index = this._map.get(k); + return index !== undefined ? this._list.get(index)[1] : notSetValue; + }; + + // @pragma Modification + + OrderedMap.prototype.clear = function () { + if (this.size === 0) { + return this; + } + if (this.__ownerID) { + this.size = 0; + this._map.clear(); + this._list.clear(); + return this; + } + return emptyOrderedMap(); + }; + + OrderedMap.prototype.set = function (k, v) { + return updateOrderedMap(this, k, v); + }; + + OrderedMap.prototype.remove = function (k) { + return updateOrderedMap(this, k, NOT_SET); + }; + + OrderedMap.prototype.wasAltered = function () { + return this._map.wasAltered() || this._list.wasAltered(); + }; + + OrderedMap.prototype.__iterate = function (fn, reverse) { + var this$0 = this; + return this._list.__iterate(function (entry) { + return entry && fn(entry[1], entry[0], this$0); + }, reverse); + }; + + OrderedMap.prototype.__iterator = function (type, reverse) { + return this._list.fromEntrySeq().__iterator(type, reverse); + }; + + OrderedMap.prototype.__ensureOwner = function (ownerID) { + if (ownerID === this.__ownerID) { + return this; + } + var newMap = this._map.__ensureOwner(ownerID); + var newList = this._list.__ensureOwner(ownerID); + if (!ownerID) { + this.__ownerID = ownerID; + this._map = newMap; + this._list = newList; + return this; + } + return makeOrderedMap(newMap, newList, ownerID, this.__hash); + }; + + function isOrderedMap(maybeOrderedMap) { + return isMap(maybeOrderedMap) && isOrdered(maybeOrderedMap); + } + + OrderedMap.isOrderedMap = isOrderedMap; + + OrderedMap.prototype[IS_ORDERED_SENTINEL] = true; + OrderedMap.prototype[DELETE] = OrderedMap.prototype.remove; + + function makeOrderedMap(map, list, ownerID, hash) { + var omap = Object.create(OrderedMap.prototype); + omap.size = map ? map.size : 0; + omap._map = map; + omap._list = list; + omap.__ownerID = ownerID; + omap.__hash = hash; + return omap; + } + + var EMPTY_ORDERED_MAP; + function emptyOrderedMap() { + return EMPTY_ORDERED_MAP || (EMPTY_ORDERED_MAP = makeOrderedMap(emptyMap(), emptyList())); + } + + function updateOrderedMap(omap, k, v) { + var map = omap._map; + var list = omap._list; + var i = map.get(k); + var has = i !== undefined; + var newMap; + var newList; + if (v === NOT_SET) { + // removed + if (!has) { + return omap; + } + if (list.size >= SIZE && list.size >= map.size * 2) { + newList = list.filter(function (entry, idx) { + return entry !== undefined && i !== idx; + }); + newMap = newList.toKeyedSeq().map(function (entry) { + return entry[0]; + }).flip().toMap(); + if (omap.__ownerID) { + newMap.__ownerID = newList.__ownerID = omap.__ownerID; + } + } else { + newMap = map.remove(k); + newList = i === list.size - 1 ? list.pop() : list.set(i, undefined); + } + } else { + if (has) { + if (v === list.get(i)[1]) { + return omap; + } + newMap = map; + newList = list.set(i, [k, v]); + } else { + newMap = map.set(k, list.size); + newList = list.set(list.size, [k, v]); + } + } + if (omap.__ownerID) { + omap.size = newMap.size; + omap._map = newMap; + omap._list = newList; + omap.__hash = undefined; + return omap; + } + return makeOrderedMap(newMap, newList); + } + + createClass(ToKeyedSequence, KeyedSeq); + function ToKeyedSequence(indexed, useKeys) { + this._iter = indexed; + this._useKeys = useKeys; + this.size = indexed.size; + } + + ToKeyedSequence.prototype.get = function (key, notSetValue) { + return this._iter.get(key, notSetValue); + }; + + ToKeyedSequence.prototype.has = function (key) { + return this._iter.has(key); + }; + + ToKeyedSequence.prototype.valueSeq = function () { + return this._iter.valueSeq(); + }; + + ToKeyedSequence.prototype.reverse = function () { + var this$0 = this; + var reversedSequence = reverseFactory(this, true); + if (!this._useKeys) { + reversedSequence.valueSeq = function () { + return this$0._iter.toSeq().reverse(); + }; + } + return reversedSequence; + }; + + ToKeyedSequence.prototype.map = function (mapper, context) { + var this$0 = this; + var mappedSequence = mapFactory(this, mapper, context); + if (!this._useKeys) { + mappedSequence.valueSeq = function () { + return this$0._iter.toSeq().map(mapper, context); + }; + } + return mappedSequence; + }; + + ToKeyedSequence.prototype.__iterate = function (fn, reverse) { + var this$0 = this; + var ii; + return this._iter.__iterate(this._useKeys ? function (v, k) { + return fn(v, k, this$0); + } : (ii = reverse ? resolveSize(this) : 0, function (v) { + return fn(v, reverse ? --ii : ii++, this$0); + }), reverse); + }; + + ToKeyedSequence.prototype.__iterator = function (type, reverse) { + if (this._useKeys) { + return this._iter.__iterator(type, reverse); + } + var iterator = this._iter.__iterator(ITERATE_VALUES, reverse); + var ii = reverse ? resolveSize(this) : 0; + return new Iterator(function () { + var step = iterator.next(); + return step.done ? step : iteratorValue(type, reverse ? --ii : ii++, step.value, step); + }); + }; + + ToKeyedSequence.prototype[IS_ORDERED_SENTINEL] = true; + + createClass(ToIndexedSequence, IndexedSeq); + function ToIndexedSequence(iter) { + this._iter = iter; + this.size = iter.size; + } + + ToIndexedSequence.prototype.includes = function (value) { + return this._iter.includes(value); + }; + + ToIndexedSequence.prototype.__iterate = function (fn, reverse) { + var this$0 = this; + var iterations = 0; + return this._iter.__iterate(function (v) { + return fn(v, iterations++, this$0); + }, reverse); + }; + + ToIndexedSequence.prototype.__iterator = function (type, reverse) { + var iterator = this._iter.__iterator(ITERATE_VALUES, reverse); + var iterations = 0; + return new Iterator(function () { + var step = iterator.next(); + return step.done ? step : iteratorValue(type, iterations++, step.value, step); + }); + }; + + createClass(ToSetSequence, SetSeq); + function ToSetSequence(iter) { + this._iter = iter; + this.size = iter.size; + } + + ToSetSequence.prototype.has = function (key) { + return this._iter.includes(key); + }; + + ToSetSequence.prototype.__iterate = function (fn, reverse) { + var this$0 = this; + return this._iter.__iterate(function (v) { + return fn(v, v, this$0); + }, reverse); + }; + + ToSetSequence.prototype.__iterator = function (type, reverse) { + var iterator = this._iter.__iterator(ITERATE_VALUES, reverse); + return new Iterator(function () { + var step = iterator.next(); + return step.done ? step : iteratorValue(type, step.value, step.value, step); + }); + }; + + createClass(FromEntriesSequence, KeyedSeq); + function FromEntriesSequence(entries) { + this._iter = entries; + this.size = entries.size; + } + + FromEntriesSequence.prototype.entrySeq = function () { + return this._iter.toSeq(); + }; + + FromEntriesSequence.prototype.__iterate = function (fn, reverse) { + var this$0 = this; + return this._iter.__iterate(function (entry) { + // Check if entry exists first so array access doesn't throw for holes + // in the parent iteration. + if (entry) { + validateEntry(entry); + var indexedIterable = isIterable(entry); + return fn(indexedIterable ? entry.get(1) : entry[1], indexedIterable ? entry.get(0) : entry[0], this$0); + } + }, reverse); + }; + + FromEntriesSequence.prototype.__iterator = function (type, reverse) { + var iterator = this._iter.__iterator(ITERATE_VALUES, reverse); + return new Iterator(function () { + while (true) { + var step = iterator.next(); + if (step.done) { + return step; + } + var entry = step.value; + // Check if entry exists first so array access doesn't throw for holes + // in the parent iteration. + if (entry) { + validateEntry(entry); + var indexedIterable = isIterable(entry); + return iteratorValue(type, indexedIterable ? entry.get(0) : entry[0], indexedIterable ? entry.get(1) : entry[1], step); + } + } + }); + }; + + ToIndexedSequence.prototype.cacheResult = ToKeyedSequence.prototype.cacheResult = ToSetSequence.prototype.cacheResult = FromEntriesSequence.prototype.cacheResult = cacheResultThrough; + + function flipFactory(iterable) { + var flipSequence = makeSequence(iterable); + flipSequence._iter = iterable; + flipSequence.size = iterable.size; + flipSequence.flip = function () { + return iterable; + }; + flipSequence.reverse = function () { + var reversedSequence = iterable.reverse.apply(this); // super.reverse() + reversedSequence.flip = function () { + return iterable.reverse(); + }; + return reversedSequence; + }; + flipSequence.has = function (key) { + return iterable.includes(key); + }; + flipSequence.includes = function (key) { + return iterable.has(key); + }; + flipSequence.cacheResult = cacheResultThrough; + flipSequence.__iterateUncached = function (fn, reverse) { + var this$0 = this; + return iterable.__iterate(function (v, k) { + return fn(k, v, this$0) !== false; + }, reverse); + }; + flipSequence.__iteratorUncached = function (type, reverse) { + if (type === ITERATE_ENTRIES) { + var iterator = iterable.__iterator(type, reverse); + return new Iterator(function () { + var step = iterator.next(); + if (!step.done) { + var k = step.value[0]; + step.value[0] = step.value[1]; + step.value[1] = k; + } + return step; + }); + } + return iterable.__iterator(type === ITERATE_VALUES ? ITERATE_KEYS : ITERATE_VALUES, reverse); + }; + return flipSequence; + } + + function mapFactory(iterable, mapper, context) { + var mappedSequence = makeSequence(iterable); + mappedSequence.size = iterable.size; + mappedSequence.has = function (key) { + return iterable.has(key); + }; + mappedSequence.get = function (key, notSetValue) { + var v = iterable.get(key, NOT_SET); + return v === NOT_SET ? notSetValue : mapper.call(context, v, key, iterable); + }; + mappedSequence.__iterateUncached = function (fn, reverse) { + var this$0 = this; + return iterable.__iterate(function (v, k, c) { + return fn(mapper.call(context, v, k, c), k, this$0) !== false; + }, reverse); + }; + mappedSequence.__iteratorUncached = function (type, reverse) { + var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse); + return new Iterator(function () { + var step = iterator.next(); + if (step.done) { + return step; + } + var entry = step.value; + var key = entry[0]; + return iteratorValue(type, key, mapper.call(context, entry[1], key, iterable), step); + }); + }; + return mappedSequence; + } + + function reverseFactory(iterable, useKeys) { + var reversedSequence = makeSequence(iterable); + reversedSequence._iter = iterable; + reversedSequence.size = iterable.size; + reversedSequence.reverse = function () { + return iterable; + }; + if (iterable.flip) { + reversedSequence.flip = function () { + var flipSequence = flipFactory(iterable); + flipSequence.reverse = function () { + return iterable.flip(); + }; + return flipSequence; + }; + } + reversedSequence.get = function (key, notSetValue) { + return iterable.get(useKeys ? key : -1 - key, notSetValue); + }; + reversedSequence.has = function (key) { + return iterable.has(useKeys ? key : -1 - key); + }; + reversedSequence.includes = function (value) { + return iterable.includes(value); + }; + reversedSequence.cacheResult = cacheResultThrough; + reversedSequence.__iterate = function (fn, reverse) { + var this$0 = this; + return iterable.__iterate(function (v, k) { + return fn(v, k, this$0); + }, !reverse); + }; + reversedSequence.__iterator = function (type, reverse) { + return iterable.__iterator(type, !reverse); + }; + return reversedSequence; + } + + function filterFactory(iterable, predicate, context, useKeys) { + var filterSequence = makeSequence(iterable); + if (useKeys) { + filterSequence.has = function (key) { + var v = iterable.get(key, NOT_SET); + return v !== NOT_SET && !!predicate.call(context, v, key, iterable); + }; + filterSequence.get = function (key, notSetValue) { + var v = iterable.get(key, NOT_SET); + return v !== NOT_SET && predicate.call(context, v, key, iterable) ? v : notSetValue; + }; + } + filterSequence.__iterateUncached = function (fn, reverse) { + var this$0 = this; + var iterations = 0; + iterable.__iterate(function (v, k, c) { + if (predicate.call(context, v, k, c)) { + iterations++; + return fn(v, useKeys ? k : iterations - 1, this$0); + } + }, reverse); + return iterations; + }; + filterSequence.__iteratorUncached = function (type, reverse) { + var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse); + var iterations = 0; + return new Iterator(function () { + while (true) { + var step = iterator.next(); + if (step.done) { + return step; + } + var entry = step.value; + var key = entry[0]; + var value = entry[1]; + if (predicate.call(context, value, key, iterable)) { + return iteratorValue(type, useKeys ? key : iterations++, value, step); + } + } + }); + }; + return filterSequence; + } + + function countByFactory(iterable, grouper, context) { + var groups = Map().asMutable(); + iterable.__iterate(function (v, k) { + groups.update(grouper.call(context, v, k, iterable), 0, function (a) { + return a + 1; + }); + }); + return groups.asImmutable(); + } + + function groupByFactory(iterable, grouper, context) { + var isKeyedIter = isKeyed(iterable); + var groups = (isOrdered(iterable) ? OrderedMap() : Map()).asMutable(); + iterable.__iterate(function (v, k) { + groups.update(grouper.call(context, v, k, iterable), function (a) { + return a = a || [], a.push(isKeyedIter ? [k, v] : v), a; + }); + }); + var coerce = iterableClass(iterable); + return groups.map(function (arr) { + return reify(iterable, coerce(arr)); + }); + } + + function sliceFactory(iterable, begin, end, useKeys) { + var originalSize = iterable.size; + + // Sanitize begin & end using this shorthand for ToInt32(argument) + // http://www.ecma-international.org/ecma-262/6.0/#sec-toint32 + if (begin !== undefined) { + begin = begin | 0; + } + if (end !== undefined) { + if (end === Infinity) { + end = originalSize; + } else { + end = end | 0; + } + } + + if (wholeSlice(begin, end, originalSize)) { + return iterable; + } + + var resolvedBegin = resolveBegin(begin, originalSize); + var resolvedEnd = resolveEnd(end, originalSize); + + // begin or end will be NaN if they were provided as negative numbers and + // this iterable's size is unknown. In that case, cache first so there is + // a known size and these do not resolve to NaN. + if (resolvedBegin !== resolvedBegin || resolvedEnd !== resolvedEnd) { + return sliceFactory(iterable.toSeq().cacheResult(), begin, end, useKeys); + } + + // Note: resolvedEnd is undefined when the original sequence's length is + // unknown and this slice did not supply an end and should contain all + // elements after resolvedBegin. + // In that case, resolvedSize will be NaN and sliceSize will remain undefined. + var resolvedSize = resolvedEnd - resolvedBegin; + var sliceSize; + if (resolvedSize === resolvedSize) { + sliceSize = resolvedSize < 0 ? 0 : resolvedSize; + } + + var sliceSeq = makeSequence(iterable); + + // If iterable.size is undefined, the size of the realized sliceSeq is + // unknown at this point unless the number of items to slice is 0 + sliceSeq.size = sliceSize === 0 ? sliceSize : iterable.size && sliceSize || undefined; + + if (!useKeys && isSeq(iterable) && sliceSize >= 0) { + sliceSeq.get = function (index, notSetValue) { + index = wrapIndex(this, index); + return index >= 0 && index < sliceSize ? iterable.get(index + resolvedBegin, notSetValue) : notSetValue; + }; + } + + sliceSeq.__iterateUncached = function (fn, reverse) { + var this$0 = this; + if (sliceSize === 0) { + return 0; + } + if (reverse) { + return this.cacheResult().__iterate(fn, reverse); + } + var skipped = 0; + var isSkipping = true; + var iterations = 0; + iterable.__iterate(function (v, k) { + if (!(isSkipping && (isSkipping = skipped++ < resolvedBegin))) { + iterations++; + return fn(v, useKeys ? k : iterations - 1, this$0) !== false && iterations !== sliceSize; + } + }); + return iterations; + }; + + sliceSeq.__iteratorUncached = function (type, reverse) { + if (sliceSize !== 0 && reverse) { + return this.cacheResult().__iterator(type, reverse); + } + // Don't bother instantiating parent iterator if taking 0. + var iterator = sliceSize !== 0 && iterable.__iterator(type, reverse); + var skipped = 0; + var iterations = 0; + return new Iterator(function () { + while (skipped++ < resolvedBegin) { + iterator.next(); + } + if (++iterations > sliceSize) { + return iteratorDone(); + } + var step = iterator.next(); + if (useKeys || type === ITERATE_VALUES) { + return step; + } else if (type === ITERATE_KEYS) { + return iteratorValue(type, iterations - 1, undefined, step); + } else { + return iteratorValue(type, iterations - 1, step.value[1], step); + } + }); + }; + + return sliceSeq; + } + + function takeWhileFactory(iterable, predicate, context) { + var takeSequence = makeSequence(iterable); + takeSequence.__iterateUncached = function (fn, reverse) { + var this$0 = this; + if (reverse) { + return this.cacheResult().__iterate(fn, reverse); + } + var iterations = 0; + iterable.__iterate(function (v, k, c) { + return predicate.call(context, v, k, c) && ++iterations && fn(v, k, this$0); + }); + return iterations; + }; + takeSequence.__iteratorUncached = function (type, reverse) { + var this$0 = this; + if (reverse) { + return this.cacheResult().__iterator(type, reverse); + } + var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse); + var iterating = true; + return new Iterator(function () { + if (!iterating) { + return iteratorDone(); + } + var step = iterator.next(); + if (step.done) { + return step; + } + var entry = step.value; + var k = entry[0]; + var v = entry[1]; + if (!predicate.call(context, v, k, this$0)) { + iterating = false; + return iteratorDone(); + } + return type === ITERATE_ENTRIES ? step : iteratorValue(type, k, v, step); + }); + }; + return takeSequence; + } + + function skipWhileFactory(iterable, predicate, context, useKeys) { + var skipSequence = makeSequence(iterable); + skipSequence.__iterateUncached = function (fn, reverse) { + var this$0 = this; + if (reverse) { + return this.cacheResult().__iterate(fn, reverse); + } + var isSkipping = true; + var iterations = 0; + iterable.__iterate(function (v, k, c) { + if (!(isSkipping && (isSkipping = predicate.call(context, v, k, c)))) { + iterations++; + return fn(v, useKeys ? k : iterations - 1, this$0); + } + }); + return iterations; + }; + skipSequence.__iteratorUncached = function (type, reverse) { + var this$0 = this; + if (reverse) { + return this.cacheResult().__iterator(type, reverse); + } + var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse); + var skipping = true; + var iterations = 0; + return new Iterator(function () { + var step, k, v; + do { + step = iterator.next(); + if (step.done) { + if (useKeys || type === ITERATE_VALUES) { + return step; + } else if (type === ITERATE_KEYS) { + return iteratorValue(type, iterations++, undefined, step); + } else { + return iteratorValue(type, iterations++, step.value[1], step); + } + } + var entry = step.value; + k = entry[0]; + v = entry[1]; + skipping && (skipping = predicate.call(context, v, k, this$0)); + } while (skipping); + return type === ITERATE_ENTRIES ? step : iteratorValue(type, k, v, step); + }); + }; + return skipSequence; + } + + function concatFactory(iterable, values) { + var isKeyedIterable = isKeyed(iterable); + var iters = [iterable].concat(values).map(function (v) { + if (!isIterable(v)) { + v = isKeyedIterable ? keyedSeqFromValue(v) : indexedSeqFromValue(Array.isArray(v) ? v : [v]); + } else if (isKeyedIterable) { + v = KeyedIterable(v); + } + return v; + }).filter(function (v) { + return v.size !== 0; + }); + + if (iters.length === 0) { + return iterable; + } + + if (iters.length === 1) { + var singleton = iters[0]; + if (singleton === iterable || isKeyedIterable && isKeyed(singleton) || isIndexed(iterable) && isIndexed(singleton)) { + return singleton; + } + } + + var concatSeq = new ArraySeq(iters); + if (isKeyedIterable) { + concatSeq = concatSeq.toKeyedSeq(); + } else if (!isIndexed(iterable)) { + concatSeq = concatSeq.toSetSeq(); + } + concatSeq = concatSeq.flatten(true); + concatSeq.size = iters.reduce(function (sum, seq) { + if (sum !== undefined) { + var size = seq.size; + if (size !== undefined) { + return sum + size; + } + } + }, 0); + return concatSeq; + } + + function flattenFactory(iterable, depth, useKeys) { + var flatSequence = makeSequence(iterable); + flatSequence.__iterateUncached = function (fn, reverse) { + var iterations = 0; + var stopped = false; + function flatDeep(iter, currentDepth) { + var this$0 = this; + iter.__iterate(function (v, k) { + if ((!depth || currentDepth < depth) && isIterable(v)) { + flatDeep(v, currentDepth + 1); + } else if (fn(v, useKeys ? k : iterations++, this$0) === false) { + stopped = true; + } + return !stopped; + }, reverse); + } + flatDeep(iterable, 0); + return iterations; + }; + flatSequence.__iteratorUncached = function (type, reverse) { + var iterator = iterable.__iterator(type, reverse); + var stack = []; + var iterations = 0; + return new Iterator(function () { + while (iterator) { + var step = iterator.next(); + if (step.done !== false) { + iterator = stack.pop(); + continue; + } + var v = step.value; + if (type === ITERATE_ENTRIES) { + v = v[1]; + } + if ((!depth || stack.length < depth) && isIterable(v)) { + stack.push(iterator); + iterator = v.__iterator(type, reverse); + } else { + return useKeys ? step : iteratorValue(type, iterations++, v, step); + } + } + return iteratorDone(); + }); + }; + return flatSequence; + } + + function flatMapFactory(iterable, mapper, context) { + var coerce = iterableClass(iterable); + return iterable.toSeq().map(function (v, k) { + return coerce(mapper.call(context, v, k, iterable)); + }).flatten(true); + } + + function interposeFactory(iterable, separator) { + var interposedSequence = makeSequence(iterable); + interposedSequence.size = iterable.size && iterable.size * 2 - 1; + interposedSequence.__iterateUncached = function (fn, reverse) { + var this$0 = this; + var iterations = 0; + iterable.__iterate(function (v, k) { + return (!iterations || fn(separator, iterations++, this$0) !== false) && fn(v, iterations++, this$0) !== false; + }, reverse); + return iterations; + }; + interposedSequence.__iteratorUncached = function (type, reverse) { + var iterator = iterable.__iterator(ITERATE_VALUES, reverse); + var iterations = 0; + var step; + return new Iterator(function () { + if (!step || iterations % 2) { + step = iterator.next(); + if (step.done) { + return step; + } + } + return iterations % 2 ? iteratorValue(type, iterations++, separator) : iteratorValue(type, iterations++, step.value, step); + }); + }; + return interposedSequence; + } + + function sortFactory(iterable, comparator, mapper) { + if (!comparator) { + comparator = defaultComparator; + } + var isKeyedIterable = isKeyed(iterable); + var index = 0; + var entries = iterable.toSeq().map(function (v, k) { + return [k, v, index++, mapper ? mapper(v, k, iterable) : v]; + }).toArray(); + entries.sort(function (a, b) { + return comparator(a[3], b[3]) || a[2] - b[2]; + }).forEach(isKeyedIterable ? function (v, i) { + entries[i].length = 2; + } : function (v, i) { + entries[i] = v[1]; + }); + return isKeyedIterable ? KeyedSeq(entries) : isIndexed(iterable) ? IndexedSeq(entries) : SetSeq(entries); + } + + function maxFactory(iterable, comparator, mapper) { + if (!comparator) { + comparator = defaultComparator; + } + if (mapper) { + var entry = iterable.toSeq().map(function (v, k) { + return [v, mapper(v, k, iterable)]; + }).reduce(function (a, b) { + return maxCompare(comparator, a[1], b[1]) ? b : a; + }); + return entry && entry[0]; + } else { + return iterable.reduce(function (a, b) { + return maxCompare(comparator, a, b) ? b : a; + }); + } + } + + function maxCompare(comparator, a, b) { + var comp = comparator(b, a); + // b is considered the new max if the comparator declares them equal, but + // they are not equal and b is in fact a nullish value. + return comp === 0 && b !== a && (b === undefined || b === null || b !== b) || comp > 0; + } + + function zipWithFactory(keyIter, zipper, iters) { + var zipSequence = makeSequence(keyIter); + zipSequence.size = new ArraySeq(iters).map(function (i) { + return i.size; + }).min(); + // Note: this a generic base implementation of __iterate in terms of + // __iterator which may be more generically useful in the future. + zipSequence.__iterate = function (fn, reverse) { + /* generic: + var iterator = this.__iterator(ITERATE_ENTRIES, reverse); + var step; + var iterations = 0; + while (!(step = iterator.next()).done) { + iterations++; + if (fn(step.value[1], step.value[0], this) === false) { + break; + } + } + return iterations; + */ + // indexed: + var iterator = this.__iterator(ITERATE_VALUES, reverse); + var step; + var iterations = 0; + while (!(step = iterator.next()).done) { + if (fn(step.value, iterations++, this) === false) { + break; + } + } + return iterations; + }; + zipSequence.__iteratorUncached = function (type, reverse) { + var iterators = iters.map(function (i) { + return i = Iterable(i), getIterator(reverse ? i.reverse() : i); + }); + var iterations = 0; + var isDone = false; + return new Iterator(function () { + var steps; + if (!isDone) { + steps = iterators.map(function (i) { + return i.next(); + }); + isDone = steps.some(function (s) { + return s.done; + }); + } + if (isDone) { + return iteratorDone(); + } + return iteratorValue(type, iterations++, zipper.apply(null, steps.map(function (s) { + return s.value; + }))); + }); + }; + return zipSequence; + } + + // #pragma Helper Functions + + function reify(iter, seq) { + return isSeq(iter) ? seq : iter.constructor(seq); + } + + function validateEntry(entry) { + if (entry !== Object(entry)) { + throw new TypeError('Expected [K, V] tuple: ' + entry); + } + } + + function resolveSize(iter) { + assertNotInfinite(iter.size); + return ensureSize(iter); + } + + function iterableClass(iterable) { + return isKeyed(iterable) ? KeyedIterable : isIndexed(iterable) ? IndexedIterable : SetIterable; + } + + function makeSequence(iterable) { + return Object.create((isKeyed(iterable) ? KeyedSeq : isIndexed(iterable) ? IndexedSeq : SetSeq).prototype); + } + + function cacheResultThrough() { + if (this._iter.cacheResult) { + this._iter.cacheResult(); + this.size = this._iter.size; + return this; + } else { + return Seq.prototype.cacheResult.call(this); + } + } + + function defaultComparator(a, b) { + return a > b ? 1 : a < b ? -1 : 0; + } + + function forceIterator(keyPath) { + var iter = getIterator(keyPath); + if (!iter) { + // Array might not be iterable in this environment, so we need a fallback + // to our wrapped type. + if (!isArrayLike(keyPath)) { + throw new TypeError('Expected iterable or array-like: ' + keyPath); + } + iter = getIterator(Iterable(keyPath)); + } + return iter; + } + + createClass(Record, KeyedCollection); + + function Record(defaultValues, name) { + var hasInitialized; + + var RecordType = function Record(values) { + if (values instanceof RecordType) { + return values; + } + if (!(this instanceof RecordType)) { + return new RecordType(values); + } + if (!hasInitialized) { + hasInitialized = true; + var keys = Object.keys(defaultValues); + setProps(RecordTypePrototype, keys); + RecordTypePrototype.size = keys.length; + RecordTypePrototype._name = name; + RecordTypePrototype._keys = keys; + RecordTypePrototype._defaultValues = defaultValues; + } + this._map = Map(values); + }; + + var RecordTypePrototype = RecordType.prototype = Object.create(RecordPrototype); + RecordTypePrototype.constructor = RecordType; + + return RecordType; + } + + Record.prototype.toString = function () { + return this.__toString(recordName(this) + ' {', '}'); + }; + + // @pragma Access + + Record.prototype.has = function (k) { + return this._defaultValues.hasOwnProperty(k); + }; + + Record.prototype.get = function (k, notSetValue) { + if (!this.has(k)) { + return notSetValue; + } + var defaultVal = this._defaultValues[k]; + return this._map ? this._map.get(k, defaultVal) : defaultVal; + }; + + // @pragma Modification + + Record.prototype.clear = function () { + if (this.__ownerID) { + this._map && this._map.clear(); + return this; + } + var RecordType = this.constructor; + return RecordType._empty || (RecordType._empty = makeRecord(this, emptyMap())); + }; + + Record.prototype.set = function (k, v) { + if (!this.has(k)) { + throw new Error('Cannot set unknown key "' + k + '" on ' + recordName(this)); + } + if (this._map && !this._map.has(k)) { + var defaultVal = this._defaultValues[k]; + if (v === defaultVal) { + return this; + } + } + var newMap = this._map && this._map.set(k, v); + if (this.__ownerID || newMap === this._map) { + return this; + } + return makeRecord(this, newMap); + }; + + Record.prototype.remove = function (k) { + if (!this.has(k)) { + return this; + } + var newMap = this._map && this._map.remove(k); + if (this.__ownerID || newMap === this._map) { + return this; + } + return makeRecord(this, newMap); + }; + + Record.prototype.wasAltered = function () { + return this._map.wasAltered(); + }; + + Record.prototype.__iterator = function (type, reverse) { + var this$0 = this; + return KeyedIterable(this._defaultValues).map(function (_, k) { + return this$0.get(k); + }).__iterator(type, reverse); + }; + + Record.prototype.__iterate = function (fn, reverse) { + var this$0 = this; + return KeyedIterable(this._defaultValues).map(function (_, k) { + return this$0.get(k); + }).__iterate(fn, reverse); + }; + + Record.prototype.__ensureOwner = function (ownerID) { + if (ownerID === this.__ownerID) { + return this; + } + var newMap = this._map && this._map.__ensureOwner(ownerID); + if (!ownerID) { + this.__ownerID = ownerID; + this._map = newMap; + return this; + } + return makeRecord(this, newMap, ownerID); + }; + + var RecordPrototype = Record.prototype; + RecordPrototype[DELETE] = RecordPrototype.remove; + RecordPrototype.deleteIn = RecordPrototype.removeIn = MapPrototype.removeIn; + RecordPrototype.merge = MapPrototype.merge; + RecordPrototype.mergeWith = MapPrototype.mergeWith; + RecordPrototype.mergeIn = MapPrototype.mergeIn; + RecordPrototype.mergeDeep = MapPrototype.mergeDeep; + RecordPrototype.mergeDeepWith = MapPrototype.mergeDeepWith; + RecordPrototype.mergeDeepIn = MapPrototype.mergeDeepIn; + RecordPrototype.setIn = MapPrototype.setIn; + RecordPrototype.update = MapPrototype.update; + RecordPrototype.updateIn = MapPrototype.updateIn; + RecordPrototype.withMutations = MapPrototype.withMutations; + RecordPrototype.asMutable = MapPrototype.asMutable; + RecordPrototype.asImmutable = MapPrototype.asImmutable; + + function makeRecord(likeRecord, map, ownerID) { + var record = Object.create(Object.getPrototypeOf(likeRecord)); + record._map = map; + record.__ownerID = ownerID; + return record; + } + + function recordName(record) { + return record._name || record.constructor.name || 'Record'; + } + + function setProps(prototype, names) { + try { + names.forEach(setProp.bind(undefined, prototype)); + } catch (error) { + // Object.defineProperty failed. Probably IE8. + } + } + + function setProp(prototype, name) { + Object.defineProperty(prototype, name, { + get: function get() { + return this.get(name); + }, + set: function set(value) { + invariant(this.__ownerID, 'Cannot set on an immutable record.'); + this.set(name, value); + } + }); + } + + createClass(Set, SetCollection); + + // @pragma Construction + + function Set(value) { + return value === null || value === undefined ? emptySet() : isSet(value) && !isOrdered(value) ? value : emptySet().withMutations(function (set) { + var iter = SetIterable(value); + assertNotInfinite(iter.size); + iter.forEach(function (v) { + return set.add(v); + }); + }); + } + + Set.of = function () /*...values*/{ + return this(arguments); + }; + + Set.fromKeys = function (value) { + return this(KeyedIterable(value).keySeq()); + }; + + Set.prototype.toString = function () { + return this.__toString('Set {', '}'); + }; + + // @pragma Access + + Set.prototype.has = function (value) { + return this._map.has(value); + }; + + // @pragma Modification + + Set.prototype.add = function (value) { + return updateSet(this, this._map.set(value, true)); + }; + + Set.prototype.remove = function (value) { + return updateSet(this, this._map.remove(value)); + }; + + Set.prototype.clear = function () { + return updateSet(this, this._map.clear()); + }; + + // @pragma Composition + + Set.prototype.union = function () { + var iters = SLICE$0.call(arguments, 0); + iters = iters.filter(function (x) { + return x.size !== 0; + }); + if (iters.length === 0) { + return this; + } + if (this.size === 0 && !this.__ownerID && iters.length === 1) { + return this.constructor(iters[0]); + } + return this.withMutations(function (set) { + for (var ii = 0; ii < iters.length; ii++) { + SetIterable(iters[ii]).forEach(function (value) { + return set.add(value); + }); + } + }); + }; + + Set.prototype.intersect = function () { + var iters = SLICE$0.call(arguments, 0); + if (iters.length === 0) { + return this; + } + iters = iters.map(function (iter) { + return SetIterable(iter); + }); + var originalSet = this; + return this.withMutations(function (set) { + originalSet.forEach(function (value) { + if (!iters.every(function (iter) { + return iter.includes(value); + })) { + set.remove(value); + } + }); + }); + }; + + Set.prototype.subtract = function () { + var iters = SLICE$0.call(arguments, 0); + if (iters.length === 0) { + return this; + } + iters = iters.map(function (iter) { + return SetIterable(iter); + }); + var originalSet = this; + return this.withMutations(function (set) { + originalSet.forEach(function (value) { + if (iters.some(function (iter) { + return iter.includes(value); + })) { + set.remove(value); + } + }); + }); + }; + + Set.prototype.merge = function () { + return this.union.apply(this, arguments); + }; + + Set.prototype.mergeWith = function (merger) { + var iters = SLICE$0.call(arguments, 1); + return this.union.apply(this, iters); + }; + + Set.prototype.sort = function (comparator) { + // Late binding + return OrderedSet(sortFactory(this, comparator)); + }; + + Set.prototype.sortBy = function (mapper, comparator) { + // Late binding + return OrderedSet(sortFactory(this, comparator, mapper)); + }; + + Set.prototype.wasAltered = function () { + return this._map.wasAltered(); + }; + + Set.prototype.__iterate = function (fn, reverse) { + var this$0 = this; + return this._map.__iterate(function (_, k) { + return fn(k, k, this$0); + }, reverse); + }; + + Set.prototype.__iterator = function (type, reverse) { + return this._map.map(function (_, k) { + return k; + }).__iterator(type, reverse); + }; + + Set.prototype.__ensureOwner = function (ownerID) { + if (ownerID === this.__ownerID) { + return this; + } + var newMap = this._map.__ensureOwner(ownerID); + if (!ownerID) { + this.__ownerID = ownerID; + this._map = newMap; + return this; + } + return this.__make(newMap, ownerID); + }; + + function isSet(maybeSet) { + return !!(maybeSet && maybeSet[IS_SET_SENTINEL]); + } + + Set.isSet = isSet; + + var IS_SET_SENTINEL = '@@__IMMUTABLE_SET__@@'; + + var SetPrototype = Set.prototype; + SetPrototype[IS_SET_SENTINEL] = true; + SetPrototype[DELETE] = SetPrototype.remove; + SetPrototype.mergeDeep = SetPrototype.merge; + SetPrototype.mergeDeepWith = SetPrototype.mergeWith; + SetPrototype.withMutations = MapPrototype.withMutations; + SetPrototype.asMutable = MapPrototype.asMutable; + SetPrototype.asImmutable = MapPrototype.asImmutable; + + SetPrototype.__empty = emptySet; + SetPrototype.__make = makeSet; + + function updateSet(set, newMap) { + if (set.__ownerID) { + set.size = newMap.size; + set._map = newMap; + return set; + } + return newMap === set._map ? set : newMap.size === 0 ? set.__empty() : set.__make(newMap); + } + + function makeSet(map, ownerID) { + var set = Object.create(SetPrototype); + set.size = map ? map.size : 0; + set._map = map; + set.__ownerID = ownerID; + return set; + } + + var EMPTY_SET; + function emptySet() { + return EMPTY_SET || (EMPTY_SET = makeSet(emptyMap())); + } + + createClass(OrderedSet, Set); + + // @pragma Construction + + function OrderedSet(value) { + return value === null || value === undefined ? emptyOrderedSet() : isOrderedSet(value) ? value : emptyOrderedSet().withMutations(function (set) { + var iter = SetIterable(value); + assertNotInfinite(iter.size); + iter.forEach(function (v) { + return set.add(v); + }); + }); + } + + OrderedSet.of = function () /*...values*/{ + return this(arguments); + }; + + OrderedSet.fromKeys = function (value) { + return this(KeyedIterable(value).keySeq()); + }; + + OrderedSet.prototype.toString = function () { + return this.__toString('OrderedSet {', '}'); + }; + + function isOrderedSet(maybeOrderedSet) { + return isSet(maybeOrderedSet) && isOrdered(maybeOrderedSet); + } + + OrderedSet.isOrderedSet = isOrderedSet; + + var OrderedSetPrototype = OrderedSet.prototype; + OrderedSetPrototype[IS_ORDERED_SENTINEL] = true; + + OrderedSetPrototype.__empty = emptyOrderedSet; + OrderedSetPrototype.__make = makeOrderedSet; + + function makeOrderedSet(map, ownerID) { + var set = Object.create(OrderedSetPrototype); + set.size = map ? map.size : 0; + set._map = map; + set.__ownerID = ownerID; + return set; + } + + var EMPTY_ORDERED_SET; + function emptyOrderedSet() { + return EMPTY_ORDERED_SET || (EMPTY_ORDERED_SET = makeOrderedSet(emptyOrderedMap())); + } + + createClass(Stack, IndexedCollection); + + // @pragma Construction + + function Stack(value) { + return value === null || value === undefined ? emptyStack() : isStack(value) ? value : emptyStack().unshiftAll(value); + } + + Stack.of = function () /*...values*/{ + return this(arguments); + }; + + Stack.prototype.toString = function () { + return this.__toString('Stack [', ']'); + }; + + // @pragma Access + + Stack.prototype.get = function (index, notSetValue) { + var head = this._head; + index = wrapIndex(this, index); + while (head && index--) { + head = head.next; + } + return head ? head.value : notSetValue; + }; + + Stack.prototype.peek = function () { + return this._head && this._head.value; + }; + + // @pragma Modification + + Stack.prototype.push = function () /*...values*/{ + if (arguments.length === 0) { + return this; + } + var newSize = this.size + arguments.length; + var head = this._head; + for (var ii = arguments.length - 1; ii >= 0; ii--) { + head = { + value: arguments[ii], + next: head + }; + } + if (this.__ownerID) { + this.size = newSize; + this._head = head; + this.__hash = undefined; + this.__altered = true; + return this; + } + return makeStack(newSize, head); + }; + + Stack.prototype.pushAll = function (iter) { + iter = IndexedIterable(iter); + if (iter.size === 0) { + return this; + } + assertNotInfinite(iter.size); + var newSize = this.size; + var head = this._head; + iter.reverse().forEach(function (value) { + newSize++; + head = { + value: value, + next: head + }; + }); + if (this.__ownerID) { + this.size = newSize; + this._head = head; + this.__hash = undefined; + this.__altered = true; + return this; + } + return makeStack(newSize, head); + }; + + Stack.prototype.pop = function () { + return this.slice(1); + }; + + Stack.prototype.unshift = function () /*...values*/{ + return this.push.apply(this, arguments); + }; + + Stack.prototype.unshiftAll = function (iter) { + return this.pushAll(iter); + }; + + Stack.prototype.shift = function () { + return this.pop.apply(this, arguments); + }; + + Stack.prototype.clear = function () { + if (this.size === 0) { + return this; + } + if (this.__ownerID) { + this.size = 0; + this._head = undefined; + this.__hash = undefined; + this.__altered = true; + return this; + } + return emptyStack(); + }; + + Stack.prototype.slice = function (begin, end) { + if (wholeSlice(begin, end, this.size)) { + return this; + } + var resolvedBegin = resolveBegin(begin, this.size); + var resolvedEnd = resolveEnd(end, this.size); + if (resolvedEnd !== this.size) { + // super.slice(begin, end); + return IndexedCollection.prototype.slice.call(this, begin, end); + } + var newSize = this.size - resolvedBegin; + var head = this._head; + while (resolvedBegin--) { + head = head.next; + } + if (this.__ownerID) { + this.size = newSize; + this._head = head; + this.__hash = undefined; + this.__altered = true; + return this; + } + return makeStack(newSize, head); + }; + + // @pragma Mutability + + Stack.prototype.__ensureOwner = function (ownerID) { + if (ownerID === this.__ownerID) { + return this; + } + if (!ownerID) { + this.__ownerID = ownerID; + this.__altered = false; + return this; + } + return makeStack(this.size, this._head, ownerID, this.__hash); + }; + + // @pragma Iteration + + Stack.prototype.__iterate = function (fn, reverse) { + if (reverse) { + return this.reverse().__iterate(fn); + } + var iterations = 0; + var node = this._head; + while (node) { + if (fn(node.value, iterations++, this) === false) { + break; + } + node = node.next; + } + return iterations; + }; + + Stack.prototype.__iterator = function (type, reverse) { + if (reverse) { + return this.reverse().__iterator(type); + } + var iterations = 0; + var node = this._head; + return new Iterator(function () { + if (node) { + var value = node.value; + node = node.next; + return iteratorValue(type, iterations++, value); + } + return iteratorDone(); + }); + }; + + function isStack(maybeStack) { + return !!(maybeStack && maybeStack[IS_STACK_SENTINEL]); + } + + Stack.isStack = isStack; + + var IS_STACK_SENTINEL = '@@__IMMUTABLE_STACK__@@'; + + var StackPrototype = Stack.prototype; + StackPrototype[IS_STACK_SENTINEL] = true; + StackPrototype.withMutations = MapPrototype.withMutations; + StackPrototype.asMutable = MapPrototype.asMutable; + StackPrototype.asImmutable = MapPrototype.asImmutable; + StackPrototype.wasAltered = MapPrototype.wasAltered; + + function makeStack(size, head, ownerID, hash) { + var map = Object.create(StackPrototype); + map.size = size; + map._head = head; + map.__ownerID = ownerID; + map.__hash = hash; + map.__altered = false; + return map; + } + + var EMPTY_STACK; + function emptyStack() { + return EMPTY_STACK || (EMPTY_STACK = makeStack(0)); + } + + /** + * Contributes additional methods to a constructor + */ + function mixin(ctor, methods) { + var keyCopier = function keyCopier(key) { + ctor.prototype[key] = methods[key]; + }; + Object.keys(methods).forEach(keyCopier); + Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(methods).forEach(keyCopier); + return ctor; + } + + Iterable.Iterator = Iterator; + + mixin(Iterable, { + + // ### Conversion to other types + + toArray: function toArray() { + assertNotInfinite(this.size); + var array = new Array(this.size || 0); + this.valueSeq().__iterate(function (v, i) { + array[i] = v; + }); + return array; + }, + + toIndexedSeq: function toIndexedSeq() { + return new ToIndexedSequence(this); + }, + + toJS: function toJS() { + return this.toSeq().map(function (value) { + return value && typeof value.toJS === 'function' ? value.toJS() : value; + }).__toJS(); + }, + + toJSON: function toJSON() { + return this.toSeq().map(function (value) { + return value && typeof value.toJSON === 'function' ? value.toJSON() : value; + }).__toJS(); + }, + + toKeyedSeq: function toKeyedSeq() { + return new ToKeyedSequence(this, true); + }, + + toMap: function toMap() { + // Use Late Binding here to solve the circular dependency. + return Map(this.toKeyedSeq()); + }, + + toObject: function toObject() { + assertNotInfinite(this.size); + var object = {}; + this.__iterate(function (v, k) { + object[k] = v; + }); + return object; + }, + + toOrderedMap: function toOrderedMap() { + // Use Late Binding here to solve the circular dependency. + return OrderedMap(this.toKeyedSeq()); + }, + + toOrderedSet: function toOrderedSet() { + // Use Late Binding here to solve the circular dependency. + return OrderedSet(isKeyed(this) ? this.valueSeq() : this); + }, + + toSet: function toSet() { + // Use Late Binding here to solve the circular dependency. + return Set(isKeyed(this) ? this.valueSeq() : this); + }, + + toSetSeq: function toSetSeq() { + return new ToSetSequence(this); + }, + + toSeq: function toSeq() { + return isIndexed(this) ? this.toIndexedSeq() : isKeyed(this) ? this.toKeyedSeq() : this.toSetSeq(); + }, + + toStack: function toStack() { + // Use Late Binding here to solve the circular dependency. + return Stack(isKeyed(this) ? this.valueSeq() : this); + }, + + toList: function toList() { + // Use Late Binding here to solve the circular dependency. + return List(isKeyed(this) ? this.valueSeq() : this); + }, + + // ### Common JavaScript methods and properties + + toString: function toString() { + return '[Iterable]'; + }, + + __toString: function __toString(head, tail) { + if (this.size === 0) { + return head + tail; + } + return head + ' ' + this.toSeq().map(this.__toStringMapper).join(', ') + ' ' + tail; + }, + + // ### ES6 Collection methods (ES6 Array and Map) + + concat: function concat() { + var values = SLICE$0.call(arguments, 0); + return reify(this, concatFactory(this, values)); + }, + + includes: function includes(searchValue) { + return this.some(function (value) { + return is(value, searchValue); + }); + }, + + entries: function entries() { + return this.__iterator(ITERATE_ENTRIES); + }, + + every: function every(predicate, context) { + assertNotInfinite(this.size); + var returnValue = true; + this.__iterate(function (v, k, c) { + if (!predicate.call(context, v, k, c)) { + returnValue = false; + return false; + } + }); + return returnValue; + }, + + filter: function filter(predicate, context) { + return reify(this, filterFactory(this, predicate, context, true)); + }, + + find: function find(predicate, context, notSetValue) { + var entry = this.findEntry(predicate, context); + return entry ? entry[1] : notSetValue; + }, + + forEach: function forEach(sideEffect, context) { + assertNotInfinite(this.size); + return this.__iterate(context ? sideEffect.bind(context) : sideEffect); + }, + + join: function join(separator) { + assertNotInfinite(this.size); + separator = separator !== undefined ? '' + separator : ','; + var joined = ''; + var isFirst = true; + this.__iterate(function (v) { + isFirst ? isFirst = false : joined += separator; + joined += v !== null && v !== undefined ? v.toString() : ''; + }); + return joined; + }, + + keys: function keys() { + return this.__iterator(ITERATE_KEYS); + }, + + map: function map(mapper, context) { + return reify(this, mapFactory(this, mapper, context)); + }, + + reduce: function reduce(reducer, initialReduction, context) { + assertNotInfinite(this.size); + var reduction; + var useFirst; + if (arguments.length < 2) { + useFirst = true; + } else { + reduction = initialReduction; + } + this.__iterate(function (v, k, c) { + if (useFirst) { + useFirst = false; + reduction = v; + } else { + reduction = reducer.call(context, reduction, v, k, c); + } + }); + return reduction; + }, + + reduceRight: function reduceRight(reducer, initialReduction, context) { + var reversed = this.toKeyedSeq().reverse(); + return reversed.reduce.apply(reversed, arguments); + }, + + reverse: function reverse() { + return reify(this, reverseFactory(this, true)); + }, + + slice: function slice(begin, end) { + return reify(this, sliceFactory(this, begin, end, true)); + }, + + some: function some(predicate, context) { + return !this.every(not(predicate), context); + }, + + sort: function sort(comparator) { + return reify(this, sortFactory(this, comparator)); + }, + + values: function values() { + return this.__iterator(ITERATE_VALUES); + }, + + // ### More sequential methods + + butLast: function butLast() { + return this.slice(0, -1); + }, + + isEmpty: function isEmpty() { + return this.size !== undefined ? this.size === 0 : !this.some(function () { + return true; + }); + }, + + count: function count(predicate, context) { + return ensureSize(predicate ? this.toSeq().filter(predicate, context) : this); + }, + + countBy: function countBy(grouper, context) { + return countByFactory(this, grouper, context); + }, + + equals: function equals(other) { + return deepEqual(this, other); + }, + + entrySeq: function entrySeq() { + var iterable = this; + if (iterable._cache) { + // We cache as an entries array, so we can just return the cache! + return new ArraySeq(iterable._cache); + } + var entriesSequence = iterable.toSeq().map(entryMapper).toIndexedSeq(); + entriesSequence.fromEntrySeq = function () { + return iterable.toSeq(); + }; + return entriesSequence; + }, + + filterNot: function filterNot(predicate, context) { + return this.filter(not(predicate), context); + }, + + findEntry: function findEntry(predicate, context, notSetValue) { + var found = notSetValue; + this.__iterate(function (v, k, c) { + if (predicate.call(context, v, k, c)) { + found = [k, v]; + return false; + } + }); + return found; + }, + + findKey: function findKey(predicate, context) { + var entry = this.findEntry(predicate, context); + return entry && entry[0]; + }, + + findLast: function findLast(predicate, context, notSetValue) { + return this.toKeyedSeq().reverse().find(predicate, context, notSetValue); + }, + + findLastEntry: function findLastEntry(predicate, context, notSetValue) { + return this.toKeyedSeq().reverse().findEntry(predicate, context, notSetValue); + }, + + findLastKey: function findLastKey(predicate, context) { + return this.toKeyedSeq().reverse().findKey(predicate, context); + }, + + first: function first() { + return this.find(returnTrue); + }, + + flatMap: function flatMap(mapper, context) { + return reify(this, flatMapFactory(this, mapper, context)); + }, + + flatten: function flatten(depth) { + return reify(this, flattenFactory(this, depth, true)); + }, + + fromEntrySeq: function fromEntrySeq() { + return new FromEntriesSequence(this); + }, + + get: function get(searchKey, notSetValue) { + return this.find(function (_, key) { + return is(key, searchKey); + }, undefined, notSetValue); + }, + + getIn: function getIn(searchKeyPath, notSetValue) { + var nested = this; + // Note: in an ES6 environment, we would prefer: + // for (var key of searchKeyPath) { + var iter = forceIterator(searchKeyPath); + var step; + while (!(step = iter.next()).done) { + var key = step.value; + nested = nested && nested.get ? nested.get(key, NOT_SET) : NOT_SET; + if (nested === NOT_SET) { + return notSetValue; + } + } + return nested; + }, + + groupBy: function groupBy(grouper, context) { + return groupByFactory(this, grouper, context); + }, + + has: function has(searchKey) { + return this.get(searchKey, NOT_SET) !== NOT_SET; + }, + + hasIn: function hasIn(searchKeyPath) { + return this.getIn(searchKeyPath, NOT_SET) !== NOT_SET; + }, + + isSubset: function isSubset(iter) { + iter = typeof iter.includes === 'function' ? iter : Iterable(iter); + return this.every(function (value) { + return iter.includes(value); + }); + }, + + isSuperset: function isSuperset(iter) { + iter = typeof iter.isSubset === 'function' ? iter : Iterable(iter); + return iter.isSubset(this); + }, + + keyOf: function keyOf(searchValue) { + return this.findKey(function (value) { + return is(value, searchValue); + }); + }, + + keySeq: function keySeq() { + return this.toSeq().map(keyMapper).toIndexedSeq(); + }, + + last: function last() { + return this.toSeq().reverse().first(); + }, + + lastKeyOf: function lastKeyOf(searchValue) { + return this.toKeyedSeq().reverse().keyOf(searchValue); + }, + + max: function max(comparator) { + return maxFactory(this, comparator); + }, + + maxBy: function maxBy(mapper, comparator) { + return maxFactory(this, comparator, mapper); + }, + + min: function min(comparator) { + return maxFactory(this, comparator ? neg(comparator) : defaultNegComparator); + }, + + minBy: function minBy(mapper, comparator) { + return maxFactory(this, comparator ? neg(comparator) : defaultNegComparator, mapper); + }, + + rest: function rest() { + return this.slice(1); + }, + + skip: function skip(amount) { + return this.slice(Math.max(0, amount)); + }, + + skipLast: function skipLast(amount) { + return reify(this, this.toSeq().reverse().skip(amount).reverse()); + }, + + skipWhile: function skipWhile(predicate, context) { + return reify(this, skipWhileFactory(this, predicate, context, true)); + }, + + skipUntil: function skipUntil(predicate, context) { + return this.skipWhile(not(predicate), context); + }, + + sortBy: function sortBy(mapper, comparator) { + return reify(this, sortFactory(this, comparator, mapper)); + }, + + take: function take(amount) { + return this.slice(0, Math.max(0, amount)); + }, + + takeLast: function takeLast(amount) { + return reify(this, this.toSeq().reverse().take(amount).reverse()); + }, + + takeWhile: function takeWhile(predicate, context) { + return reify(this, takeWhileFactory(this, predicate, context)); + }, + + takeUntil: function takeUntil(predicate, context) { + return this.takeWhile(not(predicate), context); + }, + + valueSeq: function valueSeq() { + return this.toIndexedSeq(); + }, + + // ### Hashable Object + + hashCode: function hashCode() { + return this.__hash || (this.__hash = hashIterable(this)); + } + + // ### Internal + + // abstract __iterate(fn, reverse) + + // abstract __iterator(type, reverse) + }); + + // var IS_ITERABLE_SENTINEL = '@@__IMMUTABLE_ITERABLE__@@'; + // var IS_KEYED_SENTINEL = '@@__IMMUTABLE_KEYED__@@'; + // var IS_INDEXED_SENTINEL = '@@__IMMUTABLE_INDEXED__@@'; + // var IS_ORDERED_SENTINEL = '@@__IMMUTABLE_ORDERED__@@'; + + var IterablePrototype = Iterable.prototype; + IterablePrototype[IS_ITERABLE_SENTINEL] = true; + IterablePrototype[ITERATOR_SYMBOL] = IterablePrototype.values; + IterablePrototype.__toJS = IterablePrototype.toArray; + IterablePrototype.__toStringMapper = quoteString; + IterablePrototype.inspect = IterablePrototype.toSource = function () { + return this.toString(); + }; + IterablePrototype.chain = IterablePrototype.flatMap; + IterablePrototype.contains = IterablePrototype.includes; + + mixin(KeyedIterable, { + + // ### More sequential methods + + flip: function flip() { + return reify(this, flipFactory(this)); + }, + + mapEntries: function mapEntries(mapper, context) { + var this$0 = this; + var iterations = 0; + return reify(this, this.toSeq().map(function (v, k) { + return mapper.call(context, [k, v], iterations++, this$0); + }).fromEntrySeq()); + }, + + mapKeys: function mapKeys(mapper, context) { + var this$0 = this; + return reify(this, this.toSeq().flip().map(function (k, v) { + return mapper.call(context, k, v, this$0); + }).flip()); + } + + }); + + var KeyedIterablePrototype = KeyedIterable.prototype; + KeyedIterablePrototype[IS_KEYED_SENTINEL] = true; + KeyedIterablePrototype[ITERATOR_SYMBOL] = IterablePrototype.entries; + KeyedIterablePrototype.__toJS = IterablePrototype.toObject; + KeyedIterablePrototype.__toStringMapper = function (v, k) { + return JSON.stringify(k) + ': ' + quoteString(v); + }; + + mixin(IndexedIterable, { + + // ### Conversion to other types + + toKeyedSeq: function toKeyedSeq() { + return new ToKeyedSequence(this, false); + }, + + // ### ES6 Collection methods (ES6 Array and Map) + + filter: function filter(predicate, context) { + return reify(this, filterFactory(this, predicate, context, false)); + }, + + findIndex: function findIndex(predicate, context) { + var entry = this.findEntry(predicate, context); + return entry ? entry[0] : -1; + }, + + indexOf: function indexOf(searchValue) { + var key = this.keyOf(searchValue); + return key === undefined ? -1 : key; + }, + + lastIndexOf: function lastIndexOf(searchValue) { + var key = this.lastKeyOf(searchValue); + return key === undefined ? -1 : key; + }, + + reverse: function reverse() { + return reify(this, reverseFactory(this, false)); + }, + + slice: function slice(begin, end) { + return reify(this, sliceFactory(this, begin, end, false)); + }, + + splice: function splice(index, removeNum /*, ...values*/) { + var numArgs = arguments.length; + removeNum = Math.max(removeNum | 0, 0); + if (numArgs === 0 || numArgs === 2 && !removeNum) { + return this; + } + // If index is negative, it should resolve relative to the size of the + // collection. However size may be expensive to compute if not cached, so + // only call count() if the number is in fact negative. + index = resolveBegin(index, index < 0 ? this.count() : this.size); + var spliced = this.slice(0, index); + return reify(this, numArgs === 1 ? spliced : spliced.concat(arrCopy(arguments, 2), this.slice(index + removeNum))); + }, + + // ### More collection methods + + findLastIndex: function findLastIndex(predicate, context) { + var entry = this.findLastEntry(predicate, context); + return entry ? entry[0] : -1; + }, + + first: function first() { + return this.get(0); + }, + + flatten: function flatten(depth) { + return reify(this, flattenFactory(this, depth, false)); + }, + + get: function get(index, notSetValue) { + index = wrapIndex(this, index); + return index < 0 || this.size === Infinity || this.size !== undefined && index > this.size ? notSetValue : this.find(function (_, key) { + return key === index; + }, undefined, notSetValue); + }, + + has: function has(index) { + index = wrapIndex(this, index); + return index >= 0 && (this.size !== undefined ? this.size === Infinity || index < this.size : this.indexOf(index) !== -1); + }, + + interpose: function interpose(separator) { + return reify(this, interposeFactory(this, separator)); + }, + + interleave: function interleave() /*...iterables*/{ + var iterables = [this].concat(arrCopy(arguments)); + var zipped = zipWithFactory(this.toSeq(), IndexedSeq.of, iterables); + var interleaved = zipped.flatten(true); + if (zipped.size) { + interleaved.size = zipped.size * iterables.length; + } + return reify(this, interleaved); + }, + + keySeq: function keySeq() { + return Range(0, this.size); + }, + + last: function last() { + return this.get(-1); + }, + + skipWhile: function skipWhile(predicate, context) { + return reify(this, skipWhileFactory(this, predicate, context, false)); + }, + + zip: function zip() /*, ...iterables */{ + var iterables = [this].concat(arrCopy(arguments)); + return reify(this, zipWithFactory(this, defaultZipper, iterables)); + }, + + zipWith: function zipWith(zipper /*, ...iterables */) { + var iterables = arrCopy(arguments); + iterables[0] = this; + return reify(this, zipWithFactory(this, zipper, iterables)); + } + + }); + + IndexedIterable.prototype[IS_INDEXED_SENTINEL] = true; + IndexedIterable.prototype[IS_ORDERED_SENTINEL] = true; + + mixin(SetIterable, { + + // ### ES6 Collection methods (ES6 Array and Map) + + get: function get(value, notSetValue) { + return this.has(value) ? value : notSetValue; + }, + + includes: function includes(value) { + return this.has(value); + }, + + // ### More sequential methods + + keySeq: function keySeq() { + return this.valueSeq(); + } + + }); + + SetIterable.prototype.has = IterablePrototype.includes; + SetIterable.prototype.contains = SetIterable.prototype.includes; + + // Mixin subclasses + + mixin(KeyedSeq, KeyedIterable.prototype); + mixin(IndexedSeq, IndexedIterable.prototype); + mixin(SetSeq, SetIterable.prototype); + + mixin(KeyedCollection, KeyedIterable.prototype); + mixin(IndexedCollection, IndexedIterable.prototype); + mixin(SetCollection, SetIterable.prototype); + + // #pragma Helper functions + + function keyMapper(v, k) { + return k; + } + + function entryMapper(v, k) { + return [k, v]; + } + + function not(predicate) { + return function () { + return !predicate.apply(this, arguments); + }; + } + + function neg(predicate) { + return function () { + return -predicate.apply(this, arguments); + }; + } + + function quoteString(value) { + return typeof value === 'string' ? JSON.stringify(value) : String(value); + } + + function defaultZipper() { + return arrCopy(arguments); + } + + function defaultNegComparator(a, b) { + return a < b ? 1 : a > b ? -1 : 0; + } + + function hashIterable(iterable) { + if (iterable.size === Infinity) { + return 0; + } + var ordered = isOrdered(iterable); + var keyed = isKeyed(iterable); + var h = ordered ? 1 : 0; + var size = iterable.__iterate(keyed ? ordered ? function (v, k) { + h = 31 * h + hashMerge(hash(v), hash(k)) | 0; + } : function (v, k) { + h = h + hashMerge(hash(v), hash(k)) | 0; + } : ordered ? function (v) { + h = 31 * h + hash(v) | 0; + } : function (v) { + h = h + hash(v) | 0; + }); + return murmurHashOfSize(size, h); + } + + function murmurHashOfSize(size, h) { + h = imul(h, 0xCC9E2D51); + h = imul(h << 15 | h >>> -15, 0x1B873593); + h = imul(h << 13 | h >>> -13, 5); + h = (h + 0xE6546B64 | 0) ^ size; + h = imul(h ^ h >>> 16, 0x85EBCA6B); + h = imul(h ^ h >>> 13, 0xC2B2AE35); + h = smi(h ^ h >>> 16); + return h; + } + + function hashMerge(a, b) { + return a ^ b + 0x9E3779B9 + (a << 6) + (a >> 2) | 0; // int + } + + var Immutable = { + + Iterable: Iterable, + + Seq: Seq, + Collection: Collection, + Map: Map, + OrderedMap: OrderedMap, + List: List, + Stack: Stack, + Set: Set, + OrderedSet: OrderedSet, + + Record: Record, + Range: Range, + Repeat: Repeat, + + is: is, + fromJS: fromJS + + }; + + return Immutable; + }); + +/***/ }, +/* 10 */ +/***/ function(module, exports) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement); + + /** + * Simple, lightweight module assisting with the detection and context of + * Worker. Helps avoid circular dependencies and allows code to reason about + * whether or not they are in a Worker, even if they never include the main + * `ReactWorker` dependency. + */ + var ExecutionEnvironment = { + + canUseDOM: canUseDOM, + + canUseWorkers: typeof Worker !== 'undefined', + + canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent), + + canUseViewport: canUseDOM && !!window.screen, + + isInWorker: !canUseDOM // For now, this is true - might change in the future. + + }; + + module.exports = ExecutionEnvironment; + +/***/ }, +/* 11 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + exports.__esModule = true; + exports.initDatabase = initDatabase; + exports.overrideDatabaseOptions = overrideDatabaseOptions; + exports.defaultDatabaseConnection = defaultDatabaseConnection; + exports.defaultDatabaseConnectionName = defaultDatabaseConnectionName; + exports.databaseConnection = databaseConnection; + exports.databaseConnectionName = databaseConnectionName; + exports.forgotPasswordLink = forgotPasswordLink; + exports.signUpLink = signUpLink; + exports.setScreen = setScreen; + exports.getScreen = getScreen; + exports.availableScreens = availableScreens; + exports.getInitialScreen = getInitialScreen; + exports.hasInitialScreen = hasInitialScreen; + exports.databaseConnectionRequiresUsername = databaseConnectionRequiresUsername; + exports.databaseUsernameStyle = databaseUsernameStyle; + exports.databaseLogInWithEmail = databaseLogInWithEmail; + exports.databaseUsernameValue = databaseUsernameValue; + exports.authWithUsername = authWithUsername; + exports.hasScreen = hasScreen; + exports.shouldAutoLogin = shouldAutoLogin; + exports.passwordStrengthPolicy = passwordStrengthPolicy; + exports.additionalSignUpFields = additionalSignUpFields; + exports.mustAcceptTerms = mustAcceptTerms; + exports.termsAccepted = termsAccepted; + exports.toggleTermsAcceptance = toggleTermsAcceptance; + exports.resolveAdditionalSignUpFields = resolveAdditionalSignUpFields; + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(8); + + var _data_utils = __webpack_require__(17); + + var _sync = __webpack_require__(45); + + var _sync2 = _interopRequireDefault(_sync); + + var _trim = __webpack_require__(25); + + var _trim2 = _interopRequireDefault(_trim); + + var _tenant = __webpack_require__(81); + + var _enterprise = __webpack_require__(23); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var _dataFns = (0, _data_utils.dataFns)(["database"]), + get = _dataFns.get, + initNS = _dataFns.initNS, + tget = _dataFns.tget, + tset = _dataFns.tset; + + function initDatabase(m, options) { + m = initNS(m, _immutable2.default.fromJS(processDatabaseOptions(options))); + m = resolveAdditionalSignUpFields(m); + return m; + } + + function assertMaybeBoolean(opts, name) { + var valid = opts[name] === undefined || typeof opts[name] === "boolean"; + if (!valid) l.warn(opts, 'The `' + name + '` option will be ignored, because it is not a booelan.'); + return valid; + } + + function assertMaybeEnum(opts, name, a) { + var valid = opts[name] === undefined || a.indexOf(opts[name]) > -1; + if (!valid) l.warn(opts, 'The `' + name + '` option will be ignored, because it is not one of the following allowed values: ' + a.map(function (x) { + return JSON.stringify(x); + }).join(", ") + '.'); + return valid; + } + + function assertMaybeString(opts, name) { + var valid = opts[name] === undefined || typeof opts[name] === "string" && (0, _trim2.default)(opts[name]).length > 0; + if (!valid) l.warn(opts, 'The `' + name + '` option will be ignored, because it is not a non-empty string.'); + return valid; + } + + function assertMaybeArray(opts, name) { + var valid = opts[name] === undefined || global.Array.isArray(opts[name]); + if (!valid) l.warn(opts, 'The `' + name + '` option will be ignored, because it is not an array.'); + return valid; + } + + function processDatabaseOptions(opts) { + var additionalSignUpFields = opts.additionalSignUpFields, + defaultDatabaseConnection = opts.defaultDatabaseConnection, + forgotPasswordLink = opts.forgotPasswordLink, + loginAfterSignUp = opts.loginAfterSignUp, + mustAcceptTerms = opts.mustAcceptTerms, + signUpLink = opts.signUpLink, + usernameStyle = opts.usernameStyle; + + var _processScreenOptions = processScreenOptions(opts), + initialScreen = _processScreenOptions.initialScreen, + screens = _processScreenOptions.screens; + + if (!assertMaybeEnum(opts, "usernameStyle", ["email", "username"])) { + usernameStyle = undefined; + } + + if (!assertMaybeString(opts, "defaultDatabaseConnection")) { + defaultDatabaseConnection = undefined; + } + + if (!assertMaybeString(opts, "forgotPasswordLink")) { + forgotPasswordLink = undefined; + } + + if (!assertMaybeString(opts, "signUpLink")) { + signUpLink = undefined; + } + + if (!assertMaybeBoolean(opts, "mustAcceptTerms")) { + mustAcceptTerms = undefined; + } + + if (!assertMaybeArray(opts, "additionalSignUpFields")) { + additionalSignUpFields = undefined; + } else if (additionalSignUpFields) { + additionalSignUpFields = additionalSignUpFields.reduce(function (r, x) { + var icon = x.icon, + name = x.name, + options = x.options, + placeholder = x.placeholder, + prefill = x.prefill, + type = x.type, + validator = x.validator; + + var filter = true; + + var reservedNames = ["email", "username", "password"]; + if (typeof name != "string" || !name.match(/^[a-zA-Z0-9_]+$/) || reservedNames.indexOf(name) > -1) { + l.warn(opts, 'Ignoring an element of `additionalSignUpFields` because it does not contain valid `name` property. Every element of `additionalSignUpFields` must be an object with a `name` property that is a non-empty string consisting of letters, numbers and underscores. The following names are reserved, and therefore, cannot be used: ' + reservedNames.join(", ") + '.'); + filter = false; + } + + if (typeof placeholder != "string" || !placeholder) { + l.warn(opts, "Ignoring an element of `additionalSignUpFields` because it does not contain a valid `placeholder` property. Every element of `additionalSignUpFields` must have a `placeholder` property that is a non-empty string."); + filter = false; + } + + if (icon != undefined && (typeof icon != "string" || !icon)) { + l.warn(opts, "When provided, the `icon` property of an element of `additionalSignUpFields` must be a non-empty string."); + icon = undefined; + } + + if (prefill != undefined && (typeof prefill != "string" || !prefill) && typeof prefill != "function") { + l.warn(opts, "When provided, the `prefill` property of an element of `additionalSignUpFields` must be a non-empty string or a function."); + prefill = undefined; + } + + var types = ["select", "text"]; + if (type != undefined && (typeof type != "string" || types.indexOf(type) === -1)) { + l.warn(opts, 'When provided, the `type` property of an element of `additionalSignUpFields` must be one of the following strings: "' + types.join("\", \"") + '".'); + type = undefined; + } + + if (validator != undefined && type === "select") { + l.warn(opts, "Elements of `additionalSignUpFields` with a \"select\" `type` cannot specify a `validator` function, all of its `options` are assumed to be valid."); + validator = undefined; + } + + if (validator != undefined && typeof validator != "function") { + l.warn(opts, "When provided, the `validator` property of an element of `additionalSignUpFields` must be a function."); + validator = undefined; + } + + if (options != undefined && type != "select") { + l.warn(opts, "The `options` property can only by provided for an element of `additionalSignUpFields` when its `type` equals to \"select\""); + options = undefined; + } + + if (options != undefined && !global.Array.isArray(options) && typeof options != "function" || type === "select" && options === undefined) { + l.warn(opts, "Ignoring an element of `additionalSignUpFields` because it has a \"select\" `type` but does not specify an `options` property that is an Array or a function."); + filter = false; + } + + return filter ? r.concat([{ icon: icon, name: name, options: options, placeholder: placeholder, prefill: prefill, type: type, validator: validator }]) : r; + }, []); + + additionalSignUpFields = _immutable2.default.fromJS(additionalSignUpFields).map(function (x) { + return x.filter(function (y) { + return y !== undefined; + }); + }); + } + + // TODO: add a warning if it is not a boolean, leave it undefined, + // and change accesor fn. + loginAfterSignUp = loginAfterSignUp === false ? false : true; + + return (0, _immutable.Map)({ + additionalSignUpFields: additionalSignUpFields, + defaultConnectionName: defaultDatabaseConnection, + forgotPasswordLink: forgotPasswordLink, + initialScreen: initialScreen, + loginAfterSignUp: loginAfterSignUp, + mustAcceptTerms: mustAcceptTerms, + screens: screens, + signUpLink: signUpLink, + usernameStyle: usernameStyle + }).filter(function (x) { + return typeof x !== "undefined"; + }).toJS(); + } + + function processScreenOptions(opts) { + var defaults = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { allowLogin: true, allowSignUp: true, allowForgotPassword: true, initialScreen: undefined }; + var allowForgotPassword = opts.allowForgotPassword, + allowLogin = opts.allowLogin, + allowSignUp = opts.allowSignUp, + initialScreen = opts.initialScreen; + + + var screens = []; + + if (allowLogin === true || !assertMaybeBoolean(opts, "allowLogin") && defaults.allowLogin || allowLogin === undefined && defaults.allowLogin) { + screens.push("login"); + } + + if (allowSignUp === true || !assertMaybeBoolean(opts, "allowSignUp") && defaults.allowSignUp || allowSignUp === undefined && defaults.allowSignUp) { + screens.push("signUp"); + } + + if (allowForgotPassword === true || !assertMaybeBoolean(opts, "allowForgotPassword") && defaults.allowForgotPassword || allowForgotPassword === undefined && defaults.allowForgotPassword) { + screens.push("forgotPassword"); + } + + screens.push("mfaLogin"); + + if (!assertMaybeEnum(opts, "initialScreen", screens)) { + initialScreen = undefined; + } + + if (initialScreen === undefined) { + initialScreen = defaults.initialScreen || screens[0]; + } + + return { initialScreen: initialScreen, screens: new _immutable.List(screens) }; + } + + function overrideDatabaseOptions(m, opts) { + var _processScreenOptions2 = processScreenOptions(opts, { + allowLogin: availableScreens(m).contains("login"), + allowSignUp: availableScreens(m).contains("signUp"), + allowForgotPassword: availableScreens(m).contains("forgotPassword"), + initialScreen: get(m, "initialScreen") + }), + initialScreen = _processScreenOptions2.initialScreen, + screens = _processScreenOptions2.screens; + + m = tset(m, "initialScreen", initialScreen); + m = tset(m, "screens", screens); + return m; + } + + function defaultDatabaseConnection(m) { + var name = defaultDatabaseConnectionName(m); + return name && l.findConnection(m, name); + } + + function defaultDatabaseConnectionName(m) { + return get(m, "defaultConnectionName"); + } + + function databaseConnection(m) { + return (0, _tenant.defaultDirectory)(m) || defaultDatabaseConnection(m) || l.connection(m, "database"); + } + + function databaseConnectionName(m) { + return (databaseConnection(m) || (0, _immutable.Map)()).get("name"); + } + + function forgotPasswordLink(m) { + var notFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; + + return get(m, "forgotPasswordLink", notFound); + } + + function signUpLink(m) { + var notFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; + + return get(m, "signUpLink", notFound); + } + + function setScreen(m, name) { + var fields = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; + + // TODO: the lock/index module should provide a way to clear + // everything that needs the be cleared when changing screens, other + // modules should not care. + m = l.clearGlobalError(m); + m = l.clearGlobalSuccess(m); + m = (0, _index2.clearFields)(m, fields); + + return tset(m, "screen", name); + } + + function getScreen(m) { + var screen = tget(m, "screen"); + var initialScreen = getInitialScreen(m); + var screens = [screen, initialScreen, "login", "signUp", "forgotPassword", "mfaLogin"]; + var availableScreens = screens.filter(function (x) { + return hasScreen(m, x); + }); + return availableScreens[0]; + } + + function availableScreens(m) { + return tget(m, "screens") || get(m, "screens", new _immutable.List()); + } + + function getInitialScreen(m) { + return tget(m, "initialScreen") || get(m, "initialScreen"); + } + + function hasInitialScreen(m, str) { + return getInitialScreen(m) === str; + } + + function databaseConnectionRequiresUsername(m) { + return (databaseConnection(m) || (0, _immutable.Map)()).toJS().requireUsername; + } + + function databaseUsernameStyle(m) { + if (l.hasSomeConnections(m, "database")) { + return databaseConnectionRequiresUsername(m) ? get(m, "usernameStyle", "any") : "email"; + } + + return l.hasSomeConnections(m, "enterprise") && (0, _enterprise.findADConnectionWithoutDomain)(m) ? 'username' : 'email'; + } + + function databaseLogInWithEmail(m) { + return databaseUsernameStyle(m) === "email"; + } + + function databaseUsernameValue(m) { + return (0, _index2.getFieldValue)(m, databaseLogInWithEmail(m) ? "email" : "username"); + } + + function authWithUsername(m) { + return databaseConnectionRequiresUsername(m) || get(m, "usernameStyle", "email") === "username"; + } + + function hasScreen(m, s) { + var _toJS = (databaseConnection(m) || (0, _immutable.Map)()).toJS(), + allowForgot = _toJS.allowForgot, + allowSignup = _toJS.allowSignup; + + return !(allowForgot === false && s === "forgotPassword") && !(allowSignup === false && s === "signUp") && availableScreens(m).contains(s); + } + + function shouldAutoLogin(m) { + return get(m, "loginAfterSignUp"); + } + + function passwordStrengthPolicy(m) { + return (databaseConnection(m) || (0, _immutable.Map)()).get("passwordPolicy", "none"); + } + + function additionalSignUpFields(m) { + return get(m, "additionalSignUpFields", (0, _immutable.List)()); + } + + function mustAcceptTerms(m) { + return get(m, "mustAcceptTerms", false); + } + + function termsAccepted(m) { + return !mustAcceptTerms(m) || tget(m, "termsAccepted", false); + } + + function toggleTermsAcceptance(m) { + return tset(m, "termsAccepted", !termsAccepted(m)); + } + + function resolveAdditionalSignUpFields(m) { + return additionalSignUpFields(m).reduce(function (r, x) { + return x.get("type") === "select" ? resolveAdditionalSignUpSelectField(r, x) : resolveAdditionalSignUpTextField(r, x); + }, m); + } + + function resolveAdditionalSignUpSelectField(m, x) { + var name = x.get("name"); + var keyNs = ["additionalSignUpField", name]; + var prefill = x.get("prefill"); + var options = x.get("options"); + + var resolvedPrefill = typeof prefill === "function" ? undefined : prefill || ""; + var resolvedOptions = typeof options === "function" ? undefined : options; + + var register = function register(m) { + return resolvedPrefill !== undefined && resolvedOptions !== undefined ? (0, _index2.registerOptionField)(m, name, _immutable2.default.fromJS(resolvedOptions), resolvedPrefill) : m; + }; + + if (resolvedPrefill === undefined) { + m = (0, _sync2.default)(m, keyNs.concat("prefill"), { + recoverResult: "", + successFn: function successFn(m, result) { + resolvedPrefill = result; + return register(m); + }, + syncFn: function syncFn(m, cb) { + return prefill(cb); + } + }); + } + + if (resolvedOptions === undefined) { + m = (0, _sync2.default)(m, keyNs.concat("options"), { + successFn: function successFn(m, result) { + resolvedOptions = result; + return register(m); + }, + syncFn: function syncFn(m, cb) { + return options(cb); + } + }); + } + + if (resolvedPrefill !== undefined && resolvedOptions !== undefined) { + m = (0, _index2.registerOptionField)(m, name, _immutable2.default.fromJS(resolvedOptions), resolvedPrefill); + } + + return m; + } + + function resolveAdditionalSignUpTextField(m, x) { + var name = x.get("name"); + var key = ["additionalSignUpField", name, "prefill"]; + var prefill = x.get("prefill"); + var validator = x.get("validator"); + + var resolvedPrefill = typeof prefill === "function" ? undefined : prefill || ""; + + if (resolvedPrefill === undefined) { + m = (0, _sync2.default)(m, key, { + recoverResult: "", + successFn: function successFn(m, result) { + return (0, _index2.setField)(m, name, result, validator); + }, + syncFn: function syncFn(m, cb) { + return prefill(cb); + } + }); + } else { + m = (0, _index2.setField)(m, name, resolvedPrefill, validator); + } + + return m; + } + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 12 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.observe = observe; + exports.subscribe = subscribe; + exports.unsubscribe = unsubscribe; + exports.swap = swap; + exports.updateEntity = updateEntity; + exports.setEntity = setEntity; + exports.read = read; + exports.getEntity = getEntity; + exports.removeEntity = removeEntity; + exports.getCollection = getCollection; + exports.updateCollection = updateCollection; + exports.getState = getState; + + var _atom = __webpack_require__(322); + + var _atom2 = _interopRequireDefault(_atom); + + var _immutable = __webpack_require__(9); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var store = (0, _atom2.default)(new _immutable.Map({})); + + function observe(key, id, f) { + subscribe(key + '-' + id, function (_, oldState, newState) { + var m = getEntity(newState, "lock", id); + var oldM = getEntity(oldState, "lock", id); + if (m != oldM) f(m); + }); + } + + function subscribe(key, f) { + store.addWatch(key, f); + } + + function unsubscribe(key) { + store.removeWatch(key); + } + + function swap() { + return store.swap.apply(store, arguments); + } + + function updateEntity(state, coll, id, f) { + for (var _len = arguments.length, args = Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++) { + args[_key - 4] = arguments[_key]; + } + + return state.updateIn([coll, id], new _immutable.Map({}), function (x) { + return f.apply(undefined, [x].concat(args)); + }); + } + + function setEntity(state, coll, id, m) { + return state.setIn([coll, id], m); + } + + function read(f) { + for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + args[_key2 - 1] = arguments[_key2]; + } + + return f.apply(undefined, [store.deref()].concat(args)); + } + + function getEntity(state, coll) { + var id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; + + return state.getIn([coll, id]); + } + + function removeEntity(state, coll) { + var id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; + + return state.removeIn([coll, id]); + } + + function getCollection(state, coll) { + return state.get(coll, (0, _immutable.Map)()).toList(); + } + + // TODO: try to remove this fn + function updateCollection(state, coll, f) { + for (var _len3 = arguments.length, args = Array(_len3 > 3 ? _len3 - 3 : 0), _key3 = 3; _key3 < _len3; _key3++) { + args[_key3 - 3] = arguments[_key3]; + } + + return state.update(coll, function (xs) { + return f.apply(undefined, [xs].concat(args)); + }); + } + + function getState() { + return store.deref(); + } + + // DEV + // store.addWatch("keepHistory", (key, oldState, newState) => { + // if (!global.window.h) global.window.h = []; global.window.h.push(newState); + // console.debug("something changed", newState.toJS()); + // }); + +/***/ }, +/* 13 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + exports.str = str; + exports.html = html; + exports.group = group; + exports.initI18n = initI18n; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _util = __webpack_require__(79); + + var _sync = __webpack_require__(45); + + var _sync2 = _interopRequireDefault(_sync); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _data_utils = __webpack_require__(17); + + var _en = __webpack_require__(309); + + var _en2 = _interopRequireDefault(_en); + + var _cdn_utils = __webpack_require__(90); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var _dataFns = (0, _data_utils.dataFns)(["i18n"]), + get = _dataFns.get, + set = _dataFns.set; + + function str(m, keyPath) { + for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { + args[_key - 2] = arguments[_key]; + } + + return _util.format.apply(undefined, [get(m, ["strings"].concat(keyPath), "")].concat(args)); + } + + function html(m, keyPath) { + for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + args[_key2 - 2] = arguments[_key2]; + } + + var html = str.apply(undefined, [m, keyPath].concat(args)); + + return html ? _react2.default.createElement("span", { dangerouslySetInnerHTML: { __html: html } }) : null; + } + + function group(m, keyPath) { + return get(m, ["strings"].concat(keyPath), (0, _immutable.Map)()).toJS(); + } + + function initI18n(m) { + var language = l.ui.language(m); + var overrides = l.ui.dict(m); + var defaultDictionary = _immutable2.default.fromJS(_en2.default); + + var base = languageDictionaries[language] || (0, _immutable.Map)({}); + + if (base.isEmpty()) { + base = overrides; + m = (0, _sync2.default)(m, "i18n", { + syncFn: function syncFn(_, cb) { + return syncLang(m, language, cb); + }, + successFn: function successFn(m, result) { + registerLanguageDictionary(language, result); + + var overrided = _immutable2.default.fromJS(result).mergeDeep(overrides); + + assertLanguage(m, overrided.toJS(), _en2.default); + + return set(m, "strings", defaultDictionary.mergeDeep(overrided)); + } + }); + } else { + assertLanguage(m, base.toJS(), _en2.default); + } + + base = defaultDictionary.mergeDeep(base).mergeDeep(overrides); + + return set(m, "strings", base); + } + + function assertLanguage(m, language, base) { + var path = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ""; + + Object.keys(base).forEach(function (key) { + if (!language.hasOwnProperty(key)) { + l.warn(m, 'language does not have property ' + path + key); + } else { + if (_typeof(base[key]) === 'object') { + assertLanguage(m, language[key], base[key], '' + path + key + '.'); + } + } + }); + } + + // sync + + function syncLang(m, language, _cb) { + (0, _cdn_utils.load)({ + method: "registerLanguageDictionary", + url: l.languageBaseUrl(m) + '/js/lock/' + '10.8.1' + '/' + language + '.js', + check: function check(str) { + return str && str === language; + }, + cb: function cb(err, _, dictionary) { + _cb(err, dictionary); + } + }); + } + + var languageDictionaries = []; + + function registerLanguageDictionary(language, dictionary) { + languageDictionaries[language] = _immutable2.default.fromJS(dictionary); + } + + registerLanguageDictionary("en", _en2.default); + + (0, _cdn_utils.preload)({ + method: "registerLanguageDictionary", + cb: registerLanguageDictionary + }); + +/***/ }, +/* 14 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2016-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + // Trust the developer to only use ReactInstrumentation with a __DEV__ check + + var debugTool = null; + + if (false) { + var ReactDebugTool = require('./ReactDebugTool'); + debugTool = ReactDebugTool; + } + + module.exports = { debugTool: debugTool }; + +/***/ }, +/* 15 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(7); + + var CallbackQueue = __webpack_require__(98); + var PooledClass = __webpack_require__(27); + var ReactFeatureFlags = __webpack_require__(104); + var ReactReconciler = __webpack_require__(34); + var Transaction = __webpack_require__(49); + + var invariant = __webpack_require__(3); + + var dirtyComponents = []; + var updateBatchNumber = 0; + var asapCallbackQueue = CallbackQueue.getPooled(); + var asapEnqueued = false; + + var batchingStrategy = null; + + function ensureInjected() { + !(ReactUpdates.ReactReconcileTransaction && batchingStrategy) ? false ? invariant(false, 'ReactUpdates: must inject a reconcile transaction class and batching strategy') : _prodInvariant('123') : void 0; + } + + var NESTED_UPDATES = { + initialize: function initialize() { + this.dirtyComponentsLength = dirtyComponents.length; + }, + close: function close() { + if (this.dirtyComponentsLength !== dirtyComponents.length) { + // Additional updates were enqueued by componentDidUpdate handlers or + // similar; before our own UPDATE_QUEUEING wrapper closes, we want to run + // these new updates so that if A's componentDidUpdate calls setState on + // B, B will update before the callback A's updater provided when calling + // setState. + dirtyComponents.splice(0, this.dirtyComponentsLength); + flushBatchedUpdates(); + } else { + dirtyComponents.length = 0; + } + } + }; + + var UPDATE_QUEUEING = { + initialize: function initialize() { + this.callbackQueue.reset(); + }, + close: function close() { + this.callbackQueue.notifyAll(); + } + }; + + var TRANSACTION_WRAPPERS = [NESTED_UPDATES, UPDATE_QUEUEING]; + + function ReactUpdatesFlushTransaction() { + this.reinitializeTransaction(); + this.dirtyComponentsLength = null; + this.callbackQueue = CallbackQueue.getPooled(); + this.reconcileTransaction = ReactUpdates.ReactReconcileTransaction.getPooled( + /* useCreateElement */true); + } + + _assign(ReactUpdatesFlushTransaction.prototype, Transaction, { + getTransactionWrappers: function getTransactionWrappers() { + return TRANSACTION_WRAPPERS; + }, + + destructor: function destructor() { + this.dirtyComponentsLength = null; + CallbackQueue.release(this.callbackQueue); + this.callbackQueue = null; + ReactUpdates.ReactReconcileTransaction.release(this.reconcileTransaction); + this.reconcileTransaction = null; + }, + + perform: function perform(method, scope, a) { + // Essentially calls `this.reconcileTransaction.perform(method, scope, a)` + // with this transaction's wrappers around it. + return Transaction.perform.call(this, this.reconcileTransaction.perform, this.reconcileTransaction, method, scope, a); + } + }); + + PooledClass.addPoolingTo(ReactUpdatesFlushTransaction); + + function batchedUpdates(callback, a, b, c, d, e) { + ensureInjected(); + return batchingStrategy.batchedUpdates(callback, a, b, c, d, e); + } + + /** + * Array comparator for ReactComponents by mount ordering. + * + * @param {ReactComponent} c1 first component you're comparing + * @param {ReactComponent} c2 second component you're comparing + * @return {number} Return value usable by Array.prototype.sort(). + */ + function mountOrderComparator(c1, c2) { + return c1._mountOrder - c2._mountOrder; + } + + function runBatchedUpdates(transaction) { + var len = transaction.dirtyComponentsLength; + !(len === dirtyComponents.length) ? false ? invariant(false, 'Expected flush transaction\'s stored dirty-components length (%s) to match dirty-components array length (%s).', len, dirtyComponents.length) : _prodInvariant('124', len, dirtyComponents.length) : void 0; + + // Since reconciling a component higher in the owner hierarchy usually (not + // always -- see shouldComponentUpdate()) will reconcile children, reconcile + // them before their children by sorting the array. + dirtyComponents.sort(mountOrderComparator); + + // Any updates enqueued while reconciling must be performed after this entire + // batch. Otherwise, if dirtyComponents is [A, B] where A has children B and + // C, B could update twice in a single batch if C's render enqueues an update + // to B (since B would have already updated, we should skip it, and the only + // way we can know to do so is by checking the batch counter). + updateBatchNumber++; + + for (var i = 0; i < len; i++) { + // If a component is unmounted before pending changes apply, it will still + // be here, but we assume that it has cleared its _pendingCallbacks and + // that performUpdateIfNecessary is a noop. + var component = dirtyComponents[i]; + + // If performUpdateIfNecessary happens to enqueue any new updates, we + // shouldn't execute the callbacks until the next render happens, so + // stash the callbacks first + var callbacks = component._pendingCallbacks; + component._pendingCallbacks = null; + + var markerName; + if (ReactFeatureFlags.logTopLevelRenders) { + var namedComponent = component; + // Duck type TopLevelWrapper. This is probably always true. + if (component._currentElement.type.isReactTopLevelWrapper) { + namedComponent = component._renderedComponent; + } + markerName = 'React update: ' + namedComponent.getName(); + console.time(markerName); + } + + ReactReconciler.performUpdateIfNecessary(component, transaction.reconcileTransaction, updateBatchNumber); + + if (markerName) { + console.timeEnd(markerName); + } + + if (callbacks) { + for (var j = 0; j < callbacks.length; j++) { + transaction.callbackQueue.enqueue(callbacks[j], component.getPublicInstance()); + } + } + } + } + + var flushBatchedUpdates = function flushBatchedUpdates() { + // ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents + // array and perform any updates enqueued by mount-ready handlers (i.e., + // componentDidUpdate) but we need to check here too in order to catch + // updates enqueued by setState callbacks and asap calls. + while (dirtyComponents.length || asapEnqueued) { + if (dirtyComponents.length) { + var transaction = ReactUpdatesFlushTransaction.getPooled(); + transaction.perform(runBatchedUpdates, null, transaction); + ReactUpdatesFlushTransaction.release(transaction); + } + + if (asapEnqueued) { + asapEnqueued = false; + var queue = asapCallbackQueue; + asapCallbackQueue = CallbackQueue.getPooled(); + queue.notifyAll(); + CallbackQueue.release(queue); + } + } + }; + + /** + * Mark a component as needing a rerender, adding an optional callback to a + * list of functions which will be executed once the rerender occurs. + */ + function enqueueUpdate(component) { + ensureInjected(); + + // Various parts of our code (such as ReactCompositeComponent's + // _renderValidatedComponent) assume that calls to render aren't nested; + // verify that that's the case. (This is called by each top-level update + // function, like setState, forceUpdate, etc.; creation and + // destruction of top-level components is guarded in ReactMount.) + + if (!batchingStrategy.isBatchingUpdates) { + batchingStrategy.batchedUpdates(enqueueUpdate, component); + return; + } + + dirtyComponents.push(component); + if (component._updateBatchNumber == null) { + component._updateBatchNumber = updateBatchNumber + 1; + } + } + + /** + * Enqueue a callback to be run at the end of the current batching cycle. Throws + * if no updates are currently being performed. + */ + function asap(callback, context) { + !batchingStrategy.isBatchingUpdates ? false ? invariant(false, 'ReactUpdates.asap: Can\'t enqueue an asap callback in a context whereupdates are not being batched.') : _prodInvariant('125') : void 0; + asapCallbackQueue.enqueue(callback, context); + asapEnqueued = true; + } + + var ReactUpdatesInjection = { + injectReconcileTransaction: function injectReconcileTransaction(ReconcileTransaction) { + !ReconcileTransaction ? false ? invariant(false, 'ReactUpdates: must provide a reconcile transaction class') : _prodInvariant('126') : void 0; + ReactUpdates.ReactReconcileTransaction = ReconcileTransaction; + }, + + injectBatchingStrategy: function injectBatchingStrategy(_batchingStrategy) { + !_batchingStrategy ? false ? invariant(false, 'ReactUpdates: must provide a batching strategy') : _prodInvariant('127') : void 0; + !(typeof _batchingStrategy.batchedUpdates === 'function') ? false ? invariant(false, 'ReactUpdates: must provide a batchedUpdates() function') : _prodInvariant('128') : void 0; + !(typeof _batchingStrategy.isBatchingUpdates === 'boolean') ? false ? invariant(false, 'ReactUpdates: must provide an isBatchingUpdates boolean attribute') : _prodInvariant('129') : void 0; + batchingStrategy = _batchingStrategy; + } + }; + + var ReactUpdates = { + /** + * React references `ReactReconcileTransaction` using this property in order + * to allow dependency injection. + * + * @internal + */ + ReactReconcileTransaction: null, + + batchedUpdates: batchedUpdates, + enqueueUpdate: enqueueUpdate, + flushBatchedUpdates: flushBatchedUpdates, + injection: ReactUpdatesInjection, + asap: asap + }; + + module.exports = ReactUpdates; + +/***/ }, +/* 16 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + var Screen = function () { + function Screen(name) { + _classCallCheck(this, Screen); + + this.name = name; + } + + Screen.prototype.backHandler = function backHandler() { + return null; + }; + + Screen.prototype.escHandler = function escHandler() { + return null; + }; + + Screen.prototype.submitButtonLabel = function submitButtonLabel(m) { + return i18n.str(m, ["submitLabel"]); + }; + + Screen.prototype.submitHandler = function submitHandler() { + return null; + }; + + Screen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane() { + return null; + }; + + Screen.prototype.renderTabs = function renderTabs() { + return false; + }; + + Screen.prototype.renderTerms = function renderTerms() { + return null; + }; + + return Screen; + }(); + + exports.default = Screen; + +/***/ }, +/* 17 */ +/***/ function(module, exports, __webpack_require__) { + + "use strict"; + + exports.__esModule = true; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + exports.dataFns = dataFns; + + var _immutable = __webpack_require__(9); + + function dataFns(baseNSKeyPath) { + function keyPath(nsKeyPath, keyOrKeyPath) { + return nsKeyPath.concat((typeof keyOrKeyPath === "undefined" ? "undefined" : _typeof(keyOrKeyPath)) === "object" ? keyOrKeyPath : [keyOrKeyPath]); + } + + function getFn(nsKeyPath) { + return function (m, keyOrKeyPath) { + var notSetValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined; + + return m.getIn(keyPath(nsKeyPath, keyOrKeyPath), notSetValue); + }; + } + + function setFn(nsKeyPath) { + return function (m, keyOrKeyPath, value) { + return m.setIn(keyPath(nsKeyPath, keyOrKeyPath), value); + }; + } + + function removeFn(nsKeyPath) { + return function (m, keyOrKeyPath) { + return m.removeIn(keyPath(nsKeyPath, keyOrKeyPath)); + }; + } + + var transientNSKeyPath = baseNSKeyPath.concat(["transient"]); + + return { + get: getFn(baseNSKeyPath), + set: setFn(baseNSKeyPath), + remove: removeFn(baseNSKeyPath), + tget: getFn(transientNSKeyPath), + tset: setFn(transientNSKeyPath), + tremove: removeFn(transientNSKeyPath), + reset: function reset(m) { + return m.map(function (x) { + return _immutable.Map.isMap(x) ? x.remove("transient") : x; + }); + }, + init: function init(id, m) { + return new _immutable.Map({ id: id }).setIn(baseNSKeyPath, m); + }, + initNS: function initNS(m, ns) { + return m.setIn(baseNSKeyPath, ns); + } + }; + } + +/***/ }, +/* 18 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var PooledClass = __webpack_require__(27); + + var emptyFunction = __webpack_require__(19); + var warning = __webpack_require__(5); + + var didWarnForAddedNewProperty = false; + var isProxySupported = typeof Proxy === 'function'; + + var shouldBeReleasedProperties = ['dispatchConfig', '_targetInst', 'nativeEvent', 'isDefaultPrevented', 'isPropagationStopped', '_dispatchListeners', '_dispatchInstances']; + + /** + * @interface Event + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ + var EventInterface = { + type: null, + target: null, + // currentTarget is set when dispatching; no use in copying it here + currentTarget: emptyFunction.thatReturnsNull, + eventPhase: null, + bubbles: null, + cancelable: null, + timeStamp: function timeStamp(event) { + return event.timeStamp || Date.now(); + }, + defaultPrevented: null, + isTrusted: null + }; + + /** + * Synthetic events are dispatched by event plugins, typically in response to a + * top-level event delegation handler. + * + * These systems should generally use pooling to reduce the frequency of garbage + * collection. The system should check `isPersistent` to determine whether the + * event should be released into the pool after being dispatched. Users that + * need a persisted event should invoke `persist`. + * + * Synthetic events (and subclasses) implement the DOM Level 3 Events API by + * normalizing browser quirks. Subclasses do not necessarily have to implement a + * DOM interface; custom application-specific events can also subclass this. + * + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {*} targetInst Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @param {DOMEventTarget} nativeEventTarget Target node. + */ + function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeEventTarget) { + if (false) { + // these have a getter/setter for warnings + delete this.nativeEvent; + delete this.preventDefault; + delete this.stopPropagation; + } + + this.dispatchConfig = dispatchConfig; + this._targetInst = targetInst; + this.nativeEvent = nativeEvent; + + var Interface = this.constructor.Interface; + for (var propName in Interface) { + if (!Interface.hasOwnProperty(propName)) { + continue; + } + if (false) { + delete this[propName]; // this has a getter/setter for warnings + } + var normalize = Interface[propName]; + if (normalize) { + this[propName] = normalize(nativeEvent); + } else { + if (propName === 'target') { + this.target = nativeEventTarget; + } else { + this[propName] = nativeEvent[propName]; + } + } + } + + var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false; + if (defaultPrevented) { + this.isDefaultPrevented = emptyFunction.thatReturnsTrue; + } else { + this.isDefaultPrevented = emptyFunction.thatReturnsFalse; + } + this.isPropagationStopped = emptyFunction.thatReturnsFalse; + return this; + } + + _assign(SyntheticEvent.prototype, { + + preventDefault: function preventDefault() { + this.defaultPrevented = true; + var event = this.nativeEvent; + if (!event) { + return; + } + + if (event.preventDefault) { + event.preventDefault(); + } else if (typeof event.returnValue !== 'unknown') { + // eslint-disable-line valid-typeof + event.returnValue = false; + } + this.isDefaultPrevented = emptyFunction.thatReturnsTrue; + }, + + stopPropagation: function stopPropagation() { + var event = this.nativeEvent; + if (!event) { + return; + } + + if (event.stopPropagation) { + event.stopPropagation(); + } else if (typeof event.cancelBubble !== 'unknown') { + // eslint-disable-line valid-typeof + // The ChangeEventPlugin registers a "propertychange" event for + // IE. This event does not support bubbling or cancelling, and + // any references to cancelBubble throw "Member not found". A + // typeof check of "unknown" circumvents this issue (and is also + // IE specific). + event.cancelBubble = true; + } + + this.isPropagationStopped = emptyFunction.thatReturnsTrue; + }, + + /** + * We release all dispatched `SyntheticEvent`s after each event loop, adding + * them back into the pool. This allows a way to hold onto a reference that + * won't be added back into the pool. + */ + persist: function persist() { + this.isPersistent = emptyFunction.thatReturnsTrue; + }, + + /** + * Checks if this event should be released back into the pool. + * + * @return {boolean} True if this should not be released, false otherwise. + */ + isPersistent: emptyFunction.thatReturnsFalse, + + /** + * `PooledClass` looks for `destructor` on each instance it releases. + */ + destructor: function destructor() { + var Interface = this.constructor.Interface; + for (var propName in Interface) { + if (false) { + Object.defineProperty(this, propName, getPooledWarningPropertyDefinition(propName, Interface[propName])); + } else { + this[propName] = null; + } + } + for (var i = 0; i < shouldBeReleasedProperties.length; i++) { + this[shouldBeReleasedProperties[i]] = null; + } + if (false) { + Object.defineProperty(this, 'nativeEvent', getPooledWarningPropertyDefinition('nativeEvent', null)); + Object.defineProperty(this, 'preventDefault', getPooledWarningPropertyDefinition('preventDefault', emptyFunction)); + Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', emptyFunction)); + } + } + + }); + + SyntheticEvent.Interface = EventInterface; + + if (false) { + if (isProxySupported) { + /*eslint-disable no-func-assign */ + SyntheticEvent = new Proxy(SyntheticEvent, { + construct: function construct(target, args) { + return this.apply(target, Object.create(target.prototype), args); + }, + apply: function apply(constructor, that, args) { + return new Proxy(constructor.apply(that, args), { + set: function set(target, prop, value) { + if (prop !== 'isPersistent' && !target.constructor.Interface.hasOwnProperty(prop) && shouldBeReleasedProperties.indexOf(prop) === -1) { + process.env.NODE_ENV !== 'production' ? warning(didWarnForAddedNewProperty || target.isPersistent(), 'This synthetic event is reused for performance reasons. If you\'re ' + 'seeing this, you\'re adding a new property in the synthetic event object. ' + 'The property is never released. See ' + 'https://fb.me/react-event-pooling for more information.') : void 0; + didWarnForAddedNewProperty = true; + } + target[prop] = value; + return true; + } + }); + } + }); + /*eslint-enable no-func-assign */ + } + } + /** + * Helper to reduce boilerplate when creating subclasses. + * + * @param {function} Class + * @param {?object} Interface + */ + SyntheticEvent.augmentClass = function (Class, Interface) { + var Super = this; + + var E = function E() {}; + E.prototype = Super.prototype; + var prototype = new E(); + + _assign(prototype, Class.prototype); + Class.prototype = prototype; + Class.prototype.constructor = Class; + + Class.Interface = _assign({}, Super.Interface, Interface); + Class.augmentClass = Super.augmentClass; + + PooledClass.addPoolingTo(Class, PooledClass.fourArgumentPooler); + }; + + PooledClass.addPoolingTo(SyntheticEvent, PooledClass.fourArgumentPooler); + + module.exports = SyntheticEvent; + + /** + * Helper to nullify syntheticEvent instance properties when destructing + * + * @param {object} SyntheticEvent + * @param {String} propName + * @return {object} defineProperty object + */ + function getPooledWarningPropertyDefinition(propName, getVal) { + var isFunction = typeof getVal === 'function'; + return { + configurable: true, + set: set, + get: get + }; + + function set(val) { + var action = isFunction ? 'setting the method' : 'setting the property'; + warn(action, 'This is effectively a no-op'); + return val; + } + + function get() { + var action = isFunction ? 'accessing the method' : 'accessing the property'; + var result = isFunction ? 'This is a no-op function' : 'This is set to null'; + warn(action, result); + return getVal; + } + + function warn(action, result) { + var warningCondition = false; + false ? warning(warningCondition, 'This synthetic event is reused for performance reasons. If you\'re seeing this, ' + 'you\'re %s `%s` on a released/nullified synthetic event. %s. ' + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0; + } + } + +/***/ }, +/* 19 */ +/***/ function(module, exports) { + + "use strict"; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + function makeEmptyFunction(arg) { + return function () { + return arg; + }; + } + + /** + * This function accepts and discards inputs; it has no side effects. This is + * primarily useful idiomatically for overridable function endpoints which + * always need to be callable, since JS lacks a null-call idiom ala Cocoa. + */ + var emptyFunction = function emptyFunction() {}; + + emptyFunction.thatReturns = makeEmptyFunction; + emptyFunction.thatReturnsFalse = makeEmptyFunction(false); + emptyFunction.thatReturnsTrue = makeEmptyFunction(true); + emptyFunction.thatReturnsNull = makeEmptyFunction(null); + emptyFunction.thatReturnsThis = function () { + return this; + }; + emptyFunction.thatReturnsArgument = function (arg) { + return arg; + }; + + module.exports = emptyFunction; + +/***/ }, +/* 20 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(37); + + var ReactChildren = __webpack_require__(264); + var ReactComponent = __webpack_require__(75); + var ReactPureComponent = __webpack_require__(269); + var ReactClass = __webpack_require__(265); + var ReactDOMFactories = __webpack_require__(266); + var ReactElement = __webpack_require__(35); + var ReactPropTypes = __webpack_require__(267); + var ReactVersion = __webpack_require__(273); + + var onlyChild = __webpack_require__(129); + var warning = __webpack_require__(22); + + var createElement = ReactElement.createElement; + var createFactory = ReactElement.createFactory; + var cloneElement = ReactElement.cloneElement; + + if (false) { + var ReactElementValidator = require('./ReactElementValidator'); + createElement = ReactElementValidator.createElement; + createFactory = ReactElementValidator.createFactory; + cloneElement = ReactElementValidator.cloneElement; + } + + var __spread = _assign; + + if (false) { + var warned = false; + __spread = function __spread() { + process.env.NODE_ENV !== 'production' ? warning(warned, 'React.__spread is deprecated and should not be used. Use ' + 'Object.assign directly or another helper function with similar ' + 'semantics. You may be seeing this warning due to your compiler. ' + 'See https://fb.me/react-spread-deprecation for more details.') : void 0; + warned = true; + return _assign.apply(null, arguments); + }; + } + + var React = { + + // Modern + + Children: { + map: ReactChildren.map, + forEach: ReactChildren.forEach, + count: ReactChildren.count, + toArray: ReactChildren.toArray, + only: onlyChild + }, + + Component: ReactComponent, + PureComponent: ReactPureComponent, + + createElement: createElement, + cloneElement: cloneElement, + isValidElement: ReactElement.isValidElement, + + // Classic + + PropTypes: ReactPropTypes, + createClass: ReactClass.createClass, + createFactory: createFactory, + createMixin: function createMixin(mixin) { + // Currently a noop. Will be used to validate and trace mixins. + return mixin; + }, + + // This looks DOM specific but these are actually isomorphic helpers + // since they are just generating DOM strings. + DOM: ReactDOMFactories, + + version: ReactVersion, + + // Deprecated hook for JSX spread, don't use this for anything. + __spread: __spread + }; + + module.exports = React; + +/***/ }, +/* 21 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + /** + * Keeps track of the current owner. + * + * The current owner is the component who should own any components that are + * currently being constructed. + */ + + var ReactCurrentOwner = { + + /** + * @internal + * @type {ReactComponent} + */ + current: null + + }; + + module.exports = ReactCurrentOwner; + +/***/ }, +/* 22 */ +[332, 52], +/* 23 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.STRATEGIES = undefined; + exports.initEnterprise = initEnterprise; + exports.defaultEnterpriseConnection = defaultEnterpriseConnection; + exports.defaultEnterpriseConnectionName = defaultEnterpriseConnectionName; + exports.enterpriseActiveFlowConnection = enterpriseActiveFlowConnection; + exports.matchConnection = matchConnection; + exports.isEnterpriseDomain = isEnterpriseDomain; + exports.enterpriseDomain = enterpriseDomain; + exports.quickAuthConnection = quickAuthConnection; + exports.isADEnabled = isADEnabled; + exports.findADConnectionWithoutDomain = findADConnectionWithoutDomain; + exports.isInCorpNetwork = isInCorpNetwork; + exports.corpNetworkConnection = corpNetworkConnection; + exports.isSingleHRDConnection = isSingleHRDConnection; + exports.isHRDDomain = isHRDDomain; + exports.toggleHRD = toggleHRD; + exports.isHRDActive = isHRDActive; + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(8); + + var c = _interopRequireWildcard(_index2); + + var _data_utils = __webpack_require__(17); + + var _email = __webpack_require__(26); + + var _username = __webpack_require__(85); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var _dataFns = (0, _data_utils.dataFns)(["enterprise"]), + get = _dataFns.get, + initNS = _dataFns.initNS, + tget = _dataFns.tget, + tremove = _dataFns.tremove, + tset = _dataFns.tset; + + // TODO: Android version also has "google-opendid" in the list, but we + // consider it to be a social connection. See + // https://github.com/auth0/Lock.Android/blob/98262cb7110e5d1c8a97e1129faf2621c1d8d111/lock/src/main/java/com/auth0/android/lock/utils/Strategies.java + + + var STRATEGIES = exports.STRATEGIES = { + "ad": "AD / LDAP", + "adfs": "ADFS", + "auth0-adldap": "AD/LDAP", + "custom": "Custom Auth", + "google-apps": "Google Apps", + "ip": "IP Address", + "mscrm": "Dynamics CRM", + "office365": "Office365", + "pingfederate": "Ping Federate", + "samlp": "SAML", + "sharepoint": "SharePoint Apps", + "waad": "Windows Azure AD" + }; + + function initEnterprise(m, opts) { + return initNS(m, _immutable2.default.fromJS(processOptions(opts))); + } + + function processOptions(opts) { + var defaultEnterpriseConnection = opts.defaultEnterpriseConnection; + + + if (defaultEnterpriseConnection != undefined && typeof defaultEnterpriseConnection !== "string") { + l.warn(options, "The `defaultEnterpriseConnection` option will be ignored, because it is not a string."); + defaultEnterpriseConnection = undefined; + } + + return defaultEnterpriseConnection === undefined ? {} : { defaultConnectionName: defaultEnterpriseConnection }; + } + + function defaultEnterpriseConnection(m) { + var name = defaultEnterpriseConnectionName(m); + return name && findADConnectionWithoutDomain(m, name); + } + + function defaultEnterpriseConnectionName(m) { + return get(m, "defaultConnectionName"); + } + + function enterpriseActiveFlowConnection(m) { + if (isHRDActive(m)) { + // HRD is active when an email matched or there is only one + // connection and it is enterprise + var email = tget(m, "hrdEmail", ""); + return matchConnection(m, email) || findActiveFlowConnection(m); + } else { + return defaultEnterpriseConnection(m) || findADConnectionWithoutDomain(m); + } + } + + function matchConnection(m, email) { + var strategies = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; + + var target = (0, _email.emailDomain)(email); + if (!target) return false; + return l.connections.apply(l, [m, "enterprise"].concat(strategies)).find(function (x) { + return x.get("domains").contains(target); + }); + } + + function isEnterpriseDomain(m, email) { + var strategies = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; + + return !!matchConnection(m, email, strategies); + } + + function enterpriseDomain(m) { + return isSingleHRDConnection(m) ? l.connections(m, "enterprise").getIn([0, "domains", 0]) : (0, _email.emailDomain)(tget(m, "hrdEmail")); + } + + function quickAuthConnection(m) { + return !isADEnabled(m) && l.hasOneConnection(m, "enterprise") ? l.connections(m, "enterprise").get(0) : null; + } + + // ad / adldap + // https://github.com/auth0/Lock.Android/blob/0145b6853a8de0df5e63ef22e4e2bc40be97ad9e/lock/src/main/java/com/auth0/android/lock/utils/Strategy.java#L67 + + function isADEnabled(m) { + return l.hasSomeConnections(m, "enterprise", "ad", "auth0-adldap"); + } + + function findADConnectionWithoutDomain(m) { + var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + return l.connections(m, "enterprise", "ad", "auth0-adldap").find(function (x) { + return x.get("domains").isEmpty() && (!name || x.get("name") === name); + }); + } + + function findActiveFlowConnection(m) { + var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + return l.connections(m, "enterprise", "ad", "auth0-adldap").find(function (x) { + return !name || x.get("name") === name; + }); + } + + // kerberos + + function isInCorpNetwork(m) { + return corpNetworkConnection(m) !== undefined; + } + + function corpNetworkConnection(m) { + // Information about connection is stored in to flat properties connection and strategy. + // If connection is present, strategy will always be present as defined by the server. + var name = m.getIn(["sso", "connection"]); + var strategy = m.getIn(["sso", "strategy"]); + + return name && _immutable2.default.Map({ name: name, strategy: strategy }); + } + + // hrd + + function isSingleHRDConnection(m) { + return isADEnabled(m) && l.connections(m).count() === 1; + } + + function isHRDDomain(m, email) { + return isEnterpriseDomain(m, email, ["ad", "auth0-adldap"]); + } + + function toggleHRD(m, email) { + if (email) { + var username = l.defaultADUsernameFromEmailPrefix(m) ? (0, _email.emailLocalPart)(email) : email; + + m = (0, _username.setUsername)(m, username, "username", false); + m = tset(m, "hrdEmail", email); + } else { + m = tremove(m, "hrdEmail"); + } + + return tset(m, "hrd", !!email); + } + + function isHRDActive(m) { + return tget(m, "hrd", isSingleHRDConnection(m)); + } + +/***/ }, +/* 24 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global, process) {'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + exports.setupLock = setupLock; + exports.handleAuthCallback = handleAuthCallback; + exports.openLock = openLock; + exports.closeLock = closeLock; + exports.removeLock = removeLock; + exports.updateLock = updateLock; + exports.pinLoadingPane = pinLoadingPane; + exports.unpinLoadingPane = unpinLoadingPane; + exports.validateAndSubmit = validateAndSubmit; + exports.logIn = logIn; + exports.logInSuccess = logInSuccess; + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _web_api = __webpack_require__(53); + + var _web_api2 = _interopRequireDefault(_web_api); + + var _index = __webpack_require__(12); + + var _remote_data = __webpack_require__(296); + + var _index2 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index2); + + var _preload_utils = __webpack_require__(146); + + var _container = __webpack_require__(142); + + var _index3 = __webpack_require__(8); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function setupLock(id, clientID, domain, options, hookRunner, emitEventFn) { + var m = l.setup(id, clientID, domain, options, hookRunner, emitEventFn); + + m = (0, _remote_data.syncRemoteData)(m); + + (0, _preload_utils.img)(l.ui.logo(m) || _container.defaultProps.logo); + + _web_api2.default.setupClient(id, clientID, domain, l.withAuthOptions(m, _extends({}, options, { + popupOptions: l.ui.popupOptions(m) + }))); + + m = l.runHook(m, "didInitialize", options); + + (0, _index.swap)(_index.setEntity, "lock", id, m); + + return m; + } + + function handleAuthCallback() { + var hash = global.location.hash; + + var ms = (0, _index.read)(_index.getCollection, "lock"); + var parsed = ms.filter(function (m) { + return l.auth.redirect(m) && parseHash(m, hash); + }); + var keepHash = ms.filter(function (m) { + return !l.hashCleanup(m); + }).size > 0; + + if (parsed.size > 0 && !keepHash) { + global.location.hash = ""; + } + } + + function parseHash(m, hash) { + var parsedHash = _web_api2.default.parseHash(l.id(m), hash); + l.emitHashParsedEvent(m, parsedHash); + + var error = void 0, + result = void 0; + + if (parsedHash) { + if (parsedHash.error) { + error = parsedHash; + } else if (!parsedHash.hasOwnProperty("error")) { + // NOTE: if the url hash contains the string "error" + // `parsedHash` will be the following object: + // {error: undefined, error_description: undefined} + // That is why we make the additional check for the error + // property to ensure we actually have a result. + result = parsedHash; + } + + if (error) { + l.emitAuthorizationErrorEvent(m, error); + } else if (result) { + l.emitAuthenticatedEvent(m, result); + } + } + + return !!(error || result); + } + + function openLock(id, opts) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + if (!m) { + throw new Error("The Lock can't be opened again after it has been destroyed"); + } + + if (l.rendering(m)) { + return false; + } + + if (opts.flashMessage) { + if (!opts.flashMessage.type || ['error', 'success'].indexOf(opts.flashMessage.type) === -1) { + return l.emitUnrecoverableErrorEvent(m, "'flashMessage' must provide a valid type ['error','success']"); + } + if (!opts.flashMessage.text) { + return l.emitUnrecoverableErrorEvent(m, "'flashMessage' must provide a text"); + } + } + + l.emitEvent(m, "show"); + + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + m = l.overrideOptions(m, opts); + m = l.filterConnections(m); + m = l.runHook(m, "willShow", opts); + return l.render(m); + }); + + return true; + } + + function closeLock(id) { + var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var callback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {}; + + // Do nothing when the Lock can't be closed, unless closing is forced. + var m = (0, _index.read)(_index.getEntity, "lock", id); + if (!l.ui.closable(m) && !force || !l.rendering(m)) { + return; + } + + l.emitEvent(m, "hide"); + + // If it is a modal, stop rendering an reset after a second, + // otherwise just reset. + if (l.ui.appendContainer(m)) { + (0, _index.swap)(_index.updateEntity, "lock", id, l.stopRendering); + + setTimeout(function () { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + m = (0, _index3.hideInvalidFields)(m); + m = l.reset(m); + return m; + }); + m = (0, _index.read)(_index.getEntity, "lock", id); + callback(m); + }, 1000); + } else { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + m = (0, _index3.hideInvalidFields)(m); + m = l.reset(m); + return m; + }); + callback(m); + } + } + + function removeLock(id) { + (0, _index.swap)(_index.updateEntity, "lock", id, l.stopRendering); + (0, _index.swap)(_index.removeEntity, "lock", id); + } + + function updateLock(id, f) { + return (0, _index.swap)(_index.updateEntity, "lock", id, f); + } + + function pinLoadingPane(id) { + var lock = (0, _index.read)(_index.getEntity, "lock", id); + if (!lock.get("isLoadingPanePinned")) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + return m.set("isLoadingPanePinned", true); + }); + } + } + + function unpinLoadingPane(id) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + return m.set("isLoadingPanePinned", false); + }); + } + + function validateAndSubmit(id) { + var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + var f = arguments[2]; + + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + var allFieldsValid = fields.reduce(function (r, x) { + return r && (0, _index3.isFieldValid)(m, x); + }, true); + return allFieldsValid ? l.setSubmitting(m, true) : fields.reduce(function (r, x) { + return (0, _index3.showInvalidField)(r, x); + }, m); + }); + + var m = (0, _index.read)(_index.getEntity, "lock", id); + if (l.submitting(m)) { + f(m); + } + } + + function logIn(id, fields) { + var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var logInErrorHandler = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : function (_id, error, _fields, next) { + return next(); + }; + + + validateAndSubmit(id, fields, function (m) { + _web_api2.default.logIn(id, params, l.auth.params(m).toJS(), function (error, result) { + if (error) { + setTimeout(function () { + return logInError(id, fields, error, logInErrorHandler); + }, 250); + } else { + logInSuccess(id, result); + } + }); + }); + } + + function logInSuccess(id, result) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + + if (!l.ui.autoclose(m)) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + m = l.setSubmitting(m, false); + return l.setLoggedIn(m, true); + }); + l.emitAuthenticatedEvent(m, result); + } else { + closeLock(id, false, function (m1) { + return l.emitAuthenticatedEvent(m1, result); + }); + } + } + + function logInError(id, fields, error, localHandler) { + localHandler(id, error, fields, function () { + return process.nextTick(function () { + var m = (0, _index.read)(_index.getEntity, "lock", id); + var errorMessage = l.loginErrorMessage(m, error, loginType(fields)); + + if (["blocked_user", "rule_error", "lock.unauthorized"].indexOf(error.code) > -1) { + l.emitAuthorizationErrorEvent(m, error); + } + + (0, _index.swap)(_index.updateEntity, "lock", id, l.setSubmitting, false, errorMessage); + }); + }); + + (0, _index.swap)(_index.updateEntity, "lock", id, l.setSubmitting, false); + } + + function loginType(fields) { + if (!fields) return; + if (~fields.indexOf("vcode")) return "code"; + if (~fields.indexOf("username")) return "username"; + if (~fields.indexOf("email")) return "email"; + } + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(29))) + +/***/ }, +/* 25 */ +/***/ function(module, exports) { + + 'use strict'; + + exports = module.exports = trim; + + function trim(str) { + return str.replace(/^\s*|\s*$/g, ''); + } + + exports.left = function (str) { + return str.replace(/^\s*/, ''); + }; + + exports.right = function (str) { + return str.replace(/\s*$/, ''); + }; + +/***/ }, +/* 26 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.validateEmail = validateEmail; + exports.setEmail = setEmail; + exports.emailDomain = emailDomain; + exports.emailLocalPart = emailLocalPart; + + var _trim = __webpack_require__(25); + + var _trim2 = _interopRequireDefault(_trim); + + var _index = __webpack_require__(8); + + var _string_utils = __webpack_require__(91); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var regExp = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; + + function validateEmail(str) { + var result = regExp.exec((0, _trim2.default)(str.toLowerCase())); + return result && result[0]; + } + + function setEmail(m, str) { + return (0, _index.setField)(m, "email", str, validateEmail); + } + + function emailDomain(str) { + var result = regExp.exec((0, _trim2.default)(str.toLowerCase())); + return result ? result.slice(-2)[0] : ""; + } + + function emailLocalPart(str) { + var domain = emailDomain(str); + return domain ? str.slice(0, -1 - domain.length) : str; + } + +/***/ }, +/* 27 */ +[331, 4, 3], +/* 28 */ +3, +/* 29 */ +/***/ function(module, exports) { + + 'use strict'; + + // shim for using process in browser + var process = module.exports = {}; + + // cached from whatever global is present so that test runners that stub it + // don't break things. But we need to wrap it in a try catch in case it is + // wrapped in strict mode code which doesn't define any globals. It's inside a + // function because try/catches deoptimize in certain engines. + + var cachedSetTimeout; + var cachedClearTimeout; + + function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); + } + function defaultClearTimeout() { + throw new Error('clearTimeout has not been defined'); + } + (function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } + })(); + function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } + // if setTimeout wasn't available but was latter defined + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + } + function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } + // if clearTimeout wasn't available but was latter defined + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + } + var queue = []; + var draining = false; + var currentQueue; + var queueIndex = -1; + + function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + draining = false; + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + if (queue.length) { + drainQueue(); + } + } + + function drainQueue() { + if (draining) { + return; + } + var timeout = runTimeout(cleanUpNextTick); + draining = true; + + var len = queue.length; + while (len) { + currentQueue = queue; + queue = []; + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + queueIndex = -1; + len = queue.length; + } + currentQueue = null; + draining = false; + runClearTimeout(timeout); + } + + process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + queue.push(new Item(fun, args)); + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } + }; + + // v8 likes predictible objects + function Item(fun, array) { + this.fun = fun; + this.array = array; + } + Item.prototype.run = function () { + this.fun.apply(null, this.array); + }; + process.title = 'browser'; + process.browser = true; + process.env = {}; + process.argv = []; + process.version = ''; // empty string to avoid regexp issues + process.versions = {}; + + function noop() {} + + process.on = noop; + process.addListener = noop; + process.once = noop; + process.off = noop; + process.removeListener = noop; + process.removeAllListeners = noop; + process.emit = noop; + + process.binding = function (name) { + throw new Error('process.binding is not supported'); + }; + + process.cwd = function () { + return '/'; + }; + process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); + }; + process.umask = function () { + return 0; + }; + +/***/ }, +/* 30 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.renderSignedInConfirmation = renderSignedInConfirmation; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _success_pane = __webpack_require__(87); + + var _success_pane2 = _interopRequireDefault(_success_pane); + + var _actions = __webpack_require__(24); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + // TODO: can't we get this from pops? + + var SignedInConfirmation = function (_React$Component) { + _inherits(SignedInConfirmation, _React$Component); + + function SignedInConfirmation() { + _classCallCheck(this, SignedInConfirmation); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + SignedInConfirmation.prototype.handleClose = function handleClose() { + var _props = this.props, + closeHandler = _props.closeHandler, + lock = _props.lock; + + closeHandler(l.id(lock)); + }; + + SignedInConfirmation.prototype.render = function render() { + var lock = this.props.lock; + + var closeHandler = l.ui.closable(lock) ? this.handleClose.bind(this) : undefined; + + return _react2.default.createElement( + _success_pane2.default, + { closeHandler: closeHandler }, + _react2.default.createElement( + 'p', + null, + i18n.html(lock, ["success", "logIn"]) + ) + ); + }; + + return SignedInConfirmation; + }(_react2.default.Component); + + exports.default = SignedInConfirmation; + + + SignedInConfirmation.propTypes = { + closeHandler: _react2.default.PropTypes.func.isRequired, + lock: _react2.default.PropTypes.object.isRequired + }; + + function renderSignedInConfirmation(lock) { + var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + props.closeHandler = _actions.closeLock; + props.key = "auxiliarypane"; + props.lock = lock; + + return l.loggedIn(lock) ? _react2.default.createElement(SignedInConfirmation, props) : null; + } + +/***/ }, +/* 31 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2015-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var DOMNamespaces = __webpack_require__(59); + var setInnerHTML = __webpack_require__(51); + + var createMicrosoftUnsafeLocalFunction = __webpack_require__(67); + var setTextContent = __webpack_require__(117); + + var ELEMENT_NODE_TYPE = 1; + var DOCUMENT_FRAGMENT_NODE_TYPE = 11; + + /** + * In IE (8-11) and Edge, appending nodes with no children is dramatically + * faster than appending a full subtree, so we essentially queue up the + * .appendChild calls here and apply them so each node is added to its parent + * before any children are added. + * + * In other browsers, doing so is slower or neutral compared to the other order + * (in Firefox, twice as slow) so we only do this inversion in IE. + * + * See https://github.com/spicyj/innerhtml-vs-createelement-vs-clonenode. + */ + var enableLazy = typeof document !== 'undefined' && typeof document.documentMode === 'number' || typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string' && /\bEdge\/\d/.test(navigator.userAgent); + + function insertTreeChildren(tree) { + if (!enableLazy) { + return; + } + var node = tree.node; + var children = tree.children; + if (children.length) { + for (var i = 0; i < children.length; i++) { + insertTreeBefore(node, children[i], null); + } + } else if (tree.html != null) { + setInnerHTML(node, tree.html); + } else if (tree.text != null) { + setTextContent(node, tree.text); + } + } + + var insertTreeBefore = createMicrosoftUnsafeLocalFunction(function (parentNode, tree, referenceNode) { + // DocumentFragments aren't actually part of the DOM after insertion so + // appending children won't update the DOM. We need to ensure the fragment + // is properly populated first, breaking out of our lazy approach for just + // this level. Also, some plugins (like Flash Player) will read + // nodes immediately upon insertion into the DOM, so + // must also be populated prior to insertion into the DOM. + if (tree.node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE || tree.node.nodeType === ELEMENT_NODE_TYPE && tree.node.nodeName.toLowerCase() === 'object' && (tree.node.namespaceURI == null || tree.node.namespaceURI === DOMNamespaces.html)) { + insertTreeChildren(tree); + parentNode.insertBefore(tree.node, referenceNode); + } else { + parentNode.insertBefore(tree.node, referenceNode); + insertTreeChildren(tree); + } + }); + + function replaceChildWithTree(oldNode, newTree) { + oldNode.parentNode.replaceChild(newTree.node, oldNode); + insertTreeChildren(newTree); + } + + function queueChild(parentTree, childTree) { + if (enableLazy) { + parentTree.children.push(childTree); + } else { + parentTree.node.appendChild(childTree.node); + } + } + + function queueHTML(tree, html) { + if (enableLazy) { + tree.html = html; + } else { + setInnerHTML(tree.node, html); + } + } + + function queueText(tree, text) { + if (enableLazy) { + tree.text = text; + } else { + setTextContent(tree.node, text); + } + } + + function toString() { + return this.node.nodeName; + } + + function DOMLazyTree(node) { + return { + node: node, + children: [], + html: null, + text: null, + toString: toString + }; + } + + DOMLazyTree.insertTreeBefore = insertTreeBefore; + DOMLazyTree.replaceChildWithTree = replaceChildWithTree; + DOMLazyTree.queueChild = queueChild; + DOMLazyTree.queueHTML = queueHTML; + DOMLazyTree.queueText = queueText; + + module.exports = DOMLazyTree; + +/***/ }, +/* 32 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(3); + + function checkMask(value, bitmask) { + return (value & bitmask) === bitmask; + } + + var DOMPropertyInjection = { + /** + * Mapping from normalized, camelcased property names to a configuration that + * specifies how the associated DOM property should be accessed or rendered. + */ + MUST_USE_PROPERTY: 0x1, + HAS_BOOLEAN_VALUE: 0x4, + HAS_NUMERIC_VALUE: 0x8, + HAS_POSITIVE_NUMERIC_VALUE: 0x10 | 0x8, + HAS_OVERLOADED_BOOLEAN_VALUE: 0x20, + + /** + * Inject some specialized knowledge about the DOM. This takes a config object + * with the following properties: + * + * isCustomAttribute: function that given an attribute name will return true + * if it can be inserted into the DOM verbatim. Useful for data-* or aria-* + * attributes where it's impossible to enumerate all of the possible + * attribute names, + * + * Properties: object mapping DOM property name to one of the + * DOMPropertyInjection constants or null. If your attribute isn't in here, + * it won't get written to the DOM. + * + * DOMAttributeNames: object mapping React attribute name to the DOM + * attribute name. Attribute names not specified use the **lowercase** + * normalized name. + * + * DOMAttributeNamespaces: object mapping React attribute name to the DOM + * attribute namespace URL. (Attribute names not specified use no namespace.) + * + * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties. + * Property names not specified use the normalized name. + * + * DOMMutationMethods: Properties that require special mutation methods. If + * `value` is undefined, the mutation method should unset the property. + * + * @param {object} domPropertyConfig the config as described above. + */ + injectDOMPropertyConfig: function injectDOMPropertyConfig(domPropertyConfig) { + var Injection = DOMPropertyInjection; + var Properties = domPropertyConfig.Properties || {}; + var DOMAttributeNamespaces = domPropertyConfig.DOMAttributeNamespaces || {}; + var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {}; + var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {}; + var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {}; + + if (domPropertyConfig.isCustomAttribute) { + DOMProperty._isCustomAttributeFunctions.push(domPropertyConfig.isCustomAttribute); + } + + for (var propName in Properties) { + !!DOMProperty.properties.hasOwnProperty(propName) ? false ? invariant(false, 'injectDOMPropertyConfig(...): You\'re trying to inject DOM property \'%s\' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.', propName) : _prodInvariant('48', propName) : void 0; + + var lowerCased = propName.toLowerCase(); + var propConfig = Properties[propName]; + + var propertyInfo = { + attributeName: lowerCased, + attributeNamespace: null, + propertyName: propName, + mutationMethod: null, + + mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY), + hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE), + hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE), + hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE), + hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE) + }; + !(propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue + propertyInfo.hasOverloadedBooleanValue <= 1) ? false ? invariant(false, 'DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s', propName) : _prodInvariant('50', propName) : void 0; + + if (false) { + DOMProperty.getPossibleStandardName[lowerCased] = propName; + } + + if (DOMAttributeNames.hasOwnProperty(propName)) { + var attributeName = DOMAttributeNames[propName]; + propertyInfo.attributeName = attributeName; + if (false) { + DOMProperty.getPossibleStandardName[attributeName] = propName; + } + } + + if (DOMAttributeNamespaces.hasOwnProperty(propName)) { + propertyInfo.attributeNamespace = DOMAttributeNamespaces[propName]; + } + + if (DOMPropertyNames.hasOwnProperty(propName)) { + propertyInfo.propertyName = DOMPropertyNames[propName]; + } + + if (DOMMutationMethods.hasOwnProperty(propName)) { + propertyInfo.mutationMethod = DOMMutationMethods[propName]; + } + + DOMProperty.properties[propName] = propertyInfo; + } + } + }; + + /* eslint-disable max-len */ + var ATTRIBUTE_NAME_START_CHAR = ':A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD'; + /* eslint-enable max-len */ + + /** + * DOMProperty exports lookup objects that can be used like functions: + * + * > DOMProperty.isValid['id'] + * true + * > DOMProperty.isValid['foobar'] + * undefined + * + * Although this may be confusing, it performs better in general. + * + * @see http://jsperf.com/key-exists + * @see http://jsperf.com/key-missing + */ + var DOMProperty = { + + ID_ATTRIBUTE_NAME: 'data-reactid', + ROOT_ATTRIBUTE_NAME: 'data-reactroot', + + ATTRIBUTE_NAME_START_CHAR: ATTRIBUTE_NAME_START_CHAR, + ATTRIBUTE_NAME_CHAR: ATTRIBUTE_NAME_START_CHAR + '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040', + + /** + * Map from property "standard name" to an object with info about how to set + * the property in the DOM. Each object contains: + * + * attributeName: + * Used when rendering markup or with `*Attribute()`. + * attributeNamespace + * propertyName: + * Used on DOM node instances. (This includes properties that mutate due to + * external factors.) + * mutationMethod: + * If non-null, used instead of the property or `setAttribute()` after + * initial render. + * mustUseProperty: + * Whether the property must be accessed and mutated as an object property. + * hasBooleanValue: + * Whether the property should be removed when set to a falsey value. + * hasNumericValue: + * Whether the property must be numeric or parse as a numeric and should be + * removed when set to a falsey value. + * hasPositiveNumericValue: + * Whether the property must be positive numeric or parse as a positive + * numeric and should be removed when set to a falsey value. + * hasOverloadedBooleanValue: + * Whether the property can be used as a flag as well as with a value. + * Removed when strictly equal to false; present without a value when + * strictly equal to true; present with a value otherwise. + */ + properties: {}, + + /** + * Mapping from lowercase property names to the properly cased version, used + * to warn in the case of missing properties. Available only in __DEV__. + * + * autofocus is predefined, because adding it to the property whitelist + * causes unintended side effects. + * + * @type {Object} + */ + getPossibleStandardName: false ? { autofocus: 'autoFocus' } : null, + + /** + * All of the isCustomAttribute() functions that have been injected. + */ + _isCustomAttributeFunctions: [], + + /** + * Checks whether a property name is a custom attribute. + * @method + */ + isCustomAttribute: function isCustomAttribute(attributeName) { + for (var i = 0; i < DOMProperty._isCustomAttributeFunctions.length; i++) { + var isCustomAttributeFn = DOMProperty._isCustomAttributeFunctions[i]; + if (isCustomAttributeFn(attributeName)) { + return true; + } + } + return false; + }, + + injection: DOMPropertyInjection + }; + + module.exports = DOMProperty; + +/***/ }, +/* 33 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * `ReactInstanceMap` maintains a mapping from a public facing stateful + * instance (key) and the internal representation (value). This allows public + * methods to accept the user facing instance as an argument and map them back + * to internal methods. + */ + + // TODO: Replace this with ES6: var ReactInstanceMap = new Map(); + + var ReactInstanceMap = { + + /** + * This API should be called `delete` but we'd have to make sure to always + * transform these to strings for IE support. When this transform is fully + * supported we can rename it. + */ + remove: function remove(key) { + key._reactInternalInstance = undefined; + }, + + get: function get(key) { + return key._reactInternalInstance; + }, + + has: function has(key) { + return key._reactInternalInstance !== undefined; + }, + + set: function set(key, value) { + key._reactInternalInstance = value; + } + + }; + + module.exports = ReactInstanceMap; + +/***/ }, +/* 34 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactRef = __webpack_require__(222); + var ReactInstrumentation = __webpack_require__(14); + + var warning = __webpack_require__(5); + + /** + * Helper to call ReactRef.attachRefs with this composite component, split out + * to avoid allocations in the transaction mount-ready queue. + */ + function attachRefs() { + ReactRef.attachRefs(this, this._currentElement); + } + + var ReactReconciler = { + + /** + * Initializes the component, renders markup, and registers event listeners. + * + * @param {ReactComponent} internalInstance + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @param {?object} the containing host component instance + * @param {?object} info about the host container + * @return {?string} Rendered markup to be inserted into the DOM. + * @final + * @internal + */ + mountComponent: function mountComponent(internalInstance, transaction, hostParent, hostContainerInfo, context, parentDebugID // 0 in production and for roots + ) { + if (false) { + if (internalInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onBeforeMountComponent(internalInstance._debugID, internalInstance._currentElement, parentDebugID); + } + } + var markup = internalInstance.mountComponent(transaction, hostParent, hostContainerInfo, context, parentDebugID); + if (internalInstance._currentElement && internalInstance._currentElement.ref != null) { + transaction.getReactMountReady().enqueue(attachRefs, internalInstance); + } + if (false) { + if (internalInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onMountComponent(internalInstance._debugID); + } + } + return markup; + }, + + /** + * Returns a value that can be passed to + * ReactComponentEnvironment.replaceNodeWithMarkup. + */ + getHostNode: function getHostNode(internalInstance) { + return internalInstance.getHostNode(); + }, + + /** + * Releases any resources allocated by `mountComponent`. + * + * @final + * @internal + */ + unmountComponent: function unmountComponent(internalInstance, safely) { + if (false) { + if (internalInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onBeforeUnmountComponent(internalInstance._debugID); + } + } + ReactRef.detachRefs(internalInstance, internalInstance._currentElement); + internalInstance.unmountComponent(safely); + if (false) { + if (internalInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onUnmountComponent(internalInstance._debugID); + } + } + }, + + /** + * Update a component using a new element. + * + * @param {ReactComponent} internalInstance + * @param {ReactElement} nextElement + * @param {ReactReconcileTransaction} transaction + * @param {object} context + * @internal + */ + receiveComponent: function receiveComponent(internalInstance, nextElement, transaction, context) { + var prevElement = internalInstance._currentElement; + + if (nextElement === prevElement && context === internalInstance._context) { + // Since elements are immutable after the owner is rendered, + // we can do a cheap identity compare here to determine if this is a + // superfluous reconcile. It's possible for state to be mutable but such + // change should trigger an update of the owner which would recreate + // the element. We explicitly check for the existence of an owner since + // it's possible for an element created outside a composite to be + // deeply mutated and reused. + + // TODO: Bailing out early is just a perf optimization right? + // TODO: Removing the return statement should affect correctness? + return; + } + + if (false) { + if (internalInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, nextElement); + } + } + + var refsChanged = ReactRef.shouldUpdateRefs(prevElement, nextElement); + + if (refsChanged) { + ReactRef.detachRefs(internalInstance, prevElement); + } + + internalInstance.receiveComponent(nextElement, transaction, context); + + if (refsChanged && internalInstance._currentElement && internalInstance._currentElement.ref != null) { + transaction.getReactMountReady().enqueue(attachRefs, internalInstance); + } + + if (false) { + if (internalInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID); + } + } + }, + + /** + * Flush any dirty changes in a component. + * + * @param {ReactComponent} internalInstance + * @param {ReactReconcileTransaction} transaction + * @internal + */ + performUpdateIfNecessary: function performUpdateIfNecessary(internalInstance, transaction, updateBatchNumber) { + if (internalInstance._updateBatchNumber !== updateBatchNumber) { + // The component's enqueued batch number should always be the current + // batch or the following one. + false ? warning(internalInstance._updateBatchNumber == null || internalInstance._updateBatchNumber === updateBatchNumber + 1, 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)', updateBatchNumber, internalInstance._updateBatchNumber) : void 0; + return; + } + if (false) { + if (internalInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, internalInstance._currentElement); + } + } + internalInstance.performUpdateIfNecessary(transaction); + if (false) { + if (internalInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID); + } + } + } + + }; + + module.exports = ReactReconciler; + +/***/ }, +/* 35 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _assign = __webpack_require__(37); + + var ReactCurrentOwner = __webpack_require__(21); + + var warning = __webpack_require__(22); + var canDefineProperty = __webpack_require__(127); + var hasOwnProperty = Object.prototype.hasOwnProperty; + + var REACT_ELEMENT_TYPE = __webpack_require__(125); + + var RESERVED_PROPS = { + key: true, + ref: true, + __self: true, + __source: true + }; + + var specialPropKeyWarningShown, specialPropRefWarningShown; + + function hasValidRef(config) { + if (false) { + if (hasOwnProperty.call(config, 'ref')) { + var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; + if (getter && getter.isReactWarning) { + return false; + } + } + } + return config.ref !== undefined; + } + + function hasValidKey(config) { + if (false) { + if (hasOwnProperty.call(config, 'key')) { + var getter = Object.getOwnPropertyDescriptor(config, 'key').get; + if (getter && getter.isReactWarning) { + return false; + } + } + } + return config.key !== undefined; + } + + function defineKeyPropWarningGetter(props, displayName) { + var warnAboutAccessingKey = function warnAboutAccessingKey() { + if (!specialPropKeyWarningShown) { + specialPropKeyWarningShown = true; + false ? warning(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0; + } + }; + warnAboutAccessingKey.isReactWarning = true; + Object.defineProperty(props, 'key', { + get: warnAboutAccessingKey, + configurable: true + }); + } + + function defineRefPropWarningGetter(props, displayName) { + var warnAboutAccessingRef = function warnAboutAccessingRef() { + if (!specialPropRefWarningShown) { + specialPropRefWarningShown = true; + false ? warning(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0; + } + }; + warnAboutAccessingRef.isReactWarning = true; + Object.defineProperty(props, 'ref', { + get: warnAboutAccessingRef, + configurable: true + }); + } + + /** + * Factory method to create a new React element. This no longer adheres to + * the class pattern, so do not use new to call it. Also, no instanceof check + * will work. Instead test $$typeof field against Symbol.for('react.element') to check + * if something is a React Element. + * + * @param {*} type + * @param {*} key + * @param {string|object} ref + * @param {*} self A *temporary* helper to detect places where `this` is + * different from the `owner` when React.createElement is called, so that we + * can warn. We want to get rid of owner and replace string `ref`s with arrow + * functions, and as long as `this` and owner are the same, there will be no + * change in behavior. + * @param {*} source An annotation object (added by a transpiler or otherwise) + * indicating filename, line number, and/or other information. + * @param {*} owner + * @param {*} props + * @internal + */ + var ReactElement = function ReactElement(type, key, ref, self, source, owner, props) { + var element = { + // This tag allow us to uniquely identify this as a React Element + $$typeof: REACT_ELEMENT_TYPE, + + // Built-in properties that belong on the element + type: type, + key: key, + ref: ref, + props: props, + + // Record the component responsible for creating this element. + _owner: owner + }; + + if (false) { + // The validation flag is currently mutative. We put it on + // an external backing store so that we can freeze the whole object. + // This can be replaced with a WeakMap once they are implemented in + // commonly used development environments. + element._store = {}; + + // To make comparing ReactElements easier for testing purposes, we make + // the validation flag non-enumerable (where possible, which should + // include every environment we run tests in), so the test framework + // ignores it. + if (canDefineProperty) { + Object.defineProperty(element._store, 'validated', { + configurable: false, + enumerable: false, + writable: true, + value: false + }); + // self and source are DEV only properties. + Object.defineProperty(element, '_self', { + configurable: false, + enumerable: false, + writable: false, + value: self + }); + // Two elements created in two different places should be considered + // equal for testing purposes and therefore we hide it from enumeration. + Object.defineProperty(element, '_source', { + configurable: false, + enumerable: false, + writable: false, + value: source + }); + } else { + element._store.validated = false; + element._self = self; + element._source = source; + } + if (Object.freeze) { + Object.freeze(element.props); + Object.freeze(element); + } + } + + return element; + }; + + /** + * Create and return a new ReactElement of the given type. + * See https://facebook.github.io/react/docs/top-level-api.html#react.createelement + */ + ReactElement.createElement = function (type, config, children) { + var propName; + + // Reserved names are extracted + var props = {}; + + var key = null; + var ref = null; + var self = null; + var source = null; + + if (config != null) { + if (hasValidRef(config)) { + ref = config.ref; + } + if (hasValidKey(config)) { + key = '' + config.key; + } + + self = config.__self === undefined ? null : config.__self; + source = config.__source === undefined ? null : config.__source; + // Remaining properties are added to a new props object + for (propName in config) { + if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { + props[propName] = config[propName]; + } + } + } + + // Children can be more than one argument, and those are transferred onto + // the newly allocated props object. + var childrenLength = arguments.length - 2; + if (childrenLength === 1) { + props.children = children; + } else if (childrenLength > 1) { + var childArray = Array(childrenLength); + for (var i = 0; i < childrenLength; i++) { + childArray[i] = arguments[i + 2]; + } + if (false) { + if (Object.freeze) { + Object.freeze(childArray); + } + } + props.children = childArray; + } + + // Resolve default props + if (type && type.defaultProps) { + var defaultProps = type.defaultProps; + for (propName in defaultProps) { + if (props[propName] === undefined) { + props[propName] = defaultProps[propName]; + } + } + } + if (false) { + if (key || ref) { + if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) { + var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; + if (key) { + defineKeyPropWarningGetter(props, displayName); + } + if (ref) { + defineRefPropWarningGetter(props, displayName); + } + } + } + } + return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); + }; + + /** + * Return a function that produces ReactElements of a given type. + * See https://facebook.github.io/react/docs/top-level-api.html#react.createfactory + */ + ReactElement.createFactory = function (type) { + var factory = ReactElement.createElement.bind(null, type); + // Expose the type on the factory and the prototype so that it can be + // easily accessed on elements. E.g. `.type === Foo`. + // This should not be named `constructor` since this may not be the function + // that created the element, and it may not even be a constructor. + // Legacy hook TODO: Warn if this is accessed + factory.type = type; + return factory; + }; + + ReactElement.cloneAndReplaceKey = function (oldElement, newKey) { + var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props); + + return newElement; + }; + + /** + * Clone and return a new ReactElement using element as the starting point. + * See https://facebook.github.io/react/docs/top-level-api.html#react.cloneelement + */ + ReactElement.cloneElement = function (element, config, children) { + var propName; + + // Original props are copied + var props = _assign({}, element.props); + + // Reserved names are extracted + var key = element.key; + var ref = element.ref; + // Self is preserved since the owner is preserved. + var self = element._self; + // Source is preserved since cloneElement is unlikely to be targeted by a + // transpiler, and the original source is probably a better indicator of the + // true owner. + var source = element._source; + + // Owner will be preserved, unless ref is overridden + var owner = element._owner; + + if (config != null) { + if (hasValidRef(config)) { + // Silently steal the ref from the parent. + ref = config.ref; + owner = ReactCurrentOwner.current; + } + if (hasValidKey(config)) { + key = '' + config.key; + } + + // Remaining properties override existing props + var defaultProps; + if (element.type && element.type.defaultProps) { + defaultProps = element.type.defaultProps; + } + for (propName in config) { + if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { + if (config[propName] === undefined && defaultProps !== undefined) { + // Resolve default props + props[propName] = defaultProps[propName]; + } else { + props[propName] = config[propName]; + } + } + } + } + + // Children can be more than one argument, and those are transferred onto + // the newly allocated props object. + var childrenLength = arguments.length - 2; + if (childrenLength === 1) { + props.children = children; + } else if (childrenLength > 1) { + var childArray = Array(childrenLength); + for (var i = 0; i < childrenLength; i++) { + childArray[i] = arguments[i + 2]; + } + props.children = childArray; + } + + return ReactElement(element.type, key, ref, self, source, owner, props); + }; + + /** + * Verifies the object is a ReactElement. + * See https://facebook.github.io/react/docs/top-level-api.html#react.isvalidelement + * @param {?object} object + * @return {boolean} True if `object` is a valid component. + * @final + */ + ReactElement.isValidElement = function (object) { + return (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; + }; + + module.exports = ReactElement; + +/***/ }, +/* 36 */ +4, +/* 37 */ +7, +/* 38 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.logIn = logIn; + exports.signUp = signUp; + exports.resetPassword = resetPassword; + exports.showLoginActivity = showLoginActivity; + exports.showSignUpActivity = showSignUpActivity; + exports.showResetPasswordActivity = showResetPasswordActivity; + exports.cancelResetPassword = cancelResetPassword; + exports.cancelMFALogin = cancelMFALogin; + exports.toggleTermsAcceptance = toggleTermsAcceptance; + exports.showLoginMFAActivity = showLoginMFAActivity; + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _index = __webpack_require__(12); + + var _web_api = __webpack_require__(53); + + var _web_api2 = _interopRequireDefault(_web_api); + + var _actions = __webpack_require__(24); + + var _index2 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index2); + + var _index3 = __webpack_require__(8); + + var c = _interopRequireWildcard(_index3); + + var _index4 = __webpack_require__(11); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function logIn(id) { + var needsMFA = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var m = (0, _index.read)(_index.getEntity, "lock", id); + var usernameField = (0, _index4.databaseLogInWithEmail)(m) ? "email" : "username"; + var username = c.getFieldValue(m, usernameField); + + var params = { + connection: (0, _index4.databaseConnectionName)(m), + username: username, + password: c.getFieldValue(m, "password") + }; + + var fields = [usernameField, "password"]; + + var mfaCode = c.getFieldValue(m, "mfa_code"); + if (needsMFA) { + params["mfa_code"] = mfaCode; + fields.push("mfa_code"); + } + + (0, _actions.logIn)(id, fields, params, function (id, error, fields, next) { + if (error.error === "a0.mfa_required") { + return showLoginMFAActivity(id); + } + + return next(); + }); + } + + function signUp(id) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + var fields = ["email", "password"]; + if ((0, _index4.databaseConnectionRequiresUsername)(m)) fields.push("username"); + (0, _index4.additionalSignUpFields)(m).forEach(function (x) { + return fields.push(x.get("name")); + }); + + (0, _actions.validateAndSubmit)(id, fields, function (m) { + var params = { + connection: (0, _index4.databaseConnectionName)(m), + email: c.getFieldValue(m, "email"), + password: c.getFieldValue(m, "password"), + autoLogin: (0, _index4.shouldAutoLogin)(m) + }; + + if ((0, _index4.databaseConnectionRequiresUsername)(m)) { + params.username = c.getFieldValue(m, "username"); + } + + if (!(0, _index4.additionalSignUpFields)(m).isEmpty()) { + params.user_metadata = {}; + (0, _index4.additionalSignUpFields)(m).forEach(function (x) { + params.user_metadata[x.get("name")] = c.getFieldValue(m, x.get("name")); + }); + } + + _web_api2.default.signUp(id, params, function (error) { + if (error) { + setTimeout(function () { + return signUpError(id, error); + }, 250); + } else { + signUpSuccess(id); + } + }); + }); + } + + function signUpSuccess(id) { + var lock = (0, _index.read)(_index.getEntity, "lock", id); + + if ((0, _index4.shouldAutoLogin)(lock)) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + return m.set("signedUp", true); + }); + + // TODO: check options, redirect is missing + var options = { + connection: (0, _index4.databaseConnectionName)(lock), + username: c.email(lock), + password: c.password(lock) + }; + + return _web_api2.default.logIn(id, options, l.auth.params(lock).toJS(), function (error) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + if (error) { + setTimeout(function () { + return autoLogInError(id, error); + }, 250); + } else { + _actions.logInSuccess.apply(undefined, [id].concat(args)); + } + }); + } + + var autoclose = l.ui.autoclose(lock); + + if (!autoclose) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (lock) { + return l.setSubmitting(lock, false).set("signedUp", true); + }); + } else { + (0, _actions.closeLock)(id, false); + } + } + + function signUpError(id, error) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + + var invalidPasswordKeys = { + PasswordDictionaryError: "password_dictionary_error", + PasswordNoUserInfoError: "password_no_user_info_error", + PasswordStrengthError: "password_strength_error" + }; + + var errorKey = error.code === "invalid_password" && invalidPasswordKeys[error.details.name] || error.code; + + var errorMessage = i18n.str(m, ["error", "signUp", errorKey]) || i18n.str(m, ["error", "signUp", "lock.fallback"]); + + (0, _index.swap)(_index.updateEntity, "lock", id, l.setSubmitting, false, errorMessage); + } + + function autoLogInError(id, error) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + if ((0, _index4.hasScreen)(m, "login")) { + var errorMessage = l.loginErrorMessage(m, error); + return l.setSubmitting((0, _index4.setScreen)(m, "login"), false, errorMessage); + } else { + var stopError = new Error("Autologin failed and no the login screen is not allowed."); + stopError.code = "autologin_error"; + stopError.origin = error; + return l.setSubmitting(l.stop(m, stopError), false); + } + }); + } + + function resetPassword(id) { + (0, _actions.validateAndSubmit)(id, ["email"], function (m) { + var params = { + connection: (0, _index4.databaseConnectionName)(m), + email: c.getFieldValue(m, "email") + }; + + _web_api2.default.resetPassword(id, params, function (error) { + if (error) { + setTimeout(function () { + return resetPasswordError(id, error); + }, 250); + } else { + resetPasswordSuccess(id); + } + }); + }); + } + + function resetPasswordSuccess(id) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + if ((0, _index4.hasScreen)(m, "login")) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + return (0, _index4.setScreen)(l.setSubmitting(m, false), "login"); + }); + + // TODO: should be handled by box + setTimeout(function () { + var successMessage = i18n.str(m, ["success", "forgotPassword"]); + (0, _index.swap)(_index.updateEntity, "lock", id, l.setGlobalSuccess, successMessage); + }, 500); + } else { + if (l.ui.autoclose(m)) { + (0, _actions.closeLock)(id); + } else { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + return l.setSubmitting(m, false).set("passwordResetted", true); + }); + } + } + } + + function resetPasswordError(id, error) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + + var errorMessage = i18n.str(m, ["error", "forgotPassword", error.code]) || i18n.str(m, ["error", "forgotPassword", "lock.fallback"]); + + (0, _index.swap)(_index.updateEntity, "lock", id, l.setSubmitting, false, errorMessage); + } + + function showLoginActivity(id) { + var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ["password"]; + + (0, _index.swap)(_index.updateEntity, "lock", id, _index4.setScreen, "login", fields); + } + + function showSignUpActivity(id) { + var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ["password"]; + + (0, _index.swap)(_index.updateEntity, "lock", id, _index4.setScreen, "signUp", fields); + } + + function showResetPasswordActivity(id) { + var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ["password"]; + + (0, _index.swap)(_index.updateEntity, "lock", id, _index4.setScreen, "forgotPassword", fields); + } + + function cancelResetPassword(id) { + return showLoginActivity(id); + } + + function cancelMFALogin(id) { + return showLoginActivity(id); + } + + function toggleTermsAcceptance(id) { + (0, _index.swap)(_index.updateEntity, "lock", id, _index4.toggleTermsAcceptance); + } + + function showLoginMFAActivity(id) { + var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ["mfa_code"]; + + (0, _index.swap)(_index.updateEntity, "lock", id, _index4.setScreen, "mfaLogin", fields); + } + +/***/ }, +/* 39 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.STRATEGIES = undefined; + exports.initSocial = initSocial; + exports.displayName = displayName; + exports.processSocialOptions = processSocialOptions; + exports.socialConnections = socialConnections; + exports.authButtonsTheme = authButtonsTheme; + exports.useBigButtons = useBigButtons; + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _data_utils = __webpack_require__(17); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + // TODO: Android version also has "unknonwn-social", "evernote" and + // "evernote-sandbox""evernote" in the list, considers "google-openid" + // to be enterprise and doesn't contain "salesforce-community". See + // https://github.com/auth0/Lock.Android/blob/98262cb7110e5d1c8a97e1129faf2621c1d8d111/lock/src/main/java/com/auth0/android/lock/utils/Strategies.java + var STRATEGIES = exports.STRATEGIES = { + "amazon": "Amazon", + "aol": "Aol", + "baidu": "百度", + "bitbucket": "Bitbucket", + "box": "Box", + "dropbox": "Dropbox", + "dwolla": "Dwolla", + "ebay": "ebay", + "exact": "Exact", + "facebook": "Facebook", + "fitbit": "Fitbit", + "github": "GitHub", + "google-openid": "Google OpenId", + "google-oauth2": "Google", + "instagram": "Instagram", + "linkedin": "LinkedIn", + "miicard": "miiCard", + "paypal": "PayPal", + "planningcenter": "Planning Center", + "renren": "人人", + "salesforce": "Salesforce", + "salesforce-community": "Salesforce Community", + "salesforce-sandbox": "Salesforce (sandbox)", + "shopify": "Shopify", + "soundcloud": "Soundcloud", + "thecity": "The City", + "thecity-sandbox": "The City (sandbox)", + "thirtysevensignals": "37 Signals", + "twitter": "Twitter", + "vkontakte": "vKontakte", + "windowslive": "Microsoft Account", + "wordpress": "Wordpress", + "yahoo": "Yahoo!", + "yammer": "Yammer", + "yandex": "Yandex", + "weibo": "新浪微博" + }; + + var _dataFns = (0, _data_utils.dataFns)(["social"]), + get = _dataFns.get, + tget = _dataFns.tget, + initNS = _dataFns.initNS; + + function initSocial(m, options) { + return initNS(m, _immutable2.default.fromJS(processSocialOptions(options))); + } + + function displayName(connection) { + if (["oauth1", "oauth2"].indexOf(connection.get("strategy")) !== -1) { + return connection.get("name"); + } + return STRATEGIES[connection.get("strategy")]; + } + + function processSocialOptions(options) { + var result = {}; + var socialButtonStyle = options.socialButtonStyle; + + // TODO: emit warnings + + if (["big", "small"].indexOf(socialButtonStyle) > -1) { + result.socialButtonStyle = socialButtonStyle; + } + + return result; + } + + function socialConnections(m) { + return l.connections(m, "social"); + } + + function authButtonsTheme(m) { + return l.ui.authButtonsTheme(m); + } + + function useBigButtons(m, notFoundLimit) { + var style = tget(m, "socialButtonStyle") || get(m, "socialButtonStyle"); + return style ? style === "big" : l.connections(m, "social").count() <= notFoundLimit; + } + +/***/ }, +/* 40 */ +/***/ function(module, exports, __webpack_require__) { + + "use strict"; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var InputWrap = function (_React$Component) { + _inherits(InputWrap, _React$Component); + + function InputWrap() { + _classCallCheck(this, InputWrap); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + InputWrap.prototype.render = function render() { + var _props = this.props, + before = _props.before, + focused = _props.focused, + invalidHint = _props.invalidHint, + isValid = _props.isValid, + name = _props.name, + icon = _props.icon; + + var blockClassName = "auth0-lock-input-block auth0-lock-input-" + name; + if (!isValid) { + blockClassName += " auth0-lock-error"; + } + + var wrapClassName = "auth0-lock-input-wrap"; + if (focused && isValid) { + wrapClassName += " auth0-lock-focused"; + } + + // NOTE: Ugly hack until we upgrade to React 15 which has better + // support for SVG. + var iconElement = null; + + if (typeof icon === "string") { + iconElement = _react2.default.createElement("span", { dangerouslySetInnerHTML: { __html: icon } }); + } else if (icon) { + iconElement = icon; + } + + if (iconElement) { + wrapClassName += " auth0-lock-input-wrap-with-icon"; + } + + var errorTooltip = !isValid && invalidHint ? _react2.default.createElement( + "div", + { className: "auth0-lock-error-msg" }, + _react2.default.createElement( + "span", + null, + invalidHint + ) + ) : null; + + return _react2.default.createElement( + "div", + { className: blockClassName }, + before, + _react2.default.createElement( + "div", + { className: wrapClassName }, + iconElement, + this.props.children + ), + errorTooltip + ); + }; + + return InputWrap; + }(_react2.default.Component); + + exports.default = InputWrap; + + + InputWrap.propTypes = { + before: _react2.default.PropTypes.element, + children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.element.isRequired, _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.element).isRequired]), + focused: _react2.default.PropTypes.bool, + invalidHint: _react2.default.PropTypes.string, + isValid: _react2.default.PropTypes.bool.isRequired, + name: _react2.default.PropTypes.string.isRequired, + svg: _react2.default.PropTypes.string + }; + +/***/ }, +/* 41 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + module.exports = __webpack_require__(100); + +/***/ }, +/* 42 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(4); + + var EventPluginRegistry = __webpack_require__(60); + var EventPluginUtils = __webpack_require__(61); + var ReactErrorUtils = __webpack_require__(65); + + var accumulateInto = __webpack_require__(110); + var forEachAccumulated = __webpack_require__(111); + var invariant = __webpack_require__(3); + + /** + * Internal store for event listeners + */ + var listenerBank = {}; + + /** + * Internal queue of events that have accumulated their dispatches and are + * waiting to have their dispatches executed. + */ + var eventQueue = null; + + /** + * Dispatches an event and releases it back into the pool, unless persistent. + * + * @param {?object} event Synthetic event to be dispatched. + * @param {boolean} simulated If the event is simulated (changes exn behavior) + * @private + */ + var executeDispatchesAndRelease = function executeDispatchesAndRelease(event, simulated) { + if (event) { + EventPluginUtils.executeDispatchesInOrder(event, simulated); + + if (!event.isPersistent()) { + event.constructor.release(event); + } + } + }; + var executeDispatchesAndReleaseSimulated = function executeDispatchesAndReleaseSimulated(e) { + return executeDispatchesAndRelease(e, true); + }; + var executeDispatchesAndReleaseTopLevel = function executeDispatchesAndReleaseTopLevel(e) { + return executeDispatchesAndRelease(e, false); + }; + + var getDictionaryKey = function getDictionaryKey(inst) { + // Prevents V8 performance issue: + // https://github.com/facebook/react/pull/7232 + return '.' + inst._rootNodeID; + }; + + function isInteractive(tag) { + return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea'; + } + + function shouldPreventMouseEvent(name, type, props) { + switch (name) { + case 'onClick': + case 'onClickCapture': + case 'onDoubleClick': + case 'onDoubleClickCapture': + case 'onMouseDown': + case 'onMouseDownCapture': + case 'onMouseMove': + case 'onMouseMoveCapture': + case 'onMouseUp': + case 'onMouseUpCapture': + return !!(props.disabled && isInteractive(type)); + default: + return false; + } + } + + /** + * This is a unified interface for event plugins to be installed and configured. + * + * Event plugins can implement the following properties: + * + * `extractEvents` {function(string, DOMEventTarget, string, object): *} + * Required. When a top-level event is fired, this method is expected to + * extract synthetic events that will in turn be queued and dispatched. + * + * `eventTypes` {object} + * Optional, plugins that fire events must publish a mapping of registration + * names that are used to register listeners. Values of this mapping must + * be objects that contain `registrationName` or `phasedRegistrationNames`. + * + * `executeDispatch` {function(object, function, string)} + * Optional, allows plugins to override how an event gets dispatched. By + * default, the listener is simply invoked. + * + * Each plugin that is injected into `EventsPluginHub` is immediately operable. + * + * @public + */ + var EventPluginHub = { + + /** + * Methods for injecting dependencies. + */ + injection: { + + /** + * @param {array} InjectedEventPluginOrder + * @public + */ + injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder, + + /** + * @param {object} injectedNamesToPlugins Map from names to plugin modules. + */ + injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName + + }, + + /** + * Stores `listener` at `listenerBank[registrationName][key]`. Is idempotent. + * + * @param {object} inst The instance, which is the source of events. + * @param {string} registrationName Name of listener (e.g. `onClick`). + * @param {function} listener The callback to store. + */ + putListener: function putListener(inst, registrationName, listener) { + !(typeof listener === 'function') ? false ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener === 'undefined' ? 'undefined' : _typeof(listener)) : _prodInvariant('94', registrationName, typeof listener === 'undefined' ? 'undefined' : _typeof(listener)) : void 0; + + var key = getDictionaryKey(inst); + var bankForRegistrationName = listenerBank[registrationName] || (listenerBank[registrationName] = {}); + bankForRegistrationName[key] = listener; + + var PluginModule = EventPluginRegistry.registrationNameModules[registrationName]; + if (PluginModule && PluginModule.didPutListener) { + PluginModule.didPutListener(inst, registrationName, listener); + } + }, + + /** + * @param {object} inst The instance, which is the source of events. + * @param {string} registrationName Name of listener (e.g. `onClick`). + * @return {?function} The stored callback. + */ + getListener: function getListener(inst, registrationName) { + // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not + // live here; needs to be moved to a better place soon + var bankForRegistrationName = listenerBank[registrationName]; + if (shouldPreventMouseEvent(registrationName, inst._currentElement.type, inst._currentElement.props)) { + return null; + } + var key = getDictionaryKey(inst); + return bankForRegistrationName && bankForRegistrationName[key]; + }, + + /** + * Deletes a listener from the registration bank. + * + * @param {object} inst The instance, which is the source of events. + * @param {string} registrationName Name of listener (e.g. `onClick`). + */ + deleteListener: function deleteListener(inst, registrationName) { + var PluginModule = EventPluginRegistry.registrationNameModules[registrationName]; + if (PluginModule && PluginModule.willDeleteListener) { + PluginModule.willDeleteListener(inst, registrationName); + } + + var bankForRegistrationName = listenerBank[registrationName]; + // TODO: This should never be null -- when is it? + if (bankForRegistrationName) { + var key = getDictionaryKey(inst); + delete bankForRegistrationName[key]; + } + }, + + /** + * Deletes all listeners for the DOM element with the supplied ID. + * + * @param {object} inst The instance, which is the source of events. + */ + deleteAllListeners: function deleteAllListeners(inst) { + var key = getDictionaryKey(inst); + for (var registrationName in listenerBank) { + if (!listenerBank.hasOwnProperty(registrationName)) { + continue; + } + + if (!listenerBank[registrationName][key]) { + continue; + } + + var PluginModule = EventPluginRegistry.registrationNameModules[registrationName]; + if (PluginModule && PluginModule.willDeleteListener) { + PluginModule.willDeleteListener(inst, registrationName); + } + + delete listenerBank[registrationName][key]; + } + }, + + /** + * Allows registered plugins an opportunity to extract events from top-level + * native browser events. + * + * @return {*} An accumulation of synthetic events. + * @internal + */ + extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + var events; + var plugins = EventPluginRegistry.plugins; + for (var i = 0; i < plugins.length; i++) { + // Not every plugin in the ordering may be loaded at runtime. + var possiblePlugin = plugins[i]; + if (possiblePlugin) { + var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget); + if (extractedEvents) { + events = accumulateInto(events, extractedEvents); + } + } + } + return events; + }, + + /** + * Enqueues a synthetic event that should be dispatched when + * `processEventQueue` is invoked. + * + * @param {*} events An accumulation of synthetic events. + * @internal + */ + enqueueEvents: function enqueueEvents(events) { + if (events) { + eventQueue = accumulateInto(eventQueue, events); + } + }, + + /** + * Dispatches all synthetic events on the event queue. + * + * @internal + */ + processEventQueue: function processEventQueue(simulated) { + // Set `eventQueue` to null before processing it so that we can tell if more + // events get enqueued while processing. + var processingEventQueue = eventQueue; + eventQueue = null; + if (simulated) { + forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated); + } else { + forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel); + } + !!eventQueue ? false ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.') : _prodInvariant('95') : void 0; + // This would be a good time to rethrow if any of the event handlers threw. + ReactErrorUtils.rethrowCaughtError(); + }, + + /** + * These are needed for tests only. Do not use! + */ + __purge: function __purge() { + listenerBank = {}; + }, + + __getListenerBank: function __getListenerBank() { + return listenerBank; + } + + }; + + module.exports = EventPluginHub; + +/***/ }, +/* 43 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var EventPluginHub = __webpack_require__(42); + var EventPluginUtils = __webpack_require__(61); + + var accumulateInto = __webpack_require__(110); + var forEachAccumulated = __webpack_require__(111); + var warning = __webpack_require__(5); + + var getListener = EventPluginHub.getListener; + + /** + * Some event types have a notion of different registration names for different + * "phases" of propagation. This finds listeners by a given phase. + */ + function listenerAtPhase(inst, event, propagationPhase) { + var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase]; + return getListener(inst, registrationName); + } + + /** + * Tags a `SyntheticEvent` with dispatched listeners. Creating this function + * here, allows us to not have to bind or create functions for each event. + * Mutating the event's members allows us to not have to create a wrapping + * "dispatch" object that pairs the event with the listener. + */ + function accumulateDirectionalDispatches(inst, phase, event) { + if (false) { + process.env.NODE_ENV !== 'production' ? warning(inst, 'Dispatching inst must not be null') : void 0; + } + var listener = listenerAtPhase(inst, event, phase); + if (listener) { + event._dispatchListeners = accumulateInto(event._dispatchListeners, listener); + event._dispatchInstances = accumulateInto(event._dispatchInstances, inst); + } + } + + /** + * Collect dispatches (must be entirely collected before dispatching - see unit + * tests). Lazily allocate the array to conserve memory. We must loop through + * each event and perform the traversal for each one. We cannot perform a + * single traversal for the entire collection of events because each event may + * have a different target. + */ + function accumulateTwoPhaseDispatchesSingle(event) { + if (event && event.dispatchConfig.phasedRegistrationNames) { + EventPluginUtils.traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event); + } + } + + /** + * Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID. + */ + function accumulateTwoPhaseDispatchesSingleSkipTarget(event) { + if (event && event.dispatchConfig.phasedRegistrationNames) { + var targetInst = event._targetInst; + var parentInst = targetInst ? EventPluginUtils.getParentInstance(targetInst) : null; + EventPluginUtils.traverseTwoPhase(parentInst, accumulateDirectionalDispatches, event); + } + } + + /** + * Accumulates without regard to direction, does not look for phased + * registration names. Same as `accumulateDirectDispatchesSingle` but without + * requiring that the `dispatchMarker` be the same as the dispatched ID. + */ + function accumulateDispatches(inst, ignoredDirection, event) { + if (event && event.dispatchConfig.registrationName) { + var registrationName = event.dispatchConfig.registrationName; + var listener = getListener(inst, registrationName); + if (listener) { + event._dispatchListeners = accumulateInto(event._dispatchListeners, listener); + event._dispatchInstances = accumulateInto(event._dispatchInstances, inst); + } + } + } + + /** + * Accumulates dispatches on an `SyntheticEvent`, but only for the + * `dispatchMarker`. + * @param {SyntheticEvent} event + */ + function accumulateDirectDispatchesSingle(event) { + if (event && event.dispatchConfig.registrationName) { + accumulateDispatches(event._targetInst, null, event); + } + } + + function accumulateTwoPhaseDispatches(events) { + forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle); + } + + function accumulateTwoPhaseDispatchesSkipTarget(events) { + forEachAccumulated(events, accumulateTwoPhaseDispatchesSingleSkipTarget); + } + + function accumulateEnterLeaveDispatches(leave, enter, from, to) { + EventPluginUtils.traverseEnterLeave(from, to, accumulateDispatches, leave, enter); + } + + function accumulateDirectDispatches(events) { + forEachAccumulated(events, accumulateDirectDispatchesSingle); + } + + /** + * A small set of propagation patterns, each of which will accept a small amount + * of information, and generate a set of "dispatch ready event objects" - which + * are sets of events that have already been annotated with a set of dispatched + * listener functions/ids. The API is designed this way to discourage these + * propagation strategies from actually executing the dispatches, since we + * always want to collect the entire set of dispatches before executing event a + * single one. + * + * @constructor EventPropagators + */ + var EventPropagators = { + accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches, + accumulateTwoPhaseDispatchesSkipTarget: accumulateTwoPhaseDispatchesSkipTarget, + accumulateDirectDispatches: accumulateDirectDispatches, + accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches + }; + + module.exports = EventPropagators; + +/***/ }, +/* 44 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(18); + + var getEventTarget = __webpack_require__(70); + + /** + * @interface UIEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ + var UIEventInterface = { + view: function view(event) { + if (event.view) { + return event.view; + } + + var target = getEventTarget(event); + if (target.window === target) { + // target is a window object + return target; + } + + var doc = target.ownerDocument; + // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8. + if (doc) { + return doc.defaultView || doc.parentWindow; + } else { + return window; + } + }, + detail: function detail(event) { + return event.detail || 0; + } + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticEvent} + */ + function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface); + + module.exports = SyntheticUIEvent; + +/***/ }, +/* 45 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + exports.__esModule = true; + exports.go = undefined; + exports.isSuccess = isSuccess; + exports.isDone = isDone; + exports.hasError = hasError; + + var _immutable = __webpack_require__(9); + + var _data_utils = __webpack_require__(17); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(12); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + var _dataFns = (0, _data_utils.dataFns)(["sync"]), + get = _dataFns.get, + set = _dataFns.set; + + exports.default = function (m, key, opts) { + if (get(m, key) !== undefined) return m; + + var status = opts.waitFn ? "waiting" : !opts.conditionFn || opts.conditionFn(m) ? "pending" : "no"; + + return set(m, key, (0, _immutable.Map)({ + conditionFn: opts.conditionFn, + errorFn: opts.errorFn, + recoverResult: opts.recoverResult, + syncStatus: status, + successFn: opts.successFn, + syncFn: opts.syncFn, + timeout: opts.timeout || 6000, + waitFn: opts.waitFn + })); + }; + + var syncStatusKey = function syncStatusKey(key) { + return (global.Array.isArray(key) ? key : [key]).concat(["syncStatus"]); + }; + var getStatus = function getStatus(m, key) { + return get(m, syncStatusKey(key)); + }; + var setStatus = function setStatus(m, key, str) { + return set(m, syncStatusKey(key), str); + }; + var getProp = function getProp(m, key, name) { + return get(m, key).get(name); + }; + + var findKeys = function findKeys(m) { + return m.reduce(function (r, v, k) { + var current = _immutable.Map.isMap(v) && v.has("syncStatus") ? [k] : []; + var nested = _immutable.Map.isMap(v) ? findKeys(v).map(function (x) { + return [k].concat(x); + }) : []; + return r.concat.apply(r, [current].concat([nested])); + }, []); + }; + + function removeKeys(m, keys) { + return keys.reduce(function (r, k) { + return r.deleteIn(syncStatusKey(k)); + }, m); + } + + var process = function process(m, id) { + var keys = findKeys(get(m, [], (0, _immutable.Map)())); + // TODO timeout + return keys.reduce(function (r, k) { + if (typeof getProp(r, k, "syncFn") != "function") return r; + if (getStatus(r, k) === "pending") { + (function () { + r = setStatus(r, k, "loading"); + var called = false; + getProp(r, k, "syncFn")(r, function (error, result) { + if (called) return; + called = true; + setTimeout(function () { + (0, _index2.swap)(_index2.updateEntity, "lock", id, function (m) { + var errorFn = getProp(r, k, "errorFn"); + + if (error && typeof errorFn === "function") { + setTimeout(function () { + return errorFn(m, error); + }, 0); + } + + var recoverResult = getProp(m, k, "recoverResult"); + + if (error && recoverResult === undefined) { + return handleError(m, k, error); + } else { + m = setStatus(m, k, "ok"); + return getProp(m, k, "successFn")(m, error ? recoverResult : result); + } + }); + }, 0); + }); + })(); + } else if (getStatus(r, k) === "waiting") { + if (getProp(r, k, "waitFn")(r)) { + var conditionFn = getProp(r, k, "conditionFn"); + r = setStatus(r, k, !conditionFn || conditionFn(r) ? "pending" : "no"); + } + } + + return r; + }, m); + }; + + var go = exports.go = function go(id) { + (0, _index2.observe)("sync", id, function (m) { + setTimeout(function () { + return (0, _index2.swap)(_index2.updateEntity, "lock", id, process, id); + }, 0); + }); + }; + + function isSuccess(m, key) { + return getStatus(m, key) === "ok"; + } + + function isDone(m) { + var keys = findKeys(get(m, [], (0, _immutable.Map)())); + return keys.length > 0 && keys.reduce(function (r, k) { + return r && !isLoading(m, k); + }, true); + } + + function hasError(m) { + var excludeKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + + var keys = findKeys(removeKeys(get(m, [], (0, _immutable.Map)()), excludeKeys)); + return keys.length > 0 && keys.reduce(function (r, k) { + return r || getStatus(m, k) === "error"; + }, false); + } + + function isLoading(m, key) { + return ["loading", "pending", "waiting"].indexOf(getStatus(m, key)) > -1; + } + + function handleError(m, key, error) { + var result = setStatus(m, key, "error"); + + // TODO: this should be configurable for each sync + if (key !== "sso") { + var stopError = new Error("An error ocurred when fetching data."); + stopError.code = "sync"; + stopError.origin = error; + result = l.stop(result, stopError); + } + + return result; + } + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 46 */ +/***/ function(module, exports, __webpack_require__) { + + var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + // Underscore.js 1.8.3 + // http://underscorejs.org + // (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + // Underscore may be freely distributed under the MIT license. + + (function () { + + // Baseline setup + // -------------- + + // Establish the root object, `window` in the browser, or `exports` on the server. + var root = this; + + // Save the previous value of the `_` variable. + var previousUnderscore = root._; + + // Save bytes in the minified (but not gzipped) version: + var ArrayProto = Array.prototype, + ObjProto = Object.prototype, + FuncProto = Function.prototype; + + // Create quick reference variables for speed access to core prototypes. + var push = ArrayProto.push, + slice = ArrayProto.slice, + toString = ObjProto.toString, + hasOwnProperty = ObjProto.hasOwnProperty; + + // All **ECMAScript 5** native function implementations that we hope to use + // are declared here. + var nativeIsArray = Array.isArray, + nativeKeys = Object.keys, + nativeBind = FuncProto.bind, + nativeCreate = Object.create; + + // Naked function reference for surrogate-prototype-swapping. + var Ctor = function Ctor() {}; + + // Create a safe reference to the Underscore object for use below. + var _ = function _(obj) { + if (obj instanceof _) return obj; + if (!(this instanceof _)) return new _(obj); + this._wrapped = obj; + }; + + // Export the Underscore object for **Node.js**, with + // backwards-compatibility for the old `require()` API. If we're in + // the browser, add `_` as a global object. + if (true) { + if (typeof module !== 'undefined' && module.exports) { + exports = module.exports = _; + } + exports._ = _; + } else { + root._ = _; + } + + // Current version. + _.VERSION = '1.8.3'; + + // Internal function that returns an efficient (for current engines) version + // of the passed-in callback, to be repeatedly applied in other Underscore + // functions. + var optimizeCb = function optimizeCb(func, context, argCount) { + if (context === void 0) return func; + switch (argCount == null ? 3 : argCount) { + case 1: + return function (value) { + return func.call(context, value); + }; + case 2: + return function (value, other) { + return func.call(context, value, other); + }; + case 3: + return function (value, index, collection) { + return func.call(context, value, index, collection); + }; + case 4: + return function (accumulator, value, index, collection) { + return func.call(context, accumulator, value, index, collection); + }; + } + return function () { + return func.apply(context, arguments); + }; + }; + + // A mostly-internal function to generate callbacks that can be applied + // to each element in a collection, returning the desired result — either + // identity, an arbitrary callback, a property matcher, or a property accessor. + var cb = function cb(value, context, argCount) { + if (value == null) return _.identity; + if (_.isFunction(value)) return optimizeCb(value, context, argCount); + if (_.isObject(value)) return _.matcher(value); + return _.property(value); + }; + _.iteratee = function (value, context) { + return cb(value, context, Infinity); + }; + + // An internal function for creating assigner functions. + var createAssigner = function createAssigner(keysFunc, undefinedOnly) { + return function (obj) { + var length = arguments.length; + if (length < 2 || obj == null) return obj; + for (var index = 1; index < length; index++) { + var source = arguments[index], + keys = keysFunc(source), + l = keys.length; + for (var i = 0; i < l; i++) { + var key = keys[i]; + if (!undefinedOnly || obj[key] === void 0) obj[key] = source[key]; + } + } + return obj; + }; + }; + + // An internal function for creating a new object that inherits from another. + var baseCreate = function baseCreate(prototype) { + if (!_.isObject(prototype)) return {}; + if (nativeCreate) return nativeCreate(prototype); + Ctor.prototype = prototype; + var result = new Ctor(); + Ctor.prototype = null; + return result; + }; + + var property = function property(key) { + return function (obj) { + return obj == null ? void 0 : obj[key]; + }; + }; + + // Helper for collection methods to determine whether a collection + // should be iterated as an array or as an object + // Related: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength + // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 + var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; + var getLength = property('length'); + var isArrayLike = function isArrayLike(collection) { + var length = getLength(collection); + return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX; + }; + + // Collection Functions + // -------------------- + + // The cornerstone, an `each` implementation, aka `forEach`. + // Handles raw objects in addition to array-likes. Treats all + // sparse array-likes as if they were dense. + _.each = _.forEach = function (obj, iteratee, context) { + iteratee = optimizeCb(iteratee, context); + var i, length; + if (isArrayLike(obj)) { + for (i = 0, length = obj.length; i < length; i++) { + iteratee(obj[i], i, obj); + } + } else { + var keys = _.keys(obj); + for (i = 0, length = keys.length; i < length; i++) { + iteratee(obj[keys[i]], keys[i], obj); + } + } + return obj; + }; + + // Return the results of applying the iteratee to each element. + _.map = _.collect = function (obj, iteratee, context) { + iteratee = cb(iteratee, context); + var keys = !isArrayLike(obj) && _.keys(obj), + length = (keys || obj).length, + results = Array(length); + for (var index = 0; index < length; index++) { + var currentKey = keys ? keys[index] : index; + results[index] = iteratee(obj[currentKey], currentKey, obj); + } + return results; + }; + + // Create a reducing function iterating left or right. + function createReduce(dir) { + // Optimized iterator function as using arguments.length + // in the main function will deoptimize the, see #1991. + function iterator(obj, iteratee, memo, keys, index, length) { + for (; index >= 0 && index < length; index += dir) { + var currentKey = keys ? keys[index] : index; + memo = iteratee(memo, obj[currentKey], currentKey, obj); + } + return memo; + } + + return function (obj, iteratee, memo, context) { + iteratee = optimizeCb(iteratee, context, 4); + var keys = !isArrayLike(obj) && _.keys(obj), + length = (keys || obj).length, + index = dir > 0 ? 0 : length - 1; + // Determine the initial value if none is provided. + if (arguments.length < 3) { + memo = obj[keys ? keys[index] : index]; + index += dir; + } + return iterator(obj, iteratee, memo, keys, index, length); + }; + } + + // **Reduce** builds up a single result from a list of values, aka `inject`, + // or `foldl`. + _.reduce = _.foldl = _.inject = createReduce(1); + + // The right-associative version of reduce, also known as `foldr`. + _.reduceRight = _.foldr = createReduce(-1); + + // Return the first value which passes a truth test. Aliased as `detect`. + _.find = _.detect = function (obj, predicate, context) { + var key; + if (isArrayLike(obj)) { + key = _.findIndex(obj, predicate, context); + } else { + key = _.findKey(obj, predicate, context); + } + if (key !== void 0 && key !== -1) return obj[key]; + }; + + // Return all the elements that pass a truth test. + // Aliased as `select`. + _.filter = _.select = function (obj, predicate, context) { + var results = []; + predicate = cb(predicate, context); + _.each(obj, function (value, index, list) { + if (predicate(value, index, list)) results.push(value); + }); + return results; + }; + + // Return all the elements for which a truth test fails. + _.reject = function (obj, predicate, context) { + return _.filter(obj, _.negate(cb(predicate)), context); + }; + + // Determine whether all of the elements match a truth test. + // Aliased as `all`. + _.every = _.all = function (obj, predicate, context) { + predicate = cb(predicate, context); + var keys = !isArrayLike(obj) && _.keys(obj), + length = (keys || obj).length; + for (var index = 0; index < length; index++) { + var currentKey = keys ? keys[index] : index; + if (!predicate(obj[currentKey], currentKey, obj)) return false; + } + return true; + }; + + // Determine if at least one element in the object matches a truth test. + // Aliased as `any`. + _.some = _.any = function (obj, predicate, context) { + predicate = cb(predicate, context); + var keys = !isArrayLike(obj) && _.keys(obj), + length = (keys || obj).length; + for (var index = 0; index < length; index++) { + var currentKey = keys ? keys[index] : index; + if (predicate(obj[currentKey], currentKey, obj)) return true; + } + return false; + }; + + // Determine if the array or object contains a given item (using `===`). + // Aliased as `includes` and `include`. + _.contains = _.includes = _.include = function (obj, item, fromIndex, guard) { + if (!isArrayLike(obj)) obj = _.values(obj); + if (typeof fromIndex != 'number' || guard) fromIndex = 0; + return _.indexOf(obj, item, fromIndex) >= 0; + }; + + // Invoke a method (with arguments) on every item in a collection. + _.invoke = function (obj, method) { + var args = slice.call(arguments, 2); + var isFunc = _.isFunction(method); + return _.map(obj, function (value) { + var func = isFunc ? method : value[method]; + return func == null ? func : func.apply(value, args); + }); + }; + + // Convenience version of a common use case of `map`: fetching a property. + _.pluck = function (obj, key) { + return _.map(obj, _.property(key)); + }; + + // Convenience version of a common use case of `filter`: selecting only objects + // containing specific `key:value` pairs. + _.where = function (obj, attrs) { + return _.filter(obj, _.matcher(attrs)); + }; + + // Convenience version of a common use case of `find`: getting the first object + // containing specific `key:value` pairs. + _.findWhere = function (obj, attrs) { + return _.find(obj, _.matcher(attrs)); + }; + + // Return the maximum element (or element-based computation). + _.max = function (obj, iteratee, context) { + var result = -Infinity, + lastComputed = -Infinity, + value, + computed; + if (iteratee == null && obj != null) { + obj = isArrayLike(obj) ? obj : _.values(obj); + for (var i = 0, length = obj.length; i < length; i++) { + value = obj[i]; + if (value > result) { + result = value; + } + } + } else { + iteratee = cb(iteratee, context); + _.each(obj, function (value, index, list) { + computed = iteratee(value, index, list); + if (computed > lastComputed || computed === -Infinity && result === -Infinity) { + result = value; + lastComputed = computed; + } + }); + } + return result; + }; + + // Return the minimum element (or element-based computation). + _.min = function (obj, iteratee, context) { + var result = Infinity, + lastComputed = Infinity, + value, + computed; + if (iteratee == null && obj != null) { + obj = isArrayLike(obj) ? obj : _.values(obj); + for (var i = 0, length = obj.length; i < length; i++) { + value = obj[i]; + if (value < result) { + result = value; + } + } + } else { + iteratee = cb(iteratee, context); + _.each(obj, function (value, index, list) { + computed = iteratee(value, index, list); + if (computed < lastComputed || computed === Infinity && result === Infinity) { + result = value; + lastComputed = computed; + } + }); + } + return result; + }; + + // Shuffle a collection, using the modern version of the + // [Fisher-Yates shuffle](http://en.wikipedia.org/wiki/Fisher–Yates_shuffle). + _.shuffle = function (obj) { + var set = isArrayLike(obj) ? obj : _.values(obj); + var length = set.length; + var shuffled = Array(length); + for (var index = 0, rand; index < length; index++) { + rand = _.random(0, index); + if (rand !== index) shuffled[index] = shuffled[rand]; + shuffled[rand] = set[index]; + } + return shuffled; + }; + + // Sample **n** random values from a collection. + // If **n** is not specified, returns a single random element. + // The internal `guard` argument allows it to work with `map`. + _.sample = function (obj, n, guard) { + if (n == null || guard) { + if (!isArrayLike(obj)) obj = _.values(obj); + return obj[_.random(obj.length - 1)]; + } + return _.shuffle(obj).slice(0, Math.max(0, n)); + }; + + // Sort the object's values by a criterion produced by an iteratee. + _.sortBy = function (obj, iteratee, context) { + iteratee = cb(iteratee, context); + return _.pluck(_.map(obj, function (value, index, list) { + return { + value: value, + index: index, + criteria: iteratee(value, index, list) + }; + }).sort(function (left, right) { + var a = left.criteria; + var b = right.criteria; + if (a !== b) { + if (a > b || a === void 0) return 1; + if (a < b || b === void 0) return -1; + } + return left.index - right.index; + }), 'value'); + }; + + // An internal function used for aggregate "group by" operations. + var group = function group(behavior) { + return function (obj, iteratee, context) { + var result = {}; + iteratee = cb(iteratee, context); + _.each(obj, function (value, index) { + var key = iteratee(value, index, obj); + behavior(result, value, key); + }); + return result; + }; + }; + + // Groups the object's values by a criterion. Pass either a string attribute + // to group by, or a function that returns the criterion. + _.groupBy = group(function (result, value, key) { + if (_.has(result, key)) result[key].push(value);else result[key] = [value]; + }); + + // Indexes the object's values by a criterion, similar to `groupBy`, but for + // when you know that your index values will be unique. + _.indexBy = group(function (result, value, key) { + result[key] = value; + }); + + // Counts instances of an object that group by a certain criterion. Pass + // either a string attribute to count by, or a function that returns the + // criterion. + _.countBy = group(function (result, value, key) { + if (_.has(result, key)) result[key]++;else result[key] = 1; + }); + + // Safely create a real, live array from anything iterable. + _.toArray = function (obj) { + if (!obj) return []; + if (_.isArray(obj)) return slice.call(obj); + if (isArrayLike(obj)) return _.map(obj, _.identity); + return _.values(obj); + }; + + // Return the number of elements in an object. + _.size = function (obj) { + if (obj == null) return 0; + return isArrayLike(obj) ? obj.length : _.keys(obj).length; + }; + + // Split a collection into two arrays: one whose elements all satisfy the given + // predicate, and one whose elements all do not satisfy the predicate. + _.partition = function (obj, predicate, context) { + predicate = cb(predicate, context); + var pass = [], + fail = []; + _.each(obj, function (value, key, obj) { + (predicate(value, key, obj) ? pass : fail).push(value); + }); + return [pass, fail]; + }; + + // Array Functions + // --------------- + + // Get the first element of an array. Passing **n** will return the first N + // values in the array. Aliased as `head` and `take`. The **guard** check + // allows it to work with `_.map`. + _.first = _.head = _.take = function (array, n, guard) { + if (array == null) return void 0; + if (n == null || guard) return array[0]; + return _.initial(array, array.length - n); + }; + + // Returns everything but the last entry of the array. Especially useful on + // the arguments object. Passing **n** will return all the values in + // the array, excluding the last N. + _.initial = function (array, n, guard) { + return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); + }; + + // Get the last element of an array. Passing **n** will return the last N + // values in the array. + _.last = function (array, n, guard) { + if (array == null) return void 0; + if (n == null || guard) return array[array.length - 1]; + return _.rest(array, Math.max(0, array.length - n)); + }; + + // Returns everything but the first entry of the array. Aliased as `tail` and `drop`. + // Especially useful on the arguments object. Passing an **n** will return + // the rest N values in the array. + _.rest = _.tail = _.drop = function (array, n, guard) { + return slice.call(array, n == null || guard ? 1 : n); + }; + + // Trim out all falsy values from an array. + _.compact = function (array) { + return _.filter(array, _.identity); + }; + + // Internal implementation of a recursive `flatten` function. + var flatten = function flatten(input, shallow, strict, startIndex) { + var output = [], + idx = 0; + for (var i = startIndex || 0, length = getLength(input); i < length; i++) { + var value = input[i]; + if (isArrayLike(value) && (_.isArray(value) || _.isArguments(value))) { + //flatten current level of array or arguments object + if (!shallow) value = flatten(value, shallow, strict); + var j = 0, + len = value.length; + output.length += len; + while (j < len) { + output[idx++] = value[j++]; + } + } else if (!strict) { + output[idx++] = value; + } + } + return output; + }; + + // Flatten out an array, either recursively (by default), or just one level. + _.flatten = function (array, shallow) { + return flatten(array, shallow, false); + }; + + // Return a version of the array that does not contain the specified value(s). + _.without = function (array) { + return _.difference(array, slice.call(arguments, 1)); + }; + + // Produce a duplicate-free version of the array. If the array has already + // been sorted, you have the option of using a faster algorithm. + // Aliased as `unique`. + _.uniq = _.unique = function (array, isSorted, iteratee, context) { + if (!_.isBoolean(isSorted)) { + context = iteratee; + iteratee = isSorted; + isSorted = false; + } + if (iteratee != null) iteratee = cb(iteratee, context); + var result = []; + var seen = []; + for (var i = 0, length = getLength(array); i < length; i++) { + var value = array[i], + computed = iteratee ? iteratee(value, i, array) : value; + if (isSorted) { + if (!i || seen !== computed) result.push(value); + seen = computed; + } else if (iteratee) { + if (!_.contains(seen, computed)) { + seen.push(computed); + result.push(value); + } + } else if (!_.contains(result, value)) { + result.push(value); + } + } + return result; + }; + + // Produce an array that contains the union: each distinct element from all of + // the passed-in arrays. + _.union = function () { + return _.uniq(flatten(arguments, true, true)); + }; + + // Produce an array that contains every item shared between all the + // passed-in arrays. + _.intersection = function (array) { + var result = []; + var argsLength = arguments.length; + for (var i = 0, length = getLength(array); i < length; i++) { + var item = array[i]; + if (_.contains(result, item)) continue; + for (var j = 1; j < argsLength; j++) { + if (!_.contains(arguments[j], item)) break; + } + if (j === argsLength) result.push(item); + } + return result; + }; + + // Take the difference between one array and a number of other arrays. + // Only the elements present in just the first array will remain. + _.difference = function (array) { + var rest = flatten(arguments, true, true, 1); + return _.filter(array, function (value) { + return !_.contains(rest, value); + }); + }; + + // Zip together multiple lists into a single array -- elements that share + // an index go together. + _.zip = function () { + return _.unzip(arguments); + }; + + // Complement of _.zip. Unzip accepts an array of arrays and groups + // each array's elements on shared indices + _.unzip = function (array) { + var length = array && _.max(array, getLength).length || 0; + var result = Array(length); + + for (var index = 0; index < length; index++) { + result[index] = _.pluck(array, index); + } + return result; + }; + + // Converts lists into objects. Pass either a single array of `[key, value]` + // pairs, or two parallel arrays of the same length -- one of keys, and one of + // the corresponding values. + _.object = function (list, values) { + var result = {}; + for (var i = 0, length = getLength(list); i < length; i++) { + if (values) { + result[list[i]] = values[i]; + } else { + result[list[i][0]] = list[i][1]; + } + } + return result; + }; + + // Generator function to create the findIndex and findLastIndex functions + function createPredicateIndexFinder(dir) { + return function (array, predicate, context) { + predicate = cb(predicate, context); + var length = getLength(array); + var index = dir > 0 ? 0 : length - 1; + for (; index >= 0 && index < length; index += dir) { + if (predicate(array[index], index, array)) return index; + } + return -1; + }; + } + + // Returns the first index on an array-like that passes a predicate test + _.findIndex = createPredicateIndexFinder(1); + _.findLastIndex = createPredicateIndexFinder(-1); + + // Use a comparator function to figure out the smallest index at which + // an object should be inserted so as to maintain order. Uses binary search. + _.sortedIndex = function (array, obj, iteratee, context) { + iteratee = cb(iteratee, context, 1); + var value = iteratee(obj); + var low = 0, + high = getLength(array); + while (low < high) { + var mid = Math.floor((low + high) / 2); + if (iteratee(array[mid]) < value) low = mid + 1;else high = mid; + } + return low; + }; + + // Generator function to create the indexOf and lastIndexOf functions + function createIndexFinder(dir, predicateFind, sortedIndex) { + return function (array, item, idx) { + var i = 0, + length = getLength(array); + if (typeof idx == 'number') { + if (dir > 0) { + i = idx >= 0 ? idx : Math.max(idx + length, i); + } else { + length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; + } + } else if (sortedIndex && idx && length) { + idx = sortedIndex(array, item); + return array[idx] === item ? idx : -1; + } + if (item !== item) { + idx = predicateFind(slice.call(array, i, length), _.isNaN); + return idx >= 0 ? idx + i : -1; + } + for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { + if (array[idx] === item) return idx; + } + return -1; + }; + } + + // Return the position of the first occurrence of an item in an array, + // or -1 if the item is not included in the array. + // If the array is large and already in sort order, pass `true` + // for **isSorted** to use binary search. + _.indexOf = createIndexFinder(1, _.findIndex, _.sortedIndex); + _.lastIndexOf = createIndexFinder(-1, _.findLastIndex); + + // Generate an integer Array containing an arithmetic progression. A port of + // the native Python `range()` function. See + // [the Python documentation](http://docs.python.org/library/functions.html#range). + _.range = function (start, stop, step) { + if (stop == null) { + stop = start || 0; + start = 0; + } + step = step || 1; + + var length = Math.max(Math.ceil((stop - start) / step), 0); + var range = Array(length); + + for (var idx = 0; idx < length; idx++, start += step) { + range[idx] = start; + } + + return range; + }; + + // Function (ahem) Functions + // ------------------ + + // Determines whether to execute a function as a constructor + // or a normal function with the provided arguments + var executeBound = function executeBound(sourceFunc, boundFunc, context, callingContext, args) { + if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); + var self = baseCreate(sourceFunc.prototype); + var result = sourceFunc.apply(self, args); + if (_.isObject(result)) return result; + return self; + }; + + // Create a function bound to a given object (assigning `this`, and arguments, + // optionally). Delegates to **ECMAScript 5**'s native `Function.bind` if + // available. + _.bind = function (func, context) { + if (nativeBind && func.bind === nativeBind) return nativeBind.apply(func, slice.call(arguments, 1)); + if (!_.isFunction(func)) throw new TypeError('Bind must be called on a function'); + var args = slice.call(arguments, 2); + var bound = function bound() { + return executeBound(func, bound, context, this, args.concat(slice.call(arguments))); + }; + return bound; + }; + + // Partially apply a function by creating a version that has had some of its + // arguments pre-filled, without changing its dynamic `this` context. _ acts + // as a placeholder, allowing any combination of arguments to be pre-filled. + _.partial = function (func) { + var boundArgs = slice.call(arguments, 1); + var bound = function bound() { + var position = 0, + length = boundArgs.length; + var args = Array(length); + for (var i = 0; i < length; i++) { + args[i] = boundArgs[i] === _ ? arguments[position++] : boundArgs[i]; + } + while (position < arguments.length) { + args.push(arguments[position++]); + }return executeBound(func, bound, this, this, args); + }; + return bound; + }; + + // Bind a number of an object's methods to that object. Remaining arguments + // are the method names to be bound. Useful for ensuring that all callbacks + // defined on an object belong to it. + _.bindAll = function (obj) { + var i, + length = arguments.length, + key; + if (length <= 1) throw new Error('bindAll must be passed function names'); + for (i = 1; i < length; i++) { + key = arguments[i]; + obj[key] = _.bind(obj[key], obj); + } + return obj; + }; + + // Memoize an expensive function by storing its results. + _.memoize = function (func, hasher) { + var memoize = function memoize(key) { + var cache = memoize.cache; + var address = '' + (hasher ? hasher.apply(this, arguments) : key); + if (!_.has(cache, address)) cache[address] = func.apply(this, arguments); + return cache[address]; + }; + memoize.cache = {}; + return memoize; + }; + + // Delays a function for the given number of milliseconds, and then calls + // it with the arguments supplied. + _.delay = function (func, wait) { + var args = slice.call(arguments, 2); + return setTimeout(function () { + return func.apply(null, args); + }, wait); + }; + + // Defers a function, scheduling it to run after the current call stack has + // cleared. + _.defer = _.partial(_.delay, _, 1); + + // Returns a function, that, when invoked, will only be triggered at most once + // during a given window of time. Normally, the throttled function will run + // as much as it can, without ever going more than once per `wait` duration; + // but if you'd like to disable the execution on the leading edge, pass + // `{leading: false}`. To disable execution on the trailing edge, ditto. + _.throttle = function (func, wait, options) { + var context, args, result; + var timeout = null; + var previous = 0; + if (!options) options = {}; + var later = function later() { + previous = options.leading === false ? 0 : _.now(); + timeout = null; + result = func.apply(context, args); + if (!timeout) context = args = null; + }; + return function () { + var now = _.now(); + if (!previous && options.leading === false) previous = now; + var remaining = wait - (now - previous); + context = this; + args = arguments; + if (remaining <= 0 || remaining > wait) { + if (timeout) { + clearTimeout(timeout); + timeout = null; + } + previous = now; + result = func.apply(context, args); + if (!timeout) context = args = null; + } else if (!timeout && options.trailing !== false) { + timeout = setTimeout(later, remaining); + } + return result; + }; + }; + + // Returns a function, that, as long as it continues to be invoked, will not + // be triggered. The function will be called after it stops being called for + // N milliseconds. If `immediate` is passed, trigger the function on the + // leading edge, instead of the trailing. + _.debounce = function (func, wait, immediate) { + var timeout, args, context, timestamp, result; + + var later = function later() { + var last = _.now() - timestamp; + + if (last < wait && last >= 0) { + timeout = setTimeout(later, wait - last); + } else { + timeout = null; + if (!immediate) { + result = func.apply(context, args); + if (!timeout) context = args = null; + } + } + }; + + return function () { + context = this; + args = arguments; + timestamp = _.now(); + var callNow = immediate && !timeout; + if (!timeout) timeout = setTimeout(later, wait); + if (callNow) { + result = func.apply(context, args); + context = args = null; + } + + return result; + }; + }; + + // Returns the first function passed as an argument to the second, + // allowing you to adjust arguments, run code before and after, and + // conditionally execute the original function. + _.wrap = function (func, wrapper) { + return _.partial(wrapper, func); + }; + + // Returns a negated version of the passed-in predicate. + _.negate = function (predicate) { + return function () { + return !predicate.apply(this, arguments); + }; + }; + + // Returns a function that is the composition of a list of functions, each + // consuming the return value of the function that follows. + _.compose = function () { + var args = arguments; + var start = args.length - 1; + return function () { + var i = start; + var result = args[start].apply(this, arguments); + while (i--) { + result = args[i].call(this, result); + }return result; + }; + }; + + // Returns a function that will only be executed on and after the Nth call. + _.after = function (times, func) { + return function () { + if (--times < 1) { + return func.apply(this, arguments); + } + }; + }; + + // Returns a function that will only be executed up to (but not including) the Nth call. + _.before = function (times, func) { + var memo; + return function () { + if (--times > 0) { + memo = func.apply(this, arguments); + } + if (times <= 1) func = null; + return memo; + }; + }; + + // Returns a function that will be executed at most one time, no matter how + // often you call it. Useful for lazy initialization. + _.once = _.partial(_.before, 2); + + // Object Functions + // ---------------- + + // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. + var hasEnumBug = !{ toString: null }.propertyIsEnumerable('toString'); + var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; + + function collectNonEnumProps(obj, keys) { + var nonEnumIdx = nonEnumerableProps.length; + var constructor = obj.constructor; + var proto = _.isFunction(constructor) && constructor.prototype || ObjProto; + + // Constructor is a special case. + var prop = 'constructor'; + if (_.has(obj, prop) && !_.contains(keys, prop)) keys.push(prop); + + while (nonEnumIdx--) { + prop = nonEnumerableProps[nonEnumIdx]; + if (prop in obj && obj[prop] !== proto[prop] && !_.contains(keys, prop)) { + keys.push(prop); + } + } + } + + // Retrieve the names of an object's own properties. + // Delegates to **ECMAScript 5**'s native `Object.keys` + _.keys = function (obj) { + if (!_.isObject(obj)) return []; + if (nativeKeys) return nativeKeys(obj); + var keys = []; + for (var key in obj) { + if (_.has(obj, key)) keys.push(key); + } // Ahem, IE < 9. + if (hasEnumBug) collectNonEnumProps(obj, keys); + return keys; + }; + + // Retrieve all the property names of an object. + _.allKeys = function (obj) { + if (!_.isObject(obj)) return []; + var keys = []; + for (var key in obj) { + keys.push(key); + } // Ahem, IE < 9. + if (hasEnumBug) collectNonEnumProps(obj, keys); + return keys; + }; + + // Retrieve the values of an object's properties. + _.values = function (obj) { + var keys = _.keys(obj); + var length = keys.length; + var values = Array(length); + for (var i = 0; i < length; i++) { + values[i] = obj[keys[i]]; + } + return values; + }; + + // Returns the results of applying the iteratee to each element of the object + // In contrast to _.map it returns an object + _.mapObject = function (obj, iteratee, context) { + iteratee = cb(iteratee, context); + var keys = _.keys(obj), + length = keys.length, + results = {}, + currentKey; + for (var index = 0; index < length; index++) { + currentKey = keys[index]; + results[currentKey] = iteratee(obj[currentKey], currentKey, obj); + } + return results; + }; + + // Convert an object into a list of `[key, value]` pairs. + _.pairs = function (obj) { + var keys = _.keys(obj); + var length = keys.length; + var pairs = Array(length); + for (var i = 0; i < length; i++) { + pairs[i] = [keys[i], obj[keys[i]]]; + } + return pairs; + }; + + // Invert the keys and values of an object. The values must be serializable. + _.invert = function (obj) { + var result = {}; + var keys = _.keys(obj); + for (var i = 0, length = keys.length; i < length; i++) { + result[obj[keys[i]]] = keys[i]; + } + return result; + }; + + // Return a sorted list of the function names available on the object. + // Aliased as `methods` + _.functions = _.methods = function (obj) { + var names = []; + for (var key in obj) { + if (_.isFunction(obj[key])) names.push(key); + } + return names.sort(); + }; + + // Extend a given object with all the properties in passed-in object(s). + _.extend = createAssigner(_.allKeys); + + // Assigns a given object with all the own properties in the passed-in object(s) + // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) + _.extendOwn = _.assign = createAssigner(_.keys); + + // Returns the first key on an object that passes a predicate test + _.findKey = function (obj, predicate, context) { + predicate = cb(predicate, context); + var keys = _.keys(obj), + key; + for (var i = 0, length = keys.length; i < length; i++) { + key = keys[i]; + if (predicate(obj[key], key, obj)) return key; + } + }; + + // Return a copy of the object only containing the whitelisted properties. + _.pick = function (object, oiteratee, context) { + var result = {}, + obj = object, + iteratee, + keys; + if (obj == null) return result; + if (_.isFunction(oiteratee)) { + keys = _.allKeys(obj); + iteratee = optimizeCb(oiteratee, context); + } else { + keys = flatten(arguments, false, false, 1); + iteratee = function iteratee(value, key, obj) { + return key in obj; + }; + obj = Object(obj); + } + for (var i = 0, length = keys.length; i < length; i++) { + var key = keys[i]; + var value = obj[key]; + if (iteratee(value, key, obj)) result[key] = value; + } + return result; + }; + + // Return a copy of the object without the blacklisted properties. + _.omit = function (obj, iteratee, context) { + if (_.isFunction(iteratee)) { + iteratee = _.negate(iteratee); + } else { + var keys = _.map(flatten(arguments, false, false, 1), String); + iteratee = function iteratee(value, key) { + return !_.contains(keys, key); + }; + } + return _.pick(obj, iteratee, context); + }; + + // Fill in a given object with default properties. + _.defaults = createAssigner(_.allKeys, true); + + // Creates an object that inherits from the given prototype object. + // If additional properties are provided then they will be added to the + // created object. + _.create = function (prototype, props) { + var result = baseCreate(prototype); + if (props) _.extendOwn(result, props); + return result; + }; + + // Create a (shallow-cloned) duplicate of an object. + _.clone = function (obj) { + if (!_.isObject(obj)) return obj; + return _.isArray(obj) ? obj.slice() : _.extend({}, obj); + }; + + // Invokes interceptor with the obj, and then returns obj. + // The primary purpose of this method is to "tap into" a method chain, in + // order to perform operations on intermediate results within the chain. + _.tap = function (obj, interceptor) { + interceptor(obj); + return obj; + }; + + // Returns whether an object has a given set of `key:value` pairs. + _.isMatch = function (object, attrs) { + var keys = _.keys(attrs), + length = keys.length; + if (object == null) return !length; + var obj = Object(object); + for (var i = 0; i < length; i++) { + var key = keys[i]; + if (attrs[key] !== obj[key] || !(key in obj)) return false; + } + return true; + }; + + // Internal recursive comparison function for `isEqual`. + var eq = function eq(a, b, aStack, bStack) { + // Identical objects are equal. `0 === -0`, but they aren't identical. + // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal). + if (a === b) return a !== 0 || 1 / a === 1 / b; + // A strict comparison is necessary because `null == undefined`. + if (a == null || b == null) return a === b; + // Unwrap any wrapped objects. + if (a instanceof _) a = a._wrapped; + if (b instanceof _) b = b._wrapped; + // Compare `[[Class]]` names. + var className = toString.call(a); + if (className !== toString.call(b)) return false; + switch (className) { + // Strings, numbers, regular expressions, dates, and booleans are compared by value. + case '[object RegExp]': + // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') + case '[object String]': + // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is + // equivalent to `new String("5")`. + return '' + a === '' + b; + case '[object Number]': + // `NaN`s are equivalent, but non-reflexive. + // Object(NaN) is equivalent to NaN + if (+a !== +a) return +b !== +b; + // An `egal` comparison is performed for other numeric values. + return +a === 0 ? 1 / +a === 1 / b : +a === +b; + case '[object Date]': + case '[object Boolean]': + // Coerce dates and booleans to numeric primitive values. Dates are compared by their + // millisecond representations. Note that invalid dates with millisecond representations + // of `NaN` are not equivalent. + return +a === +b; + } + + var areArrays = className === '[object Array]'; + if (!areArrays) { + if ((typeof a === 'undefined' ? 'undefined' : _typeof(a)) != 'object' || (typeof b === 'undefined' ? 'undefined' : _typeof(b)) != 'object') return false; + + // Objects with different constructors are not equivalent, but `Object`s or `Array`s + // from different frames are. + var aCtor = a.constructor, + bCtor = b.constructor; + if (aCtor !== bCtor && !(_.isFunction(aCtor) && aCtor instanceof aCtor && _.isFunction(bCtor) && bCtor instanceof bCtor) && 'constructor' in a && 'constructor' in b) { + return false; + } + } + // Assume equality for cyclic structures. The algorithm for detecting cyclic + // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. + + // Initializing stack of traversed objects. + // It's done here since we only need them for objects and arrays comparison. + aStack = aStack || []; + bStack = bStack || []; + var length = aStack.length; + while (length--) { + // Linear search. Performance is inversely proportional to the number of + // unique nested structures. + if (aStack[length] === a) return bStack[length] === b; + } + + // Add the first object to the stack of traversed objects. + aStack.push(a); + bStack.push(b); + + // Recursively compare objects and arrays. + if (areArrays) { + // Compare array lengths to determine if a deep comparison is necessary. + length = a.length; + if (length !== b.length) return false; + // Deep compare the contents, ignoring non-numeric properties. + while (length--) { + if (!eq(a[length], b[length], aStack, bStack)) return false; + } + } else { + // Deep compare objects. + var keys = _.keys(a), + key; + length = keys.length; + // Ensure that both objects contain the same number of properties before comparing deep equality. + if (_.keys(b).length !== length) return false; + while (length--) { + // Deep compare each member + key = keys[length]; + if (!(_.has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; + } + } + // Remove the first object from the stack of traversed objects. + aStack.pop(); + bStack.pop(); + return true; + }; + + // Perform a deep comparison to check if two objects are equal. + _.isEqual = function (a, b) { + return eq(a, b); + }; + + // Is a given array, string, or object empty? + // An "empty" object has no enumerable own-properties. + _.isEmpty = function (obj) { + if (obj == null) return true; + if (isArrayLike(obj) && (_.isArray(obj) || _.isString(obj) || _.isArguments(obj))) return obj.length === 0; + return _.keys(obj).length === 0; + }; + + // Is a given value a DOM element? + _.isElement = function (obj) { + return !!(obj && obj.nodeType === 1); + }; + + // Is a given value an array? + // Delegates to ECMA5's native Array.isArray + _.isArray = nativeIsArray || function (obj) { + return toString.call(obj) === '[object Array]'; + }; + + // Is a given variable an object? + _.isObject = function (obj) { + var type = typeof obj === 'undefined' ? 'undefined' : _typeof(obj); + return type === 'function' || type === 'object' && !!obj; + }; + + // Add some isType methods: isArguments, isFunction, isString, isNumber, isDate, isRegExp, isError. + _.each(['Arguments', 'Function', 'String', 'Number', 'Date', 'RegExp', 'Error'], function (name) { + _['is' + name] = function (obj) { + return toString.call(obj) === '[object ' + name + ']'; + }; + }); + + // Define a fallback version of the method in browsers (ahem, IE < 9), where + // there isn't any inspectable "Arguments" type. + if (!_.isArguments(arguments)) { + _.isArguments = function (obj) { + return _.has(obj, 'callee'); + }; + } + + // Optimize `isFunction` if appropriate. Work around some typeof bugs in old v8, + // IE 11 (#1621), and in Safari 8 (#1929). + if (typeof /./ != 'function' && (typeof Int8Array === 'undefined' ? 'undefined' : _typeof(Int8Array)) != 'object') { + _.isFunction = function (obj) { + return typeof obj == 'function' || false; + }; + } + + // Is a given object a finite number? + _.isFinite = function (obj) { + return isFinite(obj) && !isNaN(parseFloat(obj)); + }; + + // Is the given value `NaN`? (NaN is the only number which does not equal itself). + _.isNaN = function (obj) { + return _.isNumber(obj) && obj !== +obj; + }; + + // Is a given value a boolean? + _.isBoolean = function (obj) { + return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; + }; + + // Is a given value equal to null? + _.isNull = function (obj) { + return obj === null; + }; + + // Is a given variable undefined? + _.isUndefined = function (obj) { + return obj === void 0; + }; + + // Shortcut function for checking if an object has a given property directly + // on itself (in other words, not on a prototype). + _.has = function (obj, key) { + return obj != null && hasOwnProperty.call(obj, key); + }; + + // Utility Functions + // ----------------- + + // Run Underscore.js in *noConflict* mode, returning the `_` variable to its + // previous owner. Returns a reference to the Underscore object. + _.noConflict = function () { + root._ = previousUnderscore; + return this; + }; + + // Keep the identity function around for default iteratees. + _.identity = function (value) { + return value; + }; + + // Predicate-generating functions. Often useful outside of Underscore. + _.constant = function (value) { + return function () { + return value; + }; + }; + + _.noop = function () {}; + + _.property = property; + + // Generates a function for a given object that returns a given property. + _.propertyOf = function (obj) { + return obj == null ? function () {} : function (key) { + return obj[key]; + }; + }; + + // Returns a predicate for checking whether an object has a given set of + // `key:value` pairs. + _.matcher = _.matches = function (attrs) { + attrs = _.extendOwn({}, attrs); + return function (obj) { + return _.isMatch(obj, attrs); + }; + }; + + // Run a function **n** times. + _.times = function (n, iteratee, context) { + var accum = Array(Math.max(0, n)); + iteratee = optimizeCb(iteratee, context, 1); + for (var i = 0; i < n; i++) { + accum[i] = iteratee(i); + }return accum; + }; + + // Return a random integer between min and max (inclusive). + _.random = function (min, max) { + if (max == null) { + max = min; + min = 0; + } + return min + Math.floor(Math.random() * (max - min + 1)); + }; + + // A (possibly faster) way to get the current timestamp as an integer. + _.now = Date.now || function () { + return new Date().getTime(); + }; + + // List of HTML entities for escaping. + var escapeMap = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''', + '`': '`' + }; + var unescapeMap = _.invert(escapeMap); + + // Functions for escaping and unescaping strings to/from HTML interpolation. + var createEscaper = function createEscaper(map) { + var escaper = function escaper(match) { + return map[match]; + }; + // Regexes for identifying a key that needs to be escaped + var source = '(?:' + _.keys(map).join('|') + ')'; + var testRegexp = RegExp(source); + var replaceRegexp = RegExp(source, 'g'); + return function (string) { + string = string == null ? '' : '' + string; + return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; + }; + }; + _.escape = createEscaper(escapeMap); + _.unescape = createEscaper(unescapeMap); + + // If the value of the named `property` is a function then invoke it with the + // `object` as context; otherwise, return it. + _.result = function (object, property, fallback) { + var value = object == null ? void 0 : object[property]; + if (value === void 0) { + value = fallback; + } + return _.isFunction(value) ? value.call(object) : value; + }; + + // Generate a unique integer id (unique within the entire client session). + // Useful for temporary DOM ids. + var idCounter = 0; + _.uniqueId = function (prefix) { + var id = ++idCounter + ''; + return prefix ? prefix + id : id; + }; + + // By default, Underscore uses ERB-style template delimiters, change the + // following template settings to use alternative delimiters. + _.templateSettings = { + evaluate: /<%([\s\S]+?)%>/g, + interpolate: /<%=([\s\S]+?)%>/g, + escape: /<%-([\s\S]+?)%>/g + }; + + // When customizing `templateSettings`, if you don't want to define an + // interpolation, evaluation or escaping regex, we need one that is + // guaranteed not to match. + var noMatch = /(.)^/; + + // Certain characters need to be escaped so that they can be put into a + // string literal. + var escapes = { + "'": "'", + '\\': '\\', + '\r': 'r', + '\n': 'n', + '\u2028': 'u2028', + '\u2029': 'u2029' + }; + + var escaper = /\\|'|\r|\n|\u2028|\u2029/g; + + var escapeChar = function escapeChar(match) { + return '\\' + escapes[match]; + }; + + // JavaScript micro-templating, similar to John Resig's implementation. + // Underscore templating handles arbitrary delimiters, preserves whitespace, + // and correctly escapes quotes within interpolated code. + // NB: `oldSettings` only exists for backwards compatibility. + _.template = function (text, settings, oldSettings) { + if (!settings && oldSettings) settings = oldSettings; + settings = _.defaults({}, settings, _.templateSettings); + + // Combine delimiters into one regular expression via alternation. + var matcher = RegExp([(settings.escape || noMatch).source, (settings.interpolate || noMatch).source, (settings.evaluate || noMatch).source].join('|') + '|$', 'g'); + + // Compile the template source, escaping string literals appropriately. + var index = 0; + var source = "__p+='"; + text.replace(matcher, function (match, escape, interpolate, evaluate, offset) { + source += text.slice(index, offset).replace(escaper, escapeChar); + index = offset + match.length; + + if (escape) { + source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; + } else if (interpolate) { + source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; + } else if (evaluate) { + source += "';\n" + evaluate + "\n__p+='"; + } + + // Adobe VMs need the match returned to produce the correct offest. + return match; + }); + source += "';\n"; + + // If a variable is not specified, place data values in local scope. + if (!settings.variable) source = 'with(obj||{}){\n' + source + '}\n'; + + source = "var __t,__p='',__j=Array.prototype.join," + "print=function(){__p+=__j.call(arguments,'');};\n" + source + 'return __p;\n'; + + try { + var render = new Function(settings.variable || 'obj', '_', source); + } catch (e) { + e.source = source; + throw e; + } + + var template = function template(data) { + return render.call(this, data, _); + }; + + // Provide the compiled source as a convenience for precompilation. + var argument = settings.variable || 'obj'; + template.source = 'function(' + argument + '){\n' + source + '}'; + + return template; + }; + + // Add a "chain" function. Start chaining a wrapped Underscore object. + _.chain = function (obj) { + var instance = _(obj); + instance._chain = true; + return instance; + }; + + // OOP + // --------------- + // If Underscore is called as a function, it returns a wrapped object that + // can be used OO-style. This wrapper holds altered versions of all the + // underscore functions. Wrapped objects may be chained. + + // Helper function to continue chaining intermediate results. + var result = function result(instance, obj) { + return instance._chain ? _(obj).chain() : obj; + }; + + // Add your own custom functions to the Underscore object. + _.mixin = function (obj) { + _.each(_.functions(obj), function (name) { + var func = _[name] = obj[name]; + _.prototype[name] = function () { + var args = [this._wrapped]; + push.apply(args, arguments); + return result(this, func.apply(_, args)); + }; + }); + }; + + // Add all of the Underscore functions to the wrapper object. + _.mixin(_); + + // Add all mutator Array functions to the wrapper. + _.each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function (name) { + var method = ArrayProto[name]; + _.prototype[name] = function () { + var obj = this._wrapped; + method.apply(obj, arguments); + if ((name === 'shift' || name === 'splice') && obj.length === 0) delete obj[0]; + return result(this, obj); + }; + }); + + // Add all accessor Array functions to the wrapper. + _.each(['concat', 'join', 'slice'], function (name) { + var method = ArrayProto[name]; + _.prototype[name] = function () { + return result(this, method.apply(this._wrapped, arguments)); + }; + }); + + // Extracts the result from a wrapped and chained object. + _.prototype.value = function () { + return this._wrapped; + }; + + // Provide unwrapping proxy for some methods used in engine operations + // such as arithmetic and JSON stringification. + _.prototype.valueOf = _.prototype.toJSON = _.prototype.value; + + _.prototype.toString = function () { + return '' + this._wrapped; + }; + + // AMD registration happens at the end for compatibility with AMD loaders + // that may not enforce next-turn semantics on modules. Even though general + // practice for AMD registration is to be anonymous, underscore registers + // as a named module because, like jQuery, it is a base library that is + // popular enough to be bundled in a third party lib, but not be part of + // an AMD load request. Those cases could generate an error when an + // anonymous define() is called outside of a loader request. + if (true) { + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () { + return _; + }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } + }).call(undefined); + +/***/ }, +/* 47 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var EventPluginRegistry = __webpack_require__(60); + var ReactEventEmitterMixin = __webpack_require__(214); + var ViewportMetrics = __webpack_require__(109); + + var getVendorPrefixedEventName = __webpack_require__(114); + var isEventSupported = __webpack_require__(71); + + /** + * Summary of `ReactBrowserEventEmitter` event handling: + * + * - Top-level delegation is used to trap most native browser events. This + * may only occur in the main thread and is the responsibility of + * ReactEventListener, which is injected and can therefore support pluggable + * event sources. This is the only work that occurs in the main thread. + * + * - We normalize and de-duplicate events to account for browser quirks. This + * may be done in the worker thread. + * + * - Forward these native events (with the associated top-level type used to + * trap it) to `EventPluginHub`, which in turn will ask plugins if they want + * to extract any synthetic events. + * + * - The `EventPluginHub` will then process each event by annotating them with + * "dispatches", a sequence of listeners and IDs that care about that event. + * + * - The `EventPluginHub` then dispatches the events. + * + * Overview of React and the event system: + * + * +------------+ . + * | DOM | . + * +------------+ . + * | . + * v . + * +------------+ . + * | ReactEvent | . + * | Listener | . + * +------------+ . +-----------+ + * | . +--------+|SimpleEvent| + * | . | |Plugin | + * +-----|------+ . v +-----------+ + * | | | . +--------------+ +------------+ + * | +-----------.--->|EventPluginHub| | Event | + * | | . | | +-----------+ | Propagators| + * | ReactEvent | . | | |TapEvent | |------------| + * | Emitter | . | |<---+|Plugin | |other plugin| + * | | . | | +-----------+ | utilities | + * | +-----------.--->| | +------------+ + * | | | . +--------------+ + * +-----|------+ . ^ +-----------+ + * | . | |Enter/Leave| + * + . +-------+|Plugin | + * +-------------+ . +-----------+ + * | application | . + * |-------------| . + * | | . + * | | . + * +-------------+ . + * . + * React Core . General Purpose Event Plugin System + */ + + var hasEventPageXY; + var alreadyListeningTo = {}; + var isMonitoringScrollValue = false; + var reactTopListenersCounter = 0; + + // For events like 'submit' which don't consistently bubble (which we trap at a + // lower node than `document`), binding at `document` would cause duplicate + // events so we don't include them here + var topEventMapping = { + topAbort: 'abort', + topAnimationEnd: getVendorPrefixedEventName('animationend') || 'animationend', + topAnimationIteration: getVendorPrefixedEventName('animationiteration') || 'animationiteration', + topAnimationStart: getVendorPrefixedEventName('animationstart') || 'animationstart', + topBlur: 'blur', + topCanPlay: 'canplay', + topCanPlayThrough: 'canplaythrough', + topChange: 'change', + topClick: 'click', + topCompositionEnd: 'compositionend', + topCompositionStart: 'compositionstart', + topCompositionUpdate: 'compositionupdate', + topContextMenu: 'contextmenu', + topCopy: 'copy', + topCut: 'cut', + topDoubleClick: 'dblclick', + topDrag: 'drag', + topDragEnd: 'dragend', + topDragEnter: 'dragenter', + topDragExit: 'dragexit', + topDragLeave: 'dragleave', + topDragOver: 'dragover', + topDragStart: 'dragstart', + topDrop: 'drop', + topDurationChange: 'durationchange', + topEmptied: 'emptied', + topEncrypted: 'encrypted', + topEnded: 'ended', + topError: 'error', + topFocus: 'focus', + topInput: 'input', + topKeyDown: 'keydown', + topKeyPress: 'keypress', + topKeyUp: 'keyup', + topLoadedData: 'loadeddata', + topLoadedMetadata: 'loadedmetadata', + topLoadStart: 'loadstart', + topMouseDown: 'mousedown', + topMouseMove: 'mousemove', + topMouseOut: 'mouseout', + topMouseOver: 'mouseover', + topMouseUp: 'mouseup', + topPaste: 'paste', + topPause: 'pause', + topPlay: 'play', + topPlaying: 'playing', + topProgress: 'progress', + topRateChange: 'ratechange', + topScroll: 'scroll', + topSeeked: 'seeked', + topSeeking: 'seeking', + topSelectionChange: 'selectionchange', + topStalled: 'stalled', + topSuspend: 'suspend', + topTextInput: 'textInput', + topTimeUpdate: 'timeupdate', + topTouchCancel: 'touchcancel', + topTouchEnd: 'touchend', + topTouchMove: 'touchmove', + topTouchStart: 'touchstart', + topTransitionEnd: getVendorPrefixedEventName('transitionend') || 'transitionend', + topVolumeChange: 'volumechange', + topWaiting: 'waiting', + topWheel: 'wheel' + }; + + /** + * To ensure no conflicts with other potential React instances on the page + */ + var topListenersIDKey = '_reactListenersID' + String(Math.random()).slice(2); + + function getListeningForDocument(mountAt) { + // In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty` + // directly. + if (!Object.prototype.hasOwnProperty.call(mountAt, topListenersIDKey)) { + mountAt[topListenersIDKey] = reactTopListenersCounter++; + alreadyListeningTo[mountAt[topListenersIDKey]] = {}; + } + return alreadyListeningTo[mountAt[topListenersIDKey]]; + } + + /** + * `ReactBrowserEventEmitter` is used to attach top-level event listeners. For + * example: + * + * EventPluginHub.putListener('myID', 'onClick', myFunction); + * + * This would allocate a "registration" of `('onClick', myFunction)` on 'myID'. + * + * @internal + */ + var ReactBrowserEventEmitter = _assign({}, ReactEventEmitterMixin, { + + /** + * Injectable event backend + */ + ReactEventListener: null, + + injection: { + /** + * @param {object} ReactEventListener + */ + injectReactEventListener: function injectReactEventListener(ReactEventListener) { + ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel); + ReactBrowserEventEmitter.ReactEventListener = ReactEventListener; + } + }, + + /** + * Sets whether or not any created callbacks should be enabled. + * + * @param {boolean} enabled True if callbacks should be enabled. + */ + setEnabled: function setEnabled(enabled) { + if (ReactBrowserEventEmitter.ReactEventListener) { + ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled); + } + }, + + /** + * @return {boolean} True if callbacks are enabled. + */ + isEnabled: function isEnabled() { + return !!(ReactBrowserEventEmitter.ReactEventListener && ReactBrowserEventEmitter.ReactEventListener.isEnabled()); + }, + + /** + * We listen for bubbled touch events on the document object. + * + * Firefox v8.01 (and possibly others) exhibited strange behavior when + * mounting `onmousemove` events at some node that was not the document + * element. The symptoms were that if your mouse is not moving over something + * contained within that mount point (for example on the background) the + * top-level listeners for `onmousemove` won't be called. However, if you + * register the `mousemove` on the document object, then it will of course + * catch all `mousemove`s. This along with iOS quirks, justifies restricting + * top-level listeners to the document object only, at least for these + * movement types of events and possibly all events. + * + * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html + * + * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but + * they bubble to document. + * + * @param {string} registrationName Name of listener (e.g. `onClick`). + * @param {object} contentDocumentHandle Document which owns the container + */ + listenTo: function listenTo(registrationName, contentDocumentHandle) { + var mountAt = contentDocumentHandle; + var isListening = getListeningForDocument(mountAt); + var dependencies = EventPluginRegistry.registrationNameDependencies[registrationName]; + + for (var i = 0; i < dependencies.length; i++) { + var dependency = dependencies[i]; + if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) { + if (dependency === 'topWheel') { + if (isEventSupported('wheel')) { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'wheel', mountAt); + } else if (isEventSupported('mousewheel')) { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'mousewheel', mountAt); + } else { + // Firefox needs to capture a different mouse scroll event. + // @see http://www.quirksmode.org/dom/events/tests/scroll.html + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'DOMMouseScroll', mountAt); + } + } else if (dependency === 'topScroll') { + + if (isEventSupported('scroll', true)) { + ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topScroll', 'scroll', mountAt); + } else { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topScroll', 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE); + } + } else if (dependency === 'topFocus' || dependency === 'topBlur') { + + if (isEventSupported('focus', true)) { + ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topFocus', 'focus', mountAt); + ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topBlur', 'blur', mountAt); + } else if (isEventSupported('focusin')) { + // IE has `focusin` and `focusout` events which bubble. + // @see http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topFocus', 'focusin', mountAt); + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topBlur', 'focusout', mountAt); + } + + // to make sure blur and focus event listeners are only attached once + isListening.topBlur = true; + isListening.topFocus = true; + } else if (topEventMapping.hasOwnProperty(dependency)) { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(dependency, topEventMapping[dependency], mountAt); + } + + isListening[dependency] = true; + } + } + }, + + trapBubbledEvent: function trapBubbledEvent(topLevelType, handlerBaseName, handle) { + return ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelType, handlerBaseName, handle); + }, + + trapCapturedEvent: function trapCapturedEvent(topLevelType, handlerBaseName, handle) { + return ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelType, handlerBaseName, handle); + }, + + /** + * Protect against document.createEvent() returning null + * Some popup blocker extensions appear to do this: + * https://github.com/facebook/react/issues/6887 + */ + supportsEventPageXY: function supportsEventPageXY() { + if (!document.createEvent) { + return false; + } + var ev = document.createEvent('MouseEvent'); + return ev != null && 'pageX' in ev; + }, + + /** + * Listens to window scroll and resize events. We cache scroll values so that + * application code can access them without triggering reflows. + * + * ViewportMetrics is only used by SyntheticMouse/TouchEvent and only when + * pageX/pageY isn't supported (legacy browsers). + * + * NOTE: Scroll events do not bubble. + * + * @see http://www.quirksmode.org/dom/events/scroll.html + */ + ensureScrollValueMonitoring: function ensureScrollValueMonitoring() { + if (hasEventPageXY === undefined) { + hasEventPageXY = ReactBrowserEventEmitter.supportsEventPageXY(); + } + if (!hasEventPageXY && !isMonitoringScrollValue) { + var refresh = ViewportMetrics.refreshScrollValues; + ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh); + isMonitoringScrollValue = true; + } + } + + }); + + module.exports = ReactBrowserEventEmitter; + +/***/ }, +/* 48 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticUIEvent = __webpack_require__(44); + var ViewportMetrics = __webpack_require__(109); + + var getEventModifierState = __webpack_require__(69); + + /** + * @interface MouseEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ + var MouseEventInterface = { + screenX: null, + screenY: null, + clientX: null, + clientY: null, + ctrlKey: null, + shiftKey: null, + altKey: null, + metaKey: null, + getModifierState: getEventModifierState, + button: function button(event) { + // Webkit, Firefox, IE9+ + // which: 1 2 3 + // button: 0 1 2 (standard) + var button = event.button; + if ('which' in event) { + return button; + } + // IE<9 + // which: undefined + // button: 0 0 0 + // button: 1 4 2 (onmouseup) + return button === 2 ? 2 : button === 4 ? 1 : 0; + }, + buttons: null, + relatedTarget: function relatedTarget(event) { + return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement); + }, + // "Proprietary" Interface. + pageX: function pageX(event) { + return 'pageX' in event ? event.pageX : event.clientX + ViewportMetrics.currentScrollLeft; + }, + pageY: function pageY(event) { + return 'pageY' in event ? event.pageY : event.clientY + ViewportMetrics.currentScrollTop; + } + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ + function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface); + + module.exports = SyntheticMouseEvent; + +/***/ }, +/* 49 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(3); + + var OBSERVED_ERROR = {}; + + /** + * `Transaction` creates a black box that is able to wrap any method such that + * certain invariants are maintained before and after the method is invoked + * (Even if an exception is thrown while invoking the wrapped method). Whoever + * instantiates a transaction can provide enforcers of the invariants at + * creation time. The `Transaction` class itself will supply one additional + * automatic invariant for you - the invariant that any transaction instance + * should not be run while it is already being run. You would typically create a + * single instance of a `Transaction` for reuse multiple times, that potentially + * is used to wrap several different methods. Wrappers are extremely simple - + * they only require implementing two methods. + * + *
+	 *                       wrappers (injected at creation time)
+	 *                                      +        +
+	 *                                      |        |
+	 *                    +-----------------|--------|--------------+
+	 *                    |                 v        |              |
+	 *                    |      +---------------+   |              |
+	 *                    |   +--|    wrapper1   |---|----+         |
+	 *                    |   |  +---------------+   v    |         |
+	 *                    |   |          +-------------+  |         |
+	 *                    |   |     +----|   wrapper2  |--------+   |
+	 *                    |   |     |    +-------------+  |     |   |
+	 *                    |   |     |                     |     |   |
+	 *                    |   v     v                     v     v   | wrapper
+	 *                    | +---+ +---+   +---------+   +---+ +---+ | invariants
+	 * perform(anyMethod) | |   | |   |   |         |   |   | |   | | maintained
+	 * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->
+	 *                    | |   | |   |   |         |   |   | |   | |
+	 *                    | |   | |   |   |         |   |   | |   | |
+	 *                    | |   | |   |   |         |   |   | |   | |
+	 *                    | +---+ +---+   +---------+   +---+ +---+ |
+	 *                    |  initialize                    close    |
+	 *                    +-----------------------------------------+
+	 * 
+ * + * Use cases: + * - Preserving the input selection ranges before/after reconciliation. + * Restoring selection even in the event of an unexpected error. + * - Deactivating events while rearranging the DOM, preventing blurs/focuses, + * while guaranteeing that afterwards, the event system is reactivated. + * - Flushing a queue of collected DOM mutations to the main UI thread after a + * reconciliation takes place in a worker thread. + * - Invoking any collected `componentDidUpdate` callbacks after rendering new + * content. + * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue + * to preserve the `scrollTop` (an automatic scroll aware DOM). + * - (Future use case): Layout calculations before and after DOM updates. + * + * Transactional plugin API: + * - A module that has an `initialize` method that returns any precomputation. + * - and a `close` method that accepts the precomputation. `close` is invoked + * when the wrapped process is completed, or has failed. + * + * @param {Array} transactionWrapper Wrapper modules + * that implement `initialize` and `close`. + * @return {Transaction} Single transaction for reuse in thread. + * + * @class Transaction + */ + var TransactionImpl = { + /** + * Sets up this instance so that it is prepared for collecting metrics. Does + * so such that this setup method may be used on an instance that is already + * initialized, in a way that does not consume additional memory upon reuse. + * That can be useful if you decide to make your subclass of this mixin a + * "PooledClass". + */ + reinitializeTransaction: function reinitializeTransaction() { + this.transactionWrappers = this.getTransactionWrappers(); + if (this.wrapperInitData) { + this.wrapperInitData.length = 0; + } else { + this.wrapperInitData = []; + } + this._isInTransaction = false; + }, + + _isInTransaction: false, + + /** + * @abstract + * @return {Array} Array of transaction wrappers. + */ + getTransactionWrappers: null, + + isInTransaction: function isInTransaction() { + return !!this._isInTransaction; + }, + + /** + * Executes the function within a safety window. Use this for the top level + * methods that result in large amounts of computation/mutations that would + * need to be safety checked. The optional arguments helps prevent the need + * to bind in many cases. + * + * @param {function} method Member of scope to call. + * @param {Object} scope Scope to invoke from. + * @param {Object?=} a Argument to pass to the method. + * @param {Object?=} b Argument to pass to the method. + * @param {Object?=} c Argument to pass to the method. + * @param {Object?=} d Argument to pass to the method. + * @param {Object?=} e Argument to pass to the method. + * @param {Object?=} f Argument to pass to the method. + * + * @return {*} Return value from `method`. + */ + perform: function perform(method, scope, a, b, c, d, e, f) { + !!this.isInTransaction() ? false ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.') : _prodInvariant('27') : void 0; + var errorThrown; + var ret; + try { + this._isInTransaction = true; + // Catching errors makes debugging more difficult, so we start with + // errorThrown set to true before setting it to false after calling + // close -- if it's still set to true in the finally block, it means + // one of these calls threw. + errorThrown = true; + this.initializeAll(0); + ret = method.call(scope, a, b, c, d, e, f); + errorThrown = false; + } finally { + try { + if (errorThrown) { + // If `method` throws, prefer to show that stack trace over any thrown + // by invoking `closeAll`. + try { + this.closeAll(0); + } catch (err) {} + } else { + // Since `method` didn't throw, we don't want to silence the exception + // here. + this.closeAll(0); + } + } finally { + this._isInTransaction = false; + } + } + return ret; + }, + + initializeAll: function initializeAll(startIndex) { + var transactionWrappers = this.transactionWrappers; + for (var i = startIndex; i < transactionWrappers.length; i++) { + var wrapper = transactionWrappers[i]; + try { + // Catching errors makes debugging more difficult, so we start with the + // OBSERVED_ERROR state before overwriting it with the real return value + // of initialize -- if it's still set to OBSERVED_ERROR in the finally + // block, it means wrapper.initialize threw. + this.wrapperInitData[i] = OBSERVED_ERROR; + this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null; + } finally { + if (this.wrapperInitData[i] === OBSERVED_ERROR) { + // The initializer for wrapper i threw an error; initialize the + // remaining wrappers but silence any exceptions from them to ensure + // that the first error is the one to bubble up. + try { + this.initializeAll(i + 1); + } catch (err) {} + } + } + } + }, + + /** + * Invokes each of `this.transactionWrappers.close[i]` functions, passing into + * them the respective return values of `this.transactionWrappers.init[i]` + * (`close`rs that correspond to initializers that failed will not be + * invoked). + */ + closeAll: function closeAll(startIndex) { + !this.isInTransaction() ? false ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : _prodInvariant('28') : void 0; + var transactionWrappers = this.transactionWrappers; + for (var i = startIndex; i < transactionWrappers.length; i++) { + var wrapper = transactionWrappers[i]; + var initData = this.wrapperInitData[i]; + var errorThrown; + try { + // Catching errors makes debugging more difficult, so we start with + // errorThrown set to true before setting it to false after calling + // close -- if it's still set to true in the finally block, it means + // wrapper.close threw. + errorThrown = true; + if (initData !== OBSERVED_ERROR && wrapper.close) { + wrapper.close.call(this, initData); + } + errorThrown = false; + } finally { + if (errorThrown) { + // The closer for wrapper i threw an error; close the remaining + // wrappers but silence any exceptions from them to ensure that the + // first error is the one to bubble up. + try { + this.closeAll(i + 1); + } catch (e) {} + } + } + } + this.wrapperInitData.length = 0; + } + }; + + module.exports = TransactionImpl; + +/***/ }, +/* 50 */ +/***/ function(module, exports) { + + /** + * Copyright 2016-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * Based on the escape-html library, which is used under the MIT License below: + * + * Copyright (c) 2012-2013 TJ Holowaychuk + * Copyright (c) 2015 Andreas Lubbe + * Copyright (c) 2015 Tiancheng "Timothy" Gu + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * 'Software'), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + */ + + 'use strict'; + + // code copied and modified from escape-html + /** + * Module variables. + * @private + */ + + var matchHtmlRegExp = /["'&<>]/; + + /** + * Escape special characters in the given string of html. + * + * @param {string} string The string to escape for inserting into HTML + * @return {string} + * @public + */ + + function escapeHtml(string) { + var str = '' + string; + var match = matchHtmlRegExp.exec(str); + + if (!match) { + return str; + } + + var escape; + var html = ''; + var index = 0; + var lastIndex = 0; + + for (index = match.index; index < str.length; index++) { + switch (str.charCodeAt(index)) { + case 34: + // " + escape = '"'; + break; + case 38: + // & + escape = '&'; + break; + case 39: + // ' + escape = '''; // modified from escape-html; used to be ''' + break; + case 60: + // < + escape = '<'; + break; + case 62: + // > + escape = '>'; + break; + default: + continue; + } + + if (lastIndex !== index) { + html += str.substring(lastIndex, index); + } + + lastIndex = index + 1; + html += escape; + } + + return lastIndex !== index ? html + str.substring(lastIndex, index) : html; + } + // end code copied and modified from escape-html + + + /** + * Escapes text to prevent scripting attacks. + * + * @param {*} text Text value to escape. + * @return {string} An escaped string. + */ + function escapeTextContentForBrowser(text) { + if (typeof text === 'boolean' || typeof text === 'number') { + // this shortcircuit helps perf for types that we know will never have + // special characters, especially given that this function is used often + // for numeric dom ids. + return '' + text; + } + return escapeHtml(text); + } + + module.exports = escapeTextContentForBrowser; + +/***/ }, +/* 51 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(10); + var DOMNamespaces = __webpack_require__(59); + + var WHITESPACE_TEST = /^[ \r\n\t\f]/; + var NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/; + + var createMicrosoftUnsafeLocalFunction = __webpack_require__(67); + + // SVG temp container for IE lacking innerHTML + var reusableSVGContainer; + + /** + * Set the innerHTML property of a node, ensuring that whitespace is preserved + * even in IE8. + * + * @param {DOMElement} node + * @param {string} html + * @internal + */ + var setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) { + // IE does not have innerHTML for SVG nodes, so instead we inject the + // new markup in a temp node and then move the child nodes across into + // the target node + if (node.namespaceURI === DOMNamespaces.svg && !('innerHTML' in node)) { + reusableSVGContainer = reusableSVGContainer || document.createElement('div'); + reusableSVGContainer.innerHTML = '' + html + ''; + var svgNode = reusableSVGContainer.firstChild; + while (svgNode.firstChild) { + node.appendChild(svgNode.firstChild); + } + } else { + node.innerHTML = html; + } + }); + + if (ExecutionEnvironment.canUseDOM) { + // IE8: When updating a just created node with innerHTML only leading + // whitespace is removed. When updating an existing node with innerHTML + // whitespace in root TextNodes is also collapsed. + // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html + + // Feature detection; only IE8 is known to behave improperly like this. + var testElement = document.createElement('div'); + testElement.innerHTML = ' '; + if (testElement.innerHTML === '') { + setInnerHTML = function setInnerHTML(node, html) { + // Magic theory: IE8 supposedly differentiates between added and updated + // nodes when processing innerHTML, innerHTML on updated nodes suffers + // from worse whitespace behavior. Re-adding a node like this triggers + // the initial and more favorable whitespace behavior. + // TODO: What to do on a detached node? + if (node.parentNode) { + node.parentNode.replaceChild(node, node); + } + + // We also implement a workaround for non-visible tags disappearing into + // thin air on IE8, this only happens if there is no visible text + // in-front of the non-visible tags. Piggyback on the whitespace fix + // and simply check if any non-visible tags appear in the source. + if (WHITESPACE_TEST.test(html) || html[0] === '<' && NONVISIBLE_TEST.test(html)) { + // Recover leading whitespace by temporarily prepending any character. + // \uFEFF has the potential advantage of being zero-width/invisible. + // UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode + // in hopes that this is preserved even if "\uFEFF" is transformed to + // the actual Unicode character (by Babel, for example). + // https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216 + node.innerHTML = String.fromCharCode(0xFEFF) + html; + + // deleteData leaves an empty `TextNode` which offsets the index of all + // children. Definitely want to avoid this. + var textNode = node.firstChild; + if (textNode.data.length === 1) { + node.removeChild(textNode); + } else { + textNode.deleteData(0, 1); + } + } else { + node.innerHTML = html; + } + }; + } + testElement = null; + } + + module.exports = setInnerHTML; + +/***/ }, +/* 52 */ +19, +/* 53 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _auth0Js = __webpack_require__(56); + + var _auth0Js2 = _interopRequireDefault(_auth0Js); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + var Auth0WebAPI = function () { + function Auth0WebAPI() { + _classCallCheck(this, Auth0WebAPI); + + this.clients = {}; + this.authOpts = {}; + this.authParams = {}; + } + + Auth0WebAPI.prototype.setupClient = function setupClient(lockID, clientID, domain, opts) { + this.clients[lockID] = new _auth0Js2.default({ + clientID: clientID, + domain: domain, + sendSDKClientInfo: true, + forceJSONP: false, + callbackURL: opts.redirectUrl, + responseMode: opts.responseMode, + responseType: opts.responseType, + __tenant: opts.overrides && opts.overrides.__tenant, + __token_issuer: opts.overrides && opts.overrides.__token_issuer + }); + + this.authOpts[lockID] = { + popup: !opts.redirect, + popupOptions: opts.popupOptions, + sso: opts.sso + }; + }; + + Auth0WebAPI.prototype.logIn = function logIn(lockID, options, authParams, cb) { + // TODO: for passwordless only, try to clean in auth0.js + // client._shouldRedirect = redirect || responseType === "code" || !!redirectUrl; + var authOpts = this.authOpts[lockID]; + var f = loginCallback(!authOpts.popup, cb); + var client = this.clients[lockID]; + client.login(_extends({}, options, authOpts, authParams), f); + }; + + Auth0WebAPI.prototype.signOut = function signOut(lockID, query) { + this.clients[lockID].logout(query); + }; + + Auth0WebAPI.prototype.signUp = function signUp(lockID, options, cb) { + var client = this.clients[lockID]; + var _authOpts$lockID = this.authOpts[lockID], + popup = _authOpts$lockID.popup, + sso = _authOpts$lockID.sso; + var autoLogin = options.autoLogin; + + delete options.autoLogin; + + // TODO: investigate why can't we just delegate to auth0.js the + // automatic login (error handling maybe?). + + // When needed, open popup for sso login immediately, otherwise it + // may be blocked by the browser. + var win = void 0; + if (autoLogin && popup && sso) { + win = client._buildPopupWindow({}); + } + + // Never allow automatic login and disable popup (since it is only + // needed when auth0.js handles the automatic login). + options.auto_login = false; + options.popup = false; + + // Also, wrap callback in a function that closes the popup. + var f = function f(error) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + if (error && win) { + win.kill(); + } + + cb.apply(undefined, [error].concat(args)); + }; + + client.signup(options, f); + }; + + Auth0WebAPI.prototype.resetPassword = function resetPassword(lockID, options, cb) { + this.clients[lockID].changePassword(options, cb); + }; + + Auth0WebAPI.prototype.startPasswordless = function startPasswordless(lockID, options, cb) { + var client = this.clients[lockID]; + client.startPasswordless(options, function (err) { + return cb(normalizeError(err)); + }); + }; + + Auth0WebAPI.prototype.parseHash = function parseHash(lockID) { + var hash = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + + return this.clients[lockID].parseHash(decodeURIComponent(hash)); + }; + + Auth0WebAPI.prototype.getProfile = function getProfile(lockID, token, callback) { + return this.clients[lockID].getProfile(token, callback); + }; + + Auth0WebAPI.prototype.getUserInfo = function getUserInfo(lockID, token, callback) { + return this.clients[lockID].getUserInfo(token, callback); + }; + + Auth0WebAPI.prototype.getSSOData = function getSSOData(lockID) { + var _clients$lockID; + + for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + args[_key2 - 1] = arguments[_key2]; + } + + return (_clients$lockID = this.clients[lockID]).getSSOData.apply(_clients$lockID, args); + }; + + Auth0WebAPI.prototype.getUserCountry = function getUserCountry(lockID, cb) { + return this.clients[lockID].getUserCountry(cb); + }; + + return Auth0WebAPI; + }(); + + exports.default = new Auth0WebAPI(); + + + function normalizeError(error) { + if (!error) { + return error; + } + + // TODO: clean this mess, the first checks are for social/popup, + // then we have some stuff for passwordless and the latter is for + // db. + + // TODO: the following checks were copied from https://github.com/auth0/lock/blob/0a5abf1957c9bb746b0710b274d0feed9b399958/index.js#L1263-L1288 + // Some of the checks are missing because I couldn't reproduce them and I'm + // affraid they'll break existent functionality if add them. + // We need a better errror handling story in auth0.js. + + if (error.status === "User closed the popup window") { + // { + // status: "User closed the popup window", + // name: undefined, + // code: undefined, + // details: { + // description: "server error", + // code: undefined + // } + // } + return { + code: "lock.popup_closed", + error: "lock.popup_closed", + description: "Popup window closed." + }; + } + + if (error.code === "unauthorized") { + + // Custom rule error + // + // { + // "code": "unauthorized", + // "details": { + // "code": "unauthorized", + // "error_description": "user is blocked", + // "error": "unauthorized" + // }, + // "name": "unauthorized", + // "status": 401 + // } + + // Default "user is blocked" rule error + // + // { + // "code": "unauthorized", + // "details": { + // "code": "unauthorized", + // "error_description": "user is blocked", + // "error": "unauthorized" + // }, + // "name": "unauthorized", + // "status": 401 + // } + + // Social cancel permissions. + // + // { + // code: "unauthorized", + // details: { + // code: "unauthorized" + // error: "unauthorized" + // error_description: "access_denied" + // }, + // name: "unauthorized" + // status: 401 + // } + + // Social cancel permissions or unknown error + if (!error.details || !error.details.error_description || error.details.error_description === "access_denied") { + + return { + code: "lock.unauthorized", + error: "lock.unauthorized", + description: error.details && error.details.error_description || "Permissions were not granted." + }; + } + + // Special case for custom rule error + if (error.details.error_description === "user is blocked") { + return { + code: "blocked_user", + error: "blocked_user", + description: error.details.error_description + }; + } + + // Custom Rule error + return { + code: "rule_error", + error: "rule_error", + description: error.details.error_description + }; + } + + var result = { + error: error.details ? error.details.error : error.code || error.statusCode || error.error, + description: error.details ? error.details.error_description : error.error_description || error.description || error.error + }; + + // result is used for passwordless and error for database. + return result.error === undefined && result.description === undefined ? error : result; + } + + function loginCallback(redirect, cb) { + return redirect ? function (error) { + return cb(normalizeError(error)); + } : function (error, result) { + return cb(normalizeError(error), result); + }; + } + +/***/ }, +/* 54 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.skipQuickAuth = skipQuickAuth; + exports.logIn = logIn; + + var _quick_auth = __webpack_require__(141); + + var _index = __webpack_require__(12); + + var _actions = __webpack_require__(24); + + var _index2 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index2); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function skipQuickAuth(id) { + (0, _index.swap)(_index.updateEntity, "lock", id, _quick_auth.skipQuickAuth, true); + } + + function logIn(id, connection, loginHint) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + var connectionScopes = l.auth.connectionScopes(m); + var scopes = connectionScopes.get(connection.get("name")); + var params = { + connection: connection.get("name"), + connection_scope: scopes ? scopes.toJS() : [] + }; + + if (!l.auth.redirect(m) && connection.get("strategy") === "facebook") { + params.display = "popup"; + } + if (loginHint) { + params.login_hint = loginHint; + } + (0, _actions.logIn)(id, [], params); + } + +/***/ }, +/* 55 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.BackButton = exports.CloseButton = undefined; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var svgs = { + back: ' ', + close: '' + }; + + var IconButton = function IconButton(_ref) { + var name = _ref.name, + _onClick = _ref.onClick, + svg = _ref.svg; + return _react2.default.createElement('span', { + className: 'auth0-lock-' + name + '-button', + dangerouslySetInnerHTML: { __html: svg }, + onClick: function onClick(e) { + e.preventDefault();_onClick(); + } + }); + }; + + IconButton.propTypes = { + name: _react2.default.PropTypes.string.isRequired, + onClick: _react2.default.PropTypes.func.isRequired, + svg: _react2.default.PropTypes.string.isRequired + }; + + // const createButton = name => { + // const f = ({onClick}) => ( + // + // ); + // f.displayName = `IconButton (${name})`; + // f.propTypes = { onClick: React.PropTypes.func.isRequired }; + // + // return f; + // }; + // + // export const CloseButton = createButton("close"); + // export const BackButton = createButton("back"); + + + var CloseButton = exports.CloseButton = function CloseButton(_ref2) { + var onClick = _ref2.onClick; + return _react2.default.createElement(IconButton, { name: 'close', svg: svgs["close"], onClick: onClick }); + }; + + CloseButton.propTypes = { + onClick: _react2.default.PropTypes.func.isRequired + }; + + var BackButton = exports.BackButton = function BackButton(_ref3) { + var onClick = _ref3.onClick; + return _react2.default.createElement(IconButton, { name: 'back', svg: svgs["back"], onClick: onClick }); + }; + + BackButton.propTypes = { + onClick: _react2.default.PropTypes.func.isRequired + }; + +/***/ }, +/* 56 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + /** + * Module dependencies. + */ + + var Base64Url = __webpack_require__(151); + var assert_required = __webpack_require__(150); + var is_array = __webpack_require__(153); + var index_of = __webpack_require__(152); + var nonceGenerator = __webpack_require__(154); + + var qs = __webpack_require__(163); + var xtend = __webpack_require__(169); + var trim = __webpack_require__(25); + var reqwest = __webpack_require__(166); + var WinChan = __webpack_require__(167); + + var jsonp = __webpack_require__(159); + var jsonpOpts = { param: 'cbx', timeout: 8000, prefix: '__auth0jp' }; + + var same_origin = __webpack_require__(155); + var json_parse = __webpack_require__(92); + var LoginError = __webpack_require__(148); + var use_jsonp = __webpack_require__(156); + + var SilentAuthenticationHandler = __webpack_require__(149); + + /** + * Check if running in IE. + * + * @returns {Number} -1 if not IE, IE version otherwise. + */ + function isInternetExplorer() { + var rv = -1; // Return value assumes failure. + var ua = navigator.userAgent; + var re; + if (navigator.appName === 'Microsoft Internet Explorer') { + re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})'); + if (re.exec(ua) != null) { + rv = parseFloat(RegExp.$1); + } + } + // IE > 11 + else if (ua.indexOf('Trident') > -1) { + re = new RegExp('rv:([0-9]{2,2}[\.0-9]{0,})'); + if (re.exec(ua) !== null) { + rv = parseFloat(RegExp.$1); + } + } + + return rv; + } + + /** + * Stringify popup options object into + * `window.open` string options format + * + * @param {Object} popupOptions + * @private + */ + + function stringifyPopupSettings(popupOptions) { + var settings = ''; + + for (var key in popupOptions) { + settings += key + '=' + popupOptions[key] + ','; + } + + return settings.slice(0, -1); + } + + /** + * Check that a key has been set to something different than null + * or undefined. + * + * @param {Object} obj + * @param {String} key + */ + function checkIfSet(obj, key) { + /* + * false != null -> true + * true != null -> true + * undefined != null -> false + * null != null -> false + */ + return !!(obj && obj[key] != null); + } + + function handleRequestError(err, callback) { + var status = err.status; + var responseText = 'string' === typeof err.responseText ? err.responseText : err; + + var isAffectedIEVersion = isInternetExplorer() === 10 || isInternetExplorer() === 11; + var zeroStatus = !status || status === 0; + + var onLine = !!window.navigator.onLine; + + // Request failed because we are offline. + if (zeroStatus && !onLine) { + status = 0; + responseText = { + code: 'offline' + }; + // http://stackoverflow.com/questions/23229723/ie-10-11-cors-status-0 + // XXX IE10 when a request fails in CORS returns status code 0 + // See: http://caniuse.com/#search=navigator.onLine + } else if (zeroStatus && isAffectedIEVersion) { + status = 401; + responseText = { + code: 'invalid_user_password' + }; + // If not IE10/11 and not offline it means that Auth0 host is unreachable: + // Connection Timeout or Connection Refused. + } else if (zeroStatus) { + status = 0; + responseText = { + code: 'connection_refused_timeout' + }; + } + + var error = new LoginError(status, responseText); + callback(error); + } + + /** + * join url from protocol + */ + + function joinUrl(protocol, domain, endpoint) { + return protocol + '//' + domain + endpoint; + } + + /** + * Create an `Auth0` instance with `options` + * + * @class Auth0 + * @constructor + */ + function Auth0(options) { + // XXX Deprecated: We prefer new Auth0(...) + if (!(this instanceof Auth0)) { + return new Auth0(options); + } + + assert_required(options, 'clientID'); + assert_required(options, 'domain'); + + this._useJSONP = null != options.forceJSONP ? !!options.forceJSONP : use_jsonp() && !same_origin('https:', options.domain); + + this._clientID = options.clientID; + this._callbackURL = options.callbackURL || document.location.href; + this._shouldRedirect = !!options.callbackURL; + this._domain = options.domain; + this._responseType = this._parseResponseType(options, true) || "code"; + this._responseMode = this._parseResponseMode(options, true); + this._cordovaSocialPlugins = { + facebook: this._phonegapFacebookLogin + }; + this._useCordovaSocialPlugins = false || options.useCordovaSocialPlugins; + this._sendClientInfo = null != options.sendSDKClientInfo ? options.sendSDKClientInfo : true; + + this._scope = options.scope || 'openid'; + this._audience = options.audience || null; + this._tenant = options.__tenant || this._domain.split('.')[0]; + this._token_issuer = options.__token_issuer || 'https://' + this._domain + '/'; + } + + /** + * Export version with `Auth0` constructor + * + * @property {String} version + */ + + Auth0.version = __webpack_require__(174).str; + + /** + * Export client info object + * + * + * @property {Hash} + */ + + Auth0.clientInfo = { name: 'auth0.js', version: Auth0.version }; + + /** + * Wraps calls to window.open so it can be overriden in Electron. + * + * In Electron, window.open returns an object which provides limited control + * over the opened window (see + * http://electron.atom.io/docs/v0.36.0/api/window-open/). + */ + Auth0.prototype.openWindow = function (url, name, options) { + return window.open(url, name, stringifyPopupSettings(options)); + }; + + /** + * Redirect current location to `url` + * + * @param {String} url + * @private + */ + + Auth0.prototype._redirect = function (url) { + global.window.location = url; + }; + + Auth0.prototype._getResponseType = function (opts) { + return this._parseResponseType(opts) || this._responseType; + }; + + Auth0.prototype._getCallbackOnLocationHash = function (options) { + return this._getResponseMode(options) !== "form_post" && this._getResponseType(options) !== "code"; + }; + + Auth0.prototype._getResponseMode = function (opts) { + var result = this._parseResponseMode(opts) || this._responseMode; + return result === "form_post" ? "form_post" : null; + }; + + Auth0.prototype._getCallbackURL = function (options) { + return options && typeof options.callbackURL !== 'undefined' ? options.callbackURL : this._callbackURL; + }; + + Auth0.prototype._getClientInfoString = function () { + var clientInfo = JSON.stringify(Auth0.clientInfo); + return Base64Url.encode(clientInfo); + }; + + Auth0.prototype._getClientInfoHeader = function () { + return this._sendClientInfo ? { 'Auth0-Client': this._getClientInfoString() } : {}; + }; + + /** + * Renders and submits a WSFed form + * + * @param {Object} options + * @param {Function} formHtml + * @private + */ + + Auth0.prototype._renderAndSubmitWSFedForm = function (options, formHtml) { + var div = document.createElement('div'); + div.innerHTML = formHtml; + var form = document.body.appendChild(div).children[0]; + + if (options.popup && !this._getCallbackOnLocationHash(options)) { + form.target = 'auth0_signup_popup'; + } + + form.submit(); + }; + + /** + * Resolve response type as `token` or `code` + * + * @return {Object} `scope` and `response_type` properties + * @private + */ + + Auth0.prototype._getMode = function (options) { + var result = { + scope: this._scope, + response_type: this._getResponseType(options) + }; + + var responseMode = this._getResponseMode(options); + if (responseMode) { + result.response_mode = responseMode; + } + + return result; + }; + + Auth0.prototype._configureOfflineMode = function (options) { + if (options.scope && options.scope.indexOf('offline_access') >= 0) { + options.device = options.device || 'Browser'; + } + }; + + /** + * Get user information from API + * + * @param {Object} profile + * @param {String} id_token + * @param {Function} callback + * @private + */ + + Auth0.prototype._getUserInfo = function (profile, id_token, callback) { + + warn("DEPRECATION NOTICE: This method will be soon deprecated, use `getUserInfo` instead."); + + if (!(profile && !profile.user_id)) { + return callback(null, profile); + } + + // the scope was just openid + var _this = this; + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/tokeninfo'; + var url = joinUrl(protocol, domain, endpoint); + + var fail = function fail(status, description) { + var error = new Error(status + ': ' + (description || '')); + + // These two properties are added for compatibility with old versions (no Error instance was returned) + error.error = status; + error.error_description = description; + + callback(error); + }; + + if (this._useJSONP) { + return jsonp(url + '?' + qs.stringify({ id_token: id_token }), jsonpOpts, function (err, resp) { + if (err) { + return fail(0, err.toString()); + } + + return resp.status === 200 ? callback(null, resp.user) : fail(resp.status, resp.err || resp.error); + }); + } + + return reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'json', + crossOrigin: !same_origin(protocol, domain), + data: { id_token: id_token } + }).fail(function (err) { + fail(err.status, err.responseText); + }).then(function (userinfo) { + callback(null, userinfo); + }); + }; + + /** + * Get user information from API + * + * @param {Object} profile + * @param {String} id_token + * @param {Function} callback + * @private + */ + + Auth0.prototype.getUserInfo = function (access_token, callback) { + + if ('function' !== typeof callback) { + throw new Error('A callback function is required'); + } + if (!access_token || typeof access_token !== 'string') { + return callback(new Error('Invalid token')); + } + + var _this = this; + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/userinfo'; + var url = joinUrl(protocol, domain, endpoint); + + var fail = function fail(status, description) { + var error = new Error(status + ': ' + (description || '')); + + // These two properties are added for compatibility with old versions (no Error instance was returned) + error.error = status; + error.error_description = description; + + callback(error); + }; + + return reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'json', + crossOrigin: !same_origin(protocol, domain), + headers: { + 'Authorization': 'Bearer ' + access_token + } + }).fail(function (err) { + fail(err.status, err.responseText); + }).then(function (userinfo) { + callback(null, userinfo); + }); + }; + + /** + * Get profile data by `id_token` + * + * @param {String} id_token + * @param {Function} callback + * @method getProfile + */ + + Auth0.prototype.getProfile = function (id_token, callback) { + if ('function' !== typeof callback) { + throw new Error('A callback function is required'); + } + if (!id_token || typeof id_token !== 'string') { + return callback(new Error('Invalid token')); + } + + this._getUserInfo(this.decodeJwt(id_token), id_token, callback); + }; + + /** + * Validate a user + * + * @param {Object} options + * @param {Function} callback + * @method validateUser + */ + + Auth0.prototype.validateUser = function (options, callback) { + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/public/api/users/validate_userpassword'; + var url = joinUrl(protocol, domain, endpoint); + + var query = xtend(options, { + client_id: this._clientID, + username: trim(options.username || options.email || '') + }); + + if (this._useJSONP) { + return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) { + if (err) { + return callback(err); + } + if ('error' in resp && resp.status !== 404) { + return callback(new Error(resp.error)); + } + callback(null, resp.status === 200); + }); + } + + reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'text', + data: query, + crossOrigin: !same_origin(protocol, domain), + error: function error(err) { + if (err.status !== 404) { + return callback(new Error(err.responseText)); + } + callback(null, false); + }, + success: function success(resp) { + callback(null, resp.status === 200); + } + }); + }; + + /** + * Decode Json Web Token + * + * @param {String} jwt + * @method decodeJwt + */ + + Auth0.prototype.decodeJwt = function (jwt) { + var encoded = jwt && jwt.split('.')[1]; + return json_parse(Base64Url.decode(encoded)); + }; + + /** + * Given the hash (or a query) of an URL returns a dictionary with only relevant + * authentication information. If succeeds it will return the following fields: + * `profile`, `id_token`, `access_token` and `state`. In case of error, it will + * return `error` and `error_description`. + * + * @method parseHash + * @param {String} [hash=window.location.hash] URL to be parsed + * @example + * var auth0 = new Auth0({...}); + * + * // Returns {profile: {** decoded id token **}, state: "good"} + * auth0.parseHash('#id_token=.....&state=good&foo=bar'); + * + * // Returns {error: "invalid_credentials", error_description: undefined} + * auth0.parseHash('#error=invalid_credentials'); + * + * // Returns {error: "invalid_credentials", error_description: undefined} + * auth0.parseHash('?error=invalid_credentials'); + * + */ + + Auth0.prototype.parseHash = function (hash, options) { + options = options || {}; + hash = hash || window.location.hash; + hash = hash.replace(/^#?\/?/, ''); + var parsed_qs = qs.parse(hash); + + if (parsed_qs.hasOwnProperty('error')) { + var err = { + error: parsed_qs.error, + error_description: parsed_qs.error_description + }; + + if (parsed_qs.state) { + err.state = parsed_qs.state; + } + + return err; + } + + if (!parsed_qs.hasOwnProperty('access_token') && !parsed_qs.hasOwnProperty('id_token') && !parsed_qs.hasOwnProperty('refresh_token')) { + return null; + } + + var prof; + + if (parsed_qs.id_token) { + var invalidJwt = function invalidJwt(error) { + var err = { + error: 'invalid_token', + error_description: error + }; + return err; + }; + + prof = this.decodeJwt(parsed_qs.id_token); + + // aud should be the clientID + var audiences = is_array(prof.aud) ? prof.aud : [prof.aud]; + if (index_of(audiences, this._clientID) === -1) { + return invalidJwt('The clientID configured (' + this._clientID + ') does not match with the clientID set in the token (' + audiences.join(', ') + ').'); + } + + // iss should be the Auth0 domain (i.e.: https://contoso.auth0.com/) + if (prof.iss && prof.iss !== this._token_issuer) { + return invalidJwt('The domain configured (' + this._token_issuer + ') does not match with the domain set in the token (' + prof.iss + ').'); + } + + var nonce; + + if (options.nonce) { + nonce = options.nonce; + } else if (window.localStorage) { + try { + nonce = window.localStorage.getItem('com.auth0.auth.nonce'); + window.localStorage.removeItem('com.auth0.auth.nonce'); + } catch (e) { + // will fail because nonce is undefined + } + } + + if ((nonce || prof.nonce) && prof.nonce !== nonce) { + return invalidJwt('The nonce does not match.'); + } + } + + return { + accessToken: parsed_qs.access_token, + idToken: parsed_qs.id_token, + idTokenPayload: prof, + refreshToken: parsed_qs.refresh_token, + state: parsed_qs.state + }; + }; + + /** + * Signup + * + * @param {Object} options Signup Options + * @param {String} email New user email + * @param {String} password New user password + * + * @param {Function} callback + * @method signup + */ + + Auth0.prototype.signup = function (options, callback) { + var _this = this; + + var opts = { + client_id: this._clientID, + redirect_uri: this._getCallbackURL(options), + email: trim(options.email || options.username || '') + }; + + if (typeof options.username === 'string') { + opts.username = trim(options.username); + } + + var query = xtend(this._getMode(options), options, opts); + + this._configureOfflineMode(query); + + // TODO Change this to a property named 'disableSSO' for consistency. + // By default, options.sso is true + if (!checkIfSet(options, 'sso')) { + options.sso = true; + } + + if (!checkIfSet(options, 'auto_login')) { + options.auto_login = true; + } + + var popup; + + var will_popup = options.auto_login && options.popup && (!this._getCallbackOnLocationHash(options) || options.sso); + + if (will_popup) { + popup = this._buildPopupWindow(options); + } + + function success() { + if (options.auto_login) { + return _this.login(options, callback); + } + + if ('function' === typeof callback) { + return callback(); + } + } + + function fail(status, resp) { + var error = new LoginError(status, resp); + + // when failed we want the popup closed if opened + if (popup && 'function' === typeof popup.kill) { + popup.kill(); + } + + if ('function' === typeof callback) { + return callback(error); + } + + throw error; + } + + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/dbconnections/signup'; + var url = joinUrl(protocol, domain, endpoint); + + if (this._useJSONP) { + return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) { + if (err) { + return fail(0, err); + } + + return resp.status == 200 ? success() : fail(resp.status, resp.err || resp.error); + }); + } + + reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'html', + data: query, + success: success, + crossOrigin: !same_origin(protocol, domain), + error: function error(err) { + fail(err.status, err.responseText); + } + }); + }; + + /** + * Change password + * + * @param {Object} options + * @param {Function} callback + * @method changePassword + */ + + Auth0.prototype.changePassword = function (options, callback) { + var query = { + client_id: this._clientID, + connection: options.connection, + email: trim(options.email || '') + }; + + if (typeof options.password === "string") { + query.password = options.password; + } + + function fail(status, resp) { + var error = new LoginError(status, resp); + if (callback) { + return callback(error); + } + } + + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/dbconnections/change_password'; + var url = joinUrl(protocol, domain, endpoint); + + if (this._useJSONP) { + return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) { + if (err) { + return fail(0, err); + } + return resp.status == 200 ? callback(null, resp.message) : fail(resp.status, resp.err || resp.error); + }); + } + + reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'html', + data: query, + crossOrigin: !same_origin(protocol, domain), + error: function error(err) { + fail(err.status, err.responseText); + }, + success: function success(r) { + callback(null, r); + } + }); + }; + + /** + * Builds query string to be passed to /authorize based on dict key and values. + * + * @param {Array} args + * @param {Array} blacklist + * @private + */ + + Auth0.prototype._buildAuthorizeQueryString = function (args, blacklist) { + var query = this._buildAuthorizationParameters(args, blacklist); + return qs.stringify(query); + }; + + /** + * Builds parameter dictionary to be passed to /authorize based on dict key and values. + * + * @param {Array} args + * @param {Array} blacklist + * @private + */ + + Auth0.prototype._buildAuthorizationParameters = function (args, blacklist) { + var query = xtend.apply(null, args); + + // Adds offline mode to the query + this._configureOfflineMode(query); + + // Adds client SDK information (when enabled) + if (this._sendClientInfo) query['auth0Client'] = this._getClientInfoString(); + + // Elements to filter from query string + blacklist = blacklist || ['popup', 'popupOptions']; + + var i, key; + + for (i = 0; i < blacklist.length; i++) { + key = blacklist[i]; + delete query[key]; + } + + if (query.connection_scope && is_array(query.connection_scope)) { + query.connection_scope = query.connection_scope.join(','); + } + + return query; + }; + + Auth0.prototype._buildAuthorizeUrl = function (options) { + var constructorOptions = {}; + + if (this._scope) { + constructorOptions.scope = this._scope; + } + + if (this._audience) { + constructorOptions.audience = this._audience; + } + + var qs = [this._getMode(options), constructorOptions, options, { + client_id: this._clientID, + redirect_uri: this._getCallbackURL(options) + }]; + + var query = this._buildAuthorizeQueryString(qs); + + return joinUrl('https:', this._domain, '/authorize?' + query); + }; + + /** + * Login user + * + * @param {Object} options + * @param {Function} callback + * @method login + */ + + Auth0.prototype.login = Auth0.prototype.signin = function (options, callback) { + // TODO Change this to a property named 'disableSSO' for consistency. + // By default, options.sso is true + if (!checkIfSet(options, 'sso')) { + options.sso = true; + } + + if (this._responseType.indexOf('id_token') > -1 && !options.nonce) { + if (typeof options.passcode === 'undefined' && ((typeof options.username !== 'undefined' || typeof options.email !== 'undefined') && !callback || typeof options.username === 'undefined' && typeof options.email === 'undefined')) { + + if (window.localStorage) { + var nonce = nonceGenerator.randomString(16); + if (nonce) { + try { + options.nonce = nonce; + window.localStorage.setItem('com.auth0.auth.nonce', nonce); + } catch (e) { + options.nonce = undefined; + } + } + } else { + throw new Error('Unable to generate and store nonce to request id_token. Please provide a nonce value via options'); + } + } + } + + if (typeof options.passcode !== 'undefined') { + return this.loginWithPasscode(options, callback); + } + + if (typeof options.username !== 'undefined' || typeof options.email !== 'undefined') { + return this.loginWithUsernamePassword(options, callback); + } + + if (!!window.cordova || !!window.electron) { + return this.loginPhonegap(options, callback); + } + + if (!!options.popup && this._getCallbackOnLocationHash(options)) { + return this.loginWithPopup(options, callback); + } + + if (!options.nonce && this._responseType.indexOf('id_token') > -1) { + throw new Error('nonce is mandatory'); + } + + this._authorize(options); + }; + + Auth0.prototype._authorize = function (options) { + var url = this._buildAuthorizeUrl(options); + + if (options.popup) { + this._buildPopupWindow(options, url); + } else { + this._redirect(url); + } + }; + + /** + * Compute `options.width` and `options.height` for the popup to + * open and return and extended object with optimal `top` and `left` + * position arguments for the popup windows + * + * @param {Object} options + * @private + */ + + Auth0.prototype._computePopupPosition = function (options) { + options = options || {}; + var width = options.width || 500; + var height = options.height || 600; + + var screenX = typeof window.screenX !== 'undefined' ? window.screenX : window.screenLeft; + var screenY = typeof window.screenY !== 'undefined' ? window.screenY : window.screenTop; + var outerWidth = typeof window.outerWidth !== 'undefined' ? window.outerWidth : document.body.clientWidth; + var outerHeight = typeof window.outerHeight !== 'undefined' ? window.outerHeight : document.body.clientHeight - 22; + // XXX: what is the 22? + + // Use `outerWidth - width` and `outerHeight - height` for help in + // positioning the popup centered relative to the current window + var left = screenX + (outerWidth - width) / 2; + var top = screenY + (outerHeight - height) / 2; + + return { width: width, height: height, left: left, top: top }; + }; + + /** + * loginPhonegap method is triggered when !!window.cordova is true. + * + * @method loginPhonegap + * @private + * @param {Object} options Login options. + * @param {Function} callback To be called after login happened. Callback arguments + * should be: + * function (err, profile, idToken, accessToken, state) + * + * @example + * var auth0 = new Auth0({ clientId: '...', domain: '...'}); + * + * auth0.signin({}, function (err, profile, idToken, accessToken, state) { + * if (err) { + * alert(err); + * return; + * } + * + * alert('Welcome ' + profile.name); + * }); + */ + + Auth0.prototype.loginPhonegap = function (options, callback) { + if (this._shouldAuthenticateWithCordovaPlugin(options.connection)) { + this._socialPhonegapLogin(options, callback); + return; + } + + var mobileCallbackURL = joinUrl('https:', this._domain, '/mobile'); + var _this = this; + var qs = [this._getMode(options), options, { + client_id: this._clientID, + redirect_uri: mobileCallbackURL + }]; + + if (this._sendClientInfo) { + qs.push({ auth0Client: this._getClientInfoString() }); + } + + var query = this._buildAuthorizeQueryString(qs); + + var popupUrl = joinUrl('https:', this._domain, '/authorize?' + query); + + var popupOptions = xtend({ location: 'yes' }, options.popupOptions); + + // This wasn't send before so we don't send it now either + delete popupOptions.width; + delete popupOptions.height; + + var ref = this.openWindow(popupUrl, '_blank', popupOptions); + var answered = false; + + function errorHandler(event) { + if (answered) { + return; + } + answered = true; + ref.close(); + callback(new Error(event.message), null); + } + + function startHandler(event) { + if (answered) { + return; + } + + if (event.url && !(event.url.indexOf(mobileCallbackURL + '#') === 0 || event.url.indexOf(mobileCallbackURL + '?') === 0)) { + return; + } + + var result = _this.parseHash(event.url.slice(mobileCallbackURL.length)); + + if (!result) { + answered = true; + ref.close(); + callback(new Error('Error parsing hash'), null); + return; + } + + if (result.idToken) { + answered = true; + ref.close(); + callback(null, result); + return; + } + + // Case where we've found an error + answered = true; + ref.close(); + callback(new Error(result.err || result.error || 'Something went wrong'), null); + } + + function exitHandler() { + if (answered) { + return; + } + + ref.removeEventListener('loaderror', errorHandler); + ref.removeEventListener('loadstart', startHandler); + ref.removeEventListener('exit', exitHandler); + + callback(new Error('Browser window closed'), null); + } + + ref.addEventListener('loaderror', errorHandler); + ref.addEventListener('loadstart', startHandler); + ref.addEventListener('exit', exitHandler); + }; + + /** + * loginWithPopup method is triggered when login method receives a {popup: true} in + * the login options. + * + * @method loginWithPopup + * @param {Object} options Login options. + * @param {function} callback To be called after login happened (whether + * success or failure). This parameter is mandatory when + * option callbackOnLocationHash is truthy but should not + * be used when falsy. + * @example + * var auth0 = new Auth0({ clientId: '...', domain: '...', callbackOnLocationHash: true }); + * + * // Error! No callback + * auth0.login({popup: true}); + * + * // Ok! + * auth0.login({popup: true}, function () { }); + * + * @example + * var auth0 = new Auth0({ clientId: '...', domain: '...'}); + * + * // Ok! + * auth0.login({popup: true}); + * + * // Error! No callback will be executed on response_type=code + * auth0.login({popup: true}, function () { }); + * @private + */ + + Auth0.prototype.loginWithPopup = function (options, callback) { + var _this = this; + + if (!callback) { + throw new Error('popup mode should receive a mandatory callback'); + } + + if (!options.nonce && this._responseType.indexOf('id_token') > -1) { + throw new Error('nonce is mandatory'); + } + + var qs = [this._getMode(options), options, { client_id: this._clientID, owp: true }]; + + if (this._sendClientInfo) { + qs.push({ auth0Client: this._getClientInfoString() }); + } + + var query = this._buildAuthorizeQueryString(qs); + var popupUrl = joinUrl('https:', this._domain, '/authorize?' + query); + + var popupPosition = this._computePopupPosition(options.popupOptions); + var popupOptions = xtend(popupPosition, options.popupOptions); + + var popup = WinChan.open({ + url: popupUrl, + relay_url: 'https://' + this._domain + '/relay.html', + window_features: stringifyPopupSettings(popupOptions) + }, function (err, result) { + // Eliminate `_current_popup` reference manually because + // Winchan removes `.kill()` method from window and also + // doesn't call `.kill()` by itself + _this._current_popup = null; + + // Winchan always returns string errors, we wrap them inside Error objects + if (err) { + return callback(new LoginError(err), null, null, null, null, null); + } + + // Handle edge case with generic error + if (!result) { + return callback(new LoginError('Something went wrong'), null, null, null, null, null); + } + + // Handle profile retrieval from id_token and respond + if (result.access_token || result.id_token) { + return callback(null, _this._prepareResult(result)); + } + + // Case where the error is returned at an `err` property from the result + if (result.err) { + return callback(new LoginError(result.err.status, result.err.details || result.err), null, null, null, null, null); + } + + // Case for sso_dbconnection_popup returning error at result.error instead of result.err + if (result.error) { + return callback(new LoginError(result.status, result.details || result), null, null, null, null, null); + } + + // Case we couldn't match any error, we return a generic one + return callback(new LoginError('Something went wrong'), null, null, null, null, null); + }); + + popup.focus(); + }; + + /** + * _shouldAuthenticateWithCordovaPlugin method checks whether Auth0 is properly configured to + * handle authentication of a social connnection using a phonegap plugin. + * + * @param {String} connection Name of the connection. + * @private + */ + + Auth0.prototype._shouldAuthenticateWithCordovaPlugin = function (connection) { + var socialPlugin = this._cordovaSocialPlugins[connection]; + return this._useCordovaSocialPlugins && !!socialPlugin; + }; + + /** + * _socialPhonegapLogin performs social authentication using a phonegap plugin + * + * @param {String} connection Name of the connection. + * @param {function} callback To be called after login happened (whether + * success or failure). + * @private + */ + + Auth0.prototype._socialPhonegapLogin = function (options, callback) { + var socialAuthentication = this._cordovaSocialPlugins[options.connection]; + var _this = this; + socialAuthentication(options.connection_scope, function (error, accessToken, extras) { + if (error) { + callback(error, null, null, null, null); + return; + } + var loginOptions = xtend({ access_token: accessToken }, options, extras); + _this.loginWithSocialAccessToken(loginOptions, callback); + }); + }; + + /** + * _phonegapFacebookLogin performs social authentication with Facebook using phonegap-facebook-plugin + * + * @param {Object} scopes FB scopes used to login. It can be an Array of String or a single String. + * By default is ["public_profile"] + * @param {function} callback To be called after login happened (whether success or failure). It will + * yield the accessToken and any extra information neeeded by Auth0 API + * or an Error if the authentication fails. Callback should be: + * function (err, accessToken, extras) { } + * @private + */ + + Auth0.prototype._phonegapFacebookLogin = function (scopes, callback) { + if (!window.facebookConnectPlugin || !window.facebookConnectPlugin.login) { + callback(new Error('missing plugin phonegap-facebook-plugin'), null, null); + return; + } + + var fbScopes; + if (scopes && is_array(scopes)) { + fbScopes = scopes; + } else if (scopes) { + fbScopes = [scopes]; + } else { + fbScopes = ['public_profile']; + } + window.facebookConnectPlugin.login(fbScopes, function (state) { + callback(null, state.authResponse.accessToken, {}); + }, function (error) { + callback(new Error(error), null, null); + }); + }; + + /** + * This method handles the scenario where a db connection is used with + * popup: true and sso: true. + * + * @private + */ + Auth0.prototype.loginWithUsernamePasswordAndSSO = function (options, callback) { + var _this = this; + var popupPosition = this._computePopupPosition(options.popupOptions); + var popupOptions = xtend(popupPosition, options.popupOptions); + + if (!options.nonce && this._responseType.indexOf('id_token') > -1) { + throw new Error('nonce is mandatory'); + } + + var winchanOptions = { + url: 'https://' + this._domain + '/sso_dbconnection_popup/' + this._clientID, + relay_url: 'https://' + this._domain + '/relay.html', + window_features: stringifyPopupSettings(popupOptions), + popup: this._current_popup, + params: { + domain: this._domain, + clientID: this._clientID, + options: { + // TODO What happens with i18n? + username: trim(options.username || options.email || ''), + password: options.password, + connection: options.connection, + state: options.state, + scope: options.scope + } + } + }; + + if (options._csrf) { + winchanOptions.params.options._csrf = options._csrf; + } + + if (options.device) { + winchanOptions.params.options.device = options.device; + } + + var popup = WinChan.open(winchanOptions, function (err, result) { + // Eliminate `_current_popup` reference manually because + // Winchan removes `.kill()` method from window and also + // doesn't call `.kill()` by itself + _this._current_popup = null; + + // Winchan always returns string errors, we wrap them inside Error objects + if (err) { + return callback(new LoginError(err), null, null, null, null, null); + } + + // Handle edge case with generic error + if (!result) { + return callback(new LoginError('Something went wrong'), null, null, null, null, null); + } + + // Handle profile retrieval from id_token and respond + if (result.id_token) { + return callback(null, _this._prepareResult(result)); + } + + // Case where the error is returned at an `err` property from the result + if (result.err) { + return callback(new LoginError(result.err.status, result.err.details || result.err), null, null, null, null, null); + } + + // Case for sso_dbconnection_popup returning error at result.error instead of result.err + if (result.error) { + return callback(new LoginError(result.status, result.details || result), null, null, null, null, null); + } + + // Case we couldn't match any error, we return a generic one + return callback(new LoginError('Something went wrong'), null, null, null, null, null); + }); + + popup.focus(); + }; + + /** + * Login with Resource Owner (RO) + * + * @param {Object} options + * @param {Function} callback + * @method loginWithResourceOwner + */ + + Auth0.prototype.loginWithResourceOwner = function (options, callback) { + var _this = this; + var query = xtend(this._getMode(options), options, { + client_id: this._clientID, + username: trim(options.username || options.email || ''), + grant_type: 'password' + }); + + this._configureOfflineMode(query); + + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/oauth/ro'; + var url = joinUrl(protocol, domain, endpoint); + + if (this._sendClientInfo && this._useJSONP) { + query['auth0Client'] = this._getClientInfoString(); + } + + if (this._useJSONP) { + return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) { + if (err) { + return callback(err); + } + if ('error' in resp) { + var error = new LoginError(resp.status, resp.error); + return callback(error); + } + callback(null, _this._prepareResult(resp)); + }); + } + + reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'json', + data: query, + headers: this._getClientInfoHeader(), + crossOrigin: !same_origin(protocol, domain), + success: function success(resp) { + callback(null, _this._prepareResult(resp)); + }, + error: function error(err) { + handleRequestError(err, callback); + } + }); + }; + + /** + * Login with Social Access Token + * + * @param {Object} options + * @param {Function} callback + * @method loginWithSocialAccessToken + */ + + Auth0.prototype.loginWithSocialAccessToken = function (options, callback) { + var _this = this; + var query = this._buildAuthorizationParameters([{ scope: this._scope }, options, { client_id: this._clientID }]); + + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/oauth/access_token'; + var url = joinUrl(protocol, domain, endpoint); + + if (this._useJSONP) { + return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) { + if (err) { + return callback(err); + } + if ('error' in resp) { + var error = new LoginError(resp.status, resp.error); + return callback(error); + } + callback(null, _this._prepareResult(resp)); + }); + } + + reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'json', + data: query, + headers: this._getClientInfoHeader(), + crossOrigin: !same_origin(protocol, domain), + success: function success(resp) { + callback(null, _this._prepareResult(resp)); + }, + error: function error(err) { + handleRequestError(err, callback); + } + }); + }; + + /** + * Open a popup, store the winref in the instance and return it. + * + * We usually need to call this method before any ajax transaction in order + * to prevent the browser to block the popup. + * + * @param {[type]} options [description] + * @param {Function} callback [description] + * @return {[type]} [description] + * @private + */ + + Auth0.prototype._buildPopupWindow = function (options, url) { + if (this._current_popup && !this._current_popup.closed) { + return this._current_popup; + } + + url = url || 'about:blank'; + + var _this = this; + var defaults = { width: 500, height: 600 }; + var opts = xtend(defaults, options.popupOptions || {}); + var popupOptions = stringifyPopupSettings(opts); + + this._current_popup = window.open(url, 'auth0_signup_popup', popupOptions); + + if (!this._current_popup) { + throw new Error('Popup window cannot not been created. Disable popup blocker or make sure to call Auth0 login or singup on an UI event.'); + } + + this._current_popup.kill = function () { + this.close(); + _this._current_popup = null; + }; + + return this._current_popup; + }; + + /** + * Login with Username and Password + * + * @param {Object} options + * @param {Function} callback + * @method loginWithUsernamePassword + */ + + Auth0.prototype.loginWithUsernamePassword = function (options, callback) { + // XXX: Warning: This check is whether callback arguments are + // fn(err) case callback.length === 1 (a redirect should be performed) vs. + // fn(err, profile, id_token, access_token, state) callback.length > 1 (no + // redirect should be performed) + // + // Note: Phonegap/Cordova: + // As the popup is launched using the InAppBrowser plugin the SSO cookie will + // be set on the InAppBrowser browser. That's why the browser where the app runs + // won't get the sso cookie. Therefore, we don't allow username password using + // popup with sso: true in Cordova/Phonegap and we default to resource owner auth. + if (callback && callback.length > 1 && (!options.sso || window.cordova)) { + return this.loginWithResourceOwner(options, callback); + } + + var _this = this; + var popup; + + // TODO We should deprecate this, really hacky and confuses people. + if (options.popup && !this._getCallbackOnLocationHash(options)) { + popup = this._buildPopupWindow(options); + } + + if (!options.nonce && this._responseType.indexOf('id_token') > -1) { + throw new Error('nonce is mandatory'); + } + + // When a callback with more than one argument is specified and sso: true then + // we open a popup and do authentication there. + if (callback && callback.length > 1 && options.sso) { + return this.loginWithUsernamePasswordAndSSO(options, callback); + } + + var query = xtend(this._getMode(options), options, { + client_id: this._clientID, + redirect_uri: this._getCallbackURL(options), + username: trim(options.username || options.email || ''), + tenant: this._tenant + }); + + this._configureOfflineMode(query); + + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/usernamepassword/login'; + var url = joinUrl(protocol, domain, endpoint); + + if (this._useJSONP) { + return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) { + if (err) { + if (popup && popup.kill) { + popup.kill(); + } + return callback(err); + } + if ('error' in resp) { + if (popup && popup.kill) { + popup.kill(); + } + var error = new LoginError(resp.status, resp.error); + return callback(error); + } + _this._renderAndSubmitWSFedForm(options, resp.form); + }); + } + + function return_error(error) { + if (callback) { + return callback(error); + } + throw error; + } + + reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'html', + data: query, + headers: this._getClientInfoHeader(), + crossOrigin: !same_origin(protocol, domain), + success: function success(resp) { + _this._renderAndSubmitWSFedForm(options, resp); + }, + error: function error(err) { + if (popup && popup.kill) { + popup.kill(); + } + handleRequestError(err, return_error); + } + }); + }; + + /** + * Login with phone number and passcode + * + * @param {Object} options + * @param {Function} callback + * @method loginWithPhoneNumber + */ + Auth0.prototype.loginWithPasscode = function (options, callback) { + + if (options.email == null && options.phoneNumber == null) { + throw new Error('email or phoneNumber is required for authentication'); + } + + if (options.passcode == null) { + throw new Error('passcode is required for authentication'); + } + + options.connection = options.email == null ? 'sms' : 'email'; + + if (!this._shouldRedirect) { + options = xtend(options, { + username: options.email == null ? options.phoneNumber : options.email, + password: options.passcode, + sso: false + }); + + delete options.email; + delete options.phoneNumber; + delete options.passcode; + + return this.loginWithResourceOwner(options, callback); + } + + var verifyOptions = { connection: options.connection }; + + if (options.phoneNumber) { + options.phone_number = options.phoneNumber; + delete options.phoneNumber; + + verifyOptions.phone_number = options.phone_number; + } + + if (options.email) { + verifyOptions.email = options.email; + } + + options.verification_code = options.passcode; + delete options.passcode; + + verifyOptions.verification_code = options.verification_code; + + var _this = this; + this._verify(verifyOptions, function (error) { + if (error) { + return callback(error); + } + _this._verify_redirect(options); + }); + }; + + Auth0.prototype._verify = function (options, callback) { + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/passwordless/verify'; + var url = joinUrl(protocol, domain, endpoint); + + var data = options; + + if (this._useJSONP) { + if (this._sendClientInfo) { + data['auth0Client'] = this._getClientInfoString(); + } + + return jsonp(url + '?' + qs.stringify(data), jsonpOpts, function (err, resp) { + if (err) { + return callback(new Error(0 + ': ' + err.toString())); + } + // /**/ typeof __auth0jp0 === 'function' && __auth0jp0({"status":400}); + return resp.status === 200 ? callback(null, true) : callback({ status: resp.status }); + }); + } + + return reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + headers: this._getClientInfoHeader(), + crossOrigin: !same_origin(protocol, domain), + data: data + }).fail(function (err) { + try { + callback(JSON.parse(err.responseText)); + } catch (e) { + var error = new Error(err.status + '(' + err.statusText + '): ' + err.responseText); + error.statusCode = err.status; + error.error = err.statusText; + error.message = err.responseText; + callback(error); + } + }).then(function (result) { + callback(null, result); + }); + }; + + Auth0.prototype._verify_redirect = function (options) { + var qs = [this._getMode(options), options, { + client_id: this._clientID, + redirect_uri: this._getCallbackURL(options) + }]; + + var query = this._buildAuthorizeQueryString(qs); + var url = joinUrl('https:', this._domain, '/passwordless/verify_redirect?' + query); + + this._redirect(url); + }; + + // TODO Document me + Auth0.prototype.renewIdToken = function (id_token, callback) { + this.getDelegationToken({ + id_token: id_token, + scope: 'passthrough', + api: 'auth0' + }, callback); + }; + + // TODO Document me + Auth0.prototype.refreshToken = function (refresh_token, callback) { + this.getDelegationToken({ + refresh_token: refresh_token, + scope: 'passthrough', + api: 'auth0' + }, callback); + }; + + /** + * Get delegation token for certain addon or certain other clientId + * + * @example + * + * auth0.getDelegationToken({ + * id_token: '', + * target: '' + * api_type: 'auth0' + * }, function (err, delegationResult) { + * if (err) return console.log(err.message); + * // Do stuff with delegation token + * expect(delegationResult.id_token).to.exist; + * expect(delegationResult.token_type).to.eql('Bearer'); + * expect(delegationResult.expires_in).to.eql(36000); + * }); + * + * @example + * + * // get a delegation token from a Firebase API App + * auth0.getDelegationToken({ + * id_token: '', + * target: '' + * api_type: 'firebase' + * }, function (err, delegationResult) { + * // Use your firebase token here + * }); + * + * @method getDelegationToken + * @param {Object} [options] + * @param {String} [id_token] + * @param {String} [target] + * @param {String} [api_type] + * @param {Function} [callback] + */ + Auth0.prototype.getDelegationToken = function (options, callback) { + options = options || {}; + + if (!options.id_token && !options.refresh_token) { + throw new Error('You must send either an id_token or a refresh_token to get a delegation token.'); + } + + var query = xtend({ + grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer', + client_id: this._clientID, + target: options.targetClientId || this._clientID, + api_type: options.api + }, options); + + delete query.hasOwnProperty; + delete query.targetClientId; + delete query.api; + + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/delegation'; + var url = joinUrl(protocol, domain, endpoint); + + if (this._useJSONP) { + return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) { + if (err) { + return callback(err); + } + if ('error' in resp) { + var error = new LoginError(resp.status, resp.error_description || resp.error); + return callback(error); + } + callback(null, resp); + }); + } + + reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'json', + data: query, + crossOrigin: !same_origin(protocol, domain), + success: function success(resp) { + callback(null, resp); + }, + error: function error(err) { + try { + callback(JSON.parse(err.responseText)); + } catch (e) { + var er = err; + var isAffectedIEVersion = isInternetExplorer() === 10 || isInternetExplorer() === 11; + var zeroStatus = !er.status || er.status === 0; + + // Request failed because we are offline. + // See: http://caniuse.com/#search=navigator.onLine + if (zeroStatus && !window.navigator.onLine) { + er = {}; + er.status = 0; + er.responseText = { + code: 'offline' + }; + // http://stackoverflow.com/questions/23229723/ie-10-11-cors-status-0 + // XXX IE10 when a request fails in CORS returns status code 0 + // XXX This is not handled by handleRequestError as the errors are different + } else if (zeroStatus && isAffectedIEVersion) { + er = {}; + er.status = 401; + er.responseText = { + code: 'invalid_operation' + }; + // If not IE10/11 and not offline it means that Auth0 host is unreachable: + // Connection Timeout or Connection Refused. + } else if (zeroStatus) { + er = {}; + er.status = 0; + er.responseText = { + code: 'connection_refused_timeout' + }; + } else { + er.responseText = err; + } + callback(new LoginError(er.status, er.responseText)); + } + } + }); + }; + + /** + * Fetches a new id_token/access_token from Auth0 + * + * @example + * + * auth0.silentAuthentication({}, function(error, result) { + * if (error) { + * console.log(error); + * } + * // result.id_token + * }); + * + * @example + * + * auth0.silentAuthentication({callbackUrl: "https://site.com/silentCallback"}, function(error, result) { + * if (error) { + * console.log(error); + * } + * // result.id_token + * }); + * + * @method silentAutnetication + * @param {Object} options + * @param {function} callback + */ + Auth0.prototype.silentAuthentication = function (options, callback) { + var usePostMessage = options.usePostMessage || false; + + delete options.usePostMessage; + + options = xtend(options, { prompt: 'none' }); + var handler = new SilentAuthenticationHandler(this, this._buildAuthorizeUrl(options)); + handler.login(callback, usePostMessage); + }; + + /** + * Trigger logout redirect with + * params from `query` object + * + * @example + * + * auth0.logout(); + * // redirects to -> 'https://yourapp.auth0.com/logout' + * + * @example + * + * auth0.logout({returnTo: 'http://logout'}); + * // redirects to -> 'https://yourapp.auth0.com/logout?returnTo=http://logout' + * + * @example + * + * auth0.logout(null, {version: 'v2'}); + * // redirects to -> 'https://yourapp.auth0.com/v2/logout' + * + * @example + * + * auth0.logout({returnTo: 'http://logout'}, {version: 2}); + * // redirects to -> 'https://yourapp.auth0.com/v2/logout?returnTo=http://logout' + * + * @method logout + * @param {Object} query + */ + + Auth0.prototype.logout = function (query, options) { + var pathName = '/logout'; + options = options || {}; + + if (options.version == 'v2') { + pathName = '/v2' + pathName; + } + + var url = joinUrl('https:', this._domain, pathName); + + if (query) { + url += '?' + qs.stringify(query); + } + + this._redirect(url); + }; + + /** + * Get single sign on Data + * + * @example + * + * auth0.getSSOData(function (err, ssoData) { + * if (err) return console.log(err.message); + * expect(ssoData.sso).to.exist; + * }); + * + * @example + * + * auth0.getSSOData(false, fn); + * + * @method getSSOData + * @param {Boolean} withActiveDirectories + * @param {Function} cb + */ + + Auth0.prototype.getSSOData = function (withActiveDirectories, cb) { + if (typeof withActiveDirectories === 'function') { + cb = withActiveDirectories; + withActiveDirectories = false; + } + + var noResult = { sso: false }; + + if (this._useJSONP) { + var error = new Error("The SSO data can't be obtained using JSONP"); + setTimeout(function () { + cb(error, noResult); + }, 0); + return; + } + + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/user/ssodata'; + var url = joinUrl(protocol, domain, endpoint); + var sameOrigin = same_origin(protocol, domain); + var data = {}; + + if (withActiveDirectories) { + data = { ldaps: 1, client_id: this._clientID }; + } + + return reqwest({ + url: sameOrigin ? endpoint : url, + method: 'get', + type: 'json', + data: data, + crossOrigin: !sameOrigin, + withCredentials: !sameOrigin, + timeout: 3000 + }).fail(function (err) { + var error = new Error("There was an error in the request that obtains the user's SSO data."); + error.cause = err; + cb(error, noResult); + }).then(function (resp) { + cb(null, resp); + }); + }; + + /** + * Get all configured connections for a client + * + * @method getConnections + * @param {Function} callback + * @deprecated This method is deprecated. If you need to get the connections please use Management API https://auth0.com/docs/api/management/v2#!/Connections/get_connections + */ + + Auth0.prototype.getConnections = function (callback) { + warn('getConnections is deprecated and will be removed shortly. Please use Management API endpoint /connections to list the connections'); + return jsonp('https://' + this._domain + '/public/api/' + this._clientID + '/connections', jsonpOpts, callback); + }; + + /** + * Send email or SMS to do passwordless authentication + * + * @example + * // To send an email + * auth0.startPasswordless({email: 'foo@bar.com'}, function (err, result) { + * if (err) return console.log(err.error_description); + * console.log(result); + * }); + * + * @example + * // To send a SMS + * auth0.startPasswordless({phoneNumber: '+14251112222'}, function (err, result) { + * if (err) return console.log(err.error_description); + * console.log(result); + * }); + * + * @method startPasswordless + * @param {Object} options + * @param {Function} callback + */ + + Auth0.prototype.startPasswordless = function (options, callback) { + if ('object' !== (typeof options === 'undefined' ? 'undefined' : _typeof(options))) { + throw new Error('An options object is required'); + } + if ('function' !== typeof callback) { + throw new Error('A callback function is required'); + } + if (!options.email && !options.phoneNumber) { + throw new Error('An `email` or a `phoneNumber` is required.'); + } + + var protocol = 'https:'; + var domain = this._domain; + var endpoint = '/passwordless/start'; + var url = joinUrl(protocol, domain, endpoint); + + var data = { client_id: this._clientID }; + if (options.email) { + data.email = options.email; + data.connection = 'email'; + if (options.authParams) { + data.authParams = options.authParams; + } + + if (!options.send || options.send === "link") { + if (!data.authParams) { + data.authParams = {}; + } + + data.authParams.redirect_uri = options.callbackURL || this._callbackURL; + data.authParams.response_type = this._getResponseType(options); + } + + if (options.send) { + data.send = options.send; + } + } else { + data.phone_number = options.phoneNumber; + data.connection = 'sms'; + } + + if (this._useJSONP) { + if (this._sendClientInfo) { + data['auth0Client'] = this._getClientInfoString(); + } + + return jsonp(url + '?' + qs.stringify(data), jsonpOpts, function (err, resp) { + if (err) { + return callback(new Error(0 + ': ' + err.toString())); + } + return resp.status === 200 ? callback(null, true) : callback(resp.err || resp.error); + }); + } + + return reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: 'post', + type: 'json', + headers: this._getClientInfoHeader(), + crossOrigin: !same_origin(protocol, domain), + data: data + }).fail(function (err) { + try { + callback(JSON.parse(err.responseText)); + } catch (e) { + var error = new Error(err.status + '(' + err.statusText + '): ' + err.responseText); + error.statusCode = err.status; + error.error = err.statusText; + error.message = err.responseText; + callback(error); + } + }).then(function (result) { + callback(null, result); + }); + }; + + Auth0.prototype.requestMagicLink = function (attrs, cb) { + return this.startPasswordless(attrs, cb); + }; + + Auth0.prototype.requestEmailCode = function (attrs, cb) { + attrs.send = "code"; + return this.startPasswordless(attrs, cb); + }; + + Auth0.prototype.verifyEmailCode = function (attrs, cb) { + attrs.passcode = attrs.code; + delete attrs.code; + return this.login(attrs, cb); + }; + + Auth0.prototype.requestSMSCode = function (attrs, cb) { + return this.startPasswordless(attrs, cb); + }; + + Auth0.prototype.verifySMSCode = function (attrs, cb) { + attrs.passcode = attrs.code; + delete attrs.code; + return this.login(attrs, cb); + }; + + /** + * Returns the ISO 3166-1 code for the country where the request is + * originating. + * + * Fails if the request has to be made using JSONP. + * + * @private + */ + Auth0.prototype.getUserCountry = function (cb) { + var protocol = 'https:'; + var domain = this._domain; + var endpoint = "/user/geoloc/country"; + var url = joinUrl(protocol, domain, endpoint); + + if (this._useJSONP) { + var error = new Error("The user's country can't be obtained using JSONP"); + setTimeout(function () { + cb(error); + }, 0); + return; + } + + reqwest({ + url: same_origin(protocol, domain) ? endpoint : url, + method: "get", + type: "json", + headers: this._getClientInfoHeader(), + crossOrigin: !same_origin(protocol, domain), + success: function success(resp) { + cb(null, resp.country_code); + }, + error: function error(err) { + var error = new Error("There was an error in the request that obtains the user's country"); + error.cause = err; + cb(error); + } + }); + }; + + Auth0.prototype._prepareResult = function (result) { + if (!result || (typeof result === 'undefined' ? 'undefined' : _typeof(result)) !== "object") { + return; + } + + var decodedIdToken = result.id_token ? this.decodeJwt(result.id_token) : undefined; + + return { + accessToken: result.access_token, + idToken: result.id_token, + idTokenPayload: result.profile || decodedIdToken, + refreshToken: result.refresh_token, + state: result.state + }; + }; + + Auth0.prototype._parseResponseType = function (opts, setFlags) { + if (!opts) opts = {}; + + if (setFlags && !this._providedResponseOptions && opts.hasOwnProperty("callbackOnLocationHash")) { + this._providedCallbackOnLocationHash = true; + } + + if (setFlags && !this._providedCallbackOnLocationHash && opts.hasOwnProperty("responseType")) { + this._providedResponseOptions = true; + } + + if (!this._providedCallbackOnLocationHash && !this._providedResponseOptions && opts.hasOwnProperty("callbackOnLocationHash") && opts.hasOwnProperty("responseType")) { + warn("The responseType option will be ignored. Both callbackOnLocationHash and responseType options were provided and they can't be used together."); + } + + if (this._providedCallbackOnLocationHash && opts.hasOwnProperty("responseType")) { + warn("The responseType option will be ignored. The callbackOnLocationHash option was provided to the constructor and they can't be mixed."); + } + + if (this._providedResponseOptions && opts.hasOwnProperty("callbackOnLocationHash")) { + warn("The callbackOnLocationHash option will be ignored. The responseType option was provided to the constructor and they can't be mixed."); + } + + if (!this._providedCallbackOnLocationHash && !opts.hasOwnProperty("callbackOnLocationHash") && opts.responseType && !validResponseType(opts.responseType)) { + warn("The responseType option will be ignored. Its valid values are \"code\", \"id_token\", \"token\" or any combination of them."); + } + + var result = undefined; + + if (!this._providedResponseOptions && null != opts.callbackOnLocationHash) { + result = callbackOnLocationHashToResponseType(opts.callbackOnLocationHash); + } + + if (!this._providedCallbackOnLocationHash && !opts.hasOwnProperty("callbackOnLocationHash") && opts.responseType && validResponseType(opts.responseType)) { + result = opts.responseType; + } + + return result; + }; + + Auth0.prototype._parseResponseMode = function (opts, setFlags) { + if (!opts) opts = {}; + + if (setFlags && !this._providedCallbackOnLocationHash && opts.hasOwnProperty("responseMode")) { + this._providedResponseOptions = true; + } + + if (this._providedCallbackOnLocationHash && opts.hasOwnProperty("responseMode")) { + warn("The responseMode option will be ignored. The callbackOnLocationHash option was provided to the constructor and they can't be mixed."); + } + + if (!this._providedCallbackOnLocationHash && !this._providedResponseOptions && opts.hasOwnProperty("callbackOnLocationHash") && opts.hasOwnProperty("responseMode")) { + warn("The responseMode option will be ignored. Both callbackOnLocationHash and responseMode options were provided and they can't be used together."); + } + + var result = undefined; + + if (!this._providedCallbackOnLocationHash && opts.responseMode && !validResponseMode(opts.responseMode)) { + warn("The responseMode option will be ignored. Its only valid value is \"form_post\"."); + } + + if (!this._providedCallbackOnLocationHash && validResponseMode(opts.responseMode)) { + result = opts.responseMode; + } + + return result; + }; + + function callbackOnLocationHashToResponseType(x) { + return x ? "token" : "code"; + } + + function validResponseType(str) { + if (typeof str !== "string") return false; + + var RESPONSE_TYPES = ["code", "id_token", "token"]; + var parts = str.split(" "); + + for (var i = 0; i < parts.length; i++) { + if (RESPONSE_TYPES.indexOf(parts[i]) === -1) return false; + } + + return parts.length >= 1; + } + + function validResponseMode(str) { + return str === "form_post"; + } + + function warn(str) { + if (console && console.warn) { + console.warn(str); + } + } + + /** + * Expose `Auth0` constructor + */ + + module.exports = Auth0; + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 57 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var _ = __webpack_require__(46); + + /* OWASP Special Characters: https://www.owasp.org/index.php/Password_special_characters */ + var specialCharacters = [' ', '!', '"', '#', '\\$', '%', '&', '\'', '\\(', '\\)', '\\*', '\\+', ',', '-', '\\.', '/', ':', ';', '<', '=', '>', '\\?', '@', '\\[', '\\\\', '\\]', '\\^', '_', '`', '{', '\\|', '}', '~'].join('|'); + + var specialCharactersRegexp = new RegExp(specialCharacters); + + module.exports = { + validate: function validate(options) { + if (!_.isObject(options)) { + throw new Error('options should be an object'); + } + + if (!_.isArray(options.expressions) || _.isEmpty(options.expressions)) { + throw new Error('contains expects expressions to be a non-empty array'); + } + + var ok = options.expressions.every(function (expression) { + return _.isFunction(expression.explain) && _.isFunction(expression.test); + }); + + if (!ok) { + throw new Error('contains expressions are invalid: An explain and a test function should be provided'); + } + return true; + }, + explain: function explain(options) { + return { + message: 'Should contain:', + code: 'shouldContain', + items: options.expressions.map(function (expression) { + return expression.explain(); + }) + }; + }, + missing: function missing(options, password) { + var expressions = options.expressions.map(function (expression) { + var explained = expression.explain(); + explained.verified = expression.test(password); + return explained; + }); + + var verified = expressions.every(function (expression) { + return expression.verified; + }); + + return { + message: 'Should contain:', + code: 'shouldContain', + verified: verified, + items: expressions + }; + }, + assert: function assert(options, password) { + if (!password) { + return false; + } + + return options.expressions.every(function (expression) { + var result = expression.test(password); + return result; + }); + }, + charsets: { + upperCase: { + explain: function explain() { + return { + message: 'upper case letters (A-Z)', + code: 'upperCase' + }; + }, + test: function test(password) { + return (/[A-Z]/.test(password) + ); + } + }, + lowerCase: { + explain: function explain() { + return { + message: 'lower case letters (a-z)', + code: 'lowerCase' + }; + }, + test: function test(password) { + return (/[a-z]/.test(password) + ); + } + }, + specialCharacters: { + explain: function explain() { + return { + message: 'special characters (e.g. !@#$%^&*)', + code: 'specialCharacters' + }; + }, + test: function test(password) { + return specialCharactersRegexp.test(password); + } + }, + numbers: { + explain: function explain() { + return { + message: 'numbers (i.e. 0-9)', + code: 'numbers' + }; + }, + test: function test(password) { + return (/\d/.test(password) + ); + } + } + } + }; + +/***/ }, +/* 58 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var DOMLazyTree = __webpack_require__(31); + var Danger = __webpack_require__(192); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactInstrumentation = __webpack_require__(14); + + var createMicrosoftUnsafeLocalFunction = __webpack_require__(67); + var setInnerHTML = __webpack_require__(51); + var setTextContent = __webpack_require__(117); + + function getNodeAfter(parentNode, node) { + // Special case for text components, which return [open, close] comments + // from getHostNode. + if (Array.isArray(node)) { + node = node[1]; + } + return node ? node.nextSibling : parentNode.firstChild; + } + + /** + * Inserts `childNode` as a child of `parentNode` at the `index`. + * + * @param {DOMElement} parentNode Parent node in which to insert. + * @param {DOMElement} childNode Child node to insert. + * @param {number} index Index at which to insert the child. + * @internal + */ + var insertChildAt = createMicrosoftUnsafeLocalFunction(function (parentNode, childNode, referenceNode) { + // We rely exclusively on `insertBefore(node, null)` instead of also using + // `appendChild(node)`. (Using `undefined` is not allowed by all browsers so + // we are careful to use `null`.) + parentNode.insertBefore(childNode, referenceNode); + }); + + function insertLazyTreeChildAt(parentNode, childTree, referenceNode) { + DOMLazyTree.insertTreeBefore(parentNode, childTree, referenceNode); + } + + function moveChild(parentNode, childNode, referenceNode) { + if (Array.isArray(childNode)) { + moveDelimitedText(parentNode, childNode[0], childNode[1], referenceNode); + } else { + insertChildAt(parentNode, childNode, referenceNode); + } + } + + function removeChild(parentNode, childNode) { + if (Array.isArray(childNode)) { + var closingComment = childNode[1]; + childNode = childNode[0]; + removeDelimitedText(parentNode, childNode, closingComment); + parentNode.removeChild(closingComment); + } + parentNode.removeChild(childNode); + } + + function moveDelimitedText(parentNode, openingComment, closingComment, referenceNode) { + var node = openingComment; + while (true) { + var nextNode = node.nextSibling; + insertChildAt(parentNode, node, referenceNode); + if (node === closingComment) { + break; + } + node = nextNode; + } + } + + function removeDelimitedText(parentNode, startNode, closingComment) { + while (true) { + var node = startNode.nextSibling; + if (node === closingComment) { + // The closing comment is removed by ReactMultiChild. + break; + } else { + parentNode.removeChild(node); + } + } + } + + function replaceDelimitedText(openingComment, closingComment, stringText) { + var parentNode = openingComment.parentNode; + var nodeAfterComment = openingComment.nextSibling; + if (nodeAfterComment === closingComment) { + // There are no text nodes between the opening and closing comments; insert + // a new one if stringText isn't empty. + if (stringText) { + insertChildAt(parentNode, document.createTextNode(stringText), nodeAfterComment); + } + } else { + if (stringText) { + // Set the text content of the first node after the opening comment, and + // remove all following nodes up until the closing comment. + setTextContent(nodeAfterComment, stringText); + removeDelimitedText(parentNode, nodeAfterComment, closingComment); + } else { + removeDelimitedText(parentNode, openingComment, closingComment); + } + } + + if (false) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID, + type: 'replace text', + payload: stringText + }); + } + } + + var dangerouslyReplaceNodeWithMarkup = Danger.dangerouslyReplaceNodeWithMarkup; + if (false) { + dangerouslyReplaceNodeWithMarkup = function dangerouslyReplaceNodeWithMarkup(oldChild, markup, prevInstance) { + Danger.dangerouslyReplaceNodeWithMarkup(oldChild, markup); + if (prevInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: prevInstance._debugID, + type: 'replace with', + payload: markup.toString() + }); + } else { + var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node); + if (nextInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: nextInstance._debugID, + type: 'mount', + payload: markup.toString() + }); + } + } + }; + } + + /** + * Operations for updating with DOM children. + */ + var DOMChildrenOperations = { + + dangerouslyReplaceNodeWithMarkup: dangerouslyReplaceNodeWithMarkup, + + replaceDelimitedText: replaceDelimitedText, + + /** + * Updates a component's children by processing a series of updates. The + * update configurations are each expected to have a `parentNode` property. + * + * @param {array} updates List of update configurations. + * @internal + */ + processUpdates: function processUpdates(parentNode, updates) { + if (false) { + var parentNodeDebugID = ReactDOMComponentTree.getInstanceFromNode(parentNode)._debugID; + } + + for (var k = 0; k < updates.length; k++) { + var update = updates[k]; + switch (update.type) { + case 'INSERT_MARKUP': + insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode)); + if (false) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: parentNodeDebugID, + type: 'insert child', + payload: { toIndex: update.toIndex, content: update.content.toString() } + }); + } + break; + case 'MOVE_EXISTING': + moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode)); + if (false) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: parentNodeDebugID, + type: 'move child', + payload: { fromIndex: update.fromIndex, toIndex: update.toIndex } + }); + } + break; + case 'SET_MARKUP': + setInnerHTML(parentNode, update.content); + if (false) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: parentNodeDebugID, + type: 'replace children', + payload: update.content.toString() + }); + } + break; + case 'TEXT_CONTENT': + setTextContent(parentNode, update.content); + if (false) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: parentNodeDebugID, + type: 'replace text', + payload: update.content.toString() + }); + } + break; + case 'REMOVE_NODE': + removeChild(parentNode, update.fromNode); + if (false) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: parentNodeDebugID, + type: 'remove child', + payload: { fromIndex: update.fromIndex } + }); + } + break; + } + } + } + + }; + + module.exports = DOMChildrenOperations; + +/***/ }, +/* 59 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var DOMNamespaces = { + html: 'http://www.w3.org/1999/xhtml', + mathml: 'http://www.w3.org/1998/Math/MathML', + svg: 'http://www.w3.org/2000/svg' + }; + + module.exports = DOMNamespaces; + +/***/ }, +/* 60 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(3); + + /** + * Injectable ordering of event plugins. + */ + var eventPluginOrder = null; + + /** + * Injectable mapping from names to event plugin modules. + */ + var namesToPlugins = {}; + + /** + * Recomputes the plugin list using the injected plugins and plugin ordering. + * + * @private + */ + function recomputePluginOrdering() { + if (!eventPluginOrder) { + // Wait until an `eventPluginOrder` is injected. + return; + } + for (var pluginName in namesToPlugins) { + var pluginModule = namesToPlugins[pluginName]; + var pluginIndex = eventPluginOrder.indexOf(pluginName); + !(pluginIndex > -1) ? false ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.', pluginName) : _prodInvariant('96', pluginName) : void 0; + if (EventPluginRegistry.plugins[pluginIndex]) { + continue; + } + !pluginModule.extractEvents ? false ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.', pluginName) : _prodInvariant('97', pluginName) : void 0; + EventPluginRegistry.plugins[pluginIndex] = pluginModule; + var publishedEvents = pluginModule.eventTypes; + for (var eventName in publishedEvents) { + !publishEventForPlugin(publishedEvents[eventName], pluginModule, eventName) ? false ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : _prodInvariant('98', eventName, pluginName) : void 0; + } + } + } + + /** + * Publishes an event so that it can be dispatched by the supplied plugin. + * + * @param {object} dispatchConfig Dispatch configuration for the event. + * @param {object} PluginModule Plugin publishing the event. + * @return {boolean} True if the event was successfully published. + * @private + */ + function publishEventForPlugin(dispatchConfig, pluginModule, eventName) { + !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? false ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.', eventName) : _prodInvariant('99', eventName) : void 0; + EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig; + + var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames; + if (phasedRegistrationNames) { + for (var phaseName in phasedRegistrationNames) { + if (phasedRegistrationNames.hasOwnProperty(phaseName)) { + var phasedRegistrationName = phasedRegistrationNames[phaseName]; + publishRegistrationName(phasedRegistrationName, pluginModule, eventName); + } + } + return true; + } else if (dispatchConfig.registrationName) { + publishRegistrationName(dispatchConfig.registrationName, pluginModule, eventName); + return true; + } + return false; + } + + /** + * Publishes a registration name that is used to identify dispatched events and + * can be used with `EventPluginHub.putListener` to register listeners. + * + * @param {string} registrationName Registration name to add. + * @param {object} PluginModule Plugin publishing the event. + * @private + */ + function publishRegistrationName(registrationName, pluginModule, eventName) { + !!EventPluginRegistry.registrationNameModules[registrationName] ? false ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.', registrationName) : _prodInvariant('100', registrationName) : void 0; + EventPluginRegistry.registrationNameModules[registrationName] = pluginModule; + EventPluginRegistry.registrationNameDependencies[registrationName] = pluginModule.eventTypes[eventName].dependencies; + + if (false) { + var lowerCasedName = registrationName.toLowerCase(); + EventPluginRegistry.possibleRegistrationNames[lowerCasedName] = registrationName; + + if (registrationName === 'onDoubleClick') { + EventPluginRegistry.possibleRegistrationNames.ondblclick = registrationName; + } + } + } + + /** + * Registers plugins so that they can extract and dispatch events. + * + * @see {EventPluginHub} + */ + var EventPluginRegistry = { + + /** + * Ordered list of injected plugins. + */ + plugins: [], + + /** + * Mapping from event name to dispatch config + */ + eventNameDispatchConfigs: {}, + + /** + * Mapping from registration name to plugin module + */ + registrationNameModules: {}, + + /** + * Mapping from registration name to event name + */ + registrationNameDependencies: {}, + + /** + * Mapping from lowercase registration names to the properly cased version, + * used to warn in the case of missing event handlers. Available + * only in __DEV__. + * @type {Object} + */ + possibleRegistrationNames: false ? {} : null, + // Trust the developer to only use possibleRegistrationNames in __DEV__ + + /** + * Injects an ordering of plugins (by plugin name). This allows the ordering + * to be decoupled from injection of the actual plugins so that ordering is + * always deterministic regardless of packaging, on-the-fly injection, etc. + * + * @param {array} InjectedEventPluginOrder + * @internal + * @see {EventPluginHub.injection.injectEventPluginOrder} + */ + injectEventPluginOrder: function injectEventPluginOrder(injectedEventPluginOrder) { + !!eventPluginOrder ? false ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.') : _prodInvariant('101') : void 0; + // Clone the ordering so it cannot be dynamically mutated. + eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder); + recomputePluginOrdering(); + }, + + /** + * Injects plugins to be used by `EventPluginHub`. The plugin names must be + * in the ordering injected by `injectEventPluginOrder`. + * + * Plugins can be injected as part of page initialization or on-the-fly. + * + * @param {object} injectedNamesToPlugins Map from names to plugin modules. + * @internal + * @see {EventPluginHub.injection.injectEventPluginsByName} + */ + injectEventPluginsByName: function injectEventPluginsByName(injectedNamesToPlugins) { + var isOrderingDirty = false; + for (var pluginName in injectedNamesToPlugins) { + if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) { + continue; + } + var pluginModule = injectedNamesToPlugins[pluginName]; + if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== pluginModule) { + !!namesToPlugins[pluginName] ? false ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.', pluginName) : _prodInvariant('102', pluginName) : void 0; + namesToPlugins[pluginName] = pluginModule; + isOrderingDirty = true; + } + } + if (isOrderingDirty) { + recomputePluginOrdering(); + } + }, + + /** + * Looks up the plugin for the supplied event. + * + * @param {object} event A synthetic event. + * @return {?object} The plugin that created the supplied event. + * @internal + */ + getPluginModuleForEvent: function getPluginModuleForEvent(event) { + var dispatchConfig = event.dispatchConfig; + if (dispatchConfig.registrationName) { + return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName] || null; + } + if (dispatchConfig.phasedRegistrationNames !== undefined) { + // pulling phasedRegistrationNames out of dispatchConfig helps Flow see + // that it is not undefined. + var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames; + + for (var phase in phasedRegistrationNames) { + if (!phasedRegistrationNames.hasOwnProperty(phase)) { + continue; + } + var pluginModule = EventPluginRegistry.registrationNameModules[phasedRegistrationNames[phase]]; + if (pluginModule) { + return pluginModule; + } + } + } + return null; + }, + + /** + * Exposed for unit testing. + * @private + */ + _resetEventPlugins: function _resetEventPlugins() { + eventPluginOrder = null; + for (var pluginName in namesToPlugins) { + if (namesToPlugins.hasOwnProperty(pluginName)) { + delete namesToPlugins[pluginName]; + } + } + EventPluginRegistry.plugins.length = 0; + + var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs; + for (var eventName in eventNameDispatchConfigs) { + if (eventNameDispatchConfigs.hasOwnProperty(eventName)) { + delete eventNameDispatchConfigs[eventName]; + } + } + + var registrationNameModules = EventPluginRegistry.registrationNameModules; + for (var registrationName in registrationNameModules) { + if (registrationNameModules.hasOwnProperty(registrationName)) { + delete registrationNameModules[registrationName]; + } + } + + if (false) { + var possibleRegistrationNames = EventPluginRegistry.possibleRegistrationNames; + for (var lowerCasedName in possibleRegistrationNames) { + if (possibleRegistrationNames.hasOwnProperty(lowerCasedName)) { + delete possibleRegistrationNames[lowerCasedName]; + } + } + } + } + + }; + + module.exports = EventPluginRegistry; + +/***/ }, +/* 61 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var ReactErrorUtils = __webpack_require__(65); + + var invariant = __webpack_require__(3); + var warning = __webpack_require__(5); + + /** + * Injected dependencies: + */ + + /** + * - `ComponentTree`: [required] Module that can convert between React instances + * and actual node references. + */ + var ComponentTree; + var TreeTraversal; + var injection = { + injectComponentTree: function injectComponentTree(Injected) { + ComponentTree = Injected; + if (false) { + process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.getNodeFromInstance && Injected.getInstanceFromNode, 'EventPluginUtils.injection.injectComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0; + } + }, + injectTreeTraversal: function injectTreeTraversal(Injected) { + TreeTraversal = Injected; + if (false) { + process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.isAncestor && Injected.getLowestCommonAncestor, 'EventPluginUtils.injection.injectTreeTraversal(...): Injected ' + 'module is missing isAncestor or getLowestCommonAncestor.') : void 0; + } + } + }; + + function isEndish(topLevelType) { + return topLevelType === 'topMouseUp' || topLevelType === 'topTouchEnd' || topLevelType === 'topTouchCancel'; + } + + function isMoveish(topLevelType) { + return topLevelType === 'topMouseMove' || topLevelType === 'topTouchMove'; + } + function isStartish(topLevelType) { + return topLevelType === 'topMouseDown' || topLevelType === 'topTouchStart'; + } + + var validateEventDispatches; + if (false) { + validateEventDispatches = function validateEventDispatches(event) { + var dispatchListeners = event._dispatchListeners; + var dispatchInstances = event._dispatchInstances; + + var listenersIsArr = Array.isArray(dispatchListeners); + var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0; + + var instancesIsArr = Array.isArray(dispatchInstances); + var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0; + + process.env.NODE_ENV !== 'production' ? warning(instancesIsArr === listenersIsArr && instancesLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : void 0; + }; + } + + /** + * Dispatch the event to the listener. + * @param {SyntheticEvent} event SyntheticEvent to handle + * @param {boolean} simulated If the event is simulated (changes exn behavior) + * @param {function} listener Application-level callback + * @param {*} inst Internal component instance + */ + function executeDispatch(event, simulated, listener, inst) { + var type = event.type || 'unknown-event'; + event.currentTarget = EventPluginUtils.getNodeFromInstance(inst); + if (simulated) { + ReactErrorUtils.invokeGuardedCallbackWithCatch(type, listener, event); + } else { + ReactErrorUtils.invokeGuardedCallback(type, listener, event); + } + event.currentTarget = null; + } + + /** + * Standard/simple iteration through an event's collected dispatches. + */ + function executeDispatchesInOrder(event, simulated) { + var dispatchListeners = event._dispatchListeners; + var dispatchInstances = event._dispatchInstances; + if (false) { + validateEventDispatches(event); + } + if (Array.isArray(dispatchListeners)) { + for (var i = 0; i < dispatchListeners.length; i++) { + if (event.isPropagationStopped()) { + break; + } + // Listeners and Instances are two parallel arrays that are always in sync. + executeDispatch(event, simulated, dispatchListeners[i], dispatchInstances[i]); + } + } else if (dispatchListeners) { + executeDispatch(event, simulated, dispatchListeners, dispatchInstances); + } + event._dispatchListeners = null; + event._dispatchInstances = null; + } + + /** + * Standard/simple iteration through an event's collected dispatches, but stops + * at the first dispatch execution returning true, and returns that id. + * + * @return {?string} id of the first dispatch execution who's listener returns + * true, or null if no listener returned true. + */ + function executeDispatchesInOrderStopAtTrueImpl(event) { + var dispatchListeners = event._dispatchListeners; + var dispatchInstances = event._dispatchInstances; + if (false) { + validateEventDispatches(event); + } + if (Array.isArray(dispatchListeners)) { + for (var i = 0; i < dispatchListeners.length; i++) { + if (event.isPropagationStopped()) { + break; + } + // Listeners and Instances are two parallel arrays that are always in sync. + if (dispatchListeners[i](event, dispatchInstances[i])) { + return dispatchInstances[i]; + } + } + } else if (dispatchListeners) { + if (dispatchListeners(event, dispatchInstances)) { + return dispatchInstances; + } + } + return null; + } + + /** + * @see executeDispatchesInOrderStopAtTrueImpl + */ + function executeDispatchesInOrderStopAtTrue(event) { + var ret = executeDispatchesInOrderStopAtTrueImpl(event); + event._dispatchInstances = null; + event._dispatchListeners = null; + return ret; + } + + /** + * Execution of a "direct" dispatch - there must be at most one dispatch + * accumulated on the event or it is considered an error. It doesn't really make + * sense for an event with multiple dispatches (bubbled) to keep track of the + * return values at each dispatch execution, but it does tend to make sense when + * dealing with "direct" dispatches. + * + * @return {*} The return value of executing the single dispatch. + */ + function executeDirectDispatch(event) { + if (false) { + validateEventDispatches(event); + } + var dispatchListener = event._dispatchListeners; + var dispatchInstance = event._dispatchInstances; + !!Array.isArray(dispatchListener) ? false ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : _prodInvariant('103') : void 0; + event.currentTarget = dispatchListener ? EventPluginUtils.getNodeFromInstance(dispatchInstance) : null; + var res = dispatchListener ? dispatchListener(event) : null; + event.currentTarget = null; + event._dispatchListeners = null; + event._dispatchInstances = null; + return res; + } + + /** + * @param {SyntheticEvent} event + * @return {boolean} True iff number of dispatches accumulated is greater than 0. + */ + function hasDispatches(event) { + return !!event._dispatchListeners; + } + + /** + * General utilities that are useful in creating custom Event Plugins. + */ + var EventPluginUtils = { + isEndish: isEndish, + isMoveish: isMoveish, + isStartish: isStartish, + + executeDirectDispatch: executeDirectDispatch, + executeDispatchesInOrder: executeDispatchesInOrder, + executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue, + hasDispatches: hasDispatches, + + getInstanceFromNode: function getInstanceFromNode(node) { + return ComponentTree.getInstanceFromNode(node); + }, + getNodeFromInstance: function getNodeFromInstance(node) { + return ComponentTree.getNodeFromInstance(node); + }, + isAncestor: function isAncestor(a, b) { + return TreeTraversal.isAncestor(a, b); + }, + getLowestCommonAncestor: function getLowestCommonAncestor(a, b) { + return TreeTraversal.getLowestCommonAncestor(a, b); + }, + getParentInstance: function getParentInstance(inst) { + return TreeTraversal.getParentInstance(inst); + }, + traverseTwoPhase: function traverseTwoPhase(target, fn, arg) { + return TreeTraversal.traverseTwoPhase(target, fn, arg); + }, + traverseEnterLeave: function traverseEnterLeave(from, to, fn, argFrom, argTo) { + return TreeTraversal.traverseEnterLeave(from, to, fn, argFrom, argTo); + }, + + injection: injection + }; + + module.exports = EventPluginUtils; + +/***/ }, +/* 62 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + /** + * Escape and wrap key so it is safe to use as a reactid + * + * @param {string} key to be escaped. + * @return {string} the escaped key. + */ + + function escape(key) { + var escapeRegex = /[=:]/g; + var escaperLookup = { + '=': '=0', + ':': '=2' + }; + var escapedString = ('' + key).replace(escapeRegex, function (match) { + return escaperLookup[match]; + }); + + return '$' + escapedString; + } + + /** + * Unescape and unwrap key for human-readable display + * + * @param {string} key to unescape. + * @return {string} the unescaped key. + */ + function unescape(key) { + var unescapeRegex = /(=0|=2)/g; + var unescaperLookup = { + '=0': '=', + '=2': ':' + }; + var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1); + + return ('' + keySubstring).replace(unescapeRegex, function (match) { + return unescaperLookup[match]; + }); + } + + var KeyEscapeUtils = { + escape: escape, + unescape: unescape + }; + + module.exports = KeyEscapeUtils; + +/***/ }, +/* 63 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var React = __webpack_require__(20); + var ReactPropTypesSecret = __webpack_require__(220); + + var invariant = __webpack_require__(3); + var warning = __webpack_require__(5); + + var hasReadOnlyValue = { + 'button': true, + 'checkbox': true, + 'image': true, + 'hidden': true, + 'radio': true, + 'reset': true, + 'submit': true + }; + + function _assertSingleLink(inputProps) { + !(inputProps.checkedLink == null || inputProps.valueLink == null) ? false ? invariant(false, 'Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don\'t want to use valueLink and vice versa.') : _prodInvariant('87') : void 0; + } + function _assertValueLink(inputProps) { + _assertSingleLink(inputProps); + !(inputProps.value == null && inputProps.onChange == null) ? false ? invariant(false, 'Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don\'t want to use valueLink.') : _prodInvariant('88') : void 0; + } + + function _assertCheckedLink(inputProps) { + _assertSingleLink(inputProps); + !(inputProps.checked == null && inputProps.onChange == null) ? false ? invariant(false, 'Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don\'t want to use checkedLink') : _prodInvariant('89') : void 0; + } + + var propTypes = { + value: function value(props, propName, componentName) { + if (!props[propName] || hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled) { + return null; + } + return new Error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.'); + }, + checked: function checked(props, propName, componentName) { + if (!props[propName] || props.onChange || props.readOnly || props.disabled) { + return null; + } + return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.'); + }, + onChange: React.PropTypes.func + }; + + var loggedTypeFailures = {}; + function getDeclarationErrorAddendum(owner) { + if (owner) { + var name = owner.getName(); + if (name) { + return ' Check the render method of `' + name + '`.'; + } + } + return ''; + } + + /** + * Provide a linked `value` attribute for controlled forms. You should not use + * this outside of the ReactDOM controlled form components. + */ + var LinkedValueUtils = { + checkPropTypes: function checkPropTypes(tagName, props, owner) { + for (var propName in propTypes) { + if (propTypes.hasOwnProperty(propName)) { + var error = propTypes[propName](props, propName, tagName, 'prop', null, ReactPropTypesSecret); + } + if (error instanceof Error && !(error.message in loggedTypeFailures)) { + // Only monitor this failure once because there tends to be a lot of the + // same error. + loggedTypeFailures[error.message] = true; + + var addendum = getDeclarationErrorAddendum(owner); + false ? warning(false, 'Failed form propType: %s%s', error.message, addendum) : void 0; + } + } + }, + + /** + * @param {object} inputProps Props for form component + * @return {*} current value of the input either from value prop or link. + */ + getValue: function getValue(inputProps) { + if (inputProps.valueLink) { + _assertValueLink(inputProps); + return inputProps.valueLink.value; + } + return inputProps.value; + }, + + /** + * @param {object} inputProps Props for form component + * @return {*} current checked status of the input either from checked prop + * or link. + */ + getChecked: function getChecked(inputProps) { + if (inputProps.checkedLink) { + _assertCheckedLink(inputProps); + return inputProps.checkedLink.value; + } + return inputProps.checked; + }, + + /** + * @param {object} inputProps Props for form component + * @param {SyntheticEvent} event change event to handle + */ + executeOnChange: function executeOnChange(inputProps, event) { + if (inputProps.valueLink) { + _assertValueLink(inputProps); + return inputProps.valueLink.requestChange(event.target.value); + } else if (inputProps.checkedLink) { + _assertCheckedLink(inputProps); + return inputProps.checkedLink.requestChange(event.target.checked); + } else if (inputProps.onChange) { + return inputProps.onChange.call(undefined, event); + } + } + }; + + module.exports = LinkedValueUtils; + +/***/ }, +/* 64 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(3); + + var injected = false; + + var ReactComponentEnvironment = { + + /** + * Optionally injectable hook for swapping out mount images in the middle of + * the tree. + */ + replaceNodeWithMarkup: null, + + /** + * Optionally injectable hook for processing a queue of child updates. Will + * later move into MultiChildComponents. + */ + processChildrenUpdates: null, + + injection: { + injectEnvironment: function injectEnvironment(environment) { + !!injected ? false ? invariant(false, 'ReactCompositeComponent: injectEnvironment() can only be called once.') : _prodInvariant('104') : void 0; + ReactComponentEnvironment.replaceNodeWithMarkup = environment.replaceNodeWithMarkup; + ReactComponentEnvironment.processChildrenUpdates = environment.processChildrenUpdates; + injected = true; + } + } + + }; + + module.exports = ReactComponentEnvironment; + +/***/ }, +/* 65 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var caughtError = null; + + /** + * Call a function while guarding against errors that happens within it. + * + * @param {String} name of the guard to use for logging or debugging + * @param {Function} func The function to invoke + * @param {*} a First argument + * @param {*} b Second argument + */ + function invokeGuardedCallback(name, func, a) { + try { + func(a); + } catch (x) { + if (caughtError === null) { + caughtError = x; + } + } + } + + var ReactErrorUtils = { + invokeGuardedCallback: invokeGuardedCallback, + + /** + * Invoked by ReactTestUtils.Simulate so that any errors thrown by the event + * handler are sure to be rethrown by rethrowCaughtError. + */ + invokeGuardedCallbackWithCatch: invokeGuardedCallback, + + /** + * During execution of guarded functions we will capture the first error which + * we will rethrow to be handled by the top level error handler. + */ + rethrowCaughtError: function rethrowCaughtError() { + if (caughtError) { + var error = caughtError; + caughtError = null; + throw error; + } + } + }; + + if (false) { + /** + * To help development we can get better devtools integration by simulating a + * real browser event. + */ + if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') { + var fakeNode = document.createElement('react'); + ReactErrorUtils.invokeGuardedCallback = function (name, func, a) { + var boundFunc = func.bind(null, a); + var evtType = 'react-' + name; + fakeNode.addEventListener(evtType, boundFunc, false); + var evt = document.createEvent('Event'); + // $FlowFixMe https://github.com/facebook/flow/issues/2336 + evt.initEvent(evtType, false, false); + fakeNode.dispatchEvent(evt); + fakeNode.removeEventListener(evtType, boundFunc, false); + }; + } + } + + module.exports = ReactErrorUtils; + +/***/ }, +/* 66 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2015-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(4); + + var ReactCurrentOwner = __webpack_require__(21); + var ReactInstanceMap = __webpack_require__(33); + var ReactInstrumentation = __webpack_require__(14); + var ReactUpdates = __webpack_require__(15); + + var invariant = __webpack_require__(3); + var warning = __webpack_require__(5); + + function enqueueUpdate(internalInstance) { + ReactUpdates.enqueueUpdate(internalInstance); + } + + function formatUnexpectedArgument(arg) { + var type = typeof arg === 'undefined' ? 'undefined' : _typeof(arg); + if (type !== 'object') { + return type; + } + var displayName = arg.constructor && arg.constructor.name || type; + var keys = Object.keys(arg); + if (keys.length > 0 && keys.length < 20) { + return displayName + ' (keys: ' + keys.join(', ') + ')'; + } + return displayName; + } + + function getInternalInstanceReadyForUpdate(publicInstance, callerName) { + var internalInstance = ReactInstanceMap.get(publicInstance); + if (!internalInstance) { + if (false) { + var ctor = publicInstance.constructor; + // Only warn when we have a callerName. Otherwise we should be silent. + // We're probably calling from enqueueCallback. We don't want to warn + // there because we already warned for the corresponding lifecycle method. + process.env.NODE_ENV !== 'production' ? warning(!callerName, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, ctor && (ctor.displayName || ctor.name) || 'ReactClass') : void 0; + } + return null; + } + + if (false) { + process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition (such as ' + 'within `render` or another component\'s constructor). Render methods ' + 'should be a pure function of props and state; constructor ' + 'side-effects are an anti-pattern, but can be moved to ' + '`componentWillMount`.', callerName) : void 0; + } + + return internalInstance; + } + + /** + * ReactUpdateQueue allows for state updates to be scheduled into a later + * reconciliation step. + */ + var ReactUpdateQueue = { + + /** + * Checks whether or not this composite component is mounted. + * @param {ReactClass} publicInstance The instance we want to test. + * @return {boolean} True if mounted, false otherwise. + * @protected + * @final + */ + isMounted: function isMounted(publicInstance) { + if (false) { + var owner = ReactCurrentOwner.current; + if (owner !== null) { + process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : void 0; + owner._warnedAboutRefsInRender = true; + } + } + var internalInstance = ReactInstanceMap.get(publicInstance); + if (internalInstance) { + // During componentWillMount and render this will still be null but after + // that will always render to something. At least for now. So we can use + // this hack. + return !!internalInstance._renderedComponent; + } else { + return false; + } + }, + + /** + * Enqueue a callback that will be executed after all the pending updates + * have processed. + * + * @param {ReactClass} publicInstance The instance to use as `this` context. + * @param {?function} callback Called after state is updated. + * @param {string} callerName Name of the calling function in the public API. + * @internal + */ + enqueueCallback: function enqueueCallback(publicInstance, callback, callerName) { + ReactUpdateQueue.validateCallback(callback, callerName); + var internalInstance = getInternalInstanceReadyForUpdate(publicInstance); + + // Previously we would throw an error if we didn't have an internal + // instance. Since we want to make it a no-op instead, we mirror the same + // behavior we have in other enqueue* methods. + // We also need to ignore callbacks in componentWillMount. See + // enqueueUpdates. + if (!internalInstance) { + return null; + } + + if (internalInstance._pendingCallbacks) { + internalInstance._pendingCallbacks.push(callback); + } else { + internalInstance._pendingCallbacks = [callback]; + } + // TODO: The callback here is ignored when setState is called from + // componentWillMount. Either fix it or disallow doing so completely in + // favor of getInitialState. Alternatively, we can disallow + // componentWillMount during server-side rendering. + enqueueUpdate(internalInstance); + }, + + enqueueCallbackInternal: function enqueueCallbackInternal(internalInstance, callback) { + if (internalInstance._pendingCallbacks) { + internalInstance._pendingCallbacks.push(callback); + } else { + internalInstance._pendingCallbacks = [callback]; + } + enqueueUpdate(internalInstance); + }, + + /** + * Forces an update. This should only be invoked when it is known with + * certainty that we are **not** in a DOM transaction. + * + * You may want to call this when you know that some deeper aspect of the + * component's state has changed but `setState` was not called. + * + * This will not invoke `shouldComponentUpdate`, but it will invoke + * `componentWillUpdate` and `componentDidUpdate`. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @internal + */ + enqueueForceUpdate: function enqueueForceUpdate(publicInstance) { + var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'forceUpdate'); + + if (!internalInstance) { + return; + } + + internalInstance._pendingForceUpdate = true; + + enqueueUpdate(internalInstance); + }, + + /** + * Replaces all of the state. Always use this or `setState` to mutate state. + * You should treat `this.state` as immutable. + * + * There is no guarantee that `this.state` will be immediately updated, so + * accessing `this.state` after calling this method may return the old value. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} completeState Next state. + * @internal + */ + enqueueReplaceState: function enqueueReplaceState(publicInstance, completeState) { + var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceState'); + + if (!internalInstance) { + return; + } + + internalInstance._pendingStateQueue = [completeState]; + internalInstance._pendingReplaceState = true; + + enqueueUpdate(internalInstance); + }, + + /** + * Sets a subset of the state. This only exists because _pendingState is + * internal. This provides a merging strategy that is not available to deep + * properties which is confusing. TODO: Expose pendingState or don't use it + * during the merge. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} partialState Next partial state to be merged with state. + * @internal + */ + enqueueSetState: function enqueueSetState(publicInstance, partialState) { + if (false) { + ReactInstrumentation.debugTool.onSetState(); + process.env.NODE_ENV !== 'production' ? warning(partialState != null, 'setState(...): You passed an undefined or null state object; ' + 'instead, use forceUpdate().') : void 0; + } + + var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'setState'); + + if (!internalInstance) { + return; + } + + var queue = internalInstance._pendingStateQueue || (internalInstance._pendingStateQueue = []); + queue.push(partialState); + + enqueueUpdate(internalInstance); + }, + + enqueueElementInternal: function enqueueElementInternal(internalInstance, nextElement, nextContext) { + internalInstance._pendingElement = nextElement; + // TODO: introduce _pendingContext instead of setting it directly. + internalInstance._context = nextContext; + enqueueUpdate(internalInstance); + }, + + validateCallback: function validateCallback(callback, callerName) { + !(!callback || typeof callback === 'function') ? false ? invariant(false, '%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.', callerName, formatUnexpectedArgument(callback)) : _prodInvariant('122', callerName, formatUnexpectedArgument(callback)) : void 0; + } + + }; + + module.exports = ReactUpdateQueue; + +/***/ }, +/* 67 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + /* globals MSApp */ + + 'use strict'; + + /** + * Create a function which has 'unsafe' privileges (required by windows8 apps) + */ + + var createMicrosoftUnsafeLocalFunction = function createMicrosoftUnsafeLocalFunction(func) { + if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) { + return function (arg0, arg1, arg2, arg3) { + MSApp.execUnsafeLocalFunction(function () { + return func(arg0, arg1, arg2, arg3); + }); + }; + } else { + return func; + } + }; + + module.exports = createMicrosoftUnsafeLocalFunction; + +/***/ }, +/* 68 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * `charCode` represents the actual "character code" and is safe to use with + * `String.fromCharCode`. As such, only keys that correspond to printable + * characters produce a valid `charCode`, the only exception to this is Enter. + * The Tab-key is considered non-printable and does not have a `charCode`, + * presumably because it does not produce a tab-character in browsers. + * + * @param {object} nativeEvent Native browser event. + * @return {number} Normalized `charCode` property. + */ + + function getEventCharCode(nativeEvent) { + var charCode; + var keyCode = nativeEvent.keyCode; + + if ('charCode' in nativeEvent) { + charCode = nativeEvent.charCode; + + // FF does not set `charCode` for the Enter-key, check against `keyCode`. + if (charCode === 0 && keyCode === 13) { + charCode = 13; + } + } else { + // IE8 does not implement `charCode`, but `keyCode` has the correct value. + charCode = keyCode; + } + + // Some non-printable keys are reported in `charCode`/`keyCode`, discard them. + // Must not discard the (non-)printable Enter-key. + if (charCode >= 32 || charCode === 13) { + return charCode; + } + + return 0; + } + + module.exports = getEventCharCode; + +/***/ }, +/* 69 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * Translation from modifier key to the associated property in the event. + * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers + */ + + var modifierKeyToProp = { + 'Alt': 'altKey', + 'Control': 'ctrlKey', + 'Meta': 'metaKey', + 'Shift': 'shiftKey' + }; + + // IE8 does not implement getModifierState so we simply map it to the only + // modifier keys exposed by the event itself, does not support Lock-keys. + // Currently, all major browsers except Chrome seems to support Lock-keys. + function modifierStateGetter(keyArg) { + var syntheticEvent = this; + var nativeEvent = syntheticEvent.nativeEvent; + if (nativeEvent.getModifierState) { + return nativeEvent.getModifierState(keyArg); + } + var keyProp = modifierKeyToProp[keyArg]; + return keyProp ? !!nativeEvent[keyProp] : false; + } + + function getEventModifierState(nativeEvent) { + return modifierStateGetter; + } + + module.exports = getEventModifierState; + +/***/ }, +/* 70 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * Gets the target node from a native browser event by accounting for + * inconsistencies in browser DOM APIs. + * + * @param {object} nativeEvent Native browser event. + * @return {DOMEventTarget} Target node. + */ + + function getEventTarget(nativeEvent) { + var target = nativeEvent.target || nativeEvent.srcElement || window; + + // Normalize SVG element events #4963 + if (target.correspondingUseElement) { + target = target.correspondingUseElement; + } + + // Safari may fire events on text nodes (Node.TEXT_NODE is 3). + // @see http://www.quirksmode.org/js/events_properties.html + return target.nodeType === 3 ? target.parentNode : target; + } + + module.exports = getEventTarget; + +/***/ }, +/* 71 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(10); + + var useHasFeature; + if (ExecutionEnvironment.canUseDOM) { + useHasFeature = document.implementation && document.implementation.hasFeature && + // always returns true in newer browsers as per the standard. + // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature + document.implementation.hasFeature('', '') !== true; + } + + /** + * Checks if an event is supported in the current execution environment. + * + * NOTE: This will not work correctly for non-generic events such as `change`, + * `reset`, `load`, `error`, and `select`. + * + * Borrows from Modernizr. + * + * @param {string} eventNameSuffix Event name, e.g. "click". + * @param {?boolean} capture Check if the capture phase is supported. + * @return {boolean} True if the event is supported. + * @internal + * @license Modernizr 3.0.0pre (Custom Build) | MIT + */ + function isEventSupported(eventNameSuffix, capture) { + if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) { + return false; + } + + var eventName = 'on' + eventNameSuffix; + var isSupported = eventName in document; + + if (!isSupported) { + var element = document.createElement('div'); + element.setAttribute(eventName, 'return;'); + isSupported = typeof element[eventName] === 'function'; + } + + if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') { + // This is the only way to test support for the `wheel` event in IE9+. + isSupported = document.implementation.hasFeature('Events.wheel', '3.0'); + } + + return isSupported; + } + + module.exports = isEventSupported; + +/***/ }, +/* 72 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * Given a `prevElement` and `nextElement`, determines if the existing + * instance should be updated as opposed to being destroyed or replaced by a new + * instance. Both arguments are elements. This ensures that this logic can + * operate on stateless trees without any backing instance. + * + * @param {?object} prevElement + * @param {?object} nextElement + * @return {boolean} True if the existing instance should be updated. + * @protected + */ + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + function shouldUpdateReactComponent(prevElement, nextElement) { + var prevEmpty = prevElement === null || prevElement === false; + var nextEmpty = nextElement === null || nextElement === false; + if (prevEmpty || nextEmpty) { + return prevEmpty === nextEmpty; + } + + var prevType = typeof prevElement === 'undefined' ? 'undefined' : _typeof(prevElement); + var nextType = typeof nextElement === 'undefined' ? 'undefined' : _typeof(nextElement); + if (prevType === 'string' || prevType === 'number') { + return nextType === 'string' || nextType === 'number'; + } else { + return nextType === 'object' && prevElement.type === nextElement.type && prevElement.key === nextElement.key; + } + } + + module.exports = shouldUpdateReactComponent; + +/***/ }, +/* 73 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2015-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var emptyFunction = __webpack_require__(19); + var warning = __webpack_require__(5); + + var validateDOMNesting = emptyFunction; + + if (false) { + // This validation code was written based on the HTML5 parsing spec: + // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope + // + // Note: this does not catch all invalid nesting, nor does it try to (as it's + // not clear what practical benefit doing so provides); instead, we warn only + // for cases where the parser will give a parse tree differing from what React + // intended. For example,
is invalid but we don't warn + // because it still parses correctly; we do warn for other cases like nested + //

tags where the beginning of the second element implicitly closes the + // first, causing a confusing mess. + + // https://html.spec.whatwg.org/multipage/syntax.html#special + var specialTags = ['address', 'applet', 'area', 'article', 'aside', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'button', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'iframe', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'main', 'marquee', 'menu', 'menuitem', 'meta', 'nav', 'noembed', 'noframes', 'noscript', 'object', 'ol', 'p', 'param', 'plaintext', 'pre', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'wbr', 'xmp']; + + // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope + var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template', + + // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point + // TODO: Distinguish by namespace here -- for , including it here + // errs on the side of fewer warnings + 'foreignObject', 'desc', 'title']; + + // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope + var buttonScopeTags = inScopeTags.concat(['button']); + + // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags + var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt']; + + var emptyAncestorInfo = { + current: null, + + formTag: null, + aTagInScope: null, + buttonTagInScope: null, + nobrTagInScope: null, + pTagInButtonScope: null, + + listItemTagAutoclosing: null, + dlItemTagAutoclosing: null + }; + + var updatedAncestorInfo = function updatedAncestorInfo(oldInfo, tag, instance) { + var ancestorInfo = _assign({}, oldInfo || emptyAncestorInfo); + var info = { tag: tag, instance: instance }; + + if (inScopeTags.indexOf(tag) !== -1) { + ancestorInfo.aTagInScope = null; + ancestorInfo.buttonTagInScope = null; + ancestorInfo.nobrTagInScope = null; + } + if (buttonScopeTags.indexOf(tag) !== -1) { + ancestorInfo.pTagInButtonScope = null; + } + + // See rules for 'li', 'dd', 'dt' start tags in + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody + if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') { + ancestorInfo.listItemTagAutoclosing = null; + ancestorInfo.dlItemTagAutoclosing = null; + } + + ancestorInfo.current = info; + + if (tag === 'form') { + ancestorInfo.formTag = info; + } + if (tag === 'a') { + ancestorInfo.aTagInScope = info; + } + if (tag === 'button') { + ancestorInfo.buttonTagInScope = info; + } + if (tag === 'nobr') { + ancestorInfo.nobrTagInScope = info; + } + if (tag === 'p') { + ancestorInfo.pTagInButtonScope = info; + } + if (tag === 'li') { + ancestorInfo.listItemTagAutoclosing = info; + } + if (tag === 'dd' || tag === 'dt') { + ancestorInfo.dlItemTagAutoclosing = info; + } + + return ancestorInfo; + }; + + /** + * Returns whether + */ + var isTagValidWithParent = function isTagValidWithParent(tag, parentTag) { + // First, let's check if we're in an unusual parsing mode... + switch (parentTag) { + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect + case 'select': + return tag === 'option' || tag === 'optgroup' || tag === '#text'; + case 'optgroup': + return tag === 'option' || tag === '#text'; + // Strictly speaking, seeing an <option> doesn't mean we're in a <select> + // but + case 'option': + return tag === '#text'; + + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption + // No special behavior since these rules fall back to "in body" mode for + // all except special table nodes which cause bad parsing behavior anyway. + + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr + case 'tr': + return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template'; + + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody + case 'tbody': + case 'thead': + case 'tfoot': + return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template'; + + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup + case 'colgroup': + return tag === 'col' || tag === 'template'; + + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable + case 'table': + return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template'; + + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead + case 'head': + return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template'; + + // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element + case 'html': + return tag === 'head' || tag === 'body'; + case '#document': + return tag === 'html'; + } + + // Probably in the "in body" parsing mode, so we outlaw only tag combos + // where the parsing rules cause implicit opens or closes to be added. + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody + switch (tag) { + case 'h1': + case 'h2': + case 'h3': + case 'h4': + case 'h5': + case 'h6': + return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6'; + + case 'rp': + case 'rt': + return impliedEndTags.indexOf(parentTag) === -1; + + case 'body': + case 'caption': + case 'col': + case 'colgroup': + case 'frame': + case 'head': + case 'html': + case 'tbody': + case 'td': + case 'tfoot': + case 'th': + case 'thead': + case 'tr': + // These tags are only valid with a few parents that have special child + // parsing rules -- if we're down here, then none of those matched and + // so we allow it only if we don't know what the parent is, as all other + // cases are invalid. + return parentTag == null; + } + + return true; + }; + + /** + * Returns whether + */ + var findInvalidAncestorForTag = function findInvalidAncestorForTag(tag, ancestorInfo) { + switch (tag) { + case 'address': + case 'article': + case 'aside': + case 'blockquote': + case 'center': + case 'details': + case 'dialog': + case 'dir': + case 'div': + case 'dl': + case 'fieldset': + case 'figcaption': + case 'figure': + case 'footer': + case 'header': + case 'hgroup': + case 'main': + case 'menu': + case 'nav': + case 'ol': + case 'p': + case 'section': + case 'summary': + case 'ul': + + case 'pre': + case 'listing': + + case 'table': + + case 'hr': + + case 'xmp': + + case 'h1': + case 'h2': + case 'h3': + case 'h4': + case 'h5': + case 'h6': + return ancestorInfo.pTagInButtonScope; + + case 'form': + return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope; + + case 'li': + return ancestorInfo.listItemTagAutoclosing; + + case 'dd': + case 'dt': + return ancestorInfo.dlItemTagAutoclosing; + + case 'button': + return ancestorInfo.buttonTagInScope; + + case 'a': + // Spec says something about storing a list of markers, but it sounds + // equivalent to this check. + return ancestorInfo.aTagInScope; + + case 'nobr': + return ancestorInfo.nobrTagInScope; + } + + return null; + }; + + /** + * Given a ReactCompositeComponent instance, return a list of its recursive + * owners, starting at the root and ending with the instance itself. + */ + var findOwnerStack = function findOwnerStack(instance) { + if (!instance) { + return []; + } + + var stack = []; + do { + stack.push(instance); + } while (instance = instance._currentElement._owner); + stack.reverse(); + return stack; + }; + + var didWarn = {}; + + validateDOMNesting = function validateDOMNesting(childTag, childText, childInstance, ancestorInfo) { + ancestorInfo = ancestorInfo || emptyAncestorInfo; + var parentInfo = ancestorInfo.current; + var parentTag = parentInfo && parentInfo.tag; + + if (childText != null) { + process.env.NODE_ENV !== 'production' ? warning(childTag == null, 'validateDOMNesting: when childText is passed, childTag should be null') : void 0; + childTag = '#text'; + } + + var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo; + var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo); + var problematic = invalidParent || invalidAncestor; + + if (problematic) { + var ancestorTag = problematic.tag; + var ancestorInstance = problematic.instance; + + var childOwner = childInstance && childInstance._currentElement._owner; + var ancestorOwner = ancestorInstance && ancestorInstance._currentElement._owner; + + var childOwners = findOwnerStack(childOwner); + var ancestorOwners = findOwnerStack(ancestorOwner); + + var minStackLen = Math.min(childOwners.length, ancestorOwners.length); + var i; + + var deepestCommon = -1; + for (i = 0; i < minStackLen; i++) { + if (childOwners[i] === ancestorOwners[i]) { + deepestCommon = i; + } else { + break; + } + } + + var UNKNOWN = '(unknown)'; + var childOwnerNames = childOwners.slice(deepestCommon + 1).map(function (inst) { + return inst.getName() || UNKNOWN; + }); + var ancestorOwnerNames = ancestorOwners.slice(deepestCommon + 1).map(function (inst) { + return inst.getName() || UNKNOWN; + }); + var ownerInfo = [].concat( + // If the parent and child instances have a common owner ancestor, start + // with that -- otherwise we just start with the parent's owners. + deepestCommon !== -1 ? childOwners[deepestCommon].getName() || UNKNOWN : [], ancestorOwnerNames, ancestorTag, + // If we're warning about an invalid (non-parent) ancestry, add '...' + invalidAncestor ? ['...'] : [], childOwnerNames, childTag).join(' > '); + + var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + ownerInfo; + if (didWarn[warnKey]) { + return; + } + didWarn[warnKey] = true; + + var tagDisplayName = childTag; + var whitespaceInfo = ''; + if (childTag === '#text') { + if (/\S/.test(childText)) { + tagDisplayName = 'Text nodes'; + } else { + tagDisplayName = 'Whitespace text nodes'; + whitespaceInfo = ' Make sure you don\'t have any extra whitespace between tags on ' + 'each line of your source code.'; + } + } else { + tagDisplayName = '<' + childTag + '>'; + } + + if (invalidParent) { + var info = ''; + if (ancestorTag === 'table' && childTag === 'tr') { + info += ' Add a <tbody> to your code to match the DOM tree generated by ' + 'the browser.'; + } + process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a child of <%s>.%s ' + 'See %s.%s', tagDisplayName, ancestorTag, whitespaceInfo, ownerInfo, info) : void 0; + } else { + process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>. See %s.', tagDisplayName, ancestorTag, ownerInfo) : void 0; + } + } + }; + + validateDOMNesting.updatedAncestorInfo = updatedAncestorInfo; + + // For testing + validateDOMNesting.isTagValidInContext = function (tag, ancestorInfo) { + ancestorInfo = ancestorInfo || emptyAncestorInfo; + var parentInfo = ancestorInfo.current; + var parentTag = parentInfo && parentInfo.tag; + return isTagValidWithParent(tag, parentTag) && !findInvalidAncestorForTag(tag, ancestorInfo); + }; + } + + module.exports = validateDOMNesting; + +/***/ }, +/* 74 */ +/***/ function(module, exports) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + * + */ + + /*eslint-disable no-self-compare */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var hasOwnProperty = Object.prototype.hasOwnProperty; + + /** + * inlined Object.is polyfill to avoid requiring consumers ship their own + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is + */ + function is(x, y) { + // SameValue algorithm + if (x === y) { + // Steps 1-5, 7-10 + // Steps 6.b-6.e: +0 != -0 + // Added the nonzero y check to make Flow happy, but it is redundant + return x !== 0 || y !== 0 || 1 / x === 1 / y; + } else { + // Step 6.a: NaN == NaN + return x !== x && y !== y; + } + } + + /** + * Performs equality by iterating through keys on an object and returning false + * when any key has values which are not strictly equal between the arguments. + * Returns true when the values of all keys are strictly equal. + */ + function shallowEqual(objA, objB) { + if (is(objA, objB)) { + return true; + } + + if ((typeof objA === 'undefined' ? 'undefined' : _typeof(objA)) !== 'object' || objA === null || (typeof objB === 'undefined' ? 'undefined' : _typeof(objB)) !== 'object' || objB === null) { + return false; + } + + var keysA = Object.keys(objA); + var keysB = Object.keys(objB); + + if (keysA.length !== keysB.length) { + return false; + } + + // Test for A's keys different from B. + for (var i = 0; i < keysA.length; i++) { + if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) { + return false; + } + } + + return true; + } + + module.exports = shallowEqual; + +/***/ }, +/* 75 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(36); + + var ReactNoopUpdateQueue = __webpack_require__(77); + + var canDefineProperty = __webpack_require__(127); + var emptyObject = __webpack_require__(78); + var invariant = __webpack_require__(28); + var warning = __webpack_require__(22); + + /** + * Base class helpers for the updating state of a component. + */ + function ReactComponent(props, context, updater) { + this.props = props; + this.context = context; + this.refs = emptyObject; + // We initialize the default updater but the real one gets injected by the + // renderer. + this.updater = updater || ReactNoopUpdateQueue; + } + + ReactComponent.prototype.isReactComponent = {}; + + /** + * Sets a subset of the state. Always use this to mutate + * state. You should treat `this.state` as immutable. + * + * There is no guarantee that `this.state` will be immediately updated, so + * accessing `this.state` after calling this method may return the old value. + * + * There is no guarantee that calls to `setState` will run synchronously, + * as they may eventually be batched together. You can provide an optional + * callback that will be executed when the call to setState is actually + * completed. + * + * When a function is provided to setState, it will be called at some point in + * the future (not synchronously). It will be called with the up to date + * component arguments (state, props, context). These values can be different + * from this.* because your function may be called after receiveProps but before + * shouldComponentUpdate, and this new state, props, and context will not yet be + * assigned to this. + * + * @param {object|function} partialState Next partial state or function to + * produce next partial state to be merged with current state. + * @param {?function} callback Called after state is updated. + * @final + * @protected + */ + ReactComponent.prototype.setState = function (partialState, callback) { + !((typeof partialState === 'undefined' ? 'undefined' : _typeof(partialState)) === 'object' || typeof partialState === 'function' || partialState == null) ? false ? invariant(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : _prodInvariant('85') : void 0; + this.updater.enqueueSetState(this, partialState); + if (callback) { + this.updater.enqueueCallback(this, callback, 'setState'); + } + }; + + /** + * Forces an update. This should only be invoked when it is known with + * certainty that we are **not** in a DOM transaction. + * + * You may want to call this when you know that some deeper aspect of the + * component's state has changed but `setState` was not called. + * + * This will not invoke `shouldComponentUpdate`, but it will invoke + * `componentWillUpdate` and `componentDidUpdate`. + * + * @param {?function} callback Called after update is complete. + * @final + * @protected + */ + ReactComponent.prototype.forceUpdate = function (callback) { + this.updater.enqueueForceUpdate(this); + if (callback) { + this.updater.enqueueCallback(this, callback, 'forceUpdate'); + } + }; + + /** + * Deprecated APIs. These APIs used to exist on classic React classes but since + * we would like to deprecate them, we're not going to move them over to this + * modern base class. Instead, we define a getter that warns if it's accessed. + */ + if (false) { + var deprecatedAPIs = { + isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'], + replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).'] + }; + var defineDeprecationWarning = function defineDeprecationWarning(methodName, info) { + if (canDefineProperty) { + Object.defineProperty(ReactComponent.prototype, methodName, { + get: function get() { + process.env.NODE_ENV !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : void 0; + return undefined; + } + }); + } + }; + for (var fnName in deprecatedAPIs) { + if (deprecatedAPIs.hasOwnProperty(fnName)) { + defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); + } + } + } + + module.exports = ReactComponent; + +/***/ }, +/* 76 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2016-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(36); + + var ReactCurrentOwner = __webpack_require__(21); + + var invariant = __webpack_require__(28); + var warning = __webpack_require__(22); + + function isNative(fn) { + // Based on isNative() from Lodash + var funcToString = Function.prototype.toString; + var hasOwnProperty = Object.prototype.hasOwnProperty; + var reIsNative = RegExp('^' + funcToString + // Take an example native function source for comparison + .call(hasOwnProperty) + // Strip regex characters so we can use it for regex + .replace(/[\\^$.*+?()[\]{}|]/g, '\\$&') + // Remove hasOwnProperty from the template to make it generic + .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'); + try { + var source = funcToString.call(fn); + return reIsNative.test(source); + } catch (err) { + return false; + } + } + + var canUseCollections = + // Array.from + typeof Array.from === 'function' && + // Map + typeof Map === 'function' && isNative(Map) && + // Map.prototype.keys + Map.prototype != null && typeof Map.prototype.keys === 'function' && isNative(Map.prototype.keys) && + // Set + typeof Set === 'function' && isNative(Set) && + // Set.prototype.keys + Set.prototype != null && typeof Set.prototype.keys === 'function' && isNative(Set.prototype.keys); + + var setItem; + var getItem; + var removeItem; + var getItemIDs; + var addRoot; + var removeRoot; + var getRootIDs; + + if (canUseCollections) { + var itemMap = new Map(); + var rootIDSet = new Set(); + + setItem = function setItem(id, item) { + itemMap.set(id, item); + }; + getItem = function getItem(id) { + return itemMap.get(id); + }; + removeItem = function removeItem(id) { + itemMap['delete'](id); + }; + getItemIDs = function getItemIDs() { + return Array.from(itemMap.keys()); + }; + + addRoot = function addRoot(id) { + rootIDSet.add(id); + }; + removeRoot = function removeRoot(id) { + rootIDSet['delete'](id); + }; + getRootIDs = function getRootIDs() { + return Array.from(rootIDSet.keys()); + }; + } else { + var itemByKey = {}; + var rootByKey = {}; + + // Use non-numeric keys to prevent V8 performance issues: + // https://github.com/facebook/react/pull/7232 + var getKeyFromID = function getKeyFromID(id) { + return '.' + id; + }; + var getIDFromKey = function getIDFromKey(key) { + return parseInt(key.substr(1), 10); + }; + + setItem = function setItem(id, item) { + var key = getKeyFromID(id); + itemByKey[key] = item; + }; + getItem = function getItem(id) { + var key = getKeyFromID(id); + return itemByKey[key]; + }; + removeItem = function removeItem(id) { + var key = getKeyFromID(id); + delete itemByKey[key]; + }; + getItemIDs = function getItemIDs() { + return Object.keys(itemByKey).map(getIDFromKey); + }; + + addRoot = function addRoot(id) { + var key = getKeyFromID(id); + rootByKey[key] = true; + }; + removeRoot = function removeRoot(id) { + var key = getKeyFromID(id); + delete rootByKey[key]; + }; + getRootIDs = function getRootIDs() { + return Object.keys(rootByKey).map(getIDFromKey); + }; + } + + var unmountedIDs = []; + + function purgeDeep(id) { + var item = getItem(id); + if (item) { + var childIDs = item.childIDs; + + removeItem(id); + childIDs.forEach(purgeDeep); + } + } + + function describeComponentFrame(name, source, ownerName) { + return '\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : ''); + } + + function _getDisplayName(element) { + if (element == null) { + return '#empty'; + } else if (typeof element === 'string' || typeof element === 'number') { + return '#text'; + } else if (typeof element.type === 'string') { + return element.type; + } else { + return element.type.displayName || element.type.name || 'Unknown'; + } + } + + function describeID(id) { + var name = ReactComponentTreeHook.getDisplayName(id); + var element = ReactComponentTreeHook.getElement(id); + var ownerID = ReactComponentTreeHook.getOwnerID(id); + var ownerName; + if (ownerID) { + ownerName = ReactComponentTreeHook.getDisplayName(ownerID); + } + false ? warning(element, 'ReactComponentTreeHook: Missing React element for debugID %s when ' + 'building stack', id) : void 0; + return describeComponentFrame(name, element && element._source, ownerName); + } + + var ReactComponentTreeHook = { + onSetChildren: function onSetChildren(id, nextChildIDs) { + var item = getItem(id); + !item ? false ? invariant(false, 'Item must have been set') : _prodInvariant('144') : void 0; + item.childIDs = nextChildIDs; + + for (var i = 0; i < nextChildIDs.length; i++) { + var nextChildID = nextChildIDs[i]; + var nextChild = getItem(nextChildID); + !nextChild ? false ? invariant(false, 'Expected hook events to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('140') : void 0; + !(nextChild.childIDs != null || _typeof(nextChild.element) !== 'object' || nextChild.element == null) ? false ? invariant(false, 'Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().') : _prodInvariant('141') : void 0; + !nextChild.isMounted ? false ? invariant(false, 'Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('71') : void 0; + if (nextChild.parentID == null) { + nextChild.parentID = id; + // TODO: This shouldn't be necessary but mounting a new root during in + // componentWillMount currently causes not-yet-mounted components to + // be purged from our tree data so their parent id is missing. + } + !(nextChild.parentID === id) ? false ? invariant(false, 'Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).', nextChildID, nextChild.parentID, id) : _prodInvariant('142', nextChildID, nextChild.parentID, id) : void 0; + } + }, + onBeforeMountComponent: function onBeforeMountComponent(id, element, parentID) { + var item = { + element: element, + parentID: parentID, + text: null, + childIDs: [], + isMounted: false, + updateCount: 0 + }; + setItem(id, item); + }, + onBeforeUpdateComponent: function onBeforeUpdateComponent(id, element) { + var item = getItem(id); + if (!item || !item.isMounted) { + // We may end up here as a result of setState() in componentWillUnmount(). + // In this case, ignore the element. + return; + } + item.element = element; + }, + onMountComponent: function onMountComponent(id) { + var item = getItem(id); + !item ? false ? invariant(false, 'Item must have been set') : _prodInvariant('144') : void 0; + item.isMounted = true; + var isRoot = item.parentID === 0; + if (isRoot) { + addRoot(id); + } + }, + onUpdateComponent: function onUpdateComponent(id) { + var item = getItem(id); + if (!item || !item.isMounted) { + // We may end up here as a result of setState() in componentWillUnmount(). + // In this case, ignore the element. + return; + } + item.updateCount++; + }, + onUnmountComponent: function onUnmountComponent(id) { + var item = getItem(id); + if (item) { + // We need to check if it exists. + // `item` might not exist if it is inside an error boundary, and a sibling + // error boundary child threw while mounting. Then this instance never + // got a chance to mount, but it still gets an unmounting event during + // the error boundary cleanup. + item.isMounted = false; + var isRoot = item.parentID === 0; + if (isRoot) { + removeRoot(id); + } + } + unmountedIDs.push(id); + }, + purgeUnmountedComponents: function purgeUnmountedComponents() { + if (ReactComponentTreeHook._preventPurging) { + // Should only be used for testing. + return; + } + + for (var i = 0; i < unmountedIDs.length; i++) { + var id = unmountedIDs[i]; + purgeDeep(id); + } + unmountedIDs.length = 0; + }, + isMounted: function isMounted(id) { + var item = getItem(id); + return item ? item.isMounted : false; + }, + getCurrentStackAddendum: function getCurrentStackAddendum(topElement) { + var info = ''; + if (topElement) { + var name = _getDisplayName(topElement); + var owner = topElement._owner; + info += describeComponentFrame(name, topElement._source, owner && owner.getName()); + } + + var currentOwner = ReactCurrentOwner.current; + var id = currentOwner && currentOwner._debugID; + + info += ReactComponentTreeHook.getStackAddendumByID(id); + return info; + }, + getStackAddendumByID: function getStackAddendumByID(id) { + var info = ''; + while (id) { + info += describeID(id); + id = ReactComponentTreeHook.getParentID(id); + } + return info; + }, + getChildIDs: function getChildIDs(id) { + var item = getItem(id); + return item ? item.childIDs : []; + }, + getDisplayName: function getDisplayName(id) { + var element = ReactComponentTreeHook.getElement(id); + if (!element) { + return null; + } + return _getDisplayName(element); + }, + getElement: function getElement(id) { + var item = getItem(id); + return item ? item.element : null; + }, + getOwnerID: function getOwnerID(id) { + var element = ReactComponentTreeHook.getElement(id); + if (!element || !element._owner) { + return null; + } + return element._owner._debugID; + }, + getParentID: function getParentID(id) { + var item = getItem(id); + return item ? item.parentID : null; + }, + getSource: function getSource(id) { + var item = getItem(id); + var element = item ? item.element : null; + var source = element != null ? element._source : null; + return source; + }, + getText: function getText(id) { + var element = ReactComponentTreeHook.getElement(id); + if (typeof element === 'string') { + return element; + } else if (typeof element === 'number') { + return '' + element; + } else { + return null; + } + }, + getUpdateCount: function getUpdateCount(id) { + var item = getItem(id); + return item ? item.updateCount : 0; + }, + + getRootIDs: getRootIDs, + getRegisteredIDs: getItemIDs + }; + + module.exports = ReactComponentTreeHook; + +/***/ }, +/* 77 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2015-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var warning = __webpack_require__(22); + + function warnNoop(publicInstance, callerName) { + if (false) { + var constructor = publicInstance.constructor; + process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0; + } + } + + /** + * This is the abstract API for an update queue. + */ + var ReactNoopUpdateQueue = { + + /** + * Checks whether or not this composite component is mounted. + * @param {ReactClass} publicInstance The instance we want to test. + * @return {boolean} True if mounted, false otherwise. + * @protected + * @final + */ + isMounted: function isMounted(publicInstance) { + return false; + }, + + /** + * Enqueue a callback that will be executed after all the pending updates + * have processed. + * + * @param {ReactClass} publicInstance The instance to use as `this` context. + * @param {?function} callback Called after state is updated. + * @internal + */ + enqueueCallback: function enqueueCallback(publicInstance, callback) {}, + + /** + * Forces an update. This should only be invoked when it is known with + * certainty that we are **not** in a DOM transaction. + * + * You may want to call this when you know that some deeper aspect of the + * component's state has changed but `setState` was not called. + * + * This will not invoke `shouldComponentUpdate`, but it will invoke + * `componentWillUpdate` and `componentDidUpdate`. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @internal + */ + enqueueForceUpdate: function enqueueForceUpdate(publicInstance) { + warnNoop(publicInstance, 'forceUpdate'); + }, + + /** + * Replaces all of the state. Always use this or `setState` to mutate state. + * You should treat `this.state` as immutable. + * + * There is no guarantee that `this.state` will be immediately updated, so + * accessing `this.state` after calling this method may return the old value. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} completeState Next state. + * @internal + */ + enqueueReplaceState: function enqueueReplaceState(publicInstance, completeState) { + warnNoop(publicInstance, 'replaceState'); + }, + + /** + * Sets a subset of the state. This only exists because _pendingState is + * internal. This provides a merging strategy that is not available to deep + * properties which is confusing. TODO: Expose pendingState or don't use it + * during the merge. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} partialState Next partial state to be merged with state. + * @internal + */ + enqueueSetState: function enqueueSetState(publicInstance, partialState) { + warnNoop(publicInstance, 'setState'); + } + }; + + module.exports = ReactNoopUpdateQueue; + +/***/ }, +/* 78 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var emptyObject = {}; + + if (false) { + Object.freeze(emptyObject); + } + + module.exports = emptyObject; + +/***/ }, +/* 79 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global, process) {'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + // Copyright Joyent, Inc. and other Node contributors. + // + // Permission is hereby granted, free of charge, to any person obtaining a + // copy of this software and associated documentation files (the + // "Software"), to deal in the Software without restriction, including + // without limitation the rights to use, copy, modify, merge, publish, + // distribute, sublicense, and/or sell copies of the Software, and to permit + // persons to whom the Software is furnished to do so, subject to the + // following conditions: + // + // The above copyright notice and this permission notice shall be included + // in all copies or substantial portions of the Software. + // + // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + // USE OR OTHER DEALINGS IN THE SOFTWARE. + + var formatRegExp = /%[sdj%]/g; + exports.format = function (f) { + if (!isString(f)) { + var objects = []; + for (var i = 0; i < arguments.length; i++) { + objects.push(inspect(arguments[i])); + } + return objects.join(' '); + } + + var i = 1; + var args = arguments; + var len = args.length; + var str = String(f).replace(formatRegExp, function (x) { + if (x === '%%') return '%'; + if (i >= len) return x; + switch (x) { + case '%s': + return String(args[i++]); + case '%d': + return Number(args[i++]); + case '%j': + try { + return JSON.stringify(args[i++]); + } catch (_) { + return '[Circular]'; + } + default: + return x; + } + }); + for (var x = args[i]; i < len; x = args[++i]) { + if (isNull(x) || !isObject(x)) { + str += ' ' + x; + } else { + str += ' ' + inspect(x); + } + } + return str; + }; + + // Mark that a method should not be used. + // Returns a modified function which warns once by default. + // If --no-deprecation is set, then it is a no-op. + exports.deprecate = function (fn, msg) { + // Allow for deprecating things in the process of starting up. + if (isUndefined(global.process)) { + return function () { + return exports.deprecate(fn, msg).apply(this, arguments); + }; + } + + if (process.noDeprecation === true) { + return fn; + } + + var warned = false; + function deprecated() { + if (!warned) { + if (process.throwDeprecation) { + throw new Error(msg); + } else if (process.traceDeprecation) { + console.trace(msg); + } else { + console.error(msg); + } + warned = true; + } + return fn.apply(this, arguments); + } + + return deprecated; + }; + + var debugs = {}; + var debugEnviron; + exports.debuglog = function (set) { + if (isUndefined(debugEnviron)) debugEnviron = ({"NODE_ENV":"production"}).NODE_DEBUG || ''; + set = set.toUpperCase(); + if (!debugs[set]) { + if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { + var pid = process.pid; + debugs[set] = function () { + var msg = exports.format.apply(exports, arguments); + console.error('%s %d: %s', set, pid, msg); + }; + } else { + debugs[set] = function () {}; + } + } + return debugs[set]; + }; + + /** + * Echos the value of a value. Trys to print the value out + * in the best way possible given the different types. + * + * @param {Object} obj The object to print out. + * @param {Object} opts Optional options object that alters the output. + */ + /* legacy: obj, showHidden, depth, colors*/ + function inspect(obj, opts) { + // default options + var ctx = { + seen: [], + stylize: stylizeNoColor + }; + // legacy... + if (arguments.length >= 3) ctx.depth = arguments[2]; + if (arguments.length >= 4) ctx.colors = arguments[3]; + if (isBoolean(opts)) { + // legacy... + ctx.showHidden = opts; + } else if (opts) { + // got an "options" object + exports._extend(ctx, opts); + } + // set default options + if (isUndefined(ctx.showHidden)) ctx.showHidden = false; + if (isUndefined(ctx.depth)) ctx.depth = 2; + if (isUndefined(ctx.colors)) ctx.colors = false; + if (isUndefined(ctx.customInspect)) ctx.customInspect = true; + if (ctx.colors) ctx.stylize = stylizeWithColor; + return formatValue(ctx, obj, ctx.depth); + } + exports.inspect = inspect; + + // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics + inspect.colors = { + 'bold': [1, 22], + 'italic': [3, 23], + 'underline': [4, 24], + 'inverse': [7, 27], + 'white': [37, 39], + 'grey': [90, 39], + 'black': [30, 39], + 'blue': [34, 39], + 'cyan': [36, 39], + 'green': [32, 39], + 'magenta': [35, 39], + 'red': [31, 39], + 'yellow': [33, 39] + }; + + // Don't use 'blue' not visible on cmd.exe + inspect.styles = { + 'special': 'cyan', + 'number': 'yellow', + 'boolean': 'yellow', + 'undefined': 'grey', + 'null': 'bold', + 'string': 'green', + 'date': 'magenta', + // "name": intentionally not styling + 'regexp': 'red' + }; + + function stylizeWithColor(str, styleType) { + var style = inspect.styles[styleType]; + + if (style) { + return '\x1B[' + inspect.colors[style][0] + 'm' + str + '\x1B[' + inspect.colors[style][1] + 'm'; + } else { + return str; + } + } + + function stylizeNoColor(str, styleType) { + return str; + } + + function arrayToHash(array) { + var hash = {}; + + array.forEach(function (val, idx) { + hash[val] = true; + }); + + return hash; + } + + function formatValue(ctx, value, recurseTimes) { + // Provide a hook for user-specified inspect functions. + // Check that value is an object with an inspect function on it + if (ctx.customInspect && value && isFunction(value.inspect) && + // Filter out the util module, it's inspect function is special + value.inspect !== exports.inspect && + // Also filter out any prototype objects using the circular check. + !(value.constructor && value.constructor.prototype === value)) { + var ret = value.inspect(recurseTimes, ctx); + if (!isString(ret)) { + ret = formatValue(ctx, ret, recurseTimes); + } + return ret; + } + + // Primitive types cannot have properties + var primitive = formatPrimitive(ctx, value); + if (primitive) { + return primitive; + } + + // Look up the keys of the object. + var keys = Object.keys(value); + var visibleKeys = arrayToHash(keys); + + if (ctx.showHidden) { + keys = Object.getOwnPropertyNames(value); + } + + // IE doesn't make error fields non-enumerable + // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx + if (isError(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { + return formatError(value); + } + + // Some type of object without properties can be shortcutted. + if (keys.length === 0) { + if (isFunction(value)) { + var name = value.name ? ': ' + value.name : ''; + return ctx.stylize('[Function' + name + ']', 'special'); + } + if (isRegExp(value)) { + return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); + } + if (isDate(value)) { + return ctx.stylize(Date.prototype.toString.call(value), 'date'); + } + if (isError(value)) { + return formatError(value); + } + } + + var base = '', + array = false, + braces = ['{', '}']; + + // Make Array say that they are Array + if (isArray(value)) { + array = true; + braces = ['[', ']']; + } + + // Make functions say that they are functions + if (isFunction(value)) { + var n = value.name ? ': ' + value.name : ''; + base = ' [Function' + n + ']'; + } + + // Make RegExps say that they are RegExps + if (isRegExp(value)) { + base = ' ' + RegExp.prototype.toString.call(value); + } + + // Make dates with properties first say the date + if (isDate(value)) { + base = ' ' + Date.prototype.toUTCString.call(value); + } + + // Make error with message first say the error + if (isError(value)) { + base = ' ' + formatError(value); + } + + if (keys.length === 0 && (!array || value.length == 0)) { + return braces[0] + base + braces[1]; + } + + if (recurseTimes < 0) { + if (isRegExp(value)) { + return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); + } else { + return ctx.stylize('[Object]', 'special'); + } + } + + ctx.seen.push(value); + + var output; + if (array) { + output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); + } else { + output = keys.map(function (key) { + return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); + }); + } + + ctx.seen.pop(); + + return reduceToSingleString(output, base, braces); + } + + function formatPrimitive(ctx, value) { + if (isUndefined(value)) return ctx.stylize('undefined', 'undefined'); + if (isString(value)) { + var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '').replace(/'/g, "\\'").replace(/\\"/g, '"') + '\''; + return ctx.stylize(simple, 'string'); + } + if (isNumber(value)) return ctx.stylize('' + value, 'number'); + if (isBoolean(value)) return ctx.stylize('' + value, 'boolean'); + // For some reason typeof null is "object", so special case here. + if (isNull(value)) return ctx.stylize('null', 'null'); + } + + function formatError(value) { + return '[' + Error.prototype.toString.call(value) + ']'; + } + + function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { + var output = []; + for (var i = 0, l = value.length; i < l; ++i) { + if (hasOwnProperty(value, String(i))) { + output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true)); + } else { + output.push(''); + } + } + keys.forEach(function (key) { + if (!key.match(/^\d+$/)) { + output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true)); + } + }); + return output; + } + + function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { + var name, str, desc; + desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] }; + if (desc.get) { + if (desc.set) { + str = ctx.stylize('[Getter/Setter]', 'special'); + } else { + str = ctx.stylize('[Getter]', 'special'); + } + } else { + if (desc.set) { + str = ctx.stylize('[Setter]', 'special'); + } + } + if (!hasOwnProperty(visibleKeys, key)) { + name = '[' + key + ']'; + } + if (!str) { + if (ctx.seen.indexOf(desc.value) < 0) { + if (isNull(recurseTimes)) { + str = formatValue(ctx, desc.value, null); + } else { + str = formatValue(ctx, desc.value, recurseTimes - 1); + } + if (str.indexOf('\n') > -1) { + if (array) { + str = str.split('\n').map(function (line) { + return ' ' + line; + }).join('\n').substr(2); + } else { + str = '\n' + str.split('\n').map(function (line) { + return ' ' + line; + }).join('\n'); + } + } + } else { + str = ctx.stylize('[Circular]', 'special'); + } + } + if (isUndefined(name)) { + if (array && key.match(/^\d+$/)) { + return str; + } + name = JSON.stringify('' + key); + if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { + name = name.substr(1, name.length - 2); + name = ctx.stylize(name, 'name'); + } else { + name = name.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"); + name = ctx.stylize(name, 'string'); + } + } + + return name + ': ' + str; + } + + function reduceToSingleString(output, base, braces) { + var numLinesEst = 0; + var length = output.reduce(function (prev, cur) { + numLinesEst++; + if (cur.indexOf('\n') >= 0) numLinesEst++; + return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; + }, 0); + + if (length > 60) { + return braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join(',\n ') + ' ' + braces[1]; + } + + return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; + } + + // NOTE: These type checking functions intentionally don't use `instanceof` + // because it is fragile and can be easily faked with `Object.create()`. + function isArray(ar) { + return Array.isArray(ar); + } + exports.isArray = isArray; + + function isBoolean(arg) { + return typeof arg === 'boolean'; + } + exports.isBoolean = isBoolean; + + function isNull(arg) { + return arg === null; + } + exports.isNull = isNull; + + function isNullOrUndefined(arg) { + return arg == null; + } + exports.isNullOrUndefined = isNullOrUndefined; + + function isNumber(arg) { + return typeof arg === 'number'; + } + exports.isNumber = isNumber; + + function isString(arg) { + return typeof arg === 'string'; + } + exports.isString = isString; + + function isSymbol(arg) { + return (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'symbol'; + } + exports.isSymbol = isSymbol; + + function isUndefined(arg) { + return arg === void 0; + } + exports.isUndefined = isUndefined; + + function isRegExp(re) { + return isObject(re) && objectToString(re) === '[object RegExp]'; + } + exports.isRegExp = isRegExp; + + function isObject(arg) { + return (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'object' && arg !== null; + } + exports.isObject = isObject; + + function isDate(d) { + return isObject(d) && objectToString(d) === '[object Date]'; + } + exports.isDate = isDate; + + function isError(e) { + return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error); + } + exports.isError = isError; + + function isFunction(arg) { + return typeof arg === 'function'; + } + exports.isFunction = isFunction; + + function isPrimitive(arg) { + return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'symbol' || // ES6 symbol + typeof arg === 'undefined'; + } + exports.isPrimitive = isPrimitive; + + exports.isBuffer = __webpack_require__(279); + + function objectToString(o) { + return Object.prototype.toString.call(o); + } + + function pad(n) { + return n < 10 ? '0' + n.toString(10) : n.toString(10); + } + + var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; + + // 26 Feb 16:19:34 + function timestamp() { + var d = new Date(); + var time = [pad(d.getHours()), pad(d.getMinutes()), pad(d.getSeconds())].join(':'); + return [d.getDate(), months[d.getMonth()], time].join(' '); + } + + // log is just a thin wrapper to console.log that prepends a timestamp + exports.log = function () { + console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments)); + }; + + /** + * Inherit the prototype methods from one constructor into another. + * + * The Function.prototype.inherits from lang.js rewritten as a standalone + * function (not on Function.prototype). NOTE: If this file is to be loaded + * during bootstrapping this function needs to be rewritten using some native + * functions as prototype setup using normal JavaScript does not work as + * expected during bootstrapping (see mirror.js in r114903). + * + * @param {function} ctor Constructor function which needs to inherit the + * prototype. + * @param {function} superCtor Constructor function to inherit prototype from. + */ + exports.inherits = __webpack_require__(278); + + exports._extend = function (origin, add) { + // Don't do anything if add isn't an object + if (!add || !isObject(add)) return origin; + + var keys = Object.keys(add); + var i = keys.length; + while (i--) { + origin[keys[i]] = add[keys[i]]; + } + return origin; + }; + + function hasOwnProperty(obj, prop) { + return Object.prototype.hasOwnProperty.call(obj, prop); + } + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(29))) + +/***/ }, +/* 80 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.startHRD = startHRD; + exports.cancelHRD = cancelHRD; + exports.logIn = logIn; + + var _index = __webpack_require__(12); + + var _enterprise = __webpack_require__(23); + + var _index2 = __webpack_require__(8); + + var _email = __webpack_require__(26); + + var _actions = __webpack_require__(24); + + var _index3 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index3); + + var _index4 = __webpack_require__(11); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function startHRD(id, email) { + (0, _index.swap)(_index.updateEntity, "lock", id, _enterprise.toggleHRD, email); + } + + // TODO: enterprise connections should not depend on database + // connections. However, we now allow a username input to contain also + // an email and this information is in the database module. We should + // make this information flow from the UI (like we do for the startHRD + // function). Including this dependency here allows us to do that + // incrementally. + function cancelHRD(id) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + m = (0, _enterprise.toggleHRD)(m, false); + m = (0, _index2.hideInvalidFields)(m); + return m; + }); + } + + function logIn(id) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + var email = (0, _index2.getFieldValue)(m, (0, _index4.databaseLogInWithEmail)(m) ? "email" : "username"); + var ssoConnection = (0, _enterprise.matchConnection)(m, email); + + if (ssoConnection && !(0, _enterprise.isHRDActive)(m)) { + return logInSSO(id, ssoConnection); + } + + logInActiveFlow(id); + } + + function logInActiveFlow(id) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + var usernameField = (0, _enterprise.isHRDActive)(m) || !(0, _index4.databaseLogInWithEmail)(m) ? "username" : "email"; + + var originalUsername = (0, _index2.getFieldValue)(m, usernameField); + var connection = (0, _enterprise.enterpriseActiveFlowConnection)(m); + + var username = l.defaultADUsernameFromEmailPrefix(m) ? (0, _email.emailLocalPart)(originalUsername) : originalUsername; + + (0, _actions.logIn)(id, ["password", usernameField], { + connection: connection ? connection.get("name") : null, + username: username, + password: (0, _index2.getFieldValue)(m, "password"), + login_hint: username + }); + } + + function logInSSO(id, connection) { + var m = (0, _index.read)(_index.getEntity, "lock", id); + var field = (0, _index4.databaseLogInWithEmail)(m) ? "email" : "username"; + (0, _actions.logIn)(id, [field], { + connection: connection.get("name"), + login_hint: (0, _index2.getFieldValue)(m, field) + }); + } + +/***/ }, +/* 81 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + exports.initTenant = initTenant; + exports.tenantConnections = tenantConnections; + exports.defaultDirectory = defaultDirectory; + exports.defaultDirectoryName = defaultDirectoryName; + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _data_utils = __webpack_require__(17); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var _dataFns = (0, _data_utils.dataFns)(["client"]), + initNS = _dataFns.initNS, + get = _dataFns.get; + + var DEFAULT_CONNECTION_VALIDATION = { username: { min: 1, max: 15 } }; + + function formatConnectionValidation() { + var connectionValidation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + if (connectionValidation.username == null) { + return null; + } + + var validation = _extends({}, DEFAULT_CONNECTION_VALIDATION, connectionValidation); + var defaultMin = DEFAULT_CONNECTION_VALIDATION.username.min; + var defaultMax = DEFAULT_CONNECTION_VALIDATION.username.max; + + validation.username.min = parseInt(validation.username.min, 10) || defaultMin; + validation.username.max = parseInt(validation.username.max, 10) || defaultMax; + + if (validation.username.min > validation.username.max) { + validation.username.min = defaultMin; + validation.username.max = defaultMax; + } + + return validation; + } + + var emptyConnections = _immutable2.default.fromJS({ + database: [], + enterprise: [], + passwordless: [], + social: [], + unknown: [] // TODO: should be oauth2 + }); + + function initTenant(m, client_id, client) { + return initNS(m, formatTenant(client_id, client)); + } + + function formatTenant(client_id, o) { + return new _immutable2.default.fromJS({ + connections: formatTenantConnections(client_id, o), + defaultDirectory: o.defaultDirectory || null + }); + } + + function formatTenantConnections(client_id, o) { + var result = emptyConnections.toJS(); + var connectionTypes = Object.keys(o.connections).filter(function (name) { + return name != 'passwordless'; + }); // disabled until lock supports passwordless connections within the same engine + var connections_filter = null; + + if (o.clientsConnections && o.clientsConnections[client_id]) { + connections_filter = o.clientsConnections[client_id]; + } + + connectionTypes.forEach(function (connectionTypeName) { + var _result$connectionTyp; + + var connections = o.connections[connectionTypeName].map(function (connection) { + return formatTenantConnection(connectionTypeName, connection); + }).filter(function (connection) { + return connections_filter === null || connections_filter.indexOf(connection.name) !== -1; + }); + (_result$connectionTyp = result[connectionTypeName]).push.apply(_result$connectionTyp, connections); + }); + + return result; + } + + function formatTenantConnection(connectionType, connection) { + var result = { + name: connection.name, + strategy: connection.strategy, + type: connectionType + }; + + if (connectionType === "database") { + if (connection.validation && connection.validation.passwordPolicy) { + result.passwordPolicy = connection.validation.passwordPolicy; + } + + result.passwordPolicy = result.passwordPolicy || "none"; + + result.allowSignup = typeof connection.showSignup === "boolean" ? connection.showSignup : true; + + result.allowForgot = typeof connection.showForgot === "boolean" ? connection.showForgot : true; + + result.requireUsername = typeof connection.requiresUsername === "boolean" ? connection.requiresUsername : false; + + result.validation = formatConnectionValidation(connection.validation); + } + + if (connectionType === "enterprise") { + result.domains = connection.domains; + } + + return result; + } + + function tenantConnections(m) { + return get(m, "connections", emptyConnections); + } + + function defaultDirectory(m) { + var name = defaultDirectoryName(m); + return name && l.findConnection(m, name); + } + + function defaultDirectoryName(m) { + return get(m, "defaultDirectory", null); + } + +/***/ }, +/* 82 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.isSSOEnabled = isSSOEnabled; + exports.usernameStyle = usernameStyle; + exports.hasOnlyClassicConnections = hasOnlyClassicConnections; + exports.useBigSocialButtons = useBigSocialButtons; + + var _index = __webpack_require__(140); + + var _index2 = _interopRequireDefault(_index); + + var _login = __webpack_require__(300); + + var _login2 = _interopRequireDefault(_login); + + var _sign_up_screen = __webpack_require__(303); + + var _sign_up_screen2 = _interopRequireDefault(_sign_up_screen); + + var _mfa_login_screen = __webpack_require__(301); + + var _mfa_login_screen2 = _interopRequireDefault(_mfa_login_screen); + + var _reset_password = __webpack_require__(284); + + var _reset_password2 = _interopRequireDefault(_reset_password); + + var _index3 = __webpack_require__(137); + + var _index4 = __webpack_require__(11); + + var _enterprise = __webpack_require__(23); + + var _tenant = __webpack_require__(81); + + var _index5 = __webpack_require__(39); + + var _email = __webpack_require__(26); + + var _username = __webpack_require__(85); + + var _index6 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index6); + + var _kerberos_screen = __webpack_require__(290); + + var _kerberos_screen2 = _interopRequireDefault(_kerberos_screen); + + var _hrd_screen = __webpack_require__(289); + + var _hrd_screen2 = _interopRequireDefault(_hrd_screen); + + var _quick_auth_screen = __webpack_require__(291); + + var _quick_auth_screen2 = _interopRequireDefault(_quick_auth_screen); + + var _quick_auth = __webpack_require__(141); + + var _loading_screen = __webpack_require__(295); + + var _loading_screen2 = _interopRequireDefault(_loading_screen); + + var _error_screen = __webpack_require__(294); + + var _error_screen2 = _interopRequireDefault(_error_screen); + + var _last_login_screen = __webpack_require__(298); + + var _last_login_screen2 = _interopRequireDefault(_last_login_screen); + + var _sync = __webpack_require__(45); + + var _index7 = __webpack_require__(8); + + var _index8 = __webpack_require__(12); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function isSSOEnabled(m) { + return (0, _enterprise.isEnterpriseDomain)(m, (0, _index4.databaseUsernameValue)(m)); + } + + function usernameStyle(m) { + return (0, _index4.authWithUsername)(m) && !isADEnabled(m) ? "username" : "email"; + } + + function hasOnlyClassicConnections(m) { + var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + for (var _len = arguments.length, strategies = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { + strategies[_key - 2] = arguments[_key]; + } + + return l.hasOnlyConnections.apply(l, [m, type].concat(strategies)) && !l.hasSomeConnections(m, "passwordless"); + } + + function useBigSocialButtons(m) { + return (0, _index5.useBigButtons)(m, hasOnlyClassicConnections(m, "social") ? 5 : 3); + } + + function validateAllowedConnections(m) { + var anyDBConnection = l.hasSomeConnections(m, "database"); + var anySocialConnection = l.hasSomeConnections(m, "social"); + var anyEnterpriseConnection = l.hasSomeConnections(m, "enterprise"); + + if (!anyDBConnection && !anySocialConnection && !anyEnterpriseConnection) { + var error = new Error("At least one database, enterprise or social connection needs to be available."); + error.code = "no_connection"; + m = l.stop(m, error); + } else if (!anyDBConnection && (0, _index4.hasInitialScreen)(m, "forgotPassword")) { + var _error = new Error("The `initialScreen` option was set to \"forgotPassword\" but no database connection is available."); + _error.code = "unavailable_initial_screen"; + m = l.stop(m, _error); + } else if (!anyDBConnection && !anySocialConnection && (0, _index4.hasInitialScreen)(m, "signUp")) { + var _error2 = new Error("The `initialScreen` option was set to \"signUp\" but no database or social connection is available."); + _error2.code = "unavailable_initial_screen"; + m = l.stop(m, _error2); + } + + if ((0, _tenant.defaultDirectoryName)(m) && !(0, _tenant.defaultDirectory)(m)) { + l.error(m, 'The account\'s default directory "' + (0, _tenant.defaultDirectoryName)(m) + '" is not enabled.'); + } + + if ((0, _index4.defaultDatabaseConnectionName)(m) && !(0, _index4.defaultDatabaseConnection)(m)) { + l.warn(m, 'The provided default database connection "' + (0, _index4.defaultDatabaseConnectionName)(m) + '" is not enabled.'); + } + + if ((0, _enterprise.defaultEnterpriseConnectionName)(m) && !(0, _enterprise.defaultEnterpriseConnection)(m)) { + l.warn(m, 'The provided default enterprise connection "' + (0, _enterprise.defaultEnterpriseConnectionName)(m) + '" is not enabled or does not allow email/password authentication.'); + } + + return m; + } + + var Classic = function () { + function Classic() { + _classCallCheck(this, Classic); + } + + Classic.prototype.didInitialize = function didInitialize(model, options) { + model = (0, _index5.initSocial)(model, options); + model = (0, _index4.initDatabase)(model, options); + model = (0, _enterprise.initEnterprise)(model, options); + + var _ref = options.prefill || {}, + email = _ref.email, + username = _ref.username; + + if (typeof email === "string") model = (0, _email.setEmail)(model, email); + if (typeof username === "string") model = (0, _username.setUsername)(model, username, "username", false); + + return model; + }; + + Classic.prototype.didReceiveClientSettings = function didReceiveClientSettings(m) { + return validateAllowedConnections(m); + }; + + Classic.prototype.willShow = function willShow(m, opts) { + m = (0, _index4.overrideDatabaseOptions)(m, opts); + if ((0, _sync.isSuccess)(m, "client")) { + m = validateAllowedConnections(m); + } + return m; + }; + + Classic.prototype.render = function render(m) { + // TODO: remove the detail about the loading pane being pinned, + // sticky screens should be handled at the box module. + if (!(0, _sync.isDone)(m) || m.get("isLoadingPanePinned")) { + return new _loading_screen2.default(); + } + + if (l.hasStopped(m)) { + return new _error_screen2.default(); + } + + if ((0, _index4.hasScreen)(m, "login")) { + if (!(0, _quick_auth.hasSkippedQuickAuth)(m) && l.ui.rememberLastLogin(m) && (0, _index4.hasInitialScreen)(m, "login")) { + if ((0, _enterprise.isInCorpNetwork)(m)) { + return new _kerberos_screen2.default(); + } + + var conn = (0, _index3.lastUsedConnection)(m); + if (conn && (0, _sync.isSuccess)(m, "sso")) { + if (l.hasConnection(m, conn.get("name"))) { + return new _last_login_screen2.default(); + } + } + } + + if ((0, _enterprise.quickAuthConnection)(m)) { + return new _quick_auth_screen2.default(); + } + + if ((0, _enterprise.isHRDActive)(m)) { + return new _hrd_screen2.default(); + } + } + + var Screen = Classic.SCREENS[(0, _index4.getScreen)(m)]; + if (Screen) return new Screen(); + + setTimeout(function () { + var stopError = new Error("Internal error"); + stopError.code = "internal_error"; + stopError.description = 'Couldn\'t find a screen "' + (0, _index4.getScreen)(m) + '"'; + (0, _index8.swap)(_index8.updateEntity, "lock", l.id(m), l.stop, stopError); + }, 0); + + return new _error_screen2.default(); + }; + + return Classic; + }(); + + Classic.SCREENS = { + login: _login2.default, + forgotPassword: _reset_password2.default, + signUp: _sign_up_screen2.default, + mfaLogin: _mfa_login_screen2.default + }; + exports.default = new Classic(); + +/***/ }, +/* 83 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _email_input = __webpack_require__(316); + + var _email_input2 = _interopRequireDefault(_email_input); + + var _index = __webpack_require__(8); + + var c = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(12); + + var _index3 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index3); + + var _email = __webpack_require__(26); + + var _avatar = __webpack_require__(132); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var EmailPane = function (_React$Component) { + _inherits(EmailPane, _React$Component); + + function EmailPane() { + _classCallCheck(this, EmailPane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + EmailPane.prototype.componentDidMount = function componentDidMount() { + var lock = this.props.lock; + + if (l.ui.avatar(lock) && c.email(lock)) { + (0, _avatar.requestAvatar)(l.id(lock), c.email(lock)); + } + }; + + EmailPane.prototype.handleChange = function handleChange(e) { + var lock = this.props.lock; + + if (l.ui.avatar(lock)) { + (0, _avatar.debouncedRequestAvatar)(l.id(lock), e.target.value); + } + + (0, _index2.swap)(_index2.updateEntity, "lock", l.id(lock), _email.setEmail, e.target.value); + }; + + EmailPane.prototype.render = function render() { + var _props = this.props, + i18n = _props.i18n, + lock = _props.lock, + placeholder = _props.placeholder; + + var value = c.getFieldValue(lock, "email"); + + return _react2.default.createElement(_email_input2.default, { + value: value, + invalidHint: i18n.str(value ? "invalidErrorHint" : "blankErrorHint"), + isValid: !c.isFieldVisiblyInvalid(lock, "email"), + onChange: this.handleChange.bind(this), + placeholder: placeholder + }); + }; + + return EmailPane; + }(_react2.default.Component); + + exports.default = EmailPane; + + + EmailPane.propTypes = { + i18n: _react2.default.PropTypes.object.isRequired, + invalidHint: _react2.default.PropTypes.string, + lock: _react2.default.PropTypes.object.isRequired, + placeholder: _react2.default.PropTypes.string.isRequired + }; + +/***/ }, +/* 84 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _password_input = __webpack_require__(88); + + var _password_input2 = _interopRequireDefault(_password_input); + + var _index = __webpack_require__(8); + + var c = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(12); + + var _index3 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index3); + + var _password = __webpack_require__(308); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var PasswordPane = function (_React$Component) { + _inherits(PasswordPane, _React$Component); + + function PasswordPane() { + _classCallCheck(this, PasswordPane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + PasswordPane.prototype.handleChange = function handleChange(e) { + var _props = this.props, + lock = _props.lock, + policy = _props.policy; + + (0, _index2.swap)(_index2.updateEntity, "lock", l.id(lock), _password.setPassword, e.target.value, policy); + }; + + PasswordPane.prototype.render = function render() { + var _props2 = this.props, + i18n = _props2.i18n, + lock = _props2.lock, + placeholder = _props2.placeholder, + policy = _props2.policy, + strengthMessages = _props2.strengthMessages; + + + return _react2.default.createElement(_password_input2.default, { + value: c.getFieldValue(lock, "password"), + invalidHint: i18n.str("blankErrorHint"), + isValid: !c.isFieldVisiblyInvalid(lock, "password"), + onChange: this.handleChange.bind(this), + placeholder: placeholder, + strengthMessages: strengthMessages, + disabled: l.submitting(lock), + policy: policy + }); + }; + + return PasswordPane; + }(_react2.default.Component); + + exports.default = PasswordPane; + + + PasswordPane.propTypes = { + i18n: _react2.default.PropTypes.object.isRequired, + lock: _react2.default.PropTypes.object.isRequired, + onChange: _react2.default.PropTypes.func, + placeholder: _react2.default.PropTypes.string.isRequired, + policy: _react2.default.PropTypes.string, + strengthMessages: _react2.default.PropTypes.object + }; + +/***/ }, +/* 85 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.getUsernameValidation = getUsernameValidation; + exports.setUsername = setUsername; + exports.usernameLooksLikeEmail = usernameLooksLikeEmail; + + var _index = __webpack_require__(8); + + var _email = __webpack_require__(26); + + var _database = __webpack_require__(11); + + var _trim = __webpack_require__(25); + + var _trim2 = _interopRequireDefault(_trim); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var DEFAULT_CONNECTION_VALIDATION = { username: { min: 1, max: 15 } }; + var regExp = /^[a-zA-Z0-9_]+$/; + + function validateUsername(str, validateFormat) { + var settings = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_CONNECTION_VALIDATION.username; + + + // If the connection does not have validation settings, it should only check if the field is empty. + // validateFormat overrides this logic to disable validation on login (login should never validate format) + if (!validateFormat || settings == null) { + return (0, _trim2.default)(str).length > 0; + } + + var lowercased = (0, _trim2.default)(str.toLowerCase()); + + // chekc min value matched + if (lowercased.length < settings.min) { + return false; + } + + // check max value matched + if (lowercased.length > settings.max) { + return false; + } + + // check allowed characters matched + var result = regExp.exec(lowercased); + return result && result[0]; + } + + function getUsernameValidation(m) { + var usernameValidation = (0, _database.databaseConnection)(m).getIn(['validation', 'username']); + return usernameValidation ? usernameValidation.toJS() : null; + } + + function setUsername(m, str) { + var usernameStyle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "username"; + var validateUsernameFormat = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true; + + var usernameValidation = validateUsernameFormat ? getUsernameValidation(m) : null; + + var validator = function validator(value) { + switch (usernameStyle) { + case "email": + return (0, _email.validateEmail)(value); + case "username": + return validateUsername(value, validateUsernameFormat, usernameValidation); + default: + return usernameLooksLikeEmail(value) ? (0, _email.validateEmail)(value) : validateUsername(value, validateUsernameFormat, usernameValidation); + } + }; + + return (0, _index.setField)(m, "username", str, validator); + } + + function usernameLooksLikeEmail(str) { + return str.indexOf("@") > -1; + } + +/***/ }, +/* 86 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _username_input = __webpack_require__(320); + + var _username_input2 = _interopRequireDefault(_username_input); + + var _index = __webpack_require__(8); + + var c = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(12); + + var _index3 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index3); + + var _username = __webpack_require__(85); + + var _avatar = __webpack_require__(132); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var UsernamePane = function (_React$Component) { + _inherits(UsernamePane, _React$Component); + + function UsernamePane() { + _classCallCheck(this, UsernamePane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + UsernamePane.prototype.componentDidMount = function componentDidMount() { + var lock = this.props.lock; + + if (l.ui.avatar(lock) && c.username(lock)) { + (0, _avatar.requestAvatar)(l.id(lock), c.username(lock)); + } + }; + + UsernamePane.prototype.handleChange = function handleChange(e) { + var _props = this.props, + lock = _props.lock, + validateFormat = _props.validateFormat, + usernameStyle = _props.usernameStyle; + + if (l.ui.avatar(lock)) { + (0, _avatar.debouncedRequestAvatar)(l.id(lock), e.target.value); + } + + (0, _index2.swap)(_index2.updateEntity, "lock", l.id(lock), _username.setUsername, e.target.value, usernameStyle, validateFormat); + }; + + UsernamePane.prototype.render = function render() { + var _props2 = this.props, + i18n = _props2.i18n, + lock = _props2.lock, + placeholder = _props2.placeholder, + validateFormat = _props2.validateFormat; + + var value = c.getFieldValue(lock, "username"); + var usernameValidation = validateFormat ? (0, _username.getUsernameValidation)(lock) : {}; + + var invalidHintKey = function invalidHintKey(str) { + if (!str) return "blankErrorHint"; + if ((0, _username.usernameLooksLikeEmail)(str) || !validateFormat) return "invalidErrorHint"; + return "usernameFormatErrorHint"; + }; + + var invalidHint = function invalidHint(str) { + var hintKey = invalidHintKey(str); + + // only show format info in the error if it should validate the format and + // if there is any format restrictions for the connection + if ("usernameFormatErrorHint" === hintKey && validateFormat && usernameValidation != null) { + return i18n.str(hintKey, usernameValidation.min, usernameValidation.max); + } + + return i18n.str(hintKey); + }; + + return _react2.default.createElement(_username_input2.default, { + value: value, + invalidHint: invalidHint(value), + isValid: !c.isFieldVisiblyInvalid(lock, "username"), + onChange: this.handleChange.bind(this), + placeholder: placeholder + }); + }; + + return UsernamePane; + }(_react2.default.Component); + + exports.default = UsernamePane; + + + UsernamePane.propTypes = { + i18n: _react2.default.PropTypes.object.isRequired, + lock: _react2.default.PropTypes.object.isRequired, + placeholder: _react2.default.PropTypes.string.isRequired, + validateFormat: _react2.default.PropTypes.bool.isRequired, + usernameStyle: _react2.default.PropTypes.oneOf(["any", "email", "username"]) + }; + + UsernamePane.defaultProps = { + validateFormat: false, + usernameStyle: "username" + }; + +/***/ }, +/* 87 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _confirmation_pane = __webpack_require__(312); + + var _confirmation_pane2 = _interopRequireDefault(_confirmation_pane); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var svg = '<svg width="56px" height="56px" viewBox="0 0 52 52" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="checkmark"> <circle cx="26" cy="26" r="25" fill="none" class="checkmark__circle"></circle> <path fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8" class="checkmark__check"></path> </svg>'; + + var SuccessPane = function SuccessPane(props) { + return _react2.default.createElement(_confirmation_pane2.default, _extends({ svg: svg }, props)); + }; + + exports.default = SuccessPane; + +/***/ }, +/* 88 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.icon = undefined; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _input_wrap = __webpack_require__(40); + + var _input_wrap2 = _interopRequireDefault(_input_wrap); + + var _password_strength = __webpack_require__(318); + + var _password_strength2 = _interopRequireDefault(_password_strength); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var icon = exports.icon = '<svg width="11px" height="14px" viewBox="0 0 13 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="auth0-lock-icon auth0-lock-icon-box"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-288.000000, -1508.000000)" fill="#888888"><path d="M299,1523.998 L290,1523.998 C288.896,1523.998 288,1523.102 288,1521.999 L288,1515.999 C288,1514.895 288.896,1513.998 290,1513.998 L290,1513.998 L290,1512.499 C290,1510.015 292.015,1507.999 294.5,1507.999 C296.985,1507.999 299,1510.015 299,1512.499 L299,1513.999 C300.104,1513.999 301,1514.895 301,1515.999 L301,1521.999 C301,1523.103 300.104,1523.998 299,1523.998 L299,1523.998 Z M298,1512.499 C298,1510.566 296.433,1508.999 294.5,1508.999 C292.567,1508.999 291,1510.566 291,1512.499 L291,1513.998 L298,1513.998 L298,1512.499 L298,1512.499 Z M300,1515.999 C300,1515.446 299.552,1514.998 299,1514.998 L290,1514.998 C289.447,1514.998 289,1515.446 289,1515.999 L289,1521.999 C289,1522.551 289.447,1522.998 290,1522.998 L299,1522.998 C299.552,1522.998 300,1522.551 300,1521.999 L300,1515.999 L300,1515.999 Z M294.5,1520.998 C294.224,1520.998 294,1520.774 294,1520.498 L294,1517.498 C294,1517.223 294.224,1516.999 294.5,1516.999 C294.776,1516.999 295,1517.223 295,1517.498 L295,1520.498 C295,1520.774 294.776,1520.998 294.5,1520.998 L294.5,1520.998 Z"></path></g></g></svg>'; + + var PasswordInput = function (_React$Component) { + _inherits(PasswordInput, _React$Component); + + function PasswordInput(props) { + _classCallCheck(this, PasswordInput); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props)); + + _this.state = {}; + return _this; + } + + PasswordInput.prototype.focus = function focus() { + this.refs.input && this.refs.input.focus(); + }; + + PasswordInput.prototype.hasFocus = function hasFocus() { + return this.state.focused; + }; + + PasswordInput.prototype.render = function render() { + var _props = this.props, + invalidHint = _props.invalidHint, + isValid = _props.isValid, + onChange = _props.onChange, + policy = _props.policy, + strengthMessages = _props.strengthMessages, + value = _props.value, + props = _objectWithoutProperties(_props, ['invalidHint', 'isValid', 'onChange', 'policy', 'strengthMessages', 'value']); + + var _state = this.state, + focused = _state.focused, + changing = _state.changing; + + + var passwordStrength = policy && focused && changing ? _react2.default.createElement(_password_strength2.default, { + messages: strengthMessages, + password: value, + policy: policy + }) : null; + + return _react2.default.createElement( + _input_wrap2.default, + { + before: passwordStrength, + focused: focused, + invalidHint: policy ? undefined : invalidHint, + isValid: isValid, + name: 'password', + icon: icon + }, + _react2.default.createElement('input', _extends({ + ref: 'input', + type: 'password', + name: 'password', + className: 'auth0-lock-input', + autoComplete: 'off', + autoCapitalize: 'off', + onChange: this.handleOnChange.bind(this), + onFocus: this.handleFocus.bind(this), + onBlur: this.handleBlur.bind(this), + value: value + }, props)) + ); + }; + + PasswordInput.prototype.handleOnChange = function handleOnChange(e) { + var state = this.state; + state.changing = true; + this.setState(state); + if (this.props.onChange) { + this.props.onChange(e); + } + }; + + PasswordInput.prototype.handleFocus = function handleFocus() { + this.setState({ focused: true }); + }; + + PasswordInput.prototype.handleBlur = function handleBlur() { + this.setState({ focused: false }); + }; + + return PasswordInput; + }(_react2.default.Component); + + PasswordInput.propTypes = { + invalidHint: _react2.default.PropTypes.string.isRequired, + isValid: _react2.default.PropTypes.bool.isRequired, + onChange: _react2.default.PropTypes.func.isRequired, + placeholder: _react2.default.PropTypes.string, + policy: _react2.default.PropTypes.string, + strengthMessages: _react2.default.PropTypes.object, + value: _react2.default.PropTypes.string.isRequired + }; + exports.default = PasswordInput; + +/***/ }, +/* 89 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _auth_button = __webpack_require__(143); + + var _auth_button2 = _interopRequireDefault(_auth_button); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var QuickAuthPane = function QuickAuthPane(props) { + var alternativeLabel = props.alternativeLabel, + alternativeClickHandler = props.alternativeClickHandler, + buttonLabel = props.buttonLabel, + buttonClickHandler = props.buttonClickHandler, + header = props.header, + strategy = props.strategy, + buttonIcon = props.buttonIcon, + primaryColor = props.primaryColor, + foregroundColor = props.foregroundColor; + + + var alternative = alternativeLabel ? _react2.default.createElement( + 'p', + { className: 'auth0-lock-alternative' }, + _react2.default.createElement( + 'a', + { + className: 'auth0-lock-alternative-link', + href: '#', + onClick: function onClick(e) { + e.preventDefault();alternativeClickHandler(e); + } + }, + alternativeLabel + ) + ) : null; + + return _react2.default.createElement( + 'div', + { className: 'auth0-lock-last-login-pane' }, + header, + _react2.default.createElement(_auth_button2.default, { + label: buttonLabel, + onClick: function onClick(e) { + e.preventDefault();buttonClickHandler(e); + }, + strategy: strategy, + primaryColor: primaryColor, + foregroundColor: foregroundColor, + icon: buttonIcon + }), + alternative, + _react2.default.createElement( + 'div', + { className: 'auth0-loading-container' }, + _react2.default.createElement('div', { className: 'auth0-loading' }) + ) + ); + }; + + QuickAuthPane.propTypes = { + alternativeLabel: _react2.default.PropTypes.string, + alternativeClickHandler: function alternativeClickHandler(props, propName, component) { + for (var _len = arguments.length, rest = Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) { + rest[_key - 3] = arguments[_key]; + } + + if (props.alternativeLabel !== undefined) { + var _React$PropTypes$func; + + return (_React$PropTypes$func = _react2.default.PropTypes.func).isRequired.apply(_React$PropTypes$func, [props, propName, component].concat(rest)); + } + }, + buttonLabel: _react2.default.PropTypes.string.isRequired, + buttonClickHandler: _react2.default.PropTypes.func.isRequired, + header: _react2.default.PropTypes.element, + strategy: _react2.default.PropTypes.string.isRequired + }; + + exports.default = QuickAuthPane; + +/***/ }, +/* 90 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + exports.__esModule = true; + exports.load = load; + exports.preload = preload; + + var _auth0Js = __webpack_require__(56); + + var _auth0Js2 = _interopRequireDefault(_auth0Js); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + if (!global.Auth0) { + global.Auth0 = _auth0Js2.default; + } + + var cbs = {}; + + function load(attrs) { + var cb = attrs.cb, + check = attrs.check, + method = attrs.method, + url = attrs.url; + + + if (!cbs[method]) { + cbs[method] = []; + global.Auth0[method] = function () { + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + cbs[method] = cbs[method].filter(function (x) { + if (x.check.apply(x, args)) { + setTimeout(function () { + return x.cb.apply(x, [null].concat(args)); + }, 0); + return false; + } else { + return true; + } + }); + }; + } + + cbs[method].push({ cb: cb, check: check, url: url }); + + var count = cbs[method].reduce(function (r, x) { + return r + (x.url === url ? 1 : 0); + }, 0); + + if (count > 1) return; + + var script = global.document.createElement('script'); + script.src = url; + global.document.getElementsByTagName('head')[0].appendChild(script); + + var handleError = function handleError(url) { + cbs[method] = cbs[method].filter(function (x) { + if (x.url === url) { + setTimeout(function () { + return x.cb({}); + }, 0); + return false; + } else { + return true; + } + }); + }; + + var timeoutID = setTimeout(function () { + return handleError(url); + }, 5000); + + script.addEventListener('load', function () { + return clearTimeout(timeoutID); + }); + + script.addEventListener('error', function () { + clearTimeout(timeoutID); + handleError(url); + }); + } + + function preload(_ref) { + var method = _ref.method, + cb = _ref.cb; + + global.Auth0[method] = cb; + } + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 91 */ +/***/ function(module, exports) { + + "use strict"; + + exports.__esModule = true; + exports.matches = matches; + exports.startsWith = startsWith; + exports.endsWith = endsWith; + function matches(search, str) { + return str.toLowerCase().indexOf(search.toLowerCase()) > -1; + } + + function startsWith(str, search) { + return str.indexOf(search) === 0; + } + + function endsWith(str, search) { + return str.indexOf(search, str.length - search.length) !== -1; + } + +/***/ }, +/* 92 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Expose `JSON.parse` method or fallback if not + * exists on `window` + */ + + module.exports = 'undefined' === typeof JSON ? __webpack_require__(158).parse : JSON.parse; + +/***/ }, +/* 93 */ +/***/ function(module, exports) { + + 'use strict'; + + var replace = String.prototype.replace; + var percentTwenties = /%20/g; + + module.exports = { + 'default': 'RFC3986', + formatters: { + RFC1738: function RFC1738(value) { + return replace.call(value, percentTwenties, '+'); + }, + RFC3986: function RFC3986(value) { + return value; + } + }, + RFC1738: 'RFC1738', + RFC3986: 'RFC3986' + }; + +/***/ }, +/* 94 */ +/***/ function(module, exports) { + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var has = Object.prototype.hasOwnProperty; + + var hexTable = function () { + var array = []; + for (var i = 0; i < 256; ++i) { + array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); + } + + return array; + }(); + + exports.arrayToObject = function (source, options) { + var obj = options && options.plainObjects ? Object.create(null) : {}; + for (var i = 0; i < source.length; ++i) { + if (typeof source[i] !== 'undefined') { + obj[i] = source[i]; + } + } + + return obj; + }; + + exports.merge = function (target, source, options) { + if (!source) { + return target; + } + + if ((typeof source === 'undefined' ? 'undefined' : _typeof(source)) !== 'object') { + if (Array.isArray(target)) { + target.push(source); + } else if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object') { + target[source] = true; + } else { + return [target, source]; + } + + return target; + } + + if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) !== 'object') { + return [target].concat(source); + } + + var mergeTarget = target; + if (Array.isArray(target) && !Array.isArray(source)) { + mergeTarget = exports.arrayToObject(target, options); + } + + if (Array.isArray(target) && Array.isArray(source)) { + source.forEach(function (item, i) { + if (has.call(target, i)) { + if (target[i] && _typeof(target[i]) === 'object') { + target[i] = exports.merge(target[i], item, options); + } else { + target.push(item); + } + } else { + target[i] = item; + } + }); + return target; + } + + return Object.keys(source).reduce(function (acc, key) { + var value = source[key]; + + if (Object.prototype.hasOwnProperty.call(acc, key)) { + acc[key] = exports.merge(acc[key], value, options); + } else { + acc[key] = value; + } + return acc; + }, mergeTarget); + }; + + exports.decode = function (str) { + try { + return decodeURIComponent(str.replace(/\+/g, ' ')); + } catch (e) { + return str; + } + }; + + exports.encode = function (str) { + // This code was originally written by Brian White (mscdex) for the io.js core querystring library. + // It has been adapted here for stricter adherence to RFC 3986 + if (str.length === 0) { + return str; + } + + var string = typeof str === 'string' ? str : String(str); + + var out = ''; + for (var i = 0; i < string.length; ++i) { + var c = string.charCodeAt(i); + + if (c === 0x2D || // - + c === 0x2E || // . + c === 0x5F || // _ + c === 0x7E || // ~ + c >= 0x30 && c <= 0x39 || // 0-9 + c >= 0x41 && c <= 0x5A || // a-z + c >= 0x61 && c <= 0x7A // A-Z + ) { + out += string.charAt(i); + continue; + } + + if (c < 0x80) { + out = out + hexTable[c]; + continue; + } + + if (c < 0x800) { + out = out + (hexTable[0xC0 | c >> 6] + hexTable[0x80 | c & 0x3F]); + continue; + } + + if (c < 0xD800 || c >= 0xE000) { + out = out + (hexTable[0xE0 | c >> 12] + hexTable[0x80 | c >> 6 & 0x3F] + hexTable[0x80 | c & 0x3F]); + continue; + } + + i += 1; + c = 0x10000 + ((c & 0x3FF) << 10 | string.charCodeAt(i) & 0x3FF); + out += hexTable[0xF0 | c >> 18] + hexTable[0x80 | c >> 12 & 0x3F] + hexTable[0x80 | c >> 6 & 0x3F] + hexTable[0x80 | c & 0x3F]; + } + + return out; + }; + + exports.compact = function (obj, references) { + if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object' || obj === null) { + return obj; + } + + var refs = references || []; + var lookup = refs.indexOf(obj); + if (lookup !== -1) { + return refs[lookup]; + } + + refs.push(obj); + + if (Array.isArray(obj)) { + var compacted = []; + + for (var i = 0; i < obj.length; ++i) { + if (obj[i] && _typeof(obj[i]) === 'object') { + compacted.push(exports.compact(obj[i], refs)); + } else if (typeof obj[i] !== 'undefined') { + compacted.push(obj[i]); + } + } + + return compacted; + } + + var keys = Object.keys(obj); + keys.forEach(function (key) { + obj[key] = exports.compact(obj[key], refs); + }); + + return obj; + }; + + exports.isRegExp = function (obj) { + return Object.prototype.toString.call(obj) === '[object RegExp]'; + }; + + exports.isBuffer = function (obj) { + if (obj === null || typeof obj === 'undefined') { + return false; + } + + return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); + }; + +/***/ }, +/* 95 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule CSSCore + * @typechecks + */ + + 'use strict'; + + var invariant = __webpack_require__(176); + + /** + * The CSSCore module specifies the API (and implements most of the methods) + * that should be used when dealing with the display of elements (via their + * CSS classes and visibility on screen. It is an API focused on mutating the + * display and not reading it as no logical state should be encoded in the + * display of elements. + */ + + var CSSCore = { + + /** + * Adds the class passed in to the element if it doesn't already have it. + * + * @param {DOMElement} element the element to set the class on + * @param {string} className the CSS className + * @return {DOMElement} the element passed in + */ + addClass: function addClass(element, className) { + !!/\s/.test(className) ? false ? invariant(false, 'CSSCore.addClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : undefined; + + if (className) { + if (element.classList) { + element.classList.add(className); + } else if (!CSSCore.hasClass(element, className)) { + element.className = element.className + ' ' + className; + } + } + return element; + }, + + /** + * Removes the class passed in from the element + * + * @param {DOMElement} element the element to set the class on + * @param {string} className the CSS className + * @return {DOMElement} the element passed in + */ + removeClass: function removeClass(element, className) { + !!/\s/.test(className) ? false ? invariant(false, 'CSSCore.removeClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : undefined; + + if (className) { + if (element.classList) { + element.classList.remove(className); + } else if (CSSCore.hasClass(element, className)) { + element.className = element.className.replace(new RegExp('(^|\\s)' + className + '(?:\\s|$)', 'g'), '$1').replace(/\s+/g, ' ') // multiple spaces to one + .replace(/^\s*|\s*$/g, ''); // trim the ends + } + } + return element; + }, + + /** + * Helper to add or remove a class from an element based on a condition. + * + * @param {DOMElement} element the element to set the class on + * @param {string} className the CSS className + * @param {*} bool condition to whether to add or remove the class + * @return {DOMElement} the element passed in + */ + conditionClass: function conditionClass(element, className, bool) { + return (bool ? CSSCore.addClass : CSSCore.removeClass)(element, className); + }, + + /** + * Tests whether the element has the class specified. + * + * @param {DOMNode|DOMWindow} element the element to set the class on + * @param {string} className the CSS className + * @return {boolean} true if the element has the class, false if not + */ + hasClass: function hasClass(element, className) { + !!/\s/.test(className) ? false ? invariant(false, 'CSS.hasClass takes only a single class name.') : invariant(false) : undefined; + if (element.classList) { + return !!className && element.classList.contains(className); + } + return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1; + } + + }; + + module.exports = CSSCore; + +/***/ }, +/* 96 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var charsets = __webpack_require__(57).charsets; + + var upperCase = charsets.upperCase; + var lowerCase = charsets.lowerCase; + var numbers = charsets.numbers; + var specialCharacters = charsets.specialCharacters; + + var PasswordPolicy = __webpack_require__(181); + + var none = new PasswordPolicy({ + length: { minLength: 1 } + }); + + var low = new PasswordPolicy({ + length: { minLength: 6 } + }); + + var fair = new PasswordPolicy({ + length: { minLength: 8 }, + contains: { + expressions: [lowerCase, upperCase, numbers] + } + }); + + var good = new PasswordPolicy({ + length: { minLength: 8 }, + containsAtLeast: { + atLeast: 3, + expressions: [lowerCase, upperCase, numbers, specialCharacters] + } + }); + + var excellent = new PasswordPolicy({ + length: { minLength: 10 }, + containsAtLeast: { + atLeast: 3, + expressions: [lowerCase, upperCase, numbers, specialCharacters] + }, + identicalChars: { max: 2 } + }); + + var policiesByName = { + none: none, + low: low, + fair: fair, + good: good, + excellent: excellent + }; + + /** + * Creates a password policy. + * + * @param {String} policyName Name of policy to use. + */ + module.exports = function (policyName) { + var policy = policiesByName[policyName] || policiesByName.none; + + return { + /** + * Checks that a password meets this policy + * + * @method check + * @param {String} password + */ + check: function check(password) { + return policy.check(password); + }, + /** + * @method assert + * Asserts that a passord meets this policy else throws an exception. + * + * @param {String} password + */ + assert: function assert(password) { + return policy.assert(password); + }, + + missing: function missing(password) { + return policy.missing(password); + }, + + missingAsMarkdown: function missingAsMarkdown(password) { + return policy.missingAsMarkdown(password); + }, + + explain: function explain() { + return policy.explain(); + }, + + /** + * Friendly string representation of the policy + * @method toString + */ + toString: function toString() { + return policy.toString(); + } + }; + }; + + module.exports.PasswordPolicy = PasswordPolicy; + + module.exports.charsets = charsets; + + // module.exports.rulesToApply = rulesToApply; + +/***/ }, +/* 97 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * CSS properties which accept numbers but are not in units of "px". + */ + + var isUnitlessNumber = { + animationIterationCount: true, + borderImageOutset: true, + borderImageSlice: true, + borderImageWidth: true, + boxFlex: true, + boxFlexGroup: true, + boxOrdinalGroup: true, + columnCount: true, + flex: true, + flexGrow: true, + flexPositive: true, + flexShrink: true, + flexNegative: true, + flexOrder: true, + gridRow: true, + gridColumn: true, + fontWeight: true, + lineClamp: true, + lineHeight: true, + opacity: true, + order: true, + orphans: true, + tabSize: true, + widows: true, + zIndex: true, + zoom: true, + + // SVG-related properties + fillOpacity: true, + floodOpacity: true, + stopOpacity: true, + strokeDasharray: true, + strokeDashoffset: true, + strokeMiterlimit: true, + strokeOpacity: true, + strokeWidth: true + }; + + /** + * @param {string} prefix vendor-specific prefix, eg: Webkit + * @param {string} key style name, eg: transitionDuration + * @return {string} style name prefixed with `prefix`, properly camelCased, eg: + * WebkitTransitionDuration + */ + function prefixKey(prefix, key) { + return prefix + key.charAt(0).toUpperCase() + key.substring(1); + } + + /** + * Support style names that may come passed in prefixed by adding permutations + * of vendor prefixes. + */ + var prefixes = ['Webkit', 'ms', 'Moz', 'O']; + + // Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an + // infinite loop, because it iterates over the newly added props too. + Object.keys(isUnitlessNumber).forEach(function (prop) { + prefixes.forEach(function (prefix) { + isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop]; + }); + }); + + /** + * Most style properties can be unset by doing .style[prop] = '' but IE8 + * doesn't like doing that with shorthand properties so for the properties that + * IE8 breaks on, which are listed here, we instead unset each of the + * individual properties. See http://bugs.jquery.com/ticket/12385. + * The 4-value 'clock' properties like margin, padding, border-width seem to + * behave without any problems. Curiously, list-style works too without any + * special prodding. + */ + var shorthandPropertyExpansions = { + background: { + backgroundAttachment: true, + backgroundColor: true, + backgroundImage: true, + backgroundPositionX: true, + backgroundPositionY: true, + backgroundRepeat: true + }, + backgroundPosition: { + backgroundPositionX: true, + backgroundPositionY: true + }, + border: { + borderWidth: true, + borderStyle: true, + borderColor: true + }, + borderBottom: { + borderBottomWidth: true, + borderBottomStyle: true, + borderBottomColor: true + }, + borderLeft: { + borderLeftWidth: true, + borderLeftStyle: true, + borderLeftColor: true + }, + borderRight: { + borderRightWidth: true, + borderRightStyle: true, + borderRightColor: true + }, + borderTop: { + borderTopWidth: true, + borderTopStyle: true, + borderTopColor: true + }, + font: { + fontStyle: true, + fontVariant: true, + fontWeight: true, + fontSize: true, + lineHeight: true, + fontFamily: true + }, + outline: { + outlineWidth: true, + outlineStyle: true, + outlineColor: true + } + }; + + var CSSProperty = { + isUnitlessNumber: isUnitlessNumber, + shorthandPropertyExpansions: shorthandPropertyExpansions + }; + + module.exports = CSSProperty; + +/***/ }, +/* 98 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + var PooledClass = __webpack_require__(27); + + var invariant = __webpack_require__(3); + + /** + * A specialized pseudo-event module to help keep track of components waiting to + * be notified when their DOM representations are available for use. + * + * This implements `PooledClass`, so you should never need to instantiate this. + * Instead, use `CallbackQueue.getPooled()`. + * + * @class ReactMountReady + * @implements PooledClass + * @internal + */ + + var CallbackQueue = function () { + function CallbackQueue(arg) { + _classCallCheck(this, CallbackQueue); + + this._callbacks = null; + this._contexts = null; + this._arg = arg; + } + + /** + * Enqueues a callback to be invoked when `notifyAll` is invoked. + * + * @param {function} callback Invoked when `notifyAll` is invoked. + * @param {?object} context Context to call `callback` with. + * @internal + */ + + CallbackQueue.prototype.enqueue = function enqueue(callback, context) { + this._callbacks = this._callbacks || []; + this._callbacks.push(callback); + this._contexts = this._contexts || []; + this._contexts.push(context); + }; + + /** + * Invokes all enqueued callbacks and clears the queue. This is invoked after + * the DOM representation of a component has been created or updated. + * + * @internal + */ + + CallbackQueue.prototype.notifyAll = function notifyAll() { + var callbacks = this._callbacks; + var contexts = this._contexts; + var arg = this._arg; + if (callbacks && contexts) { + !(callbacks.length === contexts.length) ? false ? invariant(false, 'Mismatched list of contexts in callback queue') : _prodInvariant('24') : void 0; + this._callbacks = null; + this._contexts = null; + for (var i = 0; i < callbacks.length; i++) { + callbacks[i].call(contexts[i], arg); + } + callbacks.length = 0; + contexts.length = 0; + } + }; + + CallbackQueue.prototype.checkpoint = function checkpoint() { + return this._callbacks ? this._callbacks.length : 0; + }; + + CallbackQueue.prototype.rollback = function rollback(len) { + if (this._callbacks && this._contexts) { + this._callbacks.length = len; + this._contexts.length = len; + } + }; + + /** + * Resets the internal queue. + * + * @internal + */ + + CallbackQueue.prototype.reset = function reset() { + this._callbacks = null; + this._contexts = null; + }; + + /** + * `PooledClass` looks for this. + */ + + CallbackQueue.prototype.destructor = function destructor() { + this.reset(); + }; + + return CallbackQueue; + }(); + + module.exports = PooledClass.addPoolingTo(CallbackQueue); + +/***/ }, +/* 99 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var DOMProperty = __webpack_require__(32); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactInstrumentation = __webpack_require__(14); + + var quoteAttributeValueForBrowser = __webpack_require__(247); + var warning = __webpack_require__(5); + + var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$'); + var illegalAttributeNameCache = {}; + var validatedAttributeNameCache = {}; + + function isAttributeNameSafe(attributeName) { + if (validatedAttributeNameCache.hasOwnProperty(attributeName)) { + return true; + } + if (illegalAttributeNameCache.hasOwnProperty(attributeName)) { + return false; + } + if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) { + validatedAttributeNameCache[attributeName] = true; + return true; + } + illegalAttributeNameCache[attributeName] = true; + false ? warning(false, 'Invalid attribute name: `%s`', attributeName) : void 0; + return false; + } + + function shouldIgnoreValue(propertyInfo, value) { + return value == null || propertyInfo.hasBooleanValue && !value || propertyInfo.hasNumericValue && isNaN(value) || propertyInfo.hasPositiveNumericValue && value < 1 || propertyInfo.hasOverloadedBooleanValue && value === false; + } + + /** + * Operations for dealing with DOM properties. + */ + var DOMPropertyOperations = { + + /** + * Creates markup for the ID property. + * + * @param {string} id Unescaped ID. + * @return {string} Markup string. + */ + createMarkupForID: function createMarkupForID(id) { + return DOMProperty.ID_ATTRIBUTE_NAME + '=' + quoteAttributeValueForBrowser(id); + }, + + setAttributeForID: function setAttributeForID(node, id) { + node.setAttribute(DOMProperty.ID_ATTRIBUTE_NAME, id); + }, + + createMarkupForRoot: function createMarkupForRoot() { + return DOMProperty.ROOT_ATTRIBUTE_NAME + '=""'; + }, + + setAttributeForRoot: function setAttributeForRoot(node) { + node.setAttribute(DOMProperty.ROOT_ATTRIBUTE_NAME, ''); + }, + + /** + * Creates markup for a property. + * + * @param {string} name + * @param {*} value + * @return {?string} Markup string, or null if the property was invalid. + */ + createMarkupForProperty: function createMarkupForProperty(name, value) { + var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null; + if (propertyInfo) { + if (shouldIgnoreValue(propertyInfo, value)) { + return ''; + } + var attributeName = propertyInfo.attributeName; + if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) { + return attributeName + '=""'; + } + return attributeName + '=' + quoteAttributeValueForBrowser(value); + } else if (DOMProperty.isCustomAttribute(name)) { + if (value == null) { + return ''; + } + return name + '=' + quoteAttributeValueForBrowser(value); + } + return null; + }, + + /** + * Creates markup for a custom property. + * + * @param {string} name + * @param {*} value + * @return {string} Markup string, or empty string if the property was invalid. + */ + createMarkupForCustomAttribute: function createMarkupForCustomAttribute(name, value) { + if (!isAttributeNameSafe(name) || value == null) { + return ''; + } + return name + '=' + quoteAttributeValueForBrowser(value); + }, + + /** + * Sets the value for a property on a node. + * + * @param {DOMElement} node + * @param {string} name + * @param {*} value + */ + setValueForProperty: function setValueForProperty(node, name, value) { + var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null; + if (propertyInfo) { + var mutationMethod = propertyInfo.mutationMethod; + if (mutationMethod) { + mutationMethod(node, value); + } else if (shouldIgnoreValue(propertyInfo, value)) { + this.deleteValueForProperty(node, name); + return; + } else if (propertyInfo.mustUseProperty) { + // Contrary to `setAttribute`, object properties are properly + // `toString`ed by IE8/9. + node[propertyInfo.propertyName] = value; + } else { + var attributeName = propertyInfo.attributeName; + var namespace = propertyInfo.attributeNamespace; + // `setAttribute` with objects becomes only `[object]` in IE8/9, + // ('' + value) makes it output the correct toString()-value. + if (namespace) { + node.setAttributeNS(namespace, attributeName, '' + value); + } else if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) { + node.setAttribute(attributeName, ''); + } else { + node.setAttribute(attributeName, '' + value); + } + } + } else if (DOMProperty.isCustomAttribute(name)) { + DOMPropertyOperations.setValueForAttribute(node, name, value); + return; + } + + if (false) { + var payload = {}; + payload[name] = value; + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID, + type: 'update attribute', + payload: payload + }); + } + }, + + setValueForAttribute: function setValueForAttribute(node, name, value) { + if (!isAttributeNameSafe(name)) { + return; + } + if (value == null) { + node.removeAttribute(name); + } else { + node.setAttribute(name, '' + value); + } + + if (false) { + var payload = {}; + payload[name] = value; + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID, + type: 'update attribute', + payload: payload + }); + } + }, + + /** + * Deletes an attributes from a node. + * + * @param {DOMElement} node + * @param {string} name + */ + deleteValueForAttribute: function deleteValueForAttribute(node, name) { + node.removeAttribute(name); + if (false) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID, + type: 'remove attribute', + payload: name + }); + } + }, + + /** + * Deletes the value for a property on a node. + * + * @param {DOMElement} node + * @param {string} name + */ + deleteValueForProperty: function deleteValueForProperty(node, name) { + var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null; + if (propertyInfo) { + var mutationMethod = propertyInfo.mutationMethod; + if (mutationMethod) { + mutationMethod(node, undefined); + } else if (propertyInfo.mustUseProperty) { + var propName = propertyInfo.propertyName; + if (propertyInfo.hasBooleanValue) { + node[propName] = false; + } else { + node[propName] = ''; + } + } else { + node.removeAttribute(propertyInfo.attributeName); + } + } else if (DOMProperty.isCustomAttribute(name)) { + node.removeAttribute(name); + } + + if (false) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID, + type: 'remove attribute', + payload: name + }); + } + } + + }; + + module.exports = DOMPropertyOperations; + +/***/ }, +/* 100 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + /* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/ + + 'use strict'; + + var ReactDOMComponentTree = __webpack_require__(6); + var ReactDefaultInjection = __webpack_require__(212); + var ReactMount = __webpack_require__(107); + var ReactReconciler = __webpack_require__(34); + var ReactUpdates = __webpack_require__(15); + var ReactVersion = __webpack_require__(225); + + var findDOMNode = __webpack_require__(241); + var getHostComponentFromComposite = __webpack_require__(112); + var renderSubtreeIntoContainer = __webpack_require__(248); + var warning = __webpack_require__(5); + + ReactDefaultInjection.inject(); + + var ReactDOM = { + findDOMNode: findDOMNode, + render: ReactMount.render, + unmountComponentAtNode: ReactMount.unmountComponentAtNode, + version: ReactVersion, + + /* eslint-disable camelcase */ + unstable_batchedUpdates: ReactUpdates.batchedUpdates, + unstable_renderSubtreeIntoContainer: renderSubtreeIntoContainer + }; + + // Inject the runtime into a devtools global hook regardless of browser. + // Allows for debugging when the hook is injected on the page. + if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject === 'function') { + __REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ + ComponentTree: { + getClosestInstanceFromNode: ReactDOMComponentTree.getClosestInstanceFromNode, + getNodeFromInstance: function getNodeFromInstance(inst) { + // inst is an internal instance (but could be a composite) + if (inst._renderedComponent) { + inst = getHostComponentFromComposite(inst); + } + if (inst) { + return ReactDOMComponentTree.getNodeFromInstance(inst); + } else { + return null; + } + } + }, + Mount: ReactMount, + Reconciler: ReactReconciler + }); + } + + if (false) { + var ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment'); + if (ExecutionEnvironment.canUseDOM && window.top === window.self) { + + // First check if devtools is not installed + if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') { + // If we're in Chrome or Firefox, provide a download link if not installed. + if (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Edge') === -1 || navigator.userAgent.indexOf('Firefox') > -1) { + // Firefox does not have the issue with devtools loaded over file:// + var showFileUrlMessage = window.location.protocol.indexOf('http') === -1 && navigator.userAgent.indexOf('Firefox') === -1; + console.debug('Download the React DevTools ' + (showFileUrlMessage ? 'and use an HTTP server (instead of a file: URL) ' : '') + 'for a better development experience: ' + 'https://fb.me/react-devtools'); + } + } + + var testFunc = function testFn() {}; + process.env.NODE_ENV !== 'production' ? warning((testFunc.name || testFunc.toString()).indexOf('testFn') !== -1, 'It looks like you\'re using a minified copy of the development build ' + 'of React. When deploying React apps to production, make sure to use ' + 'the production build which skips development warnings and is faster. ' + 'See https://fb.me/react-minification for more details.') : void 0; + + // If we're in IE8, check to see if we are in compatibility mode and provide + // information on preventing compatibility mode + var ieCompatibilityMode = document.documentMode && document.documentMode < 8; + + process.env.NODE_ENV !== 'production' ? warning(!ieCompatibilityMode, 'Internet Explorer is running in compatibility mode; please add the ' + 'following tag to your HTML to prevent this from happening: ' + '<meta http-equiv="X-UA-Compatible" content="IE=edge" />') : void 0; + + var expectedFeatures = [ + // shims + Array.isArray, Array.prototype.every, Array.prototype.forEach, Array.prototype.indexOf, Array.prototype.map, Date.now, Function.prototype.bind, Object.keys, String.prototype.trim]; + + for (var i = 0; i < expectedFeatures.length; i++) { + if (!expectedFeatures[i]) { + process.env.NODE_ENV !== 'production' ? warning(false, 'One or more ES5 shims expected by React are not available: ' + 'https://fb.me/react-warning-polyfills') : void 0; + break; + } + } + } + } + + if (false) { + var ReactInstrumentation = require('./ReactInstrumentation'); + var ReactDOMUnknownPropertyHook = require('./ReactDOMUnknownPropertyHook'); + var ReactDOMNullInputValuePropHook = require('./ReactDOMNullInputValuePropHook'); + var ReactDOMInvalidARIAHook = require('./ReactDOMInvalidARIAHook'); + + ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook); + ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook); + ReactInstrumentation.debugTool.addHook(ReactDOMInvalidARIAHook); + } + + module.exports = ReactDOM; + +/***/ }, +/* 101 */ +/***/ function(module, exports) { + + /** + * Copyright 2015-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactDOMComponentFlags = { + hasCachedChildNodes: 1 << 0 + }; + + module.exports = ReactDOMComponentFlags; + +/***/ }, +/* 102 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var LinkedValueUtils = __webpack_require__(63); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactUpdates = __webpack_require__(15); + + var warning = __webpack_require__(5); + + var didWarnValueLink = false; + var didWarnValueDefaultValue = false; + + function updateOptionsIfPendingUpdateAndMounted() { + if (this._rootNodeID && this._wrapperState.pendingUpdate) { + this._wrapperState.pendingUpdate = false; + + var props = this._currentElement.props; + var value = LinkedValueUtils.getValue(props); + + if (value != null) { + updateOptions(this, Boolean(props.multiple), value); + } + } + } + + function getDeclarationErrorAddendum(owner) { + if (owner) { + var name = owner.getName(); + if (name) { + return ' Check the render method of `' + name + '`.'; + } + } + return ''; + } + + var valuePropNames = ['value', 'defaultValue']; + + /** + * Validation function for `value` and `defaultValue`. + * @private + */ + function checkSelectPropTypes(inst, props) { + var owner = inst._currentElement._owner; + LinkedValueUtils.checkPropTypes('select', props, owner); + + if (props.valueLink !== undefined && !didWarnValueLink) { + false ? warning(false, '`valueLink` prop on `select` is deprecated; set `value` and `onChange` instead.') : void 0; + didWarnValueLink = true; + } + + for (var i = 0; i < valuePropNames.length; i++) { + var propName = valuePropNames[i]; + if (props[propName] == null) { + continue; + } + var isArray = Array.isArray(props[propName]); + if (props.multiple && !isArray) { + false ? warning(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : void 0; + } else if (!props.multiple && isArray) { + false ? warning(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum(owner)) : void 0; + } + } + } + + /** + * @param {ReactDOMComponent} inst + * @param {boolean} multiple + * @param {*} propValue A stringable (with `multiple`, a list of stringables). + * @private + */ + function updateOptions(inst, multiple, propValue) { + var selectedValue, i; + var options = ReactDOMComponentTree.getNodeFromInstance(inst).options; + + if (multiple) { + selectedValue = {}; + for (i = 0; i < propValue.length; i++) { + selectedValue['' + propValue[i]] = true; + } + for (i = 0; i < options.length; i++) { + var selected = selectedValue.hasOwnProperty(options[i].value); + if (options[i].selected !== selected) { + options[i].selected = selected; + } + } + } else { + // Do not set `select.value` as exact behavior isn't consistent across all + // browsers for all cases. + selectedValue = '' + propValue; + for (i = 0; i < options.length; i++) { + if (options[i].value === selectedValue) { + options[i].selected = true; + return; + } + } + if (options.length) { + options[0].selected = true; + } + } + } + + /** + * Implements a <select> host component that allows optionally setting the + * props `value` and `defaultValue`. If `multiple` is false, the prop must be a + * stringable. If `multiple` is true, the prop must be an array of stringables. + * + * If `value` is not supplied (or null/undefined), user actions that change the + * selected option will trigger updates to the rendered options. + * + * If it is supplied (and not null/undefined), the rendered options will not + * update in response to user actions. Instead, the `value` prop must change in + * order for the rendered options to update. + * + * If `defaultValue` is provided, any options with the supplied values will be + * selected. + */ + var ReactDOMSelect = { + getHostProps: function getHostProps(inst, props) { + return _assign({}, props, { + onChange: inst._wrapperState.onChange, + value: undefined + }); + }, + + mountWrapper: function mountWrapper(inst, props) { + if (false) { + checkSelectPropTypes(inst, props); + } + + var value = LinkedValueUtils.getValue(props); + inst._wrapperState = { + pendingUpdate: false, + initialValue: value != null ? value : props.defaultValue, + listeners: null, + onChange: _handleChange.bind(inst), + wasMultiple: Boolean(props.multiple) + }; + + if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) { + false ? warning(false, 'Select elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled select ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0; + didWarnValueDefaultValue = true; + } + }, + + getSelectValueContext: function getSelectValueContext(inst) { + // ReactDOMOption looks at this initial value so the initial generated + // markup has correct `selected` attributes + return inst._wrapperState.initialValue; + }, + + postUpdateWrapper: function postUpdateWrapper(inst) { + var props = inst._currentElement.props; + + // After the initial mount, we control selected-ness manually so don't pass + // this value down + inst._wrapperState.initialValue = undefined; + + var wasMultiple = inst._wrapperState.wasMultiple; + inst._wrapperState.wasMultiple = Boolean(props.multiple); + + var value = LinkedValueUtils.getValue(props); + if (value != null) { + inst._wrapperState.pendingUpdate = false; + updateOptions(inst, Boolean(props.multiple), value); + } else if (wasMultiple !== Boolean(props.multiple)) { + // For simplicity, reapply `defaultValue` if `multiple` is toggled. + if (props.defaultValue != null) { + updateOptions(inst, Boolean(props.multiple), props.defaultValue); + } else { + // Revert the select back to its default unselected state. + updateOptions(inst, Boolean(props.multiple), props.multiple ? [] : ''); + } + } + } + }; + + function _handleChange(event) { + var props = this._currentElement.props; + var returnValue = LinkedValueUtils.executeOnChange(props, event); + + if (this._rootNodeID) { + this._wrapperState.pendingUpdate = true; + } + ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this); + return returnValue; + } + + module.exports = ReactDOMSelect; + +/***/ }, +/* 103 */ +/***/ function(module, exports) { + + /** + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var emptyComponentFactory; + + var ReactEmptyComponentInjection = { + injectEmptyComponentFactory: function injectEmptyComponentFactory(factory) { + emptyComponentFactory = factory; + } + }; + + var ReactEmptyComponent = { + create: function create(instantiate) { + return emptyComponentFactory(instantiate); + } + }; + + ReactEmptyComponent.injection = ReactEmptyComponentInjection; + + module.exports = ReactEmptyComponent; + +/***/ }, +/* 104 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var ReactFeatureFlags = { + // When true, call console.time() before and .timeEnd() after each top-level + // render (both initial renders and updates). Useful when looking at prod-mode + // timeline profiles in Chrome, for example. + logTopLevelRenders: false + }; + + module.exports = ReactFeatureFlags; + +/***/ }, +/* 105 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(7); + + var invariant = __webpack_require__(3); + + var genericComponentClass = null; + // This registry keeps track of wrapper classes around host tags. + var tagToComponentClass = {}; + var textComponentClass = null; + + var ReactHostComponentInjection = { + // This accepts a class that receives the tag string. This is a catch all + // that can render any kind of tag. + injectGenericComponentClass: function injectGenericComponentClass(componentClass) { + genericComponentClass = componentClass; + }, + // This accepts a text component class that takes the text string to be + // rendered as props. + injectTextComponentClass: function injectTextComponentClass(componentClass) { + textComponentClass = componentClass; + }, + // This accepts a keyed object with classes as values. Each key represents a + // tag. That particular tag will use this class instead of the generic one. + injectComponentClasses: function injectComponentClasses(componentClasses) { + _assign(tagToComponentClass, componentClasses); + } + }; + + /** + * Get a host internal component class for a specific tag. + * + * @param {ReactElement} element The element to create. + * @return {function} The internal class constructor function. + */ + function createInternalComponent(element) { + !genericComponentClass ? false ? invariant(false, 'There is no registered component for the tag %s', element.type) : _prodInvariant('111', element.type) : void 0; + return new genericComponentClass(element); + } + + /** + * @param {ReactText} text + * @return {ReactComponent} + */ + function createInstanceForText(text) { + return new textComponentClass(text); + } + + /** + * @param {ReactComponent} component + * @return {boolean} + */ + function isTextComponent(component) { + return component instanceof textComponentClass; + } + + var ReactHostComponent = { + createInternalComponent: createInternalComponent, + createInstanceForText: createInstanceForText, + isTextComponent: isTextComponent, + injection: ReactHostComponentInjection + }; + + module.exports = ReactHostComponent; + +/***/ }, +/* 106 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactDOMSelection = __webpack_require__(207); + + var containsNode = __webpack_require__(251); + var focusNode = __webpack_require__(121); + var getActiveElement = __webpack_require__(122); + + function isInDocument(node) { + return containsNode(document.documentElement, node); + } + + /** + * @ReactInputSelection: React input selection module. Based on Selection.js, + * but modified to be suitable for react and has a couple of bug fixes (doesn't + * assume buttons have range selections allowed). + * Input selection module for React. + */ + var ReactInputSelection = { + + hasSelectionCapabilities: function hasSelectionCapabilities(elem) { + var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); + return nodeName && (nodeName === 'input' && elem.type === 'text' || nodeName === 'textarea' || elem.contentEditable === 'true'); + }, + + getSelectionInformation: function getSelectionInformation() { + var focusedElem = getActiveElement(); + return { + focusedElem: focusedElem, + selectionRange: ReactInputSelection.hasSelectionCapabilities(focusedElem) ? ReactInputSelection.getSelection(focusedElem) : null + }; + }, + + /** + * @restoreSelection: If any selection information was potentially lost, + * restore it. This is useful when performing operations that could remove dom + * nodes and place them back in, resulting in focus being lost. + */ + restoreSelection: function restoreSelection(priorSelectionInformation) { + var curFocusedElem = getActiveElement(); + var priorFocusedElem = priorSelectionInformation.focusedElem; + var priorSelectionRange = priorSelectionInformation.selectionRange; + if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) { + if (ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)) { + ReactInputSelection.setSelection(priorFocusedElem, priorSelectionRange); + } + focusNode(priorFocusedElem); + } + }, + + /** + * @getSelection: Gets the selection bounds of a focused textarea, input or + * contentEditable node. + * -@input: Look up selection bounds of this input + * -@return {start: selectionStart, end: selectionEnd} + */ + getSelection: function getSelection(input) { + var selection; + + if ('selectionStart' in input) { + // Modern browser with input or textarea. + selection = { + start: input.selectionStart, + end: input.selectionEnd + }; + } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') { + // IE8 input. + var range = document.selection.createRange(); + // There can only be one selection per document in IE, so it must + // be in our element. + if (range.parentElement() === input) { + selection = { + start: -range.moveStart('character', -input.value.length), + end: -range.moveEnd('character', -input.value.length) + }; + } + } else { + // Content editable or old IE textarea. + selection = ReactDOMSelection.getOffsets(input); + } + + return selection || { start: 0, end: 0 }; + }, + + /** + * @setSelection: Sets the selection bounds of a textarea or input and focuses + * the input. + * -@input Set selection bounds of this input or textarea + * -@offsets Object of same form that is returned from get* + */ + setSelection: function setSelection(input, offsets) { + var start = offsets.start; + var end = offsets.end; + if (end === undefined) { + end = start; + } + + if ('selectionStart' in input) { + input.selectionStart = start; + input.selectionEnd = Math.min(end, input.value.length); + } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') { + var range = input.createTextRange(); + range.collapse(true); + range.moveStart('character', start); + range.moveEnd('character', end - start); + range.select(); + } else { + ReactDOMSelection.setOffsets(input, offsets); + } + } + }; + + module.exports = ReactInputSelection; + +/***/ }, +/* 107 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var DOMLazyTree = __webpack_require__(31); + var DOMProperty = __webpack_require__(32); + var React = __webpack_require__(20); + var ReactBrowserEventEmitter = __webpack_require__(47); + var ReactCurrentOwner = __webpack_require__(21); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactDOMContainerInfo = __webpack_require__(201); + var ReactDOMFeatureFlags = __webpack_require__(203); + var ReactFeatureFlags = __webpack_require__(104); + var ReactInstanceMap = __webpack_require__(33); + var ReactInstrumentation = __webpack_require__(14); + var ReactMarkupChecksum = __webpack_require__(217); + var ReactReconciler = __webpack_require__(34); + var ReactUpdateQueue = __webpack_require__(66); + var ReactUpdates = __webpack_require__(15); + + var emptyObject = __webpack_require__(120); + var instantiateReactComponent = __webpack_require__(115); + var invariant = __webpack_require__(3); + var setInnerHTML = __webpack_require__(51); + var shouldUpdateReactComponent = __webpack_require__(72); + var warning = __webpack_require__(5); + + var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME; + var ROOT_ATTR_NAME = DOMProperty.ROOT_ATTRIBUTE_NAME; + + var ELEMENT_NODE_TYPE = 1; + var DOC_NODE_TYPE = 9; + var DOCUMENT_FRAGMENT_NODE_TYPE = 11; + + var instancesByReactRootID = {}; + + /** + * Finds the index of the first character + * that's not common between the two given strings. + * + * @return {number} the index of the character where the strings diverge + */ + function firstDifferenceIndex(string1, string2) { + var minLen = Math.min(string1.length, string2.length); + for (var i = 0; i < minLen; i++) { + if (string1.charAt(i) !== string2.charAt(i)) { + return i; + } + } + return string1.length === string2.length ? -1 : minLen; + } + + /** + * @param {DOMElement|DOMDocument} container DOM element that may contain + * a React component + * @return {?*} DOM element that may have the reactRoot ID, or null. + */ + function getReactRootElementInContainer(container) { + if (!container) { + return null; + } + + if (container.nodeType === DOC_NODE_TYPE) { + return container.documentElement; + } else { + return container.firstChild; + } + } + + function internalGetID(node) { + // If node is something like a window, document, or text node, none of + // which support attributes or a .getAttribute method, gracefully return + // the empty string, as if the attribute were missing. + return node.getAttribute && node.getAttribute(ATTR_NAME) || ''; + } + + /** + * Mounts this component and inserts it into the DOM. + * + * @param {ReactComponent} componentInstance The instance to mount. + * @param {DOMElement} container DOM element to mount into. + * @param {ReactReconcileTransaction} transaction + * @param {boolean} shouldReuseMarkup If true, do not insert markup + */ + function mountComponentIntoNode(wrapperInstance, container, transaction, shouldReuseMarkup, context) { + var markerName; + if (ReactFeatureFlags.logTopLevelRenders) { + var wrappedElement = wrapperInstance._currentElement.props.child; + var type = wrappedElement.type; + markerName = 'React mount: ' + (typeof type === 'string' ? type : type.displayName || type.name); + console.time(markerName); + } + + var markup = ReactReconciler.mountComponent(wrapperInstance, transaction, null, ReactDOMContainerInfo(wrapperInstance, container), context, 0 /* parentDebugID */ + ); + + if (markerName) { + console.timeEnd(markerName); + } + + wrapperInstance._renderedComponent._topLevelWrapper = wrapperInstance; + ReactMount._mountImageIntoNode(markup, container, wrapperInstance, shouldReuseMarkup, transaction); + } + + /** + * Batched mount. + * + * @param {ReactComponent} componentInstance The instance to mount. + * @param {DOMElement} container DOM element to mount into. + * @param {boolean} shouldReuseMarkup If true, do not insert markup + */ + function batchedMountComponentIntoNode(componentInstance, container, shouldReuseMarkup, context) { + var transaction = ReactUpdates.ReactReconcileTransaction.getPooled( + /* useCreateElement */ + !shouldReuseMarkup && ReactDOMFeatureFlags.useCreateElement); + transaction.perform(mountComponentIntoNode, null, componentInstance, container, transaction, shouldReuseMarkup, context); + ReactUpdates.ReactReconcileTransaction.release(transaction); + } + + /** + * Unmounts a component and removes it from the DOM. + * + * @param {ReactComponent} instance React component instance. + * @param {DOMElement} container DOM element to unmount from. + * @final + * @internal + * @see {ReactMount.unmountComponentAtNode} + */ + function unmountComponentFromNode(instance, container, safely) { + if (false) { + ReactInstrumentation.debugTool.onBeginFlush(); + } + ReactReconciler.unmountComponent(instance, safely); + if (false) { + ReactInstrumentation.debugTool.onEndFlush(); + } + + if (container.nodeType === DOC_NODE_TYPE) { + container = container.documentElement; + } + + // http://jsperf.com/emptying-a-node + while (container.lastChild) { + container.removeChild(container.lastChild); + } + } + + /** + * True if the supplied DOM node has a direct React-rendered child that is + * not a React root element. Useful for warning in `render`, + * `unmountComponentAtNode`, etc. + * + * @param {?DOMElement} node The candidate DOM node. + * @return {boolean} True if the DOM element contains a direct child that was + * rendered by React but is not a root element. + * @internal + */ + function hasNonRootReactChild(container) { + var rootEl = getReactRootElementInContainer(container); + if (rootEl) { + var inst = ReactDOMComponentTree.getInstanceFromNode(rootEl); + return !!(inst && inst._hostParent); + } + } + + /** + * True if the supplied DOM node is a React DOM element and + * it has been rendered by another copy of React. + * + * @param {?DOMElement} node The candidate DOM node. + * @return {boolean} True if the DOM has been rendered by another copy of React + * @internal + */ + function nodeIsRenderedByOtherInstance(container) { + var rootEl = getReactRootElementInContainer(container); + return !!(rootEl && isReactNode(rootEl) && !ReactDOMComponentTree.getInstanceFromNode(rootEl)); + } + + /** + * True if the supplied DOM node is a valid node element. + * + * @param {?DOMElement} node The candidate DOM node. + * @return {boolean} True if the DOM is a valid DOM node. + * @internal + */ + function isValidContainer(node) { + return !!(node && (node.nodeType === ELEMENT_NODE_TYPE || node.nodeType === DOC_NODE_TYPE || node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)); + } + + /** + * True if the supplied DOM node is a valid React node element. + * + * @param {?DOMElement} node The candidate DOM node. + * @return {boolean} True if the DOM is a valid React DOM node. + * @internal + */ + function isReactNode(node) { + return isValidContainer(node) && (node.hasAttribute(ROOT_ATTR_NAME) || node.hasAttribute(ATTR_NAME)); + } + + function getHostRootInstanceInContainer(container) { + var rootEl = getReactRootElementInContainer(container); + var prevHostInstance = rootEl && ReactDOMComponentTree.getInstanceFromNode(rootEl); + return prevHostInstance && !prevHostInstance._hostParent ? prevHostInstance : null; + } + + function getTopLevelWrapperInContainer(container) { + var root = getHostRootInstanceInContainer(container); + return root ? root._hostContainerInfo._topLevelWrapper : null; + } + + /** + * Temporary (?) hack so that we can store all top-level pending updates on + * composites instead of having to worry about different types of components + * here. + */ + var topLevelRootCounter = 1; + var TopLevelWrapper = function TopLevelWrapper() { + this.rootID = topLevelRootCounter++; + }; + TopLevelWrapper.prototype.isReactComponent = {}; + if (false) { + TopLevelWrapper.displayName = 'TopLevelWrapper'; + } + TopLevelWrapper.prototype.render = function () { + return this.props.child; + }; + TopLevelWrapper.isReactTopLevelWrapper = true; + + /** + * Mounting is the process of initializing a React component by creating its + * representative DOM elements and inserting them into a supplied `container`. + * Any prior content inside `container` is destroyed in the process. + * + * ReactMount.render( + * component, + * document.getElementById('container') + * ); + * + * <div id="container"> <-- Supplied `container`. + * <div data-reactid=".3"> <-- Rendered reactRoot of React + * // ... component. + * </div> + * </div> + * + * Inside of `container`, the first element rendered is the "reactRoot". + */ + var ReactMount = { + + TopLevelWrapper: TopLevelWrapper, + + /** + * Used by devtools. The keys are not important. + */ + _instancesByReactRootID: instancesByReactRootID, + + /** + * This is a hook provided to support rendering React components while + * ensuring that the apparent scroll position of its `container` does not + * change. + * + * @param {DOMElement} container The `container` being rendered into. + * @param {function} renderCallback This must be called once to do the render. + */ + scrollMonitor: function scrollMonitor(container, renderCallback) { + renderCallback(); + }, + + /** + * Take a component that's already mounted into the DOM and replace its props + * @param {ReactComponent} prevComponent component instance already in the DOM + * @param {ReactElement} nextElement component instance to render + * @param {DOMElement} container container to render into + * @param {?function} callback function triggered on completion + */ + _updateRootComponent: function _updateRootComponent(prevComponent, nextElement, nextContext, container, callback) { + ReactMount.scrollMonitor(container, function () { + ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement, nextContext); + if (callback) { + ReactUpdateQueue.enqueueCallbackInternal(prevComponent, callback); + } + }); + + return prevComponent; + }, + + /** + * Render a new component into the DOM. Hooked by hooks! + * + * @param {ReactElement} nextElement element to render + * @param {DOMElement} container container to render into + * @param {boolean} shouldReuseMarkup if we should skip the markup insertion + * @return {ReactComponent} nextComponent + */ + _renderNewRootComponent: function _renderNewRootComponent(nextElement, container, shouldReuseMarkup, context) { + // Various parts of our code (such as ReactCompositeComponent's + // _renderValidatedComponent) assume that calls to render aren't nested; + // verify that that's the case. + false ? warning(ReactCurrentOwner.current == null, '_renderNewRootComponent(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from ' + 'render is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0; + + !isValidContainer(container) ? false ? invariant(false, '_registerComponent(...): Target container is not a DOM element.') : _prodInvariant('37') : void 0; + + ReactBrowserEventEmitter.ensureScrollValueMonitoring(); + var componentInstance = instantiateReactComponent(nextElement, false); + + // The initial render is synchronous but any updates that happen during + // rendering, in componentWillMount or componentDidMount, will be batched + // according to the current batching strategy. + + ReactUpdates.batchedUpdates(batchedMountComponentIntoNode, componentInstance, container, shouldReuseMarkup, context); + + var wrapperID = componentInstance._instance.rootID; + instancesByReactRootID[wrapperID] = componentInstance; + + return componentInstance; + }, + + /** + * Renders a React component into the DOM in the supplied `container`. + * + * If the React component was previously rendered into `container`, this will + * perform an update on it and only mutate the DOM as necessary to reflect the + * latest React component. + * + * @param {ReactComponent} parentComponent The conceptual parent of this render tree. + * @param {ReactElement} nextElement Component element to render. + * @param {DOMElement} container DOM element to render into. + * @param {?function} callback function triggered on completion + * @return {ReactComponent} Component instance rendered in `container`. + */ + renderSubtreeIntoContainer: function renderSubtreeIntoContainer(parentComponent, nextElement, container, callback) { + !(parentComponent != null && ReactInstanceMap.has(parentComponent)) ? false ? invariant(false, 'parentComponent must be a valid React Component') : _prodInvariant('38') : void 0; + return ReactMount._renderSubtreeIntoContainer(parentComponent, nextElement, container, callback); + }, + + _renderSubtreeIntoContainer: function _renderSubtreeIntoContainer(parentComponent, nextElement, container, callback) { + ReactUpdateQueue.validateCallback(callback, 'ReactDOM.render'); + !React.isValidElement(nextElement) ? false ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? ' Instead of passing a string like \'div\', pass ' + 'React.createElement(\'div\') or <div />.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or <Foo />.' : + // Check if it quacks like an element + nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : _prodInvariant('39', typeof nextElement === 'string' ? ' Instead of passing a string like \'div\', pass ' + 'React.createElement(\'div\') or <div />.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or <Foo />.' : nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : void 0; + + false ? warning(!container || !container.tagName || container.tagName.toUpperCase() !== 'BODY', 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : void 0; + + var nextWrappedElement = React.createElement(TopLevelWrapper, { child: nextElement }); + + var nextContext; + if (parentComponent) { + var parentInst = ReactInstanceMap.get(parentComponent); + nextContext = parentInst._processChildContext(parentInst._context); + } else { + nextContext = emptyObject; + } + + var prevComponent = getTopLevelWrapperInContainer(container); + + if (prevComponent) { + var prevWrappedElement = prevComponent._currentElement; + var prevElement = prevWrappedElement.props.child; + if (shouldUpdateReactComponent(prevElement, nextElement)) { + var publicInst = prevComponent._renderedComponent.getPublicInstance(); + var updatedCallback = callback && function () { + callback.call(publicInst); + }; + ReactMount._updateRootComponent(prevComponent, nextWrappedElement, nextContext, container, updatedCallback); + return publicInst; + } else { + ReactMount.unmountComponentAtNode(container); + } + } + + var reactRootElement = getReactRootElementInContainer(container); + var containerHasReactMarkup = reactRootElement && !!internalGetID(reactRootElement); + var containerHasNonRootReactChild = hasNonRootReactChild(container); + + if (false) { + process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.') : void 0; + + if (!containerHasReactMarkup || reactRootElement.nextSibling) { + var rootElementSibling = reactRootElement; + while (rootElementSibling) { + if (internalGetID(rootElementSibling)) { + process.env.NODE_ENV !== 'production' ? warning(false, 'render(): Target node has markup rendered by React, but there ' + 'are unrelated nodes as well. This is most commonly caused by ' + 'white-space inserted around server-rendered markup.') : void 0; + break; + } + rootElementSibling = rootElementSibling.nextSibling; + } + } + } + + var shouldReuseMarkup = containerHasReactMarkup && !prevComponent && !containerHasNonRootReactChild; + var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, nextContext)._renderedComponent.getPublicInstance(); + if (callback) { + callback.call(component); + } + return component; + }, + + /** + * Renders a React component into the DOM in the supplied `container`. + * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.render + * + * If the React component was previously rendered into `container`, this will + * perform an update on it and only mutate the DOM as necessary to reflect the + * latest React component. + * + * @param {ReactElement} nextElement Component element to render. + * @param {DOMElement} container DOM element to render into. + * @param {?function} callback function triggered on completion + * @return {ReactComponent} Component instance rendered in `container`. + */ + render: function render(nextElement, container, callback) { + return ReactMount._renderSubtreeIntoContainer(null, nextElement, container, callback); + }, + + /** + * Unmounts and destroys the React component rendered in the `container`. + * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.unmountcomponentatnode + * + * @param {DOMElement} container DOM element containing a React component. + * @return {boolean} True if a component was found in and unmounted from + * `container` + */ + unmountComponentAtNode: function unmountComponentAtNode(container) { + // Various parts of our code (such as ReactCompositeComponent's + // _renderValidatedComponent) assume that calls to render aren't nested; + // verify that that's the case. (Strictly speaking, unmounting won't cause a + // render but we still don't expect to be in a render call here.) + false ? warning(ReactCurrentOwner.current == null, 'unmountComponentAtNode(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from render ' + 'is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0; + + !isValidContainer(container) ? false ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : _prodInvariant('40') : void 0; + + if (false) { + process.env.NODE_ENV !== 'production' ? warning(!nodeIsRenderedByOtherInstance(container), 'unmountComponentAtNode(): The node you\'re attempting to unmount ' + 'was rendered by another copy of React.') : void 0; + } + + var prevComponent = getTopLevelWrapperInContainer(container); + if (!prevComponent) { + // Check if the node being unmounted was rendered by React, but isn't a + // root node. + var containerHasNonRootReactChild = hasNonRootReactChild(container); + + // Check if the container itself is a React root node. + var isContainerReactRoot = container.nodeType === 1 && container.hasAttribute(ROOT_ATTR_NAME); + + if (false) { + process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'unmountComponentAtNode(): The node you\'re attempting to unmount ' + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : void 0; + } + + return false; + } + delete instancesByReactRootID[prevComponent._instance.rootID]; + ReactUpdates.batchedUpdates(unmountComponentFromNode, prevComponent, container, false); + return true; + }, + + _mountImageIntoNode: function _mountImageIntoNode(markup, container, instance, shouldReuseMarkup, transaction) { + !isValidContainer(container) ? false ? invariant(false, 'mountComponentIntoNode(...): Target container is not valid.') : _prodInvariant('41') : void 0; + + if (shouldReuseMarkup) { + var rootElement = getReactRootElementInContainer(container); + if (ReactMarkupChecksum.canReuseMarkup(markup, rootElement)) { + ReactDOMComponentTree.precacheNode(instance, rootElement); + return; + } else { + var checksum = rootElement.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME); + rootElement.removeAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME); + + var rootMarkup = rootElement.outerHTML; + rootElement.setAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME, checksum); + + var normalizedMarkup = markup; + if (false) { + // because rootMarkup is retrieved from the DOM, various normalizations + // will have occurred which will not be present in `markup`. Here, + // insert markup into a <div> or <iframe> depending on the container + // type to perform the same normalizations before comparing. + var normalizer; + if (container.nodeType === ELEMENT_NODE_TYPE) { + normalizer = document.createElement('div'); + normalizer.innerHTML = markup; + normalizedMarkup = normalizer.innerHTML; + } else { + normalizer = document.createElement('iframe'); + document.body.appendChild(normalizer); + normalizer.contentDocument.write(markup); + normalizedMarkup = normalizer.contentDocument.documentElement.outerHTML; + document.body.removeChild(normalizer); + } + } + + var diffIndex = firstDifferenceIndex(normalizedMarkup, rootMarkup); + var difference = ' (client) ' + normalizedMarkup.substring(diffIndex - 20, diffIndex + 20) + '\n (server) ' + rootMarkup.substring(diffIndex - 20, diffIndex + 20); + + !(container.nodeType !== DOC_NODE_TYPE) ? false ? invariant(false, 'You\'re trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\n%s', difference) : _prodInvariant('42', difference) : void 0; + + if (false) { + process.env.NODE_ENV !== 'production' ? warning(false, 'React attempted to reuse markup in a container but the ' + 'checksum was invalid. This generally means that you are ' + 'using server rendering and the markup generated on the ' + 'server was not what the client was expecting. React injected ' + 'new markup to compensate which works but you have lost many ' + 'of the benefits of server rendering. Instead, figure out ' + 'why the markup being generated is different on the client ' + 'or server:\n%s', difference) : void 0; + } + } + } + + !(container.nodeType !== DOC_NODE_TYPE) ? false ? invariant(false, 'You\'re trying to render a component to the document but you didn\'t use server rendering. We can\'t do this without using server rendering due to cross-browser quirks. See ReactDOMServer.renderToString() for server rendering.') : _prodInvariant('43') : void 0; + + if (transaction.useCreateElement) { + while (container.lastChild) { + container.removeChild(container.lastChild); + } + DOMLazyTree.insertTreeBefore(container, markup, null); + } else { + setInnerHTML(container, markup); + ReactDOMComponentTree.precacheNode(instance, container.firstChild); + } + + if (false) { + var hostNode = ReactDOMComponentTree.getInstanceFromNode(container.firstChild); + if (hostNode._debugID !== 0) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: hostNode._debugID, + type: 'mount', + payload: markup.toString() + }); + } + } + } + }; + + module.exports = ReactMount; + +/***/ }, +/* 108 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var React = __webpack_require__(20); + + var invariant = __webpack_require__(3); + + var ReactNodeTypes = { + HOST: 0, + COMPOSITE: 1, + EMPTY: 2, + + getType: function getType(node) { + if (node === null || node === false) { + return ReactNodeTypes.EMPTY; + } else if (React.isValidElement(node)) { + if (typeof node.type === 'function') { + return ReactNodeTypes.COMPOSITE; + } else { + return ReactNodeTypes.HOST; + } + } + true ? false ? invariant(false, 'Unexpected node: %s', node) : _prodInvariant('26', node) : void 0; + } + }; + + module.exports = ReactNodeTypes; + +/***/ }, +/* 109 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ViewportMetrics = { + + currentScrollLeft: 0, + + currentScrollTop: 0, + + refreshScrollValues: function refreshScrollValues(scrollPosition) { + ViewportMetrics.currentScrollLeft = scrollPosition.x; + ViewportMetrics.currentScrollTop = scrollPosition.y; + } + + }; + + module.exports = ViewportMetrics; + +/***/ }, +/* 110 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(3); + + /** + * Accumulates items that must not be null or undefined into the first one. This + * is used to conserve memory by avoiding array allocations, and thus sacrifices + * API cleanness. Since `current` can be null before being passed in and not + * null after this function, make sure to assign it back to `current`: + * + * `a = accumulateInto(a, b);` + * + * This API should be sparingly used. Try `accumulate` for something cleaner. + * + * @return {*|array<*>} An accumulation of items. + */ + + function accumulateInto(current, next) { + !(next != null) ? false ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : _prodInvariant('30') : void 0; + + if (current == null) { + return next; + } + + // Both are not empty. Warning: Never call x.concat(y) when you are not + // certain that x is an Array (x could be a string with concat method). + if (Array.isArray(current)) { + if (Array.isArray(next)) { + current.push.apply(current, next); + return current; + } + current.push(next); + return current; + } + + if (Array.isArray(next)) { + // A bit too dangerous to mutate `next`. + return [current].concat(next); + } + + return [current, next]; + } + + module.exports = accumulateInto; + +/***/ }, +/* 111 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + /** + * @param {array} arr an "accumulation" of items which is either an Array or + * a single item. Useful when paired with the `accumulate` module. This is a + * simple utility that allows us to reason about a collection of items, but + * handling the case when there is exactly one item (and we do not need to + * allocate an array). + */ + + function forEachAccumulated(arr, cb, scope) { + if (Array.isArray(arr)) { + arr.forEach(cb, scope); + } else if (arr) { + cb.call(scope, arr); + } + } + + module.exports = forEachAccumulated; + +/***/ }, +/* 112 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactNodeTypes = __webpack_require__(108); + + function getHostComponentFromComposite(inst) { + var type; + + while ((type = inst._renderedNodeType) === ReactNodeTypes.COMPOSITE) { + inst = inst._renderedComponent; + } + + if (type === ReactNodeTypes.HOST) { + return inst._renderedComponent; + } else if (type === ReactNodeTypes.EMPTY) { + return null; + } + } + + module.exports = getHostComponentFromComposite; + +/***/ }, +/* 113 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(10); + + var contentKey = null; + + /** + * Gets the key used to access text content on a DOM node. + * + * @return {?string} Key used to access text content. + * @internal + */ + function getTextContentAccessor() { + if (!contentKey && ExecutionEnvironment.canUseDOM) { + // Prefer textContent to innerText because many browsers support both but + // SVG <text> elements don't support innerText even when <div> does. + contentKey = 'textContent' in document.documentElement ? 'textContent' : 'innerText'; + } + return contentKey; + } + + module.exports = getTextContentAccessor; + +/***/ }, +/* 114 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(10); + + /** + * Generate a mapping of standard vendor prefixes using the defined style property and event name. + * + * @param {string} styleProp + * @param {string} eventName + * @returns {object} + */ + function makePrefixMap(styleProp, eventName) { + var prefixes = {}; + + prefixes[styleProp.toLowerCase()] = eventName.toLowerCase(); + prefixes['Webkit' + styleProp] = 'webkit' + eventName; + prefixes['Moz' + styleProp] = 'moz' + eventName; + prefixes['ms' + styleProp] = 'MS' + eventName; + prefixes['O' + styleProp] = 'o' + eventName.toLowerCase(); + + return prefixes; + } + + /** + * A list of event names to a configurable list of vendor prefixes. + */ + var vendorPrefixes = { + animationend: makePrefixMap('Animation', 'AnimationEnd'), + animationiteration: makePrefixMap('Animation', 'AnimationIteration'), + animationstart: makePrefixMap('Animation', 'AnimationStart'), + transitionend: makePrefixMap('Transition', 'TransitionEnd') + }; + + /** + * Event names that have already been detected and prefixed (if applicable). + */ + var prefixedEventNames = {}; + + /** + * Element to check for prefixes on. + */ + var style = {}; + + /** + * Bootstrap if a DOM exists. + */ + if (ExecutionEnvironment.canUseDOM) { + style = document.createElement('div').style; + + // On some platforms, in particular some releases of Android 4.x, + // the un-prefixed "animation" and "transition" properties are defined on the + // style object but the events that fire will still be prefixed, so we need + // to check if the un-prefixed events are usable, and if not remove them from the map. + if (!('AnimationEvent' in window)) { + delete vendorPrefixes.animationend.animation; + delete vendorPrefixes.animationiteration.animation; + delete vendorPrefixes.animationstart.animation; + } + + // Same as above + if (!('TransitionEvent' in window)) { + delete vendorPrefixes.transitionend.transition; + } + } + + /** + * Attempts to determine the correct vendor prefixed event name. + * + * @param {string} eventName + * @returns {string} + */ + function getVendorPrefixedEventName(eventName) { + if (prefixedEventNames[eventName]) { + return prefixedEventNames[eventName]; + } else if (!vendorPrefixes[eventName]) { + return eventName; + } + + var prefixMap = vendorPrefixes[eventName]; + + for (var styleProp in prefixMap) { + if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) { + return prefixedEventNames[eventName] = prefixMap[styleProp]; + } + } + + return ''; + } + + module.exports = getVendorPrefixedEventName; + +/***/ }, +/* 115 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(7); + + var ReactCompositeComponent = __webpack_require__(199); + var ReactEmptyComponent = __webpack_require__(103); + var ReactHostComponent = __webpack_require__(105); + + var getNextDebugID = __webpack_require__(245); + var invariant = __webpack_require__(3); + var warning = __webpack_require__(5); + + // To avoid a cyclic dependency, we create the final class in this module + var ReactCompositeComponentWrapper = function ReactCompositeComponentWrapper(element) { + this.construct(element); + }; + _assign(ReactCompositeComponentWrapper.prototype, ReactCompositeComponent, { + _instantiateReactComponent: instantiateReactComponent + }); + + function getDeclarationErrorAddendum(owner) { + if (owner) { + var name = owner.getName(); + if (name) { + return ' Check the render method of `' + name + '`.'; + } + } + return ''; + } + + /** + * Check if the type reference is a known internal type. I.e. not a user + * provided composite type. + * + * @param {function} type + * @return {boolean} Returns true if this is a valid internal type. + */ + function isInternalComponentType(type) { + return typeof type === 'function' && typeof type.prototype !== 'undefined' && typeof type.prototype.mountComponent === 'function' && typeof type.prototype.receiveComponent === 'function'; + } + + /** + * Given a ReactNode, create an instance that will actually be mounted. + * + * @param {ReactNode} node + * @param {boolean} shouldHaveDebugID + * @return {object} A new instance of the element's constructor. + * @protected + */ + function instantiateReactComponent(node, shouldHaveDebugID) { + var instance; + + if (node === null || node === false) { + instance = ReactEmptyComponent.create(instantiateReactComponent); + } else if ((typeof node === 'undefined' ? 'undefined' : _typeof(node)) === 'object') { + var element = node; + !(element && (typeof element.type === 'function' || typeof element.type === 'string')) ? false ? invariant(false, 'Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s', element.type == null ? element.type : _typeof(element.type), getDeclarationErrorAddendum(element._owner)) : _prodInvariant('130', element.type == null ? element.type : _typeof(element.type), getDeclarationErrorAddendum(element._owner)) : void 0; + + // Special case string values + if (typeof element.type === 'string') { + instance = ReactHostComponent.createInternalComponent(element); + } else if (isInternalComponentType(element.type)) { + // This is temporarily available for custom components that are not string + // representations. I.e. ART. Once those are updated to use the string + // representation, we can drop this code path. + instance = new element.type(element); + + // We renamed this. Allow the old name for compat. :( + if (!instance.getHostNode) { + instance.getHostNode = instance.getNativeNode; + } + } else { + instance = new ReactCompositeComponentWrapper(element); + } + } else if (typeof node === 'string' || typeof node === 'number') { + instance = ReactHostComponent.createInstanceForText(node); + } else { + true ? false ? invariant(false, 'Encountered invalid React node of type %s', typeof node === 'undefined' ? 'undefined' : _typeof(node)) : _prodInvariant('131', typeof node === 'undefined' ? 'undefined' : _typeof(node)) : void 0; + } + + if (false) { + process.env.NODE_ENV !== 'production' ? warning(typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.getHostNode === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : void 0; + } + + // These two fields are used by the DOM and ART diffing algorithms + // respectively. Instead of using expandos on components, we should be + // storing the state needed by the diffing algorithms elsewhere. + instance._mountIndex = 0; + instance._mountImage = null; + + if (false) { + instance._debugID = shouldHaveDebugID ? getNextDebugID() : 0; + } + + // Internal instances should fully constructed at this point, so they should + // not get any new fields added to them at this point. + if (false) { + if (Object.preventExtensions) { + Object.preventExtensions(instance); + } + } + + return instance; + } + + module.exports = instantiateReactComponent; + +/***/ }, +/* 116 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + /** + * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary + */ + + var supportedInputTypes = { + 'color': true, + 'date': true, + 'datetime': true, + 'datetime-local': true, + 'email': true, + 'month': true, + 'number': true, + 'password': true, + 'range': true, + 'search': true, + 'tel': true, + 'text': true, + 'time': true, + 'url': true, + 'week': true + }; + + function isTextInputElement(elem) { + var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); + + if (nodeName === 'input') { + return !!supportedInputTypes[elem.type]; + } + + if (nodeName === 'textarea') { + return true; + } + + return false; + } + + module.exports = isTextInputElement; + +/***/ }, +/* 117 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(10); + var escapeTextContentForBrowser = __webpack_require__(50); + var setInnerHTML = __webpack_require__(51); + + /** + * Set the textContent property of a node, ensuring that whitespace is preserved + * even in IE8. innerText is a poor substitute for textContent and, among many + * issues, inserts <br> instead of the literal newline chars. innerHTML behaves + * as it should. + * + * @param {DOMElement} node + * @param {string} text + * @internal + */ + var setTextContent = function setTextContent(node, text) { + if (text) { + var firstChild = node.firstChild; + + if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) { + firstChild.nodeValue = text; + return; + } + } + node.textContent = text; + }; + + if (ExecutionEnvironment.canUseDOM) { + if (!('textContent' in document.documentElement)) { + setTextContent = function setTextContent(node, text) { + if (node.nodeType === 3) { + node.nodeValue = text; + return; + } + setInnerHTML(node, escapeTextContentForBrowser(text)); + }; + } + } + + module.exports = setTextContent; + +/***/ }, +/* 118 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(4); + + var ReactCurrentOwner = __webpack_require__(21); + var REACT_ELEMENT_TYPE = __webpack_require__(213); + + var getIteratorFn = __webpack_require__(244); + var invariant = __webpack_require__(3); + var KeyEscapeUtils = __webpack_require__(62); + var warning = __webpack_require__(5); + + var SEPARATOR = '.'; + var SUBSEPARATOR = ':'; + + /** + * This is inlined from ReactElement since this file is shared between + * isomorphic and renderers. We could extract this to a + * + */ + + /** + * TODO: Test that a single child and an array with one item have the same key + * pattern. + */ + + var didWarnAboutMaps = false; + + /** + * Generate a key string that identifies a component within a set. + * + * @param {*} component A component that could contain a manual key. + * @param {number} index Index that is used if a manual key is not provided. + * @return {string} + */ + function getComponentKey(component, index) { + // Do some typechecking here since we call this blindly. We want to ensure + // that we don't block potential future ES APIs. + if (component && (typeof component === 'undefined' ? 'undefined' : _typeof(component)) === 'object' && component.key != null) { + // Explicit key + return KeyEscapeUtils.escape(component.key); + } + // Implicit key determined by the index in the set + return index.toString(36); + } + + /** + * @param {?*} children Children tree container. + * @param {!string} nameSoFar Name of the key path so far. + * @param {!function} callback Callback to invoke with each child found. + * @param {?*} traverseContext Used to pass information throughout the traversal + * process. + * @return {!number} The number of children in this subtree. + */ + function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) { + var type = typeof children === 'undefined' ? 'undefined' : _typeof(children); + + if (type === 'undefined' || type === 'boolean') { + // All of the above are perceived as null. + children = null; + } + + if (children === null || type === 'string' || type === 'number' || + // The following is inlined from ReactElement. This means we can optimize + // some checks. React Fiber also inlines this logic for similar purposes. + type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) { + callback(traverseContext, children, + // If it's the only child, treat the name as if it was wrapped in an array + // so that it's consistent if the number of children grows. + nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar); + return 1; + } + + var child; + var nextName; + var subtreeCount = 0; // Count of children found in the current subtree. + var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR; + + if (Array.isArray(children)) { + for (var i = 0; i < children.length; i++) { + child = children[i]; + nextName = nextNamePrefix + getComponentKey(child, i); + subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); + } + } else { + var iteratorFn = getIteratorFn(children); + if (iteratorFn) { + var iterator = iteratorFn.call(children); + var step; + if (iteratorFn !== children.entries) { + var ii = 0; + while (!(step = iterator.next()).done) { + child = step.value; + nextName = nextNamePrefix + getComponentKey(child, ii++); + subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); + } + } else { + if (false) { + var mapsAsChildrenAddendum = ''; + if (ReactCurrentOwner.current) { + var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName(); + if (mapsAsChildrenOwnerName) { + mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.'; + } + } + process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0; + didWarnAboutMaps = true; + } + // Iterator will provide entry [k,v] tuples rather than values. + while (!(step = iterator.next()).done) { + var entry = step.value; + if (entry) { + child = entry[1]; + nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0); + subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); + } + } + } + } else if (type === 'object') { + var addendum = ''; + if (false) { + addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.'; + if (children._isReactElement) { + addendum = ' It looks like you\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.'; + } + if (ReactCurrentOwner.current) { + var name = ReactCurrentOwner.current.getName(); + if (name) { + addendum += ' Check the render method of `' + name + '`.'; + } + } + } + var childrenString = String(children); + true ? false ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0; + } + } + + return subtreeCount; + } + + /** + * Traverses children that are typically specified as `props.children`, but + * might also be specified through attributes: + * + * - `traverseAllChildren(this.props.children, ...)` + * - `traverseAllChildren(this.props.leftPanelChildren, ...)` + * + * The `traverseContext` is an optional argument that is passed through the + * entire traversal. It can be used to store accumulations or anything else that + * the callback might find relevant. + * + * @param {?*} children Children tree object. + * @param {!function} callback To invoke upon traversing each child. + * @param {?*} traverseContext Context for traversal. + * @return {!number} The number of children in this subtree. + */ + function traverseAllChildren(children, callback, traverseContext) { + if (children == null) { + return 0; + } + + return traverseAllChildrenImpl(children, '', callback, traverseContext); + } + + module.exports = traverseAllChildren; + +/***/ }, +/* 119 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * @typechecks + */ + + var emptyFunction = __webpack_require__(19); + + /** + * Upstream version of event listener. Does not take into account specific + * nature of platform. + */ + var EventListener = { + /** + * Listen to DOM events during the bubble phase. + * + * @param {DOMEventTarget} target DOM element to register listener on. + * @param {string} eventType Event type, e.g. 'click' or 'mouseover'. + * @param {function} callback Callback function. + * @return {object} Object with a `remove` method. + */ + listen: function listen(target, eventType, callback) { + if (target.addEventListener) { + target.addEventListener(eventType, callback, false); + return { + remove: function remove() { + target.removeEventListener(eventType, callback, false); + } + }; + } else if (target.attachEvent) { + target.attachEvent('on' + eventType, callback); + return { + remove: function remove() { + target.detachEvent('on' + eventType, callback); + } + }; + } + }, + + /** + * Listen to DOM events during the capture phase. + * + * @param {DOMEventTarget} target DOM element to register listener on. + * @param {string} eventType Event type, e.g. 'click' or 'mouseover'. + * @param {function} callback Callback function. + * @return {object} Object with a `remove` method. + */ + capture: function capture(target, eventType, callback) { + if (target.addEventListener) { + target.addEventListener(eventType, callback, true); + return { + remove: function remove() { + target.removeEventListener(eventType, callback, true); + } + }; + } else { + if (false) { + console.error('Attempted to listen to events during the capture phase on a ' + 'browser that does not support the capture phase. Your application ' + 'will not receive some events.'); + } + return { + remove: emptyFunction + }; + } + }, + + registerDefault: function registerDefault() {} + }; + + module.exports = EventListener; + +/***/ }, +/* 120 */ +78, +/* 121 */ +/***/ function(module, exports) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * @param {DOMElement} node input/textarea to focus + */ + + function focusNode(node) { + // IE8 can throw "Can't move focus to the control because it is invisible, + // not enabled, or of a type that does not accept the focus." for all kinds of + // reasons that are too expensive and fragile to test. + try { + node.focus(); + } catch (e) {} + } + + module.exports = focusNode; + +/***/ }, +/* 122 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + /* eslint-disable fb-www/typeof-undefined */ + + /** + * Same as document.activeElement but wraps in a try-catch block. In IE it is + * not safe to call document.activeElement if there is nothing focused. + * + * The activeElement will be null only if the document or document body is not + * yet defined. + */ + + function getActiveElement() /*?DOMElement*/{ + if (typeof document === 'undefined') { + return null; + } + try { + return document.activeElement || document.body; + } catch (e) { + return document.body; + } + } + + module.exports = getActiveElement; + +/***/ }, +/* 123 */ +62, +/* 124 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactDOM = __webpack_require__(100); + var ReactInstanceMap = __webpack_require__(33); + + exports.getReactDOM = function () { + return ReactDOM; + }; + + exports.getReactInstanceMap = function () { + return ReactInstanceMap; + }; + + if (false) { + var ReactPerf = require('react-dom/lib/ReactPerf'); + var ReactTestUtils = require('react-dom/lib/ReactTestUtils'); + + exports.getReactPerf = function () { + return ReactPerf; + }; + + exports.getReactTestUtils = function () { + return ReactTestUtils; + }; + } + +/***/ }, +/* 125 */ +/***/ function(module, exports) { + + /** + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + // The Symbol used to tag the ReactElement type. If there is no native Symbol + // nor polyfill, then a plain number is used for performance. + + var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7; + + module.exports = REACT_ELEMENT_TYPE; + +/***/ }, +/* 126 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var ReactPropTypeLocationNames = {}; + + if (false) { + ReactPropTypeLocationNames = { + prop: 'prop', + context: 'context', + childContext: 'child context' + }; + } + + module.exports = ReactPropTypeLocationNames; + +/***/ }, +/* 127 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var canDefineProperty = false; + if (false) { + try { + // $FlowFixMe https://github.com/facebook/flow/issues/285 + Object.defineProperty({}, 'x', { get: function get() {} }); + canDefineProperty = true; + } catch (x) { + // IE will fail on defineProperty + } + } + + module.exports = canDefineProperty; + +/***/ }, +/* 128 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + /* global Symbol */ + + var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; + var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec. + + /** + * Returns the iterator method function contained on the iterable object. + * + * Be sure to invoke the function with the iterable as context: + * + * var iteratorFn = getIteratorFn(myIterable); + * if (iteratorFn) { + * var iterator = iteratorFn.call(myIterable); + * ... + * } + * + * @param {?object} maybeIterable + * @return {?function} + */ + function getIteratorFn(maybeIterable) { + var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]); + if (typeof iteratorFn === 'function') { + return iteratorFn; + } + } + + module.exports = getIteratorFn; + +/***/ }, +/* 129 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + 'use strict'; + + var _prodInvariant = __webpack_require__(36); + + var ReactElement = __webpack_require__(35); + + var invariant = __webpack_require__(28); + + /** + * Returns the first child in a collection of children and verifies that there + * is only one child in the collection. + * + * See https://facebook.github.io/react/docs/top-level-api.html#react.children.only + * + * The current implementation of this function assumes that a single child gets + * passed without a wrapper, but the purpose of this helper function is to + * abstract away the particular structure of children. + * + * @param {?object} children Child collection structure. + * @return {ReactElement} The first and only `ReactElement` contained in the + * structure. + */ + function onlyChild(children) { + !ReactElement.isValidElement(children) ? false ? invariant(false, 'React.Children.only expected to receive a single React element child.') : _prodInvariant('143') : void 0; + return children; + } + + module.exports = onlyChild; + +/***/ }, +/* 130 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(36); + + var ReactCurrentOwner = __webpack_require__(21); + var REACT_ELEMENT_TYPE = __webpack_require__(125); + + var getIteratorFn = __webpack_require__(128); + var invariant = __webpack_require__(28); + var KeyEscapeUtils = __webpack_require__(123); + var warning = __webpack_require__(22); + + var SEPARATOR = '.'; + var SUBSEPARATOR = ':'; + + /** + * This is inlined from ReactElement since this file is shared between + * isomorphic and renderers. We could extract this to a + * + */ + + /** + * TODO: Test that a single child and an array with one item have the same key + * pattern. + */ + + var didWarnAboutMaps = false; + + /** + * Generate a key string that identifies a component within a set. + * + * @param {*} component A component that could contain a manual key. + * @param {number} index Index that is used if a manual key is not provided. + * @return {string} + */ + function getComponentKey(component, index) { + // Do some typechecking here since we call this blindly. We want to ensure + // that we don't block potential future ES APIs. + if (component && (typeof component === 'undefined' ? 'undefined' : _typeof(component)) === 'object' && component.key != null) { + // Explicit key + return KeyEscapeUtils.escape(component.key); + } + // Implicit key determined by the index in the set + return index.toString(36); + } + + /** + * @param {?*} children Children tree container. + * @param {!string} nameSoFar Name of the key path so far. + * @param {!function} callback Callback to invoke with each child found. + * @param {?*} traverseContext Used to pass information throughout the traversal + * process. + * @return {!number} The number of children in this subtree. + */ + function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) { + var type = typeof children === 'undefined' ? 'undefined' : _typeof(children); + + if (type === 'undefined' || type === 'boolean') { + // All of the above are perceived as null. + children = null; + } + + if (children === null || type === 'string' || type === 'number' || + // The following is inlined from ReactElement. This means we can optimize + // some checks. React Fiber also inlines this logic for similar purposes. + type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) { + callback(traverseContext, children, + // If it's the only child, treat the name as if it was wrapped in an array + // so that it's consistent if the number of children grows. + nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar); + return 1; + } + + var child; + var nextName; + var subtreeCount = 0; // Count of children found in the current subtree. + var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR; + + if (Array.isArray(children)) { + for (var i = 0; i < children.length; i++) { + child = children[i]; + nextName = nextNamePrefix + getComponentKey(child, i); + subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); + } + } else { + var iteratorFn = getIteratorFn(children); + if (iteratorFn) { + var iterator = iteratorFn.call(children); + var step; + if (iteratorFn !== children.entries) { + var ii = 0; + while (!(step = iterator.next()).done) { + child = step.value; + nextName = nextNamePrefix + getComponentKey(child, ii++); + subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); + } + } else { + if (false) { + var mapsAsChildrenAddendum = ''; + if (ReactCurrentOwner.current) { + var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName(); + if (mapsAsChildrenOwnerName) { + mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.'; + } + } + process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0; + didWarnAboutMaps = true; + } + // Iterator will provide entry [k,v] tuples rather than values. + while (!(step = iterator.next()).done) { + var entry = step.value; + if (entry) { + child = entry[1]; + nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0); + subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); + } + } + } + } else if (type === 'object') { + var addendum = ''; + if (false) { + addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.'; + if (children._isReactElement) { + addendum = ' It looks like you\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.'; + } + if (ReactCurrentOwner.current) { + var name = ReactCurrentOwner.current.getName(); + if (name) { + addendum += ' Check the render method of `' + name + '`.'; + } + } + } + var childrenString = String(children); + true ? false ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0; + } + } + + return subtreeCount; + } + + /** + * Traverses children that are typically specified as `props.children`, but + * might also be specified through attributes: + * + * - `traverseAllChildren(this.props.children, ...)` + * - `traverseAllChildren(this.props.leftPanelChildren, ...)` + * + * The `traverseContext` is an optional argument that is passed through the + * entire traversal. It can be used to store accumulations or anything else that + * the callback might find relevant. + * + * @param {?*} children Children tree object. + * @param {!function} callback To invoke upon traversing each child. + * @param {?*} traverseContext Context for traversal. + * @return {!number} The number of children in this subtree. + */ + function traverseAllChildren(children, callback, traverseContext) { + if (children == null) { + return 0; + } + + return traverseAllChildrenImpl(children, '', callback, traverseContext); + } + + module.exports = traverseAllChildren; + +/***/ }, +/* 131 */ +/***/ function(module, exports, __webpack_require__) { + + var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + (function (name, context, definition) { + if (typeof module !== 'undefined' && module.exports) module.exports = definition();else if (true) !(__WEBPACK_AMD_DEFINE_FACTORY__ = (definition), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else context[name] = definition(); + })('urljoin', undefined, function () { + + function normalize(str, options) { + + // make sure protocol is followed by two slashes + str = str.replace(/:\//g, '://'); + + // remove consecutive slashes + str = str.replace(/([^:\s])\/+/g, '$1/'); + + // remove trailing slash before parameters or hash + str = str.replace(/\/(\?|&|#[^!])/g, '$1'); + + // replace ? in parameters with & + str = str.replace(/(\?.+)\?/g, '$1&'); + + return str; + } + + return function () { + var input = arguments; + var options = {}; + + if (_typeof(arguments[0]) === 'object') { + // new syntax with array and options + input = arguments[0]; + options = arguments[1] || {}; + } + + var joined = [].slice.call(input, 0).join('/'); + return normalize(joined, options); + }; + }); + +/***/ }, +/* 132 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.debouncedRequestAvatar = undefined; + exports.requestAvatar = requestAvatar; + + var _index = __webpack_require__(12); + + var _data_utils = __webpack_require__(17); + + var _preload_utils = __webpack_require__(146); + + var preload = _interopRequireWildcard(_preload_utils); + + var _fn_utils = __webpack_require__(324); + + var f = _interopRequireWildcard(_fn_utils); + + var _index2 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index2); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + var _dataFns = (0, _data_utils.dataFns)(["avatar"]), + tget = _dataFns.tget, + tset = _dataFns.tset; + + var cache = {}; + + function requestAvatar(id, src) { + if (cache[src]) { + return update(id, src, cache[src].url, cache[src].displayName, true); + } + + var provider = l.ui.avatarProvider((0, _index.read)(_index.getEntity, "lock", id)).toJS(); + + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + m = tset(m, "syncStatus", "loading"); + m = tset(m, "src", src); + return m; + }); + + var url = void 0, + displayName = void 0; + + provider.url(src, function (error, str) { + if (error) return handleError(id, src); + + preload.img(str, function (error, img) { + if (error) return handleError(id, src); + url = img.src; + if (displayName !== undefined) handleSuccess(id, src, url, displayName); + }); + }); + + provider.displayName(src, function (error, str) { + if (error) return handleError(id); + displayName = str; + if (url !== undefined) handleSuccess(id, src, url, displayName); + }); + } + + var debouncedRequestAvatar = exports.debouncedRequestAvatar = f.debounce(requestAvatar, 300); + + function handleSuccess(id, src, url, displayName) { + cache[src] = { url: url, displayName: displayName }; + update(id, src, url, displayName); + } + + function update(id, src, url, displayName) { + var force = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; + + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + if (force || tget(m, "src") === src) { + m = tset(m, "syncStatus", "ok"); + m = tset(m, "url", url); + m = tset(m, "src", src); + m = tset(m, "displayName", displayName); + } + return m; + }); + } + + function handleError(id, src) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + return tget(m, "src") === "src" ? tset(m, "syncStatus", "error") : m; + }); + } + +/***/ }, +/* 133 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _actions = __webpack_require__(38); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(11); + + var _actions2 = __webpack_require__(24); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var LoginSignUpTabs = function (_React$Component) { + _inherits(LoginSignUpTabs, _React$Component); + + function LoginSignUpTabs() { + _classCallCheck(this, LoginSignUpTabs); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + LoginSignUpTabs.prototype.render = function render() { + var _props = this.props, + lock = _props.lock, + loginLabel = _props.loginLabel, + signUpLink = _props.signUpLink, + signUpLabel = _props.signUpLabel; + + var isLogin = (0, _index2.getScreen)(lock) === "login"; + + return _react2.default.createElement( + 'div', + { className: 'auth0-lock-tabs-container' }, + _react2.default.createElement( + 'ul', + { className: 'auth0-lock-tabs' }, + _react2.default.createElement(LoginSignUpTab, { + label: loginLabel, + current: isLogin, + clickHandler: this.handleLoginClick.bind(this) + }), + _react2.default.createElement(LoginSignUpTab, { + label: signUpLabel, + current: !isLogin, + clickHandler: this.handleSignUpClick.bind(this), + clickWithHrefHandler: this.handleSignUpWithHrefClick.bind(this), + href: signUpLink + }) + ) + ); + }; + + LoginSignUpTabs.prototype.handleLoginClick = function handleLoginClick() { + (0, _actions.showLoginActivity)(l.id(this.props.lock)); + }; + + LoginSignUpTabs.prototype.handleSignUpClick = function handleSignUpClick() { + if (this.props.signUpLink) { + (0, _actions2.closeLock)(l.id(this.props.lock), true); + } + (0, _actions.showSignUpActivity)(l.id(this.props.lock)); + }; + + LoginSignUpTabs.prototype.handleSignUpWithHrefClick = function handleSignUpWithHrefClick() { + (0, _actions2.closeLock)(l.id(this.props.lock), true); + }; + + return LoginSignUpTabs; + }(_react2.default.Component); + + exports.default = LoginSignUpTabs; + + + LoginSignUpTabs.propTypes = { + lock: _react2.default.PropTypes.object.isRequired, + loginLabel: _react2.default.PropTypes.string.isRequired, + signUpLabel: _react2.default.PropTypes.string.isRequired, + signUpLink: _react2.default.PropTypes.string + }; + + var LoginSignUpTab = function (_React$Component2) { + _inherits(LoginSignUpTab, _React$Component2); + + function LoginSignUpTab() { + _classCallCheck(this, LoginSignUpTab); + + return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments)); + } + + LoginSignUpTab.prototype.handleClick = function handleClick(e) { + if (this.props.href) { + this.props.clickWithHrefHandler(); + } else { + e.preventDefault(); + this.props.clickHandler(); + } + }; + + LoginSignUpTab.prototype.render = function render() { + var _props2 = this.props, + current = _props2.current, + href = _props2.href, + label = _props2.label; + + var className = current ? "auth0-lock-tabs-current" : ""; + + return _react2.default.createElement( + 'li', + { className: className }, + _react2.default.createElement( + 'a', + { + href: href || "#", + onClick: this.handleClick.bind(this) + }, + label + ) + ); + }; + + return LoginSignUpTab; + }(_react2.default.Component); + +/***/ }, +/* 134 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _password_input = __webpack_require__(88); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + exports.default = function (_ref) { + var children = _ref.children; + return _react2.default.createElement( + 'div', + { className: 'auth0-sso-notice-container' }, + _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: _password_input.icon } }), + ' ', + " ", + _react2.default.createElement( + 'span', + { className: 'auth0-sso-notice' }, + children + ) + ); + }; + +/***/ }, +/* 135 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + // TODO: this module should depend from social stuff + + + exports.hasFreeSubscription = hasFreeSubscription; + exports.connection = connection; + exports.initClient = initClient; + exports.clientConnections = clientConnections; + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _data_utils = __webpack_require__(17); + + var _index = __webpack_require__(39); + + var _enterprise = __webpack_require__(23); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var _dataFns = (0, _data_utils.dataFns)(["client"]), + initNS = _dataFns.initNS, + get = _dataFns.get; + + var DEFAULT_CONNECTION_VALIDATION = { username: { min: 1, max: 15 } }; + + function hasFreeSubscription(m) { + return ["free", "dev"].indexOf(get(m, ["tenant", "subscription"])) > -1; + } + + function connection(m, strategyName, name) { + // TODO: this function should take a client, not a map with a client + // key. + var connections = strategy(m, strategyName).get("connections", (0, _immutable.List)()); + return connections.find(withName(name)) || (0, _immutable.Map)(); + } + + function strategy(m, name) { + // TODO: this function should take a client, not a map with a client + // key. + return m.getIn(["client", "strategies"], (0, _immutable.List)()).find(withName(name)) || (0, _immutable.Map)(); + } + + function withName(name) { + return function (x) { + return x.get("name") === name; + }; + } + + function strategyNameToConnectionType(str) { + if (str === "auth0") { + return "database"; + } else if (str === "email" || str === "sms") { + return "passwordless"; + } else if (_index.STRATEGIES[str]) { + return "social"; + } else if (_enterprise.STRATEGIES[str]) { + return "enterprise"; + } else if (["oauth1", "oauth2"].indexOf(str) !== -1) { + return "social"; + } else { + return "unknown"; + } + } + + function formatConnectionValidation() { + var connectionValidation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + if (connectionValidation.username == null) { + return null; + } + + var validation = _extends({}, DEFAULT_CONNECTION_VALIDATION, connectionValidation); + var defaultMin = DEFAULT_CONNECTION_VALIDATION.username.min; + var defaultMax = DEFAULT_CONNECTION_VALIDATION.username.max; + + validation.username.min = parseInt(validation.username.min, 10) || defaultMin; + validation.username.max = parseInt(validation.username.max, 10) || defaultMax; + + if (validation.username.min > validation.username.max) { + validation.username.min = defaultMin; + validation.username.max = defaultMax; + } + + return validation; + } + + var emptyConnections = _immutable2.default.fromJS({ + database: [], + enterprise: [], + passwordless: [], + social: [], + unknown: [] // TODO: should be oauth2 + }); + + function initClient(m, client) { + return initNS(m, formatClient(client)); + } + + function formatClient(o) { + return new _immutable2.default.fromJS({ + id: o.id, + tenant: { + name: o.tenant, + subscription: o.subscription + }, + connections: formatClientConnections(o) + }); + } + + function formatClientConnections(o) { + var result = emptyConnections.toJS(); + + var _loop = function _loop() { + var _result$connectionTyp; + + var strategy = o.strategies[i]; + var connectionType = strategyNameToConnectionType(strategy.name); + + if (connectionType === "passwordless") { + return 'continue'; // disabled until lock supports passwordless connections within the same engine + } + + var connections = strategy.connections.map(function (connection) { + return formatClientConnection(connectionType, strategy.name, connection); + }); + (_result$connectionTyp = result[connectionType]).push.apply(_result$connectionTyp, connections); + }; + + for (var i = 0; i < (o.strategies || []).length; i++) { + var _ret = _loop(); + + if (_ret === 'continue') continue; + } + + return result; + } + + function formatClientConnection(connectionType, strategyName, connection) { + var result = { + name: connection.name, + strategy: strategyName, + type: connectionType + }; + + if (connectionType === "database") { + result.passwordPolicy = connection.passwordPolicy || "none"; + result.allowSignup = typeof connection.showSignup === "boolean" ? connection.showSignup : true; + result.allowForgot = typeof connection.showForgot === "boolean" ? connection.showForgot : true; + result.requireUsername = typeof connection.requires_username === "boolean" ? connection.requires_username : false; + result.validation = formatConnectionValidation(connection.validation); + } + + if (connectionType === "enterprise") { + var domains = connection.domain_aliases || []; + if (connection.domain) { + domains.unshift(connection.domain); + } + result.domains = domains; + } + + return result; + } + + function clientConnections(m) { + return get(m, "connections", emptyConnections); + } + +/***/ }, +/* 136 */ +/***/ function(module, exports, __webpack_require__) { + + "use strict"; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var PaneSeparator = function PaneSeparator() { + return _react2.default.createElement("div", { className: "auth0-lock-pane-separator" }); + }; + + exports.default = PaneSeparator; + +/***/ }, +/* 137 */ +/***/ function(module, exports, __webpack_require__) { + + "use strict"; + + exports.__esModule = true; + exports.lastUsedConnection = lastUsedConnection; + exports.lastUsedUsername = lastUsedUsername; + + var _immutable = __webpack_require__(9); + + function lastUsedConnection(m) { + return m.getIn(["sso", "lastUsedConnection"]); + } + + function lastUsedUsername(m) { + return m.getIn(["sso", "lastUsedUsername"], ""); + } + +/***/ }, +/* 138 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.changeField = changeField; + exports.startOptionSelection = startOptionSelection; + exports.selectOption = selectOption; + exports.cancelOptionSelection = cancelOptionSelection; + + var _immutable = __webpack_require__(9); + + var _index = __webpack_require__(12); + + var _index2 = __webpack_require__(8); + + function changeField(id, name, value, validationFn) { + for (var _len = arguments.length, validationExtraArgs = Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++) { + validationExtraArgs[_key - 4] = arguments[_key]; + } + + _index.swap.apply(undefined, [_index.updateEntity, "lock", id, _index2.setField, name, value, validationFn].concat(validationExtraArgs)); + } + + function startOptionSelection(id, name, iconUrl, icon) { + // TODO: should be transient + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + return m.setIn(["field", "selecting", "name"], name).setIn(["field", "selecting", "iconUrl"], iconUrl).setIn(["field", "selecting", "icon"], icon); + }); + } + + function selectOption(id, name, option) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + return (0, _index2.setOptionField)(m.deleteIn(["field", "selecting"]), name, option); + }); + } + + function cancelOptionSelection(id) { + (0, _index.swap)(_index.updateEntity, "lock", id, function (m) { + return m.deleteIn(["field", "selecting"]); + }); + } + +/***/ }, +/* 139 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _auth_button = __webpack_require__(143); + + var _auth_button2 = _interopRequireDefault(_auth_button); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _actions = __webpack_require__(54); + + var _index2 = __webpack_require__(39); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var SocialButtonsPane = function (_React$Component) { + _inherits(SocialButtonsPane, _React$Component); + + function SocialButtonsPane() { + _classCallCheck(this, SocialButtonsPane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + SocialButtonsPane.prototype.render = function render() { + // TODO: i don't like that it receives the instructions tanslated + // but it also takes the t fn + var _props = this.props, + bigButtons = _props.bigButtons, + instructions = _props.instructions, + labelFn = _props.labelFn, + lock = _props.lock, + showLoading = _props.showLoading, + signUp = _props.signUp; + + + var headerText = instructions || null; + var header = headerText && _react2.default.createElement( + 'p', + null, + headerText + ); + + var themes = (0, _index2.authButtonsTheme)(lock); + + var buttons = (0, _index2.socialConnections)(lock).map(function (x) { + var buttonTheme = themes.get(x.get("name")); + var connectionName = buttonTheme && buttonTheme.get("displayName"); + var primaryColor = buttonTheme && buttonTheme.get("primaryColor"); + var foregroundColor = buttonTheme && buttonTheme.get("foregroundColor"); + var icon = buttonTheme && buttonTheme.get("icon"); + + return _react2.default.createElement(_auth_button2.default, { + isBig: bigButtons, + key: x.get("name"), + label: labelFn(signUp ? "signUpWithLabel" : "loginWithLabel", connectionName || (0, _index2.displayName)(x)), + onClick: function onClick() { + return (0, _actions.logIn)(l.id(lock), x); + }, + strategy: x.get("strategy"), + primaryColor: primaryColor, + foregroundColor: foregroundColor, + icon: icon + }); + }); + + var loading = showLoading && _react2.default.createElement( + 'div', + { className: 'auth0-loading-container' }, + _react2.default.createElement('div', { className: 'auth0-loading' }) + ); + + return _react2.default.createElement( + 'div', + { className: 'auth-lock-social-buttons-pane' }, + header, + _react2.default.createElement( + 'div', + { className: 'auth0-lock-social-buttons-container' }, + buttons + ), + loading + ); + }; + + return SocialButtonsPane; + }(_react2.default.Component); + + exports.default = SocialButtonsPane; + + + SocialButtonsPane.propTypes = { + bigButtons: _react2.default.PropTypes.bool.isRequired, + instructions: _react2.default.PropTypes.any, + labelFn: _react2.default.PropTypes.func.isRequired, + lock: _react2.default.PropTypes.object.isRequired, + showLoading: _react2.default.PropTypes.bool.isRequired, + signUp: _react2.default.PropTypes.bool.isRequired + }; + + SocialButtonsPane.defaultProps = { + showLoading: false + }; + +/***/ }, +/* 140 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _auth0Js = __webpack_require__(56); + + var _auth0Js2 = _interopRequireDefault(_auth0Js); + + var _core = __webpack_require__(292); + + var _core2 = _interopRequireDefault(_core); + + var _classic = __webpack_require__(82); + + var _classic2 = _interopRequireDefault(_classic); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var css = '/* normalize.css v3.0.2 | MIT License | git.io/normalize */ .auth0-lock html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } .auth0-lock body { margin: 0; } .auth0-lock article, .auth0-lock aside, .auth0-lock details, .auth0-lock figcaption, .auth0-lock figure, .auth0-lock footer, .auth0-lock header, .auth0-lock hgroup, .auth0-lock main, .auth0-lock menu, .auth0-lock nav, .auth0-lock section, .auth0-lock summary { display: block; } .auth0-lock audio, .auth0-lock canvas, .auth0-lock progress, .auth0-lock video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } .auth0-lock audio:not([controls]) { display: none; height: 0; } .auth0-lock [hidden], .auth0-lock template { display: none; } .auth0-lock a { background-color: transparent; } .auth0-lock a:active, .auth0-lock a:hover { outline: 0; } .auth0-lock abbr[title] { border-bottom: 1px dotted; } .auth0-lock b, .auth0-lock strong { font-weight: bold; } .auth0-lock dfn { font-style: italic; } .auth0-lock h1 { font-size: 2em; margin: 0.67em 0; } .auth0-lock mark { background: #ff0; color: #000; } .auth0-lock small { font-size: 80%; } .auth0-lock sub, .auth0-lock sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } .auth0-lock sup { top: -0.5em; } .auth0-lock sub { bottom: -0.25em; } .auth0-lock img { border: 0; } .auth0-lock svg:not(:root) { overflow: hidden; } .auth0-lock figure { margin: 1em 40px; } .auth0-lock hr { box-sizing: content-box; height: 0; } .auth0-lock pre { overflow: auto; } .auth0-lock code, .auth0-lock kbd, .auth0-lock pre, .auth0-lock samp { font-family: monospace, monospace; font-size: 1em; } .auth0-lock button, .auth0-lock input, .auth0-lock optgroup, .auth0-lock select, .auth0-lock textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ } .auth0-lock button { overflow: visible; } .auth0-lock button, .auth0-lock select { text-transform: none; } .auth0-lock button, .auth0-lock html input[type="button"], .auth0-lock input[type="reset"], .auth0-lock input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } .auth0-lock button[disabled], .auth0-lock html input[disabled] { cursor: default; } .auth0-lock button::-moz-focus-inner, .auth0-lock input::-moz-focus-inner { border: 0; padding: 0; } .auth0-lock input { line-height: normal; } .auth0-lock input[type="checkbox"], .auth0-lock input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } .auth0-lock input[type="number"]::-webkit-inner-spin-button, .auth0-lock input[type="number"]::-webkit-outer-spin-button { height: auto; } .auth0-lock input[type="search"] { -webkit-appearance: textfield; /* 1 */ /* 2 */ box-sizing: content-box; } .auth0-lock input[type="search"]::-webkit-search-cancel-button, .auth0-lock input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } .auth0-lock fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } .auth0-lock legend { border: 0; /* 1 */ padding: 0; /* 2 */ } .auth0-lock textarea { overflow: auto; } .auth0-lock optgroup { font-weight: bold; } .auth0-lock table { border-collapse: collapse; border-spacing: 0; } .auth0-lock td, .auth0-lock th { padding: 0; } .auth0-lock-social-button-icon { background-repeat: no-repeat; background-size: 50%; background-position: center center; } .auth0-lock-social-button[data-provider="amazon"] { background-color: #f90; } .auth0-lock-social-button[data-provider="aol"] { background-color: #ff0b00; } .auth0-lock-social-button[data-provider="baidu"] { background-color: #2529d8; } .auth0-lock-social-button[data-provider="bitbucket"] { background-color: #205081; } .auth0-lock-social-button[data-provider="dropbox"] { background-color: #007ee5; } .auth0-lock-social-button[data-provider="ebay"] { background-color: #0064d2; } .auth0-lock-social-button[data-provider="facebook"] { background-color: #3b5998; } .auth0-lock-social-button[data-provider^="google"] { background-color: #4285f4; } .auth0-lock-social-button[data-provider="instagram"] { background-color: #3f729b; } .auth0-lock-social-button[data-provider="linkedin"] { background-color: #0077b5; } .auth0-lock-social-button[data-provider="github"] { background-color: #333; } .auth0-lock-social-button[data-provider="oauth2"] { background-color: #eb5424; } .auth0-lock-social-button[data-provider="paypal"] { background-color: #009cde; } .auth0-lock-social-button[data-provider^="salesforce"] { background-color: #1798c1; } .auth0-lock-social-button[data-provider="shopify"] { background-color: #96bf48; } .auth0-lock-social-button[data-provider="soundcloud"] { background-color: #f80; } .auth0-lock-social-button[data-provider="renren"] { background-color: #0056b5; } .auth0-lock-social-button[data-provider="exact"] { background-color: #ed1c24; } .auth0-lock-social-button[data-provider="twitter"] { background-color: #55acee; } .auth0-lock-social-button[data-provider=""] { background-color: #c7eaff; } .auth0-lock-social-button[data-provider="yandex"] { background-color: #fc0; } .auth0-lock-social-button[data-provider^="thecity"] { background-color: #767571; } .auth0-lock-social-button[data-provider="planningcenter"] { background-color: #4e4e4e; } .auth0-lock-social-button[data-provider="thirtysevensignals"] { background-color: #6ac071; } .auth0-lock-social-button[data-provider="fitbit"] { background-color: #4cc2c4; } .auth0-lock-social-button[data-provider="wordpress"] { background-color: #21759b; } .auth0-lock-social-button[data-provider="yahoo"] { background-color: #410093; } .auth0-lock-social-button[data-provider="box"] { background-color: #267bb6; } .auth0-lock-social-button[data-provider="vkontakte"] { background-color: #45668e; } .auth0-lock-social-button[data-provider="dwolla"] { background-color: #f5891f; } .auth0-lock-social-button[data-provider="miicard"] { background-color: #3fb7ff; } .auth0-lock-social-button[data-provider="yammer"] { background-color: #0072c6; } .auth0-lock-social-button[data-provider="weibo"] { background-color: #dd4b39; } .auth0-lock-social-button[data-provider^="windows"], .auth0-lock-social-button[data-provider^="microsoft"] { background-color: #00a1f1; } .auth0-lock-social-button[data-provider^=amazon] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjcycHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDcyIDY1IiB2ZXJzaW9uPSIxLj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ICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=aol] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDkxIDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YW9sPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImFvbCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik00OS45MzgsNy43NSBDNTguMDAxLDcuNzUgNjQuMDYzLDE0IDY0LjA2MywyMS43NSBDNjQuMDYzLDI5Ljg3NSA1Ny43NSwzNS42ODggNDkuOTM4LDM1LjY4OCBDNDIuMTg4LDM1LjY4OCAzNS44NzUsMjkuOD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3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=baidu] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDU5IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YmFpZHU8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iYmFpZHUiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMC4xMjUsMjQgQzAuMDYyLDI0LjQzOCAwLDI0Ljg3NSAwLDI1LjMxMyBDMCwyNS45MzggMC4wNjMsMjYuNjI2IDAuMjUsMjcuMzc2IEMwLjUsMjguNjI2IDAuOTM4LDI5Lj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MuNTYzIDQ0LjUsMzQuNTAxIDQ1LDM1LjU2MyBDNDUuNDM4LDM2LjU2MyA0Ni4yNSwzNy4zNzYgNDcuNDM4LDM3Ljg3NiBDNDguNTAxLDM4LjMxNCA0OS44MTMsMzguNTY0IDUxLjQzOCwzOC41NjQgTDUxLjgxMywzOC41NjQgQzUyLjYyNiwzOC41NjQgNTMuMzc2LDM4LjUwMSA1NC4wNjMsMzguMzE0IEM1NC43NTEsMzguMDY0IDU1LjMxMywzNy44MTQgNTUuNzUxLDM3LjQzOSBDNTYuMjUxLDM3LjA2NCA1Ni42MjYsMzYuNjI2IDU3LjAwMSwzNi4yNTEgQzU3LjM3NiwzNS44MTMgNTcuNjI2LDM1LjMxMyA1Ny44MTQsMzQuNzUxIEM1OC4wMDIsMzQuMTI2IDU4LjE4OSwzMy42MjYgNTguMzE0LDMzLjE4OCBDNTguNDM5LDMyLjc1IDU4LjUwMiwzMi4yNSA1OC41NjQsMzEuNTYzIEM1OC42MjYsMzAuODc2IDU4LjYyNywzMC40MzggNTguNjI3LDMwLjEyNSBMNTguNjI3LDI3LjkzNyBDNTguNjI3LDI3LjM3NCA1OC41MDIsMjYuNjI0IDU4LjI1MiwyNS44MTIgQzU4LjAwMiwyNSA1Ny41NjQsMjQuMTg3IDU3LjA2NCwyMy4yNDkgQzU2LjUwMSwyMi4zMTEgNTUuNjg5LDIxLjU2MSA1NC42MjYsMjAuOTM2IEM1My41NjMsMjAuMzExIDUyLjI1MSwxOS45OTggNTAuODEzLDE5Ljk5OCBDNDYuMTg4LDE5Ljk5OCA0My44NzUsMjMuMTg2IDQzLjg3NSwyOS42MjMgTDQzLjg3NSwyOS42MjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=bitbucket] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bW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OTE0NiBDMjI0LjM3MjUzMywyMDkuNTQ5NTYzIDIyMy4xMTc3NDcsMjA3LjAzOTk5MSAyMjAuNjA4MTc2LDIwNy4wMzk5OTEgTDIyMC42MDgxNzYsMjA3LjAzOTk5MSBMMjIwLjYwODE3NiwyMDcuMDM5OTkxIFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICA8Y2lyY2xlIGlkPSJPdmFsIiBjeD0iMTI4IiBjeT0iMTQxLjc5MTA4IiByPSIyMC4wNzY2MDUiPjwvY2lyY2xlPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); background-size: 45%; } .auth0-lock-social-button[data-provider^=box] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDY1IDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Ym94PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc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3LjM3NSA0Mi4wMDEsMjMuMjUgQzQyLjAwMSwxOS4xODcgMzguNjg4LDE1LjgxMiAzNC41NjMsMTUuODEyIEMzMC40MzgsMTUuODEyIDI3LjEyNSwxOS4xODcgMjcuMTI1LDIzLjI1IEMyNy4xMjUsMjcuMzc1IDMwLjQzOCwzMC42ODggMzQuNTYzLDMwLjY4OCBMMzQuNTYzLDMwLjY4OCBaIE02My42ODgsMzEuNzUgTDYzLjY4OCwzMS44MTMgQzY0LjQzOCwzMi44NzYgNjQuMjUxLDM0LjM3NiA2My4xODgsMzUuMTg4IEM2Mi4wNjMsMzYuMDYzIDYwLjU2MywzNS44MTMgNTkuNjg4LDM0Ljc1IEw1NC4yNSwyNy40MzcgTDQ4Ljc1LDM0Ljc1IEM0Ny44NzUsMzUuODEzIDQ2LjM3NSwzNi4wNjMgNDUuMzEyLDM1LjE4OCBDNDQuMTg3LDM0LjM3NSA0My45OTksMzIuODc1IDQ0Ljc0OSwzMS44MTMgTDUxLjEyNCwyMy4yNSBMNDQuNzQ5LDE0Ljc1IEM0My45OTksMTMuNjg3IDQ0LjE4NiwxMi4xMjUgNDUuMzEyLDExLjMxMiBDNDYuMzc1LDEwLjQ5OSA0Ny44NzUsMTAuNzQ5IDQ4Ljc1LDExLjgxMiBMNTQuMjUsMTkuMTI1IEw1OS42ODgsMTEuODEyIEM2MC41NjMsMTAuNzQ5IDYyLjA2MywxMC40OTkgNjMuMTg4LDExLjMxMiBDNjQuMjUxLDEyLjEyNSA2NC40MzgsMTMuNjg3IDYzLjY4OCwxNC43NSBMNTcuMzEzLDIzLjI1IEw2My42ODgsMzEuNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=dropbox] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiB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LjYyNSBMMzIuOTM4LDM5Ljg3NSBMMzIuODc1LDM5LjgxMiBMMTkuODc1LDQ5Ljc1IEwxMy44NzUsNDYuMTg3IEwxMy44NzUsNDkuODc1IEwxMy44NzUsNDkuODc1IFogTTE0LjE4OCwyMy4yNSBMMzMuMTI2LDExLjY4NyBMNTEuOTM5LDIyLjU2MiBMMzMuMDAxLDM1LjA2MiBMMTQuMTg4LDIzLjI1IFogTTMyLjkzOCw2Mi42MjUgTDUyLjQzOCw0OS45MzcgTDUyLjQzOCw0NS44NzQgTDQ2LjA2Myw0OS43NDkgTDMzLjEyNSwzOS44MTEgTDMzLDM5Ljg3NCBMMzIuOTM4LDYyLjYyNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=dwolla] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQwcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDQwIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZHdvbGxhPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC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Mi42MjMsMTcuODA3IEMxLjkzNSwyMi42ODIgMy45MzYsMjcuOTk1IDguNjIzLDMzLjYyIEM4Ljk5OCwzNC4wNTggMTAuMjQ4LDM1LjU1OCAxMi40MzYsMzguMTIgQzEzLjg3NCwzOS43NDUgMTQuOTk5LDQxLjE4MyAxNS45MzYsNDIuNDk1IEMxNS41NjEsNDIuNjgzIDEyLjkzNiw0My44NyA4LjEyMyw0NS45MzMgQzcuMDYsNDYuMzcxIDUuODczLDQ2Ljk5NiA0LjYyMyw0Ny44MDggQzIuMTg1LDQ5LjM3MSAwLjk5OCw1MS43NDYgMC45OTgsNTQuOTk2IEwxLDU1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); background-size: 30%; } .auth0-lock-social-button[data-provider^=ebay] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkwcHgiIGhlaWdodD0iMzlweCIgdmlld0JveD0iMCAwIDkwIDM5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZWJheTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzP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sMTEuODE0IEw2Ni40MzgsMTcuNjI3IEw2OS4xODgsMjMuMzE1IEw2OS4xODgsMzUuNTAzIEw3OC4xODgsMzUuNTAzIEw3OC4xODgsMjMuMzE1IEw5MC4yNTEsMC4zNzcgTDgxLjEyNiwwLjM3NyBMNzQuMTI2LDE1LjE5IEw2Ny43NTEsMC4zNzcgTDU3Ljg3NiwwLjM3NyBMNTcuODc1LDAuMzc1IFogTTU5LjU2MywzLjY4OCBMNjYuNDM4LDE3LjYyNiBMNjYuNDM4LDExLjgxMyBDNjYuNDM4LDkuNDM4IDY1LjkzOCw3LjYyNSA2NS4wNjMsNi4yNSBDNjQuMTI1LDQuOTM3IDYyLjMxMyw0LjA2MiA1OS41NjMsMy42ODcgTDU5LjU2MywzLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); background-size: 70%; } .auth0-lock-social-button[data-provider^=exact] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQzcHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDQzIDMyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZXhhY3Q8L3R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I+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); background-size: 30%; } .auth0-lock-social-button[data-provider^=facebook] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjM2cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDM2IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZmFjZWJvb2s8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iZmFjZWJvb2siIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMC45MzgsMzUgTDEwLjc1MSwzNSBMMTAuNzUxLDY0LjYyNSBMMjMuMDY0LDY0LjYyNSBMMjMuMDY0LDM1IEwzNS4zNzcsMzUgTDM1LjM3NywyMi43NSBMMjMuMDY0LDIyLjc1IEwyMy4wNjQsMTYuNSBDMjMuMDY0LDE1LjQzNyAyMy4zMTQsMTQuNjI1IDIzLjgxNCwxMy44NzUgQzI0LjM3NywxMy4xODcgMjQuOTM5LDEyLjg3NSAyNS41NjQsMTIuODc1IEwzNS4zNzcsMTIuODc1IEwzNS4zNzcsMC42MjUgTDI1LjU2NCwwLjYyNSBDMjEuNDM5LDAuNjI1IDE4LjAwMSwyLjE4OCAxNS4xMjYsNS4zMTMgQzEyLjE4OCw4LjQzOCAxMC43NTEsMTIuMTg4IDEwLjc1MSwxNi42MjYgTDEwLjc1MSwyMi43NTEgTDAuOTM4LDIyLjc1MSBMMC45MzgsMzUuMDAxIEwwLjkzOCwzNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); background-size: 25%; } .auth0-lock-social-button[data-provider^=fitbit] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYwcHgiIGhlaWdodD0iNTlweCIgdmlld0JveD0iMCAwIDYwIDU5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Zml0Yml0PC90aXRsZT4KICAgI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zNywyMS4xODggQzMyLjUsMjEuMTg4IDM0LjQzNywxOS4zMTMgMzQuNDM3LDE2Ljg3NSBDMzQuMzc0LDE0LjUgMzIuNDM3LDEyLjYyNSAyOS45OTksMTIuNjI1IEwzMCwxMi42MjUgWiBNMTcuMjUsMjEuMTg4IEMxOS43NSwyMS4xODggMjEuNTYzLDE5LjM3NSAyMS41NjMsMTYuODc1IEMyMS41NjMsMTQuNDM3IDE5Ljc1LDEyLjY4NyAxNy4yNSwxMi42MjUgQzE0Ljc1LDEyLjYyNSAxMi42ODcsMTQuNjI1IDEyLjc1LDE2LjkzOCBDMTIuODEzLDE5LjMxMyAxNC44MTMsMjEuMTg4IDE3LjI1LDIxLjE4OCBMMTcuMjUsMjEuMTg4IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=github] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Z2l0aHViPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0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MyAxOS42LDQ2LjQ2OCAyOS4wMzIsNDYuNDY4IEMzOS45NDgsNDYuNDY4IDQzLjk2NiwzOC45MTYgNDQuNzA2LDM0LjQ0IEwyOS4wMDIsMzQuNDQgTDI5LjAwMiwzNC40MTIgTDI5LjAwNCwzNC40MTQgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=instagram] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+aW5zdGFncmFtPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9Imluc3RhZ3JhbSIgc2tld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NSAzNy45MzgsNDIuMzc1IDMyLjgxMyw0Mi4zNzUgQzI3LjY4OCw0Mi4zNzUgMjMuNTYzLDM4LjI1IDIzLjU2MywzMy4xMjUgTDIzLjU2MywzMy4xMjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=linkedin] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY3cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY3IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+bGlua2VkaW48L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0ibGlua2VkaW4iIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiN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MuMzc2IEw1Mi43NTEsNDAuNTAxIEM1Mi43NTEsMzQuMDYzIDUwLjM3NiwzMC44NzYgNDUuNjI2LDMwLjg3NiBDNDMuNzUxLDMwLjg3NiA0Mi4yNTEsMzEuMzc2IDQxLjA2MywzMi4zNzYgQzM5LjgxMywzMy4zNzYgMzguOTM4LDM0LjU2NCAzOC4zMTMsMzYuMDY0IEMzOCwzNi44NzcgMzcuODEzLDM4LjAwMiAzNy44MTMsMzkuNTAyIEwzNy44MTMsNjMuMzc3IEwyMy41NjMsNjMuMzc3IEwyMy41NjMsNjMuMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=miicard] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iNjFweCIgdmlld0JveD0iMCAwIDkxIDYxIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+bWlpY2FyZDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN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DY0LjEyNSwzMi42ODggWiBNODAuMTI1LDMyLjY4OCBMODAuMTI1LDE4Ljg3NSBMNzcuNTYyLDE4LjgxMiBDNzUuNDk5LDE4LjgxMiA3NC45MzcsMTguODEyIDc0Ljg3NCwxOC45MzcgTDc0Ljg3NCw0Ni41IEw4MC4xMjQsNDYuNSBMODAuMTI0LDMyLjY4NyBMODAuMTI1LDMyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=oauth2] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNTAuMSAxNjcuOCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTUwLjEgMTY3LjgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSIzMSwxMzUuOCAzMC45LDEzNS44IDc1LjEsMTY3LjggMTE5LjIsMTM1LjggNzUuMSwxMDMuNyAJIi8+DQoJPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTMuNyw1MS45TDMuNyw1MS45Qy02LjYsODMuNiw1L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M3Niw2NC42ODggTDYuMzc1LDY0LjY4OCBaIE0yMi44NzUsMjcuODc1IEwyNi4zNzUsMTIuMjUgTDM0LjM3NSwxMi4yNSBDMzUuNzUsMTIuMjUgMzYuOTM4LDEyLjYyNSAzNy45MzgsMTMuMzc1IEMzOC45MzgsMTQuMTI1IDM5LjYyNiwxNS4xMjUgMzkuOTM4LDE2LjM3NSBDMzkuMzEzLDE2LjI1IDM4LjkzOCwxNi4xODcgMzguODc1LDE2LjE4NyBMMzAuODc1LDE2LjE4NyBMMjguMTg3LDI3Ljg3NSBMMjIuODc0LDI3Ljg3NSBMMjIuODc1LDI3Ljg3NSBaIE0zMC44NzUsMjcuODEzIEwzMi43NSwxOS4zMTMgTDQwLjA2MywxOS4zMTMgQzQwLjA2MywxOS4zNzYgNDAuMDYzLDE5LjUwMSA0MCwxOS42ODggQzM5LjkzNywxOS44NzUgMzkuOTM3LDIwLjAwMSAzOS45MzcsMjAuMDYzIEMzOS40MzcsMjIuMTg4IDM4LjM3NCwyMy45MzggMzYuNTYyLDI1LjQzOCBDMzQuODEyLDI2LjkzOCAzMi44NzQsMjcuNzUxIDMwLjg3NCwyNy44MTMgTDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=planningcenter] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDYzIDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5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Q1LjM3OCwxOC44NzMgNDQuMTI4LDE4Ljg3MyBDNDMuNjksMTguODczIDQxLjM3OCwxOS45MzYgMzkuMDAzLDIxLjE4NiBMMzQuNzUzLDIzLjQ5OSBMMzQuNzUzLDE5LjI0OSBDMzQuNzUzLDEzLjgxMSAzNC40NCwxMy4zMTEgMzEuMTI4LDEzLjQ5OSBMMjguNjI4LDEzLjYyNCBMMjguMzc4LDE4LjQ5OSBMMjguMTI4LDIzLjQzNyBMMjQuMzc4LDIxLjEyNCBDMTkuNTAzLDE4LjI0OSAxOC41MDMsMTguMTg2IDE2LjY5LDIwLjk5OSBDMTUuMDAyLDIzLjQ5OSAxNS4xOSwyMy45OTkgMTguNTAzLDI1Ljg3NCBDMTkuODE2LDI2LjU2MiAyMS42MjgsMjcuNjI0IDIyLjYyOCwyOC4yNDkgTDI0LjM3OCwyOS4zNzQgTDIwLjMxNSwzMS44MTIgQzE4LjA2NSwzMy4xODcgMTYuMDAyLDM0LjU2MiAxNS43NTIsMzQuODc1IEMxNS4zMTQsMzUuMzc1IDE1LjUwMiwzNiAxNi41NjUsMzcuNjI1IEMxOC4zMTUsNDAuNDM4IDE5LjYyOCw0MC41IDI0LjEyOCwzNy42ODggQzI1Ljk0MSwzNi41NjMgMjcuNjkxLDM1LjY4OCAyNy45NDEsMzUuNjg4IEMyOC4xOTEsMzUuNjg4IDI4LjM3OSwzNy41NjMgMjguMzc5LDQwLjE4OCBDMjguMzc5LDQ0LjM3NiAyOC40NDIsNDQuNzUxIDI5LjM3OSw0NS4zNzYgTDI5LjM3NSw0NS4zNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=renren] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5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1NC4wNjQsNDEuNjg5IDU0LjA2NCw0Ni40MzkgQzU0LjA2NCw0OS45MzkgNTMuMDY0LDUzLjE4OSA1MS4wNjQsNTYuMTg5IEw2MC4zNzcsNTQuMDAxIEM2MS40NCw1My43NTEgNjIuMzE1LDUzLjE4OCA2My4wMDIsNTIuMzEzIEM2My42ODksNTEuNDM4IDY0LjAwMiw1MC40MzggNjQuMDAyLDQ5LjM3NSBDNjQuMDAyLDQ5LjEyNSA2My45MzksNDguNzUgNjMuODc3LDQ4LjI1IEw1My4zNzcsNC4yNSBDNTMuMTI3LDMuMTg3IDUyLjU2NCwyLjMxMiA1MS42ODksMS42MjUgQzUwLjgxNCwwLjkzOCA0OS44MTQsMC42MjUgNDguNzUxLDAuNjI1IEM0OC4xODgsMC42MjUgNDcuMjUxLDAuNzUgNDYuMDYzLDEgQzQ0LjgxMywxLjI1IDQzLjMxMywxLjYyNSA0MS41LDIuMTg4IEMzOS42MjUsMi42ODggMzguNjg3LDIuOTM4IDM4LjU2MiwyLjkzOCBDNDIuNjg3LDMuNTYzIDQ2LjYyNSw0LjkzOCA1MC41LDYuOTM4IEw0Ni41NjIsMTcuODEzIEM0NS40MzcsMTYuNjI1IDQzLjU2MiwxNS42MjUgNDAuOTM3LDE0Ljg3NSBDMzguMzc0LDE0LjEyNSAzNS45OTksMTMuNzUgMzMuOTM3LDEzLjc1IEMzMi4xODcsMTMuNzUgMzAuNTYyLDE0LjE4OCAyOS4wNjIsMTUuMDYzIEMyNy41NjIsMTUuOTM4IDI2LjgxMiwxNy4xODggMjYuODEyLDE4LjgxMyBMMjYuODEzLDE4LjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=shopify] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbm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BaIE0yOC4zNzUsMjIuNTYzIEMyOC4xMjUsMjIuMzEzIDI2LjUsMjIgMjQuODEyLDIxLjkzOCBDMTcuMzEyLDIxLjUgMTEuOTM3LDI2LjAwMSAxMS44NzQsMzIuODEzIEMxMS44NzQsMzUuOTM4IDEyLjgxMiwzNy44NzYgMTUuNDk5LDM5Ljg3NiBDMjEuMzEyLDQ0LjUwMSAxNy42ODcsNDkuMDY0IDExLjQ5OSw0NS4wMDEgQzEwLjEyNCw0NC4xMjYgMTAuMTI0LDQ0LjE4OCA5LjI0OSw0Ny4wMDEgQzguNTYxLDQ5LjI1MSA4LjU2MSw0OS4yNTEgOS45OTksNTAuNTAxIEMxMC44MTIsNTEuMTg5IDEyLjYyNCw1Mi4wMDEgMTQuMTI0LDUyLjQzOSBDMjAuNDM3LDU0LjMxNCAyNS41NjIsNTEuMDAxIDI2LjI0OSw0NC42MjYgQzI2LjY4Nyw0MC43NTEgMjUuMTI0LDM3LjkzOCAyMC43NDksMzQuNzUxIEMxOC42MjQsMzMuMTg4IDE4LjEyNCwzMi41NjMgMTguMTI0LDMxLjM3NiBDMTguMTI0LDI5LjMxMyAxOS45MzcsMjguMzEzIDIyLjg3NCwyOC42MjYgQzI0LjEyNCwyOC43NTEgMjUuNDk5LDI5LjAwMSAyNS44NzQsMjkuMTg5IEMyNi40MzcsMjkuMzc3IDI2Ljg3NCwyOC43NTEgMjcuNzQ5LDI2LjE4OSBDMjguMzEyLDI0LjMxNCAyOC41NjIsMjIuNzUxIDI4LjM3NCwyMi41NjQgTDI4LjM3NSwyMi41NjMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=soundcloud] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5k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OS4yNTIsMTYuNjI0IDY3LjEyNywxNS42MjQgNjQuNjI3LDE1LjYyNCBDNjMuNTAyLDE1LjYyNCA2Mi4zMTQsMTUuOTM3IDYxLjEyNywxNi40OTkgQzYwLjc1MiwxMS45MzYgNTkuMDY0LDguMTI0IDU2LjAwMiw1LjA2MSBDNTIuOTM5LDEuOTM2IDQ5LjMxNCwwLjQzNiA0NS4xODksMC40MzYgQzQ0LjgxNCwwLjQzNiA0NC4yNTEsMC40MzYgNDMuNjI2LDAuNTYxIEM0Mi45MzgsMC42MjQgNDIuMTg4LDAuNzQ5IDQxLjQzOCwwLjg3NCBDNDAuNjI1LDEuMDYyIDM5Ljg3NSwxLjMxMiAzOS4zMTMsMS42MjQgQzM4Ljc1LDEuOTk5IDM4LjUsMi4zNzQgMzguNSwyLjc0OSBDMzguNSw1Ljg3NCAzOC40MzcsOS4xODcgMzguNDM3LDEyLjc0OSBMMzguNDM4LDEyLjc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); background-size: 60%; } .auth0-lock-social-button[data-provider^=thecity] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYxIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4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Tg3IDUxLjMxMywzMi42ODcgNTMuNTYzLDMxLjc0OSBMNTMuNTYzLDMxLjc1IFogTTYuOTM4LDQ0LjE4OCBMNi45MzgsNDQuMTg4IEMxMC4wMDEsNDMuMTI1IDEzLjg3Niw0My44NzUgMTguMDAxLDQ2LjUwMSBDMTkuODc2LDQ3LjU2NCAyMi4yNTEsNDguNTY0IDIzLjE4OSw0OC41NjQgQzI2LjM3Nyw0OC41NjQgMTguNzUxLDYxLjQzOSAxNC41NjQsNjMuMzE0IEM3LjUwMSw2Ni4yNTIgMC4wMDEsNjEuMjUxIDAuMDAxLDUzLjYyNiBDMC4wMDEsNTAuNTAxIDMuNjg5LDQ1LjM3NiA2LjkzOSw0NC4xODggTDYuOTM4LDQ0LjE4OCBaIE0zOS4zMTMsNTIgTDM5Ljg3Niw1MS42ODcgTDMyLjEyNiw2My4zMTIgTDU3LjU2NCw2My41NjIgTDU2LjUwMSw1OC40MzcgTDM5LjMxMyw1MiBaIE0yMC4xODgsNjIuODc1IEwxOS4zMTMsNjMuNDM4IEwyNi42MjYsNjMuNjI2IEwzNC41MDEsNTEuMTI2IEwyOC44NzYsNTAuNjg4IEwyMC4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=thirtysevensignals] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iNTVweCIgdmlld0JveD0iMCAwIDY1IDU1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveG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LjgwOSBDMzkuNTYxLDE0LjEyMiAzOC44MTEsMTUuMDU5IDM4LjEyMywxNS44MDkgQzM2LjQzNSwxNy41NTkgMzUuMDYsMTkuNTU5IDMzLjU2LDIxLjU1OSBDMzIuMTg1LDIzLjMwOSAzMC44MSwyNS4xMjIgMjkuMDYsMjYuNTU5IEMyOC40MzUsMjcuMDU5IDI3LjY4NSwyNy42ODQgMjYuODcyLDI3Ljc0NyBDMjYuMjQ3LDI3Ljc0NyAyNS42ODQsMjcuNjIyIDI1LjE4NCwyNy4zNzIgQzIzLjk5NiwyNi44NzIgMjMuMTIxLDI1Ljg3MiAyMi4zMDksMjQuOTk3IEMyMC44MDksMjMuMzcyIDE4LjkzNCwyMC42ODQgMTYuMzcxLDIxLjQ5NyBDMTQuNjIxLDIyLjEyMiAxMy4xODMsMjMuNjg1IDEyLjA1OCwyNS4xMjIgQzExLjM3LDI1Ljk5NyAxMC43NDUsMjYuOTM1IDEwLjE4MywyNy44NzIgQzkuNTU4LDI4LjgxIDguOTk1LDI5Ljc0NyA4LjM3LDMwLjY4NSBDNy4yNDUsMzIuNjIzIDYuMTIsMzQuNTYgNS4zNywzNi42ODUgQzUuMTgyLDM3LjI0OCA1LjA1NywzNy44MSA0LjkzMiwzOC4zNzMgQzQuODY5LDM4LjYyMyA0LjgwNywzOC45MzYgNC43NDQsMzkuMjQ4IEw0Ljc1LDM5LjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=twitter] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDc5IDY1IiB2ZXJzaW9u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w1NS4zMTMgMTEuMzc3LDU3LjYyNiAzLjgxNSw1Ny42MjYgQzIuNTY1LDU3LjYyNiAxLjI1Miw1Ny41NjMgMC4wMDIsNTcuNDM4IEwwLDU3LjQzOCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=vkontakte] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc5cHgiIGhlaWdodD0iNDZweCIgdmlld0JveD0iMCAwIDc5IDQ2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dms8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0idmsiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgog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IDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=windowslive] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d2luZG93czwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ3aW5kb3dzIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjA0NSwwLjA0NSBMMjguNzQ3LDAuMDQ1IEwyOC43NDcsMjguNzQ3IEwwLjA0NSwyOC43NDcgTDAuMDQ1LDAuMDQ1IEwwLjA0NSwwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywwLjA0NSBMNjMuMTMyLDAuMDQ1IEw2My4xMzIsMjguNzQ3IEwzNC40MywyOC43NDcgTDM0LjQzLDAuMDQ1IEwzNC40MywwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOC43NDgsMzUuMjU0IEwyOC43NDgsNjMuOTU2IEwwLjA0Niw2My45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo="); } .auth0-lock-social-button[data-provider^=windows] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3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2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=wordpress] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d29yZHByZXNzPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR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Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=yahoo] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijg4cHgiIGhlaWdodD0iNTJweCIgdmlld0JveD0iMCAwIDg4IDUyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+eWFob288L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0ieWFob28iIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCw3LjY4OCBMMCw3LjE4OCBDMC4wNjMsNi45MzggMC4zMTMsNi43NSAwLj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XBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=yammer] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYycHgiIGhlaWdodD0iNTNweCIgdmlld0JveD0iMCAwIDYyIDUzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+eWFtbWVyPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InlhbW1lciIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsMy41IEMwLjM3NSw0LjI1IDAuNSw0LjkzOCAwLjc1LDUuNjI1IEM1LjEyNSwxNi4zMTMgOS41NjMsMjcgMTQsMzcuNzUgQzE0LjEyNS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iwzNi40MzggMzYuNjI2LDM2Ljg3NiAzNy4xMjYsMzcuMzc2IEMzOS4wMDEsMzkuMTg5IDQxLjA2NCw0MC43NTEgNDMuMTI2LDQyLjMxNCBDNDUuMzc2LDQzLjkzOSA0Ny42ODksNDUuNTY0IDUwLjA2NCw0Ny4wNjQgQzUwLjc1Miw0Ny41NjQgNTEuNjg5LDQ3LjU2NCA1Mi41MDIsNDcuMjUyIEM1My42MjcsNDYuODc3IDU0LjUwMiw0NS43NTIgNTQuNTY1LDQ0LjUwMiBDNTQuNjI4LDQzLjM3NyA1NC4wMDIsNDIuMTI3IDUyLjk0LDQxLjYyNyBDNDkuMzE1LDM5Ljc1MiA0NS42MjcsMzcuOTM5IDQxLjgxNSwzNi40MzkgQzQwLjM3NywzNS44NzYgMzguODc3LDM1LjMxNCAzNy4zMTUsMzUuMDY0IEMzNi44MTUsMzUuMDAxIDM2LjM3NywzNC45MzkgMzUuOTQsMzUuMDY0IEwzNS45MzgsMzUuMDYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=yandex] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI4cHgiIGhlaWdodD0iNjBweCIgdmlld0JveD0iMCAwIDI4IDYwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V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BNMjIuNDM4LDMyLjU2MyBMMjIuNDM4LDUuNjg4IEwxOC41NjMsNS42ODggQzEzLjkzOCw1LjY4OCA5LjM3NSw5LjYyNiA5LjM3NSwxOS40MzggQzkuMzc1LDI4LjgxMyAxNC4yNSwzMi41NjMgMTkuMjUsMzIuNTYzIEwyMi40MzgsMzIuNTYzIEwyMi40MzgsMzIuNTYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); background-size: 30%; } .auth0-lock-social-button[data-provider^=weibo] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjgwcHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDgwIDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d2VpYnU8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQ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uNzUzLDI1Ljg3NyA2Ny4xMjgsMjUuNzUyIDY3LjUwMywyNS41NjQgQzY4LjEyOCwyNS4yNTEgNjguNTY2LDI0Ljc1MSA2OC43NTMsMjQuMDY0IEM2OS4xMjgsMjMuMDY0IDY5LjMxNiwyMi4wMDEgNjkuMzE2LDIxLjAwMSBDNjkuMzE2LDIwLjMxMyA2OS4yNTMsMTkuNjI2IDY5LjEyOCwxOC44NzYgQzY4LjY5LDE3LjA2MyA2Ny44NzgsMTUuNTAxIDY2LjY5LDE0LjA2MyBDNjQuNjI3LDExLjgxMyA2Mi4xOSwxMC42ODggNTkuMzE1LDEwLjY4OCBDNTguNTY1LDEwLjY4OCA1Ny43NTIsMTAuNzUxIDU2Ljk0LDEwLjkzOCBDNTYuMTksMTEuMTI2IDU1LjYyNywxMS41MDEgNTUuMjUyLDEyLjEyNiBDNTUuMDAyLDEyLjU2NCA1NC44NzcsMTMuMDAxIDU0Ljg3NywxMy40MzkgQzU0Ljg3NywxMy42ODkgNTQuOTQsMTMuODc3IDU0Ljk0LDE0LjA2NCBMNTQuOTM4LDE0LjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } @charset "UTF-8"; /* Animate.css - http://daneden.me/animate Licensed under the MIT license - http://opensource.org/licenses/MIT Copyright (c) 2015 Daniel Eden */ .animated { -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .fadeIn { -webkit-animation-name: fadeIn; animation-name: fadeIn; } @-webkit-keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .fadeInDown { -webkit-animation-name: fadeInDown; animation-name: fadeInDown; } @-webkit-keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translate3d(0, -2000px, 0); transform: translate3d(0, -2000px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .fadeInDownBig { -webkit-animation-name: fadeInDownBig; animation-name: fadeInDownBig; } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .fadeInUp { -webkit-animation-name: fadeInUp; animation-name: fadeInUp; } @-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } .fadeOut { -webkit-animation-name: fadeOut; animation-name: fadeOut; } @-webkit-keyframes fadeOutDownBig { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(0, 2000px, 0); transform: translate3d(0, 2000px, 0); } } .fadeOutDownBig { -webkit-animation-name: fadeOutDownBig; animation-name: fadeOutDownBig; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translate3d(0, -2000px, 0); transform: translate3d(0, -2000px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translate3d(0, -2000px, 0); transform: translate3d(0, -2000px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-webkit-keyframes fadeOutDownBig { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(0, 2000px, 0); transform: translate3d(0, 2000px, 0); } } @keyframes fadeOutDownBig { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(0, 2000px, 0); transform: translate3d(0, 2000px, 0); } } .slide-enter { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); } .slide-enter.slide-enter-active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform 0.3s ease-out; transition: -webkit-transform 0.3s ease-out; transition: transform 0.3s ease-out; transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; } .slide-leave { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .slide-leave.slide-leave-active { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); -webkit-transition: -webkit-transform 0.3s ease-in; transition: -webkit-transform 0.3s ease-in; transition: transform 0.3s ease-in; transition: transform 0.3s ease-in, -webkit-transform 0.3s ease-in; } .vslide-enter { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } .vslide-enter.vslide-enter-active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; } .reverse-vslide-enter { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } .reverse-vslide-enter.reverse-vslide-enter-active { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; } .vslide-leave { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .vslide-leave.vslide-leave-active { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; } .horizontal-fade-enter { position: relative; top: 0; left: 0; z-index: 1; -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); } .horizontal-fade-enter.horizontal-fade-enter-active { -webkit-transform: none; transform: none; -webkit-transition: -webkit-transform 0.5s; transition: -webkit-transform 0.5s; transition: transform 0.5s; transition: transform 0.5s, -webkit-transform 0.5s; } .horizontal-fade-leave { opacity: 1; position: absolute; width: 100%; top: 0; left: 0; } .horizontal-fade-leave.horizontal-fade-leave-active { opacity: 0; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); -webkit-transition: -webkit-transform 0.5s, opacity 1s linear; -webkit-transition: opacity 1s linear, -webkit-transform 0.5s; transition: opacity 1s linear, -webkit-transform 0.5s; transition: transform 0.5s, opacity 1s linear; transition: transform 0.5s, opacity 1s linear, -webkit-transform 0.5s; } .reverse-horizontal-fade-enter { position: relative; top: 0; left: 0; z-index: 1; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); } .reverse-horizontal-fade-enter.reverse-horizontal-fade-enter-active { -webkit-transform: none; transform: none; -webkit-transition: -webkit-transform 0.5s; transition: -webkit-transform 0.5s; transition: transform 0.5s; transition: transform 0.5s, -webkit-transform 0.5s; } .reverse-horizontal-fade-leave { opacity: 1; position: absolute; width: 100%; top: 0; left: 0; } .reverse-horizontal-fade-leave.reverse-horizontal-fade-leave-active { opacity: 0; -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); -webkit-transition: -webkit-transform 0.5s, opacity 1s linear; -webkit-transition: opacity 1s linear, -webkit-transform 0.5s; transition: opacity 1s linear, -webkit-transform 0.5s; transition: transform 0.5s, opacity 1s linear; transition: transform 0.5s, opacity 1s linear, -webkit-transform 0.5s; } .fade-enter { position: relative; top: 0; left: 0; z-index: 1; } .fade-leave { opacity: 1; position: absolute; width: 100%; top: 0; left: 0; opacity: 1; } .fade-leave.fade-leave-active { opacity: 0; -webkit-transition: opacity 0.5s linear; transition: opacity 0.5s linear; } @-webkit-keyframes stroke { 100% { stroke-dashoffset: 0; } } @-webkit-keyframes scale { 0%, 100% { -webkit-transform: none; } 50% { -webkit-transform: scale3d(1.1, 1.1, 1); } } @-webkit-keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #7ac142; } } @-webkit-keyframes rotate { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @-webkit-keyframes stroke { 100% { stroke-dashoffset: 0; } } @keyframes stroke { 100% { stroke-dashoffset: 0; } } @-webkit-keyframes scale { 0%, 100% { -webkit-transform: none; transform: none; } 50% { -webkit-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } } @keyframes scale { 0%, 100% { -webkit-transform: none; transform: none; } 50% { -webkit-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } } @-webkit-keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #7ac142; } } @keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #7ac142; } } @-webkit-keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @media screen and (max-width: 480px) { html.auth0-lock-html body > * { display: none; } html.auth0-lock-html body .auth0-lock-container { background: #fff; display: block !important; } } .auth0-lock.auth0-lock, .auth0-lock.auth0-lock * { box-sizing: initial; } .auth0-lock.auth0-lock svg { background-color: transparent; } .auth0-lock.auth0-lock .auth0-global-message { color: #fff; text-align: center; padding: 10px; line-height: 1.8; font-size: 11px; font-weight: 600; text-transform: uppercase; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-error { background: #ff3e00; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-success { background: #7ed321; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter { height: 0; paddingTop: 0; paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter.global-message-enter-active { -webkit-transition: all 0.2s; transition: all 0.2s; height: auto; paddingTop: 10px; paddingBottom: 10px; } .auth0-lock.auth0-lock .auth0-global-message.global-message-leave { -webkit-transition: all 0.2s; transition: all 0.2s; height: 0; paddingTop: 0; paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message span { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .auth0-lock.auth0-lock { font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, sans-serif; text-rendering: optimizeLegibility; pointer-events: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; right: 0; z-index: 1000000; } @media (min-width: 481px) { .auth0-lock.auth0-lock { display: table; } } .auth0-lock.auth0-lock a { text-decoration: none; } .auth0-lock.auth0-lock a:active, .auth0-lock.auth0-lock a:focus { outline: none; } .auth0-lock.auth0-lock input:focus, .auth0-lock.auth0-lock button:focus { outline: none; } .auth0-lock.auth0-lock .auth0-lock-overlay { background: -webkit-radial-gradient(#40404b, #111118) rgba(34,34,40,0.94); background: radial-gradient(#40404b, #111118) rgba(34,34,40,0.94); position: fixed; top: 0; bottom: 0; right: 0; left: 0; z-index: -1; opacity: 0; -webkit-transition: opacity 0.2s ease-in 0.4s; transition: opacity 0.2s ease-in 0.4s; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-center { vertical-align: middle; display: table-cell; margin: auto; } } .auth0-lock.auth0-lock .auth0-lock-widget { width: 300px; opacity: 0; -webkit-transform: translateY(100%) scale(0.8); transform: translateY(100%) scale(0.8); -webkit-transition-timing-function: cubic-bezier(0.3, 0, 0, 1.4); transition-timing-function: cubic-bezier(0.3, 0, 0, 1.4); margin: 0 auto; border-radius: 5px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-widget { -webkit-transition: -webkit-transform 0.4s, opacity 0.3s; -webkit-transition: opacity 0.3s, -webkit-transform 0.4s; transition: opacity 0.3s, -webkit-transform 0.4s; transition: transform 0.4s, opacity 0.3s; transition: transform 0.4s, opacity 0.3s, -webkit-transform 0.4s; } } .auth0-lock.auth0-lock .auth0-lock-widget-container { position: relative; } .auth0-lock.auth0-lock .auth0-lock-cred-pane { height: 100%; border-radius: 6px; background: #fff; position: relative; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-leave .auth0-lock-content, .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-leave .auth0-lock-terms { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.auth0-lock-moving { overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-header { text-align: center; padding: 11px; height: 118px; color: #333; position: relative; background: #fff; border-radius: 5px 5px 0 0; overflow: hidden; box-sizing: border-box; } .auth0-lock.auth0-lock .auth0-lock-close-button, .auth0-lock.auth0-lock .auth0-lock-back-button { background: #fff; border-radius: 100px; height: 10px; width: 10px; position: absolute; top: 14px; right: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); color: #333; z-index: 100; border: 6px solid #fff; cursor: pointer; line-height: 0; } .auth0-lock.auth0-lock .auth0-lock-close-button svg, .auth0-lock.auth0-lock .auth0-lock-back-button svg { box-sizing: content-box; } .auth0-lock.auth0-lock .auth0-lock-close-button polygon, .auth0-lock.auth0-lock .auth0-lock-back-button polygon { fill: #373737; } .auth0-lock.auth0-lock .auth0-lock-back-button { left: 14px; } .auth0-lock.auth0-lock .auth0-lock-header-avatar { height: 80px; width: 80px; display: block; border-radius: 100px; margin: -16px auto 0; position: absolute; left: 0; right: 0; z-index: 1000; box-shadow: 0 1px 2px rgba(0,0,0,0.4); -webkit-animation: fadeIn 0.75s both; animation: fadeIn 0.75s both; } @media (min-width: 768px) { .auth0-lock.auth0-lock .auth0-lock-header-avatar { -webkit-animation: fadeInDown 0.75s both; animation: fadeInDown 0.75s both; } } .auth0-lock.auth0-lock .auth0-lock-header-bg { position: absolute; height: 118px; width: 100%; overflow: hidden; top: 0; left: 0; pointer-events: none; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-header-bg { background: rgba(241,241,241,0.8); } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur { display: none; height: 100%; width: 100%; border-top-left-radius: 5px; border-top-right-radius: 5px; -webkit-filter: blur(40px) grayscale(1); -ms-filter: blur(40px) grayscale(1); filter: blur(40px) grayscale(1); -webkit-backdrop-filter: blur(0); background-color: #fff; background-position: center; background-repeat: no-repeat; background-size: 300px; opacity: 0; -webkit-transition: 0s ease 0s; transition: 0s ease 0s; } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale { -webkit-filter: blur(30px); -ms-filter: blur(30px); filter: blur(30px); -webkit-backdrop-filter: blur(0); background-position: center; background-size: 800px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-header-bg.auth0-lock-blur-support .auth0-lock-header-bg-blur { display: block; } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-solid { height: 100%; opacity: 0.08; } .auth0-lock.auth0-lock .auth0-lock-header-welcome { font-size: 18px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-header-logo { width: auto; height: 58px; display: inline-block; margin: 0 0 11px; vertical-align: middle; } .auth0-lock.auth0-lock .auth0-lock-firstname { font-size: 18px; margin-top: 64px; } .auth0-lock.auth0-lock .auth0-lock-name { font-size: 22px; } .auth0-lock.auth0-lock .auth0-lock-content { padding: 20px; box-sizing: border-box; } .auth0-lock.auth0-lock .auth0-lock-form { display: block; -webkit-animation: fadeIn 0.2s; animation: fadeIn 0.2s; } .auth0-lock.auth0-lock .auth0-lock-form h2 { font-size: 22px; font-weight: normal; text-align: center; margin: 0 0 15px; color: #000; } .auth0-lock.auth0-lock .auth0-lock-form p { font-size: 13px; line-height: 1.8; text-align: center; margin-top: 0; margin-bottom: 15px; color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative { margin-top: 20px; margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative .auth0-lock-alternative-link { font-size: 13px; color: rgba(0,0,0,0.87); cursor: pointer; margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-input-block { position: relative; margin-bottom: 15px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-input-block { margin-bottom: 10px; } } .auth0-lock.auth0-lock .auth0-lock-input-block:last-child { margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-input-wrap { border-radius: 3px; border: 1px solid #f1f1f1; position: relative; background: #f1f1f1; -webkit-transition: border-color 0.8s; transition: border-color 0.8s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-input-wrap-with-icon { padding-left: 40px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon-arrow { position: absolute; right: 15px; top: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon { position: absolute; font-size: 12px; top: 13px; left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon path, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon path { fill: #888; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-mobile, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-mobile { width: 9px; height: 14px; top: 14px; left: 16px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-box, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-box { width: 12px; height: 14px; top: auto; bottom: 14px; left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-focused { border-color: #a0a0a0; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input { border: 0; padding: 0 14px; right: 0; height: 40px; font-size: 13px; width: 100%; border-radius: 0 2px 2px 0; box-sizing: border-box; position: relative; color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.animated { -webkit-animation-duration: 0.5s; animation-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location { background-color: #f9f9f9; text-align: left; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location.auth0-lock-input-with-placeholder { color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-error .auth0-lock-input-wrap { border-color: #f00; -webkit-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane, .auth0-lock.auth0-lock .auth0-lock-last-login-pane { position: relative; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container { -webkit-animation: fadeIn 0.75s ease-in-out !important; animation: fadeIn 0.75s ease-in-out !important; position: absolute; width: 54px; height: 54px; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container .auth0-loading, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container .auth0-loading { width: 50px; height: 50px; border-radius: 50%; top: 0; left: 0; opacity: 1; } .auth0-lock.auth0-lock .auth0-lock-social-buttons-container { text-align: center; } .auth0-lock.auth0-lock .auth0-lock-social-button { border: 0; padding: 0; display: inline-block; box-sizing: border-box; overflow: hidden; border-radius: 3px; margin: 4px; position: relative; width: 40px; height: 40px; } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-icon { width: 40px; height: 40px; position: absolute; top: 0; left: 0; transition: background-color 0.3s; -webkit-transition: background-color 0.3s; } .auth0-lock.auth0-lock .auth0-lock-social-button:hover .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button:focus .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-text { display: none; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button { display: block; margin: 10px 0 0; width: 100%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:first-child { margin-top: 0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=""], .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider="auth0"] { background-color: #c0c0c0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=""] .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider="auth0"] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iNTNweCIgaGVpZ2h0PSI2NXB4IiB2aWV3Qm94PSIwIDAgNTMgNjUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bG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UsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4="); background-size: 38%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-text { box-sizing: border-box; display: block; overflow: hidden; width: 100%; padding-left: 54px; padding-right: 15px; line-height: 40px; text-align: left; text-transform: uppercase; text-overflow: ellipsis; font-size: 10px; font-weight: 600; letter-spacing: 0.7px; color: #fff; white-space: nowrap; transition: background 0.3s; -webkit-transition: background 0.3s; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover .auth0-lock-social-button-text, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus .auth0-lock-social-button-text { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-terms { background: #eee; text-align: center; display: block; font-size: 12px; color: rgba(0,0,0,0.54); line-height: 22px; padding: 10px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-terms a { color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-submit { border: 0; padding: 14px; display: block; box-sizing: border-box; width: 100%; height: 70px; overflow: hidden; border-radius: 0 0 5px 5px; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; color: #fff; letter-spacing: 1px; font-size: 14px; text-transform: uppercase; /*submit button animation*/ } .auth0-lock.auth0-lock .auth0-lock-submit span { display: inline-block; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit span svg { vertical-align: middle; } .auth0-lock.auth0-lock .auth0-lock-submit span svg.icon-text { margin: -4px 0 0 5px; } .auth0-lock.auth0-lock .auth0-lock-submit .auth0-label-submit { height: 42px; line-height: 42px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-submit:hover:not([disabled]) span { -webkit-transform: scale(1.05); transform: scale(1.05); } } .auth0-lock.auth0-lock .auth0-lock-submit:focus { box-shadow: inset 0 0 100px 20px rgba(0,0,0,0.2); } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] { background-color: #9b9b9b !important; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg circle, .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { stroke: rgba(255,255,255,0.6); -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { fill: rgba(255,255,255,0.6); } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter { opacity: 0; } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter.vslide-enter-active { opacity: 1; -webkit-transition-duration: 0.5s; transition-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-loading-container { position: relative; display: none; } .auth0-lock.auth0-lock .auth0-loading-container .auth0-loading { position: absolute; top: 4px; left: 44%; width: 30px; height: 30px; border-width: 2px; border-style: solid; border-color: rgba(0,0,0,0.4) rgba(0,0,0,0.4) rgba(0,0,0,0.2) rgba(0,0,0,0.2); opacity: 0.9; border-radius: 20px; -webkit-animation: rotate 1s linear infinite; animation: rotate 1s linear infinite; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-terms { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit { background-color: #eee !important; -webkit-transition: background 0.5s ease; transition: background 0.5s ease; cursor: initial; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit span { -webkit-animation: fadeOutDownBig 1s both; animation: fadeOutDownBig 1s both; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-loading-container { -webkit-animation: fadeInDownBig 1s both; animation: fadeInDownBig 1s both; display: block; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-header-avatar { -webkit-animation: fadeOut 0.3s both; animation: fadeOut 0.3s both; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-terms, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-submit { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock .auth0-lock-select-country { background-color: #fff; position: absolute; padding: 0; font-size: 14px; color: #666; bottom: 0; top: 0; right: 0; left: 0; border-radius: 5px; overflow: hidden; z-index: 200; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-back-button { opacity: 1; visibility: visible; top: 19px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-search { background-color: #e3e5e9; padding: 10px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-wrap { margin: 0; border: none; margin-left: 40px; overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-icon { width: 16px; height: 16px; top: 12px; left: 9px; z-index: 1; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-search { border: none; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code { position: relative; height: calc(100% - 60px); overflow-y: scroll; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code ul { margin: 0; padding: 0; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { list-style: none; text-align: left; border-bottom: 1px solid #eee; cursor: pointer; color: #000; font-size: 14px; padding: 15px 20px; margin: 0; text-overflow: ellipsis; width: 100%; white-space: nowrap; overflow: hidden; box-sizing: border-box; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { padding: 10px 20px; } } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li.auth0-lock-list-code-highlighted { background-color: #2eb5ff; color: #fff; } .auth0-lock.auth0-lock .auth0-lock-confirmation { background-color: #fff; position: absolute; text-align: center; line-height: 2; font-size: 14px; color: #666; width: 100%; height: 100%; top: 0; left: 0; z-index: 200; border-radius: 5px; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-confirmation-content { width: 100%; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); position: absolute; } .auth0-lock.auth0-lock .auth0-lock-confirmation p { padding: 0 14px; margin-bottom: 6px; } .auth0-lock.auth0-lock .auth0-lock-confirmation a { display: block; font-weight: 500; color: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg { width: 15px; height: 16px; margin-bottom: -4px; margin-left: 0px; display: inline-block; -webkit-transition: -webkit-transform 1s ease; transition: -webkit-transform 1s ease; transition: transform 1s ease; transition: transform 1s ease, -webkit-transform 1s ease; -webkit-transform: rotate(120deg); transform: rotate(120deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg path { fill: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a:hover svg { -webkit-transform: rotate(490deg); transform: rotate(490deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-label { color: #008000; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-failed-label { color: #f00; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 2; stroke-miterlimit: 10; stroke: #7ac142; fill: none; -webkit-animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark { width: 56px; height: 56px; border-radius: 50%; display: block; stroke-width: 2; stroke: #fff; stroke-miterlimit: 10; margin: 0 auto; box-shadow: inset 0px 0px 0px #7ac142; -webkit-animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__check { -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-back-button { opacity: 1; visibility: visible; } .auth0-lock.auth0-lock .auth0-lock-forgot-link { font-size: 12px; display: block; text-align: center; margin: 30px 0 0 0; color: #5c666f; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom { position: absolute; bottom: 15px; left: 15px; z-index: -1; text-align: center; padding: 6px 10px; border-radius: 3px; background: rgba(255,255,255,0.1); } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge { display: inline-block; color: rgba(255,255,255,0.7); font-size: 14px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge svg { vertical-align: middle; margin: 0 4px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge:hover svg g#LogoBadge { fill: #eb5424; fill-opacity: 1; } .auth0-lock.auth0-lock.auth0-lock-opened { opacity: 1; pointer-events: auto; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened { position: absolute; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { opacity: 0.9; -webkit-transition: opacity 0.3s ease-in 0s; transition: opacity 0.3s ease-in 0s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header { border-radius: 0; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-avatar { width: 70px; height: 70px; margin: 10px auto 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-firstname { margin-top: 72px; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); } @media (min-width: 481px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; box-shadow: 0 0 40px 4px #111118; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { width: 100%; height: 100%; position: absolute; top: 0; bottom: 0; border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget-container { height: 100%; overflow-y: scroll; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-cred-pane { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-body-content { background: #fff; min-height: calc(100vh - 188px); display: table; width: 100%; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content { width: 100%; display: table-cell; vertical-align: middle; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content .auth0-lock-form p { font-size: 14px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-tabs-container { position: absolute; top: 0; left: 0; width: 100%; margin: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-terms { position: absolute; bottom: -42px; width: 100%; left: 0; box-sizing: border-box; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-sign-up-terms-agreement label input { top: 2px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-submit { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-badge-bottom { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-confirmation { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 256px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit .auth0-lock-body-content { min-height: calc(100vh - 118px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 186px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-terms .auth0-lock-body-content { margin-bottom: 42px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs .auth0-lock-body-content { min-height: calc(100vh - 228px); padding-top: 40px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-with-terms .auth0-lock-body-content { min-height: calc(100vh - 228px - 42px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 296px); } } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame { opacity: 1; pointer-events: auto; position: relative; width: auto; margin-left: auto; margin-right: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale { opacity: 0.5; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; margin: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .global-error { position: absolute; display: none; } .auth0-lock .auth0-lock-form div.auth0-lock-pane-separator { padding-top: 15px; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content { opacity: 1; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content .auth0-lock-social-buttons-container { opacity: 0.3; } .auth0-lock.auth0-lock .auth0-lock-tabs-container { margin: -20px -20px 20px; height: 40px; } .auth0-lock.auth0-lock .auth0-lock-tabs { background: #fff; padding: 0; margin: 0; font-size: 13px; letter-spacing: 0.7px; box-shadow: 0 1px 0 0 rgba(92,102,111,0.2); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-line-pack: center; align-content: center; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; } .auth0-lock.auth0-lock .auth0-lock-tabs:after { content: ""; display: table; clear: both; } .auth0-lock.auth0-lock .auth0-lock-tabs li { width: 50%; display: block; list-style: none; float: left; padding: 0; margin: 0; text-align: center; cursor: pointer; } .auth0-lock.auth0-lock .auth0-lock-tabs li a { padding: 11px 10px; display: block; text-decoration: none; color: rgba(92,102,111,0.6); font-weight: 500; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current { box-shadow: 0 1px 0 0 #5c666f; cursor: default; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current a { color: #5c666f; } .auth0-lock-password-strength { width: 100%; bottom: 41px; display: block; text-align: left; padding-top: 0; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-transition: height 0.3s ease; transition: height 0.3s ease; } @media (min-width: 481px) { .auth0-lock-password-strength { position: absolute; background: #1f242e; box-shadow: 0 0 20px 0 rgba(0,0,0,0.5); -webkit-transition: none; transition: none; width: 100%; border-radius: 3px; z-index: 1000; } .auth0-lock-password-strength:after { top: 100%; left: 21px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-top-color: #1f242e; border-width: 9px; margin-left: -9px; } } .auth0-lock-password-strength.fadeOut { opacity: 0; -webkit-transition: 0.3s 0.3s ease; transition: 0.3s 0.3s ease; visibility: hidden; } .auth0-lock-password-strength.fadeIn ul { -webkit-animation: fadeIn 0.3s 0.1s both; animation: fadeIn 0.3s 0.1s both; } .auth0-lock-password-strength li, .auth0-lock-password-strength ul { margin: 0; padding: 0; list-style: none; color: #dd4b39; } .auth0-lock-password-strength > ul { padding: 15px; padding-top: 0; } @media (min-width: 481px) { .auth0-lock-password-strength > ul { padding-top: 12px; } } .auth0-lock-password-strength li span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+RXJyb3I8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFzc3dvcmQtUG9saWN5IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJBcnRib2FyZC0xIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAwLjAwMDAwMCwgLTE0OC4wMDAwMDApIj4gICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTUwLjAwMDAwMCwgNzUuMDAwMDAwKSI+ICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC1Db3B5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNS4wMDAwMDAsIDM2LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IkVycm9yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNS4wMDAwMDAsIDM3LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgICAgIDxlbGxpcHNlIGlkPSJPdmFsLTkwIiBmaWxsPSIjQkU0NTI3IiBjeD0iNiIgY3k9IjYiIHJ4PSI2IiByeT0iNiI+PC9lbGxpcHNlPiAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik05LDMuNjA0Mjg1NzEgTDguMzk1NzE0MjksMyBMNiw1LjM5NTcxNDI5IEwzLjYwNDI4NTcxLDMgTDMsMy42MDQyODU3MSBMNS4zOTU3MTQyOSw2IEwzLDguMzk1NzE0MjkgTDMuNjA0Mjg1NzEsOSBMNiw2LjYwNDI4NTcxIEw4LjM5NTcxNDI5LDkgTDksOC4zOTU3MTQyOSBMNi42MDQyODU3MSw2IEw5LDMuNjA0Mjg1NzEgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4="); background-position: left center; background-repeat: no-repeat; padding-left: 20px; } .auth0-lock-password-strength ul li ul { margin-left: 20px; } .auth0-lock-password-strength ul li ul li { color: #000; } @media (min-width: 481px) { .auth0-lock-password-strength ul li ul li { color: #fff; } } .auth0-lock-password-strength ul li ul li span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+T3ZhbCAxPC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iSXBob25lLTYtLS1OYXRpdmUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00NC4wMDAwMDAsIC0yMTQuMDAwMDAwKSIgZmlsbD0iI0QwRDJEMyI+ICAgICAgICAgICAgPHBhdGggZD0iTTUwLjExNDk3MzMsMjI2IEM1My40Mjg2ODE4LDIyNiA1Ni4xMTQ5NzMzLDIyMy4zMTM3MDggNTYuMTE0OTczMywyMjAgQzU2LjExNDk3MzMsMjE2LjY4NjI5MiA1My40Mjg2ODE4LDIxNCA1MC4xMTQ5NzMzLDIxNCBDNDYuODAxMjY0OCwyMTQgNDQuMTE0OTczMywyMTYuNjg2MjkyIDQ0LjExNDk3MzMsMjIwIEM0NC4xMTQ5NzMzLDIyMy4zMTM3MDggNDYuODAxMjY0OCwyMjYgNTAuMTE0OTczMywyMjYgWiIgaWQ9Ik92YWwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+"); } .auth0-lock-password-strength li { line-height: 1.5; margin-top: 5px; font-size: 13px; -webkit-transition: color 0.3s ease-in; transition: color 0.3s ease-in; position: relative; } .auth0-lock-password-strength li.auth0-lock-checked { color: #7ed321; } .auth0-lock-password-strength li.auth0-lock-checked span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+R3JvdXAgNDwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9IklwaG9uZS02LS0tTmF0aXZlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQuMDAwMDAwLCAtMjQwLjAwMDAwMCkiPiAgICAgICAgICAgIDxnIGlkPSJHcm91cC00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NC4xMTQ5NzMsIDI0MC4wMDAwMDApIj4gICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtOTAiIGZpbGw9IiM4MEQxMzUiIGN4PSI2IiBjeT0iNiIgcng9IjYiIHJ5PSI2Ij48L2VsbGlwc2U+ICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjU0MjM1MzYxLDcuNzMzNzgwNzYgTDIuNjQ1ODIxNDksNS44NjgwMDg5NSBMMiw2LjQ5ODg4MTQzIEw0LjU0MjM1MzYxLDkgTDEwLDMuNjMwODcyNDggTDkuMzU4NzI2NTUsMyBMNC41NDIzNTM2MSw3LjczMzc4MDc2IFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPiAgICAgICAgICAgIDwvZz4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg=="); } .auth0-lock-error-msg { color: #f00; font-size: 12px; margin-top: 5px; } @media (min-width: 481px) { .auth0-lock-error-msg { color: #000; background: #fff; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); margin: 0; border-radius: 3px; position: absolute; left: calc(100% + 7px); top: 1px; display: inline-table; } .auth0-lock-error-msg span { background: #fff; padding: 12px 15px; display: block; position: relative; border-radius: 3px; z-index: 1; } .auth0-lock-error-msg:after { content: ""; background: #fff; height: 6px; width: 6px; position: absolute; pointer-events: none; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); right: calc(100% - 3px); top: 50%; -webkit-transform: translateY(-50%) rotate(45deg); transform: translateY(-50%) rotate(45deg); } } .auth0-lock .auth0-loading-screen { min-height: 42px; } .auth0-lock .auth0-loading-screen .auth0-loading-container { display: block; } .auth0-lock .auth0-sso-notice-container { background: rgba(0,0,0,0.03); color: rgba(0,0,0,0.54); padding: 10px 0; margin: -20px -20px 20px; text-align: center; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; } .auth0-lock .auth0-sso-notice-container .auth0-lock-icon { width: 12px; height: 14px; position: relative; top: 2px; right: 2px; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button.auth0-lock-social-big-button { margin-top: 0; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button[data-provider="auth0"] .auth0-lock-social-button-text { text-transform: none; font-size: 12px; font-weight: normal; } .auth0-lock .auth0-lock-sign-up-terms-agreement label input { margin-right: 5px; position: relative; } input[type="button"] { cursor: pointer; } '; + + + function injectStyles() { + var styleId = "auth0-lock-style"; + var style = document.getElementById(styleId); + + if (!style) { + var head = document.getElementsByTagName("head")[0]; + style = document.createElement("style"); + style.type = "text/css"; + style.setAttribute("id", styleId); + head.appendChild(style); + } + + if (style.styleSheet) { + style.styleSheet.cssText = css; + } else { + style.innerHTML = css; + } + } + + var Auth0Lock = function (_Core) { + _inherits(Auth0Lock, _Core); + + function Auth0Lock(clientID, domain, options) { + _classCallCheck(this, Auth0Lock); + + var _this = _possibleConstructorReturn(this, _Core.call(this, clientID, domain, options, _classic2.default)); + + injectStyles(); + return _this; + } + + return Auth0Lock; + }(_core2.default); + + // telemetry + + + exports.default = Auth0Lock; + Auth0Lock.version = '10.8.1'; + Auth0Lock.css = css; + _auth0Js2.default.clientInfo.lib_version = _auth0Js2.default.clientInfo.version; + _auth0Js2.default.clientInfo.name = "lock.js"; + _auth0Js2.default.clientInfo.version = Auth0Lock.version; + + // TODO: should we have different telemetry for classic/passwordless? + // TODO: should we set telemetry info before each request? + // TODO: should we inject styles here? + +/***/ }, +/* 141 */ +/***/ function(module, exports, __webpack_require__) { + + "use strict"; + + exports.__esModule = true; + exports.skipQuickAuth = skipQuickAuth; + exports.hasSkippedQuickAuth = hasSkippedQuickAuth; + + var _data_utils = __webpack_require__(17); + + var _dataFns = (0, _data_utils.dataFns)(["quickAuth"]), + tget = _dataFns.tget, + tset = _dataFns.tset; + + function skipQuickAuth(m, b) { + return tset(m, "skipped", b); + } + + function hasSkippedQuickAuth(m) { + return tget(m, "skipped", false); + } + +/***/ }, +/* 142 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + exports.__esModule = true; + exports.defaultProps = undefined; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _chrome = __webpack_require__(311); + + var _chrome2 = _interopRequireDefault(_chrome); + + var _button = __webpack_require__(55); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + var badgeSvg = _react2.default.createElement( + 'svg', + { width: '58px', height: '21px', viewBox: '0 0 462 168' }, + _react2.default.createElement( + 'g', + { id: 'Page-1', stroke: 'none', strokeWidth: '1', fill: 'none', fillRule: 'evenodd' }, + _react2.default.createElement( + 'g', + { id: 'logo-grey-horizontal' }, + _react2.default.createElement( + 'g', + { id: 'Group' }, + _react2.default.createElement( + 'g', + { id: 'LogoText', transform: 'translate(188.000000, 41.500000)', fill: '#D0D2D3' }, + _react2.default.createElement('path', { d: 'M246.517,0.11 C238.439,0.11 231.607,3.916 226.759,11.115 C221.94,18.271 219.393,28.26 219.393,40 C219.393,51.74 221.94,61.729 226.759,68.884 C231.607,76.084 238.439,79.889 246.517,79.889 C254.595,79.889 261.427,76.084 266.275,68.884 C271.093,61.729 273.64,51.74 273.64,40 C273.64,28.26 271.093,18.271 266.275,11.115 C261.427,3.916 254.595,0.11 246.517,0.11 L246.517,0.11 Z M246.517,70.005 C242.655,70.005 239.604,67.82 237.187,63.324 C234.268,57.893 232.66,49.61 232.66,40 C232.66,30.39 234.268,22.106 237.187,16.676 C239.604,12.18 242.655,9.994 246.517,9.994 C250.378,9.994 253.43,12.18 255.847,16.676 C258.766,22.106 260.373,30.389 260.373,40 C260.373,49.611 258.766,57.895 255.847,63.324 C253.43,67.82 250.378,70.005 246.517,70.005 L246.517,70.005 Z M71.45,29.172 L71.45,63.484 C71.45,72.53 78.81,79.889 87.856,79.889 C95.746,79.889 101.707,75.975 103.902,74.291 C104.024,74.197 104.184,74.169 104.331,74.216 C104.478,74.263 104.592,74.379 104.637,74.527 L105.961,78.86 L115.737,78.86 L115.737,29.172 L103.175,29.172 L103.175,66.326 C103.175,66.501 103.076,66.662 102.921,66.743 C100.559,67.961 95.899,70.006 91.231,70.006 C87.252,70.006 84.012,66.768 84.012,62.787 L84.012,29.172 L71.45,29.172 L71.45,29.172 Z M197.237,78.859 L209.8,78.859 L209.8,44.547 C209.8,35.501 202.44,28.141 193.394,28.141 C186.735,28.141 181.393,31.004 178.802,32.71 C178.657,32.805 178.473,32.813 178.322,32.731 C178.171,32.649 178.075,32.491 178.075,32.318 L178.075,1.141 L165.513,1.141 L165.513,78.859 L178.075,78.859 L178.075,41.704 C178.075,41.529 178.174,41.368 178.33,41.288 C180.691,40.069 185.352,38.025 190.019,38.025 C191.947,38.025 193.76,38.776 195.123,40.139 C196.486,41.502 197.236,43.316 197.236,45.243 L197.236,78.859 L197.237,78.859 Z M124.792,39.055 L132.438,39.055 C132.697,39.055 132.907,39.265 132.907,39.524 L132.907,66.858 C132.907,74.043 138.753,79.888 145.938,79.888 C148.543,79.888 151.113,79.512 153.585,78.77 L153.585,69.796 C152.143,69.923 150.485,70.005 149.313,70.005 C147.193,70.005 145.469,68.28 145.469,66.161 L145.469,39.523 C145.469,39.264 145.679,39.054 145.938,39.054 L153.585,39.054 L153.585,29.171 L145.938,29.171 C145.679,29.171 145.469,28.961 145.469,28.702 L145.469,12.295 L132.907,12.295 L132.907,28.702 C132.907,28.961 132.697,29.171 132.438,29.171 L124.792,29.171 L124.792,39.055 L124.792,39.055 Z M51.361,78.859 L64.429,78.859 L44.555,9.55 C42.962,3.992 37.811,0.11 32.029,0.11 C26.247,0.11 21.096,3.992 19.502,9.55 L-0.372,78.859 L12.697,78.859 L18.449,58.798 C18.507,58.597 18.691,58.459 18.9,58.459 L45.158,58.459 C45.367,58.459 45.552,58.597 45.609,58.798 L51.361,78.859 L51.361,78.859 Z M42.056,48.576 L22.004,48.576 C21.857,48.576 21.718,48.507 21.629,48.388 C21.541,48.272 21.513,48.119 21.553,47.978 L31.579,13.012 C31.637,12.811 31.821,12.673 32.03,12.673 C32.239,12.673 32.423,12.811 32.48,13.012 L42.507,47.978 C42.547,48.12 42.519,48.272 42.43,48.388 C42.342,48.507 42.203,48.576 42.056,48.576 L42.056,48.576 Z', id: 'Shape' }) + ), + _react2.default.createElement( + 'g', + { id: 'LogoBadge', fillOpacity: '0.4', fill: '#FFFFFF' }, + _react2.default.createElement('path', { d: 'M119.555,135.861 L102.705,83.997 L146.813,51.952 L92.291,51.952 L75.44,0.09 L75.435,0.076 L129.965,0.076 L146.82,51.947 L146.821,51.946 L146.835,51.938 C156.623,82.03 146.542,116.256 119.555,135.861 L119.555,135.861 Z M31.321,135.861 L31.307,135.871 L75.426,167.924 L119.555,135.862 L75.44,103.808 L31.321,135.861 L31.321,135.861 Z M4.052,51.939 L4.052,51.939 C-6.252,83.66 5.709,117.272 31.312,135.867 L31.316,135.851 L48.168,83.99 L4.07,51.951 L58.579,51.951 L75.431,0.089 L75.435,0.075 L20.902,0.075 L4.052,51.939 L4.052,51.939 Z', id: 'Shape' }) + ) + ) + ) + ) + ); + + var BottomBadge = function BottomBadge(_ref) { + var link = _ref.link; + return _react2.default.createElement( + 'span', + { className: 'auth0-lock-badge-bottom' }, + _react2.default.createElement( + 'a', + { href: link, target: '_blank', className: 'auth0-lock-badge' }, + 'Protected with ', + badgeSvg + ) + ); + }; + + var Avatar = function Avatar(_ref2) { + var imageUrl = _ref2.imageUrl; + return _react2.default.createElement('img', { src: imageUrl, className: 'auth0-lock-header-avatar' }); + }; + + Avatar.propTypes = { + imageUrl: _react2.default.PropTypes.string.isRequired + }; + + var EscKeyDownHandler = function () { + function EscKeyDownHandler(f) { + _classCallCheck(this, EscKeyDownHandler); + + this.handler = function (e) { + if (e.keyCode == 27 && e.target.tagName.toUpperCase() != "INPUT") { + f(); + } + }; + global.document.addEventListener('keydown', this.handler, false); + } + + EscKeyDownHandler.prototype.release = function release() { + global.document.removeEventListener('keydown', this.handler); + }; + + return EscKeyDownHandler; + }(); + + var IPHONE = global.navigator && !!global.navigator.userAgent.match(/iPhone/i); + + var Container = function (_React$Component) { + _inherits(Container, _React$Component); + + function Container(props) { + _classCallCheck(this, Container); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props)); + + _this.state = { isOpen: false }; + return _this; + } + + Container.prototype.componentDidMount = function componentDidMount() { + var _this2 = this; + + if (this.props.isModal) { + setTimeout(function () { + return _this2.setState({ isOpen: true }); + }, 17); + } + + if (this.props.closeHandler) { + this.escKeydown = new EscKeyDownHandler(this.handleEsc.bind(this)); + } + }; + + Container.prototype.componentWillUnmount = function componentWillUnmount() { + if (this.escKeydown) { + this.escKeydown.release(); + } + }; + + Container.prototype.handleSubmit = function handleSubmit(e) { + var _this3 = this; + + e.preventDefault(); + var submitHandler = this.props.submitHandler; + + if (submitHandler) { + setTimeout(function () { + if (!_this3.props.isSubmitting) { + _this3.refs.chrome.focusError(); + } + }, 17); + submitHandler(); + } + }; + + Container.prototype.handleClose = function handleClose() { + var _props = this.props, + closeHandler = _props.closeHandler, + isSubmitting = _props.isSubmitting; + + if (!isSubmitting) { + closeHandler(); + } + }; + + Container.prototype.handleEsc = function handleEsc() { + var _props2 = this.props, + closeHandler = _props2.closeHandler, + escHandler = _props2.escHandler; + + escHandler ? escHandler() : this.handleClose(); + }; + + Container.prototype.hide = function hide() { + this.setState({ isOpen: false }); + }; + + Container.prototype.render = function render() { + var _props3 = this.props, + autofocus = _props3.autofocus, + avatar = _props3.avatar, + auxiliaryPane = _props3.auxiliaryPane, + backHandler = _props3.backHandler, + badgeLink = _props3.badgeLink, + closeHandler = _props3.closeHandler, + contentComponent = _props3.contentComponent, + contentProps = _props3.contentProps, + disableSubmitButton = _props3.disableSubmitButton, + disallowClose = _props3.disallowClose, + error = _props3.error, + isMobile = _props3.isMobile, + isModal = _props3.isModal, + isSubmitting = _props3.isSubmitting, + logo = _props3.logo, + primaryColor = _props3.primaryColor, + screenName = _props3.screenName, + showBadge = _props3.showBadge, + submitButtonLabel = _props3.submitButtonLabel, + submitHandler = _props3.submitHandler, + success = _props3.success, + tabs = _props3.tabs, + terms = _props3.terms, + title = _props3.title, + transitionName = _props3.transitionName; + + + var badge = showBadge ? _react2.default.createElement(BottomBadge, { link: badgeLink }) : null; + + var overlay = isModal ? _react2.default.createElement( + 'div', + { className: 'auth0-lock-overlay' }, + badge + ) : null; + + var className = "auth0-lock"; + + if (isModal && this.state.isOpen) { + className += " auth0-lock-opened"; + } + + if (!isModal) { + className += " auth0-lock-opened-in-frame"; + } + + if (isMobile) { + className += " auth0-lock-mobile"; + } + + if (isSubmitting) { + className += " auth0-lock-mode-loading"; + } + + if (auxiliaryPane) { + className += " auth0-lock-auxiliary"; + } + + if (!submitHandler) { + className += " auth0-lock-no-submit"; + } + + if (terms) { + className += " auth0-lock-with-terms"; + } + + if (IPHONE) { + className += " auth0-lock-iphone"; + } + + // TODO: this no longer makes sense, instead of taking a tabs + // prop we should take extra class names. + if (tabs) { + className += " auth0-lock-with-tabs"; + } + + return _react2.default.createElement( + 'div', + { className: className, ref: 'container' }, + overlay, + _react2.default.createElement( + 'div', + { className: 'auth0-lock-center' }, + _react2.default.createElement( + 'form', + { className: 'auth0-lock-widget', onSubmit: this.handleSubmit.bind(this) }, + avatar && _react2.default.createElement(Avatar, { imageUrl: avatar }), + closeHandler && _react2.default.createElement(_button.CloseButton, { onClick: this.handleClose.bind(this) }), + _react2.default.createElement( + 'div', + { className: 'auth0-lock-widget-container' }, + _react2.default.createElement(_chrome2.default, { + autofocus: autofocus, + avatar: avatar, + auxiliaryPane: auxiliaryPane, + backHandler: backHandler, + contentComponent: contentComponent, + contentProps: contentProps, + disableSubmitButton: disableSubmitButton, + error: error, + isSubmitting: isSubmitting, + logo: logo, + screenName: screenName, + primaryColor: primaryColor, + ref: 'chrome', + showSubmitButton: !!submitHandler, + submitButtonLabel: submitButtonLabel, + success: success, + tabs: tabs, + terms: terms, + title: title, + transitionName: transitionName + }) + ) + ) + ) + ); + }; + + return Container; + }(_react2.default.Component); + + exports.default = Container; + + + Container.propTypes = { + autofocus: _react2.default.PropTypes.bool.isRequired, + avatar: _react2.default.PropTypes.string, + auxiliaryPane: _react2.default.PropTypes.element, + backHandler: _react2.default.PropTypes.func, + badgeLink: _react2.default.PropTypes.string.isRequired, + closeHandler: _react2.default.PropTypes.func, + contentComponent: _react2.default.PropTypes.func.isRequired, // TODO: it also can be a class component + contentProps: _react2.default.PropTypes.object.isRequired, + disableSubmitButton: _react2.default.PropTypes.bool.isRequired, + error: _react2.default.PropTypes.string, + isMobile: _react2.default.PropTypes.bool.isRequired, + isModal: _react2.default.PropTypes.bool.isRequired, + isSubmitting: _react2.default.PropTypes.bool.isRequired, + logo: _react2.default.PropTypes.string.isRequired, + primaryColor: _react2.default.PropTypes.string.isRequired, + screenName: _react2.default.PropTypes.string.isRequired, + showBadge: _react2.default.PropTypes.bool.isRequired, + submitButtonLabel: _react2.default.PropTypes.string, + success: _react2.default.PropTypes.string, + tabs: _react2.default.PropTypes.bool, + terms: _react2.default.PropTypes.element, + title: _react2.default.PropTypes.string.isRequired, + transitionName: _react2.default.PropTypes.string.isRequired + // escHandler + // submitHandler, + }; + + // NOTE: detecting the file protocol is important for things like electron. + var isFileProtocol = global.window && global.window.location && global.window.location.protocol === "file:"; + + var defaultProps = exports.defaultProps = Container.defaultProps = { + autofocus: false, + badgeLink: "https://auth0.com/", + contentProps: {}, + disableSubmitButton: false, + isMobile: false, + isSubmitting: false, + logo: (isFileProtocol ? "https:" : "") + '//cdn.auth0.com/styleguide/1.0.0/img/badge.png', + primaryColor: "#ea5323", + showBadge: true + }; + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 143 */ +/***/ function(module, exports, __webpack_require__) { + + "use strict"; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var AuthButton = function AuthButton(props) { + var disabled = props.disabled, + isBig = props.isBig, + label = props.label, + onClick = props.onClick, + strategy = props.strategy, + icon = props.icon, + primaryColor = props.primaryColor, + foregroundColor = props.foregroundColor; + + + var className = "auth0-lock-social-button"; + if (isBig) className += " auth0-lock-social-big-button"; + + var backgroundStyle = primaryColor ? { backgroundColor: primaryColor } : {}; + var foregroundStyle = foregroundColor ? { color: foregroundColor } : {}; + var iconStyle = icon ? { backgroundImage: "url('" + icon + "')" } : {}; + + return _react2.default.createElement( + "button", + { + className: className, + "data-provider": strategy, + disabled: disabled, + onClick: onClick, + style: backgroundStyle, + type: "button" + }, + _react2.default.createElement("div", { className: "auth0-lock-social-button-icon", style: iconStyle }), + _react2.default.createElement( + "div", + { className: "auth0-lock-social-button-text", style: foregroundStyle }, + label + ) + ); + }; + + AuthButton.propTypes = { + disabled: _react2.default.PropTypes.bool.isRequired, + isBig: _react2.default.PropTypes.bool.isRequired, + label: _react2.default.PropTypes.string.isRequired, + onClick: _react2.default.PropTypes.func.isRequired, + strategy: _react2.default.PropTypes.string.isRequired, + icon: _react2.default.PropTypes.string, + primaryColor: _react2.default.PropTypes.string, + foregroundColor: _react2.default.PropTypes.string + }; + + AuthButton.defaultProps = { + disabled: false, + isBig: true + }; + + exports.default = AuthButton; + +/***/ }, +/* 144 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _input_wrap = __webpack_require__(40); + + var _input_wrap2 = _interopRequireDefault(_input_wrap); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var TextInput = function (_React$Component) { + _inherits(TextInput, _React$Component); + + function TextInput(props) { + _classCallCheck(this, TextInput); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props)); + + _this.state = {}; + return _this; + } + + TextInput.prototype.hasFocus = function hasFocus() { + return this.state.focused; + }; + + TextInput.prototype.render = function render() { + var _props = this.props, + iconUrl = _props.iconUrl, + invalidHint = _props.invalidHint, + isValid = _props.isValid, + name = _props.name, + onChange = _props.onChange, + value = _props.value, + props = _objectWithoutProperties(_props, ['iconUrl', 'invalidHint', 'isValid', 'name', 'onChange', 'value']); + + var icon = this.props.icon; + var focused = this.state.focused; + + + if (!icon && typeof iconUrl === "string" && iconUrl) { + icon = _react2.default.createElement('img', { className: 'auth0-lock-custom-icon', src: iconUrl }); + } + + return _react2.default.createElement( + _input_wrap2.default, + { + focused: focused, + invalidHint: invalidHint, + isValid: isValid, + name: name, + icon: icon + }, + _react2.default.createElement('input', _extends({ + ref: 'input', + type: 'text', + name: name, + className: 'auth0-lock-input', + autoComplete: 'off', + autoCapitalize: 'off', + onChange: this.handleOnChange.bind(this), + onFocus: this.handleFocus.bind(this), + onBlur: this.handleBlur.bind(this), + value: value + }, props)) + ); + }; + + TextInput.prototype.handleOnChange = function handleOnChange(e) { + if (this.props.onChange) { + this.props.onChange(e); + } + }; + + TextInput.prototype.handleFocus = function handleFocus() { + this.setState({ focused: true }); + }; + + TextInput.prototype.handleBlur = function handleBlur() { + this.setState({ focused: false }); + }; + + return TextInput; + }(_react2.default.Component); + + exports.default = TextInput; + +/***/ }, +/* 145 */ +/***/ function(module, exports) { + + "use strict"; + + exports.__esModule = true; + exports.isSmallScreen = isSmallScreen; + function isSmallScreen() { + return window.matchMedia && !window.matchMedia("(min-width: 380px)").matches; + } + +/***/ }, +/* 146 */ +/***/ function(module, exports) { + + "use strict"; + + exports.__esModule = true; + exports.img = img; + function img(src) { + var cb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {}; + + var img = document.createElement("img"); + img.addEventListener("load", function () { + cb(null, img); + }); + img.addEventListener("error", function (event) { + cb(event); + }); + img.src = src; + return img; + } + +/***/ }, +/* 147 */ +/***/ function(module, exports) { + + "use strict"; + + var IframeHandler = function IframeHandler(options) { + this.auth0 = options.auth0; + this.url = options.url; + this.callback = options.callback; + this.timeout = options.timeout || 60 * 1000; + this.timeoutCallback = options.timeoutCallback || null; + this.usePostMessage = options.usePostMessage || false; + this.iframe = null; + this.timeoutHandle = null; + this._destroyTimeout = null; + this.transientMessageEventListener = null; + this.transientEventListener = null; + }; + + IframeHandler.prototype.init = function (url) { + this.iframe = document.createElement('iframe'); + this.iframe.style.display = "none"; + this.iframe.src = this.url; + + var _this = this; + + if (this.usePostMessage) { + + // Workaround to avoid using bind that does not work in IE8 + this.transientMessageEventListener = function (e) { + _this.messageEventListener(e); + }; + + window.addEventListener("message", this.transientMessageEventListener, false); + } else { + + // Workaround to avoid using bind that does not work in IE8 + this.transientEventListener = function () { + _this.loadEventListener(); + }; + + this.iframe.addEventListener("load", this.transientEventListener, false); + } + + document.body.appendChild(this.iframe); + + this.timeoutHandle = setTimeout(function () { + _this.timeoutHandler(); + }, this.timeout); + }; + + IframeHandler.prototype.messageEventListener = function (e) { + this.callbackHandler(e.data); + + this.destroy(); + }; + + IframeHandler.prototype.loadEventListener = function () { + var result = this.auth0.parseHash(this.iframe.contentWindow.location.hash); + + if (!result) return; + + this.callbackHandler(result); + + this.destroy(); + }; + + IframeHandler.prototype.callbackHandler = function (result) { + var error = null; + + if (result.error) { + error = result; + result = null; + } + + this.callback(error, result); + }; + + IframeHandler.prototype.timeoutHandler = function () { + if (this.timeoutCallback) { + this.timeoutCallback(); + } + this.destroy(); + }; + IframeHandler.prototype.destroy = function () { + var _this = this; + + if (this.timeoutHandle) { + clearTimeout(this.timeoutHandle); + } + + this._destroyTimeout = setTimeout(function () { + if (_this.usePostMessage) { + window.removeEventListener("message", _this.transientMessageEventListener, false); + } else { + _this.iframe.removeEventListener("load", _this.transientEventListener, false); + } + document.body.removeChild(_this.iframe); + }, 0); + }; + + module.exports = IframeHandler; + +/***/ }, +/* 148 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Module dependencies. + */ + + var json_parse = __webpack_require__(92); + + /** + * Expose `LoginError` + */ + + module.exports = LoginError; + + /** + * Create a `LoginError` by extend of `Error` + * + * @param {Number} status + * @param {String} details + * @public + */ + + function LoginError(status, details) { + var obj; + + if (typeof details == 'string') { + try { + obj = json_parse(details); + } catch (er) { + obj = { message: details }; + } + } else { + obj = details || { description: 'server error' }; + } + + if (!obj.code) { + obj.code = obj.error; + } + + if ('unauthorized' === obj.code) { + status = 401; + } + + var message = obj.description || obj.message || obj.error; + + if ('PasswordStrengthError' === obj.name) { + message = "Password is not strong enough."; + } + + var err = Error.call(this, message); + + err.status = status; + err.name = obj.code; + err.code = obj.code; + err.details = obj; + + if (status === 0) { + if (!err.code || err.code !== 'offline') { + err.code = 'Unknown'; + err.message = 'Unknown error.'; + } + } + + return err; + } + + /** + * Extend `LoginError.prototype` with `Error.prototype` + * and `LoginError` as constructor + */ + + if (Object && Object.create) { + LoginError.prototype = Object.create(Error.prototype, { + constructor: { value: LoginError } + }); + } + +/***/ }, +/* 149 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var IframeHandler = __webpack_require__(147); + + var SilentAuthenticationHandler = function SilentAuthenticationHandler(auth0, authenticationUrl, timeout) { + + this.auth0 = auth0; + this.authenticationUrl = authenticationUrl; + this.timeout = timeout || 60 * 1000; + this.handler = null; + }; + + SilentAuthenticationHandler.prototype.timeoutCallback = function () { + + console.error('Timeout during silent authentication.'); + }; + + SilentAuthenticationHandler.prototype.login = function (callback, usePostMessage) { + + this.handler = new IframeHandler({ + auth0: this.auth0, + url: this.authenticationUrl, + callback: callback, + timeout: this.timeout, + timeoutCallback: this.timeoutCallback, + usePostMessage: usePostMessage || false + }); + + this.handler.init(); + }; + + module.exports = SilentAuthenticationHandler; + +/***/ }, +/* 150 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * Expose `required` + */ + + module.exports = required; + + /** + * Assert `prop` as requirement of `obj` + * + * @param {Object} obj + * @param {prop} prop + * @public + */ + + function required(obj, prop) { + if (!obj[prop]) { + throw new Error(prop + ' is required.'); + } + } + +/***/ }, +/* 151 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Module dependencies. + */ + + var Base64 = __webpack_require__(157); + + /** + * Expose `base64_url_decode` + */ + + module.exports = { + encode: encode, + decode: decode + }; + + /** + * Encode a `base64` `encodeURIComponent` string + * + * @param {string} str + * @public + */ + + function encode(str) { + return Base64.btoa(str).replace(/\+/g, '-') // Convert '+' to '-' + .replace(/\//g, '_') // Convert '/' to '_' + .replace(/=+$/, ''); // Remove ending '=' + } + + /** + * Decode a `base64` `encodeURIComponent` string + * + * @param {string} str + * @public + */ + + function decode(str) { + // Add removed at end '=' + str += Array(5 - str.length % 4).join('='); + + str = str.replace(/\-/g, '+') // Convert '-' to '+' + .replace(/\_/g, '/'); // Convert '_' to '/' + + return Base64.atob(str); + } + +/***/ }, +/* 152 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * Resolve `isArray` as native or fallback + */ + + module.exports = Array.prototype.indexOf ? nativeIndexOf : polyfillIndexOf; + + function nativeIndexOf(array, searchElement, fromIndex) { + return array.indexOf(searchElement, fromIndex); + } + + function polyfillIndexOf(array, searchElement, fromIndex) { + // Production steps of ECMA-262, Edition 5, 15.4.4.14 + // Reference: http://es5.github.io/#x15.4.4.14 + + var k; + + // 1. Let O be the result of calling ToObject passing + // the array value as the argument. + if (array == null) { + throw new TypeError('"array" is null or not defined'); + } + + var O = Object(array); + + // 2. Let lenValue be the result of calling the Get + // internal method of O with the argument "length". + // 3. Let len be ToUint32(lenValue). + var len = O.length >>> 0; + + // 4. If len is 0, return -1. + if (len === 0) { + return -1; + } + + // 5. If argument fromIndex was passed let n be + // ToInteger(fromIndex); else let n be 0. + var n = +fromIndex || 0; + + if (Math.abs(n) === Infinity) { + n = 0; + } + + // 6. If n >= len, return -1. + if (n >= len) { + return -1; + } + + // 7. If n >= 0, then Let k be n. + // 8. Else, n<0, Let k be len - abs(n). + // If k is less than 0, then let k be 0. + k = Math.max(n >= 0 ? n : len - Math.abs(n), 0); + + // 9. Repeat, while k < len + while (k < len) { + // a. Let Pk be ToString(k). + // This is implicit for LHS operands of the in operator + // b. Let kPresent be the result of calling the + // HasProperty internal method of O with argument Pk. + // This step can be combined with c + // c. If kPresent is true, then + // i. Let elementK be the result of calling the Get + // internal method of O with the argument ToString(k). + // ii. Let same be the result of applying the + // Strict Equality Comparison Algorithm to + // searchElement and elementK. + // iii. If same is true, return k. + if (k in O && O[k] === searchElement) { + return k; + } + k++; + } + return -1; + }; + +/***/ }, +/* 153 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * Module dependencies. + */ + + var toString = Object.prototype.toString; + + /** + * Resolve `isArray` as native or fallback + */ + + module.exports = null != Array.isArray ? Array.isArray : isArray; + + /** + * Wrap `Array.isArray` Polyfill for IE9 + * source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray + * + * @param {Array} array + * @public + */ + + function isArray(array) { + return toString.call(array) === '[object Array]'; + }; + +/***/ }, +/* 154 */ +/***/ function(module, exports) { + + 'use strict'; + + function randomString(length) { + var bytes = new Uint8Array(length); + var cryptoObj = window.crypto || window.msCrypto; + + if (!cryptoObj) { + return null; + } + + var random = cryptoObj.getRandomValues(bytes); + var result = []; + var charset = '0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz-._~'; + random.forEach(function (c) { + result.push(charset[c % charset.length]); + }); + return result.join(''); + } + + module.exports = { + randomString: randomString + }; + +/***/ }, +/* 155 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * Check for same origin policy + */ + + module.exports = same_origin; + + function same_origin(tprotocol, tdomain, tport) { + var protocol = window.location.protocol; + var domain = window.location.hostname; + var port = window.location.port; + + tport = tport || ''; + return protocol === tprotocol && domain === tdomain && port === tport; + } + +/***/ }, +/* 156 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * Expose `use_jsonp` + */ + + module.exports = use_jsonp; + + /** + * Return true if `jsonp` is required + * + * @return {Boolean} + * @public + */ + + function use_jsonp() { + var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : null; + + if (xhr && 'withCredentials' in xhr) { + return false; + } + + // We no longer support XDomainRequest for IE8 and IE9 for CORS because it has many quirks. + // if ('XDomainRequest' in window && window.location.protocol === 'https:') { + // return false; + // } + + return true; + } + +/***/ }, +/* 157 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + ;(function () { + + var object = true ? exports : this, + // #8: web workers + chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=', + INVALID_CHARACTER_ERR = function () { + // fabricate a suitable error object + try { + document.createElement('$'); + } catch (error) { + return error; + } + }(); + + // encoder + // [https://gist.github.com/999166] by [https://github.com/nignag] + object.btoa || (object.btoa = function (input) { + for ( + // initialize result and counter + var block, charCode, idx = 0, map = chars, output = ''; + // if the next input index does not exist: + // change the mapping table to "=" + // check if d has no fractional digits + input.charAt(idx | 0) || (map = '=', idx % 1); + // "8 - idx % 1 * 8" generates the sequence 2, 4, 6, 8 + output += map.charAt(63 & block >> 8 - idx % 1 * 8)) { + charCode = input.charCodeAt(idx += 3 / 4); + if (charCode > 0xFF) throw INVALID_CHARACTER_ERR; + block = block << 8 | charCode; + } + return output; + }); + + // decoder + // [https://gist.github.com/1020396] by [https://github.com/atk] + object.atob || (object.atob = function (input) { + input = input.replace(/=+$/, ''); + if (input.length % 4 == 1) throw INVALID_CHARACTER_ERR; + for ( + // initialize result and counters + var bc = 0, bs, buffer, idx = 0, output = ''; + // get next character + buffer = input.charAt(idx++); + // character found in table? initialize bit storage and add its ascii value; + ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer, + // and if not first of each 4 characters, + // convert the first 8 bits to one ascii character + bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0) { + // try to find character in table (0-63, not found => -1) + buffer = chars.indexOf(buffer); + } + return output; + }); + })(); + +/***/ }, +/* 158 */ +/***/ function(module, exports) { + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + /* + json2.js + 2011-10-19 + + Public Domain. + + NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. + + See http://www.JSON.org/js.html + + + This code should be minified before deployment. + See http://javascript.crockford.com/jsmin.html + + USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO + NOT CONTROL. + + + This file creates a global JSON object containing two methods: stringify + and parse. + + JSON.stringify(value, replacer, space) + value any JavaScript value, usually an object or array. + + replacer an optional parameter that determines how object + values are stringified for objects. It can be a + function or an array of strings. + + space an optional parameter that specifies the indentation + of nested structures. If it is omitted, the text will + be packed without extra whitespace. If it is a number, + it will specify the number of spaces to indent at each + level. If it is a string (such as '\t' or ' '), + it contains the characters used to indent at each level. + + This method produces a JSON text from a JavaScript value. + + When an object value is found, if the object contains a toJSON + method, its toJSON method will be called and the result will be + stringified. A toJSON method does not serialize: it returns the + value represented by the name/value pair that should be serialized, + or undefined if nothing should be serialized. The toJSON method + will be passed the key associated with the value, and this will be + bound to the value + + For example, this would serialize Dates as ISO strings. + + Date.prototype.toJSON = function (key) { + function f(n) { + // Format integers to have at least two digits. + return n < 10 ? '0' + n : n; + } + + return this.getUTCFullYear() + '-' + + f(this.getUTCMonth() + 1) + '-' + + f(this.getUTCDate()) + 'T' + + f(this.getUTCHours()) + ':' + + f(this.getUTCMinutes()) + ':' + + f(this.getUTCSeconds()) + 'Z'; + }; + + You can provide an optional replacer method. It will be passed the + key and value of each member, with this bound to the containing + object. The value that is returned from your method will be + serialized. If your method returns undefined, then the member will + be excluded from the serialization. + + If the replacer parameter is an array of strings, then it will be + used to select the members to be serialized. It filters the results + such that only members with keys listed in the replacer array are + stringified. + + Values that do not have JSON representations, such as undefined or + functions, will not be serialized. Such values in objects will be + dropped; in arrays they will be replaced with null. You can use + a replacer function to replace those with JSON values. + JSON.stringify(undefined) returns undefined. + + The optional space parameter produces a stringification of the + value that is filled with line breaks and indentation to make it + easier to read. + + If the space parameter is a non-empty string, then that string will + be used for indentation. If the space parameter is a number, then + the indentation will be that many spaces. + + Example: + + text = JSON.stringify(['e', {pluribus: 'unum'}]); + // text is '["e",{"pluribus":"unum"}]' + + + text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t'); + // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]' + + text = JSON.stringify([new Date()], function (key, value) { + return this[key] instanceof Date ? + 'Date(' + this[key] + ')' : value; + }); + // text is '["Date(---current time---)"]' + + + JSON.parse(text, reviver) + This method parses a JSON text to produce an object or array. + It can throw a SyntaxError exception. + + The optional reviver parameter is a function that can filter and + transform the results. It receives each of the keys and values, + and its return value is used instead of the original value. + If it returns what it received, then the structure is not modified. + If it returns undefined then the member is deleted. + + Example: + + // Parse the text. Values that look like ISO date strings will + // be converted to Date objects. + + myData = JSON.parse(text, function (key, value) { + var a; + if (typeof value === 'string') { + a = + /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value); + if (a) { + return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], + +a[5], +a[6])); + } + } + return value; + }); + + myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) { + var d; + if (typeof value === 'string' && + value.slice(0, 5) === 'Date(' && + value.slice(-1) === ')') { + d = new Date(value.slice(5, -1)); + if (d) { + return d; + } + } + return value; + }); + + + This is a reference implementation. You are free to copy, modify, or + redistribute. + */ + + /*jslint evil: true, regexp: true */ + + /*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply, + call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours, + getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join, + lastIndex, length, parse, prototype, push, replace, slice, stringify, + test, toJSON, toString, valueOf + */ + + // Create a JSON object only if one does not already exist. We create the + // methods in a closure to avoid creating global variables. + + var JSON = {}; + + (function () { + 'use strict'; + + function f(n) { + // Format integers to have at least two digits. + return n < 10 ? '0' + n : n; + } + + if (typeof Date.prototype.toJSON !== 'function') { + + Date.prototype.toJSON = function (key) { + + return isFinite(this.valueOf()) ? this.getUTCFullYear() + '-' + f(this.getUTCMonth() + 1) + '-' + f(this.getUTCDate()) + 'T' + f(this.getUTCHours()) + ':' + f(this.getUTCMinutes()) + ':' + f(this.getUTCSeconds()) + 'Z' : null; + }; + + String.prototype.toJSON = Number.prototype.toJSON = Boolean.prototype.toJSON = function (key) { + return this.valueOf(); + }; + } + + var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + gap, + indent, + meta = { // table of character substitutions + '\b': '\\b', + '\t': '\\t', + '\n': '\\n', + '\f': '\\f', + '\r': '\\r', + '"': '\\"', + '\\': '\\\\' + }, + rep; + + function quote(string) { + + // If the string contains no control characters, no quote characters, and no + // backslash characters, then we can safely slap some quotes around it. + // Otherwise we must also replace the offending characters with safe escape + // sequences. + + escapable.lastIndex = 0; + return escapable.test(string) ? '"' + string.replace(escapable, function (a) { + var c = meta[a]; + return typeof c === 'string' ? c : '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }) + '"' : '"' + string + '"'; + } + + function str(key, holder) { + + // Produce a string from holder[key]. + + var i, + // The loop counter. + k, + // The member key. + v, + // The member value. + length, + mind = gap, + partial, + value = holder[key]; + + // If the value has a toJSON method, call it to obtain a replacement value. + + if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && typeof value.toJSON === 'function') { + value = value.toJSON(key); + } + + // If we were called with a replacer function, then call the replacer to + // obtain a replacement value. + + if (typeof rep === 'function') { + value = rep.call(holder, key, value); + } + + // What happens next depends on the value's type. + + switch (typeof value === 'undefined' ? 'undefined' : _typeof(value)) { + case 'string': + return quote(value); + + case 'number': + + // JSON numbers must be finite. Encode non-finite numbers as null. + + return isFinite(value) ? String(value) : 'null'; + + case 'boolean': + case 'null': + + // If the value is a boolean or null, convert it to a string. Note: + // typeof null does not produce 'null'. The case is included here in + // the remote chance that this gets fixed someday. + + return String(value); + + // If the type is 'object', we might be dealing with an object or an array or + // null. + + case 'object': + + // Due to a specification blunder in ECMAScript, typeof null is 'object', + // so watch out for that case. + + if (!value) { + return 'null'; + } + + // Make an array to hold the partial results of stringifying this object value. + + gap += indent; + partial = []; + + // Is the value an array? + + if (Object.prototype.toString.apply(value) === '[object Array]') { + + // The value is an array. Stringify every element. Use null as a placeholder + // for non-JSON values. + + length = value.length; + for (i = 0; i < length; i += 1) { + partial[i] = str(i, value) || 'null'; + } + + // Join all of the elements together, separated with commas, and wrap them in + // brackets. + + v = partial.length === 0 ? '[]' : gap ? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' : '[' + partial.join(',') + ']'; + gap = mind; + return v; + } + + // If the replacer is an array, use it to select the members to be stringified. + + if (rep && (typeof rep === 'undefined' ? 'undefined' : _typeof(rep)) === 'object') { + length = rep.length; + for (i = 0; i < length; i += 1) { + if (typeof rep[i] === 'string') { + k = rep[i]; + v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + } + } + } else { + + // Otherwise, iterate through all of the keys in the object. + + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + } + } + } + + // Join all of the member texts together, separated with commas, + // and wrap them in braces. + + v = partial.length === 0 ? '{}' : gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' : '{' + partial.join(',') + '}'; + gap = mind; + return v; + } + } + + // If the JSON object does not yet have a stringify method, give it one. + + if (typeof JSON.stringify !== 'function') { + JSON.stringify = function (value, replacer, space) { + + // The stringify method takes a value and an optional replacer, and an optional + // space parameter, and returns a JSON text. The replacer can be a function + // that can replace values, or an array of strings that will select the keys. + // A default replacer method can be provided. Use of the space parameter can + // produce text that is more easily readable. + + var i; + gap = ''; + indent = ''; + + // If the space parameter is a number, make an indent string containing that + // many spaces. + + if (typeof space === 'number') { + for (i = 0; i < space; i += 1) { + indent += ' '; + } + + // If the space parameter is a string, it will be used as the indent string. + } else if (typeof space === 'string') { + indent = space; + } + + // If there is a replacer, it must be a function or an array. + // Otherwise, throw an error. + + rep = replacer; + if (replacer && typeof replacer !== 'function' && ((typeof replacer === 'undefined' ? 'undefined' : _typeof(replacer)) !== 'object' || typeof replacer.length !== 'number')) { + throw new Error('JSON.stringify'); + } + + // Make a fake root object containing our value under the key of ''. + // Return the result of stringifying the value. + + return str('', { '': value }); + }; + } + + // If the JSON object does not yet have a parse method, give it one. + + if (typeof JSON.parse !== 'function') { + JSON.parse = function (text, reviver) { + + // The parse method takes a text and an optional reviver function, and returns + // a JavaScript value if the text is a valid JSON text. + + var j; + + function walk(holder, key) { + + // The walk method is used to recursively walk the resulting structure so + // that modifications can be made. + + var k, + v, + value = holder[key]; + if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') { + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = walk(value, k); + if (v !== undefined) { + value[k] = v; + } else { + delete value[k]; + } + } + } + } + return reviver.call(holder, key, value); + } + + // Parsing happens in four stages. In the first stage, we replace certain + // Unicode characters with escape sequences. JavaScript handles many characters + // incorrectly, either silently deleting them, or treating them as line endings. + + text = String(text); + cx.lastIndex = 0; + if (cx.test(text)) { + text = text.replace(cx, function (a) { + return '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }); + } + + // In the second stage, we run the text against regular expressions that look + // for non-JSON patterns. We are especially concerned with '()' and 'new' + // because they can cause invocation, and '=' because it can cause mutation. + // But just to be safe, we want to reject all unexpected forms. + + // We split the second stage into 4 regexp operations in order to work around + // crippling inefficiencies in IE's and Safari's regexp engines. First we + // replace the JSON backslash pairs with '@' (a non-JSON character). Second, we + // replace all simple value tokens with ']' characters. Third, we delete all + // open brackets that follow a colon or comma or that begin the text. Finally, + // we look to see that the remaining characters are only whitespace or ']' or + // ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval. + + if (/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']').replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) { + + // In the third stage we use the eval function to compile the text into a + // JavaScript structure. The '{' operator is subject to a syntactic ambiguity + // in JavaScript: it can begin a block or an object literal. We wrap the text + // in parens to eliminate the ambiguity. + + j = eval('(' + text + ')'); + + // In the optional fourth stage, we recursively walk the new structure, passing + // each name/value pair to a reviver function for possible transformation. + + return typeof reviver === 'function' ? walk({ '': j }, '') : j; + } + + // If the text is not JSON parseable, then a SyntaxError is thrown. + + throw new SyntaxError('JSON.parse'); + }; + } + })(); + + module.exports = JSON; + +/***/ }, +/* 159 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Module dependencies + */ + + var debug = __webpack_require__(161)('jsonp'); + + /** + * Module exports. + */ + + module.exports = jsonp; + + /** + * Callback index. + */ + + var count = 0; + + /** + * Noop function. + */ + + function noop() {} + + /** + * JSONP handler + * + * Options: + * - param {String} qs parameter (`callback`) + * - timeout {Number} how long after a timeout error is emitted (`60000`) + * + * @param {String} url + * @param {Object|Function} optional options / callback + * @param {Function} optional callback + */ + + function jsonp(url, opts, fn) { + if ('function' == typeof opts) { + fn = opts; + opts = {}; + } + if (!opts) opts = {}; + + var prefix = opts.prefix || '__jp'; + var param = opts.param || 'callback'; + var timeout = null != opts.timeout ? opts.timeout : 60000; + var enc = encodeURIComponent; + var target = document.getElementsByTagName('script')[0] || document.head; + var script; + var timer; + + // generate a unique id for this request + var id = prefix + count++; + + if (timeout) { + timer = setTimeout(function () { + cleanup(); + if (fn) fn(new Error('Timeout')); + }, timeout); + } + + function cleanup() { + script.parentNode.removeChild(script); + window[id] = noop; + } + + window[id] = function (data) { + debug('jsonp got', data); + if (timer) clearTimeout(timer); + cleanup(); + if (fn) fn(null, data); + }; + + // add qs component + url += (~url.indexOf('?') ? '&' : '?') + param + '=' + enc(id); + url = url.replace('?&', '?'); + + debug('jsonp req "%s"', url); + + // create script + script = document.createElement('script'); + script.src = url; + target.parentNode.insertBefore(script, target); + } + +/***/ }, +/* 160 */ +/***/ function(module, exports) { + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + /** + * Helpers. + */ + + var s = 1000; + var m = s * 60; + var h = m * 60; + var d = h * 24; + var y = d * 365.25; + + /** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} options + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + + module.exports = function (val, options) { + options = options || {}; + var type = typeof val === 'undefined' ? 'undefined' : _typeof(val); + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isNaN(val) === false) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val)); + }; + + /** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + + function parse(str) { + str = String(str); + if (str.length > 10000) { + return; + } + var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } + } + + /** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + function fmtShort(ms) { + if (ms >= d) { + return Math.round(ms / d) + 'd'; + } + if (ms >= h) { + return Math.round(ms / h) + 'h'; + } + if (ms >= m) { + return Math.round(ms / m) + 'm'; + } + if (ms >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; + } + + /** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + function fmtLong(ms) { + return plural(ms, d, 'day') || plural(ms, h, 'hour') || plural(ms, m, 'minute') || plural(ms, s, 'second') || ms + ' ms'; + } + + /** + * Pluralization helper. + */ + + function plural(ms, n, name) { + if (ms < n) { + return; + } + if (ms < n * 1.5) { + return Math.floor(ms / n) + ' ' + name; + } + return Math.ceil(ms / n) + ' ' + name + 's'; + } + +/***/ }, +/* 161 */ +[329, 162], +/* 162 */ +[330, 160], +/* 163 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var stringify = __webpack_require__(165); + var parse = __webpack_require__(164); + var formats = __webpack_require__(93); + + module.exports = { + formats: formats, + parse: parse, + stringify: stringify + }; + +/***/ }, +/* 164 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var utils = __webpack_require__(94); + + var has = Object.prototype.hasOwnProperty; + + var defaults = { + allowDots: false, + allowPrototypes: false, + arrayLimit: 20, + decoder: utils.decode, + delimiter: '&', + depth: 5, + parameterLimit: 1000, + plainObjects: false, + strictNullHandling: false + }; + + var parseValues = function parseValues(str, options) { + var obj = {}; + var parts = str.split(options.delimiter, options.parameterLimit === Infinity ? undefined : options.parameterLimit); + + for (var i = 0; i < parts.length; ++i) { + var part = parts[i]; + var pos = part.indexOf(']=') === -1 ? part.indexOf('=') : part.indexOf(']=') + 1; + + var key, val; + if (pos === -1) { + key = options.decoder(part); + val = options.strictNullHandling ? null : ''; + } else { + key = options.decoder(part.slice(0, pos)); + val = options.decoder(part.slice(pos + 1)); + } + if (has.call(obj, key)) { + obj[key] = [].concat(obj[key]).concat(val); + } else { + obj[key] = val; + } + } + + return obj; + }; + + var parseObject = function parseObject(chain, val, options) { + if (!chain.length) { + return val; + } + + var root = chain.shift(); + + var obj; + if (root === '[]') { + obj = []; + obj = obj.concat(parseObject(chain, val, options)); + } else { + obj = options.plainObjects ? Object.create(null) : {}; + var cleanRoot = root[0] === '[' && root[root.length - 1] === ']' ? root.slice(1, root.length - 1) : root; + var index = parseInt(cleanRoot, 10); + if (!isNaN(index) && root !== cleanRoot && String(index) === cleanRoot && index >= 0 && options.parseArrays && index <= options.arrayLimit) { + obj = []; + obj[index] = parseObject(chain, val, options); + } else { + obj[cleanRoot] = parseObject(chain, val, options); + } + } + + return obj; + }; + + var parseKeys = function parseKeys(givenKey, val, options) { + if (!givenKey) { + return; + } + + // Transform dot notation to bracket notation + var key = options.allowDots ? givenKey.replace(/\.([^\.\[]+)/g, '[$1]') : givenKey; + + // The regex chunks + + var parent = /^([^\[\]]*)/; + var child = /(\[[^\[\]]*\])/g; + + // Get the parent + + var segment = parent.exec(key); + + // Stash the parent if it exists + + var keys = []; + if (segment[1]) { + // If we aren't using plain objects, optionally prefix keys + // that would overwrite object prototype properties + if (!options.plainObjects && has.call(Object.prototype, segment[1])) { + if (!options.allowPrototypes) { + return; + } + } + + keys.push(segment[1]); + } + + // Loop through children appending to the array until we hit depth + + var i = 0; + while ((segment = child.exec(key)) !== null && i < options.depth) { + i += 1; + if (!options.plainObjects && has.call(Object.prototype, segment[1].replace(/\[|\]/g, ''))) { + if (!options.allowPrototypes) { + continue; + } + } + keys.push(segment[1]); + } + + // If there's a remainder, just add whatever is left + + if (segment) { + keys.push('[' + key.slice(segment.index) + ']'); + } + + return parseObject(keys, val, options); + }; + + module.exports = function (str, opts) { + var options = opts || {}; + + if (options.decoder !== null && options.decoder !== undefined && typeof options.decoder !== 'function') { + throw new TypeError('Decoder has to be a function.'); + } + + options.delimiter = typeof options.delimiter === 'string' || utils.isRegExp(options.delimiter) ? options.delimiter : defaults.delimiter; + options.depth = typeof options.depth === 'number' ? options.depth : defaults.depth; + options.arrayLimit = typeof options.arrayLimit === 'number' ? options.arrayLimit : defaults.arrayLimit; + options.parseArrays = options.parseArrays !== false; + options.decoder = typeof options.decoder === 'function' ? options.decoder : defaults.decoder; + options.allowDots = typeof options.allowDots === 'boolean' ? options.allowDots : defaults.allowDots; + options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : defaults.plainObjects; + options.allowPrototypes = typeof options.allowPrototypes === 'boolean' ? options.allowPrototypes : defaults.allowPrototypes; + options.parameterLimit = typeof options.parameterLimit === 'number' ? options.parameterLimit : defaults.parameterLimit; + options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling; + + if (str === '' || str === null || typeof str === 'undefined') { + return options.plainObjects ? Object.create(null) : {}; + } + + var tempObj = typeof str === 'string' ? parseValues(str, options) : str; + var obj = options.plainObjects ? Object.create(null) : {}; + + // Iterate over the keys and setup the new object + + var keys = Object.keys(tempObj); + for (var i = 0; i < keys.length; ++i) { + var key = keys[i]; + var newObj = parseKeys(key, tempObj[key], options); + obj = utils.merge(obj, newObj, options); + } + + return utils.compact(obj); + }; + +/***/ }, +/* 165 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var utils = __webpack_require__(94); + var formats = __webpack_require__(93); + + var arrayPrefixGenerators = { + brackets: function brackets(prefix) { + return prefix + '[]'; + }, + indices: function indices(prefix, key) { + return prefix + '[' + key + ']'; + }, + repeat: function repeat(prefix) { + return prefix; + } + }; + + var toISO = Date.prototype.toISOString; + + var defaults = { + delimiter: '&', + encode: true, + encoder: utils.encode, + serializeDate: function serializeDate(date) { + return toISO.call(date); + }, + skipNulls: false, + strictNullHandling: false + }; + + var stringify = function stringify(object, prefix, generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter) { + var obj = object; + if (typeof filter === 'function') { + obj = filter(prefix, obj); + } else if (obj instanceof Date) { + obj = serializeDate(obj); + } else if (obj === null) { + if (strictNullHandling) { + return encoder ? encoder(prefix) : prefix; + } + + obj = ''; + } + + if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) { + if (encoder) { + return [formatter(encoder(prefix)) + '=' + formatter(encoder(obj))]; + } + return [formatter(prefix) + '=' + formatter(String(obj))]; + } + + var values = []; + + if (typeof obj === 'undefined') { + return values; + } + + var objKeys; + if (Array.isArray(filter)) { + objKeys = filter; + } else { + var keys = Object.keys(obj); + objKeys = sort ? keys.sort(sort) : keys; + } + + for (var i = 0; i < objKeys.length; ++i) { + var key = objKeys[i]; + + if (skipNulls && obj[key] === null) { + continue; + } + + if (Array.isArray(obj)) { + values = values.concat(stringify(obj[key], generateArrayPrefix(prefix, key), generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter)); + } else { + values = values.concat(stringify(obj[key], prefix + (allowDots ? '.' + key : '[' + key + ']'), generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter)); + } + } + + return values; + }; + + module.exports = function (object, opts) { + var obj = object; + var options = opts || {}; + var delimiter = typeof options.delimiter === 'undefined' ? defaults.delimiter : options.delimiter; + var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling; + var skipNulls = typeof options.skipNulls === 'boolean' ? options.skipNulls : defaults.skipNulls; + var encode = typeof options.encode === 'boolean' ? options.encode : defaults.encode; + var encoder = encode ? typeof options.encoder === 'function' ? options.encoder : defaults.encoder : null; + var sort = typeof options.sort === 'function' ? options.sort : null; + var allowDots = typeof options.allowDots === 'undefined' ? false : options.allowDots; + var serializeDate = typeof options.serializeDate === 'function' ? options.serializeDate : defaults.serializeDate; + if (typeof options.format === 'undefined') { + options.format = formats.default; + } else if (!Object.prototype.hasOwnProperty.call(formats.formatters, options.format)) { + throw new TypeError('Unknown format option provided.'); + } + var formatter = formats.formatters[options.format]; + var objKeys; + var filter; + + if (options.encoder !== null && options.encoder !== undefined && typeof options.encoder !== 'function') { + throw new TypeError('Encoder has to be a function.'); + } + + if (typeof options.filter === 'function') { + filter = options.filter; + obj = filter('', obj); + } else if (Array.isArray(options.filter)) { + filter = options.filter; + objKeys = filter; + } + + var keys = []; + + if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object' || obj === null) { + return ''; + } + + var arrayFormat; + if (options.arrayFormat in arrayPrefixGenerators) { + arrayFormat = options.arrayFormat; + } else if ('indices' in options) { + arrayFormat = options.indices ? 'indices' : 'repeat'; + } else { + arrayFormat = 'indices'; + } + + var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; + + if (!objKeys) { + objKeys = Object.keys(obj); + } + + if (sort) { + objKeys.sort(sort); + } + + for (var i = 0; i < objKeys.length; ++i) { + var key = objKeys[i]; + + if (skipNulls && obj[key] === null) { + continue; + } + + keys = keys.concat(stringify(obj[key], key, generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter)); + } + + return keys.join(delimiter); + }; + +/***/ }, +/* 166 */ +/***/ function(module, exports, __webpack_require__) { + + var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + /*! + * Reqwest! A general purpose XHR connection manager + * license MIT (c) Dustin Diaz 2015 + * https://github.com/ded/reqwest + */ + + !function (name, context, definition) { + if (typeof module != 'undefined' && module.exports) module.exports = definition();else if (true) !(__WEBPACK_AMD_DEFINE_FACTORY__ = (definition), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else context[name] = definition(); + }('reqwest', undefined, function () { + + var context = this; + + if ('window' in context) { + var doc = document, + byTag = 'getElementsByTagName', + head = doc[byTag]('head')[0]; + } else { + var XHR2; + try { + XHR2 = __webpack_require__(328); + } catch (ex) { + throw new Error('Peer dependency `xhr2` required! Please npm install xhr2'); + } + } + + var httpsRe = /^http/, + protocolRe = /(^\w+):\/\//, + twoHundo = /^(20\d|1223)$/ //http://stackoverflow.com/questions/10046972/msie-returns-status-code-of-1223-for-ajax-request + , + readyState = 'readyState', + contentType = 'Content-Type', + requestedWith = 'X-Requested-With', + uniqid = 0, + callbackPrefix = 'reqwest_' + +new Date(), + lastValue // data stored by the most recent JSONP callback + , + xmlHttpRequest = 'XMLHttpRequest', + xDomainRequest = 'XDomainRequest', + noop = function noop() {}, + isArray = typeof Array.isArray == 'function' ? Array.isArray : function (a) { + return a instanceof Array; + }, + defaultHeaders = { + 'contentType': 'application/x-www-form-urlencoded', + 'requestedWith': xmlHttpRequest, + 'accept': { + '*': 'text/javascript, text/html, application/xml, text/xml, */*', + 'xml': 'application/xml, text/xml', + 'html': 'text/html', + 'text': 'text/plain', + 'json': 'application/json, text/javascript', + 'js': 'application/javascript, text/javascript' + } + }, + xhr = function xhr(o) { + // is it x-domain + if (o['crossOrigin'] === true) { + var xhr = context[xmlHttpRequest] ? new XMLHttpRequest() : null; + if (xhr && 'withCredentials' in xhr) { + return xhr; + } else if (context[xDomainRequest]) { + return new XDomainRequest(); + } else { + throw new Error('Browser does not support cross-origin requests'); + } + } else if (context[xmlHttpRequest]) { + return new XMLHttpRequest(); + } else if (XHR2) { + return new XHR2(); + } else { + return new ActiveXObject('Microsoft.XMLHTTP'); + } + }, + globalSetupOptions = { + dataFilter: function dataFilter(data) { + return data; + } + }; + + function succeed(r) { + var protocol = protocolRe.exec(r.url); + protocol = protocol && protocol[1] || context.location.protocol; + return httpsRe.test(protocol) ? twoHundo.test(r.request.status) : !!r.request.response; + } + + function handleReadyState(r, success, error) { + return function () { + // use _aborted to mitigate against IE err c00c023f + // (can't read props on aborted request objects) + if (r._aborted) return error(r.request); + if (r._timedOut) return error(r.request, 'Request is aborted: timeout'); + if (r.request && r.request[readyState] == 4) { + r.request.onreadystatechange = noop; + if (succeed(r)) success(r.request);else error(r.request); + } + }; + } + + function setHeaders(http, o) { + var headers = o['headers'] || {}, + h; + + headers['Accept'] = headers['Accept'] || defaultHeaders['accept'][o['type']] || defaultHeaders['accept']['*']; + + var isAFormData = typeof FormData !== 'undefined' && o['data'] instanceof FormData; + // breaks cross-origin requests with legacy browsers + if (!o['crossOrigin'] && !headers[requestedWith]) headers[requestedWith] = defaultHeaders['requestedWith']; + if (!headers[contentType] && !isAFormData) headers[contentType] = o['contentType'] || defaultHeaders['contentType']; + for (h in headers) { + headers.hasOwnProperty(h) && 'setRequestHeader' in http && http.setRequestHeader(h, headers[h]); + } + } + + function setCredentials(http, o) { + if (typeof o['withCredentials'] !== 'undefined' && typeof http.withCredentials !== 'undefined') { + http.withCredentials = !!o['withCredentials']; + } + } + + function generalCallback(data) { + lastValue = data; + } + + function urlappend(url, s) { + return url + (/\?/.test(url) ? '&' : '?') + s; + } + + function handleJsonp(o, fn, err, url) { + var reqId = uniqid++, + cbkey = o['jsonpCallback'] || 'callback' // the 'callback' key + , + cbval = o['jsonpCallbackName'] || reqwest.getcallbackPrefix(reqId), + cbreg = new RegExp('((^|\\?|&)' + cbkey + ')=([^&]+)'), + match = url.match(cbreg), + script = doc.createElement('script'), + loaded = 0, + isIE10 = navigator.userAgent.indexOf('MSIE 10.0') !== -1; + + if (match) { + if (match[3] === '?') { + url = url.replace(cbreg, '$1=' + cbval); // wildcard callback func name + } else { + cbval = match[3]; // provided callback func name + } + } else { + url = urlappend(url, cbkey + '=' + cbval); // no callback details, add 'em + } + + context[cbval] = generalCallback; + + script.type = 'text/javascript'; + script.src = url; + script.async = true; + if (typeof script.onreadystatechange !== 'undefined' && !isIE10) { + // need this for IE due to out-of-order onreadystatechange(), binding script + // execution to an event listener gives us control over when the script + // is executed. See http://jaubourg.net/2010/07/loading-script-as-onclick-handler-of.html + script.htmlFor = script.id = '_reqwest_' + reqId; + } + + script.onload = script.onreadystatechange = function () { + if (script[readyState] && script[readyState] !== 'complete' && script[readyState] !== 'loaded' || loaded) { + return false; + } + script.onload = script.onreadystatechange = null; + script.onclick && script.onclick(); + // Call the user callback with the last value stored and clean up values and scripts. + fn(lastValue); + lastValue = undefined; + head.removeChild(script); + loaded = 1; + }; + + // Add the script to the DOM head + head.appendChild(script); + + // Enable JSONP timeout + return { + abort: function abort() { + script.onload = script.onreadystatechange = null; + err({}, 'Request is aborted: timeout', {}); + lastValue = undefined; + head.removeChild(script); + loaded = 1; + } + }; + } + + function getRequest(fn, err) { + var o = this.o, + method = (o['method'] || 'GET').toUpperCase(), + url = typeof o === 'string' ? o : o['url'] + // convert non-string objects to query-string form unless o['processData'] is false + , + data = o['processData'] !== false && o['data'] && typeof o['data'] !== 'string' ? reqwest.toQueryString(o['data']) : o['data'] || null, + http, + sendWait = false; + + // if we're working on a GET request and we have data then we should append + // query string to end of URL and not post data + if ((o['type'] == 'jsonp' || method == 'GET') && data) { + url = urlappend(url, data); + data = null; + } + + if (o['type'] == 'jsonp') return handleJsonp(o, fn, err, url); + + // get the xhr from the factory if passed + // if the factory returns null, fall-back to ours + http = o.xhr && o.xhr(o) || xhr(o); + + http.open(method, url, o['async'] === false ? false : true); + setHeaders(http, o); + setCredentials(http, o); + if (context[xDomainRequest] && http instanceof context[xDomainRequest]) { + http.onload = fn; + http.onerror = err; + // NOTE: see + // http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/30ef3add-767c-4436-b8a9-f1ca19b4812e + http.onprogress = function () {}; + sendWait = true; + } else { + http.onreadystatechange = handleReadyState(this, fn, err); + } + o['before'] && o['before'](http); + if (sendWait) { + setTimeout(function () { + http.send(data); + }, 200); + } else { + http.send(data); + } + return http; + } + + function Reqwest(o, fn) { + this.o = o; + this.fn = fn; + + init.apply(this, arguments); + } + + function setType(header) { + // json, javascript, text/plain, text/html, xml + if (header === null) return undefined; //In case of no content-type. + if (header.match('json')) return 'json'; + if (header.match('javascript')) return 'js'; + if (header.match('text')) return 'html'; + if (header.match('xml')) return 'xml'; + } + + function init(o, fn) { + + this.url = typeof o == 'string' ? o : o['url']; + this.timeout = null; + + // whether request has been fulfilled for purpose + // of tracking the Promises + this._fulfilled = false; + // success handlers + this._successHandler = function () {}; + this._fulfillmentHandlers = []; + // error handlers + this._errorHandlers = []; + // complete (both success and fail) handlers + this._completeHandlers = []; + this._erred = false; + this._responseArgs = {}; + + var self = this; + + fn = fn || function () {}; + + if (o['timeout']) { + this.timeout = setTimeout(function () { + timedOut(); + }, o['timeout']); + } + + if (o['success']) { + this._successHandler = function () { + o['success'].apply(o, arguments); + }; + } + + if (o['error']) { + this._errorHandlers.push(function () { + o['error'].apply(o, arguments); + }); + } + + if (o['complete']) { + this._completeHandlers.push(function () { + o['complete'].apply(o, arguments); + }); + } + + function complete(resp) { + o['timeout'] && clearTimeout(self.timeout); + self.timeout = null; + while (self._completeHandlers.length > 0) { + self._completeHandlers.shift()(resp); + } + } + + function success(resp) { + var type = o['type'] || resp && setType(resp.getResponseHeader('Content-Type')); // resp can be undefined in IE + resp = type !== 'jsonp' ? self.request : resp; + // use global data filter on response text + var filteredResponse = globalSetupOptions.dataFilter(resp.responseText, type), + r = filteredResponse; + try { + resp.responseText = r; + } catch (e) { + // can't assign this in IE<=8, just ignore + } + if (r) { + switch (type) { + case 'json': + try { + resp = context.JSON ? context.JSON.parse(r) : eval('(' + r + ')'); + } catch (err) { + return error(resp, 'Could not parse JSON in response', err); + } + break; + case 'js': + resp = eval(r); + break; + case 'html': + resp = r; + break; + case 'xml': + resp = resp.responseXML && resp.responseXML.parseError // IE trololo + && resp.responseXML.parseError.errorCode && resp.responseXML.parseError.reason ? null : resp.responseXML; + break; + } + } + + self._responseArgs.resp = resp; + self._fulfilled = true; + fn(resp); + self._successHandler(resp); + while (self._fulfillmentHandlers.length > 0) { + resp = self._fulfillmentHandlers.shift()(resp); + } + + complete(resp); + } + + function timedOut() { + self._timedOut = true; + self.request.abort(); + } + + function error(resp, msg, t) { + resp = self.request; + self._responseArgs.resp = resp; + self._responseArgs.msg = msg; + self._responseArgs.t = t; + self._erred = true; + while (self._errorHandlers.length > 0) { + self._errorHandlers.shift()(resp, msg, t); + } + complete(resp); + } + + this.request = getRequest.call(this, success, error); + } + + Reqwest.prototype = { + abort: function abort() { + this._aborted = true; + this.request.abort(); + }, + + retry: function retry() { + init.call(this, this.o, this.fn); + } + + /** + * Small deviation from the Promises A CommonJs specification + * http://wiki.commonjs.org/wiki/Promises/A + */ + + /** + * `then` will execute upon successful requests + */ + , then: function then(success, fail) { + success = success || function () {}; + fail = fail || function () {}; + if (this._fulfilled) { + this._responseArgs.resp = success(this._responseArgs.resp); + } else if (this._erred) { + fail(this._responseArgs.resp, this._responseArgs.msg, this._responseArgs.t); + } else { + this._fulfillmentHandlers.push(success); + this._errorHandlers.push(fail); + } + return this; + } + + /** + * `always` will execute whether the request succeeds or fails + */ + , always: function always(fn) { + if (this._fulfilled || this._erred) { + fn(this._responseArgs.resp); + } else { + this._completeHandlers.push(fn); + } + return this; + } + + /** + * `fail` will execute when the request fails + */ + , fail: function fail(fn) { + if (this._erred) { + fn(this._responseArgs.resp, this._responseArgs.msg, this._responseArgs.t); + } else { + this._errorHandlers.push(fn); + } + return this; + }, + 'catch': function _catch(fn) { + return this.fail(fn); + } + }; + + function reqwest(o, fn) { + return new Reqwest(o, fn); + } + + // normalize newline variants according to spec -> CRLF + function normalize(s) { + return s ? s.replace(/\r?\n/g, '\r\n') : ''; + } + + function serial(el, cb) { + var n = el.name, + t = el.tagName.toLowerCase(), + optCb = function optCb(o) { + // IE gives value="" even where there is no value attribute + // 'specified' ref: http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-862529273 + if (o && !o['disabled']) cb(n, normalize(o['attributes']['value'] && o['attributes']['value']['specified'] ? o['value'] : o['text'])); + }, + ch, + ra, + val, + i; + + // don't serialize elements that are disabled or without a name + if (el.disabled || !n) return; + + switch (t) { + case 'input': + if (!/reset|button|image|file/i.test(el.type)) { + ch = /checkbox/i.test(el.type); + ra = /radio/i.test(el.type); + val = el.value + // WebKit gives us "" instead of "on" if a checkbox has no value, so correct it here + ;(!(ch || ra) || el.checked) && cb(n, normalize(ch && val === '' ? 'on' : val)); + } + break; + case 'textarea': + cb(n, normalize(el.value)); + break; + case 'select': + if (el.type.toLowerCase() === 'select-one') { + optCb(el.selectedIndex >= 0 ? el.options[el.selectedIndex] : null); + } else { + for (i = 0; el.length && i < el.length; i++) { + el.options[i].selected && optCb(el.options[i]); + } + } + break; + } + } + + // collect up all form elements found from the passed argument elements all + // the way down to child elements; pass a '<form>' or form fields. + // called with 'this'=callback to use for serial() on each element + function eachFormElement() { + var cb = this, + e, + i, + serializeSubtags = function serializeSubtags(e, tags) { + var i, j, fa; + for (i = 0; i < tags.length; i++) { + fa = e[byTag](tags[i]); + for (j = 0; j < fa.length; j++) { + serial(fa[j], cb); + } + } + }; + + for (i = 0; i < arguments.length; i++) { + e = arguments[i]; + if (/input|select|textarea/i.test(e.tagName)) serial(e, cb); + serializeSubtags(e, ['input', 'select', 'textarea']); + } + } + + // standard query string style serialization + function serializeQueryString() { + return reqwest.toQueryString(reqwest.serializeArray.apply(null, arguments)); + } + + // { 'name': 'value', ... } style serialization + function serializeHash() { + var hash = {}; + eachFormElement.apply(function (name, value) { + if (name in hash) { + hash[name] && !isArray(hash[name]) && (hash[name] = [hash[name]]); + hash[name].push(value); + } else hash[name] = value; + }, arguments); + return hash; + } + + // [ { name: 'name', value: 'value' }, ... ] style serialization + reqwest.serializeArray = function () { + var arr = []; + eachFormElement.apply(function (name, value) { + arr.push({ name: name, value: value }); + }, arguments); + return arr; + }; + + reqwest.serialize = function () { + if (arguments.length === 0) return ''; + var opt, + fn, + args = Array.prototype.slice.call(arguments, 0); + + opt = args.pop(); + opt && opt.nodeType && args.push(opt) && (opt = null); + opt && (opt = opt.type); + + if (opt == 'map') fn = serializeHash;else if (opt == 'array') fn = reqwest.serializeArray;else fn = serializeQueryString; + + return fn.apply(null, args); + }; + + reqwest.toQueryString = function (o, trad) { + var prefix, + i, + traditional = trad || false, + s = [], + enc = encodeURIComponent, + add = function add(key, value) { + // If value is a function, invoke it and return its value + value = 'function' === typeof value ? value() : value == null ? '' : value; + s[s.length] = enc(key) + '=' + enc(value); + }; + // If an array was passed in, assume that it is an array of form elements. + if (isArray(o)) { + for (i = 0; o && i < o.length; i++) { + add(o[i]['name'], o[i]['value']); + } + } else { + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for (prefix in o) { + if (o.hasOwnProperty(prefix)) buildParams(prefix, o[prefix], traditional, add); + } + } + + // spaces should be + according to spec + return s.join('&').replace(/%20/g, '+'); + }; + + function buildParams(prefix, obj, traditional, add) { + var name, + i, + v, + rbracket = /\[\]$/; + + if (isArray(obj)) { + // Serialize array item. + for (i = 0; obj && i < obj.length; i++) { + v = obj[i]; + if (traditional || rbracket.test(prefix)) { + // Treat each array item as a scalar. + add(prefix, v); + } else { + buildParams(prefix + '[' + ((typeof v === 'undefined' ? 'undefined' : _typeof(v)) === 'object' ? i : '') + ']', v, traditional, add); + } + } + } else if (obj && obj.toString() === '[object Object]') { + // Serialize object item. + for (name in obj) { + buildParams(prefix + '[' + name + ']', obj[name], traditional, add); + } + } else { + // Serialize scalar item. + add(prefix, obj); + } + } + + reqwest.getcallbackPrefix = function () { + return callbackPrefix; + }; + + // jQuery and Zepto compatibility, differences can be remapped here so you can call + // .ajax.compat(options, callback) + reqwest.compat = function (o, fn) { + if (o) { + o['type'] && (o['method'] = o['type']) && delete o['type']; + o['dataType'] && (o['type'] = o['dataType']); + o['jsonpCallback'] && (o['jsonpCallbackName'] = o['jsonpCallback']) && delete o['jsonpCallback']; + o['jsonp'] && (o['jsonpCallback'] = o['jsonp']); + } + return new Reqwest(o, fn); + }; + + reqwest.ajaxSetup = function (options) { + options = options || {}; + for (var k in options) { + globalSetupOptions[k] = options[k]; + } + }; + + return reqwest; + }); + +/***/ }, +/* 167 */ +/***/ function(module, exports) { + + "use strict"; + + var WinChan = function () { + var RELAY_FRAME_NAME = "__winchan_relay_frame"; + var CLOSE_CMD = "die"; + + // a portable addListener implementation + function addListener(w, event, cb) { + if (w.attachEvent) w.attachEvent('on' + event, cb);else if (w.addEventListener) w.addEventListener(event, cb, false); + } + + // a portable removeListener implementation + function removeListener(w, event, cb) { + if (w.detachEvent) w.detachEvent('on' + event, cb);else if (w.removeEventListener) w.removeEventListener(event, cb, false); + } + + // checking for IE8 or above + function isInternetExplorer() { + if (typeof navigator === 'undefined') { + return false; + } + + var rv = -1; // Return value assumes failure. + var ua = navigator.userAgent; + if (navigator.appName === 'Microsoft Internet Explorer') { + var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); + if (re.exec(ua) != null) rv = parseFloat(RegExp.$1); + } + // IE > 11 + else if (ua.indexOf("Trident") > -1) { + var re = new RegExp("rv:([0-9]{2,2}[\.0-9]{0,})"); + if (re.exec(ua) !== null) { + rv = parseFloat(RegExp.$1); + } + } + + return rv >= 8; + } + + // checking Mobile Firefox (Fennec) + function isFennec() { + try { + // We must check for both XUL and Java versions of Fennec. Both have + // distinct UA strings. + var userAgent = navigator.userAgent; + return userAgent.indexOf('Fennec/') != -1 || // XUL + userAgent.indexOf('Firefox/') != -1 && userAgent.indexOf('Android') != -1; // Java + } catch (e) {} + return false; + } + + // feature checking to see if this platform is supported at all + function isSupported() { + return typeof window !== 'undefined' && window.JSON && window.JSON.stringify && window.JSON.parse && window.postMessage; + } + + // given a URL, extract the origin. Taken from: https://github.com/firebase/firebase-simple-login/blob/d2cb95b9f812d8488bdbfba51c3a7c153ba1a074/js/src/simple-login/transports/WinChan.js#L25-L30 + function extractOrigin(url) { + if (!/^https?:\/\//.test(url)) url = window.location.href; + var m = /^(https?:\/\/[\-_a-zA-Z\.0-9:]+)/.exec(url); + if (m) return m[1]; + return url; + } + + // find the relay iframe in the opener + function findRelay() { + var loc = window.location; + var frames = window.opener.frames; + for (var i = frames.length - 1; i >= 0; i--) { + try { + if (frames[i].location.protocol === window.location.protocol && frames[i].location.host === window.location.host && frames[i].name === RELAY_FRAME_NAME) { + return frames[i]; + } + } catch (e) {} + } + return; + } + + var isIE = isInternetExplorer(); + + if (isSupported()) { + /* General flow: + * 0. user clicks + * (IE SPECIFIC) 1. caller adds relay iframe (served from trusted domain) to DOM + * 2. caller opens window (with content from trusted domain) + * 3. window on opening adds a listener to 'message' + * (IE SPECIFIC) 4. window on opening finds iframe + * 5. window checks if iframe is "loaded" - has a 'doPost' function yet + * (IE SPECIFIC5) 5a. if iframe.doPost exists, window uses it to send ready event to caller + * (IE SPECIFIC5) 5b. if iframe.doPost doesn't exist, window waits for frame ready + * (IE SPECIFIC5) 5bi. once ready, window calls iframe.doPost to send ready event + * 6. caller upon reciept of 'ready', sends args + */ + return { + open: function open(opts, cb) { + if (!cb) throw "missing required callback argument"; + + // test required options + var err; + if (!opts.url) err = "missing required 'url' parameter"; + if (!opts.relay_url) err = "missing required 'relay_url' parameter"; + if (err) setTimeout(function () { + cb(err); + }, 0); + + // supply default options + if (!opts.window_name) opts.window_name = null; + if (!opts.window_features || isFennec()) opts.window_features = undefined; + + // opts.params may be undefined + + var iframe; + + // sanity check, are url and relay_url the same origin? + var origin = extractOrigin(opts.url); + if (origin !== extractOrigin(opts.relay_url)) { + return setTimeout(function () { + cb('invalid arguments: origin of url and relay_url must match'); + }, 0); + } + + var messageTarget; + + if (isIE) { + // first we need to add a "relay" iframe to the document that's served + // from the target domain. We can postmessage into a iframe, but not a + // window + iframe = document.createElement("iframe"); + // iframe.setAttribute('name', framename); + iframe.setAttribute('src', opts.relay_url); + iframe.style.display = "none"; + iframe.setAttribute('name', RELAY_FRAME_NAME); + document.body.appendChild(iframe); + messageTarget = iframe.contentWindow; + } + + var w = opts.popup || window.open(opts.url, opts.window_name, opts.window_features); + if (opts.popup) { + w.location.href = opts.url; + } + + if (!messageTarget) messageTarget = w; + + // lets listen in case the window blows up before telling us + var closeInterval = setInterval(function () { + if (w && w.closed) { + cleanup(); + if (cb) { + cb('User closed the popup window'); + cb = null; + } + } + }, 500); + + var req = JSON.stringify({ a: 'request', d: opts.params }); + + // cleanup on unload + function cleanup() { + if (iframe) document.body.removeChild(iframe); + iframe = undefined; + if (closeInterval) closeInterval = clearInterval(closeInterval); + removeListener(window, 'message', onMessage); + removeListener(window, 'unload', cleanup); + if (w) { + try { + w.close(); + } catch (securityViolation) { + // This happens in Opera 12 sometimes + // see https://github.com/mozilla/browserid/issues/1844 + messageTarget.postMessage(CLOSE_CMD, origin); + } + } + w = messageTarget = undefined; + } + + addListener(window, 'unload', cleanup); + + function onMessage(e) { + if (e.origin !== origin) { + return; + } + try { + var d = JSON.parse(e.data); + if (d.a === 'ready') messageTarget.postMessage(req, origin);else if (d.a === 'error') { + cleanup(); + if (cb) { + cb(d.d); + cb = null; + } + } else if (d.a === 'response') { + cleanup(); + if (cb) { + cb(null, d.d); + cb = null; + } + } + } catch (err) {} + } + + addListener(window, 'message', onMessage); + + return { + close: cleanup, + focus: function focus() { + if (w) { + try { + w.focus(); + } catch (e) { + // IE7 blows up here, do nothing + } + } + } + }; + }, + onOpen: function onOpen(cb) { + var o = "*"; + var msgTarget = isIE ? findRelay() : window.opener; + if (!msgTarget) throw "can't find relay frame"; + function doPost(msg) { + msg = JSON.stringify(msg); + if (isIE) msgTarget.doPost(msg, o);else msgTarget.postMessage(msg, o); + } + + function onMessage(e) { + // only one message gets through, but let's make sure it's actually + // the message we're looking for (other code may be using + // postmessage) - we do this by ensuring the payload can + // be parsed, and it's got an 'a' (action) value of 'request'. + var d; + try { + d = JSON.parse(e.data); + } catch (err) {} + if (!d || d.a !== 'request') return; + removeListener(window, 'message', onMessage); + o = e.origin; + if (cb) { + // this setTimeout is critically important for IE8 - + // in ie8 sometimes addListener for 'message' can synchronously + // cause your callback to be invoked. awesome. + setTimeout(function () { + cb(o, d.d, function (r) { + cb = undefined; + doPost({ a: 'response', d: r }); + }); + }, 0); + } + } + + function onDie(e) { + if (e.data === CLOSE_CMD) { + try { + window.close(); + } catch (o_O) {} + } + } + addListener(isIE ? msgTarget : window, 'message', onMessage); + addListener(isIE ? msgTarget : window, 'message', onDie); + + // we cannot post to our parent that we're ready before the iframe + // is loaded. (IE specific possible failure) + try { + doPost({ a: "ready" }); + } catch (e) { + // this code should never be exectued outside IE + addListener(msgTarget, 'load', function (e) { + doPost({ a: "ready" }); + }); + } + + // if window is unloaded and the client hasn't called cb, it's an error + var onUnload = function onUnload() { + try { + // IE8 doesn't like this... + removeListener(isIE ? msgTarget : window, 'message', onDie); + } catch (ohWell) {} + if (cb) doPost({ a: 'error', d: 'client closed window' }); + cb = undefined; + // explicitly close the window, in case the client is trying to reload or nav + try { + window.close(); + } catch (e) {} + }; + addListener(window, 'unload', onUnload); + return { + detach: function detach() { + removeListener(window, 'unload', onUnload); + } + }; + } + }; + } else { + return { + open: function open(url, winopts, arg, cb) { + setTimeout(function () { + cb("unsupported browser"); + }, 0); + }, + onOpen: function onOpen(cb) { + setTimeout(function () { + cb("unsupported browser"); + }, 0); + } + }; + } + }(); + + if (typeof module !== 'undefined' && module.exports) { + module.exports = WinChan; + } + +/***/ }, +/* 168 */ +/***/ function(module, exports) { + + "use strict"; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + module.exports = hasKeys; + + function hasKeys(source) { + return source !== null && ((typeof source === "undefined" ? "undefined" : _typeof(source)) === "object" || typeof source === "function"); + } + +/***/ }, +/* 169 */ +/***/ function(module, exports, __webpack_require__) { + + "use strict"; + + var Keys = __webpack_require__(171); + var hasKeys = __webpack_require__(168); + + module.exports = extend; + + function extend() { + var target = {}; + + for (var i = 0; i < arguments.length; i++) { + var source = arguments[i]; + + if (!hasKeys(source)) { + continue; + } + + var keys = Keys(source); + + for (var j = 0; j < keys.length; j++) { + var name = keys[j]; + target[name] = source[name]; + } + } + + return target; + } + +/***/ }, +/* 170 */ +/***/ function(module, exports) { + + 'use strict'; + + var hasOwn = Object.prototype.hasOwnProperty; + var toString = Object.prototype.toString; + + var isFunction = function isFunction(fn) { + var isFunc = typeof fn === 'function' && !(fn instanceof RegExp) || toString.call(fn) === '[object Function]'; + if (!isFunc && typeof window !== 'undefined') { + isFunc = fn === window.setTimeout || fn === window.alert || fn === window.confirm || fn === window.prompt; + } + return isFunc; + }; + + module.exports = function forEach(obj, fn) { + if (!isFunction(fn)) { + throw new TypeError('iterator must be a function'); + } + var i, + k, + isString = typeof obj === 'string', + l = obj.length, + context = arguments.length > 2 ? arguments[2] : null; + if (l === +l) { + for (i = 0; i < l; i++) { + if (context === null) { + fn(isString ? obj.charAt(i) : obj[i], i, obj); + } else { + fn.call(context, isString ? obj.charAt(i) : obj[i], i, obj); + } + } + } else { + for (k in obj) { + if (hasOwn.call(obj, k)) { + if (context === null) { + fn(obj[k], k, obj); + } else { + fn.call(context, obj[k], k, obj); + } + } + } + } + }; + +/***/ }, +/* 171 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + module.exports = Object.keys || __webpack_require__(173); + +/***/ }, +/* 172 */ +/***/ function(module, exports) { + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var toString = Object.prototype.toString; + + module.exports = function isArguments(value) { + var str = toString.call(value); + var isArguments = str === '[object Arguments]'; + if (!isArguments) { + isArguments = str !== '[object Array]' && value !== null && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && typeof value.length === 'number' && value.length >= 0 && toString.call(value.callee) === '[object Function]'; + } + return isArguments; + }; + +/***/ }, +/* 173 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + (function () { + "use strict"; + + // modified from https://github.com/kriskowal/es5-shim + + var has = Object.prototype.hasOwnProperty, + toString = Object.prototype.toString, + forEach = __webpack_require__(170), + isArgs = __webpack_require__(172), + hasDontEnumBug = !{ 'toString': null }.propertyIsEnumerable('toString'), + hasProtoEnumBug = function () {}.propertyIsEnumerable('prototype'), + dontEnums = ["toString", "toLocaleString", "valueOf", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "constructor"], + keysShim; + + keysShim = function keys(object) { + var isObject = object !== null && (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object', + isFunction = toString.call(object) === '[object Function]', + isArguments = isArgs(object), + theKeys = []; + + if (!isObject && !isFunction && !isArguments) { + throw new TypeError("Object.keys called on a non-object"); + } + + if (isArguments) { + forEach(object, function (value) { + theKeys.push(value); + }); + } else { + var name, + skipProto = hasProtoEnumBug && isFunction; + + for (name in object) { + if (!(skipProto && name === 'prototype') && has.call(object, name)) { + theKeys.push(name); + } + } + } + + if (hasDontEnumBug) { + var ctor = object.constructor, + skipConstructor = ctor && ctor.prototype === object; + + forEach(dontEnums, function (dontEnum) { + if (!(skipConstructor && dontEnum === 'constructor') && has.call(object, dontEnum)) { + theKeys.push(dontEnum); + } + }); + } + return theKeys; + }; + + module.exports = keysShim; + })(); + +/***/ }, +/* 174 */ +/***/ function(module, exports) { + + "use strict"; + + module.exports = { str: "7.6.1" }; + +/***/ }, +/* 175 */ +/***/ function(module, exports, __webpack_require__) { + + var __WEBPACK_AMD_DEFINE_RESULT__;'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + /* + * JavaScript MD5 + * https://github.com/blueimp/JavaScript-MD5 + * + * Copyright 2011, Sebastian Tschan + * https://blueimp.net + * + * Licensed under the MIT license: + * http://www.opensource.org/licenses/MIT + * + * Based on + * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message + * Digest Algorithm, as defined in RFC 1321. + * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009 + * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet + * Distributed under the BSD License + * See http://pajhome.org.uk/crypt/md5 for more info. + */ + + /*global unescape, define, module */ + + ;(function ($) { + 'use strict'; + + /* + * Add integers, wrapping at 2^32. This uses 16-bit operations internally + * to work around bugs in some JS interpreters. + */ + + function safe_add(x, y) { + var lsw = (x & 0xFFFF) + (y & 0xFFFF); + var msw = (x >> 16) + (y >> 16) + (lsw >> 16); + return msw << 16 | lsw & 0xFFFF; + } + + /* + * Bitwise rotate a 32-bit number to the left. + */ + function bit_rol(num, cnt) { + return num << cnt | num >>> 32 - cnt; + } + + /* + * These functions implement the four basic operations the algorithm uses. + */ + function md5_cmn(q, a, b, x, s, t) { + return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b); + } + function md5_ff(a, b, c, d, x, s, t) { + return md5_cmn(b & c | ~b & d, a, b, x, s, t); + } + function md5_gg(a, b, c, d, x, s, t) { + return md5_cmn(b & d | c & ~d, a, b, x, s, t); + } + function md5_hh(a, b, c, d, x, s, t) { + return md5_cmn(b ^ c ^ d, a, b, x, s, t); + } + function md5_ii(a, b, c, d, x, s, t) { + return md5_cmn(c ^ (b | ~d), a, b, x, s, t); + } + + /* + * Calculate the MD5 of an array of little-endian words, and a bit length. + */ + function binl_md5(x, len) { + /* append padding */ + x[len >> 5] |= 0x80 << len % 32; + x[(len + 64 >>> 9 << 4) + 14] = len; + + var i; + var olda; + var oldb; + var oldc; + var oldd; + var a = 1732584193; + var b = -271733879; + var c = -1732584194; + var d = 271733878; + + for (i = 0; i < x.length; i += 16) { + olda = a; + oldb = b; + oldc = c; + oldd = d; + + a = md5_ff(a, b, c, d, x[i], 7, -680876936); + d = md5_ff(d, a, b, c, x[i + 1], 12, -389564586); + c = md5_ff(c, d, a, b, x[i + 2], 17, 606105819); + b = md5_ff(b, c, d, a, x[i + 3], 22, -1044525330); + a = md5_ff(a, b, c, d, x[i + 4], 7, -176418897); + d = md5_ff(d, a, b, c, x[i + 5], 12, 1200080426); + c = md5_ff(c, d, a, b, x[i + 6], 17, -1473231341); + b = md5_ff(b, c, d, a, x[i + 7], 22, -45705983); + a = md5_ff(a, b, c, d, x[i + 8], 7, 1770035416); + d = md5_ff(d, a, b, c, x[i + 9], 12, -1958414417); + c = md5_ff(c, d, a, b, x[i + 10], 17, -42063); + b = md5_ff(b, c, d, a, x[i + 11], 22, -1990404162); + a = md5_ff(a, b, c, d, x[i + 12], 7, 1804603682); + d = md5_ff(d, a, b, c, x[i + 13], 12, -40341101); + c = md5_ff(c, d, a, b, x[i + 14], 17, -1502002290); + b = md5_ff(b, c, d, a, x[i + 15], 22, 1236535329); + + a = md5_gg(a, b, c, d, x[i + 1], 5, -165796510); + d = md5_gg(d, a, b, c, x[i + 6], 9, -1069501632); + c = md5_gg(c, d, a, b, x[i + 11], 14, 643717713); + b = md5_gg(b, c, d, a, x[i], 20, -373897302); + a = md5_gg(a, b, c, d, x[i + 5], 5, -701558691); + d = md5_gg(d, a, b, c, x[i + 10], 9, 38016083); + c = md5_gg(c, d, a, b, x[i + 15], 14, -660478335); + b = md5_gg(b, c, d, a, x[i + 4], 20, -405537848); + a = md5_gg(a, b, c, d, x[i + 9], 5, 568446438); + d = md5_gg(d, a, b, c, x[i + 14], 9, -1019803690); + c = md5_gg(c, d, a, b, x[i + 3], 14, -187363961); + b = md5_gg(b, c, d, a, x[i + 8], 20, 1163531501); + a = md5_gg(a, b, c, d, x[i + 13], 5, -1444681467); + d = md5_gg(d, a, b, c, x[i + 2], 9, -51403784); + c = md5_gg(c, d, a, b, x[i + 7], 14, 1735328473); + b = md5_gg(b, c, d, a, x[i + 12], 20, -1926607734); + + a = md5_hh(a, b, c, d, x[i + 5], 4, -378558); + d = md5_hh(d, a, b, c, x[i + 8], 11, -2022574463); + c = md5_hh(c, d, a, b, x[i + 11], 16, 1839030562); + b = md5_hh(b, c, d, a, x[i + 14], 23, -35309556); + a = md5_hh(a, b, c, d, x[i + 1], 4, -1530992060); + d = md5_hh(d, a, b, c, x[i + 4], 11, 1272893353); + c = md5_hh(c, d, a, b, x[i + 7], 16, -155497632); + b = md5_hh(b, c, d, a, x[i + 10], 23, -1094730640); + a = md5_hh(a, b, c, d, x[i + 13], 4, 681279174); + d = md5_hh(d, a, b, c, x[i], 11, -358537222); + c = md5_hh(c, d, a, b, x[i + 3], 16, -722521979); + b = md5_hh(b, c, d, a, x[i + 6], 23, 76029189); + a = md5_hh(a, b, c, d, x[i + 9], 4, -640364487); + d = md5_hh(d, a, b, c, x[i + 12], 11, -421815835); + c = md5_hh(c, d, a, b, x[i + 15], 16, 530742520); + b = md5_hh(b, c, d, a, x[i + 2], 23, -995338651); + + a = md5_ii(a, b, c, d, x[i], 6, -198630844); + d = md5_ii(d, a, b, c, x[i + 7], 10, 1126891415); + c = md5_ii(c, d, a, b, x[i + 14], 15, -1416354905); + b = md5_ii(b, c, d, a, x[i + 5], 21, -57434055); + a = md5_ii(a, b, c, d, x[i + 12], 6, 1700485571); + d = md5_ii(d, a, b, c, x[i + 3], 10, -1894986606); + c = md5_ii(c, d, a, b, x[i + 10], 15, -1051523); + b = md5_ii(b, c, d, a, x[i + 1], 21, -2054922799); + a = md5_ii(a, b, c, d, x[i + 8], 6, 1873313359); + d = md5_ii(d, a, b, c, x[i + 15], 10, -30611744); + c = md5_ii(c, d, a, b, x[i + 6], 15, -1560198380); + b = md5_ii(b, c, d, a, x[i + 13], 21, 1309151649); + a = md5_ii(a, b, c, d, x[i + 4], 6, -145523070); + d = md5_ii(d, a, b, c, x[i + 11], 10, -1120210379); + c = md5_ii(c, d, a, b, x[i + 2], 15, 718787259); + b = md5_ii(b, c, d, a, x[i + 9], 21, -343485551); + + a = safe_add(a, olda); + b = safe_add(b, oldb); + c = safe_add(c, oldc); + d = safe_add(d, oldd); + } + return [a, b, c, d]; + } + + /* + * Convert an array of little-endian words to a string + */ + function binl2rstr(input) { + var i; + var output = ''; + var length32 = input.length * 32; + for (i = 0; i < length32; i += 8) { + output += String.fromCharCode(input[i >> 5] >>> i % 32 & 0xFF); + } + return output; + } + + /* + * Convert a raw string to an array of little-endian words + * Characters >255 have their high-byte silently ignored. + */ + function rstr2binl(input) { + var i; + var output = []; + output[(input.length >> 2) - 1] = undefined; + for (i = 0; i < output.length; i += 1) { + output[i] = 0; + } + var length8 = input.length * 8; + for (i = 0; i < length8; i += 8) { + output[i >> 5] |= (input.charCodeAt(i / 8) & 0xFF) << i % 32; + } + return output; + } + + /* + * Calculate the MD5 of a raw string + */ + function rstr_md5(s) { + return binl2rstr(binl_md5(rstr2binl(s), s.length * 8)); + } + + /* + * Calculate the HMAC-MD5, of a key and some data (raw strings) + */ + function rstr_hmac_md5(key, data) { + var i; + var bkey = rstr2binl(key); + var ipad = []; + var opad = []; + var hash; + ipad[15] = opad[15] = undefined; + if (bkey.length > 16) { + bkey = binl_md5(bkey, key.length * 8); + } + for (i = 0; i < 16; i += 1) { + ipad[i] = bkey[i] ^ 0x36363636; + opad[i] = bkey[i] ^ 0x5C5C5C5C; + } + hash = binl_md5(ipad.concat(rstr2binl(data)), 512 + data.length * 8); + return binl2rstr(binl_md5(opad.concat(hash), 512 + 128)); + } + + /* + * Convert a raw string to a hex string + */ + function rstr2hex(input) { + var hex_tab = '0123456789abcdef'; + var output = ''; + var x; + var i; + for (i = 0; i < input.length; i += 1) { + x = input.charCodeAt(i); + output += hex_tab.charAt(x >>> 4 & 0x0F) + hex_tab.charAt(x & 0x0F); + } + return output; + } + + /* + * Encode a string as utf-8 + */ + function str2rstr_utf8(input) { + return unescape(encodeURIComponent(input)); + } + + /* + * Take string arguments and return either raw or hex encoded strings + */ + function raw_md5(s) { + return rstr_md5(str2rstr_utf8(s)); + } + function hex_md5(s) { + return rstr2hex(raw_md5(s)); + } + function raw_hmac_md5(k, d) { + return rstr_hmac_md5(str2rstr_utf8(k), str2rstr_utf8(d)); + } + function hex_hmac_md5(k, d) { + return rstr2hex(raw_hmac_md5(k, d)); + } + + function md5(string, key, raw) { + if (!key) { + if (!raw) { + return hex_md5(string); + } + return raw_md5(string); + } + if (!raw) { + return hex_hmac_md5(key, string); + } + return raw_hmac_md5(key, string); + } + + if (true) { + !(__WEBPACK_AMD_DEFINE_RESULT__ = function () { + return md5; + }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } else if ((typeof module === 'undefined' ? 'undefined' : _typeof(module)) === 'object' && module.exports) { + module.exports = md5; + } else { + $.md5 = md5; + } + })(undefined); + +/***/ }, +/* 176 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule invariant + */ + + 'use strict'; + + /** + * Use invariant() to assert state which your program assumes to be true. + * + * Provide sprintf-style format (only %s is supported) and arguments + * to provide information about what broke and what you were + * expecting. + * + * The invariant message will be stripped in production, but the invariant + * will remain to ensure logic does not differ in production. + */ + + var invariant = function invariant(condition, format, a, b, c, d, e, f) { + if (false) { + if (format === undefined) { + throw new Error('invariant requires an error message argument'); + } + } + + if (!condition) { + var error; + if (format === undefined) { + error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.'); + } else { + var args = [a, b, c, d, e, f]; + var argIndex = 0; + error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () { + return args[argIndex++]; + })); + } + + error.framesToPop = 1; // we don't care about invariant's own frame + throw error; + } + }; + + module.exports = invariant; + +/***/ }, +/* 177 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Module dependencies + */ + + var debug = __webpack_require__(179)('jsonp'); + + /** + * Module exports. + */ + + module.exports = jsonp; + + /** + * Callback index. + */ + + var count = 0; + + /** + * Noop function. + */ + + function noop() {} + + /** + * JSONP handler + * + * Options: + * - param {String} qs parameter (`callback`) + * - prefix {String} qs parameter (`__jp`) + * - name {String} qs parameter (`prefix` + incr) + * - timeout {Number} how long after a timeout error is emitted (`60000`) + * + * @param {String} url + * @param {Object|Function} optional options / callback + * @param {Function} optional callback + */ + + function jsonp(url, opts, fn) { + if ('function' == typeof opts) { + fn = opts; + opts = {}; + } + if (!opts) opts = {}; + + var prefix = opts.prefix || '__jp'; + + // use the callback name that was passed if one was provided. + // otherwise generate a unique name by incrementing our counter. + var id = opts.name || prefix + count++; + + var param = opts.param || 'callback'; + var timeout = null != opts.timeout ? opts.timeout : 60000; + var enc = encodeURIComponent; + var target = document.getElementsByTagName('script')[0] || document.head; + var script; + var timer; + + if (timeout) { + timer = setTimeout(function () { + cleanup(); + if (fn) fn(new Error('Timeout')); + }, timeout); + } + + function cleanup() { + if (script.parentNode) script.parentNode.removeChild(script); + window[id] = noop; + if (timer) clearTimeout(timer); + } + + function cancel() { + if (window[id]) { + cleanup(); + } + } + + window[id] = function (data) { + debug('jsonp got', data); + cleanup(); + if (fn) fn(null, data); + }; + + // add qs component + url += (~url.indexOf('?') ? '&' : '?') + param + '=' + enc(id); + url = url.replace('?&', '?'); + + debug('jsonp req "%s"', url); + + // create script + script = document.createElement('script'); + script.src = url; + target.parentNode.insertBefore(script, target); + + return cancel; + } + +/***/ }, +/* 178 */ +160, +/* 179 */ +[329, 180], +/* 180 */ +[330, 178], +/* 181 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var format = __webpack_require__(79).format; + + var PasswordPolicyError = __webpack_require__(182); + + function isString(value) { + return typeof value === 'string' || value instanceof String; + } + + var defaultRuleset = { + length: __webpack_require__(185), + contains: __webpack_require__(57), + containsAtLeast: __webpack_require__(183), + identicalChars: __webpack_require__(184) + }; + + function flatDescriptions(descriptions, index) { + if (!descriptions.length) { + return ''; + } + + function flatSingleDescription(description, index) { + var spaces = new Array(index + 1).join(' '); + var result = spaces + '* '; + if (description.format) { + result += format.apply(null, [description.message].concat(description.format)); + } else { + result += description.message; + } + + if (description.items) { + result += '\n' + spaces + flatDescriptions(description.items, index + 1); + } + return result; + } + + var firstDescription = flatSingleDescription(descriptions[0], index); + + descriptions = descriptions.slice(1).reduce(function (result, description) { + result += '\n' + flatSingleDescription(description, index); + + return result; + }, firstDescription); + + return descriptions; + } + + /** + * Creates a PasswordPolicy which is a set of rules. + * + * @class PasswordPolicy + * @constructor + */ + function PasswordPolicy(rules, ruleset) { + this.rules = rules; + this.ruleset = ruleset || defaultRuleset; + + this._reduce(function (result, ruleOptions, rule) { + rule.validate(ruleOptions); + }); + } + + PasswordPolicy.prototype = {}; + + PasswordPolicy.prototype._reduce = function (fn, value) { + var self = this; + return Object.keys(this.rules).reduce(function (result, ruleName) { + var ruleOptions = self.rules[ruleName]; + var rule = self.ruleset[ruleName]; + + return fn(result, ruleOptions, rule); + }, value); + }; + + PasswordPolicy.prototype._applyRules = function (password) { + return this._reduce(function (result, ruleOptions, rule) { + // If previous result was false as this an &&, then nothing to do here! + if (!result) { + return false; + } + + if (!rule) { + return false; + } + + return rule.assert(ruleOptions, password); + }, true); + }; + + PasswordPolicy.prototype.missing = function (password) { + return this._reduce(function (result, ruleOptions, rule) { + var missingRule = rule.missing(ruleOptions, password); + result.rules.push(missingRule); + result.verified = result.verified && !!missingRule.verified; + return result; + }, { rules: [], verified: true }); + }; + + PasswordPolicy.prototype.explain = function () { + return this._reduce(function (result, ruleOptions, rule) { + result.push(rule.explain(ruleOptions)); + return result; + }, []); + }; + + PasswordPolicy.prototype.missingAsMarkdown = function (password) { + return flatDescriptions(this.missing(password), 1); + }; + + PasswordPolicy.prototype.toString = function () { + var descriptions = this.explain(); + return flatDescriptions(descriptions, 0); + }; + + PasswordPolicy.prototype.check = function (password) { + if (!isString(password)) { + return false; + } + + return this._applyRules(password); + }; + + PasswordPolicy.prototype.assert = function (password) { + if (!this.check(password)) { + throw new PasswordPolicyError('Password does not meet password policy'); + } + }; + + module.exports = PasswordPolicy; + +/***/ }, +/* 182 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * Error thrown when asserting a policy against a password. + * + * @class PasswordPolicyError + * @constructor + * + * @param {String} msg Descriptive message of the error + */ + function PasswordPolicyError(msg) { + var err = Error.call(this, msg); + err.name = 'PasswordPolicyError'; + return err; + } + + module.exports = PasswordPolicyError; + +/***/ }, +/* 183 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var _ = __webpack_require__(46); + + var contains = __webpack_require__(57); + + function createIntroMessage() { + return 'Contain at least %d of the following %d types of characters:'; + } + + module.exports = { + // TODO validate atLeast to be a number > 0 and expressions to be a list of at least 1 + validate: function validate(options) { + if (!_.isObject(options)) { + throw new Error('options should be an object'); + } + + if (!_.isNumber(options.atLeast) || _.isNaN(options.atLeast) || options.atLeast < 1) { + throw new Error('atLeast should be a valid, non-NaN number, greater than 0'); + } + + if (!_.isArray(options.expressions) || _.isEmpty(options.expressions)) { + throw new Error('expressions should be an non-empty array'); + } + + if (options.expressions.length < options.atLeast) { + throw new Error('expressions length should be greater than atLeast'); + } + + var ok = options.expressions.every(function (expression) { + return _.isFunction(expression.explain) && _.isFunction(expression.test); + }); + + if (!ok) { + throw new Error('containsAtLeast expressions are invalid: An explain and a test function should be provided'); + } + + return true; + }, + explain: function explain(options) { + return { + message: createIntroMessage(), + code: 'containsAtLeast', + format: [options.atLeast, options.expressions.length], + items: options.expressions.map(function (x) { + return x.explain(); + }) + }; + }, + missing: function missing(options, password) { + var expressions = options.expressions && options.expressions.map(function (expression) { + var explained = expression.explain(); + explained.verified = expression.test(password); + return explained; + }); + + var verifiedCount = expressions.reduce(function (val, ex) { + return val + !!ex.verified; + }, 0); + var verified = verifiedCount >= options.atLeast; + + return { + message: createIntroMessage(), + code: 'containsAtLeast', + format: [options.atLeast, options.expressions.length], + items: expressions, + verified: verified + }; + }, + assert: function assert(options, password) { + if (!password) { + return false; + } + + var workingExpressions = options.expressions.filter(function (expression) { + return expression.test(password); + }); + + return workingExpressions.length >= options.atLeast; + }, + charsets: contains.charsets + }; + +/***/ }, +/* 184 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var _ = __webpack_require__(46); + + function assert(options, password) { + if (!password) { + return false; + } + + var i, + current = { c: null, count: 0 }; + + for (i = 0; i < password.length; i++) { + if (current.c !== password[i]) { + current.c = password[i]; + current.count = 1; + } else { + current.count++; + } + + if (current.count > options.max) { + return false; + } + } + + return true; + } + function explain(options, verified) { + var example = new Array(options.max + 2).join('a'); + var d = { + message: 'No more than %d identical characters in a row (e.g., "%s" not allowed)', + code: 'identicalChars', + format: [options.max, example] + }; + if (verified !== undefined) { + d.verified = verified; + } + return d; + } + + module.exports = { + validate: function validate(options) { + if (!_.isObject(options)) { + throw new Error('options should be an object'); + } + + if (!_.isNumber(options.max) || _.isNaN(options.max) || options.max < 1) { + throw new Error('max should be a number greater than 1'); + } + + return true; + }, + explain: explain, + missing: function missing(options, password) { + return explain(options, assert(options, password)); + }, + assert: assert + }; + +/***/ }, +/* 185 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var _ = __webpack_require__(46); + + /* A rule should contain explain and rule methods */ + // TODO explain explain + // TODO explain missing + // TODO explain assert + + function assert(options, password) { + return !!password && options.minLength <= password.length; + } + + function explain(options) { + if (options.minLength === 1) { + return { + message: 'Non-empty password required', + code: 'nonEmpty' + }; + } + + return { + message: 'At least %d characters in length', + format: [options.minLength], + code: 'lengthAtLeast' + }; + } + + module.exports = { + validate: function validate(options) { + if (!_.isObject(options)) { + throw new Error('options should be an object'); + } + + if (!_.isNumber(options.minLength) || _.isNaN(options.minLength)) { + throw new Error('length expects minLength to be a non-zero number'); + } + + return true; + }, + explain: explain, + missing: function missing(options, password) { + var explained = explain(options); + explained.verified = !!assert(options, password); + return explained; + }, + assert: assert + }; + +/***/ }, +/* 186 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + module.exports = __webpack_require__(262); + +/***/ }, +/* 187 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ARIADOMPropertyConfig = { + Properties: { + // Global States and Properties + 'aria-current': 0, // state + 'aria-details': 0, + 'aria-disabled': 0, // state + 'aria-hidden': 0, // state + 'aria-invalid': 0, // state + 'aria-keyshortcuts': 0, + 'aria-label': 0, + 'aria-roledescription': 0, + // Widget Attributes + 'aria-autocomplete': 0, + 'aria-checked': 0, + 'aria-expanded': 0, + 'aria-haspopup': 0, + 'aria-level': 0, + 'aria-modal': 0, + 'aria-multiline': 0, + 'aria-multiselectable': 0, + 'aria-orientation': 0, + 'aria-placeholder': 0, + 'aria-pressed': 0, + 'aria-readonly': 0, + 'aria-required': 0, + 'aria-selected': 0, + 'aria-sort': 0, + 'aria-valuemax': 0, + 'aria-valuemin': 0, + 'aria-valuenow': 0, + 'aria-valuetext': 0, + // Live Region Attributes + 'aria-atomic': 0, + 'aria-busy': 0, + 'aria-live': 0, + 'aria-relevant': 0, + // Drag-and-Drop Attributes + 'aria-dropeffect': 0, + 'aria-grabbed': 0, + // Relationship Attributes + 'aria-activedescendant': 0, + 'aria-colcount': 0, + 'aria-colindex': 0, + 'aria-colspan': 0, + 'aria-controls': 0, + 'aria-describedby': 0, + 'aria-errormessage': 0, + 'aria-flowto': 0, + 'aria-labelledby': 0, + 'aria-owns': 0, + 'aria-posinset': 0, + 'aria-rowcount': 0, + 'aria-rowindex': 0, + 'aria-rowspan': 0, + 'aria-setsize': 0 + }, + DOMAttributeNames: {}, + DOMPropertyNames: {} + }; + + module.exports = ARIADOMPropertyConfig; + +/***/ }, +/* 188 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactDOMComponentTree = __webpack_require__(6); + + var focusNode = __webpack_require__(121); + + var AutoFocusUtils = { + focusDOMComponent: function focusDOMComponent() { + focusNode(ReactDOMComponentTree.getNodeFromInstance(this)); + } + }; + + module.exports = AutoFocusUtils; + +/***/ }, +/* 189 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var EventPropagators = __webpack_require__(43); + var ExecutionEnvironment = __webpack_require__(10); + var FallbackCompositionState = __webpack_require__(195); + var SyntheticCompositionEvent = __webpack_require__(231); + var SyntheticInputEvent = __webpack_require__(234); + + var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space + var START_KEYCODE = 229; + + var canUseCompositionEvent = ExecutionEnvironment.canUseDOM && 'CompositionEvent' in window; + + var documentMode = null; + if (ExecutionEnvironment.canUseDOM && 'documentMode' in document) { + documentMode = document.documentMode; + } + + // Webkit offers a very useful `textInput` event that can be used to + // directly represent `beforeInput`. The IE `textinput` event is not as + // useful, so we don't use it. + var canUseTextInputEvent = ExecutionEnvironment.canUseDOM && 'TextEvent' in window && !documentMode && !isPresto(); + + // In IE9+, we have access to composition events, but the data supplied + // by the native compositionend event may be incorrect. Japanese ideographic + // spaces, for instance (\u3000) are not recorded correctly. + var useFallbackCompositionData = ExecutionEnvironment.canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11); + + /** + * Opera <= 12 includes TextEvent in window, but does not fire + * text input events. Rely on keypress instead. + */ + function isPresto() { + var opera = window.opera; + return (typeof opera === 'undefined' ? 'undefined' : _typeof(opera)) === 'object' && typeof opera.version === 'function' && parseInt(opera.version(), 10) <= 12; + } + + var SPACEBAR_CODE = 32; + var SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE); + + // Events and their corresponding property names. + var eventTypes = { + beforeInput: { + phasedRegistrationNames: { + bubbled: 'onBeforeInput', + captured: 'onBeforeInputCapture' + }, + dependencies: ['topCompositionEnd', 'topKeyPress', 'topTextInput', 'topPaste'] + }, + compositionEnd: { + phasedRegistrationNames: { + bubbled: 'onCompositionEnd', + captured: 'onCompositionEndCapture' + }, + dependencies: ['topBlur', 'topCompositionEnd', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown'] + }, + compositionStart: { + phasedRegistrationNames: { + bubbled: 'onCompositionStart', + captured: 'onCompositionStartCapture' + }, + dependencies: ['topBlur', 'topCompositionStart', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown'] + }, + compositionUpdate: { + phasedRegistrationNames: { + bubbled: 'onCompositionUpdate', + captured: 'onCompositionUpdateCapture' + }, + dependencies: ['topBlur', 'topCompositionUpdate', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown'] + } + }; + + // Track whether we've ever handled a keypress on the space key. + var hasSpaceKeypress = false; + + /** + * Return whether a native keypress event is assumed to be a command. + * This is required because Firefox fires `keypress` events for key commands + * (cut, copy, select-all, etc.) even though no character is inserted. + */ + function isKeypressCommand(nativeEvent) { + return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) && + // ctrlKey && altKey is equivalent to AltGr, and is not a command. + !(nativeEvent.ctrlKey && nativeEvent.altKey); + } + + /** + * Translate native top level events into event types. + * + * @param {string} topLevelType + * @return {object} + */ + function getCompositionEventType(topLevelType) { + switch (topLevelType) { + case 'topCompositionStart': + return eventTypes.compositionStart; + case 'topCompositionEnd': + return eventTypes.compositionEnd; + case 'topCompositionUpdate': + return eventTypes.compositionUpdate; + } + } + + /** + * Does our fallback best-guess model think this event signifies that + * composition has begun? + * + * @param {string} topLevelType + * @param {object} nativeEvent + * @return {boolean} + */ + function isFallbackCompositionStart(topLevelType, nativeEvent) { + return topLevelType === 'topKeyDown' && nativeEvent.keyCode === START_KEYCODE; + } + + /** + * Does our fallback mode think that this event is the end of composition? + * + * @param {string} topLevelType + * @param {object} nativeEvent + * @return {boolean} + */ + function isFallbackCompositionEnd(topLevelType, nativeEvent) { + switch (topLevelType) { + case 'topKeyUp': + // Command keys insert or clear IME input. + return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1; + case 'topKeyDown': + // Expect IME keyCode on each keydown. If we get any other + // code we must have exited earlier. + return nativeEvent.keyCode !== START_KEYCODE; + case 'topKeyPress': + case 'topMouseDown': + case 'topBlur': + // Events are not possible without cancelling IME. + return true; + default: + return false; + } + } + + /** + * Google Input Tools provides composition data via a CustomEvent, + * with the `data` property populated in the `detail` object. If this + * is available on the event object, use it. If not, this is a plain + * composition event and we have nothing special to extract. + * + * @param {object} nativeEvent + * @return {?string} + */ + function getDataFromCustomEvent(nativeEvent) { + var detail = nativeEvent.detail; + if ((typeof detail === 'undefined' ? 'undefined' : _typeof(detail)) === 'object' && 'data' in detail) { + return detail.data; + } + return null; + } + + // Track the current IME composition fallback object, if any. + var currentComposition = null; + + /** + * @return {?object} A SyntheticCompositionEvent. + */ + function extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + var eventType; + var fallbackData; + + if (canUseCompositionEvent) { + eventType = getCompositionEventType(topLevelType); + } else if (!currentComposition) { + if (isFallbackCompositionStart(topLevelType, nativeEvent)) { + eventType = eventTypes.compositionStart; + } + } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) { + eventType = eventTypes.compositionEnd; + } + + if (!eventType) { + return null; + } + + if (useFallbackCompositionData) { + // The current composition is stored statically and must not be + // overwritten while composition continues. + if (!currentComposition && eventType === eventTypes.compositionStart) { + currentComposition = FallbackCompositionState.getPooled(nativeEventTarget); + } else if (eventType === eventTypes.compositionEnd) { + if (currentComposition) { + fallbackData = currentComposition.getData(); + } + } + } + + var event = SyntheticCompositionEvent.getPooled(eventType, targetInst, nativeEvent, nativeEventTarget); + + if (fallbackData) { + // Inject data generated from fallback path into the synthetic event. + // This matches the property of native CompositionEventInterface. + event.data = fallbackData; + } else { + var customData = getDataFromCustomEvent(nativeEvent); + if (customData !== null) { + event.data = customData; + } + } + + EventPropagators.accumulateTwoPhaseDispatches(event); + return event; + } + + /** + * @param {string} topLevelType Record from `EventConstants`. + * @param {object} nativeEvent Native browser event. + * @return {?string} The string corresponding to this `beforeInput` event. + */ + function getNativeBeforeInputChars(topLevelType, nativeEvent) { + switch (topLevelType) { + case 'topCompositionEnd': + return getDataFromCustomEvent(nativeEvent); + case 'topKeyPress': + /** + * If native `textInput` events are available, our goal is to make + * use of them. However, there is a special case: the spacebar key. + * In Webkit, preventing default on a spacebar `textInput` event + * cancels character insertion, but it *also* causes the browser + * to fall back to its default spacebar behavior of scrolling the + * page. + * + * Tracking at: + * https://code.google.com/p/chromium/issues/detail?id=355103 + * + * To avoid this issue, use the keypress event as if no `textInput` + * event is available. + */ + var which = nativeEvent.which; + if (which !== SPACEBAR_CODE) { + return null; + } + + hasSpaceKeypress = true; + return SPACEBAR_CHAR; + + case 'topTextInput': + // Record the characters to be added to the DOM. + var chars = nativeEvent.data; + + // If it's a spacebar character, assume that we have already handled + // it at the keypress level and bail immediately. Android Chrome + // doesn't give us keycodes, so we need to blacklist it. + if (chars === SPACEBAR_CHAR && hasSpaceKeypress) { + return null; + } + + return chars; + + default: + // For other native event types, do nothing. + return null; + } + } + + /** + * For browsers that do not provide the `textInput` event, extract the + * appropriate string to use for SyntheticInputEvent. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {object} nativeEvent Native browser event. + * @return {?string} The fallback string for this `beforeInput` event. + */ + function getFallbackBeforeInputChars(topLevelType, nativeEvent) { + // If we are currently composing (IME) and using a fallback to do so, + // try to extract the composed characters from the fallback object. + // If composition event is available, we extract a string only at + // compositionevent, otherwise extract it at fallback events. + if (currentComposition) { + if (topLevelType === 'topCompositionEnd' || !canUseCompositionEvent && isFallbackCompositionEnd(topLevelType, nativeEvent)) { + var chars = currentComposition.getData(); + FallbackCompositionState.release(currentComposition); + currentComposition = null; + return chars; + } + return null; + } + + switch (topLevelType) { + case 'topPaste': + // If a paste event occurs after a keypress, throw out the input + // chars. Paste events should not lead to BeforeInput events. + return null; + case 'topKeyPress': + /** + * As of v27, Firefox may fire keypress events even when no character + * will be inserted. A few possibilities: + * + * - `which` is `0`. Arrow keys, Esc key, etc. + * + * - `which` is the pressed key code, but no char is available. + * Ex: 'AltGr + d` in Polish. There is no modified character for + * this key combination and no character is inserted into the + * document, but FF fires the keypress for char code `100` anyway. + * No `input` event will occur. + * + * - `which` is the pressed key code, but a command combination is + * being used. Ex: `Cmd+C`. No character is inserted, and no + * `input` event will occur. + */ + if (nativeEvent.which && !isKeypressCommand(nativeEvent)) { + return String.fromCharCode(nativeEvent.which); + } + return null; + case 'topCompositionEnd': + return useFallbackCompositionData ? null : nativeEvent.data; + default: + return null; + } + } + + /** + * Extract a SyntheticInputEvent for `beforeInput`, based on either native + * `textInput` or fallback behavior. + * + * @return {?object} A SyntheticInputEvent. + */ + function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + var chars; + + if (canUseTextInputEvent) { + chars = getNativeBeforeInputChars(topLevelType, nativeEvent); + } else { + chars = getFallbackBeforeInputChars(topLevelType, nativeEvent); + } + + // If no characters are being inserted, no BeforeInput event should + // be fired. + if (!chars) { + return null; + } + + var event = SyntheticInputEvent.getPooled(eventTypes.beforeInput, targetInst, nativeEvent, nativeEventTarget); + + event.data = chars; + EventPropagators.accumulateTwoPhaseDispatches(event); + return event; + } + + /** + * Create an `onBeforeInput` event to match + * http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents. + * + * This event plugin is based on the native `textInput` event + * available in Chrome, Safari, Opera, and IE. This event fires after + * `onKeyPress` and `onCompositionEnd`, but before `onInput`. + * + * `beforeInput` is spec'd but not implemented in any browsers, and + * the `input` event does not provide any useful information about what has + * actually been added, contrary to the spec. Thus, `textInput` is the best + * available event to identify the characters that have actually been inserted + * into the target node. + * + * This plugin is also responsible for emitting `composition` events, thus + * allowing us to share composition fallback code for both `beforeInput` and + * `composition` event types. + */ + var BeforeInputEventPlugin = { + + eventTypes: eventTypes, + + extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + return [extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget), extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget)]; + } + }; + + module.exports = BeforeInputEventPlugin; + +/***/ }, +/* 190 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var CSSProperty = __webpack_require__(97); + var ExecutionEnvironment = __webpack_require__(10); + var ReactInstrumentation = __webpack_require__(14); + + var camelizeStyleName = __webpack_require__(250); + var dangerousStyleValue = __webpack_require__(240); + var hyphenateStyleName = __webpack_require__(257); + var memoizeStringOnly = __webpack_require__(260); + var warning = __webpack_require__(5); + + var processStyleName = memoizeStringOnly(function (styleName) { + return hyphenateStyleName(styleName); + }); + + var hasShorthandPropertyBug = false; + var styleFloatAccessor = 'cssFloat'; + if (ExecutionEnvironment.canUseDOM) { + var tempStyle = document.createElement('div').style; + try { + // IE8 throws "Invalid argument." if resetting shorthand style properties. + tempStyle.font = ''; + } catch (e) { + hasShorthandPropertyBug = true; + } + // IE8 only supports accessing cssFloat (standard) as styleFloat + if (document.documentElement.style.cssFloat === undefined) { + styleFloatAccessor = 'styleFloat'; + } + } + + if (false) { + // 'msTransform' is correct, but the other prefixes should be capitalized + var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/; + + // style values shouldn't contain a semicolon + var badStyleValueWithSemicolonPattern = /;\s*$/; + + var warnedStyleNames = {}; + var warnedStyleValues = {}; + var warnedForNaNValue = false; + + var warnHyphenatedStyleName = function warnHyphenatedStyleName(name, owner) { + if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { + return; + } + + warnedStyleNames[name] = true; + process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported style property %s. Did you mean %s?%s', name, camelizeStyleName(name), checkRenderMessage(owner)) : void 0; + }; + + var warnBadVendoredStyleName = function warnBadVendoredStyleName(name, owner) { + if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { + return; + } + + warnedStyleNames[name] = true; + process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?%s', name, name.charAt(0).toUpperCase() + name.slice(1), checkRenderMessage(owner)) : void 0; + }; + + var warnStyleValueWithSemicolon = function warnStyleValueWithSemicolon(name, value, owner) { + if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) { + return; + } + + warnedStyleValues[value] = true; + process.env.NODE_ENV !== 'production' ? warning(false, 'Style property values shouldn\'t contain a semicolon.%s ' + 'Try "%s: %s" instead.', checkRenderMessage(owner), name, value.replace(badStyleValueWithSemicolonPattern, '')) : void 0; + }; + + var warnStyleValueIsNaN = function warnStyleValueIsNaN(name, value, owner) { + if (warnedForNaNValue) { + return; + } + + warnedForNaNValue = true; + process.env.NODE_ENV !== 'production' ? warning(false, '`NaN` is an invalid value for the `%s` css style property.%s', name, checkRenderMessage(owner)) : void 0; + }; + + var checkRenderMessage = function checkRenderMessage(owner) { + if (owner) { + var name = owner.getName(); + if (name) { + return ' Check the render method of `' + name + '`.'; + } + } + return ''; + }; + + /** + * @param {string} name + * @param {*} value + * @param {ReactDOMComponent} component + */ + var warnValidStyle = function warnValidStyle(name, value, component) { + var owner; + if (component) { + owner = component._currentElement._owner; + } + if (name.indexOf('-') > -1) { + warnHyphenatedStyleName(name, owner); + } else if (badVendoredStyleNamePattern.test(name)) { + warnBadVendoredStyleName(name, owner); + } else if (badStyleValueWithSemicolonPattern.test(value)) { + warnStyleValueWithSemicolon(name, value, owner); + } + + if (typeof value === 'number' && isNaN(value)) { + warnStyleValueIsNaN(name, value, owner); + } + }; + } + + /** + * Operations for dealing with CSS properties. + */ + var CSSPropertyOperations = { + + /** + * Serializes a mapping of style properties for use as inline styles: + * + * > createMarkupForStyles({width: '200px', height: 0}) + * "width:200px;height:0;" + * + * Undefined values are ignored so that declarative programming is easier. + * The result should be HTML-escaped before insertion into the DOM. + * + * @param {object} styles + * @param {ReactDOMComponent} component + * @return {?string} + */ + createMarkupForStyles: function createMarkupForStyles(styles, component) { + var serialized = ''; + for (var styleName in styles) { + if (!styles.hasOwnProperty(styleName)) { + continue; + } + var styleValue = styles[styleName]; + if (false) { + warnValidStyle(styleName, styleValue, component); + } + if (styleValue != null) { + serialized += processStyleName(styleName) + ':'; + serialized += dangerousStyleValue(styleName, styleValue, component) + ';'; + } + } + return serialized || null; + }, + + /** + * Sets the value for multiple styles on a node. If a value is specified as + * '' (empty string), the corresponding style property will be unset. + * + * @param {DOMElement} node + * @param {object} styles + * @param {ReactDOMComponent} component + */ + setValueForStyles: function setValueForStyles(node, styles, component) { + if (false) { + ReactInstrumentation.debugTool.onHostOperation({ + instanceID: component._debugID, + type: 'update styles', + payload: styles + }); + } + + var style = node.style; + for (var styleName in styles) { + if (!styles.hasOwnProperty(styleName)) { + continue; + } + if (false) { + warnValidStyle(styleName, styles[styleName], component); + } + var styleValue = dangerousStyleValue(styleName, styles[styleName], component); + if (styleName === 'float' || styleName === 'cssFloat') { + styleName = styleFloatAccessor; + } + if (styleValue) { + style[styleName] = styleValue; + } else { + var expansion = hasShorthandPropertyBug && CSSProperty.shorthandPropertyExpansions[styleName]; + if (expansion) { + // Shorthand property that IE8 won't like unsetting, so unset each + // component to placate it + for (var individualStyleName in expansion) { + style[individualStyleName] = ''; + } + } else { + style[styleName] = ''; + } + } + } + } + + }; + + module.exports = CSSPropertyOperations; + +/***/ }, +/* 191 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var EventPluginHub = __webpack_require__(42); + var EventPropagators = __webpack_require__(43); + var ExecutionEnvironment = __webpack_require__(10); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactUpdates = __webpack_require__(15); + var SyntheticEvent = __webpack_require__(18); + + var getEventTarget = __webpack_require__(70); + var isEventSupported = __webpack_require__(71); + var isTextInputElement = __webpack_require__(116); + + var eventTypes = { + change: { + phasedRegistrationNames: { + bubbled: 'onChange', + captured: 'onChangeCapture' + }, + dependencies: ['topBlur', 'topChange', 'topClick', 'topFocus', 'topInput', 'topKeyDown', 'topKeyUp', 'topSelectionChange'] + } + }; + + /** + * For IE shims + */ + var activeElement = null; + var activeElementInst = null; + var activeElementValue = null; + var activeElementValueProp = null; + + /** + * SECTION: handle `change` event + */ + function shouldUseChangeEvent(elem) { + var nodeName = elem.nodeName && elem.nodeName.toLowerCase(); + return nodeName === 'select' || nodeName === 'input' && elem.type === 'file'; + } + + var doesChangeEventBubble = false; + if (ExecutionEnvironment.canUseDOM) { + // See `handleChange` comment below + doesChangeEventBubble = isEventSupported('change') && (!document.documentMode || document.documentMode > 8); + } + + function manualDispatchChangeEvent(nativeEvent) { + var event = SyntheticEvent.getPooled(eventTypes.change, activeElementInst, nativeEvent, getEventTarget(nativeEvent)); + EventPropagators.accumulateTwoPhaseDispatches(event); + + // If change and propertychange bubbled, we'd just bind to it like all the + // other events and have it go through ReactBrowserEventEmitter. Since it + // doesn't, we manually listen for the events and so we have to enqueue and + // process the abstract event manually. + // + // Batching is necessary here in order to ensure that all event handlers run + // before the next rerender (including event handlers attached to ancestor + // elements instead of directly on the input). Without this, controlled + // components don't work properly in conjunction with event bubbling because + // the component is rerendered and the value reverted before all the event + // handlers can run. See https://github.com/facebook/react/issues/708. + ReactUpdates.batchedUpdates(runEventInBatch, event); + } + + function runEventInBatch(event) { + EventPluginHub.enqueueEvents(event); + EventPluginHub.processEventQueue(false); + } + + function startWatchingForChangeEventIE8(target, targetInst) { + activeElement = target; + activeElementInst = targetInst; + activeElement.attachEvent('onchange', manualDispatchChangeEvent); + } + + function stopWatchingForChangeEventIE8() { + if (!activeElement) { + return; + } + activeElement.detachEvent('onchange', manualDispatchChangeEvent); + activeElement = null; + activeElementInst = null; + } + + function getTargetInstForChangeEvent(topLevelType, targetInst) { + if (topLevelType === 'topChange') { + return targetInst; + } + } + function handleEventsForChangeEventIE8(topLevelType, target, targetInst) { + if (topLevelType === 'topFocus') { + // stopWatching() should be a noop here but we call it just in case we + // missed a blur event somehow. + stopWatchingForChangeEventIE8(); + startWatchingForChangeEventIE8(target, targetInst); + } else if (topLevelType === 'topBlur') { + stopWatchingForChangeEventIE8(); + } + } + + /** + * SECTION: handle `input` event + */ + var isInputEventSupported = false; + if (ExecutionEnvironment.canUseDOM) { + // IE9 claims to support the input event but fails to trigger it when + // deleting text, so we ignore its input events. + // IE10+ fire input events to often, such when a placeholder + // changes or when an input with a placeholder is focused. + isInputEventSupported = isEventSupported('input') && (!document.documentMode || document.documentMode > 11); + } + + /** + * (For IE <=11) Replacement getter/setter for the `value` property that gets + * set on the active element. + */ + var newValueProp = { + get: function get() { + return activeElementValueProp.get.call(this); + }, + set: function set(val) { + // Cast to a string so we can do equality checks. + activeElementValue = '' + val; + activeElementValueProp.set.call(this, val); + } + }; + + /** + * (For IE <=11) Starts tracking propertychange events on the passed-in element + * and override the value property so that we can distinguish user events from + * value changes in JS. + */ + function startWatchingForValueChange(target, targetInst) { + activeElement = target; + activeElementInst = targetInst; + activeElementValue = target.value; + activeElementValueProp = Object.getOwnPropertyDescriptor(target.constructor.prototype, 'value'); + + // Not guarded in a canDefineProperty check: IE8 supports defineProperty only + // on DOM elements + Object.defineProperty(activeElement, 'value', newValueProp); + if (activeElement.attachEvent) { + activeElement.attachEvent('onpropertychange', handlePropertyChange); + } else { + activeElement.addEventListener('propertychange', handlePropertyChange, false); + } + } + + /** + * (For IE <=11) Removes the event listeners from the currently-tracked element, + * if any exists. + */ + function stopWatchingForValueChange() { + if (!activeElement) { + return; + } + + // delete restores the original property definition + delete activeElement.value; + + if (activeElement.detachEvent) { + activeElement.detachEvent('onpropertychange', handlePropertyChange); + } else { + activeElement.removeEventListener('propertychange', handlePropertyChange, false); + } + + activeElement = null; + activeElementInst = null; + activeElementValue = null; + activeElementValueProp = null; + } + + /** + * (For IE <=11) Handles a propertychange event, sending a `change` event if + * the value of the active element has changed. + */ + function handlePropertyChange(nativeEvent) { + if (nativeEvent.propertyName !== 'value') { + return; + } + var value = nativeEvent.srcElement.value; + if (value === activeElementValue) { + return; + } + activeElementValue = value; + + manualDispatchChangeEvent(nativeEvent); + } + + /** + * If a `change` event should be fired, returns the target's ID. + */ + function getTargetInstForInputEvent(topLevelType, targetInst) { + if (topLevelType === 'topInput') { + // In modern browsers (i.e., not IE8 or IE9), the input event is exactly + // what we want so fall through here and trigger an abstract event + return targetInst; + } + } + + function handleEventsForInputEventIE(topLevelType, target, targetInst) { + if (topLevelType === 'topFocus') { + // In IE8, we can capture almost all .value changes by adding a + // propertychange handler and looking for events with propertyName + // equal to 'value' + // In IE9-11, propertychange fires for most input events but is buggy and + // doesn't fire when text is deleted, but conveniently, selectionchange + // appears to fire in all of the remaining cases so we catch those and + // forward the event if the value has changed + // In either case, we don't want to call the event handler if the value + // is changed from JS so we redefine a setter for `.value` that updates + // our activeElementValue variable, allowing us to ignore those changes + // + // stopWatching() should be a noop here but we call it just in case we + // missed a blur event somehow. + stopWatchingForValueChange(); + startWatchingForValueChange(target, targetInst); + } else if (topLevelType === 'topBlur') { + stopWatchingForValueChange(); + } + } + + // For IE8 and IE9. + function getTargetInstForInputEventIE(topLevelType, targetInst) { + if (topLevelType === 'topSelectionChange' || topLevelType === 'topKeyUp' || topLevelType === 'topKeyDown') { + // On the selectionchange event, the target is just document which isn't + // helpful for us so just check activeElement instead. + // + // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire + // propertychange on the first input event after setting `value` from a + // script and fires only keydown, keypress, keyup. Catching keyup usually + // gets it and catching keydown lets us fire an event for the first + // keystroke if user does a key repeat (it'll be a little delayed: right + // before the second keystroke). Other input methods (e.g., paste) seem to + // fire selectionchange normally. + if (activeElement && activeElement.value !== activeElementValue) { + activeElementValue = activeElement.value; + return activeElementInst; + } + } + } + + /** + * SECTION: handle `click` event + */ + function shouldUseClickEvent(elem) { + // Use the `click` event to detect changes to checkbox and radio inputs. + // This approach works across all browsers, whereas `change` does not fire + // until `blur` in IE8. + return elem.nodeName && elem.nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio'); + } + + function getTargetInstForClickEvent(topLevelType, targetInst) { + if (topLevelType === 'topClick') { + return targetInst; + } + } + + /** + * This plugin creates an `onChange` event that normalizes change events + * across form elements. This event fires at a time when it's possible to + * change the element's value without seeing a flicker. + * + * Supported elements are: + * - input (see `isTextInputElement`) + * - textarea + * - select + */ + var ChangeEventPlugin = { + + eventTypes: eventTypes, + + extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window; + + var getTargetInstFunc, handleEventFunc; + if (shouldUseChangeEvent(targetNode)) { + if (doesChangeEventBubble) { + getTargetInstFunc = getTargetInstForChangeEvent; + } else { + handleEventFunc = handleEventsForChangeEventIE8; + } + } else if (isTextInputElement(targetNode)) { + if (isInputEventSupported) { + getTargetInstFunc = getTargetInstForInputEvent; + } else { + getTargetInstFunc = getTargetInstForInputEventIE; + handleEventFunc = handleEventsForInputEventIE; + } + } else if (shouldUseClickEvent(targetNode)) { + getTargetInstFunc = getTargetInstForClickEvent; + } + + if (getTargetInstFunc) { + var inst = getTargetInstFunc(topLevelType, targetInst); + if (inst) { + var event = SyntheticEvent.getPooled(eventTypes.change, inst, nativeEvent, nativeEventTarget); + event.type = 'change'; + EventPropagators.accumulateTwoPhaseDispatches(event); + return event; + } + } + + if (handleEventFunc) { + handleEventFunc(topLevelType, targetNode, targetInst); + } + } + + }; + + module.exports = ChangeEventPlugin; + +/***/ }, +/* 192 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var DOMLazyTree = __webpack_require__(31); + var ExecutionEnvironment = __webpack_require__(10); + + var createNodesFromMarkup = __webpack_require__(253); + var emptyFunction = __webpack_require__(19); + var invariant = __webpack_require__(3); + + var Danger = { + + /** + * Replaces a node with a string of markup at its current position within its + * parent. The markup must render into a single root node. + * + * @param {DOMElement} oldChild Child node to replace. + * @param {string} markup Markup to render in place of the child node. + * @internal + */ + dangerouslyReplaceNodeWithMarkup: function dangerouslyReplaceNodeWithMarkup(oldChild, markup) { + !ExecutionEnvironment.canUseDOM ? false ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering.') : _prodInvariant('56') : void 0; + !markup ? false ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : _prodInvariant('57') : void 0; + !(oldChild.nodeName !== 'HTML') ? false ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the <html> node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString().') : _prodInvariant('58') : void 0; + + if (typeof markup === 'string') { + var newChild = createNodesFromMarkup(markup, emptyFunction)[0]; + oldChild.parentNode.replaceChild(newChild, oldChild); + } else { + DOMLazyTree.replaceChildWithTree(oldChild, markup); + } + } + + }; + + module.exports = Danger; + +/***/ }, +/* 193 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * Module that is injectable into `EventPluginHub`, that specifies a + * deterministic ordering of `EventPlugin`s. A convenient way to reason about + * plugins, without having to package every one of them. This is better than + * having plugins be ordered in the same order that they are injected because + * that ordering would be influenced by the packaging order. + * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that + * preventing default on events is convenient in `SimpleEventPlugin` handlers. + */ + + var DefaultEventPluginOrder = ['ResponderEventPlugin', 'SimpleEventPlugin', 'TapEventPlugin', 'EnterLeaveEventPlugin', 'ChangeEventPlugin', 'SelectEventPlugin', 'BeforeInputEventPlugin']; + + module.exports = DefaultEventPluginOrder; + +/***/ }, +/* 194 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var EventPropagators = __webpack_require__(43); + var ReactDOMComponentTree = __webpack_require__(6); + var SyntheticMouseEvent = __webpack_require__(48); + + var eventTypes = { + mouseEnter: { + registrationName: 'onMouseEnter', + dependencies: ['topMouseOut', 'topMouseOver'] + }, + mouseLeave: { + registrationName: 'onMouseLeave', + dependencies: ['topMouseOut', 'topMouseOver'] + } + }; + + var EnterLeaveEventPlugin = { + + eventTypes: eventTypes, + + /** + * For almost every interaction we care about, there will be both a top-level + * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that + * we do not extract duplicate events. However, moving the mouse into the + * browser from outside will not fire a `mouseout` event. In this case, we use + * the `mouseover` top-level event. + */ + extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + if (topLevelType === 'topMouseOver' && (nativeEvent.relatedTarget || nativeEvent.fromElement)) { + return null; + } + if (topLevelType !== 'topMouseOut' && topLevelType !== 'topMouseOver') { + // Must not be a mouse in or mouse out - ignoring. + return null; + } + + var win; + if (nativeEventTarget.window === nativeEventTarget) { + // `nativeEventTarget` is probably a window object. + win = nativeEventTarget; + } else { + // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8. + var doc = nativeEventTarget.ownerDocument; + if (doc) { + win = doc.defaultView || doc.parentWindow; + } else { + win = window; + } + } + + var from; + var to; + if (topLevelType === 'topMouseOut') { + from = targetInst; + var related = nativeEvent.relatedTarget || nativeEvent.toElement; + to = related ? ReactDOMComponentTree.getClosestInstanceFromNode(related) : null; + } else { + // Moving to a node from outside the window. + from = null; + to = targetInst; + } + + if (from === to) { + // Nothing pertains to our managed components. + return null; + } + + var fromNode = from == null ? win : ReactDOMComponentTree.getNodeFromInstance(from); + var toNode = to == null ? win : ReactDOMComponentTree.getNodeFromInstance(to); + + var leave = SyntheticMouseEvent.getPooled(eventTypes.mouseLeave, from, nativeEvent, nativeEventTarget); + leave.type = 'mouseleave'; + leave.target = fromNode; + leave.relatedTarget = toNode; + + var enter = SyntheticMouseEvent.getPooled(eventTypes.mouseEnter, to, nativeEvent, nativeEventTarget); + enter.type = 'mouseenter'; + enter.target = toNode; + enter.relatedTarget = fromNode; + + EventPropagators.accumulateEnterLeaveDispatches(leave, enter, from, to); + + return [leave, enter]; + } + + }; + + module.exports = EnterLeaveEventPlugin; + +/***/ }, +/* 195 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var PooledClass = __webpack_require__(27); + + var getTextContentAccessor = __webpack_require__(113); + + /** + * This helper class stores information about text content of a target node, + * allowing comparison of content before and after a given event. + * + * Identify the node where selection currently begins, then observe + * both its text content and its current position in the DOM. Since the + * browser may natively replace the target node during composition, we can + * use its position to find its replacement. + * + * @param {DOMEventTarget} root + */ + function FallbackCompositionState(root) { + this._root = root; + this._startText = this.getText(); + this._fallbackText = null; + } + + _assign(FallbackCompositionState.prototype, { + destructor: function destructor() { + this._root = null; + this._startText = null; + this._fallbackText = null; + }, + + /** + * Get current text of input. + * + * @return {string} + */ + getText: function getText() { + if ('value' in this._root) { + return this._root.value; + } + return this._root[getTextContentAccessor()]; + }, + + /** + * Determine the differing substring between the initially stored + * text content and the current content. + * + * @return {string} + */ + getData: function getData() { + if (this._fallbackText) { + return this._fallbackText; + } + + var start; + var startValue = this._startText; + var startLength = startValue.length; + var end; + var endValue = this.getText(); + var endLength = endValue.length; + + for (start = 0; start < startLength; start++) { + if (startValue[start] !== endValue[start]) { + break; + } + } + + var minEnd = startLength - start; + for (end = 1; end <= minEnd; end++) { + if (startValue[startLength - end] !== endValue[endLength - end]) { + break; + } + } + + var sliceTail = end > 1 ? 1 - end : undefined; + this._fallbackText = endValue.slice(start, sliceTail); + return this._fallbackText; + } + }); + + PooledClass.addPoolingTo(FallbackCompositionState); + + module.exports = FallbackCompositionState; + +/***/ }, +/* 196 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var DOMProperty = __webpack_require__(32); + + var MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY; + var HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE; + var HAS_NUMERIC_VALUE = DOMProperty.injection.HAS_NUMERIC_VALUE; + var HAS_POSITIVE_NUMERIC_VALUE = DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE; + var HAS_OVERLOADED_BOOLEAN_VALUE = DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE; + + var HTMLDOMPropertyConfig = { + isCustomAttribute: RegExp.prototype.test.bind(new RegExp('^(data|aria)-[' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$')), + Properties: { + /** + * Standard Properties + */ + accept: 0, + acceptCharset: 0, + accessKey: 0, + action: 0, + allowFullScreen: HAS_BOOLEAN_VALUE, + allowTransparency: 0, + alt: 0, + // specifies target context for links with `preload` type + as: 0, + async: HAS_BOOLEAN_VALUE, + autoComplete: 0, + // autoFocus is polyfilled/normalized by AutoFocusUtils + // autoFocus: HAS_BOOLEAN_VALUE, + autoPlay: HAS_BOOLEAN_VALUE, + capture: HAS_BOOLEAN_VALUE, + cellPadding: 0, + cellSpacing: 0, + charSet: 0, + challenge: 0, + checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + cite: 0, + classID: 0, + className: 0, + cols: HAS_POSITIVE_NUMERIC_VALUE, + colSpan: 0, + content: 0, + contentEditable: 0, + contextMenu: 0, + controls: HAS_BOOLEAN_VALUE, + coords: 0, + crossOrigin: 0, + data: 0, // For `<object />` acts as `src`. + dateTime: 0, + 'default': HAS_BOOLEAN_VALUE, + defer: HAS_BOOLEAN_VALUE, + dir: 0, + disabled: HAS_BOOLEAN_VALUE, + download: HAS_OVERLOADED_BOOLEAN_VALUE, + draggable: 0, + encType: 0, + form: 0, + formAction: 0, + formEncType: 0, + formMethod: 0, + formNoValidate: HAS_BOOLEAN_VALUE, + formTarget: 0, + frameBorder: 0, + headers: 0, + height: 0, + hidden: HAS_BOOLEAN_VALUE, + high: 0, + href: 0, + hrefLang: 0, + htmlFor: 0, + httpEquiv: 0, + icon: 0, + id: 0, + inputMode: 0, + integrity: 0, + is: 0, + keyParams: 0, + keyType: 0, + kind: 0, + label: 0, + lang: 0, + list: 0, + loop: HAS_BOOLEAN_VALUE, + low: 0, + manifest: 0, + marginHeight: 0, + marginWidth: 0, + max: 0, + maxLength: 0, + media: 0, + mediaGroup: 0, + method: 0, + min: 0, + minLength: 0, + // Caution; `option.selected` is not updated if `select.multiple` is + // disabled with `removeAttribute`. + multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + name: 0, + nonce: 0, + noValidate: HAS_BOOLEAN_VALUE, + open: HAS_BOOLEAN_VALUE, + optimum: 0, + pattern: 0, + placeholder: 0, + playsInline: HAS_BOOLEAN_VALUE, + poster: 0, + preload: 0, + profile: 0, + radioGroup: 0, + readOnly: HAS_BOOLEAN_VALUE, + referrerPolicy: 0, + rel: 0, + required: HAS_BOOLEAN_VALUE, + reversed: HAS_BOOLEAN_VALUE, + role: 0, + rows: HAS_POSITIVE_NUMERIC_VALUE, + rowSpan: HAS_NUMERIC_VALUE, + sandbox: 0, + scope: 0, + scoped: HAS_BOOLEAN_VALUE, + scrolling: 0, + seamless: HAS_BOOLEAN_VALUE, + selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + shape: 0, + size: HAS_POSITIVE_NUMERIC_VALUE, + sizes: 0, + span: HAS_POSITIVE_NUMERIC_VALUE, + spellCheck: 0, + src: 0, + srcDoc: 0, + srcLang: 0, + srcSet: 0, + start: HAS_NUMERIC_VALUE, + step: 0, + style: 0, + summary: 0, + tabIndex: 0, + target: 0, + title: 0, + // Setting .type throws on non-<input> tags + type: 0, + useMap: 0, + value: 0, + width: 0, + wmode: 0, + wrap: 0, + + /** + * RDFa Properties + */ + about: 0, + datatype: 0, + inlist: 0, + prefix: 0, + // property is also supported for OpenGraph in meta tags. + property: 0, + resource: 0, + 'typeof': 0, + vocab: 0, + + /** + * Non-standard Properties + */ + // autoCapitalize and autoCorrect are supported in Mobile Safari for + // keyboard hints. + autoCapitalize: 0, + autoCorrect: 0, + // autoSave allows WebKit/Blink to persist values of input fields on page reloads + autoSave: 0, + // color is for Safari mask-icon link + color: 0, + // itemProp, itemScope, itemType are for + // Microdata support. See http://schema.org/docs/gs.html + itemProp: 0, + itemScope: HAS_BOOLEAN_VALUE, + itemType: 0, + // itemID and itemRef are for Microdata support as well but + // only specified in the WHATWG spec document. See + // https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api + itemID: 0, + itemRef: 0, + // results show looking glass icon and recent searches on input + // search fields in WebKit/Blink + results: 0, + // IE-only attribute that specifies security restrictions on an iframe + // as an alternative to the sandbox attribute on IE<10 + security: 0, + // IE-only attribute that controls focus behavior + unselectable: 0 + }, + DOMAttributeNames: { + acceptCharset: 'accept-charset', + className: 'class', + htmlFor: 'for', + httpEquiv: 'http-equiv' + }, + DOMPropertyNames: {} + }; + + module.exports = HTMLDOMPropertyConfig; + +/***/ }, +/* 197 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(process) {/** + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactReconciler = __webpack_require__(34); + + var instantiateReactComponent = __webpack_require__(115); + var KeyEscapeUtils = __webpack_require__(62); + var shouldUpdateReactComponent = __webpack_require__(72); + var traverseAllChildren = __webpack_require__(118); + var warning = __webpack_require__(5); + + var ReactComponentTreeHook; + + if (typeof process !== 'undefined' && ({"NODE_ENV":"production"}) && ("production") === 'test') { + // Temporary hack. + // Inline requires don't work well with Jest: + // https://github.com/facebook/react/issues/7240 + // Remove the inline requires when we don't need them anymore: + // https://github.com/facebook/react/pull/7178 + ReactComponentTreeHook = __webpack_require__(76); + } + + function instantiateChild(childInstances, child, name, selfDebugID) { + // We found a component instance. + var keyUnique = childInstances[name] === undefined; + if (false) { + if (!ReactComponentTreeHook) { + ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook'); + } + if (!keyUnique) { + process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0; + } + } + if (child != null && keyUnique) { + childInstances[name] = instantiateReactComponent(child, true); + } + } + + /** + * ReactChildReconciler provides helpers for initializing or updating a set of + * children. Its output is suitable for passing it onto ReactMultiChild which + * does diffed reordering and insertion. + */ + var ReactChildReconciler = { + /** + * Generates a "mount image" for each of the supplied children. In the case + * of `ReactDOMComponent`, a mount image is a string of markup. + * + * @param {?object} nestedChildNodes Nested child maps. + * @return {?object} A set of child instances. + * @internal + */ + instantiateChildren: function instantiateChildren(nestedChildNodes, transaction, context, selfDebugID // 0 in production and for roots + ) { + if (nestedChildNodes == null) { + return null; + } + var childInstances = {}; + + if (false) { + traverseAllChildren(nestedChildNodes, function (childInsts, child, name) { + return instantiateChild(childInsts, child, name, selfDebugID); + }, childInstances); + } else { + traverseAllChildren(nestedChildNodes, instantiateChild, childInstances); + } + return childInstances; + }, + + /** + * Updates the rendered children and returns a new set of children. + * + * @param {?object} prevChildren Previously initialized set of children. + * @param {?object} nextChildren Flat child element maps. + * @param {ReactReconcileTransaction} transaction + * @param {object} context + * @return {?object} A new set of child instances. + * @internal + */ + updateChildren: function updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, hostParent, hostContainerInfo, context, selfDebugID // 0 in production and for roots + ) { + // We currently don't have a way to track moves here but if we use iterators + // instead of for..in we can zip the iterators and check if an item has + // moved. + // TODO: If nothing has changed, return the prevChildren object so that we + // can quickly bailout if nothing has changed. + if (!nextChildren && !prevChildren) { + return; + } + var name; + var prevChild; + for (name in nextChildren) { + if (!nextChildren.hasOwnProperty(name)) { + continue; + } + prevChild = prevChildren && prevChildren[name]; + var prevElement = prevChild && prevChild._currentElement; + var nextElement = nextChildren[name]; + if (prevChild != null && shouldUpdateReactComponent(prevElement, nextElement)) { + ReactReconciler.receiveComponent(prevChild, nextElement, transaction, context); + nextChildren[name] = prevChild; + } else { + if (prevChild) { + removedNodes[name] = ReactReconciler.getHostNode(prevChild); + ReactReconciler.unmountComponent(prevChild, false); + } + // The child must be instantiated before it's mounted. + var nextChildInstance = instantiateReactComponent(nextElement, true); + nextChildren[name] = nextChildInstance; + // Creating mount image now ensures refs are resolved in right order + // (see https://github.com/facebook/react/pull/7101 for explanation). + var nextChildMountImage = ReactReconciler.mountComponent(nextChildInstance, transaction, hostParent, hostContainerInfo, context, selfDebugID); + mountImages.push(nextChildMountImage); + } + } + // Unmount children that are no longer present. + for (name in prevChildren) { + if (prevChildren.hasOwnProperty(name) && !(nextChildren && nextChildren.hasOwnProperty(name))) { + prevChild = prevChildren[name]; + removedNodes[name] = ReactReconciler.getHostNode(prevChild); + ReactReconciler.unmountComponent(prevChild, false); + } + } + }, + + /** + * Unmounts all rendered children. This should be used to clean up children + * when this component is unmounted. + * + * @param {?object} renderedChildren Previously initialized set of children. + * @internal + */ + unmountChildren: function unmountChildren(renderedChildren, safely) { + for (var name in renderedChildren) { + if (renderedChildren.hasOwnProperty(name)) { + var renderedChild = renderedChildren[name]; + ReactReconciler.unmountComponent(renderedChild, safely); + } + } + } + + }; + + module.exports = ReactChildReconciler; + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29))) + +/***/ }, +/* 198 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var DOMChildrenOperations = __webpack_require__(58); + var ReactDOMIDOperations = __webpack_require__(204); + + /** + * Abstracts away all functionality of the reconciler that requires knowledge of + * the browser context. TODO: These callers should be refactored to avoid the + * need for this injection. + */ + var ReactComponentBrowserEnvironment = { + + processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates, + + replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup + + }; + + module.exports = ReactComponentBrowserEnvironment; + +/***/ }, +/* 199 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(7); + + var React = __webpack_require__(20); + var ReactComponentEnvironment = __webpack_require__(64); + var ReactCurrentOwner = __webpack_require__(21); + var ReactErrorUtils = __webpack_require__(65); + var ReactInstanceMap = __webpack_require__(33); + var ReactInstrumentation = __webpack_require__(14); + var ReactNodeTypes = __webpack_require__(108); + var ReactReconciler = __webpack_require__(34); + + if (false) { + var checkReactTypeSpec = require('./checkReactTypeSpec'); + } + + var emptyObject = __webpack_require__(120); + var invariant = __webpack_require__(3); + var shallowEqual = __webpack_require__(74); + var shouldUpdateReactComponent = __webpack_require__(72); + var warning = __webpack_require__(5); + + var CompositeTypes = { + ImpureClass: 0, + PureClass: 1, + StatelessFunctional: 2 + }; + + function StatelessComponent(Component) {} + StatelessComponent.prototype.render = function () { + var Component = ReactInstanceMap.get(this)._currentElement.type; + var element = Component(this.props, this.context, this.updater); + warnIfInvalidElement(Component, element); + return element; + }; + + function warnIfInvalidElement(Component, element) { + if (false) { + process.env.NODE_ENV !== 'production' ? warning(element === null || element === false || React.isValidElement(element), '%s(...): A valid React element (or null) must be returned. You may have ' + 'returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : void 0; + process.env.NODE_ENV !== 'production' ? warning(!Component.childContextTypes, '%s(...): childContextTypes cannot be defined on a functional component.', Component.displayName || Component.name || 'Component') : void 0; + } + } + + function shouldConstruct(Component) { + return !!(Component.prototype && Component.prototype.isReactComponent); + } + + function isPureComponent(Component) { + return !!(Component.prototype && Component.prototype.isPureReactComponent); + } + + // Separated into a function to contain deoptimizations caused by try/finally. + function measureLifeCyclePerf(fn, debugID, timerType) { + if (debugID === 0) { + // Top-level wrappers (see ReactMount) and empty components (see + // ReactDOMEmptyComponent) are invisible to hooks and devtools. + // Both are implementation details that should go away in the future. + return fn(); + } + + ReactInstrumentation.debugTool.onBeginLifeCycleTimer(debugID, timerType); + try { + return fn(); + } finally { + ReactInstrumentation.debugTool.onEndLifeCycleTimer(debugID, timerType); + } + } + + /** + * ------------------ The Life-Cycle of a Composite Component ------------------ + * + * - constructor: Initialization of state. The instance is now retained. + * - componentWillMount + * - render + * - [children's constructors] + * - [children's componentWillMount and render] + * - [children's componentDidMount] + * - componentDidMount + * + * Update Phases: + * - componentWillReceiveProps (only called if parent updated) + * - shouldComponentUpdate + * - componentWillUpdate + * - render + * - [children's constructors or receive props phases] + * - componentDidUpdate + * + * - componentWillUnmount + * - [children's componentWillUnmount] + * - [children destroyed] + * - (destroyed): The instance is now blank, released by React and ready for GC. + * + * ----------------------------------------------------------------------------- + */ + + /** + * An incrementing ID assigned to each component when it is mounted. This is + * used to enforce the order in which `ReactUpdates` updates dirty components. + * + * @private + */ + var nextMountID = 1; + + /** + * @lends {ReactCompositeComponent.prototype} + */ + var ReactCompositeComponent = { + + /** + * Base constructor for all composite component. + * + * @param {ReactElement} element + * @final + * @internal + */ + construct: function construct(element) { + this._currentElement = element; + this._rootNodeID = 0; + this._compositeType = null; + this._instance = null; + this._hostParent = null; + this._hostContainerInfo = null; + + // See ReactUpdateQueue + this._updateBatchNumber = null; + this._pendingElement = null; + this._pendingStateQueue = null; + this._pendingReplaceState = false; + this._pendingForceUpdate = false; + + this._renderedNodeType = null; + this._renderedComponent = null; + this._context = null; + this._mountOrder = 0; + this._topLevelWrapper = null; + + // See ReactUpdates and ReactUpdateQueue. + this._pendingCallbacks = null; + + // ComponentWillUnmount shall only be called once + this._calledComponentWillUnmount = false; + + if (false) { + this._warnedAboutRefsInRender = false; + } + }, + + /** + * Initializes the component, renders markup, and registers event listeners. + * + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @param {?object} hostParent + * @param {?object} hostContainerInfo + * @param {?object} context + * @return {?string} Rendered markup to be inserted into the DOM. + * @final + * @internal + */ + mountComponent: function mountComponent(transaction, hostParent, hostContainerInfo, context) { + var _this = this; + + this._context = context; + this._mountOrder = nextMountID++; + this._hostParent = hostParent; + this._hostContainerInfo = hostContainerInfo; + + var publicProps = this._currentElement.props; + var publicContext = this._processContext(context); + + var Component = this._currentElement.type; + + var updateQueue = transaction.getUpdateQueue(); + + // Initialize the public class + var doConstruct = shouldConstruct(Component); + var inst = this._constructComponent(doConstruct, publicProps, publicContext, updateQueue); + var renderedElement; + + // Support functional components + if (!doConstruct && (inst == null || inst.render == null)) { + renderedElement = inst; + warnIfInvalidElement(Component, renderedElement); + !(inst === null || inst === false || React.isValidElement(inst)) ? false ? invariant(false, '%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : _prodInvariant('105', Component.displayName || Component.name || 'Component') : void 0; + inst = new StatelessComponent(Component); + this._compositeType = CompositeTypes.StatelessFunctional; + } else { + if (isPureComponent(Component)) { + this._compositeType = CompositeTypes.PureClass; + } else { + this._compositeType = CompositeTypes.ImpureClass; + } + } + + if (false) { + // This will throw later in _renderValidatedComponent, but add an early + // warning now to help debugging + if (inst.render == null) { + process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`.', Component.displayName || Component.name || 'Component') : void 0; + } + + var propsMutated = inst.props !== publicProps; + var componentName = Component.displayName || Component.name || 'Component'; + + process.env.NODE_ENV !== 'production' ? warning(inst.props === undefined || !propsMutated, '%s(...): When calling super() in `%s`, make sure to pass ' + 'up the same props that your component\'s constructor was passed.', componentName, componentName) : void 0; + } + + // These should be set up in the constructor, but as a convenience for + // simpler class abstractions, we set them up after the fact. + inst.props = publicProps; + inst.context = publicContext; + inst.refs = emptyObject; + inst.updater = updateQueue; + + this._instance = inst; + + // Store a reference from the instance back to the internal representation + ReactInstanceMap.set(inst, this); + + if (false) { + // Since plain JS classes are defined without any special initialization + // logic, we can not catch common errors early. Therefore, we have to + // catch them here, at initialization time, instead. + process.env.NODE_ENV !== 'production' ? warning(!inst.getInitialState || inst.getInitialState.isReactClassApproved, 'getInitialState was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Did you mean to define a state property instead?', this.getName() || 'a component') : void 0; + process.env.NODE_ENV !== 'production' ? warning(!inst.getDefaultProps || inst.getDefaultProps.isReactClassApproved, 'getDefaultProps was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Use a static property to define defaultProps instead.', this.getName() || 'a component') : void 0; + process.env.NODE_ENV !== 'production' ? warning(!inst.propTypes, 'propTypes was defined as an instance property on %s. Use a static ' + 'property to define propTypes instead.', this.getName() || 'a component') : void 0; + process.env.NODE_ENV !== 'production' ? warning(!inst.contextTypes, 'contextTypes was defined as an instance property on %s. Use a ' + 'static property to define contextTypes instead.', this.getName() || 'a component') : void 0; + process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentShouldUpdate !== 'function', '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', this.getName() || 'A component') : void 0; + process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentDidUnmount !== 'function', '%s has a method called ' + 'componentDidUnmount(). But there is no such lifecycle method. ' + 'Did you mean componentWillUnmount()?', this.getName() || 'A component') : void 0; + process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentWillRecieveProps !== 'function', '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', this.getName() || 'A component') : void 0; + } + + var initialState = inst.state; + if (initialState === undefined) { + inst.state = initialState = null; + } + !((typeof initialState === 'undefined' ? 'undefined' : _typeof(initialState)) === 'object' && !Array.isArray(initialState)) ? false ? invariant(false, '%s.state: must be set to an object or null', this.getName() || 'ReactCompositeComponent') : _prodInvariant('106', this.getName() || 'ReactCompositeComponent') : void 0; + + this._pendingStateQueue = null; + this._pendingReplaceState = false; + this._pendingForceUpdate = false; + + var markup; + if (inst.unstable_handleError) { + markup = this.performInitialMountWithErrorHandling(renderedElement, hostParent, hostContainerInfo, transaction, context); + } else { + markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context); + } + + if (inst.componentDidMount) { + if (false) { + transaction.getReactMountReady().enqueue(function () { + measureLifeCyclePerf(function () { + return inst.componentDidMount(); + }, _this._debugID, 'componentDidMount'); + }); + } else { + transaction.getReactMountReady().enqueue(inst.componentDidMount, inst); + } + } + + return markup; + }, + + _constructComponent: function _constructComponent(doConstruct, publicProps, publicContext, updateQueue) { + if (false) { + ReactCurrentOwner.current = this; + try { + return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue); + } finally { + ReactCurrentOwner.current = null; + } + } else { + return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue); + } + }, + + _constructComponentWithoutOwner: function _constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue) { + var Component = this._currentElement.type; + + if (doConstruct) { + if (false) { + return measureLifeCyclePerf(function () { + return new Component(publicProps, publicContext, updateQueue); + }, this._debugID, 'ctor'); + } else { + return new Component(publicProps, publicContext, updateQueue); + } + } + + // This can still be an instance in case of factory components + // but we'll count this as time spent rendering as the more common case. + if (false) { + return measureLifeCyclePerf(function () { + return Component(publicProps, publicContext, updateQueue); + }, this._debugID, 'render'); + } else { + return Component(publicProps, publicContext, updateQueue); + } + }, + + performInitialMountWithErrorHandling: function performInitialMountWithErrorHandling(renderedElement, hostParent, hostContainerInfo, transaction, context) { + var markup; + var checkpoint = transaction.checkpoint(); + try { + markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context); + } catch (e) { + // Roll back to checkpoint, handle error (which may add items to the transaction), and take a new checkpoint + transaction.rollback(checkpoint); + this._instance.unstable_handleError(e); + if (this._pendingStateQueue) { + this._instance.state = this._processPendingState(this._instance.props, this._instance.context); + } + checkpoint = transaction.checkpoint(); + + this._renderedComponent.unmountComponent(true); + transaction.rollback(checkpoint); + + // Try again - we've informed the component about the error, so they can render an error message this time. + // If this throws again, the error will bubble up (and can be caught by a higher error boundary). + markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context); + } + return markup; + }, + + performInitialMount: function performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context) { + var inst = this._instance; + + var debugID = 0; + if (false) { + debugID = this._debugID; + } + + if (inst.componentWillMount) { + if (false) { + measureLifeCyclePerf(function () { + return inst.componentWillMount(); + }, debugID, 'componentWillMount'); + } else { + inst.componentWillMount(); + } + // When mounting, calls to `setState` by `componentWillMount` will set + // `this._pendingStateQueue` without triggering a re-render. + if (this._pendingStateQueue) { + inst.state = this._processPendingState(inst.props, inst.context); + } + } + + // If not a stateless component, we now render + if (renderedElement === undefined) { + renderedElement = this._renderValidatedComponent(); + } + + var nodeType = ReactNodeTypes.getType(renderedElement); + this._renderedNodeType = nodeType; + var child = this._instantiateReactComponent(renderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */ + ); + this._renderedComponent = child; + + var markup = ReactReconciler.mountComponent(child, transaction, hostParent, hostContainerInfo, this._processChildContext(context), debugID); + + if (false) { + if (debugID !== 0) { + var childDebugIDs = child._debugID !== 0 ? [child._debugID] : []; + ReactInstrumentation.debugTool.onSetChildren(debugID, childDebugIDs); + } + } + + return markup; + }, + + getHostNode: function getHostNode() { + return ReactReconciler.getHostNode(this._renderedComponent); + }, + + /** + * Releases any resources allocated by `mountComponent`. + * + * @final + * @internal + */ + unmountComponent: function unmountComponent(safely) { + if (!this._renderedComponent) { + return; + } + + var inst = this._instance; + + if (inst.componentWillUnmount && !inst._calledComponentWillUnmount) { + inst._calledComponentWillUnmount = true; + + if (safely) { + var name = this.getName() + '.componentWillUnmount()'; + ReactErrorUtils.invokeGuardedCallback(name, inst.componentWillUnmount.bind(inst)); + } else { + if (false) { + measureLifeCyclePerf(function () { + return inst.componentWillUnmount(); + }, this._debugID, 'componentWillUnmount'); + } else { + inst.componentWillUnmount(); + } + } + } + + if (this._renderedComponent) { + ReactReconciler.unmountComponent(this._renderedComponent, safely); + this._renderedNodeType = null; + this._renderedComponent = null; + this._instance = null; + } + + // Reset pending fields + // Even if this component is scheduled for another update in ReactUpdates, + // it would still be ignored because these fields are reset. + this._pendingStateQueue = null; + this._pendingReplaceState = false; + this._pendingForceUpdate = false; + this._pendingCallbacks = null; + this._pendingElement = null; + + // These fields do not really need to be reset since this object is no + // longer accessible. + this._context = null; + this._rootNodeID = 0; + this._topLevelWrapper = null; + + // Delete the reference from the instance to this internal representation + // which allow the internals to be properly cleaned up even if the user + // leaks a reference to the public instance. + ReactInstanceMap.remove(inst); + + // Some existing components rely on inst.props even after they've been + // destroyed (in event handlers). + // TODO: inst.props = null; + // TODO: inst.state = null; + // TODO: inst.context = null; + }, + + /** + * Filters the context object to only contain keys specified in + * `contextTypes` + * + * @param {object} context + * @return {?object} + * @private + */ + _maskContext: function _maskContext(context) { + var Component = this._currentElement.type; + var contextTypes = Component.contextTypes; + if (!contextTypes) { + return emptyObject; + } + var maskedContext = {}; + for (var contextName in contextTypes) { + maskedContext[contextName] = context[contextName]; + } + return maskedContext; + }, + + /** + * Filters the context object to only contain keys specified in + * `contextTypes`, and asserts that they are valid. + * + * @param {object} context + * @return {?object} + * @private + */ + _processContext: function _processContext(context) { + var maskedContext = this._maskContext(context); + if (false) { + var Component = this._currentElement.type; + if (Component.contextTypes) { + this._checkContextTypes(Component.contextTypes, maskedContext, 'context'); + } + } + return maskedContext; + }, + + /** + * @param {object} currentContext + * @return {object} + * @private + */ + _processChildContext: function _processChildContext(currentContext) { + var Component = this._currentElement.type; + var inst = this._instance; + var childContext; + + if (inst.getChildContext) { + if (false) { + ReactInstrumentation.debugTool.onBeginProcessingChildContext(); + try { + childContext = inst.getChildContext(); + } finally { + ReactInstrumentation.debugTool.onEndProcessingChildContext(); + } + } else { + childContext = inst.getChildContext(); + } + } + + if (childContext) { + !(_typeof(Component.childContextTypes) === 'object') ? false ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().', this.getName() || 'ReactCompositeComponent') : _prodInvariant('107', this.getName() || 'ReactCompositeComponent') : void 0; + if (false) { + this._checkContextTypes(Component.childContextTypes, childContext, 'childContext'); + } + for (var name in childContext) { + !(name in Component.childContextTypes) ? false ? invariant(false, '%s.getChildContext(): key "%s" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : _prodInvariant('108', this.getName() || 'ReactCompositeComponent', name) : void 0; + } + return _assign({}, currentContext, childContext); + } + return currentContext; + }, + + /** + * Assert that the context types are valid + * + * @param {object} typeSpecs Map of context field to a ReactPropType + * @param {object} values Runtime values that need to be type-checked + * @param {string} location e.g. "prop", "context", "child context" + * @private + */ + _checkContextTypes: function _checkContextTypes(typeSpecs, values, location) { + if (false) { + checkReactTypeSpec(typeSpecs, values, location, this.getName(), null, this._debugID); + } + }, + + receiveComponent: function receiveComponent(nextElement, transaction, nextContext) { + var prevElement = this._currentElement; + var prevContext = this._context; + + this._pendingElement = null; + + this.updateComponent(transaction, prevElement, nextElement, prevContext, nextContext); + }, + + /** + * If any of `_pendingElement`, `_pendingStateQueue`, or `_pendingForceUpdate` + * is set, update the component. + * + * @param {ReactReconcileTransaction} transaction + * @internal + */ + performUpdateIfNecessary: function performUpdateIfNecessary(transaction) { + if (this._pendingElement != null) { + ReactReconciler.receiveComponent(this, this._pendingElement, transaction, this._context); + } else if (this._pendingStateQueue !== null || this._pendingForceUpdate) { + this.updateComponent(transaction, this._currentElement, this._currentElement, this._context, this._context); + } else { + this._updateBatchNumber = null; + } + }, + + /** + * Perform an update to a mounted component. The componentWillReceiveProps and + * shouldComponentUpdate methods are called, then (assuming the update isn't + * skipped) the remaining update lifecycle methods are called and the DOM + * representation is updated. + * + * By default, this implements React's rendering and reconciliation algorithm. + * Sophisticated clients may wish to override this. + * + * @param {ReactReconcileTransaction} transaction + * @param {ReactElement} prevParentElement + * @param {ReactElement} nextParentElement + * @internal + * @overridable + */ + updateComponent: function updateComponent(transaction, prevParentElement, nextParentElement, prevUnmaskedContext, nextUnmaskedContext) { + var inst = this._instance; + !(inst != null) ? false ? invariant(false, 'Attempted to update component `%s` that has already been unmounted (or failed to mount).', this.getName() || 'ReactCompositeComponent') : _prodInvariant('136', this.getName() || 'ReactCompositeComponent') : void 0; + + var willReceive = false; + var nextContext; + + // Determine if the context has changed or not + if (this._context === nextUnmaskedContext) { + nextContext = inst.context; + } else { + nextContext = this._processContext(nextUnmaskedContext); + willReceive = true; + } + + var prevProps = prevParentElement.props; + var nextProps = nextParentElement.props; + + // Not a simple state update but a props update + if (prevParentElement !== nextParentElement) { + willReceive = true; + } + + // An update here will schedule an update but immediately set + // _pendingStateQueue which will ensure that any state updates gets + // immediately reconciled instead of waiting for the next batch. + if (willReceive && inst.componentWillReceiveProps) { + if (false) { + measureLifeCyclePerf(function () { + return inst.componentWillReceiveProps(nextProps, nextContext); + }, this._debugID, 'componentWillReceiveProps'); + } else { + inst.componentWillReceiveProps(nextProps, nextContext); + } + } + + var nextState = this._processPendingState(nextProps, nextContext); + var shouldUpdate = true; + + if (!this._pendingForceUpdate) { + if (inst.shouldComponentUpdate) { + if (false) { + shouldUpdate = measureLifeCyclePerf(function () { + return inst.shouldComponentUpdate(nextProps, nextState, nextContext); + }, this._debugID, 'shouldComponentUpdate'); + } else { + shouldUpdate = inst.shouldComponentUpdate(nextProps, nextState, nextContext); + } + } else { + if (this._compositeType === CompositeTypes.PureClass) { + shouldUpdate = !shallowEqual(prevProps, nextProps) || !shallowEqual(inst.state, nextState); + } + } + } + + if (false) { + process.env.NODE_ENV !== 'production' ? warning(shouldUpdate !== undefined, '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', this.getName() || 'ReactCompositeComponent') : void 0; + } + + this._updateBatchNumber = null; + if (shouldUpdate) { + this._pendingForceUpdate = false; + // Will set `this.props`, `this.state` and `this.context`. + this._performComponentUpdate(nextParentElement, nextProps, nextState, nextContext, transaction, nextUnmaskedContext); + } else { + // If it's determined that a component should not update, we still want + // to set props and state but we shortcut the rest of the update. + this._currentElement = nextParentElement; + this._context = nextUnmaskedContext; + inst.props = nextProps; + inst.state = nextState; + inst.context = nextContext; + } + }, + + _processPendingState: function _processPendingState(props, context) { + var inst = this._instance; + var queue = this._pendingStateQueue; + var replace = this._pendingReplaceState; + this._pendingReplaceState = false; + this._pendingStateQueue = null; + + if (!queue) { + return inst.state; + } + + if (replace && queue.length === 1) { + return queue[0]; + } + + var nextState = _assign({}, replace ? queue[0] : inst.state); + for (var i = replace ? 1 : 0; i < queue.length; i++) { + var partial = queue[i]; + _assign(nextState, typeof partial === 'function' ? partial.call(inst, nextState, props, context) : partial); + } + + return nextState; + }, + + /** + * Merges new props and state, notifies delegate methods of update and + * performs update. + * + * @param {ReactElement} nextElement Next element + * @param {object} nextProps Next public object to set as properties. + * @param {?object} nextState Next object to set as state. + * @param {?object} nextContext Next public object to set as context. + * @param {ReactReconcileTransaction} transaction + * @param {?object} unmaskedContext + * @private + */ + _performComponentUpdate: function _performComponentUpdate(nextElement, nextProps, nextState, nextContext, transaction, unmaskedContext) { + var _this2 = this; + + var inst = this._instance; + + var hasComponentDidUpdate = Boolean(inst.componentDidUpdate); + var prevProps; + var prevState; + var prevContext; + if (hasComponentDidUpdate) { + prevProps = inst.props; + prevState = inst.state; + prevContext = inst.context; + } + + if (inst.componentWillUpdate) { + if (false) { + measureLifeCyclePerf(function () { + return inst.componentWillUpdate(nextProps, nextState, nextContext); + }, this._debugID, 'componentWillUpdate'); + } else { + inst.componentWillUpdate(nextProps, nextState, nextContext); + } + } + + this._currentElement = nextElement; + this._context = unmaskedContext; + inst.props = nextProps; + inst.state = nextState; + inst.context = nextContext; + + this._updateRenderedComponent(transaction, unmaskedContext); + + if (hasComponentDidUpdate) { + if (false) { + transaction.getReactMountReady().enqueue(function () { + measureLifeCyclePerf(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), _this2._debugID, 'componentDidUpdate'); + }); + } else { + transaction.getReactMountReady().enqueue(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), inst); + } + } + }, + + /** + * Call the component's `render` method and update the DOM accordingly. + * + * @param {ReactReconcileTransaction} transaction + * @internal + */ + _updateRenderedComponent: function _updateRenderedComponent(transaction, context) { + var prevComponentInstance = this._renderedComponent; + var prevRenderedElement = prevComponentInstance._currentElement; + var nextRenderedElement = this._renderValidatedComponent(); + + var debugID = 0; + if (false) { + debugID = this._debugID; + } + + if (shouldUpdateReactComponent(prevRenderedElement, nextRenderedElement)) { + ReactReconciler.receiveComponent(prevComponentInstance, nextRenderedElement, transaction, this._processChildContext(context)); + } else { + var oldHostNode = ReactReconciler.getHostNode(prevComponentInstance); + ReactReconciler.unmountComponent(prevComponentInstance, false); + + var nodeType = ReactNodeTypes.getType(nextRenderedElement); + this._renderedNodeType = nodeType; + var child = this._instantiateReactComponent(nextRenderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */ + ); + this._renderedComponent = child; + + var nextMarkup = ReactReconciler.mountComponent(child, transaction, this._hostParent, this._hostContainerInfo, this._processChildContext(context), debugID); + + if (false) { + if (debugID !== 0) { + var childDebugIDs = child._debugID !== 0 ? [child._debugID] : []; + ReactInstrumentation.debugTool.onSetChildren(debugID, childDebugIDs); + } + } + + this._replaceNodeWithMarkup(oldHostNode, nextMarkup, prevComponentInstance); + } + }, + + /** + * Overridden in shallow rendering. + * + * @protected + */ + _replaceNodeWithMarkup: function _replaceNodeWithMarkup(oldHostNode, nextMarkup, prevInstance) { + ReactComponentEnvironment.replaceNodeWithMarkup(oldHostNode, nextMarkup, prevInstance); + }, + + /** + * @protected + */ + _renderValidatedComponentWithoutOwnerOrContext: function _renderValidatedComponentWithoutOwnerOrContext() { + var inst = this._instance; + var renderedElement; + + if (false) { + renderedElement = measureLifeCyclePerf(function () { + return inst.render(); + }, this._debugID, 'render'); + } else { + renderedElement = inst.render(); + } + + if (false) { + // We allow auto-mocks to proceed as if they're returning null. + if (renderedElement === undefined && inst.render._isMockFunction) { + // This is probably bad practice. Consider warning here and + // deprecating this convenience. + renderedElement = null; + } + } + + return renderedElement; + }, + + /** + * @private + */ + _renderValidatedComponent: function _renderValidatedComponent() { + var renderedElement; + if (("production") !== 'production' || this._compositeType !== CompositeTypes.StatelessFunctional) { + ReactCurrentOwner.current = this; + try { + renderedElement = this._renderValidatedComponentWithoutOwnerOrContext(); + } finally { + ReactCurrentOwner.current = null; + } + } else { + renderedElement = this._renderValidatedComponentWithoutOwnerOrContext(); + } + !( + // TODO: An `isValidNode` function would probably be more appropriate + renderedElement === null || renderedElement === false || React.isValidElement(renderedElement)) ? false ? invariant(false, '%s.render(): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', this.getName() || 'ReactCompositeComponent') : _prodInvariant('109', this.getName() || 'ReactCompositeComponent') : void 0; + + return renderedElement; + }, + + /** + * Lazily allocates the refs object and stores `component` as `ref`. + * + * @param {string} ref Reference name. + * @param {component} component Component to store as `ref`. + * @final + * @private + */ + attachRef: function attachRef(ref, component) { + var inst = this.getPublicInstance(); + !(inst != null) ? false ? invariant(false, 'Stateless function components cannot have refs.') : _prodInvariant('110') : void 0; + var publicComponentInstance = component.getPublicInstance(); + if (false) { + var componentName = component && component.getName ? component.getName() : 'a component'; + process.env.NODE_ENV !== 'production' ? warning(publicComponentInstance != null || component._compositeType !== CompositeTypes.StatelessFunctional, 'Stateless function components cannot be given refs ' + '(See ref "%s" in %s created by %s). ' + 'Attempts to access this ref will fail.', ref, componentName, this.getName()) : void 0; + } + var refs = inst.refs === emptyObject ? inst.refs = {} : inst.refs; + refs[ref] = publicComponentInstance; + }, + + /** + * Detaches a reference name. + * + * @param {string} ref Name to dereference. + * @final + * @private + */ + detachRef: function detachRef(ref) { + var refs = this.getPublicInstance().refs; + delete refs[ref]; + }, + + /** + * Get a text description of the component that can be used to identify it + * in error messages. + * @return {string} The name or null. + * @internal + */ + getName: function getName() { + var type = this._currentElement.type; + var constructor = this._instance && this._instance.constructor; + return type.displayName || constructor && constructor.displayName || type.name || constructor && constructor.name || null; + }, + + /** + * Get the publicly accessible representation of this component - i.e. what + * is exposed by refs and returned by render. Can be null for stateless + * components. + * + * @return {ReactComponent} the public component instance. + * @internal + */ + getPublicInstance: function getPublicInstance() { + var inst = this._instance; + if (this._compositeType === CompositeTypes.StatelessFunctional) { + return null; + } + return inst; + }, + + // Stub + _instantiateReactComponent: null + + }; + + module.exports = ReactCompositeComponent; + +/***/ }, +/* 200 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + /* global hasOwnProperty:true */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(7); + + var AutoFocusUtils = __webpack_require__(188); + var CSSPropertyOperations = __webpack_require__(190); + var DOMLazyTree = __webpack_require__(31); + var DOMNamespaces = __webpack_require__(59); + var DOMProperty = __webpack_require__(32); + var DOMPropertyOperations = __webpack_require__(99); + var EventPluginHub = __webpack_require__(42); + var EventPluginRegistry = __webpack_require__(60); + var ReactBrowserEventEmitter = __webpack_require__(47); + var ReactDOMComponentFlags = __webpack_require__(101); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactDOMInput = __webpack_require__(205); + var ReactDOMOption = __webpack_require__(206); + var ReactDOMSelect = __webpack_require__(102); + var ReactDOMTextarea = __webpack_require__(209); + var ReactInstrumentation = __webpack_require__(14); + var ReactMultiChild = __webpack_require__(218); + var ReactServerRenderingTransaction = __webpack_require__(223); + + var emptyFunction = __webpack_require__(19); + var escapeTextContentForBrowser = __webpack_require__(50); + var invariant = __webpack_require__(3); + var isEventSupported = __webpack_require__(71); + var shallowEqual = __webpack_require__(74); + var validateDOMNesting = __webpack_require__(73); + var warning = __webpack_require__(5); + + var Flags = ReactDOMComponentFlags; + var deleteListener = EventPluginHub.deleteListener; + var getNode = ReactDOMComponentTree.getNodeFromInstance; + var listenTo = ReactBrowserEventEmitter.listenTo; + var registrationNameModules = EventPluginRegistry.registrationNameModules; + + // For quickly matching children type, to test if can be treated as content. + var CONTENT_TYPES = { 'string': true, 'number': true }; + + var STYLE = 'style'; + var HTML = '__html'; + var RESERVED_PROPS = { + children: null, + dangerouslySetInnerHTML: null, + suppressContentEditableWarning: null + }; + + // Node type for document fragments (Node.DOCUMENT_FRAGMENT_NODE). + var DOC_FRAGMENT_TYPE = 11; + + function getDeclarationErrorAddendum(internalInstance) { + if (internalInstance) { + var owner = internalInstance._currentElement._owner || null; + if (owner) { + var name = owner.getName(); + if (name) { + return ' This DOM node was rendered by `' + name + '`.'; + } + } + } + return ''; + } + + function friendlyStringify(obj) { + if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object') { + if (Array.isArray(obj)) { + return '[' + obj.map(friendlyStringify).join(', ') + ']'; + } else { + var pairs = []; + for (var key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) { + var keyEscaped = /^[a-z$_][\w$_]*$/i.test(key) ? key : JSON.stringify(key); + pairs.push(keyEscaped + ': ' + friendlyStringify(obj[key])); + } + } + return '{' + pairs.join(', ') + '}'; + } + } else if (typeof obj === 'string') { + return JSON.stringify(obj); + } else if (typeof obj === 'function') { + return '[function object]'; + } + // Differs from JSON.stringify in that undefined because undefined and that + // inf and nan don't become null + return String(obj); + } + + var styleMutationWarning = {}; + + function checkAndWarnForMutatedStyle(style1, style2, component) { + if (style1 == null || style2 == null) { + return; + } + if (shallowEqual(style1, style2)) { + return; + } + + var componentName = component._tag; + var owner = component._currentElement._owner; + var ownerName; + if (owner) { + ownerName = owner.getName(); + } + + var hash = ownerName + '|' + componentName; + + if (styleMutationWarning.hasOwnProperty(hash)) { + return; + } + + styleMutationWarning[hash] = true; + + false ? warning(false, '`%s` was passed a style object that has previously been mutated. ' + 'Mutating `style` is deprecated. Consider cloning it beforehand. Check ' + 'the `render` %s. Previous style: %s. Mutated style: %s.', componentName, owner ? 'of `' + ownerName + '`' : 'using <' + componentName + '>', friendlyStringify(style1), friendlyStringify(style2)) : void 0; + } + + /** + * @param {object} component + * @param {?object} props + */ + function assertValidProps(component, props) { + if (!props) { + return; + } + // Note the use of `==` which checks for null or undefined. + if (voidElementTags[component._tag]) { + !(props.children == null && props.dangerouslySetInnerHTML == null) ? false ? invariant(false, '%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : _prodInvariant('137', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : void 0; + } + if (props.dangerouslySetInnerHTML != null) { + !(props.children == null) ? false ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : _prodInvariant('60') : void 0; + !(_typeof(props.dangerouslySetInnerHTML) === 'object' && HTML in props.dangerouslySetInnerHTML) ? false ? invariant(false, '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.') : _prodInvariant('61') : void 0; + } + if (false) { + process.env.NODE_ENV !== 'production' ? warning(props.innerHTML == null, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.') : void 0; + process.env.NODE_ENV !== 'production' ? warning(props.suppressContentEditableWarning || !props.contentEditable || props.children == null, 'A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.') : void 0; + process.env.NODE_ENV !== 'production' ? warning(props.onFocusIn == null && props.onFocusOut == null, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.') : void 0; + } + !(props.style == null || _typeof(props.style) === 'object') ? false ? invariant(false, 'The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + \'em\'}} when using JSX.%s', getDeclarationErrorAddendum(component)) : _prodInvariant('62', getDeclarationErrorAddendum(component)) : void 0; + } + + function enqueuePutListener(inst, registrationName, listener, transaction) { + if (transaction instanceof ReactServerRenderingTransaction) { + return; + } + if (false) { + // IE8 has no API for event capturing and the `onScroll` event doesn't + // bubble. + process.env.NODE_ENV !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), 'This browser doesn\'t support the `onScroll` event') : void 0; + } + var containerInfo = inst._hostContainerInfo; + var isDocumentFragment = containerInfo._node && containerInfo._node.nodeType === DOC_FRAGMENT_TYPE; + var doc = isDocumentFragment ? containerInfo._node : containerInfo._ownerDocument; + listenTo(registrationName, doc); + transaction.getReactMountReady().enqueue(putListener, { + inst: inst, + registrationName: registrationName, + listener: listener + }); + } + + function putListener() { + var listenerToPut = this; + EventPluginHub.putListener(listenerToPut.inst, listenerToPut.registrationName, listenerToPut.listener); + } + + function inputPostMount() { + var inst = this; + ReactDOMInput.postMountWrapper(inst); + } + + function textareaPostMount() { + var inst = this; + ReactDOMTextarea.postMountWrapper(inst); + } + + function optionPostMount() { + var inst = this; + ReactDOMOption.postMountWrapper(inst); + } + + var setAndValidateContentChildDev = emptyFunction; + if (false) { + setAndValidateContentChildDev = function setAndValidateContentChildDev(content) { + var hasExistingContent = this._contentDebugID != null; + var debugID = this._debugID; + // This ID represents the inlined child that has no backing instance: + var contentDebugID = -debugID; + + if (content == null) { + if (hasExistingContent) { + ReactInstrumentation.debugTool.onUnmountComponent(this._contentDebugID); + } + this._contentDebugID = null; + return; + } + + validateDOMNesting(null, String(content), this, this._ancestorInfo); + this._contentDebugID = contentDebugID; + if (hasExistingContent) { + ReactInstrumentation.debugTool.onBeforeUpdateComponent(contentDebugID, content); + ReactInstrumentation.debugTool.onUpdateComponent(contentDebugID); + } else { + ReactInstrumentation.debugTool.onBeforeMountComponent(contentDebugID, content, debugID); + ReactInstrumentation.debugTool.onMountComponent(contentDebugID); + ReactInstrumentation.debugTool.onSetChildren(debugID, [contentDebugID]); + } + }; + } + + // There are so many media events, it makes sense to just + // maintain a list rather than create a `trapBubbledEvent` for each + var mediaEvents = { + topAbort: 'abort', + topCanPlay: 'canplay', + topCanPlayThrough: 'canplaythrough', + topDurationChange: 'durationchange', + topEmptied: 'emptied', + topEncrypted: 'encrypted', + topEnded: 'ended', + topError: 'error', + topLoadedData: 'loadeddata', + topLoadedMetadata: 'loadedmetadata', + topLoadStart: 'loadstart', + topPause: 'pause', + topPlay: 'play', + topPlaying: 'playing', + topProgress: 'progress', + topRateChange: 'ratechange', + topSeeked: 'seeked', + topSeeking: 'seeking', + topStalled: 'stalled', + topSuspend: 'suspend', + topTimeUpdate: 'timeupdate', + topVolumeChange: 'volumechange', + topWaiting: 'waiting' + }; + + function trapBubbledEventsLocal() { + var inst = this; + // If a component renders to null or if another component fatals and causes + // the state of the tree to be corrupted, `node` here can be null. + !inst._rootNodeID ? false ? invariant(false, 'Must be mounted to trap events') : _prodInvariant('63') : void 0; + var node = getNode(inst); + !node ? false ? invariant(false, 'trapBubbledEvent(...): Requires node to be rendered.') : _prodInvariant('64') : void 0; + + switch (inst._tag) { + case 'iframe': + case 'object': + inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topLoad', 'load', node)]; + break; + case 'video': + case 'audio': + + inst._wrapperState.listeners = []; + // Create listener for each media event + for (var event in mediaEvents) { + if (mediaEvents.hasOwnProperty(event)) { + inst._wrapperState.listeners.push(ReactBrowserEventEmitter.trapBubbledEvent(event, mediaEvents[event], node)); + } + } + break; + case 'source': + inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topError', 'error', node)]; + break; + case 'img': + inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topError', 'error', node), ReactBrowserEventEmitter.trapBubbledEvent('topLoad', 'load', node)]; + break; + case 'form': + inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topReset', 'reset', node), ReactBrowserEventEmitter.trapBubbledEvent('topSubmit', 'submit', node)]; + break; + case 'input': + case 'select': + case 'textarea': + inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topInvalid', 'invalid', node)]; + break; + } + } + + function postUpdateSelectWrapper() { + ReactDOMSelect.postUpdateWrapper(this); + } + + // For HTML, certain tags should omit their close tag. We keep a whitelist for + // those special-case tags. + + var omittedCloseTags = { + 'area': true, + 'base': true, + 'br': true, + 'col': true, + 'embed': true, + 'hr': true, + 'img': true, + 'input': true, + 'keygen': true, + 'link': true, + 'meta': true, + 'param': true, + 'source': true, + 'track': true, + 'wbr': true + }; + + var newlineEatingTags = { + 'listing': true, + 'pre': true, + 'textarea': true + }; + + // For HTML, certain tags cannot have children. This has the same purpose as + // `omittedCloseTags` except that `menuitem` should still have its closing tag. + + var voidElementTags = _assign({ + 'menuitem': true + }, omittedCloseTags); + + // We accept any tag to be rendered but since this gets injected into arbitrary + // HTML, we want to make sure that it's a safe tag. + // http://www.w3.org/TR/REC-xml/#NT-Name + + var VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/; // Simplified subset + var validatedTagCache = {}; + var hasOwnProperty = {}.hasOwnProperty; + + function validateDangerousTag(tag) { + if (!hasOwnProperty.call(validatedTagCache, tag)) { + !VALID_TAG_REGEX.test(tag) ? false ? invariant(false, 'Invalid tag: %s', tag) : _prodInvariant('65', tag) : void 0; + validatedTagCache[tag] = true; + } + } + + function isCustomComponent(tagName, props) { + return tagName.indexOf('-') >= 0 || props.is != null; + } + + var globalIdCounter = 1; + + /** + * Creates a new React class that is idempotent and capable of containing other + * React components. It accepts event listeners and DOM properties that are + * valid according to `DOMProperty`. + * + * - Event listeners: `onClick`, `onMouseDown`, etc. + * - DOM properties: `className`, `name`, `title`, etc. + * + * The `style` property functions differently from the DOM API. It accepts an + * object mapping of style properties to values. + * + * @constructor ReactDOMComponent + * @extends ReactMultiChild + */ + function ReactDOMComponent(element) { + var tag = element.type; + validateDangerousTag(tag); + this._currentElement = element; + this._tag = tag.toLowerCase(); + this._namespaceURI = null; + this._renderedChildren = null; + this._previousStyle = null; + this._previousStyleCopy = null; + this._hostNode = null; + this._hostParent = null; + this._rootNodeID = 0; + this._domID = 0; + this._hostContainerInfo = null; + this._wrapperState = null; + this._topLevelWrapper = null; + this._flags = 0; + if (false) { + this._ancestorInfo = null; + setAndValidateContentChildDev.call(this, null); + } + } + + ReactDOMComponent.displayName = 'ReactDOMComponent'; + + ReactDOMComponent.Mixin = { + + /** + * Generates root tag markup then recurses. This method has side effects and + * is not idempotent. + * + * @internal + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @param {?ReactDOMComponent} the parent component instance + * @param {?object} info about the host container + * @param {object} context + * @return {string} The computed markup. + */ + mountComponent: function mountComponent(transaction, hostParent, hostContainerInfo, context) { + this._rootNodeID = globalIdCounter++; + this._domID = hostContainerInfo._idCounter++; + this._hostParent = hostParent; + this._hostContainerInfo = hostContainerInfo; + + var props = this._currentElement.props; + + switch (this._tag) { + case 'audio': + case 'form': + case 'iframe': + case 'img': + case 'link': + case 'object': + case 'source': + case 'video': + this._wrapperState = { + listeners: null + }; + transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this); + break; + case 'input': + ReactDOMInput.mountWrapper(this, props, hostParent); + props = ReactDOMInput.getHostProps(this, props); + transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this); + break; + case 'option': + ReactDOMOption.mountWrapper(this, props, hostParent); + props = ReactDOMOption.getHostProps(this, props); + break; + case 'select': + ReactDOMSelect.mountWrapper(this, props, hostParent); + props = ReactDOMSelect.getHostProps(this, props); + transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this); + break; + case 'textarea': + ReactDOMTextarea.mountWrapper(this, props, hostParent); + props = ReactDOMTextarea.getHostProps(this, props); + transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this); + break; + } + + assertValidProps(this, props); + + // We create tags in the namespace of their parent container, except HTML + // tags get no namespace. + var namespaceURI; + var parentTag; + if (hostParent != null) { + namespaceURI = hostParent._namespaceURI; + parentTag = hostParent._tag; + } else if (hostContainerInfo._tag) { + namespaceURI = hostContainerInfo._namespaceURI; + parentTag = hostContainerInfo._tag; + } + if (namespaceURI == null || namespaceURI === DOMNamespaces.svg && parentTag === 'foreignobject') { + namespaceURI = DOMNamespaces.html; + } + if (namespaceURI === DOMNamespaces.html) { + if (this._tag === 'svg') { + namespaceURI = DOMNamespaces.svg; + } else if (this._tag === 'math') { + namespaceURI = DOMNamespaces.mathml; + } + } + this._namespaceURI = namespaceURI; + + if (false) { + var parentInfo; + if (hostParent != null) { + parentInfo = hostParent._ancestorInfo; + } else if (hostContainerInfo._tag) { + parentInfo = hostContainerInfo._ancestorInfo; + } + if (parentInfo) { + // parentInfo should always be present except for the top-level + // component when server rendering + validateDOMNesting(this._tag, null, this, parentInfo); + } + this._ancestorInfo = validateDOMNesting.updatedAncestorInfo(parentInfo, this._tag, this); + } + + var mountImage; + if (transaction.useCreateElement) { + var ownerDocument = hostContainerInfo._ownerDocument; + var el; + if (namespaceURI === DOMNamespaces.html) { + if (this._tag === 'script') { + // Create the script via .innerHTML so its "parser-inserted" flag is + // set to true and it does not execute + var div = ownerDocument.createElement('div'); + var type = this._currentElement.type; + div.innerHTML = '<' + type + '></' + type + '>'; + el = div.removeChild(div.firstChild); + } else if (props.is) { + el = ownerDocument.createElement(this._currentElement.type, props.is); + } else { + // Separate else branch instead of using `props.is || undefined` above becuase of a Firefox bug. + // See discussion in https://github.com/facebook/react/pull/6896 + // and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240 + el = ownerDocument.createElement(this._currentElement.type); + } + } else { + el = ownerDocument.createElementNS(namespaceURI, this._currentElement.type); + } + ReactDOMComponentTree.precacheNode(this, el); + this._flags |= Flags.hasCachedChildNodes; + if (!this._hostParent) { + DOMPropertyOperations.setAttributeForRoot(el); + } + this._updateDOMProperties(null, props, transaction); + var lazyTree = DOMLazyTree(el); + this._createInitialChildren(transaction, props, context, lazyTree); + mountImage = lazyTree; + } else { + var tagOpen = this._createOpenTagMarkupAndPutListeners(transaction, props); + var tagContent = this._createContentMarkup(transaction, props, context); + if (!tagContent && omittedCloseTags[this._tag]) { + mountImage = tagOpen + '/>'; + } else { + mountImage = tagOpen + '>' + tagContent + '</' + this._currentElement.type + '>'; + } + } + + switch (this._tag) { + case 'input': + transaction.getReactMountReady().enqueue(inputPostMount, this); + if (props.autoFocus) { + transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this); + } + break; + case 'textarea': + transaction.getReactMountReady().enqueue(textareaPostMount, this); + if (props.autoFocus) { + transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this); + } + break; + case 'select': + if (props.autoFocus) { + transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this); + } + break; + case 'button': + if (props.autoFocus) { + transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this); + } + break; + case 'option': + transaction.getReactMountReady().enqueue(optionPostMount, this); + break; + } + + return mountImage; + }, + + /** + * Creates markup for the open tag and all attributes. + * + * This method has side effects because events get registered. + * + * Iterating over object properties is faster than iterating over arrays. + * @see http://jsperf.com/obj-vs-arr-iteration + * + * @private + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @param {object} props + * @return {string} Markup of opening tag. + */ + _createOpenTagMarkupAndPutListeners: function _createOpenTagMarkupAndPutListeners(transaction, props) { + var ret = '<' + this._currentElement.type; + + for (var propKey in props) { + if (!props.hasOwnProperty(propKey)) { + continue; + } + var propValue = props[propKey]; + if (propValue == null) { + continue; + } + if (registrationNameModules.hasOwnProperty(propKey)) { + if (propValue) { + enqueuePutListener(this, propKey, propValue, transaction); + } + } else { + if (propKey === STYLE) { + if (propValue) { + if (false) { + // See `_updateDOMProperties`. style block + this._previousStyle = propValue; + } + propValue = this._previousStyleCopy = _assign({}, props.style); + } + propValue = CSSPropertyOperations.createMarkupForStyles(propValue, this); + } + var markup = null; + if (this._tag != null && isCustomComponent(this._tag, props)) { + if (!RESERVED_PROPS.hasOwnProperty(propKey)) { + markup = DOMPropertyOperations.createMarkupForCustomAttribute(propKey, propValue); + } + } else { + markup = DOMPropertyOperations.createMarkupForProperty(propKey, propValue); + } + if (markup) { + ret += ' ' + markup; + } + } + } + + // For static pages, no need to put React ID and checksum. Saves lots of + // bytes. + if (transaction.renderToStaticMarkup) { + return ret; + } + + if (!this._hostParent) { + ret += ' ' + DOMPropertyOperations.createMarkupForRoot(); + } + ret += ' ' + DOMPropertyOperations.createMarkupForID(this._domID); + return ret; + }, + + /** + * Creates markup for the content between the tags. + * + * @private + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @param {object} props + * @param {object} context + * @return {string} Content markup. + */ + _createContentMarkup: function _createContentMarkup(transaction, props, context) { + var ret = ''; + + // Intentional use of != to avoid catching zero/false. + var innerHTML = props.dangerouslySetInnerHTML; + if (innerHTML != null) { + if (innerHTML.__html != null) { + ret = innerHTML.__html; + } + } else { + var contentToUse = CONTENT_TYPES[_typeof(props.children)] ? props.children : null; + var childrenToUse = contentToUse != null ? null : props.children; + if (contentToUse != null) { + // TODO: Validate that text is allowed as a child of this node + ret = escapeTextContentForBrowser(contentToUse); + if (false) { + setAndValidateContentChildDev.call(this, contentToUse); + } + } else if (childrenToUse != null) { + var mountImages = this.mountChildren(childrenToUse, transaction, context); + ret = mountImages.join(''); + } + } + if (newlineEatingTags[this._tag] && ret.charAt(0) === '\n') { + // text/html ignores the first character in these tags if it's a newline + // Prefer to break application/xml over text/html (for now) by adding + // a newline specifically to get eaten by the parser. (Alternately for + // textareas, replacing "^\n" with "\r\n" doesn't get eaten, and the first + // \r is normalized out by HTMLTextAreaElement#value.) + // See: <http://www.w3.org/TR/html-polyglot/#newlines-in-textarea-and-pre> + // See: <http://www.w3.org/TR/html5/syntax.html#element-restrictions> + // See: <http://www.w3.org/TR/html5/syntax.html#newlines> + // See: Parsing of "textarea" "listing" and "pre" elements + // from <http://www.w3.org/TR/html5/syntax.html#parsing-main-inbody> + return '\n' + ret; + } else { + return ret; + } + }, + + _createInitialChildren: function _createInitialChildren(transaction, props, context, lazyTree) { + // Intentional use of != to avoid catching zero/false. + var innerHTML = props.dangerouslySetInnerHTML; + if (innerHTML != null) { + if (innerHTML.__html != null) { + DOMLazyTree.queueHTML(lazyTree, innerHTML.__html); + } + } else { + var contentToUse = CONTENT_TYPES[_typeof(props.children)] ? props.children : null; + var childrenToUse = contentToUse != null ? null : props.children; + if (contentToUse != null) { + // TODO: Validate that text is allowed as a child of this node + if (false) { + setAndValidateContentChildDev.call(this, contentToUse); + } + DOMLazyTree.queueText(lazyTree, contentToUse); + } else if (childrenToUse != null) { + var mountImages = this.mountChildren(childrenToUse, transaction, context); + for (var i = 0; i < mountImages.length; i++) { + DOMLazyTree.queueChild(lazyTree, mountImages[i]); + } + } + } + }, + + /** + * Receives a next element and updates the component. + * + * @internal + * @param {ReactElement} nextElement + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @param {object} context + */ + receiveComponent: function receiveComponent(nextElement, transaction, context) { + var prevElement = this._currentElement; + this._currentElement = nextElement; + this.updateComponent(transaction, prevElement, nextElement, context); + }, + + /** + * Updates a DOM component after it has already been allocated and + * attached to the DOM. Reconciles the root DOM node, then recurses. + * + * @param {ReactReconcileTransaction} transaction + * @param {ReactElement} prevElement + * @param {ReactElement} nextElement + * @internal + * @overridable + */ + updateComponent: function updateComponent(transaction, prevElement, nextElement, context) { + var lastProps = prevElement.props; + var nextProps = this._currentElement.props; + + switch (this._tag) { + case 'input': + lastProps = ReactDOMInput.getHostProps(this, lastProps); + nextProps = ReactDOMInput.getHostProps(this, nextProps); + break; + case 'option': + lastProps = ReactDOMOption.getHostProps(this, lastProps); + nextProps = ReactDOMOption.getHostProps(this, nextProps); + break; + case 'select': + lastProps = ReactDOMSelect.getHostProps(this, lastProps); + nextProps = ReactDOMSelect.getHostProps(this, nextProps); + break; + case 'textarea': + lastProps = ReactDOMTextarea.getHostProps(this, lastProps); + nextProps = ReactDOMTextarea.getHostProps(this, nextProps); + break; + } + + assertValidProps(this, nextProps); + this._updateDOMProperties(lastProps, nextProps, transaction); + this._updateDOMChildren(lastProps, nextProps, transaction, context); + + switch (this._tag) { + case 'input': + // Update the wrapper around inputs *after* updating props. This has to + // happen after `_updateDOMProperties`. Otherwise HTML5 input validations + // raise warnings and prevent the new value from being assigned. + ReactDOMInput.updateWrapper(this); + break; + case 'textarea': + ReactDOMTextarea.updateWrapper(this); + break; + case 'select': + // <select> value update needs to occur after <option> children + // reconciliation + transaction.getReactMountReady().enqueue(postUpdateSelectWrapper, this); + break; + } + }, + + /** + * Reconciles the properties by detecting differences in property values and + * updating the DOM as necessary. This function is probably the single most + * critical path for performance optimization. + * + * TODO: Benchmark whether checking for changed values in memory actually + * improves performance (especially statically positioned elements). + * TODO: Benchmark the effects of putting this at the top since 99% of props + * do not change for a given reconciliation. + * TODO: Benchmark areas that can be improved with caching. + * + * @private + * @param {object} lastProps + * @param {object} nextProps + * @param {?DOMElement} node + */ + _updateDOMProperties: function _updateDOMProperties(lastProps, nextProps, transaction) { + var propKey; + var styleName; + var styleUpdates; + for (propKey in lastProps) { + if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey) || lastProps[propKey] == null) { + continue; + } + if (propKey === STYLE) { + var lastStyle = this._previousStyleCopy; + for (styleName in lastStyle) { + if (lastStyle.hasOwnProperty(styleName)) { + styleUpdates = styleUpdates || {}; + styleUpdates[styleName] = ''; + } + } + this._previousStyleCopy = null; + } else if (registrationNameModules.hasOwnProperty(propKey)) { + if (lastProps[propKey]) { + // Only call deleteListener if there was a listener previously or + // else willDeleteListener gets called when there wasn't actually a + // listener (e.g., onClick={null}) + deleteListener(this, propKey); + } + } else if (isCustomComponent(this._tag, lastProps)) { + if (!RESERVED_PROPS.hasOwnProperty(propKey)) { + DOMPropertyOperations.deleteValueForAttribute(getNode(this), propKey); + } + } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) { + DOMPropertyOperations.deleteValueForProperty(getNode(this), propKey); + } + } + for (propKey in nextProps) { + var nextProp = nextProps[propKey]; + var lastProp = propKey === STYLE ? this._previousStyleCopy : lastProps != null ? lastProps[propKey] : undefined; + if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp || nextProp == null && lastProp == null) { + continue; + } + if (propKey === STYLE) { + if (nextProp) { + if (false) { + checkAndWarnForMutatedStyle(this._previousStyleCopy, this._previousStyle, this); + this._previousStyle = nextProp; + } + nextProp = this._previousStyleCopy = _assign({}, nextProp); + } else { + this._previousStyleCopy = null; + } + if (lastProp) { + // Unset styles on `lastProp` but not on `nextProp`. + for (styleName in lastProp) { + if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) { + styleUpdates = styleUpdates || {}; + styleUpdates[styleName] = ''; + } + } + // Update styles that changed since `lastProp`. + for (styleName in nextProp) { + if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) { + styleUpdates = styleUpdates || {}; + styleUpdates[styleName] = nextProp[styleName]; + } + } + } else { + // Relies on `updateStylesByID` not mutating `styleUpdates`. + styleUpdates = nextProp; + } + } else if (registrationNameModules.hasOwnProperty(propKey)) { + if (nextProp) { + enqueuePutListener(this, propKey, nextProp, transaction); + } else if (lastProp) { + deleteListener(this, propKey); + } + } else if (isCustomComponent(this._tag, nextProps)) { + if (!RESERVED_PROPS.hasOwnProperty(propKey)) { + DOMPropertyOperations.setValueForAttribute(getNode(this), propKey, nextProp); + } + } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) { + var node = getNode(this); + // If we're updating to null or undefined, we should remove the property + // from the DOM node instead of inadvertently setting to a string. This + // brings us in line with the same behavior we have on initial render. + if (nextProp != null) { + DOMPropertyOperations.setValueForProperty(node, propKey, nextProp); + } else { + DOMPropertyOperations.deleteValueForProperty(node, propKey); + } + } + } + if (styleUpdates) { + CSSPropertyOperations.setValueForStyles(getNode(this), styleUpdates, this); + } + }, + + /** + * Reconciles the children with the various properties that affect the + * children content. + * + * @param {object} lastProps + * @param {object} nextProps + * @param {ReactReconcileTransaction} transaction + * @param {object} context + */ + _updateDOMChildren: function _updateDOMChildren(lastProps, nextProps, transaction, context) { + var lastContent = CONTENT_TYPES[_typeof(lastProps.children)] ? lastProps.children : null; + var nextContent = CONTENT_TYPES[_typeof(nextProps.children)] ? nextProps.children : null; + + var lastHtml = lastProps.dangerouslySetInnerHTML && lastProps.dangerouslySetInnerHTML.__html; + var nextHtml = nextProps.dangerouslySetInnerHTML && nextProps.dangerouslySetInnerHTML.__html; + + // Note the use of `!=` which checks for null or undefined. + var lastChildren = lastContent != null ? null : lastProps.children; + var nextChildren = nextContent != null ? null : nextProps.children; + + // If we're switching from children to content/html or vice versa, remove + // the old content + var lastHasContentOrHtml = lastContent != null || lastHtml != null; + var nextHasContentOrHtml = nextContent != null || nextHtml != null; + if (lastChildren != null && nextChildren == null) { + this.updateChildren(null, transaction, context); + } else if (lastHasContentOrHtml && !nextHasContentOrHtml) { + this.updateTextContent(''); + if (false) { + ReactInstrumentation.debugTool.onSetChildren(this._debugID, []); + } + } + + if (nextContent != null) { + if (lastContent !== nextContent) { + this.updateTextContent('' + nextContent); + if (false) { + setAndValidateContentChildDev.call(this, nextContent); + } + } + } else if (nextHtml != null) { + if (lastHtml !== nextHtml) { + this.updateMarkup('' + nextHtml); + } + if (false) { + ReactInstrumentation.debugTool.onSetChildren(this._debugID, []); + } + } else if (nextChildren != null) { + if (false) { + setAndValidateContentChildDev.call(this, null); + } + + this.updateChildren(nextChildren, transaction, context); + } + }, + + getHostNode: function getHostNode() { + return getNode(this); + }, + + /** + * Destroys all event registrations for this instance. Does not remove from + * the DOM. That must be done by the parent. + * + * @internal + */ + unmountComponent: function unmountComponent(safely) { + switch (this._tag) { + case 'audio': + case 'form': + case 'iframe': + case 'img': + case 'link': + case 'object': + case 'source': + case 'video': + var listeners = this._wrapperState.listeners; + if (listeners) { + for (var i = 0; i < listeners.length; i++) { + listeners[i].remove(); + } + } + break; + case 'html': + case 'head': + case 'body': + /** + * Components like <html> <head> and <body> can't be removed or added + * easily in a cross-browser way, however it's valuable to be able to + * take advantage of React's reconciliation for styling and <title> + * management. So we just document it and throw in dangerous cases. + */ + true ? false ? invariant(false, '<%s> tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg <html>, <head>, and <body>) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.', this._tag) : _prodInvariant('66', this._tag) : void 0; + break; + } + + this.unmountChildren(safely); + ReactDOMComponentTree.uncacheNode(this); + EventPluginHub.deleteAllListeners(this); + this._rootNodeID = 0; + this._domID = 0; + this._wrapperState = null; + + if (false) { + setAndValidateContentChildDev.call(this, null); + } + }, + + getPublicInstance: function getPublicInstance() { + return getNode(this); + } + + }; + + _assign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin); + + module.exports = ReactDOMComponent; + +/***/ }, +/* 201 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var validateDOMNesting = __webpack_require__(73); + + var DOC_NODE_TYPE = 9; + + function ReactDOMContainerInfo(topLevelWrapper, node) { + var info = { + _topLevelWrapper: topLevelWrapper, + _idCounter: 1, + _ownerDocument: node ? node.nodeType === DOC_NODE_TYPE ? node : node.ownerDocument : null, + _node: node, + _tag: node ? node.nodeName.toLowerCase() : null, + _namespaceURI: node ? node.namespaceURI : null + }; + if (false) { + info._ancestorInfo = node ? validateDOMNesting.updatedAncestorInfo(null, info._tag, null) : null; + } + return info; + } + + module.exports = ReactDOMContainerInfo; + +/***/ }, +/* 202 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var DOMLazyTree = __webpack_require__(31); + var ReactDOMComponentTree = __webpack_require__(6); + + var ReactDOMEmptyComponent = function ReactDOMEmptyComponent(instantiate) { + // ReactCompositeComponent uses this: + this._currentElement = null; + // ReactDOMComponentTree uses these: + this._hostNode = null; + this._hostParent = null; + this._hostContainerInfo = null; + this._domID = 0; + }; + _assign(ReactDOMEmptyComponent.prototype, { + mountComponent: function mountComponent(transaction, hostParent, hostContainerInfo, context) { + var domID = hostContainerInfo._idCounter++; + this._domID = domID; + this._hostParent = hostParent; + this._hostContainerInfo = hostContainerInfo; + + var nodeValue = ' react-empty: ' + this._domID + ' '; + if (transaction.useCreateElement) { + var ownerDocument = hostContainerInfo._ownerDocument; + var node = ownerDocument.createComment(nodeValue); + ReactDOMComponentTree.precacheNode(this, node); + return DOMLazyTree(node); + } else { + if (transaction.renderToStaticMarkup) { + // Normally we'd insert a comment node, but since this is a situation + // where React won't take over (static pages), we can simply return + // nothing. + return ''; + } + return '<!--' + nodeValue + '-->'; + } + }, + receiveComponent: function receiveComponent() {}, + getHostNode: function getHostNode() { + return ReactDOMComponentTree.getNodeFromInstance(this); + }, + unmountComponent: function unmountComponent() { + ReactDOMComponentTree.uncacheNode(this); + } + }); + + module.exports = ReactDOMEmptyComponent; + +/***/ }, +/* 203 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactDOMFeatureFlags = { + useCreateElement: true, + useFiber: false + }; + + module.exports = ReactDOMFeatureFlags; + +/***/ }, +/* 204 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var DOMChildrenOperations = __webpack_require__(58); + var ReactDOMComponentTree = __webpack_require__(6); + + /** + * Operations used to process updates to DOM nodes. + */ + var ReactDOMIDOperations = { + + /** + * Updates a component's children by processing a series of updates. + * + * @param {array<object>} updates List of update configurations. + * @internal + */ + dangerouslyProcessChildrenUpdates: function dangerouslyProcessChildrenUpdates(parentInst, updates) { + var node = ReactDOMComponentTree.getNodeFromInstance(parentInst); + DOMChildrenOperations.processUpdates(node, updates); + } + }; + + module.exports = ReactDOMIDOperations; + +/***/ }, +/* 205 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(7); + + var DOMPropertyOperations = __webpack_require__(99); + var LinkedValueUtils = __webpack_require__(63); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactUpdates = __webpack_require__(15); + + var invariant = __webpack_require__(3); + var warning = __webpack_require__(5); + + var didWarnValueLink = false; + var didWarnCheckedLink = false; + var didWarnValueDefaultValue = false; + var didWarnCheckedDefaultChecked = false; + var didWarnControlledToUncontrolled = false; + var didWarnUncontrolledToControlled = false; + + function forceUpdateIfMounted() { + if (this._rootNodeID) { + // DOM component is still mounted; update + ReactDOMInput.updateWrapper(this); + } + } + + function isControlled(props) { + var usesChecked = props.type === 'checkbox' || props.type === 'radio'; + return usesChecked ? props.checked != null : props.value != null; + } + + /** + * Implements an <input> host component that allows setting these optional + * props: `checked`, `value`, `defaultChecked`, and `defaultValue`. + * + * If `checked` or `value` are not supplied (or null/undefined), user actions + * that affect the checked state or value will trigger updates to the element. + * + * If they are supplied (and not null/undefined), the rendered element will not + * trigger updates to the element. Instead, the props must change in order for + * the rendered element to be updated. + * + * The rendered element will be initialized as unchecked (or `defaultChecked`) + * with an empty value (or `defaultValue`). + * + * @see http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html + */ + var ReactDOMInput = { + getHostProps: function getHostProps(inst, props) { + var value = LinkedValueUtils.getValue(props); + var checked = LinkedValueUtils.getChecked(props); + + var hostProps = _assign({ + // Make sure we set .type before any other properties (setting .value + // before .type means .value is lost in IE11 and below) + type: undefined, + // Make sure we set .step before .value (setting .value before .step + // means .value is rounded on mount, based upon step precision) + step: undefined, + // Make sure we set .min & .max before .value (to ensure proper order + // in corner cases such as min or max deriving from value, e.g. Issue #7170) + min: undefined, + max: undefined + }, props, { + defaultChecked: undefined, + defaultValue: undefined, + value: value != null ? value : inst._wrapperState.initialValue, + checked: checked != null ? checked : inst._wrapperState.initialChecked, + onChange: inst._wrapperState.onChange + }); + + return hostProps; + }, + + mountWrapper: function mountWrapper(inst, props) { + if (false) { + LinkedValueUtils.checkPropTypes('input', props, inst._currentElement._owner); + + var owner = inst._currentElement._owner; + + if (props.valueLink !== undefined && !didWarnValueLink) { + process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `input` is deprecated; set `value` and `onChange` instead.') : void 0; + didWarnValueLink = true; + } + if (props.checkedLink !== undefined && !didWarnCheckedLink) { + process.env.NODE_ENV !== 'production' ? warning(false, '`checkedLink` prop on `input` is deprecated; set `value` and `onChange` instead.') : void 0; + didWarnCheckedLink = true; + } + if (props.checked !== undefined && props.defaultChecked !== undefined && !didWarnCheckedDefaultChecked) { + process.env.NODE_ENV !== 'production' ? warning(false, '%s contains an input of type %s with both checked and defaultChecked props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the checked prop, or the defaultChecked prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0; + didWarnCheckedDefaultChecked = true; + } + if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) { + process.env.NODE_ENV !== 'production' ? warning(false, '%s contains an input of type %s with both value and defaultValue props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0; + didWarnValueDefaultValue = true; + } + } + + var defaultValue = props.defaultValue; + inst._wrapperState = { + initialChecked: props.checked != null ? props.checked : props.defaultChecked, + initialValue: props.value != null ? props.value : defaultValue, + listeners: null, + onChange: _handleChange.bind(inst) + }; + + if (false) { + inst._wrapperState.controlled = isControlled(props); + } + }, + + updateWrapper: function updateWrapper(inst) { + var props = inst._currentElement.props; + + if (false) { + var controlled = isControlled(props); + var owner = inst._currentElement._owner; + + if (!inst._wrapperState.controlled && controlled && !didWarnUncontrolledToControlled) { + process.env.NODE_ENV !== 'production' ? warning(false, '%s is changing an uncontrolled input of type %s to be controlled. ' + 'Input elements should not switch from uncontrolled to controlled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0; + didWarnUncontrolledToControlled = true; + } + if (inst._wrapperState.controlled && !controlled && !didWarnControlledToUncontrolled) { + process.env.NODE_ENV !== 'production' ? warning(false, '%s is changing a controlled input of type %s to be uncontrolled. ' + 'Input elements should not switch from controlled to uncontrolled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0; + didWarnControlledToUncontrolled = true; + } + } + + // TODO: Shouldn't this be getChecked(props)? + var checked = props.checked; + if (checked != null) { + DOMPropertyOperations.setValueForProperty(ReactDOMComponentTree.getNodeFromInstance(inst), 'checked', checked || false); + } + + var node = ReactDOMComponentTree.getNodeFromInstance(inst); + var value = LinkedValueUtils.getValue(props); + if (value != null) { + + // Cast `value` to a string to ensure the value is set correctly. While + // browsers typically do this as necessary, jsdom doesn't. + var newValue = '' + value; + + // To avoid side effects (such as losing text selection), only set value if changed + if (newValue !== node.value) { + node.value = newValue; + } + } else { + if (props.value == null && props.defaultValue != null) { + node.defaultValue = '' + props.defaultValue; + } + if (props.checked == null && props.defaultChecked != null) { + node.defaultChecked = !!props.defaultChecked; + } + } + }, + + postMountWrapper: function postMountWrapper(inst) { + var props = inst._currentElement.props; + + // This is in postMount because we need access to the DOM node, which is not + // available until after the component has mounted. + var node = ReactDOMComponentTree.getNodeFromInstance(inst); + + // Detach value from defaultValue. We won't do anything if we're working on + // submit or reset inputs as those values & defaultValues are linked. They + // are not resetable nodes so this operation doesn't matter and actually + // removes browser-default values (eg "Submit Query") when no value is + // provided. + + switch (props.type) { + case 'submit': + case 'reset': + break; + case 'color': + case 'date': + case 'datetime': + case 'datetime-local': + case 'month': + case 'time': + case 'week': + // This fixes the no-show issue on iOS Safari and Android Chrome: + // https://github.com/facebook/react/issues/7233 + node.value = ''; + node.value = node.defaultValue; + break; + default: + node.value = node.value; + break; + } + + // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug + // this is needed to work around a chrome bug where setting defaultChecked + // will sometimes influence the value of checked (even after detachment). + // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416 + // We need to temporarily unset name to avoid disrupting radio button groups. + var name = node.name; + if (name !== '') { + node.name = ''; + } + node.defaultChecked = !node.defaultChecked; + node.defaultChecked = !node.defaultChecked; + if (name !== '') { + node.name = name; + } + } + }; + + function _handleChange(event) { + var props = this._currentElement.props; + + var returnValue = LinkedValueUtils.executeOnChange(props, event); + + // Here we use asap to wait until all updates have propagated, which + // is important when using controlled components within layers: + // https://github.com/facebook/react/issues/1698 + ReactUpdates.asap(forceUpdateIfMounted, this); + + var name = props.name; + if (props.type === 'radio' && name != null) { + var rootNode = ReactDOMComponentTree.getNodeFromInstance(this); + var queryRoot = rootNode; + + while (queryRoot.parentNode) { + queryRoot = queryRoot.parentNode; + } + + // If `rootNode.form` was non-null, then we could try `form.elements`, + // but that sometimes behaves strangely in IE8. We could also try using + // `form.getElementsByName`, but that will only return direct children + // and won't include inputs that use the HTML5 `form=` attribute. Since + // the input might not even be in a form, let's just use the global + // `querySelectorAll` to ensure we don't miss anything. + var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type="radio"]'); + + for (var i = 0; i < group.length; i++) { + var otherNode = group[i]; + if (otherNode === rootNode || otherNode.form !== rootNode.form) { + continue; + } + // This will throw if radio buttons rendered by different copies of React + // and the same name are rendered into the same form (same as #1939). + // That's probably okay; we don't support it just as we don't support + // mixing React radio buttons with non-React ones. + var otherInstance = ReactDOMComponentTree.getInstanceFromNode(otherNode); + !otherInstance ? false ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.') : _prodInvariant('90') : void 0; + // If this is a controlled radio button group, forcing the input that + // was previously checked to update will cause it to be come re-checked + // as appropriate. + ReactUpdates.asap(forceUpdateIfMounted, otherInstance); + } + } + + return returnValue; + } + + module.exports = ReactDOMInput; + +/***/ }, +/* 206 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var React = __webpack_require__(20); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactDOMSelect = __webpack_require__(102); + + var warning = __webpack_require__(5); + var didWarnInvalidOptionChildren = false; + + function flattenChildren(children) { + var content = ''; + + // Flatten children and warn if they aren't strings or numbers; + // invalid types are ignored. + React.Children.forEach(children, function (child) { + if (child == null) { + return; + } + if (typeof child === 'string' || typeof child === 'number') { + content += child; + } else if (!didWarnInvalidOptionChildren) { + didWarnInvalidOptionChildren = true; + false ? warning(false, 'Only strings and numbers are supported as <option> children.') : void 0; + } + }); + + return content; + } + + /** + * Implements an <option> host component that warns when `selected` is set. + */ + var ReactDOMOption = { + mountWrapper: function mountWrapper(inst, props, hostParent) { + // TODO (yungsters): Remove support for `selected` in <option>. + if (false) { + process.env.NODE_ENV !== 'production' ? warning(props.selected == null, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.') : void 0; + } + + // Look up whether this option is 'selected' + var selectValue = null; + if (hostParent != null) { + var selectParent = hostParent; + + if (selectParent._tag === 'optgroup') { + selectParent = selectParent._hostParent; + } + + if (selectParent != null && selectParent._tag === 'select') { + selectValue = ReactDOMSelect.getSelectValueContext(selectParent); + } + } + + // If the value is null (e.g., no specified value or after initial mount) + // or missing (e.g., for <datalist>), we don't change props.selected + var selected = null; + if (selectValue != null) { + var value; + if (props.value != null) { + value = props.value + ''; + } else { + value = flattenChildren(props.children); + } + selected = false; + if (Array.isArray(selectValue)) { + // multiple + for (var i = 0; i < selectValue.length; i++) { + if ('' + selectValue[i] === value) { + selected = true; + break; + } + } + } else { + selected = '' + selectValue === value; + } + } + + inst._wrapperState = { selected: selected }; + }, + + postMountWrapper: function postMountWrapper(inst) { + // value="" should make a value attribute (#6219) + var props = inst._currentElement.props; + if (props.value != null) { + var node = ReactDOMComponentTree.getNodeFromInstance(inst); + node.setAttribute('value', props.value); + } + }, + + getHostProps: function getHostProps(inst, props) { + var hostProps = _assign({ selected: undefined, children: undefined }, props); + + // Read state only from initial mount because <select> updates value + // manually; we need the initial state only for server rendering + if (inst._wrapperState.selected != null) { + hostProps.selected = inst._wrapperState.selected; + } + + var content = flattenChildren(props.children); + + if (content) { + hostProps.children = content; + } + + return hostProps; + } + + }; + + module.exports = ReactDOMOption; + +/***/ }, +/* 207 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(10); + + var getNodeForCharacterOffset = __webpack_require__(246); + var getTextContentAccessor = __webpack_require__(113); + + /** + * While `isCollapsed` is available on the Selection object and `collapsed` + * is available on the Range object, IE11 sometimes gets them wrong. + * If the anchor/focus nodes and offsets are the same, the range is collapsed. + */ + function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) { + return anchorNode === focusNode && anchorOffset === focusOffset; + } + + /** + * Get the appropriate anchor and focus node/offset pairs for IE. + * + * The catch here is that IE's selection API doesn't provide information + * about whether the selection is forward or backward, so we have to + * behave as though it's always forward. + * + * IE text differs from modern selection in that it behaves as though + * block elements end with a new line. This means character offsets will + * differ between the two APIs. + * + * @param {DOMElement} node + * @return {object} + */ + function getIEOffsets(node) { + var selection = document.selection; + var selectedRange = selection.createRange(); + var selectedLength = selectedRange.text.length; + + // Duplicate selection so we can move range without breaking user selection. + var fromStart = selectedRange.duplicate(); + fromStart.moveToElementText(node); + fromStart.setEndPoint('EndToStart', selectedRange); + + var startOffset = fromStart.text.length; + var endOffset = startOffset + selectedLength; + + return { + start: startOffset, + end: endOffset + }; + } + + /** + * @param {DOMElement} node + * @return {?object} + */ + function getModernOffsets(node) { + var selection = window.getSelection && window.getSelection(); + + if (!selection || selection.rangeCount === 0) { + return null; + } + + var anchorNode = selection.anchorNode; + var anchorOffset = selection.anchorOffset; + var focusNode = selection.focusNode; + var focusOffset = selection.focusOffset; + + var currentRange = selection.getRangeAt(0); + + // In Firefox, range.startContainer and range.endContainer can be "anonymous + // divs", e.g. the up/down buttons on an <input type="number">. Anonymous + // divs do not seem to expose properties, triggering a "Permission denied + // error" if any of its properties are accessed. The only seemingly possible + // way to avoid erroring is to access a property that typically works for + // non-anonymous divs and catch any error that may otherwise arise. See + // https://bugzilla.mozilla.org/show_bug.cgi?id=208427 + try { + /* eslint-disable no-unused-expressions */ + currentRange.startContainer.nodeType; + currentRange.endContainer.nodeType; + /* eslint-enable no-unused-expressions */ + } catch (e) { + return null; + } + + // If the node and offset values are the same, the selection is collapsed. + // `Selection.isCollapsed` is available natively, but IE sometimes gets + // this value wrong. + var isSelectionCollapsed = isCollapsed(selection.anchorNode, selection.anchorOffset, selection.focusNode, selection.focusOffset); + + var rangeLength = isSelectionCollapsed ? 0 : currentRange.toString().length; + + var tempRange = currentRange.cloneRange(); + tempRange.selectNodeContents(node); + tempRange.setEnd(currentRange.startContainer, currentRange.startOffset); + + var isTempRangeCollapsed = isCollapsed(tempRange.startContainer, tempRange.startOffset, tempRange.endContainer, tempRange.endOffset); + + var start = isTempRangeCollapsed ? 0 : tempRange.toString().length; + var end = start + rangeLength; + + // Detect whether the selection is backward. + var detectionRange = document.createRange(); + detectionRange.setStart(anchorNode, anchorOffset); + detectionRange.setEnd(focusNode, focusOffset); + var isBackward = detectionRange.collapsed; + + return { + start: isBackward ? end : start, + end: isBackward ? start : end + }; + } + + /** + * @param {DOMElement|DOMTextNode} node + * @param {object} offsets + */ + function setIEOffsets(node, offsets) { + var range = document.selection.createRange().duplicate(); + var start, end; + + if (offsets.end === undefined) { + start = offsets.start; + end = start; + } else if (offsets.start > offsets.end) { + start = offsets.end; + end = offsets.start; + } else { + start = offsets.start; + end = offsets.end; + } + + range.moveToElementText(node); + range.moveStart('character', start); + range.setEndPoint('EndToStart', range); + range.moveEnd('character', end - start); + range.select(); + } + + /** + * In modern non-IE browsers, we can support both forward and backward + * selections. + * + * Note: IE10+ supports the Selection object, but it does not support + * the `extend` method, which means that even in modern IE, it's not possible + * to programmatically create a backward selection. Thus, for all IE + * versions, we use the old IE API to create our selections. + * + * @param {DOMElement|DOMTextNode} node + * @param {object} offsets + */ + function setModernOffsets(node, offsets) { + if (!window.getSelection) { + return; + } + + var selection = window.getSelection(); + var length = node[getTextContentAccessor()].length; + var start = Math.min(offsets.start, length); + var end = offsets.end === undefined ? start : Math.min(offsets.end, length); + + // IE 11 uses modern selection, but doesn't support the extend method. + // Flip backward selections, so we can set with a single range. + if (!selection.extend && start > end) { + var temp = end; + end = start; + start = temp; + } + + var startMarker = getNodeForCharacterOffset(node, start); + var endMarker = getNodeForCharacterOffset(node, end); + + if (startMarker && endMarker) { + var range = document.createRange(); + range.setStart(startMarker.node, startMarker.offset); + selection.removeAllRanges(); + + if (start > end) { + selection.addRange(range); + selection.extend(endMarker.node, endMarker.offset); + } else { + range.setEnd(endMarker.node, endMarker.offset); + selection.addRange(range); + } + } + } + + var useIEOffsets = ExecutionEnvironment.canUseDOM && 'selection' in document && !('getSelection' in window); + + var ReactDOMSelection = { + /** + * @param {DOMElement} node + */ + getOffsets: useIEOffsets ? getIEOffsets : getModernOffsets, + + /** + * @param {DOMElement|DOMTextNode} node + * @param {object} offsets + */ + setOffsets: useIEOffsets ? setIEOffsets : setModernOffsets + }; + + module.exports = ReactDOMSelection; + +/***/ }, +/* 208 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(7); + + var DOMChildrenOperations = __webpack_require__(58); + var DOMLazyTree = __webpack_require__(31); + var ReactDOMComponentTree = __webpack_require__(6); + + var escapeTextContentForBrowser = __webpack_require__(50); + var invariant = __webpack_require__(3); + var validateDOMNesting = __webpack_require__(73); + + /** + * Text nodes violate a couple assumptions that React makes about components: + * + * - When mounting text into the DOM, adjacent text nodes are merged. + * - Text nodes cannot be assigned a React root ID. + * + * This component is used to wrap strings between comment nodes so that they + * can undergo the same reconciliation that is applied to elements. + * + * TODO: Investigate representing React components in the DOM with text nodes. + * + * @class ReactDOMTextComponent + * @extends ReactComponent + * @internal + */ + var ReactDOMTextComponent = function ReactDOMTextComponent(text) { + // TODO: This is really a ReactText (ReactNode), not a ReactElement + this._currentElement = text; + this._stringText = '' + text; + // ReactDOMComponentTree uses these: + this._hostNode = null; + this._hostParent = null; + + // Properties + this._domID = 0; + this._mountIndex = 0; + this._closingComment = null; + this._commentNodes = null; + }; + + _assign(ReactDOMTextComponent.prototype, { + + /** + * Creates the markup for this text node. This node is not intended to have + * any features besides containing text content. + * + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @return {string} Markup for this text node. + * @internal + */ + mountComponent: function mountComponent(transaction, hostParent, hostContainerInfo, context) { + if (false) { + var parentInfo; + if (hostParent != null) { + parentInfo = hostParent._ancestorInfo; + } else if (hostContainerInfo != null) { + parentInfo = hostContainerInfo._ancestorInfo; + } + if (parentInfo) { + // parentInfo should always be present except for the top-level + // component when server rendering + validateDOMNesting(null, this._stringText, this, parentInfo); + } + } + + var domID = hostContainerInfo._idCounter++; + var openingValue = ' react-text: ' + domID + ' '; + var closingValue = ' /react-text '; + this._domID = domID; + this._hostParent = hostParent; + if (transaction.useCreateElement) { + var ownerDocument = hostContainerInfo._ownerDocument; + var openingComment = ownerDocument.createComment(openingValue); + var closingComment = ownerDocument.createComment(closingValue); + var lazyTree = DOMLazyTree(ownerDocument.createDocumentFragment()); + DOMLazyTree.queueChild(lazyTree, DOMLazyTree(openingComment)); + if (this._stringText) { + DOMLazyTree.queueChild(lazyTree, DOMLazyTree(ownerDocument.createTextNode(this._stringText))); + } + DOMLazyTree.queueChild(lazyTree, DOMLazyTree(closingComment)); + ReactDOMComponentTree.precacheNode(this, openingComment); + this._closingComment = closingComment; + return lazyTree; + } else { + var escapedText = escapeTextContentForBrowser(this._stringText); + + if (transaction.renderToStaticMarkup) { + // Normally we'd wrap this between comment nodes for the reasons stated + // above, but since this is a situation where React won't take over + // (static pages), we can simply return the text as it is. + return escapedText; + } + + return '<!--' + openingValue + '-->' + escapedText + '<!--' + closingValue + '-->'; + } + }, + + /** + * Updates this component by updating the text content. + * + * @param {ReactText} nextText The next text content + * @param {ReactReconcileTransaction} transaction + * @internal + */ + receiveComponent: function receiveComponent(nextText, transaction) { + if (nextText !== this._currentElement) { + this._currentElement = nextText; + var nextStringText = '' + nextText; + if (nextStringText !== this._stringText) { + // TODO: Save this as pending props and use performUpdateIfNecessary + // and/or updateComponent to do the actual update for consistency with + // other component types? + this._stringText = nextStringText; + var commentNodes = this.getHostNode(); + DOMChildrenOperations.replaceDelimitedText(commentNodes[0], commentNodes[1], nextStringText); + } + } + }, + + getHostNode: function getHostNode() { + var hostNode = this._commentNodes; + if (hostNode) { + return hostNode; + } + if (!this._closingComment) { + var openingComment = ReactDOMComponentTree.getNodeFromInstance(this); + var node = openingComment.nextSibling; + while (true) { + !(node != null) ? false ? invariant(false, 'Missing closing comment for text component %s', this._domID) : _prodInvariant('67', this._domID) : void 0; + if (node.nodeType === 8 && node.nodeValue === ' /react-text ') { + this._closingComment = node; + break; + } + node = node.nextSibling; + } + } + hostNode = [this._hostNode, this._closingComment]; + this._commentNodes = hostNode; + return hostNode; + }, + + unmountComponent: function unmountComponent() { + this._closingComment = null; + this._commentNodes = null; + ReactDOMComponentTree.uncacheNode(this); + } + + }); + + module.exports = ReactDOMTextComponent; + +/***/ }, +/* 209 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(7); + + var LinkedValueUtils = __webpack_require__(63); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactUpdates = __webpack_require__(15); + + var invariant = __webpack_require__(3); + var warning = __webpack_require__(5); + + var didWarnValueLink = false; + var didWarnValDefaultVal = false; + + function forceUpdateIfMounted() { + if (this._rootNodeID) { + // DOM component is still mounted; update + ReactDOMTextarea.updateWrapper(this); + } + } + + /** + * Implements a <textarea> host component that allows setting `value`, and + * `defaultValue`. This differs from the traditional DOM API because value is + * usually set as PCDATA children. + * + * If `value` is not supplied (or null/undefined), user actions that affect the + * value will trigger updates to the element. + * + * If `value` is supplied (and not null/undefined), the rendered element will + * not trigger updates to the element. Instead, the `value` prop must change in + * order for the rendered element to be updated. + * + * The rendered element will be initialized with an empty value, the prop + * `defaultValue` if specified, or the children content (deprecated). + */ + var ReactDOMTextarea = { + getHostProps: function getHostProps(inst, props) { + !(props.dangerouslySetInnerHTML == null) ? false ? invariant(false, '`dangerouslySetInnerHTML` does not make sense on <textarea>.') : _prodInvariant('91') : void 0; + + // Always set children to the same thing. In IE9, the selection range will + // get reset if `textContent` is mutated. We could add a check in setTextContent + // to only set the value if/when the value differs from the node value (which would + // completely solve this IE9 bug), but Sebastian+Ben seemed to like this solution. + // The value can be a boolean or object so that's why it's forced to be a string. + var hostProps = _assign({}, props, { + value: undefined, + defaultValue: undefined, + children: '' + inst._wrapperState.initialValue, + onChange: inst._wrapperState.onChange + }); + + return hostProps; + }, + + mountWrapper: function mountWrapper(inst, props) { + if (false) { + LinkedValueUtils.checkPropTypes('textarea', props, inst._currentElement._owner); + if (props.valueLink !== undefined && !didWarnValueLink) { + process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `textarea` is deprecated; set `value` and `onChange` instead.') : void 0; + didWarnValueLink = true; + } + if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValDefaultVal) { + process.env.NODE_ENV !== 'production' ? warning(false, 'Textarea elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled textarea ' + 'and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0; + didWarnValDefaultVal = true; + } + } + + var value = LinkedValueUtils.getValue(props); + var initialValue = value; + + // Only bother fetching default value if we're going to use it + if (value == null) { + var defaultValue = props.defaultValue; + // TODO (yungsters): Remove support for children content in <textarea>. + var children = props.children; + if (children != null) { + if (false) { + process.env.NODE_ENV !== 'production' ? warning(false, 'Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.') : void 0; + } + !(defaultValue == null) ? false ? invariant(false, 'If you supply `defaultValue` on a <textarea>, do not pass children.') : _prodInvariant('92') : void 0; + if (Array.isArray(children)) { + !(children.length <= 1) ? false ? invariant(false, '<textarea> can only have at most one child.') : _prodInvariant('93') : void 0; + children = children[0]; + } + + defaultValue = '' + children; + } + if (defaultValue == null) { + defaultValue = ''; + } + initialValue = defaultValue; + } + + inst._wrapperState = { + initialValue: '' + initialValue, + listeners: null, + onChange: _handleChange.bind(inst) + }; + }, + + updateWrapper: function updateWrapper(inst) { + var props = inst._currentElement.props; + + var node = ReactDOMComponentTree.getNodeFromInstance(inst); + var value = LinkedValueUtils.getValue(props); + if (value != null) { + // Cast `value` to a string to ensure the value is set correctly. While + // browsers typically do this as necessary, jsdom doesn't. + var newValue = '' + value; + + // To avoid side effects (such as losing text selection), only set value if changed + if (newValue !== node.value) { + node.value = newValue; + } + if (props.defaultValue == null) { + node.defaultValue = newValue; + } + } + if (props.defaultValue != null) { + node.defaultValue = props.defaultValue; + } + }, + + postMountWrapper: function postMountWrapper(inst) { + // This is in postMount because we need access to the DOM node, which is not + // available until after the component has mounted. + var node = ReactDOMComponentTree.getNodeFromInstance(inst); + + // Warning: node.value may be the empty string at this point (IE11) if placeholder is set. + node.value = node.textContent; // Detach value from defaultValue + } + }; + + function _handleChange(event) { + var props = this._currentElement.props; + var returnValue = LinkedValueUtils.executeOnChange(props, event); + ReactUpdates.asap(forceUpdateIfMounted, this); + return returnValue; + } + + module.exports = ReactDOMTextarea; + +/***/ }, +/* 210 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2015-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(3); + + /** + * Return the lowest common ancestor of A and B, or null if they are in + * different trees. + */ + function getLowestCommonAncestor(instA, instB) { + !('_hostNode' in instA) ? false ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0; + !('_hostNode' in instB) ? false ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0; + + var depthA = 0; + for (var tempA = instA; tempA; tempA = tempA._hostParent) { + depthA++; + } + var depthB = 0; + for (var tempB = instB; tempB; tempB = tempB._hostParent) { + depthB++; + } + + // If A is deeper, crawl up. + while (depthA - depthB > 0) { + instA = instA._hostParent; + depthA--; + } + + // If B is deeper, crawl up. + while (depthB - depthA > 0) { + instB = instB._hostParent; + depthB--; + } + + // Walk in lockstep until we find a match. + var depth = depthA; + while (depth--) { + if (instA === instB) { + return instA; + } + instA = instA._hostParent; + instB = instB._hostParent; + } + return null; + } + + /** + * Return if A is an ancestor of B. + */ + function isAncestor(instA, instB) { + !('_hostNode' in instA) ? false ? invariant(false, 'isAncestor: Invalid argument.') : _prodInvariant('35') : void 0; + !('_hostNode' in instB) ? false ? invariant(false, 'isAncestor: Invalid argument.') : _prodInvariant('35') : void 0; + + while (instB) { + if (instB === instA) { + return true; + } + instB = instB._hostParent; + } + return false; + } + + /** + * Return the parent instance of the passed-in instance. + */ + function getParentInstance(inst) { + !('_hostNode' in inst) ? false ? invariant(false, 'getParentInstance: Invalid argument.') : _prodInvariant('36') : void 0; + + return inst._hostParent; + } + + /** + * Simulates the traversal of a two-phase, capture/bubble event dispatch. + */ + function traverseTwoPhase(inst, fn, arg) { + var path = []; + while (inst) { + path.push(inst); + inst = inst._hostParent; + } + var i; + for (i = path.length; i-- > 0;) { + fn(path[i], 'captured', arg); + } + for (i = 0; i < path.length; i++) { + fn(path[i], 'bubbled', arg); + } + } + + /** + * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that + * should would receive a `mouseEnter` or `mouseLeave` event. + * + * Does not invoke the callback on the nearest common ancestor because nothing + * "entered" or "left" that element. + */ + function traverseEnterLeave(from, to, fn, argFrom, argTo) { + var common = from && to ? getLowestCommonAncestor(from, to) : null; + var pathFrom = []; + while (from && from !== common) { + pathFrom.push(from); + from = from._hostParent; + } + var pathTo = []; + while (to && to !== common) { + pathTo.push(to); + to = to._hostParent; + } + var i; + for (i = 0; i < pathFrom.length; i++) { + fn(pathFrom[i], 'bubbled', argFrom); + } + for (i = pathTo.length; i-- > 0;) { + fn(pathTo[i], 'captured', argTo); + } + } + + module.exports = { + isAncestor: isAncestor, + getLowestCommonAncestor: getLowestCommonAncestor, + getParentInstance: getParentInstance, + traverseTwoPhase: traverseTwoPhase, + traverseEnterLeave: traverseEnterLeave + }; + +/***/ }, +/* 211 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var ReactUpdates = __webpack_require__(15); + var Transaction = __webpack_require__(49); + + var emptyFunction = __webpack_require__(19); + + var RESET_BATCHED_UPDATES = { + initialize: emptyFunction, + close: function close() { + ReactDefaultBatchingStrategy.isBatchingUpdates = false; + } + }; + + var FLUSH_BATCHED_UPDATES = { + initialize: emptyFunction, + close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates) + }; + + var TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES]; + + function ReactDefaultBatchingStrategyTransaction() { + this.reinitializeTransaction(); + } + + _assign(ReactDefaultBatchingStrategyTransaction.prototype, Transaction, { + getTransactionWrappers: function getTransactionWrappers() { + return TRANSACTION_WRAPPERS; + } + }); + + var transaction = new ReactDefaultBatchingStrategyTransaction(); + + var ReactDefaultBatchingStrategy = { + isBatchingUpdates: false, + + /** + * Call the provided function in a context within which calls to `setState` + * and friends are batched such that components aren't updated unnecessarily. + */ + batchedUpdates: function batchedUpdates(callback, a, b, c, d, e) { + var alreadyBatchingUpdates = ReactDefaultBatchingStrategy.isBatchingUpdates; + + ReactDefaultBatchingStrategy.isBatchingUpdates = true; + + // The code is written this way to avoid extra allocations + if (alreadyBatchingUpdates) { + return callback(a, b, c, d, e); + } else { + return transaction.perform(callback, null, a, b, c, d, e); + } + } + }; + + module.exports = ReactDefaultBatchingStrategy; + +/***/ }, +/* 212 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ARIADOMPropertyConfig = __webpack_require__(187); + var BeforeInputEventPlugin = __webpack_require__(189); + var ChangeEventPlugin = __webpack_require__(191); + var DefaultEventPluginOrder = __webpack_require__(193); + var EnterLeaveEventPlugin = __webpack_require__(194); + var HTMLDOMPropertyConfig = __webpack_require__(196); + var ReactComponentBrowserEnvironment = __webpack_require__(198); + var ReactDOMComponent = __webpack_require__(200); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactDOMEmptyComponent = __webpack_require__(202); + var ReactDOMTreeTraversal = __webpack_require__(210); + var ReactDOMTextComponent = __webpack_require__(208); + var ReactDefaultBatchingStrategy = __webpack_require__(211); + var ReactEventListener = __webpack_require__(215); + var ReactInjection = __webpack_require__(216); + var ReactReconcileTransaction = __webpack_require__(221); + var SVGDOMPropertyConfig = __webpack_require__(226); + var SelectEventPlugin = __webpack_require__(227); + var SimpleEventPlugin = __webpack_require__(228); + + var alreadyInjected = false; + + function inject() { + if (alreadyInjected) { + // TODO: This is currently true because these injections are shared between + // the client and the server package. They should be built independently + // and not share any injection state. Then this problem will be solved. + return; + } + alreadyInjected = true; + + ReactInjection.EventEmitter.injectReactEventListener(ReactEventListener); + + /** + * Inject modules for resolving DOM hierarchy and plugin ordering. + */ + ReactInjection.EventPluginHub.injectEventPluginOrder(DefaultEventPluginOrder); + ReactInjection.EventPluginUtils.injectComponentTree(ReactDOMComponentTree); + ReactInjection.EventPluginUtils.injectTreeTraversal(ReactDOMTreeTraversal); + + /** + * Some important event plugins included by default (without having to require + * them). + */ + ReactInjection.EventPluginHub.injectEventPluginsByName({ + SimpleEventPlugin: SimpleEventPlugin, + EnterLeaveEventPlugin: EnterLeaveEventPlugin, + ChangeEventPlugin: ChangeEventPlugin, + SelectEventPlugin: SelectEventPlugin, + BeforeInputEventPlugin: BeforeInputEventPlugin + }); + + ReactInjection.HostComponent.injectGenericComponentClass(ReactDOMComponent); + + ReactInjection.HostComponent.injectTextComponentClass(ReactDOMTextComponent); + + ReactInjection.DOMProperty.injectDOMPropertyConfig(ARIADOMPropertyConfig); + ReactInjection.DOMProperty.injectDOMPropertyConfig(HTMLDOMPropertyConfig); + ReactInjection.DOMProperty.injectDOMPropertyConfig(SVGDOMPropertyConfig); + + ReactInjection.EmptyComponent.injectEmptyComponentFactory(function (instantiate) { + return new ReactDOMEmptyComponent(instantiate); + }); + + ReactInjection.Updates.injectReconcileTransaction(ReactReconcileTransaction); + ReactInjection.Updates.injectBatchingStrategy(ReactDefaultBatchingStrategy); + + ReactInjection.Component.injectEnvironment(ReactComponentBrowserEnvironment); + } + + module.exports = { + inject: inject + }; + +/***/ }, +/* 213 */ +125, +/* 214 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var EventPluginHub = __webpack_require__(42); + + function runEventQueueInBatch(events) { + EventPluginHub.enqueueEvents(events); + EventPluginHub.processEventQueue(false); + } + + var ReactEventEmitterMixin = { + + /** + * Streams a fired top-level event to `EventPluginHub` where plugins have the + * opportunity to create `ReactEvent`s to be dispatched. + */ + handleTopLevel: function handleTopLevel(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + var events = EventPluginHub.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget); + runEventQueueInBatch(events); + } + }; + + module.exports = ReactEventEmitterMixin; + +/***/ }, +/* 215 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var EventListener = __webpack_require__(119); + var ExecutionEnvironment = __webpack_require__(10); + var PooledClass = __webpack_require__(27); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactUpdates = __webpack_require__(15); + + var getEventTarget = __webpack_require__(70); + var getUnboundedScrollPosition = __webpack_require__(255); + + /** + * Find the deepest React component completely containing the root of the + * passed-in instance (for use when entire React trees are nested within each + * other). If React trees are not nested, returns null. + */ + function findParent(inst) { + // TODO: It may be a good idea to cache this to prevent unnecessary DOM + // traversal, but caching is difficult to do correctly without using a + // mutation observer to listen for all DOM changes. + while (inst._hostParent) { + inst = inst._hostParent; + } + var rootNode = ReactDOMComponentTree.getNodeFromInstance(inst); + var container = rootNode.parentNode; + return ReactDOMComponentTree.getClosestInstanceFromNode(container); + } + + // Used to store ancestor hierarchy in top level callback + function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) { + this.topLevelType = topLevelType; + this.nativeEvent = nativeEvent; + this.ancestors = []; + } + _assign(TopLevelCallbackBookKeeping.prototype, { + destructor: function destructor() { + this.topLevelType = null; + this.nativeEvent = null; + this.ancestors.length = 0; + } + }); + PooledClass.addPoolingTo(TopLevelCallbackBookKeeping, PooledClass.twoArgumentPooler); + + function handleTopLevelImpl(bookKeeping) { + var nativeEventTarget = getEventTarget(bookKeeping.nativeEvent); + var targetInst = ReactDOMComponentTree.getClosestInstanceFromNode(nativeEventTarget); + + // Loop through the hierarchy, in case there's any nested components. + // It's important that we build the array of ancestors before calling any + // event handlers, because event handlers can modify the DOM, leading to + // inconsistencies with ReactMount's node cache. See #1105. + var ancestor = targetInst; + do { + bookKeeping.ancestors.push(ancestor); + ancestor = ancestor && findParent(ancestor); + } while (ancestor); + + for (var i = 0; i < bookKeeping.ancestors.length; i++) { + targetInst = bookKeeping.ancestors[i]; + ReactEventListener._handleTopLevel(bookKeeping.topLevelType, targetInst, bookKeeping.nativeEvent, getEventTarget(bookKeeping.nativeEvent)); + } + } + + function scrollValueMonitor(cb) { + var scrollPosition = getUnboundedScrollPosition(window); + cb(scrollPosition); + } + + var ReactEventListener = { + _enabled: true, + _handleTopLevel: null, + + WINDOW_HANDLE: ExecutionEnvironment.canUseDOM ? window : null, + + setHandleTopLevel: function setHandleTopLevel(handleTopLevel) { + ReactEventListener._handleTopLevel = handleTopLevel; + }, + + setEnabled: function setEnabled(enabled) { + ReactEventListener._enabled = !!enabled; + }, + + isEnabled: function isEnabled() { + return ReactEventListener._enabled; + }, + + /** + * Traps top-level events by using event bubbling. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {string} handlerBaseName Event name (e.g. "click"). + * @param {object} element Element on which to attach listener. + * @return {?object} An object with a remove function which will forcefully + * remove the listener. + * @internal + */ + trapBubbledEvent: function trapBubbledEvent(topLevelType, handlerBaseName, element) { + if (!element) { + return null; + } + return EventListener.listen(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType)); + }, + + /** + * Traps a top-level event by using event capturing. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {string} handlerBaseName Event name (e.g. "click"). + * @param {object} element Element on which to attach listener. + * @return {?object} An object with a remove function which will forcefully + * remove the listener. + * @internal + */ + trapCapturedEvent: function trapCapturedEvent(topLevelType, handlerBaseName, element) { + if (!element) { + return null; + } + return EventListener.capture(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType)); + }, + + monitorScrollValue: function monitorScrollValue(refresh) { + var callback = scrollValueMonitor.bind(null, refresh); + EventListener.listen(window, 'scroll', callback); + }, + + dispatchEvent: function dispatchEvent(topLevelType, nativeEvent) { + if (!ReactEventListener._enabled) { + return; + } + + var bookKeeping = TopLevelCallbackBookKeeping.getPooled(topLevelType, nativeEvent); + try { + // Event queue being processed in the same cycle allows + // `preventDefault`. + ReactUpdates.batchedUpdates(handleTopLevelImpl, bookKeeping); + } finally { + TopLevelCallbackBookKeeping.release(bookKeeping); + } + } + }; + + module.exports = ReactEventListener; + +/***/ }, +/* 216 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var DOMProperty = __webpack_require__(32); + var EventPluginHub = __webpack_require__(42); + var EventPluginUtils = __webpack_require__(61); + var ReactComponentEnvironment = __webpack_require__(64); + var ReactEmptyComponent = __webpack_require__(103); + var ReactBrowserEventEmitter = __webpack_require__(47); + var ReactHostComponent = __webpack_require__(105); + var ReactUpdates = __webpack_require__(15); + + var ReactInjection = { + Component: ReactComponentEnvironment.injection, + DOMProperty: DOMProperty.injection, + EmptyComponent: ReactEmptyComponent.injection, + EventPluginHub: EventPluginHub.injection, + EventPluginUtils: EventPluginUtils.injection, + EventEmitter: ReactBrowserEventEmitter.injection, + HostComponent: ReactHostComponent.injection, + Updates: ReactUpdates.injection + }; + + module.exports = ReactInjection; + +/***/ }, +/* 217 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var adler32 = __webpack_require__(239); + + var TAG_END = /\/?>/; + var COMMENT_START = /^<\!\-\-/; + + var ReactMarkupChecksum = { + CHECKSUM_ATTR_NAME: 'data-react-checksum', + + /** + * @param {string} markup Markup string + * @return {string} Markup string with checksum attribute attached + */ + addChecksumToMarkup: function addChecksumToMarkup(markup) { + var checksum = adler32(markup); + + // Add checksum (handle both parent tags, comments and self-closing tags) + if (COMMENT_START.test(markup)) { + return markup; + } else { + return markup.replace(TAG_END, ' ' + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + '="' + checksum + '"$&'); + } + }, + + /** + * @param {string} markup to use + * @param {DOMElement} element root React element + * @returns {boolean} whether or not the markup is the same + */ + canReuseMarkup: function canReuseMarkup(markup, element) { + var existingChecksum = element.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME); + existingChecksum = existingChecksum && parseInt(existingChecksum, 10); + var markupChecksum = adler32(markup); + return markupChecksum === existingChecksum; + } + }; + + module.exports = ReactMarkupChecksum; + +/***/ }, +/* 218 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var ReactComponentEnvironment = __webpack_require__(64); + var ReactInstanceMap = __webpack_require__(33); + var ReactInstrumentation = __webpack_require__(14); + + var ReactCurrentOwner = __webpack_require__(21); + var ReactReconciler = __webpack_require__(34); + var ReactChildReconciler = __webpack_require__(197); + + var emptyFunction = __webpack_require__(19); + var flattenChildren = __webpack_require__(242); + var invariant = __webpack_require__(3); + + /** + * Make an update for markup to be rendered and inserted at a supplied index. + * + * @param {string} markup Markup that renders into an element. + * @param {number} toIndex Destination index. + * @private + */ + function makeInsertMarkup(markup, afterNode, toIndex) { + // NOTE: Null values reduce hidden classes. + return { + type: 'INSERT_MARKUP', + content: markup, + fromIndex: null, + fromNode: null, + toIndex: toIndex, + afterNode: afterNode + }; + } + + /** + * Make an update for moving an existing element to another index. + * + * @param {number} fromIndex Source index of the existing element. + * @param {number} toIndex Destination index of the element. + * @private + */ + function makeMove(child, afterNode, toIndex) { + // NOTE: Null values reduce hidden classes. + return { + type: 'MOVE_EXISTING', + content: null, + fromIndex: child._mountIndex, + fromNode: ReactReconciler.getHostNode(child), + toIndex: toIndex, + afterNode: afterNode + }; + } + + /** + * Make an update for removing an element at an index. + * + * @param {number} fromIndex Index of the element to remove. + * @private + */ + function makeRemove(child, node) { + // NOTE: Null values reduce hidden classes. + return { + type: 'REMOVE_NODE', + content: null, + fromIndex: child._mountIndex, + fromNode: node, + toIndex: null, + afterNode: null + }; + } + + /** + * Make an update for setting the markup of a node. + * + * @param {string} markup Markup that renders into an element. + * @private + */ + function makeSetMarkup(markup) { + // NOTE: Null values reduce hidden classes. + return { + type: 'SET_MARKUP', + content: markup, + fromIndex: null, + fromNode: null, + toIndex: null, + afterNode: null + }; + } + + /** + * Make an update for setting the text content. + * + * @param {string} textContent Text content to set. + * @private + */ + function makeTextContent(textContent) { + // NOTE: Null values reduce hidden classes. + return { + type: 'TEXT_CONTENT', + content: textContent, + fromIndex: null, + fromNode: null, + toIndex: null, + afterNode: null + }; + } + + /** + * Push an update, if any, onto the queue. Creates a new queue if none is + * passed and always returns the queue. Mutative. + */ + function enqueue(queue, update) { + if (update) { + queue = queue || []; + queue.push(update); + } + return queue; + } + + /** + * Processes any enqueued updates. + * + * @private + */ + function processQueue(inst, updateQueue) { + ReactComponentEnvironment.processChildrenUpdates(inst, updateQueue); + } + + var setChildrenForInstrumentation = emptyFunction; + if (false) { + var getDebugID = function getDebugID(inst) { + if (!inst._debugID) { + // Check for ART-like instances. TODO: This is silly/gross. + var internal; + if (internal = ReactInstanceMap.get(inst)) { + inst = internal; + } + } + return inst._debugID; + }; + setChildrenForInstrumentation = function setChildrenForInstrumentation(children) { + var debugID = getDebugID(this); + // TODO: React Native empty components are also multichild. + // This means they still get into this method but don't have _debugID. + if (debugID !== 0) { + ReactInstrumentation.debugTool.onSetChildren(debugID, children ? Object.keys(children).map(function (key) { + return children[key]._debugID; + }) : []); + } + }; + } + + /** + * ReactMultiChild are capable of reconciling multiple children. + * + * @class ReactMultiChild + * @internal + */ + var ReactMultiChild = { + + /** + * Provides common functionality for components that must reconcile multiple + * children. This is used by `ReactDOMComponent` to mount, update, and + * unmount child components. + * + * @lends {ReactMultiChild.prototype} + */ + Mixin: { + + _reconcilerInstantiateChildren: function _reconcilerInstantiateChildren(nestedChildren, transaction, context) { + if (false) { + var selfDebugID = getDebugID(this); + if (this._currentElement) { + try { + ReactCurrentOwner.current = this._currentElement._owner; + return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context, selfDebugID); + } finally { + ReactCurrentOwner.current = null; + } + } + } + return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context); + }, + + _reconcilerUpdateChildren: function _reconcilerUpdateChildren(prevChildren, nextNestedChildrenElements, mountImages, removedNodes, transaction, context) { + var nextChildren; + var selfDebugID = 0; + if (false) { + selfDebugID = getDebugID(this); + if (this._currentElement) { + try { + ReactCurrentOwner.current = this._currentElement._owner; + nextChildren = flattenChildren(nextNestedChildrenElements, selfDebugID); + } finally { + ReactCurrentOwner.current = null; + } + ReactChildReconciler.updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, this, this._hostContainerInfo, context, selfDebugID); + return nextChildren; + } + } + nextChildren = flattenChildren(nextNestedChildrenElements, selfDebugID); + ReactChildReconciler.updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, this, this._hostContainerInfo, context, selfDebugID); + return nextChildren; + }, + + /** + * Generates a "mount image" for each of the supplied children. In the case + * of `ReactDOMComponent`, a mount image is a string of markup. + * + * @param {?object} nestedChildren Nested child maps. + * @return {array} An array of mounted representations. + * @internal + */ + mountChildren: function mountChildren(nestedChildren, transaction, context) { + var children = this._reconcilerInstantiateChildren(nestedChildren, transaction, context); + this._renderedChildren = children; + + var mountImages = []; + var index = 0; + for (var name in children) { + if (children.hasOwnProperty(name)) { + var child = children[name]; + var selfDebugID = 0; + if (false) { + selfDebugID = getDebugID(this); + } + var mountImage = ReactReconciler.mountComponent(child, transaction, this, this._hostContainerInfo, context, selfDebugID); + child._mountIndex = index++; + mountImages.push(mountImage); + } + } + + if (false) { + setChildrenForInstrumentation.call(this, children); + } + + return mountImages; + }, + + /** + * Replaces any rendered children with a text content string. + * + * @param {string} nextContent String of content. + * @internal + */ + updateTextContent: function updateTextContent(nextContent) { + var prevChildren = this._renderedChildren; + // Remove any rendered children. + ReactChildReconciler.unmountChildren(prevChildren, false); + for (var name in prevChildren) { + if (prevChildren.hasOwnProperty(name)) { + true ? false ? invariant(false, 'updateTextContent called on non-empty component.') : _prodInvariant('118') : void 0; + } + } + // Set new text content. + var updates = [makeTextContent(nextContent)]; + processQueue(this, updates); + }, + + /** + * Replaces any rendered children with a markup string. + * + * @param {string} nextMarkup String of markup. + * @internal + */ + updateMarkup: function updateMarkup(nextMarkup) { + var prevChildren = this._renderedChildren; + // Remove any rendered children. + ReactChildReconciler.unmountChildren(prevChildren, false); + for (var name in prevChildren) { + if (prevChildren.hasOwnProperty(name)) { + true ? false ? invariant(false, 'updateTextContent called on non-empty component.') : _prodInvariant('118') : void 0; + } + } + var updates = [makeSetMarkup(nextMarkup)]; + processQueue(this, updates); + }, + + /** + * Updates the rendered children with new children. + * + * @param {?object} nextNestedChildrenElements Nested child element maps. + * @param {ReactReconcileTransaction} transaction + * @internal + */ + updateChildren: function updateChildren(nextNestedChildrenElements, transaction, context) { + // Hook used by React ART + this._updateChildren(nextNestedChildrenElements, transaction, context); + }, + + /** + * @param {?object} nextNestedChildrenElements Nested child element maps. + * @param {ReactReconcileTransaction} transaction + * @final + * @protected + */ + _updateChildren: function _updateChildren(nextNestedChildrenElements, transaction, context) { + var prevChildren = this._renderedChildren; + var removedNodes = {}; + var mountImages = []; + var nextChildren = this._reconcilerUpdateChildren(prevChildren, nextNestedChildrenElements, mountImages, removedNodes, transaction, context); + if (!nextChildren && !prevChildren) { + return; + } + var updates = null; + var name; + // `nextIndex` will increment for each child in `nextChildren`, but + // `lastIndex` will be the last index visited in `prevChildren`. + var nextIndex = 0; + var lastIndex = 0; + // `nextMountIndex` will increment for each newly mounted child. + var nextMountIndex = 0; + var lastPlacedNode = null; + for (name in nextChildren) { + if (!nextChildren.hasOwnProperty(name)) { + continue; + } + var prevChild = prevChildren && prevChildren[name]; + var nextChild = nextChildren[name]; + if (prevChild === nextChild) { + updates = enqueue(updates, this.moveChild(prevChild, lastPlacedNode, nextIndex, lastIndex)); + lastIndex = Math.max(prevChild._mountIndex, lastIndex); + prevChild._mountIndex = nextIndex; + } else { + if (prevChild) { + // Update `lastIndex` before `_mountIndex` gets unset by unmounting. + lastIndex = Math.max(prevChild._mountIndex, lastIndex); + // The `removedNodes` loop below will actually remove the child. + } + // The child must be instantiated before it's mounted. + updates = enqueue(updates, this._mountChildAtIndex(nextChild, mountImages[nextMountIndex], lastPlacedNode, nextIndex, transaction, context)); + nextMountIndex++; + } + nextIndex++; + lastPlacedNode = ReactReconciler.getHostNode(nextChild); + } + // Remove children that are no longer present. + for (name in removedNodes) { + if (removedNodes.hasOwnProperty(name)) { + updates = enqueue(updates, this._unmountChild(prevChildren[name], removedNodes[name])); + } + } + if (updates) { + processQueue(this, updates); + } + this._renderedChildren = nextChildren; + + if (false) { + setChildrenForInstrumentation.call(this, nextChildren); + } + }, + + /** + * Unmounts all rendered children. This should be used to clean up children + * when this component is unmounted. It does not actually perform any + * backend operations. + * + * @internal + */ + unmountChildren: function unmountChildren(safely) { + var renderedChildren = this._renderedChildren; + ReactChildReconciler.unmountChildren(renderedChildren, safely); + this._renderedChildren = null; + }, + + /** + * Moves a child component to the supplied index. + * + * @param {ReactComponent} child Component to move. + * @param {number} toIndex Destination index of the element. + * @param {number} lastIndex Last index visited of the siblings of `child`. + * @protected + */ + moveChild: function moveChild(child, afterNode, toIndex, lastIndex) { + // If the index of `child` is less than `lastIndex`, then it needs to + // be moved. Otherwise, we do not need to move it because a child will be + // inserted or moved before `child`. + if (child._mountIndex < lastIndex) { + return makeMove(child, afterNode, toIndex); + } + }, + + /** + * Creates a child component. + * + * @param {ReactComponent} child Component to create. + * @param {string} mountImage Markup to insert. + * @protected + */ + createChild: function createChild(child, afterNode, mountImage) { + return makeInsertMarkup(mountImage, afterNode, child._mountIndex); + }, + + /** + * Removes a child component. + * + * @param {ReactComponent} child Child to remove. + * @protected + */ + removeChild: function removeChild(child, node) { + return makeRemove(child, node); + }, + + /** + * Mounts a child with the supplied name. + * + * NOTE: This is part of `updateChildren` and is here for readability. + * + * @param {ReactComponent} child Component to mount. + * @param {string} name Name of the child. + * @param {number} index Index at which to insert the child. + * @param {ReactReconcileTransaction} transaction + * @private + */ + _mountChildAtIndex: function _mountChildAtIndex(child, mountImage, afterNode, index, transaction, context) { + child._mountIndex = index; + return this.createChild(child, afterNode, mountImage); + }, + + /** + * Unmounts a rendered child. + * + * NOTE: This is part of `updateChildren` and is here for readability. + * + * @param {ReactComponent} child Component to unmount. + * @private + */ + _unmountChild: function _unmountChild(child, node) { + var update = this.removeChild(child, node); + child._mountIndex = null; + return update; + } + + } + + }; + + module.exports = ReactMultiChild; + +/***/ }, +/* 219 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(3); + + /** + * @param {?object} object + * @return {boolean} True if `object` is a valid owner. + * @final + */ + function isValidOwner(object) { + return !!(object && typeof object.attachRef === 'function' && typeof object.detachRef === 'function'); + } + + /** + * ReactOwners are capable of storing references to owned components. + * + * All components are capable of //being// referenced by owner components, but + * only ReactOwner components are capable of //referencing// owned components. + * The named reference is known as a "ref". + * + * Refs are available when mounted and updated during reconciliation. + * + * var MyComponent = React.createClass({ + * render: function() { + * return ( + * <div onClick={this.handleClick}> + * <CustomComponent ref="custom" /> + * </div> + * ); + * }, + * handleClick: function() { + * this.refs.custom.handleClick(); + * }, + * componentDidMount: function() { + * this.refs.custom.initialize(); + * } + * }); + * + * Refs should rarely be used. When refs are used, they should only be done to + * control data that is not handled by React's data flow. + * + * @class ReactOwner + */ + var ReactOwner = { + /** + * Adds a component by ref to an owner component. + * + * @param {ReactComponent} component Component to reference. + * @param {string} ref Name by which to refer to the component. + * @param {ReactOwner} owner Component on which to record the ref. + * @final + * @internal + */ + addComponentAsRefTo: function addComponentAsRefTo(component, ref, owner) { + !isValidOwner(owner) ? false ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('119') : void 0; + owner.attachRef(ref, component); + }, + + /** + * Removes a component by ref from an owner component. + * + * @param {ReactComponent} component Component to dereference. + * @param {string} ref Name of the ref to remove. + * @param {ReactOwner} owner Component on which the ref is recorded. + * @final + * @internal + */ + removeComponentAsRefFrom: function removeComponentAsRefFrom(component, ref, owner) { + !isValidOwner(owner) ? false ? invariant(false, 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('120') : void 0; + var ownerPublicInstance = owner.getPublicInstance(); + // Check that `component`'s owner is still alive and that `component` is still the current ref + // because we do not want to detach the ref if another component stole it. + if (ownerPublicInstance && ownerPublicInstance.refs[ref] === component.getPublicInstance()) { + owner.detachRef(ref); + } + } + + }; + + module.exports = ReactOwner; + +/***/ }, +/* 220 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; + + module.exports = ReactPropTypesSecret; + +/***/ }, +/* 221 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var CallbackQueue = __webpack_require__(98); + var PooledClass = __webpack_require__(27); + var ReactBrowserEventEmitter = __webpack_require__(47); + var ReactInputSelection = __webpack_require__(106); + var ReactInstrumentation = __webpack_require__(14); + var Transaction = __webpack_require__(49); + var ReactUpdateQueue = __webpack_require__(66); + + /** + * Ensures that, when possible, the selection range (currently selected text + * input) is not disturbed by performing the transaction. + */ + var SELECTION_RESTORATION = { + /** + * @return {Selection} Selection information. + */ + initialize: ReactInputSelection.getSelectionInformation, + /** + * @param {Selection} sel Selection information returned from `initialize`. + */ + close: ReactInputSelection.restoreSelection + }; + + /** + * Suppresses events (blur/focus) that could be inadvertently dispatched due to + * high level DOM manipulations (like temporarily removing a text input from the + * DOM). + */ + var EVENT_SUPPRESSION = { + /** + * @return {boolean} The enabled status of `ReactBrowserEventEmitter` before + * the reconciliation. + */ + initialize: function initialize() { + var currentlyEnabled = ReactBrowserEventEmitter.isEnabled(); + ReactBrowserEventEmitter.setEnabled(false); + return currentlyEnabled; + }, + + /** + * @param {boolean} previouslyEnabled Enabled status of + * `ReactBrowserEventEmitter` before the reconciliation occurred. `close` + * restores the previous value. + */ + close: function close(previouslyEnabled) { + ReactBrowserEventEmitter.setEnabled(previouslyEnabled); + } + }; + + /** + * Provides a queue for collecting `componentDidMount` and + * `componentDidUpdate` callbacks during the transaction. + */ + var ON_DOM_READY_QUEUEING = { + /** + * Initializes the internal `onDOMReady` queue. + */ + initialize: function initialize() { + this.reactMountReady.reset(); + }, + + /** + * After DOM is flushed, invoke all registered `onDOMReady` callbacks. + */ + close: function close() { + this.reactMountReady.notifyAll(); + } + }; + + /** + * Executed within the scope of the `Transaction` instance. Consider these as + * being member methods, but with an implied ordering while being isolated from + * each other. + */ + var TRANSACTION_WRAPPERS = [SELECTION_RESTORATION, EVENT_SUPPRESSION, ON_DOM_READY_QUEUEING]; + + if (false) { + TRANSACTION_WRAPPERS.push({ + initialize: ReactInstrumentation.debugTool.onBeginFlush, + close: ReactInstrumentation.debugTool.onEndFlush + }); + } + + /** + * Currently: + * - The order that these are listed in the transaction is critical: + * - Suppresses events. + * - Restores selection range. + * + * Future: + * - Restore document/overflow scroll positions that were unintentionally + * modified via DOM insertions above the top viewport boundary. + * - Implement/integrate with customized constraint based layout system and keep + * track of which dimensions must be remeasured. + * + * @class ReactReconcileTransaction + */ + function ReactReconcileTransaction(useCreateElement) { + this.reinitializeTransaction(); + // Only server-side rendering really needs this option (see + // `ReactServerRendering`), but server-side uses + // `ReactServerRenderingTransaction` instead. This option is here so that it's + // accessible and defaults to false when `ReactDOMComponent` and + // `ReactDOMTextComponent` checks it in `mountComponent`.` + this.renderToStaticMarkup = false; + this.reactMountReady = CallbackQueue.getPooled(null); + this.useCreateElement = useCreateElement; + } + + var Mixin = { + /** + * @see Transaction + * @abstract + * @final + * @return {array<object>} List of operation wrap procedures. + * TODO: convert to array<TransactionWrapper> + */ + getTransactionWrappers: function getTransactionWrappers() { + return TRANSACTION_WRAPPERS; + }, + + /** + * @return {object} The queue to collect `onDOMReady` callbacks with. + */ + getReactMountReady: function getReactMountReady() { + return this.reactMountReady; + }, + + /** + * @return {object} The queue to collect React async events. + */ + getUpdateQueue: function getUpdateQueue() { + return ReactUpdateQueue; + }, + + /** + * Save current transaction state -- if the return value from this method is + * passed to `rollback`, the transaction will be reset to that state. + */ + checkpoint: function checkpoint() { + // reactMountReady is the our only stateful wrapper + return this.reactMountReady.checkpoint(); + }, + + rollback: function rollback(checkpoint) { + this.reactMountReady.rollback(checkpoint); + }, + + /** + * `PooledClass` looks for this, and will invoke this before allowing this + * instance to be reused. + */ + destructor: function destructor() { + CallbackQueue.release(this.reactMountReady); + this.reactMountReady = null; + } + }; + + _assign(ReactReconcileTransaction.prototype, Transaction, Mixin); + + PooledClass.addPoolingTo(ReactReconcileTransaction); + + module.exports = ReactReconcileTransaction; + +/***/ }, +/* 222 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var ReactOwner = __webpack_require__(219); + + var ReactRef = {}; + + function attachRef(ref, component, owner) { + if (typeof ref === 'function') { + ref(component.getPublicInstance()); + } else { + // Legacy ref + ReactOwner.addComponentAsRefTo(component, ref, owner); + } + } + + function detachRef(ref, component, owner) { + if (typeof ref === 'function') { + ref(null); + } else { + // Legacy ref + ReactOwner.removeComponentAsRefFrom(component, ref, owner); + } + } + + ReactRef.attachRefs = function (instance, element) { + if (element === null || (typeof element === 'undefined' ? 'undefined' : _typeof(element)) !== 'object') { + return; + } + var ref = element.ref; + if (ref != null) { + attachRef(ref, instance, element._owner); + } + }; + + ReactRef.shouldUpdateRefs = function (prevElement, nextElement) { + // If either the owner or a `ref` has changed, make sure the newest owner + // has stored a reference to `this`, and the previous owner (if different) + // has forgotten the reference to `this`. We use the element instead + // of the public this.props because the post processing cannot determine + // a ref. The ref conceptually lives on the element. + + // TODO: Should this even be possible? The owner cannot change because + // it's forbidden by shouldUpdateReactComponent. The ref can change + // if you swap the keys of but not the refs. Reconsider where this check + // is made. It probably belongs where the key checking and + // instantiateReactComponent is done. + + var prevRef = null; + var prevOwner = null; + if (prevElement !== null && (typeof prevElement === 'undefined' ? 'undefined' : _typeof(prevElement)) === 'object') { + prevRef = prevElement.ref; + prevOwner = prevElement._owner; + } + + var nextRef = null; + var nextOwner = null; + if (nextElement !== null && (typeof nextElement === 'undefined' ? 'undefined' : _typeof(nextElement)) === 'object') { + nextRef = nextElement.ref; + nextOwner = nextElement._owner; + } + + return prevRef !== nextRef || + // If owner changes but we have an unchanged function ref, don't update refs + typeof nextRef === 'string' && nextOwner !== prevOwner; + }; + + ReactRef.detachRefs = function (instance, element) { + if (element === null || (typeof element === 'undefined' ? 'undefined' : _typeof(element)) !== 'object') { + return; + } + var ref = element.ref; + if (ref != null) { + detachRef(ref, instance, element._owner); + } + }; + + module.exports = ReactRef; + +/***/ }, +/* 223 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(7); + + var PooledClass = __webpack_require__(27); + var Transaction = __webpack_require__(49); + var ReactInstrumentation = __webpack_require__(14); + var ReactServerUpdateQueue = __webpack_require__(224); + + /** + * Executed within the scope of the `Transaction` instance. Consider these as + * being member methods, but with an implied ordering while being isolated from + * each other. + */ + var TRANSACTION_WRAPPERS = []; + + if (false) { + TRANSACTION_WRAPPERS.push({ + initialize: ReactInstrumentation.debugTool.onBeginFlush, + close: ReactInstrumentation.debugTool.onEndFlush + }); + } + + var noopCallbackQueue = { + enqueue: function enqueue() {} + }; + + /** + * @class ReactServerRenderingTransaction + * @param {boolean} renderToStaticMarkup + */ + function ReactServerRenderingTransaction(renderToStaticMarkup) { + this.reinitializeTransaction(); + this.renderToStaticMarkup = renderToStaticMarkup; + this.useCreateElement = false; + this.updateQueue = new ReactServerUpdateQueue(this); + } + + var Mixin = { + /** + * @see Transaction + * @abstract + * @final + * @return {array} Empty list of operation wrap procedures. + */ + getTransactionWrappers: function getTransactionWrappers() { + return TRANSACTION_WRAPPERS; + }, + + /** + * @return {object} The queue to collect `onDOMReady` callbacks with. + */ + getReactMountReady: function getReactMountReady() { + return noopCallbackQueue; + }, + + /** + * @return {object} The queue to collect React async events. + */ + getUpdateQueue: function getUpdateQueue() { + return this.updateQueue; + }, + + /** + * `PooledClass` looks for this, and will invoke this before allowing this + * instance to be reused. + */ + destructor: function destructor() {}, + + checkpoint: function checkpoint() {}, + + rollback: function rollback() {} + }; + + _assign(ReactServerRenderingTransaction.prototype, Transaction, Mixin); + + PooledClass.addPoolingTo(ReactServerRenderingTransaction); + + module.exports = ReactServerRenderingTransaction; + +/***/ }, +/* 224 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2015-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + var ReactUpdateQueue = __webpack_require__(66); + + var warning = __webpack_require__(5); + + function warnNoop(publicInstance, callerName) { + if (false) { + var constructor = publicInstance.constructor; + process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounting component. ' + 'This usually means you called %s() outside componentWillMount() on the server. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0; + } + } + + /** + * This is the update queue used for server rendering. + * It delegates to ReactUpdateQueue while server rendering is in progress and + * switches to ReactNoopUpdateQueue after the transaction has completed. + * @class ReactServerUpdateQueue + * @param {Transaction} transaction + */ + + var ReactServerUpdateQueue = function () { + function ReactServerUpdateQueue(transaction) { + _classCallCheck(this, ReactServerUpdateQueue); + + this.transaction = transaction; + } + + /** + * Checks whether or not this composite component is mounted. + * @param {ReactClass} publicInstance The instance we want to test. + * @return {boolean} True if mounted, false otherwise. + * @protected + * @final + */ + + ReactServerUpdateQueue.prototype.isMounted = function isMounted(publicInstance) { + return false; + }; + + /** + * Enqueue a callback that will be executed after all the pending updates + * have processed. + * + * @param {ReactClass} publicInstance The instance to use as `this` context. + * @param {?function} callback Called after state is updated. + * @internal + */ + + ReactServerUpdateQueue.prototype.enqueueCallback = function enqueueCallback(publicInstance, callback, callerName) { + if (this.transaction.isInTransaction()) { + ReactUpdateQueue.enqueueCallback(publicInstance, callback, callerName); + } + }; + + /** + * Forces an update. This should only be invoked when it is known with + * certainty that we are **not** in a DOM transaction. + * + * You may want to call this when you know that some deeper aspect of the + * component's state has changed but `setState` was not called. + * + * This will not invoke `shouldComponentUpdate`, but it will invoke + * `componentWillUpdate` and `componentDidUpdate`. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @internal + */ + + ReactServerUpdateQueue.prototype.enqueueForceUpdate = function enqueueForceUpdate(publicInstance) { + if (this.transaction.isInTransaction()) { + ReactUpdateQueue.enqueueForceUpdate(publicInstance); + } else { + warnNoop(publicInstance, 'forceUpdate'); + } + }; + + /** + * Replaces all of the state. Always use this or `setState` to mutate state. + * You should treat `this.state` as immutable. + * + * There is no guarantee that `this.state` will be immediately updated, so + * accessing `this.state` after calling this method may return the old value. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object|function} completeState Next state. + * @internal + */ + + ReactServerUpdateQueue.prototype.enqueueReplaceState = function enqueueReplaceState(publicInstance, completeState) { + if (this.transaction.isInTransaction()) { + ReactUpdateQueue.enqueueReplaceState(publicInstance, completeState); + } else { + warnNoop(publicInstance, 'replaceState'); + } + }; + + /** + * Sets a subset of the state. This only exists because _pendingState is + * internal. This provides a merging strategy that is not available to deep + * properties which is confusing. TODO: Expose pendingState or don't use it + * during the merge. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object|function} partialState Next partial state to be merged with state. + * @internal + */ + + ReactServerUpdateQueue.prototype.enqueueSetState = function enqueueSetState(publicInstance, partialState) { + if (this.transaction.isInTransaction()) { + ReactUpdateQueue.enqueueSetState(publicInstance, partialState); + } else { + warnNoop(publicInstance, 'setState'); + } + }; + + return ReactServerUpdateQueue; + }(); + + module.exports = ReactServerUpdateQueue; + +/***/ }, +/* 225 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + module.exports = '15.4.1'; + +/***/ }, +/* 226 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var NS = { + xlink: 'http://www.w3.org/1999/xlink', + xml: 'http://www.w3.org/XML/1998/namespace' + }; + + // We use attributes for everything SVG so let's avoid some duplication and run + // code instead. + // The following are all specified in the HTML config already so we exclude here. + // - class (as className) + // - color + // - height + // - id + // - lang + // - max + // - media + // - method + // - min + // - name + // - style + // - target + // - type + // - width + var ATTRS = { + accentHeight: 'accent-height', + accumulate: 0, + additive: 0, + alignmentBaseline: 'alignment-baseline', + allowReorder: 'allowReorder', + alphabetic: 0, + amplitude: 0, + arabicForm: 'arabic-form', + ascent: 0, + attributeName: 'attributeName', + attributeType: 'attributeType', + autoReverse: 'autoReverse', + azimuth: 0, + baseFrequency: 'baseFrequency', + baseProfile: 'baseProfile', + baselineShift: 'baseline-shift', + bbox: 0, + begin: 0, + bias: 0, + by: 0, + calcMode: 'calcMode', + capHeight: 'cap-height', + clip: 0, + clipPath: 'clip-path', + clipRule: 'clip-rule', + clipPathUnits: 'clipPathUnits', + colorInterpolation: 'color-interpolation', + colorInterpolationFilters: 'color-interpolation-filters', + colorProfile: 'color-profile', + colorRendering: 'color-rendering', + contentScriptType: 'contentScriptType', + contentStyleType: 'contentStyleType', + cursor: 0, + cx: 0, + cy: 0, + d: 0, + decelerate: 0, + descent: 0, + diffuseConstant: 'diffuseConstant', + direction: 0, + display: 0, + divisor: 0, + dominantBaseline: 'dominant-baseline', + dur: 0, + dx: 0, + dy: 0, + edgeMode: 'edgeMode', + elevation: 0, + enableBackground: 'enable-background', + end: 0, + exponent: 0, + externalResourcesRequired: 'externalResourcesRequired', + fill: 0, + fillOpacity: 'fill-opacity', + fillRule: 'fill-rule', + filter: 0, + filterRes: 'filterRes', + filterUnits: 'filterUnits', + floodColor: 'flood-color', + floodOpacity: 'flood-opacity', + focusable: 0, + fontFamily: 'font-family', + fontSize: 'font-size', + fontSizeAdjust: 'font-size-adjust', + fontStretch: 'font-stretch', + fontStyle: 'font-style', + fontVariant: 'font-variant', + fontWeight: 'font-weight', + format: 0, + from: 0, + fx: 0, + fy: 0, + g1: 0, + g2: 0, + glyphName: 'glyph-name', + glyphOrientationHorizontal: 'glyph-orientation-horizontal', + glyphOrientationVertical: 'glyph-orientation-vertical', + glyphRef: 'glyphRef', + gradientTransform: 'gradientTransform', + gradientUnits: 'gradientUnits', + hanging: 0, + horizAdvX: 'horiz-adv-x', + horizOriginX: 'horiz-origin-x', + ideographic: 0, + imageRendering: 'image-rendering', + 'in': 0, + in2: 0, + intercept: 0, + k: 0, + k1: 0, + k2: 0, + k3: 0, + k4: 0, + kernelMatrix: 'kernelMatrix', + kernelUnitLength: 'kernelUnitLength', + kerning: 0, + keyPoints: 'keyPoints', + keySplines: 'keySplines', + keyTimes: 'keyTimes', + lengthAdjust: 'lengthAdjust', + letterSpacing: 'letter-spacing', + lightingColor: 'lighting-color', + limitingConeAngle: 'limitingConeAngle', + local: 0, + markerEnd: 'marker-end', + markerMid: 'marker-mid', + markerStart: 'marker-start', + markerHeight: 'markerHeight', + markerUnits: 'markerUnits', + markerWidth: 'markerWidth', + mask: 0, + maskContentUnits: 'maskContentUnits', + maskUnits: 'maskUnits', + mathematical: 0, + mode: 0, + numOctaves: 'numOctaves', + offset: 0, + opacity: 0, + operator: 0, + order: 0, + orient: 0, + orientation: 0, + origin: 0, + overflow: 0, + overlinePosition: 'overline-position', + overlineThickness: 'overline-thickness', + paintOrder: 'paint-order', + panose1: 'panose-1', + pathLength: 'pathLength', + patternContentUnits: 'patternContentUnits', + patternTransform: 'patternTransform', + patternUnits: 'patternUnits', + pointerEvents: 'pointer-events', + points: 0, + pointsAtX: 'pointsAtX', + pointsAtY: 'pointsAtY', + pointsAtZ: 'pointsAtZ', + preserveAlpha: 'preserveAlpha', + preserveAspectRatio: 'preserveAspectRatio', + primitiveUnits: 'primitiveUnits', + r: 0, + radius: 0, + refX: 'refX', + refY: 'refY', + renderingIntent: 'rendering-intent', + repeatCount: 'repeatCount', + repeatDur: 'repeatDur', + requiredExtensions: 'requiredExtensions', + requiredFeatures: 'requiredFeatures', + restart: 0, + result: 0, + rotate: 0, + rx: 0, + ry: 0, + scale: 0, + seed: 0, + shapeRendering: 'shape-rendering', + slope: 0, + spacing: 0, + specularConstant: 'specularConstant', + specularExponent: 'specularExponent', + speed: 0, + spreadMethod: 'spreadMethod', + startOffset: 'startOffset', + stdDeviation: 'stdDeviation', + stemh: 0, + stemv: 0, + stitchTiles: 'stitchTiles', + stopColor: 'stop-color', + stopOpacity: 'stop-opacity', + strikethroughPosition: 'strikethrough-position', + strikethroughThickness: 'strikethrough-thickness', + string: 0, + stroke: 0, + strokeDasharray: 'stroke-dasharray', + strokeDashoffset: 'stroke-dashoffset', + strokeLinecap: 'stroke-linecap', + strokeLinejoin: 'stroke-linejoin', + strokeMiterlimit: 'stroke-miterlimit', + strokeOpacity: 'stroke-opacity', + strokeWidth: 'stroke-width', + surfaceScale: 'surfaceScale', + systemLanguage: 'systemLanguage', + tableValues: 'tableValues', + targetX: 'targetX', + targetY: 'targetY', + textAnchor: 'text-anchor', + textDecoration: 'text-decoration', + textRendering: 'text-rendering', + textLength: 'textLength', + to: 0, + transform: 0, + u1: 0, + u2: 0, + underlinePosition: 'underline-position', + underlineThickness: 'underline-thickness', + unicode: 0, + unicodeBidi: 'unicode-bidi', + unicodeRange: 'unicode-range', + unitsPerEm: 'units-per-em', + vAlphabetic: 'v-alphabetic', + vHanging: 'v-hanging', + vIdeographic: 'v-ideographic', + vMathematical: 'v-mathematical', + values: 0, + vectorEffect: 'vector-effect', + version: 0, + vertAdvY: 'vert-adv-y', + vertOriginX: 'vert-origin-x', + vertOriginY: 'vert-origin-y', + viewBox: 'viewBox', + viewTarget: 'viewTarget', + visibility: 0, + widths: 0, + wordSpacing: 'word-spacing', + writingMode: 'writing-mode', + x: 0, + xHeight: 'x-height', + x1: 0, + x2: 0, + xChannelSelector: 'xChannelSelector', + xlinkActuate: 'xlink:actuate', + xlinkArcrole: 'xlink:arcrole', + xlinkHref: 'xlink:href', + xlinkRole: 'xlink:role', + xlinkShow: 'xlink:show', + xlinkTitle: 'xlink:title', + xlinkType: 'xlink:type', + xmlBase: 'xml:base', + xmlns: 0, + xmlnsXlink: 'xmlns:xlink', + xmlLang: 'xml:lang', + xmlSpace: 'xml:space', + y: 0, + y1: 0, + y2: 0, + yChannelSelector: 'yChannelSelector', + z: 0, + zoomAndPan: 'zoomAndPan' + }; + + var SVGDOMPropertyConfig = { + Properties: {}, + DOMAttributeNamespaces: { + xlinkActuate: NS.xlink, + xlinkArcrole: NS.xlink, + xlinkHref: NS.xlink, + xlinkRole: NS.xlink, + xlinkShow: NS.xlink, + xlinkTitle: NS.xlink, + xlinkType: NS.xlink, + xmlBase: NS.xml, + xmlLang: NS.xml, + xmlSpace: NS.xml + }, + DOMAttributeNames: {} + }; + + Object.keys(ATTRS).forEach(function (key) { + SVGDOMPropertyConfig.Properties[key] = 0; + if (ATTRS[key]) { + SVGDOMPropertyConfig.DOMAttributeNames[key] = ATTRS[key]; + } + }); + + module.exports = SVGDOMPropertyConfig; + +/***/ }, +/* 227 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var EventPropagators = __webpack_require__(43); + var ExecutionEnvironment = __webpack_require__(10); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactInputSelection = __webpack_require__(106); + var SyntheticEvent = __webpack_require__(18); + + var getActiveElement = __webpack_require__(122); + var isTextInputElement = __webpack_require__(116); + var shallowEqual = __webpack_require__(74); + + var skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11; + + var eventTypes = { + select: { + phasedRegistrationNames: { + bubbled: 'onSelect', + captured: 'onSelectCapture' + }, + dependencies: ['topBlur', 'topContextMenu', 'topFocus', 'topKeyDown', 'topKeyUp', 'topMouseDown', 'topMouseUp', 'topSelectionChange'] + } + }; + + var activeElement = null; + var activeElementInst = null; + var lastSelection = null; + var mouseDown = false; + + // Track whether a listener exists for this plugin. If none exist, we do + // not extract events. See #3639. + var hasListener = false; + + /** + * Get an object which is a unique representation of the current selection. + * + * The return value will not be consistent across nodes or browsers, but + * two identical selections on the same node will return identical objects. + * + * @param {DOMElement} node + * @return {object} + */ + function getSelection(node) { + if ('selectionStart' in node && ReactInputSelection.hasSelectionCapabilities(node)) { + return { + start: node.selectionStart, + end: node.selectionEnd + }; + } else if (window.getSelection) { + var selection = window.getSelection(); + return { + anchorNode: selection.anchorNode, + anchorOffset: selection.anchorOffset, + focusNode: selection.focusNode, + focusOffset: selection.focusOffset + }; + } else if (document.selection) { + var range = document.selection.createRange(); + return { + parentElement: range.parentElement(), + text: range.text, + top: range.boundingTop, + left: range.boundingLeft + }; + } + } + + /** + * Poll selection to see whether it's changed. + * + * @param {object} nativeEvent + * @return {?SyntheticEvent} + */ + function constructSelectEvent(nativeEvent, nativeEventTarget) { + // Ensure we have the right element, and that the user is not dragging a + // selection (this matches native `select` event behavior). In HTML5, select + // fires only on input and textarea thus if there's no focused element we + // won't dispatch. + if (mouseDown || activeElement == null || activeElement !== getActiveElement()) { + return null; + } + + // Only fire when selection has actually changed. + var currentSelection = getSelection(activeElement); + if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) { + lastSelection = currentSelection; + + var syntheticEvent = SyntheticEvent.getPooled(eventTypes.select, activeElementInst, nativeEvent, nativeEventTarget); + + syntheticEvent.type = 'select'; + syntheticEvent.target = activeElement; + + EventPropagators.accumulateTwoPhaseDispatches(syntheticEvent); + + return syntheticEvent; + } + + return null; + } + + /** + * This plugin creates an `onSelect` event that normalizes select events + * across form elements. + * + * Supported elements are: + * - input (see `isTextInputElement`) + * - textarea + * - contentEditable + * + * This differs from native browser implementations in the following ways: + * - Fires on contentEditable fields as well as inputs. + * - Fires for collapsed selection. + * - Fires after user input. + */ + var SelectEventPlugin = { + + eventTypes: eventTypes, + + extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + if (!hasListener) { + return null; + } + + var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window; + + switch (topLevelType) { + // Track the input node that has focus. + case 'topFocus': + if (isTextInputElement(targetNode) || targetNode.contentEditable === 'true') { + activeElement = targetNode; + activeElementInst = targetInst; + lastSelection = null; + } + break; + case 'topBlur': + activeElement = null; + activeElementInst = null; + lastSelection = null; + break; + + // Don't fire the event while the user is dragging. This matches the + // semantics of the native select event. + case 'topMouseDown': + mouseDown = true; + break; + case 'topContextMenu': + case 'topMouseUp': + mouseDown = false; + return constructSelectEvent(nativeEvent, nativeEventTarget); + + // Chrome and IE fire non-standard event when selection is changed (and + // sometimes when it hasn't). IE's event fires out of order with respect + // to key and input events on deletion, so we discard it. + // + // Firefox doesn't support selectionchange, so check selection status + // after each key entry. The selection changes after keydown and before + // keyup, but we check on keydown as well in the case of holding down a + // key, when multiple keydown events are fired but only one keyup is. + // This is also our approach for IE handling, for the reason above. + case 'topSelectionChange': + if (skipSelectionChangeEvent) { + break; + } + // falls through + case 'topKeyDown': + case 'topKeyUp': + return constructSelectEvent(nativeEvent, nativeEventTarget); + } + + return null; + }, + + didPutListener: function didPutListener(inst, registrationName, listener) { + if (registrationName === 'onSelect') { + hasListener = true; + } + } + }; + + module.exports = SelectEventPlugin; + +/***/ }, +/* 228 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var EventListener = __webpack_require__(119); + var EventPropagators = __webpack_require__(43); + var ReactDOMComponentTree = __webpack_require__(6); + var SyntheticAnimationEvent = __webpack_require__(229); + var SyntheticClipboardEvent = __webpack_require__(230); + var SyntheticEvent = __webpack_require__(18); + var SyntheticFocusEvent = __webpack_require__(233); + var SyntheticKeyboardEvent = __webpack_require__(235); + var SyntheticMouseEvent = __webpack_require__(48); + var SyntheticDragEvent = __webpack_require__(232); + var SyntheticTouchEvent = __webpack_require__(236); + var SyntheticTransitionEvent = __webpack_require__(237); + var SyntheticUIEvent = __webpack_require__(44); + var SyntheticWheelEvent = __webpack_require__(238); + + var emptyFunction = __webpack_require__(19); + var getEventCharCode = __webpack_require__(68); + var invariant = __webpack_require__(3); + + /** + * Turns + * ['abort', ...] + * into + * eventTypes = { + * 'abort': { + * phasedRegistrationNames: { + * bubbled: 'onAbort', + * captured: 'onAbortCapture', + * }, + * dependencies: ['topAbort'], + * }, + * ... + * }; + * topLevelEventsToDispatchConfig = { + * 'topAbort': { sameConfig } + * }; + */ + var eventTypes = {}; + var topLevelEventsToDispatchConfig = {}; + ['abort', 'animationEnd', 'animationIteration', 'animationStart', 'blur', 'canPlay', 'canPlayThrough', 'click', 'contextMenu', 'copy', 'cut', 'doubleClick', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'focus', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'progress', 'rateChange', 'reset', 'scroll', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchMove', 'touchStart', 'transitionEnd', 'volumeChange', 'waiting', 'wheel'].forEach(function (event) { + var capitalizedEvent = event[0].toUpperCase() + event.slice(1); + var onEvent = 'on' + capitalizedEvent; + var topEvent = 'top' + capitalizedEvent; + + var type = { + phasedRegistrationNames: { + bubbled: onEvent, + captured: onEvent + 'Capture' + }, + dependencies: [topEvent] + }; + eventTypes[event] = type; + topLevelEventsToDispatchConfig[topEvent] = type; + }); + + var onClickListeners = {}; + + function getDictionaryKey(inst) { + // Prevents V8 performance issue: + // https://github.com/facebook/react/pull/7232 + return '.' + inst._rootNodeID; + } + + function isInteractive(tag) { + return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea'; + } + + var SimpleEventPlugin = { + + eventTypes: eventTypes, + + extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType]; + if (!dispatchConfig) { + return null; + } + var EventConstructor; + switch (topLevelType) { + case 'topAbort': + case 'topCanPlay': + case 'topCanPlayThrough': + case 'topDurationChange': + case 'topEmptied': + case 'topEncrypted': + case 'topEnded': + case 'topError': + case 'topInput': + case 'topInvalid': + case 'topLoad': + case 'topLoadedData': + case 'topLoadedMetadata': + case 'topLoadStart': + case 'topPause': + case 'topPlay': + case 'topPlaying': + case 'topProgress': + case 'topRateChange': + case 'topReset': + case 'topSeeked': + case 'topSeeking': + case 'topStalled': + case 'topSubmit': + case 'topSuspend': + case 'topTimeUpdate': + case 'topVolumeChange': + case 'topWaiting': + // HTML Events + // @see http://www.w3.org/TR/html5/index.html#events-0 + EventConstructor = SyntheticEvent; + break; + case 'topKeyPress': + // Firefox creates a keypress event for function keys too. This removes + // the unwanted keypress events. Enter is however both printable and + // non-printable. One would expect Tab to be as well (but it isn't). + if (getEventCharCode(nativeEvent) === 0) { + return null; + } + /* falls through */ + case 'topKeyDown': + case 'topKeyUp': + EventConstructor = SyntheticKeyboardEvent; + break; + case 'topBlur': + case 'topFocus': + EventConstructor = SyntheticFocusEvent; + break; + case 'topClick': + // Firefox creates a click event on right mouse clicks. This removes the + // unwanted click events. + if (nativeEvent.button === 2) { + return null; + } + /* falls through */ + case 'topDoubleClick': + case 'topMouseDown': + case 'topMouseMove': + case 'topMouseUp': + // TODO: Disabled elements should not respond to mouse events + /* falls through */ + case 'topMouseOut': + case 'topMouseOver': + case 'topContextMenu': + EventConstructor = SyntheticMouseEvent; + break; + case 'topDrag': + case 'topDragEnd': + case 'topDragEnter': + case 'topDragExit': + case 'topDragLeave': + case 'topDragOver': + case 'topDragStart': + case 'topDrop': + EventConstructor = SyntheticDragEvent; + break; + case 'topTouchCancel': + case 'topTouchEnd': + case 'topTouchMove': + case 'topTouchStart': + EventConstructor = SyntheticTouchEvent; + break; + case 'topAnimationEnd': + case 'topAnimationIteration': + case 'topAnimationStart': + EventConstructor = SyntheticAnimationEvent; + break; + case 'topTransitionEnd': + EventConstructor = SyntheticTransitionEvent; + break; + case 'topScroll': + EventConstructor = SyntheticUIEvent; + break; + case 'topWheel': + EventConstructor = SyntheticWheelEvent; + break; + case 'topCopy': + case 'topCut': + case 'topPaste': + EventConstructor = SyntheticClipboardEvent; + break; + } + !EventConstructor ? false ? invariant(false, 'SimpleEventPlugin: Unhandled event type, `%s`.', topLevelType) : _prodInvariant('86', topLevelType) : void 0; + var event = EventConstructor.getPooled(dispatchConfig, targetInst, nativeEvent, nativeEventTarget); + EventPropagators.accumulateTwoPhaseDispatches(event); + return event; + }, + + didPutListener: function didPutListener(inst, registrationName, listener) { + // Mobile Safari does not fire properly bubble click events on + // non-interactive elements, which means delegated click listeners do not + // fire. The workaround for this bug involves attaching an empty click + // listener on the target node. + // http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html + if (registrationName === 'onClick' && !isInteractive(inst._tag)) { + var key = getDictionaryKey(inst); + var node = ReactDOMComponentTree.getNodeFromInstance(inst); + if (!onClickListeners[key]) { + onClickListeners[key] = EventListener.listen(node, 'click', emptyFunction); + } + } + }, + + willDeleteListener: function willDeleteListener(inst, registrationName) { + if (registrationName === 'onClick' && !isInteractive(inst._tag)) { + var key = getDictionaryKey(inst); + onClickListeners[key].remove(); + delete onClickListeners[key]; + } + } + + }; + + module.exports = SimpleEventPlugin; + +/***/ }, +/* 229 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(18); + + /** + * @interface Event + * @see http://www.w3.org/TR/css3-animations/#AnimationEvent-interface + * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent + */ + var AnimationEventInterface = { + animationName: null, + elapsedTime: null, + pseudoElement: null + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticEvent} + */ + function SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticEvent.augmentClass(SyntheticAnimationEvent, AnimationEventInterface); + + module.exports = SyntheticAnimationEvent; + +/***/ }, +/* 230 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(18); + + /** + * @interface Event + * @see http://www.w3.org/TR/clipboard-apis/ + */ + var ClipboardEventInterface = { + clipboardData: function clipboardData(event) { + return 'clipboardData' in event ? event.clipboardData : window.clipboardData; + } + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ + function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface); + + module.exports = SyntheticClipboardEvent; + +/***/ }, +/* 231 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(18); + + /** + * @interface Event + * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents + */ + var CompositionEventInterface = { + data: null + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ + function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface); + + module.exports = SyntheticCompositionEvent; + +/***/ }, +/* 232 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticMouseEvent = __webpack_require__(48); + + /** + * @interface DragEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ + var DragEventInterface = { + dataTransfer: null + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ + function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface); + + module.exports = SyntheticDragEvent; + +/***/ }, +/* 233 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticUIEvent = __webpack_require__(44); + + /** + * @interface FocusEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ + var FocusEventInterface = { + relatedTarget: null + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ + function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface); + + module.exports = SyntheticFocusEvent; + +/***/ }, +/* 234 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(18); + + /** + * @interface Event + * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105 + * /#events-inputevents + */ + var InputEventInterface = { + data: null + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ + function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface); + + module.exports = SyntheticInputEvent; + +/***/ }, +/* 235 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticUIEvent = __webpack_require__(44); + + var getEventCharCode = __webpack_require__(68); + var getEventKey = __webpack_require__(243); + var getEventModifierState = __webpack_require__(69); + + /** + * @interface KeyboardEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ + var KeyboardEventInterface = { + key: getEventKey, + location: null, + ctrlKey: null, + shiftKey: null, + altKey: null, + metaKey: null, + repeat: null, + locale: null, + getModifierState: getEventModifierState, + // Legacy Interface + charCode: function charCode(event) { + // `charCode` is the result of a KeyPress event and represents the value of + // the actual printable character. + + // KeyPress is deprecated, but its replacement is not yet final and not + // implemented in any major browser. Only KeyPress has charCode. + if (event.type === 'keypress') { + return getEventCharCode(event); + } + return 0; + }, + keyCode: function keyCode(event) { + // `keyCode` is the result of a KeyDown/Up event and represents the value of + // physical keyboard key. + + // The actual meaning of the value depends on the users' keyboard layout + // which cannot be detected. Assuming that it is a US keyboard layout + // provides a surprisingly accurate mapping for US and European users. + // Due to this, it is left to the user to implement at this time. + if (event.type === 'keydown' || event.type === 'keyup') { + return event.keyCode; + } + return 0; + }, + which: function which(event) { + // `which` is an alias for either `keyCode` or `charCode` depending on the + // type of the event. + if (event.type === 'keypress') { + return getEventCharCode(event); + } + if (event.type === 'keydown' || event.type === 'keyup') { + return event.keyCode; + } + return 0; + } + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ + function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface); + + module.exports = SyntheticKeyboardEvent; + +/***/ }, +/* 236 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticUIEvent = __webpack_require__(44); + + var getEventModifierState = __webpack_require__(69); + + /** + * @interface TouchEvent + * @see http://www.w3.org/TR/touch-events/ + */ + var TouchEventInterface = { + touches: null, + targetTouches: null, + changedTouches: null, + altKey: null, + metaKey: null, + ctrlKey: null, + shiftKey: null, + getModifierState: getEventModifierState + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ + function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface); + + module.exports = SyntheticTouchEvent; + +/***/ }, +/* 237 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(18); + + /** + * @interface Event + * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events- + * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent + */ + var TransitionEventInterface = { + propertyName: null, + elapsedTime: null, + pseudoElement: null + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticEvent} + */ + function SyntheticTransitionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticEvent.augmentClass(SyntheticTransitionEvent, TransitionEventInterface); + + module.exports = SyntheticTransitionEvent; + +/***/ }, +/* 238 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var SyntheticMouseEvent = __webpack_require__(48); + + /** + * @interface WheelEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ + var WheelEventInterface = { + deltaX: function deltaX(event) { + return 'deltaX' in event ? event.deltaX : + // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive). + 'wheelDeltaX' in event ? -event.wheelDeltaX : 0; + }, + deltaY: function deltaY(event) { + return 'deltaY' in event ? event.deltaY : + // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive). + 'wheelDeltaY' in event ? -event.wheelDeltaY : + // Fallback to `wheelDelta` for IE<9 and normalize (down is positive). + 'wheelDelta' in event ? -event.wheelDelta : 0; + }, + deltaZ: null, + + // Browsers without "deltaMode" is reporting in raw wheel delta where one + // notch on the scroll is always +/- 120, roughly equivalent to pixels. + // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or + // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size. + deltaMode: null + }; + + /** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticMouseEvent} + */ + function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { + return SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); + } + + SyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface); + + module.exports = SyntheticWheelEvent; + +/***/ }, +/* 239 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var MOD = 65521; + + // adler32 is not cryptographically strong, and is only used to sanity check that + // markup generated on the server matches the markup generated on the client. + // This implementation (a modified version of the SheetJS version) has been optimized + // for our use case, at the expense of conforming to the adler32 specification + // for non-ascii inputs. + function adler32(data) { + var a = 1; + var b = 0; + var i = 0; + var l = data.length; + var m = l & ~0x3; + while (i < m) { + var n = Math.min(i + 4096, m); + for (; i < n; i += 4) { + b += (a += data.charCodeAt(i)) + (a += data.charCodeAt(i + 1)) + (a += data.charCodeAt(i + 2)) + (a += data.charCodeAt(i + 3)); + } + a %= MOD; + b %= MOD; + } + for (; i < l; i++) { + b += a += data.charCodeAt(i); + } + a %= MOD; + b %= MOD; + return a | b << 16; + } + + module.exports = adler32; + +/***/ }, +/* 240 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var CSSProperty = __webpack_require__(97); + var warning = __webpack_require__(5); + + var isUnitlessNumber = CSSProperty.isUnitlessNumber; + var styleWarnings = {}; + + /** + * Convert a value into the proper css writable value. The style name `name` + * should be logical (no hyphens), as specified + * in `CSSProperty.isUnitlessNumber`. + * + * @param {string} name CSS property name such as `topMargin`. + * @param {*} value CSS property value such as `10px`. + * @param {ReactDOMComponent} component + * @return {string} Normalized style value with dimensions applied. + */ + function dangerousStyleValue(name, value, component) { + // Note that we've removed escapeTextForBrowser() calls here since the + // whole string will be escaped when the attribute is injected into + // the markup. If you provide unsafe user data here they can inject + // arbitrary CSS which may be problematic (I couldn't repro this): + // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet + // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/ + // This is not an XSS hole but instead a potential CSS injection issue + // which has lead to a greater discussion about how we're going to + // trust URLs moving forward. See #2115901 + + var isEmpty = value == null || typeof value === 'boolean' || value === ''; + if (isEmpty) { + return ''; + } + + var isNonNumeric = isNaN(value); + if (isNonNumeric || value === 0 || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) { + return '' + value; // cast to string + } + + if (typeof value === 'string') { + if (false) { + // Allow '0' to pass through without warning. 0 is already special and + // doesn't require units, so we don't need to warn about it. + if (component && value !== '0') { + var owner = component._currentElement._owner; + var ownerName = owner ? owner.getName() : null; + if (ownerName && !styleWarnings[ownerName]) { + styleWarnings[ownerName] = {}; + } + var warned = false; + if (ownerName) { + var warnings = styleWarnings[ownerName]; + warned = warnings[name]; + if (!warned) { + warnings[name] = true; + } + } + if (!warned) { + process.env.NODE_ENV !== 'production' ? warning(false, 'a `%s` tag (owner: `%s`) was passed a numeric string value ' + 'for CSS property `%s` (value: `%s`) which will be treated ' + 'as a unitless number in a future version of React.', component._currentElement.type, ownerName || 'unknown', name, value) : void 0; + } + } + } + value = value.trim(); + } + return value + 'px'; + } + + module.exports = dangerousStyleValue; + +/***/ }, +/* 241 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var ReactCurrentOwner = __webpack_require__(21); + var ReactDOMComponentTree = __webpack_require__(6); + var ReactInstanceMap = __webpack_require__(33); + + var getHostComponentFromComposite = __webpack_require__(112); + var invariant = __webpack_require__(3); + var warning = __webpack_require__(5); + + /** + * Returns the DOM node rendered by this element. + * + * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.finddomnode + * + * @param {ReactComponent|DOMElement} componentOrElement + * @return {?DOMElement} The root node of this element. + */ + function findDOMNode(componentOrElement) { + if (false) { + var owner = ReactCurrentOwner.current; + if (owner !== null) { + process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing findDOMNode inside its render(). ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : void 0; + owner._warnedAboutRefsInRender = true; + } + } + if (componentOrElement == null) { + return null; + } + if (componentOrElement.nodeType === 1) { + return componentOrElement; + } + + var inst = ReactInstanceMap.get(componentOrElement); + if (inst) { + inst = getHostComponentFromComposite(inst); + return inst ? ReactDOMComponentTree.getNodeFromInstance(inst) : null; + } + + if (typeof componentOrElement.render === 'function') { + true ? false ? invariant(false, 'findDOMNode was called on an unmounted component.') : _prodInvariant('44') : void 0; + } else { + true ? false ? invariant(false, 'Element appears to be neither ReactComponent nor DOMNode (keys: %s)', Object.keys(componentOrElement)) : _prodInvariant('45', Object.keys(componentOrElement)) : void 0; + } + } + + module.exports = findDOMNode; + +/***/ }, +/* 242 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(process) {/** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var KeyEscapeUtils = __webpack_require__(62); + var traverseAllChildren = __webpack_require__(118); + var warning = __webpack_require__(5); + + var ReactComponentTreeHook; + + if (typeof process !== 'undefined' && ({"NODE_ENV":"production"}) && ("production") === 'test') { + // Temporary hack. + // Inline requires don't work well with Jest: + // https://github.com/facebook/react/issues/7240 + // Remove the inline requires when we don't need them anymore: + // https://github.com/facebook/react/pull/7178 + ReactComponentTreeHook = __webpack_require__(76); + } + + /** + * @param {function} traverseContext Context passed through traversal. + * @param {?ReactComponent} child React child component. + * @param {!string} name String name of key path to child. + * @param {number=} selfDebugID Optional debugID of the current internal instance. + */ + function flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) { + // We found a component instance. + if (traverseContext && (typeof traverseContext === 'undefined' ? 'undefined' : _typeof(traverseContext)) === 'object') { + var result = traverseContext; + var keyUnique = result[name] === undefined; + if (false) { + if (!ReactComponentTreeHook) { + ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook'); + } + if (!keyUnique) { + process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0; + } + } + if (keyUnique && child != null) { + result[name] = child; + } + } + } + + /** + * Flattens children that are typically specified as `props.children`. Any null + * children will not be included in the resulting object. + * @return {!object} flattened children keyed by name. + */ + function flattenChildren(children, selfDebugID) { + if (children == null) { + return children; + } + var result = {}; + + if (false) { + traverseAllChildren(children, function (traverseContext, child, name) { + return flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID); + }, result); + } else { + traverseAllChildren(children, flattenSingleChildIntoContext, result); + } + return result; + } + + module.exports = flattenChildren; + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29))) + +/***/ }, +/* 243 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var getEventCharCode = __webpack_require__(68); + + /** + * Normalization of deprecated HTML5 `key` values + * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names + */ + var normalizeKey = { + 'Esc': 'Escape', + 'Spacebar': ' ', + 'Left': 'ArrowLeft', + 'Up': 'ArrowUp', + 'Right': 'ArrowRight', + 'Down': 'ArrowDown', + 'Del': 'Delete', + 'Win': 'OS', + 'Menu': 'ContextMenu', + 'Apps': 'ContextMenu', + 'Scroll': 'ScrollLock', + 'MozPrintableKey': 'Unidentified' + }; + + /** + * Translation from legacy `keyCode` to HTML5 `key` + * Only special keys supported, all others depend on keyboard layout or browser + * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names + */ + var translateToKey = { + 8: 'Backspace', + 9: 'Tab', + 12: 'Clear', + 13: 'Enter', + 16: 'Shift', + 17: 'Control', + 18: 'Alt', + 19: 'Pause', + 20: 'CapsLock', + 27: 'Escape', + 32: ' ', + 33: 'PageUp', + 34: 'PageDown', + 35: 'End', + 36: 'Home', + 37: 'ArrowLeft', + 38: 'ArrowUp', + 39: 'ArrowRight', + 40: 'ArrowDown', + 45: 'Insert', + 46: 'Delete', + 112: 'F1', 113: 'F2', 114: 'F3', 115: 'F4', 116: 'F5', 117: 'F6', + 118: 'F7', 119: 'F8', 120: 'F9', 121: 'F10', 122: 'F11', 123: 'F12', + 144: 'NumLock', + 145: 'ScrollLock', + 224: 'Meta' + }; + + /** + * @param {object} nativeEvent Native browser event. + * @return {string} Normalized `key` property. + */ + function getEventKey(nativeEvent) { + if (nativeEvent.key) { + // Normalize inconsistent values reported by browsers due to + // implementations of a working draft specification. + + // FireFox implements `key` but returns `MozPrintableKey` for all + // printable characters (normalized to `Unidentified`), ignore it. + var key = normalizeKey[nativeEvent.key] || nativeEvent.key; + if (key !== 'Unidentified') { + return key; + } + } + + // Browser does not implement `key`, polyfill as much of it as we can. + if (nativeEvent.type === 'keypress') { + var charCode = getEventCharCode(nativeEvent); + + // The enter-key is technically both printable and non-printable and can + // thus be captured by `keypress`, no other non-printable key should. + return charCode === 13 ? 'Enter' : String.fromCharCode(charCode); + } + if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') { + // While user keyboard layout determines the actual meaning of each + // `keyCode` value, almost all function keys have a universal value. + return translateToKey[nativeEvent.keyCode] || 'Unidentified'; + } + return ''; + } + + module.exports = getEventKey; + +/***/ }, +/* 244 */ +128, +/* 245 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var nextDebugID = 1; + + function getNextDebugID() { + return nextDebugID++; + } + + module.exports = getNextDebugID; + +/***/ }, +/* 246 */ +/***/ function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + /** + * Given any node return the first leaf node without children. + * + * @param {DOMElement|DOMTextNode} node + * @return {DOMElement|DOMTextNode} + */ + + function getLeafNode(node) { + while (node && node.firstChild) { + node = node.firstChild; + } + return node; + } + + /** + * Get the next sibling within a container. This will walk up the + * DOM if a node's siblings have been exhausted. + * + * @param {DOMElement|DOMTextNode} node + * @return {?DOMElement|DOMTextNode} + */ + function getSiblingNode(node) { + while (node) { + if (node.nextSibling) { + return node.nextSibling; + } + node = node.parentNode; + } + } + + /** + * Get object describing the nodes which contain characters at offset. + * + * @param {DOMElement|DOMTextNode} root + * @param {number} offset + * @return {?object} + */ + function getNodeForCharacterOffset(root, offset) { + var node = getLeafNode(root); + var nodeStart = 0; + var nodeEnd = 0; + + while (node) { + if (node.nodeType === 3) { + nodeEnd = nodeStart + node.textContent.length; + + if (nodeStart <= offset && nodeEnd >= offset) { + return { + node: node, + offset: offset - nodeStart + }; + } + + nodeStart = nodeEnd; + } + + node = getLeafNode(getSiblingNode(node)); + } + } + + module.exports = getNodeForCharacterOffset; + +/***/ }, +/* 247 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var escapeTextContentForBrowser = __webpack_require__(50); + + /** + * Escapes attribute value to prevent scripting attacks. + * + * @param {*} value Value to escape. + * @return {string} An escaped string. + */ + function quoteAttributeValueForBrowser(value) { + return '"' + escapeTextContentForBrowser(value) + '"'; + } + + module.exports = quoteAttributeValueForBrowser; + +/***/ }, +/* 248 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactMount = __webpack_require__(107); + + module.exports = ReactMount.renderSubtreeIntoContainer; + +/***/ }, +/* 249 */ +/***/ function(module, exports) { + + "use strict"; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + var _hyphenPattern = /-(.)/g; + + /** + * Camelcases a hyphenated string, for example: + * + * > camelize('background-color') + * < "backgroundColor" + * + * @param {string} string + * @return {string} + */ + function camelize(string) { + return string.replace(_hyphenPattern, function (_, character) { + return character.toUpperCase(); + }); + } + + module.exports = camelize; + +/***/ }, +/* 250 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + 'use strict'; + + var camelize = __webpack_require__(249); + + var msPattern = /^-ms-/; + + /** + * Camelcases a hyphenated CSS property name, for example: + * + * > camelizeStyleName('background-color') + * < "backgroundColor" + * > camelizeStyleName('-moz-transition') + * < "MozTransition" + * > camelizeStyleName('-ms-transition') + * < "msTransition" + * + * As Andi Smith suggests + * (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix + * is converted to lowercase `ms`. + * + * @param {string} string + * @return {string} + */ + function camelizeStyleName(string) { + return camelize(string.replace(msPattern, 'ms-')); + } + + module.exports = camelizeStyleName; + +/***/ }, +/* 251 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + var isTextNode = __webpack_require__(259); + + /*eslint-disable no-bitwise */ + + /** + * Checks if a given DOM node contains or is another DOM node. + */ + function containsNode(outerNode, innerNode) { + if (!outerNode || !innerNode) { + return false; + } else if (outerNode === innerNode) { + return true; + } else if (isTextNode(outerNode)) { + return false; + } else if (isTextNode(innerNode)) { + return containsNode(outerNode, innerNode.parentNode); + } else if ('contains' in outerNode) { + return outerNode.contains(innerNode); + } else if (outerNode.compareDocumentPosition) { + return !!(outerNode.compareDocumentPosition(innerNode) & 16); + } else { + return false; + } + } + + module.exports = containsNode; + +/***/ }, +/* 252 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var invariant = __webpack_require__(3); + + /** + * Convert array-like objects to arrays. + * + * This API assumes the caller knows the contents of the data type. For less + * well defined inputs use createArrayFromMixed. + * + * @param {object|function|filelist} obj + * @return {array} + */ + function toArray(obj) { + var length = obj.length; + + // Some browsers builtin objects can report typeof 'function' (e.g. NodeList + // in old versions of Safari). + !(!Array.isArray(obj) && ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object' || typeof obj === 'function')) ? false ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : void 0; + + !(typeof length === 'number') ? false ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : void 0; + + !(length === 0 || length - 1 in obj) ? false ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : void 0; + + !(typeof obj.callee !== 'function') ? false ? invariant(false, 'toArray: Object can\'t be `arguments`. Use rest params ' + '(function(...args) {}) or Array.from() instead.') : invariant(false) : void 0; + + // Old IE doesn't give collections access to hasOwnProperty. Assume inputs + // without method will throw during the slice call and skip straight to the + // fallback. + if (obj.hasOwnProperty) { + try { + return Array.prototype.slice.call(obj); + } catch (e) { + // IE < 9 does not support Array#slice on collections objects + } + } + + // Fall back to copying key by key. This assumes all keys have a value, + // so will not preserve sparsely populated inputs. + var ret = Array(length); + for (var ii = 0; ii < length; ii++) { + ret[ii] = obj[ii]; + } + return ret; + } + + /** + * Perform a heuristic test to determine if an object is "array-like". + * + * A monk asked Joshu, a Zen master, "Has a dog Buddha nature?" + * Joshu replied: "Mu." + * + * This function determines if its argument has "array nature": it returns + * true if the argument is an actual array, an `arguments' object, or an + * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()). + * + * It will return false for other array-like objects like Filelist. + * + * @param {*} obj + * @return {boolean} + */ + function hasArrayNature(obj) { + return ( + // not null/false + !!obj && ( + // arrays are objects, NodeLists are functions in Safari + (typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) == 'object' || typeof obj == 'function') && + // quacks like an array + 'length' in obj && + // not window + !('setInterval' in obj) && + // no DOM node should be considered an array-like + // a 'select' element has 'length' and 'item' properties on IE8 + typeof obj.nodeType != 'number' && ( + // a real array + Array.isArray(obj) || + // arguments + 'callee' in obj || + // HTMLCollection/NodeList + 'item' in obj) + ); + } + + /** + * Ensure that the argument is an array by wrapping it in an array if it is not. + * Creates a copy of the argument if it is already an array. + * + * This is mostly useful idiomatically: + * + * var createArrayFromMixed = require('createArrayFromMixed'); + * + * function takesOneOrMoreThings(things) { + * things = createArrayFromMixed(things); + * ... + * } + * + * This allows you to treat `things' as an array, but accept scalars in the API. + * + * If you need to convert an array-like object, like `arguments`, into an array + * use toArray instead. + * + * @param {*} obj + * @return {array} + */ + function createArrayFromMixed(obj) { + if (!hasArrayNature(obj)) { + return [obj]; + } else if (Array.isArray(obj)) { + return obj.slice(); + } else { + return toArray(obj); + } + } + + module.exports = createArrayFromMixed; + +/***/ }, +/* 253 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + /*eslint-disable fb-www/unsafe-html*/ + + var ExecutionEnvironment = __webpack_require__(10); + + var createArrayFromMixed = __webpack_require__(252); + var getMarkupWrap = __webpack_require__(254); + var invariant = __webpack_require__(3); + + /** + * Dummy container used to render all markup. + */ + var dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null; + + /** + * Pattern used by `getNodeName`. + */ + var nodeNamePattern = /^\s*<(\w+)/; + + /** + * Extracts the `nodeName` of the first element in a string of markup. + * + * @param {string} markup String of markup. + * @return {?string} Node name of the supplied markup. + */ + function getNodeName(markup) { + var nodeNameMatch = markup.match(nodeNamePattern); + return nodeNameMatch && nodeNameMatch[1].toLowerCase(); + } + + /** + * Creates an array containing the nodes rendered from the supplied markup. The + * optionally supplied `handleScript` function will be invoked once for each + * <script> element that is rendered. If no `handleScript` function is supplied, + * an exception is thrown if any <script> elements are rendered. + * + * @param {string} markup A string of valid HTML markup. + * @param {?function} handleScript Invoked once for each rendered <script>. + * @return {array<DOMElement|DOMTextNode>} An array of rendered nodes. + */ + function createNodesFromMarkup(markup, handleScript) { + var node = dummyNode; + !!!dummyNode ? false ? invariant(false, 'createNodesFromMarkup dummy not initialized') : invariant(false) : void 0; + var nodeName = getNodeName(markup); + + var wrap = nodeName && getMarkupWrap(nodeName); + if (wrap) { + node.innerHTML = wrap[1] + markup + wrap[2]; + + var wrapDepth = wrap[0]; + while (wrapDepth--) { + node = node.lastChild; + } + } else { + node.innerHTML = markup; + } + + var scripts = node.getElementsByTagName('script'); + if (scripts.length) { + !handleScript ? false ? invariant(false, 'createNodesFromMarkup(...): Unexpected <script> element rendered.') : invariant(false) : void 0; + createArrayFromMixed(scripts).forEach(handleScript); + } + + var nodes = Array.from(node.childNodes); + while (node.lastChild) { + node.removeChild(node.lastChild); + } + return nodes; + } + + module.exports = createNodesFromMarkup; + +/***/ }, +/* 254 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + /*eslint-disable fb-www/unsafe-html */ + + var ExecutionEnvironment = __webpack_require__(10); + + var invariant = __webpack_require__(3); + + /** + * Dummy container used to detect which wraps are necessary. + */ + var dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null; + + /** + * Some browsers cannot use `innerHTML` to render certain elements standalone, + * so we wrap them, render the wrapped nodes, then extract the desired node. + * + * In IE8, certain elements cannot render alone, so wrap all elements ('*'). + */ + + var shouldWrap = {}; + + var selectWrap = [1, '<select multiple="true">', '</select>']; + var tableWrap = [1, '<table>', '</table>']; + var trWrap = [3, '<table><tbody><tr>', '</tr></tbody></table>']; + + var svgWrap = [1, '<svg xmlns="http://www.w3.org/2000/svg">', '</svg>']; + + var markupWrap = { + '*': [1, '?<div>', '</div>'], + + 'area': [1, '<map>', '</map>'], + 'col': [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'], + 'legend': [1, '<fieldset>', '</fieldset>'], + 'param': [1, '<object>', '</object>'], + 'tr': [2, '<table><tbody>', '</tbody></table>'], + + 'optgroup': selectWrap, + 'option': selectWrap, + + 'caption': tableWrap, + 'colgroup': tableWrap, + 'tbody': tableWrap, + 'tfoot': tableWrap, + 'thead': tableWrap, + + 'td': trWrap, + 'th': trWrap + }; + + // Initialize the SVG elements since we know they'll always need to be wrapped + // consistently. If they are created inside a <div> they will be initialized in + // the wrong namespace (and will not display). + var svgElements = ['circle', 'clipPath', 'defs', 'ellipse', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'text', 'tspan']; + svgElements.forEach(function (nodeName) { + markupWrap[nodeName] = svgWrap; + shouldWrap[nodeName] = true; + }); + + /** + * Gets the markup wrap configuration for the supplied `nodeName`. + * + * NOTE: This lazily detects which wraps are necessary for the current browser. + * + * @param {string} nodeName Lowercase `nodeName`. + * @return {?array} Markup wrap configuration, if applicable. + */ + function getMarkupWrap(nodeName) { + !!!dummyNode ? false ? invariant(false, 'Markup wrapping node not initialized') : invariant(false) : void 0; + if (!markupWrap.hasOwnProperty(nodeName)) { + nodeName = '*'; + } + if (!shouldWrap.hasOwnProperty(nodeName)) { + if (nodeName === '*') { + dummyNode.innerHTML = '<link />'; + } else { + dummyNode.innerHTML = '<' + nodeName + '></' + nodeName + '>'; + } + shouldWrap[nodeName] = !dummyNode.firstChild; + } + return shouldWrap[nodeName] ? markupWrap[nodeName] : null; + } + + module.exports = getMarkupWrap; + +/***/ }, +/* 255 */ +/***/ function(module, exports) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + 'use strict'; + + /** + * Gets the scroll position of the supplied element or window. + * + * The return values are unbounded, unlike `getScrollPosition`. This means they + * may be negative or exceed the element boundaries (which is possible using + * inertial scrolling). + * + * @param {DOMWindow|DOMElement} scrollable + * @return {object} Map with `x` and `y` keys. + */ + + function getUnboundedScrollPosition(scrollable) { + if (scrollable === window) { + return { + x: window.pageXOffset || document.documentElement.scrollLeft, + y: window.pageYOffset || document.documentElement.scrollTop + }; + } + return { + x: scrollable.scrollLeft, + y: scrollable.scrollTop + }; + } + + module.exports = getUnboundedScrollPosition; + +/***/ }, +/* 256 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + var _uppercasePattern = /([A-Z])/g; + + /** + * Hyphenates a camelcased string, for example: + * + * > hyphenate('backgroundColor') + * < "background-color" + * + * For CSS style names, use `hyphenateStyleName` instead which works properly + * with all vendor prefixes, including `ms`. + * + * @param {string} string + * @return {string} + */ + function hyphenate(string) { + return string.replace(_uppercasePattern, '-$1').toLowerCase(); + } + + module.exports = hyphenate; + +/***/ }, +/* 257 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + 'use strict'; + + var hyphenate = __webpack_require__(256); + + var msPattern = /^ms-/; + + /** + * Hyphenates a camelcased CSS property name, for example: + * + * > hyphenateStyleName('backgroundColor') + * < "background-color" + * > hyphenateStyleName('MozTransition') + * < "-moz-transition" + * > hyphenateStyleName('msTransition') + * < "-ms-transition" + * + * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix + * is converted to `-ms-`. + * + * @param {string} string + * @return {string} + */ + function hyphenateStyleName(string) { + return hyphenate(string).replace(msPattern, '-ms-'); + } + + module.exports = hyphenateStyleName; + +/***/ }, +/* 258 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + /** + * @param {*} object The object to check. + * @return {boolean} Whether or not the object is a DOM node. + */ + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + function isNode(object) { + return !!(object && (typeof Node === 'function' ? object instanceof Node : (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string')); + } + + module.exports = isNode; + +/***/ }, +/* 259 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + var isNode = __webpack_require__(258); + + /** + * @param {*} object The object to check. + * @return {boolean} Whether or not the object is a DOM text node. + */ + function isTextNode(object) { + return isNode(object) && object.nodeType == 3; + } + + module.exports = isTextNode; + +/***/ }, +/* 260 */ +/***/ function(module, exports) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + * @typechecks static-only + */ + + 'use strict'; + + /** + * Memoizes the return value of a function that accepts one string argument. + */ + + function memoizeStringOnly(callback) { + var cache = {}; + return function (string) { + if (!cache.hasOwnProperty(string)) { + cache[string] = callback.call(this, string); + } + return cache[string]; + }; + } + + module.exports = memoizeStringOnly; + +/***/ }, +/* 261 */ +[331, 36, 28], +/* 262 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _assign = __webpack_require__(37); + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + }return call && ((typeof call === 'undefined' ? 'undefined' : _typeof(call)) === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === 'undefined' ? 'undefined' : _typeof(superClass))); + }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var React = __webpack_require__(20); + + var ReactTransitionGroup = __webpack_require__(272); + var ReactCSSTransitionGroupChild = __webpack_require__(263); + + function createTransitionTimeoutPropValidator(transitionType) { + var timeoutPropName = 'transition' + transitionType + 'Timeout'; + var enabledPropName = 'transition' + transitionType; + + return function (props) { + // If the transition is enabled + if (props[enabledPropName]) { + // If no timeout duration is provided + if (props[timeoutPropName] == null) { + return new Error(timeoutPropName + ' wasn\'t supplied to ReactCSSTransitionGroup: ' + 'this can cause unreliable animations and won\'t be supported in ' + 'a future version of React. See ' + 'https://fb.me/react-animation-transition-group-timeout for more ' + 'information.'); + + // If the duration isn't a number + } else if (typeof props[timeoutPropName] !== 'number') { + return new Error(timeoutPropName + ' must be a number (in milliseconds)'); + } + } + }; + } + + /** + * An easy way to perform CSS transitions and animations when a React component + * enters or leaves the DOM. + * See https://facebook.github.io/react/docs/animation.html#high-level-api-reactcsstransitiongroup + */ + + var ReactCSSTransitionGroup = function (_React$Component) { + _inherits(ReactCSSTransitionGroup, _React$Component); + + function ReactCSSTransitionGroup() { + var _temp, _this, _ret; + + _classCallCheck(this, ReactCSSTransitionGroup); + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this._wrapChild = function (child) { + // We need to provide this childFactory so that + // ReactCSSTransitionGroupChild can receive updates to name, enter, and + // leave while it is leaving. + return React.createElement(ReactCSSTransitionGroupChild, { + name: _this.props.transitionName, + appear: _this.props.transitionAppear, + enter: _this.props.transitionEnter, + leave: _this.props.transitionLeave, + appearTimeout: _this.props.transitionAppearTimeout, + enterTimeout: _this.props.transitionEnterTimeout, + leaveTimeout: _this.props.transitionLeaveTimeout + }, child); + }, _temp), _possibleConstructorReturn(_this, _ret); + } + + ReactCSSTransitionGroup.prototype.render = function render() { + return React.createElement(ReactTransitionGroup, _assign({}, this.props, { childFactory: this._wrapChild })); + }; + + return ReactCSSTransitionGroup; + }(React.Component); + + ReactCSSTransitionGroup.displayName = 'ReactCSSTransitionGroup'; + ReactCSSTransitionGroup.propTypes = { + transitionName: ReactCSSTransitionGroupChild.propTypes.name, + + transitionAppear: React.PropTypes.bool, + transitionEnter: React.PropTypes.bool, + transitionLeave: React.PropTypes.bool, + transitionAppearTimeout: createTransitionTimeoutPropValidator('Appear'), + transitionEnterTimeout: createTransitionTimeoutPropValidator('Enter'), + transitionLeaveTimeout: createTransitionTimeoutPropValidator('Leave') + }; + ReactCSSTransitionGroup.defaultProps = { + transitionAppear: false, + transitionEnter: true, + transitionLeave: true + }; + + module.exports = ReactCSSTransitionGroup; + +/***/ }, +/* 263 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var React = __webpack_require__(20); + var ReactAddonsDOMDependencies = __webpack_require__(124); + + var CSSCore = __webpack_require__(275); + var ReactTransitionEvents = __webpack_require__(271); + + var onlyChild = __webpack_require__(129); + + var TICK = 17; + + var ReactCSSTransitionGroupChild = React.createClass({ + displayName: 'ReactCSSTransitionGroupChild', + + propTypes: { + name: React.PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.shape({ + enter: React.PropTypes.string, + leave: React.PropTypes.string, + active: React.PropTypes.string + }), React.PropTypes.shape({ + enter: React.PropTypes.string, + enterActive: React.PropTypes.string, + leave: React.PropTypes.string, + leaveActive: React.PropTypes.string, + appear: React.PropTypes.string, + appearActive: React.PropTypes.string + })]).isRequired, + + // Once we require timeouts to be specified, we can remove the + // boolean flags (appear etc.) and just accept a number + // or a bool for the timeout flags (appearTimeout etc.) + appear: React.PropTypes.bool, + enter: React.PropTypes.bool, + leave: React.PropTypes.bool, + appearTimeout: React.PropTypes.number, + enterTimeout: React.PropTypes.number, + leaveTimeout: React.PropTypes.number + }, + + transition: function transition(animationType, finishCallback, userSpecifiedDelay) { + var node = ReactAddonsDOMDependencies.getReactDOM().findDOMNode(this); + + if (!node) { + if (finishCallback) { + finishCallback(); + } + return; + } + + var className = this.props.name[animationType] || this.props.name + '-' + animationType; + var activeClassName = this.props.name[animationType + 'Active'] || className + '-active'; + var timeout = null; + + var endListener = function endListener(e) { + if (e && e.target !== node) { + return; + } + + clearTimeout(timeout); + + CSSCore.removeClass(node, className); + CSSCore.removeClass(node, activeClassName); + + ReactTransitionEvents.removeEndEventListener(node, endListener); + + // Usually this optional callback is used for informing an owner of + // a leave animation and telling it to remove the child. + if (finishCallback) { + finishCallback(); + } + }; + + CSSCore.addClass(node, className); + + // Need to do this to actually trigger a transition. + this.queueClassAndNode(activeClassName, node); + + // If the user specified a timeout delay. + if (userSpecifiedDelay) { + // Clean-up the animation after the specified delay + timeout = setTimeout(endListener, userSpecifiedDelay); + this.transitionTimeouts.push(timeout); + } else { + // DEPRECATED: this listener will be removed in a future version of react + ReactTransitionEvents.addEndEventListener(node, endListener); + } + }, + + queueClassAndNode: function queueClassAndNode(className, node) { + this.classNameAndNodeQueue.push({ + className: className, + node: node + }); + + if (!this.timeout) { + this.timeout = setTimeout(this.flushClassNameAndNodeQueue, TICK); + } + }, + + flushClassNameAndNodeQueue: function flushClassNameAndNodeQueue() { + if (this.isMounted()) { + this.classNameAndNodeQueue.forEach(function (obj) { + CSSCore.addClass(obj.node, obj.className); + }); + } + this.classNameAndNodeQueue.length = 0; + this.timeout = null; + }, + + componentWillMount: function componentWillMount() { + this.classNameAndNodeQueue = []; + this.transitionTimeouts = []; + }, + + componentWillUnmount: function componentWillUnmount() { + if (this.timeout) { + clearTimeout(this.timeout); + } + this.transitionTimeouts.forEach(function (timeout) { + clearTimeout(timeout); + }); + + this.classNameAndNodeQueue.length = 0; + }, + + componentWillAppear: function componentWillAppear(done) { + if (this.props.appear) { + this.transition('appear', done, this.props.appearTimeout); + } else { + done(); + } + }, + + componentWillEnter: function componentWillEnter(done) { + if (this.props.enter) { + this.transition('enter', done, this.props.enterTimeout); + } else { + done(); + } + }, + + componentWillLeave: function componentWillLeave(done) { + if (this.props.leave) { + this.transition('leave', done, this.props.leaveTimeout); + } else { + done(); + } + }, + + render: function render() { + return onlyChild(this.props.children); + } + }); + + module.exports = ReactCSSTransitionGroupChild; + +/***/ }, +/* 264 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var PooledClass = __webpack_require__(261); + var ReactElement = __webpack_require__(35); + + var emptyFunction = __webpack_require__(52); + var traverseAllChildren = __webpack_require__(130); + + var twoArgumentPooler = PooledClass.twoArgumentPooler; + var fourArgumentPooler = PooledClass.fourArgumentPooler; + + var userProvidedKeyEscapeRegex = /\/+/g; + function escapeUserProvidedKey(text) { + return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/'); + } + + /** + * PooledClass representing the bookkeeping associated with performing a child + * traversal. Allows avoiding binding callbacks. + * + * @constructor ForEachBookKeeping + * @param {!function} forEachFunction Function to perform traversal with. + * @param {?*} forEachContext Context to perform context with. + */ + function ForEachBookKeeping(forEachFunction, forEachContext) { + this.func = forEachFunction; + this.context = forEachContext; + this.count = 0; + } + ForEachBookKeeping.prototype.destructor = function () { + this.func = null; + this.context = null; + this.count = 0; + }; + PooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler); + + function forEachSingleChild(bookKeeping, child, name) { + var func = bookKeeping.func, + context = bookKeeping.context; + + func.call(context, child, bookKeeping.count++); + } + + /** + * Iterates through children that are typically specified as `props.children`. + * + * See https://facebook.github.io/react/docs/top-level-api.html#react.children.foreach + * + * The provided forEachFunc(child, index) will be called for each + * leaf child. + * + * @param {?*} children Children tree container. + * @param {function(*, int)} forEachFunc + * @param {*} forEachContext Context for forEachContext. + */ + function forEachChildren(children, forEachFunc, forEachContext) { + if (children == null) { + return children; + } + var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext); + traverseAllChildren(children, forEachSingleChild, traverseContext); + ForEachBookKeeping.release(traverseContext); + } + + /** + * PooledClass representing the bookkeeping associated with performing a child + * mapping. Allows avoiding binding callbacks. + * + * @constructor MapBookKeeping + * @param {!*} mapResult Object containing the ordered map of results. + * @param {!function} mapFunction Function to perform mapping with. + * @param {?*} mapContext Context to perform mapping with. + */ + function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) { + this.result = mapResult; + this.keyPrefix = keyPrefix; + this.func = mapFunction; + this.context = mapContext; + this.count = 0; + } + MapBookKeeping.prototype.destructor = function () { + this.result = null; + this.keyPrefix = null; + this.func = null; + this.context = null; + this.count = 0; + }; + PooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler); + + function mapSingleChildIntoContext(bookKeeping, child, childKey) { + var result = bookKeeping.result, + keyPrefix = bookKeeping.keyPrefix, + func = bookKeeping.func, + context = bookKeeping.context; + + var mappedChild = func.call(context, child, bookKeeping.count++); + if (Array.isArray(mappedChild)) { + mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument); + } else if (mappedChild != null) { + if (ReactElement.isValidElement(mappedChild)) { + mappedChild = ReactElement.cloneAndReplaceKey(mappedChild, + // Keep both the (mapped) and old keys if they differ, just as + // traverseAllChildren used to do for objects as children + keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey); + } + result.push(mappedChild); + } + } + + function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) { + var escapedPrefix = ''; + if (prefix != null) { + escapedPrefix = escapeUserProvidedKey(prefix) + '/'; + } + var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context); + traverseAllChildren(children, mapSingleChildIntoContext, traverseContext); + MapBookKeeping.release(traverseContext); + } + + /** + * Maps children that are typically specified as `props.children`. + * + * See https://facebook.github.io/react/docs/top-level-api.html#react.children.map + * + * The provided mapFunction(child, key, index) will be called for each + * leaf child. + * + * @param {?*} children Children tree container. + * @param {function(*, int)} func The map function. + * @param {*} context Context for mapFunction. + * @return {object} Object containing the ordered map of results. + */ + function mapChildren(children, func, context) { + if (children == null) { + return children; + } + var result = []; + mapIntoWithKeyPrefixInternal(children, result, null, func, context); + return result; + } + + function forEachSingleChildDummy(traverseContext, child, name) { + return null; + } + + /** + * Count the number of children that are typically specified as + * `props.children`. + * + * See https://facebook.github.io/react/docs/top-level-api.html#react.children.count + * + * @param {?*} children Children tree container. + * @return {number} The number of children. + */ + function countChildren(children, context) { + return traverseAllChildren(children, forEachSingleChildDummy, null); + } + + /** + * Flatten a children object (typically specified as `props.children`) and + * return an array with appropriately re-keyed children. + * + * See https://facebook.github.io/react/docs/top-level-api.html#react.children.toarray + */ + function toArray(children) { + var result = []; + mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); + return result; + } + + var ReactChildren = { + forEach: forEachChildren, + map: mapChildren, + mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal, + count: countChildren, + toArray: toArray + }; + + module.exports = ReactChildren; + +/***/ }, +/* 265 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _prodInvariant = __webpack_require__(36), + _assign = __webpack_require__(37); + + var ReactComponent = __webpack_require__(75); + var ReactElement = __webpack_require__(35); + var ReactPropTypeLocationNames = __webpack_require__(126); + var ReactNoopUpdateQueue = __webpack_require__(77); + + var emptyObject = __webpack_require__(78); + var invariant = __webpack_require__(28); + var warning = __webpack_require__(22); + + var MIXINS_KEY = 'mixins'; + + // Helper function to allow the creation of anonymous functions which do not + // have .name set to the name of the variable being assigned to. + function identity(fn) { + return fn; + } + + /** + * Policies that describe methods in `ReactClassInterface`. + */ + + var injectedMixins = []; + + /** + * Composite components are higher-level components that compose other composite + * or host components. + * + * To create a new type of `ReactClass`, pass a specification of + * your new class to `React.createClass`. The only requirement of your class + * specification is that you implement a `render` method. + * + * var MyComponent = React.createClass({ + * render: function() { + * return <div>Hello World</div>; + * } + * }); + * + * The class specification supports a specific protocol of methods that have + * special meaning (e.g. `render`). See `ReactClassInterface` for + * more the comprehensive protocol. Any other properties and methods in the + * class specification will be available on the prototype. + * + * @interface ReactClassInterface + * @internal + */ + var ReactClassInterface = { + + /** + * An array of Mixin objects to include when defining your component. + * + * @type {array} + * @optional + */ + mixins: 'DEFINE_MANY', + + /** + * An object containing properties and methods that should be defined on + * the component's constructor instead of its prototype (static methods). + * + * @type {object} + * @optional + */ + statics: 'DEFINE_MANY', + + /** + * Definition of prop types for this component. + * + * @type {object} + * @optional + */ + propTypes: 'DEFINE_MANY', + + /** + * Definition of context types for this component. + * + * @type {object} + * @optional + */ + contextTypes: 'DEFINE_MANY', + + /** + * Definition of context types this component sets for its children. + * + * @type {object} + * @optional + */ + childContextTypes: 'DEFINE_MANY', + + // ==== Definition methods ==== + + /** + * Invoked when the component is mounted. Values in the mapping will be set on + * `this.props` if that prop is not specified (i.e. using an `in` check). + * + * This method is invoked before `getInitialState` and therefore cannot rely + * on `this.state` or use `this.setState`. + * + * @return {object} + * @optional + */ + getDefaultProps: 'DEFINE_MANY_MERGED', + + /** + * Invoked once before the component is mounted. The return value will be used + * as the initial value of `this.state`. + * + * getInitialState: function() { + * return { + * isOn: false, + * fooBaz: new BazFoo() + * } + * } + * + * @return {object} + * @optional + */ + getInitialState: 'DEFINE_MANY_MERGED', + + /** + * @return {object} + * @optional + */ + getChildContext: 'DEFINE_MANY_MERGED', + + /** + * Uses props from `this.props` and state from `this.state` to render the + * structure of the component. + * + * No guarantees are made about when or how often this method is invoked, so + * it must not have side effects. + * + * render: function() { + * var name = this.props.name; + * return <div>Hello, {name}!</div>; + * } + * + * @return {ReactComponent} + * @nosideeffects + * @required + */ + render: 'DEFINE_ONCE', + + // ==== Delegate methods ==== + + /** + * Invoked when the component is initially created and about to be mounted. + * This may have side effects, but any external subscriptions or data created + * by this method must be cleaned up in `componentWillUnmount`. + * + * @optional + */ + componentWillMount: 'DEFINE_MANY', + + /** + * Invoked when the component has been mounted and has a DOM representation. + * However, there is no guarantee that the DOM node is in the document. + * + * Use this as an opportunity to operate on the DOM when the component has + * been mounted (initialized and rendered) for the first time. + * + * @param {DOMElement} rootNode DOM element representing the component. + * @optional + */ + componentDidMount: 'DEFINE_MANY', + + /** + * Invoked before the component receives new props. + * + * Use this as an opportunity to react to a prop transition by updating the + * state using `this.setState`. Current props are accessed via `this.props`. + * + * componentWillReceiveProps: function(nextProps, nextContext) { + * this.setState({ + * likesIncreasing: nextProps.likeCount > this.props.likeCount + * }); + * } + * + * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop + * transition may cause a state change, but the opposite is not true. If you + * need it, you are probably looking for `componentWillUpdate`. + * + * @param {object} nextProps + * @optional + */ + componentWillReceiveProps: 'DEFINE_MANY', + + /** + * Invoked while deciding if the component should be updated as a result of + * receiving new props, state and/or context. + * + * Use this as an opportunity to `return false` when you're certain that the + * transition to the new props/state/context will not require a component + * update. + * + * shouldComponentUpdate: function(nextProps, nextState, nextContext) { + * return !equal(nextProps, this.props) || + * !equal(nextState, this.state) || + * !equal(nextContext, this.context); + * } + * + * @param {object} nextProps + * @param {?object} nextState + * @param {?object} nextContext + * @return {boolean} True if the component should update. + * @optional + */ + shouldComponentUpdate: 'DEFINE_ONCE', + + /** + * Invoked when the component is about to update due to a transition from + * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState` + * and `nextContext`. + * + * Use this as an opportunity to perform preparation before an update occurs. + * + * NOTE: You **cannot** use `this.setState()` in this method. + * + * @param {object} nextProps + * @param {?object} nextState + * @param {?object} nextContext + * @param {ReactReconcileTransaction} transaction + * @optional + */ + componentWillUpdate: 'DEFINE_MANY', + + /** + * Invoked when the component's DOM representation has been updated. + * + * Use this as an opportunity to operate on the DOM when the component has + * been updated. + * + * @param {object} prevProps + * @param {?object} prevState + * @param {?object} prevContext + * @param {DOMElement} rootNode DOM element representing the component. + * @optional + */ + componentDidUpdate: 'DEFINE_MANY', + + /** + * Invoked when the component is about to be removed from its parent and have + * its DOM representation destroyed. + * + * Use this as an opportunity to deallocate any external resources. + * + * NOTE: There is no `componentDidUnmount` since your component will have been + * destroyed by that point. + * + * @optional + */ + componentWillUnmount: 'DEFINE_MANY', + + // ==== Advanced methods ==== + + /** + * Updates the component's currently mounted DOM representation. + * + * By default, this implements React's rendering and reconciliation algorithm. + * Sophisticated clients may wish to override this. + * + * @param {ReactReconcileTransaction} transaction + * @internal + * @overridable + */ + updateComponent: 'OVERRIDE_BASE' + + }; + + /** + * Mapping from class specification keys to special processing functions. + * + * Although these are declared like instance properties in the specification + * when defining classes using `React.createClass`, they are actually static + * and are accessible on the constructor instead of the prototype. Despite + * being static, they must be defined outside of the "statics" key under + * which all other static methods are defined. + */ + var RESERVED_SPEC_KEYS = { + displayName: function displayName(Constructor, _displayName) { + Constructor.displayName = _displayName; + }, + mixins: function mixins(Constructor, _mixins) { + if (_mixins) { + for (var i = 0; i < _mixins.length; i++) { + mixSpecIntoComponent(Constructor, _mixins[i]); + } + } + }, + childContextTypes: function childContextTypes(Constructor, _childContextTypes) { + if (false) { + validateTypeDef(Constructor, _childContextTypes, 'childContext'); + } + Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, _childContextTypes); + }, + contextTypes: function contextTypes(Constructor, _contextTypes) { + if (false) { + validateTypeDef(Constructor, _contextTypes, 'context'); + } + Constructor.contextTypes = _assign({}, Constructor.contextTypes, _contextTypes); + }, + /** + * Special case getDefaultProps which should move into statics but requires + * automatic merging. + */ + getDefaultProps: function getDefaultProps(Constructor, _getDefaultProps) { + if (Constructor.getDefaultProps) { + Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, _getDefaultProps); + } else { + Constructor.getDefaultProps = _getDefaultProps; + } + }, + propTypes: function propTypes(Constructor, _propTypes) { + if (false) { + validateTypeDef(Constructor, _propTypes, 'prop'); + } + Constructor.propTypes = _assign({}, Constructor.propTypes, _propTypes); + }, + statics: function statics(Constructor, _statics) { + mixStaticSpecIntoComponent(Constructor, _statics); + }, + autobind: function autobind() {} }; + + function validateTypeDef(Constructor, typeDef, location) { + for (var propName in typeDef) { + if (typeDef.hasOwnProperty(propName)) { + // use a warning instead of an invariant so components + // don't show up in prod but only in __DEV__ + false ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : void 0; + } + } + } + + function validateMethodOverride(isAlreadyDefined, name) { + var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null; + + // Disallow overriding of base class methods unless explicitly allowed. + if (ReactClassMixin.hasOwnProperty(name)) { + !(specPolicy === 'OVERRIDE_BASE') ? false ? invariant(false, 'ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.', name) : _prodInvariant('73', name) : void 0; + } + + // Disallow defining methods more than once unless explicitly allowed. + if (isAlreadyDefined) { + !(specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED') ? false ? invariant(false, 'ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('74', name) : void 0; + } + } + + /** + * Mixin helper which handles policy validation and reserved + * specification keys when building React classes. + */ + function mixSpecIntoComponent(Constructor, spec) { + if (!spec) { + if (false) { + var typeofSpec = typeof spec === 'undefined' ? 'undefined' : _typeof(spec); + var isMixinValid = typeofSpec === 'object' && spec !== null; + + process.env.NODE_ENV !== 'production' ? warning(isMixinValid, '%s: You\'re attempting to include a mixin that is either null ' + 'or not an object. Check the mixins included by the component, ' + 'as well as any mixins they include themselves. ' + 'Expected object but got %s.', Constructor.displayName || 'ReactClass', spec === null ? null : typeofSpec) : void 0; + } + + return; + } + + !(typeof spec !== 'function') ? false ? invariant(false, 'ReactClass: You\'re attempting to use a component class or function as a mixin. Instead, just use a regular object.') : _prodInvariant('75') : void 0; + !!ReactElement.isValidElement(spec) ? false ? invariant(false, 'ReactClass: You\'re attempting to use a component as a mixin. Instead, just use a regular object.') : _prodInvariant('76') : void 0; + + var proto = Constructor.prototype; + var autoBindPairs = proto.__reactAutoBindPairs; + + // By handling mixins before any other properties, we ensure the same + // chaining order is applied to methods with DEFINE_MANY policy, whether + // mixins are listed before or after these methods in the spec. + if (spec.hasOwnProperty(MIXINS_KEY)) { + RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins); + } + + for (var name in spec) { + if (!spec.hasOwnProperty(name)) { + continue; + } + + if (name === MIXINS_KEY) { + // We have already handled mixins in a special case above. + continue; + } + + var property = spec[name]; + var isAlreadyDefined = proto.hasOwnProperty(name); + validateMethodOverride(isAlreadyDefined, name); + + if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) { + RESERVED_SPEC_KEYS[name](Constructor, property); + } else { + // Setup methods on prototype: + // The following member methods should not be automatically bound: + // 1. Expected ReactClass methods (in the "interface"). + // 2. Overridden methods (that were mixed in). + var isReactClassMethod = ReactClassInterface.hasOwnProperty(name); + var isFunction = typeof property === 'function'; + var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false; + + if (shouldAutoBind) { + autoBindPairs.push(name, property); + proto[name] = property; + } else { + if (isAlreadyDefined) { + var specPolicy = ReactClassInterface[name]; + + // These cases should already be caught by validateMethodOverride. + !(isReactClassMethod && (specPolicy === 'DEFINE_MANY_MERGED' || specPolicy === 'DEFINE_MANY')) ? false ? invariant(false, 'ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.', specPolicy, name) : _prodInvariant('77', specPolicy, name) : void 0; + + // For methods which are defined more than once, call the existing + // methods before calling the new property, merging if appropriate. + if (specPolicy === 'DEFINE_MANY_MERGED') { + proto[name] = createMergedResultFunction(proto[name], property); + } else if (specPolicy === 'DEFINE_MANY') { + proto[name] = createChainedFunction(proto[name], property); + } + } else { + proto[name] = property; + if (false) { + // Add verbose displayName to the function, which helps when looking + // at profiling tools. + if (typeof property === 'function' && spec.displayName) { + proto[name].displayName = spec.displayName + '_' + name; + } + } + } + } + } + } + } + + function mixStaticSpecIntoComponent(Constructor, statics) { + if (!statics) { + return; + } + for (var name in statics) { + var property = statics[name]; + if (!statics.hasOwnProperty(name)) { + continue; + } + + var isReserved = name in RESERVED_SPEC_KEYS; + !!isReserved ? false ? invariant(false, 'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.', name) : _prodInvariant('78', name) : void 0; + + var isInherited = name in Constructor; + !!isInherited ? false ? invariant(false, 'ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('79', name) : void 0; + Constructor[name] = property; + } + } + + /** + * Merge two objects, but throw if both contain the same key. + * + * @param {object} one The first object, which is mutated. + * @param {object} two The second object + * @return {object} one after it has been mutated to contain everything in two. + */ + function mergeIntoWithNoDuplicateKeys(one, two) { + !(one && two && (typeof one === 'undefined' ? 'undefined' : _typeof(one)) === 'object' && (typeof two === 'undefined' ? 'undefined' : _typeof(two)) === 'object') ? false ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : _prodInvariant('80') : void 0; + + for (var key in two) { + if (two.hasOwnProperty(key)) { + !(one[key] === undefined) ? false ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.', key) : _prodInvariant('81', key) : void 0; + one[key] = two[key]; + } + } + return one; + } + + /** + * Creates a function that invokes two functions and merges their return values. + * + * @param {function} one Function to invoke first. + * @param {function} two Function to invoke second. + * @return {function} Function that invokes the two argument functions. + * @private + */ + function createMergedResultFunction(one, two) { + return function mergedResult() { + var a = one.apply(this, arguments); + var b = two.apply(this, arguments); + if (a == null) { + return b; + } else if (b == null) { + return a; + } + var c = {}; + mergeIntoWithNoDuplicateKeys(c, a); + mergeIntoWithNoDuplicateKeys(c, b); + return c; + }; + } + + /** + * Creates a function that invokes two functions and ignores their return vales. + * + * @param {function} one Function to invoke first. + * @param {function} two Function to invoke second. + * @return {function} Function that invokes the two argument functions. + * @private + */ + function createChainedFunction(one, two) { + return function chainedFunction() { + one.apply(this, arguments); + two.apply(this, arguments); + }; + } + + /** + * Binds a method to the component. + * + * @param {object} component Component whose method is going to be bound. + * @param {function} method Method to be bound. + * @return {function} The bound method. + */ + function bindAutoBindMethod(component, method) { + var boundMethod = method.bind(component); + if (false) { + boundMethod.__reactBoundContext = component; + boundMethod.__reactBoundMethod = method; + boundMethod.__reactBoundArguments = null; + var componentName = component.constructor.displayName; + var _bind = boundMethod.bind; + boundMethod.bind = function (newThis) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + // User is trying to bind() an autobound method; we effectively will + // ignore the value of "this" that the user is trying to use, so + // let's warn. + if (newThis !== component && newThis !== null) { + process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : void 0; + } else if (!args.length) { + process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : void 0; + return boundMethod; + } + var reboundMethod = _bind.apply(boundMethod, arguments); + reboundMethod.__reactBoundContext = component; + reboundMethod.__reactBoundMethod = method; + reboundMethod.__reactBoundArguments = args; + return reboundMethod; + }; + } + return boundMethod; + } + + /** + * Binds all auto-bound methods in a component. + * + * @param {object} component Component whose method is going to be bound. + */ + function bindAutoBindMethods(component) { + var pairs = component.__reactAutoBindPairs; + for (var i = 0; i < pairs.length; i += 2) { + var autoBindKey = pairs[i]; + var method = pairs[i + 1]; + component[autoBindKey] = bindAutoBindMethod(component, method); + } + } + + /** + * Add more to the ReactClass base class. These are all legacy features and + * therefore not already part of the modern ReactComponent. + */ + var ReactClassMixin = { + + /** + * TODO: This will be deprecated because state should always keep a consistent + * type signature and the only use case for this, is to avoid that. + */ + replaceState: function replaceState(newState, callback) { + this.updater.enqueueReplaceState(this, newState); + if (callback) { + this.updater.enqueueCallback(this, callback, 'replaceState'); + } + }, + + /** + * Checks whether or not this composite component is mounted. + * @return {boolean} True if mounted, false otherwise. + * @protected + * @final + */ + isMounted: function isMounted() { + return this.updater.isMounted(this); + } + }; + + var ReactClassComponent = function ReactClassComponent() {}; + _assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin); + + /** + * Module for creating composite components. + * + * @class ReactClass + */ + var ReactClass = { + + /** + * Creates a composite component class given a class specification. + * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass + * + * @param {object} spec Class specification (which must define `render`). + * @return {function} Component constructor function. + * @public + */ + createClass: function createClass(spec) { + // To keep our warnings more understandable, we'll use a little hack here to + // ensure that Constructor.name !== 'Constructor'. This makes sure we don't + // unnecessarily identify a class without displayName as 'Constructor'. + var Constructor = identity(function (props, context, updater) { + // This constructor gets overridden by mocks. The argument is used + // by mocks to assert on what gets mounted. + + if (false) { + process.env.NODE_ENV !== 'production' ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : void 0; + } + + // Wire up auto-binding + if (this.__reactAutoBindPairs.length) { + bindAutoBindMethods(this); + } + + this.props = props; + this.context = context; + this.refs = emptyObject; + this.updater = updater || ReactNoopUpdateQueue; + + this.state = null; + + // ReactClasses doesn't have constructors. Instead, they use the + // getInitialState and componentWillMount methods for initialization. + + var initialState = this.getInitialState ? this.getInitialState() : null; + if (false) { + // We allow auto-mocks to proceed as if they're returning null. + if (initialState === undefined && this.getInitialState._isMockFunction) { + // This is probably bad practice. Consider warning here and + // deprecating this convenience. + initialState = null; + } + } + !((typeof initialState === 'undefined' ? 'undefined' : _typeof(initialState)) === 'object' && !Array.isArray(initialState)) ? false ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : _prodInvariant('82', Constructor.displayName || 'ReactCompositeComponent') : void 0; + + this.state = initialState; + }); + Constructor.prototype = new ReactClassComponent(); + Constructor.prototype.constructor = Constructor; + Constructor.prototype.__reactAutoBindPairs = []; + + injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor)); + + mixSpecIntoComponent(Constructor, spec); + + // Initialize the defaultProps property after all mixins have been merged. + if (Constructor.getDefaultProps) { + Constructor.defaultProps = Constructor.getDefaultProps(); + } + + if (false) { + // This is a tag to indicate that the use of these method names is ok, + // since it's used with createClass. If it's not, then it's likely a + // mistake so we'll warn you to use the static property, property + // initializer or constructor respectively. + if (Constructor.getDefaultProps) { + Constructor.getDefaultProps.isReactClassApproved = {}; + } + if (Constructor.prototype.getInitialState) { + Constructor.prototype.getInitialState.isReactClassApproved = {}; + } + } + + !Constructor.prototype.render ? false ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : _prodInvariant('83') : void 0; + + if (false) { + process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : void 0; + process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : void 0; + } + + // Reduce time spent doing lookups by setting these on the prototype. + for (var methodName in ReactClassInterface) { + if (!Constructor.prototype[methodName]) { + Constructor.prototype[methodName] = null; + } + } + + return Constructor; + }, + + injection: { + injectMixin: function injectMixin(mixin) { + injectedMixins.push(mixin); + } + } + + }; + + module.exports = ReactClass; + +/***/ }, +/* 266 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactElement = __webpack_require__(35); + + /** + * Create a factory that creates HTML tag elements. + * + * @private + */ + var createDOMFactory = ReactElement.createFactory; + if (false) { + var ReactElementValidator = require('./ReactElementValidator'); + createDOMFactory = ReactElementValidator.createFactory; + } + + /** + * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes. + * This is also accessible via `React.DOM`. + * + * @public + */ + var ReactDOMFactories = { + a: createDOMFactory('a'), + abbr: createDOMFactory('abbr'), + address: createDOMFactory('address'), + area: createDOMFactory('area'), + article: createDOMFactory('article'), + aside: createDOMFactory('aside'), + audio: createDOMFactory('audio'), + b: createDOMFactory('b'), + base: createDOMFactory('base'), + bdi: createDOMFactory('bdi'), + bdo: createDOMFactory('bdo'), + big: createDOMFactory('big'), + blockquote: createDOMFactory('blockquote'), + body: createDOMFactory('body'), + br: createDOMFactory('br'), + button: createDOMFactory('button'), + canvas: createDOMFactory('canvas'), + caption: createDOMFactory('caption'), + cite: createDOMFactory('cite'), + code: createDOMFactory('code'), + col: createDOMFactory('col'), + colgroup: createDOMFactory('colgroup'), + data: createDOMFactory('data'), + datalist: createDOMFactory('datalist'), + dd: createDOMFactory('dd'), + del: createDOMFactory('del'), + details: createDOMFactory('details'), + dfn: createDOMFactory('dfn'), + dialog: createDOMFactory('dialog'), + div: createDOMFactory('div'), + dl: createDOMFactory('dl'), + dt: createDOMFactory('dt'), + em: createDOMFactory('em'), + embed: createDOMFactory('embed'), + fieldset: createDOMFactory('fieldset'), + figcaption: createDOMFactory('figcaption'), + figure: createDOMFactory('figure'), + footer: createDOMFactory('footer'), + form: createDOMFactory('form'), + h1: createDOMFactory('h1'), + h2: createDOMFactory('h2'), + h3: createDOMFactory('h3'), + h4: createDOMFactory('h4'), + h5: createDOMFactory('h5'), + h6: createDOMFactory('h6'), + head: createDOMFactory('head'), + header: createDOMFactory('header'), + hgroup: createDOMFactory('hgroup'), + hr: createDOMFactory('hr'), + html: createDOMFactory('html'), + i: createDOMFactory('i'), + iframe: createDOMFactory('iframe'), + img: createDOMFactory('img'), + input: createDOMFactory('input'), + ins: createDOMFactory('ins'), + kbd: createDOMFactory('kbd'), + keygen: createDOMFactory('keygen'), + label: createDOMFactory('label'), + legend: createDOMFactory('legend'), + li: createDOMFactory('li'), + link: createDOMFactory('link'), + main: createDOMFactory('main'), + map: createDOMFactory('map'), + mark: createDOMFactory('mark'), + menu: createDOMFactory('menu'), + menuitem: createDOMFactory('menuitem'), + meta: createDOMFactory('meta'), + meter: createDOMFactory('meter'), + nav: createDOMFactory('nav'), + noscript: createDOMFactory('noscript'), + object: createDOMFactory('object'), + ol: createDOMFactory('ol'), + optgroup: createDOMFactory('optgroup'), + option: createDOMFactory('option'), + output: createDOMFactory('output'), + p: createDOMFactory('p'), + param: createDOMFactory('param'), + picture: createDOMFactory('picture'), + pre: createDOMFactory('pre'), + progress: createDOMFactory('progress'), + q: createDOMFactory('q'), + rp: createDOMFactory('rp'), + rt: createDOMFactory('rt'), + ruby: createDOMFactory('ruby'), + s: createDOMFactory('s'), + samp: createDOMFactory('samp'), + script: createDOMFactory('script'), + section: createDOMFactory('section'), + select: createDOMFactory('select'), + small: createDOMFactory('small'), + source: createDOMFactory('source'), + span: createDOMFactory('span'), + strong: createDOMFactory('strong'), + style: createDOMFactory('style'), + sub: createDOMFactory('sub'), + summary: createDOMFactory('summary'), + sup: createDOMFactory('sup'), + table: createDOMFactory('table'), + tbody: createDOMFactory('tbody'), + td: createDOMFactory('td'), + textarea: createDOMFactory('textarea'), + tfoot: createDOMFactory('tfoot'), + th: createDOMFactory('th'), + thead: createDOMFactory('thead'), + time: createDOMFactory('time'), + title: createDOMFactory('title'), + tr: createDOMFactory('tr'), + track: createDOMFactory('track'), + u: createDOMFactory('u'), + ul: createDOMFactory('ul'), + 'var': createDOMFactory('var'), + video: createDOMFactory('video'), + wbr: createDOMFactory('wbr'), + + // SVG + circle: createDOMFactory('circle'), + clipPath: createDOMFactory('clipPath'), + defs: createDOMFactory('defs'), + ellipse: createDOMFactory('ellipse'), + g: createDOMFactory('g'), + image: createDOMFactory('image'), + line: createDOMFactory('line'), + linearGradient: createDOMFactory('linearGradient'), + mask: createDOMFactory('mask'), + path: createDOMFactory('path'), + pattern: createDOMFactory('pattern'), + polygon: createDOMFactory('polygon'), + polyline: createDOMFactory('polyline'), + radialGradient: createDOMFactory('radialGradient'), + rect: createDOMFactory('rect'), + stop: createDOMFactory('stop'), + svg: createDOMFactory('svg'), + text: createDOMFactory('text'), + tspan: createDOMFactory('tspan') + }; + + module.exports = ReactDOMFactories; + +/***/ }, +/* 267 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var ReactElement = __webpack_require__(35); + var ReactPropTypeLocationNames = __webpack_require__(126); + var ReactPropTypesSecret = __webpack_require__(268); + + var emptyFunction = __webpack_require__(52); + var getIteratorFn = __webpack_require__(128); + var warning = __webpack_require__(22); + + /** + * Collection of methods that allow declaration and validation of props that are + * supplied to React components. Example usage: + * + * var Props = require('ReactPropTypes'); + * var MyArticle = React.createClass({ + * propTypes: { + * // An optional string prop named "description". + * description: Props.string, + * + * // A required enum prop named "category". + * category: Props.oneOf(['News','Photos']).isRequired, + * + * // A prop named "dialog" that requires an instance of Dialog. + * dialog: Props.instanceOf(Dialog).isRequired + * }, + * render: function() { ... } + * }); + * + * A more formal specification of how these methods are used: + * + * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...) + * decl := ReactPropTypes.{type}(.isRequired)? + * + * Each and every declaration produces a function with the same signature. This + * allows the creation of custom validation functions. For example: + * + * var MyLink = React.createClass({ + * propTypes: { + * // An optional string or URI prop named "href". + * href: function(props, propName, componentName) { + * var propValue = props[propName]; + * if (propValue != null && typeof propValue !== 'string' && + * !(propValue instanceof URI)) { + * return new Error( + * 'Expected a string or an URI for ' + propName + ' in ' + + * componentName + * ); + * } + * } + * }, + * render: function() {...} + * }); + * + * @internal + */ + + var ANONYMOUS = '<<anonymous>>'; + + var ReactPropTypes = { + array: createPrimitiveTypeChecker('array'), + bool: createPrimitiveTypeChecker('boolean'), + func: createPrimitiveTypeChecker('function'), + number: createPrimitiveTypeChecker('number'), + object: createPrimitiveTypeChecker('object'), + string: createPrimitiveTypeChecker('string'), + symbol: createPrimitiveTypeChecker('symbol'), + + any: createAnyTypeChecker(), + arrayOf: createArrayOfTypeChecker, + element: createElementTypeChecker(), + instanceOf: createInstanceTypeChecker, + node: createNodeChecker(), + objectOf: createObjectOfTypeChecker, + oneOf: createEnumTypeChecker, + oneOfType: createUnionTypeChecker, + shape: createShapeTypeChecker + }; + + /** + * inlined Object.is polyfill to avoid requiring consumers ship their own + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is + */ + /*eslint-disable no-self-compare*/ + function is(x, y) { + // SameValue algorithm + if (x === y) { + // Steps 1-5, 7-10 + // Steps 6.b-6.e: +0 != -0 + return x !== 0 || 1 / x === 1 / y; + } else { + // Step 6.a: NaN == NaN + return x !== x && y !== y; + } + } + /*eslint-enable no-self-compare*/ + + /** + * We use an Error-like object for backward compatibility as people may call + * PropTypes directly and inspect their output. However we don't use real + * Errors anymore. We don't inspect their stack anyway, and creating them + * is prohibitively expensive if they are created too often, such as what + * happens in oneOfType() for any type before the one that matched. + */ + function PropTypeError(message) { + this.message = message; + this.stack = ''; + } + // Make `instanceof Error` still work for returned errors. + PropTypeError.prototype = Error.prototype; + + function createChainableTypeChecker(validate) { + if (false) { + var manualPropTypeCallCache = {}; + } + function checkType(isRequired, props, propName, componentName, location, propFullName, secret) { + componentName = componentName || ANONYMOUS; + propFullName = propFullName || propName; + if (false) { + if (secret !== ReactPropTypesSecret && typeof console !== 'undefined') { + var cacheKey = componentName + ':' + propName; + if (!manualPropTypeCallCache[cacheKey]) { + process.env.NODE_ENV !== 'production' ? warning(false, 'You are manually calling a React.PropTypes validation ' + 'function for the `%s` prop on `%s`. This is deprecated ' + 'and will not work in production with the next major version. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.', propFullName, componentName) : void 0; + manualPropTypeCallCache[cacheKey] = true; + } + } + } + if (props[propName] == null) { + var locationName = ReactPropTypeLocationNames[location]; + if (isRequired) { + if (props[propName] === null) { + return new PropTypeError('The ' + locationName + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.')); + } + return new PropTypeError('The ' + locationName + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.')); + } + return null; + } else { + return validate(props, propName, componentName, location, propFullName); + } + } + + var chainedCheckType = checkType.bind(null, false); + chainedCheckType.isRequired = checkType.bind(null, true); + + return chainedCheckType; + } + + function createPrimitiveTypeChecker(expectedType) { + function validate(props, propName, componentName, location, propFullName, secret) { + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== expectedType) { + var locationName = ReactPropTypeLocationNames[location]; + // `propValue` being instance of, say, date/regexp, pass the 'object' + // check, but we can offer a more precise error message here rather than + // 'of type `object`'. + var preciseType = getPreciseType(propValue); + + return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.')); + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createAnyTypeChecker() { + return createChainableTypeChecker(emptyFunction.thatReturns(null)); + } + + function createArrayOfTypeChecker(typeChecker) { + function validate(props, propName, componentName, location, propFullName) { + if (typeof typeChecker !== 'function') { + return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.'); + } + var propValue = props[propName]; + if (!Array.isArray(propValue)) { + var locationName = ReactPropTypeLocationNames[location]; + var propType = getPropType(propValue); + return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.')); + } + for (var i = 0; i < propValue.length; i++) { + var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret); + if (error instanceof Error) { + return error; + } + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createElementTypeChecker() { + function validate(props, propName, componentName, location, propFullName) { + var propValue = props[propName]; + if (!ReactElement.isValidElement(propValue)) { + var locationName = ReactPropTypeLocationNames[location]; + var propType = getPropType(propValue); + return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.')); + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createInstanceTypeChecker(expectedClass) { + function validate(props, propName, componentName, location, propFullName) { + if (!(props[propName] instanceof expectedClass)) { + var locationName = ReactPropTypeLocationNames[location]; + var expectedClassName = expectedClass.name || ANONYMOUS; + var actualClassName = getClassName(props[propName]); + return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.')); + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createEnumTypeChecker(expectedValues) { + if (!Array.isArray(expectedValues)) { + false ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0; + return emptyFunction.thatReturnsNull; + } + + function validate(props, propName, componentName, location, propFullName) { + var propValue = props[propName]; + for (var i = 0; i < expectedValues.length; i++) { + if (is(propValue, expectedValues[i])) { + return null; + } + } + + var locationName = ReactPropTypeLocationNames[location]; + var valuesString = JSON.stringify(expectedValues); + return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.')); + } + return createChainableTypeChecker(validate); + } + + function createObjectOfTypeChecker(typeChecker) { + function validate(props, propName, componentName, location, propFullName) { + if (typeof typeChecker !== 'function') { + return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.'); + } + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== 'object') { + var locationName = ReactPropTypeLocationNames[location]; + return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.')); + } + for (var key in propValue) { + if (propValue.hasOwnProperty(key)) { + var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); + if (error instanceof Error) { + return error; + } + } + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createUnionTypeChecker(arrayOfTypeCheckers) { + if (!Array.isArray(arrayOfTypeCheckers)) { + false ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0; + return emptyFunction.thatReturnsNull; + } + + function validate(props, propName, componentName, location, propFullName) { + for (var i = 0; i < arrayOfTypeCheckers.length; i++) { + var checker = arrayOfTypeCheckers[i]; + if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) { + return null; + } + } + + var locationName = ReactPropTypeLocationNames[location]; + return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.')); + } + return createChainableTypeChecker(validate); + } + + function createNodeChecker() { + function validate(props, propName, componentName, location, propFullName) { + if (!isNode(props[propName])) { + var locationName = ReactPropTypeLocationNames[location]; + return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.')); + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createShapeTypeChecker(shapeTypes) { + function validate(props, propName, componentName, location, propFullName) { + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== 'object') { + var locationName = ReactPropTypeLocationNames[location]; + return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); + } + for (var key in shapeTypes) { + var checker = shapeTypes[key]; + if (!checker) { + continue; + } + var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); + if (error) { + return error; + } + } + return null; + } + return createChainableTypeChecker(validate); + } + + function isNode(propValue) { + switch (typeof propValue === 'undefined' ? 'undefined' : _typeof(propValue)) { + case 'number': + case 'string': + case 'undefined': + return true; + case 'boolean': + return !propValue; + case 'object': + if (Array.isArray(propValue)) { + return propValue.every(isNode); + } + if (propValue === null || ReactElement.isValidElement(propValue)) { + return true; + } + + var iteratorFn = getIteratorFn(propValue); + if (iteratorFn) { + var iterator = iteratorFn.call(propValue); + var step; + if (iteratorFn !== propValue.entries) { + while (!(step = iterator.next()).done) { + if (!isNode(step.value)) { + return false; + } + } + } else { + // Iterator will provide entry [k,v] tuples rather than values. + while (!(step = iterator.next()).done) { + var entry = step.value; + if (entry) { + if (!isNode(entry[1])) { + return false; + } + } + } + } + } else { + return false; + } + + return true; + default: + return false; + } + } + + function isSymbol(propType, propValue) { + // Native Symbol. + if (propType === 'symbol') { + return true; + } + + // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol' + if (propValue['@@toStringTag'] === 'Symbol') { + return true; + } + + // Fallback for non-spec compliant Symbols which are polyfilled. + if (typeof Symbol === 'function' && propValue instanceof Symbol) { + return true; + } + + return false; + } + + // Equivalent of `typeof` but with special handling for array and regexp. + function getPropType(propValue) { + var propType = typeof propValue === 'undefined' ? 'undefined' : _typeof(propValue); + if (Array.isArray(propValue)) { + return 'array'; + } + if (propValue instanceof RegExp) { + // Old webkits (at least until Android 4.0) return 'function' rather than + // 'object' for typeof a RegExp. We'll normalize this here so that /bla/ + // passes PropTypes.object. + return 'object'; + } + if (isSymbol(propType, propValue)) { + return 'symbol'; + } + return propType; + } + + // This handles more types than `getPropType`. Only used for error messages. + // See `createPrimitiveTypeChecker`. + function getPreciseType(propValue) { + var propType = getPropType(propValue); + if (propType === 'object') { + if (propValue instanceof Date) { + return 'date'; + } else if (propValue instanceof RegExp) { + return 'regexp'; + } + } + return propType; + } + + // Returns class name of the object, if any. + function getClassName(propValue) { + if (!propValue.constructor || !propValue.constructor.name) { + return ANONYMOUS; + } + return propValue.constructor.name; + } + + module.exports = ReactPropTypes; + +/***/ }, +/* 268 */ +220, +/* 269 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _assign = __webpack_require__(37); + + var ReactComponent = __webpack_require__(75); + var ReactNoopUpdateQueue = __webpack_require__(77); + + var emptyObject = __webpack_require__(78); + + /** + * Base class helpers for the updating state of a component. + */ + function ReactPureComponent(props, context, updater) { + // Duplicated from ReactComponent. + this.props = props; + this.context = context; + this.refs = emptyObject; + // We initialize the default updater but the real one gets injected by the + // renderer. + this.updater = updater || ReactNoopUpdateQueue; + } + + function ComponentDummy() {} + ComponentDummy.prototype = ReactComponent.prototype; + ReactPureComponent.prototype = new ComponentDummy(); + ReactPureComponent.prototype.constructor = ReactPureComponent; + // Avoid an extra prototype jump for these methods. + _assign(ReactPureComponent.prototype, ReactComponent.prototype); + ReactPureComponent.prototype.isPureReactComponent = true; + + module.exports = ReactPureComponent; + +/***/ }, +/* 270 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var flattenChildren = __webpack_require__(274); + + var ReactTransitionChildMapping = { + /** + * Given `this.props.children`, return an object mapping key to child. Just + * simple syntactic sugar around flattenChildren(). + * + * @param {*} children `this.props.children` + * @param {number=} selfDebugID Optional debugID of the current internal instance. + * @return {object} Mapping of key to child + */ + getChildMapping: function getChildMapping(children, selfDebugID) { + if (!children) { + return children; + } + + if (false) { + return flattenChildren(children, selfDebugID); + } + + return flattenChildren(children); + }, + + /** + * When you're adding or removing children some may be added or removed in the + * same render pass. We want to show *both* since we want to simultaneously + * animate elements in and out. This function takes a previous set of keys + * and a new set of keys and merges them with its best guess of the correct + * ordering. In the future we may expose some of the utilities in + * ReactMultiChild to make this easy, but for now React itself does not + * directly have this concept of the union of prevChildren and nextChildren + * so we implement it here. + * + * @param {object} prev prev children as returned from + * `ReactTransitionChildMapping.getChildMapping()`. + * @param {object} next next children as returned from + * `ReactTransitionChildMapping.getChildMapping()`. + * @return {object} a key set that contains all keys in `prev` and all keys + * in `next` in a reasonable order. + */ + mergeChildMappings: function mergeChildMappings(prev, next) { + prev = prev || {}; + next = next || {}; + + function getValueForKey(key) { + if (next.hasOwnProperty(key)) { + return next[key]; + } else { + return prev[key]; + } + } + + // For each key of `next`, the list of keys to insert before that key in + // the combined list + var nextKeysPending = {}; + + var pendingKeys = []; + for (var prevKey in prev) { + if (next.hasOwnProperty(prevKey)) { + if (pendingKeys.length) { + nextKeysPending[prevKey] = pendingKeys; + pendingKeys = []; + } + } else { + pendingKeys.push(prevKey); + } + } + + var i; + var childMapping = {}; + for (var nextKey in next) { + if (nextKeysPending.hasOwnProperty(nextKey)) { + for (i = 0; i < nextKeysPending[nextKey].length; i++) { + var pendingNextKey = nextKeysPending[nextKey][i]; + childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey); + } + } + childMapping[nextKey] = getValueForKey(nextKey); + } + + // Finally, add the keys which didn't appear before any key in `next` + for (i = 0; i < pendingKeys.length; i++) { + childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]); + } + + return childMapping; + } + }; + + module.exports = ReactTransitionChildMapping; + +/***/ }, +/* 271 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(276); + + var getVendorPrefixedEventName = __webpack_require__(114); + + var endEvents = []; + + function detectEvents() { + var animEnd = getVendorPrefixedEventName('animationend'); + var transEnd = getVendorPrefixedEventName('transitionend'); + + if (animEnd) { + endEvents.push(animEnd); + } + + if (transEnd) { + endEvents.push(transEnd); + } + } + + if (ExecutionEnvironment.canUseDOM) { + detectEvents(); + } + + // We use the raw {add|remove}EventListener() call because EventListener + // does not know how to remove event listeners and we really should + // clean up. Also, these events are not triggered in older browsers + // so we should be A-OK here. + + function addEventListener(node, eventName, eventListener) { + node.addEventListener(eventName, eventListener, false); + } + + function removeEventListener(node, eventName, eventListener) { + node.removeEventListener(eventName, eventListener, false); + } + + var ReactTransitionEvents = { + addEndEventListener: function addEndEventListener(node, eventListener) { + if (endEvents.length === 0) { + // If CSS transitions are not supported, trigger an "end animation" + // event immediately. + window.setTimeout(eventListener, 0); + return; + } + endEvents.forEach(function (endEvent) { + addEventListener(node, endEvent, eventListener); + }); + }, + + removeEndEventListener: function removeEndEventListener(node, eventListener) { + if (endEvents.length === 0) { + return; + } + endEvents.forEach(function (endEvent) { + removeEventListener(node, endEvent, eventListener); + }); + } + }; + + module.exports = ReactTransitionEvents; + +/***/ }, +/* 272 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _assign = __webpack_require__(37); + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + }return call && ((typeof call === 'undefined' ? 'undefined' : _typeof(call)) === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === 'undefined' ? 'undefined' : _typeof(superClass))); + }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var React = __webpack_require__(20); + var ReactAddonsDOMDependencies = __webpack_require__(124); + var ReactTransitionChildMapping = __webpack_require__(270); + + var emptyFunction = __webpack_require__(52); + + /** + * A basis for animations. When children are declaratively added or removed, + * special lifecycle hooks are called. + * See https://facebook.github.io/react/docs/animation.html#low-level-api-reacttransitiongroup + */ + + var ReactTransitionGroup = function (_React$Component) { + _inherits(ReactTransitionGroup, _React$Component); + + function ReactTransitionGroup() { + var _temp, _this, _ret; + + _classCallCheck(this, ReactTransitionGroup); + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = { + // TODO: can we get useful debug information to show at this point? + children: ReactTransitionChildMapping.getChildMapping(_this.props.children) + }, _this.performAppear = function (key) { + _this.currentlyTransitioningKeys[key] = true; + + var component = _this.refs[key]; + + if (component.componentWillAppear) { + component.componentWillAppear(_this._handleDoneAppearing.bind(_this, key)); + } else { + _this._handleDoneAppearing(key); + } + }, _this._handleDoneAppearing = function (key) { + var component = _this.refs[key]; + if (component.componentDidAppear) { + component.componentDidAppear(); + } + + delete _this.currentlyTransitioningKeys[key]; + + var currentChildMapping; + if (false) { + currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(_this)._debugID); + } else { + currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children); + } + + if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) { + // This was removed before it had fully appeared. Remove it. + _this.performLeave(key); + } + }, _this.performEnter = function (key) { + _this.currentlyTransitioningKeys[key] = true; + + var component = _this.refs[key]; + + if (component.componentWillEnter) { + component.componentWillEnter(_this._handleDoneEntering.bind(_this, key)); + } else { + _this._handleDoneEntering(key); + } + }, _this._handleDoneEntering = function (key) { + var component = _this.refs[key]; + if (component.componentDidEnter) { + component.componentDidEnter(); + } + + delete _this.currentlyTransitioningKeys[key]; + + var currentChildMapping; + if (false) { + currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(_this)._debugID); + } else { + currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children); + } + + if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) { + // This was removed before it had fully entered. Remove it. + _this.performLeave(key); + } + }, _this.performLeave = function (key) { + _this.currentlyTransitioningKeys[key] = true; + + var component = _this.refs[key]; + if (component.componentWillLeave) { + component.componentWillLeave(_this._handleDoneLeaving.bind(_this, key)); + } else { + // Note that this is somewhat dangerous b/c it calls setState() + // again, effectively mutating the component before all the work + // is done. + _this._handleDoneLeaving(key); + } + }, _this._handleDoneLeaving = function (key) { + var component = _this.refs[key]; + + if (component.componentDidLeave) { + component.componentDidLeave(); + } + + delete _this.currentlyTransitioningKeys[key]; + + var currentChildMapping; + if (false) { + currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(_this)._debugID); + } else { + currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children); + } + + if (currentChildMapping && currentChildMapping.hasOwnProperty(key)) { + // This entered again before it fully left. Add it again. + _this.performEnter(key); + } else { + _this.setState(function (state) { + var newChildren = _assign({}, state.children); + delete newChildren[key]; + return { children: newChildren }; + }); + } + }, _temp), _possibleConstructorReturn(_this, _ret); + } + + ReactTransitionGroup.prototype.componentWillMount = function componentWillMount() { + this.currentlyTransitioningKeys = {}; + this.keysToEnter = []; + this.keysToLeave = []; + }; + + ReactTransitionGroup.prototype.componentDidMount = function componentDidMount() { + var initialChildMapping = this.state.children; + for (var key in initialChildMapping) { + if (initialChildMapping[key]) { + this.performAppear(key); + } + } + }; + + ReactTransitionGroup.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { + var nextChildMapping; + if (false) { + nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(this)._debugID); + } else { + nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children); + } + var prevChildMapping = this.state.children; + + this.setState({ + children: ReactTransitionChildMapping.mergeChildMappings(prevChildMapping, nextChildMapping) + }); + + var key; + + for (key in nextChildMapping) { + var hasPrev = prevChildMapping && prevChildMapping.hasOwnProperty(key); + if (nextChildMapping[key] && !hasPrev && !this.currentlyTransitioningKeys[key]) { + this.keysToEnter.push(key); + } + } + + for (key in prevChildMapping) { + var hasNext = nextChildMapping && nextChildMapping.hasOwnProperty(key); + if (prevChildMapping[key] && !hasNext && !this.currentlyTransitioningKeys[key]) { + this.keysToLeave.push(key); + } + } + + // If we want to someday check for reordering, we could do it here. + }; + + ReactTransitionGroup.prototype.componentDidUpdate = function componentDidUpdate() { + var keysToEnter = this.keysToEnter; + this.keysToEnter = []; + keysToEnter.forEach(this.performEnter); + + var keysToLeave = this.keysToLeave; + this.keysToLeave = []; + keysToLeave.forEach(this.performLeave); + }; + + ReactTransitionGroup.prototype.render = function render() { + // TODO: we could get rid of the need for the wrapper node + // by cloning a single child + var childrenToRender = []; + for (var key in this.state.children) { + var child = this.state.children[key]; + if (child) { + // You may need to apply reactive updates to a child as it is leaving. + // The normal React way to do it won't work since the child will have + // already been removed. In case you need this behavior you can provide + // a childFactory function to wrap every child, even the ones that are + // leaving. + childrenToRender.push(React.cloneElement(this.props.childFactory(child), { ref: key, key: key })); + } + } + + // Do not forward ReactTransitionGroup props to primitive DOM nodes + var props = _assign({}, this.props); + delete props.transitionLeave; + delete props.transitionName; + delete props.transitionAppear; + delete props.transitionEnter; + delete props.childFactory; + delete props.transitionLeaveTimeout; + delete props.transitionEnterTimeout; + delete props.transitionAppearTimeout; + delete props.component; + + return React.createElement(this.props.component, props, childrenToRender); + }; + + return ReactTransitionGroup; + }(React.Component); + + ReactTransitionGroup.displayName = 'ReactTransitionGroup'; + ReactTransitionGroup.propTypes = { + component: React.PropTypes.any, + childFactory: React.PropTypes.func + }; + ReactTransitionGroup.defaultProps = { + component: 'span', + childFactory: emptyFunction.thatReturnsArgument + }; + + module.exports = ReactTransitionGroup; + +/***/ }, +/* 273 */ +225, +/* 274 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(process) {/** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var KeyEscapeUtils = __webpack_require__(123); + var traverseAllChildren = __webpack_require__(130); + var warning = __webpack_require__(22); + + var ReactComponentTreeHook; + + if (typeof process !== 'undefined' && ({"NODE_ENV":"production"}) && ("production") === 'test') { + // Temporary hack. + // Inline requires don't work well with Jest: + // https://github.com/facebook/react/issues/7240 + // Remove the inline requires when we don't need them anymore: + // https://github.com/facebook/react/pull/7178 + ReactComponentTreeHook = __webpack_require__(76); + } + + /** + * @param {function} traverseContext Context passed through traversal. + * @param {?ReactComponent} child React child component. + * @param {!string} name String name of key path to child. + * @param {number=} selfDebugID Optional debugID of the current internal instance. + */ + function flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) { + // We found a component instance. + if (traverseContext && (typeof traverseContext === 'undefined' ? 'undefined' : _typeof(traverseContext)) === 'object') { + var result = traverseContext; + var keyUnique = result[name] === undefined; + if (false) { + if (!ReactComponentTreeHook) { + ReactComponentTreeHook = require('./ReactComponentTreeHook'); + } + if (!keyUnique) { + process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0; + } + } + if (keyUnique && child != null) { + result[name] = child; + } + } + } + + /** + * Flattens children that are typically specified as `props.children`. Any null + * children will not be included in the resulting object. + * @return {!object} flattened children keyed by name. + */ + function flattenChildren(children, selfDebugID) { + if (children == null) { + return children; + } + var result = {}; + + if (false) { + traverseAllChildren(children, function (traverseContext, child, name) { + return flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID); + }, result); + } else { + traverseAllChildren(children, flattenSingleChildIntoContext, result); + } + return result; + } + + module.exports = flattenChildren; + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29))) + +/***/ }, +/* 275 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + */ + + var invariant = __webpack_require__(28); + + /** + * The CSSCore module specifies the API (and implements most of the methods) + * that should be used when dealing with the display of elements (via their + * CSS classes and visibility on screen. It is an API focused on mutating the + * display and not reading it as no logical state should be encoded in the + * display of elements. + */ + + /* Slow implementation for browsers that don't natively support .matches() */ + function matchesSelector_SLOW(element, selector) { + var root = element; + while (root.parentNode) { + root = root.parentNode; + } + + var all = root.querySelectorAll(selector); + return Array.prototype.indexOf.call(all, element) !== -1; + } + + var CSSCore = { + + /** + * Adds the class passed in to the element if it doesn't already have it. + * + * @param {DOMElement} element the element to set the class on + * @param {string} className the CSS className + * @return {DOMElement} the element passed in + */ + addClass: function addClass(element, className) { + !!/\s/.test(className) ? false ? invariant(false, 'CSSCore.addClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : void 0; + + if (className) { + if (element.classList) { + element.classList.add(className); + } else if (!CSSCore.hasClass(element, className)) { + element.className = element.className + ' ' + className; + } + } + return element; + }, + + /** + * Removes the class passed in from the element + * + * @param {DOMElement} element the element to set the class on + * @param {string} className the CSS className + * @return {DOMElement} the element passed in + */ + removeClass: function removeClass(element, className) { + !!/\s/.test(className) ? false ? invariant(false, 'CSSCore.removeClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : void 0; + + if (className) { + if (element.classList) { + element.classList.remove(className); + } else if (CSSCore.hasClass(element, className)) { + element.className = element.className.replace(new RegExp('(^|\\s)' + className + '(?:\\s|$)', 'g'), '$1').replace(/\s+/g, ' ') // multiple spaces to one + .replace(/^\s*|\s*$/g, ''); // trim the ends + } + } + return element; + }, + + /** + * Helper to add or remove a class from an element based on a condition. + * + * @param {DOMElement} element the element to set the class on + * @param {string} className the CSS className + * @param {*} bool condition to whether to add or remove the class + * @return {DOMElement} the element passed in + */ + conditionClass: function conditionClass(element, className, bool) { + return (bool ? CSSCore.addClass : CSSCore.removeClass)(element, className); + }, + + /** + * Tests whether the element has the class specified. + * + * @param {DOMNode|DOMWindow} element the element to check the class on + * @param {string} className the CSS className + * @return {boolean} true if the element has the class, false if not + */ + hasClass: function hasClass(element, className) { + !!/\s/.test(className) ? false ? invariant(false, 'CSS.hasClass takes only a single class name.') : invariant(false) : void 0; + if (element.classList) { + return !!className && element.classList.contains(className); + } + return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1; + }, + + /** + * Tests whether the element matches the selector specified + * + * @param {DOMNode|DOMWindow} element the element that we are querying + * @param {string} selector the CSS selector + * @return {boolean} true if the element matches the selector, false if not + */ + matchesSelector: function matchesSelector(element, selector) { + var matchesImpl = element.matches || element.webkitMatchesSelector || element.mozMatchesSelector || element.msMatchesSelector || function (s) { + return matchesSelector_SLOW(element, s); + }; + return matchesImpl.call(element, selector); + } + + }; + + module.exports = CSSCore; + +/***/ }, +/* 276 */ +10, +/* 277 */ +/***/ function(module, exports) { + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + // Copyright Joyent, Inc. and other Node contributors. + // + // Permission is hereby granted, free of charge, to any person obtaining a + // copy of this software and associated documentation files (the + // "Software"), to deal in the Software without restriction, including + // without limitation the rights to use, copy, modify, merge, publish, + // distribute, sublicense, and/or sell copies of the Software, and to permit + // persons to whom the Software is furnished to do so, subject to the + // following conditions: + // + // The above copyright notice and this permission notice shall be included + // in all copies or substantial portions of the Software. + // + // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + // USE OR OTHER DEALINGS IN THE SOFTWARE. + + function EventEmitter() { + this._events = this._events || {}; + this._maxListeners = this._maxListeners || undefined; + } + module.exports = EventEmitter; + + // Backwards-compat with node 0.10.x + EventEmitter.EventEmitter = EventEmitter; + + EventEmitter.prototype._events = undefined; + EventEmitter.prototype._maxListeners = undefined; + + // By default EventEmitters will print a warning if more than 10 listeners are + // added to it. This is a useful default which helps finding memory leaks. + EventEmitter.defaultMaxListeners = 10; + + // Obviously not all Emitters should be limited to 10. This function allows + // that to be increased. Set to zero for unlimited. + EventEmitter.prototype.setMaxListeners = function (n) { + if (!isNumber(n) || n < 0 || isNaN(n)) throw TypeError('n must be a positive number'); + this._maxListeners = n; + return this; + }; + + EventEmitter.prototype.emit = function (type) { + var er, handler, len, args, i, listeners; + + if (!this._events) this._events = {}; + + // If there is no 'error' event listener then throw. + if (type === 'error') { + if (!this._events.error || isObject(this._events.error) && !this._events.error.length) { + er = arguments[1]; + if (er instanceof Error) { + throw er; // Unhandled 'error' event + } else { + // At least give some kind of context to the user + var err = new Error('Uncaught, unspecified "error" event. (' + er + ')'); + err.context = er; + throw err; + } + } + } + + handler = this._events[type]; + + if (isUndefined(handler)) return false; + + if (isFunction(handler)) { + switch (arguments.length) { + // fast cases + case 1: + handler.call(this); + break; + case 2: + handler.call(this, arguments[1]); + break; + case 3: + handler.call(this, arguments[1], arguments[2]); + break; + // slower + default: + args = Array.prototype.slice.call(arguments, 1); + handler.apply(this, args); + } + } else if (isObject(handler)) { + args = Array.prototype.slice.call(arguments, 1); + listeners = handler.slice(); + len = listeners.length; + for (i = 0; i < len; i++) { + listeners[i].apply(this, args); + } + } + + return true; + }; + + EventEmitter.prototype.addListener = function (type, listener) { + var m; + + if (!isFunction(listener)) throw TypeError('listener must be a function'); + + if (!this._events) this._events = {}; + + // To avoid recursion in the case that type === "newListener"! Before + // adding it to the listeners, first emit "newListener". + if (this._events.newListener) this.emit('newListener', type, isFunction(listener.listener) ? listener.listener : listener); + + if (!this._events[type]) + // Optimize the case of one listener. Don't need the extra array object. + this._events[type] = listener;else if (isObject(this._events[type])) + // If we've already got an array, just append. + this._events[type].push(listener);else + // Adding the second element, need to change to array. + this._events[type] = [this._events[type], listener]; + + // Check for listener leak + if (isObject(this._events[type]) && !this._events[type].warned) { + if (!isUndefined(this._maxListeners)) { + m = this._maxListeners; + } else { + m = EventEmitter.defaultMaxListeners; + } + + if (m && m > 0 && this._events[type].length > m) { + this._events[type].warned = true; + console.error('(node) warning: possible EventEmitter memory ' + 'leak detected. %d listeners added. ' + 'Use emitter.setMaxListeners() to increase limit.', this._events[type].length); + if (typeof console.trace === 'function') { + // not supported in IE 10 + console.trace(); + } + } + } + + return this; + }; + + EventEmitter.prototype.on = EventEmitter.prototype.addListener; + + EventEmitter.prototype.once = function (type, listener) { + if (!isFunction(listener)) throw TypeError('listener must be a function'); + + var fired = false; + + function g() { + this.removeListener(type, g); + + if (!fired) { + fired = true; + listener.apply(this, arguments); + } + } + + g.listener = listener; + this.on(type, g); + + return this; + }; + + // emits a 'removeListener' event iff the listener was removed + EventEmitter.prototype.removeListener = function (type, listener) { + var list, position, length, i; + + if (!isFunction(listener)) throw TypeError('listener must be a function'); + + if (!this._events || !this._events[type]) return this; + + list = this._events[type]; + length = list.length; + position = -1; + + if (list === listener || isFunction(list.listener) && list.listener === listener) { + delete this._events[type]; + if (this._events.removeListener) this.emit('removeListener', type, listener); + } else if (isObject(list)) { + for (i = length; i-- > 0;) { + if (list[i] === listener || list[i].listener && list[i].listener === listener) { + position = i; + break; + } + } + + if (position < 0) return this; + + if (list.length === 1) { + list.length = 0; + delete this._events[type]; + } else { + list.splice(position, 1); + } + + if (this._events.removeListener) this.emit('removeListener', type, listener); + } + + return this; + }; + + EventEmitter.prototype.removeAllListeners = function (type) { + var key, listeners; + + if (!this._events) return this; + + // not listening for removeListener, no need to emit + if (!this._events.removeListener) { + if (arguments.length === 0) this._events = {};else if (this._events[type]) delete this._events[type]; + return this; + } + + // emit removeListener for all listeners on all events + if (arguments.length === 0) { + for (key in this._events) { + if (key === 'removeListener') continue; + this.removeAllListeners(key); + } + this.removeAllListeners('removeListener'); + this._events = {}; + return this; + } + + listeners = this._events[type]; + + if (isFunction(listeners)) { + this.removeListener(type, listeners); + } else if (listeners) { + // LIFO order + while (listeners.length) { + this.removeListener(type, listeners[listeners.length - 1]); + } + } + delete this._events[type]; + + return this; + }; + + EventEmitter.prototype.listeners = function (type) { + var ret; + if (!this._events || !this._events[type]) ret = [];else if (isFunction(this._events[type])) ret = [this._events[type]];else ret = this._events[type].slice(); + return ret; + }; + + EventEmitter.prototype.listenerCount = function (type) { + if (this._events) { + var evlistener = this._events[type]; + + if (isFunction(evlistener)) return 1;else if (evlistener) return evlistener.length; + } + return 0; + }; + + EventEmitter.listenerCount = function (emitter, type) { + return emitter.listenerCount(type); + }; + + function isFunction(arg) { + return typeof arg === 'function'; + } + + function isNumber(arg) { + return typeof arg === 'number'; + } + + function isObject(arg) { + return (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'object' && arg !== null; + } + + function isUndefined(arg) { + return arg === void 0; + } + +/***/ }, +/* 278 */ +/***/ function(module, exports) { + + 'use strict'; + + if (typeof Object.create === 'function') { + // implementation from standard node.js 'util' module + module.exports = function inherits(ctor, superCtor) { + ctor.super_ = superCtor; + ctor.prototype = Object.create(superCtor.prototype, { + constructor: { + value: ctor, + enumerable: false, + writable: true, + configurable: true + } + }); + }; + } else { + // old school shim for old browsers + module.exports = function inherits(ctor, superCtor) { + ctor.super_ = superCtor; + var TempCtor = function TempCtor() {}; + TempCtor.prototype = superCtor.prototype; + ctor.prototype = new TempCtor(); + ctor.prototype.constructor = ctor; + }; + } + +/***/ }, +/* 279 */ +/***/ function(module, exports) { + + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + module.exports = function isBuffer(arg) { + return arg && (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'object' && typeof arg.copy === 'function' && typeof arg.fill === 'function' && typeof arg.readUInt8 === 'function'; + }; + +/***/ }, +/* 280 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.displayName = displayName; + exports.url = url; + + var _blueimpMd = __webpack_require__(175); + + var _blueimpMd2 = _interopRequireDefault(_blueimpMd); + + var _trim = __webpack_require__(25); + + var _trim2 = _interopRequireDefault(_trim); + + var _jsonp_utils = __webpack_require__(326); + + var _jsonp_utils2 = _interopRequireDefault(_jsonp_utils); + + var _email = __webpack_require__(26); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var md5 = _blueimpMd2.default.md5 || _blueimpMd2.default; + + function normalize(str) { + return typeof str === "string" ? (0, _trim2.default)(str.toLowerCase()) : ""; + } + + function displayName(email, cb) { + email = normalize(email); + if (!(0, _email.validateEmail)(email)) return cb({}); + + var url = 'https://secure.gravatar.com/' + md5(email) + '.json'; + _jsonp_utils2.default.get(url, function (error, result) { + if (!error && result && result.entry && result.entry[0]) { + cb(null, result.entry[0].displayName); + } else { + cb({}); + } + }); + } + + function url(email, cb) { + email = normalize(email); + if (!(0, _email.validateEmail)(email)) return cb({}); + + cb(null, 'https://secure.gravatar.com/avatar/' + md5(email) + '?d=404&s=160'); + } + +/***/ }, +/* 281 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _email_pane = __webpack_require__(83); + + var _email_pane2 = _interopRequireDefault(_email_pane); + + var _username_pane = __webpack_require__(86); + + var _username_pane2 = _interopRequireDefault(_username_pane); + + var _password_pane = __webpack_require__(84); + + var _password_pane2 = _interopRequireDefault(_password_pane); + + var _actions = __webpack_require__(38); + + var _index = __webpack_require__(11); + + var _index2 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index2); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var LoginPane = function (_React$Component) { + _inherits(LoginPane, _React$Component); + + function LoginPane() { + _classCallCheck(this, LoginPane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + LoginPane.prototype.handleDontRememberPasswordClick = function handleDontRememberPasswordClick(e) { + e.preventDefault(); + (0, _actions.showResetPasswordActivity)(l.id(this.props.lock)); + }; + + LoginPane.prototype.render = function render() { + var _props = this.props, + emailInputPlaceholder = _props.emailInputPlaceholder, + forgotPasswordAction = _props.forgotPasswordAction, + i18n = _props.i18n, + instructions = _props.instructions, + lock = _props.lock, + passwordInputPlaceholder = _props.passwordInputPlaceholder, + showForgotPasswordLink = _props.showForgotPasswordLink, + showPassword = _props.showPassword, + usernameInputPlaceholder = _props.usernameInputPlaceholder, + usernameStyle = _props.usernameStyle; + + + var headerText = instructions || null; + var header = headerText && _react2.default.createElement( + 'p', + null, + headerText + ); + + // Should never validate format on login because of custom db connection and import mode + var fieldPane = usernameStyle === "email" ? _react2.default.createElement(_email_pane2.default, { + i18n: i18n, + lock: lock, + placeholder: emailInputPlaceholder + }) : _react2.default.createElement(_username_pane2.default, { + i18n: i18n, + lock: lock, + placeholder: usernameInputPlaceholder, + usernameStyle: usernameStyle, + validateFormat: false + }); + + var passwordPane = showPassword ? _react2.default.createElement(_password_pane2.default, { + i18n: i18n, + lock: lock, + placeholder: passwordInputPlaceholder + }) : null; + + var dontRememberPassword = showForgotPasswordLink && (0, _index.hasScreen)(lock, "forgotPassword") ? _react2.default.createElement( + 'p', + { className: 'auth0-lock-alternative' }, + _react2.default.createElement( + 'a', + { + className: 'auth0-lock-alternative-link', + href: (0, _index.forgotPasswordLink)(lock, "#"), + onClick: (0, _index.forgotPasswordLink)(lock) ? undefined : this.handleDontRememberPasswordClick.bind(this) + }, + forgotPasswordAction + ) + ) : null; + + return _react2.default.createElement( + 'div', + null, + header, + fieldPane, + passwordPane, + dontRememberPassword + ); + }; + + return LoginPane; + }(_react2.default.Component); + + exports.default = LoginPane; + + + LoginPane.propTypes = { + emailInputPlaceholder: _react2.default.PropTypes.string.isRequired, + forgotPasswordAction: _react2.default.PropTypes.string.isRequired, + i18n: _react2.default.PropTypes.object.isRequired, + instructions: _react2.default.PropTypes.any, + lock: _react2.default.PropTypes.object.isRequired, + passwordInputPlaceholder: _react2.default.PropTypes.string.isRequired, + showForgotPasswordLink: _react2.default.PropTypes.bool.isRequired, + showPassword: _react2.default.PropTypes.bool.isRequired, + usernameInputPlaceholder: _react2.default.PropTypes.string.isRequired, + usernameStyle: _react2.default.PropTypes.oneOf(["any", "email", "username"]) + }; + +/***/ }, +/* 282 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _mfa_code_pane = __webpack_require__(305); + + var _mfa_code_pane2 = _interopRequireDefault(_mfa_code_pane); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var MFAPane = function (_React$Component) { + _inherits(MFAPane, _React$Component); + + function MFAPane() { + _classCallCheck(this, MFAPane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + MFAPane.prototype.render = function render() { + var _props = this.props, + mfaInputPlaceholder = _props.mfaInputPlaceholder, + i18n = _props.i18n, + instructions = _props.instructions, + lock = _props.lock, + title = _props.title; + + + var headerText = instructions || null; + var header = headerText && _react2.default.createElement( + 'p', + null, + headerText + ); + + var pane = _react2.default.createElement(_mfa_code_pane2.default, { + i18n: i18n, + lock: lock, + placeholder: mfaInputPlaceholder + }); + + var titleElement = title && _react2.default.createElement( + 'h2', + null, + title + ); + + return _react2.default.createElement( + 'div', + null, + titleElement, + header, + pane + ); + }; + + return MFAPane; + }(_react2.default.Component); + + exports.default = MFAPane; + + + MFAPane.propTypes = { + mfaInputPlaceholder: _react2.default.PropTypes.string.isRequired, + title: _react2.default.PropTypes.string.isRequired, + i18n: _react2.default.PropTypes.object.isRequired, + instructions: _react2.default.PropTypes.any, + lock: _react2.default.PropTypes.object.isRequired + }; + +/***/ }, +/* 283 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.renderPasswordResetConfirmation = renderPasswordResetConfirmation; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _success_pane = __webpack_require__(87); + + var _success_pane2 = _interopRequireDefault(_success_pane); + + var _actions = __webpack_require__(24); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + // TODO: can't we get this from props? + + var PasswordResetConfirmation = function (_React$Component) { + _inherits(PasswordResetConfirmation, _React$Component); + + function PasswordResetConfirmation() { + _classCallCheck(this, PasswordResetConfirmation); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + PasswordResetConfirmation.prototype.handleClose = function handleClose() { + var _props = this.props, + closeHandler = _props.closeHandler, + lock = _props.lock; + + closeHandler(l.id(lock)); + }; + + PasswordResetConfirmation.prototype.render = function render() { + var lock = this.props.lock; + + var closeHandler = l.ui.closable(lock) ? this.handleClose.bind(this) : undefined; + + return _react2.default.createElement( + _success_pane2.default, + { closeHandler: closeHandler }, + _react2.default.createElement( + 'p', + null, + i18n.html(this.props.lock, ["success", "forgotPassword"]) + ) + ); + }; + + return PasswordResetConfirmation; + }(_react2.default.Component); + + exports.default = PasswordResetConfirmation; + + + PasswordResetConfirmation.propTypes = { + closeHandler: _react2.default.PropTypes.func.isRequired, + lock: _react2.default.PropTypes.object.isRequired + }; + + function renderPasswordResetConfirmation(m) { + var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + props.closeHandler = _actions.closeLock; + props.key = "auxiliarypane"; + props.lock = m; + + return m.get("passwordResetted") ? _react2.default.createElement(PasswordResetConfirmation, props) : null; + } + +/***/ }, +/* 284 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _reset_password_pane = __webpack_require__(285); + + var _reset_password_pane2 = _interopRequireDefault(_reset_password_pane); + + var _index = __webpack_require__(11); + + var _actions = __webpack_require__(38); + + var _password_reset_confirmation = __webpack_require__(283); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Component = function Component(_ref) { + var i18n = _ref.i18n, + model = _ref.model; + + var headerText = i18n.html("forgotPasswordInstructions") || null; + var header = headerText && _react2.default.createElement( + 'p', + null, + headerText + ); + + return _react2.default.createElement(_reset_password_pane2.default, { + emailInputPlaceholder: i18n.str("emailInputPlaceholder"), + header: header, + i18n: i18n, + lock: model + }); + }; + + var ResetPassword = function (_Screen) { + _inherits(ResetPassword, _Screen); + + function ResetPassword() { + _classCallCheck(this, ResetPassword); + + return _possibleConstructorReturn(this, _Screen.call(this, "forgotPassword")); + } + + ResetPassword.prototype.backHandler = function backHandler(m) { + return (0, _index.hasScreen)(m, "login") ? _actions.cancelResetPassword : undefined; + }; + + ResetPassword.prototype.submitButtonLabel = function submitButtonLabel(m) { + return i18n.str(m, ["forgotPasswordSubmitLabel"]); + }; + + ResetPassword.prototype.submitHandler = function submitHandler() { + return _actions.resetPassword; + }; + + ResetPassword.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(m) { + return (0, _password_reset_confirmation.renderPasswordResetConfirmation)(m); + }; + + ResetPassword.prototype.render = function render() { + return Component; + }; + + return ResetPassword; + }(_screen2.default); + + exports.default = ResetPassword; + +/***/ }, +/* 285 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _email_pane = __webpack_require__(83); + + var _email_pane2 = _interopRequireDefault(_email_pane); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var ResetPasswordPane = function (_React$Component) { + _inherits(ResetPasswordPane, _React$Component); + + function ResetPasswordPane() { + _classCallCheck(this, ResetPasswordPane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + ResetPasswordPane.prototype.render = function render() { + var _props = this.props, + emailInputPlaceholder = _props.emailInputPlaceholder, + header = _props.header, + i18n = _props.i18n, + lock = _props.lock; + + + return _react2.default.createElement( + 'div', + null, + header, + _react2.default.createElement(_email_pane2.default, { + i18n: i18n, + lock: lock, + placeholder: emailInputPlaceholder + }) + ); + }; + + return ResetPasswordPane; + }(_react2.default.Component); + + ResetPasswordPane.propTypes = { + emailInputPlaceholder: _react2.default.PropTypes.string.isRequired, + lock: _react2.default.PropTypes.object.isRequired + }; + exports.default = ResetPasswordPane; + +/***/ }, +/* 286 */ +/***/ function(module, exports, __webpack_require__) { + + "use strict"; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var SignUpTerms = function SignUpTerms(_ref) { + var checkHandler = _ref.checkHandler, + checked = _ref.checked, + children = _ref.children; + + return checkHandler ? _react2.default.createElement( + "span", + { className: "auth0-lock-sign-up-terms-agreement" }, + _react2.default.createElement( + "label", + null, + _react2.default.createElement("input", { type: "checkbox", onChange: checkHandler, checked: checked }), + children + ) + ) : children; + }; + + exports.default = SignUpTerms; + +/***/ }, +/* 287 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.renderSignedUpConfirmation = renderSignedUpConfirmation; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _success_pane = __webpack_require__(87); + + var _success_pane2 = _interopRequireDefault(_success_pane); + + var _actions = __webpack_require__(24); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(11); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + // TODO: can't we get this from props? + + var SignedUpConfirmation = function (_React$Component) { + _inherits(SignedUpConfirmation, _React$Component); + + function SignedUpConfirmation() { + _classCallCheck(this, SignedUpConfirmation); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + SignedUpConfirmation.prototype.handleClose = function handleClose() { + var _props = this.props, + closeHandler = _props.closeHandler, + lock = _props.lock; + + closeHandler(l.id(lock)); + }; + + SignedUpConfirmation.prototype.render = function render() { + var lock = this.props.lock; + + var closeHandler = l.ui.closable(lock) ? this.handleClose.bind(this) : undefined; + + return _react2.default.createElement( + _success_pane2.default, + { closeHandler: closeHandler }, + _react2.default.createElement( + 'p', + null, + i18n.html(lock, ["success", "signUp"]) + ) + ); + }; + + return SignedUpConfirmation; + }(_react2.default.Component); + + exports.default = SignedUpConfirmation; + + + SignedUpConfirmation.propTypes = { + closeHandler: _react2.default.PropTypes.func.isRequired, + lock: _react2.default.PropTypes.object.isRequired + }; + + function renderSignedUpConfirmation(m) { + var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + props.closeHandler = _actions.closeLock; + props.key = "auxiliarypane"; + props.lock = m; + + return m.get("signedUp") && !(0, _index2.shouldAutoLogin)(m) ? _react2.default.createElement(SignedUpConfirmation, props) : null; + } + +/***/ }, +/* 288 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _username_pane = __webpack_require__(86); + + var _username_pane2 = _interopRequireDefault(_username_pane); + + var _password_pane = __webpack_require__(84); + + var _password_pane2 = _interopRequireDefault(_password_pane); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var HRDPane = function (_React$Component) { + _inherits(HRDPane, _React$Component); + + function HRDPane() { + _classCallCheck(this, HRDPane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + HRDPane.prototype.render = function render() { + var _props = this.props, + header = _props.header, + i18n = _props.i18n, + model = _props.model, + passwordInputPlaceholder = _props.passwordInputPlaceholder, + usernameInputPlaceholder = _props.usernameInputPlaceholder; + + + return _react2.default.createElement( + 'div', + null, + header, + _react2.default.createElement(_username_pane2.default, { + i18n: i18n, + lock: model, + placeholder: usernameInputPlaceholder, + validateFormat: false + }), + _react2.default.createElement(_password_pane2.default, { + i18n: i18n, + lock: model, + placeholder: passwordInputPlaceholder + }) + ); + }; + + return HRDPane; + }(_react2.default.Component); + + exports.default = HRDPane; + + + HRDPane.propTypes = { + header: _react2.default.PropTypes.element, + i18n: _react2.default.PropTypes.object.isRequired, + model: _react2.default.PropTypes.object.isRequired, + passwordInputPlaceholder: _react2.default.PropTypes.string.isRequired, + usernameInputPlaceholder: _react2.default.PropTypes.string.isRequired + }; + +/***/ }, +/* 289 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _signed_in_confirmation = __webpack_require__(30); + + var _hrd_pane = __webpack_require__(288); + + var _hrd_pane2 = _interopRequireDefault(_hrd_pane); + + var _actions = __webpack_require__(80); + + var _enterprise = __webpack_require__(23); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Component = function Component(_ref) { + var i18n = _ref.i18n, + model = _ref.model; + + var domain = (0, _enterprise.enterpriseDomain)(model); + + var headerText; + + if (domain != null) { + headerText = i18n.html("enterpriseActiveLoginInstructions", domain); + } else { + headerText = i18n.html("enterpriseLoginIntructions"); + } + + headerText = headerText || null; + + var header = headerText && _react2.default.createElement( + 'p', + null, + headerText + ); + + return _react2.default.createElement(_hrd_pane2.default, { + header: header, + i18n: i18n, + model: model, + passwordInputPlaceholder: i18n.str("passwordInputPlaceholder"), + usernameInputPlaceholder: i18n.str("usernameInputPlaceholder") + }); + }; + + var HRDScreen = function (_Screen) { + _inherits(HRDScreen, _Screen); + + function HRDScreen() { + _classCallCheck(this, HRDScreen); + + return _possibleConstructorReturn(this, _Screen.call(this, "hrd")); + } + + HRDScreen.prototype.backHandler = function backHandler(model) { + return (0, _enterprise.isSingleHRDConnection)(model) ? null : _actions.cancelHRD; + }; + + HRDScreen.prototype.submitButtonLabel = function submitButtonLabel(m) { + return i18n.str(m, ["loginSubmitLabel"]); + }; + + HRDScreen.prototype.submitHandler = function submitHandler(model) { + return _actions.logIn; + }; + + HRDScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(model) { + return (0, _signed_in_confirmation.renderSignedInConfirmation)(model); + }; + + HRDScreen.prototype.render = function render() { + return Component; + }; + + return HRDScreen; + }(_screen2.default); + + exports.default = HRDScreen; + +/***/ }, +/* 290 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _quick_auth_pane = __webpack_require__(89); + + var _quick_auth_pane2 = _interopRequireDefault(_quick_auth_pane); + + var _actions = __webpack_require__(54); + + var _signed_in_confirmation = __webpack_require__(30); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _enterprise = __webpack_require__(23); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Component = function Component(_ref) { + var i18n = _ref.i18n, + model = _ref.model; + + var headerText = i18n.html("windowsAuthInstructions") || null; + var header = headerText && _react2.default.createElement( + 'p', + null, + headerText + ); + + return _react2.default.createElement(_quick_auth_pane2.default, { + alternativeLabel: i18n.str("notYourAccountAction"), + alternativeClickHandler: function alternativeClickHandler() { + return (0, _actions.skipQuickAuth)(l.id(model)); + }, + buttonLabel: i18n.str("windowsAuthLabel"), + buttonClickHandler: function buttonClickHandler(e) { + return (0, _actions.logIn)(l.id(model), (0, _enterprise.corpNetworkConnection)(model)); + }, + header: header, + strategy: 'windows' + }); + }; + + var KerberosScreen = function (_Screen) { + _inherits(KerberosScreen, _Screen); + + function KerberosScreen() { + _classCallCheck(this, KerberosScreen); + + return _possibleConstructorReturn(this, _Screen.call(this, "kerberos")); + } + + KerberosScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) { + return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock); + }; + + KerberosScreen.prototype.render = function render() { + return Component; + }; + + return KerberosScreen; + }(_screen2.default); + + exports.default = KerberosScreen; + +/***/ }, +/* 291 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _quick_auth_pane = __webpack_require__(89); + + var _quick_auth_pane2 = _interopRequireDefault(_quick_auth_pane); + + var _actions = __webpack_require__(54); + + var _signed_in_confirmation = __webpack_require__(30); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _enterprise = __webpack_require__(23); + + var _index2 = __webpack_require__(39); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + // TODO: handle this from CSS + function icon(strategy) { + if (strategy === "google-apps") return strategy; + if (~["adfs", "office365", "waad"].indexOf(strategy)) return "windows"; + return "auth0"; + } + + var Component = function Component(_ref) { + var i18n = _ref.i18n, + model = _ref.model; + + var headerText = i18n.html("enterpriseLoginIntructions") || null; + var header = headerText && _react2.default.createElement( + 'p', + null, + headerText + ); + + var theme = (0, _index2.authButtonsTheme)(model); + + var connection = (0, _enterprise.quickAuthConnection)(model); + var connectionName = connection.getIn(["name"]); + var connectionDomain = connection.getIn(["domains", 0]); + + var buttonTheme = theme.get(connection.get("name")); + + var buttonLabel = buttonTheme && buttonTheme.get("displayName") || connectionDomain && i18n.str("loginAtLabel", connectionDomain) || i18n.str("loginAtLabel", connectionName); + + var primaryColor = buttonTheme && buttonTheme.get("primaryColor"); + var foregroundColor = buttonTheme && buttonTheme.get("foregroundColor"); + var buttonIcon = buttonTheme && buttonTheme.get("icon"); + + return _react2.default.createElement(_quick_auth_pane2.default, { + buttonLabel: buttonLabel, + buttonClickHandler: function buttonClickHandler(e) { + return (0, _actions.logIn)(l.id(model), (0, _enterprise.quickAuthConnection)(model)); + }, + header: header, + buttonIcon: buttonIcon, + primaryColor: primaryColor, + foregroundColor: foregroundColor, + strategy: icon((0, _enterprise.quickAuthConnection)(model).get("strategy")) + }); + }; + + var QuickAuthScreen = function (_Screen) { + _inherits(QuickAuthScreen, _Screen); + + function QuickAuthScreen() { + _classCallCheck(this, QuickAuthScreen); + + return _possibleConstructorReturn(this, _Screen.call(this, "enterpriseQuickAuth")); + } + + QuickAuthScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) { + return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock); + }; + + QuickAuthScreen.prototype.render = function render() { + return Component; + }; + + return QuickAuthScreen; + }(_screen2.default); + + exports.default = QuickAuthScreen; + +/***/ }, +/* 292 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _events = __webpack_require__(277); + + var _index = __webpack_require__(12); + + var _box = __webpack_require__(310); + + var _web_api = __webpack_require__(53); + + var _web_api2 = _interopRequireDefault(_web_api); + + var _actions = __webpack_require__(24); + + var _index2 = __webpack_require__(11); + + var _index3 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index3); + + var _index4 = __webpack_require__(8); + + var c = _interopRequireWildcard(_index4); + + var _id_utils = __webpack_require__(325); + + var idu = _interopRequireWildcard(_id_utils); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + var _sync = __webpack_require__(45); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Base = function (_EventEmitter) { + _inherits(Base, _EventEmitter); + + function Base(clientID, domain) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var engine = arguments[3]; + + _classCallCheck(this, Base); + + if (typeof clientID != "string") { + throw new Error("A `clientID` string must be provided as first argument."); + } + if (typeof domain != "string") { + throw new Error("A `domain` string must be provided as second argument."); + } + if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) != "object") { + throw new Error("When provided, the third argument must be an `options` object."); + } + + var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); + + _this.validEvents = ['show', 'hide', 'unrecoverable_error', 'authenticated', 'authorization_error', 'hash_parsed']; + + _this.id = idu.incremental(); + _this.engine = engine; + var hookRunner = _this.runHook.bind(_this); + var emitEventFn = _this.emit.bind(_this); + + (0, _sync.go)(_this.id); + + var m = (0, _actions.setupLock)(_this.id, clientID, domain, options, hookRunner, emitEventFn); + + _this.on('newListener', function (type) { + if (_this.validEvents.indexOf(type) === -1) { + l.emitUnrecoverableErrorEvent(m, 'Invalid event "' + type + '".'); + } + }); + + if (!Base.hasScheduledAuthCallback) { + Base.hasScheduledAuthCallback = true; + setTimeout(_actions.handleAuthCallback, 0); + } + + (0, _index.observe)("render", _this.id, function (m) { + var partialApplyId = function partialApplyId(screen, handlerName) { + var handler = screen[handlerName](m); + return handler ? function () { + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return handler.apply(undefined, [l.id(m)].concat(args)); + } : handler; + }; + + var avatar = l.ui.avatar(m) && m.getIn(["avatar", "transient", "syncStatus"]) === "ok" || null; + var title = avatar ? i18n.str(m, "welcome", m.getIn(["avatar", "transient", "displayName"])) : i18n.str(m, "title"); + + if (l.rendering(m)) { + var screen = _this.engine.render(m); + + var disableSubmitButton = screen.name === "main.signUp" && !(0, _index2.termsAccepted)(m); + + var i18nProp = { + group: function group(keyPath) { + return i18n.group(m, keyPath); + }, + html: function html(keyPath) { + for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + args[_key2 - 1] = arguments[_key2]; + } + + return i18n.html.apply(i18n, [m, keyPath].concat(args)); + }, + str: function str(keyPath) { + for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) { + args[_key3 - 1] = arguments[_key3]; + } + + return i18n.str.apply(i18n, [m, keyPath].concat(args)); + } + }; + + var props = { + avatar: avatar && m.getIn(["avatar", "transient", "url"]), + auxiliaryPane: screen.renderAuxiliaryPane(m), + autofocus: l.ui.autofocus(m), + backHandler: partialApplyId(screen, "backHandler"), + badgeLink: "https://auth0.com/?utm_source=lock&utm_campaign=badge&utm_medium=widget", + closeHandler: l.ui.closable(m) ? function () { + for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { + args[_key4] = arguments[_key4]; + } + + return _actions.closeLock.apply(undefined, [l.id(m)].concat(args)); + } : undefined, + contentComponent: screen.render(), + contentProps: { i18n: i18nProp, model: m }, + disableSubmitButton: disableSubmitButton, + error: l.globalError(m), + isMobile: l.ui.mobile(m), + isModal: l.ui.appendContainer(m), + isSubmitting: l.submitting(m), + logo: l.ui.logo(m), + primaryColor: l.ui.primaryColor(m), + screenName: screen.name, + showBadge: l.showBadge(m) === true, + success: l.globalSuccess(m), + submitButtonLabel: l.ui.labeledSubmitButton(m) ? screen.submitButtonLabel(m) : null, + submitHandler: partialApplyId(screen, "submitHandler"), + tabs: screen.renderTabs(m), + terms: screen.renderTerms(m, i18nProp.html("signUpTerms")), + title: title, + transitionName: screen.name === "loading" ? "fade" : "horizontal-fade" + }; + (0, _box.render)(l.ui.containerID(m), props); + + // TODO: hack so we can start testing the beta + if (!_this.oldScreenName || _this.oldScreenName != screen.name) { + if (screen.name === "main.login") { + l.emitEvent(m, "signin ready"); + } else if (screen.name === "main.signUp") { + l.emitEvent(m, "signup ready"); + } + } + _this.oldScreenName = screen.name; + } else { + (0, _box.remove)(l.ui.containerID(m)); + } + }); + return _this; + } + + Base.prototype.show = function show() { + var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + (0, _actions.openLock)(this.id, opts); + }; + + Base.prototype.hide = function hide() { + (0, _actions.closeLock)(this.id, true); + }; + + Base.prototype.destroy = function destroy() { + (0, _actions.removeLock)(this.id); + }; + + Base.prototype.getProfile = function getProfile(token, cb) { + return _web_api2.default.getProfile(this.id, token, cb); + }; + + Base.prototype.getUserInfo = function getUserInfo(token, cb) { + return _web_api2.default.getUserInfo(this.id, token, cb); + }; + + Base.prototype.logout = function logout() { + var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + _web_api2.default.signOut(this.id, query); + }; + + Base.prototype.update = function update(f) { + return (0, _actions.updateLock)(this.id, f); + }; + + Base.prototype.setModel = function setModel(m) { + return this.update(function () { + return m; + }); + }; + + Base.prototype.runHook = function runHook(str, m) { + var _engine; + + if (typeof this.engine[str] != "function") return m; + + for (var _len5 = arguments.length, args = Array(_len5 > 2 ? _len5 - 2 : 0), _key5 = 2; _key5 < _len5; _key5++) { + args[_key5 - 2] = arguments[_key5]; + } + + return (_engine = this.engine)[str].apply(_engine, [m].concat(args)); + }; + + return Base; + }(_events.EventEmitter); + + exports.default = Base; + +/***/ }, +/* 293 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.fetchClientSettings = fetchClientSettings; + exports.syncClientSettingsSuccess = syncClientSettingsSuccess; + + var _urlJoin = __webpack_require__(131); + + var _urlJoin2 = _interopRequireDefault(_urlJoin); + + var _cdn_utils = __webpack_require__(90); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(135); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function fetchClientSettings(clientID, clientBaseUrl, cb) { + (0, _cdn_utils.load)({ + method: "setClient", + url: (0, _urlJoin2.default)(clientBaseUrl, 'client', clientID + '.js?t' + +new Date()), + check: function check(o) { + return o && o.id === clientID; + }, + cb: cb + }); + } + + function syncClientSettingsSuccess(m, result) { + m = (0, _index2.initClient)(m, result); + m = l.filterConnections(m); + m = l.runHook(m, "didReceiveClientSettings"); + return m; + } + +/***/ }, +/* 294 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var ErrorScreen = function (_Screen) { + _inherits(ErrorScreen, _Screen); + + function ErrorScreen() { + _classCallCheck(this, ErrorScreen); + + return _possibleConstructorReturn(this, _Screen.call(this, "error")); + } + + ErrorScreen.prototype.render = function render() { + return ErrorPane; + }; + + return ErrorScreen; + }(_screen2.default); + + exports.default = ErrorScreen; + + + var ErrorPane = function ErrorPane(_ref) { + var i18n = _ref.i18n; + return _react2.default.createElement( + 'div', + { className: 'auth0-lock-error-pane' }, + _react2.default.createElement( + 'p', + null, + i18n.html("unrecoverableError") + ) + ); + }; + + ErrorPane.propTypes = { + i18n: _react2.default.PropTypes.object.isRequired + }; + +/***/ }, +/* 295 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _actions = __webpack_require__(24); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var LoadingScreen = function (_Screen) { + _inherits(LoadingScreen, _Screen); + + function LoadingScreen() { + _classCallCheck(this, LoadingScreen); + + return _possibleConstructorReturn(this, _Screen.call(this, "loading")); + } + + LoadingScreen.prototype.render = function render() { + return LoadingPane; + }; + + return LoadingScreen; + }(_screen2.default); + + exports.default = LoadingScreen; + + var LoadingPane = function (_React$Component) { + _inherits(LoadingPane, _React$Component); + + function LoadingPane() { + _classCallCheck(this, LoadingPane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + LoadingPane.prototype.componentDidMount = function componentDidMount() { + var model = this.props.model; + + (0, _actions.pinLoadingPane)(l.id(model)); + setTimeout(function () { + return (0, _actions.unpinLoadingPane)(l.id(model)); + }, 1200); + }; + + LoadingPane.prototype.render = function render() { + return _react2.default.createElement( + 'div', + { className: 'auth0-loading-screen' }, + _react2.default.createElement( + 'div', + { className: 'auth0-loading-container' }, + _react2.default.createElement('div', { className: 'auth0-loading' }) + ) + ); + }; + + return LoadingPane; + }(_react2.default.Component); + + LoadingPane.propTypes = { + model: _react2.default.PropTypes.object.isRequired + }; + +/***/ }, +/* 296 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.syncRemoteData = syncRemoteData; + + var _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _settings = __webpack_require__(293); + + var _settings2 = __webpack_require__(299); + + var _data = __webpack_require__(297); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _enterprise = __webpack_require__(23); + + var _sync = __webpack_require__(45); + + var _sync2 = _interopRequireDefault(_sync); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function syncRemoteData(m) { + + if (l.useTenantInfo(m)) { + m = (0, _sync2.default)(m, "client", { + syncFn: function syncFn(m, cb) { + return (0, _settings2.fetchTenantSettings)(l.tenantBaseUrl(m), cb); + }, + successFn: function successFn(m, result) { + return (0, _settings2.syncTenantSettingsSuccess)(m, l.clientID(m), result); + } + }); + } else { + m = (0, _sync2.default)(m, "client", { + syncFn: function syncFn(m, cb) { + return (0, _settings.fetchClientSettings)(l.clientID(m), l.clientBaseUrl(m), cb); + }, + successFn: _settings.syncClientSettingsSuccess + }); + } + + m = (0, _sync2.default)(m, "sso", { + conditionFn: l.auth.sso, + waitFn: function waitFn(m) { + return (0, _sync.isSuccess)(m, "client"); + }, + syncFn: function syncFn(m, cb) { + return (0, _data.fetchSSOData)(l.id(m), (0, _enterprise.isADEnabled)(m), cb); + }, + successFn: function successFn(m, result) { + return m.mergeIn(["sso"], _immutable2.default.fromJS(result)); + }, + errorFn: function errorFn(m, error) { + // location.origin is not supported in all browsers + var origin = location.protocol + "//" + location.hostname; + if (location.port) { + origin += ":" + location.port; + } + + var appSettingsUrl = 'https://manage.auth0.com/#/applications/' + l.clientID(m) + '/settings'; + + l.warn(m, 'There was an error fetching the SSO data. This could simply mean that there was a problem with the network. But, if a "Origin" error has been logged before this warning, please add "' + origin + '" to the "Allowed Origins (CORS)" list in the Auth0 dashboard: ' + appSettingsUrl); + } + }); + + return m; + } // shouldn't depend on this + +/***/ }, +/* 297 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.fetchSSOData = fetchSSOData; + + var _web_api = __webpack_require__(53); + + var _web_api2 = _interopRequireDefault(_web_api); + + var _cache = __webpack_require__(323); + + var _cache2 = _interopRequireDefault(_cache); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var cache = new _cache2.default(function () { + return _web_api2.default.getSSOData.apply(_web_api2.default, arguments); + }); + + function fetchSSOData(id, withAD, cb) { + cache.get(id, withAD, cb); + } + +/***/ }, +/* 298 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _quick_auth_pane = __webpack_require__(89); + + var _quick_auth_pane2 = _interopRequireDefault(_quick_auth_pane); + + var _actions = __webpack_require__(54); + + var _index = __webpack_require__(137); + + var _index2 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index2); + + var _signed_in_confirmation = __webpack_require__(30); + + var _index3 = __webpack_require__(39); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + // TODO: handle this from CSS + function icon(strategy) { + if (_index3.STRATEGIES[strategy]) return strategy; + if (strategy === "google-apps") return strategy; + if (~["adfs", "office365", "waad"].indexOf(strategy)) return "windows"; + return "auth0"; + } + + var Component = function Component(_ref) { + var i18n = _ref.i18n, + model = _ref.model; + + var headerText = i18n.html("lastLoginInstructions") || null; + var header = headerText && _react2.default.createElement( + 'p', + null, + headerText + ); + + var buttonClickHandler = function buttonClickHandler() { + (0, _actions.logIn)(l.id(model), (0, _index.lastUsedConnection)(model), (0, _index.lastUsedUsername)(model)); + }; + + return _react2.default.createElement(_quick_auth_pane2.default, { + alternativeLabel: i18n.str("notYourAccountAction"), + alternativeClickHandler: function alternativeClickHandler() { + return (0, _actions.skipQuickAuth)(l.id(model)); + }, + buttonLabel: (0, _index.lastUsedUsername)(model), + buttonClickHandler: buttonClickHandler, + header: header, + strategy: icon((0, _index.lastUsedConnection)(model).get("strategy")) + }); + }; + + var LastLoginScreen = function (_Screen) { + _inherits(LastLoginScreen, _Screen); + + function LastLoginScreen() { + _classCallCheck(this, LastLoginScreen); + + return _possibleConstructorReturn(this, _Screen.call(this, "lastLogin")); + } + + LastLoginScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) { + return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock); + }; + + LastLoginScreen.prototype.render = function render() { + return Component; + }; + + return LastLoginScreen; + }(_screen2.default); + + exports.default = LastLoginScreen; + +/***/ }, +/* 299 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.fetchTenantSettings = fetchTenantSettings; + exports.syncTenantSettingsSuccess = syncTenantSettingsSuccess; + + var _cdn_utils = __webpack_require__(90); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(81); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function fetchTenantSettings(tenantBaseUrl, cb) { + (0, _cdn_utils.load)({ + method: "setTenant", + url: tenantBaseUrl + '?t' + +new Date(), + check: function check() { + return true; + }, + cb: cb + }); + } + + function syncTenantSettingsSuccess(m, client_id, result) { + m = (0, _index2.initTenant)(m, client_id, result); + m = l.filterConnections(m); + m = l.runHook(m, "didReceiveClientSettings"); + return m; + } + +/***/ }, +/* 300 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _social_buttons_pane = __webpack_require__(139); + + var _social_buttons_pane2 = _interopRequireDefault(_social_buttons_pane); + + var _login_pane = __webpack_require__(281); + + var _login_pane2 = _interopRequireDefault(_login_pane); + + var _pane_separator = __webpack_require__(136); + + var _pane_separator2 = _interopRequireDefault(_pane_separator); + + var _index = __webpack_require__(11); + + var _actions = __webpack_require__(38); + + var _signed_in_confirmation = __webpack_require__(30); + + var _login_sign_up_tabs = __webpack_require__(133); + + var _login_sign_up_tabs2 = _interopRequireDefault(_login_sign_up_tabs); + + var _index2 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index2); + + var _index3 = __webpack_require__(8); + + var c = _interopRequireWildcard(_index3); + + var _email = __webpack_require__(26); + + var _actions2 = __webpack_require__(80); + + var _enterprise = __webpack_require__(23); + + var _single_sign_on_notice = __webpack_require__(134); + + var _single_sign_on_notice2 = _interopRequireDefault(_single_sign_on_notice); + + var _classic = __webpack_require__(82); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + function shouldRenderTabs(m) { + if ((0, _classic.isSSOEnabled)(m)) return false; + if (l.hasSomeConnections(m, "database")) return (0, _index.hasScreen)(m, "signUp"); + if (l.hasSomeConnections(m, "social") && (0, _index.hasInitialScreen)(m, "signUp")) return (0, _index.hasScreen)(m, "signUp"); + } + + var Component = function Component(_ref) { + var i18n = _ref.i18n, + model = _ref.model, + t = _ref.t; + + var sso = (0, _classic.isSSOEnabled)(model); + var onlySocial = (0, _classic.hasOnlyClassicConnections)(model, "social"); + + var tabs = shouldRenderTabs(model) && _react2.default.createElement(_login_sign_up_tabs2.default, { + key: 'loginsignup', + lock: model, + loginLabel: i18n.str("loginLabel"), + signUpLink: (0, _index.signUpLink)(model), + signUpLabel: i18n.str("signUpLabel") + }); + + var social = l.hasSomeConnections(model, "social") && _react2.default.createElement(_social_buttons_pane2.default, { + bigButtons: (0, _classic.useBigSocialButtons)(model), + instructions: i18n.html("socialLoginInstructions"), + labelFn: i18n.str, + lock: model, + showLoading: onlySocial, + signUp: false + }); + + var showPassword = !sso && (l.hasSomeConnections(model, "database") || !!(0, _enterprise.findADConnectionWithoutDomain)(model)); + + var showForgotPasswordLink = showPassword && l.hasSomeConnections(model, "database"); + + var loginInstructionsKey = social ? "databaseEnterpriseAlternativeLoginInstructions" : "databaseEnterpriseLoginInstructions"; + + var usernameInputPlaceholderKey = (0, _index.databaseUsernameStyle)(model) === "any" || l.countConnections(model, "enterprise") > 1 ? "usernameOrEmailInputPlaceholder" : "usernameInputPlaceholder"; + + var usernameStyle = (0, _index.databaseUsernameStyle)(model); + + var login = (sso || l.hasSomeConnections(model, "database") || l.hasSomeConnections(model, "enterprise")) && _react2.default.createElement(_login_pane2.default, { + emailInputPlaceholder: i18n.str("emailInputPlaceholder"), + forgotPasswordAction: i18n.str("forgotPasswordAction"), + i18n: i18n, + instructions: i18n.html(loginInstructionsKey), + lock: model, + passwordInputPlaceholder: i18n.str("passwordInputPlaceholder"), + showForgotPasswordLink: showForgotPasswordLink, + showPassword: showPassword, + usernameInputPlaceholder: i18n.str(usernameInputPlaceholderKey), + usernameStyle: usernameStyle + }); + + var ssoNotice = sso && _react2.default.createElement( + _single_sign_on_notice2.default, + null, + i18n.str("ssoEnabled") + ); + + var separator = social && login && _react2.default.createElement(_pane_separator2.default, null); + + return _react2.default.createElement( + 'div', + null, + ssoNotice, + tabs, + social, + separator, + login + ); + }; + + var Login = function (_Screen) { + _inherits(Login, _Screen); + + function Login() { + _classCallCheck(this, Login); + + return _possibleConstructorReturn(this, _Screen.call(this, "main.login")); + } + + Login.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) { + return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock); + }; + + Login.prototype.renderTabs = function renderTabs(model) { + return shouldRenderTabs(model); + }; + + Login.prototype.submitButtonLabel = function submitButtonLabel(m) { + return i18n.str(m, ["loginSubmitLabel"]); + }; + + Login.prototype.submitHandler = function submitHandler(model) { + if ((0, _classic.hasOnlyClassicConnections)(model, "social")) { + return null; + } + + if ((0, _enterprise.isHRDDomain)(model, (0, _index.databaseUsernameValue)(model))) { + return function (id) { + return (0, _actions2.startHRD)(id, (0, _index.databaseUsernameValue)(model)); + }; + } + + var useDatabaseConnection = !(0, _classic.isSSOEnabled)(model) && (0, _index.databaseConnection)(model) && ((0, _index.defaultDatabaseConnection)(model) || !(0, _enterprise.defaultEnterpriseConnection)(model)); + + return useDatabaseConnection ? _actions.logIn : _actions2.logIn; + }; + + Login.prototype.render = function render() { + return Component; + }; + + return Login; + }(_screen2.default); + + exports.default = Login; + +/***/ }, +/* 301 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _mfa_pane = __webpack_require__(282); + + var _mfa_pane2 = _interopRequireDefault(_mfa_pane); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + var _actions = __webpack_require__(38); + + var _index = __webpack_require__(11); + + var _signed_in_confirmation = __webpack_require__(30); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Component = function Component(_ref) { + var i18n = _ref.i18n, + model = _ref.model; + + + return _react2.default.createElement(_mfa_pane2.default, { + mfaInputPlaceholder: i18n.str("mfaInputPlaceholder"), + i18n: i18n, + instructions: i18n.str("mfaLoginInstructions"), + lock: model, + title: i18n.str("mfaLoginTitle") + }); + }; + + var MFALoginScreen = function (_Screen) { + _inherits(MFALoginScreen, _Screen); + + function MFALoginScreen() { + _classCallCheck(this, MFALoginScreen); + + return _possibleConstructorReturn(this, _Screen.call(this, "mfa.mfaCode")); + } + + MFALoginScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) { + return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock); + }; + + MFALoginScreen.prototype.submitButtonLabel = function submitButtonLabel(m) { + return i18n.str(m, ["mfaSubmitLabel"]); + }; + + MFALoginScreen.prototype.submitHandler = function submitHandler(m) { + return function (id) { + return (0, _actions.logIn)(id, true); + }; + }; + + MFALoginScreen.prototype.render = function render() { + return Component; + }; + + MFALoginScreen.prototype.backHandler = function backHandler(m) { + return (0, _index.hasScreen)(m, "login") ? _actions.cancelMFALogin : undefined; + }; + + return MFALoginScreen; + }(_screen2.default); + + exports.default = MFALoginScreen; + +/***/ }, +/* 302 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _email_pane = __webpack_require__(83); + + var _email_pane2 = _interopRequireDefault(_email_pane); + + var _password_pane = __webpack_require__(84); + + var _password_pane2 = _interopRequireDefault(_password_pane); + + var _username_pane = __webpack_require__(86); + + var _username_pane2 = _interopRequireDefault(_username_pane); + + var _index = __webpack_require__(11); + + var _custom_input = __webpack_require__(304); + + var _custom_input2 = _interopRequireDefault(_custom_input); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var SignUpPane = function (_React$Component) { + _inherits(SignUpPane, _React$Component); + + function SignUpPane() { + _classCallCheck(this, SignUpPane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + SignUpPane.prototype.render = function render() { + var _props = this.props, + emailInputPlaceholder = _props.emailInputPlaceholder, + instructions = _props.instructions, + i18n = _props.i18n, + model = _props.model, + onlyEmail = _props.onlyEmail, + passwordInputPlaceholder = _props.passwordInputPlaceholder, + passwordStrengthMessages = _props.passwordStrengthMessages, + usernameInputPlaceholder = _props.usernameInputPlaceholder; + + + var headerText = instructions || null; + var header = headerText && _react2.default.createElement( + 'p', + null, + headerText + ); + + var usernamePane = !onlyEmail && (0, _index.databaseConnectionRequiresUsername)(model) ? _react2.default.createElement(_username_pane2.default, { + i18n: i18n, + lock: model, + placeholder: usernameInputPlaceholder, + validateFormat: true + }) : null; + + var fields = !onlyEmail && (0, _index.additionalSignUpFields)(model).map(function (x) { + return _react2.default.createElement(_custom_input2.default, { + iconUrl: x.get("icon"), + key: x.get("name"), + model: model, + name: x.get("name"), + options: x.get("options"), + placeholder: x.get("placeholder"), + type: x.get("type"), + validator: x.get("validator") + }); + }); + + var passwordPane = !onlyEmail && _react2.default.createElement(_password_pane2.default, { + i18n: i18n, + lock: model, + placeholder: passwordInputPlaceholder, + policy: (0, _index.passwordStrengthPolicy)(model), + strengthMessages: passwordStrengthMessages + }); + + return _react2.default.createElement( + 'div', + null, + header, + _react2.default.createElement(_email_pane2.default, { + i18n: i18n, + lock: model, + placeholder: emailInputPlaceholder + }), + usernamePane, + passwordPane, + fields + ); + }; + + return SignUpPane; + }(_react2.default.Component); + + exports.default = SignUpPane; + +/***/ }, +/* 303 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(16); + + var _screen2 = _interopRequireDefault(_screen); + + var _index = __webpack_require__(11); + + var _sign_up_terms = __webpack_require__(286); + + var _sign_up_terms2 = _interopRequireDefault(_sign_up_terms); + + var _actions = __webpack_require__(38); + + var _login_sign_up_tabs = __webpack_require__(133); + + var _login_sign_up_tabs2 = _interopRequireDefault(_login_sign_up_tabs); + + var _signed_in_confirmation = __webpack_require__(30); + + var _signed_up_confirmation = __webpack_require__(287); + + var _sign_up_pane = __webpack_require__(302); + + var _sign_up_pane2 = _interopRequireDefault(_sign_up_pane); + + var _social_buttons_pane = __webpack_require__(139); + + var _social_buttons_pane2 = _interopRequireDefault(_social_buttons_pane); + + var _index2 = __webpack_require__(8); + + var _index3 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index3); + + var _pane_separator = __webpack_require__(136); + + var _pane_separator2 = _interopRequireDefault(_pane_separator); + + var _classic = __webpack_require__(82); + + var _single_sign_on_notice = __webpack_require__(134); + + var _single_sign_on_notice2 = _interopRequireDefault(_single_sign_on_notice); + + var _actions2 = __webpack_require__(80); + + var _i18n = __webpack_require__(13); + + var i18n = _interopRequireWildcard(_i18n); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Component = function Component(_ref) { + var i18n = _ref.i18n, + model = _ref.model; + + var sso = (0, _classic.isSSOEnabled)(model) && (0, _index.hasScreen)(model, "login"); + var ssoNotice = sso && _react2.default.createElement( + _single_sign_on_notice2.default, + null, + i18n.str("ssoEnabled") + ); + + var tabs = !sso && (0, _index.hasScreen)(model, "login") && _react2.default.createElement(_login_sign_up_tabs2.default, { + key: 'loginsignup', + lock: model, + loginLabel: i18n.str("loginLabel"), + signUpLabel: i18n.str("signUpLabel") + }); + + var social = l.hasSomeConnections(model, "social") && _react2.default.createElement(_social_buttons_pane2.default, { + bigButtons: (0, _classic.useBigSocialButtons)(model), + instructions: i18n.html("socialSignUpInstructions"), + labelFn: i18n.str, + lock: model, + signUp: true + }); + + var signUpInstructionsKey = social ? "databaseAlternativeSignUpInstructions" : "databaseSignUpInstructions"; + + var db = (l.hasSomeConnections(model, "database") || l.hasSomeConnections(model, "enterprise")) && _react2.default.createElement(_sign_up_pane2.default, { + emailInputPlaceholder: i18n.str("emailInputPlaceholder"), + i18n: i18n, + instructions: i18n.html(signUpInstructionsKey), + model: model, + onlyEmail: sso, + passwordInputPlaceholder: i18n.str("passwordInputPlaceholder"), + passwordStrengthMessages: i18n.group("passwordStrength"), + usernameInputPlaceholder: i18n.str("usernameInputPlaceholder") + }); + + var separator = social && db && _react2.default.createElement(_pane_separator2.default, null); + + return _react2.default.createElement( + 'div', + null, + ssoNotice, + tabs, + social, + separator, + db + ); + }; + + var SignUp = function (_Screen) { + _inherits(SignUp, _Screen); + + function SignUp() { + _classCallCheck(this, SignUp); + + return _possibleConstructorReturn(this, _Screen.call(this, "main.signUp")); + } + + SignUp.prototype.submitButtonLabel = function submitButtonLabel(m) { + return i18n.str(m, ["signUpSubmitLabel"]); + }; + + SignUp.prototype.submitHandler = function submitHandler(m) { + if ((0, _classic.hasOnlyClassicConnections)(m, "social")) return null; + if ((0, _classic.isSSOEnabled)(m)) return _actions2.logIn; + return _actions.signUp; + }; + + SignUp.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) { + return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock) || (0, _signed_up_confirmation.renderSignedUpConfirmation)(lock) || (0, _index2.renderOptionSelection)(lock); + }; + + SignUp.prototype.renderTabs = function renderTabs() { + return true; + }; + + SignUp.prototype.renderTerms = function renderTerms(m, terms) { + var checkHandler = (0, _index.mustAcceptTerms)(m) ? function () { + return (0, _actions.toggleTermsAcceptance)(l.id(m)); + } : undefined; + return terms || (0, _index.mustAcceptTerms)(m) ? _react2.default.createElement( + _sign_up_terms2.default, + { checkHandler: checkHandler, checked: (0, _index.termsAccepted)(m) }, + terms + ) : null; + }; + + SignUp.prototype.render = function render() { + return Component; + }; + + return SignUp; + }(_screen2.default); + + exports.default = SignUp; + +/***/ }, +/* 304 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _actions = __webpack_require__(138); + + var _index = __webpack_require__(8); + + var _text_input = __webpack_require__(144); + + var _text_input2 = _interopRequireDefault(_text_input); + + var _select_input = __webpack_require__(319); + + var _select_input2 = _interopRequireDefault(_select_input); + + var _index2 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index2); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var CustomInput = function CustomInput(_ref) { + var iconUrl = _ref.iconUrl, + model = _ref.model, + name = _ref.name, + options = _ref.options, + placeholder = _ref.placeholder, + type = _ref.type, + validator = _ref.validator; + + var props = { + iconUrl: iconUrl, + isValid: !(0, _index.isFieldVisiblyInvalid)(model, name), + name: name, + placeholder: placeholder + }; + + switch (type) { + case "select": + return _react2.default.createElement(_select_input2.default, _extends({}, props, { + label: (0, _index.getFieldLabel)(model, name), + onClick: function onClick() { + return (0, _actions.startOptionSelection)(l.id(model), name, iconUrl); + } + })); + default: + return _react2.default.createElement(_text_input2.default, _extends({ + invalidHint: (0, _index.getFieldInvalidHint)(model, name), + onChange: function onChange(e) { + return (0, _actions.changeField)(l.id(model), name, e.target.value, validator); + }, + value: (0, _index.getFieldValue)(model, name) + }, props)); + } + }; + + exports.default = CustomInput; + +/***/ }, +/* 305 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _mfa_code_input = __webpack_require__(317); + + var _mfa_code_input2 = _interopRequireDefault(_mfa_code_input); + + var _index = __webpack_require__(8); + + var c = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(12); + + var _index3 = __webpack_require__(2); + + var l = _interopRequireWildcard(_index3); + + var _mfa_code = __webpack_require__(306); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var MFACodePane = function (_React$Component) { + _inherits(MFACodePane, _React$Component); + + function MFACodePane() { + _classCallCheck(this, MFACodePane); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + MFACodePane.prototype.handleChange = function handleChange(e) { + var lock = this.props.lock; + + (0, _index2.swap)(_index2.updateEntity, "lock", l.id(lock), _mfa_code.setMFACode, e.target.value); + }; + + MFACodePane.prototype.render = function render() { + var _props = this.props, + i18n = _props.i18n, + lock = _props.lock, + placeholder = _props.placeholder; + + + return _react2.default.createElement(_mfa_code_input2.default, { + value: c.getFieldValue(lock, "mfa_code"), + invalidHint: i18n.str("mfaCodeErrorHint", (0, _mfa_code.getMFACodeValidation)().length), + isValid: !c.isFieldVisiblyInvalid(lock, "mfa_code"), + onChange: this.handleChange.bind(this), + placeholder: placeholder, + disabled: l.submitting(lock) + }); + }; + + return MFACodePane; + }(_react2.default.Component); + + exports.default = MFACodePane; + + + MFACodePane.propTypes = { + i18n: _react2.default.PropTypes.object.isRequired, + lock: _react2.default.PropTypes.object.isRequired, + onChange: _react2.default.PropTypes.func, + placeholder: _react2.default.PropTypes.string.isRequired + }; + +/***/ }, +/* 306 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.setMFACode = setMFACode; + exports.getMFACodeValidation = getMFACodeValidation; + + var _index = __webpack_require__(8); + + var _email = __webpack_require__(26); + + var _database = __webpack_require__(11); + + var _trim = __webpack_require__(25); + + var _trim2 = _interopRequireDefault(_trim); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var DEFAULT_VALIDATION = { mfa_code: { length: 6 } }; + var regExp = /^[0-9]+$/; + + function validateMFACode(str) { + var settings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_VALIDATION.mfa_code; + + var value = (0, _trim2.default)(str); + + // check min value matched + if (value.length < settings.length) { + return false; + } + + // check max value matched + if (value.length > settings.length) { + return false; + } + + // check allowed characters matched + var result = regExp.exec(value); + return result && result[0]; + } + + function setMFACode(m, str) { + return (0, _index.setField)(m, "mfa_code", str, validateMFACode); + } + + function getMFACodeValidation(m) { + return DEFAULT_VALIDATION.mfa_code; + } + +/***/ }, +/* 307 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _list = __webpack_require__(321); + + var _list2 = _interopRequireDefault(_list); + + var _actions = __webpack_require__(138); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + // TODO: these actions should be passed as props + + exports.default = function (_ref) { + var icon = _ref.icon, + iconUrl = _ref.iconUrl, + model = _ref.model, + name = _ref.name, + items = _ref.items; + return _react2.default.createElement(_list2.default, { + icon: icon, + iconUrl: iconUrl, + items: items, + onSelect: function onSelect(x) { + return (0, _actions.selectOption)(model.get("id"), name, x); + }, + onCancel: function onCancel() { + return (0, _actions.cancelOptionSelection)(model.get("id")); + } + }); + }; + +/***/ }, +/* 308 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.validatePassword = validatePassword; + exports.setPassword = setPassword; + + var _passwordSheriff = __webpack_require__(96); + + var _passwordSheriff2 = _interopRequireDefault(_passwordSheriff); + + var _index = __webpack_require__(8); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function validatePassword(password, policy) { + return (0, _passwordSheriff2.default)(policy).check(password); + } + + function setPassword(m, password, policy) { + return (0, _index.setField)(m, "password", password, validatePassword, policy); + } + +/***/ }, +/* 309 */ +/***/ function(module, exports) { + + "use strict"; + + exports.__esModule = true; + exports.default = { + error: { + forgotPassword: { + "too_many_requests": "You have reached the limit on password change attempts. Please wait before trying again.", + "lock.fallback": "We're sorry, something went wrong when requesting the password change." + }, + login: { + "blocked_user": "The user is blocked.", + "invalid_user_password": "Wrong credentials.", + "lock.fallback": "We're sorry, something went wrong when attempting to log in.", + "lock.invalid_code": "Wrong code.", + "lock.invalid_email_password": "Wrong email or password.", + "lock.invalid_username_password": "Wrong username or password.", + "lock.network": "We could not reach the server. Please check your connection and try again.", + "lock.popup_closed": "Popup window closed. Try again.", + "lock.unauthorized": "Permissions were not granted. Try again.", + "lock.mfa_registration_required": "Multifactor authentication is required but your device is not enrolled. Please enroll it before moving on.", + "lock.mfa_invalid_code": "Wrong code. Please try again.", + "password_change_required": "You need to update your password because this is the first time you are logging in, or because your password has expired.", // TODO: verify error code + "password_leaked": "This login has been blocked because your password has been leaked in another website. We’ve sent you an email with instructions on how to unblock it.", + "too_many_attempts": "Your account has been blocked after multiple consecutive login attempts.", + "session_missing": "Couldn't complete your authentication request. Please try again after closing all open dialogs" + }, + passwordless: { + "bad.email": "The email is invalid", + "bad.phone_number": "The phone number is invalid", + "lock.fallback": "We're sorry, something went wrong" + }, + signUp: { + "invalid_password": "Password is invalid.", + "lock.fallback": "We're sorry, something went wrong when attempting to sign up.", + "password_dictionary_error": "Password is too common.", + "password_no_user_info_error": "Password is based on user information.", + "password_strength_error": "Password is too weak.", + "user_exists": "The user already exists.", + "username_exists": "The username already exists." + } + }, + success: { // success messages show above the form or in a confirmation pane + logIn: "Thanks for logging in.", + forgotPassword: "We've just sent you an email to reset your password.", + magicLink: "We sent you a link to log in<br />to %s.", + signUp: "Thanks for signing up." + }, + blankErrorHint: "Can't be blank", + codeInputPlaceholder: "your code", + databaseEnterpriseLoginInstructions: "", + databaseEnterpriseAlternativeLoginInstructions: "or", + databaseSignUpInstructions: "", + databaseAlternativeSignUpInstructions: "or", + emailInputPlaceholder: "yours@example.com", + enterpriseLoginIntructions: "Login with your corporate credentials.", + enterpriseActiveLoginInstructions: "Please enter your corporate credentials at %s.", + failedLabel: "Failed!", + forgotPasswordAction: "Don't remember your password?", + forgotPasswordInstructions: "Please enter your email address. We will send you an email to reset your password.", + forgotPasswordSubmitLabel: "Send email", + invalidErrorHint: "Invalid", + lastLoginInstructions: "Last time you logged in with", + loginAtLabel: "Log in at %s", + loginLabel: "Log In", + loginSubmitLabel: "Log In", + loginWithLabel: "Log in with %s", + notYourAccountAction: "Not your account?", + passwordInputPlaceholder: "your password", + passwordStrength: { + containsAtLeast: "Contain at least %d of the following %d types of characters:", + identicalChars: "No more than %d identical characters in a row (e.g., \"%s\" not allowed)", + nonEmpty: "Non-empty password required", + numbers: "Numbers (i.e. 0-9)", + lengthAtLeast: "At least %d characters in length", + lowerCase: "Lower case letters (a-z)", + shouldContain: "Should contain:", + specialCharacters: "Special characters (e.g. !@#$%^&*)", + upperCase: "Upper case letters (A-Z)" + }, + passwordlessEmailAlternativeInstructions: "Otherwise, enter your email to sign in<br/>or create an account", + passwordlessEmailCodeInstructions: "An email with the code has been sent to %s.", + passwordlessEmailInstructions: "Enter your email to sign in<br/>or create an account", + passwordlessSMSAlternativeInstructions: "Otherwise, enter your phone to sign in<br/>or create an account", + passwordlessSMSCodeInstructions: "An SMS with the code has been sent<br/>to %s.", + passwordlessSMSInstructions: "Enter your phone to sign in<br/>or create an account", + phoneNumberInputPlaceholder: "your phone number", + resendCodeAction: "Did not get the code?", + resendLabel: "Resend", + resendingLabel: "Resending...", + retryLabel: "Retry", + sentLabel: "Sent!", + signUpLabel: "Sign Up", + signUpSubmitLabel: "Sign Up", + signUpTerms: "", + signUpWithLabel: "Sign up with %s", + socialLoginInstructions: "", + socialSignUpInstructions: "", + ssoEnabled: "Single Sign-On enabled", + submitLabel: "Submit", + unrecoverableError: "Something went wrong.<br />Please contact technical support.", + usernameFormatErrorHint: "Use %d-%d letters, numbers and \"_\"", + usernameInputPlaceholder: "your username", + usernameOrEmailInputPlaceholder: "username/email", + title: "Auth0", + welcome: "Welcome %s!", + windowsAuthInstructions: "You are connected from your corporate network…", + windowsAuthLabel: "Windows Authentication", + mfaInputPlaceholder: "Code", + mfaLoginTitle: "2-Step Verification", + mfaLoginInstructions: "Please enter the verification code generated by your mobile application.", + mfaSubmitLabel: "Log In", + mfaCodeErrorHint: "Use %d numbers" + }; + +/***/ }, +/* 310 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + exports.__esModule = true; + exports.remove = exports.render = undefined; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _reactDom = __webpack_require__(41); + + var _reactDom2 = _interopRequireDefault(_reactDom); + + var _CSSCore = __webpack_require__(95); + + var _CSSCore2 = _interopRequireDefault(_CSSCore); + + var _container = __webpack_require__(142); + + var _container2 = _interopRequireDefault(_container); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + var ContainerManager = function () { + function ContainerManager() { + _classCallCheck(this, ContainerManager); + } + + ContainerManager.prototype.ensure = function ensure(id, shouldAppend) { + var container = global.document.getElementById(id); + + if (!container && shouldAppend) { + container = global.document.createElement('div'); + container.id = id; + container.className = "auth0-lock-container"; + global.document.body.appendChild(container); + } + + if (!container) { + throw new Error('Can\'t find element with id ' + id); + } + + return container; + }; + + return ContainerManager; + }(); + + var Renderer = function () { + function Renderer() { + _classCallCheck(this, Renderer); + + this.containerManager = new ContainerManager(); + this.modals = {}; + } + + Renderer.prototype.render = function render(containerId, props) { + var isModal = props.isModal; + + var container = this.containerManager.ensure(containerId, isModal); + + if (isModal && !this.modals[containerId]) { + _CSSCore2.default.addClass(global.document.getElementsByTagName("html")[0], "auth0-lock-html"); + } + + var component = _reactDom2.default.render(_react2.default.createElement(_container2.default, props), container); + + if (isModal) { + this.modals[containerId] = component; + } + + return component; + }; + + Renderer.prototype.remove = function remove(containerId) { + var _this = this; + + if (this.modals[containerId]) { + this.modals[containerId].hide(); + setTimeout(function () { + return _this.unmount(containerId); + }, 1000); + } else { + this.unmount(containerId); + } + }; + + Renderer.prototype.unmount = function unmount(containerId) { + try { + var container = this.containerManager.ensure(containerId); + if (container) { + _reactDom2.default.unmountComponentAtNode(container); + } + } catch (e) { + // do nothing if container doesn't exist + } + + if (this.modals[containerId]) { + delete this.modals[containerId]; + + _CSSCore2.default.removeClass(global.document.getElementsByTagName("html")[0], "auth0-lock-html"); + } + }; + + return Renderer; + }(); + + var renderer = new Renderer(); + + var render = exports.render = function render() { + return renderer.render.apply(renderer, arguments); + }; + var remove = exports.remove = function remove() { + return renderer.remove.apply(renderer, arguments); + }; + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 311 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _reactDom = __webpack_require__(41); + + var _reactDom2 = _interopRequireDefault(_reactDom); + + var _reactAddonsCssTransitionGroup = __webpack_require__(186); + + var _reactAddonsCssTransitionGroup2 = _interopRequireDefault(_reactAddonsCssTransitionGroup); + + var _multisize_slide = __webpack_require__(315); + + var _multisize_slide2 = _interopRequireDefault(_multisize_slide); + + var _global_message = __webpack_require__(313); + + var _global_message2 = _interopRequireDefault(_global_message); + + var _header = __webpack_require__(314); + + var _header2 = _interopRequireDefault(_header); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var submitSvg = '<svg width="43px" height="42px" viewBox="0 0 43 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"><g id="Lock" sketch:type="MSArtboardGroup" transform="translate(-280.000000, -3592.000000)"><g id="SMS" sketch:type="MSLayerGroup" transform="translate(153.000000, 3207.000000)"><g id="Group" sketch:type="MSShapeGroup"><g id="Login" transform="translate(0.000000, 369.000000)"><g id="Btn"><g id="Oval-302-+-Shape" transform="translate(128.000000, 17.000000)"><circle id="Oval-302" stroke="#FFFFFF" stroke-width="2" cx="20.5" cy="20" r="20"></circle><path d="M17.8,15.4 L19.2,14 L25.2,20 L19.2,26 L17.8,24.6 L22.4,20 L17.8,15.4 Z" id="Shape" fill="#FFFFFF"></path></g></g></g></g></g></g></g></svg>'; + var submitText = '<svg class="icon-text" width="8px" height="12px" viewBox="0 0 8 12" version="1.1" xmlns="http://www.w3.org/2000/svg"><g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Web/Submit/Active" transform="translate(-148.000000, -32.000000)" fill="#FFFFFF"><polygon id="Shape" points="148 33.4 149.4 32 155.4 38 149.4 44 148 42.6 152.6 38"></polygon></g></g></svg>'; + + var SubmitButton = function (_React$Component) { + _inherits(SubmitButton, _React$Component); + + function SubmitButton() { + _classCallCheck(this, SubmitButton); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + SubmitButton.prototype.focus = function focus() { + _reactDom2.default.findDOMNode(this).focus(); + }; + + SubmitButton.prototype.render = function render() { + var _props = this.props, + color = _props.color, + disabled = _props.disabled, + label = _props.label; + + var content = label ? _react2.default.createElement( + 'span', + { className: 'auth0-label-submit' }, + label, + _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: submitText } }) + ) : _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: submitSvg } }); + + return _react2.default.createElement( + 'button', + { + className: 'auth0-lock-submit', + disabled: disabled, + style: { backgroundColor: color }, + type: 'submit' + }, + _react2.default.createElement( + 'div', + { className: 'auth0-loading-container' }, + _react2.default.createElement('div', { className: 'auth0-loading' }) + ), + content + ); + }; + + return SubmitButton; + }(_react2.default.Component); + + SubmitButton.propTypes = { + color: _react2.default.PropTypes.string.isRequired, + disabled: _react2.default.PropTypes.bool, + label: _react2.default.PropTypes.string + }; + + var MESSAGE_ANIMATION_DURATION = 250; + var AUXILIARY_ANIMATION_DURATION = 350; + + var Chrome = function (_React$Component2) { + _inherits(Chrome, _React$Component2); + + function Chrome(props) { + _classCallCheck(this, Chrome); + + var _this2 = _possibleConstructorReturn(this, _React$Component2.call(this, props)); + + _this2.state = { moving: false, reverse: false }; + return _this2; + } + + Chrome.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { + var _this3 = this; + + var _props2 = this.props, + auxiliaryPane = _props2.auxiliaryPane, + showSubmitButton = _props2.showSubmitButton; + var delayingShowSubmitButton = this.state.delayingShowSubmitButton; + + + if (!showSubmitButton && nextProps.showSubmitButton && !delayingShowSubmitButton) { + this.setState({ delayingShowSubmitButton: true }); + } + + if (!auxiliaryPane && nextProps.auxiliaryPane) { + this.auxiliaryPaneTriggerInput = global.document.activeElement; + this.setState({ moving: true }); + } + + if (auxiliaryPane && !nextProps.auxiliaryPane) { + // TODO clear timeout + setTimeout(function () { + return _this3.setState({ moving: false }); + }, AUXILIARY_ANIMATION_DURATION + 50); + } + }; + + Chrome.prototype.componentDidUpdate = function componentDidUpdate(prevProps) { + var _this4 = this; + + var _props3 = this.props, + autofocus = _props3.autofocus, + auxiliaryPane = _props3.auxiliaryPane, + error = _props3.error, + screenName = _props3.screenName; + + + if (!autofocus) return; + + if (auxiliaryPane && !prevProps.auxiliaryPane) { + var _ret = function () { + var input = _this4.findAutofocusInput(_this4.refs.auxiliary); + + if (input) { + // TODO clear timeout + setTimeout(function () { + return input.focus(); + }, AUXILIARY_ANIMATION_DURATION); + } + + return { + v: void 0 + }; + }(); + + if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; + } + + if (!auxiliaryPane && prevProps.auxiliaryPane) { + if (this.auxiliaryPaneTriggerInput) { + // TODO clear timeout + setTimeout(function () { + return _this4.auxiliaryPaneTriggerInput.focus(); + }, AUXILIARY_ANIMATION_DURATION); + } + + return; + } + + if (screenName !== prevProps.screenName) { + var _ret2 = function () { + var input = _this4.findAutofocusInput(); + + if (input) { + if (_this4.mainScreenName(prevProps.screenName) !== _this4.mainScreenName()) { + _this4.inputToFocus = input; + } else { + // TODO clear timeout + setTimeout(function () { + return input.focus(); + }, 17); + } + } + + return { + v: void 0 + }; + }(); + + if ((typeof _ret2 === 'undefined' ? 'undefined' : _typeof(_ret2)) === "object") return _ret2.v; + } + + if (!prevProps.error && error) { + var _ret3 = function () { + var input = _this4.findAutofocusInput(); + + if (input) { + // TODO clear timeout + setTimeout(function () { + return input.focus(); + }, 17); + } + + return { + v: void 0 + }; + }(); + + if ((typeof _ret3 === 'undefined' ? 'undefined' : _typeof(_ret3)) === "object") return _ret3.v; + } + }; + + Chrome.prototype.onWillSlide = function onWillSlide() { + this.setState({ moving: true }); + this.sliding = true; + }; + + Chrome.prototype.onDidSlide = function onDidSlide() { + this.sliding = false; + this.setState({ reverse: false }); + }; + + Chrome.prototype.onDidAppear = function onDidAppear() { + this.setState({ moving: false }); + if (this.state.delayingShowSubmitButton) { + this.setState({ delayingShowSubmitButton: false }); + } + + if (this.inputToFocus) { + this.inputToFocus.focus(); + delete this.inputToFocus; + } + }; + + Chrome.prototype.mainScreenName = function mainScreenName(str) { + return (str || this.props.screenName || "").split(".")[0]; + }; + + Chrome.prototype.findAutofocusInput = function findAutofocusInput(ref) { + return _reactDom2.default.findDOMNode(ref || this.refs.screen).querySelector("input"); + }; + + Chrome.prototype.focusError = function focusError() { + var node = _reactDom2.default.findDOMNode(this.refs.screen); + // TODO: make the error input selector configurable via props. + var error = node.querySelector(".auth0-lock-error input"); + + if (error) { + error.focus(); + } + }; + + Chrome.prototype.render = function render() { + var _props4 = this.props, + avatar = _props4.avatar, + auxiliaryPane = _props4.auxiliaryPane, + backHandler = _props4.backHandler, + contentComponent = _props4.contentComponent, + contentProps = _props4.contentProps, + disableSubmitButton = _props4.disableSubmitButton, + error = _props4.error, + isSubmitting = _props4.isSubmitting, + logo = _props4.logo, + primaryColor = _props4.primaryColor, + screenName = _props4.screenName, + showSubmitButton = _props4.showSubmitButton, + submitButtonLabel = _props4.submitButtonLabel, + success = _props4.success, + terms = _props4.terms, + title = _props4.title, + transitionName = _props4.transitionName; + var _state = this.state, + delayingShowSubmitButton = _state.delayingShowSubmitButton, + moving = _state.moving, + reverse = _state.reverse; + + + var backgroundUrl = void 0, + name = void 0; + if (avatar) { + backgroundUrl = avatar; + name = title; + } else { + backgroundUrl = logo; + name = ""; + } + + var submitButton = showSubmitButton && !delayingShowSubmitButton && _react2.default.createElement(SubmitButton, { + color: primaryColor, + disabled: disableSubmitButton, + key: 'submit', + label: submitButtonLabel, + ref: 'submit' + }); + + var globalError = error ? _react2.default.createElement(_global_message2.default, { key: 'global-error', message: error, type: 'error' }) : null; + var globalSuccess = success ? _react2.default.createElement(_global_message2.default, { key: 'global-success', message: success, type: 'success' }) : null; + + var Content = contentComponent; + + var className = "auth0-lock-cred-pane"; + var isQuiet = !moving && !delayingShowSubmitButton; + className += isQuiet ? " auth0-lock-quiet" : " auth0-lock-moving"; + + return _react2.default.createElement( + 'div', + { className: className }, + _react2.default.createElement(_header2.default, { title: title, name: name, backHandler: backHandler && this.handleBack.bind(this), backgroundUrl: backgroundUrl, backgroundColor: primaryColor, logoUrl: logo }), + _react2.default.createElement( + _reactAddonsCssTransitionGroup2.default, + { + transitionName: 'global-message', + transitionEnterTimeout: MESSAGE_ANIMATION_DURATION, + transitionLeaveTimeout: MESSAGE_ANIMATION_DURATION + }, + globalSuccess, + globalError + ), + _react2.default.createElement( + 'div', + { style: { position: "relative" } }, + _react2.default.createElement( + _multisize_slide2.default, + { + delay: 550, + onDidAppear: this.onDidAppear.bind(this), + onDidSlide: this.onDidSlide.bind(this), + onWillSlide: this.onWillSlide.bind(this), + transitionName: transitionName, + reverse: reverse + }, + _react2.default.createElement( + 'div', + { key: this.mainScreenName(), className: 'auth0-lock-view-content' }, + _react2.default.createElement( + 'div', + { style: { position: "relative" } }, + _react2.default.createElement( + 'div', + { className: 'auth0-lock-body-content' }, + _react2.default.createElement( + 'div', + { className: 'auth0-lock-content' }, + _react2.default.createElement( + 'div', + { className: 'auth0-lock-form', ref: 'screen' }, + _react2.default.createElement(Content, _extends({ focusSubmit: this.focusSubmit.bind(this) }, contentProps)) + ) + ), + terms && _react2.default.createElement( + 'small', + { className: 'auth0-lock-terms' }, + terms + ) + ) + ) + ) + ) + ), + submitButton, + _react2.default.createElement( + _reactAddonsCssTransitionGroup2.default, + { + ref: 'auxiliary', + transitionName: 'slide', + transitionEnterTimeout: AUXILIARY_ANIMATION_DURATION, + transitionLeaveTimeout: AUXILIARY_ANIMATION_DURATION + }, + auxiliaryPane + ) + ); + }; + + Chrome.prototype.focusSubmit = function focusSubmit() { + this.refs.submit.focus(); + }; + + Chrome.prototype.handleBack = function handleBack() { + if (this.sliding) return; + + var backHandler = this.props.backHandler; + + this.setState({ reverse: true }); + backHandler(); + }; + + return Chrome; + }(_react2.default.Component); + + exports.default = Chrome; + + + Chrome.propTypes = { + autofocus: _react2.default.PropTypes.bool.isRequired, + avatar: _react2.default.PropTypes.string, + auxiliaryPane: _react2.default.PropTypes.element, + backHandler: _react2.default.PropTypes.func, + contentComponent: _react2.default.PropTypes.func.isRequired, // TODO: it also can be a class component + contentProps: _react2.default.PropTypes.object.isRequired, + disableSubmitButton: _react2.default.PropTypes.bool.isRequired, + error: _react2.default.PropTypes.string, + isSubmitting: _react2.default.PropTypes.bool.isRequired, + logo: _react2.default.PropTypes.string.isRequired, + primaryColor: _react2.default.PropTypes.string.isRequired, + showSubmitButton: _react2.default.PropTypes.bool.isRequired, + submitButtonLabel: _react2.default.PropTypes.string, + success: _react2.default.PropTypes.string, + terms: _react2.default.PropTypes.element, + title: _react2.default.PropTypes.string.isRequired, + transitionName: _react2.default.PropTypes.string.isRequired + }; + + Chrome.defaultProps = { + autofocus: false, + disableSubmitButton: false, + showSubmitButton: true + }; + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 312 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _button = __webpack_require__(55); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var ConfirmationPane = function ConfirmationPane(_ref) { + var backHandler = _ref.backHandler, + children = _ref.children, + closeHandler = _ref.closeHandler, + svg = _ref.svg; + return _react2.default.createElement( + 'div', + { className: 'auth0-lock-confirmation' }, + closeHandler && _react2.default.createElement(_button.CloseButton, { onClick: closeHandler }), + backHandler && _react2.default.createElement(_button.BackButton, { onClick: backHandler }), + _react2.default.createElement( + 'div', + { className: 'auth0-lock-confirmation-content' }, + _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: svg } }), + children + ) + ); + }; + + ConfirmationPane.propTypes = { + backHandler: _react2.default.PropTypes.func, + closeHandler: _react2.default.PropTypes.func, + children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.element.isRequired, _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.element).isRequired]), + svg: _react2.default.PropTypes.string.isRequired + }; + + exports.default = ConfirmationPane; + +/***/ }, +/* 313 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _reactDom = __webpack_require__(41); + + var _reactDom2 = _interopRequireDefault(_reactDom); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var GlobalMessage = function (_React$Component) { + _inherits(GlobalMessage, _React$Component); + + function GlobalMessage() { + _classCallCheck(this, GlobalMessage); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + GlobalMessage.prototype.render = function render() { + var _props = this.props, + message = _props.message, + type = _props.type; + + var className = 'auth0-global-message auth0-global-message-' + type; + + return _react2.default.createElement( + 'div', + { className: className }, + _react2.default.createElement( + 'span', + { className: 'animated fadeInUp' }, + message + ) + ); + }; + + return GlobalMessage; + }(_react2.default.Component); + + exports.default = GlobalMessage; + + + GlobalMessage.propTypes = { + message: _react2.default.PropTypes.string.isRequired, + type: _react2.default.PropTypes.oneOf(['error', 'success']).isRequired + }; + +/***/ }, +/* 314 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _button = __webpack_require__(55); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + // TODO: simplify this mess :) + + var Header = function (_React$Component) { + _inherits(Header, _React$Component); + + function Header() { + _classCallCheck(this, Header); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + Header.prototype.render = function render() { + var _props = this.props, + backHandler = _props.backHandler, + backgroundColor = _props.backgroundColor, + backgroundUrl = _props.backgroundUrl, + logoUrl = _props.logoUrl, + name = _props.name, + title = _props.title; + + + return _react2.default.createElement( + 'div', + { className: 'auth0-lock-header' }, + backHandler && _react2.default.createElement(_button.BackButton, { onClick: backHandler }), + _react2.default.createElement(Background, { imageUrl: backgroundUrl, backgroundColor: backgroundColor, grayScale: !!name }), + _react2.default.createElement(Welcome, { title: title, name: name, imageUrl: name ? undefined : logoUrl }) + ); + }; + + return Header; + }(_react2.default.Component); + + exports.default = Header; + + + Header.propTypes = { + backgroundUrl: _react2.default.PropTypes.string, + logoUrl: _react2.default.PropTypes.string, + name: _react2.default.PropTypes.string + }; + + var Welcome = function (_React$Component2) { + _inherits(Welcome, _React$Component2); + + function Welcome() { + _classCallCheck(this, Welcome); + + return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments)); + } + + Welcome.prototype.render = function render() { + var _props2 = this.props, + name = _props2.name, + imageUrl = _props2.imageUrl, + title = _props2.title; + + var img = _react2.default.createElement('img', { className: 'auth0-lock-header-logo', src: imageUrl }); + + return _react2.default.createElement( + 'div', + { className: 'auth0-lock-header-welcome' }, + imageUrl && img, + _react2.default.createElement(WelcomeMessage, { title: title, name: name }) + ); + }; + + return Welcome; + }(_react2.default.Component); + + Welcome.propTypes = { + imageUrl: _react2.default.PropTypes.string, + name: _react2.default.PropTypes.string + }; + + var WelcomeMessage = function (_React$Component3) { + _inherits(WelcomeMessage, _React$Component3); + + function WelcomeMessage() { + _classCallCheck(this, WelcomeMessage); + + return _possibleConstructorReturn(this, _React$Component3.apply(this, arguments)); + } + + WelcomeMessage.prototype.render = function render() { + var _props3 = this.props, + name = _props3.name, + title = _props3.title; + + var className = void 0, + message = void 0; + + if (name) { + className = "auth0-lock-firstname"; + message = name; + } else { + className = "auth0-lock-name"; + message = title; + } + + return _react2.default.createElement( + 'div', + { className: className }, + message + ); + }; + + return WelcomeMessage; + }(_react2.default.Component); + + WelcomeMessage.propTypes = { + name: _react2.default.PropTypes.string + }; + + var cssBlurSupport = function () { + // Check stolen from Modernizr, see https://github.com/Modernizr/Modernizr/blob/29eab707f7a2fb261c8a9c538370e97eb1f86e25/feature-detects/css/filters.js + var isEdge = global.navigator && !!global.navigator.userAgent.match(/Edge/i); + if (typeof global.document === 'undefined' || isEdge) return false; + + var el = global.document.createElement('div'); + el.style.cssText = "filter: blur(2px); -webkit-filter: blur(2px)"; + return !!el.style.length && (global.document.documentMode === undefined || global.document.documentMode > 9); + }(); + + var Background = function (_React$Component4) { + _inherits(Background, _React$Component4); + + function Background() { + _classCallCheck(this, Background); + + return _possibleConstructorReturn(this, _React$Component4.apply(this, arguments)); + } + + Background.prototype.render = function render() { + var _props4 = this.props, + backgroundColor = _props4.backgroundColor, + imageUrl = _props4.imageUrl, + grayScale = _props4.grayScale; + + + var props = { + className: "auth0-lock-header-bg" + }; + + if (cssBlurSupport) { + props.className += " auth0-lock-blur-support"; + } + + var blurProps = { + className: 'auth0-lock-header-bg-blur', + style: { backgroundImage: 'url(\'' + imageUrl + '\')' } + }; + + if (grayScale) { + blurProps.className += ' auth0-lock-no-grayscale'; + } + + var solidProps = { + className: "auth0-lock-header-bg-solid", + style: { backgroundColor: backgroundColor } + }; + + return _react2.default.createElement( + 'div', + props, + _react2.default.createElement('div', blurProps), + _react2.default.createElement('div', solidProps) + ); + }; + + return Background; + }(_react2.default.Component); + + Background.propTypes = { + backgorundColor: _react2.default.PropTypes.string, + grayScale: _react2.default.PropTypes.bool, + imageUrl: _react2.default.PropTypes.string + }; + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 315 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _reactDom = __webpack_require__(41); + + var _reactDom2 = _interopRequireDefault(_reactDom); + + var _CSSCore = __webpack_require__(95); + + var _CSSCore2 = _interopRequireDefault(_CSSCore); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Slider = function (_React$Component) { + _inherits(Slider, _React$Component); + + function Slider(props) { + _classCallCheck(this, Slider); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props)); + + _this.state = { children: { current: props.children } }; + return _this; + } + + Slider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { + // TODO: take a prop to identify what are we rendering instead of + // infering it from children keys so we can accept more than one + // child (we are already wrapping them). + if (this.state.children.current.key != nextProps.children.key) { + this.setState({ + children: { + current: nextProps.children, + prev: this.state.children.current + }, + transitionName: this.props.transitionName + }); + this.animate = true; + } else if (!this.timeout) { + this.setState({ children: { current: nextProps.children }, transitionName: nextProps.transitionName }); + } + }; + + Slider.prototype.componentDidUpdate = function componentDidUpdate() { + var _this2 = this; + + if (this.animate) { + (function () { + _this2.animate = false; + + var transitionName = _this2.state.transitionName; + var _state$children = _this2.state.children, + current = _state$children.current, + prev = _state$children.prev; + var reverse = _this2.props.reverse; + + var currentComponent = _this2.refs[current.key]; + var prevComponent = _this2.refs[prev.key]; + + var transition = function transition(component, className, delay) { + var node = _reactDom2.default.findDOMNode(component); + var activeClassName = className + '-active'; + + _CSSCore2.default.addClass(node, className); + + setTimeout(function () { + return _CSSCore2.default.addClass(node, activeClassName); + }, 17); + + if (delay) { + setTimeout(function () { + _CSSCore2.default.removeClass(node, className); + _CSSCore2.default.removeClass(node, activeClassName); + }, delay); + } + }; + + var callback = function callback(slide) { + currentComponent.componentWillSlideIn(slide); + var classNamePrefix = reverse ? "reverse-" : ""; + transition(currentComponent, '' + classNamePrefix + transitionName + '-enter', _this2.props.delay); + transition(prevComponent, '' + classNamePrefix + transitionName + '-leave'); + + _this2.timeout = setTimeout(function () { + var _context; + + _this2.setState({ children: { current: _this2.state.children.current }, transitionName: _this2.props.transitionName }); + currentComponent.componentDidSlideIn((_context = _this2.props).onDidAppear.bind(_context)); + _this2.props.onDidSlide(); + _this2.timeout = null; + }, _this2.props.delay); + }; + + _this2.props.onWillSlide(); + prevComponent.componentWillSlideOut(callback); + })(); + } + }; + + Slider.prototype.componentWillUnmount = function componentWillUnmount() { + if (this.timeout) clearTimeout(this.timeout); + }; + + Slider.prototype.render = function render() { + var _state$children2 = this.state.children, + current = _state$children2.current, + prev = _state$children2.prev; + + var children = prev ? [current, prev] : [current]; + var childrenToRender = children.map(function (child) { + return _react2.default.cloneElement(_react2.default.createElement(Child, {}, child), { ref: child.key, key: child.key }); + }); + + return _react2.default.createElement(this.props.component, {}, childrenToRender); + }; + + return Slider; + }(_react2.default.Component); + + exports.default = Slider; + + + Slider.propTypes = { + component: _react2.default.PropTypes.string, + delay: _react2.default.PropTypes.number.isRequired, + onDidAppear: _react2.default.PropTypes.func.isRequired, + onDidSlide: _react2.default.PropTypes.func.isRequired, + onWillSlide: _react2.default.PropTypes.func.isRequired, + reverse: _react2.default.PropTypes.bool.isRequired, + transitionName: _react2.default.PropTypes.string.isRequired + }; + + Slider.defaultProps = { + component: "span", + onDidAppear: function onDidAppear() {}, + onDidSlide: function onDidSlide() {}, + onWillSlide: function onWillSlide() {}, + reverse: false + }; + + var Child = function (_React$Component2) { + _inherits(Child, _React$Component2); + + function Child(props) { + _classCallCheck(this, Child); + + var _this3 = _possibleConstructorReturn(this, _React$Component2.call(this, props)); + + _this3.state = { height: "", originalHeight: "", show: true }; + return _this3; + } + + Child.prototype.componentWillSlideIn = function componentWillSlideIn(slide) { + var node = _reactDom2.default.findDOMNode(this); + + this.setState({ + height: slide.height, + originalHeight: parseInt(window.getComputedStyle(node, null).height, 10), + show: false + }); + }; + + Child.prototype.componentDidSlideIn = function componentDidSlideIn(cb) { + var _this4 = this; + + var _state = this.state, + height = _state.height, + originalHeight = _state.originalHeight; + + + if (height === originalHeight) { + this.setState({ show: true, height: "" }); + cb(); + } else { + (function () { + _this4.cb = cb; + var frames = 10; + var count = 0; + var current = height; + var last = originalHeight; + var step = Math.abs(current - last) / frames; + var dir = current < last ? 1 : -1; + var dh = step * dir; + + // TODO: rAF + _this4.t = setInterval(function () { + if (count < frames - 1) { + _this4.setState({ height: current, animating: true }); + current += dh; + count++; + } else { + clearInterval(_this4.t); + delete _this4.t; + _this4.setState({ height: "", show: true }); + _this4.cb(); + } + }, 17); + })(); + } + }; + + Child.prototype.componentWillSlideOut = function componentWillSlideOut(cb) { + var node = _reactDom2.default.findDOMNode(this); + var size = window.getComputedStyle(node, null).height; + cb({ height: parseInt(size, 10), reverse: this.reverse }); + }; + + Child.prototype.componentWillUnmount = function componentWillUnmount() { + if (this.t) { + clearInterval(this.t); + cb(); + } + }; + + Child.prototype.render = function render() { + var children = this.props.children; + var _state2 = this.state, + height = _state2.height, + show = _state2.show; + + + return _react2.default.createElement( + 'div', + { style: height ? { height: height + "px" } : {} }, + _react2.default.createElement( + 'div', + { style: { visibility: show ? "inherit" : "hidden" } }, + children + ) + ); + }; + + return Child; + }(_react2.default.Component); + +/***/ }, +/* 316 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _input_wrap = __webpack_require__(40); + + var _input_wrap2 = _interopRequireDefault(_input_wrap); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var svg = '<svg width="14px" height="13px" viewBox="0 0 32 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" class="auth0-lock-icon"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"><g id="32px" sketch:type="MSLayerGroup" transform="translate(-2155.000000, -2317.000000)" fill="#373A39"><g id="Group-856" transform="translate(1.000000, 1.000000)" sketch:type="MSShapeGroup"><path id="Fill-419" d="M2184,2339 C2184,2339.55 2183.55,2340 2183,2340 L2157,2340 C2156.45,2340 2156,2339.55 2156,2339 L2156,2319 C2156,2318.45 2156.45,2318 2157,2318 L2183,2318 C2183.55,2318 2184,2318.45 2184,2319 L2184,2339 L2184,2339 Z M2184,2316 L2156,2316 C2154.89,2316 2154,2316.89 2154,2318 L2154,2340 C2154,2341.1 2154.89,2342 2156,2342 L2184,2342 C2185.1,2342 2186,2341.1 2186,2340 L2186,2318 C2186,2316.89 2185.1,2316 2184,2316 L2184,2316 Z M2176,2322 L2180,2322 L2180,2326 L2176,2326 L2176,2322 Z M2174,2328 L2182,2328 L2182,2320 L2174,2320 L2174,2328 Z M2158,2332 L2172,2332 L2172,2330 L2158,2330 L2158,2332 Z M2158,2336 L2172,2336 L2172,2334 L2158,2334 L2158,2336 Z"></path></g></g></g></svg>'; + + var EmailInput = function (_React$Component) { + _inherits(EmailInput, _React$Component); + + function EmailInput(props) { + _classCallCheck(this, EmailInput); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props)); + + _this.state = {}; + return _this; + } + + EmailInput.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) { + var _props = this.props, + invalidHint = _props.invalidHint, + isValid = _props.isValid, + value = _props.value, + onChange = _props.onChange; + var focused = this.state.focused; + + + return invalidHint != nextProps.invalidHint || isValid != nextProps.isValid || value != nextProps.value || focused != nextState.focused; + }; + + EmailInput.prototype.render = function render() { + var _props2 = this.props, + invalidHint = _props2.invalidHint, + isValid = _props2.isValid, + onChange = _props2.onChange, + props = _objectWithoutProperties(_props2, ['invalidHint', 'isValid', 'onChange']); + + var focused = this.state.focused; + + + return _react2.default.createElement( + _input_wrap2.default, + { + focused: focused, + invalidHint: invalidHint, + isValid: isValid, + name: 'email', + icon: svg + }, + _react2.default.createElement('input', _extends({ ref: 'input', + type: 'email', + name: 'email', + className: 'auth0-lock-input', + placeholder: 'yours@example.com', + autoComplete: 'off', + autoCapitalize: 'off', + onChange: this.handleOnChange.bind(this), + onFocus: this.handleFocus.bind(this), + onBlur: this.handleBlur.bind(this) + }, props)) + ); + }; + + EmailInput.prototype.handleOnChange = function handleOnChange(e) { + if (this.props.onChange) { + this.props.onChange(e); + } + }; + + EmailInput.prototype.handleFocus = function handleFocus() { + this.setState({ focused: true }); + }; + + EmailInput.prototype.handleBlur = function handleBlur() { + this.setState({ focused: false }); + }; + + return EmailInput; + }(_react2.default.Component); + + // TODO: specify propTypes + + + exports.default = EmailInput; + +/***/ }, +/* 317 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _input_wrap = __webpack_require__(40); + + var _input_wrap2 = _interopRequireDefault(_input_wrap); + + var _password_input = __webpack_require__(88); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var MFACodeInput = function (_React$Component) { + _inherits(MFACodeInput, _React$Component); + + function MFACodeInput(props) { + _classCallCheck(this, MFACodeInput); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props)); + + _this.state = {}; + return _this; + } + + MFACodeInput.prototype.focus = function focus() { + this.refs.input && this.refs.input.focus(); + }; + + MFACodeInput.prototype.hasFocus = function hasFocus() { + return this.state.focused; + }; + + MFACodeInput.prototype.render = function render() { + var _props = this.props, + invalidHint = _props.invalidHint, + isValid = _props.isValid, + onChange = _props.onChange, + value = _props.value, + props = _objectWithoutProperties(_props, ['invalidHint', 'isValid', 'onChange', 'value']); + + var focused = this.state.focused; + + + return _react2.default.createElement( + _input_wrap2.default, + { + focused: focused, + invalidHint: invalidHint, + isValid: isValid, + name: 'mfa_code', + icon: _password_input.icon + }, + _react2.default.createElement('input', _extends({ + ref: 'input', + type: 'text', + name: 'mfa_code', + className: 'auth0-lock-input', + autoComplete: 'off', + autoCapitalize: 'off', + onChange: this.handleOnChange.bind(this), + onFocus: this.handleFocus.bind(this), + onBlur: this.handleBlur.bind(this), + value: value + }, props)) + ); + }; + + MFACodeInput.prototype.handleOnChange = function handleOnChange(e) { + if (this.props.onChange) { + this.props.onChange(e); + } + }; + + MFACodeInput.prototype.handleFocus = function handleFocus() { + this.setState({ focused: true }); + }; + + MFACodeInput.prototype.handleBlur = function handleBlur() { + this.setState({ focused: false }); + }; + + return MFACodeInput; + }(_react2.default.Component); + + MFACodeInput.propTypes = { + invalidHint: _react2.default.PropTypes.string.isRequired, + isValid: _react2.default.PropTypes.bool.isRequired, + onChange: _react2.default.PropTypes.func, + placeholder: _react2.default.PropTypes.string, + value: _react2.default.PropTypes.string.isRequired + }; + exports.default = MFACodeInput; + +/***/ }, +/* 318 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _passwordSheriff = __webpack_require__(96); + + var _passwordSheriff2 = _interopRequireDefault(_passwordSheriff); + + var _util = __webpack_require__(79); + + var _util2 = _interopRequireDefault(_util); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var PasswordStrength = function (_React$Component) { + _inherits(PasswordStrength, _React$Component); + + function PasswordStrength() { + _classCallCheck(this, PasswordStrength); + + return _possibleConstructorReturn(this, _React$Component.apply(this, arguments)); + } + + PasswordStrength.prototype.render = function render() { + var _props = this.props, + password = _props.password, + policy = _props.policy, + messages = _props.messages; + + var analysis = (0, _passwordSheriff2.default)(policy).missing(password); + // TODO: add a component for fadeIn / fadeOut animations? + var className = "auth0-lock-password-strength animated " + (!analysis.verified ? "fadeIn" : "fadeOut"); + + var prepareMessage = function prepareMessage(items) { + items && items.forEach(function (o) { + if (messages[o.code]) { + o.message = messages[o.code]; + } + + o.message = _util2.default.format.apply(_util2.default, [o.message].concat(o.format || [])); + + if (o.items) { + prepareMessage(o.items); + } + }); + }; + + prepareMessage(analysis.rules); + + return _react2.default.createElement( + 'div', + { className: className }, + _react2.default.createElement(List, { items: analysis.rules }) + ); + }; + + return PasswordStrength; + }(_react2.default.Component); + + exports.default = PasswordStrength; + + + PasswordStrength.propTypes = { + messages: _react2.default.PropTypes.object.isRequired, + password: _react2.default.PropTypes.string.isRequired, + policy: _react2.default.PropTypes.oneOf(["none", "low", "fair", "good", "excellent"]).isRequired + }; + + PasswordStrength.defaultProps = { + messages: {} + }; + + var List = function (_React$Component2) { + _inherits(List, _React$Component2); + + function List() { + _classCallCheck(this, List); + + return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments)); + } + + List.prototype.render = function render() { + var items = this.props.items; + + + return items && items.length ? _react2.default.createElement( + 'ul', + null, + items.map(function (x, i) { + return _react2.default.createElement(Item, _extends({}, x, { key: i })); + }) + ) : null; + }; + + return List; + }(_react2.default.Component); + + List.propTypes = { + items: _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.object) + }; + + var Item = function (_React$Component3) { + _inherits(Item, _React$Component3); + + function Item() { + _classCallCheck(this, Item); + + return _possibleConstructorReturn(this, _React$Component3.apply(this, arguments)); + } + + Item.prototype.render = function render() { + var _props2 = this.props, + items = _props2.items, + message = _props2.message, + verified = _props2.verified; + + var className = verified ? "auth0-lock-checked" : ""; + + return _react2.default.createElement( + 'li', + { className: className }, + _react2.default.createElement( + 'span', + null, + message + ), + _react2.default.createElement(List, { items: items }) + ); + }; + + return Item; + }(_react2.default.Component); + + Item.propTypes = { + items: _react2.default.PropTypes.array, + message: _react2.default.PropTypes.string.isRequired, + verified: _react2.default.PropTypes.bool.isRequired + }; + +/***/ }, +/* 319 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _input_wrap = __webpack_require__(40); + + var _input_wrap2 = _interopRequireDefault(_input_wrap); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var arrowSvg = '<svg width="5px" height="10px" viewBox="0 0 5 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" class="auth0-lock-icon-arrow"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"><g id="Lock" transform="translate(-396.000000, -3521.000000)" fill="#000000" opacity="0.539999962"><g id="SMS" transform="translate(153.000000, 3207.000000)"><g transform="translate(35.000000, 299.000000)"><g transform="translate(210.000000, 20.000000) rotate(-90.000000) translate(-210.000000, -20.000000) translate(198.000000, 8.000000)"><path id="Shape" d="M7,10 L12,15 L17,10 L7,10 Z"></path></g></g></g></g></g></svg>'; + + var SelectInput = function (_React$Component) { + _inherits(SelectInput, _React$Component); + + function SelectInput(props) { + _classCallCheck(this, SelectInput); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props)); + + _this.state = {}; + return _this; + } + + SelectInput.prototype.render = function render() { + var _props = this.props, + iconUrl = _props.iconUrl, + isValid = _props.isValid, + label = _props.label, + name = _props.name, + onClick = _props.onClick, + placeholder = _props.placeholder; + var icon = this.props.icon; + var focused = this.state.focused; + + + var limitedValue = label || placeholder; + if (limitedValue.length > 23) { + limitedValue = limitedValue.substr(0, 20) + '...'; + } + + if (!icon && typeof iconUrl === "string" && iconUrl) { + icon = _react2.default.createElement('img', { className: 'auth0-lock-custom-icon', src: iconUrl }); + } + + var className = "auth0-lock-input auth0-lock-input-location"; + if (!label) className += " auth0-lock-input-with-placeholder"; + + return _react2.default.createElement( + _input_wrap2.default, + { focused: focused, isValid: isValid, name: 'location', icon: icon }, + _react2.default.createElement('input', { type: 'button', + name: name, + className: className, + value: limitedValue, + onFocus: this.handleFocus.bind(this), + onBlur: this.handleBlur.bind(this), + onKeyDown: this.handleKeyDown.bind(this), + onClick: onClick + }), + _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: arrowSvg } }) + ); + }; + + SelectInput.prototype.handleFocus = function handleFocus() { + this.setState({ focused: true }); + }; + + SelectInput.prototype.handleBlur = function handleBlur() { + this.setState({ focused: false }); + }; + + SelectInput.prototype.handleKeyDown = function handleKeyDown(e) { + if (e.key !== "Tab") { + e.preventDefault(); + } + + if (e.key === "ArrowDown") { + return this.props.onClick(); + } + + if (e.keyCode >= 65 && e.keyCode <= 90) { + return this.props.onClick(String.fromCharCode(e.keyCode).toLowerCase()); + } + }; + + return SelectInput; + }(_react2.default.Component); + + // TODO: specify propTypes + + + exports.default = SelectInput; + +/***/ }, +/* 320 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _input_wrap = __webpack_require__(40); + + var _input_wrap2 = _interopRequireDefault(_input_wrap); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var svg = '<svg width="13px" height="14px" viewBox="0 0 15 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="auth0-lock-icon"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-11.000000, -1471.000000)" fill="#888888"><path d="M25.552,1486.998 L11.449,1486.998 C10.667,1485.799 10.984,1483.399 11.766,1482.6 C12.139,1482.219 14.931,1481.5 16.267,1481.172 C14.856,1480.076 13.995,1478.042 13.995,1476.103 C13.995,1473.284 14.813,1470.999 18.498,1470.999 C22.182,1470.999 23,1473.284 23,1476.103 C23,1478.037 22.145,1480.065 20.74,1481.163 C22.046,1481.489 24.88,1482.228 25.241,1482.601 C26.019,1483.399 26.328,1485.799 25.552,1486.998 L25.552,1486.998 Z M24.6,1483.443 C24.087,1483.169 21.881,1482.548 20,1482.097 L20,1480.513 C21.254,1479.659 21.997,1477.806 21.997,1476.12 C21.997,1473.841 21.414,1471.993 18.499,1471.993 C15.583,1471.993 15,1473.841 15,1476.12 C15,1477.807 15.744,1479.662 17,1480.515 L17,1482.112 C15.109,1482.556 12.914,1483.166 12.409,1483.442 C12.082,1483.854 11.797,1485.173 12,1486 L25,1486 C25.201,1485.174 24.922,1483.858 24.6,1483.443 L24.6,1483.443 Z"></path></g></g></svg>'; + + var UsernameInput = function (_React$Component) { + _inherits(UsernameInput, _React$Component); + + function UsernameInput(props) { + _classCallCheck(this, UsernameInput); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props)); + + _this.state = {}; + return _this; + } + + UsernameInput.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) { + var _props = this.props, + invalidHint = _props.invalidHint, + isValid = _props.isValid, + value = _props.value, + onChange = _props.onChange; + var focused = this.state.focused; + + + return invalidHint != nextProps.invalidHint || isValid != nextProps.isValid || value != nextProps.value || focused != nextState.focused; + }; + + UsernameInput.prototype.render = function render() { + var _props2 = this.props, + invalidHint = _props2.invalidHint, + isValid = _props2.isValid, + onChange = _props2.onChange, + props = _objectWithoutProperties(_props2, ['invalidHint', 'isValid', 'onChange']); + + var focused = this.state.focused; + + + return _react2.default.createElement( + _input_wrap2.default, + { + focused: focused, + invalidHint: invalidHint, + isValid: isValid, + name: 'username', + icon: svg + }, + _react2.default.createElement('input', _extends({ + ref: 'input', + type: 'text', + name: 'username', + className: 'auth0-lock-input', + placeholder: 'username', + autoComplete: 'off', + autoCapitalize: 'off', + onChange: this.handleOnChange.bind(this), + onFocus: this.handleFocus.bind(this), + onBlur: this.handleBlur.bind(this) + }, props)) + ); + }; + + UsernameInput.prototype.handleOnChange = function handleOnChange(e) { + if (this.props.onChange) { + this.props.onChange(e); + } + }; + + UsernameInput.prototype.handleFocus = function handleFocus() { + this.setState({ focused: true }); + }; + + UsernameInput.prototype.handleBlur = function handleBlur() { + this.setState({ focused: false }); + }; + + return UsernameInput; + }(_react2.default.Component); + + // TODO: specify propTypes + + + exports.default = UsernameInput; + +/***/ }, +/* 321 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _reactDom = __webpack_require__(41); + + var _reactDom2 = _interopRequireDefault(_reactDom); + + var _button = __webpack_require__(55); + + var _text_input = __webpack_require__(144); + + var _text_input2 = _interopRequireDefault(_text_input); + + var _media_utils = __webpack_require__(145); + + var _string_utils = __webpack_require__(91); + + var su = _interopRequireWildcard(_string_utils); + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var cycle = function cycle(xs, x) { + return xs.skipWhile(function (y) { + return y !== x; + }).get(1, xs.get(0)); + }; + + var FiltrableList = function (_React$Component) { + _inherits(FiltrableList, _React$Component); + + function FiltrableList(props) { + _classCallCheck(this, FiltrableList); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props)); + + _this.state = { filteredItems: props.items, highlighted: props.defaultItem }; + return _this; + } + + FiltrableList.prototype.filter = function filter(str) { + var filteredItems = this.props.items.filter(function (x) { + return su.matches(str, x.get("label")); + }); + + var highlighted = filteredItems.size === 1 && filteredItems.get(0) || filteredItems.includes(this.state.highlighted) && this.state.highlighted || null; + + return { + filteredItems: filteredItems, + highlighted: highlighted + }; + }; + + FiltrableList.prototype.select = function select(x) { + this.props.onSelect(x); + }; + + FiltrableList.prototype.handleChange = function handleChange(e) { + this.setState(this.filter(e.target.value)); + }; + + FiltrableList.prototype.handleKeyDown = function handleKeyDown(e) { + var _state = this.state, + filteredItems = _state.filteredItems, + highlighted = _state.highlighted; + + + switch (e.key) { + case "ArrowDown": + e.preventDefault(); + this.setState({ highlighted: cycle(filteredItems, highlighted) }); + break; + case "ArrowUp": + e.preventDefault(); + this.setState({ highlighted: cycle(filteredItems.reverse(), highlighted) }); + break; + case "Enter": + e.preventDefault(); + highlighted && this.select(highlighted); + break; + case "Escape": + e.preventDefault(); + this.props.onCancel(); + default: + // no-op + } + }; + + FiltrableList.prototype.render = function render() { + var _this2 = this; + + var _props = this.props, + icon = _props.icon, + iconUrl = _props.iconUrl, + onCancel = _props.onCancel; + + return _react2.default.createElement( + 'div', + { className: 'auth0-lock-select-country' }, + _react2.default.createElement( + 'div', + { className: 'auth0-lock-search' }, + _react2.default.createElement(_button.BackButton, { onClick: onCancel }), + _react2.default.createElement(_text_input2.default, { + name: 'search', + icon: icon, + iconUrl: iconUrl, + isValid: true, + onChange: this.handleChange.bind(this), + onKeyDown: this.handleKeyDown.bind(this) + }) + ), + _react2.default.createElement(List, { + highlighted: this.state.highlighted, + items: this.state.filteredItems, + onClick: this.select.bind(this), + onMouseMove: function onMouseMove(x) { + return _this2.setState({ highlighted: x }); + } + }) + ); + }; + + return FiltrableList; + }(_react2.default.Component); + + exports.default = FiltrableList; + + var List = function (_React$Component2) { + _inherits(List, _React$Component2); + + function List() { + _classCallCheck(this, List); + + return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments)); + } + + List.prototype.componentDidUpdate = function componentDidUpdate() { + var _this4 = this; + + // Ensure that highlighted item is entirely visible + + // NOTE: I've spent very little time on this. It works, but it + // surely can be more clearly. + + var highlighted = this.refs.highlighted; + + + if (highlighted) { + var scrollableNode = _reactDom2.default.findDOMNode(this); + var highlightedNode = _reactDom2.default.findDOMNode(highlighted); + var relativeOffsetTop = highlightedNode.offsetTop - scrollableNode.scrollTop; + var scrollTopDelta = 0; + if (relativeOffsetTop + highlightedNode.offsetHeight > scrollableNode.clientHeight) { + scrollTopDelta = relativeOffsetTop + highlightedNode.offsetHeight - scrollableNode.clientHeight; + } else if (relativeOffsetTop < 0) { + scrollTopDelta = relativeOffsetTop; + } + + if (scrollTopDelta) { + this.preventHighlight = true; + scrollableNode.scrollTop += scrollTopDelta; + if (this.timeout) clearTimeout(this.timeout); + this.timeout = setTimeout(function () { + return _this4.preventHighlight = false; + }, 100); + } + } + }; + + List.prototype.mouseMoveHandler = function mouseMoveHandler(x) { + // TODO: This is an ugly hack to avoid highlighting the element under the + // mouse when an arrow key trigger a scroll of the list (which in turn + // triggers a mousemove event). + !this.preventHighlight && this.props.onMouseMove(x); + }; + + List.prototype.mouseLeaveHandler = function mouseLeaveHandler() { + // TODO: clear highlighted? + }; + + List.prototype.render = function render() { + var _this5 = this; + + var items = this.props.items.map(function (x) { + var highlighted = x === _this5.props.highlighted; + + var props = { + highlighted: highlighted, + key: x.get("label"), + label: x.get("label"), + onClick: function onClick() { + return _this5.props.onClick(x); + }, + onMouseMove: function onMouseMove() { + return _this5.mouseMoveHandler(x); + } + }; + + if (highlighted) props.ref = "highlighted"; + + return _react2.default.createElement(Item, props); + }); + + return _react2.default.createElement( + 'div', + { + className: 'auth0-lock-list-code', + onMouseLeave: this.mouseLeaveHandler.bind(this) + }, + _react2.default.createElement( + 'ul', + null, + items + ) + ); + }; + + return List; + }(_react2.default.Component); + + var Item = function (_React$Component3) { + _inherits(Item, _React$Component3); + + function Item() { + _classCallCheck(this, Item); + + return _possibleConstructorReturn(this, _React$Component3.apply(this, arguments)); + } + + Item.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) { + return this.props.highlighted != nextProps.highlighted; + }; + + Item.prototype.render = function render() { + var _props2 = this.props, + highlighted = _props2.highlighted, + label = _props2.label, + onClick = _props2.onClick, + onMouseMove = _props2.onMouseMove; + + var className = highlighted ? "auth0-lock-list-code-highlighted" : ""; + + return _react2.default.createElement( + 'li', + { className: className, onClick: onClick, onMouseMove: onMouseMove }, + label + ); + }; + + return Item; + }(_react2.default.Component); + + Item.propTypes = { + highlighted: _react.PropTypes.bool.isRequired, + label: _react.PropTypes.string.isRequired, + onClick: _react.PropTypes.func.isRequired, + onMouseMove: _react.PropTypes.func.isRequired + }; + +/***/ }, +/* 322 */ +/***/ function(module, exports) { + + "use strict"; + + exports.__esModule = true; + exports.default = atom; + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + var Atom = function () { + function Atom(state) { + _classCallCheck(this, Atom); + + this.state = state; + this.watches = {}; + } + + Atom.prototype.reset = function reset(state) { + return this._change(state); + }; + + Atom.prototype.swap = function swap(f) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + return this._change(f.apply(undefined, [this.state].concat(args))); + }; + + Atom.prototype.deref = function deref() { + return this.state; + }; + + Atom.prototype.addWatch = function addWatch(k, f) { + // if (this.watches[key]) { + // console.warn(`adding a watch with an already registered key: ${k}`); + // } + this.watches[k] = f; + return this; + }; + + Atom.prototype.removeWatch = function removeWatch(k) { + // if (!this.watches[key]) { + // console.warn(`removing a watch with an unknown key: ${k}`); + // } + delete this.watches[k]; + return this; + }; + + Atom.prototype._change = function _change(newState) { + var state = this.state, + watches = this.watches; + + this.state = newState; + Object.keys(watches).forEach(function (k) { + return watches[k](k, state, newState); + }); + return this.state; + }; + + return Atom; + }(); + + function atom(state) { + return new Atom(state); + } + +/***/ }, +/* 323 */ +/***/ function(module, exports) { + + "use strict"; + + exports.__esModule = true; + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + var Cache = function () { + function Cache(fetchFn) { + _classCallCheck(this, Cache); + + this.cache = {}; + this.cbs = {}; + this.fetchFn = fetchFn; + } + + Cache.prototype.get = function get() { + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + var cb = args.pop(); + var key = JSON.stringify(args); + if (this.cache[key]) return cb(null, this.cache[key]); + if (this.registerCallback(key, cb) > 1) return; + this.fetch(key, args); + }; + + Cache.prototype.fetch = function fetch(key, args) { + var _this = this; + + this.fetchFn.apply(this, args.concat([function (error, result) { + if (!error) _this.cache[key] = result; + _this.execCallbacks(key, error, result); + }])); + }; + + Cache.prototype.registerCallback = function registerCallback(key, cb) { + this.cbs[key] = this.cbs[key] || []; + this.cbs[key].push(cb); + return this.cbs[key].length; + }; + + Cache.prototype.execCallbacks = function execCallbacks(key) { + for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + args[_key2 - 1] = arguments[_key2]; + } + + this.cbs[key].forEach(function (f) { + return f.apply(undefined, args); + }); + delete this.cbs[key]; + }; + + return Cache; + }(); + + exports.default = Cache; + +/***/ }, +/* 324 */ +/***/ function(module, exports) { + + "use strict"; + + exports.__esModule = true; + exports.debounce = debounce; + function debounce(f, delay) { + var t = void 0; + return function () { + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + function handler() { + clearTimeout(t); + f.apply(undefined, args); + } + clearTimeout(t); + t = setTimeout(handler, delay); + }; + } + +/***/ }, +/* 325 */ +/***/ function(module, exports) { + + "use strict"; + + exports.__esModule = true; + exports.random = random; + exports.incremental = incremental; + function random() { + return (+new Date() + Math.floor(Math.random() * 10000000)).toString(36); + } + + var start = 1; + function incremental() { + return start++; + } + +/***/ }, +/* 326 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _jsonp = __webpack_require__(177); + + var _jsonp2 = _interopRequireDefault(_jsonp); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + var JSONPUtils = function () { + function JSONPUtils() { + _classCallCheck(this, JSONPUtils); + } + + JSONPUtils.prototype.get = function get() { + return _jsonp2.default.apply(undefined, arguments); + }; + + return JSONPUtils; + }(); + + exports.default = new JSONPUtils(); + +/***/ }, +/* 327 */ +/***/ function(module, exports) { + + /* WEBPACK VAR INJECTION */(function(global) {"use strict"; + + exports.__esModule = true; + exports.parseUrl = parseUrl; + function parseUrl(str) { + var parser = global.document.createElement("a"); + parser.href = str; + return parser; + } + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 328 */ +/***/ function(module, exports) { + + /* (ignored) */ + +/***/ }, +/* 329 */ +/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { + + /* WEBPACK VAR INJECTION */(function(process) {'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + /** + * This is the web browser implementation of `debug()`. + * + * Expose `debug()` as the module. + */ + + exports = module.exports = __webpack_require__(__webpack_module_template_argument_0__); + exports.log = log; + exports.formatArgs = formatArgs; + exports.save = save; + exports.load = load; + exports.useColors = useColors; + exports.storage = 'undefined' != typeof chrome && 'undefined' != typeof chrome.storage ? chrome.storage.local : localstorage(); + + /** + * Colors. + */ + + exports.colors = ['lightseagreen', 'forestgreen', 'goldenrod', 'dodgerblue', 'darkorchid', 'crimson']; + + /** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + + function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window && typeof window.process !== 'undefined' && window.process.type === 'renderer') { + return true; + } + + // is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + return typeof document !== 'undefined' && document && 'WebkitAppearance' in document.documentElement.style || + // is firebug? http://stackoverflow.com/a/398120/376773 + typeof window !== 'undefined' && window && window.console && (console.firebug || console.exception && console.table) || + // is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + typeof navigator !== 'undefined' && navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || + // double check webkit in userAgent just in case we are in a worker + typeof navigator !== 'undefined' && navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/); + } + + /** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + + exports.formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (err) { + return '[UnexpectedJSONParseError]: ' + err.message; + } + }; + + /** + * Colorize log arguments if enabled. + * + * @api public + */ + + function formatArgs(args) { + var useColors = this.useColors; + + args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports.humanize(this.diff); + + if (!useColors) return; + + var c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); + + // the final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + var index = 0; + var lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, function (match) { + if ('%%' === match) return; + index++; + if ('%c' === match) { + // we only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + + args.splice(lastC, 0, c); + } + + /** + * Invokes `console.log()` when available. + * No-op when `console.log` is not a "function". + * + * @api public + */ + + function log() { + // this hackery is required for IE8/9, where + // the `console.log` function doesn't have 'apply' + return 'object' === (typeof console === 'undefined' ? 'undefined' : _typeof(console)) && console.log && Function.prototype.apply.call(console.log, console, arguments); + } + + /** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ + + function save(namespaces) { + try { + if (null == namespaces) { + exports.storage.removeItem('debug'); + } else { + exports.storage.debug = namespaces; + } + } catch (e) {} + } + + /** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + + function load() { + try { + return exports.storage.debug; + } catch (e) {} + + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + if (typeof process !== 'undefined' && 'env' in process) { + return ({"NODE_ENV":"production"}).DEBUG; + } + } + + /** + * Enable namespaces listed in `localStorage.debug` initially. + */ + + exports.enable(load()); + + /** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + + function localstorage() { + try { + return window.localStorage; + } catch (e) {} + } + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29))) + +/***/ }, +/* 330 */ +/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { + + 'use strict'; + + /** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + * + * Expose `debug()` as the module. + */ + + exports = module.exports = createDebug.debug = createDebug.default = createDebug; + exports.coerce = coerce; + exports.disable = disable; + exports.enable = enable; + exports.enabled = enabled; + exports.humanize = __webpack_require__(__webpack_module_template_argument_0__); + + /** + * The currently active debug mode names, and names to skip. + */ + + exports.names = []; + exports.skips = []; + + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + + exports.formatters = {}; + + /** + * Previous log timestamp. + */ + + var prevTime; + + /** + * Select a color. + * @param {String} namespace + * @return {Number} + * @api private + */ + + function selectColor(namespace) { + var hash = 0, + i; + + for (i in namespace) { + hash = (hash << 5) - hash + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return exports.colors[Math.abs(hash) % exports.colors.length]; + } + + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + + function createDebug(namespace) { + + function debug() { + // disabled? + if (!debug.enabled) return; + + var self = debug; + + // set `diff` timestamp + var curr = +new Date(); + var ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + // turn the `arguments` into a proper Array + var args = new Array(arguments.length); + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i]; + } + + args[0] = exports.coerce(args[0]); + + if ('string' !== typeof args[0]) { + // anything else let's inspect with %O + args.unshift('%O'); + } + + // apply any `formatters` transformations + var index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) { + // if we encounter an escaped % then don't increase the array index + if (match === '%%') return match; + index++; + var formatter = exports.formatters[format]; + if ('function' === typeof formatter) { + var val = args[index]; + match = formatter.call(self, val); + + // now we need to remove `args[index]` since it's inlined in the `format` + args.splice(index, 1); + index--; + } + return match; + }); + + // apply env-specific formatting (colors, etc.) + exports.formatArgs.call(self, args); + + var logFn = debug.log || exports.log || console.log.bind(console); + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.enabled = exports.enabled(namespace); + debug.useColors = exports.useColors(); + debug.color = selectColor(namespace); + + // env-specific initialization logic for debug instances + if ('function' === typeof exports.init) { + exports.init(debug); + } + + return debug; + } + + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + + function enable(namespaces) { + exports.save(namespaces); + + var split = (namespaces || '').split(/[\s,]+/); + var len = split.length; + + for (var i = 0; i < len; i++) { + if (!split[i]) continue; // ignore empty strings + namespaces = split[i].replace(/\*/g, '.*?'); + if (namespaces[0] === '-') { + exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); + } else { + exports.names.push(new RegExp('^' + namespaces + '$')); + } + } + } + + /** + * Disable debug output. + * + * @api public + */ + + function disable() { + exports.enable(''); + } + + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + + function enabled(name) { + var i, len; + for (i = 0, len = exports.skips.length; i < len; i++) { + if (exports.skips[i].test(name)) { + return false; + } + } + for (i = 0, len = exports.names.length; i < len; i++) { + if (exports.names[i].test(name)) { + return true; + } + } + return false; + } + + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + + function coerce(val) { + if (val instanceof Error) return val.stack || val.message; + return val; + } + +/***/ }, +/* 331 */ +/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(__webpack_module_template_argument_0__); + + var invariant = __webpack_require__(__webpack_module_template_argument_1__); + + /** + * Static poolers. Several custom versions for each potential number of + * arguments. A completely generic pooler is easy to implement, but would + * require accessing the `arguments` object. In each of these, `this` refers to + * the Class itself, not an instance. If any others are needed, simply add them + * here, or in their own files. + */ + var oneArgumentPooler = function oneArgumentPooler(copyFieldsFrom) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, copyFieldsFrom); + return instance; + } else { + return new Klass(copyFieldsFrom); + } + }; + + var twoArgumentPooler = function twoArgumentPooler(a1, a2) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2); + return instance; + } else { + return new Klass(a1, a2); + } + }; + + var threeArgumentPooler = function threeArgumentPooler(a1, a2, a3) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2, a3); + return instance; + } else { + return new Klass(a1, a2, a3); + } + }; + + var fourArgumentPooler = function fourArgumentPooler(a1, a2, a3, a4) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2, a3, a4); + return instance; + } else { + return new Klass(a1, a2, a3, a4); + } + }; + + var fiveArgumentPooler = function fiveArgumentPooler(a1, a2, a3, a4, a5) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2, a3, a4, a5); + return instance; + } else { + return new Klass(a1, a2, a3, a4, a5); + } + }; + + var standardReleaser = function standardReleaser(instance) { + var Klass = this; + !(instance instanceof Klass) ? false ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0; + instance.destructor(); + if (Klass.instancePool.length < Klass.poolSize) { + Klass.instancePool.push(instance); + } + }; + + var DEFAULT_POOL_SIZE = 10; + var DEFAULT_POOLER = oneArgumentPooler; + + /** + * Augments `CopyConstructor` to be a poolable class, augmenting only the class + * itself (statically) not adding any prototypical fields. Any CopyConstructor + * you give this may have a `poolSize` property, and will look for a + * prototypical `destructor` on instances. + * + * @param {Function} CopyConstructor Constructor that can be used to reset. + * @param {Function} pooler Customizable pooler. + */ + var addPoolingTo = function addPoolingTo(CopyConstructor, pooler) { + // Casting as any so that flow ignores the actual implementation and trusts + // it to match the type we declared + var NewKlass = CopyConstructor; + NewKlass.instancePool = []; + NewKlass.getPooled = pooler || DEFAULT_POOLER; + if (!NewKlass.poolSize) { + NewKlass.poolSize = DEFAULT_POOL_SIZE; + } + NewKlass.release = standardReleaser; + return NewKlass; + }; + + var PooledClass = { + addPoolingTo: addPoolingTo, + oneArgumentPooler: oneArgumentPooler, + twoArgumentPooler: twoArgumentPooler, + threeArgumentPooler: threeArgumentPooler, + fourArgumentPooler: fourArgumentPooler, + fiveArgumentPooler: fiveArgumentPooler + }; + + module.exports = PooledClass; + +/***/ }, +/* 332 */ +/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { + + /** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var emptyFunction = __webpack_require__(__webpack_module_template_argument_0__); + + /** + * Similar to invariant but only logs a warning if the condition is not met. + * This can be used to log issues in development environments in critical + * paths. Removing the logging code for production environments will keep the + * same logic and follow the same code paths. + */ + + var warning = emptyFunction; + + if (false) { + (function () { + var printWarning = function printWarning(format) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + var argIndex = 0; + var message = 'Warning: ' + format.replace(/%s/g, function () { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.error(message); + } + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch (x) {} + }; + + warning = function warning(condition, format) { + if (format === undefined) { + throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); + } + + if (format.indexOf('Failed Composite propType: ') === 0) { + return; // Ignore CompositeComponent proptype check. + } + + if (!condition) { + for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + args[_key2 - 2] = arguments[_key2]; + } + + printWarning.apply(undefined, [format].concat(args)); + } + }; + })(); + } + + module.exports = warning; + +/***/ } +/******/ ]))); \ No newline at end of file diff --git a/build/lock.min.js b/build/lock.min.js new file mode 100644 index 000000000..e0a6a68cc --- /dev/null +++ b/build/lock.min.js @@ -0,0 +1,26 @@ +/*! + * lock.min.js v10.8.1 + * + * Author: Auth0 <support@auth0.com> (http://auth0.com) + * Date: 1/3/2017, 8:32:10 PM + * License: MIT + * + */ +!function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}(function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(typeof t[e]){case"function":break;case"object":t[e]=function(e){var n=e.slice(1),o=t[e[0]];return function(t,e,r){o.apply(this,[t,e,r].concat(n))}}(t[e]);break;default:t[e]=t[t[e]]}return t}([function(t,e,n){(function(t){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}var o=n(140),r=e(o);"function"==typeof t.window.define&&t.window.define.amd?t.window.define("auth0Lock",function(){return r.default}):t.window&&(t.window.Auth0Lock=r.default)}).call(e,function(){return this}())},function(t,e,n){"use strict";t.exports=n(20)},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n,o,r,i){var a=mt(t,ut.default.fromJS({clientBaseUrl:z(o,n),tenantBaseUrl:b(o,n),languageBaseUrl:C(o,n),auth:w(o),clientID:e,domain:n,emitEventFn:i,hookRunner:r,useTenantInfo:o.__useTenantInfo||!1,hashCleanup:o.hashCleanup!==!1,allowedConnections:ut.default.fromJS(o.allowedConnections||[]),ui:L(t,o),defaultADUsernameFromEmailPrefix:o.defaultADUsernameFromEmailPrefix!==!1}));return a=dt.initI18n(a)}function a(t){return t.get("id")}function u(t){return jt(t,"clientID")}function s(t){return jt(t,"domain")}function c(t){return jt(t,"clientBaseUrl")}function l(t){return jt(t,"tenantBaseUrl")}function p(t){return jt(t,"useTenantInfo")}function d(t){return jt(t,"languageBaseUrl")}function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t=zt(t,"submitting",e),t=I(t),t=n&&!e?g(t,n):h(t)}function f(t){return vt(t,"submitting",!1)}function g(t,e){return zt(t,"globalError",e)}function y(t){return vt(t,"globalError","")}function h(t){return bt(t,"globalError")}function N(t,e){return zt(t,"globalSuccess",e)}function D(t){return vt(t,"globalSuccess","")}function I(t){return bt(t,"globalSuccess")}function j(t){return vt(t,"render",!1)}function m(t){return bt(t,"render")}function L(t,e){var n=!e.container&&(void 0===e.closable||!!e.closable),o=e.theme||{},r=o.labeledSubmitButton,i=o.logo,a=o.primaryColor,u=o.authButtons,s=null!==e.avatar,c=e.avatar&&"function"==typeof e.avatar.url&&"function"==typeof e.avatar.displayName&&e.avatar,l=c||yt;return new ut.default.fromJS({containerID:e.container||"auth0-lock-container-"+t,appendContainer:!e.container,autoclose:void 0!==e.autoclose&&(n&&e.autoclose),autofocus:void 0===e.autofocus?!(e.container||(0,st.isSmallScreen)()):!!e.autofocus,avatar:s,avatarProvider:l,logo:"string"==typeof i?i:void 0,closable:n,labeledSubmitButton:void 0===r||!!r,language:void 0===e.language?"en":(0,ft.default)(e.language||"").toLowerCase(),dict:"object"===ot(e.languageDictionary)?e.languageDictionary:{},disableWarnings:void 0!==e.disableWarnings&&!!e.disableWarnings,mobile:void 0!==e.mobile&&!!e.mobile,popupOptions:void 0===e.popupOptions?{}:e.popupOptions,primaryColor:"string"==typeof a?a:void 0,rememberLastLogin:void 0===e.rememberLastLogin||!!e.rememberLastLogin,authButtonsTheme:"object"===("undefined"==typeof u?"undefined":ot(u))?u:{}})}function w(t){var e=t.auth||{},n=e.connectionScopes,o=e.params,r=e.redirect,i=e.redirectUrl,a=e.responseMode,u=e.responseType,s=e.sso;return n="object"===("undefined"==typeof n?"undefined":ot(n))?n:{},o="object"===("undefined"==typeof o?"undefined":ot(o))?o:{},i="string"==typeof i&&i?i:void 0,r="boolean"!=typeof r||r,a="string"==typeof a?a:void 0,u="string"==typeof u?u:i?"code":"token",s="boolean"!=typeof s||s,"openid profile"===(0,ft.default)(o.scope||"")&&x(t,"Usage of scope 'openid profile' is not recommended. See https://auth0.com/docs/scopes for more details."),ut.default.fromJS({connectionScopes:n,params:o,redirect:r,redirectUrl:i,responseMode:a,responseType:u,sso:s})}function v(t,e){return ut.default.fromJS(e).merge(jt(t,"auth")).toJS()}function z(t,e){if(t.clientBaseUrl&&"string"==typeof t.clientBaseUrl)return t.clientBaseUrl;if(t.configurationBaseUrl&&"string"==typeof t.configurationBaseUrl)return t.configurationBaseUrl;if(t.assetsUrl&&"string"==typeof t.assetsUrl)return t.assetsUrl;var n="https://"+e,o=(0,lt.parseUrl)(n).hostname,r=".auth0.com",i="https://cdn.auth0.com";if((0,ct.endsWith)(o,r)){var a=o.split(".");return a.length>3?"https://cdn."+a[a.length-3]+r:i}return n}function b(t,e){if(t.configurationBaseUrl&&"string"==typeof t.configurationBaseUrl)return(0,it.default)(t.configurationBaseUrl,"info-v1.js");if(t.assetsUrl&&"string"==typeof t.assetsUrl)return t.assetsUrl;var e,n="https://"+e,o=(0,lt.parseUrl)(n).hostname,r=".auth0.com",i="https://cdn.auth0.com",a=o.split("."),u=a[0];return(0,ct.endsWith)(o,r)?(e=a.length>3?"https://cdn."+a[a.length-3]+r:i,(0,it.default)(e,"tenants","v1",u+".js")):(0,it.default)(n,"info-v1.js")}function C(t,e){return t.languageBaseUrl&&"string"==typeof t.languageBaseUrl?t.languageBaseUrl:t.assetsUrl&&"string"==typeof t.assetsUrl?t.assetsUrl:"https://cdn.auth0.com"}function T(t){return zt(t,"render",!0)}function E(t,e){return zt(t,"loggedIn",e)}function k(t){return vt(t,"loggedIn",!1)}function S(t){return jt(t,"defaultADUsernameFromEmailPrefix",!0)}function x(t,e){var n=at.Map.isMap(t)?!At.disableWarnings(t):!t.disableWarnings;n&&console&&console.warn&&console.warn(e)}function O(t,e){var n=at.Map.isMap(t)?!At.disableWarnings(t):!t.disableWarnings;n&&console&&console.error&&console.error(e)}function A(t){return vt(t,"allowedConnections")||jt(t,"allowedConnections")}function _(t){for(var e=arguments.length,n=Array(e>2?e-2:0),o=2;o<e;o++)n[o-2]=arguments[o];var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(1===arguments.length)return vt(t,"connections",(0,at.Map)()).filter(function(t,e){return"unknown"!==e}).valueSeq().flatten(!0);var i=vt(t,["connections",r],(0,at.List)());return n.length>0?i.filter(function(t){return~n.indexOf(t.get("strategy"))}):i}function U(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return _.apply(void 0,[t,e].concat(o)).get(0)}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=_(t);return 1===n.count()&&(!e||n.getIn([0,"type"])===e)}function Q(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=_(t).count(),o=arguments.length,r=Array(o>2?o-2:0),i=2;i<o;i++)r[i-2]=arguments[i];var a=_.apply(void 0,[t,e].concat(r)).count();return n>0&&n===a}function P(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return B.apply(void 0,[t,e].concat(o))>0}function B(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return _.apply(void 0,[t,e].concat(o)).count()}function R(t,e){return _(t).find(function(t){return t.get("name")===e})}function G(t,e){return!!R(t,e)}function Z(t){var e=A(t),n=0===e.count()?function(t){return 0}:function(t){return e.indexOf(t.get("name"))};return zt(t,"connections",(0,Dt.clientConnections)(t).map(function(t){return t.filter(function(t){return n(t)>=0}).sort(function(t,e){return n(t)-n(e)})}))}function H(t,e){for(var n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return jt(t,"hookRunner").apply(void 0,[e,t].concat(o))}function W(t,e){for(var n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];setTimeout(function(){var n=jt(t,"emitEventFn"),r=n.apply(void 0,[e].concat(o));if("unrecoverable_error"===e&&!r)throw new(Function.prototype.bind.apply(Error,[null].concat(o)))},0)}function F(t,e,n){if(0===e.status)return dt.str(t,["error","login","lock.network"]);if("rule_error"===e.code)return e.description||dt.str(t,["error","login","lock.fallback"]);var o={code:"lock.invalid_code",email:"lock.invalid_email_password",username:"lock.invalid_username_password"},r=e.error||e.code;return"invalid_user_password"===r&&o[n]&&(r=o[n]),"a0.mfa_registration_required"===r&&(r="lock.mfa_registration_required"),"a0.mfa_invalid_code"===r&&(r="lock.mfa_invalid_code"),dt.str(t,["error","login",r])||dt.str(t,["error","login","lock.fallback"])}function V(t,e){return e&&setTimeout(function(){return W(t,"unrecoverable_error",e)},17),wt(t,"stopped",!0)}function J(t){return jt(t,"stopped")}function X(t){return jt(t,"hashCleanup")}function q(t,e){W(t,"hash_parsed",e)}function K(t,e){W(t,"authenticated",e)}function $(t,e){W(t,"authorization_error",e)}function tt(t,e){W(t,"unrecoverable_error",e)}function et(t){return(0,Dt.hasFreeSubscription)(t)||!1}function nt(t,e){if(e||(e={}),e.allowedConnections&&(t=zt(t,"allowedConnections",ut.default.fromJS(e.allowedConnections))),e.socialButtonStyle){var n=(0,Nt.processSocialOptions)(e);t=Tt(t,"socialButtonStyle",n.socialButtonStyle)}if(e.flashMessage){var o="success"===e.flashMessage.type?"globalSuccess":"globalError";t=zt(t,o,e.flashMessage.text)}return e.auth&&e.auth.params&&(t=zt(t,"authParams",ut.default.fromJS(e.auth.params))),e.theme&&(e.theme.primaryColor&&(t=zt(t,["ui","primaryColor"],e.theme.primaryColor)),e.theme.logo&&(t=zt(t,["ui","logo"],e.theme.logo))),(e.language||e.languageDictionary)&&(e.language&&(t=zt(t,["ui","language"],e.language)),e.languageDictionary&&(t=zt(t,["ui","dict"],e.languageDictionary)),t=dt.initI18n(t)),"boolean"==typeof e.rememberLastLogin&&(t=zt(t,"rememberLastLogin",e.rememberLastLogin)),t}e.__esModule=!0,e.reset=e.auth=e.ui=void 0;var ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.setup=i,e.id=a,e.clientID=u,e.domain=s,e.clientBaseUrl=c,e.tenantBaseUrl=l,e.useTenantInfo=p,e.languageBaseUrl=d,e.setSubmitting=M,e.submitting=f,e.setGlobalError=g,e.globalError=y,e.clearGlobalError=h,e.setGlobalSuccess=N,e.globalSuccess=D,e.clearGlobalSuccess=I,e.rendering=j,e.stopRendering=m,e.withAuthOptions=v,e.extractTenantBaseUrlOption=b,e.render=T,e.setLoggedIn=E,e.loggedIn=k,e.defaultADUsernameFromEmailPrefix=S,e.warn=x,e.error=O,e.allowedConnections=A,e.connections=_,e.connection=U,e.hasOneConnection=Y,e.hasOnlyConnections=Q,e.hasSomeConnections=P,e.countConnections=B,e.findConnection=R,e.hasConnection=G,e.filterConnections=Z,e.runHook=H,e.emitEvent=W,e.loginErrorMessage=F,e.stop=V,e.hasStopped=J,e.hashCleanup=X,e.emitHashParsedEvent=q,e.emitAuthenticatedEvent=K,e.emitAuthorizationErrorEvent=$,e.emitUnrecoverableErrorEvent=tt,e.showBadge=et,e.overrideOptions=nt;var rt=n(131),it=r(rt),at=n(9),ut=r(at),st=n(145),ct=n(91),lt=n(327),pt=n(13),dt=o(pt),Mt=n(25),ft=r(Mt),gt=n(280),yt=o(gt),ht=n(17),Nt=n(39),Dt=n(135),It=(0,ht.dataFns)(["core"]),jt=It.get,mt=It.init,Lt=(It.remove,It.reset),wt=It.set,vt=It.tget,zt=It.tset,bt=It.tremove,Ct=(0,ht.dataFns)(["social"]),Tt=Ct.tset,Et=(0,ht.dataFns)(["core","ui"]),kt=Et.get,St=(Et.set,(0,ht.dataFns)(["core","transient","ui"])),xt=St.get,Ot=(St.set,function(t,e){return xt(t,e)||kt(t,e)}),At=e.ui={containerID:function(t){return Ot(t,"containerID")},appendContainer:function(t){return Ot(t,"appendContainer")},autoclose:function(t){return Ot(t,"autoclose")},autofocus:function(t){return Ot(t,"autofocus")},avatar:function(t){return Ot(t,"avatar")},avatarProvider:function(t){return Ot(t,"avatarProvider")},closable:function(t){return Ot(t,"closable")},dict:function(t){return Ot(t,"dict")},disableWarnings:function(t){return Ot(t,"disableWarnings")},labeledSubmitButton:function(t){return Ot(t,"labeledSubmitButton")},language:function(t){return Ot(t,"language")},logo:function(t){return Ot(t,"logo")},mobile:function(t){return Ot(t,"mobile")},popupOptions:function(t){return Ot(t,"popupOptions")},primaryColor:function(t){return Ot(t,"primaryColor")},authButtonsTheme:function(t){return Ot(t,"authButtonsTheme")},rememberLastLogin:function(t){return vt(t,"rememberLastLogin",Ot(t,"rememberLastLogin"))}},_t=(0,ht.dataFns)(["core","auth"]),Ut=_t.get;e.auth={connectionScopes:function(t){return Ut(t,"connectionScopes")},params:function(t){return vt(t,"authParams")||Ut(t,"params")},redirect:function(t){return Ut(t,"redirect")},redirectUrl:function(t){return Ut(t,"redirectUrl")},responseType:function(t){return Ut(t,"responseType")},sso:function(t){return Ut(t,"sso")}};e.reset=Lt},function(t,e,n){"use strict";function o(t,e,n,o,i,a,u,s){if(r(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,u,s],p=0;c=new Error(e.replace(/%s/g,function(){return l[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(t){};t.exports=o},function(t,e){"use strict";function n(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,o=0;o<e;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var r=new Error(n);throw r.name="Invariant Violation",r.framesToPop=1,r}t.exports=n},[332,19],function(t,e,n){"use strict";function o(t){for(var e;e=t._renderedComponent;)t=e;return t}function r(t,e){var n=o(t);n._hostNode=e,e[g]=n}function i(t){var e=t._hostNode;e&&(delete e[g],t._hostNode=null)}function a(t,e){if(!(t._flags&f.hasCachedChildNodes)){var n=t._renderedChildren,i=e.firstChild;t:for(var a in n)if(n.hasOwnProperty(a)){var u=n[a],s=o(u)._domID;if(0!==s){for(;null!==i;i=i.nextSibling)if(1===i.nodeType&&i.getAttribute(M)===String(s)||8===i.nodeType&&i.nodeValue===" react-text: "+s+" "||8===i.nodeType&&i.nodeValue===" react-empty: "+s+" "){r(u,i);continue t}l("32",s)}}t._flags|=f.hasCachedChildNodes}}function u(t){if(t[g])return t[g];for(var e=[];!t[g];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,o;t&&(o=t[g]);t=e.pop())n=o,e.length&&a(o,t);return n}function s(t){var e=u(t);return null!=e&&e._hostNode===t?e:null}function c(t){if(void 0===t._hostNode?l("33"):void 0,t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent?void 0:l("34"),t=t._hostParent;for(;e.length;t=e.pop())a(t,t._hostNode);return t._hostNode}var l=n(4),p=n(32),d=n(101),M=(n(3),p.ID_ATTRIBUTE_NAME),f=d,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),y={getClosestInstanceFromNode:u,getInstanceFromNode:s,getNodeFromInstance:c,precacheChildNodes:a,precacheNode:r,uncacheNode:i};t.exports=y},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function o(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var o=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==o.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}var r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=o()?Object.assign:function(t,e){for(var o,a,u=n(t),s=1;s<arguments.length;s++){o=Object(arguments[s]);for(var c in o)r.call(o,c)&&(u[c]=o[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(o);for(var l=0;l<a.length;l++)i.call(o,a[l])&&(u[a[l]]=o[a[l]])}}return u}},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){for(var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(t){return(0,S.default)(t).length>0},r=t.getIn(["field",e,"value"]),i=t.getIn(["field",e,"showInvalid"],!1),u=arguments.length,s=Array(u>4?u-4:0),c=4;c<u;c++)s[c-4]=arguments[c];var l=a.apply(void 0,[o,n].concat(s));return t.mergeIn(["field",e],l,(0,E.Map)({value:n,showInvalid:i&&r===n}))}function a(t,e){if("function"!=typeof t)return(0,E.Map)({valid:!0});for(var n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var i=t.apply(void 0,[e].concat(o));return i&&"object"===("undefined"==typeof i?"undefined":b(i))?(0,E.Map)({valid:i.valid,invalidHint:i.hint}):(0,E.Map)({valid:!!i})}function u(t,e,n,o){var r=!0,i=!o,a=void 0;if(n.forEach(function(t){r=r&&t.get("label")&&"string"==typeof t.get("label")&&t.get("value")&&"string"==typeof t.get("value"),i||t.get("value")!==o||(a=t,i=!0)}),!r||!n.size){var u=new Error('The options provided for the "'+e+'" field are invalid, they must have the following format: {label: "non-empty string", value: "non-empty string"} and there has to be at least one option.');return u.code="invalid_select_field",_.stop(t,u)}return a||(a=(0,E.Map)({})),t.mergeIn(["field",e],a,(0,E.Map)({options:n,showInvalid:!1,valid:!a.isEmpty()}))}function s(t,e,n){return t.mergeIn(["field",e],n.merge((0,E.Map)({valid:!0,showInvalid:!1})))}function c(t,e){return t.getIn(["field",e,"valid"])}function l(t,e){return t.getIn(["field",e,"invalidHint"],"")}function p(t,e){return t.getIn(["field",e,"showInvalid"],!1)&&!t.getIn(["field",e,"valid"])}function d(t,e){return t.setIn(["field",e,"showInvalid"],!c(t,e))}function M(t){return t.update("field",function(t){return t&&t.map(function(t){return t.set("showInvalid",!1)})})}function f(t,e,n){return t.setIn(["field",e,"showInvalid"],n)}function g(t,e){var n=void 0;return n=e&&0!==e.length?e.map(function(t){return["field",t]}):["field"],n.reduce(function(t,e){return t.removeIn(e)},t)}function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new E.Map({});return t.getIn(["field",e],n)}function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return y(t,e).get("value",n)}function N(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return y(t,e).get("label",n)}function D(t){return t.getIn(["field","phoneNumber","value"],"")}function I(t){return h(t,"email")}function j(t){return h(t,"vcode")}function m(t){return h(t,"password")}function L(t){return h(t,"username")}function w(t){return h(t,"mfa_code")}function v(t){return!!t.getIn(["field","selecting"])}function z(t){var e=t.getIn(["field","selecting","name"]);return v(t)?T.default.createElement(O.default,{model:t,name:e,icon:t.getIn(["field","selecting","icon"]),iconUrl:t.getIn(["field","selecting","iconUrl"]),items:t.getIn(["field",e,"options"])}):null}e.__esModule=!0;var b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.setField=i,e.registerOptionField=u,e.setOptionField=s,e.isFieldValid=c,e.getFieldInvalidHint=l,e.isFieldVisiblyInvalid=p,e.showInvalidField=d,e.hideInvalidFields=M,e.setFieldShowInvalid=f,e.clearFields=g,e.getField=y,e.getFieldValue=h,e.getFieldLabel=N,e.phoneNumber=D,e.email=I,e.vcode=j,e.password=m,e.username=L,e.mfaCode=w,e.isSelecting=v,e.renderOptionSelection=z;var C=n(1),T=r(C),E=n(9),k=n(25),S=r(k),x=n(307),O=r(x),A=n(2),_=o(A)},function(t,e,n){var o,r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(a,u){"object"===i(e)&&"undefined"!=typeof t?t.exports=u():(o=u,r="function"==typeof o?o.call(e,n,e,t):o,!(void 0!==r&&(t.exports=r)))}(void 0,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return a(t)?t:E(t)}function n(t){return u(t)?t:k(t)}function o(t){return s(t)?t:S(t)}function r(t){return a(t)&&!c(t)?t:x(t)}function a(t){return!(!t||!t[ln])}function u(t){return!(!t||!t[pn])}function s(t){return!(!t||!t[dn])}function c(t){return u(t)||s(t)}function l(t){return!(!t||!t[Mn])}function p(t){return t.value=!1,t}function d(t){t&&(t.value=!0)}function M(){}function f(t,e){e=e||0;for(var n=Math.max(0,t.length-e),o=new Array(n),r=0;r<n;r++)o[r]=t[r+e];return o}function g(t){return void 0===t.size&&(t.size=t.__iterate(h)),t.size}function y(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?g(t)+e:e}function h(){return!0}function N(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function D(t,e){return j(t,e,0)}function I(t,e){return j(t,e,e)}function j(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function m(t){this.next=t}function L(t,e,n,o){var r=0===t?e:1===t?n:[e,n];return o?o.value=r:o={value:r,done:!1},o}function w(){return{value:void 0,done:!0}}function v(t){return!!C(t)}function z(t){return t&&"function"==typeof t.next}function b(t){var e=C(t);return e&&e.call(t)}function C(t){var e=t&&(wn&&t[wn]||t[vn]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function E(t){return null===t||void 0===t?Q():a(t)?t.toSeq():R(t)}function k(t){return null===t||void 0===t?Q().toKeyedSeq():a(t)?u(t)?t.toSeq():t.fromEntrySeq():P(t)}function S(t){return null===t||void 0===t?Q():a(t)?u(t)?t.entrySeq():t.toIndexedSeq():B(t)}function x(t){return(null===t||void 0===t?Q():a(t)?u(t)?t.entrySeq():t:B(t)).toSetSeq()}function O(t){this._array=t,this.size=t.length}function A(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function _(t){this._iterable=t,this.size=t.length||t.size}function U(t){this._iterator=t,this._iteratorCache=[]}function Y(t){return!(!t||!t[bn])}function Q(){return Cn||(Cn=new O([]))}function P(t){var e=Array.isArray(t)?new O(t).fromEntrySeq():z(t)?new U(t).fromEntrySeq():v(t)?new _(t).fromEntrySeq():"object"===("undefined"==typeof t?"undefined":i(t))?new A(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function B(t){var e=G(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function R(t){var e=G(t)||"object"===("undefined"==typeof t?"undefined":i(t))&&new A(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function G(t){return T(t)?new O(t):z(t)?new U(t):v(t)?new _(t):void 0}function Z(t,e,n,o){var r=t._cache;if(r){for(var i=r.length-1,a=0;a<=i;a++){var u=r[n?i-a:a];if(e(u[1],o?u[0]:a,t)===!1)return a+1}return a}return t.__iterateUncached(e,n)}function H(t,e,n,o){var r=t._cache;if(r){var i=r.length-1,a=0;return new m(function(){var t=r[n?i-a:a];return a++>i?w():L(e,o?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function W(t,e){return e?F(e,t,"",{"":t}):V(t)}function F(t,e,n,o){return Array.isArray(e)?t.call(o,n,S(e).map(function(n,o){return F(t,n,o,e)})):J(e)?t.call(o,n,k(e).map(function(n,o){return F(t,n,o,e)})):e}function V(t){return Array.isArray(t)?S(t).map(V).toList():J(t)?k(t).map(V).toMap():t}function J(t){return t&&(t.constructor===Object||void 0===t.constructor)}function X(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function q(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||u(t)!==u(e)||s(t)!==s(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(l(t)){var o=t.entries();return e.every(function(t,e){var r=o.next().value;return r&&X(r[1],t)&&(n||X(r[0],e))})&&o.next().done}var r=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{r=!0;var i=t;t=e,e=i}var p=!0,d=e.__iterate(function(e,o){if(n?!t.has(e):r?!X(e,t.get(o,Nn)):!X(t.get(o,Nn),e))return p=!1,!1});return p&&t.size===d}function K(t,e){if(!(this instanceof K))return new K(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Tn)return Tn;Tn=this}}function $(t,e){if(!t)throw new Error(e)}function tt(t,e,n){if(!(this instanceof tt))return new tt(t,e,n);if($(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(En)return En;En=this}}function et(){throw TypeError("Abstract")}function nt(){}function ot(){}function rt(){}function it(t){return t>>>1&1073741824|3221225471&t}function at(t){if(t===!1||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(t=t.valueOf(),t===!1||null===t||void 0===t))return 0;if(t===!0)return 1;var e="undefined"==typeof t?"undefined":i(t);if("number"===e){if(t!==t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return it(n)}if("string"===e)return t.length>Yn?ut(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ct(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function ut(t){var e=Bn[t];return void 0===e&&(e=st(t),Pn===Qn&&(Pn=0,Bn={}),Pn++,Bn[t]=e),e}function st(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return it(e)}function ct(t){var e;if(An&&(e=kn.get(t),void 0!==e))return e;if(e=t[Un],void 0!==e)return e;if(!On){if(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Un],void 0!==e)return e;if(e=lt(t),void 0!==e)return e}if(e=++_n,1073741824&_n&&(_n=0),An)kn.set(t,e);else{if(void 0!==xn&&xn(t)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(On)Object.defineProperty(t,Un,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Un]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Un]=e}}return e}function lt(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function pt(t){$(t!==1/0,"Cannot perform this action with an infinite size.")}function dt(t){return null===t||void 0===t?Lt():Mt(t)&&!l(t)?t:Lt().withMutations(function(e){var o=n(t);pt(o.size),o.forEach(function(t,n){return e.set(n,t)})})}function Mt(t){return!(!t||!t[Rn])}function ft(t,e){this.ownerID=t,this.entries=e}function gt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function yt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function ht(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Nt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Dt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&jt(t._root)}function It(t,e){return L(t,e[0],e[1])}function jt(t,e){return{node:t,index:0,__prev:e}}function mt(t,e,n,o){var r=Object.create(Gn);return r.size=t,r._root=e,r.__ownerID=n,r.__hash=o,r.__altered=!1,r}function Lt(){return Zn||(Zn=mt(0))}function wt(t,e,n){var o,r;if(t._root){var i=p(Dn),a=p(In);if(o=vt(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;r=t.size+(i.value?n===Nn?-1:1:0)}else{if(n===Nn)return t;r=1,o=new ft(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=r,t._root=o,t.__hash=void 0,t.__altered=!0,t):o?mt(r,o):Lt()}function vt(t,e,n,o,r,i,a,u){return t?t.update(e,n,o,r,i,a,u):i===Nn?t:(d(u),d(a),new Nt(e,o,[r,i]))}function zt(t){return t.constructor===Nt||t.constructor===ht}function bt(t,e,n,o,r){if(t.keyHash===o)return new ht(e,o,[t.entry,r]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&hn,u=(0===n?o:o>>>n)&hn,s=a===u?[bt(t,e,n+gn,o,r)]:(i=new Nt(e,o,r),a<u?[t,i]:[i,t]);return new gt(e,1<<a|1<<u,s)}function Ct(t,e,n,o){t||(t=new M);for(var r=new Nt(t,at(n),[n,o]),i=0;i<e.length;i++){var a=e[i];r=r.update(t,0,void 0,a[0],a[1])}return r}function Tt(t,e,n,o){for(var r=0,i=0,a=new Array(n),u=0,s=1,c=e.length;u<c;u++,s<<=1){var l=e[u];void 0!==l&&u!==o&&(r|=s,a[i++]=l)}return new gt(t,r,a)}function Et(t,e,n,o,r){for(var i=0,a=new Array(yn),u=0;0!==n;u++,n>>>=1)a[u]=1&n?e[i++]:void 0;return a[o]=r,new yt(t,i+1,a)}function kt(t,e,o){for(var r=[],i=0;i<o.length;i++){var u=o[i],s=n(u);a(u)||(s=s.map(function(t){return W(t)})),r.push(s)}return Ot(t,e,r)}function St(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):X(t,e)?t:e}function xt(t){return function(e,n,o){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var r=t(e,n,o);return X(e,r)?e:r}}function Ot(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var o=e?function(n,o){t.update(o,Nn,function(t){return t===Nn?n:e(t,n,o)})}:function(e,n){t.set(n,e)},r=0;r<n.length;r++)n[r].forEach(o)}):t.constructor(n[0])}function At(t,e,n,o){var r=t===Nn,i=e.next();if(i.done){var a=r?n:t,u=o(a);return u===a?t:u}$(r||t&&t.set,"invalid keyPath");var s=i.value,c=r?Nn:t.get(s,Nn),l=At(c,e,n,o);return l===c?t:l===Nn?t.remove(s):(r?Lt():t).set(s,l)}function _t(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,t+=t>>16,127&t}function Ut(t,e,n,o){var r=o?t:f(t);return r[e]=n,r}function Yt(t,e,n,o){var r=t.length+1;if(o&&e+1===r)return t[e]=n,t;for(var i=new Array(r),a=0,u=0;u<r;u++)u===e?(i[u]=n,a=-1):i[u]=t[u+a];return i}function Qt(t,e,n){var o=t.length-1;if(n&&e===o)return t.pop(),t;for(var r=new Array(o),i=0,a=0;a<o;a++)a===e&&(i=1),r[a]=t[a+i];return r}function Pt(t){var e=Ht();if(null===t||void 0===t)return e;if(Bt(t))return t;var n=o(t),r=n.size;return 0===r?e:(pt(r),r>0&&r<yn?Zt(0,r,gn,null,new Rt(n.toArray())):e.withMutations(function(t){t.setSize(r),n.forEach(function(e,n){return t.set(n,e)})}))}function Bt(t){return!(!t||!t[Vn])}function Rt(t,e){this.array=t,this.ownerID=e}function Gt(t,e){function n(t,e,n){return 0===e?o(t,n):r(t,e,n)}function o(t,n){var o=n===u?s&&s.array:t&&t.array,r=n>i?0:i-n,c=a-n;return c>yn&&(c=yn),function(){if(r===c)return qn;var t=e?--c:r++;return o&&o[t]}}function r(t,o,r){var u,s=t&&t.array,c=r>i?0:i-r>>o,l=(a-r>>o)+1;return l>yn&&(l=yn),function(){for(;;){if(u){var t=u();if(t!==qn)return t;u=null}if(c===l)return qn;var i=e?--l:c++;u=n(s&&s[i],o-gn,r+(i<<o))}}}var i=t._origin,a=t._capacity,u=Kt(a),s=t._tail;return n(t._root,t._level,0)}function Zt(t,e,n,o,r,i,a){var u=Object.create(Jn);return u.size=e-t,u._origin=t,u._capacity=e,u._level=n,u._root=o,u._tail=r,u.__ownerID=i,u.__hash=a,u.__altered=!1,u}function Ht(){return Xn||(Xn=Zt(0,0,gn))}function Wt(t,e,n){if(e=y(t,e),e!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Xt(t,e).set(0,n):Xt(t,0,e+1).set(e,n)});e+=t._origin;var o=t._tail,r=t._root,i=p(In);return e>=Kt(t._capacity)?o=Ft(o,t.__ownerID,0,e,n,i):r=Ft(r,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=r,t._tail=o,t.__hash=void 0,t.__altered=!0,t):Zt(t._origin,t._capacity,t._level,r,o):t}function Ft(t,e,n,o,r,i){var a=o>>>n&hn,u=t&&a<t.array.length;if(!u&&void 0===r)return t;var s;if(n>0){var c=t&&t.array[a],l=Ft(c,e,n-gn,o,r,i);return l===c?t:(s=Vt(t,e),s.array[a]=l,s)}return u&&t.array[a]===r?t:(d(i),s=Vt(t,e),void 0===r&&a===s.array.length-1?s.array.pop():s.array[a]=r,s)}function Vt(t,e){return e&&t&&e===t.ownerID?t:new Rt(t?t.array.slice():[],e)}function Jt(t,e){if(e>=Kt(t._capacity))return t._tail;if(e<1<<t._level+gn){for(var n=t._root,o=t._level;n&&o>0;)n=n.array[e>>>o&hn],o-=gn;return n}}function Xt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0); +var o=t.__ownerID||new M,r=t._origin,i=t._capacity,a=r+e,u=void 0===n?i:n<0?i+n:r+n;if(a===r&&u===i)return t;if(a>=u)return t.clear();for(var s=t._level,c=t._root,l=0;a+l<0;)c=new Rt(c&&c.array.length?[void 0,c]:[],o),s+=gn,l+=1<<s;l&&(a+=l,r+=l,u+=l,i+=l);for(var p=Kt(i),d=Kt(u);d>=1<<s+gn;)c=new Rt(c&&c.array.length?[c]:[],o),s+=gn;var f=t._tail,g=d<p?Jt(t,u-1):d>p?new Rt([],o):f;if(f&&d>p&&a<i&&f.array.length){c=Vt(c,o);for(var y=c,h=s;h>gn;h-=gn){var N=p>>>h&hn;y=y.array[N]=Vt(y.array[N],o)}y.array[p>>>gn&hn]=f}if(u<i&&(g=g&&g.removeAfter(o,0,u)),a>=d)a-=d,u-=d,s=gn,c=null,g=g&&g.removeBefore(o,0,a);else if(a>r||d<p){for(l=0;c;){var D=a>>>s&hn;if(D!==d>>>s&hn)break;D&&(l+=(1<<s)*D),s-=gn,c=c.array[D]}c&&a>r&&(c=c.removeBefore(o,s,a-l)),c&&d<p&&(c=c.removeAfter(o,s,d-l)),l&&(a-=l,u-=l)}return t.__ownerID?(t.size=u-a,t._origin=a,t._capacity=u,t._level=s,t._root=c,t._tail=g,t.__hash=void 0,t.__altered=!0,t):Zt(a,u,s,c,g)}function qt(t,e,n){for(var r=[],i=0,u=0;u<n.length;u++){var s=n[u],c=o(s);c.size>i&&(i=c.size),a(s)||(c=c.map(function(t){return W(t)})),r.push(c)}return i>t.size&&(t=t.setSize(i)),Ot(t,e,r)}function Kt(t){return t<yn?0:t-1>>>gn<<gn}function $t(t){return null===t||void 0===t?ne():te(t)?t:ne().withMutations(function(e){var o=n(t);pt(o.size),o.forEach(function(t,n){return e.set(n,t)})})}function te(t){return Mt(t)&&l(t)}function ee(t,e,n,o){var r=Object.create($t.prototype);return r.size=t?t.size:0,r._map=t,r._list=e,r.__ownerID=n,r.__hash=o,r}function ne(){return Kn||(Kn=ee(Lt(),Ht()))}function oe(t,e,n){var o,r,i=t._map,a=t._list,u=i.get(e),s=void 0!==u;if(n===Nn){if(!s)return t;a.size>=yn&&a.size>=2*i.size?(r=a.filter(function(t,e){return void 0!==t&&u!==e}),o=r.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(o.__ownerID=r.__ownerID=t.__ownerID)):(o=i.remove(e),r=u===a.size-1?a.pop():a.set(u,void 0))}else if(s){if(n===a.get(u)[1])return t;o=i,r=a.set(u,[e,n])}else o=i.set(e,a.size),r=a.set(a.size,[e,n]);return t.__ownerID?(t.size=o.size,t._map=o,t._list=r,t.__hash=void 0,t):ee(o,r)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function ue(t){this._iter=t,this.size=t.size}function se(t){var e=Te(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Ee,e.__iterateUncached=function(e,n){var o=this;return t.__iterate(function(t,n){return e(n,t,o)!==!1},n)},e.__iteratorUncached=function(e,n){if(e===Ln){var o=t.__iterator(e,n);return new m(function(){var t=o.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===mn?jn:mn,n)},e}function ce(t,e,n){var o=Te(t);return o.size=t.size,o.has=function(e){return t.has(e)},o.get=function(o,r){var i=t.get(o,Nn);return i===Nn?r:e.call(n,i,o,t)},o.__iterateUncached=function(o,r){var i=this;return t.__iterate(function(t,r,a){return o(e.call(n,t,r,a),r,i)!==!1},r)},o.__iteratorUncached=function(o,r){var i=t.__iterator(Ln,r);return new m(function(){var r=i.next();if(r.done)return r;var a=r.value,u=a[0];return L(o,u,e.call(n,a[1],u,t),r)})},o}function le(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,o){return t.get(e?n:-1-n,o)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Ee,n.__iterate=function(e,n){var o=this;return t.__iterate(function(t,n){return e(t,n,o)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function pe(t,e,n,o){var r=Te(t);return o&&(r.has=function(o){var r=t.get(o,Nn);return r!==Nn&&!!e.call(n,r,o,t)},r.get=function(o,r){var i=t.get(o,Nn);return i!==Nn&&e.call(n,i,o,t)?i:r}),r.__iterateUncached=function(r,i){var a=this,u=0;return t.__iterate(function(t,i,s){if(e.call(n,t,i,s))return u++,r(t,o?i:u-1,a)},i),u},r.__iteratorUncached=function(r,i){var a=t.__iterator(Ln,i),u=0;return new m(function(){for(;;){var i=a.next();if(i.done)return i;var s=i.value,c=s[0],l=s[1];if(e.call(n,l,c,t))return L(r,o?c:u++,l,i)}})},r}function de(t,e,n){var o=dt().asMutable();return t.__iterate(function(r,i){o.update(e.call(n,r,i,t),0,function(t){return t+1})}),o.asImmutable()}function Me(t,e,n){var o=u(t),r=(l(t)?$t():dt()).asMutable();t.__iterate(function(i,a){r.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(o?[a,i]:i),t})});var i=Ce(t);return r.map(function(e){return ve(t,i(e))})}function fe(t,e,n,o){var r=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=r:n|=0),N(e,n,r))return t;var i=D(e,r),a=I(n,r);if(i!==i||a!==a)return fe(t.toSeq().cacheResult(),e,n,o);var u,s=a-i;s===s&&(u=s<0?0:s);var c=Te(t);return c.size=0===u?u:t.size&&u||void 0,!o&&Y(t)&&u>=0&&(c.get=function(e,n){return e=y(this,e),e>=0&&e<u?t.get(e+i,n):n}),c.__iterateUncached=function(e,n){var r=this;if(0===u)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,s=!0,c=0;return t.__iterate(function(t,n){if(!s||!(s=a++<i))return c++,e(t,o?n:c-1,r)!==!1&&c!==u}),c},c.__iteratorUncached=function(e,n){if(0!==u&&n)return this.cacheResult().__iterator(e,n);var r=0!==u&&t.__iterator(e,n),a=0,s=0;return new m(function(){for(;a++<i;)r.next();if(++s>u)return w();var t=r.next();return o||e===mn?t:e===jn?L(e,s-1,void 0,t):L(e,s-1,t.value[1],t)})},c}function ge(t,e,n){var o=Te(t);return o.__iterateUncached=function(o,r){var i=this;if(r)return this.cacheResult().__iterate(o,r);var a=0;return t.__iterate(function(t,r,u){return e.call(n,t,r,u)&&++a&&o(t,r,i)}),a},o.__iteratorUncached=function(o,r){var i=this;if(r)return this.cacheResult().__iterator(o,r);var a=t.__iterator(Ln,r),u=!0;return new m(function(){if(!u)return w();var t=a.next();if(t.done)return t;var r=t.value,s=r[0],c=r[1];return e.call(n,c,s,i)?o===Ln?t:L(o,s,c,t):(u=!1,w())})},o}function ye(t,e,n,o){var r=Te(t);return r.__iterateUncached=function(r,i){var a=this;if(i)return this.cacheResult().__iterate(r,i);var u=!0,s=0;return t.__iterate(function(t,i,c){if(!u||!(u=e.call(n,t,i,c)))return s++,r(t,o?i:s-1,a)}),s},r.__iteratorUncached=function(r,i){var a=this;if(i)return this.cacheResult().__iterator(r,i);var u=t.__iterator(Ln,i),s=!0,c=0;return new m(function(){var t,i,l;do{if(t=u.next(),t.done)return o||r===mn?t:r===jn?L(r,c++,void 0,t):L(r,c++,t.value[1],t);var p=t.value;i=p[0],l=p[1],s&&(s=e.call(n,l,i,a))}while(s);return r===Ln?t:L(r,i,l,t)})},r}function he(t,e){var o=u(t),r=[t].concat(e).map(function(t){return a(t)?o&&(t=n(t)):t=o?P(t):B(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===r.length)return t;if(1===r.length){var i=r[0];if(i===t||o&&u(i)||s(t)&&s(i))return i}var c=new O(r);return o?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=r.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function Ne(t,e,n){var o=Te(t);return o.__iterateUncached=function(o,r){function i(t,c){var l=this;t.__iterate(function(t,r){return(!e||c<e)&&a(t)?i(t,c+1):o(t,n?r:u++,l)===!1&&(s=!0),!s},r)}var u=0,s=!1;return i(t,0),u},o.__iteratorUncached=function(o,r){var i=t.__iterator(o,r),u=[],s=0;return new m(function(){for(;i;){var t=i.next();if(t.done===!1){var c=t.value;if(o===Ln&&(c=c[1]),e&&!(u.length<e)||!a(c))return n?t:L(o,s++,c,t);u.push(i),i=c.__iterator(o,r)}else i=u.pop()}return w()})},o}function De(t,e,n){var o=Ce(t);return t.toSeq().map(function(r,i){return o(e.call(n,r,i,t))}).flatten(!0)}function Ie(t,e){var n=Te(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,o){var r=this,i=0;return t.__iterate(function(t,o){return(!i||n(e,i++,r)!==!1)&&n(t,i++,r)!==!1},o),i},n.__iteratorUncached=function(n,o){var r,i=t.__iterator(mn,o),a=0;return new m(function(){return(!r||a%2)&&(r=i.next(),r.done)?r:a%2?L(n,a++,e):L(n,a++,r.value,r)})},n}function je(t,e,n){e||(e=ke);var o=u(t),r=0,i=t.toSeq().map(function(e,o){return[o,e,r++,n?n(e,o,t):e]}).toArray();return i.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(o?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),o?k(i):s(t)?S(i):x(i)}function me(t,e,n){if(e||(e=ke),n){var o=t.toSeq().map(function(e,o){return[e,n(e,o,t)]}).reduce(function(t,n){return Le(e,t[1],n[1])?n:t});return o&&o[0]}return t.reduce(function(t,n){return Le(e,t,n)?n:t})}function Le(t,e,n){var o=t(n,e);return 0===o&&n!==e&&(void 0===n||null===n||n!==n)||o>0}function we(t,n,o){var r=Te(t);return r.size=new O(o).map(function(t){return t.size}).min(),r.__iterate=function(t,e){for(var n,o=this.__iterator(mn,e),r=0;!(n=o.next()).done&&t(n.value,r++,this)!==!1;);return r},r.__iteratorUncached=function(t,r){var i=o.map(function(t){return t=e(t),b(r?t.reverse():t)}),a=0,u=!1;return new m(function(){var e;return u||(e=i.map(function(t){return t.next()}),u=e.some(function(t){return t.done})),u?w():L(t,a++,n.apply(null,e.map(function(t){return t.value})))})},r}function ve(t,e){return Y(t)?e:t.constructor(e)}function ze(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function be(t){return pt(t.size),g(t)}function Ce(t){return u(t)?n:s(t)?o:r}function Te(t){return Object.create((u(t)?k:s(t)?S:x).prototype)}function Ee(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):E.prototype.cacheResult.call(this)}function ke(t,e){return t>e?1:t<e?-1:0}function Se(t){var n=b(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=b(e(t))}return n}function xe(t,e){var n,o=function(i){if(i instanceof o)return i;if(!(this instanceof o))return new o(i);if(!n){n=!0;var a=Object.keys(t);_e(r,a),r.size=a.length,r._name=e,r._keys=a,r._defaultValues=t}this._map=dt(i)},r=o.prototype=Object.create($n);return r.constructor=o,o}function Oe(t,e,n){var o=Object.create(Object.getPrototypeOf(t));return o._map=e,o.__ownerID=n,o}function Ae(t){return t._name||t.constructor.name||"Record"}function _e(t,e){try{e.forEach(Ue.bind(void 0,t))}catch(t){}}function Ue(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){$(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Ye(t){return null===t||void 0===t?Re():Qe(t)&&!l(t)?t:Re().withMutations(function(e){var n=r(t);pt(n.size),n.forEach(function(t){return e.add(t)})})}function Qe(t){return!(!t||!t[to])}function Pe(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Be(t,e){var n=Object.create(eo);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Re(){return no||(no=Be(Lt()))}function Ge(t){return null===t||void 0===t?We():Ze(t)?t:We().withMutations(function(e){var n=r(t);pt(n.size),n.forEach(function(t){return e.add(t)})})}function Ze(t){return Qe(t)&&l(t)}function He(t,e){var n=Object.create(oo);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function We(){return ro||(ro=He(ne()))}function Fe(t){return null===t||void 0===t?Xe():Ve(t)?t:Xe().unshiftAll(t)}function Ve(t){return!(!t||!t[io])}function Je(t,e,n,o){var r=Object.create(ao);return r.size=t,r._head=e,r.__ownerID=n,r.__hash=o,r.__altered=!1,r}function Xe(){return uo||(uo=Je(0))}function qe(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Ke(t,e){return e}function $e(t,e){return[e,t]}function tn(t){return function(){return!t.apply(this,arguments)}}function en(t){return function(){return-t.apply(this,arguments)}}function nn(t){return"string"==typeof t?JSON.stringify(t):String(t)}function on(){return f(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function an(t){if(t.size===1/0)return 0;var e=l(t),n=u(t),o=e?1:0,r=t.__iterate(n?e?function(t,e){o=31*o+sn(at(t),at(e))|0}:function(t,e){o=o+sn(at(t),at(e))|0}:e?function(t){o=31*o+at(t)|0}:function(t){o=o+at(t)|0});return un(r,o)}function un(t,e){return e=Sn(e,3432918353),e=Sn(e<<15|e>>>-15,461845907),e=Sn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Sn(e^e>>>16,2246822507),e=Sn(e^e>>>13,3266489909),e=it(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var cn=Array.prototype.slice;t(n,e),t(o,e),t(r,e),e.isIterable=a,e.isKeyed=u,e.isIndexed=s,e.isAssociative=c,e.isOrdered=l,e.Keyed=n,e.Indexed=o,e.Set=r;var ln="@@__IMMUTABLE_ITERABLE__@@",pn="@@__IMMUTABLE_KEYED__@@",dn="@@__IMMUTABLE_INDEXED__@@",Mn="@@__IMMUTABLE_ORDERED__@@",fn="delete",gn=5,yn=1<<gn,hn=yn-1,Nn={},Dn={value:!1},In={value:!1},jn=0,mn=1,Ln=2,wn="function"==typeof Symbol&&Symbol.iterator,vn="@@iterator",zn=wn||vn;m.prototype.toString=function(){return"[Iterator]"},m.KEYS=jn,m.VALUES=mn,m.ENTRIES=Ln,m.prototype.inspect=m.prototype.toSource=function(){return this.toString()},m.prototype[zn]=function(){return this},t(E,e),E.of=function(){return E(arguments)},E.prototype.toSeq=function(){return this},E.prototype.toString=function(){return this.__toString("Seq {","}")},E.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},E.prototype.__iterate=function(t,e){return Z(this,t,e,!0)},E.prototype.__iterator=function(t,e){return H(this,t,e,!0)},t(k,E),k.prototype.toKeyedSeq=function(){return this},t(S,E),S.of=function(){return S(arguments)},S.prototype.toIndexedSeq=function(){return this},S.prototype.toString=function(){return this.__toString("Seq [","]")},S.prototype.__iterate=function(t,e){return Z(this,t,e,!1)},S.prototype.__iterator=function(t,e){return H(this,t,e,!1)},t(x,E),x.of=function(){return x(arguments)},x.prototype.toSetSeq=function(){return this},E.isSeq=Y,E.Keyed=k,E.Set=x,E.Indexed=S;var bn="@@__IMMUTABLE_SEQ__@@";E.prototype[bn]=!0,t(O,S),O.prototype.get=function(t,e){return this.has(t)?this._array[y(this,t)]:e},O.prototype.__iterate=function(t,e){for(var n=this._array,o=n.length-1,r=0;r<=o;r++)if(t(n[e?o-r:r],r,this)===!1)return r+1;return r},O.prototype.__iterator=function(t,e){var n=this._array,o=n.length-1,r=0;return new m(function(){return r>o?w():L(t,r,n[e?o-r++:r++])})},t(A,k),A.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},A.prototype.has=function(t){return this._object.hasOwnProperty(t)},A.prototype.__iterate=function(t,e){for(var n=this._object,o=this._keys,r=o.length-1,i=0;i<=r;i++){var a=o[e?r-i:i];if(t(n[a],a,this)===!1)return i+1}return i},A.prototype.__iterator=function(t,e){var n=this._object,o=this._keys,r=o.length-1,i=0;return new m(function(){var a=o[e?r-i:i];return i++>r?w():L(t,a,n[a])})},A.prototype[Mn]=!0,t(_,S),_.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,o=b(n),r=0;if(z(o))for(var i;!(i=o.next()).done&&t(i.value,r++,this)!==!1;);return r},_.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,o=b(n);if(!z(o))return new m(w);var r=0;return new m(function(){var e=o.next();return e.done?e:L(t,r++,e.value)})},t(U,S),U.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,o=this._iteratorCache,r=0;r<o.length;)if(t(o[r],r++,this)===!1)return r;for(var i;!(i=n.next()).done;){var a=i.value;if(o[r]=a,t(a,r++,this)===!1)break}return r},U.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,o=this._iteratorCache,r=0;return new m(function(){if(r>=o.length){var e=n.next();if(e.done)return e;o[r]=e.value}return L(t,r,o[r++])})};var Cn;t(K,S),K.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},K.prototype.get=function(t,e){return this.has(t)?this._value:e},K.prototype.includes=function(t){return X(this._value,t)},K.prototype.slice=function(t,e){var n=this.size;return N(t,e,n)?this:new K(this._value,I(e,n)-D(t,n))},K.prototype.reverse=function(){return this},K.prototype.indexOf=function(t){return X(this._value,t)?0:-1},K.prototype.lastIndexOf=function(t){return X(this._value,t)?this.size:-1},K.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(t(this._value,n,this)===!1)return n+1;return n},K.prototype.__iterator=function(t,e){var n=this,o=0;return new m(function(){return o<n.size?L(t,o++,n._value):w()})},K.prototype.equals=function(t){return t instanceof K?X(this._value,t._value):q(t)};var Tn;t(tt,S),tt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},tt.prototype.get=function(t,e){return this.has(t)?this._start+y(this,t)*this._step:e},tt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},tt.prototype.slice=function(t,e){return N(t,e,this.size)?this:(t=D(t,this.size),e=I(e,this.size),e<=t?new tt(0,0):new tt(this.get(t,this._end),this.get(e,this._end),this._step))},tt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step===0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},tt.prototype.lastIndexOf=function(t){return this.indexOf(t)},tt.prototype.__iterate=function(t,e){for(var n=this.size-1,o=this._step,r=e?this._start+n*o:this._start,i=0;i<=n;i++){if(t(r,i,this)===!1)return i+1;r+=e?-o:o}return i},tt.prototype.__iterator=function(t,e){var n=this.size-1,o=this._step,r=e?this._start+n*o:this._start,i=0;return new m(function(){var a=r;return r+=e?-o:o,i>n?w():L(t,i++,a)})},tt.prototype.equals=function(t){return t instanceof tt?this._start===t._start&&this._end===t._end&&this._step===t._step:q(this,t)};var En;t(et,e),t(nt,et),t(ot,et),t(rt,et),et.Keyed=nt,et.Indexed=ot,et.Set=rt;var kn,Sn="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,o=65535&e;return n*o+((t>>>16)*o+n*(e>>>16)<<16>>>0)|0},xn=Object.isExtensible,On=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),An="function"==typeof WeakMap;An&&(kn=new WeakMap);var _n=0,Un="__immutablehash__";"function"==typeof Symbol&&(Un=Symbol(Un));var Yn=16,Qn=255,Pn=0,Bn={};t(dt,nt),dt.of=function(){var t=cn.call(arguments,0);return Lt().withMutations(function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},dt.prototype.toString=function(){return this.__toString("Map {","}")},dt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},dt.prototype.set=function(t,e){return wt(this,t,e)},dt.prototype.setIn=function(t,e){return this.updateIn(t,Nn,function(){return e})},dt.prototype.remove=function(t){return wt(this,t,Nn)},dt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return Nn})},dt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},dt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var o=At(this,Se(t),e,n);return o===Nn?void 0:o},dt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Lt()},dt.prototype.merge=function(){return kt(this,void 0,arguments)},dt.prototype.mergeWith=function(t){var e=cn.call(arguments,1);return kt(this,t,e)},dt.prototype.mergeIn=function(t){var e=cn.call(arguments,1);return this.updateIn(t,Lt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},dt.prototype.mergeDeep=function(){return kt(this,St,arguments)},dt.prototype.mergeDeepWith=function(t){var e=cn.call(arguments,1);return kt(this,xt(t),e)},dt.prototype.mergeDeepIn=function(t){var e=cn.call(arguments,1);return this.updateIn(t,Lt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},dt.prototype.sort=function(t){return $t(je(this,t))},dt.prototype.sortBy=function(t,e){return $t(je(this,e,t))},dt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},dt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new M)},dt.prototype.asImmutable=function(){return this.__ensureOwner()},dt.prototype.wasAltered=function(){return this.__altered},dt.prototype.__iterator=function(t,e){return new Dt(this,t,e)},dt.prototype.__iterate=function(t,e){var n=this,o=0;return this._root&&this._root.iterate(function(e){return o++,t(e[1],e[0],n)},e),o},dt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?mt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},dt.isMap=Mt;var Rn="@@__IMMUTABLE_MAP__@@",Gn=dt.prototype;Gn[Rn]=!0,Gn[fn]=Gn.remove,Gn.removeIn=Gn.deleteIn,ft.prototype.get=function(t,e,n,o){for(var r=this.entries,i=0,a=r.length;i<a;i++)if(X(n,r[i][0]))return r[i][1];return o},ft.prototype.update=function(t,e,n,o,r,i,a){for(var u=r===Nn,s=this.entries,c=0,l=s.length;c<l&&!X(o,s[c][0]);c++);var p=c<l;if(p?s[c][1]===r:u)return this;if(d(a),(u||!p)&&d(i),!u||1!==s.length){if(!p&&!u&&s.length>=Hn)return Ct(t,s,o,r);var M=t&&t===this.ownerID,g=M?s:f(s);return p?u?c===l-1?g.pop():g[c]=g.pop():g[c]=[o,r]:g.push([o,r]),M?(this.entries=g,this):new ft(t,g)}},gt.prototype.get=function(t,e,n,o){void 0===e&&(e=at(n));var r=1<<((0===t?e:e>>>t)&hn),i=this.bitmap;return 0===(i&r)?o:this.nodes[_t(i&r-1)].get(t+gn,e,n,o)},gt.prototype.update=function(t,e,n,o,r,i,a){void 0===n&&(n=at(o));var u=(0===e?n:n>>>e)&hn,s=1<<u,c=this.bitmap,l=0!==(c&s);if(!l&&r===Nn)return this;var p=_t(c&s-1),d=this.nodes,M=l?d[p]:void 0,f=vt(M,t,e+gn,n,o,r,i,a);if(f===M)return this;if(!l&&f&&d.length>=Wn)return Et(t,d,c,u,f);if(l&&!f&&2===d.length&&zt(d[1^p]))return d[1^p];if(l&&f&&1===d.length&&zt(f))return f;var g=t&&t===this.ownerID,y=l?f?c:c^s:c|s,h=l?f?Ut(d,p,f,g):Qt(d,p,g):Yt(d,p,f,g);return g?(this.bitmap=y,this.nodes=h,this):new gt(t,y,h)},yt.prototype.get=function(t,e,n,o){void 0===e&&(e=at(n));var r=(0===t?e:e>>>t)&hn,i=this.nodes[r];return i?i.get(t+gn,e,n,o):o},yt.prototype.update=function(t,e,n,o,r,i,a){void 0===n&&(n=at(o));var u=(0===e?n:n>>>e)&hn,s=r===Nn,c=this.nodes,l=c[u];if(s&&!l)return this;var p=vt(l,t,e+gn,n,o,r,i,a);if(p===l)return this;var d=this.count;if(l){if(!p&&(d--,d<Fn))return Tt(t,c,d,u)}else d++;var M=t&&t===this.ownerID,f=Ut(c,u,p,M);return M?(this.count=d,this.nodes=f,this):new yt(t,d,f)},ht.prototype.get=function(t,e,n,o){for(var r=this.entries,i=0,a=r.length;i<a;i++)if(X(n,r[i][0]))return r[i][1];return o},ht.prototype.update=function(t,e,n,o,r,i,a){void 0===n&&(n=at(o));var u=r===Nn;if(n!==this.keyHash)return u?this:(d(a),d(i),bt(this,t,e,n,[o,r]));for(var s=this.entries,c=0,l=s.length;c<l&&!X(o,s[c][0]);c++);var p=c<l;if(p?s[c][1]===r:u)return this;if(d(a),(u||!p)&&d(i),u&&2===l)return new Nt(t,this.keyHash,s[1^c]);var M=t&&t===this.ownerID,g=M?s:f(s);return p?u?c===l-1?g.pop():g[c]=g.pop():g[c]=[o,r]:g.push([o,r]),M?(this.entries=g,this):new ht(t,this.keyHash,g)},Nt.prototype.get=function(t,e,n,o){return X(n,this.entry[0])?this.entry[1]:o},Nt.prototype.update=function(t,e,n,o,r,i,a){var u=r===Nn,s=X(o,this.entry[0]);return(s?r===this.entry[1]:u)?this:(d(a),u?void d(i):s?t&&t===this.ownerID?(this.entry[1]=r,this):new Nt(t,this.keyHash,[o,r]):(d(i),bt(this,t,e,at(o),[o,r])))},ft.prototype.iterate=ht.prototype.iterate=function(t,e){for(var n=this.entries,o=0,r=n.length-1;o<=r;o++)if(t(n[e?r-o:o])===!1)return!1},gt.prototype.iterate=yt.prototype.iterate=function(t,e){for(var n=this.nodes,o=0,r=n.length-1;o<=r;o++){var i=n[e?r-o:o];if(i&&i.iterate(t,e)===!1)return!1}},Nt.prototype.iterate=function(t,e){return t(this.entry)},t(Dt,m),Dt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,o=e.node,r=e.index++;if(o.entry){if(0===r)return It(t,o.entry)}else if(o.entries){if(n=o.entries.length-1,r<=n)return It(t,o.entries[this._reverse?n-r:r])}else if(n=o.nodes.length-1,r<=n){var i=o.nodes[this._reverse?n-r:r];if(i){if(i.entry)return It(t,i.entry);e=this._stack=jt(i,e)}continue}e=this._stack=this._stack.__prev}return w()};var Zn,Hn=yn/4,Wn=yn/2,Fn=yn/4;t(Pt,ot),Pt.of=function(){return this(arguments)},Pt.prototype.toString=function(){return this.__toString("List [","]")},Pt.prototype.get=function(t,e){if(t=y(this,t),t>=0&&t<this.size){t+=this._origin;var n=Jt(this,t);return n&&n.array[t&hn]}return e},Pt.prototype.set=function(t,e){return Wt(this,t,e)},Pt.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Pt.prototype.insert=function(t,e){return this.splice(t,0,e)},Pt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=gn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ht()},Pt.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Xt(n,0,e+t.length);for(var o=0;o<t.length;o++)n.set(e+o,t[o])})},Pt.prototype.pop=function(){return Xt(this,0,-1)},Pt.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Xt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},Pt.prototype.shift=function(){return Xt(this,1)},Pt.prototype.merge=function(){return qt(this,void 0,arguments)},Pt.prototype.mergeWith=function(t){var e=cn.call(arguments,1);return qt(this,t,e)},Pt.prototype.mergeDeep=function(){return qt(this,St,arguments)},Pt.prototype.mergeDeepWith=function(t){var e=cn.call(arguments,1);return qt(this,xt(t),e)},Pt.prototype.setSize=function(t){return Xt(this,0,t)},Pt.prototype.slice=function(t,e){var n=this.size;return N(t,e,n)?this:Xt(this,D(t,n),I(e,n))},Pt.prototype.__iterator=function(t,e){var n=0,o=Gt(this,e);return new m(function(){var e=o();return e===qn?w():L(t,n++,e)})},Pt.prototype.__iterate=function(t,e){for(var n,o=0,r=Gt(this,e);(n=r())!==qn&&t(n,o++,this)!==!1;);return o},Pt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Zt(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Pt.isList=Bt;var Vn="@@__IMMUTABLE_LIST__@@",Jn=Pt.prototype;Jn[Vn]=!0,Jn[fn]=Jn.remove,Jn.setIn=Gn.setIn,Jn.deleteIn=Jn.removeIn=Gn.removeIn,Jn.update=Gn.update,Jn.updateIn=Gn.updateIn,Jn.mergeIn=Gn.mergeIn,Jn.mergeDeepIn=Gn.mergeDeepIn,Jn.withMutations=Gn.withMutations,Jn.asMutable=Gn.asMutable,Jn.asImmutable=Gn.asImmutable,Jn.wasAltered=Gn.wasAltered,Rt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var o=n>>>e&hn;if(o>=this.array.length)return new Rt([],t);var r,i=0===o;if(e>0){var a=this.array[o];if(r=a&&a.removeBefore(t,e-gn,n),r===a&&i)return this}if(i&&!r)return this;var u=Vt(this,t);if(!i)for(var s=0;s<o;s++)u.array[s]=void 0;return r&&(u.array[o]=r),u},Rt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var o=n-1>>>e&hn;if(o>=this.array.length)return this;var r;if(e>0){var i=this.array[o];if(r=i&&i.removeAfter(t,e-gn,n),r===i&&o===this.array.length-1)return this}var a=Vt(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var Xn,qn={};t($t,dt),$t.of=function(){return this(arguments)},$t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},$t.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},$t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ne()},$t.prototype.set=function(t,e){return oe(this,t,e)},$t.prototype.remove=function(t){return oe(this,t,Nn)},$t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},$t.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},$t.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},$t.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?ee(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},$t.isOrderedMap=te,$t.prototype[Mn]=!0,$t.prototype[fn]=$t.prototype.remove;var Kn;t(re,k),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=le(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,o=ce(this,t,e);return this._useKeys||(o.valueSeq=function(){return n._iter.toSeq().map(t,e)}),o},re.prototype.__iterate=function(t,e){var n,o=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,o)}:(n=e?be(this):0,function(r){return t(r,e?--n:n++,o)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(mn,e),o=e?be(this):0;return new m(function(){var r=n.next();return r.done?r:L(t,e?--o:o++,r.value,r)})},re.prototype[Mn]=!0,t(ie,S),ie.prototype.includes=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this,o=0;return this._iter.__iterate(function(e){return t(e,o++,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(mn,e),o=0;return new m(function(){var e=n.next();return e.done?e:L(t,o++,e.value,e)})},t(ae,x),ae.prototype.has=function(t){return this._iter.includes(t)},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(mn,e);return new m(function(){var e=n.next();return e.done?e:L(t,e.value,e.value,e)})},t(ue,k),ue.prototype.entrySeq=function(){return this._iter.toSeq()},ue.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){ze(e);var o=a(e);return t(o?e.get(1):e[1],o?e.get(0):e[0],n)}},e)},ue.prototype.__iterator=function(t,e){var n=this._iter.__iterator(mn,e);return new m(function(){for(;;){var e=n.next();if(e.done)return e;var o=e.value;if(o){ze(o);var r=a(o);return L(t,r?o.get(0):o[0],r?o.get(1):o[1],e)}}})},ie.prototype.cacheResult=re.prototype.cacheResult=ae.prototype.cacheResult=ue.prototype.cacheResult=Ee,t(xe,nt),xe.prototype.toString=function(){return this.__toString(Ae(this)+" {","}")},xe.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},xe.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},xe.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Oe(this,Lt()))},xe.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ae(this));if(this._map&&!this._map.has(t)){var n=this._defaultValues[t];if(e===n)return this}var o=this._map&&this._map.set(t,e);return this.__ownerID||o===this._map?this:Oe(this,o)},xe.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Oe(this,e)},xe.prototype.wasAltered=function(){return this._map.wasAltered()},xe.prototype.__iterator=function(t,e){var o=this;return n(this._defaultValues).map(function(t,e){return o.get(e)}).__iterator(t,e)},xe.prototype.__iterate=function(t,e){var o=this;return n(this._defaultValues).map(function(t,e){return o.get(e)}).__iterate(t,e)},xe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Oe(this,e,t):(this.__ownerID=t,this._map=e,this)};var $n=xe.prototype;$n[fn]=$n.remove,$n.deleteIn=$n.removeIn=Gn.removeIn,$n.merge=Gn.merge,$n.mergeWith=Gn.mergeWith,$n.mergeIn=Gn.mergeIn,$n.mergeDeep=Gn.mergeDeep,$n.mergeDeepWith=Gn.mergeDeepWith,$n.mergeDeepIn=Gn.mergeDeepIn,$n.setIn=Gn.setIn,$n.update=Gn.update,$n.updateIn=Gn.updateIn,$n.withMutations=Gn.withMutations, +$n.asMutable=Gn.asMutable,$n.asImmutable=Gn.asImmutable,t(Ye,rt),Ye.of=function(){return this(arguments)},Ye.fromKeys=function(t){return this(n(t).keySeq())},Ye.prototype.toString=function(){return this.__toString("Set {","}")},Ye.prototype.has=function(t){return this._map.has(t)},Ye.prototype.add=function(t){return Pe(this,this._map.set(t,!0))},Ye.prototype.remove=function(t){return Pe(this,this._map.remove(t))},Ye.prototype.clear=function(){return Pe(this,this._map.clear())},Ye.prototype.union=function(){var t=cn.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)r(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Ye.prototype.intersect=function(){var t=cn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return r(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Ye.prototype.subtract=function(){var t=cn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return r(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Ye.prototype.merge=function(){return this.union.apply(this,arguments)},Ye.prototype.mergeWith=function(t){var e=cn.call(arguments,1);return this.union.apply(this,e)},Ye.prototype.sort=function(t){return Ge(je(this,t))},Ye.prototype.sortBy=function(t,e){return Ge(je(this,e,t))},Ye.prototype.wasAltered=function(){return this._map.wasAltered()},Ye.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,o){return t(o,o,n)},e)},Ye.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Ye.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},Ye.isSet=Qe;var to="@@__IMMUTABLE_SET__@@",eo=Ye.prototype;eo[to]=!0,eo[fn]=eo.remove,eo.mergeDeep=eo.merge,eo.mergeDeepWith=eo.mergeWith,eo.withMutations=Gn.withMutations,eo.asMutable=Gn.asMutable,eo.asImmutable=Gn.asImmutable,eo.__empty=Re,eo.__make=Be;var no;t(Ge,Ye),Ge.of=function(){return this(arguments)},Ge.fromKeys=function(t){return this(n(t).keySeq())},Ge.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ge.isOrderedSet=Ze;var oo=Ge.prototype;oo[Mn]=!0,oo.__empty=We,oo.__make=He;var ro;t(Fe,ot),Fe.of=function(){return this(arguments)},Fe.prototype.toString=function(){return this.__toString("Stack [","]")},Fe.prototype.get=function(t,e){var n=this._head;for(t=y(this,t);n&&t--;)n=n.next;return n?n.value:e},Fe.prototype.peek=function(){return this._head&&this._head.value},Fe.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Je(t,e)},Fe.prototype.pushAll=function(t){if(t=o(t),0===t.size)return this;pt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Je(e,n)},Fe.prototype.pop=function(){return this.slice(1)},Fe.prototype.unshift=function(){return this.push.apply(this,arguments)},Fe.prototype.unshiftAll=function(t){return this.pushAll(t)},Fe.prototype.shift=function(){return this.pop.apply(this,arguments)},Fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Xe()},Fe.prototype.slice=function(t,e){if(N(t,e,this.size))return this;var n=D(t,this.size),o=I(e,this.size);if(o!==this.size)return ot.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Je(r,i)},Fe.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Je(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Fe.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,o=this._head;o&&t(o.value,n++,this)!==!1;)o=o.next;return n},Fe.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,o=this._head;return new m(function(){if(o){var e=o.value;return o=o.next,L(t,n++,e)}return w()})},Fe.isStack=Ve;var io="@@__IMMUTABLE_STACK__@@",ao=Fe.prototype;ao[io]=!0,ao.withMutations=Gn.withMutations,ao.asMutable=Gn.asMutable,ao.asImmutable=Gn.asImmutable,ao.wasAltered=Gn.wasAltered;var uo;e.Iterator=m,qe(e,{toArray:function(){pt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new ie(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,!0)},toMap:function(){return dt(this.toKeyedSeq())},toObject:function(){pt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return $t(this.toKeyedSeq())},toOrderedSet:function(){return Ge(u(this)?this.valueSeq():this)},toSet:function(){return Ye(u(this)?this.valueSeq():this)},toSetSeq:function(){return new ae(this)},toSeq:function(){return s(this)?this.toIndexedSeq():u(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Fe(u(this)?this.valueSeq():this)},toList:function(){return Pt(u(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var t=cn.call(arguments,0);return ve(this,he(this,t))},includes:function(t){return this.some(function(e){return X(e,t)})},entries:function(){return this.__iterator(Ln)},every:function(t,e){pt(this.size);var n=!0;return this.__iterate(function(o,r,i){if(!t.call(e,o,r,i))return n=!1,!1}),n},filter:function(t,e){return ve(this,pe(this,t,e,!0))},find:function(t,e,n){var o=this.findEntry(t,e);return o?o[1]:n},forEach:function(t,e){return pt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){pt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(o){n?n=!1:e+=t,e+=null!==o&&void 0!==o?o.toString():""}),e},keys:function(){return this.__iterator(jn)},map:function(t,e){return ve(this,ce(this,t,e))},reduce:function(t,e,n){pt(this.size);var o,r;return arguments.length<2?r=!0:o=e,this.__iterate(function(e,i,a){r?(r=!1,o=e):o=t.call(n,o,e,i,a)}),o},reduceRight:function(t,e,n){var o=this.toKeyedSeq().reverse();return o.reduce.apply(o,arguments)},reverse:function(){return ve(this,le(this,!0))},slice:function(t,e){return ve(this,fe(this,t,e,!0))},some:function(t,e){return!this.every(tn(t),e)},sort:function(t){return ve(this,je(this,t))},values:function(){return this.__iterator(mn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return g(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return de(this,t,e)},equals:function(t){return q(this,t)},entrySeq:function(){var t=this;if(t._cache)return new O(t._cache);var e=t.toSeq().map($e).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(tn(t),e)},findEntry:function(t,e,n){var o=n;return this.__iterate(function(n,r,i){if(t.call(e,n,r,i))return o=[r,n],!1}),o},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(h)},flatMap:function(t,e){return ve(this,De(this,t,e))},flatten:function(t){return ve(this,Ne(this,t,!0))},fromEntrySeq:function(){return new ue(this)},get:function(t,e){return this.find(function(e,n){return X(n,t)},void 0,e)},getIn:function(t,e){for(var n,o=this,r=Se(t);!(n=r.next()).done;){var i=n.value;if(o=o&&o.get?o.get(i,Nn):Nn,o===Nn)return e}return o},groupBy:function(t,e){return Me(this,t,e)},has:function(t){return this.get(t,Nn)!==Nn},hasIn:function(t){return this.getIn(t,Nn)!==Nn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return X(e,t)})},keySeq:function(){return this.toSeq().map(Ke).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return me(this,t)},maxBy:function(t,e){return me(this,e,t)},min:function(t){return me(this,t?en(t):rn)},minBy:function(t,e){return me(this,e?en(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return ve(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return ve(this,ye(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(tn(t),e)},sortBy:function(t,e){return ve(this,je(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return ve(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return ve(this,ge(this,t,e))},takeUntil:function(t,e){return this.takeWhile(tn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=an(this))}});var so=e.prototype;so[ln]=!0,so[zn]=so.values,so.__toJS=so.toArray,so.__toStringMapper=nn,so.inspect=so.toSource=function(){return this.toString()},so.chain=so.flatMap,so.contains=so.includes,qe(n,{flip:function(){return ve(this,se(this))},mapEntries:function(t,e){var n=this,o=0;return ve(this,this.toSeq().map(function(r,i){return t.call(e,[i,r],o++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return ve(this,this.toSeq().flip().map(function(o,r){return t.call(e,o,r,n)}).flip())}});var co=n.prototype;co[pn]=!0,co[zn]=so.entries,co.__toJS=so.toObject,co.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+nn(t)},qe(o,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return ve(this,pe(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return ve(this,le(this,!1))},slice:function(t,e){return ve(this,fe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=D(t,t<0?this.count():this.size);var o=this.slice(0,t);return ve(this,1===n?o:o.concat(f(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return ve(this,Ne(this,t,!1))},get:function(t,e){return t=y(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return t=y(this,t),t>=0&&(void 0!==this.size?this.size===1/0||t<this.size:this.indexOf(t)!==-1)},interpose:function(t){return ve(this,Ie(this,t))},interleave:function(){var t=[this].concat(f(arguments)),e=we(this.toSeq(),S.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),ve(this,n)},keySeq:function(){return tt(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return ve(this,ye(this,t,e,!1))},zip:function(){var t=[this].concat(f(arguments));return ve(this,we(this,on,t))},zipWith:function(t){var e=f(arguments);return e[0]=this,ve(this,we(this,t,e))}}),o.prototype[dn]=!0,o.prototype[Mn]=!0,qe(r,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),r.prototype.has=so.includes,r.prototype.contains=r.prototype.includes,qe(k,n.prototype),qe(S,o.prototype),qe(x,r.prototype),qe(nt,n.prototype),qe(ot,o.prototype),qe(rt,r.prototype);var lo={Iterable:e,Seq:E,Collection:et,Map:dt,OrderedMap:$t,List:Pt,Stack:Fe,Set:Ye,OrderedSet:Ge,Record:xe,Range:tt,Repeat:K,is:X,fromJS:W};return lo})},function(t,e){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};t.exports=o},function(t,e,n){(function(t){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){return t=$(t,P.default.fromJS(l(e))),t=_(t)}function a(t,e){var n=void 0===t[e]||"boolean"==typeof t[e];return n||R.warn(t,"The `"+e+"` option will be ignored, because it is not a booelan."),n}function u(t,e,n){var o=void 0===t[e]||n.indexOf(t[e])>-1;return o||R.warn(t,"The `"+e+"` option will be ignored, because it is not one of the following allowed values: "+n.map(function(t){return JSON.stringify(t)}).join(", ")+"."),o}function s(t,e){var n=void 0===t[e]||"string"==typeof t[e]&&(0,V.default)(t[e]).length>0;return n||R.warn(t,"The `"+e+"` option will be ignored, because it is not a non-empty string."),n}function c(e,n){var o=void 0===e[n]||t.Array.isArray(e[n]);return o||R.warn(e,"The `"+n+"` option will be ignored, because it is not an array."),o}function l(e){var n=e.additionalSignUpFields,o=e.defaultDatabaseConnection,r=e.forgotPasswordLink,i=e.loginAfterSignUp,l=e.mustAcceptTerms,d=e.signUpLink,M=e.usernameStyle,f=p(e),g=f.initialScreen,y=f.screens;return u(e,"usernameStyle",["email","username"])||(M=void 0),s(e,"defaultDatabaseConnection")||(o=void 0),s(e,"forgotPasswordLink")||(r=void 0),s(e,"signUpLink")||(d=void 0),a(e,"mustAcceptTerms")||(l=void 0),c(e,"additionalSignUpFields")?n&&(n=n.reduce(function(n,o){var r=o.icon,i=o.name,a=o.options,u=o.placeholder,s=o.prefill,c=o.type,l=o.validator,p=!0,d=["email","username","password"];("string"!=typeof i||!i.match(/^[a-zA-Z0-9_]+$/)||d.indexOf(i)>-1)&&(R.warn(e,"Ignoring an element of `additionalSignUpFields` because it does not contain valid `name` property. Every element of `additionalSignUpFields` must be an object with a `name` property that is a non-empty string consisting of letters, numbers and underscores. The following names are reserved, and therefore, cannot be used: "+d.join(", ")+"."),p=!1),"string"==typeof u&&u||(R.warn(e,"Ignoring an element of `additionalSignUpFields` because it does not contain a valid `placeholder` property. Every element of `additionalSignUpFields` must have a `placeholder` property that is a non-empty string."),p=!1),void 0==r||"string"==typeof r&&r||(R.warn(e,"When provided, the `icon` property of an element of `additionalSignUpFields` must be a non-empty string."),r=void 0),void 0==s||"string"==typeof s&&s||"function"==typeof s||(R.warn(e,"When provided, the `prefill` property of an element of `additionalSignUpFields` must be a non-empty string or a function."),s=void 0);var M=["select","text"];return void 0==c||"string"==typeof c&&M.indexOf(c)!==-1||(R.warn(e,'When provided, the `type` property of an element of `additionalSignUpFields` must be one of the following strings: "'+M.join('", "')+'".'),c=void 0),void 0!=l&&"select"===c&&(R.warn(e,'Elements of `additionalSignUpFields` with a "select" `type` cannot specify a `validator` function, all of its `options` are assumed to be valid.'),l=void 0),void 0!=l&&"function"!=typeof l&&(R.warn(e,"When provided, the `validator` property of an element of `additionalSignUpFields` must be a function."),l=void 0),void 0!=a&&"select"!=c&&(R.warn(e,'The `options` property can only by provided for an element of `additionalSignUpFields` when its `type` equals to "select"'),a=void 0),(void 0!=a&&!t.Array.isArray(a)&&"function"!=typeof a||"select"===c&&void 0===a)&&(R.warn(e,'Ignoring an element of `additionalSignUpFields` because it has a "select" `type` but does not specify an `options` property that is an Array or a function.'),p=!1),p?n.concat([{icon:r,name:i,options:a,placeholder:u,prefill:s,type:c,validator:l}]):n},[]),n=P.default.fromJS(n).map(function(t){return t.filter(function(t){return void 0!==t})})):n=void 0,i=i!==!1,(0,Q.Map)({additionalSignUpFields:n,defaultConnectionName:o,forgotPasswordLink:r,initialScreen:g,loginAfterSignUp:i,mustAcceptTerms:l,screens:y,signUpLink:d,usernameStyle:M}).filter(function(t){return"undefined"!=typeof t}).toJS()}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{allowLogin:!0,allowSignUp:!0,allowForgotPassword:!0,initialScreen:void 0},n=t.allowForgotPassword,o=t.allowLogin,r=t.allowSignUp,i=t.initialScreen,s=[];return(o===!0||!a(t,"allowLogin")&&e.allowLogin||void 0===o&&e.allowLogin)&&s.push("login"),(r===!0||!a(t,"allowSignUp")&&e.allowSignUp||void 0===r&&e.allowSignUp)&&s.push("signUp"),(n===!0||!a(t,"allowForgotPassword")&&e.allowForgotPassword||void 0===n&&e.allowForgotPassword)&&s.push("forgotPassword"),s.push("mfaLogin"),u(t,"initialScreen",s)||(i=void 0),void 0===i&&(i=e.initialScreen||s[0]),{initialScreen:i,screens:new Q.List(s)}}function d(t,e){var n=p(e,{allowLogin:j(t).contains("login"),allowSignUp:j(t).contains("signUp"),allowForgotPassword:j(t).contains("forgotPassword"),initialScreen:K(t,"initialScreen")}),o=n.initialScreen,r=n.screens;return t=et(t,"initialScreen",o),t=et(t,"screens",r)}function M(t){var e=f(t);return e&&R.findConnection(t,e)}function f(t){return K(t,"defaultConnectionName")}function g(t){return(0,J.defaultDirectory)(t)||M(t)||R.connection(t,"database")}function y(t){return(g(t)||(0,Q.Map)()).get("name")}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return K(t,"forgotPasswordLink",e)}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return K(t,"signUpLink",e)}function D(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t=R.clearGlobalError(t),t=R.clearGlobalSuccess(t),t=(0,G.clearFields)(t,n),et(t,"screen",e)}function I(t){var e=tt(t,"screen"),n=m(t),o=[e,n,"login","signUp","forgotPassword","mfaLogin"],r=o.filter(function(e){return T(t,e)});return r[0]}function j(t){return tt(t,"screens")||K(t,"screens",new Q.List)}function m(t){return tt(t,"initialScreen")||K(t,"initialScreen")}function L(t,e){return m(t)===e}function w(t){return(g(t)||(0,Q.Map)()).toJS().requireUsername}function v(t){return R.hasSomeConnections(t,"database")?w(t)?K(t,"usernameStyle","any"):"email":R.hasSomeConnections(t,"enterprise")&&(0,X.findADConnectionWithoutDomain)(t)?"username":"email"}function z(t){return"email"===v(t)}function b(t){return(0,G.getFieldValue)(t,z(t)?"email":"username")}function C(t){return w(t)||"username"===K(t,"usernameStyle","email")}function T(t,e){var n=(g(t)||(0,Q.Map)()).toJS(),o=n.allowForgot,r=n.allowSignup;return!(o===!1&&"forgotPassword"===e)&&!(r===!1&&"signUp"===e)&&j(t).contains(e)}function E(t){return K(t,"loginAfterSignUp")}function k(t){return(g(t)||(0,Q.Map)()).get("passwordPolicy","none")}function S(t){return K(t,"additionalSignUpFields",(0,Q.List)())}function x(t){return K(t,"mustAcceptTerms",!1)}function O(t){return!x(t)||tt(t,"termsAccepted",!1)}function A(t){return et(t,"termsAccepted",!O(t))}function _(t){return S(t).reduce(function(t,e){return"select"===e.get("type")?U(t,e):Y(t,e)},t)}function U(t,e){var n=e.get("name"),o=["additionalSignUpField",n],r=e.get("prefill"),i=e.get("options"),a="function"==typeof r?void 0:r||"",u="function"==typeof i?void 0:i,s=function(t){return void 0!==a&&void 0!==u?(0,G.registerOptionField)(t,n,P.default.fromJS(u),a):t};return void 0===a&&(t=(0,W.default)(t,o.concat("prefill"),{recoverResult:"",successFn:function(t,e){return a=e,s(t)},syncFn:function(t,e){return r(e)}})),void 0===u&&(t=(0,W.default)(t,o.concat("options"),{successFn:function(t,e){return u=e,s(t)},syncFn:function(t,e){return i(e)}})),void 0!==a&&void 0!==u&&(t=(0,G.registerOptionField)(t,n,P.default.fromJS(u),a)),t}function Y(t,e){var n=e.get("name"),o=["additionalSignUpField",n,"prefill"],r=e.get("prefill"),i=e.get("validator"),a="function"==typeof r?void 0:r||"";return t=void 0===a?(0,W.default)(t,o,{recoverResult:"",successFn:function(t,e){return(0,G.setField)(t,n,e,i)},syncFn:function(t,e){return r(e)}}):(0,G.setField)(t,n,a,i)}e.__esModule=!0,e.initDatabase=i,e.overrideDatabaseOptions=d,e.defaultDatabaseConnection=M,e.defaultDatabaseConnectionName=f,e.databaseConnection=g,e.databaseConnectionName=y,e.forgotPasswordLink=h,e.signUpLink=N,e.setScreen=D,e.getScreen=I,e.availableScreens=j,e.getInitialScreen=m,e.hasInitialScreen=L,e.databaseConnectionRequiresUsername=w,e.databaseUsernameStyle=v,e.databaseLogInWithEmail=z,e.databaseUsernameValue=b,e.authWithUsername=C,e.hasScreen=T,e.shouldAutoLogin=E,e.passwordStrengthPolicy=k,e.additionalSignUpFields=S,e.mustAcceptTerms=x,e.termsAccepted=O,e.toggleTermsAcceptance=A,e.resolveAdditionalSignUpFields=_;var Q=n(9),P=r(Q),B=n(2),R=o(B),G=n(8),Z=n(17),H=n(45),W=r(H),F=n(25),V=r(F),J=n(81),X=n(23),q=(0,Z.dataFns)(["database"]),K=q.get,$=q.initNS,tt=q.tget,et=q.tset}).call(e,function(){return this}())},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n){i(t+"-"+e,function(t,o,r){var i=p(r,"lock",e),a=p(o,"lock",e);i!=a&&n(i)})}function i(t,e){D.addWatch(t,e)}function a(t){D.removeWatch(t)}function u(){return D.swap.apply(D,arguments)}function s(t,e,n,o){for(var r=arguments.length,i=Array(r>4?r-4:0),a=4;a<r;a++)i[a-4]=arguments[a];return t.updateIn([e,n],new N.Map({}),function(t){return o.apply(void 0,[t].concat(i))})}function c(t,e,n,o){return t.setIn([e,n],o)}function l(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return t.apply(void 0,[D.deref()].concat(n))}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t.getIn([e,n])}function d(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t.removeIn([e,n])}function M(t,e){return t.get(e,(0,N.Map)()).toList()}function f(t,e,n){for(var o=arguments.length,r=Array(o>3?o-3:0),i=3;i<o;i++)r[i-3]=arguments[i];return t.update(e,function(t){return n.apply(void 0,[t].concat(r))})}function g(){return D.deref()}e.__esModule=!0,e.observe=r,e.subscribe=i,e.unsubscribe=a,e.swap=u,e.updateEntity=s,e.setEntity=c,e.read=l,e.getEntity=p,e.removeEntity=d,e.getCollection=M,e.updateCollection=f,e.getState=g;var y=n(322),h=o(y),N=n(9),D=(0,h.default)(new N.Map({}))},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){for(var n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return h.format.apply(void 0,[b(t,["strings"].concat(e),"")].concat(o))}function a(t,e){for(var n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var a=i.apply(void 0,[t,e].concat(o));return a?f.default.createElement("span",{dangerouslySetInnerHTML:{__html:a}}):null}function u(t,e){return b(t,["strings"].concat(e),(0,g.Map)()).toJS()}function s(t){var e=j.ui.language(t),n=j.ui.dict(t),o=y.default.fromJS(w.default),r=T[e]||(0,g.Map)({});return r.isEmpty()?(r=n,t=(0,D.default)(t,"i18n",{syncFn:function(n,o){return l(t,e,o)},successFn:function(t,r){p(e,r);var i=y.default.fromJS(r).mergeDeep(n);return c(t,i.toJS(),w.default),C(t,"strings",o.mergeDeep(i))}})):c(t,r.toJS(),w.default),r=o.mergeDeep(r).mergeDeep(n),C(t,"strings",r)}function c(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";Object.keys(n).forEach(function(r){e.hasOwnProperty(r)?"object"===d(n[r])&&c(t,e[r],n[r],""+o+r+"."):j.warn(t,"language does not have property "+o+r)})}function l(t,e,n){(0,v.load)({method:"registerLanguageDictionary",url:j.languageBaseUrl(t)+"/js/lock/10.8.1/"+e+".js",check:function(t){return t&&t===e},cb:function(t,e,o){n(t,o)}})}function p(t,e){T[t]=y.default.fromJS(e)}e.__esModule=!0;var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.str=i,e.html=a,e.group=u,e.initI18n=s;var M=n(1),f=r(M),g=n(9),y=r(g),h=n(79),N=n(45),D=r(N),I=n(2),j=o(I),m=n(17),L=n(309),w=r(L),v=n(90),z=(0,m.dataFns)(["i18n"]),b=z.get,C=z.set,T=[];p("en",w.default),(0,v.preload)({method:"registerLanguageDictionary",cb:p})},function(t,e,n){"use strict";var o=null;t.exports={debugTool:o}},function(t,e,n){"use strict";function o(){b.ReactReconcileTransaction&&j?void 0:l("123")}function r(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=d.getPooled(),this.reconcileTransaction=b.ReactReconcileTransaction.getPooled(!0)}function i(t,e,n,r,i,a){return o(),j.batchedUpdates(t,e,n,r,i,a)}function a(t,e){return t._mountOrder-e._mountOrder}function u(t){var e=t.dirtyComponentsLength;e!==h.length?l("124",e,h.length):void 0,h.sort(a),N++;for(var n=0;n<e;n++){var o=h[n],r=o._pendingCallbacks;o._pendingCallbacks=null;var i;if(f.logTopLevelRenders){var u=o;o._currentElement.type.isReactTopLevelWrapper&&(u=o._renderedComponent),i="React update: "+u.getName(),console.time(i)}if(g.performUpdateIfNecessary(o,t.reconcileTransaction,N),i&&console.timeEnd(i),r)for(var s=0;s<r.length;s++)t.callbackQueue.enqueue(r[s],o.getPublicInstance())}}function s(t){return o(),j.isBatchingUpdates?(h.push(t),void(null==t._updateBatchNumber&&(t._updateBatchNumber=N+1))):void j.batchedUpdates(s,t)}function c(t,e){j.isBatchingUpdates?void 0:l("125"),D.enqueue(t,e),I=!0}var l=n(4),p=n(7),d=n(98),M=n(27),f=n(104),g=n(34),y=n(49),h=(n(3),[]),N=0,D=d.getPooled(),I=!1,j=null,m={initialize:function(){this.dirtyComponentsLength=h.length},close:function(){this.dirtyComponentsLength!==h.length?(h.splice(0,this.dirtyComponentsLength),v()):h.length=0}},L={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},w=[m,L];p(r.prototype,y,{getTransactionWrappers:function(){return w},destructor:function(){this.dirtyComponentsLength=null,d.release(this.callbackQueue),this.callbackQueue=null,b.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,e,n){return y.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),M.addPoolingTo(r);var v=function(){for(;h.length||I;){if(h.length){var t=r.getPooled();t.perform(u,null,t),r.release(t)}if(I){I=!1;var e=D;D=d.getPooled(),e.notifyAll(),d.release(e)}}},z={injectReconcileTransaction:function(t){t?void 0:l("126"),b.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t?void 0:l("127"),"function"!=typeof t.batchedUpdates?l("128"):void 0,"boolean"!=typeof t.isBatchingUpdates?l("129"):void 0,j=t}},b={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:s,flushBatchedUpdates:v,injection:z,asap:c};t.exports=b},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var i=n(2),a=(o(i),n(13)),u=o(a),s=function(){function t(e){r(this,t),this.name=e}return t.prototype.backHandler=function(){return null},t.prototype.escHandler=function(){return null},t.prototype.submitButtonLabel=function(t){return u.str(t,["submitLabel"])},t.prototype.submitHandler=function(){return null},t.prototype.renderAuxiliaryPane=function(){return null},t.prototype.renderTabs=function(){return!1},t.prototype.renderTerms=function(){return null},t}();e.default=s},function(t,e,n){"use strict";function o(t){function e(t,e){return t.concat("object"===("undefined"==typeof e?"undefined":r(e))?e:[e])}function n(t){return function(n,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return n.getIn(e(t,o),r)}}function o(t){return function(n,o,r){return n.setIn(e(t,o),r)}}function a(t){return function(n,o){return n.removeIn(e(t,o))}}var u=t.concat(["transient"]);return{get:n(t),set:o(t),remove:a(t),tget:n(u),tset:o(u),tremove:a(u),reset:function(t){return t.map(function(t){return i.Map.isMap(t)?t.remove("transient"):t})},init:function(e,n){return new i.Map({id:e}).setIn(t,n)},initNS:function(e,n){return e.setIn(t,n)}}}e.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.dataFns=o;var i=n(9)},function(t,e,n){"use strict";function o(t,e,n,o){this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n;var r=this.constructor.Interface;for(var i in r)if(r.hasOwnProperty(i)){var u=r[i];u?this[i]=u(n):"target"===i?this.target=o:this[i]=n[i]}var s=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return s?this.isDefaultPrevented=a.thatReturnsTrue:this.isDefaultPrevented=a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var r=n(7),i=n(27),a=n(19),u=(n(5),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),s={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};r(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var e in t)this[e]=null;for(var n=0;n<u.length;n++)this[u[n]]=null}}),o.Interface=s,o.augmentClass=function(t,e){var n=this,o=function(){};o.prototype=n.prototype;var a=new o;r(a,t.prototype),t.prototype=a,t.prototype.constructor=t,t.Interface=r({},n.Interface,e),t.augmentClass=n.augmentClass,i.addPoolingTo(t,i.fourArgumentPooler)},i.addPoolingTo(o,i.fourArgumentPooler),t.exports=o},function(t,e){"use strict";function n(t){return function(){return t}}var o=function(){};o.thatReturns=n,o.thatReturnsFalse=n(!1),o.thatReturnsTrue=n(!0),o.thatReturnsNull=n(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,n){"use strict";var o=n(37),r=n(264),i=n(75),a=n(269),u=n(265),s=n(266),c=n(35),l=n(267),p=n(273),d=n(129),M=(n(22),c.createElement),f=c.createFactory,g=c.cloneElement,y=o,h={Children:{map:r.map,forEach:r.forEach,count:r.count,toArray:r.toArray,only:d},Component:i,PureComponent:a,createElement:M,cloneElement:g,isValidElement:c.isValidElement,PropTypes:l,createClass:u.createClass,createFactory:f,createMixin:function(t){return t},DOM:s,version:p,__spread:y};t.exports=h},function(t,e){"use strict";var n={current:null};t.exports=n},[332,52],function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]); +return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){return x(t,w.default.fromJS(a(e)))}function a(t){var e=t.defaultEnterpriseConnection;return void 0!=e&&"string"!=typeof e&&(z.warn(options,"The `defaultEnterpriseConnection` option will be ignored, because it is not a string."),e=void 0),void 0===e?{}:{defaultConnectionName:e}}function u(t){var e=s(t);return e&&g(t,e)}function s(t){return S(t,"defaultConnectionName")}function c(t){if(m(t)){var e=O(t,"hrdEmail","");return l(t,e)||y(t)}return u(t)||g(t)}function l(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=(0,T.emailDomain)(e);return!!o&&z.connections.apply(z,[t,"enterprise"].concat(n)).find(function(t){return t.get("domains").contains(o)})}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!!l(t,e,n)}function d(t){return D(t)?z.connections(t,"enterprise").getIn([0,"domains",0]):(0,T.emailDomain)(O(t,"hrdEmail"))}function M(t){return!f(t)&&z.hasOneConnection(t,"enterprise")?z.connections(t,"enterprise").get(0):null}function f(t){return z.hasSomeConnections(t,"enterprise","ad","auth0-adldap")}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return z.connections(t,"enterprise","ad","auth0-adldap").find(function(t){return t.get("domains").isEmpty()&&(!e||t.get("name")===e)})}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return z.connections(t,"enterprise","ad","auth0-adldap").find(function(t){return!e||t.get("name")===e})}function h(t){return void 0!==N(t)}function N(t){var e=t.getIn(["sso","connection"]),n=t.getIn(["sso","strategy"]);return e&&w.default.Map({name:e,strategy:n})}function D(t){return f(t)&&1===z.connections(t).count()}function I(t,e){return p(t,e,["ad","auth0-adldap"])}function j(t,e){if(e){var n=z.defaultADUsernameFromEmailPrefix(t)?(0,T.emailLocalPart)(e):e;t=(0,E.setUsername)(t,n,"username",!1),t=_(t,"hrdEmail",e)}else t=A(t,"hrdEmail");return _(t,"hrd",!!e)}function m(t){return O(t,"hrd",D(t))}e.__esModule=!0,e.STRATEGIES=void 0,e.initEnterprise=i,e.defaultEnterpriseConnection=u,e.defaultEnterpriseConnectionName=s,e.enterpriseActiveFlowConnection=c,e.matchConnection=l,e.isEnterpriseDomain=p,e.enterpriseDomain=d,e.quickAuthConnection=M,e.isADEnabled=f,e.findADConnectionWithoutDomain=g,e.isInCorpNetwork=h,e.corpNetworkConnection=N,e.isSingleHRDConnection=D,e.isHRDDomain=I,e.toggleHRD=j,e.isHRDActive=m;var L=n(9),w=r(L),v=n(2),z=o(v),b=n(8),C=(o(b),n(17)),T=n(26),E=n(85),k=(0,C.dataFns)(["enterprise"]),S=k.get,x=k.initNS,O=k.tget,A=k.tremove,_=k.tset;e.STRATEGIES={ad:"AD / LDAP",adfs:"ADFS","auth0-adldap":"AD/LDAP",custom:"Custom Auth","google-apps":"Google Apps",ip:"IP Address",mscrm:"Dynamics CRM",office365:"Office365",pingfederate:"Ping Federate",samlp:"SAML",sharepoint:"SharePoint Apps",waad:"Windows Azure AD"}},function(t,e,n){(function(t,o){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e,n,o,r,i){var a=b.setup(t,e,n,o,r,i);return a=(0,v.syncRemoteData)(a),(0,C.img)(b.ui.logo(a)||T.defaultProps.logo),L.default.setupClient(t,e,n,b.withAuthOptions(a,I({},o,{popupOptions:b.ui.popupOptions(a)}))),a=b.runHook(a,"didInitialize",o),(0,w.swap)(w.setEntity,"lock",t,a),a}function u(){var e=t.location.hash,n=(0,w.read)(w.getCollection,"lock"),o=n.filter(function(t){return b.auth.redirect(t)&&s(t,e)}),r=n.filter(function(t){return!b.hashCleanup(t)}).size>0;o.size>0&&!r&&(t.location.hash="")}function s(t,e){var n=L.default.parseHash(b.id(t),e);b.emitHashParsedEvent(t,n);var o=void 0,r=void 0;return n&&(n.error?o=n:n.hasOwnProperty("error")||(r=n),o?b.emitAuthorizationErrorEvent(t,o):r&&b.emitAuthenticatedEvent(t,r)),!(!o&&!r)}function c(t,e){var n=(0,w.read)(w.getEntity,"lock",t);if(!n)throw new Error("The Lock can't be opened again after it has been destroyed");if(b.rendering(n))return!1;if(e.flashMessage){if(!e.flashMessage.type||["error","success"].indexOf(e.flashMessage.type)===-1)return b.emitUnrecoverableErrorEvent(n,"'flashMessage' must provide a valid type ['error','success']");if(!e.flashMessage.text)return b.emitUnrecoverableErrorEvent(n,"'flashMessage' must provide a text")}return b.emitEvent(n,"show"),(0,w.swap)(w.updateEntity,"lock",t,function(t){return t=b.overrideOptions(t,e),t=b.filterConnections(t),t=b.runHook(t,"willShow",e),b.render(t)}),!0}function l(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=(0,w.read)(w.getEntity,"lock",t);(b.ui.closable(o)||e)&&b.rendering(o)&&(b.emitEvent(o,"hide"),b.ui.appendContainer(o)?((0,w.swap)(w.updateEntity,"lock",t,b.stopRendering),setTimeout(function(){(0,w.swap)(w.updateEntity,"lock",t,function(t){return t=(0,E.hideInvalidFields)(t),t=b.reset(t)}),o=(0,w.read)(w.getEntity,"lock",t),n(o)},1e3)):((0,w.swap)(w.updateEntity,"lock",t,function(t){return t=(0,E.hideInvalidFields)(t),t=b.reset(t)}),n(o)))}function p(t){(0,w.swap)(w.updateEntity,"lock",t,b.stopRendering),(0,w.swap)(w.removeEntity,"lock",t)}function d(t,e){return(0,w.swap)(w.updateEntity,"lock",t,e)}function M(t){var e=(0,w.read)(w.getEntity,"lock",t);e.get("isLoadingPanePinned")||(0,w.swap)(w.updateEntity,"lock",t,function(t){return t.set("isLoadingPanePinned",!0)})}function f(t){(0,w.swap)(w.updateEntity,"lock",t,function(t){return t.set("isLoadingPanePinned",!1)})}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];(0,w.swap)(w.updateEntity,"lock",t,function(t){var n=e.reduce(function(e,n){return e&&(0,E.isFieldValid)(t,n)},!0);return n?b.setSubmitting(t,!0):e.reduce(function(t,e){return(0,E.showInvalidField)(t,e)},t)});var o=(0,w.read)(w.getEntity,"lock",t);b.submitting(o)&&n(o)}function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(t,e,n,o){return o()};g(t,e,function(r){L.default.logIn(t,n,b.auth.params(r).toJS(),function(n,r){n?setTimeout(function(){return N(t,e,n,o)},250):h(t,r)})})}function h(t,e){var n=(0,w.read)(w.getEntity,"lock",t);b.ui.autoclose(n)?l(t,!1,function(t){return b.emitAuthenticatedEvent(t,e)}):((0,w.swap)(w.updateEntity,"lock",t,function(t){return t=b.setSubmitting(t,!1),b.setLoggedIn(t,!0)}),b.emitAuthenticatedEvent(n,e))}function N(t,e,n,r){r(t,n,e,function(){return o.nextTick(function(){var o=(0,w.read)(w.getEntity,"lock",t),r=b.loginErrorMessage(o,n,D(e));["blocked_user","rule_error","lock.unauthorized"].indexOf(n.code)>-1&&b.emitAuthorizationErrorEvent(o,n),(0,w.swap)(w.updateEntity,"lock",t,b.setSubmitting,!1,r)})}),(0,w.swap)(w.updateEntity,"lock",t,b.setSubmitting,!1)}function D(t){if(t)return~t.indexOf("vcode")?"code":~t.indexOf("username")?"username":~t.indexOf("email")?"email":void 0}e.__esModule=!0;var I=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.setupLock=a,e.handleAuthCallback=u,e.openLock=c,e.closeLock=l,e.removeLock=p,e.updateLock=d,e.pinLoadingPane=M,e.unpinLoadingPane=f,e.validateAndSubmit=g,e.logIn=y,e.logInSuccess=h;var j=n(9),m=(i(j),n(53)),L=i(m),w=n(12),v=n(296),z=n(2),b=r(z),C=n(146),T=n(142),E=n(8)}).call(e,function(){return this}(),n(29))},function(t,e){"use strict";function n(t){return t.replace(/^\s*|\s*$/g,"")}e=t.exports=n,e.left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t){var e=p.exec((0,c.default)(t.toLowerCase()));return e&&e[0]}function i(t,e){return(0,l.setField)(t,"email",e,r)}function a(t){var e=p.exec((0,c.default)(t.toLowerCase()));return e?e.slice(-2)[0]:""}function u(t){var e=a(t);return e?t.slice(0,-1-e.length):t}e.__esModule=!0,e.validateEmail=r,e.setEmail=i,e.emailDomain=a,e.emailLocalPart=u;var s=n(25),c=o(s),l=n(8),p=(n(91),/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)},[331,4,3],3,function(t,e){"use strict";function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(p===clearTimeout)return clearTimeout(t);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function a(){g&&M&&(g=!1,M.length?f=M.concat(f):y=-1,f.length&&u())}function u(){if(!g){var t=r(a);g=!0;for(var e=f.length;e;){for(M=f,f=[];++y<e;)M&&M[y].run();y=-1,e=f.length}M=null,g=!1,i(t)}}function s(t,e){this.fun=t,this.array=e}function c(){}var l,p,d=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{p="function"==typeof clearTimeout?clearTimeout:o}catch(t){p=o}}();var M,f=[],g=!1,y=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];f.push(new s(t,e)),1!==f.length||g||r(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=c,d.addListener=c,d.once=c,d.off=c,d.removeListener=c,d.removeAllListeners=c,d.emit=c,d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.closeHandler=M.closeLock,e.key="auxiliarypane",e.lock=t,g.loggedIn(t)?l.default.createElement(N,e):null}e.__esModule=!0,e.renderSignedInConfirmation=s;var c=n(1),l=r(c),p=n(87),d=r(p),M=n(24),f=n(2),g=o(f),y=n(13),h=o(y),N=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.handleClose=function(){var t=this.props,e=t.closeHandler,n=t.lock;e(g.id(n))},e.prototype.render=function(){var t=this.props.lock,e=g.ui.closable(t)?this.handleClose.bind(this):void 0;return l.default.createElement(d.default,{closeHandler:e},l.default.createElement("p",null,h.html(t,["success","logIn"])))},e}(l.default.Component);e.default=N,N.propTypes={closeHandler:l.default.PropTypes.func.isRequired,lock:l.default.PropTypes.object.isRequired}},function(t,e,n){"use strict";function o(t){if(y){var e=t.node,n=t.children;if(n.length)for(var o=0;o<n.length;o++)h(e,n[o],null);else null!=t.html?p(e,t.html):null!=t.text&&M(e,t.text)}}function r(t,e){t.parentNode.replaceChild(e.node,t),o(e)}function i(t,e){y?t.children.push(e):t.node.appendChild(e.node)}function a(t,e){y?t.html=e:p(t.node,e)}function u(t,e){y?t.text=e:M(t.node,e)}function s(){return this.node.nodeName}function c(t){return{node:t,children:[],html:null,text:null,toString:s}}var l=n(59),p=n(51),d=n(67),M=n(117),f=1,g=11,y="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),h=d(function(t,e,n){e.node.nodeType===g||e.node.nodeType===f&&"object"===e.node.nodeName.toLowerCase()&&(null==e.node.namespaceURI||e.node.namespaceURI===l.html)?(o(e),t.insertBefore(e.node,n)):(t.insertBefore(e.node,n),o(e))});c.insertTreeBefore=h,c.replaceChildWithTree=r,c.queueChild=i,c.queueHTML=a,c.queueText=u,t.exports=c},function(t,e,n){"use strict";function o(t,e){return(t&e)===e}var r=n(4),i=(n(3),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(t){var e=i,n=t.Properties||{},a=t.DOMAttributeNamespaces||{},s=t.DOMAttributeNames||{},c=t.DOMPropertyNames||{},l=t.DOMMutationMethods||{};t.isCustomAttribute&&u._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var p in n){u.properties.hasOwnProperty(p)?r("48",p):void 0;var d=p.toLowerCase(),M=n[p],f={attributeName:d,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseProperty:o(M,e.MUST_USE_PROPERTY),hasBooleanValue:o(M,e.HAS_BOOLEAN_VALUE),hasNumericValue:o(M,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:o(M,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:o(M,e.HAS_OVERLOADED_BOOLEAN_VALUE)};if(f.hasBooleanValue+f.hasNumericValue+f.hasOverloadedBooleanValue<=1?void 0:r("50",p),s.hasOwnProperty(p)){var g=s[p];f.attributeName=g}a.hasOwnProperty(p)&&(f.attributeNamespace=a[p]),c.hasOwnProperty(p)&&(f.propertyName=c[p]),l.hasOwnProperty(p)&&(f.mutationMethod=l[p]),u.properties[p]=f}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",u={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var e=0;e<u._isCustomAttributeFunctions.length;e++){var n=u._isCustomAttributeFunctions[e];if(n(t))return!0}return!1},injection:i};t.exports=u},function(t,e){"use strict";var n={remove:function(t){t._reactInternalInstance=void 0},get:function(t){return t._reactInternalInstance},has:function(t){return void 0!==t._reactInternalInstance},set:function(t,e){t._reactInternalInstance=e}};t.exports=n},function(t,e,n){"use strict";function o(){r.attachRefs(this,this._currentElement)}var r=n(222),i=(n(14),n(5),{mountComponent:function(t,e,n,r,i,a){var u=t.mountComponent(e,n,r,i,a);return t._currentElement&&null!=t._currentElement.ref&&e.getReactMountReady().enqueue(o,t),u},getHostNode:function(t){return t.getHostNode()},unmountComponent:function(t,e){r.detachRefs(t,t._currentElement),t.unmountComponent(e)},receiveComponent:function(t,e,n,i){var a=t._currentElement;if(e!==a||i!==t._context){var u=r.shouldUpdateRefs(a,e);u&&r.detachRefs(t,a),t.receiveComponent(e,n,i),u&&t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(o,t)}},performUpdateIfNecessary:function(t,e,n){t._updateBatchNumber===n&&t.performUpdateIfNecessary(e)}});t.exports=i},function(t,e,n){"use strict";function o(t){return void 0!==t.ref}function r(t){return void 0!==t.key}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=n(37),u=n(21),s=(n(22),n(127),Object.prototype.hasOwnProperty),c=n(125),l={key:!0,ref:!0,__self:!0,__source:!0},p=function(t,e,n,o,r,i,a){var u={$$typeof:c,type:t,key:e,ref:n,props:a,_owner:i};return u};p.createElement=function(t,e,n){var i,a={},c=null,d=null,M=null,f=null;if(null!=e){o(e)&&(d=e.ref),r(e)&&(c=""+e.key),M=void 0===e.__self?null:e.__self,f=void 0===e.__source?null:e.__source;for(i in e)s.call(e,i)&&!l.hasOwnProperty(i)&&(a[i]=e[i])}var g=arguments.length-2;if(1===g)a.children=n;else if(g>1){for(var y=Array(g),h=0;h<g;h++)y[h]=arguments[h+2];a.children=y}if(t&&t.defaultProps){var N=t.defaultProps;for(i in N)void 0===a[i]&&(a[i]=N[i])}return p(t,c,d,M,f,u.current,a)},p.createFactory=function(t){var e=p.createElement.bind(null,t);return e.type=t,e},p.cloneAndReplaceKey=function(t,e){var n=p(t.type,e,t.ref,t._self,t._source,t._owner,t.props);return n},p.cloneElement=function(t,e,n){var i,c=a({},t.props),d=t.key,M=t.ref,f=t._self,g=t._source,y=t._owner;if(null!=e){o(e)&&(M=e.ref,y=u.current),r(e)&&(d=""+e.key);var h;t.type&&t.type.defaultProps&&(h=t.type.defaultProps);for(i in e)s.call(e,i)&&!l.hasOwnProperty(i)&&(void 0===e[i]&&void 0!==h?c[i]=h[i]:c[i]=e[i])}var N=arguments.length-2;if(1===N)c.children=n;else if(N>1){for(var D=Array(N),I=0;I<N;I++)D[I]=arguments[I+2];c.children=D}return p(t.type,d,M,f,g,y,c)},p.isValidElement=function(t){return"object"===("undefined"==typeof t?"undefined":i(t))&&null!==t&&t.$$typeof===c},t.exports=p},4,7,function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,j.read)(j.getEntity,"lock",t),o=(0,T.databaseLogInWithEmail)(n)?"email":"username",r=C.getFieldValue(n,o),i={connection:(0,T.databaseConnectionName)(n),username:r,password:C.getFieldValue(n,"password")},a=[o,"password"],u=C.getFieldValue(n,"mfa_code");e&&(i.mfa_code=u,a.push("mfa_code")),(0,w.logIn)(t,a,i,function(t,e,n,o){return"a0.mfa_required"===e.error?D(t):o()})}function a(t){var e=(0,j.read)(j.getEntity,"lock",t),n=["email","password"];(0,T.databaseConnectionRequiresUsername)(e)&&n.push("username"),(0,T.additionalSignUpFields)(e).forEach(function(t){return n.push(t.get("name"))}),(0,w.validateAndSubmit)(t,n,function(e){var n={connection:(0,T.databaseConnectionName)(e),email:C.getFieldValue(e,"email"),password:C.getFieldValue(e,"password"),autoLogin:(0,T.shouldAutoLogin)(e)};(0,T.databaseConnectionRequiresUsername)(e)&&(n.username=C.getFieldValue(e,"username")),(0,T.additionalSignUpFields)(e).isEmpty()||(n.user_metadata={},(0,T.additionalSignUpFields)(e).forEach(function(t){n.user_metadata[t.get("name")]=C.getFieldValue(e,t.get("name"))})),L.default.signUp(t,n,function(e){e?setTimeout(function(){return s(t,e)},250):u(t)})})}function u(t){var e=(0,j.read)(j.getEntity,"lock",t);if((0,T.shouldAutoLogin)(e)){(0,j.swap)(j.updateEntity,"lock",t,function(t){return t.set("signedUp",!0)});var n={connection:(0,T.databaseConnectionName)(e),username:C.email(e),password:C.password(e)};return L.default.logIn(t,n,z.auth.params(e).toJS(),function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];e?setTimeout(function(){return c(t,e)},250):w.logInSuccess.apply(void 0,[t].concat(o))})}var o=z.ui.autoclose(e);o?(0,w.closeLock)(t,!1):(0,j.swap)(j.updateEntity,"lock",t,function(t){return z.setSubmitting(t,!1).set("signedUp",!0)})}function s(t,e){var n=(0,j.read)(j.getEntity,"lock",t),o={PasswordDictionaryError:"password_dictionary_error",PasswordNoUserInfoError:"password_no_user_info_error",PasswordStrengthError:"password_strength_error"},r="invalid_password"===e.code&&o[e.details.name]||e.code,i=k.str(n,["error","signUp",r])||k.str(n,["error","signUp","lock.fallback"]);(0,j.swap)(j.updateEntity,"lock",t,z.setSubmitting,!1,i)}function c(t,e){(0,j.swap)(j.updateEntity,"lock",t,function(t){if((0,T.hasScreen)(t,"login")){var n=z.loginErrorMessage(t,e);return z.setSubmitting((0,T.setScreen)(t,"login"),!1,n)}var o=new Error("Autologin failed and no the login screen is not allowed.");return o.code="autologin_error",o.origin=e,z.setSubmitting(z.stop(t,o),!1)})}function l(t){(0,w.validateAndSubmit)(t,["email"],function(e){var n={connection:(0,T.databaseConnectionName)(e),email:C.getFieldValue(e,"email")};L.default.resetPassword(t,n,function(e){e?setTimeout(function(){return d(t,e)},250):p(t)})})}function p(t){var e=(0,j.read)(j.getEntity,"lock",t);(0,T.hasScreen)(e,"login")?((0,j.swap)(j.updateEntity,"lock",t,function(t){return(0,T.setScreen)(z.setSubmitting(t,!1),"login")}),setTimeout(function(){var n=k.str(e,["success","forgotPassword"]);(0,j.swap)(j.updateEntity,"lock",t,z.setGlobalSuccess,n)},500)):z.ui.autoclose(e)?(0,w.closeLock)(t):(0,j.swap)(j.updateEntity,"lock",t,function(t){return z.setSubmitting(t,!1).set("passwordResetted",!0)})}function d(t,e){var n=(0,j.read)(j.getEntity,"lock",t),o=k.str(n,["error","forgotPassword",e.code])||k.str(n,["error","forgotPassword","lock.fallback"]);(0,j.swap)(j.updateEntity,"lock",t,z.setSubmitting,!1,o)}function M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["password"];(0,j.swap)(j.updateEntity,"lock",t,T.setScreen,"login",e)}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["password"];(0,j.swap)(j.updateEntity,"lock",t,T.setScreen,"signUp",e)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["password"];(0,j.swap)(j.updateEntity,"lock",t,T.setScreen,"forgotPassword",e)}function y(t){return M(t)}function h(t){return M(t)}function N(t){(0,j.swap)(j.updateEntity,"lock",t,T.toggleTermsAcceptance)}function D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["mfa_code"];(0,j.swap)(j.updateEntity,"lock",t,T.setScreen,"mfaLogin",e)}e.__esModule=!0,e.logIn=i,e.signUp=a,e.resetPassword=l,e.showLoginActivity=M,e.showSignUpActivity=f,e.showResetPasswordActivity=g,e.cancelResetPassword=y,e.cancelMFALogin=h,e.toggleTermsAcceptance=N,e.showLoginMFAActivity=D;var I=n(9),j=(r(I),n(12)),m=n(53),L=r(m),w=n(24),v=n(2),z=o(v),b=n(8),C=o(b),T=n(11),E=n(13),k=o(E)},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){return I(t,d.default.fromJS(u(e)))}function a(t){return["oauth1","oauth2"].indexOf(t.get("strategy"))!==-1?t.get("name"):y[t.get("strategy")]}function u(t){var e={},n=t.socialButtonStyle;return["big","small"].indexOf(n)>-1&&(e.socialButtonStyle=n),e}function s(t){return f.connections(t,"social")}function c(t){return f.ui.authButtonsTheme(t)}function l(t,e){var n=D(t,"socialButtonStyle")||N(t,"socialButtonStyle");return n?"big"===n:f.connections(t,"social").count()<=e}e.__esModule=!0,e.STRATEGIES=void 0,e.initSocial=i,e.displayName=a,e.processSocialOptions=u,e.socialConnections=s,e.authButtonsTheme=c,e.useBigButtons=l;var p=n(9),d=r(p),M=n(2),f=o(M),g=n(17),y=e.STRATEGIES={amazon:"Amazon",aol:"Aol",baidu:"百度",bitbucket:"Bitbucket",box:"Box",dropbox:"Dropbox",dwolla:"Dwolla",ebay:"ebay",exact:"Exact",facebook:"Facebook",fitbit:"Fitbit",github:"GitHub","google-openid":"Google OpenId","google-oauth2":"Google",instagram:"Instagram",linkedin:"LinkedIn",miicard:"miiCard",paypal:"PayPal",planningcenter:"Planning Center",renren:"人人",salesforce:"Salesforce","salesforce-community":"Salesforce Community","salesforce-sandbox":"Salesforce (sandbox)",shopify:"Shopify",soundcloud:"Soundcloud",thecity:"The City","thecity-sandbox":"The City (sandbox)",thirtysevensignals:"37 Signals",twitter:"Twitter",vkontakte:"vKontakte",windowslive:"Microsoft Account",wordpress:"Wordpress",yahoo:"Yahoo!",yammer:"Yammer",yandex:"Yandex",weibo:"新浪微博"},h=(0,g.dataFns)(["social"]),N=h.get,D=h.tget,I=h.initNS},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=n(1),s=o(u),c=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.before,n=t.focused,o=t.invalidHint,r=t.isValid,i=t.name,a=t.icon,u="auth0-lock-input-block auth0-lock-input-"+i;r||(u+=" auth0-lock-error");var c="auth0-lock-input-wrap";n&&r&&(c+=" auth0-lock-focused");var l=null;"string"==typeof a?l=s.default.createElement("span",{dangerouslySetInnerHTML:{__html:a}}):a&&(l=a),l&&(c+=" auth0-lock-input-wrap-with-icon");var p=!r&&o?s.default.createElement("div",{className:"auth0-lock-error-msg"},s.default.createElement("span",null,o)):null;return s.default.createElement("div",{className:u},e,s.default.createElement("div",{className:c},l,this.props.children),p)},e}(s.default.Component);e.default=c,c.propTypes={before:s.default.PropTypes.element,children:s.default.PropTypes.oneOfType([s.default.PropTypes.element.isRequired,s.default.PropTypes.arrayOf(s.default.PropTypes.element).isRequired]),focused:s.default.PropTypes.bool,invalidHint:s.default.PropTypes.string,isValid:s.default.PropTypes.bool.isRequired,name:s.default.PropTypes.string.isRequired,svg:s.default.PropTypes.string}},function(t,e,n){"use strict";t.exports=n(100)},function(t,e,n){"use strict";function o(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}function r(t,e,n){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!o(e));default:return!1}}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=n(4),u=n(60),s=n(61),c=n(65),l=n(110),p=n(111),d=(n(3),{}),M=null,f=function(t,e){t&&(s.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},g=function(t){return f(t,!0)},y=function(t){return f(t,!1)},h=function(t){return"."+t._rootNodeID},N={injection:{injectEventPluginOrder:u.injectEventPluginOrder,injectEventPluginsByName:u.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n?a("94",e,"undefined"==typeof n?"undefined":i(n)):void 0;var o=h(t),r=d[e]||(d[e]={});r[o]=n;var s=u.registrationNameModules[e];s&&s.didPutListener&&s.didPutListener(t,e,n)},getListener:function(t,e){var n=d[e];if(r(e,t._currentElement.type,t._currentElement.props))return null;var o=h(t);return n&&n[o]},deleteListener:function(t,e){var n=u.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var o=d[e];if(o){var r=h(t);delete o[r]}},deleteAllListeners:function(t){var e=h(t);for(var n in d)if(d.hasOwnProperty(n)&&d[n][e]){var o=u.registrationNameModules[n];o&&o.willDeleteListener&&o.willDeleteListener(t,n),delete d[n][e]}},extractEvents:function(t,e,n,o){for(var r,i=u.plugins,a=0;a<i.length;a++){var s=i[a];if(s){var c=s.extractEvents(t,e,n,o);c&&(r=l(r,c))}}return r},enqueueEvents:function(t){t&&(M=l(M,t))},processEventQueue:function(t){var e=M;M=null,t?p(e,g):p(e,y),M?a("95"):void 0,c.rethrowCaughtError()},__purge:function(){d={}},__getListenerBank:function(){return d}};t.exports=N},function(t,e,n){"use strict";function o(t,e,n){var o=e.dispatchConfig.phasedRegistrationNames[n];return h(t,o)}function r(t,e,n){var r=o(t,n,e);r&&(n._dispatchListeners=g(n._dispatchListeners,r),n._dispatchInstances=g(n._dispatchInstances,t))}function i(t){t&&t.dispatchConfig.phasedRegistrationNames&&f.traverseTwoPhase(t._targetInst,r,t)}function a(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst,n=e?f.getParentInstance(e):null;f.traverseTwoPhase(n,r,t)}}function u(t,e,n){if(n&&n.dispatchConfig.registrationName){var o=n.dispatchConfig.registrationName,r=h(t,o);r&&(n._dispatchListeners=g(n._dispatchListeners,r),n._dispatchInstances=g(n._dispatchInstances,t))}}function s(t){t&&t.dispatchConfig.registrationName&&u(t._targetInst,null,t)}function c(t){y(t,i)}function l(t){y(t,a)}function p(t,e,n,o){f.traverseEnterLeave(n,o,u,t,e)}function d(t){y(t,s)}var M=n(42),f=n(61),g=n(110),y=n(111),h=(n(5),M.getListener),N={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:p};t.exports=N},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(18),i=n(70),a={view:function(t){if(t.view)return t.view;var e=i(t);if(e.window===e)return e;var n=e.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(t){return t.detail||0}};r.augmentClass(o,a),t.exports=o},function(t,e,n){(function(t){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t,e){return e.reduce(function(t,e){return t.deleteIn(N(e))},t)}function i(t,e){return"ok"===D(t,e)}function a(t){var e=m(y(t,[],(0,l.Map)()));return e.length>0&&e.reduce(function(e,n){return e&&!s(t,n)},!0)}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=m(r(y(t,[],(0,l.Map)()),e));return n.length>0&&n.reduce(function(e,n){return e||"error"===D(t,n)},!1)}function s(t,e){return["loading","pending","waiting"].indexOf(D(t,e))>-1}function c(t,e,n){var o=I(t,e,"error");if("sso"!==e){var r=new Error("An error ocurred when fetching data.");r.code="sync",r.origin=n,o=M.stop(o,r)}return o}e.__esModule=!0,e.go=void 0,e.isSuccess=i,e.isDone=a,e.hasError=u;var l=n(9),p=n(17),d=n(2),M=o(d),f=n(12),g=(0,p.dataFns)(["sync"]),y=g.get,h=g.set;e.default=function(t,e,n){if(void 0!==y(t,e))return t;var o=n.waitFn?"waiting":!n.conditionFn||n.conditionFn(t)?"pending":"no";return h(t,e,(0,l.Map)({conditionFn:n.conditionFn,errorFn:n.errorFn,recoverResult:n.recoverResult,syncStatus:o,successFn:n.successFn,syncFn:n.syncFn,timeout:n.timeout||6e3,waitFn:n.waitFn}))};var N=function(e){return(t.Array.isArray(e)?e:[e]).concat(["syncStatus"])},D=function(t,e){return y(t,N(e))},I=function(t,e,n){return h(t,N(e),n)},j=function(t,e,n){return y(t,e).get(n)},m=function t(e){return e.reduce(function(e,n,o){var r=l.Map.isMap(n)&&n.has("syncStatus")?[o]:[],i=l.Map.isMap(n)?t(n).map(function(t){return[o].concat(t)}):[];return e.concat.apply(e,[r].concat([i]))},[])},L=function(t,e){var n=m(y(t,[],(0,l.Map)()));return n.reduce(function(t,n){if("function"!=typeof j(t,n,"syncFn"))return t;if("pending"===D(t,n))!function(){t=I(t,n,"loading");var o=!1;j(t,n,"syncFn")(t,function(r,i){o||(o=!0,setTimeout(function(){(0,f.swap)(f.updateEntity,"lock",e,function(e){var o=j(t,n,"errorFn");r&&"function"==typeof o&&setTimeout(function(){return o(e,r)},0);var a=j(e,n,"recoverResult");return r&&void 0===a?c(e,n,r):(e=I(e,n,"ok"),j(e,n,"successFn")(e,r?a:i))})},0))})}();else if("waiting"===D(t,n)&&j(t,n,"waitFn")(t)){var o=j(t,n,"conditionFn");t=I(t,n,!o||o(t)?"pending":"no")}return t},t)};e.go=function(t){(0,f.observe)("sync",t,function(e){setTimeout(function(){return(0,f.swap)(f.updateEntity,"lock",t,L,t)},0)})}}).call(e,function(){return this}())},function(t,e,n){var o,r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};(function(){function n(t){function e(e,n,o,r,i,a){for(;i>=0&&i<a;i+=t){var u=r?r[i]:i;o=n(o,e[u],u,e)}return o}return function(n,o,r,i){o=w(o,i,4);var a=!k(n)&&L.keys(n),u=(a||n).length,s=t>0?0:u-1;return arguments.length<3&&(r=n[a?a[s]:s], +s+=t),e(n,o,r,a,s,u)}}function a(t){return function(e,n,o){n=v(n,o);for(var r=E(e),i=t>0?0:r-1;i>=0&&i<r;i+=t)if(n(e[i],i,e))return i;return-1}}function u(t,e,n){return function(o,r,i){var a=0,u=E(o);if("number"==typeof i)t>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(n&&i&&u)return i=n(o,r),o[i]===r?i:-1;if(r!==r)return i=e(g.call(o,a,u),L.isNaN),i>=0?i+a:-1;for(i=t>0?a:u-1;i>=0&&i<u;i+=t)if(o[i]===r)return i;return-1}}function s(t,e){var n=_.length,o=t.constructor,r=L.isFunction(o)&&o.prototype||d,i="constructor";for(L.has(t,i)&&!L.contains(e,i)&&e.push(i);n--;)i=_[n],i in t&&t[i]!==r[i]&&!L.contains(e,i)&&e.push(i)}var c=this,l=c._,p=Array.prototype,d=Object.prototype,M=Function.prototype,f=p.push,g=p.slice,y=d.toString,h=d.hasOwnProperty,N=Array.isArray,D=Object.keys,I=M.bind,j=Object.create,m=function(){},L=function t(e){return e instanceof t?e:this instanceof t?void(this._wrapped=e):new t(e)};"undefined"!=typeof t&&t.exports&&(e=t.exports=L),e._=L,L.VERSION="1.8.3";var w=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,o){return t.call(e,n,o)};case 3:return function(n,o,r){return t.call(e,n,o,r)};case 4:return function(n,o,r,i){return t.call(e,n,o,r,i)}}return function(){return t.apply(e,arguments)}},v=function(t,e,n){return null==t?L.identity:L.isFunction(t)?w(t,e,n):L.isObject(t)?L.matcher(t):L.property(t)};L.iteratee=function(t,e){return v(t,e,1/0)};var z=function(t,e){return function(n){var o=arguments.length;if(o<2||null==n)return n;for(var r=1;r<o;r++)for(var i=arguments[r],a=t(i),u=a.length,s=0;s<u;s++){var c=a[s];e&&void 0!==n[c]||(n[c]=i[c])}return n}},b=function(t){if(!L.isObject(t))return{};if(j)return j(t);m.prototype=t;var e=new m;return m.prototype=null,e},C=function(t){return function(e){return null==e?void 0:e[t]}},T=Math.pow(2,53)-1,E=C("length"),k=function(t){var e=E(t);return"number"==typeof e&&e>=0&&e<=T};L.each=L.forEach=function(t,e,n){e=w(e,n);var o,r;if(k(t))for(o=0,r=t.length;o<r;o++)e(t[o],o,t);else{var i=L.keys(t);for(o=0,r=i.length;o<r;o++)e(t[i[o]],i[o],t)}return t},L.map=L.collect=function(t,e,n){e=v(e,n);for(var o=!k(t)&&L.keys(t),r=(o||t).length,i=Array(r),a=0;a<r;a++){var u=o?o[a]:a;i[a]=e(t[u],u,t)}return i},L.reduce=L.foldl=L.inject=n(1),L.reduceRight=L.foldr=n(-1),L.find=L.detect=function(t,e,n){var o;if(o=k(t)?L.findIndex(t,e,n):L.findKey(t,e,n),void 0!==o&&o!==-1)return t[o]},L.filter=L.select=function(t,e,n){var o=[];return e=v(e,n),L.each(t,function(t,n,r){e(t,n,r)&&o.push(t)}),o},L.reject=function(t,e,n){return L.filter(t,L.negate(v(e)),n)},L.every=L.all=function(t,e,n){e=v(e,n);for(var o=!k(t)&&L.keys(t),r=(o||t).length,i=0;i<r;i++){var a=o?o[i]:i;if(!e(t[a],a,t))return!1}return!0},L.some=L.any=function(t,e,n){e=v(e,n);for(var o=!k(t)&&L.keys(t),r=(o||t).length,i=0;i<r;i++){var a=o?o[i]:i;if(e(t[a],a,t))return!0}return!1},L.contains=L.includes=L.include=function(t,e,n,o){return k(t)||(t=L.values(t)),("number"!=typeof n||o)&&(n=0),L.indexOf(t,e,n)>=0},L.invoke=function(t,e){var n=g.call(arguments,2),o=L.isFunction(e);return L.map(t,function(t){var r=o?e:t[e];return null==r?r:r.apply(t,n)})},L.pluck=function(t,e){return L.map(t,L.property(e))},L.where=function(t,e){return L.filter(t,L.matcher(e))},L.findWhere=function(t,e){return L.find(t,L.matcher(e))},L.max=function(t,e,n){var o,r,i=-(1/0),a=-(1/0);if(null==e&&null!=t){t=k(t)?t:L.values(t);for(var u=0,s=t.length;u<s;u++)o=t[u],o>i&&(i=o)}else e=v(e,n),L.each(t,function(t,n,o){r=e(t,n,o),(r>a||r===-(1/0)&&i===-(1/0))&&(i=t,a=r)});return i},L.min=function(t,e,n){var o,r,i=1/0,a=1/0;if(null==e&&null!=t){t=k(t)?t:L.values(t);for(var u=0,s=t.length;u<s;u++)o=t[u],o<i&&(i=o)}else e=v(e,n),L.each(t,function(t,n,o){r=e(t,n,o),(r<a||r===1/0&&i===1/0)&&(i=t,a=r)});return i},L.shuffle=function(t){for(var e,n=k(t)?t:L.values(t),o=n.length,r=Array(o),i=0;i<o;i++)e=L.random(0,i),e!==i&&(r[i]=r[e]),r[e]=n[i];return r},L.sample=function(t,e,n){return null==e||n?(k(t)||(t=L.values(t)),t[L.random(t.length-1)]):L.shuffle(t).slice(0,Math.max(0,e))},L.sortBy=function(t,e,n){return e=v(e,n),L.pluck(L.map(t,function(t,n,o){return{value:t,index:n,criteria:e(t,n,o)}}).sort(function(t,e){var n=t.criteria,o=e.criteria;if(n!==o){if(n>o||void 0===n)return 1;if(n<o||void 0===o)return-1}return t.index-e.index}),"value")};var S=function(t){return function(e,n,o){var r={};return n=v(n,o),L.each(e,function(o,i){var a=n(o,i,e);t(r,o,a)}),r}};L.groupBy=S(function(t,e,n){L.has(t,n)?t[n].push(e):t[n]=[e]}),L.indexBy=S(function(t,e,n){t[n]=e}),L.countBy=S(function(t,e,n){L.has(t,n)?t[n]++:t[n]=1}),L.toArray=function(t){return t?L.isArray(t)?g.call(t):k(t)?L.map(t,L.identity):L.values(t):[]},L.size=function(t){return null==t?0:k(t)?t.length:L.keys(t).length},L.partition=function(t,e,n){e=v(e,n);var o=[],r=[];return L.each(t,function(t,n,i){(e(t,n,i)?o:r).push(t)}),[o,r]},L.first=L.head=L.take=function(t,e,n){if(null!=t)return null==e||n?t[0]:L.initial(t,t.length-e)},L.initial=function(t,e,n){return g.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},L.last=function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:L.rest(t,Math.max(0,t.length-e))},L.rest=L.tail=L.drop=function(t,e,n){return g.call(t,null==e||n?1:e)},L.compact=function(t){return L.filter(t,L.identity)};var x=function t(e,n,o,r){for(var i=[],a=0,u=r||0,s=E(e);u<s;u++){var c=e[u];if(k(c)&&(L.isArray(c)||L.isArguments(c))){n||(c=t(c,n,o));var l=0,p=c.length;for(i.length+=p;l<p;)i[a++]=c[l++]}else o||(i[a++]=c)}return i};L.flatten=function(t,e){return x(t,e,!1)},L.without=function(t){return L.difference(t,g.call(arguments,1))},L.uniq=L.unique=function(t,e,n,o){L.isBoolean(e)||(o=n,n=e,e=!1),null!=n&&(n=v(n,o));for(var r=[],i=[],a=0,u=E(t);a<u;a++){var s=t[a],c=n?n(s,a,t):s;e?(a&&i===c||r.push(s),i=c):n?L.contains(i,c)||(i.push(c),r.push(s)):L.contains(r,s)||r.push(s)}return r},L.union=function(){return L.uniq(x(arguments,!0,!0))},L.intersection=function(t){for(var e=[],n=arguments.length,o=0,r=E(t);o<r;o++){var i=t[o];if(!L.contains(e,i)){for(var a=1;a<n&&L.contains(arguments[a],i);a++);a===n&&e.push(i)}}return e},L.difference=function(t){var e=x(arguments,!0,!0,1);return L.filter(t,function(t){return!L.contains(e,t)})},L.zip=function(){return L.unzip(arguments)},L.unzip=function(t){for(var e=t&&L.max(t,E).length||0,n=Array(e),o=0;o<e;o++)n[o]=L.pluck(t,o);return n},L.object=function(t,e){for(var n={},o=0,r=E(t);o<r;o++)e?n[t[o]]=e[o]:n[t[o][0]]=t[o][1];return n},L.findIndex=a(1),L.findLastIndex=a(-1),L.sortedIndex=function(t,e,n,o){n=v(n,o,1);for(var r=n(e),i=0,a=E(t);i<a;){var u=Math.floor((i+a)/2);n(t[u])<r?i=u+1:a=u}return i},L.indexOf=u(1,L.findIndex,L.sortedIndex),L.lastIndexOf=u(-1,L.findLastIndex),L.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||1;for(var o=Math.max(Math.ceil((e-t)/n),0),r=Array(o),i=0;i<o;i++,t+=n)r[i]=t;return r};var O=function(t,e,n,o,r){if(!(o instanceof e))return t.apply(n,r);var i=b(t.prototype),a=t.apply(i,r);return L.isObject(a)?a:i};L.bind=function(t,e){if(I&&t.bind===I)return I.apply(t,g.call(arguments,1));if(!L.isFunction(t))throw new TypeError("Bind must be called on a function");var n=g.call(arguments,2),o=function o(){return O(t,o,e,this,n.concat(g.call(arguments)))};return o},L.partial=function(t){var e=g.call(arguments,1),n=function n(){for(var o=0,r=e.length,i=Array(r),a=0;a<r;a++)i[a]=e[a]===L?arguments[o++]:e[a];for(;o<arguments.length;)i.push(arguments[o++]);return O(t,n,this,this,i)};return n},L.bindAll=function(t){var e,n,o=arguments.length;if(o<=1)throw new Error("bindAll must be passed function names");for(e=1;e<o;e++)n=arguments[e],t[n]=L.bind(t[n],t);return t},L.memoize=function(t,e){var n=function n(o){var r=n.cache,i=""+(e?e.apply(this,arguments):o);return L.has(r,i)||(r[i]=t.apply(this,arguments)),r[i]};return n.cache={},n},L.delay=function(t,e){var n=g.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},L.defer=L.partial(L.delay,L,1),L.throttle=function(t,e,n){var o,r,i,a=null,u=0;n||(n={});var s=function(){u=n.leading===!1?0:L.now(),a=null,i=t.apply(o,r),a||(o=r=null)};return function(){var c=L.now();u||n.leading!==!1||(u=c);var l=e-(c-u);return o=this,r=arguments,l<=0||l>e?(a&&(clearTimeout(a),a=null),u=c,i=t.apply(o,r),a||(o=r=null)):a||n.trailing===!1||(a=setTimeout(s,l)),i}},L.debounce=function(t,e,n){var o,r,i,a,u,s=function s(){var c=L.now()-a;c<e&&c>=0?o=setTimeout(s,e-c):(o=null,n||(u=t.apply(i,r),o||(i=r=null)))};return function(){i=this,r=arguments,a=L.now();var c=n&&!o;return o||(o=setTimeout(s,e)),c&&(u=t.apply(i,r),i=r=null),u}},L.wrap=function(t,e){return L.partial(e,t)},L.negate=function(t){return function(){return!t.apply(this,arguments)}},L.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,o=t[e].apply(this,arguments);n--;)o=t[n].call(this,o);return o}},L.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},L.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},L.once=L.partial(L.before,2);var A=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];L.keys=function(t){if(!L.isObject(t))return[];if(D)return D(t);var e=[];for(var n in t)L.has(t,n)&&e.push(n);return A&&s(t,e),e},L.allKeys=function(t){if(!L.isObject(t))return[];var e=[];for(var n in t)e.push(n);return A&&s(t,e),e},L.values=function(t){for(var e=L.keys(t),n=e.length,o=Array(n),r=0;r<n;r++)o[r]=t[e[r]];return o},L.mapObject=function(t,e,n){e=v(e,n);for(var o,r=L.keys(t),i=r.length,a={},u=0;u<i;u++)o=r[u],a[o]=e(t[o],o,t);return a},L.pairs=function(t){for(var e=L.keys(t),n=e.length,o=Array(n),r=0;r<n;r++)o[r]=[e[r],t[e[r]]];return o},L.invert=function(t){for(var e={},n=L.keys(t),o=0,r=n.length;o<r;o++)e[t[n[o]]]=n[o];return e},L.functions=L.methods=function(t){var e=[];for(var n in t)L.isFunction(t[n])&&e.push(n);return e.sort()},L.extend=z(L.allKeys),L.extendOwn=L.assign=z(L.keys),L.findKey=function(t,e,n){e=v(e,n);for(var o,r=L.keys(t),i=0,a=r.length;i<a;i++)if(o=r[i],e(t[o],o,t))return o},L.pick=function(t,e,n){var o,r,i={},a=t;if(null==a)return i;L.isFunction(e)?(r=L.allKeys(a),o=w(e,n)):(r=x(arguments,!1,!1,1),o=function(t,e,n){return e in n},a=Object(a));for(var u=0,s=r.length;u<s;u++){var c=r[u],l=a[c];o(l,c,a)&&(i[c]=l)}return i},L.omit=function(t,e,n){if(L.isFunction(e))e=L.negate(e);else{var o=L.map(x(arguments,!1,!1,1),String);e=function(t,e){return!L.contains(o,e)}}return L.pick(t,e,n)},L.defaults=z(L.allKeys,!0),L.create=function(t,e){var n=b(t);return e&&L.extendOwn(n,e),n},L.clone=function(t){return L.isObject(t)?L.isArray(t)?t.slice():L.extend({},t):t},L.tap=function(t,e){return e(t),t},L.isMatch=function(t,e){var n=L.keys(e),o=n.length;if(null==t)return!o;for(var r=Object(t),i=0;i<o;i++){var a=n[i];if(e[a]!==r[a]||!(a in r))return!1}return!0};var U=function t(e,n,o,r){if(e===n)return 0!==e||1/e===1/n;if(null==e||null==n)return e===n;e instanceof L&&(e=e._wrapped),n instanceof L&&(n=n._wrapped);var a=y.call(e);if(a!==y.call(n))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+n;case"[object Number]":return+e!==+e?+n!==+n:0===+e?1/+e===1/n:+e===+n;case"[object Date]":case"[object Boolean]":return+e===+n}var u="[object Array]"===a;if(!u){if("object"!=("undefined"==typeof e?"undefined":i(e))||"object"!=("undefined"==typeof n?"undefined":i(n)))return!1;var s=e.constructor,c=n.constructor;if(s!==c&&!(L.isFunction(s)&&s instanceof s&&L.isFunction(c)&&c instanceof c)&&"constructor"in e&&"constructor"in n)return!1}o=o||[],r=r||[];for(var l=o.length;l--;)if(o[l]===e)return r[l]===n;if(o.push(e),r.push(n),u){if(l=e.length,l!==n.length)return!1;for(;l--;)if(!t(e[l],n[l],o,r))return!1}else{var p,d=L.keys(e);if(l=d.length,L.keys(n).length!==l)return!1;for(;l--;)if(p=d[l],!L.has(n,p)||!t(e[p],n[p],o,r))return!1}return o.pop(),r.pop(),!0};L.isEqual=function(t,e){return U(t,e)},L.isEmpty=function(t){return null==t||(k(t)&&(L.isArray(t)||L.isString(t)||L.isArguments(t))?0===t.length:0===L.keys(t).length)},L.isElement=function(t){return!(!t||1!==t.nodeType)},L.isArray=N||function(t){return"[object Array]"===y.call(t)},L.isObject=function(t){var e="undefined"==typeof t?"undefined":i(t);return"function"===e||"object"===e&&!!t},L.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){L["is"+t]=function(e){return y.call(e)==="[object "+t+"]"}}),L.isArguments(arguments)||(L.isArguments=function(t){return L.has(t,"callee")}),"function"!=typeof/./&&"object"!=("undefined"==typeof Int8Array?"undefined":i(Int8Array))&&(L.isFunction=function(t){return"function"==typeof t||!1}),L.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},L.isNaN=function(t){return L.isNumber(t)&&t!==+t},L.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"===y.call(t)},L.isNull=function(t){return null===t},L.isUndefined=function(t){return void 0===t},L.has=function(t,e){return null!=t&&h.call(t,e)},L.noConflict=function(){return c._=l,this},L.identity=function(t){return t},L.constant=function(t){return function(){return t}},L.noop=function(){},L.property=C,L.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},L.matcher=L.matches=function(t){return t=L.extendOwn({},t),function(e){return L.isMatch(e,t)}},L.times=function(t,e,n){var o=Array(Math.max(0,t));e=w(e,n,1);for(var r=0;r<t;r++)o[r]=e(r);return o},L.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},L.now=Date.now||function(){return(new Date).getTime()};var Y={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Q=L.invert(Y),P=function(t){var e=function(e){return t[e]},n="(?:"+L.keys(t).join("|")+")",o=RegExp(n),r=RegExp(n,"g");return function(t){return t=null==t?"":""+t,o.test(t)?t.replace(r,e):t}};L.escape=P(Y),L.unescape=P(Q),L.result=function(t,e,n){var o=null==t?void 0:t[e];return void 0===o&&(o=n),L.isFunction(o)?o.call(t):o};var B=0;L.uniqueId=function(t){var e=++B+"";return t?t+e:e},L.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var R=/(.)^/,G={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Z=/\\|'|\r|\n|\u2028|\u2029/g,H=function(t){return"\\"+G[t]};L.template=function(t,e,n){!e&&n&&(e=n),e=L.defaults({},e,L.templateSettings);var o=RegExp([(e.escape||R).source,(e.interpolate||R).source,(e.evaluate||R).source].join("|")+"|$","g"),r=0,i="__p+='";t.replace(o,function(e,n,o,a,u){return i+=t.slice(r,u).replace(Z,H),r=u+e.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":o?i+="'+\n((__t=("+o+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e}),i+="';\n",e.variable||(i="with(obj||{}){\n"+i+"}\n"),i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{var a=new Function(e.variable||"obj","_",i)}catch(t){throw t.source=i,t}var u=function(t){return a.call(this,t,L)},s=e.variable||"obj";return u.source="function("+s+"){\n"+i+"}",u},L.chain=function(t){var e=L(t);return e._chain=!0,e};var W=function(t,e){return t._chain?L(e).chain():e};L.mixin=function(t){L.each(L.functions(t),function(e){var n=L[e]=t[e];L.prototype[e]=function(){var t=[this._wrapped];return f.apply(t,arguments),W(this,n.apply(L,t))}})},L.mixin(L),L.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=p[t];L.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],W(this,n)}}),L.each(["concat","join","slice"],function(t){var e=p[t];L.prototype[t]=function(){return W(this,e.apply(this._wrapped,arguments))}}),L.prototype.value=function(){return this._wrapped},L.prototype.valueOf=L.prototype.toJSON=L.prototype.value,L.prototype.toString=function(){return""+this._wrapped},o=[],r=function(){return L}.apply(e,o),!(void 0!==r&&(t.exports=r))}).call(void 0)},function(t,e,n){"use strict";function o(t){return Object.prototype.hasOwnProperty.call(t,g)||(t[g]=M++,p[t[g]]={}),p[t[g]]}var r,i=n(7),a=n(60),u=n(214),s=n(109),c=n(114),l=n(71),p={},d=!1,M=0,f={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},g="_reactListenersID"+String(Math.random()).slice(2),y=i({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(t){t.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=t}},setEnabled:function(t){y.ReactEventListener&&y.ReactEventListener.setEnabled(t)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(t,e){for(var n=e,r=o(n),i=a.registrationNameDependencies[t],u=0;u<i.length;u++){var s=i[u];r.hasOwnProperty(s)&&r[s]||("topWheel"===s?l("wheel")?y.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):l("mousewheel")?y.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):y.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===s?l("scroll",!0)?y.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):y.ReactEventListener.trapBubbledEvent("topScroll","scroll",y.ReactEventListener.WINDOW_HANDLE):"topFocus"===s||"topBlur"===s?(l("focus",!0)?(y.ReactEventListener.trapCapturedEvent("topFocus","focus",n),y.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):l("focusin")&&(y.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),y.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),r.topBlur=!0,r.topFocus=!0):f.hasOwnProperty(s)&&y.ReactEventListener.trapBubbledEvent(s,f[s],n),r[s]=!0)}},trapBubbledEvent:function(t,e,n){return y.ReactEventListener.trapBubbledEvent(t,e,n)},trapCapturedEvent:function(t,e,n){return y.ReactEventListener.trapCapturedEvent(t,e,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var t=document.createEvent("MouseEvent");return null!=t&&"pageX"in t},ensureScrollValueMonitoring:function(){if(void 0===r&&(r=y.supportsEventPageXY()),!r&&!d){var t=s.refreshScrollValues;y.ReactEventListener.monitorScrollValue(t),d=!0}}});t.exports=y},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(44),i=n(109),a=n(69),u={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function t(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},pageX:function(t){return"pageX"in t?t.pageX:t.clientX+i.currentScrollLeft},pageY:function(t){return"pageY"in t?t.pageY:t.clientY+i.currentScrollTop}};r.augmentClass(o,u),t.exports=o},function(t,e,n){"use strict";var o=n(4),r=(n(3),{}),i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(t,e,n,r,i,a,u,s){this.isInTransaction()?o("27"):void 0;var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=t.call(e,n,r,i,a,u,s),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(t){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(t){for(var e=this.transactionWrappers,n=t;n<e.length;n++){var o=e[n];try{this.wrapperInitData[n]=r,this.wrapperInitData[n]=o.initialize?o.initialize.call(this):null}finally{if(this.wrapperInitData[n]===r)try{this.initializeAll(n+1)}catch(t){}}}},closeAll:function(t){this.isInTransaction()?void 0:o("28");for(var e=this.transactionWrappers,n=t;n<e.length;n++){var i,a=e[n],u=this.wrapperInitData[n];try{i=!0,u!==r&&a.close&&a.close.call(this,u),i=!1}finally{if(i)try{this.closeAll(n+1)}catch(t){}}}this.wrapperInitData.length=0}};t.exports=i},function(t,e){"use strict";function n(t){var e=""+t,n=r.exec(e);if(!n)return e;var o,i="",a=0,u=0;for(a=n.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:o=""";break;case 38:o="&";break;case 39:o="'";break;case 60:o="<";break;case 62:o=">";break;default:continue}u!==a&&(i+=e.substring(u,a)),u=a+1,i+=o}return u!==a?i+e.substring(u,a):i}function o(t){return"boolean"==typeof t||"number"==typeof t?""+t:n(t)}var r=/["'&<>]/;t.exports=o},function(t,e,n){"use strict";var o,r=n(10),i=n(59),a=/^[ \r\n\t\f]/,u=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=n(67),c=s(function(t,e){if(t.namespaceURI!==i.svg||"innerHTML"in t)t.innerHTML=e;else{o=o||document.createElement("div"),o.innerHTML="<svg>"+e+"</svg>";for(var n=o.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(r.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),a.test(e)||"<"===e[0]&&u.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),l=null}t.exports=c},19,function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){if(!t)return t;if("User closed the popup window"===t.status)return{code:"lock.popup_closed",error:"lock.popup_closed",description:"Popup window closed."};if("unauthorized"===t.code)return t.details&&t.details.error_description&&"access_denied"!==t.details.error_description?"user is blocked"===t.details.error_description?{code:"blocked_user",error:"blocked_user",description:t.details.error_description}:{code:"rule_error",error:"rule_error",description:t.details.error_description}:{code:"lock.unauthorized",error:"lock.unauthorized",description:t.details&&t.details.error_description||"Permissions were not granted."};var e={error:t.details?t.details.error:t.code||t.statusCode||t.error,description:t.details?t.details.error_description:t.error_description||t.description||t.error};return void 0===e.error&&void 0===e.description?t:e}function a(t,e){return t?function(t){return e(i(t))}:function(t,n){return e(i(t),n)}}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s=n(56),c=o(s),l=function(){function t(){r(this,t),this.clients={},this.authOpts={},this.authParams={}}return t.prototype.setupClient=function(t,e,n,o){this.clients[t]=new c.default({clientID:e,domain:n,sendSDKClientInfo:!0,forceJSONP:!1,callbackURL:o.redirectUrl,responseMode:o.responseMode,responseType:o.responseType,__tenant:o.overrides&&o.overrides.__tenant,__token_issuer:o.overrides&&o.overrides.__token_issuer}),this.authOpts[t]={popup:!o.redirect,popupOptions:o.popupOptions,sso:o.sso}},t.prototype.logIn=function(t,e,n,o){var r=this.authOpts[t],i=a(!r.popup,o),s=this.clients[t];s.login(u({},e,r,n),i)},t.prototype.signOut=function(t,e){this.clients[t].logout(e)},t.prototype.signUp=function(t,e,n){var o=this.clients[t],r=this.authOpts[t],i=r.popup,a=r.sso,u=e.autoLogin;delete e.autoLogin;var s=void 0;u&&i&&a&&(s=o._buildPopupWindow({})),e.auto_login=!1,e.popup=!1;var c=function(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];t&&s&&s.kill(),n.apply(void 0,[t].concat(o))};o.signup(e,c)},t.prototype.resetPassword=function(t,e,n){this.clients[t].changePassword(e,n)},t.prototype.startPasswordless=function(t,e,n){var o=this.clients[t];o.startPasswordless(e,function(t){return n(i(t))})},t.prototype.parseHash=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.clients[t].parseHash(decodeURIComponent(e))},t.prototype.getProfile=function(t,e,n){return this.clients[t].getProfile(e,n)},t.prototype.getUserInfo=function(t,e,n){return this.clients[t].getUserInfo(e,n)},t.prototype.getSSOData=function(t){for(var e,n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return(e=this.clients[t]).getSSOData.apply(e,o)},t.prototype.getUserCountry=function(t,e){return this.clients[t].getUserCountry(e)},t}();e.default=new l},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){(0,u.swap)(u.updateEntity,"lock",t,a.skipQuickAuth,!0)}function i(t,e,n){var o=(0,u.read)(u.getEntity,"lock",t),r=l.auth.connectionScopes(o),i=r.get(e.get("name")),a={connection:e.get("name"),connection_scope:i?i.toJS():[]};l.auth.redirect(o)||"facebook"!==e.get("strategy")||(a.display="popup"),n&&(a.login_hint=n),(0,s.logIn)(t,[],a)}e.__esModule=!0,e.skipQuickAuth=r,e.logIn=i;var a=n(141),u=n(12),s=n(24),c=n(2),l=o(c)},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.BackButton=e.CloseButton=void 0;var r=n(1),i=o(r),a={back:'<svg enable-background="new 0 0 24 24" version="1.0" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polyline fill="none" points="12.5,21 3.5,12 12.5,3 " stroke="#000000" stroke-miterlimit="10" stroke-width="2"></polyline> <line fill="none" stroke="#000000" stroke-miterlimit="10" stroke-width="2" x1="22" x2="3.5" y1="12" y2="12"></line> </svg>',close:'<svg enable-background="new 0 0 128 128" version="1.1" viewBox="0 0 128 128" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><polygon fill="#373737" points="123.5429688,11.59375 116.4765625,4.5185547 64.0019531,56.9306641 11.5595703,4.4882813 4.4882813,11.5595703 56.9272461,63.9970703 4.4570313,116.4052734 11.5244141,123.4814453 63.9985352,71.0683594 116.4423828,123.5117188 123.5126953,116.4414063 71.0732422,64.0019531 "></polygon></g></svg>'},u=function(t){var e=t.name,n=t.onClick,o=t.svg;return i.default.createElement("span",{className:"auth0-lock-"+e+"-button",dangerouslySetInnerHTML:{__html:o},onClick:function(t){t.preventDefault(),n()}})};u.propTypes={name:i.default.PropTypes.string.isRequired,onClick:i.default.PropTypes.func.isRequired,svg:i.default.PropTypes.string.isRequired};var s=e.CloseButton=function(t){var e=t.onClick;return i.default.createElement(u,{name:"close",svg:a.close,onClick:e})};s.propTypes={onClick:i.default.PropTypes.func.isRequired};var c=e.BackButton=function(t){var e=t.onClick;return i.default.createElement(u,{name:"back",svg:a.back,onClick:e})};c.propTypes={onClick:i.default.PropTypes.func.isRequired}},function(t,e,n){(function(e){"use strict";function o(){var t,e=-1,n=navigator.userAgent;return"Microsoft Internet Explorer"===navigator.appName?(t=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})"),null!=t.exec(n)&&(e=parseFloat(RegExp.$1))):n.indexOf("Trident")>-1&&(t=new RegExp("rv:([0-9]{2,2}[.0-9]{0,})"),null!==t.exec(n)&&(e=parseFloat(RegExp.$1))),e}function r(t){var e="";for(var n in t)e+=n+"="+t[n]+",";return e.slice(0,-1)}function i(t,e){return!(!t||null==t[e])}function a(t,e){var n=t.status,r="string"==typeof t.responseText?t.responseText:t,i=10===o()||11===o(),a=!n||0===n,u=!!window.navigator.onLine;a&&!u?(n=0,r={code:"offline"}):a&&i?(n=401,r={code:"invalid_user_password"}):a&&(n=0,r={code:"connection_refused_timeout"});var s=new C(n,r);e(s)}function u(t,e,n){return t+"//"+e+n}function s(t){return this instanceof s?(g(t,"clientID"),g(t,"domain"),this._useJSONP=null!=t.forceJSONP?!!t.forceJSONP:T()&&!z("https:",t.domain),this._clientID=t.clientID,this._callbackURL=t.callbackURL||document.location.href,this._shouldRedirect=!!t.callbackURL,this._domain=t.domain,this._responseType=this._parseResponseType(t,!0)||"code",this._responseMode=this._parseResponseMode(t,!0),this._cordovaSocialPlugins={facebook:this._phonegapFacebookLogin},this._useCordovaSocialPlugins=t.useCordovaSocialPlugins,this._sendClientInfo=null==t.sendSDKClientInfo||t.sendSDKClientInfo,this._scope=t.scope||"openid",this._audience=t.audience||null,this._tenant=t.__tenant||this._domain.split(".")[0],void(this._token_issuer=t.__token_issuer||"https://"+this._domain+"/")):new s(t)}function c(t){return t?"token":"code"}function l(t){if("string"!=typeof t)return!1;for(var e=["code","id_token","token"],n=t.split(" "),o=0;o<n.length;o++)if(e.indexOf(n[o])===-1)return!1;return n.length>=1}function p(t){return"form_post"===t}function d(t){console&&console.warn&&console.warn(t)}var M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=n(151),g=n(150),y=n(153),h=n(152),N=n(154),D=n(163),I=n(169),j=n(25),m=n(166),L=n(167),w=n(159),v={param:"cbx",timeout:8e3,prefix:"__auth0jp"},z=n(155),b=n(92),C=n(148),T=n(156),E=n(149);s.version=n(174).str,s.clientInfo={name:"auth0.js",version:s.version},s.prototype.openWindow=function(t,e,n){return window.open(t,e,r(n))},s.prototype._redirect=function(t){e.window.location=t},s.prototype._getResponseType=function(t){return this._parseResponseType(t)||this._responseType},s.prototype._getCallbackOnLocationHash=function(t){return"form_post"!==this._getResponseMode(t)&&"code"!==this._getResponseType(t)},s.prototype._getResponseMode=function(t){var e=this._parseResponseMode(t)||this._responseMode;return"form_post"===e?"form_post":null},s.prototype._getCallbackURL=function(t){return t&&"undefined"!=typeof t.callbackURL?t.callbackURL:this._callbackURL},s.prototype._getClientInfoString=function(){var t=JSON.stringify(s.clientInfo);return f.encode(t)},s.prototype._getClientInfoHeader=function(){return this._sendClientInfo?{"Auth0-Client":this._getClientInfoString()}:{}},s.prototype._renderAndSubmitWSFedForm=function(t,e){var n=document.createElement("div");n.innerHTML=e;var o=document.body.appendChild(n).children[0];t.popup&&!this._getCallbackOnLocationHash(t)&&(o.target="auth0_signup_popup"),o.submit()},s.prototype._getMode=function(t){var e={scope:this._scope,response_type:this._getResponseType(t)},n=this._getResponseMode(t);return n&&(e.response_mode=n),e},s.prototype._configureOfflineMode=function(t){t.scope&&t.scope.indexOf("offline_access")>=0&&(t.device=t.device||"Browser")},s.prototype._getUserInfo=function(t,e,n){if(d("DEPRECATION NOTICE: This method will be soon deprecated, use `getUserInfo` instead."),!t||t.user_id)return n(null,t);var o="https:",r=this._domain,i="/tokeninfo",a=u(o,r,i),s=function(t,e){ +var o=new Error(t+": "+(e||""));o.error=t,o.error_description=e,n(o)};return this._useJSONP?w(a+"?"+D.stringify({id_token:e}),v,function(t,e){return t?s(0,t.toString()):200===e.status?n(null,e.user):s(e.status,e.err||e.error)}):m({url:z(o,r)?i:a,method:"post",type:"json",crossOrigin:!z(o,r),data:{id_token:e}}).fail(function(t){s(t.status,t.responseText)}).then(function(t){n(null,t)})},s.prototype.getUserInfo=function(t,e){if("function"!=typeof e)throw new Error("A callback function is required");if(!t||"string"!=typeof t)return e(new Error("Invalid token"));var n="https:",o=this._domain,r="/userinfo",i=u(n,o,r),a=function(t,n){var o=new Error(t+": "+(n||""));o.error=t,o.error_description=n,e(o)};return m({url:z(n,o)?r:i,method:"post",type:"json",crossOrigin:!z(n,o),headers:{Authorization:"Bearer "+t}}).fail(function(t){a(t.status,t.responseText)}).then(function(t){e(null,t)})},s.prototype.getProfile=function(t,e){if("function"!=typeof e)throw new Error("A callback function is required");return t&&"string"==typeof t?void this._getUserInfo(this.decodeJwt(t),t,e):e(new Error("Invalid token"))},s.prototype.validateUser=function(t,e){var n="https:",o=this._domain,r="/public/api/users/validate_userpassword",i=u(n,o,r),a=I(t,{client_id:this._clientID,username:j(t.username||t.email||"")});return this._useJSONP?w(i+"?"+D.stringify(a),v,function(t,n){return t?e(t):"error"in n&&404!==n.status?e(new Error(n.error)):void e(null,200===n.status)}):void m({url:z(n,o)?r:i,method:"post",type:"text",data:a,crossOrigin:!z(n,o),error:function(t){return 404!==t.status?e(new Error(t.responseText)):void e(null,!1)},success:function(t){e(null,200===t.status)}})},s.prototype.decodeJwt=function(t){var e=t&&t.split(".")[1];return b(f.decode(e))},s.prototype.parseHash=function(t,e){e=e||{},t=t||window.location.hash,t=t.replace(/^#?\/?/,"");var n=D.parse(t);if(n.hasOwnProperty("error")){var o={error:n.error,error_description:n.error_description};return n.state&&(o.state=n.state),o}if(!n.hasOwnProperty("access_token")&&!n.hasOwnProperty("id_token")&&!n.hasOwnProperty("refresh_token"))return null;var r;if(n.id_token){var i=function(t){var e={error:"invalid_token",error_description:t};return e};r=this.decodeJwt(n.id_token);var a=y(r.aud)?r.aud:[r.aud];if(h(a,this._clientID)===-1)return i("The clientID configured ("+this._clientID+") does not match with the clientID set in the token ("+a.join(", ")+").");if(r.iss&&r.iss!==this._token_issuer)return i("The domain configured ("+this._token_issuer+") does not match with the domain set in the token ("+r.iss+").");var u;if(e.nonce)u=e.nonce;else if(window.localStorage)try{u=window.localStorage.getItem("com.auth0.auth.nonce"),window.localStorage.removeItem("com.auth0.auth.nonce")}catch(t){}if((u||r.nonce)&&r.nonce!==u)return i("The nonce does not match.")}return{accessToken:n.access_token,idToken:n.id_token,idTokenPayload:r,refreshToken:n.refresh_token,state:n.state}},s.prototype.signup=function(t,e){function n(){return t.auto_login?r.login(t,e):"function"==typeof e?e():void 0}function o(t,n){var o=new C(t,n);if(c&&"function"==typeof c.kill&&c.kill(),"function"==typeof e)return e(o);throw o}var r=this,a={client_id:this._clientID,redirect_uri:this._getCallbackURL(t),email:j(t.email||t.username||"")};"string"==typeof t.username&&(a.username=j(t.username));var s=I(this._getMode(t),t,a);this._configureOfflineMode(s),i(t,"sso")||(t.sso=!0),i(t,"auto_login")||(t.auto_login=!0);var c,l=t.auto_login&&t.popup&&(!this._getCallbackOnLocationHash(t)||t.sso);l&&(c=this._buildPopupWindow(t));var p="https:",d=this._domain,M="/dbconnections/signup",f=u(p,d,M);return this._useJSONP?w(f+"?"+D.stringify(s),v,function(t,e){return t?o(0,t):200==e.status?n():o(e.status,e.err||e.error)}):void m({url:z(p,d)?M:f,method:"post",type:"html",data:s,success:n,crossOrigin:!z(p,d),error:function(t){o(t.status,t.responseText)}})},s.prototype.changePassword=function(t,e){function n(t,n){var o=new C(t,n);if(e)return e(o)}var o={client_id:this._clientID,connection:t.connection,email:j(t.email||"")};"string"==typeof t.password&&(o.password=t.password);var r="https:",i=this._domain,a="/dbconnections/change_password",s=u(r,i,a);return this._useJSONP?w(s+"?"+D.stringify(o),v,function(t,o){return t?n(0,t):200==o.status?e(null,o.message):n(o.status,o.err||o.error)}):void m({url:z(r,i)?a:s,method:"post",type:"html",data:o,crossOrigin:!z(r,i),error:function(t){n(t.status,t.responseText)},success:function(t){e(null,t)}})},s.prototype._buildAuthorizeQueryString=function(t,e){var n=this._buildAuthorizationParameters(t,e);return D.stringify(n)},s.prototype._buildAuthorizationParameters=function(t,e){var n=I.apply(null,t);this._configureOfflineMode(n),this._sendClientInfo&&(n.auth0Client=this._getClientInfoString()),e=e||["popup","popupOptions"];var o,r;for(o=0;o<e.length;o++)r=e[o],delete n[r];return n.connection_scope&&y(n.connection_scope)&&(n.connection_scope=n.connection_scope.join(",")),n},s.prototype._buildAuthorizeUrl=function(t){var e={};this._scope&&(e.scope=this._scope),this._audience&&(e.audience=this._audience);var n=[this._getMode(t),e,t,{client_id:this._clientID,redirect_uri:this._getCallbackURL(t)}],o=this._buildAuthorizeQueryString(n);return u("https:",this._domain,"/authorize?"+o)},s.prototype.login=s.prototype.signin=function(t,e){if(i(t,"sso")||(t.sso=!0),this._responseType.indexOf("id_token")>-1&&!t.nonce&&"undefined"==typeof t.passcode&&(("undefined"!=typeof t.username||"undefined"!=typeof t.email)&&!e||"undefined"==typeof t.username&&"undefined"==typeof t.email)){if(!window.localStorage)throw new Error("Unable to generate and store nonce to request id_token. Please provide a nonce value via options");var n=N.randomString(16);if(n)try{t.nonce=n,window.localStorage.setItem("com.auth0.auth.nonce",n)}catch(e){t.nonce=void 0}}if("undefined"!=typeof t.passcode)return this.loginWithPasscode(t,e);if("undefined"!=typeof t.username||"undefined"!=typeof t.email)return this.loginWithUsernamePassword(t,e);if(window.cordova||window.electron)return this.loginPhonegap(t,e);if(t.popup&&this._getCallbackOnLocationHash(t))return this.loginWithPopup(t,e);if(!t.nonce&&this._responseType.indexOf("id_token")>-1)throw new Error("nonce is mandatory");this._authorize(t)},s.prototype._authorize=function(t){var e=this._buildAuthorizeUrl(t);t.popup?this._buildPopupWindow(t,e):this._redirect(e)},s.prototype._computePopupPosition=function(t){t=t||{};var e=t.width||500,n=t.height||600,o="undefined"!=typeof window.screenX?window.screenX:window.screenLeft,r="undefined"!=typeof window.screenY?window.screenY:window.screenTop,i="undefined"!=typeof window.outerWidth?window.outerWidth:document.body.clientWidth,a="undefined"!=typeof window.outerHeight?window.outerHeight:document.body.clientHeight-22,u=o+(i-e)/2,s=r+(a-n)/2;return{width:e,height:n,left:u,top:s}},s.prototype.loginPhonegap=function(t,e){function n(t){M||(M=!0,d.close(),e(new Error(t.message),null))}function o(t){if(!(M||t.url&&0!==t.url.indexOf(i+"#")&&0!==t.url.indexOf(i+"?"))){var n=a.parseHash(t.url.slice(i.length));if(!n)return M=!0,d.close(),void e(new Error("Error parsing hash"),null);if(n.idToken)return M=!0,d.close(),void e(null,n);M=!0,d.close(),e(new Error(n.err||n.error||"Something went wrong"),null)}}function r(){M||(d.removeEventListener("loaderror",n),d.removeEventListener("loadstart",o),d.removeEventListener("exit",r),e(new Error("Browser window closed"),null))}if(this._shouldAuthenticateWithCordovaPlugin(t.connection))return void this._socialPhonegapLogin(t,e);var i=u("https:",this._domain,"/mobile"),a=this,s=[this._getMode(t),t,{client_id:this._clientID,redirect_uri:i}];this._sendClientInfo&&s.push({auth0Client:this._getClientInfoString()});var c=this._buildAuthorizeQueryString(s),l=u("https:",this._domain,"/authorize?"+c),p=I({location:"yes"},t.popupOptions);delete p.width,delete p.height;var d=this.openWindow(l,"_blank",p),M=!1;d.addEventListener("loaderror",n),d.addEventListener("loadstart",o),d.addEventListener("exit",r)},s.prototype.loginWithPopup=function(t,e){var n=this;if(!e)throw new Error("popup mode should receive a mandatory callback");if(!t.nonce&&this._responseType.indexOf("id_token")>-1)throw new Error("nonce is mandatory");var o=[this._getMode(t),t,{client_id:this._clientID,owp:!0}];this._sendClientInfo&&o.push({auth0Client:this._getClientInfoString()});var i=this._buildAuthorizeQueryString(o),a=u("https:",this._domain,"/authorize?"+i),s=this._computePopupPosition(t.popupOptions),c=I(s,t.popupOptions),l=L.open({url:a,relay_url:"https://"+this._domain+"/relay.html",window_features:r(c)},function(t,o){return n._current_popup=null,t?e(new C(t),null,null,null,null,null):o?o.access_token||o.id_token?e(null,n._prepareResult(o)):o.err?e(new C(o.err.status,o.err.details||o.err),null,null,null,null,null):o.error?e(new C(o.status,o.details||o),null,null,null,null,null):e(new C("Something went wrong"),null,null,null,null,null):e(new C("Something went wrong"),null,null,null,null,null)});l.focus()},s.prototype._shouldAuthenticateWithCordovaPlugin=function(t){var e=this._cordovaSocialPlugins[t];return this._useCordovaSocialPlugins&&!!e},s.prototype._socialPhonegapLogin=function(t,e){var n=this._cordovaSocialPlugins[t.connection],o=this;n(t.connection_scope,function(n,r,i){if(n)return void e(n,null,null,null,null);var a=I({access_token:r},t,i);o.loginWithSocialAccessToken(a,e)})},s.prototype._phonegapFacebookLogin=function(t,e){if(!window.facebookConnectPlugin||!window.facebookConnectPlugin.login)return void e(new Error("missing plugin phonegap-facebook-plugin"),null,null);var n;n=t&&y(t)?t:t?[t]:["public_profile"],window.facebookConnectPlugin.login(n,function(t){e(null,t.authResponse.accessToken,{})},function(t){e(new Error(t),null,null)})},s.prototype.loginWithUsernamePasswordAndSSO=function(t,e){var n=this,o=this._computePopupPosition(t.popupOptions),i=I(o,t.popupOptions);if(!t.nonce&&this._responseType.indexOf("id_token")>-1)throw new Error("nonce is mandatory");var a={url:"https://"+this._domain+"/sso_dbconnection_popup/"+this._clientID,relay_url:"https://"+this._domain+"/relay.html",window_features:r(i),popup:this._current_popup,params:{domain:this._domain,clientID:this._clientID,options:{username:j(t.username||t.email||""),password:t.password,connection:t.connection,state:t.state,scope:t.scope}}};t._csrf&&(a.params.options._csrf=t._csrf),t.device&&(a.params.options.device=t.device);var u=L.open(a,function(t,o){return n._current_popup=null,t?e(new C(t),null,null,null,null,null):o?o.id_token?e(null,n._prepareResult(o)):o.err?e(new C(o.err.status,o.err.details||o.err),null,null,null,null,null):o.error?e(new C(o.status,o.details||o),null,null,null,null,null):e(new C("Something went wrong"),null,null,null,null,null):e(new C("Something went wrong"),null,null,null,null,null)});u.focus()},s.prototype.loginWithResourceOwner=function(t,e){var n=this,o=I(this._getMode(t),t,{client_id:this._clientID,username:j(t.username||t.email||""),grant_type:"password"});this._configureOfflineMode(o);var r="https:",i=this._domain,s="/oauth/ro",c=u(r,i,s);return this._sendClientInfo&&this._useJSONP&&(o.auth0Client=this._getClientInfoString()),this._useJSONP?w(c+"?"+D.stringify(o),v,function(t,o){if(t)return e(t);if("error"in o){var r=new C(o.status,o.error);return e(r)}e(null,n._prepareResult(o))}):void m({url:z(r,i)?s:c,method:"post",type:"json",data:o,headers:this._getClientInfoHeader(),crossOrigin:!z(r,i),success:function(t){e(null,n._prepareResult(t))},error:function(t){a(t,e)}})},s.prototype.loginWithSocialAccessToken=function(t,e){var n=this,o=this._buildAuthorizationParameters([{scope:this._scope},t,{client_id:this._clientID}]),r="https:",i=this._domain,s="/oauth/access_token",c=u(r,i,s);return this._useJSONP?w(c+"?"+D.stringify(o),v,function(t,o){if(t)return e(t);if("error"in o){var r=new C(o.status,o.error);return e(r)}e(null,n._prepareResult(o))}):void m({url:z(r,i)?s:c,method:"post",type:"json",data:o,headers:this._getClientInfoHeader(),crossOrigin:!z(r,i),success:function(t){e(null,n._prepareResult(t))},error:function(t){a(t,e)}})},s.prototype._buildPopupWindow=function(t,e){if(this._current_popup&&!this._current_popup.closed)return this._current_popup;e=e||"about:blank";var n=this,o={width:500,height:600},i=I(o,t.popupOptions||{}),a=r(i);if(this._current_popup=window.open(e,"auth0_signup_popup",a),!this._current_popup)throw new Error("Popup window cannot not been created. Disable popup blocker or make sure to call Auth0 login or singup on an UI event.");return this._current_popup.kill=function(){this.close(),n._current_popup=null},this._current_popup},s.prototype.loginWithUsernamePassword=function(t,e){function n(t){if(e)return e(t);throw t}if(e&&e.length>1&&(!t.sso||window.cordova))return this.loginWithResourceOwner(t,e);var o,r=this;if(t.popup&&!this._getCallbackOnLocationHash(t)&&(o=this._buildPopupWindow(t)),!t.nonce&&this._responseType.indexOf("id_token")>-1)throw new Error("nonce is mandatory");if(e&&e.length>1&&t.sso)return this.loginWithUsernamePasswordAndSSO(t,e);var i=I(this._getMode(t),t,{client_id:this._clientID,redirect_uri:this._getCallbackURL(t),username:j(t.username||t.email||""),tenant:this._tenant});this._configureOfflineMode(i);var s="https:",c=this._domain,l="/usernamepassword/login",p=u(s,c,l);return this._useJSONP?w(p+"?"+D.stringify(i),v,function(n,i){if(n)return o&&o.kill&&o.kill(),e(n);if("error"in i){o&&o.kill&&o.kill();var a=new C(i.status,i.error);return e(a)}r._renderAndSubmitWSFedForm(t,i.form)}):void m({url:z(s,c)?l:p,method:"post",type:"html",data:i,headers:this._getClientInfoHeader(),crossOrigin:!z(s,c),success:function(e){r._renderAndSubmitWSFedForm(t,e)},error:function(t){o&&o.kill&&o.kill(),a(t,n)}})},s.prototype.loginWithPasscode=function(t,e){if(null==t.email&&null==t.phoneNumber)throw new Error("email or phoneNumber is required for authentication");if(null==t.passcode)throw new Error("passcode is required for authentication");if(t.connection=null==t.email?"sms":"email",!this._shouldRedirect)return t=I(t,{username:null==t.email?t.phoneNumber:t.email,password:t.passcode,sso:!1}),delete t.email,delete t.phoneNumber,delete t.passcode,this.loginWithResourceOwner(t,e);var n={connection:t.connection};t.phoneNumber&&(t.phone_number=t.phoneNumber,delete t.phoneNumber,n.phone_number=t.phone_number),t.email&&(n.email=t.email),t.verification_code=t.passcode,delete t.passcode,n.verification_code=t.verification_code;var o=this;this._verify(n,function(n){return n?e(n):void o._verify_redirect(t)})},s.prototype._verify=function(t,e){var n="https:",o=this._domain,r="/passwordless/verify",i=u(n,o,r),a=t;return this._useJSONP?(this._sendClientInfo&&(a.auth0Client=this._getClientInfoString()),w(i+"?"+D.stringify(a),v,function(t,n){return t?e(new Error("0: "+t.toString())):200===n.status?e(null,!0):e({status:n.status})})):m({url:z(n,o)?r:i,method:"post",headers:this._getClientInfoHeader(),crossOrigin:!z(n,o),data:a}).fail(function(t){try{e(JSON.parse(t.responseText))}catch(o){var n=new Error(t.status+"("+t.statusText+"): "+t.responseText);n.statusCode=t.status,n.error=t.statusText,n.message=t.responseText,e(n)}}).then(function(t){e(null,t)})},s.prototype._verify_redirect=function(t){var e=[this._getMode(t),t,{client_id:this._clientID,redirect_uri:this._getCallbackURL(t)}],n=this._buildAuthorizeQueryString(e),o=u("https:",this._domain,"/passwordless/verify_redirect?"+n);this._redirect(o)},s.prototype.renewIdToken=function(t,e){this.getDelegationToken({id_token:t,scope:"passthrough",api:"auth0"},e)},s.prototype.refreshToken=function(t,e){this.getDelegationToken({refresh_token:t,scope:"passthrough",api:"auth0"},e)},s.prototype.getDelegationToken=function(t,e){if(t=t||{},!t.id_token&&!t.refresh_token)throw new Error("You must send either an id_token or a refresh_token to get a delegation token.");var n=I({grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",client_id:this._clientID,target:t.targetClientId||this._clientID,api_type:t.api},t);delete n.hasOwnProperty,delete n.targetClientId,delete n.api;var r="https:",i=this._domain,a="/delegation",s=u(r,i,a);return this._useJSONP?w(s+"?"+D.stringify(n),v,function(t,n){if(t)return e(t);if("error"in n){var o=new C(n.status,n.error_description||n.error);return e(o)}e(null,n)}):void m({url:z(r,i)?a:s,method:"post",type:"json",data:n,crossOrigin:!z(r,i),success:function(t){e(null,t)},error:function(t){try{e(JSON.parse(t.responseText))}catch(a){var n=t,r=10===o()||11===o(),i=!n.status||0===n.status;i&&!window.navigator.onLine?(n={},n.status=0,n.responseText={code:"offline"}):i&&r?(n={},n.status=401,n.responseText={code:"invalid_operation"}):i?(n={},n.status=0,n.responseText={code:"connection_refused_timeout"}):n.responseText=t,e(new C(n.status,n.responseText))}}})},s.prototype.silentAuthentication=function(t,e){var n=t.usePostMessage||!1;delete t.usePostMessage,t=I(t,{prompt:"none"});var o=new E(this,this._buildAuthorizeUrl(t));o.login(e,n)},s.prototype.logout=function(t,e){var n="/logout";e=e||{},"v2"==e.version&&(n="/v2"+n);var o=u("https:",this._domain,n);t&&(o+="?"+D.stringify(t)),this._redirect(o)},s.prototype.getSSOData=function(t,e){"function"==typeof t&&(e=t,t=!1);var n={sso:!1};if(this._useJSONP){var o=new Error("The SSO data can't be obtained using JSONP");return void setTimeout(function(){e(o,n)},0)}var r="https:",i=this._domain,a="/user/ssodata",s=u(r,i,a),c=z(r,i),l={};return t&&(l={ldaps:1,client_id:this._clientID}),m({url:c?a:s,method:"get",type:"json",data:l,crossOrigin:!c,withCredentials:!c,timeout:3e3}).fail(function(t){var o=new Error("There was an error in the request that obtains the user's SSO data.");o.cause=t,e(o,n)}).then(function(t){e(null,t)})},s.prototype.getConnections=function(t){return d("getConnections is deprecated and will be removed shortly. Please use Management API endpoint /connections to list the connections"),w("https://"+this._domain+"/public/api/"+this._clientID+"/connections",v,t)},s.prototype.startPasswordless=function(t,e){if("object"!==("undefined"==typeof t?"undefined":M(t)))throw new Error("An options object is required");if("function"!=typeof e)throw new Error("A callback function is required");if(!t.email&&!t.phoneNumber)throw new Error("An `email` or a `phoneNumber` is required.");var n="https:",o=this._domain,r="/passwordless/start",i=u(n,o,r),a={client_id:this._clientID};return t.email?(a.email=t.email,a.connection="email",t.authParams&&(a.authParams=t.authParams),t.send&&"link"!==t.send||(a.authParams||(a.authParams={}),a.authParams.redirect_uri=t.callbackURL||this._callbackURL,a.authParams.response_type=this._getResponseType(t)),t.send&&(a.send=t.send)):(a.phone_number=t.phoneNumber,a.connection="sms"),this._useJSONP?(this._sendClientInfo&&(a.auth0Client=this._getClientInfoString()),w(i+"?"+D.stringify(a),v,function(t,n){return t?e(new Error("0: "+t.toString())):200===n.status?e(null,!0):e(n.err||n.error)})):m({url:z(n,o)?r:i,method:"post",type:"json",headers:this._getClientInfoHeader(),crossOrigin:!z(n,o),data:a}).fail(function(t){try{e(JSON.parse(t.responseText))}catch(o){var n=new Error(t.status+"("+t.statusText+"): "+t.responseText);n.statusCode=t.status,n.error=t.statusText,n.message=t.responseText,e(n)}}).then(function(t){e(null,t)})},s.prototype.requestMagicLink=function(t,e){return this.startPasswordless(t,e)},s.prototype.requestEmailCode=function(t,e){return t.send="code",this.startPasswordless(t,e)},s.prototype.verifyEmailCode=function(t,e){return t.passcode=t.code,delete t.code,this.login(t,e)},s.prototype.requestSMSCode=function(t,e){return this.startPasswordless(t,e)},s.prototype.verifySMSCode=function(t,e){return t.passcode=t.code,delete t.code,this.login(t,e)},s.prototype.getUserCountry=function(t){var e="https:",n=this._domain,o="/user/geoloc/country",r=u(e,n,o);if(this._useJSONP){var i=new Error("The user's country can't be obtained using JSONP");return void setTimeout(function(){t(i)},0)}m({url:z(e,n)?o:r,method:"get",type:"json",headers:this._getClientInfoHeader(),crossOrigin:!z(e,n),success:function(e){t(null,e.country_code)},error:function e(n){var e=new Error("There was an error in the request that obtains the user's country");e.cause=n,t(e)}})},s.prototype._prepareResult=function(t){if(t&&"object"===("undefined"==typeof t?"undefined":M(t))){var e=t.id_token?this.decodeJwt(t.id_token):void 0;return{accessToken:t.access_token,idToken:t.id_token,idTokenPayload:t.profile||e,refreshToken:t.refresh_token,state:t.state}}},s.prototype._parseResponseType=function(t,e){t||(t={}),e&&!this._providedResponseOptions&&t.hasOwnProperty("callbackOnLocationHash")&&(this._providedCallbackOnLocationHash=!0),e&&!this._providedCallbackOnLocationHash&&t.hasOwnProperty("responseType")&&(this._providedResponseOptions=!0),!this._providedCallbackOnLocationHash&&!this._providedResponseOptions&&t.hasOwnProperty("callbackOnLocationHash")&&t.hasOwnProperty("responseType")&&d("The responseType option will be ignored. Both callbackOnLocationHash and responseType options were provided and they can't be used together."),this._providedCallbackOnLocationHash&&t.hasOwnProperty("responseType")&&d("The responseType option will be ignored. The callbackOnLocationHash option was provided to the constructor and they can't be mixed."),this._providedResponseOptions&&t.hasOwnProperty("callbackOnLocationHash")&&d("The callbackOnLocationHash option will be ignored. The responseType option was provided to the constructor and they can't be mixed."),this._providedCallbackOnLocationHash||t.hasOwnProperty("callbackOnLocationHash")||!t.responseType||l(t.responseType)||d('The responseType option will be ignored. Its valid values are "code", "id_token", "token" or any combination of them.');var n=void 0;return this._providedResponseOptions||null==t.callbackOnLocationHash||(n=c(t.callbackOnLocationHash)),!this._providedCallbackOnLocationHash&&!t.hasOwnProperty("callbackOnLocationHash")&&t.responseType&&l(t.responseType)&&(n=t.responseType),n},s.prototype._parseResponseMode=function(t,e){t||(t={}),e&&!this._providedCallbackOnLocationHash&&t.hasOwnProperty("responseMode")&&(this._providedResponseOptions=!0),this._providedCallbackOnLocationHash&&t.hasOwnProperty("responseMode")&&d("The responseMode option will be ignored. The callbackOnLocationHash option was provided to the constructor and they can't be mixed."),!this._providedCallbackOnLocationHash&&!this._providedResponseOptions&&t.hasOwnProperty("callbackOnLocationHash")&&t.hasOwnProperty("responseMode")&&d("The responseMode option will be ignored. Both callbackOnLocationHash and responseMode options were provided and they can't be used together.");var n=void 0;return this._providedCallbackOnLocationHash||!t.responseMode||p(t.responseMode)||d('The responseMode option will be ignored. Its only valid value is "form_post".'),!this._providedCallbackOnLocationHash&&p(t.responseMode)&&(n=t.responseMode),n},t.exports=s}).call(e,function(){return this}())},function(t,e,n){"use strict";var o=n(46),r=[" ","!",'"',"#","\\$","%","&","'","\\(","\\)","\\*","\\+",",","-","\\.","/",":",";","<","=",">","\\?","@","\\[","\\\\","\\]","\\^","_","`","{","\\|","}","~"].join("|"),i=new RegExp(r);t.exports={validate:function(t){if(!o.isObject(t))throw new Error("options should be an object");if(!o.isArray(t.expressions)||o.isEmpty(t.expressions))throw new Error("contains expects expressions to be a non-empty array");var e=t.expressions.every(function(t){return o.isFunction(t.explain)&&o.isFunction(t.test)});if(!e)throw new Error("contains expressions are invalid: An explain and a test function should be provided");return!0},explain:function(t){return{message:"Should contain:",code:"shouldContain",items:t.expressions.map(function(t){return t.explain()})}},missing:function(t,e){var n=t.expressions.map(function(t){var n=t.explain();return n.verified=t.test(e),n}),o=n.every(function(t){return t.verified});return{message:"Should contain:",code:"shouldContain",verified:o,items:n}},assert:function(t,e){return!!e&&t.expressions.every(function(t){var n=t.test(e);return n})},charsets:{upperCase:{explain:function(){return{message:"upper case letters (A-Z)",code:"upperCase"}},test:function(t){return/[A-Z]/.test(t)}},lowerCase:{explain:function(){return{message:"lower case letters (a-z)",code:"lowerCase"}},test:function(t){return/[a-z]/.test(t)}},specialCharacters:{explain:function(){return{message:"special characters (e.g. !@#$%^&*)",code:"specialCharacters"}},test:function(t){return i.test(t)}},numbers:{explain:function(){return{message:"numbers (i.e. 0-9)",code:"numbers"}},test:function(t){return/\d/.test(t)}}}}},function(t,e,n){"use strict";function o(t,e){return Array.isArray(e)&&(e=e[1]),e?e.nextSibling:t.firstChild}function r(t,e,n){l.insertTreeBefore(t,e,n)}function i(t,e,n){Array.isArray(e)?u(t,e[0],e[1],n):g(t,e,n)}function a(t,e){if(Array.isArray(e)){var n=e[1];e=e[0],s(t,e,n),t.removeChild(n)}t.removeChild(e)}function u(t,e,n,o){for(var r=e;;){var i=r.nextSibling;if(g(t,r,o),r===n)break;r=i}}function s(t,e,n){for(;;){var o=e.nextSibling;if(o===n)break;t.removeChild(o)}}function c(t,e,n){var o=t.parentNode,r=t.nextSibling;r===e?n&&g(o,document.createTextNode(n),r):n?(f(r,n),s(o,r,e)):s(o,t,e)}var l=n(31),p=n(192),d=(n(6),n(14),n(67)),M=n(51),f=n(117),g=d(function(t,e,n){t.insertBefore(e,n)}),y=p.dangerouslyReplaceNodeWithMarkup,h={dangerouslyReplaceNodeWithMarkup:y,replaceDelimitedText:c,processUpdates:function(t,e){for(var n=0;n<e.length;n++){var u=e[n];switch(u.type){case"INSERT_MARKUP":r(t,u.content,o(t,u.afterNode));break;case"MOVE_EXISTING":i(t,u.fromNode,o(t,u.afterNode));break;case"SET_MARKUP":M(t,u.content);break;case"TEXT_CONTENT":f(t,u.content);break;case"REMOVE_NODE":a(t,u.fromNode)}}}};t.exports=h},function(t,e){"use strict";var n={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};t.exports=n},function(t,e,n){"use strict";function o(){if(u)for(var t in s){var e=s[t],n=u.indexOf(t);if(n>-1?void 0:a("96",t),!c.plugins[n]){e.extractEvents?void 0:a("97",t),c.plugins[n]=e;var o=e.eventTypes;for(var i in o)r(o[i],e,i)?void 0:a("98",i,t)}}}function r(t,e,n){c.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,c.eventNameDispatchConfigs[n]=t;var o=t.phasedRegistrationNames;if(o){for(var r in o)if(o.hasOwnProperty(r)){var u=o[r];i(u,e,n)}return!0}return!!t.registrationName&&(i(t.registrationName,e,n),!0)}function i(t,e,n){c.registrationNameModules[t]?a("100",t):void 0,c.registrationNameModules[t]=e,c.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var a=n(4),u=(n(3),null),s={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){u?a("101"):void 0,u=Array.prototype.slice.call(t),o()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];s.hasOwnProperty(n)&&s[n]===r||(s[n]?a("102",n):void 0,s[n]=r,e=!0)}e&&o()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return c.registrationNameModules[e.registrationName]||null;if(void 0!==e.phasedRegistrationNames){var n=e.phasedRegistrationNames;for(var o in n)if(n.hasOwnProperty(o)){var r=c.registrationNameModules[n[o]];if(r)return r}}return null},_resetEventPlugins:function(){u=null;for(var t in s)s.hasOwnProperty(t)&&delete s[t];c.plugins.length=0;var e=c.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var o=c.registrationNameModules;for(var r in o)o.hasOwnProperty(r)&&delete o[r]}};t.exports=c},function(t,e,n){"use strict";function o(t){return"topMouseUp"===t||"topTouchEnd"===t||"topTouchCancel"===t}function r(t){return"topMouseMove"===t||"topTouchMove"===t}function i(t){return"topMouseDown"===t||"topTouchStart"===t}function a(t,e,n,o){var r=t.type||"unknown-event";t.currentTarget=h.getNodeFromInstance(o),e?g.invokeGuardedCallbackWithCatch(r,n,t):g.invokeGuardedCallback(r,n,t),t.currentTarget=null}function u(t,e){var n=t._dispatchListeners,o=t._dispatchInstances;if(Array.isArray(n))for(var r=0;r<n.length&&!t.isPropagationStopped();r++)a(t,e,n[r],o[r]);else n&&a(t,e,n,o);t._dispatchListeners=null,t._dispatchInstances=null}function s(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e)){for(var o=0;o<e.length&&!t.isPropagationStopped();o++)if(e[o](t,n[o]))return n[o]}else if(e&&e(t,n))return n;return null}function c(t){var e=s(t);return t._dispatchInstances=null,t._dispatchListeners=null,e}function l(t){var e=t._dispatchListeners,n=t._dispatchInstances;Array.isArray(e)?f("103"):void 0,t.currentTarget=e?h.getNodeFromInstance(n):null;var o=e?e(t):null;return t.currentTarget=null,t._dispatchListeners=null,t._dispatchInstances=null,o}function p(t){return!!t._dispatchListeners}var d,M,f=n(4),g=n(65),y=(n(3),n(5),{injectComponentTree:function(t){d=t},injectTreeTraversal:function(t){M=t}}),h={isEndish:o,isMoveish:r,isStartish:i,executeDirectDispatch:l,executeDispatchesInOrder:u,executeDispatchesInOrderStopAtTrue:c,hasDispatches:p,getInstanceFromNode:function(t){return d.getInstanceFromNode(t)},getNodeFromInstance:function(t){return d.getNodeFromInstance(t)},isAncestor:function(t,e){return M.isAncestor(t,e)},getLowestCommonAncestor:function(t,e){return M.getLowestCommonAncestor(t,e)},getParentInstance:function(t){return M.getParentInstance(t)},traverseTwoPhase:function(t,e,n){return M.traverseTwoPhase(t,e,n)},traverseEnterLeave:function(t,e,n,o,r){return M.traverseEnterLeave(t,e,n,o,r)},injection:y};t.exports=h},function(t,e){"use strict";function n(t){var e=/[=:]/g,n={"=":"=0",":":"=2"},o=(""+t).replace(e,function(t){return n[t]});return"$"+o}function o(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"},o="."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1);return(""+o).replace(e,function(t){return n[t]})}var r={escape:n,unescape:o};t.exports=r},function(t,e,n){"use strict";function o(t){null!=t.checkedLink&&null!=t.valueLink?u("87"):void 0}function r(t){o(t),null!=t.value||null!=t.onChange?u("88"):void 0}function i(t){o(t),null!=t.checked||null!=t.onChange?u("89"):void 0}function a(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}var u=n(4),s=n(20),c=n(220),l=(n(3),n(5),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),p={value:function(t,e,n){return!t[e]||l[t.type]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(t,e,n){return!t[e]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:s.PropTypes.func},d={},M={checkPropTypes:function(t,e,n){for(var o in p){if(p.hasOwnProperty(o))var r=p[o](e,o,t,"prop",null,c);if(r instanceof Error&&!(r.message in d)){d[r.message]=!0;a(n)}}},getValue:function(t){return t.valueLink?(r(t),t.valueLink.value):t.value},getChecked:function(t){return t.checkedLink?(i(t),t.checkedLink.value):t.checked},executeOnChange:function(t,e){return t.valueLink?(r(t),t.valueLink.requestChange(e.target.value)):t.checkedLink?(i(t),t.checkedLink.requestChange(e.target.checked)):t.onChange?t.onChange.call(void 0,e):void 0}};t.exports=M},function(t,e,n){"use strict";var o=n(4),r=(n(3),!1),i={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(t){r?o("104"):void 0,i.replaceNodeWithMarkup=t.replaceNodeWithMarkup,i.processChildrenUpdates=t.processChildrenUpdates,r=!0}}};t.exports=i},function(t,e,n){"use strict";function o(t,e,n){try{e(n)}catch(t){null===r&&(r=t)}}var r=null,i={invokeGuardedCallback:o,invokeGuardedCallbackWithCatch:o,rethrowCaughtError:function(){ +if(r){var t=r;throw r=null,t}}};t.exports=i},function(t,e,n){"use strict";function o(t){c.enqueueUpdate(t)}function r(t){var e="undefined"==typeof t?"undefined":a(t);if("object"!==e)return e;var n=t.constructor&&t.constructor.name||e,o=Object.keys(t);return o.length>0&&o.length<20?n+" (keys: "+o.join(", ")+")":n}function i(t,e){var n=s.get(t);if(!n){return null}return n}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=n(4),s=(n(21),n(33)),c=(n(14),n(15)),l=(n(3),n(5),{isMounted:function(t){var e=s.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){l.validateCallback(e,n);var r=i(t);return r?(r._pendingCallbacks?r._pendingCallbacks.push(e):r._pendingCallbacks=[e],void o(r)):null},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],o(t)},enqueueForceUpdate:function(t){var e=i(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,o(e))},enqueueReplaceState:function(t,e){var n=i(t,"replaceState");n&&(n._pendingStateQueue=[e],n._pendingReplaceState=!0,o(n))},enqueueSetState:function(t,e){var n=i(t,"setState");if(n){var r=n._pendingStateQueue||(n._pendingStateQueue=[]);r.push(e),o(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,o(t)},validateCallback:function(t,e){t&&"function"!=typeof t?u("122",e,r(t)):void 0}});t.exports=l},function(t,e){"use strict";var n=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,o,r){MSApp.execUnsafeLocalFunction(function(){return t(e,n,o,r)})}:t};t.exports=n},function(t,e){"use strict";function n(t){var e,n=t.keyCode;return"charCode"in t?(e=t.charCode,0===e&&13===n&&(e=13)):e=n,e>=32||13===e?e:0}t.exports=n},function(t,e){"use strict";function n(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var o=r[t];return!!o&&!!n[o]}function o(t){return n}var r={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=o},function(t,e){"use strict";function n(t){var e=t.target||t.srcElement||window;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=n},function(t,e,n){"use strict";function o(t,e){if(!i.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"==typeof a[n]}return!o&&r&&"wheel"===t&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}var r,i=n(10);i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=o},function(t,e){"use strict";function n(t,e){var n=null===t||t===!1,r=null===e||e===!1;if(n||r)return n===r;var i="undefined"==typeof t?"undefined":o(t),a="undefined"==typeof e?"undefined":o(e);return"string"===i||"number"===i?"string"===a||"number"===a:"object"===a&&t.type===e.type&&t.key===e.key}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=n},function(t,e,n){"use strict";var o=(n(7),n(19)),r=(n(5),o);t.exports=r},function(t,e){"use strict";function n(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function o(t,e){if(n(t,e))return!0;if("object"!==("undefined"==typeof t?"undefined":r(t))||null===t||"object"!==("undefined"==typeof e?"undefined":r(e))||null===e)return!1;var o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;for(var u=0;u<o.length;u++)if(!i.call(e,o[u])||!n(t[o[u]],e[o[u]]))return!1;return!0}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=Object.prototype.hasOwnProperty;t.exports=o},function(t,e,n){"use strict";function o(t,e,n){this.props=t,this.context=e,this.refs=u,this.updater=n||a}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=n(36),a=n(77),u=(n(127),n(78));n(28),n(22);o.prototype.isReactComponent={},o.prototype.setState=function(t,e){"object"!==("undefined"==typeof t?"undefined":r(t))&&"function"!=typeof t&&null!=t?i("85"):void 0,this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},o.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};t.exports=o},function(t,e,n){"use strict";function o(t){var e=Function.prototype.toString,n=Object.prototype.hasOwnProperty,o=RegExp("^"+e.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var r=e.call(t);return o.test(r)}catch(t){return!1}}function r(t){var e=c(t);if(e){var n=e.childIDs;l(t),n.forEach(r)}}function i(t,e,n){return"\n in "+(t||"Unknown")+(e?" (at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+")":n?" (created by "+n+")":"")}function a(t){return null==t?"#empty":"string"==typeof t||"number"==typeof t?"#text":"string"==typeof t.type?t.type:t.type.displayName||t.type.name||"Unknown"}function u(t){var e,n=z.getDisplayName(t),o=z.getElement(t),r=z.getOwnerID(t);return r&&(e=z.getDisplayName(r)),i(n,o&&o._source,e)}var s,c,l,p,d,M,f,g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y=n(36),h=n(21),N=(n(28),n(22),"function"==typeof Array.from&&"function"==typeof Map&&o(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&o(Map.prototype.keys)&&"function"==typeof Set&&o(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&o(Set.prototype.keys));if(N){var D=new Map,I=new Set;s=function(t,e){D.set(t,e)},c=function(t){return D.get(t)},l=function(t){D.delete(t)},p=function(){return Array.from(D.keys())},d=function(t){I.add(t)},M=function(t){I.delete(t)},f=function(){return Array.from(I.keys())}}else{var j={},m={},L=function(t){return"."+t},w=function(t){return parseInt(t.substr(1),10)};s=function(t,e){var n=L(t);j[n]=e},c=function(t){var e=L(t);return j[e]},l=function(t){var e=L(t);delete j[e]},p=function(){return Object.keys(j).map(w)},d=function(t){var e=L(t);m[e]=!0},M=function(t){var e=L(t);delete m[e]},f=function(){return Object.keys(m).map(w)}}var v=[],z={onSetChildren:function(t,e){var n=c(t);n?void 0:y("144"),n.childIDs=e;for(var o=0;o<e.length;o++){var r=e[o],i=c(r);i?void 0:y("140"),null==i.childIDs&&"object"===g(i.element)&&null!=i.element?y("141"):void 0,i.isMounted?void 0:y("71"),null==i.parentID&&(i.parentID=t),i.parentID!==t?y("142",r,i.parentID,t):void 0}},onBeforeMountComponent:function(t,e,n){var o={element:e,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};s(t,o)},onBeforeUpdateComponent:function(t,e){var n=c(t);n&&n.isMounted&&(n.element=e)},onMountComponent:function(t){var e=c(t);e?void 0:y("144"),e.isMounted=!0;var n=0===e.parentID;n&&d(t)},onUpdateComponent:function(t){var e=c(t);e&&e.isMounted&&e.updateCount++},onUnmountComponent:function(t){var e=c(t);if(e){e.isMounted=!1;var n=0===e.parentID;n&&M(t)}v.push(t)},purgeUnmountedComponents:function(){if(!z._preventPurging){for(var t=0;t<v.length;t++){var e=v[t];r(e)}v.length=0}},isMounted:function(t){var e=c(t);return!!e&&e.isMounted},getCurrentStackAddendum:function(t){var e="";if(t){var n=a(t),o=t._owner;e+=i(n,t._source,o&&o.getName())}var r=h.current,u=r&&r._debugID;return e+=z.getStackAddendumByID(u)},getStackAddendumByID:function(t){for(var e="";t;)e+=u(t),t=z.getParentID(t);return e},getChildIDs:function(t){var e=c(t);return e?e.childIDs:[]},getDisplayName:function(t){var e=z.getElement(t);return e?a(e):null},getElement:function(t){var e=c(t);return e?e.element:null},getOwnerID:function(t){var e=z.getElement(t);return e&&e._owner?e._owner._debugID:null},getParentID:function(t){var e=c(t);return e?e.parentID:null},getSource:function(t){var e=c(t),n=e?e.element:null,o=null!=n?n._source:null;return o},getText:function(t){var e=z.getElement(t);return"string"==typeof e?e:"number"==typeof e?""+e:null},getUpdateCount:function(t){var e=c(t);return e?e.updateCount:0},getRootIDs:f,getRegisteredIDs:p};t.exports=z},function(t,e,n){"use strict";function o(t,e){}var r=(n(22),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){o(t,"forceUpdate")},enqueueReplaceState:function(t,e){o(t,"replaceState")},enqueueSetState:function(t,e){o(t,"setState")}});t.exports=r},function(t,e,n){"use strict";var o={};t.exports=o},function(t,e,n){(function(t,o){"use strict";function r(t,n){var o={seen:[],stylize:a};return arguments.length>=3&&(o.depth=arguments[2]),arguments.length>=4&&(o.colors=arguments[3]),g(n)?o.showHidden=n:n&&e._extend(o,n),j(o.showHidden)&&(o.showHidden=!1),j(o.depth)&&(o.depth=2),j(o.colors)&&(o.colors=!1),j(o.customInspect)&&(o.customInspect=!0),o.colors&&(o.stylize=i),s(o,t,o.depth)}function i(t,e){var n=r.styles[e];return n?"["+r.colors[n][0]+"m"+t+"["+r.colors[n][1]+"m":t}function a(t,e){return t}function u(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}function s(t,n,o){if(t.customInspect&&n&&z(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(o,t);return D(r)||(r=s(t,r,o)),r}var i=c(t,n);if(i)return i;var a=Object.keys(n),g=u(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),v(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(n);if(0===a.length){if(z(n)){var y=n.name?": "+n.name:"";return t.stylize("[Function"+y+"]","special")}if(m(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return t.stylize(Date.prototype.toString.call(n),"date");if(v(n))return l(n)}var h="",N=!1,I=["{","}"];if(f(n)&&(N=!0,I=["[","]"]),z(n)){var j=n.name?": "+n.name:"";h=" [Function"+j+"]"}if(m(n)&&(h=" "+RegExp.prototype.toString.call(n)),w(n)&&(h=" "+Date.prototype.toUTCString.call(n)),v(n)&&(h=" "+l(n)),0===a.length&&(!N||0==n.length))return I[0]+h+I[1];if(o<0)return m(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var L;return L=N?p(t,n,o,g,a):a.map(function(e){return d(t,n,o,g,e,N)}),t.seen.pop(),M(L,h,I)}function c(t,e){if(j(e))return t.stylize("undefined","undefined");if(D(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return N(e)?t.stylize(""+e,"number"):g(e)?t.stylize(""+e,"boolean"):y(e)?t.stylize("null","null"):void 0}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,n,o,r){for(var i=[],a=0,u=e.length;a<u;++a)k(e,String(a))?i.push(d(t,e,n,o,String(a),!0)):i.push("");return r.forEach(function(r){r.match(/^\d+$/)||i.push(d(t,e,n,o,r,!0))}),i}function d(t,e,n,o,r,i){var a,u,c;if(c=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]},c.get?u=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(u=t.stylize("[Setter]","special")),k(o,r)||(a="["+r+"]"),u||(t.seen.indexOf(c.value)<0?(u=y(n)?s(t,c.value,null):s(t,c.value,n-1),u.indexOf("\n")>-1&&(u=i?u.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+u.split("\n").map(function(t){return" "+t}).join("\n"))):u=t.stylize("[Circular]","special")),j(a)){if(i&&r.match(/^\d+$/))return u;a=JSON.stringify(""+r),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+u}function M(t,e,n){var o=0,r=t.reduce(function(t,e){return o++,e.indexOf("\n")>=0&&o++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);return r>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function f(t){return Array.isArray(t)}function g(t){return"boolean"==typeof t}function y(t){return null===t}function h(t){return null==t}function N(t){return"number"==typeof t}function D(t){return"string"==typeof t}function I(t){return"symbol"===("undefined"==typeof t?"undefined":S(t))}function j(t){return void 0===t}function m(t){return L(t)&&"[object RegExp]"===C(t)}function L(t){return"object"===("undefined"==typeof t?"undefined":S(t))&&null!==t}function w(t){return L(t)&&"[object Date]"===C(t)}function v(t){return L(t)&&("[object Error]"===C(t)||t instanceof Error)}function z(t){return"function"==typeof t}function b(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===("undefined"==typeof t?"undefined":S(t))||"undefined"==typeof t}function C(t){return Object.prototype.toString.call(t)}function T(t){return t<10?"0"+t.toString(10):t.toString(10)}function E(){var t=new Date,e=[T(t.getHours()),T(t.getMinutes()),T(t.getSeconds())].join(":");return[t.getDate(),_[t.getMonth()],e].join(" ")}function k(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x=/%[sdj%]/g;e.format=function(t){if(!D(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(r(arguments[n]));return e.join(" ")}for(var n=1,o=arguments,i=o.length,a=String(t).replace(x,function(t){if("%%"===t)return"%";if(n>=i)return t;switch(t){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(t){return"[Circular]"}default:return t}}),u=o[n];n<i;u=o[++n])a+=y(u)||!L(u)?" "+u:" "+r(u);return a},e.deprecate=function(n,r){function i(){if(!a){if(o.throwDeprecation)throw new Error(r);o.traceDeprecation?console.trace(r):console.error(r),a=!0}return n.apply(this,arguments)}if(j(t.process))return function(){return e.deprecate(n,r).apply(this,arguments)};if(o.noDeprecation===!0)return n;var a=!1;return i};var O,A={};e.debuglog=function(t){if(j(O)&&(O={NODE_ENV:"production"}.NODE_DEBUG||""),t=t.toUpperCase(),!A[t])if(new RegExp("\\b"+t+"\\b","i").test(O)){var n=o.pid;A[t]=function(){var o=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,o)}}else A[t]=function(){};return A[t]},e.inspect=r,r.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},r.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=f,e.isBoolean=g,e.isNull=y,e.isNullOrUndefined=h,e.isNumber=N,e.isString=D,e.isSymbol=I,e.isUndefined=j,e.isRegExp=m,e.isObject=L,e.isDate=w,e.isError=v,e.isFunction=z,e.isPrimitive=b,e.isBuffer=n(279);var _=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];e.log=function(){console.log("%s - %s",E(),e.format.apply(e,arguments))},e.inherits=n(278),e._extend=function(t,e){if(!e||!L(e))return t;for(var n=Object.keys(e),o=n.length;o--;)t[n[o]]=e[n[o]];return t}}).call(e,function(){return this}(),n(29))},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t,e){(0,c.swap)(c.updateEntity,"lock",t,l.toggleHRD,e)}function i(t){(0,c.swap)(c.updateEntity,"lock",t,function(t){return t=(0,l.toggleHRD)(t,!1),t=(0,p.hideInvalidFields)(t)})}function a(t){var e=(0,c.read)(c.getEntity,"lock",t),n=(0,p.getFieldValue)(e,(0,y.databaseLogInWithEmail)(e)?"email":"username"),o=(0,l.matchConnection)(e,n);return o&&!(0,l.isHRDActive)(e)?s(t,o):void u(t)}function u(t){var e=(0,c.read)(c.getEntity,"lock",t),n=(0,l.isHRDActive)(e)||!(0,y.databaseLogInWithEmail)(e)?"username":"email",o=(0,p.getFieldValue)(e,n),r=(0,l.enterpriseActiveFlowConnection)(e),i=g.defaultADUsernameFromEmailPrefix(e)?(0,d.emailLocalPart)(o):o;(0,M.logIn)(t,["password",n],{connection:r?r.get("name"):null,username:i,password:(0,p.getFieldValue)(e,"password"),login_hint:i})}function s(t,e){var n=(0,c.read)(c.getEntity,"lock",t),o=(0,y.databaseLogInWithEmail)(n)?"email":"username";(0,M.logIn)(t,[o],{connection:e.get("name"),login_hint:(0,p.getFieldValue)(n,o)})}e.__esModule=!0,e.startHRD=r,e.cancelHRD=i,e.logIn=a;var c=n(12),l=n(23),p=n(8),d=n(26),M=n(24),f=n(2),g=o(f),y=n(11)},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==t.username)return null;var e=M({},m,t),n=m.username.min,o=m.username.max;return e.username.min=parseInt(e.username.min,10)||n,e.username.max=parseInt(e.username.max,10)||o,e.username.min>e.username.max&&(e.username.min=n,e.username.max=o),e}function a(t,e,n){return I(t,u(e,n))}function u(t,e){return new g.default.fromJS({connections:s(t,e),defaultDirectory:e.defaultDirectory||null})}function s(t,e){var n=L.toJS(),o=Object.keys(e.connections).filter(function(t){return"passwordless"!=t}),r=null;return e.clientsConnections&&e.clientsConnections[t]&&(r=e.clientsConnections[t]),o.forEach(function(t){var o,i=e.connections[t].map(function(e){return c(t,e)}).filter(function(t){return null===r||r.indexOf(t.name)!==-1});(o=n[t]).push.apply(o,i)}),n}function c(t,e){var n={name:e.name,strategy:e.strategy,type:t};return"database"===t&&(e.validation&&e.validation.passwordPolicy&&(n.passwordPolicy=e.validation.passwordPolicy),n.passwordPolicy=n.passwordPolicy||"none",n.allowSignup="boolean"!=typeof e.showSignup||e.showSignup,n.allowForgot="boolean"!=typeof e.showForgot||e.showForgot,n.requireUsername="boolean"==typeof e.requiresUsername&&e.requiresUsername,n.validation=i(e.validation)),"enterprise"===t&&(n.domains=e.domains),n}function l(t){return j(t,"connections",L)}function p(t){var e=d(t);return e&&N.findConnection(t,e)}function d(t){return j(t,"defaultDirectory",null)}e.__esModule=!0;var M=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.initTenant=a,e.tenantConnections=l,e.defaultDirectory=p,e.defaultDirectoryName=d;var f=n(9),g=r(f),y=n(17),h=n(2),N=o(h),D=(0,y.dataFns)(["client"]),I=D.initNS,j=D.get,m={username:{min:1,max:15}},L=g.default.fromJS({database:[],enterprise:[],passwordless:[],social:[],unknown:[]})},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t){return(0,m.isEnterpriseDomain)(t,(0,j.databaseUsernameValue)(t))}function u(t){return(0,j.authWithUsername)(t)&&!isADEnabled(t)?"username":"email"}function s(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return C.hasOnlyConnections.apply(C,[t,e].concat(o))&&!C.hasSomeConnections(t,"passwordless")}function c(t){return(0,w.useBigButtons)(t,s(t,"social")?5:3)}function l(t){var e=C.hasSomeConnections(t,"database"),n=C.hasSomeConnections(t,"social"),o=C.hasSomeConnections(t,"enterprise");if(e||n||o){if(!e&&(0,j.hasInitialScreen)(t,"forgotPassword")){var r=new Error('The `initialScreen` option was set to "forgotPassword" but no database connection is available.');r.code="unavailable_initial_screen",t=C.stop(t,r)}else if(!e&&!n&&(0,j.hasInitialScreen)(t,"signUp")){var i=new Error('The `initialScreen` option was set to "signUp" but no database or social connection is available.');i.code="unavailable_initial_screen",t=C.stop(t,i)}}else{var a=new Error("At least one database, enterprise or social connection needs to be available.");a.code="no_connection",t=C.stop(t,a)}return(0,L.defaultDirectoryName)(t)&&!(0,L.defaultDirectory)(t)&&C.error(t,"The account's default directory \""+(0,L.defaultDirectoryName)(t)+'" is not enabled.'),(0,j.defaultDatabaseConnectionName)(t)&&!(0,j.defaultDatabaseConnection)(t)&&C.warn(t,'The provided default database connection "'+(0,j.defaultDatabaseConnectionName)(t)+'" is not enabled.'),(0,m.defaultEnterpriseConnectionName)(t)&&!(0,m.defaultEnterpriseConnection)(t)&&C.warn(t,'The provided default enterprise connection "'+(0,m.defaultEnterpriseConnectionName)(t)+'" is not enabled or does not allow email/password authentication.'),t}e.__esModule=!0,e.isSSOEnabled=a,e.usernameStyle=u,e.hasOnlyClassicConnections=s,e.useBigSocialButtons=c;var p=n(140),d=(r(p),n(300)),M=r(d),f=n(303),g=r(f),y=n(301),h=r(y),N=n(284),D=r(N),I=n(137),j=n(11),m=n(23),L=n(81),w=n(39),v=n(26),z=n(85),b=n(2),C=o(b),T=n(290),E=r(T),k=n(289),S=r(k),x=n(291),O=r(x),A=n(141),_=n(295),U=r(_),Y=n(294),Q=r(Y),P=n(298),B=r(P),R=n(45),G=(n(8),n(12)),Z=function(){function t(){i(this,t)}return t.prototype.didInitialize=function(t,e){t=(0,w.initSocial)(t,e),t=(0,j.initDatabase)(t,e),t=(0,m.initEnterprise)(t,e);var n=e.prefill||{},o=n.email,r=n.username;return"string"==typeof o&&(t=(0,v.setEmail)(t,o)),"string"==typeof r&&(t=(0,z.setUsername)(t,r,"username",!1)),t},t.prototype.didReceiveClientSettings=function(t){return l(t)},t.prototype.willShow=function(t,e){return t=(0,j.overrideDatabaseOptions)(t,e),(0,R.isSuccess)(t,"client")&&(t=l(t)),t},t.prototype.render=function(e){if(!(0,R.isDone)(e)||e.get("isLoadingPanePinned"))return new U.default;if(C.hasStopped(e))return new Q.default;if((0,j.hasScreen)(e,"login")){if(!(0,A.hasSkippedQuickAuth)(e)&&C.ui.rememberLastLogin(e)&&(0,j.hasInitialScreen)(e,"login")){if((0,m.isInCorpNetwork)(e))return new E.default;var n=(0,I.lastUsedConnection)(e);if(n&&(0,R.isSuccess)(e,"sso")&&C.hasConnection(e,n.get("name")))return new B.default}if((0,m.quickAuthConnection)(e))return new O.default;if((0,m.isHRDActive)(e))return new S.default}var o=t.SCREENS[(0,j.getScreen)(e)];return o?new o:(setTimeout(function(){var t=new Error("Internal error");t.code="internal_error",t.description="Couldn't find a screen \""+(0,j.getScreen)(e)+'"',(0,G.swap)(G.updateEntity,"lock",C.id(e),C.stop,t)},0),new Q.default)},t}();Z.SCREENS={login:M.default,forgotPassword:D.default,signUp:g.default,mfaLogin:h.default},e.default=new Z},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(316),p=r(l),d=n(8),M=o(d),f=n(12),g=n(2),y=o(g),h=n(26),N=n(132),D=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.componentDidMount=function(){var t=this.props.lock;y.ui.avatar(t)&&M.email(t)&&(0,N.requestAvatar)(y.id(t),M.email(t))},e.prototype.handleChange=function(t){var e=this.props.lock;y.ui.avatar(e)&&(0,N.debouncedRequestAvatar)(y.id(e),t.target.value),(0,f.swap)(f.updateEntity,"lock",y.id(e),h.setEmail,t.target.value)},e.prototype.render=function(){var t=this.props,e=t.i18n,n=t.lock,o=t.placeholder,r=M.getFieldValue(n,"email");return c.default.createElement(p.default,{value:r,invalidHint:e.str(r?"invalidErrorHint":"blankErrorHint"),isValid:!M.isFieldVisiblyInvalid(n,"email"),onChange:this.handleChange.bind(this),placeholder:o})},e}(c.default.Component);e.default=D,D.propTypes={i18n:c.default.PropTypes.object.isRequired,invalidHint:c.default.PropTypes.string,lock:c.default.PropTypes.object.isRequired,placeholder:c.default.PropTypes.string.isRequired}},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(88),p=r(l),d=n(8),M=o(d),f=n(12),g=n(2),y=o(g),h=n(308),N=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.handleChange=function(t){var e=this.props,n=e.lock,o=e.policy;(0,f.swap)(f.updateEntity,"lock",y.id(n),h.setPassword,t.target.value,o)},e.prototype.render=function(){var t=this.props,e=t.i18n,n=t.lock,o=t.placeholder,r=t.policy,i=t.strengthMessages;return c.default.createElement(p.default,{value:M.getFieldValue(n,"password"),invalidHint:e.str("blankErrorHint"),isValid:!M.isFieldVisiblyInvalid(n,"password"),onChange:this.handleChange.bind(this),placeholder:o,strengthMessages:i,disabled:y.submitting(n),policy:r})},e}(c.default.Component);e.default=N,N.propTypes={i18n:c.default.PropTypes.object.isRequired,lock:c.default.PropTypes.object.isRequired,onChange:c.default.PropTypes.func,placeholder:c.default.PropTypes.string.isRequired,policy:c.default.PropTypes.string,strengthMessages:c.default.PropTypes.object}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M.username;if(!e||null==n)return(0,d.default)(t).length>0;var o=(0,d.default)(t.toLowerCase());if(o.length<n.min)return!1;if(o.length>n.max)return!1;var r=f.exec(o);return r&&r[0]}function i(t){var e=(0,l.databaseConnection)(t).getIn(["validation","username"]);return e?e.toJS():null}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"username",o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=o?i(t):null,l=function(t){switch(n){case"email":return(0,c.validateEmail)(t);case"username":return r(t,o,a);default:return u(t)?(0,c.validateEmail)(t):r(t,o,a)}};return(0,s.setField)(t,"username",e,l)}function u(t){return t.indexOf("@")>-1}e.__esModule=!0,e.getUsernameValidation=i,e.setUsername=a,e.usernameLooksLikeEmail=u;var s=n(8),c=n(26),l=n(11),p=n(25),d=o(p),M={username:{min:1,max:15}},f=/^[a-zA-Z0-9_]+$/},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(320),p=r(l),d=n(8),M=o(d),f=n(12),g=n(2),y=o(g),h=n(85),N=n(132),D=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.componentDidMount=function(){var t=this.props.lock;y.ui.avatar(t)&&M.username(t)&&(0,N.requestAvatar)(y.id(t),M.username(t))},e.prototype.handleChange=function(t){var e=this.props,n=e.lock,o=e.validateFormat,r=e.usernameStyle;y.ui.avatar(n)&&(0,N.debouncedRequestAvatar)(y.id(n),t.target.value),(0,f.swap)(f.updateEntity,"lock",y.id(n),h.setUsername,t.target.value,r,o)},e.prototype.render=function(){var t=this.props,e=t.i18n,n=t.lock,o=t.placeholder,r=t.validateFormat,i=M.getFieldValue(n,"username"),a=r?(0,h.getUsernameValidation)(n):{},u=function(t){return t?(0,h.usernameLooksLikeEmail)(t)||!r?"invalidErrorHint":"usernameFormatErrorHint":"blankErrorHint"},s=function(t){var n=u(t);return"usernameFormatErrorHint"===n&&r&&null!=a?e.str(n,a.min,a.max):e.str(n)};return c.default.createElement(p.default,{value:i,invalidHint:s(i),isValid:!M.isFieldVisiblyInvalid(n,"username"),onChange:this.handleChange.bind(this),placeholder:o})},e}(c.default.Component);e.default=D,D.propTypes={i18n:c.default.PropTypes.object.isRequired,lock:c.default.PropTypes.object.isRequired,placeholder:c.default.PropTypes.string.isRequired,validateFormat:c.default.PropTypes.bool.isRequired,usernameStyle:c.default.PropTypes.oneOf(["any","email","username"])},D.defaultProps={validateFormat:!1,usernameStyle:"username"}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},i=n(1),a=o(i),u=n(312),s=o(u),c='<svg width="56px" height="56px" viewBox="0 0 52 52" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="checkmark"> <circle cx="26" cy="26" r="25" fill="none" class="checkmark__circle"></circle> <path fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8" class="checkmark__check"></path> </svg>',l=function(t){return a.default.createElement(s.default,r({svg:c},t))};e.default=l},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0,e.icon=void 0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c=n(1),l=o(c),p=n(40),d=o(p),M=n(318),f=o(M),g=e.icon='<svg width="11px" height="14px" viewBox="0 0 13 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="auth0-lock-icon auth0-lock-icon-box"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-288.000000, -1508.000000)" fill="#888888"><path d="M299,1523.998 L290,1523.998 C288.896,1523.998 288,1523.102 288,1521.999 L288,1515.999 C288,1514.895 288.896,1513.998 290,1513.998 L290,1513.998 L290,1512.499 C290,1510.015 292.015,1507.999 294.5,1507.999 C296.985,1507.999 299,1510.015 299,1512.499 L299,1513.999 C300.104,1513.999 301,1514.895 301,1515.999 L301,1521.999 C301,1523.103 300.104,1523.998 299,1523.998 L299,1523.998 Z M298,1512.499 C298,1510.566 296.433,1508.999 294.5,1508.999 C292.567,1508.999 291,1510.566 291,1512.499 L291,1513.998 L298,1513.998 L298,1512.499 L298,1512.499 Z M300,1515.999 C300,1515.446 299.552,1514.998 299,1514.998 L290,1514.998 C289.447,1514.998 289,1515.446 289,1515.999 L289,1521.999 C289,1522.551 289.447,1522.998 290,1522.998 L299,1522.998 C299.552,1522.998 300,1522.551 300,1521.999 L300,1515.999 L300,1515.999 Z M294.5,1520.998 C294.224,1520.998 294,1520.774 294,1520.498 L294,1517.498 C294,1517.223 294.224,1516.999 294.5,1516.999 C294.776,1516.999 295,1517.223 295,1517.498 L295,1520.498 C295,1520.774 294.776,1520.998 294.5,1520.998 L294.5,1520.998 Z"></path></g></g></svg>',y=function(t){ +function e(n){i(this,e);var o=a(this,t.call(this,n));return o.state={},o}return u(e,t),e.prototype.focus=function(){this.refs.input&&this.refs.input.focus()},e.prototype.hasFocus=function(){return this.state.focused},e.prototype.render=function(){var t=this.props,e=t.invalidHint,n=t.isValid,o=(t.onChange,t.policy),i=t.strengthMessages,a=t.value,u=r(t,["invalidHint","isValid","onChange","policy","strengthMessages","value"]),c=this.state,p=c.focused,M=c.changing,y=o&&p&&M?l.default.createElement(f.default,{messages:i,password:a,policy:o}):null;return l.default.createElement(d.default,{before:y,focused:p,invalidHint:o?void 0:e,isValid:n,name:"password",icon:g},l.default.createElement("input",s({ref:"input",type:"password",name:"password",className:"auth0-lock-input",autoComplete:"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),value:a},u)))},e.prototype.handleOnChange=function(t){var e=this.state;e.changing=!0,this.setState(e),this.props.onChange&&this.props.onChange(t)},e.prototype.handleFocus=function(){this.setState({focused:!0})},e.prototype.handleBlur=function(){this.setState({focused:!1})},e}(l.default.Component);y.propTypes={invalidHint:l.default.PropTypes.string.isRequired,isValid:l.default.PropTypes.bool.isRequired,onChange:l.default.PropTypes.func.isRequired,placeholder:l.default.PropTypes.string,policy:l.default.PropTypes.string,strengthMessages:l.default.PropTypes.object,value:l.default.PropTypes.string.isRequired},e.default=y},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(1),i=o(r),a=n(143),u=o(a),s=function(t){var e=t.alternativeLabel,n=t.alternativeClickHandler,o=t.buttonLabel,r=t.buttonClickHandler,a=t.header,s=t.strategy,c=t.buttonIcon,l=t.primaryColor,p=t.foregroundColor,d=e?i.default.createElement("p",{className:"auth0-lock-alternative"},i.default.createElement("a",{className:"auth0-lock-alternative-link",href:"#",onClick:function(t){t.preventDefault(),n(t)}},e)):null;return i.default.createElement("div",{className:"auth0-lock-last-login-pane"},a,i.default.createElement(u.default,{label:o,onClick:function(t){t.preventDefault(),r(t)},strategy:s,primaryColor:l,foregroundColor:p,icon:c}),d,i.default.createElement("div",{className:"auth0-loading-container"},i.default.createElement("div",{className:"auth0-loading"})))};s.propTypes={alternativeLabel:i.default.PropTypes.string,alternativeClickHandler:function(t,e,n){for(var o=arguments.length,r=Array(o>3?o-3:0),a=3;a<o;a++)r[a-3]=arguments[a];if(void 0!==t.alternativeLabel){var u;return(u=i.default.PropTypes.func).isRequired.apply(u,[t,e,n].concat(r))}},buttonLabel:i.default.PropTypes.string.isRequired,buttonClickHandler:i.default.PropTypes.func.isRequired,header:i.default.PropTypes.element,strategy:i.default.PropTypes.string.isRequired},e.default=s},function(t,e,n){(function(t){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(e){var n=e.cb,o=e.check,r=e.method,i=e.url;s[r]||(s[r]=[],t.Auth0[r]=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s[r]=s[r].filter(function(t){return!t.check.apply(t,e)||(setTimeout(function(){return t.cb.apply(t,[null].concat(e))},0),!1)})}),s[r].push({cb:n,check:o,url:i});var a=s[r].reduce(function(t,e){return t+(e.url===i?1:0)},0);if(!(a>1)){var u=t.document.createElement("script");u.src=i,t.document.getElementsByTagName("head")[0].appendChild(u);var c=function(t){s[r]=s[r].filter(function(e){return e.url!==t||(setTimeout(function(){return e.cb({})},0),!1)})},l=setTimeout(function(){return c(i)},5e3);u.addEventListener("load",function(){return clearTimeout(l)}),u.addEventListener("error",function(){clearTimeout(l),c(i)})}}function i(e){var n=e.method,o=e.cb;t.Auth0[n]=o}e.__esModule=!0,e.load=r,e.preload=i;var a=n(56),u=o(a);t.Auth0||(t.Auth0=u.default);var s={}}).call(e,function(){return this}())},function(t,e){"use strict";function n(t,e){return e.toLowerCase().indexOf(t.toLowerCase())>-1}function o(t,e){return 0===t.indexOf(e)}function r(t,e){return t.indexOf(e,t.length-e.length)!==-1}e.__esModule=!0,e.matches=n,e.startsWith=o,e.endsWith=r},function(t,e,n){"use strict";t.exports="undefined"==typeof JSON?n(158).parse:JSON.parse},function(t,e){"use strict";var n=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=Object.prototype.hasOwnProperty,r=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}();e.arrayToObject=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},o=0;o<t.length;++o)"undefined"!=typeof t[o]&&(n[o]=t[o]);return n},e.merge=function(t,r,i){if(!r)return t;if("object"!==("undefined"==typeof r?"undefined":n(r))){if(Array.isArray(t))t.push(r);else{if("object"!==("undefined"==typeof t?"undefined":n(t)))return[t,r];t[r]=!0}return t}if("object"!==("undefined"==typeof t?"undefined":n(t)))return[t].concat(r);var a=t;return Array.isArray(t)&&!Array.isArray(r)&&(a=e.arrayToObject(t,i)),Array.isArray(t)&&Array.isArray(r)?(r.forEach(function(r,a){o.call(t,a)?t[a]&&"object"===n(t[a])?t[a]=e.merge(t[a],r,i):t.push(r):t[a]=r}),t):Object.keys(r).reduce(function(t,n){var o=r[n];return Object.prototype.hasOwnProperty.call(t,n)?t[n]=e.merge(t[n],o,i):t[n]=o,t},a)},e.decode=function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},e.encode=function(t){if(0===t.length)return t;for(var e="string"==typeof t?t:String(t),n="",o=0;o<e.length;++o){var i=e.charCodeAt(o);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?n+=e.charAt(o):i<128?n+=r[i]:i<2048?n+=r[192|i>>6]+r[128|63&i]:i<55296||i>=57344?n+=r[224|i>>12]+r[128|i>>6&63]+r[128|63&i]:(o+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(o)),n+=r[240|i>>18]+r[128|i>>12&63]+r[128|i>>6&63]+r[128|63&i])}return n},e.compact=function(t,o){if("object"!==("undefined"==typeof t?"undefined":n(t))||null===t)return t;var r=o||[],i=r.indexOf(t);if(i!==-1)return r[i];if(r.push(t),Array.isArray(t)){for(var a=[],u=0;u<t.length;++u)t[u]&&"object"===n(t[u])?a.push(e.compact(t[u],r)):"undefined"!=typeof t[u]&&a.push(t[u]);return a}var s=Object.keys(t);return s.forEach(function(n){t[n]=e.compact(t[n],r)}),t},e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isBuffer=function(t){return null!==t&&"undefined"!=typeof t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}},function(t,e,n){"use strict";var o=n(176),r={addClass:function(t,e){return/\s/.test(e)?o(!1):void 0,e&&(t.classList?t.classList.add(e):r.hasClass(t,e)||(t.className=t.className+" "+e)),t},removeClass:function(t,e){return/\s/.test(e)?o(!1):void 0,e&&(t.classList?t.classList.remove(e):r.hasClass(t,e)&&(t.className=t.className.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),t},conditionClass:function(t,e,n){return(n?r.addClass:r.removeClass)(t,e)},hasClass:function(t,e){return/\s/.test(e)?o(!1):void 0,t.classList?!!e&&t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1}};t.exports=r},function(t,e,n){"use strict";var o=n(57).charsets,r=o.upperCase,i=o.lowerCase,a=o.numbers,u=o.specialCharacters,s=n(181),c=new s({length:{minLength:1}}),l=new s({length:{minLength:6}}),p=new s({length:{minLength:8},contains:{expressions:[i,r,a]}}),d=new s({length:{minLength:8},containsAtLeast:{atLeast:3,expressions:[i,r,a,u]}}),M=new s({length:{minLength:10},containsAtLeast:{atLeast:3,expressions:[i,r,a,u]},identicalChars:{max:2}}),f={none:c,low:l,fair:p,good:d,excellent:M};t.exports=function(t){var e=f[t]||f.none;return{check:function(t){return e.check(t)},assert:function(t){return e.assert(t)},missing:function(t){return e.missing(t)},missingAsMarkdown:function(t){return e.missingAsMarkdown(t)},explain:function(){return e.explain()},toString:function(){return e.toString()}}},t.exports.PasswordPolicy=s,t.exports.charsets=o},function(t,e){"use strict";function n(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}var o={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(t){r.forEach(function(e){o[n(e,t)]=o[t]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},a={isUnitlessNumber:o,shorthandPropertyExpansions:i};t.exports=a},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=n(4),i=n(27),a=(n(3),function(){function t(e){o(this,t),this._callbacks=null,this._contexts=null,this._arg=e}return t.prototype.enqueue=function(t,e){this._callbacks=this._callbacks||[],this._callbacks.push(t),this._contexts=this._contexts||[],this._contexts.push(e)},t.prototype.notifyAll=function(){var t=this._callbacks,e=this._contexts,n=this._arg;if(t&&e){t.length!==e.length?r("24"):void 0,this._callbacks=null,this._contexts=null;for(var o=0;o<t.length;o++)t[o].call(e[o],n);t.length=0,e.length=0}},t.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},t.prototype.rollback=function(t){this._callbacks&&this._contexts&&(this._callbacks.length=t,this._contexts.length=t)},t.prototype.reset=function(){this._callbacks=null,this._contexts=null},t.prototype.destructor=function(){this.reset()},t}());t.exports=i.addPoolingTo(a)},function(t,e,n){"use strict";function o(t){return!!c.hasOwnProperty(t)||!s.hasOwnProperty(t)&&(u.test(t)?(c[t]=!0,!0):(s[t]=!0,!1))}function r(t,e){return null==e||t.hasBooleanValue&&!e||t.hasNumericValue&&isNaN(e)||t.hasPositiveNumericValue&&e<1||t.hasOverloadedBooleanValue&&e===!1}var i=n(32),a=(n(6),n(14),n(247)),u=(n(5),new RegExp("^["+i.ATTRIBUTE_NAME_START_CHAR+"]["+i.ATTRIBUTE_NAME_CHAR+"]*$")),s={},c={},l={createMarkupForID:function(t){return i.ID_ATTRIBUTE_NAME+"="+a(t)},setAttributeForID:function(t,e){t.setAttribute(i.ID_ATTRIBUTE_NAME,e)},createMarkupForRoot:function(){return i.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(t){t.setAttribute(i.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(t,e){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){if(r(n,e))return"";var o=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&e===!0?o+'=""':o+"="+a(e)}return i.isCustomAttribute(t)?null==e?"":t+"="+a(e):null},createMarkupForCustomAttribute:function(t,e){return o(t)&&null!=e?t+"="+a(e):""},setValueForProperty:function(t,e,n){var o=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(o){var a=o.mutationMethod;if(a)a(t,n);else{if(r(o,n))return void this.deleteValueForProperty(t,e);if(o.mustUseProperty)t[o.propertyName]=n;else{var u=o.attributeName,s=o.attributeNamespace;s?t.setAttributeNS(s,u,""+n):o.hasBooleanValue||o.hasOverloadedBooleanValue&&n===!0?t.setAttribute(u,""):t.setAttribute(u,""+n)}}}else if(i.isCustomAttribute(e))return void l.setValueForAttribute(t,e,n)},setValueForAttribute:function(t,e,n){if(o(e)){null==n?t.removeAttribute(e):t.setAttribute(e,""+n)}},deleteValueForAttribute:function(t,e){t.removeAttribute(e)},deleteValueForProperty:function(t,e){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){var o=n.mutationMethod;if(o)o(t,void 0);else if(n.mustUseProperty){var r=n.propertyName;n.hasBooleanValue?t[r]=!1:t[r]=""}else t.removeAttribute(n.attributeName)}else i.isCustomAttribute(e)&&t.removeAttribute(e)}};t.exports=l},function(t,e,n){"use strict";var o=n(6),r=n(212),i=n(107),a=n(34),u=n(15),s=n(225),c=n(241),l=n(112),p=n(248);n(5);r.inject();var d={findDOMNode:c,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:s,unstable_batchedUpdates:u.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:o.getClosestInstanceFromNode,getNodeFromInstance:function(t){return t._renderedComponent&&(t=l(t)),t?o.getNodeFromInstance(t):null}},Mount:i,Reconciler:a});t.exports=d},function(t,e){"use strict";var n={hasCachedChildNodes:1};t.exports=n},function(t,e,n){"use strict";function o(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var t=this._currentElement.props,e=u.getValue(t);null!=e&&r(this,Boolean(t.multiple),e)}}function r(t,e,n){var o,r,i=s.getNodeFromInstance(t).options;if(e){for(o={},r=0;r<n.length;r++)o[""+n[r]]=!0;for(r=0;r<i.length;r++){var a=o.hasOwnProperty(i[r].value);i[r].selected!==a&&(i[r].selected=a)}}else{for(o=""+n,r=0;r<i.length;r++)if(i[r].value===o)return void(i[r].selected=!0);i.length&&(i[0].selected=!0)}}function i(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),c.asap(o,this),n}var a=n(7),u=n(63),s=n(6),c=n(15),l=(n(5),!1),p={getHostProps:function(t,e){return a({},e,{onChange:t._wrapperState.onChange,value:void 0})},mountWrapper:function(t,e){var n=u.getValue(e);t._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:e.defaultValue,listeners:null,onChange:i.bind(t),wasMultiple:Boolean(e.multiple)},void 0===e.value||void 0===e.defaultValue||l||(l=!0)},getSelectValueContext:function(t){return t._wrapperState.initialValue},postUpdateWrapper:function(t){var e=t._currentElement.props;t._wrapperState.initialValue=void 0;var n=t._wrapperState.wasMultiple;t._wrapperState.wasMultiple=Boolean(e.multiple);var o=u.getValue(e);null!=o?(t._wrapperState.pendingUpdate=!1,r(t,Boolean(e.multiple),o)):n!==Boolean(e.multiple)&&(null!=e.defaultValue?r(t,Boolean(e.multiple),e.defaultValue):r(t,Boolean(e.multiple),e.multiple?[]:""))}};t.exports=p},function(t,e){"use strict";var n,o={injectEmptyComponentFactory:function(t){n=t}},r={create:function(t){return n(t)}};r.injection=o,t.exports=r},function(t,e){"use strict";var n={logTopLevelRenders:!1};t.exports=n},function(t,e,n){"use strict";function o(t){return s?void 0:a("111",t.type),new s(t)}function r(t){return new l(t)}function i(t){return t instanceof l}var a=n(4),u=n(7),s=(n(3),null),c={},l=null,p={injectGenericComponentClass:function(t){s=t},injectTextComponentClass:function(t){l=t},injectComponentClasses:function(t){u(c,t)}},d={createInternalComponent:o,createInstanceForText:r,isTextComponent:i,injection:p};t.exports=d},function(t,e,n){"use strict";function o(t){return i(document.documentElement,t)}var r=n(207),i=n(251),a=n(121),u=n(122),s={hasSelectionCapabilities:function(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&"text"===t.type||"textarea"===e||"true"===t.contentEditable)},getSelectionInformation:function(){var t=u();return{focusedElem:t,selectionRange:s.hasSelectionCapabilities(t)?s.getSelection(t):null}},restoreSelection:function(t){var e=u(),n=t.focusedElem,r=t.selectionRange;e!==n&&o(n)&&(s.hasSelectionCapabilities(n)&&s.setSelection(n,r),a(n))},getSelection:function(t){var e;if("selectionStart"in t)e={start:t.selectionStart,end:t.selectionEnd};else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===t&&(e={start:-n.moveStart("character",-t.value.length),end:-n.moveEnd("character",-t.value.length)})}else e=r.getOffsets(t);return e||{start:0,end:0}},setSelection:function(t,e){var n=e.start,o=e.end;if(void 0===o&&(o=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(o,t.value.length);else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var i=t.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",o-n),i.select()}else r.setOffsets(t,e)}};t.exports=s},function(t,e,n){"use strict";function o(t,e){for(var n=Math.min(t.length,e.length),o=0;o<n;o++)if(t.charAt(o)!==e.charAt(o))return o;return t.length===e.length?-1:n}function r(t){return t?t.nodeType===O?t.documentElement:t.firstChild:null}function i(t){return t.getAttribute&&t.getAttribute(k)||""}function a(t,e,n,o,r){var i;if(j.logTopLevelRenders){var a=t._currentElement.props.child,u=a.type;i="React mount: "+("string"==typeof u?u:u.displayName||u.name),console.time(i)}var s=w.mountComponent(t,n,null,D(t,e),r,0);i&&console.timeEnd(i),t._renderedComponent._topLevelWrapper=t,Q._mountImageIntoNode(s,e,t,o,n)}function u(t,e,n,o){var r=z.ReactReconcileTransaction.getPooled(!n&&I.useCreateElement);r.perform(a,null,t,e,r,n,o),z.ReactReconcileTransaction.release(r)}function s(t,e,n){for(w.unmountComponent(t,n),e.nodeType===O&&(e=e.documentElement);e.lastChild;)e.removeChild(e.lastChild)}function c(t){var e=r(t);if(e){var n=N.getInstanceFromNode(e);return!(!n||!n._hostParent)}}function l(t){return!(!t||t.nodeType!==x&&t.nodeType!==O&&t.nodeType!==A)}function p(t){var e=r(t),n=e&&N.getInstanceFromNode(e);return n&&!n._hostParent?n:null}function d(t){var e=p(t);return e?e._hostContainerInfo._topLevelWrapper:null}var M=n(4),f=n(31),g=n(32),y=n(20),h=n(47),N=(n(21),n(6)),D=n(201),I=n(203),j=n(104),m=n(33),L=(n(14),n(217)),w=n(34),v=n(66),z=n(15),b=n(120),C=n(115),T=(n(3),n(51)),E=n(72),k=(n(5),g.ID_ATTRIBUTE_NAME),S=g.ROOT_ATTRIBUTE_NAME,x=1,O=9,A=11,_={},U=1,Y=function(){this.rootID=U++};Y.prototype.isReactComponent={},Y.prototype.render=function(){return this.props.child},Y.isReactTopLevelWrapper=!0;var Q={TopLevelWrapper:Y,_instancesByReactRootID:_,scrollMonitor:function(t,e){e()},_updateRootComponent:function(t,e,n,o,r){return Q.scrollMonitor(o,function(){v.enqueueElementInternal(t,e,n),r&&v.enqueueCallbackInternal(t,r)}),t},_renderNewRootComponent:function(t,e,n,o){l(e)?void 0:M("37"),h.ensureScrollValueMonitoring();var r=C(t,!1);z.batchedUpdates(u,r,e,n,o);var i=r._instance.rootID;return _[i]=r,r},renderSubtreeIntoContainer:function(t,e,n,o){return null!=t&&m.has(t)?void 0:M("38"),Q._renderSubtreeIntoContainer(t,e,n,o)},_renderSubtreeIntoContainer:function(t,e,n,o){v.validateCallback(o,"ReactDOM.render"),y.isValidElement(e)?void 0:M("39","string"==typeof e?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,u=y.createElement(Y,{child:e});if(t){var s=m.get(t);a=s._processChildContext(s._context)}else a=b;var l=d(n);if(l){var p=l._currentElement,f=p.props.child;if(E(f,e)){var g=l._renderedComponent.getPublicInstance(),h=o&&function(){o.call(g)};return Q._updateRootComponent(l,u,a,n,h),g}Q.unmountComponentAtNode(n)}var N=r(n),D=N&&!!i(N),I=c(n),j=D&&!l&&!I,L=Q._renderNewRootComponent(u,n,j,a)._renderedComponent.getPublicInstance();return o&&o.call(L),L},render:function(t,e,n){return Q._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){l(t)?void 0:M("40");var e=d(t);if(!e){c(t),1===t.nodeType&&t.hasAttribute(S);return!1}return delete _[e._instance.rootID],z.batchedUpdates(s,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,i,a){if(l(e)?void 0:M("41"),i){var u=r(e);if(L.canReuseMarkup(t,u))return void N.precacheNode(n,u);var s=u.getAttribute(L.CHECKSUM_ATTR_NAME);u.removeAttribute(L.CHECKSUM_ATTR_NAME);var c=u.outerHTML;u.setAttribute(L.CHECKSUM_ATTR_NAME,s);var p=t,d=o(p,c),g=" (client) "+p.substring(d-20,d+20)+"\n (server) "+c.substring(d-20,d+20);e.nodeType===O?M("42",g):void 0}if(e.nodeType===O?M("43"):void 0,a.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);f.insertTreeBefore(e,t,null)}else T(e,t),N.precacheNode(n,e.firstChild)}};t.exports=Q},function(t,e,n){"use strict";var o=n(4),r=n(20),i=(n(3),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(t){return null===t||t===!1?i.EMPTY:r.isValidElement(t)?"function"==typeof t.type?i.COMPOSITE:i.HOST:void o("26",t)}});t.exports=i},function(t,e){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){n.currentScrollLeft=t.x,n.currentScrollTop=t.y}};t.exports=n},function(t,e,n){"use strict";function o(t,e){return null==e?r("30"):void 0,null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}var r=n(4);n(3);t.exports=o},function(t,e){"use strict";function n(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}t.exports=n},function(t,e,n){"use strict";function o(t){for(var e;(e=t._renderedNodeType)===r.COMPOSITE;)t=t._renderedComponent;return e===r.HOST?t._renderedComponent:e===r.EMPTY?null:void 0}var r=n(108);t.exports=o},function(t,e,n){"use strict";function o(){return!i&&r.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var r=n(10),i=null;t.exports=o},function(t,e,n){"use strict";function o(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function r(t){if(u[t])return u[t];if(!a[t])return t;var e=a[t];for(var n in e)if(e.hasOwnProperty(n)&&n in s)return u[t]=e[n];return""}var i=n(10),a={animationend:o("Animation","AnimationEnd"),animationiteration:o("Animation","AnimationIteration"),animationstart:o("Animation","AnimationStart"),transitionend:o("Transition","TransitionEnd")},u={},s={};i.canUseDOM&&(s=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),t.exports=r},function(t,e,n){"use strict";function o(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function r(t){return"function"==typeof t&&"undefined"!=typeof t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function i(t,e){var n;if(null===t||t===!1)n=l.create(i);else if("object"===("undefined"==typeof t?"undefined":a(t))){var s=t;!s||"function"!=typeof s.type&&"string"!=typeof s.type?u("130",null==s.type?s.type:a(s.type),o(s._owner)):void 0,"string"==typeof s.type?n=p.createInternalComponent(s):r(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new d(s)}else"string"==typeof t||"number"==typeof t?n=p.createInstanceForText(t):u("131","undefined"==typeof t?"undefined":a(t));return n._mountIndex=0,n._mountImage=null,n}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=n(4),s=n(7),c=n(199),l=n(103),p=n(105),d=(n(245),n(3),n(5),function(t){this.construct(t)});s(d.prototype,c,{_instantiateReactComponent:i}),t.exports=i},function(t,e){"use strict";function n(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!o[t.type]:"textarea"===e}var o={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=n},function(t,e,n){"use strict";var o=n(10),r=n(50),i=n(51),a=function(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};o.canUseDOM&&("textContent"in document.documentElement||(a=function(t,e){return 3===t.nodeType?void(t.nodeValue=e):void i(t,r(e))})),t.exports=a},function(t,e,n){"use strict";function o(t,e){return t&&"object"===("undefined"==typeof t?"undefined":a(t))&&null!=t.key?l.escape(t.key):e.toString(36)}function r(t,e,n,i){var M="undefined"==typeof t?"undefined":a(t);if("undefined"!==M&&"boolean"!==M||(t=null),null===t||"string"===M||"number"===M||"object"===M&&t.$$typeof===s)return n(i,t,""===e?p+o(t,0):e),1;var f,g,y=0,h=""===e?p:e+d;if(Array.isArray(t))for(var N=0;N<t.length;N++)f=t[N],g=h+o(f,N),y+=r(f,g,n,i);else{var D=c(t);if(D){var I,j=D.call(t);if(D!==t.entries)for(var m=0;!(I=j.next()).done;)f=I.value,g=h+o(f,m++),y+=r(f,g,n,i);else for(;!(I=j.next()).done;){var L=I.value;L&&(f=L[1],g=h+l.escape(L[0])+d+o(f,0),y+=r(f,g,n,i))}}else if("object"===M){var w="",v=String(t);u("31","[object Object]"===v?"object with keys {"+Object.keys(t).join(", ")+"}":v,w)}}return y}function i(t,e,n){return null==t?0:r(t,"",e,n)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=n(4),s=(n(21),n(213)),c=n(244),l=(n(3),n(62)),p=(n(5),"."),d=":";t.exports=i},function(t,e,n){"use strict";var o=n(19),r={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:o}},registerDefault:function(){}};t.exports=r},78,function(t,e){"use strict";function n(t){try{t.focus()}catch(t){}}t.exports=n},function(t,e){"use strict";function n(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(t){return document.body}}t.exports=n},62,function(t,e,n){"use strict";var o=n(100),r=n(33);e.getReactDOM=function(){return o},e.getReactInstanceMap=function(){return r}},function(t,e){"use strict";var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=n},function(t,e,n){"use strict";var o={};t.exports=o},function(t,e,n){"use strict";var o=!1;t.exports=o},function(t,e){"use strict";function n(t){var e=t&&(o&&t[o]||t[r]);if("function"==typeof e)return e}var o="function"==typeof Symbol&&Symbol.iterator,r="@@iterator";t.exports=n},function(t,e,n){"use strict";function o(t){return i.isValidElement(t)?void 0:r("143"),t}var r=n(36),i=n(35);n(28);t.exports=o},function(t,e,n){"use strict";function o(t,e){return t&&"object"===("undefined"==typeof t?"undefined":a(t))&&null!=t.key?l.escape(t.key):e.toString(36)}function r(t,e,n,i){var M="undefined"==typeof t?"undefined":a(t);if("undefined"!==M&&"boolean"!==M||(t=null),null===t||"string"===M||"number"===M||"object"===M&&t.$$typeof===s)return n(i,t,""===e?p+o(t,0):e),1;var f,g,y=0,h=""===e?p:e+d;if(Array.isArray(t))for(var N=0;N<t.length;N++)f=t[N],g=h+o(f,N),y+=r(f,g,n,i);else{var D=c(t);if(D){var I,j=D.call(t);if(D!==t.entries)for(var m=0;!(I=j.next()).done;)f=I.value,g=h+o(f,m++),y+=r(f,g,n,i);else for(;!(I=j.next()).done;){var L=I.value;L&&(f=L[1],g=h+l.escape(L[0])+d+o(f,0),y+=r(f,g,n,i))}}else if("object"===M){var w="",v=String(t);u("31","[object Object]"===v?"object with keys {"+Object.keys(t).join(", ")+"}":v,w)}}return y}function i(t,e,n){return null==t?0:r(t,"",e,n)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=n(36),s=(n(21),n(125)),c=n(128),l=(n(28),n(123)),p=(n(22),"."),d=":";t.exports=i},function(t,e,n){var o,r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i,a,u){"undefined"!=typeof t&&t.exports?t.exports=u():(o=u,r="function"==typeof o?o.call(e,n,e,t):o,!(void 0!==r&&(t.exports=r)))}("urljoin",void 0,function(){function t(t,e){return t=t.replace(/:\//g,"://"),t=t.replace(/([^:\s])\/+/g,"$1/"),t=t.replace(/\/(\?|&|#[^!])/g,"$1"),t=t.replace(/(\?.+)\?/g,"$1&")}return function(){var e=arguments,n={};"object"===i(arguments[0])&&(e=arguments[0],n=arguments[1]||{});var o=[].slice.call(e,0).join("/");return t(o,n)}})},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t,e){if(D[e])return a(t,e,D[e].url,D[e].displayName,!0);var n=g.ui.avatarProvider((0,s.read)(s.getEntity,"lock",t)).toJS();(0,s.swap)(s.updateEntity,"lock",t,function(t){return t=N(t,"syncStatus","loading"),t=N(t,"src",e)});var o=void 0,r=void 0;n.url(e,function(n,a){return n?u(t,e):void p.img(a,function(n,a){return n?u(t,e):(o=a.src,void(void 0!==r&&i(t,e,o,r)))})}),n.displayName(e,function(n,a){return n?u(t):(r=a,void(void 0!==o&&i(t,e,o,r)))})}function i(t,e,n,o){D[e]={url:n,displayName:o},a(t,e,n,o)}function a(t,e,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];(0,s.swap)(s.updateEntity,"lock",t,function(t){return(r||h(t,"src")===e)&&(t=N(t,"syncStatus","ok"),t=N(t,"url",n),t=N(t,"src",e),t=N(t,"displayName",o)),t})}function u(t,e){(0,s.swap)(s.updateEntity,"lock",t,function(t){return"src"===h(t,"src")?N(t,"syncStatus","error"):t})}e.__esModule=!0,e.debouncedRequestAvatar=void 0,e.requestAvatar=r;var s=n(12),c=n(17),l=n(146),p=o(l),d=n(324),M=o(d),f=n(2),g=o(f),y=(0,c.dataFns)(["avatar"]),h=y.tget,N=y.tset,D={};e.debouncedRequestAvatar=M.debounce(r,300)},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(38),p=n(2),d=o(p),M=n(11),f=n(24),g=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.render=function(){var t=this.props,e=t.lock,n=t.loginLabel,o=t.signUpLink,r=t.signUpLabel,i="login"===(0,M.getScreen)(e);return c.default.createElement("div",{className:"auth0-lock-tabs-container"},c.default.createElement("ul",{className:"auth0-lock-tabs"},c.default.createElement(y,{label:n,current:i,clickHandler:this.handleLoginClick.bind(this)}),c.default.createElement(y,{label:r,current:!i,clickHandler:this.handleSignUpClick.bind(this),clickWithHrefHandler:this.handleSignUpWithHrefClick.bind(this),href:o})))},e.prototype.handleLoginClick=function(){(0,l.showLoginActivity)(d.id(this.props.lock))},e.prototype.handleSignUpClick=function(){ +this.props.signUpLink&&(0,f.closeLock)(d.id(this.props.lock),!0),(0,l.showSignUpActivity)(d.id(this.props.lock))},e.prototype.handleSignUpWithHrefClick=function(){(0,f.closeLock)(d.id(this.props.lock),!0)},e}(c.default.Component);e.default=g,g.propTypes={lock:c.default.PropTypes.object.isRequired,loginLabel:c.default.PropTypes.string.isRequired,signUpLabel:c.default.PropTypes.string.isRequired,signUpLink:c.default.PropTypes.string};var y=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.handleClick=function(t){this.props.href?this.props.clickWithHrefHandler():(t.preventDefault(),this.props.clickHandler())},e.prototype.render=function(){var t=this.props,e=t.current,n=t.href,o=t.label,r=e?"auth0-lock-tabs-current":"";return c.default.createElement("li",{className:r},c.default.createElement("a",{href:n||"#",onClick:this.handleClick.bind(this)},o))},e}(c.default.Component)},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(1),i=o(r),a=n(88);e.default=function(t){var e=t.children;return i.default.createElement("div",{className:"auth0-sso-notice-container"},i.default.createElement("span",{dangerouslySetInnerHTML:{__html:a.icon}})," "," ",i.default.createElement("span",{className:"auth0-sso-notice"},e))}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t){return["free","dev"].indexOf(L(t,["tenant","subscription"]))>-1}function i(t,e,n){var o=a(t,e).get("connections",(0,y.List)());return o.find(u(n))||(0,y.Map)()}function a(t,e){return t.getIn(["client","strategies"],(0,y.List)()).find(u(e))||(0,y.Map)()}function u(t){return function(e){return e.get("name")===t}}function s(t){return"auth0"===t?"database":"email"===t||"sms"===t?"passwordless":D.STRATEGIES[t]?"social":I.STRATEGIES[t]?"enterprise":["oauth1","oauth2"].indexOf(t)!==-1?"social":"unknown"}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==t.username)return null;var e=g({},w,t),n=w.username.min,o=w.username.max;return e.username.min=parseInt(e.username.min,10)||n,e.username.max=parseInt(e.username.max,10)||o,e.username.min>e.username.max&&(e.username.min=n,e.username.max=o),e}function l(t,e){return m(t,p(e))}function p(t){return new h.default.fromJS({id:t.id,tenant:{name:t.tenant,subscription:t.subscription},connections:d(t)})}function d(t){for(var e=v.toJS(),n=function(){var n,r=t.strategies[o],i=s(r.name);if("passwordless"===i)return"continue";var a=r.connections.map(function(t){return M(i,r.name,t)});(n=e[i]).push.apply(n,a)},o=0;o<(t.strategies||[]).length;o++){n()}return e}function M(t,e,n){var o={name:n.name,strategy:e,type:t};if("database"===t&&(o.passwordPolicy=n.passwordPolicy||"none",o.allowSignup="boolean"!=typeof n.showSignup||n.showSignup,o.allowForgot="boolean"!=typeof n.showForgot||n.showForgot,o.requireUsername="boolean"==typeof n.requires_username&&n.requires_username,o.validation=c(n.validation)),"enterprise"===t){var r=n.domain_aliases||[];n.domain&&r.unshift(n.domain),o.domains=r}return o}function f(t){return L(t,"connections",v)}e.__esModule=!0;var g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.hasFreeSubscription=r,e.connection=i,e.initClient=l,e.clientConnections=f;var y=n(9),h=o(y),N=n(17),D=n(39),I=n(23),j=(0,N.dataFns)(["client"]),m=j.initNS,L=j.get,w={username:{min:1,max:15}},v=h.default.fromJS({database:[],enterprise:[],passwordless:[],social:[],unknown:[]})},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(1),i=o(r),a=function(){return i.default.createElement("div",{className:"auth0-lock-pane-separator"})};e.default=a},function(t,e,n){"use strict";function o(t){return t.getIn(["sso","lastUsedConnection"])}function r(t){return t.getIn(["sso","lastUsedUsername"],"")}e.__esModule=!0,e.lastUsedConnection=o,e.lastUsedUsername=r;n(9)},function(t,e,n){"use strict";function o(t,e,n,o){for(var r=arguments.length,i=Array(r>4?r-4:0),a=4;a<r;a++)i[a-4]=arguments[a];u.swap.apply(void 0,[u.updateEntity,"lock",t,s.setField,e,n,o].concat(i))}function r(t,e,n,o){(0,u.swap)(u.updateEntity,"lock",t,function(t){return t.setIn(["field","selecting","name"],e).setIn(["field","selecting","iconUrl"],n).setIn(["field","selecting","icon"],o)})}function i(t,e,n){(0,u.swap)(u.updateEntity,"lock",t,function(t){return(0,s.setOptionField)(t.deleteIn(["field","selecting"]),e,n)})}function a(t){(0,u.swap)(u.updateEntity,"lock",t,function(t){return t.deleteIn(["field","selecting"])})}e.__esModule=!0,e.changeField=o,e.startOptionSelection=r,e.selectOption=i,e.cancelOptionSelection=a;var u=(n(9),n(12)),s=n(8)},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(143),p=r(l),d=n(2),M=o(d),f=n(54),g=n(39),y=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.render=function(){var t=this.props,e=t.bigButtons,n=t.instructions,o=t.labelFn,r=t.lock,i=t.showLoading,a=t.signUp,u=n||null,s=u&&c.default.createElement("p",null,u),l=(0,g.authButtonsTheme)(r),d=(0,g.socialConnections)(r).map(function(t){var n=l.get(t.get("name")),i=n&&n.get("displayName"),u=n&&n.get("primaryColor"),s=n&&n.get("foregroundColor"),d=n&&n.get("icon");return c.default.createElement(p.default,{isBig:e,key:t.get("name"),label:o(a?"signUpWithLabel":"loginWithLabel",i||(0,g.displayName)(t)),onClick:function(){return(0,f.logIn)(M.id(r),t)},strategy:t.get("strategy"),primaryColor:u,foregroundColor:s,icon:d})}),y=i&&c.default.createElement("div",{className:"auth0-loading-container"},c.default.createElement("div",{className:"auth0-loading"}));return c.default.createElement("div",{className:"auth-lock-social-buttons-pane"},s,c.default.createElement("div",{className:"auth0-lock-social-buttons-container"},d),y)},e}(c.default.Component);e.default=y,y.propTypes={bigButtons:c.default.PropTypes.bool.isRequired,instructions:c.default.PropTypes.any,labelFn:c.default.PropTypes.func.isRequired,lock:c.default.PropTypes.object.isRequired,showLoading:c.default.PropTypes.bool.isRequired,signUp:c.default.PropTypes.bool.isRequired},y.defaultProps={showLoading:!1}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(){var t="auth0-lock-style",e=document.getElementById(t);if(!e){var n=document.getElementsByTagName("head")[0];e=document.createElement("style"),e.type="text/css",e.setAttribute("id",t),n.appendChild(e)}e.styleSheet?e.styleSheet.cssText=f:e.innerHTML=f}e.__esModule=!0;var s=n(56),c=o(s),l=n(292),p=o(l),d=n(82),M=o(d),f='/* normalize.css v3.0.2 | MIT License | git.io/normalize */ .auth0-lock html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } .auth0-lock body { margin: 0; } .auth0-lock article, .auth0-lock aside, .auth0-lock details, .auth0-lock figcaption, .auth0-lock figure, .auth0-lock footer, .auth0-lock header, .auth0-lock hgroup, .auth0-lock main, .auth0-lock menu, .auth0-lock nav, .auth0-lock section, .auth0-lock summary { display: block; } .auth0-lock audio, .auth0-lock canvas, .auth0-lock progress, .auth0-lock video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } .auth0-lock audio:not([controls]) { display: none; height: 0; } .auth0-lock [hidden], .auth0-lock template { display: none; } .auth0-lock a { background-color: transparent; } .auth0-lock a:active, .auth0-lock a:hover { outline: 0; } .auth0-lock abbr[title] { border-bottom: 1px dotted; } .auth0-lock b, .auth0-lock strong { font-weight: bold; } .auth0-lock dfn { font-style: italic; } .auth0-lock h1 { font-size: 2em; margin: 0.67em 0; } .auth0-lock mark { background: #ff0; color: #000; } .auth0-lock small { font-size: 80%; } .auth0-lock sub, .auth0-lock sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } .auth0-lock sup { top: -0.5em; } .auth0-lock sub { bottom: -0.25em; } .auth0-lock img { border: 0; } .auth0-lock svg:not(:root) { overflow: hidden; } .auth0-lock figure { margin: 1em 40px; } .auth0-lock hr { box-sizing: content-box; height: 0; } .auth0-lock pre { overflow: auto; } .auth0-lock code, .auth0-lock kbd, .auth0-lock pre, .auth0-lock samp { font-family: monospace, monospace; font-size: 1em; } .auth0-lock button, .auth0-lock input, .auth0-lock optgroup, .auth0-lock select, .auth0-lock textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ } .auth0-lock button { overflow: visible; } .auth0-lock button, .auth0-lock select { text-transform: none; } .auth0-lock button, .auth0-lock html input[type="button"], .auth0-lock input[type="reset"], .auth0-lock input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } .auth0-lock button[disabled], .auth0-lock html input[disabled] { cursor: default; } .auth0-lock button::-moz-focus-inner, .auth0-lock input::-moz-focus-inner { border: 0; padding: 0; } .auth0-lock input { line-height: normal; } .auth0-lock input[type="checkbox"], .auth0-lock input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } .auth0-lock input[type="number"]::-webkit-inner-spin-button, .auth0-lock input[type="number"]::-webkit-outer-spin-button { height: auto; } .auth0-lock input[type="search"] { -webkit-appearance: textfield; /* 1 */ /* 2 */ box-sizing: content-box; } .auth0-lock input[type="search"]::-webkit-search-cancel-button, .auth0-lock input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } .auth0-lock fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } .auth0-lock legend { border: 0; /* 1 */ padding: 0; /* 2 */ } .auth0-lock textarea { overflow: auto; } .auth0-lock optgroup { font-weight: bold; } .auth0-lock table { border-collapse: collapse; border-spacing: 0; } .auth0-lock td, .auth0-lock th { padding: 0; } .auth0-lock-social-button-icon { background-repeat: no-repeat; background-size: 50%; background-position: center center; } .auth0-lock-social-button[data-provider="amazon"] { background-color: #f90; } .auth0-lock-social-button[data-provider="aol"] { background-color: #ff0b00; } .auth0-lock-social-button[data-provider="baidu"] { background-color: #2529d8; } .auth0-lock-social-button[data-provider="bitbucket"] { background-color: #205081; } .auth0-lock-social-button[data-provider="dropbox"] { background-color: #007ee5; } .auth0-lock-social-button[data-provider="ebay"] { background-color: #0064d2; } .auth0-lock-social-button[data-provider="facebook"] { background-color: #3b5998; } .auth0-lock-social-button[data-provider^="google"] { background-color: #4285f4; } .auth0-lock-social-button[data-provider="instagram"] { background-color: #3f729b; } .auth0-lock-social-button[data-provider="linkedin"] { background-color: #0077b5; } .auth0-lock-social-button[data-provider="github"] { background-color: #333; } .auth0-lock-social-button[data-provider="oauth2"] { background-color: #eb5424; } .auth0-lock-social-button[data-provider="paypal"] { background-color: #009cde; } .auth0-lock-social-button[data-provider^="salesforce"] { background-color: #1798c1; } .auth0-lock-social-button[data-provider="shopify"] { background-color: #96bf48; } .auth0-lock-social-button[data-provider="soundcloud"] { background-color: #f80; } .auth0-lock-social-button[data-provider="renren"] { background-color: #0056b5; } .auth0-lock-social-button[data-provider="exact"] { background-color: #ed1c24; } .auth0-lock-social-button[data-provider="twitter"] { background-color: #55acee; } .auth0-lock-social-button[data-provider=""] { background-color: #c7eaff; } .auth0-lock-social-button[data-provider="yandex"] { background-color: #fc0; } .auth0-lock-social-button[data-provider^="thecity"] { background-color: #767571; } .auth0-lock-social-button[data-provider="planningcenter"] { background-color: #4e4e4e; } .auth0-lock-social-button[data-provider="thirtysevensignals"] { background-color: #6ac071; } .auth0-lock-social-button[data-provider="fitbit"] { background-color: #4cc2c4; } .auth0-lock-social-button[data-provider="wordpress"] { background-color: #21759b; } .auth0-lock-social-button[data-provider="yahoo"] { background-color: #410093; } .auth0-lock-social-button[data-provider="box"] { background-color: #267bb6; } .auth0-lock-social-button[data-provider="vkontakte"] { background-color: #45668e; } .auth0-lock-social-button[data-provider="dwolla"] { background-color: #f5891f; } .auth0-lock-social-button[data-provider="miicard"] { background-color: #3fb7ff; } .auth0-lock-social-button[data-provider="yammer"] { background-color: #0072c6; } .auth0-lock-social-button[data-provider="weibo"] { background-color: #dd4b39; } .auth0-lock-social-button[data-provider^="windows"], .auth0-lock-social-button[data-provider^="microsoft"] { background-color: #00a1f1; } .auth0-lock-social-button[data-provider^=amazon] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjcycHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDcyIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YW1hem9uPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImFtYXpvbiIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRk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Ew3MS4zMTYsNTAuODc2IEM3MS4zMTYsNTAuMzc2IDcxLjI1Myw0OS45MzggNzEuMDY2LDQ5LjY4OCBDNzAuNjkxLDQ5LjI1IDY5LjU2Niw0OC45MzggNjcuNjI4LDQ4Ljc1IEM2Ny4yNTMsNDguNjg3IDY2LjgxNSw0OC42MjUgNjYuNDQsNDguNjg3IEM2NC44NzcsNDguNzUgNjMuMzE1LDQ4LjkzNyA2MS42OSw0OS4zNzUgQzYwLjY5LDQ5LjYyNSA1OS42OSw1MC4xMjUgNTguNjI3LDUwLjg3NSBDNTguNDM5LDUxIDU4LjMxNCw1MS4xODggNTguMTg5LDUxLjM3NSBMNTguMTg4LDUxLjM3NSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=aol] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDkxIDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YW9sPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9k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LjkzOCwzNC44MTMgTDc1LjkzOCwwLjEyNSBMNjguMjUsMC4xMjUgTDY4LjI1LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBaIE0wLjY4OCwzNC44MTMgTDEwLjUwMSwzNC44MTMgTDEyLjEyNiwyOS44NzUgTDI0LjI1MSwyOS44NzUgTDI1Ljg3NiwzNC44MTMgTDM1LjYyNiwzNC44MTMgTDIxLjg3NiwwLjEyNSBMMTQuNjg4LDAuMTI1IEwwLjY4OCwzNC44MTMgWiBNMjEuODc1LDIyLjY4OCBMMTguMzEyLDExLjA2MyBMMTQuNjg3LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=baidu] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDU5IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YmFpZHU8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRl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NjI0IDU4LjI1MiwyNS44MTIgQzU4LjAwMiwyNSA1Ny41NjQsMjQuMTg3IDU3LjA2NCwyMy4yNDkgQzU2LjUwMSwyMi4zMTEgNTUuNjg5LDIxLjU2MSA1NC42MjYsMjAuOTM2IEM1My41NjMsMjAuMzExIDUyLjI1MSwxOS45OTggNTAuODEzLDE5Ljk5OCBDNDYuMTg4LDE5Ljk5OCA0My44NzUsMjMuMTg2IDQzLjg3NSwyOS42MjMgTDQzLjg3NSwyOS42MjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=bitbucket] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI1NnB4IiBoZWlnaHQ9IjI5NXB4IiB2aWV3Qm94PSIwIDAgMjU2IDI5NSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy43LjIgKDI4Mjc2KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5Hcm91cDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlk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OTk0MywyMTMuMzEzOTMyIEMzNy40MDkxNDkzLDIzOS42NjQ0ODIgNDEuMTczNTA2OSwyNTguNDg2MjkzIDQxLjE3MzUwNjksMjYwLjk5NTg2NCBDNDQuOTM3ODc2LDI3OS44MTc2ODcgODIuNTgxNTA5OCwyOTQuODc1MTQxIDEyNy43NTM4NzEsMjk0Ljg3NTE0MSBMMTI3Ljc1Mzg3MSwyOTQuODc1MTQxIEMxNzIuOTI2MjMyLDI5NC44NzUxNDEgMjEwLjU2OTg2NiwyNzkuODE3Njg3IDIxNC4zMzQyMzUsMjYwLjk5NTg2NCBDMjE0LjMzNDIzNSwyNTguNDg2MjkzIDIxOC4wOTg1OTIsMjM5LjY2NDQ4MiAyMjMuMTE3NzQ3LDIxMy4zMTM5MzIgTDIyMy4xMTc3NDcsMjEyLjA1OTE0NiBDMjI0LjM3MjUzMywyMDkuNTQ5NTYzIDIyMy4xMTc3NDcsMjA3LjAzOTk5MSAyMjAuNjA4MTc2LDIwNy4wMzk5OTEgTDIyMC42MDgxNzYsMjA3LjAzOTk5MSBMMjIwLjYwODE3NiwyMDcuMDM5OTkxIFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICA8Y2lyY2xlIGlkPSJPdmFsIiBjeD0iMTI4IiBjeT0iMTQxLjc5MTA4IiByPSIyMC4wNzY2MDUiPjwvY2lyY2xlPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); background-size: 45%; } .auth0-lock-social-button[data-provider^=box] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDY1IDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9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NDYuMzc1LDEwLjQ5OSA0Ny44NzUsMTAuNzQ5IDQ4Ljc1LDExLjgxMiBMNTQuMjUsMTkuMTI1IEw1OS42ODgsMTEuODEyIEM2MC41NjMsMTAuNzQ5IDYyLjA2MywxMC40OTkgNjMuMTg4LDExLjMxMiBDNjQuMjUxLDEyLjEyNSA2NC40MzgsMTMuNjg3IDYzLjY4OCwxNC43NSBMNTcuMzEzLDIzLjI1IEw2My42ODgsMzEuNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=dropbox] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY2cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDY2IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZHJvcGJveDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsL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jguMTI1LDIuNDkzIDI4LjY4OCwxLjkzMSAyOC42ODgsMS40OTMgQzI4LjUsMC43NDMgMjcuOTM4LDAuNjE4IDI3LjEyNSwxLjA1NSBDMjUuOTM3LDEuNzQzIDI0LjA2MiwyLjU1NSAyMS42MjUsMy42MTggTDE3LjE4Nyw1LjU1NiBMMTQuMTg3LDYuOTMxIEMxMy42ODcsNy4xMTkgMTMuMDYyLDcuMzY5IDEyLjMxMiw3LjY4MSBDMTEuNTYyLDguMDU2IDExLjA2Miw4LjI0NCAxMC44NzQsOC4zMDYgQzEwLjQ5OSw4LjQ5NCA5LjU2MSw4Ljk5NCA3Ljk5OSw5LjkzMSBDNi43NDksMTAuNjgxIDUuODExLDExLjM2OSA1LjMxMSwxMS45OTQgQzMuODExLDEzLjQ5NCAyLjg3MywxNS40MzIgMi42MjMsMTcuODA3IEMxLjkzNSwyMi42ODIgMy45MzYsMjcuOTk1IDguNjIzLDMzLjYyIEM4Ljk5OCwzNC4wNTggMTAuMjQ4LDM1LjU1OCAxMi40MzYsMzguMTIgQzEzLjg3NCwzOS43NDUgMTQuOTk5LDQxLjE4MyAxNS45MzYsNDIuNDk1IEMxNS41NjEsNDIuNjgzIDEyLjkzNiw0My44NyA4LjEyMyw0NS45MzMgQzcuMDYsNDYuMzcxIDUuODczLDQ2Ljk5NiA0LjYyMyw0Ny44MDggQzIuMTg1LDQ5LjM3MSAwLjk5OCw1MS43NDYgMC45OTgsNTQuOTk2IEwxLDU1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); background-size: 30%; } .auth0-lock-social-button[data-provider^=ebay] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkwcHgiIGhla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QzNyA1OS41NjYsMjEuMTI0IEM1OS41MDMsMjEuNzQ5IDU5LjQ0MSwyMi4zMTIgNTkuMjUzLDIyLjYyNCBDNTkuMTI4LDIyLjk5OSA1OC45NCwyMy4zNzQgNTguNjksMjMuODEyIEM1OC40NCwyNC4xODcgNTguMDY1LDI0LjUgNTcuNjksMjQuNjg3IEM1Ny4yNTIsMjQuODc1IDU2LjgxNSwyNSA1Ni4yNTIsMjUgQzU0LjUwMiwyNSA1My42MjcsMjMuNjg3IDUzLjYyNywyMSBMNTMuNjI1LDIxIFogTTU3Ljg3NSwwLjM3NSBMNTkuNTYzLDMuNjg4IEM2Mi4zMTMsNC4wNjMgNjQuMTI2LDQuOTM4IDY1LjA2Myw2LjI1MSBDNjUuOTM4LDcuNjI2IDY2LjQzOCw5LjQzOSA2Ni40MzgsMTEuODE0IEw2Ni40MzgsMTcuNjI3IEw2OS4xODgsMjMuMzE1IEw2OS4xODgsMzUuNTAzIEw3OC4xODgsMzUuNTAzIEw3OC4xODgsMjMuMzE1IEw5MC4yNTEsMC4zNzcgTDgxLjEyNiwwLjM3NyBMNzQuMTI2LDE1LjE5IEw2Ny43NTEsMC4zNzcgTDU3Ljg3NiwwLjM3NyBMNTcuODc1LDAuMzc1IFogTTU5LjU2MywzLjY4OCBMNjYuNDM4LDE3LjYyNiBMNjYuNDM4LDExLjgxMyBDNjYuNDM4LDkuNDM4IDY1LjkzOCw3LjYyNSA2NS4wNjMsNi4yNSBDNjQuMTI1LDQuOTM3IDYyLjMxMyw0LjA2MiA1OS41NjMsMy42ODcgTDU5LjU2MywzLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); background-size: 70%; } .auth0-lock-social-button[data-provider^=exact] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZ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A1LDEuMDA5IEwwLjA1LDEuMDA5IEwwLjA1LDEuMDA5IEwwLjA0OSwxLjAwOCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjIyMywyMC4yMTkgQzE0LjA0MSwyMC4yNDkgMjcuOTQ2LDE5LjI5NiA0MS43NjQsMjAuNjM2IEM0Mi4xMTEsMjQuMTUxIDQyLjExMSwyNy43MjUgNDIuMTQsMzEuMjY5IEMyOC4yMzUsMzEuMjM5IDE0LjM1OSwzMS4yMzkgMC40NTQsMzEuMjEgQzAuMzY3LDI3LjU0NyAwLjI4MSwyMy44ODMgMC4yMjMsMjAuMjIgTDAuMjIzLDIwLjIyIEwwLjIyMywyMC4yMiBMMC4yMjMsMjAuMjE5IFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); background-size: 30%; } .auth0-lock-social-button[data-provider^=facebook] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjM2cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDM2IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZmFjZWJvb2s8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iZmFjZWJvb2siIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMC45MzgsMzUgTDEwLjc1MSwzNSBMMTAuNzUxLDY0LjYyNSBMMjMuMDY0LDY0LjYyNSBMMjMuMDY0LDM1IEwzNS4zNzcsMzUgTDM1LjM3NywyMi43NSBMMjMuMDY0LDIyLjc1IEwyMy4wNjQsMTYuNSBDMjMuMDY0LDE1LjQzNyAyMy4zMTQsMTQuNjI1IDIzLjgxNCwxMy44NzUgQzI0LjM3NywxMy4xODcgMjQuOTM5LDEyLjg3NSAyNS41NjQsMTIuODc1IEwzNS4zNzcsMTIuODc1IEwzNS4zNzcsMC42MjUgTDI1LjU2NCwwLjYyNSBDMjEuNDM5LDAuNjI1IDE4LjAwMSwyLjE4OCAxNS4xMjYsNS4zMTMgQzEyLjE4OCw4LjQzOCAxMC43NTEsMTIuMTg4IDEwLjc1MSwxNi42MjYgTDEwLjc1MSwyMi43NTEgTDAuOTM4LDIyLjc1MSBMMC45MzgsMzUuMDAxIEwwLjkzOCwzNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); background-size: 25%; } .auth0-lock-social-button[data-provider^=fitbit] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTg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4zMTMgQzMyLjQzNyw0Ni4yNSAzNC40MzcsNDQuMzEzIDM0LjQzNyw0MS45MzggTDM0LjQzOCw0MS45MzggWiBNMTIuODc1LDQyIEMxMi44NzUsNDQuNDM4IDE0Ljc1LDQ2LjMxMyAxNy4xODgsNDYuMzEzIEMxOS42MjYsNDYuMzEzIDIxLjU2Myw0NC4zNzUgMjEuNTYzLDQyIEMyMS41NjMsMzkuNjI1IDE5LjYyNSwzNy42MjUgMTcuMjUsMzcuNjI1IEMxNC42ODcsMzcuNjI1IDEyLjg3NSwzOS41IDEyLjg3NSw0MiBMMTIuODc1LDQyIFogTTMwLDEyLjYyNSBDMjcuNSwxMi42ODggMjUuNjI1LDE0LjUgMjUuNTYyLDE2Ljg3NSBDMjUuNTYyLDE5LjI1IDI3LjUsMjEuMTg4IDI5LjkzNywyMS4xODggQzMyLjUsMjEuMTg4IDM0LjQzNywxOS4zMTMgMzQuNDM3LDE2Ljg3NSBDMzQuMzc0LDE0LjUgMzIuNDM3LDEyLjYyNSAyOS45OTksMTIuNjI1IEwzMCwxMi42MjUgWiBNMTcuMjUsMjEuMTg4IEMxOS43NSwyMS4xODggMjEuNTYzLDE5LjM3NSAyMS41NjMsMTYuODc1IEMyMS41NjMsMTQuNDM3IDE5Ljc1LDEyLjY4NyAxNy4yNSwxMi42MjUgQzE0Ljc1LDEyLjYyNSAxMi42ODcsMTQuNjI1IDEyLjc1LDE2LjkzOCBDMTIuODEzLDE5LjMxMyAxNC44MTMsMjEuMTg4IDE3LjI1LDIxLjE4OCBMMTcuMjUsMjEuMTg4IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=github] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU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5OSwzOC4yNDggNC45OTksMzIuMjQ4IEw1LDMyLjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=google] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU3cHgiIGhlaWdodD0iNThweCIgdmlld0JveD0iMCAwIDU3IDU4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Z29vZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9Imdvb2dsZSIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOS4wMDQsMzQuNDE0IEwyOS4wMDQsMjMuODEyIEw1NS42OCwyMy44MTIgQzU2LjA4LDI1LjYwOCA1Ni4zOTIsMjcuMjg4IDU2LjM5MiwyOS42NTQgQzU2LjM5Miw0NS45MjggNDUuNDc2LDU3LjQ5OCAyOS4wMzIsNTcuNDk4IEMxMy4zLDU3LjQ5OCAwLjUzMiw0NC43MyAwLjUzMiwyOC45OTggQzAuNTMyLDEzLjI2NiAxMy4zLDAuNDk4IDI5LjAzMiwwLjQ5OCBDMzYuNzI4LDAuNDk4IDQzLjE2OCwzLjMyIDQ4LjA5OCw3LjkzNiBMNDAuMDA0LDE1LjgwMiBDMzcuOTUyLDEzLjg2NCAzNC4zNiwxMS41ODQgMjkuMDMyLDExLjU4NCBDMTkuNTk4LDExLjU4NCAxMS45MDQsMTkuNDIyIDExLjkwNCwyOS4wMjYgQzExLjkwNCwzOC42MyAxOS42LDQ2LjQ2OCAyOS4wMzIsNDYuNDY4IEMzOS45NDgsNDYuNDY4IDQzLjk2NiwzOC45MTYgNDQuNzA2LDM0LjQ0IEwyOS4wMDIsMzQuNDQgTDI5LjAwMiwzNC40MTIgTDI5LjAwNCwzNC40MTQgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=instagram] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib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NyBDNDAuMTI1LDIyLjg3NCAzOS4xMjUsMjIuMTg3IDM4LDIxLjY4NyBDMzYuMzc1LDIwLjkzNyAzNC42MjUsMjAuNTYyIDMyLjgxMiwyMC41NjIgQzMwLjkzNywyMC41NjIgMjkuMTg3LDIwLjkzNyAyNy42MjQsMjEuNjg3IEMyNi40OTksMjIuMTg3IDI1LjQzNiwyMi44NzUgMjQuNDk5LDIzLjY4NyBDMjEuODc0LDI2IDIwLjI0OSwyOS4zNzUgMjAuMjQ5LDMzLjEyNSBMMjAuMjUsMzMuMTI1IFogTTIzLjU2MywzMy4xMjUgQzIzLjU2MywyOCAyNy42ODgsMjMuODEyIDMyLjgxMywyMy44MTIgQzM3LjkzOCwyMy44MTIgNDIuMTI2LDI4IDQyLjEyNiwzMy4xMjUgQzQyLjEyNiwzOC4yNSAzNy45MzgsNDIuMzc1IDMyLjgxMyw0Mi4zNzUgQzI3LjY4OCw0Mi4zNzUgMjMuNTYzLDM4LjI1IDIzLjU2MywzMy4xMjUgTDIzLjU2MywzMy4xMjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=linkedin] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY3cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY3IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4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sNjMuMzc1IFogTTIzLjU2Myw2My4zNzUgQzIzLjY4OCw1MC41IDIzLjc1MSw0MC41IDIzLjc1MSwzMy4zNzUgQzIzLjc1MSwyNi4yNSAyMy42ODgsMjIgMjMuNTYzLDIwLjYyNSBMMzcuODEzLDIwLjYyNSBMMzcuODEzLDI2LjY4OCBMMzcuNzUsMjYuODEzIEwzNy44MTMsMjYuODEzIEwzNy44MTMsMjYuNjg4IEM0MC44NzYsMjEuOTM4IDQ1LjE4OCwxOS41NjMgNTAuNjg4LDE5LjU2MyBDNTUuNTYzLDE5LjU2MyA1OS41MDEsMjEuMjUxIDYyLjUwMSwyNC41MDEgQzY1LjUwMSwyNy43NTEgNjcuMDAxLDMyLjU2NCA2Ny4wMDEsMzguODc2IEw2Ny4wMDEsNjMuMzc2IEw1Mi43NTEsNjMuMzc2IEw1Mi43NTEsNDAuNTAxIEM1Mi43NTEsMzQuMDYzIDUwLjM3NiwzMC44NzYgNDUuNjI2LDMwLjg3NiBDNDMuNzUxLDMwLjg3NiA0Mi4yNTEsMzEuMzc2IDQxLjA2MywzMi4zNzYgQzM5LjgxMywzMy4zNzYgMzguOTM4LDM0LjU2NCAzOC4zMTMsMzYuMDY0IEMzOCwzNi44NzcgMzcuODEzLDM4LjAwMiAzNy44MTMsMzkuNTAyIEwzNy44MTMsNjMuMzc3IEwyMy41NjMsNjMuMzc3IEwyMy41NjMsNjMuMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=miicard] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iNjFweCIgdmlld0JveD0iMCAwIDkxIDYxIiB2Z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xOC44MTMgMzQuMjUxLDE5LjMxMyAzMy4zMTMsMTkuOTM4IEMzMi4zNzUsMjAuNjI2IDMwLjkzOCwyMi4xMjYgMzAuMzEzLDIzLjAwMSBMMjkuODc1LDIzLjY4OSBMMjkuNSwyMi44NzYgQzI4LjQzNywyMC42ODggMjYuNSwxOS4xMjYgMjQuMzEyLDE4LjU2MyBMMjQuMzEzLDE4LjU2MyBaIE02NC4xMjUsMzIuNjg4IEw2NC4xMjUsMTguODc1IEw2MS41LDE4LjgxMiBDNTkuNSwxOC44MTIgNTguOTM3LDE4LjgxMiA1OC44NzUsMTguOTM3IEM1OC44MTMsMTkuMDYyIDU4LjgxMiwyNS4yNSA1OC44MTIsMzIuODEyIEw1OC44NzUsNDYuNSBMNjQuMTI1LDQ2LjUgTDY0LjEyNSwzMi42ODcgTDY0LjEyNSwzMi42ODggWiBNODAuMTI1LDMyLjY4OCBMODAuMTI1LDE4Ljg3NSBMNzcuNTYyLDE4LjgxMiBDNzUuNDk5LDE4LjgxMiA3NC45MzcsMTguODEyIDc0Ljg3NCwxOC45MzcgTDc0Ljg3NCw0Ni41IEw4MC4xMjQsNDYuNSBMODAuMTI0LDMyLjY4NyBMODAuMTI1LDMyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=oauth2] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNTAuMSAxNjcuOCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTUwLjEgMTY3LjgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSIzMSwxMzUuOCAzMC45LDEzNS44IDc1LjEsMTY3LjggMTE5LjIsMTM1LjggNzUuMSwxMDMuNyAJIi8+DQoJPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTMuNyw1MS45TDMuNyw1MS45Qy02LjYsODMuNiw1LjMsMTE3LjIsMzEsMTM1LjhsMCwwbDE2LjktNTEuOUwzLjcsNTEuOWw1NC41LDBMNzUuMSwwbDAsMEgyMC41TDMuNyw1MS45eg0KCQkiLz4NCgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTQ2LjUsNTEuOUwxNDYuNSw1MS45TDE0Ni41LDUxLjlMMTI5LjYsMEg3NS4xbDAsMGwxNi45LDUxLjlMMTQ2LjUsNTEuOWwtNDQuMSwzMi4xbDE2LjgsNTEuOQ0KCQlDMTQ2LjIsMTE2LjIsMTU2LjMsODIsMTQ2LjUsNTEuOXoiLz4NCjwvZz4NCjwvc3ZnPg0K"); } .auth0-lock-social-button[data-provider^=paypal] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYzIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIg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TDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=planningcenter] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDYzIDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cGxhbm5pbmdjZW50ZXI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0icGxhbm5pbmdjZW50ZXIiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNNC4zMTMsNjEuNSBMNi4zMTMsNjIuNDM4IEwzMS40Mz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OCw0MC41IDI0LjEyOCwzNy42ODggQzI1Ljk0MSwzNi41NjMgMjcuNjkxLDM1LjY4OCAyNy45NDEsMzUuNjg4IEMyOC4xOTEsMzUuNjg4IDI4LjM3OSwzNy41NjMgMjguMzc5LDQwLjE4OCBDMjguMzc5LDQ0LjM3NiAyOC40NDIsNDQuNzUxIDI5LjM3OSw0NS4zNzYgTDI5LjM3NSw0NS4zNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=renren] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iMzVweCIgdmlld0JveD0iMCAwIDYxIDM1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cmVucmVuPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOn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UwLjc1LDMzLjA2MyBDNDguMjUsMzAuMDYzIDQ1Ljg3NSwyNy4xMjUgNDMuNjg3LDI0LjQzOCBMNDMuNjg4LDI0LjQzOCBaIE0yNC4xODgsMzMuMDYzIEMyMS42MjUsMjkuODc1IDE5LjMxMywyNy4wNjMgMTcuMjUsMjQuNSBDMTUuMDYyLDI3LjEyNSAxMi43NSwzMC4wNjMgMTAuMzEyLDMzLjA2MyBDMTUsMzUuMDYzIDE5LjY4NywzNS4xMjYgMjQuMTg3LDMzLjA2MyBMMjQuMTg4LDMzLjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=salesforce] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2FsZXNmb3JjZTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0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0NS40MzcsMTYuNjI1IDQzLjU2MiwxNS42MjUgNDAuOTM3LDE0Ljg3NSBDMzguMzc0LDE0LjEyNSAzNS45OTksMTMuNzUgMzMuOTM3LDEzLjc1IEMzMi4xODcsMTMuNzUgMzAuNTYyLDE0LjE4OCAyOS4wNjIsMTUuMDYzIEMyNy41NjIsMTUuOTM4IDI2LjgxMiwxNy4xODggMjYuODEyLDE4LjgxMyBMMjYuODEzLDE4LjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=shopify] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU1cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDU1IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2hvcGlmeTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ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MzEzIDIyLjg3NCwyOC42MjYgQzI0LjEyNCwyOC43NTEgMjUuNDk5LDI5LjAwMSAyNS44NzQsMjkuMTg5IEMyNi40MzcsMjkuMzc3IDI2Ljg3NCwyOC43NTEgMjcuNzQ5LDI2LjE4OSBDMjguMzEyLDI0LjMxNCAyOC41NjIsMjIuNzUxIDI4LjM3NCwyMi41NjQgTDI4LjM3NSwyMi41NjMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=soundcloud] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc0cHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDc0IDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c291bmRjbG91ZDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNr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lock-social-button[data-provider^=thecity] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYxIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dGhlY2l0eTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ0aGVjaXR5IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTMuODEzLDMuNDM4IEwzLjgxMywzLjQzOCBDNy4wNjMsMC44MTMgNy4zNzYsMC44MTMgMjkuOTM4LDAuODEzIEM1MS4xODgsMC44MTMgNTMuMDYzLDAuOTM4IDU1LjYyNiwzLjAwMSBDNTkuMjUxLDUuODE0IDYwLjMxNCw5LjUwMSA2MC4xODksMTguMTg5IEM2M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4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=thirtysevensignals] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iNTVweCIgdmlld0JveD0iMCAwIDY1IDU1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dGhpcnR5c2V2ZW5zaWduYWxzPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InRoaXJ0eXNldmVuc2lnbmFscyIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsNDIuMTI1IEMwLjQzNyw0MiA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gQzUuMTgyLDM3LjI0OCA1LjA1NywzNy44MSA0LjkzMiwzOC4zNzMgQzQuODY5LDM4LjYyMyA0LjgwNywzOC45MzYgNC43NDQsMzkuMjQ4IEw0Ljc1LDM5LjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=twitter] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDc5IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dHdpdHRlcjwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ0d2l0dGVyIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxs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LDMuNzQ0IDE1Ljg3MSwzLjQzMSAxNS41NTksMy4zMDYgQzE1LjA1OSwzLjA1NiAxNC4zNzEsMi44NjggMTMuNTU5LDIuODA2IEMxMy4xMjEsMi44MDYgMTIuNjIxLDIuODA2IDEyLjA1OSwyLjc0MyBDMTEuNDk2LDIuNzQzIDEwLjg3MSwyLjc0MyAxMC4xODQsMi44MDYgQzguODcxLDIuODY5IDguMDU5LDIuOTMxIDcuODA5LDIuOTMxIEM3LjM3MSwyLjkzMSA2LjY4NCwyLjkzMSA1Ljc0NiwyLjg2OCBDNS4xMjEsMi44MDUgNC42MjEsMi44MDUgNC4xODMsMi44MDUgTDMuNjIsMi44MDUgQzMuMTIsMi44MDUgMi42MiwyLjg2OCAxLjk5NSwzLjA1NSBDMS4zNywzLjI0MiAwLjg3LDMuNDkzIDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=windowslive] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY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QzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo="); } .auth0-lock-social-button[data-provider^=windows] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d2luZG93czwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ3aW5kb3dzIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjA0NSwwLjA0NSBMMjguNzQ3LDAuMDQ1IEwyOC43NDcsMjguNzQ3IEwwLjA0NSwyOC43NDcgTDAuMDQ1LDAuMDQ1IEwwLjA0NSwwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywwLjA0NSBMNjMuMTMyLDAuMDQ1IEw2My4xMzIsMjguNzQ3IEwzNC40MywyOC43NDcgTDM0LjQzLDAuMDQ1IEwzNC40MywwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOC43NDgsMzUuMjU0IEwyOC43NDgsNjMuOTU2IEwwLjA0Niw2My45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=wordpress] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3c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YwLjYyNSBDMzguNjg5LDYxLjc1IDM1LjQzOSw2Mi4zMTMgMzIuMDAxLDYyLjMxMyBDMjkuMTI2LDYyLjMxMyAyNi4zMTMsNjEuOTM4IDIzLjY4OCw2MS4xODggTDIzLjY4OCw2MS4xODggWiBNNDYuODc1LDU4LjM3NSBMNTUuODc1LDMyLjI1IEM1Ny4zNzUsMjcuODc1IDU4LjEyNSwyNC4zNzUgNTguMTI1LDIxLjY4NyBDNTguMTI1LDIwLjU2MiA1OC4wNjIsMTkuNTYyIDU3LjkzNywxOC42ODcgQzYwLjMxMiwyMyA2MS41LDI3LjY4NyA2MS41LDMyLjgxMiBDNjEuNSwzOC4xMjUgNjAuMTg3LDQzLjA2MiA1Ny41NjIsNDcuNjI1IEM1NC44NzQsNTIuMTg4IDUxLjMxMiw1NS43NSA0Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=yahoo] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijg4cHgiIGhlaWdodD0iNTJweCIgdmlld0JveD0iMCAwIDg4IDUyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29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SwzNC4yNTQgQzI4Ljc1MSwzMy42OTEgMjguNTAxLDMzLjE5MSAyOC4wNjMsMzIuNjI5IEw5LjY4OCwxMC42MjkgTDIuNTYzLDEwLjYyOSBMMS4zNzUsMTAuMDA0IEwxLjE4Nyw5Ljg3OSBMMC44NzQsOS41NjYgQzAuNjg2LDkuMzc4IDAuNTYxLDkuMTkxIDAuMzc0LDguODc4IEwwLDcuNjg4IFogTTc2LjE4OCwwLjY4OCBMNzguODEzLDM3LjI1MSBMODIuNjg4LDM3LjQzOSBMODguMDAxLDEuMTg5IEw3Ni4xODgsMC42ODggWiBNNzcsNDkuNTYzIEw4NC4wNjMsNDkuODEzIEw4NC4zMTMsNDIuNzUgTDc3LjI1LDQyLjUgTDc3LDQ5LjU2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=yammer] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYycHgiIGhlaWdodD0iNTNweCIgdmlld0JveD0iMCAwIDYyIDUzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+eWFtbWVyPC90aXRsZT4KICAgID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KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=yandex] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI4cHgiIGhlaWdodD0iNjBweCIgdmlld0JveD0iMCAwIDI4IDYwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+eWFuZGV4PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InlhbmRleCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuMDAwMDAwLCAwLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMjcuNSwwLjYyNSBDMjgsMC42MjUgMjguMzEzLDAuODc1IDI4LjMxMywxLjQzOCBMMjguMzEzLDU4Ljc1MSBDMjguMzEzLDU5LjEyNiAyOC4xMjUsNTkuMzc2IDI3LjY4OCw1OS4zNzYgTDIzLDU5LjM3NiBDMjIuNjg3LDU5LjM3NiAyMi40MzcsNTkuMDYzIDIyLjQzNyw1OC44MTMgTDIyLjQzNywzNy42MjUgTDE4LjYyNCwzNy42MjUgTDguMDYxLDU4LjgxMyBDNy45MzYsNTkuMTg4IDcuNjIzLDU5LjM3NiA3LjE4Niw1OS4zNzYgTDEuNzQ4LDU5LjM3NiBDMS4xMjMsNTkuMzc2IDAuNzQ4LDU4LjgxMyAxLjEyMyw1OC4xMjYgTDEyLjgxMSwzNi41MDEgQzYuNTYxLDMzLjY4OCAzLjA2MSwyOC4wMDEgMy4wNjEsMjAuMjUxIEMzLjA2MSw3LjMxMyAxMC4yNDksMC42MjYgMTguODExLDAuNjI2IEwyNy40OTksMC42MjYgTDI3LjUsMC42MjUgWiBNMjIuNDM4LDMyLjU2MyBMMjIuNDM4LDUuNjg4IEwxOC41NjMsNS42ODggQzEzLjkzOCw1LjY4OCA5LjM3NSw5LjYyNiA5LjM3NSwxOS40MzggQzkuMzc1LDI4LjgxMyAxNC4yNSwzMi41NjMgMTkuMjUsMzIuNTYzIEwyMi40MzgsMzIuNTYzIEwyMi40MzgsMzIuNTYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); background-size: 30%; } .auth0-lock-social-button[data-provider^=weibo] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjgwcHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDgwIDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3Jn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XBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } @charset "UTF-8"; /* Animate.css - http://daneden.me/animate Licensed under the MIT license - http://opensource.org/licenses/MIT Copyright (c) 2015 Daniel Eden */ .animated { -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .fadeIn { -webkit-animation-name: fadeIn; animation-name: fadeIn; } @-webkit-keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .fadeInDown { -webkit-animation-name: fadeInDown; animation-name: fadeInDown; } @-webkit-keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translate3d(0, -2000px, 0); transform: translate3d(0, -2000px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .fadeInDownBig { -webkit-animation-name: fadeInDownBig; animation-name: fadeInDownBig; } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .fadeInUp { -webkit-animation-name: fadeInUp; animation-name: fadeInUp; } @-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } .fadeOut { -webkit-animation-name: fadeOut; animation-name: fadeOut; } @-webkit-keyframes fadeOutDownBig { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(0, 2000px, 0); transform: translate3d(0, 2000px, 0); } } .fadeOutDownBig { -webkit-animation-name: fadeOutDownBig; animation-name: fadeOutDownBig; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translate3d(0, -2000px, 0); transform: translate3d(0, -2000px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translate3d(0, -2000px, 0); transform: translate3d(0, -2000px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-webkit-keyframes fadeOutDownBig { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(0, 2000px, 0); transform: translate3d(0, 2000px, 0); } } @keyframes fadeOutDownBig { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(0, 2000px, 0); transform: translate3d(0, 2000px, 0); } } .slide-enter { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); } .slide-enter.slide-enter-active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform 0.3s ease-out; transition: -webkit-transform 0.3s ease-out; transition: transform 0.3s ease-out; transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; } .slide-leave { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .slide-leave.slide-leave-active { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); -webkit-transition: -webkit-transform 0.3s ease-in; transition: -webkit-transform 0.3s ease-in; transition: transform 0.3s ease-in; transition: transform 0.3s ease-in, -webkit-transform 0.3s ease-in; } .vslide-enter { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } .vslide-enter.vslide-enter-active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; } .reverse-vslide-enter { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } .reverse-vslide-enter.reverse-vslide-enter-active { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; } .vslide-leave { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .vslide-leave.vslide-leave-active { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; } .horizontal-fade-enter { position: relative; top: 0; left: 0; z-index: 1; -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); } .horizontal-fade-enter.horizontal-fade-enter-active { -webkit-transform: none; transform: none; -webkit-transition: -webkit-transform 0.5s; transition: -webkit-transform 0.5s; transition: transform 0.5s; transition: transform 0.5s, -webkit-transform 0.5s; } .horizontal-fade-leave { opacity: 1; position: absolute; width: 100%; top: 0; left: 0; } .horizontal-fade-leave.horizontal-fade-leave-active { opacity: 0; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); -webkit-transition: -webkit-transform 0.5s, opacity 1s linear; -webkit-transition: opacity 1s linear, -webkit-transform 0.5s; transition: opacity 1s linear, -webkit-transform 0.5s; transition: transform 0.5s, opacity 1s linear; transition: transform 0.5s, opacity 1s linear, -webkit-transform 0.5s; } .reverse-horizontal-fade-enter { position: relative; top: 0; left: 0; z-index: 1; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); } .reverse-horizontal-fade-enter.reverse-horizontal-fade-enter-active { -webkit-transform: none; transform: none; -webkit-transition: -webkit-transform 0.5s; transition: -webkit-transform 0.5s; transition: transform 0.5s; transition: transform 0.5s, -webkit-transform 0.5s; } .reverse-horizontal-fade-leave { opacity: 1; position: absolute; width: 100%; top: 0; left: 0; } .reverse-horizontal-fade-leave.reverse-horizontal-fade-leave-active { opacity: 0; -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); -webkit-transition: -webkit-transform 0.5s, opacity 1s linear; -webkit-transition: opacity 1s linear, -webkit-transform 0.5s; transition: opacity 1s linear, -webkit-transform 0.5s; transition: transform 0.5s, opacity 1s linear; transition: transform 0.5s, opacity 1s linear, -webkit-transform 0.5s; } .fade-enter { position: relative; top: 0; left: 0; z-index: 1; } .fade-leave { opacity: 1; position: absolute; width: 100%; top: 0; left: 0; opacity: 1; } .fade-leave.fade-leave-active { opacity: 0; -webkit-transition: opacity 0.5s linear; transition: opacity 0.5s linear; } @-webkit-keyframes stroke { 100% { stroke-dashoffset: 0; } } @-webkit-keyframes scale { 0%, 100% { -webkit-transform: none; } 50% { -webkit-transform: scale3d(1.1, 1.1, 1); } } @-webkit-keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #7ac142; } } @-webkit-keyframes rotate { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @-webkit-keyframes stroke { 100% { stroke-dashoffset: 0; } } @keyframes stroke { 100% { stroke-dashoffset: 0; } } @-webkit-keyframes scale { 0%, 100% { -webkit-transform: none; transform: none; } 50% { -webkit-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } } @keyframes scale { 0%, 100% { -webkit-transform: none; transform: none; } 50% { -webkit-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } } @-webkit-keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #7ac142; } } @keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #7ac142; } } @-webkit-keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @media screen and (max-width: 480px) { html.auth0-lock-html body > * { display: none; } html.auth0-lock-html body .auth0-lock-container { background: #fff; display: block !important; } } .auth0-lock.auth0-lock, .auth0-lock.auth0-lock * { box-sizing: initial; } .auth0-lock.auth0-lock svg { background-color: transparent; } .auth0-lock.auth0-lock .auth0-global-message { color: #fff; text-align: center; padding: 10px; line-height: 1.8; font-size: 11px; font-weight: 600; text-transform: uppercase; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-error { background: #ff3e00; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-success { background: #7ed321; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter { height: 0; paddingTop: 0; paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter.global-message-enter-active { -webkit-transition: all 0.2s; transition: all 0.2s; height: auto; paddingTop: 10px; paddingBottom: 10px; } .auth0-lock.auth0-lock .auth0-global-message.global-message-leave { -webkit-transition: all 0.2s; transition: all 0.2s; height: 0; paddingTop: 0; paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message span { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .auth0-lock.auth0-lock { font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, sans-serif; text-rendering: optimizeLegibility; pointer-events: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; right: 0; z-index: 1000000; } @media (min-width: 481px) { .auth0-lock.auth0-lock { display: table; } } .auth0-lock.auth0-lock a { text-decoration: none; } .auth0-lock.auth0-lock a:active, .auth0-lock.auth0-lock a:focus { outline: none; } .auth0-lock.auth0-lock input:focus, .auth0-lock.auth0-lock button:focus { outline: none; } .auth0-lock.auth0-lock .auth0-lock-overlay { background: -webkit-radial-gradient(#40404b, #111118) rgba(34,34,40,0.94); background: radial-gradient(#40404b, #111118) rgba(34,34,40,0.94); position: fixed; top: 0; bottom: 0; right: 0; left: 0; z-index: -1; opacity: 0; -webkit-transition: opacity 0.2s ease-in 0.4s; transition: opacity 0.2s ease-in 0.4s; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-center { vertical-align: middle; display: table-cell; margin: auto; } } .auth0-lock.auth0-lock .auth0-lock-widget { width: 300px; opacity: 0; -webkit-transform: translateY(100%) scale(0.8); transform: translateY(100%) scale(0.8); -webkit-transition-timing-function: cubic-bezier(0.3, 0, 0, 1.4); transition-timing-function: cubic-bezier(0.3, 0, 0, 1.4); margin: 0 auto; border-radius: 5px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-widget { -webkit-transition: -webkit-transform 0.4s, opacity 0.3s; -webkit-transition: opacity 0.3s, -webkit-transform 0.4s; transition: opacity 0.3s, -webkit-transform 0.4s; transition: transform 0.4s, opacity 0.3s; transition: transform 0.4s, opacity 0.3s, -webkit-transform 0.4s; } } .auth0-lock.auth0-lock .auth0-lock-widget-container { position: relative; } .auth0-lock.auth0-lock .auth0-lock-cred-pane { height: 100%; border-radius: 6px; background: #fff; position: relative; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-leave .auth0-lock-content, .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-leave .auth0-lock-terms { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.auth0-lock-moving { overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-header { text-align: center; padding: 11px; height: 118px; color: #333; position: relative; background: #fff; border-radius: 5px 5px 0 0; overflow: hidden; box-sizing: border-box; } .auth0-lock.auth0-lock .auth0-lock-close-button, .auth0-lock.auth0-lock .auth0-lock-back-button { background: #fff; border-radius: 100px; height: 10px; width: 10px; position: absolute; top: 14px; right: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); color: #333; z-index: 100; border: 6px solid #fff; cursor: pointer; line-height: 0; } .auth0-lock.auth0-lock .auth0-lock-close-button svg, .auth0-lock.auth0-lock .auth0-lock-back-button svg { box-sizing: content-box; } .auth0-lock.auth0-lock .auth0-lock-close-button polygon, .auth0-lock.auth0-lock .auth0-lock-back-button polygon { fill: #373737; } .auth0-lock.auth0-lock .auth0-lock-back-button { left: 14px; } .auth0-lock.auth0-lock .auth0-lock-header-avatar { height: 80px; width: 80px; display: block; border-radius: 100px; margin: -16px auto 0; position: absolute; left: 0; right: 0; z-index: 1000; box-shadow: 0 1px 2px rgba(0,0,0,0.4); -webkit-animation: fadeIn 0.75s both; animation: fadeIn 0.75s both; } @media (min-width: 768px) { .auth0-lock.auth0-lock .auth0-lock-header-avatar { -webkit-animation: fadeInDown 0.75s both; animation: fadeInDown 0.75s both; } } .auth0-lock.auth0-lock .auth0-lock-header-bg { position: absolute; height: 118px; width: 100%; overflow: hidden; top: 0; left: 0; pointer-events: none; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-header-bg { background: rgba(241,241,241,0.8); } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur { display: none; height: 100%; width: 100%; border-top-left-radius: 5px; border-top-right-radius: 5px; -webkit-filter: blur(40px) grayscale(1); -ms-filter: blur(40px) grayscale(1); filter: blur(40px) grayscale(1); -webkit-backdrop-filter: blur(0); background-color: #fff; background-position: center; background-repeat: no-repeat; background-size: 300px; opacity: 0; -webkit-transition: 0s ease 0s; transition: 0s ease 0s; } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale { -webkit-filter: blur(30px); -ms-filter: blur(30px); filter: blur(30px); -webkit-backdrop-filter: blur(0); background-position: center; background-size: 800px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-header-bg.auth0-lock-blur-support .auth0-lock-header-bg-blur { display: block; } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-solid { height: 100%; opacity: 0.08; } .auth0-lock.auth0-lock .auth0-lock-header-welcome { font-size: 18px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-header-logo { width: auto; height: 58px; display: inline-block; margin: 0 0 11px; vertical-align: middle; } .auth0-lock.auth0-lock .auth0-lock-firstname { font-size: 18px; margin-top: 64px; } .auth0-lock.auth0-lock .auth0-lock-name { font-size: 22px; } .auth0-lock.auth0-lock .auth0-lock-content { padding: 20px; box-sizing: border-box; } .auth0-lock.auth0-lock .auth0-lock-form { display: block; -webkit-animation: fadeIn 0.2s; animation: fadeIn 0.2s; } .auth0-lock.auth0-lock .auth0-lock-form h2 { font-size: 22px; font-weight: normal; text-align: center; margin: 0 0 15px; color: #000; } .auth0-lock.auth0-lock .auth0-lock-form p { font-size: 13px; line-height: 1.8; text-align: center; margin-top: 0; margin-bottom: 15px; color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative { margin-top: 20px; margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative .auth0-lock-alternative-link { font-size: 13px; color: rgba(0,0,0,0.87); cursor: pointer; margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-input-block { position: relative; margin-bottom: 15px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-input-block { margin-bottom: 10px; } } .auth0-lock.auth0-lock .auth0-lock-input-block:last-child { margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-input-wrap { border-radius: 3px; border: 1px solid #f1f1f1; position: relative; background: #f1f1f1; -webkit-transition: border-color 0.8s; transition: border-color 0.8s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-input-wrap-with-icon { padding-left: 40px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon-arrow { position: absolute; right: 15px; top: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon { position: absolute; font-size: 12px; top: 13px; left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon path, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon path { fill: #888; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-mobile, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-mobile { width: 9px; height: 14px; top: 14px; left: 16px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-box, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-box { width: 12px; height: 14px; top: auto; bottom: 14px; left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-focused { border-color: #a0a0a0; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input { border: 0; padding: 0 14px; right: 0; height: 40px; font-size: 13px; width: 100%; border-radius: 0 2px 2px 0; box-sizing: border-box; position: relative; color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.animated { -webkit-animation-duration: 0.5s; animation-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location { background-color: #f9f9f9; text-align: left; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location.auth0-lock-input-with-placeholder { color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-error .auth0-lock-input-wrap { border-color: #f00; -webkit-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane, .auth0-lock.auth0-lock .auth0-lock-last-login-pane { position: relative; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container { -webkit-animation: fadeIn 0.75s ease-in-out !important; animation: fadeIn 0.75s ease-in-out !important; position: absolute; width: 54px; height: 54px; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container .auth0-loading, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container .auth0-loading { width: 50px; height: 50px; border-radius: 50%; top: 0; left: 0; opacity: 1; } .auth0-lock.auth0-lock .auth0-lock-social-buttons-container { text-align: center; } .auth0-lock.auth0-lock .auth0-lock-social-button { border: 0; padding: 0; display: inline-block; box-sizing: border-box; overflow: hidden; border-radius: 3px; margin: 4px; position: relative; width: 40px; height: 40px; } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-icon { width: 40px; height: 40px; position: absolute; top: 0; left: 0; transition: background-color 0.3s; -webkit-transition: background-color 0.3s; } .auth0-lock.auth0-lock .auth0-lock-social-button:hover .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button:focus .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-text { display: none; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button { display: block; margin: 10px 0 0; width: 100%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:first-child { margin-top: 0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=""], .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider="auth0"] { background-color: #c0c0c0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=""] .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider="auth0"] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iNTNweCIgaGVpZ2h0PSI2NXB4IiB2aWV3Qm94PSIwIDAgNTMgNjUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+U2hhcGU8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSI2NHB4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTE1My4wMDAwMDAsIC02MDMzLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMTYxLjEyNSw2MDk4IEMxMTU2LjYzNzk3LDYwOTggMTE1Myw2MDk0LjM2MTg2IDExNTMsNjA4OS44NzU2MyBMMTE1Myw2MDY1LjQ5OTQ5IEMxMTUzLDYwNjEuMDEyMjUgMTE1Ni42Mzc5Nyw2MDU3LjM3MzEgMTE2MS4xMjUsNjA1Ny4zNzMxIEwxMTYxLjEyNSw2MDUxLjI4MjExIEMxMTYxLjEyNSw2MDQxLjE4NjMyIDExNjkuMzA5OTIsNjAzMyAxMTc5Lj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zNTI4IDEyMDEuNzUsNjA5Mi4xMTYyMSAxMjAxLjc1LDYwODkuODc1NjMgTDEyMDEuNzUsNjA2NS40OTk0OSBMMTIwMS43NSw2MDY1LjQ5OTQ5IFogTTExNzcuMzc1LDYwODMuNzgwNTggTDExNzcuMzc1LDYwNzEuNTkyNTEgQzExNzcuMzc1LDYwNzAuNDcxMjEgMTE3OC4yODM5OCw2MDY5LjU2MTE3IDExNzkuNDA2MjUsNjA2OS41NjExNyBDMTE4MC41Mjg1Miw2MDY5LjU2MTE3IDExODEuNDM3NSw2MDcwLjQ3MTIxIDExODEuNDM3NSw2MDcxLjU5MjUxIEwxMTgxLjQzNzUsNjA4My43ODA1OCBDMTE4MS40Mzc1LDYwODQuOTAwODcgMTE4MC41Mjg1Miw2MDg1LjgxMDkxIDExNzkuNDA2MjUsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4="); background-size: 38%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-text { box-sizing: border-box; display: block; overflow: hidden; width: 100%; padding-left: 54px; padding-right: 15px; line-height: 40px; text-align: left; text-transform: uppercase; text-overflow: ellipsis; font-size: 10px; font-weight: 600; letter-spacing: 0.7px; color: #fff; white-space: nowrap; transition: background 0.3s; -webkit-transition: background 0.3s; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover .auth0-lock-social-button-text, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus .auth0-lock-social-button-text { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-terms { background: #eee; text-align: center; display: block; font-size: 12px; color: rgba(0,0,0,0.54); line-height: 22px; padding: 10px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-terms a { color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-submit { border: 0; padding: 14px; display: block; box-sizing: border-box; width: 100%; height: 70px; overflow: hidden; border-radius: 0 0 5px 5px; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; color: #fff; letter-spacing: 1px; font-size: 14px; text-transform: uppercase; /*submit button animation*/ } .auth0-lock.auth0-lock .auth0-lock-submit span { display: inline-block; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit span svg { vertical-align: middle; } .auth0-lock.auth0-lock .auth0-lock-submit span svg.icon-text { margin: -4px 0 0 5px; } .auth0-lock.auth0-lock .auth0-lock-submit .auth0-label-submit { height: 42px; line-height: 42px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-submit:hover:not([disabled]) span { -webkit-transform: scale(1.05); transform: scale(1.05); } } .auth0-lock.auth0-lock .auth0-lock-submit:focus { box-shadow: inset 0 0 100px 20px rgba(0,0,0,0.2); } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] { background-color: #9b9b9b !important; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg circle, .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { stroke: rgba(255,255,255,0.6); -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { fill: rgba(255,255,255,0.6); } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter { opacity: 0; } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter.vslide-enter-active { opacity: 1; -webkit-transition-duration: 0.5s; transition-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-loading-container { position: relative; display: none; } .auth0-lock.auth0-lock .auth0-loading-container .auth0-loading { position: absolute; top: 4px; left: 44%; width: 30px; height: 30px; border-width: 2px; border-style: solid; border-color: rgba(0,0,0,0.4) rgba(0,0,0,0.4) rgba(0,0,0,0.2) rgba(0,0,0,0.2); opacity: 0.9; border-radius: 20px; -webkit-animation: rotate 1s linear infinite; animation: rotate 1s linear infinite; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-terms { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit { background-color: #eee !important; -webkit-transition: background 0.5s ease; transition: background 0.5s ease; cursor: initial; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit span { -webkit-animation: fadeOutDownBig 1s both; animation: fadeOutDownBig 1s both; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-loading-container { -webkit-animation: fadeInDownBig 1s both; animation: fadeInDownBig 1s both; display: block; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-header-avatar { -webkit-animation: fadeOut 0.3s both; animation: fadeOut 0.3s both; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-terms, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-submit { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock .auth0-lock-select-country { background-color: #fff; position: absolute; padding: 0; font-size: 14px; color: #666; bottom: 0; top: 0; right: 0; left: 0; border-radius: 5px; overflow: hidden; z-index: 200; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-back-button { opacity: 1; visibility: visible; top: 19px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-search { background-color: #e3e5e9; padding: 10px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-wrap { margin: 0; border: none; margin-left: 40px; overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-icon { width: 16px; height: 16px; top: 12px; left: 9px; z-index: 1; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-search { border: none; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code { position: relative; height: calc(100% - 60px); overflow-y: scroll; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code ul { margin: 0; padding: 0; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { list-style: none; text-align: left; border-bottom: 1px solid #eee; cursor: pointer; color: #000; font-size: 14px; padding: 15px 20px; margin: 0; text-overflow: ellipsis; width: 100%; white-space: nowrap; overflow: hidden; box-sizing: border-box; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { padding: 10px 20px; } } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li.auth0-lock-list-code-highlighted { background-color: #2eb5ff; color: #fff; } .auth0-lock.auth0-lock .auth0-lock-confirmation { background-color: #fff; position: absolute; text-align: center; line-height: 2; font-size: 14px; color: #666; width: 100%; height: 100%; top: 0; left: 0; z-index: 200; border-radius: 5px; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-confirmation-content { width: 100%; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); position: absolute; } .auth0-lock.auth0-lock .auth0-lock-confirmation p { padding: 0 14px; margin-bottom: 6px; } .auth0-lock.auth0-lock .auth0-lock-confirmation a { display: block; font-weight: 500; color: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg { width: 15px; height: 16px; margin-bottom: -4px; margin-left: 0px; display: inline-block; -webkit-transition: -webkit-transform 1s ease; transition: -webkit-transform 1s ease; transition: transform 1s ease; transition: transform 1s ease, -webkit-transform 1s ease; -webkit-transform: rotate(120deg); transform: rotate(120deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg path { fill: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a:hover svg { -webkit-transform: rotate(490deg); transform: rotate(490deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-label { color: #008000; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-failed-label { color: #f00; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 2; stroke-miterlimit: 10; stroke: #7ac142; fill: none; -webkit-animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark { width: 56px; height: 56px; border-radius: 50%; display: block; stroke-width: 2; stroke: #fff; stroke-miterlimit: 10; margin: 0 auto; box-shadow: inset 0px 0px 0px #7ac142; -webkit-animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__check { -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-back-button { opacity: 1; visibility: visible; } .auth0-lock.auth0-lock .auth0-lock-forgot-link { font-size: 12px; display: block; text-align: center; margin: 30px 0 0 0; color: #5c666f; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom { position: absolute; bottom: 15px; left: 15px; z-index: -1; text-align: center; padding: 6px 10px; border-radius: 3px; background: rgba(255,255,255,0.1); } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge { display: inline-block; color: rgba(255,255,255,0.7); font-size: 14px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge svg { vertical-align: middle; margin: 0 4px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge:hover svg g#LogoBadge { fill: #eb5424; fill-opacity: 1; } .auth0-lock.auth0-lock.auth0-lock-opened { opacity: 1; pointer-events: auto; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened { position: absolute; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { opacity: 0.9; -webkit-transition: opacity 0.3s ease-in 0s; transition: opacity 0.3s ease-in 0s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header { border-radius: 0; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-avatar { width: 70px; height: 70px; margin: 10px auto 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-firstname { margin-top: 72px; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); } @media (min-width: 481px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; box-shadow: 0 0 40px 4px #111118; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { width: 100%; height: 100%; position: absolute; top: 0; bottom: 0; border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget-container { height: 100%; overflow-y: scroll; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-cred-pane { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-body-content { background: #fff; min-height: calc(100vh - 188px); display: table; width: 100%; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content { width: 100%; display: table-cell; vertical-align: middle; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content .auth0-lock-form p { font-size: 14px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-tabs-container { position: absolute; top: 0; left: 0; width: 100%; margin: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-terms { position: absolute; bottom: -42px; width: 100%; left: 0; box-sizing: border-box; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-sign-up-terms-agreement label input { top: 2px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-submit { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-badge-bottom { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-confirmation { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 256px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit .auth0-lock-body-content { min-height: calc(100vh - 118px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 186px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-terms .auth0-lock-body-content { margin-bottom: 42px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs .auth0-lock-body-content { min-height: calc(100vh - 228px); padding-top: 40px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-with-terms .auth0-lock-body-content { min-height: calc(100vh - 228px - 42px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 296px); } } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame { opacity: 1; pointer-events: auto; position: relative; width: auto; margin-left: auto; margin-right: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale { opacity: 0.5; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; margin: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .global-error { position: absolute; display: none; } .auth0-lock .auth0-lock-form div.auth0-lock-pane-separator { padding-top: 15px; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content { opacity: 1; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content .auth0-lock-social-buttons-container { opacity: 0.3; } .auth0-lock.auth0-lock .auth0-lock-tabs-container { margin: -20px -20px 20px; height: 40px; } .auth0-lock.auth0-lock .auth0-lock-tabs { background: #fff; padding: 0; margin: 0; font-size: 13px; letter-spacing: 0.7px; box-shadow: 0 1px 0 0 rgba(92,102,111,0.2); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-line-pack: center; align-content: center; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; } .auth0-lock.auth0-lock .auth0-lock-tabs:after { content: ""; display: table; clear: both; } .auth0-lock.auth0-lock .auth0-lock-tabs li { width: 50%; display: block; list-style: none; float: left; padding: 0; margin: 0; text-align: center; cursor: pointer; } .auth0-lock.auth0-lock .auth0-lock-tabs li a { padding: 11px 10px; display: block; text-decoration: none; color: rgba(92,102,111,0.6); font-weight: 500; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current { box-shadow: 0 1px 0 0 #5c666f; cursor: default; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current a { color: #5c666f; } .auth0-lock-password-strength { width: 100%; bottom: 41px; display: block; text-align: left; padding-top: 0; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-transition: height 0.3s ease; transition: height 0.3s ease; } @media (min-width: 481px) { .auth0-lock-password-strength { position: absolute; background: #1f242e; box-shadow: 0 0 20px 0 rgba(0,0,0,0.5); -webkit-transition: none; transition: none; width: 100%; border-radius: 3px; z-index: 1000; } .auth0-lock-password-strength:after { top: 100%; left: 21px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-top-color: #1f242e; border-width: 9px; margin-left: -9px; } } .auth0-lock-password-strength.fadeOut { opacity: 0; -webkit-transition: 0.3s 0.3s ease; transition: 0.3s 0.3s ease; visibility: hidden; } .auth0-lock-password-strength.fadeIn ul { -webkit-animation: fadeIn 0.3s 0.1s both; animation: fadeIn 0.3s 0.1s both; } .auth0-lock-password-strength li, .auth0-lock-password-strength ul { margin: 0; padding: 0; list-style: none; color: #dd4b39; } .auth0-lock-password-strength > ul { padding: 15px; padding-top: 0; } @media (min-width: 481px) { .auth0-lock-password-strength > ul { padding-top: 12px; } } .auth0-lock-password-strength li span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+RXJyb3I8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFzc3dvcmQtUG9saWN5IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJBcnRib2FyZC0xIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAwLjAwMDAwMCwgLTE0OC4wMDAwMDApIj4gICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTUwLjAwMDAwMCwgNzUuMDAwMDAwKSI+ICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC1Db3B5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNS4wMDAwMDAsIDM2LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IkVycm9yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNS4wMDAwMDAsIDM3LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgICAgIDxlbGxpcHNlIGlkPSJPdmFsLTkwIiBmaWxsPSIjQkU0NTI3IiBjeD0iNiIgY3k9IjYiIHJ4PSI2IiByeT0iNiI+PC9lbGxpcHNlPiAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik05LDMuNjA0Mjg1NzEgTDguMzk1NzE0MjksMyBMNiw1LjM5NTcxNDI5IEwzLjYwNDI4NTcxLDMgTDMsMy42MDQyODU3MSBMNS4zOTU3MTQyOSw2IEwzLDguMzk1NzE0MjkgTDMuNjA0Mjg1NzEsOSBMNiw2LjYwNDI4NTcxIEw4LjM5NTcxNDI5LDkgTDksOC4zOTU3MTQyOSBMNi42MDQyODU3MSw2IEw5LDMuNjA0Mjg1NzEgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4="); background-position: left center; background-repeat: no-repeat; padding-left: 20px; } .auth0-lock-password-strength ul li ul { margin-left: 20px; } .auth0-lock-password-strength ul li ul li { color: #000; } @media (min-width: 481px) { .auth0-lock-password-strength ul li ul li { color: #fff; } } .auth0-lock-password-strength ul li ul li span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+T3ZhbCAxPC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iSXBob25lLTYtLS1OYXRpdmUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00NC4wMDAwMDAsIC0yMTQuMDAwMDAwKSIgZmlsbD0iI0QwRDJEMyI+ICAgICAgICAgICAgPHBhdGggZD0iTTUwLjExNDk3MzMsMjI2IEM1My40Mjg2ODE4LDIyNiA1Ni4xMTQ5NzMzLDIyMy4zMTM3MDggNTYuMTE0OTczMywyMjAgQzU2LjExNDk3MzMsMjE2LjY4NjI5MiA1My40Mjg2ODE4LDIxNCA1MC4xMTQ5NzMzLDIxNCBDNDYuODAxMjY0OCwyMTQgNDQuMTE0OTczMywyMTYuNjg2MjkyIDQ0LjExNDk3MzMsMjIwIEM0NC4xMTQ5NzMzLDIyMy4zMTM3MDggNDYuODAxMjY0OCwyMjYgNTAuMTE0OTczMywyMjYgWiIgaWQ9Ik92YWwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+"); } .auth0-lock-password-strength li { line-height: 1.5; margin-top: 5px; font-size: 13px; -webkit-transition: color 0.3s ease-in; transition: color 0.3s ease-in; position: relative; } .auth0-lock-password-strength li.auth0-lock-checked { color: #7ed321; } .auth0-lock-password-strength li.auth0-lock-checked span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+R3JvdXAgNDwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9IklwaG9uZS02LS0tTmF0aXZlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQuMDAwMDAwLCAtMjQwLjAwMDAwMCkiPiAgICAgICAgICAgIDxnIGlkPSJHcm91cC00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NC4xMTQ5NzMsIDI0MC4wMDAwMDApIj4gICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtOTAiIGZpbGw9IiM4MEQxMzUiIGN4PSI2IiBjeT0iNiIgcng9IjYiIHJ5PSI2Ij48L2VsbGlwc2U+ICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjU0MjM1MzYxLDcuNzMzNzgwNzYgTDIuNjQ1ODIxNDksNS44NjgwMDg5NSBMMiw2LjQ5ODg4MTQzIEw0LjU0MjM1MzYxLDkgTDEwLDMuNjMwODcyNDggTDkuMzU4NzI2NTUsMyBMNC41NDIzNTM2MSw3LjczMzc4MDc2IFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPiAgICAgICAgICAgIDwvZz4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg=="); } .auth0-lock-error-msg { color: #f00; font-size: 12px; margin-top: 5px; } @media (min-width: 481px) { .auth0-lock-error-msg { color: #000; background: #fff; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); margin: 0; border-radius: 3px; position: absolute; left: calc(100% + 7px); top: 1px; display: inline-table; } .auth0-lock-error-msg span { background: #fff; padding: 12px 15px; display: block; position: relative; border-radius: 3px; z-index: 1; } .auth0-lock-error-msg:after { content: ""; background: #fff; height: 6px; width: 6px; position: absolute; pointer-events: none; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); right: calc(100% - 3px); top: 50%; -webkit-transform: translateY(-50%) rotate(45deg); transform: translateY(-50%) rotate(45deg); } } .auth0-lock .auth0-loading-screen { min-height: 42px; } .auth0-lock .auth0-loading-screen .auth0-loading-container { display: block; } .auth0-lock .auth0-sso-notice-container { background: rgba(0,0,0,0.03); color: rgba(0,0,0,0.54); padding: 10px 0; margin: -20px -20px 20px; text-align: center; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; } .auth0-lock .auth0-sso-notice-container .auth0-lock-icon { width: 12px; height: 14px; position: relative; top: 2px; right: 2px; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button.auth0-lock-social-big-button { margin-top: 0; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button[data-provider="auth0"] .auth0-lock-social-button-text { text-transform: none; font-size: 12px; font-weight: normal; } .auth0-lock .auth0-lock-sign-up-terms-agreement label input { margin-right: 5px; position: relative; } input[type="button"] { cursor: pointer; } ',g=function(t){ +function e(n,o,a){r(this,e);var s=i(this,t.call(this,n,o,a,M.default));return u(),s}return a(e,t),e}(p.default);e.default=g,g.version="10.8.1",g.css=f,c.default.clientInfo.lib_version=c.default.clientInfo.version,c.default.clientInfo.name="lock.js",c.default.clientInfo.version=g.version},function(t,e,n){"use strict";function o(t,e){return s(t,"skipped",e)}function r(t){return u(t,"skipped",!1)}e.__esModule=!0,e.skipQuickAuth=o,e.hasSkippedQuickAuth=r;var i=n(17),a=(0,i.dataFns)(["quickAuth"]),u=a.tget,s=a.tset},function(t,e,n){(function(t){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0,e.defaultProps=void 0;var u=n(1),s=o(u),c=n(311),l=o(c),p=n(55),d=s.default.createElement("svg",{width:"58px",height:"21px",viewBox:"0 0 462 168"},s.default.createElement("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},s.default.createElement("g",{id:"logo-grey-horizontal"},s.default.createElement("g",{id:"Group"},s.default.createElement("g",{id:"LogoText",transform:"translate(188.000000, 41.500000)",fill:"#D0D2D3"},s.default.createElement("path",{d:"M246.517,0.11 C238.439,0.11 231.607,3.916 226.759,11.115 C221.94,18.271 219.393,28.26 219.393,40 C219.393,51.74 221.94,61.729 226.759,68.884 C231.607,76.084 238.439,79.889 246.517,79.889 C254.595,79.889 261.427,76.084 266.275,68.884 C271.093,61.729 273.64,51.74 273.64,40 C273.64,28.26 271.093,18.271 266.275,11.115 C261.427,3.916 254.595,0.11 246.517,0.11 L246.517,0.11 Z M246.517,70.005 C242.655,70.005 239.604,67.82 237.187,63.324 C234.268,57.893 232.66,49.61 232.66,40 C232.66,30.39 234.268,22.106 237.187,16.676 C239.604,12.18 242.655,9.994 246.517,9.994 C250.378,9.994 253.43,12.18 255.847,16.676 C258.766,22.106 260.373,30.389 260.373,40 C260.373,49.611 258.766,57.895 255.847,63.324 C253.43,67.82 250.378,70.005 246.517,70.005 L246.517,70.005 Z M71.45,29.172 L71.45,63.484 C71.45,72.53 78.81,79.889 87.856,79.889 C95.746,79.889 101.707,75.975 103.902,74.291 C104.024,74.197 104.184,74.169 104.331,74.216 C104.478,74.263 104.592,74.379 104.637,74.527 L105.961,78.86 L115.737,78.86 L115.737,29.172 L103.175,29.172 L103.175,66.326 C103.175,66.501 103.076,66.662 102.921,66.743 C100.559,67.961 95.899,70.006 91.231,70.006 C87.252,70.006 84.012,66.768 84.012,62.787 L84.012,29.172 L71.45,29.172 L71.45,29.172 Z M197.237,78.859 L209.8,78.859 L209.8,44.547 C209.8,35.501 202.44,28.141 193.394,28.141 C186.735,28.141 181.393,31.004 178.802,32.71 C178.657,32.805 178.473,32.813 178.322,32.731 C178.171,32.649 178.075,32.491 178.075,32.318 L178.075,1.141 L165.513,1.141 L165.513,78.859 L178.075,78.859 L178.075,41.704 C178.075,41.529 178.174,41.368 178.33,41.288 C180.691,40.069 185.352,38.025 190.019,38.025 C191.947,38.025 193.76,38.776 195.123,40.139 C196.486,41.502 197.236,43.316 197.236,45.243 L197.236,78.859 L197.237,78.859 Z M124.792,39.055 L132.438,39.055 C132.697,39.055 132.907,39.265 132.907,39.524 L132.907,66.858 C132.907,74.043 138.753,79.888 145.938,79.888 C148.543,79.888 151.113,79.512 153.585,78.77 L153.585,69.796 C152.143,69.923 150.485,70.005 149.313,70.005 C147.193,70.005 145.469,68.28 145.469,66.161 L145.469,39.523 C145.469,39.264 145.679,39.054 145.938,39.054 L153.585,39.054 L153.585,29.171 L145.938,29.171 C145.679,29.171 145.469,28.961 145.469,28.702 L145.469,12.295 L132.907,12.295 L132.907,28.702 C132.907,28.961 132.697,29.171 132.438,29.171 L124.792,29.171 L124.792,39.055 L124.792,39.055 Z M51.361,78.859 L64.429,78.859 L44.555,9.55 C42.962,3.992 37.811,0.11 32.029,0.11 C26.247,0.11 21.096,3.992 19.502,9.55 L-0.372,78.859 L12.697,78.859 L18.449,58.798 C18.507,58.597 18.691,58.459 18.9,58.459 L45.158,58.459 C45.367,58.459 45.552,58.597 45.609,58.798 L51.361,78.859 L51.361,78.859 Z M42.056,48.576 L22.004,48.576 C21.857,48.576 21.718,48.507 21.629,48.388 C21.541,48.272 21.513,48.119 21.553,47.978 L31.579,13.012 C31.637,12.811 31.821,12.673 32.03,12.673 C32.239,12.673 32.423,12.811 32.48,13.012 L42.507,47.978 C42.547,48.12 42.519,48.272 42.43,48.388 C42.342,48.507 42.203,48.576 42.056,48.576 L42.056,48.576 Z",id:"Shape"})),s.default.createElement("g",{id:"LogoBadge",fillOpacity:"0.4",fill:"#FFFFFF"},s.default.createElement("path",{d:"M119.555,135.861 L102.705,83.997 L146.813,51.952 L92.291,51.952 L75.44,0.09 L75.435,0.076 L129.965,0.076 L146.82,51.947 L146.821,51.946 L146.835,51.938 C156.623,82.03 146.542,116.256 119.555,135.861 L119.555,135.861 Z M31.321,135.861 L31.307,135.871 L75.426,167.924 L119.555,135.862 L75.44,103.808 L31.321,135.861 L31.321,135.861 Z M4.052,51.939 L4.052,51.939 C-6.252,83.66 5.709,117.272 31.312,135.867 L31.316,135.851 L48.168,83.99 L4.07,51.951 L58.579,51.951 L75.431,0.089 L75.435,0.075 L20.902,0.075 L4.052,51.939 L4.052,51.939 Z",id:"Shape"})))))),M=function(t){var e=t.link;return s.default.createElement("span",{className:"auth0-lock-badge-bottom"},s.default.createElement("a",{href:e,target:"_blank",className:"auth0-lock-badge"},"Protected with ",d))},f=function(t){var e=t.imageUrl;return s.default.createElement("img",{src:e,className:"auth0-lock-header-avatar"})};f.propTypes={imageUrl:s.default.PropTypes.string.isRequired};var g=function(){function e(n){a(this,e),this.handler=function(t){27==t.keyCode&&"INPUT"!=t.target.tagName.toUpperCase()&&n()},t.document.addEventListener("keydown",this.handler,!1)}return e.prototype.release=function(){t.document.removeEventListener("keydown",this.handler)},e}(),y=t.navigator&&!!t.navigator.userAgent.match(/iPhone/i),h=function(t){function e(n){a(this,e);var o=r(this,t.call(this,n));return o.state={isOpen:!1},o}return i(e,t),e.prototype.componentDidMount=function(){var t=this;this.props.isModal&&setTimeout(function(){return t.setState({isOpen:!0})},17),this.props.closeHandler&&(this.escKeydown=new g(this.handleEsc.bind(this)))},e.prototype.componentWillUnmount=function(){this.escKeydown&&this.escKeydown.release()},e.prototype.handleSubmit=function(t){var e=this;t.preventDefault();var n=this.props.submitHandler;n&&(setTimeout(function(){e.props.isSubmitting||e.refs.chrome.focusError()},17),n())},e.prototype.handleClose=function(){var t=this.props,e=t.closeHandler,n=t.isSubmitting;n||e()},e.prototype.handleEsc=function(){var t=this.props,e=(t.closeHandler,t.escHandler);e?e():this.handleClose()},e.prototype.hide=function(){this.setState({isOpen:!1})},e.prototype.render=function(){var t=this.props,e=t.autofocus,n=t.avatar,o=t.auxiliaryPane,r=t.backHandler,i=t.badgeLink,a=t.closeHandler,u=t.contentComponent,c=t.contentProps,d=t.disableSubmitButton,g=(t.disallowClose,t.error),h=t.isMobile,N=t.isModal,D=t.isSubmitting,I=t.logo,j=t.primaryColor,m=t.screenName,L=t.showBadge,w=t.submitButtonLabel,v=t.submitHandler,z=t.success,b=t.tabs,C=t.terms,T=t.title,E=t.transitionName,k=L?s.default.createElement(M,{link:i}):null,S=N?s.default.createElement("div",{className:"auth0-lock-overlay"},k):null,x="auth0-lock";return N&&this.state.isOpen&&(x+=" auth0-lock-opened"),N||(x+=" auth0-lock-opened-in-frame"),h&&(x+=" auth0-lock-mobile"),D&&(x+=" auth0-lock-mode-loading"),o&&(x+=" auth0-lock-auxiliary"),v||(x+=" auth0-lock-no-submit"),C&&(x+=" auth0-lock-with-terms"),y&&(x+=" auth0-lock-iphone"),b&&(x+=" auth0-lock-with-tabs"),s.default.createElement("div",{className:x,ref:"container"},S,s.default.createElement("div",{className:"auth0-lock-center"},s.default.createElement("form",{className:"auth0-lock-widget",onSubmit:this.handleSubmit.bind(this)},n&&s.default.createElement(f,{imageUrl:n}),a&&s.default.createElement(p.CloseButton,{onClick:this.handleClose.bind(this)}),s.default.createElement("div",{className:"auth0-lock-widget-container"},s.default.createElement(l.default,{autofocus:e,avatar:n,auxiliaryPane:o,backHandler:r,contentComponent:u,contentProps:c,disableSubmitButton:d,error:g,isSubmitting:D,logo:I,screenName:m,primaryColor:j,ref:"chrome",showSubmitButton:!!v,submitButtonLabel:w,success:z,tabs:b,terms:C,title:T,transitionName:E})))))},e}(s.default.Component);e.default=h,h.propTypes={autofocus:s.default.PropTypes.bool.isRequired,avatar:s.default.PropTypes.string,auxiliaryPane:s.default.PropTypes.element,backHandler:s.default.PropTypes.func,badgeLink:s.default.PropTypes.string.isRequired,closeHandler:s.default.PropTypes.func,contentComponent:s.default.PropTypes.func.isRequired,contentProps:s.default.PropTypes.object.isRequired,disableSubmitButton:s.default.PropTypes.bool.isRequired,error:s.default.PropTypes.string,isMobile:s.default.PropTypes.bool.isRequired,isModal:s.default.PropTypes.bool.isRequired,isSubmitting:s.default.PropTypes.bool.isRequired,logo:s.default.PropTypes.string.isRequired,primaryColor:s.default.PropTypes.string.isRequired,screenName:s.default.PropTypes.string.isRequired,showBadge:s.default.PropTypes.bool.isRequired,submitButtonLabel:s.default.PropTypes.string,success:s.default.PropTypes.string,tabs:s.default.PropTypes.bool,terms:s.default.PropTypes.element,title:s.default.PropTypes.string.isRequired,transitionName:s.default.PropTypes.string.isRequired};var N=t.window&&t.window.location&&"file:"===t.window.location.protocol;e.defaultProps=h.defaultProps={autofocus:!1,badgeLink:"https://auth0.com/",contentProps:{},disableSubmitButton:!1,isMobile:!1,isSubmitting:!1,logo:(N?"https:":"")+"//cdn.auth0.com/styleguide/1.0.0/img/badge.png",primaryColor:"#ea5323",showBadge:!0}}).call(e,function(){return this}())},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(1),i=o(r),a=function(t){var e=t.disabled,n=t.isBig,o=t.label,r=t.onClick,a=t.strategy,u=t.icon,s=t.primaryColor,c=t.foregroundColor,l="auth0-lock-social-button";n&&(l+=" auth0-lock-social-big-button");var p=s?{backgroundColor:s}:{},d=c?{color:c}:{},M=u?{backgroundImage:"url('"+u+"')"}:{};return i.default.createElement("button",{className:l,"data-provider":a,disabled:e,onClick:r,style:p,type:"button"},i.default.createElement("div",{className:"auth0-lock-social-button-icon",style:M}),i.default.createElement("div",{className:"auth0-lock-social-button-text",style:d},o))};a.propTypes={disabled:i.default.PropTypes.bool.isRequired,isBig:i.default.PropTypes.bool.isRequired,label:i.default.PropTypes.string.isRequired,onClick:i.default.PropTypes.func.isRequired,strategy:i.default.PropTypes.string.isRequired,icon:i.default.PropTypes.string,primaryColor:i.default.PropTypes.string,foregroundColor:i.default.PropTypes.string},a.defaultProps={disabled:!1,isBig:!0},e.default=a},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c=n(1),l=o(c),p=n(40),d=o(p),M=function(t){function e(n){i(this,e);var o=a(this,t.call(this,n));return o.state={},o}return u(e,t),e.prototype.hasFocus=function(){return this.state.focused},e.prototype.render=function(){var t=this.props,e=t.iconUrl,n=t.invalidHint,o=t.isValid,i=t.name,a=(t.onChange,t.value),u=r(t,["iconUrl","invalidHint","isValid","name","onChange","value"]),c=this.props.icon,p=this.state.focused;return!c&&"string"==typeof e&&e&&(c=l.default.createElement("img",{className:"auth0-lock-custom-icon",src:e})),l.default.createElement(d.default,{focused:p,invalidHint:n,isValid:o,name:i,icon:c},l.default.createElement("input",s({ref:"input",type:"text",name:i,className:"auth0-lock-input",autoComplete:"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),value:a},u)))},e.prototype.handleOnChange=function(t){this.props.onChange&&this.props.onChange(t)},e.prototype.handleFocus=function(){this.setState({focused:!0})},e.prototype.handleBlur=function(){this.setState({focused:!1})},e}(l.default.Component);e.default=M},function(t,e){"use strict";function n(){return window.matchMedia&&!window.matchMedia("(min-width: 380px)").matches}e.__esModule=!0,e.isSmallScreen=n},function(t,e){"use strict";function n(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=document.createElement("img");return n.addEventListener("load",function(){e(null,n)}),n.addEventListener("error",function(t){e(t)}),n.src=t,n}e.__esModule=!0,e.img=n},function(t,e){"use strict";var n=function(t){this.auth0=t.auth0,this.url=t.url,this.callback=t.callback,this.timeout=t.timeout||6e4,this.timeoutCallback=t.timeoutCallback||null,this.usePostMessage=t.usePostMessage||!1,this.iframe=null,this.timeoutHandle=null,this._destroyTimeout=null,this.transientMessageEventListener=null,this.transientEventListener=null};n.prototype.init=function(t){this.iframe=document.createElement("iframe"),this.iframe.style.display="none",this.iframe.src=this.url;var e=this;this.usePostMessage?(this.transientMessageEventListener=function(t){e.messageEventListener(t)},window.addEventListener("message",this.transientMessageEventListener,!1)):(this.transientEventListener=function(){e.loadEventListener()},this.iframe.addEventListener("load",this.transientEventListener,!1)),document.body.appendChild(this.iframe),this.timeoutHandle=setTimeout(function(){e.timeoutHandler()},this.timeout)},n.prototype.messageEventListener=function(t){this.callbackHandler(t.data),this.destroy()},n.prototype.loadEventListener=function(){var t=this.auth0.parseHash(this.iframe.contentWindow.location.hash);t&&(this.callbackHandler(t),this.destroy())},n.prototype.callbackHandler=function(t){var e=null;t.error&&(e=t,t=null),this.callback(e,t)},n.prototype.timeoutHandler=function(){this.timeoutCallback&&this.timeoutCallback(),this.destroy()},n.prototype.destroy=function(){var t=this;this.timeoutHandle&&clearTimeout(this.timeoutHandle),this._destroyTimeout=setTimeout(function(){t.usePostMessage?window.removeEventListener("message",t.transientMessageEventListener,!1):t.iframe.removeEventListener("load",t.transientEventListener,!1),document.body.removeChild(t.iframe)},0)},t.exports=n},function(t,e,n){"use strict";function o(t,e){var n;if("string"==typeof e)try{n=r(e)}catch(t){n={message:e}}else n=e||{description:"server error"};n.code||(n.code=n.error),"unauthorized"===n.code&&(t=401);var o=n.description||n.message||n.error;"PasswordStrengthError"===n.name&&(o="Password is not strong enough.");var i=Error.call(this,o);return i.status=t,i.name=n.code,i.code=n.code,i.details=n,0===t&&(i.code&&"offline"===i.code||(i.code="Unknown",i.message="Unknown error.")),i}var r=n(92);t.exports=o,Object&&Object.create&&(o.prototype=Object.create(Error.prototype,{constructor:{value:o}}))},function(t,e,n){"use strict";var o=n(147),r=function(t,e,n){this.auth0=t,this.authenticationUrl=e,this.timeout=n||6e4,this.handler=null};r.prototype.timeoutCallback=function(){console.error("Timeout during silent authentication.")},r.prototype.login=function(t,e){this.handler=new o({auth0:this.auth0,url:this.authenticationUrl,callback:t,timeout:this.timeout,timeoutCallback:this.timeoutCallback,usePostMessage:e||!1}),this.handler.init()},t.exports=r},function(t,e){"use strict";function n(t,e){if(!t[e])throw new Error(e+" is required.")}t.exports=n},function(t,e,n){"use strict";function o(t){return i.btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function r(t){return t+=Array(5-t.length%4).join("="),t=t.replace(/\-/g,"+").replace(/\_/g,"/"),i.atob(t)}var i=n(157);t.exports={encode:o,decode:r}},function(t,e){"use strict";function n(t,e,n){return t.indexOf(e,n)}function o(t,e,n){var o;if(null==t)throw new TypeError('"array" is null or not defined');var r=Object(t),i=r.length>>>0;if(0===i)return-1;var a=+n||0;if(Math.abs(a)===1/0&&(a=0),a>=i)return-1;for(o=Math.max(a>=0?a:i-Math.abs(a),0);o<i;){if(o in r&&r[o]===e)return o;o++}return-1}t.exports=Array.prototype.indexOf?n:o},function(t,e){"use strict";function n(t){return"[object Array]"===o.call(t)}var o=Object.prototype.toString;t.exports=null!=Array.isArray?Array.isArray:n},function(t,e){"use strict";function n(t){var e=new Uint8Array(t),n=window.crypto||window.msCrypto;if(!n)return null;var o=n.getRandomValues(e),r=[],i="0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz-._~";return o.forEach(function(t){r.push(i[t%i.length])}),r.join("")}t.exports={randomString:n}},function(t,e){"use strict";function n(t,e,n){var o=window.location.protocol,r=window.location.hostname,i=window.location.port;return n=n||"",o===t&&r===e&&i===n}t.exports=n},function(t,e){"use strict";function n(){var t=window.XMLHttpRequest?new XMLHttpRequest:null;return!(t&&"withCredentials"in t)}t.exports=n},function(t,e,n){"use strict";!function(){var t=e,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o=function(){try{document.createElement("$")}catch(t){return t}}();t.btoa||(t.btoa=function(t){for(var e,r,i=0,a=n,u="";t.charAt(0|i)||(a="=",i%1);u+=a.charAt(63&e>>8-i%1*8)){if(r=t.charCodeAt(i+=.75),r>255)throw o;e=e<<8|r}return u}),t.atob||(t.atob=function(t){if(t=t.replace(/=+$/,""),t.length%4==1)throw o;for(var e,r,i=0,a=0,u="";r=t.charAt(a++);~r&&(e=i%4?64*e+r:r,i++%4)?u+=String.fromCharCode(255&e>>(-2*i&6)):0)r=n.indexOf(r);return u})}()},function(module,exports){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},JSON={};!function(){function f(t){return t<10?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var n,o,r,i,a,u=gap,s=e[t];switch(s&&"object"===("undefined"==typeof s?"undefined":_typeof(s))&&"function"==typeof s.toJSON&&(s=s.toJSON(t)),"function"==typeof rep&&(s=rep.call(e,t,s)),"undefined"==typeof s?"undefined":_typeof(s)){case"string":return quote(s);case"number":return isFinite(s)?String(s):"null";case"boolean":case"null":return String(s);case"object":if(!s)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(s)){for(i=s.length,n=0;n<i;n+=1)a[n]=str(n,s)||"null";return r=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+u+"]":"["+a.join(",")+"]",gap=u,r}if(rep&&"object"===("undefined"==typeof rep?"undefined":_typeof(rep)))for(i=rep.length,n=0;n<i;n+=1)"string"==typeof rep[n]&&(o=rep[n],r=str(o,s),r&&a.push(quote(o)+(gap?": ":":")+r));else for(o in s)Object.prototype.hasOwnProperty.call(s,o)&&(r=str(o,s),r&&a.push(quote(o)+(gap?": ":":")+r));return r=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+u+"}":"{"+a.join(",")+"}",gap=u,r}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(t){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(t){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,n){var o;if(gap="",indent="","number"==typeof n)for(o=0;o<n;o+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!==("undefined"==typeof e?"undefined":_typeof(e))||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var n,o,r=t[e];if(r&&"object"===("undefined"==typeof r?"undefined":_typeof(r)))for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o=walk(r,n),void 0!==o?r[n]=o:delete r[n]);return reviver.call(t,e,r)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),module.exports=JSON},function(t,e,n){"use strict";function o(){}function r(t,e,n){function r(){u.parentNode.removeChild(u),window[f]=o}"function"==typeof e&&(n=e,e={}),e||(e={});var u,s,c=e.prefix||"__jp",l=e.param||"callback",p=null!=e.timeout?e.timeout:6e4,d=encodeURIComponent,M=document.getElementsByTagName("script")[0]||document.head,f=c+a++;p&&(s=setTimeout(function(){r(),n&&n(new Error("Timeout"))},p)),window[f]=function(t){i("jsonp got",t),s&&clearTimeout(s),r(),n&&n(null,t)},t+=(~t.indexOf("?")?"&":"?")+l+"="+d(f),t=t.replace("?&","?"),i('jsonp req "%s"',t),u=document.createElement("script"),u.src=t,M.parentNode.insertBefore(u,M)}var i=n(161)("jsonp");t.exports=r;var a=0},function(t,e){"use strict";function n(t){if(t=String(t),!(t.length>1e4)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),o=(e[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return n*p;case"days":case"day":case"d":return n*l;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function o(t){return t>=l?Math.round(t/l)+"d":t>=c?Math.round(t/c)+"h":t>=s?Math.round(t/s)+"m":t>=u?Math.round(t/u)+"s":t+"ms"}function r(t){return i(t,l,"day")||i(t,c,"hour")||i(t,s,"minute")||i(t,u,"second")||t+" ms"}function i(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=1e3,s=60*u,c=60*s,l=24*c,p=365.25*l;t.exports=function(t,e){e=e||{};var i="undefined"==typeof t?"undefined":a(t);if("string"===i&&t.length>0)return n(t);if("number"===i&&isNaN(t)===!1)return e.long?r(t):o(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},[329,162],[330,160],function(t,e,n){"use strict";var o=n(165),r=n(164),i=n(93);t.exports={formats:i,parse:r,stringify:o}},function(t,e,n){"use strict";var o=n(94),r=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:o.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e){for(var n={},o=t.split(e.delimiter,e.parameterLimit===1/0?void 0:e.parameterLimit),i=0;i<o.length;++i){var a,u,s=o[i],c=s.indexOf("]=")===-1?s.indexOf("="):s.indexOf("]=")+1;c===-1?(a=e.decoder(s),u=e.strictNullHandling?null:""):(a=e.decoder(s.slice(0,c)),u=e.decoder(s.slice(c+1))),r.call(n,a)?n[a]=[].concat(n[a]).concat(u):n[a]=u}return n},u=function t(e,n,o){if(!e.length)return n;var r,i=e.shift();if("[]"===i)r=[],r=r.concat(t(e,n,o));else{r=o.plainObjects?Object.create(null):{};var a="["===i[0]&&"]"===i[i.length-1]?i.slice(1,i.length-1):i,u=parseInt(a,10);!isNaN(u)&&i!==a&&String(u)===a&&u>=0&&o.parseArrays&&u<=o.arrayLimit?(r=[],r[u]=t(e,n,o)):r[a]=t(e,n,o)}return r},s=function(t,e,n){if(t){var o=n.allowDots?t.replace(/\.([^\.\[]+)/g,"[$1]"):t,i=/^([^\[\]]*)/,a=/(\[[^\[\]]*\])/g,s=i.exec(o),c=[];if(s[1]){if(!n.plainObjects&&r.call(Object.prototype,s[1])&&!n.allowPrototypes)return;c.push(s[1])}for(var l=0;null!==(s=a.exec(o))&&l<n.depth;)l+=1,(n.plainObjects||!r.call(Object.prototype,s[1].replace(/\[|\]/g,""))||n.allowPrototypes)&&c.push(s[1]);return s&&c.push("["+o.slice(s.index)+"]"),u(c,e,n)}};t.exports=function(t,e){var n=e||{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.delimiter="string"==typeof n.delimiter||o.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth="number"==typeof n.depth?n.depth:i.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=n.parseArrays!==!1,n.decoder="function"==typeof n.decoder?n.decoder:i.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,""===t||null===t||"undefined"==typeof t)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof t?a(t,n):t,u=n.plainObjects?Object.create(null):{},c=Object.keys(r),l=0;l<c.length;++l){var p=c[l],d=s(p,r[p],n);u=o.merge(u,d,n)}return o.compact(u)}},function(t,e,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=n(94),i=n(93),a={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:r.encode,serializeDate:function(t){return u.call(t)},skipNulls:!1,strictNullHandling:!1},c=function t(e,n,o,i,a,u,s,c,l,p,d){var M=e;if("function"==typeof s)M=s(n,M);else if(M instanceof Date)M=p(M);else if(null===M){if(i)return u?u(n):n;M=""}if("string"==typeof M||"number"==typeof M||"boolean"==typeof M||r.isBuffer(M))return u?[d(u(n))+"="+d(u(M))]:[d(n)+"="+d(String(M))];var f=[];if("undefined"==typeof M)return f;var g;if(Array.isArray(s))g=s;else{var y=Object.keys(M);g=c?y.sort(c):y}for(var h=0;h<g.length;++h){var N=g[h];a&&null===M[N]||(f=Array.isArray(M)?f.concat(t(M[N],o(n,N),o,i,a,u,s,c,l,p,d)):f.concat(t(M[N],n+(l?"."+N:"["+N+"]"),o,i,a,u,s,c,l,p,d)))}return f};t.exports=function(t,e){var n=t,r=e||{},u="undefined"==typeof r.delimiter?s.delimiter:r.delimiter,l="boolean"==typeof r.strictNullHandling?r.strictNullHandling:s.strictNullHandling,p="boolean"==typeof r.skipNulls?r.skipNulls:s.skipNulls,d="boolean"==typeof r.encode?r.encode:s.encode,M=d?"function"==typeof r.encoder?r.encoder:s.encoder:null,f="function"==typeof r.sort?r.sort:null,g="undefined"!=typeof r.allowDots&&r.allowDots,y="function"==typeof r.serializeDate?r.serializeDate:s.serializeDate;if("undefined"==typeof r.format)r.format=i.default;else if(!Object.prototype.hasOwnProperty.call(i.formatters,r.format))throw new TypeError("Unknown format option provided.");var h,N,D=i.formatters[r.format];if(null!==r.encoder&&void 0!==r.encoder&&"function"!=typeof r.encoder)throw new TypeError("Encoder has to be a function.");"function"==typeof r.filter?(N=r.filter,n=N("",n)):Array.isArray(r.filter)&&(N=r.filter,h=N);var I=[];if("object"!==("undefined"==typeof n?"undefined":o(n))||null===n)return"";var j;j=r.arrayFormat in a?r.arrayFormat:"indices"in r?r.indices?"indices":"repeat":"indices";var m=a[j];h||(h=Object.keys(n)),f&&h.sort(f);for(var L=0;L<h.length;++L){var w=h[L];p&&null===n[w]||(I=I.concat(c(n[w],w,m,l,p,M,N,f,g,y,D)))}return I.join(u)}},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__,_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e,n){"undefined"!=typeof module&&module.exports?module.exports=n():(__WEBPACK_AMD_DEFINE_FACTORY__=n,__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}("reqwest",void 0,function(){function succeed(t){var e=protocolRe.exec(t.url);return e=e&&e[1]||context.location.protocol,httpsRe.test(e)?twoHundo.test(t.request.status):!!t.request.response}function handleReadyState(t,e,n){return function(){return t._aborted?n(t.request):t._timedOut?n(t.request,"Request is aborted: timeout"):void(t.request&&4==t.request[readyState]&&(t.request.onreadystatechange=noop,succeed(t)?e(t.request):n(t.request)))}}function setHeaders(t,e){var n,o=e.headers||{};o.Accept=o.Accept||defaultHeaders.accept[e.type]||defaultHeaders.accept["*"];var r="undefined"!=typeof FormData&&e.data instanceof FormData;e.crossOrigin||o[requestedWith]||(o[requestedWith]=defaultHeaders.requestedWith),o[contentType]||r||(o[contentType]=e.contentType||defaultHeaders.contentType);for(n in o)o.hasOwnProperty(n)&&"setRequestHeader"in t&&t.setRequestHeader(n,o[n])}function setCredentials(t,e){"undefined"!=typeof e.withCredentials&&"undefined"!=typeof t.withCredentials&&(t.withCredentials=!!e.withCredentials)}function generalCallback(t){lastValue=t}function urlappend(t,e){return t+(/\?/.test(t)?"&":"?")+e}function handleJsonp(t,e,n,o){var r=uniqid++,i=t.jsonpCallback||"callback",a=t.jsonpCallbackName||reqwest.getcallbackPrefix(r),u=new RegExp("((^|\\?|&)"+i+")=([^&]+)"),s=o.match(u),c=doc.createElement("script"),l=0,p=navigator.userAgent.indexOf("MSIE 10.0")!==-1;return s?"?"===s[3]?o=o.replace(u,"$1="+a):a=s[3]:o=urlappend(o,i+"="+a),context[a]=generalCallback,c.type="text/javascript",c.src=o,c.async=!0,"undefined"==typeof c.onreadystatechange||p||(c.htmlFor=c.id="_reqwest_"+r),c.onload=c.onreadystatechange=function(){return!(c[readyState]&&"complete"!==c[readyState]&&"loaded"!==c[readyState]||l)&&(c.onload=c.onreadystatechange=null,c.onclick&&c.onclick(),e(lastValue),lastValue=void 0,head.removeChild(c),void(l=1))},head.appendChild(c),{abort:function(){c.onload=c.onreadystatechange=null,n({},"Request is aborted: timeout",{}),lastValue=void 0,head.removeChild(c),l=1}}}function getRequest(t,e){var n,o=this.o,r=(o.method||"GET").toUpperCase(),i="string"==typeof o?o:o.url,a=o.processData!==!1&&o.data&&"string"!=typeof o.data?reqwest.toQueryString(o.data):o.data||null,u=!1;return"jsonp"!=o.type&&"GET"!=r||!a||(i=urlappend(i,a),a=null),"jsonp"==o.type?handleJsonp(o,t,e,i):(n=o.xhr&&o.xhr(o)||xhr(o),n.open(r,i,o.async!==!1),setHeaders(n,o),setCredentials(n,o),context[xDomainRequest]&&n instanceof context[xDomainRequest]?(n.onload=t, +n.onerror=e,n.onprogress=function(){},u=!0):n.onreadystatechange=handleReadyState(this,t,e),o.before&&o.before(n),u?setTimeout(function(){n.send(a)},200):n.send(a),n)}function Reqwest(t,e){this.o=t,this.fn=e,init.apply(this,arguments)}function setType(t){if(null!==t)return t.match("json")?"json":t.match("javascript")?"js":t.match("text")?"html":t.match("xml")?"xml":void 0}function init(o,fn){function complete(t){for(o.timeout&&clearTimeout(self.timeout),self.timeout=null;self._completeHandlers.length>0;)self._completeHandlers.shift()(t)}function success(resp){var type=o.type||resp&&setType(resp.getResponseHeader("Content-Type"));resp="jsonp"!==type?self.request:resp;var filteredResponse=globalSetupOptions.dataFilter(resp.responseText,type),r=filteredResponse;try{resp.responseText=r}catch(t){}if(r)switch(type){case"json":try{resp=context.JSON?context.JSON.parse(r):eval("("+r+")")}catch(t){return error(resp,"Could not parse JSON in response",t)}break;case"js":resp=eval(r);break;case"html":resp=r;break;case"xml":resp=resp.responseXML&&resp.responseXML.parseError&&resp.responseXML.parseError.errorCode&&resp.responseXML.parseError.reason?null:resp.responseXML}for(self._responseArgs.resp=resp,self._fulfilled=!0,fn(resp),self._successHandler(resp);self._fulfillmentHandlers.length>0;)resp=self._fulfillmentHandlers.shift()(resp);complete(resp)}function timedOut(){self._timedOut=!0,self.request.abort()}function error(t,e,n){for(t=self.request,self._responseArgs.resp=t,self._responseArgs.msg=e,self._responseArgs.t=n,self._erred=!0;self._errorHandlers.length>0;)self._errorHandlers.shift()(t,e,n);complete(t)}this.url="string"==typeof o?o:o.url,this.timeout=null,this._fulfilled=!1,this._successHandler=function(){},this._fulfillmentHandlers=[],this._errorHandlers=[],this._completeHandlers=[],this._erred=!1,this._responseArgs={};var self=this;fn=fn||function(){},o.timeout&&(this.timeout=setTimeout(function(){timedOut()},o.timeout)),o.success&&(this._successHandler=function(){o.success.apply(o,arguments)}),o.error&&this._errorHandlers.push(function(){o.error.apply(o,arguments)}),o.complete&&this._completeHandlers.push(function(){o.complete.apply(o,arguments)}),this.request=getRequest.call(this,success,error)}function reqwest(t,e){return new Reqwest(t,e)}function normalize(t){return t?t.replace(/\r?\n/g,"\r\n"):""}function serial(t,e){var n,o,r,i,a=t.name,u=t.tagName.toLowerCase(),s=function(t){t&&!t.disabled&&e(a,normalize(t.attributes.value&&t.attributes.value.specified?t.value:t.text))};if(!t.disabled&&a)switch(u){case"input":/reset|button|image|file/i.test(t.type)||(n=/checkbox/i.test(t.type),o=/radio/i.test(t.type),r=t.value,(!(n||o)||t.checked)&&e(a,normalize(n&&""===r?"on":r)));break;case"textarea":e(a,normalize(t.value));break;case"select":if("select-one"===t.type.toLowerCase())s(t.selectedIndex>=0?t.options[t.selectedIndex]:null);else for(i=0;t.length&&i<t.length;i++)t.options[i].selected&&s(t.options[i])}}function eachFormElement(){var t,e,n=this,o=function(t,e){var o,r,i;for(o=0;o<e.length;o++)for(i=t[byTag](e[o]),r=0;r<i.length;r++)serial(i[r],n)};for(e=0;e<arguments.length;e++)t=arguments[e],/input|select|textarea/i.test(t.tagName)&&serial(t,n),o(t,["input","select","textarea"])}function serializeQueryString(){return reqwest.toQueryString(reqwest.serializeArray.apply(null,arguments))}function serializeHash(){var t={};return eachFormElement.apply(function(e,n){e in t?(t[e]&&!isArray(t[e])&&(t[e]=[t[e]]),t[e].push(n)):t[e]=n},arguments),t}function buildParams(t,e,n,o){var r,i,a,u=/\[\]$/;if(isArray(e))for(i=0;e&&i<e.length;i++)a=e[i],n||u.test(t)?o(t,a):buildParams(t+"["+("object"===("undefined"==typeof a?"undefined":_typeof(a))?i:"")+"]",a,n,o);else if(e&&"[object Object]"===e.toString())for(r in e)buildParams(t+"["+r+"]",e[r],n,o);else o(t,e)}var context=this;if("window"in context)var doc=document,byTag="getElementsByTagName",head=doc[byTag]("head")[0];else{var XHR2;try{XHR2=__webpack_require__(328)}catch(t){throw new Error("Peer dependency `xhr2` required! Please npm install xhr2")}}var httpsRe=/^http/,protocolRe=/(^\w+):\/\//,twoHundo=/^(20\d|1223)$/,readyState="readyState",contentType="Content-Type",requestedWith="X-Requested-With",uniqid=0,callbackPrefix="reqwest_"+ +new Date,lastValue,xmlHttpRequest="XMLHttpRequest",xDomainRequest="XDomainRequest",noop=function(){},isArray="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},defaultHeaders={contentType:"application/x-www-form-urlencoded",requestedWith:xmlHttpRequest,accept:{"*":"text/javascript, text/html, application/xml, text/xml, */*",xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript",js:"application/javascript, text/javascript"}},xhr=function t(e){if(e.crossOrigin===!0){var t=context[xmlHttpRequest]?new XMLHttpRequest:null;if(t&&"withCredentials"in t)return t;if(context[xDomainRequest])return new XDomainRequest;throw new Error("Browser does not support cross-origin requests")}return context[xmlHttpRequest]?new XMLHttpRequest:XHR2?new XHR2:new ActiveXObject("Microsoft.XMLHTTP")},globalSetupOptions={dataFilter:function(t){return t}};return Reqwest.prototype={abort:function(){this._aborted=!0,this.request.abort()},retry:function(){init.call(this,this.o,this.fn)},then:function(t,e){return t=t||function(){},e=e||function(){},this._fulfilled?this._responseArgs.resp=t(this._responseArgs.resp):this._erred?e(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):(this._fulfillmentHandlers.push(t),this._errorHandlers.push(e)),this},always:function(t){return this._fulfilled||this._erred?t(this._responseArgs.resp):this._completeHandlers.push(t),this},fail:function(t){return this._erred?t(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):this._errorHandlers.push(t),this},catch:function(t){return this.fail(t)}},reqwest.serializeArray=function(){var t=[];return eachFormElement.apply(function(e,n){t.push({name:e,value:n})},arguments),t},reqwest.serialize=function(){if(0===arguments.length)return"";var t,e,n=Array.prototype.slice.call(arguments,0);return t=n.pop(),t&&t.nodeType&&n.push(t)&&(t=null),t&&(t=t.type),e="map"==t?serializeHash:"array"==t?reqwest.serializeArray:serializeQueryString,e.apply(null,n)},reqwest.toQueryString=function(t,e){var n,o,r=e||!1,i=[],a=encodeURIComponent,u=function(t,e){e="function"==typeof e?e():null==e?"":e,i[i.length]=a(t)+"="+a(e)};if(isArray(t))for(o=0;t&&o<t.length;o++)u(t[o].name,t[o].value);else for(n in t)t.hasOwnProperty(n)&&buildParams(n,t[n],r,u);return i.join("&").replace(/%20/g,"+")},reqwest.getcallbackPrefix=function(){return callbackPrefix},reqwest.compat=function(t,e){return t&&(t.type&&(t.method=t.type)&&delete t.type,t.dataType&&(t.type=t.dataType),t.jsonpCallback&&(t.jsonpCallbackName=t.jsonpCallback)&&delete t.jsonpCallback,t.jsonp&&(t.jsonpCallback=t.jsonp)),new Reqwest(t,e)},reqwest.ajaxSetup=function(t){t=t||{};for(var e in t)globalSetupOptions[e]=t[e]},reqwest})},function(t,e){"use strict";var n=function(){function t(t,e,n){t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener&&t.addEventListener(e,n,!1)}function e(t,e,n){t.detachEvent?t.detachEvent("on"+e,n):t.removeEventListener&&t.removeEventListener(e,n,!1)}function n(){if("undefined"==typeof navigator)return!1;var t=-1,e=navigator.userAgent;if("Microsoft Internet Explorer"===navigator.appName){var n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(e)&&(t=parseFloat(RegExp.$1))}else if(e.indexOf("Trident")>-1){var n=new RegExp("rv:([0-9]{2,2}[.0-9]{0,})");null!==n.exec(e)&&(t=parseFloat(RegExp.$1))}return t>=8}function o(){try{var t=navigator.userAgent;return t.indexOf("Fennec/")!=-1||t.indexOf("Firefox/")!=-1&&t.indexOf("Android")!=-1}catch(t){}return!1}function r(){return"undefined"!=typeof window&&window.JSON&&window.JSON.stringify&&window.JSON.parse&&window.postMessage}function i(t){/^https?:\/\//.test(t)||(t=window.location.href);var e=/^(https?:\/\/[\-_a-zA-Z\.0-9:]+)/.exec(t);return e?e[1]:t}function a(){for(var t=(window.location,window.opener.frames),e=t.length-1;e>=0;e--)try{if(t[e].location.protocol===window.location.protocol&&t[e].location.host===window.location.host&&t[e].name===u)return t[e]}catch(t){}}var u="__winchan_relay_frame",s="die",c=n();return r()?{open:function(n,r){function a(){if(d&&document.body.removeChild(d),d=void 0,y&&(y=clearInterval(y)),e(window,"message",l),e(window,"unload",a),g)try{g.close()}catch(t){f.postMessage(s,M)}g=f=void 0}function l(t){if(t.origin===M)try{var e=JSON.parse(t.data);"ready"===e.a?f.postMessage(h,M):"error"===e.a?(a(),r&&(r(e.d),r=null)):"response"===e.a&&(a(),r&&(r(null,e.d),r=null))}catch(t){}}if(!r)throw"missing required callback argument";var p;n.url||(p="missing required 'url' parameter"),n.relay_url||(p="missing required 'relay_url' parameter"),p&&setTimeout(function(){r(p)},0),n.window_name||(n.window_name=null),n.window_features&&!o()||(n.window_features=void 0);var d,M=i(n.url);if(M!==i(n.relay_url))return setTimeout(function(){r("invalid arguments: origin of url and relay_url must match")},0);var f;c&&(d=document.createElement("iframe"),d.setAttribute("src",n.relay_url),d.style.display="none",d.setAttribute("name",u),document.body.appendChild(d),f=d.contentWindow);var g=n.popup||window.open(n.url,n.window_name,n.window_features);n.popup&&(g.location.href=n.url),f||(f=g);var y=setInterval(function(){g&&g.closed&&(a(),r&&(r("User closed the popup window"),r=null))},500),h=JSON.stringify({a:"request",d:n.params});return t(window,"unload",a),t(window,"message",l),{close:a,focus:function(){if(g)try{g.focus()}catch(t){}}}},onOpen:function(n){function o(t){t=JSON.stringify(t),c?l.doPost(t,u):l.postMessage(t,u)}function r(t){var i;try{i=JSON.parse(t.data)}catch(t){}i&&"request"===i.a&&(e(window,"message",r),u=t.origin,n&&setTimeout(function(){n(u,i.d,function(t){n=void 0,o({a:"response",d:t})})},0))}function i(t){if(t.data===s)try{window.close()}catch(t){}}var u="*",l=c?a():window.opener;if(!l)throw"can't find relay frame";t(c?l:window,"message",r),t(c?l:window,"message",i);try{o({a:"ready"})}catch(e){t(l,"load",function(t){o({a:"ready"})})}var p=function(){try{e(c?l:window,"message",i)}catch(t){}n&&o({a:"error",d:"client closed window"}),n=void 0;try{window.close()}catch(t){}};return t(window,"unload",p),{detach:function(){e(window,"unload",p)}}}}:{open:function(t,e,n,o){setTimeout(function(){o("unsupported browser")},0)},onOpen:function(t){setTimeout(function(){t("unsupported browser")},0)}}}();"undefined"!=typeof t&&t.exports&&(t.exports=n)},function(t,e){"use strict";function n(t){return null!==t&&("object"===("undefined"==typeof t?"undefined":o(t))||"function"==typeof t)}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=n},function(t,e,n){"use strict";function o(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];if(i(n))for(var o=r(n),a=0;a<o.length;a++){var u=o[a];t[u]=n[u]}}return t}var r=n(171),i=n(168);t.exports=o},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,r=function(t){var e="function"==typeof t&&!(t instanceof RegExp)||"[object Function]"===o.call(t);return e||"undefined"==typeof window||(e=t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt),e};t.exports=function(t,e){if(!r(e))throw new TypeError("iterator must be a function");var o,i,a="string"==typeof t,u=t.length,s=arguments.length>2?arguments[2]:null;if(u===+u)for(o=0;o<u;o++)null===s?e(a?t.charAt(o):t[o],o,t):e.call(s,a?t.charAt(o):t[o],o,t);else for(i in t)n.call(t,i)&&(null===s?e(t[i],i,t):e.call(s,t[i],i,t))}},function(t,e,n){"use strict";t.exports=Object.keys||n(173)},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=Object.prototype.toString;t.exports=function t(e){var r=o.call(e),t="[object Arguments]"===r;return t||(t="[object Array]"!==r&&null!==e&&"object"===("undefined"==typeof e?"undefined":n(e))&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===o.call(e.callee)),t}},function(t,e,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(){var e,r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(170),u=n(172),s=!{toString:null}.propertyIsEnumerable("toString"),c=function(){}.propertyIsEnumerable("prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];e=function(t){var e=null!==t&&"object"===("undefined"==typeof t?"undefined":o(t)),n="[object Function]"===i.call(t),p=u(t),d=[];if(!e&&!n&&!p)throw new TypeError("Object.keys called on a non-object");if(p)a(t,function(t){d.push(t)});else{var M,f=c&&n;for(M in t)f&&"prototype"===M||!r.call(t,M)||d.push(M)}if(s){var g=t.constructor,y=g&&g.prototype===t;a(l,function(e){y&&"constructor"===e||!r.call(t,e)||d.push(e)})}return d},t.exports=e}()},function(t,e){"use strict";t.exports={str:"7.6.1"}},function(t,e,n){var o;"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(r){"use strict";function i(t,e){var n=(65535&t)+(65535&e),o=(t>>16)+(e>>16)+(n>>16);return o<<16|65535&n}function a(t,e){return t<<e|t>>>32-e}function u(t,e,n,o,r,u){return i(a(i(i(e,t),i(o,u)),r),n)}function s(t,e,n,o,r,i,a){return u(e&n|~e&o,t,e,r,i,a)}function c(t,e,n,o,r,i,a){return u(e&o|n&~o,t,e,r,i,a)}function l(t,e,n,o,r,i,a){return u(e^n^o,t,e,r,i,a)}function p(t,e,n,o,r,i,a){return u(n^(e|~o),t,e,r,i,a)}function d(t,e){t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e;var n,o,r,a,u,d=1732584193,M=-271733879,f=-1732584194,g=271733878;for(n=0;n<t.length;n+=16)o=d,r=M,a=f,u=g,d=s(d,M,f,g,t[n],7,-680876936),g=s(g,d,M,f,t[n+1],12,-389564586),f=s(f,g,d,M,t[n+2],17,606105819),M=s(M,f,g,d,t[n+3],22,-1044525330),d=s(d,M,f,g,t[n+4],7,-176418897),g=s(g,d,M,f,t[n+5],12,1200080426),f=s(f,g,d,M,t[n+6],17,-1473231341),M=s(M,f,g,d,t[n+7],22,-45705983),d=s(d,M,f,g,t[n+8],7,1770035416),g=s(g,d,M,f,t[n+9],12,-1958414417),f=s(f,g,d,M,t[n+10],17,-42063),M=s(M,f,g,d,t[n+11],22,-1990404162),d=s(d,M,f,g,t[n+12],7,1804603682),g=s(g,d,M,f,t[n+13],12,-40341101),f=s(f,g,d,M,t[n+14],17,-1502002290),M=s(M,f,g,d,t[n+15],22,1236535329),d=c(d,M,f,g,t[n+1],5,-165796510),g=c(g,d,M,f,t[n+6],9,-1069501632),f=c(f,g,d,M,t[n+11],14,643717713),M=c(M,f,g,d,t[n],20,-373897302),d=c(d,M,f,g,t[n+5],5,-701558691),g=c(g,d,M,f,t[n+10],9,38016083),f=c(f,g,d,M,t[n+15],14,-660478335),M=c(M,f,g,d,t[n+4],20,-405537848),d=c(d,M,f,g,t[n+9],5,568446438),g=c(g,d,M,f,t[n+14],9,-1019803690),f=c(f,g,d,M,t[n+3],14,-187363961),M=c(M,f,g,d,t[n+8],20,1163531501),d=c(d,M,f,g,t[n+13],5,-1444681467),g=c(g,d,M,f,t[n+2],9,-51403784),f=c(f,g,d,M,t[n+7],14,1735328473),M=c(M,f,g,d,t[n+12],20,-1926607734),d=l(d,M,f,g,t[n+5],4,-378558),g=l(g,d,M,f,t[n+8],11,-2022574463),f=l(f,g,d,M,t[n+11],16,1839030562),M=l(M,f,g,d,t[n+14],23,-35309556),d=l(d,M,f,g,t[n+1],4,-1530992060),g=l(g,d,M,f,t[n+4],11,1272893353),f=l(f,g,d,M,t[n+7],16,-155497632),M=l(M,f,g,d,t[n+10],23,-1094730640),d=l(d,M,f,g,t[n+13],4,681279174),g=l(g,d,M,f,t[n],11,-358537222),f=l(f,g,d,M,t[n+3],16,-722521979),M=l(M,f,g,d,t[n+6],23,76029189),d=l(d,M,f,g,t[n+9],4,-640364487),g=l(g,d,M,f,t[n+12],11,-421815835),f=l(f,g,d,M,t[n+15],16,530742520),M=l(M,f,g,d,t[n+2],23,-995338651),d=p(d,M,f,g,t[n],6,-198630844),g=p(g,d,M,f,t[n+7],10,1126891415),f=p(f,g,d,M,t[n+14],15,-1416354905),M=p(M,f,g,d,t[n+5],21,-57434055),d=p(d,M,f,g,t[n+12],6,1700485571),g=p(g,d,M,f,t[n+3],10,-1894986606),f=p(f,g,d,M,t[n+10],15,-1051523),M=p(M,f,g,d,t[n+1],21,-2054922799),d=p(d,M,f,g,t[n+8],6,1873313359),g=p(g,d,M,f,t[n+15],10,-30611744),f=p(f,g,d,M,t[n+6],15,-1560198380),M=p(M,f,g,d,t[n+13],21,1309151649),d=p(d,M,f,g,t[n+4],6,-145523070),g=p(g,d,M,f,t[n+11],10,-1120210379),f=p(f,g,d,M,t[n+2],15,718787259),M=p(M,f,g,d,t[n+9],21,-343485551),d=i(d,o),M=i(M,r),f=i(f,a),g=i(g,u);return[d,M,f,g]}function M(t){var e,n="",o=32*t.length;for(e=0;e<o;e+=8)n+=String.fromCharCode(t[e>>5]>>>e%32&255);return n}function f(t){var e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e<n.length;e+=1)n[e]=0;var o=8*t.length;for(e=0;e<o;e+=8)n[e>>5]|=(255&t.charCodeAt(e/8))<<e%32;return n}function g(t){return M(d(f(t),8*t.length))}function y(t,e){var n,o,r=f(t),i=[],a=[];for(i[15]=a[15]=void 0,r.length>16&&(r=d(r,8*t.length)),n=0;n<16;n+=1)i[n]=909522486^r[n],a[n]=1549556828^r[n];return o=d(i.concat(f(e)),512+8*e.length),M(d(a.concat(o),640))}function h(t){var e,n,o="0123456789abcdef",r="";for(n=0;n<t.length;n+=1)e=t.charCodeAt(n),r+=o.charAt(e>>>4&15)+o.charAt(15&e);return r}function N(t){return unescape(encodeURIComponent(t))}function D(t){return g(N(t))}function I(t){return h(D(t))}function j(t,e){return y(N(t),N(e))}function m(t,e){return h(j(t,e))}function L(t,e,n){return e?n?j(e,t):m(e,t):n?D(t):I(t)}o=function(){return L}.call(e,n,e,t),!(void 0!==o&&(t.exports=o))}(void 0)},function(t,e,n){"use strict";var o=function(t,e,n,o,r,i,a,u){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,r,i,a,u],l=0;s=new Error("Invariant Violation: "+e.replace(/%s/g,function(){return c[l++]}))}throw s.framesToPop=1,s}};t.exports=o},function(t,e,n){"use strict";function o(){}function r(t,e,n){function r(){s.parentNode&&s.parentNode.removeChild(s),window[p]=o,c&&clearTimeout(c)}function u(){window[p]&&r()}"function"==typeof e&&(n=e,e={}),e||(e={});var s,c,l=e.prefix||"__jp",p=e.name||l+a++,d=e.param||"callback",M=null!=e.timeout?e.timeout:6e4,f=encodeURIComponent,g=document.getElementsByTagName("script")[0]||document.head;return M&&(c=setTimeout(function(){r(),n&&n(new Error("Timeout"))},M)),window[p]=function(t){i("jsonp got",t),r(),n&&n(null,t)},t+=(~t.indexOf("?")?"&":"?")+d+"="+f(p),t=t.replace("?&","?"),i('jsonp req "%s"',t),s=document.createElement("script"),s.src=t,g.parentNode.insertBefore(s,g),u}var i=n(179)("jsonp");t.exports=r;var a=0},160,[329,180],[330,178],function(t,e,n){"use strict";function o(t){return"string"==typeof t||t instanceof String}function r(t,e){function n(t,e){var n=new Array(e+1).join(" "),o=n+"* ";return o+=t.format?a.apply(null,[t.message].concat(t.format)):t.message,t.items&&(o+="\n"+n+r(t.items,e+1)),o}if(!t.length)return"";var o=n(t[0],e);return t=t.slice(1).reduce(function(t,o){return t+="\n"+n(o,e)},o)}function i(t,e){this.rules=t,this.ruleset=e||s,this._reduce(function(t,e,n){n.validate(e)})}var a=n(79).format,u=n(182),s={length:n(185),contains:n(57),containsAtLeast:n(183),identicalChars:n(184)};i.prototype={},i.prototype._reduce=function(t,e){var n=this;return Object.keys(this.rules).reduce(function(e,o){var r=n.rules[o],i=n.ruleset[o];return t(e,r,i)},e)},i.prototype._applyRules=function(t){return this._reduce(function(e,n,o){return!!e&&(!!o&&o.assert(n,t))},!0)},i.prototype.missing=function(t){return this._reduce(function(e,n,o){var r=o.missing(n,t);return e.rules.push(r),e.verified=e.verified&&!!r.verified,e},{rules:[],verified:!0})},i.prototype.explain=function(){return this._reduce(function(t,e,n){return t.push(n.explain(e)),t},[])},i.prototype.missingAsMarkdown=function(t){return r(this.missing(t),1)},i.prototype.toString=function(){var t=this.explain();return r(t,0)},i.prototype.check=function(t){return!!o(t)&&this._applyRules(t)},i.prototype.assert=function(t){if(!this.check(t))throw new u("Password does not meet password policy")},t.exports=i},function(t,e){"use strict";function n(t){var e=Error.call(this,t);return e.name="PasswordPolicyError",e}t.exports=n},function(t,e,n){"use strict";function o(){return"Contain at least %d of the following %d types of characters:"}var r=n(46),i=n(57);t.exports={validate:function(t){if(!r.isObject(t))throw new Error("options should be an object");if(!r.isNumber(t.atLeast)||r.isNaN(t.atLeast)||t.atLeast<1)throw new Error("atLeast should be a valid, non-NaN number, greater than 0");if(!r.isArray(t.expressions)||r.isEmpty(t.expressions))throw new Error("expressions should be an non-empty array");if(t.expressions.length<t.atLeast)throw new Error("expressions length should be greater than atLeast");var e=t.expressions.every(function(t){return r.isFunction(t.explain)&&r.isFunction(t.test)});if(!e)throw new Error("containsAtLeast expressions are invalid: An explain and a test function should be provided");return!0},explain:function(t){return{message:o(),code:"containsAtLeast",format:[t.atLeast,t.expressions.length],items:t.expressions.map(function(t){return t.explain()})}},missing:function(t,e){var n=t.expressions&&t.expressions.map(function(t){var n=t.explain();return n.verified=t.test(e),n}),r=n.reduce(function(t,e){return t+!!e.verified},0),i=r>=t.atLeast;return{message:o(),code:"containsAtLeast",format:[t.atLeast,t.expressions.length],items:n,verified:i}},assert:function(t,e){if(!e)return!1;var n=t.expressions.filter(function(t){return t.test(e)});return n.length>=t.atLeast},charsets:i.charsets}},function(t,e,n){"use strict";function o(t,e){if(!e)return!1;var n,o={c:null,count:0};for(n=0;n<e.length;n++)if(o.c!==e[n]?(o.c=e[n],o.count=1):o.count++,o.count>t.max)return!1;return!0}function r(t,e){var n=new Array(t.max+2).join("a"),o={message:'No more than %d identical characters in a row (e.g., "%s" not allowed)',code:"identicalChars",format:[t.max,n]};return void 0!==e&&(o.verified=e),o}var i=n(46);t.exports={validate:function(t){if(!i.isObject(t))throw new Error("options should be an object");if(!i.isNumber(t.max)||i.isNaN(t.max)||t.max<1)throw new Error("max should be a number greater than 1");return!0},explain:r,missing:function(t,e){return r(t,o(t,e))},assert:o}},function(t,e,n){"use strict";function o(t,e){return!!e&&t.minLength<=e.length}function r(t){return 1===t.minLength?{message:"Non-empty password required",code:"nonEmpty"}:{message:"At least %d characters in length",format:[t.minLength],code:"lengthAtLeast"}}var i=n(46);t.exports={validate:function(t){if(!i.isObject(t))throw new Error("options should be an object");if(!i.isNumber(t.minLength)||i.isNaN(t.minLength))throw new Error("length expects minLength to be a non-zero number");return!0},explain:r,missing:function(t,e){var n=r(t);return n.verified=!!o(t,e),n},assert:o}},function(t,e,n){"use strict";t.exports=n(262)},function(t,e){"use strict";var n={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};t.exports=n},function(t,e,n){"use strict";var o=n(6),r=n(121),i={focusDOMComponent:function(){r(o.getNodeFromInstance(this))}};t.exports=i},function(t,e,n){"use strict";function o(){var t=window.opera;return"object"===("undefined"==typeof t?"undefined":M(t))&&"function"==typeof t.version&&parseInt(t.version(),10)<=12}function r(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function i(t){switch(t){case"topCompositionStart":return b.compositionStart;case"topCompositionEnd":return b.compositionEnd;case"topCompositionUpdate":return b.compositionUpdate}}function a(t,e){return"topKeyDown"===t&&e.keyCode===I}function u(t,e){switch(t){case"topKeyUp":return D.indexOf(e.keyCode)!==-1;case"topKeyDown":return e.keyCode!==I;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function s(t){var e=t.detail;return"object"===("undefined"==typeof e?"undefined":M(e))&&"data"in e?e.data:null}function c(t,e,n,o){var r,c;if(j?r=i(t):T?u(t,n)&&(r=b.compositionEnd):a(t,n)&&(r=b.compositionStart),!r)return null;w&&(T||r!==b.compositionStart?r===b.compositionEnd&&T&&(c=T.getData()):T=y.getPooled(o));var l=h.getPooled(r,e,n,o);if(c)l.data=c;else{var p=s(n);null!==p&&(l.data=p)}return f.accumulateTwoPhaseDispatches(l),l}function l(t,e){switch(t){case"topCompositionEnd":return s(e);case"topKeyPress":var n=e.which;return n!==v?null:(C=!0,z);case"topTextInput":var o=e.data;return o===z&&C?null:o;default:return null}}function p(t,e){if(T){if("topCompositionEnd"===t||!j&&u(t,e)){var n=T.getData();return y.release(T),T=null,n}return null}switch(t){case"topPaste":return null;case"topKeyPress":return e.which&&!r(e)?String.fromCharCode(e.which):null;case"topCompositionEnd":return w?null:e.data;default:return null}}function d(t,e,n,o){var r;if(r=L?l(t,n):p(t,n),!r)return null;var i=N.getPooled(b.beforeInput,e,n,o);return i.data=r,f.accumulateTwoPhaseDispatches(i),i}var M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=n(43),g=n(10),y=n(195),h=n(231),N=n(234),D=[9,13,27,32],I=229,j=g.canUseDOM&&"CompositionEvent"in window,m=null;g.canUseDOM&&"documentMode"in document&&(m=document.documentMode);var L=g.canUseDOM&&"TextEvent"in window&&!m&&!o(),w=g.canUseDOM&&(!j||m&&m>8&&m<=11),v=32,z=String.fromCharCode(v),b={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},C=!1,T=null,E={eventTypes:b,extractEvents:function(t,e,n,o){return[c(t,e,n,o),d(t,e,n,o)]}};t.exports=E},function(t,e,n){"use strict";var o=n(97),r=n(10),i=(n(14),n(250),n(240)),a=n(257),u=n(260),s=(n(5),u(function(t){return a(t)})),c=!1,l="cssFloat";if(r.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(t){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var d={createMarkupForStyles:function(t,e){var n="";for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];null!=r&&(n+=s(o)+":",n+=i(o,r,e)+";")}return n||null},setValueForStyles:function(t,e,n){var r=t.style;for(var a in e)if(e.hasOwnProperty(a)){var u=i(a,e[a],n);if("float"!==a&&"cssFloat"!==a||(a=l),u)r[a]=u;else{var s=c&&o.shorthandPropertyExpansions[a];if(s)for(var p in s)r[p]="";else r[a]=""}}}};t.exports=d},function(t,e,n){"use strict";function o(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function r(t){var e=L.getPooled(b.change,T,t,w(t));D.accumulateTwoPhaseDispatches(e),m.batchedUpdates(i,e)}function i(t){N.enqueueEvents(t),N.processEventQueue(!1)}function a(t,e){C=t,T=e,C.attachEvent("onchange",r)}function u(){C&&(C.detachEvent("onchange",r),C=null,T=null)}function s(t,e){if("topChange"===t)return e}function c(t,e,n){"topFocus"===t?(u(),a(e,n)):"topBlur"===t&&u()}function l(t,e){C=t,T=e,E=t.value,k=Object.getOwnPropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(C,"value",O),C.attachEvent?C.attachEvent("onpropertychange",d):C.addEventListener("propertychange",d,!1)}function p(){C&&(delete C.value,C.detachEvent?C.detachEvent("onpropertychange",d):C.removeEventListener("propertychange",d,!1),C=null,T=null,E=null,k=null)}function d(t){if("value"===t.propertyName){var e=t.srcElement.value;e!==E&&(E=e,r(t))}}function M(t,e){if("topInput"===t)return e}function f(t,e,n){"topFocus"===t?(p(),l(e,n)):"topBlur"===t&&p()}function g(t,e){if(("topSelectionChange"===t||"topKeyUp"===t||"topKeyDown"===t)&&C&&C.value!==E)return E=C.value,T}function y(t){return t.nodeName&&"input"===t.nodeName.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function h(t,e){if("topClick"===t)return e}var N=n(42),D=n(43),I=n(10),j=n(6),m=n(15),L=n(18),w=n(70),v=n(71),z=n(116),b={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},C=null,T=null,E=null,k=null,S=!1;I.canUseDOM&&(S=v("change")&&(!document.documentMode||document.documentMode>8));var x=!1;I.canUseDOM&&(x=v("input")&&(!document.documentMode||document.documentMode>11));var O={get:function(){return k.get.call(this)},set:function(t){E=""+t,k.set.call(this,t)}},A={eventTypes:b,extractEvents:function(t,e,n,r){var i,a,u=e?j.getNodeFromInstance(e):window;if(o(u)?S?i=s:a=c:z(u)?x?i=M:(i=g,a=f):y(u)&&(i=h),i){var l=i(t,e);if(l){var p=L.getPooled(b.change,l,n,r);return p.type="change",D.accumulateTwoPhaseDispatches(p),p}}a&&a(t,u,e)}};t.exports=A},function(t,e,n){"use strict";var o=n(4),r=n(31),i=n(10),a=n(253),u=n(19),s=(n(3),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(i.canUseDOM?void 0:o("56"),e?void 0:o("57"),"HTML"===t.nodeName?o("58"):void 0,"string"==typeof e){var n=a(e,u)[0];t.parentNode.replaceChild(n,t)}else r.replaceChildWithTree(t,e)}});t.exports=s},function(t,e){"use strict";var n=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];t.exports=n},function(t,e,n){"use strict";var o=n(43),r=n(6),i=n(48),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(t,e,n,u){if("topMouseOver"===t&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==t&&"topMouseOver"!==t)return null;var s;if(u.window===u)s=u;else{var c=u.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var l,p;if("topMouseOut"===t){l=e;var d=n.relatedTarget||n.toElement;p=d?r.getClosestInstanceFromNode(d):null}else l=null,p=e;if(l===p)return null;var M=null==l?s:r.getNodeFromInstance(l),f=null==p?s:r.getNodeFromInstance(p),g=i.getPooled(a.mouseLeave,l,n,u);g.type="mouseleave",g.target=M,g.relatedTarget=f;var y=i.getPooled(a.mouseEnter,p,n,u);return y.type="mouseenter",y.target=f,y.relatedTarget=M,o.accumulateEnterLeaveDispatches(g,y,l,p),[g,y]}};t.exports=u},function(t,e,n){"use strict";function o(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var r=n(7),i=n(27),a=n(113);r(o.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,o=n.length,r=this.getText(),i=r.length;for(t=0;t<o&&n[t]===r[t];t++);var a=o-t; +for(e=1;e<=a&&n[o-e]===r[i-e];e++);var u=e>1?1-e:void 0;return this._fallbackText=r.slice(t,u),this._fallbackText}}),i.addPoolingTo(o),t.exports=o},function(t,e,n){"use strict";var o=n(32),r=o.injection.MUST_USE_PROPERTY,i=o.injection.HAS_BOOLEAN_VALUE,a=o.injection.HAS_NUMERIC_VALUE,u=o.injection.HAS_POSITIVE_NUMERIC_VALUE,s=o.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+o.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:r|i,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:r|i,muted:r|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:r|i,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};t.exports=c},function(t,e,n){(function(e){"use strict";function o(t,e,n,o){var r=void 0===t[n];null!=e&&r&&(t[n]=i(e,!0))}var r=n(34),i=n(115),a=(n(62),n(72)),u=n(118),s=(n(5),{instantiateChildren:function(t,e,n,r){if(null==t)return null;var i={};return u(t,o,i),i},updateChildren:function(t,e,n,o,u,s,c,l,p){if(e||t){var d,M;for(d in e)if(e.hasOwnProperty(d)){M=t&&t[d];var f=M&&M._currentElement,g=e[d];if(null!=M&&a(f,g))r.receiveComponent(M,g,u,l),e[d]=M;else{M&&(o[d]=r.getHostNode(M),r.unmountComponent(M,!1));var y=i(g,!0);e[d]=y;var h=r.mountComponent(y,u,s,c,l,p);n.push(h)}}for(d in t)!t.hasOwnProperty(d)||e&&e.hasOwnProperty(d)||(M=t[d],o[d]=r.getHostNode(M),r.unmountComponent(M,!1))}},unmountChildren:function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];r.unmountComponent(o,e)}}});t.exports=s}).call(e,n(29))},function(t,e,n){"use strict";var o=n(58),r=n(204),i={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup};t.exports=i},function(t,e,n){"use strict";function o(t){}function r(t,e){}function i(t){return!(!t.prototype||!t.prototype.isReactComponent)}function a(t){return!(!t.prototype||!t.prototype.isPureReactComponent)}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=n(4),c=n(7),l=n(20),p=n(64),d=n(21),M=n(65),f=n(33),g=(n(14),n(108)),y=n(34),h=n(120),N=(n(3),n(74)),D=n(72),I=(n(5),{ImpureClass:0,PureClass:1,StatelessFunctional:2});o.prototype.render=function(){var t=f.get(this)._currentElement.type,e=t(this.props,this.context,this.updater);return r(t,e),e};var j=1,m={construct:function(t){this._currentElement=t,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(t,e,n,c){this._context=c,this._mountOrder=j++,this._hostParent=e,this._hostContainerInfo=n;var p,d=this._currentElement.props,M=this._processContext(c),g=this._currentElement.type,y=t.getUpdateQueue(),N=i(g),D=this._constructComponent(N,d,M,y);N||null!=D&&null!=D.render?a(g)?this._compositeType=I.PureClass:this._compositeType=I.ImpureClass:(p=D,r(g,p),null===D||D===!1||l.isValidElement(D)?void 0:s("105",g.displayName||g.name||"Component"),D=new o(g),this._compositeType=I.StatelessFunctional);D.props=d,D.context=M,D.refs=h,D.updater=y,this._instance=D,f.set(D,this);var m=D.state;void 0===m&&(D.state=m=null),"object"!==("undefined"==typeof m?"undefined":u(m))||Array.isArray(m)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var L;return L=D.unstable_handleError?this.performInitialMountWithErrorHandling(p,e,n,t,c):this.performInitialMount(p,e,n,t,c),D.componentDidMount&&t.getReactMountReady().enqueue(D.componentDidMount,D),L},_constructComponent:function(t,e,n,o){return this._constructComponentWithoutOwner(t,e,n,o)},_constructComponentWithoutOwner:function(t,e,n,o){var r=this._currentElement.type;return t?new r(e,n,o):r(e,n,o)},performInitialMountWithErrorHandling:function(t,e,n,o,r){var i,a=o.checkpoint();try{i=this.performInitialMount(t,e,n,o,r)}catch(u){o.rollback(a),this._instance.unstable_handleError(u),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=o.checkpoint(),this._renderedComponent.unmountComponent(!0),o.rollback(a),i=this.performInitialMount(t,e,n,o,r)}return i},performInitialMount:function(t,e,n,o,r){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===t&&(t=this._renderValidatedComponent());var u=g.getType(t);this._renderedNodeType=u;var s=this._instantiateReactComponent(t,u!==g.EMPTY);this._renderedComponent=s;var c=y.mountComponent(s,o,e,n,this._processChildContext(r),a);return c},getHostNode:function(){return y.getHostNode(this._renderedComponent)},unmountComponent:function(t){if(this._renderedComponent){var e=this._instance;if(e.componentWillUnmount&&!e._calledComponentWillUnmount)if(e._calledComponentWillUnmount=!0,t){var n=this.getName()+".componentWillUnmount()";M.invokeGuardedCallback(n,e.componentWillUnmount.bind(e))}else e.componentWillUnmount();this._renderedComponent&&(y.unmountComponent(this._renderedComponent,t),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,f.remove(e)}},_maskContext:function(t){var e=this._currentElement.type,n=e.contextTypes;if(!n)return h;var o={};for(var r in n)o[r]=t[r];return o},_processContext:function(t){var e=this._maskContext(t);return e},_processChildContext:function(t){var e,n=this._currentElement.type,o=this._instance;if(o.getChildContext&&(e=o.getChildContext()),e){"object"!==u(n.childContextTypes)?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var r in e)r in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",r);return c({},t,e)}return t},_checkContextTypes:function(t,e,n){},receiveComponent:function(t,e,n){var o=this._currentElement,r=this._context;this._pendingElement=null,this.updateComponent(e,o,t,r,n)},performUpdateIfNecessary:function(t){null!=this._pendingElement?y.receiveComponent(this,this._pendingElement,t,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(t,e,n,o,r){var i=this._instance;null==i?s("136",this.getName()||"ReactCompositeComponent"):void 0;var a,u=!1;this._context===r?a=i.context:(a=this._processContext(r),u=!0);var c=e.props,l=n.props;e!==n&&(u=!0),u&&i.componentWillReceiveProps&&i.componentWillReceiveProps(l,a);var p=this._processPendingState(l,a),d=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?d=i.shouldComponentUpdate(l,p,a):this._compositeType===I.PureClass&&(d=!N(c,l)||!N(i.state,p))),this._updateBatchNumber=null,d?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,p,a,t,r)):(this._currentElement=n,this._context=r,i.props=l,i.state=p,i.context=a)},_processPendingState:function(t,e){var n=this._instance,o=this._pendingStateQueue,r=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!o)return n.state;if(r&&1===o.length)return o[0];for(var i=c({},r?o[0]:n.state),a=r?1:0;a<o.length;a++){var u=o[a];c(i,"function"==typeof u?u.call(n,i,t,e):u)}return i},_performComponentUpdate:function(t,e,n,o,r,i){var a,u,s,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(a=c.props,u=c.state,s=c.context),c.componentWillUpdate&&c.componentWillUpdate(e,n,o),this._currentElement=t,this._context=i,c.props=e,c.state=n,c.context=o,this._updateRenderedComponent(r,i),l&&r.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,a,u,s),c)},_updateRenderedComponent:function(t,e){var n=this._renderedComponent,o=n._currentElement,r=this._renderValidatedComponent(),i=0;if(D(o,r))y.receiveComponent(n,r,t,this._processChildContext(e));else{var a=y.getHostNode(n);y.unmountComponent(n,!1);var u=g.getType(r);this._renderedNodeType=u;var s=this._instantiateReactComponent(r,u!==g.EMPTY);this._renderedComponent=s;var c=y.mountComponent(s,t,this._hostParent,this._hostContainerInfo,this._processChildContext(e),i);this._replaceNodeWithMarkup(a,c,n)}},_replaceNodeWithMarkup:function(t,e,n){p.replaceNodeWithMarkup(t,e,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var t,e=this._instance;return t=e.render()},_renderValidatedComponent:function(){var t;if(this._compositeType!==I.StatelessFunctional){d.current=this;try{t=this._renderValidatedComponentWithoutOwnerOrContext()}finally{d.current=null}}else t=this._renderValidatedComponentWithoutOwnerOrContext();return null===t||t===!1||l.isValidElement(t)?void 0:s("109",this.getName()||"ReactCompositeComponent"),t},attachRef:function(t,e){var n=this.getPublicInstance();null==n?s("110"):void 0;var o=e.getPublicInstance(),r=n.refs===h?n.refs={}:n.refs;r[t]=o},detachRef:function(t){var e=this.getPublicInstance().refs;delete e[t]},getName:function(){var t=this._currentElement.type,e=this._instance&&this._instance.constructor;return t.displayName||e&&e.displayName||t.name||e&&e.name||null},getPublicInstance:function(){var t=this._instance;return this._compositeType===I.StatelessFunctional?null:t},_instantiateReactComponent:null};t.exports=m},function(t,e,n){"use strict";function o(t){if(t){var e=t._currentElement._owner||null;if(e){var n=e.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function r(t,e){e&&(J[t._tag]&&(null!=e.children||null!=e.dangerouslySetInnerHTML?y("137",t._tag,t._currentElement._owner?" Check the render method of "+t._currentElement._owner.getName()+".":""):void 0),null!=e.dangerouslySetInnerHTML&&(null!=e.children?y("60"):void 0,"object"===g(e.dangerouslySetInnerHTML)&&G in e.dangerouslySetInnerHTML?void 0:y("61")),null!=e.style&&"object"!==g(e.style)?y("62",o(t)):void 0)}function i(t,e,n,o){if(!(o instanceof O)){var r=t._hostContainerInfo,i=r._node&&r._node.nodeType===H,u=i?r._node:r._ownerDocument;Q(e,u),o.getReactMountReady().enqueue(a,{inst:t,registrationName:e,listener:n})}}function a(){var t=this;w.putListener(t.inst,t.registrationName,t.listener)}function u(){var t=this;T.postMountWrapper(t)}function s(){var t=this;S.postMountWrapper(t)}function c(){var t=this;E.postMountWrapper(t)}function l(){var t=this;t._rootNodeID?void 0:y("63");var e=Y(t);switch(e?void 0:y("64"),t._tag){case"iframe":case"object":t._wrapperState.listeners=[z.trapBubbledEvent("topLoad","load",e)];break;case"video":case"audio":t._wrapperState.listeners=[];for(var n in W)W.hasOwnProperty(n)&&t._wrapperState.listeners.push(z.trapBubbledEvent(n,W[n],e));break;case"source":t._wrapperState.listeners=[z.trapBubbledEvent("topError","error",e)];break;case"img":t._wrapperState.listeners=[z.trapBubbledEvent("topError","error",e),z.trapBubbledEvent("topLoad","load",e)];break;case"form":t._wrapperState.listeners=[z.trapBubbledEvent("topReset","reset",e),z.trapBubbledEvent("topSubmit","submit",e)];break;case"input":case"select":case"textarea":t._wrapperState.listeners=[z.trapBubbledEvent("topInvalid","invalid",e)]}}function p(){k.postUpdateWrapper(this)}function d(t){K.call(q,t)||(X.test(t)?void 0:y("65",t),q[t]=!0)}function M(t,e){return t.indexOf("-")>=0||null!=e.is}function f(t){var e=t.type;d(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y=n(4),h=n(7),N=n(188),D=n(190),I=n(31),j=n(59),m=n(32),L=n(99),w=n(42),v=n(60),z=n(47),b=n(101),C=n(6),T=n(205),E=n(206),k=n(102),S=n(209),x=(n(14),n(218)),O=n(223),A=(n(19),n(50)),_=(n(3),n(71),n(74),n(73),n(5),b),U=w.deleteListener,Y=C.getNodeFromInstance,Q=z.listenTo,P=v.registrationNameModules,B={string:!0,number:!0},R="style",G="__html",Z={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},H=11,W={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},F={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},V={listing:!0,pre:!0,textarea:!0},J=h({menuitem:!0},F),X=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,q={},K={}.hasOwnProperty,$=1;f.displayName="ReactDOMComponent",f.Mixin={mountComponent:function(t,e,n,o){this._rootNodeID=$++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(l,this);break;case"input":T.mountWrapper(this,i,e),i=T.getHostProps(this,i),t.getReactMountReady().enqueue(l,this);break;case"option":E.mountWrapper(this,i,e),i=E.getHostProps(this,i);break;case"select":k.mountWrapper(this,i,e),i=k.getHostProps(this,i),t.getReactMountReady().enqueue(l,this);break;case"textarea":S.mountWrapper(this,i,e),i=S.getHostProps(this,i),t.getReactMountReady().enqueue(l,this)}r(this,i);var a,p;null!=e?(a=e._namespaceURI,p=e._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===j.svg&&"foreignobject"===p)&&(a=j.html),a===j.html&&("svg"===this._tag?a=j.svg:"math"===this._tag&&(a=j.mathml)),this._namespaceURI=a;var d;if(t.useCreateElement){var M,f=n._ownerDocument;if(a===j.html)if("script"===this._tag){var g=f.createElement("div"),y=this._currentElement.type;g.innerHTML="<"+y+"></"+y+">",M=g.removeChild(g.firstChild)}else M=i.is?f.createElement(this._currentElement.type,i.is):f.createElement(this._currentElement.type);else M=f.createElementNS(a,this._currentElement.type);C.precacheNode(this,M),this._flags|=_.hasCachedChildNodes,this._hostParent||L.setAttributeForRoot(M),this._updateDOMProperties(null,i,t);var h=I(M);this._createInitialChildren(t,i,o,h),d=h}else{var D=this._createOpenTagMarkupAndPutListeners(t,i),m=this._createContentMarkup(t,i,o);d=!m&&F[this._tag]?D+"/>":D+">"+m+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(u,this),i.autoFocus&&t.getReactMountReady().enqueue(N.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(s,this),i.autoFocus&&t.getReactMountReady().enqueue(N.focusDOMComponent,this);break;case"select":i.autoFocus&&t.getReactMountReady().enqueue(N.focusDOMComponent,this);break;case"button":i.autoFocus&&t.getReactMountReady().enqueue(N.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(c,this)}return d},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var o in e)if(e.hasOwnProperty(o)){var r=e[o];if(null!=r)if(P.hasOwnProperty(o))r&&i(this,o,r,t);else{o===R&&(r&&(r=this._previousStyleCopy=h({},e.style)),r=D.createMarkupForStyles(r,this));var a=null;null!=this._tag&&M(this._tag,e)?Z.hasOwnProperty(o)||(a=L.createMarkupForCustomAttribute(o,r)):a=L.createMarkupForProperty(o,r),a&&(n+=" "+a)}}return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+L.createMarkupForRoot()),n+=" "+L.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var o="",r=e.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&(o=r.__html);else{var i=B[g(e.children)]?e.children:null,a=null!=i?null:e.children;if(null!=i)o=A(i);else if(null!=a){var u=this.mountChildren(a,t,n);o=u.join("")}}return V[this._tag]&&"\n"===o.charAt(0)?"\n"+o:o},_createInitialChildren:function(t,e,n,o){var r=e.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&I.queueHTML(o,r.__html);else{var i=B[g(e.children)]?e.children:null,a=null!=i?null:e.children;if(null!=i)I.queueText(o,i);else if(null!=a)for(var u=this.mountChildren(a,t,n),s=0;s<u.length;s++)I.queueChild(o,u[s])}},receiveComponent:function(t,e,n){var o=this._currentElement;this._currentElement=t,this.updateComponent(e,o,t,n)},updateComponent:function(t,e,n,o){var i=e.props,a=this._currentElement.props;switch(this._tag){case"input":i=T.getHostProps(this,i),a=T.getHostProps(this,a);break;case"option":i=E.getHostProps(this,i),a=E.getHostProps(this,a);break;case"select":i=k.getHostProps(this,i),a=k.getHostProps(this,a);break;case"textarea":i=S.getHostProps(this,i),a=S.getHostProps(this,a)}switch(r(this,a),this._updateDOMProperties(i,a,t),this._updateDOMChildren(i,a,t,o),this._tag){case"input":T.updateWrapper(this);break;case"textarea":S.updateWrapper(this);break;case"select":t.getReactMountReady().enqueue(p,this)}},_updateDOMProperties:function(t,e,n){var o,r,a;for(o in t)if(!e.hasOwnProperty(o)&&t.hasOwnProperty(o)&&null!=t[o])if(o===R){var u=this._previousStyleCopy;for(r in u)u.hasOwnProperty(r)&&(a=a||{},a[r]="");this._previousStyleCopy=null}else P.hasOwnProperty(o)?t[o]&&U(this,o):M(this._tag,t)?Z.hasOwnProperty(o)||L.deleteValueForAttribute(Y(this),o):(m.properties[o]||m.isCustomAttribute(o))&&L.deleteValueForProperty(Y(this),o);for(o in e){var s=e[o],c=o===R?this._previousStyleCopy:null!=t?t[o]:void 0;if(e.hasOwnProperty(o)&&s!==c&&(null!=s||null!=c))if(o===R)if(s?s=this._previousStyleCopy=h({},s):this._previousStyleCopy=null,c){for(r in c)!c.hasOwnProperty(r)||s&&s.hasOwnProperty(r)||(a=a||{},a[r]="");for(r in s)s.hasOwnProperty(r)&&c[r]!==s[r]&&(a=a||{},a[r]=s[r])}else a=s;else if(P.hasOwnProperty(o))s?i(this,o,s,n):c&&U(this,o);else if(M(this._tag,e))Z.hasOwnProperty(o)||L.setValueForAttribute(Y(this),o,s);else if(m.properties[o]||m.isCustomAttribute(o)){var l=Y(this);null!=s?L.setValueForProperty(l,o,s):L.deleteValueForProperty(l,o)}}a&&D.setValueForStyles(Y(this),a,this)},_updateDOMChildren:function(t,e,n,o){var r=B[g(t.children)]?t.children:null,i=B[g(e.children)]?e.children:null,a=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,u=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=null!=r?null:t.children,c=null!=i?null:e.children,l=null!=r||null!=a,p=null!=i||null!=u;null!=s&&null==c?this.updateChildren(null,n,o):l&&!p&&this.updateTextContent(""),null!=i?r!==i&&this.updateTextContent(""+i):null!=u?a!==u&&this.updateMarkup(""+u):null!=c&&this.updateChildren(c,n,o)},getHostNode:function(){return Y(this)},unmountComponent:function(t){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var e=this._wrapperState.listeners;if(e)for(var n=0;n<e.length;n++)e[n].remove();break;case"html":case"head":case"body":y("66",this._tag)}this.unmountChildren(t),C.uncacheNode(this),w.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return Y(this)}},h(f.prototype,f.Mixin,x.Mixin),t.exports=f},function(t,e,n){"use strict";function o(t,e){var n={_topLevelWrapper:t,_idCounter:1,_ownerDocument:e?e.nodeType===r?e:e.ownerDocument:null,_node:e,_tag:e?e.nodeName.toLowerCase():null,_namespaceURI:e?e.namespaceURI:null};return n}var r=(n(73),9);t.exports=o},function(t,e,n){"use strict";var o=n(7),r=n(31),i=n(6),a=function(t){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};o(a.prototype,{mountComponent:function(t,e,n,o){var a=n._idCounter++;this._domID=a,this._hostParent=e,this._hostContainerInfo=n;var u=" react-empty: "+this._domID+" ";if(t.useCreateElement){var s=n._ownerDocument,c=s.createComment(u);return i.precacheNode(this,c),r(c)}return t.renderToStaticMarkup?"":"<!--"+u+"-->"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),t.exports=a},function(t,e){"use strict";var n={useCreateElement:!0,useFiber:!1};t.exports=n},function(t,e,n){"use strict";var o=n(58),r=n(6),i={dangerouslyProcessChildrenUpdates:function(t,e){var n=r.getNodeFromInstance(t);o.processUpdates(n,e)}};t.exports=i},function(t,e,n){"use strict";function o(){this._rootNodeID&&p.updateWrapper(this)}function r(t){var e=this._currentElement.props,n=s.executeOnChange(e,t);l.asap(o,this);var r=e.name;if("radio"===e.type&&null!=r){for(var a=c.getNodeFromInstance(this),u=a;u.parentNode;)u=u.parentNode;for(var p=u.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),d=0;d<p.length;d++){var M=p[d];if(M!==a&&M.form===a.form){var f=c.getInstanceFromNode(M);f?void 0:i("90"),l.asap(o,f)}}}return n}var i=n(4),a=n(7),u=n(99),s=n(63),c=n(6),l=n(15),p=(n(3),n(5),{getHostProps:function(t,e){var n=s.getValue(e),o=s.getChecked(e),r=a({type:void 0,step:void 0,min:void 0,max:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:t._wrapperState.initialValue,checked:null!=o?o:t._wrapperState.initialChecked,onChange:t._wrapperState.onChange});return r},mountWrapper:function(t,e){var n=e.defaultValue;t._wrapperState={initialChecked:null!=e.checked?e.checked:e.defaultChecked,initialValue:null!=e.value?e.value:n,listeners:null,onChange:r.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=e.checked;null!=n&&u.setValueForProperty(c.getNodeFromInstance(t),"checked",n||!1);var o=c.getNodeFromInstance(t),r=s.getValue(e);if(null!=r){var i=""+r;i!==o.value&&(o.value=i)}else null==e.value&&null!=e.defaultValue&&(o.defaultValue=""+e.defaultValue),null==e.checked&&null!=e.defaultChecked&&(o.defaultChecked=!!e.defaultChecked)},postMountWrapper:function(t){var e=t._currentElement.props,n=c.getNodeFromInstance(t);switch(e.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var o=n.name;""!==o&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==o&&(n.name=o)}});t.exports=p},function(t,e,n){"use strict";function o(t){var e="";return i.Children.forEach(t,function(t){null!=t&&("string"==typeof t||"number"==typeof t?e+=t:s||(s=!0))}),e}var r=n(7),i=n(20),a=n(6),u=n(102),s=(n(5),!1),c={mountWrapper:function(t,e,n){var r=null;if(null!=n){var i=n;"optgroup"===i._tag&&(i=i._hostParent),null!=i&&"select"===i._tag&&(r=u.getSelectValueContext(i))}var a=null;if(null!=r){var s;if(s=null!=e.value?e.value+"":o(e.children),a=!1,Array.isArray(r)){for(var c=0;c<r.length;c++)if(""+r[c]===s){a=!0;break}}else a=""+r===s}t._wrapperState={selected:a}},postMountWrapper:function(t){var e=t._currentElement.props;if(null!=e.value){var n=a.getNodeFromInstance(t);n.setAttribute("value",e.value)}},getHostProps:function(t,e){var n=r({selected:void 0,children:void 0},e);null!=t._wrapperState.selected&&(n.selected=t._wrapperState.selected);var i=o(e.children);return i&&(n.children=i),n}};t.exports=c},function(t,e,n){"use strict";function o(t,e,n,o){return t===n&&e===o}function r(t){var e=document.selection,n=e.createRange(),o=n.text.length,r=n.duplicate();r.moveToElementText(t),r.setEndPoint("EndToStart",n);var i=r.text.length,a=i+o;return{start:i,end:a}}function i(t){var e=window.getSelection&&window.getSelection();if(!e||0===e.rangeCount)return null;var n=e.anchorNode,r=e.anchorOffset,i=e.focusNode,a=e.focusOffset,u=e.getRangeAt(0);try{u.startContainer.nodeType,u.endContainer.nodeType}catch(t){return null}var s=o(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset),c=s?0:u.toString().length,l=u.cloneRange();l.selectNodeContents(t),l.setEnd(u.startContainer,u.startOffset);var p=o(l.startContainer,l.startOffset,l.endContainer,l.endOffset),d=p?0:l.toString().length,M=d+c,f=document.createRange();f.setStart(n,r),f.setEnd(i,a);var g=f.collapsed;return{start:g?M:d,end:g?d:M}}function a(t,e){var n,o,r=document.selection.createRange().duplicate();void 0===e.end?(n=e.start,o=n):e.start>e.end?(n=e.end,o=e.start):(n=e.start,o=e.end),r.moveToElementText(t),r.moveStart("character",n),r.setEndPoint("EndToStart",r),r.moveEnd("character",o-n),r.select()}function u(t,e){if(window.getSelection){var n=window.getSelection(),o=t[l()].length,r=Math.min(e.start,o),i=void 0===e.end?r:Math.min(e.end,o);if(!n.extend&&r>i){var a=i;i=r,r=a}var u=c(t,r),s=c(t,i);if(u&&s){var p=document.createRange();p.setStart(u.node,u.offset),n.removeAllRanges(),r>i?(n.addRange(p),n.extend(s.node,s.offset)):(p.setEnd(s.node,s.offset),n.addRange(p))}}}var s=n(10),c=n(246),l=n(113),p=s.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:p?r:i,setOffsets:p?a:u};t.exports=d},function(t,e,n){"use strict";var o=n(4),r=n(7),i=n(58),a=n(31),u=n(6),s=n(50),c=(n(3),n(73),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});r(c.prototype,{mountComponent:function(t,e,n,o){var r=n._idCounter++,i=" react-text: "+r+" ",c=" /react-text ";if(this._domID=r,this._hostParent=e,t.useCreateElement){var l=n._ownerDocument,p=l.createComment(i),d=l.createComment(c),M=a(l.createDocumentFragment());return a.queueChild(M,a(p)),this._stringText&&a.queueChild(M,a(l.createTextNode(this._stringText))),a.queueChild(M,a(d)),u.precacheNode(this,p),this._closingComment=d,M}var f=s(this._stringText);return t.renderToStaticMarkup?f:"<!--"+i+"-->"+f+"<!--"+c+"-->"},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var o=this.getHostNode();i.replaceDelimitedText(o[0],o[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=u.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n?o("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,u.uncacheNode(this)}}),t.exports=c},function(t,e,n){"use strict";function o(){this._rootNodeID&&l.updateWrapper(this)}function r(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);return c.asap(o,this),n}var i=n(4),a=n(7),u=n(63),s=n(6),c=n(15),l=(n(3),n(5),{getHostProps:function(t,e){null!=e.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange});return n},mountWrapper:function(t,e){var n=u.getValue(e),o=n;if(null==n){var a=e.defaultValue,s=e.children;null!=s&&(null!=a?i("92"):void 0,Array.isArray(s)&&(s.length<=1?void 0:i("93"),s=s[0]),a=""+s),null==a&&(a=""),o=a}t._wrapperState={initialValue:""+o,listeners:null,onChange:r.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=s.getNodeFromInstance(t),o=u.getValue(e);if(null!=o){var r=""+o;r!==n.value&&(n.value=r),null==e.defaultValue&&(n.defaultValue=r)}null!=e.defaultValue&&(n.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=s.getNodeFromInstance(t);e.value=e.textContent}});t.exports=l},function(t,e,n){"use strict";function o(t,e){"_hostNode"in t?void 0:s("33"),"_hostNode"in e?void 0:s("33");for(var n=0,o=t;o;o=o._hostParent)n++;for(var r=0,i=e;i;i=i._hostParent)r++;for(;n-r>0;)t=t._hostParent,n--;for(;r-n>0;)e=e._hostParent,r--;for(var a=n;a--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function r(t,e){"_hostNode"in t?void 0:s("35"),"_hostNode"in e?void 0:s("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function i(t){return"_hostNode"in t?void 0:s("36"),t._hostParent}function a(t,e,n){for(var o=[];t;)o.push(t),t=t._hostParent;var r;for(r=o.length;r-- >0;)e(o[r],"captured",n);for(r=0;r<o.length;r++)e(o[r],"bubbled",n)}function u(t,e,n,r,i){for(var a=t&&e?o(t,e):null,u=[];t&&t!==a;)u.push(t),t=t._hostParent;for(var s=[];e&&e!==a;)s.push(e),e=e._hostParent;var c;for(c=0;c<u.length;c++)n(u[c],"bubbled",r);for(c=s.length;c-- >0;)n(s[c],"captured",i)}var s=n(4);n(3);t.exports={isAncestor:r,getLowestCommonAncestor:o,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:u}},function(t,e,n){"use strict";function o(){this.reinitializeTransaction()}var r=n(7),i=n(15),a=n(49),u=n(19),s={initialize:u,close:function(){d.isBatchingUpdates=!1}},c={initialize:u,close:i.flushBatchedUpdates.bind(i)},l=[c,s];r(o.prototype,a,{getTransactionWrappers:function(){return l}});var p=new o,d={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,o,r,i){var a=d.isBatchingUpdates;return d.isBatchingUpdates=!0,a?t(e,n,o,r,i):p.perform(t,null,e,n,o,r,i)}};t.exports=d},function(t,e,n){"use strict";function o(){L||(L=!0,N.EventEmitter.injectReactEventListener(h),N.EventPluginHub.injectEventPluginOrder(u),N.EventPluginUtils.injectComponentTree(d),N.EventPluginUtils.injectTreeTraversal(f),N.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:m,EnterLeaveEventPlugin:s,ChangeEventPlugin:a,SelectEventPlugin:j,BeforeInputEventPlugin:i}),N.HostComponent.injectGenericComponentClass(p),N.HostComponent.injectTextComponentClass(g),N.DOMProperty.injectDOMPropertyConfig(r),N.DOMProperty.injectDOMPropertyConfig(c),N.DOMProperty.injectDOMPropertyConfig(I),N.EmptyComponent.injectEmptyComponentFactory(function(t){return new M(t)}),N.Updates.injectReconcileTransaction(D),N.Updates.injectBatchingStrategy(y),N.Component.injectEnvironment(l))}var r=n(187),i=n(189),a=n(191),u=n(193),s=n(194),c=n(196),l=n(198),p=n(200),d=n(6),M=n(202),f=n(210),g=n(208),y=n(211),h=n(215),N=n(216),D=n(221),I=n(226),j=n(227),m=n(228),L=!1;t.exports={inject:o}},125,function(t,e,n){"use strict";function o(t){r.enqueueEvents(t),r.processEventQueue(!1)}var r=n(42),i={handleTopLevel:function(t,e,n,i){ +var a=r.extractEvents(t,e,n,i);o(a)}};t.exports=i},function(t,e,n){"use strict";function o(t){for(;t._hostParent;)t=t._hostParent;var e=p.getNodeFromInstance(t),n=e.parentNode;return p.getClosestInstanceFromNode(n)}function r(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function i(t){var e=M(t.nativeEvent),n=p.getClosestInstanceFromNode(e),r=n;do t.ancestors.push(r),r=r&&o(r);while(r);for(var i=0;i<t.ancestors.length;i++)n=t.ancestors[i],g._handleTopLevel(t.topLevelType,n,t.nativeEvent,M(t.nativeEvent))}function a(t){var e=f(window);t(e)}var u=n(7),s=n(119),c=n(10),l=n(27),p=n(6),d=n(15),M=n(70),f=n(255);u(r.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),l.addPoolingTo(r,l.twoArgumentPooler);var g={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:c.canUseDOM?window:null,setHandleTopLevel:function(t){g._handleTopLevel=t},setEnabled:function(t){g._enabled=!!t},isEnabled:function(){return g._enabled},trapBubbledEvent:function(t,e,n){return n?s.listen(n,e,g.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,e,n){return n?s.capture(n,e,g.dispatchEvent.bind(null,t)):null},monitorScrollValue:function(t){var e=a.bind(null,t);s.listen(window,"scroll",e)},dispatchEvent:function(t,e){if(g._enabled){var n=r.getPooled(t,e);try{d.batchedUpdates(i,n)}finally{r.release(n)}}}};t.exports=g},function(t,e,n){"use strict";var o=n(32),r=n(42),i=n(61),a=n(64),u=n(103),s=n(47),c=n(105),l=n(15),p={Component:a.injection,DOMProperty:o.injection,EmptyComponent:u.injection,EventPluginHub:r.injection,EventPluginUtils:i.injection,EventEmitter:s.injection,HostComponent:c.injection,Updates:l.injection};t.exports=p},function(t,e,n){"use strict";var o=n(239),r=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=o(t);return i.test(t)?t:t.replace(r," "+a.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var r=o(t);return r===n}};t.exports=a},function(t,e,n){"use strict";function o(t,e,n){return{type:"INSERT_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function r(t,e,n){return{type:"MOVE_EXISTING",content:null,fromIndex:t._mountIndex,fromNode:d.getHostNode(t),toIndex:n,afterNode:e}}function i(t,e){return{type:"REMOVE_NODE",content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function a(t){return{type:"SET_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(t){return{type:"TEXT_CONTENT",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(t,e){return e&&(t=t||[],t.push(e)),t}function c(t,e){p.processChildrenUpdates(t,e)}var l=n(4),p=n(64),d=(n(33),n(14),n(21),n(34)),M=n(197),f=(n(19),n(242)),g=(n(3),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return M.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,o,r,i){var a,u=0;return a=f(e,u),M.updateChildren(t,a,n,o,r,this,this._hostContainerInfo,i,u),a},mountChildren:function(t,e,n){var o=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildren=o;var r=[],i=0;for(var a in o)if(o.hasOwnProperty(a)){var u=o[a],s=0,c=d.mountComponent(u,e,this,this._hostContainerInfo,n,s);u._mountIndex=i++,r.push(c)}return r},updateTextContent:function(t){var e=this._renderedChildren;M.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");var o=[u(t)];c(this,o)},updateMarkup:function(t){var e=this._renderedChildren;M.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");var o=[a(t)];c(this,o)},updateChildren:function(t,e,n){this._updateChildren(t,e,n)},_updateChildren:function(t,e,n){var o=this._renderedChildren,r={},i=[],a=this._reconcilerUpdateChildren(o,t,i,r,e,n);if(a||o){var u,l=null,p=0,M=0,f=0,g=null;for(u in a)if(a.hasOwnProperty(u)){var y=o&&o[u],h=a[u];y===h?(l=s(l,this.moveChild(y,g,p,M)),M=Math.max(y._mountIndex,M),y._mountIndex=p):(y&&(M=Math.max(y._mountIndex,M)),l=s(l,this._mountChildAtIndex(h,i[f],g,p,e,n)),f++),p++,g=d.getHostNode(h)}for(u in r)r.hasOwnProperty(u)&&(l=s(l,this._unmountChild(o[u],r[u])));l&&c(this,l),this._renderedChildren=a}},unmountChildren:function(t){var e=this._renderedChildren;M.unmountChildren(e,t),this._renderedChildren=null},moveChild:function(t,e,n,o){if(t._mountIndex<o)return r(t,e,n)},createChild:function(t,e,n){return o(n,e,t._mountIndex)},removeChild:function(t,e){return i(t,e)},_mountChildAtIndex:function(t,e,n,o,r,i){return t._mountIndex=o,this.createChild(t,n,e)},_unmountChild:function(t,e){var n=this.removeChild(t,e);return t._mountIndex=null,n}}});t.exports=g},function(t,e,n){"use strict";function o(t){return!(!t||"function"!=typeof t.attachRef||"function"!=typeof t.detachRef)}var r=n(4),i=(n(3),{addComponentAsRefTo:function(t,e,n){o(n)?void 0:r("119"),n.attachRef(e,t)},removeComponentAsRefFrom:function(t,e,n){o(n)?void 0:r("120");var i=n.getPublicInstance();i&&i.refs[e]===t.getPublicInstance()&&n.detachRef(e)}});t.exports=i},function(t,e){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n},function(t,e,n){"use strict";function o(t){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=t}var r=n(7),i=n(98),a=n(27),u=n(47),s=n(106),c=(n(14),n(49)),l=n(66),p={initialize:s.getSelectionInformation,close:s.restoreSelection},d={initialize:function(){var t=u.isEnabled();return u.setEnabled(!1),t},close:function(t){u.setEnabled(t)}},M={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},f=[p,d,M],g={getTransactionWrappers:function(){return f},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return l},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(t){this.reactMountReady.rollback(t)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};r(o.prototype,c,g),a.addPoolingTo(o),t.exports=o},function(t,e,n){"use strict";function o(t,e,n){"function"==typeof t?t(e.getPublicInstance()):a.addComponentAsRefTo(e,t,n)}function r(t,e,n){"function"==typeof t?t(null):a.removeComponentAsRefFrom(e,t,n)}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=n(219),u={};u.attachRefs=function(t,e){if(null!==e&&"object"===("undefined"==typeof e?"undefined":i(e))){var n=e.ref;null!=n&&o(n,t,e._owner)}},u.shouldUpdateRefs=function(t,e){var n=null,o=null;null!==t&&"object"===("undefined"==typeof t?"undefined":i(t))&&(n=t.ref,o=t._owner);var r=null,a=null;return null!==e&&"object"===("undefined"==typeof e?"undefined":i(e))&&(r=e.ref,a=e._owner),n!==r||"string"==typeof r&&a!==o},u.detachRefs=function(t,e){if(null!==e&&"object"===("undefined"==typeof e?"undefined":i(e))){var n=e.ref;null!=n&&r(n,t,e._owner)}},t.exports=u},function(t,e,n){"use strict";function o(t){this.reinitializeTransaction(),this.renderToStaticMarkup=t,this.useCreateElement=!1,this.updateQueue=new u(this)}var r=n(7),i=n(27),a=n(49),u=(n(14),n(224)),s=[],c={enqueue:function(){}},l={getTransactionWrappers:function(){return s},getReactMountReady:function(){return c},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};r(o.prototype,a,l),i.addPoolingTo(o),t.exports=o},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){}var i=n(66),a=(n(5),function(){function t(e){o(this,t),this.transaction=e}return t.prototype.isMounted=function(t){return!1},t.prototype.enqueueCallback=function(t,e,n){this.transaction.isInTransaction()&&i.enqueueCallback(t,e,n)},t.prototype.enqueueForceUpdate=function(t){this.transaction.isInTransaction()?i.enqueueForceUpdate(t):r(t,"forceUpdate")},t.prototype.enqueueReplaceState=function(t,e){this.transaction.isInTransaction()?i.enqueueReplaceState(t,e):r(t,"replaceState")},t.prototype.enqueueSetState=function(t,e){this.transaction.isInTransaction()?i.enqueueSetState(t,e):r(t,"setState")},t}());t.exports=a},function(t,e){"use strict";t.exports="15.4.1"},function(t,e){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},r={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(t){r.Properties[t]=0,o[t]&&(r.DOMAttributeNames[t]=o[t])}),t.exports=r},function(t,e,n){"use strict";function o(t){if("selectionStart"in t&&s.hasSelectionCapabilities(t))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var e=window.getSelection();return{anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function r(t,e){if(N||null==g||g!==l())return null;var n=o(g);if(!h||!d(h,n)){h=n;var r=c.getPooled(f.select,y,t,e);return r.type="select",r.target=g,i.accumulateTwoPhaseDispatches(r),r}return null}var i=n(43),a=n(10),u=n(6),s=n(106),c=n(18),l=n(122),p=n(116),d=n(74),M=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,f={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},g=null,y=null,h=null,N=!1,D=!1,I={eventTypes:f,extractEvents:function(t,e,n,o){if(!D)return null;var i=e?u.getNodeFromInstance(e):window;switch(t){case"topFocus":(p(i)||"true"===i.contentEditable)&&(g=i,y=e,h=null);break;case"topBlur":g=null,y=null,h=null;break;case"topMouseDown":N=!0;break;case"topContextMenu":case"topMouseUp":return N=!1,r(n,o);case"topSelectionChange":if(M)break;case"topKeyDown":case"topKeyUp":return r(n,o)}return null},didPutListener:function(t,e,n){"onSelect"===e&&(D=!0)}};t.exports=I},function(t,e,n){"use strict";function o(t){return"."+t._rootNodeID}function r(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}var i=n(4),a=n(119),u=n(43),s=n(6),c=n(229),l=n(230),p=n(18),d=n(233),M=n(235),f=n(48),g=n(232),y=n(236),h=n(237),N=n(44),D=n(238),I=n(19),j=n(68),m=(n(3),{}),L={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(t){var e=t[0].toUpperCase()+t.slice(1),n="on"+e,o="top"+e,r={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[o]};m[t]=r,L[o]=r});var w={},v={eventTypes:m,extractEvents:function(t,e,n,o){var r=L[t];if(!r)return null;var a;switch(t){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=p;break;case"topKeyPress":if(0===j(n))return null;case"topKeyDown":case"topKeyUp":a=M;break;case"topBlur":case"topFocus":a=d;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=f;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=g;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=y;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=c;break;case"topTransitionEnd":a=h;break;case"topScroll":a=N;break;case"topWheel":a=D;break;case"topCopy":case"topCut":case"topPaste":a=l}a?void 0:i("86",t);var s=a.getPooled(r,e,n,o);return u.accumulateTwoPhaseDispatches(s),s},didPutListener:function(t,e,n){if("onClick"===e&&!r(t._tag)){var i=o(t),u=s.getNodeFromInstance(t);w[i]||(w[i]=a.listen(u,"click",I))}},willDeleteListener:function(t,e){if("onClick"===e&&!r(t._tag)){var n=o(t);w[n].remove(),delete w[n]}}};t.exports=v},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(18),i={animationName:null,elapsedTime:null,pseudoElement:null};r.augmentClass(o,i),t.exports=o},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(18),i={clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}};r.augmentClass(o,i),t.exports=o},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(18),i={data:null};r.augmentClass(o,i),t.exports=o},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(48),i={dataTransfer:null};r.augmentClass(o,i),t.exports=o},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(44),i={relatedTarget:null};r.augmentClass(o,i),t.exports=o},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(18),i={data:null};r.augmentClass(o,i),t.exports=o},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(44),i=n(68),a=n(243),u=n(69),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(t){return"keypress"===t.type?i(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?i(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}};r.augmentClass(o,s),t.exports=o},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(44),i=n(69),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};r.augmentClass(o,a),t.exports=o},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(18),i={propertyName:null,elapsedTime:null,pseudoElement:null};r.augmentClass(o,i),t.exports=o},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(48),i={deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null};r.augmentClass(o,i),t.exports=o},function(t,e){"use strict";function n(t){for(var e=1,n=0,r=0,i=t.length,a=i&-4;r<a;){for(var u=Math.min(r+4096,a);r<u;r+=4)n+=(e+=t.charCodeAt(r))+(e+=t.charCodeAt(r+1))+(e+=t.charCodeAt(r+2))+(e+=t.charCodeAt(r+3));e%=o,n%=o}for(;r<i;r++)n+=e+=t.charCodeAt(r);return e%=o,n%=o,e|n<<16}var o=65521;t.exports=n},function(t,e,n){"use strict";function o(t,e,n){var o=null==e||"boolean"==typeof e||""===e;if(o)return"";var r=isNaN(e);if(r||0===e||i.hasOwnProperty(t)&&i[t])return""+e;if("string"==typeof e){e=e.trim()}return e+"px"}var r=n(97),i=(n(5),r.isUnitlessNumber);t.exports=o},function(t,e,n){"use strict";function o(t){if(null==t)return null;if(1===t.nodeType)return t;var e=a.get(t);return e?(e=u(e),e?i.getNodeFromInstance(e):null):void("function"==typeof t.render?r("44"):r("45",Object.keys(t)))}var r=n(4),i=(n(21),n(6)),a=n(33),u=n(112);n(3),n(5);t.exports=o},function(t,e,n){(function(e){"use strict";function o(t,e,n,o){if(t&&"object"===("undefined"==typeof t?"undefined":i(t))){var r=t,a=void 0===r[n];a&&null!=e&&(r[n]=e)}}function r(t,e){if(null==t)return t;var n={};return a(t,o,n),n}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=(n(62),n(118));n(5);t.exports=r}).call(e,n(29))},function(t,e,n){"use strict";function o(t){if(t.key){var e=i[t.key]||t.key;if("Unidentified"!==e)return e}if("keypress"===t.type){var n=r(t);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===t.type||"keyup"===t.type?a[t.keyCode]||"Unidentified":""}var r=n(68),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=o},128,function(t,e){"use strict";function n(){return o++}var o=1;t.exports=n},function(t,e){"use strict";function n(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function o(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function r(t,e){for(var r=n(t),i=0,a=0;r;){if(3===r.nodeType){if(a=i+r.textContent.length,i<=e&&a>=e)return{node:r,offset:e-i};i=a}r=n(o(r))}}t.exports=r},function(t,e,n){"use strict";function o(t){return'"'+r(t)+'"'}var r=n(50);t.exports=o},function(t,e,n){"use strict";var o=n(107);t.exports=o.renderSubtreeIntoContainer},function(t,e){"use strict";function n(t){return t.replace(o,function(t,e){return e.toUpperCase()})}var o=/-(.)/g;t.exports=n},function(t,e,n){"use strict";function o(t){return r(t.replace(i,"ms-"))}var r=n(249),i=/^-ms-/;t.exports=o},function(t,e,n){"use strict";function o(t,e){return!(!t||!e)&&(t===e||!r(t)&&(r(e)?o(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var r=n(259);t.exports=o},function(t,e,n){"use strict";function o(t){var e=t.length;if(Array.isArray(t)||"object"!==("undefined"==typeof t?"undefined":a(t))&&"function"!=typeof t?u(!1):void 0,"number"!=typeof e?u(!1):void 0,0===e||e-1 in t?void 0:u(!1),"function"==typeof t.callee?u(!1):void 0,t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),o=0;o<e;o++)n[o]=t[o];return n}function r(t){return!!t&&("object"==("undefined"==typeof t?"undefined":a(t))||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}function i(t){return r(t)?Array.isArray(t)?t.slice():o(t):[t]}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=n(3);t.exports=i},function(t,e,n){"use strict";function o(t){var e=t.match(l);return e&&e[1].toLowerCase()}function r(t,e){var n=c;c?void 0:s(!1);var r=o(t),i=r&&u(r);if(i){n.innerHTML=i[1]+t+i[2];for(var l=i[0];l--;)n=n.lastChild}else n.innerHTML=t;var p=n.getElementsByTagName("script");p.length&&(e?void 0:s(!1),a(p).forEach(e));for(var d=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}var i=n(10),a=n(252),u=n(254),s=n(3),c=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;t.exports=r},function(t,e,n){"use strict";function o(t){return a?void 0:i(!1),d.hasOwnProperty(t)||(t="*"),u.hasOwnProperty(t)||("*"===t?a.innerHTML="<link />":a.innerHTML="<"+t+"></"+t+">",u[t]=!a.firstChild),u[t]?d[t]:null}var r=n(10),i=n(3),a=r.canUseDOM?document.createElement("div"):null,u={},s=[1,'<select multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],p=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],d={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:s,option:s,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l},M=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];M.forEach(function(t){d[t]=p,u[t]=!0}),t.exports=o},function(t,e){"use strict";function n(t){return t===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=n},function(t,e){"use strict";function n(t){return t.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;t.exports=n},function(t,e,n){"use strict";function o(t){return r(t).replace(i,"-ms-")}var r=n(256),i=/^ms-/;t.exports=o},function(t,e){"use strict";function n(t){return!(!t||!("function"==typeof Node?t instanceof Node:"object"===("undefined"==typeof t?"undefined":o(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=n},function(t,e,n){"use strict";function o(t){return r(t)&&3==t.nodeType}var r=n(258);t.exports=o},function(t,e){"use strict";function n(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=n},[331,36,28],function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==("undefined"==typeof e?"undefined":u(e))&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof e?"undefined":u(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e="transition"+t+"Timeout",n="transition"+t;return function(t){if(t[n]){if(null==t[e])return new Error(e+" wasn't supplied to ReactCSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof t[e])return new Error(e+" must be a number (in milliseconds)")}}}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=n(37),c=n(20),l=n(272),p=n(263),d=function(t){function e(){var n,i,a;o(this,e);for(var u=arguments.length,s=Array(u),l=0;l<u;l++)s[l]=arguments[l];return n=i=r(this,t.call.apply(t,[this].concat(s))),i._wrapChild=function(t){return c.createElement(p,{name:i.props.transitionName,appear:i.props.transitionAppear,enter:i.props.transitionEnter,leave:i.props.transitionLeave,appearTimeout:i.props.transitionAppearTimeout,enterTimeout:i.props.transitionEnterTimeout,leaveTimeout:i.props.transitionLeaveTimeout},t)},a=n,r(i,a)}return i(e,t),e.prototype.render=function(){return c.createElement(l,s({},this.props,{childFactory:this._wrapChild}))},e}(c.Component);d.displayName="ReactCSSTransitionGroup",d.propTypes={transitionName:p.propTypes.name,transitionAppear:c.PropTypes.bool,transitionEnter:c.PropTypes.bool,transitionLeave:c.PropTypes.bool,transitionAppearTimeout:a("Appear"),transitionEnterTimeout:a("Enter"),transitionLeaveTimeout:a("Leave")},d.defaultProps={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},t.exports=d},function(t,e,n){"use strict";var o=n(20),r=n(124),i=n(275),a=n(271),u=n(129),s=17,c=o.createClass({displayName:"ReactCSSTransitionGroupChild",propTypes:{name:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.shape({enter:o.PropTypes.string,leave:o.PropTypes.string,active:o.PropTypes.string}),o.PropTypes.shape({enter:o.PropTypes.string,enterActive:o.PropTypes.string,leave:o.PropTypes.string,leaveActive:o.PropTypes.string,appear:o.PropTypes.string,appearActive:o.PropTypes.string})]).isRequired,appear:o.PropTypes.bool,enter:o.PropTypes.bool,leave:o.PropTypes.bool,appearTimeout:o.PropTypes.number,enterTimeout:o.PropTypes.number,leaveTimeout:o.PropTypes.number},transition:function(t,e,n){var o=r.getReactDOM().findDOMNode(this);if(!o)return void(e&&e());var u=this.props.name[t]||this.props.name+"-"+t,s=this.props.name[t+"Active"]||u+"-active",c=null,l=function t(n){n&&n.target!==o||(clearTimeout(c),i.removeClass(o,u),i.removeClass(o,s),a.removeEndEventListener(o,t),e&&e())};i.addClass(o,u),this.queueClassAndNode(s,o),n?(c=setTimeout(l,n),this.transitionTimeouts.push(c)):a.addEndEventListener(o,l)},queueClassAndNode:function(t,e){this.classNameAndNodeQueue.push({className:t,node:e}),this.timeout||(this.timeout=setTimeout(this.flushClassNameAndNodeQueue,s))},flushClassNameAndNodeQueue:function(){this.isMounted()&&this.classNameAndNodeQueue.forEach(function(t){i.addClass(t.node,t.className)}),this.classNameAndNodeQueue.length=0,this.timeout=null},componentWillMount:function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},componentWillUnmount:function(){this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach(function(t){clearTimeout(t)}),this.classNameAndNodeQueue.length=0},componentWillAppear:function(t){this.props.appear?this.transition("appear",t,this.props.appearTimeout):t()},componentWillEnter:function(t){this.props.enter?this.transition("enter",t,this.props.enterTimeout):t()},componentWillLeave:function(t){this.props.leave?this.transition("leave",t,this.props.leaveTimeout):t()},render:function(){return u(this.props.children)}});t.exports=c},function(t,e,n){"use strict";function o(t){return(""+t).replace(I,"$&/")}function r(t,e){this.func=t,this.context=e,this.count=0}function i(t,e,n){var o=t.func,r=t.context;o.call(r,e,t.count++)}function a(t,e,n){if(null==t)return t;var o=r.getPooled(e,n);h(t,i,o),r.release(o)}function u(t,e,n,o){this.result=t,this.keyPrefix=e,this.func=n,this.context=o,this.count=0; +}function s(t,e,n){var r=t.result,i=t.keyPrefix,a=t.func,u=t.context,s=a.call(u,e,t.count++);Array.isArray(s)?c(s,r,n,y.thatReturnsArgument):null!=s&&(g.isValidElement(s)&&(s=g.cloneAndReplaceKey(s,i+(!s.key||e&&e.key===s.key?"":o(s.key)+"/")+n)),r.push(s))}function c(t,e,n,r,i){var a="";null!=n&&(a=o(n)+"/");var c=u.getPooled(e,a,r,i);h(t,s,c),u.release(c)}function l(t,e,n){if(null==t)return t;var o=[];return c(t,o,null,e,n),o}function p(t,e,n){return null}function d(t,e){return h(t,p,null)}function M(t){var e=[];return c(t,e,null,y.thatReturnsArgument),e}var f=n(261),g=n(35),y=n(52),h=n(130),N=f.twoArgumentPooler,D=f.fourArgumentPooler,I=/\/+/g;r.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},f.addPoolingTo(r,N),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},f.addPoolingTo(u,D);var j={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:d,toArray:M};t.exports=j},function(t,e,n){"use strict";function o(t){return t}function r(t,e){var n=j.hasOwnProperty(e)?j[e]:null;L.hasOwnProperty(e)&&("OVERRIDE_BASE"!==n?M("73",e):void 0),t&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?M("74",e):void 0)}function i(t,e){if(e){"function"==typeof e?M("75"):void 0,y.isValidElement(e)?M("76"):void 0;var n=t.prototype,o=n.__reactAutoBindPairs;e.hasOwnProperty(D)&&m.mixins(t,e.mixins);for(var i in e)if(e.hasOwnProperty(i)&&i!==D){var a=e[i],u=n.hasOwnProperty(i);if(r(u,i),m.hasOwnProperty(i))m[i](t,a);else{var l=j.hasOwnProperty(i),p="function"==typeof a,d=p&&!l&&!u&&e.autobind!==!1;if(d)o.push(i,a),n[i]=a;else if(u){var f=j[i];!l||"DEFINE_MANY_MERGED"!==f&&"DEFINE_MANY"!==f?M("77",f,i):void 0,"DEFINE_MANY_MERGED"===f?n[i]=s(n[i],a):"DEFINE_MANY"===f&&(n[i]=c(n[i],a))}else n[i]=a}}}else;}function a(t,e){if(e)for(var n in e){var o=e[n];if(e.hasOwnProperty(n)){var r=n in m;r?M("78",n):void 0;var i=n in t;i?M("79",n):void 0,t[n]=o}}}function u(t,e){t&&e&&"object"===("undefined"==typeof t?"undefined":d(t))&&"object"===("undefined"==typeof e?"undefined":d(e))?void 0:M("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]?M("81",n):void 0,t[n]=e[n]);return t}function s(t,e){return function(){var n=t.apply(this,arguments),o=e.apply(this,arguments);if(null==n)return o;if(null==o)return n;var r={};return u(r,n),u(r,o),r}}function c(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function l(t,e){var n=e.bind(t);return n}function p(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var o=e[n],r=e[n+1];t[o]=l(t,r)}}var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},M=n(36),f=n(37),g=n(75),y=n(35),h=(n(126),n(77)),N=n(78),D=(n(28),n(22),"mixins"),I=[],j={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},m={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)i(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=f({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=f({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=s(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=f({},t.propTypes,e)},statics:function(t,e){a(t,e)},autobind:function(){}},L={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},w=function(){};f(w.prototype,g.prototype,L);var v={createClass:function(t){var e=o(function(t,n,o){this.__reactAutoBindPairs.length&&p(this),this.props=t,this.context=n,this.refs=N,this.updater=o||h,this.state=null;var r=this.getInitialState?this.getInitialState():null;"object"!==("undefined"==typeof r?"undefined":d(r))||Array.isArray(r)?M("82",e.displayName||"ReactCompositeComponent"):void 0,this.state=r});e.prototype=new w,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],I.forEach(i.bind(null,e)),i(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render?void 0:M("83");for(var n in j)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){I.push(t)}}};t.exports=v},function(t,e,n){"use strict";var o=n(35),r=o.createFactory,i={a:r("a"),abbr:r("abbr"),address:r("address"),area:r("area"),article:r("article"),aside:r("aside"),audio:r("audio"),b:r("b"),base:r("base"),bdi:r("bdi"),bdo:r("bdo"),big:r("big"),blockquote:r("blockquote"),body:r("body"),br:r("br"),button:r("button"),canvas:r("canvas"),caption:r("caption"),cite:r("cite"),code:r("code"),col:r("col"),colgroup:r("colgroup"),data:r("data"),datalist:r("datalist"),dd:r("dd"),del:r("del"),details:r("details"),dfn:r("dfn"),dialog:r("dialog"),div:r("div"),dl:r("dl"),dt:r("dt"),em:r("em"),embed:r("embed"),fieldset:r("fieldset"),figcaption:r("figcaption"),figure:r("figure"),footer:r("footer"),form:r("form"),h1:r("h1"),h2:r("h2"),h3:r("h3"),h4:r("h4"),h5:r("h5"),h6:r("h6"),head:r("head"),header:r("header"),hgroup:r("hgroup"),hr:r("hr"),html:r("html"),i:r("i"),iframe:r("iframe"),img:r("img"),input:r("input"),ins:r("ins"),kbd:r("kbd"),keygen:r("keygen"),label:r("label"),legend:r("legend"),li:r("li"),link:r("link"),main:r("main"),map:r("map"),mark:r("mark"),menu:r("menu"),menuitem:r("menuitem"),meta:r("meta"),meter:r("meter"),nav:r("nav"),noscript:r("noscript"),object:r("object"),ol:r("ol"),optgroup:r("optgroup"),option:r("option"),output:r("output"),p:r("p"),param:r("param"),picture:r("picture"),pre:r("pre"),progress:r("progress"),q:r("q"),rp:r("rp"),rt:r("rt"),ruby:r("ruby"),s:r("s"),samp:r("samp"),script:r("script"),section:r("section"),select:r("select"),small:r("small"),source:r("source"),span:r("span"),strong:r("strong"),style:r("style"),sub:r("sub"),summary:r("summary"),sup:r("sup"),table:r("table"),tbody:r("tbody"),td:r("td"),textarea:r("textarea"),tfoot:r("tfoot"),th:r("th"),thead:r("thead"),time:r("time"),title:r("title"),tr:r("tr"),track:r("track"),u:r("u"),ul:r("ul"),var:r("var"),video:r("video"),wbr:r("wbr"),circle:r("circle"),clipPath:r("clipPath"),defs:r("defs"),ellipse:r("ellipse"),g:r("g"),image:r("image"),line:r("line"),linearGradient:r("linearGradient"),mask:r("mask"),path:r("path"),pattern:r("pattern"),polygon:r("polygon"),polyline:r("polyline"),radialGradient:r("radialGradient"),rect:r("rect"),stop:r("stop"),svg:r("svg"),text:r("text"),tspan:r("tspan")};t.exports=i},function(t,e,n){"use strict";function o(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function r(t){this.message=t,this.stack=""}function i(t){function e(e,n,o,i,a,u,s){i=i||b,u=u||o;if(null==n[o]){var c=L[a];return e?new r(null===n[o]?"The "+c+" `"+u+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+c+" `"+u+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null}return t(n,o,i,a,u)}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function a(t){function e(e,n,o,i,a,u){var s=e[n],c=N(s);if(c!==t){var l=L[i],p=D(s);return new r("Invalid "+l+" `"+a+"` of type "+("`"+p+"` supplied to `"+o+"`, expected ")+("`"+t+"`."))}return null}return i(e)}function u(){return i(v.thatReturns(null))}function s(t){function e(e,n,o,i,a){if("function"!=typeof t)return new r("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var u=e[n];if(!Array.isArray(u)){var s=L[i],c=N(u);return new r("Invalid "+s+" `"+a+"` of type "+("`"+c+"` supplied to `"+o+"`, expected an array."))}for(var l=0;l<u.length;l++){var p=t(u,l,o,i,a+"["+l+"]",w);if(p instanceof Error)return p}return null}return i(e)}function c(){function t(t,e,n,o,i){var a=t[e];if(!m.isValidElement(a)){var u=L[o],s=N(a);return new r("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(t)}function l(t){function e(e,n,o,i,a){if(!(e[n]instanceof t)){var u=L[i],s=t.name||b,c=I(e[n]);return new r("Invalid "+u+" `"+a+"` of type "+("`"+c+"` supplied to `"+o+"`, expected ")+("instance of `"+s+"`."))}return null}return i(e)}function p(t){function e(e,n,i,a,u){for(var s=e[n],c=0;c<t.length;c++)if(o(s,t[c]))return null;var l=L[a],p=JSON.stringify(t);return new r("Invalid "+l+" `"+u+"` of value `"+s+"` "+("supplied to `"+i+"`, expected one of "+p+"."))}return Array.isArray(t)?i(e):v.thatReturnsNull}function d(t){function e(e,n,o,i,a){if("function"!=typeof t)return new r("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var u=e[n],s=N(u);if("object"!==s){var c=L[i];return new r("Invalid "+c+" `"+a+"` of type "+("`"+s+"` supplied to `"+o+"`, expected an object."))}for(var l in u)if(u.hasOwnProperty(l)){var p=t(u,l,o,i,a+"."+l,w);if(p instanceof Error)return p}return null}return i(e)}function M(t){function e(e,n,o,i,a){for(var u=0;u<t.length;u++){var s=t[u];if(null==s(e,n,o,i,a,w))return null}var c=L[i];return new r("Invalid "+c+" `"+a+"` supplied to "+("`"+o+"`."))}return Array.isArray(t)?i(e):v.thatReturnsNull}function f(){function t(t,e,n,o,i){if(!y(t[e])){var a=L[o];return new r("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(t)}function g(t){function e(e,n,o,i,a){var u=e[n],s=N(u);if("object"!==s){var c=L[i];return new r("Invalid "+c+" `"+a+"` of type `"+s+"` "+("supplied to `"+o+"`, expected `object`."))}for(var l in t){var p=t[l];if(p){var d=p(u,l,o,i,a+"."+l,w);if(d)return d}}return null}return i(e)}function y(t){switch("undefined"==typeof t?"undefined":j(t)){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(y);if(null===t||m.isValidElement(t))return!0;var e=z(t);if(!e)return!1;var n,o=e.call(t);if(e!==t.entries){for(;!(n=o.next()).done;)if(!y(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!y(r[1]))return!1}return!0;default:return!1}}function h(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function N(t){var e="undefined"==typeof t?"undefined":j(t);return Array.isArray(t)?"array":t instanceof RegExp?"object":h(e,t)?"symbol":e}function D(t){var e=N(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function I(t){return t.constructor&&t.constructor.name?t.constructor.name:b}var j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m=n(35),L=n(126),w=n(268),v=n(52),z=n(128),b=(n(22),"<<anonymous>>"),C={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:u(),arrayOf:s,element:c(),instanceOf:l,node:f(),objectOf:d,oneOf:p,oneOfType:M,shape:g};r.prototype=Error.prototype,t.exports=C},220,function(t,e,n){"use strict";function o(t,e,n){this.props=t,this.context=e,this.refs=s,this.updater=n||u}function r(){}var i=n(37),a=n(75),u=n(77),s=n(78);r.prototype=a.prototype,o.prototype=new r,o.prototype.constructor=o,i(o.prototype,a.prototype),o.prototype.isPureReactComponent=!0,t.exports=o},function(t,e,n){"use strict";var o=n(274),r={getChildMapping:function(t,e){return t?o(t):t},mergeChildMappings:function(t,e){function n(n){return e.hasOwnProperty(n)?e[n]:t[n]}t=t||{},e=e||{};var o={},r=[];for(var i in t)e.hasOwnProperty(i)?r.length&&(o[i]=r,r=[]):r.push(i);var a,u={};for(var s in e){if(o.hasOwnProperty(s))for(a=0;a<o[s].length;a++){var c=o[s][a];u[o[s][a]]=n(c)}u[s]=n(s)}for(a=0;a<r.length;a++)u[r[a]]=n(r[a]);return u}};t.exports=r},function(t,e,n){"use strict";function o(){var t=u("animationend"),e=u("transitionend");t&&s.push(t),e&&s.push(e)}function r(t,e,n){t.addEventListener(e,n,!1)}function i(t,e,n){t.removeEventListener(e,n,!1)}var a=n(276),u=n(114),s=[];a.canUseDOM&&o();var c={addEndEventListener:function(t,e){return 0===s.length?void window.setTimeout(e,0):void s.forEach(function(n){r(t,n,e)})},removeEndEventListener:function(t,e){0!==s.length&&s.forEach(function(n){i(t,n,e)})}};t.exports=c},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==("undefined"==typeof e?"undefined":a(e))&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof e?"undefined":a(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=n(37),s=n(20),c=(n(124),n(270)),l=n(52),p=function(t){function e(){var n,i,a;o(this,e);for(var s=arguments.length,l=Array(s),p=0;p<s;p++)l[p]=arguments[p];return n=i=r(this,t.call.apply(t,[this].concat(l))),i.state={children:c.getChildMapping(i.props.children)},i.performAppear=function(t){i.currentlyTransitioningKeys[t]=!0;var e=i.refs[t];e.componentWillAppear?e.componentWillAppear(i._handleDoneAppearing.bind(i,t)):i._handleDoneAppearing(t)},i._handleDoneAppearing=function(t){var e=i.refs[t];e.componentDidAppear&&e.componentDidAppear(),delete i.currentlyTransitioningKeys[t];var n;n=c.getChildMapping(i.props.children),n&&n.hasOwnProperty(t)||i.performLeave(t)},i.performEnter=function(t){i.currentlyTransitioningKeys[t]=!0;var e=i.refs[t];e.componentWillEnter?e.componentWillEnter(i._handleDoneEntering.bind(i,t)):i._handleDoneEntering(t)},i._handleDoneEntering=function(t){var e=i.refs[t];e.componentDidEnter&&e.componentDidEnter(),delete i.currentlyTransitioningKeys[t];var n;n=c.getChildMapping(i.props.children),n&&n.hasOwnProperty(t)||i.performLeave(t)},i.performLeave=function(t){i.currentlyTransitioningKeys[t]=!0;var e=i.refs[t];e.componentWillLeave?e.componentWillLeave(i._handleDoneLeaving.bind(i,t)):i._handleDoneLeaving(t)},i._handleDoneLeaving=function(t){var e=i.refs[t];e.componentDidLeave&&e.componentDidLeave(),delete i.currentlyTransitioningKeys[t];var n;n=c.getChildMapping(i.props.children),n&&n.hasOwnProperty(t)?i.performEnter(t):i.setState(function(e){var n=u({},e.children);return delete n[t],{children:n}})},a=n,r(i,a)}return i(e,t),e.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},e.prototype.componentDidMount=function(){var t=this.state.children;for(var e in t)t[e]&&this.performAppear(e)},e.prototype.componentWillReceiveProps=function(t){var e;e=c.getChildMapping(t.children);var n=this.state.children;this.setState({children:c.mergeChildMappings(n,e)});var o;for(o in e){var r=n&&n.hasOwnProperty(o);!e[o]||r||this.currentlyTransitioningKeys[o]||this.keysToEnter.push(o)}for(o in n){var i=e&&e.hasOwnProperty(o);!n[o]||i||this.currentlyTransitioningKeys[o]||this.keysToLeave.push(o)}},e.prototype.componentDidUpdate=function(){var t=this.keysToEnter;this.keysToEnter=[],t.forEach(this.performEnter);var e=this.keysToLeave;this.keysToLeave=[],e.forEach(this.performLeave)},e.prototype.render=function(){var t=[];for(var e in this.state.children){var n=this.state.children[e];n&&t.push(s.cloneElement(this.props.childFactory(n),{ref:e,key:e}))}var o=u({},this.props);return delete o.transitionLeave,delete o.transitionName,delete o.transitionAppear,delete o.transitionEnter,delete o.childFactory,delete o.transitionLeaveTimeout,delete o.transitionEnterTimeout,delete o.transitionAppearTimeout,delete o.component,s.createElement(this.props.component,o,t)},e}(s.Component);p.displayName="ReactTransitionGroup",p.propTypes={component:s.PropTypes.any,childFactory:s.PropTypes.func},p.defaultProps={component:"span",childFactory:l.thatReturnsArgument},t.exports=p},225,function(t,e,n){(function(e){"use strict";function o(t,e,n,o){if(t&&"object"===("undefined"==typeof t?"undefined":i(t))){var r=t,a=void 0===r[n];a&&null!=e&&(r[n]=e)}}function r(t,e){if(null==t)return t;var n={};return a(t,o,n),n}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=(n(123),n(130));n(22);t.exports=r}).call(e,n(29))},function(t,e,n){"use strict";function o(t,e){for(var n=t;n.parentNode;)n=n.parentNode;var o=n.querySelectorAll(e);return Array.prototype.indexOf.call(o,t)!==-1}var r=n(28),i={addClass:function(t,e){return/\s/.test(e)?r(!1):void 0,e&&(t.classList?t.classList.add(e):i.hasClass(t,e)||(t.className=t.className+" "+e)),t},removeClass:function(t,e){return/\s/.test(e)?r(!1):void 0,e&&(t.classList?t.classList.remove(e):i.hasClass(t,e)&&(t.className=t.className.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),t},conditionClass:function(t,e,n){return(n?i.addClass:i.removeClass)(t,e)},hasClass:function(t,e){return/\s/.test(e)?r(!1):void 0,t.classList?!!e&&t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1},matchesSelector:function(t,e){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||function(e){return o(t,e)};return n.call(t,e)}};t.exports=i},10,function(t,e){"use strict";function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(t){return"function"==typeof t}function r(t){return"number"==typeof t}function i(t){return"object"===("undefined"==typeof t?"undefined":u(t))&&null!==t}function a(t){return void 0===t}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!r(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,r,u,s,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}if(n=this._events[t],a(n))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:u=Array.prototype.slice.call(arguments,1),n.apply(this,u)}else if(i(n))for(u=Array.prototype.slice.call(arguments,1),c=n.slice(),r=c.length,s=0;s<r;s++)c[s].apply(this,u);return!0},n.prototype.addListener=function(t,e){var r;if(!o(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,o(e.listener)?e.listener:e),this._events[t]?i(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,i(this._events[t])&&!this._events[t].warned&&(r=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,r&&r>0&&this._events[t].length>r&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),r||(r=!0,e.apply(this,arguments))}if(!o(e))throw TypeError("listener must be a function");var r=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,r,a,u;if(!o(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],a=n.length,r=-1,n===e||o(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(i(n)){for(u=a;u-- >0;)if(n[u]===e||n[u].listener&&n[u].listener===e){r=u;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],o(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){var e;return e=this._events&&this._events[t]?o(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(o(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e){"use strict";"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){return t&&"object"===("undefined"==typeof t?"undefined":n(t))&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t){return"string"==typeof t?(0,l.default)(t.toLowerCase()):""}function i(t,e){if(t=r(t),!(0,M.validateEmail)(t))return e({});var n="https://secure.gravatar.com/"+f(t)+".json";d.default.get(n,function(t,n){!t&&n&&n.entry&&n.entry[0]?e(null,n.entry[0].displayName):e({})})}function a(t,e){return t=r(t),(0,M.validateEmail)(t)?void e(null,"https://secure.gravatar.com/avatar/"+f(t)+"?d=404&s=160"):e({})}e.__esModule=!0,e.displayName=i,e.url=a;var u=n(175),s=o(u),c=n(25),l=o(c),p=n(326),d=o(p),M=n(26),f=s.default.md5||s.default},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(83),p=r(l),d=n(86),M=r(d),f=n(84),g=r(f),y=n(38),h=n(11),N=n(2),D=o(N),I=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.handleDontRememberPasswordClick=function(t){t.preventDefault(),(0,y.showResetPasswordActivity)(D.id(this.props.lock))},e.prototype.render=function(){var t=this.props,e=t.emailInputPlaceholder,n=t.forgotPasswordAction,o=t.i18n,r=t.instructions,i=t.lock,a=t.passwordInputPlaceholder,u=t.showForgotPasswordLink,s=t.showPassword,l=t.usernameInputPlaceholder,d=t.usernameStyle,f=r||null,y=f&&c.default.createElement("p",null,f),N="email"===d?c.default.createElement(p.default,{i18n:o,lock:i,placeholder:e}):c.default.createElement(M.default,{i18n:o,lock:i,placeholder:l,usernameStyle:d,validateFormat:!1}),D=s?c.default.createElement(g.default,{i18n:o,lock:i,placeholder:a}):null,I=u&&(0,h.hasScreen)(i,"forgotPassword")?c.default.createElement("p",{className:"auth0-lock-alternative"},c.default.createElement("a",{className:"auth0-lock-alternative-link",href:(0,h.forgotPasswordLink)(i,"#"),onClick:(0,h.forgotPasswordLink)(i)?void 0:this.handleDontRememberPasswordClick.bind(this)},n)):null;return c.default.createElement("div",null,y,N,D,I)},e}(c.default.Component);e.default=I,I.propTypes={emailInputPlaceholder:c.default.PropTypes.string.isRequired,forgotPasswordAction:c.default.PropTypes.string.isRequired,i18n:c.default.PropTypes.object.isRequired,instructions:c.default.PropTypes.any,lock:c.default.PropTypes.object.isRequired,passwordInputPlaceholder:c.default.PropTypes.string.isRequired,showForgotPasswordLink:c.default.PropTypes.bool.isRequired,showPassword:c.default.PropTypes.bool.isRequired,usernameInputPlaceholder:c.default.PropTypes.string.isRequired,usernameStyle:c.default.PropTypes.oneOf(["any","email","username"])}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=n(1),s=o(u),c=n(305),l=o(c),p=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.mfaInputPlaceholder,n=t.i18n,o=t.instructions,r=t.lock,i=t.title,a=o||null,u=a&&s.default.createElement("p",null,a),c=s.default.createElement(l.default,{i18n:n,lock:r,placeholder:e}),p=i&&s.default.createElement("h2",null,i);return s.default.createElement("div",null,p,u,c)},e}(s.default.Component);e.default=p,p.propTypes={mfaInputPlaceholder:s.default.PropTypes.string.isRequired,title:s.default.PropTypes.string.isRequired,i18n:s.default.PropTypes.object.isRequired,instructions:s.default.PropTypes.any,lock:s.default.PropTypes.object.isRequired}},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.closeHandler=M.closeLock,e.key="auxiliarypane",e.lock=t,t.get("passwordResetted")?l.default.createElement(N,e):null}e.__esModule=!0,e.renderPasswordResetConfirmation=s;var c=n(1),l=r(c),p=n(87),d=r(p),M=n(24),f=n(2),g=o(f),y=n(13),h=o(y),N=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.handleClose=function(){var t=this.props,e=t.closeHandler,n=t.lock;e(g.id(n))},e.prototype.render=function(){var t=this.props.lock,e=g.ui.closable(t)?this.handleClose.bind(this):void 0;return l.default.createElement(d.default,{closeHandler:e},l.default.createElement("p",null,h.html(this.props.lock,["success","forgotPassword"])))},e}(l.default.Component);e.default=N,N.propTypes={closeHandler:l.default.PropTypes.func.isRequired,lock:l.default.PropTypes.object.isRequired}},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(16),p=r(l),d=n(285),M=r(d),f=n(11),g=n(38),y=n(283),h=n(13),N=o(h),D=function(t){var e=t.i18n,n=t.model,o=e.html("forgotPasswordInstructions")||null,r=o&&c.default.createElement("p",null,o);return c.default.createElement(M.default,{emailInputPlaceholder:e.str("emailInputPlaceholder"),header:r,i18n:e,lock:n})},I=function(t){function e(){return i(this,e),a(this,t.call(this,"forgotPassword"))}return u(e,t),e.prototype.backHandler=function(t){return(0,f.hasScreen)(t,"login")?g.cancelResetPassword:void 0},e.prototype.submitButtonLabel=function(t){return N.str(t,["forgotPasswordSubmitLabel"])},e.prototype.submitHandler=function(){return g.resetPassword},e.prototype.renderAuxiliaryPane=function(t){return(0,y.renderPasswordResetConfirmation)(t)},e.prototype.render=function(){return D},e}(p.default);e.default=I},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(83),p=r(l),d=n(2),M=(o(d),function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.render=function(){var t=this.props,e=t.emailInputPlaceholder,n=t.header,o=t.i18n,r=t.lock;return c.default.createElement("div",null,n,c.default.createElement(p.default,{i18n:o,lock:r,placeholder:e}))},e}(c.default.Component));M.propTypes={emailInputPlaceholder:c.default.PropTypes.string.isRequired,lock:c.default.PropTypes.object.isRequired},e.default=M},function(t,e,n){"use strict"; +function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(1),i=o(r),a=function(t){var e=t.checkHandler,n=t.checked,o=t.children;return e?i.default.createElement("span",{className:"auth0-lock-sign-up-terms-agreement"},i.default.createElement("label",null,i.default.createElement("input",{type:"checkbox",onChange:e,checked:n}),o)):o};e.default=a},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.closeHandler=M.closeLock,e.key="auxiliarypane",e.lock=t,t.get("signedUp")&&!(0,y.shouldAutoLogin)(t)?l.default.createElement(D,e):null}e.__esModule=!0,e.renderSignedUpConfirmation=s;var c=n(1),l=r(c),p=n(87),d=r(p),M=n(24),f=n(2),g=o(f),y=n(11),h=n(13),N=o(h),D=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.handleClose=function(){var t=this.props,e=t.closeHandler,n=t.lock;e(g.id(n))},e.prototype.render=function(){var t=this.props.lock,e=g.ui.closable(t)?this.handleClose.bind(this):void 0;return l.default.createElement(d.default,{closeHandler:e},l.default.createElement("p",null,N.html(t,["success","signUp"])))},e}(l.default.Component);e.default=D,D.propTypes={closeHandler:l.default.PropTypes.func.isRequired,lock:l.default.PropTypes.object.isRequired}},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(86),p=r(l),d=n(84),M=r(d),f=n(2),g=(o(f),function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.render=function(){var t=this.props,e=t.header,n=t.i18n,o=t.model,r=t.passwordInputPlaceholder,i=t.usernameInputPlaceholder;return c.default.createElement("div",null,e,c.default.createElement(p.default,{i18n:n,lock:o,placeholder:i,validateFormat:!1}),c.default.createElement(M.default,{i18n:n,lock:o,placeholder:r}))},e}(c.default.Component));e.default=g,g.propTypes={header:c.default.PropTypes.element,i18n:c.default.PropTypes.object.isRequired,model:c.default.PropTypes.object.isRequired,passwordInputPlaceholder:c.default.PropTypes.string.isRequired,usernameInputPlaceholder:c.default.PropTypes.string.isRequired}},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(16),p=r(l),d=n(30),M=n(288),f=r(M),g=n(80),y=n(23),h=n(13),N=o(h),D=function(t){var e,n=t.i18n,o=t.model,r=(0,y.enterpriseDomain)(o);e=null!=r?n.html("enterpriseActiveLoginInstructions",r):n.html("enterpriseLoginIntructions"),e=e||null;var i=e&&c.default.createElement("p",null,e);return c.default.createElement(f.default,{header:i,i18n:n,model:o,passwordInputPlaceholder:n.str("passwordInputPlaceholder"),usernameInputPlaceholder:n.str("usernameInputPlaceholder")})},I=function(t){function e(){return i(this,e),a(this,t.call(this,"hrd"))}return u(e,t),e.prototype.backHandler=function(t){return(0,y.isSingleHRDConnection)(t)?null:g.cancelHRD},e.prototype.submitButtonLabel=function(t){return N.str(t,["loginSubmitLabel"])},e.prototype.submitHandler=function(t){return g.logIn},e.prototype.renderAuxiliaryPane=function(t){return(0,d.renderSignedInConfirmation)(t)},e.prototype.render=function(){return D},e}(p.default);e.default=I},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(16),p=r(l),d=n(89),M=r(d),f=n(54),g=n(30),y=n(2),h=o(y),N=n(23),D=function(t){var e=t.i18n,n=t.model,o=e.html("windowsAuthInstructions")||null,r=o&&c.default.createElement("p",null,o);return c.default.createElement(M.default,{alternativeLabel:e.str("notYourAccountAction"),alternativeClickHandler:function(){return(0,f.skipQuickAuth)(h.id(n))},buttonLabel:e.str("windowsAuthLabel"),buttonClickHandler:function(t){return(0,f.logIn)(h.id(n),(0,N.corpNetworkConnection)(n))},header:r,strategy:"windows"})},I=function(t){function e(){return i(this,e),a(this,t.call(this,"kerberos"))}return u(e,t),e.prototype.renderAuxiliaryPane=function(t){return(0,g.renderSignedInConfirmation)(t)},e.prototype.render=function(){return D},e}(p.default);e.default=I},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){return"google-apps"===t?t:~["adfs","office365","waad"].indexOf(t)?"windows":"auth0"}e.__esModule=!0;var c=n(1),l=r(c),p=n(16),d=r(p),M=n(89),f=r(M),g=n(54),y=n(30),h=n(2),N=o(h),D=n(23),I=n(39),j=function(t){var e=t.i18n,n=t.model,o=e.html("enterpriseLoginIntructions")||null,r=o&&l.default.createElement("p",null,o),i=(0,I.authButtonsTheme)(n),a=(0,D.quickAuthConnection)(n),u=a.getIn(["name"]),c=a.getIn(["domains",0]),p=i.get(a.get("name")),d=p&&p.get("displayName")||c&&e.str("loginAtLabel",c)||e.str("loginAtLabel",u),M=p&&p.get("primaryColor"),y=p&&p.get("foregroundColor"),h=p&&p.get("icon");return l.default.createElement(f.default,{buttonLabel:d,buttonClickHandler:function(t){return(0,g.logIn)(N.id(n),(0,D.quickAuthConnection)(n))},header:r,buttonIcon:h,primaryColor:M,foregroundColor:y,strategy:s((0,D.quickAuthConnection)(n).get("strategy"))})},m=function(t){function e(){return i(this,e),a(this,t.call(this,"enterpriseQuickAuth"))}return u(e,t),e.prototype.renderAuxiliaryPane=function(t){return(0,y.renderSignedInConfirmation)(t)},e.prototype.render=function(){return j},e}(d.default);e.default=m},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c=n(277),l=n(12),p=n(310),d=n(53),M=r(d),f=n(24),g=n(11),y=n(2),h=o(y),N=n(8),D=(o(N),n(325)),I=o(D),j=n(13),m=o(j),L=n(45),w=function(t){function e(n,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments[3];if(i(this,e),"string"!=typeof n)throw new Error("A `clientID` string must be provided as first argument.");if("string"!=typeof o)throw new Error("A `domain` string must be provided as second argument.");if("object"!=("undefined"==typeof r?"undefined":s(r)))throw new Error("When provided, the third argument must be an `options` object.");var c=a(this,t.call(this));c.validEvents=["show","hide","unrecoverable_error","authenticated","authorization_error","hash_parsed"],c.id=I.incremental(),c.engine=u;var d=c.runHook.bind(c),M=c.emit.bind(c);(0,L.go)(c.id);var y=(0,f.setupLock)(c.id,n,o,r,d,M);return c.on("newListener",function(t){c.validEvents.indexOf(t)===-1&&h.emitUnrecoverableErrorEvent(y,'Invalid event "'+t+'".')}),e.hasScheduledAuthCallback||(e.hasScheduledAuthCallback=!0,setTimeout(f.handleAuthCallback,0)),(0,l.observe)("render",c.id,function(t){var e=function(e,n){var o=e[n](t);return o?function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return o.apply(void 0,[h.id(t)].concat(n))}:o},n=h.ui.avatar(t)&&"ok"===t.getIn(["avatar","transient","syncStatus"])||null,o=n?m.str(t,"welcome",t.getIn(["avatar","transient","displayName"])):m.str(t,"title");if(h.rendering(t)){var r=c.engine.render(t),i="main.signUp"===r.name&&!(0,g.termsAccepted)(t),a={group:function(e){return m.group(t,e)},html:function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return m.html.apply(m,[t,e].concat(o))},str:function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return m.str.apply(m,[t,e].concat(o))}},u={avatar:n&&t.getIn(["avatar","transient","url"]),auxiliaryPane:r.renderAuxiliaryPane(t),autofocus:h.ui.autofocus(t),backHandler:e(r,"backHandler"),badgeLink:"https://auth0.com/?utm_source=lock&utm_campaign=badge&utm_medium=widget",closeHandler:h.ui.closable(t)?function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return f.closeLock.apply(void 0,[h.id(t)].concat(n))}:void 0,contentComponent:r.render(),contentProps:{i18n:a,model:t},disableSubmitButton:i,error:h.globalError(t),isMobile:h.ui.mobile(t),isModal:h.ui.appendContainer(t),isSubmitting:h.submitting(t),logo:h.ui.logo(t),primaryColor:h.ui.primaryColor(t),screenName:r.name,showBadge:h.showBadge(t)===!0,success:h.globalSuccess(t),submitButtonLabel:h.ui.labeledSubmitButton(t)?r.submitButtonLabel(t):null,submitHandler:e(r,"submitHandler"),tabs:r.renderTabs(t),terms:r.renderTerms(t,a.html("signUpTerms")),title:o,transitionName:"loading"===r.name?"fade":"horizontal-fade"};(0,p.render)(h.ui.containerID(t),u),c.oldScreenName&&c.oldScreenName==r.name||("main.login"===r.name?h.emitEvent(t,"signin ready"):"main.signUp"===r.name&&h.emitEvent(t,"signup ready")),c.oldScreenName=r.name}else(0,p.remove)(h.ui.containerID(t))}),c}return u(e,t),e.prototype.show=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,f.openLock)(this.id,t)},e.prototype.hide=function(){(0,f.closeLock)(this.id,!0)},e.prototype.destroy=function(){(0,f.removeLock)(this.id)},e.prototype.getProfile=function(t,e){return M.default.getProfile(this.id,t,e)},e.prototype.getUserInfo=function(t,e){return M.default.getUserInfo(this.id,t,e)},e.prototype.logout=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};M.default.signOut(this.id,t)},e.prototype.update=function(t){return(0,f.updateLock)(this.id,t)},e.prototype.setModel=function(t){return this.update(function(){return t})},e.prototype.runHook=function(t,e){var n;if("function"!=typeof this.engine[t])return e;for(var o=arguments.length,r=Array(o>2?o-2:0),i=2;i<o;i++)r[i-2]=arguments[i];return(n=this.engine)[t].apply(n,[e].concat(r))},e}(c.EventEmitter);e.default=w},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){(0,c.load)({method:"setClient",url:(0,s.default)(e,"client",t+".js?t"+ +new Date),check:function(e){return e&&e.id===t},cb:n})}function a(t,e){return t=(0,d.initClient)(t,e),t=p.filterConnections(t),t=p.runHook(t,"didReceiveClientSettings")}e.__esModule=!0,e.fetchClientSettings=i,e.syncClientSettingsSuccess=a;var u=n(131),s=r(u),c=n(90),l=n(2),p=o(l),d=n(135)},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(16),p=r(l),d=n(2),M=(o(d),function(t){function e(){return i(this,e),a(this,t.call(this,"error"))}return u(e,t),e.prototype.render=function(){return f},e}(p.default));e.default=M;var f=function(t){var e=t.i18n;return c.default.createElement("div",{className:"auth0-lock-error-pane"},c.default.createElement("p",null,e.html("unrecoverableError")))};f.propTypes={i18n:c.default.PropTypes.object.isRequired}},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(16),p=r(l),d=n(24),M=n(2),f=o(M),g=function(t){function e(){return i(this,e),a(this,t.call(this,"loading"))}return u(e,t),e.prototype.render=function(){return y},e}(p.default);e.default=g;var y=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.componentDidMount=function(){var t=this.props.model;(0,d.pinLoadingPane)(f.id(t)),setTimeout(function(){return(0,d.unpinLoadingPane)(f.id(t))},1200)},e.prototype.render=function(){return c.default.createElement("div",{className:"auth0-loading-screen"},c.default.createElement("div",{className:"auth0-loading-container"},c.default.createElement("div",{className:"auth0-loading"})))},e}(c.default.Component);y.propTypes={model:c.default.PropTypes.object.isRequired}},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t){return t=d.useTenantInfo(t)?(0,g.default)(t,"client",{syncFn:function(t,e){return(0,c.fetchTenantSettings)(d.tenantBaseUrl(t),e)},successFn:function(t,e){return(0,c.syncTenantSettingsSuccess)(t,d.clientID(t),e)}}):(0,g.default)(t,"client",{syncFn:function(t,e){return(0,s.fetchClientSettings)(d.clientID(t),d.clientBaseUrl(t),e)},successFn:s.syncClientSettingsSuccess}),t=(0,g.default)(t,"sso",{conditionFn:d.auth.sso,waitFn:function(t){return(0,f.isSuccess)(t,"client")},syncFn:function(t,e){return(0,l.fetchSSOData)(d.id(t),(0,M.isADEnabled)(t),e)},successFn:function(t,e){return t.mergeIn(["sso"],u.default.fromJS(e))},errorFn:function(t,e){var n=location.protocol+"//"+location.hostname;location.port&&(n+=":"+location.port);var o="https://manage.auth0.com/#/applications/"+d.clientID(t)+"/settings";d.warn(t,'There was an error fetching the SSO data. This could simply mean that there was a problem with the network. But, if a "Origin" error has been logged before this warning, please add "'+n+'" to the "Allowed Origins (CORS)" list in the Auth0 dashboard: '+o)}})}e.__esModule=!0,e.syncRemoteData=i;var a=n(9),u=r(a),s=n(293),c=n(299),l=n(297),p=n(2),d=o(p),M=n(23),f=n(45),g=r(f)},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n){c.get(t,e,n)}e.__esModule=!0,e.fetchSSOData=r;var i=n(53),a=o(i),u=n(323),s=o(u),c=new s.default(function(){return a.default.getSSOData.apply(a.default,arguments)})},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){return I.STRATEGIES[t]?t:"google-apps"===t?t:~["adfs","office365","waad"].indexOf(t)?"windows":"auth0"}e.__esModule=!0;var c=n(1),l=r(c),p=n(16),d=r(p),M=n(89),f=r(M),g=n(54),y=n(137),h=n(2),N=o(h),D=n(30),I=n(39),j=function(t){var e=t.i18n,n=t.model,o=e.html("lastLoginInstructions")||null,r=o&&l.default.createElement("p",null,o),i=function(){(0,g.logIn)(N.id(n),(0,y.lastUsedConnection)(n),(0,y.lastUsedUsername)(n))};return l.default.createElement(f.default,{alternativeLabel:e.str("notYourAccountAction"),alternativeClickHandler:function(){return(0,g.skipQuickAuth)(N.id(n))},buttonLabel:(0,y.lastUsedUsername)(n),buttonClickHandler:i,header:r,strategy:s((0,y.lastUsedConnection)(n).get("strategy"))})},m=function(t){function e(){return i(this,e),a(this,t.call(this,"lastLogin"))}return u(e,t),e.prototype.renderAuxiliaryPane=function(t){return(0,D.renderSignedInConfirmation)(t)},e.prototype.render=function(){return j},e}(d.default);e.default=m},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t,e){(0,a.load)({method:"setTenant",url:t+"?t"+ +new Date,check:function(){return!0},cb:e})}function i(t,e,n){return t=(0,c.initTenant)(t,e,n),t=s.filterConnections(t),t=s.runHook(t,"didReceiveClientSettings")}e.__esModule=!0,e.fetchTenantSettings=r,e.syncTenantSettingsSuccess=i;var a=n(90),u=n(2),s=o(u),c=n(81)},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){return!(0,k.isSSOEnabled)(t)&&(v.hasSomeConnections(t,"database")?(0,D.hasScreen)(t,"signUp"):v.hasSomeConnections(t,"social")&&(0,D.hasInitialScreen)(t,"signUp")?(0,D.hasScreen)(t,"signUp"):void 0)}e.__esModule=!0;var c=n(1),l=r(c),p=n(16),d=r(p),M=n(139),f=r(M),g=n(281),y=r(g),h=n(136),N=r(h),D=n(11),I=n(38),j=n(30),m=n(133),L=r(m),w=n(2),v=o(w),z=n(8),b=(o(z),n(26),n(80)),C=n(23),T=n(134),E=r(T),k=n(82),S=n(13),x=o(S),O=function(t){var e=t.i18n,n=t.model,o=(t.t,(0,k.isSSOEnabled)(n)),r=(0,k.hasOnlyClassicConnections)(n,"social"),i=s(n)&&l.default.createElement(L.default,{key:"loginsignup",lock:n,loginLabel:e.str("loginLabel"),signUpLink:(0,D.signUpLink)(n),signUpLabel:e.str("signUpLabel")}),a=v.hasSomeConnections(n,"social")&&l.default.createElement(f.default,{bigButtons:(0,k.useBigSocialButtons)(n),instructions:e.html("socialLoginInstructions"),labelFn:e.str,lock:n,showLoading:r,signUp:!1}),u=!o&&(v.hasSomeConnections(n,"database")||!!(0,C.findADConnectionWithoutDomain)(n)),c=u&&v.hasSomeConnections(n,"database"),p=a?"databaseEnterpriseAlternativeLoginInstructions":"databaseEnterpriseLoginInstructions",d="any"===(0,D.databaseUsernameStyle)(n)||v.countConnections(n,"enterprise")>1?"usernameOrEmailInputPlaceholder":"usernameInputPlaceholder",M=(0,D.databaseUsernameStyle)(n),g=(o||v.hasSomeConnections(n,"database")||v.hasSomeConnections(n,"enterprise"))&&l.default.createElement(y.default,{emailInputPlaceholder:e.str("emailInputPlaceholder"),forgotPasswordAction:e.str("forgotPasswordAction"),i18n:e,instructions:e.html(p),lock:n,passwordInputPlaceholder:e.str("passwordInputPlaceholder"),showForgotPasswordLink:c,showPassword:u,usernameInputPlaceholder:e.str(d),usernameStyle:M}),h=o&&l.default.createElement(E.default,null,e.str("ssoEnabled")),I=a&&g&&l.default.createElement(N.default,null);return l.default.createElement("div",null,h,i,a,I,g)},A=function(t){function e(){return i(this,e),a(this,t.call(this,"main.login"))}return u(e,t),e.prototype.renderAuxiliaryPane=function(t){return(0,j.renderSignedInConfirmation)(t)},e.prototype.renderTabs=function(t){return s(t)},e.prototype.submitButtonLabel=function(t){return x.str(t,["loginSubmitLabel"])},e.prototype.submitHandler=function(t){if((0,k.hasOnlyClassicConnections)(t,"social"))return null;if((0,C.isHRDDomain)(t,(0,D.databaseUsernameValue)(t)))return function(e){return(0,b.startHRD)(e,(0,D.databaseUsernameValue)(t))};var e=!(0,k.isSSOEnabled)(t)&&(0,D.databaseConnection)(t)&&((0,D.defaultDatabaseConnection)(t)||!(0,C.defaultEnterpriseConnection)(t));return e?I.logIn:b.logIn},e.prototype.render=function(){return O},e}(d.default);e.default=A},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(16),p=r(l),d=n(282),M=r(d),f=n(13),g=o(f),y=n(38),h=n(11),N=n(30),D=function(t){var e=t.i18n,n=t.model;return c.default.createElement(M.default,{mfaInputPlaceholder:e.str("mfaInputPlaceholder"),i18n:e,instructions:e.str("mfaLoginInstructions"),lock:n,title:e.str("mfaLoginTitle")})},I=function(t){function e(){return i(this,e),a(this,t.call(this,"mfa.mfaCode"))}return u(e,t),e.prototype.renderAuxiliaryPane=function(t){return(0,N.renderSignedInConfirmation)(t)},e.prototype.submitButtonLabel=function(t){return g.str(t,["mfaSubmitLabel"])},e.prototype.submitHandler=function(t){return function(t){return(0,y.logIn)(t,!0)}},e.prototype.render=function(){return D},e.prototype.backHandler=function(t){return(0,h.hasScreen)(t,"login")?y.cancelMFALogin:void 0},e}(p.default);e.default=I},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=n(1),s=o(u),c=n(83),l=o(c),p=n(84),d=o(p),M=n(86),f=o(M),g=n(11),y=n(304),h=o(y),N=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.emailInputPlaceholder,n=t.instructions,o=t.i18n,r=t.model,i=t.onlyEmail,a=t.passwordInputPlaceholder,u=t.passwordStrengthMessages,c=t.usernameInputPlaceholder,p=n||null,M=p&&s.default.createElement("p",null,p),y=!i&&(0,g.databaseConnectionRequiresUsername)(r)?s.default.createElement(f.default,{i18n:o,lock:r,placeholder:c,validateFormat:!0}):null,N=!i&&(0,g.additionalSignUpFields)(r).map(function(t){return s.default.createElement(h.default,{iconUrl:t.get("icon"),key:t.get("name"),model:r,name:t.get("name"),options:t.get("options"),placeholder:t.get("placeholder"),type:t.get("type"),validator:t.get("validator")})}),D=!i&&s.default.createElement(d.default,{i18n:o,lock:r,placeholder:a,policy:(0,g.passwordStrengthPolicy)(r),strengthMessages:u});return s.default.createElement("div",null,M,s.default.createElement(l.default,{i18n:o,lock:r,placeholder:e}),y,D,N)},e}(s.default.Component);e.default=N},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(16),p=r(l),d=n(11),M=n(286),f=r(M),g=n(38),y=n(133),h=r(y),N=n(30),D=n(287),I=n(302),j=r(I),m=n(139),L=r(m),w=n(8),v=n(2),z=o(v),b=n(136),C=r(b),T=n(82),E=n(134),k=r(E),S=n(80),x=n(13),O=o(x),A=function(t){var e=t.i18n,n=t.model,o=(0,T.isSSOEnabled)(n)&&(0,d.hasScreen)(n,"login"),r=o&&c.default.createElement(k.default,null,e.str("ssoEnabled")),i=!o&&(0,d.hasScreen)(n,"login")&&c.default.createElement(h.default,{key:"loginsignup",lock:n,loginLabel:e.str("loginLabel"),signUpLabel:e.str("signUpLabel")}),a=z.hasSomeConnections(n,"social")&&c.default.createElement(L.default,{bigButtons:(0,T.useBigSocialButtons)(n),instructions:e.html("socialSignUpInstructions"),labelFn:e.str,lock:n,signUp:!0}),u=a?"databaseAlternativeSignUpInstructions":"databaseSignUpInstructions",s=(z.hasSomeConnections(n,"database")||z.hasSomeConnections(n,"enterprise"))&&c.default.createElement(j.default,{emailInputPlaceholder:e.str("emailInputPlaceholder"),i18n:e,instructions:e.html(u),model:n,onlyEmail:o,passwordInputPlaceholder:e.str("passwordInputPlaceholder"),passwordStrengthMessages:e.group("passwordStrength"),usernameInputPlaceholder:e.str("usernameInputPlaceholder")}),l=a&&s&&c.default.createElement(C.default,null);return c.default.createElement("div",null,r,i,a,l,s)},_=function(t){function e(){return i(this,e),a(this,t.call(this,"main.signUp"))}return u(e,t),e.prototype.submitButtonLabel=function(t){return O.str(t,["signUpSubmitLabel"])},e.prototype.submitHandler=function(t){return(0,T.hasOnlyClassicConnections)(t,"social")?null:(0,T.isSSOEnabled)(t)?S.logIn:g.signUp},e.prototype.renderAuxiliaryPane=function(t){return(0,N.renderSignedInConfirmation)(t)||(0,D.renderSignedUpConfirmation)(t)||(0,w.renderOptionSelection)(t)},e.prototype.renderTabs=function(){return!0},e.prototype.renderTerms=function(t,e){var n=(0,d.mustAcceptTerms)(t)?function(){return(0,g.toggleTermsAcceptance)(z.id(t))}:void 0;return e||(0,d.mustAcceptTerms)(t)?c.default.createElement(f.default,{checkHandler:n,checked:(0,d.termsAccepted)(t)},e):null},e.prototype.render=function(){return A},e}(p.default);e.default=_},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},a=n(1),u=r(a),s=n(138),c=n(8),l=n(144),p=r(l),d=n(319),M=r(d),f=n(2),g=o(f),y=function(t){var e=t.iconUrl,n=t.model,o=t.name,r=(t.options,t.placeholder),a=t.type,l=t.validator,d={iconUrl:e,isValid:!(0,c.isFieldVisiblyInvalid)(n,o),name:o,placeholder:r};switch(a){case"select":return u.default.createElement(M.default,i({},d,{label:(0,c.getFieldLabel)(n,o),onClick:function(){ +return(0,s.startOptionSelection)(g.id(n),o,e)}}));default:return u.default.createElement(p.default,i({invalidHint:(0,c.getFieldInvalidHint)(n,o),onChange:function(t){return(0,s.changeField)(g.id(n),o,t.target.value,l)},value:(0,c.getFieldValue)(n,o)},d))}};e.default=y},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(317),p=r(l),d=n(8),M=o(d),f=n(12),g=n(2),y=o(g),h=n(306),N=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.handleChange=function(t){var e=this.props.lock;(0,f.swap)(f.updateEntity,"lock",y.id(e),h.setMFACode,t.target.value)},e.prototype.render=function(){var t=this.props,e=t.i18n,n=t.lock,o=t.placeholder;return c.default.createElement(p.default,{value:M.getFieldValue(n,"mfa_code"),invalidHint:e.str("mfaCodeErrorHint",(0,h.getMFACodeValidation)().length),isValid:!M.isFieldVisiblyInvalid(n,"mfa_code"),onChange:this.handleChange.bind(this),placeholder:o,disabled:y.submitting(n)})},e}(c.default.Component);e.default=N,N.propTypes={i18n:c.default.PropTypes.object.isRequired,lock:c.default.PropTypes.object.isRequired,onChange:c.default.PropTypes.func,placeholder:c.default.PropTypes.string.isRequired}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.mfa_code,n=(0,c.default)(t);if(n.length<e.length)return!1;if(n.length>e.length)return!1;var o=p.exec(n);return o&&o[0]}function i(t,e){return(0,u.setField)(t,"mfa_code",e,r)}function a(t){return l.mfa_code}e.__esModule=!0,e.setMFACode=i,e.getMFACodeValidation=a;var u=n(8),s=(n(26),n(11),n(25)),c=o(s),l={mfa_code:{length:6}},p=/^[0-9]+$/},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(1),i=o(r),a=n(321),u=o(a),s=n(138);e.default=function(t){var e=t.icon,n=t.iconUrl,o=t.model,r=t.name,a=t.items;return i.default.createElement(u.default,{icon:e,iconUrl:n,items:a,onSelect:function(t){return(0,s.selectOption)(o.get("id"),r,t)},onCancel:function(){return(0,s.cancelOptionSelection)(o.get("id"))}})}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){return(0,u.default)(e).check(t)}function i(t,e,n){return(0,s.setField)(t,"password",e,r,n)}e.__esModule=!0,e.validatePassword=r,e.setPassword=i;var a=n(96),u=o(a),s=n(8)},function(t,e){"use strict";e.__esModule=!0,e.default={error:{forgotPassword:{too_many_requests:"You have reached the limit on password change attempts. Please wait before trying again.","lock.fallback":"We're sorry, something went wrong when requesting the password change."},login:{blocked_user:"The user is blocked.",invalid_user_password:"Wrong credentials.","lock.fallback":"We're sorry, something went wrong when attempting to log in.","lock.invalid_code":"Wrong code.","lock.invalid_email_password":"Wrong email or password.","lock.invalid_username_password":"Wrong username or password.","lock.network":"We could not reach the server. Please check your connection and try again.","lock.popup_closed":"Popup window closed. Try again.","lock.unauthorized":"Permissions were not granted. Try again.","lock.mfa_registration_required":"Multifactor authentication is required but your device is not enrolled. Please enroll it before moving on.","lock.mfa_invalid_code":"Wrong code. Please try again.",password_change_required:"You need to update your password because this is the first time you are logging in, or because your password has expired.",password_leaked:"This login has been blocked because your password has been leaked in another website. We’ve sent you an email with instructions on how to unblock it.",too_many_attempts:"Your account has been blocked after multiple consecutive login attempts.",session_missing:"Couldn't complete your authentication request. Please try again after closing all open dialogs"},passwordless:{"bad.email":"The email is invalid","bad.phone_number":"The phone number is invalid","lock.fallback":"We're sorry, something went wrong"},signUp:{invalid_password:"Password is invalid.","lock.fallback":"We're sorry, something went wrong when attempting to sign up.",password_dictionary_error:"Password is too common.",password_no_user_info_error:"Password is based on user information.",password_strength_error:"Password is too weak.",user_exists:"The user already exists.",username_exists:"The username already exists."}},success:{logIn:"Thanks for logging in.",forgotPassword:"We've just sent you an email to reset your password.",magicLink:"We sent you a link to log in<br />to %s.",signUp:"Thanks for signing up."},blankErrorHint:"Can't be blank",codeInputPlaceholder:"your code",databaseEnterpriseLoginInstructions:"",databaseEnterpriseAlternativeLoginInstructions:"or",databaseSignUpInstructions:"",databaseAlternativeSignUpInstructions:"or",emailInputPlaceholder:"yours@example.com",enterpriseLoginIntructions:"Login with your corporate credentials.",enterpriseActiveLoginInstructions:"Please enter your corporate credentials at %s.",failedLabel:"Failed!",forgotPasswordAction:"Don't remember your password?",forgotPasswordInstructions:"Please enter your email address. We will send you an email to reset your password.",forgotPasswordSubmitLabel:"Send email",invalidErrorHint:"Invalid",lastLoginInstructions:"Last time you logged in with",loginAtLabel:"Log in at %s",loginLabel:"Log In",loginSubmitLabel:"Log In",loginWithLabel:"Log in with %s",notYourAccountAction:"Not your account?",passwordInputPlaceholder:"your password",passwordStrength:{containsAtLeast:"Contain at least %d of the following %d types of characters:",identicalChars:'No more than %d identical characters in a row (e.g., "%s" not allowed)',nonEmpty:"Non-empty password required",numbers:"Numbers (i.e. 0-9)",lengthAtLeast:"At least %d characters in length",lowerCase:"Lower case letters (a-z)",shouldContain:"Should contain:",specialCharacters:"Special characters (e.g. !@#$%^&*)",upperCase:"Upper case letters (A-Z)"},passwordlessEmailAlternativeInstructions:"Otherwise, enter your email to sign in<br/>or create an account",passwordlessEmailCodeInstructions:"An email with the code has been sent to %s.",passwordlessEmailInstructions:"Enter your email to sign in<br/>or create an account",passwordlessSMSAlternativeInstructions:"Otherwise, enter your phone to sign in<br/>or create an account",passwordlessSMSCodeInstructions:"An SMS with the code has been sent<br/>to %s.",passwordlessSMSInstructions:"Enter your phone to sign in<br/>or create an account",phoneNumberInputPlaceholder:"your phone number",resendCodeAction:"Did not get the code?",resendLabel:"Resend",resendingLabel:"Resending...",retryLabel:"Retry",sentLabel:"Sent!",signUpLabel:"Sign Up",signUpSubmitLabel:"Sign Up",signUpTerms:"",signUpWithLabel:"Sign up with %s",socialLoginInstructions:"",socialSignUpInstructions:"",ssoEnabled:"Single Sign-On enabled",submitLabel:"Submit",unrecoverableError:"Something went wrong.<br />Please contact technical support.",usernameFormatErrorHint:'Use %d-%d letters, numbers and "_"',usernameInputPlaceholder:"your username",usernameOrEmailInputPlaceholder:"username/email",title:"Auth0",welcome:"Welcome %s!",windowsAuthInstructions:"You are connected from your corporate network…",windowsAuthLabel:"Windows Authentication",mfaInputPlaceholder:"Code",mfaLoginTitle:"2-Step Verification",mfaLoginInstructions:"Please enter the verification code generated by your mobile application.",mfaSubmitLabel:"Log In",mfaCodeErrorHint:"Use %d numbers"}},function(t,e,n){(function(t){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0,e.remove=e.render=void 0;var i=n(1),a=o(i),u=n(41),s=o(u),c=n(95),l=o(c),p=n(142),d=o(p),M=function(){function e(){r(this,e)}return e.prototype.ensure=function(e,n){var o=t.document.getElementById(e);if(!o&&n&&(o=t.document.createElement("div"),o.id=e,o.className="auth0-lock-container",t.document.body.appendChild(o)),!o)throw new Error("Can't find element with id "+e);return o},e}(),f=function(){function e(){r(this,e),this.containerManager=new M,this.modals={}}return e.prototype.render=function(e,n){var o=n.isModal,r=this.containerManager.ensure(e,o);o&&!this.modals[e]&&l.default.addClass(t.document.getElementsByTagName("html")[0],"auth0-lock-html");var i=s.default.render(a.default.createElement(d.default,n),r);return o&&(this.modals[e]=i),i},e.prototype.remove=function(t){var e=this;this.modals[t]?(this.modals[t].hide(),setTimeout(function(){return e.unmount(t)},1e3)):this.unmount(t)},e.prototype.unmount=function(e){try{var n=this.containerManager.ensure(e);n&&s.default.unmountComponentAtNode(n)}catch(t){}this.modals[e]&&(delete this.modals[e],l.default.removeClass(t.document.getElementsByTagName("html")[0],"auth0-lock-html"))},e}(),g=new f;e.render=function(){return g.render.apply(g,arguments)},e.remove=function(){return g.remove.apply(g,arguments)}}).call(e,function(){return this}())},function(t,e,n){(function(t){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c=n(1),l=o(c),p=n(41),d=o(p),M=n(186),f=o(M),g=n(315),y=o(g),h=n(313),N=o(h),D=n(314),I=o(D),j='<svg width="43px" height="42px" viewBox="0 0 43 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"><g id="Lock" sketch:type="MSArtboardGroup" transform="translate(-280.000000, -3592.000000)"><g id="SMS" sketch:type="MSLayerGroup" transform="translate(153.000000, 3207.000000)"><g id="Group" sketch:type="MSShapeGroup"><g id="Login" transform="translate(0.000000, 369.000000)"><g id="Btn"><g id="Oval-302-+-Shape" transform="translate(128.000000, 17.000000)"><circle id="Oval-302" stroke="#FFFFFF" stroke-width="2" cx="20.5" cy="20" r="20"></circle><path d="M17.8,15.4 L19.2,14 L25.2,20 L19.2,26 L17.8,24.6 L22.4,20 L17.8,15.4 Z" id="Shape" fill="#FFFFFF"></path></g></g></g></g></g></g></g></svg>',m='<svg class="icon-text" width="8px" height="12px" viewBox="0 0 8 12" version="1.1" xmlns="http://www.w3.org/2000/svg"><g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Web/Submit/Active" transform="translate(-148.000000, -32.000000)" fill="#FFFFFF"><polygon id="Shape" points="148 33.4 149.4 32 155.4 38 149.4 44 148 42.6 152.6 38"></polygon></g></g></svg>',L=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.focus=function(){d.default.findDOMNode(this).focus()},e.prototype.render=function(){var t=this.props,e=t.color,n=t.disabled,o=t.label,r=o?l.default.createElement("span",{className:"auth0-label-submit"},o,l.default.createElement("span",{dangerouslySetInnerHTML:{__html:m}})):l.default.createElement("span",{dangerouslySetInnerHTML:{__html:j}});return l.default.createElement("button",{className:"auth0-lock-submit",disabled:n,style:{backgroundColor:e},type:"submit"},l.default.createElement("div",{className:"auth0-loading-container"},l.default.createElement("div",{className:"auth0-loading"})),r)},e}(l.default.Component);L.propTypes={color:l.default.PropTypes.string.isRequired,disabled:l.default.PropTypes.bool,label:l.default.PropTypes.string};var w=250,v=350,z=function(e){function n(t){r(this,n);var o=i(this,e.call(this,t));return o.state={moving:!1,reverse:!1},o}return a(n,e),n.prototype.componentWillReceiveProps=function(e){var n=this,o=this.props,r=o.auxiliaryPane,i=o.showSubmitButton,a=this.state.delayingShowSubmitButton;i||!e.showSubmitButton||a||this.setState({delayingShowSubmitButton:!0}),!r&&e.auxiliaryPane&&(this.auxiliaryPaneTriggerInput=t.document.activeElement,this.setState({moving:!0})),r&&!e.auxiliaryPane&&setTimeout(function(){return n.setState({moving:!1})},v+50)},n.prototype.componentDidUpdate=function(t){var e=this,n=this.props,o=n.autofocus,r=n.auxiliaryPane,i=n.error,a=n.screenName;if(o){if(r&&!t.auxiliaryPane){var u=function(){var t=e.findAutofocusInput(e.refs.auxiliary);return t&&setTimeout(function(){return t.focus()},v),{v:void 0}}();if("object"===("undefined"==typeof u?"undefined":s(u)))return u.v}if(!r&&t.auxiliaryPane)return void(this.auxiliaryPaneTriggerInput&&setTimeout(function(){return e.auxiliaryPaneTriggerInput.focus()},v));if(a!==t.screenName){var c=function(){var n=e.findAutofocusInput();return n&&(e.mainScreenName(t.screenName)!==e.mainScreenName()?e.inputToFocus=n:setTimeout(function(){return n.focus()},17)),{v:void 0}}();if("object"===("undefined"==typeof c?"undefined":s(c)))return c.v}if(!t.error&&i){var l=function(){var t=e.findAutofocusInput();return t&&setTimeout(function(){return t.focus()},17),{v:void 0}}();if("object"===("undefined"==typeof l?"undefined":s(l)))return l.v}}},n.prototype.onWillSlide=function(){this.setState({moving:!0}),this.sliding=!0},n.prototype.onDidSlide=function(){this.sliding=!1,this.setState({reverse:!1})},n.prototype.onDidAppear=function(){this.setState({moving:!1}),this.state.delayingShowSubmitButton&&this.setState({delayingShowSubmitButton:!1}),this.inputToFocus&&(this.inputToFocus.focus(),delete this.inputToFocus)},n.prototype.mainScreenName=function(t){return(t||this.props.screenName||"").split(".")[0]},n.prototype.findAutofocusInput=function(t){return d.default.findDOMNode(t||this.refs.screen).querySelector("input")},n.prototype.focusError=function(){var t=d.default.findDOMNode(this.refs.screen),e=t.querySelector(".auth0-lock-error input");e&&e.focus()},n.prototype.render=function(){var t=this.props,e=t.avatar,n=t.auxiliaryPane,o=t.backHandler,r=t.contentComponent,i=t.contentProps,a=t.disableSubmitButton,s=t.error,c=(t.isSubmitting,t.logo),p=t.primaryColor,d=(t.screenName,t.showSubmitButton),M=t.submitButtonLabel,g=t.success,h=t.terms,D=t.title,j=t.transitionName,m=this.state,z=m.delayingShowSubmitButton,b=m.moving,C=m.reverse,T=void 0,E=void 0;e?(T=e,E=D):(T=c,E="");var k=d&&!z&&l.default.createElement(L,{color:p,disabled:a,key:"submit",label:M,ref:"submit"}),S=s?l.default.createElement(N.default,{key:"global-error",message:s,type:"error"}):null,x=g?l.default.createElement(N.default,{key:"global-success",message:g,type:"success"}):null,O=r,A="auth0-lock-cred-pane",_=!b&&!z;return A+=_?" auth0-lock-quiet":" auth0-lock-moving",l.default.createElement("div",{className:A},l.default.createElement(I.default,{title:D,name:E,backHandler:o&&this.handleBack.bind(this),backgroundUrl:T,backgroundColor:p,logoUrl:c}),l.default.createElement(f.default,{transitionName:"global-message",transitionEnterTimeout:w,transitionLeaveTimeout:w},x,S),l.default.createElement("div",{style:{position:"relative"}},l.default.createElement(y.default,{delay:550,onDidAppear:this.onDidAppear.bind(this),onDidSlide:this.onDidSlide.bind(this),onWillSlide:this.onWillSlide.bind(this),transitionName:j,reverse:C},l.default.createElement("div",{key:this.mainScreenName(),className:"auth0-lock-view-content"},l.default.createElement("div",{style:{position:"relative"}},l.default.createElement("div",{className:"auth0-lock-body-content"},l.default.createElement("div",{className:"auth0-lock-content"},l.default.createElement("div",{className:"auth0-lock-form",ref:"screen"},l.default.createElement(O,u({focusSubmit:this.focusSubmit.bind(this)},i)))),h&&l.default.createElement("small",{className:"auth0-lock-terms"},h)))))),k,l.default.createElement(f.default,{ref:"auxiliary",transitionName:"slide",transitionEnterTimeout:v,transitionLeaveTimeout:v},n))},n.prototype.focusSubmit=function(){this.refs.submit.focus()},n.prototype.handleBack=function(){if(!this.sliding){var t=this.props.backHandler;this.setState({reverse:!0}),t()}},n}(l.default.Component);e.default=z,z.propTypes={autofocus:l.default.PropTypes.bool.isRequired,avatar:l.default.PropTypes.string,auxiliaryPane:l.default.PropTypes.element,backHandler:l.default.PropTypes.func,contentComponent:l.default.PropTypes.func.isRequired,contentProps:l.default.PropTypes.object.isRequired,disableSubmitButton:l.default.PropTypes.bool.isRequired,error:l.default.PropTypes.string,isSubmitting:l.default.PropTypes.bool.isRequired,logo:l.default.PropTypes.string.isRequired,primaryColor:l.default.PropTypes.string.isRequired,showSubmitButton:l.default.PropTypes.bool.isRequired,submitButtonLabel:l.default.PropTypes.string,success:l.default.PropTypes.string,terms:l.default.PropTypes.element,title:l.default.PropTypes.string.isRequired,transitionName:l.default.PropTypes.string.isRequired},z.defaultProps={autofocus:!1,disableSubmitButton:!1,showSubmitButton:!0}}).call(e,function(){return this}())},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(1),i=o(r),a=n(55),u=function(t){var e=t.backHandler,n=t.children,o=t.closeHandler,r=t.svg;return i.default.createElement("div",{className:"auth0-lock-confirmation"},o&&i.default.createElement(a.CloseButton,{onClick:o}),e&&i.default.createElement(a.BackButton,{onClick:e}),i.default.createElement("div",{className:"auth0-lock-confirmation-content"},i.default.createElement("span",{dangerouslySetInnerHTML:{__html:r}}),n))};u.propTypes={backHandler:i.default.PropTypes.func,closeHandler:i.default.PropTypes.func,children:i.default.PropTypes.oneOfType([i.default.PropTypes.element.isRequired,i.default.PropTypes.arrayOf(i.default.PropTypes.element).isRequired]),svg:i.default.PropTypes.string.isRequired},e.default=u},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=n(1),s=o(u),c=n(41),l=(o(c),function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.message,n=t.type,o="auth0-global-message auth0-global-message-"+n;return s.default.createElement("div",{className:o},s.default.createElement("span",{className:"animated fadeInUp"},e))},e}(s.default.Component));e.default=l,l.propTypes={message:s.default.PropTypes.string.isRequired,type:s.default.PropTypes.oneOf(["error","success"]).isRequired}},function(t,e,n){(function(t){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=n(1),s=o(u),c=n(55),l=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.backHandler,n=t.backgroundColor,o=t.backgroundUrl,r=t.logoUrl,i=t.name,a=t.title;return s.default.createElement("div",{className:"auth0-lock-header"},e&&s.default.createElement(c.BackButton,{onClick:e}),s.default.createElement(f,{imageUrl:o,backgroundColor:n,grayScale:!!i}),s.default.createElement(p,{title:a,name:i,imageUrl:i?void 0:r}))},e}(s.default.Component);e.default=l,l.propTypes={backgroundUrl:s.default.PropTypes.string,logoUrl:s.default.PropTypes.string,name:s.default.PropTypes.string};var p=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.name,n=t.imageUrl,o=t.title,r=s.default.createElement("img",{className:"auth0-lock-header-logo",src:n});return s.default.createElement("div",{className:"auth0-lock-header-welcome"},n&&r,s.default.createElement(d,{title:o,name:e}))},e}(s.default.Component);p.propTypes={imageUrl:s.default.PropTypes.string,name:s.default.PropTypes.string};var d=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.name,n=t.title,o=void 0,r=void 0;return e?(o="auth0-lock-firstname",r=e):(o="auth0-lock-name",r=n),s.default.createElement("div",{className:o},r)},e}(s.default.Component);d.propTypes={name:s.default.PropTypes.string};var M=function(){var e=t.navigator&&!!t.navigator.userAgent.match(/Edge/i);if("undefined"==typeof t.document||e)return!1;var n=t.document.createElement("div");return n.style.cssText="filter: blur(2px); -webkit-filter: blur(2px)",!!n.style.length&&(void 0===t.document.documentMode||t.document.documentMode>9)}(),f=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.backgroundColor,n=t.imageUrl,o=t.grayScale,r={className:"auth0-lock-header-bg"};M&&(r.className+=" auth0-lock-blur-support");var i={className:"auth0-lock-header-bg-blur",style:{backgroundImage:"url('"+n+"')"}};o&&(i.className+=" auth0-lock-no-grayscale");var a={className:"auth0-lock-header-bg-solid",style:{backgroundColor:e}};return s.default.createElement("div",r,s.default.createElement("div",i),s.default.createElement("div",a))},e}(s.default.Component);f.propTypes={backgorundColor:s.default.PropTypes.string,grayScale:s.default.PropTypes.bool,imageUrl:s.default.PropTypes.string}}).call(e,function(){return this}())},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=n(1),s=o(u),c=n(41),l=o(c),p=n(95),d=o(p),M=function(t){function e(n){r(this,e);var o=i(this,t.call(this,n));return o.state={children:{current:n.children}},o}return a(e,t),e.prototype.componentWillReceiveProps=function(t){this.state.children.current.key!=t.children.key?(this.setState({children:{current:t.children,prev:this.state.children.current},transitionName:this.props.transitionName}),this.animate=!0):this.timeout||this.setState({children:{current:t.children},transitionName:t.transitionName})},e.prototype.componentDidUpdate=function(){var t=this;this.animate&&!function(){t.animate=!1;var e=t.state.transitionName,n=t.state.children,o=n.current,r=n.prev,i=t.props.reverse,a=t.refs[o.key],u=t.refs[r.key],s=function(t,e,n){var o=l.default.findDOMNode(t),r=e+"-active";d.default.addClass(o,e),setTimeout(function(){return d.default.addClass(o,r)},17),n&&setTimeout(function(){d.default.removeClass(o,e),d.default.removeClass(o,r)},n)},c=function(n){a.componentWillSlideIn(n);var o=i?"reverse-":"";s(a,""+o+e+"-enter",t.props.delay),s(u,""+o+e+"-leave"),t.timeout=setTimeout(function(){var e;t.setState({children:{current:t.state.children.current},transitionName:t.props.transitionName}),a.componentDidSlideIn((e=t.props).onDidAppear.bind(e)),t.props.onDidSlide(),t.timeout=null},t.props.delay)};t.props.onWillSlide(),u.componentWillSlideOut(c)}()},e.prototype.componentWillUnmount=function(){this.timeout&&clearTimeout(this.timeout)},e.prototype.render=function(){var t=this.state.children,e=t.current,n=t.prev,o=n?[e,n]:[e],r=o.map(function(t){return s.default.cloneElement(s.default.createElement(f,{},t),{ref:t.key,key:t.key})});return s.default.createElement(this.props.component,{},r)},e}(s.default.Component);e.default=M,M.propTypes={component:s.default.PropTypes.string,delay:s.default.PropTypes.number.isRequired,onDidAppear:s.default.PropTypes.func.isRequired,onDidSlide:s.default.PropTypes.func.isRequired,onWillSlide:s.default.PropTypes.func.isRequired,reverse:s.default.PropTypes.bool.isRequired,transitionName:s.default.PropTypes.string.isRequired},M.defaultProps={component:"span",onDidAppear:function(){},onDidSlide:function(){},onWillSlide:function(){},reverse:!1};var f=function(t){function e(n){r(this,e);var o=i(this,t.call(this,n));return o.state={height:"",originalHeight:"",show:!0},o}return a(e,t),e.prototype.componentWillSlideIn=function(t){var e=l.default.findDOMNode(this);this.setState({height:t.height,originalHeight:parseInt(window.getComputedStyle(e,null).height,10),show:!1})},e.prototype.componentDidSlideIn=function(t){var e=this,n=this.state,o=n.height,r=n.originalHeight;o===r?(this.setState({show:!0,height:""}),t()):!function(){e.cb=t;var n=10,i=0,a=o,u=r,s=Math.abs(a-u)/n,c=a<u?1:-1,l=s*c;e.t=setInterval(function(){i<n-1?(e.setState({height:a,animating:!0}),a+=l,i++):(clearInterval(e.t),delete e.t,e.setState({height:"",show:!0}),e.cb())},17)}()},e.prototype.componentWillSlideOut=function(t){var e=l.default.findDOMNode(this),n=window.getComputedStyle(e,null).height;t({height:parseInt(n,10),reverse:this.reverse})},e.prototype.componentWillUnmount=function(){this.t&&(clearInterval(this.t),cb())},e.prototype.render=function(){var t=this.props.children,e=this.state,n=e.height,o=e.show;return s.default.createElement("div",{style:n?{height:n+"px"}:{}},s.default.createElement("div",{style:{visibility:o?"inherit":"hidden"}},t))},e}(s.default.Component)},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c=n(1),l=o(c),p=n(40),d=o(p),M='<svg width="14px" height="13px" viewBox="0 0 32 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" class="auth0-lock-icon"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"><g id="32px" sketch:type="MSLayerGroup" transform="translate(-2155.000000, -2317.000000)" fill="#373A39"><g id="Group-856" transform="translate(1.000000, 1.000000)" sketch:type="MSShapeGroup"><path id="Fill-419" d="M2184,2339 C2184,2339.55 2183.55,2340 2183,2340 L2157,2340 C2156.45,2340 2156,2339.55 2156,2339 L2156,2319 C2156,2318.45 2156.45,2318 2157,2318 L2183,2318 C2183.55,2318 2184,2318.45 2184,2319 L2184,2339 L2184,2339 Z M2184,2316 L2156,2316 C2154.89,2316 2154,2316.89 2154,2318 L2154,2340 C2154,2341.1 2154.89,2342 2156,2342 L2184,2342 C2185.1,2342 2186,2341.1 2186,2340 L2186,2318 C2186,2316.89 2185.1,2316 2184,2316 L2184,2316 Z M2176,2322 L2180,2322 L2180,2326 L2176,2326 L2176,2322 Z M2174,2328 L2182,2328 L2182,2320 L2174,2320 L2174,2328 Z M2158,2332 L2172,2332 L2172,2330 L2158,2330 L2158,2332 Z M2158,2336 L2172,2336 L2172,2334 L2158,2334 L2158,2336 Z"></path></g></g></g></svg>',f=function(t){function e(n){i(this,e);var o=a(this,t.call(this,n));return o.state={},o}return u(e,t),e.prototype.shouldComponentUpdate=function(t,e){var n=this.props,o=n.invalidHint,r=n.isValid,i=n.value,a=(n.onChange,this.state.focused);return o!=t.invalidHint||r!=t.isValid||i!=t.value||a!=e.focused},e.prototype.render=function(){var t=this.props,e=t.invalidHint,n=t.isValid,o=(t.onChange,r(t,["invalidHint","isValid","onChange"])),i=this.state.focused;return l.default.createElement(d.default,{focused:i,invalidHint:e,isValid:n,name:"email",icon:M},l.default.createElement("input",s({ref:"input",type:"email",name:"email",className:"auth0-lock-input",placeholder:"yours@example.com",autoComplete:"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this)},o)))},e.prototype.handleOnChange=function(t){this.props.onChange&&this.props.onChange(t)},e.prototype.handleFocus=function(){this.setState({focused:!0})},e.prototype.handleBlur=function(){this.setState({focused:!1})},e}(l.default.Component);e.default=f},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]); +}return t},c=n(1),l=o(c),p=n(40),d=o(p),M=n(88),f=function(t){function e(n){i(this,e);var o=a(this,t.call(this,n));return o.state={},o}return u(e,t),e.prototype.focus=function(){this.refs.input&&this.refs.input.focus()},e.prototype.hasFocus=function(){return this.state.focused},e.prototype.render=function(){var t=this.props,e=t.invalidHint,n=t.isValid,o=(t.onChange,t.value),i=r(t,["invalidHint","isValid","onChange","value"]),a=this.state.focused;return l.default.createElement(d.default,{focused:a,invalidHint:e,isValid:n,name:"mfa_code",icon:M.icon},l.default.createElement("input",s({ref:"input",type:"text",name:"mfa_code",className:"auth0-lock-input",autoComplete:"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),value:o},i)))},e.prototype.handleOnChange=function(t){this.props.onChange&&this.props.onChange(t)},e.prototype.handleFocus=function(){this.setState({focused:!0})},e.prototype.handleBlur=function(){this.setState({focused:!1})},e}(l.default.Component);f.propTypes={invalidHint:l.default.PropTypes.string.isRequired,isValid:l.default.PropTypes.bool.isRequired,onChange:l.default.PropTypes.func,placeholder:l.default.PropTypes.string,value:l.default.PropTypes.string.isRequired},e.default=f},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s=n(1),c=o(s),l=n(96),p=o(l),d=n(79),M=o(d),f=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.password,n=t.policy,o=t.messages,r=(0,p.default)(n).missing(e),i="auth0-lock-password-strength animated "+(r.verified?"fadeOut":"fadeIn"),a=function t(e){e&&e.forEach(function(e){o[e.code]&&(e.message=o[e.code]),e.message=M.default.format.apply(M.default,[e.message].concat(e.format||[])),e.items&&t(e.items)})};return a(r.rules),c.default.createElement("div",{className:i},c.default.createElement(g,{items:r.rules}))},e}(c.default.Component);e.default=f,f.propTypes={messages:c.default.PropTypes.object.isRequired,password:c.default.PropTypes.string.isRequired,policy:c.default.PropTypes.oneOf(["none","low","fair","good","excellent"]).isRequired},f.defaultProps={messages:{}};var g=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props.items;return t&&t.length?c.default.createElement("ul",null,t.map(function(t,e){return c.default.createElement(y,u({},t,{key:e}))})):null},e}(c.default.Component);g.propTypes={items:c.default.PropTypes.arrayOf(c.default.PropTypes.object)};var y=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.items,n=t.message,o=t.verified,r=o?"auth0-lock-checked":"";return c.default.createElement("li",{className:r},c.default.createElement("span",null,n),c.default.createElement(g,{items:e}))},e}(c.default.Component);y.propTypes={items:c.default.PropTypes.array,message:c.default.PropTypes.string.isRequired,verified:c.default.PropTypes.bool.isRequired}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=n(1),s=o(u),c=n(40),l=o(c),p='<svg width="5px" height="10px" viewBox="0 0 5 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" class="auth0-lock-icon-arrow"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"><g id="Lock" transform="translate(-396.000000, -3521.000000)" fill="#000000" opacity="0.539999962"><g id="SMS" transform="translate(153.000000, 3207.000000)"><g transform="translate(35.000000, 299.000000)"><g transform="translate(210.000000, 20.000000) rotate(-90.000000) translate(-210.000000, -20.000000) translate(198.000000, 8.000000)"><path id="Shape" d="M7,10 L12,15 L17,10 L7,10 Z"></path></g></g></g></g></g></svg>',d=function(t){function e(n){r(this,e);var o=i(this,t.call(this,n));return o.state={},o}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.iconUrl,n=t.isValid,o=t.label,r=t.name,i=t.onClick,a=t.placeholder,u=this.props.icon,c=this.state.focused,d=o||a;d.length>23&&(d=d.substr(0,20)+"..."),!u&&"string"==typeof e&&e&&(u=s.default.createElement("img",{className:"auth0-lock-custom-icon",src:e}));var M="auth0-lock-input auth0-lock-input-location";return o||(M+=" auth0-lock-input-with-placeholder"),s.default.createElement(l.default,{focused:c,isValid:n,name:"location",icon:u},s.default.createElement("input",{type:"button",name:r,className:M,value:d,onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),onKeyDown:this.handleKeyDown.bind(this),onClick:i}),s.default.createElement("span",{dangerouslySetInnerHTML:{__html:p}}))},e.prototype.handleFocus=function(){this.setState({focused:!0})},e.prototype.handleBlur=function(){this.setState({focused:!1})},e.prototype.handleKeyDown=function(t){return"Tab"!==t.key&&t.preventDefault(),"ArrowDown"===t.key?this.props.onClick():t.keyCode>=65&&t.keyCode<=90?this.props.onClick(String.fromCharCode(t.keyCode).toLowerCase()):void 0},e}(s.default.Component);e.default=d},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c=n(1),l=o(c),p=n(40),d=o(p),M='<svg width="13px" height="14px" viewBox="0 0 15 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="auth0-lock-icon"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-11.000000, -1471.000000)" fill="#888888"><path d="M25.552,1486.998 L11.449,1486.998 C10.667,1485.799 10.984,1483.399 11.766,1482.6 C12.139,1482.219 14.931,1481.5 16.267,1481.172 C14.856,1480.076 13.995,1478.042 13.995,1476.103 C13.995,1473.284 14.813,1470.999 18.498,1470.999 C22.182,1470.999 23,1473.284 23,1476.103 C23,1478.037 22.145,1480.065 20.74,1481.163 C22.046,1481.489 24.88,1482.228 25.241,1482.601 C26.019,1483.399 26.328,1485.799 25.552,1486.998 L25.552,1486.998 Z M24.6,1483.443 C24.087,1483.169 21.881,1482.548 20,1482.097 L20,1480.513 C21.254,1479.659 21.997,1477.806 21.997,1476.12 C21.997,1473.841 21.414,1471.993 18.499,1471.993 C15.583,1471.993 15,1473.841 15,1476.12 C15,1477.807 15.744,1479.662 17,1480.515 L17,1482.112 C15.109,1482.556 12.914,1483.166 12.409,1483.442 C12.082,1483.854 11.797,1485.173 12,1486 L25,1486 C25.201,1485.174 24.922,1483.858 24.6,1483.443 L24.6,1483.443 Z"></path></g></g></svg>',f=function(t){function e(n){i(this,e);var o=a(this,t.call(this,n));return o.state={},o}return u(e,t),e.prototype.shouldComponentUpdate=function(t,e){var n=this.props,o=n.invalidHint,r=n.isValid,i=n.value,a=(n.onChange,this.state.focused);return o!=t.invalidHint||r!=t.isValid||i!=t.value||a!=e.focused},e.prototype.render=function(){var t=this.props,e=t.invalidHint,n=t.isValid,o=(t.onChange,r(t,["invalidHint","isValid","onChange"])),i=this.state.focused;return l.default.createElement(d.default,{focused:i,invalidHint:e,isValid:n,name:"username",icon:M},l.default.createElement("input",s({ref:"input",type:"text",name:"username",className:"auth0-lock-input",placeholder:"username",autoComplete:"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this)},o)))},e.prototype.handleOnChange=function(t){this.props.onChange&&this.props.onChange(t)},e.prototype.handleFocus=function(){this.setState({focused:!0})},e.prototype.handleBlur=function(){this.setState({focused:!1})},e}(l.default.Component);e.default=f},function(t,e,n){"use strict";function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),c=r(s),l=n(41),p=r(l),d=n(55),M=n(144),f=r(M),g=(n(145),n(91)),y=o(g),h=function(t,e){return t.skipWhile(function(t){return t!==e}).get(1,t.get(0))},N=function(t){function e(n){i(this,e);var o=a(this,t.call(this,n));return o.state={filteredItems:n.items,highlighted:n.defaultItem},o}return u(e,t),e.prototype.filter=function(t){var e=this.props.items.filter(function(e){return y.matches(t,e.get("label"))}),n=1===e.size&&e.get(0)||e.includes(this.state.highlighted)&&this.state.highlighted||null;return{filteredItems:e,highlighted:n}},e.prototype.select=function(t){this.props.onSelect(t)},e.prototype.handleChange=function(t){this.setState(this.filter(t.target.value))},e.prototype.handleKeyDown=function(t){var e=this.state,n=e.filteredItems,o=e.highlighted;switch(t.key){case"ArrowDown":t.preventDefault(),this.setState({highlighted:h(n,o)});break;case"ArrowUp":t.preventDefault(),this.setState({highlighted:h(n.reverse(),o)});break;case"Enter":t.preventDefault(),o&&this.select(o);break;case"Escape":t.preventDefault(),this.props.onCancel()}},e.prototype.render=function(){var t=this,e=this.props,n=e.icon,o=e.iconUrl,r=e.onCancel;return c.default.createElement("div",{className:"auth0-lock-select-country"},c.default.createElement("div",{className:"auth0-lock-search"},c.default.createElement(d.BackButton,{onClick:r}),c.default.createElement(f.default,{name:"search",icon:n,iconUrl:o,isValid:!0,onChange:this.handleChange.bind(this),onKeyDown:this.handleKeyDown.bind(this)})),c.default.createElement(D,{highlighted:this.state.highlighted,items:this.state.filteredItems,onClick:this.select.bind(this),onMouseMove:function(e){return t.setState({highlighted:e})}}))},e}(c.default.Component);e.default=N;var D=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.componentDidUpdate=function(){var t=this,e=this.refs.highlighted;if(e){var n=p.default.findDOMNode(this),o=p.default.findDOMNode(e),r=o.offsetTop-n.scrollTop,i=0;r+o.offsetHeight>n.clientHeight?i=r+o.offsetHeight-n.clientHeight:r<0&&(i=r),i&&(this.preventHighlight=!0,n.scrollTop+=i,this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){return t.preventHighlight=!1},100))}},e.prototype.mouseMoveHandler=function(t){!this.preventHighlight&&this.props.onMouseMove(t)},e.prototype.mouseLeaveHandler=function(){},e.prototype.render=function(){var t=this,e=this.props.items.map(function(e){var n=e===t.props.highlighted,o={highlighted:n,key:e.get("label"),label:e.get("label"),onClick:function(){return t.props.onClick(e)},onMouseMove:function(){return t.mouseMoveHandler(e)}};return n&&(o.ref="highlighted"),c.default.createElement(I,o)});return c.default.createElement("div",{className:"auth0-lock-list-code",onMouseLeave:this.mouseLeaveHandler.bind(this)},c.default.createElement("ul",null,e))},e}(c.default.Component),I=function(t){function e(){return i(this,e),a(this,t.apply(this,arguments))}return u(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.highlighted!=t.highlighted},e.prototype.render=function(){var t=this.props,e=t.highlighted,n=t.label,o=t.onClick,r=t.onMouseMove,i=e?"auth0-lock-list-code-highlighted":"";return c.default.createElement("li",{className:i,onClick:o,onMouseMove:r},n)},e}(c.default.Component);I.propTypes={highlighted:s.PropTypes.bool.isRequired,label:s.PropTypes.string.isRequired,onClick:s.PropTypes.func.isRequired,onMouseMove:s.PropTypes.func.isRequired}},function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){return new r(t)}e.__esModule=!0,e.default=o;var r=function(){function t(e){n(this,t),this.state=e,this.watches={}}return t.prototype.reset=function(t){return this._change(t)},t.prototype.swap=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return this._change(t.apply(void 0,[this.state].concat(n)))},t.prototype.deref=function(){return this.state},t.prototype.addWatch=function(t,e){return this.watches[t]=e,this},t.prototype.removeWatch=function(t){return delete this.watches[t],this},t.prototype._change=function(t){var e=this.state,n=this.watches;return this.state=t,Object.keys(n).forEach(function(o){return n[o](o,e,t)}),this.state},t}()},function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var o=function(){function t(e){n(this,t),this.cache={},this.cbs={},this.fetchFn=e}return t.prototype.get=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e.pop(),r=JSON.stringify(e);return this.cache[r]?o(null,this.cache[r]):void(this.registerCallback(r,o)>1||this.fetch(r,e))},t.prototype.fetch=function(t,e){var n=this;this.fetchFn.apply(this,e.concat([function(e,o){e||(n.cache[t]=o),n.execCallbacks(t,e,o)}]))},t.prototype.registerCallback=function(t,e){return this.cbs[t]=this.cbs[t]||[],this.cbs[t].push(e),this.cbs[t].length},t.prototype.execCallbacks=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];this.cbs[t].forEach(function(t){return t.apply(void 0,n)}),delete this.cbs[t]},t}();e.default=o},function(t,e){"use strict";function n(t,e){var n=void 0;return function(){function o(){clearTimeout(n),t.apply(void 0,i)}for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];clearTimeout(n),n=setTimeout(o,e)}}e.__esModule=!0,e.debounce=n},function(t,e){"use strict";function n(){return(+new Date+Math.floor(1e7*Math.random())).toString(36)}function o(){return r++}e.__esModule=!0,e.random=n,e.incremental=o;var r=1},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var i=n(177),a=o(i),u=function(){function t(){r(this,t)}return t.prototype.get=function(){return a.default.apply(void 0,arguments)},t}();e.default=new u},function(t,e){(function(t){"use strict";function n(e){var n=t.document.createElement("a");return n.href=e,n}e.__esModule=!0,e.parseUrl=n}).call(e,function(){return this}())},function(t,e){},function(t,e,n,o){(function(r){"use strict";function i(){return!("undefined"==typeof window||!window||"undefined"==typeof window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document&&"WebkitAppearance"in document.documentElement.style||"undefined"!=typeof window&&window&&window.console&&(console.firebug||console.exception&&console.table)||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function a(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var o="color: "+this.color;t.splice(1,0,o,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(i=r))}),t.splice(i,0,o)}}function u(){return"object"===("undefined"==typeof console?"undefined":p(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function c(){try{return e.storage.debug}catch(t){}if("undefined"!=typeof r&&"env"in r)return{NODE_ENV:"production"}.DEBUG}function l(){try{return window.localStorage}catch(t){}}var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e=t.exports=n(o),e.log=u,e.formatArgs=a,e.save=s,e.load=c,e.useColors=i,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:l(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(c())}).call(e,n(29))},function(t,e,n,o){"use strict";function r(t){var n,o=0;for(n in t)o=(o<<5)-o+t.charCodeAt(n),o|=0;return e.colors[Math.abs(o)%e.colors.length]}function i(t){function n(){if(n.enabled){var t=n,o=+new Date,r=o-(l||o);t.diff=r,t.prev=l,t.curr=o,l=o;for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];i[0]=e.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var u=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,function(n,o){if("%%"===n)return n;u++;var r=e.formatters[o];if("function"==typeof r){var a=i[u];n=r.call(t,a),i.splice(u,1),u--}return n}),e.formatArgs.call(t,i);var s=n.log||e.log||console.log.bind(console);s.apply(t,i)}}return n.namespace=t,n.enabled=e.enabled(t),n.useColors=e.useColors(),n.color=r(t),"function"==typeof e.init&&e.init(n),n}function a(t){e.save(t);for(var n=(t||"").split(/[\s,]+/),o=n.length,r=0;r<o;r++)n[r]&&(t=n[r].replace(/\*/g,".*?"),"-"===t[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))}function u(){e.enable("")}function s(t){var n,o;for(n=0,o=e.skips.length;n<o;n++)if(e.skips[n].test(t))return!1;for(n=0,o=e.names.length;n<o;n++)if(e.names[n].test(t))return!0;return!1}function c(t){return t instanceof Error?t.stack||t.message:t}e=t.exports=i.debug=i.default=i,e.coerce=c,e.disable=u,e.enable=a,e.enabled=s,e.humanize=n(o),e.names=[],e.skips=[],e.formatters={};var l},function(t,e,n,o,r){"use strict";var i=n(o),a=(n(r),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),u=function(t,e){var n=this;if(n.instancePool.length){var o=n.instancePool.pop();return n.call(o,t,e),o}return new n(t,e)},s=function(t,e,n){var o=this;if(o.instancePool.length){var r=o.instancePool.pop();return o.call(r,t,e,n),r}return new o(t,e,n)},c=function(t,e,n,o){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,t,e,n,o),i}return new r(t,e,n,o)},l=function(t,e,n,o,r){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,t,e,n,o,r),a}return new i(t,e,n,o,r)},p=function(t){var e=this;t instanceof e?void 0:i("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},d=10,M=a,f=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||M,n.poolSize||(n.poolSize=d),n.release=p,n},g={addPoolingTo:f,oneArgumentPooler:a,twoArgumentPooler:u,threeArgumentPooler:s,fourArgumentPooler:c,fiveArgumentPooler:l};t.exports=g},function(t,e,n,o){"use strict";var r=n(o),i=r;t.exports=i}])); +//# sourceMappingURL=lock.min.js.map \ No newline at end of file diff --git a/build/lock.min.js.map b/build/lock.min.js.map new file mode 100644 index 000000000..f730d2db3 --- /dev/null +++ b/build/lock.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///lock.min.js","webpack:///webpack/bootstrap 18deb4e06207a587c7e6","webpack:///./src/browser.js","webpack:///./~/react/react.js","webpack:///./src/core/index.js","webpack:///./~/react-dom/~/fbjs/lib/invariant.js","webpack:///./~/react-dom/lib/reactProdInvariant.js","webpack:///./~/react-dom/lib/ReactDOMComponentTree.js","webpack:///./~/react-dom/~/object-assign/index.js","webpack:///./src/field/index.js","webpack:///./~/immutable/dist/immutable.js","webpack:///./~/react-dom/~/fbjs/lib/ExecutionEnvironment.js","webpack:///./src/connection/database/index.js","webpack:///./src/store/index.js","webpack:///./src/i18n.js","webpack:///./~/react-dom/lib/ReactInstrumentation.js","webpack:///./~/react-dom/lib/ReactUpdates.js","webpack:///./src/core/screen.js","webpack:///./src/utils/data_utils.js","webpack:///./~/react-dom/lib/SyntheticEvent.js","webpack:///./~/react-dom/~/fbjs/lib/emptyFunction.js","webpack:///./~/react/lib/React.js","webpack:///./~/react/lib/ReactCurrentOwner.js","webpack:///./src/connection/enterprise.js","webpack:///./src/core/actions.js","webpack:///./~/trim/index.js","webpack:///./src/field/email.js","webpack:///(webpack)/~/node-libs-browser/~/process/browser.js","webpack:///./src/core/signed_in_confirmation.jsx","webpack:///./~/react-dom/lib/DOMLazyTree.js","webpack:///./~/react-dom/lib/DOMProperty.js","webpack:///./~/react-dom/lib/ReactInstanceMap.js","webpack:///./~/react-dom/lib/ReactReconciler.js","webpack:///./~/react/lib/ReactElement.js","webpack:///./src/connection/database/actions.js","webpack:///./src/connection/social/index.js","webpack:///./src/ui/input/input_wrap.jsx","webpack:///./~/react-dom/index.js","webpack:///./~/react-dom/lib/EventPluginHub.js","webpack:///./~/react-dom/lib/EventPropagators.js","webpack:///./~/react-dom/lib/SyntheticUIEvent.js","webpack:///./src/sync.js","webpack:///./~/password-sheriff/~/underscore/underscore.js","webpack:///./~/react-dom/lib/ReactBrowserEventEmitter.js","webpack:///./~/react-dom/lib/SyntheticMouseEvent.js","webpack:///./~/react-dom/lib/Transaction.js","webpack:///./~/react-dom/lib/escapeTextContentForBrowser.js","webpack:///./~/react-dom/lib/setInnerHTML.js","webpack:///./src/core/web_api.js","webpack:///./src/quick-auth/actions.js","webpack:///./src/ui/box/button.jsx","webpack:///./~/auth0-js/index.js","webpack:///./~/password-sheriff/lib/rules/contains.js","webpack:///./~/react-dom/lib/DOMChildrenOperations.js","webpack:///./~/react-dom/lib/DOMNamespaces.js","webpack:///./~/react-dom/lib/EventPluginRegistry.js","webpack:///./~/react-dom/lib/EventPluginUtils.js","webpack:///./~/react-dom/lib/KeyEscapeUtils.js","webpack:///./~/react-dom/lib/LinkedValueUtils.js","webpack:///./~/react-dom/lib/ReactComponentEnvironment.js","webpack:///./~/react-dom/lib/ReactErrorUtils.js","webpack:///./~/react-dom/lib/ReactUpdateQueue.js","webpack:///./~/react-dom/lib/createMicrosoftUnsafeLocalFunction.js","webpack:///./~/react-dom/lib/getEventCharCode.js","webpack:///./~/react-dom/lib/getEventModifierState.js","webpack:///./~/react-dom/lib/getEventTarget.js","webpack:///./~/react-dom/lib/isEventSupported.js","webpack:///./~/react-dom/lib/shouldUpdateReactComponent.js","webpack:///./~/react-dom/lib/validateDOMNesting.js","webpack:///./~/react-dom/~/fbjs/lib/shallowEqual.js","webpack:///./~/react/lib/ReactComponent.js","webpack:///./~/react/lib/ReactComponentTreeHook.js","webpack:///./~/react/lib/ReactNoopUpdateQueue.js","webpack:///./~/react/~/fbjs/lib/emptyObject.js","webpack:///(webpack)/~/node-libs-browser/~/util/util.js","webpack:///./src/connection/enterprise/actions.js","webpack:///./src/core/tenant/index.js","webpack:///./src/engine/classic.js","webpack:///./src/field/email/email_pane.jsx","webpack:///./src/field/password/password_pane.jsx","webpack:///./src/field/username.js","webpack:///./src/field/username/username_pane.jsx","webpack:///./src/ui/box/success_pane.jsx","webpack:///./src/ui/input/password_input.jsx","webpack:///./src/ui/pane/quick_auth_pane.jsx","webpack:///./src/utils/cdn_utils.js","webpack:///./src/utils/string_utils.js","webpack:///./~/auth0-js/lib/json-parse.js","webpack:///./~/auth0-js/~/qs/lib/formats.js","webpack:///./~/auth0-js/~/qs/lib/utils.js","webpack:///./~/fbjs/lib/CSSCore.js","webpack:///./~/password-sheriff/index.js","webpack:///./~/react-dom/lib/CSSProperty.js","webpack:///./~/react-dom/lib/CallbackQueue.js","webpack:///./~/react-dom/lib/DOMPropertyOperations.js","webpack:///./~/react-dom/lib/ReactDOM.js","webpack:///./~/react-dom/lib/ReactDOMComponentFlags.js","webpack:///./~/react-dom/lib/ReactDOMSelect.js","webpack:///./~/react-dom/lib/ReactEmptyComponent.js","webpack:///./~/react-dom/lib/ReactFeatureFlags.js","webpack:///./~/react-dom/lib/ReactHostComponent.js","webpack:///./~/react-dom/lib/ReactInputSelection.js","webpack:///./~/react-dom/lib/ReactMount.js","webpack:///./~/react-dom/lib/ReactNodeTypes.js","webpack:///./~/react-dom/lib/ViewportMetrics.js","webpack:///./~/react-dom/lib/accumulateInto.js","webpack:///./~/react-dom/lib/forEachAccumulated.js","webpack:///./~/react-dom/lib/getHostComponentFromComposite.js","webpack:///./~/react-dom/lib/getTextContentAccessor.js","webpack:///./~/react-dom/lib/getVendorPrefixedEventName.js","webpack:///./~/react-dom/lib/instantiateReactComponent.js","webpack:///./~/react-dom/lib/isTextInputElement.js","webpack:///./~/react-dom/lib/setTextContent.js","webpack:///./~/react-dom/lib/traverseAllChildren.js","webpack:///./~/react-dom/~/fbjs/lib/EventListener.js","webpack:///./~/react-dom/~/fbjs/lib/focusNode.js","webpack:///./~/react-dom/~/fbjs/lib/getActiveElement.js","webpack:///./~/react/lib/ReactAddonsDOMDependencies.js","webpack:///./~/react/lib/ReactElementSymbol.js","webpack:///./~/react/lib/ReactPropTypeLocationNames.js","webpack:///./~/react/lib/canDefineProperty.js","webpack:///./~/react/lib/getIteratorFn.js","webpack:///./~/react/lib/onlyChild.js","webpack:///./~/react/lib/traverseAllChildren.js","webpack:///./~/url-join/lib/url-join.js","webpack:///./src/avatar.js","webpack:///./src/connection/database/login_sign_up_tabs.jsx","webpack:///./src/connection/enterprise/single_sign_on_notice.jsx","webpack:///./src/core/client/index.js","webpack:///./src/core/pane_separator.jsx","webpack:///./src/core/sso/index.js","webpack:///./src/field/actions.js","webpack:///./src/field/social/social_buttons_pane.jsx","webpack:///./src/index.js","webpack:///./src/quick_auth.js","webpack:///./src/ui/box/container.jsx","webpack:///./src/ui/button/auth_button.jsx","webpack:///./src/ui/input/text_input.jsx","webpack:///./src/utils/media_utils.js","webpack:///./src/utils/preload_utils.js","webpack:///./~/auth0-js/lib/IframeHandler.js","webpack:///./~/auth0-js/lib/LoginError.js","webpack:///./~/auth0-js/lib/SilentAuthenticationHandler.js","webpack:///./~/auth0-js/lib/assert_required.js","webpack:///./~/auth0-js/lib/base64_url.js","webpack:///./~/auth0-js/lib/index-of.js","webpack:///./~/auth0-js/lib/is-array.js","webpack:///./~/auth0-js/lib/nonce-generator.js","webpack:///./~/auth0-js/lib/same-origin.js","webpack:///./~/auth0-js/lib/use_jsonp.js","webpack:///./~/auth0-js/~/Base64/base64.js","webpack:///./~/auth0-js/~/json-fallback/index.js","webpack:///./~/auth0-js/~/jsonp/index.js","webpack:///./~/auth0-js/~/jsonp/~/debug/~/ms/index.js","webpack:///./~/auth0-js/~/qs/lib/index.js","webpack:///./~/auth0-js/~/qs/lib/parse.js","webpack:///./~/auth0-js/~/qs/lib/stringify.js","webpack:///./~/auth0-js/~/reqwest/reqwest.js","webpack:///./~/auth0-js/~/winchan/winchan.js","webpack:///./~/auth0-js/~/xtend/has-keys.js","webpack:///./~/auth0-js/~/xtend/index.js","webpack:///./~/auth0-js/~/xtend/~/object-keys/foreach.js","webpack:///./~/auth0-js/~/xtend/~/object-keys/index.js","webpack:///./~/auth0-js/~/xtend/~/object-keys/isArguments.js","webpack:///./~/auth0-js/~/xtend/~/object-keys/shim.js","webpack:///./~/auth0-js/version.js","webpack:///./~/blueimp-md5/js/md5.js","webpack:///./~/fbjs/lib/invariant.js","webpack:///./~/jsonp/index.js","webpack:///./~/password-sheriff/lib/policy.js","webpack:///./~/password-sheriff/lib/policy_error.js","webpack:///./~/password-sheriff/lib/rules/containsAtLeast.js","webpack:///./~/password-sheriff/lib/rules/identicalChars.js","webpack:///./~/password-sheriff/lib/rules/length.js","webpack:///./~/react-addons-css-transition-group/index.js","webpack:///./~/react-dom/lib/ARIADOMPropertyConfig.js","webpack:///./~/react-dom/lib/AutoFocusUtils.js","webpack:///./~/react-dom/lib/BeforeInputEventPlugin.js","webpack:///./~/react-dom/lib/CSSPropertyOperations.js","webpack:///./~/react-dom/lib/ChangeEventPlugin.js","webpack:///./~/react-dom/lib/Danger.js","webpack:///./~/react-dom/lib/DefaultEventPluginOrder.js","webpack:///./~/react-dom/lib/EnterLeaveEventPlugin.js","webpack:///./~/react-dom/lib/FallbackCompositionState.js","webpack:///./~/react-dom/lib/HTMLDOMPropertyConfig.js","webpack:///./~/react-dom/lib/ReactChildReconciler.js","webpack:///./~/react-dom/lib/ReactComponentBrowserEnvironment.js","webpack:///./~/react-dom/lib/ReactCompositeComponent.js","webpack:///./~/react-dom/lib/ReactDOMComponent.js","webpack:///./~/react-dom/lib/ReactDOMContainerInfo.js","webpack:///./~/react-dom/lib/ReactDOMEmptyComponent.js","webpack:///./~/react-dom/lib/ReactDOMFeatureFlags.js","webpack:///./~/react-dom/lib/ReactDOMIDOperations.js","webpack:///./~/react-dom/lib/ReactDOMInput.js","webpack:///./~/react-dom/lib/ReactDOMOption.js","webpack:///./~/react-dom/lib/ReactDOMSelection.js","webpack:///./~/react-dom/lib/ReactDOMTextComponent.js","webpack:///./~/react-dom/lib/ReactDOMTextarea.js","webpack:///./~/react-dom/lib/ReactDOMTreeTraversal.js","webpack:///./~/react-dom/lib/ReactDefaultBatchingStrategy.js","webpack:///./~/react-dom/lib/ReactDefaultInjection.js","webpack:///./~/react-dom/lib/ReactEventEmitterMixin.js","webpack:///./~/react-dom/lib/ReactEventListener.js","webpack:///./~/react-dom/lib/ReactInjection.js","webpack:///./~/react-dom/lib/ReactMarkupChecksum.js","webpack:///./~/react-dom/lib/ReactMultiChild.js","webpack:///./~/react-dom/lib/ReactOwner.js","webpack:///./~/react-dom/lib/ReactPropTypesSecret.js","webpack:///./~/react-dom/lib/ReactReconcileTransaction.js","webpack:///./~/react-dom/lib/ReactRef.js","webpack:///./~/react-dom/lib/ReactServerRenderingTransaction.js","webpack:///./~/react-dom/lib/ReactServerUpdateQueue.js","webpack:///./~/react-dom/lib/ReactVersion.js","webpack:///./~/react-dom/lib/SVGDOMPropertyConfig.js","webpack:///./~/react-dom/lib/SelectEventPlugin.js","webpack:///./~/react-dom/lib/SimpleEventPlugin.js","webpack:///./~/react-dom/lib/SyntheticAnimationEvent.js","webpack:///./~/react-dom/lib/SyntheticClipboardEvent.js","webpack:///./~/react-dom/lib/SyntheticCompositionEvent.js","webpack:///./~/react-dom/lib/SyntheticDragEvent.js","webpack:///./~/react-dom/lib/SyntheticFocusEvent.js","webpack:///./~/react-dom/lib/SyntheticInputEvent.js","webpack:///./~/react-dom/lib/SyntheticKeyboardEvent.js","webpack:///./~/react-dom/lib/SyntheticTouchEvent.js","webpack:///./~/react-dom/lib/SyntheticTransitionEvent.js","webpack:///./~/react-dom/lib/SyntheticWheelEvent.js","webpack:///./~/react-dom/lib/adler32.js","webpack:///./~/react-dom/lib/dangerousStyleValue.js","webpack:///./~/react-dom/lib/findDOMNode.js","webpack:///./~/react-dom/lib/flattenChildren.js","webpack:///./~/react-dom/lib/getEventKey.js","webpack:///./~/react-dom/lib/getNextDebugID.js","webpack:///./~/react-dom/lib/getNodeForCharacterOffset.js","webpack:///./~/react-dom/lib/quoteAttributeValueForBrowser.js","webpack:///./~/react-dom/lib/renderSubtreeIntoContainer.js","webpack:///./~/react-dom/~/fbjs/lib/camelize.js","webpack:///./~/react-dom/~/fbjs/lib/camelizeStyleName.js","webpack:///./~/react-dom/~/fbjs/lib/containsNode.js","webpack:///./~/react-dom/~/fbjs/lib/createArrayFromMixed.js","webpack:///./~/react-dom/~/fbjs/lib/createNodesFromMarkup.js","webpack:///./~/react-dom/~/fbjs/lib/getMarkupWrap.js","webpack:///./~/react-dom/~/fbjs/lib/getUnboundedScrollPosition.js","webpack:///./~/react-dom/~/fbjs/lib/hyphenate.js","webpack:///./~/react-dom/~/fbjs/lib/hyphenateStyleName.js","webpack:///./~/react-dom/~/fbjs/lib/isNode.js","webpack:///./~/react-dom/~/fbjs/lib/isTextNode.js","webpack:///./~/react-dom/~/fbjs/lib/memoizeStringOnly.js","webpack:///./~/react/lib/ReactCSSTransitionGroup.js","webpack:///./~/react/lib/ReactCSSTransitionGroupChild.js","webpack:///./~/react/lib/ReactChildren.js","webpack:///./~/react/lib/ReactClass.js","webpack:///./~/react/lib/ReactDOMFactories.js","webpack:///./~/react/lib/ReactPropTypes.js","webpack:///./~/react/lib/ReactPureComponent.js","webpack:///./~/react/lib/ReactTransitionChildMapping.js","webpack:///./~/react/lib/ReactTransitionEvents.js","webpack:///./~/react/lib/ReactTransitionGroup.js","webpack:///./~/react/lib/flattenChildren.js","webpack:///./~/react/~/fbjs/lib/CSSCore.js","webpack:///(webpack)/~/node-libs-browser/~/events/events.js","webpack:///(webpack)/~/node-libs-browser/~/util/~/inherits/inherits_browser.js","webpack:///(webpack)/~/node-libs-browser/~/util/support/isBufferBrowser.js","webpack:///./src/avatar/gravatar_provider.js","webpack:///./src/connection/database/login_pane.jsx","webpack:///./src/connection/database/mfa_pane.jsx","webpack:///./src/connection/database/password_reset_confirmation.jsx","webpack:///./src/connection/database/reset_password.jsx","webpack:///./src/connection/database/reset_password_pane.jsx","webpack:///./src/connection/database/sign_up_terms.jsx","webpack:///./src/connection/database/signed_up_confirmation.jsx","webpack:///./src/connection/enterprise/hrd_pane.jsx","webpack:///./src/connection/enterprise/hrd_screen.jsx","webpack:///./src/connection/enterprise/kerberos_screen.jsx","webpack:///./src/connection/enterprise/quick_auth_screen.jsx","webpack:///./src/core.js","webpack:///./src/core/client/settings.js","webpack:///./src/core/error_screen.jsx","webpack:///./src/core/loading_screen.jsx","webpack:///./src/core/remote_data.js","webpack:///./src/core/sso/data.js","webpack:///./src/core/sso/last_login_screen.jsx","webpack:///./src/core/tenant/settings.js","webpack:///./src/engine/classic/login.jsx","webpack:///./src/engine/classic/mfa_login_screen.jsx","webpack:///./src/engine/classic/sign_up_pane.jsx","webpack:///./src/engine/classic/sign_up_screen.jsx","webpack:///./src/field/custom_input.jsx","webpack:///./src/field/mfa-code/mfa_code_pane.jsx","webpack:///./src/field/mfa_code.js","webpack:///./src/field/option_selection_pane.jsx","webpack:///./src/field/password.js","webpack:///./src/i18n/en.js","webpack:///./src/ui/box.js","webpack:///./src/ui/box/chrome.jsx","webpack:///./src/ui/box/confirmation_pane.jsx","webpack:///./src/ui/box/global_message.jsx","webpack:///./src/ui/box/header.jsx","webpack:///./src/ui/box/multisize_slide.js","webpack:///./src/ui/input/email_input.jsx","webpack:///./src/ui/input/mfa_code_input.jsx","webpack:///./src/ui/input/password/password_strength.jsx","webpack:///./src/ui/input/select_input.jsx","webpack:///./src/ui/input/username_input.jsx","webpack:///./src/ui/list.jsx","webpack:///./src/utils/atom.js","webpack:///./src/utils/cache.js","webpack:///./src/utils/fn_utils.js","webpack:///./src/utils/id_utils.js","webpack:///./src/utils/jsonp_utils.js","webpack:///./src/utils/url_utils.js","webpack:///./~/auth0-js/~/jsonp/~/debug/src/browser.js","webpack:///./~/auth0-js/~/jsonp/~/debug/src/debug.js","webpack:///./~/react/lib/PooledClass.js","webpack:///./~/react/~/fbjs/lib/warning.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","id","loaded","call","m","c","p","i","Object","prototype","hasOwnProperty","_m","args","slice","fn","a","b","apply","this","concat","global","_interopRequireDefault","obj","__esModule","default","_index","_index2","window","define","amd","Auth0Lock","_interopRequireWildcard","newObj","key","setup","clientID","domain","options","hookRunner","emitEventFn","init","_immutable2","fromJS","clientBaseUrl","extractClientBaseUrlOption","tenantBaseUrl","extractTenantBaseUrlOption","languageBaseUrl","extractLanguageBaseUrlOption","auth","extractAuthOptions","useTenantInfo","__useTenantInfo","hashCleanup","allowedConnections","ui","extractUIOptions","defaultADUsernameFromEmailPrefix","i18n","initI18n","get","setSubmitting","value","error","arguments","length","undefined","tset","clearGlobalSuccess","setGlobalError","clearGlobalError","submitting","tget","str","globalError","tremove","setGlobalSuccess","globalSuccess","rendering","stopRendering","closable","container","theme","labeledSubmitButton","logo","primaryColor","authButtons","avatar","customAvatarProvider","url","displayName","avatarProvider","gp","containerID","appendContainer","autoclose","autofocus","_media_utils","isSmallScreen","language","_trim2","toLowerCase","dict","_typeof","languageDictionary","disableWarnings","mobile","popupOptions","rememberLastLogin","authButtonsTheme","_ref","connectionScopes","params","redirect","redirectUrl","responseMode","responseType","sso","scope","warn","withAuthOptions","opts","merge","toJS","configurationBaseUrl","assetsUrl","domainUrl","hostname","_url_utils","parseUrl","DOT_AUTH0_DOT_COM","AUTH0_US_CDN_URL","_string_utils","endsWith","parts","split","_urlJoin2","tenant_name","render","setLoggedIn","loggedIn","x","shouldOutput","_immutable","Map","isMap","console","connections","_len","strategies","Array","_key","type","filter","v","k","valueSeq","flatten","xs","List","indexOf","connection","_len2","_key2","hasOneConnection","count","getIn","hasOnlyConnections","all","_len3","_key3","filtered","hasSomeConnections","_len4","_key4","countConnections","_len5","_key5","findConnection","name","find","m1","hasConnection","filterConnections","allowed","order","_","clientConnections","map","cs","sort","c1","c2","runHook","_len6","_key6","emitEvent","_len7","_key7","setTimeout","hadListener","Function","bind","Error","loginErrorMessage","status","code","description","INVALID_MAP","email","username","stop","set","hasStopped","emitHashParsedEvent","parsedHash","emitAuthenticatedEvent","result","emitAuthorizationErrorEvent","emitUnrecoverableErrorEvent","showBadge","hasFreeSubscription","overrideOptions","socialButtonStyle","curated","processSocialOptions","tsetSocial","flashMessage","text","reset","Symbol","iterator","constructor","_urlJoin","_i18n","_trim","_gravatar_provider","_data_utils","_dataFns","dataFns","remove","_dataFns2","_dataFns3","getUI","_dataFns4","tgetUI","getUIAttribute","attribute","lock","_dataFns5","getAuthAttribute","invariant","condition","format","d","e","f","validateFormat","argIndex","replace","framesToPop","reactProdInvariant","argCount","message","argIdx","encodeURIComponent","getRenderedHostOrTextFromComponent","component","rendered","_renderedComponent","precacheNode","inst","node","hostInst","_hostNode","internalInstanceKey","uncacheNode","precacheChildNodes","_flags","Flags","hasCachedChildNodes","children","_renderedChildren","childNode","firstChild","outer","childInst","childID","_domID","nextSibling","nodeType","getAttribute","ATTR_NAME","String","nodeValue","_prodInvariant","getClosestInstanceFromNode","parents","push","parentNode","closest","pop","getInstanceFromNode","getNodeFromInstance","_hostParent","DOMProperty","ReactDOMComponentFlags","ID_ATTRIBUTE_NAME","Math","random","toString","ReactDOMComponentTree","toObject","val","TypeError","shouldUseNative","assign","test1","getOwnPropertyNames","test2","fromCharCode","order2","n","join","test3","forEach","letter","keys","propIsEnumerable","propertyIsEnumerable","target","source","from","symbols","to","s","getOwnPropertySymbols","setField","field","validator","prevValue","prevShowInvalid","validation","validate","mergeIn","showInvalid","valid","invalidHint","hint","registerOptionField","initialValue","hasInitial","initialOption","size","stopError","l","isEmpty","setOptionField","option","isFieldValid","getFieldInvalidHint","isFieldVisiblyInvalid","showInvalidField","setIn","hideInvalidFields","update","fields","setFieldShowInvalid","clearFields","keyPaths","reduce","r","removeIn","getField","notFound","getFieldValue","getFieldLabel","phoneNumber","vcode","password","mfaCode","isSelecting","renderOptionSelection","_react2","createElement","_option_selection_pane2","model","icon","iconUrl","items","_react","_option_selection_pane","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_RESULT__","factory","createClass","ctor","superClass","create","Iterable","isIterable","Seq","KeyedIterable","isKeyed","KeyedSeq","IndexedIterable","isIndexed","IndexedSeq","SetIterable","isAssociative","SetSeq","maybeIterable","IS_ITERABLE_SENTINEL","maybeKeyed","IS_KEYED_SENTINEL","maybeIndexed","IS_INDEXED_SENTINEL","maybeAssociative","isOrdered","maybeOrdered","IS_ORDERED_SENTINEL","MakeRef","ref","SetRef","OwnerID","arrCopy","arr","offset","len","max","newArr","ii","ensureSize","iter","__iterate","returnTrue","wrapIndex","index","uint32Index","NaN","wholeSlice","begin","end","resolveBegin","resolveIndex","resolveEnd","defaultIndex","min","Iterator","next","iteratorValue","iteratorResult","done","iteratorDone","hasIterator","getIteratorFn","isIterator","maybeIterator","getIterator","iterable","iteratorFn","REAL_ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","isArrayLike","emptySequence","toSeq","seqFromValue","toKeyedSeq","fromEntrySeq","keyedSeqFromValue","entrySeq","toIndexedSeq","indexedSeqFromValue","toSetSeq","ArraySeq","array","_array","ObjectSeq","object","_object","_keys","IterableSeq","_iterable","IteratorSeq","_iterator","_iteratorCache","isSeq","maybeSeq","IS_SEQ_SENTINEL","EMPTY_SEQ","seq","isArray","maybeIndexedSeqFromValue","seqIterate","reverse","useKeys","cache","_cache","maxIndex","entry","__iterateUncached","seqIterator","__iteratorUncached","json","converter","fromJSWith","","fromJSDefault","parentJSON","isPlainObj","toList","toMap","is","valueA","valueB","valueOf","equals","deepEqual","__hash","notAssociative","entries","every","flipped","cacheResult","allEqual","bSize","has","NOT_SET","Repeat","times","_value","Infinity","EMPTY_REPEAT","Range","start","step","abs","_start","_end","_step","ceil","EMPTY_RANGE","Collection","KeyedCollection","IndexedCollection","SetCollection","smi","i32","hash","o","h","STRING_HASH_CACHE_MIN_STRLEN","cachedHashString","hashString","hashCode","hashJSObj","string","stringHashCache","STRING_HASH_CACHE_SIZE","STRING_HASH_CACHE_MAX_SIZE","charCodeAt","usingWeakMap","weakMap","UID_HASH_KEY","canDefineProperty","getIENodeHash","objHashUID","isExtensible","defineProperty","enumerable","configurable","writable","uniqueID","documentElement","assertNotInfinite","emptyMap","withMutations","maybeMap","IS_MAP_SENTINEL","ArrayMapNode","ownerID","BitmapIndexedNode","bitmap","nodes","HashArrayMapNode","HashCollisionNode","keyHash","ValueNode","MapIterator","_type","_reverse","_stack","_root","mapIteratorFrame","mapIteratorValue","prev","__prev","makeMap","root","MapPrototype","__ownerID","__altered","EMPTY_MAP","updateMap","newRoot","newSize","didChangeSize","CHANGE_LENGTH","didAlter","DID_ALTER","updateNode","shift","isLeafNode","mergeIntoNode","newNode","idx1","MASK","idx2","SHIFT","createNodes","packNodes","excluding","packedII","packedNodes","bit","expandNodes","including","expandedNodes","SIZE","mergeIntoMapWith","merger","iterables","iters","mergeIntoCollectionWith","deepMerger","existing","mergeDeep","deepMergerWith","mergeDeepWith","nextValue","collection","mergeIntoMap","updateInDeepMap","keyPathIter","notSetValue","updater","isNotSet","existingValue","newValue","nextExisting","nextUpdated","popCount","idx","canEdit","newArray","spliceIn","newLen","after","spliceOut","empty","emptyList","isList","makeList","VNode","toArray","list","setSize","maybeList","IS_LIST_SENTINEL","iterateList","iterateNodeOrLeaf","level","iterateLeaf","iterateNode","tailPos","tail","left","right","DONE","values","_origin","_capacity","getTailOffset","_tail","_level","origin","capacity","ListPrototype","EMPTY_LIST","updateList","setListBounds","newTail","updateVNode","nodeHas","lowerNode","newLowerNode","editableVNode","listNodeFor","rawIndex","owner","oldOrigin","oldCapacity","newOrigin","newCapacity","clear","newLevel","offsetShift","oldTailOffset","newTailOffset","oldTail","removeAfter","removeBefore","beginIndex","mergeIntoListWith","maxSize","OrderedMap","emptyOrderedMap","isOrderedMap","maybeOrderedMap","makeOrderedMap","omap","_map","_list","EMPTY_ORDERED_MAP","updateOrderedMap","newMap","newList","flip","ToKeyedSequence","indexed","_iter","_useKeys","ToIndexedSequence","ToSetSequence","FromEntriesSequence","flipFactory","flipSequence","makeSequence","reversedSequence","includes","cacheResultThrough","this$0","ITERATE_ENTRIES","__iterator","ITERATE_VALUES","ITERATE_KEYS","mapFactory","mapper","context","mappedSequence","reverseFactory","filterFactory","predicate","filterSequence","iterations","countByFactory","grouper","groups","asMutable","asImmutable","groupByFactory","isKeyedIter","coerce","iterableClass","reify","sliceFactory","originalSize","resolvedBegin","resolvedEnd","sliceSize","resolvedSize","sliceSeq","skipped","isSkipping","takeWhileFactory","takeSequence","iterating","skipWhileFactory","skipSequence","skipping","concatFactory","isKeyedIterable","singleton","concatSeq","sum","flattenFactory","depth","flatSequence","flatDeep","currentDepth","stopped","stack","flatMapFactory","interposeFactory","separator","interposedSequence","sortFactory","comparator","defaultComparator","maxFactory","maxCompare","comp","zipWithFactory","keyIter","zipper","zipSequence","iterators","isDone","steps","some","validateEntry","resolveSize","forceIterator","keyPath","Record","defaultValues","hasInitialized","RecordType","setProps","RecordTypePrototype","_name","_defaultValues","RecordPrototype","makeRecord","likeRecord","record","getPrototypeOf","recordName","names","setProp","Set","emptySet","isSet","add","maybeSet","IS_SET_SENTINEL","updateSet","__empty","__make","makeSet","SetPrototype","EMPTY_SET","OrderedSet","emptyOrderedSet","isOrderedSet","maybeOrderedSet","makeOrderedSet","OrderedSetPrototype","EMPTY_ORDERED_SET","Stack","emptyStack","isStack","unshiftAll","maybeStack","IS_STACK_SENTINEL","makeStack","head","StackPrototype","_head","EMPTY_STACK","mixin","methods","keyCopier","keyMapper","entryMapper","not","neg","quoteString","JSON","stringify","defaultZipper","defaultNegComparator","hashIterable","ordered","keyed","hashMerge","murmurHashOfSize","imul","SLICE$0","Keyed","Indexed","DELETE","ITERATOR_SYMBOL","KEYS","VALUES","ENTRIES","inspect","toSource","of","__toString","searchValue","lastIndexOf","other","possibleIndex","floor","offsetValue","WeakMap","keyValues","updateIn","deleteIn","updatedValue","mergeWith","mergeDeepIn","sortBy","mutable","wasAltered","__ensureOwner","iterate","removed","exists","MAX_ARRAY_MAP_SIZE","isEditable","newEntries","keyHashFrag","MAX_BITMAP_INDEXED_SIZE","newBitmap","newNodes","newCount","MIN_HASH_ARRAY_MAP_SIZE","keyMatch","subNode","splice","insert","oldSize","unshift","originIndex","newChild","removingFirst","oldChild","editable","sizeIndex","indexedIterable","defaultVal","_empty","fromKeys","keySeq","union","intersect","originalSet","subtract","peek","pushAll","__toJS","toJSON","toOrderedMap","toOrderedSet","toSet","toStack","__toStringMapper","returnValue","findEntry","sideEffect","joined","isFirst","reducer","initialReduction","reduction","useFirst","reduceRight","reversed","butLast","countBy","entriesSequence","filterNot","found","findKey","findLast","findLastEntry","findLastKey","first","flatMap","searchKey","searchKeyPath","nested","groupBy","hasIn","isSubset","isSuperset","keyOf","last","lastKeyOf","maxBy","minBy","rest","skip","amount","skipLast","skipWhile","skipUntil","take","takeLast","takeWhile","takeUntil","IterablePrototype","chain","contains","mapEntries","mapKeys","KeyedIterablePrototype","findIndex","removeNum","numArgs","spliced","findLastIndex","interpose","interleave","zipped","interleaved","zip","zipWith","Immutable","canUseDOM","document","ExecutionEnvironment","canUseWorkers","Worker","canUseEventListeners","addEventListener","attachEvent","canUseViewport","screen","isInWorker","initDatabase","initNS","processDatabaseOptions","resolveAdditionalSignUpFields","assertMaybeBoolean","assertMaybeEnum","assertMaybeString","assertMaybeArray","additionalSignUpFields","defaultDatabaseConnection","forgotPasswordLink","loginAfterSignUp","mustAcceptTerms","signUpLink","usernameStyle","_processScreenOptions","processScreenOptions","initialScreen","screens","placeholder","prefill","reservedNames","match","types","y","defaultConnectionName","defaults","allowLogin","allowSignUp","allowForgotPassword","overrideDatabaseOptions","_processScreenOptions2","availableScreens","defaultDatabaseConnectionName","databaseConnection","_tenant","defaultDirectory","databaseConnectionName","setScreen","getScreen","getInitialScreen","hasScreen","hasInitialScreen","databaseConnectionRequiresUsername","requireUsername","databaseUsernameStyle","_enterprise","findADConnectionWithoutDomain","databaseLogInWithEmail","databaseUsernameValue","authWithUsername","_toJS","allowForgot","allowSignup","shouldAutoLogin","passwordStrengthPolicy","termsAccepted","toggleTermsAcceptance","resolveAdditionalSignUpSelectField","resolveAdditionalSignUpTextField","keyNs","resolvedPrefill","resolvedOptions","register","_sync2","recoverResult","successFn","syncFn","cb","_sync","observe","subscribe","oldState","newState","getEntity","oldM","store","addWatch","unsubscribe","removeWatch","swap","updateEntity","state","coll","setEntity","read","deref","removeEntity","getCollection","updateCollection","getState","_atom","_atom2","_util","html","dangerouslySetInnerHTML","__html","group","overrides","defaultDictionary","_en2","base","languageDictionaries","syncLang","registerLanguageDictionary","overrided","assertLanguage","path","_cdn_utils","load","method","check","err","dictionary","_en","preload","debugTool","ensureInjected","ReactUpdates","ReactReconcileTransaction","batchingStrategy","ReactUpdatesFlushTransaction","reinitializeTransaction","dirtyComponentsLength","callbackQueue","CallbackQueue","getPooled","reconcileTransaction","batchedUpdates","callback","mountOrderComparator","_mountOrder","runBatchedUpdates","transaction","dirtyComponents","updateBatchNumber","callbacks","_pendingCallbacks","markerName","ReactFeatureFlags","logTopLevelRenders","namedComponent","_currentElement","isReactTopLevelWrapper","getName","time","ReactReconciler","performUpdateIfNecessary","timeEnd","j","enqueue","getPublicInstance","enqueueUpdate","isBatchingUpdates","_updateBatchNumber","asap","asapCallbackQueue","asapEnqueued","_assign","PooledClass","Transaction","NESTED_UPDATES","initialize","close","flushBatchedUpdates","UPDATE_QUEUEING","notifyAll","TRANSACTION_WRAPPERS","getTransactionWrappers","destructor","release","perform","addPoolingTo","queue","ReactUpdatesInjection","injectReconcileTransaction","ReconcileTransaction","injectBatchingStrategy","_batchingStrategy","injection","_classCallCheck","instance","Constructor","Screen","backHandler","escHandler","submitButtonLabel","submitHandler","renderAuxiliaryPane","renderTabs","renderTerms","baseNSKeyPath","nsKeyPath","keyOrKeyPath","getFn","setFn","removeFn","transientNSKeyPath","ns","SyntheticEvent","dispatchConfig","targetInst","nativeEvent","nativeEventTarget","_targetInst","Interface","propName","normalize","defaultPrevented","isDefaultPrevented","emptyFunction","thatReturnsTrue","thatReturnsFalse","isPropagationStopped","shouldBeReleasedProperties","Proxy","EventInterface","currentTarget","thatReturnsNull","eventPhase","bubbles","cancelable","timeStamp","event","Date","now","isTrusted","preventDefault","stopPropagation","cancelBubble","persist","isPersistent","augmentClass","Class","Super","E","fourArgumentPooler","makeEmptyFunction","arg","thatReturns","thatReturnsThis","thatReturnsArgument","ReactChildren","ReactComponent","ReactPureComponent","ReactClass","ReactDOMFactories","ReactElement","ReactPropTypes","ReactVersion","onlyChild","createFactory","cloneElement","__spread","React","Children","only","Component","PureComponent","isValidElement","PropTypes","createMixin","DOM","version","ReactCurrentOwner","current","initEnterprise","processOptions","defaultEnterpriseConnection","defaultEnterpriseConnectionName","enterpriseActiveFlowConnection","isHRDActive","matchConnection","findActiveFlowConnection","_email","emailDomain","isEnterpriseDomain","enterpriseDomain","isSingleHRDConnection","quickAuthConnection","isADEnabled","isInCorpNetwork","corpNetworkConnection","strategy","isHRDDomain","toggleHRD","emailLocalPart","_username","setUsername","STRATEGIES","ad","adfs","auth0-adldap","custom","google-apps","ip","mscrm","office365","pingfederate","samlp","sharepoint","waad","process","setupLock","_remote_data","syncRemoteData","_preload_utils","img","_container","defaultProps","_web_api2","setupClient","_extends","handleAuthCallback","location","ms","parsed","parseHash","keepHash","openLock","closeLock","force","_index3","removeLock","updateLock","pinLoadingPane","unpinLoadingPane","validateAndSubmit","allFieldsValid","logIn","logInErrorHandler","_id","_fields","logInError","logInSuccess","localHandler","nextTick","errorMessage","loginType","_web_api","trim","validateEmail","regExp","exec","setEmail","defaultSetTimout","defaultClearTimeout","runTimeout","fun","cachedSetTimeout","runClearTimeout","marker","cachedClearTimeout","clearTimeout","cleanUpNextTick","draining","currentQueue","queueIndex","drainQueue","timeout","run","Item","noop","title","browser","env","argv","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","cwd","chdir","dir","umask","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","setPrototypeOf","__proto__","renderSignedInConfirmation","props","closeHandler","_actions","SignedInConfirmation","_success_pane","_success_pane2","_React$Component","handleClose","_props","propTypes","func","isRequired","insertTreeChildren","tree","enableLazy","insertTreeBefore","setInnerHTML","setTextContent","replaceChildWithTree","oldNode","newTree","replaceChild","queueChild","parentTree","childTree","appendChild","queueHTML","queueText","nodeName","DOMLazyTree","DOMNamespaces","createMicrosoftUnsafeLocalFunction","ELEMENT_NODE_TYPE","DOCUMENT_FRAGMENT_NODE_TYPE","documentMode","navigator","userAgent","test","referenceNode","namespaceURI","insertBefore","checkMask","bitmask","DOMPropertyInjection","MUST_USE_PROPERTY","HAS_BOOLEAN_VALUE","HAS_NUMERIC_VALUE","HAS_POSITIVE_NUMERIC_VALUE","HAS_OVERLOADED_BOOLEAN_VALUE","injectDOMPropertyConfig","domPropertyConfig","Injection","Properties","DOMAttributeNamespaces","DOMAttributeNames","DOMPropertyNames","DOMMutationMethods","isCustomAttribute","_isCustomAttributeFunctions","properties","lowerCased","propConfig","propertyInfo","attributeName","attributeNamespace","propertyName","mutationMethod","mustUseProperty","hasBooleanValue","hasNumericValue","hasPositiveNumericValue","hasOverloadedBooleanValue","ATTRIBUTE_NAME_START_CHAR","ROOT_ATTRIBUTE_NAME","ATTRIBUTE_NAME_CHAR","getPossibleStandardName","isCustomAttributeFn","ReactInstanceMap","_reactInternalInstance","attachRefs","ReactRef","mountComponent","internalInstance","hostParent","hostContainerInfo","parentDebugID","markup","getReactMountReady","getHostNode","unmountComponent","safely","detachRefs","receiveComponent","nextElement","prevElement","_context","refsChanged","shouldUpdateRefs","hasValidRef","config","hasValidKey","REACT_ELEMENT_TYPE","RESERVED_PROPS","__self","__source","element","$$typeof","_owner","childrenLength","childArray","cloneAndReplaceKey","oldElement","newKey","newElement","_self","_source","needsMFA","usernameField","_index4","showLoginMFAActivity","signUp","autoLogin","user_metadata","signUpError","signUpSuccess","autoLogInError","invalidPasswordKeys","PasswordDictionaryError","PasswordNoUserInfoError","PasswordStrengthError","errorKey","details","resetPassword","resetPasswordError","resetPasswordSuccess","successMessage","showLoginActivity","showSignUpActivity","showResetPasswordActivity","cancelResetPassword","cancelMFALogin","initSocial","socialConnections","useBigButtons","notFoundLimit","style","amazon","aol","baidu","bitbucket","box","dropbox","dwolla","ebay","exact","facebook","fitbit","github","google-openid","google-oauth2","instagram","linkedin","miicard","paypal","planningcenter","renren","salesforce","salesforce-community","salesforce-sandbox","shopify","soundcloud","thecity","thecity-sandbox","thirtysevensignals","twitter","vkontakte","windowslive","wordpress","yahoo","yammer","yandex","weibo","InputWrap","before","focused","isValid","blockClassName","wrapClassName","iconElement","errorTooltip","className","oneOfType","arrayOf","bool","svg","isInteractive","tag","shouldPreventMouseEvent","disabled","EventPluginRegistry","EventPluginUtils","ReactErrorUtils","accumulateInto","forEachAccumulated","listenerBank","eventQueue","executeDispatchesAndRelease","simulated","executeDispatchesInOrder","executeDispatchesAndReleaseSimulated","executeDispatchesAndReleaseTopLevel","getDictionaryKey","_rootNodeID","EventPluginHub","injectEventPluginOrder","injectEventPluginsByName","putListener","registrationName","listener","bankForRegistrationName","PluginModule","registrationNameModules","didPutListener","getListener","deleteListener","willDeleteListener","deleteAllListeners","extractEvents","topLevelType","events","plugins","possiblePlugin","extractedEvents","enqueueEvents","processEventQueue","processingEventQueue","rethrowCaughtError","__purge","__getListenerBank","listenerAtPhase","propagationPhase","phasedRegistrationNames","accumulateDirectionalDispatches","phase","_dispatchListeners","_dispatchInstances","accumulateTwoPhaseDispatchesSingle","traverseTwoPhase","accumulateTwoPhaseDispatchesSingleSkipTarget","parentInst","getParentInstance","accumulateDispatches","ignoredDirection","accumulateDirectDispatchesSingle","accumulateTwoPhaseDispatches","accumulateTwoPhaseDispatchesSkipTarget","accumulateEnterLeaveDispatches","leave","enter","traverseEnterLeave","accumulateDirectDispatches","EventPropagators","SyntheticUIEvent","dispatchMarker","getEventTarget","UIEventInterface","view","doc","ownerDocument","defaultView","parentWindow","detail","removeKeys","syncStatusKey","isSuccess","getStatus","findKeys","isLoading","hasError","excludeKeys","handleError","setStatus","go","waitFn","conditionFn","errorFn","syncStatus","getProp","called","__WEBPACK_AMD_DEFINE_ARRAY__","createReduce","iteratee","memo","currentKey","optimizeCb","createPredicateIndexFinder","getLength","createIndexFinder","predicateFind","sortedIndex","item","isNaN","collectNonEnumProps","nonEnumIdx","nonEnumerableProps","proto","isFunction","ObjProto","prop","previousUnderscore","ArrayProto","FuncProto","nativeIsArray","nativeKeys","nativeBind","nativeCreate","Ctor","_wrapped","VERSION","accumulator","identity","isObject","matcher","property","createAssigner","keysFunc","undefinedOnly","baseCreate","MAX_ARRAY_INDEX","pow","each","collect","results","foldl","inject","foldr","detect","select","reject","negate","any","include","fromIndex","guard","invoke","isFunc","pluck","where","attrs","findWhere","computed","lastComputed","shuffle","rand","shuffled","sample","criteria","behavior","indexBy","partition","pass","fail","initial","drop","compact","input","shallow","strict","startIndex","output","isArguments","without","difference","uniq","unique","isSorted","isBoolean","seen","intersection","argsLength","unzip","low","high","mid","range","executeBound","sourceFunc","boundFunc","callingContext","bound","partial","boundArgs","position","bindAll","memoize","hasher","address","delay","wait","defer","throttle","previous","later","leading","remaining","trailing","debounce","immediate","timestamp","callNow","wrap","wrapper","compose","hasEnumBug","allKeys","mapObject","pairs","invert","functions","extend","extendOwn","pick","oiteratee","omit","clone","tap","interceptor","isMatch","eq","aStack","bStack","areArrays","aCtor","bCtor","isEqual","isString","isElement","Int8Array","isFinite","parseFloat","isNumber","isNull","isUndefined","noConflict","constant","propertyOf","matches","accum","getTime","escapeMap","&","<",">","\"","'","`","unescapeMap","createEscaper","escaper","testRegexp","RegExp","replaceRegexp","escape","unescape","fallback","idCounter","uniqueId","prefix","templateSettings","evaluate","interpolate","noMatch","escapes","\\","\r","\n","
","
","escapeChar","template","settings","oldSettings","variable","data","argument","_chain","getListeningForDocument","mountAt","topListenersIDKey","reactTopListenersCounter","alreadyListeningTo","hasEventPageXY","ReactEventEmitterMixin","ViewportMetrics","getVendorPrefixedEventName","isEventSupported","isMonitoringScrollValue","topEventMapping","topAbort","topAnimationEnd","topAnimationIteration","topAnimationStart","topBlur","topCanPlay","topCanPlayThrough","topChange","topClick","topCompositionEnd","topCompositionStart","topCompositionUpdate","topContextMenu","topCopy","topCut","topDoubleClick","topDrag","topDragEnd","topDragEnter","topDragExit","topDragLeave","topDragOver","topDragStart","topDrop","topDurationChange","topEmptied","topEncrypted","topEnded","topError","topFocus","topInput","topKeyDown","topKeyPress","topKeyUp","topLoadedData","topLoadedMetadata","topLoadStart","topMouseDown","topMouseMove","topMouseOut","topMouseOver","topMouseUp","topPaste","topPause","topPlay","topPlaying","topProgress","topRateChange","topScroll","topSeeked","topSeeking","topSelectionChange","topStalled","topSuspend","topTextInput","topTimeUpdate","topTouchCancel","topTouchEnd","topTouchMove","topTouchStart","topTransitionEnd","topVolumeChange","topWaiting","topWheel","ReactBrowserEventEmitter","ReactEventListener","injectReactEventListener","setHandleTopLevel","handleTopLevel","setEnabled","enabled","isEnabled","listenTo","contentDocumentHandle","isListening","dependencies","registrationNameDependencies","dependency","trapBubbledEvent","trapCapturedEvent","WINDOW_HANDLE","handlerBaseName","handle","supportsEventPageXY","createEvent","ev","ensureScrollValueMonitoring","refresh","refreshScrollValues","monitorScrollValue","SyntheticMouseEvent","getEventModifierState","MouseEventInterface","screenX","screenY","clientX","clientY","ctrlKey","shiftKey","altKey","metaKey","getModifierState","button","buttons","relatedTarget","fromElement","srcElement","toElement","pageX","currentScrollLeft","pageY","currentScrollTop","OBSERVED_ERROR","TransactionImpl","transactionWrappers","wrapperInitData","_isInTransaction","isInTransaction","errorThrown","ret","initializeAll","closeAll","initData","escapeHtml","matchHtmlRegExp","lastIndex","substring","escapeTextContentForBrowser","reusableSVGContainer","WHITESPACE_TEST","NONVISIBLE_TEST","innerHTML","svgNode","testElement","textNode","removeChild","deleteData","normalizeError","error_description","statusCode","loginCallback","_auth0Js","_auth0Js2","Auth0WebAPI","clients","authOpts","authParams","lockID","sendSDKClientInfo","forceJSONP","callbackURL","__tenant","__token_issuer","popup","client","login","signOut","query","logout","_authOpts$lockID","win","_buildPopupWindow","auto_login","kill","signup","changePassword","startPasswordless","decodeURIComponent","getProfile","token","getUserInfo","getSSOData","_clients$lockID","getUserCountry","skipQuickAuth","_quick_auth","loginHint","scopes","connection_scope","display","login_hint","BackButton","CloseButton","svgs","back","IconButton","onClick","_ref2","_ref3","isInternetExplorer","re","rv","ua","appName","$1","stringifyPopupSettings","checkIfSet","handleRequestError","responseText","isAffectedIEVersion","zeroStatus","onLine","LoginError","joinUrl","protocol","endpoint","Auth0","assert_required","_useJSONP","use_jsonp","same_origin","_clientID","_callbackURL","href","_shouldRedirect","_domain","_responseType","_parseResponseType","_responseMode","_parseResponseMode","_cordovaSocialPlugins","_phonegapFacebookLogin","_useCordovaSocialPlugins","useCordovaSocialPlugins","_sendClientInfo","_scope","_audience","audience","_token_issuer","callbackOnLocationHashToResponseType","validResponseType","RESPONSE_TYPES","validResponseMode","Base64Url","is_array","index_of","nonceGenerator","qs","xtend","reqwest","WinChan","jsonp","jsonpOpts","param","json_parse","SilentAuthenticationHandler","clientInfo","openWindow","open","_redirect","_getResponseType","_getCallbackOnLocationHash","_getResponseMode","_getCallbackURL","_getClientInfoString","encode","_getClientInfoHeader","Auth0-Client","_renderAndSubmitWSFedForm","formHtml","div","form","body","submit","_getMode","response_type","response_mode","_configureOfflineMode","device","_getUserInfo","profile","id_token","user_id","resp","user","crossOrigin","then","userinfo","access_token","headers","Authorization","decodeJwt","validateUser","client_id","success","jwt","encoded","decode","parsed_qs","parse","prof","invalidJwt","audiences","aud","iss","nonce","localStorage","getItem","removeItem","accessToken","idToken","idTokenPayload","refreshToken","refresh_token","_this","redirect_uri","will_popup","_buildAuthorizeQueryString","blacklist","_buildAuthorizationParameters","_buildAuthorizeUrl","constructorOptions","signin","passcode","randomString","setItem","loginWithPasscode","loginWithUsernamePassword","cordova","electron","loginPhonegap","loginWithPopup","_authorize","_computePopupPosition","width","height","screenLeft","screenTop","outerWidth","clientWidth","outerHeight","clientHeight","top","errorHandler","answered","startHandler","mobileCallbackURL","exitHandler","removeEventListener","_shouldAuthenticateWithCordovaPlugin","_socialPhonegapLogin","auth0Client","popupUrl","owp","popupPosition","relay_url","window_features","_current_popup","_prepareResult","focus","socialPlugin","socialAuthentication","extras","loginOptions","loginWithSocialAccessToken","facebookConnectPlugin","fbScopes","authResponse","loginWithUsernamePasswordAndSSO","winchanOptions","_csrf","loginWithResourceOwner","grant_type","closed","return_error","tenant","verifyOptions","phone_number","verification_code","_verify","_verify_redirect","statusText","renewIdToken","getDelegationToken","api","targetClientId","api_type","er","silentAuthentication","usePostMessage","prompt","handler","pathName","withActiveDirectories","noResult","sameOrigin","ldaps","withCredentials","cause","getConnections","send","requestMagicLink","requestEmailCode","verifyEmailCode","requestSMSCode","verifySMSCode","country_code","decodedIdToken","setFlags","_providedResponseOptions","_providedCallbackOnLocationHash","callbackOnLocationHash","specialCharacters","specialCharactersRegexp","expressions","ok","expression","explain","missing","explained","verified","assert","charsets","upperCase","lowerCase","numbers","getNodeAfter","insertLazyTreeChildAt","moveChild","moveDelimitedText","insertChildAt","closingComment","removeDelimitedText","openingComment","nextNode","startNode","replaceDelimitedText","stringText","nodeAfterComment","createTextNode","Danger","dangerouslyReplaceNodeWithMarkup","DOMChildrenOperations","processUpdates","updates","content","afterNode","fromNode","mathml","recomputePluginOrdering","eventPluginOrder","pluginName","namesToPlugins","pluginModule","pluginIndex","publishedEvents","eventTypes","eventName","publishEventForPlugin","eventNameDispatchConfigs","phaseName","phasedRegistrationName","publishRegistrationName","possibleRegistrationNames","injectedEventPluginOrder","injectedNamesToPlugins","isOrderingDirty","getPluginModuleForEvent","_resetEventPlugins","isEndish","isMoveish","isStartish","executeDispatch","invokeGuardedCallbackWithCatch","invokeGuardedCallback","dispatchListeners","dispatchInstances","executeDispatchesInOrderStopAtTrueImpl","executeDispatchesInOrderStopAtTrue","executeDirectDispatch","dispatchListener","dispatchInstance","res","hasDispatches","ComponentTree","TreeTraversal","injectComponentTree","Injected","injectTreeTraversal","isAncestor","getLowestCommonAncestor","argFrom","argTo","escapeRegex","escaperLookup","=",":","escapedString","unescapeRegex","unescaperLookup","=0","=2","keySubstring","KeyEscapeUtils","_assertSingleLink","inputProps","checkedLink","valueLink","_assertValueLink","onChange","_assertCheckedLink","checked","getDeclarationErrorAddendum","ReactPropTypesSecret","hasReadOnlyValue","checkbox","image","hidden","radio","componentName","readOnly","loggedTypeFailures","LinkedValueUtils","checkPropTypes","tagName","getValue","getChecked","executeOnChange","requestChange","injected","ReactComponentEnvironment","replaceNodeWithMarkup","processChildrenUpdates","injectEnvironment","environment","caughtError","formatUnexpectedArgument","getInternalInstanceReadyForUpdate","publicInstance","callerName","ReactUpdateQueue","isMounted","enqueueCallback","validateCallback","enqueueCallbackInternal","enqueueForceUpdate","_pendingForceUpdate","enqueueReplaceState","completeState","_pendingStateQueue","_pendingReplaceState","enqueueSetState","partialState","enqueueElementInternal","nextContext","_pendingElement","MSApp","execUnsafeLocalFunction","arg0","arg1","arg2","arg3","getEventCharCode","charCode","keyCode","modifierStateGetter","keyArg","syntheticEvent","keyProp","modifierKeyToProp","Alt","Control","Meta","Shift","correspondingUseElement","eventNameSuffix","capture","isSupported","setAttribute","useHasFeature","implementation","hasFeature","shouldUpdateReactComponent","prevEmpty","nextEmpty","prevType","nextType","validateDOMNesting","shallowEqual","objA","objB","keysA","keysB","refs","emptyObject","ReactNoopUpdateQueue","isReactComponent","setState","forceUpdate","isNative","funcToString","reIsNative","purgeDeep","childIDs","describeComponentFrame","ownerName","fileName","lineNumber","getDisplayName","describeID","ReactComponentTreeHook","getElement","getOwnerID","getItemIDs","addRoot","removeRoot","getRootIDs","canUseCollections","itemMap","rootIDSet","itemByKey","rootByKey","getKeyFromID","getIDFromKey","parseInt","substr","unmountedIDs","onSetChildren","nextChildIDs","nextChildID","nextChild","parentID","onBeforeMountComponent","updateCount","onBeforeUpdateComponent","onMountComponent","isRoot","onUpdateComponent","onUnmountComponent","purgeUnmountedComponents","_preventPurging","getCurrentStackAddendum","topElement","info","currentOwner","_debugID","getStackAddendumByID","getParentID","getChildIDs","getSource","getText","getUpdateCount","getRegisteredIDs","warnNoop","ctx","stylize","stylizeNoColor","colors","showHidden","_extend","customInspect","stylizeWithColor","formatValue","styleType","styles","arrayToHash","recurseTimes","primitive","formatPrimitive","visibleKeys","isError","formatError","isRegExp","isDate","braces","toUTCString","formatArray","formatProperty","reduceToSingleString","simple","desc","getOwnPropertyDescriptor","line","numLinesEst","cur","ar","isNullOrUndefined","isSymbol","objectToString","isPrimitive","pad","getHours","getMinutes","getSeconds","getDate","months","getMonth","formatRegExp","objects","Number","deprecate","msg","deprecated","warned","throwDeprecation","traceDeprecation","trace","noDeprecation","debugEnviron","debugs","debuglog","NODE_ENV","NODE_DEBUG","toUpperCase","pid","bold","italic","underline","inverse","white","grey","black","blue","cyan","green","magenta","red","yellow","special","number","boolean","null","date","regexp","isBuffer","log","inherits","startHRD","cancelHRD","ssoConnection","logInSSO","logInActiveFlow","originalUsername","formatConnectionValidation","connectionValidation","DEFAULT_CONNECTION_VALIDATION","defaultMin","defaultMax","initTenant","formatTenant","formatTenantConnections","emptyConnections","connectionTypes","connections_filter","clientsConnections","connectionTypeName","_result$connectionTyp","formatTenantConnection","connectionType","passwordPolicy","showSignup","showForgot","requiresUsername","domains","tenantConnections","defaultDirectoryName","database","enterprise","passwordless","social","unknown","isSSOEnabled","hasOnlyClassicConnections","useBigSocialButtons","_index5","validateAllowedConnections","anyDBConnection","anySocialConnection","anyEnterpriseConnection","_login","_login2","_sign_up_screen","_sign_up_screen2","_mfa_login_screen","_mfa_login_screen2","_reset_password","_reset_password2","_index6","_kerberos_screen","_kerberos_screen2","_hrd_screen","_hrd_screen2","_quick_auth_screen","_quick_auth_screen2","_loading_screen","_loading_screen2","_error_screen","_error_screen2","_last_login_screen","_last_login_screen2","_index8","Classic","didInitialize","didReceiveClientSettings","willShow","hasSkippedQuickAuth","conn","lastUsedConnection","SCREENS","forgotPassword","mfaLogin","_email_input","_email_input2","_avatar","EmailPane","componentDidMount","requestAvatar","handleChange","debouncedRequestAvatar","_password_input","_password_input2","_password","PasswordPane","policy","setPassword","_props2","strengthMessages","validateUsername","lowercased","getUsernameValidation","usernameValidation","_database","validateUsernameFormat","usernameLooksLikeEmail","_username_input","_username_input2","UsernamePane","invalidHintKey","hintKey","oneOf","_confirmation_pane","_confirmation_pane2","SuccessPane","_objectWithoutProperties","_input_wrap","_input_wrap2","_password_strength","_password_strength2","PasswordInput","hasFocus","_state","changing","passwordStrength","messages","autoComplete","autoCapitalize","handleOnChange","onFocus","handleFocus","onBlur","handleBlur","_auth_button","_auth_button2","QuickAuthPane","alternativeLabel","alternativeClickHandler","buttonLabel","buttonClickHandler","header","buttonIcon","foregroundColor","alternative","label","_React$PropTypes$func","cbs","script","src","getElementsByTagName","timeoutID","search","startsWith","percentTwenties","formatters","RFC1738","RFC3986","hexTable","arrayToObject","plainObjects","mergeTarget","acc","out","charAt","references","lookup","compacted","CSSCore","addClass","classList","hasClass","removeClass","conditionClass","PasswordPolicy","none","minLength","fair","good","containsAtLeast","atLeast","excellent","identicalChars","policiesByName","policyName","missingAsMarkdown","prefixKey","isUnitlessNumber","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridColumn","fontWeight","lineClamp","lineHeight","opacity","orphans","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","prefixes","shorthandPropertyExpansions","background","backgroundAttachment","backgroundColor","backgroundImage","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundPosition","border","borderWidth","borderStyle","borderColor","borderBottom","borderBottomWidth","borderBottomStyle","borderBottomColor","borderLeft","borderLeftWidth","borderLeftStyle","borderLeftColor","borderRight","borderRightWidth","borderRightStyle","borderRightColor","borderTop","borderTopWidth","borderTopStyle","borderTopColor","font","fontStyle","fontVariant","fontSize","fontFamily","outline","outlineWidth","outlineStyle","outlineColor","CSSProperty","_callbacks","_contexts","_arg","contexts","checkpoint","rollback","isAttributeNameSafe","validatedAttributeNameCache","illegalAttributeNameCache","VALID_ATTRIBUTE_NAME_REGEX","shouldIgnoreValue","quoteAttributeValueForBrowser","DOMPropertyOperations","createMarkupForID","setAttributeForID","createMarkupForRoot","setAttributeForRoot","createMarkupForProperty","createMarkupForCustomAttribute","setValueForProperty","deleteValueForProperty","namespace","setAttributeNS","setValueForAttribute","removeAttribute","deleteValueForAttribute","ReactDefaultInjection","ReactMount","findDOMNode","getHostComponentFromComposite","renderSubtreeIntoContainer","ReactDOM","unmountComponentAtNode","unstable_batchedUpdates","unstable_renderSubtreeIntoContainer","__REACT_DEVTOOLS_GLOBAL_HOOK__","Mount","Reconciler","updateOptionsIfPendingUpdateAndMounted","_wrapperState","pendingUpdate","updateOptions","Boolean","multiple","propValue","selectedValue","selected","_handleChange","didWarnValueDefaultValue","ReactDOMSelect","getHostProps","mountWrapper","defaultValue","listeners","wasMultiple","getSelectValueContext","postUpdateWrapper","emptyComponentFactory","ReactEmptyComponentInjection","injectEmptyComponentFactory","ReactEmptyComponent","instantiate","createInternalComponent","genericComponentClass","createInstanceForText","textComponentClass","isTextComponent","tagToComponentClass","ReactHostComponentInjection","injectGenericComponentClass","componentClass","injectTextComponentClass","injectComponentClasses","componentClasses","ReactHostComponent","isInDocument","containsNode","ReactDOMSelection","focusNode","getActiveElement","ReactInputSelection","hasSelectionCapabilities","elem","contentEditable","getSelectionInformation","focusedElem","selectionRange","getSelection","restoreSelection","priorSelectionInformation","curFocusedElem","priorFocusedElem","priorSelectionRange","setSelection","selection","selectionStart","selectionEnd","createRange","parentElement","moveStart","moveEnd","getOffsets","offsets","createTextRange","collapse","setOffsets","firstDifferenceIndex","string1","string2","minLen","getReactRootElementInContainer","DOC_NODE_TYPE","internalGetID","mountComponentIntoNode","wrapperInstance","shouldReuseMarkup","wrappedElement","child","ReactDOMContainerInfo","_topLevelWrapper","_mountImageIntoNode","batchedMountComponentIntoNode","componentInstance","ReactDOMFeatureFlags","useCreateElement","unmountComponentFromNode","lastChild","hasNonRootReactChild","rootEl","isValidContainer","getHostRootInstanceInContainer","prevHostInstance","getTopLevelWrapperInContainer","_hostContainerInfo","ReactMarkupChecksum","instantiateReactComponent","ROOT_ATTR_NAME","instancesByReactRootID","topLevelRootCounter","TopLevelWrapper","rootID","_instancesByReactRootID","scrollMonitor","renderCallback","_updateRootComponent","prevComponent","_renderNewRootComponent","wrapperID","_instance","parentComponent","_renderSubtreeIntoContainer","nextWrappedElement","_processChildContext","prevWrappedElement","publicInst","updatedCallback","reactRootElement","containerHasReactMarkup","containerHasNonRootReactChild","hasAttribute","rootElement","canReuseMarkup","checksum","CHECKSUM_ATTR_NAME","rootMarkup","outerHTML","normalizedMarkup","diffIndex","ReactNodeTypes","HOST","COMPOSITE","EMPTY","getType","scrollPosition","_renderedNodeType","getTextContentAccessor","contentKey","makePrefixMap","styleProp","prefixedEventNames","vendorPrefixes","prefixMap","animationend","animationiteration","animationstart","transitionend","animation","transition","isInternalComponentType","shouldHaveDebugID","getNativeNode","ReactCompositeComponentWrapper","_mountIndex","_mountImage","ReactCompositeComponent","construct","_instantiateReactComponent","isTextInputElement","supportedInputTypes","color","datetime","datetime-local","month","tel","week","textContent","getComponentKey","traverseAllChildrenImpl","nameSoFar","traverseContext","SEPARATOR","nextName","subtreeCount","nextNamePrefix","SUBSEPARATOR","addendum","childrenString","traverseAllChildren","EventListener","listen","eventType","detachEvent","registerDefault","activeElement","getReactDOM","getReactInstanceMap","ReactPropTypeLocationNames","definition","provider","handleSuccess","_fn_utils","_actions2","LoginSignUpTabs","loginLabel","signUpLabel","isLogin","LoginSignUpTab","clickHandler","handleLoginClick","handleSignUpClick","clickWithHrefHandler","handleSignUpWithHrefClick","_React$Component2","handleClick","strategyName","withName","strategyNameToConnectionType","initClient","formatClient","subscription","formatClientConnections","_loop","formatClientConnection","requires_username","domain_aliases","PaneSeparator","lastUsedUsername","changeField","validationFn","validationExtraArgs","startOptionSelection","selectOption","cancelOptionSelection","SocialButtonsPane","bigButtons","instructions","labelFn","showLoading","headerText","themes","buttonTheme","connectionName","isBig","loading","injectStyles","styleId","getElementById","styleSheet","cssText","css","_core","_core2","_classic","_classic2","_Core","lib_version","_chrome","_chrome2","_button","badgeSvg","viewBox","stroke","fill","fillRule","transform","BottomBadge","link","Avatar","imageUrl","EscKeyDownHandler","IPHONE","Container","isOpen","_this2","isModal","escKeydown","handleEsc","componentWillUnmount","handleSubmit","_this3","isSubmitting","chrome","focusError","hide","_props3","auxiliaryPane","badgeLink","contentComponent","contentProps","disableSubmitButton","disallowClose","isMobile","screenName","tabs","terms","transitionName","badge","overlay","onSubmit","showSubmitButton","isFileProtocol","AuthButton","backgroundStyle","foregroundStyle","iconStyle","data-provider","TextInput","matchMedia","IframeHandler","auth0","timeoutCallback","iframe","timeoutHandle","_destroyTimeout","transientMessageEventListener","transientEventListener","messageEventListener","loadEventListener","timeoutHandler","callbackHandler","destroy","contentWindow","authenticationUrl","required","Base64","btoa","atob","nativeIndexOf","searchElement","polyfillIndexOf","O","bytes","Uint8Array","cryptoObj","crypto","msCrypto","getRandomValues","charset","tprotocol","tdomain","tport","port","xhr","XMLHttpRequest","chars","INVALID_CHARACTER_ERR","block","bs","buffer","bc","quote","escapable","meta","holder","mind","gap","rep","indent","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","cx","\b","\t","\f","replacer","space","reviver","walk","eval","SyntaxError","cleanup","timer","enc","debug","fmtShort","round","fmtLong","plural","long","formats","utils","allowDots","allowPrototypes","arrayLimit","decoder","delimiter","parameterLimit","strictNullHandling","parseValues","part","pos","parseObject","cleanRoot","parseArrays","parseKeys","givenKey","parent","segment","tempObj","arrayPrefixGenerators","brackets","indices","repeat","toISO","toISOString","encoder","serializeDate","skipNulls","generateArrayPrefix","formatter","objKeys","arrayFormat","succeed","protocolRe","httpsRe","twoHundo","request","response","handleReadyState","_aborted","_timedOut","readyState","onreadystatechange","setHeaders","http","defaultHeaders","isAFormData","FormData","requestedWith","contentType","setRequestHeader","setCredentials","generalCallback","lastValue","urlappend","handleJsonp","reqId","uniqid","cbkey","cbval","getcallbackPrefix","cbreg","isIE10","async","htmlFor","onload","onclick","abort","getRequest","toQueryString","sendWait","xDomainRequest","onerror","onprogress","Reqwest","setType","complete","_completeHandlers","getResponseHeader","filteredResponse","globalSetupOptions","dataFilter","responseXML","parseError","errorCode","reason","_responseArgs","_fulfilled","_successHandler","_fulfillmentHandlers","timedOut","t","_erred","_errorHandlers","serial","el","ch","ra","optCb","selectedIndex","eachFormElement","serializeSubtags","tags","fa","byTag","serializeQueryString","serializeArray","serializeHash","buildParams","traditional","rbracket","XHR2","ex","callbackPrefix","xmlHttpRequest","accept","*","xml","js","XDomainRequest","ActiveXObject","retry","always","catch","serialize","opt","trad","compat","ajaxSetup","w","isFennec","postMessage","extractOrigin","findRelay","frames","opener","host","RELAY_FRAME_NAME","CLOSE_CMD","isIE","closeInterval","clearInterval","onMessage","securityViolation","messageTarget","req","window_name","setInterval","onOpen","doPost","msgTarget","onDie","o_O","onUnload","ohWell","detach","winopts","hasKeys","Keys","hasOwn","alert","confirm","callee","keysShim","isArgs","hasDontEnumBug","hasProtoEnumBug","dontEnums","theKeys","skipProto","skipConstructor","dontEnum","$","safe_add","lsw","msw","bit_rol","num","cnt","md5_cmn","q","md5_ff","md5_gg","md5_hh","md5_ii","binl_md5","olda","oldb","oldc","oldd","binl2rstr","length32","rstr2binl","length8","rstr_md5","rstr_hmac_md5","bkey","ipad","opad","rstr2hex","hex_tab","str2rstr_utf8","raw_md5","hex_md5","raw_hmac_md5","hex_hmac_md5","md5","raw","cancel","flatDescriptions","descriptions","flatSingleDescription","spaces","firstDescription","rules","ruleset","defaultRuleset","_reduce","ruleOptions","rule","PasswordPolicyError","ruleName","_applyRules","missingRule","createIntroMessage","verifiedCount","workingExpressions","example","ARIADOMPropertyConfig","aria-current","aria-details","aria-disabled","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-roledescription","aria-autocomplete","aria-checked","aria-expanded","aria-haspopup","aria-level","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-placeholder","aria-pressed","aria-readonly","aria-required","aria-selected","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","aria-atomic","aria-busy","aria-live","aria-relevant","aria-dropeffect","aria-grabbed","aria-activedescendant","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-describedby","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","aria-posinset","aria-rowcount","aria-rowindex","aria-rowspan","aria-setsize","AutoFocusUtils","focusDOMComponent","isPresto","opera","isKeypressCommand","getCompositionEventType","compositionStart","compositionEnd","compositionUpdate","isFallbackCompositionStart","START_KEYCODE","isFallbackCompositionEnd","END_KEYCODES","getDataFromCustomEvent","extractCompositionEvent","fallbackData","canUseCompositionEvent","currentComposition","useFallbackCompositionData","getData","FallbackCompositionState","SyntheticCompositionEvent","customData","getNativeBeforeInputChars","which","SPACEBAR_CODE","hasSpaceKeypress","SPACEBAR_CHAR","getFallbackBeforeInputChars","extractBeforeInputEvent","canUseTextInputEvent","SyntheticInputEvent","beforeInput","bubbled","captured","BeforeInputEventPlugin","dangerousStyleValue","hyphenateStyleName","memoizeStringOnly","processStyleName","styleName","hasShorthandPropertyBug","styleFloatAccessor","tempStyle","cssFloat","CSSPropertyOperations","createMarkupForStyles","serialized","styleValue","setValueForStyles","expansion","individualStyleName","shouldUseChangeEvent","manualDispatchChangeEvent","change","activeElementInst","runEventInBatch","startWatchingForChangeEventIE8","stopWatchingForChangeEventIE8","getTargetInstForChangeEvent","handleEventsForChangeEventIE8","startWatchingForValueChange","activeElementValue","activeElementValueProp","newValueProp","handlePropertyChange","stopWatchingForValueChange","getTargetInstForInputEvent","handleEventsForInputEventIE","getTargetInstForInputEventIE","shouldUseClickEvent","getTargetInstForClickEvent","doesChangeEventBubble","isInputEventSupported","ChangeEventPlugin","getTargetInstFunc","handleEventFunc","targetNode","createNodesFromMarkup","DefaultEventPluginOrder","mouseEnter","mouseLeave","EnterLeaveEventPlugin","related","toNode","_startText","_fallbackText","startValue","startLength","endValue","endLength","minEnd","sliceTail","HTMLDOMPropertyConfig","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","as","autoPlay","cellPadding","cellSpacing","charSet","challenge","cite","classID","cols","colSpan","contextMenu","controls","coords","dateTime","download","draggable","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","httpEquiv","inputMode","integrity","keyParams","keyType","kind","lang","loop","manifest","marginHeight","marginWidth","maxLength","media","mediaGroup","muted","noValidate","optimum","pattern","playsInline","poster","radioGroup","referrerPolicy","rel","role","rows","rowSpan","sandbox","scoped","scrolling","seamless","shape","sizes","span","spellCheck","srcDoc","srcLang","srcSet","summary","tabIndex","useMap","wmode","about","datatype","inlist","resource","typeof","vocab","autoCorrect","autoSave","itemProp","itemScope","itemType","itemID","itemRef","security","unselectable","instantiateChild","childInstances","selfDebugID","keyUnique","ReactChildReconciler","instantiateChildren","nestedChildNodes","updateChildren","prevChildren","nextChildren","mountImages","removedNodes","prevChild","nextChildInstance","nextChildMountImage","unmountChildren","renderedChildren","renderedChild","ReactDOMIDOperations","ReactComponentBrowserEnvironment","dangerouslyProcessChildrenUpdates","StatelessComponent","warnIfInvalidElement","shouldConstruct","isPureComponent","isPureReactComponent","CompositeTypes","ImpureClass","PureClass","StatelessFunctional","nextMountID","_compositeType","_calledComponentWillUnmount","renderedElement","publicProps","publicContext","_processContext","updateQueue","getUpdateQueue","doConstruct","_constructComponent","initialState","unstable_handleError","performInitialMountWithErrorHandling","performInitialMount","_constructComponentWithoutOwner","_processPendingState","debugID","componentWillMount","_renderValidatedComponent","_maskContext","contextTypes","maskedContext","contextName","currentContext","childContext","getChildContext","childContextTypes","_checkContextTypes","typeSpecs","prevContext","updateComponent","prevParentElement","nextParentElement","prevUnmaskedContext","nextUnmaskedContext","willReceive","prevProps","nextProps","componentWillReceiveProps","nextState","shouldUpdate","shouldComponentUpdate","_performComponentUpdate","unmaskedContext","prevState","hasComponentDidUpdate","componentDidUpdate","componentWillUpdate","_updateRenderedComponent","prevComponentInstance","prevRenderedElement","nextRenderedElement","oldHostNode","nextMarkup","_replaceNodeWithMarkup","prevInstance","_renderValidatedComponentWithoutOwnerOrContext","attachRef","publicComponentInstance","detachRef","assertValidProps","voidElementTags","_tag","HTML","enqueuePutListener","ReactServerRenderingTransaction","containerInfo","isDocumentFragment","_node","DOC_FRAGMENT_TYPE","_ownerDocument","listenerToPut","inputPostMount","ReactDOMInput","postMountWrapper","textareaPostMount","ReactDOMTextarea","optionPostMount","ReactDOMOption","trapBubbledEventsLocal","getNode","mediaEvents","postUpdateSelectWrapper","validateDangerousTag","validatedTagCache","VALID_TAG_REGEX","isCustomComponent","ReactDOMComponent","_namespaceURI","_previousStyle","_previousStyleCopy","ReactMultiChild","CONTENT_TYPES","STYLE","suppressContentEditableWarning","omittedCloseTags","area","br","col","embed","hr","keygen","track","wbr","newlineEatingTags","listing","pre","textarea","menuitem","globalIdCounter","Mixin","_idCounter","parentTag","mountImage","createElementNS","_updateDOMProperties","lazyTree","_createInitialChildren","tagOpen","_createOpenTagMarkupAndPutListeners","tagContent","_createContentMarkup","autoFocus","propKey","renderToStaticMarkup","contentToUse","childrenToUse","mountChildren","lastProps","_updateDOMChildren","updateWrapper","styleUpdates","lastStyle","nextProp","lastProp","lastContent","nextContent","lastHtml","nextHtml","lastChildren","lastHasContentOrHtml","nextHasContentOrHtml","updateTextContent","updateMarkup","topLevelWrapper","ReactDOMEmptyComponent","domID","createComment","useFiber","forceUpdateIfMounted","rootNode","queryRoot","querySelectorAll","otherNode","otherInstance","hostProps","defaultChecked","initialChecked","flattenChildren","didWarnInvalidOptionChildren","selectValue","selectParent","isCollapsed","anchorNode","anchorOffset","focusOffset","getIEOffsets","selectedRange","selectedLength","fromStart","duplicate","moveToElementText","setEndPoint","startOffset","endOffset","getModernOffsets","rangeCount","currentRange","getRangeAt","startContainer","endContainer","isSelectionCollapsed","rangeLength","tempRange","cloneRange","selectNodeContents","setEnd","isTempRangeCollapsed","detectionRange","setStart","isBackward","collapsed","setIEOffsets","setModernOffsets","temp","startMarker","getNodeForCharacterOffset","endMarker","removeAllRanges","addRange","useIEOffsets","ReactDOMTextComponent","_stringText","_closingComment","_commentNodes","openingValue","closingValue","createDocumentFragment","escapedText","nextText","nextStringText","commentNodes","hostNode","instA","instB","depthA","tempA","depthB","tempB","common","pathFrom","pathTo","ReactDefaultBatchingStrategyTransaction","RESET_BATCHED_UPDATES","ReactDefaultBatchingStrategy","FLUSH_BATCHED_UPDATES","alreadyBatchingUpdates","alreadyInjected","ReactInjection","EventEmitter","ReactDOMTreeTraversal","SimpleEventPlugin","SelectEventPlugin","HostComponent","SVGDOMPropertyConfig","EmptyComponent","Updates","runEventQueueInBatch","findParent","TopLevelCallbackBookKeeping","ancestors","handleTopLevelImpl","bookKeeping","ancestor","_handleTopLevel","scrollValueMonitor","getUnboundedScrollPosition","twoArgumentPooler","_enabled","dispatchEvent","adler32","TAG_END","COMMENT_START","addChecksumToMarkup","existingChecksum","markupChecksum","makeInsertMarkup","toIndex","makeMove","makeRemove","makeSetMarkup","makeTextContent","processQueue","_reconcilerInstantiateChildren","nestedChildren","_reconcilerUpdateChildren","nextNestedChildrenElements","_updateChildren","nextIndex","nextMountIndex","lastPlacedNode","_mountChildAtIndex","_unmountChild","createChild","isValidOwner","ReactOwner","addComponentAsRefTo","removeComponentAsRefFrom","ownerPublicInstance","reactMountReady","SELECTION_RESTORATION","EVENT_SUPPRESSION","currentlyEnabled","previouslyEnabled","ON_DOM_READY_QUEUEING","prevRef","prevOwner","nextRef","nextOwner","ReactServerUpdateQueue","noopCallbackQueue","NS","xlink","ATTRS","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","bias","by","calcMode","capHeight","clip","clipPath","clipRule","clipPathUnits","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cy","decelerate","descent","diffuseConstant","direction","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","exponent","externalResourcesRequired","filterRes","filterUnits","floodColor","focusable","fontSizeAdjust","fontStretch","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerMid","markerStart","markerHeight","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","operator","orient","orientation","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","stdDeviation","stemh","stemv","stitchTiles","stopColor","strikethroughPosition","strikethroughThickness","strokeLinecap","strokeLinejoin","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textRendering","textLength","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","viewTarget","visibility","widths","wordSpacing","writingMode","xHeight","x1","x2","xChannelSelector","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlns","xmlnsXlink","xmlLang","xmlSpace","y1","y2","yChannelSelector","z","zoomAndPan","boundingTop","boundingLeft","constructSelectEvent","mouseDown","currentSelection","lastSelection","skipSelectionChangeEvent","hasListener","SyntheticAnimationEvent","SyntheticClipboardEvent","SyntheticFocusEvent","SyntheticKeyboardEvent","SyntheticDragEvent","SyntheticTouchEvent","SyntheticTransitionEvent","SyntheticWheelEvent","topLevelEventsToDispatchConfig","capitalizedEvent","onEvent","topEvent","onClickListeners","EventConstructor","AnimationEventInterface","animationName","elapsedTime","pseudoElement","ClipboardEventInterface","clipboardData","CompositionEventInterface","DragEventInterface","dataTransfer","FocusEventInterface","InputEventInterface","getEventKey","KeyboardEventInterface","locale","TouchEventInterface","touches","targetTouches","changedTouches","TransitionEventInterface","WheelEventInterface","deltaX","wheelDeltaX","deltaY","wheelDeltaY","wheelDelta","deltaZ","deltaMode","MOD","isNonNumeric","componentOrElement","flattenSingleChildIntoContext","normalizeKey","translateToKey","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","8","9","12","13","16","17","18","19","20","27","32","33","34","35","36","37","38","39","40","45","46","112","113","114","115","116","117","118","119","120","121","122","123","144","145","224","getNextDebugID","nextDebugID","getLeafNode","getSiblingNode","nodeStart","nodeEnd","camelize","_hyphenPattern","character","camelizeStyleName","msPattern","outerNode","innerNode","isTextNode","compareDocumentPosition","hasArrayNature","createArrayFromMixed","getNodeName","nodeNameMatch","nodeNamePattern","handleScript","dummyNode","getMarkupWrap","wrapDepth","scripts","childNodes","markupWrap","shouldWrap","selectWrap","tableWrap","trWrap","svgWrap","legend","tr","optgroup","caption","colgroup","tbody","tfoot","thead","td","th","svgElements","scrollable","pageXOffset","scrollLeft","pageYOffset","scrollTop","hyphenate","_uppercasePattern","isNode","Node","createTransitionTimeoutPropValidator","transitionType","timeoutPropName","enabledPropName","ReactTransitionGroup","ReactCSSTransitionGroupChild","ReactCSSTransitionGroup","_temp","_ret","_wrapChild","appear","transitionAppear","transitionEnter","transitionLeave","appearTimeout","transitionAppearTimeout","enterTimeout","transitionEnterTimeout","leaveTimeout","transitionLeaveTimeout","childFactory","ReactAddonsDOMDependencies","ReactTransitionEvents","TICK","active","enterActive","leaveActive","appearActive","animationType","finishCallback","userSpecifiedDelay","activeClassName","endListener","removeEndEventListener","queueClassAndNode","transitionTimeouts","addEndEventListener","classNameAndNodeQueue","flushClassNameAndNodeQueue","componentWillAppear","componentWillEnter","componentWillLeave","escapeUserProvidedKey","userProvidedKeyEscapeRegex","ForEachBookKeeping","forEachFunction","forEachContext","forEachSingleChild","forEachChildren","forEachFunc","MapBookKeeping","mapResult","keyPrefix","mapFunction","mapContext","mapSingleChildIntoContext","childKey","mappedChild","mapIntoWithKeyPrefixInternal","escapedPrefix","mapChildren","forEachSingleChildDummy","countChildren","validateMethodOverride","isAlreadyDefined","specPolicy","ReactClassInterface","ReactClassMixin","mixSpecIntoComponent","spec","autoBindPairs","__reactAutoBindPairs","MIXINS_KEY","RESERVED_SPEC_KEYS","mixins","isReactClassMethod","shouldAutoBind","autobind","createMergedResultFunction","createChainedFunction","mixStaticSpecIntoComponent","statics","isReserved","isInherited","mergeIntoWithNoDuplicateKeys","one","two","bindAutoBindMethod","boundMethod","bindAutoBindMethods","autoBindKey","injectedMixins","getDefaultProps","getInitialState","replaceState","ReactClassComponent","methodName","injectMixin","createDOMFactory","abbr","article","aside","audio","bdi","bdo","big","blockquote","canvas","datalist","dd","del","dfn","dialog","dl","dt","em","fieldset","figcaption","figure","footer","h1","h2","h3","h4","h5","h6","hgroup","ins","kbd","li","main","mark","menu","meter","nav","noscript","ol","picture","progress","rp","rt","ruby","samp","section","small","strong","sub","sup","table","u","ul","var","video","circle","defs","ellipse","g","linearGradient","polygon","polyline","radialGradient","rect","tspan","PropTypeError","createChainableTypeChecker","checkType","propFullName","secret","ANONYMOUS","locationName","chainedCheckType","createPrimitiveTypeChecker","expectedType","propType","getPropType","preciseType","getPreciseType","createAnyTypeChecker","createArrayOfTypeChecker","typeChecker","createElementTypeChecker","createInstanceTypeChecker","expectedClass","expectedClassName","actualClassName","getClassName","createEnumTypeChecker","expectedValues","valuesString","createObjectOfTypeChecker","createUnionTypeChecker","arrayOfTypeCheckers","checker","createNodeChecker","createShapeTypeChecker","shapeTypes","symbol","instanceOf","objectOf","ComponentDummy","ReactTransitionChildMapping","getChildMapping","mergeChildMappings","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","detectEvents","animEnd","transEnd","endEvents","eventListener","endEvent","performAppear","currentlyTransitioningKeys","_handleDoneAppearing","componentDidAppear","currentChildMapping","performLeave","performEnter","_handleDoneEntering","componentDidEnter","_handleDoneLeaving","componentDidLeave","newChildren","keysToEnter","keysToLeave","initialChildMapping","nextChildMapping","prevChildMapping","hasPrev","hasNext","childrenToRender","matchesSelector_SLOW","selector","matchesSelector","matchesImpl","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","_events","_maxListeners","defaultMaxListeners","setMaxListeners","newListener","fired","listenerCount","evlistener","emitter","superCtor","super_","TempCtor","copy","readUInt8","_jsonp_utils2","_blueimpMd","_blueimpMd2","_jsonp_utils","_email_pane","_email_pane2","_username_pane","_username_pane2","_password_pane","_password_pane2","LoginPane","handleDontRememberPasswordClick","emailInputPlaceholder","forgotPasswordAction","passwordInputPlaceholder","showForgotPasswordLink","showPassword","usernameInputPlaceholder","fieldPane","passwordPane","dontRememberPassword","_mfa_code_pane","_mfa_code_pane2","MFAPane","mfaInputPlaceholder","pane","titleElement","renderPasswordResetConfirmation","PasswordResetConfirmation","_screen","_screen2","_reset_password_pane","_reset_password_pane2","_password_reset_confirmation","ResetPassword","_Screen","ResetPasswordPane","SignUpTerms","checkHandler","renderSignedUpConfirmation","SignedUpConfirmation","HRDPane","_signed_in_confirmation","_hrd_pane","_hrd_pane2","HRDScreen","_quick_auth_pane","_quick_auth_pane2","KerberosScreen","connectionDomain","QuickAuthScreen","_box","_id_utils","idu","Base","_EventEmitter","engine","validEvents","incremental","hasScheduledAuthCallback","partialApplyId","handlerName","i18nProp","oldScreenName","show","setModel","_engine","fetchClientSettings","syncClientSettingsSuccess","ErrorScreen","ErrorPane","LoadingScreen","LoadingPane","_settings2","fetchTenantSettings","syncTenantSettingsSuccess","_settings","_data","fetchSSOData","appSettingsUrl","withAD","_cache2","LastLoginScreen","shouldRenderTabs","_social_buttons_pane","_social_buttons_pane2","_login_pane","_login_pane2","_pane_separator","_pane_separator2","_login_sign_up_tabs","_login_sign_up_tabs2","_single_sign_on_notice","_single_sign_on_notice2","onlySocial","loginInstructionsKey","usernameInputPlaceholderKey","ssoNotice","Login","useDatabaseConnection","_mfa_pane","_mfa_pane2","MFALoginScreen","_custom_input","_custom_input2","SignUpPane","onlyEmail","passwordStrengthMessages","usernamePane","_sign_up_terms","_sign_up_terms2","_signed_up_confirmation","_sign_up_pane","_sign_up_pane2","signUpInstructionsKey","db","SignUp","_text_input","_text_input2","_select_input","_select_input2","CustomInput","_mfa_code_input","_mfa_code_input2","_mfa_code","MFACodePane","setMFACode","getMFACodeValidation","validateMFACode","DEFAULT_VALIDATION","mfa_code","_list2","onSelect","onCancel","validatePassword","_passwordSheriff2","_passwordSheriff","too_many_requests","lock.fallback","blocked_user","invalid_user_password","lock.invalid_code","lock.invalid_email_password","lock.invalid_username_password","lock.network","lock.popup_closed","lock.unauthorized","lock.mfa_registration_required","lock.mfa_invalid_code","password_change_required","password_leaked","too_many_attempts","session_missing","bad.email","bad.phone_number","invalid_password","password_dictionary_error","password_no_user_info_error","password_strength_error","user_exists","username_exists","magicLink","blankErrorHint","codeInputPlaceholder","databaseEnterpriseLoginInstructions","databaseEnterpriseAlternativeLoginInstructions","databaseSignUpInstructions","databaseAlternativeSignUpInstructions","enterpriseLoginIntructions","enterpriseActiveLoginInstructions","failedLabel","forgotPasswordInstructions","forgotPasswordSubmitLabel","invalidErrorHint","lastLoginInstructions","loginAtLabel","loginSubmitLabel","loginWithLabel","notYourAccountAction","nonEmpty","lengthAtLeast","shouldContain","passwordlessEmailAlternativeInstructions","passwordlessEmailCodeInstructions","passwordlessEmailInstructions","passwordlessSMSAlternativeInstructions","passwordlessSMSCodeInstructions","passwordlessSMSInstructions","phoneNumberInputPlaceholder","resendCodeAction","resendLabel","resendingLabel","retryLabel","sentLabel","signUpSubmitLabel","signUpTerms","signUpWithLabel","socialLoginInstructions","socialSignUpInstructions","ssoEnabled","submitLabel","unrecoverableError","usernameFormatErrorHint","usernameOrEmailInputPlaceholder","welcome","windowsAuthInstructions","windowsAuthLabel","mfaLoginTitle","mfaLoginInstructions","mfaSubmitLabel","mfaCodeErrorHint","_reactDom","_reactDom2","_CSSCore","_CSSCore2","_container2","ContainerManager","ensure","shouldAppend","Renderer","containerManager","modals","containerId","unmount","renderer","_reactAddonsCssTransitionGroup","_reactAddonsCssTransitionGroup2","_multisize_slide","_multisize_slide2","_global_message","_global_message2","_header","_header2","submitSvg","submitText","SubmitButton","MESSAGE_ANIMATION_DURATION","AUXILIARY_ANIMATION_DURATION","Chrome","moving","delayingShowSubmitButton","auxiliaryPaneTriggerInput","_this4","findAutofocusInput","auxiliary","_ret2","mainScreenName","inputToFocus","_ret3","onWillSlide","sliding","onDidSlide","onDidAppear","querySelector","_props4","backgroundUrl","submitButton","Content","isQuiet","handleBack","logoUrl","focusSubmit","ConfirmationPane","GlobalMessage","Header","Background","grayScale","Welcome","WelcomeMessage","_React$Component3","cssBlurSupport","isEdge","_React$Component4","blurProps","solidProps","backgorundColor","Slider","animate","_state$children","currentComponent","slide","componentWillSlideIn","classNamePrefix","componentDidSlideIn","componentWillSlideOut","_state$children2","Child","originalHeight","getComputedStyle","dh","animating","_state2","EmailInput","MFACodeInput","_util2","PasswordStrength","analysis","prepareMessage","arrowSvg","SelectInput","limitedValue","onKeyDown","handleKeyDown","UsernameInput","su","cycle","FiltrableList","filteredItems","highlighted","defaultItem","onMouseMove","scrollableNode","highlightedNode","relativeOffsetTop","offsetTop","scrollTopDelta","offsetHeight","preventHighlight","mouseMoveHandler","mouseLeaveHandler","_this5","onMouseLeave","atom","Atom","watches","_change","Cache","fetchFn","registerCallback","fetch","execCallbacks","_jsonp","_jsonp2","JSONPUtils","parser","__webpack_module_template_argument_0__","useColors","firebug","exception","formatArgs","humanize","diff","lastC","save","namespaces","storage","DEBUG","localstorage","enable","selectColor","createDebug","curr","prevTime","logFn","skips","disable","__webpack_module_template_argument_1__","oneArgumentPooler","copyFieldsFrom","Klass","instancePool","a1","a2","threeArgumentPooler","a3","a4","fiveArgumentPooler","a5","standardReleaser","poolSize","DEFAULT_POOL_SIZE","DEFAULT_POOLER","CopyConstructor","pooler","NewKlass","warning"],"mappings":";;;;;;;;CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAE,WACAE,GAAAJ,EACAK,QAAA,EAUA,OANAP,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,QAAA,EAGAF,EAAAD,QAvBA,GAAAD,KAqCA,OATAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,GAGAV,EAAA,IDIW,SAASD,GAEnB,IAAI,GAAIY,KAAKZ,GACZ,GAAGa,OAAOC,UAAUC,eAAeP,KAAKR,EAASY,GAChD,aAAcZ,GAAQY,IACtB,IAAK,WAAY,KACjB,KAAK,SAEJZ,EAAQY,GAAM,SAASI,GACtB,GAAIC,GAAOD,EAAGE,MAAM,GAAIC,EAAKnB,EAAQgB,EAAG,GACxC,OAAO,UAAUI,EAAEC,EAAEX,GACpBS,EAAGG,MAAMC,MAAOH,EAAEC,EAAEX,GAAGc,OAAOP,MAE9BjB,EAAQY,GACV,MACD,SAECZ,EAAQY,GAAKZ,EAAQA,EAAQY,IAKhC,MAAOZ,KAGF,SAASK,EAAQD,EAASH,IAEH,SAASwB,GAAS,YAM9C,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GElExF,GAAAG,GAAA7B,EAAA,KFgEK8B,EAAUL,EAAuBI,EE7DH,mBAAxBL,GAAOO,OAAOC,QAAwBR,EAAOO,OAAOC,OAAOC,IACpET,EAAOO,OAAOC,OAAO,YAAa,WAAc,MAAAF,GAAAF,UAEvCJ,EAAOO,SAChBP,EAAOO,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UL,EAAIC,EAAIE,EAAIC,EAAIE,GACjD,GAAIR,GAAQz6J,IACZ,IAAIy6J,EAAMC,aAAa33J,OAAQ,CAC7B,GAAIknC,GAAWwwH,EAAMC,aAAa/oJ,KAElC,OADA8oJ,GAAMx7J,KAAKgrC,EAAU0wH,EAAIC,EAAIE,EAAIC,EAAIE,GAC9BhxH,EAEP,MAAO,IAAIwwH,GAAME,EAAIC,EAAIE,EAAIC,EAAIE,IAIjCC,EAAmB,SAAUjxH,GAC/B,GAAIwwH,GAAQz6J,IACViqC,aAAoBwwH,GAA6J,OAAvBppJ,EAAe,MAC3K44B,EAASZ,aACLoxH,EAAMC,aAAa33J,OAAS03J,EAAMU,UACpCV,EAAMC,aAAalpJ,KAAKy4B,IAIxBmxH,EAAoB,GACpBC,EAAiBd,EAWjB/wH,EAAe,SAAU8xH,EAAiBC,GAG5C,GAAIC,GAAWF,CAOf,OANAE,GAASd,gBACTc,EAAS90H,UAAY60H,GAAUF,EAC1BG,EAASL,WACZK,EAASL,SAAWC,GAEtBI,EAASlyH,QAAU4xH,EACZM,GAGL7yH,GACFa,aAAcA,EACd+wH,kBAAmBA,EACnBt/B,kBAAmBA,EACnB4/B,oBAAqBA,EACrBrtH,mBAAoBA,EACpBwtH,mBAAoBA,EAGtBl8J,GAAOD,QAAU8pC,GxTkj5CX,SAAS7pC,EAAQD,EAASH,EAAqBu6J,GyTlq5CrD,YAEA,IAAIntH,GAAgBptC,EAAQu6J,GASxBwC,EAAU3vH,CA4CdhtC,GAAOD,QAAU48J","file":"lock.min.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ((function(modules) {\n\t// Check all modules for deduplicated modules\n\tfor(var i in modules) {\n\t\tif(Object.prototype.hasOwnProperty.call(modules, i)) {\n\t\t\tswitch(typeof modules[i]) {\n\t\t\tcase \"function\": break;\n\t\t\tcase \"object\":\n\t\t\t\t// Module can be created from a template\n\t\t\t\tmodules[i] = (function(_m) {\n\t\t\t\t\tvar args = _m.slice(1), fn = modules[_m[0]];\n\t\t\t\t\treturn function (a,b,c) {\n\t\t\t\t\t\tfn.apply(this, [a,b,c].concat(args));\n\t\t\t\t\t};\n\t\t\t\t}(modules[i]));\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\t// Module is a copy of another module\n\t\t\t\tmodules[i] = modules[modules[i]];\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn modules;\n}([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\tvar _index = __webpack_require__(140);\n\t\n\tvar _index2 = _interopRequireDefault(_index);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t// import Auth0LockPasswordless from './passwordless';\n\t\n\tif (typeof global.window.define == 'function' && global.window.define.amd) {\n\t global.window.define('auth0Lock', function () {\n\t return _index2.default;\n\t });\n\t // global.window.define('auth0LockPasswordless', function () { return Auth0LockPasswordless; });\n\t} else if (global.window) {\n\t global.window.Auth0Lock = _index2.default;\n\t // global.window.Auth0LockPasswordless = Auth0LockPasswordless;\n\t} /*\n\t *\n\t * This is used to build the bundle with browserify.\n\t *\n\t * The bundle is used by people who doesn't use browserify.\n\t * Those who use browserify will install with npm and require the module,\n\t * the package.json file points to index.js.\n\t */\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(20);\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.reset = exports.auth = exports.ui = undefined;\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\texports.setup = setup;\n\texports.id = id;\n\texports.clientID = clientID;\n\texports.domain = domain;\n\texports.clientBaseUrl = clientBaseUrl;\n\texports.tenantBaseUrl = tenantBaseUrl;\n\texports.useTenantInfo = useTenantInfo;\n\texports.languageBaseUrl = languageBaseUrl;\n\texports.setSubmitting = setSubmitting;\n\texports.submitting = submitting;\n\texports.setGlobalError = setGlobalError;\n\texports.globalError = globalError;\n\texports.clearGlobalError = clearGlobalError;\n\texports.setGlobalSuccess = setGlobalSuccess;\n\texports.globalSuccess = globalSuccess;\n\texports.clearGlobalSuccess = clearGlobalSuccess;\n\texports.rendering = rendering;\n\texports.stopRendering = stopRendering;\n\texports.withAuthOptions = withAuthOptions;\n\texports.extractTenantBaseUrlOption = extractTenantBaseUrlOption;\n\texports.render = render;\n\texports.setLoggedIn = setLoggedIn;\n\texports.loggedIn = loggedIn;\n\texports.defaultADUsernameFromEmailPrefix = defaultADUsernameFromEmailPrefix;\n\texports.warn = warn;\n\texports.error = error;\n\texports.allowedConnections = allowedConnections;\n\texports.connections = connections;\n\texports.connection = connection;\n\texports.hasOneConnection = hasOneConnection;\n\texports.hasOnlyConnections = hasOnlyConnections;\n\texports.hasSomeConnections = hasSomeConnections;\n\texports.countConnections = countConnections;\n\texports.findConnection = findConnection;\n\texports.hasConnection = hasConnection;\n\texports.filterConnections = filterConnections;\n\texports.runHook = runHook;\n\texports.emitEvent = emitEvent;\n\texports.loginErrorMessage = loginErrorMessage;\n\texports.stop = stop;\n\texports.hasStopped = hasStopped;\n\texports.hashCleanup = hashCleanup;\n\texports.emitHashParsedEvent = emitHashParsedEvent;\n\texports.emitAuthenticatedEvent = emitAuthenticatedEvent;\n\texports.emitAuthorizationErrorEvent = emitAuthorizationErrorEvent;\n\texports.emitUnrecoverableErrorEvent = emitUnrecoverableErrorEvent;\n\texports.showBadge = showBadge;\n\texports.overrideOptions = overrideOptions;\n\t\n\tvar _urlJoin = __webpack_require__(131);\n\t\n\tvar _urlJoin2 = _interopRequireDefault(_urlJoin);\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _media_utils = __webpack_require__(145);\n\t\n\tvar _string_utils = __webpack_require__(91);\n\t\n\tvar _url_utils = __webpack_require__(327);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tvar _trim = __webpack_require__(25);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _gravatar_provider = __webpack_require__(280);\n\t\n\tvar gp = _interopRequireWildcard(_gravatar_provider);\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tvar _index = __webpack_require__(39);\n\t\n\tvar _index2 = __webpack_require__(135);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"core\"]),\n\t get = _dataFns.get,\n\t init = _dataFns.init,\n\t remove = _dataFns.remove,\n\t reset = _dataFns.reset,\n\t set = _dataFns.set,\n\t tget = _dataFns.tget,\n\t tset = _dataFns.tset,\n\t tremove = _dataFns.tremove;\n\t\n\tvar _dataFns2 = (0, _data_utils.dataFns)([\"social\"]),\n\t tsetSocial = _dataFns2.tset;\n\t\n\tfunction setup(id, clientID, domain, options, hookRunner, emitEventFn) {\n\t var m = init(id, _immutable2.default.fromJS({\n\t clientBaseUrl: extractClientBaseUrlOption(options, domain),\n\t tenantBaseUrl: extractTenantBaseUrlOption(options, domain),\n\t languageBaseUrl: extractLanguageBaseUrlOption(options, domain),\n\t auth: extractAuthOptions(options),\n\t clientID: clientID,\n\t domain: domain,\n\t emitEventFn: emitEventFn,\n\t hookRunner: hookRunner,\n\t useTenantInfo: options.__useTenantInfo || false,\n\t hashCleanup: options.hashCleanup === false ? false : true,\n\t allowedConnections: _immutable2.default.fromJS(options.allowedConnections || []),\n\t ui: extractUIOptions(id, options),\n\t defaultADUsernameFromEmailPrefix: options.defaultADUsernameFromEmailPrefix === false ? false : true\n\t }));\n\t\n\t m = i18n.initI18n(m);\n\t\n\t return m;\n\t}\n\t\n\tfunction id(m) {\n\t return m.get(\"id\");\n\t}\n\t\n\tfunction clientID(m) {\n\t return get(m, \"clientID\");\n\t}\n\t\n\tfunction domain(m) {\n\t return get(m, \"domain\");\n\t}\n\t\n\tfunction clientBaseUrl(m) {\n\t return get(m, \"clientBaseUrl\");\n\t}\n\t\n\tfunction tenantBaseUrl(m) {\n\t return get(m, \"tenantBaseUrl\");\n\t}\n\t\n\tfunction useTenantInfo(m) {\n\t return get(m, \"useTenantInfo\");\n\t}\n\t\n\tfunction languageBaseUrl(m) {\n\t return get(m, \"languageBaseUrl\");\n\t}\n\t\n\tfunction setSubmitting(m, value) {\n\t var error = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n\t\n\t m = tset(m, \"submitting\", value);\n\t m = clearGlobalSuccess(m);\n\t m = error && !value ? setGlobalError(m, error) : clearGlobalError(m);\n\t return m;\n\t}\n\t\n\tfunction submitting(m) {\n\t return tget(m, \"submitting\", false);\n\t}\n\t\n\tfunction setGlobalError(m, str) {\n\t return tset(m, \"globalError\", str);\n\t}\n\t\n\tfunction globalError(m) {\n\t return tget(m, \"globalError\", \"\");\n\t}\n\t\n\tfunction clearGlobalError(m) {\n\t return tremove(m, \"globalError\");\n\t}\n\t\n\tfunction setGlobalSuccess(m, str) {\n\t return tset(m, \"globalSuccess\", str);\n\t}\n\t\n\tfunction globalSuccess(m) {\n\t return tget(m, \"globalSuccess\", \"\");\n\t}\n\t\n\tfunction clearGlobalSuccess(m) {\n\t return tremove(m, \"globalSuccess\");\n\t}\n\t\n\tfunction rendering(m) {\n\t return tget(m, \"render\", false);\n\t}\n\t\n\tfunction stopRendering(m) {\n\t return tremove(m, \"render\");\n\t}\n\t\n\tfunction extractUIOptions(id, options) {\n\t var closable = options.container ? false : undefined === options.closable ? true : !!options.closable;\n\t var theme = options.theme || {};\n\t var labeledSubmitButton = theme.labeledSubmitButton,\n\t logo = theme.logo,\n\t primaryColor = theme.primaryColor,\n\t authButtons = theme.authButtons;\n\t\n\t\n\t var avatar = options.avatar !== null;\n\t var customAvatarProvider = options.avatar && typeof options.avatar.url === \"function\" && typeof options.avatar.displayName === \"function\" && options.avatar;\n\t var avatarProvider = customAvatarProvider || gp;\n\t\n\t return new _immutable2.default.fromJS({\n\t containerID: options.container || 'auth0-lock-container-' + id,\n\t appendContainer: !options.container,\n\t autoclose: undefined === options.autoclose ? false : closable && options.autoclose,\n\t autofocus: undefined === options.autofocus ? !(options.container || (0, _media_utils.isSmallScreen)()) : !!options.autofocus,\n\t avatar: avatar,\n\t avatarProvider: avatarProvider,\n\t logo: typeof logo === \"string\" ? logo : undefined,\n\t closable: closable,\n\t labeledSubmitButton: undefined === labeledSubmitButton ? true : !!labeledSubmitButton,\n\t language: undefined === options.language ? \"en\" : (0, _trim2.default)(options.language || \"\").toLowerCase(),\n\t dict: _typeof(options.languageDictionary) === \"object\" ? options.languageDictionary : {},\n\t disableWarnings: options.disableWarnings === undefined ? false : !!options.disableWarnings,\n\t mobile: undefined === options.mobile ? false : !!options.mobile,\n\t popupOptions: undefined === options.popupOptions ? {} : options.popupOptions,\n\t primaryColor: typeof primaryColor === \"string\" ? primaryColor : undefined,\n\t rememberLastLogin: undefined === options.rememberLastLogin ? true : !!options.rememberLastLogin,\n\t authButtonsTheme: (typeof authButtons === 'undefined' ? 'undefined' : _typeof(authButtons)) === \"object\" ? authButtons : {}\n\t });\n\t}\n\t\n\tvar _dataFns3 = (0, _data_utils.dataFns)([\"core\", \"ui\"]),\n\t getUI = _dataFns3.get,\n\t setUI = _dataFns3.set;\n\t\n\tvar _dataFns4 = (0, _data_utils.dataFns)([\"core\", \"transient\", \"ui\"]),\n\t tgetUI = _dataFns4.get,\n\t tsetUI = _dataFns4.set;\n\t\n\tvar getUIAttribute = function getUIAttribute(m, attribute) {\n\t return tgetUI(m, attribute) || getUI(m, attribute);\n\t};\n\t\n\tvar ui = exports.ui = {\n\t containerID: function containerID(lock) {\n\t return getUIAttribute(lock, \"containerID\");\n\t },\n\t appendContainer: function appendContainer(lock) {\n\t return getUIAttribute(lock, \"appendContainer\");\n\t },\n\t autoclose: function autoclose(lock) {\n\t return getUIAttribute(lock, \"autoclose\");\n\t },\n\t autofocus: function autofocus(lock) {\n\t return getUIAttribute(lock, \"autofocus\");\n\t },\n\t avatar: function avatar(lock) {\n\t return getUIAttribute(lock, \"avatar\");\n\t },\n\t avatarProvider: function avatarProvider(lock) {\n\t return getUIAttribute(lock, \"avatarProvider\");\n\t },\n\t closable: function closable(lock) {\n\t return getUIAttribute(lock, \"closable\");\n\t },\n\t dict: function dict(lock) {\n\t return getUIAttribute(lock, \"dict\");\n\t },\n\t disableWarnings: function disableWarnings(lock) {\n\t return getUIAttribute(lock, \"disableWarnings\");\n\t },\n\t labeledSubmitButton: function labeledSubmitButton(lock) {\n\t return getUIAttribute(lock, \"labeledSubmitButton\");\n\t },\n\t language: function language(lock) {\n\t return getUIAttribute(lock, \"language\");\n\t },\n\t logo: function logo(lock) {\n\t return getUIAttribute(lock, \"logo\");\n\t },\n\t mobile: function mobile(lock) {\n\t return getUIAttribute(lock, \"mobile\");\n\t },\n\t popupOptions: function popupOptions(lock) {\n\t return getUIAttribute(lock, \"popupOptions\");\n\t },\n\t primaryColor: function primaryColor(lock) {\n\t return getUIAttribute(lock, \"primaryColor\");\n\t },\n\t authButtonsTheme: function authButtonsTheme(lock) {\n\t return getUIAttribute(lock, \"authButtonsTheme\");\n\t },\n\t rememberLastLogin: function rememberLastLogin(m) {\n\t return tget(m, \"rememberLastLogin\", getUIAttribute(m, \"rememberLastLogin\"));\n\t }\n\t};\n\t\n\tvar _dataFns5 = (0, _data_utils.dataFns)([\"core\", \"auth\"]),\n\t getAuthAttribute = _dataFns5.get;\n\t\n\tvar auth = exports.auth = {\n\t connectionScopes: function connectionScopes(m) {\n\t return getAuthAttribute(m, \"connectionScopes\");\n\t },\n\t params: function params(m) {\n\t return tget(m, \"authParams\") || getAuthAttribute(m, \"params\");\n\t },\n\t redirect: function redirect(lock) {\n\t return getAuthAttribute(lock, \"redirect\");\n\t },\n\t redirectUrl: function redirectUrl(lock) {\n\t return getAuthAttribute(lock, \"redirectUrl\");\n\t },\n\t responseType: function responseType(lock) {\n\t return getAuthAttribute(lock, \"responseType\");\n\t },\n\t sso: function sso(lock) {\n\t return getAuthAttribute(lock, \"sso\");\n\t }\n\t};\n\t\n\tfunction extractAuthOptions(options) {\n\t var _ref = options.auth || {},\n\t connectionScopes = _ref.connectionScopes,\n\t params = _ref.params,\n\t redirect = _ref.redirect,\n\t redirectUrl = _ref.redirectUrl,\n\t responseMode = _ref.responseMode,\n\t responseType = _ref.responseType,\n\t sso = _ref.sso;\n\t\n\t connectionScopes = (typeof connectionScopes === 'undefined' ? 'undefined' : _typeof(connectionScopes)) === \"object\" ? connectionScopes : {};\n\t params = (typeof params === 'undefined' ? 'undefined' : _typeof(params)) === \"object\" ? params : {};\n\t redirectUrl = typeof redirectUrl === \"string\" && redirectUrl ? redirectUrl : undefined;\n\t redirect = typeof redirect === \"boolean\" ? redirect : true;\n\t responseMode = typeof responseMode === \"string\" ? responseMode : undefined;\n\t responseType = typeof responseType === \"string\" ? responseType : redirectUrl ? \"code\" : \"token\";\n\t\n\t sso = typeof sso === \"boolean\" ? sso : true;\n\t\n\t if ((0, _trim2.default)(params.scope || \"\") === \"openid profile\") {\n\t warn(options, \"Usage of scope 'openid profile' is not recommended. See https://auth0.com/docs/scopes for more details.\");\n\t }\n\t\n\t return _immutable2.default.fromJS({\n\t connectionScopes: connectionScopes,\n\t params: params,\n\t redirect: redirect,\n\t redirectUrl: redirectUrl,\n\t responseMode: responseMode,\n\t responseType: responseType,\n\t sso: sso\n\t });\n\t}\n\t\n\tfunction withAuthOptions(m, opts) {\n\t return _immutable2.default.fromJS(opts).merge(get(m, \"auth\")).toJS();\n\t}\n\t\n\tfunction extractClientBaseUrlOption(opts, domain) {\n\t if (opts.clientBaseUrl && typeof opts.clientBaseUrl === \"string\") {\n\t return opts.clientBaseUrl;\n\t }\n\t\n\t if (opts.configurationBaseUrl && typeof opts.configurationBaseUrl === \"string\") {\n\t return opts.configurationBaseUrl;\n\t }\n\t\n\t if (opts.assetsUrl && typeof opts.assetsUrl === \"string\") {\n\t return opts.assetsUrl;\n\t }\n\t\n\t var domainUrl = \"https://\" + domain;\n\t var hostname = (0, _url_utils.parseUrl)(domainUrl).hostname;\n\t var DOT_AUTH0_DOT_COM = \".auth0.com\";\n\t var AUTH0_US_CDN_URL = \"https://cdn.auth0.com\";\n\t if ((0, _string_utils.endsWith)(hostname, DOT_AUTH0_DOT_COM)) {\n\t var parts = hostname.split(\".\");\n\t return parts.length > 3 ? \"https://cdn.\" + parts[parts.length - 3] + DOT_AUTH0_DOT_COM : AUTH0_US_CDN_URL;\n\t } else {\n\t return domainUrl;\n\t }\n\t}\n\t\n\tfunction extractTenantBaseUrlOption(opts, domain) {\n\t if (opts.configurationBaseUrl && typeof opts.configurationBaseUrl === \"string\") {\n\t return (0, _urlJoin2.default)(opts.configurationBaseUrl, 'info-v1.js');\n\t }\n\t\n\t if (opts.assetsUrl && typeof opts.assetsUrl === \"string\") {\n\t return opts.assetsUrl;\n\t }\n\t\n\t var domainUrl = \"https://\" + domain;\n\t var hostname = (0, _url_utils.parseUrl)(domainUrl).hostname;\n\t var DOT_AUTH0_DOT_COM = \".auth0.com\";\n\t var AUTH0_US_CDN_URL = \"https://cdn.auth0.com\";\n\t\n\t var parts = hostname.split(\".\");\n\t var tenant_name = parts[0];\n\t var domain;\n\t\n\t if ((0, _string_utils.endsWith)(hostname, DOT_AUTH0_DOT_COM)) {\n\t domain = parts.length > 3 ? \"https://cdn.\" + parts[parts.length - 3] + DOT_AUTH0_DOT_COM : AUTH0_US_CDN_URL;\n\t\n\t return (0, _urlJoin2.default)(domain, 'tenants', 'v1', tenant_name + '.js');\n\t } else {\n\t return (0, _urlJoin2.default)(domainUrl, 'info-v1.js');\n\t }\n\t}\n\t\n\tfunction extractLanguageBaseUrlOption(opts, domain) {\n\t if (opts.languageBaseUrl && typeof opts.languageBaseUrl === \"string\") {\n\t return opts.languageBaseUrl;\n\t }\n\t\n\t if (opts.assetsUrl && typeof opts.assetsUrl === \"string\") {\n\t return opts.assetsUrl;\n\t }\n\t\n\t return \"https://cdn.auth0.com\";\n\t}\n\t\n\tfunction render(m) {\n\t return tset(m, \"render\", true);\n\t}\n\t\n\texports.reset = reset;\n\tfunction setLoggedIn(m, value) {\n\t return tset(m, \"loggedIn\", value);\n\t}\n\t\n\tfunction loggedIn(m) {\n\t return tget(m, \"loggedIn\", false);\n\t}\n\t\n\tfunction defaultADUsernameFromEmailPrefix(m) {\n\t return get(m, \"defaultADUsernameFromEmailPrefix\", true);\n\t}\n\t\n\tfunction warn(x, str) {\n\t var shouldOutput = _immutable.Map.isMap(x) ? !ui.disableWarnings(x) : !x.disableWarnings;\n\t\n\t if (shouldOutput && console && console.warn) {\n\t console.warn(str);\n\t }\n\t}\n\t\n\tfunction error(x, str) {\n\t var shouldOutput = _immutable.Map.isMap(x) ? !ui.disableWarnings(x) : !x.disableWarnings;\n\t\n\t if (shouldOutput && console && console.error) {\n\t console.error(str);\n\t }\n\t}\n\t\n\tfunction allowedConnections(m) {\n\t return tget(m, \"allowedConnections\") || get(m, \"allowedConnections\");\n\t}\n\t\n\tfunction connections(m) {\n\t for (var _len = arguments.length, strategies = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n\t strategies[_key - 2] = arguments[_key];\n\t }\n\t\n\t var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\t\n\t if (arguments.length === 1) {\n\t return tget(m, \"connections\", (0, _immutable.Map)()).filter(function (v, k) {\n\t return k !== \"unknown\";\n\t }).valueSeq().flatten(true);\n\t }\n\t\n\t var xs = tget(m, [\"connections\", type], (0, _immutable.List)());\n\t return strategies.length > 0 ? xs.filter(function (x) {\n\t return ~strategies.indexOf(x.get(\"strategy\"));\n\t }) : xs;\n\t}\n\t\n\tfunction connection(m) {\n\t var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\t\n\t for (var _len2 = arguments.length, strategies = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n\t strategies[_key2 - 2] = arguments[_key2];\n\t }\n\t\n\t return connections.apply(undefined, [m, type].concat(strategies)).get(0);\n\t}\n\t\n\tfunction hasOneConnection(m) {\n\t var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\t\n\t var xs = connections(m);\n\t return xs.count() === 1 && (!type || xs.getIn([0, \"type\"]) === type);\n\t}\n\t\n\tfunction hasOnlyConnections(m) {\n\t var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\t\n\t var all = connections(m).count();\n\t\n\t for (var _len3 = arguments.length, strategies = Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {\n\t strategies[_key3 - 2] = arguments[_key3];\n\t }\n\t\n\t var filtered = connections.apply(undefined, [m, type].concat(strategies)).count();\n\t return all > 0 && all === filtered;\n\t}\n\t\n\tfunction hasSomeConnections(m) {\n\t var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\t\n\t for (var _len4 = arguments.length, strategies = Array(_len4 > 2 ? _len4 - 2 : 0), _key4 = 2; _key4 < _len4; _key4++) {\n\t strategies[_key4 - 2] = arguments[_key4];\n\t }\n\t\n\t return countConnections.apply(undefined, [m, type].concat(strategies)) > 0;\n\t}\n\t\n\tfunction countConnections(m) {\n\t var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\t\n\t for (var _len5 = arguments.length, strategies = Array(_len5 > 2 ? _len5 - 2 : 0), _key5 = 2; _key5 < _len5; _key5++) {\n\t strategies[_key5 - 2] = arguments[_key5];\n\t }\n\t\n\t return connections.apply(undefined, [m, type].concat(strategies)).count();\n\t}\n\t\n\tfunction findConnection(m, name) {\n\t return connections(m).find(function (m1) {\n\t return m1.get(\"name\") === name;\n\t });\n\t}\n\t\n\tfunction hasConnection(m, name) {\n\t return !!findConnection(m, name);\n\t}\n\t\n\tfunction filterConnections(m) {\n\t var allowed = allowedConnections(m);\n\t\n\t var order = allowed.count() === 0 ? function (_) {\n\t return 0;\n\t } : function (c) {\n\t return allowed.indexOf(c.get(\"name\"));\n\t };\n\t\n\t return tset(m, \"connections\", (0, _index2.clientConnections)(m).map(function (cs) {\n\t return cs.filter(function (c) {\n\t return order(c) >= 0;\n\t }).sort(function (c1, c2) {\n\t return order(c1) - order(c2);\n\t });\n\t }));\n\t}\n\t\n\tfunction runHook(m, str) {\n\t for (var _len6 = arguments.length, args = Array(_len6 > 2 ? _len6 - 2 : 0), _key6 = 2; _key6 < _len6; _key6++) {\n\t args[_key6 - 2] = arguments[_key6];\n\t }\n\t\n\t return get(m, \"hookRunner\").apply(undefined, [str, m].concat(args));\n\t}\n\t\n\tfunction emitEvent(m, str) {\n\t for (var _len7 = arguments.length, args = Array(_len7 > 2 ? _len7 - 2 : 0), _key7 = 2; _key7 < _len7; _key7++) {\n\t args[_key7 - 2] = arguments[_key7];\n\t }\n\t\n\t setTimeout(function () {\n\t var emitEventFn = get(m, \"emitEventFn\");\n\t var hadListener = emitEventFn.apply(undefined, [str].concat(args));\n\t // Handle uncaught custom error\n\t if (str === \"unrecoverable_error\" && !hadListener) {\n\t throw new (Function.prototype.bind.apply(Error, [null].concat(args)))();\n\t }\n\t }, 0);\n\t}\n\t\n\tfunction loginErrorMessage(m, error, type) {\n\t // NOTE: previous version of lock checked for status codes and, at\n\t // some point, if the status code was 401 it defaults to an\n\t // \"invalid_user_password\" error (actually the\n\t // \"wrongEmailPasswordErrorText\" dict entry) instead of checking\n\t // explicitly. We should figure out if there was a reason for that.\n\t\n\t if (error.status === 0) {\n\t return i18n.str(m, [\"error\", \"login\", \"lock.network\"]);\n\t }\n\t\n\t // Custom rule error (except blocked_user)\n\t if (error.code === \"rule_error\") {\n\t return error.description || i18n.str(m, [\"error\", \"login\", \"lock.fallback\"]);\n\t }\n\t\n\t var INVALID_MAP = {\n\t code: \"lock.invalid_code\",\n\t email: \"lock.invalid_email_password\",\n\t username: \"lock.invalid_username_password\"\n\t };\n\t\n\t var code = error.error || error.code;\n\t if (code === \"invalid_user_password\" && INVALID_MAP[type]) {\n\t code = INVALID_MAP[type];\n\t }\n\t\n\t if (code === \"a0.mfa_registration_required\") {\n\t code = \"lock.mfa_registration_required\";\n\t }\n\t\n\t if (code === \"a0.mfa_invalid_code\") {\n\t code = \"lock.mfa_invalid_code\";\n\t }\n\t\n\t return i18n.str(m, [\"error\", \"login\", code]) || i18n.str(m, [\"error\", \"login\", \"lock.fallback\"]);\n\t}\n\t\n\t// TODO: rename to something less generic that is easier to grep\n\tfunction stop(m, error) {\n\t if (error) {\n\t setTimeout(function () {\n\t return emitEvent(m, \"unrecoverable_error\", error);\n\t }, 17);\n\t }\n\t\n\t return set(m, \"stopped\", true);\n\t}\n\t\n\tfunction hasStopped(m) {\n\t return get(m, \"stopped\");\n\t}\n\t\n\tfunction hashCleanup(m) {\n\t return get(m, \"hashCleanup\");\n\t}\n\t\n\tfunction emitHashParsedEvent(m, parsedHash) {\n\t emitEvent(m, \"hash_parsed\", parsedHash);\n\t}\n\t\n\tfunction emitAuthenticatedEvent(m, result) {\n\t emitEvent(m, \"authenticated\", result);\n\t}\n\t\n\tfunction emitAuthorizationErrorEvent(m, error) {\n\t emitEvent(m, \"authorization_error\", error);\n\t}\n\t\n\tfunction emitUnrecoverableErrorEvent(m, error) {\n\t emitEvent(m, \"unrecoverable_error\", error);\n\t}\n\t\n\tfunction showBadge(m) {\n\t return (0, _index2.hasFreeSubscription)(m) || false;\n\t}\n\t\n\tfunction overrideOptions(m, opts) {\n\t if (!opts) opts = {};\n\t\n\t if (opts.allowedConnections) {\n\t m = tset(m, \"allowedConnections\", _immutable2.default.fromJS(opts.allowedConnections));\n\t }\n\t\n\t if (opts.socialButtonStyle) {\n\t var curated = (0, _index.processSocialOptions)(opts);\n\t m = tsetSocial(m, \"socialButtonStyle\", curated.socialButtonStyle);\n\t }\n\t\n\t if (opts.flashMessage) {\n\t var key = \"success\" === opts.flashMessage.type ? \"globalSuccess\" : \"globalError\";\n\t m = tset(m, key, opts.flashMessage.text);\n\t }\n\t\n\t if (opts.auth && opts.auth.params) {\n\t m = tset(m, \"authParams\", _immutable2.default.fromJS(opts.auth.params));\n\t }\n\t\n\t if (opts.theme) {\n\t if (opts.theme.primaryColor) {\n\t m = tset(m, [\"ui\", \"primaryColor\"], opts.theme.primaryColor);\n\t }\n\t\n\t if (opts.theme.logo) {\n\t m = tset(m, [\"ui\", \"logo\"], opts.theme.logo);\n\t }\n\t }\n\t\n\t if (opts.language || opts.languageDictionary) {\n\t\n\t if (opts.language) {\n\t m = tset(m, [\"ui\", \"language\"], opts.language);\n\t }\n\t\n\t if (opts.languageDictionary) {\n\t m = tset(m, [\"ui\", \"dict\"], opts.languageDictionary);\n\t }\n\t\n\t m = i18n.initI18n(m);\n\t }\n\t\n\t if (typeof opts.rememberLastLogin === \"boolean\") {\n\t m = tset(m, \"rememberLastLogin\", opts.rememberLastLogin);\n\t }\n\t\n\t return m;\n\t}\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Use invariant() to assert state which your program assumes to be true.\n\t *\n\t * Provide sprintf-style format (only %s is supported) and arguments\n\t * to provide information about what broke and what you were\n\t * expecting.\n\t *\n\t * The invariant message will be stripped in production, but the invariant\n\t * will remain to ensure logic does not differ in production.\n\t */\n\t\n\tvar validateFormat = function validateFormat(format) {};\n\t\n\tif (false) {\n\t validateFormat = function validateFormat(format) {\n\t if (format === undefined) {\n\t throw new Error('invariant requires an error message argument');\n\t }\n\t };\n\t}\n\t\n\tfunction invariant(condition, format, a, b, c, d, e, f) {\n\t validateFormat(format);\n\t\n\t if (!condition) {\n\t var error;\n\t if (format === undefined) {\n\t error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n\t } else {\n\t var args = [a, b, c, d, e, f];\n\t var argIndex = 0;\n\t error = new Error(format.replace(/%s/g, function () {\n\t return args[argIndex++];\n\t }));\n\t error.name = 'Invariant Violation';\n\t }\n\t\n\t error.framesToPop = 1; // we don't care about invariant's own frame\n\t throw error;\n\t }\n\t}\n\t\n\tmodule.exports = invariant;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t'use strict';\n\t\n\t/**\n\t * WARNING: DO NOT manually require this module.\n\t * This is a replacement for `invariant(...)` used by the error code system\n\t * and will _only_ be required by the corresponding babel pass.\n\t * It always throws.\n\t */\n\t\n\tfunction reactProdInvariant(code) {\n\t var argCount = arguments.length - 1;\n\t\n\t var message = 'Minified React error #' + code + '; visit ' + 'http://facebook.github.io/react/docs/error-decoder.html?invariant=' + code;\n\t\n\t for (var argIdx = 0; argIdx < argCount; argIdx++) {\n\t message += '&args[]=' + encodeURIComponent(arguments[argIdx + 1]);\n\t }\n\t\n\t message += ' for the full message or use the non-minified dev environment' + ' for full errors and additional helpful warnings.';\n\t\n\t var error = new Error(message);\n\t error.name = 'Invariant Violation';\n\t error.framesToPop = 1; // we don't care about reactProdInvariant's own frame\n\t\n\t throw error;\n\t}\n\t\n\tmodule.exports = reactProdInvariant;\n\n/***/ },\n/* 5 */\n[332, 19],\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar DOMProperty = __webpack_require__(32);\n\tvar ReactDOMComponentFlags = __webpack_require__(101);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\tvar ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;\n\tvar Flags = ReactDOMComponentFlags;\n\t\n\tvar internalInstanceKey = '__reactInternalInstance$' + Math.random().toString(36).slice(2);\n\t\n\t/**\n\t * Drill down (through composites and empty components) until we get a host or\n\t * host text component.\n\t *\n\t * This is pretty polymorphic but unavoidable with the current structure we have\n\t * for `_renderedChildren`.\n\t */\n\tfunction getRenderedHostOrTextFromComponent(component) {\n\t var rendered;\n\t while (rendered = component._renderedComponent) {\n\t component = rendered;\n\t }\n\t return component;\n\t}\n\t\n\t/**\n\t * Populate `_hostNode` on the rendered host/text component with the given\n\t * DOM node. The passed `inst` can be a composite.\n\t */\n\tfunction precacheNode(inst, node) {\n\t var hostInst = getRenderedHostOrTextFromComponent(inst);\n\t hostInst._hostNode = node;\n\t node[internalInstanceKey] = hostInst;\n\t}\n\t\n\tfunction uncacheNode(inst) {\n\t var node = inst._hostNode;\n\t if (node) {\n\t delete node[internalInstanceKey];\n\t inst._hostNode = null;\n\t }\n\t}\n\t\n\t/**\n\t * Populate `_hostNode` on each child of `inst`, assuming that the children\n\t * match up with the DOM (element) children of `node`.\n\t *\n\t * We cache entire levels at once to avoid an n^2 problem where we access the\n\t * children of a node sequentially and have to walk from the start to our target\n\t * node every time.\n\t *\n\t * Since we update `_renderedChildren` and the actual DOM at (slightly)\n\t * different times, we could race here and see a newer `_renderedChildren` than\n\t * the DOM nodes we see. To avoid this, ReactMultiChild calls\n\t * `prepareToManageChildren` before we change `_renderedChildren`, at which\n\t * time the container's child nodes are always cached (until it unmounts).\n\t */\n\tfunction precacheChildNodes(inst, node) {\n\t if (inst._flags & Flags.hasCachedChildNodes) {\n\t return;\n\t }\n\t var children = inst._renderedChildren;\n\t var childNode = node.firstChild;\n\t outer: for (var name in children) {\n\t if (!children.hasOwnProperty(name)) {\n\t continue;\n\t }\n\t var childInst = children[name];\n\t var childID = getRenderedHostOrTextFromComponent(childInst)._domID;\n\t if (childID === 0) {\n\t // We're currently unmounting this child in ReactMultiChild; skip it.\n\t continue;\n\t }\n\t // We assume the child nodes are in the same order as the child instances.\n\t for (; childNode !== null; childNode = childNode.nextSibling) {\n\t if (childNode.nodeType === 1 && childNode.getAttribute(ATTR_NAME) === String(childID) || childNode.nodeType === 8 && childNode.nodeValue === ' react-text: ' + childID + ' ' || childNode.nodeType === 8 && childNode.nodeValue === ' react-empty: ' + childID + ' ') {\n\t precacheNode(childInst, childNode);\n\t continue outer;\n\t }\n\t }\n\t // We reached the end of the DOM children without finding an ID match.\n\t true ? false ? invariant(false, 'Unable to find element with ID %s.', childID) : _prodInvariant('32', childID) : void 0;\n\t }\n\t inst._flags |= Flags.hasCachedChildNodes;\n\t}\n\t\n\t/**\n\t * Given a DOM node, return the closest ReactDOMComponent or\n\t * ReactDOMTextComponent instance ancestor.\n\t */\n\tfunction getClosestInstanceFromNode(node) {\n\t if (node[internalInstanceKey]) {\n\t return node[internalInstanceKey];\n\t }\n\t\n\t // Walk up the tree until we find an ancestor whose instance we have cached.\n\t var parents = [];\n\t while (!node[internalInstanceKey]) {\n\t parents.push(node);\n\t if (node.parentNode) {\n\t node = node.parentNode;\n\t } else {\n\t // Top of the tree. This node must not be part of a React tree (or is\n\t // unmounted, potentially).\n\t return null;\n\t }\n\t }\n\t\n\t var closest;\n\t var inst;\n\t for (; node && (inst = node[internalInstanceKey]); node = parents.pop()) {\n\t closest = inst;\n\t if (parents.length) {\n\t precacheChildNodes(inst, node);\n\t }\n\t }\n\t\n\t return closest;\n\t}\n\t\n\t/**\n\t * Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent\n\t * instance, or null if the node was not rendered by this React.\n\t */\n\tfunction getInstanceFromNode(node) {\n\t var inst = getClosestInstanceFromNode(node);\n\t if (inst != null && inst._hostNode === node) {\n\t return inst;\n\t } else {\n\t return null;\n\t }\n\t}\n\t\n\t/**\n\t * Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding\n\t * DOM node.\n\t */\n\tfunction getNodeFromInstance(inst) {\n\t // Without this first invariant, passing a non-DOM-component triggers the next\n\t // invariant for a missing parent, which is super confusing.\n\t !(inst._hostNode !== undefined) ? false ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n\t\n\t if (inst._hostNode) {\n\t return inst._hostNode;\n\t }\n\t\n\t // Walk up the tree until we find an ancestor whose DOM node we have cached.\n\t var parents = [];\n\t while (!inst._hostNode) {\n\t parents.push(inst);\n\t !inst._hostParent ? false ? invariant(false, 'React DOM tree root should always have a node reference.') : _prodInvariant('34') : void 0;\n\t inst = inst._hostParent;\n\t }\n\t\n\t // Now parents contains each ancestor that does *not* have a cached native\n\t // node, and `inst` is the deepest ancestor that does.\n\t for (; parents.length; inst = parents.pop()) {\n\t precacheChildNodes(inst, inst._hostNode);\n\t }\n\t\n\t return inst._hostNode;\n\t}\n\t\n\tvar ReactDOMComponentTree = {\n\t getClosestInstanceFromNode: getClosestInstanceFromNode,\n\t getInstanceFromNode: getInstanceFromNode,\n\t getNodeFromInstance: getNodeFromInstance,\n\t precacheChildNodes: precacheChildNodes,\n\t precacheNode: precacheNode,\n\t uncacheNode: uncacheNode\n\t};\n\t\n\tmodule.exports = ReactDOMComponentTree;\n\n/***/ },\n/* 7 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t/* eslint-disable no-unused-vars */\n\t\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\tvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\t\n\tfunction toObject(val) {\n\t\tif (val === null || val === undefined) {\n\t\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t\t}\n\t\n\t\treturn Object(val);\n\t}\n\t\n\tfunction shouldUseNative() {\n\t\ttry {\n\t\t\tif (!Object.assign) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// Detect buggy property enumeration order in older V8 versions.\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\t\tvar test1 = new String('abc'); // eslint-disable-line\n\t\t\ttest1[5] = 'de';\n\t\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test2 = {};\n\t\t\tfor (var i = 0; i < 10; i++) {\n\t\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t\t}\n\t\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\t\treturn test2[n];\n\t\t\t});\n\t\t\tif (order2.join('') !== '0123456789') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test3 = {};\n\t\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\t\ttest3[letter] = letter;\n\t\t\t});\n\t\t\tif (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\t\treturn false;\n\t\t}\n\t}\n\t\n\tmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\t\tvar from;\n\t\tvar to = toObject(target);\n\t\tvar symbols;\n\t\n\t\tfor (var s = 1; s < arguments.length; s++) {\n\t\t\tfrom = Object(arguments[s]);\n\t\n\t\t\tfor (var key in from) {\n\t\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\t\tto[key] = from[key];\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\tif (Object.getOwnPropertySymbols) {\n\t\t\t\tsymbols = Object.getOwnPropertySymbols(from);\n\t\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\t\treturn to;\n\t};\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\texports.setField = setField;\n\texports.registerOptionField = registerOptionField;\n\texports.setOptionField = setOptionField;\n\texports.isFieldValid = isFieldValid;\n\texports.getFieldInvalidHint = getFieldInvalidHint;\n\texports.isFieldVisiblyInvalid = isFieldVisiblyInvalid;\n\texports.showInvalidField = showInvalidField;\n\texports.hideInvalidFields = hideInvalidFields;\n\texports.setFieldShowInvalid = setFieldShowInvalid;\n\texports.clearFields = clearFields;\n\texports.getField = getField;\n\texports.getFieldValue = getFieldValue;\n\texports.getFieldLabel = getFieldLabel;\n\texports.phoneNumber = phoneNumber;\n\texports.email = email;\n\texports.vcode = vcode;\n\texports.password = password;\n\texports.username = username;\n\texports.mfaCode = mfaCode;\n\texports.isSelecting = isSelecting;\n\texports.renderOptionSelection = renderOptionSelection;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _trim = __webpack_require__(25);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _option_selection_pane = __webpack_require__(307);\n\t\n\tvar _option_selection_pane2 = _interopRequireDefault(_option_selection_pane);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction setField(m, field, value) {\n\t var validator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : function (str) {\n\t return (0, _trim2.default)(str).length > 0;\n\t };\n\t\n\t var prevValue = m.getIn([\"field\", field, \"value\"]);\n\t var prevShowInvalid = m.getIn([\"field\", field, \"showInvalid\"], false);\n\t\n\t for (var _len = arguments.length, args = Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++) {\n\t args[_key - 4] = arguments[_key];\n\t }\n\t\n\t var validation = validate.apply(undefined, [validator, value].concat(args));\n\t\n\t return m.mergeIn([\"field\", field], validation, (0, _immutable.Map)({\n\t value: value,\n\t showInvalid: prevShowInvalid && prevValue === value\n\t }));\n\t}\n\t\n\tfunction validate(validator, value) {\n\t if (typeof validator != \"function\") return (0, _immutable.Map)({ valid: true });\n\t\n\t for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n\t args[_key2 - 2] = arguments[_key2];\n\t }\n\t\n\t var validation = validator.apply(undefined, [value].concat(args));\n\t return validation && (typeof validation === 'undefined' ? 'undefined' : _typeof(validation)) === \"object\" ? (0, _immutable.Map)({ valid: validation.valid, invalidHint: validation.hint }) : (0, _immutable.Map)({ valid: !!validation });\n\t}\n\t\n\t// TODO: this should handle icons, and everything.\n\t// TODO: also there should be a similar fn for regular fields.\n\tfunction registerOptionField(m, field, options, initialValue) {\n\t var valid = true,\n\t hasInitial = !initialValue,\n\t initialOption = void 0;\n\t options.forEach(function (x) {\n\t valid = valid && x.get(\"label\") && typeof x.get(\"label\") === \"string\" && x.get(\"value\") && typeof x.get(\"value\") === \"string\";\n\t\n\t if (!hasInitial && x.get(\"value\") === initialValue) {\n\t initialOption = x;\n\t hasInitial = true;\n\t }\n\t });\n\t\n\t if (!valid || !options.size) {\n\t var stopError = new Error('The options provided for the \"' + field + '\" field are invalid, they must have the following format: {label: \"non-empty string\", value: \"non-empty string\"} and there has to be at least one option.');\n\t stopError.code = \"invalid_select_field\";\n\t // TODO: in the future we might want to return the result of the\n\t // operation along with the model insteand of stopping the\n\t // rendering, like [false, m] in the case of failure and [true, m]\n\t // in the case of success.\n\t return l.stop(m, stopError);\n\t }\n\t\n\t if (!initialOption) initialOption = (0, _immutable.Map)({});\n\t\n\t return m.mergeIn([\"field\", field], initialOption, (0, _immutable.Map)({\n\t options: options,\n\t showInvalid: false,\n\t valid: !initialOption.isEmpty()\n\t }));\n\t}\n\t\n\tfunction setOptionField(m, field, option) {\n\t return m.mergeIn([\"field\", field], option.merge((0, _immutable.Map)({\n\t valid: true,\n\t showInvalid: false\n\t })));\n\t}\n\t\n\tfunction isFieldValid(m, field) {\n\t return m.getIn([\"field\", field, \"valid\"]);\n\t}\n\t\n\tfunction getFieldInvalidHint(m, field) {\n\t return m.getIn([\"field\", field, \"invalidHint\"], \"\");\n\t}\n\t\n\tfunction isFieldVisiblyInvalid(m, field) {\n\t return m.getIn([\"field\", field, \"showInvalid\"], false) && !m.getIn([\"field\", field, \"valid\"]);\n\t}\n\t\n\tfunction showInvalidField(m, field) {\n\t return m.setIn([\"field\", field, \"showInvalid\"], !isFieldValid(m, field));\n\t}\n\t\n\tfunction hideInvalidFields(m) {\n\t return m.update(\"field\", function (fields) {\n\t\n\t return fields && fields.map(function (field) {\n\t return field.set(\"showInvalid\", false);\n\t });\n\t });\n\t}\n\t\n\t// TODO: only used in passwordless, when we update it to use\n\t// validateAndSubmit this won't be needed anymore.\n\tfunction setFieldShowInvalid(m, field, value) {\n\t return m.setIn([\"field\", field, \"showInvalid\"], value);\n\t}\n\t\n\tfunction clearFields(m, fields) {\n\t var keyPaths = void 0;\n\t\n\t if (!fields || fields.length === 0) {\n\t keyPaths = [\"field\"];\n\t } else {\n\t keyPaths = fields.map(function (x) {\n\t return [\"field\", x];\n\t });\n\t }\n\t\n\t return keyPaths.reduce(function (r, v) {\n\t return r.removeIn(v);\n\t }, m);\n\t}\n\t\n\tfunction getField(m, field) {\n\t var notFound = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new _immutable.Map({});\n\t\n\t return m.getIn([\"field\", field], notFound);\n\t}\n\t\n\tfunction getFieldValue(m, field) {\n\t var notFound = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n\t\n\t return getField(m, field).get(\"value\", notFound);\n\t}\n\t\n\tfunction getFieldLabel(m, field) {\n\t var notFound = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n\t\n\t return getField(m, field).get(\"label\", notFound);\n\t}\n\t\n\t// phone number\n\t\n\tfunction phoneNumber(lock) {\n\t return lock.getIn([\"field\", \"phoneNumber\", \"value\"], \"\");\n\t}\n\t\n\t// email\n\t\n\tfunction email(m) {\n\t return getFieldValue(m, \"email\");\n\t}\n\t\n\t// vcode\n\t\n\tfunction vcode(m) {\n\t return getFieldValue(m, \"vcode\");\n\t}\n\t\n\t// password\n\t\n\tfunction password(m) {\n\t return getFieldValue(m, \"password\");\n\t}\n\t\n\t// username\n\t\n\tfunction username(m) {\n\t return getFieldValue(m, \"username\");\n\t}\n\t\n\t// mfa_code\n\t\n\tfunction mfaCode(m) {\n\t return getFieldValue(m, \"mfa_code\");\n\t}\n\t\n\t// select field options\n\t\n\tfunction isSelecting(m) {\n\t return !!m.getIn([\"field\", \"selecting\"]);\n\t}\n\t\n\tfunction renderOptionSelection(m) {\n\t var name = m.getIn([\"field\", \"selecting\", \"name\"]);\n\t return isSelecting(m) ? _react2.default.createElement(_option_selection_pane2.default, {\n\t model: m,\n\t name: name,\n\t icon: m.getIn([\"field\", \"selecting\", \"icon\"]),\n\t iconUrl: m.getIn([\"field\", \"selecting\", \"iconUrl\"]),\n\t items: m.getIn([\"field\", name, \"options\"])\n\t }) : null;\n\t}\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * Copyright (c) 2014-2015, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t */\n\t\n\t(function (global, factory) {\n\t ( false ? 'undefined' : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : global.Immutable = factory();\n\t})(undefined, function () {\n\t 'use strict';\n\t var SLICE$0 = Array.prototype.slice;\n\t\n\t function createClass(ctor, superClass) {\n\t if (superClass) {\n\t ctor.prototype = Object.create(superClass.prototype);\n\t }\n\t ctor.prototype.constructor = ctor;\n\t }\n\t\n\t function Iterable(value) {\n\t return isIterable(value) ? value : Seq(value);\n\t }\n\t\n\t createClass(KeyedIterable, Iterable);\n\t function KeyedIterable(value) {\n\t return isKeyed(value) ? value : KeyedSeq(value);\n\t }\n\t\n\t createClass(IndexedIterable, Iterable);\n\t function IndexedIterable(value) {\n\t return isIndexed(value) ? value : IndexedSeq(value);\n\t }\n\t\n\t createClass(SetIterable, Iterable);\n\t function SetIterable(value) {\n\t return isIterable(value) && !isAssociative(value) ? value : SetSeq(value);\n\t }\n\t\n\t function isIterable(maybeIterable) {\n\t return !!(maybeIterable && maybeIterable[IS_ITERABLE_SENTINEL]);\n\t }\n\t\n\t function isKeyed(maybeKeyed) {\n\t return !!(maybeKeyed && maybeKeyed[IS_KEYED_SENTINEL]);\n\t }\n\t\n\t function isIndexed(maybeIndexed) {\n\t return !!(maybeIndexed && maybeIndexed[IS_INDEXED_SENTINEL]);\n\t }\n\t\n\t function isAssociative(maybeAssociative) {\n\t return isKeyed(maybeAssociative) || isIndexed(maybeAssociative);\n\t }\n\t\n\t function isOrdered(maybeOrdered) {\n\t return !!(maybeOrdered && maybeOrdered[IS_ORDERED_SENTINEL]);\n\t }\n\t\n\t Iterable.isIterable = isIterable;\n\t Iterable.isKeyed = isKeyed;\n\t Iterable.isIndexed = isIndexed;\n\t Iterable.isAssociative = isAssociative;\n\t Iterable.isOrdered = isOrdered;\n\t\n\t Iterable.Keyed = KeyedIterable;\n\t Iterable.Indexed = IndexedIterable;\n\t Iterable.Set = SetIterable;\n\t\n\t var IS_ITERABLE_SENTINEL = '@@__IMMUTABLE_ITERABLE__@@';\n\t var IS_KEYED_SENTINEL = '@@__IMMUTABLE_KEYED__@@';\n\t var IS_INDEXED_SENTINEL = '@@__IMMUTABLE_INDEXED__@@';\n\t var IS_ORDERED_SENTINEL = '@@__IMMUTABLE_ORDERED__@@';\n\t\n\t // Used for setting prototype methods that IE8 chokes on.\n\t var DELETE = 'delete';\n\t\n\t // Constants describing the size of trie nodes.\n\t var SHIFT = 5; // Resulted in best performance after ______?\n\t var SIZE = 1 << SHIFT;\n\t var MASK = SIZE - 1;\n\t\n\t // A consistent shared value representing \"not set\" which equals nothing other\n\t // than itself, and nothing that could be provided externally.\n\t var NOT_SET = {};\n\t\n\t // Boolean references, Rough equivalent of `bool &`.\n\t var CHANGE_LENGTH = { value: false };\n\t var DID_ALTER = { value: false };\n\t\n\t function MakeRef(ref) {\n\t ref.value = false;\n\t return ref;\n\t }\n\t\n\t function SetRef(ref) {\n\t ref && (ref.value = true);\n\t }\n\t\n\t // A function which returns a value representing an \"owner\" for transient writes\n\t // to tries. The return value will only ever equal itself, and will not equal\n\t // the return of any subsequent call of this function.\n\t function OwnerID() {}\n\t\n\t // http://jsperf.com/copy-array-inline\n\t function arrCopy(arr, offset) {\n\t offset = offset || 0;\n\t var len = Math.max(0, arr.length - offset);\n\t var newArr = new Array(len);\n\t for (var ii = 0; ii < len; ii++) {\n\t newArr[ii] = arr[ii + offset];\n\t }\n\t return newArr;\n\t }\n\t\n\t function ensureSize(iter) {\n\t if (iter.size === undefined) {\n\t iter.size = iter.__iterate(returnTrue);\n\t }\n\t return iter.size;\n\t }\n\t\n\t function wrapIndex(iter, index) {\n\t // This implements \"is array index\" which the ECMAString spec defines as:\n\t //\n\t // A String property name P is an array index if and only if\n\t // ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal\n\t // to 2^32−1.\n\t //\n\t // http://www.ecma-international.org/ecma-262/6.0/#sec-array-exotic-objects\n\t if (typeof index !== 'number') {\n\t var uint32Index = index >>> 0; // N >>> 0 is shorthand for ToUint32\n\t if ('' + uint32Index !== index || uint32Index === 4294967295) {\n\t return NaN;\n\t }\n\t index = uint32Index;\n\t }\n\t return index < 0 ? ensureSize(iter) + index : index;\n\t }\n\t\n\t function returnTrue() {\n\t return true;\n\t }\n\t\n\t function wholeSlice(begin, end, size) {\n\t return (begin === 0 || size !== undefined && begin <= -size) && (end === undefined || size !== undefined && end >= size);\n\t }\n\t\n\t function resolveBegin(begin, size) {\n\t return resolveIndex(begin, size, 0);\n\t }\n\t\n\t function resolveEnd(end, size) {\n\t return resolveIndex(end, size, size);\n\t }\n\t\n\t function resolveIndex(index, size, defaultIndex) {\n\t return index === undefined ? defaultIndex : index < 0 ? Math.max(0, size + index) : size === undefined ? index : Math.min(size, index);\n\t }\n\t\n\t /* global Symbol */\n\t\n\t var ITERATE_KEYS = 0;\n\t var ITERATE_VALUES = 1;\n\t var ITERATE_ENTRIES = 2;\n\t\n\t var REAL_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n\t var FAUX_ITERATOR_SYMBOL = '@@iterator';\n\t\n\t var ITERATOR_SYMBOL = REAL_ITERATOR_SYMBOL || FAUX_ITERATOR_SYMBOL;\n\t\n\t function Iterator(next) {\n\t this.next = next;\n\t }\n\t\n\t Iterator.prototype.toString = function () {\n\t return '[Iterator]';\n\t };\n\t\n\t Iterator.KEYS = ITERATE_KEYS;\n\t Iterator.VALUES = ITERATE_VALUES;\n\t Iterator.ENTRIES = ITERATE_ENTRIES;\n\t\n\t Iterator.prototype.inspect = Iterator.prototype.toSource = function () {\n\t return this.toString();\n\t };\n\t Iterator.prototype[ITERATOR_SYMBOL] = function () {\n\t return this;\n\t };\n\t\n\t function iteratorValue(type, k, v, iteratorResult) {\n\t var value = type === 0 ? k : type === 1 ? v : [k, v];\n\t iteratorResult ? iteratorResult.value = value : iteratorResult = {\n\t value: value, done: false\n\t };\n\t return iteratorResult;\n\t }\n\t\n\t function iteratorDone() {\n\t return { value: undefined, done: true };\n\t }\n\t\n\t function hasIterator(maybeIterable) {\n\t return !!getIteratorFn(maybeIterable);\n\t }\n\t\n\t function isIterator(maybeIterator) {\n\t return maybeIterator && typeof maybeIterator.next === 'function';\n\t }\n\t\n\t function getIterator(iterable) {\n\t var iteratorFn = getIteratorFn(iterable);\n\t return iteratorFn && iteratorFn.call(iterable);\n\t }\n\t\n\t function getIteratorFn(iterable) {\n\t var iteratorFn = iterable && (REAL_ITERATOR_SYMBOL && iterable[REAL_ITERATOR_SYMBOL] || iterable[FAUX_ITERATOR_SYMBOL]);\n\t if (typeof iteratorFn === 'function') {\n\t return iteratorFn;\n\t }\n\t }\n\t\n\t function isArrayLike(value) {\n\t return value && typeof value.length === 'number';\n\t }\n\t\n\t createClass(Seq, Iterable);\n\t function Seq(value) {\n\t return value === null || value === undefined ? emptySequence() : isIterable(value) ? value.toSeq() : seqFromValue(value);\n\t }\n\t\n\t Seq.of = function () /*...values*/{\n\t return Seq(arguments);\n\t };\n\t\n\t Seq.prototype.toSeq = function () {\n\t return this;\n\t };\n\t\n\t Seq.prototype.toString = function () {\n\t return this.__toString('Seq {', '}');\n\t };\n\t\n\t Seq.prototype.cacheResult = function () {\n\t if (!this._cache && this.__iterateUncached) {\n\t this._cache = this.entrySeq().toArray();\n\t this.size = this._cache.length;\n\t }\n\t return this;\n\t };\n\t\n\t // abstract __iterateUncached(fn, reverse)\n\t\n\t Seq.prototype.__iterate = function (fn, reverse) {\n\t return seqIterate(this, fn, reverse, true);\n\t };\n\t\n\t // abstract __iteratorUncached(type, reverse)\n\t\n\t Seq.prototype.__iterator = function (type, reverse) {\n\t return seqIterator(this, type, reverse, true);\n\t };\n\t\n\t createClass(KeyedSeq, Seq);\n\t function KeyedSeq(value) {\n\t return value === null || value === undefined ? emptySequence().toKeyedSeq() : isIterable(value) ? isKeyed(value) ? value.toSeq() : value.fromEntrySeq() : keyedSeqFromValue(value);\n\t }\n\t\n\t KeyedSeq.prototype.toKeyedSeq = function () {\n\t return this;\n\t };\n\t\n\t createClass(IndexedSeq, Seq);\n\t function IndexedSeq(value) {\n\t return value === null || value === undefined ? emptySequence() : !isIterable(value) ? indexedSeqFromValue(value) : isKeyed(value) ? value.entrySeq() : value.toIndexedSeq();\n\t }\n\t\n\t IndexedSeq.of = function () /*...values*/{\n\t return IndexedSeq(arguments);\n\t };\n\t\n\t IndexedSeq.prototype.toIndexedSeq = function () {\n\t return this;\n\t };\n\t\n\t IndexedSeq.prototype.toString = function () {\n\t return this.__toString('Seq [', ']');\n\t };\n\t\n\t IndexedSeq.prototype.__iterate = function (fn, reverse) {\n\t return seqIterate(this, fn, reverse, false);\n\t };\n\t\n\t IndexedSeq.prototype.__iterator = function (type, reverse) {\n\t return seqIterator(this, type, reverse, false);\n\t };\n\t\n\t createClass(SetSeq, Seq);\n\t function SetSeq(value) {\n\t return (value === null || value === undefined ? emptySequence() : !isIterable(value) ? indexedSeqFromValue(value) : isKeyed(value) ? value.entrySeq() : value).toSetSeq();\n\t }\n\t\n\t SetSeq.of = function () /*...values*/{\n\t return SetSeq(arguments);\n\t };\n\t\n\t SetSeq.prototype.toSetSeq = function () {\n\t return this;\n\t };\n\t\n\t Seq.isSeq = isSeq;\n\t Seq.Keyed = KeyedSeq;\n\t Seq.Set = SetSeq;\n\t Seq.Indexed = IndexedSeq;\n\t\n\t var IS_SEQ_SENTINEL = '@@__IMMUTABLE_SEQ__@@';\n\t\n\t Seq.prototype[IS_SEQ_SENTINEL] = true;\n\t\n\t createClass(ArraySeq, IndexedSeq);\n\t function ArraySeq(array) {\n\t this._array = array;\n\t this.size = array.length;\n\t }\n\t\n\t ArraySeq.prototype.get = function (index, notSetValue) {\n\t return this.has(index) ? this._array[wrapIndex(this, index)] : notSetValue;\n\t };\n\t\n\t ArraySeq.prototype.__iterate = function (fn, reverse) {\n\t var array = this._array;\n\t var maxIndex = array.length - 1;\n\t for (var ii = 0; ii <= maxIndex; ii++) {\n\t if (fn(array[reverse ? maxIndex - ii : ii], ii, this) === false) {\n\t return ii + 1;\n\t }\n\t }\n\t return ii;\n\t };\n\t\n\t ArraySeq.prototype.__iterator = function (type, reverse) {\n\t var array = this._array;\n\t var maxIndex = array.length - 1;\n\t var ii = 0;\n\t return new Iterator(function () {\n\t return ii > maxIndex ? iteratorDone() : iteratorValue(type, ii, array[reverse ? maxIndex - ii++ : ii++]);\n\t });\n\t };\n\t\n\t createClass(ObjectSeq, KeyedSeq);\n\t function ObjectSeq(object) {\n\t var keys = Object.keys(object);\n\t this._object = object;\n\t this._keys = keys;\n\t this.size = keys.length;\n\t }\n\t\n\t ObjectSeq.prototype.get = function (key, notSetValue) {\n\t if (notSetValue !== undefined && !this.has(key)) {\n\t return notSetValue;\n\t }\n\t return this._object[key];\n\t };\n\t\n\t ObjectSeq.prototype.has = function (key) {\n\t return this._object.hasOwnProperty(key);\n\t };\n\t\n\t ObjectSeq.prototype.__iterate = function (fn, reverse) {\n\t var object = this._object;\n\t var keys = this._keys;\n\t var maxIndex = keys.length - 1;\n\t for (var ii = 0; ii <= maxIndex; ii++) {\n\t var key = keys[reverse ? maxIndex - ii : ii];\n\t if (fn(object[key], key, this) === false) {\n\t return ii + 1;\n\t }\n\t }\n\t return ii;\n\t };\n\t\n\t ObjectSeq.prototype.__iterator = function (type, reverse) {\n\t var object = this._object;\n\t var keys = this._keys;\n\t var maxIndex = keys.length - 1;\n\t var ii = 0;\n\t return new Iterator(function () {\n\t var key = keys[reverse ? maxIndex - ii : ii];\n\t return ii++ > maxIndex ? iteratorDone() : iteratorValue(type, key, object[key]);\n\t });\n\t };\n\t\n\t ObjectSeq.prototype[IS_ORDERED_SENTINEL] = true;\n\t\n\t createClass(IterableSeq, IndexedSeq);\n\t function IterableSeq(iterable) {\n\t this._iterable = iterable;\n\t this.size = iterable.length || iterable.size;\n\t }\n\t\n\t IterableSeq.prototype.__iterateUncached = function (fn, reverse) {\n\t if (reverse) {\n\t return this.cacheResult().__iterate(fn, reverse);\n\t }\n\t var iterable = this._iterable;\n\t var iterator = getIterator(iterable);\n\t var iterations = 0;\n\t if (isIterator(iterator)) {\n\t var step;\n\t while (!(step = iterator.next()).done) {\n\t if (fn(step.value, iterations++, this) === false) {\n\t break;\n\t }\n\t }\n\t }\n\t return iterations;\n\t };\n\t\n\t IterableSeq.prototype.__iteratorUncached = function (type, reverse) {\n\t if (reverse) {\n\t return this.cacheResult().__iterator(type, reverse);\n\t }\n\t var iterable = this._iterable;\n\t var iterator = getIterator(iterable);\n\t if (!isIterator(iterator)) {\n\t return new Iterator(iteratorDone);\n\t }\n\t var iterations = 0;\n\t return new Iterator(function () {\n\t var step = iterator.next();\n\t return step.done ? step : iteratorValue(type, iterations++, step.value);\n\t });\n\t };\n\t\n\t createClass(IteratorSeq, IndexedSeq);\n\t function IteratorSeq(iterator) {\n\t this._iterator = iterator;\n\t this._iteratorCache = [];\n\t }\n\t\n\t IteratorSeq.prototype.__iterateUncached = function (fn, reverse) {\n\t if (reverse) {\n\t return this.cacheResult().__iterate(fn, reverse);\n\t }\n\t var iterator = this._iterator;\n\t var cache = this._iteratorCache;\n\t var iterations = 0;\n\t while (iterations < cache.length) {\n\t if (fn(cache[iterations], iterations++, this) === false) {\n\t return iterations;\n\t }\n\t }\n\t var step;\n\t while (!(step = iterator.next()).done) {\n\t var val = step.value;\n\t cache[iterations] = val;\n\t if (fn(val, iterations++, this) === false) {\n\t break;\n\t }\n\t }\n\t return iterations;\n\t };\n\t\n\t IteratorSeq.prototype.__iteratorUncached = function (type, reverse) {\n\t if (reverse) {\n\t return this.cacheResult().__iterator(type, reverse);\n\t }\n\t var iterator = this._iterator;\n\t var cache = this._iteratorCache;\n\t var iterations = 0;\n\t return new Iterator(function () {\n\t if (iterations >= cache.length) {\n\t var step = iterator.next();\n\t if (step.done) {\n\t return step;\n\t }\n\t cache[iterations] = step.value;\n\t }\n\t return iteratorValue(type, iterations, cache[iterations++]);\n\t });\n\t };\n\t\n\t // # pragma Helper functions\n\t\n\t function isSeq(maybeSeq) {\n\t return !!(maybeSeq && maybeSeq[IS_SEQ_SENTINEL]);\n\t }\n\t\n\t var EMPTY_SEQ;\n\t\n\t function emptySequence() {\n\t return EMPTY_SEQ || (EMPTY_SEQ = new ArraySeq([]));\n\t }\n\t\n\t function keyedSeqFromValue(value) {\n\t var seq = Array.isArray(value) ? new ArraySeq(value).fromEntrySeq() : isIterator(value) ? new IteratorSeq(value).fromEntrySeq() : hasIterator(value) ? new IterableSeq(value).fromEntrySeq() : (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' ? new ObjectSeq(value) : undefined;\n\t if (!seq) {\n\t throw new TypeError('Expected Array or iterable object of [k, v] entries, ' + 'or keyed object: ' + value);\n\t }\n\t return seq;\n\t }\n\t\n\t function indexedSeqFromValue(value) {\n\t var seq = maybeIndexedSeqFromValue(value);\n\t if (!seq) {\n\t throw new TypeError('Expected Array or iterable object of values: ' + value);\n\t }\n\t return seq;\n\t }\n\t\n\t function seqFromValue(value) {\n\t var seq = maybeIndexedSeqFromValue(value) || (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && new ObjectSeq(value);\n\t if (!seq) {\n\t throw new TypeError('Expected Array or iterable object of values, or keyed object: ' + value);\n\t }\n\t return seq;\n\t }\n\t\n\t function maybeIndexedSeqFromValue(value) {\n\t return isArrayLike(value) ? new ArraySeq(value) : isIterator(value) ? new IteratorSeq(value) : hasIterator(value) ? new IterableSeq(value) : undefined;\n\t }\n\t\n\t function seqIterate(seq, fn, reverse, useKeys) {\n\t var cache = seq._cache;\n\t if (cache) {\n\t var maxIndex = cache.length - 1;\n\t for (var ii = 0; ii <= maxIndex; ii++) {\n\t var entry = cache[reverse ? maxIndex - ii : ii];\n\t if (fn(entry[1], useKeys ? entry[0] : ii, seq) === false) {\n\t return ii + 1;\n\t }\n\t }\n\t return ii;\n\t }\n\t return seq.__iterateUncached(fn, reverse);\n\t }\n\t\n\t function seqIterator(seq, type, reverse, useKeys) {\n\t var cache = seq._cache;\n\t if (cache) {\n\t var maxIndex = cache.length - 1;\n\t var ii = 0;\n\t return new Iterator(function () {\n\t var entry = cache[reverse ? maxIndex - ii : ii];\n\t return ii++ > maxIndex ? iteratorDone() : iteratorValue(type, useKeys ? entry[0] : ii - 1, entry[1]);\n\t });\n\t }\n\t return seq.__iteratorUncached(type, reverse);\n\t }\n\t\n\t function fromJS(json, converter) {\n\t return converter ? fromJSWith(converter, json, '', { '': json }) : fromJSDefault(json);\n\t }\n\t\n\t function fromJSWith(converter, json, key, parentJSON) {\n\t if (Array.isArray(json)) {\n\t return converter.call(parentJSON, key, IndexedSeq(json).map(function (v, k) {\n\t return fromJSWith(converter, v, k, json);\n\t }));\n\t }\n\t if (isPlainObj(json)) {\n\t return converter.call(parentJSON, key, KeyedSeq(json).map(function (v, k) {\n\t return fromJSWith(converter, v, k, json);\n\t }));\n\t }\n\t return json;\n\t }\n\t\n\t function fromJSDefault(json) {\n\t if (Array.isArray(json)) {\n\t return IndexedSeq(json).map(fromJSDefault).toList();\n\t }\n\t if (isPlainObj(json)) {\n\t return KeyedSeq(json).map(fromJSDefault).toMap();\n\t }\n\t return json;\n\t }\n\t\n\t function isPlainObj(value) {\n\t return value && (value.constructor === Object || value.constructor === undefined);\n\t }\n\t\n\t /**\n\t * An extension of the \"same-value\" algorithm as [described for use by ES6 Map\n\t * and Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#Key_equality)\n\t *\n\t * NaN is considered the same as NaN, however -0 and 0 are considered the same\n\t * value, which is different from the algorithm described by\n\t * [`Object.is`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).\n\t *\n\t * This is extended further to allow Objects to describe the values they\n\t * represent, by way of `valueOf` or `equals` (and `hashCode`).\n\t *\n\t * Note: because of this extension, the key equality of Immutable.Map and the\n\t * value equality of Immutable.Set will differ from ES6 Map and Set.\n\t *\n\t * ### Defining custom values\n\t *\n\t * The easiest way to describe the value an object represents is by implementing\n\t * `valueOf`. For example, `Date` represents a value by returning a unix\n\t * timestamp for `valueOf`:\n\t *\n\t * var date1 = new Date(1234567890000); // Fri Feb 13 2009 ...\n\t * var date2 = new Date(1234567890000);\n\t * date1.valueOf(); // 1234567890000\n\t * assert( date1 !== date2 );\n\t * assert( Immutable.is( date1, date2 ) );\n\t *\n\t * Note: overriding `valueOf` may have other implications if you use this object\n\t * where JavaScript expects a primitive, such as implicit string coercion.\n\t *\n\t * For more complex types, especially collections, implementing `valueOf` may\n\t * not be performant. An alternative is to implement `equals` and `hashCode`.\n\t *\n\t * `equals` takes another object, presumably of similar type, and returns true\n\t * if the it is equal. Equality is symmetrical, so the same result should be\n\t * returned if this and the argument are flipped.\n\t *\n\t * assert( a.equals(b) === b.equals(a) );\n\t *\n\t * `hashCode` returns a 32bit integer number representing the object which will\n\t * be used to determine how to store the value object in a Map or Set. You must\n\t * provide both or neither methods, one must not exist without the other.\n\t *\n\t * Also, an important relationship between these methods must be upheld: if two\n\t * values are equal, they *must* return the same hashCode. If the values are not\n\t * equal, they might have the same hashCode; this is called a hash collision,\n\t * and while undesirable for performance reasons, it is acceptable.\n\t *\n\t * if (a.equals(b)) {\n\t * assert( a.hashCode() === b.hashCode() );\n\t * }\n\t *\n\t * All Immutable collections implement `equals` and `hashCode`.\n\t *\n\t */\n\t function is(valueA, valueB) {\n\t if (valueA === valueB || valueA !== valueA && valueB !== valueB) {\n\t return true;\n\t }\n\t if (!valueA || !valueB) {\n\t return false;\n\t }\n\t if (typeof valueA.valueOf === 'function' && typeof valueB.valueOf === 'function') {\n\t valueA = valueA.valueOf();\n\t valueB = valueB.valueOf();\n\t if (valueA === valueB || valueA !== valueA && valueB !== valueB) {\n\t return true;\n\t }\n\t if (!valueA || !valueB) {\n\t return false;\n\t }\n\t }\n\t if (typeof valueA.equals === 'function' && typeof valueB.equals === 'function' && valueA.equals(valueB)) {\n\t return true;\n\t }\n\t return false;\n\t }\n\t\n\t function deepEqual(a, b) {\n\t if (a === b) {\n\t return true;\n\t }\n\t\n\t if (!isIterable(b) || a.size !== undefined && b.size !== undefined && a.size !== b.size || a.__hash !== undefined && b.__hash !== undefined && a.__hash !== b.__hash || isKeyed(a) !== isKeyed(b) || isIndexed(a) !== isIndexed(b) || isOrdered(a) !== isOrdered(b)) {\n\t return false;\n\t }\n\t\n\t if (a.size === 0 && b.size === 0) {\n\t return true;\n\t }\n\t\n\t var notAssociative = !isAssociative(a);\n\t\n\t if (isOrdered(a)) {\n\t var entries = a.entries();\n\t return b.every(function (v, k) {\n\t var entry = entries.next().value;\n\t return entry && is(entry[1], v) && (notAssociative || is(entry[0], k));\n\t }) && entries.next().done;\n\t }\n\t\n\t var flipped = false;\n\t\n\t if (a.size === undefined) {\n\t if (b.size === undefined) {\n\t if (typeof a.cacheResult === 'function') {\n\t a.cacheResult();\n\t }\n\t } else {\n\t flipped = true;\n\t var _ = a;\n\t a = b;\n\t b = _;\n\t }\n\t }\n\t\n\t var allEqual = true;\n\t var bSize = b.__iterate(function (v, k) {\n\t if (notAssociative ? !a.has(v) : flipped ? !is(v, a.get(k, NOT_SET)) : !is(a.get(k, NOT_SET), v)) {\n\t allEqual = false;\n\t return false;\n\t }\n\t });\n\t\n\t return allEqual && a.size === bSize;\n\t }\n\t\n\t createClass(Repeat, IndexedSeq);\n\t\n\t function Repeat(value, times) {\n\t if (!(this instanceof Repeat)) {\n\t return new Repeat(value, times);\n\t }\n\t this._value = value;\n\t this.size = times === undefined ? Infinity : Math.max(0, times);\n\t if (this.size === 0) {\n\t if (EMPTY_REPEAT) {\n\t return EMPTY_REPEAT;\n\t }\n\t EMPTY_REPEAT = this;\n\t }\n\t }\n\t\n\t Repeat.prototype.toString = function () {\n\t if (this.size === 0) {\n\t return 'Repeat []';\n\t }\n\t return 'Repeat [ ' + this._value + ' ' + this.size + ' times ]';\n\t };\n\t\n\t Repeat.prototype.get = function (index, notSetValue) {\n\t return this.has(index) ? this._value : notSetValue;\n\t };\n\t\n\t Repeat.prototype.includes = function (searchValue) {\n\t return is(this._value, searchValue);\n\t };\n\t\n\t Repeat.prototype.slice = function (begin, end) {\n\t var size = this.size;\n\t return wholeSlice(begin, end, size) ? this : new Repeat(this._value, resolveEnd(end, size) - resolveBegin(begin, size));\n\t };\n\t\n\t Repeat.prototype.reverse = function () {\n\t return this;\n\t };\n\t\n\t Repeat.prototype.indexOf = function (searchValue) {\n\t if (is(this._value, searchValue)) {\n\t return 0;\n\t }\n\t return -1;\n\t };\n\t\n\t Repeat.prototype.lastIndexOf = function (searchValue) {\n\t if (is(this._value, searchValue)) {\n\t return this.size;\n\t }\n\t return -1;\n\t };\n\t\n\t Repeat.prototype.__iterate = function (fn, reverse) {\n\t for (var ii = 0; ii < this.size; ii++) {\n\t if (fn(this._value, ii, this) === false) {\n\t return ii + 1;\n\t }\n\t }\n\t return ii;\n\t };\n\t\n\t Repeat.prototype.__iterator = function (type, reverse) {\n\t var this$0 = this;\n\t var ii = 0;\n\t return new Iterator(function () {\n\t return ii < this$0.size ? iteratorValue(type, ii++, this$0._value) : iteratorDone();\n\t });\n\t };\n\t\n\t Repeat.prototype.equals = function (other) {\n\t return other instanceof Repeat ? is(this._value, other._value) : deepEqual(other);\n\t };\n\t\n\t var EMPTY_REPEAT;\n\t\n\t function invariant(condition, error) {\n\t if (!condition) throw new Error(error);\n\t }\n\t\n\t createClass(Range, IndexedSeq);\n\t\n\t function Range(start, end, step) {\n\t if (!(this instanceof Range)) {\n\t return new Range(start, end, step);\n\t }\n\t invariant(step !== 0, 'Cannot step a Range by 0');\n\t start = start || 0;\n\t if (end === undefined) {\n\t end = Infinity;\n\t }\n\t step = step === undefined ? 1 : Math.abs(step);\n\t if (end < start) {\n\t step = -step;\n\t }\n\t this._start = start;\n\t this._end = end;\n\t this._step = step;\n\t this.size = Math.max(0, Math.ceil((end - start) / step - 1) + 1);\n\t if (this.size === 0) {\n\t if (EMPTY_RANGE) {\n\t return EMPTY_RANGE;\n\t }\n\t EMPTY_RANGE = this;\n\t }\n\t }\n\t\n\t Range.prototype.toString = function () {\n\t if (this.size === 0) {\n\t return 'Range []';\n\t }\n\t return 'Range [ ' + this._start + '...' + this._end + (this._step !== 1 ? ' by ' + this._step : '') + ' ]';\n\t };\n\t\n\t Range.prototype.get = function (index, notSetValue) {\n\t return this.has(index) ? this._start + wrapIndex(this, index) * this._step : notSetValue;\n\t };\n\t\n\t Range.prototype.includes = function (searchValue) {\n\t var possibleIndex = (searchValue - this._start) / this._step;\n\t return possibleIndex >= 0 && possibleIndex < this.size && possibleIndex === Math.floor(possibleIndex);\n\t };\n\t\n\t Range.prototype.slice = function (begin, end) {\n\t if (wholeSlice(begin, end, this.size)) {\n\t return this;\n\t }\n\t begin = resolveBegin(begin, this.size);\n\t end = resolveEnd(end, this.size);\n\t if (end <= begin) {\n\t return new Range(0, 0);\n\t }\n\t return new Range(this.get(begin, this._end), this.get(end, this._end), this._step);\n\t };\n\t\n\t Range.prototype.indexOf = function (searchValue) {\n\t var offsetValue = searchValue - this._start;\n\t if (offsetValue % this._step === 0) {\n\t var index = offsetValue / this._step;\n\t if (index >= 0 && index < this.size) {\n\t return index;\n\t }\n\t }\n\t return -1;\n\t };\n\t\n\t Range.prototype.lastIndexOf = function (searchValue) {\n\t return this.indexOf(searchValue);\n\t };\n\t\n\t Range.prototype.__iterate = function (fn, reverse) {\n\t var maxIndex = this.size - 1;\n\t var step = this._step;\n\t var value = reverse ? this._start + maxIndex * step : this._start;\n\t for (var ii = 0; ii <= maxIndex; ii++) {\n\t if (fn(value, ii, this) === false) {\n\t return ii + 1;\n\t }\n\t value += reverse ? -step : step;\n\t }\n\t return ii;\n\t };\n\t\n\t Range.prototype.__iterator = function (type, reverse) {\n\t var maxIndex = this.size - 1;\n\t var step = this._step;\n\t var value = reverse ? this._start + maxIndex * step : this._start;\n\t var ii = 0;\n\t return new Iterator(function () {\n\t var v = value;\n\t value += reverse ? -step : step;\n\t return ii > maxIndex ? iteratorDone() : iteratorValue(type, ii++, v);\n\t });\n\t };\n\t\n\t Range.prototype.equals = function (other) {\n\t return other instanceof Range ? this._start === other._start && this._end === other._end && this._step === other._step : deepEqual(this, other);\n\t };\n\t\n\t var EMPTY_RANGE;\n\t\n\t createClass(Collection, Iterable);\n\t function Collection() {\n\t throw TypeError('Abstract');\n\t }\n\t\n\t createClass(KeyedCollection, Collection);function KeyedCollection() {}\n\t\n\t createClass(IndexedCollection, Collection);function IndexedCollection() {}\n\t\n\t createClass(SetCollection, Collection);function SetCollection() {}\n\t\n\t Collection.Keyed = KeyedCollection;\n\t Collection.Indexed = IndexedCollection;\n\t Collection.Set = SetCollection;\n\t\n\t var imul = typeof Math.imul === 'function' && Math.imul(0xffffffff, 2) === -2 ? Math.imul : function imul(a, b) {\n\t a = a | 0; // int\n\t b = b | 0; // int\n\t var c = a & 0xffff;\n\t var d = b & 0xffff;\n\t // Shift by 0 fixes the sign on the high part.\n\t return c * d + ((a >>> 16) * d + c * (b >>> 16) << 16 >>> 0) | 0; // int\n\t };\n\t\n\t // v8 has an optimization for storing 31-bit signed numbers.\n\t // Values which have either 00 or 11 as the high order bits qualify.\n\t // This function drops the highest order bit in a signed number, maintaining\n\t // the sign bit.\n\t function smi(i32) {\n\t return i32 >>> 1 & 0x40000000 | i32 & 0xBFFFFFFF;\n\t }\n\t\n\t function hash(o) {\n\t if (o === false || o === null || o === undefined) {\n\t return 0;\n\t }\n\t if (typeof o.valueOf === 'function') {\n\t o = o.valueOf();\n\t if (o === false || o === null || o === undefined) {\n\t return 0;\n\t }\n\t }\n\t if (o === true) {\n\t return 1;\n\t }\n\t var type = typeof o === 'undefined' ? 'undefined' : _typeof(o);\n\t if (type === 'number') {\n\t if (o !== o || o === Infinity) {\n\t return 0;\n\t }\n\t var h = o | 0;\n\t if (h !== o) {\n\t h ^= o * 0xFFFFFFFF;\n\t }\n\t while (o > 0xFFFFFFFF) {\n\t o /= 0xFFFFFFFF;\n\t h ^= o;\n\t }\n\t return smi(h);\n\t }\n\t if (type === 'string') {\n\t return o.length > STRING_HASH_CACHE_MIN_STRLEN ? cachedHashString(o) : hashString(o);\n\t }\n\t if (typeof o.hashCode === 'function') {\n\t return o.hashCode();\n\t }\n\t if (type === 'object') {\n\t return hashJSObj(o);\n\t }\n\t if (typeof o.toString === 'function') {\n\t return hashString(o.toString());\n\t }\n\t throw new Error('Value type ' + type + ' cannot be hashed.');\n\t }\n\t\n\t function cachedHashString(string) {\n\t var hash = stringHashCache[string];\n\t if (hash === undefined) {\n\t hash = hashString(string);\n\t if (STRING_HASH_CACHE_SIZE === STRING_HASH_CACHE_MAX_SIZE) {\n\t STRING_HASH_CACHE_SIZE = 0;\n\t stringHashCache = {};\n\t }\n\t STRING_HASH_CACHE_SIZE++;\n\t stringHashCache[string] = hash;\n\t }\n\t return hash;\n\t }\n\t\n\t // http://jsperf.com/hashing-strings\n\t function hashString(string) {\n\t // This is the hash from JVM\n\t // The hash code for a string is computed as\n\t // s[0] * 31 ^ (n - 1) + s[1] * 31 ^ (n - 2) + ... + s[n - 1],\n\t // where s[i] is the ith character of the string and n is the length of\n\t // the string. We \"mod\" the result to make it between 0 (inclusive) and 2^31\n\t // (exclusive) by dropping high bits.\n\t var hash = 0;\n\t for (var ii = 0; ii < string.length; ii++) {\n\t hash = 31 * hash + string.charCodeAt(ii) | 0;\n\t }\n\t return smi(hash);\n\t }\n\t\n\t function hashJSObj(obj) {\n\t var hash;\n\t if (usingWeakMap) {\n\t hash = weakMap.get(obj);\n\t if (hash !== undefined) {\n\t return hash;\n\t }\n\t }\n\t\n\t hash = obj[UID_HASH_KEY];\n\t if (hash !== undefined) {\n\t return hash;\n\t }\n\t\n\t if (!canDefineProperty) {\n\t hash = obj.propertyIsEnumerable && obj.propertyIsEnumerable[UID_HASH_KEY];\n\t if (hash !== undefined) {\n\t return hash;\n\t }\n\t\n\t hash = getIENodeHash(obj);\n\t if (hash !== undefined) {\n\t return hash;\n\t }\n\t }\n\t\n\t hash = ++objHashUID;\n\t if (objHashUID & 0x40000000) {\n\t objHashUID = 0;\n\t }\n\t\n\t if (usingWeakMap) {\n\t weakMap.set(obj, hash);\n\t } else if (isExtensible !== undefined && isExtensible(obj) === false) {\n\t throw new Error('Non-extensible objects are not allowed as keys.');\n\t } else if (canDefineProperty) {\n\t Object.defineProperty(obj, UID_HASH_KEY, {\n\t 'enumerable': false,\n\t 'configurable': false,\n\t 'writable': false,\n\t 'value': hash\n\t });\n\t } else if (obj.propertyIsEnumerable !== undefined && obj.propertyIsEnumerable === obj.constructor.prototype.propertyIsEnumerable) {\n\t // Since we can't define a non-enumerable property on the object\n\t // we'll hijack one of the less-used non-enumerable properties to\n\t // save our hash on it. Since this is a function it will not show up in\n\t // `JSON.stringify` which is what we want.\n\t obj.propertyIsEnumerable = function () {\n\t return this.constructor.prototype.propertyIsEnumerable.apply(this, arguments);\n\t };\n\t obj.propertyIsEnumerable[UID_HASH_KEY] = hash;\n\t } else if (obj.nodeType !== undefined) {\n\t // At this point we couldn't get the IE `uniqueID` to use as a hash\n\t // and we couldn't use a non-enumerable property to exploit the\n\t // dontEnum bug so we simply add the `UID_HASH_KEY` on the node\n\t // itself.\n\t obj[UID_HASH_KEY] = hash;\n\t } else {\n\t throw new Error('Unable to set a non-enumerable property on object.');\n\t }\n\t\n\t return hash;\n\t }\n\t\n\t // Get references to ES5 object methods.\n\t var isExtensible = Object.isExtensible;\n\t\n\t // True if Object.defineProperty works as expected. IE8 fails this test.\n\t var canDefineProperty = function () {\n\t try {\n\t Object.defineProperty({}, '@', {});\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t }();\n\t\n\t // IE has a `uniqueID` property on DOM nodes. We can construct the hash from it\n\t // and avoid memory leaks from the IE cloneNode bug.\n\t function getIENodeHash(node) {\n\t if (node && node.nodeType > 0) {\n\t switch (node.nodeType) {\n\t case 1:\n\t // Element\n\t return node.uniqueID;\n\t case 9:\n\t // Document\n\t return node.documentElement && node.documentElement.uniqueID;\n\t }\n\t }\n\t }\n\t\n\t // If possible, use a WeakMap.\n\t var usingWeakMap = typeof WeakMap === 'function';\n\t var weakMap;\n\t if (usingWeakMap) {\n\t weakMap = new WeakMap();\n\t }\n\t\n\t var objHashUID = 0;\n\t\n\t var UID_HASH_KEY = '__immutablehash__';\n\t if (typeof Symbol === 'function') {\n\t UID_HASH_KEY = Symbol(UID_HASH_KEY);\n\t }\n\t\n\t var STRING_HASH_CACHE_MIN_STRLEN = 16;\n\t var STRING_HASH_CACHE_MAX_SIZE = 255;\n\t var STRING_HASH_CACHE_SIZE = 0;\n\t var stringHashCache = {};\n\t\n\t function assertNotInfinite(size) {\n\t invariant(size !== Infinity, 'Cannot perform this action with an infinite size.');\n\t }\n\t\n\t createClass(Map, KeyedCollection);\n\t\n\t // @pragma Construction\n\t\n\t function Map(value) {\n\t return value === null || value === undefined ? emptyMap() : isMap(value) && !isOrdered(value) ? value : emptyMap().withMutations(function (map) {\n\t var iter = KeyedIterable(value);\n\t assertNotInfinite(iter.size);\n\t iter.forEach(function (v, k) {\n\t return map.set(k, v);\n\t });\n\t });\n\t }\n\t\n\t Map.of = function () {\n\t var keyValues = SLICE$0.call(arguments, 0);\n\t return emptyMap().withMutations(function (map) {\n\t for (var i = 0; i < keyValues.length; i += 2) {\n\t if (i + 1 >= keyValues.length) {\n\t throw new Error('Missing value for key: ' + keyValues[i]);\n\t }\n\t map.set(keyValues[i], keyValues[i + 1]);\n\t }\n\t });\n\t };\n\t\n\t Map.prototype.toString = function () {\n\t return this.__toString('Map {', '}');\n\t };\n\t\n\t // @pragma Access\n\t\n\t Map.prototype.get = function (k, notSetValue) {\n\t return this._root ? this._root.get(0, undefined, k, notSetValue) : notSetValue;\n\t };\n\t\n\t // @pragma Modification\n\t\n\t Map.prototype.set = function (k, v) {\n\t return updateMap(this, k, v);\n\t };\n\t\n\t Map.prototype.setIn = function (keyPath, v) {\n\t return this.updateIn(keyPath, NOT_SET, function () {\n\t return v;\n\t });\n\t };\n\t\n\t Map.prototype.remove = function (k) {\n\t return updateMap(this, k, NOT_SET);\n\t };\n\t\n\t Map.prototype.deleteIn = function (keyPath) {\n\t return this.updateIn(keyPath, function () {\n\t return NOT_SET;\n\t });\n\t };\n\t\n\t Map.prototype.update = function (k, notSetValue, updater) {\n\t return arguments.length === 1 ? k(this) : this.updateIn([k], notSetValue, updater);\n\t };\n\t\n\t Map.prototype.updateIn = function (keyPath, notSetValue, updater) {\n\t if (!updater) {\n\t updater = notSetValue;\n\t notSetValue = undefined;\n\t }\n\t var updatedValue = updateInDeepMap(this, forceIterator(keyPath), notSetValue, updater);\n\t return updatedValue === NOT_SET ? undefined : updatedValue;\n\t };\n\t\n\t Map.prototype.clear = function () {\n\t if (this.size === 0) {\n\t return this;\n\t }\n\t if (this.__ownerID) {\n\t this.size = 0;\n\t this._root = null;\n\t this.__hash = undefined;\n\t this.__altered = true;\n\t return this;\n\t }\n\t return emptyMap();\n\t };\n\t\n\t // @pragma Composition\n\t\n\t Map.prototype.merge = function () /*...iters*/{\n\t return mergeIntoMapWith(this, undefined, arguments);\n\t };\n\t\n\t Map.prototype.mergeWith = function (merger) {\n\t var iters = SLICE$0.call(arguments, 1);\n\t return mergeIntoMapWith(this, merger, iters);\n\t };\n\t\n\t Map.prototype.mergeIn = function (keyPath) {\n\t var iters = SLICE$0.call(arguments, 1);\n\t return this.updateIn(keyPath, emptyMap(), function (m) {\n\t return typeof m.merge === 'function' ? m.merge.apply(m, iters) : iters[iters.length - 1];\n\t });\n\t };\n\t\n\t Map.prototype.mergeDeep = function () /*...iters*/{\n\t return mergeIntoMapWith(this, deepMerger, arguments);\n\t };\n\t\n\t Map.prototype.mergeDeepWith = function (merger) {\n\t var iters = SLICE$0.call(arguments, 1);\n\t return mergeIntoMapWith(this, deepMergerWith(merger), iters);\n\t };\n\t\n\t Map.prototype.mergeDeepIn = function (keyPath) {\n\t var iters = SLICE$0.call(arguments, 1);\n\t return this.updateIn(keyPath, emptyMap(), function (m) {\n\t return typeof m.mergeDeep === 'function' ? m.mergeDeep.apply(m, iters) : iters[iters.length - 1];\n\t });\n\t };\n\t\n\t Map.prototype.sort = function (comparator) {\n\t // Late binding\n\t return OrderedMap(sortFactory(this, comparator));\n\t };\n\t\n\t Map.prototype.sortBy = function (mapper, comparator) {\n\t // Late binding\n\t return OrderedMap(sortFactory(this, comparator, mapper));\n\t };\n\t\n\t // @pragma Mutability\n\t\n\t Map.prototype.withMutations = function (fn) {\n\t var mutable = this.asMutable();\n\t fn(mutable);\n\t return mutable.wasAltered() ? mutable.__ensureOwner(this.__ownerID) : this;\n\t };\n\t\n\t Map.prototype.asMutable = function () {\n\t return this.__ownerID ? this : this.__ensureOwner(new OwnerID());\n\t };\n\t\n\t Map.prototype.asImmutable = function () {\n\t return this.__ensureOwner();\n\t };\n\t\n\t Map.prototype.wasAltered = function () {\n\t return this.__altered;\n\t };\n\t\n\t Map.prototype.__iterator = function (type, reverse) {\n\t return new MapIterator(this, type, reverse);\n\t };\n\t\n\t Map.prototype.__iterate = function (fn, reverse) {\n\t var this$0 = this;\n\t var iterations = 0;\n\t this._root && this._root.iterate(function (entry) {\n\t iterations++;\n\t return fn(entry[1], entry[0], this$0);\n\t }, reverse);\n\t return iterations;\n\t };\n\t\n\t Map.prototype.__ensureOwner = function (ownerID) {\n\t if (ownerID === this.__ownerID) {\n\t return this;\n\t }\n\t if (!ownerID) {\n\t this.__ownerID = ownerID;\n\t this.__altered = false;\n\t return this;\n\t }\n\t return makeMap(this.size, this._root, ownerID, this.__hash);\n\t };\n\t\n\t function isMap(maybeMap) {\n\t return !!(maybeMap && maybeMap[IS_MAP_SENTINEL]);\n\t }\n\t\n\t Map.isMap = isMap;\n\t\n\t var IS_MAP_SENTINEL = '@@__IMMUTABLE_MAP__@@';\n\t\n\t var MapPrototype = Map.prototype;\n\t MapPrototype[IS_MAP_SENTINEL] = true;\n\t MapPrototype[DELETE] = MapPrototype.remove;\n\t MapPrototype.removeIn = MapPrototype.deleteIn;\n\t\n\t // #pragma Trie Nodes\n\t\n\t\n\t function ArrayMapNode(ownerID, entries) {\n\t this.ownerID = ownerID;\n\t this.entries = entries;\n\t }\n\t\n\t ArrayMapNode.prototype.get = function (shift, keyHash, key, notSetValue) {\n\t var entries = this.entries;\n\t for (var ii = 0, len = entries.length; ii < len; ii++) {\n\t if (is(key, entries[ii][0])) {\n\t return entries[ii][1];\n\t }\n\t }\n\t return notSetValue;\n\t };\n\t\n\t ArrayMapNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n\t var removed = value === NOT_SET;\n\t\n\t var entries = this.entries;\n\t var idx = 0;\n\t for (var len = entries.length; idx < len; idx++) {\n\t if (is(key, entries[idx][0])) {\n\t break;\n\t }\n\t }\n\t var exists = idx < len;\n\t\n\t if (exists ? entries[idx][1] === value : removed) {\n\t return this;\n\t }\n\t\n\t SetRef(didAlter);\n\t (removed || !exists) && SetRef(didChangeSize);\n\t\n\t if (removed && entries.length === 1) {\n\t return; // undefined\n\t }\n\t\n\t if (!exists && !removed && entries.length >= MAX_ARRAY_MAP_SIZE) {\n\t return createNodes(ownerID, entries, key, value);\n\t }\n\t\n\t var isEditable = ownerID && ownerID === this.ownerID;\n\t var newEntries = isEditable ? entries : arrCopy(entries);\n\t\n\t if (exists) {\n\t if (removed) {\n\t idx === len - 1 ? newEntries.pop() : newEntries[idx] = newEntries.pop();\n\t } else {\n\t newEntries[idx] = [key, value];\n\t }\n\t } else {\n\t newEntries.push([key, value]);\n\t }\n\t\n\t if (isEditable) {\n\t this.entries = newEntries;\n\t return this;\n\t }\n\t\n\t return new ArrayMapNode(ownerID, newEntries);\n\t };\n\t\n\t function BitmapIndexedNode(ownerID, bitmap, nodes) {\n\t this.ownerID = ownerID;\n\t this.bitmap = bitmap;\n\t this.nodes = nodes;\n\t }\n\t\n\t BitmapIndexedNode.prototype.get = function (shift, keyHash, key, notSetValue) {\n\t if (keyHash === undefined) {\n\t keyHash = hash(key);\n\t }\n\t var bit = 1 << ((shift === 0 ? keyHash : keyHash >>> shift) & MASK);\n\t var bitmap = this.bitmap;\n\t return (bitmap & bit) === 0 ? notSetValue : this.nodes[popCount(bitmap & bit - 1)].get(shift + SHIFT, keyHash, key, notSetValue);\n\t };\n\t\n\t BitmapIndexedNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n\t if (keyHash === undefined) {\n\t keyHash = hash(key);\n\t }\n\t var keyHashFrag = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n\t var bit = 1 << keyHashFrag;\n\t var bitmap = this.bitmap;\n\t var exists = (bitmap & bit) !== 0;\n\t\n\t if (!exists && value === NOT_SET) {\n\t return this;\n\t }\n\t\n\t var idx = popCount(bitmap & bit - 1);\n\t var nodes = this.nodes;\n\t var node = exists ? nodes[idx] : undefined;\n\t var newNode = updateNode(node, ownerID, shift + SHIFT, keyHash, key, value, didChangeSize, didAlter);\n\t\n\t if (newNode === node) {\n\t return this;\n\t }\n\t\n\t if (!exists && newNode && nodes.length >= MAX_BITMAP_INDEXED_SIZE) {\n\t return expandNodes(ownerID, nodes, bitmap, keyHashFrag, newNode);\n\t }\n\t\n\t if (exists && !newNode && nodes.length === 2 && isLeafNode(nodes[idx ^ 1])) {\n\t return nodes[idx ^ 1];\n\t }\n\t\n\t if (exists && newNode && nodes.length === 1 && isLeafNode(newNode)) {\n\t return newNode;\n\t }\n\t\n\t var isEditable = ownerID && ownerID === this.ownerID;\n\t var newBitmap = exists ? newNode ? bitmap : bitmap ^ bit : bitmap | bit;\n\t var newNodes = exists ? newNode ? setIn(nodes, idx, newNode, isEditable) : spliceOut(nodes, idx, isEditable) : spliceIn(nodes, idx, newNode, isEditable);\n\t\n\t if (isEditable) {\n\t this.bitmap = newBitmap;\n\t this.nodes = newNodes;\n\t return this;\n\t }\n\t\n\t return new BitmapIndexedNode(ownerID, newBitmap, newNodes);\n\t };\n\t\n\t function HashArrayMapNode(ownerID, count, nodes) {\n\t this.ownerID = ownerID;\n\t this.count = count;\n\t this.nodes = nodes;\n\t }\n\t\n\t HashArrayMapNode.prototype.get = function (shift, keyHash, key, notSetValue) {\n\t if (keyHash === undefined) {\n\t keyHash = hash(key);\n\t }\n\t var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n\t var node = this.nodes[idx];\n\t return node ? node.get(shift + SHIFT, keyHash, key, notSetValue) : notSetValue;\n\t };\n\t\n\t HashArrayMapNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n\t if (keyHash === undefined) {\n\t keyHash = hash(key);\n\t }\n\t var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n\t var removed = value === NOT_SET;\n\t var nodes = this.nodes;\n\t var node = nodes[idx];\n\t\n\t if (removed && !node) {\n\t return this;\n\t }\n\t\n\t var newNode = updateNode(node, ownerID, shift + SHIFT, keyHash, key, value, didChangeSize, didAlter);\n\t if (newNode === node) {\n\t return this;\n\t }\n\t\n\t var newCount = this.count;\n\t if (!node) {\n\t newCount++;\n\t } else if (!newNode) {\n\t newCount--;\n\t if (newCount < MIN_HASH_ARRAY_MAP_SIZE) {\n\t return packNodes(ownerID, nodes, newCount, idx);\n\t }\n\t }\n\t\n\t var isEditable = ownerID && ownerID === this.ownerID;\n\t var newNodes = setIn(nodes, idx, newNode, isEditable);\n\t\n\t if (isEditable) {\n\t this.count = newCount;\n\t this.nodes = newNodes;\n\t return this;\n\t }\n\t\n\t return new HashArrayMapNode(ownerID, newCount, newNodes);\n\t };\n\t\n\t function HashCollisionNode(ownerID, keyHash, entries) {\n\t this.ownerID = ownerID;\n\t this.keyHash = keyHash;\n\t this.entries = entries;\n\t }\n\t\n\t HashCollisionNode.prototype.get = function (shift, keyHash, key, notSetValue) {\n\t var entries = this.entries;\n\t for (var ii = 0, len = entries.length; ii < len; ii++) {\n\t if (is(key, entries[ii][0])) {\n\t return entries[ii][1];\n\t }\n\t }\n\t return notSetValue;\n\t };\n\t\n\t HashCollisionNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n\t if (keyHash === undefined) {\n\t keyHash = hash(key);\n\t }\n\t\n\t var removed = value === NOT_SET;\n\t\n\t if (keyHash !== this.keyHash) {\n\t if (removed) {\n\t return this;\n\t }\n\t SetRef(didAlter);\n\t SetRef(didChangeSize);\n\t return mergeIntoNode(this, ownerID, shift, keyHash, [key, value]);\n\t }\n\t\n\t var entries = this.entries;\n\t var idx = 0;\n\t for (var len = entries.length; idx < len; idx++) {\n\t if (is(key, entries[idx][0])) {\n\t break;\n\t }\n\t }\n\t var exists = idx < len;\n\t\n\t if (exists ? entries[idx][1] === value : removed) {\n\t return this;\n\t }\n\t\n\t SetRef(didAlter);\n\t (removed || !exists) && SetRef(didChangeSize);\n\t\n\t if (removed && len === 2) {\n\t return new ValueNode(ownerID, this.keyHash, entries[idx ^ 1]);\n\t }\n\t\n\t var isEditable = ownerID && ownerID === this.ownerID;\n\t var newEntries = isEditable ? entries : arrCopy(entries);\n\t\n\t if (exists) {\n\t if (removed) {\n\t idx === len - 1 ? newEntries.pop() : newEntries[idx] = newEntries.pop();\n\t } else {\n\t newEntries[idx] = [key, value];\n\t }\n\t } else {\n\t newEntries.push([key, value]);\n\t }\n\t\n\t if (isEditable) {\n\t this.entries = newEntries;\n\t return this;\n\t }\n\t\n\t return new HashCollisionNode(ownerID, this.keyHash, newEntries);\n\t };\n\t\n\t function ValueNode(ownerID, keyHash, entry) {\n\t this.ownerID = ownerID;\n\t this.keyHash = keyHash;\n\t this.entry = entry;\n\t }\n\t\n\t ValueNode.prototype.get = function (shift, keyHash, key, notSetValue) {\n\t return is(key, this.entry[0]) ? this.entry[1] : notSetValue;\n\t };\n\t\n\t ValueNode.prototype.update = function (ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n\t var removed = value === NOT_SET;\n\t var keyMatch = is(key, this.entry[0]);\n\t if (keyMatch ? value === this.entry[1] : removed) {\n\t return this;\n\t }\n\t\n\t SetRef(didAlter);\n\t\n\t if (removed) {\n\t SetRef(didChangeSize);\n\t return; // undefined\n\t }\n\t\n\t if (keyMatch) {\n\t if (ownerID && ownerID === this.ownerID) {\n\t this.entry[1] = value;\n\t return this;\n\t }\n\t return new ValueNode(ownerID, this.keyHash, [key, value]);\n\t }\n\t\n\t SetRef(didChangeSize);\n\t return mergeIntoNode(this, ownerID, shift, hash(key), [key, value]);\n\t };\n\t\n\t // #pragma Iterators\n\t\n\t ArrayMapNode.prototype.iterate = HashCollisionNode.prototype.iterate = function (fn, reverse) {\n\t var entries = this.entries;\n\t for (var ii = 0, maxIndex = entries.length - 1; ii <= maxIndex; ii++) {\n\t if (fn(entries[reverse ? maxIndex - ii : ii]) === false) {\n\t return false;\n\t }\n\t }\n\t };\n\t\n\t BitmapIndexedNode.prototype.iterate = HashArrayMapNode.prototype.iterate = function (fn, reverse) {\n\t var nodes = this.nodes;\n\t for (var ii = 0, maxIndex = nodes.length - 1; ii <= maxIndex; ii++) {\n\t var node = nodes[reverse ? maxIndex - ii : ii];\n\t if (node && node.iterate(fn, reverse) === false) {\n\t return false;\n\t }\n\t }\n\t };\n\t\n\t ValueNode.prototype.iterate = function (fn, reverse) {\n\t return fn(this.entry);\n\t };\n\t\n\t createClass(MapIterator, Iterator);\n\t\n\t function MapIterator(map, type, reverse) {\n\t this._type = type;\n\t this._reverse = reverse;\n\t this._stack = map._root && mapIteratorFrame(map._root);\n\t }\n\t\n\t MapIterator.prototype.next = function () {\n\t var type = this._type;\n\t var stack = this._stack;\n\t while (stack) {\n\t var node = stack.node;\n\t var index = stack.index++;\n\t var maxIndex;\n\t if (node.entry) {\n\t if (index === 0) {\n\t return mapIteratorValue(type, node.entry);\n\t }\n\t } else if (node.entries) {\n\t maxIndex = node.entries.length - 1;\n\t if (index <= maxIndex) {\n\t return mapIteratorValue(type, node.entries[this._reverse ? maxIndex - index : index]);\n\t }\n\t } else {\n\t maxIndex = node.nodes.length - 1;\n\t if (index <= maxIndex) {\n\t var subNode = node.nodes[this._reverse ? maxIndex - index : index];\n\t if (subNode) {\n\t if (subNode.entry) {\n\t return mapIteratorValue(type, subNode.entry);\n\t }\n\t stack = this._stack = mapIteratorFrame(subNode, stack);\n\t }\n\t continue;\n\t }\n\t }\n\t stack = this._stack = this._stack.__prev;\n\t }\n\t return iteratorDone();\n\t };\n\t\n\t function mapIteratorValue(type, entry) {\n\t return iteratorValue(type, entry[0], entry[1]);\n\t }\n\t\n\t function mapIteratorFrame(node, prev) {\n\t return {\n\t node: node,\n\t index: 0,\n\t __prev: prev\n\t };\n\t }\n\t\n\t function makeMap(size, root, ownerID, hash) {\n\t var map = Object.create(MapPrototype);\n\t map.size = size;\n\t map._root = root;\n\t map.__ownerID = ownerID;\n\t map.__hash = hash;\n\t map.__altered = false;\n\t return map;\n\t }\n\t\n\t var EMPTY_MAP;\n\t function emptyMap() {\n\t return EMPTY_MAP || (EMPTY_MAP = makeMap(0));\n\t }\n\t\n\t function updateMap(map, k, v) {\n\t var newRoot;\n\t var newSize;\n\t if (!map._root) {\n\t if (v === NOT_SET) {\n\t return map;\n\t }\n\t newSize = 1;\n\t newRoot = new ArrayMapNode(map.__ownerID, [[k, v]]);\n\t } else {\n\t var didChangeSize = MakeRef(CHANGE_LENGTH);\n\t var didAlter = MakeRef(DID_ALTER);\n\t newRoot = updateNode(map._root, map.__ownerID, 0, undefined, k, v, didChangeSize, didAlter);\n\t if (!didAlter.value) {\n\t return map;\n\t }\n\t newSize = map.size + (didChangeSize.value ? v === NOT_SET ? -1 : 1 : 0);\n\t }\n\t if (map.__ownerID) {\n\t map.size = newSize;\n\t map._root = newRoot;\n\t map.__hash = undefined;\n\t map.__altered = true;\n\t return map;\n\t }\n\t return newRoot ? makeMap(newSize, newRoot) : emptyMap();\n\t }\n\t\n\t function updateNode(node, ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n\t if (!node) {\n\t if (value === NOT_SET) {\n\t return node;\n\t }\n\t SetRef(didAlter);\n\t SetRef(didChangeSize);\n\t return new ValueNode(ownerID, keyHash, [key, value]);\n\t }\n\t return node.update(ownerID, shift, keyHash, key, value, didChangeSize, didAlter);\n\t }\n\t\n\t function isLeafNode(node) {\n\t return node.constructor === ValueNode || node.constructor === HashCollisionNode;\n\t }\n\t\n\t function mergeIntoNode(node, ownerID, shift, keyHash, entry) {\n\t if (node.keyHash === keyHash) {\n\t return new HashCollisionNode(ownerID, keyHash, [node.entry, entry]);\n\t }\n\t\n\t var idx1 = (shift === 0 ? node.keyHash : node.keyHash >>> shift) & MASK;\n\t var idx2 = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n\t\n\t var newNode;\n\t var nodes = idx1 === idx2 ? [mergeIntoNode(node, ownerID, shift + SHIFT, keyHash, entry)] : (newNode = new ValueNode(ownerID, keyHash, entry), idx1 < idx2 ? [node, newNode] : [newNode, node]);\n\t\n\t return new BitmapIndexedNode(ownerID, 1 << idx1 | 1 << idx2, nodes);\n\t }\n\t\n\t function createNodes(ownerID, entries, key, value) {\n\t if (!ownerID) {\n\t ownerID = new OwnerID();\n\t }\n\t var node = new ValueNode(ownerID, hash(key), [key, value]);\n\t for (var ii = 0; ii < entries.length; ii++) {\n\t var entry = entries[ii];\n\t node = node.update(ownerID, 0, undefined, entry[0], entry[1]);\n\t }\n\t return node;\n\t }\n\t\n\t function packNodes(ownerID, nodes, count, excluding) {\n\t var bitmap = 0;\n\t var packedII = 0;\n\t var packedNodes = new Array(count);\n\t for (var ii = 0, bit = 1, len = nodes.length; ii < len; ii++, bit <<= 1) {\n\t var node = nodes[ii];\n\t if (node !== undefined && ii !== excluding) {\n\t bitmap |= bit;\n\t packedNodes[packedII++] = node;\n\t }\n\t }\n\t return new BitmapIndexedNode(ownerID, bitmap, packedNodes);\n\t }\n\t\n\t function expandNodes(ownerID, nodes, bitmap, including, node) {\n\t var count = 0;\n\t var expandedNodes = new Array(SIZE);\n\t for (var ii = 0; bitmap !== 0; ii++, bitmap >>>= 1) {\n\t expandedNodes[ii] = bitmap & 1 ? nodes[count++] : undefined;\n\t }\n\t expandedNodes[including] = node;\n\t return new HashArrayMapNode(ownerID, count + 1, expandedNodes);\n\t }\n\t\n\t function mergeIntoMapWith(map, merger, iterables) {\n\t var iters = [];\n\t for (var ii = 0; ii < iterables.length; ii++) {\n\t var value = iterables[ii];\n\t var iter = KeyedIterable(value);\n\t if (!isIterable(value)) {\n\t iter = iter.map(function (v) {\n\t return fromJS(v);\n\t });\n\t }\n\t iters.push(iter);\n\t }\n\t return mergeIntoCollectionWith(map, merger, iters);\n\t }\n\t\n\t function deepMerger(existing, value, key) {\n\t return existing && existing.mergeDeep && isIterable(value) ? existing.mergeDeep(value) : is(existing, value) ? existing : value;\n\t }\n\t\n\t function deepMergerWith(merger) {\n\t return function (existing, value, key) {\n\t if (existing && existing.mergeDeepWith && isIterable(value)) {\n\t return existing.mergeDeepWith(merger, value);\n\t }\n\t var nextValue = merger(existing, value, key);\n\t return is(existing, nextValue) ? existing : nextValue;\n\t };\n\t }\n\t\n\t function mergeIntoCollectionWith(collection, merger, iters) {\n\t iters = iters.filter(function (x) {\n\t return x.size !== 0;\n\t });\n\t if (iters.length === 0) {\n\t return collection;\n\t }\n\t if (collection.size === 0 && !collection.__ownerID && iters.length === 1) {\n\t return collection.constructor(iters[0]);\n\t }\n\t return collection.withMutations(function (collection) {\n\t var mergeIntoMap = merger ? function (value, key) {\n\t collection.update(key, NOT_SET, function (existing) {\n\t return existing === NOT_SET ? value : merger(existing, value, key);\n\t });\n\t } : function (value, key) {\n\t collection.set(key, value);\n\t };\n\t for (var ii = 0; ii < iters.length; ii++) {\n\t iters[ii].forEach(mergeIntoMap);\n\t }\n\t });\n\t }\n\t\n\t function updateInDeepMap(existing, keyPathIter, notSetValue, updater) {\n\t var isNotSet = existing === NOT_SET;\n\t var step = keyPathIter.next();\n\t if (step.done) {\n\t var existingValue = isNotSet ? notSetValue : existing;\n\t var newValue = updater(existingValue);\n\t return newValue === existingValue ? existing : newValue;\n\t }\n\t invariant(isNotSet || existing && existing.set, 'invalid keyPath');\n\t var key = step.value;\n\t var nextExisting = isNotSet ? NOT_SET : existing.get(key, NOT_SET);\n\t var nextUpdated = updateInDeepMap(nextExisting, keyPathIter, notSetValue, updater);\n\t return nextUpdated === nextExisting ? existing : nextUpdated === NOT_SET ? existing.remove(key) : (isNotSet ? emptyMap() : existing).set(key, nextUpdated);\n\t }\n\t\n\t function popCount(x) {\n\t x = x - (x >> 1 & 0x55555555);\n\t x = (x & 0x33333333) + (x >> 2 & 0x33333333);\n\t x = x + (x >> 4) & 0x0f0f0f0f;\n\t x = x + (x >> 8);\n\t x = x + (x >> 16);\n\t return x & 0x7f;\n\t }\n\t\n\t function setIn(array, idx, val, canEdit) {\n\t var newArray = canEdit ? array : arrCopy(array);\n\t newArray[idx] = val;\n\t return newArray;\n\t }\n\t\n\t function spliceIn(array, idx, val, canEdit) {\n\t var newLen = array.length + 1;\n\t if (canEdit && idx + 1 === newLen) {\n\t array[idx] = val;\n\t return array;\n\t }\n\t var newArray = new Array(newLen);\n\t var after = 0;\n\t for (var ii = 0; ii < newLen; ii++) {\n\t if (ii === idx) {\n\t newArray[ii] = val;\n\t after = -1;\n\t } else {\n\t newArray[ii] = array[ii + after];\n\t }\n\t }\n\t return newArray;\n\t }\n\t\n\t function spliceOut(array, idx, canEdit) {\n\t var newLen = array.length - 1;\n\t if (canEdit && idx === newLen) {\n\t array.pop();\n\t return array;\n\t }\n\t var newArray = new Array(newLen);\n\t var after = 0;\n\t for (var ii = 0; ii < newLen; ii++) {\n\t if (ii === idx) {\n\t after = 1;\n\t }\n\t newArray[ii] = array[ii + after];\n\t }\n\t return newArray;\n\t }\n\t\n\t var MAX_ARRAY_MAP_SIZE = SIZE / 4;\n\t var MAX_BITMAP_INDEXED_SIZE = SIZE / 2;\n\t var MIN_HASH_ARRAY_MAP_SIZE = SIZE / 4;\n\t\n\t createClass(List, IndexedCollection);\n\t\n\t // @pragma Construction\n\t\n\t function List(value) {\n\t var empty = emptyList();\n\t if (value === null || value === undefined) {\n\t return empty;\n\t }\n\t if (isList(value)) {\n\t return value;\n\t }\n\t var iter = IndexedIterable(value);\n\t var size = iter.size;\n\t if (size === 0) {\n\t return empty;\n\t }\n\t assertNotInfinite(size);\n\t if (size > 0 && size < SIZE) {\n\t return makeList(0, size, SHIFT, null, new VNode(iter.toArray()));\n\t }\n\t return empty.withMutations(function (list) {\n\t list.setSize(size);\n\t iter.forEach(function (v, i) {\n\t return list.set(i, v);\n\t });\n\t });\n\t }\n\t\n\t List.of = function () /*...values*/{\n\t return this(arguments);\n\t };\n\t\n\t List.prototype.toString = function () {\n\t return this.__toString('List [', ']');\n\t };\n\t\n\t // @pragma Access\n\t\n\t List.prototype.get = function (index, notSetValue) {\n\t index = wrapIndex(this, index);\n\t if (index >= 0 && index < this.size) {\n\t index += this._origin;\n\t var node = listNodeFor(this, index);\n\t return node && node.array[index & MASK];\n\t }\n\t return notSetValue;\n\t };\n\t\n\t // @pragma Modification\n\t\n\t List.prototype.set = function (index, value) {\n\t return updateList(this, index, value);\n\t };\n\t\n\t List.prototype.remove = function (index) {\n\t return !this.has(index) ? this : index === 0 ? this.shift() : index === this.size - 1 ? this.pop() : this.splice(index, 1);\n\t };\n\t\n\t List.prototype.insert = function (index, value) {\n\t return this.splice(index, 0, value);\n\t };\n\t\n\t List.prototype.clear = function () {\n\t if (this.size === 0) {\n\t return this;\n\t }\n\t if (this.__ownerID) {\n\t this.size = this._origin = this._capacity = 0;\n\t this._level = SHIFT;\n\t this._root = this._tail = null;\n\t this.__hash = undefined;\n\t this.__altered = true;\n\t return this;\n\t }\n\t return emptyList();\n\t };\n\t\n\t List.prototype.push = function () /*...values*/{\n\t var values = arguments;\n\t var oldSize = this.size;\n\t return this.withMutations(function (list) {\n\t setListBounds(list, 0, oldSize + values.length);\n\t for (var ii = 0; ii < values.length; ii++) {\n\t list.set(oldSize + ii, values[ii]);\n\t }\n\t });\n\t };\n\t\n\t List.prototype.pop = function () {\n\t return setListBounds(this, 0, -1);\n\t };\n\t\n\t List.prototype.unshift = function () /*...values*/{\n\t var values = arguments;\n\t return this.withMutations(function (list) {\n\t setListBounds(list, -values.length);\n\t for (var ii = 0; ii < values.length; ii++) {\n\t list.set(ii, values[ii]);\n\t }\n\t });\n\t };\n\t\n\t List.prototype.shift = function () {\n\t return setListBounds(this, 1);\n\t };\n\t\n\t // @pragma Composition\n\t\n\t List.prototype.merge = function () /*...iters*/{\n\t return mergeIntoListWith(this, undefined, arguments);\n\t };\n\t\n\t List.prototype.mergeWith = function (merger) {\n\t var iters = SLICE$0.call(arguments, 1);\n\t return mergeIntoListWith(this, merger, iters);\n\t };\n\t\n\t List.prototype.mergeDeep = function () /*...iters*/{\n\t return mergeIntoListWith(this, deepMerger, arguments);\n\t };\n\t\n\t List.prototype.mergeDeepWith = function (merger) {\n\t var iters = SLICE$0.call(arguments, 1);\n\t return mergeIntoListWith(this, deepMergerWith(merger), iters);\n\t };\n\t\n\t List.prototype.setSize = function (size) {\n\t return setListBounds(this, 0, size);\n\t };\n\t\n\t // @pragma Iteration\n\t\n\t List.prototype.slice = function (begin, end) {\n\t var size = this.size;\n\t if (wholeSlice(begin, end, size)) {\n\t return this;\n\t }\n\t return setListBounds(this, resolveBegin(begin, size), resolveEnd(end, size));\n\t };\n\t\n\t List.prototype.__iterator = function (type, reverse) {\n\t var index = 0;\n\t var values = iterateList(this, reverse);\n\t return new Iterator(function () {\n\t var value = values();\n\t return value === DONE ? iteratorDone() : iteratorValue(type, index++, value);\n\t });\n\t };\n\t\n\t List.prototype.__iterate = function (fn, reverse) {\n\t var index = 0;\n\t var values = iterateList(this, reverse);\n\t var value;\n\t while ((value = values()) !== DONE) {\n\t if (fn(value, index++, this) === false) {\n\t break;\n\t }\n\t }\n\t return index;\n\t };\n\t\n\t List.prototype.__ensureOwner = function (ownerID) {\n\t if (ownerID === this.__ownerID) {\n\t return this;\n\t }\n\t if (!ownerID) {\n\t this.__ownerID = ownerID;\n\t return this;\n\t }\n\t return makeList(this._origin, this._capacity, this._level, this._root, this._tail, ownerID, this.__hash);\n\t };\n\t\n\t function isList(maybeList) {\n\t return !!(maybeList && maybeList[IS_LIST_SENTINEL]);\n\t }\n\t\n\t List.isList = isList;\n\t\n\t var IS_LIST_SENTINEL = '@@__IMMUTABLE_LIST__@@';\n\t\n\t var ListPrototype = List.prototype;\n\t ListPrototype[IS_LIST_SENTINEL] = true;\n\t ListPrototype[DELETE] = ListPrototype.remove;\n\t ListPrototype.setIn = MapPrototype.setIn;\n\t ListPrototype.deleteIn = ListPrototype.removeIn = MapPrototype.removeIn;\n\t ListPrototype.update = MapPrototype.update;\n\t ListPrototype.updateIn = MapPrototype.updateIn;\n\t ListPrototype.mergeIn = MapPrototype.mergeIn;\n\t ListPrototype.mergeDeepIn = MapPrototype.mergeDeepIn;\n\t ListPrototype.withMutations = MapPrototype.withMutations;\n\t ListPrototype.asMutable = MapPrototype.asMutable;\n\t ListPrototype.asImmutable = MapPrototype.asImmutable;\n\t ListPrototype.wasAltered = MapPrototype.wasAltered;\n\t\n\t function VNode(array, ownerID) {\n\t this.array = array;\n\t this.ownerID = ownerID;\n\t }\n\t\n\t // TODO: seems like these methods are very similar\n\t\n\t VNode.prototype.removeBefore = function (ownerID, level, index) {\n\t if (index === level ? 1 << level : 0 || this.array.length === 0) {\n\t return this;\n\t }\n\t var originIndex = index >>> level & MASK;\n\t if (originIndex >= this.array.length) {\n\t return new VNode([], ownerID);\n\t }\n\t var removingFirst = originIndex === 0;\n\t var newChild;\n\t if (level > 0) {\n\t var oldChild = this.array[originIndex];\n\t newChild = oldChild && oldChild.removeBefore(ownerID, level - SHIFT, index);\n\t if (newChild === oldChild && removingFirst) {\n\t return this;\n\t }\n\t }\n\t if (removingFirst && !newChild) {\n\t return this;\n\t }\n\t var editable = editableVNode(this, ownerID);\n\t if (!removingFirst) {\n\t for (var ii = 0; ii < originIndex; ii++) {\n\t editable.array[ii] = undefined;\n\t }\n\t }\n\t if (newChild) {\n\t editable.array[originIndex] = newChild;\n\t }\n\t return editable;\n\t };\n\t\n\t VNode.prototype.removeAfter = function (ownerID, level, index) {\n\t if (index === (level ? 1 << level : 0) || this.array.length === 0) {\n\t return this;\n\t }\n\t var sizeIndex = index - 1 >>> level & MASK;\n\t if (sizeIndex >= this.array.length) {\n\t return this;\n\t }\n\t\n\t var newChild;\n\t if (level > 0) {\n\t var oldChild = this.array[sizeIndex];\n\t newChild = oldChild && oldChild.removeAfter(ownerID, level - SHIFT, index);\n\t if (newChild === oldChild && sizeIndex === this.array.length - 1) {\n\t return this;\n\t }\n\t }\n\t\n\t var editable = editableVNode(this, ownerID);\n\t editable.array.splice(sizeIndex + 1);\n\t if (newChild) {\n\t editable.array[sizeIndex] = newChild;\n\t }\n\t return editable;\n\t };\n\t\n\t var DONE = {};\n\t\n\t function iterateList(list, reverse) {\n\t var left = list._origin;\n\t var right = list._capacity;\n\t var tailPos = getTailOffset(right);\n\t var tail = list._tail;\n\t\n\t return iterateNodeOrLeaf(list._root, list._level, 0);\n\t\n\t function iterateNodeOrLeaf(node, level, offset) {\n\t return level === 0 ? iterateLeaf(node, offset) : iterateNode(node, level, offset);\n\t }\n\t\n\t function iterateLeaf(node, offset) {\n\t var array = offset === tailPos ? tail && tail.array : node && node.array;\n\t var from = offset > left ? 0 : left - offset;\n\t var to = right - offset;\n\t if (to > SIZE) {\n\t to = SIZE;\n\t }\n\t return function () {\n\t if (from === to) {\n\t return DONE;\n\t }\n\t var idx = reverse ? --to : from++;\n\t return array && array[idx];\n\t };\n\t }\n\t\n\t function iterateNode(node, level, offset) {\n\t var values;\n\t var array = node && node.array;\n\t var from = offset > left ? 0 : left - offset >> level;\n\t var to = (right - offset >> level) + 1;\n\t if (to > SIZE) {\n\t to = SIZE;\n\t }\n\t return function () {\n\t do {\n\t if (values) {\n\t var value = values();\n\t if (value !== DONE) {\n\t return value;\n\t }\n\t values = null;\n\t }\n\t if (from === to) {\n\t return DONE;\n\t }\n\t var idx = reverse ? --to : from++;\n\t values = iterateNodeOrLeaf(array && array[idx], level - SHIFT, offset + (idx << level));\n\t } while (true);\n\t };\n\t }\n\t }\n\t\n\t function makeList(origin, capacity, level, root, tail, ownerID, hash) {\n\t var list = Object.create(ListPrototype);\n\t list.size = capacity - origin;\n\t list._origin = origin;\n\t list._capacity = capacity;\n\t list._level = level;\n\t list._root = root;\n\t list._tail = tail;\n\t list.__ownerID = ownerID;\n\t list.__hash = hash;\n\t list.__altered = false;\n\t return list;\n\t }\n\t\n\t var EMPTY_LIST;\n\t function emptyList() {\n\t return EMPTY_LIST || (EMPTY_LIST = makeList(0, 0, SHIFT));\n\t }\n\t\n\t function updateList(list, index, value) {\n\t index = wrapIndex(list, index);\n\t\n\t if (index !== index) {\n\t return list;\n\t }\n\t\n\t if (index >= list.size || index < 0) {\n\t return list.withMutations(function (list) {\n\t index < 0 ? setListBounds(list, index).set(0, value) : setListBounds(list, 0, index + 1).set(index, value);\n\t });\n\t }\n\t\n\t index += list._origin;\n\t\n\t var newTail = list._tail;\n\t var newRoot = list._root;\n\t var didAlter = MakeRef(DID_ALTER);\n\t if (index >= getTailOffset(list._capacity)) {\n\t newTail = updateVNode(newTail, list.__ownerID, 0, index, value, didAlter);\n\t } else {\n\t newRoot = updateVNode(newRoot, list.__ownerID, list._level, index, value, didAlter);\n\t }\n\t\n\t if (!didAlter.value) {\n\t return list;\n\t }\n\t\n\t if (list.__ownerID) {\n\t list._root = newRoot;\n\t list._tail = newTail;\n\t list.__hash = undefined;\n\t list.__altered = true;\n\t return list;\n\t }\n\t return makeList(list._origin, list._capacity, list._level, newRoot, newTail);\n\t }\n\t\n\t function updateVNode(node, ownerID, level, index, value, didAlter) {\n\t var idx = index >>> level & MASK;\n\t var nodeHas = node && idx < node.array.length;\n\t if (!nodeHas && value === undefined) {\n\t return node;\n\t }\n\t\n\t var newNode;\n\t\n\t if (level > 0) {\n\t var lowerNode = node && node.array[idx];\n\t var newLowerNode = updateVNode(lowerNode, ownerID, level - SHIFT, index, value, didAlter);\n\t if (newLowerNode === lowerNode) {\n\t return node;\n\t }\n\t newNode = editableVNode(node, ownerID);\n\t newNode.array[idx] = newLowerNode;\n\t return newNode;\n\t }\n\t\n\t if (nodeHas && node.array[idx] === value) {\n\t return node;\n\t }\n\t\n\t SetRef(didAlter);\n\t\n\t newNode = editableVNode(node, ownerID);\n\t if (value === undefined && idx === newNode.array.length - 1) {\n\t newNode.array.pop();\n\t } else {\n\t newNode.array[idx] = value;\n\t }\n\t return newNode;\n\t }\n\t\n\t function editableVNode(node, ownerID) {\n\t if (ownerID && node && ownerID === node.ownerID) {\n\t return node;\n\t }\n\t return new VNode(node ? node.array.slice() : [], ownerID);\n\t }\n\t\n\t function listNodeFor(list, rawIndex) {\n\t if (rawIndex >= getTailOffset(list._capacity)) {\n\t return list._tail;\n\t }\n\t if (rawIndex < 1 << list._level + SHIFT) {\n\t var node = list._root;\n\t var level = list._level;\n\t while (node && level > 0) {\n\t node = node.array[rawIndex >>> level & MASK];\n\t level -= SHIFT;\n\t }\n\t return node;\n\t }\n\t }\n\t\n\t function setListBounds(list, begin, end) {\n\t // Sanitize begin & end using this shorthand for ToInt32(argument)\n\t // http://www.ecma-international.org/ecma-262/6.0/#sec-toint32\n\t if (begin !== undefined) {\n\t begin = begin | 0;\n\t }\n\t if (end !== undefined) {\n\t end = end | 0;\n\t }\n\t var owner = list.__ownerID || new OwnerID();\n\t var oldOrigin = list._origin;\n\t var oldCapacity = list._capacity;\n\t var newOrigin = oldOrigin + begin;\n\t var newCapacity = end === undefined ? oldCapacity : end < 0 ? oldCapacity + end : oldOrigin + end;\n\t if (newOrigin === oldOrigin && newCapacity === oldCapacity) {\n\t return list;\n\t }\n\t\n\t // If it's going to end after it starts, it's empty.\n\t if (newOrigin >= newCapacity) {\n\t return list.clear();\n\t }\n\t\n\t var newLevel = list._level;\n\t var newRoot = list._root;\n\t\n\t // New origin might need creating a higher root.\n\t var offsetShift = 0;\n\t while (newOrigin + offsetShift < 0) {\n\t newRoot = new VNode(newRoot && newRoot.array.length ? [undefined, newRoot] : [], owner);\n\t newLevel += SHIFT;\n\t offsetShift += 1 << newLevel;\n\t }\n\t if (offsetShift) {\n\t newOrigin += offsetShift;\n\t oldOrigin += offsetShift;\n\t newCapacity += offsetShift;\n\t oldCapacity += offsetShift;\n\t }\n\t\n\t var oldTailOffset = getTailOffset(oldCapacity);\n\t var newTailOffset = getTailOffset(newCapacity);\n\t\n\t // New size might need creating a higher root.\n\t while (newTailOffset >= 1 << newLevel + SHIFT) {\n\t newRoot = new VNode(newRoot && newRoot.array.length ? [newRoot] : [], owner);\n\t newLevel += SHIFT;\n\t }\n\t\n\t // Locate or create the new tail.\n\t var oldTail = list._tail;\n\t var newTail = newTailOffset < oldTailOffset ? listNodeFor(list, newCapacity - 1) : newTailOffset > oldTailOffset ? new VNode([], owner) : oldTail;\n\t\n\t // Merge Tail into tree.\n\t if (oldTail && newTailOffset > oldTailOffset && newOrigin < oldCapacity && oldTail.array.length) {\n\t newRoot = editableVNode(newRoot, owner);\n\t var node = newRoot;\n\t for (var level = newLevel; level > SHIFT; level -= SHIFT) {\n\t var idx = oldTailOffset >>> level & MASK;\n\t node = node.array[idx] = editableVNode(node.array[idx], owner);\n\t }\n\t node.array[oldTailOffset >>> SHIFT & MASK] = oldTail;\n\t }\n\t\n\t // If the size has been reduced, there's a chance the tail needs to be trimmed.\n\t if (newCapacity < oldCapacity) {\n\t newTail = newTail && newTail.removeAfter(owner, 0, newCapacity);\n\t }\n\t\n\t // If the new origin is within the tail, then we do not need a root.\n\t if (newOrigin >= newTailOffset) {\n\t newOrigin -= newTailOffset;\n\t newCapacity -= newTailOffset;\n\t newLevel = SHIFT;\n\t newRoot = null;\n\t newTail = newTail && newTail.removeBefore(owner, 0, newOrigin);\n\t\n\t // Otherwise, if the root has been trimmed, garbage collect.\n\t } else if (newOrigin > oldOrigin || newTailOffset < oldTailOffset) {\n\t offsetShift = 0;\n\t\n\t // Identify the new top root node of the subtree of the old root.\n\t while (newRoot) {\n\t var beginIndex = newOrigin >>> newLevel & MASK;\n\t if (beginIndex !== newTailOffset >>> newLevel & MASK) {\n\t break;\n\t }\n\t if (beginIndex) {\n\t offsetShift += (1 << newLevel) * beginIndex;\n\t }\n\t newLevel -= SHIFT;\n\t newRoot = newRoot.array[beginIndex];\n\t }\n\t\n\t // Trim the new sides of the new root.\n\t if (newRoot && newOrigin > oldOrigin) {\n\t newRoot = newRoot.removeBefore(owner, newLevel, newOrigin - offsetShift);\n\t }\n\t if (newRoot && newTailOffset < oldTailOffset) {\n\t newRoot = newRoot.removeAfter(owner, newLevel, newTailOffset - offsetShift);\n\t }\n\t if (offsetShift) {\n\t newOrigin -= offsetShift;\n\t newCapacity -= offsetShift;\n\t }\n\t }\n\t\n\t if (list.__ownerID) {\n\t list.size = newCapacity - newOrigin;\n\t list._origin = newOrigin;\n\t list._capacity = newCapacity;\n\t list._level = newLevel;\n\t list._root = newRoot;\n\t list._tail = newTail;\n\t list.__hash = undefined;\n\t list.__altered = true;\n\t return list;\n\t }\n\t return makeList(newOrigin, newCapacity, newLevel, newRoot, newTail);\n\t }\n\t\n\t function mergeIntoListWith(list, merger, iterables) {\n\t var iters = [];\n\t var maxSize = 0;\n\t for (var ii = 0; ii < iterables.length; ii++) {\n\t var value = iterables[ii];\n\t var iter = IndexedIterable(value);\n\t if (iter.size > maxSize) {\n\t maxSize = iter.size;\n\t }\n\t if (!isIterable(value)) {\n\t iter = iter.map(function (v) {\n\t return fromJS(v);\n\t });\n\t }\n\t iters.push(iter);\n\t }\n\t if (maxSize > list.size) {\n\t list = list.setSize(maxSize);\n\t }\n\t return mergeIntoCollectionWith(list, merger, iters);\n\t }\n\t\n\t function getTailOffset(size) {\n\t return size < SIZE ? 0 : size - 1 >>> SHIFT << SHIFT;\n\t }\n\t\n\t createClass(OrderedMap, Map);\n\t\n\t // @pragma Construction\n\t\n\t function OrderedMap(value) {\n\t return value === null || value === undefined ? emptyOrderedMap() : isOrderedMap(value) ? value : emptyOrderedMap().withMutations(function (map) {\n\t var iter = KeyedIterable(value);\n\t assertNotInfinite(iter.size);\n\t iter.forEach(function (v, k) {\n\t return map.set(k, v);\n\t });\n\t });\n\t }\n\t\n\t OrderedMap.of = function () /*...values*/{\n\t return this(arguments);\n\t };\n\t\n\t OrderedMap.prototype.toString = function () {\n\t return this.__toString('OrderedMap {', '}');\n\t };\n\t\n\t // @pragma Access\n\t\n\t OrderedMap.prototype.get = function (k, notSetValue) {\n\t var index = this._map.get(k);\n\t return index !== undefined ? this._list.get(index)[1] : notSetValue;\n\t };\n\t\n\t // @pragma Modification\n\t\n\t OrderedMap.prototype.clear = function () {\n\t if (this.size === 0) {\n\t return this;\n\t }\n\t if (this.__ownerID) {\n\t this.size = 0;\n\t this._map.clear();\n\t this._list.clear();\n\t return this;\n\t }\n\t return emptyOrderedMap();\n\t };\n\t\n\t OrderedMap.prototype.set = function (k, v) {\n\t return updateOrderedMap(this, k, v);\n\t };\n\t\n\t OrderedMap.prototype.remove = function (k) {\n\t return updateOrderedMap(this, k, NOT_SET);\n\t };\n\t\n\t OrderedMap.prototype.wasAltered = function () {\n\t return this._map.wasAltered() || this._list.wasAltered();\n\t };\n\t\n\t OrderedMap.prototype.__iterate = function (fn, reverse) {\n\t var this$0 = this;\n\t return this._list.__iterate(function (entry) {\n\t return entry && fn(entry[1], entry[0], this$0);\n\t }, reverse);\n\t };\n\t\n\t OrderedMap.prototype.__iterator = function (type, reverse) {\n\t return this._list.fromEntrySeq().__iterator(type, reverse);\n\t };\n\t\n\t OrderedMap.prototype.__ensureOwner = function (ownerID) {\n\t if (ownerID === this.__ownerID) {\n\t return this;\n\t }\n\t var newMap = this._map.__ensureOwner(ownerID);\n\t var newList = this._list.__ensureOwner(ownerID);\n\t if (!ownerID) {\n\t this.__ownerID = ownerID;\n\t this._map = newMap;\n\t this._list = newList;\n\t return this;\n\t }\n\t return makeOrderedMap(newMap, newList, ownerID, this.__hash);\n\t };\n\t\n\t function isOrderedMap(maybeOrderedMap) {\n\t return isMap(maybeOrderedMap) && isOrdered(maybeOrderedMap);\n\t }\n\t\n\t OrderedMap.isOrderedMap = isOrderedMap;\n\t\n\t OrderedMap.prototype[IS_ORDERED_SENTINEL] = true;\n\t OrderedMap.prototype[DELETE] = OrderedMap.prototype.remove;\n\t\n\t function makeOrderedMap(map, list, ownerID, hash) {\n\t var omap = Object.create(OrderedMap.prototype);\n\t omap.size = map ? map.size : 0;\n\t omap._map = map;\n\t omap._list = list;\n\t omap.__ownerID = ownerID;\n\t omap.__hash = hash;\n\t return omap;\n\t }\n\t\n\t var EMPTY_ORDERED_MAP;\n\t function emptyOrderedMap() {\n\t return EMPTY_ORDERED_MAP || (EMPTY_ORDERED_MAP = makeOrderedMap(emptyMap(), emptyList()));\n\t }\n\t\n\t function updateOrderedMap(omap, k, v) {\n\t var map = omap._map;\n\t var list = omap._list;\n\t var i = map.get(k);\n\t var has = i !== undefined;\n\t var newMap;\n\t var newList;\n\t if (v === NOT_SET) {\n\t // removed\n\t if (!has) {\n\t return omap;\n\t }\n\t if (list.size >= SIZE && list.size >= map.size * 2) {\n\t newList = list.filter(function (entry, idx) {\n\t return entry !== undefined && i !== idx;\n\t });\n\t newMap = newList.toKeyedSeq().map(function (entry) {\n\t return entry[0];\n\t }).flip().toMap();\n\t if (omap.__ownerID) {\n\t newMap.__ownerID = newList.__ownerID = omap.__ownerID;\n\t }\n\t } else {\n\t newMap = map.remove(k);\n\t newList = i === list.size - 1 ? list.pop() : list.set(i, undefined);\n\t }\n\t } else {\n\t if (has) {\n\t if (v === list.get(i)[1]) {\n\t return omap;\n\t }\n\t newMap = map;\n\t newList = list.set(i, [k, v]);\n\t } else {\n\t newMap = map.set(k, list.size);\n\t newList = list.set(list.size, [k, v]);\n\t }\n\t }\n\t if (omap.__ownerID) {\n\t omap.size = newMap.size;\n\t omap._map = newMap;\n\t omap._list = newList;\n\t omap.__hash = undefined;\n\t return omap;\n\t }\n\t return makeOrderedMap(newMap, newList);\n\t }\n\t\n\t createClass(ToKeyedSequence, KeyedSeq);\n\t function ToKeyedSequence(indexed, useKeys) {\n\t this._iter = indexed;\n\t this._useKeys = useKeys;\n\t this.size = indexed.size;\n\t }\n\t\n\t ToKeyedSequence.prototype.get = function (key, notSetValue) {\n\t return this._iter.get(key, notSetValue);\n\t };\n\t\n\t ToKeyedSequence.prototype.has = function (key) {\n\t return this._iter.has(key);\n\t };\n\t\n\t ToKeyedSequence.prototype.valueSeq = function () {\n\t return this._iter.valueSeq();\n\t };\n\t\n\t ToKeyedSequence.prototype.reverse = function () {\n\t var this$0 = this;\n\t var reversedSequence = reverseFactory(this, true);\n\t if (!this._useKeys) {\n\t reversedSequence.valueSeq = function () {\n\t return this$0._iter.toSeq().reverse();\n\t };\n\t }\n\t return reversedSequence;\n\t };\n\t\n\t ToKeyedSequence.prototype.map = function (mapper, context) {\n\t var this$0 = this;\n\t var mappedSequence = mapFactory(this, mapper, context);\n\t if (!this._useKeys) {\n\t mappedSequence.valueSeq = function () {\n\t return this$0._iter.toSeq().map(mapper, context);\n\t };\n\t }\n\t return mappedSequence;\n\t };\n\t\n\t ToKeyedSequence.prototype.__iterate = function (fn, reverse) {\n\t var this$0 = this;\n\t var ii;\n\t return this._iter.__iterate(this._useKeys ? function (v, k) {\n\t return fn(v, k, this$0);\n\t } : (ii = reverse ? resolveSize(this) : 0, function (v) {\n\t return fn(v, reverse ? --ii : ii++, this$0);\n\t }), reverse);\n\t };\n\t\n\t ToKeyedSequence.prototype.__iterator = function (type, reverse) {\n\t if (this._useKeys) {\n\t return this._iter.__iterator(type, reverse);\n\t }\n\t var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n\t var ii = reverse ? resolveSize(this) : 0;\n\t return new Iterator(function () {\n\t var step = iterator.next();\n\t return step.done ? step : iteratorValue(type, reverse ? --ii : ii++, step.value, step);\n\t });\n\t };\n\t\n\t ToKeyedSequence.prototype[IS_ORDERED_SENTINEL] = true;\n\t\n\t createClass(ToIndexedSequence, IndexedSeq);\n\t function ToIndexedSequence(iter) {\n\t this._iter = iter;\n\t this.size = iter.size;\n\t }\n\t\n\t ToIndexedSequence.prototype.includes = function (value) {\n\t return this._iter.includes(value);\n\t };\n\t\n\t ToIndexedSequence.prototype.__iterate = function (fn, reverse) {\n\t var this$0 = this;\n\t var iterations = 0;\n\t return this._iter.__iterate(function (v) {\n\t return fn(v, iterations++, this$0);\n\t }, reverse);\n\t };\n\t\n\t ToIndexedSequence.prototype.__iterator = function (type, reverse) {\n\t var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n\t var iterations = 0;\n\t return new Iterator(function () {\n\t var step = iterator.next();\n\t return step.done ? step : iteratorValue(type, iterations++, step.value, step);\n\t });\n\t };\n\t\n\t createClass(ToSetSequence, SetSeq);\n\t function ToSetSequence(iter) {\n\t this._iter = iter;\n\t this.size = iter.size;\n\t }\n\t\n\t ToSetSequence.prototype.has = function (key) {\n\t return this._iter.includes(key);\n\t };\n\t\n\t ToSetSequence.prototype.__iterate = function (fn, reverse) {\n\t var this$0 = this;\n\t return this._iter.__iterate(function (v) {\n\t return fn(v, v, this$0);\n\t }, reverse);\n\t };\n\t\n\t ToSetSequence.prototype.__iterator = function (type, reverse) {\n\t var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n\t return new Iterator(function () {\n\t var step = iterator.next();\n\t return step.done ? step : iteratorValue(type, step.value, step.value, step);\n\t });\n\t };\n\t\n\t createClass(FromEntriesSequence, KeyedSeq);\n\t function FromEntriesSequence(entries) {\n\t this._iter = entries;\n\t this.size = entries.size;\n\t }\n\t\n\t FromEntriesSequence.prototype.entrySeq = function () {\n\t return this._iter.toSeq();\n\t };\n\t\n\t FromEntriesSequence.prototype.__iterate = function (fn, reverse) {\n\t var this$0 = this;\n\t return this._iter.__iterate(function (entry) {\n\t // Check if entry exists first so array access doesn't throw for holes\n\t // in the parent iteration.\n\t if (entry) {\n\t validateEntry(entry);\n\t var indexedIterable = isIterable(entry);\n\t return fn(indexedIterable ? entry.get(1) : entry[1], indexedIterable ? entry.get(0) : entry[0], this$0);\n\t }\n\t }, reverse);\n\t };\n\t\n\t FromEntriesSequence.prototype.__iterator = function (type, reverse) {\n\t var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n\t return new Iterator(function () {\n\t while (true) {\n\t var step = iterator.next();\n\t if (step.done) {\n\t return step;\n\t }\n\t var entry = step.value;\n\t // Check if entry exists first so array access doesn't throw for holes\n\t // in the parent iteration.\n\t if (entry) {\n\t validateEntry(entry);\n\t var indexedIterable = isIterable(entry);\n\t return iteratorValue(type, indexedIterable ? entry.get(0) : entry[0], indexedIterable ? entry.get(1) : entry[1], step);\n\t }\n\t }\n\t });\n\t };\n\t\n\t ToIndexedSequence.prototype.cacheResult = ToKeyedSequence.prototype.cacheResult = ToSetSequence.prototype.cacheResult = FromEntriesSequence.prototype.cacheResult = cacheResultThrough;\n\t\n\t function flipFactory(iterable) {\n\t var flipSequence = makeSequence(iterable);\n\t flipSequence._iter = iterable;\n\t flipSequence.size = iterable.size;\n\t flipSequence.flip = function () {\n\t return iterable;\n\t };\n\t flipSequence.reverse = function () {\n\t var reversedSequence = iterable.reverse.apply(this); // super.reverse()\n\t reversedSequence.flip = function () {\n\t return iterable.reverse();\n\t };\n\t return reversedSequence;\n\t };\n\t flipSequence.has = function (key) {\n\t return iterable.includes(key);\n\t };\n\t flipSequence.includes = function (key) {\n\t return iterable.has(key);\n\t };\n\t flipSequence.cacheResult = cacheResultThrough;\n\t flipSequence.__iterateUncached = function (fn, reverse) {\n\t var this$0 = this;\n\t return iterable.__iterate(function (v, k) {\n\t return fn(k, v, this$0) !== false;\n\t }, reverse);\n\t };\n\t flipSequence.__iteratorUncached = function (type, reverse) {\n\t if (type === ITERATE_ENTRIES) {\n\t var iterator = iterable.__iterator(type, reverse);\n\t return new Iterator(function () {\n\t var step = iterator.next();\n\t if (!step.done) {\n\t var k = step.value[0];\n\t step.value[0] = step.value[1];\n\t step.value[1] = k;\n\t }\n\t return step;\n\t });\n\t }\n\t return iterable.__iterator(type === ITERATE_VALUES ? ITERATE_KEYS : ITERATE_VALUES, reverse);\n\t };\n\t return flipSequence;\n\t }\n\t\n\t function mapFactory(iterable, mapper, context) {\n\t var mappedSequence = makeSequence(iterable);\n\t mappedSequence.size = iterable.size;\n\t mappedSequence.has = function (key) {\n\t return iterable.has(key);\n\t };\n\t mappedSequence.get = function (key, notSetValue) {\n\t var v = iterable.get(key, NOT_SET);\n\t return v === NOT_SET ? notSetValue : mapper.call(context, v, key, iterable);\n\t };\n\t mappedSequence.__iterateUncached = function (fn, reverse) {\n\t var this$0 = this;\n\t return iterable.__iterate(function (v, k, c) {\n\t return fn(mapper.call(context, v, k, c), k, this$0) !== false;\n\t }, reverse);\n\t };\n\t mappedSequence.__iteratorUncached = function (type, reverse) {\n\t var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse);\n\t return new Iterator(function () {\n\t var step = iterator.next();\n\t if (step.done) {\n\t return step;\n\t }\n\t var entry = step.value;\n\t var key = entry[0];\n\t return iteratorValue(type, key, mapper.call(context, entry[1], key, iterable), step);\n\t });\n\t };\n\t return mappedSequence;\n\t }\n\t\n\t function reverseFactory(iterable, useKeys) {\n\t var reversedSequence = makeSequence(iterable);\n\t reversedSequence._iter = iterable;\n\t reversedSequence.size = iterable.size;\n\t reversedSequence.reverse = function () {\n\t return iterable;\n\t };\n\t if (iterable.flip) {\n\t reversedSequence.flip = function () {\n\t var flipSequence = flipFactory(iterable);\n\t flipSequence.reverse = function () {\n\t return iterable.flip();\n\t };\n\t return flipSequence;\n\t };\n\t }\n\t reversedSequence.get = function (key, notSetValue) {\n\t return iterable.get(useKeys ? key : -1 - key, notSetValue);\n\t };\n\t reversedSequence.has = function (key) {\n\t return iterable.has(useKeys ? key : -1 - key);\n\t };\n\t reversedSequence.includes = function (value) {\n\t return iterable.includes(value);\n\t };\n\t reversedSequence.cacheResult = cacheResultThrough;\n\t reversedSequence.__iterate = function (fn, reverse) {\n\t var this$0 = this;\n\t return iterable.__iterate(function (v, k) {\n\t return fn(v, k, this$0);\n\t }, !reverse);\n\t };\n\t reversedSequence.__iterator = function (type, reverse) {\n\t return iterable.__iterator(type, !reverse);\n\t };\n\t return reversedSequence;\n\t }\n\t\n\t function filterFactory(iterable, predicate, context, useKeys) {\n\t var filterSequence = makeSequence(iterable);\n\t if (useKeys) {\n\t filterSequence.has = function (key) {\n\t var v = iterable.get(key, NOT_SET);\n\t return v !== NOT_SET && !!predicate.call(context, v, key, iterable);\n\t };\n\t filterSequence.get = function (key, notSetValue) {\n\t var v = iterable.get(key, NOT_SET);\n\t return v !== NOT_SET && predicate.call(context, v, key, iterable) ? v : notSetValue;\n\t };\n\t }\n\t filterSequence.__iterateUncached = function (fn, reverse) {\n\t var this$0 = this;\n\t var iterations = 0;\n\t iterable.__iterate(function (v, k, c) {\n\t if (predicate.call(context, v, k, c)) {\n\t iterations++;\n\t return fn(v, useKeys ? k : iterations - 1, this$0);\n\t }\n\t }, reverse);\n\t return iterations;\n\t };\n\t filterSequence.__iteratorUncached = function (type, reverse) {\n\t var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse);\n\t var iterations = 0;\n\t return new Iterator(function () {\n\t while (true) {\n\t var step = iterator.next();\n\t if (step.done) {\n\t return step;\n\t }\n\t var entry = step.value;\n\t var key = entry[0];\n\t var value = entry[1];\n\t if (predicate.call(context, value, key, iterable)) {\n\t return iteratorValue(type, useKeys ? key : iterations++, value, step);\n\t }\n\t }\n\t });\n\t };\n\t return filterSequence;\n\t }\n\t\n\t function countByFactory(iterable, grouper, context) {\n\t var groups = Map().asMutable();\n\t iterable.__iterate(function (v, k) {\n\t groups.update(grouper.call(context, v, k, iterable), 0, function (a) {\n\t return a + 1;\n\t });\n\t });\n\t return groups.asImmutable();\n\t }\n\t\n\t function groupByFactory(iterable, grouper, context) {\n\t var isKeyedIter = isKeyed(iterable);\n\t var groups = (isOrdered(iterable) ? OrderedMap() : Map()).asMutable();\n\t iterable.__iterate(function (v, k) {\n\t groups.update(grouper.call(context, v, k, iterable), function (a) {\n\t return a = a || [], a.push(isKeyedIter ? [k, v] : v), a;\n\t });\n\t });\n\t var coerce = iterableClass(iterable);\n\t return groups.map(function (arr) {\n\t return reify(iterable, coerce(arr));\n\t });\n\t }\n\t\n\t function sliceFactory(iterable, begin, end, useKeys) {\n\t var originalSize = iterable.size;\n\t\n\t // Sanitize begin & end using this shorthand for ToInt32(argument)\n\t // http://www.ecma-international.org/ecma-262/6.0/#sec-toint32\n\t if (begin !== undefined) {\n\t begin = begin | 0;\n\t }\n\t if (end !== undefined) {\n\t if (end === Infinity) {\n\t end = originalSize;\n\t } else {\n\t end = end | 0;\n\t }\n\t }\n\t\n\t if (wholeSlice(begin, end, originalSize)) {\n\t return iterable;\n\t }\n\t\n\t var resolvedBegin = resolveBegin(begin, originalSize);\n\t var resolvedEnd = resolveEnd(end, originalSize);\n\t\n\t // begin or end will be NaN if they were provided as negative numbers and\n\t // this iterable's size is unknown. In that case, cache first so there is\n\t // a known size and these do not resolve to NaN.\n\t if (resolvedBegin !== resolvedBegin || resolvedEnd !== resolvedEnd) {\n\t return sliceFactory(iterable.toSeq().cacheResult(), begin, end, useKeys);\n\t }\n\t\n\t // Note: resolvedEnd is undefined when the original sequence's length is\n\t // unknown and this slice did not supply an end and should contain all\n\t // elements after resolvedBegin.\n\t // In that case, resolvedSize will be NaN and sliceSize will remain undefined.\n\t var resolvedSize = resolvedEnd - resolvedBegin;\n\t var sliceSize;\n\t if (resolvedSize === resolvedSize) {\n\t sliceSize = resolvedSize < 0 ? 0 : resolvedSize;\n\t }\n\t\n\t var sliceSeq = makeSequence(iterable);\n\t\n\t // If iterable.size is undefined, the size of the realized sliceSeq is\n\t // unknown at this point unless the number of items to slice is 0\n\t sliceSeq.size = sliceSize === 0 ? sliceSize : iterable.size && sliceSize || undefined;\n\t\n\t if (!useKeys && isSeq(iterable) && sliceSize >= 0) {\n\t sliceSeq.get = function (index, notSetValue) {\n\t index = wrapIndex(this, index);\n\t return index >= 0 && index < sliceSize ? iterable.get(index + resolvedBegin, notSetValue) : notSetValue;\n\t };\n\t }\n\t\n\t sliceSeq.__iterateUncached = function (fn, reverse) {\n\t var this$0 = this;\n\t if (sliceSize === 0) {\n\t return 0;\n\t }\n\t if (reverse) {\n\t return this.cacheResult().__iterate(fn, reverse);\n\t }\n\t var skipped = 0;\n\t var isSkipping = true;\n\t var iterations = 0;\n\t iterable.__iterate(function (v, k) {\n\t if (!(isSkipping && (isSkipping = skipped++ < resolvedBegin))) {\n\t iterations++;\n\t return fn(v, useKeys ? k : iterations - 1, this$0) !== false && iterations !== sliceSize;\n\t }\n\t });\n\t return iterations;\n\t };\n\t\n\t sliceSeq.__iteratorUncached = function (type, reverse) {\n\t if (sliceSize !== 0 && reverse) {\n\t return this.cacheResult().__iterator(type, reverse);\n\t }\n\t // Don't bother instantiating parent iterator if taking 0.\n\t var iterator = sliceSize !== 0 && iterable.__iterator(type, reverse);\n\t var skipped = 0;\n\t var iterations = 0;\n\t return new Iterator(function () {\n\t while (skipped++ < resolvedBegin) {\n\t iterator.next();\n\t }\n\t if (++iterations > sliceSize) {\n\t return iteratorDone();\n\t }\n\t var step = iterator.next();\n\t if (useKeys || type === ITERATE_VALUES) {\n\t return step;\n\t } else if (type === ITERATE_KEYS) {\n\t return iteratorValue(type, iterations - 1, undefined, step);\n\t } else {\n\t return iteratorValue(type, iterations - 1, step.value[1], step);\n\t }\n\t });\n\t };\n\t\n\t return sliceSeq;\n\t }\n\t\n\t function takeWhileFactory(iterable, predicate, context) {\n\t var takeSequence = makeSequence(iterable);\n\t takeSequence.__iterateUncached = function (fn, reverse) {\n\t var this$0 = this;\n\t if (reverse) {\n\t return this.cacheResult().__iterate(fn, reverse);\n\t }\n\t var iterations = 0;\n\t iterable.__iterate(function (v, k, c) {\n\t return predicate.call(context, v, k, c) && ++iterations && fn(v, k, this$0);\n\t });\n\t return iterations;\n\t };\n\t takeSequence.__iteratorUncached = function (type, reverse) {\n\t var this$0 = this;\n\t if (reverse) {\n\t return this.cacheResult().__iterator(type, reverse);\n\t }\n\t var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse);\n\t var iterating = true;\n\t return new Iterator(function () {\n\t if (!iterating) {\n\t return iteratorDone();\n\t }\n\t var step = iterator.next();\n\t if (step.done) {\n\t return step;\n\t }\n\t var entry = step.value;\n\t var k = entry[0];\n\t var v = entry[1];\n\t if (!predicate.call(context, v, k, this$0)) {\n\t iterating = false;\n\t return iteratorDone();\n\t }\n\t return type === ITERATE_ENTRIES ? step : iteratorValue(type, k, v, step);\n\t });\n\t };\n\t return takeSequence;\n\t }\n\t\n\t function skipWhileFactory(iterable, predicate, context, useKeys) {\n\t var skipSequence = makeSequence(iterable);\n\t skipSequence.__iterateUncached = function (fn, reverse) {\n\t var this$0 = this;\n\t if (reverse) {\n\t return this.cacheResult().__iterate(fn, reverse);\n\t }\n\t var isSkipping = true;\n\t var iterations = 0;\n\t iterable.__iterate(function (v, k, c) {\n\t if (!(isSkipping && (isSkipping = predicate.call(context, v, k, c)))) {\n\t iterations++;\n\t return fn(v, useKeys ? k : iterations - 1, this$0);\n\t }\n\t });\n\t return iterations;\n\t };\n\t skipSequence.__iteratorUncached = function (type, reverse) {\n\t var this$0 = this;\n\t if (reverse) {\n\t return this.cacheResult().__iterator(type, reverse);\n\t }\n\t var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse);\n\t var skipping = true;\n\t var iterations = 0;\n\t return new Iterator(function () {\n\t var step, k, v;\n\t do {\n\t step = iterator.next();\n\t if (step.done) {\n\t if (useKeys || type === ITERATE_VALUES) {\n\t return step;\n\t } else if (type === ITERATE_KEYS) {\n\t return iteratorValue(type, iterations++, undefined, step);\n\t } else {\n\t return iteratorValue(type, iterations++, step.value[1], step);\n\t }\n\t }\n\t var entry = step.value;\n\t k = entry[0];\n\t v = entry[1];\n\t skipping && (skipping = predicate.call(context, v, k, this$0));\n\t } while (skipping);\n\t return type === ITERATE_ENTRIES ? step : iteratorValue(type, k, v, step);\n\t });\n\t };\n\t return skipSequence;\n\t }\n\t\n\t function concatFactory(iterable, values) {\n\t var isKeyedIterable = isKeyed(iterable);\n\t var iters = [iterable].concat(values).map(function (v) {\n\t if (!isIterable(v)) {\n\t v = isKeyedIterable ? keyedSeqFromValue(v) : indexedSeqFromValue(Array.isArray(v) ? v : [v]);\n\t } else if (isKeyedIterable) {\n\t v = KeyedIterable(v);\n\t }\n\t return v;\n\t }).filter(function (v) {\n\t return v.size !== 0;\n\t });\n\t\n\t if (iters.length === 0) {\n\t return iterable;\n\t }\n\t\n\t if (iters.length === 1) {\n\t var singleton = iters[0];\n\t if (singleton === iterable || isKeyedIterable && isKeyed(singleton) || isIndexed(iterable) && isIndexed(singleton)) {\n\t return singleton;\n\t }\n\t }\n\t\n\t var concatSeq = new ArraySeq(iters);\n\t if (isKeyedIterable) {\n\t concatSeq = concatSeq.toKeyedSeq();\n\t } else if (!isIndexed(iterable)) {\n\t concatSeq = concatSeq.toSetSeq();\n\t }\n\t concatSeq = concatSeq.flatten(true);\n\t concatSeq.size = iters.reduce(function (sum, seq) {\n\t if (sum !== undefined) {\n\t var size = seq.size;\n\t if (size !== undefined) {\n\t return sum + size;\n\t }\n\t }\n\t }, 0);\n\t return concatSeq;\n\t }\n\t\n\t function flattenFactory(iterable, depth, useKeys) {\n\t var flatSequence = makeSequence(iterable);\n\t flatSequence.__iterateUncached = function (fn, reverse) {\n\t var iterations = 0;\n\t var stopped = false;\n\t function flatDeep(iter, currentDepth) {\n\t var this$0 = this;\n\t iter.__iterate(function (v, k) {\n\t if ((!depth || currentDepth < depth) && isIterable(v)) {\n\t flatDeep(v, currentDepth + 1);\n\t } else if (fn(v, useKeys ? k : iterations++, this$0) === false) {\n\t stopped = true;\n\t }\n\t return !stopped;\n\t }, reverse);\n\t }\n\t flatDeep(iterable, 0);\n\t return iterations;\n\t };\n\t flatSequence.__iteratorUncached = function (type, reverse) {\n\t var iterator = iterable.__iterator(type, reverse);\n\t var stack = [];\n\t var iterations = 0;\n\t return new Iterator(function () {\n\t while (iterator) {\n\t var step = iterator.next();\n\t if (step.done !== false) {\n\t iterator = stack.pop();\n\t continue;\n\t }\n\t var v = step.value;\n\t if (type === ITERATE_ENTRIES) {\n\t v = v[1];\n\t }\n\t if ((!depth || stack.length < depth) && isIterable(v)) {\n\t stack.push(iterator);\n\t iterator = v.__iterator(type, reverse);\n\t } else {\n\t return useKeys ? step : iteratorValue(type, iterations++, v, step);\n\t }\n\t }\n\t return iteratorDone();\n\t });\n\t };\n\t return flatSequence;\n\t }\n\t\n\t function flatMapFactory(iterable, mapper, context) {\n\t var coerce = iterableClass(iterable);\n\t return iterable.toSeq().map(function (v, k) {\n\t return coerce(mapper.call(context, v, k, iterable));\n\t }).flatten(true);\n\t }\n\t\n\t function interposeFactory(iterable, separator) {\n\t var interposedSequence = makeSequence(iterable);\n\t interposedSequence.size = iterable.size && iterable.size * 2 - 1;\n\t interposedSequence.__iterateUncached = function (fn, reverse) {\n\t var this$0 = this;\n\t var iterations = 0;\n\t iterable.__iterate(function (v, k) {\n\t return (!iterations || fn(separator, iterations++, this$0) !== false) && fn(v, iterations++, this$0) !== false;\n\t }, reverse);\n\t return iterations;\n\t };\n\t interposedSequence.__iteratorUncached = function (type, reverse) {\n\t var iterator = iterable.__iterator(ITERATE_VALUES, reverse);\n\t var iterations = 0;\n\t var step;\n\t return new Iterator(function () {\n\t if (!step || iterations % 2) {\n\t step = iterator.next();\n\t if (step.done) {\n\t return step;\n\t }\n\t }\n\t return iterations % 2 ? iteratorValue(type, iterations++, separator) : iteratorValue(type, iterations++, step.value, step);\n\t });\n\t };\n\t return interposedSequence;\n\t }\n\t\n\t function sortFactory(iterable, comparator, mapper) {\n\t if (!comparator) {\n\t comparator = defaultComparator;\n\t }\n\t var isKeyedIterable = isKeyed(iterable);\n\t var index = 0;\n\t var entries = iterable.toSeq().map(function (v, k) {\n\t return [k, v, index++, mapper ? mapper(v, k, iterable) : v];\n\t }).toArray();\n\t entries.sort(function (a, b) {\n\t return comparator(a[3], b[3]) || a[2] - b[2];\n\t }).forEach(isKeyedIterable ? function (v, i) {\n\t entries[i].length = 2;\n\t } : function (v, i) {\n\t entries[i] = v[1];\n\t });\n\t return isKeyedIterable ? KeyedSeq(entries) : isIndexed(iterable) ? IndexedSeq(entries) : SetSeq(entries);\n\t }\n\t\n\t function maxFactory(iterable, comparator, mapper) {\n\t if (!comparator) {\n\t comparator = defaultComparator;\n\t }\n\t if (mapper) {\n\t var entry = iterable.toSeq().map(function (v, k) {\n\t return [v, mapper(v, k, iterable)];\n\t }).reduce(function (a, b) {\n\t return maxCompare(comparator, a[1], b[1]) ? b : a;\n\t });\n\t return entry && entry[0];\n\t } else {\n\t return iterable.reduce(function (a, b) {\n\t return maxCompare(comparator, a, b) ? b : a;\n\t });\n\t }\n\t }\n\t\n\t function maxCompare(comparator, a, b) {\n\t var comp = comparator(b, a);\n\t // b is considered the new max if the comparator declares them equal, but\n\t // they are not equal and b is in fact a nullish value.\n\t return comp === 0 && b !== a && (b === undefined || b === null || b !== b) || comp > 0;\n\t }\n\t\n\t function zipWithFactory(keyIter, zipper, iters) {\n\t var zipSequence = makeSequence(keyIter);\n\t zipSequence.size = new ArraySeq(iters).map(function (i) {\n\t return i.size;\n\t }).min();\n\t // Note: this a generic base implementation of __iterate in terms of\n\t // __iterator which may be more generically useful in the future.\n\t zipSequence.__iterate = function (fn, reverse) {\n\t /* generic:\n\t var iterator = this.__iterator(ITERATE_ENTRIES, reverse);\n\t var step;\n\t var iterations = 0;\n\t while (!(step = iterator.next()).done) {\n\t iterations++;\n\t if (fn(step.value[1], step.value[0], this) === false) {\n\t break;\n\t }\n\t }\n\t return iterations;\n\t */\n\t // indexed:\n\t var iterator = this.__iterator(ITERATE_VALUES, reverse);\n\t var step;\n\t var iterations = 0;\n\t while (!(step = iterator.next()).done) {\n\t if (fn(step.value, iterations++, this) === false) {\n\t break;\n\t }\n\t }\n\t return iterations;\n\t };\n\t zipSequence.__iteratorUncached = function (type, reverse) {\n\t var iterators = iters.map(function (i) {\n\t return i = Iterable(i), getIterator(reverse ? i.reverse() : i);\n\t });\n\t var iterations = 0;\n\t var isDone = false;\n\t return new Iterator(function () {\n\t var steps;\n\t if (!isDone) {\n\t steps = iterators.map(function (i) {\n\t return i.next();\n\t });\n\t isDone = steps.some(function (s) {\n\t return s.done;\n\t });\n\t }\n\t if (isDone) {\n\t return iteratorDone();\n\t }\n\t return iteratorValue(type, iterations++, zipper.apply(null, steps.map(function (s) {\n\t return s.value;\n\t })));\n\t });\n\t };\n\t return zipSequence;\n\t }\n\t\n\t // #pragma Helper Functions\n\t\n\t function reify(iter, seq) {\n\t return isSeq(iter) ? seq : iter.constructor(seq);\n\t }\n\t\n\t function validateEntry(entry) {\n\t if (entry !== Object(entry)) {\n\t throw new TypeError('Expected [K, V] tuple: ' + entry);\n\t }\n\t }\n\t\n\t function resolveSize(iter) {\n\t assertNotInfinite(iter.size);\n\t return ensureSize(iter);\n\t }\n\t\n\t function iterableClass(iterable) {\n\t return isKeyed(iterable) ? KeyedIterable : isIndexed(iterable) ? IndexedIterable : SetIterable;\n\t }\n\t\n\t function makeSequence(iterable) {\n\t return Object.create((isKeyed(iterable) ? KeyedSeq : isIndexed(iterable) ? IndexedSeq : SetSeq).prototype);\n\t }\n\t\n\t function cacheResultThrough() {\n\t if (this._iter.cacheResult) {\n\t this._iter.cacheResult();\n\t this.size = this._iter.size;\n\t return this;\n\t } else {\n\t return Seq.prototype.cacheResult.call(this);\n\t }\n\t }\n\t\n\t function defaultComparator(a, b) {\n\t return a > b ? 1 : a < b ? -1 : 0;\n\t }\n\t\n\t function forceIterator(keyPath) {\n\t var iter = getIterator(keyPath);\n\t if (!iter) {\n\t // Array might not be iterable in this environment, so we need a fallback\n\t // to our wrapped type.\n\t if (!isArrayLike(keyPath)) {\n\t throw new TypeError('Expected iterable or array-like: ' + keyPath);\n\t }\n\t iter = getIterator(Iterable(keyPath));\n\t }\n\t return iter;\n\t }\n\t\n\t createClass(Record, KeyedCollection);\n\t\n\t function Record(defaultValues, name) {\n\t var hasInitialized;\n\t\n\t var RecordType = function Record(values) {\n\t if (values instanceof RecordType) {\n\t return values;\n\t }\n\t if (!(this instanceof RecordType)) {\n\t return new RecordType(values);\n\t }\n\t if (!hasInitialized) {\n\t hasInitialized = true;\n\t var keys = Object.keys(defaultValues);\n\t setProps(RecordTypePrototype, keys);\n\t RecordTypePrototype.size = keys.length;\n\t RecordTypePrototype._name = name;\n\t RecordTypePrototype._keys = keys;\n\t RecordTypePrototype._defaultValues = defaultValues;\n\t }\n\t this._map = Map(values);\n\t };\n\t\n\t var RecordTypePrototype = RecordType.prototype = Object.create(RecordPrototype);\n\t RecordTypePrototype.constructor = RecordType;\n\t\n\t return RecordType;\n\t }\n\t\n\t Record.prototype.toString = function () {\n\t return this.__toString(recordName(this) + ' {', '}');\n\t };\n\t\n\t // @pragma Access\n\t\n\t Record.prototype.has = function (k) {\n\t return this._defaultValues.hasOwnProperty(k);\n\t };\n\t\n\t Record.prototype.get = function (k, notSetValue) {\n\t if (!this.has(k)) {\n\t return notSetValue;\n\t }\n\t var defaultVal = this._defaultValues[k];\n\t return this._map ? this._map.get(k, defaultVal) : defaultVal;\n\t };\n\t\n\t // @pragma Modification\n\t\n\t Record.prototype.clear = function () {\n\t if (this.__ownerID) {\n\t this._map && this._map.clear();\n\t return this;\n\t }\n\t var RecordType = this.constructor;\n\t return RecordType._empty || (RecordType._empty = makeRecord(this, emptyMap()));\n\t };\n\t\n\t Record.prototype.set = function (k, v) {\n\t if (!this.has(k)) {\n\t throw new Error('Cannot set unknown key \"' + k + '\" on ' + recordName(this));\n\t }\n\t if (this._map && !this._map.has(k)) {\n\t var defaultVal = this._defaultValues[k];\n\t if (v === defaultVal) {\n\t return this;\n\t }\n\t }\n\t var newMap = this._map && this._map.set(k, v);\n\t if (this.__ownerID || newMap === this._map) {\n\t return this;\n\t }\n\t return makeRecord(this, newMap);\n\t };\n\t\n\t Record.prototype.remove = function (k) {\n\t if (!this.has(k)) {\n\t return this;\n\t }\n\t var newMap = this._map && this._map.remove(k);\n\t if (this.__ownerID || newMap === this._map) {\n\t return this;\n\t }\n\t return makeRecord(this, newMap);\n\t };\n\t\n\t Record.prototype.wasAltered = function () {\n\t return this._map.wasAltered();\n\t };\n\t\n\t Record.prototype.__iterator = function (type, reverse) {\n\t var this$0 = this;\n\t return KeyedIterable(this._defaultValues).map(function (_, k) {\n\t return this$0.get(k);\n\t }).__iterator(type, reverse);\n\t };\n\t\n\t Record.prototype.__iterate = function (fn, reverse) {\n\t var this$0 = this;\n\t return KeyedIterable(this._defaultValues).map(function (_, k) {\n\t return this$0.get(k);\n\t }).__iterate(fn, reverse);\n\t };\n\t\n\t Record.prototype.__ensureOwner = function (ownerID) {\n\t if (ownerID === this.__ownerID) {\n\t return this;\n\t }\n\t var newMap = this._map && this._map.__ensureOwner(ownerID);\n\t if (!ownerID) {\n\t this.__ownerID = ownerID;\n\t this._map = newMap;\n\t return this;\n\t }\n\t return makeRecord(this, newMap, ownerID);\n\t };\n\t\n\t var RecordPrototype = Record.prototype;\n\t RecordPrototype[DELETE] = RecordPrototype.remove;\n\t RecordPrototype.deleteIn = RecordPrototype.removeIn = MapPrototype.removeIn;\n\t RecordPrototype.merge = MapPrototype.merge;\n\t RecordPrototype.mergeWith = MapPrototype.mergeWith;\n\t RecordPrototype.mergeIn = MapPrototype.mergeIn;\n\t RecordPrototype.mergeDeep = MapPrototype.mergeDeep;\n\t RecordPrototype.mergeDeepWith = MapPrototype.mergeDeepWith;\n\t RecordPrototype.mergeDeepIn = MapPrototype.mergeDeepIn;\n\t RecordPrototype.setIn = MapPrototype.setIn;\n\t RecordPrototype.update = MapPrototype.update;\n\t RecordPrototype.updateIn = MapPrototype.updateIn;\n\t RecordPrototype.withMutations = MapPrototype.withMutations;\n\t RecordPrototype.asMutable = MapPrototype.asMutable;\n\t RecordPrototype.asImmutable = MapPrototype.asImmutable;\n\t\n\t function makeRecord(likeRecord, map, ownerID) {\n\t var record = Object.create(Object.getPrototypeOf(likeRecord));\n\t record._map = map;\n\t record.__ownerID = ownerID;\n\t return record;\n\t }\n\t\n\t function recordName(record) {\n\t return record._name || record.constructor.name || 'Record';\n\t }\n\t\n\t function setProps(prototype, names) {\n\t try {\n\t names.forEach(setProp.bind(undefined, prototype));\n\t } catch (error) {\n\t // Object.defineProperty failed. Probably IE8.\n\t }\n\t }\n\t\n\t function setProp(prototype, name) {\n\t Object.defineProperty(prototype, name, {\n\t get: function get() {\n\t return this.get(name);\n\t },\n\t set: function set(value) {\n\t invariant(this.__ownerID, 'Cannot set on an immutable record.');\n\t this.set(name, value);\n\t }\n\t });\n\t }\n\t\n\t createClass(Set, SetCollection);\n\t\n\t // @pragma Construction\n\t\n\t function Set(value) {\n\t return value === null || value === undefined ? emptySet() : isSet(value) && !isOrdered(value) ? value : emptySet().withMutations(function (set) {\n\t var iter = SetIterable(value);\n\t assertNotInfinite(iter.size);\n\t iter.forEach(function (v) {\n\t return set.add(v);\n\t });\n\t });\n\t }\n\t\n\t Set.of = function () /*...values*/{\n\t return this(arguments);\n\t };\n\t\n\t Set.fromKeys = function (value) {\n\t return this(KeyedIterable(value).keySeq());\n\t };\n\t\n\t Set.prototype.toString = function () {\n\t return this.__toString('Set {', '}');\n\t };\n\t\n\t // @pragma Access\n\t\n\t Set.prototype.has = function (value) {\n\t return this._map.has(value);\n\t };\n\t\n\t // @pragma Modification\n\t\n\t Set.prototype.add = function (value) {\n\t return updateSet(this, this._map.set(value, true));\n\t };\n\t\n\t Set.prototype.remove = function (value) {\n\t return updateSet(this, this._map.remove(value));\n\t };\n\t\n\t Set.prototype.clear = function () {\n\t return updateSet(this, this._map.clear());\n\t };\n\t\n\t // @pragma Composition\n\t\n\t Set.prototype.union = function () {\n\t var iters = SLICE$0.call(arguments, 0);\n\t iters = iters.filter(function (x) {\n\t return x.size !== 0;\n\t });\n\t if (iters.length === 0) {\n\t return this;\n\t }\n\t if (this.size === 0 && !this.__ownerID && iters.length === 1) {\n\t return this.constructor(iters[0]);\n\t }\n\t return this.withMutations(function (set) {\n\t for (var ii = 0; ii < iters.length; ii++) {\n\t SetIterable(iters[ii]).forEach(function (value) {\n\t return set.add(value);\n\t });\n\t }\n\t });\n\t };\n\t\n\t Set.prototype.intersect = function () {\n\t var iters = SLICE$0.call(arguments, 0);\n\t if (iters.length === 0) {\n\t return this;\n\t }\n\t iters = iters.map(function (iter) {\n\t return SetIterable(iter);\n\t });\n\t var originalSet = this;\n\t return this.withMutations(function (set) {\n\t originalSet.forEach(function (value) {\n\t if (!iters.every(function (iter) {\n\t return iter.includes(value);\n\t })) {\n\t set.remove(value);\n\t }\n\t });\n\t });\n\t };\n\t\n\t Set.prototype.subtract = function () {\n\t var iters = SLICE$0.call(arguments, 0);\n\t if (iters.length === 0) {\n\t return this;\n\t }\n\t iters = iters.map(function (iter) {\n\t return SetIterable(iter);\n\t });\n\t var originalSet = this;\n\t return this.withMutations(function (set) {\n\t originalSet.forEach(function (value) {\n\t if (iters.some(function (iter) {\n\t return iter.includes(value);\n\t })) {\n\t set.remove(value);\n\t }\n\t });\n\t });\n\t };\n\t\n\t Set.prototype.merge = function () {\n\t return this.union.apply(this, arguments);\n\t };\n\t\n\t Set.prototype.mergeWith = function (merger) {\n\t var iters = SLICE$0.call(arguments, 1);\n\t return this.union.apply(this, iters);\n\t };\n\t\n\t Set.prototype.sort = function (comparator) {\n\t // Late binding\n\t return OrderedSet(sortFactory(this, comparator));\n\t };\n\t\n\t Set.prototype.sortBy = function (mapper, comparator) {\n\t // Late binding\n\t return OrderedSet(sortFactory(this, comparator, mapper));\n\t };\n\t\n\t Set.prototype.wasAltered = function () {\n\t return this._map.wasAltered();\n\t };\n\t\n\t Set.prototype.__iterate = function (fn, reverse) {\n\t var this$0 = this;\n\t return this._map.__iterate(function (_, k) {\n\t return fn(k, k, this$0);\n\t }, reverse);\n\t };\n\t\n\t Set.prototype.__iterator = function (type, reverse) {\n\t return this._map.map(function (_, k) {\n\t return k;\n\t }).__iterator(type, reverse);\n\t };\n\t\n\t Set.prototype.__ensureOwner = function (ownerID) {\n\t if (ownerID === this.__ownerID) {\n\t return this;\n\t }\n\t var newMap = this._map.__ensureOwner(ownerID);\n\t if (!ownerID) {\n\t this.__ownerID = ownerID;\n\t this._map = newMap;\n\t return this;\n\t }\n\t return this.__make(newMap, ownerID);\n\t };\n\t\n\t function isSet(maybeSet) {\n\t return !!(maybeSet && maybeSet[IS_SET_SENTINEL]);\n\t }\n\t\n\t Set.isSet = isSet;\n\t\n\t var IS_SET_SENTINEL = '@@__IMMUTABLE_SET__@@';\n\t\n\t var SetPrototype = Set.prototype;\n\t SetPrototype[IS_SET_SENTINEL] = true;\n\t SetPrototype[DELETE] = SetPrototype.remove;\n\t SetPrototype.mergeDeep = SetPrototype.merge;\n\t SetPrototype.mergeDeepWith = SetPrototype.mergeWith;\n\t SetPrototype.withMutations = MapPrototype.withMutations;\n\t SetPrototype.asMutable = MapPrototype.asMutable;\n\t SetPrototype.asImmutable = MapPrototype.asImmutable;\n\t\n\t SetPrototype.__empty = emptySet;\n\t SetPrototype.__make = makeSet;\n\t\n\t function updateSet(set, newMap) {\n\t if (set.__ownerID) {\n\t set.size = newMap.size;\n\t set._map = newMap;\n\t return set;\n\t }\n\t return newMap === set._map ? set : newMap.size === 0 ? set.__empty() : set.__make(newMap);\n\t }\n\t\n\t function makeSet(map, ownerID) {\n\t var set = Object.create(SetPrototype);\n\t set.size = map ? map.size : 0;\n\t set._map = map;\n\t set.__ownerID = ownerID;\n\t return set;\n\t }\n\t\n\t var EMPTY_SET;\n\t function emptySet() {\n\t return EMPTY_SET || (EMPTY_SET = makeSet(emptyMap()));\n\t }\n\t\n\t createClass(OrderedSet, Set);\n\t\n\t // @pragma Construction\n\t\n\t function OrderedSet(value) {\n\t return value === null || value === undefined ? emptyOrderedSet() : isOrderedSet(value) ? value : emptyOrderedSet().withMutations(function (set) {\n\t var iter = SetIterable(value);\n\t assertNotInfinite(iter.size);\n\t iter.forEach(function (v) {\n\t return set.add(v);\n\t });\n\t });\n\t }\n\t\n\t OrderedSet.of = function () /*...values*/{\n\t return this(arguments);\n\t };\n\t\n\t OrderedSet.fromKeys = function (value) {\n\t return this(KeyedIterable(value).keySeq());\n\t };\n\t\n\t OrderedSet.prototype.toString = function () {\n\t return this.__toString('OrderedSet {', '}');\n\t };\n\t\n\t function isOrderedSet(maybeOrderedSet) {\n\t return isSet(maybeOrderedSet) && isOrdered(maybeOrderedSet);\n\t }\n\t\n\t OrderedSet.isOrderedSet = isOrderedSet;\n\t\n\t var OrderedSetPrototype = OrderedSet.prototype;\n\t OrderedSetPrototype[IS_ORDERED_SENTINEL] = true;\n\t\n\t OrderedSetPrototype.__empty = emptyOrderedSet;\n\t OrderedSetPrototype.__make = makeOrderedSet;\n\t\n\t function makeOrderedSet(map, ownerID) {\n\t var set = Object.create(OrderedSetPrototype);\n\t set.size = map ? map.size : 0;\n\t set._map = map;\n\t set.__ownerID = ownerID;\n\t return set;\n\t }\n\t\n\t var EMPTY_ORDERED_SET;\n\t function emptyOrderedSet() {\n\t return EMPTY_ORDERED_SET || (EMPTY_ORDERED_SET = makeOrderedSet(emptyOrderedMap()));\n\t }\n\t\n\t createClass(Stack, IndexedCollection);\n\t\n\t // @pragma Construction\n\t\n\t function Stack(value) {\n\t return value === null || value === undefined ? emptyStack() : isStack(value) ? value : emptyStack().unshiftAll(value);\n\t }\n\t\n\t Stack.of = function () /*...values*/{\n\t return this(arguments);\n\t };\n\t\n\t Stack.prototype.toString = function () {\n\t return this.__toString('Stack [', ']');\n\t };\n\t\n\t // @pragma Access\n\t\n\t Stack.prototype.get = function (index, notSetValue) {\n\t var head = this._head;\n\t index = wrapIndex(this, index);\n\t while (head && index--) {\n\t head = head.next;\n\t }\n\t return head ? head.value : notSetValue;\n\t };\n\t\n\t Stack.prototype.peek = function () {\n\t return this._head && this._head.value;\n\t };\n\t\n\t // @pragma Modification\n\t\n\t Stack.prototype.push = function () /*...values*/{\n\t if (arguments.length === 0) {\n\t return this;\n\t }\n\t var newSize = this.size + arguments.length;\n\t var head = this._head;\n\t for (var ii = arguments.length - 1; ii >= 0; ii--) {\n\t head = {\n\t value: arguments[ii],\n\t next: head\n\t };\n\t }\n\t if (this.__ownerID) {\n\t this.size = newSize;\n\t this._head = head;\n\t this.__hash = undefined;\n\t this.__altered = true;\n\t return this;\n\t }\n\t return makeStack(newSize, head);\n\t };\n\t\n\t Stack.prototype.pushAll = function (iter) {\n\t iter = IndexedIterable(iter);\n\t if (iter.size === 0) {\n\t return this;\n\t }\n\t assertNotInfinite(iter.size);\n\t var newSize = this.size;\n\t var head = this._head;\n\t iter.reverse().forEach(function (value) {\n\t newSize++;\n\t head = {\n\t value: value,\n\t next: head\n\t };\n\t });\n\t if (this.__ownerID) {\n\t this.size = newSize;\n\t this._head = head;\n\t this.__hash = undefined;\n\t this.__altered = true;\n\t return this;\n\t }\n\t return makeStack(newSize, head);\n\t };\n\t\n\t Stack.prototype.pop = function () {\n\t return this.slice(1);\n\t };\n\t\n\t Stack.prototype.unshift = function () /*...values*/{\n\t return this.push.apply(this, arguments);\n\t };\n\t\n\t Stack.prototype.unshiftAll = function (iter) {\n\t return this.pushAll(iter);\n\t };\n\t\n\t Stack.prototype.shift = function () {\n\t return this.pop.apply(this, arguments);\n\t };\n\t\n\t Stack.prototype.clear = function () {\n\t if (this.size === 0) {\n\t return this;\n\t }\n\t if (this.__ownerID) {\n\t this.size = 0;\n\t this._head = undefined;\n\t this.__hash = undefined;\n\t this.__altered = true;\n\t return this;\n\t }\n\t return emptyStack();\n\t };\n\t\n\t Stack.prototype.slice = function (begin, end) {\n\t if (wholeSlice(begin, end, this.size)) {\n\t return this;\n\t }\n\t var resolvedBegin = resolveBegin(begin, this.size);\n\t var resolvedEnd = resolveEnd(end, this.size);\n\t if (resolvedEnd !== this.size) {\n\t // super.slice(begin, end);\n\t return IndexedCollection.prototype.slice.call(this, begin, end);\n\t }\n\t var newSize = this.size - resolvedBegin;\n\t var head = this._head;\n\t while (resolvedBegin--) {\n\t head = head.next;\n\t }\n\t if (this.__ownerID) {\n\t this.size = newSize;\n\t this._head = head;\n\t this.__hash = undefined;\n\t this.__altered = true;\n\t return this;\n\t }\n\t return makeStack(newSize, head);\n\t };\n\t\n\t // @pragma Mutability\n\t\n\t Stack.prototype.__ensureOwner = function (ownerID) {\n\t if (ownerID === this.__ownerID) {\n\t return this;\n\t }\n\t if (!ownerID) {\n\t this.__ownerID = ownerID;\n\t this.__altered = false;\n\t return this;\n\t }\n\t return makeStack(this.size, this._head, ownerID, this.__hash);\n\t };\n\t\n\t // @pragma Iteration\n\t\n\t Stack.prototype.__iterate = function (fn, reverse) {\n\t if (reverse) {\n\t return this.reverse().__iterate(fn);\n\t }\n\t var iterations = 0;\n\t var node = this._head;\n\t while (node) {\n\t if (fn(node.value, iterations++, this) === false) {\n\t break;\n\t }\n\t node = node.next;\n\t }\n\t return iterations;\n\t };\n\t\n\t Stack.prototype.__iterator = function (type, reverse) {\n\t if (reverse) {\n\t return this.reverse().__iterator(type);\n\t }\n\t var iterations = 0;\n\t var node = this._head;\n\t return new Iterator(function () {\n\t if (node) {\n\t var value = node.value;\n\t node = node.next;\n\t return iteratorValue(type, iterations++, value);\n\t }\n\t return iteratorDone();\n\t });\n\t };\n\t\n\t function isStack(maybeStack) {\n\t return !!(maybeStack && maybeStack[IS_STACK_SENTINEL]);\n\t }\n\t\n\t Stack.isStack = isStack;\n\t\n\t var IS_STACK_SENTINEL = '@@__IMMUTABLE_STACK__@@';\n\t\n\t var StackPrototype = Stack.prototype;\n\t StackPrototype[IS_STACK_SENTINEL] = true;\n\t StackPrototype.withMutations = MapPrototype.withMutations;\n\t StackPrototype.asMutable = MapPrototype.asMutable;\n\t StackPrototype.asImmutable = MapPrototype.asImmutable;\n\t StackPrototype.wasAltered = MapPrototype.wasAltered;\n\t\n\t function makeStack(size, head, ownerID, hash) {\n\t var map = Object.create(StackPrototype);\n\t map.size = size;\n\t map._head = head;\n\t map.__ownerID = ownerID;\n\t map.__hash = hash;\n\t map.__altered = false;\n\t return map;\n\t }\n\t\n\t var EMPTY_STACK;\n\t function emptyStack() {\n\t return EMPTY_STACK || (EMPTY_STACK = makeStack(0));\n\t }\n\t\n\t /**\n\t * Contributes additional methods to a constructor\n\t */\n\t function mixin(ctor, methods) {\n\t var keyCopier = function keyCopier(key) {\n\t ctor.prototype[key] = methods[key];\n\t };\n\t Object.keys(methods).forEach(keyCopier);\n\t Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(methods).forEach(keyCopier);\n\t return ctor;\n\t }\n\t\n\t Iterable.Iterator = Iterator;\n\t\n\t mixin(Iterable, {\n\t\n\t // ### Conversion to other types\n\t\n\t toArray: function toArray() {\n\t assertNotInfinite(this.size);\n\t var array = new Array(this.size || 0);\n\t this.valueSeq().__iterate(function (v, i) {\n\t array[i] = v;\n\t });\n\t return array;\n\t },\n\t\n\t toIndexedSeq: function toIndexedSeq() {\n\t return new ToIndexedSequence(this);\n\t },\n\t\n\t toJS: function toJS() {\n\t return this.toSeq().map(function (value) {\n\t return value && typeof value.toJS === 'function' ? value.toJS() : value;\n\t }).__toJS();\n\t },\n\t\n\t toJSON: function toJSON() {\n\t return this.toSeq().map(function (value) {\n\t return value && typeof value.toJSON === 'function' ? value.toJSON() : value;\n\t }).__toJS();\n\t },\n\t\n\t toKeyedSeq: function toKeyedSeq() {\n\t return new ToKeyedSequence(this, true);\n\t },\n\t\n\t toMap: function toMap() {\n\t // Use Late Binding here to solve the circular dependency.\n\t return Map(this.toKeyedSeq());\n\t },\n\t\n\t toObject: function toObject() {\n\t assertNotInfinite(this.size);\n\t var object = {};\n\t this.__iterate(function (v, k) {\n\t object[k] = v;\n\t });\n\t return object;\n\t },\n\t\n\t toOrderedMap: function toOrderedMap() {\n\t // Use Late Binding here to solve the circular dependency.\n\t return OrderedMap(this.toKeyedSeq());\n\t },\n\t\n\t toOrderedSet: function toOrderedSet() {\n\t // Use Late Binding here to solve the circular dependency.\n\t return OrderedSet(isKeyed(this) ? this.valueSeq() : this);\n\t },\n\t\n\t toSet: function toSet() {\n\t // Use Late Binding here to solve the circular dependency.\n\t return Set(isKeyed(this) ? this.valueSeq() : this);\n\t },\n\t\n\t toSetSeq: function toSetSeq() {\n\t return new ToSetSequence(this);\n\t },\n\t\n\t toSeq: function toSeq() {\n\t return isIndexed(this) ? this.toIndexedSeq() : isKeyed(this) ? this.toKeyedSeq() : this.toSetSeq();\n\t },\n\t\n\t toStack: function toStack() {\n\t // Use Late Binding here to solve the circular dependency.\n\t return Stack(isKeyed(this) ? this.valueSeq() : this);\n\t },\n\t\n\t toList: function toList() {\n\t // Use Late Binding here to solve the circular dependency.\n\t return List(isKeyed(this) ? this.valueSeq() : this);\n\t },\n\t\n\t // ### Common JavaScript methods and properties\n\t\n\t toString: function toString() {\n\t return '[Iterable]';\n\t },\n\t\n\t __toString: function __toString(head, tail) {\n\t if (this.size === 0) {\n\t return head + tail;\n\t }\n\t return head + ' ' + this.toSeq().map(this.__toStringMapper).join(', ') + ' ' + tail;\n\t },\n\t\n\t // ### ES6 Collection methods (ES6 Array and Map)\n\t\n\t concat: function concat() {\n\t var values = SLICE$0.call(arguments, 0);\n\t return reify(this, concatFactory(this, values));\n\t },\n\t\n\t includes: function includes(searchValue) {\n\t return this.some(function (value) {\n\t return is(value, searchValue);\n\t });\n\t },\n\t\n\t entries: function entries() {\n\t return this.__iterator(ITERATE_ENTRIES);\n\t },\n\t\n\t every: function every(predicate, context) {\n\t assertNotInfinite(this.size);\n\t var returnValue = true;\n\t this.__iterate(function (v, k, c) {\n\t if (!predicate.call(context, v, k, c)) {\n\t returnValue = false;\n\t return false;\n\t }\n\t });\n\t return returnValue;\n\t },\n\t\n\t filter: function filter(predicate, context) {\n\t return reify(this, filterFactory(this, predicate, context, true));\n\t },\n\t\n\t find: function find(predicate, context, notSetValue) {\n\t var entry = this.findEntry(predicate, context);\n\t return entry ? entry[1] : notSetValue;\n\t },\n\t\n\t forEach: function forEach(sideEffect, context) {\n\t assertNotInfinite(this.size);\n\t return this.__iterate(context ? sideEffect.bind(context) : sideEffect);\n\t },\n\t\n\t join: function join(separator) {\n\t assertNotInfinite(this.size);\n\t separator = separator !== undefined ? '' + separator : ',';\n\t var joined = '';\n\t var isFirst = true;\n\t this.__iterate(function (v) {\n\t isFirst ? isFirst = false : joined += separator;\n\t joined += v !== null && v !== undefined ? v.toString() : '';\n\t });\n\t return joined;\n\t },\n\t\n\t keys: function keys() {\n\t return this.__iterator(ITERATE_KEYS);\n\t },\n\t\n\t map: function map(mapper, context) {\n\t return reify(this, mapFactory(this, mapper, context));\n\t },\n\t\n\t reduce: function reduce(reducer, initialReduction, context) {\n\t assertNotInfinite(this.size);\n\t var reduction;\n\t var useFirst;\n\t if (arguments.length < 2) {\n\t useFirst = true;\n\t } else {\n\t reduction = initialReduction;\n\t }\n\t this.__iterate(function (v, k, c) {\n\t if (useFirst) {\n\t useFirst = false;\n\t reduction = v;\n\t } else {\n\t reduction = reducer.call(context, reduction, v, k, c);\n\t }\n\t });\n\t return reduction;\n\t },\n\t\n\t reduceRight: function reduceRight(reducer, initialReduction, context) {\n\t var reversed = this.toKeyedSeq().reverse();\n\t return reversed.reduce.apply(reversed, arguments);\n\t },\n\t\n\t reverse: function reverse() {\n\t return reify(this, reverseFactory(this, true));\n\t },\n\t\n\t slice: function slice(begin, end) {\n\t return reify(this, sliceFactory(this, begin, end, true));\n\t },\n\t\n\t some: function some(predicate, context) {\n\t return !this.every(not(predicate), context);\n\t },\n\t\n\t sort: function sort(comparator) {\n\t return reify(this, sortFactory(this, comparator));\n\t },\n\t\n\t values: function values() {\n\t return this.__iterator(ITERATE_VALUES);\n\t },\n\t\n\t // ### More sequential methods\n\t\n\t butLast: function butLast() {\n\t return this.slice(0, -1);\n\t },\n\t\n\t isEmpty: function isEmpty() {\n\t return this.size !== undefined ? this.size === 0 : !this.some(function () {\n\t return true;\n\t });\n\t },\n\t\n\t count: function count(predicate, context) {\n\t return ensureSize(predicate ? this.toSeq().filter(predicate, context) : this);\n\t },\n\t\n\t countBy: function countBy(grouper, context) {\n\t return countByFactory(this, grouper, context);\n\t },\n\t\n\t equals: function equals(other) {\n\t return deepEqual(this, other);\n\t },\n\t\n\t entrySeq: function entrySeq() {\n\t var iterable = this;\n\t if (iterable._cache) {\n\t // We cache as an entries array, so we can just return the cache!\n\t return new ArraySeq(iterable._cache);\n\t }\n\t var entriesSequence = iterable.toSeq().map(entryMapper).toIndexedSeq();\n\t entriesSequence.fromEntrySeq = function () {\n\t return iterable.toSeq();\n\t };\n\t return entriesSequence;\n\t },\n\t\n\t filterNot: function filterNot(predicate, context) {\n\t return this.filter(not(predicate), context);\n\t },\n\t\n\t findEntry: function findEntry(predicate, context, notSetValue) {\n\t var found = notSetValue;\n\t this.__iterate(function (v, k, c) {\n\t if (predicate.call(context, v, k, c)) {\n\t found = [k, v];\n\t return false;\n\t }\n\t });\n\t return found;\n\t },\n\t\n\t findKey: function findKey(predicate, context) {\n\t var entry = this.findEntry(predicate, context);\n\t return entry && entry[0];\n\t },\n\t\n\t findLast: function findLast(predicate, context, notSetValue) {\n\t return this.toKeyedSeq().reverse().find(predicate, context, notSetValue);\n\t },\n\t\n\t findLastEntry: function findLastEntry(predicate, context, notSetValue) {\n\t return this.toKeyedSeq().reverse().findEntry(predicate, context, notSetValue);\n\t },\n\t\n\t findLastKey: function findLastKey(predicate, context) {\n\t return this.toKeyedSeq().reverse().findKey(predicate, context);\n\t },\n\t\n\t first: function first() {\n\t return this.find(returnTrue);\n\t },\n\t\n\t flatMap: function flatMap(mapper, context) {\n\t return reify(this, flatMapFactory(this, mapper, context));\n\t },\n\t\n\t flatten: function flatten(depth) {\n\t return reify(this, flattenFactory(this, depth, true));\n\t },\n\t\n\t fromEntrySeq: function fromEntrySeq() {\n\t return new FromEntriesSequence(this);\n\t },\n\t\n\t get: function get(searchKey, notSetValue) {\n\t return this.find(function (_, key) {\n\t return is(key, searchKey);\n\t }, undefined, notSetValue);\n\t },\n\t\n\t getIn: function getIn(searchKeyPath, notSetValue) {\n\t var nested = this;\n\t // Note: in an ES6 environment, we would prefer:\n\t // for (var key of searchKeyPath) {\n\t var iter = forceIterator(searchKeyPath);\n\t var step;\n\t while (!(step = iter.next()).done) {\n\t var key = step.value;\n\t nested = nested && nested.get ? nested.get(key, NOT_SET) : NOT_SET;\n\t if (nested === NOT_SET) {\n\t return notSetValue;\n\t }\n\t }\n\t return nested;\n\t },\n\t\n\t groupBy: function groupBy(grouper, context) {\n\t return groupByFactory(this, grouper, context);\n\t },\n\t\n\t has: function has(searchKey) {\n\t return this.get(searchKey, NOT_SET) !== NOT_SET;\n\t },\n\t\n\t hasIn: function hasIn(searchKeyPath) {\n\t return this.getIn(searchKeyPath, NOT_SET) !== NOT_SET;\n\t },\n\t\n\t isSubset: function isSubset(iter) {\n\t iter = typeof iter.includes === 'function' ? iter : Iterable(iter);\n\t return this.every(function (value) {\n\t return iter.includes(value);\n\t });\n\t },\n\t\n\t isSuperset: function isSuperset(iter) {\n\t iter = typeof iter.isSubset === 'function' ? iter : Iterable(iter);\n\t return iter.isSubset(this);\n\t },\n\t\n\t keyOf: function keyOf(searchValue) {\n\t return this.findKey(function (value) {\n\t return is(value, searchValue);\n\t });\n\t },\n\t\n\t keySeq: function keySeq() {\n\t return this.toSeq().map(keyMapper).toIndexedSeq();\n\t },\n\t\n\t last: function last() {\n\t return this.toSeq().reverse().first();\n\t },\n\t\n\t lastKeyOf: function lastKeyOf(searchValue) {\n\t return this.toKeyedSeq().reverse().keyOf(searchValue);\n\t },\n\t\n\t max: function max(comparator) {\n\t return maxFactory(this, comparator);\n\t },\n\t\n\t maxBy: function maxBy(mapper, comparator) {\n\t return maxFactory(this, comparator, mapper);\n\t },\n\t\n\t min: function min(comparator) {\n\t return maxFactory(this, comparator ? neg(comparator) : defaultNegComparator);\n\t },\n\t\n\t minBy: function minBy(mapper, comparator) {\n\t return maxFactory(this, comparator ? neg(comparator) : defaultNegComparator, mapper);\n\t },\n\t\n\t rest: function rest() {\n\t return this.slice(1);\n\t },\n\t\n\t skip: function skip(amount) {\n\t return this.slice(Math.max(0, amount));\n\t },\n\t\n\t skipLast: function skipLast(amount) {\n\t return reify(this, this.toSeq().reverse().skip(amount).reverse());\n\t },\n\t\n\t skipWhile: function skipWhile(predicate, context) {\n\t return reify(this, skipWhileFactory(this, predicate, context, true));\n\t },\n\t\n\t skipUntil: function skipUntil(predicate, context) {\n\t return this.skipWhile(not(predicate), context);\n\t },\n\t\n\t sortBy: function sortBy(mapper, comparator) {\n\t return reify(this, sortFactory(this, comparator, mapper));\n\t },\n\t\n\t take: function take(amount) {\n\t return this.slice(0, Math.max(0, amount));\n\t },\n\t\n\t takeLast: function takeLast(amount) {\n\t return reify(this, this.toSeq().reverse().take(amount).reverse());\n\t },\n\t\n\t takeWhile: function takeWhile(predicate, context) {\n\t return reify(this, takeWhileFactory(this, predicate, context));\n\t },\n\t\n\t takeUntil: function takeUntil(predicate, context) {\n\t return this.takeWhile(not(predicate), context);\n\t },\n\t\n\t valueSeq: function valueSeq() {\n\t return this.toIndexedSeq();\n\t },\n\t\n\t // ### Hashable Object\n\t\n\t hashCode: function hashCode() {\n\t return this.__hash || (this.__hash = hashIterable(this));\n\t }\n\t\n\t // ### Internal\n\t\n\t // abstract __iterate(fn, reverse)\n\t\n\t // abstract __iterator(type, reverse)\n\t });\n\t\n\t // var IS_ITERABLE_SENTINEL = '@@__IMMUTABLE_ITERABLE__@@';\n\t // var IS_KEYED_SENTINEL = '@@__IMMUTABLE_KEYED__@@';\n\t // var IS_INDEXED_SENTINEL = '@@__IMMUTABLE_INDEXED__@@';\n\t // var IS_ORDERED_SENTINEL = '@@__IMMUTABLE_ORDERED__@@';\n\t\n\t var IterablePrototype = Iterable.prototype;\n\t IterablePrototype[IS_ITERABLE_SENTINEL] = true;\n\t IterablePrototype[ITERATOR_SYMBOL] = IterablePrototype.values;\n\t IterablePrototype.__toJS = IterablePrototype.toArray;\n\t IterablePrototype.__toStringMapper = quoteString;\n\t IterablePrototype.inspect = IterablePrototype.toSource = function () {\n\t return this.toString();\n\t };\n\t IterablePrototype.chain = IterablePrototype.flatMap;\n\t IterablePrototype.contains = IterablePrototype.includes;\n\t\n\t mixin(KeyedIterable, {\n\t\n\t // ### More sequential methods\n\t\n\t flip: function flip() {\n\t return reify(this, flipFactory(this));\n\t },\n\t\n\t mapEntries: function mapEntries(mapper, context) {\n\t var this$0 = this;\n\t var iterations = 0;\n\t return reify(this, this.toSeq().map(function (v, k) {\n\t return mapper.call(context, [k, v], iterations++, this$0);\n\t }).fromEntrySeq());\n\t },\n\t\n\t mapKeys: function mapKeys(mapper, context) {\n\t var this$0 = this;\n\t return reify(this, this.toSeq().flip().map(function (k, v) {\n\t return mapper.call(context, k, v, this$0);\n\t }).flip());\n\t }\n\t\n\t });\n\t\n\t var KeyedIterablePrototype = KeyedIterable.prototype;\n\t KeyedIterablePrototype[IS_KEYED_SENTINEL] = true;\n\t KeyedIterablePrototype[ITERATOR_SYMBOL] = IterablePrototype.entries;\n\t KeyedIterablePrototype.__toJS = IterablePrototype.toObject;\n\t KeyedIterablePrototype.__toStringMapper = function (v, k) {\n\t return JSON.stringify(k) + ': ' + quoteString(v);\n\t };\n\t\n\t mixin(IndexedIterable, {\n\t\n\t // ### Conversion to other types\n\t\n\t toKeyedSeq: function toKeyedSeq() {\n\t return new ToKeyedSequence(this, false);\n\t },\n\t\n\t // ### ES6 Collection methods (ES6 Array and Map)\n\t\n\t filter: function filter(predicate, context) {\n\t return reify(this, filterFactory(this, predicate, context, false));\n\t },\n\t\n\t findIndex: function findIndex(predicate, context) {\n\t var entry = this.findEntry(predicate, context);\n\t return entry ? entry[0] : -1;\n\t },\n\t\n\t indexOf: function indexOf(searchValue) {\n\t var key = this.keyOf(searchValue);\n\t return key === undefined ? -1 : key;\n\t },\n\t\n\t lastIndexOf: function lastIndexOf(searchValue) {\n\t var key = this.lastKeyOf(searchValue);\n\t return key === undefined ? -1 : key;\n\t },\n\t\n\t reverse: function reverse() {\n\t return reify(this, reverseFactory(this, false));\n\t },\n\t\n\t slice: function slice(begin, end) {\n\t return reify(this, sliceFactory(this, begin, end, false));\n\t },\n\t\n\t splice: function splice(index, removeNum /*, ...values*/) {\n\t var numArgs = arguments.length;\n\t removeNum = Math.max(removeNum | 0, 0);\n\t if (numArgs === 0 || numArgs === 2 && !removeNum) {\n\t return this;\n\t }\n\t // If index is negative, it should resolve relative to the size of the\n\t // collection. However size may be expensive to compute if not cached, so\n\t // only call count() if the number is in fact negative.\n\t index = resolveBegin(index, index < 0 ? this.count() : this.size);\n\t var spliced = this.slice(0, index);\n\t return reify(this, numArgs === 1 ? spliced : spliced.concat(arrCopy(arguments, 2), this.slice(index + removeNum)));\n\t },\n\t\n\t // ### More collection methods\n\t\n\t findLastIndex: function findLastIndex(predicate, context) {\n\t var entry = this.findLastEntry(predicate, context);\n\t return entry ? entry[0] : -1;\n\t },\n\t\n\t first: function first() {\n\t return this.get(0);\n\t },\n\t\n\t flatten: function flatten(depth) {\n\t return reify(this, flattenFactory(this, depth, false));\n\t },\n\t\n\t get: function get(index, notSetValue) {\n\t index = wrapIndex(this, index);\n\t return index < 0 || this.size === Infinity || this.size !== undefined && index > this.size ? notSetValue : this.find(function (_, key) {\n\t return key === index;\n\t }, undefined, notSetValue);\n\t },\n\t\n\t has: function has(index) {\n\t index = wrapIndex(this, index);\n\t return index >= 0 && (this.size !== undefined ? this.size === Infinity || index < this.size : this.indexOf(index) !== -1);\n\t },\n\t\n\t interpose: function interpose(separator) {\n\t return reify(this, interposeFactory(this, separator));\n\t },\n\t\n\t interleave: function interleave() /*...iterables*/{\n\t var iterables = [this].concat(arrCopy(arguments));\n\t var zipped = zipWithFactory(this.toSeq(), IndexedSeq.of, iterables);\n\t var interleaved = zipped.flatten(true);\n\t if (zipped.size) {\n\t interleaved.size = zipped.size * iterables.length;\n\t }\n\t return reify(this, interleaved);\n\t },\n\t\n\t keySeq: function keySeq() {\n\t return Range(0, this.size);\n\t },\n\t\n\t last: function last() {\n\t return this.get(-1);\n\t },\n\t\n\t skipWhile: function skipWhile(predicate, context) {\n\t return reify(this, skipWhileFactory(this, predicate, context, false));\n\t },\n\t\n\t zip: function zip() /*, ...iterables */{\n\t var iterables = [this].concat(arrCopy(arguments));\n\t return reify(this, zipWithFactory(this, defaultZipper, iterables));\n\t },\n\t\n\t zipWith: function zipWith(zipper /*, ...iterables */) {\n\t var iterables = arrCopy(arguments);\n\t iterables[0] = this;\n\t return reify(this, zipWithFactory(this, zipper, iterables));\n\t }\n\t\n\t });\n\t\n\t IndexedIterable.prototype[IS_INDEXED_SENTINEL] = true;\n\t IndexedIterable.prototype[IS_ORDERED_SENTINEL] = true;\n\t\n\t mixin(SetIterable, {\n\t\n\t // ### ES6 Collection methods (ES6 Array and Map)\n\t\n\t get: function get(value, notSetValue) {\n\t return this.has(value) ? value : notSetValue;\n\t },\n\t\n\t includes: function includes(value) {\n\t return this.has(value);\n\t },\n\t\n\t // ### More sequential methods\n\t\n\t keySeq: function keySeq() {\n\t return this.valueSeq();\n\t }\n\t\n\t });\n\t\n\t SetIterable.prototype.has = IterablePrototype.includes;\n\t SetIterable.prototype.contains = SetIterable.prototype.includes;\n\t\n\t // Mixin subclasses\n\t\n\t mixin(KeyedSeq, KeyedIterable.prototype);\n\t mixin(IndexedSeq, IndexedIterable.prototype);\n\t mixin(SetSeq, SetIterable.prototype);\n\t\n\t mixin(KeyedCollection, KeyedIterable.prototype);\n\t mixin(IndexedCollection, IndexedIterable.prototype);\n\t mixin(SetCollection, SetIterable.prototype);\n\t\n\t // #pragma Helper functions\n\t\n\t function keyMapper(v, k) {\n\t return k;\n\t }\n\t\n\t function entryMapper(v, k) {\n\t return [k, v];\n\t }\n\t\n\t function not(predicate) {\n\t return function () {\n\t return !predicate.apply(this, arguments);\n\t };\n\t }\n\t\n\t function neg(predicate) {\n\t return function () {\n\t return -predicate.apply(this, arguments);\n\t };\n\t }\n\t\n\t function quoteString(value) {\n\t return typeof value === 'string' ? JSON.stringify(value) : String(value);\n\t }\n\t\n\t function defaultZipper() {\n\t return arrCopy(arguments);\n\t }\n\t\n\t function defaultNegComparator(a, b) {\n\t return a < b ? 1 : a > b ? -1 : 0;\n\t }\n\t\n\t function hashIterable(iterable) {\n\t if (iterable.size === Infinity) {\n\t return 0;\n\t }\n\t var ordered = isOrdered(iterable);\n\t var keyed = isKeyed(iterable);\n\t var h = ordered ? 1 : 0;\n\t var size = iterable.__iterate(keyed ? ordered ? function (v, k) {\n\t h = 31 * h + hashMerge(hash(v), hash(k)) | 0;\n\t } : function (v, k) {\n\t h = h + hashMerge(hash(v), hash(k)) | 0;\n\t } : ordered ? function (v) {\n\t h = 31 * h + hash(v) | 0;\n\t } : function (v) {\n\t h = h + hash(v) | 0;\n\t });\n\t return murmurHashOfSize(size, h);\n\t }\n\t\n\t function murmurHashOfSize(size, h) {\n\t h = imul(h, 0xCC9E2D51);\n\t h = imul(h << 15 | h >>> -15, 0x1B873593);\n\t h = imul(h << 13 | h >>> -13, 5);\n\t h = (h + 0xE6546B64 | 0) ^ size;\n\t h = imul(h ^ h >>> 16, 0x85EBCA6B);\n\t h = imul(h ^ h >>> 13, 0xC2B2AE35);\n\t h = smi(h ^ h >>> 16);\n\t return h;\n\t }\n\t\n\t function hashMerge(a, b) {\n\t return a ^ b + 0x9E3779B9 + (a << 6) + (a >> 2) | 0; // int\n\t }\n\t\n\t var Immutable = {\n\t\n\t Iterable: Iterable,\n\t\n\t Seq: Seq,\n\t Collection: Collection,\n\t Map: Map,\n\t OrderedMap: OrderedMap,\n\t List: List,\n\t Stack: Stack,\n\t Set: Set,\n\t OrderedSet: OrderedSet,\n\t\n\t Record: Record,\n\t Range: Range,\n\t Repeat: Repeat,\n\t\n\t is: is,\n\t fromJS: fromJS\n\t\n\t };\n\t\n\t return Immutable;\n\t});\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\t\n\t/**\n\t * Simple, lightweight module assisting with the detection and context of\n\t * Worker. Helps avoid circular dependencies and allows code to reason about\n\t * whether or not they are in a Worker, even if they never include the main\n\t * `ReactWorker` dependency.\n\t */\n\tvar ExecutionEnvironment = {\n\t\n\t canUseDOM: canUseDOM,\n\t\n\t canUseWorkers: typeof Worker !== 'undefined',\n\t\n\t canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n\t\n\t canUseViewport: canUseDOM && !!window.screen,\n\t\n\t isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\t\n\t};\n\t\n\tmodule.exports = ExecutionEnvironment;\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\texports.__esModule = true;\n\texports.initDatabase = initDatabase;\n\texports.overrideDatabaseOptions = overrideDatabaseOptions;\n\texports.defaultDatabaseConnection = defaultDatabaseConnection;\n\texports.defaultDatabaseConnectionName = defaultDatabaseConnectionName;\n\texports.databaseConnection = databaseConnection;\n\texports.databaseConnectionName = databaseConnectionName;\n\texports.forgotPasswordLink = forgotPasswordLink;\n\texports.signUpLink = signUpLink;\n\texports.setScreen = setScreen;\n\texports.getScreen = getScreen;\n\texports.availableScreens = availableScreens;\n\texports.getInitialScreen = getInitialScreen;\n\texports.hasInitialScreen = hasInitialScreen;\n\texports.databaseConnectionRequiresUsername = databaseConnectionRequiresUsername;\n\texports.databaseUsernameStyle = databaseUsernameStyle;\n\texports.databaseLogInWithEmail = databaseLogInWithEmail;\n\texports.databaseUsernameValue = databaseUsernameValue;\n\texports.authWithUsername = authWithUsername;\n\texports.hasScreen = hasScreen;\n\texports.shouldAutoLogin = shouldAutoLogin;\n\texports.passwordStrengthPolicy = passwordStrengthPolicy;\n\texports.additionalSignUpFields = additionalSignUpFields;\n\texports.mustAcceptTerms = mustAcceptTerms;\n\texports.termsAccepted = termsAccepted;\n\texports.toggleTermsAcceptance = toggleTermsAcceptance;\n\texports.resolveAdditionalSignUpFields = resolveAdditionalSignUpFields;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(8);\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tvar _sync = __webpack_require__(45);\n\t\n\tvar _sync2 = _interopRequireDefault(_sync);\n\t\n\tvar _trim = __webpack_require__(25);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _tenant = __webpack_require__(81);\n\t\n\tvar _enterprise = __webpack_require__(23);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"database\"]),\n\t get = _dataFns.get,\n\t initNS = _dataFns.initNS,\n\t tget = _dataFns.tget,\n\t tset = _dataFns.tset;\n\t\n\tfunction initDatabase(m, options) {\n\t m = initNS(m, _immutable2.default.fromJS(processDatabaseOptions(options)));\n\t m = resolveAdditionalSignUpFields(m);\n\t return m;\n\t}\n\t\n\tfunction assertMaybeBoolean(opts, name) {\n\t var valid = opts[name] === undefined || typeof opts[name] === \"boolean\";\n\t if (!valid) l.warn(opts, 'The `' + name + '` option will be ignored, because it is not a booelan.');\n\t return valid;\n\t}\n\t\n\tfunction assertMaybeEnum(opts, name, a) {\n\t var valid = opts[name] === undefined || a.indexOf(opts[name]) > -1;\n\t if (!valid) l.warn(opts, 'The `' + name + '` option will be ignored, because it is not one of the following allowed values: ' + a.map(function (x) {\n\t return JSON.stringify(x);\n\t }).join(\", \") + '.');\n\t return valid;\n\t}\n\t\n\tfunction assertMaybeString(opts, name) {\n\t var valid = opts[name] === undefined || typeof opts[name] === \"string\" && (0, _trim2.default)(opts[name]).length > 0;\n\t if (!valid) l.warn(opts, 'The `' + name + '` option will be ignored, because it is not a non-empty string.');\n\t return valid;\n\t}\n\t\n\tfunction assertMaybeArray(opts, name) {\n\t var valid = opts[name] === undefined || global.Array.isArray(opts[name]);\n\t if (!valid) l.warn(opts, 'The `' + name + '` option will be ignored, because it is not an array.');\n\t return valid;\n\t}\n\t\n\tfunction processDatabaseOptions(opts) {\n\t var additionalSignUpFields = opts.additionalSignUpFields,\n\t defaultDatabaseConnection = opts.defaultDatabaseConnection,\n\t forgotPasswordLink = opts.forgotPasswordLink,\n\t loginAfterSignUp = opts.loginAfterSignUp,\n\t mustAcceptTerms = opts.mustAcceptTerms,\n\t signUpLink = opts.signUpLink,\n\t usernameStyle = opts.usernameStyle;\n\t\n\t var _processScreenOptions = processScreenOptions(opts),\n\t initialScreen = _processScreenOptions.initialScreen,\n\t screens = _processScreenOptions.screens;\n\t\n\t if (!assertMaybeEnum(opts, \"usernameStyle\", [\"email\", \"username\"])) {\n\t usernameStyle = undefined;\n\t }\n\t\n\t if (!assertMaybeString(opts, \"defaultDatabaseConnection\")) {\n\t defaultDatabaseConnection = undefined;\n\t }\n\t\n\t if (!assertMaybeString(opts, \"forgotPasswordLink\")) {\n\t forgotPasswordLink = undefined;\n\t }\n\t\n\t if (!assertMaybeString(opts, \"signUpLink\")) {\n\t signUpLink = undefined;\n\t }\n\t\n\t if (!assertMaybeBoolean(opts, \"mustAcceptTerms\")) {\n\t mustAcceptTerms = undefined;\n\t }\n\t\n\t if (!assertMaybeArray(opts, \"additionalSignUpFields\")) {\n\t additionalSignUpFields = undefined;\n\t } else if (additionalSignUpFields) {\n\t additionalSignUpFields = additionalSignUpFields.reduce(function (r, x) {\n\t var icon = x.icon,\n\t name = x.name,\n\t options = x.options,\n\t placeholder = x.placeholder,\n\t prefill = x.prefill,\n\t type = x.type,\n\t validator = x.validator;\n\t\n\t var filter = true;\n\t\n\t var reservedNames = [\"email\", \"username\", \"password\"];\n\t if (typeof name != \"string\" || !name.match(/^[a-zA-Z0-9_]+$/) || reservedNames.indexOf(name) > -1) {\n\t l.warn(opts, 'Ignoring an element of `additionalSignUpFields` because it does not contain valid `name` property. Every element of `additionalSignUpFields` must be an object with a `name` property that is a non-empty string consisting of letters, numbers and underscores. The following names are reserved, and therefore, cannot be used: ' + reservedNames.join(\", \") + '.');\n\t filter = false;\n\t }\n\t\n\t if (typeof placeholder != \"string\" || !placeholder) {\n\t l.warn(opts, \"Ignoring an element of `additionalSignUpFields` because it does not contain a valid `placeholder` property. Every element of `additionalSignUpFields` must have a `placeholder` property that is a non-empty string.\");\n\t filter = false;\n\t }\n\t\n\t if (icon != undefined && (typeof icon != \"string\" || !icon)) {\n\t l.warn(opts, \"When provided, the `icon` property of an element of `additionalSignUpFields` must be a non-empty string.\");\n\t icon = undefined;\n\t }\n\t\n\t if (prefill != undefined && (typeof prefill != \"string\" || !prefill) && typeof prefill != \"function\") {\n\t l.warn(opts, \"When provided, the `prefill` property of an element of `additionalSignUpFields` must be a non-empty string or a function.\");\n\t prefill = undefined;\n\t }\n\t\n\t var types = [\"select\", \"text\"];\n\t if (type != undefined && (typeof type != \"string\" || types.indexOf(type) === -1)) {\n\t l.warn(opts, 'When provided, the `type` property of an element of `additionalSignUpFields` must be one of the following strings: \"' + types.join(\"\\\", \\\"\") + '\".');\n\t type = undefined;\n\t }\n\t\n\t if (validator != undefined && type === \"select\") {\n\t l.warn(opts, \"Elements of `additionalSignUpFields` with a \\\"select\\\" `type` cannot specify a `validator` function, all of its `options` are assumed to be valid.\");\n\t validator = undefined;\n\t }\n\t\n\t if (validator != undefined && typeof validator != \"function\") {\n\t l.warn(opts, \"When provided, the `validator` property of an element of `additionalSignUpFields` must be a function.\");\n\t validator = undefined;\n\t }\n\t\n\t if (options != undefined && type != \"select\") {\n\t l.warn(opts, \"The `options` property can only by provided for an element of `additionalSignUpFields` when its `type` equals to \\\"select\\\"\");\n\t options = undefined;\n\t }\n\t\n\t if (options != undefined && !global.Array.isArray(options) && typeof options != \"function\" || type === \"select\" && options === undefined) {\n\t l.warn(opts, \"Ignoring an element of `additionalSignUpFields` because it has a \\\"select\\\" `type` but does not specify an `options` property that is an Array or a function.\");\n\t filter = false;\n\t }\n\t\n\t return filter ? r.concat([{ icon: icon, name: name, options: options, placeholder: placeholder, prefill: prefill, type: type, validator: validator }]) : r;\n\t }, []);\n\t\n\t additionalSignUpFields = _immutable2.default.fromJS(additionalSignUpFields).map(function (x) {\n\t return x.filter(function (y) {\n\t return y !== undefined;\n\t });\n\t });\n\t }\n\t\n\t // TODO: add a warning if it is not a boolean, leave it undefined,\n\t // and change accesor fn.\n\t loginAfterSignUp = loginAfterSignUp === false ? false : true;\n\t\n\t return (0, _immutable.Map)({\n\t additionalSignUpFields: additionalSignUpFields,\n\t defaultConnectionName: defaultDatabaseConnection,\n\t forgotPasswordLink: forgotPasswordLink,\n\t initialScreen: initialScreen,\n\t loginAfterSignUp: loginAfterSignUp,\n\t mustAcceptTerms: mustAcceptTerms,\n\t screens: screens,\n\t signUpLink: signUpLink,\n\t usernameStyle: usernameStyle\n\t }).filter(function (x) {\n\t return typeof x !== \"undefined\";\n\t }).toJS();\n\t}\n\t\n\tfunction processScreenOptions(opts) {\n\t var defaults = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { allowLogin: true, allowSignUp: true, allowForgotPassword: true, initialScreen: undefined };\n\t var allowForgotPassword = opts.allowForgotPassword,\n\t allowLogin = opts.allowLogin,\n\t allowSignUp = opts.allowSignUp,\n\t initialScreen = opts.initialScreen;\n\t\n\t\n\t var screens = [];\n\t\n\t if (allowLogin === true || !assertMaybeBoolean(opts, \"allowLogin\") && defaults.allowLogin || allowLogin === undefined && defaults.allowLogin) {\n\t screens.push(\"login\");\n\t }\n\t\n\t if (allowSignUp === true || !assertMaybeBoolean(opts, \"allowSignUp\") && defaults.allowSignUp || allowSignUp === undefined && defaults.allowSignUp) {\n\t screens.push(\"signUp\");\n\t }\n\t\n\t if (allowForgotPassword === true || !assertMaybeBoolean(opts, \"allowForgotPassword\") && defaults.allowForgotPassword || allowForgotPassword === undefined && defaults.allowForgotPassword) {\n\t screens.push(\"forgotPassword\");\n\t }\n\t\n\t screens.push(\"mfaLogin\");\n\t\n\t if (!assertMaybeEnum(opts, \"initialScreen\", screens)) {\n\t initialScreen = undefined;\n\t }\n\t\n\t if (initialScreen === undefined) {\n\t initialScreen = defaults.initialScreen || screens[0];\n\t }\n\t\n\t return { initialScreen: initialScreen, screens: new _immutable.List(screens) };\n\t}\n\t\n\tfunction overrideDatabaseOptions(m, opts) {\n\t var _processScreenOptions2 = processScreenOptions(opts, {\n\t allowLogin: availableScreens(m).contains(\"login\"),\n\t allowSignUp: availableScreens(m).contains(\"signUp\"),\n\t allowForgotPassword: availableScreens(m).contains(\"forgotPassword\"),\n\t initialScreen: get(m, \"initialScreen\")\n\t }),\n\t initialScreen = _processScreenOptions2.initialScreen,\n\t screens = _processScreenOptions2.screens;\n\t\n\t m = tset(m, \"initialScreen\", initialScreen);\n\t m = tset(m, \"screens\", screens);\n\t return m;\n\t}\n\t\n\tfunction defaultDatabaseConnection(m) {\n\t var name = defaultDatabaseConnectionName(m);\n\t return name && l.findConnection(m, name);\n\t}\n\t\n\tfunction defaultDatabaseConnectionName(m) {\n\t return get(m, \"defaultConnectionName\");\n\t}\n\t\n\tfunction databaseConnection(m) {\n\t return (0, _tenant.defaultDirectory)(m) || defaultDatabaseConnection(m) || l.connection(m, \"database\");\n\t}\n\t\n\tfunction databaseConnectionName(m) {\n\t return (databaseConnection(m) || (0, _immutable.Map)()).get(\"name\");\n\t}\n\t\n\tfunction forgotPasswordLink(m) {\n\t var notFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"\";\n\t\n\t return get(m, \"forgotPasswordLink\", notFound);\n\t}\n\t\n\tfunction signUpLink(m) {\n\t var notFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"\";\n\t\n\t return get(m, \"signUpLink\", notFound);\n\t}\n\t\n\tfunction setScreen(m, name) {\n\t var fields = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\t\n\t // TODO: the lock/index module should provide a way to clear\n\t // everything that needs the be cleared when changing screens, other\n\t // modules should not care.\n\t m = l.clearGlobalError(m);\n\t m = l.clearGlobalSuccess(m);\n\t m = (0, _index2.clearFields)(m, fields);\n\t\n\t return tset(m, \"screen\", name);\n\t}\n\t\n\tfunction getScreen(m) {\n\t var screen = tget(m, \"screen\");\n\t var initialScreen = getInitialScreen(m);\n\t var screens = [screen, initialScreen, \"login\", \"signUp\", \"forgotPassword\", \"mfaLogin\"];\n\t var availableScreens = screens.filter(function (x) {\n\t return hasScreen(m, x);\n\t });\n\t return availableScreens[0];\n\t}\n\t\n\tfunction availableScreens(m) {\n\t return tget(m, \"screens\") || get(m, \"screens\", new _immutable.List());\n\t}\n\t\n\tfunction getInitialScreen(m) {\n\t return tget(m, \"initialScreen\") || get(m, \"initialScreen\");\n\t}\n\t\n\tfunction hasInitialScreen(m, str) {\n\t return getInitialScreen(m) === str;\n\t}\n\t\n\tfunction databaseConnectionRequiresUsername(m) {\n\t return (databaseConnection(m) || (0, _immutable.Map)()).toJS().requireUsername;\n\t}\n\t\n\tfunction databaseUsernameStyle(m) {\n\t if (l.hasSomeConnections(m, \"database\")) {\n\t return databaseConnectionRequiresUsername(m) ? get(m, \"usernameStyle\", \"any\") : \"email\";\n\t }\n\t\n\t return l.hasSomeConnections(m, \"enterprise\") && (0, _enterprise.findADConnectionWithoutDomain)(m) ? 'username' : 'email';\n\t}\n\t\n\tfunction databaseLogInWithEmail(m) {\n\t return databaseUsernameStyle(m) === \"email\";\n\t}\n\t\n\tfunction databaseUsernameValue(m) {\n\t return (0, _index2.getFieldValue)(m, databaseLogInWithEmail(m) ? \"email\" : \"username\");\n\t}\n\t\n\tfunction authWithUsername(m) {\n\t return databaseConnectionRequiresUsername(m) || get(m, \"usernameStyle\", \"email\") === \"username\";\n\t}\n\t\n\tfunction hasScreen(m, s) {\n\t var _toJS = (databaseConnection(m) || (0, _immutable.Map)()).toJS(),\n\t allowForgot = _toJS.allowForgot,\n\t allowSignup = _toJS.allowSignup;\n\t\n\t return !(allowForgot === false && s === \"forgotPassword\") && !(allowSignup === false && s === \"signUp\") && availableScreens(m).contains(s);\n\t}\n\t\n\tfunction shouldAutoLogin(m) {\n\t return get(m, \"loginAfterSignUp\");\n\t}\n\t\n\tfunction passwordStrengthPolicy(m) {\n\t return (databaseConnection(m) || (0, _immutable.Map)()).get(\"passwordPolicy\", \"none\");\n\t}\n\t\n\tfunction additionalSignUpFields(m) {\n\t return get(m, \"additionalSignUpFields\", (0, _immutable.List)());\n\t}\n\t\n\tfunction mustAcceptTerms(m) {\n\t return get(m, \"mustAcceptTerms\", false);\n\t}\n\t\n\tfunction termsAccepted(m) {\n\t return !mustAcceptTerms(m) || tget(m, \"termsAccepted\", false);\n\t}\n\t\n\tfunction toggleTermsAcceptance(m) {\n\t return tset(m, \"termsAccepted\", !termsAccepted(m));\n\t}\n\t\n\tfunction resolveAdditionalSignUpFields(m) {\n\t return additionalSignUpFields(m).reduce(function (r, x) {\n\t return x.get(\"type\") === \"select\" ? resolveAdditionalSignUpSelectField(r, x) : resolveAdditionalSignUpTextField(r, x);\n\t }, m);\n\t}\n\t\n\tfunction resolveAdditionalSignUpSelectField(m, x) {\n\t var name = x.get(\"name\");\n\t var keyNs = [\"additionalSignUpField\", name];\n\t var prefill = x.get(\"prefill\");\n\t var options = x.get(\"options\");\n\t\n\t var resolvedPrefill = typeof prefill === \"function\" ? undefined : prefill || \"\";\n\t var resolvedOptions = typeof options === \"function\" ? undefined : options;\n\t\n\t var register = function register(m) {\n\t return resolvedPrefill !== undefined && resolvedOptions !== undefined ? (0, _index2.registerOptionField)(m, name, _immutable2.default.fromJS(resolvedOptions), resolvedPrefill) : m;\n\t };\n\t\n\t if (resolvedPrefill === undefined) {\n\t m = (0, _sync2.default)(m, keyNs.concat(\"prefill\"), {\n\t recoverResult: \"\",\n\t successFn: function successFn(m, result) {\n\t resolvedPrefill = result;\n\t return register(m);\n\t },\n\t syncFn: function syncFn(m, cb) {\n\t return prefill(cb);\n\t }\n\t });\n\t }\n\t\n\t if (resolvedOptions === undefined) {\n\t m = (0, _sync2.default)(m, keyNs.concat(\"options\"), {\n\t successFn: function successFn(m, result) {\n\t resolvedOptions = result;\n\t return register(m);\n\t },\n\t syncFn: function syncFn(m, cb) {\n\t return options(cb);\n\t }\n\t });\n\t }\n\t\n\t if (resolvedPrefill !== undefined && resolvedOptions !== undefined) {\n\t m = (0, _index2.registerOptionField)(m, name, _immutable2.default.fromJS(resolvedOptions), resolvedPrefill);\n\t }\n\t\n\t return m;\n\t}\n\t\n\tfunction resolveAdditionalSignUpTextField(m, x) {\n\t var name = x.get(\"name\");\n\t var key = [\"additionalSignUpField\", name, \"prefill\"];\n\t var prefill = x.get(\"prefill\");\n\t var validator = x.get(\"validator\");\n\t\n\t var resolvedPrefill = typeof prefill === \"function\" ? undefined : prefill || \"\";\n\t\n\t if (resolvedPrefill === undefined) {\n\t m = (0, _sync2.default)(m, key, {\n\t recoverResult: \"\",\n\t successFn: function successFn(m, result) {\n\t return (0, _index2.setField)(m, name, result, validator);\n\t },\n\t syncFn: function syncFn(m, cb) {\n\t return prefill(cb);\n\t }\n\t });\n\t } else {\n\t m = (0, _index2.setField)(m, name, resolvedPrefill, validator);\n\t }\n\t\n\t return m;\n\t}\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.observe = observe;\n\texports.subscribe = subscribe;\n\texports.unsubscribe = unsubscribe;\n\texports.swap = swap;\n\texports.updateEntity = updateEntity;\n\texports.setEntity = setEntity;\n\texports.read = read;\n\texports.getEntity = getEntity;\n\texports.removeEntity = removeEntity;\n\texports.getCollection = getCollection;\n\texports.updateCollection = updateCollection;\n\texports.getState = getState;\n\t\n\tvar _atom = __webpack_require__(322);\n\t\n\tvar _atom2 = _interopRequireDefault(_atom);\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar store = (0, _atom2.default)(new _immutable.Map({}));\n\t\n\tfunction observe(key, id, f) {\n\t subscribe(key + '-' + id, function (_, oldState, newState) {\n\t var m = getEntity(newState, \"lock\", id);\n\t var oldM = getEntity(oldState, \"lock\", id);\n\t if (m != oldM) f(m);\n\t });\n\t}\n\t\n\tfunction subscribe(key, f) {\n\t store.addWatch(key, f);\n\t}\n\t\n\tfunction unsubscribe(key) {\n\t store.removeWatch(key);\n\t}\n\t\n\tfunction swap() {\n\t return store.swap.apply(store, arguments);\n\t}\n\t\n\tfunction updateEntity(state, coll, id, f) {\n\t for (var _len = arguments.length, args = Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++) {\n\t args[_key - 4] = arguments[_key];\n\t }\n\t\n\t return state.updateIn([coll, id], new _immutable.Map({}), function (x) {\n\t return f.apply(undefined, [x].concat(args));\n\t });\n\t}\n\t\n\tfunction setEntity(state, coll, id, m) {\n\t return state.setIn([coll, id], m);\n\t}\n\t\n\tfunction read(f) {\n\t for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n\t args[_key2 - 1] = arguments[_key2];\n\t }\n\t\n\t return f.apply(undefined, [store.deref()].concat(args));\n\t}\n\t\n\tfunction getEntity(state, coll) {\n\t var id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\t\n\t return state.getIn([coll, id]);\n\t}\n\t\n\tfunction removeEntity(state, coll) {\n\t var id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\t\n\t return state.removeIn([coll, id]);\n\t}\n\t\n\tfunction getCollection(state, coll) {\n\t return state.get(coll, (0, _immutable.Map)()).toList();\n\t}\n\t\n\t// TODO: try to remove this fn\n\tfunction updateCollection(state, coll, f) {\n\t for (var _len3 = arguments.length, args = Array(_len3 > 3 ? _len3 - 3 : 0), _key3 = 3; _key3 < _len3; _key3++) {\n\t args[_key3 - 3] = arguments[_key3];\n\t }\n\t\n\t return state.update(coll, function (xs) {\n\t return f.apply(undefined, [xs].concat(args));\n\t });\n\t}\n\t\n\tfunction getState() {\n\t return store.deref();\n\t}\n\t\n\t// DEV\n\t// store.addWatch(\"keepHistory\", (key, oldState, newState) => {\n\t// if (!global.window.h) global.window.h = []; global.window.h.push(newState);\n\t// console.debug(\"something changed\", newState.toJS());\n\t// });\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\texports.str = str;\n\texports.html = html;\n\texports.group = group;\n\texports.initI18n = initI18n;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _util = __webpack_require__(79);\n\t\n\tvar _sync = __webpack_require__(45);\n\t\n\tvar _sync2 = _interopRequireDefault(_sync);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tvar _en = __webpack_require__(309);\n\t\n\tvar _en2 = _interopRequireDefault(_en);\n\t\n\tvar _cdn_utils = __webpack_require__(90);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"i18n\"]),\n\t get = _dataFns.get,\n\t set = _dataFns.set;\n\t\n\tfunction str(m, keyPath) {\n\t for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n\t args[_key - 2] = arguments[_key];\n\t }\n\t\n\t return _util.format.apply(undefined, [get(m, [\"strings\"].concat(keyPath), \"\")].concat(args));\n\t}\n\t\n\tfunction html(m, keyPath) {\n\t for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n\t args[_key2 - 2] = arguments[_key2];\n\t }\n\t\n\t var html = str.apply(undefined, [m, keyPath].concat(args));\n\t\n\t return html ? _react2.default.createElement(\"span\", { dangerouslySetInnerHTML: { __html: html } }) : null;\n\t}\n\t\n\tfunction group(m, keyPath) {\n\t return get(m, [\"strings\"].concat(keyPath), (0, _immutable.Map)()).toJS();\n\t}\n\t\n\tfunction initI18n(m) {\n\t var language = l.ui.language(m);\n\t var overrides = l.ui.dict(m);\n\t var defaultDictionary = _immutable2.default.fromJS(_en2.default);\n\t\n\t var base = languageDictionaries[language] || (0, _immutable.Map)({});\n\t\n\t if (base.isEmpty()) {\n\t base = overrides;\n\t m = (0, _sync2.default)(m, \"i18n\", {\n\t syncFn: function syncFn(_, cb) {\n\t return syncLang(m, language, cb);\n\t },\n\t successFn: function successFn(m, result) {\n\t registerLanguageDictionary(language, result);\n\t\n\t var overrided = _immutable2.default.fromJS(result).mergeDeep(overrides);\n\t\n\t assertLanguage(m, overrided.toJS(), _en2.default);\n\t\n\t return set(m, \"strings\", defaultDictionary.mergeDeep(overrided));\n\t }\n\t });\n\t } else {\n\t assertLanguage(m, base.toJS(), _en2.default);\n\t }\n\t\n\t base = defaultDictionary.mergeDeep(base).mergeDeep(overrides);\n\t\n\t return set(m, \"strings\", base);\n\t}\n\t\n\tfunction assertLanguage(m, language, base) {\n\t var path = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : \"\";\n\t\n\t Object.keys(base).forEach(function (key) {\n\t if (!language.hasOwnProperty(key)) {\n\t l.warn(m, 'language does not have property ' + path + key);\n\t } else {\n\t if (_typeof(base[key]) === 'object') {\n\t assertLanguage(m, language[key], base[key], '' + path + key + '.');\n\t }\n\t }\n\t });\n\t}\n\t\n\t// sync\n\t\n\tfunction syncLang(m, language, _cb) {\n\t (0, _cdn_utils.load)({\n\t method: \"registerLanguageDictionary\",\n\t url: l.languageBaseUrl(m) + '/js/lock/' + '10.8.1' + '/' + language + '.js',\n\t check: function check(str) {\n\t return str && str === language;\n\t },\n\t cb: function cb(err, _, dictionary) {\n\t _cb(err, dictionary);\n\t }\n\t });\n\t}\n\t\n\tvar languageDictionaries = [];\n\t\n\tfunction registerLanguageDictionary(language, dictionary) {\n\t languageDictionaries[language] = _immutable2.default.fromJS(dictionary);\n\t}\n\t\n\tregisterLanguageDictionary(\"en\", _en2.default);\n\t\n\t(0, _cdn_utils.preload)({\n\t method: \"registerLanguageDictionary\",\n\t cb: registerLanguageDictionary\n\t});\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2016-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\t// Trust the developer to only use ReactInstrumentation with a __DEV__ check\n\t\n\tvar debugTool = null;\n\t\n\tif (false) {\n\t var ReactDebugTool = require('./ReactDebugTool');\n\t debugTool = ReactDebugTool;\n\t}\n\t\n\tmodule.exports = { debugTool: debugTool };\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(7);\n\t\n\tvar CallbackQueue = __webpack_require__(98);\n\tvar PooledClass = __webpack_require__(27);\n\tvar ReactFeatureFlags = __webpack_require__(104);\n\tvar ReactReconciler = __webpack_require__(34);\n\tvar Transaction = __webpack_require__(49);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\tvar dirtyComponents = [];\n\tvar updateBatchNumber = 0;\n\tvar asapCallbackQueue = CallbackQueue.getPooled();\n\tvar asapEnqueued = false;\n\t\n\tvar batchingStrategy = null;\n\t\n\tfunction ensureInjected() {\n\t !(ReactUpdates.ReactReconcileTransaction && batchingStrategy) ? false ? invariant(false, 'ReactUpdates: must inject a reconcile transaction class and batching strategy') : _prodInvariant('123') : void 0;\n\t}\n\t\n\tvar NESTED_UPDATES = {\n\t initialize: function initialize() {\n\t this.dirtyComponentsLength = dirtyComponents.length;\n\t },\n\t close: function close() {\n\t if (this.dirtyComponentsLength !== dirtyComponents.length) {\n\t // Additional updates were enqueued by componentDidUpdate handlers or\n\t // similar; before our own UPDATE_QUEUEING wrapper closes, we want to run\n\t // these new updates so that if A's componentDidUpdate calls setState on\n\t // B, B will update before the callback A's updater provided when calling\n\t // setState.\n\t dirtyComponents.splice(0, this.dirtyComponentsLength);\n\t flushBatchedUpdates();\n\t } else {\n\t dirtyComponents.length = 0;\n\t }\n\t }\n\t};\n\t\n\tvar UPDATE_QUEUEING = {\n\t initialize: function initialize() {\n\t this.callbackQueue.reset();\n\t },\n\t close: function close() {\n\t this.callbackQueue.notifyAll();\n\t }\n\t};\n\t\n\tvar TRANSACTION_WRAPPERS = [NESTED_UPDATES, UPDATE_QUEUEING];\n\t\n\tfunction ReactUpdatesFlushTransaction() {\n\t this.reinitializeTransaction();\n\t this.dirtyComponentsLength = null;\n\t this.callbackQueue = CallbackQueue.getPooled();\n\t this.reconcileTransaction = ReactUpdates.ReactReconcileTransaction.getPooled(\n\t /* useCreateElement */true);\n\t}\n\t\n\t_assign(ReactUpdatesFlushTransaction.prototype, Transaction, {\n\t getTransactionWrappers: function getTransactionWrappers() {\n\t return TRANSACTION_WRAPPERS;\n\t },\n\t\n\t destructor: function destructor() {\n\t this.dirtyComponentsLength = null;\n\t CallbackQueue.release(this.callbackQueue);\n\t this.callbackQueue = null;\n\t ReactUpdates.ReactReconcileTransaction.release(this.reconcileTransaction);\n\t this.reconcileTransaction = null;\n\t },\n\t\n\t perform: function perform(method, scope, a) {\n\t // Essentially calls `this.reconcileTransaction.perform(method, scope, a)`\n\t // with this transaction's wrappers around it.\n\t return Transaction.perform.call(this, this.reconcileTransaction.perform, this.reconcileTransaction, method, scope, a);\n\t }\n\t});\n\t\n\tPooledClass.addPoolingTo(ReactUpdatesFlushTransaction);\n\t\n\tfunction batchedUpdates(callback, a, b, c, d, e) {\n\t ensureInjected();\n\t return batchingStrategy.batchedUpdates(callback, a, b, c, d, e);\n\t}\n\t\n\t/**\n\t * Array comparator for ReactComponents by mount ordering.\n\t *\n\t * @param {ReactComponent} c1 first component you're comparing\n\t * @param {ReactComponent} c2 second component you're comparing\n\t * @return {number} Return value usable by Array.prototype.sort().\n\t */\n\tfunction mountOrderComparator(c1, c2) {\n\t return c1._mountOrder - c2._mountOrder;\n\t}\n\t\n\tfunction runBatchedUpdates(transaction) {\n\t var len = transaction.dirtyComponentsLength;\n\t !(len === dirtyComponents.length) ? false ? invariant(false, 'Expected flush transaction\\'s stored dirty-components length (%s) to match dirty-components array length (%s).', len, dirtyComponents.length) : _prodInvariant('124', len, dirtyComponents.length) : void 0;\n\t\n\t // Since reconciling a component higher in the owner hierarchy usually (not\n\t // always -- see shouldComponentUpdate()) will reconcile children, reconcile\n\t // them before their children by sorting the array.\n\t dirtyComponents.sort(mountOrderComparator);\n\t\n\t // Any updates enqueued while reconciling must be performed after this entire\n\t // batch. Otherwise, if dirtyComponents is [A, B] where A has children B and\n\t // C, B could update twice in a single batch if C's render enqueues an update\n\t // to B (since B would have already updated, we should skip it, and the only\n\t // way we can know to do so is by checking the batch counter).\n\t updateBatchNumber++;\n\t\n\t for (var i = 0; i < len; i++) {\n\t // If a component is unmounted before pending changes apply, it will still\n\t // be here, but we assume that it has cleared its _pendingCallbacks and\n\t // that performUpdateIfNecessary is a noop.\n\t var component = dirtyComponents[i];\n\t\n\t // If performUpdateIfNecessary happens to enqueue any new updates, we\n\t // shouldn't execute the callbacks until the next render happens, so\n\t // stash the callbacks first\n\t var callbacks = component._pendingCallbacks;\n\t component._pendingCallbacks = null;\n\t\n\t var markerName;\n\t if (ReactFeatureFlags.logTopLevelRenders) {\n\t var namedComponent = component;\n\t // Duck type TopLevelWrapper. This is probably always true.\n\t if (component._currentElement.type.isReactTopLevelWrapper) {\n\t namedComponent = component._renderedComponent;\n\t }\n\t markerName = 'React update: ' + namedComponent.getName();\n\t console.time(markerName);\n\t }\n\t\n\t ReactReconciler.performUpdateIfNecessary(component, transaction.reconcileTransaction, updateBatchNumber);\n\t\n\t if (markerName) {\n\t console.timeEnd(markerName);\n\t }\n\t\n\t if (callbacks) {\n\t for (var j = 0; j < callbacks.length; j++) {\n\t transaction.callbackQueue.enqueue(callbacks[j], component.getPublicInstance());\n\t }\n\t }\n\t }\n\t}\n\t\n\tvar flushBatchedUpdates = function flushBatchedUpdates() {\n\t // ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents\n\t // array and perform any updates enqueued by mount-ready handlers (i.e.,\n\t // componentDidUpdate) but we need to check here too in order to catch\n\t // updates enqueued by setState callbacks and asap calls.\n\t while (dirtyComponents.length || asapEnqueued) {\n\t if (dirtyComponents.length) {\n\t var transaction = ReactUpdatesFlushTransaction.getPooled();\n\t transaction.perform(runBatchedUpdates, null, transaction);\n\t ReactUpdatesFlushTransaction.release(transaction);\n\t }\n\t\n\t if (asapEnqueued) {\n\t asapEnqueued = false;\n\t var queue = asapCallbackQueue;\n\t asapCallbackQueue = CallbackQueue.getPooled();\n\t queue.notifyAll();\n\t CallbackQueue.release(queue);\n\t }\n\t }\n\t};\n\t\n\t/**\n\t * Mark a component as needing a rerender, adding an optional callback to a\n\t * list of functions which will be executed once the rerender occurs.\n\t */\n\tfunction enqueueUpdate(component) {\n\t ensureInjected();\n\t\n\t // Various parts of our code (such as ReactCompositeComponent's\n\t // _renderValidatedComponent) assume that calls to render aren't nested;\n\t // verify that that's the case. (This is called by each top-level update\n\t // function, like setState, forceUpdate, etc.; creation and\n\t // destruction of top-level components is guarded in ReactMount.)\n\t\n\t if (!batchingStrategy.isBatchingUpdates) {\n\t batchingStrategy.batchedUpdates(enqueueUpdate, component);\n\t return;\n\t }\n\t\n\t dirtyComponents.push(component);\n\t if (component._updateBatchNumber == null) {\n\t component._updateBatchNumber = updateBatchNumber + 1;\n\t }\n\t}\n\t\n\t/**\n\t * Enqueue a callback to be run at the end of the current batching cycle. Throws\n\t * if no updates are currently being performed.\n\t */\n\tfunction asap(callback, context) {\n\t !batchingStrategy.isBatchingUpdates ? false ? invariant(false, 'ReactUpdates.asap: Can\\'t enqueue an asap callback in a context whereupdates are not being batched.') : _prodInvariant('125') : void 0;\n\t asapCallbackQueue.enqueue(callback, context);\n\t asapEnqueued = true;\n\t}\n\t\n\tvar ReactUpdatesInjection = {\n\t injectReconcileTransaction: function injectReconcileTransaction(ReconcileTransaction) {\n\t !ReconcileTransaction ? false ? invariant(false, 'ReactUpdates: must provide a reconcile transaction class') : _prodInvariant('126') : void 0;\n\t ReactUpdates.ReactReconcileTransaction = ReconcileTransaction;\n\t },\n\t\n\t injectBatchingStrategy: function injectBatchingStrategy(_batchingStrategy) {\n\t !_batchingStrategy ? false ? invariant(false, 'ReactUpdates: must provide a batching strategy') : _prodInvariant('127') : void 0;\n\t !(typeof _batchingStrategy.batchedUpdates === 'function') ? false ? invariant(false, 'ReactUpdates: must provide a batchedUpdates() function') : _prodInvariant('128') : void 0;\n\t !(typeof _batchingStrategy.isBatchingUpdates === 'boolean') ? false ? invariant(false, 'ReactUpdates: must provide an isBatchingUpdates boolean attribute') : _prodInvariant('129') : void 0;\n\t batchingStrategy = _batchingStrategy;\n\t }\n\t};\n\t\n\tvar ReactUpdates = {\n\t /**\n\t * React references `ReactReconcileTransaction` using this property in order\n\t * to allow dependency injection.\n\t *\n\t * @internal\n\t */\n\t ReactReconcileTransaction: null,\n\t\n\t batchedUpdates: batchedUpdates,\n\t enqueueUpdate: enqueueUpdate,\n\t flushBatchedUpdates: flushBatchedUpdates,\n\t injection: ReactUpdatesInjection,\n\t asap: asap\n\t};\n\t\n\tmodule.exports = ReactUpdates;\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar Screen = function () {\n\t function Screen(name) {\n\t _classCallCheck(this, Screen);\n\t\n\t this.name = name;\n\t }\n\t\n\t Screen.prototype.backHandler = function backHandler() {\n\t return null;\n\t };\n\t\n\t Screen.prototype.escHandler = function escHandler() {\n\t return null;\n\t };\n\t\n\t Screen.prototype.submitButtonLabel = function submitButtonLabel(m) {\n\t return i18n.str(m, [\"submitLabel\"]);\n\t };\n\t\n\t Screen.prototype.submitHandler = function submitHandler() {\n\t return null;\n\t };\n\t\n\t Screen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane() {\n\t return null;\n\t };\n\t\n\t Screen.prototype.renderTabs = function renderTabs() {\n\t return false;\n\t };\n\t\n\t Screen.prototype.renderTerms = function renderTerms() {\n\t return null;\n\t };\n\t\n\t return Screen;\n\t}();\n\t\n\texports.default = Screen;\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\texports.dataFns = dataFns;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tfunction dataFns(baseNSKeyPath) {\n\t function keyPath(nsKeyPath, keyOrKeyPath) {\n\t return nsKeyPath.concat((typeof keyOrKeyPath === \"undefined\" ? \"undefined\" : _typeof(keyOrKeyPath)) === \"object\" ? keyOrKeyPath : [keyOrKeyPath]);\n\t }\n\t\n\t function getFn(nsKeyPath) {\n\t return function (m, keyOrKeyPath) {\n\t var notSetValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;\n\t\n\t return m.getIn(keyPath(nsKeyPath, keyOrKeyPath), notSetValue);\n\t };\n\t }\n\t\n\t function setFn(nsKeyPath) {\n\t return function (m, keyOrKeyPath, value) {\n\t return m.setIn(keyPath(nsKeyPath, keyOrKeyPath), value);\n\t };\n\t }\n\t\n\t function removeFn(nsKeyPath) {\n\t return function (m, keyOrKeyPath) {\n\t return m.removeIn(keyPath(nsKeyPath, keyOrKeyPath));\n\t };\n\t }\n\t\n\t var transientNSKeyPath = baseNSKeyPath.concat([\"transient\"]);\n\t\n\t return {\n\t get: getFn(baseNSKeyPath),\n\t set: setFn(baseNSKeyPath),\n\t remove: removeFn(baseNSKeyPath),\n\t tget: getFn(transientNSKeyPath),\n\t tset: setFn(transientNSKeyPath),\n\t tremove: removeFn(transientNSKeyPath),\n\t reset: function reset(m) {\n\t return m.map(function (x) {\n\t return _immutable.Map.isMap(x) ? x.remove(\"transient\") : x;\n\t });\n\t },\n\t init: function init(id, m) {\n\t return new _immutable.Map({ id: id }).setIn(baseNSKeyPath, m);\n\t },\n\t initNS: function initNS(m, ns) {\n\t return m.setIn(baseNSKeyPath, ns);\n\t }\n\t };\n\t}\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar PooledClass = __webpack_require__(27);\n\t\n\tvar emptyFunction = __webpack_require__(19);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar didWarnForAddedNewProperty = false;\n\tvar isProxySupported = typeof Proxy === 'function';\n\t\n\tvar shouldBeReleasedProperties = ['dispatchConfig', '_targetInst', 'nativeEvent', 'isDefaultPrevented', 'isPropagationStopped', '_dispatchListeners', '_dispatchInstances'];\n\t\n\t/**\n\t * @interface Event\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/\n\t */\n\tvar EventInterface = {\n\t type: null,\n\t target: null,\n\t // currentTarget is set when dispatching; no use in copying it here\n\t currentTarget: emptyFunction.thatReturnsNull,\n\t eventPhase: null,\n\t bubbles: null,\n\t cancelable: null,\n\t timeStamp: function timeStamp(event) {\n\t return event.timeStamp || Date.now();\n\t },\n\t defaultPrevented: null,\n\t isTrusted: null\n\t};\n\t\n\t/**\n\t * Synthetic events are dispatched by event plugins, typically in response to a\n\t * top-level event delegation handler.\n\t *\n\t * These systems should generally use pooling to reduce the frequency of garbage\n\t * collection. The system should check `isPersistent` to determine whether the\n\t * event should be released into the pool after being dispatched. Users that\n\t * need a persisted event should invoke `persist`.\n\t *\n\t * Synthetic events (and subclasses) implement the DOM Level 3 Events API by\n\t * normalizing browser quirks. Subclasses do not necessarily have to implement a\n\t * DOM interface; custom application-specific events can also subclass this.\n\t *\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {*} targetInst Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @param {DOMEventTarget} nativeEventTarget Target node.\n\t */\n\tfunction SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeEventTarget) {\n\t if (false) {\n\t // these have a getter/setter for warnings\n\t delete this.nativeEvent;\n\t delete this.preventDefault;\n\t delete this.stopPropagation;\n\t }\n\t\n\t this.dispatchConfig = dispatchConfig;\n\t this._targetInst = targetInst;\n\t this.nativeEvent = nativeEvent;\n\t\n\t var Interface = this.constructor.Interface;\n\t for (var propName in Interface) {\n\t if (!Interface.hasOwnProperty(propName)) {\n\t continue;\n\t }\n\t if (false) {\n\t delete this[propName]; // this has a getter/setter for warnings\n\t }\n\t var normalize = Interface[propName];\n\t if (normalize) {\n\t this[propName] = normalize(nativeEvent);\n\t } else {\n\t if (propName === 'target') {\n\t this.target = nativeEventTarget;\n\t } else {\n\t this[propName] = nativeEvent[propName];\n\t }\n\t }\n\t }\n\t\n\t var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;\n\t if (defaultPrevented) {\n\t this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n\t } else {\n\t this.isDefaultPrevented = emptyFunction.thatReturnsFalse;\n\t }\n\t this.isPropagationStopped = emptyFunction.thatReturnsFalse;\n\t return this;\n\t}\n\t\n\t_assign(SyntheticEvent.prototype, {\n\t\n\t preventDefault: function preventDefault() {\n\t this.defaultPrevented = true;\n\t var event = this.nativeEvent;\n\t if (!event) {\n\t return;\n\t }\n\t\n\t if (event.preventDefault) {\n\t event.preventDefault();\n\t } else if (typeof event.returnValue !== 'unknown') {\n\t // eslint-disable-line valid-typeof\n\t event.returnValue = false;\n\t }\n\t this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n\t },\n\t\n\t stopPropagation: function stopPropagation() {\n\t var event = this.nativeEvent;\n\t if (!event) {\n\t return;\n\t }\n\t\n\t if (event.stopPropagation) {\n\t event.stopPropagation();\n\t } else if (typeof event.cancelBubble !== 'unknown') {\n\t // eslint-disable-line valid-typeof\n\t // The ChangeEventPlugin registers a \"propertychange\" event for\n\t // IE. This event does not support bubbling or cancelling, and\n\t // any references to cancelBubble throw \"Member not found\". A\n\t // typeof check of \"unknown\" circumvents this issue (and is also\n\t // IE specific).\n\t event.cancelBubble = true;\n\t }\n\t\n\t this.isPropagationStopped = emptyFunction.thatReturnsTrue;\n\t },\n\t\n\t /**\n\t * We release all dispatched `SyntheticEvent`s after each event loop, adding\n\t * them back into the pool. This allows a way to hold onto a reference that\n\t * won't be added back into the pool.\n\t */\n\t persist: function persist() {\n\t this.isPersistent = emptyFunction.thatReturnsTrue;\n\t },\n\t\n\t /**\n\t * Checks if this event should be released back into the pool.\n\t *\n\t * @return {boolean} True if this should not be released, false otherwise.\n\t */\n\t isPersistent: emptyFunction.thatReturnsFalse,\n\t\n\t /**\n\t * `PooledClass` looks for `destructor` on each instance it releases.\n\t */\n\t destructor: function destructor() {\n\t var Interface = this.constructor.Interface;\n\t for (var propName in Interface) {\n\t if (false) {\n\t Object.defineProperty(this, propName, getPooledWarningPropertyDefinition(propName, Interface[propName]));\n\t } else {\n\t this[propName] = null;\n\t }\n\t }\n\t for (var i = 0; i < shouldBeReleasedProperties.length; i++) {\n\t this[shouldBeReleasedProperties[i]] = null;\n\t }\n\t if (false) {\n\t Object.defineProperty(this, 'nativeEvent', getPooledWarningPropertyDefinition('nativeEvent', null));\n\t Object.defineProperty(this, 'preventDefault', getPooledWarningPropertyDefinition('preventDefault', emptyFunction));\n\t Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', emptyFunction));\n\t }\n\t }\n\t\n\t});\n\t\n\tSyntheticEvent.Interface = EventInterface;\n\t\n\tif (false) {\n\t if (isProxySupported) {\n\t /*eslint-disable no-func-assign */\n\t SyntheticEvent = new Proxy(SyntheticEvent, {\n\t construct: function construct(target, args) {\n\t return this.apply(target, Object.create(target.prototype), args);\n\t },\n\t apply: function apply(constructor, that, args) {\n\t return new Proxy(constructor.apply(that, args), {\n\t set: function set(target, prop, value) {\n\t if (prop !== 'isPersistent' && !target.constructor.Interface.hasOwnProperty(prop) && shouldBeReleasedProperties.indexOf(prop) === -1) {\n\t process.env.NODE_ENV !== 'production' ? warning(didWarnForAddedNewProperty || target.isPersistent(), 'This synthetic event is reused for performance reasons. If you\\'re ' + 'seeing this, you\\'re adding a new property in the synthetic event object. ' + 'The property is never released. See ' + 'https://fb.me/react-event-pooling for more information.') : void 0;\n\t didWarnForAddedNewProperty = true;\n\t }\n\t target[prop] = value;\n\t return true;\n\t }\n\t });\n\t }\n\t });\n\t /*eslint-enable no-func-assign */\n\t }\n\t}\n\t/**\n\t * Helper to reduce boilerplate when creating subclasses.\n\t *\n\t * @param {function} Class\n\t * @param {?object} Interface\n\t */\n\tSyntheticEvent.augmentClass = function (Class, Interface) {\n\t var Super = this;\n\t\n\t var E = function E() {};\n\t E.prototype = Super.prototype;\n\t var prototype = new E();\n\t\n\t _assign(prototype, Class.prototype);\n\t Class.prototype = prototype;\n\t Class.prototype.constructor = Class;\n\t\n\t Class.Interface = _assign({}, Super.Interface, Interface);\n\t Class.augmentClass = Super.augmentClass;\n\t\n\t PooledClass.addPoolingTo(Class, PooledClass.fourArgumentPooler);\n\t};\n\t\n\tPooledClass.addPoolingTo(SyntheticEvent, PooledClass.fourArgumentPooler);\n\t\n\tmodule.exports = SyntheticEvent;\n\t\n\t/**\n\t * Helper to nullify syntheticEvent instance properties when destructing\n\t *\n\t * @param {object} SyntheticEvent\n\t * @param {String} propName\n\t * @return {object} defineProperty object\n\t */\n\tfunction getPooledWarningPropertyDefinition(propName, getVal) {\n\t var isFunction = typeof getVal === 'function';\n\t return {\n\t configurable: true,\n\t set: set,\n\t get: get\n\t };\n\t\n\t function set(val) {\n\t var action = isFunction ? 'setting the method' : 'setting the property';\n\t warn(action, 'This is effectively a no-op');\n\t return val;\n\t }\n\t\n\t function get() {\n\t var action = isFunction ? 'accessing the method' : 'accessing the property';\n\t var result = isFunction ? 'This is a no-op function' : 'This is set to null';\n\t warn(action, result);\n\t return getVal;\n\t }\n\t\n\t function warn(action, result) {\n\t var warningCondition = false;\n\t false ? warning(warningCondition, 'This synthetic event is reused for performance reasons. If you\\'re seeing this, ' + 'you\\'re %s `%s` on a released/nullified synthetic event. %s. ' + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0;\n\t }\n\t}\n\n/***/ },\n/* 19 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\tfunction makeEmptyFunction(arg) {\n\t return function () {\n\t return arg;\n\t };\n\t}\n\t\n\t/**\n\t * This function accepts and discards inputs; it has no side effects. This is\n\t * primarily useful idiomatically for overridable function endpoints which\n\t * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n\t */\n\tvar emptyFunction = function emptyFunction() {};\n\t\n\temptyFunction.thatReturns = makeEmptyFunction;\n\temptyFunction.thatReturnsFalse = makeEmptyFunction(false);\n\temptyFunction.thatReturnsTrue = makeEmptyFunction(true);\n\temptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\temptyFunction.thatReturnsThis = function () {\n\t return this;\n\t};\n\temptyFunction.thatReturnsArgument = function (arg) {\n\t return arg;\n\t};\n\t\n\tmodule.exports = emptyFunction;\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(37);\n\t\n\tvar ReactChildren = __webpack_require__(264);\n\tvar ReactComponent = __webpack_require__(75);\n\tvar ReactPureComponent = __webpack_require__(269);\n\tvar ReactClass = __webpack_require__(265);\n\tvar ReactDOMFactories = __webpack_require__(266);\n\tvar ReactElement = __webpack_require__(35);\n\tvar ReactPropTypes = __webpack_require__(267);\n\tvar ReactVersion = __webpack_require__(273);\n\t\n\tvar onlyChild = __webpack_require__(129);\n\tvar warning = __webpack_require__(22);\n\t\n\tvar createElement = ReactElement.createElement;\n\tvar createFactory = ReactElement.createFactory;\n\tvar cloneElement = ReactElement.cloneElement;\n\t\n\tif (false) {\n\t var ReactElementValidator = require('./ReactElementValidator');\n\t createElement = ReactElementValidator.createElement;\n\t createFactory = ReactElementValidator.createFactory;\n\t cloneElement = ReactElementValidator.cloneElement;\n\t}\n\t\n\tvar __spread = _assign;\n\t\n\tif (false) {\n\t var warned = false;\n\t __spread = function __spread() {\n\t process.env.NODE_ENV !== 'production' ? warning(warned, 'React.__spread is deprecated and should not be used. Use ' + 'Object.assign directly or another helper function with similar ' + 'semantics. You may be seeing this warning due to your compiler. ' + 'See https://fb.me/react-spread-deprecation for more details.') : void 0;\n\t warned = true;\n\t return _assign.apply(null, arguments);\n\t };\n\t}\n\t\n\tvar React = {\n\t\n\t // Modern\n\t\n\t Children: {\n\t map: ReactChildren.map,\n\t forEach: ReactChildren.forEach,\n\t count: ReactChildren.count,\n\t toArray: ReactChildren.toArray,\n\t only: onlyChild\n\t },\n\t\n\t Component: ReactComponent,\n\t PureComponent: ReactPureComponent,\n\t\n\t createElement: createElement,\n\t cloneElement: cloneElement,\n\t isValidElement: ReactElement.isValidElement,\n\t\n\t // Classic\n\t\n\t PropTypes: ReactPropTypes,\n\t createClass: ReactClass.createClass,\n\t createFactory: createFactory,\n\t createMixin: function createMixin(mixin) {\n\t // Currently a noop. Will be used to validate and trace mixins.\n\t return mixin;\n\t },\n\t\n\t // This looks DOM specific but these are actually isomorphic helpers\n\t // since they are just generating DOM strings.\n\t DOM: ReactDOMFactories,\n\t\n\t version: ReactVersion,\n\t\n\t // Deprecated hook for JSX spread, don't use this for anything.\n\t __spread: __spread\n\t};\n\t\n\tmodule.exports = React;\n\n/***/ },\n/* 21 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Keeps track of the current owner.\n\t *\n\t * The current owner is the component who should own any components that are\n\t * currently being constructed.\n\t */\n\t\n\tvar ReactCurrentOwner = {\n\t\n\t /**\n\t * @internal\n\t * @type {ReactComponent}\n\t */\n\t current: null\n\t\n\t};\n\t\n\tmodule.exports = ReactCurrentOwner;\n\n/***/ },\n/* 22 */\n[332, 52],\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.STRATEGIES = undefined;\n\texports.initEnterprise = initEnterprise;\n\texports.defaultEnterpriseConnection = defaultEnterpriseConnection;\n\texports.defaultEnterpriseConnectionName = defaultEnterpriseConnectionName;\n\texports.enterpriseActiveFlowConnection = enterpriseActiveFlowConnection;\n\texports.matchConnection = matchConnection;\n\texports.isEnterpriseDomain = isEnterpriseDomain;\n\texports.enterpriseDomain = enterpriseDomain;\n\texports.quickAuthConnection = quickAuthConnection;\n\texports.isADEnabled = isADEnabled;\n\texports.findADConnectionWithoutDomain = findADConnectionWithoutDomain;\n\texports.isInCorpNetwork = isInCorpNetwork;\n\texports.corpNetworkConnection = corpNetworkConnection;\n\texports.isSingleHRDConnection = isSingleHRDConnection;\n\texports.isHRDDomain = isHRDDomain;\n\texports.toggleHRD = toggleHRD;\n\texports.isHRDActive = isHRDActive;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(8);\n\t\n\tvar c = _interopRequireWildcard(_index2);\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tvar _email = __webpack_require__(26);\n\t\n\tvar _username = __webpack_require__(85);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"enterprise\"]),\n\t get = _dataFns.get,\n\t initNS = _dataFns.initNS,\n\t tget = _dataFns.tget,\n\t tremove = _dataFns.tremove,\n\t tset = _dataFns.tset;\n\t\n\t// TODO: Android version also has \"google-opendid\" in the list, but we\n\t// consider it to be a social connection. See\n\t// https://github.com/auth0/Lock.Android/blob/98262cb7110e5d1c8a97e1129faf2621c1d8d111/lock/src/main/java/com/auth0/android/lock/utils/Strategies.java\n\t\n\t\n\tvar STRATEGIES = exports.STRATEGIES = {\n\t \"ad\": \"AD / LDAP\",\n\t \"adfs\": \"ADFS\",\n\t \"auth0-adldap\": \"AD/LDAP\",\n\t \"custom\": \"Custom Auth\",\n\t \"google-apps\": \"Google Apps\",\n\t \"ip\": \"IP Address\",\n\t \"mscrm\": \"Dynamics CRM\",\n\t \"office365\": \"Office365\",\n\t \"pingfederate\": \"Ping Federate\",\n\t \"samlp\": \"SAML\",\n\t \"sharepoint\": \"SharePoint Apps\",\n\t \"waad\": \"Windows Azure AD\"\n\t};\n\t\n\tfunction initEnterprise(m, opts) {\n\t return initNS(m, _immutable2.default.fromJS(processOptions(opts)));\n\t}\n\t\n\tfunction processOptions(opts) {\n\t var defaultEnterpriseConnection = opts.defaultEnterpriseConnection;\n\t\n\t\n\t if (defaultEnterpriseConnection != undefined && typeof defaultEnterpriseConnection !== \"string\") {\n\t l.warn(options, \"The `defaultEnterpriseConnection` option will be ignored, because it is not a string.\");\n\t defaultEnterpriseConnection = undefined;\n\t }\n\t\n\t return defaultEnterpriseConnection === undefined ? {} : { defaultConnectionName: defaultEnterpriseConnection };\n\t}\n\t\n\tfunction defaultEnterpriseConnection(m) {\n\t var name = defaultEnterpriseConnectionName(m);\n\t return name && findADConnectionWithoutDomain(m, name);\n\t}\n\t\n\tfunction defaultEnterpriseConnectionName(m) {\n\t return get(m, \"defaultConnectionName\");\n\t}\n\t\n\tfunction enterpriseActiveFlowConnection(m) {\n\t if (isHRDActive(m)) {\n\t // HRD is active when an email matched or there is only one\n\t // connection and it is enterprise\n\t var email = tget(m, \"hrdEmail\", \"\");\n\t return matchConnection(m, email) || findActiveFlowConnection(m);\n\t } else {\n\t return defaultEnterpriseConnection(m) || findADConnectionWithoutDomain(m);\n\t }\n\t}\n\t\n\tfunction matchConnection(m, email) {\n\t var strategies = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\t\n\t var target = (0, _email.emailDomain)(email);\n\t if (!target) return false;\n\t return l.connections.apply(l, [m, \"enterprise\"].concat(strategies)).find(function (x) {\n\t return x.get(\"domains\").contains(target);\n\t });\n\t}\n\t\n\tfunction isEnterpriseDomain(m, email) {\n\t var strategies = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\t\n\t return !!matchConnection(m, email, strategies);\n\t}\n\t\n\tfunction enterpriseDomain(m) {\n\t return isSingleHRDConnection(m) ? l.connections(m, \"enterprise\").getIn([0, \"domains\", 0]) : (0, _email.emailDomain)(tget(m, \"hrdEmail\"));\n\t}\n\t\n\tfunction quickAuthConnection(m) {\n\t return !isADEnabled(m) && l.hasOneConnection(m, \"enterprise\") ? l.connections(m, \"enterprise\").get(0) : null;\n\t}\n\t\n\t// ad / adldap\n\t// https://github.com/auth0/Lock.Android/blob/0145b6853a8de0df5e63ef22e4e2bc40be97ad9e/lock/src/main/java/com/auth0/android/lock/utils/Strategy.java#L67\n\t\n\tfunction isADEnabled(m) {\n\t return l.hasSomeConnections(m, \"enterprise\", \"ad\", \"auth0-adldap\");\n\t}\n\t\n\tfunction findADConnectionWithoutDomain(m) {\n\t var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\t\n\t return l.connections(m, \"enterprise\", \"ad\", \"auth0-adldap\").find(function (x) {\n\t return x.get(\"domains\").isEmpty() && (!name || x.get(\"name\") === name);\n\t });\n\t}\n\t\n\tfunction findActiveFlowConnection(m) {\n\t var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\t\n\t return l.connections(m, \"enterprise\", \"ad\", \"auth0-adldap\").find(function (x) {\n\t return !name || x.get(\"name\") === name;\n\t });\n\t}\n\t\n\t// kerberos\n\t\n\tfunction isInCorpNetwork(m) {\n\t return corpNetworkConnection(m) !== undefined;\n\t}\n\t\n\tfunction corpNetworkConnection(m) {\n\t // Information about connection is stored in to flat properties connection and strategy.\n\t // If connection is present, strategy will always be present as defined by the server.\n\t var name = m.getIn([\"sso\", \"connection\"]);\n\t var strategy = m.getIn([\"sso\", \"strategy\"]);\n\t\n\t return name && _immutable2.default.Map({ name: name, strategy: strategy });\n\t}\n\t\n\t// hrd\n\t\n\tfunction isSingleHRDConnection(m) {\n\t return isADEnabled(m) && l.connections(m).count() === 1;\n\t}\n\t\n\tfunction isHRDDomain(m, email) {\n\t return isEnterpriseDomain(m, email, [\"ad\", \"auth0-adldap\"]);\n\t}\n\t\n\tfunction toggleHRD(m, email) {\n\t if (email) {\n\t var username = l.defaultADUsernameFromEmailPrefix(m) ? (0, _email.emailLocalPart)(email) : email;\n\t\n\t m = (0, _username.setUsername)(m, username, \"username\", false);\n\t m = tset(m, \"hrdEmail\", email);\n\t } else {\n\t m = tremove(m, \"hrdEmail\");\n\t }\n\t\n\t return tset(m, \"hrd\", !!email);\n\t}\n\t\n\tfunction isHRDActive(m) {\n\t return tget(m, \"hrd\", isSingleHRDConnection(m));\n\t}\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global, process) {'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\texports.setupLock = setupLock;\n\texports.handleAuthCallback = handleAuthCallback;\n\texports.openLock = openLock;\n\texports.closeLock = closeLock;\n\texports.removeLock = removeLock;\n\texports.updateLock = updateLock;\n\texports.pinLoadingPane = pinLoadingPane;\n\texports.unpinLoadingPane = unpinLoadingPane;\n\texports.validateAndSubmit = validateAndSubmit;\n\texports.logIn = logIn;\n\texports.logInSuccess = logInSuccess;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _web_api = __webpack_require__(53);\n\t\n\tvar _web_api2 = _interopRequireDefault(_web_api);\n\t\n\tvar _index = __webpack_require__(12);\n\t\n\tvar _remote_data = __webpack_require__(296);\n\t\n\tvar _index2 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tvar _preload_utils = __webpack_require__(146);\n\t\n\tvar _container = __webpack_require__(142);\n\t\n\tvar _index3 = __webpack_require__(8);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction setupLock(id, clientID, domain, options, hookRunner, emitEventFn) {\n\t var m = l.setup(id, clientID, domain, options, hookRunner, emitEventFn);\n\t\n\t m = (0, _remote_data.syncRemoteData)(m);\n\t\n\t (0, _preload_utils.img)(l.ui.logo(m) || _container.defaultProps.logo);\n\t\n\t _web_api2.default.setupClient(id, clientID, domain, l.withAuthOptions(m, _extends({}, options, {\n\t popupOptions: l.ui.popupOptions(m)\n\t })));\n\t\n\t m = l.runHook(m, \"didInitialize\", options);\n\t\n\t (0, _index.swap)(_index.setEntity, \"lock\", id, m);\n\t\n\t return m;\n\t}\n\t\n\tfunction handleAuthCallback() {\n\t var hash = global.location.hash;\n\t\n\t var ms = (0, _index.read)(_index.getCollection, \"lock\");\n\t var parsed = ms.filter(function (m) {\n\t return l.auth.redirect(m) && parseHash(m, hash);\n\t });\n\t var keepHash = ms.filter(function (m) {\n\t return !l.hashCleanup(m);\n\t }).size > 0;\n\t\n\t if (parsed.size > 0 && !keepHash) {\n\t global.location.hash = \"\";\n\t }\n\t}\n\t\n\tfunction parseHash(m, hash) {\n\t var parsedHash = _web_api2.default.parseHash(l.id(m), hash);\n\t l.emitHashParsedEvent(m, parsedHash);\n\t\n\t var error = void 0,\n\t result = void 0;\n\t\n\t if (parsedHash) {\n\t if (parsedHash.error) {\n\t error = parsedHash;\n\t } else if (!parsedHash.hasOwnProperty(\"error\")) {\n\t // NOTE: if the url hash contains the string \"error\"\n\t // `parsedHash` will be the following object:\n\t // {error: undefined, error_description: undefined}\n\t // That is why we make the additional check for the error\n\t // property to ensure we actually have a result.\n\t result = parsedHash;\n\t }\n\t\n\t if (error) {\n\t l.emitAuthorizationErrorEvent(m, error);\n\t } else if (result) {\n\t l.emitAuthenticatedEvent(m, result);\n\t }\n\t }\n\t\n\t return !!(error || result);\n\t}\n\t\n\tfunction openLock(id, opts) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t if (!m) {\n\t throw new Error(\"The Lock can't be opened again after it has been destroyed\");\n\t }\n\t\n\t if (l.rendering(m)) {\n\t return false;\n\t }\n\t\n\t if (opts.flashMessage) {\n\t if (!opts.flashMessage.type || ['error', 'success'].indexOf(opts.flashMessage.type) === -1) {\n\t return l.emitUnrecoverableErrorEvent(m, \"'flashMessage' must provide a valid type ['error','success']\");\n\t }\n\t if (!opts.flashMessage.text) {\n\t return l.emitUnrecoverableErrorEvent(m, \"'flashMessage' must provide a text\");\n\t }\n\t }\n\t\n\t l.emitEvent(m, \"show\");\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t m = l.overrideOptions(m, opts);\n\t m = l.filterConnections(m);\n\t m = l.runHook(m, \"willShow\", opts);\n\t return l.render(m);\n\t });\n\t\n\t return true;\n\t}\n\t\n\tfunction closeLock(id) {\n\t var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\t var callback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {};\n\t\n\t // Do nothing when the Lock can't be closed, unless closing is forced.\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t if (!l.ui.closable(m) && !force || !l.rendering(m)) {\n\t return;\n\t }\n\t\n\t l.emitEvent(m, \"hide\");\n\t\n\t // If it is a modal, stop rendering an reset after a second,\n\t // otherwise just reset.\n\t if (l.ui.appendContainer(m)) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, l.stopRendering);\n\t\n\t setTimeout(function () {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t m = (0, _index3.hideInvalidFields)(m);\n\t m = l.reset(m);\n\t return m;\n\t });\n\t m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t callback(m);\n\t }, 1000);\n\t } else {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t m = (0, _index3.hideInvalidFields)(m);\n\t m = l.reset(m);\n\t return m;\n\t });\n\t callback(m);\n\t }\n\t}\n\t\n\tfunction removeLock(id) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, l.stopRendering);\n\t (0, _index.swap)(_index.removeEntity, \"lock\", id);\n\t}\n\t\n\tfunction updateLock(id, f) {\n\t return (0, _index.swap)(_index.updateEntity, \"lock\", id, f);\n\t}\n\t\n\tfunction pinLoadingPane(id) {\n\t var lock = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t if (!lock.get(\"isLoadingPanePinned\")) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t return m.set(\"isLoadingPanePinned\", true);\n\t });\n\t }\n\t}\n\t\n\tfunction unpinLoadingPane(id) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t return m.set(\"isLoadingPanePinned\", false);\n\t });\n\t}\n\t\n\tfunction validateAndSubmit(id) {\n\t var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\t var f = arguments[2];\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t var allFieldsValid = fields.reduce(function (r, x) {\n\t return r && (0, _index3.isFieldValid)(m, x);\n\t }, true);\n\t return allFieldsValid ? l.setSubmitting(m, true) : fields.reduce(function (r, x) {\n\t return (0, _index3.showInvalidField)(r, x);\n\t }, m);\n\t });\n\t\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t if (l.submitting(m)) {\n\t f(m);\n\t }\n\t}\n\t\n\tfunction logIn(id, fields) {\n\t var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\t var logInErrorHandler = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : function (_id, error, _fields, next) {\n\t return next();\n\t };\n\t\n\t\n\t validateAndSubmit(id, fields, function (m) {\n\t _web_api2.default.logIn(id, params, l.auth.params(m).toJS(), function (error, result) {\n\t if (error) {\n\t setTimeout(function () {\n\t return logInError(id, fields, error, logInErrorHandler);\n\t }, 250);\n\t } else {\n\t logInSuccess(id, result);\n\t }\n\t });\n\t });\n\t}\n\t\n\tfunction logInSuccess(id, result) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t\n\t if (!l.ui.autoclose(m)) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t m = l.setSubmitting(m, false);\n\t return l.setLoggedIn(m, true);\n\t });\n\t l.emitAuthenticatedEvent(m, result);\n\t } else {\n\t closeLock(id, false, function (m1) {\n\t return l.emitAuthenticatedEvent(m1, result);\n\t });\n\t }\n\t}\n\t\n\tfunction logInError(id, fields, error, localHandler) {\n\t localHandler(id, error, fields, function () {\n\t return process.nextTick(function () {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t var errorMessage = l.loginErrorMessage(m, error, loginType(fields));\n\t\n\t if ([\"blocked_user\", \"rule_error\", \"lock.unauthorized\"].indexOf(error.code) > -1) {\n\t l.emitAuthorizationErrorEvent(m, error);\n\t }\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, l.setSubmitting, false, errorMessage);\n\t });\n\t });\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, l.setSubmitting, false);\n\t}\n\t\n\tfunction loginType(fields) {\n\t if (!fields) return;\n\t if (~fields.indexOf(\"vcode\")) return \"code\";\n\t if (~fields.indexOf(\"username\")) return \"username\";\n\t if (~fields.indexOf(\"email\")) return \"email\";\n\t}\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(29)))\n\n/***/ },\n/* 25 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports = module.exports = trim;\n\t\n\tfunction trim(str) {\n\t return str.replace(/^\\s*|\\s*$/g, '');\n\t}\n\t\n\texports.left = function (str) {\n\t return str.replace(/^\\s*/, '');\n\t};\n\t\n\texports.right = function (str) {\n\t return str.replace(/\\s*$/, '');\n\t};\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.validateEmail = validateEmail;\n\texports.setEmail = setEmail;\n\texports.emailDomain = emailDomain;\n\texports.emailLocalPart = emailLocalPart;\n\t\n\tvar _trim = __webpack_require__(25);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar _string_utils = __webpack_require__(91);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar regExp = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\t\n\tfunction validateEmail(str) {\n\t var result = regExp.exec((0, _trim2.default)(str.toLowerCase()));\n\t return result && result[0];\n\t}\n\t\n\tfunction setEmail(m, str) {\n\t return (0, _index.setField)(m, \"email\", str, validateEmail);\n\t}\n\t\n\tfunction emailDomain(str) {\n\t var result = regExp.exec((0, _trim2.default)(str.toLowerCase()));\n\t return result ? result.slice(-2)[0] : \"\";\n\t}\n\t\n\tfunction emailLocalPart(str) {\n\t var domain = emailDomain(str);\n\t return domain ? str.slice(0, -1 - domain.length) : str;\n\t}\n\n/***/ },\n/* 27 */\n[331, 4, 3],\n/* 28 */\n3,\n/* 29 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\tfunction defaultSetTimout() {\n\t throw new Error('setTimeout has not been defined');\n\t}\n\tfunction defaultClearTimeout() {\n\t throw new Error('clearTimeout has not been defined');\n\t}\n\t(function () {\n\t try {\n\t if (typeof setTimeout === 'function') {\n\t cachedSetTimeout = setTimeout;\n\t } else {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t } catch (e) {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t try {\n\t if (typeof clearTimeout === 'function') {\n\t cachedClearTimeout = clearTimeout;\n\t } else {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t } catch (e) {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t})();\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t // if setTimeout wasn't available but was latter defined\n\t if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n\t cachedSetTimeout = setTimeout;\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch (e) {\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch (e) {\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t // if clearTimeout wasn't available but was latter defined\n\t if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n\t cachedClearTimeout = clearTimeout;\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e) {\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e) {\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while (len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () {\n\t return '/';\n\t};\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function () {\n\t return 0;\n\t};\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.renderSignedInConfirmation = renderSignedInConfirmation;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _success_pane = __webpack_require__(87);\n\t\n\tvar _success_pane2 = _interopRequireDefault(_success_pane);\n\t\n\tvar _actions = __webpack_require__(24);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t// TODO: can't we get this from pops?\n\t\n\tvar SignedInConfirmation = function (_React$Component) {\n\t _inherits(SignedInConfirmation, _React$Component);\n\t\n\t function SignedInConfirmation() {\n\t _classCallCheck(this, SignedInConfirmation);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t SignedInConfirmation.prototype.handleClose = function handleClose() {\n\t var _props = this.props,\n\t closeHandler = _props.closeHandler,\n\t lock = _props.lock;\n\t\n\t closeHandler(l.id(lock));\n\t };\n\t\n\t SignedInConfirmation.prototype.render = function render() {\n\t var lock = this.props.lock;\n\t\n\t var closeHandler = l.ui.closable(lock) ? this.handleClose.bind(this) : undefined;\n\t\n\t return _react2.default.createElement(\n\t _success_pane2.default,\n\t { closeHandler: closeHandler },\n\t _react2.default.createElement(\n\t 'p',\n\t null,\n\t i18n.html(lock, [\"success\", \"logIn\"])\n\t )\n\t );\n\t };\n\t\n\t return SignedInConfirmation;\n\t}(_react2.default.Component);\n\t\n\texports.default = SignedInConfirmation;\n\t\n\t\n\tSignedInConfirmation.propTypes = {\n\t closeHandler: _react2.default.PropTypes.func.isRequired,\n\t lock: _react2.default.PropTypes.object.isRequired\n\t};\n\t\n\tfunction renderSignedInConfirmation(lock) {\n\t var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\t\n\t props.closeHandler = _actions.closeLock;\n\t props.key = \"auxiliarypane\";\n\t props.lock = lock;\n\t\n\t return l.loggedIn(lock) ? _react2.default.createElement(SignedInConfirmation, props) : null;\n\t}\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMNamespaces = __webpack_require__(59);\n\tvar setInnerHTML = __webpack_require__(51);\n\t\n\tvar createMicrosoftUnsafeLocalFunction = __webpack_require__(67);\n\tvar setTextContent = __webpack_require__(117);\n\t\n\tvar ELEMENT_NODE_TYPE = 1;\n\tvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\t\n\t/**\n\t * In IE (8-11) and Edge, appending nodes with no children is dramatically\n\t * faster than appending a full subtree, so we essentially queue up the\n\t * .appendChild calls here and apply them so each node is added to its parent\n\t * before any children are added.\n\t *\n\t * In other browsers, doing so is slower or neutral compared to the other order\n\t * (in Firefox, twice as slow) so we only do this inversion in IE.\n\t *\n\t * See https://github.com/spicyj/innerhtml-vs-createelement-vs-clonenode.\n\t */\n\tvar enableLazy = typeof document !== 'undefined' && typeof document.documentMode === 'number' || typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string' && /\\bEdge\\/\\d/.test(navigator.userAgent);\n\t\n\tfunction insertTreeChildren(tree) {\n\t if (!enableLazy) {\n\t return;\n\t }\n\t var node = tree.node;\n\t var children = tree.children;\n\t if (children.length) {\n\t for (var i = 0; i < children.length; i++) {\n\t insertTreeBefore(node, children[i], null);\n\t }\n\t } else if (tree.html != null) {\n\t setInnerHTML(node, tree.html);\n\t } else if (tree.text != null) {\n\t setTextContent(node, tree.text);\n\t }\n\t}\n\t\n\tvar insertTreeBefore = createMicrosoftUnsafeLocalFunction(function (parentNode, tree, referenceNode) {\n\t // DocumentFragments aren't actually part of the DOM after insertion so\n\t // appending children won't update the DOM. We need to ensure the fragment\n\t // is properly populated first, breaking out of our lazy approach for just\n\t // this level. Also, some <object> plugins (like Flash Player) will read\n\t // <param> nodes immediately upon insertion into the DOM, so <object>\n\t // must also be populated prior to insertion into the DOM.\n\t if (tree.node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE || tree.node.nodeType === ELEMENT_NODE_TYPE && tree.node.nodeName.toLowerCase() === 'object' && (tree.node.namespaceURI == null || tree.node.namespaceURI === DOMNamespaces.html)) {\n\t insertTreeChildren(tree);\n\t parentNode.insertBefore(tree.node, referenceNode);\n\t } else {\n\t parentNode.insertBefore(tree.node, referenceNode);\n\t insertTreeChildren(tree);\n\t }\n\t});\n\t\n\tfunction replaceChildWithTree(oldNode, newTree) {\n\t oldNode.parentNode.replaceChild(newTree.node, oldNode);\n\t insertTreeChildren(newTree);\n\t}\n\t\n\tfunction queueChild(parentTree, childTree) {\n\t if (enableLazy) {\n\t parentTree.children.push(childTree);\n\t } else {\n\t parentTree.node.appendChild(childTree.node);\n\t }\n\t}\n\t\n\tfunction queueHTML(tree, html) {\n\t if (enableLazy) {\n\t tree.html = html;\n\t } else {\n\t setInnerHTML(tree.node, html);\n\t }\n\t}\n\t\n\tfunction queueText(tree, text) {\n\t if (enableLazy) {\n\t tree.text = text;\n\t } else {\n\t setTextContent(tree.node, text);\n\t }\n\t}\n\t\n\tfunction toString() {\n\t return this.node.nodeName;\n\t}\n\t\n\tfunction DOMLazyTree(node) {\n\t return {\n\t node: node,\n\t children: [],\n\t html: null,\n\t text: null,\n\t toString: toString\n\t };\n\t}\n\t\n\tDOMLazyTree.insertTreeBefore = insertTreeBefore;\n\tDOMLazyTree.replaceChildWithTree = replaceChildWithTree;\n\tDOMLazyTree.queueChild = queueChild;\n\tDOMLazyTree.queueHTML = queueHTML;\n\tDOMLazyTree.queueText = queueText;\n\t\n\tmodule.exports = DOMLazyTree;\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\tfunction checkMask(value, bitmask) {\n\t return (value & bitmask) === bitmask;\n\t}\n\t\n\tvar DOMPropertyInjection = {\n\t /**\n\t * Mapping from normalized, camelcased property names to a configuration that\n\t * specifies how the associated DOM property should be accessed or rendered.\n\t */\n\t MUST_USE_PROPERTY: 0x1,\n\t HAS_BOOLEAN_VALUE: 0x4,\n\t HAS_NUMERIC_VALUE: 0x8,\n\t HAS_POSITIVE_NUMERIC_VALUE: 0x10 | 0x8,\n\t HAS_OVERLOADED_BOOLEAN_VALUE: 0x20,\n\t\n\t /**\n\t * Inject some specialized knowledge about the DOM. This takes a config object\n\t * with the following properties:\n\t *\n\t * isCustomAttribute: function that given an attribute name will return true\n\t * if it can be inserted into the DOM verbatim. Useful for data-* or aria-*\n\t * attributes where it's impossible to enumerate all of the possible\n\t * attribute names,\n\t *\n\t * Properties: object mapping DOM property name to one of the\n\t * DOMPropertyInjection constants or null. If your attribute isn't in here,\n\t * it won't get written to the DOM.\n\t *\n\t * DOMAttributeNames: object mapping React attribute name to the DOM\n\t * attribute name. Attribute names not specified use the **lowercase**\n\t * normalized name.\n\t *\n\t * DOMAttributeNamespaces: object mapping React attribute name to the DOM\n\t * attribute namespace URL. (Attribute names not specified use no namespace.)\n\t *\n\t * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.\n\t * Property names not specified use the normalized name.\n\t *\n\t * DOMMutationMethods: Properties that require special mutation methods. If\n\t * `value` is undefined, the mutation method should unset the property.\n\t *\n\t * @param {object} domPropertyConfig the config as described above.\n\t */\n\t injectDOMPropertyConfig: function injectDOMPropertyConfig(domPropertyConfig) {\n\t var Injection = DOMPropertyInjection;\n\t var Properties = domPropertyConfig.Properties || {};\n\t var DOMAttributeNamespaces = domPropertyConfig.DOMAttributeNamespaces || {};\n\t var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {};\n\t var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {};\n\t var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {};\n\t\n\t if (domPropertyConfig.isCustomAttribute) {\n\t DOMProperty._isCustomAttributeFunctions.push(domPropertyConfig.isCustomAttribute);\n\t }\n\t\n\t for (var propName in Properties) {\n\t !!DOMProperty.properties.hasOwnProperty(propName) ? false ? invariant(false, 'injectDOMPropertyConfig(...): You\\'re trying to inject DOM property \\'%s\\' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.', propName) : _prodInvariant('48', propName) : void 0;\n\t\n\t var lowerCased = propName.toLowerCase();\n\t var propConfig = Properties[propName];\n\t\n\t var propertyInfo = {\n\t attributeName: lowerCased,\n\t attributeNamespace: null,\n\t propertyName: propName,\n\t mutationMethod: null,\n\t\n\t mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY),\n\t hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE),\n\t hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE),\n\t hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),\n\t hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)\n\t };\n\t !(propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue + propertyInfo.hasOverloadedBooleanValue <= 1) ? false ? invariant(false, 'DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s', propName) : _prodInvariant('50', propName) : void 0;\n\t\n\t if (false) {\n\t DOMProperty.getPossibleStandardName[lowerCased] = propName;\n\t }\n\t\n\t if (DOMAttributeNames.hasOwnProperty(propName)) {\n\t var attributeName = DOMAttributeNames[propName];\n\t propertyInfo.attributeName = attributeName;\n\t if (false) {\n\t DOMProperty.getPossibleStandardName[attributeName] = propName;\n\t }\n\t }\n\t\n\t if (DOMAttributeNamespaces.hasOwnProperty(propName)) {\n\t propertyInfo.attributeNamespace = DOMAttributeNamespaces[propName];\n\t }\n\t\n\t if (DOMPropertyNames.hasOwnProperty(propName)) {\n\t propertyInfo.propertyName = DOMPropertyNames[propName];\n\t }\n\t\n\t if (DOMMutationMethods.hasOwnProperty(propName)) {\n\t propertyInfo.mutationMethod = DOMMutationMethods[propName];\n\t }\n\t\n\t DOMProperty.properties[propName] = propertyInfo;\n\t }\n\t }\n\t};\n\t\n\t/* eslint-disable max-len */\n\tvar ATTRIBUTE_NAME_START_CHAR = ':A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\n\t/* eslint-enable max-len */\n\t\n\t/**\n\t * DOMProperty exports lookup objects that can be used like functions:\n\t *\n\t * > DOMProperty.isValid['id']\n\t * true\n\t * > DOMProperty.isValid['foobar']\n\t * undefined\n\t *\n\t * Although this may be confusing, it performs better in general.\n\t *\n\t * @see http://jsperf.com/key-exists\n\t * @see http://jsperf.com/key-missing\n\t */\n\tvar DOMProperty = {\n\t\n\t ID_ATTRIBUTE_NAME: 'data-reactid',\n\t ROOT_ATTRIBUTE_NAME: 'data-reactroot',\n\t\n\t ATTRIBUTE_NAME_START_CHAR: ATTRIBUTE_NAME_START_CHAR,\n\t ATTRIBUTE_NAME_CHAR: ATTRIBUTE_NAME_START_CHAR + '\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040',\n\t\n\t /**\n\t * Map from property \"standard name\" to an object with info about how to set\n\t * the property in the DOM. Each object contains:\n\t *\n\t * attributeName:\n\t * Used when rendering markup or with `*Attribute()`.\n\t * attributeNamespace\n\t * propertyName:\n\t * Used on DOM node instances. (This includes properties that mutate due to\n\t * external factors.)\n\t * mutationMethod:\n\t * If non-null, used instead of the property or `setAttribute()` after\n\t * initial render.\n\t * mustUseProperty:\n\t * Whether the property must be accessed and mutated as an object property.\n\t * hasBooleanValue:\n\t * Whether the property should be removed when set to a falsey value.\n\t * hasNumericValue:\n\t * Whether the property must be numeric or parse as a numeric and should be\n\t * removed when set to a falsey value.\n\t * hasPositiveNumericValue:\n\t * Whether the property must be positive numeric or parse as a positive\n\t * numeric and should be removed when set to a falsey value.\n\t * hasOverloadedBooleanValue:\n\t * Whether the property can be used as a flag as well as with a value.\n\t * Removed when strictly equal to false; present without a value when\n\t * strictly equal to true; present with a value otherwise.\n\t */\n\t properties: {},\n\t\n\t /**\n\t * Mapping from lowercase property names to the properly cased version, used\n\t * to warn in the case of missing properties. Available only in __DEV__.\n\t *\n\t * autofocus is predefined, because adding it to the property whitelist\n\t * causes unintended side effects.\n\t *\n\t * @type {Object}\n\t */\n\t getPossibleStandardName: false ? { autofocus: 'autoFocus' } : null,\n\t\n\t /**\n\t * All of the isCustomAttribute() functions that have been injected.\n\t */\n\t _isCustomAttributeFunctions: [],\n\t\n\t /**\n\t * Checks whether a property name is a custom attribute.\n\t * @method\n\t */\n\t isCustomAttribute: function isCustomAttribute(attributeName) {\n\t for (var i = 0; i < DOMProperty._isCustomAttributeFunctions.length; i++) {\n\t var isCustomAttributeFn = DOMProperty._isCustomAttributeFunctions[i];\n\t if (isCustomAttributeFn(attributeName)) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t },\n\t\n\t injection: DOMPropertyInjection\n\t};\n\t\n\tmodule.exports = DOMProperty;\n\n/***/ },\n/* 33 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * `ReactInstanceMap` maintains a mapping from a public facing stateful\n\t * instance (key) and the internal representation (value). This allows public\n\t * methods to accept the user facing instance as an argument and map them back\n\t * to internal methods.\n\t */\n\t\n\t// TODO: Replace this with ES6: var ReactInstanceMap = new Map();\n\t\n\tvar ReactInstanceMap = {\n\t\n\t /**\n\t * This API should be called `delete` but we'd have to make sure to always\n\t * transform these to strings for IE support. When this transform is fully\n\t * supported we can rename it.\n\t */\n\t remove: function remove(key) {\n\t key._reactInternalInstance = undefined;\n\t },\n\t\n\t get: function get(key) {\n\t return key._reactInternalInstance;\n\t },\n\t\n\t has: function has(key) {\n\t return key._reactInternalInstance !== undefined;\n\t },\n\t\n\t set: function set(key, value) {\n\t key._reactInternalInstance = value;\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactInstanceMap;\n\n/***/ },\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactRef = __webpack_require__(222);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\t\n\tvar warning = __webpack_require__(5);\n\t\n\t/**\n\t * Helper to call ReactRef.attachRefs with this composite component, split out\n\t * to avoid allocations in the transaction mount-ready queue.\n\t */\n\tfunction attachRefs() {\n\t ReactRef.attachRefs(this, this._currentElement);\n\t}\n\t\n\tvar ReactReconciler = {\n\t\n\t /**\n\t * Initializes the component, renders markup, and registers event listeners.\n\t *\n\t * @param {ReactComponent} internalInstance\n\t * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n\t * @param {?object} the containing host component instance\n\t * @param {?object} info about the host container\n\t * @return {?string} Rendered markup to be inserted into the DOM.\n\t * @final\n\t * @internal\n\t */\n\t mountComponent: function mountComponent(internalInstance, transaction, hostParent, hostContainerInfo, context, parentDebugID // 0 in production and for roots\n\t ) {\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onBeforeMountComponent(internalInstance._debugID, internalInstance._currentElement, parentDebugID);\n\t }\n\t }\n\t var markup = internalInstance.mountComponent(transaction, hostParent, hostContainerInfo, context, parentDebugID);\n\t if (internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n\t transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n\t }\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onMountComponent(internalInstance._debugID);\n\t }\n\t }\n\t return markup;\n\t },\n\t\n\t /**\n\t * Returns a value that can be passed to\n\t * ReactComponentEnvironment.replaceNodeWithMarkup.\n\t */\n\t getHostNode: function getHostNode(internalInstance) {\n\t return internalInstance.getHostNode();\n\t },\n\t\n\t /**\n\t * Releases any resources allocated by `mountComponent`.\n\t *\n\t * @final\n\t * @internal\n\t */\n\t unmountComponent: function unmountComponent(internalInstance, safely) {\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onBeforeUnmountComponent(internalInstance._debugID);\n\t }\n\t }\n\t ReactRef.detachRefs(internalInstance, internalInstance._currentElement);\n\t internalInstance.unmountComponent(safely);\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onUnmountComponent(internalInstance._debugID);\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * Update a component using a new element.\n\t *\n\t * @param {ReactComponent} internalInstance\n\t * @param {ReactElement} nextElement\n\t * @param {ReactReconcileTransaction} transaction\n\t * @param {object} context\n\t * @internal\n\t */\n\t receiveComponent: function receiveComponent(internalInstance, nextElement, transaction, context) {\n\t var prevElement = internalInstance._currentElement;\n\t\n\t if (nextElement === prevElement && context === internalInstance._context) {\n\t // Since elements are immutable after the owner is rendered,\n\t // we can do a cheap identity compare here to determine if this is a\n\t // superfluous reconcile. It's possible for state to be mutable but such\n\t // change should trigger an update of the owner which would recreate\n\t // the element. We explicitly check for the existence of an owner since\n\t // it's possible for an element created outside a composite to be\n\t // deeply mutated and reused.\n\t\n\t // TODO: Bailing out early is just a perf optimization right?\n\t // TODO: Removing the return statement should affect correctness?\n\t return;\n\t }\n\t\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, nextElement);\n\t }\n\t }\n\t\n\t var refsChanged = ReactRef.shouldUpdateRefs(prevElement, nextElement);\n\t\n\t if (refsChanged) {\n\t ReactRef.detachRefs(internalInstance, prevElement);\n\t }\n\t\n\t internalInstance.receiveComponent(nextElement, transaction, context);\n\t\n\t if (refsChanged && internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n\t transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n\t }\n\t\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * Flush any dirty changes in a component.\n\t *\n\t * @param {ReactComponent} internalInstance\n\t * @param {ReactReconcileTransaction} transaction\n\t * @internal\n\t */\n\t performUpdateIfNecessary: function performUpdateIfNecessary(internalInstance, transaction, updateBatchNumber) {\n\t if (internalInstance._updateBatchNumber !== updateBatchNumber) {\n\t // The component's enqueued batch number should always be the current\n\t // batch or the following one.\n\t false ? warning(internalInstance._updateBatchNumber == null || internalInstance._updateBatchNumber === updateBatchNumber + 1, 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)', updateBatchNumber, internalInstance._updateBatchNumber) : void 0;\n\t return;\n\t }\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, internalInstance._currentElement);\n\t }\n\t }\n\t internalInstance.performUpdateIfNecessary(transaction);\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n\t }\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactReconciler;\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _assign = __webpack_require__(37);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\t\n\tvar warning = __webpack_require__(22);\n\tvar canDefineProperty = __webpack_require__(127);\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\t\n\tvar REACT_ELEMENT_TYPE = __webpack_require__(125);\n\t\n\tvar RESERVED_PROPS = {\n\t key: true,\n\t ref: true,\n\t __self: true,\n\t __source: true\n\t};\n\t\n\tvar specialPropKeyWarningShown, specialPropRefWarningShown;\n\t\n\tfunction hasValidRef(config) {\n\t if (false) {\n\t if (hasOwnProperty.call(config, 'ref')) {\n\t var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\t if (getter && getter.isReactWarning) {\n\t return false;\n\t }\n\t }\n\t }\n\t return config.ref !== undefined;\n\t}\n\t\n\tfunction hasValidKey(config) {\n\t if (false) {\n\t if (hasOwnProperty.call(config, 'key')) {\n\t var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\t if (getter && getter.isReactWarning) {\n\t return false;\n\t }\n\t }\n\t }\n\t return config.key !== undefined;\n\t}\n\t\n\tfunction defineKeyPropWarningGetter(props, displayName) {\n\t var warnAboutAccessingKey = function warnAboutAccessingKey() {\n\t if (!specialPropKeyWarningShown) {\n\t specialPropKeyWarningShown = true;\n\t false ? warning(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0;\n\t }\n\t };\n\t warnAboutAccessingKey.isReactWarning = true;\n\t Object.defineProperty(props, 'key', {\n\t get: warnAboutAccessingKey,\n\t configurable: true\n\t });\n\t}\n\t\n\tfunction defineRefPropWarningGetter(props, displayName) {\n\t var warnAboutAccessingRef = function warnAboutAccessingRef() {\n\t if (!specialPropRefWarningShown) {\n\t specialPropRefWarningShown = true;\n\t false ? warning(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0;\n\t }\n\t };\n\t warnAboutAccessingRef.isReactWarning = true;\n\t Object.defineProperty(props, 'ref', {\n\t get: warnAboutAccessingRef,\n\t configurable: true\n\t });\n\t}\n\t\n\t/**\n\t * Factory method to create a new React element. This no longer adheres to\n\t * the class pattern, so do not use new to call it. Also, no instanceof check\n\t * will work. Instead test $$typeof field against Symbol.for('react.element') to check\n\t * if something is a React Element.\n\t *\n\t * @param {*} type\n\t * @param {*} key\n\t * @param {string|object} ref\n\t * @param {*} self A *temporary* helper to detect places where `this` is\n\t * different from the `owner` when React.createElement is called, so that we\n\t * can warn. We want to get rid of owner and replace string `ref`s with arrow\n\t * functions, and as long as `this` and owner are the same, there will be no\n\t * change in behavior.\n\t * @param {*} source An annotation object (added by a transpiler or otherwise)\n\t * indicating filename, line number, and/or other information.\n\t * @param {*} owner\n\t * @param {*} props\n\t * @internal\n\t */\n\tvar ReactElement = function ReactElement(type, key, ref, self, source, owner, props) {\n\t var element = {\n\t // This tag allow us to uniquely identify this as a React Element\n\t $$typeof: REACT_ELEMENT_TYPE,\n\t\n\t // Built-in properties that belong on the element\n\t type: type,\n\t key: key,\n\t ref: ref,\n\t props: props,\n\t\n\t // Record the component responsible for creating this element.\n\t _owner: owner\n\t };\n\t\n\t if (false) {\n\t // The validation flag is currently mutative. We put it on\n\t // an external backing store so that we can freeze the whole object.\n\t // This can be replaced with a WeakMap once they are implemented in\n\t // commonly used development environments.\n\t element._store = {};\n\t\n\t // To make comparing ReactElements easier for testing purposes, we make\n\t // the validation flag non-enumerable (where possible, which should\n\t // include every environment we run tests in), so the test framework\n\t // ignores it.\n\t if (canDefineProperty) {\n\t Object.defineProperty(element._store, 'validated', {\n\t configurable: false,\n\t enumerable: false,\n\t writable: true,\n\t value: false\n\t });\n\t // self and source are DEV only properties.\n\t Object.defineProperty(element, '_self', {\n\t configurable: false,\n\t enumerable: false,\n\t writable: false,\n\t value: self\n\t });\n\t // Two elements created in two different places should be considered\n\t // equal for testing purposes and therefore we hide it from enumeration.\n\t Object.defineProperty(element, '_source', {\n\t configurable: false,\n\t enumerable: false,\n\t writable: false,\n\t value: source\n\t });\n\t } else {\n\t element._store.validated = false;\n\t element._self = self;\n\t element._source = source;\n\t }\n\t if (Object.freeze) {\n\t Object.freeze(element.props);\n\t Object.freeze(element);\n\t }\n\t }\n\t\n\t return element;\n\t};\n\t\n\t/**\n\t * Create and return a new ReactElement of the given type.\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.createelement\n\t */\n\tReactElement.createElement = function (type, config, children) {\n\t var propName;\n\t\n\t // Reserved names are extracted\n\t var props = {};\n\t\n\t var key = null;\n\t var ref = null;\n\t var self = null;\n\t var source = null;\n\t\n\t if (config != null) {\n\t if (hasValidRef(config)) {\n\t ref = config.ref;\n\t }\n\t if (hasValidKey(config)) {\n\t key = '' + config.key;\n\t }\n\t\n\t self = config.__self === undefined ? null : config.__self;\n\t source = config.__source === undefined ? null : config.__source;\n\t // Remaining properties are added to a new props object\n\t for (propName in config) {\n\t if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n\t props[propName] = config[propName];\n\t }\n\t }\n\t }\n\t\n\t // Children can be more than one argument, and those are transferred onto\n\t // the newly allocated props object.\n\t var childrenLength = arguments.length - 2;\n\t if (childrenLength === 1) {\n\t props.children = children;\n\t } else if (childrenLength > 1) {\n\t var childArray = Array(childrenLength);\n\t for (var i = 0; i < childrenLength; i++) {\n\t childArray[i] = arguments[i + 2];\n\t }\n\t if (false) {\n\t if (Object.freeze) {\n\t Object.freeze(childArray);\n\t }\n\t }\n\t props.children = childArray;\n\t }\n\t\n\t // Resolve default props\n\t if (type && type.defaultProps) {\n\t var defaultProps = type.defaultProps;\n\t for (propName in defaultProps) {\n\t if (props[propName] === undefined) {\n\t props[propName] = defaultProps[propName];\n\t }\n\t }\n\t }\n\t if (false) {\n\t if (key || ref) {\n\t if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) {\n\t var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\t if (key) {\n\t defineKeyPropWarningGetter(props, displayName);\n\t }\n\t if (ref) {\n\t defineRefPropWarningGetter(props, displayName);\n\t }\n\t }\n\t }\n\t }\n\t return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n\t};\n\t\n\t/**\n\t * Return a function that produces ReactElements of a given type.\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.createfactory\n\t */\n\tReactElement.createFactory = function (type) {\n\t var factory = ReactElement.createElement.bind(null, type);\n\t // Expose the type on the factory and the prototype so that it can be\n\t // easily accessed on elements. E.g. `<Foo />.type === Foo`.\n\t // This should not be named `constructor` since this may not be the function\n\t // that created the element, and it may not even be a constructor.\n\t // Legacy hook TODO: Warn if this is accessed\n\t factory.type = type;\n\t return factory;\n\t};\n\t\n\tReactElement.cloneAndReplaceKey = function (oldElement, newKey) {\n\t var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);\n\t\n\t return newElement;\n\t};\n\t\n\t/**\n\t * Clone and return a new ReactElement using element as the starting point.\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.cloneelement\n\t */\n\tReactElement.cloneElement = function (element, config, children) {\n\t var propName;\n\t\n\t // Original props are copied\n\t var props = _assign({}, element.props);\n\t\n\t // Reserved names are extracted\n\t var key = element.key;\n\t var ref = element.ref;\n\t // Self is preserved since the owner is preserved.\n\t var self = element._self;\n\t // Source is preserved since cloneElement is unlikely to be targeted by a\n\t // transpiler, and the original source is probably a better indicator of the\n\t // true owner.\n\t var source = element._source;\n\t\n\t // Owner will be preserved, unless ref is overridden\n\t var owner = element._owner;\n\t\n\t if (config != null) {\n\t if (hasValidRef(config)) {\n\t // Silently steal the ref from the parent.\n\t ref = config.ref;\n\t owner = ReactCurrentOwner.current;\n\t }\n\t if (hasValidKey(config)) {\n\t key = '' + config.key;\n\t }\n\t\n\t // Remaining properties override existing props\n\t var defaultProps;\n\t if (element.type && element.type.defaultProps) {\n\t defaultProps = element.type.defaultProps;\n\t }\n\t for (propName in config) {\n\t if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n\t if (config[propName] === undefined && defaultProps !== undefined) {\n\t // Resolve default props\n\t props[propName] = defaultProps[propName];\n\t } else {\n\t props[propName] = config[propName];\n\t }\n\t }\n\t }\n\t }\n\t\n\t // Children can be more than one argument, and those are transferred onto\n\t // the newly allocated props object.\n\t var childrenLength = arguments.length - 2;\n\t if (childrenLength === 1) {\n\t props.children = children;\n\t } else if (childrenLength > 1) {\n\t var childArray = Array(childrenLength);\n\t for (var i = 0; i < childrenLength; i++) {\n\t childArray[i] = arguments[i + 2];\n\t }\n\t props.children = childArray;\n\t }\n\t\n\t return ReactElement(element.type, key, ref, self, source, owner, props);\n\t};\n\t\n\t/**\n\t * Verifies the object is a ReactElement.\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.isvalidelement\n\t * @param {?object} object\n\t * @return {boolean} True if `object` is a valid component.\n\t * @final\n\t */\n\tReactElement.isValidElement = function (object) {\n\t return (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n\t};\n\t\n\tmodule.exports = ReactElement;\n\n/***/ },\n/* 36 */\n4,\n/* 37 */\n7,\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.logIn = logIn;\n\texports.signUp = signUp;\n\texports.resetPassword = resetPassword;\n\texports.showLoginActivity = showLoginActivity;\n\texports.showSignUpActivity = showSignUpActivity;\n\texports.showResetPasswordActivity = showResetPasswordActivity;\n\texports.cancelResetPassword = cancelResetPassword;\n\texports.cancelMFALogin = cancelMFALogin;\n\texports.toggleTermsAcceptance = toggleTermsAcceptance;\n\texports.showLoginMFAActivity = showLoginMFAActivity;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _index = __webpack_require__(12);\n\t\n\tvar _web_api = __webpack_require__(53);\n\t\n\tvar _web_api2 = _interopRequireDefault(_web_api);\n\t\n\tvar _actions = __webpack_require__(24);\n\t\n\tvar _index2 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tvar _index3 = __webpack_require__(8);\n\t\n\tvar c = _interopRequireWildcard(_index3);\n\t\n\tvar _index4 = __webpack_require__(11);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction logIn(id) {\n\t var needsMFA = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\t\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t var usernameField = (0, _index4.databaseLogInWithEmail)(m) ? \"email\" : \"username\";\n\t var username = c.getFieldValue(m, usernameField);\n\t\n\t var params = {\n\t connection: (0, _index4.databaseConnectionName)(m),\n\t username: username,\n\t password: c.getFieldValue(m, \"password\")\n\t };\n\t\n\t var fields = [usernameField, \"password\"];\n\t\n\t var mfaCode = c.getFieldValue(m, \"mfa_code\");\n\t if (needsMFA) {\n\t params[\"mfa_code\"] = mfaCode;\n\t fields.push(\"mfa_code\");\n\t }\n\t\n\t (0, _actions.logIn)(id, fields, params, function (id, error, fields, next) {\n\t if (error.error === \"a0.mfa_required\") {\n\t return showLoginMFAActivity(id);\n\t }\n\t\n\t return next();\n\t });\n\t}\n\t\n\tfunction signUp(id) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t var fields = [\"email\", \"password\"];\n\t if ((0, _index4.databaseConnectionRequiresUsername)(m)) fields.push(\"username\");\n\t (0, _index4.additionalSignUpFields)(m).forEach(function (x) {\n\t return fields.push(x.get(\"name\"));\n\t });\n\t\n\t (0, _actions.validateAndSubmit)(id, fields, function (m) {\n\t var params = {\n\t connection: (0, _index4.databaseConnectionName)(m),\n\t email: c.getFieldValue(m, \"email\"),\n\t password: c.getFieldValue(m, \"password\"),\n\t autoLogin: (0, _index4.shouldAutoLogin)(m)\n\t };\n\t\n\t if ((0, _index4.databaseConnectionRequiresUsername)(m)) {\n\t params.username = c.getFieldValue(m, \"username\");\n\t }\n\t\n\t if (!(0, _index4.additionalSignUpFields)(m).isEmpty()) {\n\t params.user_metadata = {};\n\t (0, _index4.additionalSignUpFields)(m).forEach(function (x) {\n\t params.user_metadata[x.get(\"name\")] = c.getFieldValue(m, x.get(\"name\"));\n\t });\n\t }\n\t\n\t _web_api2.default.signUp(id, params, function (error) {\n\t if (error) {\n\t setTimeout(function () {\n\t return signUpError(id, error);\n\t }, 250);\n\t } else {\n\t signUpSuccess(id);\n\t }\n\t });\n\t });\n\t}\n\t\n\tfunction signUpSuccess(id) {\n\t var lock = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t\n\t if ((0, _index4.shouldAutoLogin)(lock)) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t return m.set(\"signedUp\", true);\n\t });\n\t\n\t // TODO: check options, redirect is missing\n\t var options = {\n\t connection: (0, _index4.databaseConnectionName)(lock),\n\t username: c.email(lock),\n\t password: c.password(lock)\n\t };\n\t\n\t return _web_api2.default.logIn(id, options, l.auth.params(lock).toJS(), function (error) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t if (error) {\n\t setTimeout(function () {\n\t return autoLogInError(id, error);\n\t }, 250);\n\t } else {\n\t _actions.logInSuccess.apply(undefined, [id].concat(args));\n\t }\n\t });\n\t }\n\t\n\t var autoclose = l.ui.autoclose(lock);\n\t\n\t if (!autoclose) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (lock) {\n\t return l.setSubmitting(lock, false).set(\"signedUp\", true);\n\t });\n\t } else {\n\t (0, _actions.closeLock)(id, false);\n\t }\n\t}\n\t\n\tfunction signUpError(id, error) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t\n\t var invalidPasswordKeys = {\n\t PasswordDictionaryError: \"password_dictionary_error\",\n\t PasswordNoUserInfoError: \"password_no_user_info_error\",\n\t PasswordStrengthError: \"password_strength_error\"\n\t };\n\t\n\t var errorKey = error.code === \"invalid_password\" && invalidPasswordKeys[error.details.name] || error.code;\n\t\n\t var errorMessage = i18n.str(m, [\"error\", \"signUp\", errorKey]) || i18n.str(m, [\"error\", \"signUp\", \"lock.fallback\"]);\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, l.setSubmitting, false, errorMessage);\n\t}\n\t\n\tfunction autoLogInError(id, error) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t if ((0, _index4.hasScreen)(m, \"login\")) {\n\t var errorMessage = l.loginErrorMessage(m, error);\n\t return l.setSubmitting((0, _index4.setScreen)(m, \"login\"), false, errorMessage);\n\t } else {\n\t var stopError = new Error(\"Autologin failed and no the login screen is not allowed.\");\n\t stopError.code = \"autologin_error\";\n\t stopError.origin = error;\n\t return l.setSubmitting(l.stop(m, stopError), false);\n\t }\n\t });\n\t}\n\t\n\tfunction resetPassword(id) {\n\t (0, _actions.validateAndSubmit)(id, [\"email\"], function (m) {\n\t var params = {\n\t connection: (0, _index4.databaseConnectionName)(m),\n\t email: c.getFieldValue(m, \"email\")\n\t };\n\t\n\t _web_api2.default.resetPassword(id, params, function (error) {\n\t if (error) {\n\t setTimeout(function () {\n\t return resetPasswordError(id, error);\n\t }, 250);\n\t } else {\n\t resetPasswordSuccess(id);\n\t }\n\t });\n\t });\n\t}\n\t\n\tfunction resetPasswordSuccess(id) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t if ((0, _index4.hasScreen)(m, \"login\")) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t return (0, _index4.setScreen)(l.setSubmitting(m, false), \"login\");\n\t });\n\t\n\t // TODO: should be handled by box\n\t setTimeout(function () {\n\t var successMessage = i18n.str(m, [\"success\", \"forgotPassword\"]);\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, l.setGlobalSuccess, successMessage);\n\t }, 500);\n\t } else {\n\t if (l.ui.autoclose(m)) {\n\t (0, _actions.closeLock)(id);\n\t } else {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t return l.setSubmitting(m, false).set(\"passwordResetted\", true);\n\t });\n\t }\n\t }\n\t}\n\t\n\tfunction resetPasswordError(id, error) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t\n\t var errorMessage = i18n.str(m, [\"error\", \"forgotPassword\", error.code]) || i18n.str(m, [\"error\", \"forgotPassword\", \"lock.fallback\"]);\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, l.setSubmitting, false, errorMessage);\n\t}\n\t\n\tfunction showLoginActivity(id) {\n\t var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [\"password\"];\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, _index4.setScreen, \"login\", fields);\n\t}\n\t\n\tfunction showSignUpActivity(id) {\n\t var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [\"password\"];\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, _index4.setScreen, \"signUp\", fields);\n\t}\n\t\n\tfunction showResetPasswordActivity(id) {\n\t var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [\"password\"];\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, _index4.setScreen, \"forgotPassword\", fields);\n\t}\n\t\n\tfunction cancelResetPassword(id) {\n\t return showLoginActivity(id);\n\t}\n\t\n\tfunction cancelMFALogin(id) {\n\t return showLoginActivity(id);\n\t}\n\t\n\tfunction toggleTermsAcceptance(id) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, _index4.toggleTermsAcceptance);\n\t}\n\t\n\tfunction showLoginMFAActivity(id) {\n\t var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [\"mfa_code\"];\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, _index4.setScreen, \"mfaLogin\", fields);\n\t}\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.STRATEGIES = undefined;\n\texports.initSocial = initSocial;\n\texports.displayName = displayName;\n\texports.processSocialOptions = processSocialOptions;\n\texports.socialConnections = socialConnections;\n\texports.authButtonsTheme = authButtonsTheme;\n\texports.useBigButtons = useBigButtons;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t// TODO: Android version also has \"unknonwn-social\", \"evernote\" and\n\t// \"evernote-sandbox\"\"evernote\" in the list, considers \"google-openid\"\n\t// to be enterprise and doesn't contain \"salesforce-community\". See\n\t// https://github.com/auth0/Lock.Android/blob/98262cb7110e5d1c8a97e1129faf2621c1d8d111/lock/src/main/java/com/auth0/android/lock/utils/Strategies.java\n\tvar STRATEGIES = exports.STRATEGIES = {\n\t \"amazon\": \"Amazon\",\n\t \"aol\": \"Aol\",\n\t \"baidu\": \"百度\",\n\t \"bitbucket\": \"Bitbucket\",\n\t \"box\": \"Box\",\n\t \"dropbox\": \"Dropbox\",\n\t \"dwolla\": \"Dwolla\",\n\t \"ebay\": \"ebay\",\n\t \"exact\": \"Exact\",\n\t \"facebook\": \"Facebook\",\n\t \"fitbit\": \"Fitbit\",\n\t \"github\": \"GitHub\",\n\t \"google-openid\": \"Google OpenId\",\n\t \"google-oauth2\": \"Google\",\n\t \"instagram\": \"Instagram\",\n\t \"linkedin\": \"LinkedIn\",\n\t \"miicard\": \"miiCard\",\n\t \"paypal\": \"PayPal\",\n\t \"planningcenter\": \"Planning Center\",\n\t \"renren\": \"人人\",\n\t \"salesforce\": \"Salesforce\",\n\t \"salesforce-community\": \"Salesforce Community\",\n\t \"salesforce-sandbox\": \"Salesforce (sandbox)\",\n\t \"shopify\": \"Shopify\",\n\t \"soundcloud\": \"Soundcloud\",\n\t \"thecity\": \"The City\",\n\t \"thecity-sandbox\": \"The City (sandbox)\",\n\t \"thirtysevensignals\": \"37 Signals\",\n\t \"twitter\": \"Twitter\",\n\t \"vkontakte\": \"vKontakte\",\n\t \"windowslive\": \"Microsoft Account\",\n\t \"wordpress\": \"Wordpress\",\n\t \"yahoo\": \"Yahoo!\",\n\t \"yammer\": \"Yammer\",\n\t \"yandex\": \"Yandex\",\n\t \"weibo\": \"新浪微博\"\n\t};\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"social\"]),\n\t get = _dataFns.get,\n\t tget = _dataFns.tget,\n\t initNS = _dataFns.initNS;\n\t\n\tfunction initSocial(m, options) {\n\t return initNS(m, _immutable2.default.fromJS(processSocialOptions(options)));\n\t}\n\t\n\tfunction displayName(connection) {\n\t if ([\"oauth1\", \"oauth2\"].indexOf(connection.get(\"strategy\")) !== -1) {\n\t return connection.get(\"name\");\n\t }\n\t return STRATEGIES[connection.get(\"strategy\")];\n\t}\n\t\n\tfunction processSocialOptions(options) {\n\t var result = {};\n\t var socialButtonStyle = options.socialButtonStyle;\n\t\n\t // TODO: emit warnings\n\t\n\t if ([\"big\", \"small\"].indexOf(socialButtonStyle) > -1) {\n\t result.socialButtonStyle = socialButtonStyle;\n\t }\n\t\n\t return result;\n\t}\n\t\n\tfunction socialConnections(m) {\n\t return l.connections(m, \"social\");\n\t}\n\t\n\tfunction authButtonsTheme(m) {\n\t return l.ui.authButtonsTheme(m);\n\t}\n\t\n\tfunction useBigButtons(m, notFoundLimit) {\n\t var style = tget(m, \"socialButtonStyle\") || get(m, \"socialButtonStyle\");\n\t return style ? style === \"big\" : l.connections(m, \"social\").count() <= notFoundLimit;\n\t}\n\n/***/ },\n/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar InputWrap = function (_React$Component) {\n\t _inherits(InputWrap, _React$Component);\n\t\n\t function InputWrap() {\n\t _classCallCheck(this, InputWrap);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t InputWrap.prototype.render = function render() {\n\t var _props = this.props,\n\t before = _props.before,\n\t focused = _props.focused,\n\t invalidHint = _props.invalidHint,\n\t isValid = _props.isValid,\n\t name = _props.name,\n\t icon = _props.icon;\n\t\n\t var blockClassName = \"auth0-lock-input-block auth0-lock-input-\" + name;\n\t if (!isValid) {\n\t blockClassName += \" auth0-lock-error\";\n\t }\n\t\n\t var wrapClassName = \"auth0-lock-input-wrap\";\n\t if (focused && isValid) {\n\t wrapClassName += \" auth0-lock-focused\";\n\t }\n\t\n\t // NOTE: Ugly hack until we upgrade to React 15 which has better\n\t // support for SVG.\n\t var iconElement = null;\n\t\n\t if (typeof icon === \"string\") {\n\t iconElement = _react2.default.createElement(\"span\", { dangerouslySetInnerHTML: { __html: icon } });\n\t } else if (icon) {\n\t iconElement = icon;\n\t }\n\t\n\t if (iconElement) {\n\t wrapClassName += \" auth0-lock-input-wrap-with-icon\";\n\t }\n\t\n\t var errorTooltip = !isValid && invalidHint ? _react2.default.createElement(\n\t \"div\",\n\t { className: \"auth0-lock-error-msg\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t null,\n\t invalidHint\n\t )\n\t ) : null;\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: blockClassName },\n\t before,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: wrapClassName },\n\t iconElement,\n\t this.props.children\n\t ),\n\t errorTooltip\n\t );\n\t };\n\t\n\t return InputWrap;\n\t}(_react2.default.Component);\n\t\n\texports.default = InputWrap;\n\t\n\t\n\tInputWrap.propTypes = {\n\t before: _react2.default.PropTypes.element,\n\t children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.element.isRequired, _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.element).isRequired]),\n\t focused: _react2.default.PropTypes.bool,\n\t invalidHint: _react2.default.PropTypes.string,\n\t isValid: _react2.default.PropTypes.bool.isRequired,\n\t name: _react2.default.PropTypes.string.isRequired,\n\t svg: _react2.default.PropTypes.string\n\t};\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(100);\n\n/***/ },\n/* 42 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar EventPluginRegistry = __webpack_require__(60);\n\tvar EventPluginUtils = __webpack_require__(61);\n\tvar ReactErrorUtils = __webpack_require__(65);\n\t\n\tvar accumulateInto = __webpack_require__(110);\n\tvar forEachAccumulated = __webpack_require__(111);\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Internal store for event listeners\n\t */\n\tvar listenerBank = {};\n\t\n\t/**\n\t * Internal queue of events that have accumulated their dispatches and are\n\t * waiting to have their dispatches executed.\n\t */\n\tvar eventQueue = null;\n\t\n\t/**\n\t * Dispatches an event and releases it back into the pool, unless persistent.\n\t *\n\t * @param {?object} event Synthetic event to be dispatched.\n\t * @param {boolean} simulated If the event is simulated (changes exn behavior)\n\t * @private\n\t */\n\tvar executeDispatchesAndRelease = function executeDispatchesAndRelease(event, simulated) {\n\t if (event) {\n\t EventPluginUtils.executeDispatchesInOrder(event, simulated);\n\t\n\t if (!event.isPersistent()) {\n\t event.constructor.release(event);\n\t }\n\t }\n\t};\n\tvar executeDispatchesAndReleaseSimulated = function executeDispatchesAndReleaseSimulated(e) {\n\t return executeDispatchesAndRelease(e, true);\n\t};\n\tvar executeDispatchesAndReleaseTopLevel = function executeDispatchesAndReleaseTopLevel(e) {\n\t return executeDispatchesAndRelease(e, false);\n\t};\n\t\n\tvar getDictionaryKey = function getDictionaryKey(inst) {\n\t // Prevents V8 performance issue:\n\t // https://github.com/facebook/react/pull/7232\n\t return '.' + inst._rootNodeID;\n\t};\n\t\n\tfunction isInteractive(tag) {\n\t return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';\n\t}\n\t\n\tfunction shouldPreventMouseEvent(name, type, props) {\n\t switch (name) {\n\t case 'onClick':\n\t case 'onClickCapture':\n\t case 'onDoubleClick':\n\t case 'onDoubleClickCapture':\n\t case 'onMouseDown':\n\t case 'onMouseDownCapture':\n\t case 'onMouseMove':\n\t case 'onMouseMoveCapture':\n\t case 'onMouseUp':\n\t case 'onMouseUpCapture':\n\t return !!(props.disabled && isInteractive(type));\n\t default:\n\t return false;\n\t }\n\t}\n\t\n\t/**\n\t * This is a unified interface for event plugins to be installed and configured.\n\t *\n\t * Event plugins can implement the following properties:\n\t *\n\t * `extractEvents` {function(string, DOMEventTarget, string, object): *}\n\t * Required. When a top-level event is fired, this method is expected to\n\t * extract synthetic events that will in turn be queued and dispatched.\n\t *\n\t * `eventTypes` {object}\n\t * Optional, plugins that fire events must publish a mapping of registration\n\t * names that are used to register listeners. Values of this mapping must\n\t * be objects that contain `registrationName` or `phasedRegistrationNames`.\n\t *\n\t * `executeDispatch` {function(object, function, string)}\n\t * Optional, allows plugins to override how an event gets dispatched. By\n\t * default, the listener is simply invoked.\n\t *\n\t * Each plugin that is injected into `EventsPluginHub` is immediately operable.\n\t *\n\t * @public\n\t */\n\tvar EventPluginHub = {\n\t\n\t /**\n\t * Methods for injecting dependencies.\n\t */\n\t injection: {\n\t\n\t /**\n\t * @param {array} InjectedEventPluginOrder\n\t * @public\n\t */\n\t injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder,\n\t\n\t /**\n\t * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n\t */\n\t injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName\n\t\n\t },\n\t\n\t /**\n\t * Stores `listener` at `listenerBank[registrationName][key]`. Is idempotent.\n\t *\n\t * @param {object} inst The instance, which is the source of events.\n\t * @param {string} registrationName Name of listener (e.g. `onClick`).\n\t * @param {function} listener The callback to store.\n\t */\n\t putListener: function putListener(inst, registrationName, listener) {\n\t !(typeof listener === 'function') ? false ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener === 'undefined' ? 'undefined' : _typeof(listener)) : _prodInvariant('94', registrationName, typeof listener === 'undefined' ? 'undefined' : _typeof(listener)) : void 0;\n\t\n\t var key = getDictionaryKey(inst);\n\t var bankForRegistrationName = listenerBank[registrationName] || (listenerBank[registrationName] = {});\n\t bankForRegistrationName[key] = listener;\n\t\n\t var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n\t if (PluginModule && PluginModule.didPutListener) {\n\t PluginModule.didPutListener(inst, registrationName, listener);\n\t }\n\t },\n\t\n\t /**\n\t * @param {object} inst The instance, which is the source of events.\n\t * @param {string} registrationName Name of listener (e.g. `onClick`).\n\t * @return {?function} The stored callback.\n\t */\n\t getListener: function getListener(inst, registrationName) {\n\t // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not\n\t // live here; needs to be moved to a better place soon\n\t var bankForRegistrationName = listenerBank[registrationName];\n\t if (shouldPreventMouseEvent(registrationName, inst._currentElement.type, inst._currentElement.props)) {\n\t return null;\n\t }\n\t var key = getDictionaryKey(inst);\n\t return bankForRegistrationName && bankForRegistrationName[key];\n\t },\n\t\n\t /**\n\t * Deletes a listener from the registration bank.\n\t *\n\t * @param {object} inst The instance, which is the source of events.\n\t * @param {string} registrationName Name of listener (e.g. `onClick`).\n\t */\n\t deleteListener: function deleteListener(inst, registrationName) {\n\t var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n\t if (PluginModule && PluginModule.willDeleteListener) {\n\t PluginModule.willDeleteListener(inst, registrationName);\n\t }\n\t\n\t var bankForRegistrationName = listenerBank[registrationName];\n\t // TODO: This should never be null -- when is it?\n\t if (bankForRegistrationName) {\n\t var key = getDictionaryKey(inst);\n\t delete bankForRegistrationName[key];\n\t }\n\t },\n\t\n\t /**\n\t * Deletes all listeners for the DOM element with the supplied ID.\n\t *\n\t * @param {object} inst The instance, which is the source of events.\n\t */\n\t deleteAllListeners: function deleteAllListeners(inst) {\n\t var key = getDictionaryKey(inst);\n\t for (var registrationName in listenerBank) {\n\t if (!listenerBank.hasOwnProperty(registrationName)) {\n\t continue;\n\t }\n\t\n\t if (!listenerBank[registrationName][key]) {\n\t continue;\n\t }\n\t\n\t var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n\t if (PluginModule && PluginModule.willDeleteListener) {\n\t PluginModule.willDeleteListener(inst, registrationName);\n\t }\n\t\n\t delete listenerBank[registrationName][key];\n\t }\n\t },\n\t\n\t /**\n\t * Allows registered plugins an opportunity to extract events from top-level\n\t * native browser events.\n\t *\n\t * @return {*} An accumulation of synthetic events.\n\t * @internal\n\t */\n\t extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t var events;\n\t var plugins = EventPluginRegistry.plugins;\n\t for (var i = 0; i < plugins.length; i++) {\n\t // Not every plugin in the ordering may be loaded at runtime.\n\t var possiblePlugin = plugins[i];\n\t if (possiblePlugin) {\n\t var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n\t if (extractedEvents) {\n\t events = accumulateInto(events, extractedEvents);\n\t }\n\t }\n\t }\n\t return events;\n\t },\n\t\n\t /**\n\t * Enqueues a synthetic event that should be dispatched when\n\t * `processEventQueue` is invoked.\n\t *\n\t * @param {*} events An accumulation of synthetic events.\n\t * @internal\n\t */\n\t enqueueEvents: function enqueueEvents(events) {\n\t if (events) {\n\t eventQueue = accumulateInto(eventQueue, events);\n\t }\n\t },\n\t\n\t /**\n\t * Dispatches all synthetic events on the event queue.\n\t *\n\t * @internal\n\t */\n\t processEventQueue: function processEventQueue(simulated) {\n\t // Set `eventQueue` to null before processing it so that we can tell if more\n\t // events get enqueued while processing.\n\t var processingEventQueue = eventQueue;\n\t eventQueue = null;\n\t if (simulated) {\n\t forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);\n\t } else {\n\t forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);\n\t }\n\t !!eventQueue ? false ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.') : _prodInvariant('95') : void 0;\n\t // This would be a good time to rethrow if any of the event handlers threw.\n\t ReactErrorUtils.rethrowCaughtError();\n\t },\n\t\n\t /**\n\t * These are needed for tests only. Do not use!\n\t */\n\t __purge: function __purge() {\n\t listenerBank = {};\n\t },\n\t\n\t __getListenerBank: function __getListenerBank() {\n\t return listenerBank;\n\t }\n\t\n\t};\n\t\n\tmodule.exports = EventPluginHub;\n\n/***/ },\n/* 43 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventPluginHub = __webpack_require__(42);\n\tvar EventPluginUtils = __webpack_require__(61);\n\t\n\tvar accumulateInto = __webpack_require__(110);\n\tvar forEachAccumulated = __webpack_require__(111);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar getListener = EventPluginHub.getListener;\n\t\n\t/**\n\t * Some event types have a notion of different registration names for different\n\t * \"phases\" of propagation. This finds listeners by a given phase.\n\t */\n\tfunction listenerAtPhase(inst, event, propagationPhase) {\n\t var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];\n\t return getListener(inst, registrationName);\n\t}\n\t\n\t/**\n\t * Tags a `SyntheticEvent` with dispatched listeners. Creating this function\n\t * here, allows us to not have to bind or create functions for each event.\n\t * Mutating the event's members allows us to not have to create a wrapping\n\t * \"dispatch\" object that pairs the event with the listener.\n\t */\n\tfunction accumulateDirectionalDispatches(inst, phase, event) {\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(inst, 'Dispatching inst must not be null') : void 0;\n\t }\n\t var listener = listenerAtPhase(inst, event, phase);\n\t if (listener) {\n\t event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n\t event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n\t }\n\t}\n\t\n\t/**\n\t * Collect dispatches (must be entirely collected before dispatching - see unit\n\t * tests). Lazily allocate the array to conserve memory. We must loop through\n\t * each event and perform the traversal for each one. We cannot perform a\n\t * single traversal for the entire collection of events because each event may\n\t * have a different target.\n\t */\n\tfunction accumulateTwoPhaseDispatchesSingle(event) {\n\t if (event && event.dispatchConfig.phasedRegistrationNames) {\n\t EventPluginUtils.traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n\t }\n\t}\n\t\n\t/**\n\t * Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID.\n\t */\n\tfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n\t if (event && event.dispatchConfig.phasedRegistrationNames) {\n\t var targetInst = event._targetInst;\n\t var parentInst = targetInst ? EventPluginUtils.getParentInstance(targetInst) : null;\n\t EventPluginUtils.traverseTwoPhase(parentInst, accumulateDirectionalDispatches, event);\n\t }\n\t}\n\t\n\t/**\n\t * Accumulates without regard to direction, does not look for phased\n\t * registration names. Same as `accumulateDirectDispatchesSingle` but without\n\t * requiring that the `dispatchMarker` be the same as the dispatched ID.\n\t */\n\tfunction accumulateDispatches(inst, ignoredDirection, event) {\n\t if (event && event.dispatchConfig.registrationName) {\n\t var registrationName = event.dispatchConfig.registrationName;\n\t var listener = getListener(inst, registrationName);\n\t if (listener) {\n\t event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n\t event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Accumulates dispatches on an `SyntheticEvent`, but only for the\n\t * `dispatchMarker`.\n\t * @param {SyntheticEvent} event\n\t */\n\tfunction accumulateDirectDispatchesSingle(event) {\n\t if (event && event.dispatchConfig.registrationName) {\n\t accumulateDispatches(event._targetInst, null, event);\n\t }\n\t}\n\t\n\tfunction accumulateTwoPhaseDispatches(events) {\n\t forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);\n\t}\n\t\n\tfunction accumulateTwoPhaseDispatchesSkipTarget(events) {\n\t forEachAccumulated(events, accumulateTwoPhaseDispatchesSingleSkipTarget);\n\t}\n\t\n\tfunction accumulateEnterLeaveDispatches(leave, enter, from, to) {\n\t EventPluginUtils.traverseEnterLeave(from, to, accumulateDispatches, leave, enter);\n\t}\n\t\n\tfunction accumulateDirectDispatches(events) {\n\t forEachAccumulated(events, accumulateDirectDispatchesSingle);\n\t}\n\t\n\t/**\n\t * A small set of propagation patterns, each of which will accept a small amount\n\t * of information, and generate a set of \"dispatch ready event objects\" - which\n\t * are sets of events that have already been annotated with a set of dispatched\n\t * listener functions/ids. The API is designed this way to discourage these\n\t * propagation strategies from actually executing the dispatches, since we\n\t * always want to collect the entire set of dispatches before executing event a\n\t * single one.\n\t *\n\t * @constructor EventPropagators\n\t */\n\tvar EventPropagators = {\n\t accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches,\n\t accumulateTwoPhaseDispatchesSkipTarget: accumulateTwoPhaseDispatchesSkipTarget,\n\t accumulateDirectDispatches: accumulateDirectDispatches,\n\t accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches\n\t};\n\t\n\tmodule.exports = EventPropagators;\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(18);\n\t\n\tvar getEventTarget = __webpack_require__(70);\n\t\n\t/**\n\t * @interface UIEvent\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/\n\t */\n\tvar UIEventInterface = {\n\t view: function view(event) {\n\t if (event.view) {\n\t return event.view;\n\t }\n\t\n\t var target = getEventTarget(event);\n\t if (target.window === target) {\n\t // target is a window object\n\t return target;\n\t }\n\t\n\t var doc = target.ownerDocument;\n\t // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n\t if (doc) {\n\t return doc.defaultView || doc.parentWindow;\n\t } else {\n\t return window;\n\t }\n\t },\n\t detail: function detail(event) {\n\t return event.detail || 0;\n\t }\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticEvent}\n\t */\n\tfunction SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);\n\t\n\tmodule.exports = SyntheticUIEvent;\n\n/***/ },\n/* 45 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\texports.__esModule = true;\n\texports.go = undefined;\n\texports.isSuccess = isSuccess;\n\texports.isDone = isDone;\n\texports.hasError = hasError;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(12);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"sync\"]),\n\t get = _dataFns.get,\n\t set = _dataFns.set;\n\t\n\texports.default = function (m, key, opts) {\n\t if (get(m, key) !== undefined) return m;\n\t\n\t var status = opts.waitFn ? \"waiting\" : !opts.conditionFn || opts.conditionFn(m) ? \"pending\" : \"no\";\n\t\n\t return set(m, key, (0, _immutable.Map)({\n\t conditionFn: opts.conditionFn,\n\t errorFn: opts.errorFn,\n\t recoverResult: opts.recoverResult,\n\t syncStatus: status,\n\t successFn: opts.successFn,\n\t syncFn: opts.syncFn,\n\t timeout: opts.timeout || 6000,\n\t waitFn: opts.waitFn\n\t }));\n\t};\n\t\n\tvar syncStatusKey = function syncStatusKey(key) {\n\t return (global.Array.isArray(key) ? key : [key]).concat([\"syncStatus\"]);\n\t};\n\tvar getStatus = function getStatus(m, key) {\n\t return get(m, syncStatusKey(key));\n\t};\n\tvar setStatus = function setStatus(m, key, str) {\n\t return set(m, syncStatusKey(key), str);\n\t};\n\tvar getProp = function getProp(m, key, name) {\n\t return get(m, key).get(name);\n\t};\n\t\n\tvar findKeys = function findKeys(m) {\n\t return m.reduce(function (r, v, k) {\n\t var current = _immutable.Map.isMap(v) && v.has(\"syncStatus\") ? [k] : [];\n\t var nested = _immutable.Map.isMap(v) ? findKeys(v).map(function (x) {\n\t return [k].concat(x);\n\t }) : [];\n\t return r.concat.apply(r, [current].concat([nested]));\n\t }, []);\n\t};\n\t\n\tfunction removeKeys(m, keys) {\n\t return keys.reduce(function (r, k) {\n\t return r.deleteIn(syncStatusKey(k));\n\t }, m);\n\t}\n\t\n\tvar process = function process(m, id) {\n\t var keys = findKeys(get(m, [], (0, _immutable.Map)()));\n\t // TODO timeout\n\t return keys.reduce(function (r, k) {\n\t if (typeof getProp(r, k, \"syncFn\") != \"function\") return r;\n\t if (getStatus(r, k) === \"pending\") {\n\t (function () {\n\t r = setStatus(r, k, \"loading\");\n\t var called = false;\n\t getProp(r, k, \"syncFn\")(r, function (error, result) {\n\t if (called) return;\n\t called = true;\n\t setTimeout(function () {\n\t (0, _index2.swap)(_index2.updateEntity, \"lock\", id, function (m) {\n\t var errorFn = getProp(r, k, \"errorFn\");\n\t\n\t if (error && typeof errorFn === \"function\") {\n\t setTimeout(function () {\n\t return errorFn(m, error);\n\t }, 0);\n\t }\n\t\n\t var recoverResult = getProp(m, k, \"recoverResult\");\n\t\n\t if (error && recoverResult === undefined) {\n\t return handleError(m, k, error);\n\t } else {\n\t m = setStatus(m, k, \"ok\");\n\t return getProp(m, k, \"successFn\")(m, error ? recoverResult : result);\n\t }\n\t });\n\t }, 0);\n\t });\n\t })();\n\t } else if (getStatus(r, k) === \"waiting\") {\n\t if (getProp(r, k, \"waitFn\")(r)) {\n\t var conditionFn = getProp(r, k, \"conditionFn\");\n\t r = setStatus(r, k, !conditionFn || conditionFn(r) ? \"pending\" : \"no\");\n\t }\n\t }\n\t\n\t return r;\n\t }, m);\n\t};\n\t\n\tvar go = exports.go = function go(id) {\n\t (0, _index2.observe)(\"sync\", id, function (m) {\n\t setTimeout(function () {\n\t return (0, _index2.swap)(_index2.updateEntity, \"lock\", id, process, id);\n\t }, 0);\n\t });\n\t};\n\t\n\tfunction isSuccess(m, key) {\n\t return getStatus(m, key) === \"ok\";\n\t}\n\t\n\tfunction isDone(m) {\n\t var keys = findKeys(get(m, [], (0, _immutable.Map)()));\n\t return keys.length > 0 && keys.reduce(function (r, k) {\n\t return r && !isLoading(m, k);\n\t }, true);\n\t}\n\t\n\tfunction hasError(m) {\n\t var excludeKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\t\n\t var keys = findKeys(removeKeys(get(m, [], (0, _immutable.Map)()), excludeKeys));\n\t return keys.length > 0 && keys.reduce(function (r, k) {\n\t return r || getStatus(m, k) === \"error\";\n\t }, false);\n\t}\n\t\n\tfunction isLoading(m, key) {\n\t return [\"loading\", \"pending\", \"waiting\"].indexOf(getStatus(m, key)) > -1;\n\t}\n\t\n\tfunction handleError(m, key, error) {\n\t var result = setStatus(m, key, \"error\");\n\t\n\t // TODO: this should be configurable for each sync\n\t if (key !== \"sso\") {\n\t var stopError = new Error(\"An error ocurred when fetching data.\");\n\t stopError.code = \"sync\";\n\t stopError.origin = error;\n\t result = l.stop(result, stopError);\n\t }\n\t\n\t return result;\n\t}\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 46 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t// Underscore.js 1.8.3\n\t// http://underscorejs.org\n\t// (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t// Underscore may be freely distributed under the MIT license.\n\t\n\t(function () {\n\t\n\t // Baseline setup\n\t // --------------\n\t\n\t // Establish the root object, `window` in the browser, or `exports` on the server.\n\t var root = this;\n\t\n\t // Save the previous value of the `_` variable.\n\t var previousUnderscore = root._;\n\t\n\t // Save bytes in the minified (but not gzipped) version:\n\t var ArrayProto = Array.prototype,\n\t ObjProto = Object.prototype,\n\t FuncProto = Function.prototype;\n\t\n\t // Create quick reference variables for speed access to core prototypes.\n\t var push = ArrayProto.push,\n\t slice = ArrayProto.slice,\n\t toString = ObjProto.toString,\n\t hasOwnProperty = ObjProto.hasOwnProperty;\n\t\n\t // All **ECMAScript 5** native function implementations that we hope to use\n\t // are declared here.\n\t var nativeIsArray = Array.isArray,\n\t nativeKeys = Object.keys,\n\t nativeBind = FuncProto.bind,\n\t nativeCreate = Object.create;\n\t\n\t // Naked function reference for surrogate-prototype-swapping.\n\t var Ctor = function Ctor() {};\n\t\n\t // Create a safe reference to the Underscore object for use below.\n\t var _ = function _(obj) {\n\t if (obj instanceof _) return obj;\n\t if (!(this instanceof _)) return new _(obj);\n\t this._wrapped = obj;\n\t };\n\t\n\t // Export the Underscore object for **Node.js**, with\n\t // backwards-compatibility for the old `require()` API. If we're in\n\t // the browser, add `_` as a global object.\n\t if (true) {\n\t if (typeof module !== 'undefined' && module.exports) {\n\t exports = module.exports = _;\n\t }\n\t exports._ = _;\n\t } else {\n\t root._ = _;\n\t }\n\t\n\t // Current version.\n\t _.VERSION = '1.8.3';\n\t\n\t // Internal function that returns an efficient (for current engines) version\n\t // of the passed-in callback, to be repeatedly applied in other Underscore\n\t // functions.\n\t var optimizeCb = function optimizeCb(func, context, argCount) {\n\t if (context === void 0) return func;\n\t switch (argCount == null ? 3 : argCount) {\n\t case 1:\n\t return function (value) {\n\t return func.call(context, value);\n\t };\n\t case 2:\n\t return function (value, other) {\n\t return func.call(context, value, other);\n\t };\n\t case 3:\n\t return function (value, index, collection) {\n\t return func.call(context, value, index, collection);\n\t };\n\t case 4:\n\t return function (accumulator, value, index, collection) {\n\t return func.call(context, accumulator, value, index, collection);\n\t };\n\t }\n\t return function () {\n\t return func.apply(context, arguments);\n\t };\n\t };\n\t\n\t // A mostly-internal function to generate callbacks that can be applied\n\t // to each element in a collection, returning the desired result — either\n\t // identity, an arbitrary callback, a property matcher, or a property accessor.\n\t var cb = function cb(value, context, argCount) {\n\t if (value == null) return _.identity;\n\t if (_.isFunction(value)) return optimizeCb(value, context, argCount);\n\t if (_.isObject(value)) return _.matcher(value);\n\t return _.property(value);\n\t };\n\t _.iteratee = function (value, context) {\n\t return cb(value, context, Infinity);\n\t };\n\t\n\t // An internal function for creating assigner functions.\n\t var createAssigner = function createAssigner(keysFunc, undefinedOnly) {\n\t return function (obj) {\n\t var length = arguments.length;\n\t if (length < 2 || obj == null) return obj;\n\t for (var index = 1; index < length; index++) {\n\t var source = arguments[index],\n\t keys = keysFunc(source),\n\t l = keys.length;\n\t for (var i = 0; i < l; i++) {\n\t var key = keys[i];\n\t if (!undefinedOnly || obj[key] === void 0) obj[key] = source[key];\n\t }\n\t }\n\t return obj;\n\t };\n\t };\n\t\n\t // An internal function for creating a new object that inherits from another.\n\t var baseCreate = function baseCreate(prototype) {\n\t if (!_.isObject(prototype)) return {};\n\t if (nativeCreate) return nativeCreate(prototype);\n\t Ctor.prototype = prototype;\n\t var result = new Ctor();\n\t Ctor.prototype = null;\n\t return result;\n\t };\n\t\n\t var property = function property(key) {\n\t return function (obj) {\n\t return obj == null ? void 0 : obj[key];\n\t };\n\t };\n\t\n\t // Helper for collection methods to determine whether a collection\n\t // should be iterated as an array or as an object\n\t // Related: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength\n\t // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094\n\t var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;\n\t var getLength = property('length');\n\t var isArrayLike = function isArrayLike(collection) {\n\t var length = getLength(collection);\n\t return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX;\n\t };\n\t\n\t // Collection Functions\n\t // --------------------\n\t\n\t // The cornerstone, an `each` implementation, aka `forEach`.\n\t // Handles raw objects in addition to array-likes. Treats all\n\t // sparse array-likes as if they were dense.\n\t _.each = _.forEach = function (obj, iteratee, context) {\n\t iteratee = optimizeCb(iteratee, context);\n\t var i, length;\n\t if (isArrayLike(obj)) {\n\t for (i = 0, length = obj.length; i < length; i++) {\n\t iteratee(obj[i], i, obj);\n\t }\n\t } else {\n\t var keys = _.keys(obj);\n\t for (i = 0, length = keys.length; i < length; i++) {\n\t iteratee(obj[keys[i]], keys[i], obj);\n\t }\n\t }\n\t return obj;\n\t };\n\t\n\t // Return the results of applying the iteratee to each element.\n\t _.map = _.collect = function (obj, iteratee, context) {\n\t iteratee = cb(iteratee, context);\n\t var keys = !isArrayLike(obj) && _.keys(obj),\n\t length = (keys || obj).length,\n\t results = Array(length);\n\t for (var index = 0; index < length; index++) {\n\t var currentKey = keys ? keys[index] : index;\n\t results[index] = iteratee(obj[currentKey], currentKey, obj);\n\t }\n\t return results;\n\t };\n\t\n\t // Create a reducing function iterating left or right.\n\t function createReduce(dir) {\n\t // Optimized iterator function as using arguments.length\n\t // in the main function will deoptimize the, see #1991.\n\t function iterator(obj, iteratee, memo, keys, index, length) {\n\t for (; index >= 0 && index < length; index += dir) {\n\t var currentKey = keys ? keys[index] : index;\n\t memo = iteratee(memo, obj[currentKey], currentKey, obj);\n\t }\n\t return memo;\n\t }\n\t\n\t return function (obj, iteratee, memo, context) {\n\t iteratee = optimizeCb(iteratee, context, 4);\n\t var keys = !isArrayLike(obj) && _.keys(obj),\n\t length = (keys || obj).length,\n\t index = dir > 0 ? 0 : length - 1;\n\t // Determine the initial value if none is provided.\n\t if (arguments.length < 3) {\n\t memo = obj[keys ? keys[index] : index];\n\t index += dir;\n\t }\n\t return iterator(obj, iteratee, memo, keys, index, length);\n\t };\n\t }\n\t\n\t // **Reduce** builds up a single result from a list of values, aka `inject`,\n\t // or `foldl`.\n\t _.reduce = _.foldl = _.inject = createReduce(1);\n\t\n\t // The right-associative version of reduce, also known as `foldr`.\n\t _.reduceRight = _.foldr = createReduce(-1);\n\t\n\t // Return the first value which passes a truth test. Aliased as `detect`.\n\t _.find = _.detect = function (obj, predicate, context) {\n\t var key;\n\t if (isArrayLike(obj)) {\n\t key = _.findIndex(obj, predicate, context);\n\t } else {\n\t key = _.findKey(obj, predicate, context);\n\t }\n\t if (key !== void 0 && key !== -1) return obj[key];\n\t };\n\t\n\t // Return all the elements that pass a truth test.\n\t // Aliased as `select`.\n\t _.filter = _.select = function (obj, predicate, context) {\n\t var results = [];\n\t predicate = cb(predicate, context);\n\t _.each(obj, function (value, index, list) {\n\t if (predicate(value, index, list)) results.push(value);\n\t });\n\t return results;\n\t };\n\t\n\t // Return all the elements for which a truth test fails.\n\t _.reject = function (obj, predicate, context) {\n\t return _.filter(obj, _.negate(cb(predicate)), context);\n\t };\n\t\n\t // Determine whether all of the elements match a truth test.\n\t // Aliased as `all`.\n\t _.every = _.all = function (obj, predicate, context) {\n\t predicate = cb(predicate, context);\n\t var keys = !isArrayLike(obj) && _.keys(obj),\n\t length = (keys || obj).length;\n\t for (var index = 0; index < length; index++) {\n\t var currentKey = keys ? keys[index] : index;\n\t if (!predicate(obj[currentKey], currentKey, obj)) return false;\n\t }\n\t return true;\n\t };\n\t\n\t // Determine if at least one element in the object matches a truth test.\n\t // Aliased as `any`.\n\t _.some = _.any = function (obj, predicate, context) {\n\t predicate = cb(predicate, context);\n\t var keys = !isArrayLike(obj) && _.keys(obj),\n\t length = (keys || obj).length;\n\t for (var index = 0; index < length; index++) {\n\t var currentKey = keys ? keys[index] : index;\n\t if (predicate(obj[currentKey], currentKey, obj)) return true;\n\t }\n\t return false;\n\t };\n\t\n\t // Determine if the array or object contains a given item (using `===`).\n\t // Aliased as `includes` and `include`.\n\t _.contains = _.includes = _.include = function (obj, item, fromIndex, guard) {\n\t if (!isArrayLike(obj)) obj = _.values(obj);\n\t if (typeof fromIndex != 'number' || guard) fromIndex = 0;\n\t return _.indexOf(obj, item, fromIndex) >= 0;\n\t };\n\t\n\t // Invoke a method (with arguments) on every item in a collection.\n\t _.invoke = function (obj, method) {\n\t var args = slice.call(arguments, 2);\n\t var isFunc = _.isFunction(method);\n\t return _.map(obj, function (value) {\n\t var func = isFunc ? method : value[method];\n\t return func == null ? func : func.apply(value, args);\n\t });\n\t };\n\t\n\t // Convenience version of a common use case of `map`: fetching a property.\n\t _.pluck = function (obj, key) {\n\t return _.map(obj, _.property(key));\n\t };\n\t\n\t // Convenience version of a common use case of `filter`: selecting only objects\n\t // containing specific `key:value` pairs.\n\t _.where = function (obj, attrs) {\n\t return _.filter(obj, _.matcher(attrs));\n\t };\n\t\n\t // Convenience version of a common use case of `find`: getting the first object\n\t // containing specific `key:value` pairs.\n\t _.findWhere = function (obj, attrs) {\n\t return _.find(obj, _.matcher(attrs));\n\t };\n\t\n\t // Return the maximum element (or element-based computation).\n\t _.max = function (obj, iteratee, context) {\n\t var result = -Infinity,\n\t lastComputed = -Infinity,\n\t value,\n\t computed;\n\t if (iteratee == null && obj != null) {\n\t obj = isArrayLike(obj) ? obj : _.values(obj);\n\t for (var i = 0, length = obj.length; i < length; i++) {\n\t value = obj[i];\n\t if (value > result) {\n\t result = value;\n\t }\n\t }\n\t } else {\n\t iteratee = cb(iteratee, context);\n\t _.each(obj, function (value, index, list) {\n\t computed = iteratee(value, index, list);\n\t if (computed > lastComputed || computed === -Infinity && result === -Infinity) {\n\t result = value;\n\t lastComputed = computed;\n\t }\n\t });\n\t }\n\t return result;\n\t };\n\t\n\t // Return the minimum element (or element-based computation).\n\t _.min = function (obj, iteratee, context) {\n\t var result = Infinity,\n\t lastComputed = Infinity,\n\t value,\n\t computed;\n\t if (iteratee == null && obj != null) {\n\t obj = isArrayLike(obj) ? obj : _.values(obj);\n\t for (var i = 0, length = obj.length; i < length; i++) {\n\t value = obj[i];\n\t if (value < result) {\n\t result = value;\n\t }\n\t }\n\t } else {\n\t iteratee = cb(iteratee, context);\n\t _.each(obj, function (value, index, list) {\n\t computed = iteratee(value, index, list);\n\t if (computed < lastComputed || computed === Infinity && result === Infinity) {\n\t result = value;\n\t lastComputed = computed;\n\t }\n\t });\n\t }\n\t return result;\n\t };\n\t\n\t // Shuffle a collection, using the modern version of the\n\t // [Fisher-Yates shuffle](http://en.wikipedia.org/wiki/Fisher–Yates_shuffle).\n\t _.shuffle = function (obj) {\n\t var set = isArrayLike(obj) ? obj : _.values(obj);\n\t var length = set.length;\n\t var shuffled = Array(length);\n\t for (var index = 0, rand; index < length; index++) {\n\t rand = _.random(0, index);\n\t if (rand !== index) shuffled[index] = shuffled[rand];\n\t shuffled[rand] = set[index];\n\t }\n\t return shuffled;\n\t };\n\t\n\t // Sample **n** random values from a collection.\n\t // If **n** is not specified, returns a single random element.\n\t // The internal `guard` argument allows it to work with `map`.\n\t _.sample = function (obj, n, guard) {\n\t if (n == null || guard) {\n\t if (!isArrayLike(obj)) obj = _.values(obj);\n\t return obj[_.random(obj.length - 1)];\n\t }\n\t return _.shuffle(obj).slice(0, Math.max(0, n));\n\t };\n\t\n\t // Sort the object's values by a criterion produced by an iteratee.\n\t _.sortBy = function (obj, iteratee, context) {\n\t iteratee = cb(iteratee, context);\n\t return _.pluck(_.map(obj, function (value, index, list) {\n\t return {\n\t value: value,\n\t index: index,\n\t criteria: iteratee(value, index, list)\n\t };\n\t }).sort(function (left, right) {\n\t var a = left.criteria;\n\t var b = right.criteria;\n\t if (a !== b) {\n\t if (a > b || a === void 0) return 1;\n\t if (a < b || b === void 0) return -1;\n\t }\n\t return left.index - right.index;\n\t }), 'value');\n\t };\n\t\n\t // An internal function used for aggregate \"group by\" operations.\n\t var group = function group(behavior) {\n\t return function (obj, iteratee, context) {\n\t var result = {};\n\t iteratee = cb(iteratee, context);\n\t _.each(obj, function (value, index) {\n\t var key = iteratee(value, index, obj);\n\t behavior(result, value, key);\n\t });\n\t return result;\n\t };\n\t };\n\t\n\t // Groups the object's values by a criterion. Pass either a string attribute\n\t // to group by, or a function that returns the criterion.\n\t _.groupBy = group(function (result, value, key) {\n\t if (_.has(result, key)) result[key].push(value);else result[key] = [value];\n\t });\n\t\n\t // Indexes the object's values by a criterion, similar to `groupBy`, but for\n\t // when you know that your index values will be unique.\n\t _.indexBy = group(function (result, value, key) {\n\t result[key] = value;\n\t });\n\t\n\t // Counts instances of an object that group by a certain criterion. Pass\n\t // either a string attribute to count by, or a function that returns the\n\t // criterion.\n\t _.countBy = group(function (result, value, key) {\n\t if (_.has(result, key)) result[key]++;else result[key] = 1;\n\t });\n\t\n\t // Safely create a real, live array from anything iterable.\n\t _.toArray = function (obj) {\n\t if (!obj) return [];\n\t if (_.isArray(obj)) return slice.call(obj);\n\t if (isArrayLike(obj)) return _.map(obj, _.identity);\n\t return _.values(obj);\n\t };\n\t\n\t // Return the number of elements in an object.\n\t _.size = function (obj) {\n\t if (obj == null) return 0;\n\t return isArrayLike(obj) ? obj.length : _.keys(obj).length;\n\t };\n\t\n\t // Split a collection into two arrays: one whose elements all satisfy the given\n\t // predicate, and one whose elements all do not satisfy the predicate.\n\t _.partition = function (obj, predicate, context) {\n\t predicate = cb(predicate, context);\n\t var pass = [],\n\t fail = [];\n\t _.each(obj, function (value, key, obj) {\n\t (predicate(value, key, obj) ? pass : fail).push(value);\n\t });\n\t return [pass, fail];\n\t };\n\t\n\t // Array Functions\n\t // ---------------\n\t\n\t // Get the first element of an array. Passing **n** will return the first N\n\t // values in the array. Aliased as `head` and `take`. The **guard** check\n\t // allows it to work with `_.map`.\n\t _.first = _.head = _.take = function (array, n, guard) {\n\t if (array == null) return void 0;\n\t if (n == null || guard) return array[0];\n\t return _.initial(array, array.length - n);\n\t };\n\t\n\t // Returns everything but the last entry of the array. Especially useful on\n\t // the arguments object. Passing **n** will return all the values in\n\t // the array, excluding the last N.\n\t _.initial = function (array, n, guard) {\n\t return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n)));\n\t };\n\t\n\t // Get the last element of an array. Passing **n** will return the last N\n\t // values in the array.\n\t _.last = function (array, n, guard) {\n\t if (array == null) return void 0;\n\t if (n == null || guard) return array[array.length - 1];\n\t return _.rest(array, Math.max(0, array.length - n));\n\t };\n\t\n\t // Returns everything but the first entry of the array. Aliased as `tail` and `drop`.\n\t // Especially useful on the arguments object. Passing an **n** will return\n\t // the rest N values in the array.\n\t _.rest = _.tail = _.drop = function (array, n, guard) {\n\t return slice.call(array, n == null || guard ? 1 : n);\n\t };\n\t\n\t // Trim out all falsy values from an array.\n\t _.compact = function (array) {\n\t return _.filter(array, _.identity);\n\t };\n\t\n\t // Internal implementation of a recursive `flatten` function.\n\t var flatten = function flatten(input, shallow, strict, startIndex) {\n\t var output = [],\n\t idx = 0;\n\t for (var i = startIndex || 0, length = getLength(input); i < length; i++) {\n\t var value = input[i];\n\t if (isArrayLike(value) && (_.isArray(value) || _.isArguments(value))) {\n\t //flatten current level of array or arguments object\n\t if (!shallow) value = flatten(value, shallow, strict);\n\t var j = 0,\n\t len = value.length;\n\t output.length += len;\n\t while (j < len) {\n\t output[idx++] = value[j++];\n\t }\n\t } else if (!strict) {\n\t output[idx++] = value;\n\t }\n\t }\n\t return output;\n\t };\n\t\n\t // Flatten out an array, either recursively (by default), or just one level.\n\t _.flatten = function (array, shallow) {\n\t return flatten(array, shallow, false);\n\t };\n\t\n\t // Return a version of the array that does not contain the specified value(s).\n\t _.without = function (array) {\n\t return _.difference(array, slice.call(arguments, 1));\n\t };\n\t\n\t // Produce a duplicate-free version of the array. If the array has already\n\t // been sorted, you have the option of using a faster algorithm.\n\t // Aliased as `unique`.\n\t _.uniq = _.unique = function (array, isSorted, iteratee, context) {\n\t if (!_.isBoolean(isSorted)) {\n\t context = iteratee;\n\t iteratee = isSorted;\n\t isSorted = false;\n\t }\n\t if (iteratee != null) iteratee = cb(iteratee, context);\n\t var result = [];\n\t var seen = [];\n\t for (var i = 0, length = getLength(array); i < length; i++) {\n\t var value = array[i],\n\t computed = iteratee ? iteratee(value, i, array) : value;\n\t if (isSorted) {\n\t if (!i || seen !== computed) result.push(value);\n\t seen = computed;\n\t } else if (iteratee) {\n\t if (!_.contains(seen, computed)) {\n\t seen.push(computed);\n\t result.push(value);\n\t }\n\t } else if (!_.contains(result, value)) {\n\t result.push(value);\n\t }\n\t }\n\t return result;\n\t };\n\t\n\t // Produce an array that contains the union: each distinct element from all of\n\t // the passed-in arrays.\n\t _.union = function () {\n\t return _.uniq(flatten(arguments, true, true));\n\t };\n\t\n\t // Produce an array that contains every item shared between all the\n\t // passed-in arrays.\n\t _.intersection = function (array) {\n\t var result = [];\n\t var argsLength = arguments.length;\n\t for (var i = 0, length = getLength(array); i < length; i++) {\n\t var item = array[i];\n\t if (_.contains(result, item)) continue;\n\t for (var j = 1; j < argsLength; j++) {\n\t if (!_.contains(arguments[j], item)) break;\n\t }\n\t if (j === argsLength) result.push(item);\n\t }\n\t return result;\n\t };\n\t\n\t // Take the difference between one array and a number of other arrays.\n\t // Only the elements present in just the first array will remain.\n\t _.difference = function (array) {\n\t var rest = flatten(arguments, true, true, 1);\n\t return _.filter(array, function (value) {\n\t return !_.contains(rest, value);\n\t });\n\t };\n\t\n\t // Zip together multiple lists into a single array -- elements that share\n\t // an index go together.\n\t _.zip = function () {\n\t return _.unzip(arguments);\n\t };\n\t\n\t // Complement of _.zip. Unzip accepts an array of arrays and groups\n\t // each array's elements on shared indices\n\t _.unzip = function (array) {\n\t var length = array && _.max(array, getLength).length || 0;\n\t var result = Array(length);\n\t\n\t for (var index = 0; index < length; index++) {\n\t result[index] = _.pluck(array, index);\n\t }\n\t return result;\n\t };\n\t\n\t // Converts lists into objects. Pass either a single array of `[key, value]`\n\t // pairs, or two parallel arrays of the same length -- one of keys, and one of\n\t // the corresponding values.\n\t _.object = function (list, values) {\n\t var result = {};\n\t for (var i = 0, length = getLength(list); i < length; i++) {\n\t if (values) {\n\t result[list[i]] = values[i];\n\t } else {\n\t result[list[i][0]] = list[i][1];\n\t }\n\t }\n\t return result;\n\t };\n\t\n\t // Generator function to create the findIndex and findLastIndex functions\n\t function createPredicateIndexFinder(dir) {\n\t return function (array, predicate, context) {\n\t predicate = cb(predicate, context);\n\t var length = getLength(array);\n\t var index = dir > 0 ? 0 : length - 1;\n\t for (; index >= 0 && index < length; index += dir) {\n\t if (predicate(array[index], index, array)) return index;\n\t }\n\t return -1;\n\t };\n\t }\n\t\n\t // Returns the first index on an array-like that passes a predicate test\n\t _.findIndex = createPredicateIndexFinder(1);\n\t _.findLastIndex = createPredicateIndexFinder(-1);\n\t\n\t // Use a comparator function to figure out the smallest index at which\n\t // an object should be inserted so as to maintain order. Uses binary search.\n\t _.sortedIndex = function (array, obj, iteratee, context) {\n\t iteratee = cb(iteratee, context, 1);\n\t var value = iteratee(obj);\n\t var low = 0,\n\t high = getLength(array);\n\t while (low < high) {\n\t var mid = Math.floor((low + high) / 2);\n\t if (iteratee(array[mid]) < value) low = mid + 1;else high = mid;\n\t }\n\t return low;\n\t };\n\t\n\t // Generator function to create the indexOf and lastIndexOf functions\n\t function createIndexFinder(dir, predicateFind, sortedIndex) {\n\t return function (array, item, idx) {\n\t var i = 0,\n\t length = getLength(array);\n\t if (typeof idx == 'number') {\n\t if (dir > 0) {\n\t i = idx >= 0 ? idx : Math.max(idx + length, i);\n\t } else {\n\t length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;\n\t }\n\t } else if (sortedIndex && idx && length) {\n\t idx = sortedIndex(array, item);\n\t return array[idx] === item ? idx : -1;\n\t }\n\t if (item !== item) {\n\t idx = predicateFind(slice.call(array, i, length), _.isNaN);\n\t return idx >= 0 ? idx + i : -1;\n\t }\n\t for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {\n\t if (array[idx] === item) return idx;\n\t }\n\t return -1;\n\t };\n\t }\n\t\n\t // Return the position of the first occurrence of an item in an array,\n\t // or -1 if the item is not included in the array.\n\t // If the array is large and already in sort order, pass `true`\n\t // for **isSorted** to use binary search.\n\t _.indexOf = createIndexFinder(1, _.findIndex, _.sortedIndex);\n\t _.lastIndexOf = createIndexFinder(-1, _.findLastIndex);\n\t\n\t // Generate an integer Array containing an arithmetic progression. A port of\n\t // the native Python `range()` function. See\n\t // [the Python documentation](http://docs.python.org/library/functions.html#range).\n\t _.range = function (start, stop, step) {\n\t if (stop == null) {\n\t stop = start || 0;\n\t start = 0;\n\t }\n\t step = step || 1;\n\t\n\t var length = Math.max(Math.ceil((stop - start) / step), 0);\n\t var range = Array(length);\n\t\n\t for (var idx = 0; idx < length; idx++, start += step) {\n\t range[idx] = start;\n\t }\n\t\n\t return range;\n\t };\n\t\n\t // Function (ahem) Functions\n\t // ------------------\n\t\n\t // Determines whether to execute a function as a constructor\n\t // or a normal function with the provided arguments\n\t var executeBound = function executeBound(sourceFunc, boundFunc, context, callingContext, args) {\n\t if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args);\n\t var self = baseCreate(sourceFunc.prototype);\n\t var result = sourceFunc.apply(self, args);\n\t if (_.isObject(result)) return result;\n\t return self;\n\t };\n\t\n\t // Create a function bound to a given object (assigning `this`, and arguments,\n\t // optionally). Delegates to **ECMAScript 5**'s native `Function.bind` if\n\t // available.\n\t _.bind = function (func, context) {\n\t if (nativeBind && func.bind === nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));\n\t if (!_.isFunction(func)) throw new TypeError('Bind must be called on a function');\n\t var args = slice.call(arguments, 2);\n\t var bound = function bound() {\n\t return executeBound(func, bound, context, this, args.concat(slice.call(arguments)));\n\t };\n\t return bound;\n\t };\n\t\n\t // Partially apply a function by creating a version that has had some of its\n\t // arguments pre-filled, without changing its dynamic `this` context. _ acts\n\t // as a placeholder, allowing any combination of arguments to be pre-filled.\n\t _.partial = function (func) {\n\t var boundArgs = slice.call(arguments, 1);\n\t var bound = function bound() {\n\t var position = 0,\n\t length = boundArgs.length;\n\t var args = Array(length);\n\t for (var i = 0; i < length; i++) {\n\t args[i] = boundArgs[i] === _ ? arguments[position++] : boundArgs[i];\n\t }\n\t while (position < arguments.length) {\n\t args.push(arguments[position++]);\n\t }return executeBound(func, bound, this, this, args);\n\t };\n\t return bound;\n\t };\n\t\n\t // Bind a number of an object's methods to that object. Remaining arguments\n\t // are the method names to be bound. Useful for ensuring that all callbacks\n\t // defined on an object belong to it.\n\t _.bindAll = function (obj) {\n\t var i,\n\t length = arguments.length,\n\t key;\n\t if (length <= 1) throw new Error('bindAll must be passed function names');\n\t for (i = 1; i < length; i++) {\n\t key = arguments[i];\n\t obj[key] = _.bind(obj[key], obj);\n\t }\n\t return obj;\n\t };\n\t\n\t // Memoize an expensive function by storing its results.\n\t _.memoize = function (func, hasher) {\n\t var memoize = function memoize(key) {\n\t var cache = memoize.cache;\n\t var address = '' + (hasher ? hasher.apply(this, arguments) : key);\n\t if (!_.has(cache, address)) cache[address] = func.apply(this, arguments);\n\t return cache[address];\n\t };\n\t memoize.cache = {};\n\t return memoize;\n\t };\n\t\n\t // Delays a function for the given number of milliseconds, and then calls\n\t // it with the arguments supplied.\n\t _.delay = function (func, wait) {\n\t var args = slice.call(arguments, 2);\n\t return setTimeout(function () {\n\t return func.apply(null, args);\n\t }, wait);\n\t };\n\t\n\t // Defers a function, scheduling it to run after the current call stack has\n\t // cleared.\n\t _.defer = _.partial(_.delay, _, 1);\n\t\n\t // Returns a function, that, when invoked, will only be triggered at most once\n\t // during a given window of time. Normally, the throttled function will run\n\t // as much as it can, without ever going more than once per `wait` duration;\n\t // but if you'd like to disable the execution on the leading edge, pass\n\t // `{leading: false}`. To disable execution on the trailing edge, ditto.\n\t _.throttle = function (func, wait, options) {\n\t var context, args, result;\n\t var timeout = null;\n\t var previous = 0;\n\t if (!options) options = {};\n\t var later = function later() {\n\t previous = options.leading === false ? 0 : _.now();\n\t timeout = null;\n\t result = func.apply(context, args);\n\t if (!timeout) context = args = null;\n\t };\n\t return function () {\n\t var now = _.now();\n\t if (!previous && options.leading === false) previous = now;\n\t var remaining = wait - (now - previous);\n\t context = this;\n\t args = arguments;\n\t if (remaining <= 0 || remaining > wait) {\n\t if (timeout) {\n\t clearTimeout(timeout);\n\t timeout = null;\n\t }\n\t previous = now;\n\t result = func.apply(context, args);\n\t if (!timeout) context = args = null;\n\t } else if (!timeout && options.trailing !== false) {\n\t timeout = setTimeout(later, remaining);\n\t }\n\t return result;\n\t };\n\t };\n\t\n\t // Returns a function, that, as long as it continues to be invoked, will not\n\t // be triggered. The function will be called after it stops being called for\n\t // N milliseconds. If `immediate` is passed, trigger the function on the\n\t // leading edge, instead of the trailing.\n\t _.debounce = function (func, wait, immediate) {\n\t var timeout, args, context, timestamp, result;\n\t\n\t var later = function later() {\n\t var last = _.now() - timestamp;\n\t\n\t if (last < wait && last >= 0) {\n\t timeout = setTimeout(later, wait - last);\n\t } else {\n\t timeout = null;\n\t if (!immediate) {\n\t result = func.apply(context, args);\n\t if (!timeout) context = args = null;\n\t }\n\t }\n\t };\n\t\n\t return function () {\n\t context = this;\n\t args = arguments;\n\t timestamp = _.now();\n\t var callNow = immediate && !timeout;\n\t if (!timeout) timeout = setTimeout(later, wait);\n\t if (callNow) {\n\t result = func.apply(context, args);\n\t context = args = null;\n\t }\n\t\n\t return result;\n\t };\n\t };\n\t\n\t // Returns the first function passed as an argument to the second,\n\t // allowing you to adjust arguments, run code before and after, and\n\t // conditionally execute the original function.\n\t _.wrap = function (func, wrapper) {\n\t return _.partial(wrapper, func);\n\t };\n\t\n\t // Returns a negated version of the passed-in predicate.\n\t _.negate = function (predicate) {\n\t return function () {\n\t return !predicate.apply(this, arguments);\n\t };\n\t };\n\t\n\t // Returns a function that is the composition of a list of functions, each\n\t // consuming the return value of the function that follows.\n\t _.compose = function () {\n\t var args = arguments;\n\t var start = args.length - 1;\n\t return function () {\n\t var i = start;\n\t var result = args[start].apply(this, arguments);\n\t while (i--) {\n\t result = args[i].call(this, result);\n\t }return result;\n\t };\n\t };\n\t\n\t // Returns a function that will only be executed on and after the Nth call.\n\t _.after = function (times, func) {\n\t return function () {\n\t if (--times < 1) {\n\t return func.apply(this, arguments);\n\t }\n\t };\n\t };\n\t\n\t // Returns a function that will only be executed up to (but not including) the Nth call.\n\t _.before = function (times, func) {\n\t var memo;\n\t return function () {\n\t if (--times > 0) {\n\t memo = func.apply(this, arguments);\n\t }\n\t if (times <= 1) func = null;\n\t return memo;\n\t };\n\t };\n\t\n\t // Returns a function that will be executed at most one time, no matter how\n\t // often you call it. Useful for lazy initialization.\n\t _.once = _.partial(_.before, 2);\n\t\n\t // Object Functions\n\t // ----------------\n\t\n\t // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed.\n\t var hasEnumBug = !{ toString: null }.propertyIsEnumerable('toString');\n\t var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];\n\t\n\t function collectNonEnumProps(obj, keys) {\n\t var nonEnumIdx = nonEnumerableProps.length;\n\t var constructor = obj.constructor;\n\t var proto = _.isFunction(constructor) && constructor.prototype || ObjProto;\n\t\n\t // Constructor is a special case.\n\t var prop = 'constructor';\n\t if (_.has(obj, prop) && !_.contains(keys, prop)) keys.push(prop);\n\t\n\t while (nonEnumIdx--) {\n\t prop = nonEnumerableProps[nonEnumIdx];\n\t if (prop in obj && obj[prop] !== proto[prop] && !_.contains(keys, prop)) {\n\t keys.push(prop);\n\t }\n\t }\n\t }\n\t\n\t // Retrieve the names of an object's own properties.\n\t // Delegates to **ECMAScript 5**'s native `Object.keys`\n\t _.keys = function (obj) {\n\t if (!_.isObject(obj)) return [];\n\t if (nativeKeys) return nativeKeys(obj);\n\t var keys = [];\n\t for (var key in obj) {\n\t if (_.has(obj, key)) keys.push(key);\n\t } // Ahem, IE < 9.\n\t if (hasEnumBug) collectNonEnumProps(obj, keys);\n\t return keys;\n\t };\n\t\n\t // Retrieve all the property names of an object.\n\t _.allKeys = function (obj) {\n\t if (!_.isObject(obj)) return [];\n\t var keys = [];\n\t for (var key in obj) {\n\t keys.push(key);\n\t } // Ahem, IE < 9.\n\t if (hasEnumBug) collectNonEnumProps(obj, keys);\n\t return keys;\n\t };\n\t\n\t // Retrieve the values of an object's properties.\n\t _.values = function (obj) {\n\t var keys = _.keys(obj);\n\t var length = keys.length;\n\t var values = Array(length);\n\t for (var i = 0; i < length; i++) {\n\t values[i] = obj[keys[i]];\n\t }\n\t return values;\n\t };\n\t\n\t // Returns the results of applying the iteratee to each element of the object\n\t // In contrast to _.map it returns an object\n\t _.mapObject = function (obj, iteratee, context) {\n\t iteratee = cb(iteratee, context);\n\t var keys = _.keys(obj),\n\t length = keys.length,\n\t results = {},\n\t currentKey;\n\t for (var index = 0; index < length; index++) {\n\t currentKey = keys[index];\n\t results[currentKey] = iteratee(obj[currentKey], currentKey, obj);\n\t }\n\t return results;\n\t };\n\t\n\t // Convert an object into a list of `[key, value]` pairs.\n\t _.pairs = function (obj) {\n\t var keys = _.keys(obj);\n\t var length = keys.length;\n\t var pairs = Array(length);\n\t for (var i = 0; i < length; i++) {\n\t pairs[i] = [keys[i], obj[keys[i]]];\n\t }\n\t return pairs;\n\t };\n\t\n\t // Invert the keys and values of an object. The values must be serializable.\n\t _.invert = function (obj) {\n\t var result = {};\n\t var keys = _.keys(obj);\n\t for (var i = 0, length = keys.length; i < length; i++) {\n\t result[obj[keys[i]]] = keys[i];\n\t }\n\t return result;\n\t };\n\t\n\t // Return a sorted list of the function names available on the object.\n\t // Aliased as `methods`\n\t _.functions = _.methods = function (obj) {\n\t var names = [];\n\t for (var key in obj) {\n\t if (_.isFunction(obj[key])) names.push(key);\n\t }\n\t return names.sort();\n\t };\n\t\n\t // Extend a given object with all the properties in passed-in object(s).\n\t _.extend = createAssigner(_.allKeys);\n\t\n\t // Assigns a given object with all the own properties in the passed-in object(s)\n\t // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)\n\t _.extendOwn = _.assign = createAssigner(_.keys);\n\t\n\t // Returns the first key on an object that passes a predicate test\n\t _.findKey = function (obj, predicate, context) {\n\t predicate = cb(predicate, context);\n\t var keys = _.keys(obj),\n\t key;\n\t for (var i = 0, length = keys.length; i < length; i++) {\n\t key = keys[i];\n\t if (predicate(obj[key], key, obj)) return key;\n\t }\n\t };\n\t\n\t // Return a copy of the object only containing the whitelisted properties.\n\t _.pick = function (object, oiteratee, context) {\n\t var result = {},\n\t obj = object,\n\t iteratee,\n\t keys;\n\t if (obj == null) return result;\n\t if (_.isFunction(oiteratee)) {\n\t keys = _.allKeys(obj);\n\t iteratee = optimizeCb(oiteratee, context);\n\t } else {\n\t keys = flatten(arguments, false, false, 1);\n\t iteratee = function iteratee(value, key, obj) {\n\t return key in obj;\n\t };\n\t obj = Object(obj);\n\t }\n\t for (var i = 0, length = keys.length; i < length; i++) {\n\t var key = keys[i];\n\t var value = obj[key];\n\t if (iteratee(value, key, obj)) result[key] = value;\n\t }\n\t return result;\n\t };\n\t\n\t // Return a copy of the object without the blacklisted properties.\n\t _.omit = function (obj, iteratee, context) {\n\t if (_.isFunction(iteratee)) {\n\t iteratee = _.negate(iteratee);\n\t } else {\n\t var keys = _.map(flatten(arguments, false, false, 1), String);\n\t iteratee = function iteratee(value, key) {\n\t return !_.contains(keys, key);\n\t };\n\t }\n\t return _.pick(obj, iteratee, context);\n\t };\n\t\n\t // Fill in a given object with default properties.\n\t _.defaults = createAssigner(_.allKeys, true);\n\t\n\t // Creates an object that inherits from the given prototype object.\n\t // If additional properties are provided then they will be added to the\n\t // created object.\n\t _.create = function (prototype, props) {\n\t var result = baseCreate(prototype);\n\t if (props) _.extendOwn(result, props);\n\t return result;\n\t };\n\t\n\t // Create a (shallow-cloned) duplicate of an object.\n\t _.clone = function (obj) {\n\t if (!_.isObject(obj)) return obj;\n\t return _.isArray(obj) ? obj.slice() : _.extend({}, obj);\n\t };\n\t\n\t // Invokes interceptor with the obj, and then returns obj.\n\t // The primary purpose of this method is to \"tap into\" a method chain, in\n\t // order to perform operations on intermediate results within the chain.\n\t _.tap = function (obj, interceptor) {\n\t interceptor(obj);\n\t return obj;\n\t };\n\t\n\t // Returns whether an object has a given set of `key:value` pairs.\n\t _.isMatch = function (object, attrs) {\n\t var keys = _.keys(attrs),\n\t length = keys.length;\n\t if (object == null) return !length;\n\t var obj = Object(object);\n\t for (var i = 0; i < length; i++) {\n\t var key = keys[i];\n\t if (attrs[key] !== obj[key] || !(key in obj)) return false;\n\t }\n\t return true;\n\t };\n\t\n\t // Internal recursive comparison function for `isEqual`.\n\t var eq = function eq(a, b, aStack, bStack) {\n\t // Identical objects are equal. `0 === -0`, but they aren't identical.\n\t // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n\t if (a === b) return a !== 0 || 1 / a === 1 / b;\n\t // A strict comparison is necessary because `null == undefined`.\n\t if (a == null || b == null) return a === b;\n\t // Unwrap any wrapped objects.\n\t if (a instanceof _) a = a._wrapped;\n\t if (b instanceof _) b = b._wrapped;\n\t // Compare `[[Class]]` names.\n\t var className = toString.call(a);\n\t if (className !== toString.call(b)) return false;\n\t switch (className) {\n\t // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n\t case '[object RegExp]':\n\t // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n\t case '[object String]':\n\t // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n\t // equivalent to `new String(\"5\")`.\n\t return '' + a === '' + b;\n\t case '[object Number]':\n\t // `NaN`s are equivalent, but non-reflexive.\n\t // Object(NaN) is equivalent to NaN\n\t if (+a !== +a) return +b !== +b;\n\t // An `egal` comparison is performed for other numeric values.\n\t return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n\t case '[object Date]':\n\t case '[object Boolean]':\n\t // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n\t // millisecond representations. Note that invalid dates with millisecond representations\n\t // of `NaN` are not equivalent.\n\t return +a === +b;\n\t }\n\t\n\t var areArrays = className === '[object Array]';\n\t if (!areArrays) {\n\t if ((typeof a === 'undefined' ? 'undefined' : _typeof(a)) != 'object' || (typeof b === 'undefined' ? 'undefined' : _typeof(b)) != 'object') return false;\n\t\n\t // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n\t // from different frames are.\n\t var aCtor = a.constructor,\n\t bCtor = b.constructor;\n\t if (aCtor !== bCtor && !(_.isFunction(aCtor) && aCtor instanceof aCtor && _.isFunction(bCtor) && bCtor instanceof bCtor) && 'constructor' in a && 'constructor' in b) {\n\t return false;\n\t }\n\t }\n\t // Assume equality for cyclic structures. The algorithm for detecting cyclic\n\t // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n\t\n\t // Initializing stack of traversed objects.\n\t // It's done here since we only need them for objects and arrays comparison.\n\t aStack = aStack || [];\n\t bStack = bStack || [];\n\t var length = aStack.length;\n\t while (length--) {\n\t // Linear search. Performance is inversely proportional to the number of\n\t // unique nested structures.\n\t if (aStack[length] === a) return bStack[length] === b;\n\t }\n\t\n\t // Add the first object to the stack of traversed objects.\n\t aStack.push(a);\n\t bStack.push(b);\n\t\n\t // Recursively compare objects and arrays.\n\t if (areArrays) {\n\t // Compare array lengths to determine if a deep comparison is necessary.\n\t length = a.length;\n\t if (length !== b.length) return false;\n\t // Deep compare the contents, ignoring non-numeric properties.\n\t while (length--) {\n\t if (!eq(a[length], b[length], aStack, bStack)) return false;\n\t }\n\t } else {\n\t // Deep compare objects.\n\t var keys = _.keys(a),\n\t key;\n\t length = keys.length;\n\t // Ensure that both objects contain the same number of properties before comparing deep equality.\n\t if (_.keys(b).length !== length) return false;\n\t while (length--) {\n\t // Deep compare each member\n\t key = keys[length];\n\t if (!(_.has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;\n\t }\n\t }\n\t // Remove the first object from the stack of traversed objects.\n\t aStack.pop();\n\t bStack.pop();\n\t return true;\n\t };\n\t\n\t // Perform a deep comparison to check if two objects are equal.\n\t _.isEqual = function (a, b) {\n\t return eq(a, b);\n\t };\n\t\n\t // Is a given array, string, or object empty?\n\t // An \"empty\" object has no enumerable own-properties.\n\t _.isEmpty = function (obj) {\n\t if (obj == null) return true;\n\t if (isArrayLike(obj) && (_.isArray(obj) || _.isString(obj) || _.isArguments(obj))) return obj.length === 0;\n\t return _.keys(obj).length === 0;\n\t };\n\t\n\t // Is a given value a DOM element?\n\t _.isElement = function (obj) {\n\t return !!(obj && obj.nodeType === 1);\n\t };\n\t\n\t // Is a given value an array?\n\t // Delegates to ECMA5's native Array.isArray\n\t _.isArray = nativeIsArray || function (obj) {\n\t return toString.call(obj) === '[object Array]';\n\t };\n\t\n\t // Is a given variable an object?\n\t _.isObject = function (obj) {\n\t var type = typeof obj === 'undefined' ? 'undefined' : _typeof(obj);\n\t return type === 'function' || type === 'object' && !!obj;\n\t };\n\t\n\t // Add some isType methods: isArguments, isFunction, isString, isNumber, isDate, isRegExp, isError.\n\t _.each(['Arguments', 'Function', 'String', 'Number', 'Date', 'RegExp', 'Error'], function (name) {\n\t _['is' + name] = function (obj) {\n\t return toString.call(obj) === '[object ' + name + ']';\n\t };\n\t });\n\t\n\t // Define a fallback version of the method in browsers (ahem, IE < 9), where\n\t // there isn't any inspectable \"Arguments\" type.\n\t if (!_.isArguments(arguments)) {\n\t _.isArguments = function (obj) {\n\t return _.has(obj, 'callee');\n\t };\n\t }\n\t\n\t // Optimize `isFunction` if appropriate. Work around some typeof bugs in old v8,\n\t // IE 11 (#1621), and in Safari 8 (#1929).\n\t if (typeof /./ != 'function' && (typeof Int8Array === 'undefined' ? 'undefined' : _typeof(Int8Array)) != 'object') {\n\t _.isFunction = function (obj) {\n\t return typeof obj == 'function' || false;\n\t };\n\t }\n\t\n\t // Is a given object a finite number?\n\t _.isFinite = function (obj) {\n\t return isFinite(obj) && !isNaN(parseFloat(obj));\n\t };\n\t\n\t // Is the given value `NaN`? (NaN is the only number which does not equal itself).\n\t _.isNaN = function (obj) {\n\t return _.isNumber(obj) && obj !== +obj;\n\t };\n\t\n\t // Is a given value a boolean?\n\t _.isBoolean = function (obj) {\n\t return obj === true || obj === false || toString.call(obj) === '[object Boolean]';\n\t };\n\t\n\t // Is a given value equal to null?\n\t _.isNull = function (obj) {\n\t return obj === null;\n\t };\n\t\n\t // Is a given variable undefined?\n\t _.isUndefined = function (obj) {\n\t return obj === void 0;\n\t };\n\t\n\t // Shortcut function for checking if an object has a given property directly\n\t // on itself (in other words, not on a prototype).\n\t _.has = function (obj, key) {\n\t return obj != null && hasOwnProperty.call(obj, key);\n\t };\n\t\n\t // Utility Functions\n\t // -----------------\n\t\n\t // Run Underscore.js in *noConflict* mode, returning the `_` variable to its\n\t // previous owner. Returns a reference to the Underscore object.\n\t _.noConflict = function () {\n\t root._ = previousUnderscore;\n\t return this;\n\t };\n\t\n\t // Keep the identity function around for default iteratees.\n\t _.identity = function (value) {\n\t return value;\n\t };\n\t\n\t // Predicate-generating functions. Often useful outside of Underscore.\n\t _.constant = function (value) {\n\t return function () {\n\t return value;\n\t };\n\t };\n\t\n\t _.noop = function () {};\n\t\n\t _.property = property;\n\t\n\t // Generates a function for a given object that returns a given property.\n\t _.propertyOf = function (obj) {\n\t return obj == null ? function () {} : function (key) {\n\t return obj[key];\n\t };\n\t };\n\t\n\t // Returns a predicate for checking whether an object has a given set of\n\t // `key:value` pairs.\n\t _.matcher = _.matches = function (attrs) {\n\t attrs = _.extendOwn({}, attrs);\n\t return function (obj) {\n\t return _.isMatch(obj, attrs);\n\t };\n\t };\n\t\n\t // Run a function **n** times.\n\t _.times = function (n, iteratee, context) {\n\t var accum = Array(Math.max(0, n));\n\t iteratee = optimizeCb(iteratee, context, 1);\n\t for (var i = 0; i < n; i++) {\n\t accum[i] = iteratee(i);\n\t }return accum;\n\t };\n\t\n\t // Return a random integer between min and max (inclusive).\n\t _.random = function (min, max) {\n\t if (max == null) {\n\t max = min;\n\t min = 0;\n\t }\n\t return min + Math.floor(Math.random() * (max - min + 1));\n\t };\n\t\n\t // A (possibly faster) way to get the current timestamp as an integer.\n\t _.now = Date.now || function () {\n\t return new Date().getTime();\n\t };\n\t\n\t // List of HTML entities for escaping.\n\t var escapeMap = {\n\t '&': '&',\n\t '<': '<',\n\t '>': '>',\n\t '\"': '"',\n\t \"'\": ''',\n\t '`': '`'\n\t };\n\t var unescapeMap = _.invert(escapeMap);\n\t\n\t // Functions for escaping and unescaping strings to/from HTML interpolation.\n\t var createEscaper = function createEscaper(map) {\n\t var escaper = function escaper(match) {\n\t return map[match];\n\t };\n\t // Regexes for identifying a key that needs to be escaped\n\t var source = '(?:' + _.keys(map).join('|') + ')';\n\t var testRegexp = RegExp(source);\n\t var replaceRegexp = RegExp(source, 'g');\n\t return function (string) {\n\t string = string == null ? '' : '' + string;\n\t return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;\n\t };\n\t };\n\t _.escape = createEscaper(escapeMap);\n\t _.unescape = createEscaper(unescapeMap);\n\t\n\t // If the value of the named `property` is a function then invoke it with the\n\t // `object` as context; otherwise, return it.\n\t _.result = function (object, property, fallback) {\n\t var value = object == null ? void 0 : object[property];\n\t if (value === void 0) {\n\t value = fallback;\n\t }\n\t return _.isFunction(value) ? value.call(object) : value;\n\t };\n\t\n\t // Generate a unique integer id (unique within the entire client session).\n\t // Useful for temporary DOM ids.\n\t var idCounter = 0;\n\t _.uniqueId = function (prefix) {\n\t var id = ++idCounter + '';\n\t return prefix ? prefix + id : id;\n\t };\n\t\n\t // By default, Underscore uses ERB-style template delimiters, change the\n\t // following template settings to use alternative delimiters.\n\t _.templateSettings = {\n\t evaluate: /<%([\\s\\S]+?)%>/g,\n\t interpolate: /<%=([\\s\\S]+?)%>/g,\n\t escape: /<%-([\\s\\S]+?)%>/g\n\t };\n\t\n\t // When customizing `templateSettings`, if you don't want to define an\n\t // interpolation, evaluation or escaping regex, we need one that is\n\t // guaranteed not to match.\n\t var noMatch = /(.)^/;\n\t\n\t // Certain characters need to be escaped so that they can be put into a\n\t // string literal.\n\t var escapes = {\n\t \"'\": \"'\",\n\t '\\\\': '\\\\',\n\t '\\r': 'r',\n\t '\\n': 'n',\n\t '\\u2028': 'u2028',\n\t '\\u2029': 'u2029'\n\t };\n\t\n\t var escaper = /\\\\|'|\\r|\\n|\\u2028|\\u2029/g;\n\t\n\t var escapeChar = function escapeChar(match) {\n\t return '\\\\' + escapes[match];\n\t };\n\t\n\t // JavaScript micro-templating, similar to John Resig's implementation.\n\t // Underscore templating handles arbitrary delimiters, preserves whitespace,\n\t // and correctly escapes quotes within interpolated code.\n\t // NB: `oldSettings` only exists for backwards compatibility.\n\t _.template = function (text, settings, oldSettings) {\n\t if (!settings && oldSettings) settings = oldSettings;\n\t settings = _.defaults({}, settings, _.templateSettings);\n\t\n\t // Combine delimiters into one regular expression via alternation.\n\t var matcher = RegExp([(settings.escape || noMatch).source, (settings.interpolate || noMatch).source, (settings.evaluate || noMatch).source].join('|') + '|$', 'g');\n\t\n\t // Compile the template source, escaping string literals appropriately.\n\t var index = 0;\n\t var source = \"__p+='\";\n\t text.replace(matcher, function (match, escape, interpolate, evaluate, offset) {\n\t source += text.slice(index, offset).replace(escaper, escapeChar);\n\t index = offset + match.length;\n\t\n\t if (escape) {\n\t source += \"'+\\n((__t=(\" + escape + \"))==null?'':_.escape(__t))+\\n'\";\n\t } else if (interpolate) {\n\t source += \"'+\\n((__t=(\" + interpolate + \"))==null?'':__t)+\\n'\";\n\t } else if (evaluate) {\n\t source += \"';\\n\" + evaluate + \"\\n__p+='\";\n\t }\n\t\n\t // Adobe VMs need the match returned to produce the correct offest.\n\t return match;\n\t });\n\t source += \"';\\n\";\n\t\n\t // If a variable is not specified, place data values in local scope.\n\t if (!settings.variable) source = 'with(obj||{}){\\n' + source + '}\\n';\n\t\n\t source = \"var __t,__p='',__j=Array.prototype.join,\" + \"print=function(){__p+=__j.call(arguments,'');};\\n\" + source + 'return __p;\\n';\n\t\n\t try {\n\t var render = new Function(settings.variable || 'obj', '_', source);\n\t } catch (e) {\n\t e.source = source;\n\t throw e;\n\t }\n\t\n\t var template = function template(data) {\n\t return render.call(this, data, _);\n\t };\n\t\n\t // Provide the compiled source as a convenience for precompilation.\n\t var argument = settings.variable || 'obj';\n\t template.source = 'function(' + argument + '){\\n' + source + '}';\n\t\n\t return template;\n\t };\n\t\n\t // Add a \"chain\" function. Start chaining a wrapped Underscore object.\n\t _.chain = function (obj) {\n\t var instance = _(obj);\n\t instance._chain = true;\n\t return instance;\n\t };\n\t\n\t // OOP\n\t // ---------------\n\t // If Underscore is called as a function, it returns a wrapped object that\n\t // can be used OO-style. This wrapper holds altered versions of all the\n\t // underscore functions. Wrapped objects may be chained.\n\t\n\t // Helper function to continue chaining intermediate results.\n\t var result = function result(instance, obj) {\n\t return instance._chain ? _(obj).chain() : obj;\n\t };\n\t\n\t // Add your own custom functions to the Underscore object.\n\t _.mixin = function (obj) {\n\t _.each(_.functions(obj), function (name) {\n\t var func = _[name] = obj[name];\n\t _.prototype[name] = function () {\n\t var args = [this._wrapped];\n\t push.apply(args, arguments);\n\t return result(this, func.apply(_, args));\n\t };\n\t });\n\t };\n\t\n\t // Add all of the Underscore functions to the wrapper object.\n\t _.mixin(_);\n\t\n\t // Add all mutator Array functions to the wrapper.\n\t _.each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function (name) {\n\t var method = ArrayProto[name];\n\t _.prototype[name] = function () {\n\t var obj = this._wrapped;\n\t method.apply(obj, arguments);\n\t if ((name === 'shift' || name === 'splice') && obj.length === 0) delete obj[0];\n\t return result(this, obj);\n\t };\n\t });\n\t\n\t // Add all accessor Array functions to the wrapper.\n\t _.each(['concat', 'join', 'slice'], function (name) {\n\t var method = ArrayProto[name];\n\t _.prototype[name] = function () {\n\t return result(this, method.apply(this._wrapped, arguments));\n\t };\n\t });\n\t\n\t // Extracts the result from a wrapped and chained object.\n\t _.prototype.value = function () {\n\t return this._wrapped;\n\t };\n\t\n\t // Provide unwrapping proxy for some methods used in engine operations\n\t // such as arithmetic and JSON stringification.\n\t _.prototype.valueOf = _.prototype.toJSON = _.prototype.value;\n\t\n\t _.prototype.toString = function () {\n\t return '' + this._wrapped;\n\t };\n\t\n\t // AMD registration happens at the end for compatibility with AMD loaders\n\t // that may not enforce next-turn semantics on modules. Even though general\n\t // practice for AMD registration is to be anonymous, underscore registers\n\t // as a named module because, like jQuery, it is a base library that is\n\t // popular enough to be bundled in a third party lib, but not be part of\n\t // an AMD load request. Those cases could generate an error when an\n\t // anonymous define() is called outside of a loader request.\n\t if (true) {\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t return _;\n\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t }\n\t}).call(undefined);\n\n/***/ },\n/* 47 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar EventPluginRegistry = __webpack_require__(60);\n\tvar ReactEventEmitterMixin = __webpack_require__(214);\n\tvar ViewportMetrics = __webpack_require__(109);\n\t\n\tvar getVendorPrefixedEventName = __webpack_require__(114);\n\tvar isEventSupported = __webpack_require__(71);\n\t\n\t/**\n\t * Summary of `ReactBrowserEventEmitter` event handling:\n\t *\n\t * - Top-level delegation is used to trap most native browser events. This\n\t * may only occur in the main thread and is the responsibility of\n\t * ReactEventListener, which is injected and can therefore support pluggable\n\t * event sources. This is the only work that occurs in the main thread.\n\t *\n\t * - We normalize and de-duplicate events to account for browser quirks. This\n\t * may be done in the worker thread.\n\t *\n\t * - Forward these native events (with the associated top-level type used to\n\t * trap it) to `EventPluginHub`, which in turn will ask plugins if they want\n\t * to extract any synthetic events.\n\t *\n\t * - The `EventPluginHub` will then process each event by annotating them with\n\t * \"dispatches\", a sequence of listeners and IDs that care about that event.\n\t *\n\t * - The `EventPluginHub` then dispatches the events.\n\t *\n\t * Overview of React and the event system:\n\t *\n\t * +------------+ .\n\t * | DOM | .\n\t * +------------+ .\n\t * | .\n\t * v .\n\t * +------------+ .\n\t * | ReactEvent | .\n\t * | Listener | .\n\t * +------------+ . +-----------+\n\t * | . +--------+|SimpleEvent|\n\t * | . | |Plugin |\n\t * +-----|------+ . v +-----------+\n\t * | | | . +--------------+ +------------+\n\t * | +-----------.--->|EventPluginHub| | Event |\n\t * | | . | | +-----------+ | Propagators|\n\t * | ReactEvent | . | | |TapEvent | |------------|\n\t * | Emitter | . | |<---+|Plugin | |other plugin|\n\t * | | . | | +-----------+ | utilities |\n\t * | +-----------.--->| | +------------+\n\t * | | | . +--------------+\n\t * +-----|------+ . ^ +-----------+\n\t * | . | |Enter/Leave|\n\t * + . +-------+|Plugin |\n\t * +-------------+ . +-----------+\n\t * | application | .\n\t * |-------------| .\n\t * | | .\n\t * | | .\n\t * +-------------+ .\n\t * .\n\t * React Core . General Purpose Event Plugin System\n\t */\n\t\n\tvar hasEventPageXY;\n\tvar alreadyListeningTo = {};\n\tvar isMonitoringScrollValue = false;\n\tvar reactTopListenersCounter = 0;\n\t\n\t// For events like 'submit' which don't consistently bubble (which we trap at a\n\t// lower node than `document`), binding at `document` would cause duplicate\n\t// events so we don't include them here\n\tvar topEventMapping = {\n\t topAbort: 'abort',\n\t topAnimationEnd: getVendorPrefixedEventName('animationend') || 'animationend',\n\t topAnimationIteration: getVendorPrefixedEventName('animationiteration') || 'animationiteration',\n\t topAnimationStart: getVendorPrefixedEventName('animationstart') || 'animationstart',\n\t topBlur: 'blur',\n\t topCanPlay: 'canplay',\n\t topCanPlayThrough: 'canplaythrough',\n\t topChange: 'change',\n\t topClick: 'click',\n\t topCompositionEnd: 'compositionend',\n\t topCompositionStart: 'compositionstart',\n\t topCompositionUpdate: 'compositionupdate',\n\t topContextMenu: 'contextmenu',\n\t topCopy: 'copy',\n\t topCut: 'cut',\n\t topDoubleClick: 'dblclick',\n\t topDrag: 'drag',\n\t topDragEnd: 'dragend',\n\t topDragEnter: 'dragenter',\n\t topDragExit: 'dragexit',\n\t topDragLeave: 'dragleave',\n\t topDragOver: 'dragover',\n\t topDragStart: 'dragstart',\n\t topDrop: 'drop',\n\t topDurationChange: 'durationchange',\n\t topEmptied: 'emptied',\n\t topEncrypted: 'encrypted',\n\t topEnded: 'ended',\n\t topError: 'error',\n\t topFocus: 'focus',\n\t topInput: 'input',\n\t topKeyDown: 'keydown',\n\t topKeyPress: 'keypress',\n\t topKeyUp: 'keyup',\n\t topLoadedData: 'loadeddata',\n\t topLoadedMetadata: 'loadedmetadata',\n\t topLoadStart: 'loadstart',\n\t topMouseDown: 'mousedown',\n\t topMouseMove: 'mousemove',\n\t topMouseOut: 'mouseout',\n\t topMouseOver: 'mouseover',\n\t topMouseUp: 'mouseup',\n\t topPaste: 'paste',\n\t topPause: 'pause',\n\t topPlay: 'play',\n\t topPlaying: 'playing',\n\t topProgress: 'progress',\n\t topRateChange: 'ratechange',\n\t topScroll: 'scroll',\n\t topSeeked: 'seeked',\n\t topSeeking: 'seeking',\n\t topSelectionChange: 'selectionchange',\n\t topStalled: 'stalled',\n\t topSuspend: 'suspend',\n\t topTextInput: 'textInput',\n\t topTimeUpdate: 'timeupdate',\n\t topTouchCancel: 'touchcancel',\n\t topTouchEnd: 'touchend',\n\t topTouchMove: 'touchmove',\n\t topTouchStart: 'touchstart',\n\t topTransitionEnd: getVendorPrefixedEventName('transitionend') || 'transitionend',\n\t topVolumeChange: 'volumechange',\n\t topWaiting: 'waiting',\n\t topWheel: 'wheel'\n\t};\n\t\n\t/**\n\t * To ensure no conflicts with other potential React instances on the page\n\t */\n\tvar topListenersIDKey = '_reactListenersID' + String(Math.random()).slice(2);\n\t\n\tfunction getListeningForDocument(mountAt) {\n\t // In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty`\n\t // directly.\n\t if (!Object.prototype.hasOwnProperty.call(mountAt, topListenersIDKey)) {\n\t mountAt[topListenersIDKey] = reactTopListenersCounter++;\n\t alreadyListeningTo[mountAt[topListenersIDKey]] = {};\n\t }\n\t return alreadyListeningTo[mountAt[topListenersIDKey]];\n\t}\n\t\n\t/**\n\t * `ReactBrowserEventEmitter` is used to attach top-level event listeners. For\n\t * example:\n\t *\n\t * EventPluginHub.putListener('myID', 'onClick', myFunction);\n\t *\n\t * This would allocate a \"registration\" of `('onClick', myFunction)` on 'myID'.\n\t *\n\t * @internal\n\t */\n\tvar ReactBrowserEventEmitter = _assign({}, ReactEventEmitterMixin, {\n\t\n\t /**\n\t * Injectable event backend\n\t */\n\t ReactEventListener: null,\n\t\n\t injection: {\n\t /**\n\t * @param {object} ReactEventListener\n\t */\n\t injectReactEventListener: function injectReactEventListener(ReactEventListener) {\n\t ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel);\n\t ReactBrowserEventEmitter.ReactEventListener = ReactEventListener;\n\t }\n\t },\n\t\n\t /**\n\t * Sets whether or not any created callbacks should be enabled.\n\t *\n\t * @param {boolean} enabled True if callbacks should be enabled.\n\t */\n\t setEnabled: function setEnabled(enabled) {\n\t if (ReactBrowserEventEmitter.ReactEventListener) {\n\t ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled);\n\t }\n\t },\n\t\n\t /**\n\t * @return {boolean} True if callbacks are enabled.\n\t */\n\t isEnabled: function isEnabled() {\n\t return !!(ReactBrowserEventEmitter.ReactEventListener && ReactBrowserEventEmitter.ReactEventListener.isEnabled());\n\t },\n\t\n\t /**\n\t * We listen for bubbled touch events on the document object.\n\t *\n\t * Firefox v8.01 (and possibly others) exhibited strange behavior when\n\t * mounting `onmousemove` events at some node that was not the document\n\t * element. The symptoms were that if your mouse is not moving over something\n\t * contained within that mount point (for example on the background) the\n\t * top-level listeners for `onmousemove` won't be called. However, if you\n\t * register the `mousemove` on the document object, then it will of course\n\t * catch all `mousemove`s. This along with iOS quirks, justifies restricting\n\t * top-level listeners to the document object only, at least for these\n\t * movement types of events and possibly all events.\n\t *\n\t * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n\t *\n\t * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but\n\t * they bubble to document.\n\t *\n\t * @param {string} registrationName Name of listener (e.g. `onClick`).\n\t * @param {object} contentDocumentHandle Document which owns the container\n\t */\n\t listenTo: function listenTo(registrationName, contentDocumentHandle) {\n\t var mountAt = contentDocumentHandle;\n\t var isListening = getListeningForDocument(mountAt);\n\t var dependencies = EventPluginRegistry.registrationNameDependencies[registrationName];\n\t\n\t for (var i = 0; i < dependencies.length; i++) {\n\t var dependency = dependencies[i];\n\t if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {\n\t if (dependency === 'topWheel') {\n\t if (isEventSupported('wheel')) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'wheel', mountAt);\n\t } else if (isEventSupported('mousewheel')) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'mousewheel', mountAt);\n\t } else {\n\t // Firefox needs to capture a different mouse scroll event.\n\t // @see http://www.quirksmode.org/dom/events/tests/scroll.html\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'DOMMouseScroll', mountAt);\n\t }\n\t } else if (dependency === 'topScroll') {\n\t\n\t if (isEventSupported('scroll', true)) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topScroll', 'scroll', mountAt);\n\t } else {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topScroll', 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE);\n\t }\n\t } else if (dependency === 'topFocus' || dependency === 'topBlur') {\n\t\n\t if (isEventSupported('focus', true)) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topFocus', 'focus', mountAt);\n\t ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topBlur', 'blur', mountAt);\n\t } else if (isEventSupported('focusin')) {\n\t // IE has `focusin` and `focusout` events which bubble.\n\t // @see http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topFocus', 'focusin', mountAt);\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topBlur', 'focusout', mountAt);\n\t }\n\t\n\t // to make sure blur and focus event listeners are only attached once\n\t isListening.topBlur = true;\n\t isListening.topFocus = true;\n\t } else if (topEventMapping.hasOwnProperty(dependency)) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(dependency, topEventMapping[dependency], mountAt);\n\t }\n\t\n\t isListening[dependency] = true;\n\t }\n\t }\n\t },\n\t\n\t trapBubbledEvent: function trapBubbledEvent(topLevelType, handlerBaseName, handle) {\n\t return ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelType, handlerBaseName, handle);\n\t },\n\t\n\t trapCapturedEvent: function trapCapturedEvent(topLevelType, handlerBaseName, handle) {\n\t return ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelType, handlerBaseName, handle);\n\t },\n\t\n\t /**\n\t * Protect against document.createEvent() returning null\n\t * Some popup blocker extensions appear to do this:\n\t * https://github.com/facebook/react/issues/6887\n\t */\n\t supportsEventPageXY: function supportsEventPageXY() {\n\t if (!document.createEvent) {\n\t return false;\n\t }\n\t var ev = document.createEvent('MouseEvent');\n\t return ev != null && 'pageX' in ev;\n\t },\n\t\n\t /**\n\t * Listens to window scroll and resize events. We cache scroll values so that\n\t * application code can access them without triggering reflows.\n\t *\n\t * ViewportMetrics is only used by SyntheticMouse/TouchEvent and only when\n\t * pageX/pageY isn't supported (legacy browsers).\n\t *\n\t * NOTE: Scroll events do not bubble.\n\t *\n\t * @see http://www.quirksmode.org/dom/events/scroll.html\n\t */\n\t ensureScrollValueMonitoring: function ensureScrollValueMonitoring() {\n\t if (hasEventPageXY === undefined) {\n\t hasEventPageXY = ReactBrowserEventEmitter.supportsEventPageXY();\n\t }\n\t if (!hasEventPageXY && !isMonitoringScrollValue) {\n\t var refresh = ViewportMetrics.refreshScrollValues;\n\t ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh);\n\t isMonitoringScrollValue = true;\n\t }\n\t }\n\t\n\t});\n\t\n\tmodule.exports = ReactBrowserEventEmitter;\n\n/***/ },\n/* 48 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticUIEvent = __webpack_require__(44);\n\tvar ViewportMetrics = __webpack_require__(109);\n\t\n\tvar getEventModifierState = __webpack_require__(69);\n\t\n\t/**\n\t * @interface MouseEvent\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/\n\t */\n\tvar MouseEventInterface = {\n\t screenX: null,\n\t screenY: null,\n\t clientX: null,\n\t clientY: null,\n\t ctrlKey: null,\n\t shiftKey: null,\n\t altKey: null,\n\t metaKey: null,\n\t getModifierState: getEventModifierState,\n\t button: function button(event) {\n\t // Webkit, Firefox, IE9+\n\t // which: 1 2 3\n\t // button: 0 1 2 (standard)\n\t var button = event.button;\n\t if ('which' in event) {\n\t return button;\n\t }\n\t // IE<9\n\t // which: undefined\n\t // button: 0 0 0\n\t // button: 1 4 2 (onmouseup)\n\t return button === 2 ? 2 : button === 4 ? 1 : 0;\n\t },\n\t buttons: null,\n\t relatedTarget: function relatedTarget(event) {\n\t return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement);\n\t },\n\t // \"Proprietary\" Interface.\n\t pageX: function pageX(event) {\n\t return 'pageX' in event ? event.pageX : event.clientX + ViewportMetrics.currentScrollLeft;\n\t },\n\t pageY: function pageY(event) {\n\t return 'pageY' in event ? event.pageY : event.clientY + ViewportMetrics.currentScrollTop;\n\t }\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticUIEvent}\n\t */\n\tfunction SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);\n\t\n\tmodule.exports = SyntheticMouseEvent;\n\n/***/ },\n/* 49 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\tvar OBSERVED_ERROR = {};\n\t\n\t/**\n\t * `Transaction` creates a black box that is able to wrap any method such that\n\t * certain invariants are maintained before and after the method is invoked\n\t * (Even if an exception is thrown while invoking the wrapped method). Whoever\n\t * instantiates a transaction can provide enforcers of the invariants at\n\t * creation time. The `Transaction` class itself will supply one additional\n\t * automatic invariant for you - the invariant that any transaction instance\n\t * should not be run while it is already being run. You would typically create a\n\t * single instance of a `Transaction` for reuse multiple times, that potentially\n\t * is used to wrap several different methods. Wrappers are extremely simple -\n\t * they only require implementing two methods.\n\t *\n\t * <pre>\n\t * wrappers (injected at creation time)\n\t * + +\n\t * | |\n\t * +-----------------|--------|--------------+\n\t * | v | |\n\t * | +---------------+ | |\n\t * | +--| wrapper1 |---|----+ |\n\t * | | +---------------+ v | |\n\t * | | +-------------+ | |\n\t * | | +----| wrapper2 |--------+ |\n\t * | | | +-------------+ | | |\n\t * | | | | | |\n\t * | v v v v | wrapper\n\t * | +---+ +---+ +---------+ +---+ +---+ | invariants\n\t * perform(anyMethod) | | | | | | | | | | | | maintained\n\t * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->\n\t * | | | | | | | | | | | |\n\t * | | | | | | | | | | | |\n\t * | | | | | | | | | | | |\n\t * | +---+ +---+ +---------+ +---+ +---+ |\n\t * | initialize close |\n\t * +-----------------------------------------+\n\t * </pre>\n\t *\n\t * Use cases:\n\t * - Preserving the input selection ranges before/after reconciliation.\n\t * Restoring selection even in the event of an unexpected error.\n\t * - Deactivating events while rearranging the DOM, preventing blurs/focuses,\n\t * while guaranteeing that afterwards, the event system is reactivated.\n\t * - Flushing a queue of collected DOM mutations to the main UI thread after a\n\t * reconciliation takes place in a worker thread.\n\t * - Invoking any collected `componentDidUpdate` callbacks after rendering new\n\t * content.\n\t * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue\n\t * to preserve the `scrollTop` (an automatic scroll aware DOM).\n\t * - (Future use case): Layout calculations before and after DOM updates.\n\t *\n\t * Transactional plugin API:\n\t * - A module that has an `initialize` method that returns any precomputation.\n\t * - and a `close` method that accepts the precomputation. `close` is invoked\n\t * when the wrapped process is completed, or has failed.\n\t *\n\t * @param {Array<TransactionalWrapper>} transactionWrapper Wrapper modules\n\t * that implement `initialize` and `close`.\n\t * @return {Transaction} Single transaction for reuse in thread.\n\t *\n\t * @class Transaction\n\t */\n\tvar TransactionImpl = {\n\t /**\n\t * Sets up this instance so that it is prepared for collecting metrics. Does\n\t * so such that this setup method may be used on an instance that is already\n\t * initialized, in a way that does not consume additional memory upon reuse.\n\t * That can be useful if you decide to make your subclass of this mixin a\n\t * \"PooledClass\".\n\t */\n\t reinitializeTransaction: function reinitializeTransaction() {\n\t this.transactionWrappers = this.getTransactionWrappers();\n\t if (this.wrapperInitData) {\n\t this.wrapperInitData.length = 0;\n\t } else {\n\t this.wrapperInitData = [];\n\t }\n\t this._isInTransaction = false;\n\t },\n\t\n\t _isInTransaction: false,\n\t\n\t /**\n\t * @abstract\n\t * @return {Array<TransactionWrapper>} Array of transaction wrappers.\n\t */\n\t getTransactionWrappers: null,\n\t\n\t isInTransaction: function isInTransaction() {\n\t return !!this._isInTransaction;\n\t },\n\t\n\t /**\n\t * Executes the function within a safety window. Use this for the top level\n\t * methods that result in large amounts of computation/mutations that would\n\t * need to be safety checked. The optional arguments helps prevent the need\n\t * to bind in many cases.\n\t *\n\t * @param {function} method Member of scope to call.\n\t * @param {Object} scope Scope to invoke from.\n\t * @param {Object?=} a Argument to pass to the method.\n\t * @param {Object?=} b Argument to pass to the method.\n\t * @param {Object?=} c Argument to pass to the method.\n\t * @param {Object?=} d Argument to pass to the method.\n\t * @param {Object?=} e Argument to pass to the method.\n\t * @param {Object?=} f Argument to pass to the method.\n\t *\n\t * @return {*} Return value from `method`.\n\t */\n\t perform: function perform(method, scope, a, b, c, d, e, f) {\n\t !!this.isInTransaction() ? false ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.') : _prodInvariant('27') : void 0;\n\t var errorThrown;\n\t var ret;\n\t try {\n\t this._isInTransaction = true;\n\t // Catching errors makes debugging more difficult, so we start with\n\t // errorThrown set to true before setting it to false after calling\n\t // close -- if it's still set to true in the finally block, it means\n\t // one of these calls threw.\n\t errorThrown = true;\n\t this.initializeAll(0);\n\t ret = method.call(scope, a, b, c, d, e, f);\n\t errorThrown = false;\n\t } finally {\n\t try {\n\t if (errorThrown) {\n\t // If `method` throws, prefer to show that stack trace over any thrown\n\t // by invoking `closeAll`.\n\t try {\n\t this.closeAll(0);\n\t } catch (err) {}\n\t } else {\n\t // Since `method` didn't throw, we don't want to silence the exception\n\t // here.\n\t this.closeAll(0);\n\t }\n\t } finally {\n\t this._isInTransaction = false;\n\t }\n\t }\n\t return ret;\n\t },\n\t\n\t initializeAll: function initializeAll(startIndex) {\n\t var transactionWrappers = this.transactionWrappers;\n\t for (var i = startIndex; i < transactionWrappers.length; i++) {\n\t var wrapper = transactionWrappers[i];\n\t try {\n\t // Catching errors makes debugging more difficult, so we start with the\n\t // OBSERVED_ERROR state before overwriting it with the real return value\n\t // of initialize -- if it's still set to OBSERVED_ERROR in the finally\n\t // block, it means wrapper.initialize threw.\n\t this.wrapperInitData[i] = OBSERVED_ERROR;\n\t this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null;\n\t } finally {\n\t if (this.wrapperInitData[i] === OBSERVED_ERROR) {\n\t // The initializer for wrapper i threw an error; initialize the\n\t // remaining wrappers but silence any exceptions from them to ensure\n\t // that the first error is the one to bubble up.\n\t try {\n\t this.initializeAll(i + 1);\n\t } catch (err) {}\n\t }\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * Invokes each of `this.transactionWrappers.close[i]` functions, passing into\n\t * them the respective return values of `this.transactionWrappers.init[i]`\n\t * (`close`rs that correspond to initializers that failed will not be\n\t * invoked).\n\t */\n\t closeAll: function closeAll(startIndex) {\n\t !this.isInTransaction() ? false ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : _prodInvariant('28') : void 0;\n\t var transactionWrappers = this.transactionWrappers;\n\t for (var i = startIndex; i < transactionWrappers.length; i++) {\n\t var wrapper = transactionWrappers[i];\n\t var initData = this.wrapperInitData[i];\n\t var errorThrown;\n\t try {\n\t // Catching errors makes debugging more difficult, so we start with\n\t // errorThrown set to true before setting it to false after calling\n\t // close -- if it's still set to true in the finally block, it means\n\t // wrapper.close threw.\n\t errorThrown = true;\n\t if (initData !== OBSERVED_ERROR && wrapper.close) {\n\t wrapper.close.call(this, initData);\n\t }\n\t errorThrown = false;\n\t } finally {\n\t if (errorThrown) {\n\t // The closer for wrapper i threw an error; close the remaining\n\t // wrappers but silence any exceptions from them to ensure that the\n\t // first error is the one to bubble up.\n\t try {\n\t this.closeAll(i + 1);\n\t } catch (e) {}\n\t }\n\t }\n\t }\n\t this.wrapperInitData.length = 0;\n\t }\n\t};\n\t\n\tmodule.exports = TransactionImpl;\n\n/***/ },\n/* 50 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2016-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * Based on the escape-html library, which is used under the MIT License below:\n\t *\n\t * Copyright (c) 2012-2013 TJ Holowaychuk\n\t * Copyright (c) 2015 Andreas Lubbe\n\t * Copyright (c) 2015 Tiancheng \"Timothy\" Gu\n\t *\n\t * Permission is hereby granted, free of charge, to any person obtaining\n\t * a copy of this software and associated documentation files (the\n\t * 'Software'), to deal in the Software without restriction, including\n\t * without limitation the rights to use, copy, modify, merge, publish,\n\t * distribute, sublicense, and/or sell copies of the Software, and to\n\t * permit persons to whom the Software is furnished to do so, subject to\n\t * the following conditions:\n\t *\n\t * The above copyright notice and this permission notice shall be\n\t * included in all copies or substantial portions of the Software.\n\t *\n\t * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\n\t * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n\t * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n\t * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n\t * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n\t * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t// code copied and modified from escape-html\n\t/**\n\t * Module variables.\n\t * @private\n\t */\n\t\n\tvar matchHtmlRegExp = /[\"'&<>]/;\n\t\n\t/**\n\t * Escape special characters in the given string of html.\n\t *\n\t * @param {string} string The string to escape for inserting into HTML\n\t * @return {string}\n\t * @public\n\t */\n\t\n\tfunction escapeHtml(string) {\n\t var str = '' + string;\n\t var match = matchHtmlRegExp.exec(str);\n\t\n\t if (!match) {\n\t return str;\n\t }\n\t\n\t var escape;\n\t var html = '';\n\t var index = 0;\n\t var lastIndex = 0;\n\t\n\t for (index = match.index; index < str.length; index++) {\n\t switch (str.charCodeAt(index)) {\n\t case 34:\n\t // \"\n\t escape = '"';\n\t break;\n\t case 38:\n\t // &\n\t escape = '&';\n\t break;\n\t case 39:\n\t // '\n\t escape = '''; // modified from escape-html; used to be '''\n\t break;\n\t case 60:\n\t // <\n\t escape = '<';\n\t break;\n\t case 62:\n\t // >\n\t escape = '>';\n\t break;\n\t default:\n\t continue;\n\t }\n\t\n\t if (lastIndex !== index) {\n\t html += str.substring(lastIndex, index);\n\t }\n\t\n\t lastIndex = index + 1;\n\t html += escape;\n\t }\n\t\n\t return lastIndex !== index ? html + str.substring(lastIndex, index) : html;\n\t}\n\t// end code copied and modified from escape-html\n\t\n\t\n\t/**\n\t * Escapes text to prevent scripting attacks.\n\t *\n\t * @param {*} text Text value to escape.\n\t * @return {string} An escaped string.\n\t */\n\tfunction escapeTextContentForBrowser(text) {\n\t if (typeof text === 'boolean' || typeof text === 'number') {\n\t // this shortcircuit helps perf for types that we know will never have\n\t // special characters, especially given that this function is used often\n\t // for numeric dom ids.\n\t return '' + text;\n\t }\n\t return escapeHtml(text);\n\t}\n\t\n\tmodule.exports = escapeTextContentForBrowser;\n\n/***/ },\n/* 51 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar DOMNamespaces = __webpack_require__(59);\n\t\n\tvar WHITESPACE_TEST = /^[ \\r\\n\\t\\f]/;\n\tvar NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \\r\\n\\t\\f\\/>]/;\n\t\n\tvar createMicrosoftUnsafeLocalFunction = __webpack_require__(67);\n\t\n\t// SVG temp container for IE lacking innerHTML\n\tvar reusableSVGContainer;\n\t\n\t/**\n\t * Set the innerHTML property of a node, ensuring that whitespace is preserved\n\t * even in IE8.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} html\n\t * @internal\n\t */\n\tvar setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {\n\t // IE does not have innerHTML for SVG nodes, so instead we inject the\n\t // new markup in a temp node and then move the child nodes across into\n\t // the target node\n\t if (node.namespaceURI === DOMNamespaces.svg && !('innerHTML' in node)) {\n\t reusableSVGContainer = reusableSVGContainer || document.createElement('div');\n\t reusableSVGContainer.innerHTML = '<svg>' + html + '</svg>';\n\t var svgNode = reusableSVGContainer.firstChild;\n\t while (svgNode.firstChild) {\n\t node.appendChild(svgNode.firstChild);\n\t }\n\t } else {\n\t node.innerHTML = html;\n\t }\n\t});\n\t\n\tif (ExecutionEnvironment.canUseDOM) {\n\t // IE8: When updating a just created node with innerHTML only leading\n\t // whitespace is removed. When updating an existing node with innerHTML\n\t // whitespace in root TextNodes is also collapsed.\n\t // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html\n\t\n\t // Feature detection; only IE8 is known to behave improperly like this.\n\t var testElement = document.createElement('div');\n\t testElement.innerHTML = ' ';\n\t if (testElement.innerHTML === '') {\n\t setInnerHTML = function setInnerHTML(node, html) {\n\t // Magic theory: IE8 supposedly differentiates between added and updated\n\t // nodes when processing innerHTML, innerHTML on updated nodes suffers\n\t // from worse whitespace behavior. Re-adding a node like this triggers\n\t // the initial and more favorable whitespace behavior.\n\t // TODO: What to do on a detached node?\n\t if (node.parentNode) {\n\t node.parentNode.replaceChild(node, node);\n\t }\n\t\n\t // We also implement a workaround for non-visible tags disappearing into\n\t // thin air on IE8, this only happens if there is no visible text\n\t // in-front of the non-visible tags. Piggyback on the whitespace fix\n\t // and simply check if any non-visible tags appear in the source.\n\t if (WHITESPACE_TEST.test(html) || html[0] === '<' && NONVISIBLE_TEST.test(html)) {\n\t // Recover leading whitespace by temporarily prepending any character.\n\t // \\uFEFF has the potential advantage of being zero-width/invisible.\n\t // UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode\n\t // in hopes that this is preserved even if \"\\uFEFF\" is transformed to\n\t // the actual Unicode character (by Babel, for example).\n\t // https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216\n\t node.innerHTML = String.fromCharCode(0xFEFF) + html;\n\t\n\t // deleteData leaves an empty `TextNode` which offsets the index of all\n\t // children. Definitely want to avoid this.\n\t var textNode = node.firstChild;\n\t if (textNode.data.length === 1) {\n\t node.removeChild(textNode);\n\t } else {\n\t textNode.deleteData(0, 1);\n\t }\n\t } else {\n\t node.innerHTML = html;\n\t }\n\t };\n\t }\n\t testElement = null;\n\t}\n\t\n\tmodule.exports = setInnerHTML;\n\n/***/ },\n/* 52 */\n19,\n/* 53 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _auth0Js = __webpack_require__(56);\n\t\n\tvar _auth0Js2 = _interopRequireDefault(_auth0Js);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar Auth0WebAPI = function () {\n\t function Auth0WebAPI() {\n\t _classCallCheck(this, Auth0WebAPI);\n\t\n\t this.clients = {};\n\t this.authOpts = {};\n\t this.authParams = {};\n\t }\n\t\n\t Auth0WebAPI.prototype.setupClient = function setupClient(lockID, clientID, domain, opts) {\n\t this.clients[lockID] = new _auth0Js2.default({\n\t clientID: clientID,\n\t domain: domain,\n\t sendSDKClientInfo: true,\n\t forceJSONP: false,\n\t callbackURL: opts.redirectUrl,\n\t responseMode: opts.responseMode,\n\t responseType: opts.responseType,\n\t __tenant: opts.overrides && opts.overrides.__tenant,\n\t __token_issuer: opts.overrides && opts.overrides.__token_issuer\n\t });\n\t\n\t this.authOpts[lockID] = {\n\t popup: !opts.redirect,\n\t popupOptions: opts.popupOptions,\n\t sso: opts.sso\n\t };\n\t };\n\t\n\t Auth0WebAPI.prototype.logIn = function logIn(lockID, options, authParams, cb) {\n\t // TODO: for passwordless only, try to clean in auth0.js\n\t // client._shouldRedirect = redirect || responseType === \"code\" || !!redirectUrl;\n\t var authOpts = this.authOpts[lockID];\n\t var f = loginCallback(!authOpts.popup, cb);\n\t var client = this.clients[lockID];\n\t client.login(_extends({}, options, authOpts, authParams), f);\n\t };\n\t\n\t Auth0WebAPI.prototype.signOut = function signOut(lockID, query) {\n\t this.clients[lockID].logout(query);\n\t };\n\t\n\t Auth0WebAPI.prototype.signUp = function signUp(lockID, options, cb) {\n\t var client = this.clients[lockID];\n\t var _authOpts$lockID = this.authOpts[lockID],\n\t popup = _authOpts$lockID.popup,\n\t sso = _authOpts$lockID.sso;\n\t var autoLogin = options.autoLogin;\n\t\n\t delete options.autoLogin;\n\t\n\t // TODO: investigate why can't we just delegate to auth0.js the\n\t // automatic login (error handling maybe?).\n\t\n\t // When needed, open popup for sso login immediately, otherwise it\n\t // may be blocked by the browser.\n\t var win = void 0;\n\t if (autoLogin && popup && sso) {\n\t win = client._buildPopupWindow({});\n\t }\n\t\n\t // Never allow automatic login and disable popup (since it is only\n\t // needed when auth0.js handles the automatic login).\n\t options.auto_login = false;\n\t options.popup = false;\n\t\n\t // Also, wrap callback in a function that closes the popup.\n\t var f = function f(error) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t if (error && win) {\n\t win.kill();\n\t }\n\t\n\t cb.apply(undefined, [error].concat(args));\n\t };\n\t\n\t client.signup(options, f);\n\t };\n\t\n\t Auth0WebAPI.prototype.resetPassword = function resetPassword(lockID, options, cb) {\n\t this.clients[lockID].changePassword(options, cb);\n\t };\n\t\n\t Auth0WebAPI.prototype.startPasswordless = function startPasswordless(lockID, options, cb) {\n\t var client = this.clients[lockID];\n\t client.startPasswordless(options, function (err) {\n\t return cb(normalizeError(err));\n\t });\n\t };\n\t\n\t Auth0WebAPI.prototype.parseHash = function parseHash(lockID) {\n\t var hash = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\t\n\t return this.clients[lockID].parseHash(decodeURIComponent(hash));\n\t };\n\t\n\t Auth0WebAPI.prototype.getProfile = function getProfile(lockID, token, callback) {\n\t return this.clients[lockID].getProfile(token, callback);\n\t };\n\t\n\t Auth0WebAPI.prototype.getUserInfo = function getUserInfo(lockID, token, callback) {\n\t return this.clients[lockID].getUserInfo(token, callback);\n\t };\n\t\n\t Auth0WebAPI.prototype.getSSOData = function getSSOData(lockID) {\n\t var _clients$lockID;\n\t\n\t for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n\t args[_key2 - 1] = arguments[_key2];\n\t }\n\t\n\t return (_clients$lockID = this.clients[lockID]).getSSOData.apply(_clients$lockID, args);\n\t };\n\t\n\t Auth0WebAPI.prototype.getUserCountry = function getUserCountry(lockID, cb) {\n\t return this.clients[lockID].getUserCountry(cb);\n\t };\n\t\n\t return Auth0WebAPI;\n\t}();\n\t\n\texports.default = new Auth0WebAPI();\n\t\n\t\n\tfunction normalizeError(error) {\n\t if (!error) {\n\t return error;\n\t }\n\t\n\t // TODO: clean this mess, the first checks are for social/popup,\n\t // then we have some stuff for passwordless and the latter is for\n\t // db.\n\t\n\t // TODO: the following checks were copied from https://github.com/auth0/lock/blob/0a5abf1957c9bb746b0710b274d0feed9b399958/index.js#L1263-L1288\n\t // Some of the checks are missing because I couldn't reproduce them and I'm\n\t // affraid they'll break existent functionality if add them.\n\t // We need a better errror handling story in auth0.js.\n\t\n\t if (error.status === \"User closed the popup window\") {\n\t // {\n\t // status: \"User closed the popup window\",\n\t // name: undefined,\n\t // code: undefined,\n\t // details: {\n\t // description: \"server error\",\n\t // code: undefined\n\t // }\n\t // }\n\t return {\n\t code: \"lock.popup_closed\",\n\t error: \"lock.popup_closed\",\n\t description: \"Popup window closed.\"\n\t };\n\t }\n\t\n\t if (error.code === \"unauthorized\") {\n\t\n\t // Custom rule error\n\t //\n\t // {\n\t // \"code\": \"unauthorized\",\n\t // \"details\": {\n\t // \"code\": \"unauthorized\",\n\t // \"error_description\": \"user is blocked\",\n\t // \"error\": \"unauthorized\"\n\t // },\n\t // \"name\": \"unauthorized\",\n\t // \"status\": 401\n\t // }\n\t\n\t // Default \"user is blocked\" rule error\n\t //\n\t // {\n\t // \"code\": \"unauthorized\",\n\t // \"details\": {\n\t // \"code\": \"unauthorized\",\n\t // \"error_description\": \"user is blocked\",\n\t // \"error\": \"unauthorized\"\n\t // },\n\t // \"name\": \"unauthorized\",\n\t // \"status\": 401\n\t // }\n\t\n\t // Social cancel permissions.\n\t //\n\t // {\n\t // code: \"unauthorized\",\n\t // details: {\n\t // code: \"unauthorized\"\n\t // error: \"unauthorized\"\n\t // error_description: \"access_denied\"\n\t // },\n\t // name: \"unauthorized\"\n\t // status: 401\n\t // }\n\t\n\t // Social cancel permissions or unknown error\n\t if (!error.details || !error.details.error_description || error.details.error_description === \"access_denied\") {\n\t\n\t return {\n\t code: \"lock.unauthorized\",\n\t error: \"lock.unauthorized\",\n\t description: error.details && error.details.error_description || \"Permissions were not granted.\"\n\t };\n\t }\n\t\n\t // Special case for custom rule error\n\t if (error.details.error_description === \"user is blocked\") {\n\t return {\n\t code: \"blocked_user\",\n\t error: \"blocked_user\",\n\t description: error.details.error_description\n\t };\n\t }\n\t\n\t // Custom Rule error\n\t return {\n\t code: \"rule_error\",\n\t error: \"rule_error\",\n\t description: error.details.error_description\n\t };\n\t }\n\t\n\t var result = {\n\t error: error.details ? error.details.error : error.code || error.statusCode || error.error,\n\t description: error.details ? error.details.error_description : error.error_description || error.description || error.error\n\t };\n\t\n\t // result is used for passwordless and error for database.\n\t return result.error === undefined && result.description === undefined ? error : result;\n\t}\n\t\n\tfunction loginCallback(redirect, cb) {\n\t return redirect ? function (error) {\n\t return cb(normalizeError(error));\n\t } : function (error, result) {\n\t return cb(normalizeError(error), result);\n\t };\n\t}\n\n/***/ },\n/* 54 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.skipQuickAuth = skipQuickAuth;\n\texports.logIn = logIn;\n\t\n\tvar _quick_auth = __webpack_require__(141);\n\t\n\tvar _index = __webpack_require__(12);\n\t\n\tvar _actions = __webpack_require__(24);\n\t\n\tvar _index2 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction skipQuickAuth(id) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, _quick_auth.skipQuickAuth, true);\n\t}\n\t\n\tfunction logIn(id, connection, loginHint) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t var connectionScopes = l.auth.connectionScopes(m);\n\t var scopes = connectionScopes.get(connection.get(\"name\"));\n\t var params = {\n\t connection: connection.get(\"name\"),\n\t connection_scope: scopes ? scopes.toJS() : []\n\t };\n\t\n\t if (!l.auth.redirect(m) && connection.get(\"strategy\") === \"facebook\") {\n\t params.display = \"popup\";\n\t }\n\t if (loginHint) {\n\t params.login_hint = loginHint;\n\t }\n\t (0, _actions.logIn)(id, [], params);\n\t}\n\n/***/ },\n/* 55 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.BackButton = exports.CloseButton = undefined;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar svgs = {\n\t back: '<svg enable-background=\"new 0 0 24 24\" version=\"1.0\" viewBox=\"0 0 24 24\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"> <polyline fill=\"none\" points=\"12.5,21 3.5,12 12.5,3 \" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-width=\"2\"></polyline> <line fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-width=\"2\" x1=\"22\" x2=\"3.5\" y1=\"12\" y2=\"12\"></line> </svg>',\n\t close: '<svg enable-background=\"new 0 0 128 128\" version=\"1.1\" viewBox=\"0 0 128 128\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><g><polygon fill=\"#373737\" points=\"123.5429688,11.59375 116.4765625,4.5185547 64.0019531,56.9306641 11.5595703,4.4882813 4.4882813,11.5595703 56.9272461,63.9970703 4.4570313,116.4052734 11.5244141,123.4814453 63.9985352,71.0683594 116.4423828,123.5117188 123.5126953,116.4414063 71.0732422,64.0019531 \"></polygon></g></svg>'\n\t};\n\t\n\tvar IconButton = function IconButton(_ref) {\n\t var name = _ref.name,\n\t _onClick = _ref.onClick,\n\t svg = _ref.svg;\n\t return _react2.default.createElement('span', {\n\t className: 'auth0-lock-' + name + '-button',\n\t dangerouslySetInnerHTML: { __html: svg },\n\t onClick: function onClick(e) {\n\t e.preventDefault();_onClick();\n\t }\n\t });\n\t};\n\t\n\tIconButton.propTypes = {\n\t name: _react2.default.PropTypes.string.isRequired,\n\t onClick: _react2.default.PropTypes.func.isRequired,\n\t svg: _react2.default.PropTypes.string.isRequired\n\t};\n\t\n\t// const createButton = name => {\n\t// const f = ({onClick}) => (\n\t// <IconButton name={name} svg={svgs[name]} onClick={onClick} />\n\t// );\n\t// f.displayName = `IconButton (${name})`;\n\t// f.propTypes = { onClick: React.PropTypes.func.isRequired };\n\t//\n\t// return f;\n\t// };\n\t//\n\t// export const CloseButton = createButton(\"close\");\n\t// export const BackButton = createButton(\"back\");\n\t\n\t\n\tvar CloseButton = exports.CloseButton = function CloseButton(_ref2) {\n\t var onClick = _ref2.onClick;\n\t return _react2.default.createElement(IconButton, { name: 'close', svg: svgs[\"close\"], onClick: onClick });\n\t};\n\t\n\tCloseButton.propTypes = {\n\t onClick: _react2.default.PropTypes.func.isRequired\n\t};\n\t\n\tvar BackButton = exports.BackButton = function BackButton(_ref3) {\n\t var onClick = _ref3.onClick;\n\t return _react2.default.createElement(IconButton, { name: 'back', svg: svgs[\"back\"], onClick: onClick });\n\t};\n\t\n\tBackButton.propTypes = {\n\t onClick: _react2.default.PropTypes.func.isRequired\n\t};\n\n/***/ },\n/* 56 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * Module dependencies.\n\t */\n\t\n\tvar Base64Url = __webpack_require__(151);\n\tvar assert_required = __webpack_require__(150);\n\tvar is_array = __webpack_require__(153);\n\tvar index_of = __webpack_require__(152);\n\tvar nonceGenerator = __webpack_require__(154);\n\t\n\tvar qs = __webpack_require__(163);\n\tvar xtend = __webpack_require__(169);\n\tvar trim = __webpack_require__(25);\n\tvar reqwest = __webpack_require__(166);\n\tvar WinChan = __webpack_require__(167);\n\t\n\tvar jsonp = __webpack_require__(159);\n\tvar jsonpOpts = { param: 'cbx', timeout: 8000, prefix: '__auth0jp' };\n\t\n\tvar same_origin = __webpack_require__(155);\n\tvar json_parse = __webpack_require__(92);\n\tvar LoginError = __webpack_require__(148);\n\tvar use_jsonp = __webpack_require__(156);\n\t\n\tvar SilentAuthenticationHandler = __webpack_require__(149);\n\t\n\t/**\n\t * Check if running in IE.\n\t *\n\t * @returns {Number} -1 if not IE, IE version otherwise.\n\t */\n\tfunction isInternetExplorer() {\n\t var rv = -1; // Return value assumes failure.\n\t var ua = navigator.userAgent;\n\t var re;\n\t if (navigator.appName === 'Microsoft Internet Explorer') {\n\t re = new RegExp('MSIE ([0-9]{1,}[\\.0-9]{0,})');\n\t if (re.exec(ua) != null) {\n\t rv = parseFloat(RegExp.$1);\n\t }\n\t }\n\t // IE > 11\n\t else if (ua.indexOf('Trident') > -1) {\n\t re = new RegExp('rv:([0-9]{2,2}[\\.0-9]{0,})');\n\t if (re.exec(ua) !== null) {\n\t rv = parseFloat(RegExp.$1);\n\t }\n\t }\n\t\n\t return rv;\n\t}\n\t\n\t/**\n\t * Stringify popup options object into\n\t * `window.open` string options format\n\t *\n\t * @param {Object} popupOptions\n\t * @private\n\t */\n\t\n\tfunction stringifyPopupSettings(popupOptions) {\n\t var settings = '';\n\t\n\t for (var key in popupOptions) {\n\t settings += key + '=' + popupOptions[key] + ',';\n\t }\n\t\n\t return settings.slice(0, -1);\n\t}\n\t\n\t/**\n\t * Check that a key has been set to something different than null\n\t * or undefined.\n\t *\n\t * @param {Object} obj\n\t * @param {String} key\n\t */\n\tfunction checkIfSet(obj, key) {\n\t /*\n\t * false != null -> true\n\t * true != null -> true\n\t * undefined != null -> false\n\t * null != null -> false\n\t */\n\t return !!(obj && obj[key] != null);\n\t}\n\t\n\tfunction handleRequestError(err, callback) {\n\t var status = err.status;\n\t var responseText = 'string' === typeof err.responseText ? err.responseText : err;\n\t\n\t var isAffectedIEVersion = isInternetExplorer() === 10 || isInternetExplorer() === 11;\n\t var zeroStatus = !status || status === 0;\n\t\n\t var onLine = !!window.navigator.onLine;\n\t\n\t // Request failed because we are offline.\n\t if (zeroStatus && !onLine) {\n\t status = 0;\n\t responseText = {\n\t code: 'offline'\n\t };\n\t // http://stackoverflow.com/questions/23229723/ie-10-11-cors-status-0\n\t // XXX IE10 when a request fails in CORS returns status code 0\n\t // See: http://caniuse.com/#search=navigator.onLine\n\t } else if (zeroStatus && isAffectedIEVersion) {\n\t status = 401;\n\t responseText = {\n\t code: 'invalid_user_password'\n\t };\n\t // If not IE10/11 and not offline it means that Auth0 host is unreachable:\n\t // Connection Timeout or Connection Refused.\n\t } else if (zeroStatus) {\n\t status = 0;\n\t responseText = {\n\t code: 'connection_refused_timeout'\n\t };\n\t }\n\t\n\t var error = new LoginError(status, responseText);\n\t callback(error);\n\t}\n\t\n\t/**\n\t * join url from protocol\n\t */\n\t\n\tfunction joinUrl(protocol, domain, endpoint) {\n\t return protocol + '//' + domain + endpoint;\n\t}\n\t\n\t/**\n\t * Create an `Auth0` instance with `options`\n\t *\n\t * @class Auth0\n\t * @constructor\n\t */\n\tfunction Auth0(options) {\n\t // XXX Deprecated: We prefer new Auth0(...)\n\t if (!(this instanceof Auth0)) {\n\t return new Auth0(options);\n\t }\n\t\n\t assert_required(options, 'clientID');\n\t assert_required(options, 'domain');\n\t\n\t this._useJSONP = null != options.forceJSONP ? !!options.forceJSONP : use_jsonp() && !same_origin('https:', options.domain);\n\t\n\t this._clientID = options.clientID;\n\t this._callbackURL = options.callbackURL || document.location.href;\n\t this._shouldRedirect = !!options.callbackURL;\n\t this._domain = options.domain;\n\t this._responseType = this._parseResponseType(options, true) || \"code\";\n\t this._responseMode = this._parseResponseMode(options, true);\n\t this._cordovaSocialPlugins = {\n\t facebook: this._phonegapFacebookLogin\n\t };\n\t this._useCordovaSocialPlugins = false || options.useCordovaSocialPlugins;\n\t this._sendClientInfo = null != options.sendSDKClientInfo ? options.sendSDKClientInfo : true;\n\t\n\t this._scope = options.scope || 'openid';\n\t this._audience = options.audience || null;\n\t this._tenant = options.__tenant || this._domain.split('.')[0];\n\t this._token_issuer = options.__token_issuer || 'https://' + this._domain + '/';\n\t}\n\t\n\t/**\n\t * Export version with `Auth0` constructor\n\t *\n\t * @property {String} version\n\t */\n\t\n\tAuth0.version = __webpack_require__(174).str;\n\t\n\t/**\n\t * Export client info object\n\t *\n\t *\n\t * @property {Hash}\n\t */\n\t\n\tAuth0.clientInfo = { name: 'auth0.js', version: Auth0.version };\n\t\n\t/**\n\t * Wraps calls to window.open so it can be overriden in Electron.\n\t *\n\t * In Electron, window.open returns an object which provides limited control\n\t * over the opened window (see\n\t * http://electron.atom.io/docs/v0.36.0/api/window-open/).\n\t */\n\tAuth0.prototype.openWindow = function (url, name, options) {\n\t return window.open(url, name, stringifyPopupSettings(options));\n\t};\n\t\n\t/**\n\t * Redirect current location to `url`\n\t *\n\t * @param {String} url\n\t * @private\n\t */\n\t\n\tAuth0.prototype._redirect = function (url) {\n\t global.window.location = url;\n\t};\n\t\n\tAuth0.prototype._getResponseType = function (opts) {\n\t return this._parseResponseType(opts) || this._responseType;\n\t};\n\t\n\tAuth0.prototype._getCallbackOnLocationHash = function (options) {\n\t return this._getResponseMode(options) !== \"form_post\" && this._getResponseType(options) !== \"code\";\n\t};\n\t\n\tAuth0.prototype._getResponseMode = function (opts) {\n\t var result = this._parseResponseMode(opts) || this._responseMode;\n\t return result === \"form_post\" ? \"form_post\" : null;\n\t};\n\t\n\tAuth0.prototype._getCallbackURL = function (options) {\n\t return options && typeof options.callbackURL !== 'undefined' ? options.callbackURL : this._callbackURL;\n\t};\n\t\n\tAuth0.prototype._getClientInfoString = function () {\n\t var clientInfo = JSON.stringify(Auth0.clientInfo);\n\t return Base64Url.encode(clientInfo);\n\t};\n\t\n\tAuth0.prototype._getClientInfoHeader = function () {\n\t return this._sendClientInfo ? { 'Auth0-Client': this._getClientInfoString() } : {};\n\t};\n\t\n\t/**\n\t * Renders and submits a WSFed form\n\t *\n\t * @param {Object} options\n\t * @param {Function} formHtml\n\t * @private\n\t */\n\t\n\tAuth0.prototype._renderAndSubmitWSFedForm = function (options, formHtml) {\n\t var div = document.createElement('div');\n\t div.innerHTML = formHtml;\n\t var form = document.body.appendChild(div).children[0];\n\t\n\t if (options.popup && !this._getCallbackOnLocationHash(options)) {\n\t form.target = 'auth0_signup_popup';\n\t }\n\t\n\t form.submit();\n\t};\n\t\n\t/**\n\t * Resolve response type as `token` or `code`\n\t *\n\t * @return {Object} `scope` and `response_type` properties\n\t * @private\n\t */\n\t\n\tAuth0.prototype._getMode = function (options) {\n\t var result = {\n\t scope: this._scope,\n\t response_type: this._getResponseType(options)\n\t };\n\t\n\t var responseMode = this._getResponseMode(options);\n\t if (responseMode) {\n\t result.response_mode = responseMode;\n\t }\n\t\n\t return result;\n\t};\n\t\n\tAuth0.prototype._configureOfflineMode = function (options) {\n\t if (options.scope && options.scope.indexOf('offline_access') >= 0) {\n\t options.device = options.device || 'Browser';\n\t }\n\t};\n\t\n\t/**\n\t * Get user information from API\n\t *\n\t * @param {Object} profile\n\t * @param {String} id_token\n\t * @param {Function} callback\n\t * @private\n\t */\n\t\n\tAuth0.prototype._getUserInfo = function (profile, id_token, callback) {\n\t\n\t warn(\"DEPRECATION NOTICE: This method will be soon deprecated, use `getUserInfo` instead.\");\n\t\n\t if (!(profile && !profile.user_id)) {\n\t return callback(null, profile);\n\t }\n\t\n\t // the scope was just openid\n\t var _this = this;\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/tokeninfo';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t var fail = function fail(status, description) {\n\t var error = new Error(status + ': ' + (description || ''));\n\t\n\t // These two properties are added for compatibility with old versions (no Error instance was returned)\n\t error.error = status;\n\t error.error_description = description;\n\t\n\t callback(error);\n\t };\n\t\n\t if (this._useJSONP) {\n\t return jsonp(url + '?' + qs.stringify({ id_token: id_token }), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t return fail(0, err.toString());\n\t }\n\t\n\t return resp.status === 200 ? callback(null, resp.user) : fail(resp.status, resp.err || resp.error);\n\t });\n\t }\n\t\n\t return reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'json',\n\t crossOrigin: !same_origin(protocol, domain),\n\t data: { id_token: id_token }\n\t }).fail(function (err) {\n\t fail(err.status, err.responseText);\n\t }).then(function (userinfo) {\n\t callback(null, userinfo);\n\t });\n\t};\n\t\n\t/**\n\t * Get user information from API\n\t *\n\t * @param {Object} profile\n\t * @param {String} id_token\n\t * @param {Function} callback\n\t * @private\n\t */\n\t\n\tAuth0.prototype.getUserInfo = function (access_token, callback) {\n\t\n\t if ('function' !== typeof callback) {\n\t throw new Error('A callback function is required');\n\t }\n\t if (!access_token || typeof access_token !== 'string') {\n\t return callback(new Error('Invalid token'));\n\t }\n\t\n\t var _this = this;\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/userinfo';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t var fail = function fail(status, description) {\n\t var error = new Error(status + ': ' + (description || ''));\n\t\n\t // These two properties are added for compatibility with old versions (no Error instance was returned)\n\t error.error = status;\n\t error.error_description = description;\n\t\n\t callback(error);\n\t };\n\t\n\t return reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'json',\n\t crossOrigin: !same_origin(protocol, domain),\n\t headers: {\n\t 'Authorization': 'Bearer ' + access_token\n\t }\n\t }).fail(function (err) {\n\t fail(err.status, err.responseText);\n\t }).then(function (userinfo) {\n\t callback(null, userinfo);\n\t });\n\t};\n\t\n\t/**\n\t * Get profile data by `id_token`\n\t *\n\t * @param {String} id_token\n\t * @param {Function} callback\n\t * @method getProfile\n\t */\n\t\n\tAuth0.prototype.getProfile = function (id_token, callback) {\n\t if ('function' !== typeof callback) {\n\t throw new Error('A callback function is required');\n\t }\n\t if (!id_token || typeof id_token !== 'string') {\n\t return callback(new Error('Invalid token'));\n\t }\n\t\n\t this._getUserInfo(this.decodeJwt(id_token), id_token, callback);\n\t};\n\t\n\t/**\n\t * Validate a user\n\t *\n\t * @param {Object} options\n\t * @param {Function} callback\n\t * @method validateUser\n\t */\n\t\n\tAuth0.prototype.validateUser = function (options, callback) {\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/public/api/users/validate_userpassword';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t var query = xtend(options, {\n\t client_id: this._clientID,\n\t username: trim(options.username || options.email || '')\n\t });\n\t\n\t if (this._useJSONP) {\n\t return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t return callback(err);\n\t }\n\t if ('error' in resp && resp.status !== 404) {\n\t return callback(new Error(resp.error));\n\t }\n\t callback(null, resp.status === 200);\n\t });\n\t }\n\t\n\t reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'text',\n\t data: query,\n\t crossOrigin: !same_origin(protocol, domain),\n\t error: function error(err) {\n\t if (err.status !== 404) {\n\t return callback(new Error(err.responseText));\n\t }\n\t callback(null, false);\n\t },\n\t success: function success(resp) {\n\t callback(null, resp.status === 200);\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Decode Json Web Token\n\t *\n\t * @param {String} jwt\n\t * @method decodeJwt\n\t */\n\t\n\tAuth0.prototype.decodeJwt = function (jwt) {\n\t var encoded = jwt && jwt.split('.')[1];\n\t return json_parse(Base64Url.decode(encoded));\n\t};\n\t\n\t/**\n\t * Given the hash (or a query) of an URL returns a dictionary with only relevant\n\t * authentication information. If succeeds it will return the following fields:\n\t * `profile`, `id_token`, `access_token` and `state`. In case of error, it will\n\t * return `error` and `error_description`.\n\t *\n\t * @method parseHash\n\t * @param {String} [hash=window.location.hash] URL to be parsed\n\t * @example\n\t * var auth0 = new Auth0({...});\n\t *\n\t * // Returns {profile: {** decoded id token **}, state: \"good\"}\n\t * auth0.parseHash('#id_token=.....&state=good&foo=bar');\n\t *\n\t * // Returns {error: \"invalid_credentials\", error_description: undefined}\n\t * auth0.parseHash('#error=invalid_credentials');\n\t *\n\t * // Returns {error: \"invalid_credentials\", error_description: undefined}\n\t * auth0.parseHash('?error=invalid_credentials');\n\t *\n\t */\n\t\n\tAuth0.prototype.parseHash = function (hash, options) {\n\t options = options || {};\n\t hash = hash || window.location.hash;\n\t hash = hash.replace(/^#?\\/?/, '');\n\t var parsed_qs = qs.parse(hash);\n\t\n\t if (parsed_qs.hasOwnProperty('error')) {\n\t var err = {\n\t error: parsed_qs.error,\n\t error_description: parsed_qs.error_description\n\t };\n\t\n\t if (parsed_qs.state) {\n\t err.state = parsed_qs.state;\n\t }\n\t\n\t return err;\n\t }\n\t\n\t if (!parsed_qs.hasOwnProperty('access_token') && !parsed_qs.hasOwnProperty('id_token') && !parsed_qs.hasOwnProperty('refresh_token')) {\n\t return null;\n\t }\n\t\n\t var prof;\n\t\n\t if (parsed_qs.id_token) {\n\t var invalidJwt = function invalidJwt(error) {\n\t var err = {\n\t error: 'invalid_token',\n\t error_description: error\n\t };\n\t return err;\n\t };\n\t\n\t prof = this.decodeJwt(parsed_qs.id_token);\n\t\n\t // aud should be the clientID\n\t var audiences = is_array(prof.aud) ? prof.aud : [prof.aud];\n\t if (index_of(audiences, this._clientID) === -1) {\n\t return invalidJwt('The clientID configured (' + this._clientID + ') does not match with the clientID set in the token (' + audiences.join(', ') + ').');\n\t }\n\t\n\t // iss should be the Auth0 domain (i.e.: https://contoso.auth0.com/)\n\t if (prof.iss && prof.iss !== this._token_issuer) {\n\t return invalidJwt('The domain configured (' + this._token_issuer + ') does not match with the domain set in the token (' + prof.iss + ').');\n\t }\n\t\n\t var nonce;\n\t\n\t if (options.nonce) {\n\t nonce = options.nonce;\n\t } else if (window.localStorage) {\n\t try {\n\t nonce = window.localStorage.getItem('com.auth0.auth.nonce');\n\t window.localStorage.removeItem('com.auth0.auth.nonce');\n\t } catch (e) {\n\t // will fail because nonce is undefined\n\t }\n\t }\n\t\n\t if ((nonce || prof.nonce) && prof.nonce !== nonce) {\n\t return invalidJwt('The nonce does not match.');\n\t }\n\t }\n\t\n\t return {\n\t accessToken: parsed_qs.access_token,\n\t idToken: parsed_qs.id_token,\n\t idTokenPayload: prof,\n\t refreshToken: parsed_qs.refresh_token,\n\t state: parsed_qs.state\n\t };\n\t};\n\t\n\t/**\n\t * Signup\n\t *\n\t * @param {Object} options Signup Options\n\t * @param {String} email New user email\n\t * @param {String} password New user password\n\t *\n\t * @param {Function} callback\n\t * @method signup\n\t */\n\t\n\tAuth0.prototype.signup = function (options, callback) {\n\t var _this = this;\n\t\n\t var opts = {\n\t client_id: this._clientID,\n\t redirect_uri: this._getCallbackURL(options),\n\t email: trim(options.email || options.username || '')\n\t };\n\t\n\t if (typeof options.username === 'string') {\n\t opts.username = trim(options.username);\n\t }\n\t\n\t var query = xtend(this._getMode(options), options, opts);\n\t\n\t this._configureOfflineMode(query);\n\t\n\t // TODO Change this to a property named 'disableSSO' for consistency.\n\t // By default, options.sso is true\n\t if (!checkIfSet(options, 'sso')) {\n\t options.sso = true;\n\t }\n\t\n\t if (!checkIfSet(options, 'auto_login')) {\n\t options.auto_login = true;\n\t }\n\t\n\t var popup;\n\t\n\t var will_popup = options.auto_login && options.popup && (!this._getCallbackOnLocationHash(options) || options.sso);\n\t\n\t if (will_popup) {\n\t popup = this._buildPopupWindow(options);\n\t }\n\t\n\t function success() {\n\t if (options.auto_login) {\n\t return _this.login(options, callback);\n\t }\n\t\n\t if ('function' === typeof callback) {\n\t return callback();\n\t }\n\t }\n\t\n\t function fail(status, resp) {\n\t var error = new LoginError(status, resp);\n\t\n\t // when failed we want the popup closed if opened\n\t if (popup && 'function' === typeof popup.kill) {\n\t popup.kill();\n\t }\n\t\n\t if ('function' === typeof callback) {\n\t return callback(error);\n\t }\n\t\n\t throw error;\n\t }\n\t\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/dbconnections/signup';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t if (this._useJSONP) {\n\t return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t return fail(0, err);\n\t }\n\t\n\t return resp.status == 200 ? success() : fail(resp.status, resp.err || resp.error);\n\t });\n\t }\n\t\n\t reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'html',\n\t data: query,\n\t success: success,\n\t crossOrigin: !same_origin(protocol, domain),\n\t error: function error(err) {\n\t fail(err.status, err.responseText);\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Change password\n\t *\n\t * @param {Object} options\n\t * @param {Function} callback\n\t * @method changePassword\n\t */\n\t\n\tAuth0.prototype.changePassword = function (options, callback) {\n\t var query = {\n\t client_id: this._clientID,\n\t connection: options.connection,\n\t email: trim(options.email || '')\n\t };\n\t\n\t if (typeof options.password === \"string\") {\n\t query.password = options.password;\n\t }\n\t\n\t function fail(status, resp) {\n\t var error = new LoginError(status, resp);\n\t if (callback) {\n\t return callback(error);\n\t }\n\t }\n\t\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/dbconnections/change_password';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t if (this._useJSONP) {\n\t return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t return fail(0, err);\n\t }\n\t return resp.status == 200 ? callback(null, resp.message) : fail(resp.status, resp.err || resp.error);\n\t });\n\t }\n\t\n\t reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'html',\n\t data: query,\n\t crossOrigin: !same_origin(protocol, domain),\n\t error: function error(err) {\n\t fail(err.status, err.responseText);\n\t },\n\t success: function success(r) {\n\t callback(null, r);\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Builds query string to be passed to /authorize based on dict key and values.\n\t *\n\t * @param {Array} args\n\t * @param {Array} blacklist\n\t * @private\n\t */\n\t\n\tAuth0.prototype._buildAuthorizeQueryString = function (args, blacklist) {\n\t var query = this._buildAuthorizationParameters(args, blacklist);\n\t return qs.stringify(query);\n\t};\n\t\n\t/**\n\t * Builds parameter dictionary to be passed to /authorize based on dict key and values.\n\t *\n\t * @param {Array} args\n\t * @param {Array} blacklist\n\t * @private\n\t */\n\t\n\tAuth0.prototype._buildAuthorizationParameters = function (args, blacklist) {\n\t var query = xtend.apply(null, args);\n\t\n\t // Adds offline mode to the query\n\t this._configureOfflineMode(query);\n\t\n\t // Adds client SDK information (when enabled)\n\t if (this._sendClientInfo) query['auth0Client'] = this._getClientInfoString();\n\t\n\t // Elements to filter from query string\n\t blacklist = blacklist || ['popup', 'popupOptions'];\n\t\n\t var i, key;\n\t\n\t for (i = 0; i < blacklist.length; i++) {\n\t key = blacklist[i];\n\t delete query[key];\n\t }\n\t\n\t if (query.connection_scope && is_array(query.connection_scope)) {\n\t query.connection_scope = query.connection_scope.join(',');\n\t }\n\t\n\t return query;\n\t};\n\t\n\tAuth0.prototype._buildAuthorizeUrl = function (options) {\n\t var constructorOptions = {};\n\t\n\t if (this._scope) {\n\t constructorOptions.scope = this._scope;\n\t }\n\t\n\t if (this._audience) {\n\t constructorOptions.audience = this._audience;\n\t }\n\t\n\t var qs = [this._getMode(options), constructorOptions, options, {\n\t client_id: this._clientID,\n\t redirect_uri: this._getCallbackURL(options)\n\t }];\n\t\n\t var query = this._buildAuthorizeQueryString(qs);\n\t\n\t return joinUrl('https:', this._domain, '/authorize?' + query);\n\t};\n\t\n\t/**\n\t * Login user\n\t *\n\t * @param {Object} options\n\t * @param {Function} callback\n\t * @method login\n\t */\n\t\n\tAuth0.prototype.login = Auth0.prototype.signin = function (options, callback) {\n\t // TODO Change this to a property named 'disableSSO' for consistency.\n\t // By default, options.sso is true\n\t if (!checkIfSet(options, 'sso')) {\n\t options.sso = true;\n\t }\n\t\n\t if (this._responseType.indexOf('id_token') > -1 && !options.nonce) {\n\t if (typeof options.passcode === 'undefined' && ((typeof options.username !== 'undefined' || typeof options.email !== 'undefined') && !callback || typeof options.username === 'undefined' && typeof options.email === 'undefined')) {\n\t\n\t if (window.localStorage) {\n\t var nonce = nonceGenerator.randomString(16);\n\t if (nonce) {\n\t try {\n\t options.nonce = nonce;\n\t window.localStorage.setItem('com.auth0.auth.nonce', nonce);\n\t } catch (e) {\n\t options.nonce = undefined;\n\t }\n\t }\n\t } else {\n\t throw new Error('Unable to generate and store nonce to request id_token. Please provide a nonce value via options');\n\t }\n\t }\n\t }\n\t\n\t if (typeof options.passcode !== 'undefined') {\n\t return this.loginWithPasscode(options, callback);\n\t }\n\t\n\t if (typeof options.username !== 'undefined' || typeof options.email !== 'undefined') {\n\t return this.loginWithUsernamePassword(options, callback);\n\t }\n\t\n\t if (!!window.cordova || !!window.electron) {\n\t return this.loginPhonegap(options, callback);\n\t }\n\t\n\t if (!!options.popup && this._getCallbackOnLocationHash(options)) {\n\t return this.loginWithPopup(options, callback);\n\t }\n\t\n\t if (!options.nonce && this._responseType.indexOf('id_token') > -1) {\n\t throw new Error('nonce is mandatory');\n\t }\n\t\n\t this._authorize(options);\n\t};\n\t\n\tAuth0.prototype._authorize = function (options) {\n\t var url = this._buildAuthorizeUrl(options);\n\t\n\t if (options.popup) {\n\t this._buildPopupWindow(options, url);\n\t } else {\n\t this._redirect(url);\n\t }\n\t};\n\t\n\t/**\n\t * Compute `options.width` and `options.height` for the popup to\n\t * open and return and extended object with optimal `top` and `left`\n\t * position arguments for the popup windows\n\t *\n\t * @param {Object} options\n\t * @private\n\t */\n\t\n\tAuth0.prototype._computePopupPosition = function (options) {\n\t options = options || {};\n\t var width = options.width || 500;\n\t var height = options.height || 600;\n\t\n\t var screenX = typeof window.screenX !== 'undefined' ? window.screenX : window.screenLeft;\n\t var screenY = typeof window.screenY !== 'undefined' ? window.screenY : window.screenTop;\n\t var outerWidth = typeof window.outerWidth !== 'undefined' ? window.outerWidth : document.body.clientWidth;\n\t var outerHeight = typeof window.outerHeight !== 'undefined' ? window.outerHeight : document.body.clientHeight - 22;\n\t // XXX: what is the 22?\n\t\n\t // Use `outerWidth - width` and `outerHeight - height` for help in\n\t // positioning the popup centered relative to the current window\n\t var left = screenX + (outerWidth - width) / 2;\n\t var top = screenY + (outerHeight - height) / 2;\n\t\n\t return { width: width, height: height, left: left, top: top };\n\t};\n\t\n\t/**\n\t * loginPhonegap method is triggered when !!window.cordova is true.\n\t *\n\t * @method loginPhonegap\n\t * @private\n\t * @param {Object} options Login options.\n\t * @param {Function} callback To be called after login happened. Callback arguments\n\t * should be:\n\t * function (err, profile, idToken, accessToken, state)\n\t *\n\t * @example\n\t * var auth0 = new Auth0({ clientId: '...', domain: '...'});\n\t *\n\t * auth0.signin({}, function (err, profile, idToken, accessToken, state) {\n\t * if (err) {\n\t * alert(err);\n\t * return;\n\t * }\n\t *\n\t * alert('Welcome ' + profile.name);\n\t * });\n\t */\n\t\n\tAuth0.prototype.loginPhonegap = function (options, callback) {\n\t if (this._shouldAuthenticateWithCordovaPlugin(options.connection)) {\n\t this._socialPhonegapLogin(options, callback);\n\t return;\n\t }\n\t\n\t var mobileCallbackURL = joinUrl('https:', this._domain, '/mobile');\n\t var _this = this;\n\t var qs = [this._getMode(options), options, {\n\t client_id: this._clientID,\n\t redirect_uri: mobileCallbackURL\n\t }];\n\t\n\t if (this._sendClientInfo) {\n\t qs.push({ auth0Client: this._getClientInfoString() });\n\t }\n\t\n\t var query = this._buildAuthorizeQueryString(qs);\n\t\n\t var popupUrl = joinUrl('https:', this._domain, '/authorize?' + query);\n\t\n\t var popupOptions = xtend({ location: 'yes' }, options.popupOptions);\n\t\n\t // This wasn't send before so we don't send it now either\n\t delete popupOptions.width;\n\t delete popupOptions.height;\n\t\n\t var ref = this.openWindow(popupUrl, '_blank', popupOptions);\n\t var answered = false;\n\t\n\t function errorHandler(event) {\n\t if (answered) {\n\t return;\n\t }\n\t answered = true;\n\t ref.close();\n\t callback(new Error(event.message), null);\n\t }\n\t\n\t function startHandler(event) {\n\t if (answered) {\n\t return;\n\t }\n\t\n\t if (event.url && !(event.url.indexOf(mobileCallbackURL + '#') === 0 || event.url.indexOf(mobileCallbackURL + '?') === 0)) {\n\t return;\n\t }\n\t\n\t var result = _this.parseHash(event.url.slice(mobileCallbackURL.length));\n\t\n\t if (!result) {\n\t answered = true;\n\t ref.close();\n\t callback(new Error('Error parsing hash'), null);\n\t return;\n\t }\n\t\n\t if (result.idToken) {\n\t answered = true;\n\t ref.close();\n\t callback(null, result);\n\t return;\n\t }\n\t\n\t // Case where we've found an error\n\t answered = true;\n\t ref.close();\n\t callback(new Error(result.err || result.error || 'Something went wrong'), null);\n\t }\n\t\n\t function exitHandler() {\n\t if (answered) {\n\t return;\n\t }\n\t\n\t ref.removeEventListener('loaderror', errorHandler);\n\t ref.removeEventListener('loadstart', startHandler);\n\t ref.removeEventListener('exit', exitHandler);\n\t\n\t callback(new Error('Browser window closed'), null);\n\t }\n\t\n\t ref.addEventListener('loaderror', errorHandler);\n\t ref.addEventListener('loadstart', startHandler);\n\t ref.addEventListener('exit', exitHandler);\n\t};\n\t\n\t/**\n\t * loginWithPopup method is triggered when login method receives a {popup: true} in\n\t * the login options.\n\t *\n\t * @method loginWithPopup\n\t * @param {Object} options Login options.\n\t * @param {function} callback To be called after login happened (whether\n\t * success or failure). This parameter is mandatory when\n\t * option callbackOnLocationHash is truthy but should not\n\t * be used when falsy.\n\t * @example\n\t * var auth0 = new Auth0({ clientId: '...', domain: '...', callbackOnLocationHash: true });\n\t *\n\t * // Error! No callback\n\t * auth0.login({popup: true});\n\t *\n\t * // Ok!\n\t * auth0.login({popup: true}, function () { });\n\t *\n\t * @example\n\t * var auth0 = new Auth0({ clientId: '...', domain: '...'});\n\t *\n\t * // Ok!\n\t * auth0.login({popup: true});\n\t *\n\t * // Error! No callback will be executed on response_type=code\n\t * auth0.login({popup: true}, function () { });\n\t * @private\n\t */\n\t\n\tAuth0.prototype.loginWithPopup = function (options, callback) {\n\t var _this = this;\n\t\n\t if (!callback) {\n\t throw new Error('popup mode should receive a mandatory callback');\n\t }\n\t\n\t if (!options.nonce && this._responseType.indexOf('id_token') > -1) {\n\t throw new Error('nonce is mandatory');\n\t }\n\t\n\t var qs = [this._getMode(options), options, { client_id: this._clientID, owp: true }];\n\t\n\t if (this._sendClientInfo) {\n\t qs.push({ auth0Client: this._getClientInfoString() });\n\t }\n\t\n\t var query = this._buildAuthorizeQueryString(qs);\n\t var popupUrl = joinUrl('https:', this._domain, '/authorize?' + query);\n\t\n\t var popupPosition = this._computePopupPosition(options.popupOptions);\n\t var popupOptions = xtend(popupPosition, options.popupOptions);\n\t\n\t var popup = WinChan.open({\n\t url: popupUrl,\n\t relay_url: 'https://' + this._domain + '/relay.html',\n\t window_features: stringifyPopupSettings(popupOptions)\n\t }, function (err, result) {\n\t // Eliminate `_current_popup` reference manually because\n\t // Winchan removes `.kill()` method from window and also\n\t // doesn't call `.kill()` by itself\n\t _this._current_popup = null;\n\t\n\t // Winchan always returns string errors, we wrap them inside Error objects\n\t if (err) {\n\t return callback(new LoginError(err), null, null, null, null, null);\n\t }\n\t\n\t // Handle edge case with generic error\n\t if (!result) {\n\t return callback(new LoginError('Something went wrong'), null, null, null, null, null);\n\t }\n\t\n\t // Handle profile retrieval from id_token and respond\n\t if (result.access_token || result.id_token) {\n\t return callback(null, _this._prepareResult(result));\n\t }\n\t\n\t // Case where the error is returned at an `err` property from the result\n\t if (result.err) {\n\t return callback(new LoginError(result.err.status, result.err.details || result.err), null, null, null, null, null);\n\t }\n\t\n\t // Case for sso_dbconnection_popup returning error at result.error instead of result.err\n\t if (result.error) {\n\t return callback(new LoginError(result.status, result.details || result), null, null, null, null, null);\n\t }\n\t\n\t // Case we couldn't match any error, we return a generic one\n\t return callback(new LoginError('Something went wrong'), null, null, null, null, null);\n\t });\n\t\n\t popup.focus();\n\t};\n\t\n\t/**\n\t * _shouldAuthenticateWithCordovaPlugin method checks whether Auth0 is properly configured to\n\t * handle authentication of a social connnection using a phonegap plugin.\n\t *\n\t * @param {String} connection Name of the connection.\n\t * @private\n\t */\n\t\n\tAuth0.prototype._shouldAuthenticateWithCordovaPlugin = function (connection) {\n\t var socialPlugin = this._cordovaSocialPlugins[connection];\n\t return this._useCordovaSocialPlugins && !!socialPlugin;\n\t};\n\t\n\t/**\n\t * _socialPhonegapLogin performs social authentication using a phonegap plugin\n\t *\n\t * @param {String} connection Name of the connection.\n\t * @param {function} callback To be called after login happened (whether\n\t * success or failure).\n\t * @private\n\t */\n\t\n\tAuth0.prototype._socialPhonegapLogin = function (options, callback) {\n\t var socialAuthentication = this._cordovaSocialPlugins[options.connection];\n\t var _this = this;\n\t socialAuthentication(options.connection_scope, function (error, accessToken, extras) {\n\t if (error) {\n\t callback(error, null, null, null, null);\n\t return;\n\t }\n\t var loginOptions = xtend({ access_token: accessToken }, options, extras);\n\t _this.loginWithSocialAccessToken(loginOptions, callback);\n\t });\n\t};\n\t\n\t/**\n\t * _phonegapFacebookLogin performs social authentication with Facebook using phonegap-facebook-plugin\n\t *\n\t * @param {Object} scopes FB scopes used to login. It can be an Array of String or a single String.\n\t * By default is [\"public_profile\"]\n\t * @param {function} callback To be called after login happened (whether success or failure). It will\n\t * yield the accessToken and any extra information neeeded by Auth0 API\n\t * or an Error if the authentication fails. Callback should be:\n\t * function (err, accessToken, extras) { }\n\t * @private\n\t */\n\t\n\tAuth0.prototype._phonegapFacebookLogin = function (scopes, callback) {\n\t if (!window.facebookConnectPlugin || !window.facebookConnectPlugin.login) {\n\t callback(new Error('missing plugin phonegap-facebook-plugin'), null, null);\n\t return;\n\t }\n\t\n\t var fbScopes;\n\t if (scopes && is_array(scopes)) {\n\t fbScopes = scopes;\n\t } else if (scopes) {\n\t fbScopes = [scopes];\n\t } else {\n\t fbScopes = ['public_profile'];\n\t }\n\t window.facebookConnectPlugin.login(fbScopes, function (state) {\n\t callback(null, state.authResponse.accessToken, {});\n\t }, function (error) {\n\t callback(new Error(error), null, null);\n\t });\n\t};\n\t\n\t/**\n\t * This method handles the scenario where a db connection is used with\n\t * popup: true and sso: true.\n\t *\n\t * @private\n\t */\n\tAuth0.prototype.loginWithUsernamePasswordAndSSO = function (options, callback) {\n\t var _this = this;\n\t var popupPosition = this._computePopupPosition(options.popupOptions);\n\t var popupOptions = xtend(popupPosition, options.popupOptions);\n\t\n\t if (!options.nonce && this._responseType.indexOf('id_token') > -1) {\n\t throw new Error('nonce is mandatory');\n\t }\n\t\n\t var winchanOptions = {\n\t url: 'https://' + this._domain + '/sso_dbconnection_popup/' + this._clientID,\n\t relay_url: 'https://' + this._domain + '/relay.html',\n\t window_features: stringifyPopupSettings(popupOptions),\n\t popup: this._current_popup,\n\t params: {\n\t domain: this._domain,\n\t clientID: this._clientID,\n\t options: {\n\t // TODO What happens with i18n?\n\t username: trim(options.username || options.email || ''),\n\t password: options.password,\n\t connection: options.connection,\n\t state: options.state,\n\t scope: options.scope\n\t }\n\t }\n\t };\n\t\n\t if (options._csrf) {\n\t winchanOptions.params.options._csrf = options._csrf;\n\t }\n\t\n\t if (options.device) {\n\t winchanOptions.params.options.device = options.device;\n\t }\n\t\n\t var popup = WinChan.open(winchanOptions, function (err, result) {\n\t // Eliminate `_current_popup` reference manually because\n\t // Winchan removes `.kill()` method from window and also\n\t // doesn't call `.kill()` by itself\n\t _this._current_popup = null;\n\t\n\t // Winchan always returns string errors, we wrap them inside Error objects\n\t if (err) {\n\t return callback(new LoginError(err), null, null, null, null, null);\n\t }\n\t\n\t // Handle edge case with generic error\n\t if (!result) {\n\t return callback(new LoginError('Something went wrong'), null, null, null, null, null);\n\t }\n\t\n\t // Handle profile retrieval from id_token and respond\n\t if (result.id_token) {\n\t return callback(null, _this._prepareResult(result));\n\t }\n\t\n\t // Case where the error is returned at an `err` property from the result\n\t if (result.err) {\n\t return callback(new LoginError(result.err.status, result.err.details || result.err), null, null, null, null, null);\n\t }\n\t\n\t // Case for sso_dbconnection_popup returning error at result.error instead of result.err\n\t if (result.error) {\n\t return callback(new LoginError(result.status, result.details || result), null, null, null, null, null);\n\t }\n\t\n\t // Case we couldn't match any error, we return a generic one\n\t return callback(new LoginError('Something went wrong'), null, null, null, null, null);\n\t });\n\t\n\t popup.focus();\n\t};\n\t\n\t/**\n\t * Login with Resource Owner (RO)\n\t *\n\t * @param {Object} options\n\t * @param {Function} callback\n\t * @method loginWithResourceOwner\n\t */\n\t\n\tAuth0.prototype.loginWithResourceOwner = function (options, callback) {\n\t var _this = this;\n\t var query = xtend(this._getMode(options), options, {\n\t client_id: this._clientID,\n\t username: trim(options.username || options.email || ''),\n\t grant_type: 'password'\n\t });\n\t\n\t this._configureOfflineMode(query);\n\t\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/oauth/ro';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t if (this._sendClientInfo && this._useJSONP) {\n\t query['auth0Client'] = this._getClientInfoString();\n\t }\n\t\n\t if (this._useJSONP) {\n\t return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t return callback(err);\n\t }\n\t if ('error' in resp) {\n\t var error = new LoginError(resp.status, resp.error);\n\t return callback(error);\n\t }\n\t callback(null, _this._prepareResult(resp));\n\t });\n\t }\n\t\n\t reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'json',\n\t data: query,\n\t headers: this._getClientInfoHeader(),\n\t crossOrigin: !same_origin(protocol, domain),\n\t success: function success(resp) {\n\t callback(null, _this._prepareResult(resp));\n\t },\n\t error: function error(err) {\n\t handleRequestError(err, callback);\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Login with Social Access Token\n\t *\n\t * @param {Object} options\n\t * @param {Function} callback\n\t * @method loginWithSocialAccessToken\n\t */\n\t\n\tAuth0.prototype.loginWithSocialAccessToken = function (options, callback) {\n\t var _this = this;\n\t var query = this._buildAuthorizationParameters([{ scope: this._scope }, options, { client_id: this._clientID }]);\n\t\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/oauth/access_token';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t if (this._useJSONP) {\n\t return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t return callback(err);\n\t }\n\t if ('error' in resp) {\n\t var error = new LoginError(resp.status, resp.error);\n\t return callback(error);\n\t }\n\t callback(null, _this._prepareResult(resp));\n\t });\n\t }\n\t\n\t reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'json',\n\t data: query,\n\t headers: this._getClientInfoHeader(),\n\t crossOrigin: !same_origin(protocol, domain),\n\t success: function success(resp) {\n\t callback(null, _this._prepareResult(resp));\n\t },\n\t error: function error(err) {\n\t handleRequestError(err, callback);\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Open a popup, store the winref in the instance and return it.\n\t *\n\t * We usually need to call this method before any ajax transaction in order\n\t * to prevent the browser to block the popup.\n\t *\n\t * @param {[type]} options [description]\n\t * @param {Function} callback [description]\n\t * @return {[type]} [description]\n\t * @private\n\t */\n\t\n\tAuth0.prototype._buildPopupWindow = function (options, url) {\n\t if (this._current_popup && !this._current_popup.closed) {\n\t return this._current_popup;\n\t }\n\t\n\t url = url || 'about:blank';\n\t\n\t var _this = this;\n\t var defaults = { width: 500, height: 600 };\n\t var opts = xtend(defaults, options.popupOptions || {});\n\t var popupOptions = stringifyPopupSettings(opts);\n\t\n\t this._current_popup = window.open(url, 'auth0_signup_popup', popupOptions);\n\t\n\t if (!this._current_popup) {\n\t throw new Error('Popup window cannot not been created. Disable popup blocker or make sure to call Auth0 login or singup on an UI event.');\n\t }\n\t\n\t this._current_popup.kill = function () {\n\t this.close();\n\t _this._current_popup = null;\n\t };\n\t\n\t return this._current_popup;\n\t};\n\t\n\t/**\n\t * Login with Username and Password\n\t *\n\t * @param {Object} options\n\t * @param {Function} callback\n\t * @method loginWithUsernamePassword\n\t */\n\t\n\tAuth0.prototype.loginWithUsernamePassword = function (options, callback) {\n\t // XXX: Warning: This check is whether callback arguments are\n\t // fn(err) case callback.length === 1 (a redirect should be performed) vs.\n\t // fn(err, profile, id_token, access_token, state) callback.length > 1 (no\n\t // redirect should be performed)\n\t //\n\t // Note: Phonegap/Cordova:\n\t // As the popup is launched using the InAppBrowser plugin the SSO cookie will\n\t // be set on the InAppBrowser browser. That's why the browser where the app runs\n\t // won't get the sso cookie. Therefore, we don't allow username password using\n\t // popup with sso: true in Cordova/Phonegap and we default to resource owner auth.\n\t if (callback && callback.length > 1 && (!options.sso || window.cordova)) {\n\t return this.loginWithResourceOwner(options, callback);\n\t }\n\t\n\t var _this = this;\n\t var popup;\n\t\n\t // TODO We should deprecate this, really hacky and confuses people.\n\t if (options.popup && !this._getCallbackOnLocationHash(options)) {\n\t popup = this._buildPopupWindow(options);\n\t }\n\t\n\t if (!options.nonce && this._responseType.indexOf('id_token') > -1) {\n\t throw new Error('nonce is mandatory');\n\t }\n\t\n\t // When a callback with more than one argument is specified and sso: true then\n\t // we open a popup and do authentication there.\n\t if (callback && callback.length > 1 && options.sso) {\n\t return this.loginWithUsernamePasswordAndSSO(options, callback);\n\t }\n\t\n\t var query = xtend(this._getMode(options), options, {\n\t client_id: this._clientID,\n\t redirect_uri: this._getCallbackURL(options),\n\t username: trim(options.username || options.email || ''),\n\t tenant: this._tenant\n\t });\n\t\n\t this._configureOfflineMode(query);\n\t\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/usernamepassword/login';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t if (this._useJSONP) {\n\t return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t if (popup && popup.kill) {\n\t popup.kill();\n\t }\n\t return callback(err);\n\t }\n\t if ('error' in resp) {\n\t if (popup && popup.kill) {\n\t popup.kill();\n\t }\n\t var error = new LoginError(resp.status, resp.error);\n\t return callback(error);\n\t }\n\t _this._renderAndSubmitWSFedForm(options, resp.form);\n\t });\n\t }\n\t\n\t function return_error(error) {\n\t if (callback) {\n\t return callback(error);\n\t }\n\t throw error;\n\t }\n\t\n\t reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'html',\n\t data: query,\n\t headers: this._getClientInfoHeader(),\n\t crossOrigin: !same_origin(protocol, domain),\n\t success: function success(resp) {\n\t _this._renderAndSubmitWSFedForm(options, resp);\n\t },\n\t error: function error(err) {\n\t if (popup && popup.kill) {\n\t popup.kill();\n\t }\n\t handleRequestError(err, return_error);\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Login with phone number and passcode\n\t *\n\t * @param {Object} options\n\t * @param {Function} callback\n\t * @method loginWithPhoneNumber\n\t */\n\tAuth0.prototype.loginWithPasscode = function (options, callback) {\n\t\n\t if (options.email == null && options.phoneNumber == null) {\n\t throw new Error('email or phoneNumber is required for authentication');\n\t }\n\t\n\t if (options.passcode == null) {\n\t throw new Error('passcode is required for authentication');\n\t }\n\t\n\t options.connection = options.email == null ? 'sms' : 'email';\n\t\n\t if (!this._shouldRedirect) {\n\t options = xtend(options, {\n\t username: options.email == null ? options.phoneNumber : options.email,\n\t password: options.passcode,\n\t sso: false\n\t });\n\t\n\t delete options.email;\n\t delete options.phoneNumber;\n\t delete options.passcode;\n\t\n\t return this.loginWithResourceOwner(options, callback);\n\t }\n\t\n\t var verifyOptions = { connection: options.connection };\n\t\n\t if (options.phoneNumber) {\n\t options.phone_number = options.phoneNumber;\n\t delete options.phoneNumber;\n\t\n\t verifyOptions.phone_number = options.phone_number;\n\t }\n\t\n\t if (options.email) {\n\t verifyOptions.email = options.email;\n\t }\n\t\n\t options.verification_code = options.passcode;\n\t delete options.passcode;\n\t\n\t verifyOptions.verification_code = options.verification_code;\n\t\n\t var _this = this;\n\t this._verify(verifyOptions, function (error) {\n\t if (error) {\n\t return callback(error);\n\t }\n\t _this._verify_redirect(options);\n\t });\n\t};\n\t\n\tAuth0.prototype._verify = function (options, callback) {\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/passwordless/verify';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t var data = options;\n\t\n\t if (this._useJSONP) {\n\t if (this._sendClientInfo) {\n\t data['auth0Client'] = this._getClientInfoString();\n\t }\n\t\n\t return jsonp(url + '?' + qs.stringify(data), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t return callback(new Error(0 + ': ' + err.toString()));\n\t }\n\t // /**/ typeof __auth0jp0 === 'function' && __auth0jp0({\"status\":400});\n\t return resp.status === 200 ? callback(null, true) : callback({ status: resp.status });\n\t });\n\t }\n\t\n\t return reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t headers: this._getClientInfoHeader(),\n\t crossOrigin: !same_origin(protocol, domain),\n\t data: data\n\t }).fail(function (err) {\n\t try {\n\t callback(JSON.parse(err.responseText));\n\t } catch (e) {\n\t var error = new Error(err.status + '(' + err.statusText + '): ' + err.responseText);\n\t error.statusCode = err.status;\n\t error.error = err.statusText;\n\t error.message = err.responseText;\n\t callback(error);\n\t }\n\t }).then(function (result) {\n\t callback(null, result);\n\t });\n\t};\n\t\n\tAuth0.prototype._verify_redirect = function (options) {\n\t var qs = [this._getMode(options), options, {\n\t client_id: this._clientID,\n\t redirect_uri: this._getCallbackURL(options)\n\t }];\n\t\n\t var query = this._buildAuthorizeQueryString(qs);\n\t var url = joinUrl('https:', this._domain, '/passwordless/verify_redirect?' + query);\n\t\n\t this._redirect(url);\n\t};\n\t\n\t// TODO Document me\n\tAuth0.prototype.renewIdToken = function (id_token, callback) {\n\t this.getDelegationToken({\n\t id_token: id_token,\n\t scope: 'passthrough',\n\t api: 'auth0'\n\t }, callback);\n\t};\n\t\n\t// TODO Document me\n\tAuth0.prototype.refreshToken = function (refresh_token, callback) {\n\t this.getDelegationToken({\n\t refresh_token: refresh_token,\n\t scope: 'passthrough',\n\t api: 'auth0'\n\t }, callback);\n\t};\n\t\n\t/**\n\t * Get delegation token for certain addon or certain other clientId\n\t *\n\t * @example\n\t *\n\t * auth0.getDelegationToken({\n\t * id_token: '<user-id-token>',\n\t * target: '<app-client-id>'\n\t * api_type: 'auth0'\n\t * }, function (err, delegationResult) {\n\t * if (err) return console.log(err.message);\n\t * // Do stuff with delegation token\n\t * expect(delegationResult.id_token).to.exist;\n\t * expect(delegationResult.token_type).to.eql('Bearer');\n\t * expect(delegationResult.expires_in).to.eql(36000);\n\t * });\n\t *\n\t * @example\n\t *\n\t * // get a delegation token from a Firebase API App\n\t * auth0.getDelegationToken({\n\t * id_token: '<user-id-token>',\n\t * target: '<app-client-id>'\n\t * api_type: 'firebase'\n\t * }, function (err, delegationResult) {\n\t * // Use your firebase token here\n\t * });\n\t *\n\t * @method getDelegationToken\n\t * @param {Object} [options]\n\t * @param {String} [id_token]\n\t * @param {String} [target]\n\t * @param {String} [api_type]\n\t * @param {Function} [callback]\n\t */\n\tAuth0.prototype.getDelegationToken = function (options, callback) {\n\t options = options || {};\n\t\n\t if (!options.id_token && !options.refresh_token) {\n\t throw new Error('You must send either an id_token or a refresh_token to get a delegation token.');\n\t }\n\t\n\t var query = xtend({\n\t grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer',\n\t client_id: this._clientID,\n\t target: options.targetClientId || this._clientID,\n\t api_type: options.api\n\t }, options);\n\t\n\t delete query.hasOwnProperty;\n\t delete query.targetClientId;\n\t delete query.api;\n\t\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/delegation';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t if (this._useJSONP) {\n\t return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t return callback(err);\n\t }\n\t if ('error' in resp) {\n\t var error = new LoginError(resp.status, resp.error_description || resp.error);\n\t return callback(error);\n\t }\n\t callback(null, resp);\n\t });\n\t }\n\t\n\t reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'json',\n\t data: query,\n\t crossOrigin: !same_origin(protocol, domain),\n\t success: function success(resp) {\n\t callback(null, resp);\n\t },\n\t error: function error(err) {\n\t try {\n\t callback(JSON.parse(err.responseText));\n\t } catch (e) {\n\t var er = err;\n\t var isAffectedIEVersion = isInternetExplorer() === 10 || isInternetExplorer() === 11;\n\t var zeroStatus = !er.status || er.status === 0;\n\t\n\t // Request failed because we are offline.\n\t // See: http://caniuse.com/#search=navigator.onLine\n\t if (zeroStatus && !window.navigator.onLine) {\n\t er = {};\n\t er.status = 0;\n\t er.responseText = {\n\t code: 'offline'\n\t };\n\t // http://stackoverflow.com/questions/23229723/ie-10-11-cors-status-0\n\t // XXX IE10 when a request fails in CORS returns status code 0\n\t // XXX This is not handled by handleRequestError as the errors are different\n\t } else if (zeroStatus && isAffectedIEVersion) {\n\t er = {};\n\t er.status = 401;\n\t er.responseText = {\n\t code: 'invalid_operation'\n\t };\n\t // If not IE10/11 and not offline it means that Auth0 host is unreachable:\n\t // Connection Timeout or Connection Refused.\n\t } else if (zeroStatus) {\n\t er = {};\n\t er.status = 0;\n\t er.responseText = {\n\t code: 'connection_refused_timeout'\n\t };\n\t } else {\n\t er.responseText = err;\n\t }\n\t callback(new LoginError(er.status, er.responseText));\n\t }\n\t }\n\t });\n\t};\n\t\n\t/**\n\t * Fetches a new id_token/access_token from Auth0\n\t *\n\t * @example\n\t *\n\t * auth0.silentAuthentication({}, function(error, result) {\n\t * if (error) {\n\t * console.log(error);\n\t * }\n\t * // result.id_token\n\t * });\n\t *\n\t * @example\n\t *\n\t * auth0.silentAuthentication({callbackUrl: \"https://site.com/silentCallback\"}, function(error, result) {\n\t * if (error) {\n\t * console.log(error);\n\t * }\n\t * // result.id_token\n\t * });\n\t *\n\t * @method silentAutnetication\n\t * @param {Object} options\n\t * @param {function} callback\n\t */\n\tAuth0.prototype.silentAuthentication = function (options, callback) {\n\t var usePostMessage = options.usePostMessage || false;\n\t\n\t delete options.usePostMessage;\n\t\n\t options = xtend(options, { prompt: 'none' });\n\t var handler = new SilentAuthenticationHandler(this, this._buildAuthorizeUrl(options));\n\t handler.login(callback, usePostMessage);\n\t};\n\t\n\t/**\n\t * Trigger logout redirect with\n\t * params from `query` object\n\t *\n\t * @example\n\t *\n\t * auth0.logout();\n\t * // redirects to -> 'https://yourapp.auth0.com/logout'\n\t *\n\t * @example\n\t *\n\t * auth0.logout({returnTo: 'http://logout'});\n\t * // redirects to -> 'https://yourapp.auth0.com/logout?returnTo=http://logout'\n\t *\n\t * @example\n\t *\n\t * auth0.logout(null, {version: 'v2'});\n\t * // redirects to -> 'https://yourapp.auth0.com/v2/logout'\n\t *\n\t * @example\n\t *\n\t * auth0.logout({returnTo: 'http://logout'}, {version: 2});\n\t * // redirects to -> 'https://yourapp.auth0.com/v2/logout?returnTo=http://logout'\n\t *\n\t * @method logout\n\t * @param {Object} query\n\t */\n\t\n\tAuth0.prototype.logout = function (query, options) {\n\t var pathName = '/logout';\n\t options = options || {};\n\t\n\t if (options.version == 'v2') {\n\t pathName = '/v2' + pathName;\n\t }\n\t\n\t var url = joinUrl('https:', this._domain, pathName);\n\t\n\t if (query) {\n\t url += '?' + qs.stringify(query);\n\t }\n\t\n\t this._redirect(url);\n\t};\n\t\n\t/**\n\t * Get single sign on Data\n\t *\n\t * @example\n\t *\n\t * auth0.getSSOData(function (err, ssoData) {\n\t * if (err) return console.log(err.message);\n\t * expect(ssoData.sso).to.exist;\n\t * });\n\t *\n\t * @example\n\t *\n\t * auth0.getSSOData(false, fn);\n\t *\n\t * @method getSSOData\n\t * @param {Boolean} withActiveDirectories\n\t * @param {Function} cb\n\t */\n\t\n\tAuth0.prototype.getSSOData = function (withActiveDirectories, cb) {\n\t if (typeof withActiveDirectories === 'function') {\n\t cb = withActiveDirectories;\n\t withActiveDirectories = false;\n\t }\n\t\n\t var noResult = { sso: false };\n\t\n\t if (this._useJSONP) {\n\t var error = new Error(\"The SSO data can't be obtained using JSONP\");\n\t setTimeout(function () {\n\t cb(error, noResult);\n\t }, 0);\n\t return;\n\t }\n\t\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/user/ssodata';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t var sameOrigin = same_origin(protocol, domain);\n\t var data = {};\n\t\n\t if (withActiveDirectories) {\n\t data = { ldaps: 1, client_id: this._clientID };\n\t }\n\t\n\t return reqwest({\n\t url: sameOrigin ? endpoint : url,\n\t method: 'get',\n\t type: 'json',\n\t data: data,\n\t crossOrigin: !sameOrigin,\n\t withCredentials: !sameOrigin,\n\t timeout: 3000\n\t }).fail(function (err) {\n\t var error = new Error(\"There was an error in the request that obtains the user's SSO data.\");\n\t error.cause = err;\n\t cb(error, noResult);\n\t }).then(function (resp) {\n\t cb(null, resp);\n\t });\n\t};\n\t\n\t/**\n\t * Get all configured connections for a client\n\t *\n\t * @method getConnections\n\t * @param {Function} callback\n\t * @deprecated This method is deprecated. If you need to get the connections please use Management API https://auth0.com/docs/api/management/v2#!/Connections/get_connections\n\t */\n\t\n\tAuth0.prototype.getConnections = function (callback) {\n\t warn('getConnections is deprecated and will be removed shortly. Please use Management API endpoint /connections to list the connections');\n\t return jsonp('https://' + this._domain + '/public/api/' + this._clientID + '/connections', jsonpOpts, callback);\n\t};\n\t\n\t/**\n\t * Send email or SMS to do passwordless authentication\n\t *\n\t * @example\n\t * // To send an email\n\t * auth0.startPasswordless({email: 'foo@bar.com'}, function (err, result) {\n\t * if (err) return console.log(err.error_description);\n\t * console.log(result);\n\t * });\n\t *\n\t * @example\n\t * // To send a SMS\n\t * auth0.startPasswordless({phoneNumber: '+14251112222'}, function (err, result) {\n\t * if (err) return console.log(err.error_description);\n\t * console.log(result);\n\t * });\n\t *\n\t * @method startPasswordless\n\t * @param {Object} options\n\t * @param {Function} callback\n\t */\n\t\n\tAuth0.prototype.startPasswordless = function (options, callback) {\n\t if ('object' !== (typeof options === 'undefined' ? 'undefined' : _typeof(options))) {\n\t throw new Error('An options object is required');\n\t }\n\t if ('function' !== typeof callback) {\n\t throw new Error('A callback function is required');\n\t }\n\t if (!options.email && !options.phoneNumber) {\n\t throw new Error('An `email` or a `phoneNumber` is required.');\n\t }\n\t\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = '/passwordless/start';\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t var data = { client_id: this._clientID };\n\t if (options.email) {\n\t data.email = options.email;\n\t data.connection = 'email';\n\t if (options.authParams) {\n\t data.authParams = options.authParams;\n\t }\n\t\n\t if (!options.send || options.send === \"link\") {\n\t if (!data.authParams) {\n\t data.authParams = {};\n\t }\n\t\n\t data.authParams.redirect_uri = options.callbackURL || this._callbackURL;\n\t data.authParams.response_type = this._getResponseType(options);\n\t }\n\t\n\t if (options.send) {\n\t data.send = options.send;\n\t }\n\t } else {\n\t data.phone_number = options.phoneNumber;\n\t data.connection = 'sms';\n\t }\n\t\n\t if (this._useJSONP) {\n\t if (this._sendClientInfo) {\n\t data['auth0Client'] = this._getClientInfoString();\n\t }\n\t\n\t return jsonp(url + '?' + qs.stringify(data), jsonpOpts, function (err, resp) {\n\t if (err) {\n\t return callback(new Error(0 + ': ' + err.toString()));\n\t }\n\t return resp.status === 200 ? callback(null, true) : callback(resp.err || resp.error);\n\t });\n\t }\n\t\n\t return reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: 'post',\n\t type: 'json',\n\t headers: this._getClientInfoHeader(),\n\t crossOrigin: !same_origin(protocol, domain),\n\t data: data\n\t }).fail(function (err) {\n\t try {\n\t callback(JSON.parse(err.responseText));\n\t } catch (e) {\n\t var error = new Error(err.status + '(' + err.statusText + '): ' + err.responseText);\n\t error.statusCode = err.status;\n\t error.error = err.statusText;\n\t error.message = err.responseText;\n\t callback(error);\n\t }\n\t }).then(function (result) {\n\t callback(null, result);\n\t });\n\t};\n\t\n\tAuth0.prototype.requestMagicLink = function (attrs, cb) {\n\t return this.startPasswordless(attrs, cb);\n\t};\n\t\n\tAuth0.prototype.requestEmailCode = function (attrs, cb) {\n\t attrs.send = \"code\";\n\t return this.startPasswordless(attrs, cb);\n\t};\n\t\n\tAuth0.prototype.verifyEmailCode = function (attrs, cb) {\n\t attrs.passcode = attrs.code;\n\t delete attrs.code;\n\t return this.login(attrs, cb);\n\t};\n\t\n\tAuth0.prototype.requestSMSCode = function (attrs, cb) {\n\t return this.startPasswordless(attrs, cb);\n\t};\n\t\n\tAuth0.prototype.verifySMSCode = function (attrs, cb) {\n\t attrs.passcode = attrs.code;\n\t delete attrs.code;\n\t return this.login(attrs, cb);\n\t};\n\t\n\t/**\n\t * Returns the ISO 3166-1 code for the country where the request is\n\t * originating.\n\t *\n\t * Fails if the request has to be made using JSONP.\n\t *\n\t * @private\n\t */\n\tAuth0.prototype.getUserCountry = function (cb) {\n\t var protocol = 'https:';\n\t var domain = this._domain;\n\t var endpoint = \"/user/geoloc/country\";\n\t var url = joinUrl(protocol, domain, endpoint);\n\t\n\t if (this._useJSONP) {\n\t var error = new Error(\"The user's country can't be obtained using JSONP\");\n\t setTimeout(function () {\n\t cb(error);\n\t }, 0);\n\t return;\n\t }\n\t\n\t reqwest({\n\t url: same_origin(protocol, domain) ? endpoint : url,\n\t method: \"get\",\n\t type: \"json\",\n\t headers: this._getClientInfoHeader(),\n\t crossOrigin: !same_origin(protocol, domain),\n\t success: function success(resp) {\n\t cb(null, resp.country_code);\n\t },\n\t error: function error(err) {\n\t var error = new Error(\"There was an error in the request that obtains the user's country\");\n\t error.cause = err;\n\t cb(error);\n\t }\n\t });\n\t};\n\t\n\tAuth0.prototype._prepareResult = function (result) {\n\t if (!result || (typeof result === 'undefined' ? 'undefined' : _typeof(result)) !== \"object\") {\n\t return;\n\t }\n\t\n\t var decodedIdToken = result.id_token ? this.decodeJwt(result.id_token) : undefined;\n\t\n\t return {\n\t accessToken: result.access_token,\n\t idToken: result.id_token,\n\t idTokenPayload: result.profile || decodedIdToken,\n\t refreshToken: result.refresh_token,\n\t state: result.state\n\t };\n\t};\n\t\n\tAuth0.prototype._parseResponseType = function (opts, setFlags) {\n\t if (!opts) opts = {};\n\t\n\t if (setFlags && !this._providedResponseOptions && opts.hasOwnProperty(\"callbackOnLocationHash\")) {\n\t this._providedCallbackOnLocationHash = true;\n\t }\n\t\n\t if (setFlags && !this._providedCallbackOnLocationHash && opts.hasOwnProperty(\"responseType\")) {\n\t this._providedResponseOptions = true;\n\t }\n\t\n\t if (!this._providedCallbackOnLocationHash && !this._providedResponseOptions && opts.hasOwnProperty(\"callbackOnLocationHash\") && opts.hasOwnProperty(\"responseType\")) {\n\t warn(\"The responseType option will be ignored. Both callbackOnLocationHash and responseType options were provided and they can't be used together.\");\n\t }\n\t\n\t if (this._providedCallbackOnLocationHash && opts.hasOwnProperty(\"responseType\")) {\n\t warn(\"The responseType option will be ignored. The callbackOnLocationHash option was provided to the constructor and they can't be mixed.\");\n\t }\n\t\n\t if (this._providedResponseOptions && opts.hasOwnProperty(\"callbackOnLocationHash\")) {\n\t warn(\"The callbackOnLocationHash option will be ignored. The responseType option was provided to the constructor and they can't be mixed.\");\n\t }\n\t\n\t if (!this._providedCallbackOnLocationHash && !opts.hasOwnProperty(\"callbackOnLocationHash\") && opts.responseType && !validResponseType(opts.responseType)) {\n\t warn(\"The responseType option will be ignored. Its valid values are \\\"code\\\", \\\"id_token\\\", \\\"token\\\" or any combination of them.\");\n\t }\n\t\n\t var result = undefined;\n\t\n\t if (!this._providedResponseOptions && null != opts.callbackOnLocationHash) {\n\t result = callbackOnLocationHashToResponseType(opts.callbackOnLocationHash);\n\t }\n\t\n\t if (!this._providedCallbackOnLocationHash && !opts.hasOwnProperty(\"callbackOnLocationHash\") && opts.responseType && validResponseType(opts.responseType)) {\n\t result = opts.responseType;\n\t }\n\t\n\t return result;\n\t};\n\t\n\tAuth0.prototype._parseResponseMode = function (opts, setFlags) {\n\t if (!opts) opts = {};\n\t\n\t if (setFlags && !this._providedCallbackOnLocationHash && opts.hasOwnProperty(\"responseMode\")) {\n\t this._providedResponseOptions = true;\n\t }\n\t\n\t if (this._providedCallbackOnLocationHash && opts.hasOwnProperty(\"responseMode\")) {\n\t warn(\"The responseMode option will be ignored. The callbackOnLocationHash option was provided to the constructor and they can't be mixed.\");\n\t }\n\t\n\t if (!this._providedCallbackOnLocationHash && !this._providedResponseOptions && opts.hasOwnProperty(\"callbackOnLocationHash\") && opts.hasOwnProperty(\"responseMode\")) {\n\t warn(\"The responseMode option will be ignored. Both callbackOnLocationHash and responseMode options were provided and they can't be used together.\");\n\t }\n\t\n\t var result = undefined;\n\t\n\t if (!this._providedCallbackOnLocationHash && opts.responseMode && !validResponseMode(opts.responseMode)) {\n\t warn(\"The responseMode option will be ignored. Its only valid value is \\\"form_post\\\".\");\n\t }\n\t\n\t if (!this._providedCallbackOnLocationHash && validResponseMode(opts.responseMode)) {\n\t result = opts.responseMode;\n\t }\n\t\n\t return result;\n\t};\n\t\n\tfunction callbackOnLocationHashToResponseType(x) {\n\t return x ? \"token\" : \"code\";\n\t}\n\t\n\tfunction validResponseType(str) {\n\t if (typeof str !== \"string\") return false;\n\t\n\t var RESPONSE_TYPES = [\"code\", \"id_token\", \"token\"];\n\t var parts = str.split(\" \");\n\t\n\t for (var i = 0; i < parts.length; i++) {\n\t if (RESPONSE_TYPES.indexOf(parts[i]) === -1) return false;\n\t }\n\t\n\t return parts.length >= 1;\n\t}\n\t\n\tfunction validResponseMode(str) {\n\t return str === \"form_post\";\n\t}\n\t\n\tfunction warn(str) {\n\t if (console && console.warn) {\n\t console.warn(str);\n\t }\n\t}\n\t\n\t/**\n\t * Expose `Auth0` constructor\n\t */\n\t\n\tmodule.exports = Auth0;\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 57 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _ = __webpack_require__(46);\n\t\n\t/* OWASP Special Characters: https://www.owasp.org/index.php/Password_special_characters */\n\tvar specialCharacters = [' ', '!', '\"', '#', '\\\\$', '%', '&', '\\'', '\\\\(', '\\\\)', '\\\\*', '\\\\+', ',', '-', '\\\\.', '/', ':', ';', '<', '=', '>', '\\\\?', '@', '\\\\[', '\\\\\\\\', '\\\\]', '\\\\^', '_', '`', '{', '\\\\|', '}', '~'].join('|');\n\t\n\tvar specialCharactersRegexp = new RegExp(specialCharacters);\n\t\n\tmodule.exports = {\n\t validate: function validate(options) {\n\t if (!_.isObject(options)) {\n\t throw new Error('options should be an object');\n\t }\n\t\n\t if (!_.isArray(options.expressions) || _.isEmpty(options.expressions)) {\n\t throw new Error('contains expects expressions to be a non-empty array');\n\t }\n\t\n\t var ok = options.expressions.every(function (expression) {\n\t return _.isFunction(expression.explain) && _.isFunction(expression.test);\n\t });\n\t\n\t if (!ok) {\n\t throw new Error('contains expressions are invalid: An explain and a test function should be provided');\n\t }\n\t return true;\n\t },\n\t explain: function explain(options) {\n\t return {\n\t message: 'Should contain:',\n\t code: 'shouldContain',\n\t items: options.expressions.map(function (expression) {\n\t return expression.explain();\n\t })\n\t };\n\t },\n\t missing: function missing(options, password) {\n\t var expressions = options.expressions.map(function (expression) {\n\t var explained = expression.explain();\n\t explained.verified = expression.test(password);\n\t return explained;\n\t });\n\t\n\t var verified = expressions.every(function (expression) {\n\t return expression.verified;\n\t });\n\t\n\t return {\n\t message: 'Should contain:',\n\t code: 'shouldContain',\n\t verified: verified,\n\t items: expressions\n\t };\n\t },\n\t assert: function assert(options, password) {\n\t if (!password) {\n\t return false;\n\t }\n\t\n\t return options.expressions.every(function (expression) {\n\t var result = expression.test(password);\n\t return result;\n\t });\n\t },\n\t charsets: {\n\t upperCase: {\n\t explain: function explain() {\n\t return {\n\t message: 'upper case letters (A-Z)',\n\t code: 'upperCase'\n\t };\n\t },\n\t test: function test(password) {\n\t return (/[A-Z]/.test(password)\n\t );\n\t }\n\t },\n\t lowerCase: {\n\t explain: function explain() {\n\t return {\n\t message: 'lower case letters (a-z)',\n\t code: 'lowerCase'\n\t };\n\t },\n\t test: function test(password) {\n\t return (/[a-z]/.test(password)\n\t );\n\t }\n\t },\n\t specialCharacters: {\n\t explain: function explain() {\n\t return {\n\t message: 'special characters (e.g. !@#$%^&*)',\n\t code: 'specialCharacters'\n\t };\n\t },\n\t test: function test(password) {\n\t return specialCharactersRegexp.test(password);\n\t }\n\t },\n\t numbers: {\n\t explain: function explain() {\n\t return {\n\t message: 'numbers (i.e. 0-9)',\n\t code: 'numbers'\n\t };\n\t },\n\t test: function test(password) {\n\t return (/\\d/.test(password)\n\t );\n\t }\n\t }\n\t }\n\t};\n\n/***/ },\n/* 58 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMLazyTree = __webpack_require__(31);\n\tvar Danger = __webpack_require__(192);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\t\n\tvar createMicrosoftUnsafeLocalFunction = __webpack_require__(67);\n\tvar setInnerHTML = __webpack_require__(51);\n\tvar setTextContent = __webpack_require__(117);\n\t\n\tfunction getNodeAfter(parentNode, node) {\n\t // Special case for text components, which return [open, close] comments\n\t // from getHostNode.\n\t if (Array.isArray(node)) {\n\t node = node[1];\n\t }\n\t return node ? node.nextSibling : parentNode.firstChild;\n\t}\n\t\n\t/**\n\t * Inserts `childNode` as a child of `parentNode` at the `index`.\n\t *\n\t * @param {DOMElement} parentNode Parent node in which to insert.\n\t * @param {DOMElement} childNode Child node to insert.\n\t * @param {number} index Index at which to insert the child.\n\t * @internal\n\t */\n\tvar insertChildAt = createMicrosoftUnsafeLocalFunction(function (parentNode, childNode, referenceNode) {\n\t // We rely exclusively on `insertBefore(node, null)` instead of also using\n\t // `appendChild(node)`. (Using `undefined` is not allowed by all browsers so\n\t // we are careful to use `null`.)\n\t parentNode.insertBefore(childNode, referenceNode);\n\t});\n\t\n\tfunction insertLazyTreeChildAt(parentNode, childTree, referenceNode) {\n\t DOMLazyTree.insertTreeBefore(parentNode, childTree, referenceNode);\n\t}\n\t\n\tfunction moveChild(parentNode, childNode, referenceNode) {\n\t if (Array.isArray(childNode)) {\n\t moveDelimitedText(parentNode, childNode[0], childNode[1], referenceNode);\n\t } else {\n\t insertChildAt(parentNode, childNode, referenceNode);\n\t }\n\t}\n\t\n\tfunction removeChild(parentNode, childNode) {\n\t if (Array.isArray(childNode)) {\n\t var closingComment = childNode[1];\n\t childNode = childNode[0];\n\t removeDelimitedText(parentNode, childNode, closingComment);\n\t parentNode.removeChild(closingComment);\n\t }\n\t parentNode.removeChild(childNode);\n\t}\n\t\n\tfunction moveDelimitedText(parentNode, openingComment, closingComment, referenceNode) {\n\t var node = openingComment;\n\t while (true) {\n\t var nextNode = node.nextSibling;\n\t insertChildAt(parentNode, node, referenceNode);\n\t if (node === closingComment) {\n\t break;\n\t }\n\t node = nextNode;\n\t }\n\t}\n\t\n\tfunction removeDelimitedText(parentNode, startNode, closingComment) {\n\t while (true) {\n\t var node = startNode.nextSibling;\n\t if (node === closingComment) {\n\t // The closing comment is removed by ReactMultiChild.\n\t break;\n\t } else {\n\t parentNode.removeChild(node);\n\t }\n\t }\n\t}\n\t\n\tfunction replaceDelimitedText(openingComment, closingComment, stringText) {\n\t var parentNode = openingComment.parentNode;\n\t var nodeAfterComment = openingComment.nextSibling;\n\t if (nodeAfterComment === closingComment) {\n\t // There are no text nodes between the opening and closing comments; insert\n\t // a new one if stringText isn't empty.\n\t if (stringText) {\n\t insertChildAt(parentNode, document.createTextNode(stringText), nodeAfterComment);\n\t }\n\t } else {\n\t if (stringText) {\n\t // Set the text content of the first node after the opening comment, and\n\t // remove all following nodes up until the closing comment.\n\t setTextContent(nodeAfterComment, stringText);\n\t removeDelimitedText(parentNode, nodeAfterComment, closingComment);\n\t } else {\n\t removeDelimitedText(parentNode, openingComment, closingComment);\n\t }\n\t }\n\t\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID,\n\t type: 'replace text',\n\t payload: stringText\n\t });\n\t }\n\t}\n\t\n\tvar dangerouslyReplaceNodeWithMarkup = Danger.dangerouslyReplaceNodeWithMarkup;\n\tif (false) {\n\t dangerouslyReplaceNodeWithMarkup = function dangerouslyReplaceNodeWithMarkup(oldChild, markup, prevInstance) {\n\t Danger.dangerouslyReplaceNodeWithMarkup(oldChild, markup);\n\t if (prevInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: prevInstance._debugID,\n\t type: 'replace with',\n\t payload: markup.toString()\n\t });\n\t } else {\n\t var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node);\n\t if (nextInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: nextInstance._debugID,\n\t type: 'mount',\n\t payload: markup.toString()\n\t });\n\t }\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * Operations for updating with DOM children.\n\t */\n\tvar DOMChildrenOperations = {\n\t\n\t dangerouslyReplaceNodeWithMarkup: dangerouslyReplaceNodeWithMarkup,\n\t\n\t replaceDelimitedText: replaceDelimitedText,\n\t\n\t /**\n\t * Updates a component's children by processing a series of updates. The\n\t * update configurations are each expected to have a `parentNode` property.\n\t *\n\t * @param {array<object>} updates List of update configurations.\n\t * @internal\n\t */\n\t processUpdates: function processUpdates(parentNode, updates) {\n\t if (false) {\n\t var parentNodeDebugID = ReactDOMComponentTree.getInstanceFromNode(parentNode)._debugID;\n\t }\n\t\n\t for (var k = 0; k < updates.length; k++) {\n\t var update = updates[k];\n\t switch (update.type) {\n\t case 'INSERT_MARKUP':\n\t insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode));\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: parentNodeDebugID,\n\t type: 'insert child',\n\t payload: { toIndex: update.toIndex, content: update.content.toString() }\n\t });\n\t }\n\t break;\n\t case 'MOVE_EXISTING':\n\t moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode));\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: parentNodeDebugID,\n\t type: 'move child',\n\t payload: { fromIndex: update.fromIndex, toIndex: update.toIndex }\n\t });\n\t }\n\t break;\n\t case 'SET_MARKUP':\n\t setInnerHTML(parentNode, update.content);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: parentNodeDebugID,\n\t type: 'replace children',\n\t payload: update.content.toString()\n\t });\n\t }\n\t break;\n\t case 'TEXT_CONTENT':\n\t setTextContent(parentNode, update.content);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: parentNodeDebugID,\n\t type: 'replace text',\n\t payload: update.content.toString()\n\t });\n\t }\n\t break;\n\t case 'REMOVE_NODE':\n\t removeChild(parentNode, update.fromNode);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: parentNodeDebugID,\n\t type: 'remove child',\n\t payload: { fromIndex: update.fromIndex }\n\t });\n\t }\n\t break;\n\t }\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = DOMChildrenOperations;\n\n/***/ },\n/* 59 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMNamespaces = {\n\t html: 'http://www.w3.org/1999/xhtml',\n\t mathml: 'http://www.w3.org/1998/Math/MathML',\n\t svg: 'http://www.w3.org/2000/svg'\n\t};\n\t\n\tmodule.exports = DOMNamespaces;\n\n/***/ },\n/* 60 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Injectable ordering of event plugins.\n\t */\n\tvar eventPluginOrder = null;\n\t\n\t/**\n\t * Injectable mapping from names to event plugin modules.\n\t */\n\tvar namesToPlugins = {};\n\t\n\t/**\n\t * Recomputes the plugin list using the injected plugins and plugin ordering.\n\t *\n\t * @private\n\t */\n\tfunction recomputePluginOrdering() {\n\t if (!eventPluginOrder) {\n\t // Wait until an `eventPluginOrder` is injected.\n\t return;\n\t }\n\t for (var pluginName in namesToPlugins) {\n\t var pluginModule = namesToPlugins[pluginName];\n\t var pluginIndex = eventPluginOrder.indexOf(pluginName);\n\t !(pluginIndex > -1) ? false ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.', pluginName) : _prodInvariant('96', pluginName) : void 0;\n\t if (EventPluginRegistry.plugins[pluginIndex]) {\n\t continue;\n\t }\n\t !pluginModule.extractEvents ? false ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.', pluginName) : _prodInvariant('97', pluginName) : void 0;\n\t EventPluginRegistry.plugins[pluginIndex] = pluginModule;\n\t var publishedEvents = pluginModule.eventTypes;\n\t for (var eventName in publishedEvents) {\n\t !publishEventForPlugin(publishedEvents[eventName], pluginModule, eventName) ? false ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : _prodInvariant('98', eventName, pluginName) : void 0;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Publishes an event so that it can be dispatched by the supplied plugin.\n\t *\n\t * @param {object} dispatchConfig Dispatch configuration for the event.\n\t * @param {object} PluginModule Plugin publishing the event.\n\t * @return {boolean} True if the event was successfully published.\n\t * @private\n\t */\n\tfunction publishEventForPlugin(dispatchConfig, pluginModule, eventName) {\n\t !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? false ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.', eventName) : _prodInvariant('99', eventName) : void 0;\n\t EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig;\n\t\n\t var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n\t if (phasedRegistrationNames) {\n\t for (var phaseName in phasedRegistrationNames) {\n\t if (phasedRegistrationNames.hasOwnProperty(phaseName)) {\n\t var phasedRegistrationName = phasedRegistrationNames[phaseName];\n\t publishRegistrationName(phasedRegistrationName, pluginModule, eventName);\n\t }\n\t }\n\t return true;\n\t } else if (dispatchConfig.registrationName) {\n\t publishRegistrationName(dispatchConfig.registrationName, pluginModule, eventName);\n\t return true;\n\t }\n\t return false;\n\t}\n\t\n\t/**\n\t * Publishes a registration name that is used to identify dispatched events and\n\t * can be used with `EventPluginHub.putListener` to register listeners.\n\t *\n\t * @param {string} registrationName Registration name to add.\n\t * @param {object} PluginModule Plugin publishing the event.\n\t * @private\n\t */\n\tfunction publishRegistrationName(registrationName, pluginModule, eventName) {\n\t !!EventPluginRegistry.registrationNameModules[registrationName] ? false ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.', registrationName) : _prodInvariant('100', registrationName) : void 0;\n\t EventPluginRegistry.registrationNameModules[registrationName] = pluginModule;\n\t EventPluginRegistry.registrationNameDependencies[registrationName] = pluginModule.eventTypes[eventName].dependencies;\n\t\n\t if (false) {\n\t var lowerCasedName = registrationName.toLowerCase();\n\t EventPluginRegistry.possibleRegistrationNames[lowerCasedName] = registrationName;\n\t\n\t if (registrationName === 'onDoubleClick') {\n\t EventPluginRegistry.possibleRegistrationNames.ondblclick = registrationName;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Registers plugins so that they can extract and dispatch events.\n\t *\n\t * @see {EventPluginHub}\n\t */\n\tvar EventPluginRegistry = {\n\t\n\t /**\n\t * Ordered list of injected plugins.\n\t */\n\t plugins: [],\n\t\n\t /**\n\t * Mapping from event name to dispatch config\n\t */\n\t eventNameDispatchConfigs: {},\n\t\n\t /**\n\t * Mapping from registration name to plugin module\n\t */\n\t registrationNameModules: {},\n\t\n\t /**\n\t * Mapping from registration name to event name\n\t */\n\t registrationNameDependencies: {},\n\t\n\t /**\n\t * Mapping from lowercase registration names to the properly cased version,\n\t * used to warn in the case of missing event handlers. Available\n\t * only in __DEV__.\n\t * @type {Object}\n\t */\n\t possibleRegistrationNames: false ? {} : null,\n\t // Trust the developer to only use possibleRegistrationNames in __DEV__\n\t\n\t /**\n\t * Injects an ordering of plugins (by plugin name). This allows the ordering\n\t * to be decoupled from injection of the actual plugins so that ordering is\n\t * always deterministic regardless of packaging, on-the-fly injection, etc.\n\t *\n\t * @param {array} InjectedEventPluginOrder\n\t * @internal\n\t * @see {EventPluginHub.injection.injectEventPluginOrder}\n\t */\n\t injectEventPluginOrder: function injectEventPluginOrder(injectedEventPluginOrder) {\n\t !!eventPluginOrder ? false ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.') : _prodInvariant('101') : void 0;\n\t // Clone the ordering so it cannot be dynamically mutated.\n\t eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);\n\t recomputePluginOrdering();\n\t },\n\t\n\t /**\n\t * Injects plugins to be used by `EventPluginHub`. The plugin names must be\n\t * in the ordering injected by `injectEventPluginOrder`.\n\t *\n\t * Plugins can be injected as part of page initialization or on-the-fly.\n\t *\n\t * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n\t * @internal\n\t * @see {EventPluginHub.injection.injectEventPluginsByName}\n\t */\n\t injectEventPluginsByName: function injectEventPluginsByName(injectedNamesToPlugins) {\n\t var isOrderingDirty = false;\n\t for (var pluginName in injectedNamesToPlugins) {\n\t if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n\t continue;\n\t }\n\t var pluginModule = injectedNamesToPlugins[pluginName];\n\t if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== pluginModule) {\n\t !!namesToPlugins[pluginName] ? false ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.', pluginName) : _prodInvariant('102', pluginName) : void 0;\n\t namesToPlugins[pluginName] = pluginModule;\n\t isOrderingDirty = true;\n\t }\n\t }\n\t if (isOrderingDirty) {\n\t recomputePluginOrdering();\n\t }\n\t },\n\t\n\t /**\n\t * Looks up the plugin for the supplied event.\n\t *\n\t * @param {object} event A synthetic event.\n\t * @return {?object} The plugin that created the supplied event.\n\t * @internal\n\t */\n\t getPluginModuleForEvent: function getPluginModuleForEvent(event) {\n\t var dispatchConfig = event.dispatchConfig;\n\t if (dispatchConfig.registrationName) {\n\t return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName] || null;\n\t }\n\t if (dispatchConfig.phasedRegistrationNames !== undefined) {\n\t // pulling phasedRegistrationNames out of dispatchConfig helps Flow see\n\t // that it is not undefined.\n\t var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n\t\n\t for (var phase in phasedRegistrationNames) {\n\t if (!phasedRegistrationNames.hasOwnProperty(phase)) {\n\t continue;\n\t }\n\t var pluginModule = EventPluginRegistry.registrationNameModules[phasedRegistrationNames[phase]];\n\t if (pluginModule) {\n\t return pluginModule;\n\t }\n\t }\n\t }\n\t return null;\n\t },\n\t\n\t /**\n\t * Exposed for unit testing.\n\t * @private\n\t */\n\t _resetEventPlugins: function _resetEventPlugins() {\n\t eventPluginOrder = null;\n\t for (var pluginName in namesToPlugins) {\n\t if (namesToPlugins.hasOwnProperty(pluginName)) {\n\t delete namesToPlugins[pluginName];\n\t }\n\t }\n\t EventPluginRegistry.plugins.length = 0;\n\t\n\t var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs;\n\t for (var eventName in eventNameDispatchConfigs) {\n\t if (eventNameDispatchConfigs.hasOwnProperty(eventName)) {\n\t delete eventNameDispatchConfigs[eventName];\n\t }\n\t }\n\t\n\t var registrationNameModules = EventPluginRegistry.registrationNameModules;\n\t for (var registrationName in registrationNameModules) {\n\t if (registrationNameModules.hasOwnProperty(registrationName)) {\n\t delete registrationNameModules[registrationName];\n\t }\n\t }\n\t\n\t if (false) {\n\t var possibleRegistrationNames = EventPluginRegistry.possibleRegistrationNames;\n\t for (var lowerCasedName in possibleRegistrationNames) {\n\t if (possibleRegistrationNames.hasOwnProperty(lowerCasedName)) {\n\t delete possibleRegistrationNames[lowerCasedName];\n\t }\n\t }\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = EventPluginRegistry;\n\n/***/ },\n/* 61 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactErrorUtils = __webpack_require__(65);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(5);\n\t\n\t/**\n\t * Injected dependencies:\n\t */\n\t\n\t/**\n\t * - `ComponentTree`: [required] Module that can convert between React instances\n\t * and actual node references.\n\t */\n\tvar ComponentTree;\n\tvar TreeTraversal;\n\tvar injection = {\n\t injectComponentTree: function injectComponentTree(Injected) {\n\t ComponentTree = Injected;\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.getNodeFromInstance && Injected.getInstanceFromNode, 'EventPluginUtils.injection.injectComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0;\n\t }\n\t },\n\t injectTreeTraversal: function injectTreeTraversal(Injected) {\n\t TreeTraversal = Injected;\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.isAncestor && Injected.getLowestCommonAncestor, 'EventPluginUtils.injection.injectTreeTraversal(...): Injected ' + 'module is missing isAncestor or getLowestCommonAncestor.') : void 0;\n\t }\n\t }\n\t};\n\t\n\tfunction isEndish(topLevelType) {\n\t return topLevelType === 'topMouseUp' || topLevelType === 'topTouchEnd' || topLevelType === 'topTouchCancel';\n\t}\n\t\n\tfunction isMoveish(topLevelType) {\n\t return topLevelType === 'topMouseMove' || topLevelType === 'topTouchMove';\n\t}\n\tfunction isStartish(topLevelType) {\n\t return topLevelType === 'topMouseDown' || topLevelType === 'topTouchStart';\n\t}\n\t\n\tvar validateEventDispatches;\n\tif (false) {\n\t validateEventDispatches = function validateEventDispatches(event) {\n\t var dispatchListeners = event._dispatchListeners;\n\t var dispatchInstances = event._dispatchInstances;\n\t\n\t var listenersIsArr = Array.isArray(dispatchListeners);\n\t var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;\n\t\n\t var instancesIsArr = Array.isArray(dispatchInstances);\n\t var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0;\n\t\n\t process.env.NODE_ENV !== 'production' ? warning(instancesIsArr === listenersIsArr && instancesLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : void 0;\n\t };\n\t}\n\t\n\t/**\n\t * Dispatch the event to the listener.\n\t * @param {SyntheticEvent} event SyntheticEvent to handle\n\t * @param {boolean} simulated If the event is simulated (changes exn behavior)\n\t * @param {function} listener Application-level callback\n\t * @param {*} inst Internal component instance\n\t */\n\tfunction executeDispatch(event, simulated, listener, inst) {\n\t var type = event.type || 'unknown-event';\n\t event.currentTarget = EventPluginUtils.getNodeFromInstance(inst);\n\t if (simulated) {\n\t ReactErrorUtils.invokeGuardedCallbackWithCatch(type, listener, event);\n\t } else {\n\t ReactErrorUtils.invokeGuardedCallback(type, listener, event);\n\t }\n\t event.currentTarget = null;\n\t}\n\t\n\t/**\n\t * Standard/simple iteration through an event's collected dispatches.\n\t */\n\tfunction executeDispatchesInOrder(event, simulated) {\n\t var dispatchListeners = event._dispatchListeners;\n\t var dispatchInstances = event._dispatchInstances;\n\t if (false) {\n\t validateEventDispatches(event);\n\t }\n\t if (Array.isArray(dispatchListeners)) {\n\t for (var i = 0; i < dispatchListeners.length; i++) {\n\t if (event.isPropagationStopped()) {\n\t break;\n\t }\n\t // Listeners and Instances are two parallel arrays that are always in sync.\n\t executeDispatch(event, simulated, dispatchListeners[i], dispatchInstances[i]);\n\t }\n\t } else if (dispatchListeners) {\n\t executeDispatch(event, simulated, dispatchListeners, dispatchInstances);\n\t }\n\t event._dispatchListeners = null;\n\t event._dispatchInstances = null;\n\t}\n\t\n\t/**\n\t * Standard/simple iteration through an event's collected dispatches, but stops\n\t * at the first dispatch execution returning true, and returns that id.\n\t *\n\t * @return {?string} id of the first dispatch execution who's listener returns\n\t * true, or null if no listener returned true.\n\t */\n\tfunction executeDispatchesInOrderStopAtTrueImpl(event) {\n\t var dispatchListeners = event._dispatchListeners;\n\t var dispatchInstances = event._dispatchInstances;\n\t if (false) {\n\t validateEventDispatches(event);\n\t }\n\t if (Array.isArray(dispatchListeners)) {\n\t for (var i = 0; i < dispatchListeners.length; i++) {\n\t if (event.isPropagationStopped()) {\n\t break;\n\t }\n\t // Listeners and Instances are two parallel arrays that are always in sync.\n\t if (dispatchListeners[i](event, dispatchInstances[i])) {\n\t return dispatchInstances[i];\n\t }\n\t }\n\t } else if (dispatchListeners) {\n\t if (dispatchListeners(event, dispatchInstances)) {\n\t return dispatchInstances;\n\t }\n\t }\n\t return null;\n\t}\n\t\n\t/**\n\t * @see executeDispatchesInOrderStopAtTrueImpl\n\t */\n\tfunction executeDispatchesInOrderStopAtTrue(event) {\n\t var ret = executeDispatchesInOrderStopAtTrueImpl(event);\n\t event._dispatchInstances = null;\n\t event._dispatchListeners = null;\n\t return ret;\n\t}\n\t\n\t/**\n\t * Execution of a \"direct\" dispatch - there must be at most one dispatch\n\t * accumulated on the event or it is considered an error. It doesn't really make\n\t * sense for an event with multiple dispatches (bubbled) to keep track of the\n\t * return values at each dispatch execution, but it does tend to make sense when\n\t * dealing with \"direct\" dispatches.\n\t *\n\t * @return {*} The return value of executing the single dispatch.\n\t */\n\tfunction executeDirectDispatch(event) {\n\t if (false) {\n\t validateEventDispatches(event);\n\t }\n\t var dispatchListener = event._dispatchListeners;\n\t var dispatchInstance = event._dispatchInstances;\n\t !!Array.isArray(dispatchListener) ? false ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : _prodInvariant('103') : void 0;\n\t event.currentTarget = dispatchListener ? EventPluginUtils.getNodeFromInstance(dispatchInstance) : null;\n\t var res = dispatchListener ? dispatchListener(event) : null;\n\t event.currentTarget = null;\n\t event._dispatchListeners = null;\n\t event._dispatchInstances = null;\n\t return res;\n\t}\n\t\n\t/**\n\t * @param {SyntheticEvent} event\n\t * @return {boolean} True iff number of dispatches accumulated is greater than 0.\n\t */\n\tfunction hasDispatches(event) {\n\t return !!event._dispatchListeners;\n\t}\n\t\n\t/**\n\t * General utilities that are useful in creating custom Event Plugins.\n\t */\n\tvar EventPluginUtils = {\n\t isEndish: isEndish,\n\t isMoveish: isMoveish,\n\t isStartish: isStartish,\n\t\n\t executeDirectDispatch: executeDirectDispatch,\n\t executeDispatchesInOrder: executeDispatchesInOrder,\n\t executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue,\n\t hasDispatches: hasDispatches,\n\t\n\t getInstanceFromNode: function getInstanceFromNode(node) {\n\t return ComponentTree.getInstanceFromNode(node);\n\t },\n\t getNodeFromInstance: function getNodeFromInstance(node) {\n\t return ComponentTree.getNodeFromInstance(node);\n\t },\n\t isAncestor: function isAncestor(a, b) {\n\t return TreeTraversal.isAncestor(a, b);\n\t },\n\t getLowestCommonAncestor: function getLowestCommonAncestor(a, b) {\n\t return TreeTraversal.getLowestCommonAncestor(a, b);\n\t },\n\t getParentInstance: function getParentInstance(inst) {\n\t return TreeTraversal.getParentInstance(inst);\n\t },\n\t traverseTwoPhase: function traverseTwoPhase(target, fn, arg) {\n\t return TreeTraversal.traverseTwoPhase(target, fn, arg);\n\t },\n\t traverseEnterLeave: function traverseEnterLeave(from, to, fn, argFrom, argTo) {\n\t return TreeTraversal.traverseEnterLeave(from, to, fn, argFrom, argTo);\n\t },\n\t\n\t injection: injection\n\t};\n\t\n\tmodule.exports = EventPluginUtils;\n\n/***/ },\n/* 62 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Escape and wrap key so it is safe to use as a reactid\n\t *\n\t * @param {string} key to be escaped.\n\t * @return {string} the escaped key.\n\t */\n\t\n\tfunction escape(key) {\n\t var escapeRegex = /[=:]/g;\n\t var escaperLookup = {\n\t '=': '=0',\n\t ':': '=2'\n\t };\n\t var escapedString = ('' + key).replace(escapeRegex, function (match) {\n\t return escaperLookup[match];\n\t });\n\t\n\t return '$' + escapedString;\n\t}\n\t\n\t/**\n\t * Unescape and unwrap key for human-readable display\n\t *\n\t * @param {string} key to unescape.\n\t * @return {string} the unescaped key.\n\t */\n\tfunction unescape(key) {\n\t var unescapeRegex = /(=0|=2)/g;\n\t var unescaperLookup = {\n\t '=0': '=',\n\t '=2': ':'\n\t };\n\t var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1);\n\t\n\t return ('' + keySubstring).replace(unescapeRegex, function (match) {\n\t return unescaperLookup[match];\n\t });\n\t}\n\t\n\tvar KeyEscapeUtils = {\n\t escape: escape,\n\t unescape: unescape\n\t};\n\t\n\tmodule.exports = KeyEscapeUtils;\n\n/***/ },\n/* 63 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar React = __webpack_require__(20);\n\tvar ReactPropTypesSecret = __webpack_require__(220);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar hasReadOnlyValue = {\n\t 'button': true,\n\t 'checkbox': true,\n\t 'image': true,\n\t 'hidden': true,\n\t 'radio': true,\n\t 'reset': true,\n\t 'submit': true\n\t};\n\t\n\tfunction _assertSingleLink(inputProps) {\n\t !(inputProps.checkedLink == null || inputProps.valueLink == null) ? false ? invariant(false, 'Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don\\'t want to use valueLink and vice versa.') : _prodInvariant('87') : void 0;\n\t}\n\tfunction _assertValueLink(inputProps) {\n\t _assertSingleLink(inputProps);\n\t !(inputProps.value == null && inputProps.onChange == null) ? false ? invariant(false, 'Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don\\'t want to use valueLink.') : _prodInvariant('88') : void 0;\n\t}\n\t\n\tfunction _assertCheckedLink(inputProps) {\n\t _assertSingleLink(inputProps);\n\t !(inputProps.checked == null && inputProps.onChange == null) ? false ? invariant(false, 'Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don\\'t want to use checkedLink') : _prodInvariant('89') : void 0;\n\t}\n\t\n\tvar propTypes = {\n\t value: function value(props, propName, componentName) {\n\t if (!props[propName] || hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled) {\n\t return null;\n\t }\n\t return new Error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n\t },\n\t checked: function checked(props, propName, componentName) {\n\t if (!props[propName] || props.onChange || props.readOnly || props.disabled) {\n\t return null;\n\t }\n\t return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n\t },\n\t onChange: React.PropTypes.func\n\t};\n\t\n\tvar loggedTypeFailures = {};\n\tfunction getDeclarationErrorAddendum(owner) {\n\t if (owner) {\n\t var name = owner.getName();\n\t if (name) {\n\t return ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t return '';\n\t}\n\t\n\t/**\n\t * Provide a linked `value` attribute for controlled forms. You should not use\n\t * this outside of the ReactDOM controlled form components.\n\t */\n\tvar LinkedValueUtils = {\n\t checkPropTypes: function checkPropTypes(tagName, props, owner) {\n\t for (var propName in propTypes) {\n\t if (propTypes.hasOwnProperty(propName)) {\n\t var error = propTypes[propName](props, propName, tagName, 'prop', null, ReactPropTypesSecret);\n\t }\n\t if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n\t // Only monitor this failure once because there tends to be a lot of the\n\t // same error.\n\t loggedTypeFailures[error.message] = true;\n\t\n\t var addendum = getDeclarationErrorAddendum(owner);\n\t false ? warning(false, 'Failed form propType: %s%s', error.message, addendum) : void 0;\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * @param {object} inputProps Props for form component\n\t * @return {*} current value of the input either from value prop or link.\n\t */\n\t getValue: function getValue(inputProps) {\n\t if (inputProps.valueLink) {\n\t _assertValueLink(inputProps);\n\t return inputProps.valueLink.value;\n\t }\n\t return inputProps.value;\n\t },\n\t\n\t /**\n\t * @param {object} inputProps Props for form component\n\t * @return {*} current checked status of the input either from checked prop\n\t * or link.\n\t */\n\t getChecked: function getChecked(inputProps) {\n\t if (inputProps.checkedLink) {\n\t _assertCheckedLink(inputProps);\n\t return inputProps.checkedLink.value;\n\t }\n\t return inputProps.checked;\n\t },\n\t\n\t /**\n\t * @param {object} inputProps Props for form component\n\t * @param {SyntheticEvent} event change event to handle\n\t */\n\t executeOnChange: function executeOnChange(inputProps, event) {\n\t if (inputProps.valueLink) {\n\t _assertValueLink(inputProps);\n\t return inputProps.valueLink.requestChange(event.target.value);\n\t } else if (inputProps.checkedLink) {\n\t _assertCheckedLink(inputProps);\n\t return inputProps.checkedLink.requestChange(event.target.checked);\n\t } else if (inputProps.onChange) {\n\t return inputProps.onChange.call(undefined, event);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = LinkedValueUtils;\n\n/***/ },\n/* 64 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\tvar injected = false;\n\t\n\tvar ReactComponentEnvironment = {\n\t\n\t /**\n\t * Optionally injectable hook for swapping out mount images in the middle of\n\t * the tree.\n\t */\n\t replaceNodeWithMarkup: null,\n\t\n\t /**\n\t * Optionally injectable hook for processing a queue of child updates. Will\n\t * later move into MultiChildComponents.\n\t */\n\t processChildrenUpdates: null,\n\t\n\t injection: {\n\t injectEnvironment: function injectEnvironment(environment) {\n\t !!injected ? false ? invariant(false, 'ReactCompositeComponent: injectEnvironment() can only be called once.') : _prodInvariant('104') : void 0;\n\t ReactComponentEnvironment.replaceNodeWithMarkup = environment.replaceNodeWithMarkup;\n\t ReactComponentEnvironment.processChildrenUpdates = environment.processChildrenUpdates;\n\t injected = true;\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactComponentEnvironment;\n\n/***/ },\n/* 65 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar caughtError = null;\n\t\n\t/**\n\t * Call a function while guarding against errors that happens within it.\n\t *\n\t * @param {String} name of the guard to use for logging or debugging\n\t * @param {Function} func The function to invoke\n\t * @param {*} a First argument\n\t * @param {*} b Second argument\n\t */\n\tfunction invokeGuardedCallback(name, func, a) {\n\t try {\n\t func(a);\n\t } catch (x) {\n\t if (caughtError === null) {\n\t caughtError = x;\n\t }\n\t }\n\t}\n\t\n\tvar ReactErrorUtils = {\n\t invokeGuardedCallback: invokeGuardedCallback,\n\t\n\t /**\n\t * Invoked by ReactTestUtils.Simulate so that any errors thrown by the event\n\t * handler are sure to be rethrown by rethrowCaughtError.\n\t */\n\t invokeGuardedCallbackWithCatch: invokeGuardedCallback,\n\t\n\t /**\n\t * During execution of guarded functions we will capture the first error which\n\t * we will rethrow to be handled by the top level error handler.\n\t */\n\t rethrowCaughtError: function rethrowCaughtError() {\n\t if (caughtError) {\n\t var error = caughtError;\n\t caughtError = null;\n\t throw error;\n\t }\n\t }\n\t};\n\t\n\tif (false) {\n\t /**\n\t * To help development we can get better devtools integration by simulating a\n\t * real browser event.\n\t */\n\t if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {\n\t var fakeNode = document.createElement('react');\n\t ReactErrorUtils.invokeGuardedCallback = function (name, func, a) {\n\t var boundFunc = func.bind(null, a);\n\t var evtType = 'react-' + name;\n\t fakeNode.addEventListener(evtType, boundFunc, false);\n\t var evt = document.createEvent('Event');\n\t // $FlowFixMe https://github.com/facebook/flow/issues/2336\n\t evt.initEvent(evtType, false, false);\n\t fakeNode.dispatchEvent(evt);\n\t fakeNode.removeEventListener(evtType, boundFunc, false);\n\t };\n\t }\n\t}\n\t\n\tmodule.exports = ReactErrorUtils;\n\n/***/ },\n/* 66 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\tvar ReactInstanceMap = __webpack_require__(33);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\tvar ReactUpdates = __webpack_require__(15);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(5);\n\t\n\tfunction enqueueUpdate(internalInstance) {\n\t ReactUpdates.enqueueUpdate(internalInstance);\n\t}\n\t\n\tfunction formatUnexpectedArgument(arg) {\n\t var type = typeof arg === 'undefined' ? 'undefined' : _typeof(arg);\n\t if (type !== 'object') {\n\t return type;\n\t }\n\t var displayName = arg.constructor && arg.constructor.name || type;\n\t var keys = Object.keys(arg);\n\t if (keys.length > 0 && keys.length < 20) {\n\t return displayName + ' (keys: ' + keys.join(', ') + ')';\n\t }\n\t return displayName;\n\t}\n\t\n\tfunction getInternalInstanceReadyForUpdate(publicInstance, callerName) {\n\t var internalInstance = ReactInstanceMap.get(publicInstance);\n\t if (!internalInstance) {\n\t if (false) {\n\t var ctor = publicInstance.constructor;\n\t // Only warn when we have a callerName. Otherwise we should be silent.\n\t // We're probably calling from enqueueCallback. We don't want to warn\n\t // there because we already warned for the corresponding lifecycle method.\n\t process.env.NODE_ENV !== 'production' ? warning(!callerName, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, ctor && (ctor.displayName || ctor.name) || 'ReactClass') : void 0;\n\t }\n\t return null;\n\t }\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition (such as ' + 'within `render` or another component\\'s constructor). Render methods ' + 'should be a pure function of props and state; constructor ' + 'side-effects are an anti-pattern, but can be moved to ' + '`componentWillMount`.', callerName) : void 0;\n\t }\n\t\n\t return internalInstance;\n\t}\n\t\n\t/**\n\t * ReactUpdateQueue allows for state updates to be scheduled into a later\n\t * reconciliation step.\n\t */\n\tvar ReactUpdateQueue = {\n\t\n\t /**\n\t * Checks whether or not this composite component is mounted.\n\t * @param {ReactClass} publicInstance The instance we want to test.\n\t * @return {boolean} True if mounted, false otherwise.\n\t * @protected\n\t * @final\n\t */\n\t isMounted: function isMounted(publicInstance) {\n\t if (false) {\n\t var owner = ReactCurrentOwner.current;\n\t if (owner !== null) {\n\t process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : void 0;\n\t owner._warnedAboutRefsInRender = true;\n\t }\n\t }\n\t var internalInstance = ReactInstanceMap.get(publicInstance);\n\t if (internalInstance) {\n\t // During componentWillMount and render this will still be null but after\n\t // that will always render to something. At least for now. So we can use\n\t // this hack.\n\t return !!internalInstance._renderedComponent;\n\t } else {\n\t return false;\n\t }\n\t },\n\t\n\t /**\n\t * Enqueue a callback that will be executed after all the pending updates\n\t * have processed.\n\t *\n\t * @param {ReactClass} publicInstance The instance to use as `this` context.\n\t * @param {?function} callback Called after state is updated.\n\t * @param {string} callerName Name of the calling function in the public API.\n\t * @internal\n\t */\n\t enqueueCallback: function enqueueCallback(publicInstance, callback, callerName) {\n\t ReactUpdateQueue.validateCallback(callback, callerName);\n\t var internalInstance = getInternalInstanceReadyForUpdate(publicInstance);\n\t\n\t // Previously we would throw an error if we didn't have an internal\n\t // instance. Since we want to make it a no-op instead, we mirror the same\n\t // behavior we have in other enqueue* methods.\n\t // We also need to ignore callbacks in componentWillMount. See\n\t // enqueueUpdates.\n\t if (!internalInstance) {\n\t return null;\n\t }\n\t\n\t if (internalInstance._pendingCallbacks) {\n\t internalInstance._pendingCallbacks.push(callback);\n\t } else {\n\t internalInstance._pendingCallbacks = [callback];\n\t }\n\t // TODO: The callback here is ignored when setState is called from\n\t // componentWillMount. Either fix it or disallow doing so completely in\n\t // favor of getInitialState. Alternatively, we can disallow\n\t // componentWillMount during server-side rendering.\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t enqueueCallbackInternal: function enqueueCallbackInternal(internalInstance, callback) {\n\t if (internalInstance._pendingCallbacks) {\n\t internalInstance._pendingCallbacks.push(callback);\n\t } else {\n\t internalInstance._pendingCallbacks = [callback];\n\t }\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t /**\n\t * Forces an update. This should only be invoked when it is known with\n\t * certainty that we are **not** in a DOM transaction.\n\t *\n\t * You may want to call this when you know that some deeper aspect of the\n\t * component's state has changed but `setState` was not called.\n\t *\n\t * This will not invoke `shouldComponentUpdate`, but it will invoke\n\t * `componentWillUpdate` and `componentDidUpdate`.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @internal\n\t */\n\t enqueueForceUpdate: function enqueueForceUpdate(publicInstance) {\n\t var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'forceUpdate');\n\t\n\t if (!internalInstance) {\n\t return;\n\t }\n\t\n\t internalInstance._pendingForceUpdate = true;\n\t\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t /**\n\t * Replaces all of the state. Always use this or `setState` to mutate state.\n\t * You should treat `this.state` as immutable.\n\t *\n\t * There is no guarantee that `this.state` will be immediately updated, so\n\t * accessing `this.state` after calling this method may return the old value.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object} completeState Next state.\n\t * @internal\n\t */\n\t enqueueReplaceState: function enqueueReplaceState(publicInstance, completeState) {\n\t var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceState');\n\t\n\t if (!internalInstance) {\n\t return;\n\t }\n\t\n\t internalInstance._pendingStateQueue = [completeState];\n\t internalInstance._pendingReplaceState = true;\n\t\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t /**\n\t * Sets a subset of the state. This only exists because _pendingState is\n\t * internal. This provides a merging strategy that is not available to deep\n\t * properties which is confusing. TODO: Expose pendingState or don't use it\n\t * during the merge.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object} partialState Next partial state to be merged with state.\n\t * @internal\n\t */\n\t enqueueSetState: function enqueueSetState(publicInstance, partialState) {\n\t if (false) {\n\t ReactInstrumentation.debugTool.onSetState();\n\t process.env.NODE_ENV !== 'production' ? warning(partialState != null, 'setState(...): You passed an undefined or null state object; ' + 'instead, use forceUpdate().') : void 0;\n\t }\n\t\n\t var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'setState');\n\t\n\t if (!internalInstance) {\n\t return;\n\t }\n\t\n\t var queue = internalInstance._pendingStateQueue || (internalInstance._pendingStateQueue = []);\n\t queue.push(partialState);\n\t\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t enqueueElementInternal: function enqueueElementInternal(internalInstance, nextElement, nextContext) {\n\t internalInstance._pendingElement = nextElement;\n\t // TODO: introduce _pendingContext instead of setting it directly.\n\t internalInstance._context = nextContext;\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t validateCallback: function validateCallback(callback, callerName) {\n\t !(!callback || typeof callback === 'function') ? false ? invariant(false, '%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.', callerName, formatUnexpectedArgument(callback)) : _prodInvariant('122', callerName, formatUnexpectedArgument(callback)) : void 0;\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactUpdateQueue;\n\n/***/ },\n/* 67 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t/* globals MSApp */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Create a function which has 'unsafe' privileges (required by windows8 apps)\n\t */\n\t\n\tvar createMicrosoftUnsafeLocalFunction = function createMicrosoftUnsafeLocalFunction(func) {\n\t if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {\n\t return function (arg0, arg1, arg2, arg3) {\n\t MSApp.execUnsafeLocalFunction(function () {\n\t return func(arg0, arg1, arg2, arg3);\n\t });\n\t };\n\t } else {\n\t return func;\n\t }\n\t};\n\t\n\tmodule.exports = createMicrosoftUnsafeLocalFunction;\n\n/***/ },\n/* 68 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * `charCode` represents the actual \"character code\" and is safe to use with\n\t * `String.fromCharCode`. As such, only keys that correspond to printable\n\t * characters produce a valid `charCode`, the only exception to this is Enter.\n\t * The Tab-key is considered non-printable and does not have a `charCode`,\n\t * presumably because it does not produce a tab-character in browsers.\n\t *\n\t * @param {object} nativeEvent Native browser event.\n\t * @return {number} Normalized `charCode` property.\n\t */\n\t\n\tfunction getEventCharCode(nativeEvent) {\n\t var charCode;\n\t var keyCode = nativeEvent.keyCode;\n\t\n\t if ('charCode' in nativeEvent) {\n\t charCode = nativeEvent.charCode;\n\t\n\t // FF does not set `charCode` for the Enter-key, check against `keyCode`.\n\t if (charCode === 0 && keyCode === 13) {\n\t charCode = 13;\n\t }\n\t } else {\n\t // IE8 does not implement `charCode`, but `keyCode` has the correct value.\n\t charCode = keyCode;\n\t }\n\t\n\t // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.\n\t // Must not discard the (non-)printable Enter-key.\n\t if (charCode >= 32 || charCode === 13) {\n\t return charCode;\n\t }\n\t\n\t return 0;\n\t}\n\t\n\tmodule.exports = getEventCharCode;\n\n/***/ },\n/* 69 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Translation from modifier key to the associated property in the event.\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers\n\t */\n\t\n\tvar modifierKeyToProp = {\n\t 'Alt': 'altKey',\n\t 'Control': 'ctrlKey',\n\t 'Meta': 'metaKey',\n\t 'Shift': 'shiftKey'\n\t};\n\t\n\t// IE8 does not implement getModifierState so we simply map it to the only\n\t// modifier keys exposed by the event itself, does not support Lock-keys.\n\t// Currently, all major browsers except Chrome seems to support Lock-keys.\n\tfunction modifierStateGetter(keyArg) {\n\t var syntheticEvent = this;\n\t var nativeEvent = syntheticEvent.nativeEvent;\n\t if (nativeEvent.getModifierState) {\n\t return nativeEvent.getModifierState(keyArg);\n\t }\n\t var keyProp = modifierKeyToProp[keyArg];\n\t return keyProp ? !!nativeEvent[keyProp] : false;\n\t}\n\t\n\tfunction getEventModifierState(nativeEvent) {\n\t return modifierStateGetter;\n\t}\n\t\n\tmodule.exports = getEventModifierState;\n\n/***/ },\n/* 70 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Gets the target node from a native browser event by accounting for\n\t * inconsistencies in browser DOM APIs.\n\t *\n\t * @param {object} nativeEvent Native browser event.\n\t * @return {DOMEventTarget} Target node.\n\t */\n\t\n\tfunction getEventTarget(nativeEvent) {\n\t var target = nativeEvent.target || nativeEvent.srcElement || window;\n\t\n\t // Normalize SVG <use> element events #4963\n\t if (target.correspondingUseElement) {\n\t target = target.correspondingUseElement;\n\t }\n\t\n\t // Safari may fire events on text nodes (Node.TEXT_NODE is 3).\n\t // @see http://www.quirksmode.org/js/events_properties.html\n\t return target.nodeType === 3 ? target.parentNode : target;\n\t}\n\t\n\tmodule.exports = getEventTarget;\n\n/***/ },\n/* 71 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\t\n\tvar useHasFeature;\n\tif (ExecutionEnvironment.canUseDOM) {\n\t useHasFeature = document.implementation && document.implementation.hasFeature &&\n\t // always returns true in newer browsers as per the standard.\n\t // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature\n\t document.implementation.hasFeature('', '') !== true;\n\t}\n\t\n\t/**\n\t * Checks if an event is supported in the current execution environment.\n\t *\n\t * NOTE: This will not work correctly for non-generic events such as `change`,\n\t * `reset`, `load`, `error`, and `select`.\n\t *\n\t * Borrows from Modernizr.\n\t *\n\t * @param {string} eventNameSuffix Event name, e.g. \"click\".\n\t * @param {?boolean} capture Check if the capture phase is supported.\n\t * @return {boolean} True if the event is supported.\n\t * @internal\n\t * @license Modernizr 3.0.0pre (Custom Build) | MIT\n\t */\n\tfunction isEventSupported(eventNameSuffix, capture) {\n\t if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) {\n\t return false;\n\t }\n\t\n\t var eventName = 'on' + eventNameSuffix;\n\t var isSupported = eventName in document;\n\t\n\t if (!isSupported) {\n\t var element = document.createElement('div');\n\t element.setAttribute(eventName, 'return;');\n\t isSupported = typeof element[eventName] === 'function';\n\t }\n\t\n\t if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n\t // This is the only way to test support for the `wheel` event in IE9+.\n\t isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n\t }\n\t\n\t return isSupported;\n\t}\n\t\n\tmodule.exports = isEventSupported;\n\n/***/ },\n/* 72 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Given a `prevElement` and `nextElement`, determines if the existing\n\t * instance should be updated as opposed to being destroyed or replaced by a new\n\t * instance. Both arguments are elements. This ensures that this logic can\n\t * operate on stateless trees without any backing instance.\n\t *\n\t * @param {?object} prevElement\n\t * @param {?object} nextElement\n\t * @return {boolean} True if the existing instance should be updated.\n\t * @protected\n\t */\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tfunction shouldUpdateReactComponent(prevElement, nextElement) {\n\t var prevEmpty = prevElement === null || prevElement === false;\n\t var nextEmpty = nextElement === null || nextElement === false;\n\t if (prevEmpty || nextEmpty) {\n\t return prevEmpty === nextEmpty;\n\t }\n\t\n\t var prevType = typeof prevElement === 'undefined' ? 'undefined' : _typeof(prevElement);\n\t var nextType = typeof nextElement === 'undefined' ? 'undefined' : _typeof(nextElement);\n\t if (prevType === 'string' || prevType === 'number') {\n\t return nextType === 'string' || nextType === 'number';\n\t } else {\n\t return nextType === 'object' && prevElement.type === nextElement.type && prevElement.key === nextElement.key;\n\t }\n\t}\n\t\n\tmodule.exports = shouldUpdateReactComponent;\n\n/***/ },\n/* 73 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar emptyFunction = __webpack_require__(19);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar validateDOMNesting = emptyFunction;\n\t\n\tif (false) {\n\t // This validation code was written based on the HTML5 parsing spec:\n\t // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n\t //\n\t // Note: this does not catch all invalid nesting, nor does it try to (as it's\n\t // not clear what practical benefit doing so provides); instead, we warn only\n\t // for cases where the parser will give a parse tree differing from what React\n\t // intended. For example, <b><div></div></b> is invalid but we don't warn\n\t // because it still parses correctly; we do warn for other cases like nested\n\t // <p> tags where the beginning of the second element implicitly closes the\n\t // first, causing a confusing mess.\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#special\n\t var specialTags = ['address', 'applet', 'area', 'article', 'aside', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'button', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'iframe', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'main', 'marquee', 'menu', 'menuitem', 'meta', 'nav', 'noembed', 'noframes', 'noscript', 'object', 'ol', 'p', 'param', 'plaintext', 'pre', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'wbr', 'xmp'];\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n\t var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template',\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point\n\t // TODO: Distinguish by namespace here -- for <title>, including it here\n\t // errs on the side of fewer warnings\n\t 'foreignObject', 'desc', 'title'];\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope\n\t var buttonScopeTags = inScopeTags.concat(['button']);\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags\n\t var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];\n\t\n\t var emptyAncestorInfo = {\n\t current: null,\n\t\n\t formTag: null,\n\t aTagInScope: null,\n\t buttonTagInScope: null,\n\t nobrTagInScope: null,\n\t pTagInButtonScope: null,\n\t\n\t listItemTagAutoclosing: null,\n\t dlItemTagAutoclosing: null\n\t };\n\t\n\t var updatedAncestorInfo = function updatedAncestorInfo(oldInfo, tag, instance) {\n\t var ancestorInfo = _assign({}, oldInfo || emptyAncestorInfo);\n\t var info = { tag: tag, instance: instance };\n\t\n\t if (inScopeTags.indexOf(tag) !== -1) {\n\t ancestorInfo.aTagInScope = null;\n\t ancestorInfo.buttonTagInScope = null;\n\t ancestorInfo.nobrTagInScope = null;\n\t }\n\t if (buttonScopeTags.indexOf(tag) !== -1) {\n\t ancestorInfo.pTagInButtonScope = null;\n\t }\n\t\n\t // See rules for 'li', 'dd', 'dt' start tags in\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n\t if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {\n\t ancestorInfo.listItemTagAutoclosing = null;\n\t ancestorInfo.dlItemTagAutoclosing = null;\n\t }\n\t\n\t ancestorInfo.current = info;\n\t\n\t if (tag === 'form') {\n\t ancestorInfo.formTag = info;\n\t }\n\t if (tag === 'a') {\n\t ancestorInfo.aTagInScope = info;\n\t }\n\t if (tag === 'button') {\n\t ancestorInfo.buttonTagInScope = info;\n\t }\n\t if (tag === 'nobr') {\n\t ancestorInfo.nobrTagInScope = info;\n\t }\n\t if (tag === 'p') {\n\t ancestorInfo.pTagInButtonScope = info;\n\t }\n\t if (tag === 'li') {\n\t ancestorInfo.listItemTagAutoclosing = info;\n\t }\n\t if (tag === 'dd' || tag === 'dt') {\n\t ancestorInfo.dlItemTagAutoclosing = info;\n\t }\n\t\n\t return ancestorInfo;\n\t };\n\t\n\t /**\n\t * Returns whether\n\t */\n\t var isTagValidWithParent = function isTagValidWithParent(tag, parentTag) {\n\t // First, let's check if we're in an unusual parsing mode...\n\t switch (parentTag) {\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect\n\t case 'select':\n\t return tag === 'option' || tag === 'optgroup' || tag === '#text';\n\t case 'optgroup':\n\t return tag === 'option' || tag === '#text';\n\t // Strictly speaking, seeing an <option> doesn't mean we're in a <select>\n\t // but\n\t case 'option':\n\t return tag === '#text';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption\n\t // No special behavior since these rules fall back to \"in body\" mode for\n\t // all except special table nodes which cause bad parsing behavior anyway.\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr\n\t case 'tr':\n\t return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody\n\t case 'tbody':\n\t case 'thead':\n\t case 'tfoot':\n\t return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup\n\t case 'colgroup':\n\t return tag === 'col' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable\n\t case 'table':\n\t return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead\n\t case 'head':\n\t return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element\n\t case 'html':\n\t return tag === 'head' || tag === 'body';\n\t case '#document':\n\t return tag === 'html';\n\t }\n\t\n\t // Probably in the \"in body\" parsing mode, so we outlaw only tag combos\n\t // where the parsing rules cause implicit opens or closes to be added.\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n\t switch (tag) {\n\t case 'h1':\n\t case 'h2':\n\t case 'h3':\n\t case 'h4':\n\t case 'h5':\n\t case 'h6':\n\t return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';\n\t\n\t case 'rp':\n\t case 'rt':\n\t return impliedEndTags.indexOf(parentTag) === -1;\n\t\n\t case 'body':\n\t case 'caption':\n\t case 'col':\n\t case 'colgroup':\n\t case 'frame':\n\t case 'head':\n\t case 'html':\n\t case 'tbody':\n\t case 'td':\n\t case 'tfoot':\n\t case 'th':\n\t case 'thead':\n\t case 'tr':\n\t // These tags are only valid with a few parents that have special child\n\t // parsing rules -- if we're down here, then none of those matched and\n\t // so we allow it only if we don't know what the parent is, as all other\n\t // cases are invalid.\n\t return parentTag == null;\n\t }\n\t\n\t return true;\n\t };\n\t\n\t /**\n\t * Returns whether\n\t */\n\t var findInvalidAncestorForTag = function findInvalidAncestorForTag(tag, ancestorInfo) {\n\t switch (tag) {\n\t case 'address':\n\t case 'article':\n\t case 'aside':\n\t case 'blockquote':\n\t case 'center':\n\t case 'details':\n\t case 'dialog':\n\t case 'dir':\n\t case 'div':\n\t case 'dl':\n\t case 'fieldset':\n\t case 'figcaption':\n\t case 'figure':\n\t case 'footer':\n\t case 'header':\n\t case 'hgroup':\n\t case 'main':\n\t case 'menu':\n\t case 'nav':\n\t case 'ol':\n\t case 'p':\n\t case 'section':\n\t case 'summary':\n\t case 'ul':\n\t\n\t case 'pre':\n\t case 'listing':\n\t\n\t case 'table':\n\t\n\t case 'hr':\n\t\n\t case 'xmp':\n\t\n\t case 'h1':\n\t case 'h2':\n\t case 'h3':\n\t case 'h4':\n\t case 'h5':\n\t case 'h6':\n\t return ancestorInfo.pTagInButtonScope;\n\t\n\t case 'form':\n\t return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;\n\t\n\t case 'li':\n\t return ancestorInfo.listItemTagAutoclosing;\n\t\n\t case 'dd':\n\t case 'dt':\n\t return ancestorInfo.dlItemTagAutoclosing;\n\t\n\t case 'button':\n\t return ancestorInfo.buttonTagInScope;\n\t\n\t case 'a':\n\t // Spec says something about storing a list of markers, but it sounds\n\t // equivalent to this check.\n\t return ancestorInfo.aTagInScope;\n\t\n\t case 'nobr':\n\t return ancestorInfo.nobrTagInScope;\n\t }\n\t\n\t return null;\n\t };\n\t\n\t /**\n\t * Given a ReactCompositeComponent instance, return a list of its recursive\n\t * owners, starting at the root and ending with the instance itself.\n\t */\n\t var findOwnerStack = function findOwnerStack(instance) {\n\t if (!instance) {\n\t return [];\n\t }\n\t\n\t var stack = [];\n\t do {\n\t stack.push(instance);\n\t } while (instance = instance._currentElement._owner);\n\t stack.reverse();\n\t return stack;\n\t };\n\t\n\t var didWarn = {};\n\t\n\t validateDOMNesting = function validateDOMNesting(childTag, childText, childInstance, ancestorInfo) {\n\t ancestorInfo = ancestorInfo || emptyAncestorInfo;\n\t var parentInfo = ancestorInfo.current;\n\t var parentTag = parentInfo && parentInfo.tag;\n\t\n\t if (childText != null) {\n\t process.env.NODE_ENV !== 'production' ? warning(childTag == null, 'validateDOMNesting: when childText is passed, childTag should be null') : void 0;\n\t childTag = '#text';\n\t }\n\t\n\t var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;\n\t var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);\n\t var problematic = invalidParent || invalidAncestor;\n\t\n\t if (problematic) {\n\t var ancestorTag = problematic.tag;\n\t var ancestorInstance = problematic.instance;\n\t\n\t var childOwner = childInstance && childInstance._currentElement._owner;\n\t var ancestorOwner = ancestorInstance && ancestorInstance._currentElement._owner;\n\t\n\t var childOwners = findOwnerStack(childOwner);\n\t var ancestorOwners = findOwnerStack(ancestorOwner);\n\t\n\t var minStackLen = Math.min(childOwners.length, ancestorOwners.length);\n\t var i;\n\t\n\t var deepestCommon = -1;\n\t for (i = 0; i < minStackLen; i++) {\n\t if (childOwners[i] === ancestorOwners[i]) {\n\t deepestCommon = i;\n\t } else {\n\t break;\n\t }\n\t }\n\t\n\t var UNKNOWN = '(unknown)';\n\t var childOwnerNames = childOwners.slice(deepestCommon + 1).map(function (inst) {\n\t return inst.getName() || UNKNOWN;\n\t });\n\t var ancestorOwnerNames = ancestorOwners.slice(deepestCommon + 1).map(function (inst) {\n\t return inst.getName() || UNKNOWN;\n\t });\n\t var ownerInfo = [].concat(\n\t // If the parent and child instances have a common owner ancestor, start\n\t // with that -- otherwise we just start with the parent's owners.\n\t deepestCommon !== -1 ? childOwners[deepestCommon].getName() || UNKNOWN : [], ancestorOwnerNames, ancestorTag,\n\t // If we're warning about an invalid (non-parent) ancestry, add '...'\n\t invalidAncestor ? ['...'] : [], childOwnerNames, childTag).join(' > ');\n\t\n\t var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + ownerInfo;\n\t if (didWarn[warnKey]) {\n\t return;\n\t }\n\t didWarn[warnKey] = true;\n\t\n\t var tagDisplayName = childTag;\n\t var whitespaceInfo = '';\n\t if (childTag === '#text') {\n\t if (/\\S/.test(childText)) {\n\t tagDisplayName = 'Text nodes';\n\t } else {\n\t tagDisplayName = 'Whitespace text nodes';\n\t whitespaceInfo = ' Make sure you don\\'t have any extra whitespace between tags on ' + 'each line of your source code.';\n\t }\n\t } else {\n\t tagDisplayName = '<' + childTag + '>';\n\t }\n\t\n\t if (invalidParent) {\n\t var info = '';\n\t if (ancestorTag === 'table' && childTag === 'tr') {\n\t info += ' Add a <tbody> to your code to match the DOM tree generated by ' + 'the browser.';\n\t }\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a child of <%s>.%s ' + 'See %s.%s', tagDisplayName, ancestorTag, whitespaceInfo, ownerInfo, info) : void 0;\n\t } else {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>. See %s.', tagDisplayName, ancestorTag, ownerInfo) : void 0;\n\t }\n\t }\n\t };\n\t\n\t validateDOMNesting.updatedAncestorInfo = updatedAncestorInfo;\n\t\n\t // For testing\n\t validateDOMNesting.isTagValidInContext = function (tag, ancestorInfo) {\n\t ancestorInfo = ancestorInfo || emptyAncestorInfo;\n\t var parentInfo = ancestorInfo.current;\n\t var parentTag = parentInfo && parentInfo.tag;\n\t return isTagValidWithParent(tag, parentTag) && !findInvalidAncestorForTag(tag, ancestorInfo);\n\t };\n\t}\n\t\n\tmodule.exports = validateDOMNesting;\n\n/***/ },\n/* 74 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t * \n\t */\n\t\n\t/*eslint-disable no-self-compare */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\t\n\t/**\n\t * inlined Object.is polyfill to avoid requiring consumers ship their own\n\t * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n\t */\n\tfunction is(x, y) {\n\t // SameValue algorithm\n\t if (x === y) {\n\t // Steps 1-5, 7-10\n\t // Steps 6.b-6.e: +0 != -0\n\t // Added the nonzero y check to make Flow happy, but it is redundant\n\t return x !== 0 || y !== 0 || 1 / x === 1 / y;\n\t } else {\n\t // Step 6.a: NaN == NaN\n\t return x !== x && y !== y;\n\t }\n\t}\n\t\n\t/**\n\t * Performs equality by iterating through keys on an object and returning false\n\t * when any key has values which are not strictly equal between the arguments.\n\t * Returns true when the values of all keys are strictly equal.\n\t */\n\tfunction shallowEqual(objA, objB) {\n\t if (is(objA, objB)) {\n\t return true;\n\t }\n\t\n\t if ((typeof objA === 'undefined' ? 'undefined' : _typeof(objA)) !== 'object' || objA === null || (typeof objB === 'undefined' ? 'undefined' : _typeof(objB)) !== 'object' || objB === null) {\n\t return false;\n\t }\n\t\n\t var keysA = Object.keys(objA);\n\t var keysB = Object.keys(objB);\n\t\n\t if (keysA.length !== keysB.length) {\n\t return false;\n\t }\n\t\n\t // Test for A's keys different from B.\n\t for (var i = 0; i < keysA.length; i++) {\n\t if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\t\n\tmodule.exports = shallowEqual;\n\n/***/ },\n/* 75 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(36);\n\t\n\tvar ReactNoopUpdateQueue = __webpack_require__(77);\n\t\n\tvar canDefineProperty = __webpack_require__(127);\n\tvar emptyObject = __webpack_require__(78);\n\tvar invariant = __webpack_require__(28);\n\tvar warning = __webpack_require__(22);\n\t\n\t/**\n\t * Base class helpers for the updating state of a component.\n\t */\n\tfunction ReactComponent(props, context, updater) {\n\t this.props = props;\n\t this.context = context;\n\t this.refs = emptyObject;\n\t // We initialize the default updater but the real one gets injected by the\n\t // renderer.\n\t this.updater = updater || ReactNoopUpdateQueue;\n\t}\n\t\n\tReactComponent.prototype.isReactComponent = {};\n\t\n\t/**\n\t * Sets a subset of the state. Always use this to mutate\n\t * state. You should treat `this.state` as immutable.\n\t *\n\t * There is no guarantee that `this.state` will be immediately updated, so\n\t * accessing `this.state` after calling this method may return the old value.\n\t *\n\t * There is no guarantee that calls to `setState` will run synchronously,\n\t * as they may eventually be batched together. You can provide an optional\n\t * callback that will be executed when the call to setState is actually\n\t * completed.\n\t *\n\t * When a function is provided to setState, it will be called at some point in\n\t * the future (not synchronously). It will be called with the up to date\n\t * component arguments (state, props, context). These values can be different\n\t * from this.* because your function may be called after receiveProps but before\n\t * shouldComponentUpdate, and this new state, props, and context will not yet be\n\t * assigned to this.\n\t *\n\t * @param {object|function} partialState Next partial state or function to\n\t * produce next partial state to be merged with current state.\n\t * @param {?function} callback Called after state is updated.\n\t * @final\n\t * @protected\n\t */\n\tReactComponent.prototype.setState = function (partialState, callback) {\n\t !((typeof partialState === 'undefined' ? 'undefined' : _typeof(partialState)) === 'object' || typeof partialState === 'function' || partialState == null) ? false ? invariant(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : _prodInvariant('85') : void 0;\n\t this.updater.enqueueSetState(this, partialState);\n\t if (callback) {\n\t this.updater.enqueueCallback(this, callback, 'setState');\n\t }\n\t};\n\t\n\t/**\n\t * Forces an update. This should only be invoked when it is known with\n\t * certainty that we are **not** in a DOM transaction.\n\t *\n\t * You may want to call this when you know that some deeper aspect of the\n\t * component's state has changed but `setState` was not called.\n\t *\n\t * This will not invoke `shouldComponentUpdate`, but it will invoke\n\t * `componentWillUpdate` and `componentDidUpdate`.\n\t *\n\t * @param {?function} callback Called after update is complete.\n\t * @final\n\t * @protected\n\t */\n\tReactComponent.prototype.forceUpdate = function (callback) {\n\t this.updater.enqueueForceUpdate(this);\n\t if (callback) {\n\t this.updater.enqueueCallback(this, callback, 'forceUpdate');\n\t }\n\t};\n\t\n\t/**\n\t * Deprecated APIs. These APIs used to exist on classic React classes but since\n\t * we would like to deprecate them, we're not going to move them over to this\n\t * modern base class. Instead, we define a getter that warns if it's accessed.\n\t */\n\tif (false) {\n\t var deprecatedAPIs = {\n\t isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],\n\t replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']\n\t };\n\t var defineDeprecationWarning = function defineDeprecationWarning(methodName, info) {\n\t if (canDefineProperty) {\n\t Object.defineProperty(ReactComponent.prototype, methodName, {\n\t get: function get() {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : void 0;\n\t return undefined;\n\t }\n\t });\n\t }\n\t };\n\t for (var fnName in deprecatedAPIs) {\n\t if (deprecatedAPIs.hasOwnProperty(fnName)) {\n\t defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n\t }\n\t }\n\t}\n\t\n\tmodule.exports = ReactComponent;\n\n/***/ },\n/* 76 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2016-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(36);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\t\n\tvar invariant = __webpack_require__(28);\n\tvar warning = __webpack_require__(22);\n\t\n\tfunction isNative(fn) {\n\t // Based on isNative() from Lodash\n\t var funcToString = Function.prototype.toString;\n\t var hasOwnProperty = Object.prototype.hasOwnProperty;\n\t var reIsNative = RegExp('^' + funcToString\n\t // Take an example native function source for comparison\n\t .call(hasOwnProperty)\n\t // Strip regex characters so we can use it for regex\n\t .replace(/[\\\\^$.*+?()[\\]{}|]/g, '\\\\$&')\n\t // Remove hasOwnProperty from the template to make it generic\n\t .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n\t try {\n\t var source = funcToString.call(fn);\n\t return reIsNative.test(source);\n\t } catch (err) {\n\t return false;\n\t }\n\t}\n\t\n\tvar canUseCollections =\n\t// Array.from\n\ttypeof Array.from === 'function' &&\n\t// Map\n\ttypeof Map === 'function' && isNative(Map) &&\n\t// Map.prototype.keys\n\tMap.prototype != null && typeof Map.prototype.keys === 'function' && isNative(Map.prototype.keys) &&\n\t// Set\n\ttypeof Set === 'function' && isNative(Set) &&\n\t// Set.prototype.keys\n\tSet.prototype != null && typeof Set.prototype.keys === 'function' && isNative(Set.prototype.keys);\n\t\n\tvar setItem;\n\tvar getItem;\n\tvar removeItem;\n\tvar getItemIDs;\n\tvar addRoot;\n\tvar removeRoot;\n\tvar getRootIDs;\n\t\n\tif (canUseCollections) {\n\t var itemMap = new Map();\n\t var rootIDSet = new Set();\n\t\n\t setItem = function setItem(id, item) {\n\t itemMap.set(id, item);\n\t };\n\t getItem = function getItem(id) {\n\t return itemMap.get(id);\n\t };\n\t removeItem = function removeItem(id) {\n\t itemMap['delete'](id);\n\t };\n\t getItemIDs = function getItemIDs() {\n\t return Array.from(itemMap.keys());\n\t };\n\t\n\t addRoot = function addRoot(id) {\n\t rootIDSet.add(id);\n\t };\n\t removeRoot = function removeRoot(id) {\n\t rootIDSet['delete'](id);\n\t };\n\t getRootIDs = function getRootIDs() {\n\t return Array.from(rootIDSet.keys());\n\t };\n\t} else {\n\t var itemByKey = {};\n\t var rootByKey = {};\n\t\n\t // Use non-numeric keys to prevent V8 performance issues:\n\t // https://github.com/facebook/react/pull/7232\n\t var getKeyFromID = function getKeyFromID(id) {\n\t return '.' + id;\n\t };\n\t var getIDFromKey = function getIDFromKey(key) {\n\t return parseInt(key.substr(1), 10);\n\t };\n\t\n\t setItem = function setItem(id, item) {\n\t var key = getKeyFromID(id);\n\t itemByKey[key] = item;\n\t };\n\t getItem = function getItem(id) {\n\t var key = getKeyFromID(id);\n\t return itemByKey[key];\n\t };\n\t removeItem = function removeItem(id) {\n\t var key = getKeyFromID(id);\n\t delete itemByKey[key];\n\t };\n\t getItemIDs = function getItemIDs() {\n\t return Object.keys(itemByKey).map(getIDFromKey);\n\t };\n\t\n\t addRoot = function addRoot(id) {\n\t var key = getKeyFromID(id);\n\t rootByKey[key] = true;\n\t };\n\t removeRoot = function removeRoot(id) {\n\t var key = getKeyFromID(id);\n\t delete rootByKey[key];\n\t };\n\t getRootIDs = function getRootIDs() {\n\t return Object.keys(rootByKey).map(getIDFromKey);\n\t };\n\t}\n\t\n\tvar unmountedIDs = [];\n\t\n\tfunction purgeDeep(id) {\n\t var item = getItem(id);\n\t if (item) {\n\t var childIDs = item.childIDs;\n\t\n\t removeItem(id);\n\t childIDs.forEach(purgeDeep);\n\t }\n\t}\n\t\n\tfunction describeComponentFrame(name, source, ownerName) {\n\t return '\\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');\n\t}\n\t\n\tfunction _getDisplayName(element) {\n\t if (element == null) {\n\t return '#empty';\n\t } else if (typeof element === 'string' || typeof element === 'number') {\n\t return '#text';\n\t } else if (typeof element.type === 'string') {\n\t return element.type;\n\t } else {\n\t return element.type.displayName || element.type.name || 'Unknown';\n\t }\n\t}\n\t\n\tfunction describeID(id) {\n\t var name = ReactComponentTreeHook.getDisplayName(id);\n\t var element = ReactComponentTreeHook.getElement(id);\n\t var ownerID = ReactComponentTreeHook.getOwnerID(id);\n\t var ownerName;\n\t if (ownerID) {\n\t ownerName = ReactComponentTreeHook.getDisplayName(ownerID);\n\t }\n\t false ? warning(element, 'ReactComponentTreeHook: Missing React element for debugID %s when ' + 'building stack', id) : void 0;\n\t return describeComponentFrame(name, element && element._source, ownerName);\n\t}\n\t\n\tvar ReactComponentTreeHook = {\n\t onSetChildren: function onSetChildren(id, nextChildIDs) {\n\t var item = getItem(id);\n\t !item ? false ? invariant(false, 'Item must have been set') : _prodInvariant('144') : void 0;\n\t item.childIDs = nextChildIDs;\n\t\n\t for (var i = 0; i < nextChildIDs.length; i++) {\n\t var nextChildID = nextChildIDs[i];\n\t var nextChild = getItem(nextChildID);\n\t !nextChild ? false ? invariant(false, 'Expected hook events to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('140') : void 0;\n\t !(nextChild.childIDs != null || _typeof(nextChild.element) !== 'object' || nextChild.element == null) ? false ? invariant(false, 'Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().') : _prodInvariant('141') : void 0;\n\t !nextChild.isMounted ? false ? invariant(false, 'Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('71') : void 0;\n\t if (nextChild.parentID == null) {\n\t nextChild.parentID = id;\n\t // TODO: This shouldn't be necessary but mounting a new root during in\n\t // componentWillMount currently causes not-yet-mounted components to\n\t // be purged from our tree data so their parent id is missing.\n\t }\n\t !(nextChild.parentID === id) ? false ? invariant(false, 'Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).', nextChildID, nextChild.parentID, id) : _prodInvariant('142', nextChildID, nextChild.parentID, id) : void 0;\n\t }\n\t },\n\t onBeforeMountComponent: function onBeforeMountComponent(id, element, parentID) {\n\t var item = {\n\t element: element,\n\t parentID: parentID,\n\t text: null,\n\t childIDs: [],\n\t isMounted: false,\n\t updateCount: 0\n\t };\n\t setItem(id, item);\n\t },\n\t onBeforeUpdateComponent: function onBeforeUpdateComponent(id, element) {\n\t var item = getItem(id);\n\t if (!item || !item.isMounted) {\n\t // We may end up here as a result of setState() in componentWillUnmount().\n\t // In this case, ignore the element.\n\t return;\n\t }\n\t item.element = element;\n\t },\n\t onMountComponent: function onMountComponent(id) {\n\t var item = getItem(id);\n\t !item ? false ? invariant(false, 'Item must have been set') : _prodInvariant('144') : void 0;\n\t item.isMounted = true;\n\t var isRoot = item.parentID === 0;\n\t if (isRoot) {\n\t addRoot(id);\n\t }\n\t },\n\t onUpdateComponent: function onUpdateComponent(id) {\n\t var item = getItem(id);\n\t if (!item || !item.isMounted) {\n\t // We may end up here as a result of setState() in componentWillUnmount().\n\t // In this case, ignore the element.\n\t return;\n\t }\n\t item.updateCount++;\n\t },\n\t onUnmountComponent: function onUnmountComponent(id) {\n\t var item = getItem(id);\n\t if (item) {\n\t // We need to check if it exists.\n\t // `item` might not exist if it is inside an error boundary, and a sibling\n\t // error boundary child threw while mounting. Then this instance never\n\t // got a chance to mount, but it still gets an unmounting event during\n\t // the error boundary cleanup.\n\t item.isMounted = false;\n\t var isRoot = item.parentID === 0;\n\t if (isRoot) {\n\t removeRoot(id);\n\t }\n\t }\n\t unmountedIDs.push(id);\n\t },\n\t purgeUnmountedComponents: function purgeUnmountedComponents() {\n\t if (ReactComponentTreeHook._preventPurging) {\n\t // Should only be used for testing.\n\t return;\n\t }\n\t\n\t for (var i = 0; i < unmountedIDs.length; i++) {\n\t var id = unmountedIDs[i];\n\t purgeDeep(id);\n\t }\n\t unmountedIDs.length = 0;\n\t },\n\t isMounted: function isMounted(id) {\n\t var item = getItem(id);\n\t return item ? item.isMounted : false;\n\t },\n\t getCurrentStackAddendum: function getCurrentStackAddendum(topElement) {\n\t var info = '';\n\t if (topElement) {\n\t var name = _getDisplayName(topElement);\n\t var owner = topElement._owner;\n\t info += describeComponentFrame(name, topElement._source, owner && owner.getName());\n\t }\n\t\n\t var currentOwner = ReactCurrentOwner.current;\n\t var id = currentOwner && currentOwner._debugID;\n\t\n\t info += ReactComponentTreeHook.getStackAddendumByID(id);\n\t return info;\n\t },\n\t getStackAddendumByID: function getStackAddendumByID(id) {\n\t var info = '';\n\t while (id) {\n\t info += describeID(id);\n\t id = ReactComponentTreeHook.getParentID(id);\n\t }\n\t return info;\n\t },\n\t getChildIDs: function getChildIDs(id) {\n\t var item = getItem(id);\n\t return item ? item.childIDs : [];\n\t },\n\t getDisplayName: function getDisplayName(id) {\n\t var element = ReactComponentTreeHook.getElement(id);\n\t if (!element) {\n\t return null;\n\t }\n\t return _getDisplayName(element);\n\t },\n\t getElement: function getElement(id) {\n\t var item = getItem(id);\n\t return item ? item.element : null;\n\t },\n\t getOwnerID: function getOwnerID(id) {\n\t var element = ReactComponentTreeHook.getElement(id);\n\t if (!element || !element._owner) {\n\t return null;\n\t }\n\t return element._owner._debugID;\n\t },\n\t getParentID: function getParentID(id) {\n\t var item = getItem(id);\n\t return item ? item.parentID : null;\n\t },\n\t getSource: function getSource(id) {\n\t var item = getItem(id);\n\t var element = item ? item.element : null;\n\t var source = element != null ? element._source : null;\n\t return source;\n\t },\n\t getText: function getText(id) {\n\t var element = ReactComponentTreeHook.getElement(id);\n\t if (typeof element === 'string') {\n\t return element;\n\t } else if (typeof element === 'number') {\n\t return '' + element;\n\t } else {\n\t return null;\n\t }\n\t },\n\t getUpdateCount: function getUpdateCount(id) {\n\t var item = getItem(id);\n\t return item ? item.updateCount : 0;\n\t },\n\t\n\t getRootIDs: getRootIDs,\n\t getRegisteredIDs: getItemIDs\n\t};\n\t\n\tmodule.exports = ReactComponentTreeHook;\n\n/***/ },\n/* 77 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar warning = __webpack_require__(22);\n\t\n\tfunction warnNoop(publicInstance, callerName) {\n\t if (false) {\n\t var constructor = publicInstance.constructor;\n\t process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;\n\t }\n\t}\n\t\n\t/**\n\t * This is the abstract API for an update queue.\n\t */\n\tvar ReactNoopUpdateQueue = {\n\t\n\t /**\n\t * Checks whether or not this composite component is mounted.\n\t * @param {ReactClass} publicInstance The instance we want to test.\n\t * @return {boolean} True if mounted, false otherwise.\n\t * @protected\n\t * @final\n\t */\n\t isMounted: function isMounted(publicInstance) {\n\t return false;\n\t },\n\t\n\t /**\n\t * Enqueue a callback that will be executed after all the pending updates\n\t * have processed.\n\t *\n\t * @param {ReactClass} publicInstance The instance to use as `this` context.\n\t * @param {?function} callback Called after state is updated.\n\t * @internal\n\t */\n\t enqueueCallback: function enqueueCallback(publicInstance, callback) {},\n\t\n\t /**\n\t * Forces an update. This should only be invoked when it is known with\n\t * certainty that we are **not** in a DOM transaction.\n\t *\n\t * You may want to call this when you know that some deeper aspect of the\n\t * component's state has changed but `setState` was not called.\n\t *\n\t * This will not invoke `shouldComponentUpdate`, but it will invoke\n\t * `componentWillUpdate` and `componentDidUpdate`.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @internal\n\t */\n\t enqueueForceUpdate: function enqueueForceUpdate(publicInstance) {\n\t warnNoop(publicInstance, 'forceUpdate');\n\t },\n\t\n\t /**\n\t * Replaces all of the state. Always use this or `setState` to mutate state.\n\t * You should treat `this.state` as immutable.\n\t *\n\t * There is no guarantee that `this.state` will be immediately updated, so\n\t * accessing `this.state` after calling this method may return the old value.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object} completeState Next state.\n\t * @internal\n\t */\n\t enqueueReplaceState: function enqueueReplaceState(publicInstance, completeState) {\n\t warnNoop(publicInstance, 'replaceState');\n\t },\n\t\n\t /**\n\t * Sets a subset of the state. This only exists because _pendingState is\n\t * internal. This provides a merging strategy that is not available to deep\n\t * properties which is confusing. TODO: Expose pendingState or don't use it\n\t * during the merge.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object} partialState Next partial state to be merged with state.\n\t * @internal\n\t */\n\t enqueueSetState: function enqueueSetState(publicInstance, partialState) {\n\t warnNoop(publicInstance, 'setState');\n\t }\n\t};\n\t\n\tmodule.exports = ReactNoopUpdateQueue;\n\n/***/ },\n/* 78 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyObject = {};\n\t\n\tif (false) {\n\t Object.freeze(emptyObject);\n\t}\n\t\n\tmodule.exports = emptyObject;\n\n/***/ },\n/* 79 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global, process) {'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t\n\tvar formatRegExp = /%[sdj%]/g;\n\texports.format = function (f) {\n\t if (!isString(f)) {\n\t var objects = [];\n\t for (var i = 0; i < arguments.length; i++) {\n\t objects.push(inspect(arguments[i]));\n\t }\n\t return objects.join(' ');\n\t }\n\t\n\t var i = 1;\n\t var args = arguments;\n\t var len = args.length;\n\t var str = String(f).replace(formatRegExp, function (x) {\n\t if (x === '%%') return '%';\n\t if (i >= len) return x;\n\t switch (x) {\n\t case '%s':\n\t return String(args[i++]);\n\t case '%d':\n\t return Number(args[i++]);\n\t case '%j':\n\t try {\n\t return JSON.stringify(args[i++]);\n\t } catch (_) {\n\t return '[Circular]';\n\t }\n\t default:\n\t return x;\n\t }\n\t });\n\t for (var x = args[i]; i < len; x = args[++i]) {\n\t if (isNull(x) || !isObject(x)) {\n\t str += ' ' + x;\n\t } else {\n\t str += ' ' + inspect(x);\n\t }\n\t }\n\t return str;\n\t};\n\t\n\t// Mark that a method should not be used.\n\t// Returns a modified function which warns once by default.\n\t// If --no-deprecation is set, then it is a no-op.\n\texports.deprecate = function (fn, msg) {\n\t // Allow for deprecating things in the process of starting up.\n\t if (isUndefined(global.process)) {\n\t return function () {\n\t return exports.deprecate(fn, msg).apply(this, arguments);\n\t };\n\t }\n\t\n\t if (process.noDeprecation === true) {\n\t return fn;\n\t }\n\t\n\t var warned = false;\n\t function deprecated() {\n\t if (!warned) {\n\t if (process.throwDeprecation) {\n\t throw new Error(msg);\n\t } else if (process.traceDeprecation) {\n\t console.trace(msg);\n\t } else {\n\t console.error(msg);\n\t }\n\t warned = true;\n\t }\n\t return fn.apply(this, arguments);\n\t }\n\t\n\t return deprecated;\n\t};\n\t\n\tvar debugs = {};\n\tvar debugEnviron;\n\texports.debuglog = function (set) {\n\t if (isUndefined(debugEnviron)) debugEnviron = ({\"NODE_ENV\":\"production\"}).NODE_DEBUG || '';\n\t set = set.toUpperCase();\n\t if (!debugs[set]) {\n\t if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n\t var pid = process.pid;\n\t debugs[set] = function () {\n\t var msg = exports.format.apply(exports, arguments);\n\t console.error('%s %d: %s', set, pid, msg);\n\t };\n\t } else {\n\t debugs[set] = function () {};\n\t }\n\t }\n\t return debugs[set];\n\t};\n\t\n\t/**\n\t * Echos the value of a value. Trys to print the value out\n\t * in the best way possible given the different types.\n\t *\n\t * @param {Object} obj The object to print out.\n\t * @param {Object} opts Optional options object that alters the output.\n\t */\n\t/* legacy: obj, showHidden, depth, colors*/\n\tfunction inspect(obj, opts) {\n\t // default options\n\t var ctx = {\n\t seen: [],\n\t stylize: stylizeNoColor\n\t };\n\t // legacy...\n\t if (arguments.length >= 3) ctx.depth = arguments[2];\n\t if (arguments.length >= 4) ctx.colors = arguments[3];\n\t if (isBoolean(opts)) {\n\t // legacy...\n\t ctx.showHidden = opts;\n\t } else if (opts) {\n\t // got an \"options\" object\n\t exports._extend(ctx, opts);\n\t }\n\t // set default options\n\t if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n\t if (isUndefined(ctx.depth)) ctx.depth = 2;\n\t if (isUndefined(ctx.colors)) ctx.colors = false;\n\t if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n\t if (ctx.colors) ctx.stylize = stylizeWithColor;\n\t return formatValue(ctx, obj, ctx.depth);\n\t}\n\texports.inspect = inspect;\n\t\n\t// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\n\tinspect.colors = {\n\t 'bold': [1, 22],\n\t 'italic': [3, 23],\n\t 'underline': [4, 24],\n\t 'inverse': [7, 27],\n\t 'white': [37, 39],\n\t 'grey': [90, 39],\n\t 'black': [30, 39],\n\t 'blue': [34, 39],\n\t 'cyan': [36, 39],\n\t 'green': [32, 39],\n\t 'magenta': [35, 39],\n\t 'red': [31, 39],\n\t 'yellow': [33, 39]\n\t};\n\t\n\t// Don't use 'blue' not visible on cmd.exe\n\tinspect.styles = {\n\t 'special': 'cyan',\n\t 'number': 'yellow',\n\t 'boolean': 'yellow',\n\t 'undefined': 'grey',\n\t 'null': 'bold',\n\t 'string': 'green',\n\t 'date': 'magenta',\n\t // \"name\": intentionally not styling\n\t 'regexp': 'red'\n\t};\n\t\n\tfunction stylizeWithColor(str, styleType) {\n\t var style = inspect.styles[styleType];\n\t\n\t if (style) {\n\t return '\\x1B[' + inspect.colors[style][0] + 'm' + str + '\\x1B[' + inspect.colors[style][1] + 'm';\n\t } else {\n\t return str;\n\t }\n\t}\n\t\n\tfunction stylizeNoColor(str, styleType) {\n\t return str;\n\t}\n\t\n\tfunction arrayToHash(array) {\n\t var hash = {};\n\t\n\t array.forEach(function (val, idx) {\n\t hash[val] = true;\n\t });\n\t\n\t return hash;\n\t}\n\t\n\tfunction formatValue(ctx, value, recurseTimes) {\n\t // Provide a hook for user-specified inspect functions.\n\t // Check that value is an object with an inspect function on it\n\t if (ctx.customInspect && value && isFunction(value.inspect) &&\n\t // Filter out the util module, it's inspect function is special\n\t value.inspect !== exports.inspect &&\n\t // Also filter out any prototype objects using the circular check.\n\t !(value.constructor && value.constructor.prototype === value)) {\n\t var ret = value.inspect(recurseTimes, ctx);\n\t if (!isString(ret)) {\n\t ret = formatValue(ctx, ret, recurseTimes);\n\t }\n\t return ret;\n\t }\n\t\n\t // Primitive types cannot have properties\n\t var primitive = formatPrimitive(ctx, value);\n\t if (primitive) {\n\t return primitive;\n\t }\n\t\n\t // Look up the keys of the object.\n\t var keys = Object.keys(value);\n\t var visibleKeys = arrayToHash(keys);\n\t\n\t if (ctx.showHidden) {\n\t keys = Object.getOwnPropertyNames(value);\n\t }\n\t\n\t // IE doesn't make error fields non-enumerable\n\t // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n\t if (isError(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n\t return formatError(value);\n\t }\n\t\n\t // Some type of object without properties can be shortcutted.\n\t if (keys.length === 0) {\n\t if (isFunction(value)) {\n\t var name = value.name ? ': ' + value.name : '';\n\t return ctx.stylize('[Function' + name + ']', 'special');\n\t }\n\t if (isRegExp(value)) {\n\t return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n\t }\n\t if (isDate(value)) {\n\t return ctx.stylize(Date.prototype.toString.call(value), 'date');\n\t }\n\t if (isError(value)) {\n\t return formatError(value);\n\t }\n\t }\n\t\n\t var base = '',\n\t array = false,\n\t braces = ['{', '}'];\n\t\n\t // Make Array say that they are Array\n\t if (isArray(value)) {\n\t array = true;\n\t braces = ['[', ']'];\n\t }\n\t\n\t // Make functions say that they are functions\n\t if (isFunction(value)) {\n\t var n = value.name ? ': ' + value.name : '';\n\t base = ' [Function' + n + ']';\n\t }\n\t\n\t // Make RegExps say that they are RegExps\n\t if (isRegExp(value)) {\n\t base = ' ' + RegExp.prototype.toString.call(value);\n\t }\n\t\n\t // Make dates with properties first say the date\n\t if (isDate(value)) {\n\t base = ' ' + Date.prototype.toUTCString.call(value);\n\t }\n\t\n\t // Make error with message first say the error\n\t if (isError(value)) {\n\t base = ' ' + formatError(value);\n\t }\n\t\n\t if (keys.length === 0 && (!array || value.length == 0)) {\n\t return braces[0] + base + braces[1];\n\t }\n\t\n\t if (recurseTimes < 0) {\n\t if (isRegExp(value)) {\n\t return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n\t } else {\n\t return ctx.stylize('[Object]', 'special');\n\t }\n\t }\n\t\n\t ctx.seen.push(value);\n\t\n\t var output;\n\t if (array) {\n\t output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n\t } else {\n\t output = keys.map(function (key) {\n\t return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n\t });\n\t }\n\t\n\t ctx.seen.pop();\n\t\n\t return reduceToSingleString(output, base, braces);\n\t}\n\t\n\tfunction formatPrimitive(ctx, value) {\n\t if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');\n\t if (isString(value)) {\n\t var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '').replace(/'/g, \"\\\\'\").replace(/\\\\\"/g, '\"') + '\\'';\n\t return ctx.stylize(simple, 'string');\n\t }\n\t if (isNumber(value)) return ctx.stylize('' + value, 'number');\n\t if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');\n\t // For some reason typeof null is \"object\", so special case here.\n\t if (isNull(value)) return ctx.stylize('null', 'null');\n\t}\n\t\n\tfunction formatError(value) {\n\t return '[' + Error.prototype.toString.call(value) + ']';\n\t}\n\t\n\tfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n\t var output = [];\n\t for (var i = 0, l = value.length; i < l; ++i) {\n\t if (hasOwnProperty(value, String(i))) {\n\t output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true));\n\t } else {\n\t output.push('');\n\t }\n\t }\n\t keys.forEach(function (key) {\n\t if (!key.match(/^\\d+$/)) {\n\t output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true));\n\t }\n\t });\n\t return output;\n\t}\n\t\n\tfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n\t var name, str, desc;\n\t desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n\t if (desc.get) {\n\t if (desc.set) {\n\t str = ctx.stylize('[Getter/Setter]', 'special');\n\t } else {\n\t str = ctx.stylize('[Getter]', 'special');\n\t }\n\t } else {\n\t if (desc.set) {\n\t str = ctx.stylize('[Setter]', 'special');\n\t }\n\t }\n\t if (!hasOwnProperty(visibleKeys, key)) {\n\t name = '[' + key + ']';\n\t }\n\t if (!str) {\n\t if (ctx.seen.indexOf(desc.value) < 0) {\n\t if (isNull(recurseTimes)) {\n\t str = formatValue(ctx, desc.value, null);\n\t } else {\n\t str = formatValue(ctx, desc.value, recurseTimes - 1);\n\t }\n\t if (str.indexOf('\\n') > -1) {\n\t if (array) {\n\t str = str.split('\\n').map(function (line) {\n\t return ' ' + line;\n\t }).join('\\n').substr(2);\n\t } else {\n\t str = '\\n' + str.split('\\n').map(function (line) {\n\t return ' ' + line;\n\t }).join('\\n');\n\t }\n\t }\n\t } else {\n\t str = ctx.stylize('[Circular]', 'special');\n\t }\n\t }\n\t if (isUndefined(name)) {\n\t if (array && key.match(/^\\d+$/)) {\n\t return str;\n\t }\n\t name = JSON.stringify('' + key);\n\t if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n\t name = name.substr(1, name.length - 2);\n\t name = ctx.stylize(name, 'name');\n\t } else {\n\t name = name.replace(/'/g, \"\\\\'\").replace(/\\\\\"/g, '\"').replace(/(^\"|\"$)/g, \"'\");\n\t name = ctx.stylize(name, 'string');\n\t }\n\t }\n\t\n\t return name + ': ' + str;\n\t}\n\t\n\tfunction reduceToSingleString(output, base, braces) {\n\t var numLinesEst = 0;\n\t var length = output.reduce(function (prev, cur) {\n\t numLinesEst++;\n\t if (cur.indexOf('\\n') >= 0) numLinesEst++;\n\t return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n\t }, 0);\n\t\n\t if (length > 60) {\n\t return braces[0] + (base === '' ? '' : base + '\\n ') + ' ' + output.join(',\\n ') + ' ' + braces[1];\n\t }\n\t\n\t return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n\t}\n\t\n\t// NOTE: These type checking functions intentionally don't use `instanceof`\n\t// because it is fragile and can be easily faked with `Object.create()`.\n\tfunction isArray(ar) {\n\t return Array.isArray(ar);\n\t}\n\texports.isArray = isArray;\n\t\n\tfunction isBoolean(arg) {\n\t return typeof arg === 'boolean';\n\t}\n\texports.isBoolean = isBoolean;\n\t\n\tfunction isNull(arg) {\n\t return arg === null;\n\t}\n\texports.isNull = isNull;\n\t\n\tfunction isNullOrUndefined(arg) {\n\t return arg == null;\n\t}\n\texports.isNullOrUndefined = isNullOrUndefined;\n\t\n\tfunction isNumber(arg) {\n\t return typeof arg === 'number';\n\t}\n\texports.isNumber = isNumber;\n\t\n\tfunction isString(arg) {\n\t return typeof arg === 'string';\n\t}\n\texports.isString = isString;\n\t\n\tfunction isSymbol(arg) {\n\t return (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'symbol';\n\t}\n\texports.isSymbol = isSymbol;\n\t\n\tfunction isUndefined(arg) {\n\t return arg === void 0;\n\t}\n\texports.isUndefined = isUndefined;\n\t\n\tfunction isRegExp(re) {\n\t return isObject(re) && objectToString(re) === '[object RegExp]';\n\t}\n\texports.isRegExp = isRegExp;\n\t\n\tfunction isObject(arg) {\n\t return (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'object' && arg !== null;\n\t}\n\texports.isObject = isObject;\n\t\n\tfunction isDate(d) {\n\t return isObject(d) && objectToString(d) === '[object Date]';\n\t}\n\texports.isDate = isDate;\n\t\n\tfunction isError(e) {\n\t return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error);\n\t}\n\texports.isError = isError;\n\t\n\tfunction isFunction(arg) {\n\t return typeof arg === 'function';\n\t}\n\texports.isFunction = isFunction;\n\t\n\tfunction isPrimitive(arg) {\n\t return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'symbol' || // ES6 symbol\n\t typeof arg === 'undefined';\n\t}\n\texports.isPrimitive = isPrimitive;\n\t\n\texports.isBuffer = __webpack_require__(279);\n\t\n\tfunction objectToString(o) {\n\t return Object.prototype.toString.call(o);\n\t}\n\t\n\tfunction pad(n) {\n\t return n < 10 ? '0' + n.toString(10) : n.toString(10);\n\t}\n\t\n\tvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\n\t\n\t// 26 Feb 16:19:34\n\tfunction timestamp() {\n\t var d = new Date();\n\t var time = [pad(d.getHours()), pad(d.getMinutes()), pad(d.getSeconds())].join(':');\n\t return [d.getDate(), months[d.getMonth()], time].join(' ');\n\t}\n\t\n\t// log is just a thin wrapper to console.log that prepends a timestamp\n\texports.log = function () {\n\t console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n\t};\n\t\n\t/**\n\t * Inherit the prototype methods from one constructor into another.\n\t *\n\t * The Function.prototype.inherits from lang.js rewritten as a standalone\n\t * function (not on Function.prototype). NOTE: If this file is to be loaded\n\t * during bootstrapping this function needs to be rewritten using some native\n\t * functions as prototype setup using normal JavaScript does not work as\n\t * expected during bootstrapping (see mirror.js in r114903).\n\t *\n\t * @param {function} ctor Constructor function which needs to inherit the\n\t * prototype.\n\t * @param {function} superCtor Constructor function to inherit prototype from.\n\t */\n\texports.inherits = __webpack_require__(278);\n\t\n\texports._extend = function (origin, add) {\n\t // Don't do anything if add isn't an object\n\t if (!add || !isObject(add)) return origin;\n\t\n\t var keys = Object.keys(add);\n\t var i = keys.length;\n\t while (i--) {\n\t origin[keys[i]] = add[keys[i]];\n\t }\n\t return origin;\n\t};\n\t\n\tfunction hasOwnProperty(obj, prop) {\n\t return Object.prototype.hasOwnProperty.call(obj, prop);\n\t}\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(29)))\n\n/***/ },\n/* 80 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.startHRD = startHRD;\n\texports.cancelHRD = cancelHRD;\n\texports.logIn = logIn;\n\t\n\tvar _index = __webpack_require__(12);\n\t\n\tvar _enterprise = __webpack_require__(23);\n\t\n\tvar _index2 = __webpack_require__(8);\n\t\n\tvar _email = __webpack_require__(26);\n\t\n\tvar _actions = __webpack_require__(24);\n\t\n\tvar _index3 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _index4 = __webpack_require__(11);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction startHRD(id, email) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, _enterprise.toggleHRD, email);\n\t}\n\t\n\t// TODO: enterprise connections should not depend on database\n\t// connections. However, we now allow a username input to contain also\n\t// an email and this information is in the database module. We should\n\t// make this information flow from the UI (like we do for the startHRD\n\t// function). Including this dependency here allows us to do that\n\t// incrementally.\n\tfunction cancelHRD(id) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t m = (0, _enterprise.toggleHRD)(m, false);\n\t m = (0, _index2.hideInvalidFields)(m);\n\t return m;\n\t });\n\t}\n\t\n\tfunction logIn(id) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t var email = (0, _index2.getFieldValue)(m, (0, _index4.databaseLogInWithEmail)(m) ? \"email\" : \"username\");\n\t var ssoConnection = (0, _enterprise.matchConnection)(m, email);\n\t\n\t if (ssoConnection && !(0, _enterprise.isHRDActive)(m)) {\n\t return logInSSO(id, ssoConnection);\n\t }\n\t\n\t logInActiveFlow(id);\n\t}\n\t\n\tfunction logInActiveFlow(id) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t var usernameField = (0, _enterprise.isHRDActive)(m) || !(0, _index4.databaseLogInWithEmail)(m) ? \"username\" : \"email\";\n\t\n\t var originalUsername = (0, _index2.getFieldValue)(m, usernameField);\n\t var connection = (0, _enterprise.enterpriseActiveFlowConnection)(m);\n\t\n\t var username = l.defaultADUsernameFromEmailPrefix(m) ? (0, _email.emailLocalPart)(originalUsername) : originalUsername;\n\t\n\t (0, _actions.logIn)(id, [\"password\", usernameField], {\n\t connection: connection ? connection.get(\"name\") : null,\n\t username: username,\n\t password: (0, _index2.getFieldValue)(m, \"password\"),\n\t login_hint: username\n\t });\n\t}\n\t\n\tfunction logInSSO(id, connection) {\n\t var m = (0, _index.read)(_index.getEntity, \"lock\", id);\n\t var field = (0, _index4.databaseLogInWithEmail)(m) ? \"email\" : \"username\";\n\t (0, _actions.logIn)(id, [field], {\n\t connection: connection.get(\"name\"),\n\t login_hint: (0, _index2.getFieldValue)(m, field)\n\t });\n\t}\n\n/***/ },\n/* 81 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\texports.initTenant = initTenant;\n\texports.tenantConnections = tenantConnections;\n\texports.defaultDirectory = defaultDirectory;\n\texports.defaultDirectoryName = defaultDirectoryName;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"client\"]),\n\t initNS = _dataFns.initNS,\n\t get = _dataFns.get;\n\t\n\tvar DEFAULT_CONNECTION_VALIDATION = { username: { min: 1, max: 15 } };\n\t\n\tfunction formatConnectionValidation() {\n\t var connectionValidation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\t\n\t if (connectionValidation.username == null) {\n\t return null;\n\t }\n\t\n\t var validation = _extends({}, DEFAULT_CONNECTION_VALIDATION, connectionValidation);\n\t var defaultMin = DEFAULT_CONNECTION_VALIDATION.username.min;\n\t var defaultMax = DEFAULT_CONNECTION_VALIDATION.username.max;\n\t\n\t validation.username.min = parseInt(validation.username.min, 10) || defaultMin;\n\t validation.username.max = parseInt(validation.username.max, 10) || defaultMax;\n\t\n\t if (validation.username.min > validation.username.max) {\n\t validation.username.min = defaultMin;\n\t validation.username.max = defaultMax;\n\t }\n\t\n\t return validation;\n\t}\n\t\n\tvar emptyConnections = _immutable2.default.fromJS({\n\t database: [],\n\t enterprise: [],\n\t passwordless: [],\n\t social: [],\n\t unknown: [] // TODO: should be oauth2\n\t});\n\t\n\tfunction initTenant(m, client_id, client) {\n\t return initNS(m, formatTenant(client_id, client));\n\t}\n\t\n\tfunction formatTenant(client_id, o) {\n\t return new _immutable2.default.fromJS({\n\t connections: formatTenantConnections(client_id, o),\n\t defaultDirectory: o.defaultDirectory || null\n\t });\n\t}\n\t\n\tfunction formatTenantConnections(client_id, o) {\n\t var result = emptyConnections.toJS();\n\t var connectionTypes = Object.keys(o.connections).filter(function (name) {\n\t return name != 'passwordless';\n\t }); // disabled until lock supports passwordless connections within the same engine\n\t var connections_filter = null;\n\t\n\t if (o.clientsConnections && o.clientsConnections[client_id]) {\n\t connections_filter = o.clientsConnections[client_id];\n\t }\n\t\n\t connectionTypes.forEach(function (connectionTypeName) {\n\t var _result$connectionTyp;\n\t\n\t var connections = o.connections[connectionTypeName].map(function (connection) {\n\t return formatTenantConnection(connectionTypeName, connection);\n\t }).filter(function (connection) {\n\t return connections_filter === null || connections_filter.indexOf(connection.name) !== -1;\n\t });\n\t (_result$connectionTyp = result[connectionTypeName]).push.apply(_result$connectionTyp, connections);\n\t });\n\t\n\t return result;\n\t}\n\t\n\tfunction formatTenantConnection(connectionType, connection) {\n\t var result = {\n\t name: connection.name,\n\t strategy: connection.strategy,\n\t type: connectionType\n\t };\n\t\n\t if (connectionType === \"database\") {\n\t if (connection.validation && connection.validation.passwordPolicy) {\n\t result.passwordPolicy = connection.validation.passwordPolicy;\n\t }\n\t\n\t result.passwordPolicy = result.passwordPolicy || \"none\";\n\t\n\t result.allowSignup = typeof connection.showSignup === \"boolean\" ? connection.showSignup : true;\n\t\n\t result.allowForgot = typeof connection.showForgot === \"boolean\" ? connection.showForgot : true;\n\t\n\t result.requireUsername = typeof connection.requiresUsername === \"boolean\" ? connection.requiresUsername : false;\n\t\n\t result.validation = formatConnectionValidation(connection.validation);\n\t }\n\t\n\t if (connectionType === \"enterprise\") {\n\t result.domains = connection.domains;\n\t }\n\t\n\t return result;\n\t}\n\t\n\tfunction tenantConnections(m) {\n\t return get(m, \"connections\", emptyConnections);\n\t}\n\t\n\tfunction defaultDirectory(m) {\n\t var name = defaultDirectoryName(m);\n\t return name && l.findConnection(m, name);\n\t}\n\t\n\tfunction defaultDirectoryName(m) {\n\t return get(m, \"defaultDirectory\", null);\n\t}\n\n/***/ },\n/* 82 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.isSSOEnabled = isSSOEnabled;\n\texports.usernameStyle = usernameStyle;\n\texports.hasOnlyClassicConnections = hasOnlyClassicConnections;\n\texports.useBigSocialButtons = useBigSocialButtons;\n\t\n\tvar _index = __webpack_require__(140);\n\t\n\tvar _index2 = _interopRequireDefault(_index);\n\t\n\tvar _login = __webpack_require__(300);\n\t\n\tvar _login2 = _interopRequireDefault(_login);\n\t\n\tvar _sign_up_screen = __webpack_require__(303);\n\t\n\tvar _sign_up_screen2 = _interopRequireDefault(_sign_up_screen);\n\t\n\tvar _mfa_login_screen = __webpack_require__(301);\n\t\n\tvar _mfa_login_screen2 = _interopRequireDefault(_mfa_login_screen);\n\t\n\tvar _reset_password = __webpack_require__(284);\n\t\n\tvar _reset_password2 = _interopRequireDefault(_reset_password);\n\t\n\tvar _index3 = __webpack_require__(137);\n\t\n\tvar _index4 = __webpack_require__(11);\n\t\n\tvar _enterprise = __webpack_require__(23);\n\t\n\tvar _tenant = __webpack_require__(81);\n\t\n\tvar _index5 = __webpack_require__(39);\n\t\n\tvar _email = __webpack_require__(26);\n\t\n\tvar _username = __webpack_require__(85);\n\t\n\tvar _index6 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index6);\n\t\n\tvar _kerberos_screen = __webpack_require__(290);\n\t\n\tvar _kerberos_screen2 = _interopRequireDefault(_kerberos_screen);\n\t\n\tvar _hrd_screen = __webpack_require__(289);\n\t\n\tvar _hrd_screen2 = _interopRequireDefault(_hrd_screen);\n\t\n\tvar _quick_auth_screen = __webpack_require__(291);\n\t\n\tvar _quick_auth_screen2 = _interopRequireDefault(_quick_auth_screen);\n\t\n\tvar _quick_auth = __webpack_require__(141);\n\t\n\tvar _loading_screen = __webpack_require__(295);\n\t\n\tvar _loading_screen2 = _interopRequireDefault(_loading_screen);\n\t\n\tvar _error_screen = __webpack_require__(294);\n\t\n\tvar _error_screen2 = _interopRequireDefault(_error_screen);\n\t\n\tvar _last_login_screen = __webpack_require__(298);\n\t\n\tvar _last_login_screen2 = _interopRequireDefault(_last_login_screen);\n\t\n\tvar _sync = __webpack_require__(45);\n\t\n\tvar _index7 = __webpack_require__(8);\n\t\n\tvar _index8 = __webpack_require__(12);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction isSSOEnabled(m) {\n\t return (0, _enterprise.isEnterpriseDomain)(m, (0, _index4.databaseUsernameValue)(m));\n\t}\n\t\n\tfunction usernameStyle(m) {\n\t return (0, _index4.authWithUsername)(m) && !isADEnabled(m) ? \"username\" : \"email\";\n\t}\n\t\n\tfunction hasOnlyClassicConnections(m) {\n\t var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\t\n\t for (var _len = arguments.length, strategies = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n\t strategies[_key - 2] = arguments[_key];\n\t }\n\t\n\t return l.hasOnlyConnections.apply(l, [m, type].concat(strategies)) && !l.hasSomeConnections(m, \"passwordless\");\n\t}\n\t\n\tfunction useBigSocialButtons(m) {\n\t return (0, _index5.useBigButtons)(m, hasOnlyClassicConnections(m, \"social\") ? 5 : 3);\n\t}\n\t\n\tfunction validateAllowedConnections(m) {\n\t var anyDBConnection = l.hasSomeConnections(m, \"database\");\n\t var anySocialConnection = l.hasSomeConnections(m, \"social\");\n\t var anyEnterpriseConnection = l.hasSomeConnections(m, \"enterprise\");\n\t\n\t if (!anyDBConnection && !anySocialConnection && !anyEnterpriseConnection) {\n\t var error = new Error(\"At least one database, enterprise or social connection needs to be available.\");\n\t error.code = \"no_connection\";\n\t m = l.stop(m, error);\n\t } else if (!anyDBConnection && (0, _index4.hasInitialScreen)(m, \"forgotPassword\")) {\n\t var _error = new Error(\"The `initialScreen` option was set to \\\"forgotPassword\\\" but no database connection is available.\");\n\t _error.code = \"unavailable_initial_screen\";\n\t m = l.stop(m, _error);\n\t } else if (!anyDBConnection && !anySocialConnection && (0, _index4.hasInitialScreen)(m, \"signUp\")) {\n\t var _error2 = new Error(\"The `initialScreen` option was set to \\\"signUp\\\" but no database or social connection is available.\");\n\t _error2.code = \"unavailable_initial_screen\";\n\t m = l.stop(m, _error2);\n\t }\n\t\n\t if ((0, _tenant.defaultDirectoryName)(m) && !(0, _tenant.defaultDirectory)(m)) {\n\t l.error(m, 'The account\\'s default directory \"' + (0, _tenant.defaultDirectoryName)(m) + '\" is not enabled.');\n\t }\n\t\n\t if ((0, _index4.defaultDatabaseConnectionName)(m) && !(0, _index4.defaultDatabaseConnection)(m)) {\n\t l.warn(m, 'The provided default database connection \"' + (0, _index4.defaultDatabaseConnectionName)(m) + '\" is not enabled.');\n\t }\n\t\n\t if ((0, _enterprise.defaultEnterpriseConnectionName)(m) && !(0, _enterprise.defaultEnterpriseConnection)(m)) {\n\t l.warn(m, 'The provided default enterprise connection \"' + (0, _enterprise.defaultEnterpriseConnectionName)(m) + '\" is not enabled or does not allow email/password authentication.');\n\t }\n\t\n\t return m;\n\t}\n\t\n\tvar Classic = function () {\n\t function Classic() {\n\t _classCallCheck(this, Classic);\n\t }\n\t\n\t Classic.prototype.didInitialize = function didInitialize(model, options) {\n\t model = (0, _index5.initSocial)(model, options);\n\t model = (0, _index4.initDatabase)(model, options);\n\t model = (0, _enterprise.initEnterprise)(model, options);\n\t\n\t var _ref = options.prefill || {},\n\t email = _ref.email,\n\t username = _ref.username;\n\t\n\t if (typeof email === \"string\") model = (0, _email.setEmail)(model, email);\n\t if (typeof username === \"string\") model = (0, _username.setUsername)(model, username, \"username\", false);\n\t\n\t return model;\n\t };\n\t\n\t Classic.prototype.didReceiveClientSettings = function didReceiveClientSettings(m) {\n\t return validateAllowedConnections(m);\n\t };\n\t\n\t Classic.prototype.willShow = function willShow(m, opts) {\n\t m = (0, _index4.overrideDatabaseOptions)(m, opts);\n\t if ((0, _sync.isSuccess)(m, \"client\")) {\n\t m = validateAllowedConnections(m);\n\t }\n\t return m;\n\t };\n\t\n\t Classic.prototype.render = function render(m) {\n\t // TODO: remove the detail about the loading pane being pinned,\n\t // sticky screens should be handled at the box module.\n\t if (!(0, _sync.isDone)(m) || m.get(\"isLoadingPanePinned\")) {\n\t return new _loading_screen2.default();\n\t }\n\t\n\t if (l.hasStopped(m)) {\n\t return new _error_screen2.default();\n\t }\n\t\n\t if ((0, _index4.hasScreen)(m, \"login\")) {\n\t if (!(0, _quick_auth.hasSkippedQuickAuth)(m) && l.ui.rememberLastLogin(m) && (0, _index4.hasInitialScreen)(m, \"login\")) {\n\t if ((0, _enterprise.isInCorpNetwork)(m)) {\n\t return new _kerberos_screen2.default();\n\t }\n\t\n\t var conn = (0, _index3.lastUsedConnection)(m);\n\t if (conn && (0, _sync.isSuccess)(m, \"sso\")) {\n\t if (l.hasConnection(m, conn.get(\"name\"))) {\n\t return new _last_login_screen2.default();\n\t }\n\t }\n\t }\n\t\n\t if ((0, _enterprise.quickAuthConnection)(m)) {\n\t return new _quick_auth_screen2.default();\n\t }\n\t\n\t if ((0, _enterprise.isHRDActive)(m)) {\n\t return new _hrd_screen2.default();\n\t }\n\t }\n\t\n\t var Screen = Classic.SCREENS[(0, _index4.getScreen)(m)];\n\t if (Screen) return new Screen();\n\t\n\t setTimeout(function () {\n\t var stopError = new Error(\"Internal error\");\n\t stopError.code = \"internal_error\";\n\t stopError.description = 'Couldn\\'t find a screen \"' + (0, _index4.getScreen)(m) + '\"';\n\t (0, _index8.swap)(_index8.updateEntity, \"lock\", l.id(m), l.stop, stopError);\n\t }, 0);\n\t\n\t return new _error_screen2.default();\n\t };\n\t\n\t return Classic;\n\t}();\n\t\n\tClassic.SCREENS = {\n\t login: _login2.default,\n\t forgotPassword: _reset_password2.default,\n\t signUp: _sign_up_screen2.default,\n\t mfaLogin: _mfa_login_screen2.default\n\t};\n\texports.default = new Classic();\n\n/***/ },\n/* 83 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _email_input = __webpack_require__(316);\n\t\n\tvar _email_input2 = _interopRequireDefault(_email_input);\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar c = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(12);\n\t\n\tvar _index3 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _email = __webpack_require__(26);\n\t\n\tvar _avatar = __webpack_require__(132);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar EmailPane = function (_React$Component) {\n\t _inherits(EmailPane, _React$Component);\n\t\n\t function EmailPane() {\n\t _classCallCheck(this, EmailPane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t EmailPane.prototype.componentDidMount = function componentDidMount() {\n\t var lock = this.props.lock;\n\t\n\t if (l.ui.avatar(lock) && c.email(lock)) {\n\t (0, _avatar.requestAvatar)(l.id(lock), c.email(lock));\n\t }\n\t };\n\t\n\t EmailPane.prototype.handleChange = function handleChange(e) {\n\t var lock = this.props.lock;\n\t\n\t if (l.ui.avatar(lock)) {\n\t (0, _avatar.debouncedRequestAvatar)(l.id(lock), e.target.value);\n\t }\n\t\n\t (0, _index2.swap)(_index2.updateEntity, \"lock\", l.id(lock), _email.setEmail, e.target.value);\n\t };\n\t\n\t EmailPane.prototype.render = function render() {\n\t var _props = this.props,\n\t i18n = _props.i18n,\n\t lock = _props.lock,\n\t placeholder = _props.placeholder;\n\t\n\t var value = c.getFieldValue(lock, \"email\");\n\t\n\t return _react2.default.createElement(_email_input2.default, {\n\t value: value,\n\t invalidHint: i18n.str(value ? \"invalidErrorHint\" : \"blankErrorHint\"),\n\t isValid: !c.isFieldVisiblyInvalid(lock, \"email\"),\n\t onChange: this.handleChange.bind(this),\n\t placeholder: placeholder\n\t });\n\t };\n\t\n\t return EmailPane;\n\t}(_react2.default.Component);\n\t\n\texports.default = EmailPane;\n\t\n\t\n\tEmailPane.propTypes = {\n\t i18n: _react2.default.PropTypes.object.isRequired,\n\t invalidHint: _react2.default.PropTypes.string,\n\t lock: _react2.default.PropTypes.object.isRequired,\n\t placeholder: _react2.default.PropTypes.string.isRequired\n\t};\n\n/***/ },\n/* 84 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _password_input = __webpack_require__(88);\n\t\n\tvar _password_input2 = _interopRequireDefault(_password_input);\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar c = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(12);\n\t\n\tvar _index3 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _password = __webpack_require__(308);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar PasswordPane = function (_React$Component) {\n\t _inherits(PasswordPane, _React$Component);\n\t\n\t function PasswordPane() {\n\t _classCallCheck(this, PasswordPane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t PasswordPane.prototype.handleChange = function handleChange(e) {\n\t var _props = this.props,\n\t lock = _props.lock,\n\t policy = _props.policy;\n\t\n\t (0, _index2.swap)(_index2.updateEntity, \"lock\", l.id(lock), _password.setPassword, e.target.value, policy);\n\t };\n\t\n\t PasswordPane.prototype.render = function render() {\n\t var _props2 = this.props,\n\t i18n = _props2.i18n,\n\t lock = _props2.lock,\n\t placeholder = _props2.placeholder,\n\t policy = _props2.policy,\n\t strengthMessages = _props2.strengthMessages;\n\t\n\t\n\t return _react2.default.createElement(_password_input2.default, {\n\t value: c.getFieldValue(lock, \"password\"),\n\t invalidHint: i18n.str(\"blankErrorHint\"),\n\t isValid: !c.isFieldVisiblyInvalid(lock, \"password\"),\n\t onChange: this.handleChange.bind(this),\n\t placeholder: placeholder,\n\t strengthMessages: strengthMessages,\n\t disabled: l.submitting(lock),\n\t policy: policy\n\t });\n\t };\n\t\n\t return PasswordPane;\n\t}(_react2.default.Component);\n\t\n\texports.default = PasswordPane;\n\t\n\t\n\tPasswordPane.propTypes = {\n\t i18n: _react2.default.PropTypes.object.isRequired,\n\t lock: _react2.default.PropTypes.object.isRequired,\n\t onChange: _react2.default.PropTypes.func,\n\t placeholder: _react2.default.PropTypes.string.isRequired,\n\t policy: _react2.default.PropTypes.string,\n\t strengthMessages: _react2.default.PropTypes.object\n\t};\n\n/***/ },\n/* 85 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.getUsernameValidation = getUsernameValidation;\n\texports.setUsername = setUsername;\n\texports.usernameLooksLikeEmail = usernameLooksLikeEmail;\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar _email = __webpack_require__(26);\n\t\n\tvar _database = __webpack_require__(11);\n\t\n\tvar _trim = __webpack_require__(25);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar DEFAULT_CONNECTION_VALIDATION = { username: { min: 1, max: 15 } };\n\tvar regExp = /^[a-zA-Z0-9_]+$/;\n\t\n\tfunction validateUsername(str, validateFormat) {\n\t var settings = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_CONNECTION_VALIDATION.username;\n\t\n\t\n\t // If the connection does not have validation settings, it should only check if the field is empty.\n\t // validateFormat overrides this logic to disable validation on login (login should never validate format)\n\t if (!validateFormat || settings == null) {\n\t return (0, _trim2.default)(str).length > 0;\n\t }\n\t\n\t var lowercased = (0, _trim2.default)(str.toLowerCase());\n\t\n\t // chekc min value matched\n\t if (lowercased.length < settings.min) {\n\t return false;\n\t }\n\t\n\t // check max value matched\n\t if (lowercased.length > settings.max) {\n\t return false;\n\t }\n\t\n\t // check allowed characters matched\n\t var result = regExp.exec(lowercased);\n\t return result && result[0];\n\t}\n\t\n\tfunction getUsernameValidation(m) {\n\t var usernameValidation = (0, _database.databaseConnection)(m).getIn(['validation', 'username']);\n\t return usernameValidation ? usernameValidation.toJS() : null;\n\t}\n\t\n\tfunction setUsername(m, str) {\n\t var usernameStyle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"username\";\n\t var validateUsernameFormat = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\t\n\t var usernameValidation = validateUsernameFormat ? getUsernameValidation(m) : null;\n\t\n\t var validator = function validator(value) {\n\t switch (usernameStyle) {\n\t case \"email\":\n\t return (0, _email.validateEmail)(value);\n\t case \"username\":\n\t return validateUsername(value, validateUsernameFormat, usernameValidation);\n\t default:\n\t return usernameLooksLikeEmail(value) ? (0, _email.validateEmail)(value) : validateUsername(value, validateUsernameFormat, usernameValidation);\n\t }\n\t };\n\t\n\t return (0, _index.setField)(m, \"username\", str, validator);\n\t}\n\t\n\tfunction usernameLooksLikeEmail(str) {\n\t return str.indexOf(\"@\") > -1;\n\t}\n\n/***/ },\n/* 86 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _username_input = __webpack_require__(320);\n\t\n\tvar _username_input2 = _interopRequireDefault(_username_input);\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar c = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(12);\n\t\n\tvar _index3 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _username = __webpack_require__(85);\n\t\n\tvar _avatar = __webpack_require__(132);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar UsernamePane = function (_React$Component) {\n\t _inherits(UsernamePane, _React$Component);\n\t\n\t function UsernamePane() {\n\t _classCallCheck(this, UsernamePane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t UsernamePane.prototype.componentDidMount = function componentDidMount() {\n\t var lock = this.props.lock;\n\t\n\t if (l.ui.avatar(lock) && c.username(lock)) {\n\t (0, _avatar.requestAvatar)(l.id(lock), c.username(lock));\n\t }\n\t };\n\t\n\t UsernamePane.prototype.handleChange = function handleChange(e) {\n\t var _props = this.props,\n\t lock = _props.lock,\n\t validateFormat = _props.validateFormat,\n\t usernameStyle = _props.usernameStyle;\n\t\n\t if (l.ui.avatar(lock)) {\n\t (0, _avatar.debouncedRequestAvatar)(l.id(lock), e.target.value);\n\t }\n\t\n\t (0, _index2.swap)(_index2.updateEntity, \"lock\", l.id(lock), _username.setUsername, e.target.value, usernameStyle, validateFormat);\n\t };\n\t\n\t UsernamePane.prototype.render = function render() {\n\t var _props2 = this.props,\n\t i18n = _props2.i18n,\n\t lock = _props2.lock,\n\t placeholder = _props2.placeholder,\n\t validateFormat = _props2.validateFormat;\n\t\n\t var value = c.getFieldValue(lock, \"username\");\n\t var usernameValidation = validateFormat ? (0, _username.getUsernameValidation)(lock) : {};\n\t\n\t var invalidHintKey = function invalidHintKey(str) {\n\t if (!str) return \"blankErrorHint\";\n\t if ((0, _username.usernameLooksLikeEmail)(str) || !validateFormat) return \"invalidErrorHint\";\n\t return \"usernameFormatErrorHint\";\n\t };\n\t\n\t var invalidHint = function invalidHint(str) {\n\t var hintKey = invalidHintKey(str);\n\t\n\t // only show format info in the error if it should validate the format and \n\t // if there is any format restrictions for the connection\n\t if (\"usernameFormatErrorHint\" === hintKey && validateFormat && usernameValidation != null) {\n\t return i18n.str(hintKey, usernameValidation.min, usernameValidation.max);\n\t }\n\t\n\t return i18n.str(hintKey);\n\t };\n\t\n\t return _react2.default.createElement(_username_input2.default, {\n\t value: value,\n\t invalidHint: invalidHint(value),\n\t isValid: !c.isFieldVisiblyInvalid(lock, \"username\"),\n\t onChange: this.handleChange.bind(this),\n\t placeholder: placeholder\n\t });\n\t };\n\t\n\t return UsernamePane;\n\t}(_react2.default.Component);\n\t\n\texports.default = UsernamePane;\n\t\n\t\n\tUsernamePane.propTypes = {\n\t i18n: _react2.default.PropTypes.object.isRequired,\n\t lock: _react2.default.PropTypes.object.isRequired,\n\t placeholder: _react2.default.PropTypes.string.isRequired,\n\t validateFormat: _react2.default.PropTypes.bool.isRequired,\n\t usernameStyle: _react2.default.PropTypes.oneOf([\"any\", \"email\", \"username\"])\n\t};\n\t\n\tUsernamePane.defaultProps = {\n\t validateFormat: false,\n\t usernameStyle: \"username\"\n\t};\n\n/***/ },\n/* 87 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _confirmation_pane = __webpack_require__(312);\n\t\n\tvar _confirmation_pane2 = _interopRequireDefault(_confirmation_pane);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar svg = '<svg width=\"56px\" height=\"56px\" viewBox=\"0 0 52 52\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"checkmark\"> <circle cx=\"26\" cy=\"26\" r=\"25\" fill=\"none\" class=\"checkmark__circle\"></circle> <path fill=\"none\" d=\"M14.1 27.2l7.1 7.2 16.7-16.8\" class=\"checkmark__check\"></path> </svg>';\n\t\n\tvar SuccessPane = function SuccessPane(props) {\n\t return _react2.default.createElement(_confirmation_pane2.default, _extends({ svg: svg }, props));\n\t};\n\t\n\texports.default = SuccessPane;\n\n/***/ },\n/* 88 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.icon = undefined;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _input_wrap = __webpack_require__(40);\n\t\n\tvar _input_wrap2 = _interopRequireDefault(_input_wrap);\n\t\n\tvar _password_strength = __webpack_require__(318);\n\t\n\tvar _password_strength2 = _interopRequireDefault(_password_strength);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar icon = exports.icon = '<svg width=\"11px\" height=\"14px\" viewBox=\"0 0 13 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"auth0-lock-icon auth0-lock-icon-box\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g transform=\"translate(-288.000000, -1508.000000)\" fill=\"#888888\"><path d=\"M299,1523.998 L290,1523.998 C288.896,1523.998 288,1523.102 288,1521.999 L288,1515.999 C288,1514.895 288.896,1513.998 290,1513.998 L290,1513.998 L290,1512.499 C290,1510.015 292.015,1507.999 294.5,1507.999 C296.985,1507.999 299,1510.015 299,1512.499 L299,1513.999 C300.104,1513.999 301,1514.895 301,1515.999 L301,1521.999 C301,1523.103 300.104,1523.998 299,1523.998 L299,1523.998 Z M298,1512.499 C298,1510.566 296.433,1508.999 294.5,1508.999 C292.567,1508.999 291,1510.566 291,1512.499 L291,1513.998 L298,1513.998 L298,1512.499 L298,1512.499 Z M300,1515.999 C300,1515.446 299.552,1514.998 299,1514.998 L290,1514.998 C289.447,1514.998 289,1515.446 289,1515.999 L289,1521.999 C289,1522.551 289.447,1522.998 290,1522.998 L299,1522.998 C299.552,1522.998 300,1522.551 300,1521.999 L300,1515.999 L300,1515.999 Z M294.5,1520.998 C294.224,1520.998 294,1520.774 294,1520.498 L294,1517.498 C294,1517.223 294.224,1516.999 294.5,1516.999 C294.776,1516.999 295,1517.223 295,1517.498 L295,1520.498 C295,1520.774 294.776,1520.998 294.5,1520.998 L294.5,1520.998 Z\"></path></g></g></svg>';\n\t\n\tvar PasswordInput = function (_React$Component) {\n\t _inherits(PasswordInput, _React$Component);\n\t\n\t function PasswordInput(props) {\n\t _classCallCheck(this, PasswordInput);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.state = {};\n\t return _this;\n\t }\n\t\n\t PasswordInput.prototype.focus = function focus() {\n\t this.refs.input && this.refs.input.focus();\n\t };\n\t\n\t PasswordInput.prototype.hasFocus = function hasFocus() {\n\t return this.state.focused;\n\t };\n\t\n\t PasswordInput.prototype.render = function render() {\n\t var _props = this.props,\n\t invalidHint = _props.invalidHint,\n\t isValid = _props.isValid,\n\t onChange = _props.onChange,\n\t policy = _props.policy,\n\t strengthMessages = _props.strengthMessages,\n\t value = _props.value,\n\t props = _objectWithoutProperties(_props, ['invalidHint', 'isValid', 'onChange', 'policy', 'strengthMessages', 'value']);\n\t\n\t var _state = this.state,\n\t focused = _state.focused,\n\t changing = _state.changing;\n\t\n\t\n\t var passwordStrength = policy && focused && changing ? _react2.default.createElement(_password_strength2.default, {\n\t messages: strengthMessages,\n\t password: value,\n\t policy: policy\n\t }) : null;\n\t\n\t return _react2.default.createElement(\n\t _input_wrap2.default,\n\t {\n\t before: passwordStrength,\n\t focused: focused,\n\t invalidHint: policy ? undefined : invalidHint,\n\t isValid: isValid,\n\t name: 'password',\n\t icon: icon\n\t },\n\t _react2.default.createElement('input', _extends({\n\t ref: 'input',\n\t type: 'password',\n\t name: 'password',\n\t className: 'auth0-lock-input',\n\t autoComplete: 'off',\n\t autoCapitalize: 'off',\n\t onChange: this.handleOnChange.bind(this),\n\t onFocus: this.handleFocus.bind(this),\n\t onBlur: this.handleBlur.bind(this),\n\t value: value\n\t }, props))\n\t );\n\t };\n\t\n\t PasswordInput.prototype.handleOnChange = function handleOnChange(e) {\n\t var state = this.state;\n\t state.changing = true;\n\t this.setState(state);\n\t if (this.props.onChange) {\n\t this.props.onChange(e);\n\t }\n\t };\n\t\n\t PasswordInput.prototype.handleFocus = function handleFocus() {\n\t this.setState({ focused: true });\n\t };\n\t\n\t PasswordInput.prototype.handleBlur = function handleBlur() {\n\t this.setState({ focused: false });\n\t };\n\t\n\t return PasswordInput;\n\t}(_react2.default.Component);\n\t\n\tPasswordInput.propTypes = {\n\t invalidHint: _react2.default.PropTypes.string.isRequired,\n\t isValid: _react2.default.PropTypes.bool.isRequired,\n\t onChange: _react2.default.PropTypes.func.isRequired,\n\t placeholder: _react2.default.PropTypes.string,\n\t policy: _react2.default.PropTypes.string,\n\t strengthMessages: _react2.default.PropTypes.object,\n\t value: _react2.default.PropTypes.string.isRequired\n\t};\n\texports.default = PasswordInput;\n\n/***/ },\n/* 89 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _auth_button = __webpack_require__(143);\n\t\n\tvar _auth_button2 = _interopRequireDefault(_auth_button);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar QuickAuthPane = function QuickAuthPane(props) {\n\t var alternativeLabel = props.alternativeLabel,\n\t alternativeClickHandler = props.alternativeClickHandler,\n\t buttonLabel = props.buttonLabel,\n\t buttonClickHandler = props.buttonClickHandler,\n\t header = props.header,\n\t strategy = props.strategy,\n\t buttonIcon = props.buttonIcon,\n\t primaryColor = props.primaryColor,\n\t foregroundColor = props.foregroundColor;\n\t\n\t\n\t var alternative = alternativeLabel ? _react2.default.createElement(\n\t 'p',\n\t { className: 'auth0-lock-alternative' },\n\t _react2.default.createElement(\n\t 'a',\n\t {\n\t className: 'auth0-lock-alternative-link',\n\t href: '#',\n\t onClick: function onClick(e) {\n\t e.preventDefault();alternativeClickHandler(e);\n\t }\n\t },\n\t alternativeLabel\n\t )\n\t ) : null;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-last-login-pane' },\n\t header,\n\t _react2.default.createElement(_auth_button2.default, {\n\t label: buttonLabel,\n\t onClick: function onClick(e) {\n\t e.preventDefault();buttonClickHandler(e);\n\t },\n\t strategy: strategy,\n\t primaryColor: primaryColor,\n\t foregroundColor: foregroundColor,\n\t icon: buttonIcon\n\t }),\n\t alternative,\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-loading-container' },\n\t _react2.default.createElement('div', { className: 'auth0-loading' })\n\t )\n\t );\n\t};\n\t\n\tQuickAuthPane.propTypes = {\n\t alternativeLabel: _react2.default.PropTypes.string,\n\t alternativeClickHandler: function alternativeClickHandler(props, propName, component) {\n\t for (var _len = arguments.length, rest = Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n\t rest[_key - 3] = arguments[_key];\n\t }\n\t\n\t if (props.alternativeLabel !== undefined) {\n\t var _React$PropTypes$func;\n\t\n\t return (_React$PropTypes$func = _react2.default.PropTypes.func).isRequired.apply(_React$PropTypes$func, [props, propName, component].concat(rest));\n\t }\n\t },\n\t buttonLabel: _react2.default.PropTypes.string.isRequired,\n\t buttonClickHandler: _react2.default.PropTypes.func.isRequired,\n\t header: _react2.default.PropTypes.element,\n\t strategy: _react2.default.PropTypes.string.isRequired\n\t};\n\t\n\texports.default = QuickAuthPane;\n\n/***/ },\n/* 90 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\texports.__esModule = true;\n\texports.load = load;\n\texports.preload = preload;\n\t\n\tvar _auth0Js = __webpack_require__(56);\n\t\n\tvar _auth0Js2 = _interopRequireDefault(_auth0Js);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tif (!global.Auth0) {\n\t global.Auth0 = _auth0Js2.default;\n\t}\n\t\n\tvar cbs = {};\n\t\n\tfunction load(attrs) {\n\t var cb = attrs.cb,\n\t check = attrs.check,\n\t method = attrs.method,\n\t url = attrs.url;\n\t\n\t\n\t if (!cbs[method]) {\n\t cbs[method] = [];\n\t global.Auth0[method] = function () {\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t cbs[method] = cbs[method].filter(function (x) {\n\t if (x.check.apply(x, args)) {\n\t setTimeout(function () {\n\t return x.cb.apply(x, [null].concat(args));\n\t }, 0);\n\t return false;\n\t } else {\n\t return true;\n\t }\n\t });\n\t };\n\t }\n\t\n\t cbs[method].push({ cb: cb, check: check, url: url });\n\t\n\t var count = cbs[method].reduce(function (r, x) {\n\t return r + (x.url === url ? 1 : 0);\n\t }, 0);\n\t\n\t if (count > 1) return;\n\t\n\t var script = global.document.createElement('script');\n\t script.src = url;\n\t global.document.getElementsByTagName('head')[0].appendChild(script);\n\t\n\t var handleError = function handleError(url) {\n\t cbs[method] = cbs[method].filter(function (x) {\n\t if (x.url === url) {\n\t setTimeout(function () {\n\t return x.cb({});\n\t }, 0);\n\t return false;\n\t } else {\n\t return true;\n\t }\n\t });\n\t };\n\t\n\t var timeoutID = setTimeout(function () {\n\t return handleError(url);\n\t }, 5000);\n\t\n\t script.addEventListener('load', function () {\n\t return clearTimeout(timeoutID);\n\t });\n\t\n\t script.addEventListener('error', function () {\n\t clearTimeout(timeoutID);\n\t handleError(url);\n\t });\n\t}\n\t\n\tfunction preload(_ref) {\n\t var method = _ref.method,\n\t cb = _ref.cb;\n\t\n\t global.Auth0[method] = cb;\n\t}\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 91 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.matches = matches;\n\texports.startsWith = startsWith;\n\texports.endsWith = endsWith;\n\tfunction matches(search, str) {\n\t return str.toLowerCase().indexOf(search.toLowerCase()) > -1;\n\t}\n\t\n\tfunction startsWith(str, search) {\n\t return str.indexOf(search) === 0;\n\t}\n\t\n\tfunction endsWith(str, search) {\n\t return str.indexOf(search, str.length - search.length) !== -1;\n\t}\n\n/***/ },\n/* 92 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Expose `JSON.parse` method or fallback if not\n\t * exists on `window`\n\t */\n\t\n\tmodule.exports = 'undefined' === typeof JSON ? __webpack_require__(158).parse : JSON.parse;\n\n/***/ },\n/* 93 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar replace = String.prototype.replace;\n\tvar percentTwenties = /%20/g;\n\t\n\tmodule.exports = {\n\t 'default': 'RFC3986',\n\t formatters: {\n\t RFC1738: function RFC1738(value) {\n\t return replace.call(value, percentTwenties, '+');\n\t },\n\t RFC3986: function RFC3986(value) {\n\t return value;\n\t }\n\t },\n\t RFC1738: 'RFC1738',\n\t RFC3986: 'RFC3986'\n\t};\n\n/***/ },\n/* 94 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar has = Object.prototype.hasOwnProperty;\n\t\n\tvar hexTable = function () {\n\t var array = [];\n\t for (var i = 0; i < 256; ++i) {\n\t array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n\t }\n\t\n\t return array;\n\t}();\n\t\n\texports.arrayToObject = function (source, options) {\n\t var obj = options && options.plainObjects ? Object.create(null) : {};\n\t for (var i = 0; i < source.length; ++i) {\n\t if (typeof source[i] !== 'undefined') {\n\t obj[i] = source[i];\n\t }\n\t }\n\t\n\t return obj;\n\t};\n\t\n\texports.merge = function (target, source, options) {\n\t if (!source) {\n\t return target;\n\t }\n\t\n\t if ((typeof source === 'undefined' ? 'undefined' : _typeof(source)) !== 'object') {\n\t if (Array.isArray(target)) {\n\t target.push(source);\n\t } else if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object') {\n\t target[source] = true;\n\t } else {\n\t return [target, source];\n\t }\n\t\n\t return target;\n\t }\n\t\n\t if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) !== 'object') {\n\t return [target].concat(source);\n\t }\n\t\n\t var mergeTarget = target;\n\t if (Array.isArray(target) && !Array.isArray(source)) {\n\t mergeTarget = exports.arrayToObject(target, options);\n\t }\n\t\n\t if (Array.isArray(target) && Array.isArray(source)) {\n\t source.forEach(function (item, i) {\n\t if (has.call(target, i)) {\n\t if (target[i] && _typeof(target[i]) === 'object') {\n\t target[i] = exports.merge(target[i], item, options);\n\t } else {\n\t target.push(item);\n\t }\n\t } else {\n\t target[i] = item;\n\t }\n\t });\n\t return target;\n\t }\n\t\n\t return Object.keys(source).reduce(function (acc, key) {\n\t var value = source[key];\n\t\n\t if (Object.prototype.hasOwnProperty.call(acc, key)) {\n\t acc[key] = exports.merge(acc[key], value, options);\n\t } else {\n\t acc[key] = value;\n\t }\n\t return acc;\n\t }, mergeTarget);\n\t};\n\t\n\texports.decode = function (str) {\n\t try {\n\t return decodeURIComponent(str.replace(/\\+/g, ' '));\n\t } catch (e) {\n\t return str;\n\t }\n\t};\n\t\n\texports.encode = function (str) {\n\t // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n\t // It has been adapted here for stricter adherence to RFC 3986\n\t if (str.length === 0) {\n\t return str;\n\t }\n\t\n\t var string = typeof str === 'string' ? str : String(str);\n\t\n\t var out = '';\n\t for (var i = 0; i < string.length; ++i) {\n\t var c = string.charCodeAt(i);\n\t\n\t if (c === 0x2D || // -\n\t c === 0x2E || // .\n\t c === 0x5F || // _\n\t c === 0x7E || // ~\n\t c >= 0x30 && c <= 0x39 || // 0-9\n\t c >= 0x41 && c <= 0x5A || // a-z\n\t c >= 0x61 && c <= 0x7A // A-Z\n\t ) {\n\t out += string.charAt(i);\n\t continue;\n\t }\n\t\n\t if (c < 0x80) {\n\t out = out + hexTable[c];\n\t continue;\n\t }\n\t\n\t if (c < 0x800) {\n\t out = out + (hexTable[0xC0 | c >> 6] + hexTable[0x80 | c & 0x3F]);\n\t continue;\n\t }\n\t\n\t if (c < 0xD800 || c >= 0xE000) {\n\t out = out + (hexTable[0xE0 | c >> 12] + hexTable[0x80 | c >> 6 & 0x3F] + hexTable[0x80 | c & 0x3F]);\n\t continue;\n\t }\n\t\n\t i += 1;\n\t c = 0x10000 + ((c & 0x3FF) << 10 | string.charCodeAt(i) & 0x3FF);\n\t out += hexTable[0xF0 | c >> 18] + hexTable[0x80 | c >> 12 & 0x3F] + hexTable[0x80 | c >> 6 & 0x3F] + hexTable[0x80 | c & 0x3F];\n\t }\n\t\n\t return out;\n\t};\n\t\n\texports.compact = function (obj, references) {\n\t if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object' || obj === null) {\n\t return obj;\n\t }\n\t\n\t var refs = references || [];\n\t var lookup = refs.indexOf(obj);\n\t if (lookup !== -1) {\n\t return refs[lookup];\n\t }\n\t\n\t refs.push(obj);\n\t\n\t if (Array.isArray(obj)) {\n\t var compacted = [];\n\t\n\t for (var i = 0; i < obj.length; ++i) {\n\t if (obj[i] && _typeof(obj[i]) === 'object') {\n\t compacted.push(exports.compact(obj[i], refs));\n\t } else if (typeof obj[i] !== 'undefined') {\n\t compacted.push(obj[i]);\n\t }\n\t }\n\t\n\t return compacted;\n\t }\n\t\n\t var keys = Object.keys(obj);\n\t keys.forEach(function (key) {\n\t obj[key] = exports.compact(obj[key], refs);\n\t });\n\t\n\t return obj;\n\t};\n\t\n\texports.isRegExp = function (obj) {\n\t return Object.prototype.toString.call(obj) === '[object RegExp]';\n\t};\n\t\n\texports.isBuffer = function (obj) {\n\t if (obj === null || typeof obj === 'undefined') {\n\t return false;\n\t }\n\t\n\t return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n\t};\n\n/***/ },\n/* 95 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-2015, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule CSSCore\n\t * @typechecks\n\t */\n\t\n\t'use strict';\n\t\n\tvar invariant = __webpack_require__(176);\n\t\n\t/**\n\t * The CSSCore module specifies the API (and implements most of the methods)\n\t * that should be used when dealing with the display of elements (via their\n\t * CSS classes and visibility on screen. It is an API focused on mutating the\n\t * display and not reading it as no logical state should be encoded in the\n\t * display of elements.\n\t */\n\t\n\tvar CSSCore = {\n\t\n\t /**\n\t * Adds the class passed in to the element if it doesn't already have it.\n\t *\n\t * @param {DOMElement} element the element to set the class on\n\t * @param {string} className the CSS className\n\t * @return {DOMElement} the element passed in\n\t */\n\t addClass: function addClass(element, className) {\n\t !!/\\s/.test(className) ? false ? invariant(false, 'CSSCore.addClass takes only a single class name. \"%s\" contains ' + 'multiple classes.', className) : invariant(false) : undefined;\n\t\n\t if (className) {\n\t if (element.classList) {\n\t element.classList.add(className);\n\t } else if (!CSSCore.hasClass(element, className)) {\n\t element.className = element.className + ' ' + className;\n\t }\n\t }\n\t return element;\n\t },\n\t\n\t /**\n\t * Removes the class passed in from the element\n\t *\n\t * @param {DOMElement} element the element to set the class on\n\t * @param {string} className the CSS className\n\t * @return {DOMElement} the element passed in\n\t */\n\t removeClass: function removeClass(element, className) {\n\t !!/\\s/.test(className) ? false ? invariant(false, 'CSSCore.removeClass takes only a single class name. \"%s\" contains ' + 'multiple classes.', className) : invariant(false) : undefined;\n\t\n\t if (className) {\n\t if (element.classList) {\n\t element.classList.remove(className);\n\t } else if (CSSCore.hasClass(element, className)) {\n\t element.className = element.className.replace(new RegExp('(^|\\\\s)' + className + '(?:\\\\s|$)', 'g'), '$1').replace(/\\s+/g, ' ') // multiple spaces to one\n\t .replace(/^\\s*|\\s*$/g, ''); // trim the ends\n\t }\n\t }\n\t return element;\n\t },\n\t\n\t /**\n\t * Helper to add or remove a class from an element based on a condition.\n\t *\n\t * @param {DOMElement} element the element to set the class on\n\t * @param {string} className the CSS className\n\t * @param {*} bool condition to whether to add or remove the class\n\t * @return {DOMElement} the element passed in\n\t */\n\t conditionClass: function conditionClass(element, className, bool) {\n\t return (bool ? CSSCore.addClass : CSSCore.removeClass)(element, className);\n\t },\n\t\n\t /**\n\t * Tests whether the element has the class specified.\n\t *\n\t * @param {DOMNode|DOMWindow} element the element to set the class on\n\t * @param {string} className the CSS className\n\t * @return {boolean} true if the element has the class, false if not\n\t */\n\t hasClass: function hasClass(element, className) {\n\t !!/\\s/.test(className) ? false ? invariant(false, 'CSS.hasClass takes only a single class name.') : invariant(false) : undefined;\n\t if (element.classList) {\n\t return !!className && element.classList.contains(className);\n\t }\n\t return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1;\n\t }\n\t\n\t};\n\t\n\tmodule.exports = CSSCore;\n\n/***/ },\n/* 96 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar charsets = __webpack_require__(57).charsets;\n\t\n\tvar upperCase = charsets.upperCase;\n\tvar lowerCase = charsets.lowerCase;\n\tvar numbers = charsets.numbers;\n\tvar specialCharacters = charsets.specialCharacters;\n\t\n\tvar PasswordPolicy = __webpack_require__(181);\n\t\n\tvar none = new PasswordPolicy({\n\t length: { minLength: 1 }\n\t});\n\t\n\tvar low = new PasswordPolicy({\n\t length: { minLength: 6 }\n\t});\n\t\n\tvar fair = new PasswordPolicy({\n\t length: { minLength: 8 },\n\t contains: {\n\t expressions: [lowerCase, upperCase, numbers]\n\t }\n\t});\n\t\n\tvar good = new PasswordPolicy({\n\t length: { minLength: 8 },\n\t containsAtLeast: {\n\t atLeast: 3,\n\t expressions: [lowerCase, upperCase, numbers, specialCharacters]\n\t }\n\t});\n\t\n\tvar excellent = new PasswordPolicy({\n\t length: { minLength: 10 },\n\t containsAtLeast: {\n\t atLeast: 3,\n\t expressions: [lowerCase, upperCase, numbers, specialCharacters]\n\t },\n\t identicalChars: { max: 2 }\n\t});\n\t\n\tvar policiesByName = {\n\t none: none,\n\t low: low,\n\t fair: fair,\n\t good: good,\n\t excellent: excellent\n\t};\n\t\n\t/**\n\t * Creates a password policy.\n\t *\n\t * @param {String} policyName Name of policy to use.\n\t */\n\tmodule.exports = function (policyName) {\n\t var policy = policiesByName[policyName] || policiesByName.none;\n\t\n\t return {\n\t /**\n\t * Checks that a password meets this policy\n\t *\n\t * @method check\n\t * @param {String} password\n\t */\n\t check: function check(password) {\n\t return policy.check(password);\n\t },\n\t /**\n\t * @method assert\n\t * Asserts that a passord meets this policy else throws an exception.\n\t *\n\t * @param {String} password\n\t */\n\t assert: function assert(password) {\n\t return policy.assert(password);\n\t },\n\t\n\t missing: function missing(password) {\n\t return policy.missing(password);\n\t },\n\t\n\t missingAsMarkdown: function missingAsMarkdown(password) {\n\t return policy.missingAsMarkdown(password);\n\t },\n\t\n\t explain: function explain() {\n\t return policy.explain();\n\t },\n\t\n\t /**\n\t * Friendly string representation of the policy\n\t * @method toString\n\t */\n\t toString: function toString() {\n\t return policy.toString();\n\t }\n\t };\n\t};\n\t\n\tmodule.exports.PasswordPolicy = PasswordPolicy;\n\t\n\tmodule.exports.charsets = charsets;\n\t\n\t// module.exports.rulesToApply = rulesToApply;\n\n/***/ },\n/* 97 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * CSS properties which accept numbers but are not in units of \"px\".\n\t */\n\t\n\tvar isUnitlessNumber = {\n\t animationIterationCount: true,\n\t borderImageOutset: true,\n\t borderImageSlice: true,\n\t borderImageWidth: true,\n\t boxFlex: true,\n\t boxFlexGroup: true,\n\t boxOrdinalGroup: true,\n\t columnCount: true,\n\t flex: true,\n\t flexGrow: true,\n\t flexPositive: true,\n\t flexShrink: true,\n\t flexNegative: true,\n\t flexOrder: true,\n\t gridRow: true,\n\t gridColumn: true,\n\t fontWeight: true,\n\t lineClamp: true,\n\t lineHeight: true,\n\t opacity: true,\n\t order: true,\n\t orphans: true,\n\t tabSize: true,\n\t widows: true,\n\t zIndex: true,\n\t zoom: true,\n\t\n\t // SVG-related properties\n\t fillOpacity: true,\n\t floodOpacity: true,\n\t stopOpacity: true,\n\t strokeDasharray: true,\n\t strokeDashoffset: true,\n\t strokeMiterlimit: true,\n\t strokeOpacity: true,\n\t strokeWidth: true\n\t};\n\t\n\t/**\n\t * @param {string} prefix vendor-specific prefix, eg: Webkit\n\t * @param {string} key style name, eg: transitionDuration\n\t * @return {string} style name prefixed with `prefix`, properly camelCased, eg:\n\t * WebkitTransitionDuration\n\t */\n\tfunction prefixKey(prefix, key) {\n\t return prefix + key.charAt(0).toUpperCase() + key.substring(1);\n\t}\n\t\n\t/**\n\t * Support style names that may come passed in prefixed by adding permutations\n\t * of vendor prefixes.\n\t */\n\tvar prefixes = ['Webkit', 'ms', 'Moz', 'O'];\n\t\n\t// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an\n\t// infinite loop, because it iterates over the newly added props too.\n\tObject.keys(isUnitlessNumber).forEach(function (prop) {\n\t prefixes.forEach(function (prefix) {\n\t isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];\n\t });\n\t});\n\t\n\t/**\n\t * Most style properties can be unset by doing .style[prop] = '' but IE8\n\t * doesn't like doing that with shorthand properties so for the properties that\n\t * IE8 breaks on, which are listed here, we instead unset each of the\n\t * individual properties. See http://bugs.jquery.com/ticket/12385.\n\t * The 4-value 'clock' properties like margin, padding, border-width seem to\n\t * behave without any problems. Curiously, list-style works too without any\n\t * special prodding.\n\t */\n\tvar shorthandPropertyExpansions = {\n\t background: {\n\t backgroundAttachment: true,\n\t backgroundColor: true,\n\t backgroundImage: true,\n\t backgroundPositionX: true,\n\t backgroundPositionY: true,\n\t backgroundRepeat: true\n\t },\n\t backgroundPosition: {\n\t backgroundPositionX: true,\n\t backgroundPositionY: true\n\t },\n\t border: {\n\t borderWidth: true,\n\t borderStyle: true,\n\t borderColor: true\n\t },\n\t borderBottom: {\n\t borderBottomWidth: true,\n\t borderBottomStyle: true,\n\t borderBottomColor: true\n\t },\n\t borderLeft: {\n\t borderLeftWidth: true,\n\t borderLeftStyle: true,\n\t borderLeftColor: true\n\t },\n\t borderRight: {\n\t borderRightWidth: true,\n\t borderRightStyle: true,\n\t borderRightColor: true\n\t },\n\t borderTop: {\n\t borderTopWidth: true,\n\t borderTopStyle: true,\n\t borderTopColor: true\n\t },\n\t font: {\n\t fontStyle: true,\n\t fontVariant: true,\n\t fontWeight: true,\n\t fontSize: true,\n\t lineHeight: true,\n\t fontFamily: true\n\t },\n\t outline: {\n\t outlineWidth: true,\n\t outlineStyle: true,\n\t outlineColor: true\n\t }\n\t};\n\t\n\tvar CSSProperty = {\n\t isUnitlessNumber: isUnitlessNumber,\n\t shorthandPropertyExpansions: shorthandPropertyExpansions\n\t};\n\t\n\tmodule.exports = CSSProperty;\n\n/***/ },\n/* 98 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar PooledClass = __webpack_require__(27);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * A specialized pseudo-event module to help keep track of components waiting to\n\t * be notified when their DOM representations are available for use.\n\t *\n\t * This implements `PooledClass`, so you should never need to instantiate this.\n\t * Instead, use `CallbackQueue.getPooled()`.\n\t *\n\t * @class ReactMountReady\n\t * @implements PooledClass\n\t * @internal\n\t */\n\t\n\tvar CallbackQueue = function () {\n\t function CallbackQueue(arg) {\n\t _classCallCheck(this, CallbackQueue);\n\t\n\t this._callbacks = null;\n\t this._contexts = null;\n\t this._arg = arg;\n\t }\n\t\n\t /**\n\t * Enqueues a callback to be invoked when `notifyAll` is invoked.\n\t *\n\t * @param {function} callback Invoked when `notifyAll` is invoked.\n\t * @param {?object} context Context to call `callback` with.\n\t * @internal\n\t */\n\t\n\t CallbackQueue.prototype.enqueue = function enqueue(callback, context) {\n\t this._callbacks = this._callbacks || [];\n\t this._callbacks.push(callback);\n\t this._contexts = this._contexts || [];\n\t this._contexts.push(context);\n\t };\n\t\n\t /**\n\t * Invokes all enqueued callbacks and clears the queue. This is invoked after\n\t * the DOM representation of a component has been created or updated.\n\t *\n\t * @internal\n\t */\n\t\n\t CallbackQueue.prototype.notifyAll = function notifyAll() {\n\t var callbacks = this._callbacks;\n\t var contexts = this._contexts;\n\t var arg = this._arg;\n\t if (callbacks && contexts) {\n\t !(callbacks.length === contexts.length) ? false ? invariant(false, 'Mismatched list of contexts in callback queue') : _prodInvariant('24') : void 0;\n\t this._callbacks = null;\n\t this._contexts = null;\n\t for (var i = 0; i < callbacks.length; i++) {\n\t callbacks[i].call(contexts[i], arg);\n\t }\n\t callbacks.length = 0;\n\t contexts.length = 0;\n\t }\n\t };\n\t\n\t CallbackQueue.prototype.checkpoint = function checkpoint() {\n\t return this._callbacks ? this._callbacks.length : 0;\n\t };\n\t\n\t CallbackQueue.prototype.rollback = function rollback(len) {\n\t if (this._callbacks && this._contexts) {\n\t this._callbacks.length = len;\n\t this._contexts.length = len;\n\t }\n\t };\n\t\n\t /**\n\t * Resets the internal queue.\n\t *\n\t * @internal\n\t */\n\t\n\t CallbackQueue.prototype.reset = function reset() {\n\t this._callbacks = null;\n\t this._contexts = null;\n\t };\n\t\n\t /**\n\t * `PooledClass` looks for this.\n\t */\n\t\n\t CallbackQueue.prototype.destructor = function destructor() {\n\t this.reset();\n\t };\n\t\n\t return CallbackQueue;\n\t}();\n\t\n\tmodule.exports = PooledClass.addPoolingTo(CallbackQueue);\n\n/***/ },\n/* 99 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMProperty = __webpack_require__(32);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\t\n\tvar quoteAttributeValueForBrowser = __webpack_require__(247);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$');\n\tvar illegalAttributeNameCache = {};\n\tvar validatedAttributeNameCache = {};\n\t\n\tfunction isAttributeNameSafe(attributeName) {\n\t if (validatedAttributeNameCache.hasOwnProperty(attributeName)) {\n\t return true;\n\t }\n\t if (illegalAttributeNameCache.hasOwnProperty(attributeName)) {\n\t return false;\n\t }\n\t if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {\n\t validatedAttributeNameCache[attributeName] = true;\n\t return true;\n\t }\n\t illegalAttributeNameCache[attributeName] = true;\n\t false ? warning(false, 'Invalid attribute name: `%s`', attributeName) : void 0;\n\t return false;\n\t}\n\t\n\tfunction shouldIgnoreValue(propertyInfo, value) {\n\t return value == null || propertyInfo.hasBooleanValue && !value || propertyInfo.hasNumericValue && isNaN(value) || propertyInfo.hasPositiveNumericValue && value < 1 || propertyInfo.hasOverloadedBooleanValue && value === false;\n\t}\n\t\n\t/**\n\t * Operations for dealing with DOM properties.\n\t */\n\tvar DOMPropertyOperations = {\n\t\n\t /**\n\t * Creates markup for the ID property.\n\t *\n\t * @param {string} id Unescaped ID.\n\t * @return {string} Markup string.\n\t */\n\t createMarkupForID: function createMarkupForID(id) {\n\t return DOMProperty.ID_ATTRIBUTE_NAME + '=' + quoteAttributeValueForBrowser(id);\n\t },\n\t\n\t setAttributeForID: function setAttributeForID(node, id) {\n\t node.setAttribute(DOMProperty.ID_ATTRIBUTE_NAME, id);\n\t },\n\t\n\t createMarkupForRoot: function createMarkupForRoot() {\n\t return DOMProperty.ROOT_ATTRIBUTE_NAME + '=\"\"';\n\t },\n\t\n\t setAttributeForRoot: function setAttributeForRoot(node) {\n\t node.setAttribute(DOMProperty.ROOT_ATTRIBUTE_NAME, '');\n\t },\n\t\n\t /**\n\t * Creates markup for a property.\n\t *\n\t * @param {string} name\n\t * @param {*} value\n\t * @return {?string} Markup string, or null if the property was invalid.\n\t */\n\t createMarkupForProperty: function createMarkupForProperty(name, value) {\n\t var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n\t if (propertyInfo) {\n\t if (shouldIgnoreValue(propertyInfo, value)) {\n\t return '';\n\t }\n\t var attributeName = propertyInfo.attributeName;\n\t if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n\t return attributeName + '=\"\"';\n\t }\n\t return attributeName + '=' + quoteAttributeValueForBrowser(value);\n\t } else if (DOMProperty.isCustomAttribute(name)) {\n\t if (value == null) {\n\t return '';\n\t }\n\t return name + '=' + quoteAttributeValueForBrowser(value);\n\t }\n\t return null;\n\t },\n\t\n\t /**\n\t * Creates markup for a custom property.\n\t *\n\t * @param {string} name\n\t * @param {*} value\n\t * @return {string} Markup string, or empty string if the property was invalid.\n\t */\n\t createMarkupForCustomAttribute: function createMarkupForCustomAttribute(name, value) {\n\t if (!isAttributeNameSafe(name) || value == null) {\n\t return '';\n\t }\n\t return name + '=' + quoteAttributeValueForBrowser(value);\n\t },\n\t\n\t /**\n\t * Sets the value for a property on a node.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} name\n\t * @param {*} value\n\t */\n\t setValueForProperty: function setValueForProperty(node, name, value) {\n\t var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n\t if (propertyInfo) {\n\t var mutationMethod = propertyInfo.mutationMethod;\n\t if (mutationMethod) {\n\t mutationMethod(node, value);\n\t } else if (shouldIgnoreValue(propertyInfo, value)) {\n\t this.deleteValueForProperty(node, name);\n\t return;\n\t } else if (propertyInfo.mustUseProperty) {\n\t // Contrary to `setAttribute`, object properties are properly\n\t // `toString`ed by IE8/9.\n\t node[propertyInfo.propertyName] = value;\n\t } else {\n\t var attributeName = propertyInfo.attributeName;\n\t var namespace = propertyInfo.attributeNamespace;\n\t // `setAttribute` with objects becomes only `[object]` in IE8/9,\n\t // ('' + value) makes it output the correct toString()-value.\n\t if (namespace) {\n\t node.setAttributeNS(namespace, attributeName, '' + value);\n\t } else if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n\t node.setAttribute(attributeName, '');\n\t } else {\n\t node.setAttribute(attributeName, '' + value);\n\t }\n\t }\n\t } else if (DOMProperty.isCustomAttribute(name)) {\n\t DOMPropertyOperations.setValueForAttribute(node, name, value);\n\t return;\n\t }\n\t\n\t if (false) {\n\t var payload = {};\n\t payload[name] = value;\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n\t type: 'update attribute',\n\t payload: payload\n\t });\n\t }\n\t },\n\t\n\t setValueForAttribute: function setValueForAttribute(node, name, value) {\n\t if (!isAttributeNameSafe(name)) {\n\t return;\n\t }\n\t if (value == null) {\n\t node.removeAttribute(name);\n\t } else {\n\t node.setAttribute(name, '' + value);\n\t }\n\t\n\t if (false) {\n\t var payload = {};\n\t payload[name] = value;\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n\t type: 'update attribute',\n\t payload: payload\n\t });\n\t }\n\t },\n\t\n\t /**\n\t * Deletes an attributes from a node.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} name\n\t */\n\t deleteValueForAttribute: function deleteValueForAttribute(node, name) {\n\t node.removeAttribute(name);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n\t type: 'remove attribute',\n\t payload: name\n\t });\n\t }\n\t },\n\t\n\t /**\n\t * Deletes the value for a property on a node.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} name\n\t */\n\t deleteValueForProperty: function deleteValueForProperty(node, name) {\n\t var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n\t if (propertyInfo) {\n\t var mutationMethod = propertyInfo.mutationMethod;\n\t if (mutationMethod) {\n\t mutationMethod(node, undefined);\n\t } else if (propertyInfo.mustUseProperty) {\n\t var propName = propertyInfo.propertyName;\n\t if (propertyInfo.hasBooleanValue) {\n\t node[propName] = false;\n\t } else {\n\t node[propName] = '';\n\t }\n\t } else {\n\t node.removeAttribute(propertyInfo.attributeName);\n\t }\n\t } else if (DOMProperty.isCustomAttribute(name)) {\n\t node.removeAttribute(name);\n\t }\n\t\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n\t type: 'remove attribute',\n\t payload: name\n\t });\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = DOMPropertyOperations;\n\n/***/ },\n/* 100 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t/* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/\n\t\n\t'use strict';\n\t\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactDefaultInjection = __webpack_require__(212);\n\tvar ReactMount = __webpack_require__(107);\n\tvar ReactReconciler = __webpack_require__(34);\n\tvar ReactUpdates = __webpack_require__(15);\n\tvar ReactVersion = __webpack_require__(225);\n\t\n\tvar findDOMNode = __webpack_require__(241);\n\tvar getHostComponentFromComposite = __webpack_require__(112);\n\tvar renderSubtreeIntoContainer = __webpack_require__(248);\n\tvar warning = __webpack_require__(5);\n\t\n\tReactDefaultInjection.inject();\n\t\n\tvar ReactDOM = {\n\t findDOMNode: findDOMNode,\n\t render: ReactMount.render,\n\t unmountComponentAtNode: ReactMount.unmountComponentAtNode,\n\t version: ReactVersion,\n\t\n\t /* eslint-disable camelcase */\n\t unstable_batchedUpdates: ReactUpdates.batchedUpdates,\n\t unstable_renderSubtreeIntoContainer: renderSubtreeIntoContainer\n\t};\n\t\n\t// Inject the runtime into a devtools global hook regardless of browser.\n\t// Allows for debugging when the hook is injected on the page.\n\tif (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject === 'function') {\n\t __REACT_DEVTOOLS_GLOBAL_HOOK__.inject({\n\t ComponentTree: {\n\t getClosestInstanceFromNode: ReactDOMComponentTree.getClosestInstanceFromNode,\n\t getNodeFromInstance: function getNodeFromInstance(inst) {\n\t // inst is an internal instance (but could be a composite)\n\t if (inst._renderedComponent) {\n\t inst = getHostComponentFromComposite(inst);\n\t }\n\t if (inst) {\n\t return ReactDOMComponentTree.getNodeFromInstance(inst);\n\t } else {\n\t return null;\n\t }\n\t }\n\t },\n\t Mount: ReactMount,\n\t Reconciler: ReactReconciler\n\t });\n\t}\n\t\n\tif (false) {\n\t var ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\t if (ExecutionEnvironment.canUseDOM && window.top === window.self) {\n\t\n\t // First check if devtools is not installed\n\t if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') {\n\t // If we're in Chrome or Firefox, provide a download link if not installed.\n\t if (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Edge') === -1 || navigator.userAgent.indexOf('Firefox') > -1) {\n\t // Firefox does not have the issue with devtools loaded over file://\n\t var showFileUrlMessage = window.location.protocol.indexOf('http') === -1 && navigator.userAgent.indexOf('Firefox') === -1;\n\t console.debug('Download the React DevTools ' + (showFileUrlMessage ? 'and use an HTTP server (instead of a file: URL) ' : '') + 'for a better development experience: ' + 'https://fb.me/react-devtools');\n\t }\n\t }\n\t\n\t var testFunc = function testFn() {};\n\t process.env.NODE_ENV !== 'production' ? warning((testFunc.name || testFunc.toString()).indexOf('testFn') !== -1, 'It looks like you\\'re using a minified copy of the development build ' + 'of React. When deploying React apps to production, make sure to use ' + 'the production build which skips development warnings and is faster. ' + 'See https://fb.me/react-minification for more details.') : void 0;\n\t\n\t // If we're in IE8, check to see if we are in compatibility mode and provide\n\t // information on preventing compatibility mode\n\t var ieCompatibilityMode = document.documentMode && document.documentMode < 8;\n\t\n\t process.env.NODE_ENV !== 'production' ? warning(!ieCompatibilityMode, 'Internet Explorer is running in compatibility mode; please add the ' + 'following tag to your HTML to prevent this from happening: ' + '<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />') : void 0;\n\t\n\t var expectedFeatures = [\n\t // shims\n\t Array.isArray, Array.prototype.every, Array.prototype.forEach, Array.prototype.indexOf, Array.prototype.map, Date.now, Function.prototype.bind, Object.keys, String.prototype.trim];\n\t\n\t for (var i = 0; i < expectedFeatures.length; i++) {\n\t if (!expectedFeatures[i]) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'One or more ES5 shims expected by React are not available: ' + 'https://fb.me/react-warning-polyfills') : void 0;\n\t break;\n\t }\n\t }\n\t }\n\t}\n\t\n\tif (false) {\n\t var ReactInstrumentation = require('./ReactInstrumentation');\n\t var ReactDOMUnknownPropertyHook = require('./ReactDOMUnknownPropertyHook');\n\t var ReactDOMNullInputValuePropHook = require('./ReactDOMNullInputValuePropHook');\n\t var ReactDOMInvalidARIAHook = require('./ReactDOMInvalidARIAHook');\n\t\n\t ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook);\n\t ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook);\n\t ReactInstrumentation.debugTool.addHook(ReactDOMInvalidARIAHook);\n\t}\n\t\n\tmodule.exports = ReactDOM;\n\n/***/ },\n/* 101 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactDOMComponentFlags = {\n\t hasCachedChildNodes: 1 << 0\n\t};\n\t\n\tmodule.exports = ReactDOMComponentFlags;\n\n/***/ },\n/* 102 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar LinkedValueUtils = __webpack_require__(63);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactUpdates = __webpack_require__(15);\n\t\n\tvar warning = __webpack_require__(5);\n\t\n\tvar didWarnValueLink = false;\n\tvar didWarnValueDefaultValue = false;\n\t\n\tfunction updateOptionsIfPendingUpdateAndMounted() {\n\t if (this._rootNodeID && this._wrapperState.pendingUpdate) {\n\t this._wrapperState.pendingUpdate = false;\n\t\n\t var props = this._currentElement.props;\n\t var value = LinkedValueUtils.getValue(props);\n\t\n\t if (value != null) {\n\t updateOptions(this, Boolean(props.multiple), value);\n\t }\n\t }\n\t}\n\t\n\tfunction getDeclarationErrorAddendum(owner) {\n\t if (owner) {\n\t var name = owner.getName();\n\t if (name) {\n\t return ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t return '';\n\t}\n\t\n\tvar valuePropNames = ['value', 'defaultValue'];\n\t\n\t/**\n\t * Validation function for `value` and `defaultValue`.\n\t * @private\n\t */\n\tfunction checkSelectPropTypes(inst, props) {\n\t var owner = inst._currentElement._owner;\n\t LinkedValueUtils.checkPropTypes('select', props, owner);\n\t\n\t if (props.valueLink !== undefined && !didWarnValueLink) {\n\t false ? warning(false, '`valueLink` prop on `select` is deprecated; set `value` and `onChange` instead.') : void 0;\n\t didWarnValueLink = true;\n\t }\n\t\n\t for (var i = 0; i < valuePropNames.length; i++) {\n\t var propName = valuePropNames[i];\n\t if (props[propName] == null) {\n\t continue;\n\t }\n\t var isArray = Array.isArray(props[propName]);\n\t if (props.multiple && !isArray) {\n\t false ? warning(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;\n\t } else if (!props.multiple && isArray) {\n\t false ? warning(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * @param {ReactDOMComponent} inst\n\t * @param {boolean} multiple\n\t * @param {*} propValue A stringable (with `multiple`, a list of stringables).\n\t * @private\n\t */\n\tfunction updateOptions(inst, multiple, propValue) {\n\t var selectedValue, i;\n\t var options = ReactDOMComponentTree.getNodeFromInstance(inst).options;\n\t\n\t if (multiple) {\n\t selectedValue = {};\n\t for (i = 0; i < propValue.length; i++) {\n\t selectedValue['' + propValue[i]] = true;\n\t }\n\t for (i = 0; i < options.length; i++) {\n\t var selected = selectedValue.hasOwnProperty(options[i].value);\n\t if (options[i].selected !== selected) {\n\t options[i].selected = selected;\n\t }\n\t }\n\t } else {\n\t // Do not set `select.value` as exact behavior isn't consistent across all\n\t // browsers for all cases.\n\t selectedValue = '' + propValue;\n\t for (i = 0; i < options.length; i++) {\n\t if (options[i].value === selectedValue) {\n\t options[i].selected = true;\n\t return;\n\t }\n\t }\n\t if (options.length) {\n\t options[0].selected = true;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Implements a <select> host component that allows optionally setting the\n\t * props `value` and `defaultValue`. If `multiple` is false, the prop must be a\n\t * stringable. If `multiple` is true, the prop must be an array of stringables.\n\t *\n\t * If `value` is not supplied (or null/undefined), user actions that change the\n\t * selected option will trigger updates to the rendered options.\n\t *\n\t * If it is supplied (and not null/undefined), the rendered options will not\n\t * update in response to user actions. Instead, the `value` prop must change in\n\t * order for the rendered options to update.\n\t *\n\t * If `defaultValue` is provided, any options with the supplied values will be\n\t * selected.\n\t */\n\tvar ReactDOMSelect = {\n\t getHostProps: function getHostProps(inst, props) {\n\t return _assign({}, props, {\n\t onChange: inst._wrapperState.onChange,\n\t value: undefined\n\t });\n\t },\n\t\n\t mountWrapper: function mountWrapper(inst, props) {\n\t if (false) {\n\t checkSelectPropTypes(inst, props);\n\t }\n\t\n\t var value = LinkedValueUtils.getValue(props);\n\t inst._wrapperState = {\n\t pendingUpdate: false,\n\t initialValue: value != null ? value : props.defaultValue,\n\t listeners: null,\n\t onChange: _handleChange.bind(inst),\n\t wasMultiple: Boolean(props.multiple)\n\t };\n\t\n\t if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {\n\t false ? warning(false, 'Select elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled select ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0;\n\t didWarnValueDefaultValue = true;\n\t }\n\t },\n\t\n\t getSelectValueContext: function getSelectValueContext(inst) {\n\t // ReactDOMOption looks at this initial value so the initial generated\n\t // markup has correct `selected` attributes\n\t return inst._wrapperState.initialValue;\n\t },\n\t\n\t postUpdateWrapper: function postUpdateWrapper(inst) {\n\t var props = inst._currentElement.props;\n\t\n\t // After the initial mount, we control selected-ness manually so don't pass\n\t // this value down\n\t inst._wrapperState.initialValue = undefined;\n\t\n\t var wasMultiple = inst._wrapperState.wasMultiple;\n\t inst._wrapperState.wasMultiple = Boolean(props.multiple);\n\t\n\t var value = LinkedValueUtils.getValue(props);\n\t if (value != null) {\n\t inst._wrapperState.pendingUpdate = false;\n\t updateOptions(inst, Boolean(props.multiple), value);\n\t } else if (wasMultiple !== Boolean(props.multiple)) {\n\t // For simplicity, reapply `defaultValue` if `multiple` is toggled.\n\t if (props.defaultValue != null) {\n\t updateOptions(inst, Boolean(props.multiple), props.defaultValue);\n\t } else {\n\t // Revert the select back to its default unselected state.\n\t updateOptions(inst, Boolean(props.multiple), props.multiple ? [] : '');\n\t }\n\t }\n\t }\n\t};\n\t\n\tfunction _handleChange(event) {\n\t var props = this._currentElement.props;\n\t var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\t\n\t if (this._rootNodeID) {\n\t this._wrapperState.pendingUpdate = true;\n\t }\n\t ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this);\n\t return returnValue;\n\t}\n\t\n\tmodule.exports = ReactDOMSelect;\n\n/***/ },\n/* 103 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyComponentFactory;\n\t\n\tvar ReactEmptyComponentInjection = {\n\t injectEmptyComponentFactory: function injectEmptyComponentFactory(factory) {\n\t emptyComponentFactory = factory;\n\t }\n\t};\n\t\n\tvar ReactEmptyComponent = {\n\t create: function create(instantiate) {\n\t return emptyComponentFactory(instantiate);\n\t }\n\t};\n\t\n\tReactEmptyComponent.injection = ReactEmptyComponentInjection;\n\t\n\tmodule.exports = ReactEmptyComponent;\n\n/***/ },\n/* 104 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactFeatureFlags = {\n\t // When true, call console.time() before and .timeEnd() after each top-level\n\t // render (both initial renders and updates). Useful when looking at prod-mode\n\t // timeline profiles in Chrome, for example.\n\t logTopLevelRenders: false\n\t};\n\t\n\tmodule.exports = ReactFeatureFlags;\n\n/***/ },\n/* 105 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(7);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\tvar genericComponentClass = null;\n\t// This registry keeps track of wrapper classes around host tags.\n\tvar tagToComponentClass = {};\n\tvar textComponentClass = null;\n\t\n\tvar ReactHostComponentInjection = {\n\t // This accepts a class that receives the tag string. This is a catch all\n\t // that can render any kind of tag.\n\t injectGenericComponentClass: function injectGenericComponentClass(componentClass) {\n\t genericComponentClass = componentClass;\n\t },\n\t // This accepts a text component class that takes the text string to be\n\t // rendered as props.\n\t injectTextComponentClass: function injectTextComponentClass(componentClass) {\n\t textComponentClass = componentClass;\n\t },\n\t // This accepts a keyed object with classes as values. Each key represents a\n\t // tag. That particular tag will use this class instead of the generic one.\n\t injectComponentClasses: function injectComponentClasses(componentClasses) {\n\t _assign(tagToComponentClass, componentClasses);\n\t }\n\t};\n\t\n\t/**\n\t * Get a host internal component class for a specific tag.\n\t *\n\t * @param {ReactElement} element The element to create.\n\t * @return {function} The internal class constructor function.\n\t */\n\tfunction createInternalComponent(element) {\n\t !genericComponentClass ? false ? invariant(false, 'There is no registered component for the tag %s', element.type) : _prodInvariant('111', element.type) : void 0;\n\t return new genericComponentClass(element);\n\t}\n\t\n\t/**\n\t * @param {ReactText} text\n\t * @return {ReactComponent}\n\t */\n\tfunction createInstanceForText(text) {\n\t return new textComponentClass(text);\n\t}\n\t\n\t/**\n\t * @param {ReactComponent} component\n\t * @return {boolean}\n\t */\n\tfunction isTextComponent(component) {\n\t return component instanceof textComponentClass;\n\t}\n\t\n\tvar ReactHostComponent = {\n\t createInternalComponent: createInternalComponent,\n\t createInstanceForText: createInstanceForText,\n\t isTextComponent: isTextComponent,\n\t injection: ReactHostComponentInjection\n\t};\n\t\n\tmodule.exports = ReactHostComponent;\n\n/***/ },\n/* 106 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactDOMSelection = __webpack_require__(207);\n\t\n\tvar containsNode = __webpack_require__(251);\n\tvar focusNode = __webpack_require__(121);\n\tvar getActiveElement = __webpack_require__(122);\n\t\n\tfunction isInDocument(node) {\n\t return containsNode(document.documentElement, node);\n\t}\n\t\n\t/**\n\t * @ReactInputSelection: React input selection module. Based on Selection.js,\n\t * but modified to be suitable for react and has a couple of bug fixes (doesn't\n\t * assume buttons have range selections allowed).\n\t * Input selection module for React.\n\t */\n\tvar ReactInputSelection = {\n\t\n\t hasSelectionCapabilities: function hasSelectionCapabilities(elem) {\n\t var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n\t return nodeName && (nodeName === 'input' && elem.type === 'text' || nodeName === 'textarea' || elem.contentEditable === 'true');\n\t },\n\t\n\t getSelectionInformation: function getSelectionInformation() {\n\t var focusedElem = getActiveElement();\n\t return {\n\t focusedElem: focusedElem,\n\t selectionRange: ReactInputSelection.hasSelectionCapabilities(focusedElem) ? ReactInputSelection.getSelection(focusedElem) : null\n\t };\n\t },\n\t\n\t /**\n\t * @restoreSelection: If any selection information was potentially lost,\n\t * restore it. This is useful when performing operations that could remove dom\n\t * nodes and place them back in, resulting in focus being lost.\n\t */\n\t restoreSelection: function restoreSelection(priorSelectionInformation) {\n\t var curFocusedElem = getActiveElement();\n\t var priorFocusedElem = priorSelectionInformation.focusedElem;\n\t var priorSelectionRange = priorSelectionInformation.selectionRange;\n\t if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) {\n\t if (ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)) {\n\t ReactInputSelection.setSelection(priorFocusedElem, priorSelectionRange);\n\t }\n\t focusNode(priorFocusedElem);\n\t }\n\t },\n\t\n\t /**\n\t * @getSelection: Gets the selection bounds of a focused textarea, input or\n\t * contentEditable node.\n\t * -@input: Look up selection bounds of this input\n\t * -@return {start: selectionStart, end: selectionEnd}\n\t */\n\t getSelection: function getSelection(input) {\n\t var selection;\n\t\n\t if ('selectionStart' in input) {\n\t // Modern browser with input or textarea.\n\t selection = {\n\t start: input.selectionStart,\n\t end: input.selectionEnd\n\t };\n\t } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') {\n\t // IE8 input.\n\t var range = document.selection.createRange();\n\t // There can only be one selection per document in IE, so it must\n\t // be in our element.\n\t if (range.parentElement() === input) {\n\t selection = {\n\t start: -range.moveStart('character', -input.value.length),\n\t end: -range.moveEnd('character', -input.value.length)\n\t };\n\t }\n\t } else {\n\t // Content editable or old IE textarea.\n\t selection = ReactDOMSelection.getOffsets(input);\n\t }\n\t\n\t return selection || { start: 0, end: 0 };\n\t },\n\t\n\t /**\n\t * @setSelection: Sets the selection bounds of a textarea or input and focuses\n\t * the input.\n\t * -@input Set selection bounds of this input or textarea\n\t * -@offsets Object of same form that is returned from get*\n\t */\n\t setSelection: function setSelection(input, offsets) {\n\t var start = offsets.start;\n\t var end = offsets.end;\n\t if (end === undefined) {\n\t end = start;\n\t }\n\t\n\t if ('selectionStart' in input) {\n\t input.selectionStart = start;\n\t input.selectionEnd = Math.min(end, input.value.length);\n\t } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') {\n\t var range = input.createTextRange();\n\t range.collapse(true);\n\t range.moveStart('character', start);\n\t range.moveEnd('character', end - start);\n\t range.select();\n\t } else {\n\t ReactDOMSelection.setOffsets(input, offsets);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = ReactInputSelection;\n\n/***/ },\n/* 107 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar DOMLazyTree = __webpack_require__(31);\n\tvar DOMProperty = __webpack_require__(32);\n\tvar React = __webpack_require__(20);\n\tvar ReactBrowserEventEmitter = __webpack_require__(47);\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactDOMContainerInfo = __webpack_require__(201);\n\tvar ReactDOMFeatureFlags = __webpack_require__(203);\n\tvar ReactFeatureFlags = __webpack_require__(104);\n\tvar ReactInstanceMap = __webpack_require__(33);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\tvar ReactMarkupChecksum = __webpack_require__(217);\n\tvar ReactReconciler = __webpack_require__(34);\n\tvar ReactUpdateQueue = __webpack_require__(66);\n\tvar ReactUpdates = __webpack_require__(15);\n\t\n\tvar emptyObject = __webpack_require__(120);\n\tvar instantiateReactComponent = __webpack_require__(115);\n\tvar invariant = __webpack_require__(3);\n\tvar setInnerHTML = __webpack_require__(51);\n\tvar shouldUpdateReactComponent = __webpack_require__(72);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;\n\tvar ROOT_ATTR_NAME = DOMProperty.ROOT_ATTRIBUTE_NAME;\n\t\n\tvar ELEMENT_NODE_TYPE = 1;\n\tvar DOC_NODE_TYPE = 9;\n\tvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\t\n\tvar instancesByReactRootID = {};\n\t\n\t/**\n\t * Finds the index of the first character\n\t * that's not common between the two given strings.\n\t *\n\t * @return {number} the index of the character where the strings diverge\n\t */\n\tfunction firstDifferenceIndex(string1, string2) {\n\t var minLen = Math.min(string1.length, string2.length);\n\t for (var i = 0; i < minLen; i++) {\n\t if (string1.charAt(i) !== string2.charAt(i)) {\n\t return i;\n\t }\n\t }\n\t return string1.length === string2.length ? -1 : minLen;\n\t}\n\t\n\t/**\n\t * @param {DOMElement|DOMDocument} container DOM element that may contain\n\t * a React component\n\t * @return {?*} DOM element that may have the reactRoot ID, or null.\n\t */\n\tfunction getReactRootElementInContainer(container) {\n\t if (!container) {\n\t return null;\n\t }\n\t\n\t if (container.nodeType === DOC_NODE_TYPE) {\n\t return container.documentElement;\n\t } else {\n\t return container.firstChild;\n\t }\n\t}\n\t\n\tfunction internalGetID(node) {\n\t // If node is something like a window, document, or text node, none of\n\t // which support attributes or a .getAttribute method, gracefully return\n\t // the empty string, as if the attribute were missing.\n\t return node.getAttribute && node.getAttribute(ATTR_NAME) || '';\n\t}\n\t\n\t/**\n\t * Mounts this component and inserts it into the DOM.\n\t *\n\t * @param {ReactComponent} componentInstance The instance to mount.\n\t * @param {DOMElement} container DOM element to mount into.\n\t * @param {ReactReconcileTransaction} transaction\n\t * @param {boolean} shouldReuseMarkup If true, do not insert markup\n\t */\n\tfunction mountComponentIntoNode(wrapperInstance, container, transaction, shouldReuseMarkup, context) {\n\t var markerName;\n\t if (ReactFeatureFlags.logTopLevelRenders) {\n\t var wrappedElement = wrapperInstance._currentElement.props.child;\n\t var type = wrappedElement.type;\n\t markerName = 'React mount: ' + (typeof type === 'string' ? type : type.displayName || type.name);\n\t console.time(markerName);\n\t }\n\t\n\t var markup = ReactReconciler.mountComponent(wrapperInstance, transaction, null, ReactDOMContainerInfo(wrapperInstance, container), context, 0 /* parentDebugID */\n\t );\n\t\n\t if (markerName) {\n\t console.timeEnd(markerName);\n\t }\n\t\n\t wrapperInstance._renderedComponent._topLevelWrapper = wrapperInstance;\n\t ReactMount._mountImageIntoNode(markup, container, wrapperInstance, shouldReuseMarkup, transaction);\n\t}\n\t\n\t/**\n\t * Batched mount.\n\t *\n\t * @param {ReactComponent} componentInstance The instance to mount.\n\t * @param {DOMElement} container DOM element to mount into.\n\t * @param {boolean} shouldReuseMarkup If true, do not insert markup\n\t */\n\tfunction batchedMountComponentIntoNode(componentInstance, container, shouldReuseMarkup, context) {\n\t var transaction = ReactUpdates.ReactReconcileTransaction.getPooled(\n\t /* useCreateElement */\n\t !shouldReuseMarkup && ReactDOMFeatureFlags.useCreateElement);\n\t transaction.perform(mountComponentIntoNode, null, componentInstance, container, transaction, shouldReuseMarkup, context);\n\t ReactUpdates.ReactReconcileTransaction.release(transaction);\n\t}\n\t\n\t/**\n\t * Unmounts a component and removes it from the DOM.\n\t *\n\t * @param {ReactComponent} instance React component instance.\n\t * @param {DOMElement} container DOM element to unmount from.\n\t * @final\n\t * @internal\n\t * @see {ReactMount.unmountComponentAtNode}\n\t */\n\tfunction unmountComponentFromNode(instance, container, safely) {\n\t if (false) {\n\t ReactInstrumentation.debugTool.onBeginFlush();\n\t }\n\t ReactReconciler.unmountComponent(instance, safely);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onEndFlush();\n\t }\n\t\n\t if (container.nodeType === DOC_NODE_TYPE) {\n\t container = container.documentElement;\n\t }\n\t\n\t // http://jsperf.com/emptying-a-node\n\t while (container.lastChild) {\n\t container.removeChild(container.lastChild);\n\t }\n\t}\n\t\n\t/**\n\t * True if the supplied DOM node has a direct React-rendered child that is\n\t * not a React root element. Useful for warning in `render`,\n\t * `unmountComponentAtNode`, etc.\n\t *\n\t * @param {?DOMElement} node The candidate DOM node.\n\t * @return {boolean} True if the DOM element contains a direct child that was\n\t * rendered by React but is not a root element.\n\t * @internal\n\t */\n\tfunction hasNonRootReactChild(container) {\n\t var rootEl = getReactRootElementInContainer(container);\n\t if (rootEl) {\n\t var inst = ReactDOMComponentTree.getInstanceFromNode(rootEl);\n\t return !!(inst && inst._hostParent);\n\t }\n\t}\n\t\n\t/**\n\t * True if the supplied DOM node is a React DOM element and\n\t * it has been rendered by another copy of React.\n\t *\n\t * @param {?DOMElement} node The candidate DOM node.\n\t * @return {boolean} True if the DOM has been rendered by another copy of React\n\t * @internal\n\t */\n\tfunction nodeIsRenderedByOtherInstance(container) {\n\t var rootEl = getReactRootElementInContainer(container);\n\t return !!(rootEl && isReactNode(rootEl) && !ReactDOMComponentTree.getInstanceFromNode(rootEl));\n\t}\n\t\n\t/**\n\t * True if the supplied DOM node is a valid node element.\n\t *\n\t * @param {?DOMElement} node The candidate DOM node.\n\t * @return {boolean} True if the DOM is a valid DOM node.\n\t * @internal\n\t */\n\tfunction isValidContainer(node) {\n\t return !!(node && (node.nodeType === ELEMENT_NODE_TYPE || node.nodeType === DOC_NODE_TYPE || node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE));\n\t}\n\t\n\t/**\n\t * True if the supplied DOM node is a valid React node element.\n\t *\n\t * @param {?DOMElement} node The candidate DOM node.\n\t * @return {boolean} True if the DOM is a valid React DOM node.\n\t * @internal\n\t */\n\tfunction isReactNode(node) {\n\t return isValidContainer(node) && (node.hasAttribute(ROOT_ATTR_NAME) || node.hasAttribute(ATTR_NAME));\n\t}\n\t\n\tfunction getHostRootInstanceInContainer(container) {\n\t var rootEl = getReactRootElementInContainer(container);\n\t var prevHostInstance = rootEl && ReactDOMComponentTree.getInstanceFromNode(rootEl);\n\t return prevHostInstance && !prevHostInstance._hostParent ? prevHostInstance : null;\n\t}\n\t\n\tfunction getTopLevelWrapperInContainer(container) {\n\t var root = getHostRootInstanceInContainer(container);\n\t return root ? root._hostContainerInfo._topLevelWrapper : null;\n\t}\n\t\n\t/**\n\t * Temporary (?) hack so that we can store all top-level pending updates on\n\t * composites instead of having to worry about different types of components\n\t * here.\n\t */\n\tvar topLevelRootCounter = 1;\n\tvar TopLevelWrapper = function TopLevelWrapper() {\n\t this.rootID = topLevelRootCounter++;\n\t};\n\tTopLevelWrapper.prototype.isReactComponent = {};\n\tif (false) {\n\t TopLevelWrapper.displayName = 'TopLevelWrapper';\n\t}\n\tTopLevelWrapper.prototype.render = function () {\n\t return this.props.child;\n\t};\n\tTopLevelWrapper.isReactTopLevelWrapper = true;\n\t\n\t/**\n\t * Mounting is the process of initializing a React component by creating its\n\t * representative DOM elements and inserting them into a supplied `container`.\n\t * Any prior content inside `container` is destroyed in the process.\n\t *\n\t * ReactMount.render(\n\t * component,\n\t * document.getElementById('container')\n\t * );\n\t *\n\t * <div id=\"container\"> <-- Supplied `container`.\n\t * <div data-reactid=\".3\"> <-- Rendered reactRoot of React\n\t * // ... component.\n\t * </div>\n\t * </div>\n\t *\n\t * Inside of `container`, the first element rendered is the \"reactRoot\".\n\t */\n\tvar ReactMount = {\n\t\n\t TopLevelWrapper: TopLevelWrapper,\n\t\n\t /**\n\t * Used by devtools. The keys are not important.\n\t */\n\t _instancesByReactRootID: instancesByReactRootID,\n\t\n\t /**\n\t * This is a hook provided to support rendering React components while\n\t * ensuring that the apparent scroll position of its `container` does not\n\t * change.\n\t *\n\t * @param {DOMElement} container The `container` being rendered into.\n\t * @param {function} renderCallback This must be called once to do the render.\n\t */\n\t scrollMonitor: function scrollMonitor(container, renderCallback) {\n\t renderCallback();\n\t },\n\t\n\t /**\n\t * Take a component that's already mounted into the DOM and replace its props\n\t * @param {ReactComponent} prevComponent component instance already in the DOM\n\t * @param {ReactElement} nextElement component instance to render\n\t * @param {DOMElement} container container to render into\n\t * @param {?function} callback function triggered on completion\n\t */\n\t _updateRootComponent: function _updateRootComponent(prevComponent, nextElement, nextContext, container, callback) {\n\t ReactMount.scrollMonitor(container, function () {\n\t ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement, nextContext);\n\t if (callback) {\n\t ReactUpdateQueue.enqueueCallbackInternal(prevComponent, callback);\n\t }\n\t });\n\t\n\t return prevComponent;\n\t },\n\t\n\t /**\n\t * Render a new component into the DOM. Hooked by hooks!\n\t *\n\t * @param {ReactElement} nextElement element to render\n\t * @param {DOMElement} container container to render into\n\t * @param {boolean} shouldReuseMarkup if we should skip the markup insertion\n\t * @return {ReactComponent} nextComponent\n\t */\n\t _renderNewRootComponent: function _renderNewRootComponent(nextElement, container, shouldReuseMarkup, context) {\n\t // Various parts of our code (such as ReactCompositeComponent's\n\t // _renderValidatedComponent) assume that calls to render aren't nested;\n\t // verify that that's the case.\n\t false ? warning(ReactCurrentOwner.current == null, '_renderNewRootComponent(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from ' + 'render is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0;\n\t\n\t !isValidContainer(container) ? false ? invariant(false, '_registerComponent(...): Target container is not a DOM element.') : _prodInvariant('37') : void 0;\n\t\n\t ReactBrowserEventEmitter.ensureScrollValueMonitoring();\n\t var componentInstance = instantiateReactComponent(nextElement, false);\n\t\n\t // The initial render is synchronous but any updates that happen during\n\t // rendering, in componentWillMount or componentDidMount, will be batched\n\t // according to the current batching strategy.\n\t\n\t ReactUpdates.batchedUpdates(batchedMountComponentIntoNode, componentInstance, container, shouldReuseMarkup, context);\n\t\n\t var wrapperID = componentInstance._instance.rootID;\n\t instancesByReactRootID[wrapperID] = componentInstance;\n\t\n\t return componentInstance;\n\t },\n\t\n\t /**\n\t * Renders a React component into the DOM in the supplied `container`.\n\t *\n\t * If the React component was previously rendered into `container`, this will\n\t * perform an update on it and only mutate the DOM as necessary to reflect the\n\t * latest React component.\n\t *\n\t * @param {ReactComponent} parentComponent The conceptual parent of this render tree.\n\t * @param {ReactElement} nextElement Component element to render.\n\t * @param {DOMElement} container DOM element to render into.\n\t * @param {?function} callback function triggered on completion\n\t * @return {ReactComponent} Component instance rendered in `container`.\n\t */\n\t renderSubtreeIntoContainer: function renderSubtreeIntoContainer(parentComponent, nextElement, container, callback) {\n\t !(parentComponent != null && ReactInstanceMap.has(parentComponent)) ? false ? invariant(false, 'parentComponent must be a valid React Component') : _prodInvariant('38') : void 0;\n\t return ReactMount._renderSubtreeIntoContainer(parentComponent, nextElement, container, callback);\n\t },\n\t\n\t _renderSubtreeIntoContainer: function _renderSubtreeIntoContainer(parentComponent, nextElement, container, callback) {\n\t ReactUpdateQueue.validateCallback(callback, 'ReactDOM.render');\n\t !React.isValidElement(nextElement) ? false ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? ' Instead of passing a string like \\'div\\', pass ' + 'React.createElement(\\'div\\') or <div />.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or <Foo />.' :\n\t // Check if it quacks like an element\n\t nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : _prodInvariant('39', typeof nextElement === 'string' ? ' Instead of passing a string like \\'div\\', pass ' + 'React.createElement(\\'div\\') or <div />.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or <Foo />.' : nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : void 0;\n\t\n\t false ? warning(!container || !container.tagName || container.tagName.toUpperCase() !== 'BODY', 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : void 0;\n\t\n\t var nextWrappedElement = React.createElement(TopLevelWrapper, { child: nextElement });\n\t\n\t var nextContext;\n\t if (parentComponent) {\n\t var parentInst = ReactInstanceMap.get(parentComponent);\n\t nextContext = parentInst._processChildContext(parentInst._context);\n\t } else {\n\t nextContext = emptyObject;\n\t }\n\t\n\t var prevComponent = getTopLevelWrapperInContainer(container);\n\t\n\t if (prevComponent) {\n\t var prevWrappedElement = prevComponent._currentElement;\n\t var prevElement = prevWrappedElement.props.child;\n\t if (shouldUpdateReactComponent(prevElement, nextElement)) {\n\t var publicInst = prevComponent._renderedComponent.getPublicInstance();\n\t var updatedCallback = callback && function () {\n\t callback.call(publicInst);\n\t };\n\t ReactMount._updateRootComponent(prevComponent, nextWrappedElement, nextContext, container, updatedCallback);\n\t return publicInst;\n\t } else {\n\t ReactMount.unmountComponentAtNode(container);\n\t }\n\t }\n\t\n\t var reactRootElement = getReactRootElementInContainer(container);\n\t var containerHasReactMarkup = reactRootElement && !!internalGetID(reactRootElement);\n\t var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.') : void 0;\n\t\n\t if (!containerHasReactMarkup || reactRootElement.nextSibling) {\n\t var rootElementSibling = reactRootElement;\n\t while (rootElementSibling) {\n\t if (internalGetID(rootElementSibling)) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'render(): Target node has markup rendered by React, but there ' + 'are unrelated nodes as well. This is most commonly caused by ' + 'white-space inserted around server-rendered markup.') : void 0;\n\t break;\n\t }\n\t rootElementSibling = rootElementSibling.nextSibling;\n\t }\n\t }\n\t }\n\t\n\t var shouldReuseMarkup = containerHasReactMarkup && !prevComponent && !containerHasNonRootReactChild;\n\t var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, nextContext)._renderedComponent.getPublicInstance();\n\t if (callback) {\n\t callback.call(component);\n\t }\n\t return component;\n\t },\n\t\n\t /**\n\t * Renders a React component into the DOM in the supplied `container`.\n\t * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.render\n\t *\n\t * If the React component was previously rendered into `container`, this will\n\t * perform an update on it and only mutate the DOM as necessary to reflect the\n\t * latest React component.\n\t *\n\t * @param {ReactElement} nextElement Component element to render.\n\t * @param {DOMElement} container DOM element to render into.\n\t * @param {?function} callback function triggered on completion\n\t * @return {ReactComponent} Component instance rendered in `container`.\n\t */\n\t render: function render(nextElement, container, callback) {\n\t return ReactMount._renderSubtreeIntoContainer(null, nextElement, container, callback);\n\t },\n\t\n\t /**\n\t * Unmounts and destroys the React component rendered in the `container`.\n\t * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.unmountcomponentatnode\n\t *\n\t * @param {DOMElement} container DOM element containing a React component.\n\t * @return {boolean} True if a component was found in and unmounted from\n\t * `container`\n\t */\n\t unmountComponentAtNode: function unmountComponentAtNode(container) {\n\t // Various parts of our code (such as ReactCompositeComponent's\n\t // _renderValidatedComponent) assume that calls to render aren't nested;\n\t // verify that that's the case. (Strictly speaking, unmounting won't cause a\n\t // render but we still don't expect to be in a render call here.)\n\t false ? warning(ReactCurrentOwner.current == null, 'unmountComponentAtNode(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from render ' + 'is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0;\n\t\n\t !isValidContainer(container) ? false ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : _prodInvariant('40') : void 0;\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(!nodeIsRenderedByOtherInstance(container), 'unmountComponentAtNode(): The node you\\'re attempting to unmount ' + 'was rendered by another copy of React.') : void 0;\n\t }\n\t\n\t var prevComponent = getTopLevelWrapperInContainer(container);\n\t if (!prevComponent) {\n\t // Check if the node being unmounted was rendered by React, but isn't a\n\t // root node.\n\t var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\t\n\t // Check if the container itself is a React root node.\n\t var isContainerReactRoot = container.nodeType === 1 && container.hasAttribute(ROOT_ATTR_NAME);\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'unmountComponentAtNode(): The node you\\'re attempting to unmount ' + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : void 0;\n\t }\n\t\n\t return false;\n\t }\n\t delete instancesByReactRootID[prevComponent._instance.rootID];\n\t ReactUpdates.batchedUpdates(unmountComponentFromNode, prevComponent, container, false);\n\t return true;\n\t },\n\t\n\t _mountImageIntoNode: function _mountImageIntoNode(markup, container, instance, shouldReuseMarkup, transaction) {\n\t !isValidContainer(container) ? false ? invariant(false, 'mountComponentIntoNode(...): Target container is not valid.') : _prodInvariant('41') : void 0;\n\t\n\t if (shouldReuseMarkup) {\n\t var rootElement = getReactRootElementInContainer(container);\n\t if (ReactMarkupChecksum.canReuseMarkup(markup, rootElement)) {\n\t ReactDOMComponentTree.precacheNode(instance, rootElement);\n\t return;\n\t } else {\n\t var checksum = rootElement.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n\t rootElement.removeAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n\t\n\t var rootMarkup = rootElement.outerHTML;\n\t rootElement.setAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME, checksum);\n\t\n\t var normalizedMarkup = markup;\n\t if (false) {\n\t // because rootMarkup is retrieved from the DOM, various normalizations\n\t // will have occurred which will not be present in `markup`. Here,\n\t // insert markup into a <div> or <iframe> depending on the container\n\t // type to perform the same normalizations before comparing.\n\t var normalizer;\n\t if (container.nodeType === ELEMENT_NODE_TYPE) {\n\t normalizer = document.createElement('div');\n\t normalizer.innerHTML = markup;\n\t normalizedMarkup = normalizer.innerHTML;\n\t } else {\n\t normalizer = document.createElement('iframe');\n\t document.body.appendChild(normalizer);\n\t normalizer.contentDocument.write(markup);\n\t normalizedMarkup = normalizer.contentDocument.documentElement.outerHTML;\n\t document.body.removeChild(normalizer);\n\t }\n\t }\n\t\n\t var diffIndex = firstDifferenceIndex(normalizedMarkup, rootMarkup);\n\t var difference = ' (client) ' + normalizedMarkup.substring(diffIndex - 20, diffIndex + 20) + '\\n (server) ' + rootMarkup.substring(diffIndex - 20, diffIndex + 20);\n\t\n\t !(container.nodeType !== DOC_NODE_TYPE) ? false ? invariant(false, 'You\\'re trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\\n%s', difference) : _prodInvariant('42', difference) : void 0;\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'React attempted to reuse markup in a container but the ' + 'checksum was invalid. This generally means that you are ' + 'using server rendering and the markup generated on the ' + 'server was not what the client was expecting. React injected ' + 'new markup to compensate which works but you have lost many ' + 'of the benefits of server rendering. Instead, figure out ' + 'why the markup being generated is different on the client ' + 'or server:\\n%s', difference) : void 0;\n\t }\n\t }\n\t }\n\t\n\t !(container.nodeType !== DOC_NODE_TYPE) ? false ? invariant(false, 'You\\'re trying to render a component to the document but you didn\\'t use server rendering. We can\\'t do this without using server rendering due to cross-browser quirks. See ReactDOMServer.renderToString() for server rendering.') : _prodInvariant('43') : void 0;\n\t\n\t if (transaction.useCreateElement) {\n\t while (container.lastChild) {\n\t container.removeChild(container.lastChild);\n\t }\n\t DOMLazyTree.insertTreeBefore(container, markup, null);\n\t } else {\n\t setInnerHTML(container, markup);\n\t ReactDOMComponentTree.precacheNode(instance, container.firstChild);\n\t }\n\t\n\t if (false) {\n\t var hostNode = ReactDOMComponentTree.getInstanceFromNode(container.firstChild);\n\t if (hostNode._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: hostNode._debugID,\n\t type: 'mount',\n\t payload: markup.toString()\n\t });\n\t }\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = ReactMount;\n\n/***/ },\n/* 108 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar React = __webpack_require__(20);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\tvar ReactNodeTypes = {\n\t HOST: 0,\n\t COMPOSITE: 1,\n\t EMPTY: 2,\n\t\n\t getType: function getType(node) {\n\t if (node === null || node === false) {\n\t return ReactNodeTypes.EMPTY;\n\t } else if (React.isValidElement(node)) {\n\t if (typeof node.type === 'function') {\n\t return ReactNodeTypes.COMPOSITE;\n\t } else {\n\t return ReactNodeTypes.HOST;\n\t }\n\t }\n\t true ? false ? invariant(false, 'Unexpected node: %s', node) : _prodInvariant('26', node) : void 0;\n\t }\n\t};\n\t\n\tmodule.exports = ReactNodeTypes;\n\n/***/ },\n/* 109 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ViewportMetrics = {\n\t\n\t currentScrollLeft: 0,\n\t\n\t currentScrollTop: 0,\n\t\n\t refreshScrollValues: function refreshScrollValues(scrollPosition) {\n\t ViewportMetrics.currentScrollLeft = scrollPosition.x;\n\t ViewportMetrics.currentScrollTop = scrollPosition.y;\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ViewportMetrics;\n\n/***/ },\n/* 110 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Accumulates items that must not be null or undefined into the first one. This\n\t * is used to conserve memory by avoiding array allocations, and thus sacrifices\n\t * API cleanness. Since `current` can be null before being passed in and not\n\t * null after this function, make sure to assign it back to `current`:\n\t *\n\t * `a = accumulateInto(a, b);`\n\t *\n\t * This API should be sparingly used. Try `accumulate` for something cleaner.\n\t *\n\t * @return {*|array<*>} An accumulation of items.\n\t */\n\t\n\tfunction accumulateInto(current, next) {\n\t !(next != null) ? false ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : _prodInvariant('30') : void 0;\n\t\n\t if (current == null) {\n\t return next;\n\t }\n\t\n\t // Both are not empty. Warning: Never call x.concat(y) when you are not\n\t // certain that x is an Array (x could be a string with concat method).\n\t if (Array.isArray(current)) {\n\t if (Array.isArray(next)) {\n\t current.push.apply(current, next);\n\t return current;\n\t }\n\t current.push(next);\n\t return current;\n\t }\n\t\n\t if (Array.isArray(next)) {\n\t // A bit too dangerous to mutate `next`.\n\t return [current].concat(next);\n\t }\n\t\n\t return [current, next];\n\t}\n\t\n\tmodule.exports = accumulateInto;\n\n/***/ },\n/* 111 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * @param {array} arr an \"accumulation\" of items which is either an Array or\n\t * a single item. Useful when paired with the `accumulate` module. This is a\n\t * simple utility that allows us to reason about a collection of items, but\n\t * handling the case when there is exactly one item (and we do not need to\n\t * allocate an array).\n\t */\n\t\n\tfunction forEachAccumulated(arr, cb, scope) {\n\t if (Array.isArray(arr)) {\n\t arr.forEach(cb, scope);\n\t } else if (arr) {\n\t cb.call(scope, arr);\n\t }\n\t}\n\t\n\tmodule.exports = forEachAccumulated;\n\n/***/ },\n/* 112 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactNodeTypes = __webpack_require__(108);\n\t\n\tfunction getHostComponentFromComposite(inst) {\n\t var type;\n\t\n\t while ((type = inst._renderedNodeType) === ReactNodeTypes.COMPOSITE) {\n\t inst = inst._renderedComponent;\n\t }\n\t\n\t if (type === ReactNodeTypes.HOST) {\n\t return inst._renderedComponent;\n\t } else if (type === ReactNodeTypes.EMPTY) {\n\t return null;\n\t }\n\t}\n\t\n\tmodule.exports = getHostComponentFromComposite;\n\n/***/ },\n/* 113 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\t\n\tvar contentKey = null;\n\t\n\t/**\n\t * Gets the key used to access text content on a DOM node.\n\t *\n\t * @return {?string} Key used to access text content.\n\t * @internal\n\t */\n\tfunction getTextContentAccessor() {\n\t if (!contentKey && ExecutionEnvironment.canUseDOM) {\n\t // Prefer textContent to innerText because many browsers support both but\n\t // SVG <text> elements don't support innerText even when <div> does.\n\t contentKey = 'textContent' in document.documentElement ? 'textContent' : 'innerText';\n\t }\n\t return contentKey;\n\t}\n\t\n\tmodule.exports = getTextContentAccessor;\n\n/***/ },\n/* 114 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\t\n\t/**\n\t * Generate a mapping of standard vendor prefixes using the defined style property and event name.\n\t *\n\t * @param {string} styleProp\n\t * @param {string} eventName\n\t * @returns {object}\n\t */\n\tfunction makePrefixMap(styleProp, eventName) {\n\t var prefixes = {};\n\t\n\t prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n\t prefixes['Webkit' + styleProp] = 'webkit' + eventName;\n\t prefixes['Moz' + styleProp] = 'moz' + eventName;\n\t prefixes['ms' + styleProp] = 'MS' + eventName;\n\t prefixes['O' + styleProp] = 'o' + eventName.toLowerCase();\n\t\n\t return prefixes;\n\t}\n\t\n\t/**\n\t * A list of event names to a configurable list of vendor prefixes.\n\t */\n\tvar vendorPrefixes = {\n\t animationend: makePrefixMap('Animation', 'AnimationEnd'),\n\t animationiteration: makePrefixMap('Animation', 'AnimationIteration'),\n\t animationstart: makePrefixMap('Animation', 'AnimationStart'),\n\t transitionend: makePrefixMap('Transition', 'TransitionEnd')\n\t};\n\t\n\t/**\n\t * Event names that have already been detected and prefixed (if applicable).\n\t */\n\tvar prefixedEventNames = {};\n\t\n\t/**\n\t * Element to check for prefixes on.\n\t */\n\tvar style = {};\n\t\n\t/**\n\t * Bootstrap if a DOM exists.\n\t */\n\tif (ExecutionEnvironment.canUseDOM) {\n\t style = document.createElement('div').style;\n\t\n\t // On some platforms, in particular some releases of Android 4.x,\n\t // the un-prefixed \"animation\" and \"transition\" properties are defined on the\n\t // style object but the events that fire will still be prefixed, so we need\n\t // to check if the un-prefixed events are usable, and if not remove them from the map.\n\t if (!('AnimationEvent' in window)) {\n\t delete vendorPrefixes.animationend.animation;\n\t delete vendorPrefixes.animationiteration.animation;\n\t delete vendorPrefixes.animationstart.animation;\n\t }\n\t\n\t // Same as above\n\t if (!('TransitionEvent' in window)) {\n\t delete vendorPrefixes.transitionend.transition;\n\t }\n\t}\n\t\n\t/**\n\t * Attempts to determine the correct vendor prefixed event name.\n\t *\n\t * @param {string} eventName\n\t * @returns {string}\n\t */\n\tfunction getVendorPrefixedEventName(eventName) {\n\t if (prefixedEventNames[eventName]) {\n\t return prefixedEventNames[eventName];\n\t } else if (!vendorPrefixes[eventName]) {\n\t return eventName;\n\t }\n\t\n\t var prefixMap = vendorPrefixes[eventName];\n\t\n\t for (var styleProp in prefixMap) {\n\t if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) {\n\t return prefixedEventNames[eventName] = prefixMap[styleProp];\n\t }\n\t }\n\t\n\t return '';\n\t}\n\t\n\tmodule.exports = getVendorPrefixedEventName;\n\n/***/ },\n/* 115 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(7);\n\t\n\tvar ReactCompositeComponent = __webpack_require__(199);\n\tvar ReactEmptyComponent = __webpack_require__(103);\n\tvar ReactHostComponent = __webpack_require__(105);\n\t\n\tvar getNextDebugID = __webpack_require__(245);\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(5);\n\t\n\t// To avoid a cyclic dependency, we create the final class in this module\n\tvar ReactCompositeComponentWrapper = function ReactCompositeComponentWrapper(element) {\n\t this.construct(element);\n\t};\n\t_assign(ReactCompositeComponentWrapper.prototype, ReactCompositeComponent, {\n\t _instantiateReactComponent: instantiateReactComponent\n\t});\n\t\n\tfunction getDeclarationErrorAddendum(owner) {\n\t if (owner) {\n\t var name = owner.getName();\n\t if (name) {\n\t return ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t return '';\n\t}\n\t\n\t/**\n\t * Check if the type reference is a known internal type. I.e. not a user\n\t * provided composite type.\n\t *\n\t * @param {function} type\n\t * @return {boolean} Returns true if this is a valid internal type.\n\t */\n\tfunction isInternalComponentType(type) {\n\t return typeof type === 'function' && typeof type.prototype !== 'undefined' && typeof type.prototype.mountComponent === 'function' && typeof type.prototype.receiveComponent === 'function';\n\t}\n\t\n\t/**\n\t * Given a ReactNode, create an instance that will actually be mounted.\n\t *\n\t * @param {ReactNode} node\n\t * @param {boolean} shouldHaveDebugID\n\t * @return {object} A new instance of the element's constructor.\n\t * @protected\n\t */\n\tfunction instantiateReactComponent(node, shouldHaveDebugID) {\n\t var instance;\n\t\n\t if (node === null || node === false) {\n\t instance = ReactEmptyComponent.create(instantiateReactComponent);\n\t } else if ((typeof node === 'undefined' ? 'undefined' : _typeof(node)) === 'object') {\n\t var element = node;\n\t !(element && (typeof element.type === 'function' || typeof element.type === 'string')) ? false ? invariant(false, 'Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s', element.type == null ? element.type : _typeof(element.type), getDeclarationErrorAddendum(element._owner)) : _prodInvariant('130', element.type == null ? element.type : _typeof(element.type), getDeclarationErrorAddendum(element._owner)) : void 0;\n\t\n\t // Special case string values\n\t if (typeof element.type === 'string') {\n\t instance = ReactHostComponent.createInternalComponent(element);\n\t } else if (isInternalComponentType(element.type)) {\n\t // This is temporarily available for custom components that are not string\n\t // representations. I.e. ART. Once those are updated to use the string\n\t // representation, we can drop this code path.\n\t instance = new element.type(element);\n\t\n\t // We renamed this. Allow the old name for compat. :(\n\t if (!instance.getHostNode) {\n\t instance.getHostNode = instance.getNativeNode;\n\t }\n\t } else {\n\t instance = new ReactCompositeComponentWrapper(element);\n\t }\n\t } else if (typeof node === 'string' || typeof node === 'number') {\n\t instance = ReactHostComponent.createInstanceForText(node);\n\t } else {\n\t true ? false ? invariant(false, 'Encountered invalid React node of type %s', typeof node === 'undefined' ? 'undefined' : _typeof(node)) : _prodInvariant('131', typeof node === 'undefined' ? 'undefined' : _typeof(node)) : void 0;\n\t }\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.getHostNode === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : void 0;\n\t }\n\t\n\t // These two fields are used by the DOM and ART diffing algorithms\n\t // respectively. Instead of using expandos on components, we should be\n\t // storing the state needed by the diffing algorithms elsewhere.\n\t instance._mountIndex = 0;\n\t instance._mountImage = null;\n\t\n\t if (false) {\n\t instance._debugID = shouldHaveDebugID ? getNextDebugID() : 0;\n\t }\n\t\n\t // Internal instances should fully constructed at this point, so they should\n\t // not get any new fields added to them at this point.\n\t if (false) {\n\t if (Object.preventExtensions) {\n\t Object.preventExtensions(instance);\n\t }\n\t }\n\t\n\t return instance;\n\t}\n\t\n\tmodule.exports = instantiateReactComponent;\n\n/***/ },\n/* 116 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n\t */\n\t\n\tvar supportedInputTypes = {\n\t 'color': true,\n\t 'date': true,\n\t 'datetime': true,\n\t 'datetime-local': true,\n\t 'email': true,\n\t 'month': true,\n\t 'number': true,\n\t 'password': true,\n\t 'range': true,\n\t 'search': true,\n\t 'tel': true,\n\t 'text': true,\n\t 'time': true,\n\t 'url': true,\n\t 'week': true\n\t};\n\t\n\tfunction isTextInputElement(elem) {\n\t var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n\t\n\t if (nodeName === 'input') {\n\t return !!supportedInputTypes[elem.type];\n\t }\n\t\n\t if (nodeName === 'textarea') {\n\t return true;\n\t }\n\t\n\t return false;\n\t}\n\t\n\tmodule.exports = isTextInputElement;\n\n/***/ },\n/* 117 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar escapeTextContentForBrowser = __webpack_require__(50);\n\tvar setInnerHTML = __webpack_require__(51);\n\t\n\t/**\n\t * Set the textContent property of a node, ensuring that whitespace is preserved\n\t * even in IE8. innerText is a poor substitute for textContent and, among many\n\t * issues, inserts <br> instead of the literal newline chars. innerHTML behaves\n\t * as it should.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} text\n\t * @internal\n\t */\n\tvar setTextContent = function setTextContent(node, text) {\n\t if (text) {\n\t var firstChild = node.firstChild;\n\t\n\t if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) {\n\t firstChild.nodeValue = text;\n\t return;\n\t }\n\t }\n\t node.textContent = text;\n\t};\n\t\n\tif (ExecutionEnvironment.canUseDOM) {\n\t if (!('textContent' in document.documentElement)) {\n\t setTextContent = function setTextContent(node, text) {\n\t if (node.nodeType === 3) {\n\t node.nodeValue = text;\n\t return;\n\t }\n\t setInnerHTML(node, escapeTextContentForBrowser(text));\n\t };\n\t }\n\t}\n\t\n\tmodule.exports = setTextContent;\n\n/***/ },\n/* 118 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\tvar REACT_ELEMENT_TYPE = __webpack_require__(213);\n\t\n\tvar getIteratorFn = __webpack_require__(244);\n\tvar invariant = __webpack_require__(3);\n\tvar KeyEscapeUtils = __webpack_require__(62);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar SEPARATOR = '.';\n\tvar SUBSEPARATOR = ':';\n\t\n\t/**\n\t * This is inlined from ReactElement since this file is shared between\n\t * isomorphic and renderers. We could extract this to a\n\t *\n\t */\n\t\n\t/**\n\t * TODO: Test that a single child and an array with one item have the same key\n\t * pattern.\n\t */\n\t\n\tvar didWarnAboutMaps = false;\n\t\n\t/**\n\t * Generate a key string that identifies a component within a set.\n\t *\n\t * @param {*} component A component that could contain a manual key.\n\t * @param {number} index Index that is used if a manual key is not provided.\n\t * @return {string}\n\t */\n\tfunction getComponentKey(component, index) {\n\t // Do some typechecking here since we call this blindly. We want to ensure\n\t // that we don't block potential future ES APIs.\n\t if (component && (typeof component === 'undefined' ? 'undefined' : _typeof(component)) === 'object' && component.key != null) {\n\t // Explicit key\n\t return KeyEscapeUtils.escape(component.key);\n\t }\n\t // Implicit key determined by the index in the set\n\t return index.toString(36);\n\t}\n\t\n\t/**\n\t * @param {?*} children Children tree container.\n\t * @param {!string} nameSoFar Name of the key path so far.\n\t * @param {!function} callback Callback to invoke with each child found.\n\t * @param {?*} traverseContext Used to pass information throughout the traversal\n\t * process.\n\t * @return {!number} The number of children in this subtree.\n\t */\n\tfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n\t var type = typeof children === 'undefined' ? 'undefined' : _typeof(children);\n\t\n\t if (type === 'undefined' || type === 'boolean') {\n\t // All of the above are perceived as null.\n\t children = null;\n\t }\n\t\n\t if (children === null || type === 'string' || type === 'number' ||\n\t // The following is inlined from ReactElement. This means we can optimize\n\t // some checks. React Fiber also inlines this logic for similar purposes.\n\t type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) {\n\t callback(traverseContext, children,\n\t // If it's the only child, treat the name as if it was wrapped in an array\n\t // so that it's consistent if the number of children grows.\n\t nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n\t return 1;\n\t }\n\t\n\t var child;\n\t var nextName;\n\t var subtreeCount = 0; // Count of children found in the current subtree.\n\t var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\t\n\t if (Array.isArray(children)) {\n\t for (var i = 0; i < children.length; i++) {\n\t child = children[i];\n\t nextName = nextNamePrefix + getComponentKey(child, i);\n\t subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n\t }\n\t } else {\n\t var iteratorFn = getIteratorFn(children);\n\t if (iteratorFn) {\n\t var iterator = iteratorFn.call(children);\n\t var step;\n\t if (iteratorFn !== children.entries) {\n\t var ii = 0;\n\t while (!(step = iterator.next()).done) {\n\t child = step.value;\n\t nextName = nextNamePrefix + getComponentKey(child, ii++);\n\t subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n\t }\n\t } else {\n\t if (false) {\n\t var mapsAsChildrenAddendum = '';\n\t if (ReactCurrentOwner.current) {\n\t var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName();\n\t if (mapsAsChildrenOwnerName) {\n\t mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.';\n\t }\n\t }\n\t process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0;\n\t didWarnAboutMaps = true;\n\t }\n\t // Iterator will provide entry [k,v] tuples rather than values.\n\t while (!(step = iterator.next()).done) {\n\t var entry = step.value;\n\t if (entry) {\n\t child = entry[1];\n\t nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n\t subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n\t }\n\t }\n\t }\n\t } else if (type === 'object') {\n\t var addendum = '';\n\t if (false) {\n\t addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';\n\t if (children._isReactElement) {\n\t addendum = ' It looks like you\\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.';\n\t }\n\t if (ReactCurrentOwner.current) {\n\t var name = ReactCurrentOwner.current.getName();\n\t if (name) {\n\t addendum += ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t }\n\t var childrenString = String(children);\n\t true ? false ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0;\n\t }\n\t }\n\t\n\t return subtreeCount;\n\t}\n\t\n\t/**\n\t * Traverses children that are typically specified as `props.children`, but\n\t * might also be specified through attributes:\n\t *\n\t * - `traverseAllChildren(this.props.children, ...)`\n\t * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n\t *\n\t * The `traverseContext` is an optional argument that is passed through the\n\t * entire traversal. It can be used to store accumulations or anything else that\n\t * the callback might find relevant.\n\t *\n\t * @param {?*} children Children tree object.\n\t * @param {!function} callback To invoke upon traversing each child.\n\t * @param {?*} traverseContext Context for traversal.\n\t * @return {!number} The number of children in this subtree.\n\t */\n\tfunction traverseAllChildren(children, callback, traverseContext) {\n\t if (children == null) {\n\t return 0;\n\t }\n\t\n\t return traverseAllChildrenImpl(children, '', callback, traverseContext);\n\t}\n\t\n\tmodule.exports = traverseAllChildren;\n\n/***/ },\n/* 119 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * Licensed under the Apache License, Version 2.0 (the \"License\");\n\t * you may not use this file except in compliance with the License.\n\t * You may obtain a copy of the License at\n\t *\n\t * http://www.apache.org/licenses/LICENSE-2.0\n\t *\n\t * Unless required by applicable law or agreed to in writing, software\n\t * distributed under the License is distributed on an \"AS IS\" BASIS,\n\t * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\t * See the License for the specific language governing permissions and\n\t * limitations under the License.\n\t *\n\t * @typechecks\n\t */\n\t\n\tvar emptyFunction = __webpack_require__(19);\n\t\n\t/**\n\t * Upstream version of event listener. Does not take into account specific\n\t * nature of platform.\n\t */\n\tvar EventListener = {\n\t /**\n\t * Listen to DOM events during the bubble phase.\n\t *\n\t * @param {DOMEventTarget} target DOM element to register listener on.\n\t * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n\t * @param {function} callback Callback function.\n\t * @return {object} Object with a `remove` method.\n\t */\n\t listen: function listen(target, eventType, callback) {\n\t if (target.addEventListener) {\n\t target.addEventListener(eventType, callback, false);\n\t return {\n\t remove: function remove() {\n\t target.removeEventListener(eventType, callback, false);\n\t }\n\t };\n\t } else if (target.attachEvent) {\n\t target.attachEvent('on' + eventType, callback);\n\t return {\n\t remove: function remove() {\n\t target.detachEvent('on' + eventType, callback);\n\t }\n\t };\n\t }\n\t },\n\t\n\t /**\n\t * Listen to DOM events during the capture phase.\n\t *\n\t * @param {DOMEventTarget} target DOM element to register listener on.\n\t * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n\t * @param {function} callback Callback function.\n\t * @return {object} Object with a `remove` method.\n\t */\n\t capture: function capture(target, eventType, callback) {\n\t if (target.addEventListener) {\n\t target.addEventListener(eventType, callback, true);\n\t return {\n\t remove: function remove() {\n\t target.removeEventListener(eventType, callback, true);\n\t }\n\t };\n\t } else {\n\t if (false) {\n\t console.error('Attempted to listen to events during the capture phase on a ' + 'browser that does not support the capture phase. Your application ' + 'will not receive some events.');\n\t }\n\t return {\n\t remove: emptyFunction\n\t };\n\t }\n\t },\n\t\n\t registerDefault: function registerDefault() {}\n\t};\n\t\n\tmodule.exports = EventListener;\n\n/***/ },\n/* 120 */\n78,\n/* 121 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * @param {DOMElement} node input/textarea to focus\n\t */\n\t\n\tfunction focusNode(node) {\n\t // IE8 can throw \"Can't move focus to the control because it is invisible,\n\t // not enabled, or of a type that does not accept the focus.\" for all kinds of\n\t // reasons that are too expensive and fragile to test.\n\t try {\n\t node.focus();\n\t } catch (e) {}\n\t}\n\t\n\tmodule.exports = focusNode;\n\n/***/ },\n/* 122 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\t/* eslint-disable fb-www/typeof-undefined */\n\t\n\t/**\n\t * Same as document.activeElement but wraps in a try-catch block. In IE it is\n\t * not safe to call document.activeElement if there is nothing focused.\n\t *\n\t * The activeElement will be null only if the document or document body is not\n\t * yet defined.\n\t */\n\t\n\tfunction getActiveElement() /*?DOMElement*/{\n\t if (typeof document === 'undefined') {\n\t return null;\n\t }\n\t try {\n\t return document.activeElement || document.body;\n\t } catch (e) {\n\t return document.body;\n\t }\n\t}\n\t\n\tmodule.exports = getActiveElement;\n\n/***/ },\n/* 123 */\n62,\n/* 124 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactDOM = __webpack_require__(100);\n\tvar ReactInstanceMap = __webpack_require__(33);\n\t\n\texports.getReactDOM = function () {\n\t return ReactDOM;\n\t};\n\t\n\texports.getReactInstanceMap = function () {\n\t return ReactInstanceMap;\n\t};\n\t\n\tif (false) {\n\t var ReactPerf = require('react-dom/lib/ReactPerf');\n\t var ReactTestUtils = require('react-dom/lib/ReactTestUtils');\n\t\n\t exports.getReactPerf = function () {\n\t return ReactPerf;\n\t };\n\t\n\t exports.getReactTestUtils = function () {\n\t return ReactTestUtils;\n\t };\n\t}\n\n/***/ },\n/* 125 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\t// The Symbol used to tag the ReactElement type. If there is no native Symbol\n\t// nor polyfill, then a plain number is used for performance.\n\t\n\tvar REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;\n\t\n\tmodule.exports = REACT_ELEMENT_TYPE;\n\n/***/ },\n/* 126 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactPropTypeLocationNames = {};\n\t\n\tif (false) {\n\t ReactPropTypeLocationNames = {\n\t prop: 'prop',\n\t context: 'context',\n\t childContext: 'child context'\n\t };\n\t}\n\t\n\tmodule.exports = ReactPropTypeLocationNames;\n\n/***/ },\n/* 127 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar canDefineProperty = false;\n\tif (false) {\n\t try {\n\t // $FlowFixMe https://github.com/facebook/flow/issues/285\n\t Object.defineProperty({}, 'x', { get: function get() {} });\n\t canDefineProperty = true;\n\t } catch (x) {\n\t // IE will fail on defineProperty\n\t }\n\t}\n\t\n\tmodule.exports = canDefineProperty;\n\n/***/ },\n/* 128 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\t/* global Symbol */\n\t\n\tvar ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n\tvar FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\t\n\t/**\n\t * Returns the iterator method function contained on the iterable object.\n\t *\n\t * Be sure to invoke the function with the iterable as context:\n\t *\n\t * var iteratorFn = getIteratorFn(myIterable);\n\t * if (iteratorFn) {\n\t * var iterator = iteratorFn.call(myIterable);\n\t * ...\n\t * }\n\t *\n\t * @param {?object} maybeIterable\n\t * @return {?function}\n\t */\n\tfunction getIteratorFn(maybeIterable) {\n\t var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n\t if (typeof iteratorFn === 'function') {\n\t return iteratorFn;\n\t }\n\t}\n\t\n\tmodule.exports = getIteratorFn;\n\n/***/ },\n/* 129 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(36);\n\t\n\tvar ReactElement = __webpack_require__(35);\n\t\n\tvar invariant = __webpack_require__(28);\n\t\n\t/**\n\t * Returns the first child in a collection of children and verifies that there\n\t * is only one child in the collection.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.children.only\n\t *\n\t * The current implementation of this function assumes that a single child gets\n\t * passed without a wrapper, but the purpose of this helper function is to\n\t * abstract away the particular structure of children.\n\t *\n\t * @param {?object} children Child collection structure.\n\t * @return {ReactElement} The first and only `ReactElement` contained in the\n\t * structure.\n\t */\n\tfunction onlyChild(children) {\n\t !ReactElement.isValidElement(children) ? false ? invariant(false, 'React.Children.only expected to receive a single React element child.') : _prodInvariant('143') : void 0;\n\t return children;\n\t}\n\t\n\tmodule.exports = onlyChild;\n\n/***/ },\n/* 130 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(36);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\tvar REACT_ELEMENT_TYPE = __webpack_require__(125);\n\t\n\tvar getIteratorFn = __webpack_require__(128);\n\tvar invariant = __webpack_require__(28);\n\tvar KeyEscapeUtils = __webpack_require__(123);\n\tvar warning = __webpack_require__(22);\n\t\n\tvar SEPARATOR = '.';\n\tvar SUBSEPARATOR = ':';\n\t\n\t/**\n\t * This is inlined from ReactElement since this file is shared between\n\t * isomorphic and renderers. We could extract this to a\n\t *\n\t */\n\t\n\t/**\n\t * TODO: Test that a single child and an array with one item have the same key\n\t * pattern.\n\t */\n\t\n\tvar didWarnAboutMaps = false;\n\t\n\t/**\n\t * Generate a key string that identifies a component within a set.\n\t *\n\t * @param {*} component A component that could contain a manual key.\n\t * @param {number} index Index that is used if a manual key is not provided.\n\t * @return {string}\n\t */\n\tfunction getComponentKey(component, index) {\n\t // Do some typechecking here since we call this blindly. We want to ensure\n\t // that we don't block potential future ES APIs.\n\t if (component && (typeof component === 'undefined' ? 'undefined' : _typeof(component)) === 'object' && component.key != null) {\n\t // Explicit key\n\t return KeyEscapeUtils.escape(component.key);\n\t }\n\t // Implicit key determined by the index in the set\n\t return index.toString(36);\n\t}\n\t\n\t/**\n\t * @param {?*} children Children tree container.\n\t * @param {!string} nameSoFar Name of the key path so far.\n\t * @param {!function} callback Callback to invoke with each child found.\n\t * @param {?*} traverseContext Used to pass information throughout the traversal\n\t * process.\n\t * @return {!number} The number of children in this subtree.\n\t */\n\tfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n\t var type = typeof children === 'undefined' ? 'undefined' : _typeof(children);\n\t\n\t if (type === 'undefined' || type === 'boolean') {\n\t // All of the above are perceived as null.\n\t children = null;\n\t }\n\t\n\t if (children === null || type === 'string' || type === 'number' ||\n\t // The following is inlined from ReactElement. This means we can optimize\n\t // some checks. React Fiber also inlines this logic for similar purposes.\n\t type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) {\n\t callback(traverseContext, children,\n\t // If it's the only child, treat the name as if it was wrapped in an array\n\t // so that it's consistent if the number of children grows.\n\t nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n\t return 1;\n\t }\n\t\n\t var child;\n\t var nextName;\n\t var subtreeCount = 0; // Count of children found in the current subtree.\n\t var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\t\n\t if (Array.isArray(children)) {\n\t for (var i = 0; i < children.length; i++) {\n\t child = children[i];\n\t nextName = nextNamePrefix + getComponentKey(child, i);\n\t subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n\t }\n\t } else {\n\t var iteratorFn = getIteratorFn(children);\n\t if (iteratorFn) {\n\t var iterator = iteratorFn.call(children);\n\t var step;\n\t if (iteratorFn !== children.entries) {\n\t var ii = 0;\n\t while (!(step = iterator.next()).done) {\n\t child = step.value;\n\t nextName = nextNamePrefix + getComponentKey(child, ii++);\n\t subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n\t }\n\t } else {\n\t if (false) {\n\t var mapsAsChildrenAddendum = '';\n\t if (ReactCurrentOwner.current) {\n\t var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName();\n\t if (mapsAsChildrenOwnerName) {\n\t mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.';\n\t }\n\t }\n\t process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0;\n\t didWarnAboutMaps = true;\n\t }\n\t // Iterator will provide entry [k,v] tuples rather than values.\n\t while (!(step = iterator.next()).done) {\n\t var entry = step.value;\n\t if (entry) {\n\t child = entry[1];\n\t nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n\t subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n\t }\n\t }\n\t }\n\t } else if (type === 'object') {\n\t var addendum = '';\n\t if (false) {\n\t addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';\n\t if (children._isReactElement) {\n\t addendum = ' It looks like you\\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.';\n\t }\n\t if (ReactCurrentOwner.current) {\n\t var name = ReactCurrentOwner.current.getName();\n\t if (name) {\n\t addendum += ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t }\n\t var childrenString = String(children);\n\t true ? false ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0;\n\t }\n\t }\n\t\n\t return subtreeCount;\n\t}\n\t\n\t/**\n\t * Traverses children that are typically specified as `props.children`, but\n\t * might also be specified through attributes:\n\t *\n\t * - `traverseAllChildren(this.props.children, ...)`\n\t * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n\t *\n\t * The `traverseContext` is an optional argument that is passed through the\n\t * entire traversal. It can be used to store accumulations or anything else that\n\t * the callback might find relevant.\n\t *\n\t * @param {?*} children Children tree object.\n\t * @param {!function} callback To invoke upon traversing each child.\n\t * @param {?*} traverseContext Context for traversal.\n\t * @return {!number} The number of children in this subtree.\n\t */\n\tfunction traverseAllChildren(children, callback, traverseContext) {\n\t if (children == null) {\n\t return 0;\n\t }\n\t\n\t return traverseAllChildrenImpl(children, '', callback, traverseContext);\n\t}\n\t\n\tmodule.exports = traverseAllChildren;\n\n/***/ },\n/* 131 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t(function (name, context, definition) {\n\t if (typeof module !== 'undefined' && module.exports) module.exports = definition();else if (true) !(__WEBPACK_AMD_DEFINE_FACTORY__ = (definition), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else context[name] = definition();\n\t})('urljoin', undefined, function () {\n\t\n\t function normalize(str, options) {\n\t\n\t // make sure protocol is followed by two slashes\n\t str = str.replace(/:\\//g, '://');\n\t\n\t // remove consecutive slashes\n\t str = str.replace(/([^:\\s])\\/+/g, '$1/');\n\t\n\t // remove trailing slash before parameters or hash\n\t str = str.replace(/\\/(\\?|&|#[^!])/g, '$1');\n\t\n\t // replace ? in parameters with &\n\t str = str.replace(/(\\?.+)\\?/g, '$1&');\n\t\n\t return str;\n\t }\n\t\n\t return function () {\n\t var input = arguments;\n\t var options = {};\n\t\n\t if (_typeof(arguments[0]) === 'object') {\n\t // new syntax with array and options\n\t input = arguments[0];\n\t options = arguments[1] || {};\n\t }\n\t\n\t var joined = [].slice.call(input, 0).join('/');\n\t return normalize(joined, options);\n\t };\n\t});\n\n/***/ },\n/* 132 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.debouncedRequestAvatar = undefined;\n\texports.requestAvatar = requestAvatar;\n\t\n\tvar _index = __webpack_require__(12);\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tvar _preload_utils = __webpack_require__(146);\n\t\n\tvar preload = _interopRequireWildcard(_preload_utils);\n\t\n\tvar _fn_utils = __webpack_require__(324);\n\t\n\tvar f = _interopRequireWildcard(_fn_utils);\n\t\n\tvar _index2 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"avatar\"]),\n\t tget = _dataFns.tget,\n\t tset = _dataFns.tset;\n\t\n\tvar cache = {};\n\t\n\tfunction requestAvatar(id, src) {\n\t if (cache[src]) {\n\t return update(id, src, cache[src].url, cache[src].displayName, true);\n\t }\n\t\n\t var provider = l.ui.avatarProvider((0, _index.read)(_index.getEntity, \"lock\", id)).toJS();\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t m = tset(m, \"syncStatus\", \"loading\");\n\t m = tset(m, \"src\", src);\n\t return m;\n\t });\n\t\n\t var url = void 0,\n\t displayName = void 0;\n\t\n\t provider.url(src, function (error, str) {\n\t if (error) return handleError(id, src);\n\t\n\t preload.img(str, function (error, img) {\n\t if (error) return handleError(id, src);\n\t url = img.src;\n\t if (displayName !== undefined) handleSuccess(id, src, url, displayName);\n\t });\n\t });\n\t\n\t provider.displayName(src, function (error, str) {\n\t if (error) return handleError(id);\n\t displayName = str;\n\t if (url !== undefined) handleSuccess(id, src, url, displayName);\n\t });\n\t}\n\t\n\tvar debouncedRequestAvatar = exports.debouncedRequestAvatar = f.debounce(requestAvatar, 300);\n\t\n\tfunction handleSuccess(id, src, url, displayName) {\n\t cache[src] = { url: url, displayName: displayName };\n\t update(id, src, url, displayName);\n\t}\n\t\n\tfunction update(id, src, url, displayName) {\n\t var force = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\t\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t if (force || tget(m, \"src\") === src) {\n\t m = tset(m, \"syncStatus\", \"ok\");\n\t m = tset(m, \"url\", url);\n\t m = tset(m, \"src\", src);\n\t m = tset(m, \"displayName\", displayName);\n\t }\n\t return m;\n\t });\n\t}\n\t\n\tfunction handleError(id, src) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t return tget(m, \"src\") === \"src\" ? tset(m, \"syncStatus\", \"error\") : m;\n\t });\n\t}\n\n/***/ },\n/* 133 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _actions = __webpack_require__(38);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(11);\n\t\n\tvar _actions2 = __webpack_require__(24);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar LoginSignUpTabs = function (_React$Component) {\n\t _inherits(LoginSignUpTabs, _React$Component);\n\t\n\t function LoginSignUpTabs() {\n\t _classCallCheck(this, LoginSignUpTabs);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t LoginSignUpTabs.prototype.render = function render() {\n\t var _props = this.props,\n\t lock = _props.lock,\n\t loginLabel = _props.loginLabel,\n\t signUpLink = _props.signUpLink,\n\t signUpLabel = _props.signUpLabel;\n\t\n\t var isLogin = (0, _index2.getScreen)(lock) === \"login\";\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-tabs-container' },\n\t _react2.default.createElement(\n\t 'ul',\n\t { className: 'auth0-lock-tabs' },\n\t _react2.default.createElement(LoginSignUpTab, {\n\t label: loginLabel,\n\t current: isLogin,\n\t clickHandler: this.handleLoginClick.bind(this)\n\t }),\n\t _react2.default.createElement(LoginSignUpTab, {\n\t label: signUpLabel,\n\t current: !isLogin,\n\t clickHandler: this.handleSignUpClick.bind(this),\n\t clickWithHrefHandler: this.handleSignUpWithHrefClick.bind(this),\n\t href: signUpLink\n\t })\n\t )\n\t );\n\t };\n\t\n\t LoginSignUpTabs.prototype.handleLoginClick = function handleLoginClick() {\n\t (0, _actions.showLoginActivity)(l.id(this.props.lock));\n\t };\n\t\n\t LoginSignUpTabs.prototype.handleSignUpClick = function handleSignUpClick() {\n\t if (this.props.signUpLink) {\n\t (0, _actions2.closeLock)(l.id(this.props.lock), true);\n\t }\n\t (0, _actions.showSignUpActivity)(l.id(this.props.lock));\n\t };\n\t\n\t LoginSignUpTabs.prototype.handleSignUpWithHrefClick = function handleSignUpWithHrefClick() {\n\t (0, _actions2.closeLock)(l.id(this.props.lock), true);\n\t };\n\t\n\t return LoginSignUpTabs;\n\t}(_react2.default.Component);\n\t\n\texports.default = LoginSignUpTabs;\n\t\n\t\n\tLoginSignUpTabs.propTypes = {\n\t lock: _react2.default.PropTypes.object.isRequired,\n\t loginLabel: _react2.default.PropTypes.string.isRequired,\n\t signUpLabel: _react2.default.PropTypes.string.isRequired,\n\t signUpLink: _react2.default.PropTypes.string\n\t};\n\t\n\tvar LoginSignUpTab = function (_React$Component2) {\n\t _inherits(LoginSignUpTab, _React$Component2);\n\t\n\t function LoginSignUpTab() {\n\t _classCallCheck(this, LoginSignUpTab);\n\t\n\t return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments));\n\t }\n\t\n\t LoginSignUpTab.prototype.handleClick = function handleClick(e) {\n\t if (this.props.href) {\n\t this.props.clickWithHrefHandler();\n\t } else {\n\t e.preventDefault();\n\t this.props.clickHandler();\n\t }\n\t };\n\t\n\t LoginSignUpTab.prototype.render = function render() {\n\t var _props2 = this.props,\n\t current = _props2.current,\n\t href = _props2.href,\n\t label = _props2.label;\n\t\n\t var className = current ? \"auth0-lock-tabs-current\" : \"\";\n\t\n\t return _react2.default.createElement(\n\t 'li',\n\t { className: className },\n\t _react2.default.createElement(\n\t 'a',\n\t {\n\t href: href || \"#\",\n\t onClick: this.handleClick.bind(this)\n\t },\n\t label\n\t )\n\t );\n\t };\n\t\n\t return LoginSignUpTab;\n\t}(_react2.default.Component);\n\n/***/ },\n/* 134 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _password_input = __webpack_require__(88);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = function (_ref) {\n\t var children = _ref.children;\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-sso-notice-container' },\n\t _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: _password_input.icon } }),\n\t ' ',\n\t \" \",\n\t _react2.default.createElement(\n\t 'span',\n\t { className: 'auth0-sso-notice' },\n\t children\n\t )\n\t );\n\t};\n\n/***/ },\n/* 135 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t// TODO: this module should depend from social stuff\n\t\n\t\n\texports.hasFreeSubscription = hasFreeSubscription;\n\texports.connection = connection;\n\texports.initClient = initClient;\n\texports.clientConnections = clientConnections;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tvar _index = __webpack_require__(39);\n\t\n\tvar _enterprise = __webpack_require__(23);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"client\"]),\n\t initNS = _dataFns.initNS,\n\t get = _dataFns.get;\n\t\n\tvar DEFAULT_CONNECTION_VALIDATION = { username: { min: 1, max: 15 } };\n\t\n\tfunction hasFreeSubscription(m) {\n\t return [\"free\", \"dev\"].indexOf(get(m, [\"tenant\", \"subscription\"])) > -1;\n\t}\n\t\n\tfunction connection(m, strategyName, name) {\n\t // TODO: this function should take a client, not a map with a client\n\t // key.\n\t var connections = strategy(m, strategyName).get(\"connections\", (0, _immutable.List)());\n\t return connections.find(withName(name)) || (0, _immutable.Map)();\n\t}\n\t\n\tfunction strategy(m, name) {\n\t // TODO: this function should take a client, not a map with a client\n\t // key.\n\t return m.getIn([\"client\", \"strategies\"], (0, _immutable.List)()).find(withName(name)) || (0, _immutable.Map)();\n\t}\n\t\n\tfunction withName(name) {\n\t return function (x) {\n\t return x.get(\"name\") === name;\n\t };\n\t}\n\t\n\tfunction strategyNameToConnectionType(str) {\n\t if (str === \"auth0\") {\n\t return \"database\";\n\t } else if (str === \"email\" || str === \"sms\") {\n\t return \"passwordless\";\n\t } else if (_index.STRATEGIES[str]) {\n\t return \"social\";\n\t } else if (_enterprise.STRATEGIES[str]) {\n\t return \"enterprise\";\n\t } else if ([\"oauth1\", \"oauth2\"].indexOf(str) !== -1) {\n\t return \"social\";\n\t } else {\n\t return \"unknown\";\n\t }\n\t}\n\t\n\tfunction formatConnectionValidation() {\n\t var connectionValidation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\t\n\t if (connectionValidation.username == null) {\n\t return null;\n\t }\n\t\n\t var validation = _extends({}, DEFAULT_CONNECTION_VALIDATION, connectionValidation);\n\t var defaultMin = DEFAULT_CONNECTION_VALIDATION.username.min;\n\t var defaultMax = DEFAULT_CONNECTION_VALIDATION.username.max;\n\t\n\t validation.username.min = parseInt(validation.username.min, 10) || defaultMin;\n\t validation.username.max = parseInt(validation.username.max, 10) || defaultMax;\n\t\n\t if (validation.username.min > validation.username.max) {\n\t validation.username.min = defaultMin;\n\t validation.username.max = defaultMax;\n\t }\n\t\n\t return validation;\n\t}\n\t\n\tvar emptyConnections = _immutable2.default.fromJS({\n\t database: [],\n\t enterprise: [],\n\t passwordless: [],\n\t social: [],\n\t unknown: [] // TODO: should be oauth2\n\t});\n\t\n\tfunction initClient(m, client) {\n\t return initNS(m, formatClient(client));\n\t}\n\t\n\tfunction formatClient(o) {\n\t return new _immutable2.default.fromJS({\n\t id: o.id,\n\t tenant: {\n\t name: o.tenant,\n\t subscription: o.subscription\n\t },\n\t connections: formatClientConnections(o)\n\t });\n\t}\n\t\n\tfunction formatClientConnections(o) {\n\t var result = emptyConnections.toJS();\n\t\n\t var _loop = function _loop() {\n\t var _result$connectionTyp;\n\t\n\t var strategy = o.strategies[i];\n\t var connectionType = strategyNameToConnectionType(strategy.name);\n\t\n\t if (connectionType === \"passwordless\") {\n\t return 'continue'; // disabled until lock supports passwordless connections within the same engine\n\t }\n\t\n\t var connections = strategy.connections.map(function (connection) {\n\t return formatClientConnection(connectionType, strategy.name, connection);\n\t });\n\t (_result$connectionTyp = result[connectionType]).push.apply(_result$connectionTyp, connections);\n\t };\n\t\n\t for (var i = 0; i < (o.strategies || []).length; i++) {\n\t var _ret = _loop();\n\t\n\t if (_ret === 'continue') continue;\n\t }\n\t\n\t return result;\n\t}\n\t\n\tfunction formatClientConnection(connectionType, strategyName, connection) {\n\t var result = {\n\t name: connection.name,\n\t strategy: strategyName,\n\t type: connectionType\n\t };\n\t\n\t if (connectionType === \"database\") {\n\t result.passwordPolicy = connection.passwordPolicy || \"none\";\n\t result.allowSignup = typeof connection.showSignup === \"boolean\" ? connection.showSignup : true;\n\t result.allowForgot = typeof connection.showForgot === \"boolean\" ? connection.showForgot : true;\n\t result.requireUsername = typeof connection.requires_username === \"boolean\" ? connection.requires_username : false;\n\t result.validation = formatConnectionValidation(connection.validation);\n\t }\n\t\n\t if (connectionType === \"enterprise\") {\n\t var domains = connection.domain_aliases || [];\n\t if (connection.domain) {\n\t domains.unshift(connection.domain);\n\t }\n\t result.domains = domains;\n\t }\n\t\n\t return result;\n\t}\n\t\n\tfunction clientConnections(m) {\n\t return get(m, \"connections\", emptyConnections);\n\t}\n\n/***/ },\n/* 136 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar PaneSeparator = function PaneSeparator() {\n\t return _react2.default.createElement(\"div\", { className: \"auth0-lock-pane-separator\" });\n\t};\n\t\n\texports.default = PaneSeparator;\n\n/***/ },\n/* 137 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.lastUsedConnection = lastUsedConnection;\n\texports.lastUsedUsername = lastUsedUsername;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tfunction lastUsedConnection(m) {\n\t return m.getIn([\"sso\", \"lastUsedConnection\"]);\n\t}\n\t\n\tfunction lastUsedUsername(m) {\n\t return m.getIn([\"sso\", \"lastUsedUsername\"], \"\");\n\t}\n\n/***/ },\n/* 138 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.changeField = changeField;\n\texports.startOptionSelection = startOptionSelection;\n\texports.selectOption = selectOption;\n\texports.cancelOptionSelection = cancelOptionSelection;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _index = __webpack_require__(12);\n\t\n\tvar _index2 = __webpack_require__(8);\n\t\n\tfunction changeField(id, name, value, validationFn) {\n\t for (var _len = arguments.length, validationExtraArgs = Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++) {\n\t validationExtraArgs[_key - 4] = arguments[_key];\n\t }\n\t\n\t _index.swap.apply(undefined, [_index.updateEntity, \"lock\", id, _index2.setField, name, value, validationFn].concat(validationExtraArgs));\n\t}\n\t\n\tfunction startOptionSelection(id, name, iconUrl, icon) {\n\t // TODO: should be transient\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t return m.setIn([\"field\", \"selecting\", \"name\"], name).setIn([\"field\", \"selecting\", \"iconUrl\"], iconUrl).setIn([\"field\", \"selecting\", \"icon\"], icon);\n\t });\n\t}\n\t\n\tfunction selectOption(id, name, option) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t return (0, _index2.setOptionField)(m.deleteIn([\"field\", \"selecting\"]), name, option);\n\t });\n\t}\n\t\n\tfunction cancelOptionSelection(id) {\n\t (0, _index.swap)(_index.updateEntity, \"lock\", id, function (m) {\n\t return m.deleteIn([\"field\", \"selecting\"]);\n\t });\n\t}\n\n/***/ },\n/* 139 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _auth_button = __webpack_require__(143);\n\t\n\tvar _auth_button2 = _interopRequireDefault(_auth_button);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _actions = __webpack_require__(54);\n\t\n\tvar _index2 = __webpack_require__(39);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar SocialButtonsPane = function (_React$Component) {\n\t _inherits(SocialButtonsPane, _React$Component);\n\t\n\t function SocialButtonsPane() {\n\t _classCallCheck(this, SocialButtonsPane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t SocialButtonsPane.prototype.render = function render() {\n\t // TODO: i don't like that it receives the instructions tanslated\n\t // but it also takes the t fn\n\t var _props = this.props,\n\t bigButtons = _props.bigButtons,\n\t instructions = _props.instructions,\n\t labelFn = _props.labelFn,\n\t lock = _props.lock,\n\t showLoading = _props.showLoading,\n\t signUp = _props.signUp;\n\t\n\t\n\t var headerText = instructions || null;\n\t var header = headerText && _react2.default.createElement(\n\t 'p',\n\t null,\n\t headerText\n\t );\n\t\n\t var themes = (0, _index2.authButtonsTheme)(lock);\n\t\n\t var buttons = (0, _index2.socialConnections)(lock).map(function (x) {\n\t var buttonTheme = themes.get(x.get(\"name\"));\n\t var connectionName = buttonTheme && buttonTheme.get(\"displayName\");\n\t var primaryColor = buttonTheme && buttonTheme.get(\"primaryColor\");\n\t var foregroundColor = buttonTheme && buttonTheme.get(\"foregroundColor\");\n\t var icon = buttonTheme && buttonTheme.get(\"icon\");\n\t\n\t return _react2.default.createElement(_auth_button2.default, {\n\t isBig: bigButtons,\n\t key: x.get(\"name\"),\n\t label: labelFn(signUp ? \"signUpWithLabel\" : \"loginWithLabel\", connectionName || (0, _index2.displayName)(x)),\n\t onClick: function onClick() {\n\t return (0, _actions.logIn)(l.id(lock), x);\n\t },\n\t strategy: x.get(\"strategy\"),\n\t primaryColor: primaryColor,\n\t foregroundColor: foregroundColor,\n\t icon: icon\n\t });\n\t });\n\t\n\t var loading = showLoading && _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-loading-container' },\n\t _react2.default.createElement('div', { className: 'auth0-loading' })\n\t );\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth-lock-social-buttons-pane' },\n\t header,\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-social-buttons-container' },\n\t buttons\n\t ),\n\t loading\n\t );\n\t };\n\t\n\t return SocialButtonsPane;\n\t}(_react2.default.Component);\n\t\n\texports.default = SocialButtonsPane;\n\t\n\t\n\tSocialButtonsPane.propTypes = {\n\t bigButtons: _react2.default.PropTypes.bool.isRequired,\n\t instructions: _react2.default.PropTypes.any,\n\t labelFn: _react2.default.PropTypes.func.isRequired,\n\t lock: _react2.default.PropTypes.object.isRequired,\n\t showLoading: _react2.default.PropTypes.bool.isRequired,\n\t signUp: _react2.default.PropTypes.bool.isRequired\n\t};\n\t\n\tSocialButtonsPane.defaultProps = {\n\t showLoading: false\n\t};\n\n/***/ },\n/* 140 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _auth0Js = __webpack_require__(56);\n\t\n\tvar _auth0Js2 = _interopRequireDefault(_auth0Js);\n\t\n\tvar _core = __webpack_require__(292);\n\t\n\tvar _core2 = _interopRequireDefault(_core);\n\t\n\tvar _classic = __webpack_require__(82);\n\t\n\tvar _classic2 = _interopRequireDefault(_classic);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar css = '/* normalize.css v3.0.2 | MIT License | git.io/normalize */ .auth0-lock html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } .auth0-lock body { margin: 0; } .auth0-lock article, .auth0-lock aside, .auth0-lock details, .auth0-lock figcaption, .auth0-lock figure, .auth0-lock footer, .auth0-lock header, .auth0-lock hgroup, .auth0-lock main, .auth0-lock menu, .auth0-lock nav, .auth0-lock section, .auth0-lock summary { display: block; } .auth0-lock audio, .auth0-lock canvas, .auth0-lock progress, .auth0-lock video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } .auth0-lock audio:not([controls]) { display: none; height: 0; } .auth0-lock [hidden], .auth0-lock template { display: none; } .auth0-lock a { background-color: transparent; } .auth0-lock a:active, .auth0-lock a:hover { outline: 0; } .auth0-lock abbr[title] { border-bottom: 1px dotted; } .auth0-lock b, .auth0-lock strong { font-weight: bold; } .auth0-lock dfn { font-style: italic; } .auth0-lock h1 { font-size: 2em; margin: 0.67em 0; } .auth0-lock mark { background: #ff0; color: #000; } .auth0-lock small { font-size: 80%; } .auth0-lock sub, .auth0-lock sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } .auth0-lock sup { top: -0.5em; } .auth0-lock sub { bottom: -0.25em; } .auth0-lock img { border: 0; } .auth0-lock svg:not(:root) { overflow: hidden; } .auth0-lock figure { margin: 1em 40px; } .auth0-lock hr { box-sizing: content-box; height: 0; } .auth0-lock pre { overflow: auto; } .auth0-lock code, .auth0-lock kbd, .auth0-lock pre, .auth0-lock samp { font-family: monospace, monospace; font-size: 1em; } .auth0-lock button, .auth0-lock input, .auth0-lock optgroup, .auth0-lock select, .auth0-lock textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ } .auth0-lock button { overflow: visible; } .auth0-lock button, .auth0-lock select { text-transform: none; } .auth0-lock button, .auth0-lock html input[type=\"button\"], .auth0-lock input[type=\"reset\"], .auth0-lock input[type=\"submit\"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } .auth0-lock button[disabled], .auth0-lock html input[disabled] { cursor: default; } .auth0-lock button::-moz-focus-inner, .auth0-lock input::-moz-focus-inner { border: 0; padding: 0; } .auth0-lock input { line-height: normal; } .auth0-lock input[type=\"checkbox\"], .auth0-lock input[type=\"radio\"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } .auth0-lock input[type=\"number\"]::-webkit-inner-spin-button, .auth0-lock input[type=\"number\"]::-webkit-outer-spin-button { height: auto; } .auth0-lock input[type=\"search\"] { -webkit-appearance: textfield; /* 1 */ /* 2 */ box-sizing: content-box; } .auth0-lock input[type=\"search\"]::-webkit-search-cancel-button, .auth0-lock input[type=\"search\"]::-webkit-search-decoration { -webkit-appearance: none; } .auth0-lock fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } .auth0-lock legend { border: 0; /* 1 */ padding: 0; /* 2 */ } .auth0-lock textarea { overflow: auto; } .auth0-lock optgroup { font-weight: bold; } .auth0-lock table { border-collapse: collapse; border-spacing: 0; } .auth0-lock td, .auth0-lock th { padding: 0; } .auth0-lock-social-button-icon { background-repeat: no-repeat; background-size: 50%; background-position: center center; } .auth0-lock-social-button[data-provider=\"amazon\"] { background-color: #f90; } .auth0-lock-social-button[data-provider=\"aol\"] { background-color: #ff0b00; } .auth0-lock-social-button[data-provider=\"baidu\"] { background-color: #2529d8; } .auth0-lock-social-button[data-provider=\"bitbucket\"] { background-color: #205081; } .auth0-lock-social-button[data-provider=\"dropbox\"] { background-color: #007ee5; } .auth0-lock-social-button[data-provider=\"ebay\"] { background-color: #0064d2; } .auth0-lock-social-button[data-provider=\"facebook\"] { background-color: #3b5998; } .auth0-lock-social-button[data-provider^=\"google\"] { background-color: #4285f4; } .auth0-lock-social-button[data-provider=\"instagram\"] { background-color: #3f729b; } .auth0-lock-social-button[data-provider=\"linkedin\"] { background-color: #0077b5; } .auth0-lock-social-button[data-provider=\"github\"] { background-color: #333; } .auth0-lock-social-button[data-provider=\"oauth2\"] { background-color: #eb5424; } .auth0-lock-social-button[data-provider=\"paypal\"] { background-color: #009cde; } .auth0-lock-social-button[data-provider^=\"salesforce\"] { background-color: #1798c1; } .auth0-lock-social-button[data-provider=\"shopify\"] { background-color: #96bf48; } .auth0-lock-social-button[data-provider=\"soundcloud\"] { background-color: #f80; } .auth0-lock-social-button[data-provider=\"renren\"] { background-color: #0056b5; } .auth0-lock-social-button[data-provider=\"exact\"] { background-color: #ed1c24; } .auth0-lock-social-button[data-provider=\"twitter\"] { background-color: #55acee; } .auth0-lock-social-button[data-provider=\"\"] { background-color: #c7eaff; } .auth0-lock-social-button[data-provider=\"yandex\"] { background-color: #fc0; } .auth0-lock-social-button[data-provider^=\"thecity\"] { background-color: #767571; } .auth0-lock-social-button[data-provider=\"planningcenter\"] { background-color: #4e4e4e; } .auth0-lock-social-button[data-provider=\"thirtysevensignals\"] { background-color: #6ac071; } .auth0-lock-social-button[data-provider=\"fitbit\"] { background-color: #4cc2c4; } .auth0-lock-social-button[data-provider=\"wordpress\"] { background-color: #21759b; } .auth0-lock-social-button[data-provider=\"yahoo\"] { background-color: #410093; } .auth0-lock-social-button[data-provider=\"box\"] { background-color: #267bb6; } .auth0-lock-social-button[data-provider=\"vkontakte\"] { background-color: #45668e; } .auth0-lock-social-button[data-provider=\"dwolla\"] { background-color: #f5891f; } .auth0-lock-social-button[data-provider=\"miicard\"] { background-color: #3fb7ff; } .auth0-lock-social-button[data-provider=\"yammer\"] { background-color: #0072c6; } .auth0-lock-social-button[data-provider=\"weibo\"] { background-color: #dd4b39; } .auth0-lock-social-button[data-provider^=\"windows\"], .auth0-lock-social-button[data-provider^=\"microsoft\"] { background-color: #00a1f1; } .auth0-lock-social-button[data-provider^=amazon] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjcycHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDcyIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YW1hem9uPC90aXRsZT4KICAgIDxkZXNjPkN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g4IEw0OS45MzgsMTUuMTg4IFogTTkwLjEyNSwzMC44MTMgQzkwLjEyNSwyOC4xMjUgODcuOTM3LDI1LjkzOCA4NS4yNSwyNS45MzggQzgyLjU2MywyNS45MzggODAuMzc1LDI4LjEyNiA4MC4zNzUsMzAuODEzIEM4MC4zNzUsMzMuNSA4Mi41NjMsMzUuNjg4IDg1LjI1LDM1LjY4OCBDODcuOTM3LDM1LjY4OCA5MC4xMjUsMzMuNSA5MC4xMjUsMzAuODEzIEw5MC4xMjUsMzAuODEzIFogTTc1LjkzOCwzNC44MTMgTDc1LjkzOCwwLjEyNSBMNjguMjUsMC4xMjUgTDY4LjI1LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBaIE0wLjY4OCwzNC44MTMgTDEwLjUwMSwzNC44MTMgTDEyLjEyNiwyOS44NzUgTDI0LjI1MSwyOS44NzUgTDI1Ljg3NiwzNC44MTMgTDM1LjYyNiwzNC44MTMgTDIxLjg3NiwwLjEyNSBMMTQuNjg4LDAuMTI1IEwwLjY4OCwzNC44MTMgWiBNMjEuODc1LDIyLjY4OCBMMTguMzEyLDExLjA2MyBMMTQuNjg3LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=baidu] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDU5IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIg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LjAwMSwzNi4yNTEgQzU3LjM3NiwzNS44MTMgNTcuNjI2LDM1LjMxMyA1Ny44MTQsMzQuNzUxIEM1OC4wMDIsMzQuMTI2IDU4LjE4OSwzMy42MjYgNTguMzE0LDMzLjE4OCBDNTguNDM5LDMyLjc1IDU4LjUwMiwzMi4yNSA1OC41NjQsMzEuNTYzIEM1OC42MjYsMzAuODc2IDU4LjYyNywzMC40MzggNTguNjI3LDMwLjEyNSBMNTguNjI3LDI3LjkzNyBDNTguNjI3LDI3LjM3NCA1OC41MDIsMjYuNjI0IDU4LjI1MiwyNS44MTIgQzU4LjAwMiwyNSA1Ny41NjQsMjQuMTg3IDU3LjA2NCwyMy4yNDkgQzU2LjUwMSwyMi4zMTEgNTUuNjg5LDIxLjU2MSA1NC42MjYsMjAuOTM2IEM1My41NjMsMjAuMzExIDUyLjI1MSwxOS45OTggNTAuODEzLDE5Ljk5OCBDNDYuMTg4LDE5Ljk5OCA0My44NzUsMjMuMTg2IDQzLjg3NSwyOS42MjMgTDQzLjg3NSwyOS42MjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=bitbucket] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI1NnB4IiBoZWlnaHQ9IjI5NXB4IiB2aWV3Qm94PSIwIDAgMjU2IDI5NSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy43LjIgKDI4Mjc2KS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mc+\"); background-size: 45%; } .auth0-lock-social-button[data-provider^=box] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDY1IDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Ym94PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImJveCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC41NjMsMTAuODc1IEM0MS40MzgsMTAuODc1IDQ3LjAwMSwxNi40MzggNDcuMDAxLDIzLjI1IEM0Ny4wMDEsMzAuMTI1IDQxLjQzOCwzNS42ODggMzQuNTYzLDM1LjY4OCBDMjkuODEzLDM1LjY4OCAyNS42ODgsMzMgMjMuNTYzLDI5Lj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MzYuMDYzIDYwLjU2MywzNS44MTMgNTkuNjg4LDM0Ljc1IEw1NC4yNSwyNy40MzcgTDQ4Ljc1LDM0Ljc1IEM0Ny44NzUsMzUuODEzIDQ2LjM3NSwzNi4wNjMgNDUuMzEyLDM1LjE4OCBDNDQuMTg3LDM0LjM3NSA0My45OTksMzIuODc1IDQ0Ljc0OSwzMS44MTMgTDUxLjEyNCwyMy4yNSBMNDQuNzQ5LDE0Ljc1IEM0My45OTksMTMuNjg3IDQ0LjE4NiwxMi4xMjUgNDUuMzEyLDExLjMxMiBDNDYuMzc1LDEwLjQ5OSA0Ny44NzUsMTAuNzQ5IDQ4Ljc1LDExLjgxMiBMNTQuMjUsMTkuMTI1IEw1OS42ODgsMTEuODEyIEM2MC41NjMsMTAuNzQ5IDYyLjA2MywxMC40OTkgNjMuMTg4LDExLjMxMiBDNjQuMjUxLDEyLjEyNSA2NC40MzgsMTMuNjg3IDYzLjY4OCwxNC43NSBMNTcuMzEzLDIzLjI1IEw2My42ODgsMzEuNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=dropbox] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY2cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDY2IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwh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MS43NDYgMC45OTgsNTQuOTk2IEwxLDU1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); background-size: 30%; } .auth0-lock-social-button[data-provider^=ebay] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkwcHgiIGhlaWdodD0iMzlweCIgdmlld0JveD0iMCAwIDkwIDM5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZWJheTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJlYmF5IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS4wMDAwMDAsIDAuMDAwMDAwKSIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAg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OCw3LjYyNSA2NS4wNjMsNi4yNSBDNjQuMTI1LDQuOTM3IDYyLjMxMyw0LjA2MiA1OS41NjMsMy42ODcgTDU5LjU2MywzLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); background-size: 70%; } .auth0-lock-social-button[data-provider^=exact] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQzcHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDQzIDMyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZXhhY3Q8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iZXhhY3QiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8ZyBpZD0iR3JvdXAiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTAuMDQ5LDEuMDA4IEMxNC4wMTIsMC44IDI3Ljk3NCwwLjgyOSA0MS45MzcsMC45NzggQzQyLjAyNCwzLjcxOCA0Mi4yMjYsOS4xOTggNDIuMzEzLDExLjkzOSBDMjguNTI0LDEyLjQ0NSAxNC43MDYsMTIuMjA3IDAuODg4LDEyLjI5NyBDMC41OTksOC41NDQgMC4zMSw0Ljc5MSAwLjA1LDEuMDA5IEwwLjA1LDEuMDA5IEwwLjA1LDEuMDA5IEwwLjA0OSwxLjAwOCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjIyMywyMC4yMTkgQzE0LjA0MSwyMC4yNDkgMjcuOTQ2LDE5LjI5NiA0MS43NjQsMjAuNjM2IEM0Mi4xMTEsMjQuMTUxIDQyLjExMSwyNy43MjUgNDIuMTQsMzEuMjY5IEMyOC4yMzUsMzEuMjM5IDE0LjM1OSwzMS4yMzkgMC40NTQsMzEuMjEgQzAuMzY3LDI3LjU0NyAwLjI4MSwyMy44ODMgMC4yMjMsMjAuMjIgTDAuMjIzLDIwLjIyIEwwLjIyMywyMC4yMiBMMC4yMjMsMjAuMjE5IFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); background-size: 30%; } .auth0-lock-social-button[data-provider^=facebook] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjM2cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDM2IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG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Tg4IDEwLjc1MSwxNi42MjYgTDEwLjc1MSwyMi43NTEgTDAuOTM4LDIyLjc1MSBMMC45MzgsMzUuMDAxIEwwLjkzOCwzNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); background-size: 25%; } .auth0-lock-social-button[data-provider^=fitbit] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYwcHgiIGhlaWdodD0iNTlweCIgdmlld0JveD0iMCAwIDYwIDU5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Zml0Yml0PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImZpdGJpdCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI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I1IDEyLjc1LDE2LjkzOCBDMTIuODEzLDE5LjMxMyAxNC44MTMsMjEuMTg4IDE3LjI1LDIxLjE4OCBMMTcuMjUsMjEuMTg4IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=github] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Z2l0aHViPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImdpdGh1YiIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICA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DE0LjM3NCw0Mi43NDggMTguMjQ5LDQ1LjEyMyBDMTkuNzQ5LDQ2LjA2MSAyMS42MjQsNDYuNzQ4IDIzLjgxMiw0Ny4xMjMgQzI0LjkzNyw0Ny4zNzMgMjUuOTM3LDQ3LjU2MSAyNi44MTIsNDcuNjIzIEMyNS4xMjQsNDguNzQ4IDI0LjI0OSw1MC42MjMgMjQuMjQ5LDUzLjE4NiBMMjQuMjQ5LDU4LjMxMSBDMTguNTYxLDU2LjMxMSAxMy45MzYsNTIuOTk4IDEwLjM3NCw0OC4zNzMgQzYuODExLDQzLjYyMyA0Ljk5OSwzOC4yNDggNC45OTksMzIuMjQ4IEw1LDMyLjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=google] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU3cHgiIGhlaWdodD0iNThweCIgdmlld0JveD0iMCAwIDU3IDU4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Z29vZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjP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uMzc3IEwyMy41NjMsNjMuMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=miicard] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iNjFweCIgdmlld0JveD0iMCAwIDkxIDYxIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+bWlpY2FyZDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJtaWljYXJkIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTQxLjUsNS42ODggQzY0LjE4OCwyLjU2MyA3NywwLjg3NSA3Ny42MjUsM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gICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=oauth2] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNTAuMSAxNjcuOCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTUwLjEgMTY3LjgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSIzMSwxMzUuOCAzMC45LDEzNS44IDc1LjEsMTY3LjggMTE5LjIsMTM1LjggNzUuMSwxMDMuNyAJIi8+DQoJPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTMuNyw1MS45TDMuNyw1MS45Qy02LjYsODMuNiw1LjMsMTE3LjIsMzEsMTM1LjhsMCwwbDE2LjktNTEuOUwzLjcsNTEuOWw1NC41LDBMNzUuMSwwbDAsMEgyMC41TDMuNyw1MS45eg0KCQkiLz4NCgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTQ2LjUsNTEuOUwxNDYuNSw1MS45TDE0Ni41LDUxLjlMMTI5LjYsMEg3NS4xbDAsMGwxNi45LDUxLjlMMTQ2LjUsNTEuOWwtNDQuMSwzMi4xbDE2LjgsNTEuOQ0KCQlDMTQ2LjIsMTE2LjIsMTU2LjMsODIsMTQ2LjUsNTEuOXoiLz4NCjwvZz4NCjwvc3ZnPg0K\"); } .auth0-lock-social-button[data-provider^=paypal] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYzIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cGF5cGFsPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InBheXBhbCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDU3LjY4OCBMMTYuNDM4LDU3LjY4OCBMMjAuNTAxLDM4Ljc1IEwzMi4xODksMzguNzUgQzM3LjkzOSwzOC43NSA0Mi44NzcsMzcuMTI1IDQ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NyBMMjguMTg3LDI3Ljg3NSBMMjIuODc0LDI3Ljg3NSBMMjIuODc1LDI3Ljg3NSBaIE0zMC44NzUsMjcuODEzIEwzMi43NSwxOS4zMTMgTDQwLjA2MywxOS4zMTMgQzQwLjA2MywxOS4zNzYgNDAuMDYzLDE5LjUwMSA0MCwxOS42ODggQzM5LjkzNywxOS44NzUgMzkuOTM3LDIwLjAwMSAzOS45MzcsMjAuMDYzIEMzOS40MzcsMjIuMTg4IDM4LjM3NCwyMy45MzggMzYuNTYyLDI1LjQzOCBDMzQuODEyLDI2LjkzOCAzMi44NzQsMjcuNzUxIDMwLjg3NCwyNy44MTMgTDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=planningcenter] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDYzIDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cGxhbm5pbmdjZW50ZXI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFN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DMTkuNTAzLDE4LjI0OSAxOC41MDMsMTguMTg2IDE2LjY5LDIwLjk5OSBDMTUuMDAyLDIzLjQ5OSAxNS4xOSwyMy45OTkgMTguNTAzLDI1Ljg3NCBDMTkuODE2LDI2LjU2MiAyMS42MjgsMjcuNjI0IDIyLjYyOCwyOC4yNDkgTDI0LjM3OCwyOS4zNzQgTDIwLjMxNSwzMS44MTIgQzE4LjA2NSwzMy4xODcgMTYuMDAyLDM0LjU2MiAxNS43NTIsMzQuODc1IEMxNS4zMTQsMzUuMzc1IDE1LjUwMiwzNiAxNi41NjUsMzcuNjI1IEMxOC4zMTUsNDAuNDM4IDE5LjYyOCw0MC41IDI0LjEyOCwzNy42ODggQzI1Ljk0MSwzNi41NjMgMjcuNjkxLDM1LjY4OCAyNy45NDEsMzUuNjg4IEMyOC4xOTEsMzUuNjg4IDI4LjM3OSwzNy41NjMgMjguMzc5LDQwLjE4OCBDMjguMzc5LDQ0LjM3NiAyOC40NDIsNDQuNzUxIDI5LjM3OSw0NS4zNzYgTDI5LjM3NSw0NS4zNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=renren] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iMzVweCIgdmlld0JveD0iMCAwIDYxIDM1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc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ODc3LDQ4LjI1IEw1My4zNzcsNC4yNSBDNTMuMTI3LDMuMTg3IDUyLjU2NCwyLjMxMiA1MS42ODksMS42MjUgQzUwLjgxNCwwLjkzOCA0OS44MTQsMC42MjUgNDguNzUxLDAuNjI1IEM0OC4xODgsMC42MjUgNDcuMjUxLDAuNzUgNDYuMDYzLDEgQzQ0LjgxMywxLjI1IDQzLjMxMywxLjYyNSA0MS41LDIuMTg4IEMzOS42MjUsMi42ODggMzguNjg3LDIuOTM4IDM4LjU2MiwyLjkzOCBDNDIuNjg3LDMuNTYzIDQ2LjYyNSw0LjkzOCA1MC41LDYuOTM4IEw0Ni41NjIsMTcuODEzIEM0NS40MzcsMTYuNjI1IDQzLjU2MiwxNS42MjUgNDAuOTM3LDE0Ljg3NSBDMzguMzc0LDE0LjEyNSAzNS45OTksMTMuNzUgMzMuOTM3LDEzLjc1IEMzMi4xODcsMTMuNzUgMzAuNTYyLDE0LjE4OCAyOS4wNjIsMTUuMDYzIEMyNy41NjIsMTUuOTM4IDI2LjgxMiwxNy4xODggMjYuODEyLDE4LjgxMyBMMjYuODEzLDE4LjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=shopify] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU1cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDU1IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL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MjYgMTAuMTI0LDQ0LjE4OCA5LjI0OSw0Ny4wMDEgQzguNTYxLDQ5LjI1MSA4LjU2MSw0OS4yNTEgOS45OTksNTAuNTAxIEMxMC44MTIsNTEuMTg5IDEyLjYyNCw1Mi4wMDEgMTQuMTI0LDUyLjQzOSBDMjAuNDM3LDU0LjMxNCAyNS41NjIsNTEuMDAxIDI2LjI0OSw0NC42MjYgQzI2LjY4Nyw0MC43NTEgMjUuMTI0LDM3LjkzOCAyMC43NDksMzQuNzUxIEMxOC42MjQsMzMuMTg4IDE4LjEyNCwzMi41NjMgMTguMTI0LDMxLjM3NiBDMTguMTI0LDI5LjMxMyAxOS45MzcsMjguMzEzIDIyLjg3NCwyOC42MjYgQzI0LjEyNCwyOC43NTEgMjUuNDk5LDI5LjAwMSAyNS44NzQsMjkuMTg5IEMyNi40MzcsMjkuMzc3IDI2Ljg3NCwyOC43NTEgMjcuNzQ5LDI2LjE4OSBDMjguMzEyLDI0LjMxNCAyOC41NjIsMjIuNzUxIDI4LjM3NCwyMi41NjQgTDI4LjM3NSwyMi41NjMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=soundcloud] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc0cHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDc0IDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZ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DMuNjI2LDAuNTYxIEM0Mi45MzgsMC42MjQgNDIuMTg4LDAuNzQ5IDQxLjQzOCwwLjg3NCBDNDAuNjI1LDEuMDYyIDM5Ljg3NSwxLjMxMiAzOS4zMTMsMS42MjQgQzM4Ljc1LDEuOTk5IDM4LjUsMi4zNzQgMzguNSwyLjc0OSBDMzguNSw1Ljg3NCAzOC40MzcsOS4xODcgMzguNDM3LDEyLjc0OSBMMzguNDM4LDEyLjc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); background-size: 60%; } .auth0-lock-social-button[data-provider^=thecity] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYxIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dGhlY2l0eTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiB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NC41NjQsNjMuMzE0IEM3LjUwMSw2Ni4yNTIgMC4wMDEsNjEuMjUxIDAuMDAxLDUzLjYyNiBDMC4wMDEsNTAuNTAxIDMuNjg5LDQ1LjM3NiA2LjkzOSw0NC4xODggTDYuOTM4LDQ0LjE4OCBaIE0zOS4zMTMsNTIgTDM5Ljg3Niw1MS42ODcgTDMyLjEyNiw2My4zMTIgTDU3LjU2NCw2My41NjIgTDU2LjUwMSw1OC40MzcgTDM5LjMxMyw1MiBaIE0yMC4xODgsNjIuODc1IEwxOS4zMTMsNjMuNDM4IEwyNi42MjYsNjMuNjI2IEwzNC41MDEsNTEuMTI2IEwyOC44NzYsNTAuNjg4IEwyMC4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=thirtysevensignals] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iNTVweCIgdmlld0JveD0iMCAwIDY1IDU1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dGhpcnR5c2V2ZW5zaWduYWxzPC90aXRsZT4KICAgIDxkZXNjP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yAyNS42ODQsMjcuNjIyIDI1LjE4NCwyNy4zNzIgQzIzLjk5NiwyNi44NzIgMjMuMTIxLDI1Ljg3MiAyMi4zMDksMjQuOTk3IEMyMC44MDksMjMuMzcyIDE4LjkzNCwyMC42ODQgMTYuMzcxLDIxLjQ5NyBDMTQuNjIxLDIyLjEyMiAxMy4xODMsMjMuNjg1IDEyLjA1OCwyNS4xMjIgQzExLjM3LDI1Ljk5NyAxMC43NDUsMjYuOTM1IDEwLjE4MywyNy44NzIgQzkuNTU4LDI4LjgxIDguOTk1LDI5Ljc0NyA4LjM3LDMwLjY4NSBDNy4yNDUsMzIuNjIzIDYuMTIsMzQuNTYgNS4zNywzNi42ODUgQzUuMTgyLDM3LjI0OCA1LjA1NywzNy44MSA0LjkzMiwzOC4zNzMgQzQuODY5LDM4LjYyMyA0LjgwNywzOC45MzYgNC43NDQsMzkuMjQ4IEw0Ljc1LDM5LjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=twitter] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDc5IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd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AuNzQ1IDI1LjY4NiwyMC40OTUgMjUuNTYxLDIwLjMwOCBDMjUuMzczLDIwLjEyIDI1LjE4NiwxOS44NyAyNC45OTgsMTkuNDk1IEMyNC44MSwxOS4xODIgMjQuNjIzLDE4LjkzMiAyNC41NiwxOC44MDcgQzIyLjE4NSwxNS4zNjkgMjAuMTg1LDExLjg2OSAxOC41Niw4LjM2OSBDMTguNDM1LDguMTgxIDE4LjE4NSw3LjY4MSAxNy44NzIsNi45OTQgQzE3LjYyMiw2LjMwNiAxNy4zNzIsNS43NDQgMTcuMTg0LDUuMzY5IEMxNi45MzQsNC45OTQgMTYuNzQ2LDQuNTU2IDE2LjQzNCw0LjExOSBDMTYuMTIxLDMuNzQ0IDE1Ljg3MSwzLjQzMSAxNS41NTksMy4zMDYgQzE1LjA1OSwzLjA1NiAxNC4zNzEsMi44NjggMTMuNTU5LDIuODA2IEMxMy4xMjEsMi44MDYgMTIuNjIxLDIuODA2IDEyLjA1OSwyLjc0MyBDMTEuNDk2LDIuNzQzIDEwLjg3MSwyLjc0MyAxMC4xODQsMi44MDYgQzguODcxLDIuODY5IDguMDU5LDIuOTMxIDcuODA5LDIuOTMxIEM3LjM3MSwyLjkzMSA2LjY4NCwyLjkzMSA1Ljc0NiwyLjg2OCBDNS4xMjEsMi44MDUgNC42MjEsMi44MDUgNC4xODMsMi44MDUgTDMuNjIsMi44MDUgQzMuMTIsMi44MDUgMi42MiwyLjg2OCAxLjk5NSwzLjA1NSBDMS4zNywzLjI0MiAwLjg3LDMuNDkzIDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=windowslive] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVV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1IEw2My4xMzIsMjguNzQ3IEwzNC40MywyOC43NDcgTDM0LjQzLDAuMDQ1IEwzNC40MywwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOC43NDgsMzUuMjU0IEwyOC43NDgsNjMuOTU2IEwwLjA0Niw2My45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=\"); } .auth0-lock-social-button[data-provider^=windows] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d2luZG93czwvdGl0bGU+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lNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=wordpress] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d29yZHByZXNzPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9IndvcmRwcmVzcyIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik03Ljk5MzYwNTc4ZS0xNSwzMi44MTMgQzcuOTkzNjA1NzhlLTE1LDM4LjYyNiAxLjQzOCw0NC4wMDEgNC4zMTMsNDguOD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AuOTQgTDEzLjg3OCwxOS4wMDIgTDE3LjI1MywxOC42ODkgQzE3LjgxNiwxOC42MjYgMTguMTI4LDE4LjM3NiAxOC4zMTYsMTcuOTM5IEMxOC41MDQsMTcuNTY0IDE4LjQ0MSwxNy4xMjYgMTguMTkxLDE2Ljc1MSBDMTguMDAzLDE2LjM3NiAxNy42MjgsMTYuMTg4IDE3LjA2NiwxNi4yNTEgQzEzLjg3OCwxNi41MDEgMTEuMjUzLDE2LjYyNiA5LjE5MSwxNi42MjYgTDcuMzE2LDE2LjYyNiBMNy4zMTMsMTYuNjI1IFogTTIzLjY4OCw2MS4xODggTDMyLjUwMSwzNS4zNzUgTDQxLjYyNiw2MC4yNSBMNDEuODE0LDYwLjYyNSBDMzguNjg5LDYxLjc1IDM1LjQzOSw2Mi4zMTMgMzIuMDAxLDYyLjMxMyBDMjkuMTI2LDYyLjMxMyAyNi4zMTMsNjEuOTM4IDIzLjY4OCw2MS4xODggTDIzLjY4OCw2MS4xODggWiBNNDYuODc1LDU4LjM3NSBMNTUuODc1LDMyLjI1IEM1Ny4zNzUsMjcuODc1IDU4LjEyNSwyNC4zNzUgNTguMTI1LDIxLjY4NyBDNTguMTI1LDIwLjU2MiA1OC4wNjIsMTkuNTYyIDU3LjkzNywxOC42ODcgQzYwLjMxMiwyMyA2MS41LDI3LjY4NyA2MS41LDMyLjgxMiBDNjEuNSwzOC4xMjUgNjAuMTg3LDQzLjA2MiA1Ny41NjIsNDcuNjI1IEM1NC44NzQsNTIuMTg4IDUxLjMxMiw1NS43NSA0Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=yahoo] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZ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My42MjcsNDYuODc3IDU0LjUwMiw0NS43NTIgNTQuNTY1LDQ0LjUwMiBDNTQuNjI4LDQzLjM3NyA1NC4wMDIsNDIuMTI3IDUyLjk0LDQxLjYyNyBDNDkuMzE1LDM5Ljc1MiA0NS42MjcsMzcuOTM5IDQxLjgxNSwzNi40MzkgQzQwLjM3NywzNS44NzYgMzguODc3LDM1LjMxNCAzNy4zMTUsMzUuMDY0IEMzNi44MTUsMzUuMDAxIDM2LjM3NywzNC45MzkgMzUuOTQsMzUuMDY0IEwzNS45MzgsMzUuMDYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=yandex] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI4cHgiIGhlaWdodD0iNjBweCIgdmlld0JveD0iMCAwIDI4IDYwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+eWFuZGV4PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJ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NoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); background-size: 30%; } .auth0-lock-social-button[data-provider^=weibo] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjgwcHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDgwIDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d2VpYnU8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0id2VpYnUiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xLjAwMDAwMCwgMC4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTEsNDMgQzEsNDcuMTg4IDIuNjI1LDUwLjkzOCA1LjkzOCw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OC44NzYgQzY4LjY5LDE3LjA2MyA2Ny44NzgsMTUuNTAxIDY2LjY5LDE0LjA2MyBDNjQuNjI3LDExLjgxMyA2Mi4xOSwxMC42ODggNTkuMzE1LDEwLjY4OCBDNTguNTY1LDEwLjY4OCA1Ny43NTIsMTAuNzUxIDU2Ljk0LDEwLjkzOCBDNTYuMTksMTEuMTI2IDU1LjYyNywxMS41MDEgNTUuMjUyLDEyLjEyNiBDNTUuMDAyLDEyLjU2NCA1NC44NzcsMTMuMDAxIDU0Ljg3NywxMy40MzkgQzU0Ljg3NywxMy42ODkgNTQuOTQsMTMuODc3IDU0Ljk0LDE0LjA2NCBMNTQuOTM4LDE0LjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } @charset \"UTF-8\"; /* Animate.css - http://daneden.me/animate Licensed under the MIT license - http://opensource.org/licenses/MIT Copyright (c) 2015 Daniel Eden */ .animated { -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .fadeIn { -webkit-animation-name: fadeIn; animation-name: fadeIn; } @-webkit-keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .fadeInDown { -webkit-animation-name: fadeInDown; animation-name: fadeInDown; } @-webkit-keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translate3d(0, -2000px, 0); transform: translate3d(0, -2000px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .fadeInDownBig { -webkit-animation-name: fadeInDownBig; animation-name: fadeInDownBig; } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .fadeInUp { -webkit-animation-name: fadeInUp; animation-name: fadeInUp; } @-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } .fadeOut { -webkit-animation-name: fadeOut; animation-name: fadeOut; } @-webkit-keyframes fadeOutDownBig { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(0, 2000px, 0); transform: translate3d(0, 2000px, 0); } } .fadeOutDownBig { -webkit-animation-name: fadeOutDownBig; animation-name: fadeOutDownBig; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translate3d(0, -2000px, 0); transform: translate3d(0, -2000px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translate3d(0, -2000px, 0); transform: translate3d(0, -2000px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-webkit-keyframes fadeOutDownBig { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(0, 2000px, 0); transform: translate3d(0, 2000px, 0); } } @keyframes fadeOutDownBig { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: translate3d(0, 2000px, 0); transform: translate3d(0, 2000px, 0); } } .slide-enter { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); } .slide-enter.slide-enter-active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform 0.3s ease-out; transition: -webkit-transform 0.3s ease-out; transition: transform 0.3s ease-out; transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; } .slide-leave { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .slide-leave.slide-leave-active { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); -webkit-transition: -webkit-transform 0.3s ease-in; transition: -webkit-transform 0.3s ease-in; transition: transform 0.3s ease-in; transition: transform 0.3s ease-in, -webkit-transform 0.3s ease-in; } .vslide-enter { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } .vslide-enter.vslide-enter-active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; } .reverse-vslide-enter { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } .reverse-vslide-enter.reverse-vslide-enter-active { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; } .vslide-leave { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .vslide-leave.vslide-leave-active { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; } .horizontal-fade-enter { position: relative; top: 0; left: 0; z-index: 1; -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); } .horizontal-fade-enter.horizontal-fade-enter-active { -webkit-transform: none; transform: none; -webkit-transition: -webkit-transform 0.5s; transition: -webkit-transform 0.5s; transition: transform 0.5s; transition: transform 0.5s, -webkit-transform 0.5s; } .horizontal-fade-leave { opacity: 1; position: absolute; width: 100%; top: 0; left: 0; } .horizontal-fade-leave.horizontal-fade-leave-active { opacity: 0; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); -webkit-transition: -webkit-transform 0.5s, opacity 1s linear; -webkit-transition: opacity 1s linear, -webkit-transform 0.5s; transition: opacity 1s linear, -webkit-transform 0.5s; transition: transform 0.5s, opacity 1s linear; transition: transform 0.5s, opacity 1s linear, -webkit-transform 0.5s; } .reverse-horizontal-fade-enter { position: relative; top: 0; left: 0; z-index: 1; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); } .reverse-horizontal-fade-enter.reverse-horizontal-fade-enter-active { -webkit-transform: none; transform: none; -webkit-transition: -webkit-transform 0.5s; transition: -webkit-transform 0.5s; transition: transform 0.5s; transition: transform 0.5s, -webkit-transform 0.5s; } .reverse-horizontal-fade-leave { opacity: 1; position: absolute; width: 100%; top: 0; left: 0; } .reverse-horizontal-fade-leave.reverse-horizontal-fade-leave-active { opacity: 0; -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); -webkit-transition: -webkit-transform 0.5s, opacity 1s linear; -webkit-transition: opacity 1s linear, -webkit-transform 0.5s; transition: opacity 1s linear, -webkit-transform 0.5s; transition: transform 0.5s, opacity 1s linear; transition: transform 0.5s, opacity 1s linear, -webkit-transform 0.5s; } .fade-enter { position: relative; top: 0; left: 0; z-index: 1; } .fade-leave { opacity: 1; position: absolute; width: 100%; top: 0; left: 0; opacity: 1; } .fade-leave.fade-leave-active { opacity: 0; -webkit-transition: opacity 0.5s linear; transition: opacity 0.5s linear; } @-webkit-keyframes stroke { 100% { stroke-dashoffset: 0; } } @-webkit-keyframes scale { 0%, 100% { -webkit-transform: none; } 50% { -webkit-transform: scale3d(1.1, 1.1, 1); } } @-webkit-keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #7ac142; } } @-webkit-keyframes rotate { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @-webkit-keyframes stroke { 100% { stroke-dashoffset: 0; } } @keyframes stroke { 100% { stroke-dashoffset: 0; } } @-webkit-keyframes scale { 0%, 100% { -webkit-transform: none; transform: none; } 50% { -webkit-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } } @keyframes scale { 0%, 100% { -webkit-transform: none; transform: none; } 50% { -webkit-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } } @-webkit-keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #7ac142; } } @keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #7ac142; } } @-webkit-keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @media screen and (max-width: 480px) { html.auth0-lock-html body > * { display: none; } html.auth0-lock-html body .auth0-lock-container { background: #fff; display: block !important; } } .auth0-lock.auth0-lock, .auth0-lock.auth0-lock * { box-sizing: initial; } .auth0-lock.auth0-lock svg { background-color: transparent; } .auth0-lock.auth0-lock .auth0-global-message { color: #fff; text-align: center; padding: 10px; line-height: 1.8; font-size: 11px; font-weight: 600; text-transform: uppercase; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-error { background: #ff3e00; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-success { background: #7ed321; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter { height: 0; paddingTop: 0; paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter.global-message-enter-active { -webkit-transition: all 0.2s; transition: all 0.2s; height: auto; paddingTop: 10px; paddingBottom: 10px; } .auth0-lock.auth0-lock .auth0-global-message.global-message-leave { -webkit-transition: all 0.2s; transition: all 0.2s; height: 0; paddingTop: 0; paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message span { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .auth0-lock.auth0-lock { font-family: \"Avenir Next\", Avenir, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, sans-serif; text-rendering: optimizeLegibility; pointer-events: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; right: 0; z-index: 1000000; } @media (min-width: 481px) { .auth0-lock.auth0-lock { display: table; } } .auth0-lock.auth0-lock a { text-decoration: none; } .auth0-lock.auth0-lock a:active, .auth0-lock.auth0-lock a:focus { outline: none; } .auth0-lock.auth0-lock input:focus, .auth0-lock.auth0-lock button:focus { outline: none; } .auth0-lock.auth0-lock .auth0-lock-overlay { background: -webkit-radial-gradient(#40404b, #111118) rgba(34,34,40,0.94); background: radial-gradient(#40404b, #111118) rgba(34,34,40,0.94); position: fixed; top: 0; bottom: 0; right: 0; left: 0; z-index: -1; opacity: 0; -webkit-transition: opacity 0.2s ease-in 0.4s; transition: opacity 0.2s ease-in 0.4s; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-center { vertical-align: middle; display: table-cell; margin: auto; } } .auth0-lock.auth0-lock .auth0-lock-widget { width: 300px; opacity: 0; -webkit-transform: translateY(100%) scale(0.8); transform: translateY(100%) scale(0.8); -webkit-transition-timing-function: cubic-bezier(0.3, 0, 0, 1.4); transition-timing-function: cubic-bezier(0.3, 0, 0, 1.4); margin: 0 auto; border-radius: 5px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-widget { -webkit-transition: -webkit-transform 0.4s, opacity 0.3s; -webkit-transition: opacity 0.3s, -webkit-transform 0.4s; transition: opacity 0.3s, -webkit-transform 0.4s; transition: transform 0.4s, opacity 0.3s; transition: transform 0.4s, opacity 0.3s, -webkit-transform 0.4s; } } .auth0-lock.auth0-lock .auth0-lock-widget-container { position: relative; } .auth0-lock.auth0-lock .auth0-lock-cred-pane { height: 100%; border-radius: 6px; background: #fff; position: relative; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-leave .auth0-lock-content, .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-leave .auth0-lock-terms { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.auth0-lock-moving { overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-header { text-align: center; padding: 11px; height: 118px; color: #333; position: relative; background: #fff; border-radius: 5px 5px 0 0; overflow: hidden; box-sizing: border-box; } .auth0-lock.auth0-lock .auth0-lock-close-button, .auth0-lock.auth0-lock .auth0-lock-back-button { background: #fff; border-radius: 100px; height: 10px; width: 10px; position: absolute; top: 14px; right: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); color: #333; z-index: 100; border: 6px solid #fff; cursor: pointer; line-height: 0; } .auth0-lock.auth0-lock .auth0-lock-close-button svg, .auth0-lock.auth0-lock .auth0-lock-back-button svg { box-sizing: content-box; } .auth0-lock.auth0-lock .auth0-lock-close-button polygon, .auth0-lock.auth0-lock .auth0-lock-back-button polygon { fill: #373737; } .auth0-lock.auth0-lock .auth0-lock-back-button { left: 14px; } .auth0-lock.auth0-lock .auth0-lock-header-avatar { height: 80px; width: 80px; display: block; border-radius: 100px; margin: -16px auto 0; position: absolute; left: 0; right: 0; z-index: 1000; box-shadow: 0 1px 2px rgba(0,0,0,0.4); -webkit-animation: fadeIn 0.75s both; animation: fadeIn 0.75s both; } @media (min-width: 768px) { .auth0-lock.auth0-lock .auth0-lock-header-avatar { -webkit-animation: fadeInDown 0.75s both; animation: fadeInDown 0.75s both; } } .auth0-lock.auth0-lock .auth0-lock-header-bg { position: absolute; height: 118px; width: 100%; overflow: hidden; top: 0; left: 0; pointer-events: none; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-header-bg { background: rgba(241,241,241,0.8); } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur { display: none; height: 100%; width: 100%; border-top-left-radius: 5px; border-top-right-radius: 5px; -webkit-filter: blur(40px) grayscale(1); -ms-filter: blur(40px) grayscale(1); filter: blur(40px) grayscale(1); -webkit-backdrop-filter: blur(0); background-color: #fff; background-position: center; background-repeat: no-repeat; background-size: 300px; opacity: 0; -webkit-transition: 0s ease 0s; transition: 0s ease 0s; } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale { -webkit-filter: blur(30px); -ms-filter: blur(30px); filter: blur(30px); -webkit-backdrop-filter: blur(0); background-position: center; background-size: 800px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-header-bg.auth0-lock-blur-support .auth0-lock-header-bg-blur { display: block; } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-solid { height: 100%; opacity: 0.08; } .auth0-lock.auth0-lock .auth0-lock-header-welcome { font-size: 18px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-header-logo { width: auto; height: 58px; display: inline-block; margin: 0 0 11px; vertical-align: middle; } .auth0-lock.auth0-lock .auth0-lock-firstname { font-size: 18px; margin-top: 64px; } .auth0-lock.auth0-lock .auth0-lock-name { font-size: 22px; } .auth0-lock.auth0-lock .auth0-lock-content { padding: 20px; box-sizing: border-box; } .auth0-lock.auth0-lock .auth0-lock-form { display: block; -webkit-animation: fadeIn 0.2s; animation: fadeIn 0.2s; } .auth0-lock.auth0-lock .auth0-lock-form h2 { font-size: 22px; font-weight: normal; text-align: center; margin: 0 0 15px; color: #000; } .auth0-lock.auth0-lock .auth0-lock-form p { font-size: 13px; line-height: 1.8; text-align: center; margin-top: 0; margin-bottom: 15px; color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative { margin-top: 20px; margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative .auth0-lock-alternative-link { font-size: 13px; color: rgba(0,0,0,0.87); cursor: pointer; margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-input-block { position: relative; margin-bottom: 15px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-input-block { margin-bottom: 10px; } } .auth0-lock.auth0-lock .auth0-lock-input-block:last-child { margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-input-wrap { border-radius: 3px; border: 1px solid #f1f1f1; position: relative; background: #f1f1f1; -webkit-transition: border-color 0.8s; transition: border-color 0.8s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-input-wrap-with-icon { padding-left: 40px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon-arrow { position: absolute; right: 15px; top: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon { position: absolute; font-size: 12px; top: 13px; left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon path, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon path { fill: #888; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-mobile, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-mobile { width: 9px; height: 14px; top: 14px; left: 16px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-box, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-box { width: 12px; height: 14px; top: auto; bottom: 14px; left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-focused { border-color: #a0a0a0; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input { border: 0; padding: 0 14px; right: 0; height: 40px; font-size: 13px; width: 100%; border-radius: 0 2px 2px 0; box-sizing: border-box; position: relative; color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.animated { -webkit-animation-duration: 0.5s; animation-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location { background-color: #f9f9f9; text-align: left; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location.auth0-lock-input-with-placeholder { color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-error .auth0-lock-input-wrap { border-color: #f00; -webkit-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane, .auth0-lock.auth0-lock .auth0-lock-last-login-pane { position: relative; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container { -webkit-animation: fadeIn 0.75s ease-in-out !important; animation: fadeIn 0.75s ease-in-out !important; position: absolute; width: 54px; height: 54px; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container .auth0-loading, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container .auth0-loading { width: 50px; height: 50px; border-radius: 50%; top: 0; left: 0; opacity: 1; } .auth0-lock.auth0-lock .auth0-lock-social-buttons-container { text-align: center; } .auth0-lock.auth0-lock .auth0-lock-social-button { border: 0; padding: 0; display: inline-block; box-sizing: border-box; overflow: hidden; border-radius: 3px; margin: 4px; position: relative; width: 40px; height: 40px; } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-icon { width: 40px; height: 40px; position: absolute; top: 0; left: 0; transition: background-color 0.3s; -webkit-transition: background-color 0.3s; } .auth0-lock.auth0-lock .auth0-lock-social-button:hover .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button:focus .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-text { display: none; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button { display: block; margin: 10px 0 0; width: 100%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:first-child { margin-top: 0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=\"\"], .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=\"auth0\"] { background-color: #c0c0c0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=\"\"] .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=\"auth0\"] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iNTNweCIgaGVpZ2h0PSI2NXB4IiB2aWV3Qm94PSIwIDAgNTMgNjUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+U2hhcGU8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICA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ock-social-big-button .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-text { box-sizing: border-box; display: block; overflow: hidden; width: 100%; padding-left: 54px; padding-right: 15px; line-height: 40px; text-align: left; text-transform: uppercase; text-overflow: ellipsis; font-size: 10px; font-weight: 600; letter-spacing: 0.7px; color: #fff; white-space: nowrap; transition: background 0.3s; -webkit-transition: background 0.3s; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover .auth0-lock-social-button-text, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus .auth0-lock-social-button-text { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-terms { background: #eee; text-align: center; display: block; font-size: 12px; color: rgba(0,0,0,0.54); line-height: 22px; padding: 10px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-terms a { color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-submit { border: 0; padding: 14px; display: block; box-sizing: border-box; width: 100%; height: 70px; overflow: hidden; border-radius: 0 0 5px 5px; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; color: #fff; letter-spacing: 1px; font-size: 14px; text-transform: uppercase; /*submit button animation*/ } .auth0-lock.auth0-lock .auth0-lock-submit span { display: inline-block; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit span svg { vertical-align: middle; } .auth0-lock.auth0-lock .auth0-lock-submit span svg.icon-text { margin: -4px 0 0 5px; } .auth0-lock.auth0-lock .auth0-lock-submit .auth0-label-submit { height: 42px; line-height: 42px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-submit:hover:not([disabled]) span { -webkit-transform: scale(1.05); transform: scale(1.05); } } .auth0-lock.auth0-lock .auth0-lock-submit:focus { box-shadow: inset 0 0 100px 20px rgba(0,0,0,0.2); } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] { background-color: #9b9b9b !important; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg circle, .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { stroke: rgba(255,255,255,0.6); -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { fill: rgba(255,255,255,0.6); } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter { opacity: 0; } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter.vslide-enter-active { opacity: 1; -webkit-transition-duration: 0.5s; transition-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-loading-container { position: relative; display: none; } .auth0-lock.auth0-lock .auth0-loading-container .auth0-loading { position: absolute; top: 4px; left: 44%; width: 30px; height: 30px; border-width: 2px; border-style: solid; border-color: rgba(0,0,0,0.4) rgba(0,0,0,0.4) rgba(0,0,0,0.2) rgba(0,0,0,0.2); opacity: 0.9; border-radius: 20px; -webkit-animation: rotate 1s linear infinite; animation: rotate 1s linear infinite; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-terms { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit { background-color: #eee !important; -webkit-transition: background 0.5s ease; transition: background 0.5s ease; cursor: initial; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit span { -webkit-animation: fadeOutDownBig 1s both; animation: fadeOutDownBig 1s both; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-loading-container { -webkit-animation: fadeInDownBig 1s both; animation: fadeInDownBig 1s both; display: block; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-header-avatar { -webkit-animation: fadeOut 0.3s both; animation: fadeOut 0.3s both; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-terms, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-submit { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock .auth0-lock-select-country { background-color: #fff; position: absolute; padding: 0; font-size: 14px; color: #666; bottom: 0; top: 0; right: 0; left: 0; border-radius: 5px; overflow: hidden; z-index: 200; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-back-button { opacity: 1; visibility: visible; top: 19px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-search { background-color: #e3e5e9; padding: 10px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-wrap { margin: 0; border: none; margin-left: 40px; overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-icon { width: 16px; height: 16px; top: 12px; left: 9px; z-index: 1; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-search { border: none; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code { position: relative; height: calc(100% - 60px); overflow-y: scroll; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code ul { margin: 0; padding: 0; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { list-style: none; text-align: left; border-bottom: 1px solid #eee; cursor: pointer; color: #000; font-size: 14px; padding: 15px 20px; margin: 0; text-overflow: ellipsis; width: 100%; white-space: nowrap; overflow: hidden; box-sizing: border-box; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { padding: 10px 20px; } } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li.auth0-lock-list-code-highlighted { background-color: #2eb5ff; color: #fff; } .auth0-lock.auth0-lock .auth0-lock-confirmation { background-color: #fff; position: absolute; text-align: center; line-height: 2; font-size: 14px; color: #666; width: 100%; height: 100%; top: 0; left: 0; z-index: 200; border-radius: 5px; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-confirmation-content { width: 100%; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); position: absolute; } .auth0-lock.auth0-lock .auth0-lock-confirmation p { padding: 0 14px; margin-bottom: 6px; } .auth0-lock.auth0-lock .auth0-lock-confirmation a { display: block; font-weight: 500; color: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg { width: 15px; height: 16px; margin-bottom: -4px; margin-left: 0px; display: inline-block; -webkit-transition: -webkit-transform 1s ease; transition: -webkit-transform 1s ease; transition: transform 1s ease; transition: transform 1s ease, -webkit-transform 1s ease; -webkit-transform: rotate(120deg); transform: rotate(120deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg path { fill: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a:hover svg { -webkit-transform: rotate(490deg); transform: rotate(490deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-label { color: #008000; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-failed-label { color: #f00; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 2; stroke-miterlimit: 10; stroke: #7ac142; fill: none; -webkit-animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark { width: 56px; height: 56px; border-radius: 50%; display: block; stroke-width: 2; stroke: #fff; stroke-miterlimit: 10; margin: 0 auto; box-shadow: inset 0px 0px 0px #7ac142; -webkit-animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__check { -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-back-button { opacity: 1; visibility: visible; } .auth0-lock.auth0-lock .auth0-lock-forgot-link { font-size: 12px; display: block; text-align: center; margin: 30px 0 0 0; color: #5c666f; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom { position: absolute; bottom: 15px; left: 15px; z-index: -1; text-align: center; padding: 6px 10px; border-radius: 3px; background: rgba(255,255,255,0.1); } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge { display: inline-block; color: rgba(255,255,255,0.7); font-size: 14px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge svg { vertical-align: middle; margin: 0 4px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge:hover svg g#LogoBadge { fill: #eb5424; fill-opacity: 1; } .auth0-lock.auth0-lock.auth0-lock-opened { opacity: 1; pointer-events: auto; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened { position: absolute; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { opacity: 0.9; -webkit-transition: opacity 0.3s ease-in 0s; transition: opacity 0.3s ease-in 0s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header { border-radius: 0; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-avatar { width: 70px; height: 70px; margin: 10px auto 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-firstname { margin-top: 72px; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); } @media (min-width: 481px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; box-shadow: 0 0 40px 4px #111118; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { width: 100%; height: 100%; position: absolute; top: 0; bottom: 0; border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget-container { height: 100%; overflow-y: scroll; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-cred-pane { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-body-content { background: #fff; min-height: calc(100vh - 188px); display: table; width: 100%; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content { width: 100%; display: table-cell; vertical-align: middle; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content .auth0-lock-form p { font-size: 14px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-tabs-container { position: absolute; top: 0; left: 0; width: 100%; margin: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-terms { position: absolute; bottom: -42px; width: 100%; left: 0; box-sizing: border-box; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-sign-up-terms-agreement label input { top: 2px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-submit { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-badge-bottom { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-confirmation { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 256px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit .auth0-lock-body-content { min-height: calc(100vh - 118px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 186px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-terms .auth0-lock-body-content { margin-bottom: 42px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs .auth0-lock-body-content { min-height: calc(100vh - 228px); padding-top: 40px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-with-terms .auth0-lock-body-content { min-height: calc(100vh - 228px - 42px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 296px); } } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame { opacity: 1; pointer-events: auto; position: relative; width: auto; margin-left: auto; margin-right: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale { opacity: 0.5; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; margin: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .global-error { position: absolute; display: none; } .auth0-lock .auth0-lock-form div.auth0-lock-pane-separator { padding-top: 15px; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content { opacity: 1; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content .auth0-lock-social-buttons-container { opacity: 0.3; } .auth0-lock.auth0-lock .auth0-lock-tabs-container { margin: -20px -20px 20px; height: 40px; } .auth0-lock.auth0-lock .auth0-lock-tabs { background: #fff; padding: 0; margin: 0; font-size: 13px; letter-spacing: 0.7px; box-shadow: 0 1px 0 0 rgba(92,102,111,0.2); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-line-pack: center; align-content: center; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; } .auth0-lock.auth0-lock .auth0-lock-tabs:after { content: \"\"; display: table; clear: both; } .auth0-lock.auth0-lock .auth0-lock-tabs li { width: 50%; display: block; list-style: none; float: left; padding: 0; margin: 0; text-align: center; cursor: pointer; } .auth0-lock.auth0-lock .auth0-lock-tabs li a { padding: 11px 10px; display: block; text-decoration: none; color: rgba(92,102,111,0.6); font-weight: 500; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current { box-shadow: 0 1px 0 0 #5c666f; cursor: default; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current a { color: #5c666f; } .auth0-lock-password-strength { width: 100%; bottom: 41px; display: block; text-align: left; padding-top: 0; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-transition: height 0.3s ease; transition: height 0.3s ease; } @media (min-width: 481px) { .auth0-lock-password-strength { position: absolute; background: #1f242e; box-shadow: 0 0 20px 0 rgba(0,0,0,0.5); -webkit-transition: none; transition: none; width: 100%; border-radius: 3px; z-index: 1000; } .auth0-lock-password-strength:after { top: 100%; left: 21px; border: solid transparent; content: \" \"; height: 0; width: 0; position: absolute; pointer-events: none; border-top-color: #1f242e; border-width: 9px; margin-left: -9px; } } .auth0-lock-password-strength.fadeOut { opacity: 0; -webkit-transition: 0.3s 0.3s ease; transition: 0.3s 0.3s ease; visibility: hidden; } .auth0-lock-password-strength.fadeIn ul { -webkit-animation: fadeIn 0.3s 0.1s both; animation: fadeIn 0.3s 0.1s both; } .auth0-lock-password-strength li, .auth0-lock-password-strength ul { margin: 0; padding: 0; list-style: none; color: #dd4b39; } .auth0-lock-password-strength > ul { padding: 15px; padding-top: 0; } @media (min-width: 481px) { .auth0-lock-password-strength > ul { padding-top: 12px; } } .auth0-lock-password-strength li span { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2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guMzk1NzE0MjkgTDMuNjA0Mjg1NzEsOSBMNiw2LjYwNDI4NTcxIEw4LjM5NTcxNDI5LDkgTDksOC4zOTU3MTQyOSBMNi42MDQyODU3MSw2IEw5LDMuNjA0Mjg1NzEgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=\"); background-position: left center; background-repeat: no-repeat; padding-left: 20px; } .auth0-lock-password-strength ul li ul { margin-left: 20px; } .auth0-lock-password-strength ul li ul li { color: #000; } @media (min-width: 481px) { .auth0-lock-password-strength ul li ul li { color: #fff; } } .auth0-lock-password-strength ul li ul li span { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+T3ZhbCAxPC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iSXBob25lLTYtLS1OYXRpdmUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00NC4wMDAwMDAsIC0yMTQuMDAwMDAwKSIgZmlsbD0iI0QwRDJEMyI+ICAgICAgICAgICAgPHBhdGggZD0iTTUwLjExNDk3MzMsMjI2IEM1My40Mjg2ODE4LDIyNiA1Ni4xMTQ5NzMzLDIyMy4zMTM3MDggNTYuMTE0OTczMywyMjAgQzU2LjExNDk3MzMsMjE2LjY4NjI5MiA1My40Mjg2ODE4LDIxNCA1MC4xMTQ5NzMzLDIxNCBDNDYuODAxMjY0OCwyMTQgNDQuMTE0OTczMywyMTYuNjg2MjkyIDQ0LjExNDk3MzMsMjIwIEM0NC4xMTQ5NzMzLDIyMy4zMTM3MDggNDYuODAxMjY0OCwyMjYgNTAuMTE0OTczMywyMjYgWiIgaWQ9Ik92YWwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+\"); } .auth0-lock-password-strength li { line-height: 1.5; margin-top: 5px; font-size: 13px; -webkit-transition: color 0.3s ease-in; transition: color 0.3s ease-in; position: relative; } .auth0-lock-password-strength li.auth0-lock-checked { color: #7ed321; } .auth0-lock-password-strength li.auth0-lock-checked span { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+R3JvdXAgNDwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9IklwaG9uZS02LS0tTmF0aXZlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQuMDAwMDAwLCAtMjQwLjAwMDAwMCkiPiAgICAgICAgICAgIDxnIGlkPSJHcm91cC00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NC4xMTQ5NzMsIDI0MC4wMDAwMDApIj4gICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtOTAiIGZpbGw9IiM4MEQxMzUiIGN4PSI2IiBjeT0iNiIgcng9IjYiIHJ5PSI2Ij48L2VsbGlwc2U+ICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjU0MjM1MzYxLDcuNzMzNzgwNzYgTDIuNjQ1ODIxNDksNS44NjgwMDg5NSBMMiw2LjQ5ODg4MTQzIEw0LjU0MjM1MzYxLDkgTDEwLDMuNjMwODcyNDggTDkuMzU4NzI2NTUsMyBMNC41NDIzNTM2MSw3LjczMzc4MDc2IFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPiAgICAgICAgICAgIDwvZz4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==\"); } .auth0-lock-error-msg { color: #f00; font-size: 12px; margin-top: 5px; } @media (min-width: 481px) { .auth0-lock-error-msg { color: #000; background: #fff; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); margin: 0; border-radius: 3px; position: absolute; left: calc(100% + 7px); top: 1px; display: inline-table; } .auth0-lock-error-msg span { background: #fff; padding: 12px 15px; display: block; position: relative; border-radius: 3px; z-index: 1; } .auth0-lock-error-msg:after { content: \"\"; background: #fff; height: 6px; width: 6px; position: absolute; pointer-events: none; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); right: calc(100% - 3px); top: 50%; -webkit-transform: translateY(-50%) rotate(45deg); transform: translateY(-50%) rotate(45deg); } } .auth0-lock .auth0-loading-screen { min-height: 42px; } .auth0-lock .auth0-loading-screen .auth0-loading-container { display: block; } .auth0-lock .auth0-sso-notice-container { background: rgba(0,0,0,0.03); color: rgba(0,0,0,0.54); padding: 10px 0; margin: -20px -20px 20px; text-align: center; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; } .auth0-lock .auth0-sso-notice-container .auth0-lock-icon { width: 12px; height: 14px; position: relative; top: 2px; right: 2px; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button.auth0-lock-social-big-button { margin-top: 0; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button[data-provider=\"auth0\"] .auth0-lock-social-button-text { text-transform: none; font-size: 12px; font-weight: normal; } .auth0-lock .auth0-lock-sign-up-terms-agreement label input { margin-right: 5px; position: relative; } input[type=\"button\"] { cursor: pointer; } ';\n\t\n\t\n\tfunction injectStyles() {\n\t var styleId = \"auth0-lock-style\";\n\t var style = document.getElementById(styleId);\n\t\n\t if (!style) {\n\t var head = document.getElementsByTagName(\"head\")[0];\n\t style = document.createElement(\"style\");\n\t style.type = \"text/css\";\n\t style.setAttribute(\"id\", styleId);\n\t head.appendChild(style);\n\t }\n\t\n\t if (style.styleSheet) {\n\t style.styleSheet.cssText = css;\n\t } else {\n\t style.innerHTML = css;\n\t }\n\t}\n\t\n\tvar Auth0Lock = function (_Core) {\n\t _inherits(Auth0Lock, _Core);\n\t\n\t function Auth0Lock(clientID, domain, options) {\n\t _classCallCheck(this, Auth0Lock);\n\t\n\t var _this = _possibleConstructorReturn(this, _Core.call(this, clientID, domain, options, _classic2.default));\n\t\n\t injectStyles();\n\t return _this;\n\t }\n\t\n\t return Auth0Lock;\n\t}(_core2.default);\n\t\n\t// telemetry\n\t\n\t\n\texports.default = Auth0Lock;\n\tAuth0Lock.version = '10.8.1';\n\tAuth0Lock.css = css;\n\t_auth0Js2.default.clientInfo.lib_version = _auth0Js2.default.clientInfo.version;\n\t_auth0Js2.default.clientInfo.name = \"lock.js\";\n\t_auth0Js2.default.clientInfo.version = Auth0Lock.version;\n\t\n\t// TODO: should we have different telemetry for classic/passwordless?\n\t// TODO: should we set telemetry info before each request?\n\t// TODO: should we inject styles here?\n\n/***/ },\n/* 141 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.skipQuickAuth = skipQuickAuth;\n\texports.hasSkippedQuickAuth = hasSkippedQuickAuth;\n\t\n\tvar _data_utils = __webpack_require__(17);\n\t\n\tvar _dataFns = (0, _data_utils.dataFns)([\"quickAuth\"]),\n\t tget = _dataFns.tget,\n\t tset = _dataFns.tset;\n\t\n\tfunction skipQuickAuth(m, b) {\n\t return tset(m, \"skipped\", b);\n\t}\n\t\n\tfunction hasSkippedQuickAuth(m) {\n\t return tget(m, \"skipped\", false);\n\t}\n\n/***/ },\n/* 142 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\texports.__esModule = true;\n\texports.defaultProps = undefined;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _chrome = __webpack_require__(311);\n\t\n\tvar _chrome2 = _interopRequireDefault(_chrome);\n\t\n\tvar _button = __webpack_require__(55);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar badgeSvg = _react2.default.createElement(\n\t 'svg',\n\t { width: '58px', height: '21px', viewBox: '0 0 462 168' },\n\t _react2.default.createElement(\n\t 'g',\n\t { id: 'Page-1', stroke: 'none', strokeWidth: '1', fill: 'none', fillRule: 'evenodd' },\n\t _react2.default.createElement(\n\t 'g',\n\t { id: 'logo-grey-horizontal' },\n\t _react2.default.createElement(\n\t 'g',\n\t { id: 'Group' },\n\t _react2.default.createElement(\n\t 'g',\n\t { id: 'LogoText', transform: 'translate(188.000000, 41.500000)', fill: '#D0D2D3' },\n\t _react2.default.createElement('path', { d: 'M246.517,0.11 C238.439,0.11 231.607,3.916 226.759,11.115 C221.94,18.271 219.393,28.26 219.393,40 C219.393,51.74 221.94,61.729 226.759,68.884 C231.607,76.084 238.439,79.889 246.517,79.889 C254.595,79.889 261.427,76.084 266.275,68.884 C271.093,61.729 273.64,51.74 273.64,40 C273.64,28.26 271.093,18.271 266.275,11.115 C261.427,3.916 254.595,0.11 246.517,0.11 L246.517,0.11 Z M246.517,70.005 C242.655,70.005 239.604,67.82 237.187,63.324 C234.268,57.893 232.66,49.61 232.66,40 C232.66,30.39 234.268,22.106 237.187,16.676 C239.604,12.18 242.655,9.994 246.517,9.994 C250.378,9.994 253.43,12.18 255.847,16.676 C258.766,22.106 260.373,30.389 260.373,40 C260.373,49.611 258.766,57.895 255.847,63.324 C253.43,67.82 250.378,70.005 246.517,70.005 L246.517,70.005 Z M71.45,29.172 L71.45,63.484 C71.45,72.53 78.81,79.889 87.856,79.889 C95.746,79.889 101.707,75.975 103.902,74.291 C104.024,74.197 104.184,74.169 104.331,74.216 C104.478,74.263 104.592,74.379 104.637,74.527 L105.961,78.86 L115.737,78.86 L115.737,29.172 L103.175,29.172 L103.175,66.326 C103.175,66.501 103.076,66.662 102.921,66.743 C100.559,67.961 95.899,70.006 91.231,70.006 C87.252,70.006 84.012,66.768 84.012,62.787 L84.012,29.172 L71.45,29.172 L71.45,29.172 Z M197.237,78.859 L209.8,78.859 L209.8,44.547 C209.8,35.501 202.44,28.141 193.394,28.141 C186.735,28.141 181.393,31.004 178.802,32.71 C178.657,32.805 178.473,32.813 178.322,32.731 C178.171,32.649 178.075,32.491 178.075,32.318 L178.075,1.141 L165.513,1.141 L165.513,78.859 L178.075,78.859 L178.075,41.704 C178.075,41.529 178.174,41.368 178.33,41.288 C180.691,40.069 185.352,38.025 190.019,38.025 C191.947,38.025 193.76,38.776 195.123,40.139 C196.486,41.502 197.236,43.316 197.236,45.243 L197.236,78.859 L197.237,78.859 Z M124.792,39.055 L132.438,39.055 C132.697,39.055 132.907,39.265 132.907,39.524 L132.907,66.858 C132.907,74.043 138.753,79.888 145.938,79.888 C148.543,79.888 151.113,79.512 153.585,78.77 L153.585,69.796 C152.143,69.923 150.485,70.005 149.313,70.005 C147.193,70.005 145.469,68.28 145.469,66.161 L145.469,39.523 C145.469,39.264 145.679,39.054 145.938,39.054 L153.585,39.054 L153.585,29.171 L145.938,29.171 C145.679,29.171 145.469,28.961 145.469,28.702 L145.469,12.295 L132.907,12.295 L132.907,28.702 C132.907,28.961 132.697,29.171 132.438,29.171 L124.792,29.171 L124.792,39.055 L124.792,39.055 Z M51.361,78.859 L64.429,78.859 L44.555,9.55 C42.962,3.992 37.811,0.11 32.029,0.11 C26.247,0.11 21.096,3.992 19.502,9.55 L-0.372,78.859 L12.697,78.859 L18.449,58.798 C18.507,58.597 18.691,58.459 18.9,58.459 L45.158,58.459 C45.367,58.459 45.552,58.597 45.609,58.798 L51.361,78.859 L51.361,78.859 Z M42.056,48.576 L22.004,48.576 C21.857,48.576 21.718,48.507 21.629,48.388 C21.541,48.272 21.513,48.119 21.553,47.978 L31.579,13.012 C31.637,12.811 31.821,12.673 32.03,12.673 C32.239,12.673 32.423,12.811 32.48,13.012 L42.507,47.978 C42.547,48.12 42.519,48.272 42.43,48.388 C42.342,48.507 42.203,48.576 42.056,48.576 L42.056,48.576 Z', id: 'Shape' })\n\t ),\n\t _react2.default.createElement(\n\t 'g',\n\t { id: 'LogoBadge', fillOpacity: '0.4', fill: '#FFFFFF' },\n\t _react2.default.createElement('path', { d: 'M119.555,135.861 L102.705,83.997 L146.813,51.952 L92.291,51.952 L75.44,0.09 L75.435,0.076 L129.965,0.076 L146.82,51.947 L146.821,51.946 L146.835,51.938 C156.623,82.03 146.542,116.256 119.555,135.861 L119.555,135.861 Z M31.321,135.861 L31.307,135.871 L75.426,167.924 L119.555,135.862 L75.44,103.808 L31.321,135.861 L31.321,135.861 Z M4.052,51.939 L4.052,51.939 C-6.252,83.66 5.709,117.272 31.312,135.867 L31.316,135.851 L48.168,83.99 L4.07,51.951 L58.579,51.951 L75.431,0.089 L75.435,0.075 L20.902,0.075 L4.052,51.939 L4.052,51.939 Z', id: 'Shape' })\n\t )\n\t )\n\t )\n\t )\n\t);\n\t\n\tvar BottomBadge = function BottomBadge(_ref) {\n\t var link = _ref.link;\n\t return _react2.default.createElement(\n\t 'span',\n\t { className: 'auth0-lock-badge-bottom' },\n\t _react2.default.createElement(\n\t 'a',\n\t { href: link, target: '_blank', className: 'auth0-lock-badge' },\n\t 'Protected with ',\n\t badgeSvg\n\t )\n\t );\n\t};\n\t\n\tvar Avatar = function Avatar(_ref2) {\n\t var imageUrl = _ref2.imageUrl;\n\t return _react2.default.createElement('img', { src: imageUrl, className: 'auth0-lock-header-avatar' });\n\t};\n\t\n\tAvatar.propTypes = {\n\t imageUrl: _react2.default.PropTypes.string.isRequired\n\t};\n\t\n\tvar EscKeyDownHandler = function () {\n\t function EscKeyDownHandler(f) {\n\t _classCallCheck(this, EscKeyDownHandler);\n\t\n\t this.handler = function (e) {\n\t if (e.keyCode == 27 && e.target.tagName.toUpperCase() != \"INPUT\") {\n\t f();\n\t }\n\t };\n\t global.document.addEventListener('keydown', this.handler, false);\n\t }\n\t\n\t EscKeyDownHandler.prototype.release = function release() {\n\t global.document.removeEventListener('keydown', this.handler);\n\t };\n\t\n\t return EscKeyDownHandler;\n\t}();\n\t\n\tvar IPHONE = global.navigator && !!global.navigator.userAgent.match(/iPhone/i);\n\t\n\tvar Container = function (_React$Component) {\n\t _inherits(Container, _React$Component);\n\t\n\t function Container(props) {\n\t _classCallCheck(this, Container);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.state = { isOpen: false };\n\t return _this;\n\t }\n\t\n\t Container.prototype.componentDidMount = function componentDidMount() {\n\t var _this2 = this;\n\t\n\t if (this.props.isModal) {\n\t setTimeout(function () {\n\t return _this2.setState({ isOpen: true });\n\t }, 17);\n\t }\n\t\n\t if (this.props.closeHandler) {\n\t this.escKeydown = new EscKeyDownHandler(this.handleEsc.bind(this));\n\t }\n\t };\n\t\n\t Container.prototype.componentWillUnmount = function componentWillUnmount() {\n\t if (this.escKeydown) {\n\t this.escKeydown.release();\n\t }\n\t };\n\t\n\t Container.prototype.handleSubmit = function handleSubmit(e) {\n\t var _this3 = this;\n\t\n\t e.preventDefault();\n\t var submitHandler = this.props.submitHandler;\n\t\n\t if (submitHandler) {\n\t setTimeout(function () {\n\t if (!_this3.props.isSubmitting) {\n\t _this3.refs.chrome.focusError();\n\t }\n\t }, 17);\n\t submitHandler();\n\t }\n\t };\n\t\n\t Container.prototype.handleClose = function handleClose() {\n\t var _props = this.props,\n\t closeHandler = _props.closeHandler,\n\t isSubmitting = _props.isSubmitting;\n\t\n\t if (!isSubmitting) {\n\t closeHandler();\n\t }\n\t };\n\t\n\t Container.prototype.handleEsc = function handleEsc() {\n\t var _props2 = this.props,\n\t closeHandler = _props2.closeHandler,\n\t escHandler = _props2.escHandler;\n\t\n\t escHandler ? escHandler() : this.handleClose();\n\t };\n\t\n\t Container.prototype.hide = function hide() {\n\t this.setState({ isOpen: false });\n\t };\n\t\n\t Container.prototype.render = function render() {\n\t var _props3 = this.props,\n\t autofocus = _props3.autofocus,\n\t avatar = _props3.avatar,\n\t auxiliaryPane = _props3.auxiliaryPane,\n\t backHandler = _props3.backHandler,\n\t badgeLink = _props3.badgeLink,\n\t closeHandler = _props3.closeHandler,\n\t contentComponent = _props3.contentComponent,\n\t contentProps = _props3.contentProps,\n\t disableSubmitButton = _props3.disableSubmitButton,\n\t disallowClose = _props3.disallowClose,\n\t error = _props3.error,\n\t isMobile = _props3.isMobile,\n\t isModal = _props3.isModal,\n\t isSubmitting = _props3.isSubmitting,\n\t logo = _props3.logo,\n\t primaryColor = _props3.primaryColor,\n\t screenName = _props3.screenName,\n\t showBadge = _props3.showBadge,\n\t submitButtonLabel = _props3.submitButtonLabel,\n\t submitHandler = _props3.submitHandler,\n\t success = _props3.success,\n\t tabs = _props3.tabs,\n\t terms = _props3.terms,\n\t title = _props3.title,\n\t transitionName = _props3.transitionName;\n\t\n\t\n\t var badge = showBadge ? _react2.default.createElement(BottomBadge, { link: badgeLink }) : null;\n\t\n\t var overlay = isModal ? _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-overlay' },\n\t badge\n\t ) : null;\n\t\n\t var className = \"auth0-lock\";\n\t\n\t if (isModal && this.state.isOpen) {\n\t className += \" auth0-lock-opened\";\n\t }\n\t\n\t if (!isModal) {\n\t className += \" auth0-lock-opened-in-frame\";\n\t }\n\t\n\t if (isMobile) {\n\t className += \" auth0-lock-mobile\";\n\t }\n\t\n\t if (isSubmitting) {\n\t className += \" auth0-lock-mode-loading\";\n\t }\n\t\n\t if (auxiliaryPane) {\n\t className += \" auth0-lock-auxiliary\";\n\t }\n\t\n\t if (!submitHandler) {\n\t className += \" auth0-lock-no-submit\";\n\t }\n\t\n\t if (terms) {\n\t className += \" auth0-lock-with-terms\";\n\t }\n\t\n\t if (IPHONE) {\n\t className += \" auth0-lock-iphone\";\n\t }\n\t\n\t // TODO: this no longer makes sense, instead of taking a tabs\n\t // prop we should take extra class names.\n\t if (tabs) {\n\t className += \" auth0-lock-with-tabs\";\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: className, ref: 'container' },\n\t overlay,\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-center' },\n\t _react2.default.createElement(\n\t 'form',\n\t { className: 'auth0-lock-widget', onSubmit: this.handleSubmit.bind(this) },\n\t avatar && _react2.default.createElement(Avatar, { imageUrl: avatar }),\n\t closeHandler && _react2.default.createElement(_button.CloseButton, { onClick: this.handleClose.bind(this) }),\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-widget-container' },\n\t _react2.default.createElement(_chrome2.default, {\n\t autofocus: autofocus,\n\t avatar: avatar,\n\t auxiliaryPane: auxiliaryPane,\n\t backHandler: backHandler,\n\t contentComponent: contentComponent,\n\t contentProps: contentProps,\n\t disableSubmitButton: disableSubmitButton,\n\t error: error,\n\t isSubmitting: isSubmitting,\n\t logo: logo,\n\t screenName: screenName,\n\t primaryColor: primaryColor,\n\t ref: 'chrome',\n\t showSubmitButton: !!submitHandler,\n\t submitButtonLabel: submitButtonLabel,\n\t success: success,\n\t tabs: tabs,\n\t terms: terms,\n\t title: title,\n\t transitionName: transitionName\n\t })\n\t )\n\t )\n\t )\n\t );\n\t };\n\t\n\t return Container;\n\t}(_react2.default.Component);\n\t\n\texports.default = Container;\n\t\n\t\n\tContainer.propTypes = {\n\t autofocus: _react2.default.PropTypes.bool.isRequired,\n\t avatar: _react2.default.PropTypes.string,\n\t auxiliaryPane: _react2.default.PropTypes.element,\n\t backHandler: _react2.default.PropTypes.func,\n\t badgeLink: _react2.default.PropTypes.string.isRequired,\n\t closeHandler: _react2.default.PropTypes.func,\n\t contentComponent: _react2.default.PropTypes.func.isRequired, // TODO: it also can be a class component\n\t contentProps: _react2.default.PropTypes.object.isRequired,\n\t disableSubmitButton: _react2.default.PropTypes.bool.isRequired,\n\t error: _react2.default.PropTypes.string,\n\t isMobile: _react2.default.PropTypes.bool.isRequired,\n\t isModal: _react2.default.PropTypes.bool.isRequired,\n\t isSubmitting: _react2.default.PropTypes.bool.isRequired,\n\t logo: _react2.default.PropTypes.string.isRequired,\n\t primaryColor: _react2.default.PropTypes.string.isRequired,\n\t screenName: _react2.default.PropTypes.string.isRequired,\n\t showBadge: _react2.default.PropTypes.bool.isRequired,\n\t submitButtonLabel: _react2.default.PropTypes.string,\n\t success: _react2.default.PropTypes.string,\n\t tabs: _react2.default.PropTypes.bool,\n\t terms: _react2.default.PropTypes.element,\n\t title: _react2.default.PropTypes.string.isRequired,\n\t transitionName: _react2.default.PropTypes.string.isRequired\n\t // escHandler\n\t // submitHandler,\n\t};\n\t\n\t// NOTE: detecting the file protocol is important for things like electron.\n\tvar isFileProtocol = global.window && global.window.location && global.window.location.protocol === \"file:\";\n\t\n\tvar defaultProps = exports.defaultProps = Container.defaultProps = {\n\t autofocus: false,\n\t badgeLink: \"https://auth0.com/\",\n\t contentProps: {},\n\t disableSubmitButton: false,\n\t isMobile: false,\n\t isSubmitting: false,\n\t logo: (isFileProtocol ? \"https:\" : \"\") + '//cdn.auth0.com/styleguide/1.0.0/img/badge.png',\n\t primaryColor: \"#ea5323\",\n\t showBadge: true\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 143 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar AuthButton = function AuthButton(props) {\n\t var disabled = props.disabled,\n\t isBig = props.isBig,\n\t label = props.label,\n\t onClick = props.onClick,\n\t strategy = props.strategy,\n\t icon = props.icon,\n\t primaryColor = props.primaryColor,\n\t foregroundColor = props.foregroundColor;\n\t\n\t\n\t var className = \"auth0-lock-social-button\";\n\t if (isBig) className += \" auth0-lock-social-big-button\";\n\t\n\t var backgroundStyle = primaryColor ? { backgroundColor: primaryColor } : {};\n\t var foregroundStyle = foregroundColor ? { color: foregroundColor } : {};\n\t var iconStyle = icon ? { backgroundImage: \"url('\" + icon + \"')\" } : {};\n\t\n\t return _react2.default.createElement(\n\t \"button\",\n\t {\n\t className: className,\n\t \"data-provider\": strategy,\n\t disabled: disabled,\n\t onClick: onClick,\n\t style: backgroundStyle,\n\t type: \"button\"\n\t },\n\t _react2.default.createElement(\"div\", { className: \"auth0-lock-social-button-icon\", style: iconStyle }),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"auth0-lock-social-button-text\", style: foregroundStyle },\n\t label\n\t )\n\t );\n\t};\n\t\n\tAuthButton.propTypes = {\n\t disabled: _react2.default.PropTypes.bool.isRequired,\n\t isBig: _react2.default.PropTypes.bool.isRequired,\n\t label: _react2.default.PropTypes.string.isRequired,\n\t onClick: _react2.default.PropTypes.func.isRequired,\n\t strategy: _react2.default.PropTypes.string.isRequired,\n\t icon: _react2.default.PropTypes.string,\n\t primaryColor: _react2.default.PropTypes.string,\n\t foregroundColor: _react2.default.PropTypes.string\n\t};\n\t\n\tAuthButton.defaultProps = {\n\t disabled: false,\n\t isBig: true\n\t};\n\t\n\texports.default = AuthButton;\n\n/***/ },\n/* 144 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _input_wrap = __webpack_require__(40);\n\t\n\tvar _input_wrap2 = _interopRequireDefault(_input_wrap);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar TextInput = function (_React$Component) {\n\t _inherits(TextInput, _React$Component);\n\t\n\t function TextInput(props) {\n\t _classCallCheck(this, TextInput);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.state = {};\n\t return _this;\n\t }\n\t\n\t TextInput.prototype.hasFocus = function hasFocus() {\n\t return this.state.focused;\n\t };\n\t\n\t TextInput.prototype.render = function render() {\n\t var _props = this.props,\n\t iconUrl = _props.iconUrl,\n\t invalidHint = _props.invalidHint,\n\t isValid = _props.isValid,\n\t name = _props.name,\n\t onChange = _props.onChange,\n\t value = _props.value,\n\t props = _objectWithoutProperties(_props, ['iconUrl', 'invalidHint', 'isValid', 'name', 'onChange', 'value']);\n\t\n\t var icon = this.props.icon;\n\t var focused = this.state.focused;\n\t\n\t\n\t if (!icon && typeof iconUrl === \"string\" && iconUrl) {\n\t icon = _react2.default.createElement('img', { className: 'auth0-lock-custom-icon', src: iconUrl });\n\t }\n\t\n\t return _react2.default.createElement(\n\t _input_wrap2.default,\n\t {\n\t focused: focused,\n\t invalidHint: invalidHint,\n\t isValid: isValid,\n\t name: name,\n\t icon: icon\n\t },\n\t _react2.default.createElement('input', _extends({\n\t ref: 'input',\n\t type: 'text',\n\t name: name,\n\t className: 'auth0-lock-input',\n\t autoComplete: 'off',\n\t autoCapitalize: 'off',\n\t onChange: this.handleOnChange.bind(this),\n\t onFocus: this.handleFocus.bind(this),\n\t onBlur: this.handleBlur.bind(this),\n\t value: value\n\t }, props))\n\t );\n\t };\n\t\n\t TextInput.prototype.handleOnChange = function handleOnChange(e) {\n\t if (this.props.onChange) {\n\t this.props.onChange(e);\n\t }\n\t };\n\t\n\t TextInput.prototype.handleFocus = function handleFocus() {\n\t this.setState({ focused: true });\n\t };\n\t\n\t TextInput.prototype.handleBlur = function handleBlur() {\n\t this.setState({ focused: false });\n\t };\n\t\n\t return TextInput;\n\t}(_react2.default.Component);\n\t\n\texports.default = TextInput;\n\n/***/ },\n/* 145 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.isSmallScreen = isSmallScreen;\n\tfunction isSmallScreen() {\n\t return window.matchMedia && !window.matchMedia(\"(min-width: 380px)\").matches;\n\t}\n\n/***/ },\n/* 146 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.img = img;\n\tfunction img(src) {\n\t var cb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};\n\t\n\t var img = document.createElement(\"img\");\n\t img.addEventListener(\"load\", function () {\n\t cb(null, img);\n\t });\n\t img.addEventListener(\"error\", function (event) {\n\t cb(event);\n\t });\n\t img.src = src;\n\t return img;\n\t}\n\n/***/ },\n/* 147 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tvar IframeHandler = function IframeHandler(options) {\n\t this.auth0 = options.auth0;\n\t this.url = options.url;\n\t this.callback = options.callback;\n\t this.timeout = options.timeout || 60 * 1000;\n\t this.timeoutCallback = options.timeoutCallback || null;\n\t this.usePostMessage = options.usePostMessage || false;\n\t this.iframe = null;\n\t this.timeoutHandle = null;\n\t this._destroyTimeout = null;\n\t this.transientMessageEventListener = null;\n\t this.transientEventListener = null;\n\t};\n\t\n\tIframeHandler.prototype.init = function (url) {\n\t this.iframe = document.createElement('iframe');\n\t this.iframe.style.display = \"none\";\n\t this.iframe.src = this.url;\n\t\n\t var _this = this;\n\t\n\t if (this.usePostMessage) {\n\t\n\t // Workaround to avoid using bind that does not work in IE8\n\t this.transientMessageEventListener = function (e) {\n\t _this.messageEventListener(e);\n\t };\n\t\n\t window.addEventListener(\"message\", this.transientMessageEventListener, false);\n\t } else {\n\t\n\t // Workaround to avoid using bind that does not work in IE8\n\t this.transientEventListener = function () {\n\t _this.loadEventListener();\n\t };\n\t\n\t this.iframe.addEventListener(\"load\", this.transientEventListener, false);\n\t }\n\t\n\t document.body.appendChild(this.iframe);\n\t\n\t this.timeoutHandle = setTimeout(function () {\n\t _this.timeoutHandler();\n\t }, this.timeout);\n\t};\n\t\n\tIframeHandler.prototype.messageEventListener = function (e) {\n\t this.callbackHandler(e.data);\n\t\n\t this.destroy();\n\t};\n\t\n\tIframeHandler.prototype.loadEventListener = function () {\n\t var result = this.auth0.parseHash(this.iframe.contentWindow.location.hash);\n\t\n\t if (!result) return;\n\t\n\t this.callbackHandler(result);\n\t\n\t this.destroy();\n\t};\n\t\n\tIframeHandler.prototype.callbackHandler = function (result) {\n\t var error = null;\n\t\n\t if (result.error) {\n\t error = result;\n\t result = null;\n\t }\n\t\n\t this.callback(error, result);\n\t};\n\t\n\tIframeHandler.prototype.timeoutHandler = function () {\n\t if (this.timeoutCallback) {\n\t this.timeoutCallback();\n\t }\n\t this.destroy();\n\t};\n\tIframeHandler.prototype.destroy = function () {\n\t var _this = this;\n\t\n\t if (this.timeoutHandle) {\n\t clearTimeout(this.timeoutHandle);\n\t }\n\t\n\t this._destroyTimeout = setTimeout(function () {\n\t if (_this.usePostMessage) {\n\t window.removeEventListener(\"message\", _this.transientMessageEventListener, false);\n\t } else {\n\t _this.iframe.removeEventListener(\"load\", _this.transientEventListener, false);\n\t }\n\t document.body.removeChild(_this.iframe);\n\t }, 0);\n\t};\n\t\n\tmodule.exports = IframeHandler;\n\n/***/ },\n/* 148 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Module dependencies.\n\t */\n\t\n\tvar json_parse = __webpack_require__(92);\n\t\n\t/**\n\t * Expose `LoginError`\n\t */\n\t\n\tmodule.exports = LoginError;\n\t\n\t/**\n\t * Create a `LoginError` by extend of `Error`\n\t *\n\t * @param {Number} status\n\t * @param {String} details\n\t * @public\n\t */\n\t\n\tfunction LoginError(status, details) {\n\t var obj;\n\t\n\t if (typeof details == 'string') {\n\t try {\n\t obj = json_parse(details);\n\t } catch (er) {\n\t obj = { message: details };\n\t }\n\t } else {\n\t obj = details || { description: 'server error' };\n\t }\n\t\n\t if (!obj.code) {\n\t obj.code = obj.error;\n\t }\n\t\n\t if ('unauthorized' === obj.code) {\n\t status = 401;\n\t }\n\t\n\t var message = obj.description || obj.message || obj.error;\n\t\n\t if ('PasswordStrengthError' === obj.name) {\n\t message = \"Password is not strong enough.\";\n\t }\n\t\n\t var err = Error.call(this, message);\n\t\n\t err.status = status;\n\t err.name = obj.code;\n\t err.code = obj.code;\n\t err.details = obj;\n\t\n\t if (status === 0) {\n\t if (!err.code || err.code !== 'offline') {\n\t err.code = 'Unknown';\n\t err.message = 'Unknown error.';\n\t }\n\t }\n\t\n\t return err;\n\t}\n\t\n\t/**\n\t * Extend `LoginError.prototype` with `Error.prototype`\n\t * and `LoginError` as constructor\n\t */\n\t\n\tif (Object && Object.create) {\n\t LoginError.prototype = Object.create(Error.prototype, {\n\t constructor: { value: LoginError }\n\t });\n\t}\n\n/***/ },\n/* 149 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar IframeHandler = __webpack_require__(147);\n\t\n\tvar SilentAuthenticationHandler = function SilentAuthenticationHandler(auth0, authenticationUrl, timeout) {\n\t\n\t this.auth0 = auth0;\n\t this.authenticationUrl = authenticationUrl;\n\t this.timeout = timeout || 60 * 1000;\n\t this.handler = null;\n\t};\n\t\n\tSilentAuthenticationHandler.prototype.timeoutCallback = function () {\n\t\n\t console.error('Timeout during silent authentication.');\n\t};\n\t\n\tSilentAuthenticationHandler.prototype.login = function (callback, usePostMessage) {\n\t\n\t this.handler = new IframeHandler({\n\t auth0: this.auth0,\n\t url: this.authenticationUrl,\n\t callback: callback,\n\t timeout: this.timeout,\n\t timeoutCallback: this.timeoutCallback,\n\t usePostMessage: usePostMessage || false\n\t });\n\t\n\t this.handler.init();\n\t};\n\t\n\tmodule.exports = SilentAuthenticationHandler;\n\n/***/ },\n/* 150 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Expose `required`\n\t */\n\t\n\tmodule.exports = required;\n\t\n\t/**\n\t * Assert `prop` as requirement of `obj`\n\t *\n\t * @param {Object} obj\n\t * @param {prop} prop\n\t * @public\n\t */\n\t\n\tfunction required(obj, prop) {\n\t if (!obj[prop]) {\n\t throw new Error(prop + ' is required.');\n\t }\n\t}\n\n/***/ },\n/* 151 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Module dependencies.\n\t */\n\t\n\tvar Base64 = __webpack_require__(157);\n\t\n\t/**\n\t * Expose `base64_url_decode`\n\t */\n\t\n\tmodule.exports = {\n\t encode: encode,\n\t decode: decode\n\t};\n\t\n\t/**\n\t * Encode a `base64` `encodeURIComponent` string\n\t *\n\t * @param {string} str\n\t * @public\n\t */\n\t\n\tfunction encode(str) {\n\t return Base64.btoa(str).replace(/\\+/g, '-') // Convert '+' to '-'\n\t .replace(/\\//g, '_') // Convert '/' to '_'\n\t .replace(/=+$/, ''); // Remove ending '='\n\t}\n\t\n\t/**\n\t * Decode a `base64` `encodeURIComponent` string\n\t *\n\t * @param {string} str\n\t * @public\n\t */\n\t\n\tfunction decode(str) {\n\t // Add removed at end '='\n\t str += Array(5 - str.length % 4).join('=');\n\t\n\t str = str.replace(/\\-/g, '+') // Convert '-' to '+'\n\t .replace(/\\_/g, '/'); // Convert '_' to '/'\n\t\n\t return Base64.atob(str);\n\t}\n\n/***/ },\n/* 152 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Resolve `isArray` as native or fallback\n\t */\n\t\n\tmodule.exports = Array.prototype.indexOf ? nativeIndexOf : polyfillIndexOf;\n\t\n\tfunction nativeIndexOf(array, searchElement, fromIndex) {\n\t return array.indexOf(searchElement, fromIndex);\n\t}\n\t\n\tfunction polyfillIndexOf(array, searchElement, fromIndex) {\n\t // Production steps of ECMA-262, Edition 5, 15.4.4.14\n\t // Reference: http://es5.github.io/#x15.4.4.14\n\t\n\t var k;\n\t\n\t // 1. Let O be the result of calling ToObject passing\n\t // the array value as the argument.\n\t if (array == null) {\n\t throw new TypeError('\"array\" is null or not defined');\n\t }\n\t\n\t var O = Object(array);\n\t\n\t // 2. Let lenValue be the result of calling the Get\n\t // internal method of O with the argument \"length\".\n\t // 3. Let len be ToUint32(lenValue).\n\t var len = O.length >>> 0;\n\t\n\t // 4. If len is 0, return -1.\n\t if (len === 0) {\n\t return -1;\n\t }\n\t\n\t // 5. If argument fromIndex was passed let n be\n\t // ToInteger(fromIndex); else let n be 0.\n\t var n = +fromIndex || 0;\n\t\n\t if (Math.abs(n) === Infinity) {\n\t n = 0;\n\t }\n\t\n\t // 6. If n >= len, return -1.\n\t if (n >= len) {\n\t return -1;\n\t }\n\t\n\t // 7. If n >= 0, then Let k be n.\n\t // 8. Else, n<0, Let k be len - abs(n).\n\t // If k is less than 0, then let k be 0.\n\t k = Math.max(n >= 0 ? n : len - Math.abs(n), 0);\n\t\n\t // 9. Repeat, while k < len\n\t while (k < len) {\n\t // a. Let Pk be ToString(k).\n\t // This is implicit for LHS operands of the in operator\n\t // b. Let kPresent be the result of calling the\n\t // HasProperty internal method of O with argument Pk.\n\t // This step can be combined with c\n\t // c. If kPresent is true, then\n\t // i. Let elementK be the result of calling the Get\n\t // internal method of O with the argument ToString(k).\n\t // ii. Let same be the result of applying the\n\t // Strict Equality Comparison Algorithm to\n\t // searchElement and elementK.\n\t // iii. If same is true, return k.\n\t if (k in O && O[k] === searchElement) {\n\t return k;\n\t }\n\t k++;\n\t }\n\t return -1;\n\t};\n\n/***/ },\n/* 153 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Module dependencies.\n\t */\n\t\n\tvar toString = Object.prototype.toString;\n\t\n\t/**\n\t * Resolve `isArray` as native or fallback\n\t */\n\t\n\tmodule.exports = null != Array.isArray ? Array.isArray : isArray;\n\t\n\t/**\n\t * Wrap `Array.isArray` Polyfill for IE9\n\t * source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray\n\t *\n\t * @param {Array} array\n\t * @public\n\t */\n\t\n\tfunction isArray(array) {\n\t return toString.call(array) === '[object Array]';\n\t};\n\n/***/ },\n/* 154 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tfunction randomString(length) {\n\t var bytes = new Uint8Array(length);\n\t var cryptoObj = window.crypto || window.msCrypto;\n\t\n\t if (!cryptoObj) {\n\t return null;\n\t }\n\t\n\t var random = cryptoObj.getRandomValues(bytes);\n\t var result = [];\n\t var charset = '0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz-._~';\n\t random.forEach(function (c) {\n\t result.push(charset[c % charset.length]);\n\t });\n\t return result.join('');\n\t}\n\t\n\tmodule.exports = {\n\t randomString: randomString\n\t};\n\n/***/ },\n/* 155 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Check for same origin policy\n\t */\n\t\n\tmodule.exports = same_origin;\n\t\n\tfunction same_origin(tprotocol, tdomain, tport) {\n\t var protocol = window.location.protocol;\n\t var domain = window.location.hostname;\n\t var port = window.location.port;\n\t\n\t tport = tport || '';\n\t return protocol === tprotocol && domain === tdomain && port === tport;\n\t}\n\n/***/ },\n/* 156 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Expose `use_jsonp`\n\t */\n\t\n\tmodule.exports = use_jsonp;\n\t\n\t/**\n\t * Return true if `jsonp` is required\n\t *\n\t * @return {Boolean}\n\t * @public\n\t */\n\t\n\tfunction use_jsonp() {\n\t var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : null;\n\t\n\t if (xhr && 'withCredentials' in xhr) {\n\t return false;\n\t }\n\t\n\t // We no longer support XDomainRequest for IE8 and IE9 for CORS because it has many quirks.\n\t // if ('XDomainRequest' in window && window.location.protocol === 'https:') {\n\t // return false;\n\t // }\n\t\n\t return true;\n\t}\n\n/***/ },\n/* 157 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t;(function () {\n\t\n\t var object = true ? exports : this,\n\t // #8: web workers\n\t chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',\n\t INVALID_CHARACTER_ERR = function () {\n\t // fabricate a suitable error object\n\t try {\n\t document.createElement('$');\n\t } catch (error) {\n\t return error;\n\t }\n\t }();\n\t\n\t // encoder\n\t // [https://gist.github.com/999166] by [https://github.com/nignag]\n\t object.btoa || (object.btoa = function (input) {\n\t for (\n\t // initialize result and counter\n\t var block, charCode, idx = 0, map = chars, output = '';\n\t // if the next input index does not exist:\n\t // change the mapping table to \"=\"\n\t // check if d has no fractional digits\n\t input.charAt(idx | 0) || (map = '=', idx % 1);\n\t // \"8 - idx % 1 * 8\" generates the sequence 2, 4, 6, 8\n\t output += map.charAt(63 & block >> 8 - idx % 1 * 8)) {\n\t charCode = input.charCodeAt(idx += 3 / 4);\n\t if (charCode > 0xFF) throw INVALID_CHARACTER_ERR;\n\t block = block << 8 | charCode;\n\t }\n\t return output;\n\t });\n\t\n\t // decoder\n\t // [https://gist.github.com/1020396] by [https://github.com/atk]\n\t object.atob || (object.atob = function (input) {\n\t input = input.replace(/=+$/, '');\n\t if (input.length % 4 == 1) throw INVALID_CHARACTER_ERR;\n\t for (\n\t // initialize result and counters\n\t var bc = 0, bs, buffer, idx = 0, output = '';\n\t // get next character\n\t buffer = input.charAt(idx++);\n\t // character found in table? initialize bit storage and add its ascii value;\n\t ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,\n\t // and if not first of each 4 characters,\n\t // convert the first 8 bits to one ascii character\n\t bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0) {\n\t // try to find character in table (0-63, not found => -1)\n\t buffer = chars.indexOf(buffer);\n\t }\n\t return output;\n\t });\n\t})();\n\n/***/ },\n/* 158 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/*\n\t json2.js\n\t 2011-10-19\n\t\n\t Public Domain.\n\t\n\t NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.\n\t\n\t See http://www.JSON.org/js.html\n\t\n\t\n\t This code should be minified before deployment.\n\t See http://javascript.crockford.com/jsmin.html\n\t\n\t USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO\n\t NOT CONTROL.\n\t\n\t\n\t This file creates a global JSON object containing two methods: stringify\n\t and parse.\n\t\n\t JSON.stringify(value, replacer, space)\n\t value any JavaScript value, usually an object or array.\n\t\n\t replacer an optional parameter that determines how object\n\t values are stringified for objects. It can be a\n\t function or an array of strings.\n\t\n\t space an optional parameter that specifies the indentation\n\t of nested structures. If it is omitted, the text will\n\t be packed without extra whitespace. If it is a number,\n\t it will specify the number of spaces to indent at each\n\t level. If it is a string (such as '\\t' or ' '),\n\t it contains the characters used to indent at each level.\n\t\n\t This method produces a JSON text from a JavaScript value.\n\t\n\t When an object value is found, if the object contains a toJSON\n\t method, its toJSON method will be called and the result will be\n\t stringified. A toJSON method does not serialize: it returns the\n\t value represented by the name/value pair that should be serialized,\n\t or undefined if nothing should be serialized. The toJSON method\n\t will be passed the key associated with the value, and this will be\n\t bound to the value\n\t\n\t For example, this would serialize Dates as ISO strings.\n\t\n\t Date.prototype.toJSON = function (key) {\n\t function f(n) {\n\t // Format integers to have at least two digits.\n\t return n < 10 ? '0' + n : n;\n\t }\n\t\n\t return this.getUTCFullYear() + '-' +\n\t f(this.getUTCMonth() + 1) + '-' +\n\t f(this.getUTCDate()) + 'T' +\n\t f(this.getUTCHours()) + ':' +\n\t f(this.getUTCMinutes()) + ':' +\n\t f(this.getUTCSeconds()) + 'Z';\n\t };\n\t\n\t You can provide an optional replacer method. It will be passed the\n\t key and value of each member, with this bound to the containing\n\t object. The value that is returned from your method will be\n\t serialized. If your method returns undefined, then the member will\n\t be excluded from the serialization.\n\t\n\t If the replacer parameter is an array of strings, then it will be\n\t used to select the members to be serialized. It filters the results\n\t such that only members with keys listed in the replacer array are\n\t stringified.\n\t\n\t Values that do not have JSON representations, such as undefined or\n\t functions, will not be serialized. Such values in objects will be\n\t dropped; in arrays they will be replaced with null. You can use\n\t a replacer function to replace those with JSON values.\n\t JSON.stringify(undefined) returns undefined.\n\t\n\t The optional space parameter produces a stringification of the\n\t value that is filled with line breaks and indentation to make it\n\t easier to read.\n\t\n\t If the space parameter is a non-empty string, then that string will\n\t be used for indentation. If the space parameter is a number, then\n\t the indentation will be that many spaces.\n\t\n\t Example:\n\t\n\t text = JSON.stringify(['e', {pluribus: 'unum'}]);\n\t // text is '[\"e\",{\"pluribus\":\"unum\"}]'\n\t\n\t\n\t text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\\t');\n\t // text is '[\\n\\t\"e\",\\n\\t{\\n\\t\\t\"pluribus\": \"unum\"\\n\\t}\\n]'\n\t\n\t text = JSON.stringify([new Date()], function (key, value) {\n\t return this[key] instanceof Date ?\n\t 'Date(' + this[key] + ')' : value;\n\t });\n\t // text is '[\"Date(---current time---)\"]'\n\t\n\t\n\t JSON.parse(text, reviver)\n\t This method parses a JSON text to produce an object or array.\n\t It can throw a SyntaxError exception.\n\t\n\t The optional reviver parameter is a function that can filter and\n\t transform the results. It receives each of the keys and values,\n\t and its return value is used instead of the original value.\n\t If it returns what it received, then the structure is not modified.\n\t If it returns undefined then the member is deleted.\n\t\n\t Example:\n\t\n\t // Parse the text. Values that look like ISO date strings will\n\t // be converted to Date objects.\n\t\n\t myData = JSON.parse(text, function (key, value) {\n\t var a;\n\t if (typeof value === 'string') {\n\t a =\n\t/^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}(?:\\.\\d*)?)Z$/.exec(value);\n\t if (a) {\n\t return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],\n\t +a[5], +a[6]));\n\t }\n\t }\n\t return value;\n\t });\n\t\n\t myData = JSON.parse('[\"Date(09/09/2001)\"]', function (key, value) {\n\t var d;\n\t if (typeof value === 'string' &&\n\t value.slice(0, 5) === 'Date(' &&\n\t value.slice(-1) === ')') {\n\t d = new Date(value.slice(5, -1));\n\t if (d) {\n\t return d;\n\t }\n\t }\n\t return value;\n\t });\n\t\n\t\n\t This is a reference implementation. You are free to copy, modify, or\n\t redistribute.\n\t*/\n\t\n\t/*jslint evil: true, regexp: true */\n\t\n\t/*members \"\", \"\\b\", \"\\t\", \"\\n\", \"\\f\", \"\\r\", \"\\\"\", JSON, \"\\\\\", apply,\n\t call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,\n\t getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,\n\t lastIndex, length, parse, prototype, push, replace, slice, stringify,\n\t test, toJSON, toString, valueOf\n\t*/\n\t\n\t// Create a JSON object only if one does not already exist. We create the\n\t// methods in a closure to avoid creating global variables.\n\t\n\tvar JSON = {};\n\t\n\t(function () {\n\t 'use strict';\n\t\n\t function f(n) {\n\t // Format integers to have at least two digits.\n\t return n < 10 ? '0' + n : n;\n\t }\n\t\n\t if (typeof Date.prototype.toJSON !== 'function') {\n\t\n\t Date.prototype.toJSON = function (key) {\n\t\n\t return isFinite(this.valueOf()) ? this.getUTCFullYear() + '-' + f(this.getUTCMonth() + 1) + '-' + f(this.getUTCDate()) + 'T' + f(this.getUTCHours()) + ':' + f(this.getUTCMinutes()) + ':' + f(this.getUTCSeconds()) + 'Z' : null;\n\t };\n\t\n\t String.prototype.toJSON = Number.prototype.toJSON = Boolean.prototype.toJSON = function (key) {\n\t return this.valueOf();\n\t };\n\t }\n\t\n\t var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n\t escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n\t gap,\n\t indent,\n\t meta = { // table of character substitutions\n\t '\\b': '\\\\b',\n\t '\\t': '\\\\t',\n\t '\\n': '\\\\n',\n\t '\\f': '\\\\f',\n\t '\\r': '\\\\r',\n\t '\"': '\\\\\"',\n\t '\\\\': '\\\\\\\\'\n\t },\n\t rep;\n\t\n\t function quote(string) {\n\t\n\t // If the string contains no control characters, no quote characters, and no\n\t // backslash characters, then we can safely slap some quotes around it.\n\t // Otherwise we must also replace the offending characters with safe escape\n\t // sequences.\n\t\n\t escapable.lastIndex = 0;\n\t return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n\t var c = meta[a];\n\t return typeof c === 'string' ? c : '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n\t }) + '\"' : '\"' + string + '\"';\n\t }\n\t\n\t function str(key, holder) {\n\t\n\t // Produce a string from holder[key].\n\t\n\t var i,\n\t // The loop counter.\n\t k,\n\t // The member key.\n\t v,\n\t // The member value.\n\t length,\n\t mind = gap,\n\t partial,\n\t value = holder[key];\n\t\n\t // If the value has a toJSON method, call it to obtain a replacement value.\n\t\n\t if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && typeof value.toJSON === 'function') {\n\t value = value.toJSON(key);\n\t }\n\t\n\t // If we were called with a replacer function, then call the replacer to\n\t // obtain a replacement value.\n\t\n\t if (typeof rep === 'function') {\n\t value = rep.call(holder, key, value);\n\t }\n\t\n\t // What happens next depends on the value's type.\n\t\n\t switch (typeof value === 'undefined' ? 'undefined' : _typeof(value)) {\n\t case 'string':\n\t return quote(value);\n\t\n\t case 'number':\n\t\n\t // JSON numbers must be finite. Encode non-finite numbers as null.\n\t\n\t return isFinite(value) ? String(value) : 'null';\n\t\n\t case 'boolean':\n\t case 'null':\n\t\n\t // If the value is a boolean or null, convert it to a string. Note:\n\t // typeof null does not produce 'null'. The case is included here in\n\t // the remote chance that this gets fixed someday.\n\t\n\t return String(value);\n\t\n\t // If the type is 'object', we might be dealing with an object or an array or\n\t // null.\n\t\n\t case 'object':\n\t\n\t // Due to a specification blunder in ECMAScript, typeof null is 'object',\n\t // so watch out for that case.\n\t\n\t if (!value) {\n\t return 'null';\n\t }\n\t\n\t // Make an array to hold the partial results of stringifying this object value.\n\t\n\t gap += indent;\n\t partial = [];\n\t\n\t // Is the value an array?\n\t\n\t if (Object.prototype.toString.apply(value) === '[object Array]') {\n\t\n\t // The value is an array. Stringify every element. Use null as a placeholder\n\t // for non-JSON values.\n\t\n\t length = value.length;\n\t for (i = 0; i < length; i += 1) {\n\t partial[i] = str(i, value) || 'null';\n\t }\n\t\n\t // Join all of the elements together, separated with commas, and wrap them in\n\t // brackets.\n\t\n\t v = partial.length === 0 ? '[]' : gap ? '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']' : '[' + partial.join(',') + ']';\n\t gap = mind;\n\t return v;\n\t }\n\t\n\t // If the replacer is an array, use it to select the members to be stringified.\n\t\n\t if (rep && (typeof rep === 'undefined' ? 'undefined' : _typeof(rep)) === 'object') {\n\t length = rep.length;\n\t for (i = 0; i < length; i += 1) {\n\t if (typeof rep[i] === 'string') {\n\t k = rep[i];\n\t v = str(k, value);\n\t if (v) {\n\t partial.push(quote(k) + (gap ? ': ' : ':') + v);\n\t }\n\t }\n\t }\n\t } else {\n\t\n\t // Otherwise, iterate through all of the keys in the object.\n\t\n\t for (k in value) {\n\t if (Object.prototype.hasOwnProperty.call(value, k)) {\n\t v = str(k, value);\n\t if (v) {\n\t partial.push(quote(k) + (gap ? ': ' : ':') + v);\n\t }\n\t }\n\t }\n\t }\n\t\n\t // Join all of the member texts together, separated with commas,\n\t // and wrap them in braces.\n\t\n\t v = partial.length === 0 ? '{}' : gap ? '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}' : '{' + partial.join(',') + '}';\n\t gap = mind;\n\t return v;\n\t }\n\t }\n\t\n\t // If the JSON object does not yet have a stringify method, give it one.\n\t\n\t if (typeof JSON.stringify !== 'function') {\n\t JSON.stringify = function (value, replacer, space) {\n\t\n\t // The stringify method takes a value and an optional replacer, and an optional\n\t // space parameter, and returns a JSON text. The replacer can be a function\n\t // that can replace values, or an array of strings that will select the keys.\n\t // A default replacer method can be provided. Use of the space parameter can\n\t // produce text that is more easily readable.\n\t\n\t var i;\n\t gap = '';\n\t indent = '';\n\t\n\t // If the space parameter is a number, make an indent string containing that\n\t // many spaces.\n\t\n\t if (typeof space === 'number') {\n\t for (i = 0; i < space; i += 1) {\n\t indent += ' ';\n\t }\n\t\n\t // If the space parameter is a string, it will be used as the indent string.\n\t } else if (typeof space === 'string') {\n\t indent = space;\n\t }\n\t\n\t // If there is a replacer, it must be a function or an array.\n\t // Otherwise, throw an error.\n\t\n\t rep = replacer;\n\t if (replacer && typeof replacer !== 'function' && ((typeof replacer === 'undefined' ? 'undefined' : _typeof(replacer)) !== 'object' || typeof replacer.length !== 'number')) {\n\t throw new Error('JSON.stringify');\n\t }\n\t\n\t // Make a fake root object containing our value under the key of ''.\n\t // Return the result of stringifying the value.\n\t\n\t return str('', { '': value });\n\t };\n\t }\n\t\n\t // If the JSON object does not yet have a parse method, give it one.\n\t\n\t if (typeof JSON.parse !== 'function') {\n\t JSON.parse = function (text, reviver) {\n\t\n\t // The parse method takes a text and an optional reviver function, and returns\n\t // a JavaScript value if the text is a valid JSON text.\n\t\n\t var j;\n\t\n\t function walk(holder, key) {\n\t\n\t // The walk method is used to recursively walk the resulting structure so\n\t // that modifications can be made.\n\t\n\t var k,\n\t v,\n\t value = holder[key];\n\t if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {\n\t for (k in value) {\n\t if (Object.prototype.hasOwnProperty.call(value, k)) {\n\t v = walk(value, k);\n\t if (v !== undefined) {\n\t value[k] = v;\n\t } else {\n\t delete value[k];\n\t }\n\t }\n\t }\n\t }\n\t return reviver.call(holder, key, value);\n\t }\n\t\n\t // Parsing happens in four stages. In the first stage, we replace certain\n\t // Unicode characters with escape sequences. JavaScript handles many characters\n\t // incorrectly, either silently deleting them, or treating them as line endings.\n\t\n\t text = String(text);\n\t cx.lastIndex = 0;\n\t if (cx.test(text)) {\n\t text = text.replace(cx, function (a) {\n\t return '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n\t });\n\t }\n\t\n\t // In the second stage, we run the text against regular expressions that look\n\t // for non-JSON patterns. We are especially concerned with '()' and 'new'\n\t // because they can cause invocation, and '=' because it can cause mutation.\n\t // But just to be safe, we want to reject all unexpected forms.\n\t\n\t // We split the second stage into 4 regexp operations in order to work around\n\t // crippling inefficiencies in IE's and Safari's regexp engines. First we\n\t // replace the JSON backslash pairs with '@' (a non-JSON character). Second, we\n\t // replace all simple value tokens with ']' characters. Third, we delete all\n\t // open brackets that follow a colon or comma or that begin the text. Finally,\n\t // we look to see that the remaining characters are only whitespace or ']' or\n\t // ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.\n\t\n\t if (/^[\\],:{}\\s]*$/.test(text.replace(/\\\\(?:[\"\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@').replace(/\"[^\"\\\\\\n\\r]*\"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g, ']').replace(/(?:^|:|,)(?:\\s*\\[)+/g, ''))) {\n\t\n\t // In the third stage we use the eval function to compile the text into a\n\t // JavaScript structure. The '{' operator is subject to a syntactic ambiguity\n\t // in JavaScript: it can begin a block or an object literal. We wrap the text\n\t // in parens to eliminate the ambiguity.\n\t\n\t j = eval('(' + text + ')');\n\t\n\t // In the optional fourth stage, we recursively walk the new structure, passing\n\t // each name/value pair to a reviver function for possible transformation.\n\t\n\t return typeof reviver === 'function' ? walk({ '': j }, '') : j;\n\t }\n\t\n\t // If the text is not JSON parseable, then a SyntaxError is thrown.\n\t\n\t throw new SyntaxError('JSON.parse');\n\t };\n\t }\n\t})();\n\t\n\tmodule.exports = JSON;\n\n/***/ },\n/* 159 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Module dependencies\n\t */\n\t\n\tvar debug = __webpack_require__(161)('jsonp');\n\t\n\t/**\n\t * Module exports.\n\t */\n\t\n\tmodule.exports = jsonp;\n\t\n\t/**\n\t * Callback index.\n\t */\n\t\n\tvar count = 0;\n\t\n\t/**\n\t * Noop function.\n\t */\n\t\n\tfunction noop() {}\n\t\n\t/**\n\t * JSONP handler\n\t *\n\t * Options:\n\t * - param {String} qs parameter (`callback`)\n\t * - timeout {Number} how long after a timeout error is emitted (`60000`)\n\t *\n\t * @param {String} url\n\t * @param {Object|Function} optional options / callback\n\t * @param {Function} optional callback\n\t */\n\t\n\tfunction jsonp(url, opts, fn) {\n\t if ('function' == typeof opts) {\n\t fn = opts;\n\t opts = {};\n\t }\n\t if (!opts) opts = {};\n\t\n\t var prefix = opts.prefix || '__jp';\n\t var param = opts.param || 'callback';\n\t var timeout = null != opts.timeout ? opts.timeout : 60000;\n\t var enc = encodeURIComponent;\n\t var target = document.getElementsByTagName('script')[0] || document.head;\n\t var script;\n\t var timer;\n\t\n\t // generate a unique id for this request\n\t var id = prefix + count++;\n\t\n\t if (timeout) {\n\t timer = setTimeout(function () {\n\t cleanup();\n\t if (fn) fn(new Error('Timeout'));\n\t }, timeout);\n\t }\n\t\n\t function cleanup() {\n\t script.parentNode.removeChild(script);\n\t window[id] = noop;\n\t }\n\t\n\t window[id] = function (data) {\n\t debug('jsonp got', data);\n\t if (timer) clearTimeout(timer);\n\t cleanup();\n\t if (fn) fn(null, data);\n\t };\n\t\n\t // add qs component\n\t url += (~url.indexOf('?') ? '&' : '?') + param + '=' + enc(id);\n\t url = url.replace('?&', '?');\n\t\n\t debug('jsonp req \"%s\"', url);\n\t\n\t // create script\n\t script = document.createElement('script');\n\t script.src = url;\n\t target.parentNode.insertBefore(script, target);\n\t}\n\n/***/ },\n/* 160 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * Helpers.\n\t */\n\t\n\tvar s = 1000;\n\tvar m = s * 60;\n\tvar h = m * 60;\n\tvar d = h * 24;\n\tvar y = d * 365.25;\n\t\n\t/**\n\t * Parse or format the given `val`.\n\t *\n\t * Options:\n\t *\n\t * - `long` verbose formatting [false]\n\t *\n\t * @param {String|Number} val\n\t * @param {Object} options\n\t * @throws {Error} throw an error if val is not a non-empty string or a number\n\t * @return {String|Number}\n\t * @api public\n\t */\n\t\n\tmodule.exports = function (val, options) {\n\t options = options || {};\n\t var type = typeof val === 'undefined' ? 'undefined' : _typeof(val);\n\t if (type === 'string' && val.length > 0) {\n\t return parse(val);\n\t } else if (type === 'number' && isNaN(val) === false) {\n\t return options.long ? fmtLong(val) : fmtShort(val);\n\t }\n\t throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val));\n\t};\n\t\n\t/**\n\t * Parse the given `str` and return milliseconds.\n\t *\n\t * @param {String} str\n\t * @return {Number}\n\t * @api private\n\t */\n\t\n\tfunction parse(str) {\n\t str = String(str);\n\t if (str.length > 10000) {\n\t return;\n\t }\n\t var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);\n\t if (!match) {\n\t return;\n\t }\n\t var n = parseFloat(match[1]);\n\t var type = (match[2] || 'ms').toLowerCase();\n\t switch (type) {\n\t case 'years':\n\t case 'year':\n\t case 'yrs':\n\t case 'yr':\n\t case 'y':\n\t return n * y;\n\t case 'days':\n\t case 'day':\n\t case 'd':\n\t return n * d;\n\t case 'hours':\n\t case 'hour':\n\t case 'hrs':\n\t case 'hr':\n\t case 'h':\n\t return n * h;\n\t case 'minutes':\n\t case 'minute':\n\t case 'mins':\n\t case 'min':\n\t case 'm':\n\t return n * m;\n\t case 'seconds':\n\t case 'second':\n\t case 'secs':\n\t case 'sec':\n\t case 's':\n\t return n * s;\n\t case 'milliseconds':\n\t case 'millisecond':\n\t case 'msecs':\n\t case 'msec':\n\t case 'ms':\n\t return n;\n\t default:\n\t return undefined;\n\t }\n\t}\n\t\n\t/**\n\t * Short format for `ms`.\n\t *\n\t * @param {Number} ms\n\t * @return {String}\n\t * @api private\n\t */\n\t\n\tfunction fmtShort(ms) {\n\t if (ms >= d) {\n\t return Math.round(ms / d) + 'd';\n\t }\n\t if (ms >= h) {\n\t return Math.round(ms / h) + 'h';\n\t }\n\t if (ms >= m) {\n\t return Math.round(ms / m) + 'm';\n\t }\n\t if (ms >= s) {\n\t return Math.round(ms / s) + 's';\n\t }\n\t return ms + 'ms';\n\t}\n\t\n\t/**\n\t * Long format for `ms`.\n\t *\n\t * @param {Number} ms\n\t * @return {String}\n\t * @api private\n\t */\n\t\n\tfunction fmtLong(ms) {\n\t return plural(ms, d, 'day') || plural(ms, h, 'hour') || plural(ms, m, 'minute') || plural(ms, s, 'second') || ms + ' ms';\n\t}\n\t\n\t/**\n\t * Pluralization helper.\n\t */\n\t\n\tfunction plural(ms, n, name) {\n\t if (ms < n) {\n\t return;\n\t }\n\t if (ms < n * 1.5) {\n\t return Math.floor(ms / n) + ' ' + name;\n\t }\n\t return Math.ceil(ms / n) + ' ' + name + 's';\n\t}\n\n/***/ },\n/* 161 */\n[329, 162],\n/* 162 */\n[330, 160],\n/* 163 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar stringify = __webpack_require__(165);\n\tvar parse = __webpack_require__(164);\n\tvar formats = __webpack_require__(93);\n\t\n\tmodule.exports = {\n\t formats: formats,\n\t parse: parse,\n\t stringify: stringify\n\t};\n\n/***/ },\n/* 164 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar utils = __webpack_require__(94);\n\t\n\tvar has = Object.prototype.hasOwnProperty;\n\t\n\tvar defaults = {\n\t allowDots: false,\n\t allowPrototypes: false,\n\t arrayLimit: 20,\n\t decoder: utils.decode,\n\t delimiter: '&',\n\t depth: 5,\n\t parameterLimit: 1000,\n\t plainObjects: false,\n\t strictNullHandling: false\n\t};\n\t\n\tvar parseValues = function parseValues(str, options) {\n\t var obj = {};\n\t var parts = str.split(options.delimiter, options.parameterLimit === Infinity ? undefined : options.parameterLimit);\n\t\n\t for (var i = 0; i < parts.length; ++i) {\n\t var part = parts[i];\n\t var pos = part.indexOf(']=') === -1 ? part.indexOf('=') : part.indexOf(']=') + 1;\n\t\n\t var key, val;\n\t if (pos === -1) {\n\t key = options.decoder(part);\n\t val = options.strictNullHandling ? null : '';\n\t } else {\n\t key = options.decoder(part.slice(0, pos));\n\t val = options.decoder(part.slice(pos + 1));\n\t }\n\t if (has.call(obj, key)) {\n\t obj[key] = [].concat(obj[key]).concat(val);\n\t } else {\n\t obj[key] = val;\n\t }\n\t }\n\t\n\t return obj;\n\t};\n\t\n\tvar parseObject = function parseObject(chain, val, options) {\n\t if (!chain.length) {\n\t return val;\n\t }\n\t\n\t var root = chain.shift();\n\t\n\t var obj;\n\t if (root === '[]') {\n\t obj = [];\n\t obj = obj.concat(parseObject(chain, val, options));\n\t } else {\n\t obj = options.plainObjects ? Object.create(null) : {};\n\t var cleanRoot = root[0] === '[' && root[root.length - 1] === ']' ? root.slice(1, root.length - 1) : root;\n\t var index = parseInt(cleanRoot, 10);\n\t if (!isNaN(index) && root !== cleanRoot && String(index) === cleanRoot && index >= 0 && options.parseArrays && index <= options.arrayLimit) {\n\t obj = [];\n\t obj[index] = parseObject(chain, val, options);\n\t } else {\n\t obj[cleanRoot] = parseObject(chain, val, options);\n\t }\n\t }\n\t\n\t return obj;\n\t};\n\t\n\tvar parseKeys = function parseKeys(givenKey, val, options) {\n\t if (!givenKey) {\n\t return;\n\t }\n\t\n\t // Transform dot notation to bracket notation\n\t var key = options.allowDots ? givenKey.replace(/\\.([^\\.\\[]+)/g, '[$1]') : givenKey;\n\t\n\t // The regex chunks\n\t\n\t var parent = /^([^\\[\\]]*)/;\n\t var child = /(\\[[^\\[\\]]*\\])/g;\n\t\n\t // Get the parent\n\t\n\t var segment = parent.exec(key);\n\t\n\t // Stash the parent if it exists\n\t\n\t var keys = [];\n\t if (segment[1]) {\n\t // If we aren't using plain objects, optionally prefix keys\n\t // that would overwrite object prototype properties\n\t if (!options.plainObjects && has.call(Object.prototype, segment[1])) {\n\t if (!options.allowPrototypes) {\n\t return;\n\t }\n\t }\n\t\n\t keys.push(segment[1]);\n\t }\n\t\n\t // Loop through children appending to the array until we hit depth\n\t\n\t var i = 0;\n\t while ((segment = child.exec(key)) !== null && i < options.depth) {\n\t i += 1;\n\t if (!options.plainObjects && has.call(Object.prototype, segment[1].replace(/\\[|\\]/g, ''))) {\n\t if (!options.allowPrototypes) {\n\t continue;\n\t }\n\t }\n\t keys.push(segment[1]);\n\t }\n\t\n\t // If there's a remainder, just add whatever is left\n\t\n\t if (segment) {\n\t keys.push('[' + key.slice(segment.index) + ']');\n\t }\n\t\n\t return parseObject(keys, val, options);\n\t};\n\t\n\tmodule.exports = function (str, opts) {\n\t var options = opts || {};\n\t\n\t if (options.decoder !== null && options.decoder !== undefined && typeof options.decoder !== 'function') {\n\t throw new TypeError('Decoder has to be a function.');\n\t }\n\t\n\t options.delimiter = typeof options.delimiter === 'string' || utils.isRegExp(options.delimiter) ? options.delimiter : defaults.delimiter;\n\t options.depth = typeof options.depth === 'number' ? options.depth : defaults.depth;\n\t options.arrayLimit = typeof options.arrayLimit === 'number' ? options.arrayLimit : defaults.arrayLimit;\n\t options.parseArrays = options.parseArrays !== false;\n\t options.decoder = typeof options.decoder === 'function' ? options.decoder : defaults.decoder;\n\t options.allowDots = typeof options.allowDots === 'boolean' ? options.allowDots : defaults.allowDots;\n\t options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : defaults.plainObjects;\n\t options.allowPrototypes = typeof options.allowPrototypes === 'boolean' ? options.allowPrototypes : defaults.allowPrototypes;\n\t options.parameterLimit = typeof options.parameterLimit === 'number' ? options.parameterLimit : defaults.parameterLimit;\n\t options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;\n\t\n\t if (str === '' || str === null || typeof str === 'undefined') {\n\t return options.plainObjects ? Object.create(null) : {};\n\t }\n\t\n\t var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n\t var obj = options.plainObjects ? Object.create(null) : {};\n\t\n\t // Iterate over the keys and setup the new object\n\t\n\t var keys = Object.keys(tempObj);\n\t for (var i = 0; i < keys.length; ++i) {\n\t var key = keys[i];\n\t var newObj = parseKeys(key, tempObj[key], options);\n\t obj = utils.merge(obj, newObj, options);\n\t }\n\t\n\t return utils.compact(obj);\n\t};\n\n/***/ },\n/* 165 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar utils = __webpack_require__(94);\n\tvar formats = __webpack_require__(93);\n\t\n\tvar arrayPrefixGenerators = {\n\t brackets: function brackets(prefix) {\n\t return prefix + '[]';\n\t },\n\t indices: function indices(prefix, key) {\n\t return prefix + '[' + key + ']';\n\t },\n\t repeat: function repeat(prefix) {\n\t return prefix;\n\t }\n\t};\n\t\n\tvar toISO = Date.prototype.toISOString;\n\t\n\tvar defaults = {\n\t delimiter: '&',\n\t encode: true,\n\t encoder: utils.encode,\n\t serializeDate: function serializeDate(date) {\n\t return toISO.call(date);\n\t },\n\t skipNulls: false,\n\t strictNullHandling: false\n\t};\n\t\n\tvar stringify = function stringify(object, prefix, generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter) {\n\t var obj = object;\n\t if (typeof filter === 'function') {\n\t obj = filter(prefix, obj);\n\t } else if (obj instanceof Date) {\n\t obj = serializeDate(obj);\n\t } else if (obj === null) {\n\t if (strictNullHandling) {\n\t return encoder ? encoder(prefix) : prefix;\n\t }\n\t\n\t obj = '';\n\t }\n\t\n\t if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {\n\t if (encoder) {\n\t return [formatter(encoder(prefix)) + '=' + formatter(encoder(obj))];\n\t }\n\t return [formatter(prefix) + '=' + formatter(String(obj))];\n\t }\n\t\n\t var values = [];\n\t\n\t if (typeof obj === 'undefined') {\n\t return values;\n\t }\n\t\n\t var objKeys;\n\t if (Array.isArray(filter)) {\n\t objKeys = filter;\n\t } else {\n\t var keys = Object.keys(obj);\n\t objKeys = sort ? keys.sort(sort) : keys;\n\t }\n\t\n\t for (var i = 0; i < objKeys.length; ++i) {\n\t var key = objKeys[i];\n\t\n\t if (skipNulls && obj[key] === null) {\n\t continue;\n\t }\n\t\n\t if (Array.isArray(obj)) {\n\t values = values.concat(stringify(obj[key], generateArrayPrefix(prefix, key), generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter));\n\t } else {\n\t values = values.concat(stringify(obj[key], prefix + (allowDots ? '.' + key : '[' + key + ']'), generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter));\n\t }\n\t }\n\t\n\t return values;\n\t};\n\t\n\tmodule.exports = function (object, opts) {\n\t var obj = object;\n\t var options = opts || {};\n\t var delimiter = typeof options.delimiter === 'undefined' ? defaults.delimiter : options.delimiter;\n\t var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;\n\t var skipNulls = typeof options.skipNulls === 'boolean' ? options.skipNulls : defaults.skipNulls;\n\t var encode = typeof options.encode === 'boolean' ? options.encode : defaults.encode;\n\t var encoder = encode ? typeof options.encoder === 'function' ? options.encoder : defaults.encoder : null;\n\t var sort = typeof options.sort === 'function' ? options.sort : null;\n\t var allowDots = typeof options.allowDots === 'undefined' ? false : options.allowDots;\n\t var serializeDate = typeof options.serializeDate === 'function' ? options.serializeDate : defaults.serializeDate;\n\t if (typeof options.format === 'undefined') {\n\t options.format = formats.default;\n\t } else if (!Object.prototype.hasOwnProperty.call(formats.formatters, options.format)) {\n\t throw new TypeError('Unknown format option provided.');\n\t }\n\t var formatter = formats.formatters[options.format];\n\t var objKeys;\n\t var filter;\n\t\n\t if (options.encoder !== null && options.encoder !== undefined && typeof options.encoder !== 'function') {\n\t throw new TypeError('Encoder has to be a function.');\n\t }\n\t\n\t if (typeof options.filter === 'function') {\n\t filter = options.filter;\n\t obj = filter('', obj);\n\t } else if (Array.isArray(options.filter)) {\n\t filter = options.filter;\n\t objKeys = filter;\n\t }\n\t\n\t var keys = [];\n\t\n\t if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object' || obj === null) {\n\t return '';\n\t }\n\t\n\t var arrayFormat;\n\t if (options.arrayFormat in arrayPrefixGenerators) {\n\t arrayFormat = options.arrayFormat;\n\t } else if ('indices' in options) {\n\t arrayFormat = options.indices ? 'indices' : 'repeat';\n\t } else {\n\t arrayFormat = 'indices';\n\t }\n\t\n\t var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n\t\n\t if (!objKeys) {\n\t objKeys = Object.keys(obj);\n\t }\n\t\n\t if (sort) {\n\t objKeys.sort(sort);\n\t }\n\t\n\t for (var i = 0; i < objKeys.length; ++i) {\n\t var key = objKeys[i];\n\t\n\t if (skipNulls && obj[key] === null) {\n\t continue;\n\t }\n\t\n\t keys = keys.concat(stringify(obj[key], key, generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter));\n\t }\n\t\n\t return keys.join(delimiter);\n\t};\n\n/***/ },\n/* 166 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/*!\n\t * Reqwest! A general purpose XHR connection manager\n\t * license MIT (c) Dustin Diaz 2015\n\t * https://github.com/ded/reqwest\n\t */\n\t\n\t!function (name, context, definition) {\n\t if (typeof module != 'undefined' && module.exports) module.exports = definition();else if (true) !(__WEBPACK_AMD_DEFINE_FACTORY__ = (definition), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else context[name] = definition();\n\t}('reqwest', undefined, function () {\n\t\n\t var context = this;\n\t\n\t if ('window' in context) {\n\t var doc = document,\n\t byTag = 'getElementsByTagName',\n\t head = doc[byTag]('head')[0];\n\t } else {\n\t var XHR2;\n\t try {\n\t XHR2 = __webpack_require__(328);\n\t } catch (ex) {\n\t throw new Error('Peer dependency `xhr2` required! Please npm install xhr2');\n\t }\n\t }\n\t\n\t var httpsRe = /^http/,\n\t protocolRe = /(^\\w+):\\/\\//,\n\t twoHundo = /^(20\\d|1223)$/ //http://stackoverflow.com/questions/10046972/msie-returns-status-code-of-1223-for-ajax-request\n\t ,\n\t readyState = 'readyState',\n\t contentType = 'Content-Type',\n\t requestedWith = 'X-Requested-With',\n\t uniqid = 0,\n\t callbackPrefix = 'reqwest_' + +new Date(),\n\t lastValue // data stored by the most recent JSONP callback\n\t ,\n\t xmlHttpRequest = 'XMLHttpRequest',\n\t xDomainRequest = 'XDomainRequest',\n\t noop = function noop() {},\n\t isArray = typeof Array.isArray == 'function' ? Array.isArray : function (a) {\n\t return a instanceof Array;\n\t },\n\t defaultHeaders = {\n\t 'contentType': 'application/x-www-form-urlencoded',\n\t 'requestedWith': xmlHttpRequest,\n\t 'accept': {\n\t '*': 'text/javascript, text/html, application/xml, text/xml, */*',\n\t 'xml': 'application/xml, text/xml',\n\t 'html': 'text/html',\n\t 'text': 'text/plain',\n\t 'json': 'application/json, text/javascript',\n\t 'js': 'application/javascript, text/javascript'\n\t }\n\t },\n\t xhr = function xhr(o) {\n\t // is it x-domain\n\t if (o['crossOrigin'] === true) {\n\t var xhr = context[xmlHttpRequest] ? new XMLHttpRequest() : null;\n\t if (xhr && 'withCredentials' in xhr) {\n\t return xhr;\n\t } else if (context[xDomainRequest]) {\n\t return new XDomainRequest();\n\t } else {\n\t throw new Error('Browser does not support cross-origin requests');\n\t }\n\t } else if (context[xmlHttpRequest]) {\n\t return new XMLHttpRequest();\n\t } else if (XHR2) {\n\t return new XHR2();\n\t } else {\n\t return new ActiveXObject('Microsoft.XMLHTTP');\n\t }\n\t },\n\t globalSetupOptions = {\n\t dataFilter: function dataFilter(data) {\n\t return data;\n\t }\n\t };\n\t\n\t function succeed(r) {\n\t var protocol = protocolRe.exec(r.url);\n\t protocol = protocol && protocol[1] || context.location.protocol;\n\t return httpsRe.test(protocol) ? twoHundo.test(r.request.status) : !!r.request.response;\n\t }\n\t\n\t function handleReadyState(r, success, error) {\n\t return function () {\n\t // use _aborted to mitigate against IE err c00c023f\n\t // (can't read props on aborted request objects)\n\t if (r._aborted) return error(r.request);\n\t if (r._timedOut) return error(r.request, 'Request is aborted: timeout');\n\t if (r.request && r.request[readyState] == 4) {\n\t r.request.onreadystatechange = noop;\n\t if (succeed(r)) success(r.request);else error(r.request);\n\t }\n\t };\n\t }\n\t\n\t function setHeaders(http, o) {\n\t var headers = o['headers'] || {},\n\t h;\n\t\n\t headers['Accept'] = headers['Accept'] || defaultHeaders['accept'][o['type']] || defaultHeaders['accept']['*'];\n\t\n\t var isAFormData = typeof FormData !== 'undefined' && o['data'] instanceof FormData;\n\t // breaks cross-origin requests with legacy browsers\n\t if (!o['crossOrigin'] && !headers[requestedWith]) headers[requestedWith] = defaultHeaders['requestedWith'];\n\t if (!headers[contentType] && !isAFormData) headers[contentType] = o['contentType'] || defaultHeaders['contentType'];\n\t for (h in headers) {\n\t headers.hasOwnProperty(h) && 'setRequestHeader' in http && http.setRequestHeader(h, headers[h]);\n\t }\n\t }\n\t\n\t function setCredentials(http, o) {\n\t if (typeof o['withCredentials'] !== 'undefined' && typeof http.withCredentials !== 'undefined') {\n\t http.withCredentials = !!o['withCredentials'];\n\t }\n\t }\n\t\n\t function generalCallback(data) {\n\t lastValue = data;\n\t }\n\t\n\t function urlappend(url, s) {\n\t return url + (/\\?/.test(url) ? '&' : '?') + s;\n\t }\n\t\n\t function handleJsonp(o, fn, err, url) {\n\t var reqId = uniqid++,\n\t cbkey = o['jsonpCallback'] || 'callback' // the 'callback' key\n\t ,\n\t cbval = o['jsonpCallbackName'] || reqwest.getcallbackPrefix(reqId),\n\t cbreg = new RegExp('((^|\\\\?|&)' + cbkey + ')=([^&]+)'),\n\t match = url.match(cbreg),\n\t script = doc.createElement('script'),\n\t loaded = 0,\n\t isIE10 = navigator.userAgent.indexOf('MSIE 10.0') !== -1;\n\t\n\t if (match) {\n\t if (match[3] === '?') {\n\t url = url.replace(cbreg, '$1=' + cbval); // wildcard callback func name\n\t } else {\n\t cbval = match[3]; // provided callback func name\n\t }\n\t } else {\n\t url = urlappend(url, cbkey + '=' + cbval); // no callback details, add 'em\n\t }\n\t\n\t context[cbval] = generalCallback;\n\t\n\t script.type = 'text/javascript';\n\t script.src = url;\n\t script.async = true;\n\t if (typeof script.onreadystatechange !== 'undefined' && !isIE10) {\n\t // need this for IE due to out-of-order onreadystatechange(), binding script\n\t // execution to an event listener gives us control over when the script\n\t // is executed. See http://jaubourg.net/2010/07/loading-script-as-onclick-handler-of.html\n\t script.htmlFor = script.id = '_reqwest_' + reqId;\n\t }\n\t\n\t script.onload = script.onreadystatechange = function () {\n\t if (script[readyState] && script[readyState] !== 'complete' && script[readyState] !== 'loaded' || loaded) {\n\t return false;\n\t }\n\t script.onload = script.onreadystatechange = null;\n\t script.onclick && script.onclick();\n\t // Call the user callback with the last value stored and clean up values and scripts.\n\t fn(lastValue);\n\t lastValue = undefined;\n\t head.removeChild(script);\n\t loaded = 1;\n\t };\n\t\n\t // Add the script to the DOM head\n\t head.appendChild(script);\n\t\n\t // Enable JSONP timeout\n\t return {\n\t abort: function abort() {\n\t script.onload = script.onreadystatechange = null;\n\t err({}, 'Request is aborted: timeout', {});\n\t lastValue = undefined;\n\t head.removeChild(script);\n\t loaded = 1;\n\t }\n\t };\n\t }\n\t\n\t function getRequest(fn, err) {\n\t var o = this.o,\n\t method = (o['method'] || 'GET').toUpperCase(),\n\t url = typeof o === 'string' ? o : o['url']\n\t // convert non-string objects to query-string form unless o['processData'] is false\n\t ,\n\t data = o['processData'] !== false && o['data'] && typeof o['data'] !== 'string' ? reqwest.toQueryString(o['data']) : o['data'] || null,\n\t http,\n\t sendWait = false;\n\t\n\t // if we're working on a GET request and we have data then we should append\n\t // query string to end of URL and not post data\n\t if ((o['type'] == 'jsonp' || method == 'GET') && data) {\n\t url = urlappend(url, data);\n\t data = null;\n\t }\n\t\n\t if (o['type'] == 'jsonp') return handleJsonp(o, fn, err, url);\n\t\n\t // get the xhr from the factory if passed\n\t // if the factory returns null, fall-back to ours\n\t http = o.xhr && o.xhr(o) || xhr(o);\n\t\n\t http.open(method, url, o['async'] === false ? false : true);\n\t setHeaders(http, o);\n\t setCredentials(http, o);\n\t if (context[xDomainRequest] && http instanceof context[xDomainRequest]) {\n\t http.onload = fn;\n\t http.onerror = err;\n\t // NOTE: see\n\t // http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/30ef3add-767c-4436-b8a9-f1ca19b4812e\n\t http.onprogress = function () {};\n\t sendWait = true;\n\t } else {\n\t http.onreadystatechange = handleReadyState(this, fn, err);\n\t }\n\t o['before'] && o['before'](http);\n\t if (sendWait) {\n\t setTimeout(function () {\n\t http.send(data);\n\t }, 200);\n\t } else {\n\t http.send(data);\n\t }\n\t return http;\n\t }\n\t\n\t function Reqwest(o, fn) {\n\t this.o = o;\n\t this.fn = fn;\n\t\n\t init.apply(this, arguments);\n\t }\n\t\n\t function setType(header) {\n\t // json, javascript, text/plain, text/html, xml\n\t if (header === null) return undefined; //In case of no content-type.\n\t if (header.match('json')) return 'json';\n\t if (header.match('javascript')) return 'js';\n\t if (header.match('text')) return 'html';\n\t if (header.match('xml')) return 'xml';\n\t }\n\t\n\t function init(o, fn) {\n\t\n\t this.url = typeof o == 'string' ? o : o['url'];\n\t this.timeout = null;\n\t\n\t // whether request has been fulfilled for purpose\n\t // of tracking the Promises\n\t this._fulfilled = false;\n\t // success handlers\n\t this._successHandler = function () {};\n\t this._fulfillmentHandlers = [];\n\t // error handlers\n\t this._errorHandlers = [];\n\t // complete (both success and fail) handlers\n\t this._completeHandlers = [];\n\t this._erred = false;\n\t this._responseArgs = {};\n\t\n\t var self = this;\n\t\n\t fn = fn || function () {};\n\t\n\t if (o['timeout']) {\n\t this.timeout = setTimeout(function () {\n\t timedOut();\n\t }, o['timeout']);\n\t }\n\t\n\t if (o['success']) {\n\t this._successHandler = function () {\n\t o['success'].apply(o, arguments);\n\t };\n\t }\n\t\n\t if (o['error']) {\n\t this._errorHandlers.push(function () {\n\t o['error'].apply(o, arguments);\n\t });\n\t }\n\t\n\t if (o['complete']) {\n\t this._completeHandlers.push(function () {\n\t o['complete'].apply(o, arguments);\n\t });\n\t }\n\t\n\t function complete(resp) {\n\t o['timeout'] && clearTimeout(self.timeout);\n\t self.timeout = null;\n\t while (self._completeHandlers.length > 0) {\n\t self._completeHandlers.shift()(resp);\n\t }\n\t }\n\t\n\t function success(resp) {\n\t var type = o['type'] || resp && setType(resp.getResponseHeader('Content-Type')); // resp can be undefined in IE\n\t resp = type !== 'jsonp' ? self.request : resp;\n\t // use global data filter on response text\n\t var filteredResponse = globalSetupOptions.dataFilter(resp.responseText, type),\n\t r = filteredResponse;\n\t try {\n\t resp.responseText = r;\n\t } catch (e) {\n\t // can't assign this in IE<=8, just ignore\n\t }\n\t if (r) {\n\t switch (type) {\n\t case 'json':\n\t try {\n\t resp = context.JSON ? context.JSON.parse(r) : eval('(' + r + ')');\n\t } catch (err) {\n\t return error(resp, 'Could not parse JSON in response', err);\n\t }\n\t break;\n\t case 'js':\n\t resp = eval(r);\n\t break;\n\t case 'html':\n\t resp = r;\n\t break;\n\t case 'xml':\n\t resp = resp.responseXML && resp.responseXML.parseError // IE trololo\n\t && resp.responseXML.parseError.errorCode && resp.responseXML.parseError.reason ? null : resp.responseXML;\n\t break;\n\t }\n\t }\n\t\n\t self._responseArgs.resp = resp;\n\t self._fulfilled = true;\n\t fn(resp);\n\t self._successHandler(resp);\n\t while (self._fulfillmentHandlers.length > 0) {\n\t resp = self._fulfillmentHandlers.shift()(resp);\n\t }\n\t\n\t complete(resp);\n\t }\n\t\n\t function timedOut() {\n\t self._timedOut = true;\n\t self.request.abort();\n\t }\n\t\n\t function error(resp, msg, t) {\n\t resp = self.request;\n\t self._responseArgs.resp = resp;\n\t self._responseArgs.msg = msg;\n\t self._responseArgs.t = t;\n\t self._erred = true;\n\t while (self._errorHandlers.length > 0) {\n\t self._errorHandlers.shift()(resp, msg, t);\n\t }\n\t complete(resp);\n\t }\n\t\n\t this.request = getRequest.call(this, success, error);\n\t }\n\t\n\t Reqwest.prototype = {\n\t abort: function abort() {\n\t this._aborted = true;\n\t this.request.abort();\n\t },\n\t\n\t retry: function retry() {\n\t init.call(this, this.o, this.fn);\n\t }\n\t\n\t /**\n\t * Small deviation from the Promises A CommonJs specification\n\t * http://wiki.commonjs.org/wiki/Promises/A\n\t */\n\t\n\t /**\n\t * `then` will execute upon successful requests\n\t */\n\t , then: function then(success, fail) {\n\t success = success || function () {};\n\t fail = fail || function () {};\n\t if (this._fulfilled) {\n\t this._responseArgs.resp = success(this._responseArgs.resp);\n\t } else if (this._erred) {\n\t fail(this._responseArgs.resp, this._responseArgs.msg, this._responseArgs.t);\n\t } else {\n\t this._fulfillmentHandlers.push(success);\n\t this._errorHandlers.push(fail);\n\t }\n\t return this;\n\t }\n\t\n\t /**\n\t * `always` will execute whether the request succeeds or fails\n\t */\n\t , always: function always(fn) {\n\t if (this._fulfilled || this._erred) {\n\t fn(this._responseArgs.resp);\n\t } else {\n\t this._completeHandlers.push(fn);\n\t }\n\t return this;\n\t }\n\t\n\t /**\n\t * `fail` will execute when the request fails\n\t */\n\t , fail: function fail(fn) {\n\t if (this._erred) {\n\t fn(this._responseArgs.resp, this._responseArgs.msg, this._responseArgs.t);\n\t } else {\n\t this._errorHandlers.push(fn);\n\t }\n\t return this;\n\t },\n\t 'catch': function _catch(fn) {\n\t return this.fail(fn);\n\t }\n\t };\n\t\n\t function reqwest(o, fn) {\n\t return new Reqwest(o, fn);\n\t }\n\t\n\t // normalize newline variants according to spec -> CRLF\n\t function normalize(s) {\n\t return s ? s.replace(/\\r?\\n/g, '\\r\\n') : '';\n\t }\n\t\n\t function serial(el, cb) {\n\t var n = el.name,\n\t t = el.tagName.toLowerCase(),\n\t optCb = function optCb(o) {\n\t // IE gives value=\"\" even where there is no value attribute\n\t // 'specified' ref: http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-862529273\n\t if (o && !o['disabled']) cb(n, normalize(o['attributes']['value'] && o['attributes']['value']['specified'] ? o['value'] : o['text']));\n\t },\n\t ch,\n\t ra,\n\t val,\n\t i;\n\t\n\t // don't serialize elements that are disabled or without a name\n\t if (el.disabled || !n) return;\n\t\n\t switch (t) {\n\t case 'input':\n\t if (!/reset|button|image|file/i.test(el.type)) {\n\t ch = /checkbox/i.test(el.type);\n\t ra = /radio/i.test(el.type);\n\t val = el.value\n\t // WebKit gives us \"\" instead of \"on\" if a checkbox has no value, so correct it here\n\t ;(!(ch || ra) || el.checked) && cb(n, normalize(ch && val === '' ? 'on' : val));\n\t }\n\t break;\n\t case 'textarea':\n\t cb(n, normalize(el.value));\n\t break;\n\t case 'select':\n\t if (el.type.toLowerCase() === 'select-one') {\n\t optCb(el.selectedIndex >= 0 ? el.options[el.selectedIndex] : null);\n\t } else {\n\t for (i = 0; el.length && i < el.length; i++) {\n\t el.options[i].selected && optCb(el.options[i]);\n\t }\n\t }\n\t break;\n\t }\n\t }\n\t\n\t // collect up all form elements found from the passed argument elements all\n\t // the way down to child elements; pass a '<form>' or form fields.\n\t // called with 'this'=callback to use for serial() on each element\n\t function eachFormElement() {\n\t var cb = this,\n\t e,\n\t i,\n\t serializeSubtags = function serializeSubtags(e, tags) {\n\t var i, j, fa;\n\t for (i = 0; i < tags.length; i++) {\n\t fa = e[byTag](tags[i]);\n\t for (j = 0; j < fa.length; j++) {\n\t serial(fa[j], cb);\n\t }\n\t }\n\t };\n\t\n\t for (i = 0; i < arguments.length; i++) {\n\t e = arguments[i];\n\t if (/input|select|textarea/i.test(e.tagName)) serial(e, cb);\n\t serializeSubtags(e, ['input', 'select', 'textarea']);\n\t }\n\t }\n\t\n\t // standard query string style serialization\n\t function serializeQueryString() {\n\t return reqwest.toQueryString(reqwest.serializeArray.apply(null, arguments));\n\t }\n\t\n\t // { 'name': 'value', ... } style serialization\n\t function serializeHash() {\n\t var hash = {};\n\t eachFormElement.apply(function (name, value) {\n\t if (name in hash) {\n\t hash[name] && !isArray(hash[name]) && (hash[name] = [hash[name]]);\n\t hash[name].push(value);\n\t } else hash[name] = value;\n\t }, arguments);\n\t return hash;\n\t }\n\t\n\t // [ { name: 'name', value: 'value' }, ... ] style serialization\n\t reqwest.serializeArray = function () {\n\t var arr = [];\n\t eachFormElement.apply(function (name, value) {\n\t arr.push({ name: name, value: value });\n\t }, arguments);\n\t return arr;\n\t };\n\t\n\t reqwest.serialize = function () {\n\t if (arguments.length === 0) return '';\n\t var opt,\n\t fn,\n\t args = Array.prototype.slice.call(arguments, 0);\n\t\n\t opt = args.pop();\n\t opt && opt.nodeType && args.push(opt) && (opt = null);\n\t opt && (opt = opt.type);\n\t\n\t if (opt == 'map') fn = serializeHash;else if (opt == 'array') fn = reqwest.serializeArray;else fn = serializeQueryString;\n\t\n\t return fn.apply(null, args);\n\t };\n\t\n\t reqwest.toQueryString = function (o, trad) {\n\t var prefix,\n\t i,\n\t traditional = trad || false,\n\t s = [],\n\t enc = encodeURIComponent,\n\t add = function add(key, value) {\n\t // If value is a function, invoke it and return its value\n\t value = 'function' === typeof value ? value() : value == null ? '' : value;\n\t s[s.length] = enc(key) + '=' + enc(value);\n\t };\n\t // If an array was passed in, assume that it is an array of form elements.\n\t if (isArray(o)) {\n\t for (i = 0; o && i < o.length; i++) {\n\t add(o[i]['name'], o[i]['value']);\n\t }\n\t } else {\n\t // If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t // did it), otherwise encode params recursively.\n\t for (prefix in o) {\n\t if (o.hasOwnProperty(prefix)) buildParams(prefix, o[prefix], traditional, add);\n\t }\n\t }\n\t\n\t // spaces should be + according to spec\n\t return s.join('&').replace(/%20/g, '+');\n\t };\n\t\n\t function buildParams(prefix, obj, traditional, add) {\n\t var name,\n\t i,\n\t v,\n\t rbracket = /\\[\\]$/;\n\t\n\t if (isArray(obj)) {\n\t // Serialize array item.\n\t for (i = 0; obj && i < obj.length; i++) {\n\t v = obj[i];\n\t if (traditional || rbracket.test(prefix)) {\n\t // Treat each array item as a scalar.\n\t add(prefix, v);\n\t } else {\n\t buildParams(prefix + '[' + ((typeof v === 'undefined' ? 'undefined' : _typeof(v)) === 'object' ? i : '') + ']', v, traditional, add);\n\t }\n\t }\n\t } else if (obj && obj.toString() === '[object Object]') {\n\t // Serialize object item.\n\t for (name in obj) {\n\t buildParams(prefix + '[' + name + ']', obj[name], traditional, add);\n\t }\n\t } else {\n\t // Serialize scalar item.\n\t add(prefix, obj);\n\t }\n\t }\n\t\n\t reqwest.getcallbackPrefix = function () {\n\t return callbackPrefix;\n\t };\n\t\n\t // jQuery and Zepto compatibility, differences can be remapped here so you can call\n\t // .ajax.compat(options, callback)\n\t reqwest.compat = function (o, fn) {\n\t if (o) {\n\t o['type'] && (o['method'] = o['type']) && delete o['type'];\n\t o['dataType'] && (o['type'] = o['dataType']);\n\t o['jsonpCallback'] && (o['jsonpCallbackName'] = o['jsonpCallback']) && delete o['jsonpCallback'];\n\t o['jsonp'] && (o['jsonpCallback'] = o['jsonp']);\n\t }\n\t return new Reqwest(o, fn);\n\t };\n\t\n\t reqwest.ajaxSetup = function (options) {\n\t options = options || {};\n\t for (var k in options) {\n\t globalSetupOptions[k] = options[k];\n\t }\n\t };\n\t\n\t return reqwest;\n\t});\n\n/***/ },\n/* 167 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tvar WinChan = function () {\n\t var RELAY_FRAME_NAME = \"__winchan_relay_frame\";\n\t var CLOSE_CMD = \"die\";\n\t\n\t // a portable addListener implementation\n\t function addListener(w, event, cb) {\n\t if (w.attachEvent) w.attachEvent('on' + event, cb);else if (w.addEventListener) w.addEventListener(event, cb, false);\n\t }\n\t\n\t // a portable removeListener implementation\n\t function removeListener(w, event, cb) {\n\t if (w.detachEvent) w.detachEvent('on' + event, cb);else if (w.removeEventListener) w.removeEventListener(event, cb, false);\n\t }\n\t\n\t // checking for IE8 or above\n\t function isInternetExplorer() {\n\t if (typeof navigator === 'undefined') {\n\t return false;\n\t }\n\t\n\t var rv = -1; // Return value assumes failure.\n\t var ua = navigator.userAgent;\n\t if (navigator.appName === 'Microsoft Internet Explorer') {\n\t var re = new RegExp(\"MSIE ([0-9]{1,}[\\.0-9]{0,})\");\n\t if (re.exec(ua) != null) rv = parseFloat(RegExp.$1);\n\t }\n\t // IE > 11\n\t else if (ua.indexOf(\"Trident\") > -1) {\n\t var re = new RegExp(\"rv:([0-9]{2,2}[\\.0-9]{0,})\");\n\t if (re.exec(ua) !== null) {\n\t rv = parseFloat(RegExp.$1);\n\t }\n\t }\n\t\n\t return rv >= 8;\n\t }\n\t\n\t // checking Mobile Firefox (Fennec)\n\t function isFennec() {\n\t try {\n\t // We must check for both XUL and Java versions of Fennec. Both have\n\t // distinct UA strings.\n\t var userAgent = navigator.userAgent;\n\t return userAgent.indexOf('Fennec/') != -1 || // XUL\n\t userAgent.indexOf('Firefox/') != -1 && userAgent.indexOf('Android') != -1; // Java\n\t } catch (e) {}\n\t return false;\n\t }\n\t\n\t // feature checking to see if this platform is supported at all\n\t function isSupported() {\n\t return typeof window !== 'undefined' && window.JSON && window.JSON.stringify && window.JSON.parse && window.postMessage;\n\t }\n\t\n\t // given a URL, extract the origin. Taken from: https://github.com/firebase/firebase-simple-login/blob/d2cb95b9f812d8488bdbfba51c3a7c153ba1a074/js/src/simple-login/transports/WinChan.js#L25-L30\n\t function extractOrigin(url) {\n\t if (!/^https?:\\/\\//.test(url)) url = window.location.href;\n\t var m = /^(https?:\\/\\/[\\-_a-zA-Z\\.0-9:]+)/.exec(url);\n\t if (m) return m[1];\n\t return url;\n\t }\n\t\n\t // find the relay iframe in the opener\n\t function findRelay() {\n\t var loc = window.location;\n\t var frames = window.opener.frames;\n\t for (var i = frames.length - 1; i >= 0; i--) {\n\t try {\n\t if (frames[i].location.protocol === window.location.protocol && frames[i].location.host === window.location.host && frames[i].name === RELAY_FRAME_NAME) {\n\t return frames[i];\n\t }\n\t } catch (e) {}\n\t }\n\t return;\n\t }\n\t\n\t var isIE = isInternetExplorer();\n\t\n\t if (isSupported()) {\n\t /* General flow:\n\t * 0. user clicks\n\t * (IE SPECIFIC) 1. caller adds relay iframe (served from trusted domain) to DOM\n\t * 2. caller opens window (with content from trusted domain)\n\t * 3. window on opening adds a listener to 'message'\n\t * (IE SPECIFIC) 4. window on opening finds iframe\n\t * 5. window checks if iframe is \"loaded\" - has a 'doPost' function yet\n\t * (IE SPECIFIC5) 5a. if iframe.doPost exists, window uses it to send ready event to caller\n\t * (IE SPECIFIC5) 5b. if iframe.doPost doesn't exist, window waits for frame ready\n\t * (IE SPECIFIC5) 5bi. once ready, window calls iframe.doPost to send ready event\n\t * 6. caller upon reciept of 'ready', sends args\n\t */\n\t return {\n\t open: function open(opts, cb) {\n\t if (!cb) throw \"missing required callback argument\";\n\t\n\t // test required options\n\t var err;\n\t if (!opts.url) err = \"missing required 'url' parameter\";\n\t if (!opts.relay_url) err = \"missing required 'relay_url' parameter\";\n\t if (err) setTimeout(function () {\n\t cb(err);\n\t }, 0);\n\t\n\t // supply default options\n\t if (!opts.window_name) opts.window_name = null;\n\t if (!opts.window_features || isFennec()) opts.window_features = undefined;\n\t\n\t // opts.params may be undefined\n\t\n\t var iframe;\n\t\n\t // sanity check, are url and relay_url the same origin?\n\t var origin = extractOrigin(opts.url);\n\t if (origin !== extractOrigin(opts.relay_url)) {\n\t return setTimeout(function () {\n\t cb('invalid arguments: origin of url and relay_url must match');\n\t }, 0);\n\t }\n\t\n\t var messageTarget;\n\t\n\t if (isIE) {\n\t // first we need to add a \"relay\" iframe to the document that's served\n\t // from the target domain. We can postmessage into a iframe, but not a\n\t // window\n\t iframe = document.createElement(\"iframe\");\n\t // iframe.setAttribute('name', framename);\n\t iframe.setAttribute('src', opts.relay_url);\n\t iframe.style.display = \"none\";\n\t iframe.setAttribute('name', RELAY_FRAME_NAME);\n\t document.body.appendChild(iframe);\n\t messageTarget = iframe.contentWindow;\n\t }\n\t\n\t var w = opts.popup || window.open(opts.url, opts.window_name, opts.window_features);\n\t if (opts.popup) {\n\t w.location.href = opts.url;\n\t }\n\t\n\t if (!messageTarget) messageTarget = w;\n\t\n\t // lets listen in case the window blows up before telling us\n\t var closeInterval = setInterval(function () {\n\t if (w && w.closed) {\n\t cleanup();\n\t if (cb) {\n\t cb('User closed the popup window');\n\t cb = null;\n\t }\n\t }\n\t }, 500);\n\t\n\t var req = JSON.stringify({ a: 'request', d: opts.params });\n\t\n\t // cleanup on unload\n\t function cleanup() {\n\t if (iframe) document.body.removeChild(iframe);\n\t iframe = undefined;\n\t if (closeInterval) closeInterval = clearInterval(closeInterval);\n\t removeListener(window, 'message', onMessage);\n\t removeListener(window, 'unload', cleanup);\n\t if (w) {\n\t try {\n\t w.close();\n\t } catch (securityViolation) {\n\t // This happens in Opera 12 sometimes\n\t // see https://github.com/mozilla/browserid/issues/1844\n\t messageTarget.postMessage(CLOSE_CMD, origin);\n\t }\n\t }\n\t w = messageTarget = undefined;\n\t }\n\t\n\t addListener(window, 'unload', cleanup);\n\t\n\t function onMessage(e) {\n\t if (e.origin !== origin) {\n\t return;\n\t }\n\t try {\n\t var d = JSON.parse(e.data);\n\t if (d.a === 'ready') messageTarget.postMessage(req, origin);else if (d.a === 'error') {\n\t cleanup();\n\t if (cb) {\n\t cb(d.d);\n\t cb = null;\n\t }\n\t } else if (d.a === 'response') {\n\t cleanup();\n\t if (cb) {\n\t cb(null, d.d);\n\t cb = null;\n\t }\n\t }\n\t } catch (err) {}\n\t }\n\t\n\t addListener(window, 'message', onMessage);\n\t\n\t return {\n\t close: cleanup,\n\t focus: function focus() {\n\t if (w) {\n\t try {\n\t w.focus();\n\t } catch (e) {\n\t // IE7 blows up here, do nothing\n\t }\n\t }\n\t }\n\t };\n\t },\n\t onOpen: function onOpen(cb) {\n\t var o = \"*\";\n\t var msgTarget = isIE ? findRelay() : window.opener;\n\t if (!msgTarget) throw \"can't find relay frame\";\n\t function doPost(msg) {\n\t msg = JSON.stringify(msg);\n\t if (isIE) msgTarget.doPost(msg, o);else msgTarget.postMessage(msg, o);\n\t }\n\t\n\t function onMessage(e) {\n\t // only one message gets through, but let's make sure it's actually\n\t // the message we're looking for (other code may be using\n\t // postmessage) - we do this by ensuring the payload can\n\t // be parsed, and it's got an 'a' (action) value of 'request'.\n\t var d;\n\t try {\n\t d = JSON.parse(e.data);\n\t } catch (err) {}\n\t if (!d || d.a !== 'request') return;\n\t removeListener(window, 'message', onMessage);\n\t o = e.origin;\n\t if (cb) {\n\t // this setTimeout is critically important for IE8 -\n\t // in ie8 sometimes addListener for 'message' can synchronously\n\t // cause your callback to be invoked. awesome.\n\t setTimeout(function () {\n\t cb(o, d.d, function (r) {\n\t cb = undefined;\n\t doPost({ a: 'response', d: r });\n\t });\n\t }, 0);\n\t }\n\t }\n\t\n\t function onDie(e) {\n\t if (e.data === CLOSE_CMD) {\n\t try {\n\t window.close();\n\t } catch (o_O) {}\n\t }\n\t }\n\t addListener(isIE ? msgTarget : window, 'message', onMessage);\n\t addListener(isIE ? msgTarget : window, 'message', onDie);\n\t\n\t // we cannot post to our parent that we're ready before the iframe\n\t // is loaded. (IE specific possible failure)\n\t try {\n\t doPost({ a: \"ready\" });\n\t } catch (e) {\n\t // this code should never be exectued outside IE\n\t addListener(msgTarget, 'load', function (e) {\n\t doPost({ a: \"ready\" });\n\t });\n\t }\n\t\n\t // if window is unloaded and the client hasn't called cb, it's an error\n\t var onUnload = function onUnload() {\n\t try {\n\t // IE8 doesn't like this...\n\t removeListener(isIE ? msgTarget : window, 'message', onDie);\n\t } catch (ohWell) {}\n\t if (cb) doPost({ a: 'error', d: 'client closed window' });\n\t cb = undefined;\n\t // explicitly close the window, in case the client is trying to reload or nav\n\t try {\n\t window.close();\n\t } catch (e) {}\n\t };\n\t addListener(window, 'unload', onUnload);\n\t return {\n\t detach: function detach() {\n\t removeListener(window, 'unload', onUnload);\n\t }\n\t };\n\t }\n\t };\n\t } else {\n\t return {\n\t open: function open(url, winopts, arg, cb) {\n\t setTimeout(function () {\n\t cb(\"unsupported browser\");\n\t }, 0);\n\t },\n\t onOpen: function onOpen(cb) {\n\t setTimeout(function () {\n\t cb(\"unsupported browser\");\n\t }, 0);\n\t }\n\t };\n\t }\n\t}();\n\t\n\tif (typeof module !== 'undefined' && module.exports) {\n\t module.exports = WinChan;\n\t}\n\n/***/ },\n/* 168 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tmodule.exports = hasKeys;\n\t\n\tfunction hasKeys(source) {\n\t return source !== null && ((typeof source === \"undefined\" ? \"undefined\" : _typeof(source)) === \"object\" || typeof source === \"function\");\n\t}\n\n/***/ },\n/* 169 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tvar Keys = __webpack_require__(171);\n\tvar hasKeys = __webpack_require__(168);\n\t\n\tmodule.exports = extend;\n\t\n\tfunction extend() {\n\t var target = {};\n\t\n\t for (var i = 0; i < arguments.length; i++) {\n\t var source = arguments[i];\n\t\n\t if (!hasKeys(source)) {\n\t continue;\n\t }\n\t\n\t var keys = Keys(source);\n\t\n\t for (var j = 0; j < keys.length; j++) {\n\t var name = keys[j];\n\t target[name] = source[name];\n\t }\n\t }\n\t\n\t return target;\n\t}\n\n/***/ },\n/* 170 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar hasOwn = Object.prototype.hasOwnProperty;\n\tvar toString = Object.prototype.toString;\n\t\n\tvar isFunction = function isFunction(fn) {\n\t\tvar isFunc = typeof fn === 'function' && !(fn instanceof RegExp) || toString.call(fn) === '[object Function]';\n\t\tif (!isFunc && typeof window !== 'undefined') {\n\t\t\tisFunc = fn === window.setTimeout || fn === window.alert || fn === window.confirm || fn === window.prompt;\n\t\t}\n\t\treturn isFunc;\n\t};\n\t\n\tmodule.exports = function forEach(obj, fn) {\n\t\tif (!isFunction(fn)) {\n\t\t\tthrow new TypeError('iterator must be a function');\n\t\t}\n\t\tvar i,\n\t\t k,\n\t\t isString = typeof obj === 'string',\n\t\t l = obj.length,\n\t\t context = arguments.length > 2 ? arguments[2] : null;\n\t\tif (l === +l) {\n\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\tif (context === null) {\n\t\t\t\t\tfn(isString ? obj.charAt(i) : obj[i], i, obj);\n\t\t\t\t} else {\n\t\t\t\t\tfn.call(context, isString ? obj.charAt(i) : obj[i], i, obj);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor (k in obj) {\n\t\t\t\tif (hasOwn.call(obj, k)) {\n\t\t\t\t\tif (context === null) {\n\t\t\t\t\t\tfn(obj[k], k, obj);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfn.call(context, obj[k], k, obj);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n/***/ },\n/* 171 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = Object.keys || __webpack_require__(173);\n\n/***/ },\n/* 172 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar toString = Object.prototype.toString;\n\t\n\tmodule.exports = function isArguments(value) {\n\t\tvar str = toString.call(value);\n\t\tvar isArguments = str === '[object Arguments]';\n\t\tif (!isArguments) {\n\t\t\tisArguments = str !== '[object Array]' && value !== null && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && typeof value.length === 'number' && value.length >= 0 && toString.call(value.callee) === '[object Function]';\n\t\t}\n\t\treturn isArguments;\n\t};\n\n/***/ },\n/* 173 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t(function () {\n\t\t\"use strict\";\n\t\n\t\t// modified from https://github.com/kriskowal/es5-shim\n\t\n\t\tvar has = Object.prototype.hasOwnProperty,\n\t\t toString = Object.prototype.toString,\n\t\t forEach = __webpack_require__(170),\n\t\t isArgs = __webpack_require__(172),\n\t\t hasDontEnumBug = !{ 'toString': null }.propertyIsEnumerable('toString'),\n\t\t hasProtoEnumBug = function () {}.propertyIsEnumerable('prototype'),\n\t\t dontEnums = [\"toString\", \"toLocaleString\", \"valueOf\", \"hasOwnProperty\", \"isPrototypeOf\", \"propertyIsEnumerable\", \"constructor\"],\n\t\t keysShim;\n\t\n\t\tkeysShim = function keys(object) {\n\t\t\tvar isObject = object !== null && (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object',\n\t\t\t isFunction = toString.call(object) === '[object Function]',\n\t\t\t isArguments = isArgs(object),\n\t\t\t theKeys = [];\n\t\n\t\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\t\tthrow new TypeError(\"Object.keys called on a non-object\");\n\t\t\t}\n\t\n\t\t\tif (isArguments) {\n\t\t\t\tforEach(object, function (value) {\n\t\t\t\t\ttheKeys.push(value);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tvar name,\n\t\t\t\t skipProto = hasProtoEnumBug && isFunction;\n\t\n\t\t\t\tfor (name in object) {\n\t\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\t\ttheKeys.push(name);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\tif (hasDontEnumBug) {\n\t\t\t\tvar ctor = object.constructor,\n\t\t\t\t skipConstructor = ctor && ctor.prototype === object;\n\t\n\t\t\t\tforEach(dontEnums, function (dontEnum) {\n\t\t\t\t\tif (!(skipConstructor && dontEnum === 'constructor') && has.call(object, dontEnum)) {\n\t\t\t\t\t\ttheKeys.push(dontEnum);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn theKeys;\n\t\t};\n\t\n\t\tmodule.exports = keysShim;\n\t})();\n\n/***/ },\n/* 174 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tmodule.exports = { str: \"7.6.1\" };\n\n/***/ },\n/* 175 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/*\n\t * JavaScript MD5\n\t * https://github.com/blueimp/JavaScript-MD5\n\t *\n\t * Copyright 2011, Sebastian Tschan\n\t * https://blueimp.net\n\t *\n\t * Licensed under the MIT license:\n\t * http://www.opensource.org/licenses/MIT\n\t *\n\t * Based on\n\t * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n\t * Digest Algorithm, as defined in RFC 1321.\n\t * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009\n\t * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n\t * Distributed under the BSD License\n\t * See http://pajhome.org.uk/crypt/md5 for more info.\n\t */\n\t\n\t/*global unescape, define, module */\n\t\n\t;(function ($) {\n\t 'use strict';\n\t\n\t /*\n\t * Add integers, wrapping at 2^32. This uses 16-bit operations internally\n\t * to work around bugs in some JS interpreters.\n\t */\n\t\n\t function safe_add(x, y) {\n\t var lsw = (x & 0xFFFF) + (y & 0xFFFF);\n\t var msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n\t return msw << 16 | lsw & 0xFFFF;\n\t }\n\t\n\t /*\n\t * Bitwise rotate a 32-bit number to the left.\n\t */\n\t function bit_rol(num, cnt) {\n\t return num << cnt | num >>> 32 - cnt;\n\t }\n\t\n\t /*\n\t * These functions implement the four basic operations the algorithm uses.\n\t */\n\t function md5_cmn(q, a, b, x, s, t) {\n\t return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b);\n\t }\n\t function md5_ff(a, b, c, d, x, s, t) {\n\t return md5_cmn(b & c | ~b & d, a, b, x, s, t);\n\t }\n\t function md5_gg(a, b, c, d, x, s, t) {\n\t return md5_cmn(b & d | c & ~d, a, b, x, s, t);\n\t }\n\t function md5_hh(a, b, c, d, x, s, t) {\n\t return md5_cmn(b ^ c ^ d, a, b, x, s, t);\n\t }\n\t function md5_ii(a, b, c, d, x, s, t) {\n\t return md5_cmn(c ^ (b | ~d), a, b, x, s, t);\n\t }\n\t\n\t /*\n\t * Calculate the MD5 of an array of little-endian words, and a bit length.\n\t */\n\t function binl_md5(x, len) {\n\t /* append padding */\n\t x[len >> 5] |= 0x80 << len % 32;\n\t x[(len + 64 >>> 9 << 4) + 14] = len;\n\t\n\t var i;\n\t var olda;\n\t var oldb;\n\t var oldc;\n\t var oldd;\n\t var a = 1732584193;\n\t var b = -271733879;\n\t var c = -1732584194;\n\t var d = 271733878;\n\t\n\t for (i = 0; i < x.length; i += 16) {\n\t olda = a;\n\t oldb = b;\n\t oldc = c;\n\t oldd = d;\n\t\n\t a = md5_ff(a, b, c, d, x[i], 7, -680876936);\n\t d = md5_ff(d, a, b, c, x[i + 1], 12, -389564586);\n\t c = md5_ff(c, d, a, b, x[i + 2], 17, 606105819);\n\t b = md5_ff(b, c, d, a, x[i + 3], 22, -1044525330);\n\t a = md5_ff(a, b, c, d, x[i + 4], 7, -176418897);\n\t d = md5_ff(d, a, b, c, x[i + 5], 12, 1200080426);\n\t c = md5_ff(c, d, a, b, x[i + 6], 17, -1473231341);\n\t b = md5_ff(b, c, d, a, x[i + 7], 22, -45705983);\n\t a = md5_ff(a, b, c, d, x[i + 8], 7, 1770035416);\n\t d = md5_ff(d, a, b, c, x[i + 9], 12, -1958414417);\n\t c = md5_ff(c, d, a, b, x[i + 10], 17, -42063);\n\t b = md5_ff(b, c, d, a, x[i + 11], 22, -1990404162);\n\t a = md5_ff(a, b, c, d, x[i + 12], 7, 1804603682);\n\t d = md5_ff(d, a, b, c, x[i + 13], 12, -40341101);\n\t c = md5_ff(c, d, a, b, x[i + 14], 17, -1502002290);\n\t b = md5_ff(b, c, d, a, x[i + 15], 22, 1236535329);\n\t\n\t a = md5_gg(a, b, c, d, x[i + 1], 5, -165796510);\n\t d = md5_gg(d, a, b, c, x[i + 6], 9, -1069501632);\n\t c = md5_gg(c, d, a, b, x[i + 11], 14, 643717713);\n\t b = md5_gg(b, c, d, a, x[i], 20, -373897302);\n\t a = md5_gg(a, b, c, d, x[i + 5], 5, -701558691);\n\t d = md5_gg(d, a, b, c, x[i + 10], 9, 38016083);\n\t c = md5_gg(c, d, a, b, x[i + 15], 14, -660478335);\n\t b = md5_gg(b, c, d, a, x[i + 4], 20, -405537848);\n\t a = md5_gg(a, b, c, d, x[i + 9], 5, 568446438);\n\t d = md5_gg(d, a, b, c, x[i + 14], 9, -1019803690);\n\t c = md5_gg(c, d, a, b, x[i + 3], 14, -187363961);\n\t b = md5_gg(b, c, d, a, x[i + 8], 20, 1163531501);\n\t a = md5_gg(a, b, c, d, x[i + 13], 5, -1444681467);\n\t d = md5_gg(d, a, b, c, x[i + 2], 9, -51403784);\n\t c = md5_gg(c, d, a, b, x[i + 7], 14, 1735328473);\n\t b = md5_gg(b, c, d, a, x[i + 12], 20, -1926607734);\n\t\n\t a = md5_hh(a, b, c, d, x[i + 5], 4, -378558);\n\t d = md5_hh(d, a, b, c, x[i + 8], 11, -2022574463);\n\t c = md5_hh(c, d, a, b, x[i + 11], 16, 1839030562);\n\t b = md5_hh(b, c, d, a, x[i + 14], 23, -35309556);\n\t a = md5_hh(a, b, c, d, x[i + 1], 4, -1530992060);\n\t d = md5_hh(d, a, b, c, x[i + 4], 11, 1272893353);\n\t c = md5_hh(c, d, a, b, x[i + 7], 16, -155497632);\n\t b = md5_hh(b, c, d, a, x[i + 10], 23, -1094730640);\n\t a = md5_hh(a, b, c, d, x[i + 13], 4, 681279174);\n\t d = md5_hh(d, a, b, c, x[i], 11, -358537222);\n\t c = md5_hh(c, d, a, b, x[i + 3], 16, -722521979);\n\t b = md5_hh(b, c, d, a, x[i + 6], 23, 76029189);\n\t a = md5_hh(a, b, c, d, x[i + 9], 4, -640364487);\n\t d = md5_hh(d, a, b, c, x[i + 12], 11, -421815835);\n\t c = md5_hh(c, d, a, b, x[i + 15], 16, 530742520);\n\t b = md5_hh(b, c, d, a, x[i + 2], 23, -995338651);\n\t\n\t a = md5_ii(a, b, c, d, x[i], 6, -198630844);\n\t d = md5_ii(d, a, b, c, x[i + 7], 10, 1126891415);\n\t c = md5_ii(c, d, a, b, x[i + 14], 15, -1416354905);\n\t b = md5_ii(b, c, d, a, x[i + 5], 21, -57434055);\n\t a = md5_ii(a, b, c, d, x[i + 12], 6, 1700485571);\n\t d = md5_ii(d, a, b, c, x[i + 3], 10, -1894986606);\n\t c = md5_ii(c, d, a, b, x[i + 10], 15, -1051523);\n\t b = md5_ii(b, c, d, a, x[i + 1], 21, -2054922799);\n\t a = md5_ii(a, b, c, d, x[i + 8], 6, 1873313359);\n\t d = md5_ii(d, a, b, c, x[i + 15], 10, -30611744);\n\t c = md5_ii(c, d, a, b, x[i + 6], 15, -1560198380);\n\t b = md5_ii(b, c, d, a, x[i + 13], 21, 1309151649);\n\t a = md5_ii(a, b, c, d, x[i + 4], 6, -145523070);\n\t d = md5_ii(d, a, b, c, x[i + 11], 10, -1120210379);\n\t c = md5_ii(c, d, a, b, x[i + 2], 15, 718787259);\n\t b = md5_ii(b, c, d, a, x[i + 9], 21, -343485551);\n\t\n\t a = safe_add(a, olda);\n\t b = safe_add(b, oldb);\n\t c = safe_add(c, oldc);\n\t d = safe_add(d, oldd);\n\t }\n\t return [a, b, c, d];\n\t }\n\t\n\t /*\n\t * Convert an array of little-endian words to a string\n\t */\n\t function binl2rstr(input) {\n\t var i;\n\t var output = '';\n\t var length32 = input.length * 32;\n\t for (i = 0; i < length32; i += 8) {\n\t output += String.fromCharCode(input[i >> 5] >>> i % 32 & 0xFF);\n\t }\n\t return output;\n\t }\n\t\n\t /*\n\t * Convert a raw string to an array of little-endian words\n\t * Characters >255 have their high-byte silently ignored.\n\t */\n\t function rstr2binl(input) {\n\t var i;\n\t var output = [];\n\t output[(input.length >> 2) - 1] = undefined;\n\t for (i = 0; i < output.length; i += 1) {\n\t output[i] = 0;\n\t }\n\t var length8 = input.length * 8;\n\t for (i = 0; i < length8; i += 8) {\n\t output[i >> 5] |= (input.charCodeAt(i / 8) & 0xFF) << i % 32;\n\t }\n\t return output;\n\t }\n\t\n\t /*\n\t * Calculate the MD5 of a raw string\n\t */\n\t function rstr_md5(s) {\n\t return binl2rstr(binl_md5(rstr2binl(s), s.length * 8));\n\t }\n\t\n\t /*\n\t * Calculate the HMAC-MD5, of a key and some data (raw strings)\n\t */\n\t function rstr_hmac_md5(key, data) {\n\t var i;\n\t var bkey = rstr2binl(key);\n\t var ipad = [];\n\t var opad = [];\n\t var hash;\n\t ipad[15] = opad[15] = undefined;\n\t if (bkey.length > 16) {\n\t bkey = binl_md5(bkey, key.length * 8);\n\t }\n\t for (i = 0; i < 16; i += 1) {\n\t ipad[i] = bkey[i] ^ 0x36363636;\n\t opad[i] = bkey[i] ^ 0x5C5C5C5C;\n\t }\n\t hash = binl_md5(ipad.concat(rstr2binl(data)), 512 + data.length * 8);\n\t return binl2rstr(binl_md5(opad.concat(hash), 512 + 128));\n\t }\n\t\n\t /*\n\t * Convert a raw string to a hex string\n\t */\n\t function rstr2hex(input) {\n\t var hex_tab = '0123456789abcdef';\n\t var output = '';\n\t var x;\n\t var i;\n\t for (i = 0; i < input.length; i += 1) {\n\t x = input.charCodeAt(i);\n\t output += hex_tab.charAt(x >>> 4 & 0x0F) + hex_tab.charAt(x & 0x0F);\n\t }\n\t return output;\n\t }\n\t\n\t /*\n\t * Encode a string as utf-8\n\t */\n\t function str2rstr_utf8(input) {\n\t return unescape(encodeURIComponent(input));\n\t }\n\t\n\t /*\n\t * Take string arguments and return either raw or hex encoded strings\n\t */\n\t function raw_md5(s) {\n\t return rstr_md5(str2rstr_utf8(s));\n\t }\n\t function hex_md5(s) {\n\t return rstr2hex(raw_md5(s));\n\t }\n\t function raw_hmac_md5(k, d) {\n\t return rstr_hmac_md5(str2rstr_utf8(k), str2rstr_utf8(d));\n\t }\n\t function hex_hmac_md5(k, d) {\n\t return rstr2hex(raw_hmac_md5(k, d));\n\t }\n\t\n\t function md5(string, key, raw) {\n\t if (!key) {\n\t if (!raw) {\n\t return hex_md5(string);\n\t }\n\t return raw_md5(string);\n\t }\n\t if (!raw) {\n\t return hex_hmac_md5(key, string);\n\t }\n\t return raw_hmac_md5(key, string);\n\t }\n\t\n\t if (true) {\n\t !(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t return md5;\n\t }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if ((typeof module === 'undefined' ? 'undefined' : _typeof(module)) === 'object' && module.exports) {\n\t module.exports = md5;\n\t } else {\n\t $.md5 = md5;\n\t }\n\t})(undefined);\n\n/***/ },\n/* 176 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-2015, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule invariant\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Use invariant() to assert state which your program assumes to be true.\n\t *\n\t * Provide sprintf-style format (only %s is supported) and arguments\n\t * to provide information about what broke and what you were\n\t * expecting.\n\t *\n\t * The invariant message will be stripped in production, but the invariant\n\t * will remain to ensure logic does not differ in production.\n\t */\n\t\n\tvar invariant = function invariant(condition, format, a, b, c, d, e, f) {\n\t if (false) {\n\t if (format === undefined) {\n\t throw new Error('invariant requires an error message argument');\n\t }\n\t }\n\t\n\t if (!condition) {\n\t var error;\n\t if (format === undefined) {\n\t error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n\t } else {\n\t var args = [a, b, c, d, e, f];\n\t var argIndex = 0;\n\t error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () {\n\t return args[argIndex++];\n\t }));\n\t }\n\t\n\t error.framesToPop = 1; // we don't care about invariant's own frame\n\t throw error;\n\t }\n\t};\n\t\n\tmodule.exports = invariant;\n\n/***/ },\n/* 177 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Module dependencies\n\t */\n\t\n\tvar debug = __webpack_require__(179)('jsonp');\n\t\n\t/**\n\t * Module exports.\n\t */\n\t\n\tmodule.exports = jsonp;\n\t\n\t/**\n\t * Callback index.\n\t */\n\t\n\tvar count = 0;\n\t\n\t/**\n\t * Noop function.\n\t */\n\t\n\tfunction noop() {}\n\t\n\t/**\n\t * JSONP handler\n\t *\n\t * Options:\n\t * - param {String} qs parameter (`callback`)\n\t * - prefix {String} qs parameter (`__jp`)\n\t * - name {String} qs parameter (`prefix` + incr)\n\t * - timeout {Number} how long after a timeout error is emitted (`60000`)\n\t *\n\t * @param {String} url\n\t * @param {Object|Function} optional options / callback\n\t * @param {Function} optional callback\n\t */\n\t\n\tfunction jsonp(url, opts, fn) {\n\t if ('function' == typeof opts) {\n\t fn = opts;\n\t opts = {};\n\t }\n\t if (!opts) opts = {};\n\t\n\t var prefix = opts.prefix || '__jp';\n\t\n\t // use the callback name that was passed if one was provided.\n\t // otherwise generate a unique name by incrementing our counter.\n\t var id = opts.name || prefix + count++;\n\t\n\t var param = opts.param || 'callback';\n\t var timeout = null != opts.timeout ? opts.timeout : 60000;\n\t var enc = encodeURIComponent;\n\t var target = document.getElementsByTagName('script')[0] || document.head;\n\t var script;\n\t var timer;\n\t\n\t if (timeout) {\n\t timer = setTimeout(function () {\n\t cleanup();\n\t if (fn) fn(new Error('Timeout'));\n\t }, timeout);\n\t }\n\t\n\t function cleanup() {\n\t if (script.parentNode) script.parentNode.removeChild(script);\n\t window[id] = noop;\n\t if (timer) clearTimeout(timer);\n\t }\n\t\n\t function cancel() {\n\t if (window[id]) {\n\t cleanup();\n\t }\n\t }\n\t\n\t window[id] = function (data) {\n\t debug('jsonp got', data);\n\t cleanup();\n\t if (fn) fn(null, data);\n\t };\n\t\n\t // add qs component\n\t url += (~url.indexOf('?') ? '&' : '?') + param + '=' + enc(id);\n\t url = url.replace('?&', '?');\n\t\n\t debug('jsonp req \"%s\"', url);\n\t\n\t // create script\n\t script = document.createElement('script');\n\t script.src = url;\n\t target.parentNode.insertBefore(script, target);\n\t\n\t return cancel;\n\t}\n\n/***/ },\n/* 178 */\n160,\n/* 179 */\n[329, 180],\n/* 180 */\n[330, 178],\n/* 181 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar format = __webpack_require__(79).format;\n\t\n\tvar PasswordPolicyError = __webpack_require__(182);\n\t\n\tfunction isString(value) {\n\t return typeof value === 'string' || value instanceof String;\n\t}\n\t\n\tvar defaultRuleset = {\n\t length: __webpack_require__(185),\n\t contains: __webpack_require__(57),\n\t containsAtLeast: __webpack_require__(183),\n\t identicalChars: __webpack_require__(184)\n\t};\n\t\n\tfunction flatDescriptions(descriptions, index) {\n\t if (!descriptions.length) {\n\t return '';\n\t }\n\t\n\t function flatSingleDescription(description, index) {\n\t var spaces = new Array(index + 1).join(' ');\n\t var result = spaces + '* ';\n\t if (description.format) {\n\t result += format.apply(null, [description.message].concat(description.format));\n\t } else {\n\t result += description.message;\n\t }\n\t\n\t if (description.items) {\n\t result += '\\n' + spaces + flatDescriptions(description.items, index + 1);\n\t }\n\t return result;\n\t }\n\t\n\t var firstDescription = flatSingleDescription(descriptions[0], index);\n\t\n\t descriptions = descriptions.slice(1).reduce(function (result, description) {\n\t result += '\\n' + flatSingleDescription(description, index);\n\t\n\t return result;\n\t }, firstDescription);\n\t\n\t return descriptions;\n\t}\n\t\n\t/**\n\t * Creates a PasswordPolicy which is a set of rules.\n\t *\n\t * @class PasswordPolicy\n\t * @constructor\n\t */\n\tfunction PasswordPolicy(rules, ruleset) {\n\t this.rules = rules;\n\t this.ruleset = ruleset || defaultRuleset;\n\t\n\t this._reduce(function (result, ruleOptions, rule) {\n\t rule.validate(ruleOptions);\n\t });\n\t}\n\t\n\tPasswordPolicy.prototype = {};\n\t\n\tPasswordPolicy.prototype._reduce = function (fn, value) {\n\t var self = this;\n\t return Object.keys(this.rules).reduce(function (result, ruleName) {\n\t var ruleOptions = self.rules[ruleName];\n\t var rule = self.ruleset[ruleName];\n\t\n\t return fn(result, ruleOptions, rule);\n\t }, value);\n\t};\n\t\n\tPasswordPolicy.prototype._applyRules = function (password) {\n\t return this._reduce(function (result, ruleOptions, rule) {\n\t // If previous result was false as this an &&, then nothing to do here!\n\t if (!result) {\n\t return false;\n\t }\n\t\n\t if (!rule) {\n\t return false;\n\t }\n\t\n\t return rule.assert(ruleOptions, password);\n\t }, true);\n\t};\n\t\n\tPasswordPolicy.prototype.missing = function (password) {\n\t return this._reduce(function (result, ruleOptions, rule) {\n\t var missingRule = rule.missing(ruleOptions, password);\n\t result.rules.push(missingRule);\n\t result.verified = result.verified && !!missingRule.verified;\n\t return result;\n\t }, { rules: [], verified: true });\n\t};\n\t\n\tPasswordPolicy.prototype.explain = function () {\n\t return this._reduce(function (result, ruleOptions, rule) {\n\t result.push(rule.explain(ruleOptions));\n\t return result;\n\t }, []);\n\t};\n\t\n\tPasswordPolicy.prototype.missingAsMarkdown = function (password) {\n\t return flatDescriptions(this.missing(password), 1);\n\t};\n\t\n\tPasswordPolicy.prototype.toString = function () {\n\t var descriptions = this.explain();\n\t return flatDescriptions(descriptions, 0);\n\t};\n\t\n\tPasswordPolicy.prototype.check = function (password) {\n\t if (!isString(password)) {\n\t return false;\n\t }\n\t\n\t return this._applyRules(password);\n\t};\n\t\n\tPasswordPolicy.prototype.assert = function (password) {\n\t if (!this.check(password)) {\n\t throw new PasswordPolicyError('Password does not meet password policy');\n\t }\n\t};\n\t\n\tmodule.exports = PasswordPolicy;\n\n/***/ },\n/* 182 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Error thrown when asserting a policy against a password.\n\t *\n\t * @class PasswordPolicyError\n\t * @constructor\n\t *\n\t * @param {String} msg Descriptive message of the error\n\t */\n\tfunction PasswordPolicyError(msg) {\n\t var err = Error.call(this, msg);\n\t err.name = 'PasswordPolicyError';\n\t return err;\n\t}\n\t\n\tmodule.exports = PasswordPolicyError;\n\n/***/ },\n/* 183 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _ = __webpack_require__(46);\n\t\n\tvar contains = __webpack_require__(57);\n\t\n\tfunction createIntroMessage() {\n\t return 'Contain at least %d of the following %d types of characters:';\n\t}\n\t\n\tmodule.exports = {\n\t // TODO validate atLeast to be a number > 0 and expressions to be a list of at least 1\n\t validate: function validate(options) {\n\t if (!_.isObject(options)) {\n\t throw new Error('options should be an object');\n\t }\n\t\n\t if (!_.isNumber(options.atLeast) || _.isNaN(options.atLeast) || options.atLeast < 1) {\n\t throw new Error('atLeast should be a valid, non-NaN number, greater than 0');\n\t }\n\t\n\t if (!_.isArray(options.expressions) || _.isEmpty(options.expressions)) {\n\t throw new Error('expressions should be an non-empty array');\n\t }\n\t\n\t if (options.expressions.length < options.atLeast) {\n\t throw new Error('expressions length should be greater than atLeast');\n\t }\n\t\n\t var ok = options.expressions.every(function (expression) {\n\t return _.isFunction(expression.explain) && _.isFunction(expression.test);\n\t });\n\t\n\t if (!ok) {\n\t throw new Error('containsAtLeast expressions are invalid: An explain and a test function should be provided');\n\t }\n\t\n\t return true;\n\t },\n\t explain: function explain(options) {\n\t return {\n\t message: createIntroMessage(),\n\t code: 'containsAtLeast',\n\t format: [options.atLeast, options.expressions.length],\n\t items: options.expressions.map(function (x) {\n\t return x.explain();\n\t })\n\t };\n\t },\n\t missing: function missing(options, password) {\n\t var expressions = options.expressions && options.expressions.map(function (expression) {\n\t var explained = expression.explain();\n\t explained.verified = expression.test(password);\n\t return explained;\n\t });\n\t\n\t var verifiedCount = expressions.reduce(function (val, ex) {\n\t return val + !!ex.verified;\n\t }, 0);\n\t var verified = verifiedCount >= options.atLeast;\n\t\n\t return {\n\t message: createIntroMessage(),\n\t code: 'containsAtLeast',\n\t format: [options.atLeast, options.expressions.length],\n\t items: expressions,\n\t verified: verified\n\t };\n\t },\n\t assert: function assert(options, password) {\n\t if (!password) {\n\t return false;\n\t }\n\t\n\t var workingExpressions = options.expressions.filter(function (expression) {\n\t return expression.test(password);\n\t });\n\t\n\t return workingExpressions.length >= options.atLeast;\n\t },\n\t charsets: contains.charsets\n\t};\n\n/***/ },\n/* 184 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _ = __webpack_require__(46);\n\t\n\tfunction assert(options, password) {\n\t if (!password) {\n\t return false;\n\t }\n\t\n\t var i,\n\t current = { c: null, count: 0 };\n\t\n\t for (i = 0; i < password.length; i++) {\n\t if (current.c !== password[i]) {\n\t current.c = password[i];\n\t current.count = 1;\n\t } else {\n\t current.count++;\n\t }\n\t\n\t if (current.count > options.max) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\tfunction explain(options, verified) {\n\t var example = new Array(options.max + 2).join('a');\n\t var d = {\n\t message: 'No more than %d identical characters in a row (e.g., \"%s\" not allowed)',\n\t code: 'identicalChars',\n\t format: [options.max, example]\n\t };\n\t if (verified !== undefined) {\n\t d.verified = verified;\n\t }\n\t return d;\n\t}\n\t\n\tmodule.exports = {\n\t validate: function validate(options) {\n\t if (!_.isObject(options)) {\n\t throw new Error('options should be an object');\n\t }\n\t\n\t if (!_.isNumber(options.max) || _.isNaN(options.max) || options.max < 1) {\n\t throw new Error('max should be a number greater than 1');\n\t }\n\t\n\t return true;\n\t },\n\t explain: explain,\n\t missing: function missing(options, password) {\n\t return explain(options, assert(options, password));\n\t },\n\t assert: assert\n\t};\n\n/***/ },\n/* 185 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _ = __webpack_require__(46);\n\t\n\t/* A rule should contain explain and rule methods */\n\t// TODO explain explain\n\t// TODO explain missing\n\t// TODO explain assert\n\t\n\tfunction assert(options, password) {\n\t return !!password && options.minLength <= password.length;\n\t}\n\t\n\tfunction explain(options) {\n\t if (options.minLength === 1) {\n\t return {\n\t message: 'Non-empty password required',\n\t code: 'nonEmpty'\n\t };\n\t }\n\t\n\t return {\n\t message: 'At least %d characters in length',\n\t format: [options.minLength],\n\t code: 'lengthAtLeast'\n\t };\n\t}\n\t\n\tmodule.exports = {\n\t validate: function validate(options) {\n\t if (!_.isObject(options)) {\n\t throw new Error('options should be an object');\n\t }\n\t\n\t if (!_.isNumber(options.minLength) || _.isNaN(options.minLength)) {\n\t throw new Error('length expects minLength to be a non-zero number');\n\t }\n\t\n\t return true;\n\t },\n\t explain: explain,\n\t missing: function missing(options, password) {\n\t var explained = explain(options);\n\t explained.verified = !!assert(options, password);\n\t return explained;\n\t },\n\t assert: assert\n\t};\n\n/***/ },\n/* 186 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(262);\n\n/***/ },\n/* 187 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ARIADOMPropertyConfig = {\n\t Properties: {\n\t // Global States and Properties\n\t 'aria-current': 0, // state\n\t 'aria-details': 0,\n\t 'aria-disabled': 0, // state\n\t 'aria-hidden': 0, // state\n\t 'aria-invalid': 0, // state\n\t 'aria-keyshortcuts': 0,\n\t 'aria-label': 0,\n\t 'aria-roledescription': 0,\n\t // Widget Attributes\n\t 'aria-autocomplete': 0,\n\t 'aria-checked': 0,\n\t 'aria-expanded': 0,\n\t 'aria-haspopup': 0,\n\t 'aria-level': 0,\n\t 'aria-modal': 0,\n\t 'aria-multiline': 0,\n\t 'aria-multiselectable': 0,\n\t 'aria-orientation': 0,\n\t 'aria-placeholder': 0,\n\t 'aria-pressed': 0,\n\t 'aria-readonly': 0,\n\t 'aria-required': 0,\n\t 'aria-selected': 0,\n\t 'aria-sort': 0,\n\t 'aria-valuemax': 0,\n\t 'aria-valuemin': 0,\n\t 'aria-valuenow': 0,\n\t 'aria-valuetext': 0,\n\t // Live Region Attributes\n\t 'aria-atomic': 0,\n\t 'aria-busy': 0,\n\t 'aria-live': 0,\n\t 'aria-relevant': 0,\n\t // Drag-and-Drop Attributes\n\t 'aria-dropeffect': 0,\n\t 'aria-grabbed': 0,\n\t // Relationship Attributes\n\t 'aria-activedescendant': 0,\n\t 'aria-colcount': 0,\n\t 'aria-colindex': 0,\n\t 'aria-colspan': 0,\n\t 'aria-controls': 0,\n\t 'aria-describedby': 0,\n\t 'aria-errormessage': 0,\n\t 'aria-flowto': 0,\n\t 'aria-labelledby': 0,\n\t 'aria-owns': 0,\n\t 'aria-posinset': 0,\n\t 'aria-rowcount': 0,\n\t 'aria-rowindex': 0,\n\t 'aria-rowspan': 0,\n\t 'aria-setsize': 0\n\t },\n\t DOMAttributeNames: {},\n\t DOMPropertyNames: {}\n\t};\n\t\n\tmodule.exports = ARIADOMPropertyConfig;\n\n/***/ },\n/* 188 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\t\n\tvar focusNode = __webpack_require__(121);\n\t\n\tvar AutoFocusUtils = {\n\t focusDOMComponent: function focusDOMComponent() {\n\t focusNode(ReactDOMComponentTree.getNodeFromInstance(this));\n\t }\n\t};\n\t\n\tmodule.exports = AutoFocusUtils;\n\n/***/ },\n/* 189 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar EventPropagators = __webpack_require__(43);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar FallbackCompositionState = __webpack_require__(195);\n\tvar SyntheticCompositionEvent = __webpack_require__(231);\n\tvar SyntheticInputEvent = __webpack_require__(234);\n\t\n\tvar END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space\n\tvar START_KEYCODE = 229;\n\t\n\tvar canUseCompositionEvent = ExecutionEnvironment.canUseDOM && 'CompositionEvent' in window;\n\t\n\tvar documentMode = null;\n\tif (ExecutionEnvironment.canUseDOM && 'documentMode' in document) {\n\t documentMode = document.documentMode;\n\t}\n\t\n\t// Webkit offers a very useful `textInput` event that can be used to\n\t// directly represent `beforeInput`. The IE `textinput` event is not as\n\t// useful, so we don't use it.\n\tvar canUseTextInputEvent = ExecutionEnvironment.canUseDOM && 'TextEvent' in window && !documentMode && !isPresto();\n\t\n\t// In IE9+, we have access to composition events, but the data supplied\n\t// by the native compositionend event may be incorrect. Japanese ideographic\n\t// spaces, for instance (\\u3000) are not recorded correctly.\n\tvar useFallbackCompositionData = ExecutionEnvironment.canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);\n\t\n\t/**\n\t * Opera <= 12 includes TextEvent in window, but does not fire\n\t * text input events. Rely on keypress instead.\n\t */\n\tfunction isPresto() {\n\t var opera = window.opera;\n\t return (typeof opera === 'undefined' ? 'undefined' : _typeof(opera)) === 'object' && typeof opera.version === 'function' && parseInt(opera.version(), 10) <= 12;\n\t}\n\t\n\tvar SPACEBAR_CODE = 32;\n\tvar SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE);\n\t\n\t// Events and their corresponding property names.\n\tvar eventTypes = {\n\t beforeInput: {\n\t phasedRegistrationNames: {\n\t bubbled: 'onBeforeInput',\n\t captured: 'onBeforeInputCapture'\n\t },\n\t dependencies: ['topCompositionEnd', 'topKeyPress', 'topTextInput', 'topPaste']\n\t },\n\t compositionEnd: {\n\t phasedRegistrationNames: {\n\t bubbled: 'onCompositionEnd',\n\t captured: 'onCompositionEndCapture'\n\t },\n\t dependencies: ['topBlur', 'topCompositionEnd', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n\t },\n\t compositionStart: {\n\t phasedRegistrationNames: {\n\t bubbled: 'onCompositionStart',\n\t captured: 'onCompositionStartCapture'\n\t },\n\t dependencies: ['topBlur', 'topCompositionStart', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n\t },\n\t compositionUpdate: {\n\t phasedRegistrationNames: {\n\t bubbled: 'onCompositionUpdate',\n\t captured: 'onCompositionUpdateCapture'\n\t },\n\t dependencies: ['topBlur', 'topCompositionUpdate', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n\t }\n\t};\n\t\n\t// Track whether we've ever handled a keypress on the space key.\n\tvar hasSpaceKeypress = false;\n\t\n\t/**\n\t * Return whether a native keypress event is assumed to be a command.\n\t * This is required because Firefox fires `keypress` events for key commands\n\t * (cut, copy, select-all, etc.) even though no character is inserted.\n\t */\n\tfunction isKeypressCommand(nativeEvent) {\n\t return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) &&\n\t // ctrlKey && altKey is equivalent to AltGr, and is not a command.\n\t !(nativeEvent.ctrlKey && nativeEvent.altKey);\n\t}\n\t\n\t/**\n\t * Translate native top level events into event types.\n\t *\n\t * @param {string} topLevelType\n\t * @return {object}\n\t */\n\tfunction getCompositionEventType(topLevelType) {\n\t switch (topLevelType) {\n\t case 'topCompositionStart':\n\t return eventTypes.compositionStart;\n\t case 'topCompositionEnd':\n\t return eventTypes.compositionEnd;\n\t case 'topCompositionUpdate':\n\t return eventTypes.compositionUpdate;\n\t }\n\t}\n\t\n\t/**\n\t * Does our fallback best-guess model think this event signifies that\n\t * composition has begun?\n\t *\n\t * @param {string} topLevelType\n\t * @param {object} nativeEvent\n\t * @return {boolean}\n\t */\n\tfunction isFallbackCompositionStart(topLevelType, nativeEvent) {\n\t return topLevelType === 'topKeyDown' && nativeEvent.keyCode === START_KEYCODE;\n\t}\n\t\n\t/**\n\t * Does our fallback mode think that this event is the end of composition?\n\t *\n\t * @param {string} topLevelType\n\t * @param {object} nativeEvent\n\t * @return {boolean}\n\t */\n\tfunction isFallbackCompositionEnd(topLevelType, nativeEvent) {\n\t switch (topLevelType) {\n\t case 'topKeyUp':\n\t // Command keys insert or clear IME input.\n\t return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;\n\t case 'topKeyDown':\n\t // Expect IME keyCode on each keydown. If we get any other\n\t // code we must have exited earlier.\n\t return nativeEvent.keyCode !== START_KEYCODE;\n\t case 'topKeyPress':\n\t case 'topMouseDown':\n\t case 'topBlur':\n\t // Events are not possible without cancelling IME.\n\t return true;\n\t default:\n\t return false;\n\t }\n\t}\n\t\n\t/**\n\t * Google Input Tools provides composition data via a CustomEvent,\n\t * with the `data` property populated in the `detail` object. If this\n\t * is available on the event object, use it. If not, this is a plain\n\t * composition event and we have nothing special to extract.\n\t *\n\t * @param {object} nativeEvent\n\t * @return {?string}\n\t */\n\tfunction getDataFromCustomEvent(nativeEvent) {\n\t var detail = nativeEvent.detail;\n\t if ((typeof detail === 'undefined' ? 'undefined' : _typeof(detail)) === 'object' && 'data' in detail) {\n\t return detail.data;\n\t }\n\t return null;\n\t}\n\t\n\t// Track the current IME composition fallback object, if any.\n\tvar currentComposition = null;\n\t\n\t/**\n\t * @return {?object} A SyntheticCompositionEvent.\n\t */\n\tfunction extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t var eventType;\n\t var fallbackData;\n\t\n\t if (canUseCompositionEvent) {\n\t eventType = getCompositionEventType(topLevelType);\n\t } else if (!currentComposition) {\n\t if (isFallbackCompositionStart(topLevelType, nativeEvent)) {\n\t eventType = eventTypes.compositionStart;\n\t }\n\t } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n\t eventType = eventTypes.compositionEnd;\n\t }\n\t\n\t if (!eventType) {\n\t return null;\n\t }\n\t\n\t if (useFallbackCompositionData) {\n\t // The current composition is stored statically and must not be\n\t // overwritten while composition continues.\n\t if (!currentComposition && eventType === eventTypes.compositionStart) {\n\t currentComposition = FallbackCompositionState.getPooled(nativeEventTarget);\n\t } else if (eventType === eventTypes.compositionEnd) {\n\t if (currentComposition) {\n\t fallbackData = currentComposition.getData();\n\t }\n\t }\n\t }\n\t\n\t var event = SyntheticCompositionEvent.getPooled(eventType, targetInst, nativeEvent, nativeEventTarget);\n\t\n\t if (fallbackData) {\n\t // Inject data generated from fallback path into the synthetic event.\n\t // This matches the property of native CompositionEventInterface.\n\t event.data = fallbackData;\n\t } else {\n\t var customData = getDataFromCustomEvent(nativeEvent);\n\t if (customData !== null) {\n\t event.data = customData;\n\t }\n\t }\n\t\n\t EventPropagators.accumulateTwoPhaseDispatches(event);\n\t return event;\n\t}\n\t\n\t/**\n\t * @param {string} topLevelType Record from `EventConstants`.\n\t * @param {object} nativeEvent Native browser event.\n\t * @return {?string} The string corresponding to this `beforeInput` event.\n\t */\n\tfunction getNativeBeforeInputChars(topLevelType, nativeEvent) {\n\t switch (topLevelType) {\n\t case 'topCompositionEnd':\n\t return getDataFromCustomEvent(nativeEvent);\n\t case 'topKeyPress':\n\t /**\n\t * If native `textInput` events are available, our goal is to make\n\t * use of them. However, there is a special case: the spacebar key.\n\t * In Webkit, preventing default on a spacebar `textInput` event\n\t * cancels character insertion, but it *also* causes the browser\n\t * to fall back to its default spacebar behavior of scrolling the\n\t * page.\n\t *\n\t * Tracking at:\n\t * https://code.google.com/p/chromium/issues/detail?id=355103\n\t *\n\t * To avoid this issue, use the keypress event as if no `textInput`\n\t * event is available.\n\t */\n\t var which = nativeEvent.which;\n\t if (which !== SPACEBAR_CODE) {\n\t return null;\n\t }\n\t\n\t hasSpaceKeypress = true;\n\t return SPACEBAR_CHAR;\n\t\n\t case 'topTextInput':\n\t // Record the characters to be added to the DOM.\n\t var chars = nativeEvent.data;\n\t\n\t // If it's a spacebar character, assume that we have already handled\n\t // it at the keypress level and bail immediately. Android Chrome\n\t // doesn't give us keycodes, so we need to blacklist it.\n\t if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {\n\t return null;\n\t }\n\t\n\t return chars;\n\t\n\t default:\n\t // For other native event types, do nothing.\n\t return null;\n\t }\n\t}\n\t\n\t/**\n\t * For browsers that do not provide the `textInput` event, extract the\n\t * appropriate string to use for SyntheticInputEvent.\n\t *\n\t * @param {string} topLevelType Record from `EventConstants`.\n\t * @param {object} nativeEvent Native browser event.\n\t * @return {?string} The fallback string for this `beforeInput` event.\n\t */\n\tfunction getFallbackBeforeInputChars(topLevelType, nativeEvent) {\n\t // If we are currently composing (IME) and using a fallback to do so,\n\t // try to extract the composed characters from the fallback object.\n\t // If composition event is available, we extract a string only at\n\t // compositionevent, otherwise extract it at fallback events.\n\t if (currentComposition) {\n\t if (topLevelType === 'topCompositionEnd' || !canUseCompositionEvent && isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n\t var chars = currentComposition.getData();\n\t FallbackCompositionState.release(currentComposition);\n\t currentComposition = null;\n\t return chars;\n\t }\n\t return null;\n\t }\n\t\n\t switch (topLevelType) {\n\t case 'topPaste':\n\t // If a paste event occurs after a keypress, throw out the input\n\t // chars. Paste events should not lead to BeforeInput events.\n\t return null;\n\t case 'topKeyPress':\n\t /**\n\t * As of v27, Firefox may fire keypress events even when no character\n\t * will be inserted. A few possibilities:\n\t *\n\t * - `which` is `0`. Arrow keys, Esc key, etc.\n\t *\n\t * - `which` is the pressed key code, but no char is available.\n\t * Ex: 'AltGr + d` in Polish. There is no modified character for\n\t * this key combination and no character is inserted into the\n\t * document, but FF fires the keypress for char code `100` anyway.\n\t * No `input` event will occur.\n\t *\n\t * - `which` is the pressed key code, but a command combination is\n\t * being used. Ex: `Cmd+C`. No character is inserted, and no\n\t * `input` event will occur.\n\t */\n\t if (nativeEvent.which && !isKeypressCommand(nativeEvent)) {\n\t return String.fromCharCode(nativeEvent.which);\n\t }\n\t return null;\n\t case 'topCompositionEnd':\n\t return useFallbackCompositionData ? null : nativeEvent.data;\n\t default:\n\t return null;\n\t }\n\t}\n\t\n\t/**\n\t * Extract a SyntheticInputEvent for `beforeInput`, based on either native\n\t * `textInput` or fallback behavior.\n\t *\n\t * @return {?object} A SyntheticInputEvent.\n\t */\n\tfunction extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t var chars;\n\t\n\t if (canUseTextInputEvent) {\n\t chars = getNativeBeforeInputChars(topLevelType, nativeEvent);\n\t } else {\n\t chars = getFallbackBeforeInputChars(topLevelType, nativeEvent);\n\t }\n\t\n\t // If no characters are being inserted, no BeforeInput event should\n\t // be fired.\n\t if (!chars) {\n\t return null;\n\t }\n\t\n\t var event = SyntheticInputEvent.getPooled(eventTypes.beforeInput, targetInst, nativeEvent, nativeEventTarget);\n\t\n\t event.data = chars;\n\t EventPropagators.accumulateTwoPhaseDispatches(event);\n\t return event;\n\t}\n\t\n\t/**\n\t * Create an `onBeforeInput` event to match\n\t * http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.\n\t *\n\t * This event plugin is based on the native `textInput` event\n\t * available in Chrome, Safari, Opera, and IE. This event fires after\n\t * `onKeyPress` and `onCompositionEnd`, but before `onInput`.\n\t *\n\t * `beforeInput` is spec'd but not implemented in any browsers, and\n\t * the `input` event does not provide any useful information about what has\n\t * actually been added, contrary to the spec. Thus, `textInput` is the best\n\t * available event to identify the characters that have actually been inserted\n\t * into the target node.\n\t *\n\t * This plugin is also responsible for emitting `composition` events, thus\n\t * allowing us to share composition fallback code for both `beforeInput` and\n\t * `composition` event types.\n\t */\n\tvar BeforeInputEventPlugin = {\n\t\n\t eventTypes: eventTypes,\n\t\n\t extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t return [extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget), extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget)];\n\t }\n\t};\n\t\n\tmodule.exports = BeforeInputEventPlugin;\n\n/***/ },\n/* 190 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar CSSProperty = __webpack_require__(97);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\t\n\tvar camelizeStyleName = __webpack_require__(250);\n\tvar dangerousStyleValue = __webpack_require__(240);\n\tvar hyphenateStyleName = __webpack_require__(257);\n\tvar memoizeStringOnly = __webpack_require__(260);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar processStyleName = memoizeStringOnly(function (styleName) {\n\t return hyphenateStyleName(styleName);\n\t});\n\t\n\tvar hasShorthandPropertyBug = false;\n\tvar styleFloatAccessor = 'cssFloat';\n\tif (ExecutionEnvironment.canUseDOM) {\n\t var tempStyle = document.createElement('div').style;\n\t try {\n\t // IE8 throws \"Invalid argument.\" if resetting shorthand style properties.\n\t tempStyle.font = '';\n\t } catch (e) {\n\t hasShorthandPropertyBug = true;\n\t }\n\t // IE8 only supports accessing cssFloat (standard) as styleFloat\n\t if (document.documentElement.style.cssFloat === undefined) {\n\t styleFloatAccessor = 'styleFloat';\n\t }\n\t}\n\t\n\tif (false) {\n\t // 'msTransform' is correct, but the other prefixes should be capitalized\n\t var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;\n\t\n\t // style values shouldn't contain a semicolon\n\t var badStyleValueWithSemicolonPattern = /;\\s*$/;\n\t\n\t var warnedStyleNames = {};\n\t var warnedStyleValues = {};\n\t var warnedForNaNValue = false;\n\t\n\t var warnHyphenatedStyleName = function warnHyphenatedStyleName(name, owner) {\n\t if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n\t return;\n\t }\n\t\n\t warnedStyleNames[name] = true;\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported style property %s. Did you mean %s?%s', name, camelizeStyleName(name), checkRenderMessage(owner)) : void 0;\n\t };\n\t\n\t var warnBadVendoredStyleName = function warnBadVendoredStyleName(name, owner) {\n\t if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n\t return;\n\t }\n\t\n\t warnedStyleNames[name] = true;\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?%s', name, name.charAt(0).toUpperCase() + name.slice(1), checkRenderMessage(owner)) : void 0;\n\t };\n\t\n\t var warnStyleValueWithSemicolon = function warnStyleValueWithSemicolon(name, value, owner) {\n\t if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {\n\t return;\n\t }\n\t\n\t warnedStyleValues[value] = true;\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'Style property values shouldn\\'t contain a semicolon.%s ' + 'Try \"%s: %s\" instead.', checkRenderMessage(owner), name, value.replace(badStyleValueWithSemicolonPattern, '')) : void 0;\n\t };\n\t\n\t var warnStyleValueIsNaN = function warnStyleValueIsNaN(name, value, owner) {\n\t if (warnedForNaNValue) {\n\t return;\n\t }\n\t\n\t warnedForNaNValue = true;\n\t process.env.NODE_ENV !== 'production' ? warning(false, '`NaN` is an invalid value for the `%s` css style property.%s', name, checkRenderMessage(owner)) : void 0;\n\t };\n\t\n\t var checkRenderMessage = function checkRenderMessage(owner) {\n\t if (owner) {\n\t var name = owner.getName();\n\t if (name) {\n\t return ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t return '';\n\t };\n\t\n\t /**\n\t * @param {string} name\n\t * @param {*} value\n\t * @param {ReactDOMComponent} component\n\t */\n\t var warnValidStyle = function warnValidStyle(name, value, component) {\n\t var owner;\n\t if (component) {\n\t owner = component._currentElement._owner;\n\t }\n\t if (name.indexOf('-') > -1) {\n\t warnHyphenatedStyleName(name, owner);\n\t } else if (badVendoredStyleNamePattern.test(name)) {\n\t warnBadVendoredStyleName(name, owner);\n\t } else if (badStyleValueWithSemicolonPattern.test(value)) {\n\t warnStyleValueWithSemicolon(name, value, owner);\n\t }\n\t\n\t if (typeof value === 'number' && isNaN(value)) {\n\t warnStyleValueIsNaN(name, value, owner);\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * Operations for dealing with CSS properties.\n\t */\n\tvar CSSPropertyOperations = {\n\t\n\t /**\n\t * Serializes a mapping of style properties for use as inline styles:\n\t *\n\t * > createMarkupForStyles({width: '200px', height: 0})\n\t * \"width:200px;height:0;\"\n\t *\n\t * Undefined values are ignored so that declarative programming is easier.\n\t * The result should be HTML-escaped before insertion into the DOM.\n\t *\n\t * @param {object} styles\n\t * @param {ReactDOMComponent} component\n\t * @return {?string}\n\t */\n\t createMarkupForStyles: function createMarkupForStyles(styles, component) {\n\t var serialized = '';\n\t for (var styleName in styles) {\n\t if (!styles.hasOwnProperty(styleName)) {\n\t continue;\n\t }\n\t var styleValue = styles[styleName];\n\t if (false) {\n\t warnValidStyle(styleName, styleValue, component);\n\t }\n\t if (styleValue != null) {\n\t serialized += processStyleName(styleName) + ':';\n\t serialized += dangerousStyleValue(styleName, styleValue, component) + ';';\n\t }\n\t }\n\t return serialized || null;\n\t },\n\t\n\t /**\n\t * Sets the value for multiple styles on a node. If a value is specified as\n\t * '' (empty string), the corresponding style property will be unset.\n\t *\n\t * @param {DOMElement} node\n\t * @param {object} styles\n\t * @param {ReactDOMComponent} component\n\t */\n\t setValueForStyles: function setValueForStyles(node, styles, component) {\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation({\n\t instanceID: component._debugID,\n\t type: 'update styles',\n\t payload: styles\n\t });\n\t }\n\t\n\t var style = node.style;\n\t for (var styleName in styles) {\n\t if (!styles.hasOwnProperty(styleName)) {\n\t continue;\n\t }\n\t if (false) {\n\t warnValidStyle(styleName, styles[styleName], component);\n\t }\n\t var styleValue = dangerousStyleValue(styleName, styles[styleName], component);\n\t if (styleName === 'float' || styleName === 'cssFloat') {\n\t styleName = styleFloatAccessor;\n\t }\n\t if (styleValue) {\n\t style[styleName] = styleValue;\n\t } else {\n\t var expansion = hasShorthandPropertyBug && CSSProperty.shorthandPropertyExpansions[styleName];\n\t if (expansion) {\n\t // Shorthand property that IE8 won't like unsetting, so unset each\n\t // component to placate it\n\t for (var individualStyleName in expansion) {\n\t style[individualStyleName] = '';\n\t }\n\t } else {\n\t style[styleName] = '';\n\t }\n\t }\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = CSSPropertyOperations;\n\n/***/ },\n/* 191 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventPluginHub = __webpack_require__(42);\n\tvar EventPropagators = __webpack_require__(43);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactUpdates = __webpack_require__(15);\n\tvar SyntheticEvent = __webpack_require__(18);\n\t\n\tvar getEventTarget = __webpack_require__(70);\n\tvar isEventSupported = __webpack_require__(71);\n\tvar isTextInputElement = __webpack_require__(116);\n\t\n\tvar eventTypes = {\n\t change: {\n\t phasedRegistrationNames: {\n\t bubbled: 'onChange',\n\t captured: 'onChangeCapture'\n\t },\n\t dependencies: ['topBlur', 'topChange', 'topClick', 'topFocus', 'topInput', 'topKeyDown', 'topKeyUp', 'topSelectionChange']\n\t }\n\t};\n\t\n\t/**\n\t * For IE shims\n\t */\n\tvar activeElement = null;\n\tvar activeElementInst = null;\n\tvar activeElementValue = null;\n\tvar activeElementValueProp = null;\n\t\n\t/**\n\t * SECTION: handle `change` event\n\t */\n\tfunction shouldUseChangeEvent(elem) {\n\t var nodeName = elem.nodeName && elem.nodeName.toLowerCase();\n\t return nodeName === 'select' || nodeName === 'input' && elem.type === 'file';\n\t}\n\t\n\tvar doesChangeEventBubble = false;\n\tif (ExecutionEnvironment.canUseDOM) {\n\t // See `handleChange` comment below\n\t doesChangeEventBubble = isEventSupported('change') && (!document.documentMode || document.documentMode > 8);\n\t}\n\t\n\tfunction manualDispatchChangeEvent(nativeEvent) {\n\t var event = SyntheticEvent.getPooled(eventTypes.change, activeElementInst, nativeEvent, getEventTarget(nativeEvent));\n\t EventPropagators.accumulateTwoPhaseDispatches(event);\n\t\n\t // If change and propertychange bubbled, we'd just bind to it like all the\n\t // other events and have it go through ReactBrowserEventEmitter. Since it\n\t // doesn't, we manually listen for the events and so we have to enqueue and\n\t // process the abstract event manually.\n\t //\n\t // Batching is necessary here in order to ensure that all event handlers run\n\t // before the next rerender (including event handlers attached to ancestor\n\t // elements instead of directly on the input). Without this, controlled\n\t // components don't work properly in conjunction with event bubbling because\n\t // the component is rerendered and the value reverted before all the event\n\t // handlers can run. See https://github.com/facebook/react/issues/708.\n\t ReactUpdates.batchedUpdates(runEventInBatch, event);\n\t}\n\t\n\tfunction runEventInBatch(event) {\n\t EventPluginHub.enqueueEvents(event);\n\t EventPluginHub.processEventQueue(false);\n\t}\n\t\n\tfunction startWatchingForChangeEventIE8(target, targetInst) {\n\t activeElement = target;\n\t activeElementInst = targetInst;\n\t activeElement.attachEvent('onchange', manualDispatchChangeEvent);\n\t}\n\t\n\tfunction stopWatchingForChangeEventIE8() {\n\t if (!activeElement) {\n\t return;\n\t }\n\t activeElement.detachEvent('onchange', manualDispatchChangeEvent);\n\t activeElement = null;\n\t activeElementInst = null;\n\t}\n\t\n\tfunction getTargetInstForChangeEvent(topLevelType, targetInst) {\n\t if (topLevelType === 'topChange') {\n\t return targetInst;\n\t }\n\t}\n\tfunction handleEventsForChangeEventIE8(topLevelType, target, targetInst) {\n\t if (topLevelType === 'topFocus') {\n\t // stopWatching() should be a noop here but we call it just in case we\n\t // missed a blur event somehow.\n\t stopWatchingForChangeEventIE8();\n\t startWatchingForChangeEventIE8(target, targetInst);\n\t } else if (topLevelType === 'topBlur') {\n\t stopWatchingForChangeEventIE8();\n\t }\n\t}\n\t\n\t/**\n\t * SECTION: handle `input` event\n\t */\n\tvar isInputEventSupported = false;\n\tif (ExecutionEnvironment.canUseDOM) {\n\t // IE9 claims to support the input event but fails to trigger it when\n\t // deleting text, so we ignore its input events.\n\t // IE10+ fire input events to often, such when a placeholder\n\t // changes or when an input with a placeholder is focused.\n\t isInputEventSupported = isEventSupported('input') && (!document.documentMode || document.documentMode > 11);\n\t}\n\t\n\t/**\n\t * (For IE <=11) Replacement getter/setter for the `value` property that gets\n\t * set on the active element.\n\t */\n\tvar newValueProp = {\n\t get: function get() {\n\t return activeElementValueProp.get.call(this);\n\t },\n\t set: function set(val) {\n\t // Cast to a string so we can do equality checks.\n\t activeElementValue = '' + val;\n\t activeElementValueProp.set.call(this, val);\n\t }\n\t};\n\t\n\t/**\n\t * (For IE <=11) Starts tracking propertychange events on the passed-in element\n\t * and override the value property so that we can distinguish user events from\n\t * value changes in JS.\n\t */\n\tfunction startWatchingForValueChange(target, targetInst) {\n\t activeElement = target;\n\t activeElementInst = targetInst;\n\t activeElementValue = target.value;\n\t activeElementValueProp = Object.getOwnPropertyDescriptor(target.constructor.prototype, 'value');\n\t\n\t // Not guarded in a canDefineProperty check: IE8 supports defineProperty only\n\t // on DOM elements\n\t Object.defineProperty(activeElement, 'value', newValueProp);\n\t if (activeElement.attachEvent) {\n\t activeElement.attachEvent('onpropertychange', handlePropertyChange);\n\t } else {\n\t activeElement.addEventListener('propertychange', handlePropertyChange, false);\n\t }\n\t}\n\t\n\t/**\n\t * (For IE <=11) Removes the event listeners from the currently-tracked element,\n\t * if any exists.\n\t */\n\tfunction stopWatchingForValueChange() {\n\t if (!activeElement) {\n\t return;\n\t }\n\t\n\t // delete restores the original property definition\n\t delete activeElement.value;\n\t\n\t if (activeElement.detachEvent) {\n\t activeElement.detachEvent('onpropertychange', handlePropertyChange);\n\t } else {\n\t activeElement.removeEventListener('propertychange', handlePropertyChange, false);\n\t }\n\t\n\t activeElement = null;\n\t activeElementInst = null;\n\t activeElementValue = null;\n\t activeElementValueProp = null;\n\t}\n\t\n\t/**\n\t * (For IE <=11) Handles a propertychange event, sending a `change` event if\n\t * the value of the active element has changed.\n\t */\n\tfunction handlePropertyChange(nativeEvent) {\n\t if (nativeEvent.propertyName !== 'value') {\n\t return;\n\t }\n\t var value = nativeEvent.srcElement.value;\n\t if (value === activeElementValue) {\n\t return;\n\t }\n\t activeElementValue = value;\n\t\n\t manualDispatchChangeEvent(nativeEvent);\n\t}\n\t\n\t/**\n\t * If a `change` event should be fired, returns the target's ID.\n\t */\n\tfunction getTargetInstForInputEvent(topLevelType, targetInst) {\n\t if (topLevelType === 'topInput') {\n\t // In modern browsers (i.e., not IE8 or IE9), the input event is exactly\n\t // what we want so fall through here and trigger an abstract event\n\t return targetInst;\n\t }\n\t}\n\t\n\tfunction handleEventsForInputEventIE(topLevelType, target, targetInst) {\n\t if (topLevelType === 'topFocus') {\n\t // In IE8, we can capture almost all .value changes by adding a\n\t // propertychange handler and looking for events with propertyName\n\t // equal to 'value'\n\t // In IE9-11, propertychange fires for most input events but is buggy and\n\t // doesn't fire when text is deleted, but conveniently, selectionchange\n\t // appears to fire in all of the remaining cases so we catch those and\n\t // forward the event if the value has changed\n\t // In either case, we don't want to call the event handler if the value\n\t // is changed from JS so we redefine a setter for `.value` that updates\n\t // our activeElementValue variable, allowing us to ignore those changes\n\t //\n\t // stopWatching() should be a noop here but we call it just in case we\n\t // missed a blur event somehow.\n\t stopWatchingForValueChange();\n\t startWatchingForValueChange(target, targetInst);\n\t } else if (topLevelType === 'topBlur') {\n\t stopWatchingForValueChange();\n\t }\n\t}\n\t\n\t// For IE8 and IE9.\n\tfunction getTargetInstForInputEventIE(topLevelType, targetInst) {\n\t if (topLevelType === 'topSelectionChange' || topLevelType === 'topKeyUp' || topLevelType === 'topKeyDown') {\n\t // On the selectionchange event, the target is just document which isn't\n\t // helpful for us so just check activeElement instead.\n\t //\n\t // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire\n\t // propertychange on the first input event after setting `value` from a\n\t // script and fires only keydown, keypress, keyup. Catching keyup usually\n\t // gets it and catching keydown lets us fire an event for the first\n\t // keystroke if user does a key repeat (it'll be a little delayed: right\n\t // before the second keystroke). Other input methods (e.g., paste) seem to\n\t // fire selectionchange normally.\n\t if (activeElement && activeElement.value !== activeElementValue) {\n\t activeElementValue = activeElement.value;\n\t return activeElementInst;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * SECTION: handle `click` event\n\t */\n\tfunction shouldUseClickEvent(elem) {\n\t // Use the `click` event to detect changes to checkbox and radio inputs.\n\t // This approach works across all browsers, whereas `change` does not fire\n\t // until `blur` in IE8.\n\t return elem.nodeName && elem.nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio');\n\t}\n\t\n\tfunction getTargetInstForClickEvent(topLevelType, targetInst) {\n\t if (topLevelType === 'topClick') {\n\t return targetInst;\n\t }\n\t}\n\t\n\t/**\n\t * This plugin creates an `onChange` event that normalizes change events\n\t * across form elements. This event fires at a time when it's possible to\n\t * change the element's value without seeing a flicker.\n\t *\n\t * Supported elements are:\n\t * - input (see `isTextInputElement`)\n\t * - textarea\n\t * - select\n\t */\n\tvar ChangeEventPlugin = {\n\t\n\t eventTypes: eventTypes,\n\t\n\t extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window;\n\t\n\t var getTargetInstFunc, handleEventFunc;\n\t if (shouldUseChangeEvent(targetNode)) {\n\t if (doesChangeEventBubble) {\n\t getTargetInstFunc = getTargetInstForChangeEvent;\n\t } else {\n\t handleEventFunc = handleEventsForChangeEventIE8;\n\t }\n\t } else if (isTextInputElement(targetNode)) {\n\t if (isInputEventSupported) {\n\t getTargetInstFunc = getTargetInstForInputEvent;\n\t } else {\n\t getTargetInstFunc = getTargetInstForInputEventIE;\n\t handleEventFunc = handleEventsForInputEventIE;\n\t }\n\t } else if (shouldUseClickEvent(targetNode)) {\n\t getTargetInstFunc = getTargetInstForClickEvent;\n\t }\n\t\n\t if (getTargetInstFunc) {\n\t var inst = getTargetInstFunc(topLevelType, targetInst);\n\t if (inst) {\n\t var event = SyntheticEvent.getPooled(eventTypes.change, inst, nativeEvent, nativeEventTarget);\n\t event.type = 'change';\n\t EventPropagators.accumulateTwoPhaseDispatches(event);\n\t return event;\n\t }\n\t }\n\t\n\t if (handleEventFunc) {\n\t handleEventFunc(topLevelType, targetNode, targetInst);\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ChangeEventPlugin;\n\n/***/ },\n/* 192 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar DOMLazyTree = __webpack_require__(31);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\t\n\tvar createNodesFromMarkup = __webpack_require__(253);\n\tvar emptyFunction = __webpack_require__(19);\n\tvar invariant = __webpack_require__(3);\n\t\n\tvar Danger = {\n\t\n\t /**\n\t * Replaces a node with a string of markup at its current position within its\n\t * parent. The markup must render into a single root node.\n\t *\n\t * @param {DOMElement} oldChild Child node to replace.\n\t * @param {string} markup Markup to render in place of the child node.\n\t * @internal\n\t */\n\t dangerouslyReplaceNodeWithMarkup: function dangerouslyReplaceNodeWithMarkup(oldChild, markup) {\n\t !ExecutionEnvironment.canUseDOM ? false ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering.') : _prodInvariant('56') : void 0;\n\t !markup ? false ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : _prodInvariant('57') : void 0;\n\t !(oldChild.nodeName !== 'HTML') ? false ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the <html> node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString().') : _prodInvariant('58') : void 0;\n\t\n\t if (typeof markup === 'string') {\n\t var newChild = createNodesFromMarkup(markup, emptyFunction)[0];\n\t oldChild.parentNode.replaceChild(newChild, oldChild);\n\t } else {\n\t DOMLazyTree.replaceChildWithTree(oldChild, markup);\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = Danger;\n\n/***/ },\n/* 193 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Module that is injectable into `EventPluginHub`, that specifies a\n\t * deterministic ordering of `EventPlugin`s. A convenient way to reason about\n\t * plugins, without having to package every one of them. This is better than\n\t * having plugins be ordered in the same order that they are injected because\n\t * that ordering would be influenced by the packaging order.\n\t * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that\n\t * preventing default on events is convenient in `SimpleEventPlugin` handlers.\n\t */\n\t\n\tvar DefaultEventPluginOrder = ['ResponderEventPlugin', 'SimpleEventPlugin', 'TapEventPlugin', 'EnterLeaveEventPlugin', 'ChangeEventPlugin', 'SelectEventPlugin', 'BeforeInputEventPlugin'];\n\t\n\tmodule.exports = DefaultEventPluginOrder;\n\n/***/ },\n/* 194 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventPropagators = __webpack_require__(43);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar SyntheticMouseEvent = __webpack_require__(48);\n\t\n\tvar eventTypes = {\n\t mouseEnter: {\n\t registrationName: 'onMouseEnter',\n\t dependencies: ['topMouseOut', 'topMouseOver']\n\t },\n\t mouseLeave: {\n\t registrationName: 'onMouseLeave',\n\t dependencies: ['topMouseOut', 'topMouseOver']\n\t }\n\t};\n\t\n\tvar EnterLeaveEventPlugin = {\n\t\n\t eventTypes: eventTypes,\n\t\n\t /**\n\t * For almost every interaction we care about, there will be both a top-level\n\t * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that\n\t * we do not extract duplicate events. However, moving the mouse into the\n\t * browser from outside will not fire a `mouseout` event. In this case, we use\n\t * the `mouseover` top-level event.\n\t */\n\t extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t if (topLevelType === 'topMouseOver' && (nativeEvent.relatedTarget || nativeEvent.fromElement)) {\n\t return null;\n\t }\n\t if (topLevelType !== 'topMouseOut' && topLevelType !== 'topMouseOver') {\n\t // Must not be a mouse in or mouse out - ignoring.\n\t return null;\n\t }\n\t\n\t var win;\n\t if (nativeEventTarget.window === nativeEventTarget) {\n\t // `nativeEventTarget` is probably a window object.\n\t win = nativeEventTarget;\n\t } else {\n\t // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n\t var doc = nativeEventTarget.ownerDocument;\n\t if (doc) {\n\t win = doc.defaultView || doc.parentWindow;\n\t } else {\n\t win = window;\n\t }\n\t }\n\t\n\t var from;\n\t var to;\n\t if (topLevelType === 'topMouseOut') {\n\t from = targetInst;\n\t var related = nativeEvent.relatedTarget || nativeEvent.toElement;\n\t to = related ? ReactDOMComponentTree.getClosestInstanceFromNode(related) : null;\n\t } else {\n\t // Moving to a node from outside the window.\n\t from = null;\n\t to = targetInst;\n\t }\n\t\n\t if (from === to) {\n\t // Nothing pertains to our managed components.\n\t return null;\n\t }\n\t\n\t var fromNode = from == null ? win : ReactDOMComponentTree.getNodeFromInstance(from);\n\t var toNode = to == null ? win : ReactDOMComponentTree.getNodeFromInstance(to);\n\t\n\t var leave = SyntheticMouseEvent.getPooled(eventTypes.mouseLeave, from, nativeEvent, nativeEventTarget);\n\t leave.type = 'mouseleave';\n\t leave.target = fromNode;\n\t leave.relatedTarget = toNode;\n\t\n\t var enter = SyntheticMouseEvent.getPooled(eventTypes.mouseEnter, to, nativeEvent, nativeEventTarget);\n\t enter.type = 'mouseenter';\n\t enter.target = toNode;\n\t enter.relatedTarget = fromNode;\n\t\n\t EventPropagators.accumulateEnterLeaveDispatches(leave, enter, from, to);\n\t\n\t return [leave, enter];\n\t }\n\t\n\t};\n\t\n\tmodule.exports = EnterLeaveEventPlugin;\n\n/***/ },\n/* 195 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar PooledClass = __webpack_require__(27);\n\t\n\tvar getTextContentAccessor = __webpack_require__(113);\n\t\n\t/**\n\t * This helper class stores information about text content of a target node,\n\t * allowing comparison of content before and after a given event.\n\t *\n\t * Identify the node where selection currently begins, then observe\n\t * both its text content and its current position in the DOM. Since the\n\t * browser may natively replace the target node during composition, we can\n\t * use its position to find its replacement.\n\t *\n\t * @param {DOMEventTarget} root\n\t */\n\tfunction FallbackCompositionState(root) {\n\t this._root = root;\n\t this._startText = this.getText();\n\t this._fallbackText = null;\n\t}\n\t\n\t_assign(FallbackCompositionState.prototype, {\n\t destructor: function destructor() {\n\t this._root = null;\n\t this._startText = null;\n\t this._fallbackText = null;\n\t },\n\t\n\t /**\n\t * Get current text of input.\n\t *\n\t * @return {string}\n\t */\n\t getText: function getText() {\n\t if ('value' in this._root) {\n\t return this._root.value;\n\t }\n\t return this._root[getTextContentAccessor()];\n\t },\n\t\n\t /**\n\t * Determine the differing substring between the initially stored\n\t * text content and the current content.\n\t *\n\t * @return {string}\n\t */\n\t getData: function getData() {\n\t if (this._fallbackText) {\n\t return this._fallbackText;\n\t }\n\t\n\t var start;\n\t var startValue = this._startText;\n\t var startLength = startValue.length;\n\t var end;\n\t var endValue = this.getText();\n\t var endLength = endValue.length;\n\t\n\t for (start = 0; start < startLength; start++) {\n\t if (startValue[start] !== endValue[start]) {\n\t break;\n\t }\n\t }\n\t\n\t var minEnd = startLength - start;\n\t for (end = 1; end <= minEnd; end++) {\n\t if (startValue[startLength - end] !== endValue[endLength - end]) {\n\t break;\n\t }\n\t }\n\t\n\t var sliceTail = end > 1 ? 1 - end : undefined;\n\t this._fallbackText = endValue.slice(start, sliceTail);\n\t return this._fallbackText;\n\t }\n\t});\n\t\n\tPooledClass.addPoolingTo(FallbackCompositionState);\n\t\n\tmodule.exports = FallbackCompositionState;\n\n/***/ },\n/* 196 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMProperty = __webpack_require__(32);\n\t\n\tvar MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY;\n\tvar HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE;\n\tvar HAS_NUMERIC_VALUE = DOMProperty.injection.HAS_NUMERIC_VALUE;\n\tvar HAS_POSITIVE_NUMERIC_VALUE = DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE;\n\tvar HAS_OVERLOADED_BOOLEAN_VALUE = DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE;\n\t\n\tvar HTMLDOMPropertyConfig = {\n\t isCustomAttribute: RegExp.prototype.test.bind(new RegExp('^(data|aria)-[' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$')),\n\t Properties: {\n\t /**\n\t * Standard Properties\n\t */\n\t accept: 0,\n\t acceptCharset: 0,\n\t accessKey: 0,\n\t action: 0,\n\t allowFullScreen: HAS_BOOLEAN_VALUE,\n\t allowTransparency: 0,\n\t alt: 0,\n\t // specifies target context for links with `preload` type\n\t as: 0,\n\t async: HAS_BOOLEAN_VALUE,\n\t autoComplete: 0,\n\t // autoFocus is polyfilled/normalized by AutoFocusUtils\n\t // autoFocus: HAS_BOOLEAN_VALUE,\n\t autoPlay: HAS_BOOLEAN_VALUE,\n\t capture: HAS_BOOLEAN_VALUE,\n\t cellPadding: 0,\n\t cellSpacing: 0,\n\t charSet: 0,\n\t challenge: 0,\n\t checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n\t cite: 0,\n\t classID: 0,\n\t className: 0,\n\t cols: HAS_POSITIVE_NUMERIC_VALUE,\n\t colSpan: 0,\n\t content: 0,\n\t contentEditable: 0,\n\t contextMenu: 0,\n\t controls: HAS_BOOLEAN_VALUE,\n\t coords: 0,\n\t crossOrigin: 0,\n\t data: 0, // For `<object />` acts as `src`.\n\t dateTime: 0,\n\t 'default': HAS_BOOLEAN_VALUE,\n\t defer: HAS_BOOLEAN_VALUE,\n\t dir: 0,\n\t disabled: HAS_BOOLEAN_VALUE,\n\t download: HAS_OVERLOADED_BOOLEAN_VALUE,\n\t draggable: 0,\n\t encType: 0,\n\t form: 0,\n\t formAction: 0,\n\t formEncType: 0,\n\t formMethod: 0,\n\t formNoValidate: HAS_BOOLEAN_VALUE,\n\t formTarget: 0,\n\t frameBorder: 0,\n\t headers: 0,\n\t height: 0,\n\t hidden: HAS_BOOLEAN_VALUE,\n\t high: 0,\n\t href: 0,\n\t hrefLang: 0,\n\t htmlFor: 0,\n\t httpEquiv: 0,\n\t icon: 0,\n\t id: 0,\n\t inputMode: 0,\n\t integrity: 0,\n\t is: 0,\n\t keyParams: 0,\n\t keyType: 0,\n\t kind: 0,\n\t label: 0,\n\t lang: 0,\n\t list: 0,\n\t loop: HAS_BOOLEAN_VALUE,\n\t low: 0,\n\t manifest: 0,\n\t marginHeight: 0,\n\t marginWidth: 0,\n\t max: 0,\n\t maxLength: 0,\n\t media: 0,\n\t mediaGroup: 0,\n\t method: 0,\n\t min: 0,\n\t minLength: 0,\n\t // Caution; `option.selected` is not updated if `select.multiple` is\n\t // disabled with `removeAttribute`.\n\t multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n\t muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n\t name: 0,\n\t nonce: 0,\n\t noValidate: HAS_BOOLEAN_VALUE,\n\t open: HAS_BOOLEAN_VALUE,\n\t optimum: 0,\n\t pattern: 0,\n\t placeholder: 0,\n\t playsInline: HAS_BOOLEAN_VALUE,\n\t poster: 0,\n\t preload: 0,\n\t profile: 0,\n\t radioGroup: 0,\n\t readOnly: HAS_BOOLEAN_VALUE,\n\t referrerPolicy: 0,\n\t rel: 0,\n\t required: HAS_BOOLEAN_VALUE,\n\t reversed: HAS_BOOLEAN_VALUE,\n\t role: 0,\n\t rows: HAS_POSITIVE_NUMERIC_VALUE,\n\t rowSpan: HAS_NUMERIC_VALUE,\n\t sandbox: 0,\n\t scope: 0,\n\t scoped: HAS_BOOLEAN_VALUE,\n\t scrolling: 0,\n\t seamless: HAS_BOOLEAN_VALUE,\n\t selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n\t shape: 0,\n\t size: HAS_POSITIVE_NUMERIC_VALUE,\n\t sizes: 0,\n\t span: HAS_POSITIVE_NUMERIC_VALUE,\n\t spellCheck: 0,\n\t src: 0,\n\t srcDoc: 0,\n\t srcLang: 0,\n\t srcSet: 0,\n\t start: HAS_NUMERIC_VALUE,\n\t step: 0,\n\t style: 0,\n\t summary: 0,\n\t tabIndex: 0,\n\t target: 0,\n\t title: 0,\n\t // Setting .type throws on non-<input> tags\n\t type: 0,\n\t useMap: 0,\n\t value: 0,\n\t width: 0,\n\t wmode: 0,\n\t wrap: 0,\n\t\n\t /**\n\t * RDFa Properties\n\t */\n\t about: 0,\n\t datatype: 0,\n\t inlist: 0,\n\t prefix: 0,\n\t // property is also supported for OpenGraph in meta tags.\n\t property: 0,\n\t resource: 0,\n\t 'typeof': 0,\n\t vocab: 0,\n\t\n\t /**\n\t * Non-standard Properties\n\t */\n\t // autoCapitalize and autoCorrect are supported in Mobile Safari for\n\t // keyboard hints.\n\t autoCapitalize: 0,\n\t autoCorrect: 0,\n\t // autoSave allows WebKit/Blink to persist values of input fields on page reloads\n\t autoSave: 0,\n\t // color is for Safari mask-icon link\n\t color: 0,\n\t // itemProp, itemScope, itemType are for\n\t // Microdata support. See http://schema.org/docs/gs.html\n\t itemProp: 0,\n\t itemScope: HAS_BOOLEAN_VALUE,\n\t itemType: 0,\n\t // itemID and itemRef are for Microdata support as well but\n\t // only specified in the WHATWG spec document. See\n\t // https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api\n\t itemID: 0,\n\t itemRef: 0,\n\t // results show looking glass icon and recent searches on input\n\t // search fields in WebKit/Blink\n\t results: 0,\n\t // IE-only attribute that specifies security restrictions on an iframe\n\t // as an alternative to the sandbox attribute on IE<10\n\t security: 0,\n\t // IE-only attribute that controls focus behavior\n\t unselectable: 0\n\t },\n\t DOMAttributeNames: {\n\t acceptCharset: 'accept-charset',\n\t className: 'class',\n\t htmlFor: 'for',\n\t httpEquiv: 'http-equiv'\n\t },\n\t DOMPropertyNames: {}\n\t};\n\t\n\tmodule.exports = HTMLDOMPropertyConfig;\n\n/***/ },\n/* 197 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactReconciler = __webpack_require__(34);\n\t\n\tvar instantiateReactComponent = __webpack_require__(115);\n\tvar KeyEscapeUtils = __webpack_require__(62);\n\tvar shouldUpdateReactComponent = __webpack_require__(72);\n\tvar traverseAllChildren = __webpack_require__(118);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar ReactComponentTreeHook;\n\t\n\tif (typeof process !== 'undefined' && ({\"NODE_ENV\":\"production\"}) && (\"production\") === 'test') {\n\t // Temporary hack.\n\t // Inline requires don't work well with Jest:\n\t // https://github.com/facebook/react/issues/7240\n\t // Remove the inline requires when we don't need them anymore:\n\t // https://github.com/facebook/react/pull/7178\n\t ReactComponentTreeHook = __webpack_require__(76);\n\t}\n\t\n\tfunction instantiateChild(childInstances, child, name, selfDebugID) {\n\t // We found a component instance.\n\t var keyUnique = childInstances[name] === undefined;\n\t if (false) {\n\t if (!ReactComponentTreeHook) {\n\t ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook');\n\t }\n\t if (!keyUnique) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0;\n\t }\n\t }\n\t if (child != null && keyUnique) {\n\t childInstances[name] = instantiateReactComponent(child, true);\n\t }\n\t}\n\t\n\t/**\n\t * ReactChildReconciler provides helpers for initializing or updating a set of\n\t * children. Its output is suitable for passing it onto ReactMultiChild which\n\t * does diffed reordering and insertion.\n\t */\n\tvar ReactChildReconciler = {\n\t /**\n\t * Generates a \"mount image\" for each of the supplied children. In the case\n\t * of `ReactDOMComponent`, a mount image is a string of markup.\n\t *\n\t * @param {?object} nestedChildNodes Nested child maps.\n\t * @return {?object} A set of child instances.\n\t * @internal\n\t */\n\t instantiateChildren: function instantiateChildren(nestedChildNodes, transaction, context, selfDebugID // 0 in production and for roots\n\t ) {\n\t if (nestedChildNodes == null) {\n\t return null;\n\t }\n\t var childInstances = {};\n\t\n\t if (false) {\n\t traverseAllChildren(nestedChildNodes, function (childInsts, child, name) {\n\t return instantiateChild(childInsts, child, name, selfDebugID);\n\t }, childInstances);\n\t } else {\n\t traverseAllChildren(nestedChildNodes, instantiateChild, childInstances);\n\t }\n\t return childInstances;\n\t },\n\t\n\t /**\n\t * Updates the rendered children and returns a new set of children.\n\t *\n\t * @param {?object} prevChildren Previously initialized set of children.\n\t * @param {?object} nextChildren Flat child element maps.\n\t * @param {ReactReconcileTransaction} transaction\n\t * @param {object} context\n\t * @return {?object} A new set of child instances.\n\t * @internal\n\t */\n\t updateChildren: function updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, hostParent, hostContainerInfo, context, selfDebugID // 0 in production and for roots\n\t ) {\n\t // We currently don't have a way to track moves here but if we use iterators\n\t // instead of for..in we can zip the iterators and check if an item has\n\t // moved.\n\t // TODO: If nothing has changed, return the prevChildren object so that we\n\t // can quickly bailout if nothing has changed.\n\t if (!nextChildren && !prevChildren) {\n\t return;\n\t }\n\t var name;\n\t var prevChild;\n\t for (name in nextChildren) {\n\t if (!nextChildren.hasOwnProperty(name)) {\n\t continue;\n\t }\n\t prevChild = prevChildren && prevChildren[name];\n\t var prevElement = prevChild && prevChild._currentElement;\n\t var nextElement = nextChildren[name];\n\t if (prevChild != null && shouldUpdateReactComponent(prevElement, nextElement)) {\n\t ReactReconciler.receiveComponent(prevChild, nextElement, transaction, context);\n\t nextChildren[name] = prevChild;\n\t } else {\n\t if (prevChild) {\n\t removedNodes[name] = ReactReconciler.getHostNode(prevChild);\n\t ReactReconciler.unmountComponent(prevChild, false);\n\t }\n\t // The child must be instantiated before it's mounted.\n\t var nextChildInstance = instantiateReactComponent(nextElement, true);\n\t nextChildren[name] = nextChildInstance;\n\t // Creating mount image now ensures refs are resolved in right order\n\t // (see https://github.com/facebook/react/pull/7101 for explanation).\n\t var nextChildMountImage = ReactReconciler.mountComponent(nextChildInstance, transaction, hostParent, hostContainerInfo, context, selfDebugID);\n\t mountImages.push(nextChildMountImage);\n\t }\n\t }\n\t // Unmount children that are no longer present.\n\t for (name in prevChildren) {\n\t if (prevChildren.hasOwnProperty(name) && !(nextChildren && nextChildren.hasOwnProperty(name))) {\n\t prevChild = prevChildren[name];\n\t removedNodes[name] = ReactReconciler.getHostNode(prevChild);\n\t ReactReconciler.unmountComponent(prevChild, false);\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * Unmounts all rendered children. This should be used to clean up children\n\t * when this component is unmounted.\n\t *\n\t * @param {?object} renderedChildren Previously initialized set of children.\n\t * @internal\n\t */\n\t unmountChildren: function unmountChildren(renderedChildren, safely) {\n\t for (var name in renderedChildren) {\n\t if (renderedChildren.hasOwnProperty(name)) {\n\t var renderedChild = renderedChildren[name];\n\t ReactReconciler.unmountComponent(renderedChild, safely);\n\t }\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactChildReconciler;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29)))\n\n/***/ },\n/* 198 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMChildrenOperations = __webpack_require__(58);\n\tvar ReactDOMIDOperations = __webpack_require__(204);\n\t\n\t/**\n\t * Abstracts away all functionality of the reconciler that requires knowledge of\n\t * the browser context. TODO: These callers should be refactored to avoid the\n\t * need for this injection.\n\t */\n\tvar ReactComponentBrowserEnvironment = {\n\t\n\t processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,\n\t\n\t replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup\n\t\n\t};\n\t\n\tmodule.exports = ReactComponentBrowserEnvironment;\n\n/***/ },\n/* 199 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(7);\n\t\n\tvar React = __webpack_require__(20);\n\tvar ReactComponentEnvironment = __webpack_require__(64);\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\tvar ReactErrorUtils = __webpack_require__(65);\n\tvar ReactInstanceMap = __webpack_require__(33);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\tvar ReactNodeTypes = __webpack_require__(108);\n\tvar ReactReconciler = __webpack_require__(34);\n\t\n\tif (false) {\n\t var checkReactTypeSpec = require('./checkReactTypeSpec');\n\t}\n\t\n\tvar emptyObject = __webpack_require__(120);\n\tvar invariant = __webpack_require__(3);\n\tvar shallowEqual = __webpack_require__(74);\n\tvar shouldUpdateReactComponent = __webpack_require__(72);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar CompositeTypes = {\n\t ImpureClass: 0,\n\t PureClass: 1,\n\t StatelessFunctional: 2\n\t};\n\t\n\tfunction StatelessComponent(Component) {}\n\tStatelessComponent.prototype.render = function () {\n\t var Component = ReactInstanceMap.get(this)._currentElement.type;\n\t var element = Component(this.props, this.context, this.updater);\n\t warnIfInvalidElement(Component, element);\n\t return element;\n\t};\n\t\n\tfunction warnIfInvalidElement(Component, element) {\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(element === null || element === false || React.isValidElement(element), '%s(...): A valid React element (or null) must be returned. You may have ' + 'returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(!Component.childContextTypes, '%s(...): childContextTypes cannot be defined on a functional component.', Component.displayName || Component.name || 'Component') : void 0;\n\t }\n\t}\n\t\n\tfunction shouldConstruct(Component) {\n\t return !!(Component.prototype && Component.prototype.isReactComponent);\n\t}\n\t\n\tfunction isPureComponent(Component) {\n\t return !!(Component.prototype && Component.prototype.isPureReactComponent);\n\t}\n\t\n\t// Separated into a function to contain deoptimizations caused by try/finally.\n\tfunction measureLifeCyclePerf(fn, debugID, timerType) {\n\t if (debugID === 0) {\n\t // Top-level wrappers (see ReactMount) and empty components (see\n\t // ReactDOMEmptyComponent) are invisible to hooks and devtools.\n\t // Both are implementation details that should go away in the future.\n\t return fn();\n\t }\n\t\n\t ReactInstrumentation.debugTool.onBeginLifeCycleTimer(debugID, timerType);\n\t try {\n\t return fn();\n\t } finally {\n\t ReactInstrumentation.debugTool.onEndLifeCycleTimer(debugID, timerType);\n\t }\n\t}\n\t\n\t/**\n\t * ------------------ The Life-Cycle of a Composite Component ------------------\n\t *\n\t * - constructor: Initialization of state. The instance is now retained.\n\t * - componentWillMount\n\t * - render\n\t * - [children's constructors]\n\t * - [children's componentWillMount and render]\n\t * - [children's componentDidMount]\n\t * - componentDidMount\n\t *\n\t * Update Phases:\n\t * - componentWillReceiveProps (only called if parent updated)\n\t * - shouldComponentUpdate\n\t * - componentWillUpdate\n\t * - render\n\t * - [children's constructors or receive props phases]\n\t * - componentDidUpdate\n\t *\n\t * - componentWillUnmount\n\t * - [children's componentWillUnmount]\n\t * - [children destroyed]\n\t * - (destroyed): The instance is now blank, released by React and ready for GC.\n\t *\n\t * -----------------------------------------------------------------------------\n\t */\n\t\n\t/**\n\t * An incrementing ID assigned to each component when it is mounted. This is\n\t * used to enforce the order in which `ReactUpdates` updates dirty components.\n\t *\n\t * @private\n\t */\n\tvar nextMountID = 1;\n\t\n\t/**\n\t * @lends {ReactCompositeComponent.prototype}\n\t */\n\tvar ReactCompositeComponent = {\n\t\n\t /**\n\t * Base constructor for all composite component.\n\t *\n\t * @param {ReactElement} element\n\t * @final\n\t * @internal\n\t */\n\t construct: function construct(element) {\n\t this._currentElement = element;\n\t this._rootNodeID = 0;\n\t this._compositeType = null;\n\t this._instance = null;\n\t this._hostParent = null;\n\t this._hostContainerInfo = null;\n\t\n\t // See ReactUpdateQueue\n\t this._updateBatchNumber = null;\n\t this._pendingElement = null;\n\t this._pendingStateQueue = null;\n\t this._pendingReplaceState = false;\n\t this._pendingForceUpdate = false;\n\t\n\t this._renderedNodeType = null;\n\t this._renderedComponent = null;\n\t this._context = null;\n\t this._mountOrder = 0;\n\t this._topLevelWrapper = null;\n\t\n\t // See ReactUpdates and ReactUpdateQueue.\n\t this._pendingCallbacks = null;\n\t\n\t // ComponentWillUnmount shall only be called once\n\t this._calledComponentWillUnmount = false;\n\t\n\t if (false) {\n\t this._warnedAboutRefsInRender = false;\n\t }\n\t },\n\t\n\t /**\n\t * Initializes the component, renders markup, and registers event listeners.\n\t *\n\t * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n\t * @param {?object} hostParent\n\t * @param {?object} hostContainerInfo\n\t * @param {?object} context\n\t * @return {?string} Rendered markup to be inserted into the DOM.\n\t * @final\n\t * @internal\n\t */\n\t mountComponent: function mountComponent(transaction, hostParent, hostContainerInfo, context) {\n\t var _this = this;\n\t\n\t this._context = context;\n\t this._mountOrder = nextMountID++;\n\t this._hostParent = hostParent;\n\t this._hostContainerInfo = hostContainerInfo;\n\t\n\t var publicProps = this._currentElement.props;\n\t var publicContext = this._processContext(context);\n\t\n\t var Component = this._currentElement.type;\n\t\n\t var updateQueue = transaction.getUpdateQueue();\n\t\n\t // Initialize the public class\n\t var doConstruct = shouldConstruct(Component);\n\t var inst = this._constructComponent(doConstruct, publicProps, publicContext, updateQueue);\n\t var renderedElement;\n\t\n\t // Support functional components\n\t if (!doConstruct && (inst == null || inst.render == null)) {\n\t renderedElement = inst;\n\t warnIfInvalidElement(Component, renderedElement);\n\t !(inst === null || inst === false || React.isValidElement(inst)) ? false ? invariant(false, '%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : _prodInvariant('105', Component.displayName || Component.name || 'Component') : void 0;\n\t inst = new StatelessComponent(Component);\n\t this._compositeType = CompositeTypes.StatelessFunctional;\n\t } else {\n\t if (isPureComponent(Component)) {\n\t this._compositeType = CompositeTypes.PureClass;\n\t } else {\n\t this._compositeType = CompositeTypes.ImpureClass;\n\t }\n\t }\n\t\n\t if (false) {\n\t // This will throw later in _renderValidatedComponent, but add an early\n\t // warning now to help debugging\n\t if (inst.render == null) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`.', Component.displayName || Component.name || 'Component') : void 0;\n\t }\n\t\n\t var propsMutated = inst.props !== publicProps;\n\t var componentName = Component.displayName || Component.name || 'Component';\n\t\n\t process.env.NODE_ENV !== 'production' ? warning(inst.props === undefined || !propsMutated, '%s(...): When calling super() in `%s`, make sure to pass ' + 'up the same props that your component\\'s constructor was passed.', componentName, componentName) : void 0;\n\t }\n\t\n\t // These should be set up in the constructor, but as a convenience for\n\t // simpler class abstractions, we set them up after the fact.\n\t inst.props = publicProps;\n\t inst.context = publicContext;\n\t inst.refs = emptyObject;\n\t inst.updater = updateQueue;\n\t\n\t this._instance = inst;\n\t\n\t // Store a reference from the instance back to the internal representation\n\t ReactInstanceMap.set(inst, this);\n\t\n\t if (false) {\n\t // Since plain JS classes are defined without any special initialization\n\t // logic, we can not catch common errors early. Therefore, we have to\n\t // catch them here, at initialization time, instead.\n\t process.env.NODE_ENV !== 'production' ? warning(!inst.getInitialState || inst.getInitialState.isReactClassApproved, 'getInitialState was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Did you mean to define a state property instead?', this.getName() || 'a component') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(!inst.getDefaultProps || inst.getDefaultProps.isReactClassApproved, 'getDefaultProps was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Use a static property to define defaultProps instead.', this.getName() || 'a component') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(!inst.propTypes, 'propTypes was defined as an instance property on %s. Use a static ' + 'property to define propTypes instead.', this.getName() || 'a component') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(!inst.contextTypes, 'contextTypes was defined as an instance property on %s. Use a ' + 'static property to define contextTypes instead.', this.getName() || 'a component') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentShouldUpdate !== 'function', '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', this.getName() || 'A component') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentDidUnmount !== 'function', '%s has a method called ' + 'componentDidUnmount(). But there is no such lifecycle method. ' + 'Did you mean componentWillUnmount()?', this.getName() || 'A component') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentWillRecieveProps !== 'function', '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', this.getName() || 'A component') : void 0;\n\t }\n\t\n\t var initialState = inst.state;\n\t if (initialState === undefined) {\n\t inst.state = initialState = null;\n\t }\n\t !((typeof initialState === 'undefined' ? 'undefined' : _typeof(initialState)) === 'object' && !Array.isArray(initialState)) ? false ? invariant(false, '%s.state: must be set to an object or null', this.getName() || 'ReactCompositeComponent') : _prodInvariant('106', this.getName() || 'ReactCompositeComponent') : void 0;\n\t\n\t this._pendingStateQueue = null;\n\t this._pendingReplaceState = false;\n\t this._pendingForceUpdate = false;\n\t\n\t var markup;\n\t if (inst.unstable_handleError) {\n\t markup = this.performInitialMountWithErrorHandling(renderedElement, hostParent, hostContainerInfo, transaction, context);\n\t } else {\n\t markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);\n\t }\n\t\n\t if (inst.componentDidMount) {\n\t if (false) {\n\t transaction.getReactMountReady().enqueue(function () {\n\t measureLifeCyclePerf(function () {\n\t return inst.componentDidMount();\n\t }, _this._debugID, 'componentDidMount');\n\t });\n\t } else {\n\t transaction.getReactMountReady().enqueue(inst.componentDidMount, inst);\n\t }\n\t }\n\t\n\t return markup;\n\t },\n\t\n\t _constructComponent: function _constructComponent(doConstruct, publicProps, publicContext, updateQueue) {\n\t if (false) {\n\t ReactCurrentOwner.current = this;\n\t try {\n\t return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue);\n\t } finally {\n\t ReactCurrentOwner.current = null;\n\t }\n\t } else {\n\t return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue);\n\t }\n\t },\n\t\n\t _constructComponentWithoutOwner: function _constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue) {\n\t var Component = this._currentElement.type;\n\t\n\t if (doConstruct) {\n\t if (false) {\n\t return measureLifeCyclePerf(function () {\n\t return new Component(publicProps, publicContext, updateQueue);\n\t }, this._debugID, 'ctor');\n\t } else {\n\t return new Component(publicProps, publicContext, updateQueue);\n\t }\n\t }\n\t\n\t // This can still be an instance in case of factory components\n\t // but we'll count this as time spent rendering as the more common case.\n\t if (false) {\n\t return measureLifeCyclePerf(function () {\n\t return Component(publicProps, publicContext, updateQueue);\n\t }, this._debugID, 'render');\n\t } else {\n\t return Component(publicProps, publicContext, updateQueue);\n\t }\n\t },\n\t\n\t performInitialMountWithErrorHandling: function performInitialMountWithErrorHandling(renderedElement, hostParent, hostContainerInfo, transaction, context) {\n\t var markup;\n\t var checkpoint = transaction.checkpoint();\n\t try {\n\t markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);\n\t } catch (e) {\n\t // Roll back to checkpoint, handle error (which may add items to the transaction), and take a new checkpoint\n\t transaction.rollback(checkpoint);\n\t this._instance.unstable_handleError(e);\n\t if (this._pendingStateQueue) {\n\t this._instance.state = this._processPendingState(this._instance.props, this._instance.context);\n\t }\n\t checkpoint = transaction.checkpoint();\n\t\n\t this._renderedComponent.unmountComponent(true);\n\t transaction.rollback(checkpoint);\n\t\n\t // Try again - we've informed the component about the error, so they can render an error message this time.\n\t // If this throws again, the error will bubble up (and can be caught by a higher error boundary).\n\t markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);\n\t }\n\t return markup;\n\t },\n\t\n\t performInitialMount: function performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context) {\n\t var inst = this._instance;\n\t\n\t var debugID = 0;\n\t if (false) {\n\t debugID = this._debugID;\n\t }\n\t\n\t if (inst.componentWillMount) {\n\t if (false) {\n\t measureLifeCyclePerf(function () {\n\t return inst.componentWillMount();\n\t }, debugID, 'componentWillMount');\n\t } else {\n\t inst.componentWillMount();\n\t }\n\t // When mounting, calls to `setState` by `componentWillMount` will set\n\t // `this._pendingStateQueue` without triggering a re-render.\n\t if (this._pendingStateQueue) {\n\t inst.state = this._processPendingState(inst.props, inst.context);\n\t }\n\t }\n\t\n\t // If not a stateless component, we now render\n\t if (renderedElement === undefined) {\n\t renderedElement = this._renderValidatedComponent();\n\t }\n\t\n\t var nodeType = ReactNodeTypes.getType(renderedElement);\n\t this._renderedNodeType = nodeType;\n\t var child = this._instantiateReactComponent(renderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */\n\t );\n\t this._renderedComponent = child;\n\t\n\t var markup = ReactReconciler.mountComponent(child, transaction, hostParent, hostContainerInfo, this._processChildContext(context), debugID);\n\t\n\t if (false) {\n\t if (debugID !== 0) {\n\t var childDebugIDs = child._debugID !== 0 ? [child._debugID] : [];\n\t ReactInstrumentation.debugTool.onSetChildren(debugID, childDebugIDs);\n\t }\n\t }\n\t\n\t return markup;\n\t },\n\t\n\t getHostNode: function getHostNode() {\n\t return ReactReconciler.getHostNode(this._renderedComponent);\n\t },\n\t\n\t /**\n\t * Releases any resources allocated by `mountComponent`.\n\t *\n\t * @final\n\t * @internal\n\t */\n\t unmountComponent: function unmountComponent(safely) {\n\t if (!this._renderedComponent) {\n\t return;\n\t }\n\t\n\t var inst = this._instance;\n\t\n\t if (inst.componentWillUnmount && !inst._calledComponentWillUnmount) {\n\t inst._calledComponentWillUnmount = true;\n\t\n\t if (safely) {\n\t var name = this.getName() + '.componentWillUnmount()';\n\t ReactErrorUtils.invokeGuardedCallback(name, inst.componentWillUnmount.bind(inst));\n\t } else {\n\t if (false) {\n\t measureLifeCyclePerf(function () {\n\t return inst.componentWillUnmount();\n\t }, this._debugID, 'componentWillUnmount');\n\t } else {\n\t inst.componentWillUnmount();\n\t }\n\t }\n\t }\n\t\n\t if (this._renderedComponent) {\n\t ReactReconciler.unmountComponent(this._renderedComponent, safely);\n\t this._renderedNodeType = null;\n\t this._renderedComponent = null;\n\t this._instance = null;\n\t }\n\t\n\t // Reset pending fields\n\t // Even if this component is scheduled for another update in ReactUpdates,\n\t // it would still be ignored because these fields are reset.\n\t this._pendingStateQueue = null;\n\t this._pendingReplaceState = false;\n\t this._pendingForceUpdate = false;\n\t this._pendingCallbacks = null;\n\t this._pendingElement = null;\n\t\n\t // These fields do not really need to be reset since this object is no\n\t // longer accessible.\n\t this._context = null;\n\t this._rootNodeID = 0;\n\t this._topLevelWrapper = null;\n\t\n\t // Delete the reference from the instance to this internal representation\n\t // which allow the internals to be properly cleaned up even if the user\n\t // leaks a reference to the public instance.\n\t ReactInstanceMap.remove(inst);\n\t\n\t // Some existing components rely on inst.props even after they've been\n\t // destroyed (in event handlers).\n\t // TODO: inst.props = null;\n\t // TODO: inst.state = null;\n\t // TODO: inst.context = null;\n\t },\n\t\n\t /**\n\t * Filters the context object to only contain keys specified in\n\t * `contextTypes`\n\t *\n\t * @param {object} context\n\t * @return {?object}\n\t * @private\n\t */\n\t _maskContext: function _maskContext(context) {\n\t var Component = this._currentElement.type;\n\t var contextTypes = Component.contextTypes;\n\t if (!contextTypes) {\n\t return emptyObject;\n\t }\n\t var maskedContext = {};\n\t for (var contextName in contextTypes) {\n\t maskedContext[contextName] = context[contextName];\n\t }\n\t return maskedContext;\n\t },\n\t\n\t /**\n\t * Filters the context object to only contain keys specified in\n\t * `contextTypes`, and asserts that they are valid.\n\t *\n\t * @param {object} context\n\t * @return {?object}\n\t * @private\n\t */\n\t _processContext: function _processContext(context) {\n\t var maskedContext = this._maskContext(context);\n\t if (false) {\n\t var Component = this._currentElement.type;\n\t if (Component.contextTypes) {\n\t this._checkContextTypes(Component.contextTypes, maskedContext, 'context');\n\t }\n\t }\n\t return maskedContext;\n\t },\n\t\n\t /**\n\t * @param {object} currentContext\n\t * @return {object}\n\t * @private\n\t */\n\t _processChildContext: function _processChildContext(currentContext) {\n\t var Component = this._currentElement.type;\n\t var inst = this._instance;\n\t var childContext;\n\t\n\t if (inst.getChildContext) {\n\t if (false) {\n\t ReactInstrumentation.debugTool.onBeginProcessingChildContext();\n\t try {\n\t childContext = inst.getChildContext();\n\t } finally {\n\t ReactInstrumentation.debugTool.onEndProcessingChildContext();\n\t }\n\t } else {\n\t childContext = inst.getChildContext();\n\t }\n\t }\n\t\n\t if (childContext) {\n\t !(_typeof(Component.childContextTypes) === 'object') ? false ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().', this.getName() || 'ReactCompositeComponent') : _prodInvariant('107', this.getName() || 'ReactCompositeComponent') : void 0;\n\t if (false) {\n\t this._checkContextTypes(Component.childContextTypes, childContext, 'childContext');\n\t }\n\t for (var name in childContext) {\n\t !(name in Component.childContextTypes) ? false ? invariant(false, '%s.getChildContext(): key \"%s\" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : _prodInvariant('108', this.getName() || 'ReactCompositeComponent', name) : void 0;\n\t }\n\t return _assign({}, currentContext, childContext);\n\t }\n\t return currentContext;\n\t },\n\t\n\t /**\n\t * Assert that the context types are valid\n\t *\n\t * @param {object} typeSpecs Map of context field to a ReactPropType\n\t * @param {object} values Runtime values that need to be type-checked\n\t * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n\t * @private\n\t */\n\t _checkContextTypes: function _checkContextTypes(typeSpecs, values, location) {\n\t if (false) {\n\t checkReactTypeSpec(typeSpecs, values, location, this.getName(), null, this._debugID);\n\t }\n\t },\n\t\n\t receiveComponent: function receiveComponent(nextElement, transaction, nextContext) {\n\t var prevElement = this._currentElement;\n\t var prevContext = this._context;\n\t\n\t this._pendingElement = null;\n\t\n\t this.updateComponent(transaction, prevElement, nextElement, prevContext, nextContext);\n\t },\n\t\n\t /**\n\t * If any of `_pendingElement`, `_pendingStateQueue`, or `_pendingForceUpdate`\n\t * is set, update the component.\n\t *\n\t * @param {ReactReconcileTransaction} transaction\n\t * @internal\n\t */\n\t performUpdateIfNecessary: function performUpdateIfNecessary(transaction) {\n\t if (this._pendingElement != null) {\n\t ReactReconciler.receiveComponent(this, this._pendingElement, transaction, this._context);\n\t } else if (this._pendingStateQueue !== null || this._pendingForceUpdate) {\n\t this.updateComponent(transaction, this._currentElement, this._currentElement, this._context, this._context);\n\t } else {\n\t this._updateBatchNumber = null;\n\t }\n\t },\n\t\n\t /**\n\t * Perform an update to a mounted component. The componentWillReceiveProps and\n\t * shouldComponentUpdate methods are called, then (assuming the update isn't\n\t * skipped) the remaining update lifecycle methods are called and the DOM\n\t * representation is updated.\n\t *\n\t * By default, this implements React's rendering and reconciliation algorithm.\n\t * Sophisticated clients may wish to override this.\n\t *\n\t * @param {ReactReconcileTransaction} transaction\n\t * @param {ReactElement} prevParentElement\n\t * @param {ReactElement} nextParentElement\n\t * @internal\n\t * @overridable\n\t */\n\t updateComponent: function updateComponent(transaction, prevParentElement, nextParentElement, prevUnmaskedContext, nextUnmaskedContext) {\n\t var inst = this._instance;\n\t !(inst != null) ? false ? invariant(false, 'Attempted to update component `%s` that has already been unmounted (or failed to mount).', this.getName() || 'ReactCompositeComponent') : _prodInvariant('136', this.getName() || 'ReactCompositeComponent') : void 0;\n\t\n\t var willReceive = false;\n\t var nextContext;\n\t\n\t // Determine if the context has changed or not\n\t if (this._context === nextUnmaskedContext) {\n\t nextContext = inst.context;\n\t } else {\n\t nextContext = this._processContext(nextUnmaskedContext);\n\t willReceive = true;\n\t }\n\t\n\t var prevProps = prevParentElement.props;\n\t var nextProps = nextParentElement.props;\n\t\n\t // Not a simple state update but a props update\n\t if (prevParentElement !== nextParentElement) {\n\t willReceive = true;\n\t }\n\t\n\t // An update here will schedule an update but immediately set\n\t // _pendingStateQueue which will ensure that any state updates gets\n\t // immediately reconciled instead of waiting for the next batch.\n\t if (willReceive && inst.componentWillReceiveProps) {\n\t if (false) {\n\t measureLifeCyclePerf(function () {\n\t return inst.componentWillReceiveProps(nextProps, nextContext);\n\t }, this._debugID, 'componentWillReceiveProps');\n\t } else {\n\t inst.componentWillReceiveProps(nextProps, nextContext);\n\t }\n\t }\n\t\n\t var nextState = this._processPendingState(nextProps, nextContext);\n\t var shouldUpdate = true;\n\t\n\t if (!this._pendingForceUpdate) {\n\t if (inst.shouldComponentUpdate) {\n\t if (false) {\n\t shouldUpdate = measureLifeCyclePerf(function () {\n\t return inst.shouldComponentUpdate(nextProps, nextState, nextContext);\n\t }, this._debugID, 'shouldComponentUpdate');\n\t } else {\n\t shouldUpdate = inst.shouldComponentUpdate(nextProps, nextState, nextContext);\n\t }\n\t } else {\n\t if (this._compositeType === CompositeTypes.PureClass) {\n\t shouldUpdate = !shallowEqual(prevProps, nextProps) || !shallowEqual(inst.state, nextState);\n\t }\n\t }\n\t }\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(shouldUpdate !== undefined, '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', this.getName() || 'ReactCompositeComponent') : void 0;\n\t }\n\t\n\t this._updateBatchNumber = null;\n\t if (shouldUpdate) {\n\t this._pendingForceUpdate = false;\n\t // Will set `this.props`, `this.state` and `this.context`.\n\t this._performComponentUpdate(nextParentElement, nextProps, nextState, nextContext, transaction, nextUnmaskedContext);\n\t } else {\n\t // If it's determined that a component should not update, we still want\n\t // to set props and state but we shortcut the rest of the update.\n\t this._currentElement = nextParentElement;\n\t this._context = nextUnmaskedContext;\n\t inst.props = nextProps;\n\t inst.state = nextState;\n\t inst.context = nextContext;\n\t }\n\t },\n\t\n\t _processPendingState: function _processPendingState(props, context) {\n\t var inst = this._instance;\n\t var queue = this._pendingStateQueue;\n\t var replace = this._pendingReplaceState;\n\t this._pendingReplaceState = false;\n\t this._pendingStateQueue = null;\n\t\n\t if (!queue) {\n\t return inst.state;\n\t }\n\t\n\t if (replace && queue.length === 1) {\n\t return queue[0];\n\t }\n\t\n\t var nextState = _assign({}, replace ? queue[0] : inst.state);\n\t for (var i = replace ? 1 : 0; i < queue.length; i++) {\n\t var partial = queue[i];\n\t _assign(nextState, typeof partial === 'function' ? partial.call(inst, nextState, props, context) : partial);\n\t }\n\t\n\t return nextState;\n\t },\n\t\n\t /**\n\t * Merges new props and state, notifies delegate methods of update and\n\t * performs update.\n\t *\n\t * @param {ReactElement} nextElement Next element\n\t * @param {object} nextProps Next public object to set as properties.\n\t * @param {?object} nextState Next object to set as state.\n\t * @param {?object} nextContext Next public object to set as context.\n\t * @param {ReactReconcileTransaction} transaction\n\t * @param {?object} unmaskedContext\n\t * @private\n\t */\n\t _performComponentUpdate: function _performComponentUpdate(nextElement, nextProps, nextState, nextContext, transaction, unmaskedContext) {\n\t var _this2 = this;\n\t\n\t var inst = this._instance;\n\t\n\t var hasComponentDidUpdate = Boolean(inst.componentDidUpdate);\n\t var prevProps;\n\t var prevState;\n\t var prevContext;\n\t if (hasComponentDidUpdate) {\n\t prevProps = inst.props;\n\t prevState = inst.state;\n\t prevContext = inst.context;\n\t }\n\t\n\t if (inst.componentWillUpdate) {\n\t if (false) {\n\t measureLifeCyclePerf(function () {\n\t return inst.componentWillUpdate(nextProps, nextState, nextContext);\n\t }, this._debugID, 'componentWillUpdate');\n\t } else {\n\t inst.componentWillUpdate(nextProps, nextState, nextContext);\n\t }\n\t }\n\t\n\t this._currentElement = nextElement;\n\t this._context = unmaskedContext;\n\t inst.props = nextProps;\n\t inst.state = nextState;\n\t inst.context = nextContext;\n\t\n\t this._updateRenderedComponent(transaction, unmaskedContext);\n\t\n\t if (hasComponentDidUpdate) {\n\t if (false) {\n\t transaction.getReactMountReady().enqueue(function () {\n\t measureLifeCyclePerf(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), _this2._debugID, 'componentDidUpdate');\n\t });\n\t } else {\n\t transaction.getReactMountReady().enqueue(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), inst);\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * Call the component's `render` method and update the DOM accordingly.\n\t *\n\t * @param {ReactReconcileTransaction} transaction\n\t * @internal\n\t */\n\t _updateRenderedComponent: function _updateRenderedComponent(transaction, context) {\n\t var prevComponentInstance = this._renderedComponent;\n\t var prevRenderedElement = prevComponentInstance._currentElement;\n\t var nextRenderedElement = this._renderValidatedComponent();\n\t\n\t var debugID = 0;\n\t if (false) {\n\t debugID = this._debugID;\n\t }\n\t\n\t if (shouldUpdateReactComponent(prevRenderedElement, nextRenderedElement)) {\n\t ReactReconciler.receiveComponent(prevComponentInstance, nextRenderedElement, transaction, this._processChildContext(context));\n\t } else {\n\t var oldHostNode = ReactReconciler.getHostNode(prevComponentInstance);\n\t ReactReconciler.unmountComponent(prevComponentInstance, false);\n\t\n\t var nodeType = ReactNodeTypes.getType(nextRenderedElement);\n\t this._renderedNodeType = nodeType;\n\t var child = this._instantiateReactComponent(nextRenderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */\n\t );\n\t this._renderedComponent = child;\n\t\n\t var nextMarkup = ReactReconciler.mountComponent(child, transaction, this._hostParent, this._hostContainerInfo, this._processChildContext(context), debugID);\n\t\n\t if (false) {\n\t if (debugID !== 0) {\n\t var childDebugIDs = child._debugID !== 0 ? [child._debugID] : [];\n\t ReactInstrumentation.debugTool.onSetChildren(debugID, childDebugIDs);\n\t }\n\t }\n\t\n\t this._replaceNodeWithMarkup(oldHostNode, nextMarkup, prevComponentInstance);\n\t }\n\t },\n\t\n\t /**\n\t * Overridden in shallow rendering.\n\t *\n\t * @protected\n\t */\n\t _replaceNodeWithMarkup: function _replaceNodeWithMarkup(oldHostNode, nextMarkup, prevInstance) {\n\t ReactComponentEnvironment.replaceNodeWithMarkup(oldHostNode, nextMarkup, prevInstance);\n\t },\n\t\n\t /**\n\t * @protected\n\t */\n\t _renderValidatedComponentWithoutOwnerOrContext: function _renderValidatedComponentWithoutOwnerOrContext() {\n\t var inst = this._instance;\n\t var renderedElement;\n\t\n\t if (false) {\n\t renderedElement = measureLifeCyclePerf(function () {\n\t return inst.render();\n\t }, this._debugID, 'render');\n\t } else {\n\t renderedElement = inst.render();\n\t }\n\t\n\t if (false) {\n\t // We allow auto-mocks to proceed as if they're returning null.\n\t if (renderedElement === undefined && inst.render._isMockFunction) {\n\t // This is probably bad practice. Consider warning here and\n\t // deprecating this convenience.\n\t renderedElement = null;\n\t }\n\t }\n\t\n\t return renderedElement;\n\t },\n\t\n\t /**\n\t * @private\n\t */\n\t _renderValidatedComponent: function _renderValidatedComponent() {\n\t var renderedElement;\n\t if ((\"production\") !== 'production' || this._compositeType !== CompositeTypes.StatelessFunctional) {\n\t ReactCurrentOwner.current = this;\n\t try {\n\t renderedElement = this._renderValidatedComponentWithoutOwnerOrContext();\n\t } finally {\n\t ReactCurrentOwner.current = null;\n\t }\n\t } else {\n\t renderedElement = this._renderValidatedComponentWithoutOwnerOrContext();\n\t }\n\t !(\n\t // TODO: An `isValidNode` function would probably be more appropriate\n\t renderedElement === null || renderedElement === false || React.isValidElement(renderedElement)) ? false ? invariant(false, '%s.render(): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', this.getName() || 'ReactCompositeComponent') : _prodInvariant('109', this.getName() || 'ReactCompositeComponent') : void 0;\n\t\n\t return renderedElement;\n\t },\n\t\n\t /**\n\t * Lazily allocates the refs object and stores `component` as `ref`.\n\t *\n\t * @param {string} ref Reference name.\n\t * @param {component} component Component to store as `ref`.\n\t * @final\n\t * @private\n\t */\n\t attachRef: function attachRef(ref, component) {\n\t var inst = this.getPublicInstance();\n\t !(inst != null) ? false ? invariant(false, 'Stateless function components cannot have refs.') : _prodInvariant('110') : void 0;\n\t var publicComponentInstance = component.getPublicInstance();\n\t if (false) {\n\t var componentName = component && component.getName ? component.getName() : 'a component';\n\t process.env.NODE_ENV !== 'production' ? warning(publicComponentInstance != null || component._compositeType !== CompositeTypes.StatelessFunctional, 'Stateless function components cannot be given refs ' + '(See ref \"%s\" in %s created by %s). ' + 'Attempts to access this ref will fail.', ref, componentName, this.getName()) : void 0;\n\t }\n\t var refs = inst.refs === emptyObject ? inst.refs = {} : inst.refs;\n\t refs[ref] = publicComponentInstance;\n\t },\n\t\n\t /**\n\t * Detaches a reference name.\n\t *\n\t * @param {string} ref Name to dereference.\n\t * @final\n\t * @private\n\t */\n\t detachRef: function detachRef(ref) {\n\t var refs = this.getPublicInstance().refs;\n\t delete refs[ref];\n\t },\n\t\n\t /**\n\t * Get a text description of the component that can be used to identify it\n\t * in error messages.\n\t * @return {string} The name or null.\n\t * @internal\n\t */\n\t getName: function getName() {\n\t var type = this._currentElement.type;\n\t var constructor = this._instance && this._instance.constructor;\n\t return type.displayName || constructor && constructor.displayName || type.name || constructor && constructor.name || null;\n\t },\n\t\n\t /**\n\t * Get the publicly accessible representation of this component - i.e. what\n\t * is exposed by refs and returned by render. Can be null for stateless\n\t * components.\n\t *\n\t * @return {ReactComponent} the public component instance.\n\t * @internal\n\t */\n\t getPublicInstance: function getPublicInstance() {\n\t var inst = this._instance;\n\t if (this._compositeType === CompositeTypes.StatelessFunctional) {\n\t return null;\n\t }\n\t return inst;\n\t },\n\t\n\t // Stub\n\t _instantiateReactComponent: null\n\t\n\t};\n\t\n\tmodule.exports = ReactCompositeComponent;\n\n/***/ },\n/* 200 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t/* global hasOwnProperty:true */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(7);\n\t\n\tvar AutoFocusUtils = __webpack_require__(188);\n\tvar CSSPropertyOperations = __webpack_require__(190);\n\tvar DOMLazyTree = __webpack_require__(31);\n\tvar DOMNamespaces = __webpack_require__(59);\n\tvar DOMProperty = __webpack_require__(32);\n\tvar DOMPropertyOperations = __webpack_require__(99);\n\tvar EventPluginHub = __webpack_require__(42);\n\tvar EventPluginRegistry = __webpack_require__(60);\n\tvar ReactBrowserEventEmitter = __webpack_require__(47);\n\tvar ReactDOMComponentFlags = __webpack_require__(101);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactDOMInput = __webpack_require__(205);\n\tvar ReactDOMOption = __webpack_require__(206);\n\tvar ReactDOMSelect = __webpack_require__(102);\n\tvar ReactDOMTextarea = __webpack_require__(209);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\tvar ReactMultiChild = __webpack_require__(218);\n\tvar ReactServerRenderingTransaction = __webpack_require__(223);\n\t\n\tvar emptyFunction = __webpack_require__(19);\n\tvar escapeTextContentForBrowser = __webpack_require__(50);\n\tvar invariant = __webpack_require__(3);\n\tvar isEventSupported = __webpack_require__(71);\n\tvar shallowEqual = __webpack_require__(74);\n\tvar validateDOMNesting = __webpack_require__(73);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar Flags = ReactDOMComponentFlags;\n\tvar deleteListener = EventPluginHub.deleteListener;\n\tvar getNode = ReactDOMComponentTree.getNodeFromInstance;\n\tvar listenTo = ReactBrowserEventEmitter.listenTo;\n\tvar registrationNameModules = EventPluginRegistry.registrationNameModules;\n\t\n\t// For quickly matching children type, to test if can be treated as content.\n\tvar CONTENT_TYPES = { 'string': true, 'number': true };\n\t\n\tvar STYLE = 'style';\n\tvar HTML = '__html';\n\tvar RESERVED_PROPS = {\n\t children: null,\n\t dangerouslySetInnerHTML: null,\n\t suppressContentEditableWarning: null\n\t};\n\t\n\t// Node type for document fragments (Node.DOCUMENT_FRAGMENT_NODE).\n\tvar DOC_FRAGMENT_TYPE = 11;\n\t\n\tfunction getDeclarationErrorAddendum(internalInstance) {\n\t if (internalInstance) {\n\t var owner = internalInstance._currentElement._owner || null;\n\t if (owner) {\n\t var name = owner.getName();\n\t if (name) {\n\t return ' This DOM node was rendered by `' + name + '`.';\n\t }\n\t }\n\t }\n\t return '';\n\t}\n\t\n\tfunction friendlyStringify(obj) {\n\t if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object') {\n\t if (Array.isArray(obj)) {\n\t return '[' + obj.map(friendlyStringify).join(', ') + ']';\n\t } else {\n\t var pairs = [];\n\t for (var key in obj) {\n\t if (Object.prototype.hasOwnProperty.call(obj, key)) {\n\t var keyEscaped = /^[a-z$_][\\w$_]*$/i.test(key) ? key : JSON.stringify(key);\n\t pairs.push(keyEscaped + ': ' + friendlyStringify(obj[key]));\n\t }\n\t }\n\t return '{' + pairs.join(', ') + '}';\n\t }\n\t } else if (typeof obj === 'string') {\n\t return JSON.stringify(obj);\n\t } else if (typeof obj === 'function') {\n\t return '[function object]';\n\t }\n\t // Differs from JSON.stringify in that undefined because undefined and that\n\t // inf and nan don't become null\n\t return String(obj);\n\t}\n\t\n\tvar styleMutationWarning = {};\n\t\n\tfunction checkAndWarnForMutatedStyle(style1, style2, component) {\n\t if (style1 == null || style2 == null) {\n\t return;\n\t }\n\t if (shallowEqual(style1, style2)) {\n\t return;\n\t }\n\t\n\t var componentName = component._tag;\n\t var owner = component._currentElement._owner;\n\t var ownerName;\n\t if (owner) {\n\t ownerName = owner.getName();\n\t }\n\t\n\t var hash = ownerName + '|' + componentName;\n\t\n\t if (styleMutationWarning.hasOwnProperty(hash)) {\n\t return;\n\t }\n\t\n\t styleMutationWarning[hash] = true;\n\t\n\t false ? warning(false, '`%s` was passed a style object that has previously been mutated. ' + 'Mutating `style` is deprecated. Consider cloning it beforehand. Check ' + 'the `render` %s. Previous style: %s. Mutated style: %s.', componentName, owner ? 'of `' + ownerName + '`' : 'using <' + componentName + '>', friendlyStringify(style1), friendlyStringify(style2)) : void 0;\n\t}\n\t\n\t/**\n\t * @param {object} component\n\t * @param {?object} props\n\t */\n\tfunction assertValidProps(component, props) {\n\t if (!props) {\n\t return;\n\t }\n\t // Note the use of `==` which checks for null or undefined.\n\t if (voidElementTags[component._tag]) {\n\t !(props.children == null && props.dangerouslySetInnerHTML == null) ? false ? invariant(false, '%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : _prodInvariant('137', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : void 0;\n\t }\n\t if (props.dangerouslySetInnerHTML != null) {\n\t !(props.children == null) ? false ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : _prodInvariant('60') : void 0;\n\t !(_typeof(props.dangerouslySetInnerHTML) === 'object' && HTML in props.dangerouslySetInnerHTML) ? false ? invariant(false, '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.') : _prodInvariant('61') : void 0;\n\t }\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(props.innerHTML == null, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(props.suppressContentEditableWarning || !props.contentEditable || props.children == null, 'A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(props.onFocusIn == null && props.onFocusOut == null, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.') : void 0;\n\t }\n\t !(props.style == null || _typeof(props.style) === 'object') ? false ? invariant(false, 'The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + \\'em\\'}} when using JSX.%s', getDeclarationErrorAddendum(component)) : _prodInvariant('62', getDeclarationErrorAddendum(component)) : void 0;\n\t}\n\t\n\tfunction enqueuePutListener(inst, registrationName, listener, transaction) {\n\t if (transaction instanceof ReactServerRenderingTransaction) {\n\t return;\n\t }\n\t if (false) {\n\t // IE8 has no API for event capturing and the `onScroll` event doesn't\n\t // bubble.\n\t process.env.NODE_ENV !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), 'This browser doesn\\'t support the `onScroll` event') : void 0;\n\t }\n\t var containerInfo = inst._hostContainerInfo;\n\t var isDocumentFragment = containerInfo._node && containerInfo._node.nodeType === DOC_FRAGMENT_TYPE;\n\t var doc = isDocumentFragment ? containerInfo._node : containerInfo._ownerDocument;\n\t listenTo(registrationName, doc);\n\t transaction.getReactMountReady().enqueue(putListener, {\n\t inst: inst,\n\t registrationName: registrationName,\n\t listener: listener\n\t });\n\t}\n\t\n\tfunction putListener() {\n\t var listenerToPut = this;\n\t EventPluginHub.putListener(listenerToPut.inst, listenerToPut.registrationName, listenerToPut.listener);\n\t}\n\t\n\tfunction inputPostMount() {\n\t var inst = this;\n\t ReactDOMInput.postMountWrapper(inst);\n\t}\n\t\n\tfunction textareaPostMount() {\n\t var inst = this;\n\t ReactDOMTextarea.postMountWrapper(inst);\n\t}\n\t\n\tfunction optionPostMount() {\n\t var inst = this;\n\t ReactDOMOption.postMountWrapper(inst);\n\t}\n\t\n\tvar setAndValidateContentChildDev = emptyFunction;\n\tif (false) {\n\t setAndValidateContentChildDev = function setAndValidateContentChildDev(content) {\n\t var hasExistingContent = this._contentDebugID != null;\n\t var debugID = this._debugID;\n\t // This ID represents the inlined child that has no backing instance:\n\t var contentDebugID = -debugID;\n\t\n\t if (content == null) {\n\t if (hasExistingContent) {\n\t ReactInstrumentation.debugTool.onUnmountComponent(this._contentDebugID);\n\t }\n\t this._contentDebugID = null;\n\t return;\n\t }\n\t\n\t validateDOMNesting(null, String(content), this, this._ancestorInfo);\n\t this._contentDebugID = contentDebugID;\n\t if (hasExistingContent) {\n\t ReactInstrumentation.debugTool.onBeforeUpdateComponent(contentDebugID, content);\n\t ReactInstrumentation.debugTool.onUpdateComponent(contentDebugID);\n\t } else {\n\t ReactInstrumentation.debugTool.onBeforeMountComponent(contentDebugID, content, debugID);\n\t ReactInstrumentation.debugTool.onMountComponent(contentDebugID);\n\t ReactInstrumentation.debugTool.onSetChildren(debugID, [contentDebugID]);\n\t }\n\t };\n\t}\n\t\n\t// There are so many media events, it makes sense to just\n\t// maintain a list rather than create a `trapBubbledEvent` for each\n\tvar mediaEvents = {\n\t topAbort: 'abort',\n\t topCanPlay: 'canplay',\n\t topCanPlayThrough: 'canplaythrough',\n\t topDurationChange: 'durationchange',\n\t topEmptied: 'emptied',\n\t topEncrypted: 'encrypted',\n\t topEnded: 'ended',\n\t topError: 'error',\n\t topLoadedData: 'loadeddata',\n\t topLoadedMetadata: 'loadedmetadata',\n\t topLoadStart: 'loadstart',\n\t topPause: 'pause',\n\t topPlay: 'play',\n\t topPlaying: 'playing',\n\t topProgress: 'progress',\n\t topRateChange: 'ratechange',\n\t topSeeked: 'seeked',\n\t topSeeking: 'seeking',\n\t topStalled: 'stalled',\n\t topSuspend: 'suspend',\n\t topTimeUpdate: 'timeupdate',\n\t topVolumeChange: 'volumechange',\n\t topWaiting: 'waiting'\n\t};\n\t\n\tfunction trapBubbledEventsLocal() {\n\t var inst = this;\n\t // If a component renders to null or if another component fatals and causes\n\t // the state of the tree to be corrupted, `node` here can be null.\n\t !inst._rootNodeID ? false ? invariant(false, 'Must be mounted to trap events') : _prodInvariant('63') : void 0;\n\t var node = getNode(inst);\n\t !node ? false ? invariant(false, 'trapBubbledEvent(...): Requires node to be rendered.') : _prodInvariant('64') : void 0;\n\t\n\t switch (inst._tag) {\n\t case 'iframe':\n\t case 'object':\n\t inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topLoad', 'load', node)];\n\t break;\n\t case 'video':\n\t case 'audio':\n\t\n\t inst._wrapperState.listeners = [];\n\t // Create listener for each media event\n\t for (var event in mediaEvents) {\n\t if (mediaEvents.hasOwnProperty(event)) {\n\t inst._wrapperState.listeners.push(ReactBrowserEventEmitter.trapBubbledEvent(event, mediaEvents[event], node));\n\t }\n\t }\n\t break;\n\t case 'source':\n\t inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topError', 'error', node)];\n\t break;\n\t case 'img':\n\t inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topError', 'error', node), ReactBrowserEventEmitter.trapBubbledEvent('topLoad', 'load', node)];\n\t break;\n\t case 'form':\n\t inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topReset', 'reset', node), ReactBrowserEventEmitter.trapBubbledEvent('topSubmit', 'submit', node)];\n\t break;\n\t case 'input':\n\t case 'select':\n\t case 'textarea':\n\t inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topInvalid', 'invalid', node)];\n\t break;\n\t }\n\t}\n\t\n\tfunction postUpdateSelectWrapper() {\n\t ReactDOMSelect.postUpdateWrapper(this);\n\t}\n\t\n\t// For HTML, certain tags should omit their close tag. We keep a whitelist for\n\t// those special-case tags.\n\t\n\tvar omittedCloseTags = {\n\t 'area': true,\n\t 'base': true,\n\t 'br': true,\n\t 'col': true,\n\t 'embed': true,\n\t 'hr': true,\n\t 'img': true,\n\t 'input': true,\n\t 'keygen': true,\n\t 'link': true,\n\t 'meta': true,\n\t 'param': true,\n\t 'source': true,\n\t 'track': true,\n\t 'wbr': true\n\t};\n\t\n\tvar newlineEatingTags = {\n\t 'listing': true,\n\t 'pre': true,\n\t 'textarea': true\n\t};\n\t\n\t// For HTML, certain tags cannot have children. This has the same purpose as\n\t// `omittedCloseTags` except that `menuitem` should still have its closing tag.\n\t\n\tvar voidElementTags = _assign({\n\t 'menuitem': true\n\t}, omittedCloseTags);\n\t\n\t// We accept any tag to be rendered but since this gets injected into arbitrary\n\t// HTML, we want to make sure that it's a safe tag.\n\t// http://www.w3.org/TR/REC-xml/#NT-Name\n\t\n\tvar VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\\.\\-\\d]*$/; // Simplified subset\n\tvar validatedTagCache = {};\n\tvar hasOwnProperty = {}.hasOwnProperty;\n\t\n\tfunction validateDangerousTag(tag) {\n\t if (!hasOwnProperty.call(validatedTagCache, tag)) {\n\t !VALID_TAG_REGEX.test(tag) ? false ? invariant(false, 'Invalid tag: %s', tag) : _prodInvariant('65', tag) : void 0;\n\t validatedTagCache[tag] = true;\n\t }\n\t}\n\t\n\tfunction isCustomComponent(tagName, props) {\n\t return tagName.indexOf('-') >= 0 || props.is != null;\n\t}\n\t\n\tvar globalIdCounter = 1;\n\t\n\t/**\n\t * Creates a new React class that is idempotent and capable of containing other\n\t * React components. It accepts event listeners and DOM properties that are\n\t * valid according to `DOMProperty`.\n\t *\n\t * - Event listeners: `onClick`, `onMouseDown`, etc.\n\t * - DOM properties: `className`, `name`, `title`, etc.\n\t *\n\t * The `style` property functions differently from the DOM API. It accepts an\n\t * object mapping of style properties to values.\n\t *\n\t * @constructor ReactDOMComponent\n\t * @extends ReactMultiChild\n\t */\n\tfunction ReactDOMComponent(element) {\n\t var tag = element.type;\n\t validateDangerousTag(tag);\n\t this._currentElement = element;\n\t this._tag = tag.toLowerCase();\n\t this._namespaceURI = null;\n\t this._renderedChildren = null;\n\t this._previousStyle = null;\n\t this._previousStyleCopy = null;\n\t this._hostNode = null;\n\t this._hostParent = null;\n\t this._rootNodeID = 0;\n\t this._domID = 0;\n\t this._hostContainerInfo = null;\n\t this._wrapperState = null;\n\t this._topLevelWrapper = null;\n\t this._flags = 0;\n\t if (false) {\n\t this._ancestorInfo = null;\n\t setAndValidateContentChildDev.call(this, null);\n\t }\n\t}\n\t\n\tReactDOMComponent.displayName = 'ReactDOMComponent';\n\t\n\tReactDOMComponent.Mixin = {\n\t\n\t /**\n\t * Generates root tag markup then recurses. This method has side effects and\n\t * is not idempotent.\n\t *\n\t * @internal\n\t * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n\t * @param {?ReactDOMComponent} the parent component instance\n\t * @param {?object} info about the host container\n\t * @param {object} context\n\t * @return {string} The computed markup.\n\t */\n\t mountComponent: function mountComponent(transaction, hostParent, hostContainerInfo, context) {\n\t this._rootNodeID = globalIdCounter++;\n\t this._domID = hostContainerInfo._idCounter++;\n\t this._hostParent = hostParent;\n\t this._hostContainerInfo = hostContainerInfo;\n\t\n\t var props = this._currentElement.props;\n\t\n\t switch (this._tag) {\n\t case 'audio':\n\t case 'form':\n\t case 'iframe':\n\t case 'img':\n\t case 'link':\n\t case 'object':\n\t case 'source':\n\t case 'video':\n\t this._wrapperState = {\n\t listeners: null\n\t };\n\t transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n\t break;\n\t case 'input':\n\t ReactDOMInput.mountWrapper(this, props, hostParent);\n\t props = ReactDOMInput.getHostProps(this, props);\n\t transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n\t break;\n\t case 'option':\n\t ReactDOMOption.mountWrapper(this, props, hostParent);\n\t props = ReactDOMOption.getHostProps(this, props);\n\t break;\n\t case 'select':\n\t ReactDOMSelect.mountWrapper(this, props, hostParent);\n\t props = ReactDOMSelect.getHostProps(this, props);\n\t transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n\t break;\n\t case 'textarea':\n\t ReactDOMTextarea.mountWrapper(this, props, hostParent);\n\t props = ReactDOMTextarea.getHostProps(this, props);\n\t transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n\t break;\n\t }\n\t\n\t assertValidProps(this, props);\n\t\n\t // We create tags in the namespace of their parent container, except HTML\n\t // tags get no namespace.\n\t var namespaceURI;\n\t var parentTag;\n\t if (hostParent != null) {\n\t namespaceURI = hostParent._namespaceURI;\n\t parentTag = hostParent._tag;\n\t } else if (hostContainerInfo._tag) {\n\t namespaceURI = hostContainerInfo._namespaceURI;\n\t parentTag = hostContainerInfo._tag;\n\t }\n\t if (namespaceURI == null || namespaceURI === DOMNamespaces.svg && parentTag === 'foreignobject') {\n\t namespaceURI = DOMNamespaces.html;\n\t }\n\t if (namespaceURI === DOMNamespaces.html) {\n\t if (this._tag === 'svg') {\n\t namespaceURI = DOMNamespaces.svg;\n\t } else if (this._tag === 'math') {\n\t namespaceURI = DOMNamespaces.mathml;\n\t }\n\t }\n\t this._namespaceURI = namespaceURI;\n\t\n\t if (false) {\n\t var parentInfo;\n\t if (hostParent != null) {\n\t parentInfo = hostParent._ancestorInfo;\n\t } else if (hostContainerInfo._tag) {\n\t parentInfo = hostContainerInfo._ancestorInfo;\n\t }\n\t if (parentInfo) {\n\t // parentInfo should always be present except for the top-level\n\t // component when server rendering\n\t validateDOMNesting(this._tag, null, this, parentInfo);\n\t }\n\t this._ancestorInfo = validateDOMNesting.updatedAncestorInfo(parentInfo, this._tag, this);\n\t }\n\t\n\t var mountImage;\n\t if (transaction.useCreateElement) {\n\t var ownerDocument = hostContainerInfo._ownerDocument;\n\t var el;\n\t if (namespaceURI === DOMNamespaces.html) {\n\t if (this._tag === 'script') {\n\t // Create the script via .innerHTML so its \"parser-inserted\" flag is\n\t // set to true and it does not execute\n\t var div = ownerDocument.createElement('div');\n\t var type = this._currentElement.type;\n\t div.innerHTML = '<' + type + '></' + type + '>';\n\t el = div.removeChild(div.firstChild);\n\t } else if (props.is) {\n\t el = ownerDocument.createElement(this._currentElement.type, props.is);\n\t } else {\n\t // Separate else branch instead of using `props.is || undefined` above becuase of a Firefox bug.\n\t // See discussion in https://github.com/facebook/react/pull/6896\n\t // and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240\n\t el = ownerDocument.createElement(this._currentElement.type);\n\t }\n\t } else {\n\t el = ownerDocument.createElementNS(namespaceURI, this._currentElement.type);\n\t }\n\t ReactDOMComponentTree.precacheNode(this, el);\n\t this._flags |= Flags.hasCachedChildNodes;\n\t if (!this._hostParent) {\n\t DOMPropertyOperations.setAttributeForRoot(el);\n\t }\n\t this._updateDOMProperties(null, props, transaction);\n\t var lazyTree = DOMLazyTree(el);\n\t this._createInitialChildren(transaction, props, context, lazyTree);\n\t mountImage = lazyTree;\n\t } else {\n\t var tagOpen = this._createOpenTagMarkupAndPutListeners(transaction, props);\n\t var tagContent = this._createContentMarkup(transaction, props, context);\n\t if (!tagContent && omittedCloseTags[this._tag]) {\n\t mountImage = tagOpen + '/>';\n\t } else {\n\t mountImage = tagOpen + '>' + tagContent + '</' + this._currentElement.type + '>';\n\t }\n\t }\n\t\n\t switch (this._tag) {\n\t case 'input':\n\t transaction.getReactMountReady().enqueue(inputPostMount, this);\n\t if (props.autoFocus) {\n\t transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n\t }\n\t break;\n\t case 'textarea':\n\t transaction.getReactMountReady().enqueue(textareaPostMount, this);\n\t if (props.autoFocus) {\n\t transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n\t }\n\t break;\n\t case 'select':\n\t if (props.autoFocus) {\n\t transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n\t }\n\t break;\n\t case 'button':\n\t if (props.autoFocus) {\n\t transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n\t }\n\t break;\n\t case 'option':\n\t transaction.getReactMountReady().enqueue(optionPostMount, this);\n\t break;\n\t }\n\t\n\t return mountImage;\n\t },\n\t\n\t /**\n\t * Creates markup for the open tag and all attributes.\n\t *\n\t * This method has side effects because events get registered.\n\t *\n\t * Iterating over object properties is faster than iterating over arrays.\n\t * @see http://jsperf.com/obj-vs-arr-iteration\n\t *\n\t * @private\n\t * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n\t * @param {object} props\n\t * @return {string} Markup of opening tag.\n\t */\n\t _createOpenTagMarkupAndPutListeners: function _createOpenTagMarkupAndPutListeners(transaction, props) {\n\t var ret = '<' + this._currentElement.type;\n\t\n\t for (var propKey in props) {\n\t if (!props.hasOwnProperty(propKey)) {\n\t continue;\n\t }\n\t var propValue = props[propKey];\n\t if (propValue == null) {\n\t continue;\n\t }\n\t if (registrationNameModules.hasOwnProperty(propKey)) {\n\t if (propValue) {\n\t enqueuePutListener(this, propKey, propValue, transaction);\n\t }\n\t } else {\n\t if (propKey === STYLE) {\n\t if (propValue) {\n\t if (false) {\n\t // See `_updateDOMProperties`. style block\n\t this._previousStyle = propValue;\n\t }\n\t propValue = this._previousStyleCopy = _assign({}, props.style);\n\t }\n\t propValue = CSSPropertyOperations.createMarkupForStyles(propValue, this);\n\t }\n\t var markup = null;\n\t if (this._tag != null && isCustomComponent(this._tag, props)) {\n\t if (!RESERVED_PROPS.hasOwnProperty(propKey)) {\n\t markup = DOMPropertyOperations.createMarkupForCustomAttribute(propKey, propValue);\n\t }\n\t } else {\n\t markup = DOMPropertyOperations.createMarkupForProperty(propKey, propValue);\n\t }\n\t if (markup) {\n\t ret += ' ' + markup;\n\t }\n\t }\n\t }\n\t\n\t // For static pages, no need to put React ID and checksum. Saves lots of\n\t // bytes.\n\t if (transaction.renderToStaticMarkup) {\n\t return ret;\n\t }\n\t\n\t if (!this._hostParent) {\n\t ret += ' ' + DOMPropertyOperations.createMarkupForRoot();\n\t }\n\t ret += ' ' + DOMPropertyOperations.createMarkupForID(this._domID);\n\t return ret;\n\t },\n\t\n\t /**\n\t * Creates markup for the content between the tags.\n\t *\n\t * @private\n\t * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n\t * @param {object} props\n\t * @param {object} context\n\t * @return {string} Content markup.\n\t */\n\t _createContentMarkup: function _createContentMarkup(transaction, props, context) {\n\t var ret = '';\n\t\n\t // Intentional use of != to avoid catching zero/false.\n\t var innerHTML = props.dangerouslySetInnerHTML;\n\t if (innerHTML != null) {\n\t if (innerHTML.__html != null) {\n\t ret = innerHTML.__html;\n\t }\n\t } else {\n\t var contentToUse = CONTENT_TYPES[_typeof(props.children)] ? props.children : null;\n\t var childrenToUse = contentToUse != null ? null : props.children;\n\t if (contentToUse != null) {\n\t // TODO: Validate that text is allowed as a child of this node\n\t ret = escapeTextContentForBrowser(contentToUse);\n\t if (false) {\n\t setAndValidateContentChildDev.call(this, contentToUse);\n\t }\n\t } else if (childrenToUse != null) {\n\t var mountImages = this.mountChildren(childrenToUse, transaction, context);\n\t ret = mountImages.join('');\n\t }\n\t }\n\t if (newlineEatingTags[this._tag] && ret.charAt(0) === '\\n') {\n\t // text/html ignores the first character in these tags if it's a newline\n\t // Prefer to break application/xml over text/html (for now) by adding\n\t // a newline specifically to get eaten by the parser. (Alternately for\n\t // textareas, replacing \"^\\n\" with \"\\r\\n\" doesn't get eaten, and the first\n\t // \\r is normalized out by HTMLTextAreaElement#value.)\n\t // See: <http://www.w3.org/TR/html-polyglot/#newlines-in-textarea-and-pre>\n\t // See: <http://www.w3.org/TR/html5/syntax.html#element-restrictions>\n\t // See: <http://www.w3.org/TR/html5/syntax.html#newlines>\n\t // See: Parsing of \"textarea\" \"listing\" and \"pre\" elements\n\t // from <http://www.w3.org/TR/html5/syntax.html#parsing-main-inbody>\n\t return '\\n' + ret;\n\t } else {\n\t return ret;\n\t }\n\t },\n\t\n\t _createInitialChildren: function _createInitialChildren(transaction, props, context, lazyTree) {\n\t // Intentional use of != to avoid catching zero/false.\n\t var innerHTML = props.dangerouslySetInnerHTML;\n\t if (innerHTML != null) {\n\t if (innerHTML.__html != null) {\n\t DOMLazyTree.queueHTML(lazyTree, innerHTML.__html);\n\t }\n\t } else {\n\t var contentToUse = CONTENT_TYPES[_typeof(props.children)] ? props.children : null;\n\t var childrenToUse = contentToUse != null ? null : props.children;\n\t if (contentToUse != null) {\n\t // TODO: Validate that text is allowed as a child of this node\n\t if (false) {\n\t setAndValidateContentChildDev.call(this, contentToUse);\n\t }\n\t DOMLazyTree.queueText(lazyTree, contentToUse);\n\t } else if (childrenToUse != null) {\n\t var mountImages = this.mountChildren(childrenToUse, transaction, context);\n\t for (var i = 0; i < mountImages.length; i++) {\n\t DOMLazyTree.queueChild(lazyTree, mountImages[i]);\n\t }\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * Receives a next element and updates the component.\n\t *\n\t * @internal\n\t * @param {ReactElement} nextElement\n\t * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n\t * @param {object} context\n\t */\n\t receiveComponent: function receiveComponent(nextElement, transaction, context) {\n\t var prevElement = this._currentElement;\n\t this._currentElement = nextElement;\n\t this.updateComponent(transaction, prevElement, nextElement, context);\n\t },\n\t\n\t /**\n\t * Updates a DOM component after it has already been allocated and\n\t * attached to the DOM. Reconciles the root DOM node, then recurses.\n\t *\n\t * @param {ReactReconcileTransaction} transaction\n\t * @param {ReactElement} prevElement\n\t * @param {ReactElement} nextElement\n\t * @internal\n\t * @overridable\n\t */\n\t updateComponent: function updateComponent(transaction, prevElement, nextElement, context) {\n\t var lastProps = prevElement.props;\n\t var nextProps = this._currentElement.props;\n\t\n\t switch (this._tag) {\n\t case 'input':\n\t lastProps = ReactDOMInput.getHostProps(this, lastProps);\n\t nextProps = ReactDOMInput.getHostProps(this, nextProps);\n\t break;\n\t case 'option':\n\t lastProps = ReactDOMOption.getHostProps(this, lastProps);\n\t nextProps = ReactDOMOption.getHostProps(this, nextProps);\n\t break;\n\t case 'select':\n\t lastProps = ReactDOMSelect.getHostProps(this, lastProps);\n\t nextProps = ReactDOMSelect.getHostProps(this, nextProps);\n\t break;\n\t case 'textarea':\n\t lastProps = ReactDOMTextarea.getHostProps(this, lastProps);\n\t nextProps = ReactDOMTextarea.getHostProps(this, nextProps);\n\t break;\n\t }\n\t\n\t assertValidProps(this, nextProps);\n\t this._updateDOMProperties(lastProps, nextProps, transaction);\n\t this._updateDOMChildren(lastProps, nextProps, transaction, context);\n\t\n\t switch (this._tag) {\n\t case 'input':\n\t // Update the wrapper around inputs *after* updating props. This has to\n\t // happen after `_updateDOMProperties`. Otherwise HTML5 input validations\n\t // raise warnings and prevent the new value from being assigned.\n\t ReactDOMInput.updateWrapper(this);\n\t break;\n\t case 'textarea':\n\t ReactDOMTextarea.updateWrapper(this);\n\t break;\n\t case 'select':\n\t // <select> value update needs to occur after <option> children\n\t // reconciliation\n\t transaction.getReactMountReady().enqueue(postUpdateSelectWrapper, this);\n\t break;\n\t }\n\t },\n\t\n\t /**\n\t * Reconciles the properties by detecting differences in property values and\n\t * updating the DOM as necessary. This function is probably the single most\n\t * critical path for performance optimization.\n\t *\n\t * TODO: Benchmark whether checking for changed values in memory actually\n\t * improves performance (especially statically positioned elements).\n\t * TODO: Benchmark the effects of putting this at the top since 99% of props\n\t * do not change for a given reconciliation.\n\t * TODO: Benchmark areas that can be improved with caching.\n\t *\n\t * @private\n\t * @param {object} lastProps\n\t * @param {object} nextProps\n\t * @param {?DOMElement} node\n\t */\n\t _updateDOMProperties: function _updateDOMProperties(lastProps, nextProps, transaction) {\n\t var propKey;\n\t var styleName;\n\t var styleUpdates;\n\t for (propKey in lastProps) {\n\t if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey) || lastProps[propKey] == null) {\n\t continue;\n\t }\n\t if (propKey === STYLE) {\n\t var lastStyle = this._previousStyleCopy;\n\t for (styleName in lastStyle) {\n\t if (lastStyle.hasOwnProperty(styleName)) {\n\t styleUpdates = styleUpdates || {};\n\t styleUpdates[styleName] = '';\n\t }\n\t }\n\t this._previousStyleCopy = null;\n\t } else if (registrationNameModules.hasOwnProperty(propKey)) {\n\t if (lastProps[propKey]) {\n\t // Only call deleteListener if there was a listener previously or\n\t // else willDeleteListener gets called when there wasn't actually a\n\t // listener (e.g., onClick={null})\n\t deleteListener(this, propKey);\n\t }\n\t } else if (isCustomComponent(this._tag, lastProps)) {\n\t if (!RESERVED_PROPS.hasOwnProperty(propKey)) {\n\t DOMPropertyOperations.deleteValueForAttribute(getNode(this), propKey);\n\t }\n\t } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {\n\t DOMPropertyOperations.deleteValueForProperty(getNode(this), propKey);\n\t }\n\t }\n\t for (propKey in nextProps) {\n\t var nextProp = nextProps[propKey];\n\t var lastProp = propKey === STYLE ? this._previousStyleCopy : lastProps != null ? lastProps[propKey] : undefined;\n\t if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp || nextProp == null && lastProp == null) {\n\t continue;\n\t }\n\t if (propKey === STYLE) {\n\t if (nextProp) {\n\t if (false) {\n\t checkAndWarnForMutatedStyle(this._previousStyleCopy, this._previousStyle, this);\n\t this._previousStyle = nextProp;\n\t }\n\t nextProp = this._previousStyleCopy = _assign({}, nextProp);\n\t } else {\n\t this._previousStyleCopy = null;\n\t }\n\t if (lastProp) {\n\t // Unset styles on `lastProp` but not on `nextProp`.\n\t for (styleName in lastProp) {\n\t if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) {\n\t styleUpdates = styleUpdates || {};\n\t styleUpdates[styleName] = '';\n\t }\n\t }\n\t // Update styles that changed since `lastProp`.\n\t for (styleName in nextProp) {\n\t if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) {\n\t styleUpdates = styleUpdates || {};\n\t styleUpdates[styleName] = nextProp[styleName];\n\t }\n\t }\n\t } else {\n\t // Relies on `updateStylesByID` not mutating `styleUpdates`.\n\t styleUpdates = nextProp;\n\t }\n\t } else if (registrationNameModules.hasOwnProperty(propKey)) {\n\t if (nextProp) {\n\t enqueuePutListener(this, propKey, nextProp, transaction);\n\t } else if (lastProp) {\n\t deleteListener(this, propKey);\n\t }\n\t } else if (isCustomComponent(this._tag, nextProps)) {\n\t if (!RESERVED_PROPS.hasOwnProperty(propKey)) {\n\t DOMPropertyOperations.setValueForAttribute(getNode(this), propKey, nextProp);\n\t }\n\t } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {\n\t var node = getNode(this);\n\t // If we're updating to null or undefined, we should remove the property\n\t // from the DOM node instead of inadvertently setting to a string. This\n\t // brings us in line with the same behavior we have on initial render.\n\t if (nextProp != null) {\n\t DOMPropertyOperations.setValueForProperty(node, propKey, nextProp);\n\t } else {\n\t DOMPropertyOperations.deleteValueForProperty(node, propKey);\n\t }\n\t }\n\t }\n\t if (styleUpdates) {\n\t CSSPropertyOperations.setValueForStyles(getNode(this), styleUpdates, this);\n\t }\n\t },\n\t\n\t /**\n\t * Reconciles the children with the various properties that affect the\n\t * children content.\n\t *\n\t * @param {object} lastProps\n\t * @param {object} nextProps\n\t * @param {ReactReconcileTransaction} transaction\n\t * @param {object} context\n\t */\n\t _updateDOMChildren: function _updateDOMChildren(lastProps, nextProps, transaction, context) {\n\t var lastContent = CONTENT_TYPES[_typeof(lastProps.children)] ? lastProps.children : null;\n\t var nextContent = CONTENT_TYPES[_typeof(nextProps.children)] ? nextProps.children : null;\n\t\n\t var lastHtml = lastProps.dangerouslySetInnerHTML && lastProps.dangerouslySetInnerHTML.__html;\n\t var nextHtml = nextProps.dangerouslySetInnerHTML && nextProps.dangerouslySetInnerHTML.__html;\n\t\n\t // Note the use of `!=` which checks for null or undefined.\n\t var lastChildren = lastContent != null ? null : lastProps.children;\n\t var nextChildren = nextContent != null ? null : nextProps.children;\n\t\n\t // If we're switching from children to content/html or vice versa, remove\n\t // the old content\n\t var lastHasContentOrHtml = lastContent != null || lastHtml != null;\n\t var nextHasContentOrHtml = nextContent != null || nextHtml != null;\n\t if (lastChildren != null && nextChildren == null) {\n\t this.updateChildren(null, transaction, context);\n\t } else if (lastHasContentOrHtml && !nextHasContentOrHtml) {\n\t this.updateTextContent('');\n\t if (false) {\n\t ReactInstrumentation.debugTool.onSetChildren(this._debugID, []);\n\t }\n\t }\n\t\n\t if (nextContent != null) {\n\t if (lastContent !== nextContent) {\n\t this.updateTextContent('' + nextContent);\n\t if (false) {\n\t setAndValidateContentChildDev.call(this, nextContent);\n\t }\n\t }\n\t } else if (nextHtml != null) {\n\t if (lastHtml !== nextHtml) {\n\t this.updateMarkup('' + nextHtml);\n\t }\n\t if (false) {\n\t ReactInstrumentation.debugTool.onSetChildren(this._debugID, []);\n\t }\n\t } else if (nextChildren != null) {\n\t if (false) {\n\t setAndValidateContentChildDev.call(this, null);\n\t }\n\t\n\t this.updateChildren(nextChildren, transaction, context);\n\t }\n\t },\n\t\n\t getHostNode: function getHostNode() {\n\t return getNode(this);\n\t },\n\t\n\t /**\n\t * Destroys all event registrations for this instance. Does not remove from\n\t * the DOM. That must be done by the parent.\n\t *\n\t * @internal\n\t */\n\t unmountComponent: function unmountComponent(safely) {\n\t switch (this._tag) {\n\t case 'audio':\n\t case 'form':\n\t case 'iframe':\n\t case 'img':\n\t case 'link':\n\t case 'object':\n\t case 'source':\n\t case 'video':\n\t var listeners = this._wrapperState.listeners;\n\t if (listeners) {\n\t for (var i = 0; i < listeners.length; i++) {\n\t listeners[i].remove();\n\t }\n\t }\n\t break;\n\t case 'html':\n\t case 'head':\n\t case 'body':\n\t /**\n\t * Components like <html> <head> and <body> can't be removed or added\n\t * easily in a cross-browser way, however it's valuable to be able to\n\t * take advantage of React's reconciliation for styling and <title>\n\t * management. So we just document it and throw in dangerous cases.\n\t */\n\t true ? false ? invariant(false, '<%s> tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg <html>, <head>, and <body>) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.', this._tag) : _prodInvariant('66', this._tag) : void 0;\n\t break;\n\t }\n\t\n\t this.unmountChildren(safely);\n\t ReactDOMComponentTree.uncacheNode(this);\n\t EventPluginHub.deleteAllListeners(this);\n\t this._rootNodeID = 0;\n\t this._domID = 0;\n\t this._wrapperState = null;\n\t\n\t if (false) {\n\t setAndValidateContentChildDev.call(this, null);\n\t }\n\t },\n\t\n\t getPublicInstance: function getPublicInstance() {\n\t return getNode(this);\n\t }\n\t\n\t};\n\t\n\t_assign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin);\n\t\n\tmodule.exports = ReactDOMComponent;\n\n/***/ },\n/* 201 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar validateDOMNesting = __webpack_require__(73);\n\t\n\tvar DOC_NODE_TYPE = 9;\n\t\n\tfunction ReactDOMContainerInfo(topLevelWrapper, node) {\n\t var info = {\n\t _topLevelWrapper: topLevelWrapper,\n\t _idCounter: 1,\n\t _ownerDocument: node ? node.nodeType === DOC_NODE_TYPE ? node : node.ownerDocument : null,\n\t _node: node,\n\t _tag: node ? node.nodeName.toLowerCase() : null,\n\t _namespaceURI: node ? node.namespaceURI : null\n\t };\n\t if (false) {\n\t info._ancestorInfo = node ? validateDOMNesting.updatedAncestorInfo(null, info._tag, null) : null;\n\t }\n\t return info;\n\t}\n\t\n\tmodule.exports = ReactDOMContainerInfo;\n\n/***/ },\n/* 202 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar DOMLazyTree = __webpack_require__(31);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\t\n\tvar ReactDOMEmptyComponent = function ReactDOMEmptyComponent(instantiate) {\n\t // ReactCompositeComponent uses this:\n\t this._currentElement = null;\n\t // ReactDOMComponentTree uses these:\n\t this._hostNode = null;\n\t this._hostParent = null;\n\t this._hostContainerInfo = null;\n\t this._domID = 0;\n\t};\n\t_assign(ReactDOMEmptyComponent.prototype, {\n\t mountComponent: function mountComponent(transaction, hostParent, hostContainerInfo, context) {\n\t var domID = hostContainerInfo._idCounter++;\n\t this._domID = domID;\n\t this._hostParent = hostParent;\n\t this._hostContainerInfo = hostContainerInfo;\n\t\n\t var nodeValue = ' react-empty: ' + this._domID + ' ';\n\t if (transaction.useCreateElement) {\n\t var ownerDocument = hostContainerInfo._ownerDocument;\n\t var node = ownerDocument.createComment(nodeValue);\n\t ReactDOMComponentTree.precacheNode(this, node);\n\t return DOMLazyTree(node);\n\t } else {\n\t if (transaction.renderToStaticMarkup) {\n\t // Normally we'd insert a comment node, but since this is a situation\n\t // where React won't take over (static pages), we can simply return\n\t // nothing.\n\t return '';\n\t }\n\t return '<!--' + nodeValue + '-->';\n\t }\n\t },\n\t receiveComponent: function receiveComponent() {},\n\t getHostNode: function getHostNode() {\n\t return ReactDOMComponentTree.getNodeFromInstance(this);\n\t },\n\t unmountComponent: function unmountComponent() {\n\t ReactDOMComponentTree.uncacheNode(this);\n\t }\n\t});\n\t\n\tmodule.exports = ReactDOMEmptyComponent;\n\n/***/ },\n/* 203 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactDOMFeatureFlags = {\n\t useCreateElement: true,\n\t useFiber: false\n\t};\n\t\n\tmodule.exports = ReactDOMFeatureFlags;\n\n/***/ },\n/* 204 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMChildrenOperations = __webpack_require__(58);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\t\n\t/**\n\t * Operations used to process updates to DOM nodes.\n\t */\n\tvar ReactDOMIDOperations = {\n\t\n\t /**\n\t * Updates a component's children by processing a series of updates.\n\t *\n\t * @param {array<object>} updates List of update configurations.\n\t * @internal\n\t */\n\t dangerouslyProcessChildrenUpdates: function dangerouslyProcessChildrenUpdates(parentInst, updates) {\n\t var node = ReactDOMComponentTree.getNodeFromInstance(parentInst);\n\t DOMChildrenOperations.processUpdates(node, updates);\n\t }\n\t};\n\t\n\tmodule.exports = ReactDOMIDOperations;\n\n/***/ },\n/* 205 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(7);\n\t\n\tvar DOMPropertyOperations = __webpack_require__(99);\n\tvar LinkedValueUtils = __webpack_require__(63);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactUpdates = __webpack_require__(15);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar didWarnValueLink = false;\n\tvar didWarnCheckedLink = false;\n\tvar didWarnValueDefaultValue = false;\n\tvar didWarnCheckedDefaultChecked = false;\n\tvar didWarnControlledToUncontrolled = false;\n\tvar didWarnUncontrolledToControlled = false;\n\t\n\tfunction forceUpdateIfMounted() {\n\t if (this._rootNodeID) {\n\t // DOM component is still mounted; update\n\t ReactDOMInput.updateWrapper(this);\n\t }\n\t}\n\t\n\tfunction isControlled(props) {\n\t var usesChecked = props.type === 'checkbox' || props.type === 'radio';\n\t return usesChecked ? props.checked != null : props.value != null;\n\t}\n\t\n\t/**\n\t * Implements an <input> host component that allows setting these optional\n\t * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.\n\t *\n\t * If `checked` or `value` are not supplied (or null/undefined), user actions\n\t * that affect the checked state or value will trigger updates to the element.\n\t *\n\t * If they are supplied (and not null/undefined), the rendered element will not\n\t * trigger updates to the element. Instead, the props must change in order for\n\t * the rendered element to be updated.\n\t *\n\t * The rendered element will be initialized as unchecked (or `defaultChecked`)\n\t * with an empty value (or `defaultValue`).\n\t *\n\t * @see http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html\n\t */\n\tvar ReactDOMInput = {\n\t getHostProps: function getHostProps(inst, props) {\n\t var value = LinkedValueUtils.getValue(props);\n\t var checked = LinkedValueUtils.getChecked(props);\n\t\n\t var hostProps = _assign({\n\t // Make sure we set .type before any other properties (setting .value\n\t // before .type means .value is lost in IE11 and below)\n\t type: undefined,\n\t // Make sure we set .step before .value (setting .value before .step\n\t // means .value is rounded on mount, based upon step precision)\n\t step: undefined,\n\t // Make sure we set .min & .max before .value (to ensure proper order\n\t // in corner cases such as min or max deriving from value, e.g. Issue #7170)\n\t min: undefined,\n\t max: undefined\n\t }, props, {\n\t defaultChecked: undefined,\n\t defaultValue: undefined,\n\t value: value != null ? value : inst._wrapperState.initialValue,\n\t checked: checked != null ? checked : inst._wrapperState.initialChecked,\n\t onChange: inst._wrapperState.onChange\n\t });\n\t\n\t return hostProps;\n\t },\n\t\n\t mountWrapper: function mountWrapper(inst, props) {\n\t if (false) {\n\t LinkedValueUtils.checkPropTypes('input', props, inst._currentElement._owner);\n\t\n\t var owner = inst._currentElement._owner;\n\t\n\t if (props.valueLink !== undefined && !didWarnValueLink) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `input` is deprecated; set `value` and `onChange` instead.') : void 0;\n\t didWarnValueLink = true;\n\t }\n\t if (props.checkedLink !== undefined && !didWarnCheckedLink) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '`checkedLink` prop on `input` is deprecated; set `value` and `onChange` instead.') : void 0;\n\t didWarnCheckedLink = true;\n\t }\n\t if (props.checked !== undefined && props.defaultChecked !== undefined && !didWarnCheckedDefaultChecked) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '%s contains an input of type %s with both checked and defaultChecked props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the checked prop, or the defaultChecked prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n\t didWarnCheckedDefaultChecked = true;\n\t }\n\t if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '%s contains an input of type %s with both value and defaultValue props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n\t didWarnValueDefaultValue = true;\n\t }\n\t }\n\t\n\t var defaultValue = props.defaultValue;\n\t inst._wrapperState = {\n\t initialChecked: props.checked != null ? props.checked : props.defaultChecked,\n\t initialValue: props.value != null ? props.value : defaultValue,\n\t listeners: null,\n\t onChange: _handleChange.bind(inst)\n\t };\n\t\n\t if (false) {\n\t inst._wrapperState.controlled = isControlled(props);\n\t }\n\t },\n\t\n\t updateWrapper: function updateWrapper(inst) {\n\t var props = inst._currentElement.props;\n\t\n\t if (false) {\n\t var controlled = isControlled(props);\n\t var owner = inst._currentElement._owner;\n\t\n\t if (!inst._wrapperState.controlled && controlled && !didWarnUncontrolledToControlled) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '%s is changing an uncontrolled input of type %s to be controlled. ' + 'Input elements should not switch from uncontrolled to controlled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n\t didWarnUncontrolledToControlled = true;\n\t }\n\t if (inst._wrapperState.controlled && !controlled && !didWarnControlledToUncontrolled) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '%s is changing a controlled input of type %s to be uncontrolled. ' + 'Input elements should not switch from controlled to uncontrolled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n\t didWarnControlledToUncontrolled = true;\n\t }\n\t }\n\t\n\t // TODO: Shouldn't this be getChecked(props)?\n\t var checked = props.checked;\n\t if (checked != null) {\n\t DOMPropertyOperations.setValueForProperty(ReactDOMComponentTree.getNodeFromInstance(inst), 'checked', checked || false);\n\t }\n\t\n\t var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n\t var value = LinkedValueUtils.getValue(props);\n\t if (value != null) {\n\t\n\t // Cast `value` to a string to ensure the value is set correctly. While\n\t // browsers typically do this as necessary, jsdom doesn't.\n\t var newValue = '' + value;\n\t\n\t // To avoid side effects (such as losing text selection), only set value if changed\n\t if (newValue !== node.value) {\n\t node.value = newValue;\n\t }\n\t } else {\n\t if (props.value == null && props.defaultValue != null) {\n\t node.defaultValue = '' + props.defaultValue;\n\t }\n\t if (props.checked == null && props.defaultChecked != null) {\n\t node.defaultChecked = !!props.defaultChecked;\n\t }\n\t }\n\t },\n\t\n\t postMountWrapper: function postMountWrapper(inst) {\n\t var props = inst._currentElement.props;\n\t\n\t // This is in postMount because we need access to the DOM node, which is not\n\t // available until after the component has mounted.\n\t var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n\t\n\t // Detach value from defaultValue. We won't do anything if we're working on\n\t // submit or reset inputs as those values & defaultValues are linked. They\n\t // are not resetable nodes so this operation doesn't matter and actually\n\t // removes browser-default values (eg \"Submit Query\") when no value is\n\t // provided.\n\t\n\t switch (props.type) {\n\t case 'submit':\n\t case 'reset':\n\t break;\n\t case 'color':\n\t case 'date':\n\t case 'datetime':\n\t case 'datetime-local':\n\t case 'month':\n\t case 'time':\n\t case 'week':\n\t // This fixes the no-show issue on iOS Safari and Android Chrome:\n\t // https://github.com/facebook/react/issues/7233\n\t node.value = '';\n\t node.value = node.defaultValue;\n\t break;\n\t default:\n\t node.value = node.value;\n\t break;\n\t }\n\t\n\t // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug\n\t // this is needed to work around a chrome bug where setting defaultChecked\n\t // will sometimes influence the value of checked (even after detachment).\n\t // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416\n\t // We need to temporarily unset name to avoid disrupting radio button groups.\n\t var name = node.name;\n\t if (name !== '') {\n\t node.name = '';\n\t }\n\t node.defaultChecked = !node.defaultChecked;\n\t node.defaultChecked = !node.defaultChecked;\n\t if (name !== '') {\n\t node.name = name;\n\t }\n\t }\n\t};\n\t\n\tfunction _handleChange(event) {\n\t var props = this._currentElement.props;\n\t\n\t var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\t\n\t // Here we use asap to wait until all updates have propagated, which\n\t // is important when using controlled components within layers:\n\t // https://github.com/facebook/react/issues/1698\n\t ReactUpdates.asap(forceUpdateIfMounted, this);\n\t\n\t var name = props.name;\n\t if (props.type === 'radio' && name != null) {\n\t var rootNode = ReactDOMComponentTree.getNodeFromInstance(this);\n\t var queryRoot = rootNode;\n\t\n\t while (queryRoot.parentNode) {\n\t queryRoot = queryRoot.parentNode;\n\t }\n\t\n\t // If `rootNode.form` was non-null, then we could try `form.elements`,\n\t // but that sometimes behaves strangely in IE8. We could also try using\n\t // `form.getElementsByName`, but that will only return direct children\n\t // and won't include inputs that use the HTML5 `form=` attribute. Since\n\t // the input might not even be in a form, let's just use the global\n\t // `querySelectorAll` to ensure we don't miss anything.\n\t var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type=\"radio\"]');\n\t\n\t for (var i = 0; i < group.length; i++) {\n\t var otherNode = group[i];\n\t if (otherNode === rootNode || otherNode.form !== rootNode.form) {\n\t continue;\n\t }\n\t // This will throw if radio buttons rendered by different copies of React\n\t // and the same name are rendered into the same form (same as #1939).\n\t // That's probably okay; we don't support it just as we don't support\n\t // mixing React radio buttons with non-React ones.\n\t var otherInstance = ReactDOMComponentTree.getInstanceFromNode(otherNode);\n\t !otherInstance ? false ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.') : _prodInvariant('90') : void 0;\n\t // If this is a controlled radio button group, forcing the input that\n\t // was previously checked to update will cause it to be come re-checked\n\t // as appropriate.\n\t ReactUpdates.asap(forceUpdateIfMounted, otherInstance);\n\t }\n\t }\n\t\n\t return returnValue;\n\t}\n\t\n\tmodule.exports = ReactDOMInput;\n\n/***/ },\n/* 206 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar React = __webpack_require__(20);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactDOMSelect = __webpack_require__(102);\n\t\n\tvar warning = __webpack_require__(5);\n\tvar didWarnInvalidOptionChildren = false;\n\t\n\tfunction flattenChildren(children) {\n\t var content = '';\n\t\n\t // Flatten children and warn if they aren't strings or numbers;\n\t // invalid types are ignored.\n\t React.Children.forEach(children, function (child) {\n\t if (child == null) {\n\t return;\n\t }\n\t if (typeof child === 'string' || typeof child === 'number') {\n\t content += child;\n\t } else if (!didWarnInvalidOptionChildren) {\n\t didWarnInvalidOptionChildren = true;\n\t false ? warning(false, 'Only strings and numbers are supported as <option> children.') : void 0;\n\t }\n\t });\n\t\n\t return content;\n\t}\n\t\n\t/**\n\t * Implements an <option> host component that warns when `selected` is set.\n\t */\n\tvar ReactDOMOption = {\n\t mountWrapper: function mountWrapper(inst, props, hostParent) {\n\t // TODO (yungsters): Remove support for `selected` in <option>.\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(props.selected == null, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.') : void 0;\n\t }\n\t\n\t // Look up whether this option is 'selected'\n\t var selectValue = null;\n\t if (hostParent != null) {\n\t var selectParent = hostParent;\n\t\n\t if (selectParent._tag === 'optgroup') {\n\t selectParent = selectParent._hostParent;\n\t }\n\t\n\t if (selectParent != null && selectParent._tag === 'select') {\n\t selectValue = ReactDOMSelect.getSelectValueContext(selectParent);\n\t }\n\t }\n\t\n\t // If the value is null (e.g., no specified value or after initial mount)\n\t // or missing (e.g., for <datalist>), we don't change props.selected\n\t var selected = null;\n\t if (selectValue != null) {\n\t var value;\n\t if (props.value != null) {\n\t value = props.value + '';\n\t } else {\n\t value = flattenChildren(props.children);\n\t }\n\t selected = false;\n\t if (Array.isArray(selectValue)) {\n\t // multiple\n\t for (var i = 0; i < selectValue.length; i++) {\n\t if ('' + selectValue[i] === value) {\n\t selected = true;\n\t break;\n\t }\n\t }\n\t } else {\n\t selected = '' + selectValue === value;\n\t }\n\t }\n\t\n\t inst._wrapperState = { selected: selected };\n\t },\n\t\n\t postMountWrapper: function postMountWrapper(inst) {\n\t // value=\"\" should make a value attribute (#6219)\n\t var props = inst._currentElement.props;\n\t if (props.value != null) {\n\t var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n\t node.setAttribute('value', props.value);\n\t }\n\t },\n\t\n\t getHostProps: function getHostProps(inst, props) {\n\t var hostProps = _assign({ selected: undefined, children: undefined }, props);\n\t\n\t // Read state only from initial mount because <select> updates value\n\t // manually; we need the initial state only for server rendering\n\t if (inst._wrapperState.selected != null) {\n\t hostProps.selected = inst._wrapperState.selected;\n\t }\n\t\n\t var content = flattenChildren(props.children);\n\t\n\t if (content) {\n\t hostProps.children = content;\n\t }\n\t\n\t return hostProps;\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactDOMOption;\n\n/***/ },\n/* 207 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\t\n\tvar getNodeForCharacterOffset = __webpack_require__(246);\n\tvar getTextContentAccessor = __webpack_require__(113);\n\t\n\t/**\n\t * While `isCollapsed` is available on the Selection object and `collapsed`\n\t * is available on the Range object, IE11 sometimes gets them wrong.\n\t * If the anchor/focus nodes and offsets are the same, the range is collapsed.\n\t */\n\tfunction isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {\n\t return anchorNode === focusNode && anchorOffset === focusOffset;\n\t}\n\t\n\t/**\n\t * Get the appropriate anchor and focus node/offset pairs for IE.\n\t *\n\t * The catch here is that IE's selection API doesn't provide information\n\t * about whether the selection is forward or backward, so we have to\n\t * behave as though it's always forward.\n\t *\n\t * IE text differs from modern selection in that it behaves as though\n\t * block elements end with a new line. This means character offsets will\n\t * differ between the two APIs.\n\t *\n\t * @param {DOMElement} node\n\t * @return {object}\n\t */\n\tfunction getIEOffsets(node) {\n\t var selection = document.selection;\n\t var selectedRange = selection.createRange();\n\t var selectedLength = selectedRange.text.length;\n\t\n\t // Duplicate selection so we can move range without breaking user selection.\n\t var fromStart = selectedRange.duplicate();\n\t fromStart.moveToElementText(node);\n\t fromStart.setEndPoint('EndToStart', selectedRange);\n\t\n\t var startOffset = fromStart.text.length;\n\t var endOffset = startOffset + selectedLength;\n\t\n\t return {\n\t start: startOffset,\n\t end: endOffset\n\t };\n\t}\n\t\n\t/**\n\t * @param {DOMElement} node\n\t * @return {?object}\n\t */\n\tfunction getModernOffsets(node) {\n\t var selection = window.getSelection && window.getSelection();\n\t\n\t if (!selection || selection.rangeCount === 0) {\n\t return null;\n\t }\n\t\n\t var anchorNode = selection.anchorNode;\n\t var anchorOffset = selection.anchorOffset;\n\t var focusNode = selection.focusNode;\n\t var focusOffset = selection.focusOffset;\n\t\n\t var currentRange = selection.getRangeAt(0);\n\t\n\t // In Firefox, range.startContainer and range.endContainer can be \"anonymous\n\t // divs\", e.g. the up/down buttons on an <input type=\"number\">. Anonymous\n\t // divs do not seem to expose properties, triggering a \"Permission denied\n\t // error\" if any of its properties are accessed. The only seemingly possible\n\t // way to avoid erroring is to access a property that typically works for\n\t // non-anonymous divs and catch any error that may otherwise arise. See\n\t // https://bugzilla.mozilla.org/show_bug.cgi?id=208427\n\t try {\n\t /* eslint-disable no-unused-expressions */\n\t currentRange.startContainer.nodeType;\n\t currentRange.endContainer.nodeType;\n\t /* eslint-enable no-unused-expressions */\n\t } catch (e) {\n\t return null;\n\t }\n\t\n\t // If the node and offset values are the same, the selection is collapsed.\n\t // `Selection.isCollapsed` is available natively, but IE sometimes gets\n\t // this value wrong.\n\t var isSelectionCollapsed = isCollapsed(selection.anchorNode, selection.anchorOffset, selection.focusNode, selection.focusOffset);\n\t\n\t var rangeLength = isSelectionCollapsed ? 0 : currentRange.toString().length;\n\t\n\t var tempRange = currentRange.cloneRange();\n\t tempRange.selectNodeContents(node);\n\t tempRange.setEnd(currentRange.startContainer, currentRange.startOffset);\n\t\n\t var isTempRangeCollapsed = isCollapsed(tempRange.startContainer, tempRange.startOffset, tempRange.endContainer, tempRange.endOffset);\n\t\n\t var start = isTempRangeCollapsed ? 0 : tempRange.toString().length;\n\t var end = start + rangeLength;\n\t\n\t // Detect whether the selection is backward.\n\t var detectionRange = document.createRange();\n\t detectionRange.setStart(anchorNode, anchorOffset);\n\t detectionRange.setEnd(focusNode, focusOffset);\n\t var isBackward = detectionRange.collapsed;\n\t\n\t return {\n\t start: isBackward ? end : start,\n\t end: isBackward ? start : end\n\t };\n\t}\n\t\n\t/**\n\t * @param {DOMElement|DOMTextNode} node\n\t * @param {object} offsets\n\t */\n\tfunction setIEOffsets(node, offsets) {\n\t var range = document.selection.createRange().duplicate();\n\t var start, end;\n\t\n\t if (offsets.end === undefined) {\n\t start = offsets.start;\n\t end = start;\n\t } else if (offsets.start > offsets.end) {\n\t start = offsets.end;\n\t end = offsets.start;\n\t } else {\n\t start = offsets.start;\n\t end = offsets.end;\n\t }\n\t\n\t range.moveToElementText(node);\n\t range.moveStart('character', start);\n\t range.setEndPoint('EndToStart', range);\n\t range.moveEnd('character', end - start);\n\t range.select();\n\t}\n\t\n\t/**\n\t * In modern non-IE browsers, we can support both forward and backward\n\t * selections.\n\t *\n\t * Note: IE10+ supports the Selection object, but it does not support\n\t * the `extend` method, which means that even in modern IE, it's not possible\n\t * to programmatically create a backward selection. Thus, for all IE\n\t * versions, we use the old IE API to create our selections.\n\t *\n\t * @param {DOMElement|DOMTextNode} node\n\t * @param {object} offsets\n\t */\n\tfunction setModernOffsets(node, offsets) {\n\t if (!window.getSelection) {\n\t return;\n\t }\n\t\n\t var selection = window.getSelection();\n\t var length = node[getTextContentAccessor()].length;\n\t var start = Math.min(offsets.start, length);\n\t var end = offsets.end === undefined ? start : Math.min(offsets.end, length);\n\t\n\t // IE 11 uses modern selection, but doesn't support the extend method.\n\t // Flip backward selections, so we can set with a single range.\n\t if (!selection.extend && start > end) {\n\t var temp = end;\n\t end = start;\n\t start = temp;\n\t }\n\t\n\t var startMarker = getNodeForCharacterOffset(node, start);\n\t var endMarker = getNodeForCharacterOffset(node, end);\n\t\n\t if (startMarker && endMarker) {\n\t var range = document.createRange();\n\t range.setStart(startMarker.node, startMarker.offset);\n\t selection.removeAllRanges();\n\t\n\t if (start > end) {\n\t selection.addRange(range);\n\t selection.extend(endMarker.node, endMarker.offset);\n\t } else {\n\t range.setEnd(endMarker.node, endMarker.offset);\n\t selection.addRange(range);\n\t }\n\t }\n\t}\n\t\n\tvar useIEOffsets = ExecutionEnvironment.canUseDOM && 'selection' in document && !('getSelection' in window);\n\t\n\tvar ReactDOMSelection = {\n\t /**\n\t * @param {DOMElement} node\n\t */\n\t getOffsets: useIEOffsets ? getIEOffsets : getModernOffsets,\n\t\n\t /**\n\t * @param {DOMElement|DOMTextNode} node\n\t * @param {object} offsets\n\t */\n\t setOffsets: useIEOffsets ? setIEOffsets : setModernOffsets\n\t};\n\t\n\tmodule.exports = ReactDOMSelection;\n\n/***/ },\n/* 208 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(7);\n\t\n\tvar DOMChildrenOperations = __webpack_require__(58);\n\tvar DOMLazyTree = __webpack_require__(31);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\t\n\tvar escapeTextContentForBrowser = __webpack_require__(50);\n\tvar invariant = __webpack_require__(3);\n\tvar validateDOMNesting = __webpack_require__(73);\n\t\n\t/**\n\t * Text nodes violate a couple assumptions that React makes about components:\n\t *\n\t * - When mounting text into the DOM, adjacent text nodes are merged.\n\t * - Text nodes cannot be assigned a React root ID.\n\t *\n\t * This component is used to wrap strings between comment nodes so that they\n\t * can undergo the same reconciliation that is applied to elements.\n\t *\n\t * TODO: Investigate representing React components in the DOM with text nodes.\n\t *\n\t * @class ReactDOMTextComponent\n\t * @extends ReactComponent\n\t * @internal\n\t */\n\tvar ReactDOMTextComponent = function ReactDOMTextComponent(text) {\n\t // TODO: This is really a ReactText (ReactNode), not a ReactElement\n\t this._currentElement = text;\n\t this._stringText = '' + text;\n\t // ReactDOMComponentTree uses these:\n\t this._hostNode = null;\n\t this._hostParent = null;\n\t\n\t // Properties\n\t this._domID = 0;\n\t this._mountIndex = 0;\n\t this._closingComment = null;\n\t this._commentNodes = null;\n\t};\n\t\n\t_assign(ReactDOMTextComponent.prototype, {\n\t\n\t /**\n\t * Creates the markup for this text node. This node is not intended to have\n\t * any features besides containing text content.\n\t *\n\t * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n\t * @return {string} Markup for this text node.\n\t * @internal\n\t */\n\t mountComponent: function mountComponent(transaction, hostParent, hostContainerInfo, context) {\n\t if (false) {\n\t var parentInfo;\n\t if (hostParent != null) {\n\t parentInfo = hostParent._ancestorInfo;\n\t } else if (hostContainerInfo != null) {\n\t parentInfo = hostContainerInfo._ancestorInfo;\n\t }\n\t if (parentInfo) {\n\t // parentInfo should always be present except for the top-level\n\t // component when server rendering\n\t validateDOMNesting(null, this._stringText, this, parentInfo);\n\t }\n\t }\n\t\n\t var domID = hostContainerInfo._idCounter++;\n\t var openingValue = ' react-text: ' + domID + ' ';\n\t var closingValue = ' /react-text ';\n\t this._domID = domID;\n\t this._hostParent = hostParent;\n\t if (transaction.useCreateElement) {\n\t var ownerDocument = hostContainerInfo._ownerDocument;\n\t var openingComment = ownerDocument.createComment(openingValue);\n\t var closingComment = ownerDocument.createComment(closingValue);\n\t var lazyTree = DOMLazyTree(ownerDocument.createDocumentFragment());\n\t DOMLazyTree.queueChild(lazyTree, DOMLazyTree(openingComment));\n\t if (this._stringText) {\n\t DOMLazyTree.queueChild(lazyTree, DOMLazyTree(ownerDocument.createTextNode(this._stringText)));\n\t }\n\t DOMLazyTree.queueChild(lazyTree, DOMLazyTree(closingComment));\n\t ReactDOMComponentTree.precacheNode(this, openingComment);\n\t this._closingComment = closingComment;\n\t return lazyTree;\n\t } else {\n\t var escapedText = escapeTextContentForBrowser(this._stringText);\n\t\n\t if (transaction.renderToStaticMarkup) {\n\t // Normally we'd wrap this between comment nodes for the reasons stated\n\t // above, but since this is a situation where React won't take over\n\t // (static pages), we can simply return the text as it is.\n\t return escapedText;\n\t }\n\t\n\t return '<!--' + openingValue + '-->' + escapedText + '<!--' + closingValue + '-->';\n\t }\n\t },\n\t\n\t /**\n\t * Updates this component by updating the text content.\n\t *\n\t * @param {ReactText} nextText The next text content\n\t * @param {ReactReconcileTransaction} transaction\n\t * @internal\n\t */\n\t receiveComponent: function receiveComponent(nextText, transaction) {\n\t if (nextText !== this._currentElement) {\n\t this._currentElement = nextText;\n\t var nextStringText = '' + nextText;\n\t if (nextStringText !== this._stringText) {\n\t // TODO: Save this as pending props and use performUpdateIfNecessary\n\t // and/or updateComponent to do the actual update for consistency with\n\t // other component types?\n\t this._stringText = nextStringText;\n\t var commentNodes = this.getHostNode();\n\t DOMChildrenOperations.replaceDelimitedText(commentNodes[0], commentNodes[1], nextStringText);\n\t }\n\t }\n\t },\n\t\n\t getHostNode: function getHostNode() {\n\t var hostNode = this._commentNodes;\n\t if (hostNode) {\n\t return hostNode;\n\t }\n\t if (!this._closingComment) {\n\t var openingComment = ReactDOMComponentTree.getNodeFromInstance(this);\n\t var node = openingComment.nextSibling;\n\t while (true) {\n\t !(node != null) ? false ? invariant(false, 'Missing closing comment for text component %s', this._domID) : _prodInvariant('67', this._domID) : void 0;\n\t if (node.nodeType === 8 && node.nodeValue === ' /react-text ') {\n\t this._closingComment = node;\n\t break;\n\t }\n\t node = node.nextSibling;\n\t }\n\t }\n\t hostNode = [this._hostNode, this._closingComment];\n\t this._commentNodes = hostNode;\n\t return hostNode;\n\t },\n\t\n\t unmountComponent: function unmountComponent() {\n\t this._closingComment = null;\n\t this._commentNodes = null;\n\t ReactDOMComponentTree.uncacheNode(this);\n\t }\n\t\n\t});\n\t\n\tmodule.exports = ReactDOMTextComponent;\n\n/***/ },\n/* 209 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(7);\n\t\n\tvar LinkedValueUtils = __webpack_require__(63);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactUpdates = __webpack_require__(15);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar didWarnValueLink = false;\n\tvar didWarnValDefaultVal = false;\n\t\n\tfunction forceUpdateIfMounted() {\n\t if (this._rootNodeID) {\n\t // DOM component is still mounted; update\n\t ReactDOMTextarea.updateWrapper(this);\n\t }\n\t}\n\t\n\t/**\n\t * Implements a <textarea> host component that allows setting `value`, and\n\t * `defaultValue`. This differs from the traditional DOM API because value is\n\t * usually set as PCDATA children.\n\t *\n\t * If `value` is not supplied (or null/undefined), user actions that affect the\n\t * value will trigger updates to the element.\n\t *\n\t * If `value` is supplied (and not null/undefined), the rendered element will\n\t * not trigger updates to the element. Instead, the `value` prop must change in\n\t * order for the rendered element to be updated.\n\t *\n\t * The rendered element will be initialized with an empty value, the prop\n\t * `defaultValue` if specified, or the children content (deprecated).\n\t */\n\tvar ReactDOMTextarea = {\n\t getHostProps: function getHostProps(inst, props) {\n\t !(props.dangerouslySetInnerHTML == null) ? false ? invariant(false, '`dangerouslySetInnerHTML` does not make sense on <textarea>.') : _prodInvariant('91') : void 0;\n\t\n\t // Always set children to the same thing. In IE9, the selection range will\n\t // get reset if `textContent` is mutated. We could add a check in setTextContent\n\t // to only set the value if/when the value differs from the node value (which would\n\t // completely solve this IE9 bug), but Sebastian+Ben seemed to like this solution.\n\t // The value can be a boolean or object so that's why it's forced to be a string.\n\t var hostProps = _assign({}, props, {\n\t value: undefined,\n\t defaultValue: undefined,\n\t children: '' + inst._wrapperState.initialValue,\n\t onChange: inst._wrapperState.onChange\n\t });\n\t\n\t return hostProps;\n\t },\n\t\n\t mountWrapper: function mountWrapper(inst, props) {\n\t if (false) {\n\t LinkedValueUtils.checkPropTypes('textarea', props, inst._currentElement._owner);\n\t if (props.valueLink !== undefined && !didWarnValueLink) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `textarea` is deprecated; set `value` and `onChange` instead.') : void 0;\n\t didWarnValueLink = true;\n\t }\n\t if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValDefaultVal) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'Textarea elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled textarea ' + 'and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0;\n\t didWarnValDefaultVal = true;\n\t }\n\t }\n\t\n\t var value = LinkedValueUtils.getValue(props);\n\t var initialValue = value;\n\t\n\t // Only bother fetching default value if we're going to use it\n\t if (value == null) {\n\t var defaultValue = props.defaultValue;\n\t // TODO (yungsters): Remove support for children content in <textarea>.\n\t var children = props.children;\n\t if (children != null) {\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.') : void 0;\n\t }\n\t !(defaultValue == null) ? false ? invariant(false, 'If you supply `defaultValue` on a <textarea>, do not pass children.') : _prodInvariant('92') : void 0;\n\t if (Array.isArray(children)) {\n\t !(children.length <= 1) ? false ? invariant(false, '<textarea> can only have at most one child.') : _prodInvariant('93') : void 0;\n\t children = children[0];\n\t }\n\t\n\t defaultValue = '' + children;\n\t }\n\t if (defaultValue == null) {\n\t defaultValue = '';\n\t }\n\t initialValue = defaultValue;\n\t }\n\t\n\t inst._wrapperState = {\n\t initialValue: '' + initialValue,\n\t listeners: null,\n\t onChange: _handleChange.bind(inst)\n\t };\n\t },\n\t\n\t updateWrapper: function updateWrapper(inst) {\n\t var props = inst._currentElement.props;\n\t\n\t var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n\t var value = LinkedValueUtils.getValue(props);\n\t if (value != null) {\n\t // Cast `value` to a string to ensure the value is set correctly. While\n\t // browsers typically do this as necessary, jsdom doesn't.\n\t var newValue = '' + value;\n\t\n\t // To avoid side effects (such as losing text selection), only set value if changed\n\t if (newValue !== node.value) {\n\t node.value = newValue;\n\t }\n\t if (props.defaultValue == null) {\n\t node.defaultValue = newValue;\n\t }\n\t }\n\t if (props.defaultValue != null) {\n\t node.defaultValue = props.defaultValue;\n\t }\n\t },\n\t\n\t postMountWrapper: function postMountWrapper(inst) {\n\t // This is in postMount because we need access to the DOM node, which is not\n\t // available until after the component has mounted.\n\t var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n\t\n\t // Warning: node.value may be the empty string at this point (IE11) if placeholder is set.\n\t node.value = node.textContent; // Detach value from defaultValue\n\t }\n\t};\n\t\n\tfunction _handleChange(event) {\n\t var props = this._currentElement.props;\n\t var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\t ReactUpdates.asap(forceUpdateIfMounted, this);\n\t return returnValue;\n\t}\n\t\n\tmodule.exports = ReactDOMTextarea;\n\n/***/ },\n/* 210 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Return the lowest common ancestor of A and B, or null if they are in\n\t * different trees.\n\t */\n\tfunction getLowestCommonAncestor(instA, instB) {\n\t !('_hostNode' in instA) ? false ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n\t !('_hostNode' in instB) ? false ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n\t\n\t var depthA = 0;\n\t for (var tempA = instA; tempA; tempA = tempA._hostParent) {\n\t depthA++;\n\t }\n\t var depthB = 0;\n\t for (var tempB = instB; tempB; tempB = tempB._hostParent) {\n\t depthB++;\n\t }\n\t\n\t // If A is deeper, crawl up.\n\t while (depthA - depthB > 0) {\n\t instA = instA._hostParent;\n\t depthA--;\n\t }\n\t\n\t // If B is deeper, crawl up.\n\t while (depthB - depthA > 0) {\n\t instB = instB._hostParent;\n\t depthB--;\n\t }\n\t\n\t // Walk in lockstep until we find a match.\n\t var depth = depthA;\n\t while (depth--) {\n\t if (instA === instB) {\n\t return instA;\n\t }\n\t instA = instA._hostParent;\n\t instB = instB._hostParent;\n\t }\n\t return null;\n\t}\n\t\n\t/**\n\t * Return if A is an ancestor of B.\n\t */\n\tfunction isAncestor(instA, instB) {\n\t !('_hostNode' in instA) ? false ? invariant(false, 'isAncestor: Invalid argument.') : _prodInvariant('35') : void 0;\n\t !('_hostNode' in instB) ? false ? invariant(false, 'isAncestor: Invalid argument.') : _prodInvariant('35') : void 0;\n\t\n\t while (instB) {\n\t if (instB === instA) {\n\t return true;\n\t }\n\t instB = instB._hostParent;\n\t }\n\t return false;\n\t}\n\t\n\t/**\n\t * Return the parent instance of the passed-in instance.\n\t */\n\tfunction getParentInstance(inst) {\n\t !('_hostNode' in inst) ? false ? invariant(false, 'getParentInstance: Invalid argument.') : _prodInvariant('36') : void 0;\n\t\n\t return inst._hostParent;\n\t}\n\t\n\t/**\n\t * Simulates the traversal of a two-phase, capture/bubble event dispatch.\n\t */\n\tfunction traverseTwoPhase(inst, fn, arg) {\n\t var path = [];\n\t while (inst) {\n\t path.push(inst);\n\t inst = inst._hostParent;\n\t }\n\t var i;\n\t for (i = path.length; i-- > 0;) {\n\t fn(path[i], 'captured', arg);\n\t }\n\t for (i = 0; i < path.length; i++) {\n\t fn(path[i], 'bubbled', arg);\n\t }\n\t}\n\t\n\t/**\n\t * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that\n\t * should would receive a `mouseEnter` or `mouseLeave` event.\n\t *\n\t * Does not invoke the callback on the nearest common ancestor because nothing\n\t * \"entered\" or \"left\" that element.\n\t */\n\tfunction traverseEnterLeave(from, to, fn, argFrom, argTo) {\n\t var common = from && to ? getLowestCommonAncestor(from, to) : null;\n\t var pathFrom = [];\n\t while (from && from !== common) {\n\t pathFrom.push(from);\n\t from = from._hostParent;\n\t }\n\t var pathTo = [];\n\t while (to && to !== common) {\n\t pathTo.push(to);\n\t to = to._hostParent;\n\t }\n\t var i;\n\t for (i = 0; i < pathFrom.length; i++) {\n\t fn(pathFrom[i], 'bubbled', argFrom);\n\t }\n\t for (i = pathTo.length; i-- > 0;) {\n\t fn(pathTo[i], 'captured', argTo);\n\t }\n\t}\n\t\n\tmodule.exports = {\n\t isAncestor: isAncestor,\n\t getLowestCommonAncestor: getLowestCommonAncestor,\n\t getParentInstance: getParentInstance,\n\t traverseTwoPhase: traverseTwoPhase,\n\t traverseEnterLeave: traverseEnterLeave\n\t};\n\n/***/ },\n/* 211 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar ReactUpdates = __webpack_require__(15);\n\tvar Transaction = __webpack_require__(49);\n\t\n\tvar emptyFunction = __webpack_require__(19);\n\t\n\tvar RESET_BATCHED_UPDATES = {\n\t initialize: emptyFunction,\n\t close: function close() {\n\t ReactDefaultBatchingStrategy.isBatchingUpdates = false;\n\t }\n\t};\n\t\n\tvar FLUSH_BATCHED_UPDATES = {\n\t initialize: emptyFunction,\n\t close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates)\n\t};\n\t\n\tvar TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES];\n\t\n\tfunction ReactDefaultBatchingStrategyTransaction() {\n\t this.reinitializeTransaction();\n\t}\n\t\n\t_assign(ReactDefaultBatchingStrategyTransaction.prototype, Transaction, {\n\t getTransactionWrappers: function getTransactionWrappers() {\n\t return TRANSACTION_WRAPPERS;\n\t }\n\t});\n\t\n\tvar transaction = new ReactDefaultBatchingStrategyTransaction();\n\t\n\tvar ReactDefaultBatchingStrategy = {\n\t isBatchingUpdates: false,\n\t\n\t /**\n\t * Call the provided function in a context within which calls to `setState`\n\t * and friends are batched such that components aren't updated unnecessarily.\n\t */\n\t batchedUpdates: function batchedUpdates(callback, a, b, c, d, e) {\n\t var alreadyBatchingUpdates = ReactDefaultBatchingStrategy.isBatchingUpdates;\n\t\n\t ReactDefaultBatchingStrategy.isBatchingUpdates = true;\n\t\n\t // The code is written this way to avoid extra allocations\n\t if (alreadyBatchingUpdates) {\n\t return callback(a, b, c, d, e);\n\t } else {\n\t return transaction.perform(callback, null, a, b, c, d, e);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = ReactDefaultBatchingStrategy;\n\n/***/ },\n/* 212 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ARIADOMPropertyConfig = __webpack_require__(187);\n\tvar BeforeInputEventPlugin = __webpack_require__(189);\n\tvar ChangeEventPlugin = __webpack_require__(191);\n\tvar DefaultEventPluginOrder = __webpack_require__(193);\n\tvar EnterLeaveEventPlugin = __webpack_require__(194);\n\tvar HTMLDOMPropertyConfig = __webpack_require__(196);\n\tvar ReactComponentBrowserEnvironment = __webpack_require__(198);\n\tvar ReactDOMComponent = __webpack_require__(200);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactDOMEmptyComponent = __webpack_require__(202);\n\tvar ReactDOMTreeTraversal = __webpack_require__(210);\n\tvar ReactDOMTextComponent = __webpack_require__(208);\n\tvar ReactDefaultBatchingStrategy = __webpack_require__(211);\n\tvar ReactEventListener = __webpack_require__(215);\n\tvar ReactInjection = __webpack_require__(216);\n\tvar ReactReconcileTransaction = __webpack_require__(221);\n\tvar SVGDOMPropertyConfig = __webpack_require__(226);\n\tvar SelectEventPlugin = __webpack_require__(227);\n\tvar SimpleEventPlugin = __webpack_require__(228);\n\t\n\tvar alreadyInjected = false;\n\t\n\tfunction inject() {\n\t if (alreadyInjected) {\n\t // TODO: This is currently true because these injections are shared between\n\t // the client and the server package. They should be built independently\n\t // and not share any injection state. Then this problem will be solved.\n\t return;\n\t }\n\t alreadyInjected = true;\n\t\n\t ReactInjection.EventEmitter.injectReactEventListener(ReactEventListener);\n\t\n\t /**\n\t * Inject modules for resolving DOM hierarchy and plugin ordering.\n\t */\n\t ReactInjection.EventPluginHub.injectEventPluginOrder(DefaultEventPluginOrder);\n\t ReactInjection.EventPluginUtils.injectComponentTree(ReactDOMComponentTree);\n\t ReactInjection.EventPluginUtils.injectTreeTraversal(ReactDOMTreeTraversal);\n\t\n\t /**\n\t * Some important event plugins included by default (without having to require\n\t * them).\n\t */\n\t ReactInjection.EventPluginHub.injectEventPluginsByName({\n\t SimpleEventPlugin: SimpleEventPlugin,\n\t EnterLeaveEventPlugin: EnterLeaveEventPlugin,\n\t ChangeEventPlugin: ChangeEventPlugin,\n\t SelectEventPlugin: SelectEventPlugin,\n\t BeforeInputEventPlugin: BeforeInputEventPlugin\n\t });\n\t\n\t ReactInjection.HostComponent.injectGenericComponentClass(ReactDOMComponent);\n\t\n\t ReactInjection.HostComponent.injectTextComponentClass(ReactDOMTextComponent);\n\t\n\t ReactInjection.DOMProperty.injectDOMPropertyConfig(ARIADOMPropertyConfig);\n\t ReactInjection.DOMProperty.injectDOMPropertyConfig(HTMLDOMPropertyConfig);\n\t ReactInjection.DOMProperty.injectDOMPropertyConfig(SVGDOMPropertyConfig);\n\t\n\t ReactInjection.EmptyComponent.injectEmptyComponentFactory(function (instantiate) {\n\t return new ReactDOMEmptyComponent(instantiate);\n\t });\n\t\n\t ReactInjection.Updates.injectReconcileTransaction(ReactReconcileTransaction);\n\t ReactInjection.Updates.injectBatchingStrategy(ReactDefaultBatchingStrategy);\n\t\n\t ReactInjection.Component.injectEnvironment(ReactComponentBrowserEnvironment);\n\t}\n\t\n\tmodule.exports = {\n\t inject: inject\n\t};\n\n/***/ },\n/* 213 */\n125,\n/* 214 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventPluginHub = __webpack_require__(42);\n\t\n\tfunction runEventQueueInBatch(events) {\n\t EventPluginHub.enqueueEvents(events);\n\t EventPluginHub.processEventQueue(false);\n\t}\n\t\n\tvar ReactEventEmitterMixin = {\n\t\n\t /**\n\t * Streams a fired top-level event to `EventPluginHub` where plugins have the\n\t * opportunity to create `ReactEvent`s to be dispatched.\n\t */\n\t handleTopLevel: function handleTopLevel(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t var events = EventPluginHub.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n\t runEventQueueInBatch(events);\n\t }\n\t};\n\t\n\tmodule.exports = ReactEventEmitterMixin;\n\n/***/ },\n/* 215 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar EventListener = __webpack_require__(119);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar PooledClass = __webpack_require__(27);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactUpdates = __webpack_require__(15);\n\t\n\tvar getEventTarget = __webpack_require__(70);\n\tvar getUnboundedScrollPosition = __webpack_require__(255);\n\t\n\t/**\n\t * Find the deepest React component completely containing the root of the\n\t * passed-in instance (for use when entire React trees are nested within each\n\t * other). If React trees are not nested, returns null.\n\t */\n\tfunction findParent(inst) {\n\t // TODO: It may be a good idea to cache this to prevent unnecessary DOM\n\t // traversal, but caching is difficult to do correctly without using a\n\t // mutation observer to listen for all DOM changes.\n\t while (inst._hostParent) {\n\t inst = inst._hostParent;\n\t }\n\t var rootNode = ReactDOMComponentTree.getNodeFromInstance(inst);\n\t var container = rootNode.parentNode;\n\t return ReactDOMComponentTree.getClosestInstanceFromNode(container);\n\t}\n\t\n\t// Used to store ancestor hierarchy in top level callback\n\tfunction TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {\n\t this.topLevelType = topLevelType;\n\t this.nativeEvent = nativeEvent;\n\t this.ancestors = [];\n\t}\n\t_assign(TopLevelCallbackBookKeeping.prototype, {\n\t destructor: function destructor() {\n\t this.topLevelType = null;\n\t this.nativeEvent = null;\n\t this.ancestors.length = 0;\n\t }\n\t});\n\tPooledClass.addPoolingTo(TopLevelCallbackBookKeeping, PooledClass.twoArgumentPooler);\n\t\n\tfunction handleTopLevelImpl(bookKeeping) {\n\t var nativeEventTarget = getEventTarget(bookKeeping.nativeEvent);\n\t var targetInst = ReactDOMComponentTree.getClosestInstanceFromNode(nativeEventTarget);\n\t\n\t // Loop through the hierarchy, in case there's any nested components.\n\t // It's important that we build the array of ancestors before calling any\n\t // event handlers, because event handlers can modify the DOM, leading to\n\t // inconsistencies with ReactMount's node cache. See #1105.\n\t var ancestor = targetInst;\n\t do {\n\t bookKeeping.ancestors.push(ancestor);\n\t ancestor = ancestor && findParent(ancestor);\n\t } while (ancestor);\n\t\n\t for (var i = 0; i < bookKeeping.ancestors.length; i++) {\n\t targetInst = bookKeeping.ancestors[i];\n\t ReactEventListener._handleTopLevel(bookKeeping.topLevelType, targetInst, bookKeeping.nativeEvent, getEventTarget(bookKeeping.nativeEvent));\n\t }\n\t}\n\t\n\tfunction scrollValueMonitor(cb) {\n\t var scrollPosition = getUnboundedScrollPosition(window);\n\t cb(scrollPosition);\n\t}\n\t\n\tvar ReactEventListener = {\n\t _enabled: true,\n\t _handleTopLevel: null,\n\t\n\t WINDOW_HANDLE: ExecutionEnvironment.canUseDOM ? window : null,\n\t\n\t setHandleTopLevel: function setHandleTopLevel(handleTopLevel) {\n\t ReactEventListener._handleTopLevel = handleTopLevel;\n\t },\n\t\n\t setEnabled: function setEnabled(enabled) {\n\t ReactEventListener._enabled = !!enabled;\n\t },\n\t\n\t isEnabled: function isEnabled() {\n\t return ReactEventListener._enabled;\n\t },\n\t\n\t /**\n\t * Traps top-level events by using event bubbling.\n\t *\n\t * @param {string} topLevelType Record from `EventConstants`.\n\t * @param {string} handlerBaseName Event name (e.g. \"click\").\n\t * @param {object} element Element on which to attach listener.\n\t * @return {?object} An object with a remove function which will forcefully\n\t * remove the listener.\n\t * @internal\n\t */\n\t trapBubbledEvent: function trapBubbledEvent(topLevelType, handlerBaseName, element) {\n\t if (!element) {\n\t return null;\n\t }\n\t return EventListener.listen(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType));\n\t },\n\t\n\t /**\n\t * Traps a top-level event by using event capturing.\n\t *\n\t * @param {string} topLevelType Record from `EventConstants`.\n\t * @param {string} handlerBaseName Event name (e.g. \"click\").\n\t * @param {object} element Element on which to attach listener.\n\t * @return {?object} An object with a remove function which will forcefully\n\t * remove the listener.\n\t * @internal\n\t */\n\t trapCapturedEvent: function trapCapturedEvent(topLevelType, handlerBaseName, element) {\n\t if (!element) {\n\t return null;\n\t }\n\t return EventListener.capture(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType));\n\t },\n\t\n\t monitorScrollValue: function monitorScrollValue(refresh) {\n\t var callback = scrollValueMonitor.bind(null, refresh);\n\t EventListener.listen(window, 'scroll', callback);\n\t },\n\t\n\t dispatchEvent: function dispatchEvent(topLevelType, nativeEvent) {\n\t if (!ReactEventListener._enabled) {\n\t return;\n\t }\n\t\n\t var bookKeeping = TopLevelCallbackBookKeeping.getPooled(topLevelType, nativeEvent);\n\t try {\n\t // Event queue being processed in the same cycle allows\n\t // `preventDefault`.\n\t ReactUpdates.batchedUpdates(handleTopLevelImpl, bookKeeping);\n\t } finally {\n\t TopLevelCallbackBookKeeping.release(bookKeeping);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = ReactEventListener;\n\n/***/ },\n/* 216 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMProperty = __webpack_require__(32);\n\tvar EventPluginHub = __webpack_require__(42);\n\tvar EventPluginUtils = __webpack_require__(61);\n\tvar ReactComponentEnvironment = __webpack_require__(64);\n\tvar ReactEmptyComponent = __webpack_require__(103);\n\tvar ReactBrowserEventEmitter = __webpack_require__(47);\n\tvar ReactHostComponent = __webpack_require__(105);\n\tvar ReactUpdates = __webpack_require__(15);\n\t\n\tvar ReactInjection = {\n\t Component: ReactComponentEnvironment.injection,\n\t DOMProperty: DOMProperty.injection,\n\t EmptyComponent: ReactEmptyComponent.injection,\n\t EventPluginHub: EventPluginHub.injection,\n\t EventPluginUtils: EventPluginUtils.injection,\n\t EventEmitter: ReactBrowserEventEmitter.injection,\n\t HostComponent: ReactHostComponent.injection,\n\t Updates: ReactUpdates.injection\n\t};\n\t\n\tmodule.exports = ReactInjection;\n\n/***/ },\n/* 217 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar adler32 = __webpack_require__(239);\n\t\n\tvar TAG_END = /\\/?>/;\n\tvar COMMENT_START = /^<\\!\\-\\-/;\n\t\n\tvar ReactMarkupChecksum = {\n\t CHECKSUM_ATTR_NAME: 'data-react-checksum',\n\t\n\t /**\n\t * @param {string} markup Markup string\n\t * @return {string} Markup string with checksum attribute attached\n\t */\n\t addChecksumToMarkup: function addChecksumToMarkup(markup) {\n\t var checksum = adler32(markup);\n\t\n\t // Add checksum (handle both parent tags, comments and self-closing tags)\n\t if (COMMENT_START.test(markup)) {\n\t return markup;\n\t } else {\n\t return markup.replace(TAG_END, ' ' + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + '=\"' + checksum + '\"$&');\n\t }\n\t },\n\t\n\t /**\n\t * @param {string} markup to use\n\t * @param {DOMElement} element root React element\n\t * @returns {boolean} whether or not the markup is the same\n\t */\n\t canReuseMarkup: function canReuseMarkup(markup, element) {\n\t var existingChecksum = element.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n\t existingChecksum = existingChecksum && parseInt(existingChecksum, 10);\n\t var markupChecksum = adler32(markup);\n\t return markupChecksum === existingChecksum;\n\t }\n\t};\n\t\n\tmodule.exports = ReactMarkupChecksum;\n\n/***/ },\n/* 218 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactComponentEnvironment = __webpack_require__(64);\n\tvar ReactInstanceMap = __webpack_require__(33);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\tvar ReactReconciler = __webpack_require__(34);\n\tvar ReactChildReconciler = __webpack_require__(197);\n\t\n\tvar emptyFunction = __webpack_require__(19);\n\tvar flattenChildren = __webpack_require__(242);\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Make an update for markup to be rendered and inserted at a supplied index.\n\t *\n\t * @param {string} markup Markup that renders into an element.\n\t * @param {number} toIndex Destination index.\n\t * @private\n\t */\n\tfunction makeInsertMarkup(markup, afterNode, toIndex) {\n\t // NOTE: Null values reduce hidden classes.\n\t return {\n\t type: 'INSERT_MARKUP',\n\t content: markup,\n\t fromIndex: null,\n\t fromNode: null,\n\t toIndex: toIndex,\n\t afterNode: afterNode\n\t };\n\t}\n\t\n\t/**\n\t * Make an update for moving an existing element to another index.\n\t *\n\t * @param {number} fromIndex Source index of the existing element.\n\t * @param {number} toIndex Destination index of the element.\n\t * @private\n\t */\n\tfunction makeMove(child, afterNode, toIndex) {\n\t // NOTE: Null values reduce hidden classes.\n\t return {\n\t type: 'MOVE_EXISTING',\n\t content: null,\n\t fromIndex: child._mountIndex,\n\t fromNode: ReactReconciler.getHostNode(child),\n\t toIndex: toIndex,\n\t afterNode: afterNode\n\t };\n\t}\n\t\n\t/**\n\t * Make an update for removing an element at an index.\n\t *\n\t * @param {number} fromIndex Index of the element to remove.\n\t * @private\n\t */\n\tfunction makeRemove(child, node) {\n\t // NOTE: Null values reduce hidden classes.\n\t return {\n\t type: 'REMOVE_NODE',\n\t content: null,\n\t fromIndex: child._mountIndex,\n\t fromNode: node,\n\t toIndex: null,\n\t afterNode: null\n\t };\n\t}\n\t\n\t/**\n\t * Make an update for setting the markup of a node.\n\t *\n\t * @param {string} markup Markup that renders into an element.\n\t * @private\n\t */\n\tfunction makeSetMarkup(markup) {\n\t // NOTE: Null values reduce hidden classes.\n\t return {\n\t type: 'SET_MARKUP',\n\t content: markup,\n\t fromIndex: null,\n\t fromNode: null,\n\t toIndex: null,\n\t afterNode: null\n\t };\n\t}\n\t\n\t/**\n\t * Make an update for setting the text content.\n\t *\n\t * @param {string} textContent Text content to set.\n\t * @private\n\t */\n\tfunction makeTextContent(textContent) {\n\t // NOTE: Null values reduce hidden classes.\n\t return {\n\t type: 'TEXT_CONTENT',\n\t content: textContent,\n\t fromIndex: null,\n\t fromNode: null,\n\t toIndex: null,\n\t afterNode: null\n\t };\n\t}\n\t\n\t/**\n\t * Push an update, if any, onto the queue. Creates a new queue if none is\n\t * passed and always returns the queue. Mutative.\n\t */\n\tfunction enqueue(queue, update) {\n\t if (update) {\n\t queue = queue || [];\n\t queue.push(update);\n\t }\n\t return queue;\n\t}\n\t\n\t/**\n\t * Processes any enqueued updates.\n\t *\n\t * @private\n\t */\n\tfunction processQueue(inst, updateQueue) {\n\t ReactComponentEnvironment.processChildrenUpdates(inst, updateQueue);\n\t}\n\t\n\tvar setChildrenForInstrumentation = emptyFunction;\n\tif (false) {\n\t var getDebugID = function getDebugID(inst) {\n\t if (!inst._debugID) {\n\t // Check for ART-like instances. TODO: This is silly/gross.\n\t var internal;\n\t if (internal = ReactInstanceMap.get(inst)) {\n\t inst = internal;\n\t }\n\t }\n\t return inst._debugID;\n\t };\n\t setChildrenForInstrumentation = function setChildrenForInstrumentation(children) {\n\t var debugID = getDebugID(this);\n\t // TODO: React Native empty components are also multichild.\n\t // This means they still get into this method but don't have _debugID.\n\t if (debugID !== 0) {\n\t ReactInstrumentation.debugTool.onSetChildren(debugID, children ? Object.keys(children).map(function (key) {\n\t return children[key]._debugID;\n\t }) : []);\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * ReactMultiChild are capable of reconciling multiple children.\n\t *\n\t * @class ReactMultiChild\n\t * @internal\n\t */\n\tvar ReactMultiChild = {\n\t\n\t /**\n\t * Provides common functionality for components that must reconcile multiple\n\t * children. This is used by `ReactDOMComponent` to mount, update, and\n\t * unmount child components.\n\t *\n\t * @lends {ReactMultiChild.prototype}\n\t */\n\t Mixin: {\n\t\n\t _reconcilerInstantiateChildren: function _reconcilerInstantiateChildren(nestedChildren, transaction, context) {\n\t if (false) {\n\t var selfDebugID = getDebugID(this);\n\t if (this._currentElement) {\n\t try {\n\t ReactCurrentOwner.current = this._currentElement._owner;\n\t return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context, selfDebugID);\n\t } finally {\n\t ReactCurrentOwner.current = null;\n\t }\n\t }\n\t }\n\t return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context);\n\t },\n\t\n\t _reconcilerUpdateChildren: function _reconcilerUpdateChildren(prevChildren, nextNestedChildrenElements, mountImages, removedNodes, transaction, context) {\n\t var nextChildren;\n\t var selfDebugID = 0;\n\t if (false) {\n\t selfDebugID = getDebugID(this);\n\t if (this._currentElement) {\n\t try {\n\t ReactCurrentOwner.current = this._currentElement._owner;\n\t nextChildren = flattenChildren(nextNestedChildrenElements, selfDebugID);\n\t } finally {\n\t ReactCurrentOwner.current = null;\n\t }\n\t ReactChildReconciler.updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, this, this._hostContainerInfo, context, selfDebugID);\n\t return nextChildren;\n\t }\n\t }\n\t nextChildren = flattenChildren(nextNestedChildrenElements, selfDebugID);\n\t ReactChildReconciler.updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, this, this._hostContainerInfo, context, selfDebugID);\n\t return nextChildren;\n\t },\n\t\n\t /**\n\t * Generates a \"mount image\" for each of the supplied children. In the case\n\t * of `ReactDOMComponent`, a mount image is a string of markup.\n\t *\n\t * @param {?object} nestedChildren Nested child maps.\n\t * @return {array} An array of mounted representations.\n\t * @internal\n\t */\n\t mountChildren: function mountChildren(nestedChildren, transaction, context) {\n\t var children = this._reconcilerInstantiateChildren(nestedChildren, transaction, context);\n\t this._renderedChildren = children;\n\t\n\t var mountImages = [];\n\t var index = 0;\n\t for (var name in children) {\n\t if (children.hasOwnProperty(name)) {\n\t var child = children[name];\n\t var selfDebugID = 0;\n\t if (false) {\n\t selfDebugID = getDebugID(this);\n\t }\n\t var mountImage = ReactReconciler.mountComponent(child, transaction, this, this._hostContainerInfo, context, selfDebugID);\n\t child._mountIndex = index++;\n\t mountImages.push(mountImage);\n\t }\n\t }\n\t\n\t if (false) {\n\t setChildrenForInstrumentation.call(this, children);\n\t }\n\t\n\t return mountImages;\n\t },\n\t\n\t /**\n\t * Replaces any rendered children with a text content string.\n\t *\n\t * @param {string} nextContent String of content.\n\t * @internal\n\t */\n\t updateTextContent: function updateTextContent(nextContent) {\n\t var prevChildren = this._renderedChildren;\n\t // Remove any rendered children.\n\t ReactChildReconciler.unmountChildren(prevChildren, false);\n\t for (var name in prevChildren) {\n\t if (prevChildren.hasOwnProperty(name)) {\n\t true ? false ? invariant(false, 'updateTextContent called on non-empty component.') : _prodInvariant('118') : void 0;\n\t }\n\t }\n\t // Set new text content.\n\t var updates = [makeTextContent(nextContent)];\n\t processQueue(this, updates);\n\t },\n\t\n\t /**\n\t * Replaces any rendered children with a markup string.\n\t *\n\t * @param {string} nextMarkup String of markup.\n\t * @internal\n\t */\n\t updateMarkup: function updateMarkup(nextMarkup) {\n\t var prevChildren = this._renderedChildren;\n\t // Remove any rendered children.\n\t ReactChildReconciler.unmountChildren(prevChildren, false);\n\t for (var name in prevChildren) {\n\t if (prevChildren.hasOwnProperty(name)) {\n\t true ? false ? invariant(false, 'updateTextContent called on non-empty component.') : _prodInvariant('118') : void 0;\n\t }\n\t }\n\t var updates = [makeSetMarkup(nextMarkup)];\n\t processQueue(this, updates);\n\t },\n\t\n\t /**\n\t * Updates the rendered children with new children.\n\t *\n\t * @param {?object} nextNestedChildrenElements Nested child element maps.\n\t * @param {ReactReconcileTransaction} transaction\n\t * @internal\n\t */\n\t updateChildren: function updateChildren(nextNestedChildrenElements, transaction, context) {\n\t // Hook used by React ART\n\t this._updateChildren(nextNestedChildrenElements, transaction, context);\n\t },\n\t\n\t /**\n\t * @param {?object} nextNestedChildrenElements Nested child element maps.\n\t * @param {ReactReconcileTransaction} transaction\n\t * @final\n\t * @protected\n\t */\n\t _updateChildren: function _updateChildren(nextNestedChildrenElements, transaction, context) {\n\t var prevChildren = this._renderedChildren;\n\t var removedNodes = {};\n\t var mountImages = [];\n\t var nextChildren = this._reconcilerUpdateChildren(prevChildren, nextNestedChildrenElements, mountImages, removedNodes, transaction, context);\n\t if (!nextChildren && !prevChildren) {\n\t return;\n\t }\n\t var updates = null;\n\t var name;\n\t // `nextIndex` will increment for each child in `nextChildren`, but\n\t // `lastIndex` will be the last index visited in `prevChildren`.\n\t var nextIndex = 0;\n\t var lastIndex = 0;\n\t // `nextMountIndex` will increment for each newly mounted child.\n\t var nextMountIndex = 0;\n\t var lastPlacedNode = null;\n\t for (name in nextChildren) {\n\t if (!nextChildren.hasOwnProperty(name)) {\n\t continue;\n\t }\n\t var prevChild = prevChildren && prevChildren[name];\n\t var nextChild = nextChildren[name];\n\t if (prevChild === nextChild) {\n\t updates = enqueue(updates, this.moveChild(prevChild, lastPlacedNode, nextIndex, lastIndex));\n\t lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n\t prevChild._mountIndex = nextIndex;\n\t } else {\n\t if (prevChild) {\n\t // Update `lastIndex` before `_mountIndex` gets unset by unmounting.\n\t lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n\t // The `removedNodes` loop below will actually remove the child.\n\t }\n\t // The child must be instantiated before it's mounted.\n\t updates = enqueue(updates, this._mountChildAtIndex(nextChild, mountImages[nextMountIndex], lastPlacedNode, nextIndex, transaction, context));\n\t nextMountIndex++;\n\t }\n\t nextIndex++;\n\t lastPlacedNode = ReactReconciler.getHostNode(nextChild);\n\t }\n\t // Remove children that are no longer present.\n\t for (name in removedNodes) {\n\t if (removedNodes.hasOwnProperty(name)) {\n\t updates = enqueue(updates, this._unmountChild(prevChildren[name], removedNodes[name]));\n\t }\n\t }\n\t if (updates) {\n\t processQueue(this, updates);\n\t }\n\t this._renderedChildren = nextChildren;\n\t\n\t if (false) {\n\t setChildrenForInstrumentation.call(this, nextChildren);\n\t }\n\t },\n\t\n\t /**\n\t * Unmounts all rendered children. This should be used to clean up children\n\t * when this component is unmounted. It does not actually perform any\n\t * backend operations.\n\t *\n\t * @internal\n\t */\n\t unmountChildren: function unmountChildren(safely) {\n\t var renderedChildren = this._renderedChildren;\n\t ReactChildReconciler.unmountChildren(renderedChildren, safely);\n\t this._renderedChildren = null;\n\t },\n\t\n\t /**\n\t * Moves a child component to the supplied index.\n\t *\n\t * @param {ReactComponent} child Component to move.\n\t * @param {number} toIndex Destination index of the element.\n\t * @param {number} lastIndex Last index visited of the siblings of `child`.\n\t * @protected\n\t */\n\t moveChild: function moveChild(child, afterNode, toIndex, lastIndex) {\n\t // If the index of `child` is less than `lastIndex`, then it needs to\n\t // be moved. Otherwise, we do not need to move it because a child will be\n\t // inserted or moved before `child`.\n\t if (child._mountIndex < lastIndex) {\n\t return makeMove(child, afterNode, toIndex);\n\t }\n\t },\n\t\n\t /**\n\t * Creates a child component.\n\t *\n\t * @param {ReactComponent} child Component to create.\n\t * @param {string} mountImage Markup to insert.\n\t * @protected\n\t */\n\t createChild: function createChild(child, afterNode, mountImage) {\n\t return makeInsertMarkup(mountImage, afterNode, child._mountIndex);\n\t },\n\t\n\t /**\n\t * Removes a child component.\n\t *\n\t * @param {ReactComponent} child Child to remove.\n\t * @protected\n\t */\n\t removeChild: function removeChild(child, node) {\n\t return makeRemove(child, node);\n\t },\n\t\n\t /**\n\t * Mounts a child with the supplied name.\n\t *\n\t * NOTE: This is part of `updateChildren` and is here for readability.\n\t *\n\t * @param {ReactComponent} child Component to mount.\n\t * @param {string} name Name of the child.\n\t * @param {number} index Index at which to insert the child.\n\t * @param {ReactReconcileTransaction} transaction\n\t * @private\n\t */\n\t _mountChildAtIndex: function _mountChildAtIndex(child, mountImage, afterNode, index, transaction, context) {\n\t child._mountIndex = index;\n\t return this.createChild(child, afterNode, mountImage);\n\t },\n\t\n\t /**\n\t * Unmounts a rendered child.\n\t *\n\t * NOTE: This is part of `updateChildren` and is here for readability.\n\t *\n\t * @param {ReactComponent} child Component to unmount.\n\t * @private\n\t */\n\t _unmountChild: function _unmountChild(child, node) {\n\t var update = this.removeChild(child, node);\n\t child._mountIndex = null;\n\t return update;\n\t }\n\t\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactMultiChild;\n\n/***/ },\n/* 219 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * @param {?object} object\n\t * @return {boolean} True if `object` is a valid owner.\n\t * @final\n\t */\n\tfunction isValidOwner(object) {\n\t return !!(object && typeof object.attachRef === 'function' && typeof object.detachRef === 'function');\n\t}\n\t\n\t/**\n\t * ReactOwners are capable of storing references to owned components.\n\t *\n\t * All components are capable of //being// referenced by owner components, but\n\t * only ReactOwner components are capable of //referencing// owned components.\n\t * The named reference is known as a \"ref\".\n\t *\n\t * Refs are available when mounted and updated during reconciliation.\n\t *\n\t * var MyComponent = React.createClass({\n\t * render: function() {\n\t * return (\n\t * <div onClick={this.handleClick}>\n\t * <CustomComponent ref=\"custom\" />\n\t * </div>\n\t * );\n\t * },\n\t * handleClick: function() {\n\t * this.refs.custom.handleClick();\n\t * },\n\t * componentDidMount: function() {\n\t * this.refs.custom.initialize();\n\t * }\n\t * });\n\t *\n\t * Refs should rarely be used. When refs are used, they should only be done to\n\t * control data that is not handled by React's data flow.\n\t *\n\t * @class ReactOwner\n\t */\n\tvar ReactOwner = {\n\t /**\n\t * Adds a component by ref to an owner component.\n\t *\n\t * @param {ReactComponent} component Component to reference.\n\t * @param {string} ref Name by which to refer to the component.\n\t * @param {ReactOwner} owner Component on which to record the ref.\n\t * @final\n\t * @internal\n\t */\n\t addComponentAsRefTo: function addComponentAsRefTo(component, ref, owner) {\n\t !isValidOwner(owner) ? false ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component\\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('119') : void 0;\n\t owner.attachRef(ref, component);\n\t },\n\t\n\t /**\n\t * Removes a component by ref from an owner component.\n\t *\n\t * @param {ReactComponent} component Component to dereference.\n\t * @param {string} ref Name of the ref to remove.\n\t * @param {ReactOwner} owner Component on which the ref is recorded.\n\t * @final\n\t * @internal\n\t */\n\t removeComponentAsRefFrom: function removeComponentAsRefFrom(component, ref, owner) {\n\t !isValidOwner(owner) ? false ? invariant(false, 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component\\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('120') : void 0;\n\t var ownerPublicInstance = owner.getPublicInstance();\n\t // Check that `component`'s owner is still alive and that `component` is still the current ref\n\t // because we do not want to detach the ref if another component stole it.\n\t if (ownerPublicInstance && ownerPublicInstance.refs[ref] === component.getPublicInstance()) {\n\t owner.detachRef(ref);\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactOwner;\n\n/***/ },\n/* 220 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\t\n\tmodule.exports = ReactPropTypesSecret;\n\n/***/ },\n/* 221 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar CallbackQueue = __webpack_require__(98);\n\tvar PooledClass = __webpack_require__(27);\n\tvar ReactBrowserEventEmitter = __webpack_require__(47);\n\tvar ReactInputSelection = __webpack_require__(106);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\tvar Transaction = __webpack_require__(49);\n\tvar ReactUpdateQueue = __webpack_require__(66);\n\t\n\t/**\n\t * Ensures that, when possible, the selection range (currently selected text\n\t * input) is not disturbed by performing the transaction.\n\t */\n\tvar SELECTION_RESTORATION = {\n\t /**\n\t * @return {Selection} Selection information.\n\t */\n\t initialize: ReactInputSelection.getSelectionInformation,\n\t /**\n\t * @param {Selection} sel Selection information returned from `initialize`.\n\t */\n\t close: ReactInputSelection.restoreSelection\n\t};\n\t\n\t/**\n\t * Suppresses events (blur/focus) that could be inadvertently dispatched due to\n\t * high level DOM manipulations (like temporarily removing a text input from the\n\t * DOM).\n\t */\n\tvar EVENT_SUPPRESSION = {\n\t /**\n\t * @return {boolean} The enabled status of `ReactBrowserEventEmitter` before\n\t * the reconciliation.\n\t */\n\t initialize: function initialize() {\n\t var currentlyEnabled = ReactBrowserEventEmitter.isEnabled();\n\t ReactBrowserEventEmitter.setEnabled(false);\n\t return currentlyEnabled;\n\t },\n\t\n\t /**\n\t * @param {boolean} previouslyEnabled Enabled status of\n\t * `ReactBrowserEventEmitter` before the reconciliation occurred. `close`\n\t * restores the previous value.\n\t */\n\t close: function close(previouslyEnabled) {\n\t ReactBrowserEventEmitter.setEnabled(previouslyEnabled);\n\t }\n\t};\n\t\n\t/**\n\t * Provides a queue for collecting `componentDidMount` and\n\t * `componentDidUpdate` callbacks during the transaction.\n\t */\n\tvar ON_DOM_READY_QUEUEING = {\n\t /**\n\t * Initializes the internal `onDOMReady` queue.\n\t */\n\t initialize: function initialize() {\n\t this.reactMountReady.reset();\n\t },\n\t\n\t /**\n\t * After DOM is flushed, invoke all registered `onDOMReady` callbacks.\n\t */\n\t close: function close() {\n\t this.reactMountReady.notifyAll();\n\t }\n\t};\n\t\n\t/**\n\t * Executed within the scope of the `Transaction` instance. Consider these as\n\t * being member methods, but with an implied ordering while being isolated from\n\t * each other.\n\t */\n\tvar TRANSACTION_WRAPPERS = [SELECTION_RESTORATION, EVENT_SUPPRESSION, ON_DOM_READY_QUEUEING];\n\t\n\tif (false) {\n\t TRANSACTION_WRAPPERS.push({\n\t initialize: ReactInstrumentation.debugTool.onBeginFlush,\n\t close: ReactInstrumentation.debugTool.onEndFlush\n\t });\n\t}\n\t\n\t/**\n\t * Currently:\n\t * - The order that these are listed in the transaction is critical:\n\t * - Suppresses events.\n\t * - Restores selection range.\n\t *\n\t * Future:\n\t * - Restore document/overflow scroll positions that were unintentionally\n\t * modified via DOM insertions above the top viewport boundary.\n\t * - Implement/integrate with customized constraint based layout system and keep\n\t * track of which dimensions must be remeasured.\n\t *\n\t * @class ReactReconcileTransaction\n\t */\n\tfunction ReactReconcileTransaction(useCreateElement) {\n\t this.reinitializeTransaction();\n\t // Only server-side rendering really needs this option (see\n\t // `ReactServerRendering`), but server-side uses\n\t // `ReactServerRenderingTransaction` instead. This option is here so that it's\n\t // accessible and defaults to false when `ReactDOMComponent` and\n\t // `ReactDOMTextComponent` checks it in `mountComponent`.`\n\t this.renderToStaticMarkup = false;\n\t this.reactMountReady = CallbackQueue.getPooled(null);\n\t this.useCreateElement = useCreateElement;\n\t}\n\t\n\tvar Mixin = {\n\t /**\n\t * @see Transaction\n\t * @abstract\n\t * @final\n\t * @return {array<object>} List of operation wrap procedures.\n\t * TODO: convert to array<TransactionWrapper>\n\t */\n\t getTransactionWrappers: function getTransactionWrappers() {\n\t return TRANSACTION_WRAPPERS;\n\t },\n\t\n\t /**\n\t * @return {object} The queue to collect `onDOMReady` callbacks with.\n\t */\n\t getReactMountReady: function getReactMountReady() {\n\t return this.reactMountReady;\n\t },\n\t\n\t /**\n\t * @return {object} The queue to collect React async events.\n\t */\n\t getUpdateQueue: function getUpdateQueue() {\n\t return ReactUpdateQueue;\n\t },\n\t\n\t /**\n\t * Save current transaction state -- if the return value from this method is\n\t * passed to `rollback`, the transaction will be reset to that state.\n\t */\n\t checkpoint: function checkpoint() {\n\t // reactMountReady is the our only stateful wrapper\n\t return this.reactMountReady.checkpoint();\n\t },\n\t\n\t rollback: function rollback(checkpoint) {\n\t this.reactMountReady.rollback(checkpoint);\n\t },\n\t\n\t /**\n\t * `PooledClass` looks for this, and will invoke this before allowing this\n\t * instance to be reused.\n\t */\n\t destructor: function destructor() {\n\t CallbackQueue.release(this.reactMountReady);\n\t this.reactMountReady = null;\n\t }\n\t};\n\t\n\t_assign(ReactReconcileTransaction.prototype, Transaction, Mixin);\n\t\n\tPooledClass.addPoolingTo(ReactReconcileTransaction);\n\t\n\tmodule.exports = ReactReconcileTransaction;\n\n/***/ },\n/* 222 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar ReactOwner = __webpack_require__(219);\n\t\n\tvar ReactRef = {};\n\t\n\tfunction attachRef(ref, component, owner) {\n\t if (typeof ref === 'function') {\n\t ref(component.getPublicInstance());\n\t } else {\n\t // Legacy ref\n\t ReactOwner.addComponentAsRefTo(component, ref, owner);\n\t }\n\t}\n\t\n\tfunction detachRef(ref, component, owner) {\n\t if (typeof ref === 'function') {\n\t ref(null);\n\t } else {\n\t // Legacy ref\n\t ReactOwner.removeComponentAsRefFrom(component, ref, owner);\n\t }\n\t}\n\t\n\tReactRef.attachRefs = function (instance, element) {\n\t if (element === null || (typeof element === 'undefined' ? 'undefined' : _typeof(element)) !== 'object') {\n\t return;\n\t }\n\t var ref = element.ref;\n\t if (ref != null) {\n\t attachRef(ref, instance, element._owner);\n\t }\n\t};\n\t\n\tReactRef.shouldUpdateRefs = function (prevElement, nextElement) {\n\t // If either the owner or a `ref` has changed, make sure the newest owner\n\t // has stored a reference to `this`, and the previous owner (if different)\n\t // has forgotten the reference to `this`. We use the element instead\n\t // of the public this.props because the post processing cannot determine\n\t // a ref. The ref conceptually lives on the element.\n\t\n\t // TODO: Should this even be possible? The owner cannot change because\n\t // it's forbidden by shouldUpdateReactComponent. The ref can change\n\t // if you swap the keys of but not the refs. Reconsider where this check\n\t // is made. It probably belongs where the key checking and\n\t // instantiateReactComponent is done.\n\t\n\t var prevRef = null;\n\t var prevOwner = null;\n\t if (prevElement !== null && (typeof prevElement === 'undefined' ? 'undefined' : _typeof(prevElement)) === 'object') {\n\t prevRef = prevElement.ref;\n\t prevOwner = prevElement._owner;\n\t }\n\t\n\t var nextRef = null;\n\t var nextOwner = null;\n\t if (nextElement !== null && (typeof nextElement === 'undefined' ? 'undefined' : _typeof(nextElement)) === 'object') {\n\t nextRef = nextElement.ref;\n\t nextOwner = nextElement._owner;\n\t }\n\t\n\t return prevRef !== nextRef ||\n\t // If owner changes but we have an unchanged function ref, don't update refs\n\t typeof nextRef === 'string' && nextOwner !== prevOwner;\n\t};\n\t\n\tReactRef.detachRefs = function (instance, element) {\n\t if (element === null || (typeof element === 'undefined' ? 'undefined' : _typeof(element)) !== 'object') {\n\t return;\n\t }\n\t var ref = element.ref;\n\t if (ref != null) {\n\t detachRef(ref, instance, element._owner);\n\t }\n\t};\n\t\n\tmodule.exports = ReactRef;\n\n/***/ },\n/* 223 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(7);\n\t\n\tvar PooledClass = __webpack_require__(27);\n\tvar Transaction = __webpack_require__(49);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\tvar ReactServerUpdateQueue = __webpack_require__(224);\n\t\n\t/**\n\t * Executed within the scope of the `Transaction` instance. Consider these as\n\t * being member methods, but with an implied ordering while being isolated from\n\t * each other.\n\t */\n\tvar TRANSACTION_WRAPPERS = [];\n\t\n\tif (false) {\n\t TRANSACTION_WRAPPERS.push({\n\t initialize: ReactInstrumentation.debugTool.onBeginFlush,\n\t close: ReactInstrumentation.debugTool.onEndFlush\n\t });\n\t}\n\t\n\tvar noopCallbackQueue = {\n\t enqueue: function enqueue() {}\n\t};\n\t\n\t/**\n\t * @class ReactServerRenderingTransaction\n\t * @param {boolean} renderToStaticMarkup\n\t */\n\tfunction ReactServerRenderingTransaction(renderToStaticMarkup) {\n\t this.reinitializeTransaction();\n\t this.renderToStaticMarkup = renderToStaticMarkup;\n\t this.useCreateElement = false;\n\t this.updateQueue = new ReactServerUpdateQueue(this);\n\t}\n\t\n\tvar Mixin = {\n\t /**\n\t * @see Transaction\n\t * @abstract\n\t * @final\n\t * @return {array} Empty list of operation wrap procedures.\n\t */\n\t getTransactionWrappers: function getTransactionWrappers() {\n\t return TRANSACTION_WRAPPERS;\n\t },\n\t\n\t /**\n\t * @return {object} The queue to collect `onDOMReady` callbacks with.\n\t */\n\t getReactMountReady: function getReactMountReady() {\n\t return noopCallbackQueue;\n\t },\n\t\n\t /**\n\t * @return {object} The queue to collect React async events.\n\t */\n\t getUpdateQueue: function getUpdateQueue() {\n\t return this.updateQueue;\n\t },\n\t\n\t /**\n\t * `PooledClass` looks for this, and will invoke this before allowing this\n\t * instance to be reused.\n\t */\n\t destructor: function destructor() {},\n\t\n\t checkpoint: function checkpoint() {},\n\t\n\t rollback: function rollback() {}\n\t};\n\t\n\t_assign(ReactServerRenderingTransaction.prototype, Transaction, Mixin);\n\t\n\tPooledClass.addPoolingTo(ReactServerRenderingTransaction);\n\t\n\tmodule.exports = ReactServerRenderingTransaction;\n\n/***/ },\n/* 224 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar ReactUpdateQueue = __webpack_require__(66);\n\t\n\tvar warning = __webpack_require__(5);\n\t\n\tfunction warnNoop(publicInstance, callerName) {\n\t if (false) {\n\t var constructor = publicInstance.constructor;\n\t process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounting component. ' + 'This usually means you called %s() outside componentWillMount() on the server. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;\n\t }\n\t}\n\t\n\t/**\n\t * This is the update queue used for server rendering.\n\t * It delegates to ReactUpdateQueue while server rendering is in progress and\n\t * switches to ReactNoopUpdateQueue after the transaction has completed.\n\t * @class ReactServerUpdateQueue\n\t * @param {Transaction} transaction\n\t */\n\t\n\tvar ReactServerUpdateQueue = function () {\n\t function ReactServerUpdateQueue(transaction) {\n\t _classCallCheck(this, ReactServerUpdateQueue);\n\t\n\t this.transaction = transaction;\n\t }\n\t\n\t /**\n\t * Checks whether or not this composite component is mounted.\n\t * @param {ReactClass} publicInstance The instance we want to test.\n\t * @return {boolean} True if mounted, false otherwise.\n\t * @protected\n\t * @final\n\t */\n\t\n\t ReactServerUpdateQueue.prototype.isMounted = function isMounted(publicInstance) {\n\t return false;\n\t };\n\t\n\t /**\n\t * Enqueue a callback that will be executed after all the pending updates\n\t * have processed.\n\t *\n\t * @param {ReactClass} publicInstance The instance to use as `this` context.\n\t * @param {?function} callback Called after state is updated.\n\t * @internal\n\t */\n\t\n\t ReactServerUpdateQueue.prototype.enqueueCallback = function enqueueCallback(publicInstance, callback, callerName) {\n\t if (this.transaction.isInTransaction()) {\n\t ReactUpdateQueue.enqueueCallback(publicInstance, callback, callerName);\n\t }\n\t };\n\t\n\t /**\n\t * Forces an update. This should only be invoked when it is known with\n\t * certainty that we are **not** in a DOM transaction.\n\t *\n\t * You may want to call this when you know that some deeper aspect of the\n\t * component's state has changed but `setState` was not called.\n\t *\n\t * This will not invoke `shouldComponentUpdate`, but it will invoke\n\t * `componentWillUpdate` and `componentDidUpdate`.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @internal\n\t */\n\t\n\t ReactServerUpdateQueue.prototype.enqueueForceUpdate = function enqueueForceUpdate(publicInstance) {\n\t if (this.transaction.isInTransaction()) {\n\t ReactUpdateQueue.enqueueForceUpdate(publicInstance);\n\t } else {\n\t warnNoop(publicInstance, 'forceUpdate');\n\t }\n\t };\n\t\n\t /**\n\t * Replaces all of the state. Always use this or `setState` to mutate state.\n\t * You should treat `this.state` as immutable.\n\t *\n\t * There is no guarantee that `this.state` will be immediately updated, so\n\t * accessing `this.state` after calling this method may return the old value.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object|function} completeState Next state.\n\t * @internal\n\t */\n\t\n\t ReactServerUpdateQueue.prototype.enqueueReplaceState = function enqueueReplaceState(publicInstance, completeState) {\n\t if (this.transaction.isInTransaction()) {\n\t ReactUpdateQueue.enqueueReplaceState(publicInstance, completeState);\n\t } else {\n\t warnNoop(publicInstance, 'replaceState');\n\t }\n\t };\n\t\n\t /**\n\t * Sets a subset of the state. This only exists because _pendingState is\n\t * internal. This provides a merging strategy that is not available to deep\n\t * properties which is confusing. TODO: Expose pendingState or don't use it\n\t * during the merge.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object|function} partialState Next partial state to be merged with state.\n\t * @internal\n\t */\n\t\n\t ReactServerUpdateQueue.prototype.enqueueSetState = function enqueueSetState(publicInstance, partialState) {\n\t if (this.transaction.isInTransaction()) {\n\t ReactUpdateQueue.enqueueSetState(publicInstance, partialState);\n\t } else {\n\t warnNoop(publicInstance, 'setState');\n\t }\n\t };\n\t\n\t return ReactServerUpdateQueue;\n\t}();\n\t\n\tmodule.exports = ReactServerUpdateQueue;\n\n/***/ },\n/* 225 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tmodule.exports = '15.4.1';\n\n/***/ },\n/* 226 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar NS = {\n\t xlink: 'http://www.w3.org/1999/xlink',\n\t xml: 'http://www.w3.org/XML/1998/namespace'\n\t};\n\t\n\t// We use attributes for everything SVG so let's avoid some duplication and run\n\t// code instead.\n\t// The following are all specified in the HTML config already so we exclude here.\n\t// - class (as className)\n\t// - color\n\t// - height\n\t// - id\n\t// - lang\n\t// - max\n\t// - media\n\t// - method\n\t// - min\n\t// - name\n\t// - style\n\t// - target\n\t// - type\n\t// - width\n\tvar ATTRS = {\n\t accentHeight: 'accent-height',\n\t accumulate: 0,\n\t additive: 0,\n\t alignmentBaseline: 'alignment-baseline',\n\t allowReorder: 'allowReorder',\n\t alphabetic: 0,\n\t amplitude: 0,\n\t arabicForm: 'arabic-form',\n\t ascent: 0,\n\t attributeName: 'attributeName',\n\t attributeType: 'attributeType',\n\t autoReverse: 'autoReverse',\n\t azimuth: 0,\n\t baseFrequency: 'baseFrequency',\n\t baseProfile: 'baseProfile',\n\t baselineShift: 'baseline-shift',\n\t bbox: 0,\n\t begin: 0,\n\t bias: 0,\n\t by: 0,\n\t calcMode: 'calcMode',\n\t capHeight: 'cap-height',\n\t clip: 0,\n\t clipPath: 'clip-path',\n\t clipRule: 'clip-rule',\n\t clipPathUnits: 'clipPathUnits',\n\t colorInterpolation: 'color-interpolation',\n\t colorInterpolationFilters: 'color-interpolation-filters',\n\t colorProfile: 'color-profile',\n\t colorRendering: 'color-rendering',\n\t contentScriptType: 'contentScriptType',\n\t contentStyleType: 'contentStyleType',\n\t cursor: 0,\n\t cx: 0,\n\t cy: 0,\n\t d: 0,\n\t decelerate: 0,\n\t descent: 0,\n\t diffuseConstant: 'diffuseConstant',\n\t direction: 0,\n\t display: 0,\n\t divisor: 0,\n\t dominantBaseline: 'dominant-baseline',\n\t dur: 0,\n\t dx: 0,\n\t dy: 0,\n\t edgeMode: 'edgeMode',\n\t elevation: 0,\n\t enableBackground: 'enable-background',\n\t end: 0,\n\t exponent: 0,\n\t externalResourcesRequired: 'externalResourcesRequired',\n\t fill: 0,\n\t fillOpacity: 'fill-opacity',\n\t fillRule: 'fill-rule',\n\t filter: 0,\n\t filterRes: 'filterRes',\n\t filterUnits: 'filterUnits',\n\t floodColor: 'flood-color',\n\t floodOpacity: 'flood-opacity',\n\t focusable: 0,\n\t fontFamily: 'font-family',\n\t fontSize: 'font-size',\n\t fontSizeAdjust: 'font-size-adjust',\n\t fontStretch: 'font-stretch',\n\t fontStyle: 'font-style',\n\t fontVariant: 'font-variant',\n\t fontWeight: 'font-weight',\n\t format: 0,\n\t from: 0,\n\t fx: 0,\n\t fy: 0,\n\t g1: 0,\n\t g2: 0,\n\t glyphName: 'glyph-name',\n\t glyphOrientationHorizontal: 'glyph-orientation-horizontal',\n\t glyphOrientationVertical: 'glyph-orientation-vertical',\n\t glyphRef: 'glyphRef',\n\t gradientTransform: 'gradientTransform',\n\t gradientUnits: 'gradientUnits',\n\t hanging: 0,\n\t horizAdvX: 'horiz-adv-x',\n\t horizOriginX: 'horiz-origin-x',\n\t ideographic: 0,\n\t imageRendering: 'image-rendering',\n\t 'in': 0,\n\t in2: 0,\n\t intercept: 0,\n\t k: 0,\n\t k1: 0,\n\t k2: 0,\n\t k3: 0,\n\t k4: 0,\n\t kernelMatrix: 'kernelMatrix',\n\t kernelUnitLength: 'kernelUnitLength',\n\t kerning: 0,\n\t keyPoints: 'keyPoints',\n\t keySplines: 'keySplines',\n\t keyTimes: 'keyTimes',\n\t lengthAdjust: 'lengthAdjust',\n\t letterSpacing: 'letter-spacing',\n\t lightingColor: 'lighting-color',\n\t limitingConeAngle: 'limitingConeAngle',\n\t local: 0,\n\t markerEnd: 'marker-end',\n\t markerMid: 'marker-mid',\n\t markerStart: 'marker-start',\n\t markerHeight: 'markerHeight',\n\t markerUnits: 'markerUnits',\n\t markerWidth: 'markerWidth',\n\t mask: 0,\n\t maskContentUnits: 'maskContentUnits',\n\t maskUnits: 'maskUnits',\n\t mathematical: 0,\n\t mode: 0,\n\t numOctaves: 'numOctaves',\n\t offset: 0,\n\t opacity: 0,\n\t operator: 0,\n\t order: 0,\n\t orient: 0,\n\t orientation: 0,\n\t origin: 0,\n\t overflow: 0,\n\t overlinePosition: 'overline-position',\n\t overlineThickness: 'overline-thickness',\n\t paintOrder: 'paint-order',\n\t panose1: 'panose-1',\n\t pathLength: 'pathLength',\n\t patternContentUnits: 'patternContentUnits',\n\t patternTransform: 'patternTransform',\n\t patternUnits: 'patternUnits',\n\t pointerEvents: 'pointer-events',\n\t points: 0,\n\t pointsAtX: 'pointsAtX',\n\t pointsAtY: 'pointsAtY',\n\t pointsAtZ: 'pointsAtZ',\n\t preserveAlpha: 'preserveAlpha',\n\t preserveAspectRatio: 'preserveAspectRatio',\n\t primitiveUnits: 'primitiveUnits',\n\t r: 0,\n\t radius: 0,\n\t refX: 'refX',\n\t refY: 'refY',\n\t renderingIntent: 'rendering-intent',\n\t repeatCount: 'repeatCount',\n\t repeatDur: 'repeatDur',\n\t requiredExtensions: 'requiredExtensions',\n\t requiredFeatures: 'requiredFeatures',\n\t restart: 0,\n\t result: 0,\n\t rotate: 0,\n\t rx: 0,\n\t ry: 0,\n\t scale: 0,\n\t seed: 0,\n\t shapeRendering: 'shape-rendering',\n\t slope: 0,\n\t spacing: 0,\n\t specularConstant: 'specularConstant',\n\t specularExponent: 'specularExponent',\n\t speed: 0,\n\t spreadMethod: 'spreadMethod',\n\t startOffset: 'startOffset',\n\t stdDeviation: 'stdDeviation',\n\t stemh: 0,\n\t stemv: 0,\n\t stitchTiles: 'stitchTiles',\n\t stopColor: 'stop-color',\n\t stopOpacity: 'stop-opacity',\n\t strikethroughPosition: 'strikethrough-position',\n\t strikethroughThickness: 'strikethrough-thickness',\n\t string: 0,\n\t stroke: 0,\n\t strokeDasharray: 'stroke-dasharray',\n\t strokeDashoffset: 'stroke-dashoffset',\n\t strokeLinecap: 'stroke-linecap',\n\t strokeLinejoin: 'stroke-linejoin',\n\t strokeMiterlimit: 'stroke-miterlimit',\n\t strokeOpacity: 'stroke-opacity',\n\t strokeWidth: 'stroke-width',\n\t surfaceScale: 'surfaceScale',\n\t systemLanguage: 'systemLanguage',\n\t tableValues: 'tableValues',\n\t targetX: 'targetX',\n\t targetY: 'targetY',\n\t textAnchor: 'text-anchor',\n\t textDecoration: 'text-decoration',\n\t textRendering: 'text-rendering',\n\t textLength: 'textLength',\n\t to: 0,\n\t transform: 0,\n\t u1: 0,\n\t u2: 0,\n\t underlinePosition: 'underline-position',\n\t underlineThickness: 'underline-thickness',\n\t unicode: 0,\n\t unicodeBidi: 'unicode-bidi',\n\t unicodeRange: 'unicode-range',\n\t unitsPerEm: 'units-per-em',\n\t vAlphabetic: 'v-alphabetic',\n\t vHanging: 'v-hanging',\n\t vIdeographic: 'v-ideographic',\n\t vMathematical: 'v-mathematical',\n\t values: 0,\n\t vectorEffect: 'vector-effect',\n\t version: 0,\n\t vertAdvY: 'vert-adv-y',\n\t vertOriginX: 'vert-origin-x',\n\t vertOriginY: 'vert-origin-y',\n\t viewBox: 'viewBox',\n\t viewTarget: 'viewTarget',\n\t visibility: 0,\n\t widths: 0,\n\t wordSpacing: 'word-spacing',\n\t writingMode: 'writing-mode',\n\t x: 0,\n\t xHeight: 'x-height',\n\t x1: 0,\n\t x2: 0,\n\t xChannelSelector: 'xChannelSelector',\n\t xlinkActuate: 'xlink:actuate',\n\t xlinkArcrole: 'xlink:arcrole',\n\t xlinkHref: 'xlink:href',\n\t xlinkRole: 'xlink:role',\n\t xlinkShow: 'xlink:show',\n\t xlinkTitle: 'xlink:title',\n\t xlinkType: 'xlink:type',\n\t xmlBase: 'xml:base',\n\t xmlns: 0,\n\t xmlnsXlink: 'xmlns:xlink',\n\t xmlLang: 'xml:lang',\n\t xmlSpace: 'xml:space',\n\t y: 0,\n\t y1: 0,\n\t y2: 0,\n\t yChannelSelector: 'yChannelSelector',\n\t z: 0,\n\t zoomAndPan: 'zoomAndPan'\n\t};\n\t\n\tvar SVGDOMPropertyConfig = {\n\t Properties: {},\n\t DOMAttributeNamespaces: {\n\t xlinkActuate: NS.xlink,\n\t xlinkArcrole: NS.xlink,\n\t xlinkHref: NS.xlink,\n\t xlinkRole: NS.xlink,\n\t xlinkShow: NS.xlink,\n\t xlinkTitle: NS.xlink,\n\t xlinkType: NS.xlink,\n\t xmlBase: NS.xml,\n\t xmlLang: NS.xml,\n\t xmlSpace: NS.xml\n\t },\n\t DOMAttributeNames: {}\n\t};\n\t\n\tObject.keys(ATTRS).forEach(function (key) {\n\t SVGDOMPropertyConfig.Properties[key] = 0;\n\t if (ATTRS[key]) {\n\t SVGDOMPropertyConfig.DOMAttributeNames[key] = ATTRS[key];\n\t }\n\t});\n\t\n\tmodule.exports = SVGDOMPropertyConfig;\n\n/***/ },\n/* 227 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventPropagators = __webpack_require__(43);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactInputSelection = __webpack_require__(106);\n\tvar SyntheticEvent = __webpack_require__(18);\n\t\n\tvar getActiveElement = __webpack_require__(122);\n\tvar isTextInputElement = __webpack_require__(116);\n\tvar shallowEqual = __webpack_require__(74);\n\t\n\tvar skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11;\n\t\n\tvar eventTypes = {\n\t select: {\n\t phasedRegistrationNames: {\n\t bubbled: 'onSelect',\n\t captured: 'onSelectCapture'\n\t },\n\t dependencies: ['topBlur', 'topContextMenu', 'topFocus', 'topKeyDown', 'topKeyUp', 'topMouseDown', 'topMouseUp', 'topSelectionChange']\n\t }\n\t};\n\t\n\tvar activeElement = null;\n\tvar activeElementInst = null;\n\tvar lastSelection = null;\n\tvar mouseDown = false;\n\t\n\t// Track whether a listener exists for this plugin. If none exist, we do\n\t// not extract events. See #3639.\n\tvar hasListener = false;\n\t\n\t/**\n\t * Get an object which is a unique representation of the current selection.\n\t *\n\t * The return value will not be consistent across nodes or browsers, but\n\t * two identical selections on the same node will return identical objects.\n\t *\n\t * @param {DOMElement} node\n\t * @return {object}\n\t */\n\tfunction getSelection(node) {\n\t if ('selectionStart' in node && ReactInputSelection.hasSelectionCapabilities(node)) {\n\t return {\n\t start: node.selectionStart,\n\t end: node.selectionEnd\n\t };\n\t } else if (window.getSelection) {\n\t var selection = window.getSelection();\n\t return {\n\t anchorNode: selection.anchorNode,\n\t anchorOffset: selection.anchorOffset,\n\t focusNode: selection.focusNode,\n\t focusOffset: selection.focusOffset\n\t };\n\t } else if (document.selection) {\n\t var range = document.selection.createRange();\n\t return {\n\t parentElement: range.parentElement(),\n\t text: range.text,\n\t top: range.boundingTop,\n\t left: range.boundingLeft\n\t };\n\t }\n\t}\n\t\n\t/**\n\t * Poll selection to see whether it's changed.\n\t *\n\t * @param {object} nativeEvent\n\t * @return {?SyntheticEvent}\n\t */\n\tfunction constructSelectEvent(nativeEvent, nativeEventTarget) {\n\t // Ensure we have the right element, and that the user is not dragging a\n\t // selection (this matches native `select` event behavior). In HTML5, select\n\t // fires only on input and textarea thus if there's no focused element we\n\t // won't dispatch.\n\t if (mouseDown || activeElement == null || activeElement !== getActiveElement()) {\n\t return null;\n\t }\n\t\n\t // Only fire when selection has actually changed.\n\t var currentSelection = getSelection(activeElement);\n\t if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {\n\t lastSelection = currentSelection;\n\t\n\t var syntheticEvent = SyntheticEvent.getPooled(eventTypes.select, activeElementInst, nativeEvent, nativeEventTarget);\n\t\n\t syntheticEvent.type = 'select';\n\t syntheticEvent.target = activeElement;\n\t\n\t EventPropagators.accumulateTwoPhaseDispatches(syntheticEvent);\n\t\n\t return syntheticEvent;\n\t }\n\t\n\t return null;\n\t}\n\t\n\t/**\n\t * This plugin creates an `onSelect` event that normalizes select events\n\t * across form elements.\n\t *\n\t * Supported elements are:\n\t * - input (see `isTextInputElement`)\n\t * - textarea\n\t * - contentEditable\n\t *\n\t * This differs from native browser implementations in the following ways:\n\t * - Fires on contentEditable fields as well as inputs.\n\t * - Fires for collapsed selection.\n\t * - Fires after user input.\n\t */\n\tvar SelectEventPlugin = {\n\t\n\t eventTypes: eventTypes,\n\t\n\t extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t if (!hasListener) {\n\t return null;\n\t }\n\t\n\t var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window;\n\t\n\t switch (topLevelType) {\n\t // Track the input node that has focus.\n\t case 'topFocus':\n\t if (isTextInputElement(targetNode) || targetNode.contentEditable === 'true') {\n\t activeElement = targetNode;\n\t activeElementInst = targetInst;\n\t lastSelection = null;\n\t }\n\t break;\n\t case 'topBlur':\n\t activeElement = null;\n\t activeElementInst = null;\n\t lastSelection = null;\n\t break;\n\t\n\t // Don't fire the event while the user is dragging. This matches the\n\t // semantics of the native select event.\n\t case 'topMouseDown':\n\t mouseDown = true;\n\t break;\n\t case 'topContextMenu':\n\t case 'topMouseUp':\n\t mouseDown = false;\n\t return constructSelectEvent(nativeEvent, nativeEventTarget);\n\t\n\t // Chrome and IE fire non-standard event when selection is changed (and\n\t // sometimes when it hasn't). IE's event fires out of order with respect\n\t // to key and input events on deletion, so we discard it.\n\t //\n\t // Firefox doesn't support selectionchange, so check selection status\n\t // after each key entry. The selection changes after keydown and before\n\t // keyup, but we check on keydown as well in the case of holding down a\n\t // key, when multiple keydown events are fired but only one keyup is.\n\t // This is also our approach for IE handling, for the reason above.\n\t case 'topSelectionChange':\n\t if (skipSelectionChangeEvent) {\n\t break;\n\t }\n\t // falls through\n\t case 'topKeyDown':\n\t case 'topKeyUp':\n\t return constructSelectEvent(nativeEvent, nativeEventTarget);\n\t }\n\t\n\t return null;\n\t },\n\t\n\t didPutListener: function didPutListener(inst, registrationName, listener) {\n\t if (registrationName === 'onSelect') {\n\t hasListener = true;\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = SelectEventPlugin;\n\n/***/ },\n/* 228 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar EventListener = __webpack_require__(119);\n\tvar EventPropagators = __webpack_require__(43);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar SyntheticAnimationEvent = __webpack_require__(229);\n\tvar SyntheticClipboardEvent = __webpack_require__(230);\n\tvar SyntheticEvent = __webpack_require__(18);\n\tvar SyntheticFocusEvent = __webpack_require__(233);\n\tvar SyntheticKeyboardEvent = __webpack_require__(235);\n\tvar SyntheticMouseEvent = __webpack_require__(48);\n\tvar SyntheticDragEvent = __webpack_require__(232);\n\tvar SyntheticTouchEvent = __webpack_require__(236);\n\tvar SyntheticTransitionEvent = __webpack_require__(237);\n\tvar SyntheticUIEvent = __webpack_require__(44);\n\tvar SyntheticWheelEvent = __webpack_require__(238);\n\t\n\tvar emptyFunction = __webpack_require__(19);\n\tvar getEventCharCode = __webpack_require__(68);\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Turns\n\t * ['abort', ...]\n\t * into\n\t * eventTypes = {\n\t * 'abort': {\n\t * phasedRegistrationNames: {\n\t * bubbled: 'onAbort',\n\t * captured: 'onAbortCapture',\n\t * },\n\t * dependencies: ['topAbort'],\n\t * },\n\t * ...\n\t * };\n\t * topLevelEventsToDispatchConfig = {\n\t * 'topAbort': { sameConfig }\n\t * };\n\t */\n\tvar eventTypes = {};\n\tvar topLevelEventsToDispatchConfig = {};\n\t['abort', 'animationEnd', 'animationIteration', 'animationStart', 'blur', 'canPlay', 'canPlayThrough', 'click', 'contextMenu', 'copy', 'cut', 'doubleClick', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'focus', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'progress', 'rateChange', 'reset', 'scroll', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchMove', 'touchStart', 'transitionEnd', 'volumeChange', 'waiting', 'wheel'].forEach(function (event) {\n\t var capitalizedEvent = event[0].toUpperCase() + event.slice(1);\n\t var onEvent = 'on' + capitalizedEvent;\n\t var topEvent = 'top' + capitalizedEvent;\n\t\n\t var type = {\n\t phasedRegistrationNames: {\n\t bubbled: onEvent,\n\t captured: onEvent + 'Capture'\n\t },\n\t dependencies: [topEvent]\n\t };\n\t eventTypes[event] = type;\n\t topLevelEventsToDispatchConfig[topEvent] = type;\n\t});\n\t\n\tvar onClickListeners = {};\n\t\n\tfunction getDictionaryKey(inst) {\n\t // Prevents V8 performance issue:\n\t // https://github.com/facebook/react/pull/7232\n\t return '.' + inst._rootNodeID;\n\t}\n\t\n\tfunction isInteractive(tag) {\n\t return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';\n\t}\n\t\n\tvar SimpleEventPlugin = {\n\t\n\t eventTypes: eventTypes,\n\t\n\t extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType];\n\t if (!dispatchConfig) {\n\t return null;\n\t }\n\t var EventConstructor;\n\t switch (topLevelType) {\n\t case 'topAbort':\n\t case 'topCanPlay':\n\t case 'topCanPlayThrough':\n\t case 'topDurationChange':\n\t case 'topEmptied':\n\t case 'topEncrypted':\n\t case 'topEnded':\n\t case 'topError':\n\t case 'topInput':\n\t case 'topInvalid':\n\t case 'topLoad':\n\t case 'topLoadedData':\n\t case 'topLoadedMetadata':\n\t case 'topLoadStart':\n\t case 'topPause':\n\t case 'topPlay':\n\t case 'topPlaying':\n\t case 'topProgress':\n\t case 'topRateChange':\n\t case 'topReset':\n\t case 'topSeeked':\n\t case 'topSeeking':\n\t case 'topStalled':\n\t case 'topSubmit':\n\t case 'topSuspend':\n\t case 'topTimeUpdate':\n\t case 'topVolumeChange':\n\t case 'topWaiting':\n\t // HTML Events\n\t // @see http://www.w3.org/TR/html5/index.html#events-0\n\t EventConstructor = SyntheticEvent;\n\t break;\n\t case 'topKeyPress':\n\t // Firefox creates a keypress event for function keys too. This removes\n\t // the unwanted keypress events. Enter is however both printable and\n\t // non-printable. One would expect Tab to be as well (but it isn't).\n\t if (getEventCharCode(nativeEvent) === 0) {\n\t return null;\n\t }\n\t /* falls through */\n\t case 'topKeyDown':\n\t case 'topKeyUp':\n\t EventConstructor = SyntheticKeyboardEvent;\n\t break;\n\t case 'topBlur':\n\t case 'topFocus':\n\t EventConstructor = SyntheticFocusEvent;\n\t break;\n\t case 'topClick':\n\t // Firefox creates a click event on right mouse clicks. This removes the\n\t // unwanted click events.\n\t if (nativeEvent.button === 2) {\n\t return null;\n\t }\n\t /* falls through */\n\t case 'topDoubleClick':\n\t case 'topMouseDown':\n\t case 'topMouseMove':\n\t case 'topMouseUp':\n\t // TODO: Disabled elements should not respond to mouse events\n\t /* falls through */\n\t case 'topMouseOut':\n\t case 'topMouseOver':\n\t case 'topContextMenu':\n\t EventConstructor = SyntheticMouseEvent;\n\t break;\n\t case 'topDrag':\n\t case 'topDragEnd':\n\t case 'topDragEnter':\n\t case 'topDragExit':\n\t case 'topDragLeave':\n\t case 'topDragOver':\n\t case 'topDragStart':\n\t case 'topDrop':\n\t EventConstructor = SyntheticDragEvent;\n\t break;\n\t case 'topTouchCancel':\n\t case 'topTouchEnd':\n\t case 'topTouchMove':\n\t case 'topTouchStart':\n\t EventConstructor = SyntheticTouchEvent;\n\t break;\n\t case 'topAnimationEnd':\n\t case 'topAnimationIteration':\n\t case 'topAnimationStart':\n\t EventConstructor = SyntheticAnimationEvent;\n\t break;\n\t case 'topTransitionEnd':\n\t EventConstructor = SyntheticTransitionEvent;\n\t break;\n\t case 'topScroll':\n\t EventConstructor = SyntheticUIEvent;\n\t break;\n\t case 'topWheel':\n\t EventConstructor = SyntheticWheelEvent;\n\t break;\n\t case 'topCopy':\n\t case 'topCut':\n\t case 'topPaste':\n\t EventConstructor = SyntheticClipboardEvent;\n\t break;\n\t }\n\t !EventConstructor ? false ? invariant(false, 'SimpleEventPlugin: Unhandled event type, `%s`.', topLevelType) : _prodInvariant('86', topLevelType) : void 0;\n\t var event = EventConstructor.getPooled(dispatchConfig, targetInst, nativeEvent, nativeEventTarget);\n\t EventPropagators.accumulateTwoPhaseDispatches(event);\n\t return event;\n\t },\n\t\n\t didPutListener: function didPutListener(inst, registrationName, listener) {\n\t // Mobile Safari does not fire properly bubble click events on\n\t // non-interactive elements, which means delegated click listeners do not\n\t // fire. The workaround for this bug involves attaching an empty click\n\t // listener on the target node.\n\t // http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n\t if (registrationName === 'onClick' && !isInteractive(inst._tag)) {\n\t var key = getDictionaryKey(inst);\n\t var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n\t if (!onClickListeners[key]) {\n\t onClickListeners[key] = EventListener.listen(node, 'click', emptyFunction);\n\t }\n\t }\n\t },\n\t\n\t willDeleteListener: function willDeleteListener(inst, registrationName) {\n\t if (registrationName === 'onClick' && !isInteractive(inst._tag)) {\n\t var key = getDictionaryKey(inst);\n\t onClickListeners[key].remove();\n\t delete onClickListeners[key];\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = SimpleEventPlugin;\n\n/***/ },\n/* 229 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(18);\n\t\n\t/**\n\t * @interface Event\n\t * @see http://www.w3.org/TR/css3-animations/#AnimationEvent-interface\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent\n\t */\n\tvar AnimationEventInterface = {\n\t animationName: null,\n\t elapsedTime: null,\n\t pseudoElement: null\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticEvent}\n\t */\n\tfunction SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticEvent.augmentClass(SyntheticAnimationEvent, AnimationEventInterface);\n\t\n\tmodule.exports = SyntheticAnimationEvent;\n\n/***/ },\n/* 230 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(18);\n\t\n\t/**\n\t * @interface Event\n\t * @see http://www.w3.org/TR/clipboard-apis/\n\t */\n\tvar ClipboardEventInterface = {\n\t clipboardData: function clipboardData(event) {\n\t return 'clipboardData' in event ? event.clipboardData : window.clipboardData;\n\t }\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticUIEvent}\n\t */\n\tfunction SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface);\n\t\n\tmodule.exports = SyntheticClipboardEvent;\n\n/***/ },\n/* 231 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(18);\n\t\n\t/**\n\t * @interface Event\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents\n\t */\n\tvar CompositionEventInterface = {\n\t data: null\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticUIEvent}\n\t */\n\tfunction SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface);\n\t\n\tmodule.exports = SyntheticCompositionEvent;\n\n/***/ },\n/* 232 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticMouseEvent = __webpack_require__(48);\n\t\n\t/**\n\t * @interface DragEvent\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/\n\t */\n\tvar DragEventInterface = {\n\t dataTransfer: null\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticUIEvent}\n\t */\n\tfunction SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface);\n\t\n\tmodule.exports = SyntheticDragEvent;\n\n/***/ },\n/* 233 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticUIEvent = __webpack_require__(44);\n\t\n\t/**\n\t * @interface FocusEvent\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/\n\t */\n\tvar FocusEventInterface = {\n\t relatedTarget: null\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticUIEvent}\n\t */\n\tfunction SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface);\n\t\n\tmodule.exports = SyntheticFocusEvent;\n\n/***/ },\n/* 234 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(18);\n\t\n\t/**\n\t * @interface Event\n\t * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105\n\t * /#events-inputevents\n\t */\n\tvar InputEventInterface = {\n\t data: null\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticUIEvent}\n\t */\n\tfunction SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface);\n\t\n\tmodule.exports = SyntheticInputEvent;\n\n/***/ },\n/* 235 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticUIEvent = __webpack_require__(44);\n\t\n\tvar getEventCharCode = __webpack_require__(68);\n\tvar getEventKey = __webpack_require__(243);\n\tvar getEventModifierState = __webpack_require__(69);\n\t\n\t/**\n\t * @interface KeyboardEvent\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/\n\t */\n\tvar KeyboardEventInterface = {\n\t key: getEventKey,\n\t location: null,\n\t ctrlKey: null,\n\t shiftKey: null,\n\t altKey: null,\n\t metaKey: null,\n\t repeat: null,\n\t locale: null,\n\t getModifierState: getEventModifierState,\n\t // Legacy Interface\n\t charCode: function charCode(event) {\n\t // `charCode` is the result of a KeyPress event and represents the value of\n\t // the actual printable character.\n\t\n\t // KeyPress is deprecated, but its replacement is not yet final and not\n\t // implemented in any major browser. Only KeyPress has charCode.\n\t if (event.type === 'keypress') {\n\t return getEventCharCode(event);\n\t }\n\t return 0;\n\t },\n\t keyCode: function keyCode(event) {\n\t // `keyCode` is the result of a KeyDown/Up event and represents the value of\n\t // physical keyboard key.\n\t\n\t // The actual meaning of the value depends on the users' keyboard layout\n\t // which cannot be detected. Assuming that it is a US keyboard layout\n\t // provides a surprisingly accurate mapping for US and European users.\n\t // Due to this, it is left to the user to implement at this time.\n\t if (event.type === 'keydown' || event.type === 'keyup') {\n\t return event.keyCode;\n\t }\n\t return 0;\n\t },\n\t which: function which(event) {\n\t // `which` is an alias for either `keyCode` or `charCode` depending on the\n\t // type of the event.\n\t if (event.type === 'keypress') {\n\t return getEventCharCode(event);\n\t }\n\t if (event.type === 'keydown' || event.type === 'keyup') {\n\t return event.keyCode;\n\t }\n\t return 0;\n\t }\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticUIEvent}\n\t */\n\tfunction SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface);\n\t\n\tmodule.exports = SyntheticKeyboardEvent;\n\n/***/ },\n/* 236 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticUIEvent = __webpack_require__(44);\n\t\n\tvar getEventModifierState = __webpack_require__(69);\n\t\n\t/**\n\t * @interface TouchEvent\n\t * @see http://www.w3.org/TR/touch-events/\n\t */\n\tvar TouchEventInterface = {\n\t touches: null,\n\t targetTouches: null,\n\t changedTouches: null,\n\t altKey: null,\n\t metaKey: null,\n\t ctrlKey: null,\n\t shiftKey: null,\n\t getModifierState: getEventModifierState\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticUIEvent}\n\t */\n\tfunction SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface);\n\t\n\tmodule.exports = SyntheticTouchEvent;\n\n/***/ },\n/* 237 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(18);\n\t\n\t/**\n\t * @interface Event\n\t * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent\n\t */\n\tvar TransitionEventInterface = {\n\t propertyName: null,\n\t elapsedTime: null,\n\t pseudoElement: null\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticEvent}\n\t */\n\tfunction SyntheticTransitionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticEvent.augmentClass(SyntheticTransitionEvent, TransitionEventInterface);\n\t\n\tmodule.exports = SyntheticTransitionEvent;\n\n/***/ },\n/* 238 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticMouseEvent = __webpack_require__(48);\n\t\n\t/**\n\t * @interface WheelEvent\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/\n\t */\n\tvar WheelEventInterface = {\n\t deltaX: function deltaX(event) {\n\t return 'deltaX' in event ? event.deltaX :\n\t // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).\n\t 'wheelDeltaX' in event ? -event.wheelDeltaX : 0;\n\t },\n\t deltaY: function deltaY(event) {\n\t return 'deltaY' in event ? event.deltaY :\n\t // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).\n\t 'wheelDeltaY' in event ? -event.wheelDeltaY :\n\t // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).\n\t 'wheelDelta' in event ? -event.wheelDelta : 0;\n\t },\n\t deltaZ: null,\n\t\n\t // Browsers without \"deltaMode\" is reporting in raw wheel delta where one\n\t // notch on the scroll is always +/- 120, roughly equivalent to pixels.\n\t // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or\n\t // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.\n\t deltaMode: null\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticMouseEvent}\n\t */\n\tfunction SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);\n\t\n\tmodule.exports = SyntheticWheelEvent;\n\n/***/ },\n/* 239 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar MOD = 65521;\n\t\n\t// adler32 is not cryptographically strong, and is only used to sanity check that\n\t// markup generated on the server matches the markup generated on the client.\n\t// This implementation (a modified version of the SheetJS version) has been optimized\n\t// for our use case, at the expense of conforming to the adler32 specification\n\t// for non-ascii inputs.\n\tfunction adler32(data) {\n\t var a = 1;\n\t var b = 0;\n\t var i = 0;\n\t var l = data.length;\n\t var m = l & ~0x3;\n\t while (i < m) {\n\t var n = Math.min(i + 4096, m);\n\t for (; i < n; i += 4) {\n\t b += (a += data.charCodeAt(i)) + (a += data.charCodeAt(i + 1)) + (a += data.charCodeAt(i + 2)) + (a += data.charCodeAt(i + 3));\n\t }\n\t a %= MOD;\n\t b %= MOD;\n\t }\n\t for (; i < l; i++) {\n\t b += a += data.charCodeAt(i);\n\t }\n\t a %= MOD;\n\t b %= MOD;\n\t return a | b << 16;\n\t}\n\t\n\tmodule.exports = adler32;\n\n/***/ },\n/* 240 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar CSSProperty = __webpack_require__(97);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar isUnitlessNumber = CSSProperty.isUnitlessNumber;\n\tvar styleWarnings = {};\n\t\n\t/**\n\t * Convert a value into the proper css writable value. The style name `name`\n\t * should be logical (no hyphens), as specified\n\t * in `CSSProperty.isUnitlessNumber`.\n\t *\n\t * @param {string} name CSS property name such as `topMargin`.\n\t * @param {*} value CSS property value such as `10px`.\n\t * @param {ReactDOMComponent} component\n\t * @return {string} Normalized style value with dimensions applied.\n\t */\n\tfunction dangerousStyleValue(name, value, component) {\n\t // Note that we've removed escapeTextForBrowser() calls here since the\n\t // whole string will be escaped when the attribute is injected into\n\t // the markup. If you provide unsafe user data here they can inject\n\t // arbitrary CSS which may be problematic (I couldn't repro this):\n\t // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet\n\t // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/\n\t // This is not an XSS hole but instead a potential CSS injection issue\n\t // which has lead to a greater discussion about how we're going to\n\t // trust URLs moving forward. See #2115901\n\t\n\t var isEmpty = value == null || typeof value === 'boolean' || value === '';\n\t if (isEmpty) {\n\t return '';\n\t }\n\t\n\t var isNonNumeric = isNaN(value);\n\t if (isNonNumeric || value === 0 || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) {\n\t return '' + value; // cast to string\n\t }\n\t\n\t if (typeof value === 'string') {\n\t if (false) {\n\t // Allow '0' to pass through without warning. 0 is already special and\n\t // doesn't require units, so we don't need to warn about it.\n\t if (component && value !== '0') {\n\t var owner = component._currentElement._owner;\n\t var ownerName = owner ? owner.getName() : null;\n\t if (ownerName && !styleWarnings[ownerName]) {\n\t styleWarnings[ownerName] = {};\n\t }\n\t var warned = false;\n\t if (ownerName) {\n\t var warnings = styleWarnings[ownerName];\n\t warned = warnings[name];\n\t if (!warned) {\n\t warnings[name] = true;\n\t }\n\t }\n\t if (!warned) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'a `%s` tag (owner: `%s`) was passed a numeric string value ' + 'for CSS property `%s` (value: `%s`) which will be treated ' + 'as a unitless number in a future version of React.', component._currentElement.type, ownerName || 'unknown', name, value) : void 0;\n\t }\n\t }\n\t }\n\t value = value.trim();\n\t }\n\t return value + 'px';\n\t}\n\t\n\tmodule.exports = dangerousStyleValue;\n\n/***/ },\n/* 241 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\tvar ReactDOMComponentTree = __webpack_require__(6);\n\tvar ReactInstanceMap = __webpack_require__(33);\n\t\n\tvar getHostComponentFromComposite = __webpack_require__(112);\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(5);\n\t\n\t/**\n\t * Returns the DOM node rendered by this element.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.finddomnode\n\t *\n\t * @param {ReactComponent|DOMElement} componentOrElement\n\t * @return {?DOMElement} The root node of this element.\n\t */\n\tfunction findDOMNode(componentOrElement) {\n\t if (false) {\n\t var owner = ReactCurrentOwner.current;\n\t if (owner !== null) {\n\t process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing findDOMNode inside its render(). ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : void 0;\n\t owner._warnedAboutRefsInRender = true;\n\t }\n\t }\n\t if (componentOrElement == null) {\n\t return null;\n\t }\n\t if (componentOrElement.nodeType === 1) {\n\t return componentOrElement;\n\t }\n\t\n\t var inst = ReactInstanceMap.get(componentOrElement);\n\t if (inst) {\n\t inst = getHostComponentFromComposite(inst);\n\t return inst ? ReactDOMComponentTree.getNodeFromInstance(inst) : null;\n\t }\n\t\n\t if (typeof componentOrElement.render === 'function') {\n\t true ? false ? invariant(false, 'findDOMNode was called on an unmounted component.') : _prodInvariant('44') : void 0;\n\t } else {\n\t true ? false ? invariant(false, 'Element appears to be neither ReactComponent nor DOMNode (keys: %s)', Object.keys(componentOrElement)) : _prodInvariant('45', Object.keys(componentOrElement)) : void 0;\n\t }\n\t}\n\t\n\tmodule.exports = findDOMNode;\n\n/***/ },\n/* 242 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar KeyEscapeUtils = __webpack_require__(62);\n\tvar traverseAllChildren = __webpack_require__(118);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar ReactComponentTreeHook;\n\t\n\tif (typeof process !== 'undefined' && ({\"NODE_ENV\":\"production\"}) && (\"production\") === 'test') {\n\t // Temporary hack.\n\t // Inline requires don't work well with Jest:\n\t // https://github.com/facebook/react/issues/7240\n\t // Remove the inline requires when we don't need them anymore:\n\t // https://github.com/facebook/react/pull/7178\n\t ReactComponentTreeHook = __webpack_require__(76);\n\t}\n\t\n\t/**\n\t * @param {function} traverseContext Context passed through traversal.\n\t * @param {?ReactComponent} child React child component.\n\t * @param {!string} name String name of key path to child.\n\t * @param {number=} selfDebugID Optional debugID of the current internal instance.\n\t */\n\tfunction flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) {\n\t // We found a component instance.\n\t if (traverseContext && (typeof traverseContext === 'undefined' ? 'undefined' : _typeof(traverseContext)) === 'object') {\n\t var result = traverseContext;\n\t var keyUnique = result[name] === undefined;\n\t if (false) {\n\t if (!ReactComponentTreeHook) {\n\t ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook');\n\t }\n\t if (!keyUnique) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0;\n\t }\n\t }\n\t if (keyUnique && child != null) {\n\t result[name] = child;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Flattens children that are typically specified as `props.children`. Any null\n\t * children will not be included in the resulting object.\n\t * @return {!object} flattened children keyed by name.\n\t */\n\tfunction flattenChildren(children, selfDebugID) {\n\t if (children == null) {\n\t return children;\n\t }\n\t var result = {};\n\t\n\t if (false) {\n\t traverseAllChildren(children, function (traverseContext, child, name) {\n\t return flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID);\n\t }, result);\n\t } else {\n\t traverseAllChildren(children, flattenSingleChildIntoContext, result);\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = flattenChildren;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29)))\n\n/***/ },\n/* 243 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar getEventCharCode = __webpack_require__(68);\n\t\n\t/**\n\t * Normalization of deprecated HTML5 `key` values\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names\n\t */\n\tvar normalizeKey = {\n\t 'Esc': 'Escape',\n\t 'Spacebar': ' ',\n\t 'Left': 'ArrowLeft',\n\t 'Up': 'ArrowUp',\n\t 'Right': 'ArrowRight',\n\t 'Down': 'ArrowDown',\n\t 'Del': 'Delete',\n\t 'Win': 'OS',\n\t 'Menu': 'ContextMenu',\n\t 'Apps': 'ContextMenu',\n\t 'Scroll': 'ScrollLock',\n\t 'MozPrintableKey': 'Unidentified'\n\t};\n\t\n\t/**\n\t * Translation from legacy `keyCode` to HTML5 `key`\n\t * Only special keys supported, all others depend on keyboard layout or browser\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names\n\t */\n\tvar translateToKey = {\n\t 8: 'Backspace',\n\t 9: 'Tab',\n\t 12: 'Clear',\n\t 13: 'Enter',\n\t 16: 'Shift',\n\t 17: 'Control',\n\t 18: 'Alt',\n\t 19: 'Pause',\n\t 20: 'CapsLock',\n\t 27: 'Escape',\n\t 32: ' ',\n\t 33: 'PageUp',\n\t 34: 'PageDown',\n\t 35: 'End',\n\t 36: 'Home',\n\t 37: 'ArrowLeft',\n\t 38: 'ArrowUp',\n\t 39: 'ArrowRight',\n\t 40: 'ArrowDown',\n\t 45: 'Insert',\n\t 46: 'Delete',\n\t 112: 'F1', 113: 'F2', 114: 'F3', 115: 'F4', 116: 'F5', 117: 'F6',\n\t 118: 'F7', 119: 'F8', 120: 'F9', 121: 'F10', 122: 'F11', 123: 'F12',\n\t 144: 'NumLock',\n\t 145: 'ScrollLock',\n\t 224: 'Meta'\n\t};\n\t\n\t/**\n\t * @param {object} nativeEvent Native browser event.\n\t * @return {string} Normalized `key` property.\n\t */\n\tfunction getEventKey(nativeEvent) {\n\t if (nativeEvent.key) {\n\t // Normalize inconsistent values reported by browsers due to\n\t // implementations of a working draft specification.\n\t\n\t // FireFox implements `key` but returns `MozPrintableKey` for all\n\t // printable characters (normalized to `Unidentified`), ignore it.\n\t var key = normalizeKey[nativeEvent.key] || nativeEvent.key;\n\t if (key !== 'Unidentified') {\n\t return key;\n\t }\n\t }\n\t\n\t // Browser does not implement `key`, polyfill as much of it as we can.\n\t if (nativeEvent.type === 'keypress') {\n\t var charCode = getEventCharCode(nativeEvent);\n\t\n\t // The enter-key is technically both printable and non-printable and can\n\t // thus be captured by `keypress`, no other non-printable key should.\n\t return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);\n\t }\n\t if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {\n\t // While user keyboard layout determines the actual meaning of each\n\t // `keyCode` value, almost all function keys have a universal value.\n\t return translateToKey[nativeEvent.keyCode] || 'Unidentified';\n\t }\n\t return '';\n\t}\n\t\n\tmodule.exports = getEventKey;\n\n/***/ },\n/* 244 */\n128,\n/* 245 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar nextDebugID = 1;\n\t\n\tfunction getNextDebugID() {\n\t return nextDebugID++;\n\t}\n\t\n\tmodule.exports = getNextDebugID;\n\n/***/ },\n/* 246 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Given any node return the first leaf node without children.\n\t *\n\t * @param {DOMElement|DOMTextNode} node\n\t * @return {DOMElement|DOMTextNode}\n\t */\n\t\n\tfunction getLeafNode(node) {\n\t while (node && node.firstChild) {\n\t node = node.firstChild;\n\t }\n\t return node;\n\t}\n\t\n\t/**\n\t * Get the next sibling within a container. This will walk up the\n\t * DOM if a node's siblings have been exhausted.\n\t *\n\t * @param {DOMElement|DOMTextNode} node\n\t * @return {?DOMElement|DOMTextNode}\n\t */\n\tfunction getSiblingNode(node) {\n\t while (node) {\n\t if (node.nextSibling) {\n\t return node.nextSibling;\n\t }\n\t node = node.parentNode;\n\t }\n\t}\n\t\n\t/**\n\t * Get object describing the nodes which contain characters at offset.\n\t *\n\t * @param {DOMElement|DOMTextNode} root\n\t * @param {number} offset\n\t * @return {?object}\n\t */\n\tfunction getNodeForCharacterOffset(root, offset) {\n\t var node = getLeafNode(root);\n\t var nodeStart = 0;\n\t var nodeEnd = 0;\n\t\n\t while (node) {\n\t if (node.nodeType === 3) {\n\t nodeEnd = nodeStart + node.textContent.length;\n\t\n\t if (nodeStart <= offset && nodeEnd >= offset) {\n\t return {\n\t node: node,\n\t offset: offset - nodeStart\n\t };\n\t }\n\t\n\t nodeStart = nodeEnd;\n\t }\n\t\n\t node = getLeafNode(getSiblingNode(node));\n\t }\n\t}\n\t\n\tmodule.exports = getNodeForCharacterOffset;\n\n/***/ },\n/* 247 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar escapeTextContentForBrowser = __webpack_require__(50);\n\t\n\t/**\n\t * Escapes attribute value to prevent scripting attacks.\n\t *\n\t * @param {*} value Value to escape.\n\t * @return {string} An escaped string.\n\t */\n\tfunction quoteAttributeValueForBrowser(value) {\n\t return '\"' + escapeTextContentForBrowser(value) + '\"';\n\t}\n\t\n\tmodule.exports = quoteAttributeValueForBrowser;\n\n/***/ },\n/* 248 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactMount = __webpack_require__(107);\n\t\n\tmodule.exports = ReactMount.renderSubtreeIntoContainer;\n\n/***/ },\n/* 249 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\tvar _hyphenPattern = /-(.)/g;\n\t\n\t/**\n\t * Camelcases a hyphenated string, for example:\n\t *\n\t * > camelize('background-color')\n\t * < \"backgroundColor\"\n\t *\n\t * @param {string} string\n\t * @return {string}\n\t */\n\tfunction camelize(string) {\n\t return string.replace(_hyphenPattern, function (_, character) {\n\t return character.toUpperCase();\n\t });\n\t}\n\t\n\tmodule.exports = camelize;\n\n/***/ },\n/* 250 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\t'use strict';\n\t\n\tvar camelize = __webpack_require__(249);\n\t\n\tvar msPattern = /^-ms-/;\n\t\n\t/**\n\t * Camelcases a hyphenated CSS property name, for example:\n\t *\n\t * > camelizeStyleName('background-color')\n\t * < \"backgroundColor\"\n\t * > camelizeStyleName('-moz-transition')\n\t * < \"MozTransition\"\n\t * > camelizeStyleName('-ms-transition')\n\t * < \"msTransition\"\n\t *\n\t * As Andi Smith suggests\n\t * (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix\n\t * is converted to lowercase `ms`.\n\t *\n\t * @param {string} string\n\t * @return {string}\n\t */\n\tfunction camelizeStyleName(string) {\n\t return camelize(string.replace(msPattern, 'ms-'));\n\t}\n\t\n\tmodule.exports = camelizeStyleName;\n\n/***/ },\n/* 251 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\tvar isTextNode = __webpack_require__(259);\n\t\n\t/*eslint-disable no-bitwise */\n\t\n\t/**\n\t * Checks if a given DOM node contains or is another DOM node.\n\t */\n\tfunction containsNode(outerNode, innerNode) {\n\t if (!outerNode || !innerNode) {\n\t return false;\n\t } else if (outerNode === innerNode) {\n\t return true;\n\t } else if (isTextNode(outerNode)) {\n\t return false;\n\t } else if (isTextNode(innerNode)) {\n\t return containsNode(outerNode, innerNode.parentNode);\n\t } else if ('contains' in outerNode) {\n\t return outerNode.contains(innerNode);\n\t } else if (outerNode.compareDocumentPosition) {\n\t return !!(outerNode.compareDocumentPosition(innerNode) & 16);\n\t } else {\n\t return false;\n\t }\n\t}\n\t\n\tmodule.exports = containsNode;\n\n/***/ },\n/* 252 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Convert array-like objects to arrays.\n\t *\n\t * This API assumes the caller knows the contents of the data type. For less\n\t * well defined inputs use createArrayFromMixed.\n\t *\n\t * @param {object|function|filelist} obj\n\t * @return {array}\n\t */\n\tfunction toArray(obj) {\n\t var length = obj.length;\n\t\n\t // Some browsers builtin objects can report typeof 'function' (e.g. NodeList\n\t // in old versions of Safari).\n\t !(!Array.isArray(obj) && ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object' || typeof obj === 'function')) ? false ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : void 0;\n\t\n\t !(typeof length === 'number') ? false ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : void 0;\n\t\n\t !(length === 0 || length - 1 in obj) ? false ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : void 0;\n\t\n\t !(typeof obj.callee !== 'function') ? false ? invariant(false, 'toArray: Object can\\'t be `arguments`. Use rest params ' + '(function(...args) {}) or Array.from() instead.') : invariant(false) : void 0;\n\t\n\t // Old IE doesn't give collections access to hasOwnProperty. Assume inputs\n\t // without method will throw during the slice call and skip straight to the\n\t // fallback.\n\t if (obj.hasOwnProperty) {\n\t try {\n\t return Array.prototype.slice.call(obj);\n\t } catch (e) {\n\t // IE < 9 does not support Array#slice on collections objects\n\t }\n\t }\n\t\n\t // Fall back to copying key by key. This assumes all keys have a value,\n\t // so will not preserve sparsely populated inputs.\n\t var ret = Array(length);\n\t for (var ii = 0; ii < length; ii++) {\n\t ret[ii] = obj[ii];\n\t }\n\t return ret;\n\t}\n\t\n\t/**\n\t * Perform a heuristic test to determine if an object is \"array-like\".\n\t *\n\t * A monk asked Joshu, a Zen master, \"Has a dog Buddha nature?\"\n\t * Joshu replied: \"Mu.\"\n\t *\n\t * This function determines if its argument has \"array nature\": it returns\n\t * true if the argument is an actual array, an `arguments' object, or an\n\t * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()).\n\t *\n\t * It will return false for other array-like objects like Filelist.\n\t *\n\t * @param {*} obj\n\t * @return {boolean}\n\t */\n\tfunction hasArrayNature(obj) {\n\t return (\n\t // not null/false\n\t !!obj && (\n\t // arrays are objects, NodeLists are functions in Safari\n\t (typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) == 'object' || typeof obj == 'function') &&\n\t // quacks like an array\n\t 'length' in obj &&\n\t // not window\n\t !('setInterval' in obj) &&\n\t // no DOM node should be considered an array-like\n\t // a 'select' element has 'length' and 'item' properties on IE8\n\t typeof obj.nodeType != 'number' && (\n\t // a real array\n\t Array.isArray(obj) ||\n\t // arguments\n\t 'callee' in obj ||\n\t // HTMLCollection/NodeList\n\t 'item' in obj)\n\t );\n\t}\n\t\n\t/**\n\t * Ensure that the argument is an array by wrapping it in an array if it is not.\n\t * Creates a copy of the argument if it is already an array.\n\t *\n\t * This is mostly useful idiomatically:\n\t *\n\t * var createArrayFromMixed = require('createArrayFromMixed');\n\t *\n\t * function takesOneOrMoreThings(things) {\n\t * things = createArrayFromMixed(things);\n\t * ...\n\t * }\n\t *\n\t * This allows you to treat `things' as an array, but accept scalars in the API.\n\t *\n\t * If you need to convert an array-like object, like `arguments`, into an array\n\t * use toArray instead.\n\t *\n\t * @param {*} obj\n\t * @return {array}\n\t */\n\tfunction createArrayFromMixed(obj) {\n\t if (!hasArrayNature(obj)) {\n\t return [obj];\n\t } else if (Array.isArray(obj)) {\n\t return obj.slice();\n\t } else {\n\t return toArray(obj);\n\t }\n\t}\n\t\n\tmodule.exports = createArrayFromMixed;\n\n/***/ },\n/* 253 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\t/*eslint-disable fb-www/unsafe-html*/\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\t\n\tvar createArrayFromMixed = __webpack_require__(252);\n\tvar getMarkupWrap = __webpack_require__(254);\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Dummy container used to render all markup.\n\t */\n\tvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\t\n\t/**\n\t * Pattern used by `getNodeName`.\n\t */\n\tvar nodeNamePattern = /^\\s*<(\\w+)/;\n\t\n\t/**\n\t * Extracts the `nodeName` of the first element in a string of markup.\n\t *\n\t * @param {string} markup String of markup.\n\t * @return {?string} Node name of the supplied markup.\n\t */\n\tfunction getNodeName(markup) {\n\t var nodeNameMatch = markup.match(nodeNamePattern);\n\t return nodeNameMatch && nodeNameMatch[1].toLowerCase();\n\t}\n\t\n\t/**\n\t * Creates an array containing the nodes rendered from the supplied markup. The\n\t * optionally supplied `handleScript` function will be invoked once for each\n\t * <script> element that is rendered. If no `handleScript` function is supplied,\n\t * an exception is thrown if any <script> elements are rendered.\n\t *\n\t * @param {string} markup A string of valid HTML markup.\n\t * @param {?function} handleScript Invoked once for each rendered <script>.\n\t * @return {array<DOMElement|DOMTextNode>} An array of rendered nodes.\n\t */\n\tfunction createNodesFromMarkup(markup, handleScript) {\n\t var node = dummyNode;\n\t !!!dummyNode ? false ? invariant(false, 'createNodesFromMarkup dummy not initialized') : invariant(false) : void 0;\n\t var nodeName = getNodeName(markup);\n\t\n\t var wrap = nodeName && getMarkupWrap(nodeName);\n\t if (wrap) {\n\t node.innerHTML = wrap[1] + markup + wrap[2];\n\t\n\t var wrapDepth = wrap[0];\n\t while (wrapDepth--) {\n\t node = node.lastChild;\n\t }\n\t } else {\n\t node.innerHTML = markup;\n\t }\n\t\n\t var scripts = node.getElementsByTagName('script');\n\t if (scripts.length) {\n\t !handleScript ? false ? invariant(false, 'createNodesFromMarkup(...): Unexpected <script> element rendered.') : invariant(false) : void 0;\n\t createArrayFromMixed(scripts).forEach(handleScript);\n\t }\n\t\n\t var nodes = Array.from(node.childNodes);\n\t while (node.lastChild) {\n\t node.removeChild(node.lastChild);\n\t }\n\t return nodes;\n\t}\n\t\n\tmodule.exports = createNodesFromMarkup;\n\n/***/ },\n/* 254 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t/*eslint-disable fb-www/unsafe-html */\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Dummy container used to detect which wraps are necessary.\n\t */\n\tvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\t\n\t/**\n\t * Some browsers cannot use `innerHTML` to render certain elements standalone,\n\t * so we wrap them, render the wrapped nodes, then extract the desired node.\n\t *\n\t * In IE8, certain elements cannot render alone, so wrap all elements ('*').\n\t */\n\t\n\tvar shouldWrap = {};\n\t\n\tvar selectWrap = [1, '<select multiple=\"true\">', '</select>'];\n\tvar tableWrap = [1, '<table>', '</table>'];\n\tvar trWrap = [3, '<table><tbody><tr>', '</tr></tbody></table>'];\n\t\n\tvar svgWrap = [1, '<svg xmlns=\"http://www.w3.org/2000/svg\">', '</svg>'];\n\t\n\tvar markupWrap = {\n\t '*': [1, '?<div>', '</div>'],\n\t\n\t 'area': [1, '<map>', '</map>'],\n\t 'col': [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],\n\t 'legend': [1, '<fieldset>', '</fieldset>'],\n\t 'param': [1, '<object>', '</object>'],\n\t 'tr': [2, '<table><tbody>', '</tbody></table>'],\n\t\n\t 'optgroup': selectWrap,\n\t 'option': selectWrap,\n\t\n\t 'caption': tableWrap,\n\t 'colgroup': tableWrap,\n\t 'tbody': tableWrap,\n\t 'tfoot': tableWrap,\n\t 'thead': tableWrap,\n\t\n\t 'td': trWrap,\n\t 'th': trWrap\n\t};\n\t\n\t// Initialize the SVG elements since we know they'll always need to be wrapped\n\t// consistently. If they are created inside a <div> they will be initialized in\n\t// the wrong namespace (and will not display).\n\tvar svgElements = ['circle', 'clipPath', 'defs', 'ellipse', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'text', 'tspan'];\n\tsvgElements.forEach(function (nodeName) {\n\t markupWrap[nodeName] = svgWrap;\n\t shouldWrap[nodeName] = true;\n\t});\n\t\n\t/**\n\t * Gets the markup wrap configuration for the supplied `nodeName`.\n\t *\n\t * NOTE: This lazily detects which wraps are necessary for the current browser.\n\t *\n\t * @param {string} nodeName Lowercase `nodeName`.\n\t * @return {?array} Markup wrap configuration, if applicable.\n\t */\n\tfunction getMarkupWrap(nodeName) {\n\t !!!dummyNode ? false ? invariant(false, 'Markup wrapping node not initialized') : invariant(false) : void 0;\n\t if (!markupWrap.hasOwnProperty(nodeName)) {\n\t nodeName = '*';\n\t }\n\t if (!shouldWrap.hasOwnProperty(nodeName)) {\n\t if (nodeName === '*') {\n\t dummyNode.innerHTML = '<link />';\n\t } else {\n\t dummyNode.innerHTML = '<' + nodeName + '></' + nodeName + '>';\n\t }\n\t shouldWrap[nodeName] = !dummyNode.firstChild;\n\t }\n\t return shouldWrap[nodeName] ? markupWrap[nodeName] : null;\n\t}\n\t\n\tmodule.exports = getMarkupWrap;\n\n/***/ },\n/* 255 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Gets the scroll position of the supplied element or window.\n\t *\n\t * The return values are unbounded, unlike `getScrollPosition`. This means they\n\t * may be negative or exceed the element boundaries (which is possible using\n\t * inertial scrolling).\n\t *\n\t * @param {DOMWindow|DOMElement} scrollable\n\t * @return {object} Map with `x` and `y` keys.\n\t */\n\t\n\tfunction getUnboundedScrollPosition(scrollable) {\n\t if (scrollable === window) {\n\t return {\n\t x: window.pageXOffset || document.documentElement.scrollLeft,\n\t y: window.pageYOffset || document.documentElement.scrollTop\n\t };\n\t }\n\t return {\n\t x: scrollable.scrollLeft,\n\t y: scrollable.scrollTop\n\t };\n\t}\n\t\n\tmodule.exports = getUnboundedScrollPosition;\n\n/***/ },\n/* 256 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\tvar _uppercasePattern = /([A-Z])/g;\n\t\n\t/**\n\t * Hyphenates a camelcased string, for example:\n\t *\n\t * > hyphenate('backgroundColor')\n\t * < \"background-color\"\n\t *\n\t * For CSS style names, use `hyphenateStyleName` instead which works properly\n\t * with all vendor prefixes, including `ms`.\n\t *\n\t * @param {string} string\n\t * @return {string}\n\t */\n\tfunction hyphenate(string) {\n\t return string.replace(_uppercasePattern, '-$1').toLowerCase();\n\t}\n\t\n\tmodule.exports = hyphenate;\n\n/***/ },\n/* 257 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\t'use strict';\n\t\n\tvar hyphenate = __webpack_require__(256);\n\t\n\tvar msPattern = /^ms-/;\n\t\n\t/**\n\t * Hyphenates a camelcased CSS property name, for example:\n\t *\n\t * > hyphenateStyleName('backgroundColor')\n\t * < \"background-color\"\n\t * > hyphenateStyleName('MozTransition')\n\t * < \"-moz-transition\"\n\t * > hyphenateStyleName('msTransition')\n\t * < \"-ms-transition\"\n\t *\n\t * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix\n\t * is converted to `-ms-`.\n\t *\n\t * @param {string} string\n\t * @return {string}\n\t */\n\tfunction hyphenateStyleName(string) {\n\t return hyphenate(string).replace(msPattern, '-ms-');\n\t}\n\t\n\tmodule.exports = hyphenateStyleName;\n\n/***/ },\n/* 258 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\t/**\n\t * @param {*} object The object to check.\n\t * @return {boolean} Whether or not the object is a DOM node.\n\t */\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tfunction isNode(object) {\n\t return !!(object && (typeof Node === 'function' ? object instanceof Node : (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));\n\t}\n\t\n\tmodule.exports = isNode;\n\n/***/ },\n/* 259 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\tvar isNode = __webpack_require__(258);\n\t\n\t/**\n\t * @param {*} object The object to check.\n\t * @return {boolean} Whether or not the object is a DOM text node.\n\t */\n\tfunction isTextNode(object) {\n\t return isNode(object) && object.nodeType == 3;\n\t}\n\t\n\tmodule.exports = isTextNode;\n\n/***/ },\n/* 260 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t * @typechecks static-only\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Memoizes the return value of a function that accepts one string argument.\n\t */\n\t\n\tfunction memoizeStringOnly(callback) {\n\t var cache = {};\n\t return function (string) {\n\t if (!cache.hasOwnProperty(string)) {\n\t cache[string] = callback.call(this, string);\n\t }\n\t return cache[string];\n\t };\n\t}\n\t\n\tmodule.exports = memoizeStringOnly;\n\n/***/ },\n/* 261 */\n[331, 36, 28],\n/* 262 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _assign = __webpack_require__(37);\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === 'undefined' ? 'undefined' : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === 'undefined' ? 'undefined' : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t}\n\t\n\tvar React = __webpack_require__(20);\n\t\n\tvar ReactTransitionGroup = __webpack_require__(272);\n\tvar ReactCSSTransitionGroupChild = __webpack_require__(263);\n\t\n\tfunction createTransitionTimeoutPropValidator(transitionType) {\n\t var timeoutPropName = 'transition' + transitionType + 'Timeout';\n\t var enabledPropName = 'transition' + transitionType;\n\t\n\t return function (props) {\n\t // If the transition is enabled\n\t if (props[enabledPropName]) {\n\t // If no timeout duration is provided\n\t if (props[timeoutPropName] == null) {\n\t return new Error(timeoutPropName + ' wasn\\'t supplied to ReactCSSTransitionGroup: ' + 'this can cause unreliable animations and won\\'t be supported in ' + 'a future version of React. See ' + 'https://fb.me/react-animation-transition-group-timeout for more ' + 'information.');\n\t\n\t // If the duration isn't a number\n\t } else if (typeof props[timeoutPropName] !== 'number') {\n\t return new Error(timeoutPropName + ' must be a number (in milliseconds)');\n\t }\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * An easy way to perform CSS transitions and animations when a React component\n\t * enters or leaves the DOM.\n\t * See https://facebook.github.io/react/docs/animation.html#high-level-api-reactcsstransitiongroup\n\t */\n\t\n\tvar ReactCSSTransitionGroup = function (_React$Component) {\n\t _inherits(ReactCSSTransitionGroup, _React$Component);\n\t\n\t function ReactCSSTransitionGroup() {\n\t var _temp, _this, _ret;\n\t\n\t _classCallCheck(this, ReactCSSTransitionGroup);\n\t\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this._wrapChild = function (child) {\n\t // We need to provide this childFactory so that\n\t // ReactCSSTransitionGroupChild can receive updates to name, enter, and\n\t // leave while it is leaving.\n\t return React.createElement(ReactCSSTransitionGroupChild, {\n\t name: _this.props.transitionName,\n\t appear: _this.props.transitionAppear,\n\t enter: _this.props.transitionEnter,\n\t leave: _this.props.transitionLeave,\n\t appearTimeout: _this.props.transitionAppearTimeout,\n\t enterTimeout: _this.props.transitionEnterTimeout,\n\t leaveTimeout: _this.props.transitionLeaveTimeout\n\t }, child);\n\t }, _temp), _possibleConstructorReturn(_this, _ret);\n\t }\n\t\n\t ReactCSSTransitionGroup.prototype.render = function render() {\n\t return React.createElement(ReactTransitionGroup, _assign({}, this.props, { childFactory: this._wrapChild }));\n\t };\n\t\n\t return ReactCSSTransitionGroup;\n\t}(React.Component);\n\t\n\tReactCSSTransitionGroup.displayName = 'ReactCSSTransitionGroup';\n\tReactCSSTransitionGroup.propTypes = {\n\t transitionName: ReactCSSTransitionGroupChild.propTypes.name,\n\t\n\t transitionAppear: React.PropTypes.bool,\n\t transitionEnter: React.PropTypes.bool,\n\t transitionLeave: React.PropTypes.bool,\n\t transitionAppearTimeout: createTransitionTimeoutPropValidator('Appear'),\n\t transitionEnterTimeout: createTransitionTimeoutPropValidator('Enter'),\n\t transitionLeaveTimeout: createTransitionTimeoutPropValidator('Leave')\n\t};\n\tReactCSSTransitionGroup.defaultProps = {\n\t transitionAppear: false,\n\t transitionEnter: true,\n\t transitionLeave: true\n\t};\n\t\n\tmodule.exports = ReactCSSTransitionGroup;\n\n/***/ },\n/* 263 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar React = __webpack_require__(20);\n\tvar ReactAddonsDOMDependencies = __webpack_require__(124);\n\t\n\tvar CSSCore = __webpack_require__(275);\n\tvar ReactTransitionEvents = __webpack_require__(271);\n\t\n\tvar onlyChild = __webpack_require__(129);\n\t\n\tvar TICK = 17;\n\t\n\tvar ReactCSSTransitionGroupChild = React.createClass({\n\t displayName: 'ReactCSSTransitionGroupChild',\n\t\n\t propTypes: {\n\t name: React.PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.shape({\n\t enter: React.PropTypes.string,\n\t leave: React.PropTypes.string,\n\t active: React.PropTypes.string\n\t }), React.PropTypes.shape({\n\t enter: React.PropTypes.string,\n\t enterActive: React.PropTypes.string,\n\t leave: React.PropTypes.string,\n\t leaveActive: React.PropTypes.string,\n\t appear: React.PropTypes.string,\n\t appearActive: React.PropTypes.string\n\t })]).isRequired,\n\t\n\t // Once we require timeouts to be specified, we can remove the\n\t // boolean flags (appear etc.) and just accept a number\n\t // or a bool for the timeout flags (appearTimeout etc.)\n\t appear: React.PropTypes.bool,\n\t enter: React.PropTypes.bool,\n\t leave: React.PropTypes.bool,\n\t appearTimeout: React.PropTypes.number,\n\t enterTimeout: React.PropTypes.number,\n\t leaveTimeout: React.PropTypes.number\n\t },\n\t\n\t transition: function transition(animationType, finishCallback, userSpecifiedDelay) {\n\t var node = ReactAddonsDOMDependencies.getReactDOM().findDOMNode(this);\n\t\n\t if (!node) {\n\t if (finishCallback) {\n\t finishCallback();\n\t }\n\t return;\n\t }\n\t\n\t var className = this.props.name[animationType] || this.props.name + '-' + animationType;\n\t var activeClassName = this.props.name[animationType + 'Active'] || className + '-active';\n\t var timeout = null;\n\t\n\t var endListener = function endListener(e) {\n\t if (e && e.target !== node) {\n\t return;\n\t }\n\t\n\t clearTimeout(timeout);\n\t\n\t CSSCore.removeClass(node, className);\n\t CSSCore.removeClass(node, activeClassName);\n\t\n\t ReactTransitionEvents.removeEndEventListener(node, endListener);\n\t\n\t // Usually this optional callback is used for informing an owner of\n\t // a leave animation and telling it to remove the child.\n\t if (finishCallback) {\n\t finishCallback();\n\t }\n\t };\n\t\n\t CSSCore.addClass(node, className);\n\t\n\t // Need to do this to actually trigger a transition.\n\t this.queueClassAndNode(activeClassName, node);\n\t\n\t // If the user specified a timeout delay.\n\t if (userSpecifiedDelay) {\n\t // Clean-up the animation after the specified delay\n\t timeout = setTimeout(endListener, userSpecifiedDelay);\n\t this.transitionTimeouts.push(timeout);\n\t } else {\n\t // DEPRECATED: this listener will be removed in a future version of react\n\t ReactTransitionEvents.addEndEventListener(node, endListener);\n\t }\n\t },\n\t\n\t queueClassAndNode: function queueClassAndNode(className, node) {\n\t this.classNameAndNodeQueue.push({\n\t className: className,\n\t node: node\n\t });\n\t\n\t if (!this.timeout) {\n\t this.timeout = setTimeout(this.flushClassNameAndNodeQueue, TICK);\n\t }\n\t },\n\t\n\t flushClassNameAndNodeQueue: function flushClassNameAndNodeQueue() {\n\t if (this.isMounted()) {\n\t this.classNameAndNodeQueue.forEach(function (obj) {\n\t CSSCore.addClass(obj.node, obj.className);\n\t });\n\t }\n\t this.classNameAndNodeQueue.length = 0;\n\t this.timeout = null;\n\t },\n\t\n\t componentWillMount: function componentWillMount() {\n\t this.classNameAndNodeQueue = [];\n\t this.transitionTimeouts = [];\n\t },\n\t\n\t componentWillUnmount: function componentWillUnmount() {\n\t if (this.timeout) {\n\t clearTimeout(this.timeout);\n\t }\n\t this.transitionTimeouts.forEach(function (timeout) {\n\t clearTimeout(timeout);\n\t });\n\t\n\t this.classNameAndNodeQueue.length = 0;\n\t },\n\t\n\t componentWillAppear: function componentWillAppear(done) {\n\t if (this.props.appear) {\n\t this.transition('appear', done, this.props.appearTimeout);\n\t } else {\n\t done();\n\t }\n\t },\n\t\n\t componentWillEnter: function componentWillEnter(done) {\n\t if (this.props.enter) {\n\t this.transition('enter', done, this.props.enterTimeout);\n\t } else {\n\t done();\n\t }\n\t },\n\t\n\t componentWillLeave: function componentWillLeave(done) {\n\t if (this.props.leave) {\n\t this.transition('leave', done, this.props.leaveTimeout);\n\t } else {\n\t done();\n\t }\n\t },\n\t\n\t render: function render() {\n\t return onlyChild(this.props.children);\n\t }\n\t});\n\t\n\tmodule.exports = ReactCSSTransitionGroupChild;\n\n/***/ },\n/* 264 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar PooledClass = __webpack_require__(261);\n\tvar ReactElement = __webpack_require__(35);\n\t\n\tvar emptyFunction = __webpack_require__(52);\n\tvar traverseAllChildren = __webpack_require__(130);\n\t\n\tvar twoArgumentPooler = PooledClass.twoArgumentPooler;\n\tvar fourArgumentPooler = PooledClass.fourArgumentPooler;\n\t\n\tvar userProvidedKeyEscapeRegex = /\\/+/g;\n\tfunction escapeUserProvidedKey(text) {\n\t return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');\n\t}\n\t\n\t/**\n\t * PooledClass representing the bookkeeping associated with performing a child\n\t * traversal. Allows avoiding binding callbacks.\n\t *\n\t * @constructor ForEachBookKeeping\n\t * @param {!function} forEachFunction Function to perform traversal with.\n\t * @param {?*} forEachContext Context to perform context with.\n\t */\n\tfunction ForEachBookKeeping(forEachFunction, forEachContext) {\n\t this.func = forEachFunction;\n\t this.context = forEachContext;\n\t this.count = 0;\n\t}\n\tForEachBookKeeping.prototype.destructor = function () {\n\t this.func = null;\n\t this.context = null;\n\t this.count = 0;\n\t};\n\tPooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler);\n\t\n\tfunction forEachSingleChild(bookKeeping, child, name) {\n\t var func = bookKeeping.func,\n\t context = bookKeeping.context;\n\t\n\t func.call(context, child, bookKeeping.count++);\n\t}\n\t\n\t/**\n\t * Iterates through children that are typically specified as `props.children`.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.children.foreach\n\t *\n\t * The provided forEachFunc(child, index) will be called for each\n\t * leaf child.\n\t *\n\t * @param {?*} children Children tree container.\n\t * @param {function(*, int)} forEachFunc\n\t * @param {*} forEachContext Context for forEachContext.\n\t */\n\tfunction forEachChildren(children, forEachFunc, forEachContext) {\n\t if (children == null) {\n\t return children;\n\t }\n\t var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext);\n\t traverseAllChildren(children, forEachSingleChild, traverseContext);\n\t ForEachBookKeeping.release(traverseContext);\n\t}\n\t\n\t/**\n\t * PooledClass representing the bookkeeping associated with performing a child\n\t * mapping. Allows avoiding binding callbacks.\n\t *\n\t * @constructor MapBookKeeping\n\t * @param {!*} mapResult Object containing the ordered map of results.\n\t * @param {!function} mapFunction Function to perform mapping with.\n\t * @param {?*} mapContext Context to perform mapping with.\n\t */\n\tfunction MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {\n\t this.result = mapResult;\n\t this.keyPrefix = keyPrefix;\n\t this.func = mapFunction;\n\t this.context = mapContext;\n\t this.count = 0;\n\t}\n\tMapBookKeeping.prototype.destructor = function () {\n\t this.result = null;\n\t this.keyPrefix = null;\n\t this.func = null;\n\t this.context = null;\n\t this.count = 0;\n\t};\n\tPooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler);\n\t\n\tfunction mapSingleChildIntoContext(bookKeeping, child, childKey) {\n\t var result = bookKeeping.result,\n\t keyPrefix = bookKeeping.keyPrefix,\n\t func = bookKeeping.func,\n\t context = bookKeeping.context;\n\t\n\t var mappedChild = func.call(context, child, bookKeeping.count++);\n\t if (Array.isArray(mappedChild)) {\n\t mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument);\n\t } else if (mappedChild != null) {\n\t if (ReactElement.isValidElement(mappedChild)) {\n\t mappedChild = ReactElement.cloneAndReplaceKey(mappedChild,\n\t // Keep both the (mapped) and old keys if they differ, just as\n\t // traverseAllChildren used to do for objects as children\n\t keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);\n\t }\n\t result.push(mappedChild);\n\t }\n\t}\n\t\n\tfunction mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {\n\t var escapedPrefix = '';\n\t if (prefix != null) {\n\t escapedPrefix = escapeUserProvidedKey(prefix) + '/';\n\t }\n\t var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context);\n\t traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);\n\t MapBookKeeping.release(traverseContext);\n\t}\n\t\n\t/**\n\t * Maps children that are typically specified as `props.children`.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.children.map\n\t *\n\t * The provided mapFunction(child, key, index) will be called for each\n\t * leaf child.\n\t *\n\t * @param {?*} children Children tree container.\n\t * @param {function(*, int)} func The map function.\n\t * @param {*} context Context for mapFunction.\n\t * @return {object} Object containing the ordered map of results.\n\t */\n\tfunction mapChildren(children, func, context) {\n\t if (children == null) {\n\t return children;\n\t }\n\t var result = [];\n\t mapIntoWithKeyPrefixInternal(children, result, null, func, context);\n\t return result;\n\t}\n\t\n\tfunction forEachSingleChildDummy(traverseContext, child, name) {\n\t return null;\n\t}\n\t\n\t/**\n\t * Count the number of children that are typically specified as\n\t * `props.children`.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.children.count\n\t *\n\t * @param {?*} children Children tree container.\n\t * @return {number} The number of children.\n\t */\n\tfunction countChildren(children, context) {\n\t return traverseAllChildren(children, forEachSingleChildDummy, null);\n\t}\n\t\n\t/**\n\t * Flatten a children object (typically specified as `props.children`) and\n\t * return an array with appropriately re-keyed children.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.children.toarray\n\t */\n\tfunction toArray(children) {\n\t var result = [];\n\t mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument);\n\t return result;\n\t}\n\t\n\tvar ReactChildren = {\n\t forEach: forEachChildren,\n\t map: mapChildren,\n\t mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal,\n\t count: countChildren,\n\t toArray: toArray\n\t};\n\t\n\tmodule.exports = ReactChildren;\n\n/***/ },\n/* 265 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _prodInvariant = __webpack_require__(36),\n\t _assign = __webpack_require__(37);\n\t\n\tvar ReactComponent = __webpack_require__(75);\n\tvar ReactElement = __webpack_require__(35);\n\tvar ReactPropTypeLocationNames = __webpack_require__(126);\n\tvar ReactNoopUpdateQueue = __webpack_require__(77);\n\t\n\tvar emptyObject = __webpack_require__(78);\n\tvar invariant = __webpack_require__(28);\n\tvar warning = __webpack_require__(22);\n\t\n\tvar MIXINS_KEY = 'mixins';\n\t\n\t// Helper function to allow the creation of anonymous functions which do not\n\t// have .name set to the name of the variable being assigned to.\n\tfunction identity(fn) {\n\t return fn;\n\t}\n\t\n\t/**\n\t * Policies that describe methods in `ReactClassInterface`.\n\t */\n\t\n\tvar injectedMixins = [];\n\t\n\t/**\n\t * Composite components are higher-level components that compose other composite\n\t * or host components.\n\t *\n\t * To create a new type of `ReactClass`, pass a specification of\n\t * your new class to `React.createClass`. The only requirement of your class\n\t * specification is that you implement a `render` method.\n\t *\n\t * var MyComponent = React.createClass({\n\t * render: function() {\n\t * return <div>Hello World</div>;\n\t * }\n\t * });\n\t *\n\t * The class specification supports a specific protocol of methods that have\n\t * special meaning (e.g. `render`). See `ReactClassInterface` for\n\t * more the comprehensive protocol. Any other properties and methods in the\n\t * class specification will be available on the prototype.\n\t *\n\t * @interface ReactClassInterface\n\t * @internal\n\t */\n\tvar ReactClassInterface = {\n\t\n\t /**\n\t * An array of Mixin objects to include when defining your component.\n\t *\n\t * @type {array}\n\t * @optional\n\t */\n\t mixins: 'DEFINE_MANY',\n\t\n\t /**\n\t * An object containing properties and methods that should be defined on\n\t * the component's constructor instead of its prototype (static methods).\n\t *\n\t * @type {object}\n\t * @optional\n\t */\n\t statics: 'DEFINE_MANY',\n\t\n\t /**\n\t * Definition of prop types for this component.\n\t *\n\t * @type {object}\n\t * @optional\n\t */\n\t propTypes: 'DEFINE_MANY',\n\t\n\t /**\n\t * Definition of context types for this component.\n\t *\n\t * @type {object}\n\t * @optional\n\t */\n\t contextTypes: 'DEFINE_MANY',\n\t\n\t /**\n\t * Definition of context types this component sets for its children.\n\t *\n\t * @type {object}\n\t * @optional\n\t */\n\t childContextTypes: 'DEFINE_MANY',\n\t\n\t // ==== Definition methods ====\n\t\n\t /**\n\t * Invoked when the component is mounted. Values in the mapping will be set on\n\t * `this.props` if that prop is not specified (i.e. using an `in` check).\n\t *\n\t * This method is invoked before `getInitialState` and therefore cannot rely\n\t * on `this.state` or use `this.setState`.\n\t *\n\t * @return {object}\n\t * @optional\n\t */\n\t getDefaultProps: 'DEFINE_MANY_MERGED',\n\t\n\t /**\n\t * Invoked once before the component is mounted. The return value will be used\n\t * as the initial value of `this.state`.\n\t *\n\t * getInitialState: function() {\n\t * return {\n\t * isOn: false,\n\t * fooBaz: new BazFoo()\n\t * }\n\t * }\n\t *\n\t * @return {object}\n\t * @optional\n\t */\n\t getInitialState: 'DEFINE_MANY_MERGED',\n\t\n\t /**\n\t * @return {object}\n\t * @optional\n\t */\n\t getChildContext: 'DEFINE_MANY_MERGED',\n\t\n\t /**\n\t * Uses props from `this.props` and state from `this.state` to render the\n\t * structure of the component.\n\t *\n\t * No guarantees are made about when or how often this method is invoked, so\n\t * it must not have side effects.\n\t *\n\t * render: function() {\n\t * var name = this.props.name;\n\t * return <div>Hello, {name}!</div>;\n\t * }\n\t *\n\t * @return {ReactComponent}\n\t * @nosideeffects\n\t * @required\n\t */\n\t render: 'DEFINE_ONCE',\n\t\n\t // ==== Delegate methods ====\n\t\n\t /**\n\t * Invoked when the component is initially created and about to be mounted.\n\t * This may have side effects, but any external subscriptions or data created\n\t * by this method must be cleaned up in `componentWillUnmount`.\n\t *\n\t * @optional\n\t */\n\t componentWillMount: 'DEFINE_MANY',\n\t\n\t /**\n\t * Invoked when the component has been mounted and has a DOM representation.\n\t * However, there is no guarantee that the DOM node is in the document.\n\t *\n\t * Use this as an opportunity to operate on the DOM when the component has\n\t * been mounted (initialized and rendered) for the first time.\n\t *\n\t * @param {DOMElement} rootNode DOM element representing the component.\n\t * @optional\n\t */\n\t componentDidMount: 'DEFINE_MANY',\n\t\n\t /**\n\t * Invoked before the component receives new props.\n\t *\n\t * Use this as an opportunity to react to a prop transition by updating the\n\t * state using `this.setState`. Current props are accessed via `this.props`.\n\t *\n\t * componentWillReceiveProps: function(nextProps, nextContext) {\n\t * this.setState({\n\t * likesIncreasing: nextProps.likeCount > this.props.likeCount\n\t * });\n\t * }\n\t *\n\t * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n\t * transition may cause a state change, but the opposite is not true. If you\n\t * need it, you are probably looking for `componentWillUpdate`.\n\t *\n\t * @param {object} nextProps\n\t * @optional\n\t */\n\t componentWillReceiveProps: 'DEFINE_MANY',\n\t\n\t /**\n\t * Invoked while deciding if the component should be updated as a result of\n\t * receiving new props, state and/or context.\n\t *\n\t * Use this as an opportunity to `return false` when you're certain that the\n\t * transition to the new props/state/context will not require a component\n\t * update.\n\t *\n\t * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n\t * return !equal(nextProps, this.props) ||\n\t * !equal(nextState, this.state) ||\n\t * !equal(nextContext, this.context);\n\t * }\n\t *\n\t * @param {object} nextProps\n\t * @param {?object} nextState\n\t * @param {?object} nextContext\n\t * @return {boolean} True if the component should update.\n\t * @optional\n\t */\n\t shouldComponentUpdate: 'DEFINE_ONCE',\n\t\n\t /**\n\t * Invoked when the component is about to update due to a transition from\n\t * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n\t * and `nextContext`.\n\t *\n\t * Use this as an opportunity to perform preparation before an update occurs.\n\t *\n\t * NOTE: You **cannot** use `this.setState()` in this method.\n\t *\n\t * @param {object} nextProps\n\t * @param {?object} nextState\n\t * @param {?object} nextContext\n\t * @param {ReactReconcileTransaction} transaction\n\t * @optional\n\t */\n\t componentWillUpdate: 'DEFINE_MANY',\n\t\n\t /**\n\t * Invoked when the component's DOM representation has been updated.\n\t *\n\t * Use this as an opportunity to operate on the DOM when the component has\n\t * been updated.\n\t *\n\t * @param {object} prevProps\n\t * @param {?object} prevState\n\t * @param {?object} prevContext\n\t * @param {DOMElement} rootNode DOM element representing the component.\n\t * @optional\n\t */\n\t componentDidUpdate: 'DEFINE_MANY',\n\t\n\t /**\n\t * Invoked when the component is about to be removed from its parent and have\n\t * its DOM representation destroyed.\n\t *\n\t * Use this as an opportunity to deallocate any external resources.\n\t *\n\t * NOTE: There is no `componentDidUnmount` since your component will have been\n\t * destroyed by that point.\n\t *\n\t * @optional\n\t */\n\t componentWillUnmount: 'DEFINE_MANY',\n\t\n\t // ==== Advanced methods ====\n\t\n\t /**\n\t * Updates the component's currently mounted DOM representation.\n\t *\n\t * By default, this implements React's rendering and reconciliation algorithm.\n\t * Sophisticated clients may wish to override this.\n\t *\n\t * @param {ReactReconcileTransaction} transaction\n\t * @internal\n\t * @overridable\n\t */\n\t updateComponent: 'OVERRIDE_BASE'\n\t\n\t};\n\t\n\t/**\n\t * Mapping from class specification keys to special processing functions.\n\t *\n\t * Although these are declared like instance properties in the specification\n\t * when defining classes using `React.createClass`, they are actually static\n\t * and are accessible on the constructor instead of the prototype. Despite\n\t * being static, they must be defined outside of the \"statics\" key under\n\t * which all other static methods are defined.\n\t */\n\tvar RESERVED_SPEC_KEYS = {\n\t displayName: function displayName(Constructor, _displayName) {\n\t Constructor.displayName = _displayName;\n\t },\n\t mixins: function mixins(Constructor, _mixins) {\n\t if (_mixins) {\n\t for (var i = 0; i < _mixins.length; i++) {\n\t mixSpecIntoComponent(Constructor, _mixins[i]);\n\t }\n\t }\n\t },\n\t childContextTypes: function childContextTypes(Constructor, _childContextTypes) {\n\t if (false) {\n\t validateTypeDef(Constructor, _childContextTypes, 'childContext');\n\t }\n\t Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, _childContextTypes);\n\t },\n\t contextTypes: function contextTypes(Constructor, _contextTypes) {\n\t if (false) {\n\t validateTypeDef(Constructor, _contextTypes, 'context');\n\t }\n\t Constructor.contextTypes = _assign({}, Constructor.contextTypes, _contextTypes);\n\t },\n\t /**\n\t * Special case getDefaultProps which should move into statics but requires\n\t * automatic merging.\n\t */\n\t getDefaultProps: function getDefaultProps(Constructor, _getDefaultProps) {\n\t if (Constructor.getDefaultProps) {\n\t Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, _getDefaultProps);\n\t } else {\n\t Constructor.getDefaultProps = _getDefaultProps;\n\t }\n\t },\n\t propTypes: function propTypes(Constructor, _propTypes) {\n\t if (false) {\n\t validateTypeDef(Constructor, _propTypes, 'prop');\n\t }\n\t Constructor.propTypes = _assign({}, Constructor.propTypes, _propTypes);\n\t },\n\t statics: function statics(Constructor, _statics) {\n\t mixStaticSpecIntoComponent(Constructor, _statics);\n\t },\n\t autobind: function autobind() {} };\n\t\n\tfunction validateTypeDef(Constructor, typeDef, location) {\n\t for (var propName in typeDef) {\n\t if (typeDef.hasOwnProperty(propName)) {\n\t // use a warning instead of an invariant so components\n\t // don't show up in prod but only in __DEV__\n\t false ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : void 0;\n\t }\n\t }\n\t}\n\t\n\tfunction validateMethodOverride(isAlreadyDefined, name) {\n\t var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null;\n\t\n\t // Disallow overriding of base class methods unless explicitly allowed.\n\t if (ReactClassMixin.hasOwnProperty(name)) {\n\t !(specPolicy === 'OVERRIDE_BASE') ? false ? invariant(false, 'ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.', name) : _prodInvariant('73', name) : void 0;\n\t }\n\t\n\t // Disallow defining methods more than once unless explicitly allowed.\n\t if (isAlreadyDefined) {\n\t !(specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED') ? false ? invariant(false, 'ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('74', name) : void 0;\n\t }\n\t}\n\t\n\t/**\n\t * Mixin helper which handles policy validation and reserved\n\t * specification keys when building React classes.\n\t */\n\tfunction mixSpecIntoComponent(Constructor, spec) {\n\t if (!spec) {\n\t if (false) {\n\t var typeofSpec = typeof spec === 'undefined' ? 'undefined' : _typeof(spec);\n\t var isMixinValid = typeofSpec === 'object' && spec !== null;\n\t\n\t process.env.NODE_ENV !== 'production' ? warning(isMixinValid, '%s: You\\'re attempting to include a mixin that is either null ' + 'or not an object. Check the mixins included by the component, ' + 'as well as any mixins they include themselves. ' + 'Expected object but got %s.', Constructor.displayName || 'ReactClass', spec === null ? null : typeofSpec) : void 0;\n\t }\n\t\n\t return;\n\t }\n\t\n\t !(typeof spec !== 'function') ? false ? invariant(false, 'ReactClass: You\\'re attempting to use a component class or function as a mixin. Instead, just use a regular object.') : _prodInvariant('75') : void 0;\n\t !!ReactElement.isValidElement(spec) ? false ? invariant(false, 'ReactClass: You\\'re attempting to use a component as a mixin. Instead, just use a regular object.') : _prodInvariant('76') : void 0;\n\t\n\t var proto = Constructor.prototype;\n\t var autoBindPairs = proto.__reactAutoBindPairs;\n\t\n\t // By handling mixins before any other properties, we ensure the same\n\t // chaining order is applied to methods with DEFINE_MANY policy, whether\n\t // mixins are listed before or after these methods in the spec.\n\t if (spec.hasOwnProperty(MIXINS_KEY)) {\n\t RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n\t }\n\t\n\t for (var name in spec) {\n\t if (!spec.hasOwnProperty(name)) {\n\t continue;\n\t }\n\t\n\t if (name === MIXINS_KEY) {\n\t // We have already handled mixins in a special case above.\n\t continue;\n\t }\n\t\n\t var property = spec[name];\n\t var isAlreadyDefined = proto.hasOwnProperty(name);\n\t validateMethodOverride(isAlreadyDefined, name);\n\t\n\t if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n\t RESERVED_SPEC_KEYS[name](Constructor, property);\n\t } else {\n\t // Setup methods on prototype:\n\t // The following member methods should not be automatically bound:\n\t // 1. Expected ReactClass methods (in the \"interface\").\n\t // 2. Overridden methods (that were mixed in).\n\t var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n\t var isFunction = typeof property === 'function';\n\t var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false;\n\t\n\t if (shouldAutoBind) {\n\t autoBindPairs.push(name, property);\n\t proto[name] = property;\n\t } else {\n\t if (isAlreadyDefined) {\n\t var specPolicy = ReactClassInterface[name];\n\t\n\t // These cases should already be caught by validateMethodOverride.\n\t !(isReactClassMethod && (specPolicy === 'DEFINE_MANY_MERGED' || specPolicy === 'DEFINE_MANY')) ? false ? invariant(false, 'ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.', specPolicy, name) : _prodInvariant('77', specPolicy, name) : void 0;\n\t\n\t // For methods which are defined more than once, call the existing\n\t // methods before calling the new property, merging if appropriate.\n\t if (specPolicy === 'DEFINE_MANY_MERGED') {\n\t proto[name] = createMergedResultFunction(proto[name], property);\n\t } else if (specPolicy === 'DEFINE_MANY') {\n\t proto[name] = createChainedFunction(proto[name], property);\n\t }\n\t } else {\n\t proto[name] = property;\n\t if (false) {\n\t // Add verbose displayName to the function, which helps when looking\n\t // at profiling tools.\n\t if (typeof property === 'function' && spec.displayName) {\n\t proto[name].displayName = spec.displayName + '_' + name;\n\t }\n\t }\n\t }\n\t }\n\t }\n\t }\n\t}\n\t\n\tfunction mixStaticSpecIntoComponent(Constructor, statics) {\n\t if (!statics) {\n\t return;\n\t }\n\t for (var name in statics) {\n\t var property = statics[name];\n\t if (!statics.hasOwnProperty(name)) {\n\t continue;\n\t }\n\t\n\t var isReserved = name in RESERVED_SPEC_KEYS;\n\t !!isReserved ? false ? invariant(false, 'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it as an instance property instead; it will still be accessible on the constructor.', name) : _prodInvariant('78', name) : void 0;\n\t\n\t var isInherited = name in Constructor;\n\t !!isInherited ? false ? invariant(false, 'ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('79', name) : void 0;\n\t Constructor[name] = property;\n\t }\n\t}\n\t\n\t/**\n\t * Merge two objects, but throw if both contain the same key.\n\t *\n\t * @param {object} one The first object, which is mutated.\n\t * @param {object} two The second object\n\t * @return {object} one after it has been mutated to contain everything in two.\n\t */\n\tfunction mergeIntoWithNoDuplicateKeys(one, two) {\n\t !(one && two && (typeof one === 'undefined' ? 'undefined' : _typeof(one)) === 'object' && (typeof two === 'undefined' ? 'undefined' : _typeof(two)) === 'object') ? false ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : _prodInvariant('80') : void 0;\n\t\n\t for (var key in two) {\n\t if (two.hasOwnProperty(key)) {\n\t !(one[key] === undefined) ? false ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.', key) : _prodInvariant('81', key) : void 0;\n\t one[key] = two[key];\n\t }\n\t }\n\t return one;\n\t}\n\t\n\t/**\n\t * Creates a function that invokes two functions and merges their return values.\n\t *\n\t * @param {function} one Function to invoke first.\n\t * @param {function} two Function to invoke second.\n\t * @return {function} Function that invokes the two argument functions.\n\t * @private\n\t */\n\tfunction createMergedResultFunction(one, two) {\n\t return function mergedResult() {\n\t var a = one.apply(this, arguments);\n\t var b = two.apply(this, arguments);\n\t if (a == null) {\n\t return b;\n\t } else if (b == null) {\n\t return a;\n\t }\n\t var c = {};\n\t mergeIntoWithNoDuplicateKeys(c, a);\n\t mergeIntoWithNoDuplicateKeys(c, b);\n\t return c;\n\t };\n\t}\n\t\n\t/**\n\t * Creates a function that invokes two functions and ignores their return vales.\n\t *\n\t * @param {function} one Function to invoke first.\n\t * @param {function} two Function to invoke second.\n\t * @return {function} Function that invokes the two argument functions.\n\t * @private\n\t */\n\tfunction createChainedFunction(one, two) {\n\t return function chainedFunction() {\n\t one.apply(this, arguments);\n\t two.apply(this, arguments);\n\t };\n\t}\n\t\n\t/**\n\t * Binds a method to the component.\n\t *\n\t * @param {object} component Component whose method is going to be bound.\n\t * @param {function} method Method to be bound.\n\t * @return {function} The bound method.\n\t */\n\tfunction bindAutoBindMethod(component, method) {\n\t var boundMethod = method.bind(component);\n\t if (false) {\n\t boundMethod.__reactBoundContext = component;\n\t boundMethod.__reactBoundMethod = method;\n\t boundMethod.__reactBoundArguments = null;\n\t var componentName = component.constructor.displayName;\n\t var _bind = boundMethod.bind;\n\t boundMethod.bind = function (newThis) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t // User is trying to bind() an autobound method; we effectively will\n\t // ignore the value of \"this\" that the user is trying to use, so\n\t // let's warn.\n\t if (newThis !== component && newThis !== null) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : void 0;\n\t } else if (!args.length) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : void 0;\n\t return boundMethod;\n\t }\n\t var reboundMethod = _bind.apply(boundMethod, arguments);\n\t reboundMethod.__reactBoundContext = component;\n\t reboundMethod.__reactBoundMethod = method;\n\t reboundMethod.__reactBoundArguments = args;\n\t return reboundMethod;\n\t };\n\t }\n\t return boundMethod;\n\t}\n\t\n\t/**\n\t * Binds all auto-bound methods in a component.\n\t *\n\t * @param {object} component Component whose method is going to be bound.\n\t */\n\tfunction bindAutoBindMethods(component) {\n\t var pairs = component.__reactAutoBindPairs;\n\t for (var i = 0; i < pairs.length; i += 2) {\n\t var autoBindKey = pairs[i];\n\t var method = pairs[i + 1];\n\t component[autoBindKey] = bindAutoBindMethod(component, method);\n\t }\n\t}\n\t\n\t/**\n\t * Add more to the ReactClass base class. These are all legacy features and\n\t * therefore not already part of the modern ReactComponent.\n\t */\n\tvar ReactClassMixin = {\n\t\n\t /**\n\t * TODO: This will be deprecated because state should always keep a consistent\n\t * type signature and the only use case for this, is to avoid that.\n\t */\n\t replaceState: function replaceState(newState, callback) {\n\t this.updater.enqueueReplaceState(this, newState);\n\t if (callback) {\n\t this.updater.enqueueCallback(this, callback, 'replaceState');\n\t }\n\t },\n\t\n\t /**\n\t * Checks whether or not this composite component is mounted.\n\t * @return {boolean} True if mounted, false otherwise.\n\t * @protected\n\t * @final\n\t */\n\t isMounted: function isMounted() {\n\t return this.updater.isMounted(this);\n\t }\n\t};\n\t\n\tvar ReactClassComponent = function ReactClassComponent() {};\n\t_assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin);\n\t\n\t/**\n\t * Module for creating composite components.\n\t *\n\t * @class ReactClass\n\t */\n\tvar ReactClass = {\n\t\n\t /**\n\t * Creates a composite component class given a class specification.\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n\t *\n\t * @param {object} spec Class specification (which must define `render`).\n\t * @return {function} Component constructor function.\n\t * @public\n\t */\n\t createClass: function createClass(spec) {\n\t // To keep our warnings more understandable, we'll use a little hack here to\n\t // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n\t // unnecessarily identify a class without displayName as 'Constructor'.\n\t var Constructor = identity(function (props, context, updater) {\n\t // This constructor gets overridden by mocks. The argument is used\n\t // by mocks to assert on what gets mounted.\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : void 0;\n\t }\n\t\n\t // Wire up auto-binding\n\t if (this.__reactAutoBindPairs.length) {\n\t bindAutoBindMethods(this);\n\t }\n\t\n\t this.props = props;\n\t this.context = context;\n\t this.refs = emptyObject;\n\t this.updater = updater || ReactNoopUpdateQueue;\n\t\n\t this.state = null;\n\t\n\t // ReactClasses doesn't have constructors. Instead, they use the\n\t // getInitialState and componentWillMount methods for initialization.\n\t\n\t var initialState = this.getInitialState ? this.getInitialState() : null;\n\t if (false) {\n\t // We allow auto-mocks to proceed as if they're returning null.\n\t if (initialState === undefined && this.getInitialState._isMockFunction) {\n\t // This is probably bad practice. Consider warning here and\n\t // deprecating this convenience.\n\t initialState = null;\n\t }\n\t }\n\t !((typeof initialState === 'undefined' ? 'undefined' : _typeof(initialState)) === 'object' && !Array.isArray(initialState)) ? false ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : _prodInvariant('82', Constructor.displayName || 'ReactCompositeComponent') : void 0;\n\t\n\t this.state = initialState;\n\t });\n\t Constructor.prototype = new ReactClassComponent();\n\t Constructor.prototype.constructor = Constructor;\n\t Constructor.prototype.__reactAutoBindPairs = [];\n\t\n\t injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\t\n\t mixSpecIntoComponent(Constructor, spec);\n\t\n\t // Initialize the defaultProps property after all mixins have been merged.\n\t if (Constructor.getDefaultProps) {\n\t Constructor.defaultProps = Constructor.getDefaultProps();\n\t }\n\t\n\t if (false) {\n\t // This is a tag to indicate that the use of these method names is ok,\n\t // since it's used with createClass. If it's not, then it's likely a\n\t // mistake so we'll warn you to use the static property, property\n\t // initializer or constructor respectively.\n\t if (Constructor.getDefaultProps) {\n\t Constructor.getDefaultProps.isReactClassApproved = {};\n\t }\n\t if (Constructor.prototype.getInitialState) {\n\t Constructor.prototype.getInitialState.isReactClassApproved = {};\n\t }\n\t }\n\t\n\t !Constructor.prototype.render ? false ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : _prodInvariant('83') : void 0;\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : void 0;\n\t }\n\t\n\t // Reduce time spent doing lookups by setting these on the prototype.\n\t for (var methodName in ReactClassInterface) {\n\t if (!Constructor.prototype[methodName]) {\n\t Constructor.prototype[methodName] = null;\n\t }\n\t }\n\t\n\t return Constructor;\n\t },\n\t\n\t injection: {\n\t injectMixin: function injectMixin(mixin) {\n\t injectedMixins.push(mixin);\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactClass;\n\n/***/ },\n/* 266 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactElement = __webpack_require__(35);\n\t\n\t/**\n\t * Create a factory that creates HTML tag elements.\n\t *\n\t * @private\n\t */\n\tvar createDOMFactory = ReactElement.createFactory;\n\tif (false) {\n\t var ReactElementValidator = require('./ReactElementValidator');\n\t createDOMFactory = ReactElementValidator.createFactory;\n\t}\n\t\n\t/**\n\t * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes.\n\t * This is also accessible via `React.DOM`.\n\t *\n\t * @public\n\t */\n\tvar ReactDOMFactories = {\n\t a: createDOMFactory('a'),\n\t abbr: createDOMFactory('abbr'),\n\t address: createDOMFactory('address'),\n\t area: createDOMFactory('area'),\n\t article: createDOMFactory('article'),\n\t aside: createDOMFactory('aside'),\n\t audio: createDOMFactory('audio'),\n\t b: createDOMFactory('b'),\n\t base: createDOMFactory('base'),\n\t bdi: createDOMFactory('bdi'),\n\t bdo: createDOMFactory('bdo'),\n\t big: createDOMFactory('big'),\n\t blockquote: createDOMFactory('blockquote'),\n\t body: createDOMFactory('body'),\n\t br: createDOMFactory('br'),\n\t button: createDOMFactory('button'),\n\t canvas: createDOMFactory('canvas'),\n\t caption: createDOMFactory('caption'),\n\t cite: createDOMFactory('cite'),\n\t code: createDOMFactory('code'),\n\t col: createDOMFactory('col'),\n\t colgroup: createDOMFactory('colgroup'),\n\t data: createDOMFactory('data'),\n\t datalist: createDOMFactory('datalist'),\n\t dd: createDOMFactory('dd'),\n\t del: createDOMFactory('del'),\n\t details: createDOMFactory('details'),\n\t dfn: createDOMFactory('dfn'),\n\t dialog: createDOMFactory('dialog'),\n\t div: createDOMFactory('div'),\n\t dl: createDOMFactory('dl'),\n\t dt: createDOMFactory('dt'),\n\t em: createDOMFactory('em'),\n\t embed: createDOMFactory('embed'),\n\t fieldset: createDOMFactory('fieldset'),\n\t figcaption: createDOMFactory('figcaption'),\n\t figure: createDOMFactory('figure'),\n\t footer: createDOMFactory('footer'),\n\t form: createDOMFactory('form'),\n\t h1: createDOMFactory('h1'),\n\t h2: createDOMFactory('h2'),\n\t h3: createDOMFactory('h3'),\n\t h4: createDOMFactory('h4'),\n\t h5: createDOMFactory('h5'),\n\t h6: createDOMFactory('h6'),\n\t head: createDOMFactory('head'),\n\t header: createDOMFactory('header'),\n\t hgroup: createDOMFactory('hgroup'),\n\t hr: createDOMFactory('hr'),\n\t html: createDOMFactory('html'),\n\t i: createDOMFactory('i'),\n\t iframe: createDOMFactory('iframe'),\n\t img: createDOMFactory('img'),\n\t input: createDOMFactory('input'),\n\t ins: createDOMFactory('ins'),\n\t kbd: createDOMFactory('kbd'),\n\t keygen: createDOMFactory('keygen'),\n\t label: createDOMFactory('label'),\n\t legend: createDOMFactory('legend'),\n\t li: createDOMFactory('li'),\n\t link: createDOMFactory('link'),\n\t main: createDOMFactory('main'),\n\t map: createDOMFactory('map'),\n\t mark: createDOMFactory('mark'),\n\t menu: createDOMFactory('menu'),\n\t menuitem: createDOMFactory('menuitem'),\n\t meta: createDOMFactory('meta'),\n\t meter: createDOMFactory('meter'),\n\t nav: createDOMFactory('nav'),\n\t noscript: createDOMFactory('noscript'),\n\t object: createDOMFactory('object'),\n\t ol: createDOMFactory('ol'),\n\t optgroup: createDOMFactory('optgroup'),\n\t option: createDOMFactory('option'),\n\t output: createDOMFactory('output'),\n\t p: createDOMFactory('p'),\n\t param: createDOMFactory('param'),\n\t picture: createDOMFactory('picture'),\n\t pre: createDOMFactory('pre'),\n\t progress: createDOMFactory('progress'),\n\t q: createDOMFactory('q'),\n\t rp: createDOMFactory('rp'),\n\t rt: createDOMFactory('rt'),\n\t ruby: createDOMFactory('ruby'),\n\t s: createDOMFactory('s'),\n\t samp: createDOMFactory('samp'),\n\t script: createDOMFactory('script'),\n\t section: createDOMFactory('section'),\n\t select: createDOMFactory('select'),\n\t small: createDOMFactory('small'),\n\t source: createDOMFactory('source'),\n\t span: createDOMFactory('span'),\n\t strong: createDOMFactory('strong'),\n\t style: createDOMFactory('style'),\n\t sub: createDOMFactory('sub'),\n\t summary: createDOMFactory('summary'),\n\t sup: createDOMFactory('sup'),\n\t table: createDOMFactory('table'),\n\t tbody: createDOMFactory('tbody'),\n\t td: createDOMFactory('td'),\n\t textarea: createDOMFactory('textarea'),\n\t tfoot: createDOMFactory('tfoot'),\n\t th: createDOMFactory('th'),\n\t thead: createDOMFactory('thead'),\n\t time: createDOMFactory('time'),\n\t title: createDOMFactory('title'),\n\t tr: createDOMFactory('tr'),\n\t track: createDOMFactory('track'),\n\t u: createDOMFactory('u'),\n\t ul: createDOMFactory('ul'),\n\t 'var': createDOMFactory('var'),\n\t video: createDOMFactory('video'),\n\t wbr: createDOMFactory('wbr'),\n\t\n\t // SVG\n\t circle: createDOMFactory('circle'),\n\t clipPath: createDOMFactory('clipPath'),\n\t defs: createDOMFactory('defs'),\n\t ellipse: createDOMFactory('ellipse'),\n\t g: createDOMFactory('g'),\n\t image: createDOMFactory('image'),\n\t line: createDOMFactory('line'),\n\t linearGradient: createDOMFactory('linearGradient'),\n\t mask: createDOMFactory('mask'),\n\t path: createDOMFactory('path'),\n\t pattern: createDOMFactory('pattern'),\n\t polygon: createDOMFactory('polygon'),\n\t polyline: createDOMFactory('polyline'),\n\t radialGradient: createDOMFactory('radialGradient'),\n\t rect: createDOMFactory('rect'),\n\t stop: createDOMFactory('stop'),\n\t svg: createDOMFactory('svg'),\n\t text: createDOMFactory('text'),\n\t tspan: createDOMFactory('tspan')\n\t};\n\t\n\tmodule.exports = ReactDOMFactories;\n\n/***/ },\n/* 267 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar ReactElement = __webpack_require__(35);\n\tvar ReactPropTypeLocationNames = __webpack_require__(126);\n\tvar ReactPropTypesSecret = __webpack_require__(268);\n\t\n\tvar emptyFunction = __webpack_require__(52);\n\tvar getIteratorFn = __webpack_require__(128);\n\tvar warning = __webpack_require__(22);\n\t\n\t/**\n\t * Collection of methods that allow declaration and validation of props that are\n\t * supplied to React components. Example usage:\n\t *\n\t * var Props = require('ReactPropTypes');\n\t * var MyArticle = React.createClass({\n\t * propTypes: {\n\t * // An optional string prop named \"description\".\n\t * description: Props.string,\n\t *\n\t * // A required enum prop named \"category\".\n\t * category: Props.oneOf(['News','Photos']).isRequired,\n\t *\n\t * // A prop named \"dialog\" that requires an instance of Dialog.\n\t * dialog: Props.instanceOf(Dialog).isRequired\n\t * },\n\t * render: function() { ... }\n\t * });\n\t *\n\t * A more formal specification of how these methods are used:\n\t *\n\t * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n\t * decl := ReactPropTypes.{type}(.isRequired)?\n\t *\n\t * Each and every declaration produces a function with the same signature. This\n\t * allows the creation of custom validation functions. For example:\n\t *\n\t * var MyLink = React.createClass({\n\t * propTypes: {\n\t * // An optional string or URI prop named \"href\".\n\t * href: function(props, propName, componentName) {\n\t * var propValue = props[propName];\n\t * if (propValue != null && typeof propValue !== 'string' &&\n\t * !(propValue instanceof URI)) {\n\t * return new Error(\n\t * 'Expected a string or an URI for ' + propName + ' in ' +\n\t * componentName\n\t * );\n\t * }\n\t * }\n\t * },\n\t * render: function() {...}\n\t * });\n\t *\n\t * @internal\n\t */\n\t\n\tvar ANONYMOUS = '<<anonymous>>';\n\t\n\tvar ReactPropTypes = {\n\t array: createPrimitiveTypeChecker('array'),\n\t bool: createPrimitiveTypeChecker('boolean'),\n\t func: createPrimitiveTypeChecker('function'),\n\t number: createPrimitiveTypeChecker('number'),\n\t object: createPrimitiveTypeChecker('object'),\n\t string: createPrimitiveTypeChecker('string'),\n\t symbol: createPrimitiveTypeChecker('symbol'),\n\t\n\t any: createAnyTypeChecker(),\n\t arrayOf: createArrayOfTypeChecker,\n\t element: createElementTypeChecker(),\n\t instanceOf: createInstanceTypeChecker,\n\t node: createNodeChecker(),\n\t objectOf: createObjectOfTypeChecker,\n\t oneOf: createEnumTypeChecker,\n\t oneOfType: createUnionTypeChecker,\n\t shape: createShapeTypeChecker\n\t};\n\t\n\t/**\n\t * inlined Object.is polyfill to avoid requiring consumers ship their own\n\t * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n\t */\n\t/*eslint-disable no-self-compare*/\n\tfunction is(x, y) {\n\t // SameValue algorithm\n\t if (x === y) {\n\t // Steps 1-5, 7-10\n\t // Steps 6.b-6.e: +0 != -0\n\t return x !== 0 || 1 / x === 1 / y;\n\t } else {\n\t // Step 6.a: NaN == NaN\n\t return x !== x && y !== y;\n\t }\n\t}\n\t/*eslint-enable no-self-compare*/\n\t\n\t/**\n\t * We use an Error-like object for backward compatibility as people may call\n\t * PropTypes directly and inspect their output. However we don't use real\n\t * Errors anymore. We don't inspect their stack anyway, and creating them\n\t * is prohibitively expensive if they are created too often, such as what\n\t * happens in oneOfType() for any type before the one that matched.\n\t */\n\tfunction PropTypeError(message) {\n\t this.message = message;\n\t this.stack = '';\n\t}\n\t// Make `instanceof Error` still work for returned errors.\n\tPropTypeError.prototype = Error.prototype;\n\t\n\tfunction createChainableTypeChecker(validate) {\n\t if (false) {\n\t var manualPropTypeCallCache = {};\n\t }\n\t function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n\t componentName = componentName || ANONYMOUS;\n\t propFullName = propFullName || propName;\n\t if (false) {\n\t if (secret !== ReactPropTypesSecret && typeof console !== 'undefined') {\n\t var cacheKey = componentName + ':' + propName;\n\t if (!manualPropTypeCallCache[cacheKey]) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'You are manually calling a React.PropTypes validation ' + 'function for the `%s` prop on `%s`. This is deprecated ' + 'and will not work in production with the next major version. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.', propFullName, componentName) : void 0;\n\t manualPropTypeCallCache[cacheKey] = true;\n\t }\n\t }\n\t }\n\t if (props[propName] == null) {\n\t var locationName = ReactPropTypeLocationNames[location];\n\t if (isRequired) {\n\t if (props[propName] === null) {\n\t return new PropTypeError('The ' + locationName + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n\t }\n\t return new PropTypeError('The ' + locationName + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n\t }\n\t return null;\n\t } else {\n\t return validate(props, propName, componentName, location, propFullName);\n\t }\n\t }\n\t\n\t var chainedCheckType = checkType.bind(null, false);\n\t chainedCheckType.isRequired = checkType.bind(null, true);\n\t\n\t return chainedCheckType;\n\t}\n\t\n\tfunction createPrimitiveTypeChecker(expectedType) {\n\t function validate(props, propName, componentName, location, propFullName, secret) {\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== expectedType) {\n\t var locationName = ReactPropTypeLocationNames[location];\n\t // `propValue` being instance of, say, date/regexp, pass the 'object'\n\t // check, but we can offer a more precise error message here rather than\n\t // 'of type `object`'.\n\t var preciseType = getPreciseType(propValue);\n\t\n\t return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t}\n\t\n\tfunction createAnyTypeChecker() {\n\t return createChainableTypeChecker(emptyFunction.thatReturns(null));\n\t}\n\t\n\tfunction createArrayOfTypeChecker(typeChecker) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (typeof typeChecker !== 'function') {\n\t return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n\t }\n\t var propValue = props[propName];\n\t if (!Array.isArray(propValue)) {\n\t var locationName = ReactPropTypeLocationNames[location];\n\t var propType = getPropType(propValue);\n\t return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n\t }\n\t for (var i = 0; i < propValue.length; i++) {\n\t var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n\t if (error instanceof Error) {\n\t return error;\n\t }\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t}\n\t\n\tfunction createElementTypeChecker() {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t if (!ReactElement.isValidElement(propValue)) {\n\t var locationName = ReactPropTypeLocationNames[location];\n\t var propType = getPropType(propValue);\n\t return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t}\n\t\n\tfunction createInstanceTypeChecker(expectedClass) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (!(props[propName] instanceof expectedClass)) {\n\t var locationName = ReactPropTypeLocationNames[location];\n\t var expectedClassName = expectedClass.name || ANONYMOUS;\n\t var actualClassName = getClassName(props[propName]);\n\t return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t}\n\t\n\tfunction createEnumTypeChecker(expectedValues) {\n\t if (!Array.isArray(expectedValues)) {\n\t false ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n\t return emptyFunction.thatReturnsNull;\n\t }\n\t\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t for (var i = 0; i < expectedValues.length; i++) {\n\t if (is(propValue, expectedValues[i])) {\n\t return null;\n\t }\n\t }\n\t\n\t var locationName = ReactPropTypeLocationNames[location];\n\t var valuesString = JSON.stringify(expectedValues);\n\t return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n\t }\n\t return createChainableTypeChecker(validate);\n\t}\n\t\n\tfunction createObjectOfTypeChecker(typeChecker) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (typeof typeChecker !== 'function') {\n\t return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n\t }\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== 'object') {\n\t var locationName = ReactPropTypeLocationNames[location];\n\t return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n\t }\n\t for (var key in propValue) {\n\t if (propValue.hasOwnProperty(key)) {\n\t var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t if (error instanceof Error) {\n\t return error;\n\t }\n\t }\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t}\n\t\n\tfunction createUnionTypeChecker(arrayOfTypeCheckers) {\n\t if (!Array.isArray(arrayOfTypeCheckers)) {\n\t false ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n\t return emptyFunction.thatReturnsNull;\n\t }\n\t\n\t function validate(props, propName, componentName, location, propFullName) {\n\t for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n\t var checker = arrayOfTypeCheckers[i];\n\t if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n\t return null;\n\t }\n\t }\n\t\n\t var locationName = ReactPropTypeLocationNames[location];\n\t return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n\t }\n\t return createChainableTypeChecker(validate);\n\t}\n\t\n\tfunction createNodeChecker() {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (!isNode(props[propName])) {\n\t var locationName = ReactPropTypeLocationNames[location];\n\t return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t}\n\t\n\tfunction createShapeTypeChecker(shapeTypes) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== 'object') {\n\t var locationName = ReactPropTypeLocationNames[location];\n\t return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n\t }\n\t for (var key in shapeTypes) {\n\t var checker = shapeTypes[key];\n\t if (!checker) {\n\t continue;\n\t }\n\t var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t if (error) {\n\t return error;\n\t }\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t}\n\t\n\tfunction isNode(propValue) {\n\t switch (typeof propValue === 'undefined' ? 'undefined' : _typeof(propValue)) {\n\t case 'number':\n\t case 'string':\n\t case 'undefined':\n\t return true;\n\t case 'boolean':\n\t return !propValue;\n\t case 'object':\n\t if (Array.isArray(propValue)) {\n\t return propValue.every(isNode);\n\t }\n\t if (propValue === null || ReactElement.isValidElement(propValue)) {\n\t return true;\n\t }\n\t\n\t var iteratorFn = getIteratorFn(propValue);\n\t if (iteratorFn) {\n\t var iterator = iteratorFn.call(propValue);\n\t var step;\n\t if (iteratorFn !== propValue.entries) {\n\t while (!(step = iterator.next()).done) {\n\t if (!isNode(step.value)) {\n\t return false;\n\t }\n\t }\n\t } else {\n\t // Iterator will provide entry [k,v] tuples rather than values.\n\t while (!(step = iterator.next()).done) {\n\t var entry = step.value;\n\t if (entry) {\n\t if (!isNode(entry[1])) {\n\t return false;\n\t }\n\t }\n\t }\n\t }\n\t } else {\n\t return false;\n\t }\n\t\n\t return true;\n\t default:\n\t return false;\n\t }\n\t}\n\t\n\tfunction isSymbol(propType, propValue) {\n\t // Native Symbol.\n\t if (propType === 'symbol') {\n\t return true;\n\t }\n\t\n\t // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n\t if (propValue['@@toStringTag'] === 'Symbol') {\n\t return true;\n\t }\n\t\n\t // Fallback for non-spec compliant Symbols which are polyfilled.\n\t if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n\t return true;\n\t }\n\t\n\t return false;\n\t}\n\t\n\t// Equivalent of `typeof` but with special handling for array and regexp.\n\tfunction getPropType(propValue) {\n\t var propType = typeof propValue === 'undefined' ? 'undefined' : _typeof(propValue);\n\t if (Array.isArray(propValue)) {\n\t return 'array';\n\t }\n\t if (propValue instanceof RegExp) {\n\t // Old webkits (at least until Android 4.0) return 'function' rather than\n\t // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n\t // passes PropTypes.object.\n\t return 'object';\n\t }\n\t if (isSymbol(propType, propValue)) {\n\t return 'symbol';\n\t }\n\t return propType;\n\t}\n\t\n\t// This handles more types than `getPropType`. Only used for error messages.\n\t// See `createPrimitiveTypeChecker`.\n\tfunction getPreciseType(propValue) {\n\t var propType = getPropType(propValue);\n\t if (propType === 'object') {\n\t if (propValue instanceof Date) {\n\t return 'date';\n\t } else if (propValue instanceof RegExp) {\n\t return 'regexp';\n\t }\n\t }\n\t return propType;\n\t}\n\t\n\t// Returns class name of the object, if any.\n\tfunction getClassName(propValue) {\n\t if (!propValue.constructor || !propValue.constructor.name) {\n\t return ANONYMOUS;\n\t }\n\t return propValue.constructor.name;\n\t}\n\t\n\tmodule.exports = ReactPropTypes;\n\n/***/ },\n/* 268 */\n220,\n/* 269 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(37);\n\t\n\tvar ReactComponent = __webpack_require__(75);\n\tvar ReactNoopUpdateQueue = __webpack_require__(77);\n\t\n\tvar emptyObject = __webpack_require__(78);\n\t\n\t/**\n\t * Base class helpers for the updating state of a component.\n\t */\n\tfunction ReactPureComponent(props, context, updater) {\n\t // Duplicated from ReactComponent.\n\t this.props = props;\n\t this.context = context;\n\t this.refs = emptyObject;\n\t // We initialize the default updater but the real one gets injected by the\n\t // renderer.\n\t this.updater = updater || ReactNoopUpdateQueue;\n\t}\n\t\n\tfunction ComponentDummy() {}\n\tComponentDummy.prototype = ReactComponent.prototype;\n\tReactPureComponent.prototype = new ComponentDummy();\n\tReactPureComponent.prototype.constructor = ReactPureComponent;\n\t// Avoid an extra prototype jump for these methods.\n\t_assign(ReactPureComponent.prototype, ReactComponent.prototype);\n\tReactPureComponent.prototype.isPureReactComponent = true;\n\t\n\tmodule.exports = ReactPureComponent;\n\n/***/ },\n/* 270 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar flattenChildren = __webpack_require__(274);\n\t\n\tvar ReactTransitionChildMapping = {\n\t /**\n\t * Given `this.props.children`, return an object mapping key to child. Just\n\t * simple syntactic sugar around flattenChildren().\n\t *\n\t * @param {*} children `this.props.children`\n\t * @param {number=} selfDebugID Optional debugID of the current internal instance.\n\t * @return {object} Mapping of key to child\n\t */\n\t getChildMapping: function getChildMapping(children, selfDebugID) {\n\t if (!children) {\n\t return children;\n\t }\n\t\n\t if (false) {\n\t return flattenChildren(children, selfDebugID);\n\t }\n\t\n\t return flattenChildren(children);\n\t },\n\t\n\t /**\n\t * When you're adding or removing children some may be added or removed in the\n\t * same render pass. We want to show *both* since we want to simultaneously\n\t * animate elements in and out. This function takes a previous set of keys\n\t * and a new set of keys and merges them with its best guess of the correct\n\t * ordering. In the future we may expose some of the utilities in\n\t * ReactMultiChild to make this easy, but for now React itself does not\n\t * directly have this concept of the union of prevChildren and nextChildren\n\t * so we implement it here.\n\t *\n\t * @param {object} prev prev children as returned from\n\t * `ReactTransitionChildMapping.getChildMapping()`.\n\t * @param {object} next next children as returned from\n\t * `ReactTransitionChildMapping.getChildMapping()`.\n\t * @return {object} a key set that contains all keys in `prev` and all keys\n\t * in `next` in a reasonable order.\n\t */\n\t mergeChildMappings: function mergeChildMappings(prev, next) {\n\t prev = prev || {};\n\t next = next || {};\n\t\n\t function getValueForKey(key) {\n\t if (next.hasOwnProperty(key)) {\n\t return next[key];\n\t } else {\n\t return prev[key];\n\t }\n\t }\n\t\n\t // For each key of `next`, the list of keys to insert before that key in\n\t // the combined list\n\t var nextKeysPending = {};\n\t\n\t var pendingKeys = [];\n\t for (var prevKey in prev) {\n\t if (next.hasOwnProperty(prevKey)) {\n\t if (pendingKeys.length) {\n\t nextKeysPending[prevKey] = pendingKeys;\n\t pendingKeys = [];\n\t }\n\t } else {\n\t pendingKeys.push(prevKey);\n\t }\n\t }\n\t\n\t var i;\n\t var childMapping = {};\n\t for (var nextKey in next) {\n\t if (nextKeysPending.hasOwnProperty(nextKey)) {\n\t for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n\t var pendingNextKey = nextKeysPending[nextKey][i];\n\t childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n\t }\n\t }\n\t childMapping[nextKey] = getValueForKey(nextKey);\n\t }\n\t\n\t // Finally, add the keys which didn't appear before any key in `next`\n\t for (i = 0; i < pendingKeys.length; i++) {\n\t childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n\t }\n\t\n\t return childMapping;\n\t }\n\t};\n\t\n\tmodule.exports = ReactTransitionChildMapping;\n\n/***/ },\n/* 271 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(276);\n\t\n\tvar getVendorPrefixedEventName = __webpack_require__(114);\n\t\n\tvar endEvents = [];\n\t\n\tfunction detectEvents() {\n\t var animEnd = getVendorPrefixedEventName('animationend');\n\t var transEnd = getVendorPrefixedEventName('transitionend');\n\t\n\t if (animEnd) {\n\t endEvents.push(animEnd);\n\t }\n\t\n\t if (transEnd) {\n\t endEvents.push(transEnd);\n\t }\n\t}\n\t\n\tif (ExecutionEnvironment.canUseDOM) {\n\t detectEvents();\n\t}\n\t\n\t// We use the raw {add|remove}EventListener() call because EventListener\n\t// does not know how to remove event listeners and we really should\n\t// clean up. Also, these events are not triggered in older browsers\n\t// so we should be A-OK here.\n\t\n\tfunction addEventListener(node, eventName, eventListener) {\n\t node.addEventListener(eventName, eventListener, false);\n\t}\n\t\n\tfunction removeEventListener(node, eventName, eventListener) {\n\t node.removeEventListener(eventName, eventListener, false);\n\t}\n\t\n\tvar ReactTransitionEvents = {\n\t addEndEventListener: function addEndEventListener(node, eventListener) {\n\t if (endEvents.length === 0) {\n\t // If CSS transitions are not supported, trigger an \"end animation\"\n\t // event immediately.\n\t window.setTimeout(eventListener, 0);\n\t return;\n\t }\n\t endEvents.forEach(function (endEvent) {\n\t addEventListener(node, endEvent, eventListener);\n\t });\n\t },\n\t\n\t removeEndEventListener: function removeEndEventListener(node, eventListener) {\n\t if (endEvents.length === 0) {\n\t return;\n\t }\n\t endEvents.forEach(function (endEvent) {\n\t removeEventListener(node, endEvent, eventListener);\n\t });\n\t }\n\t};\n\t\n\tmodule.exports = ReactTransitionEvents;\n\n/***/ },\n/* 272 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _assign = __webpack_require__(37);\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === 'undefined' ? 'undefined' : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === 'undefined' ? 'undefined' : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t}\n\t\n\tvar React = __webpack_require__(20);\n\tvar ReactAddonsDOMDependencies = __webpack_require__(124);\n\tvar ReactTransitionChildMapping = __webpack_require__(270);\n\t\n\tvar emptyFunction = __webpack_require__(52);\n\t\n\t/**\n\t * A basis for animations. When children are declaratively added or removed,\n\t * special lifecycle hooks are called.\n\t * See https://facebook.github.io/react/docs/animation.html#low-level-api-reacttransitiongroup\n\t */\n\t\n\tvar ReactTransitionGroup = function (_React$Component) {\n\t _inherits(ReactTransitionGroup, _React$Component);\n\t\n\t function ReactTransitionGroup() {\n\t var _temp, _this, _ret;\n\t\n\t _classCallCheck(this, ReactTransitionGroup);\n\t\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {\n\t // TODO: can we get useful debug information to show at this point?\n\t children: ReactTransitionChildMapping.getChildMapping(_this.props.children)\n\t }, _this.performAppear = function (key) {\n\t _this.currentlyTransitioningKeys[key] = true;\n\t\n\t var component = _this.refs[key];\n\t\n\t if (component.componentWillAppear) {\n\t component.componentWillAppear(_this._handleDoneAppearing.bind(_this, key));\n\t } else {\n\t _this._handleDoneAppearing(key);\n\t }\n\t }, _this._handleDoneAppearing = function (key) {\n\t var component = _this.refs[key];\n\t if (component.componentDidAppear) {\n\t component.componentDidAppear();\n\t }\n\t\n\t delete _this.currentlyTransitioningKeys[key];\n\t\n\t var currentChildMapping;\n\t if (false) {\n\t currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(_this)._debugID);\n\t } else {\n\t currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children);\n\t }\n\t\n\t if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n\t // This was removed before it had fully appeared. Remove it.\n\t _this.performLeave(key);\n\t }\n\t }, _this.performEnter = function (key) {\n\t _this.currentlyTransitioningKeys[key] = true;\n\t\n\t var component = _this.refs[key];\n\t\n\t if (component.componentWillEnter) {\n\t component.componentWillEnter(_this._handleDoneEntering.bind(_this, key));\n\t } else {\n\t _this._handleDoneEntering(key);\n\t }\n\t }, _this._handleDoneEntering = function (key) {\n\t var component = _this.refs[key];\n\t if (component.componentDidEnter) {\n\t component.componentDidEnter();\n\t }\n\t\n\t delete _this.currentlyTransitioningKeys[key];\n\t\n\t var currentChildMapping;\n\t if (false) {\n\t currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(_this)._debugID);\n\t } else {\n\t currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children);\n\t }\n\t\n\t if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n\t // This was removed before it had fully entered. Remove it.\n\t _this.performLeave(key);\n\t }\n\t }, _this.performLeave = function (key) {\n\t _this.currentlyTransitioningKeys[key] = true;\n\t\n\t var component = _this.refs[key];\n\t if (component.componentWillLeave) {\n\t component.componentWillLeave(_this._handleDoneLeaving.bind(_this, key));\n\t } else {\n\t // Note that this is somewhat dangerous b/c it calls setState()\n\t // again, effectively mutating the component before all the work\n\t // is done.\n\t _this._handleDoneLeaving(key);\n\t }\n\t }, _this._handleDoneLeaving = function (key) {\n\t var component = _this.refs[key];\n\t\n\t if (component.componentDidLeave) {\n\t component.componentDidLeave();\n\t }\n\t\n\t delete _this.currentlyTransitioningKeys[key];\n\t\n\t var currentChildMapping;\n\t if (false) {\n\t currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(_this)._debugID);\n\t } else {\n\t currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children);\n\t }\n\t\n\t if (currentChildMapping && currentChildMapping.hasOwnProperty(key)) {\n\t // This entered again before it fully left. Add it again.\n\t _this.performEnter(key);\n\t } else {\n\t _this.setState(function (state) {\n\t var newChildren = _assign({}, state.children);\n\t delete newChildren[key];\n\t return { children: newChildren };\n\t });\n\t }\n\t }, _temp), _possibleConstructorReturn(_this, _ret);\n\t }\n\t\n\t ReactTransitionGroup.prototype.componentWillMount = function componentWillMount() {\n\t this.currentlyTransitioningKeys = {};\n\t this.keysToEnter = [];\n\t this.keysToLeave = [];\n\t };\n\t\n\t ReactTransitionGroup.prototype.componentDidMount = function componentDidMount() {\n\t var initialChildMapping = this.state.children;\n\t for (var key in initialChildMapping) {\n\t if (initialChildMapping[key]) {\n\t this.performAppear(key);\n\t }\n\t }\n\t };\n\t\n\t ReactTransitionGroup.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n\t var nextChildMapping;\n\t if (false) {\n\t nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(this)._debugID);\n\t } else {\n\t nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children);\n\t }\n\t var prevChildMapping = this.state.children;\n\t\n\t this.setState({\n\t children: ReactTransitionChildMapping.mergeChildMappings(prevChildMapping, nextChildMapping)\n\t });\n\t\n\t var key;\n\t\n\t for (key in nextChildMapping) {\n\t var hasPrev = prevChildMapping && prevChildMapping.hasOwnProperty(key);\n\t if (nextChildMapping[key] && !hasPrev && !this.currentlyTransitioningKeys[key]) {\n\t this.keysToEnter.push(key);\n\t }\n\t }\n\t\n\t for (key in prevChildMapping) {\n\t var hasNext = nextChildMapping && nextChildMapping.hasOwnProperty(key);\n\t if (prevChildMapping[key] && !hasNext && !this.currentlyTransitioningKeys[key]) {\n\t this.keysToLeave.push(key);\n\t }\n\t }\n\t\n\t // If we want to someday check for reordering, we could do it here.\n\t };\n\t\n\t ReactTransitionGroup.prototype.componentDidUpdate = function componentDidUpdate() {\n\t var keysToEnter = this.keysToEnter;\n\t this.keysToEnter = [];\n\t keysToEnter.forEach(this.performEnter);\n\t\n\t var keysToLeave = this.keysToLeave;\n\t this.keysToLeave = [];\n\t keysToLeave.forEach(this.performLeave);\n\t };\n\t\n\t ReactTransitionGroup.prototype.render = function render() {\n\t // TODO: we could get rid of the need for the wrapper node\n\t // by cloning a single child\n\t var childrenToRender = [];\n\t for (var key in this.state.children) {\n\t var child = this.state.children[key];\n\t if (child) {\n\t // You may need to apply reactive updates to a child as it is leaving.\n\t // The normal React way to do it won't work since the child will have\n\t // already been removed. In case you need this behavior you can provide\n\t // a childFactory function to wrap every child, even the ones that are\n\t // leaving.\n\t childrenToRender.push(React.cloneElement(this.props.childFactory(child), { ref: key, key: key }));\n\t }\n\t }\n\t\n\t // Do not forward ReactTransitionGroup props to primitive DOM nodes\n\t var props = _assign({}, this.props);\n\t delete props.transitionLeave;\n\t delete props.transitionName;\n\t delete props.transitionAppear;\n\t delete props.transitionEnter;\n\t delete props.childFactory;\n\t delete props.transitionLeaveTimeout;\n\t delete props.transitionEnterTimeout;\n\t delete props.transitionAppearTimeout;\n\t delete props.component;\n\t\n\t return React.createElement(this.props.component, props, childrenToRender);\n\t };\n\t\n\t return ReactTransitionGroup;\n\t}(React.Component);\n\t\n\tReactTransitionGroup.displayName = 'ReactTransitionGroup';\n\tReactTransitionGroup.propTypes = {\n\t component: React.PropTypes.any,\n\t childFactory: React.PropTypes.func\n\t};\n\tReactTransitionGroup.defaultProps = {\n\t component: 'span',\n\t childFactory: emptyFunction.thatReturnsArgument\n\t};\n\t\n\tmodule.exports = ReactTransitionGroup;\n\n/***/ },\n/* 273 */\n225,\n/* 274 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar KeyEscapeUtils = __webpack_require__(123);\n\tvar traverseAllChildren = __webpack_require__(130);\n\tvar warning = __webpack_require__(22);\n\t\n\tvar ReactComponentTreeHook;\n\t\n\tif (typeof process !== 'undefined' && ({\"NODE_ENV\":\"production\"}) && (\"production\") === 'test') {\n\t // Temporary hack.\n\t // Inline requires don't work well with Jest:\n\t // https://github.com/facebook/react/issues/7240\n\t // Remove the inline requires when we don't need them anymore:\n\t // https://github.com/facebook/react/pull/7178\n\t ReactComponentTreeHook = __webpack_require__(76);\n\t}\n\t\n\t/**\n\t * @param {function} traverseContext Context passed through traversal.\n\t * @param {?ReactComponent} child React child component.\n\t * @param {!string} name String name of key path to child.\n\t * @param {number=} selfDebugID Optional debugID of the current internal instance.\n\t */\n\tfunction flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) {\n\t // We found a component instance.\n\t if (traverseContext && (typeof traverseContext === 'undefined' ? 'undefined' : _typeof(traverseContext)) === 'object') {\n\t var result = traverseContext;\n\t var keyUnique = result[name] === undefined;\n\t if (false) {\n\t if (!ReactComponentTreeHook) {\n\t ReactComponentTreeHook = require('./ReactComponentTreeHook');\n\t }\n\t if (!keyUnique) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0;\n\t }\n\t }\n\t if (keyUnique && child != null) {\n\t result[name] = child;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Flattens children that are typically specified as `props.children`. Any null\n\t * children will not be included in the resulting object.\n\t * @return {!object} flattened children keyed by name.\n\t */\n\tfunction flattenChildren(children, selfDebugID) {\n\t if (children == null) {\n\t return children;\n\t }\n\t var result = {};\n\t\n\t if (false) {\n\t traverseAllChildren(children, function (traverseContext, child, name) {\n\t return flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID);\n\t }, result);\n\t } else {\n\t traverseAllChildren(children, flattenSingleChildIntoContext, result);\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = flattenChildren;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29)))\n\n/***/ },\n/* 275 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\tvar invariant = __webpack_require__(28);\n\t\n\t/**\n\t * The CSSCore module specifies the API (and implements most of the methods)\n\t * that should be used when dealing with the display of elements (via their\n\t * CSS classes and visibility on screen. It is an API focused on mutating the\n\t * display and not reading it as no logical state should be encoded in the\n\t * display of elements.\n\t */\n\t\n\t/* Slow implementation for browsers that don't natively support .matches() */\n\tfunction matchesSelector_SLOW(element, selector) {\n\t var root = element;\n\t while (root.parentNode) {\n\t root = root.parentNode;\n\t }\n\t\n\t var all = root.querySelectorAll(selector);\n\t return Array.prototype.indexOf.call(all, element) !== -1;\n\t}\n\t\n\tvar CSSCore = {\n\t\n\t /**\n\t * Adds the class passed in to the element if it doesn't already have it.\n\t *\n\t * @param {DOMElement} element the element to set the class on\n\t * @param {string} className the CSS className\n\t * @return {DOMElement} the element passed in\n\t */\n\t addClass: function addClass(element, className) {\n\t !!/\\s/.test(className) ? false ? invariant(false, 'CSSCore.addClass takes only a single class name. \"%s\" contains ' + 'multiple classes.', className) : invariant(false) : void 0;\n\t\n\t if (className) {\n\t if (element.classList) {\n\t element.classList.add(className);\n\t } else if (!CSSCore.hasClass(element, className)) {\n\t element.className = element.className + ' ' + className;\n\t }\n\t }\n\t return element;\n\t },\n\t\n\t /**\n\t * Removes the class passed in from the element\n\t *\n\t * @param {DOMElement} element the element to set the class on\n\t * @param {string} className the CSS className\n\t * @return {DOMElement} the element passed in\n\t */\n\t removeClass: function removeClass(element, className) {\n\t !!/\\s/.test(className) ? false ? invariant(false, 'CSSCore.removeClass takes only a single class name. \"%s\" contains ' + 'multiple classes.', className) : invariant(false) : void 0;\n\t\n\t if (className) {\n\t if (element.classList) {\n\t element.classList.remove(className);\n\t } else if (CSSCore.hasClass(element, className)) {\n\t element.className = element.className.replace(new RegExp('(^|\\\\s)' + className + '(?:\\\\s|$)', 'g'), '$1').replace(/\\s+/g, ' ') // multiple spaces to one\n\t .replace(/^\\s*|\\s*$/g, ''); // trim the ends\n\t }\n\t }\n\t return element;\n\t },\n\t\n\t /**\n\t * Helper to add or remove a class from an element based on a condition.\n\t *\n\t * @param {DOMElement} element the element to set the class on\n\t * @param {string} className the CSS className\n\t * @param {*} bool condition to whether to add or remove the class\n\t * @return {DOMElement} the element passed in\n\t */\n\t conditionClass: function conditionClass(element, className, bool) {\n\t return (bool ? CSSCore.addClass : CSSCore.removeClass)(element, className);\n\t },\n\t\n\t /**\n\t * Tests whether the element has the class specified.\n\t *\n\t * @param {DOMNode|DOMWindow} element the element to check the class on\n\t * @param {string} className the CSS className\n\t * @return {boolean} true if the element has the class, false if not\n\t */\n\t hasClass: function hasClass(element, className) {\n\t !!/\\s/.test(className) ? false ? invariant(false, 'CSS.hasClass takes only a single class name.') : invariant(false) : void 0;\n\t if (element.classList) {\n\t return !!className && element.classList.contains(className);\n\t }\n\t return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1;\n\t },\n\t\n\t /**\n\t * Tests whether the element matches the selector specified\n\t *\n\t * @param {DOMNode|DOMWindow} element the element that we are querying\n\t * @param {string} selector the CSS selector\n\t * @return {boolean} true if the element matches the selector, false if not\n\t */\n\t matchesSelector: function matchesSelector(element, selector) {\n\t var matchesImpl = element.matches || element.webkitMatchesSelector || element.mozMatchesSelector || element.msMatchesSelector || function (s) {\n\t return matchesSelector_SLOW(element, s);\n\t };\n\t return matchesImpl.call(element, selector);\n\t }\n\t\n\t};\n\t\n\tmodule.exports = CSSCore;\n\n/***/ },\n/* 276 */\n10,\n/* 277 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t\n\tfunction EventEmitter() {\n\t this._events = this._events || {};\n\t this._maxListeners = this._maxListeners || undefined;\n\t}\n\tmodule.exports = EventEmitter;\n\t\n\t// Backwards-compat with node 0.10.x\n\tEventEmitter.EventEmitter = EventEmitter;\n\t\n\tEventEmitter.prototype._events = undefined;\n\tEventEmitter.prototype._maxListeners = undefined;\n\t\n\t// By default EventEmitters will print a warning if more than 10 listeners are\n\t// added to it. This is a useful default which helps finding memory leaks.\n\tEventEmitter.defaultMaxListeners = 10;\n\t\n\t// Obviously not all Emitters should be limited to 10. This function allows\n\t// that to be increased. Set to zero for unlimited.\n\tEventEmitter.prototype.setMaxListeners = function (n) {\n\t if (!isNumber(n) || n < 0 || isNaN(n)) throw TypeError('n must be a positive number');\n\t this._maxListeners = n;\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.emit = function (type) {\n\t var er, handler, len, args, i, listeners;\n\t\n\t if (!this._events) this._events = {};\n\t\n\t // If there is no 'error' event listener then throw.\n\t if (type === 'error') {\n\t if (!this._events.error || isObject(this._events.error) && !this._events.error.length) {\n\t er = arguments[1];\n\t if (er instanceof Error) {\n\t throw er; // Unhandled 'error' event\n\t } else {\n\t // At least give some kind of context to the user\n\t var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n\t err.context = er;\n\t throw err;\n\t }\n\t }\n\t }\n\t\n\t handler = this._events[type];\n\t\n\t if (isUndefined(handler)) return false;\n\t\n\t if (isFunction(handler)) {\n\t switch (arguments.length) {\n\t // fast cases\n\t case 1:\n\t handler.call(this);\n\t break;\n\t case 2:\n\t handler.call(this, arguments[1]);\n\t break;\n\t case 3:\n\t handler.call(this, arguments[1], arguments[2]);\n\t break;\n\t // slower\n\t default:\n\t args = Array.prototype.slice.call(arguments, 1);\n\t handler.apply(this, args);\n\t }\n\t } else if (isObject(handler)) {\n\t args = Array.prototype.slice.call(arguments, 1);\n\t listeners = handler.slice();\n\t len = listeners.length;\n\t for (i = 0; i < len; i++) {\n\t listeners[i].apply(this, args);\n\t }\n\t }\n\t\n\t return true;\n\t};\n\t\n\tEventEmitter.prototype.addListener = function (type, listener) {\n\t var m;\n\t\n\t if (!isFunction(listener)) throw TypeError('listener must be a function');\n\t\n\t if (!this._events) this._events = {};\n\t\n\t // To avoid recursion in the case that type === \"newListener\"! Before\n\t // adding it to the listeners, first emit \"newListener\".\n\t if (this._events.newListener) this.emit('newListener', type, isFunction(listener.listener) ? listener.listener : listener);\n\t\n\t if (!this._events[type])\n\t // Optimize the case of one listener. Don't need the extra array object.\n\t this._events[type] = listener;else if (isObject(this._events[type]))\n\t // If we've already got an array, just append.\n\t this._events[type].push(listener);else\n\t // Adding the second element, need to change to array.\n\t this._events[type] = [this._events[type], listener];\n\t\n\t // Check for listener leak\n\t if (isObject(this._events[type]) && !this._events[type].warned) {\n\t if (!isUndefined(this._maxListeners)) {\n\t m = this._maxListeners;\n\t } else {\n\t m = EventEmitter.defaultMaxListeners;\n\t }\n\t\n\t if (m && m > 0 && this._events[type].length > m) {\n\t this._events[type].warned = true;\n\t console.error('(node) warning: possible EventEmitter memory ' + 'leak detected. %d listeners added. ' + 'Use emitter.setMaxListeners() to increase limit.', this._events[type].length);\n\t if (typeof console.trace === 'function') {\n\t // not supported in IE 10\n\t console.trace();\n\t }\n\t }\n\t }\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\t\n\tEventEmitter.prototype.once = function (type, listener) {\n\t if (!isFunction(listener)) throw TypeError('listener must be a function');\n\t\n\t var fired = false;\n\t\n\t function g() {\n\t this.removeListener(type, g);\n\t\n\t if (!fired) {\n\t fired = true;\n\t listener.apply(this, arguments);\n\t }\n\t }\n\t\n\t g.listener = listener;\n\t this.on(type, g);\n\t\n\t return this;\n\t};\n\t\n\t// emits a 'removeListener' event iff the listener was removed\n\tEventEmitter.prototype.removeListener = function (type, listener) {\n\t var list, position, length, i;\n\t\n\t if (!isFunction(listener)) throw TypeError('listener must be a function');\n\t\n\t if (!this._events || !this._events[type]) return this;\n\t\n\t list = this._events[type];\n\t length = list.length;\n\t position = -1;\n\t\n\t if (list === listener || isFunction(list.listener) && list.listener === listener) {\n\t delete this._events[type];\n\t if (this._events.removeListener) this.emit('removeListener', type, listener);\n\t } else if (isObject(list)) {\n\t for (i = length; i-- > 0;) {\n\t if (list[i] === listener || list[i].listener && list[i].listener === listener) {\n\t position = i;\n\t break;\n\t }\n\t }\n\t\n\t if (position < 0) return this;\n\t\n\t if (list.length === 1) {\n\t list.length = 0;\n\t delete this._events[type];\n\t } else {\n\t list.splice(position, 1);\n\t }\n\t\n\t if (this._events.removeListener) this.emit('removeListener', type, listener);\n\t }\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.removeAllListeners = function (type) {\n\t var key, listeners;\n\t\n\t if (!this._events) return this;\n\t\n\t // not listening for removeListener, no need to emit\n\t if (!this._events.removeListener) {\n\t if (arguments.length === 0) this._events = {};else if (this._events[type]) delete this._events[type];\n\t return this;\n\t }\n\t\n\t // emit removeListener for all listeners on all events\n\t if (arguments.length === 0) {\n\t for (key in this._events) {\n\t if (key === 'removeListener') continue;\n\t this.removeAllListeners(key);\n\t }\n\t this.removeAllListeners('removeListener');\n\t this._events = {};\n\t return this;\n\t }\n\t\n\t listeners = this._events[type];\n\t\n\t if (isFunction(listeners)) {\n\t this.removeListener(type, listeners);\n\t } else if (listeners) {\n\t // LIFO order\n\t while (listeners.length) {\n\t this.removeListener(type, listeners[listeners.length - 1]);\n\t }\n\t }\n\t delete this._events[type];\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.listeners = function (type) {\n\t var ret;\n\t if (!this._events || !this._events[type]) ret = [];else if (isFunction(this._events[type])) ret = [this._events[type]];else ret = this._events[type].slice();\n\t return ret;\n\t};\n\t\n\tEventEmitter.prototype.listenerCount = function (type) {\n\t if (this._events) {\n\t var evlistener = this._events[type];\n\t\n\t if (isFunction(evlistener)) return 1;else if (evlistener) return evlistener.length;\n\t }\n\t return 0;\n\t};\n\t\n\tEventEmitter.listenerCount = function (emitter, type) {\n\t return emitter.listenerCount(type);\n\t};\n\t\n\tfunction isFunction(arg) {\n\t return typeof arg === 'function';\n\t}\n\t\n\tfunction isNumber(arg) {\n\t return typeof arg === 'number';\n\t}\n\t\n\tfunction isObject(arg) {\n\t return (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'object' && arg !== null;\n\t}\n\t\n\tfunction isUndefined(arg) {\n\t return arg === void 0;\n\t}\n\n/***/ },\n/* 278 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tif (typeof Object.create === 'function') {\n\t // implementation from standard node.js 'util' module\n\t module.exports = function inherits(ctor, superCtor) {\n\t ctor.super_ = superCtor;\n\t ctor.prototype = Object.create(superCtor.prototype, {\n\t constructor: {\n\t value: ctor,\n\t enumerable: false,\n\t writable: true,\n\t configurable: true\n\t }\n\t });\n\t };\n\t} else {\n\t // old school shim for old browsers\n\t module.exports = function inherits(ctor, superCtor) {\n\t ctor.super_ = superCtor;\n\t var TempCtor = function TempCtor() {};\n\t TempCtor.prototype = superCtor.prototype;\n\t ctor.prototype = new TempCtor();\n\t ctor.prototype.constructor = ctor;\n\t };\n\t}\n\n/***/ },\n/* 279 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tmodule.exports = function isBuffer(arg) {\n\t return arg && (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'object' && typeof arg.copy === 'function' && typeof arg.fill === 'function' && typeof arg.readUInt8 === 'function';\n\t};\n\n/***/ },\n/* 280 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.displayName = displayName;\n\texports.url = url;\n\t\n\tvar _blueimpMd = __webpack_require__(175);\n\t\n\tvar _blueimpMd2 = _interopRequireDefault(_blueimpMd);\n\t\n\tvar _trim = __webpack_require__(25);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _jsonp_utils = __webpack_require__(326);\n\t\n\tvar _jsonp_utils2 = _interopRequireDefault(_jsonp_utils);\n\t\n\tvar _email = __webpack_require__(26);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar md5 = _blueimpMd2.default.md5 || _blueimpMd2.default;\n\t\n\tfunction normalize(str) {\n\t return typeof str === \"string\" ? (0, _trim2.default)(str.toLowerCase()) : \"\";\n\t}\n\t\n\tfunction displayName(email, cb) {\n\t email = normalize(email);\n\t if (!(0, _email.validateEmail)(email)) return cb({});\n\t\n\t var url = 'https://secure.gravatar.com/' + md5(email) + '.json';\n\t _jsonp_utils2.default.get(url, function (error, result) {\n\t if (!error && result && result.entry && result.entry[0]) {\n\t cb(null, result.entry[0].displayName);\n\t } else {\n\t cb({});\n\t }\n\t });\n\t}\n\t\n\tfunction url(email, cb) {\n\t email = normalize(email);\n\t if (!(0, _email.validateEmail)(email)) return cb({});\n\t\n\t cb(null, 'https://secure.gravatar.com/avatar/' + md5(email) + '?d=404&s=160');\n\t}\n\n/***/ },\n/* 281 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _email_pane = __webpack_require__(83);\n\t\n\tvar _email_pane2 = _interopRequireDefault(_email_pane);\n\t\n\tvar _username_pane = __webpack_require__(86);\n\t\n\tvar _username_pane2 = _interopRequireDefault(_username_pane);\n\t\n\tvar _password_pane = __webpack_require__(84);\n\t\n\tvar _password_pane2 = _interopRequireDefault(_password_pane);\n\t\n\tvar _actions = __webpack_require__(38);\n\t\n\tvar _index = __webpack_require__(11);\n\t\n\tvar _index2 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar LoginPane = function (_React$Component) {\n\t _inherits(LoginPane, _React$Component);\n\t\n\t function LoginPane() {\n\t _classCallCheck(this, LoginPane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t LoginPane.prototype.handleDontRememberPasswordClick = function handleDontRememberPasswordClick(e) {\n\t e.preventDefault();\n\t (0, _actions.showResetPasswordActivity)(l.id(this.props.lock));\n\t };\n\t\n\t LoginPane.prototype.render = function render() {\n\t var _props = this.props,\n\t emailInputPlaceholder = _props.emailInputPlaceholder,\n\t forgotPasswordAction = _props.forgotPasswordAction,\n\t i18n = _props.i18n,\n\t instructions = _props.instructions,\n\t lock = _props.lock,\n\t passwordInputPlaceholder = _props.passwordInputPlaceholder,\n\t showForgotPasswordLink = _props.showForgotPasswordLink,\n\t showPassword = _props.showPassword,\n\t usernameInputPlaceholder = _props.usernameInputPlaceholder,\n\t usernameStyle = _props.usernameStyle;\n\t\n\t\n\t var headerText = instructions || null;\n\t var header = headerText && _react2.default.createElement(\n\t 'p',\n\t null,\n\t headerText\n\t );\n\t\n\t // Should never validate format on login because of custom db connection and import mode\n\t var fieldPane = usernameStyle === \"email\" ? _react2.default.createElement(_email_pane2.default, {\n\t i18n: i18n,\n\t lock: lock,\n\t placeholder: emailInputPlaceholder\n\t }) : _react2.default.createElement(_username_pane2.default, {\n\t i18n: i18n,\n\t lock: lock,\n\t placeholder: usernameInputPlaceholder,\n\t usernameStyle: usernameStyle,\n\t validateFormat: false\n\t });\n\t\n\t var passwordPane = showPassword ? _react2.default.createElement(_password_pane2.default, {\n\t i18n: i18n,\n\t lock: lock,\n\t placeholder: passwordInputPlaceholder\n\t }) : null;\n\t\n\t var dontRememberPassword = showForgotPasswordLink && (0, _index.hasScreen)(lock, \"forgotPassword\") ? _react2.default.createElement(\n\t 'p',\n\t { className: 'auth0-lock-alternative' },\n\t _react2.default.createElement(\n\t 'a',\n\t {\n\t className: 'auth0-lock-alternative-link',\n\t href: (0, _index.forgotPasswordLink)(lock, \"#\"),\n\t onClick: (0, _index.forgotPasswordLink)(lock) ? undefined : this.handleDontRememberPasswordClick.bind(this)\n\t },\n\t forgotPasswordAction\n\t )\n\t ) : null;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t null,\n\t header,\n\t fieldPane,\n\t passwordPane,\n\t dontRememberPassword\n\t );\n\t };\n\t\n\t return LoginPane;\n\t}(_react2.default.Component);\n\t\n\texports.default = LoginPane;\n\t\n\t\n\tLoginPane.propTypes = {\n\t emailInputPlaceholder: _react2.default.PropTypes.string.isRequired,\n\t forgotPasswordAction: _react2.default.PropTypes.string.isRequired,\n\t i18n: _react2.default.PropTypes.object.isRequired,\n\t instructions: _react2.default.PropTypes.any,\n\t lock: _react2.default.PropTypes.object.isRequired,\n\t passwordInputPlaceholder: _react2.default.PropTypes.string.isRequired,\n\t showForgotPasswordLink: _react2.default.PropTypes.bool.isRequired,\n\t showPassword: _react2.default.PropTypes.bool.isRequired,\n\t usernameInputPlaceholder: _react2.default.PropTypes.string.isRequired,\n\t usernameStyle: _react2.default.PropTypes.oneOf([\"any\", \"email\", \"username\"])\n\t};\n\n/***/ },\n/* 282 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _mfa_code_pane = __webpack_require__(305);\n\t\n\tvar _mfa_code_pane2 = _interopRequireDefault(_mfa_code_pane);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar MFAPane = function (_React$Component) {\n\t _inherits(MFAPane, _React$Component);\n\t\n\t function MFAPane() {\n\t _classCallCheck(this, MFAPane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t MFAPane.prototype.render = function render() {\n\t var _props = this.props,\n\t mfaInputPlaceholder = _props.mfaInputPlaceholder,\n\t i18n = _props.i18n,\n\t instructions = _props.instructions,\n\t lock = _props.lock,\n\t title = _props.title;\n\t\n\t\n\t var headerText = instructions || null;\n\t var header = headerText && _react2.default.createElement(\n\t 'p',\n\t null,\n\t headerText\n\t );\n\t\n\t var pane = _react2.default.createElement(_mfa_code_pane2.default, {\n\t i18n: i18n,\n\t lock: lock,\n\t placeholder: mfaInputPlaceholder\n\t });\n\t\n\t var titleElement = title && _react2.default.createElement(\n\t 'h2',\n\t null,\n\t title\n\t );\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t null,\n\t titleElement,\n\t header,\n\t pane\n\t );\n\t };\n\t\n\t return MFAPane;\n\t}(_react2.default.Component);\n\t\n\texports.default = MFAPane;\n\t\n\t\n\tMFAPane.propTypes = {\n\t mfaInputPlaceholder: _react2.default.PropTypes.string.isRequired,\n\t title: _react2.default.PropTypes.string.isRequired,\n\t i18n: _react2.default.PropTypes.object.isRequired,\n\t instructions: _react2.default.PropTypes.any,\n\t lock: _react2.default.PropTypes.object.isRequired\n\t};\n\n/***/ },\n/* 283 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.renderPasswordResetConfirmation = renderPasswordResetConfirmation;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _success_pane = __webpack_require__(87);\n\t\n\tvar _success_pane2 = _interopRequireDefault(_success_pane);\n\t\n\tvar _actions = __webpack_require__(24);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t// TODO: can't we get this from props?\n\t\n\tvar PasswordResetConfirmation = function (_React$Component) {\n\t _inherits(PasswordResetConfirmation, _React$Component);\n\t\n\t function PasswordResetConfirmation() {\n\t _classCallCheck(this, PasswordResetConfirmation);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t PasswordResetConfirmation.prototype.handleClose = function handleClose() {\n\t var _props = this.props,\n\t closeHandler = _props.closeHandler,\n\t lock = _props.lock;\n\t\n\t closeHandler(l.id(lock));\n\t };\n\t\n\t PasswordResetConfirmation.prototype.render = function render() {\n\t var lock = this.props.lock;\n\t\n\t var closeHandler = l.ui.closable(lock) ? this.handleClose.bind(this) : undefined;\n\t\n\t return _react2.default.createElement(\n\t _success_pane2.default,\n\t { closeHandler: closeHandler },\n\t _react2.default.createElement(\n\t 'p',\n\t null,\n\t i18n.html(this.props.lock, [\"success\", \"forgotPassword\"])\n\t )\n\t );\n\t };\n\t\n\t return PasswordResetConfirmation;\n\t}(_react2.default.Component);\n\t\n\texports.default = PasswordResetConfirmation;\n\t\n\t\n\tPasswordResetConfirmation.propTypes = {\n\t closeHandler: _react2.default.PropTypes.func.isRequired,\n\t lock: _react2.default.PropTypes.object.isRequired\n\t};\n\t\n\tfunction renderPasswordResetConfirmation(m) {\n\t var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\t\n\t props.closeHandler = _actions.closeLock;\n\t props.key = \"auxiliarypane\";\n\t props.lock = m;\n\t\n\t return m.get(\"passwordResetted\") ? _react2.default.createElement(PasswordResetConfirmation, props) : null;\n\t}\n\n/***/ },\n/* 284 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _reset_password_pane = __webpack_require__(285);\n\t\n\tvar _reset_password_pane2 = _interopRequireDefault(_reset_password_pane);\n\t\n\tvar _index = __webpack_require__(11);\n\t\n\tvar _actions = __webpack_require__(38);\n\t\n\tvar _password_reset_confirmation = __webpack_require__(283);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Component = function Component(_ref) {\n\t var i18n = _ref.i18n,\n\t model = _ref.model;\n\t\n\t var headerText = i18n.html(\"forgotPasswordInstructions\") || null;\n\t var header = headerText && _react2.default.createElement(\n\t 'p',\n\t null,\n\t headerText\n\t );\n\t\n\t return _react2.default.createElement(_reset_password_pane2.default, {\n\t emailInputPlaceholder: i18n.str(\"emailInputPlaceholder\"),\n\t header: header,\n\t i18n: i18n,\n\t lock: model\n\t });\n\t};\n\t\n\tvar ResetPassword = function (_Screen) {\n\t _inherits(ResetPassword, _Screen);\n\t\n\t function ResetPassword() {\n\t _classCallCheck(this, ResetPassword);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"forgotPassword\"));\n\t }\n\t\n\t ResetPassword.prototype.backHandler = function backHandler(m) {\n\t return (0, _index.hasScreen)(m, \"login\") ? _actions.cancelResetPassword : undefined;\n\t };\n\t\n\t ResetPassword.prototype.submitButtonLabel = function submitButtonLabel(m) {\n\t return i18n.str(m, [\"forgotPasswordSubmitLabel\"]);\n\t };\n\t\n\t ResetPassword.prototype.submitHandler = function submitHandler() {\n\t return _actions.resetPassword;\n\t };\n\t\n\t ResetPassword.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(m) {\n\t return (0, _password_reset_confirmation.renderPasswordResetConfirmation)(m);\n\t };\n\t\n\t ResetPassword.prototype.render = function render() {\n\t return Component;\n\t };\n\t\n\t return ResetPassword;\n\t}(_screen2.default);\n\t\n\texports.default = ResetPassword;\n\n/***/ },\n/* 285 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _email_pane = __webpack_require__(83);\n\t\n\tvar _email_pane2 = _interopRequireDefault(_email_pane);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ResetPasswordPane = function (_React$Component) {\n\t _inherits(ResetPasswordPane, _React$Component);\n\t\n\t function ResetPasswordPane() {\n\t _classCallCheck(this, ResetPasswordPane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t ResetPasswordPane.prototype.render = function render() {\n\t var _props = this.props,\n\t emailInputPlaceholder = _props.emailInputPlaceholder,\n\t header = _props.header,\n\t i18n = _props.i18n,\n\t lock = _props.lock;\n\t\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t null,\n\t header,\n\t _react2.default.createElement(_email_pane2.default, {\n\t i18n: i18n,\n\t lock: lock,\n\t placeholder: emailInputPlaceholder\n\t })\n\t );\n\t };\n\t\n\t return ResetPasswordPane;\n\t}(_react2.default.Component);\n\t\n\tResetPasswordPane.propTypes = {\n\t emailInputPlaceholder: _react2.default.PropTypes.string.isRequired,\n\t lock: _react2.default.PropTypes.object.isRequired\n\t};\n\texports.default = ResetPasswordPane;\n\n/***/ },\n/* 286 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar SignUpTerms = function SignUpTerms(_ref) {\n\t var checkHandler = _ref.checkHandler,\n\t checked = _ref.checked,\n\t children = _ref.children;\n\t\n\t return checkHandler ? _react2.default.createElement(\n\t \"span\",\n\t { className: \"auth0-lock-sign-up-terms-agreement\" },\n\t _react2.default.createElement(\n\t \"label\",\n\t null,\n\t _react2.default.createElement(\"input\", { type: \"checkbox\", onChange: checkHandler, checked: checked }),\n\t children\n\t )\n\t ) : children;\n\t};\n\t\n\texports.default = SignUpTerms;\n\n/***/ },\n/* 287 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.renderSignedUpConfirmation = renderSignedUpConfirmation;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _success_pane = __webpack_require__(87);\n\t\n\tvar _success_pane2 = _interopRequireDefault(_success_pane);\n\t\n\tvar _actions = __webpack_require__(24);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(11);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t// TODO: can't we get this from props?\n\t\n\tvar SignedUpConfirmation = function (_React$Component) {\n\t _inherits(SignedUpConfirmation, _React$Component);\n\t\n\t function SignedUpConfirmation() {\n\t _classCallCheck(this, SignedUpConfirmation);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t SignedUpConfirmation.prototype.handleClose = function handleClose() {\n\t var _props = this.props,\n\t closeHandler = _props.closeHandler,\n\t lock = _props.lock;\n\t\n\t closeHandler(l.id(lock));\n\t };\n\t\n\t SignedUpConfirmation.prototype.render = function render() {\n\t var lock = this.props.lock;\n\t\n\t var closeHandler = l.ui.closable(lock) ? this.handleClose.bind(this) : undefined;\n\t\n\t return _react2.default.createElement(\n\t _success_pane2.default,\n\t { closeHandler: closeHandler },\n\t _react2.default.createElement(\n\t 'p',\n\t null,\n\t i18n.html(lock, [\"success\", \"signUp\"])\n\t )\n\t );\n\t };\n\t\n\t return SignedUpConfirmation;\n\t}(_react2.default.Component);\n\t\n\texports.default = SignedUpConfirmation;\n\t\n\t\n\tSignedUpConfirmation.propTypes = {\n\t closeHandler: _react2.default.PropTypes.func.isRequired,\n\t lock: _react2.default.PropTypes.object.isRequired\n\t};\n\t\n\tfunction renderSignedUpConfirmation(m) {\n\t var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\t\n\t props.closeHandler = _actions.closeLock;\n\t props.key = \"auxiliarypane\";\n\t props.lock = m;\n\t\n\t return m.get(\"signedUp\") && !(0, _index2.shouldAutoLogin)(m) ? _react2.default.createElement(SignedUpConfirmation, props) : null;\n\t}\n\n/***/ },\n/* 288 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _username_pane = __webpack_require__(86);\n\t\n\tvar _username_pane2 = _interopRequireDefault(_username_pane);\n\t\n\tvar _password_pane = __webpack_require__(84);\n\t\n\tvar _password_pane2 = _interopRequireDefault(_password_pane);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar HRDPane = function (_React$Component) {\n\t _inherits(HRDPane, _React$Component);\n\t\n\t function HRDPane() {\n\t _classCallCheck(this, HRDPane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t HRDPane.prototype.render = function render() {\n\t var _props = this.props,\n\t header = _props.header,\n\t i18n = _props.i18n,\n\t model = _props.model,\n\t passwordInputPlaceholder = _props.passwordInputPlaceholder,\n\t usernameInputPlaceholder = _props.usernameInputPlaceholder;\n\t\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t null,\n\t header,\n\t _react2.default.createElement(_username_pane2.default, {\n\t i18n: i18n,\n\t lock: model,\n\t placeholder: usernameInputPlaceholder,\n\t validateFormat: false\n\t }),\n\t _react2.default.createElement(_password_pane2.default, {\n\t i18n: i18n,\n\t lock: model,\n\t placeholder: passwordInputPlaceholder\n\t })\n\t );\n\t };\n\t\n\t return HRDPane;\n\t}(_react2.default.Component);\n\t\n\texports.default = HRDPane;\n\t\n\t\n\tHRDPane.propTypes = {\n\t header: _react2.default.PropTypes.element,\n\t i18n: _react2.default.PropTypes.object.isRequired,\n\t model: _react2.default.PropTypes.object.isRequired,\n\t passwordInputPlaceholder: _react2.default.PropTypes.string.isRequired,\n\t usernameInputPlaceholder: _react2.default.PropTypes.string.isRequired\n\t};\n\n/***/ },\n/* 289 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _signed_in_confirmation = __webpack_require__(30);\n\t\n\tvar _hrd_pane = __webpack_require__(288);\n\t\n\tvar _hrd_pane2 = _interopRequireDefault(_hrd_pane);\n\t\n\tvar _actions = __webpack_require__(80);\n\t\n\tvar _enterprise = __webpack_require__(23);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Component = function Component(_ref) {\n\t var i18n = _ref.i18n,\n\t model = _ref.model;\n\t\n\t var domain = (0, _enterprise.enterpriseDomain)(model);\n\t\n\t var headerText;\n\t\n\t if (domain != null) {\n\t headerText = i18n.html(\"enterpriseActiveLoginInstructions\", domain);\n\t } else {\n\t headerText = i18n.html(\"enterpriseLoginIntructions\");\n\t }\n\t\n\t headerText = headerText || null;\n\t\n\t var header = headerText && _react2.default.createElement(\n\t 'p',\n\t null,\n\t headerText\n\t );\n\t\n\t return _react2.default.createElement(_hrd_pane2.default, {\n\t header: header,\n\t i18n: i18n,\n\t model: model,\n\t passwordInputPlaceholder: i18n.str(\"passwordInputPlaceholder\"),\n\t usernameInputPlaceholder: i18n.str(\"usernameInputPlaceholder\")\n\t });\n\t};\n\t\n\tvar HRDScreen = function (_Screen) {\n\t _inherits(HRDScreen, _Screen);\n\t\n\t function HRDScreen() {\n\t _classCallCheck(this, HRDScreen);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"hrd\"));\n\t }\n\t\n\t HRDScreen.prototype.backHandler = function backHandler(model) {\n\t return (0, _enterprise.isSingleHRDConnection)(model) ? null : _actions.cancelHRD;\n\t };\n\t\n\t HRDScreen.prototype.submitButtonLabel = function submitButtonLabel(m) {\n\t return i18n.str(m, [\"loginSubmitLabel\"]);\n\t };\n\t\n\t HRDScreen.prototype.submitHandler = function submitHandler(model) {\n\t return _actions.logIn;\n\t };\n\t\n\t HRDScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(model) {\n\t return (0, _signed_in_confirmation.renderSignedInConfirmation)(model);\n\t };\n\t\n\t HRDScreen.prototype.render = function render() {\n\t return Component;\n\t };\n\t\n\t return HRDScreen;\n\t}(_screen2.default);\n\t\n\texports.default = HRDScreen;\n\n/***/ },\n/* 290 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _quick_auth_pane = __webpack_require__(89);\n\t\n\tvar _quick_auth_pane2 = _interopRequireDefault(_quick_auth_pane);\n\t\n\tvar _actions = __webpack_require__(54);\n\t\n\tvar _signed_in_confirmation = __webpack_require__(30);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _enterprise = __webpack_require__(23);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Component = function Component(_ref) {\n\t var i18n = _ref.i18n,\n\t model = _ref.model;\n\t\n\t var headerText = i18n.html(\"windowsAuthInstructions\") || null;\n\t var header = headerText && _react2.default.createElement(\n\t 'p',\n\t null,\n\t headerText\n\t );\n\t\n\t return _react2.default.createElement(_quick_auth_pane2.default, {\n\t alternativeLabel: i18n.str(\"notYourAccountAction\"),\n\t alternativeClickHandler: function alternativeClickHandler() {\n\t return (0, _actions.skipQuickAuth)(l.id(model));\n\t },\n\t buttonLabel: i18n.str(\"windowsAuthLabel\"),\n\t buttonClickHandler: function buttonClickHandler(e) {\n\t return (0, _actions.logIn)(l.id(model), (0, _enterprise.corpNetworkConnection)(model));\n\t },\n\t header: header,\n\t strategy: 'windows'\n\t });\n\t};\n\t\n\tvar KerberosScreen = function (_Screen) {\n\t _inherits(KerberosScreen, _Screen);\n\t\n\t function KerberosScreen() {\n\t _classCallCheck(this, KerberosScreen);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"kerberos\"));\n\t }\n\t\n\t KerberosScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) {\n\t return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock);\n\t };\n\t\n\t KerberosScreen.prototype.render = function render() {\n\t return Component;\n\t };\n\t\n\t return KerberosScreen;\n\t}(_screen2.default);\n\t\n\texports.default = KerberosScreen;\n\n/***/ },\n/* 291 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _quick_auth_pane = __webpack_require__(89);\n\t\n\tvar _quick_auth_pane2 = _interopRequireDefault(_quick_auth_pane);\n\t\n\tvar _actions = __webpack_require__(54);\n\t\n\tvar _signed_in_confirmation = __webpack_require__(30);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _enterprise = __webpack_require__(23);\n\t\n\tvar _index2 = __webpack_require__(39);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t// TODO: handle this from CSS\n\tfunction icon(strategy) {\n\t if (strategy === \"google-apps\") return strategy;\n\t if (~[\"adfs\", \"office365\", \"waad\"].indexOf(strategy)) return \"windows\";\n\t return \"auth0\";\n\t}\n\t\n\tvar Component = function Component(_ref) {\n\t var i18n = _ref.i18n,\n\t model = _ref.model;\n\t\n\t var headerText = i18n.html(\"enterpriseLoginIntructions\") || null;\n\t var header = headerText && _react2.default.createElement(\n\t 'p',\n\t null,\n\t headerText\n\t );\n\t\n\t var theme = (0, _index2.authButtonsTheme)(model);\n\t\n\t var connection = (0, _enterprise.quickAuthConnection)(model);\n\t var connectionName = connection.getIn([\"name\"]);\n\t var connectionDomain = connection.getIn([\"domains\", 0]);\n\t\n\t var buttonTheme = theme.get(connection.get(\"name\"));\n\t\n\t var buttonLabel = buttonTheme && buttonTheme.get(\"displayName\") || connectionDomain && i18n.str(\"loginAtLabel\", connectionDomain) || i18n.str(\"loginAtLabel\", connectionName);\n\t\n\t var primaryColor = buttonTheme && buttonTheme.get(\"primaryColor\");\n\t var foregroundColor = buttonTheme && buttonTheme.get(\"foregroundColor\");\n\t var buttonIcon = buttonTheme && buttonTheme.get(\"icon\");\n\t\n\t return _react2.default.createElement(_quick_auth_pane2.default, {\n\t buttonLabel: buttonLabel,\n\t buttonClickHandler: function buttonClickHandler(e) {\n\t return (0, _actions.logIn)(l.id(model), (0, _enterprise.quickAuthConnection)(model));\n\t },\n\t header: header,\n\t buttonIcon: buttonIcon,\n\t primaryColor: primaryColor,\n\t foregroundColor: foregroundColor,\n\t strategy: icon((0, _enterprise.quickAuthConnection)(model).get(\"strategy\"))\n\t });\n\t};\n\t\n\tvar QuickAuthScreen = function (_Screen) {\n\t _inherits(QuickAuthScreen, _Screen);\n\t\n\t function QuickAuthScreen() {\n\t _classCallCheck(this, QuickAuthScreen);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"enterpriseQuickAuth\"));\n\t }\n\t\n\t QuickAuthScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) {\n\t return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock);\n\t };\n\t\n\t QuickAuthScreen.prototype.render = function render() {\n\t return Component;\n\t };\n\t\n\t return QuickAuthScreen;\n\t}(_screen2.default);\n\t\n\texports.default = QuickAuthScreen;\n\n/***/ },\n/* 292 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _events = __webpack_require__(277);\n\t\n\tvar _index = __webpack_require__(12);\n\t\n\tvar _box = __webpack_require__(310);\n\t\n\tvar _web_api = __webpack_require__(53);\n\t\n\tvar _web_api2 = _interopRequireDefault(_web_api);\n\t\n\tvar _actions = __webpack_require__(24);\n\t\n\tvar _index2 = __webpack_require__(11);\n\t\n\tvar _index3 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _index4 = __webpack_require__(8);\n\t\n\tvar c = _interopRequireWildcard(_index4);\n\t\n\tvar _id_utils = __webpack_require__(325);\n\t\n\tvar idu = _interopRequireWildcard(_id_utils);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tvar _sync = __webpack_require__(45);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Base = function (_EventEmitter) {\n\t _inherits(Base, _EventEmitter);\n\t\n\t function Base(clientID, domain) {\n\t var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\t var engine = arguments[3];\n\t\n\t _classCallCheck(this, Base);\n\t\n\t if (typeof clientID != \"string\") {\n\t throw new Error(\"A `clientID` string must be provided as first argument.\");\n\t }\n\t if (typeof domain != \"string\") {\n\t throw new Error(\"A `domain` string must be provided as second argument.\");\n\t }\n\t if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) != \"object\") {\n\t throw new Error(\"When provided, the third argument must be an `options` object.\");\n\t }\n\t\n\t var _this = _possibleConstructorReturn(this, _EventEmitter.call(this));\n\t\n\t _this.validEvents = ['show', 'hide', 'unrecoverable_error', 'authenticated', 'authorization_error', 'hash_parsed'];\n\t\n\t _this.id = idu.incremental();\n\t _this.engine = engine;\n\t var hookRunner = _this.runHook.bind(_this);\n\t var emitEventFn = _this.emit.bind(_this);\n\t\n\t (0, _sync.go)(_this.id);\n\t\n\t var m = (0, _actions.setupLock)(_this.id, clientID, domain, options, hookRunner, emitEventFn);\n\t\n\t _this.on('newListener', function (type) {\n\t if (_this.validEvents.indexOf(type) === -1) {\n\t l.emitUnrecoverableErrorEvent(m, 'Invalid event \"' + type + '\".');\n\t }\n\t });\n\t\n\t if (!Base.hasScheduledAuthCallback) {\n\t Base.hasScheduledAuthCallback = true;\n\t setTimeout(_actions.handleAuthCallback, 0);\n\t }\n\t\n\t (0, _index.observe)(\"render\", _this.id, function (m) {\n\t var partialApplyId = function partialApplyId(screen, handlerName) {\n\t var handler = screen[handlerName](m);\n\t return handler ? function () {\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return handler.apply(undefined, [l.id(m)].concat(args));\n\t } : handler;\n\t };\n\t\n\t var avatar = l.ui.avatar(m) && m.getIn([\"avatar\", \"transient\", \"syncStatus\"]) === \"ok\" || null;\n\t var title = avatar ? i18n.str(m, \"welcome\", m.getIn([\"avatar\", \"transient\", \"displayName\"])) : i18n.str(m, \"title\");\n\t\n\t if (l.rendering(m)) {\n\t var screen = _this.engine.render(m);\n\t\n\t var disableSubmitButton = screen.name === \"main.signUp\" && !(0, _index2.termsAccepted)(m);\n\t\n\t var i18nProp = {\n\t group: function group(keyPath) {\n\t return i18n.group(m, keyPath);\n\t },\n\t html: function html(keyPath) {\n\t for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n\t args[_key2 - 1] = arguments[_key2];\n\t }\n\t\n\t return i18n.html.apply(i18n, [m, keyPath].concat(args));\n\t },\n\t str: function str(keyPath) {\n\t for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n\t args[_key3 - 1] = arguments[_key3];\n\t }\n\t\n\t return i18n.str.apply(i18n, [m, keyPath].concat(args));\n\t }\n\t };\n\t\n\t var props = {\n\t avatar: avatar && m.getIn([\"avatar\", \"transient\", \"url\"]),\n\t auxiliaryPane: screen.renderAuxiliaryPane(m),\n\t autofocus: l.ui.autofocus(m),\n\t backHandler: partialApplyId(screen, \"backHandler\"),\n\t badgeLink: \"https://auth0.com/?utm_source=lock&utm_campaign=badge&utm_medium=widget\",\n\t closeHandler: l.ui.closable(m) ? function () {\n\t for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n\t args[_key4] = arguments[_key4];\n\t }\n\t\n\t return _actions.closeLock.apply(undefined, [l.id(m)].concat(args));\n\t } : undefined,\n\t contentComponent: screen.render(),\n\t contentProps: { i18n: i18nProp, model: m },\n\t disableSubmitButton: disableSubmitButton,\n\t error: l.globalError(m),\n\t isMobile: l.ui.mobile(m),\n\t isModal: l.ui.appendContainer(m),\n\t isSubmitting: l.submitting(m),\n\t logo: l.ui.logo(m),\n\t primaryColor: l.ui.primaryColor(m),\n\t screenName: screen.name,\n\t showBadge: l.showBadge(m) === true,\n\t success: l.globalSuccess(m),\n\t submitButtonLabel: l.ui.labeledSubmitButton(m) ? screen.submitButtonLabel(m) : null,\n\t submitHandler: partialApplyId(screen, \"submitHandler\"),\n\t tabs: screen.renderTabs(m),\n\t terms: screen.renderTerms(m, i18nProp.html(\"signUpTerms\")),\n\t title: title,\n\t transitionName: screen.name === \"loading\" ? \"fade\" : \"horizontal-fade\"\n\t };\n\t (0, _box.render)(l.ui.containerID(m), props);\n\t\n\t // TODO: hack so we can start testing the beta\n\t if (!_this.oldScreenName || _this.oldScreenName != screen.name) {\n\t if (screen.name === \"main.login\") {\n\t l.emitEvent(m, \"signin ready\");\n\t } else if (screen.name === \"main.signUp\") {\n\t l.emitEvent(m, \"signup ready\");\n\t }\n\t }\n\t _this.oldScreenName = screen.name;\n\t } else {\n\t (0, _box.remove)(l.ui.containerID(m));\n\t }\n\t });\n\t return _this;\n\t }\n\t\n\t Base.prototype.show = function show() {\n\t var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\t\n\t (0, _actions.openLock)(this.id, opts);\n\t };\n\t\n\t Base.prototype.hide = function hide() {\n\t (0, _actions.closeLock)(this.id, true);\n\t };\n\t\n\t Base.prototype.destroy = function destroy() {\n\t (0, _actions.removeLock)(this.id);\n\t };\n\t\n\t Base.prototype.getProfile = function getProfile(token, cb) {\n\t return _web_api2.default.getProfile(this.id, token, cb);\n\t };\n\t\n\t Base.prototype.getUserInfo = function getUserInfo(token, cb) {\n\t return _web_api2.default.getUserInfo(this.id, token, cb);\n\t };\n\t\n\t Base.prototype.logout = function logout() {\n\t var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\t\n\t _web_api2.default.signOut(this.id, query);\n\t };\n\t\n\t Base.prototype.update = function update(f) {\n\t return (0, _actions.updateLock)(this.id, f);\n\t };\n\t\n\t Base.prototype.setModel = function setModel(m) {\n\t return this.update(function () {\n\t return m;\n\t });\n\t };\n\t\n\t Base.prototype.runHook = function runHook(str, m) {\n\t var _engine;\n\t\n\t if (typeof this.engine[str] != \"function\") return m;\n\t\n\t for (var _len5 = arguments.length, args = Array(_len5 > 2 ? _len5 - 2 : 0), _key5 = 2; _key5 < _len5; _key5++) {\n\t args[_key5 - 2] = arguments[_key5];\n\t }\n\t\n\t return (_engine = this.engine)[str].apply(_engine, [m].concat(args));\n\t };\n\t\n\t return Base;\n\t}(_events.EventEmitter);\n\t\n\texports.default = Base;\n\n/***/ },\n/* 293 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.fetchClientSettings = fetchClientSettings;\n\texports.syncClientSettingsSuccess = syncClientSettingsSuccess;\n\t\n\tvar _urlJoin = __webpack_require__(131);\n\t\n\tvar _urlJoin2 = _interopRequireDefault(_urlJoin);\n\t\n\tvar _cdn_utils = __webpack_require__(90);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(135);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction fetchClientSettings(clientID, clientBaseUrl, cb) {\n\t (0, _cdn_utils.load)({\n\t method: \"setClient\",\n\t url: (0, _urlJoin2.default)(clientBaseUrl, 'client', clientID + '.js?t' + +new Date()),\n\t check: function check(o) {\n\t return o && o.id === clientID;\n\t },\n\t cb: cb\n\t });\n\t}\n\t\n\tfunction syncClientSettingsSuccess(m, result) {\n\t m = (0, _index2.initClient)(m, result);\n\t m = l.filterConnections(m);\n\t m = l.runHook(m, \"didReceiveClientSettings\");\n\t return m;\n\t}\n\n/***/ },\n/* 294 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ErrorScreen = function (_Screen) {\n\t _inherits(ErrorScreen, _Screen);\n\t\n\t function ErrorScreen() {\n\t _classCallCheck(this, ErrorScreen);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"error\"));\n\t }\n\t\n\t ErrorScreen.prototype.render = function render() {\n\t return ErrorPane;\n\t };\n\t\n\t return ErrorScreen;\n\t}(_screen2.default);\n\t\n\texports.default = ErrorScreen;\n\t\n\t\n\tvar ErrorPane = function ErrorPane(_ref) {\n\t var i18n = _ref.i18n;\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-error-pane' },\n\t _react2.default.createElement(\n\t 'p',\n\t null,\n\t i18n.html(\"unrecoverableError\")\n\t )\n\t );\n\t};\n\t\n\tErrorPane.propTypes = {\n\t i18n: _react2.default.PropTypes.object.isRequired\n\t};\n\n/***/ },\n/* 295 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _actions = __webpack_require__(24);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar LoadingScreen = function (_Screen) {\n\t _inherits(LoadingScreen, _Screen);\n\t\n\t function LoadingScreen() {\n\t _classCallCheck(this, LoadingScreen);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"loading\"));\n\t }\n\t\n\t LoadingScreen.prototype.render = function render() {\n\t return LoadingPane;\n\t };\n\t\n\t return LoadingScreen;\n\t}(_screen2.default);\n\t\n\texports.default = LoadingScreen;\n\t\n\tvar LoadingPane = function (_React$Component) {\n\t _inherits(LoadingPane, _React$Component);\n\t\n\t function LoadingPane() {\n\t _classCallCheck(this, LoadingPane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t LoadingPane.prototype.componentDidMount = function componentDidMount() {\n\t var model = this.props.model;\n\t\n\t (0, _actions.pinLoadingPane)(l.id(model));\n\t setTimeout(function () {\n\t return (0, _actions.unpinLoadingPane)(l.id(model));\n\t }, 1200);\n\t };\n\t\n\t LoadingPane.prototype.render = function render() {\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-loading-screen' },\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-loading-container' },\n\t _react2.default.createElement('div', { className: 'auth0-loading' })\n\t )\n\t );\n\t };\n\t\n\t return LoadingPane;\n\t}(_react2.default.Component);\n\t\n\tLoadingPane.propTypes = {\n\t model: _react2.default.PropTypes.object.isRequired\n\t};\n\n/***/ },\n/* 296 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.syncRemoteData = syncRemoteData;\n\t\n\tvar _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _settings = __webpack_require__(293);\n\t\n\tvar _settings2 = __webpack_require__(299);\n\t\n\tvar _data = __webpack_require__(297);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _enterprise = __webpack_require__(23);\n\t\n\tvar _sync = __webpack_require__(45);\n\t\n\tvar _sync2 = _interopRequireDefault(_sync);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction syncRemoteData(m) {\n\t\n\t if (l.useTenantInfo(m)) {\n\t m = (0, _sync2.default)(m, \"client\", {\n\t syncFn: function syncFn(m, cb) {\n\t return (0, _settings2.fetchTenantSettings)(l.tenantBaseUrl(m), cb);\n\t },\n\t successFn: function successFn(m, result) {\n\t return (0, _settings2.syncTenantSettingsSuccess)(m, l.clientID(m), result);\n\t }\n\t });\n\t } else {\n\t m = (0, _sync2.default)(m, \"client\", {\n\t syncFn: function syncFn(m, cb) {\n\t return (0, _settings.fetchClientSettings)(l.clientID(m), l.clientBaseUrl(m), cb);\n\t },\n\t successFn: _settings.syncClientSettingsSuccess\n\t });\n\t }\n\t\n\t m = (0, _sync2.default)(m, \"sso\", {\n\t conditionFn: l.auth.sso,\n\t waitFn: function waitFn(m) {\n\t return (0, _sync.isSuccess)(m, \"client\");\n\t },\n\t syncFn: function syncFn(m, cb) {\n\t return (0, _data.fetchSSOData)(l.id(m), (0, _enterprise.isADEnabled)(m), cb);\n\t },\n\t successFn: function successFn(m, result) {\n\t return m.mergeIn([\"sso\"], _immutable2.default.fromJS(result));\n\t },\n\t errorFn: function errorFn(m, error) {\n\t // location.origin is not supported in all browsers\n\t var origin = location.protocol + \"//\" + location.hostname;\n\t if (location.port) {\n\t origin += \":\" + location.port;\n\t }\n\t\n\t var appSettingsUrl = 'https://manage.auth0.com/#/applications/' + l.clientID(m) + '/settings';\n\t\n\t l.warn(m, 'There was an error fetching the SSO data. This could simply mean that there was a problem with the network. But, if a \"Origin\" error has been logged before this warning, please add \"' + origin + '\" to the \"Allowed Origins (CORS)\" list in the Auth0 dashboard: ' + appSettingsUrl);\n\t }\n\t });\n\t\n\t return m;\n\t} // shouldn't depend on this\n\n/***/ },\n/* 297 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.fetchSSOData = fetchSSOData;\n\t\n\tvar _web_api = __webpack_require__(53);\n\t\n\tvar _web_api2 = _interopRequireDefault(_web_api);\n\t\n\tvar _cache = __webpack_require__(323);\n\t\n\tvar _cache2 = _interopRequireDefault(_cache);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar cache = new _cache2.default(function () {\n\t return _web_api2.default.getSSOData.apply(_web_api2.default, arguments);\n\t});\n\t\n\tfunction fetchSSOData(id, withAD, cb) {\n\t cache.get(id, withAD, cb);\n\t}\n\n/***/ },\n/* 298 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _quick_auth_pane = __webpack_require__(89);\n\t\n\tvar _quick_auth_pane2 = _interopRequireDefault(_quick_auth_pane);\n\t\n\tvar _actions = __webpack_require__(54);\n\t\n\tvar _index = __webpack_require__(137);\n\t\n\tvar _index2 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tvar _signed_in_confirmation = __webpack_require__(30);\n\t\n\tvar _index3 = __webpack_require__(39);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t// TODO: handle this from CSS\n\tfunction icon(strategy) {\n\t if (_index3.STRATEGIES[strategy]) return strategy;\n\t if (strategy === \"google-apps\") return strategy;\n\t if (~[\"adfs\", \"office365\", \"waad\"].indexOf(strategy)) return \"windows\";\n\t return \"auth0\";\n\t}\n\t\n\tvar Component = function Component(_ref) {\n\t var i18n = _ref.i18n,\n\t model = _ref.model;\n\t\n\t var headerText = i18n.html(\"lastLoginInstructions\") || null;\n\t var header = headerText && _react2.default.createElement(\n\t 'p',\n\t null,\n\t headerText\n\t );\n\t\n\t var buttonClickHandler = function buttonClickHandler() {\n\t (0, _actions.logIn)(l.id(model), (0, _index.lastUsedConnection)(model), (0, _index.lastUsedUsername)(model));\n\t };\n\t\n\t return _react2.default.createElement(_quick_auth_pane2.default, {\n\t alternativeLabel: i18n.str(\"notYourAccountAction\"),\n\t alternativeClickHandler: function alternativeClickHandler() {\n\t return (0, _actions.skipQuickAuth)(l.id(model));\n\t },\n\t buttonLabel: (0, _index.lastUsedUsername)(model),\n\t buttonClickHandler: buttonClickHandler,\n\t header: header,\n\t strategy: icon((0, _index.lastUsedConnection)(model).get(\"strategy\"))\n\t });\n\t};\n\t\n\tvar LastLoginScreen = function (_Screen) {\n\t _inherits(LastLoginScreen, _Screen);\n\t\n\t function LastLoginScreen() {\n\t _classCallCheck(this, LastLoginScreen);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"lastLogin\"));\n\t }\n\t\n\t LastLoginScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) {\n\t return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock);\n\t };\n\t\n\t LastLoginScreen.prototype.render = function render() {\n\t return Component;\n\t };\n\t\n\t return LastLoginScreen;\n\t}(_screen2.default);\n\t\n\texports.default = LastLoginScreen;\n\n/***/ },\n/* 299 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.fetchTenantSettings = fetchTenantSettings;\n\texports.syncTenantSettingsSuccess = syncTenantSettingsSuccess;\n\t\n\tvar _cdn_utils = __webpack_require__(90);\n\t\n\tvar _index = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(81);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction fetchTenantSettings(tenantBaseUrl, cb) {\n\t (0, _cdn_utils.load)({\n\t method: \"setTenant\",\n\t url: tenantBaseUrl + '?t' + +new Date(),\n\t check: function check() {\n\t return true;\n\t },\n\t cb: cb\n\t });\n\t}\n\t\n\tfunction syncTenantSettingsSuccess(m, client_id, result) {\n\t m = (0, _index2.initTenant)(m, client_id, result);\n\t m = l.filterConnections(m);\n\t m = l.runHook(m, \"didReceiveClientSettings\");\n\t return m;\n\t}\n\n/***/ },\n/* 300 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _social_buttons_pane = __webpack_require__(139);\n\t\n\tvar _social_buttons_pane2 = _interopRequireDefault(_social_buttons_pane);\n\t\n\tvar _login_pane = __webpack_require__(281);\n\t\n\tvar _login_pane2 = _interopRequireDefault(_login_pane);\n\t\n\tvar _pane_separator = __webpack_require__(136);\n\t\n\tvar _pane_separator2 = _interopRequireDefault(_pane_separator);\n\t\n\tvar _index = __webpack_require__(11);\n\t\n\tvar _actions = __webpack_require__(38);\n\t\n\tvar _signed_in_confirmation = __webpack_require__(30);\n\t\n\tvar _login_sign_up_tabs = __webpack_require__(133);\n\t\n\tvar _login_sign_up_tabs2 = _interopRequireDefault(_login_sign_up_tabs);\n\t\n\tvar _index2 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tvar _index3 = __webpack_require__(8);\n\t\n\tvar c = _interopRequireWildcard(_index3);\n\t\n\tvar _email = __webpack_require__(26);\n\t\n\tvar _actions2 = __webpack_require__(80);\n\t\n\tvar _enterprise = __webpack_require__(23);\n\t\n\tvar _single_sign_on_notice = __webpack_require__(134);\n\t\n\tvar _single_sign_on_notice2 = _interopRequireDefault(_single_sign_on_notice);\n\t\n\tvar _classic = __webpack_require__(82);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction shouldRenderTabs(m) {\n\t if ((0, _classic.isSSOEnabled)(m)) return false;\n\t if (l.hasSomeConnections(m, \"database\")) return (0, _index.hasScreen)(m, \"signUp\");\n\t if (l.hasSomeConnections(m, \"social\") && (0, _index.hasInitialScreen)(m, \"signUp\")) return (0, _index.hasScreen)(m, \"signUp\");\n\t}\n\t\n\tvar Component = function Component(_ref) {\n\t var i18n = _ref.i18n,\n\t model = _ref.model,\n\t t = _ref.t;\n\t\n\t var sso = (0, _classic.isSSOEnabled)(model);\n\t var onlySocial = (0, _classic.hasOnlyClassicConnections)(model, \"social\");\n\t\n\t var tabs = shouldRenderTabs(model) && _react2.default.createElement(_login_sign_up_tabs2.default, {\n\t key: 'loginsignup',\n\t lock: model,\n\t loginLabel: i18n.str(\"loginLabel\"),\n\t signUpLink: (0, _index.signUpLink)(model),\n\t signUpLabel: i18n.str(\"signUpLabel\")\n\t });\n\t\n\t var social = l.hasSomeConnections(model, \"social\") && _react2.default.createElement(_social_buttons_pane2.default, {\n\t bigButtons: (0, _classic.useBigSocialButtons)(model),\n\t instructions: i18n.html(\"socialLoginInstructions\"),\n\t labelFn: i18n.str,\n\t lock: model,\n\t showLoading: onlySocial,\n\t signUp: false\n\t });\n\t\n\t var showPassword = !sso && (l.hasSomeConnections(model, \"database\") || !!(0, _enterprise.findADConnectionWithoutDomain)(model));\n\t\n\t var showForgotPasswordLink = showPassword && l.hasSomeConnections(model, \"database\");\n\t\n\t var loginInstructionsKey = social ? \"databaseEnterpriseAlternativeLoginInstructions\" : \"databaseEnterpriseLoginInstructions\";\n\t\n\t var usernameInputPlaceholderKey = (0, _index.databaseUsernameStyle)(model) === \"any\" || l.countConnections(model, \"enterprise\") > 1 ? \"usernameOrEmailInputPlaceholder\" : \"usernameInputPlaceholder\";\n\t\n\t var usernameStyle = (0, _index.databaseUsernameStyle)(model);\n\t\n\t var login = (sso || l.hasSomeConnections(model, \"database\") || l.hasSomeConnections(model, \"enterprise\")) && _react2.default.createElement(_login_pane2.default, {\n\t emailInputPlaceholder: i18n.str(\"emailInputPlaceholder\"),\n\t forgotPasswordAction: i18n.str(\"forgotPasswordAction\"),\n\t i18n: i18n,\n\t instructions: i18n.html(loginInstructionsKey),\n\t lock: model,\n\t passwordInputPlaceholder: i18n.str(\"passwordInputPlaceholder\"),\n\t showForgotPasswordLink: showForgotPasswordLink,\n\t showPassword: showPassword,\n\t usernameInputPlaceholder: i18n.str(usernameInputPlaceholderKey),\n\t usernameStyle: usernameStyle\n\t });\n\t\n\t var ssoNotice = sso && _react2.default.createElement(\n\t _single_sign_on_notice2.default,\n\t null,\n\t i18n.str(\"ssoEnabled\")\n\t );\n\t\n\t var separator = social && login && _react2.default.createElement(_pane_separator2.default, null);\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t null,\n\t ssoNotice,\n\t tabs,\n\t social,\n\t separator,\n\t login\n\t );\n\t};\n\t\n\tvar Login = function (_Screen) {\n\t _inherits(Login, _Screen);\n\t\n\t function Login() {\n\t _classCallCheck(this, Login);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"main.login\"));\n\t }\n\t\n\t Login.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) {\n\t return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock);\n\t };\n\t\n\t Login.prototype.renderTabs = function renderTabs(model) {\n\t return shouldRenderTabs(model);\n\t };\n\t\n\t Login.prototype.submitButtonLabel = function submitButtonLabel(m) {\n\t return i18n.str(m, [\"loginSubmitLabel\"]);\n\t };\n\t\n\t Login.prototype.submitHandler = function submitHandler(model) {\n\t if ((0, _classic.hasOnlyClassicConnections)(model, \"social\")) {\n\t return null;\n\t }\n\t\n\t if ((0, _enterprise.isHRDDomain)(model, (0, _index.databaseUsernameValue)(model))) {\n\t return function (id) {\n\t return (0, _actions2.startHRD)(id, (0, _index.databaseUsernameValue)(model));\n\t };\n\t }\n\t\n\t var useDatabaseConnection = !(0, _classic.isSSOEnabled)(model) && (0, _index.databaseConnection)(model) && ((0, _index.defaultDatabaseConnection)(model) || !(0, _enterprise.defaultEnterpriseConnection)(model));\n\t\n\t return useDatabaseConnection ? _actions.logIn : _actions2.logIn;\n\t };\n\t\n\t Login.prototype.render = function render() {\n\t return Component;\n\t };\n\t\n\t return Login;\n\t}(_screen2.default);\n\t\n\texports.default = Login;\n\n/***/ },\n/* 301 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _mfa_pane = __webpack_require__(282);\n\t\n\tvar _mfa_pane2 = _interopRequireDefault(_mfa_pane);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tvar _actions = __webpack_require__(38);\n\t\n\tvar _index = __webpack_require__(11);\n\t\n\tvar _signed_in_confirmation = __webpack_require__(30);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Component = function Component(_ref) {\n\t var i18n = _ref.i18n,\n\t model = _ref.model;\n\t\n\t\n\t return _react2.default.createElement(_mfa_pane2.default, {\n\t mfaInputPlaceholder: i18n.str(\"mfaInputPlaceholder\"),\n\t i18n: i18n,\n\t instructions: i18n.str(\"mfaLoginInstructions\"),\n\t lock: model,\n\t title: i18n.str(\"mfaLoginTitle\")\n\t });\n\t};\n\t\n\tvar MFALoginScreen = function (_Screen) {\n\t _inherits(MFALoginScreen, _Screen);\n\t\n\t function MFALoginScreen() {\n\t _classCallCheck(this, MFALoginScreen);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"mfa.mfaCode\"));\n\t }\n\t\n\t MFALoginScreen.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) {\n\t return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock);\n\t };\n\t\n\t MFALoginScreen.prototype.submitButtonLabel = function submitButtonLabel(m) {\n\t return i18n.str(m, [\"mfaSubmitLabel\"]);\n\t };\n\t\n\t MFALoginScreen.prototype.submitHandler = function submitHandler(m) {\n\t return function (id) {\n\t return (0, _actions.logIn)(id, true);\n\t };\n\t };\n\t\n\t MFALoginScreen.prototype.render = function render() {\n\t return Component;\n\t };\n\t\n\t MFALoginScreen.prototype.backHandler = function backHandler(m) {\n\t return (0, _index.hasScreen)(m, \"login\") ? _actions.cancelMFALogin : undefined;\n\t };\n\t\n\t return MFALoginScreen;\n\t}(_screen2.default);\n\t\n\texports.default = MFALoginScreen;\n\n/***/ },\n/* 302 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _email_pane = __webpack_require__(83);\n\t\n\tvar _email_pane2 = _interopRequireDefault(_email_pane);\n\t\n\tvar _password_pane = __webpack_require__(84);\n\t\n\tvar _password_pane2 = _interopRequireDefault(_password_pane);\n\t\n\tvar _username_pane = __webpack_require__(86);\n\t\n\tvar _username_pane2 = _interopRequireDefault(_username_pane);\n\t\n\tvar _index = __webpack_require__(11);\n\t\n\tvar _custom_input = __webpack_require__(304);\n\t\n\tvar _custom_input2 = _interopRequireDefault(_custom_input);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar SignUpPane = function (_React$Component) {\n\t _inherits(SignUpPane, _React$Component);\n\t\n\t function SignUpPane() {\n\t _classCallCheck(this, SignUpPane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t SignUpPane.prototype.render = function render() {\n\t var _props = this.props,\n\t emailInputPlaceholder = _props.emailInputPlaceholder,\n\t instructions = _props.instructions,\n\t i18n = _props.i18n,\n\t model = _props.model,\n\t onlyEmail = _props.onlyEmail,\n\t passwordInputPlaceholder = _props.passwordInputPlaceholder,\n\t passwordStrengthMessages = _props.passwordStrengthMessages,\n\t usernameInputPlaceholder = _props.usernameInputPlaceholder;\n\t\n\t\n\t var headerText = instructions || null;\n\t var header = headerText && _react2.default.createElement(\n\t 'p',\n\t null,\n\t headerText\n\t );\n\t\n\t var usernamePane = !onlyEmail && (0, _index.databaseConnectionRequiresUsername)(model) ? _react2.default.createElement(_username_pane2.default, {\n\t i18n: i18n,\n\t lock: model,\n\t placeholder: usernameInputPlaceholder,\n\t validateFormat: true\n\t }) : null;\n\t\n\t var fields = !onlyEmail && (0, _index.additionalSignUpFields)(model).map(function (x) {\n\t return _react2.default.createElement(_custom_input2.default, {\n\t iconUrl: x.get(\"icon\"),\n\t key: x.get(\"name\"),\n\t model: model,\n\t name: x.get(\"name\"),\n\t options: x.get(\"options\"),\n\t placeholder: x.get(\"placeholder\"),\n\t type: x.get(\"type\"),\n\t validator: x.get(\"validator\")\n\t });\n\t });\n\t\n\t var passwordPane = !onlyEmail && _react2.default.createElement(_password_pane2.default, {\n\t i18n: i18n,\n\t lock: model,\n\t placeholder: passwordInputPlaceholder,\n\t policy: (0, _index.passwordStrengthPolicy)(model),\n\t strengthMessages: passwordStrengthMessages\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t null,\n\t header,\n\t _react2.default.createElement(_email_pane2.default, {\n\t i18n: i18n,\n\t lock: model,\n\t placeholder: emailInputPlaceholder\n\t }),\n\t usernamePane,\n\t passwordPane,\n\t fields\n\t );\n\t };\n\t\n\t return SignUpPane;\n\t}(_react2.default.Component);\n\t\n\texports.default = SignUpPane;\n\n/***/ },\n/* 303 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _screen = __webpack_require__(16);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _index = __webpack_require__(11);\n\t\n\tvar _sign_up_terms = __webpack_require__(286);\n\t\n\tvar _sign_up_terms2 = _interopRequireDefault(_sign_up_terms);\n\t\n\tvar _actions = __webpack_require__(38);\n\t\n\tvar _login_sign_up_tabs = __webpack_require__(133);\n\t\n\tvar _login_sign_up_tabs2 = _interopRequireDefault(_login_sign_up_tabs);\n\t\n\tvar _signed_in_confirmation = __webpack_require__(30);\n\t\n\tvar _signed_up_confirmation = __webpack_require__(287);\n\t\n\tvar _sign_up_pane = __webpack_require__(302);\n\t\n\tvar _sign_up_pane2 = _interopRequireDefault(_sign_up_pane);\n\t\n\tvar _social_buttons_pane = __webpack_require__(139);\n\t\n\tvar _social_buttons_pane2 = _interopRequireDefault(_social_buttons_pane);\n\t\n\tvar _index2 = __webpack_require__(8);\n\t\n\tvar _index3 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _pane_separator = __webpack_require__(136);\n\t\n\tvar _pane_separator2 = _interopRequireDefault(_pane_separator);\n\t\n\tvar _classic = __webpack_require__(82);\n\t\n\tvar _single_sign_on_notice = __webpack_require__(134);\n\t\n\tvar _single_sign_on_notice2 = _interopRequireDefault(_single_sign_on_notice);\n\t\n\tvar _actions2 = __webpack_require__(80);\n\t\n\tvar _i18n = __webpack_require__(13);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Component = function Component(_ref) {\n\t var i18n = _ref.i18n,\n\t model = _ref.model;\n\t\n\t var sso = (0, _classic.isSSOEnabled)(model) && (0, _index.hasScreen)(model, \"login\");\n\t var ssoNotice = sso && _react2.default.createElement(\n\t _single_sign_on_notice2.default,\n\t null,\n\t i18n.str(\"ssoEnabled\")\n\t );\n\t\n\t var tabs = !sso && (0, _index.hasScreen)(model, \"login\") && _react2.default.createElement(_login_sign_up_tabs2.default, {\n\t key: 'loginsignup',\n\t lock: model,\n\t loginLabel: i18n.str(\"loginLabel\"),\n\t signUpLabel: i18n.str(\"signUpLabel\")\n\t });\n\t\n\t var social = l.hasSomeConnections(model, \"social\") && _react2.default.createElement(_social_buttons_pane2.default, {\n\t bigButtons: (0, _classic.useBigSocialButtons)(model),\n\t instructions: i18n.html(\"socialSignUpInstructions\"),\n\t labelFn: i18n.str,\n\t lock: model,\n\t signUp: true\n\t });\n\t\n\t var signUpInstructionsKey = social ? \"databaseAlternativeSignUpInstructions\" : \"databaseSignUpInstructions\";\n\t\n\t var db = (l.hasSomeConnections(model, \"database\") || l.hasSomeConnections(model, \"enterprise\")) && _react2.default.createElement(_sign_up_pane2.default, {\n\t emailInputPlaceholder: i18n.str(\"emailInputPlaceholder\"),\n\t i18n: i18n,\n\t instructions: i18n.html(signUpInstructionsKey),\n\t model: model,\n\t onlyEmail: sso,\n\t passwordInputPlaceholder: i18n.str(\"passwordInputPlaceholder\"),\n\t passwordStrengthMessages: i18n.group(\"passwordStrength\"),\n\t usernameInputPlaceholder: i18n.str(\"usernameInputPlaceholder\")\n\t });\n\t\n\t var separator = social && db && _react2.default.createElement(_pane_separator2.default, null);\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t null,\n\t ssoNotice,\n\t tabs,\n\t social,\n\t separator,\n\t db\n\t );\n\t};\n\t\n\tvar SignUp = function (_Screen) {\n\t _inherits(SignUp, _Screen);\n\t\n\t function SignUp() {\n\t _classCallCheck(this, SignUp);\n\t\n\t return _possibleConstructorReturn(this, _Screen.call(this, \"main.signUp\"));\n\t }\n\t\n\t SignUp.prototype.submitButtonLabel = function submitButtonLabel(m) {\n\t return i18n.str(m, [\"signUpSubmitLabel\"]);\n\t };\n\t\n\t SignUp.prototype.submitHandler = function submitHandler(m) {\n\t if ((0, _classic.hasOnlyClassicConnections)(m, \"social\")) return null;\n\t if ((0, _classic.isSSOEnabled)(m)) return _actions2.logIn;\n\t return _actions.signUp;\n\t };\n\t\n\t SignUp.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) {\n\t return (0, _signed_in_confirmation.renderSignedInConfirmation)(lock) || (0, _signed_up_confirmation.renderSignedUpConfirmation)(lock) || (0, _index2.renderOptionSelection)(lock);\n\t };\n\t\n\t SignUp.prototype.renderTabs = function renderTabs() {\n\t return true;\n\t };\n\t\n\t SignUp.prototype.renderTerms = function renderTerms(m, terms) {\n\t var checkHandler = (0, _index.mustAcceptTerms)(m) ? function () {\n\t return (0, _actions.toggleTermsAcceptance)(l.id(m));\n\t } : undefined;\n\t return terms || (0, _index.mustAcceptTerms)(m) ? _react2.default.createElement(\n\t _sign_up_terms2.default,\n\t { checkHandler: checkHandler, checked: (0, _index.termsAccepted)(m) },\n\t terms\n\t ) : null;\n\t };\n\t\n\t SignUp.prototype.render = function render() {\n\t return Component;\n\t };\n\t\n\t return SignUp;\n\t}(_screen2.default);\n\t\n\texports.default = SignUp;\n\n/***/ },\n/* 304 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _actions = __webpack_require__(138);\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar _text_input = __webpack_require__(144);\n\t\n\tvar _text_input2 = _interopRequireDefault(_text_input);\n\t\n\tvar _select_input = __webpack_require__(319);\n\t\n\tvar _select_input2 = _interopRequireDefault(_select_input);\n\t\n\tvar _index2 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar CustomInput = function CustomInput(_ref) {\n\t var iconUrl = _ref.iconUrl,\n\t model = _ref.model,\n\t name = _ref.name,\n\t options = _ref.options,\n\t placeholder = _ref.placeholder,\n\t type = _ref.type,\n\t validator = _ref.validator;\n\t\n\t var props = {\n\t iconUrl: iconUrl,\n\t isValid: !(0, _index.isFieldVisiblyInvalid)(model, name),\n\t name: name,\n\t placeholder: placeholder\n\t };\n\t\n\t switch (type) {\n\t case \"select\":\n\t return _react2.default.createElement(_select_input2.default, _extends({}, props, {\n\t label: (0, _index.getFieldLabel)(model, name),\n\t onClick: function onClick() {\n\t return (0, _actions.startOptionSelection)(l.id(model), name, iconUrl);\n\t }\n\t }));\n\t default:\n\t return _react2.default.createElement(_text_input2.default, _extends({\n\t invalidHint: (0, _index.getFieldInvalidHint)(model, name),\n\t onChange: function onChange(e) {\n\t return (0, _actions.changeField)(l.id(model), name, e.target.value, validator);\n\t },\n\t value: (0, _index.getFieldValue)(model, name)\n\t }, props));\n\t }\n\t};\n\t\n\texports.default = CustomInput;\n\n/***/ },\n/* 305 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _mfa_code_input = __webpack_require__(317);\n\t\n\tvar _mfa_code_input2 = _interopRequireDefault(_mfa_code_input);\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar c = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(12);\n\t\n\tvar _index3 = __webpack_require__(2);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _mfa_code = __webpack_require__(306);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar MFACodePane = function (_React$Component) {\n\t _inherits(MFACodePane, _React$Component);\n\t\n\t function MFACodePane() {\n\t _classCallCheck(this, MFACodePane);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t MFACodePane.prototype.handleChange = function handleChange(e) {\n\t var lock = this.props.lock;\n\t\n\t (0, _index2.swap)(_index2.updateEntity, \"lock\", l.id(lock), _mfa_code.setMFACode, e.target.value);\n\t };\n\t\n\t MFACodePane.prototype.render = function render() {\n\t var _props = this.props,\n\t i18n = _props.i18n,\n\t lock = _props.lock,\n\t placeholder = _props.placeholder;\n\t\n\t\n\t return _react2.default.createElement(_mfa_code_input2.default, {\n\t value: c.getFieldValue(lock, \"mfa_code\"),\n\t invalidHint: i18n.str(\"mfaCodeErrorHint\", (0, _mfa_code.getMFACodeValidation)().length),\n\t isValid: !c.isFieldVisiblyInvalid(lock, \"mfa_code\"),\n\t onChange: this.handleChange.bind(this),\n\t placeholder: placeholder,\n\t disabled: l.submitting(lock)\n\t });\n\t };\n\t\n\t return MFACodePane;\n\t}(_react2.default.Component);\n\t\n\texports.default = MFACodePane;\n\t\n\t\n\tMFACodePane.propTypes = {\n\t i18n: _react2.default.PropTypes.object.isRequired,\n\t lock: _react2.default.PropTypes.object.isRequired,\n\t onChange: _react2.default.PropTypes.func,\n\t placeholder: _react2.default.PropTypes.string.isRequired\n\t};\n\n/***/ },\n/* 306 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.setMFACode = setMFACode;\n\texports.getMFACodeValidation = getMFACodeValidation;\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar _email = __webpack_require__(26);\n\t\n\tvar _database = __webpack_require__(11);\n\t\n\tvar _trim = __webpack_require__(25);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar DEFAULT_VALIDATION = { mfa_code: { length: 6 } };\n\tvar regExp = /^[0-9]+$/;\n\t\n\tfunction validateMFACode(str) {\n\t var settings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_VALIDATION.mfa_code;\n\t\n\t var value = (0, _trim2.default)(str);\n\t\n\t // check min value matched\n\t if (value.length < settings.length) {\n\t return false;\n\t }\n\t\n\t // check max value matched\n\t if (value.length > settings.length) {\n\t return false;\n\t }\n\t\n\t // check allowed characters matched\n\t var result = regExp.exec(value);\n\t return result && result[0];\n\t}\n\t\n\tfunction setMFACode(m, str) {\n\t return (0, _index.setField)(m, \"mfa_code\", str, validateMFACode);\n\t}\n\t\n\tfunction getMFACodeValidation(m) {\n\t return DEFAULT_VALIDATION.mfa_code;\n\t}\n\n/***/ },\n/* 307 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _list = __webpack_require__(321);\n\t\n\tvar _list2 = _interopRequireDefault(_list);\n\t\n\tvar _actions = __webpack_require__(138);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t// TODO: these actions should be passed as props\n\t\n\texports.default = function (_ref) {\n\t var icon = _ref.icon,\n\t iconUrl = _ref.iconUrl,\n\t model = _ref.model,\n\t name = _ref.name,\n\t items = _ref.items;\n\t return _react2.default.createElement(_list2.default, {\n\t icon: icon,\n\t iconUrl: iconUrl,\n\t items: items,\n\t onSelect: function onSelect(x) {\n\t return (0, _actions.selectOption)(model.get(\"id\"), name, x);\n\t },\n\t onCancel: function onCancel() {\n\t return (0, _actions.cancelOptionSelection)(model.get(\"id\"));\n\t }\n\t });\n\t};\n\n/***/ },\n/* 308 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.validatePassword = validatePassword;\n\texports.setPassword = setPassword;\n\t\n\tvar _passwordSheriff = __webpack_require__(96);\n\t\n\tvar _passwordSheriff2 = _interopRequireDefault(_passwordSheriff);\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction validatePassword(password, policy) {\n\t return (0, _passwordSheriff2.default)(policy).check(password);\n\t}\n\t\n\tfunction setPassword(m, password, policy) {\n\t return (0, _index.setField)(m, \"password\", password, validatePassword, policy);\n\t}\n\n/***/ },\n/* 309 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.default = {\n\t error: {\n\t forgotPassword: {\n\t \"too_many_requests\": \"You have reached the limit on password change attempts. Please wait before trying again.\",\n\t \"lock.fallback\": \"We're sorry, something went wrong when requesting the password change.\"\n\t },\n\t login: {\n\t \"blocked_user\": \"The user is blocked.\",\n\t \"invalid_user_password\": \"Wrong credentials.\",\n\t \"lock.fallback\": \"We're sorry, something went wrong when attempting to log in.\",\n\t \"lock.invalid_code\": \"Wrong code.\",\n\t \"lock.invalid_email_password\": \"Wrong email or password.\",\n\t \"lock.invalid_username_password\": \"Wrong username or password.\",\n\t \"lock.network\": \"We could not reach the server. Please check your connection and try again.\",\n\t \"lock.popup_closed\": \"Popup window closed. Try again.\",\n\t \"lock.unauthorized\": \"Permissions were not granted. Try again.\",\n\t \"lock.mfa_registration_required\": \"Multifactor authentication is required but your device is not enrolled. Please enroll it before moving on.\",\n\t \"lock.mfa_invalid_code\": \"Wrong code. Please try again.\",\n\t \"password_change_required\": \"You need to update your password because this is the first time you are logging in, or because your password has expired.\", // TODO: verify error code\n\t \"password_leaked\": \"This login has been blocked because your password has been leaked in another website. We’ve sent you an email with instructions on how to unblock it.\",\n\t \"too_many_attempts\": \"Your account has been blocked after multiple consecutive login attempts.\",\n\t \"session_missing\": \"Couldn't complete your authentication request. Please try again after closing all open dialogs\"\n\t },\n\t passwordless: {\n\t \"bad.email\": \"The email is invalid\",\n\t \"bad.phone_number\": \"The phone number is invalid\",\n\t \"lock.fallback\": \"We're sorry, something went wrong\"\n\t },\n\t signUp: {\n\t \"invalid_password\": \"Password is invalid.\",\n\t \"lock.fallback\": \"We're sorry, something went wrong when attempting to sign up.\",\n\t \"password_dictionary_error\": \"Password is too common.\",\n\t \"password_no_user_info_error\": \"Password is based on user information.\",\n\t \"password_strength_error\": \"Password is too weak.\",\n\t \"user_exists\": \"The user already exists.\",\n\t \"username_exists\": \"The username already exists.\"\n\t }\n\t },\n\t success: { // success messages show above the form or in a confirmation pane\n\t logIn: \"Thanks for logging in.\",\n\t forgotPassword: \"We've just sent you an email to reset your password.\",\n\t magicLink: \"We sent you a link to log in<br />to %s.\",\n\t signUp: \"Thanks for signing up.\"\n\t },\n\t blankErrorHint: \"Can't be blank\",\n\t codeInputPlaceholder: \"your code\",\n\t databaseEnterpriseLoginInstructions: \"\",\n\t databaseEnterpriseAlternativeLoginInstructions: \"or\",\n\t databaseSignUpInstructions: \"\",\n\t databaseAlternativeSignUpInstructions: \"or\",\n\t emailInputPlaceholder: \"yours@example.com\",\n\t enterpriseLoginIntructions: \"Login with your corporate credentials.\",\n\t enterpriseActiveLoginInstructions: \"Please enter your corporate credentials at %s.\",\n\t failedLabel: \"Failed!\",\n\t forgotPasswordAction: \"Don't remember your password?\",\n\t forgotPasswordInstructions: \"Please enter your email address. We will send you an email to reset your password.\",\n\t forgotPasswordSubmitLabel: \"Send email\",\n\t invalidErrorHint: \"Invalid\",\n\t lastLoginInstructions: \"Last time you logged in with\",\n\t loginAtLabel: \"Log in at %s\",\n\t loginLabel: \"Log In\",\n\t loginSubmitLabel: \"Log In\",\n\t loginWithLabel: \"Log in with %s\",\n\t notYourAccountAction: \"Not your account?\",\n\t passwordInputPlaceholder: \"your password\",\n\t passwordStrength: {\n\t containsAtLeast: \"Contain at least %d of the following %d types of characters:\",\n\t identicalChars: \"No more than %d identical characters in a row (e.g., \\\"%s\\\" not allowed)\",\n\t nonEmpty: \"Non-empty password required\",\n\t numbers: \"Numbers (i.e. 0-9)\",\n\t lengthAtLeast: \"At least %d characters in length\",\n\t lowerCase: \"Lower case letters (a-z)\",\n\t shouldContain: \"Should contain:\",\n\t specialCharacters: \"Special characters (e.g. !@#$%^&*)\",\n\t upperCase: \"Upper case letters (A-Z)\"\n\t },\n\t passwordlessEmailAlternativeInstructions: \"Otherwise, enter your email to sign in<br/>or create an account\",\n\t passwordlessEmailCodeInstructions: \"An email with the code has been sent to %s.\",\n\t passwordlessEmailInstructions: \"Enter your email to sign in<br/>or create an account\",\n\t passwordlessSMSAlternativeInstructions: \"Otherwise, enter your phone to sign in<br/>or create an account\",\n\t passwordlessSMSCodeInstructions: \"An SMS with the code has been sent<br/>to %s.\",\n\t passwordlessSMSInstructions: \"Enter your phone to sign in<br/>or create an account\",\n\t phoneNumberInputPlaceholder: \"your phone number\",\n\t resendCodeAction: \"Did not get the code?\",\n\t resendLabel: \"Resend\",\n\t resendingLabel: \"Resending...\",\n\t retryLabel: \"Retry\",\n\t sentLabel: \"Sent!\",\n\t signUpLabel: \"Sign Up\",\n\t signUpSubmitLabel: \"Sign Up\",\n\t signUpTerms: \"\",\n\t signUpWithLabel: \"Sign up with %s\",\n\t socialLoginInstructions: \"\",\n\t socialSignUpInstructions: \"\",\n\t ssoEnabled: \"Single Sign-On enabled\",\n\t submitLabel: \"Submit\",\n\t unrecoverableError: \"Something went wrong.<br />Please contact technical support.\",\n\t usernameFormatErrorHint: \"Use %d-%d letters, numbers and \\\"_\\\"\",\n\t usernameInputPlaceholder: \"your username\",\n\t usernameOrEmailInputPlaceholder: \"username/email\",\n\t title: \"Auth0\",\n\t welcome: \"Welcome %s!\",\n\t windowsAuthInstructions: \"You are connected from your corporate network…\",\n\t windowsAuthLabel: \"Windows Authentication\",\n\t mfaInputPlaceholder: \"Code\",\n\t mfaLoginTitle: \"2-Step Verification\",\n\t mfaLoginInstructions: \"Please enter the verification code generated by your mobile application.\",\n\t mfaSubmitLabel: \"Log In\",\n\t mfaCodeErrorHint: \"Use %d numbers\"\n\t};\n\n/***/ },\n/* 310 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\texports.__esModule = true;\n\texports.remove = exports.render = undefined;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(41);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _CSSCore = __webpack_require__(95);\n\t\n\tvar _CSSCore2 = _interopRequireDefault(_CSSCore);\n\t\n\tvar _container = __webpack_require__(142);\n\t\n\tvar _container2 = _interopRequireDefault(_container);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar ContainerManager = function () {\n\t function ContainerManager() {\n\t _classCallCheck(this, ContainerManager);\n\t }\n\t\n\t ContainerManager.prototype.ensure = function ensure(id, shouldAppend) {\n\t var container = global.document.getElementById(id);\n\t\n\t if (!container && shouldAppend) {\n\t container = global.document.createElement('div');\n\t container.id = id;\n\t container.className = \"auth0-lock-container\";\n\t global.document.body.appendChild(container);\n\t }\n\t\n\t if (!container) {\n\t throw new Error('Can\\'t find element with id ' + id);\n\t }\n\t\n\t return container;\n\t };\n\t\n\t return ContainerManager;\n\t}();\n\t\n\tvar Renderer = function () {\n\t function Renderer() {\n\t _classCallCheck(this, Renderer);\n\t\n\t this.containerManager = new ContainerManager();\n\t this.modals = {};\n\t }\n\t\n\t Renderer.prototype.render = function render(containerId, props) {\n\t var isModal = props.isModal;\n\t\n\t var container = this.containerManager.ensure(containerId, isModal);\n\t\n\t if (isModal && !this.modals[containerId]) {\n\t _CSSCore2.default.addClass(global.document.getElementsByTagName(\"html\")[0], \"auth0-lock-html\");\n\t }\n\t\n\t var component = _reactDom2.default.render(_react2.default.createElement(_container2.default, props), container);\n\t\n\t if (isModal) {\n\t this.modals[containerId] = component;\n\t }\n\t\n\t return component;\n\t };\n\t\n\t Renderer.prototype.remove = function remove(containerId) {\n\t var _this = this;\n\t\n\t if (this.modals[containerId]) {\n\t this.modals[containerId].hide();\n\t setTimeout(function () {\n\t return _this.unmount(containerId);\n\t }, 1000);\n\t } else {\n\t this.unmount(containerId);\n\t }\n\t };\n\t\n\t Renderer.prototype.unmount = function unmount(containerId) {\n\t try {\n\t var container = this.containerManager.ensure(containerId);\n\t if (container) {\n\t _reactDom2.default.unmountComponentAtNode(container);\n\t }\n\t } catch (e) {\n\t // do nothing if container doesn't exist\n\t }\n\t\n\t if (this.modals[containerId]) {\n\t delete this.modals[containerId];\n\t\n\t _CSSCore2.default.removeClass(global.document.getElementsByTagName(\"html\")[0], \"auth0-lock-html\");\n\t }\n\t };\n\t\n\t return Renderer;\n\t}();\n\t\n\tvar renderer = new Renderer();\n\t\n\tvar render = exports.render = function render() {\n\t return renderer.render.apply(renderer, arguments);\n\t};\n\tvar remove = exports.remove = function remove() {\n\t return renderer.remove.apply(renderer, arguments);\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 311 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(41);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _reactAddonsCssTransitionGroup = __webpack_require__(186);\n\t\n\tvar _reactAddonsCssTransitionGroup2 = _interopRequireDefault(_reactAddonsCssTransitionGroup);\n\t\n\tvar _multisize_slide = __webpack_require__(315);\n\t\n\tvar _multisize_slide2 = _interopRequireDefault(_multisize_slide);\n\t\n\tvar _global_message = __webpack_require__(313);\n\t\n\tvar _global_message2 = _interopRequireDefault(_global_message);\n\t\n\tvar _header = __webpack_require__(314);\n\t\n\tvar _header2 = _interopRequireDefault(_header);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar submitSvg = '<svg width=\"43px\" height=\"42px\" viewBox=\"0 0 43 42\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:sketch=\"http://www.bohemiancoding.com/sketch/ns\"><g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" sketch:type=\"MSPage\"><g id=\"Lock\" sketch:type=\"MSArtboardGroup\" transform=\"translate(-280.000000, -3592.000000)\"><g id=\"SMS\" sketch:type=\"MSLayerGroup\" transform=\"translate(153.000000, 3207.000000)\"><g id=\"Group\" sketch:type=\"MSShapeGroup\"><g id=\"Login\" transform=\"translate(0.000000, 369.000000)\"><g id=\"Btn\"><g id=\"Oval-302-+-Shape\" transform=\"translate(128.000000, 17.000000)\"><circle id=\"Oval-302\" stroke=\"#FFFFFF\" stroke-width=\"2\" cx=\"20.5\" cy=\"20\" r=\"20\"></circle><path d=\"M17.8,15.4 L19.2,14 L25.2,20 L19.2,26 L17.8,24.6 L22.4,20 L17.8,15.4 Z\" id=\"Shape\" fill=\"#FFFFFF\"></path></g></g></g></g></g></g></g></svg>';\n\tvar submitText = '<svg class=\"icon-text\" width=\"8px\" height=\"12px\" viewBox=\"0 0 8 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"Web/Submit/Active\" transform=\"translate(-148.000000, -32.000000)\" fill=\"#FFFFFF\"><polygon id=\"Shape\" points=\"148 33.4 149.4 32 155.4 38 149.4 44 148 42.6 152.6 38\"></polygon></g></g></svg>';\n\t\n\tvar SubmitButton = function (_React$Component) {\n\t _inherits(SubmitButton, _React$Component);\n\t\n\t function SubmitButton() {\n\t _classCallCheck(this, SubmitButton);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t SubmitButton.prototype.focus = function focus() {\n\t _reactDom2.default.findDOMNode(this).focus();\n\t };\n\t\n\t SubmitButton.prototype.render = function render() {\n\t var _props = this.props,\n\t color = _props.color,\n\t disabled = _props.disabled,\n\t label = _props.label;\n\t\n\t var content = label ? _react2.default.createElement(\n\t 'span',\n\t { className: 'auth0-label-submit' },\n\t label,\n\t _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: submitText } })\n\t ) : _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: submitSvg } });\n\t\n\t return _react2.default.createElement(\n\t 'button',\n\t {\n\t className: 'auth0-lock-submit',\n\t disabled: disabled,\n\t style: { backgroundColor: color },\n\t type: 'submit'\n\t },\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-loading-container' },\n\t _react2.default.createElement('div', { className: 'auth0-loading' })\n\t ),\n\t content\n\t );\n\t };\n\t\n\t return SubmitButton;\n\t}(_react2.default.Component);\n\t\n\tSubmitButton.propTypes = {\n\t color: _react2.default.PropTypes.string.isRequired,\n\t disabled: _react2.default.PropTypes.bool,\n\t label: _react2.default.PropTypes.string\n\t};\n\t\n\tvar MESSAGE_ANIMATION_DURATION = 250;\n\tvar AUXILIARY_ANIMATION_DURATION = 350;\n\t\n\tvar Chrome = function (_React$Component2) {\n\t _inherits(Chrome, _React$Component2);\n\t\n\t function Chrome(props) {\n\t _classCallCheck(this, Chrome);\n\t\n\t var _this2 = _possibleConstructorReturn(this, _React$Component2.call(this, props));\n\t\n\t _this2.state = { moving: false, reverse: false };\n\t return _this2;\n\t }\n\t\n\t Chrome.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n\t var _this3 = this;\n\t\n\t var _props2 = this.props,\n\t auxiliaryPane = _props2.auxiliaryPane,\n\t showSubmitButton = _props2.showSubmitButton;\n\t var delayingShowSubmitButton = this.state.delayingShowSubmitButton;\n\t\n\t\n\t if (!showSubmitButton && nextProps.showSubmitButton && !delayingShowSubmitButton) {\n\t this.setState({ delayingShowSubmitButton: true });\n\t }\n\t\n\t if (!auxiliaryPane && nextProps.auxiliaryPane) {\n\t this.auxiliaryPaneTriggerInput = global.document.activeElement;\n\t this.setState({ moving: true });\n\t }\n\t\n\t if (auxiliaryPane && !nextProps.auxiliaryPane) {\n\t // TODO clear timeout\n\t setTimeout(function () {\n\t return _this3.setState({ moving: false });\n\t }, AUXILIARY_ANIMATION_DURATION + 50);\n\t }\n\t };\n\t\n\t Chrome.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {\n\t var _this4 = this;\n\t\n\t var _props3 = this.props,\n\t autofocus = _props3.autofocus,\n\t auxiliaryPane = _props3.auxiliaryPane,\n\t error = _props3.error,\n\t screenName = _props3.screenName;\n\t\n\t\n\t if (!autofocus) return;\n\t\n\t if (auxiliaryPane && !prevProps.auxiliaryPane) {\n\t var _ret = function () {\n\t var input = _this4.findAutofocusInput(_this4.refs.auxiliary);\n\t\n\t if (input) {\n\t // TODO clear timeout\n\t setTimeout(function () {\n\t return input.focus();\n\t }, AUXILIARY_ANIMATION_DURATION);\n\t }\n\t\n\t return {\n\t v: void 0\n\t };\n\t }();\n\t\n\t if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === \"object\") return _ret.v;\n\t }\n\t\n\t if (!auxiliaryPane && prevProps.auxiliaryPane) {\n\t if (this.auxiliaryPaneTriggerInput) {\n\t // TODO clear timeout\n\t setTimeout(function () {\n\t return _this4.auxiliaryPaneTriggerInput.focus();\n\t }, AUXILIARY_ANIMATION_DURATION);\n\t }\n\t\n\t return;\n\t }\n\t\n\t if (screenName !== prevProps.screenName) {\n\t var _ret2 = function () {\n\t var input = _this4.findAutofocusInput();\n\t\n\t if (input) {\n\t if (_this4.mainScreenName(prevProps.screenName) !== _this4.mainScreenName()) {\n\t _this4.inputToFocus = input;\n\t } else {\n\t // TODO clear timeout\n\t setTimeout(function () {\n\t return input.focus();\n\t }, 17);\n\t }\n\t }\n\t\n\t return {\n\t v: void 0\n\t };\n\t }();\n\t\n\t if ((typeof _ret2 === 'undefined' ? 'undefined' : _typeof(_ret2)) === \"object\") return _ret2.v;\n\t }\n\t\n\t if (!prevProps.error && error) {\n\t var _ret3 = function () {\n\t var input = _this4.findAutofocusInput();\n\t\n\t if (input) {\n\t // TODO clear timeout\n\t setTimeout(function () {\n\t return input.focus();\n\t }, 17);\n\t }\n\t\n\t return {\n\t v: void 0\n\t };\n\t }();\n\t\n\t if ((typeof _ret3 === 'undefined' ? 'undefined' : _typeof(_ret3)) === \"object\") return _ret3.v;\n\t }\n\t };\n\t\n\t Chrome.prototype.onWillSlide = function onWillSlide() {\n\t this.setState({ moving: true });\n\t this.sliding = true;\n\t };\n\t\n\t Chrome.prototype.onDidSlide = function onDidSlide() {\n\t this.sliding = false;\n\t this.setState({ reverse: false });\n\t };\n\t\n\t Chrome.prototype.onDidAppear = function onDidAppear() {\n\t this.setState({ moving: false });\n\t if (this.state.delayingShowSubmitButton) {\n\t this.setState({ delayingShowSubmitButton: false });\n\t }\n\t\n\t if (this.inputToFocus) {\n\t this.inputToFocus.focus();\n\t delete this.inputToFocus;\n\t }\n\t };\n\t\n\t Chrome.prototype.mainScreenName = function mainScreenName(str) {\n\t return (str || this.props.screenName || \"\").split(\".\")[0];\n\t };\n\t\n\t Chrome.prototype.findAutofocusInput = function findAutofocusInput(ref) {\n\t return _reactDom2.default.findDOMNode(ref || this.refs.screen).querySelector(\"input\");\n\t };\n\t\n\t Chrome.prototype.focusError = function focusError() {\n\t var node = _reactDom2.default.findDOMNode(this.refs.screen);\n\t // TODO: make the error input selector configurable via props.\n\t var error = node.querySelector(\".auth0-lock-error input\");\n\t\n\t if (error) {\n\t error.focus();\n\t }\n\t };\n\t\n\t Chrome.prototype.render = function render() {\n\t var _props4 = this.props,\n\t avatar = _props4.avatar,\n\t auxiliaryPane = _props4.auxiliaryPane,\n\t backHandler = _props4.backHandler,\n\t contentComponent = _props4.contentComponent,\n\t contentProps = _props4.contentProps,\n\t disableSubmitButton = _props4.disableSubmitButton,\n\t error = _props4.error,\n\t isSubmitting = _props4.isSubmitting,\n\t logo = _props4.logo,\n\t primaryColor = _props4.primaryColor,\n\t screenName = _props4.screenName,\n\t showSubmitButton = _props4.showSubmitButton,\n\t submitButtonLabel = _props4.submitButtonLabel,\n\t success = _props4.success,\n\t terms = _props4.terms,\n\t title = _props4.title,\n\t transitionName = _props4.transitionName;\n\t var _state = this.state,\n\t delayingShowSubmitButton = _state.delayingShowSubmitButton,\n\t moving = _state.moving,\n\t reverse = _state.reverse;\n\t\n\t\n\t var backgroundUrl = void 0,\n\t name = void 0;\n\t if (avatar) {\n\t backgroundUrl = avatar;\n\t name = title;\n\t } else {\n\t backgroundUrl = logo;\n\t name = \"\";\n\t }\n\t\n\t var submitButton = showSubmitButton && !delayingShowSubmitButton && _react2.default.createElement(SubmitButton, {\n\t color: primaryColor,\n\t disabled: disableSubmitButton,\n\t key: 'submit',\n\t label: submitButtonLabel,\n\t ref: 'submit'\n\t });\n\t\n\t var globalError = error ? _react2.default.createElement(_global_message2.default, { key: 'global-error', message: error, type: 'error' }) : null;\n\t var globalSuccess = success ? _react2.default.createElement(_global_message2.default, { key: 'global-success', message: success, type: 'success' }) : null;\n\t\n\t var Content = contentComponent;\n\t\n\t var className = \"auth0-lock-cred-pane\";\n\t var isQuiet = !moving && !delayingShowSubmitButton;\n\t className += isQuiet ? \" auth0-lock-quiet\" : \" auth0-lock-moving\";\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: className },\n\t _react2.default.createElement(_header2.default, { title: title, name: name, backHandler: backHandler && this.handleBack.bind(this), backgroundUrl: backgroundUrl, backgroundColor: primaryColor, logoUrl: logo }),\n\t _react2.default.createElement(\n\t _reactAddonsCssTransitionGroup2.default,\n\t {\n\t transitionName: 'global-message',\n\t transitionEnterTimeout: MESSAGE_ANIMATION_DURATION,\n\t transitionLeaveTimeout: MESSAGE_ANIMATION_DURATION\n\t },\n\t globalSuccess,\n\t globalError\n\t ),\n\t _react2.default.createElement(\n\t 'div',\n\t { style: { position: \"relative\" } },\n\t _react2.default.createElement(\n\t _multisize_slide2.default,\n\t {\n\t delay: 550,\n\t onDidAppear: this.onDidAppear.bind(this),\n\t onDidSlide: this.onDidSlide.bind(this),\n\t onWillSlide: this.onWillSlide.bind(this),\n\t transitionName: transitionName,\n\t reverse: reverse\n\t },\n\t _react2.default.createElement(\n\t 'div',\n\t { key: this.mainScreenName(), className: 'auth0-lock-view-content' },\n\t _react2.default.createElement(\n\t 'div',\n\t { style: { position: \"relative\" } },\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-body-content' },\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-content' },\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-form', ref: 'screen' },\n\t _react2.default.createElement(Content, _extends({ focusSubmit: this.focusSubmit.bind(this) }, contentProps))\n\t )\n\t ),\n\t terms && _react2.default.createElement(\n\t 'small',\n\t { className: 'auth0-lock-terms' },\n\t terms\n\t )\n\t )\n\t )\n\t )\n\t )\n\t ),\n\t submitButton,\n\t _react2.default.createElement(\n\t _reactAddonsCssTransitionGroup2.default,\n\t {\n\t ref: 'auxiliary',\n\t transitionName: 'slide',\n\t transitionEnterTimeout: AUXILIARY_ANIMATION_DURATION,\n\t transitionLeaveTimeout: AUXILIARY_ANIMATION_DURATION\n\t },\n\t auxiliaryPane\n\t )\n\t );\n\t };\n\t\n\t Chrome.prototype.focusSubmit = function focusSubmit() {\n\t this.refs.submit.focus();\n\t };\n\t\n\t Chrome.prototype.handleBack = function handleBack() {\n\t if (this.sliding) return;\n\t\n\t var backHandler = this.props.backHandler;\n\t\n\t this.setState({ reverse: true });\n\t backHandler();\n\t };\n\t\n\t return Chrome;\n\t}(_react2.default.Component);\n\t\n\texports.default = Chrome;\n\t\n\t\n\tChrome.propTypes = {\n\t autofocus: _react2.default.PropTypes.bool.isRequired,\n\t avatar: _react2.default.PropTypes.string,\n\t auxiliaryPane: _react2.default.PropTypes.element,\n\t backHandler: _react2.default.PropTypes.func,\n\t contentComponent: _react2.default.PropTypes.func.isRequired, // TODO: it also can be a class component\n\t contentProps: _react2.default.PropTypes.object.isRequired,\n\t disableSubmitButton: _react2.default.PropTypes.bool.isRequired,\n\t error: _react2.default.PropTypes.string,\n\t isSubmitting: _react2.default.PropTypes.bool.isRequired,\n\t logo: _react2.default.PropTypes.string.isRequired,\n\t primaryColor: _react2.default.PropTypes.string.isRequired,\n\t showSubmitButton: _react2.default.PropTypes.bool.isRequired,\n\t submitButtonLabel: _react2.default.PropTypes.string,\n\t success: _react2.default.PropTypes.string,\n\t terms: _react2.default.PropTypes.element,\n\t title: _react2.default.PropTypes.string.isRequired,\n\t transitionName: _react2.default.PropTypes.string.isRequired\n\t};\n\t\n\tChrome.defaultProps = {\n\t autofocus: false,\n\t disableSubmitButton: false,\n\t showSubmitButton: true\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 312 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _button = __webpack_require__(55);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ConfirmationPane = function ConfirmationPane(_ref) {\n\t var backHandler = _ref.backHandler,\n\t children = _ref.children,\n\t closeHandler = _ref.closeHandler,\n\t svg = _ref.svg;\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-confirmation' },\n\t closeHandler && _react2.default.createElement(_button.CloseButton, { onClick: closeHandler }),\n\t backHandler && _react2.default.createElement(_button.BackButton, { onClick: backHandler }),\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-confirmation-content' },\n\t _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: svg } }),\n\t children\n\t )\n\t );\n\t};\n\t\n\tConfirmationPane.propTypes = {\n\t backHandler: _react2.default.PropTypes.func,\n\t closeHandler: _react2.default.PropTypes.func,\n\t children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.element.isRequired, _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.element).isRequired]),\n\t svg: _react2.default.PropTypes.string.isRequired\n\t};\n\t\n\texports.default = ConfirmationPane;\n\n/***/ },\n/* 313 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(41);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar GlobalMessage = function (_React$Component) {\n\t _inherits(GlobalMessage, _React$Component);\n\t\n\t function GlobalMessage() {\n\t _classCallCheck(this, GlobalMessage);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t GlobalMessage.prototype.render = function render() {\n\t var _props = this.props,\n\t message = _props.message,\n\t type = _props.type;\n\t\n\t var className = 'auth0-global-message auth0-global-message-' + type;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: className },\n\t _react2.default.createElement(\n\t 'span',\n\t { className: 'animated fadeInUp' },\n\t message\n\t )\n\t );\n\t };\n\t\n\t return GlobalMessage;\n\t}(_react2.default.Component);\n\t\n\texports.default = GlobalMessage;\n\t\n\t\n\tGlobalMessage.propTypes = {\n\t message: _react2.default.PropTypes.string.isRequired,\n\t type: _react2.default.PropTypes.oneOf(['error', 'success']).isRequired\n\t};\n\n/***/ },\n/* 314 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _button = __webpack_require__(55);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t// TODO: simplify this mess :)\n\t\n\tvar Header = function (_React$Component) {\n\t _inherits(Header, _React$Component);\n\t\n\t function Header() {\n\t _classCallCheck(this, Header);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t Header.prototype.render = function render() {\n\t var _props = this.props,\n\t backHandler = _props.backHandler,\n\t backgroundColor = _props.backgroundColor,\n\t backgroundUrl = _props.backgroundUrl,\n\t logoUrl = _props.logoUrl,\n\t name = _props.name,\n\t title = _props.title;\n\t\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-header' },\n\t backHandler && _react2.default.createElement(_button.BackButton, { onClick: backHandler }),\n\t _react2.default.createElement(Background, { imageUrl: backgroundUrl, backgroundColor: backgroundColor, grayScale: !!name }),\n\t _react2.default.createElement(Welcome, { title: title, name: name, imageUrl: name ? undefined : logoUrl })\n\t );\n\t };\n\t\n\t return Header;\n\t}(_react2.default.Component);\n\t\n\texports.default = Header;\n\t\n\t\n\tHeader.propTypes = {\n\t backgroundUrl: _react2.default.PropTypes.string,\n\t logoUrl: _react2.default.PropTypes.string,\n\t name: _react2.default.PropTypes.string\n\t};\n\t\n\tvar Welcome = function (_React$Component2) {\n\t _inherits(Welcome, _React$Component2);\n\t\n\t function Welcome() {\n\t _classCallCheck(this, Welcome);\n\t\n\t return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments));\n\t }\n\t\n\t Welcome.prototype.render = function render() {\n\t var _props2 = this.props,\n\t name = _props2.name,\n\t imageUrl = _props2.imageUrl,\n\t title = _props2.title;\n\t\n\t var img = _react2.default.createElement('img', { className: 'auth0-lock-header-logo', src: imageUrl });\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-header-welcome' },\n\t imageUrl && img,\n\t _react2.default.createElement(WelcomeMessage, { title: title, name: name })\n\t );\n\t };\n\t\n\t return Welcome;\n\t}(_react2.default.Component);\n\t\n\tWelcome.propTypes = {\n\t imageUrl: _react2.default.PropTypes.string,\n\t name: _react2.default.PropTypes.string\n\t};\n\t\n\tvar WelcomeMessage = function (_React$Component3) {\n\t _inherits(WelcomeMessage, _React$Component3);\n\t\n\t function WelcomeMessage() {\n\t _classCallCheck(this, WelcomeMessage);\n\t\n\t return _possibleConstructorReturn(this, _React$Component3.apply(this, arguments));\n\t }\n\t\n\t WelcomeMessage.prototype.render = function render() {\n\t var _props3 = this.props,\n\t name = _props3.name,\n\t title = _props3.title;\n\t\n\t var className = void 0,\n\t message = void 0;\n\t\n\t if (name) {\n\t className = \"auth0-lock-firstname\";\n\t message = name;\n\t } else {\n\t className = \"auth0-lock-name\";\n\t message = title;\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: className },\n\t message\n\t );\n\t };\n\t\n\t return WelcomeMessage;\n\t}(_react2.default.Component);\n\t\n\tWelcomeMessage.propTypes = {\n\t name: _react2.default.PropTypes.string\n\t};\n\t\n\tvar cssBlurSupport = function () {\n\t // Check stolen from Modernizr, see https://github.com/Modernizr/Modernizr/blob/29eab707f7a2fb261c8a9c538370e97eb1f86e25/feature-detects/css/filters.js\n\t var isEdge = global.navigator && !!global.navigator.userAgent.match(/Edge/i);\n\t if (typeof global.document === 'undefined' || isEdge) return false;\n\t\n\t var el = global.document.createElement('div');\n\t el.style.cssText = \"filter: blur(2px); -webkit-filter: blur(2px)\";\n\t return !!el.style.length && (global.document.documentMode === undefined || global.document.documentMode > 9);\n\t}();\n\t\n\tvar Background = function (_React$Component4) {\n\t _inherits(Background, _React$Component4);\n\t\n\t function Background() {\n\t _classCallCheck(this, Background);\n\t\n\t return _possibleConstructorReturn(this, _React$Component4.apply(this, arguments));\n\t }\n\t\n\t Background.prototype.render = function render() {\n\t var _props4 = this.props,\n\t backgroundColor = _props4.backgroundColor,\n\t imageUrl = _props4.imageUrl,\n\t grayScale = _props4.grayScale;\n\t\n\t\n\t var props = {\n\t className: \"auth0-lock-header-bg\"\n\t };\n\t\n\t if (cssBlurSupport) {\n\t props.className += \" auth0-lock-blur-support\";\n\t }\n\t\n\t var blurProps = {\n\t className: 'auth0-lock-header-bg-blur',\n\t style: { backgroundImage: 'url(\\'' + imageUrl + '\\')' }\n\t };\n\t\n\t if (grayScale) {\n\t blurProps.className += ' auth0-lock-no-grayscale';\n\t }\n\t\n\t var solidProps = {\n\t className: \"auth0-lock-header-bg-solid\",\n\t style: { backgroundColor: backgroundColor }\n\t };\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t props,\n\t _react2.default.createElement('div', blurProps),\n\t _react2.default.createElement('div', solidProps)\n\t );\n\t };\n\t\n\t return Background;\n\t}(_react2.default.Component);\n\t\n\tBackground.propTypes = {\n\t backgorundColor: _react2.default.PropTypes.string,\n\t grayScale: _react2.default.PropTypes.bool,\n\t imageUrl: _react2.default.PropTypes.string\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 315 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(41);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _CSSCore = __webpack_require__(95);\n\t\n\tvar _CSSCore2 = _interopRequireDefault(_CSSCore);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Slider = function (_React$Component) {\n\t _inherits(Slider, _React$Component);\n\t\n\t function Slider(props) {\n\t _classCallCheck(this, Slider);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.state = { children: { current: props.children } };\n\t return _this;\n\t }\n\t\n\t Slider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n\t // TODO: take a prop to identify what are we rendering instead of\n\t // infering it from children keys so we can accept more than one\n\t // child (we are already wrapping them).\n\t if (this.state.children.current.key != nextProps.children.key) {\n\t this.setState({\n\t children: {\n\t current: nextProps.children,\n\t prev: this.state.children.current\n\t },\n\t transitionName: this.props.transitionName\n\t });\n\t this.animate = true;\n\t } else if (!this.timeout) {\n\t this.setState({ children: { current: nextProps.children }, transitionName: nextProps.transitionName });\n\t }\n\t };\n\t\n\t Slider.prototype.componentDidUpdate = function componentDidUpdate() {\n\t var _this2 = this;\n\t\n\t if (this.animate) {\n\t (function () {\n\t _this2.animate = false;\n\t\n\t var transitionName = _this2.state.transitionName;\n\t var _state$children = _this2.state.children,\n\t current = _state$children.current,\n\t prev = _state$children.prev;\n\t var reverse = _this2.props.reverse;\n\t\n\t var currentComponent = _this2.refs[current.key];\n\t var prevComponent = _this2.refs[prev.key];\n\t\n\t var transition = function transition(component, className, delay) {\n\t var node = _reactDom2.default.findDOMNode(component);\n\t var activeClassName = className + '-active';\n\t\n\t _CSSCore2.default.addClass(node, className);\n\t\n\t setTimeout(function () {\n\t return _CSSCore2.default.addClass(node, activeClassName);\n\t }, 17);\n\t\n\t if (delay) {\n\t setTimeout(function () {\n\t _CSSCore2.default.removeClass(node, className);\n\t _CSSCore2.default.removeClass(node, activeClassName);\n\t }, delay);\n\t }\n\t };\n\t\n\t var callback = function callback(slide) {\n\t currentComponent.componentWillSlideIn(slide);\n\t var classNamePrefix = reverse ? \"reverse-\" : \"\";\n\t transition(currentComponent, '' + classNamePrefix + transitionName + '-enter', _this2.props.delay);\n\t transition(prevComponent, '' + classNamePrefix + transitionName + '-leave');\n\t\n\t _this2.timeout = setTimeout(function () {\n\t var _context;\n\t\n\t _this2.setState({ children: { current: _this2.state.children.current }, transitionName: _this2.props.transitionName });\n\t currentComponent.componentDidSlideIn((_context = _this2.props).onDidAppear.bind(_context));\n\t _this2.props.onDidSlide();\n\t _this2.timeout = null;\n\t }, _this2.props.delay);\n\t };\n\t\n\t _this2.props.onWillSlide();\n\t prevComponent.componentWillSlideOut(callback);\n\t })();\n\t }\n\t };\n\t\n\t Slider.prototype.componentWillUnmount = function componentWillUnmount() {\n\t if (this.timeout) clearTimeout(this.timeout);\n\t };\n\t\n\t Slider.prototype.render = function render() {\n\t var _state$children2 = this.state.children,\n\t current = _state$children2.current,\n\t prev = _state$children2.prev;\n\t\n\t var children = prev ? [current, prev] : [current];\n\t var childrenToRender = children.map(function (child) {\n\t return _react2.default.cloneElement(_react2.default.createElement(Child, {}, child), { ref: child.key, key: child.key });\n\t });\n\t\n\t return _react2.default.createElement(this.props.component, {}, childrenToRender);\n\t };\n\t\n\t return Slider;\n\t}(_react2.default.Component);\n\t\n\texports.default = Slider;\n\t\n\t\n\tSlider.propTypes = {\n\t component: _react2.default.PropTypes.string,\n\t delay: _react2.default.PropTypes.number.isRequired,\n\t onDidAppear: _react2.default.PropTypes.func.isRequired,\n\t onDidSlide: _react2.default.PropTypes.func.isRequired,\n\t onWillSlide: _react2.default.PropTypes.func.isRequired,\n\t reverse: _react2.default.PropTypes.bool.isRequired,\n\t transitionName: _react2.default.PropTypes.string.isRequired\n\t};\n\t\n\tSlider.defaultProps = {\n\t component: \"span\",\n\t onDidAppear: function onDidAppear() {},\n\t onDidSlide: function onDidSlide() {},\n\t onWillSlide: function onWillSlide() {},\n\t reverse: false\n\t};\n\t\n\tvar Child = function (_React$Component2) {\n\t _inherits(Child, _React$Component2);\n\t\n\t function Child(props) {\n\t _classCallCheck(this, Child);\n\t\n\t var _this3 = _possibleConstructorReturn(this, _React$Component2.call(this, props));\n\t\n\t _this3.state = { height: \"\", originalHeight: \"\", show: true };\n\t return _this3;\n\t }\n\t\n\t Child.prototype.componentWillSlideIn = function componentWillSlideIn(slide) {\n\t var node = _reactDom2.default.findDOMNode(this);\n\t\n\t this.setState({\n\t height: slide.height,\n\t originalHeight: parseInt(window.getComputedStyle(node, null).height, 10),\n\t show: false\n\t });\n\t };\n\t\n\t Child.prototype.componentDidSlideIn = function componentDidSlideIn(cb) {\n\t var _this4 = this;\n\t\n\t var _state = this.state,\n\t height = _state.height,\n\t originalHeight = _state.originalHeight;\n\t\n\t\n\t if (height === originalHeight) {\n\t this.setState({ show: true, height: \"\" });\n\t cb();\n\t } else {\n\t (function () {\n\t _this4.cb = cb;\n\t var frames = 10;\n\t var count = 0;\n\t var current = height;\n\t var last = originalHeight;\n\t var step = Math.abs(current - last) / frames;\n\t var dir = current < last ? 1 : -1;\n\t var dh = step * dir;\n\t\n\t // TODO: rAF\n\t _this4.t = setInterval(function () {\n\t if (count < frames - 1) {\n\t _this4.setState({ height: current, animating: true });\n\t current += dh;\n\t count++;\n\t } else {\n\t clearInterval(_this4.t);\n\t delete _this4.t;\n\t _this4.setState({ height: \"\", show: true });\n\t _this4.cb();\n\t }\n\t }, 17);\n\t })();\n\t }\n\t };\n\t\n\t Child.prototype.componentWillSlideOut = function componentWillSlideOut(cb) {\n\t var node = _reactDom2.default.findDOMNode(this);\n\t var size = window.getComputedStyle(node, null).height;\n\t cb({ height: parseInt(size, 10), reverse: this.reverse });\n\t };\n\t\n\t Child.prototype.componentWillUnmount = function componentWillUnmount() {\n\t if (this.t) {\n\t clearInterval(this.t);\n\t cb();\n\t }\n\t };\n\t\n\t Child.prototype.render = function render() {\n\t var children = this.props.children;\n\t var _state2 = this.state,\n\t height = _state2.height,\n\t show = _state2.show;\n\t\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { style: height ? { height: height + \"px\" } : {} },\n\t _react2.default.createElement(\n\t 'div',\n\t { style: { visibility: show ? \"inherit\" : \"hidden\" } },\n\t children\n\t )\n\t );\n\t };\n\t\n\t return Child;\n\t}(_react2.default.Component);\n\n/***/ },\n/* 316 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _input_wrap = __webpack_require__(40);\n\t\n\tvar _input_wrap2 = _interopRequireDefault(_input_wrap);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar svg = '<svg width=\"14px\" height=\"13px\" viewBox=\"0 0 32 26\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:sketch=\"http://www.bohemiancoding.com/sketch/ns\" class=\"auth0-lock-icon\"><g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" sketch:type=\"MSPage\"><g id=\"32px\" sketch:type=\"MSLayerGroup\" transform=\"translate(-2155.000000, -2317.000000)\" fill=\"#373A39\"><g id=\"Group-856\" transform=\"translate(1.000000, 1.000000)\" sketch:type=\"MSShapeGroup\"><path id=\"Fill-419\" d=\"M2184,2339 C2184,2339.55 2183.55,2340 2183,2340 L2157,2340 C2156.45,2340 2156,2339.55 2156,2339 L2156,2319 C2156,2318.45 2156.45,2318 2157,2318 L2183,2318 C2183.55,2318 2184,2318.45 2184,2319 L2184,2339 L2184,2339 Z M2184,2316 L2156,2316 C2154.89,2316 2154,2316.89 2154,2318 L2154,2340 C2154,2341.1 2154.89,2342 2156,2342 L2184,2342 C2185.1,2342 2186,2341.1 2186,2340 L2186,2318 C2186,2316.89 2185.1,2316 2184,2316 L2184,2316 Z M2176,2322 L2180,2322 L2180,2326 L2176,2326 L2176,2322 Z M2174,2328 L2182,2328 L2182,2320 L2174,2320 L2174,2328 Z M2158,2332 L2172,2332 L2172,2330 L2158,2330 L2158,2332 Z M2158,2336 L2172,2336 L2172,2334 L2158,2334 L2158,2336 Z\"></path></g></g></g></svg>';\n\t\n\tvar EmailInput = function (_React$Component) {\n\t _inherits(EmailInput, _React$Component);\n\t\n\t function EmailInput(props) {\n\t _classCallCheck(this, EmailInput);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.state = {};\n\t return _this;\n\t }\n\t\n\t EmailInput.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {\n\t var _props = this.props,\n\t invalidHint = _props.invalidHint,\n\t isValid = _props.isValid,\n\t value = _props.value,\n\t onChange = _props.onChange;\n\t var focused = this.state.focused;\n\t\n\t\n\t return invalidHint != nextProps.invalidHint || isValid != nextProps.isValid || value != nextProps.value || focused != nextState.focused;\n\t };\n\t\n\t EmailInput.prototype.render = function render() {\n\t var _props2 = this.props,\n\t invalidHint = _props2.invalidHint,\n\t isValid = _props2.isValid,\n\t onChange = _props2.onChange,\n\t props = _objectWithoutProperties(_props2, ['invalidHint', 'isValid', 'onChange']);\n\t\n\t var focused = this.state.focused;\n\t\n\t\n\t return _react2.default.createElement(\n\t _input_wrap2.default,\n\t {\n\t focused: focused,\n\t invalidHint: invalidHint,\n\t isValid: isValid,\n\t name: 'email',\n\t icon: svg\n\t },\n\t _react2.default.createElement('input', _extends({ ref: 'input',\n\t type: 'email',\n\t name: 'email',\n\t className: 'auth0-lock-input',\n\t placeholder: 'yours@example.com',\n\t autoComplete: 'off',\n\t autoCapitalize: 'off',\n\t onChange: this.handleOnChange.bind(this),\n\t onFocus: this.handleFocus.bind(this),\n\t onBlur: this.handleBlur.bind(this)\n\t }, props))\n\t );\n\t };\n\t\n\t EmailInput.prototype.handleOnChange = function handleOnChange(e) {\n\t if (this.props.onChange) {\n\t this.props.onChange(e);\n\t }\n\t };\n\t\n\t EmailInput.prototype.handleFocus = function handleFocus() {\n\t this.setState({ focused: true });\n\t };\n\t\n\t EmailInput.prototype.handleBlur = function handleBlur() {\n\t this.setState({ focused: false });\n\t };\n\t\n\t return EmailInput;\n\t}(_react2.default.Component);\n\t\n\t// TODO: specify propTypes\n\t\n\t\n\texports.default = EmailInput;\n\n/***/ },\n/* 317 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _input_wrap = __webpack_require__(40);\n\t\n\tvar _input_wrap2 = _interopRequireDefault(_input_wrap);\n\t\n\tvar _password_input = __webpack_require__(88);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar MFACodeInput = function (_React$Component) {\n\t _inherits(MFACodeInput, _React$Component);\n\t\n\t function MFACodeInput(props) {\n\t _classCallCheck(this, MFACodeInput);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.state = {};\n\t return _this;\n\t }\n\t\n\t MFACodeInput.prototype.focus = function focus() {\n\t this.refs.input && this.refs.input.focus();\n\t };\n\t\n\t MFACodeInput.prototype.hasFocus = function hasFocus() {\n\t return this.state.focused;\n\t };\n\t\n\t MFACodeInput.prototype.render = function render() {\n\t var _props = this.props,\n\t invalidHint = _props.invalidHint,\n\t isValid = _props.isValid,\n\t onChange = _props.onChange,\n\t value = _props.value,\n\t props = _objectWithoutProperties(_props, ['invalidHint', 'isValid', 'onChange', 'value']);\n\t\n\t var focused = this.state.focused;\n\t\n\t\n\t return _react2.default.createElement(\n\t _input_wrap2.default,\n\t {\n\t focused: focused,\n\t invalidHint: invalidHint,\n\t isValid: isValid,\n\t name: 'mfa_code',\n\t icon: _password_input.icon\n\t },\n\t _react2.default.createElement('input', _extends({\n\t ref: 'input',\n\t type: 'text',\n\t name: 'mfa_code',\n\t className: 'auth0-lock-input',\n\t autoComplete: 'off',\n\t autoCapitalize: 'off',\n\t onChange: this.handleOnChange.bind(this),\n\t onFocus: this.handleFocus.bind(this),\n\t onBlur: this.handleBlur.bind(this),\n\t value: value\n\t }, props))\n\t );\n\t };\n\t\n\t MFACodeInput.prototype.handleOnChange = function handleOnChange(e) {\n\t if (this.props.onChange) {\n\t this.props.onChange(e);\n\t }\n\t };\n\t\n\t MFACodeInput.prototype.handleFocus = function handleFocus() {\n\t this.setState({ focused: true });\n\t };\n\t\n\t MFACodeInput.prototype.handleBlur = function handleBlur() {\n\t this.setState({ focused: false });\n\t };\n\t\n\t return MFACodeInput;\n\t}(_react2.default.Component);\n\t\n\tMFACodeInput.propTypes = {\n\t invalidHint: _react2.default.PropTypes.string.isRequired,\n\t isValid: _react2.default.PropTypes.bool.isRequired,\n\t onChange: _react2.default.PropTypes.func,\n\t placeholder: _react2.default.PropTypes.string,\n\t value: _react2.default.PropTypes.string.isRequired\n\t};\n\texports.default = MFACodeInput;\n\n/***/ },\n/* 318 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _passwordSheriff = __webpack_require__(96);\n\t\n\tvar _passwordSheriff2 = _interopRequireDefault(_passwordSheriff);\n\t\n\tvar _util = __webpack_require__(79);\n\t\n\tvar _util2 = _interopRequireDefault(_util);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar PasswordStrength = function (_React$Component) {\n\t _inherits(PasswordStrength, _React$Component);\n\t\n\t function PasswordStrength() {\n\t _classCallCheck(this, PasswordStrength);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t PasswordStrength.prototype.render = function render() {\n\t var _props = this.props,\n\t password = _props.password,\n\t policy = _props.policy,\n\t messages = _props.messages;\n\t\n\t var analysis = (0, _passwordSheriff2.default)(policy).missing(password);\n\t // TODO: add a component for fadeIn / fadeOut animations?\n\t var className = \"auth0-lock-password-strength animated \" + (!analysis.verified ? \"fadeIn\" : \"fadeOut\");\n\t\n\t var prepareMessage = function prepareMessage(items) {\n\t items && items.forEach(function (o) {\n\t if (messages[o.code]) {\n\t o.message = messages[o.code];\n\t }\n\t\n\t o.message = _util2.default.format.apply(_util2.default, [o.message].concat(o.format || []));\n\t\n\t if (o.items) {\n\t prepareMessage(o.items);\n\t }\n\t });\n\t };\n\t\n\t prepareMessage(analysis.rules);\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: className },\n\t _react2.default.createElement(List, { items: analysis.rules })\n\t );\n\t };\n\t\n\t return PasswordStrength;\n\t}(_react2.default.Component);\n\t\n\texports.default = PasswordStrength;\n\t\n\t\n\tPasswordStrength.propTypes = {\n\t messages: _react2.default.PropTypes.object.isRequired,\n\t password: _react2.default.PropTypes.string.isRequired,\n\t policy: _react2.default.PropTypes.oneOf([\"none\", \"low\", \"fair\", \"good\", \"excellent\"]).isRequired\n\t};\n\t\n\tPasswordStrength.defaultProps = {\n\t messages: {}\n\t};\n\t\n\tvar List = function (_React$Component2) {\n\t _inherits(List, _React$Component2);\n\t\n\t function List() {\n\t _classCallCheck(this, List);\n\t\n\t return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments));\n\t }\n\t\n\t List.prototype.render = function render() {\n\t var items = this.props.items;\n\t\n\t\n\t return items && items.length ? _react2.default.createElement(\n\t 'ul',\n\t null,\n\t items.map(function (x, i) {\n\t return _react2.default.createElement(Item, _extends({}, x, { key: i }));\n\t })\n\t ) : null;\n\t };\n\t\n\t return List;\n\t}(_react2.default.Component);\n\t\n\tList.propTypes = {\n\t items: _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.object)\n\t};\n\t\n\tvar Item = function (_React$Component3) {\n\t _inherits(Item, _React$Component3);\n\t\n\t function Item() {\n\t _classCallCheck(this, Item);\n\t\n\t return _possibleConstructorReturn(this, _React$Component3.apply(this, arguments));\n\t }\n\t\n\t Item.prototype.render = function render() {\n\t var _props2 = this.props,\n\t items = _props2.items,\n\t message = _props2.message,\n\t verified = _props2.verified;\n\t\n\t var className = verified ? \"auth0-lock-checked\" : \"\";\n\t\n\t return _react2.default.createElement(\n\t 'li',\n\t { className: className },\n\t _react2.default.createElement(\n\t 'span',\n\t null,\n\t message\n\t ),\n\t _react2.default.createElement(List, { items: items })\n\t );\n\t };\n\t\n\t return Item;\n\t}(_react2.default.Component);\n\t\n\tItem.propTypes = {\n\t items: _react2.default.PropTypes.array,\n\t message: _react2.default.PropTypes.string.isRequired,\n\t verified: _react2.default.PropTypes.bool.isRequired\n\t};\n\n/***/ },\n/* 319 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _input_wrap = __webpack_require__(40);\n\t\n\tvar _input_wrap2 = _interopRequireDefault(_input_wrap);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar arrowSvg = '<svg width=\"5px\" height=\"10px\" viewBox=\"0 0 5 10\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:sketch=\"http://www.bohemiancoding.com/sketch/ns\" class=\"auth0-lock-icon-arrow\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" sketch:type=\"MSPage\"><g id=\"Lock\" transform=\"translate(-396.000000, -3521.000000)\" fill=\"#000000\" opacity=\"0.539999962\"><g id=\"SMS\" transform=\"translate(153.000000, 3207.000000)\"><g transform=\"translate(35.000000, 299.000000)\"><g transform=\"translate(210.000000, 20.000000) rotate(-90.000000) translate(-210.000000, -20.000000) translate(198.000000, 8.000000)\"><path id=\"Shape\" d=\"M7,10 L12,15 L17,10 L7,10 Z\"></path></g></g></g></g></g></svg>';\n\t\n\tvar SelectInput = function (_React$Component) {\n\t _inherits(SelectInput, _React$Component);\n\t\n\t function SelectInput(props) {\n\t _classCallCheck(this, SelectInput);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.state = {};\n\t return _this;\n\t }\n\t\n\t SelectInput.prototype.render = function render() {\n\t var _props = this.props,\n\t iconUrl = _props.iconUrl,\n\t isValid = _props.isValid,\n\t label = _props.label,\n\t name = _props.name,\n\t onClick = _props.onClick,\n\t placeholder = _props.placeholder;\n\t var icon = this.props.icon;\n\t var focused = this.state.focused;\n\t\n\t\n\t var limitedValue = label || placeholder;\n\t if (limitedValue.length > 23) {\n\t limitedValue = limitedValue.substr(0, 20) + '...';\n\t }\n\t\n\t if (!icon && typeof iconUrl === \"string\" && iconUrl) {\n\t icon = _react2.default.createElement('img', { className: 'auth0-lock-custom-icon', src: iconUrl });\n\t }\n\t\n\t var className = \"auth0-lock-input auth0-lock-input-location\";\n\t if (!label) className += \" auth0-lock-input-with-placeholder\";\n\t\n\t return _react2.default.createElement(\n\t _input_wrap2.default,\n\t { focused: focused, isValid: isValid, name: 'location', icon: icon },\n\t _react2.default.createElement('input', { type: 'button',\n\t name: name,\n\t className: className,\n\t value: limitedValue,\n\t onFocus: this.handleFocus.bind(this),\n\t onBlur: this.handleBlur.bind(this),\n\t onKeyDown: this.handleKeyDown.bind(this),\n\t onClick: onClick\n\t }),\n\t _react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: arrowSvg } })\n\t );\n\t };\n\t\n\t SelectInput.prototype.handleFocus = function handleFocus() {\n\t this.setState({ focused: true });\n\t };\n\t\n\t SelectInput.prototype.handleBlur = function handleBlur() {\n\t this.setState({ focused: false });\n\t };\n\t\n\t SelectInput.prototype.handleKeyDown = function handleKeyDown(e) {\n\t if (e.key !== \"Tab\") {\n\t e.preventDefault();\n\t }\n\t\n\t if (e.key === \"ArrowDown\") {\n\t return this.props.onClick();\n\t }\n\t\n\t if (e.keyCode >= 65 && e.keyCode <= 90) {\n\t return this.props.onClick(String.fromCharCode(e.keyCode).toLowerCase());\n\t }\n\t };\n\t\n\t return SelectInput;\n\t}(_react2.default.Component);\n\t\n\t// TODO: specify propTypes\n\t\n\t\n\texports.default = SelectInput;\n\n/***/ },\n/* 320 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _input_wrap = __webpack_require__(40);\n\t\n\tvar _input_wrap2 = _interopRequireDefault(_input_wrap);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar svg = '<svg width=\"13px\" height=\"14px\" viewBox=\"0 0 15 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"auth0-lock-icon\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g transform=\"translate(-11.000000, -1471.000000)\" fill=\"#888888\"><path d=\"M25.552,1486.998 L11.449,1486.998 C10.667,1485.799 10.984,1483.399 11.766,1482.6 C12.139,1482.219 14.931,1481.5 16.267,1481.172 C14.856,1480.076 13.995,1478.042 13.995,1476.103 C13.995,1473.284 14.813,1470.999 18.498,1470.999 C22.182,1470.999 23,1473.284 23,1476.103 C23,1478.037 22.145,1480.065 20.74,1481.163 C22.046,1481.489 24.88,1482.228 25.241,1482.601 C26.019,1483.399 26.328,1485.799 25.552,1486.998 L25.552,1486.998 Z M24.6,1483.443 C24.087,1483.169 21.881,1482.548 20,1482.097 L20,1480.513 C21.254,1479.659 21.997,1477.806 21.997,1476.12 C21.997,1473.841 21.414,1471.993 18.499,1471.993 C15.583,1471.993 15,1473.841 15,1476.12 C15,1477.807 15.744,1479.662 17,1480.515 L17,1482.112 C15.109,1482.556 12.914,1483.166 12.409,1483.442 C12.082,1483.854 11.797,1485.173 12,1486 L25,1486 C25.201,1485.174 24.922,1483.858 24.6,1483.443 L24.6,1483.443 Z\"></path></g></g></svg>';\n\t\n\tvar UsernameInput = function (_React$Component) {\n\t _inherits(UsernameInput, _React$Component);\n\t\n\t function UsernameInput(props) {\n\t _classCallCheck(this, UsernameInput);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.state = {};\n\t return _this;\n\t }\n\t\n\t UsernameInput.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {\n\t var _props = this.props,\n\t invalidHint = _props.invalidHint,\n\t isValid = _props.isValid,\n\t value = _props.value,\n\t onChange = _props.onChange;\n\t var focused = this.state.focused;\n\t\n\t\n\t return invalidHint != nextProps.invalidHint || isValid != nextProps.isValid || value != nextProps.value || focused != nextState.focused;\n\t };\n\t\n\t UsernameInput.prototype.render = function render() {\n\t var _props2 = this.props,\n\t invalidHint = _props2.invalidHint,\n\t isValid = _props2.isValid,\n\t onChange = _props2.onChange,\n\t props = _objectWithoutProperties(_props2, ['invalidHint', 'isValid', 'onChange']);\n\t\n\t var focused = this.state.focused;\n\t\n\t\n\t return _react2.default.createElement(\n\t _input_wrap2.default,\n\t {\n\t focused: focused,\n\t invalidHint: invalidHint,\n\t isValid: isValid,\n\t name: 'username',\n\t icon: svg\n\t },\n\t _react2.default.createElement('input', _extends({\n\t ref: 'input',\n\t type: 'text',\n\t name: 'username',\n\t className: 'auth0-lock-input',\n\t placeholder: 'username',\n\t autoComplete: 'off',\n\t autoCapitalize: 'off',\n\t onChange: this.handleOnChange.bind(this),\n\t onFocus: this.handleFocus.bind(this),\n\t onBlur: this.handleBlur.bind(this)\n\t }, props))\n\t );\n\t };\n\t\n\t UsernameInput.prototype.handleOnChange = function handleOnChange(e) {\n\t if (this.props.onChange) {\n\t this.props.onChange(e);\n\t }\n\t };\n\t\n\t UsernameInput.prototype.handleFocus = function handleFocus() {\n\t this.setState({ focused: true });\n\t };\n\t\n\t UsernameInput.prototype.handleBlur = function handleBlur() {\n\t this.setState({ focused: false });\n\t };\n\t\n\t return UsernameInput;\n\t}(_react2.default.Component);\n\t\n\t// TODO: specify propTypes\n\t\n\t\n\texports.default = UsernameInput;\n\n/***/ },\n/* 321 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(41);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _button = __webpack_require__(55);\n\t\n\tvar _text_input = __webpack_require__(144);\n\t\n\tvar _text_input2 = _interopRequireDefault(_text_input);\n\t\n\tvar _media_utils = __webpack_require__(145);\n\t\n\tvar _string_utils = __webpack_require__(91);\n\t\n\tvar su = _interopRequireWildcard(_string_utils);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar cycle = function cycle(xs, x) {\n\t return xs.skipWhile(function (y) {\n\t return y !== x;\n\t }).get(1, xs.get(0));\n\t};\n\t\n\tvar FiltrableList = function (_React$Component) {\n\t _inherits(FiltrableList, _React$Component);\n\t\n\t function FiltrableList(props) {\n\t _classCallCheck(this, FiltrableList);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.state = { filteredItems: props.items, highlighted: props.defaultItem };\n\t return _this;\n\t }\n\t\n\t FiltrableList.prototype.filter = function filter(str) {\n\t var filteredItems = this.props.items.filter(function (x) {\n\t return su.matches(str, x.get(\"label\"));\n\t });\n\t\n\t var highlighted = filteredItems.size === 1 && filteredItems.get(0) || filteredItems.includes(this.state.highlighted) && this.state.highlighted || null;\n\t\n\t return {\n\t filteredItems: filteredItems,\n\t highlighted: highlighted\n\t };\n\t };\n\t\n\t FiltrableList.prototype.select = function select(x) {\n\t this.props.onSelect(x);\n\t };\n\t\n\t FiltrableList.prototype.handleChange = function handleChange(e) {\n\t this.setState(this.filter(e.target.value));\n\t };\n\t\n\t FiltrableList.prototype.handleKeyDown = function handleKeyDown(e) {\n\t var _state = this.state,\n\t filteredItems = _state.filteredItems,\n\t highlighted = _state.highlighted;\n\t\n\t\n\t switch (e.key) {\n\t case \"ArrowDown\":\n\t e.preventDefault();\n\t this.setState({ highlighted: cycle(filteredItems, highlighted) });\n\t break;\n\t case \"ArrowUp\":\n\t e.preventDefault();\n\t this.setState({ highlighted: cycle(filteredItems.reverse(), highlighted) });\n\t break;\n\t case \"Enter\":\n\t e.preventDefault();\n\t highlighted && this.select(highlighted);\n\t break;\n\t case \"Escape\":\n\t e.preventDefault();\n\t this.props.onCancel();\n\t default:\n\t // no-op\n\t }\n\t };\n\t\n\t FiltrableList.prototype.render = function render() {\n\t var _this2 = this;\n\t\n\t var _props = this.props,\n\t icon = _props.icon,\n\t iconUrl = _props.iconUrl,\n\t onCancel = _props.onCancel;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-select-country' },\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'auth0-lock-search' },\n\t _react2.default.createElement(_button.BackButton, { onClick: onCancel }),\n\t _react2.default.createElement(_text_input2.default, {\n\t name: 'search',\n\t icon: icon,\n\t iconUrl: iconUrl,\n\t isValid: true,\n\t onChange: this.handleChange.bind(this),\n\t onKeyDown: this.handleKeyDown.bind(this)\n\t })\n\t ),\n\t _react2.default.createElement(List, {\n\t highlighted: this.state.highlighted,\n\t items: this.state.filteredItems,\n\t onClick: this.select.bind(this),\n\t onMouseMove: function onMouseMove(x) {\n\t return _this2.setState({ highlighted: x });\n\t }\n\t })\n\t );\n\t };\n\t\n\t return FiltrableList;\n\t}(_react2.default.Component);\n\t\n\texports.default = FiltrableList;\n\t\n\tvar List = function (_React$Component2) {\n\t _inherits(List, _React$Component2);\n\t\n\t function List() {\n\t _classCallCheck(this, List);\n\t\n\t return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments));\n\t }\n\t\n\t List.prototype.componentDidUpdate = function componentDidUpdate() {\n\t var _this4 = this;\n\t\n\t // Ensure that highlighted item is entirely visible\n\t\n\t // NOTE: I've spent very little time on this. It works, but it\n\t // surely can be more clearly.\n\t\n\t var highlighted = this.refs.highlighted;\n\t\n\t\n\t if (highlighted) {\n\t var scrollableNode = _reactDom2.default.findDOMNode(this);\n\t var highlightedNode = _reactDom2.default.findDOMNode(highlighted);\n\t var relativeOffsetTop = highlightedNode.offsetTop - scrollableNode.scrollTop;\n\t var scrollTopDelta = 0;\n\t if (relativeOffsetTop + highlightedNode.offsetHeight > scrollableNode.clientHeight) {\n\t scrollTopDelta = relativeOffsetTop + highlightedNode.offsetHeight - scrollableNode.clientHeight;\n\t } else if (relativeOffsetTop < 0) {\n\t scrollTopDelta = relativeOffsetTop;\n\t }\n\t\n\t if (scrollTopDelta) {\n\t this.preventHighlight = true;\n\t scrollableNode.scrollTop += scrollTopDelta;\n\t if (this.timeout) clearTimeout(this.timeout);\n\t this.timeout = setTimeout(function () {\n\t return _this4.preventHighlight = false;\n\t }, 100);\n\t }\n\t }\n\t };\n\t\n\t List.prototype.mouseMoveHandler = function mouseMoveHandler(x) {\n\t // TODO: This is an ugly hack to avoid highlighting the element under the\n\t // mouse when an arrow key trigger a scroll of the list (which in turn\n\t // triggers a mousemove event).\n\t !this.preventHighlight && this.props.onMouseMove(x);\n\t };\n\t\n\t List.prototype.mouseLeaveHandler = function mouseLeaveHandler() {\n\t // TODO: clear highlighted?\n\t };\n\t\n\t List.prototype.render = function render() {\n\t var _this5 = this;\n\t\n\t var items = this.props.items.map(function (x) {\n\t var highlighted = x === _this5.props.highlighted;\n\t\n\t var props = {\n\t highlighted: highlighted,\n\t key: x.get(\"label\"),\n\t label: x.get(\"label\"),\n\t onClick: function onClick() {\n\t return _this5.props.onClick(x);\n\t },\n\t onMouseMove: function onMouseMove() {\n\t return _this5.mouseMoveHandler(x);\n\t }\n\t };\n\t\n\t if (highlighted) props.ref = \"highlighted\";\n\t\n\t return _react2.default.createElement(Item, props);\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'auth0-lock-list-code',\n\t onMouseLeave: this.mouseLeaveHandler.bind(this)\n\t },\n\t _react2.default.createElement(\n\t 'ul',\n\t null,\n\t items\n\t )\n\t );\n\t };\n\t\n\t return List;\n\t}(_react2.default.Component);\n\t\n\tvar Item = function (_React$Component3) {\n\t _inherits(Item, _React$Component3);\n\t\n\t function Item() {\n\t _classCallCheck(this, Item);\n\t\n\t return _possibleConstructorReturn(this, _React$Component3.apply(this, arguments));\n\t }\n\t\n\t Item.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n\t return this.props.highlighted != nextProps.highlighted;\n\t };\n\t\n\t Item.prototype.render = function render() {\n\t var _props2 = this.props,\n\t highlighted = _props2.highlighted,\n\t label = _props2.label,\n\t onClick = _props2.onClick,\n\t onMouseMove = _props2.onMouseMove;\n\t\n\t var className = highlighted ? \"auth0-lock-list-code-highlighted\" : \"\";\n\t\n\t return _react2.default.createElement(\n\t 'li',\n\t { className: className, onClick: onClick, onMouseMove: onMouseMove },\n\t label\n\t );\n\t };\n\t\n\t return Item;\n\t}(_react2.default.Component);\n\t\n\tItem.propTypes = {\n\t highlighted: _react.PropTypes.bool.isRequired,\n\t label: _react.PropTypes.string.isRequired,\n\t onClick: _react.PropTypes.func.isRequired,\n\t onMouseMove: _react.PropTypes.func.isRequired\n\t};\n\n/***/ },\n/* 322 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.default = atom;\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar Atom = function () {\n\t function Atom(state) {\n\t _classCallCheck(this, Atom);\n\t\n\t this.state = state;\n\t this.watches = {};\n\t }\n\t\n\t Atom.prototype.reset = function reset(state) {\n\t return this._change(state);\n\t };\n\t\n\t Atom.prototype.swap = function swap(f) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t return this._change(f.apply(undefined, [this.state].concat(args)));\n\t };\n\t\n\t Atom.prototype.deref = function deref() {\n\t return this.state;\n\t };\n\t\n\t Atom.prototype.addWatch = function addWatch(k, f) {\n\t // if (this.watches[key]) {\n\t // console.warn(`adding a watch with an already registered key: ${k}`);\n\t // }\n\t this.watches[k] = f;\n\t return this;\n\t };\n\t\n\t Atom.prototype.removeWatch = function removeWatch(k) {\n\t // if (!this.watches[key]) {\n\t // console.warn(`removing a watch with an unknown key: ${k}`);\n\t // }\n\t delete this.watches[k];\n\t return this;\n\t };\n\t\n\t Atom.prototype._change = function _change(newState) {\n\t var state = this.state,\n\t watches = this.watches;\n\t\n\t this.state = newState;\n\t Object.keys(watches).forEach(function (k) {\n\t return watches[k](k, state, newState);\n\t });\n\t return this.state;\n\t };\n\t\n\t return Atom;\n\t}();\n\t\n\tfunction atom(state) {\n\t return new Atom(state);\n\t}\n\n/***/ },\n/* 323 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar Cache = function () {\n\t function Cache(fetchFn) {\n\t _classCallCheck(this, Cache);\n\t\n\t this.cache = {};\n\t this.cbs = {};\n\t this.fetchFn = fetchFn;\n\t }\n\t\n\t Cache.prototype.get = function get() {\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t var cb = args.pop();\n\t var key = JSON.stringify(args);\n\t if (this.cache[key]) return cb(null, this.cache[key]);\n\t if (this.registerCallback(key, cb) > 1) return;\n\t this.fetch(key, args);\n\t };\n\t\n\t Cache.prototype.fetch = function fetch(key, args) {\n\t var _this = this;\n\t\n\t this.fetchFn.apply(this, args.concat([function (error, result) {\n\t if (!error) _this.cache[key] = result;\n\t _this.execCallbacks(key, error, result);\n\t }]));\n\t };\n\t\n\t Cache.prototype.registerCallback = function registerCallback(key, cb) {\n\t this.cbs[key] = this.cbs[key] || [];\n\t this.cbs[key].push(cb);\n\t return this.cbs[key].length;\n\t };\n\t\n\t Cache.prototype.execCallbacks = function execCallbacks(key) {\n\t for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n\t args[_key2 - 1] = arguments[_key2];\n\t }\n\t\n\t this.cbs[key].forEach(function (f) {\n\t return f.apply(undefined, args);\n\t });\n\t delete this.cbs[key];\n\t };\n\t\n\t return Cache;\n\t}();\n\t\n\texports.default = Cache;\n\n/***/ },\n/* 324 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.debounce = debounce;\n\tfunction debounce(f, delay) {\n\t var t = void 0;\n\t return function () {\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t function handler() {\n\t clearTimeout(t);\n\t f.apply(undefined, args);\n\t }\n\t clearTimeout(t);\n\t t = setTimeout(handler, delay);\n\t };\n\t}\n\n/***/ },\n/* 325 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.random = random;\n\texports.incremental = incremental;\n\tfunction random() {\n\t return (+new Date() + Math.floor(Math.random() * 10000000)).toString(36);\n\t}\n\t\n\tvar start = 1;\n\tfunction incremental() {\n\t return start++;\n\t}\n\n/***/ },\n/* 326 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _jsonp = __webpack_require__(177);\n\t\n\tvar _jsonp2 = _interopRequireDefault(_jsonp);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar JSONPUtils = function () {\n\t function JSONPUtils() {\n\t _classCallCheck(this, JSONPUtils);\n\t }\n\t\n\t JSONPUtils.prototype.get = function get() {\n\t return _jsonp2.default.apply(undefined, arguments);\n\t };\n\t\n\t return JSONPUtils;\n\t}();\n\t\n\texports.default = new JSONPUtils();\n\n/***/ },\n/* 327 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.parseUrl = parseUrl;\n\tfunction parseUrl(str) {\n\t var parser = global.document.createElement(\"a\");\n\t parser.href = str;\n\t return parser;\n\t}\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 328 */\n/***/ function(module, exports) {\n\n\t/* (ignored) */\n\n/***/ },\n/* 329 */\n/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * This is the web browser implementation of `debug()`.\n\t *\n\t * Expose `debug()` as the module.\n\t */\n\t\n\texports = module.exports = __webpack_require__(__webpack_module_template_argument_0__);\n\texports.log = log;\n\texports.formatArgs = formatArgs;\n\texports.save = save;\n\texports.load = load;\n\texports.useColors = useColors;\n\texports.storage = 'undefined' != typeof chrome && 'undefined' != typeof chrome.storage ? chrome.storage.local : localstorage();\n\t\n\t/**\n\t * Colors.\n\t */\n\t\n\texports.colors = ['lightseagreen', 'forestgreen', 'goldenrod', 'dodgerblue', 'darkorchid', 'crimson'];\n\t\n\t/**\n\t * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n\t * and the Firebug extension (any Firefox version) are known\n\t * to support \"%c\" CSS customizations.\n\t *\n\t * TODO: add a `localStorage` variable to explicitly enable/disable colors\n\t */\n\t\n\tfunction useColors() {\n\t // NB: In an Electron preload script, document will be defined but not fully\n\t // initialized. Since we know we're in Chrome, we'll just detect this case\n\t // explicitly\n\t if (typeof window !== 'undefined' && window && typeof window.process !== 'undefined' && window.process.type === 'renderer') {\n\t return true;\n\t }\n\t\n\t // is webkit? http://stackoverflow.com/a/16459606/376773\n\t // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\t return typeof document !== 'undefined' && document && 'WebkitAppearance' in document.documentElement.style ||\n\t // is firebug? http://stackoverflow.com/a/398120/376773\n\t typeof window !== 'undefined' && window && window.console && (console.firebug || console.exception && console.table) ||\n\t // is firefox >= v31?\n\t // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t typeof navigator !== 'undefined' && navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31 ||\n\t // double check webkit in userAgent just in case we are in a worker\n\t typeof navigator !== 'undefined' && navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/);\n\t}\n\t\n\t/**\n\t * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n\t */\n\t\n\texports.formatters.j = function (v) {\n\t try {\n\t return JSON.stringify(v);\n\t } catch (err) {\n\t return '[UnexpectedJSONParseError]: ' + err.message;\n\t }\n\t};\n\t\n\t/**\n\t * Colorize log arguments if enabled.\n\t *\n\t * @api public\n\t */\n\t\n\tfunction formatArgs(args) {\n\t var useColors = this.useColors;\n\t\n\t args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports.humanize(this.diff);\n\t\n\t if (!useColors) return;\n\t\n\t var c = 'color: ' + this.color;\n\t args.splice(1, 0, c, 'color: inherit');\n\t\n\t // the final \"%c\" is somewhat tricky, because there could be other\n\t // arguments passed either before or after the %c, so we need to\n\t // figure out the correct index to insert the CSS into\n\t var index = 0;\n\t var lastC = 0;\n\t args[0].replace(/%[a-zA-Z%]/g, function (match) {\n\t if ('%%' === match) return;\n\t index++;\n\t if ('%c' === match) {\n\t // we only are interested in the *last* %c\n\t // (the user may have provided their own)\n\t lastC = index;\n\t }\n\t });\n\t\n\t args.splice(lastC, 0, c);\n\t}\n\t\n\t/**\n\t * Invokes `console.log()` when available.\n\t * No-op when `console.log` is not a \"function\".\n\t *\n\t * @api public\n\t */\n\t\n\tfunction log() {\n\t // this hackery is required for IE8/9, where\n\t // the `console.log` function doesn't have 'apply'\n\t return 'object' === (typeof console === 'undefined' ? 'undefined' : _typeof(console)) && console.log && Function.prototype.apply.call(console.log, console, arguments);\n\t}\n\t\n\t/**\n\t * Save `namespaces`.\n\t *\n\t * @param {String} namespaces\n\t * @api private\n\t */\n\t\n\tfunction save(namespaces) {\n\t try {\n\t if (null == namespaces) {\n\t exports.storage.removeItem('debug');\n\t } else {\n\t exports.storage.debug = namespaces;\n\t }\n\t } catch (e) {}\n\t}\n\t\n\t/**\n\t * Load `namespaces`.\n\t *\n\t * @return {String} returns the previously persisted debug modes\n\t * @api private\n\t */\n\t\n\tfunction load() {\n\t try {\n\t return exports.storage.debug;\n\t } catch (e) {}\n\t\n\t // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\t if (typeof process !== 'undefined' && 'env' in process) {\n\t return ({\"NODE_ENV\":\"production\"}).DEBUG;\n\t }\n\t}\n\t\n\t/**\n\t * Enable namespaces listed in `localStorage.debug` initially.\n\t */\n\t\n\texports.enable(load());\n\t\n\t/**\n\t * Localstorage attempts to return the localstorage.\n\t *\n\t * This is necessary because safari throws\n\t * when a user disables cookies/localstorage\n\t * and you attempt to access it.\n\t *\n\t * @return {LocalStorage}\n\t * @api private\n\t */\n\t\n\tfunction localstorage() {\n\t try {\n\t return window.localStorage;\n\t } catch (e) {}\n\t}\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29)))\n\n/***/ },\n/* 330 */\n/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) {\n\n\t'use strict';\n\t\n\t/**\n\t * This is the common logic for both the Node.js and web browser\n\t * implementations of `debug()`.\n\t *\n\t * Expose `debug()` as the module.\n\t */\n\t\n\texports = module.exports = createDebug.debug = createDebug.default = createDebug;\n\texports.coerce = coerce;\n\texports.disable = disable;\n\texports.enable = enable;\n\texports.enabled = enabled;\n\texports.humanize = __webpack_require__(__webpack_module_template_argument_0__);\n\t\n\t/**\n\t * The currently active debug mode names, and names to skip.\n\t */\n\t\n\texports.names = [];\n\texports.skips = [];\n\t\n\t/**\n\t * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t *\n\t * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t */\n\t\n\texports.formatters = {};\n\t\n\t/**\n\t * Previous log timestamp.\n\t */\n\t\n\tvar prevTime;\n\t\n\t/**\n\t * Select a color.\n\t * @param {String} namespace\n\t * @return {Number}\n\t * @api private\n\t */\n\t\n\tfunction selectColor(namespace) {\n\t var hash = 0,\n\t i;\n\t\n\t for (i in namespace) {\n\t hash = (hash << 5) - hash + namespace.charCodeAt(i);\n\t hash |= 0; // Convert to 32bit integer\n\t }\n\t\n\t return exports.colors[Math.abs(hash) % exports.colors.length];\n\t}\n\t\n\t/**\n\t * Create a debugger with the given `namespace`.\n\t *\n\t * @param {String} namespace\n\t * @return {Function}\n\t * @api public\n\t */\n\t\n\tfunction createDebug(namespace) {\n\t\n\t function debug() {\n\t // disabled?\n\t if (!debug.enabled) return;\n\t\n\t var self = debug;\n\t\n\t // set `diff` timestamp\n\t var curr = +new Date();\n\t var ms = curr - (prevTime || curr);\n\t self.diff = ms;\n\t self.prev = prevTime;\n\t self.curr = curr;\n\t prevTime = curr;\n\t\n\t // turn the `arguments` into a proper Array\n\t var args = new Array(arguments.length);\n\t for (var i = 0; i < args.length; i++) {\n\t args[i] = arguments[i];\n\t }\n\t\n\t args[0] = exports.coerce(args[0]);\n\t\n\t if ('string' !== typeof args[0]) {\n\t // anything else let's inspect with %O\n\t args.unshift('%O');\n\t }\n\t\n\t // apply any `formatters` transformations\n\t var index = 0;\n\t args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) {\n\t // if we encounter an escaped % then don't increase the array index\n\t if (match === '%%') return match;\n\t index++;\n\t var formatter = exports.formatters[format];\n\t if ('function' === typeof formatter) {\n\t var val = args[index];\n\t match = formatter.call(self, val);\n\t\n\t // now we need to remove `args[index]` since it's inlined in the `format`\n\t args.splice(index, 1);\n\t index--;\n\t }\n\t return match;\n\t });\n\t\n\t // apply env-specific formatting (colors, etc.)\n\t exports.formatArgs.call(self, args);\n\t\n\t var logFn = debug.log || exports.log || console.log.bind(console);\n\t logFn.apply(self, args);\n\t }\n\t\n\t debug.namespace = namespace;\n\t debug.enabled = exports.enabled(namespace);\n\t debug.useColors = exports.useColors();\n\t debug.color = selectColor(namespace);\n\t\n\t // env-specific initialization logic for debug instances\n\t if ('function' === typeof exports.init) {\n\t exports.init(debug);\n\t }\n\t\n\t return debug;\n\t}\n\t\n\t/**\n\t * Enables a debug mode by namespaces. This can include modes\n\t * separated by a colon and wildcards.\n\t *\n\t * @param {String} namespaces\n\t * @api public\n\t */\n\t\n\tfunction enable(namespaces) {\n\t exports.save(namespaces);\n\t\n\t var split = (namespaces || '').split(/[\\s,]+/);\n\t var len = split.length;\n\t\n\t for (var i = 0; i < len; i++) {\n\t if (!split[i]) continue; // ignore empty strings\n\t namespaces = split[i].replace(/\\*/g, '.*?');\n\t if (namespaces[0] === '-') {\n\t exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n\t } else {\n\t exports.names.push(new RegExp('^' + namespaces + '$'));\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Disable debug output.\n\t *\n\t * @api public\n\t */\n\t\n\tfunction disable() {\n\t exports.enable('');\n\t}\n\t\n\t/**\n\t * Returns true if the given mode name is enabled, false otherwise.\n\t *\n\t * @param {String} name\n\t * @return {Boolean}\n\t * @api public\n\t */\n\t\n\tfunction enabled(name) {\n\t var i, len;\n\t for (i = 0, len = exports.skips.length; i < len; i++) {\n\t if (exports.skips[i].test(name)) {\n\t return false;\n\t }\n\t }\n\t for (i = 0, len = exports.names.length; i < len; i++) {\n\t if (exports.names[i].test(name)) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t}\n\t\n\t/**\n\t * Coerce `val`.\n\t *\n\t * @param {Mixed} val\n\t * @return {Mixed}\n\t * @api private\n\t */\n\t\n\tfunction coerce(val) {\n\t if (val instanceof Error) return val.stack || val.message;\n\t return val;\n\t}\n\n/***/ },\n/* 331 */\n/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(__webpack_module_template_argument_0__);\n\t\n\tvar invariant = __webpack_require__(__webpack_module_template_argument_1__);\n\t\n\t/**\n\t * Static poolers. Several custom versions for each potential number of\n\t * arguments. A completely generic pooler is easy to implement, but would\n\t * require accessing the `arguments` object. In each of these, `this` refers to\n\t * the Class itself, not an instance. If any others are needed, simply add them\n\t * here, or in their own files.\n\t */\n\tvar oneArgumentPooler = function oneArgumentPooler(copyFieldsFrom) {\n\t var Klass = this;\n\t if (Klass.instancePool.length) {\n\t var instance = Klass.instancePool.pop();\n\t Klass.call(instance, copyFieldsFrom);\n\t return instance;\n\t } else {\n\t return new Klass(copyFieldsFrom);\n\t }\n\t};\n\t\n\tvar twoArgumentPooler = function twoArgumentPooler(a1, a2) {\n\t var Klass = this;\n\t if (Klass.instancePool.length) {\n\t var instance = Klass.instancePool.pop();\n\t Klass.call(instance, a1, a2);\n\t return instance;\n\t } else {\n\t return new Klass(a1, a2);\n\t }\n\t};\n\t\n\tvar threeArgumentPooler = function threeArgumentPooler(a1, a2, a3) {\n\t var Klass = this;\n\t if (Klass.instancePool.length) {\n\t var instance = Klass.instancePool.pop();\n\t Klass.call(instance, a1, a2, a3);\n\t return instance;\n\t } else {\n\t return new Klass(a1, a2, a3);\n\t }\n\t};\n\t\n\tvar fourArgumentPooler = function fourArgumentPooler(a1, a2, a3, a4) {\n\t var Klass = this;\n\t if (Klass.instancePool.length) {\n\t var instance = Klass.instancePool.pop();\n\t Klass.call(instance, a1, a2, a3, a4);\n\t return instance;\n\t } else {\n\t return new Klass(a1, a2, a3, a4);\n\t }\n\t};\n\t\n\tvar fiveArgumentPooler = function fiveArgumentPooler(a1, a2, a3, a4, a5) {\n\t var Klass = this;\n\t if (Klass.instancePool.length) {\n\t var instance = Klass.instancePool.pop();\n\t Klass.call(instance, a1, a2, a3, a4, a5);\n\t return instance;\n\t } else {\n\t return new Klass(a1, a2, a3, a4, a5);\n\t }\n\t};\n\t\n\tvar standardReleaser = function standardReleaser(instance) {\n\t var Klass = this;\n\t !(instance instanceof Klass) ? false ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0;\n\t instance.destructor();\n\t if (Klass.instancePool.length < Klass.poolSize) {\n\t Klass.instancePool.push(instance);\n\t }\n\t};\n\t\n\tvar DEFAULT_POOL_SIZE = 10;\n\tvar DEFAULT_POOLER = oneArgumentPooler;\n\t\n\t/**\n\t * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n\t * itself (statically) not adding any prototypical fields. Any CopyConstructor\n\t * you give this may have a `poolSize` property, and will look for a\n\t * prototypical `destructor` on instances.\n\t *\n\t * @param {Function} CopyConstructor Constructor that can be used to reset.\n\t * @param {Function} pooler Customizable pooler.\n\t */\n\tvar addPoolingTo = function addPoolingTo(CopyConstructor, pooler) {\n\t // Casting as any so that flow ignores the actual implementation and trusts\n\t // it to match the type we declared\n\t var NewKlass = CopyConstructor;\n\t NewKlass.instancePool = [];\n\t NewKlass.getPooled = pooler || DEFAULT_POOLER;\n\t if (!NewKlass.poolSize) {\n\t NewKlass.poolSize = DEFAULT_POOL_SIZE;\n\t }\n\t NewKlass.release = standardReleaser;\n\t return NewKlass;\n\t};\n\t\n\tvar PooledClass = {\n\t addPoolingTo: addPoolingTo,\n\t oneArgumentPooler: oneArgumentPooler,\n\t twoArgumentPooler: twoArgumentPooler,\n\t threeArgumentPooler: threeArgumentPooler,\n\t fourArgumentPooler: fourArgumentPooler,\n\t fiveArgumentPooler: fiveArgumentPooler\n\t};\n\t\n\tmodule.exports = PooledClass;\n\n/***/ },\n/* 332 */\n/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) {\n\n\t/**\n\t * Copyright 2014-2015, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __webpack_require__(__webpack_module_template_argument_0__);\n\t\n\t/**\n\t * Similar to invariant but only logs a warning if the condition is not met.\n\t * This can be used to log issues in development environments in critical\n\t * paths. Removing the logging code for production environments will keep the\n\t * same logic and follow the same code paths.\n\t */\n\t\n\tvar warning = emptyFunction;\n\t\n\tif (false) {\n\t (function () {\n\t var printWarning = function printWarning(format) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t var argIndex = 0;\n\t var message = 'Warning: ' + format.replace(/%s/g, function () {\n\t return args[argIndex++];\n\t });\n\t if (typeof console !== 'undefined') {\n\t console.error(message);\n\t }\n\t try {\n\t // --- Welcome to debugging React ---\n\t // This error was thrown as a convenience so that you can use this stack\n\t // to find the callsite that caused this warning to fire.\n\t throw new Error(message);\n\t } catch (x) {}\n\t };\n\t\n\t warning = function warning(condition, format) {\n\t if (format === undefined) {\n\t throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n\t }\n\t\n\t if (format.indexOf('Failed Composite propType: ') === 0) {\n\t return; // Ignore CompositeComponent proptype check.\n\t }\n\t\n\t if (!condition) {\n\t for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n\t args[_key2 - 2] = arguments[_key2];\n\t }\n\t\n\t printWarning.apply(undefined, [format].concat(args));\n\t }\n\t };\n\t })();\n\t}\n\t\n\tmodule.exports = warning;\n\n/***/ }\n/******/ ])));\n\n\n// WEBPACK FOOTER //\n// lock.min.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 18deb4e06207a587c7e6","/*\n *\n * This is used to build the bundle with browserify.\n *\n * The bundle is used by people who doesn't use browserify.\n * Those who use browserify will install with npm and require the module,\n * the package.json file points to index.js.\n */\n\nimport Auth0Lock from './index';\n// import Auth0LockPasswordless from './passwordless';\n\nif (typeof global.window.define == 'function' && global.window.define.amd) {\n global.window.define('auth0Lock', function () { return Auth0Lock; });\n // global.window.define('auth0LockPasswordless', function () { return Auth0LockPasswordless; });\n} else if (global.window) {\n global.window.Auth0Lock = Auth0Lock;\n // global.window.Auth0LockPasswordless = Auth0LockPasswordless;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/browser.js","'use strict';\n\nmodule.exports = require('./lib/React');\n\n\n\n// WEBPACK FOOTER //\n// ./~/react/react.js","import urljoin from 'url-join';\nimport Immutable, { List, Map, Set } from 'immutable';\nimport { isSmallScreen } from '../utils/media_utils';\nimport { endsWith } from '../utils/string_utils';\nimport { parseUrl } from '../utils/url_utils';\nimport * as i18n from '../i18n';\nimport trim from 'trim';\nimport * as gp from '../avatar/gravatar_provider';\nimport { dataFns } from '../utils/data_utils';\nimport { processSocialOptions } from '../connection/social/index';\nimport { clientConnections, hasFreeSubscription } from './client/index';\n\nconst {\n get,\n init,\n remove,\n reset,\n set,\n tget,\n tset,\n tremove\n} = dataFns([\"core\"]);\n\nconst { tset: tsetSocial } = dataFns([\"social\"]);\n\nexport function setup(id, clientID, domain, options, hookRunner, emitEventFn) {\n let m = init(id, Immutable.fromJS({\n clientBaseUrl: extractClientBaseUrlOption(options, domain),\n tenantBaseUrl: extractTenantBaseUrlOption(options, domain),\n languageBaseUrl: extractLanguageBaseUrlOption(options, domain),\n auth: extractAuthOptions(options),\n clientID: clientID,\n domain: domain,\n emitEventFn: emitEventFn,\n hookRunner: hookRunner,\n useTenantInfo: options.__useTenantInfo || false,\n hashCleanup: options.hashCleanup === false ? false : true,\n allowedConnections: Immutable.fromJS(options.allowedConnections || []),\n ui: extractUIOptions(id, options),\n defaultADUsernameFromEmailPrefix: options.defaultADUsernameFromEmailPrefix === false ? false : true\n }));\n\n m = i18n.initI18n(m);\n\n return m;\n}\n\nexport function id(m) {\n return m.get(\"id\");\n}\n\nexport function clientID(m) {\n return get(m, \"clientID\");\n}\n\nexport function domain(m) {\n return get(m, \"domain\");\n}\n\nexport function clientBaseUrl(m) {\n return get(m, \"clientBaseUrl\");\n}\n\nexport function tenantBaseUrl(m) {\n return get(m, \"tenantBaseUrl\");\n}\n\nexport function useTenantInfo(m) {\n return get(m, \"useTenantInfo\");\n}\n\nexport function languageBaseUrl(m) {\n return get(m, \"languageBaseUrl\");\n}\n\nexport function setSubmitting(m, value, error = \"\") {\n m = tset(m, \"submitting\", value);\n m = clearGlobalSuccess(m);\n m = error && !value ? setGlobalError(m, error) : clearGlobalError(m);\n return m;\n}\n\nexport function submitting(m) {\n return tget(m, \"submitting\", false);\n}\n\nexport function setGlobalError(m, str) {\n return tset(m, \"globalError\", str);\n}\n\nexport function globalError(m) {\n return tget(m, \"globalError\", \"\");\n}\n\nexport function clearGlobalError(m) {\n return tremove(m, \"globalError\");\n}\n\nexport function setGlobalSuccess(m, str) {\n return tset(m, \"globalSuccess\", str);\n}\n\nexport function globalSuccess(m) {\n return tget(m, \"globalSuccess\", \"\");\n}\n\nexport function clearGlobalSuccess(m) {\n return tremove(m, \"globalSuccess\");\n}\n\nexport function rendering(m) {\n return tget(m, \"render\", false);\n}\n\nexport function stopRendering(m) {\n return tremove(m, \"render\");\n}\n\nfunction extractUIOptions(id, options) {\n const closable = options.container ? false : undefined === options.closable ? true : !!options.closable;\n const theme = options.theme || {};\n const { labeledSubmitButton, logo, primaryColor, authButtons } = theme;\n\n const avatar = options.avatar !== null;\n const customAvatarProvider = options.avatar\n && typeof options.avatar.url === \"function\"\n && typeof options.avatar.displayName === \"function\"\n && options.avatar;\n const avatarProvider = customAvatarProvider || gp;\n\n return new Immutable.fromJS({\n containerID: options.container || `auth0-lock-container-${id}`,\n appendContainer: !options.container,\n autoclose: undefined === options.autoclose ? false : closable && options.autoclose,\n autofocus: undefined === options.autofocus ? !(options.container || isSmallScreen()) : !!options.autofocus,\n avatar: avatar,\n avatarProvider: avatarProvider,\n logo: typeof logo === \"string\" ? logo : undefined,\n closable: closable,\n labeledSubmitButton: undefined === labeledSubmitButton ? true : !!labeledSubmitButton,\n language: undefined === options.language ? \"en\" : trim(options.language || \"\").toLowerCase(),\n dict: typeof options.languageDictionary === \"object\" ? options.languageDictionary : {},\n disableWarnings: options.disableWarnings === undefined ? false : !!options.disableWarnings,\n mobile: undefined === options.mobile ? false : !!options.mobile,\n popupOptions: undefined === options.popupOptions ? {} : options.popupOptions,\n primaryColor: typeof primaryColor === \"string\" ? primaryColor : undefined,\n rememberLastLogin: undefined === options.rememberLastLogin ? true : !!options.rememberLastLogin,\n authButtonsTheme: typeof authButtons === \"object\" ? authButtons : {}\n });\n}\n\nconst {\n get: getUI,\n set: setUI\n} = dataFns([\"core\", \"ui\"]);\n\nconst {\n get: tgetUI,\n set: tsetUI\n} = dataFns([\"core\", \"transient\", \"ui\"]);\n\nconst getUIAttribute = (m, attribute) => {\n return tgetUI(m, attribute) || getUI(m, attribute);\n};\n\nexport const ui = {\n containerID: lock => getUIAttribute(lock, \"containerID\"),\n appendContainer: lock => getUIAttribute(lock, \"appendContainer\"),\n autoclose: lock => getUIAttribute(lock, \"autoclose\"),\n autofocus: lock => getUIAttribute(lock, \"autofocus\"),\n avatar: lock => getUIAttribute(lock, \"avatar\"),\n avatarProvider: lock => getUIAttribute(lock, \"avatarProvider\"),\n closable: lock => getUIAttribute(lock, \"closable\"),\n dict: lock => getUIAttribute(lock, \"dict\"),\n disableWarnings: lock => getUIAttribute(lock, \"disableWarnings\"),\n labeledSubmitButton: lock => getUIAttribute(lock, \"labeledSubmitButton\"),\n language: lock => getUIAttribute(lock, \"language\"),\n logo: lock => getUIAttribute(lock, \"logo\"),\n mobile: lock => getUIAttribute(lock, \"mobile\"),\n popupOptions: lock => getUIAttribute(lock, \"popupOptions\"),\n primaryColor: lock => getUIAttribute(lock, \"primaryColor\"),\n authButtonsTheme: lock => getUIAttribute(lock, \"authButtonsTheme\"),\n rememberLastLogin: m => tget(\n m,\n \"rememberLastLogin\",\n getUIAttribute(m, \"rememberLastLogin\")\n )\n};\n\nconst { get: getAuthAttribute } = dataFns([\"core\", \"auth\"]);\n\nexport const auth = {\n connectionScopes: m => getAuthAttribute(m, \"connectionScopes\"),\n params: m => tget(m, \"authParams\") || getAuthAttribute(m, \"params\"),\n redirect: lock => getAuthAttribute(lock, \"redirect\"),\n redirectUrl: lock => getAuthAttribute(lock, \"redirectUrl\"),\n responseType: lock => getAuthAttribute(lock, \"responseType\"),\n sso: lock => getAuthAttribute(lock, \"sso\")\n};\n\n\nfunction extractAuthOptions(options) {\n let {\n connectionScopes,\n params,\n redirect,\n redirectUrl,\n responseMode,\n responseType,\n sso\n } = options.auth || {};\n\n connectionScopes = typeof connectionScopes === \"object\" ? connectionScopes : {};\n params = typeof params === \"object\" ? params : {};\n redirectUrl = typeof redirectUrl === \"string\" && redirectUrl ? redirectUrl : undefined;\n redirect = typeof redirect === \"boolean\" ? redirect : true;\n responseMode = typeof responseMode === \"string\" ? responseMode : undefined;\n responseType = typeof responseType === \"string\" ? responseType : redirectUrl ? \"code\" : \"token\";\n\n sso = typeof sso === \"boolean\" ? sso : true;\n\n if (trim(params.scope || \"\") === \"openid profile\") {\n warn(options, \"Usage of scope 'openid profile' is not recommended. See https://auth0.com/docs/scopes for more details.\");\n }\n\n return Immutable.fromJS({\n connectionScopes,\n params,\n redirect,\n redirectUrl,\n responseMode,\n responseType,\n sso\n });\n}\n\nexport function withAuthOptions(m, opts) {\n return Immutable.fromJS(opts)\n .merge(get(m, \"auth\"))\n .toJS();\n}\n\nfunction extractClientBaseUrlOption(opts, domain) {\n if (opts.clientBaseUrl && typeof opts.clientBaseUrl === \"string\") {\n return opts.clientBaseUrl;\n }\n\n if (opts.configurationBaseUrl && typeof opts.configurationBaseUrl === \"string\") {\n return opts.configurationBaseUrl;\n }\n\n if (opts.assetsUrl && typeof opts.assetsUrl === \"string\") {\n return opts.assetsUrl;\n }\n\n const domainUrl = \"https://\" + domain;\n const hostname = parseUrl(domainUrl).hostname;\n const DOT_AUTH0_DOT_COM = \".auth0.com\";\n const AUTH0_US_CDN_URL = \"https://cdn.auth0.com\";\n if (endsWith(hostname, DOT_AUTH0_DOT_COM)) {\n const parts = hostname.split(\".\");\n return parts.length > 3\n ? \"https://cdn.\" + parts[parts.length - 3] + DOT_AUTH0_DOT_COM\n : AUTH0_US_CDN_URL;\n } else {\n return domainUrl;\n }\n}\n\nexport function extractTenantBaseUrlOption(opts, domain) {\n if (opts.configurationBaseUrl && typeof opts.configurationBaseUrl === \"string\") {\n return urljoin(opts.configurationBaseUrl, 'info-v1.js');\n }\n\n if (opts.assetsUrl && typeof opts.assetsUrl === \"string\") {\n return opts.assetsUrl;\n }\n\n const domainUrl = \"https://\" + domain;\n const hostname = parseUrl(domainUrl).hostname;\n const DOT_AUTH0_DOT_COM = \".auth0.com\";\n const AUTH0_US_CDN_URL = \"https://cdn.auth0.com\";\n\n const parts = hostname.split(\".\");\n const tenant_name = parts[0];\n var domain;\n\n if (endsWith(hostname, DOT_AUTH0_DOT_COM)) {\n domain = parts.length > 3\n ? \"https://cdn.\" + parts[parts.length - 3] + DOT_AUTH0_DOT_COM\n : AUTH0_US_CDN_URL;\n\n return urljoin(domain, 'tenants', 'v1', `${tenant_name}.js`);\n } else {\n return urljoin(domainUrl, 'info-v1.js');\n }\n\n}\n\nfunction extractLanguageBaseUrlOption(opts, domain) {\n if (opts.languageBaseUrl && typeof opts.languageBaseUrl === \"string\") {\n return opts.languageBaseUrl;\n }\n\n if (opts.assetsUrl && typeof opts.assetsUrl === \"string\") {\n return opts.assetsUrl;\n }\n\n return \"https://cdn.auth0.com\"\n}\n\n\nexport function render(m) {\n return tset(m, \"render\", true);\n}\n\nexport { reset };\n\nexport function setLoggedIn(m, value) {\n return tset(m, \"loggedIn\", value);\n}\n\nexport function loggedIn(m) {\n return tget(m, \"loggedIn\", false);\n}\n\nexport function defaultADUsernameFromEmailPrefix(m) {\n return get(m, \"defaultADUsernameFromEmailPrefix\", true);\n}\n\nexport function warn(x, str) {\n const shouldOutput = Map.isMap(x)\n ? !ui.disableWarnings(x)\n : !x.disableWarnings;\n\n if (shouldOutput && console && console.warn) {\n console.warn(str);\n }\n}\n\nexport function error(x, str) {\n const shouldOutput = Map.isMap(x)\n ? !ui.disableWarnings(x)\n : !x.disableWarnings;\n\n if (shouldOutput && console && console.error) {\n console.error(str);\n }\n}\n\nexport function allowedConnections(m) {\n return tget(m, \"allowedConnections\") || get(m, \"allowedConnections\");\n}\n\nexport function connections(m, type = undefined, ...strategies) {\n if (arguments.length === 1) {\n return tget(m, \"connections\", Map())\n .filter((v, k) => k !== \"unknown\")\n .valueSeq()\n .flatten(true);\n }\n\n const xs = tget(m, [\"connections\", type], List());\n return strategies.length > 0\n ? xs.filter(x => ~strategies.indexOf(x.get(\"strategy\")))\n : xs;\n}\n\nexport function connection(m, type = undefined, ...strategies) {\n return connections(m, type, ...strategies).get(0);\n}\n\nexport function hasOneConnection(m, type = undefined) {\n const xs = connections(m);\n return xs.count() === 1 && (!type || xs.getIn([0, \"type\"]) === type);\n}\n\nexport function hasOnlyConnections(m, type = undefined, ...strategies) {\n const all = connections(m).count();\n const filtered = connections(m, type, ...strategies).count();\n return all > 0 && all === filtered;\n}\n\nexport function hasSomeConnections(m, type = undefined, ...strategies) {\n return countConnections(m, type, ...strategies) > 0;\n}\n\nexport function countConnections(m, type = undefined, ...strategies) {\n return connections(m, type, ...strategies).count();\n}\n\nexport function findConnection(m, name) {\n return connections(m).find(m1 => m1.get(\"name\") === name);\n}\n\nexport function hasConnection(m, name) {\n return !!findConnection(m, name);\n}\n\nexport function filterConnections(m) {\n const allowed = allowedConnections(m);\n\n const order = allowed.count() === 0\n ? _ => 0\n : c => allowed.indexOf(c.get(\"name\"));\n\n return tset(\n m,\n \"connections\",\n clientConnections(m).map(cs => {\n return cs\n .filter(c => order(c) >= 0)\n .sort((c1, c2) => order(c1) - order(c2));\n })\n );\n}\n\nexport function runHook(m, str, ...args) {\n return get(m, \"hookRunner\")(str, m, ...args);\n}\n\nexport function emitEvent(m, str, ...args) {\n setTimeout(() => {\n const emitEventFn = get(m, \"emitEventFn\");\n const hadListener = emitEventFn(str, ...args);\n // Handle uncaught custom error\n if (str === \"unrecoverable_error\" && !hadListener) {\n throw new Error(...args);\n }\n }, 0);\n}\n\nexport function loginErrorMessage(m, error, type) {\n // NOTE: previous version of lock checked for status codes and, at\n // some point, if the status code was 401 it defaults to an\n // \"invalid_user_password\" error (actually the\n // \"wrongEmailPasswordErrorText\" dict entry) instead of checking\n // explicitly. We should figure out if there was a reason for that.\n\n if (error.status === 0) {\n return i18n.str(m, [\"error\", \"login\", \"lock.network\"]);\n }\n\n // Custom rule error (except blocked_user)\n if (error.code === \"rule_error\") {\n return error.description\n || i18n.str(m, [\"error\", \"login\", \"lock.fallback\"]);\n }\n\n const INVALID_MAP = {\n code: \"lock.invalid_code\",\n email: \"lock.invalid_email_password\",\n username: \"lock.invalid_username_password\"\n };\n\n let code = error.error || error.code;\n if (code === \"invalid_user_password\" && INVALID_MAP[type]) {\n code = INVALID_MAP[type];\n }\n\n if (code === \"a0.mfa_registration_required\") {\n code = \"lock.mfa_registration_required\";\n }\n\n if (code === \"a0.mfa_invalid_code\") {\n code = \"lock.mfa_invalid_code\";\n }\n\n return i18n.str(m, [\"error\", \"login\", code])\n || i18n.str(m, [\"error\", \"login\", \"lock.fallback\"]);\n}\n\n// TODO: rename to something less generic that is easier to grep\nexport function stop(m, error) {\n if (error) {\n setTimeout(() => emitEvent(m, \"unrecoverable_error\", error), 17);\n }\n\n return set(m, \"stopped\", true);\n}\n\nexport function hasStopped(m) {\n return get(m, \"stopped\");\n}\n\nexport function hashCleanup(m) {\n return get(m, \"hashCleanup\");\n}\n\nexport function emitHashParsedEvent(m, parsedHash) {\n emitEvent(m, \"hash_parsed\", parsedHash);\n}\n\nexport function emitAuthenticatedEvent(m, result) {\n emitEvent(m, \"authenticated\", result);\n}\n\nexport function emitAuthorizationErrorEvent(m, error) {\n emitEvent(m, \"authorization_error\", error);\n}\n\nexport function emitUnrecoverableErrorEvent(m, error) {\n emitEvent(m, \"unrecoverable_error\", error);\n}\n\nexport function showBadge(m) {\n return hasFreeSubscription(m) || false;\n}\n\nexport function overrideOptions(m, opts) {\n if (!opts) opts = {};\n\n if (opts.allowedConnections) {\n m = tset(m, \"allowedConnections\", Immutable.fromJS(opts.allowedConnections));\n }\n\n if (opts.socialButtonStyle) {\n let curated = processSocialOptions(opts);\n m = tsetSocial(m, \"socialButtonStyle\", curated.socialButtonStyle);\n }\n\n if (opts.flashMessage) {\n const key = \"success\" === opts.flashMessage.type ? \"globalSuccess\" : \"globalError\";\n m = tset(m, key, opts.flashMessage.text);\n }\n\n if (opts.auth && opts.auth.params) {\n m = tset(m, \"authParams\", Immutable.fromJS(opts.auth.params));\n }\n\n if (opts.theme) {\n if (opts.theme.primaryColor) {\n m = tset(m, [\"ui\", \"primaryColor\"], opts.theme.primaryColor);\n }\n\n if (opts.theme.logo) {\n m = tset(m, [\"ui\", \"logo\"], opts.theme.logo);\n }\n }\n\n if (opts.language || opts.languageDictionary) {\n\n if (opts.language) {\n m = tset(m, [\"ui\", \"language\"], opts.language);\n }\n\n if (opts.languageDictionary) {\n m = tset(m, [\"ui\", \"dict\"], opts.languageDictionary);\n }\n\n m = i18n.initI18n(m);\n }\n\n if (typeof opts.rememberLastLogin === \"boolean\") {\n m = tset(m, \"rememberLastLogin\", opts.rememberLastLogin);\n }\n\n return m;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/core/index.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/invariant.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n'use strict';\n\n/**\n * WARNING: DO NOT manually require this module.\n * This is a replacement for `invariant(...)` used by the error code system\n * and will _only_ be required by the corresponding babel pass.\n * It always throws.\n */\n\nfunction reactProdInvariant(code) {\n var argCount = arguments.length - 1;\n\n var message = 'Minified React error #' + code + '; visit ' + 'http://facebook.github.io/react/docs/error-decoder.html?invariant=' + code;\n\n for (var argIdx = 0; argIdx < argCount; argIdx++) {\n message += '&args[]=' + encodeURIComponent(arguments[argIdx + 1]);\n }\n\n message += ' for the full message or use the non-minified dev environment' + ' for full errors and additional helpful warnings.';\n\n var error = new Error(message);\n error.name = 'Invariant Violation';\n error.framesToPop = 1; // we don't care about reactProdInvariant's own frame\n\n throw error;\n}\n\nmodule.exports = reactProdInvariant;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/reactProdInvariant.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar DOMProperty = require('./DOMProperty');\nvar ReactDOMComponentFlags = require('./ReactDOMComponentFlags');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;\nvar Flags = ReactDOMComponentFlags;\n\nvar internalInstanceKey = '__reactInternalInstance$' + Math.random().toString(36).slice(2);\n\n/**\n * Drill down (through composites and empty components) until we get a host or\n * host text component.\n *\n * This is pretty polymorphic but unavoidable with the current structure we have\n * for `_renderedChildren`.\n */\nfunction getRenderedHostOrTextFromComponent(component) {\n var rendered;\n while (rendered = component._renderedComponent) {\n component = rendered;\n }\n return component;\n}\n\n/**\n * Populate `_hostNode` on the rendered host/text component with the given\n * DOM node. The passed `inst` can be a composite.\n */\nfunction precacheNode(inst, node) {\n var hostInst = getRenderedHostOrTextFromComponent(inst);\n hostInst._hostNode = node;\n node[internalInstanceKey] = hostInst;\n}\n\nfunction uncacheNode(inst) {\n var node = inst._hostNode;\n if (node) {\n delete node[internalInstanceKey];\n inst._hostNode = null;\n }\n}\n\n/**\n * Populate `_hostNode` on each child of `inst`, assuming that the children\n * match up with the DOM (element) children of `node`.\n *\n * We cache entire levels at once to avoid an n^2 problem where we access the\n * children of a node sequentially and have to walk from the start to our target\n * node every time.\n *\n * Since we update `_renderedChildren` and the actual DOM at (slightly)\n * different times, we could race here and see a newer `_renderedChildren` than\n * the DOM nodes we see. To avoid this, ReactMultiChild calls\n * `prepareToManageChildren` before we change `_renderedChildren`, at which\n * time the container's child nodes are always cached (until it unmounts).\n */\nfunction precacheChildNodes(inst, node) {\n if (inst._flags & Flags.hasCachedChildNodes) {\n return;\n }\n var children = inst._renderedChildren;\n var childNode = node.firstChild;\n outer: for (var name in children) {\n if (!children.hasOwnProperty(name)) {\n continue;\n }\n var childInst = children[name];\n var childID = getRenderedHostOrTextFromComponent(childInst)._domID;\n if (childID === 0) {\n // We're currently unmounting this child in ReactMultiChild; skip it.\n continue;\n }\n // We assume the child nodes are in the same order as the child instances.\n for (; childNode !== null; childNode = childNode.nextSibling) {\n if (childNode.nodeType === 1 && childNode.getAttribute(ATTR_NAME) === String(childID) || childNode.nodeType === 8 && childNode.nodeValue === ' react-text: ' + childID + ' ' || childNode.nodeType === 8 && childNode.nodeValue === ' react-empty: ' + childID + ' ') {\n precacheNode(childInst, childNode);\n continue outer;\n }\n }\n // We reached the end of the DOM children without finding an ID match.\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Unable to find element with ID %s.', childID) : _prodInvariant('32', childID) : void 0;\n }\n inst._flags |= Flags.hasCachedChildNodes;\n}\n\n/**\n * Given a DOM node, return the closest ReactDOMComponent or\n * ReactDOMTextComponent instance ancestor.\n */\nfunction getClosestInstanceFromNode(node) {\n if (node[internalInstanceKey]) {\n return node[internalInstanceKey];\n }\n\n // Walk up the tree until we find an ancestor whose instance we have cached.\n var parents = [];\n while (!node[internalInstanceKey]) {\n parents.push(node);\n if (node.parentNode) {\n node = node.parentNode;\n } else {\n // Top of the tree. This node must not be part of a React tree (or is\n // unmounted, potentially).\n return null;\n }\n }\n\n var closest;\n var inst;\n for (; node && (inst = node[internalInstanceKey]); node = parents.pop()) {\n closest = inst;\n if (parents.length) {\n precacheChildNodes(inst, node);\n }\n }\n\n return closest;\n}\n\n/**\n * Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent\n * instance, or null if the node was not rendered by this React.\n */\nfunction getInstanceFromNode(node) {\n var inst = getClosestInstanceFromNode(node);\n if (inst != null && inst._hostNode === node) {\n return inst;\n } else {\n return null;\n }\n}\n\n/**\n * Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding\n * DOM node.\n */\nfunction getNodeFromInstance(inst) {\n // Without this first invariant, passing a non-DOM-component triggers the next\n // invariant for a missing parent, which is super confusing.\n !(inst._hostNode !== undefined) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n\n if (inst._hostNode) {\n return inst._hostNode;\n }\n\n // Walk up the tree until we find an ancestor whose DOM node we have cached.\n var parents = [];\n while (!inst._hostNode) {\n parents.push(inst);\n !inst._hostParent ? process.env.NODE_ENV !== 'production' ? invariant(false, 'React DOM tree root should always have a node reference.') : _prodInvariant('34') : void 0;\n inst = inst._hostParent;\n }\n\n // Now parents contains each ancestor that does *not* have a cached native\n // node, and `inst` is the deepest ancestor that does.\n for (; parents.length; inst = parents.pop()) {\n precacheChildNodes(inst, inst._hostNode);\n }\n\n return inst._hostNode;\n}\n\nvar ReactDOMComponentTree = {\n getClosestInstanceFromNode: getClosestInstanceFromNode,\n getInstanceFromNode: getInstanceFromNode,\n getNodeFromInstance: getNodeFromInstance,\n precacheChildNodes: precacheChildNodes,\n precacheNode: precacheNode,\n uncacheNode: uncacheNode\n};\n\nmodule.exports = ReactDOMComponentTree;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMComponentTree.js","'use strict';\n/* eslint-disable no-unused-vars */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (e) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (Object.getOwnPropertySymbols) {\n\t\t\tsymbols = Object.getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/object-assign/index.js","import React from 'react';\nimport { Map } from 'immutable';\nimport trim from 'trim';\nimport OptionSelectionPane from './option_selection_pane';\nimport * as l from '../core/index';\n\nexport function setField(m, field, value, validator = str => trim(str).length > 0, ...args) {\n const prevValue = m.getIn([\"field\", field, \"value\"]);\n const prevShowInvalid = m.getIn([\"field\", field, \"showInvalid\"], false);\n const validation = validate(validator, value, ...args);\n\n return m.mergeIn([\"field\", field], validation, Map({\n value: value,\n showInvalid: prevShowInvalid && prevValue === value\n }));\n}\n\nfunction validate(validator, value, ...args) {\n if (typeof validator != \"function\") return Map({valid: true});\n\n const validation = validator(value, ...args);\n return validation && typeof validation === \"object\"\n ? Map({valid: validation.valid, invalidHint: validation.hint})\n : Map({valid: !!validation});\n}\n\n// TODO: this should handle icons, and everything.\n// TODO: also there should be a similar fn for regular fields.\nexport function registerOptionField(m, field, options, initialValue) {\n let valid = true, hasInitial = !initialValue, initialOption;\n options.forEach(x => {\n valid = valid\n && x.get(\"label\") && typeof x.get(\"label\") === \"string\"\n && x.get(\"value\") && typeof x.get(\"value\") === \"string\";\n\n if (!hasInitial && x.get(\"value\") === initialValue) {\n initialOption = x;\n hasInitial = true;\n }\n });\n\n if (!valid || !options.size) {\n const stopError = new Error(`The options provided for the \"${field}\" field are invalid, they must have the following format: {label: \"non-empty string\", value: \"non-empty string\"} and there has to be at least one option.`);\n stopError.code = \"invalid_select_field\";\n // TODO: in the future we might want to return the result of the\n // operation along with the model insteand of stopping the\n // rendering, like [false, m] in the case of failure and [true, m]\n // in the case of success.\n return l.stop(m, stopError);\n }\n\n if (!initialOption) initialOption = Map({});\n\n return m.mergeIn([\"field\", field], initialOption, Map({\n options: options,\n showInvalid: false,\n valid: !initialOption.isEmpty()\n }));\n}\n\nexport function setOptionField(m, field, option) {\n return m.mergeIn([\"field\", field], option.merge(Map({\n valid: true,\n showInvalid: false\n })));\n}\n\nexport function isFieldValid(m, field) {\n return m.getIn([\"field\", field, \"valid\"]);\n}\n\nexport function getFieldInvalidHint(m, field) {\n return m.getIn([\"field\", field, \"invalidHint\"], \"\");\n}\n\nexport function isFieldVisiblyInvalid(m, field) {\n return m.getIn([\"field\", field, \"showInvalid\"], false)\n && !m.getIn([\"field\", field, \"valid\"]);\n}\n\nexport function showInvalidField(m, field) {\n return m.setIn([\"field\", field, \"showInvalid\"], !isFieldValid(m, field));\n}\n\nexport function hideInvalidFields(m) {\n return m.update(\"field\", fields => {\n\n return fields && fields.map(field => field.set(\"showInvalid\", false));\n });\n}\n\n// TODO: only used in passwordless, when we update it to use\n// validateAndSubmit this won't be needed anymore.\nexport function setFieldShowInvalid(m, field, value) {\n return m.setIn([\"field\", field, \"showInvalid\"], value);\n}\n\nexport function clearFields(m, fields) {\n let keyPaths;\n\n if (!fields || fields.length === 0) {\n keyPaths = [\"field\"];\n } else {\n keyPaths = fields.map(x => [\"field\", x]);\n }\n\n return keyPaths.reduce((r, v) => r.removeIn(v), m);\n}\n\nexport function getField(m, field, notFound=new Map({})) {\n return m.getIn([\"field\", field], notFound);\n}\n\nexport function getFieldValue(m, field, notFound=\"\") {\n return getField(m, field).get(\"value\", notFound);\n}\n\nexport function getFieldLabel(m, field, notFound=\"\") {\n return getField(m, field).get(\"label\", notFound);\n}\n\n// phone number\n\nexport function phoneNumber(lock) {\n return lock.getIn([\"field\", \"phoneNumber\", \"value\"], \"\");\n}\n\n// email\n\nexport function email(m) {\n return getFieldValue(m, \"email\");\n}\n\n// vcode\n\nexport function vcode(m) {\n return getFieldValue(m, \"vcode\");\n}\n\n// password\n\nexport function password(m) {\n return getFieldValue(m, \"password\");\n}\n\n// username\n\nexport function username(m) {\n return getFieldValue(m, \"username\");\n}\n\n// mfa_code\n\nexport function mfaCode(m) {\n return getFieldValue(m, \"mfa_code\");\n}\n\n// select field options\n\nexport function isSelecting(m) {\n return !!m.getIn([\"field\", \"selecting\"]);\n}\n\nexport function renderOptionSelection(m) {\n const name = m.getIn([\"field\", \"selecting\", \"name\"]);\n return isSelecting(m)\n ? <OptionSelectionPane\n model={m}\n name={name}\n icon={m.getIn([\"field\", \"selecting\", \"icon\"])}\n iconUrl={m.getIn([\"field\", \"selecting\", \"iconUrl\"])}\n items={m.getIn([\"field\", name, \"options\"])}\n />\n : null;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/index.js","/**\n * Copyright (c) 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global.Immutable = factory());\n}(this, function () { 'use strict';var SLICE$0 = Array.prototype.slice;\n\n function createClass(ctor, superClass) {\n if (superClass) {\n ctor.prototype = Object.create(superClass.prototype);\n }\n ctor.prototype.constructor = ctor;\n }\n\n function Iterable(value) {\n return isIterable(value) ? value : Seq(value);\n }\n\n\n createClass(KeyedIterable, Iterable);\n function KeyedIterable(value) {\n return isKeyed(value) ? value : KeyedSeq(value);\n }\n\n\n createClass(IndexedIterable, Iterable);\n function IndexedIterable(value) {\n return isIndexed(value) ? value : IndexedSeq(value);\n }\n\n\n createClass(SetIterable, Iterable);\n function SetIterable(value) {\n return isIterable(value) && !isAssociative(value) ? value : SetSeq(value);\n }\n\n\n\n function isIterable(maybeIterable) {\n return !!(maybeIterable && maybeIterable[IS_ITERABLE_SENTINEL]);\n }\n\n function isKeyed(maybeKeyed) {\n return !!(maybeKeyed && maybeKeyed[IS_KEYED_SENTINEL]);\n }\n\n function isIndexed(maybeIndexed) {\n return !!(maybeIndexed && maybeIndexed[IS_INDEXED_SENTINEL]);\n }\n\n function isAssociative(maybeAssociative) {\n return isKeyed(maybeAssociative) || isIndexed(maybeAssociative);\n }\n\n function isOrdered(maybeOrdered) {\n return !!(maybeOrdered && maybeOrdered[IS_ORDERED_SENTINEL]);\n }\n\n Iterable.isIterable = isIterable;\n Iterable.isKeyed = isKeyed;\n Iterable.isIndexed = isIndexed;\n Iterable.isAssociative = isAssociative;\n Iterable.isOrdered = isOrdered;\n\n Iterable.Keyed = KeyedIterable;\n Iterable.Indexed = IndexedIterable;\n Iterable.Set = SetIterable;\n\n\n var IS_ITERABLE_SENTINEL = '@@__IMMUTABLE_ITERABLE__@@';\n var IS_KEYED_SENTINEL = '@@__IMMUTABLE_KEYED__@@';\n var IS_INDEXED_SENTINEL = '@@__IMMUTABLE_INDEXED__@@';\n var IS_ORDERED_SENTINEL = '@@__IMMUTABLE_ORDERED__@@';\n\n // Used for setting prototype methods that IE8 chokes on.\n var DELETE = 'delete';\n\n // Constants describing the size of trie nodes.\n var SHIFT = 5; // Resulted in best performance after ______?\n var SIZE = 1 << SHIFT;\n var MASK = SIZE - 1;\n\n // A consistent shared value representing \"not set\" which equals nothing other\n // than itself, and nothing that could be provided externally.\n var NOT_SET = {};\n\n // Boolean references, Rough equivalent of `bool &`.\n var CHANGE_LENGTH = { value: false };\n var DID_ALTER = { value: false };\n\n function MakeRef(ref) {\n ref.value = false;\n return ref;\n }\n\n function SetRef(ref) {\n ref && (ref.value = true);\n }\n\n // A function which returns a value representing an \"owner\" for transient writes\n // to tries. The return value will only ever equal itself, and will not equal\n // the return of any subsequent call of this function.\n function OwnerID() {}\n\n // http://jsperf.com/copy-array-inline\n function arrCopy(arr, offset) {\n offset = offset || 0;\n var len = Math.max(0, arr.length - offset);\n var newArr = new Array(len);\n for (var ii = 0; ii < len; ii++) {\n newArr[ii] = arr[ii + offset];\n }\n return newArr;\n }\n\n function ensureSize(iter) {\n if (iter.size === undefined) {\n iter.size = iter.__iterate(returnTrue);\n }\n return iter.size;\n }\n\n function wrapIndex(iter, index) {\n // This implements \"is array index\" which the ECMAString spec defines as:\n //\n // A String property name P is an array index if and only if\n // ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal\n // to 2^32−1.\n //\n // http://www.ecma-international.org/ecma-262/6.0/#sec-array-exotic-objects\n if (typeof index !== 'number') {\n var uint32Index = index >>> 0; // N >>> 0 is shorthand for ToUint32\n if ('' + uint32Index !== index || uint32Index === 4294967295) {\n return NaN;\n }\n index = uint32Index;\n }\n return index < 0 ? ensureSize(iter) + index : index;\n }\n\n function returnTrue() {\n return true;\n }\n\n function wholeSlice(begin, end, size) {\n return (begin === 0 || (size !== undefined && begin <= -size)) &&\n (end === undefined || (size !== undefined && end >= size));\n }\n\n function resolveBegin(begin, size) {\n return resolveIndex(begin, size, 0);\n }\n\n function resolveEnd(end, size) {\n return resolveIndex(end, size, size);\n }\n\n function resolveIndex(index, size, defaultIndex) {\n return index === undefined ?\n defaultIndex :\n index < 0 ?\n Math.max(0, size + index) :\n size === undefined ?\n index :\n Math.min(size, index);\n }\n\n /* global Symbol */\n\n var ITERATE_KEYS = 0;\n var ITERATE_VALUES = 1;\n var ITERATE_ENTRIES = 2;\n\n var REAL_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator';\n\n var ITERATOR_SYMBOL = REAL_ITERATOR_SYMBOL || FAUX_ITERATOR_SYMBOL;\n\n\n function Iterator(next) {\n this.next = next;\n }\n\n Iterator.prototype.toString = function() {\n return '[Iterator]';\n };\n\n\n Iterator.KEYS = ITERATE_KEYS;\n Iterator.VALUES = ITERATE_VALUES;\n Iterator.ENTRIES = ITERATE_ENTRIES;\n\n Iterator.prototype.inspect =\n Iterator.prototype.toSource = function () { return this.toString(); }\n Iterator.prototype[ITERATOR_SYMBOL] = function () {\n return this;\n };\n\n\n function iteratorValue(type, k, v, iteratorResult) {\n var value = type === 0 ? k : type === 1 ? v : [k, v];\n iteratorResult ? (iteratorResult.value = value) : (iteratorResult = {\n value: value, done: false\n });\n return iteratorResult;\n }\n\n function iteratorDone() {\n return { value: undefined, done: true };\n }\n\n function hasIterator(maybeIterable) {\n return !!getIteratorFn(maybeIterable);\n }\n\n function isIterator(maybeIterator) {\n return maybeIterator && typeof maybeIterator.next === 'function';\n }\n\n function getIterator(iterable) {\n var iteratorFn = getIteratorFn(iterable);\n return iteratorFn && iteratorFn.call(iterable);\n }\n\n function getIteratorFn(iterable) {\n var iteratorFn = iterable && (\n (REAL_ITERATOR_SYMBOL && iterable[REAL_ITERATOR_SYMBOL]) ||\n iterable[FAUX_ITERATOR_SYMBOL]\n );\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n function isArrayLike(value) {\n return value && typeof value.length === 'number';\n }\n\n createClass(Seq, Iterable);\n function Seq(value) {\n return value === null || value === undefined ? emptySequence() :\n isIterable(value) ? value.toSeq() : seqFromValue(value);\n }\n\n Seq.of = function(/*...values*/) {\n return Seq(arguments);\n };\n\n Seq.prototype.toSeq = function() {\n return this;\n };\n\n Seq.prototype.toString = function() {\n return this.__toString('Seq {', '}');\n };\n\n Seq.prototype.cacheResult = function() {\n if (!this._cache && this.__iterateUncached) {\n this._cache = this.entrySeq().toArray();\n this.size = this._cache.length;\n }\n return this;\n };\n\n // abstract __iterateUncached(fn, reverse)\n\n Seq.prototype.__iterate = function(fn, reverse) {\n return seqIterate(this, fn, reverse, true);\n };\n\n // abstract __iteratorUncached(type, reverse)\n\n Seq.prototype.__iterator = function(type, reverse) {\n return seqIterator(this, type, reverse, true);\n };\n\n\n\n createClass(KeyedSeq, Seq);\n function KeyedSeq(value) {\n return value === null || value === undefined ?\n emptySequence().toKeyedSeq() :\n isIterable(value) ?\n (isKeyed(value) ? value.toSeq() : value.fromEntrySeq()) :\n keyedSeqFromValue(value);\n }\n\n KeyedSeq.prototype.toKeyedSeq = function() {\n return this;\n };\n\n\n\n createClass(IndexedSeq, Seq);\n function IndexedSeq(value) {\n return value === null || value === undefined ? emptySequence() :\n !isIterable(value) ? indexedSeqFromValue(value) :\n isKeyed(value) ? value.entrySeq() : value.toIndexedSeq();\n }\n\n IndexedSeq.of = function(/*...values*/) {\n return IndexedSeq(arguments);\n };\n\n IndexedSeq.prototype.toIndexedSeq = function() {\n return this;\n };\n\n IndexedSeq.prototype.toString = function() {\n return this.__toString('Seq [', ']');\n };\n\n IndexedSeq.prototype.__iterate = function(fn, reverse) {\n return seqIterate(this, fn, reverse, false);\n };\n\n IndexedSeq.prototype.__iterator = function(type, reverse) {\n return seqIterator(this, type, reverse, false);\n };\n\n\n\n createClass(SetSeq, Seq);\n function SetSeq(value) {\n return (\n value === null || value === undefined ? emptySequence() :\n !isIterable(value) ? indexedSeqFromValue(value) :\n isKeyed(value) ? value.entrySeq() : value\n ).toSetSeq();\n }\n\n SetSeq.of = function(/*...values*/) {\n return SetSeq(arguments);\n };\n\n SetSeq.prototype.toSetSeq = function() {\n return this;\n };\n\n\n\n Seq.isSeq = isSeq;\n Seq.Keyed = KeyedSeq;\n Seq.Set = SetSeq;\n Seq.Indexed = IndexedSeq;\n\n var IS_SEQ_SENTINEL = '@@__IMMUTABLE_SEQ__@@';\n\n Seq.prototype[IS_SEQ_SENTINEL] = true;\n\n\n\n createClass(ArraySeq, IndexedSeq);\n function ArraySeq(array) {\n this._array = array;\n this.size = array.length;\n }\n\n ArraySeq.prototype.get = function(index, notSetValue) {\n return this.has(index) ? this._array[wrapIndex(this, index)] : notSetValue;\n };\n\n ArraySeq.prototype.__iterate = function(fn, reverse) {\n var array = this._array;\n var maxIndex = array.length - 1;\n for (var ii = 0; ii <= maxIndex; ii++) {\n if (fn(array[reverse ? maxIndex - ii : ii], ii, this) === false) {\n return ii + 1;\n }\n }\n return ii;\n };\n\n ArraySeq.prototype.__iterator = function(type, reverse) {\n var array = this._array;\n var maxIndex = array.length - 1;\n var ii = 0;\n return new Iterator(function() \n {return ii > maxIndex ?\n iteratorDone() :\n iteratorValue(type, ii, array[reverse ? maxIndex - ii++ : ii++])}\n );\n };\n\n\n\n createClass(ObjectSeq, KeyedSeq);\n function ObjectSeq(object) {\n var keys = Object.keys(object);\n this._object = object;\n this._keys = keys;\n this.size = keys.length;\n }\n\n ObjectSeq.prototype.get = function(key, notSetValue) {\n if (notSetValue !== undefined && !this.has(key)) {\n return notSetValue;\n }\n return this._object[key];\n };\n\n ObjectSeq.prototype.has = function(key) {\n return this._object.hasOwnProperty(key);\n };\n\n ObjectSeq.prototype.__iterate = function(fn, reverse) {\n var object = this._object;\n var keys = this._keys;\n var maxIndex = keys.length - 1;\n for (var ii = 0; ii <= maxIndex; ii++) {\n var key = keys[reverse ? maxIndex - ii : ii];\n if (fn(object[key], key, this) === false) {\n return ii + 1;\n }\n }\n return ii;\n };\n\n ObjectSeq.prototype.__iterator = function(type, reverse) {\n var object = this._object;\n var keys = this._keys;\n var maxIndex = keys.length - 1;\n var ii = 0;\n return new Iterator(function() {\n var key = keys[reverse ? maxIndex - ii : ii];\n return ii++ > maxIndex ?\n iteratorDone() :\n iteratorValue(type, key, object[key]);\n });\n };\n\n ObjectSeq.prototype[IS_ORDERED_SENTINEL] = true;\n\n\n createClass(IterableSeq, IndexedSeq);\n function IterableSeq(iterable) {\n this._iterable = iterable;\n this.size = iterable.length || iterable.size;\n }\n\n IterableSeq.prototype.__iterateUncached = function(fn, reverse) {\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var iterable = this._iterable;\n var iterator = getIterator(iterable);\n var iterations = 0;\n if (isIterator(iterator)) {\n var step;\n while (!(step = iterator.next()).done) {\n if (fn(step.value, iterations++, this) === false) {\n break;\n }\n }\n }\n return iterations;\n };\n\n IterableSeq.prototype.__iteratorUncached = function(type, reverse) {\n if (reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n var iterable = this._iterable;\n var iterator = getIterator(iterable);\n if (!isIterator(iterator)) {\n return new Iterator(iteratorDone);\n }\n var iterations = 0;\n return new Iterator(function() {\n var step = iterator.next();\n return step.done ? step : iteratorValue(type, iterations++, step.value);\n });\n };\n\n\n\n createClass(IteratorSeq, IndexedSeq);\n function IteratorSeq(iterator) {\n this._iterator = iterator;\n this._iteratorCache = [];\n }\n\n IteratorSeq.prototype.__iterateUncached = function(fn, reverse) {\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var iterator = this._iterator;\n var cache = this._iteratorCache;\n var iterations = 0;\n while (iterations < cache.length) {\n if (fn(cache[iterations], iterations++, this) === false) {\n return iterations;\n }\n }\n var step;\n while (!(step = iterator.next()).done) {\n var val = step.value;\n cache[iterations] = val;\n if (fn(val, iterations++, this) === false) {\n break;\n }\n }\n return iterations;\n };\n\n IteratorSeq.prototype.__iteratorUncached = function(type, reverse) {\n if (reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n var iterator = this._iterator;\n var cache = this._iteratorCache;\n var iterations = 0;\n return new Iterator(function() {\n if (iterations >= cache.length) {\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n cache[iterations] = step.value;\n }\n return iteratorValue(type, iterations, cache[iterations++]);\n });\n };\n\n\n\n\n // # pragma Helper functions\n\n function isSeq(maybeSeq) {\n return !!(maybeSeq && maybeSeq[IS_SEQ_SENTINEL]);\n }\n\n var EMPTY_SEQ;\n\n function emptySequence() {\n return EMPTY_SEQ || (EMPTY_SEQ = new ArraySeq([]));\n }\n\n function keyedSeqFromValue(value) {\n var seq =\n Array.isArray(value) ? new ArraySeq(value).fromEntrySeq() :\n isIterator(value) ? new IteratorSeq(value).fromEntrySeq() :\n hasIterator(value) ? new IterableSeq(value).fromEntrySeq() :\n typeof value === 'object' ? new ObjectSeq(value) :\n undefined;\n if (!seq) {\n throw new TypeError(\n 'Expected Array or iterable object of [k, v] entries, '+\n 'or keyed object: ' + value\n );\n }\n return seq;\n }\n\n function indexedSeqFromValue(value) {\n var seq = maybeIndexedSeqFromValue(value);\n if (!seq) {\n throw new TypeError(\n 'Expected Array or iterable object of values: ' + value\n );\n }\n return seq;\n }\n\n function seqFromValue(value) {\n var seq = maybeIndexedSeqFromValue(value) ||\n (typeof value === 'object' && new ObjectSeq(value));\n if (!seq) {\n throw new TypeError(\n 'Expected Array or iterable object of values, or keyed object: ' + value\n );\n }\n return seq;\n }\n\n function maybeIndexedSeqFromValue(value) {\n return (\n isArrayLike(value) ? new ArraySeq(value) :\n isIterator(value) ? new IteratorSeq(value) :\n hasIterator(value) ? new IterableSeq(value) :\n undefined\n );\n }\n\n function seqIterate(seq, fn, reverse, useKeys) {\n var cache = seq._cache;\n if (cache) {\n var maxIndex = cache.length - 1;\n for (var ii = 0; ii <= maxIndex; ii++) {\n var entry = cache[reverse ? maxIndex - ii : ii];\n if (fn(entry[1], useKeys ? entry[0] : ii, seq) === false) {\n return ii + 1;\n }\n }\n return ii;\n }\n return seq.__iterateUncached(fn, reverse);\n }\n\n function seqIterator(seq, type, reverse, useKeys) {\n var cache = seq._cache;\n if (cache) {\n var maxIndex = cache.length - 1;\n var ii = 0;\n return new Iterator(function() {\n var entry = cache[reverse ? maxIndex - ii : ii];\n return ii++ > maxIndex ?\n iteratorDone() :\n iteratorValue(type, useKeys ? entry[0] : ii - 1, entry[1]);\n });\n }\n return seq.__iteratorUncached(type, reverse);\n }\n\n function fromJS(json, converter) {\n return converter ?\n fromJSWith(converter, json, '', {'': json}) :\n fromJSDefault(json);\n }\n\n function fromJSWith(converter, json, key, parentJSON) {\n if (Array.isArray(json)) {\n return converter.call(parentJSON, key, IndexedSeq(json).map(function(v, k) {return fromJSWith(converter, v, k, json)}));\n }\n if (isPlainObj(json)) {\n return converter.call(parentJSON, key, KeyedSeq(json).map(function(v, k) {return fromJSWith(converter, v, k, json)}));\n }\n return json;\n }\n\n function fromJSDefault(json) {\n if (Array.isArray(json)) {\n return IndexedSeq(json).map(fromJSDefault).toList();\n }\n if (isPlainObj(json)) {\n return KeyedSeq(json).map(fromJSDefault).toMap();\n }\n return json;\n }\n\n function isPlainObj(value) {\n return value && (value.constructor === Object || value.constructor === undefined);\n }\n\n /**\n * An extension of the \"same-value\" algorithm as [described for use by ES6 Map\n * and Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#Key_equality)\n *\n * NaN is considered the same as NaN, however -0 and 0 are considered the same\n * value, which is different from the algorithm described by\n * [`Object.is`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).\n *\n * This is extended further to allow Objects to describe the values they\n * represent, by way of `valueOf` or `equals` (and `hashCode`).\n *\n * Note: because of this extension, the key equality of Immutable.Map and the\n * value equality of Immutable.Set will differ from ES6 Map and Set.\n *\n * ### Defining custom values\n *\n * The easiest way to describe the value an object represents is by implementing\n * `valueOf`. For example, `Date` represents a value by returning a unix\n * timestamp for `valueOf`:\n *\n * var date1 = new Date(1234567890000); // Fri Feb 13 2009 ...\n * var date2 = new Date(1234567890000);\n * date1.valueOf(); // 1234567890000\n * assert( date1 !== date2 );\n * assert( Immutable.is( date1, date2 ) );\n *\n * Note: overriding `valueOf` may have other implications if you use this object\n * where JavaScript expects a primitive, such as implicit string coercion.\n *\n * For more complex types, especially collections, implementing `valueOf` may\n * not be performant. An alternative is to implement `equals` and `hashCode`.\n *\n * `equals` takes another object, presumably of similar type, and returns true\n * if the it is equal. Equality is symmetrical, so the same result should be\n * returned if this and the argument are flipped.\n *\n * assert( a.equals(b) === b.equals(a) );\n *\n * `hashCode` returns a 32bit integer number representing the object which will\n * be used to determine how to store the value object in a Map or Set. You must\n * provide both or neither methods, one must not exist without the other.\n *\n * Also, an important relationship between these methods must be upheld: if two\n * values are equal, they *must* return the same hashCode. If the values are not\n * equal, they might have the same hashCode; this is called a hash collision,\n * and while undesirable for performance reasons, it is acceptable.\n *\n * if (a.equals(b)) {\n * assert( a.hashCode() === b.hashCode() );\n * }\n *\n * All Immutable collections implement `equals` and `hashCode`.\n *\n */\n function is(valueA, valueB) {\n if (valueA === valueB || (valueA !== valueA && valueB !== valueB)) {\n return true;\n }\n if (!valueA || !valueB) {\n return false;\n }\n if (typeof valueA.valueOf === 'function' &&\n typeof valueB.valueOf === 'function') {\n valueA = valueA.valueOf();\n valueB = valueB.valueOf();\n if (valueA === valueB || (valueA !== valueA && valueB !== valueB)) {\n return true;\n }\n if (!valueA || !valueB) {\n return false;\n }\n }\n if (typeof valueA.equals === 'function' &&\n typeof valueB.equals === 'function' &&\n valueA.equals(valueB)) {\n return true;\n }\n return false;\n }\n\n function deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n\n if (\n !isIterable(b) ||\n a.size !== undefined && b.size !== undefined && a.size !== b.size ||\n a.__hash !== undefined && b.__hash !== undefined && a.__hash !== b.__hash ||\n isKeyed(a) !== isKeyed(b) ||\n isIndexed(a) !== isIndexed(b) ||\n isOrdered(a) !== isOrdered(b)\n ) {\n return false;\n }\n\n if (a.size === 0 && b.size === 0) {\n return true;\n }\n\n var notAssociative = !isAssociative(a);\n\n if (isOrdered(a)) {\n var entries = a.entries();\n return b.every(function(v, k) {\n var entry = entries.next().value;\n return entry && is(entry[1], v) && (notAssociative || is(entry[0], k));\n }) && entries.next().done;\n }\n\n var flipped = false;\n\n if (a.size === undefined) {\n if (b.size === undefined) {\n if (typeof a.cacheResult === 'function') {\n a.cacheResult();\n }\n } else {\n flipped = true;\n var _ = a;\n a = b;\n b = _;\n }\n }\n\n var allEqual = true;\n var bSize = b.__iterate(function(v, k) {\n if (notAssociative ? !a.has(v) :\n flipped ? !is(v, a.get(k, NOT_SET)) : !is(a.get(k, NOT_SET), v)) {\n allEqual = false;\n return false;\n }\n });\n\n return allEqual && a.size === bSize;\n }\n\n createClass(Repeat, IndexedSeq);\n\n function Repeat(value, times) {\n if (!(this instanceof Repeat)) {\n return new Repeat(value, times);\n }\n this._value = value;\n this.size = times === undefined ? Infinity : Math.max(0, times);\n if (this.size === 0) {\n if (EMPTY_REPEAT) {\n return EMPTY_REPEAT;\n }\n EMPTY_REPEAT = this;\n }\n }\n\n Repeat.prototype.toString = function() {\n if (this.size === 0) {\n return 'Repeat []';\n }\n return 'Repeat [ ' + this._value + ' ' + this.size + ' times ]';\n };\n\n Repeat.prototype.get = function(index, notSetValue) {\n return this.has(index) ? this._value : notSetValue;\n };\n\n Repeat.prototype.includes = function(searchValue) {\n return is(this._value, searchValue);\n };\n\n Repeat.prototype.slice = function(begin, end) {\n var size = this.size;\n return wholeSlice(begin, end, size) ? this :\n new Repeat(this._value, resolveEnd(end, size) - resolveBegin(begin, size));\n };\n\n Repeat.prototype.reverse = function() {\n return this;\n };\n\n Repeat.prototype.indexOf = function(searchValue) {\n if (is(this._value, searchValue)) {\n return 0;\n }\n return -1;\n };\n\n Repeat.prototype.lastIndexOf = function(searchValue) {\n if (is(this._value, searchValue)) {\n return this.size;\n }\n return -1;\n };\n\n Repeat.prototype.__iterate = function(fn, reverse) {\n for (var ii = 0; ii < this.size; ii++) {\n if (fn(this._value, ii, this) === false) {\n return ii + 1;\n }\n }\n return ii;\n };\n\n Repeat.prototype.__iterator = function(type, reverse) {var this$0 = this;\n var ii = 0;\n return new Iterator(function() \n {return ii < this$0.size ? iteratorValue(type, ii++, this$0._value) : iteratorDone()}\n );\n };\n\n Repeat.prototype.equals = function(other) {\n return other instanceof Repeat ?\n is(this._value, other._value) :\n deepEqual(other);\n };\n\n\n var EMPTY_REPEAT;\n\n function invariant(condition, error) {\n if (!condition) throw new Error(error);\n }\n\n createClass(Range, IndexedSeq);\n\n function Range(start, end, step) {\n if (!(this instanceof Range)) {\n return new Range(start, end, step);\n }\n invariant(step !== 0, 'Cannot step a Range by 0');\n start = start || 0;\n if (end === undefined) {\n end = Infinity;\n }\n step = step === undefined ? 1 : Math.abs(step);\n if (end < start) {\n step = -step;\n }\n this._start = start;\n this._end = end;\n this._step = step;\n this.size = Math.max(0, Math.ceil((end - start) / step - 1) + 1);\n if (this.size === 0) {\n if (EMPTY_RANGE) {\n return EMPTY_RANGE;\n }\n EMPTY_RANGE = this;\n }\n }\n\n Range.prototype.toString = function() {\n if (this.size === 0) {\n return 'Range []';\n }\n return 'Range [ ' +\n this._start + '...' + this._end +\n (this._step !== 1 ? ' by ' + this._step : '') +\n ' ]';\n };\n\n Range.prototype.get = function(index, notSetValue) {\n return this.has(index) ?\n this._start + wrapIndex(this, index) * this._step :\n notSetValue;\n };\n\n Range.prototype.includes = function(searchValue) {\n var possibleIndex = (searchValue - this._start) / this._step;\n return possibleIndex >= 0 &&\n possibleIndex < this.size &&\n possibleIndex === Math.floor(possibleIndex);\n };\n\n Range.prototype.slice = function(begin, end) {\n if (wholeSlice(begin, end, this.size)) {\n return this;\n }\n begin = resolveBegin(begin, this.size);\n end = resolveEnd(end, this.size);\n if (end <= begin) {\n return new Range(0, 0);\n }\n return new Range(this.get(begin, this._end), this.get(end, this._end), this._step);\n };\n\n Range.prototype.indexOf = function(searchValue) {\n var offsetValue = searchValue - this._start;\n if (offsetValue % this._step === 0) {\n var index = offsetValue / this._step;\n if (index >= 0 && index < this.size) {\n return index\n }\n }\n return -1;\n };\n\n Range.prototype.lastIndexOf = function(searchValue) {\n return this.indexOf(searchValue);\n };\n\n Range.prototype.__iterate = function(fn, reverse) {\n var maxIndex = this.size - 1;\n var step = this._step;\n var value = reverse ? this._start + maxIndex * step : this._start;\n for (var ii = 0; ii <= maxIndex; ii++) {\n if (fn(value, ii, this) === false) {\n return ii + 1;\n }\n value += reverse ? -step : step;\n }\n return ii;\n };\n\n Range.prototype.__iterator = function(type, reverse) {\n var maxIndex = this.size - 1;\n var step = this._step;\n var value = reverse ? this._start + maxIndex * step : this._start;\n var ii = 0;\n return new Iterator(function() {\n var v = value;\n value += reverse ? -step : step;\n return ii > maxIndex ? iteratorDone() : iteratorValue(type, ii++, v);\n });\n };\n\n Range.prototype.equals = function(other) {\n return other instanceof Range ?\n this._start === other._start &&\n this._end === other._end &&\n this._step === other._step :\n deepEqual(this, other);\n };\n\n\n var EMPTY_RANGE;\n\n createClass(Collection, Iterable);\n function Collection() {\n throw TypeError('Abstract');\n }\n\n\n createClass(KeyedCollection, Collection);function KeyedCollection() {}\n\n createClass(IndexedCollection, Collection);function IndexedCollection() {}\n\n createClass(SetCollection, Collection);function SetCollection() {}\n\n\n Collection.Keyed = KeyedCollection;\n Collection.Indexed = IndexedCollection;\n Collection.Set = SetCollection;\n\n var imul =\n typeof Math.imul === 'function' && Math.imul(0xffffffff, 2) === -2 ?\n Math.imul :\n function imul(a, b) {\n a = a | 0; // int\n b = b | 0; // int\n var c = a & 0xffff;\n var d = b & 0xffff;\n // Shift by 0 fixes the sign on the high part.\n return (c * d) + ((((a >>> 16) * d + c * (b >>> 16)) << 16) >>> 0) | 0; // int\n };\n\n // v8 has an optimization for storing 31-bit signed numbers.\n // Values which have either 00 or 11 as the high order bits qualify.\n // This function drops the highest order bit in a signed number, maintaining\n // the sign bit.\n function smi(i32) {\n return ((i32 >>> 1) & 0x40000000) | (i32 & 0xBFFFFFFF);\n }\n\n function hash(o) {\n if (o === false || o === null || o === undefined) {\n return 0;\n }\n if (typeof o.valueOf === 'function') {\n o = o.valueOf();\n if (o === false || o === null || o === undefined) {\n return 0;\n }\n }\n if (o === true) {\n return 1;\n }\n var type = typeof o;\n if (type === 'number') {\n if (o !== o || o === Infinity) {\n return 0;\n }\n var h = o | 0;\n if (h !== o) {\n h ^= o * 0xFFFFFFFF;\n }\n while (o > 0xFFFFFFFF) {\n o /= 0xFFFFFFFF;\n h ^= o;\n }\n return smi(h);\n }\n if (type === 'string') {\n return o.length > STRING_HASH_CACHE_MIN_STRLEN ? cachedHashString(o) : hashString(o);\n }\n if (typeof o.hashCode === 'function') {\n return o.hashCode();\n }\n if (type === 'object') {\n return hashJSObj(o);\n }\n if (typeof o.toString === 'function') {\n return hashString(o.toString());\n }\n throw new Error('Value type ' + type + ' cannot be hashed.');\n }\n\n function cachedHashString(string) {\n var hash = stringHashCache[string];\n if (hash === undefined) {\n hash = hashString(string);\n if (STRING_HASH_CACHE_SIZE === STRING_HASH_CACHE_MAX_SIZE) {\n STRING_HASH_CACHE_SIZE = 0;\n stringHashCache = {};\n }\n STRING_HASH_CACHE_SIZE++;\n stringHashCache[string] = hash;\n }\n return hash;\n }\n\n // http://jsperf.com/hashing-strings\n function hashString(string) {\n // This is the hash from JVM\n // The hash code for a string is computed as\n // s[0] * 31 ^ (n - 1) + s[1] * 31 ^ (n - 2) + ... + s[n - 1],\n // where s[i] is the ith character of the string and n is the length of\n // the string. We \"mod\" the result to make it between 0 (inclusive) and 2^31\n // (exclusive) by dropping high bits.\n var hash = 0;\n for (var ii = 0; ii < string.length; ii++) {\n hash = 31 * hash + string.charCodeAt(ii) | 0;\n }\n return smi(hash);\n }\n\n function hashJSObj(obj) {\n var hash;\n if (usingWeakMap) {\n hash = weakMap.get(obj);\n if (hash !== undefined) {\n return hash;\n }\n }\n\n hash = obj[UID_HASH_KEY];\n if (hash !== undefined) {\n return hash;\n }\n\n if (!canDefineProperty) {\n hash = obj.propertyIsEnumerable && obj.propertyIsEnumerable[UID_HASH_KEY];\n if (hash !== undefined) {\n return hash;\n }\n\n hash = getIENodeHash(obj);\n if (hash !== undefined) {\n return hash;\n }\n }\n\n hash = ++objHashUID;\n if (objHashUID & 0x40000000) {\n objHashUID = 0;\n }\n\n if (usingWeakMap) {\n weakMap.set(obj, hash);\n } else if (isExtensible !== undefined && isExtensible(obj) === false) {\n throw new Error('Non-extensible objects are not allowed as keys.');\n } else if (canDefineProperty) {\n Object.defineProperty(obj, UID_HASH_KEY, {\n 'enumerable': false,\n 'configurable': false,\n 'writable': false,\n 'value': hash\n });\n } else if (obj.propertyIsEnumerable !== undefined &&\n obj.propertyIsEnumerable === obj.constructor.prototype.propertyIsEnumerable) {\n // Since we can't define a non-enumerable property on the object\n // we'll hijack one of the less-used non-enumerable properties to\n // save our hash on it. Since this is a function it will not show up in\n // `JSON.stringify` which is what we want.\n obj.propertyIsEnumerable = function() {\n return this.constructor.prototype.propertyIsEnumerable.apply(this, arguments);\n };\n obj.propertyIsEnumerable[UID_HASH_KEY] = hash;\n } else if (obj.nodeType !== undefined) {\n // At this point we couldn't get the IE `uniqueID` to use as a hash\n // and we couldn't use a non-enumerable property to exploit the\n // dontEnum bug so we simply add the `UID_HASH_KEY` on the node\n // itself.\n obj[UID_HASH_KEY] = hash;\n } else {\n throw new Error('Unable to set a non-enumerable property on object.');\n }\n\n return hash;\n }\n\n // Get references to ES5 object methods.\n var isExtensible = Object.isExtensible;\n\n // True if Object.defineProperty works as expected. IE8 fails this test.\n var canDefineProperty = (function() {\n try {\n Object.defineProperty({}, '@', {});\n return true;\n } catch (e) {\n return false;\n }\n }());\n\n // IE has a `uniqueID` property on DOM nodes. We can construct the hash from it\n // and avoid memory leaks from the IE cloneNode bug.\n function getIENodeHash(node) {\n if (node && node.nodeType > 0) {\n switch (node.nodeType) {\n case 1: // Element\n return node.uniqueID;\n case 9: // Document\n return node.documentElement && node.documentElement.uniqueID;\n }\n }\n }\n\n // If possible, use a WeakMap.\n var usingWeakMap = typeof WeakMap === 'function';\n var weakMap;\n if (usingWeakMap) {\n weakMap = new WeakMap();\n }\n\n var objHashUID = 0;\n\n var UID_HASH_KEY = '__immutablehash__';\n if (typeof Symbol === 'function') {\n UID_HASH_KEY = Symbol(UID_HASH_KEY);\n }\n\n var STRING_HASH_CACHE_MIN_STRLEN = 16;\n var STRING_HASH_CACHE_MAX_SIZE = 255;\n var STRING_HASH_CACHE_SIZE = 0;\n var stringHashCache = {};\n\n function assertNotInfinite(size) {\n invariant(\n size !== Infinity,\n 'Cannot perform this action with an infinite size.'\n );\n }\n\n createClass(Map, KeyedCollection);\n\n // @pragma Construction\n\n function Map(value) {\n return value === null || value === undefined ? emptyMap() :\n isMap(value) && !isOrdered(value) ? value :\n emptyMap().withMutations(function(map ) {\n var iter = KeyedIterable(value);\n assertNotInfinite(iter.size);\n iter.forEach(function(v, k) {return map.set(k, v)});\n });\n }\n\n Map.of = function() {var keyValues = SLICE$0.call(arguments, 0);\n return emptyMap().withMutations(function(map ) {\n for (var i = 0; i < keyValues.length; i += 2) {\n if (i + 1 >= keyValues.length) {\n throw new Error('Missing value for key: ' + keyValues[i]);\n }\n map.set(keyValues[i], keyValues[i + 1]);\n }\n });\n };\n\n Map.prototype.toString = function() {\n return this.__toString('Map {', '}');\n };\n\n // @pragma Access\n\n Map.prototype.get = function(k, notSetValue) {\n return this._root ?\n this._root.get(0, undefined, k, notSetValue) :\n notSetValue;\n };\n\n // @pragma Modification\n\n Map.prototype.set = function(k, v) {\n return updateMap(this, k, v);\n };\n\n Map.prototype.setIn = function(keyPath, v) {\n return this.updateIn(keyPath, NOT_SET, function() {return v});\n };\n\n Map.prototype.remove = function(k) {\n return updateMap(this, k, NOT_SET);\n };\n\n Map.prototype.deleteIn = function(keyPath) {\n return this.updateIn(keyPath, function() {return NOT_SET});\n };\n\n Map.prototype.update = function(k, notSetValue, updater) {\n return arguments.length === 1 ?\n k(this) :\n this.updateIn([k], notSetValue, updater);\n };\n\n Map.prototype.updateIn = function(keyPath, notSetValue, updater) {\n if (!updater) {\n updater = notSetValue;\n notSetValue = undefined;\n }\n var updatedValue = updateInDeepMap(\n this,\n forceIterator(keyPath),\n notSetValue,\n updater\n );\n return updatedValue === NOT_SET ? undefined : updatedValue;\n };\n\n Map.prototype.clear = function() {\n if (this.size === 0) {\n return this;\n }\n if (this.__ownerID) {\n this.size = 0;\n this._root = null;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return emptyMap();\n };\n\n // @pragma Composition\n\n Map.prototype.merge = function(/*...iters*/) {\n return mergeIntoMapWith(this, undefined, arguments);\n };\n\n Map.prototype.mergeWith = function(merger) {var iters = SLICE$0.call(arguments, 1);\n return mergeIntoMapWith(this, merger, iters);\n };\n\n Map.prototype.mergeIn = function(keyPath) {var iters = SLICE$0.call(arguments, 1);\n return this.updateIn(\n keyPath,\n emptyMap(),\n function(m ) {return typeof m.merge === 'function' ?\n m.merge.apply(m, iters) :\n iters[iters.length - 1]}\n );\n };\n\n Map.prototype.mergeDeep = function(/*...iters*/) {\n return mergeIntoMapWith(this, deepMerger, arguments);\n };\n\n Map.prototype.mergeDeepWith = function(merger) {var iters = SLICE$0.call(arguments, 1);\n return mergeIntoMapWith(this, deepMergerWith(merger), iters);\n };\n\n Map.prototype.mergeDeepIn = function(keyPath) {var iters = SLICE$0.call(arguments, 1);\n return this.updateIn(\n keyPath,\n emptyMap(),\n function(m ) {return typeof m.mergeDeep === 'function' ?\n m.mergeDeep.apply(m, iters) :\n iters[iters.length - 1]}\n );\n };\n\n Map.prototype.sort = function(comparator) {\n // Late binding\n return OrderedMap(sortFactory(this, comparator));\n };\n\n Map.prototype.sortBy = function(mapper, comparator) {\n // Late binding\n return OrderedMap(sortFactory(this, comparator, mapper));\n };\n\n // @pragma Mutability\n\n Map.prototype.withMutations = function(fn) {\n var mutable = this.asMutable();\n fn(mutable);\n return mutable.wasAltered() ? mutable.__ensureOwner(this.__ownerID) : this;\n };\n\n Map.prototype.asMutable = function() {\n return this.__ownerID ? this : this.__ensureOwner(new OwnerID());\n };\n\n Map.prototype.asImmutable = function() {\n return this.__ensureOwner();\n };\n\n Map.prototype.wasAltered = function() {\n return this.__altered;\n };\n\n Map.prototype.__iterator = function(type, reverse) {\n return new MapIterator(this, type, reverse);\n };\n\n Map.prototype.__iterate = function(fn, reverse) {var this$0 = this;\n var iterations = 0;\n this._root && this._root.iterate(function(entry ) {\n iterations++;\n return fn(entry[1], entry[0], this$0);\n }, reverse);\n return iterations;\n };\n\n Map.prototype.__ensureOwner = function(ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n if (!ownerID) {\n this.__ownerID = ownerID;\n this.__altered = false;\n return this;\n }\n return makeMap(this.size, this._root, ownerID, this.__hash);\n };\n\n\n function isMap(maybeMap) {\n return !!(maybeMap && maybeMap[IS_MAP_SENTINEL]);\n }\n\n Map.isMap = isMap;\n\n var IS_MAP_SENTINEL = '@@__IMMUTABLE_MAP__@@';\n\n var MapPrototype = Map.prototype;\n MapPrototype[IS_MAP_SENTINEL] = true;\n MapPrototype[DELETE] = MapPrototype.remove;\n MapPrototype.removeIn = MapPrototype.deleteIn;\n\n\n // #pragma Trie Nodes\n\n\n\n function ArrayMapNode(ownerID, entries) {\n this.ownerID = ownerID;\n this.entries = entries;\n }\n\n ArrayMapNode.prototype.get = function(shift, keyHash, key, notSetValue) {\n var entries = this.entries;\n for (var ii = 0, len = entries.length; ii < len; ii++) {\n if (is(key, entries[ii][0])) {\n return entries[ii][1];\n }\n }\n return notSetValue;\n };\n\n ArrayMapNode.prototype.update = function(ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n var removed = value === NOT_SET;\n\n var entries = this.entries;\n var idx = 0;\n for (var len = entries.length; idx < len; idx++) {\n if (is(key, entries[idx][0])) {\n break;\n }\n }\n var exists = idx < len;\n\n if (exists ? entries[idx][1] === value : removed) {\n return this;\n }\n\n SetRef(didAlter);\n (removed || !exists) && SetRef(didChangeSize);\n\n if (removed && entries.length === 1) {\n return; // undefined\n }\n\n if (!exists && !removed && entries.length >= MAX_ARRAY_MAP_SIZE) {\n return createNodes(ownerID, entries, key, value);\n }\n\n var isEditable = ownerID && ownerID === this.ownerID;\n var newEntries = isEditable ? entries : arrCopy(entries);\n\n if (exists) {\n if (removed) {\n idx === len - 1 ? newEntries.pop() : (newEntries[idx] = newEntries.pop());\n } else {\n newEntries[idx] = [key, value];\n }\n } else {\n newEntries.push([key, value]);\n }\n\n if (isEditable) {\n this.entries = newEntries;\n return this;\n }\n\n return new ArrayMapNode(ownerID, newEntries);\n };\n\n\n\n\n function BitmapIndexedNode(ownerID, bitmap, nodes) {\n this.ownerID = ownerID;\n this.bitmap = bitmap;\n this.nodes = nodes;\n }\n\n BitmapIndexedNode.prototype.get = function(shift, keyHash, key, notSetValue) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n var bit = (1 << ((shift === 0 ? keyHash : keyHash >>> shift) & MASK));\n var bitmap = this.bitmap;\n return (bitmap & bit) === 0 ? notSetValue :\n this.nodes[popCount(bitmap & (bit - 1))].get(shift + SHIFT, keyHash, key, notSetValue);\n };\n\n BitmapIndexedNode.prototype.update = function(ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n var keyHashFrag = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n var bit = 1 << keyHashFrag;\n var bitmap = this.bitmap;\n var exists = (bitmap & bit) !== 0;\n\n if (!exists && value === NOT_SET) {\n return this;\n }\n\n var idx = popCount(bitmap & (bit - 1));\n var nodes = this.nodes;\n var node = exists ? nodes[idx] : undefined;\n var newNode = updateNode(node, ownerID, shift + SHIFT, keyHash, key, value, didChangeSize, didAlter);\n\n if (newNode === node) {\n return this;\n }\n\n if (!exists && newNode && nodes.length >= MAX_BITMAP_INDEXED_SIZE) {\n return expandNodes(ownerID, nodes, bitmap, keyHashFrag, newNode);\n }\n\n if (exists && !newNode && nodes.length === 2 && isLeafNode(nodes[idx ^ 1])) {\n return nodes[idx ^ 1];\n }\n\n if (exists && newNode && nodes.length === 1 && isLeafNode(newNode)) {\n return newNode;\n }\n\n var isEditable = ownerID && ownerID === this.ownerID;\n var newBitmap = exists ? newNode ? bitmap : bitmap ^ bit : bitmap | bit;\n var newNodes = exists ? newNode ?\n setIn(nodes, idx, newNode, isEditable) :\n spliceOut(nodes, idx, isEditable) :\n spliceIn(nodes, idx, newNode, isEditable);\n\n if (isEditable) {\n this.bitmap = newBitmap;\n this.nodes = newNodes;\n return this;\n }\n\n return new BitmapIndexedNode(ownerID, newBitmap, newNodes);\n };\n\n\n\n\n function HashArrayMapNode(ownerID, count, nodes) {\n this.ownerID = ownerID;\n this.count = count;\n this.nodes = nodes;\n }\n\n HashArrayMapNode.prototype.get = function(shift, keyHash, key, notSetValue) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n var node = this.nodes[idx];\n return node ? node.get(shift + SHIFT, keyHash, key, notSetValue) : notSetValue;\n };\n\n HashArrayMapNode.prototype.update = function(ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n var removed = value === NOT_SET;\n var nodes = this.nodes;\n var node = nodes[idx];\n\n if (removed && !node) {\n return this;\n }\n\n var newNode = updateNode(node, ownerID, shift + SHIFT, keyHash, key, value, didChangeSize, didAlter);\n if (newNode === node) {\n return this;\n }\n\n var newCount = this.count;\n if (!node) {\n newCount++;\n } else if (!newNode) {\n newCount--;\n if (newCount < MIN_HASH_ARRAY_MAP_SIZE) {\n return packNodes(ownerID, nodes, newCount, idx);\n }\n }\n\n var isEditable = ownerID && ownerID === this.ownerID;\n var newNodes = setIn(nodes, idx, newNode, isEditable);\n\n if (isEditable) {\n this.count = newCount;\n this.nodes = newNodes;\n return this;\n }\n\n return new HashArrayMapNode(ownerID, newCount, newNodes);\n };\n\n\n\n\n function HashCollisionNode(ownerID, keyHash, entries) {\n this.ownerID = ownerID;\n this.keyHash = keyHash;\n this.entries = entries;\n }\n\n HashCollisionNode.prototype.get = function(shift, keyHash, key, notSetValue) {\n var entries = this.entries;\n for (var ii = 0, len = entries.length; ii < len; ii++) {\n if (is(key, entries[ii][0])) {\n return entries[ii][1];\n }\n }\n return notSetValue;\n };\n\n HashCollisionNode.prototype.update = function(ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n if (keyHash === undefined) {\n keyHash = hash(key);\n }\n\n var removed = value === NOT_SET;\n\n if (keyHash !== this.keyHash) {\n if (removed) {\n return this;\n }\n SetRef(didAlter);\n SetRef(didChangeSize);\n return mergeIntoNode(this, ownerID, shift, keyHash, [key, value]);\n }\n\n var entries = this.entries;\n var idx = 0;\n for (var len = entries.length; idx < len; idx++) {\n if (is(key, entries[idx][0])) {\n break;\n }\n }\n var exists = idx < len;\n\n if (exists ? entries[idx][1] === value : removed) {\n return this;\n }\n\n SetRef(didAlter);\n (removed || !exists) && SetRef(didChangeSize);\n\n if (removed && len === 2) {\n return new ValueNode(ownerID, this.keyHash, entries[idx ^ 1]);\n }\n\n var isEditable = ownerID && ownerID === this.ownerID;\n var newEntries = isEditable ? entries : arrCopy(entries);\n\n if (exists) {\n if (removed) {\n idx === len - 1 ? newEntries.pop() : (newEntries[idx] = newEntries.pop());\n } else {\n newEntries[idx] = [key, value];\n }\n } else {\n newEntries.push([key, value]);\n }\n\n if (isEditable) {\n this.entries = newEntries;\n return this;\n }\n\n return new HashCollisionNode(ownerID, this.keyHash, newEntries);\n };\n\n\n\n\n function ValueNode(ownerID, keyHash, entry) {\n this.ownerID = ownerID;\n this.keyHash = keyHash;\n this.entry = entry;\n }\n\n ValueNode.prototype.get = function(shift, keyHash, key, notSetValue) {\n return is(key, this.entry[0]) ? this.entry[1] : notSetValue;\n };\n\n ValueNode.prototype.update = function(ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n var removed = value === NOT_SET;\n var keyMatch = is(key, this.entry[0]);\n if (keyMatch ? value === this.entry[1] : removed) {\n return this;\n }\n\n SetRef(didAlter);\n\n if (removed) {\n SetRef(didChangeSize);\n return; // undefined\n }\n\n if (keyMatch) {\n if (ownerID && ownerID === this.ownerID) {\n this.entry[1] = value;\n return this;\n }\n return new ValueNode(ownerID, this.keyHash, [key, value]);\n }\n\n SetRef(didChangeSize);\n return mergeIntoNode(this, ownerID, shift, hash(key), [key, value]);\n };\n\n\n\n // #pragma Iterators\n\n ArrayMapNode.prototype.iterate =\n HashCollisionNode.prototype.iterate = function (fn, reverse) {\n var entries = this.entries;\n for (var ii = 0, maxIndex = entries.length - 1; ii <= maxIndex; ii++) {\n if (fn(entries[reverse ? maxIndex - ii : ii]) === false) {\n return false;\n }\n }\n }\n\n BitmapIndexedNode.prototype.iterate =\n HashArrayMapNode.prototype.iterate = function (fn, reverse) {\n var nodes = this.nodes;\n for (var ii = 0, maxIndex = nodes.length - 1; ii <= maxIndex; ii++) {\n var node = nodes[reverse ? maxIndex - ii : ii];\n if (node && node.iterate(fn, reverse) === false) {\n return false;\n }\n }\n }\n\n ValueNode.prototype.iterate = function (fn, reverse) {\n return fn(this.entry);\n }\n\n createClass(MapIterator, Iterator);\n\n function MapIterator(map, type, reverse) {\n this._type = type;\n this._reverse = reverse;\n this._stack = map._root && mapIteratorFrame(map._root);\n }\n\n MapIterator.prototype.next = function() {\n var type = this._type;\n var stack = this._stack;\n while (stack) {\n var node = stack.node;\n var index = stack.index++;\n var maxIndex;\n if (node.entry) {\n if (index === 0) {\n return mapIteratorValue(type, node.entry);\n }\n } else if (node.entries) {\n maxIndex = node.entries.length - 1;\n if (index <= maxIndex) {\n return mapIteratorValue(type, node.entries[this._reverse ? maxIndex - index : index]);\n }\n } else {\n maxIndex = node.nodes.length - 1;\n if (index <= maxIndex) {\n var subNode = node.nodes[this._reverse ? maxIndex - index : index];\n if (subNode) {\n if (subNode.entry) {\n return mapIteratorValue(type, subNode.entry);\n }\n stack = this._stack = mapIteratorFrame(subNode, stack);\n }\n continue;\n }\n }\n stack = this._stack = this._stack.__prev;\n }\n return iteratorDone();\n };\n\n\n function mapIteratorValue(type, entry) {\n return iteratorValue(type, entry[0], entry[1]);\n }\n\n function mapIteratorFrame(node, prev) {\n return {\n node: node,\n index: 0,\n __prev: prev\n };\n }\n\n function makeMap(size, root, ownerID, hash) {\n var map = Object.create(MapPrototype);\n map.size = size;\n map._root = root;\n map.__ownerID = ownerID;\n map.__hash = hash;\n map.__altered = false;\n return map;\n }\n\n var EMPTY_MAP;\n function emptyMap() {\n return EMPTY_MAP || (EMPTY_MAP = makeMap(0));\n }\n\n function updateMap(map, k, v) {\n var newRoot;\n var newSize;\n if (!map._root) {\n if (v === NOT_SET) {\n return map;\n }\n newSize = 1;\n newRoot = new ArrayMapNode(map.__ownerID, [[k, v]]);\n } else {\n var didChangeSize = MakeRef(CHANGE_LENGTH);\n var didAlter = MakeRef(DID_ALTER);\n newRoot = updateNode(map._root, map.__ownerID, 0, undefined, k, v, didChangeSize, didAlter);\n if (!didAlter.value) {\n return map;\n }\n newSize = map.size + (didChangeSize.value ? v === NOT_SET ? -1 : 1 : 0);\n }\n if (map.__ownerID) {\n map.size = newSize;\n map._root = newRoot;\n map.__hash = undefined;\n map.__altered = true;\n return map;\n }\n return newRoot ? makeMap(newSize, newRoot) : emptyMap();\n }\n\n function updateNode(node, ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {\n if (!node) {\n if (value === NOT_SET) {\n return node;\n }\n SetRef(didAlter);\n SetRef(didChangeSize);\n return new ValueNode(ownerID, keyHash, [key, value]);\n }\n return node.update(ownerID, shift, keyHash, key, value, didChangeSize, didAlter);\n }\n\n function isLeafNode(node) {\n return node.constructor === ValueNode || node.constructor === HashCollisionNode;\n }\n\n function mergeIntoNode(node, ownerID, shift, keyHash, entry) {\n if (node.keyHash === keyHash) {\n return new HashCollisionNode(ownerID, keyHash, [node.entry, entry]);\n }\n\n var idx1 = (shift === 0 ? node.keyHash : node.keyHash >>> shift) & MASK;\n var idx2 = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;\n\n var newNode;\n var nodes = idx1 === idx2 ?\n [mergeIntoNode(node, ownerID, shift + SHIFT, keyHash, entry)] :\n ((newNode = new ValueNode(ownerID, keyHash, entry)), idx1 < idx2 ? [node, newNode] : [newNode, node]);\n\n return new BitmapIndexedNode(ownerID, (1 << idx1) | (1 << idx2), nodes);\n }\n\n function createNodes(ownerID, entries, key, value) {\n if (!ownerID) {\n ownerID = new OwnerID();\n }\n var node = new ValueNode(ownerID, hash(key), [key, value]);\n for (var ii = 0; ii < entries.length; ii++) {\n var entry = entries[ii];\n node = node.update(ownerID, 0, undefined, entry[0], entry[1]);\n }\n return node;\n }\n\n function packNodes(ownerID, nodes, count, excluding) {\n var bitmap = 0;\n var packedII = 0;\n var packedNodes = new Array(count);\n for (var ii = 0, bit = 1, len = nodes.length; ii < len; ii++, bit <<= 1) {\n var node = nodes[ii];\n if (node !== undefined && ii !== excluding) {\n bitmap |= bit;\n packedNodes[packedII++] = node;\n }\n }\n return new BitmapIndexedNode(ownerID, bitmap, packedNodes);\n }\n\n function expandNodes(ownerID, nodes, bitmap, including, node) {\n var count = 0;\n var expandedNodes = new Array(SIZE);\n for (var ii = 0; bitmap !== 0; ii++, bitmap >>>= 1) {\n expandedNodes[ii] = bitmap & 1 ? nodes[count++] : undefined;\n }\n expandedNodes[including] = node;\n return new HashArrayMapNode(ownerID, count + 1, expandedNodes);\n }\n\n function mergeIntoMapWith(map, merger, iterables) {\n var iters = [];\n for (var ii = 0; ii < iterables.length; ii++) {\n var value = iterables[ii];\n var iter = KeyedIterable(value);\n if (!isIterable(value)) {\n iter = iter.map(function(v ) {return fromJS(v)});\n }\n iters.push(iter);\n }\n return mergeIntoCollectionWith(map, merger, iters);\n }\n\n function deepMerger(existing, value, key) {\n return existing && existing.mergeDeep && isIterable(value) ?\n existing.mergeDeep(value) :\n is(existing, value) ? existing : value;\n }\n\n function deepMergerWith(merger) {\n return function(existing, value, key) {\n if (existing && existing.mergeDeepWith && isIterable(value)) {\n return existing.mergeDeepWith(merger, value);\n }\n var nextValue = merger(existing, value, key);\n return is(existing, nextValue) ? existing : nextValue;\n };\n }\n\n function mergeIntoCollectionWith(collection, merger, iters) {\n iters = iters.filter(function(x ) {return x.size !== 0});\n if (iters.length === 0) {\n return collection;\n }\n if (collection.size === 0 && !collection.__ownerID && iters.length === 1) {\n return collection.constructor(iters[0]);\n }\n return collection.withMutations(function(collection ) {\n var mergeIntoMap = merger ?\n function(value, key) {\n collection.update(key, NOT_SET, function(existing )\n {return existing === NOT_SET ? value : merger(existing, value, key)}\n );\n } :\n function(value, key) {\n collection.set(key, value);\n }\n for (var ii = 0; ii < iters.length; ii++) {\n iters[ii].forEach(mergeIntoMap);\n }\n });\n }\n\n function updateInDeepMap(existing, keyPathIter, notSetValue, updater) {\n var isNotSet = existing === NOT_SET;\n var step = keyPathIter.next();\n if (step.done) {\n var existingValue = isNotSet ? notSetValue : existing;\n var newValue = updater(existingValue);\n return newValue === existingValue ? existing : newValue;\n }\n invariant(\n isNotSet || (existing && existing.set),\n 'invalid keyPath'\n );\n var key = step.value;\n var nextExisting = isNotSet ? NOT_SET : existing.get(key, NOT_SET);\n var nextUpdated = updateInDeepMap(\n nextExisting,\n keyPathIter,\n notSetValue,\n updater\n );\n return nextUpdated === nextExisting ? existing :\n nextUpdated === NOT_SET ? existing.remove(key) :\n (isNotSet ? emptyMap() : existing).set(key, nextUpdated);\n }\n\n function popCount(x) {\n x = x - ((x >> 1) & 0x55555555);\n x = (x & 0x33333333) + ((x >> 2) & 0x33333333);\n x = (x + (x >> 4)) & 0x0f0f0f0f;\n x = x + (x >> 8);\n x = x + (x >> 16);\n return x & 0x7f;\n }\n\n function setIn(array, idx, val, canEdit) {\n var newArray = canEdit ? array : arrCopy(array);\n newArray[idx] = val;\n return newArray;\n }\n\n function spliceIn(array, idx, val, canEdit) {\n var newLen = array.length + 1;\n if (canEdit && idx + 1 === newLen) {\n array[idx] = val;\n return array;\n }\n var newArray = new Array(newLen);\n var after = 0;\n for (var ii = 0; ii < newLen; ii++) {\n if (ii === idx) {\n newArray[ii] = val;\n after = -1;\n } else {\n newArray[ii] = array[ii + after];\n }\n }\n return newArray;\n }\n\n function spliceOut(array, idx, canEdit) {\n var newLen = array.length - 1;\n if (canEdit && idx === newLen) {\n array.pop();\n return array;\n }\n var newArray = new Array(newLen);\n var after = 0;\n for (var ii = 0; ii < newLen; ii++) {\n if (ii === idx) {\n after = 1;\n }\n newArray[ii] = array[ii + after];\n }\n return newArray;\n }\n\n var MAX_ARRAY_MAP_SIZE = SIZE / 4;\n var MAX_BITMAP_INDEXED_SIZE = SIZE / 2;\n var MIN_HASH_ARRAY_MAP_SIZE = SIZE / 4;\n\n createClass(List, IndexedCollection);\n\n // @pragma Construction\n\n function List(value) {\n var empty = emptyList();\n if (value === null || value === undefined) {\n return empty;\n }\n if (isList(value)) {\n return value;\n }\n var iter = IndexedIterable(value);\n var size = iter.size;\n if (size === 0) {\n return empty;\n }\n assertNotInfinite(size);\n if (size > 0 && size < SIZE) {\n return makeList(0, size, SHIFT, null, new VNode(iter.toArray()));\n }\n return empty.withMutations(function(list ) {\n list.setSize(size);\n iter.forEach(function(v, i) {return list.set(i, v)});\n });\n }\n\n List.of = function(/*...values*/) {\n return this(arguments);\n };\n\n List.prototype.toString = function() {\n return this.__toString('List [', ']');\n };\n\n // @pragma Access\n\n List.prototype.get = function(index, notSetValue) {\n index = wrapIndex(this, index);\n if (index >= 0 && index < this.size) {\n index += this._origin;\n var node = listNodeFor(this, index);\n return node && node.array[index & MASK];\n }\n return notSetValue;\n };\n\n // @pragma Modification\n\n List.prototype.set = function(index, value) {\n return updateList(this, index, value);\n };\n\n List.prototype.remove = function(index) {\n return !this.has(index) ? this :\n index === 0 ? this.shift() :\n index === this.size - 1 ? this.pop() :\n this.splice(index, 1);\n };\n\n List.prototype.insert = function(index, value) {\n return this.splice(index, 0, value);\n };\n\n List.prototype.clear = function() {\n if (this.size === 0) {\n return this;\n }\n if (this.__ownerID) {\n this.size = this._origin = this._capacity = 0;\n this._level = SHIFT;\n this._root = this._tail = null;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return emptyList();\n };\n\n List.prototype.push = function(/*...values*/) {\n var values = arguments;\n var oldSize = this.size;\n return this.withMutations(function(list ) {\n setListBounds(list, 0, oldSize + values.length);\n for (var ii = 0; ii < values.length; ii++) {\n list.set(oldSize + ii, values[ii]);\n }\n });\n };\n\n List.prototype.pop = function() {\n return setListBounds(this, 0, -1);\n };\n\n List.prototype.unshift = function(/*...values*/) {\n var values = arguments;\n return this.withMutations(function(list ) {\n setListBounds(list, -values.length);\n for (var ii = 0; ii < values.length; ii++) {\n list.set(ii, values[ii]);\n }\n });\n };\n\n List.prototype.shift = function() {\n return setListBounds(this, 1);\n };\n\n // @pragma Composition\n\n List.prototype.merge = function(/*...iters*/) {\n return mergeIntoListWith(this, undefined, arguments);\n };\n\n List.prototype.mergeWith = function(merger) {var iters = SLICE$0.call(arguments, 1);\n return mergeIntoListWith(this, merger, iters);\n };\n\n List.prototype.mergeDeep = function(/*...iters*/) {\n return mergeIntoListWith(this, deepMerger, arguments);\n };\n\n List.prototype.mergeDeepWith = function(merger) {var iters = SLICE$0.call(arguments, 1);\n return mergeIntoListWith(this, deepMergerWith(merger), iters);\n };\n\n List.prototype.setSize = function(size) {\n return setListBounds(this, 0, size);\n };\n\n // @pragma Iteration\n\n List.prototype.slice = function(begin, end) {\n var size = this.size;\n if (wholeSlice(begin, end, size)) {\n return this;\n }\n return setListBounds(\n this,\n resolveBegin(begin, size),\n resolveEnd(end, size)\n );\n };\n\n List.prototype.__iterator = function(type, reverse) {\n var index = 0;\n var values = iterateList(this, reverse);\n return new Iterator(function() {\n var value = values();\n return value === DONE ?\n iteratorDone() :\n iteratorValue(type, index++, value);\n });\n };\n\n List.prototype.__iterate = function(fn, reverse) {\n var index = 0;\n var values = iterateList(this, reverse);\n var value;\n while ((value = values()) !== DONE) {\n if (fn(value, index++, this) === false) {\n break;\n }\n }\n return index;\n };\n\n List.prototype.__ensureOwner = function(ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n if (!ownerID) {\n this.__ownerID = ownerID;\n return this;\n }\n return makeList(this._origin, this._capacity, this._level, this._root, this._tail, ownerID, this.__hash);\n };\n\n\n function isList(maybeList) {\n return !!(maybeList && maybeList[IS_LIST_SENTINEL]);\n }\n\n List.isList = isList;\n\n var IS_LIST_SENTINEL = '@@__IMMUTABLE_LIST__@@';\n\n var ListPrototype = List.prototype;\n ListPrototype[IS_LIST_SENTINEL] = true;\n ListPrototype[DELETE] = ListPrototype.remove;\n ListPrototype.setIn = MapPrototype.setIn;\n ListPrototype.deleteIn =\n ListPrototype.removeIn = MapPrototype.removeIn;\n ListPrototype.update = MapPrototype.update;\n ListPrototype.updateIn = MapPrototype.updateIn;\n ListPrototype.mergeIn = MapPrototype.mergeIn;\n ListPrototype.mergeDeepIn = MapPrototype.mergeDeepIn;\n ListPrototype.withMutations = MapPrototype.withMutations;\n ListPrototype.asMutable = MapPrototype.asMutable;\n ListPrototype.asImmutable = MapPrototype.asImmutable;\n ListPrototype.wasAltered = MapPrototype.wasAltered;\n\n\n\n function VNode(array, ownerID) {\n this.array = array;\n this.ownerID = ownerID;\n }\n\n // TODO: seems like these methods are very similar\n\n VNode.prototype.removeBefore = function(ownerID, level, index) {\n if (index === level ? 1 << level : 0 || this.array.length === 0) {\n return this;\n }\n var originIndex = (index >>> level) & MASK;\n if (originIndex >= this.array.length) {\n return new VNode([], ownerID);\n }\n var removingFirst = originIndex === 0;\n var newChild;\n if (level > 0) {\n var oldChild = this.array[originIndex];\n newChild = oldChild && oldChild.removeBefore(ownerID, level - SHIFT, index);\n if (newChild === oldChild && removingFirst) {\n return this;\n }\n }\n if (removingFirst && !newChild) {\n return this;\n }\n var editable = editableVNode(this, ownerID);\n if (!removingFirst) {\n for (var ii = 0; ii < originIndex; ii++) {\n editable.array[ii] = undefined;\n }\n }\n if (newChild) {\n editable.array[originIndex] = newChild;\n }\n return editable;\n };\n\n VNode.prototype.removeAfter = function(ownerID, level, index) {\n if (index === (level ? 1 << level : 0) || this.array.length === 0) {\n return this;\n }\n var sizeIndex = ((index - 1) >>> level) & MASK;\n if (sizeIndex >= this.array.length) {\n return this;\n }\n\n var newChild;\n if (level > 0) {\n var oldChild = this.array[sizeIndex];\n newChild = oldChild && oldChild.removeAfter(ownerID, level - SHIFT, index);\n if (newChild === oldChild && sizeIndex === this.array.length - 1) {\n return this;\n }\n }\n\n var editable = editableVNode(this, ownerID);\n editable.array.splice(sizeIndex + 1);\n if (newChild) {\n editable.array[sizeIndex] = newChild;\n }\n return editable;\n };\n\n\n\n var DONE = {};\n\n function iterateList(list, reverse) {\n var left = list._origin;\n var right = list._capacity;\n var tailPos = getTailOffset(right);\n var tail = list._tail;\n\n return iterateNodeOrLeaf(list._root, list._level, 0);\n\n function iterateNodeOrLeaf(node, level, offset) {\n return level === 0 ?\n iterateLeaf(node, offset) :\n iterateNode(node, level, offset);\n }\n\n function iterateLeaf(node, offset) {\n var array = offset === tailPos ? tail && tail.array : node && node.array;\n var from = offset > left ? 0 : left - offset;\n var to = right - offset;\n if (to > SIZE) {\n to = SIZE;\n }\n return function() {\n if (from === to) {\n return DONE;\n }\n var idx = reverse ? --to : from++;\n return array && array[idx];\n };\n }\n\n function iterateNode(node, level, offset) {\n var values;\n var array = node && node.array;\n var from = offset > left ? 0 : (left - offset) >> level;\n var to = ((right - offset) >> level) + 1;\n if (to > SIZE) {\n to = SIZE;\n }\n return function() {\n do {\n if (values) {\n var value = values();\n if (value !== DONE) {\n return value;\n }\n values = null;\n }\n if (from === to) {\n return DONE;\n }\n var idx = reverse ? --to : from++;\n values = iterateNodeOrLeaf(\n array && array[idx], level - SHIFT, offset + (idx << level)\n );\n } while (true);\n };\n }\n }\n\n function makeList(origin, capacity, level, root, tail, ownerID, hash) {\n var list = Object.create(ListPrototype);\n list.size = capacity - origin;\n list._origin = origin;\n list._capacity = capacity;\n list._level = level;\n list._root = root;\n list._tail = tail;\n list.__ownerID = ownerID;\n list.__hash = hash;\n list.__altered = false;\n return list;\n }\n\n var EMPTY_LIST;\n function emptyList() {\n return EMPTY_LIST || (EMPTY_LIST = makeList(0, 0, SHIFT));\n }\n\n function updateList(list, index, value) {\n index = wrapIndex(list, index);\n\n if (index !== index) {\n return list;\n }\n\n if (index >= list.size || index < 0) {\n return list.withMutations(function(list ) {\n index < 0 ?\n setListBounds(list, index).set(0, value) :\n setListBounds(list, 0, index + 1).set(index, value)\n });\n }\n\n index += list._origin;\n\n var newTail = list._tail;\n var newRoot = list._root;\n var didAlter = MakeRef(DID_ALTER);\n if (index >= getTailOffset(list._capacity)) {\n newTail = updateVNode(newTail, list.__ownerID, 0, index, value, didAlter);\n } else {\n newRoot = updateVNode(newRoot, list.__ownerID, list._level, index, value, didAlter);\n }\n\n if (!didAlter.value) {\n return list;\n }\n\n if (list.__ownerID) {\n list._root = newRoot;\n list._tail = newTail;\n list.__hash = undefined;\n list.__altered = true;\n return list;\n }\n return makeList(list._origin, list._capacity, list._level, newRoot, newTail);\n }\n\n function updateVNode(node, ownerID, level, index, value, didAlter) {\n var idx = (index >>> level) & MASK;\n var nodeHas = node && idx < node.array.length;\n if (!nodeHas && value === undefined) {\n return node;\n }\n\n var newNode;\n\n if (level > 0) {\n var lowerNode = node && node.array[idx];\n var newLowerNode = updateVNode(lowerNode, ownerID, level - SHIFT, index, value, didAlter);\n if (newLowerNode === lowerNode) {\n return node;\n }\n newNode = editableVNode(node, ownerID);\n newNode.array[idx] = newLowerNode;\n return newNode;\n }\n\n if (nodeHas && node.array[idx] === value) {\n return node;\n }\n\n SetRef(didAlter);\n\n newNode = editableVNode(node, ownerID);\n if (value === undefined && idx === newNode.array.length - 1) {\n newNode.array.pop();\n } else {\n newNode.array[idx] = value;\n }\n return newNode;\n }\n\n function editableVNode(node, ownerID) {\n if (ownerID && node && ownerID === node.ownerID) {\n return node;\n }\n return new VNode(node ? node.array.slice() : [], ownerID);\n }\n\n function listNodeFor(list, rawIndex) {\n if (rawIndex >= getTailOffset(list._capacity)) {\n return list._tail;\n }\n if (rawIndex < 1 << (list._level + SHIFT)) {\n var node = list._root;\n var level = list._level;\n while (node && level > 0) {\n node = node.array[(rawIndex >>> level) & MASK];\n level -= SHIFT;\n }\n return node;\n }\n }\n\n function setListBounds(list, begin, end) {\n // Sanitize begin & end using this shorthand for ToInt32(argument)\n // http://www.ecma-international.org/ecma-262/6.0/#sec-toint32\n if (begin !== undefined) {\n begin = begin | 0;\n }\n if (end !== undefined) {\n end = end | 0;\n }\n var owner = list.__ownerID || new OwnerID();\n var oldOrigin = list._origin;\n var oldCapacity = list._capacity;\n var newOrigin = oldOrigin + begin;\n var newCapacity = end === undefined ? oldCapacity : end < 0 ? oldCapacity + end : oldOrigin + end;\n if (newOrigin === oldOrigin && newCapacity === oldCapacity) {\n return list;\n }\n\n // If it's going to end after it starts, it's empty.\n if (newOrigin >= newCapacity) {\n return list.clear();\n }\n\n var newLevel = list._level;\n var newRoot = list._root;\n\n // New origin might need creating a higher root.\n var offsetShift = 0;\n while (newOrigin + offsetShift < 0) {\n newRoot = new VNode(newRoot && newRoot.array.length ? [undefined, newRoot] : [], owner);\n newLevel += SHIFT;\n offsetShift += 1 << newLevel;\n }\n if (offsetShift) {\n newOrigin += offsetShift;\n oldOrigin += offsetShift;\n newCapacity += offsetShift;\n oldCapacity += offsetShift;\n }\n\n var oldTailOffset = getTailOffset(oldCapacity);\n var newTailOffset = getTailOffset(newCapacity);\n\n // New size might need creating a higher root.\n while (newTailOffset >= 1 << (newLevel + SHIFT)) {\n newRoot = new VNode(newRoot && newRoot.array.length ? [newRoot] : [], owner);\n newLevel += SHIFT;\n }\n\n // Locate or create the new tail.\n var oldTail = list._tail;\n var newTail = newTailOffset < oldTailOffset ?\n listNodeFor(list, newCapacity - 1) :\n newTailOffset > oldTailOffset ? new VNode([], owner) : oldTail;\n\n // Merge Tail into tree.\n if (oldTail && newTailOffset > oldTailOffset && newOrigin < oldCapacity && oldTail.array.length) {\n newRoot = editableVNode(newRoot, owner);\n var node = newRoot;\n for (var level = newLevel; level > SHIFT; level -= SHIFT) {\n var idx = (oldTailOffset >>> level) & MASK;\n node = node.array[idx] = editableVNode(node.array[idx], owner);\n }\n node.array[(oldTailOffset >>> SHIFT) & MASK] = oldTail;\n }\n\n // If the size has been reduced, there's a chance the tail needs to be trimmed.\n if (newCapacity < oldCapacity) {\n newTail = newTail && newTail.removeAfter(owner, 0, newCapacity);\n }\n\n // If the new origin is within the tail, then we do not need a root.\n if (newOrigin >= newTailOffset) {\n newOrigin -= newTailOffset;\n newCapacity -= newTailOffset;\n newLevel = SHIFT;\n newRoot = null;\n newTail = newTail && newTail.removeBefore(owner, 0, newOrigin);\n\n // Otherwise, if the root has been trimmed, garbage collect.\n } else if (newOrigin > oldOrigin || newTailOffset < oldTailOffset) {\n offsetShift = 0;\n\n // Identify the new top root node of the subtree of the old root.\n while (newRoot) {\n var beginIndex = (newOrigin >>> newLevel) & MASK;\n if (beginIndex !== (newTailOffset >>> newLevel) & MASK) {\n break;\n }\n if (beginIndex) {\n offsetShift += (1 << newLevel) * beginIndex;\n }\n newLevel -= SHIFT;\n newRoot = newRoot.array[beginIndex];\n }\n\n // Trim the new sides of the new root.\n if (newRoot && newOrigin > oldOrigin) {\n newRoot = newRoot.removeBefore(owner, newLevel, newOrigin - offsetShift);\n }\n if (newRoot && newTailOffset < oldTailOffset) {\n newRoot = newRoot.removeAfter(owner, newLevel, newTailOffset - offsetShift);\n }\n if (offsetShift) {\n newOrigin -= offsetShift;\n newCapacity -= offsetShift;\n }\n }\n\n if (list.__ownerID) {\n list.size = newCapacity - newOrigin;\n list._origin = newOrigin;\n list._capacity = newCapacity;\n list._level = newLevel;\n list._root = newRoot;\n list._tail = newTail;\n list.__hash = undefined;\n list.__altered = true;\n return list;\n }\n return makeList(newOrigin, newCapacity, newLevel, newRoot, newTail);\n }\n\n function mergeIntoListWith(list, merger, iterables) {\n var iters = [];\n var maxSize = 0;\n for (var ii = 0; ii < iterables.length; ii++) {\n var value = iterables[ii];\n var iter = IndexedIterable(value);\n if (iter.size > maxSize) {\n maxSize = iter.size;\n }\n if (!isIterable(value)) {\n iter = iter.map(function(v ) {return fromJS(v)});\n }\n iters.push(iter);\n }\n if (maxSize > list.size) {\n list = list.setSize(maxSize);\n }\n return mergeIntoCollectionWith(list, merger, iters);\n }\n\n function getTailOffset(size) {\n return size < SIZE ? 0 : (((size - 1) >>> SHIFT) << SHIFT);\n }\n\n createClass(OrderedMap, Map);\n\n // @pragma Construction\n\n function OrderedMap(value) {\n return value === null || value === undefined ? emptyOrderedMap() :\n isOrderedMap(value) ? value :\n emptyOrderedMap().withMutations(function(map ) {\n var iter = KeyedIterable(value);\n assertNotInfinite(iter.size);\n iter.forEach(function(v, k) {return map.set(k, v)});\n });\n }\n\n OrderedMap.of = function(/*...values*/) {\n return this(arguments);\n };\n\n OrderedMap.prototype.toString = function() {\n return this.__toString('OrderedMap {', '}');\n };\n\n // @pragma Access\n\n OrderedMap.prototype.get = function(k, notSetValue) {\n var index = this._map.get(k);\n return index !== undefined ? this._list.get(index)[1] : notSetValue;\n };\n\n // @pragma Modification\n\n OrderedMap.prototype.clear = function() {\n if (this.size === 0) {\n return this;\n }\n if (this.__ownerID) {\n this.size = 0;\n this._map.clear();\n this._list.clear();\n return this;\n }\n return emptyOrderedMap();\n };\n\n OrderedMap.prototype.set = function(k, v) {\n return updateOrderedMap(this, k, v);\n };\n\n OrderedMap.prototype.remove = function(k) {\n return updateOrderedMap(this, k, NOT_SET);\n };\n\n OrderedMap.prototype.wasAltered = function() {\n return this._map.wasAltered() || this._list.wasAltered();\n };\n\n OrderedMap.prototype.__iterate = function(fn, reverse) {var this$0 = this;\n return this._list.__iterate(\n function(entry ) {return entry && fn(entry[1], entry[0], this$0)},\n reverse\n );\n };\n\n OrderedMap.prototype.__iterator = function(type, reverse) {\n return this._list.fromEntrySeq().__iterator(type, reverse);\n };\n\n OrderedMap.prototype.__ensureOwner = function(ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n var newMap = this._map.__ensureOwner(ownerID);\n var newList = this._list.__ensureOwner(ownerID);\n if (!ownerID) {\n this.__ownerID = ownerID;\n this._map = newMap;\n this._list = newList;\n return this;\n }\n return makeOrderedMap(newMap, newList, ownerID, this.__hash);\n };\n\n\n function isOrderedMap(maybeOrderedMap) {\n return isMap(maybeOrderedMap) && isOrdered(maybeOrderedMap);\n }\n\n OrderedMap.isOrderedMap = isOrderedMap;\n\n OrderedMap.prototype[IS_ORDERED_SENTINEL] = true;\n OrderedMap.prototype[DELETE] = OrderedMap.prototype.remove;\n\n\n\n function makeOrderedMap(map, list, ownerID, hash) {\n var omap = Object.create(OrderedMap.prototype);\n omap.size = map ? map.size : 0;\n omap._map = map;\n omap._list = list;\n omap.__ownerID = ownerID;\n omap.__hash = hash;\n return omap;\n }\n\n var EMPTY_ORDERED_MAP;\n function emptyOrderedMap() {\n return EMPTY_ORDERED_MAP || (EMPTY_ORDERED_MAP = makeOrderedMap(emptyMap(), emptyList()));\n }\n\n function updateOrderedMap(omap, k, v) {\n var map = omap._map;\n var list = omap._list;\n var i = map.get(k);\n var has = i !== undefined;\n var newMap;\n var newList;\n if (v === NOT_SET) { // removed\n if (!has) {\n return omap;\n }\n if (list.size >= SIZE && list.size >= map.size * 2) {\n newList = list.filter(function(entry, idx) {return entry !== undefined && i !== idx});\n newMap = newList.toKeyedSeq().map(function(entry ) {return entry[0]}).flip().toMap();\n if (omap.__ownerID) {\n newMap.__ownerID = newList.__ownerID = omap.__ownerID;\n }\n } else {\n newMap = map.remove(k);\n newList = i === list.size - 1 ? list.pop() : list.set(i, undefined);\n }\n } else {\n if (has) {\n if (v === list.get(i)[1]) {\n return omap;\n }\n newMap = map;\n newList = list.set(i, [k, v]);\n } else {\n newMap = map.set(k, list.size);\n newList = list.set(list.size, [k, v]);\n }\n }\n if (omap.__ownerID) {\n omap.size = newMap.size;\n omap._map = newMap;\n omap._list = newList;\n omap.__hash = undefined;\n return omap;\n }\n return makeOrderedMap(newMap, newList);\n }\n\n createClass(ToKeyedSequence, KeyedSeq);\n function ToKeyedSequence(indexed, useKeys) {\n this._iter = indexed;\n this._useKeys = useKeys;\n this.size = indexed.size;\n }\n\n ToKeyedSequence.prototype.get = function(key, notSetValue) {\n return this._iter.get(key, notSetValue);\n };\n\n ToKeyedSequence.prototype.has = function(key) {\n return this._iter.has(key);\n };\n\n ToKeyedSequence.prototype.valueSeq = function() {\n return this._iter.valueSeq();\n };\n\n ToKeyedSequence.prototype.reverse = function() {var this$0 = this;\n var reversedSequence = reverseFactory(this, true);\n if (!this._useKeys) {\n reversedSequence.valueSeq = function() {return this$0._iter.toSeq().reverse()};\n }\n return reversedSequence;\n };\n\n ToKeyedSequence.prototype.map = function(mapper, context) {var this$0 = this;\n var mappedSequence = mapFactory(this, mapper, context);\n if (!this._useKeys) {\n mappedSequence.valueSeq = function() {return this$0._iter.toSeq().map(mapper, context)};\n }\n return mappedSequence;\n };\n\n ToKeyedSequence.prototype.__iterate = function(fn, reverse) {var this$0 = this;\n var ii;\n return this._iter.__iterate(\n this._useKeys ?\n function(v, k) {return fn(v, k, this$0)} :\n ((ii = reverse ? resolveSize(this) : 0),\n function(v ) {return fn(v, reverse ? --ii : ii++, this$0)}),\n reverse\n );\n };\n\n ToKeyedSequence.prototype.__iterator = function(type, reverse) {\n if (this._useKeys) {\n return this._iter.__iterator(type, reverse);\n }\n var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n var ii = reverse ? resolveSize(this) : 0;\n return new Iterator(function() {\n var step = iterator.next();\n return step.done ? step :\n iteratorValue(type, reverse ? --ii : ii++, step.value, step);\n });\n };\n\n ToKeyedSequence.prototype[IS_ORDERED_SENTINEL] = true;\n\n\n createClass(ToIndexedSequence, IndexedSeq);\n function ToIndexedSequence(iter) {\n this._iter = iter;\n this.size = iter.size;\n }\n\n ToIndexedSequence.prototype.includes = function(value) {\n return this._iter.includes(value);\n };\n\n ToIndexedSequence.prototype.__iterate = function(fn, reverse) {var this$0 = this;\n var iterations = 0;\n return this._iter.__iterate(function(v ) {return fn(v, iterations++, this$0)}, reverse);\n };\n\n ToIndexedSequence.prototype.__iterator = function(type, reverse) {\n var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n var iterations = 0;\n return new Iterator(function() {\n var step = iterator.next();\n return step.done ? step :\n iteratorValue(type, iterations++, step.value, step)\n });\n };\n\n\n\n createClass(ToSetSequence, SetSeq);\n function ToSetSequence(iter) {\n this._iter = iter;\n this.size = iter.size;\n }\n\n ToSetSequence.prototype.has = function(key) {\n return this._iter.includes(key);\n };\n\n ToSetSequence.prototype.__iterate = function(fn, reverse) {var this$0 = this;\n return this._iter.__iterate(function(v ) {return fn(v, v, this$0)}, reverse);\n };\n\n ToSetSequence.prototype.__iterator = function(type, reverse) {\n var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n return new Iterator(function() {\n var step = iterator.next();\n return step.done ? step :\n iteratorValue(type, step.value, step.value, step);\n });\n };\n\n\n\n createClass(FromEntriesSequence, KeyedSeq);\n function FromEntriesSequence(entries) {\n this._iter = entries;\n this.size = entries.size;\n }\n\n FromEntriesSequence.prototype.entrySeq = function() {\n return this._iter.toSeq();\n };\n\n FromEntriesSequence.prototype.__iterate = function(fn, reverse) {var this$0 = this;\n return this._iter.__iterate(function(entry ) {\n // Check if entry exists first so array access doesn't throw for holes\n // in the parent iteration.\n if (entry) {\n validateEntry(entry);\n var indexedIterable = isIterable(entry);\n return fn(\n indexedIterable ? entry.get(1) : entry[1],\n indexedIterable ? entry.get(0) : entry[0],\n this$0\n );\n }\n }, reverse);\n };\n\n FromEntriesSequence.prototype.__iterator = function(type, reverse) {\n var iterator = this._iter.__iterator(ITERATE_VALUES, reverse);\n return new Iterator(function() {\n while (true) {\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n var entry = step.value;\n // Check if entry exists first so array access doesn't throw for holes\n // in the parent iteration.\n if (entry) {\n validateEntry(entry);\n var indexedIterable = isIterable(entry);\n return iteratorValue(\n type,\n indexedIterable ? entry.get(0) : entry[0],\n indexedIterable ? entry.get(1) : entry[1],\n step\n );\n }\n }\n });\n };\n\n\n ToIndexedSequence.prototype.cacheResult =\n ToKeyedSequence.prototype.cacheResult =\n ToSetSequence.prototype.cacheResult =\n FromEntriesSequence.prototype.cacheResult =\n cacheResultThrough;\n\n\n function flipFactory(iterable) {\n var flipSequence = makeSequence(iterable);\n flipSequence._iter = iterable;\n flipSequence.size = iterable.size;\n flipSequence.flip = function() {return iterable};\n flipSequence.reverse = function () {\n var reversedSequence = iterable.reverse.apply(this); // super.reverse()\n reversedSequence.flip = function() {return iterable.reverse()};\n return reversedSequence;\n };\n flipSequence.has = function(key ) {return iterable.includes(key)};\n flipSequence.includes = function(key ) {return iterable.has(key)};\n flipSequence.cacheResult = cacheResultThrough;\n flipSequence.__iterateUncached = function (fn, reverse) {var this$0 = this;\n return iterable.__iterate(function(v, k) {return fn(k, v, this$0) !== false}, reverse);\n }\n flipSequence.__iteratorUncached = function(type, reverse) {\n if (type === ITERATE_ENTRIES) {\n var iterator = iterable.__iterator(type, reverse);\n return new Iterator(function() {\n var step = iterator.next();\n if (!step.done) {\n var k = step.value[0];\n step.value[0] = step.value[1];\n step.value[1] = k;\n }\n return step;\n });\n }\n return iterable.__iterator(\n type === ITERATE_VALUES ? ITERATE_KEYS : ITERATE_VALUES,\n reverse\n );\n }\n return flipSequence;\n }\n\n\n function mapFactory(iterable, mapper, context) {\n var mappedSequence = makeSequence(iterable);\n mappedSequence.size = iterable.size;\n mappedSequence.has = function(key ) {return iterable.has(key)};\n mappedSequence.get = function(key, notSetValue) {\n var v = iterable.get(key, NOT_SET);\n return v === NOT_SET ?\n notSetValue :\n mapper.call(context, v, key, iterable);\n };\n mappedSequence.__iterateUncached = function (fn, reverse) {var this$0 = this;\n return iterable.__iterate(\n function(v, k, c) {return fn(mapper.call(context, v, k, c), k, this$0) !== false},\n reverse\n );\n }\n mappedSequence.__iteratorUncached = function (type, reverse) {\n var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse);\n return new Iterator(function() {\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n var entry = step.value;\n var key = entry[0];\n return iteratorValue(\n type,\n key,\n mapper.call(context, entry[1], key, iterable),\n step\n );\n });\n }\n return mappedSequence;\n }\n\n\n function reverseFactory(iterable, useKeys) {\n var reversedSequence = makeSequence(iterable);\n reversedSequence._iter = iterable;\n reversedSequence.size = iterable.size;\n reversedSequence.reverse = function() {return iterable};\n if (iterable.flip) {\n reversedSequence.flip = function () {\n var flipSequence = flipFactory(iterable);\n flipSequence.reverse = function() {return iterable.flip()};\n return flipSequence;\n };\n }\n reversedSequence.get = function(key, notSetValue) \n {return iterable.get(useKeys ? key : -1 - key, notSetValue)};\n reversedSequence.has = function(key )\n {return iterable.has(useKeys ? key : -1 - key)};\n reversedSequence.includes = function(value ) {return iterable.includes(value)};\n reversedSequence.cacheResult = cacheResultThrough;\n reversedSequence.__iterate = function (fn, reverse) {var this$0 = this;\n return iterable.__iterate(function(v, k) {return fn(v, k, this$0)}, !reverse);\n };\n reversedSequence.__iterator =\n function(type, reverse) {return iterable.__iterator(type, !reverse)};\n return reversedSequence;\n }\n\n\n function filterFactory(iterable, predicate, context, useKeys) {\n var filterSequence = makeSequence(iterable);\n if (useKeys) {\n filterSequence.has = function(key ) {\n var v = iterable.get(key, NOT_SET);\n return v !== NOT_SET && !!predicate.call(context, v, key, iterable);\n };\n filterSequence.get = function(key, notSetValue) {\n var v = iterable.get(key, NOT_SET);\n return v !== NOT_SET && predicate.call(context, v, key, iterable) ?\n v : notSetValue;\n };\n }\n filterSequence.__iterateUncached = function (fn, reverse) {var this$0 = this;\n var iterations = 0;\n iterable.__iterate(function(v, k, c) {\n if (predicate.call(context, v, k, c)) {\n iterations++;\n return fn(v, useKeys ? k : iterations - 1, this$0);\n }\n }, reverse);\n return iterations;\n };\n filterSequence.__iteratorUncached = function (type, reverse) {\n var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse);\n var iterations = 0;\n return new Iterator(function() {\n while (true) {\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n var entry = step.value;\n var key = entry[0];\n var value = entry[1];\n if (predicate.call(context, value, key, iterable)) {\n return iteratorValue(type, useKeys ? key : iterations++, value, step);\n }\n }\n });\n }\n return filterSequence;\n }\n\n\n function countByFactory(iterable, grouper, context) {\n var groups = Map().asMutable();\n iterable.__iterate(function(v, k) {\n groups.update(\n grouper.call(context, v, k, iterable),\n 0,\n function(a ) {return a + 1}\n );\n });\n return groups.asImmutable();\n }\n\n\n function groupByFactory(iterable, grouper, context) {\n var isKeyedIter = isKeyed(iterable);\n var groups = (isOrdered(iterable) ? OrderedMap() : Map()).asMutable();\n iterable.__iterate(function(v, k) {\n groups.update(\n grouper.call(context, v, k, iterable),\n function(a ) {return (a = a || [], a.push(isKeyedIter ? [k, v] : v), a)}\n );\n });\n var coerce = iterableClass(iterable);\n return groups.map(function(arr ) {return reify(iterable, coerce(arr))});\n }\n\n\n function sliceFactory(iterable, begin, end, useKeys) {\n var originalSize = iterable.size;\n\n // Sanitize begin & end using this shorthand for ToInt32(argument)\n // http://www.ecma-international.org/ecma-262/6.0/#sec-toint32\n if (begin !== undefined) {\n begin = begin | 0;\n }\n if (end !== undefined) {\n if (end === Infinity) {\n end = originalSize;\n } else {\n end = end | 0;\n }\n }\n\n if (wholeSlice(begin, end, originalSize)) {\n return iterable;\n }\n\n var resolvedBegin = resolveBegin(begin, originalSize);\n var resolvedEnd = resolveEnd(end, originalSize);\n\n // begin or end will be NaN if they were provided as negative numbers and\n // this iterable's size is unknown. In that case, cache first so there is\n // a known size and these do not resolve to NaN.\n if (resolvedBegin !== resolvedBegin || resolvedEnd !== resolvedEnd) {\n return sliceFactory(iterable.toSeq().cacheResult(), begin, end, useKeys);\n }\n\n // Note: resolvedEnd is undefined when the original sequence's length is\n // unknown and this slice did not supply an end and should contain all\n // elements after resolvedBegin.\n // In that case, resolvedSize will be NaN and sliceSize will remain undefined.\n var resolvedSize = resolvedEnd - resolvedBegin;\n var sliceSize;\n if (resolvedSize === resolvedSize) {\n sliceSize = resolvedSize < 0 ? 0 : resolvedSize;\n }\n\n var sliceSeq = makeSequence(iterable);\n\n // If iterable.size is undefined, the size of the realized sliceSeq is\n // unknown at this point unless the number of items to slice is 0\n sliceSeq.size = sliceSize === 0 ? sliceSize : iterable.size && sliceSize || undefined;\n\n if (!useKeys && isSeq(iterable) && sliceSize >= 0) {\n sliceSeq.get = function (index, notSetValue) {\n index = wrapIndex(this, index);\n return index >= 0 && index < sliceSize ?\n iterable.get(index + resolvedBegin, notSetValue) :\n notSetValue;\n }\n }\n\n sliceSeq.__iterateUncached = function(fn, reverse) {var this$0 = this;\n if (sliceSize === 0) {\n return 0;\n }\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var skipped = 0;\n var isSkipping = true;\n var iterations = 0;\n iterable.__iterate(function(v, k) {\n if (!(isSkipping && (isSkipping = skipped++ < resolvedBegin))) {\n iterations++;\n return fn(v, useKeys ? k : iterations - 1, this$0) !== false &&\n iterations !== sliceSize;\n }\n });\n return iterations;\n };\n\n sliceSeq.__iteratorUncached = function(type, reverse) {\n if (sliceSize !== 0 && reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n // Don't bother instantiating parent iterator if taking 0.\n var iterator = sliceSize !== 0 && iterable.__iterator(type, reverse);\n var skipped = 0;\n var iterations = 0;\n return new Iterator(function() {\n while (skipped++ < resolvedBegin) {\n iterator.next();\n }\n if (++iterations > sliceSize) {\n return iteratorDone();\n }\n var step = iterator.next();\n if (useKeys || type === ITERATE_VALUES) {\n return step;\n } else if (type === ITERATE_KEYS) {\n return iteratorValue(type, iterations - 1, undefined, step);\n } else {\n return iteratorValue(type, iterations - 1, step.value[1], step);\n }\n });\n }\n\n return sliceSeq;\n }\n\n\n function takeWhileFactory(iterable, predicate, context) {\n var takeSequence = makeSequence(iterable);\n takeSequence.__iterateUncached = function(fn, reverse) {var this$0 = this;\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var iterations = 0;\n iterable.__iterate(function(v, k, c) \n {return predicate.call(context, v, k, c) && ++iterations && fn(v, k, this$0)}\n );\n return iterations;\n };\n takeSequence.__iteratorUncached = function(type, reverse) {var this$0 = this;\n if (reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse);\n var iterating = true;\n return new Iterator(function() {\n if (!iterating) {\n return iteratorDone();\n }\n var step = iterator.next();\n if (step.done) {\n return step;\n }\n var entry = step.value;\n var k = entry[0];\n var v = entry[1];\n if (!predicate.call(context, v, k, this$0)) {\n iterating = false;\n return iteratorDone();\n }\n return type === ITERATE_ENTRIES ? step :\n iteratorValue(type, k, v, step);\n });\n };\n return takeSequence;\n }\n\n\n function skipWhileFactory(iterable, predicate, context, useKeys) {\n var skipSequence = makeSequence(iterable);\n skipSequence.__iterateUncached = function (fn, reverse) {var this$0 = this;\n if (reverse) {\n return this.cacheResult().__iterate(fn, reverse);\n }\n var isSkipping = true;\n var iterations = 0;\n iterable.__iterate(function(v, k, c) {\n if (!(isSkipping && (isSkipping = predicate.call(context, v, k, c)))) {\n iterations++;\n return fn(v, useKeys ? k : iterations - 1, this$0);\n }\n });\n return iterations;\n };\n skipSequence.__iteratorUncached = function(type, reverse) {var this$0 = this;\n if (reverse) {\n return this.cacheResult().__iterator(type, reverse);\n }\n var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse);\n var skipping = true;\n var iterations = 0;\n return new Iterator(function() {\n var step, k, v;\n do {\n step = iterator.next();\n if (step.done) {\n if (useKeys || type === ITERATE_VALUES) {\n return step;\n } else if (type === ITERATE_KEYS) {\n return iteratorValue(type, iterations++, undefined, step);\n } else {\n return iteratorValue(type, iterations++, step.value[1], step);\n }\n }\n var entry = step.value;\n k = entry[0];\n v = entry[1];\n skipping && (skipping = predicate.call(context, v, k, this$0));\n } while (skipping);\n return type === ITERATE_ENTRIES ? step :\n iteratorValue(type, k, v, step);\n });\n };\n return skipSequence;\n }\n\n\n function concatFactory(iterable, values) {\n var isKeyedIterable = isKeyed(iterable);\n var iters = [iterable].concat(values).map(function(v ) {\n if (!isIterable(v)) {\n v = isKeyedIterable ?\n keyedSeqFromValue(v) :\n indexedSeqFromValue(Array.isArray(v) ? v : [v]);\n } else if (isKeyedIterable) {\n v = KeyedIterable(v);\n }\n return v;\n }).filter(function(v ) {return v.size !== 0});\n\n if (iters.length === 0) {\n return iterable;\n }\n\n if (iters.length === 1) {\n var singleton = iters[0];\n if (singleton === iterable ||\n isKeyedIterable && isKeyed(singleton) ||\n isIndexed(iterable) && isIndexed(singleton)) {\n return singleton;\n }\n }\n\n var concatSeq = new ArraySeq(iters);\n if (isKeyedIterable) {\n concatSeq = concatSeq.toKeyedSeq();\n } else if (!isIndexed(iterable)) {\n concatSeq = concatSeq.toSetSeq();\n }\n concatSeq = concatSeq.flatten(true);\n concatSeq.size = iters.reduce(\n function(sum, seq) {\n if (sum !== undefined) {\n var size = seq.size;\n if (size !== undefined) {\n return sum + size;\n }\n }\n },\n 0\n );\n return concatSeq;\n }\n\n\n function flattenFactory(iterable, depth, useKeys) {\n var flatSequence = makeSequence(iterable);\n flatSequence.__iterateUncached = function(fn, reverse) {\n var iterations = 0;\n var stopped = false;\n function flatDeep(iter, currentDepth) {var this$0 = this;\n iter.__iterate(function(v, k) {\n if ((!depth || currentDepth < depth) && isIterable(v)) {\n flatDeep(v, currentDepth + 1);\n } else if (fn(v, useKeys ? k : iterations++, this$0) === false) {\n stopped = true;\n }\n return !stopped;\n }, reverse);\n }\n flatDeep(iterable, 0);\n return iterations;\n }\n flatSequence.__iteratorUncached = function(type, reverse) {\n var iterator = iterable.__iterator(type, reverse);\n var stack = [];\n var iterations = 0;\n return new Iterator(function() {\n while (iterator) {\n var step = iterator.next();\n if (step.done !== false) {\n iterator = stack.pop();\n continue;\n }\n var v = step.value;\n if (type === ITERATE_ENTRIES) {\n v = v[1];\n }\n if ((!depth || stack.length < depth) && isIterable(v)) {\n stack.push(iterator);\n iterator = v.__iterator(type, reverse);\n } else {\n return useKeys ? step : iteratorValue(type, iterations++, v, step);\n }\n }\n return iteratorDone();\n });\n }\n return flatSequence;\n }\n\n\n function flatMapFactory(iterable, mapper, context) {\n var coerce = iterableClass(iterable);\n return iterable.toSeq().map(\n function(v, k) {return coerce(mapper.call(context, v, k, iterable))}\n ).flatten(true);\n }\n\n\n function interposeFactory(iterable, separator) {\n var interposedSequence = makeSequence(iterable);\n interposedSequence.size = iterable.size && iterable.size * 2 -1;\n interposedSequence.__iterateUncached = function(fn, reverse) {var this$0 = this;\n var iterations = 0;\n iterable.__iterate(function(v, k) \n {return (!iterations || fn(separator, iterations++, this$0) !== false) &&\n fn(v, iterations++, this$0) !== false},\n reverse\n );\n return iterations;\n };\n interposedSequence.__iteratorUncached = function(type, reverse) {\n var iterator = iterable.__iterator(ITERATE_VALUES, reverse);\n var iterations = 0;\n var step;\n return new Iterator(function() {\n if (!step || iterations % 2) {\n step = iterator.next();\n if (step.done) {\n return step;\n }\n }\n return iterations % 2 ?\n iteratorValue(type, iterations++, separator) :\n iteratorValue(type, iterations++, step.value, step);\n });\n };\n return interposedSequence;\n }\n\n\n function sortFactory(iterable, comparator, mapper) {\n if (!comparator) {\n comparator = defaultComparator;\n }\n var isKeyedIterable = isKeyed(iterable);\n var index = 0;\n var entries = iterable.toSeq().map(\n function(v, k) {return [k, v, index++, mapper ? mapper(v, k, iterable) : v]}\n ).toArray();\n entries.sort(function(a, b) {return comparator(a[3], b[3]) || a[2] - b[2]}).forEach(\n isKeyedIterable ?\n function(v, i) { entries[i].length = 2; } :\n function(v, i) { entries[i] = v[1]; }\n );\n return isKeyedIterable ? KeyedSeq(entries) :\n isIndexed(iterable) ? IndexedSeq(entries) :\n SetSeq(entries);\n }\n\n\n function maxFactory(iterable, comparator, mapper) {\n if (!comparator) {\n comparator = defaultComparator;\n }\n if (mapper) {\n var entry = iterable.toSeq()\n .map(function(v, k) {return [v, mapper(v, k, iterable)]})\n .reduce(function(a, b) {return maxCompare(comparator, a[1], b[1]) ? b : a});\n return entry && entry[0];\n } else {\n return iterable.reduce(function(a, b) {return maxCompare(comparator, a, b) ? b : a});\n }\n }\n\n function maxCompare(comparator, a, b) {\n var comp = comparator(b, a);\n // b is considered the new max if the comparator declares them equal, but\n // they are not equal and b is in fact a nullish value.\n return (comp === 0 && b !== a && (b === undefined || b === null || b !== b)) || comp > 0;\n }\n\n\n function zipWithFactory(keyIter, zipper, iters) {\n var zipSequence = makeSequence(keyIter);\n zipSequence.size = new ArraySeq(iters).map(function(i ) {return i.size}).min();\n // Note: this a generic base implementation of __iterate in terms of\n // __iterator which may be more generically useful in the future.\n zipSequence.__iterate = function(fn, reverse) {\n /* generic:\n var iterator = this.__iterator(ITERATE_ENTRIES, reverse);\n var step;\n var iterations = 0;\n while (!(step = iterator.next()).done) {\n iterations++;\n if (fn(step.value[1], step.value[0], this) === false) {\n break;\n }\n }\n return iterations;\n */\n // indexed:\n var iterator = this.__iterator(ITERATE_VALUES, reverse);\n var step;\n var iterations = 0;\n while (!(step = iterator.next()).done) {\n if (fn(step.value, iterations++, this) === false) {\n break;\n }\n }\n return iterations;\n };\n zipSequence.__iteratorUncached = function(type, reverse) {\n var iterators = iters.map(function(i )\n {return (i = Iterable(i), getIterator(reverse ? i.reverse() : i))}\n );\n var iterations = 0;\n var isDone = false;\n return new Iterator(function() {\n var steps;\n if (!isDone) {\n steps = iterators.map(function(i ) {return i.next()});\n isDone = steps.some(function(s ) {return s.done});\n }\n if (isDone) {\n return iteratorDone();\n }\n return iteratorValue(\n type,\n iterations++,\n zipper.apply(null, steps.map(function(s ) {return s.value}))\n );\n });\n };\n return zipSequence\n }\n\n\n // #pragma Helper Functions\n\n function reify(iter, seq) {\n return isSeq(iter) ? seq : iter.constructor(seq);\n }\n\n function validateEntry(entry) {\n if (entry !== Object(entry)) {\n throw new TypeError('Expected [K, V] tuple: ' + entry);\n }\n }\n\n function resolveSize(iter) {\n assertNotInfinite(iter.size);\n return ensureSize(iter);\n }\n\n function iterableClass(iterable) {\n return isKeyed(iterable) ? KeyedIterable :\n isIndexed(iterable) ? IndexedIterable :\n SetIterable;\n }\n\n function makeSequence(iterable) {\n return Object.create(\n (\n isKeyed(iterable) ? KeyedSeq :\n isIndexed(iterable) ? IndexedSeq :\n SetSeq\n ).prototype\n );\n }\n\n function cacheResultThrough() {\n if (this._iter.cacheResult) {\n this._iter.cacheResult();\n this.size = this._iter.size;\n return this;\n } else {\n return Seq.prototype.cacheResult.call(this);\n }\n }\n\n function defaultComparator(a, b) {\n return a > b ? 1 : a < b ? -1 : 0;\n }\n\n function forceIterator(keyPath) {\n var iter = getIterator(keyPath);\n if (!iter) {\n // Array might not be iterable in this environment, so we need a fallback\n // to our wrapped type.\n if (!isArrayLike(keyPath)) {\n throw new TypeError('Expected iterable or array-like: ' + keyPath);\n }\n iter = getIterator(Iterable(keyPath));\n }\n return iter;\n }\n\n createClass(Record, KeyedCollection);\n\n function Record(defaultValues, name) {\n var hasInitialized;\n\n var RecordType = function Record(values) {\n if (values instanceof RecordType) {\n return values;\n }\n if (!(this instanceof RecordType)) {\n return new RecordType(values);\n }\n if (!hasInitialized) {\n hasInitialized = true;\n var keys = Object.keys(defaultValues);\n setProps(RecordTypePrototype, keys);\n RecordTypePrototype.size = keys.length;\n RecordTypePrototype._name = name;\n RecordTypePrototype._keys = keys;\n RecordTypePrototype._defaultValues = defaultValues;\n }\n this._map = Map(values);\n };\n\n var RecordTypePrototype = RecordType.prototype = Object.create(RecordPrototype);\n RecordTypePrototype.constructor = RecordType;\n\n return RecordType;\n }\n\n Record.prototype.toString = function() {\n return this.__toString(recordName(this) + ' {', '}');\n };\n\n // @pragma Access\n\n Record.prototype.has = function(k) {\n return this._defaultValues.hasOwnProperty(k);\n };\n\n Record.prototype.get = function(k, notSetValue) {\n if (!this.has(k)) {\n return notSetValue;\n }\n var defaultVal = this._defaultValues[k];\n return this._map ? this._map.get(k, defaultVal) : defaultVal;\n };\n\n // @pragma Modification\n\n Record.prototype.clear = function() {\n if (this.__ownerID) {\n this._map && this._map.clear();\n return this;\n }\n var RecordType = this.constructor;\n return RecordType._empty || (RecordType._empty = makeRecord(this, emptyMap()));\n };\n\n Record.prototype.set = function(k, v) {\n if (!this.has(k)) {\n throw new Error('Cannot set unknown key \"' + k + '\" on ' + recordName(this));\n }\n if (this._map && !this._map.has(k)) {\n var defaultVal = this._defaultValues[k];\n if (v === defaultVal) {\n return this;\n }\n }\n var newMap = this._map && this._map.set(k, v);\n if (this.__ownerID || newMap === this._map) {\n return this;\n }\n return makeRecord(this, newMap);\n };\n\n Record.prototype.remove = function(k) {\n if (!this.has(k)) {\n return this;\n }\n var newMap = this._map && this._map.remove(k);\n if (this.__ownerID || newMap === this._map) {\n return this;\n }\n return makeRecord(this, newMap);\n };\n\n Record.prototype.wasAltered = function() {\n return this._map.wasAltered();\n };\n\n Record.prototype.__iterator = function(type, reverse) {var this$0 = this;\n return KeyedIterable(this._defaultValues).map(function(_, k) {return this$0.get(k)}).__iterator(type, reverse);\n };\n\n Record.prototype.__iterate = function(fn, reverse) {var this$0 = this;\n return KeyedIterable(this._defaultValues).map(function(_, k) {return this$0.get(k)}).__iterate(fn, reverse);\n };\n\n Record.prototype.__ensureOwner = function(ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n var newMap = this._map && this._map.__ensureOwner(ownerID);\n if (!ownerID) {\n this.__ownerID = ownerID;\n this._map = newMap;\n return this;\n }\n return makeRecord(this, newMap, ownerID);\n };\n\n\n var RecordPrototype = Record.prototype;\n RecordPrototype[DELETE] = RecordPrototype.remove;\n RecordPrototype.deleteIn =\n RecordPrototype.removeIn = MapPrototype.removeIn;\n RecordPrototype.merge = MapPrototype.merge;\n RecordPrototype.mergeWith = MapPrototype.mergeWith;\n RecordPrototype.mergeIn = MapPrototype.mergeIn;\n RecordPrototype.mergeDeep = MapPrototype.mergeDeep;\n RecordPrototype.mergeDeepWith = MapPrototype.mergeDeepWith;\n RecordPrototype.mergeDeepIn = MapPrototype.mergeDeepIn;\n RecordPrototype.setIn = MapPrototype.setIn;\n RecordPrototype.update = MapPrototype.update;\n RecordPrototype.updateIn = MapPrototype.updateIn;\n RecordPrototype.withMutations = MapPrototype.withMutations;\n RecordPrototype.asMutable = MapPrototype.asMutable;\n RecordPrototype.asImmutable = MapPrototype.asImmutable;\n\n\n function makeRecord(likeRecord, map, ownerID) {\n var record = Object.create(Object.getPrototypeOf(likeRecord));\n record._map = map;\n record.__ownerID = ownerID;\n return record;\n }\n\n function recordName(record) {\n return record._name || record.constructor.name || 'Record';\n }\n\n function setProps(prototype, names) {\n try {\n names.forEach(setProp.bind(undefined, prototype));\n } catch (error) {\n // Object.defineProperty failed. Probably IE8.\n }\n }\n\n function setProp(prototype, name) {\n Object.defineProperty(prototype, name, {\n get: function() {\n return this.get(name);\n },\n set: function(value) {\n invariant(this.__ownerID, 'Cannot set on an immutable record.');\n this.set(name, value);\n }\n });\n }\n\n createClass(Set, SetCollection);\n\n // @pragma Construction\n\n function Set(value) {\n return value === null || value === undefined ? emptySet() :\n isSet(value) && !isOrdered(value) ? value :\n emptySet().withMutations(function(set ) {\n var iter = SetIterable(value);\n assertNotInfinite(iter.size);\n iter.forEach(function(v ) {return set.add(v)});\n });\n }\n\n Set.of = function(/*...values*/) {\n return this(arguments);\n };\n\n Set.fromKeys = function(value) {\n return this(KeyedIterable(value).keySeq());\n };\n\n Set.prototype.toString = function() {\n return this.__toString('Set {', '}');\n };\n\n // @pragma Access\n\n Set.prototype.has = function(value) {\n return this._map.has(value);\n };\n\n // @pragma Modification\n\n Set.prototype.add = function(value) {\n return updateSet(this, this._map.set(value, true));\n };\n\n Set.prototype.remove = function(value) {\n return updateSet(this, this._map.remove(value));\n };\n\n Set.prototype.clear = function() {\n return updateSet(this, this._map.clear());\n };\n\n // @pragma Composition\n\n Set.prototype.union = function() {var iters = SLICE$0.call(arguments, 0);\n iters = iters.filter(function(x ) {return x.size !== 0});\n if (iters.length === 0) {\n return this;\n }\n if (this.size === 0 && !this.__ownerID && iters.length === 1) {\n return this.constructor(iters[0]);\n }\n return this.withMutations(function(set ) {\n for (var ii = 0; ii < iters.length; ii++) {\n SetIterable(iters[ii]).forEach(function(value ) {return set.add(value)});\n }\n });\n };\n\n Set.prototype.intersect = function() {var iters = SLICE$0.call(arguments, 0);\n if (iters.length === 0) {\n return this;\n }\n iters = iters.map(function(iter ) {return SetIterable(iter)});\n var originalSet = this;\n return this.withMutations(function(set ) {\n originalSet.forEach(function(value ) {\n if (!iters.every(function(iter ) {return iter.includes(value)})) {\n set.remove(value);\n }\n });\n });\n };\n\n Set.prototype.subtract = function() {var iters = SLICE$0.call(arguments, 0);\n if (iters.length === 0) {\n return this;\n }\n iters = iters.map(function(iter ) {return SetIterable(iter)});\n var originalSet = this;\n return this.withMutations(function(set ) {\n originalSet.forEach(function(value ) {\n if (iters.some(function(iter ) {return iter.includes(value)})) {\n set.remove(value);\n }\n });\n });\n };\n\n Set.prototype.merge = function() {\n return this.union.apply(this, arguments);\n };\n\n Set.prototype.mergeWith = function(merger) {var iters = SLICE$0.call(arguments, 1);\n return this.union.apply(this, iters);\n };\n\n Set.prototype.sort = function(comparator) {\n // Late binding\n return OrderedSet(sortFactory(this, comparator));\n };\n\n Set.prototype.sortBy = function(mapper, comparator) {\n // Late binding\n return OrderedSet(sortFactory(this, comparator, mapper));\n };\n\n Set.prototype.wasAltered = function() {\n return this._map.wasAltered();\n };\n\n Set.prototype.__iterate = function(fn, reverse) {var this$0 = this;\n return this._map.__iterate(function(_, k) {return fn(k, k, this$0)}, reverse);\n };\n\n Set.prototype.__iterator = function(type, reverse) {\n return this._map.map(function(_, k) {return k}).__iterator(type, reverse);\n };\n\n Set.prototype.__ensureOwner = function(ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n var newMap = this._map.__ensureOwner(ownerID);\n if (!ownerID) {\n this.__ownerID = ownerID;\n this._map = newMap;\n return this;\n }\n return this.__make(newMap, ownerID);\n };\n\n\n function isSet(maybeSet) {\n return !!(maybeSet && maybeSet[IS_SET_SENTINEL]);\n }\n\n Set.isSet = isSet;\n\n var IS_SET_SENTINEL = '@@__IMMUTABLE_SET__@@';\n\n var SetPrototype = Set.prototype;\n SetPrototype[IS_SET_SENTINEL] = true;\n SetPrototype[DELETE] = SetPrototype.remove;\n SetPrototype.mergeDeep = SetPrototype.merge;\n SetPrototype.mergeDeepWith = SetPrototype.mergeWith;\n SetPrototype.withMutations = MapPrototype.withMutations;\n SetPrototype.asMutable = MapPrototype.asMutable;\n SetPrototype.asImmutable = MapPrototype.asImmutable;\n\n SetPrototype.__empty = emptySet;\n SetPrototype.__make = makeSet;\n\n function updateSet(set, newMap) {\n if (set.__ownerID) {\n set.size = newMap.size;\n set._map = newMap;\n return set;\n }\n return newMap === set._map ? set :\n newMap.size === 0 ? set.__empty() :\n set.__make(newMap);\n }\n\n function makeSet(map, ownerID) {\n var set = Object.create(SetPrototype);\n set.size = map ? map.size : 0;\n set._map = map;\n set.__ownerID = ownerID;\n return set;\n }\n\n var EMPTY_SET;\n function emptySet() {\n return EMPTY_SET || (EMPTY_SET = makeSet(emptyMap()));\n }\n\n createClass(OrderedSet, Set);\n\n // @pragma Construction\n\n function OrderedSet(value) {\n return value === null || value === undefined ? emptyOrderedSet() :\n isOrderedSet(value) ? value :\n emptyOrderedSet().withMutations(function(set ) {\n var iter = SetIterable(value);\n assertNotInfinite(iter.size);\n iter.forEach(function(v ) {return set.add(v)});\n });\n }\n\n OrderedSet.of = function(/*...values*/) {\n return this(arguments);\n };\n\n OrderedSet.fromKeys = function(value) {\n return this(KeyedIterable(value).keySeq());\n };\n\n OrderedSet.prototype.toString = function() {\n return this.__toString('OrderedSet {', '}');\n };\n\n\n function isOrderedSet(maybeOrderedSet) {\n return isSet(maybeOrderedSet) && isOrdered(maybeOrderedSet);\n }\n\n OrderedSet.isOrderedSet = isOrderedSet;\n\n var OrderedSetPrototype = OrderedSet.prototype;\n OrderedSetPrototype[IS_ORDERED_SENTINEL] = true;\n\n OrderedSetPrototype.__empty = emptyOrderedSet;\n OrderedSetPrototype.__make = makeOrderedSet;\n\n function makeOrderedSet(map, ownerID) {\n var set = Object.create(OrderedSetPrototype);\n set.size = map ? map.size : 0;\n set._map = map;\n set.__ownerID = ownerID;\n return set;\n }\n\n var EMPTY_ORDERED_SET;\n function emptyOrderedSet() {\n return EMPTY_ORDERED_SET || (EMPTY_ORDERED_SET = makeOrderedSet(emptyOrderedMap()));\n }\n\n createClass(Stack, IndexedCollection);\n\n // @pragma Construction\n\n function Stack(value) {\n return value === null || value === undefined ? emptyStack() :\n isStack(value) ? value :\n emptyStack().unshiftAll(value);\n }\n\n Stack.of = function(/*...values*/) {\n return this(arguments);\n };\n\n Stack.prototype.toString = function() {\n return this.__toString('Stack [', ']');\n };\n\n // @pragma Access\n\n Stack.prototype.get = function(index, notSetValue) {\n var head = this._head;\n index = wrapIndex(this, index);\n while (head && index--) {\n head = head.next;\n }\n return head ? head.value : notSetValue;\n };\n\n Stack.prototype.peek = function() {\n return this._head && this._head.value;\n };\n\n // @pragma Modification\n\n Stack.prototype.push = function(/*...values*/) {\n if (arguments.length === 0) {\n return this;\n }\n var newSize = this.size + arguments.length;\n var head = this._head;\n for (var ii = arguments.length - 1; ii >= 0; ii--) {\n head = {\n value: arguments[ii],\n next: head\n };\n }\n if (this.__ownerID) {\n this.size = newSize;\n this._head = head;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return makeStack(newSize, head);\n };\n\n Stack.prototype.pushAll = function(iter) {\n iter = IndexedIterable(iter);\n if (iter.size === 0) {\n return this;\n }\n assertNotInfinite(iter.size);\n var newSize = this.size;\n var head = this._head;\n iter.reverse().forEach(function(value ) {\n newSize++;\n head = {\n value: value,\n next: head\n };\n });\n if (this.__ownerID) {\n this.size = newSize;\n this._head = head;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return makeStack(newSize, head);\n };\n\n Stack.prototype.pop = function() {\n return this.slice(1);\n };\n\n Stack.prototype.unshift = function(/*...values*/) {\n return this.push.apply(this, arguments);\n };\n\n Stack.prototype.unshiftAll = function(iter) {\n return this.pushAll(iter);\n };\n\n Stack.prototype.shift = function() {\n return this.pop.apply(this, arguments);\n };\n\n Stack.prototype.clear = function() {\n if (this.size === 0) {\n return this;\n }\n if (this.__ownerID) {\n this.size = 0;\n this._head = undefined;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return emptyStack();\n };\n\n Stack.prototype.slice = function(begin, end) {\n if (wholeSlice(begin, end, this.size)) {\n return this;\n }\n var resolvedBegin = resolveBegin(begin, this.size);\n var resolvedEnd = resolveEnd(end, this.size);\n if (resolvedEnd !== this.size) {\n // super.slice(begin, end);\n return IndexedCollection.prototype.slice.call(this, begin, end);\n }\n var newSize = this.size - resolvedBegin;\n var head = this._head;\n while (resolvedBegin--) {\n head = head.next;\n }\n if (this.__ownerID) {\n this.size = newSize;\n this._head = head;\n this.__hash = undefined;\n this.__altered = true;\n return this;\n }\n return makeStack(newSize, head);\n };\n\n // @pragma Mutability\n\n Stack.prototype.__ensureOwner = function(ownerID) {\n if (ownerID === this.__ownerID) {\n return this;\n }\n if (!ownerID) {\n this.__ownerID = ownerID;\n this.__altered = false;\n return this;\n }\n return makeStack(this.size, this._head, ownerID, this.__hash);\n };\n\n // @pragma Iteration\n\n Stack.prototype.__iterate = function(fn, reverse) {\n if (reverse) {\n return this.reverse().__iterate(fn);\n }\n var iterations = 0;\n var node = this._head;\n while (node) {\n if (fn(node.value, iterations++, this) === false) {\n break;\n }\n node = node.next;\n }\n return iterations;\n };\n\n Stack.prototype.__iterator = function(type, reverse) {\n if (reverse) {\n return this.reverse().__iterator(type);\n }\n var iterations = 0;\n var node = this._head;\n return new Iterator(function() {\n if (node) {\n var value = node.value;\n node = node.next;\n return iteratorValue(type, iterations++, value);\n }\n return iteratorDone();\n });\n };\n\n\n function isStack(maybeStack) {\n return !!(maybeStack && maybeStack[IS_STACK_SENTINEL]);\n }\n\n Stack.isStack = isStack;\n\n var IS_STACK_SENTINEL = '@@__IMMUTABLE_STACK__@@';\n\n var StackPrototype = Stack.prototype;\n StackPrototype[IS_STACK_SENTINEL] = true;\n StackPrototype.withMutations = MapPrototype.withMutations;\n StackPrototype.asMutable = MapPrototype.asMutable;\n StackPrototype.asImmutable = MapPrototype.asImmutable;\n StackPrototype.wasAltered = MapPrototype.wasAltered;\n\n\n function makeStack(size, head, ownerID, hash) {\n var map = Object.create(StackPrototype);\n map.size = size;\n map._head = head;\n map.__ownerID = ownerID;\n map.__hash = hash;\n map.__altered = false;\n return map;\n }\n\n var EMPTY_STACK;\n function emptyStack() {\n return EMPTY_STACK || (EMPTY_STACK = makeStack(0));\n }\n\n /**\n * Contributes additional methods to a constructor\n */\n function mixin(ctor, methods) {\n var keyCopier = function(key ) { ctor.prototype[key] = methods[key]; };\n Object.keys(methods).forEach(keyCopier);\n Object.getOwnPropertySymbols &&\n Object.getOwnPropertySymbols(methods).forEach(keyCopier);\n return ctor;\n }\n\n Iterable.Iterator = Iterator;\n\n mixin(Iterable, {\n\n // ### Conversion to other types\n\n toArray: function() {\n assertNotInfinite(this.size);\n var array = new Array(this.size || 0);\n this.valueSeq().__iterate(function(v, i) { array[i] = v; });\n return array;\n },\n\n toIndexedSeq: function() {\n return new ToIndexedSequence(this);\n },\n\n toJS: function() {\n return this.toSeq().map(\n function(value ) {return value && typeof value.toJS === 'function' ? value.toJS() : value}\n ).__toJS();\n },\n\n toJSON: function() {\n return this.toSeq().map(\n function(value ) {return value && typeof value.toJSON === 'function' ? value.toJSON() : value}\n ).__toJS();\n },\n\n toKeyedSeq: function() {\n return new ToKeyedSequence(this, true);\n },\n\n toMap: function() {\n // Use Late Binding here to solve the circular dependency.\n return Map(this.toKeyedSeq());\n },\n\n toObject: function() {\n assertNotInfinite(this.size);\n var object = {};\n this.__iterate(function(v, k) { object[k] = v; });\n return object;\n },\n\n toOrderedMap: function() {\n // Use Late Binding here to solve the circular dependency.\n return OrderedMap(this.toKeyedSeq());\n },\n\n toOrderedSet: function() {\n // Use Late Binding here to solve the circular dependency.\n return OrderedSet(isKeyed(this) ? this.valueSeq() : this);\n },\n\n toSet: function() {\n // Use Late Binding here to solve the circular dependency.\n return Set(isKeyed(this) ? this.valueSeq() : this);\n },\n\n toSetSeq: function() {\n return new ToSetSequence(this);\n },\n\n toSeq: function() {\n return isIndexed(this) ? this.toIndexedSeq() :\n isKeyed(this) ? this.toKeyedSeq() :\n this.toSetSeq();\n },\n\n toStack: function() {\n // Use Late Binding here to solve the circular dependency.\n return Stack(isKeyed(this) ? this.valueSeq() : this);\n },\n\n toList: function() {\n // Use Late Binding here to solve the circular dependency.\n return List(isKeyed(this) ? this.valueSeq() : this);\n },\n\n\n // ### Common JavaScript methods and properties\n\n toString: function() {\n return '[Iterable]';\n },\n\n __toString: function(head, tail) {\n if (this.size === 0) {\n return head + tail;\n }\n return head + ' ' + this.toSeq().map(this.__toStringMapper).join(', ') + ' ' + tail;\n },\n\n\n // ### ES6 Collection methods (ES6 Array and Map)\n\n concat: function() {var values = SLICE$0.call(arguments, 0);\n return reify(this, concatFactory(this, values));\n },\n\n includes: function(searchValue) {\n return this.some(function(value ) {return is(value, searchValue)});\n },\n\n entries: function() {\n return this.__iterator(ITERATE_ENTRIES);\n },\n\n every: function(predicate, context) {\n assertNotInfinite(this.size);\n var returnValue = true;\n this.__iterate(function(v, k, c) {\n if (!predicate.call(context, v, k, c)) {\n returnValue = false;\n return false;\n }\n });\n return returnValue;\n },\n\n filter: function(predicate, context) {\n return reify(this, filterFactory(this, predicate, context, true));\n },\n\n find: function(predicate, context, notSetValue) {\n var entry = this.findEntry(predicate, context);\n return entry ? entry[1] : notSetValue;\n },\n\n forEach: function(sideEffect, context) {\n assertNotInfinite(this.size);\n return this.__iterate(context ? sideEffect.bind(context) : sideEffect);\n },\n\n join: function(separator) {\n assertNotInfinite(this.size);\n separator = separator !== undefined ? '' + separator : ',';\n var joined = '';\n var isFirst = true;\n this.__iterate(function(v ) {\n isFirst ? (isFirst = false) : (joined += separator);\n joined += v !== null && v !== undefined ? v.toString() : '';\n });\n return joined;\n },\n\n keys: function() {\n return this.__iterator(ITERATE_KEYS);\n },\n\n map: function(mapper, context) {\n return reify(this, mapFactory(this, mapper, context));\n },\n\n reduce: function(reducer, initialReduction, context) {\n assertNotInfinite(this.size);\n var reduction;\n var useFirst;\n if (arguments.length < 2) {\n useFirst = true;\n } else {\n reduction = initialReduction;\n }\n this.__iterate(function(v, k, c) {\n if (useFirst) {\n useFirst = false;\n reduction = v;\n } else {\n reduction = reducer.call(context, reduction, v, k, c);\n }\n });\n return reduction;\n },\n\n reduceRight: function(reducer, initialReduction, context) {\n var reversed = this.toKeyedSeq().reverse();\n return reversed.reduce.apply(reversed, arguments);\n },\n\n reverse: function() {\n return reify(this, reverseFactory(this, true));\n },\n\n slice: function(begin, end) {\n return reify(this, sliceFactory(this, begin, end, true));\n },\n\n some: function(predicate, context) {\n return !this.every(not(predicate), context);\n },\n\n sort: function(comparator) {\n return reify(this, sortFactory(this, comparator));\n },\n\n values: function() {\n return this.__iterator(ITERATE_VALUES);\n },\n\n\n // ### More sequential methods\n\n butLast: function() {\n return this.slice(0, -1);\n },\n\n isEmpty: function() {\n return this.size !== undefined ? this.size === 0 : !this.some(function() {return true});\n },\n\n count: function(predicate, context) {\n return ensureSize(\n predicate ? this.toSeq().filter(predicate, context) : this\n );\n },\n\n countBy: function(grouper, context) {\n return countByFactory(this, grouper, context);\n },\n\n equals: function(other) {\n return deepEqual(this, other);\n },\n\n entrySeq: function() {\n var iterable = this;\n if (iterable._cache) {\n // We cache as an entries array, so we can just return the cache!\n return new ArraySeq(iterable._cache);\n }\n var entriesSequence = iterable.toSeq().map(entryMapper).toIndexedSeq();\n entriesSequence.fromEntrySeq = function() {return iterable.toSeq()};\n return entriesSequence;\n },\n\n filterNot: function(predicate, context) {\n return this.filter(not(predicate), context);\n },\n\n findEntry: function(predicate, context, notSetValue) {\n var found = notSetValue;\n this.__iterate(function(v, k, c) {\n if (predicate.call(context, v, k, c)) {\n found = [k, v];\n return false;\n }\n });\n return found;\n },\n\n findKey: function(predicate, context) {\n var entry = this.findEntry(predicate, context);\n return entry && entry[0];\n },\n\n findLast: function(predicate, context, notSetValue) {\n return this.toKeyedSeq().reverse().find(predicate, context, notSetValue);\n },\n\n findLastEntry: function(predicate, context, notSetValue) {\n return this.toKeyedSeq().reverse().findEntry(predicate, context, notSetValue);\n },\n\n findLastKey: function(predicate, context) {\n return this.toKeyedSeq().reverse().findKey(predicate, context);\n },\n\n first: function() {\n return this.find(returnTrue);\n },\n\n flatMap: function(mapper, context) {\n return reify(this, flatMapFactory(this, mapper, context));\n },\n\n flatten: function(depth) {\n return reify(this, flattenFactory(this, depth, true));\n },\n\n fromEntrySeq: function() {\n return new FromEntriesSequence(this);\n },\n\n get: function(searchKey, notSetValue) {\n return this.find(function(_, key) {return is(key, searchKey)}, undefined, notSetValue);\n },\n\n getIn: function(searchKeyPath, notSetValue) {\n var nested = this;\n // Note: in an ES6 environment, we would prefer:\n // for (var key of searchKeyPath) {\n var iter = forceIterator(searchKeyPath);\n var step;\n while (!(step = iter.next()).done) {\n var key = step.value;\n nested = nested && nested.get ? nested.get(key, NOT_SET) : NOT_SET;\n if (nested === NOT_SET) {\n return notSetValue;\n }\n }\n return nested;\n },\n\n groupBy: function(grouper, context) {\n return groupByFactory(this, grouper, context);\n },\n\n has: function(searchKey) {\n return this.get(searchKey, NOT_SET) !== NOT_SET;\n },\n\n hasIn: function(searchKeyPath) {\n return this.getIn(searchKeyPath, NOT_SET) !== NOT_SET;\n },\n\n isSubset: function(iter) {\n iter = typeof iter.includes === 'function' ? iter : Iterable(iter);\n return this.every(function(value ) {return iter.includes(value)});\n },\n\n isSuperset: function(iter) {\n iter = typeof iter.isSubset === 'function' ? iter : Iterable(iter);\n return iter.isSubset(this);\n },\n\n keyOf: function(searchValue) {\n return this.findKey(function(value ) {return is(value, searchValue)});\n },\n\n keySeq: function() {\n return this.toSeq().map(keyMapper).toIndexedSeq();\n },\n\n last: function() {\n return this.toSeq().reverse().first();\n },\n\n lastKeyOf: function(searchValue) {\n return this.toKeyedSeq().reverse().keyOf(searchValue);\n },\n\n max: function(comparator) {\n return maxFactory(this, comparator);\n },\n\n maxBy: function(mapper, comparator) {\n return maxFactory(this, comparator, mapper);\n },\n\n min: function(comparator) {\n return maxFactory(this, comparator ? neg(comparator) : defaultNegComparator);\n },\n\n minBy: function(mapper, comparator) {\n return maxFactory(this, comparator ? neg(comparator) : defaultNegComparator, mapper);\n },\n\n rest: function() {\n return this.slice(1);\n },\n\n skip: function(amount) {\n return this.slice(Math.max(0, amount));\n },\n\n skipLast: function(amount) {\n return reify(this, this.toSeq().reverse().skip(amount).reverse());\n },\n\n skipWhile: function(predicate, context) {\n return reify(this, skipWhileFactory(this, predicate, context, true));\n },\n\n skipUntil: function(predicate, context) {\n return this.skipWhile(not(predicate), context);\n },\n\n sortBy: function(mapper, comparator) {\n return reify(this, sortFactory(this, comparator, mapper));\n },\n\n take: function(amount) {\n return this.slice(0, Math.max(0, amount));\n },\n\n takeLast: function(amount) {\n return reify(this, this.toSeq().reverse().take(amount).reverse());\n },\n\n takeWhile: function(predicate, context) {\n return reify(this, takeWhileFactory(this, predicate, context));\n },\n\n takeUntil: function(predicate, context) {\n return this.takeWhile(not(predicate), context);\n },\n\n valueSeq: function() {\n return this.toIndexedSeq();\n },\n\n\n // ### Hashable Object\n\n hashCode: function() {\n return this.__hash || (this.__hash = hashIterable(this));\n }\n\n\n // ### Internal\n\n // abstract __iterate(fn, reverse)\n\n // abstract __iterator(type, reverse)\n });\n\n // var IS_ITERABLE_SENTINEL = '@@__IMMUTABLE_ITERABLE__@@';\n // var IS_KEYED_SENTINEL = '@@__IMMUTABLE_KEYED__@@';\n // var IS_INDEXED_SENTINEL = '@@__IMMUTABLE_INDEXED__@@';\n // var IS_ORDERED_SENTINEL = '@@__IMMUTABLE_ORDERED__@@';\n\n var IterablePrototype = Iterable.prototype;\n IterablePrototype[IS_ITERABLE_SENTINEL] = true;\n IterablePrototype[ITERATOR_SYMBOL] = IterablePrototype.values;\n IterablePrototype.__toJS = IterablePrototype.toArray;\n IterablePrototype.__toStringMapper = quoteString;\n IterablePrototype.inspect =\n IterablePrototype.toSource = function() { return this.toString(); };\n IterablePrototype.chain = IterablePrototype.flatMap;\n IterablePrototype.contains = IterablePrototype.includes;\n\n mixin(KeyedIterable, {\n\n // ### More sequential methods\n\n flip: function() {\n return reify(this, flipFactory(this));\n },\n\n mapEntries: function(mapper, context) {var this$0 = this;\n var iterations = 0;\n return reify(this,\n this.toSeq().map(\n function(v, k) {return mapper.call(context, [k, v], iterations++, this$0)}\n ).fromEntrySeq()\n );\n },\n\n mapKeys: function(mapper, context) {var this$0 = this;\n return reify(this,\n this.toSeq().flip().map(\n function(k, v) {return mapper.call(context, k, v, this$0)}\n ).flip()\n );\n }\n\n });\n\n var KeyedIterablePrototype = KeyedIterable.prototype;\n KeyedIterablePrototype[IS_KEYED_SENTINEL] = true;\n KeyedIterablePrototype[ITERATOR_SYMBOL] = IterablePrototype.entries;\n KeyedIterablePrototype.__toJS = IterablePrototype.toObject;\n KeyedIterablePrototype.__toStringMapper = function(v, k) {return JSON.stringify(k) + ': ' + quoteString(v)};\n\n\n\n mixin(IndexedIterable, {\n\n // ### Conversion to other types\n\n toKeyedSeq: function() {\n return new ToKeyedSequence(this, false);\n },\n\n\n // ### ES6 Collection methods (ES6 Array and Map)\n\n filter: function(predicate, context) {\n return reify(this, filterFactory(this, predicate, context, false));\n },\n\n findIndex: function(predicate, context) {\n var entry = this.findEntry(predicate, context);\n return entry ? entry[0] : -1;\n },\n\n indexOf: function(searchValue) {\n var key = this.keyOf(searchValue);\n return key === undefined ? -1 : key;\n },\n\n lastIndexOf: function(searchValue) {\n var key = this.lastKeyOf(searchValue);\n return key === undefined ? -1 : key;\n },\n\n reverse: function() {\n return reify(this, reverseFactory(this, false));\n },\n\n slice: function(begin, end) {\n return reify(this, sliceFactory(this, begin, end, false));\n },\n\n splice: function(index, removeNum /*, ...values*/) {\n var numArgs = arguments.length;\n removeNum = Math.max(removeNum | 0, 0);\n if (numArgs === 0 || (numArgs === 2 && !removeNum)) {\n return this;\n }\n // If index is negative, it should resolve relative to the size of the\n // collection. However size may be expensive to compute if not cached, so\n // only call count() if the number is in fact negative.\n index = resolveBegin(index, index < 0 ? this.count() : this.size);\n var spliced = this.slice(0, index);\n return reify(\n this,\n numArgs === 1 ?\n spliced :\n spliced.concat(arrCopy(arguments, 2), this.slice(index + removeNum))\n );\n },\n\n\n // ### More collection methods\n\n findLastIndex: function(predicate, context) {\n var entry = this.findLastEntry(predicate, context);\n return entry ? entry[0] : -1;\n },\n\n first: function() {\n return this.get(0);\n },\n\n flatten: function(depth) {\n return reify(this, flattenFactory(this, depth, false));\n },\n\n get: function(index, notSetValue) {\n index = wrapIndex(this, index);\n return (index < 0 || (this.size === Infinity ||\n (this.size !== undefined && index > this.size))) ?\n notSetValue :\n this.find(function(_, key) {return key === index}, undefined, notSetValue);\n },\n\n has: function(index) {\n index = wrapIndex(this, index);\n return index >= 0 && (this.size !== undefined ?\n this.size === Infinity || index < this.size :\n this.indexOf(index) !== -1\n );\n },\n\n interpose: function(separator) {\n return reify(this, interposeFactory(this, separator));\n },\n\n interleave: function(/*...iterables*/) {\n var iterables = [this].concat(arrCopy(arguments));\n var zipped = zipWithFactory(this.toSeq(), IndexedSeq.of, iterables);\n var interleaved = zipped.flatten(true);\n if (zipped.size) {\n interleaved.size = zipped.size * iterables.length;\n }\n return reify(this, interleaved);\n },\n\n keySeq: function() {\n return Range(0, this.size);\n },\n\n last: function() {\n return this.get(-1);\n },\n\n skipWhile: function(predicate, context) {\n return reify(this, skipWhileFactory(this, predicate, context, false));\n },\n\n zip: function(/*, ...iterables */) {\n var iterables = [this].concat(arrCopy(arguments));\n return reify(this, zipWithFactory(this, defaultZipper, iterables));\n },\n\n zipWith: function(zipper/*, ...iterables */) {\n var iterables = arrCopy(arguments);\n iterables[0] = this;\n return reify(this, zipWithFactory(this, zipper, iterables));\n }\n\n });\n\n IndexedIterable.prototype[IS_INDEXED_SENTINEL] = true;\n IndexedIterable.prototype[IS_ORDERED_SENTINEL] = true;\n\n\n\n mixin(SetIterable, {\n\n // ### ES6 Collection methods (ES6 Array and Map)\n\n get: function(value, notSetValue) {\n return this.has(value) ? value : notSetValue;\n },\n\n includes: function(value) {\n return this.has(value);\n },\n\n\n // ### More sequential methods\n\n keySeq: function() {\n return this.valueSeq();\n }\n\n });\n\n SetIterable.prototype.has = IterablePrototype.includes;\n SetIterable.prototype.contains = SetIterable.prototype.includes;\n\n\n // Mixin subclasses\n\n mixin(KeyedSeq, KeyedIterable.prototype);\n mixin(IndexedSeq, IndexedIterable.prototype);\n mixin(SetSeq, SetIterable.prototype);\n\n mixin(KeyedCollection, KeyedIterable.prototype);\n mixin(IndexedCollection, IndexedIterable.prototype);\n mixin(SetCollection, SetIterable.prototype);\n\n\n // #pragma Helper functions\n\n function keyMapper(v, k) {\n return k;\n }\n\n function entryMapper(v, k) {\n return [k, v];\n }\n\n function not(predicate) {\n return function() {\n return !predicate.apply(this, arguments);\n }\n }\n\n function neg(predicate) {\n return function() {\n return -predicate.apply(this, arguments);\n }\n }\n\n function quoteString(value) {\n return typeof value === 'string' ? JSON.stringify(value) : String(value);\n }\n\n function defaultZipper() {\n return arrCopy(arguments);\n }\n\n function defaultNegComparator(a, b) {\n return a < b ? 1 : a > b ? -1 : 0;\n }\n\n function hashIterable(iterable) {\n if (iterable.size === Infinity) {\n return 0;\n }\n var ordered = isOrdered(iterable);\n var keyed = isKeyed(iterable);\n var h = ordered ? 1 : 0;\n var size = iterable.__iterate(\n keyed ?\n ordered ?\n function(v, k) { h = 31 * h + hashMerge(hash(v), hash(k)) | 0; } :\n function(v, k) { h = h + hashMerge(hash(v), hash(k)) | 0; } :\n ordered ?\n function(v ) { h = 31 * h + hash(v) | 0; } :\n function(v ) { h = h + hash(v) | 0; }\n );\n return murmurHashOfSize(size, h);\n }\n\n function murmurHashOfSize(size, h) {\n h = imul(h, 0xCC9E2D51);\n h = imul(h << 15 | h >>> -15, 0x1B873593);\n h = imul(h << 13 | h >>> -13, 5);\n h = (h + 0xE6546B64 | 0) ^ size;\n h = imul(h ^ h >>> 16, 0x85EBCA6B);\n h = imul(h ^ h >>> 13, 0xC2B2AE35);\n h = smi(h ^ h >>> 16);\n return h;\n }\n\n function hashMerge(a, b) {\n return a ^ b + 0x9E3779B9 + (a << 6) + (a >> 2) | 0; // int\n }\n\n var Immutable = {\n\n Iterable: Iterable,\n\n Seq: Seq,\n Collection: Collection,\n Map: Map,\n OrderedMap: OrderedMap,\n List: List,\n Stack: Stack,\n Set: Set,\n OrderedSet: OrderedSet,\n\n Record: Record,\n Range: Range,\n Repeat: Repeat,\n\n is: is,\n fromJS: fromJS\n\n };\n\n return Immutable;\n\n}));\n\n\n// WEBPACK FOOTER //\n// ./~/immutable/dist/immutable.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\nvar ExecutionEnvironment = {\n\n canUseDOM: canUseDOM,\n\n canUseWorkers: typeof Worker !== 'undefined',\n\n canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n\n canUseViewport: canUseDOM && !!window.screen,\n\n isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\n\nmodule.exports = ExecutionEnvironment;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/ExecutionEnvironment.js","import Immutable, { List, Map } from 'immutable';\nimport * as l from '../../core/index';\nimport {\n clearFields,\n getFieldValue,\n setField,\n registerOptionField\n} from '../../field/index';\nimport { dataFns } from '../../utils/data_utils';\nimport sync from '../../sync';\nimport trim from 'trim';\nimport { defaultDirectory } from '../../core/tenant';\nimport { findADConnectionWithoutDomain } from '../../connection/enterprise';\n\nconst { get, initNS, tget, tset } = dataFns([\"database\"]);\n\nexport function initDatabase(m, options) {\n m = initNS(m, Immutable.fromJS(processDatabaseOptions(options)));\n m = resolveAdditionalSignUpFields(m);\n return m;\n}\n\nfunction assertMaybeBoolean(opts, name) {\n const valid = opts[name] === undefined || typeof opts[name] === \"boolean\";\n if (!valid) l.warn(opts, `The \\`${name}\\` option will be ignored, because it is not a booelan.`);\n return valid;\n}\n\nfunction assertMaybeEnum(opts, name, a) {\n const valid = opts[name] === undefined || a.indexOf(opts[name]) > -1;\n if (!valid) l.warn(opts, `The \\`${name}\\` option will be ignored, because it is not one of the following allowed values: ${a.map(x => JSON.stringify(x)).join(\", \")}.`);\n return valid;\n}\n\nfunction assertMaybeString(opts, name) {\n const valid = opts[name] === undefined\n || typeof opts[name] === \"string\"\n && trim(opts[name]).length > 0;\n if (!valid) l.warn(opts, `The \\`${name}\\` option will be ignored, because it is not a non-empty string.`);\n return valid;\n}\n\nfunction assertMaybeArray(opts, name) {\n const valid = opts[name] === undefined || global.Array.isArray(opts[name]);\n if (!valid) l.warn(opts, `The \\`${name}\\` option will be ignored, because it is not an array.`);\n return valid;\n}\n\nfunction processDatabaseOptions(opts) {\n let {\n additionalSignUpFields,\n defaultDatabaseConnection,\n forgotPasswordLink,\n loginAfterSignUp,\n mustAcceptTerms,\n signUpLink,\n usernameStyle\n } = opts;\n\n let { initialScreen, screens } = processScreenOptions(opts);\n\n if (!assertMaybeEnum(opts, \"usernameStyle\", [\"email\", \"username\"])) {\n usernameStyle = undefined;\n }\n\n if (!assertMaybeString(opts, \"defaultDatabaseConnection\")) {\n defaultDatabaseConnection = undefined;\n }\n\n if (!assertMaybeString(opts, \"forgotPasswordLink\")) {\n forgotPasswordLink = undefined;\n }\n\n if (!assertMaybeString(opts, \"signUpLink\")) {\n signUpLink = undefined;\n }\n\n if (!assertMaybeBoolean(opts, \"mustAcceptTerms\")) {\n mustAcceptTerms = undefined;\n }\n\n if (!assertMaybeArray(opts, \"additionalSignUpFields\")) {\n additionalSignUpFields = undefined;\n } else if (additionalSignUpFields) {\n additionalSignUpFields = additionalSignUpFields.reduce((r, x) => {\n let { icon, name, options, placeholder, prefill, type, validator } = x;\n let filter = true;\n\n const reservedNames = [\"email\", \"username\", \"password\"];\n if (typeof name != \"string\" || !name.match(/^[a-zA-Z0-9_]+$/) || reservedNames.indexOf(name) > -1) {\n l.warn(opts, `Ignoring an element of \\`additionalSignUpFields\\` because it does not contain valid \\`name\\` property. Every element of \\`additionalSignUpFields\\` must be an object with a \\`name\\` property that is a non-empty string consisting of letters, numbers and underscores. The following names are reserved, and therefore, cannot be used: ${reservedNames.join(\", \")}.`);\n filter = false;\n }\n\n if (typeof placeholder != \"string\" || !placeholder) {\n l.warn(opts, \"Ignoring an element of `additionalSignUpFields` because it does not contain a valid `placeholder` property. Every element of `additionalSignUpFields` must have a `placeholder` property that is a non-empty string.\");\n filter = false;\n }\n\n if (icon != undefined && (typeof icon != \"string\" || !icon)) {\n l.warn(opts, \"When provided, the `icon` property of an element of `additionalSignUpFields` must be a non-empty string.\");\n icon = undefined;\n }\n\n if (prefill != undefined && (typeof prefill != \"string\" || !prefill) && (typeof prefill != \"function\")) {\n l.warn(opts, \"When provided, the `prefill` property of an element of `additionalSignUpFields` must be a non-empty string or a function.\");\n prefill = undefined;\n }\n\n const types = [\"select\", \"text\"];\n if (type != undefined && (typeof type != \"string\" || types.indexOf(type) === -1)) {\n l.warn(opts, `When provided, the \\`type\\` property of an element of \\`additionalSignUpFields\\` must be one of the following strings: \"${types.join(\"\\\", \\\"\")}\".`);\n type = undefined;\n }\n\n if (validator != undefined && type === \"select\") {\n l.warn(opts, \"Elements of `additionalSignUpFields` with a \\\"select\\\" `type` cannot specify a `validator` function, all of its `options` are assumed to be valid.\");\n validator = undefined;\n }\n\n if (validator != undefined && typeof validator != \"function\") {\n l.warn(opts, \"When provided, the `validator` property of an element of `additionalSignUpFields` must be a function.\");\n validator = undefined;\n }\n\n if (options != undefined && type != \"select\") {\n l.warn(opts, \"The `options` property can only by provided for an element of `additionalSignUpFields` when its `type` equals to \\\"select\\\"\");\n options = undefined;\n }\n\n if ((options != undefined && !global.Array.isArray(options) && typeof options != \"function\")\n || (type === \"select\" && options === undefined)) {\n l.warn(opts, \"Ignoring an element of `additionalSignUpFields` because it has a \\\"select\\\" `type` but does not specify an `options` property that is an Array or a function.\");\n filter = false;\n }\n\n return filter\n ? r.concat([{icon, name, options, placeholder, prefill, type, validator}])\n : r;\n }, []);\n\n additionalSignUpFields = Immutable.fromJS(additionalSignUpFields)\n .map(x => x.filter((y => y !== undefined)));\n }\n\n\n // TODO: add a warning if it is not a boolean, leave it undefined,\n // and change accesor fn.\n loginAfterSignUp = loginAfterSignUp === false ? false : true;\n\n return Map({\n additionalSignUpFields,\n defaultConnectionName: defaultDatabaseConnection,\n forgotPasswordLink,\n initialScreen,\n loginAfterSignUp,\n mustAcceptTerms,\n screens,\n signUpLink,\n usernameStyle\n }).filter(x => typeof x !== \"undefined\").toJS();\n}\n\nfunction processScreenOptions(opts, defaults = {allowLogin: true, allowSignUp: true, allowForgotPassword: true, initialScreen: undefined}) {\n let {\n allowForgotPassword,\n allowLogin,\n allowSignUp,\n initialScreen\n } = opts;\n\n const screens = [];\n\n if (allowLogin === true\n || (!assertMaybeBoolean(opts, \"allowLogin\") && defaults.allowLogin)\n || (allowLogin === undefined && defaults.allowLogin)) {\n screens.push(\"login\");\n }\n\n if (allowSignUp === true\n || (!assertMaybeBoolean(opts, \"allowSignUp\") && defaults.allowSignUp)\n || (allowSignUp === undefined && defaults.allowSignUp)) {\n screens.push(\"signUp\");\n }\n\n\n if (allowForgotPassword === true\n || (!assertMaybeBoolean(opts, \"allowForgotPassword\")\n && defaults.allowForgotPassword)\n || (allowForgotPassword === undefined && defaults.allowForgotPassword)) {\n screens.push(\"forgotPassword\");\n }\n\n screens.push(\"mfaLogin\");\n\n if (!assertMaybeEnum(opts, \"initialScreen\", screens)) {\n initialScreen = undefined;\n }\n\n if (initialScreen === undefined) {\n initialScreen = defaults.initialScreen || screens[0];\n }\n\n return { initialScreen, screens: new List(screens) };\n}\n\nexport function overrideDatabaseOptions(m, opts) {\n const { initialScreen, screens } = processScreenOptions(opts, {\n allowLogin: availableScreens(m).contains(\"login\"),\n allowSignUp: availableScreens(m).contains(\"signUp\"),\n allowForgotPassword: availableScreens(m).contains(\"forgotPassword\"),\n initialScreen: get(m, \"initialScreen\")\n });\n m = tset(m, \"initialScreen\", initialScreen);\n m = tset(m, \"screens\", screens);\n return m;\n}\n\nexport function defaultDatabaseConnection(m) {\n const name = defaultDatabaseConnectionName(m);\n return name && l.findConnection(m, name);\n}\n\nexport function defaultDatabaseConnectionName(m) {\n return get(m, \"defaultConnectionName\");\n}\n\nexport function databaseConnection(m) {\n return defaultDirectory(m) ||\n defaultDatabaseConnection(m) ||\n l.connection(m, \"database\");\n}\n\nexport function databaseConnectionName(m) {\n return (databaseConnection(m) || Map()).get(\"name\");\n}\n\nexport function forgotPasswordLink(m, notFound=\"\") {\n return get(m, \"forgotPasswordLink\", notFound);\n}\n\nexport function signUpLink(m, notFound=\"\") {\n return get(m, \"signUpLink\", notFound);\n}\n\nexport function setScreen(m, name, fields = []) {\n // TODO: the lock/index module should provide a way to clear\n // everything that needs the be cleared when changing screens, other\n // modules should not care.\n m = l.clearGlobalError(m);\n m = l.clearGlobalSuccess(m);\n m = clearFields(m, fields);\n\n return tset(m, \"screen\", name);\n}\n\nexport function getScreen(m) {\n const screen = tget(m, \"screen\");\n const initialScreen = getInitialScreen(m);\n const screens = [screen, initialScreen, \"login\", \"signUp\", \"forgotPassword\", \"mfaLogin\"];\n const availableScreens = screens.filter(x => hasScreen(m, x));\n return availableScreens[0];\n}\n\nexport function availableScreens(m) {\n return tget(m, \"screens\") || get(m, \"screens\", new List());\n}\n\nexport function getInitialScreen(m) {\n return tget(m, \"initialScreen\") || get(m, \"initialScreen\");\n}\n\nexport function hasInitialScreen(m, str) {\n return getInitialScreen(m) === str;\n}\n\nexport function databaseConnectionRequiresUsername(m) {\n return (databaseConnection(m) || Map()).toJS().requireUsername;\n}\n\nexport function databaseUsernameStyle(m) {\n if (l.hasSomeConnections(m, \"database\")) {\n return databaseConnectionRequiresUsername(m)\n ? get(m, \"usernameStyle\", \"any\")\n : \"email\";\n }\n\n return l.hasSomeConnections(m, \"enterprise\") && findADConnectionWithoutDomain(m) ? 'username' : 'email';\n}\n\nexport function databaseLogInWithEmail(m) {\n return databaseUsernameStyle(m) === \"email\";\n}\n\nexport function databaseUsernameValue(m) {\n return getFieldValue(m, databaseLogInWithEmail(m) ? \"email\" : \"username\");\n}\n\nexport function authWithUsername(m) {\n return databaseConnectionRequiresUsername(m)\n || get(m, \"usernameStyle\", \"email\") === \"username\";\n}\n\nexport function hasScreen(m, s) {\n const { allowForgot, allowSignup } = (databaseConnection(m) || Map()).toJS();\n\n return !(allowForgot === false && s === \"forgotPassword\")\n && !(allowSignup === false && s === \"signUp\")\n && availableScreens(m).contains(s);\n}\n\nexport function shouldAutoLogin(m) {\n return get(m, \"loginAfterSignUp\");\n}\n\nexport function passwordStrengthPolicy(m) {\n return (databaseConnection(m) || Map()).get(\"passwordPolicy\", \"none\");\n}\n\nexport function additionalSignUpFields(m) {\n return get(m, \"additionalSignUpFields\", List());\n}\n\nexport function mustAcceptTerms(m) {\n return get(m, \"mustAcceptTerms\", false);\n}\n\nexport function termsAccepted(m) {\n return !mustAcceptTerms(m) || tget(m, \"termsAccepted\", false);\n}\n\nexport function toggleTermsAcceptance(m) {\n return tset(m, \"termsAccepted\", !termsAccepted(m));\n}\n\nexport function resolveAdditionalSignUpFields(m) {\n return additionalSignUpFields(m).reduce((r, x) => {\n return x.get(\"type\") === \"select\"\n ? resolveAdditionalSignUpSelectField(r, x)\n : resolveAdditionalSignUpTextField(r, x)\n }, m);\n}\n\nfunction resolveAdditionalSignUpSelectField(m, x) {\n const name = x.get(\"name\");\n const keyNs = [\"additionalSignUpField\", name];\n const prefill = x.get(\"prefill\");\n const options = x.get(\"options\");\n\n let resolvedPrefill = typeof prefill === \"function\" ? undefined : (prefill || \"\");\n let resolvedOptions = typeof options === \"function\" ? undefined : options;\n\n const register = m => {\n return resolvedPrefill !== undefined && resolvedOptions !== undefined\n ? registerOptionField(m, name, Immutable.fromJS(resolvedOptions), resolvedPrefill)\n : m;\n };\n\n if (resolvedPrefill === undefined) {\n m = sync(m, keyNs.concat(\"prefill\"), {\n recoverResult: \"\",\n successFn: (m, result) => {\n resolvedPrefill = result;\n return register(m);\n },\n syncFn: (m, cb) => prefill(cb)\n });\n }\n\n if (resolvedOptions === undefined) {\n m = sync(m, keyNs.concat(\"options\"), {\n successFn: (m, result) => {\n resolvedOptions = result;\n return register(m);\n },\n syncFn: (m, cb) => options(cb)\n });\n }\n\n\n if (resolvedPrefill !== undefined && resolvedOptions !== undefined) {\n m = registerOptionField(m, name, Immutable.fromJS(resolvedOptions), resolvedPrefill);\n }\n\n return m;\n}\n\nfunction resolveAdditionalSignUpTextField(m, x) {\n const name = x.get(\"name\");\n const key = [\"additionalSignUpField\", name, \"prefill\"];\n const prefill = x.get(\"prefill\");\n const validator = x.get(\"validator\");\n\n let resolvedPrefill = typeof prefill === \"function\" ? undefined : (prefill || \"\");\n\n if (resolvedPrefill === undefined) {\n m = sync(m, key, {\n recoverResult: \"\",\n successFn: (m, result) => {\n return setField(m, name, result, validator);\n },\n syncFn: (m, cb) => prefill(cb)\n });\n } else {\n m = setField(m, name, resolvedPrefill, validator);\n }\n\n return m;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/index.js","import atom from '../utils/atom';\nimport { Map } from 'immutable';\n\nconst store = atom(new Map({}));\n\nexport function observe(key, id, f) {\n subscribe(`${key}-${id}`, (_, oldState, newState) => {\n const m = getEntity(newState, \"lock\", id);\n const oldM = getEntity(oldState, \"lock\", id);\n if (m != oldM) f(m);\n });\n}\n\nexport function subscribe(key, f) {\n store.addWatch(key, f);\n}\n\nexport function unsubscribe(key) {\n store.removeWatch(key);\n}\n\nexport function swap(...args) {\n return store.swap(...args);\n}\n\nexport function updateEntity(state, coll, id, f, ...args) {\n return state.updateIn([coll, id], new Map({}), x => f(x, ...args));\n}\n\nexport function setEntity(state, coll, id, m) {\n return state.setIn([coll, id], m);\n}\n\nexport function read(f, ...args) {\n return f(store.deref(), ...args);\n}\n\nexport function getEntity(state, coll, id = 0) {\n return state.getIn([coll, id]);\n}\n\nexport function removeEntity(state, coll, id = 0) {\n return state.removeIn([coll, id]);\n}\n\nexport function getCollection(state, coll) {\n return state.get(coll, Map()).toList();\n}\n\n// TODO: try to remove this fn\nexport function updateCollection(state, coll, f, ...args) {\n return state.update(coll, xs => f(xs, ...args));\n}\n\nexport function getState() {\n return store.deref();\n}\n\n// DEV\n// store.addWatch(\"keepHistory\", (key, oldState, newState) => {\n// if (!global.window.h) global.window.h = []; global.window.h.push(newState);\n// console.debug(\"something changed\", newState.toJS());\n// });\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/index.js","import React from 'react';\nimport Immutable, { Map } from 'immutable';\nimport { format } from 'util';\nimport sync from './sync';\nimport * as l from './core/index';\nimport { dataFns } from './utils/data_utils';\nconst { get, set } = dataFns([\"i18n\"]);\nimport enDictionary from './i18n/en';\nimport { load, preload } from './utils/cdn_utils';\n\nexport function str(m, keyPath, ...args) {\n return format(get(m, [\"strings\"].concat(keyPath), \"\"), ...args);\n}\n\nexport function html(m, keyPath, ...args) {\n const html = str(m, keyPath, ...args);\n\n return html\n ? React.createElement(\"span\", {dangerouslySetInnerHTML: {__html: html}})\n : null;\n}\n\nexport function group(m, keyPath) {\n return get(m, [\"strings\"].concat(keyPath), Map()).toJS();\n}\n\nexport function initI18n(m) {\n const language = l.ui.language(m);\n const overrides = l.ui.dict(m);\n const defaultDictionary = Immutable.fromJS(enDictionary);\n\n let base = languageDictionaries[language] || Map({});\n\n if (base.isEmpty()) {\n base = overrides;\n m = sync(m, \"i18n\", {\n syncFn: (_, cb) => syncLang(m, language, cb),\n successFn: (m, result) => {\n registerLanguageDictionary(language, result);\n\n const overrided = Immutable.fromJS(result).mergeDeep(overrides);\n\n assertLanguage(m, overrided.toJS(), enDictionary);\n\n return set(\n m,\n \"strings\",\n defaultDictionary.mergeDeep(overrided)\n );\n }\n });\n } else {\n assertLanguage(m, base.toJS(), enDictionary);\n }\n\n base = defaultDictionary.mergeDeep(base).mergeDeep(overrides);\n\n return set(m, \"strings\", base);\n}\n\nfunction assertLanguage(m, language, base, path = \"\") {\n Object.keys(base).forEach( key => {\n if (!language.hasOwnProperty(key)) {\n l.warn(m, `language does not have property ${path}${key}`);\n } else {\n if (typeof base[key] === 'object') {\n assertLanguage(m, language[key], base[key], `${path}${key}.`);\n }\n }\n });\n}\n\n// sync\n\nfunction syncLang(m, language, cb) {\n load({\n method: \"registerLanguageDictionary\",\n url: `${l.languageBaseUrl(m)}/js/lock/${__VERSION__}/${language}.js`,\n check: str => str && str === language,\n cb: (err, _, dictionary) => {\n cb(err, dictionary);\n }\n });\n}\n\nconst languageDictionaries = [];\n\nfunction registerLanguageDictionary(language, dictionary) {\n languageDictionaries[language] = Immutable.fromJS(dictionary);\n}\n\nregisterLanguageDictionary(\"en\", enDictionary);\n\npreload({\n method: \"registerLanguageDictionary\",\n cb: registerLanguageDictionary\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/i18n.js","/**\n * Copyright 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n// Trust the developer to only use ReactInstrumentation with a __DEV__ check\n\nvar debugTool = null;\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactDebugTool = require('./ReactDebugTool');\n debugTool = ReactDebugTool;\n}\n\nmodule.exports = { debugTool: debugTool };\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactInstrumentation.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar CallbackQueue = require('./CallbackQueue');\nvar PooledClass = require('./PooledClass');\nvar ReactFeatureFlags = require('./ReactFeatureFlags');\nvar ReactReconciler = require('./ReactReconciler');\nvar Transaction = require('./Transaction');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar dirtyComponents = [];\nvar updateBatchNumber = 0;\nvar asapCallbackQueue = CallbackQueue.getPooled();\nvar asapEnqueued = false;\n\nvar batchingStrategy = null;\n\nfunction ensureInjected() {\n !(ReactUpdates.ReactReconcileTransaction && batchingStrategy) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must inject a reconcile transaction class and batching strategy') : _prodInvariant('123') : void 0;\n}\n\nvar NESTED_UPDATES = {\n initialize: function () {\n this.dirtyComponentsLength = dirtyComponents.length;\n },\n close: function () {\n if (this.dirtyComponentsLength !== dirtyComponents.length) {\n // Additional updates were enqueued by componentDidUpdate handlers or\n // similar; before our own UPDATE_QUEUEING wrapper closes, we want to run\n // these new updates so that if A's componentDidUpdate calls setState on\n // B, B will update before the callback A's updater provided when calling\n // setState.\n dirtyComponents.splice(0, this.dirtyComponentsLength);\n flushBatchedUpdates();\n } else {\n dirtyComponents.length = 0;\n }\n }\n};\n\nvar UPDATE_QUEUEING = {\n initialize: function () {\n this.callbackQueue.reset();\n },\n close: function () {\n this.callbackQueue.notifyAll();\n }\n};\n\nvar TRANSACTION_WRAPPERS = [NESTED_UPDATES, UPDATE_QUEUEING];\n\nfunction ReactUpdatesFlushTransaction() {\n this.reinitializeTransaction();\n this.dirtyComponentsLength = null;\n this.callbackQueue = CallbackQueue.getPooled();\n this.reconcileTransaction = ReactUpdates.ReactReconcileTransaction.getPooled(\n /* useCreateElement */true);\n}\n\n_assign(ReactUpdatesFlushTransaction.prototype, Transaction, {\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n destructor: function () {\n this.dirtyComponentsLength = null;\n CallbackQueue.release(this.callbackQueue);\n this.callbackQueue = null;\n ReactUpdates.ReactReconcileTransaction.release(this.reconcileTransaction);\n this.reconcileTransaction = null;\n },\n\n perform: function (method, scope, a) {\n // Essentially calls `this.reconcileTransaction.perform(method, scope, a)`\n // with this transaction's wrappers around it.\n return Transaction.perform.call(this, this.reconcileTransaction.perform, this.reconcileTransaction, method, scope, a);\n }\n});\n\nPooledClass.addPoolingTo(ReactUpdatesFlushTransaction);\n\nfunction batchedUpdates(callback, a, b, c, d, e) {\n ensureInjected();\n return batchingStrategy.batchedUpdates(callback, a, b, c, d, e);\n}\n\n/**\n * Array comparator for ReactComponents by mount ordering.\n *\n * @param {ReactComponent} c1 first component you're comparing\n * @param {ReactComponent} c2 second component you're comparing\n * @return {number} Return value usable by Array.prototype.sort().\n */\nfunction mountOrderComparator(c1, c2) {\n return c1._mountOrder - c2._mountOrder;\n}\n\nfunction runBatchedUpdates(transaction) {\n var len = transaction.dirtyComponentsLength;\n !(len === dirtyComponents.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected flush transaction\\'s stored dirty-components length (%s) to match dirty-components array length (%s).', len, dirtyComponents.length) : _prodInvariant('124', len, dirtyComponents.length) : void 0;\n\n // Since reconciling a component higher in the owner hierarchy usually (not\n // always -- see shouldComponentUpdate()) will reconcile children, reconcile\n // them before their children by sorting the array.\n dirtyComponents.sort(mountOrderComparator);\n\n // Any updates enqueued while reconciling must be performed after this entire\n // batch. Otherwise, if dirtyComponents is [A, B] where A has children B and\n // C, B could update twice in a single batch if C's render enqueues an update\n // to B (since B would have already updated, we should skip it, and the only\n // way we can know to do so is by checking the batch counter).\n updateBatchNumber++;\n\n for (var i = 0; i < len; i++) {\n // If a component is unmounted before pending changes apply, it will still\n // be here, but we assume that it has cleared its _pendingCallbacks and\n // that performUpdateIfNecessary is a noop.\n var component = dirtyComponents[i];\n\n // If performUpdateIfNecessary happens to enqueue any new updates, we\n // shouldn't execute the callbacks until the next render happens, so\n // stash the callbacks first\n var callbacks = component._pendingCallbacks;\n component._pendingCallbacks = null;\n\n var markerName;\n if (ReactFeatureFlags.logTopLevelRenders) {\n var namedComponent = component;\n // Duck type TopLevelWrapper. This is probably always true.\n if (component._currentElement.type.isReactTopLevelWrapper) {\n namedComponent = component._renderedComponent;\n }\n markerName = 'React update: ' + namedComponent.getName();\n console.time(markerName);\n }\n\n ReactReconciler.performUpdateIfNecessary(component, transaction.reconcileTransaction, updateBatchNumber);\n\n if (markerName) {\n console.timeEnd(markerName);\n }\n\n if (callbacks) {\n for (var j = 0; j < callbacks.length; j++) {\n transaction.callbackQueue.enqueue(callbacks[j], component.getPublicInstance());\n }\n }\n }\n}\n\nvar flushBatchedUpdates = function () {\n // ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents\n // array and perform any updates enqueued by mount-ready handlers (i.e.,\n // componentDidUpdate) but we need to check here too in order to catch\n // updates enqueued by setState callbacks and asap calls.\n while (dirtyComponents.length || asapEnqueued) {\n if (dirtyComponents.length) {\n var transaction = ReactUpdatesFlushTransaction.getPooled();\n transaction.perform(runBatchedUpdates, null, transaction);\n ReactUpdatesFlushTransaction.release(transaction);\n }\n\n if (asapEnqueued) {\n asapEnqueued = false;\n var queue = asapCallbackQueue;\n asapCallbackQueue = CallbackQueue.getPooled();\n queue.notifyAll();\n CallbackQueue.release(queue);\n }\n }\n};\n\n/**\n * Mark a component as needing a rerender, adding an optional callback to a\n * list of functions which will be executed once the rerender occurs.\n */\nfunction enqueueUpdate(component) {\n ensureInjected();\n\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case. (This is called by each top-level update\n // function, like setState, forceUpdate, etc.; creation and\n // destruction of top-level components is guarded in ReactMount.)\n\n if (!batchingStrategy.isBatchingUpdates) {\n batchingStrategy.batchedUpdates(enqueueUpdate, component);\n return;\n }\n\n dirtyComponents.push(component);\n if (component._updateBatchNumber == null) {\n component._updateBatchNumber = updateBatchNumber + 1;\n }\n}\n\n/**\n * Enqueue a callback to be run at the end of the current batching cycle. Throws\n * if no updates are currently being performed.\n */\nfunction asap(callback, context) {\n !batchingStrategy.isBatchingUpdates ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates.asap: Can\\'t enqueue an asap callback in a context whereupdates are not being batched.') : _prodInvariant('125') : void 0;\n asapCallbackQueue.enqueue(callback, context);\n asapEnqueued = true;\n}\n\nvar ReactUpdatesInjection = {\n injectReconcileTransaction: function (ReconcileTransaction) {\n !ReconcileTransaction ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a reconcile transaction class') : _prodInvariant('126') : void 0;\n ReactUpdates.ReactReconcileTransaction = ReconcileTransaction;\n },\n\n injectBatchingStrategy: function (_batchingStrategy) {\n !_batchingStrategy ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a batching strategy') : _prodInvariant('127') : void 0;\n !(typeof _batchingStrategy.batchedUpdates === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a batchedUpdates() function') : _prodInvariant('128') : void 0;\n !(typeof _batchingStrategy.isBatchingUpdates === 'boolean') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide an isBatchingUpdates boolean attribute') : _prodInvariant('129') : void 0;\n batchingStrategy = _batchingStrategy;\n }\n};\n\nvar ReactUpdates = {\n /**\n * React references `ReactReconcileTransaction` using this property in order\n * to allow dependency injection.\n *\n * @internal\n */\n ReactReconcileTransaction: null,\n\n batchedUpdates: batchedUpdates,\n enqueueUpdate: enqueueUpdate,\n flushBatchedUpdates: flushBatchedUpdates,\n injection: ReactUpdatesInjection,\n asap: asap\n};\n\nmodule.exports = ReactUpdates;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactUpdates.js","import * as l from './index';\nimport * as i18n from '../i18n';\n\nexport default class Screen {\n\n constructor(name) {\n this.name = name;\n }\n\n backHandler() {\n return null;\n }\n\n escHandler() {\n return null;\n }\n\n submitButtonLabel(m) {\n return i18n.str(m, [\"submitLabel\"]);\n }\n\n submitHandler() {\n return null;\n }\n\n renderAuxiliaryPane() {\n return null;\n }\n\n renderTabs() {\n return false;\n }\n\n renderTerms() {\n return null;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/screen.js","import{ Map } from 'immutable';\n\nexport function dataFns(baseNSKeyPath) {\n function keyPath(nsKeyPath, keyOrKeyPath) {\n return nsKeyPath.concat(\n typeof keyOrKeyPath === \"object\" ? keyOrKeyPath : [keyOrKeyPath]\n );\n }\n\n function getFn(nsKeyPath) {\n return function(m, keyOrKeyPath, notSetValue = undefined) {\n return m.getIn(keyPath(nsKeyPath, keyOrKeyPath), notSetValue);\n }\n }\n\n function setFn(nsKeyPath) {\n return function(m, keyOrKeyPath, value) {\n return m.setIn(keyPath(nsKeyPath, keyOrKeyPath), value);\n }\n }\n\n function removeFn(nsKeyPath) {\n return function(m, keyOrKeyPath) {\n return m.removeIn(keyPath(nsKeyPath, keyOrKeyPath));\n }\n }\n\n const transientNSKeyPath = baseNSKeyPath.concat([\"transient\"]);\n\n return {\n get: getFn(baseNSKeyPath),\n set: setFn(baseNSKeyPath),\n remove: removeFn(baseNSKeyPath),\n tget: getFn(transientNSKeyPath),\n tset: setFn(transientNSKeyPath),\n tremove: removeFn(transientNSKeyPath),\n reset: function(m) {\n return m.map(x => Map.isMap(x) ? x.remove(\"transient\") : x);\n },\n init: function(id, m) {\n return new Map({id: id}).setIn(baseNSKeyPath, m);\n },\n initNS: function(m, ns) {\n return m.setIn(baseNSKeyPath, ns);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/data_utils.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar PooledClass = require('./PooledClass');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar warning = require('fbjs/lib/warning');\n\nvar didWarnForAddedNewProperty = false;\nvar isProxySupported = typeof Proxy === 'function';\n\nvar shouldBeReleasedProperties = ['dispatchConfig', '_targetInst', 'nativeEvent', 'isDefaultPrevented', 'isPropagationStopped', '_dispatchListeners', '_dispatchInstances'];\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar EventInterface = {\n type: null,\n target: null,\n // currentTarget is set when dispatching; no use in copying it here\n currentTarget: emptyFunction.thatReturnsNull,\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function (event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\n\n/**\n * Synthetic events are dispatched by event plugins, typically in response to a\n * top-level event delegation handler.\n *\n * These systems should generally use pooling to reduce the frequency of garbage\n * collection. The system should check `isPersistent` to determine whether the\n * event should be released into the pool after being dispatched. Users that\n * need a persisted event should invoke `persist`.\n *\n * Synthetic events (and subclasses) implement the DOM Level 3 Events API by\n * normalizing browser quirks. Subclasses do not necessarily have to implement a\n * DOM interface; custom application-specific events can also subclass this.\n *\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {*} targetInst Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @param {DOMEventTarget} nativeEventTarget Target node.\n */\nfunction SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeEventTarget) {\n if (process.env.NODE_ENV !== 'production') {\n // these have a getter/setter for warnings\n delete this.nativeEvent;\n delete this.preventDefault;\n delete this.stopPropagation;\n }\n\n this.dispatchConfig = dispatchConfig;\n this._targetInst = targetInst;\n this.nativeEvent = nativeEvent;\n\n var Interface = this.constructor.Interface;\n for (var propName in Interface) {\n if (!Interface.hasOwnProperty(propName)) {\n continue;\n }\n if (process.env.NODE_ENV !== 'production') {\n delete this[propName]; // this has a getter/setter for warnings\n }\n var normalize = Interface[propName];\n if (normalize) {\n this[propName] = normalize(nativeEvent);\n } else {\n if (propName === 'target') {\n this.target = nativeEventTarget;\n } else {\n this[propName] = nativeEvent[propName];\n }\n }\n }\n\n var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;\n if (defaultPrevented) {\n this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n } else {\n this.isDefaultPrevented = emptyFunction.thatReturnsFalse;\n }\n this.isPropagationStopped = emptyFunction.thatReturnsFalse;\n return this;\n}\n\n_assign(SyntheticEvent.prototype, {\n\n preventDefault: function () {\n this.defaultPrevented = true;\n var event = this.nativeEvent;\n if (!event) {\n return;\n }\n\n if (event.preventDefault) {\n event.preventDefault();\n } else if (typeof event.returnValue !== 'unknown') {\n // eslint-disable-line valid-typeof\n event.returnValue = false;\n }\n this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n },\n\n stopPropagation: function () {\n var event = this.nativeEvent;\n if (!event) {\n return;\n }\n\n if (event.stopPropagation) {\n event.stopPropagation();\n } else if (typeof event.cancelBubble !== 'unknown') {\n // eslint-disable-line valid-typeof\n // The ChangeEventPlugin registers a \"propertychange\" event for\n // IE. This event does not support bubbling or cancelling, and\n // any references to cancelBubble throw \"Member not found\". A\n // typeof check of \"unknown\" circumvents this issue (and is also\n // IE specific).\n event.cancelBubble = true;\n }\n\n this.isPropagationStopped = emptyFunction.thatReturnsTrue;\n },\n\n /**\n * We release all dispatched `SyntheticEvent`s after each event loop, adding\n * them back into the pool. This allows a way to hold onto a reference that\n * won't be added back into the pool.\n */\n persist: function () {\n this.isPersistent = emptyFunction.thatReturnsTrue;\n },\n\n /**\n * Checks if this event should be released back into the pool.\n *\n * @return {boolean} True if this should not be released, false otherwise.\n */\n isPersistent: emptyFunction.thatReturnsFalse,\n\n /**\n * `PooledClass` looks for `destructor` on each instance it releases.\n */\n destructor: function () {\n var Interface = this.constructor.Interface;\n for (var propName in Interface) {\n if (process.env.NODE_ENV !== 'production') {\n Object.defineProperty(this, propName, getPooledWarningPropertyDefinition(propName, Interface[propName]));\n } else {\n this[propName] = null;\n }\n }\n for (var i = 0; i < shouldBeReleasedProperties.length; i++) {\n this[shouldBeReleasedProperties[i]] = null;\n }\n if (process.env.NODE_ENV !== 'production') {\n Object.defineProperty(this, 'nativeEvent', getPooledWarningPropertyDefinition('nativeEvent', null));\n Object.defineProperty(this, 'preventDefault', getPooledWarningPropertyDefinition('preventDefault', emptyFunction));\n Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', emptyFunction));\n }\n }\n\n});\n\nSyntheticEvent.Interface = EventInterface;\n\nif (process.env.NODE_ENV !== 'production') {\n if (isProxySupported) {\n /*eslint-disable no-func-assign */\n SyntheticEvent = new Proxy(SyntheticEvent, {\n construct: function (target, args) {\n return this.apply(target, Object.create(target.prototype), args);\n },\n apply: function (constructor, that, args) {\n return new Proxy(constructor.apply(that, args), {\n set: function (target, prop, value) {\n if (prop !== 'isPersistent' && !target.constructor.Interface.hasOwnProperty(prop) && shouldBeReleasedProperties.indexOf(prop) === -1) {\n process.env.NODE_ENV !== 'production' ? warning(didWarnForAddedNewProperty || target.isPersistent(), 'This synthetic event is reused for performance reasons. If you\\'re ' + 'seeing this, you\\'re adding a new property in the synthetic event object. ' + 'The property is never released. See ' + 'https://fb.me/react-event-pooling for more information.') : void 0;\n didWarnForAddedNewProperty = true;\n }\n target[prop] = value;\n return true;\n }\n });\n }\n });\n /*eslint-enable no-func-assign */\n }\n}\n/**\n * Helper to reduce boilerplate when creating subclasses.\n *\n * @param {function} Class\n * @param {?object} Interface\n */\nSyntheticEvent.augmentClass = function (Class, Interface) {\n var Super = this;\n\n var E = function () {};\n E.prototype = Super.prototype;\n var prototype = new E();\n\n _assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n\n Class.Interface = _assign({}, Super.Interface, Interface);\n Class.augmentClass = Super.augmentClass;\n\n PooledClass.addPoolingTo(Class, PooledClass.fourArgumentPooler);\n};\n\nPooledClass.addPoolingTo(SyntheticEvent, PooledClass.fourArgumentPooler);\n\nmodule.exports = SyntheticEvent;\n\n/**\n * Helper to nullify syntheticEvent instance properties when destructing\n *\n * @param {object} SyntheticEvent\n * @param {String} propName\n * @return {object} defineProperty object\n */\nfunction getPooledWarningPropertyDefinition(propName, getVal) {\n var isFunction = typeof getVal === 'function';\n return {\n configurable: true,\n set: set,\n get: get\n };\n\n function set(val) {\n var action = isFunction ? 'setting the method' : 'setting the property';\n warn(action, 'This is effectively a no-op');\n return val;\n }\n\n function get() {\n var action = isFunction ? 'accessing the method' : 'accessing the property';\n var result = isFunction ? 'This is a no-op function' : 'This is set to null';\n warn(action, result);\n return getVal;\n }\n\n function warn(action, result) {\n var warningCondition = false;\n process.env.NODE_ENV !== 'production' ? warning(warningCondition, 'This synthetic event is reused for performance reasons. If you\\'re seeing this, ' + 'you\\'re %s `%s` on a released/nullified synthetic event. %s. ' + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticEvent.js","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/emptyFunction.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar ReactChildren = require('./ReactChildren');\nvar ReactComponent = require('./ReactComponent');\nvar ReactPureComponent = require('./ReactPureComponent');\nvar ReactClass = require('./ReactClass');\nvar ReactDOMFactories = require('./ReactDOMFactories');\nvar ReactElement = require('./ReactElement');\nvar ReactPropTypes = require('./ReactPropTypes');\nvar ReactVersion = require('./ReactVersion');\n\nvar onlyChild = require('./onlyChild');\nvar warning = require('fbjs/lib/warning');\n\nvar createElement = ReactElement.createElement;\nvar createFactory = ReactElement.createFactory;\nvar cloneElement = ReactElement.cloneElement;\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactElementValidator = require('./ReactElementValidator');\n createElement = ReactElementValidator.createElement;\n createFactory = ReactElementValidator.createFactory;\n cloneElement = ReactElementValidator.cloneElement;\n}\n\nvar __spread = _assign;\n\nif (process.env.NODE_ENV !== 'production') {\n var warned = false;\n __spread = function () {\n process.env.NODE_ENV !== 'production' ? warning(warned, 'React.__spread is deprecated and should not be used. Use ' + 'Object.assign directly or another helper function with similar ' + 'semantics. You may be seeing this warning due to your compiler. ' + 'See https://fb.me/react-spread-deprecation for more details.') : void 0;\n warned = true;\n return _assign.apply(null, arguments);\n };\n}\n\nvar React = {\n\n // Modern\n\n Children: {\n map: ReactChildren.map,\n forEach: ReactChildren.forEach,\n count: ReactChildren.count,\n toArray: ReactChildren.toArray,\n only: onlyChild\n },\n\n Component: ReactComponent,\n PureComponent: ReactPureComponent,\n\n createElement: createElement,\n cloneElement: cloneElement,\n isValidElement: ReactElement.isValidElement,\n\n // Classic\n\n PropTypes: ReactPropTypes,\n createClass: ReactClass.createClass,\n createFactory: createFactory,\n createMixin: function (mixin) {\n // Currently a noop. Will be used to validate and trace mixins.\n return mixin;\n },\n\n // This looks DOM specific but these are actually isomorphic helpers\n // since they are just generating DOM strings.\n DOM: ReactDOMFactories,\n\n version: ReactVersion,\n\n // Deprecated hook for JSX spread, don't use this for anything.\n __spread: __spread\n};\n\nmodule.exports = React;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/React.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/**\n * Keeps track of the current owner.\n *\n * The current owner is the component who should own any components that are\n * currently being constructed.\n */\nvar ReactCurrentOwner = {\n\n /**\n * @internal\n * @type {ReactComponent}\n */\n current: null\n\n};\n\nmodule.exports = ReactCurrentOwner;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactCurrentOwner.js","import Immutable, { List } from 'immutable';\nimport * as l from '../core/index';\nimport * as c from '../field/index';\nimport { dataFns } from '../utils/data_utils';\nimport { emailDomain, emailLocalPart } from '../field/email';\nimport { setUsername } from '../field/username';\nimport { getFieldValue } from '../field/index';\n\nconst { get, initNS, tget, tremove, tset } = dataFns([\"enterprise\"]);\n\n// TODO: Android version also has \"google-opendid\" in the list, but we\n// consider it to be a social connection. See\n// https://github.com/auth0/Lock.Android/blob/98262cb7110e5d1c8a97e1129faf2621c1d8d111/lock/src/main/java/com/auth0/android/lock/utils/Strategies.java\nexport const STRATEGIES = {\n \"ad\": \"AD / LDAP\",\n \"adfs\": \"ADFS\",\n \"auth0-adldap\": \"AD/LDAP\",\n \"custom\": \"Custom Auth\",\n \"google-apps\": \"Google Apps\",\n \"ip\": \"IP Address\",\n \"mscrm\": \"Dynamics CRM\",\n \"office365\": \"Office365\",\n \"pingfederate\": \"Ping Federate\",\n \"samlp\": \"SAML\",\n \"sharepoint\": \"SharePoint Apps\",\n \"waad\": \"Windows Azure AD\"\n}\n\nexport function initEnterprise(m, opts) {\n return initNS(m, Immutable.fromJS(processOptions(opts)));\n}\n\nfunction processOptions(opts) {\n let { defaultEnterpriseConnection } = opts;\n\n if (defaultEnterpriseConnection != undefined && typeof defaultEnterpriseConnection !== \"string\") {\n l.warn(options, \"The `defaultEnterpriseConnection` option will be ignored, because it is not a string.\");\n defaultEnterpriseConnection = undefined;\n }\n\n return defaultEnterpriseConnection === undefined\n ? {}\n : {defaultConnectionName: defaultEnterpriseConnection};\n}\n\nexport function defaultEnterpriseConnection(m) {\n const name = defaultEnterpriseConnectionName(m);\n return name && findADConnectionWithoutDomain(m, name);\n}\n\nexport function defaultEnterpriseConnectionName(m) {\n return get(m, \"defaultConnectionName\");\n}\n\nexport function enterpriseActiveFlowConnection(m) {\n if (isHRDActive(m)) {\n // HRD is active when an email matched or there is only one\n // connection and it is enterprise\n const email = tget(m, \"hrdEmail\", \"\");\n return matchConnection(m, email) || findActiveFlowConnection(m);\n } else {\n return defaultEnterpriseConnection(m) || findADConnectionWithoutDomain(m);\n }\n}\n\nexport function matchConnection(m, email, strategies = []) {\n const target = emailDomain(email);\n if (!target) return false;\n return l.connections(m, \"enterprise\", ...strategies).find(x => {\n return x.get(\"domains\").contains(target);\n });\n}\n\nexport function isEnterpriseDomain(m, email, strategies = []) {\n return !!matchConnection(m, email, strategies);\n}\n\nexport function enterpriseDomain(m) {\n return isSingleHRDConnection(m)\n ? l.connections(m, \"enterprise\").getIn([0, \"domains\", 0])\n : emailDomain(tget(m, \"hrdEmail\"));\n}\n\nexport function quickAuthConnection(m) {\n return !isADEnabled(m) && l.hasOneConnection(m, \"enterprise\")\n ? l.connections(m, \"enterprise\").get(0)\n : null;\n}\n\n// ad / adldap\n// https://github.com/auth0/Lock.Android/blob/0145b6853a8de0df5e63ef22e4e2bc40be97ad9e/lock/src/main/java/com/auth0/android/lock/utils/Strategy.java#L67\n\nexport function isADEnabled(m) {\n return l.hasSomeConnections(m, \"enterprise\", \"ad\", \"auth0-adldap\");\n}\n\nexport function findADConnectionWithoutDomain(m, name = undefined) {\n return l.connections(m, \"enterprise\", \"ad\", \"auth0-adldap\").find(x => {\n return x.get(\"domains\").isEmpty() && (!name || x.get(\"name\") === name);\n });\n}\n\nfunction findActiveFlowConnection(m, name = undefined) {\n return l.connections(m, \"enterprise\", \"ad\", \"auth0-adldap\").find(x => {\n return !name || x.get(\"name\") === name;\n });\n}\n\n// kerberos\n\nexport function isInCorpNetwork(m) {\n return corpNetworkConnection(m) !== undefined;\n}\n\nexport function corpNetworkConnection(m) {\n // Information about connection is stored in to flat properties connection and strategy.\n // If connection is present, strategy will always be present as defined by the server.\n const name = m.getIn([\"sso\", \"connection\"]);\n const strategy = m.getIn([\"sso\", \"strategy\"]);\n\n return name && Immutable.Map({ name, strategy });\n}\n\n// hrd\n\nexport function isSingleHRDConnection(m) {\n return isADEnabled(m) && l.connections(m).count() === 1;\n}\n\nexport function isHRDDomain(m, email) {\n return isEnterpriseDomain(m, email, [\"ad\", \"auth0-adldap\"]);\n}\n\nexport function toggleHRD(m, email) {\n if (email) {\n const username = l.defaultADUsernameFromEmailPrefix(m) ? emailLocalPart(email) : email;\n\n m = setUsername(m, username, \"username\", false);\n m = tset(m, \"hrdEmail\", email);\n } else {\n m = tremove(m, \"hrdEmail\");\n }\n\n return tset(m, \"hrd\", !!email);\n}\n\nexport function isHRDActive(m) {\n return tget(m, \"hrd\", isSingleHRDConnection(m));\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/enterprise.js","import Immutable, { Map } from 'immutable';\nimport webApi from './web_api';\nimport { getCollection, getEntity, read, removeEntity, swap, setEntity, updateEntity } from '../store/index';\nimport { syncRemoteData } from './remote_data';\nimport * as l from './index';\nimport { img as preload } from '../utils/preload_utils';\nimport { defaultProps } from '../ui/box/container';\nimport { isFieldValid, showInvalidField, hideInvalidFields } from '../field/index';\n\nexport function setupLock(id, clientID, domain, options, hookRunner, emitEventFn) {\n let m = l.setup(id, clientID, domain, options, hookRunner, emitEventFn);\n\n m = syncRemoteData(m);\n\n preload(l.ui.logo(m) || defaultProps.logo);\n\n webApi.setupClient(id, clientID, domain, l.withAuthOptions(m, {\n ...options,\n popupOptions: l.ui.popupOptions(m)\n }));\n\n m = l.runHook(m, \"didInitialize\", options);\n\n swap(setEntity, \"lock\", id, m);\n\n return m;\n}\n\nexport function handleAuthCallback() {\n const hash = global.location.hash;\n\n const ms = read(getCollection, \"lock\");\n const parsed = ms.filter(m => l.auth.redirect(m) && parseHash(m, hash));\n const keepHash = ms.filter(m => !l.hashCleanup(m)).size > 0;\n\n if (parsed.size > 0 && !keepHash) {\n global.location.hash = \"\";\n }\n}\n\nfunction parseHash(m, hash) {\n const parsedHash = webApi.parseHash(l.id(m), hash);\n l.emitHashParsedEvent(m, parsedHash);\n\n let error, result;\n\n if (parsedHash) {\n if (parsedHash.error) {\n error = parsedHash;\n } else if (!parsedHash.hasOwnProperty(\"error\")) {\n // NOTE: if the url hash contains the string \"error\"\n // `parsedHash` will be the following object:\n // {error: undefined, error_description: undefined}\n // That is why we make the additional check for the error\n // property to ensure we actually have a result.\n result = parsedHash;\n }\n\n if (error) {\n l.emitAuthorizationErrorEvent(m, error);\n } else if (result) {\n l.emitAuthenticatedEvent(m, result);\n }\n }\n\n return !!(error || result);\n}\n\nexport function openLock(id, opts) {\n const m = read(getEntity, \"lock\", id);\n if (!m) {\n throw new Error(\"The Lock can't be opened again after it has been destroyed\");\n }\n\n if (l.rendering(m)) {\n return false;\n }\n\n if (opts.flashMessage) {\n if (!opts.flashMessage.type || ['error', 'success'].indexOf(opts.flashMessage.type) === -1) {\n return l.emitUnrecoverableErrorEvent(m, \"'flashMessage' must provide a valid type ['error','success']\")\n }\n if (!opts.flashMessage.text) {\n return l.emitUnrecoverableErrorEvent(m, \"'flashMessage' must provide a text\")\n }\n }\n\n l.emitEvent(m, \"show\");\n\n swap(updateEntity, \"lock\", id, m => {\n m = l.overrideOptions(m, opts);\n m = l.filterConnections(m);\n m = l.runHook(m, \"willShow\", opts);\n return l.render(m);\n });\n\n return true;\n}\n\nexport function closeLock(id, force = false, callback = () => {}) {\n // Do nothing when the Lock can't be closed, unless closing is forced.\n let m = read(getEntity, \"lock\", id);\n if (!l.ui.closable(m) && !force || !l.rendering(m)) {\n return;\n }\n\n l.emitEvent(m, \"hide\")\n\n // If it is a modal, stop rendering an reset after a second,\n // otherwise just reset.\n if (l.ui.appendContainer(m)) {\n swap(updateEntity, \"lock\", id, l.stopRendering);\n\n setTimeout(() => {\n swap(updateEntity, \"lock\", id, (m) => {\n m = hideInvalidFields(m);\n m = l.reset(m);\n return m;\n });\n m = read(getEntity, \"lock\", id);\n callback(m);\n }, 1000);\n } else {\n swap(updateEntity, \"lock\", id, (m) => {\n m = hideInvalidFields(m);\n m = l.reset(m);\n return m;\n });\n callback(m);\n }\n}\n\nexport function removeLock(id) {\n swap(updateEntity, \"lock\", id, l.stopRendering);\n swap(removeEntity, \"lock\", id);\n}\n\nexport function updateLock(id, f) {\n return swap(updateEntity, \"lock\", id, f);\n}\n\nexport function pinLoadingPane(id) {\n const lock = read(getEntity, \"lock\", id);\n if (!lock.get(\"isLoadingPanePinned\")) {\n swap(updateEntity, \"lock\", id, m => m.set(\"isLoadingPanePinned\", true));\n }\n}\n\nexport function unpinLoadingPane(id) {\n swap(updateEntity, \"lock\", id, m => m.set(\"isLoadingPanePinned\", false));\n}\n\nexport function validateAndSubmit(id, fields = [], f) {\n swap(updateEntity, \"lock\", id, m => {\n const allFieldsValid = fields.reduce((r, x) => r && isFieldValid(m, x), true);\n return allFieldsValid\n ? l.setSubmitting(m, true)\n : fields.reduce((r, x) => showInvalidField(r, x), m);\n });\n\n const m = read(getEntity, \"lock\", id);\n if (l.submitting(m)) {\n f(m);\n }\n}\n\nexport function logIn(id, fields, params = {},\n logInErrorHandler = (_id, error, _fields, next) => next()) {\n\n validateAndSubmit(id, fields, m => {\n webApi.logIn(id, params, l.auth.params(m).toJS(), (error, result) => {\n if (error) {\n setTimeout(() => logInError(id, fields, error, logInErrorHandler), 250)\n } else {\n logInSuccess(id, result);\n }\n });\n });\n}\n\nexport function logInSuccess(id, result) {\n const m = read(getEntity, \"lock\", id);\n\n if (!l.ui.autoclose(m)) {\n swap(updateEntity, \"lock\", id, m => {\n m = l.setSubmitting(m, false);\n return l.setLoggedIn(m, true);\n });\n l.emitAuthenticatedEvent(m, result);\n } else {\n closeLock(id, false, m1 => l.emitAuthenticatedEvent(m1, result));\n }\n}\n\nfunction logInError(id, fields, error, localHandler) {\n localHandler(id, error, fields, () => process.nextTick(() => {\n const m = read(getEntity, \"lock\", id);\n const errorMessage = l.loginErrorMessage(m, error, loginType(fields));\n\n if ([\"blocked_user\", \"rule_error\", \"lock.unauthorized\"].indexOf(error.code) > -1) {\n l.emitAuthorizationErrorEvent(m, error);\n }\n\n swap(updateEntity, \"lock\", id, l.setSubmitting, false, errorMessage);\n }));\n\n swap(updateEntity, \"lock\", id, l.setSubmitting, false);\n}\n\nfunction loginType(fields) {\n if (!fields) return;\n if (~fields.indexOf(\"vcode\")) return \"code\";\n if (~fields.indexOf(\"username\")) return \"username\";\n if (~fields.indexOf(\"email\")) return \"email\";\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/actions.js","\nexports = module.exports = trim;\n\nfunction trim(str){\n return str.replace(/^\\s*|\\s*$/g, '');\n}\n\nexports.left = function(str){\n return str.replace(/^\\s*/, '');\n};\n\nexports.right = function(str){\n return str.replace(/\\s*$/, '');\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/trim/index.js","import trim from 'trim';\nimport { setField } from './index';\nimport { endsWith } from '../utils/string_utils';\n\nconst regExp = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport function validateEmail(str) {\n const result = regExp.exec(trim(str.toLowerCase()));\n return result && result[0];\n}\n\nexport function setEmail(m, str) {\n return setField(m, \"email\", str, validateEmail);\n}\n\nexport function emailDomain(str) {\n const result = regExp.exec(trim(str.toLowerCase()));\n return result ? result.slice(-2)[0] : \"\";\n}\n\nexport function emailLocalPart(str) {\n const domain = emailDomain(str);\n return domain ? str.slice(0, -1 - domain.length) : str;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/email.js","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n// WEBPACK FOOTER //\n// (webpack)/~/node-libs-browser/~/process/browser.js","import React from 'react';\nimport SuccessPane from '../ui/box/success_pane';\nimport { closeLock } from './actions';\nimport * as l from './index';\nimport * as i18n from '../i18n'; // TODO: can't we get this from pops?\n\nexport default class SignedInConfirmation extends React.Component {\n\n handleClose() {\n const { closeHandler, lock } = this.props;\n closeHandler(l.id(lock));\n }\n\n render() {\n const { lock } = this.props;\n const closeHandler = l.ui.closable(lock) ? ::this.handleClose : undefined;\n\n return (\n <SuccessPane closeHandler={closeHandler}>\n <p>{i18n.html(lock, [\"success\", \"logIn\"])}</p>\n </SuccessPane>\n );\n }\n\n}\n\nSignedInConfirmation.propTypes = {\n closeHandler: React.PropTypes.func.isRequired,\n lock: React.PropTypes.object.isRequired\n};\n\nexport function renderSignedInConfirmation(lock, props = {}) {\n props.closeHandler = closeLock;\n props.key = \"auxiliarypane\";\n props.lock = lock;\n\n return l.loggedIn(lock) ? <SignedInConfirmation {...props} /> : null;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/signed_in_confirmation.jsx","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMNamespaces = require('./DOMNamespaces');\nvar setInnerHTML = require('./setInnerHTML');\n\nvar createMicrosoftUnsafeLocalFunction = require('./createMicrosoftUnsafeLocalFunction');\nvar setTextContent = require('./setTextContent');\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\n/**\n * In IE (8-11) and Edge, appending nodes with no children is dramatically\n * faster than appending a full subtree, so we essentially queue up the\n * .appendChild calls here and apply them so each node is added to its parent\n * before any children are added.\n *\n * In other browsers, doing so is slower or neutral compared to the other order\n * (in Firefox, twice as slow) so we only do this inversion in IE.\n *\n * See https://github.com/spicyj/innerhtml-vs-createelement-vs-clonenode.\n */\nvar enableLazy = typeof document !== 'undefined' && typeof document.documentMode === 'number' || typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string' && /\\bEdge\\/\\d/.test(navigator.userAgent);\n\nfunction insertTreeChildren(tree) {\n if (!enableLazy) {\n return;\n }\n var node = tree.node;\n var children = tree.children;\n if (children.length) {\n for (var i = 0; i < children.length; i++) {\n insertTreeBefore(node, children[i], null);\n }\n } else if (tree.html != null) {\n setInnerHTML(node, tree.html);\n } else if (tree.text != null) {\n setTextContent(node, tree.text);\n }\n}\n\nvar insertTreeBefore = createMicrosoftUnsafeLocalFunction(function (parentNode, tree, referenceNode) {\n // DocumentFragments aren't actually part of the DOM after insertion so\n // appending children won't update the DOM. We need to ensure the fragment\n // is properly populated first, breaking out of our lazy approach for just\n // this level. Also, some <object> plugins (like Flash Player) will read\n // <param> nodes immediately upon insertion into the DOM, so <object>\n // must also be populated prior to insertion into the DOM.\n if (tree.node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE || tree.node.nodeType === ELEMENT_NODE_TYPE && tree.node.nodeName.toLowerCase() === 'object' && (tree.node.namespaceURI == null || tree.node.namespaceURI === DOMNamespaces.html)) {\n insertTreeChildren(tree);\n parentNode.insertBefore(tree.node, referenceNode);\n } else {\n parentNode.insertBefore(tree.node, referenceNode);\n insertTreeChildren(tree);\n }\n});\n\nfunction replaceChildWithTree(oldNode, newTree) {\n oldNode.parentNode.replaceChild(newTree.node, oldNode);\n insertTreeChildren(newTree);\n}\n\nfunction queueChild(parentTree, childTree) {\n if (enableLazy) {\n parentTree.children.push(childTree);\n } else {\n parentTree.node.appendChild(childTree.node);\n }\n}\n\nfunction queueHTML(tree, html) {\n if (enableLazy) {\n tree.html = html;\n } else {\n setInnerHTML(tree.node, html);\n }\n}\n\nfunction queueText(tree, text) {\n if (enableLazy) {\n tree.text = text;\n } else {\n setTextContent(tree.node, text);\n }\n}\n\nfunction toString() {\n return this.node.nodeName;\n}\n\nfunction DOMLazyTree(node) {\n return {\n node: node,\n children: [],\n html: null,\n text: null,\n toString: toString\n };\n}\n\nDOMLazyTree.insertTreeBefore = insertTreeBefore;\nDOMLazyTree.replaceChildWithTree = replaceChildWithTree;\nDOMLazyTree.queueChild = queueChild;\nDOMLazyTree.queueHTML = queueHTML;\nDOMLazyTree.queueText = queueText;\n\nmodule.exports = DOMLazyTree;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/DOMLazyTree.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\nfunction checkMask(value, bitmask) {\n return (value & bitmask) === bitmask;\n}\n\nvar DOMPropertyInjection = {\n /**\n * Mapping from normalized, camelcased property names to a configuration that\n * specifies how the associated DOM property should be accessed or rendered.\n */\n MUST_USE_PROPERTY: 0x1,\n HAS_BOOLEAN_VALUE: 0x4,\n HAS_NUMERIC_VALUE: 0x8,\n HAS_POSITIVE_NUMERIC_VALUE: 0x10 | 0x8,\n HAS_OVERLOADED_BOOLEAN_VALUE: 0x20,\n\n /**\n * Inject some specialized knowledge about the DOM. This takes a config object\n * with the following properties:\n *\n * isCustomAttribute: function that given an attribute name will return true\n * if it can be inserted into the DOM verbatim. Useful for data-* or aria-*\n * attributes where it's impossible to enumerate all of the possible\n * attribute names,\n *\n * Properties: object mapping DOM property name to one of the\n * DOMPropertyInjection constants or null. If your attribute isn't in here,\n * it won't get written to the DOM.\n *\n * DOMAttributeNames: object mapping React attribute name to the DOM\n * attribute name. Attribute names not specified use the **lowercase**\n * normalized name.\n *\n * DOMAttributeNamespaces: object mapping React attribute name to the DOM\n * attribute namespace URL. (Attribute names not specified use no namespace.)\n *\n * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.\n * Property names not specified use the normalized name.\n *\n * DOMMutationMethods: Properties that require special mutation methods. If\n * `value` is undefined, the mutation method should unset the property.\n *\n * @param {object} domPropertyConfig the config as described above.\n */\n injectDOMPropertyConfig: function (domPropertyConfig) {\n var Injection = DOMPropertyInjection;\n var Properties = domPropertyConfig.Properties || {};\n var DOMAttributeNamespaces = domPropertyConfig.DOMAttributeNamespaces || {};\n var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {};\n var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {};\n var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {};\n\n if (domPropertyConfig.isCustomAttribute) {\n DOMProperty._isCustomAttributeFunctions.push(domPropertyConfig.isCustomAttribute);\n }\n\n for (var propName in Properties) {\n !!DOMProperty.properties.hasOwnProperty(propName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'injectDOMPropertyConfig(...): You\\'re trying to inject DOM property \\'%s\\' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.', propName) : _prodInvariant('48', propName) : void 0;\n\n var lowerCased = propName.toLowerCase();\n var propConfig = Properties[propName];\n\n var propertyInfo = {\n attributeName: lowerCased,\n attributeNamespace: null,\n propertyName: propName,\n mutationMethod: null,\n\n mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY),\n hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE),\n hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE),\n hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),\n hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)\n };\n !(propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue + propertyInfo.hasOverloadedBooleanValue <= 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s', propName) : _prodInvariant('50', propName) : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n DOMProperty.getPossibleStandardName[lowerCased] = propName;\n }\n\n if (DOMAttributeNames.hasOwnProperty(propName)) {\n var attributeName = DOMAttributeNames[propName];\n propertyInfo.attributeName = attributeName;\n if (process.env.NODE_ENV !== 'production') {\n DOMProperty.getPossibleStandardName[attributeName] = propName;\n }\n }\n\n if (DOMAttributeNamespaces.hasOwnProperty(propName)) {\n propertyInfo.attributeNamespace = DOMAttributeNamespaces[propName];\n }\n\n if (DOMPropertyNames.hasOwnProperty(propName)) {\n propertyInfo.propertyName = DOMPropertyNames[propName];\n }\n\n if (DOMMutationMethods.hasOwnProperty(propName)) {\n propertyInfo.mutationMethod = DOMMutationMethods[propName];\n }\n\n DOMProperty.properties[propName] = propertyInfo;\n }\n }\n};\n\n/* eslint-disable max-len */\nvar ATTRIBUTE_NAME_START_CHAR = ':A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\n/* eslint-enable max-len */\n\n/**\n * DOMProperty exports lookup objects that can be used like functions:\n *\n * > DOMProperty.isValid['id']\n * true\n * > DOMProperty.isValid['foobar']\n * undefined\n *\n * Although this may be confusing, it performs better in general.\n *\n * @see http://jsperf.com/key-exists\n * @see http://jsperf.com/key-missing\n */\nvar DOMProperty = {\n\n ID_ATTRIBUTE_NAME: 'data-reactid',\n ROOT_ATTRIBUTE_NAME: 'data-reactroot',\n\n ATTRIBUTE_NAME_START_CHAR: ATTRIBUTE_NAME_START_CHAR,\n ATTRIBUTE_NAME_CHAR: ATTRIBUTE_NAME_START_CHAR + '\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040',\n\n /**\n * Map from property \"standard name\" to an object with info about how to set\n * the property in the DOM. Each object contains:\n *\n * attributeName:\n * Used when rendering markup or with `*Attribute()`.\n * attributeNamespace\n * propertyName:\n * Used on DOM node instances. (This includes properties that mutate due to\n * external factors.)\n * mutationMethod:\n * If non-null, used instead of the property or `setAttribute()` after\n * initial render.\n * mustUseProperty:\n * Whether the property must be accessed and mutated as an object property.\n * hasBooleanValue:\n * Whether the property should be removed when set to a falsey value.\n * hasNumericValue:\n * Whether the property must be numeric or parse as a numeric and should be\n * removed when set to a falsey value.\n * hasPositiveNumericValue:\n * Whether the property must be positive numeric or parse as a positive\n * numeric and should be removed when set to a falsey value.\n * hasOverloadedBooleanValue:\n * Whether the property can be used as a flag as well as with a value.\n * Removed when strictly equal to false; present without a value when\n * strictly equal to true; present with a value otherwise.\n */\n properties: {},\n\n /**\n * Mapping from lowercase property names to the properly cased version, used\n * to warn in the case of missing properties. Available only in __DEV__.\n *\n * autofocus is predefined, because adding it to the property whitelist\n * causes unintended side effects.\n *\n * @type {Object}\n */\n getPossibleStandardName: process.env.NODE_ENV !== 'production' ? { autofocus: 'autoFocus' } : null,\n\n /**\n * All of the isCustomAttribute() functions that have been injected.\n */\n _isCustomAttributeFunctions: [],\n\n /**\n * Checks whether a property name is a custom attribute.\n * @method\n */\n isCustomAttribute: function (attributeName) {\n for (var i = 0; i < DOMProperty._isCustomAttributeFunctions.length; i++) {\n var isCustomAttributeFn = DOMProperty._isCustomAttributeFunctions[i];\n if (isCustomAttributeFn(attributeName)) {\n return true;\n }\n }\n return false;\n },\n\n injection: DOMPropertyInjection\n};\n\nmodule.exports = DOMProperty;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/DOMProperty.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * `ReactInstanceMap` maintains a mapping from a public facing stateful\n * instance (key) and the internal representation (value). This allows public\n * methods to accept the user facing instance as an argument and map them back\n * to internal methods.\n */\n\n// TODO: Replace this with ES6: var ReactInstanceMap = new Map();\n\nvar ReactInstanceMap = {\n\n /**\n * This API should be called `delete` but we'd have to make sure to always\n * transform these to strings for IE support. When this transform is fully\n * supported we can rename it.\n */\n remove: function (key) {\n key._reactInternalInstance = undefined;\n },\n\n get: function (key) {\n return key._reactInternalInstance;\n },\n\n has: function (key) {\n return key._reactInternalInstance !== undefined;\n },\n\n set: function (key, value) {\n key._reactInternalInstance = value;\n }\n\n};\n\nmodule.exports = ReactInstanceMap;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactInstanceMap.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactRef = require('./ReactRef');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Helper to call ReactRef.attachRefs with this composite component, split out\n * to avoid allocations in the transaction mount-ready queue.\n */\nfunction attachRefs() {\n ReactRef.attachRefs(this, this._currentElement);\n}\n\nvar ReactReconciler = {\n\n /**\n * Initializes the component, renders markup, and registers event listeners.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {?object} the containing host component instance\n * @param {?object} info about the host container\n * @return {?string} Rendered markup to be inserted into the DOM.\n * @final\n * @internal\n */\n mountComponent: function (internalInstance, transaction, hostParent, hostContainerInfo, context, parentDebugID // 0 in production and for roots\n ) {\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeMountComponent(internalInstance._debugID, internalInstance._currentElement, parentDebugID);\n }\n }\n var markup = internalInstance.mountComponent(transaction, hostParent, hostContainerInfo, context, parentDebugID);\n if (internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onMountComponent(internalInstance._debugID);\n }\n }\n return markup;\n },\n\n /**\n * Returns a value that can be passed to\n * ReactComponentEnvironment.replaceNodeWithMarkup.\n */\n getHostNode: function (internalInstance) {\n return internalInstance.getHostNode();\n },\n\n /**\n * Releases any resources allocated by `mountComponent`.\n *\n * @final\n * @internal\n */\n unmountComponent: function (internalInstance, safely) {\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUnmountComponent(internalInstance._debugID);\n }\n }\n ReactRef.detachRefs(internalInstance, internalInstance._currentElement);\n internalInstance.unmountComponent(safely);\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onUnmountComponent(internalInstance._debugID);\n }\n }\n },\n\n /**\n * Update a component using a new element.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactElement} nextElement\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n * @internal\n */\n receiveComponent: function (internalInstance, nextElement, transaction, context) {\n var prevElement = internalInstance._currentElement;\n\n if (nextElement === prevElement && context === internalInstance._context) {\n // Since elements are immutable after the owner is rendered,\n // we can do a cheap identity compare here to determine if this is a\n // superfluous reconcile. It's possible for state to be mutable but such\n // change should trigger an update of the owner which would recreate\n // the element. We explicitly check for the existence of an owner since\n // it's possible for an element created outside a composite to be\n // deeply mutated and reused.\n\n // TODO: Bailing out early is just a perf optimization right?\n // TODO: Removing the return statement should affect correctness?\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, nextElement);\n }\n }\n\n var refsChanged = ReactRef.shouldUpdateRefs(prevElement, nextElement);\n\n if (refsChanged) {\n ReactRef.detachRefs(internalInstance, prevElement);\n }\n\n internalInstance.receiveComponent(nextElement, transaction, context);\n\n if (refsChanged && internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n }\n }\n },\n\n /**\n * Flush any dirty changes in a component.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n performUpdateIfNecessary: function (internalInstance, transaction, updateBatchNumber) {\n if (internalInstance._updateBatchNumber !== updateBatchNumber) {\n // The component's enqueued batch number should always be the current\n // batch or the following one.\n process.env.NODE_ENV !== 'production' ? warning(internalInstance._updateBatchNumber == null || internalInstance._updateBatchNumber === updateBatchNumber + 1, 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)', updateBatchNumber, internalInstance._updateBatchNumber) : void 0;\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, internalInstance._currentElement);\n }\n }\n internalInstance.performUpdateIfNecessary(transaction);\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n }\n }\n }\n\n};\n\nmodule.exports = ReactReconciler;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactReconciler.js","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\n\nvar warning = require('fbjs/lib/warning');\nvar canDefineProperty = require('./canDefineProperty');\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar REACT_ELEMENT_TYPE = require('./ReactElementSymbol');\n\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\n\nvar specialPropKeyWarningShown, specialPropRefWarningShown;\n\nfunction hasValidRef(config) {\n if (process.env.NODE_ENV !== 'production') {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n if (process.env.NODE_ENV !== 'production') {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n return config.key !== undefined;\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0;\n }\n };\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0;\n }\n };\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n}\n\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, no instanceof check\n * will work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} key\n * @param {string|object} ref\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @param {*} owner\n * @param {*} props\n * @internal\n */\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allow us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n if (process.env.NODE_ENV !== 'production') {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {};\n\n // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n if (canDefineProperty) {\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n });\n // self and source are DEV only properties.\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n });\n // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n } else {\n element._store.validated = false;\n element._self = self;\n element._source = source;\n }\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n\n/**\n * Create and return a new ReactElement of the given type.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createelement\n */\nReactElement.createElement = function (type, config, children) {\n var propName;\n\n // Reserved names are extracted\n var props = {};\n\n var key = null;\n var ref = null;\n var self = null;\n var source = null;\n\n if (config != null) {\n if (hasValidRef(config)) {\n ref = config.ref;\n }\n if (hasValidKey(config)) {\n key = '' + config.key;\n }\n\n self = config.__self === undefined ? null : config.__self;\n source = config.__source === undefined ? null : config.__source;\n // Remaining properties are added to a new props object\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n }\n }\n\n // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n var childrenLength = arguments.length - 2;\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n if (process.env.NODE_ENV !== 'production') {\n if (Object.freeze) {\n Object.freeze(childArray);\n }\n }\n props.children = childArray;\n }\n\n // Resolve default props\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n if (key || ref) {\n if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n }\n }\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n};\n\n/**\n * Return a function that produces ReactElements of a given type.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createfactory\n */\nReactElement.createFactory = function (type) {\n var factory = ReactElement.createElement.bind(null, type);\n // Expose the type on the factory and the prototype so that it can be\n // easily accessed on elements. E.g. `<Foo />.type === Foo`.\n // This should not be named `constructor` since this may not be the function\n // that created the element, and it may not even be a constructor.\n // Legacy hook TODO: Warn if this is accessed\n factory.type = type;\n return factory;\n};\n\nReactElement.cloneAndReplaceKey = function (oldElement, newKey) {\n var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);\n\n return newElement;\n};\n\n/**\n * Clone and return a new ReactElement using element as the starting point.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.cloneelement\n */\nReactElement.cloneElement = function (element, config, children) {\n var propName;\n\n // Original props are copied\n var props = _assign({}, element.props);\n\n // Reserved names are extracted\n var key = element.key;\n var ref = element.ref;\n // Self is preserved since the owner is preserved.\n var self = element._self;\n // Source is preserved since cloneElement is unlikely to be targeted by a\n // transpiler, and the original source is probably a better indicator of the\n // true owner.\n var source = element._source;\n\n // Owner will be preserved, unless ref is overridden\n var owner = element._owner;\n\n if (config != null) {\n if (hasValidRef(config)) {\n // Silently steal the ref from the parent.\n ref = config.ref;\n owner = ReactCurrentOwner.current;\n }\n if (hasValidKey(config)) {\n key = '' + config.key;\n }\n\n // Remaining properties override existing props\n var defaultProps;\n if (element.type && element.type.defaultProps) {\n defaultProps = element.type.defaultProps;\n }\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n if (config[propName] === undefined && defaultProps !== undefined) {\n // Resolve default props\n props[propName] = defaultProps[propName];\n } else {\n props[propName] = config[propName];\n }\n }\n }\n }\n\n // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n var childrenLength = arguments.length - 2;\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n props.children = childArray;\n }\n\n return ReactElement(element.type, key, ref, self, source, owner, props);\n};\n\n/**\n * Verifies the object is a ReactElement.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a valid component.\n * @final\n */\nReactElement.isValidElement = function (object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n};\n\nmodule.exports = ReactElement;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactElement.js","import Immutable, { Map } from 'immutable';\nimport { getEntity, read, swap, updateEntity } from '../../store/index';\nimport webApi from '../../core/web_api';\nimport {\n closeLock,\n logIn as coreLogIn,\n logInSuccess,\n validateAndSubmit\n} from '../../core/actions';\nimport * as l from '../../core/index';\nimport * as c from '../../field/index';\nimport {\n databaseConnectionName,\n databaseConnectionRequiresUsername,\n databaseLogInWithEmail,\n hasScreen,\n setScreen,\n shouldAutoLogin,\n toggleTermsAcceptance as switchTermsAcceptance,\n additionalSignUpFields\n} from './index';\nimport * as i18n from '../../i18n';\n\nexport function logIn(id, needsMFA = false) {\n const m = read(getEntity, \"lock\", id);\n const usernameField = databaseLogInWithEmail(m) ? \"email\" : \"username\";\n const username = c.getFieldValue(m, usernameField);\n\n const params = {\n connection: databaseConnectionName(m),\n username: username,\n password: c.getFieldValue(m, \"password\")\n };\n\n const fields = [usernameField, \"password\"];\n\n const mfaCode = c.getFieldValue(m, \"mfa_code\");\n if (needsMFA) {\n params[\"mfa_code\"] = mfaCode;\n fields.push(\"mfa_code\");\n }\n\n coreLogIn(id, fields, params,\n (id, error, fields, next) => {\n if (error.error === \"a0.mfa_required\") {\n return showLoginMFAActivity(id);\n }\n\n return next();\n });\n}\n\nexport function signUp(id) {\n const m = read(getEntity, \"lock\", id);\n const fields = [\"email\", \"password\"];\n if (databaseConnectionRequiresUsername(m)) fields.push(\"username\");\n additionalSignUpFields(m).forEach(x => fields.push(x.get(\"name\")));\n\n validateAndSubmit(id, fields, m => {\n const params = {\n connection: databaseConnectionName(m),\n email: c.getFieldValue(m, \"email\"),\n password: c.getFieldValue(m, \"password\"),\n autoLogin: shouldAutoLogin(m)\n };\n\n if (databaseConnectionRequiresUsername(m)) {\n params.username = c.getFieldValue(m, \"username\");\n }\n\n if (!additionalSignUpFields(m).isEmpty()) {\n params.user_metadata = {};\n additionalSignUpFields(m).forEach(x => {\n params.user_metadata[x.get(\"name\")] = c.getFieldValue(m, x.get(\"name\"));\n });\n }\n\n webApi.signUp(id, params, (error, ...args) => {\n if (error) {\n setTimeout(() => signUpError(id, error), 250);\n } else {\n signUpSuccess(id);\n }\n });\n });\n}\n\nfunction signUpSuccess(id) {\n const lock = read(getEntity, \"lock\", id);\n\n if (shouldAutoLogin(lock)) {\n swap(updateEntity, \"lock\", id, m => m.set(\"signedUp\", true));\n\n // TODO: check options, redirect is missing\n const options = {\n connection: databaseConnectionName(lock),\n username: c.email(lock),\n password: c.password(lock)\n };\n\n return webApi.logIn(\n id,\n options,\n l.auth.params(lock).toJS(),\n (error, ...args) => {\n if (error) {\n setTimeout(() => autoLogInError(id, error), 250);\n } else {\n logInSuccess(id, ...args);\n }\n }\n );\n }\n\n const autoclose = l.ui.autoclose(lock);\n\n if (!autoclose) {\n swap(updateEntity, \"lock\", id, lock => l.setSubmitting(lock, false).set(\"signedUp\", true));\n } else {\n closeLock(id, false);\n }\n\n}\n\nfunction signUpError(id, error) {\n const m = read(getEntity, \"lock\", id);\n\n const invalidPasswordKeys = {\n PasswordDictionaryError: \"password_dictionary_error\",\n PasswordNoUserInfoError: \"password_no_user_info_error\",\n PasswordStrengthError: \"password_strength_error\"\n };\n\n const errorKey = (error.code === \"invalid_password\"\n && invalidPasswordKeys[error.details.name])\n || error.code;\n\n const errorMessage = i18n.str(m, [\"error\", \"signUp\", errorKey])\n || i18n.str(m, [\"error\", \"signUp\", \"lock.fallback\"]);\n\n swap(updateEntity, \"lock\", id, l.setSubmitting, false, errorMessage);\n}\n\n\nfunction autoLogInError(id, error) {\n swap(updateEntity, \"lock\", id, m => {\n if (hasScreen(m, \"login\")) {\n const errorMessage = l.loginErrorMessage(m, error);\n return l.setSubmitting(setScreen(m, \"login\"), false, errorMessage);\n } else {\n const stopError = new Error(\"Autologin failed and no the login screen is not allowed.\");\n stopError.code = \"autologin_error\";\n stopError.origin = error;\n return l.setSubmitting(l.stop(m, stopError), false);\n }\n });\n}\n\nexport function resetPassword(id) {\n validateAndSubmit(id, [\"email\"], m => {\n const params = {\n connection: databaseConnectionName(m),\n email: c.getFieldValue(m, \"email\")\n };\n\n webApi.resetPassword(id, params, (error, ...args) => {\n if (error) {\n setTimeout(() => resetPasswordError(id, error), 250);\n } else {\n resetPasswordSuccess(id);\n }\n });\n });\n}\n\nfunction resetPasswordSuccess(id) {\n const m = read(getEntity, \"lock\", id);\n if (hasScreen(m, \"login\")) {\n swap(updateEntity, \"lock\", id, m => (\n setScreen(l.setSubmitting(m, false), \"login\")\n ));\n\n // TODO: should be handled by box\n setTimeout(() => {\n const successMessage = i18n.str(m, [\"success\", \"forgotPassword\"]);\n swap(updateEntity, \"lock\", id, l.setGlobalSuccess, successMessage);\n }, 500);\n } else {\n if (l.ui.autoclose(m)) {\n closeLock(id);\n } else {\n swap(updateEntity, \"lock\", id, m => (\n l.setSubmitting(m, false).set(\"passwordResetted\", true)\n ));\n }\n }\n}\n\nfunction resetPasswordError(id, error) {\n const m = read(getEntity, \"lock\", id);\n\n const errorMessage = i18n.str(m, [\"error\", \"forgotPassword\", error.code])\n || i18n.str(m, [\"error\", \"forgotPassword\", \"lock.fallback\"]);\n\n swap(updateEntity, \"lock\", id, l.setSubmitting, false, errorMessage);\n}\n\nexport function showLoginActivity(id, fields = [\"password\"]) {\n swap(updateEntity, \"lock\", id, setScreen, \"login\", fields);\n}\n\nexport function showSignUpActivity(id, fields = [\"password\"]) {\n swap(updateEntity, \"lock\", id, setScreen, \"signUp\", fields);\n}\n\nexport function showResetPasswordActivity(id, fields = [\"password\"]) {\n swap(updateEntity, \"lock\", id, setScreen, \"forgotPassword\", fields);\n}\n\nexport function cancelResetPassword(id) {\n return showLoginActivity(id);\n}\n\nexport function cancelMFALogin(id) {\n return showLoginActivity(id);\n}\n\nexport function toggleTermsAcceptance(id) {\n swap(updateEntity, \"lock\", id, switchTermsAcceptance);\n}\n\nexport function showLoginMFAActivity(id, fields = [\"mfa_code\"]) {\n swap(updateEntity, \"lock\", id, setScreen, \"mfaLogin\", fields);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/actions.js","import Immutable from 'immutable';\nimport * as l from '../../core/index';\nimport { dataFns } from '../../utils/data_utils';\n\n// TODO: Android version also has \"unknonwn-social\", \"evernote\" and\n// \"evernote-sandbox\"\"evernote\" in the list, considers \"google-openid\"\n// to be enterprise and doesn't contain \"salesforce-community\". See\n// https://github.com/auth0/Lock.Android/blob/98262cb7110e5d1c8a97e1129faf2621c1d8d111/lock/src/main/java/com/auth0/android/lock/utils/Strategies.java\nexport const STRATEGIES = {\n \"amazon\": \"Amazon\",\n \"aol\": \"Aol\",\n \"baidu\": \"百度\",\n \"bitbucket\": \"Bitbucket\",\n \"box\": \"Box\",\n \"dropbox\": \"Dropbox\",\n \"dwolla\": \"Dwolla\",\n \"ebay\": \"ebay\",\n \"exact\": \"Exact\",\n \"facebook\": \"Facebook\",\n \"fitbit\": \"Fitbit\",\n \"github\": \"GitHub\",\n \"google-openid\": \"Google OpenId\",\n \"google-oauth2\": \"Google\",\n \"instagram\": \"Instagram\",\n \"linkedin\": \"LinkedIn\",\n \"miicard\": \"miiCard\",\n \"paypal\": \"PayPal\",\n \"planningcenter\": \"Planning Center\",\n \"renren\": \"人人\",\n \"salesforce\": \"Salesforce\",\n \"salesforce-community\": \"Salesforce Community\",\n \"salesforce-sandbox\": \"Salesforce (sandbox)\",\n \"shopify\": \"Shopify\",\n \"soundcloud\": \"Soundcloud\",\n \"thecity\": \"The City\",\n \"thecity-sandbox\": \"The City (sandbox)\",\n \"thirtysevensignals\": \"37 Signals\",\n \"twitter\": \"Twitter\",\n \"vkontakte\": \"vKontakte\",\n \"windowslive\": \"Microsoft Account\",\n \"wordpress\": \"Wordpress\",\n \"yahoo\": \"Yahoo!\",\n \"yammer\": \"Yammer\",\n \"yandex\": \"Yandex\",\n \"weibo\": \"新浪微博\"\n};\n\nconst { get, tget, initNS } = dataFns([\"social\"]);\n\nexport function initSocial(m, options) {\n return initNS(m, Immutable.fromJS(processSocialOptions(options)));\n}\n\nexport function displayName(connection) {\n if ([\"oauth1\", \"oauth2\"].indexOf(connection.get(\"strategy\")) !== -1) {\n return connection.get(\"name\");\n }\n return STRATEGIES[connection.get(\"strategy\")];\n}\n\nexport function processSocialOptions(options) {\n const result = {};\n const { socialButtonStyle } = options;\n\n // TODO: emit warnings\n if ([\"big\", \"small\"].indexOf(socialButtonStyle) > -1) {\n result.socialButtonStyle = socialButtonStyle;\n }\n\n return result;\n}\n\nexport function socialConnections(m) {\n return l.connections(m, \"social\");\n}\n\nexport function authButtonsTheme(m) {\n return l.ui.authButtonsTheme(m);\n}\n\nexport function useBigButtons(m, notFoundLimit) {\n const style = tget(m, \"socialButtonStyle\") || get(m, \"socialButtonStyle\");\n return style\n ? style === \"big\"\n : l.connections(m, \"social\").count() <= notFoundLimit;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/social/index.js","import React from 'react';\n\n\nexport default class InputWrap extends React.Component {\n render() {\n const { before, focused, invalidHint, isValid, name, icon } = this.props;\n let blockClassName = `auth0-lock-input-block auth0-lock-input-${name}`;\n if (!isValid) {\n blockClassName += \" auth0-lock-error\";\n }\n\n let wrapClassName = \"auth0-lock-input-wrap\";\n if (focused && isValid) {\n wrapClassName += \" auth0-lock-focused\";\n }\n\n // NOTE: Ugly hack until we upgrade to React 15 which has better\n // support for SVG.\n let iconElement = null;\n\n if (typeof icon === \"string\") {\n iconElement = <span dangerouslySetInnerHTML={{__html: icon}} />;\n } else if (icon) {\n iconElement = icon;\n }\n\n if (iconElement) {\n wrapClassName += \" auth0-lock-input-wrap-with-icon\";\n }\n\n const errorTooltip = !isValid && invalidHint\n ? <div className=\"auth0-lock-error-msg\"><span>{invalidHint}</span></div>\n : null;\n\n return (\n <div className={blockClassName}>\n {before}\n <div className={wrapClassName}>\n {iconElement}\n {this.props.children}\n </div>\n {errorTooltip}\n </div>\n );\n }\n}\n\nInputWrap.propTypes = {\n before: React.PropTypes.element,\n children: React.PropTypes.oneOfType([\n React.PropTypes.element.isRequired,\n React.PropTypes.arrayOf(React.PropTypes.element).isRequired\n ]),\n focused: React.PropTypes.bool,\n invalidHint: React.PropTypes.string,\n isValid: React.PropTypes.bool.isRequired,\n name: React.PropTypes.string.isRequired,\n svg: React.PropTypes.string\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/input/input_wrap.jsx","'use strict';\n\nmodule.exports = require('./lib/ReactDOM');\n\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/index.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar EventPluginRegistry = require('./EventPluginRegistry');\nvar EventPluginUtils = require('./EventPluginUtils');\nvar ReactErrorUtils = require('./ReactErrorUtils');\n\nvar accumulateInto = require('./accumulateInto');\nvar forEachAccumulated = require('./forEachAccumulated');\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Internal store for event listeners\n */\nvar listenerBank = {};\n\n/**\n * Internal queue of events that have accumulated their dispatches and are\n * waiting to have their dispatches executed.\n */\nvar eventQueue = null;\n\n/**\n * Dispatches an event and releases it back into the pool, unless persistent.\n *\n * @param {?object} event Synthetic event to be dispatched.\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @private\n */\nvar executeDispatchesAndRelease = function (event, simulated) {\n if (event) {\n EventPluginUtils.executeDispatchesInOrder(event, simulated);\n\n if (!event.isPersistent()) {\n event.constructor.release(event);\n }\n }\n};\nvar executeDispatchesAndReleaseSimulated = function (e) {\n return executeDispatchesAndRelease(e, true);\n};\nvar executeDispatchesAndReleaseTopLevel = function (e) {\n return executeDispatchesAndRelease(e, false);\n};\n\nvar getDictionaryKey = function (inst) {\n // Prevents V8 performance issue:\n // https://github.com/facebook/react/pull/7232\n return '.' + inst._rootNodeID;\n};\n\nfunction isInteractive(tag) {\n return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';\n}\n\nfunction shouldPreventMouseEvent(name, type, props) {\n switch (name) {\n case 'onClick':\n case 'onClickCapture':\n case 'onDoubleClick':\n case 'onDoubleClickCapture':\n case 'onMouseDown':\n case 'onMouseDownCapture':\n case 'onMouseMove':\n case 'onMouseMoveCapture':\n case 'onMouseUp':\n case 'onMouseUpCapture':\n return !!(props.disabled && isInteractive(type));\n default:\n return false;\n }\n}\n\n/**\n * This is a unified interface for event plugins to be installed and configured.\n *\n * Event plugins can implement the following properties:\n *\n * `extractEvents` {function(string, DOMEventTarget, string, object): *}\n * Required. When a top-level event is fired, this method is expected to\n * extract synthetic events that will in turn be queued and dispatched.\n *\n * `eventTypes` {object}\n * Optional, plugins that fire events must publish a mapping of registration\n * names that are used to register listeners. Values of this mapping must\n * be objects that contain `registrationName` or `phasedRegistrationNames`.\n *\n * `executeDispatch` {function(object, function, string)}\n * Optional, allows plugins to override how an event gets dispatched. By\n * default, the listener is simply invoked.\n *\n * Each plugin that is injected into `EventsPluginHub` is immediately operable.\n *\n * @public\n */\nvar EventPluginHub = {\n\n /**\n * Methods for injecting dependencies.\n */\n injection: {\n\n /**\n * @param {array} InjectedEventPluginOrder\n * @public\n */\n injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder,\n\n /**\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n */\n injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName\n\n },\n\n /**\n * Stores `listener` at `listenerBank[registrationName][key]`. Is idempotent.\n *\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @param {function} listener The callback to store.\n */\n putListener: function (inst, registrationName, listener) {\n !(typeof listener === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener) : _prodInvariant('94', registrationName, typeof listener) : void 0;\n\n var key = getDictionaryKey(inst);\n var bankForRegistrationName = listenerBank[registrationName] || (listenerBank[registrationName] = {});\n bankForRegistrationName[key] = listener;\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.didPutListener) {\n PluginModule.didPutListener(inst, registrationName, listener);\n }\n },\n\n /**\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @return {?function} The stored callback.\n */\n getListener: function (inst, registrationName) {\n // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not\n // live here; needs to be moved to a better place soon\n var bankForRegistrationName = listenerBank[registrationName];\n if (shouldPreventMouseEvent(registrationName, inst._currentElement.type, inst._currentElement.props)) {\n return null;\n }\n var key = getDictionaryKey(inst);\n return bankForRegistrationName && bankForRegistrationName[key];\n },\n\n /**\n * Deletes a listener from the registration bank.\n *\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n */\n deleteListener: function (inst, registrationName) {\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(inst, registrationName);\n }\n\n var bankForRegistrationName = listenerBank[registrationName];\n // TODO: This should never be null -- when is it?\n if (bankForRegistrationName) {\n var key = getDictionaryKey(inst);\n delete bankForRegistrationName[key];\n }\n },\n\n /**\n * Deletes all listeners for the DOM element with the supplied ID.\n *\n * @param {object} inst The instance, which is the source of events.\n */\n deleteAllListeners: function (inst) {\n var key = getDictionaryKey(inst);\n for (var registrationName in listenerBank) {\n if (!listenerBank.hasOwnProperty(registrationName)) {\n continue;\n }\n\n if (!listenerBank[registrationName][key]) {\n continue;\n }\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(inst, registrationName);\n }\n\n delete listenerBank[registrationName][key];\n }\n },\n\n /**\n * Allows registered plugins an opportunity to extract events from top-level\n * native browser events.\n *\n * @return {*} An accumulation of synthetic events.\n * @internal\n */\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var events;\n var plugins = EventPluginRegistry.plugins;\n for (var i = 0; i < plugins.length; i++) {\n // Not every plugin in the ordering may be loaded at runtime.\n var possiblePlugin = plugins[i];\n if (possiblePlugin) {\n var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n if (extractedEvents) {\n events = accumulateInto(events, extractedEvents);\n }\n }\n }\n return events;\n },\n\n /**\n * Enqueues a synthetic event that should be dispatched when\n * `processEventQueue` is invoked.\n *\n * @param {*} events An accumulation of synthetic events.\n * @internal\n */\n enqueueEvents: function (events) {\n if (events) {\n eventQueue = accumulateInto(eventQueue, events);\n }\n },\n\n /**\n * Dispatches all synthetic events on the event queue.\n *\n * @internal\n */\n processEventQueue: function (simulated) {\n // Set `eventQueue` to null before processing it so that we can tell if more\n // events get enqueued while processing.\n var processingEventQueue = eventQueue;\n eventQueue = null;\n if (simulated) {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);\n } else {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);\n }\n !!eventQueue ? process.env.NODE_ENV !== 'production' ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.') : _prodInvariant('95') : void 0;\n // This would be a good time to rethrow if any of the event handlers threw.\n ReactErrorUtils.rethrowCaughtError();\n },\n\n /**\n * These are needed for tests only. Do not use!\n */\n __purge: function () {\n listenerBank = {};\n },\n\n __getListenerBank: function () {\n return listenerBank;\n }\n\n};\n\nmodule.exports = EventPluginHub;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/EventPluginHub.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPluginHub = require('./EventPluginHub');\nvar EventPluginUtils = require('./EventPluginUtils');\n\nvar accumulateInto = require('./accumulateInto');\nvar forEachAccumulated = require('./forEachAccumulated');\nvar warning = require('fbjs/lib/warning');\n\nvar getListener = EventPluginHub.getListener;\n\n/**\n * Some event types have a notion of different registration names for different\n * \"phases\" of propagation. This finds listeners by a given phase.\n */\nfunction listenerAtPhase(inst, event, propagationPhase) {\n var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];\n return getListener(inst, registrationName);\n}\n\n/**\n * Tags a `SyntheticEvent` with dispatched listeners. Creating this function\n * here, allows us to not have to bind or create functions for each event.\n * Mutating the event's members allows us to not have to create a wrapping\n * \"dispatch\" object that pairs the event with the listener.\n */\nfunction accumulateDirectionalDispatches(inst, phase, event) {\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(inst, 'Dispatching inst must not be null') : void 0;\n }\n var listener = listenerAtPhase(inst, event, phase);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n }\n}\n\n/**\n * Collect dispatches (must be entirely collected before dispatching - see unit\n * tests). Lazily allocate the array to conserve memory. We must loop through\n * each event and perform the traversal for each one. We cannot perform a\n * single traversal for the entire collection of events because each event may\n * have a different target.\n */\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n EventPluginUtils.traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID.\n */\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n var parentInst = targetInst ? EventPluginUtils.getParentInstance(targetInst) : null;\n EventPluginUtils.traverseTwoPhase(parentInst, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Accumulates without regard to direction, does not look for phased\n * registration names. Same as `accumulateDirectDispatchesSingle` but without\n * requiring that the `dispatchMarker` be the same as the dispatched ID.\n */\nfunction accumulateDispatches(inst, ignoredDirection, event) {\n if (event && event.dispatchConfig.registrationName) {\n var registrationName = event.dispatchConfig.registrationName;\n var listener = getListener(inst, registrationName);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n }\n }\n}\n\n/**\n * Accumulates dispatches on an `SyntheticEvent`, but only for the\n * `dispatchMarker`.\n * @param {SyntheticEvent} event\n */\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n accumulateDispatches(event._targetInst, null, event);\n }\n}\n\nfunction accumulateTwoPhaseDispatches(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);\n}\n\nfunction accumulateTwoPhaseDispatchesSkipTarget(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingleSkipTarget);\n}\n\nfunction accumulateEnterLeaveDispatches(leave, enter, from, to) {\n EventPluginUtils.traverseEnterLeave(from, to, accumulateDispatches, leave, enter);\n}\n\nfunction accumulateDirectDispatches(events) {\n forEachAccumulated(events, accumulateDirectDispatchesSingle);\n}\n\n/**\n * A small set of propagation patterns, each of which will accept a small amount\n * of information, and generate a set of \"dispatch ready event objects\" - which\n * are sets of events that have already been annotated with a set of dispatched\n * listener functions/ids. The API is designed this way to discourage these\n * propagation strategies from actually executing the dispatches, since we\n * always want to collect the entire set of dispatches before executing event a\n * single one.\n *\n * @constructor EventPropagators\n */\nvar EventPropagators = {\n accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches,\n accumulateTwoPhaseDispatchesSkipTarget: accumulateTwoPhaseDispatchesSkipTarget,\n accumulateDirectDispatches: accumulateDirectDispatches,\n accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches\n};\n\nmodule.exports = EventPropagators;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/EventPropagators.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\nvar getEventTarget = require('./getEventTarget');\n\n/**\n * @interface UIEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar UIEventInterface = {\n view: function (event) {\n if (event.view) {\n return event.view;\n }\n\n var target = getEventTarget(event);\n if (target.window === target) {\n // target is a window object\n return target;\n }\n\n var doc = target.ownerDocument;\n // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n if (doc) {\n return doc.defaultView || doc.parentWindow;\n } else {\n return window;\n }\n },\n detail: function (event) {\n return event.detail || 0;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);\n\nmodule.exports = SyntheticUIEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticUIEvent.js","import { Map } from 'immutable';\nimport { dataFns } from './utils/data_utils';\nconst { get, set } = dataFns([\"sync\"]);\nimport * as l from './core/index';\n\nimport { getEntity, observe, read, swap, updateEntity } from './store/index';\n\n\nexport default (m, key, opts) => {\n if (get(m, key) !== undefined) return m;\n\n const status = opts.waitFn\n ? \"waiting\"\n : !opts.conditionFn || opts.conditionFn(m) ? \"pending\" : \"no\";\n\n return set(m, key, Map({\n conditionFn: opts.conditionFn,\n errorFn: opts.errorFn,\n recoverResult: opts.recoverResult,\n syncStatus: status,\n successFn: opts.successFn,\n syncFn: opts.syncFn,\n timeout: opts.timeout || 6000,\n waitFn: opts.waitFn\n }));\n}\n\nconst syncStatusKey = key => (\n (global.Array.isArray(key) ? key : [key]).concat([\"syncStatus\"])\n);\nconst getStatus = (m, key) => get(m, syncStatusKey(key));\nconst setStatus = (m, key, str) => set(m, syncStatusKey(key), str);\nconst getProp = (m, key, name) => get(m, key).get(name);\n\nconst findKeys = m => {\n return m.reduce((r, v, k) => {\n const current = Map.isMap(v) && v.has(\"syncStatus\") ? [k] : [];\n const nested = Map.isMap(v)\n ? findKeys(v).map(x => [k].concat(x))\n : [];\n return r.concat(current, ...[nested]);\n }, []);\n}\n\nfunction removeKeys(m, keys) {\n return keys.reduce((r, k) => r.deleteIn(syncStatusKey(k)), m);\n}\n\nconst process = (m, id) => {\n const keys = findKeys(get(m, [], Map()));\n // TODO timeout\n return keys.reduce((r, k) => {\n if (typeof getProp(r, k, \"syncFn\") != \"function\") return r;\n if (getStatus(r, k) === \"pending\") {\n r = setStatus(r, k, \"loading\");\n let called = false;\n getProp(r, k, \"syncFn\")(r, (error, result) => {\n if (called) return;\n called = true;\n setTimeout(() => {\n swap(updateEntity, \"lock\", id, m => {\n const errorFn = getProp(r, k, \"errorFn\");\n\n if (error && typeof errorFn === \"function\") {\n setTimeout(() => errorFn(m, error), 0);\n }\n\n const recoverResult = getProp(m, k, \"recoverResult\");\n\n if (error && recoverResult === undefined) {\n return handleError(m, k, error);\n } else {\n m = setStatus(m, k, \"ok\");\n return getProp(m, k, \"successFn\")(m, error ? recoverResult : result);\n }\n });\n }, 0);\n });\n } else if (getStatus(r, k) === \"waiting\") {\n if (getProp(r, k, \"waitFn\")(r)) {\n const conditionFn = getProp(r, k, \"conditionFn\");\n r = setStatus(r, k, !conditionFn || conditionFn(r) ? \"pending\" : \"no\");\n }\n }\n\n return r;\n }, m);\n}\n\nexport const go = id => {\n observe(\"sync\", id, m => {\n setTimeout(() => swap(updateEntity, \"lock\", id, process, id), 0);\n });\n}\n\nexport function isSuccess(m, key) {\n return getStatus(m, key) === \"ok\";\n}\n\nexport function isDone(m) {\n const keys = findKeys(get(m, [], Map()));\n return keys.length > 0 && keys.reduce((r, k) => r && !isLoading(m, k), true);\n}\n\nexport function hasError(m, excludeKeys = []) {\n const keys = findKeys(removeKeys(get(m, [], Map()), excludeKeys));\n return keys.length > 0 && keys.reduce((r, k) => r || getStatus(m, k) === \"error\", false);\n}\n\nfunction isLoading(m, key) {\n return [\"loading\", \"pending\", \"waiting\"].indexOf(getStatus(m, key)) > -1;\n}\n\nfunction handleError(m, key, error) {\n let result = setStatus(m, key, \"error\");\n\n // TODO: this should be configurable for each sync\n if (key !== \"sso\") {\n const stopError = new Error(\"An error ocurred when fetching data.\");\n stopError.code = \"sync\";\n stopError.origin = error;\n result = l.stop(result, stopError);\n }\n\n return result;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/sync.js","// Underscore.js 1.8.3\n// http://underscorejs.org\n// (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n// Underscore may be freely distributed under the MIT license.\n\n(function() {\n\n // Baseline setup\n // --------------\n\n // Establish the root object, `window` in the browser, or `exports` on the server.\n var root = this;\n\n // Save the previous value of the `_` variable.\n var previousUnderscore = root._;\n\n // Save bytes in the minified (but not gzipped) version:\n var ArrayProto = Array.prototype, ObjProto = Object.prototype, FuncProto = Function.prototype;\n\n // Create quick reference variables for speed access to core prototypes.\n var\n push = ArrayProto.push,\n slice = ArrayProto.slice,\n toString = ObjProto.toString,\n hasOwnProperty = ObjProto.hasOwnProperty;\n\n // All **ECMAScript 5** native function implementations that we hope to use\n // are declared here.\n var\n nativeIsArray = Array.isArray,\n nativeKeys = Object.keys,\n nativeBind = FuncProto.bind,\n nativeCreate = Object.create;\n\n // Naked function reference for surrogate-prototype-swapping.\n var Ctor = function(){};\n\n // Create a safe reference to the Underscore object for use below.\n var _ = function(obj) {\n if (obj instanceof _) return obj;\n if (!(this instanceof _)) return new _(obj);\n this._wrapped = obj;\n };\n\n // Export the Underscore object for **Node.js**, with\n // backwards-compatibility for the old `require()` API. If we're in\n // the browser, add `_` as a global object.\n if (typeof exports !== 'undefined') {\n if (typeof module !== 'undefined' && module.exports) {\n exports = module.exports = _;\n }\n exports._ = _;\n } else {\n root._ = _;\n }\n\n // Current version.\n _.VERSION = '1.8.3';\n\n // Internal function that returns an efficient (for current engines) version\n // of the passed-in callback, to be repeatedly applied in other Underscore\n // functions.\n var optimizeCb = function(func, context, argCount) {\n if (context === void 0) return func;\n switch (argCount == null ? 3 : argCount) {\n case 1: return function(value) {\n return func.call(context, value);\n };\n case 2: return function(value, other) {\n return func.call(context, value, other);\n };\n case 3: return function(value, index, collection) {\n return func.call(context, value, index, collection);\n };\n case 4: return function(accumulator, value, index, collection) {\n return func.call(context, accumulator, value, index, collection);\n };\n }\n return function() {\n return func.apply(context, arguments);\n };\n };\n\n // A mostly-internal function to generate callbacks that can be applied\n // to each element in a collection, returning the desired result — either\n // identity, an arbitrary callback, a property matcher, or a property accessor.\n var cb = function(value, context, argCount) {\n if (value == null) return _.identity;\n if (_.isFunction(value)) return optimizeCb(value, context, argCount);\n if (_.isObject(value)) return _.matcher(value);\n return _.property(value);\n };\n _.iteratee = function(value, context) {\n return cb(value, context, Infinity);\n };\n\n // An internal function for creating assigner functions.\n var createAssigner = function(keysFunc, undefinedOnly) {\n return function(obj) {\n var length = arguments.length;\n if (length < 2 || obj == null) return obj;\n for (var index = 1; index < length; index++) {\n var source = arguments[index],\n keys = keysFunc(source),\n l = keys.length;\n for (var i = 0; i < l; i++) {\n var key = keys[i];\n if (!undefinedOnly || obj[key] === void 0) obj[key] = source[key];\n }\n }\n return obj;\n };\n };\n\n // An internal function for creating a new object that inherits from another.\n var baseCreate = function(prototype) {\n if (!_.isObject(prototype)) return {};\n if (nativeCreate) return nativeCreate(prototype);\n Ctor.prototype = prototype;\n var result = new Ctor;\n Ctor.prototype = null;\n return result;\n };\n\n var property = function(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n };\n\n // Helper for collection methods to determine whether a collection\n // should be iterated as an array or as an object\n // Related: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength\n // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094\n var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;\n var getLength = property('length');\n var isArrayLike = function(collection) {\n var length = getLength(collection);\n return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX;\n };\n\n // Collection Functions\n // --------------------\n\n // The cornerstone, an `each` implementation, aka `forEach`.\n // Handles raw objects in addition to array-likes. Treats all\n // sparse array-likes as if they were dense.\n _.each = _.forEach = function(obj, iteratee, context) {\n iteratee = optimizeCb(iteratee, context);\n var i, length;\n if (isArrayLike(obj)) {\n for (i = 0, length = obj.length; i < length; i++) {\n iteratee(obj[i], i, obj);\n }\n } else {\n var keys = _.keys(obj);\n for (i = 0, length = keys.length; i < length; i++) {\n iteratee(obj[keys[i]], keys[i], obj);\n }\n }\n return obj;\n };\n\n // Return the results of applying the iteratee to each element.\n _.map = _.collect = function(obj, iteratee, context) {\n iteratee = cb(iteratee, context);\n var keys = !isArrayLike(obj) && _.keys(obj),\n length = (keys || obj).length,\n results = Array(length);\n for (var index = 0; index < length; index++) {\n var currentKey = keys ? keys[index] : index;\n results[index] = iteratee(obj[currentKey], currentKey, obj);\n }\n return results;\n };\n\n // Create a reducing function iterating left or right.\n function createReduce(dir) {\n // Optimized iterator function as using arguments.length\n // in the main function will deoptimize the, see #1991.\n function iterator(obj, iteratee, memo, keys, index, length) {\n for (; index >= 0 && index < length; index += dir) {\n var currentKey = keys ? keys[index] : index;\n memo = iteratee(memo, obj[currentKey], currentKey, obj);\n }\n return memo;\n }\n\n return function(obj, iteratee, memo, context) {\n iteratee = optimizeCb(iteratee, context, 4);\n var keys = !isArrayLike(obj) && _.keys(obj),\n length = (keys || obj).length,\n index = dir > 0 ? 0 : length - 1;\n // Determine the initial value if none is provided.\n if (arguments.length < 3) {\n memo = obj[keys ? keys[index] : index];\n index += dir;\n }\n return iterator(obj, iteratee, memo, keys, index, length);\n };\n }\n\n // **Reduce** builds up a single result from a list of values, aka `inject`,\n // or `foldl`.\n _.reduce = _.foldl = _.inject = createReduce(1);\n\n // The right-associative version of reduce, also known as `foldr`.\n _.reduceRight = _.foldr = createReduce(-1);\n\n // Return the first value which passes a truth test. Aliased as `detect`.\n _.find = _.detect = function(obj, predicate, context) {\n var key;\n if (isArrayLike(obj)) {\n key = _.findIndex(obj, predicate, context);\n } else {\n key = _.findKey(obj, predicate, context);\n }\n if (key !== void 0 && key !== -1) return obj[key];\n };\n\n // Return all the elements that pass a truth test.\n // Aliased as `select`.\n _.filter = _.select = function(obj, predicate, context) {\n var results = [];\n predicate = cb(predicate, context);\n _.each(obj, function(value, index, list) {\n if (predicate(value, index, list)) results.push(value);\n });\n return results;\n };\n\n // Return all the elements for which a truth test fails.\n _.reject = function(obj, predicate, context) {\n return _.filter(obj, _.negate(cb(predicate)), context);\n };\n\n // Determine whether all of the elements match a truth test.\n // Aliased as `all`.\n _.every = _.all = function(obj, predicate, context) {\n predicate = cb(predicate, context);\n var keys = !isArrayLike(obj) && _.keys(obj),\n length = (keys || obj).length;\n for (var index = 0; index < length; index++) {\n var currentKey = keys ? keys[index] : index;\n if (!predicate(obj[currentKey], currentKey, obj)) return false;\n }\n return true;\n };\n\n // Determine if at least one element in the object matches a truth test.\n // Aliased as `any`.\n _.some = _.any = function(obj, predicate, context) {\n predicate = cb(predicate, context);\n var keys = !isArrayLike(obj) && _.keys(obj),\n length = (keys || obj).length;\n for (var index = 0; index < length; index++) {\n var currentKey = keys ? keys[index] : index;\n if (predicate(obj[currentKey], currentKey, obj)) return true;\n }\n return false;\n };\n\n // Determine if the array or object contains a given item (using `===`).\n // Aliased as `includes` and `include`.\n _.contains = _.includes = _.include = function(obj, item, fromIndex, guard) {\n if (!isArrayLike(obj)) obj = _.values(obj);\n if (typeof fromIndex != 'number' || guard) fromIndex = 0;\n return _.indexOf(obj, item, fromIndex) >= 0;\n };\n\n // Invoke a method (with arguments) on every item in a collection.\n _.invoke = function(obj, method) {\n var args = slice.call(arguments, 2);\n var isFunc = _.isFunction(method);\n return _.map(obj, function(value) {\n var func = isFunc ? method : value[method];\n return func == null ? func : func.apply(value, args);\n });\n };\n\n // Convenience version of a common use case of `map`: fetching a property.\n _.pluck = function(obj, key) {\n return _.map(obj, _.property(key));\n };\n\n // Convenience version of a common use case of `filter`: selecting only objects\n // containing specific `key:value` pairs.\n _.where = function(obj, attrs) {\n return _.filter(obj, _.matcher(attrs));\n };\n\n // Convenience version of a common use case of `find`: getting the first object\n // containing specific `key:value` pairs.\n _.findWhere = function(obj, attrs) {\n return _.find(obj, _.matcher(attrs));\n };\n\n // Return the maximum element (or element-based computation).\n _.max = function(obj, iteratee, context) {\n var result = -Infinity, lastComputed = -Infinity,\n value, computed;\n if (iteratee == null && obj != null) {\n obj = isArrayLike(obj) ? obj : _.values(obj);\n for (var i = 0, length = obj.length; i < length; i++) {\n value = obj[i];\n if (value > result) {\n result = value;\n }\n }\n } else {\n iteratee = cb(iteratee, context);\n _.each(obj, function(value, index, list) {\n computed = iteratee(value, index, list);\n if (computed > lastComputed || computed === -Infinity && result === -Infinity) {\n result = value;\n lastComputed = computed;\n }\n });\n }\n return result;\n };\n\n // Return the minimum element (or element-based computation).\n _.min = function(obj, iteratee, context) {\n var result = Infinity, lastComputed = Infinity,\n value, computed;\n if (iteratee == null && obj != null) {\n obj = isArrayLike(obj) ? obj : _.values(obj);\n for (var i = 0, length = obj.length; i < length; i++) {\n value = obj[i];\n if (value < result) {\n result = value;\n }\n }\n } else {\n iteratee = cb(iteratee, context);\n _.each(obj, function(value, index, list) {\n computed = iteratee(value, index, list);\n if (computed < lastComputed || computed === Infinity && result === Infinity) {\n result = value;\n lastComputed = computed;\n }\n });\n }\n return result;\n };\n\n // Shuffle a collection, using the modern version of the\n // [Fisher-Yates shuffle](http://en.wikipedia.org/wiki/Fisher–Yates_shuffle).\n _.shuffle = function(obj) {\n var set = isArrayLike(obj) ? obj : _.values(obj);\n var length = set.length;\n var shuffled = Array(length);\n for (var index = 0, rand; index < length; index++) {\n rand = _.random(0, index);\n if (rand !== index) shuffled[index] = shuffled[rand];\n shuffled[rand] = set[index];\n }\n return shuffled;\n };\n\n // Sample **n** random values from a collection.\n // If **n** is not specified, returns a single random element.\n // The internal `guard` argument allows it to work with `map`.\n _.sample = function(obj, n, guard) {\n if (n == null || guard) {\n if (!isArrayLike(obj)) obj = _.values(obj);\n return obj[_.random(obj.length - 1)];\n }\n return _.shuffle(obj).slice(0, Math.max(0, n));\n };\n\n // Sort the object's values by a criterion produced by an iteratee.\n _.sortBy = function(obj, iteratee, context) {\n iteratee = cb(iteratee, context);\n return _.pluck(_.map(obj, function(value, index, list) {\n return {\n value: value,\n index: index,\n criteria: iteratee(value, index, list)\n };\n }).sort(function(left, right) {\n var a = left.criteria;\n var b = right.criteria;\n if (a !== b) {\n if (a > b || a === void 0) return 1;\n if (a < b || b === void 0) return -1;\n }\n return left.index - right.index;\n }), 'value');\n };\n\n // An internal function used for aggregate \"group by\" operations.\n var group = function(behavior) {\n return function(obj, iteratee, context) {\n var result = {};\n iteratee = cb(iteratee, context);\n _.each(obj, function(value, index) {\n var key = iteratee(value, index, obj);\n behavior(result, value, key);\n });\n return result;\n };\n };\n\n // Groups the object's values by a criterion. Pass either a string attribute\n // to group by, or a function that returns the criterion.\n _.groupBy = group(function(result, value, key) {\n if (_.has(result, key)) result[key].push(value); else result[key] = [value];\n });\n\n // Indexes the object's values by a criterion, similar to `groupBy`, but for\n // when you know that your index values will be unique.\n _.indexBy = group(function(result, value, key) {\n result[key] = value;\n });\n\n // Counts instances of an object that group by a certain criterion. Pass\n // either a string attribute to count by, or a function that returns the\n // criterion.\n _.countBy = group(function(result, value, key) {\n if (_.has(result, key)) result[key]++; else result[key] = 1;\n });\n\n // Safely create a real, live array from anything iterable.\n _.toArray = function(obj) {\n if (!obj) return [];\n if (_.isArray(obj)) return slice.call(obj);\n if (isArrayLike(obj)) return _.map(obj, _.identity);\n return _.values(obj);\n };\n\n // Return the number of elements in an object.\n _.size = function(obj) {\n if (obj == null) return 0;\n return isArrayLike(obj) ? obj.length : _.keys(obj).length;\n };\n\n // Split a collection into two arrays: one whose elements all satisfy the given\n // predicate, and one whose elements all do not satisfy the predicate.\n _.partition = function(obj, predicate, context) {\n predicate = cb(predicate, context);\n var pass = [], fail = [];\n _.each(obj, function(value, key, obj) {\n (predicate(value, key, obj) ? pass : fail).push(value);\n });\n return [pass, fail];\n };\n\n // Array Functions\n // ---------------\n\n // Get the first element of an array. Passing **n** will return the first N\n // values in the array. Aliased as `head` and `take`. The **guard** check\n // allows it to work with `_.map`.\n _.first = _.head = _.take = function(array, n, guard) {\n if (array == null) return void 0;\n if (n == null || guard) return array[0];\n return _.initial(array, array.length - n);\n };\n\n // Returns everything but the last entry of the array. Especially useful on\n // the arguments object. Passing **n** will return all the values in\n // the array, excluding the last N.\n _.initial = function(array, n, guard) {\n return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n)));\n };\n\n // Get the last element of an array. Passing **n** will return the last N\n // values in the array.\n _.last = function(array, n, guard) {\n if (array == null) return void 0;\n if (n == null || guard) return array[array.length - 1];\n return _.rest(array, Math.max(0, array.length - n));\n };\n\n // Returns everything but the first entry of the array. Aliased as `tail` and `drop`.\n // Especially useful on the arguments object. Passing an **n** will return\n // the rest N values in the array.\n _.rest = _.tail = _.drop = function(array, n, guard) {\n return slice.call(array, n == null || guard ? 1 : n);\n };\n\n // Trim out all falsy values from an array.\n _.compact = function(array) {\n return _.filter(array, _.identity);\n };\n\n // Internal implementation of a recursive `flatten` function.\n var flatten = function(input, shallow, strict, startIndex) {\n var output = [], idx = 0;\n for (var i = startIndex || 0, length = getLength(input); i < length; i++) {\n var value = input[i];\n if (isArrayLike(value) && (_.isArray(value) || _.isArguments(value))) {\n //flatten current level of array or arguments object\n if (!shallow) value = flatten(value, shallow, strict);\n var j = 0, len = value.length;\n output.length += len;\n while (j < len) {\n output[idx++] = value[j++];\n }\n } else if (!strict) {\n output[idx++] = value;\n }\n }\n return output;\n };\n\n // Flatten out an array, either recursively (by default), or just one level.\n _.flatten = function(array, shallow) {\n return flatten(array, shallow, false);\n };\n\n // Return a version of the array that does not contain the specified value(s).\n _.without = function(array) {\n return _.difference(array, slice.call(arguments, 1));\n };\n\n // Produce a duplicate-free version of the array. If the array has already\n // been sorted, you have the option of using a faster algorithm.\n // Aliased as `unique`.\n _.uniq = _.unique = function(array, isSorted, iteratee, context) {\n if (!_.isBoolean(isSorted)) {\n context = iteratee;\n iteratee = isSorted;\n isSorted = false;\n }\n if (iteratee != null) iteratee = cb(iteratee, context);\n var result = [];\n var seen = [];\n for (var i = 0, length = getLength(array); i < length; i++) {\n var value = array[i],\n computed = iteratee ? iteratee(value, i, array) : value;\n if (isSorted) {\n if (!i || seen !== computed) result.push(value);\n seen = computed;\n } else if (iteratee) {\n if (!_.contains(seen, computed)) {\n seen.push(computed);\n result.push(value);\n }\n } else if (!_.contains(result, value)) {\n result.push(value);\n }\n }\n return result;\n };\n\n // Produce an array that contains the union: each distinct element from all of\n // the passed-in arrays.\n _.union = function() {\n return _.uniq(flatten(arguments, true, true));\n };\n\n // Produce an array that contains every item shared between all the\n // passed-in arrays.\n _.intersection = function(array) {\n var result = [];\n var argsLength = arguments.length;\n for (var i = 0, length = getLength(array); i < length; i++) {\n var item = array[i];\n if (_.contains(result, item)) continue;\n for (var j = 1; j < argsLength; j++) {\n if (!_.contains(arguments[j], item)) break;\n }\n if (j === argsLength) result.push(item);\n }\n return result;\n };\n\n // Take the difference between one array and a number of other arrays.\n // Only the elements present in just the first array will remain.\n _.difference = function(array) {\n var rest = flatten(arguments, true, true, 1);\n return _.filter(array, function(value){\n return !_.contains(rest, value);\n });\n };\n\n // Zip together multiple lists into a single array -- elements that share\n // an index go together.\n _.zip = function() {\n return _.unzip(arguments);\n };\n\n // Complement of _.zip. Unzip accepts an array of arrays and groups\n // each array's elements on shared indices\n _.unzip = function(array) {\n var length = array && _.max(array, getLength).length || 0;\n var result = Array(length);\n\n for (var index = 0; index < length; index++) {\n result[index] = _.pluck(array, index);\n }\n return result;\n };\n\n // Converts lists into objects. Pass either a single array of `[key, value]`\n // pairs, or two parallel arrays of the same length -- one of keys, and one of\n // the corresponding values.\n _.object = function(list, values) {\n var result = {};\n for (var i = 0, length = getLength(list); i < length; i++) {\n if (values) {\n result[list[i]] = values[i];\n } else {\n result[list[i][0]] = list[i][1];\n }\n }\n return result;\n };\n\n // Generator function to create the findIndex and findLastIndex functions\n function createPredicateIndexFinder(dir) {\n return function(array, predicate, context) {\n predicate = cb(predicate, context);\n var length = getLength(array);\n var index = dir > 0 ? 0 : length - 1;\n for (; index >= 0 && index < length; index += dir) {\n if (predicate(array[index], index, array)) return index;\n }\n return -1;\n };\n }\n\n // Returns the first index on an array-like that passes a predicate test\n _.findIndex = createPredicateIndexFinder(1);\n _.findLastIndex = createPredicateIndexFinder(-1);\n\n // Use a comparator function to figure out the smallest index at which\n // an object should be inserted so as to maintain order. Uses binary search.\n _.sortedIndex = function(array, obj, iteratee, context) {\n iteratee = cb(iteratee, context, 1);\n var value = iteratee(obj);\n var low = 0, high = getLength(array);\n while (low < high) {\n var mid = Math.floor((low + high) / 2);\n if (iteratee(array[mid]) < value) low = mid + 1; else high = mid;\n }\n return low;\n };\n\n // Generator function to create the indexOf and lastIndexOf functions\n function createIndexFinder(dir, predicateFind, sortedIndex) {\n return function(array, item, idx) {\n var i = 0, length = getLength(array);\n if (typeof idx == 'number') {\n if (dir > 0) {\n i = idx >= 0 ? idx : Math.max(idx + length, i);\n } else {\n length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;\n }\n } else if (sortedIndex && idx && length) {\n idx = sortedIndex(array, item);\n return array[idx] === item ? idx : -1;\n }\n if (item !== item) {\n idx = predicateFind(slice.call(array, i, length), _.isNaN);\n return idx >= 0 ? idx + i : -1;\n }\n for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {\n if (array[idx] === item) return idx;\n }\n return -1;\n };\n }\n\n // Return the position of the first occurrence of an item in an array,\n // or -1 if the item is not included in the array.\n // If the array is large and already in sort order, pass `true`\n // for **isSorted** to use binary search.\n _.indexOf = createIndexFinder(1, _.findIndex, _.sortedIndex);\n _.lastIndexOf = createIndexFinder(-1, _.findLastIndex);\n\n // Generate an integer Array containing an arithmetic progression. A port of\n // the native Python `range()` function. See\n // [the Python documentation](http://docs.python.org/library/functions.html#range).\n _.range = function(start, stop, step) {\n if (stop == null) {\n stop = start || 0;\n start = 0;\n }\n step = step || 1;\n\n var length = Math.max(Math.ceil((stop - start) / step), 0);\n var range = Array(length);\n\n for (var idx = 0; idx < length; idx++, start += step) {\n range[idx] = start;\n }\n\n return range;\n };\n\n // Function (ahem) Functions\n // ------------------\n\n // Determines whether to execute a function as a constructor\n // or a normal function with the provided arguments\n var executeBound = function(sourceFunc, boundFunc, context, callingContext, args) {\n if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args);\n var self = baseCreate(sourceFunc.prototype);\n var result = sourceFunc.apply(self, args);\n if (_.isObject(result)) return result;\n return self;\n };\n\n // Create a function bound to a given object (assigning `this`, and arguments,\n // optionally). Delegates to **ECMAScript 5**'s native `Function.bind` if\n // available.\n _.bind = function(func, context) {\n if (nativeBind && func.bind === nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));\n if (!_.isFunction(func)) throw new TypeError('Bind must be called on a function');\n var args = slice.call(arguments, 2);\n var bound = function() {\n return executeBound(func, bound, context, this, args.concat(slice.call(arguments)));\n };\n return bound;\n };\n\n // Partially apply a function by creating a version that has had some of its\n // arguments pre-filled, without changing its dynamic `this` context. _ acts\n // as a placeholder, allowing any combination of arguments to be pre-filled.\n _.partial = function(func) {\n var boundArgs = slice.call(arguments, 1);\n var bound = function() {\n var position = 0, length = boundArgs.length;\n var args = Array(length);\n for (var i = 0; i < length; i++) {\n args[i] = boundArgs[i] === _ ? arguments[position++] : boundArgs[i];\n }\n while (position < arguments.length) args.push(arguments[position++]);\n return executeBound(func, bound, this, this, args);\n };\n return bound;\n };\n\n // Bind a number of an object's methods to that object. Remaining arguments\n // are the method names to be bound. Useful for ensuring that all callbacks\n // defined on an object belong to it.\n _.bindAll = function(obj) {\n var i, length = arguments.length, key;\n if (length <= 1) throw new Error('bindAll must be passed function names');\n for (i = 1; i < length; i++) {\n key = arguments[i];\n obj[key] = _.bind(obj[key], obj);\n }\n return obj;\n };\n\n // Memoize an expensive function by storing its results.\n _.memoize = function(func, hasher) {\n var memoize = function(key) {\n var cache = memoize.cache;\n var address = '' + (hasher ? hasher.apply(this, arguments) : key);\n if (!_.has(cache, address)) cache[address] = func.apply(this, arguments);\n return cache[address];\n };\n memoize.cache = {};\n return memoize;\n };\n\n // Delays a function for the given number of milliseconds, and then calls\n // it with the arguments supplied.\n _.delay = function(func, wait) {\n var args = slice.call(arguments, 2);\n return setTimeout(function(){\n return func.apply(null, args);\n }, wait);\n };\n\n // Defers a function, scheduling it to run after the current call stack has\n // cleared.\n _.defer = _.partial(_.delay, _, 1);\n\n // Returns a function, that, when invoked, will only be triggered at most once\n // during a given window of time. Normally, the throttled function will run\n // as much as it can, without ever going more than once per `wait` duration;\n // but if you'd like to disable the execution on the leading edge, pass\n // `{leading: false}`. To disable execution on the trailing edge, ditto.\n _.throttle = function(func, wait, options) {\n var context, args, result;\n var timeout = null;\n var previous = 0;\n if (!options) options = {};\n var later = function() {\n previous = options.leading === false ? 0 : _.now();\n timeout = null;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n };\n return function() {\n var now = _.now();\n if (!previous && options.leading === false) previous = now;\n var remaining = wait - (now - previous);\n context = this;\n args = arguments;\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n previous = now;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n } else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n return result;\n };\n };\n\n // Returns a function, that, as long as it continues to be invoked, will not\n // be triggered. The function will be called after it stops being called for\n // N milliseconds. If `immediate` is passed, trigger the function on the\n // leading edge, instead of the trailing.\n _.debounce = function(func, wait, immediate) {\n var timeout, args, context, timestamp, result;\n\n var later = function() {\n var last = _.now() - timestamp;\n\n if (last < wait && last >= 0) {\n timeout = setTimeout(later, wait - last);\n } else {\n timeout = null;\n if (!immediate) {\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n }\n }\n };\n\n return function() {\n context = this;\n args = arguments;\n timestamp = _.now();\n var callNow = immediate && !timeout;\n if (!timeout) timeout = setTimeout(later, wait);\n if (callNow) {\n result = func.apply(context, args);\n context = args = null;\n }\n\n return result;\n };\n };\n\n // Returns the first function passed as an argument to the second,\n // allowing you to adjust arguments, run code before and after, and\n // conditionally execute the original function.\n _.wrap = function(func, wrapper) {\n return _.partial(wrapper, func);\n };\n\n // Returns a negated version of the passed-in predicate.\n _.negate = function(predicate) {\n return function() {\n return !predicate.apply(this, arguments);\n };\n };\n\n // Returns a function that is the composition of a list of functions, each\n // consuming the return value of the function that follows.\n _.compose = function() {\n var args = arguments;\n var start = args.length - 1;\n return function() {\n var i = start;\n var result = args[start].apply(this, arguments);\n while (i--) result = args[i].call(this, result);\n return result;\n };\n };\n\n // Returns a function that will only be executed on and after the Nth call.\n _.after = function(times, func) {\n return function() {\n if (--times < 1) {\n return func.apply(this, arguments);\n }\n };\n };\n\n // Returns a function that will only be executed up to (but not including) the Nth call.\n _.before = function(times, func) {\n var memo;\n return function() {\n if (--times > 0) {\n memo = func.apply(this, arguments);\n }\n if (times <= 1) func = null;\n return memo;\n };\n };\n\n // Returns a function that will be executed at most one time, no matter how\n // often you call it. Useful for lazy initialization.\n _.once = _.partial(_.before, 2);\n\n // Object Functions\n // ----------------\n\n // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed.\n var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString');\n var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString',\n 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];\n\n function collectNonEnumProps(obj, keys) {\n var nonEnumIdx = nonEnumerableProps.length;\n var constructor = obj.constructor;\n var proto = (_.isFunction(constructor) && constructor.prototype) || ObjProto;\n\n // Constructor is a special case.\n var prop = 'constructor';\n if (_.has(obj, prop) && !_.contains(keys, prop)) keys.push(prop);\n\n while (nonEnumIdx--) {\n prop = nonEnumerableProps[nonEnumIdx];\n if (prop in obj && obj[prop] !== proto[prop] && !_.contains(keys, prop)) {\n keys.push(prop);\n }\n }\n }\n\n // Retrieve the names of an object's own properties.\n // Delegates to **ECMAScript 5**'s native `Object.keys`\n _.keys = function(obj) {\n if (!_.isObject(obj)) return [];\n if (nativeKeys) return nativeKeys(obj);\n var keys = [];\n for (var key in obj) if (_.has(obj, key)) keys.push(key);\n // Ahem, IE < 9.\n if (hasEnumBug) collectNonEnumProps(obj, keys);\n return keys;\n };\n\n // Retrieve all the property names of an object.\n _.allKeys = function(obj) {\n if (!_.isObject(obj)) return [];\n var keys = [];\n for (var key in obj) keys.push(key);\n // Ahem, IE < 9.\n if (hasEnumBug) collectNonEnumProps(obj, keys);\n return keys;\n };\n\n // Retrieve the values of an object's properties.\n _.values = function(obj) {\n var keys = _.keys(obj);\n var length = keys.length;\n var values = Array(length);\n for (var i = 0; i < length; i++) {\n values[i] = obj[keys[i]];\n }\n return values;\n };\n\n // Returns the results of applying the iteratee to each element of the object\n // In contrast to _.map it returns an object\n _.mapObject = function(obj, iteratee, context) {\n iteratee = cb(iteratee, context);\n var keys = _.keys(obj),\n length = keys.length,\n results = {},\n currentKey;\n for (var index = 0; index < length; index++) {\n currentKey = keys[index];\n results[currentKey] = iteratee(obj[currentKey], currentKey, obj);\n }\n return results;\n };\n\n // Convert an object into a list of `[key, value]` pairs.\n _.pairs = function(obj) {\n var keys = _.keys(obj);\n var length = keys.length;\n var pairs = Array(length);\n for (var i = 0; i < length; i++) {\n pairs[i] = [keys[i], obj[keys[i]]];\n }\n return pairs;\n };\n\n // Invert the keys and values of an object. The values must be serializable.\n _.invert = function(obj) {\n var result = {};\n var keys = _.keys(obj);\n for (var i = 0, length = keys.length; i < length; i++) {\n result[obj[keys[i]]] = keys[i];\n }\n return result;\n };\n\n // Return a sorted list of the function names available on the object.\n // Aliased as `methods`\n _.functions = _.methods = function(obj) {\n var names = [];\n for (var key in obj) {\n if (_.isFunction(obj[key])) names.push(key);\n }\n return names.sort();\n };\n\n // Extend a given object with all the properties in passed-in object(s).\n _.extend = createAssigner(_.allKeys);\n\n // Assigns a given object with all the own properties in the passed-in object(s)\n // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)\n _.extendOwn = _.assign = createAssigner(_.keys);\n\n // Returns the first key on an object that passes a predicate test\n _.findKey = function(obj, predicate, context) {\n predicate = cb(predicate, context);\n var keys = _.keys(obj), key;\n for (var i = 0, length = keys.length; i < length; i++) {\n key = keys[i];\n if (predicate(obj[key], key, obj)) return key;\n }\n };\n\n // Return a copy of the object only containing the whitelisted properties.\n _.pick = function(object, oiteratee, context) {\n var result = {}, obj = object, iteratee, keys;\n if (obj == null) return result;\n if (_.isFunction(oiteratee)) {\n keys = _.allKeys(obj);\n iteratee = optimizeCb(oiteratee, context);\n } else {\n keys = flatten(arguments, false, false, 1);\n iteratee = function(value, key, obj) { return key in obj; };\n obj = Object(obj);\n }\n for (var i = 0, length = keys.length; i < length; i++) {\n var key = keys[i];\n var value = obj[key];\n if (iteratee(value, key, obj)) result[key] = value;\n }\n return result;\n };\n\n // Return a copy of the object without the blacklisted properties.\n _.omit = function(obj, iteratee, context) {\n if (_.isFunction(iteratee)) {\n iteratee = _.negate(iteratee);\n } else {\n var keys = _.map(flatten(arguments, false, false, 1), String);\n iteratee = function(value, key) {\n return !_.contains(keys, key);\n };\n }\n return _.pick(obj, iteratee, context);\n };\n\n // Fill in a given object with default properties.\n _.defaults = createAssigner(_.allKeys, true);\n\n // Creates an object that inherits from the given prototype object.\n // If additional properties are provided then they will be added to the\n // created object.\n _.create = function(prototype, props) {\n var result = baseCreate(prototype);\n if (props) _.extendOwn(result, props);\n return result;\n };\n\n // Create a (shallow-cloned) duplicate of an object.\n _.clone = function(obj) {\n if (!_.isObject(obj)) return obj;\n return _.isArray(obj) ? obj.slice() : _.extend({}, obj);\n };\n\n // Invokes interceptor with the obj, and then returns obj.\n // The primary purpose of this method is to \"tap into\" a method chain, in\n // order to perform operations on intermediate results within the chain.\n _.tap = function(obj, interceptor) {\n interceptor(obj);\n return obj;\n };\n\n // Returns whether an object has a given set of `key:value` pairs.\n _.isMatch = function(object, attrs) {\n var keys = _.keys(attrs), length = keys.length;\n if (object == null) return !length;\n var obj = Object(object);\n for (var i = 0; i < length; i++) {\n var key = keys[i];\n if (attrs[key] !== obj[key] || !(key in obj)) return false;\n }\n return true;\n };\n\n\n // Internal recursive comparison function for `isEqual`.\n var eq = function(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b) return a !== 0 || 1 / a === 1 / b;\n // A strict comparison is necessary because `null == undefined`.\n if (a == null || b == null) return a === b;\n // Unwrap any wrapped objects.\n if (a instanceof _) a = a._wrapped;\n if (b instanceof _) b = b._wrapped;\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b)) return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case '[object RegExp]':\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case '[object String]':\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return '' + a === '' + b;\n case '[object Number]':\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN\n if (+a !== +a) return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case '[object Date]':\n case '[object Boolean]':\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n }\n\n var areArrays = className === '[object Array]';\n if (!areArrays) {\n if (typeof a != 'object' || typeof b != 'object') return false;\n\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor, bCtor = b.constructor;\n if (aCtor !== bCtor && !(_.isFunction(aCtor) && aCtor instanceof aCtor &&\n _.isFunction(bCtor) && bCtor instanceof bCtor)\n && ('constructor' in a && 'constructor' in b)) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a) return bStack[length] === b;\n }\n\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length) return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack)) return false;\n }\n } else {\n // Deep compare objects.\n var keys = _.keys(a), key;\n length = keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (_.keys(b).length !== length) return false;\n while (length--) {\n // Deep compare each member\n key = keys[length];\n if (!(_.has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n };\n\n // Perform a deep comparison to check if two objects are equal.\n _.isEqual = function(a, b) {\n return eq(a, b);\n };\n\n // Is a given array, string, or object empty?\n // An \"empty\" object has no enumerable own-properties.\n _.isEmpty = function(obj) {\n if (obj == null) return true;\n if (isArrayLike(obj) && (_.isArray(obj) || _.isString(obj) || _.isArguments(obj))) return obj.length === 0;\n return _.keys(obj).length === 0;\n };\n\n // Is a given value a DOM element?\n _.isElement = function(obj) {\n return !!(obj && obj.nodeType === 1);\n };\n\n // Is a given value an array?\n // Delegates to ECMA5's native Array.isArray\n _.isArray = nativeIsArray || function(obj) {\n return toString.call(obj) === '[object Array]';\n };\n\n // Is a given variable an object?\n _.isObject = function(obj) {\n var type = typeof obj;\n return type === 'function' || type === 'object' && !!obj;\n };\n\n // Add some isType methods: isArguments, isFunction, isString, isNumber, isDate, isRegExp, isError.\n _.each(['Arguments', 'Function', 'String', 'Number', 'Date', 'RegExp', 'Error'], function(name) {\n _['is' + name] = function(obj) {\n return toString.call(obj) === '[object ' + name + ']';\n };\n });\n\n // Define a fallback version of the method in browsers (ahem, IE < 9), where\n // there isn't any inspectable \"Arguments\" type.\n if (!_.isArguments(arguments)) {\n _.isArguments = function(obj) {\n return _.has(obj, 'callee');\n };\n }\n\n // Optimize `isFunction` if appropriate. Work around some typeof bugs in old v8,\n // IE 11 (#1621), and in Safari 8 (#1929).\n if (typeof /./ != 'function' && typeof Int8Array != 'object') {\n _.isFunction = function(obj) {\n return typeof obj == 'function' || false;\n };\n }\n\n // Is a given object a finite number?\n _.isFinite = function(obj) {\n return isFinite(obj) && !isNaN(parseFloat(obj));\n };\n\n // Is the given value `NaN`? (NaN is the only number which does not equal itself).\n _.isNaN = function(obj) {\n return _.isNumber(obj) && obj !== +obj;\n };\n\n // Is a given value a boolean?\n _.isBoolean = function(obj) {\n return obj === true || obj === false || toString.call(obj) === '[object Boolean]';\n };\n\n // Is a given value equal to null?\n _.isNull = function(obj) {\n return obj === null;\n };\n\n // Is a given variable undefined?\n _.isUndefined = function(obj) {\n return obj === void 0;\n };\n\n // Shortcut function for checking if an object has a given property directly\n // on itself (in other words, not on a prototype).\n _.has = function(obj, key) {\n return obj != null && hasOwnProperty.call(obj, key);\n };\n\n // Utility Functions\n // -----------------\n\n // Run Underscore.js in *noConflict* mode, returning the `_` variable to its\n // previous owner. Returns a reference to the Underscore object.\n _.noConflict = function() {\n root._ = previousUnderscore;\n return this;\n };\n\n // Keep the identity function around for default iteratees.\n _.identity = function(value) {\n return value;\n };\n\n // Predicate-generating functions. Often useful outside of Underscore.\n _.constant = function(value) {\n return function() {\n return value;\n };\n };\n\n _.noop = function(){};\n\n _.property = property;\n\n // Generates a function for a given object that returns a given property.\n _.propertyOf = function(obj) {\n return obj == null ? function(){} : function(key) {\n return obj[key];\n };\n };\n\n // Returns a predicate for checking whether an object has a given set of\n // `key:value` pairs.\n _.matcher = _.matches = function(attrs) {\n attrs = _.extendOwn({}, attrs);\n return function(obj) {\n return _.isMatch(obj, attrs);\n };\n };\n\n // Run a function **n** times.\n _.times = function(n, iteratee, context) {\n var accum = Array(Math.max(0, n));\n iteratee = optimizeCb(iteratee, context, 1);\n for (var i = 0; i < n; i++) accum[i] = iteratee(i);\n return accum;\n };\n\n // Return a random integer between min and max (inclusive).\n _.random = function(min, max) {\n if (max == null) {\n max = min;\n min = 0;\n }\n return min + Math.floor(Math.random() * (max - min + 1));\n };\n\n // A (possibly faster) way to get the current timestamp as an integer.\n _.now = Date.now || function() {\n return new Date().getTime();\n };\n\n // List of HTML entities for escaping.\n var escapeMap = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '`': '`'\n };\n var unescapeMap = _.invert(escapeMap);\n\n // Functions for escaping and unescaping strings to/from HTML interpolation.\n var createEscaper = function(map) {\n var escaper = function(match) {\n return map[match];\n };\n // Regexes for identifying a key that needs to be escaped\n var source = '(?:' + _.keys(map).join('|') + ')';\n var testRegexp = RegExp(source);\n var replaceRegexp = RegExp(source, 'g');\n return function(string) {\n string = string == null ? '' : '' + string;\n return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;\n };\n };\n _.escape = createEscaper(escapeMap);\n _.unescape = createEscaper(unescapeMap);\n\n // If the value of the named `property` is a function then invoke it with the\n // `object` as context; otherwise, return it.\n _.result = function(object, property, fallback) {\n var value = object == null ? void 0 : object[property];\n if (value === void 0) {\n value = fallback;\n }\n return _.isFunction(value) ? value.call(object) : value;\n };\n\n // Generate a unique integer id (unique within the entire client session).\n // Useful for temporary DOM ids.\n var idCounter = 0;\n _.uniqueId = function(prefix) {\n var id = ++idCounter + '';\n return prefix ? prefix + id : id;\n };\n\n // By default, Underscore uses ERB-style template delimiters, change the\n // following template settings to use alternative delimiters.\n _.templateSettings = {\n evaluate : /<%([\\s\\S]+?)%>/g,\n interpolate : /<%=([\\s\\S]+?)%>/g,\n escape : /<%-([\\s\\S]+?)%>/g\n };\n\n // When customizing `templateSettings`, if you don't want to define an\n // interpolation, evaluation or escaping regex, we need one that is\n // guaranteed not to match.\n var noMatch = /(.)^/;\n\n // Certain characters need to be escaped so that they can be put into a\n // string literal.\n var escapes = {\n \"'\": \"'\",\n '\\\\': '\\\\',\n '\\r': 'r',\n '\\n': 'n',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n var escaper = /\\\\|'|\\r|\\n|\\u2028|\\u2029/g;\n\n var escapeChar = function(match) {\n return '\\\\' + escapes[match];\n };\n\n // JavaScript micro-templating, similar to John Resig's implementation.\n // Underscore templating handles arbitrary delimiters, preserves whitespace,\n // and correctly escapes quotes within interpolated code.\n // NB: `oldSettings` only exists for backwards compatibility.\n _.template = function(text, settings, oldSettings) {\n if (!settings && oldSettings) settings = oldSettings;\n settings = _.defaults({}, settings, _.templateSettings);\n\n // Combine delimiters into one regular expression via alternation.\n var matcher = RegExp([\n (settings.escape || noMatch).source,\n (settings.interpolate || noMatch).source,\n (settings.evaluate || noMatch).source\n ].join('|') + '|$', 'g');\n\n // Compile the template source, escaping string literals appropriately.\n var index = 0;\n var source = \"__p+='\";\n text.replace(matcher, function(match, escape, interpolate, evaluate, offset) {\n source += text.slice(index, offset).replace(escaper, escapeChar);\n index = offset + match.length;\n\n if (escape) {\n source += \"'+\\n((__t=(\" + escape + \"))==null?'':_.escape(__t))+\\n'\";\n } else if (interpolate) {\n source += \"'+\\n((__t=(\" + interpolate + \"))==null?'':__t)+\\n'\";\n } else if (evaluate) {\n source += \"';\\n\" + evaluate + \"\\n__p+='\";\n }\n\n // Adobe VMs need the match returned to produce the correct offest.\n return match;\n });\n source += \"';\\n\";\n\n // If a variable is not specified, place data values in local scope.\n if (!settings.variable) source = 'with(obj||{}){\\n' + source + '}\\n';\n\n source = \"var __t,__p='',__j=Array.prototype.join,\" +\n \"print=function(){__p+=__j.call(arguments,'');};\\n\" +\n source + 'return __p;\\n';\n\n try {\n var render = new Function(settings.variable || 'obj', '_', source);\n } catch (e) {\n e.source = source;\n throw e;\n }\n\n var template = function(data) {\n return render.call(this, data, _);\n };\n\n // Provide the compiled source as a convenience for precompilation.\n var argument = settings.variable || 'obj';\n template.source = 'function(' + argument + '){\\n' + source + '}';\n\n return template;\n };\n\n // Add a \"chain\" function. Start chaining a wrapped Underscore object.\n _.chain = function(obj) {\n var instance = _(obj);\n instance._chain = true;\n return instance;\n };\n\n // OOP\n // ---------------\n // If Underscore is called as a function, it returns a wrapped object that\n // can be used OO-style. This wrapper holds altered versions of all the\n // underscore functions. Wrapped objects may be chained.\n\n // Helper function to continue chaining intermediate results.\n var result = function(instance, obj) {\n return instance._chain ? _(obj).chain() : obj;\n };\n\n // Add your own custom functions to the Underscore object.\n _.mixin = function(obj) {\n _.each(_.functions(obj), function(name) {\n var func = _[name] = obj[name];\n _.prototype[name] = function() {\n var args = [this._wrapped];\n push.apply(args, arguments);\n return result(this, func.apply(_, args));\n };\n });\n };\n\n // Add all of the Underscore functions to the wrapper object.\n _.mixin(_);\n\n // Add all mutator Array functions to the wrapper.\n _.each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) {\n var method = ArrayProto[name];\n _.prototype[name] = function() {\n var obj = this._wrapped;\n method.apply(obj, arguments);\n if ((name === 'shift' || name === 'splice') && obj.length === 0) delete obj[0];\n return result(this, obj);\n };\n });\n\n // Add all accessor Array functions to the wrapper.\n _.each(['concat', 'join', 'slice'], function(name) {\n var method = ArrayProto[name];\n _.prototype[name] = function() {\n return result(this, method.apply(this._wrapped, arguments));\n };\n });\n\n // Extracts the result from a wrapped and chained object.\n _.prototype.value = function() {\n return this._wrapped;\n };\n\n // Provide unwrapping proxy for some methods used in engine operations\n // such as arithmetic and JSON stringification.\n _.prototype.valueOf = _.prototype.toJSON = _.prototype.value;\n\n _.prototype.toString = function() {\n return '' + this._wrapped;\n };\n\n // AMD registration happens at the end for compatibility with AMD loaders\n // that may not enforce next-turn semantics on modules. Even though general\n // practice for AMD registration is to be anonymous, underscore registers\n // as a named module because, like jQuery, it is a base library that is\n // popular enough to be bundled in a third party lib, but not be part of\n // an AMD load request. Those cases could generate an error when an\n // anonymous define() is called outside of a loader request.\n if (typeof define === 'function' && define.amd) {\n define('underscore', [], function() {\n return _;\n });\n }\n}.call(this));\n\n\n\n// WEBPACK FOOTER //\n// ./~/password-sheriff/~/underscore/underscore.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar EventPluginRegistry = require('./EventPluginRegistry');\nvar ReactEventEmitterMixin = require('./ReactEventEmitterMixin');\nvar ViewportMetrics = require('./ViewportMetrics');\n\nvar getVendorPrefixedEventName = require('./getVendorPrefixedEventName');\nvar isEventSupported = require('./isEventSupported');\n\n/**\n * Summary of `ReactBrowserEventEmitter` event handling:\n *\n * - Top-level delegation is used to trap most native browser events. This\n * may only occur in the main thread and is the responsibility of\n * ReactEventListener, which is injected and can therefore support pluggable\n * event sources. This is the only work that occurs in the main thread.\n *\n * - We normalize and de-duplicate events to account for browser quirks. This\n * may be done in the worker thread.\n *\n * - Forward these native events (with the associated top-level type used to\n * trap it) to `EventPluginHub`, which in turn will ask plugins if they want\n * to extract any synthetic events.\n *\n * - The `EventPluginHub` will then process each event by annotating them with\n * \"dispatches\", a sequence of listeners and IDs that care about that event.\n *\n * - The `EventPluginHub` then dispatches the events.\n *\n * Overview of React and the event system:\n *\n * +------------+ .\n * | DOM | .\n * +------------+ .\n * | .\n * v .\n * +------------+ .\n * | ReactEvent | .\n * | Listener | .\n * +------------+ . +-----------+\n * | . +--------+|SimpleEvent|\n * | . | |Plugin |\n * +-----|------+ . v +-----------+\n * | | | . +--------------+ +------------+\n * | +-----------.--->|EventPluginHub| | Event |\n * | | . | | +-----------+ | Propagators|\n * | ReactEvent | . | | |TapEvent | |------------|\n * | Emitter | . | |<---+|Plugin | |other plugin|\n * | | . | | +-----------+ | utilities |\n * | +-----------.--->| | +------------+\n * | | | . +--------------+\n * +-----|------+ . ^ +-----------+\n * | . | |Enter/Leave|\n * + . +-------+|Plugin |\n * +-------------+ . +-----------+\n * | application | .\n * |-------------| .\n * | | .\n * | | .\n * +-------------+ .\n * .\n * React Core . General Purpose Event Plugin System\n */\n\nvar hasEventPageXY;\nvar alreadyListeningTo = {};\nvar isMonitoringScrollValue = false;\nvar reactTopListenersCounter = 0;\n\n// For events like 'submit' which don't consistently bubble (which we trap at a\n// lower node than `document`), binding at `document` would cause duplicate\n// events so we don't include them here\nvar topEventMapping = {\n topAbort: 'abort',\n topAnimationEnd: getVendorPrefixedEventName('animationend') || 'animationend',\n topAnimationIteration: getVendorPrefixedEventName('animationiteration') || 'animationiteration',\n topAnimationStart: getVendorPrefixedEventName('animationstart') || 'animationstart',\n topBlur: 'blur',\n topCanPlay: 'canplay',\n topCanPlayThrough: 'canplaythrough',\n topChange: 'change',\n topClick: 'click',\n topCompositionEnd: 'compositionend',\n topCompositionStart: 'compositionstart',\n topCompositionUpdate: 'compositionupdate',\n topContextMenu: 'contextmenu',\n topCopy: 'copy',\n topCut: 'cut',\n topDoubleClick: 'dblclick',\n topDrag: 'drag',\n topDragEnd: 'dragend',\n topDragEnter: 'dragenter',\n topDragExit: 'dragexit',\n topDragLeave: 'dragleave',\n topDragOver: 'dragover',\n topDragStart: 'dragstart',\n topDrop: 'drop',\n topDurationChange: 'durationchange',\n topEmptied: 'emptied',\n topEncrypted: 'encrypted',\n topEnded: 'ended',\n topError: 'error',\n topFocus: 'focus',\n topInput: 'input',\n topKeyDown: 'keydown',\n topKeyPress: 'keypress',\n topKeyUp: 'keyup',\n topLoadedData: 'loadeddata',\n topLoadedMetadata: 'loadedmetadata',\n topLoadStart: 'loadstart',\n topMouseDown: 'mousedown',\n topMouseMove: 'mousemove',\n topMouseOut: 'mouseout',\n topMouseOver: 'mouseover',\n topMouseUp: 'mouseup',\n topPaste: 'paste',\n topPause: 'pause',\n topPlay: 'play',\n topPlaying: 'playing',\n topProgress: 'progress',\n topRateChange: 'ratechange',\n topScroll: 'scroll',\n topSeeked: 'seeked',\n topSeeking: 'seeking',\n topSelectionChange: 'selectionchange',\n topStalled: 'stalled',\n topSuspend: 'suspend',\n topTextInput: 'textInput',\n topTimeUpdate: 'timeupdate',\n topTouchCancel: 'touchcancel',\n topTouchEnd: 'touchend',\n topTouchMove: 'touchmove',\n topTouchStart: 'touchstart',\n topTransitionEnd: getVendorPrefixedEventName('transitionend') || 'transitionend',\n topVolumeChange: 'volumechange',\n topWaiting: 'waiting',\n topWheel: 'wheel'\n};\n\n/**\n * To ensure no conflicts with other potential React instances on the page\n */\nvar topListenersIDKey = '_reactListenersID' + String(Math.random()).slice(2);\n\nfunction getListeningForDocument(mountAt) {\n // In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty`\n // directly.\n if (!Object.prototype.hasOwnProperty.call(mountAt, topListenersIDKey)) {\n mountAt[topListenersIDKey] = reactTopListenersCounter++;\n alreadyListeningTo[mountAt[topListenersIDKey]] = {};\n }\n return alreadyListeningTo[mountAt[topListenersIDKey]];\n}\n\n/**\n * `ReactBrowserEventEmitter` is used to attach top-level event listeners. For\n * example:\n *\n * EventPluginHub.putListener('myID', 'onClick', myFunction);\n *\n * This would allocate a \"registration\" of `('onClick', myFunction)` on 'myID'.\n *\n * @internal\n */\nvar ReactBrowserEventEmitter = _assign({}, ReactEventEmitterMixin, {\n\n /**\n * Injectable event backend\n */\n ReactEventListener: null,\n\n injection: {\n /**\n * @param {object} ReactEventListener\n */\n injectReactEventListener: function (ReactEventListener) {\n ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel);\n ReactBrowserEventEmitter.ReactEventListener = ReactEventListener;\n }\n },\n\n /**\n * Sets whether or not any created callbacks should be enabled.\n *\n * @param {boolean} enabled True if callbacks should be enabled.\n */\n setEnabled: function (enabled) {\n if (ReactBrowserEventEmitter.ReactEventListener) {\n ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled);\n }\n },\n\n /**\n * @return {boolean} True if callbacks are enabled.\n */\n isEnabled: function () {\n return !!(ReactBrowserEventEmitter.ReactEventListener && ReactBrowserEventEmitter.ReactEventListener.isEnabled());\n },\n\n /**\n * We listen for bubbled touch events on the document object.\n *\n * Firefox v8.01 (and possibly others) exhibited strange behavior when\n * mounting `onmousemove` events at some node that was not the document\n * element. The symptoms were that if your mouse is not moving over something\n * contained within that mount point (for example on the background) the\n * top-level listeners for `onmousemove` won't be called. However, if you\n * register the `mousemove` on the document object, then it will of course\n * catch all `mousemove`s. This along with iOS quirks, justifies restricting\n * top-level listeners to the document object only, at least for these\n * movement types of events and possibly all events.\n *\n * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n *\n * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but\n * they bubble to document.\n *\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @param {object} contentDocumentHandle Document which owns the container\n */\n listenTo: function (registrationName, contentDocumentHandle) {\n var mountAt = contentDocumentHandle;\n var isListening = getListeningForDocument(mountAt);\n var dependencies = EventPluginRegistry.registrationNameDependencies[registrationName];\n\n for (var i = 0; i < dependencies.length; i++) {\n var dependency = dependencies[i];\n if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {\n if (dependency === 'topWheel') {\n if (isEventSupported('wheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'wheel', mountAt);\n } else if (isEventSupported('mousewheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'mousewheel', mountAt);\n } else {\n // Firefox needs to capture a different mouse scroll event.\n // @see http://www.quirksmode.org/dom/events/tests/scroll.html\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'DOMMouseScroll', mountAt);\n }\n } else if (dependency === 'topScroll') {\n\n if (isEventSupported('scroll', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topScroll', 'scroll', mountAt);\n } else {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topScroll', 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE);\n }\n } else if (dependency === 'topFocus' || dependency === 'topBlur') {\n\n if (isEventSupported('focus', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topFocus', 'focus', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topBlur', 'blur', mountAt);\n } else if (isEventSupported('focusin')) {\n // IE has `focusin` and `focusout` events which bubble.\n // @see http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topFocus', 'focusin', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topBlur', 'focusout', mountAt);\n }\n\n // to make sure blur and focus event listeners are only attached once\n isListening.topBlur = true;\n isListening.topFocus = true;\n } else if (topEventMapping.hasOwnProperty(dependency)) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(dependency, topEventMapping[dependency], mountAt);\n }\n\n isListening[dependency] = true;\n }\n }\n },\n\n trapBubbledEvent: function (topLevelType, handlerBaseName, handle) {\n return ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelType, handlerBaseName, handle);\n },\n\n trapCapturedEvent: function (topLevelType, handlerBaseName, handle) {\n return ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelType, handlerBaseName, handle);\n },\n\n /**\n * Protect against document.createEvent() returning null\n * Some popup blocker extensions appear to do this:\n * https://github.com/facebook/react/issues/6887\n */\n supportsEventPageXY: function () {\n if (!document.createEvent) {\n return false;\n }\n var ev = document.createEvent('MouseEvent');\n return ev != null && 'pageX' in ev;\n },\n\n /**\n * Listens to window scroll and resize events. We cache scroll values so that\n * application code can access them without triggering reflows.\n *\n * ViewportMetrics is only used by SyntheticMouse/TouchEvent and only when\n * pageX/pageY isn't supported (legacy browsers).\n *\n * NOTE: Scroll events do not bubble.\n *\n * @see http://www.quirksmode.org/dom/events/scroll.html\n */\n ensureScrollValueMonitoring: function () {\n if (hasEventPageXY === undefined) {\n hasEventPageXY = ReactBrowserEventEmitter.supportsEventPageXY();\n }\n if (!hasEventPageXY && !isMonitoringScrollValue) {\n var refresh = ViewportMetrics.refreshScrollValues;\n ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh);\n isMonitoringScrollValue = true;\n }\n }\n\n});\n\nmodule.exports = ReactBrowserEventEmitter;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactBrowserEventEmitter.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticUIEvent = require('./SyntheticUIEvent');\nvar ViewportMetrics = require('./ViewportMetrics');\n\nvar getEventModifierState = require('./getEventModifierState');\n\n/**\n * @interface MouseEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar MouseEventInterface = {\n screenX: null,\n screenY: null,\n clientX: null,\n clientY: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n getModifierState: getEventModifierState,\n button: function (event) {\n // Webkit, Firefox, IE9+\n // which: 1 2 3\n // button: 0 1 2 (standard)\n var button = event.button;\n if ('which' in event) {\n return button;\n }\n // IE<9\n // which: undefined\n // button: 0 0 0\n // button: 1 4 2 (onmouseup)\n return button === 2 ? 2 : button === 4 ? 1 : 0;\n },\n buttons: null,\n relatedTarget: function (event) {\n return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement);\n },\n // \"Proprietary\" Interface.\n pageX: function (event) {\n return 'pageX' in event ? event.pageX : event.clientX + ViewportMetrics.currentScrollLeft;\n },\n pageY: function (event) {\n return 'pageY' in event ? event.pageY : event.clientY + ViewportMetrics.currentScrollTop;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);\n\nmodule.exports = SyntheticMouseEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticMouseEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar OBSERVED_ERROR = {};\n\n/**\n * `Transaction` creates a black box that is able to wrap any method such that\n * certain invariants are maintained before and after the method is invoked\n * (Even if an exception is thrown while invoking the wrapped method). Whoever\n * instantiates a transaction can provide enforcers of the invariants at\n * creation time. The `Transaction` class itself will supply one additional\n * automatic invariant for you - the invariant that any transaction instance\n * should not be run while it is already being run. You would typically create a\n * single instance of a `Transaction` for reuse multiple times, that potentially\n * is used to wrap several different methods. Wrappers are extremely simple -\n * they only require implementing two methods.\n *\n * <pre>\n * wrappers (injected at creation time)\n * + +\n * | |\n * +-----------------|--------|--------------+\n * | v | |\n * | +---------------+ | |\n * | +--| wrapper1 |---|----+ |\n * | | +---------------+ v | |\n * | | +-------------+ | |\n * | | +----| wrapper2 |--------+ |\n * | | | +-------------+ | | |\n * | | | | | |\n * | v v v v | wrapper\n * | +---+ +---+ +---------+ +---+ +---+ | invariants\n * perform(anyMethod) | | | | | | | | | | | | maintained\n * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->\n * | | | | | | | | | | | |\n * | | | | | | | | | | | |\n * | | | | | | | | | | | |\n * | +---+ +---+ +---------+ +---+ +---+ |\n * | initialize close |\n * +-----------------------------------------+\n * </pre>\n *\n * Use cases:\n * - Preserving the input selection ranges before/after reconciliation.\n * Restoring selection even in the event of an unexpected error.\n * - Deactivating events while rearranging the DOM, preventing blurs/focuses,\n * while guaranteeing that afterwards, the event system is reactivated.\n * - Flushing a queue of collected DOM mutations to the main UI thread after a\n * reconciliation takes place in a worker thread.\n * - Invoking any collected `componentDidUpdate` callbacks after rendering new\n * content.\n * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue\n * to preserve the `scrollTop` (an automatic scroll aware DOM).\n * - (Future use case): Layout calculations before and after DOM updates.\n *\n * Transactional plugin API:\n * - A module that has an `initialize` method that returns any precomputation.\n * - and a `close` method that accepts the precomputation. `close` is invoked\n * when the wrapped process is completed, or has failed.\n *\n * @param {Array<TransactionalWrapper>} transactionWrapper Wrapper modules\n * that implement `initialize` and `close`.\n * @return {Transaction} Single transaction for reuse in thread.\n *\n * @class Transaction\n */\nvar TransactionImpl = {\n /**\n * Sets up this instance so that it is prepared for collecting metrics. Does\n * so such that this setup method may be used on an instance that is already\n * initialized, in a way that does not consume additional memory upon reuse.\n * That can be useful if you decide to make your subclass of this mixin a\n * \"PooledClass\".\n */\n reinitializeTransaction: function () {\n this.transactionWrappers = this.getTransactionWrappers();\n if (this.wrapperInitData) {\n this.wrapperInitData.length = 0;\n } else {\n this.wrapperInitData = [];\n }\n this._isInTransaction = false;\n },\n\n _isInTransaction: false,\n\n /**\n * @abstract\n * @return {Array<TransactionWrapper>} Array of transaction wrappers.\n */\n getTransactionWrappers: null,\n\n isInTransaction: function () {\n return !!this._isInTransaction;\n },\n\n /**\n * Executes the function within a safety window. Use this for the top level\n * methods that result in large amounts of computation/mutations that would\n * need to be safety checked. The optional arguments helps prevent the need\n * to bind in many cases.\n *\n * @param {function} method Member of scope to call.\n * @param {Object} scope Scope to invoke from.\n * @param {Object?=} a Argument to pass to the method.\n * @param {Object?=} b Argument to pass to the method.\n * @param {Object?=} c Argument to pass to the method.\n * @param {Object?=} d Argument to pass to the method.\n * @param {Object?=} e Argument to pass to the method.\n * @param {Object?=} f Argument to pass to the method.\n *\n * @return {*} Return value from `method`.\n */\n perform: function (method, scope, a, b, c, d, e, f) {\n !!this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.') : _prodInvariant('27') : void 0;\n var errorThrown;\n var ret;\n try {\n this._isInTransaction = true;\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // one of these calls threw.\n errorThrown = true;\n this.initializeAll(0);\n ret = method.call(scope, a, b, c, d, e, f);\n errorThrown = false;\n } finally {\n try {\n if (errorThrown) {\n // If `method` throws, prefer to show that stack trace over any thrown\n // by invoking `closeAll`.\n try {\n this.closeAll(0);\n } catch (err) {}\n } else {\n // Since `method` didn't throw, we don't want to silence the exception\n // here.\n this.closeAll(0);\n }\n } finally {\n this._isInTransaction = false;\n }\n }\n return ret;\n },\n\n initializeAll: function (startIndex) {\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n try {\n // Catching errors makes debugging more difficult, so we start with the\n // OBSERVED_ERROR state before overwriting it with the real return value\n // of initialize -- if it's still set to OBSERVED_ERROR in the finally\n // block, it means wrapper.initialize threw.\n this.wrapperInitData[i] = OBSERVED_ERROR;\n this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null;\n } finally {\n if (this.wrapperInitData[i] === OBSERVED_ERROR) {\n // The initializer for wrapper i threw an error; initialize the\n // remaining wrappers but silence any exceptions from them to ensure\n // that the first error is the one to bubble up.\n try {\n this.initializeAll(i + 1);\n } catch (err) {}\n }\n }\n }\n },\n\n /**\n * Invokes each of `this.transactionWrappers.close[i]` functions, passing into\n * them the respective return values of `this.transactionWrappers.init[i]`\n * (`close`rs that correspond to initializers that failed will not be\n * invoked).\n */\n closeAll: function (startIndex) {\n !this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : _prodInvariant('28') : void 0;\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n var initData = this.wrapperInitData[i];\n var errorThrown;\n try {\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // wrapper.close threw.\n errorThrown = true;\n if (initData !== OBSERVED_ERROR && wrapper.close) {\n wrapper.close.call(this, initData);\n }\n errorThrown = false;\n } finally {\n if (errorThrown) {\n // The closer for wrapper i threw an error; close the remaining\n // wrappers but silence any exceptions from them to ensure that the\n // first error is the one to bubble up.\n try {\n this.closeAll(i + 1);\n } catch (e) {}\n }\n }\n }\n this.wrapperInitData.length = 0;\n }\n};\n\nmodule.exports = TransactionImpl;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/Transaction.js","/**\n * Copyright 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * Based on the escape-html library, which is used under the MIT License below:\n *\n * Copyright (c) 2012-2013 TJ Holowaychuk\n * Copyright (c) 2015 Andreas Lubbe\n * Copyright (c) 2015 Tiancheng \"Timothy\" Gu\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * 'Software'), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\n */\n\n'use strict';\n\n// code copied and modified from escape-html\n/**\n * Module variables.\n * @private\n */\n\nvar matchHtmlRegExp = /[\"'&<>]/;\n\n/**\n * Escape special characters in the given string of html.\n *\n * @param {string} string The string to escape for inserting into HTML\n * @return {string}\n * @public\n */\n\nfunction escapeHtml(string) {\n var str = '' + string;\n var match = matchHtmlRegExp.exec(str);\n\n if (!match) {\n return str;\n }\n\n var escape;\n var html = '';\n var index = 0;\n var lastIndex = 0;\n\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n // \"\n escape = '"';\n break;\n case 38:\n // &\n escape = '&';\n break;\n case 39:\n // '\n escape = '''; // modified from escape-html; used to be '''\n break;\n case 60:\n // <\n escape = '<';\n break;\n case 62:\n // >\n escape = '>';\n break;\n default:\n continue;\n }\n\n if (lastIndex !== index) {\n html += str.substring(lastIndex, index);\n }\n\n lastIndex = index + 1;\n html += escape;\n }\n\n return lastIndex !== index ? html + str.substring(lastIndex, index) : html;\n}\n// end code copied and modified from escape-html\n\n\n/**\n * Escapes text to prevent scripting attacks.\n *\n * @param {*} text Text value to escape.\n * @return {string} An escaped string.\n */\nfunction escapeTextContentForBrowser(text) {\n if (typeof text === 'boolean' || typeof text === 'number') {\n // this shortcircuit helps perf for types that we know will never have\n // special characters, especially given that this function is used often\n // for numeric dom ids.\n return '' + text;\n }\n return escapeHtml(text);\n}\n\nmodule.exports = escapeTextContentForBrowser;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/escapeTextContentForBrowser.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar DOMNamespaces = require('./DOMNamespaces');\n\nvar WHITESPACE_TEST = /^[ \\r\\n\\t\\f]/;\nvar NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \\r\\n\\t\\f\\/>]/;\n\nvar createMicrosoftUnsafeLocalFunction = require('./createMicrosoftUnsafeLocalFunction');\n\n// SVG temp container for IE lacking innerHTML\nvar reusableSVGContainer;\n\n/**\n * Set the innerHTML property of a node, ensuring that whitespace is preserved\n * even in IE8.\n *\n * @param {DOMElement} node\n * @param {string} html\n * @internal\n */\nvar setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {\n // IE does not have innerHTML for SVG nodes, so instead we inject the\n // new markup in a temp node and then move the child nodes across into\n // the target node\n if (node.namespaceURI === DOMNamespaces.svg && !('innerHTML' in node)) {\n reusableSVGContainer = reusableSVGContainer || document.createElement('div');\n reusableSVGContainer.innerHTML = '<svg>' + html + '</svg>';\n var svgNode = reusableSVGContainer.firstChild;\n while (svgNode.firstChild) {\n node.appendChild(svgNode.firstChild);\n }\n } else {\n node.innerHTML = html;\n }\n});\n\nif (ExecutionEnvironment.canUseDOM) {\n // IE8: When updating a just created node with innerHTML only leading\n // whitespace is removed. When updating an existing node with innerHTML\n // whitespace in root TextNodes is also collapsed.\n // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html\n\n // Feature detection; only IE8 is known to behave improperly like this.\n var testElement = document.createElement('div');\n testElement.innerHTML = ' ';\n if (testElement.innerHTML === '') {\n setInnerHTML = function (node, html) {\n // Magic theory: IE8 supposedly differentiates between added and updated\n // nodes when processing innerHTML, innerHTML on updated nodes suffers\n // from worse whitespace behavior. Re-adding a node like this triggers\n // the initial and more favorable whitespace behavior.\n // TODO: What to do on a detached node?\n if (node.parentNode) {\n node.parentNode.replaceChild(node, node);\n }\n\n // We also implement a workaround for non-visible tags disappearing into\n // thin air on IE8, this only happens if there is no visible text\n // in-front of the non-visible tags. Piggyback on the whitespace fix\n // and simply check if any non-visible tags appear in the source.\n if (WHITESPACE_TEST.test(html) || html[0] === '<' && NONVISIBLE_TEST.test(html)) {\n // Recover leading whitespace by temporarily prepending any character.\n // \\uFEFF has the potential advantage of being zero-width/invisible.\n // UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode\n // in hopes that this is preserved even if \"\\uFEFF\" is transformed to\n // the actual Unicode character (by Babel, for example).\n // https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216\n node.innerHTML = String.fromCharCode(0xFEFF) + html;\n\n // deleteData leaves an empty `TextNode` which offsets the index of all\n // children. Definitely want to avoid this.\n var textNode = node.firstChild;\n if (textNode.data.length === 1) {\n node.removeChild(textNode);\n } else {\n textNode.deleteData(0, 1);\n }\n } else {\n node.innerHTML = html;\n }\n };\n }\n testElement = null;\n}\n\nmodule.exports = setInnerHTML;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/setInnerHTML.js","import Auth0 from 'auth0-js';\n\nclass Auth0WebAPI {\n constructor() {\n this.clients = {};\n this.authOpts = {};\n this.authParams = {};\n }\n\n setupClient(lockID, clientID, domain, opts) {\n this.clients[lockID] = new Auth0({\n clientID: clientID,\n domain: domain,\n sendSDKClientInfo: true,\n forceJSONP: false,\n callbackURL: opts.redirectUrl,\n responseMode: opts.responseMode,\n responseType: opts.responseType,\n __tenant: opts.overrides && opts.overrides.__tenant,\n __token_issuer: opts.overrides && opts.overrides.__token_issuer\n });\n\n this.authOpts[lockID] = {\n popup: !opts.redirect,\n popupOptions: opts.popupOptions,\n sso: opts.sso\n };\n }\n\n logIn(lockID, options, authParams, cb) {\n // TODO: for passwordless only, try to clean in auth0.js\n // client._shouldRedirect = redirect || responseType === \"code\" || !!redirectUrl;\n const authOpts = this.authOpts[lockID];\n const f = loginCallback(!authOpts.popup, cb);\n const client = this.clients[lockID];\n client.login({...options, ...authOpts, ...authParams}, f);\n }\n\n signOut(lockID, query) {\n this.clients[lockID].logout(query);\n }\n\n signUp(lockID, options, cb) {\n const client = this.clients[lockID];\n const { popup, sso } = this.authOpts[lockID];\n const { autoLogin } = options;\n delete options.autoLogin;\n\n // TODO: investigate why can't we just delegate to auth0.js the\n // automatic login (error handling maybe?).\n\n // When needed, open popup for sso login immediately, otherwise it\n // may be blocked by the browser.\n let win;\n if (autoLogin && popup && sso) {\n win = client._buildPopupWindow({});\n }\n\n // Never allow automatic login and disable popup (since it is only\n // needed when auth0.js handles the automatic login).\n options.auto_login = false;\n options.popup = false;\n\n // Also, wrap callback in a function that closes the popup.\n const f = (error, ...args) => {\n if (error && win) {\n win.kill();\n }\n\n cb(error, ...args);\n };\n\n client.signup(options, f);\n }\n\n resetPassword(lockID, options, cb) {\n this.clients[lockID].changePassword(options, cb);\n }\n\n startPasswordless(lockID, options, cb) {\n const client = this.clients[lockID];\n client.startPasswordless(options, err => cb(normalizeError(err)));\n }\n\n parseHash(lockID, hash = '') {\n return this.clients[lockID].parseHash(decodeURIComponent(hash));\n }\n\n getProfile(lockID, token, callback) {\n return this.clients[lockID].getProfile(token, callback);\n }\n\n getUserInfo(lockID, token, callback) {\n return this.clients[lockID].getUserInfo(token, callback);\n }\n\n getSSOData(lockID, ...args) {\n return this.clients[lockID].getSSOData(...args);\n }\n\n getUserCountry(lockID, cb) {\n return this.clients[lockID].getUserCountry(cb);\n }\n}\n\nexport default new Auth0WebAPI();\n\nfunction normalizeError(error) {\n if (!error) {\n return error;\n }\n\n // TODO: clean this mess, the first checks are for social/popup,\n // then we have some stuff for passwordless and the latter is for\n // db.\n\n // TODO: the following checks were copied from https://github.com/auth0/lock/blob/0a5abf1957c9bb746b0710b274d0feed9b399958/index.js#L1263-L1288\n // Some of the checks are missing because I couldn't reproduce them and I'm\n // affraid they'll break existent functionality if add them.\n // We need a better errror handling story in auth0.js.\n\n if (error.status === \"User closed the popup window\") {\n // {\n // status: \"User closed the popup window\",\n // name: undefined,\n // code: undefined,\n // details: {\n // description: \"server error\",\n // code: undefined\n // }\n // }\n return {\n code: \"lock.popup_closed\",\n error: \"lock.popup_closed\",\n description: \"Popup window closed.\"\n };\n }\n\n if (error.code === \"unauthorized\") {\n\n // Custom rule error\n //\n // {\n // \"code\": \"unauthorized\",\n // \"details\": {\n // \"code\": \"unauthorized\",\n // \"error_description\": \"user is blocked\",\n // \"error\": \"unauthorized\"\n // },\n // \"name\": \"unauthorized\",\n // \"status\": 401\n // }\n\n // Default \"user is blocked\" rule error\n //\n // {\n // \"code\": \"unauthorized\",\n // \"details\": {\n // \"code\": \"unauthorized\",\n // \"error_description\": \"user is blocked\",\n // \"error\": \"unauthorized\"\n // },\n // \"name\": \"unauthorized\",\n // \"status\": 401\n // }\n\n // Social cancel permissions.\n //\n // {\n // code: \"unauthorized\",\n // details: {\n // code: \"unauthorized\"\n // error: \"unauthorized\"\n // error_description: \"access_denied\"\n // },\n // name: \"unauthorized\"\n // status: 401\n // }\n\n // Social cancel permissions or unknown error\n if (!error.details\n || !error.details.error_description\n || error.details.error_description === \"access_denied\") {\n\n return {\n code: \"lock.unauthorized\",\n error: \"lock.unauthorized\",\n description: (error.details && error.details.error_description) || \"Permissions were not granted.\"\n }\n }\n\n // Special case for custom rule error\n if (error.details.error_description === \"user is blocked\") {\n return {\n code: \"blocked_user\",\n error: \"blocked_user\",\n description: error.details.error_description\n };\n }\n\n // Custom Rule error\n return {\n code: \"rule_error\",\n error: \"rule_error\",\n description: error.details.error_description\n };\n\n }\n\n const result = {\n error: error.details ? error.details.error : (error.code || error.statusCode || error.error),\n description: error.details ? error.details.error_description : (error.error_description || error.description || error.error)\n }\n\n // result is used for passwordless and error for database.\n return result.error === undefined && result.description === undefined\n ? error\n : result;\n}\n\nfunction loginCallback(redirect, cb) {\n return redirect\n ? error => cb(normalizeError(error))\n : (error, result) => cb(normalizeError(error), result);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/web_api.js","import { skipQuickAuth as skip } from '../quick_auth';\nimport { getEntity, read, swap, updateEntity } from '../store/index';\nimport { logIn as coreLogIn } from '../core/actions';\nimport * as l from '../core/index';\n\nexport function skipQuickAuth(id) {\n swap(updateEntity, \"lock\", id, skip, true);\n}\n\nexport function logIn(id, connection, loginHint) {\n const m = read(getEntity, \"lock\", id);\n const connectionScopes = l.auth.connectionScopes(m);\n const scopes = connectionScopes.get(connection.get(\"name\"));\n const params = {\n connection: connection.get(\"name\"),\n connection_scope: scopes ? scopes.toJS() : []\n };\n\n if (!l.auth.redirect(m) && connection.get(\"strategy\") === \"facebook\") {\n params.display = \"popup\";\n }\n if (loginHint) {\n params.login_hint = loginHint;\n }\n coreLogIn(id, [], params);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/quick-auth/actions.js","import React from 'react';\n\nconst svgs = {\n back: '<svg enable-background=\"new 0 0 24 24\" version=\"1.0\" viewBox=\"0 0 24 24\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"> <polyline fill=\"none\" points=\"12.5,21 3.5,12 12.5,3 \" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-width=\"2\"></polyline> <line fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-width=\"2\" x1=\"22\" x2=\"3.5\" y1=\"12\" y2=\"12\"></line> </svg>',\n close: '<svg enable-background=\"new 0 0 128 128\" version=\"1.1\" viewBox=\"0 0 128 128\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><g><polygon fill=\"#373737\" points=\"123.5429688,11.59375 116.4765625,4.5185547 64.0019531,56.9306641 11.5595703,4.4882813 4.4882813,11.5595703 56.9272461,63.9970703 4.4570313,116.4052734 11.5244141,123.4814453 63.9985352,71.0683594 116.4423828,123.5117188 123.5126953,116.4414063 71.0732422,64.0019531 \"></polygon></g></svg>'\n};\n\nconst IconButton = ({name, onClick, svg}) => (\n <span\n className={`auth0-lock-${name}-button`}\n dangerouslySetInnerHTML={{__html: svg}}\n onClick={e => { e.preventDefault(); onClick() }}\n >\n </span>\n);\n\nIconButton.propTypes = {\n name: React.PropTypes.string.isRequired,\n onClick: React.PropTypes.func.isRequired,\n svg: React.PropTypes.string.isRequired\n};\n\n// const createButton = name => {\n// const f = ({onClick}) => (\n// <IconButton name={name} svg={svgs[name]} onClick={onClick} />\n// );\n// f.displayName = `IconButton (${name})`;\n// f.propTypes = { onClick: React.PropTypes.func.isRequired };\n//\n// return f;\n// };\n//\n// export const CloseButton = createButton(\"close\");\n// export const BackButton = createButton(\"back\");\n\n\nexport const CloseButton = ({onClick}) => (\n <IconButton name=\"close\" svg={svgs[\"close\"]} onClick={onClick} />\n);\n\nCloseButton.propTypes = {\n onClick: React.PropTypes.func.isRequired\n};\n\nexport const BackButton = ({onClick}) => (\n <IconButton name=\"back\" svg={svgs[\"back\"]} onClick={onClick} />\n);\n\nBackButton.propTypes = {\n onClick: React.PropTypes.func.isRequired\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/box/button.jsx","/**\n * Module dependencies.\n */\n\nvar Base64Url = require('./lib/base64_url');\nvar assert_required = require('./lib/assert_required');\nvar is_array = require('./lib/is-array');\nvar index_of = require('./lib/index-of');\nvar nonceGenerator = require('./lib/nonce-generator');\n\nvar qs = require('qs');\nvar xtend = require('xtend');\nvar trim = require('trim');\nvar reqwest = require('reqwest');\nvar WinChan = require('winchan');\n\nvar jsonp = require('jsonp');\nvar jsonpOpts = { param: 'cbx', timeout: 8000, prefix: '__auth0jp' };\n\nvar same_origin = require('./lib/same-origin');\nvar json_parse = require('./lib/json-parse');\nvar LoginError = require('./lib/LoginError');\nvar use_jsonp = require('./lib/use_jsonp');\n\nvar SilentAuthenticationHandler = require('./lib/SilentAuthenticationHandler');\n\n/**\n * Check if running in IE.\n *\n * @returns {Number} -1 if not IE, IE version otherwise.\n */\nfunction isInternetExplorer() {\n var rv = -1; // Return value assumes failure.\n var ua = navigator.userAgent;\n var re;\n if (navigator.appName === 'Microsoft Internet Explorer') {\n re = new RegExp('MSIE ([0-9]{1,}[\\.0-9]{0,})');\n if (re.exec(ua) != null) {\n rv = parseFloat(RegExp.$1);\n }\n }\n // IE > 11\n else if (ua.indexOf('Trident') > -1) {\n re = new RegExp('rv:([0-9]{2,2}[\\.0-9]{0,})');\n if (re.exec(ua) !== null) {\n rv = parseFloat(RegExp.$1);\n }\n }\n\n return rv;\n}\n\n/**\n * Stringify popup options object into\n * `window.open` string options format\n *\n * @param {Object} popupOptions\n * @private\n */\n\nfunction stringifyPopupSettings(popupOptions) {\n var settings = '';\n\n for (var key in popupOptions) {\n settings += key + '=' + popupOptions[key] + ',';\n }\n\n return settings.slice(0, -1);\n}\n\n\n/**\n * Check that a key has been set to something different than null\n * or undefined.\n *\n * @param {Object} obj\n * @param {String} key\n */\nfunction checkIfSet(obj, key) {\n /*\n * false != null -> true\n * true != null -> true\n * undefined != null -> false\n * null != null -> false\n */\n return !!(obj && obj[key] != null);\n}\n\nfunction handleRequestError(err, callback) {\n var status = err.status;\n var responseText = 'string' === typeof err.responseText ? err.responseText : err;\n\n var isAffectedIEVersion = isInternetExplorer() === 10 || isInternetExplorer() === 11;\n var zeroStatus = (!status || status === 0);\n\n var onLine = !!window.navigator.onLine;\n\n // Request failed because we are offline.\n if (zeroStatus && !onLine ) {\n status = 0;\n responseText = {\n code: 'offline'\n };\n // http://stackoverflow.com/questions/23229723/ie-10-11-cors-status-0\n // XXX IE10 when a request fails in CORS returns status code 0\n // See: http://caniuse.com/#search=navigator.onLine\n } else if (zeroStatus && isAffectedIEVersion) {\n status = 401;\n responseText = {\n code: 'invalid_user_password'\n };\n // If not IE10/11 and not offline it means that Auth0 host is unreachable:\n // Connection Timeout or Connection Refused.\n } else if (zeroStatus) {\n status = 0;\n responseText = {\n code: 'connection_refused_timeout'\n };\n }\n\n var error = new LoginError(status, responseText);\n callback(error);\n}\n\n/**\n * join url from protocol\n */\n\nfunction joinUrl(protocol, domain, endpoint) {\n return protocol + '//' + domain + endpoint;\n}\n\n/**\n * Create an `Auth0` instance with `options`\n *\n * @class Auth0\n * @constructor\n */\nfunction Auth0 (options) {\n // XXX Deprecated: We prefer new Auth0(...)\n if (!(this instanceof Auth0)) {\n return new Auth0(options);\n }\n\n assert_required(options, 'clientID');\n assert_required(options, 'domain');\n\n this._useJSONP = null != options.forceJSONP ?\n !!options.forceJSONP :\n use_jsonp() && !same_origin('https:', options.domain);\n\n this._clientID = options.clientID;\n this._callbackURL = options.callbackURL || document.location.href;\n this._shouldRedirect = !!options.callbackURL;\n this._domain = options.domain;\n this._responseType = this._parseResponseType(options, true) || \"code\";\n this._responseMode = this._parseResponseMode(options, true);\n this._cordovaSocialPlugins = {\n facebook: this._phonegapFacebookLogin\n };\n this._useCordovaSocialPlugins = false || options.useCordovaSocialPlugins;\n this._sendClientInfo = null != options.sendSDKClientInfo ? options.sendSDKClientInfo : true;\n\n this._scope = options.scope || 'openid';\n this._audience = options.audience || null;\n this._tenant = options.__tenant || this._domain.split('.')[0];\n this._token_issuer = options.__token_issuer || 'https://' + this._domain + '/';\n}\n\n/**\n * Export version with `Auth0` constructor\n *\n * @property {String} version\n */\n\nAuth0.version = require('./version').str;\n\n/**\n * Export client info object\n *\n *\n * @property {Hash}\n */\n\nAuth0.clientInfo = { name: 'auth0.js', version: Auth0.version };\n\n\n/**\n * Wraps calls to window.open so it can be overriden in Electron.\n *\n * In Electron, window.open returns an object which provides limited control\n * over the opened window (see\n * http://electron.atom.io/docs/v0.36.0/api/window-open/).\n */\nAuth0.prototype.openWindow = function(url, name, options) {\n return window.open(url, name, stringifyPopupSettings(options));\n}\n\n/**\n * Redirect current location to `url`\n *\n * @param {String} url\n * @private\n */\n\nAuth0.prototype._redirect = function (url) {\n global.window.location = url;\n};\n\nAuth0.prototype._getResponseType = function(opts) {\n return this._parseResponseType(opts) || this._responseType;\n};\n\nAuth0.prototype._getCallbackOnLocationHash = function(options) {\n return this._getResponseMode(options) !== \"form_post\"\n && this._getResponseType(options) !== \"code\";\n};\n\nAuth0.prototype._getResponseMode = function(opts) {\n var result = this._parseResponseMode(opts) || this._responseMode;\n return result === \"form_post\"\n ? \"form_post\"\n : null;\n};\n\nAuth0.prototype._getCallbackURL = function(options) {\n return (options && typeof options.callbackURL !== 'undefined') ?\n options.callbackURL : this._callbackURL;\n};\n\nAuth0.prototype._getClientInfoString = function () {\n var clientInfo = JSON.stringify(Auth0.clientInfo);\n return Base64Url.encode(clientInfo);\n};\n\nAuth0.prototype._getClientInfoHeader = function () {\n return this._sendClientInfo\n ? { 'Auth0-Client': this._getClientInfoString() }\n : {};\n};\n\n/**\n * Renders and submits a WSFed form\n *\n * @param {Object} options\n * @param {Function} formHtml\n * @private\n */\n\nAuth0.prototype._renderAndSubmitWSFedForm = function (options, formHtml) {\n var div = document.createElement('div');\n div.innerHTML = formHtml;\n var form = document.body.appendChild(div).children[0];\n\n if (options.popup && !this._getCallbackOnLocationHash(options)) {\n form.target = 'auth0_signup_popup';\n }\n\n form.submit();\n};\n\n/**\n * Resolve response type as `token` or `code`\n *\n * @return {Object} `scope` and `response_type` properties\n * @private\n */\n\nAuth0.prototype._getMode = function (options) {\n var result = {\n scope: this._scope,\n response_type: this._getResponseType(options)\n };\n\n var responseMode = this._getResponseMode(options);\n if (responseMode) {\n result.response_mode = responseMode;\n }\n\n return result;\n};\n\nAuth0.prototype._configureOfflineMode = function(options) {\n if (options.scope && options.scope.indexOf('offline_access') >= 0) {\n options.device = options.device || 'Browser';\n }\n};\n\n/**\n * Get user information from API\n *\n * @param {Object} profile\n * @param {String} id_token\n * @param {Function} callback\n * @private\n */\n\nAuth0.prototype._getUserInfo = function (profile, id_token, callback) {\n\n warn(\"DEPRECATION NOTICE: This method will be soon deprecated, use `getUserInfo` instead.\")\n\n if (!(profile && !profile.user_id)) {\n return callback(null, profile);\n }\n\n // the scope was just openid\n var _this = this;\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/tokeninfo';\n var url = joinUrl(protocol, domain, endpoint);\n\n var fail = function (status, description) {\n var error = new Error(status + ': ' + (description || ''));\n\n // These two properties are added for compatibility with old versions (no Error instance was returned)\n error.error = status;\n error.error_description = description;\n\n callback(error);\n };\n\n if (this._useJSONP) {\n return jsonp(url + '?' + qs.stringify({id_token: id_token}), jsonpOpts, function (err, resp) {\n if (err) {\n return fail(0, err.toString());\n }\n\n return resp.status === 200 ?\n callback(null, resp.user) :\n fail(resp.status, resp.err || resp.error);\n });\n }\n\n return reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'json',\n crossOrigin: !same_origin(protocol, domain),\n data: {id_token: id_token}\n }).fail(function (err) {\n fail(err.status, err.responseText);\n }).then(function (userinfo) {\n callback(null, userinfo);\n });\n\n};\n\n/**\n * Get user information from API\n *\n * @param {Object} profile\n * @param {String} id_token\n * @param {Function} callback\n * @private\n */\n\nAuth0.prototype.getUserInfo = function (access_token, callback) {\n\n if ('function' !== typeof callback) {\n throw new Error('A callback function is required');\n }\n if (!access_token || typeof access_token !== 'string') {\n return callback(new Error('Invalid token'));\n }\n\n var _this = this;\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/userinfo';\n var url = joinUrl(protocol, domain, endpoint);\n\n var fail = function (status, description) {\n var error = new Error(status + ': ' + (description || ''));\n\n // These two properties are added for compatibility with old versions (no Error instance was returned)\n error.error = status;\n error.error_description = description;\n\n callback(error);\n };\n\n return reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'json',\n crossOrigin: !same_origin(protocol, domain),\n headers: {\n 'Authorization': 'Bearer ' + access_token\n }\n }).fail(function (err) {\n fail(err.status, err.responseText);\n }).then(function (userinfo) {\n callback(null, userinfo);\n });\n\n};\n\n/**\n * Get profile data by `id_token`\n *\n * @param {String} id_token\n * @param {Function} callback\n * @method getProfile\n */\n\nAuth0.prototype.getProfile = function (id_token, callback) {\n if ('function' !== typeof callback) {\n throw new Error('A callback function is required');\n }\n if (!id_token || typeof id_token !== 'string') {\n return callback(new Error('Invalid token'));\n }\n\n this._getUserInfo(this.decodeJwt(id_token), id_token, callback);\n};\n\n/**\n * Validate a user\n *\n * @param {Object} options\n * @param {Function} callback\n * @method validateUser\n */\n\nAuth0.prototype.validateUser = function (options, callback) {\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/public/api/users/validate_userpassword';\n var url = joinUrl(protocol, domain, endpoint);\n\n var query = xtend(\n options,\n {\n client_id: this._clientID,\n username: trim(options.username || options.email || '')\n });\n\n if (this._useJSONP) {\n return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n if (err) {\n return callback(err);\n }\n if('error' in resp && resp.status !== 404) {\n return callback(new Error(resp.error));\n }\n callback(null, resp.status === 200);\n });\n }\n\n reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'text',\n data: query,\n crossOrigin: !same_origin(protocol, domain),\n error: function (err) {\n if (err.status !== 404) { return callback(new Error(err.responseText)); }\n callback(null, false);\n },\n success: function (resp) {\n callback(null, resp.status === 200);\n }\n });\n};\n\n/**\n * Decode Json Web Token\n *\n * @param {String} jwt\n * @method decodeJwt\n */\n\nAuth0.prototype.decodeJwt = function (jwt) {\n var encoded = jwt && jwt.split('.')[1];\n return json_parse(Base64Url.decode(encoded));\n};\n\n/**\n * Given the hash (or a query) of an URL returns a dictionary with only relevant\n * authentication information. If succeeds it will return the following fields:\n * `profile`, `id_token`, `access_token` and `state`. In case of error, it will\n * return `error` and `error_description`.\n *\n * @method parseHash\n * @param {String} [hash=window.location.hash] URL to be parsed\n * @example\n * var auth0 = new Auth0({...});\n *\n * // Returns {profile: {** decoded id token **}, state: \"good\"}\n * auth0.parseHash('#id_token=.....&state=good&foo=bar');\n *\n * // Returns {error: \"invalid_credentials\", error_description: undefined}\n * auth0.parseHash('#error=invalid_credentials');\n *\n * // Returns {error: \"invalid_credentials\", error_description: undefined}\n * auth0.parseHash('?error=invalid_credentials');\n *\n */\n\nAuth0.prototype.parseHash = function (hash, options) {\n options = options || {};\n hash = hash || window.location.hash;\n hash = hash.replace(/^#?\\/?/, '');\n var parsed_qs = qs.parse(hash);\n\n if (parsed_qs.hasOwnProperty('error')) {\n var err = {\n error: parsed_qs.error,\n error_description: parsed_qs.error_description\n };\n\n if (parsed_qs.state) {\n err.state = parsed_qs.state;\n }\n\n return err;\n }\n\n if (!parsed_qs.hasOwnProperty('access_token')\n && !parsed_qs.hasOwnProperty('id_token')\n && !parsed_qs.hasOwnProperty('refresh_token')) {\n return null;\n }\n\n var prof;\n\n if (parsed_qs.id_token) {\n var invalidJwt = function (error) {\n var err = {\n error: 'invalid_token',\n error_description: error\n };\n return err;\n };\n\n prof = this.decodeJwt(parsed_qs.id_token);\n\n // aud should be the clientID\n var audiences = is_array(prof.aud) ? prof.aud : [ prof.aud ];\n if (index_of(audiences, this._clientID) === -1) {\n return invalidJwt(\n 'The clientID configured (' + this._clientID + ') does not match with the clientID set in the token (' + audiences.join(', ') + ').');\n }\n\n // iss should be the Auth0 domain (i.e.: https://contoso.auth0.com/)\n if (prof.iss && prof.iss !== this._token_issuer) {\n return invalidJwt(\n 'The domain configured (' + this._token_issuer + ') does not match with the domain set in the token (' + prof.iss + ').');\n }\n\n var nonce;\n\n if (options.nonce) {\n nonce = options.nonce;\n } else if (window.localStorage) {\n try {\n nonce = window.localStorage.getItem('com.auth0.auth.nonce');\n window.localStorage.removeItem('com.auth0.auth.nonce');\n } catch(e) {\n // will fail because nonce is undefined\n }\n }\n\n if ((nonce || prof.nonce) && prof.nonce !== nonce) {\n return invalidJwt('The nonce does not match.');\n }\n }\n\n return {\n accessToken: parsed_qs.access_token,\n idToken: parsed_qs.id_token,\n idTokenPayload: prof,\n refreshToken: parsed_qs.refresh_token,\n state: parsed_qs.state\n };\n};\n\n/**\n * Signup\n *\n * @param {Object} options Signup Options\n * @param {String} email New user email\n * @param {String} password New user password\n *\n * @param {Function} callback\n * @method signup\n */\n\nAuth0.prototype.signup = function (options, callback) {\n var _this = this;\n\n var opts = {\n client_id: this._clientID,\n redirect_uri: this._getCallbackURL(options),\n email: trim(options.email || options.username || '')\n };\n\n if (typeof options.username === 'string') {\n opts.username = trim(options.username);\n }\n\n var query = xtend(this._getMode(options), options, opts);\n\n this._configureOfflineMode(query);\n\n // TODO Change this to a property named 'disableSSO' for consistency.\n // By default, options.sso is true\n if (!checkIfSet(options, 'sso')) {\n options.sso = true;\n }\n\n if (!checkIfSet(options, 'auto_login')) {\n options.auto_login = true;\n }\n\n var popup;\n\n var will_popup = options.auto_login && options.popup\n && (!this._getCallbackOnLocationHash(options) || options.sso);\n\n if (will_popup) {\n popup = this._buildPopupWindow(options);\n }\n\n function success () {\n if (options.auto_login) {\n return _this.login(options, callback);\n }\n\n if ('function' === typeof callback) {\n return callback();\n }\n }\n\n function fail (status, resp) {\n var error = new LoginError(status, resp);\n\n // when failed we want the popup closed if opened\n if (popup && 'function' === typeof popup.kill) {\n popup.kill();\n }\n\n if ('function' === typeof callback) {\n return callback(error);\n }\n\n throw error;\n }\n\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/dbconnections/signup';\n var url = joinUrl(protocol, domain, endpoint);\n\n if (this._useJSONP) {\n return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n if (err) {\n return fail(0, err);\n }\n\n return resp.status == 200 ? success() :\n fail(resp.status, resp.err || resp.error);\n });\n }\n\n reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'html',\n data: query,\n success: success,\n crossOrigin: !same_origin(protocol, domain),\n error: function (err) {\n fail(err.status, err.responseText);\n }\n });\n};\n\n/**\n * Change password\n *\n * @param {Object} options\n * @param {Function} callback\n * @method changePassword\n */\n\nAuth0.prototype.changePassword = function (options, callback) {\n var query = {\n client_id: this._clientID,\n connection: options.connection,\n email: trim(options.email || '')\n };\n\n if (typeof options.password === \"string\") {\n query.password = options.password;\n }\n\n function fail (status, resp) {\n var error = new LoginError(status, resp);\n if (callback) {\n return callback(error);\n }\n }\n\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/dbconnections/change_password';\n var url = joinUrl(protocol, domain, endpoint);\n\n if (this._useJSONP) {\n return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n if (err) {\n return fail(0, err);\n }\n return resp.status == 200 ?\n callback(null, resp.message) :\n fail(resp.status, resp.err || resp.error);\n });\n }\n\n reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'html',\n data: query,\n crossOrigin: !same_origin(protocol, domain),\n error: function (err) {\n fail(err.status, err.responseText);\n },\n success: function (r) {\n callback(null, r);\n }\n });\n};\n\n/**\n * Builds query string to be passed to /authorize based on dict key and values.\n *\n * @param {Array} args\n * @param {Array} blacklist\n * @private\n */\n\nAuth0.prototype._buildAuthorizeQueryString = function (args, blacklist) {\n var query = this._buildAuthorizationParameters(args, blacklist);\n return qs.stringify(query);\n};\n\n/**\n * Builds parameter dictionary to be passed to /authorize based on dict key and values.\n *\n * @param {Array} args\n * @param {Array} blacklist\n * @private\n */\n\nAuth0.prototype._buildAuthorizationParameters = function(args, blacklist) {\n var query = xtend.apply(null, args);\n\n // Adds offline mode to the query\n this._configureOfflineMode(query);\n\n // Adds client SDK information (when enabled)\n if ( this._sendClientInfo ) query['auth0Client'] = this._getClientInfoString();\n\n // Elements to filter from query string\n blacklist = blacklist || ['popup', 'popupOptions'];\n\n var i, key;\n\n for (i = 0; i < blacklist.length; i++) {\n key = blacklist[i];\n delete query[key];\n }\n\n if (query.connection_scope && is_array(query.connection_scope)){\n query.connection_scope = query.connection_scope.join(',');\n }\n\n return query;\n};\n\nAuth0.prototype._buildAuthorizeUrl = function(options) {\n var constructorOptions = {};\n\n if (this._scope) {\n constructorOptions.scope = this._scope;\n }\n\n if (this._audience) {\n constructorOptions.audience = this._audience;\n }\n\n\n var qs = [\n this._getMode(options),\n constructorOptions,\n options,\n {\n client_id: this._clientID,\n redirect_uri: this._getCallbackURL(options)\n }\n ];\n\n var query = this._buildAuthorizeQueryString(qs);\n\n return joinUrl('https:', this._domain, '/authorize?' + query);\n}\n\n/**\n * Login user\n *\n * @param {Object} options\n * @param {Function} callback\n * @method login\n */\n\nAuth0.prototype.login = Auth0.prototype.signin = function (options, callback) {\n // TODO Change this to a property named 'disableSSO' for consistency.\n // By default, options.sso is true\n if (!checkIfSet(options, 'sso')) {\n options.sso = true;\n }\n\n if (this._responseType.indexOf('id_token') > -1 && !options.nonce) {\n if (typeof options.passcode === 'undefined' && (\n ((typeof options.username !== 'undefined' || typeof options.email !== 'undefined') && !callback) ||\n (typeof options.username === 'undefined' && typeof options.email === 'undefined')\n ) ) {\n\n if (window.localStorage) {\n var nonce = nonceGenerator.randomString(16);\n if (nonce) {\n try {\n options.nonce = nonce;\n window.localStorage.setItem('com.auth0.auth.nonce', nonce);\n }\n catch(e) {\n options.nonce = undefined;\n }\n }\n } else {\n throw new Error('Unable to generate and store nonce to request id_token. Please provide a nonce value via options');\n }\n }\n }\n\n if (typeof options.passcode !== 'undefined') {\n return this.loginWithPasscode(options, callback);\n }\n\n if (typeof options.username !== 'undefined' ||\n typeof options.email !== 'undefined') {\n return this.loginWithUsernamePassword(options, callback);\n }\n\n if (!!window.cordova || !!window.electron) {\n return this.loginPhonegap(options, callback);\n }\n\n if (!!options.popup && this._getCallbackOnLocationHash(options)) {\n return this.loginWithPopup(options, callback);\n }\n\n if (!options.nonce && this._responseType.indexOf('id_token') > -1) {\n throw new Error('nonce is mandatory');\n }\n\n this._authorize(options);\n};\n\nAuth0.prototype._authorize = function(options) {\n var url = this._buildAuthorizeUrl(options);\n\n if (options.popup) {\n this._buildPopupWindow(options, url);\n } else {\n this._redirect(url);\n }\n};\n\n/**\n * Compute `options.width` and `options.height` for the popup to\n * open and return and extended object with optimal `top` and `left`\n * position arguments for the popup windows\n *\n * @param {Object} options\n * @private\n */\n\nAuth0.prototype._computePopupPosition = function (options) {\n options = options || {};\n var width = options.width || 500;\n var height = options.height || 600;\n\n var screenX = typeof window.screenX !== 'undefined' ? window.screenX : window.screenLeft;\n var screenY = typeof window.screenY !== 'undefined' ? window.screenY : window.screenTop;\n var outerWidth = typeof window.outerWidth !== 'undefined' ? window.outerWidth : document.body.clientWidth;\n var outerHeight = typeof window.outerHeight !== 'undefined' ? window.outerHeight : (document.body.clientHeight - 22);\n // XXX: what is the 22?\n\n // Use `outerWidth - width` and `outerHeight - height` for help in\n // positioning the popup centered relative to the current window\n var left = screenX + (outerWidth - width) / 2;\n var top = screenY + (outerHeight - height) / 2;\n\n return { width: width, height: height, left: left, top: top };\n};\n\n/**\n * loginPhonegap method is triggered when !!window.cordova is true.\n *\n * @method loginPhonegap\n * @private\n * @param {Object} options Login options.\n * @param {Function} callback To be called after login happened. Callback arguments\n * should be:\n * function (err, profile, idToken, accessToken, state)\n *\n * @example\n * var auth0 = new Auth0({ clientId: '...', domain: '...'});\n *\n * auth0.signin({}, function (err, profile, idToken, accessToken, state) {\n * if (err) {\n * alert(err);\n * return;\n * }\n *\n * alert('Welcome ' + profile.name);\n * });\n */\n\nAuth0.prototype.loginPhonegap = function (options, callback) {\n if (this._shouldAuthenticateWithCordovaPlugin(options.connection)) {\n this._socialPhonegapLogin(options, callback);\n return;\n }\n\n var mobileCallbackURL = joinUrl('https:', this._domain, '/mobile');\n var _this = this;\n var qs = [\n this._getMode(options),\n options,\n {\n client_id: this._clientID,\n redirect_uri: mobileCallbackURL\n }\n ];\n\n if ( this._sendClientInfo ) {\n qs.push({ auth0Client: this._getClientInfoString() });\n }\n\n var query = this._buildAuthorizeQueryString(qs);\n\n var popupUrl = joinUrl('https:', this._domain, '/authorize?' + query);\n\n var popupOptions = xtend({location: 'yes'} ,\n options.popupOptions);\n\n // This wasn't send before so we don't send it now either\n delete popupOptions.width;\n delete popupOptions.height;\n\n var ref = this.openWindow(popupUrl, '_blank', popupOptions);\n var answered = false;\n\n function errorHandler(event) {\n if (answered) { return; }\n answered = true;\n ref.close();\n callback(new Error(event.message), null);\n }\n\n function startHandler(event) {\n if (answered) { return; }\n\n if ( event.url && !(event.url.indexOf(mobileCallbackURL + '#') === 0 ||\n event.url.indexOf(mobileCallbackURL + '?') === 0)) { return; }\n\n var result = _this.parseHash(event.url.slice(mobileCallbackURL.length));\n\n if (!result) {\n answered = true;\n ref.close();\n callback(new Error('Error parsing hash'), null);\n return;\n }\n\n if (result.idToken) {\n answered = true;\n ref.close();\n callback(null, result);\n return;\n }\n\n\n // Case where we've found an error\n answered = true;\n ref.close();\n callback(new Error(result.err || result.error || 'Something went wrong'), null);\n }\n\n function exitHandler() {\n if (answered) { return; }\n\n ref.removeEventListener('loaderror', errorHandler);\n ref.removeEventListener('loadstart', startHandler);\n ref.removeEventListener('exit', exitHandler);\n\n callback(new Error('Browser window closed'), null);\n }\n\n ref.addEventListener('loaderror', errorHandler);\n ref.addEventListener('loadstart', startHandler);\n ref.addEventListener('exit', exitHandler);\n\n};\n\n/**\n * loginWithPopup method is triggered when login method receives a {popup: true} in\n * the login options.\n *\n * @method loginWithPopup\n * @param {Object} options Login options.\n * @param {function} callback To be called after login happened (whether\n * success or failure). This parameter is mandatory when\n * option callbackOnLocationHash is truthy but should not\n * be used when falsy.\n * @example\n * var auth0 = new Auth0({ clientId: '...', domain: '...', callbackOnLocationHash: true });\n *\n * // Error! No callback\n * auth0.login({popup: true});\n *\n * // Ok!\n * auth0.login({popup: true}, function () { });\n *\n * @example\n * var auth0 = new Auth0({ clientId: '...', domain: '...'});\n *\n * // Ok!\n * auth0.login({popup: true});\n *\n * // Error! No callback will be executed on response_type=code\n * auth0.login({popup: true}, function () { });\n * @private\n */\n\nAuth0.prototype.loginWithPopup = function(options, callback) {\n var _this = this;\n\n if (!callback) {\n throw new Error('popup mode should receive a mandatory callback');\n }\n\n if (!options.nonce && this._responseType.indexOf('id_token') > -1) {\n throw new Error('nonce is mandatory');\n }\n\n var qs = [this._getMode(options), options, { client_id: this._clientID, owp: true }];\n\n if (this._sendClientInfo) {\n qs.push({ auth0Client: this._getClientInfoString() });\n }\n\n var query = this._buildAuthorizeQueryString(qs);\n var popupUrl = joinUrl('https:', this._domain, '/authorize?' + query);\n\n var popupPosition = this._computePopupPosition(options.popupOptions);\n var popupOptions = xtend(popupPosition, options.popupOptions);\n\n var popup = WinChan.open({\n url: popupUrl,\n relay_url: 'https://' + this._domain + '/relay.html',\n window_features: stringifyPopupSettings(popupOptions)\n }, function (err, result) {\n // Eliminate `_current_popup` reference manually because\n // Winchan removes `.kill()` method from window and also\n // doesn't call `.kill()` by itself\n _this._current_popup = null;\n\n // Winchan always returns string errors, we wrap them inside Error objects\n if (err) {\n return callback(new LoginError(err), null, null, null, null, null);\n }\n\n // Handle edge case with generic error\n if (!result) {\n return callback(new LoginError('Something went wrong'), null, null, null, null, null);\n }\n\n // Handle profile retrieval from id_token and respond\n if (result.access_token || result.id_token) {\n return callback(null, _this._prepareResult(result));\n }\n\n // Case where the error is returned at an `err` property from the result\n if (result.err) {\n return callback(new LoginError(result.err.status, result.err.details || result.err), null, null, null, null, null);\n }\n\n // Case for sso_dbconnection_popup returning error at result.error instead of result.err\n if (result.error) {\n return callback(new LoginError(result.status, result.details || result), null, null, null, null, null);\n }\n\n // Case we couldn't match any error, we return a generic one\n return callback(new LoginError('Something went wrong'), null, null, null, null, null);\n });\n\n popup.focus();\n};\n\n/**\n * _shouldAuthenticateWithCordovaPlugin method checks whether Auth0 is properly configured to\n * handle authentication of a social connnection using a phonegap plugin.\n *\n * @param {String} connection Name of the connection.\n * @private\n */\n\nAuth0.prototype._shouldAuthenticateWithCordovaPlugin = function(connection) {\n var socialPlugin = this._cordovaSocialPlugins[connection];\n return this._useCordovaSocialPlugins && !!socialPlugin;\n};\n\n/**\n * _socialPhonegapLogin performs social authentication using a phonegap plugin\n *\n * @param {String} connection Name of the connection.\n * @param {function} callback To be called after login happened (whether\n * success or failure).\n * @private\n */\n\nAuth0.prototype._socialPhonegapLogin = function(options, callback) {\n var socialAuthentication = this._cordovaSocialPlugins[options.connection];\n var _this = this;\n socialAuthentication(options.connection_scope, function(error, accessToken, extras) {\n if (error) {\n callback(error, null, null, null, null);\n return;\n }\n var loginOptions = xtend({ access_token: accessToken }, options, extras);\n _this.loginWithSocialAccessToken(loginOptions, callback);\n });\n};\n\n/**\n * _phonegapFacebookLogin performs social authentication with Facebook using phonegap-facebook-plugin\n *\n * @param {Object} scopes FB scopes used to login. It can be an Array of String or a single String.\n * By default is [\"public_profile\"]\n * @param {function} callback To be called after login happened (whether success or failure). It will\n * yield the accessToken and any extra information neeeded by Auth0 API\n * or an Error if the authentication fails. Callback should be:\n * function (err, accessToken, extras) { }\n * @private\n */\n\nAuth0.prototype._phonegapFacebookLogin = function(scopes, callback) {\n if (!window.facebookConnectPlugin || !window.facebookConnectPlugin.login) {\n callback(new Error('missing plugin phonegap-facebook-plugin'), null, null);\n return;\n }\n\n var fbScopes;\n if (scopes && is_array(scopes)){\n fbScopes = scopes;\n } else if (scopes) {\n fbScopes = [scopes];\n } else {\n fbScopes = ['public_profile'];\n }\n window.facebookConnectPlugin.login(fbScopes, function (state) {\n callback(null, state.authResponse.accessToken, {});\n }, function(error) {\n callback(new Error(error), null, null);\n });\n};\n\n/**\n * This method handles the scenario where a db connection is used with\n * popup: true and sso: true.\n *\n * @private\n */\nAuth0.prototype.loginWithUsernamePasswordAndSSO = function (options, callback) {\n var _this = this;\n var popupPosition = this._computePopupPosition(options.popupOptions);\n var popupOptions = xtend(popupPosition, options.popupOptions);\n\n if (!options.nonce && this._responseType.indexOf('id_token') > -1) {\n throw new Error('nonce is mandatory');\n }\n\n var winchanOptions = {\n url: 'https://' + this._domain + '/sso_dbconnection_popup/' + this._clientID,\n relay_url: 'https://' + this._domain + '/relay.html',\n window_features: stringifyPopupSettings(popupOptions),\n popup: this._current_popup,\n params: {\n domain: this._domain,\n clientID: this._clientID,\n options: {\n // TODO What happens with i18n?\n username: trim(options.username || options.email || ''),\n password: options.password,\n connection: options.connection,\n state: options.state,\n scope: options.scope\n }\n }\n };\n\n if (options._csrf) {\n winchanOptions.params.options._csrf = options._csrf;\n }\n\n if (options.device) {\n winchanOptions.params.options.device = options.device;\n }\n\n var popup = WinChan.open(winchanOptions, function (err, result) {\n // Eliminate `_current_popup` reference manually because\n // Winchan removes `.kill()` method from window and also\n // doesn't call `.kill()` by itself\n _this._current_popup = null;\n\n // Winchan always returns string errors, we wrap them inside Error objects\n if (err) {\n return callback(new LoginError(err), null, null, null, null, null);\n }\n\n // Handle edge case with generic error\n if (!result) {\n return callback(new LoginError('Something went wrong'), null, null, null, null, null);\n }\n\n // Handle profile retrieval from id_token and respond\n if (result.id_token) {\n return callback(null, _this._prepareResult(result));\n }\n\n // Case where the error is returned at an `err` property from the result\n if (result.err) {\n return callback(new LoginError(result.err.status, result.err.details || result.err), null, null, null, null, null);\n }\n\n // Case for sso_dbconnection_popup returning error at result.error instead of result.err\n if (result.error) {\n return callback(new LoginError(result.status, result.details || result), null, null, null, null, null);\n }\n\n // Case we couldn't match any error, we return a generic one\n return callback(new LoginError('Something went wrong'), null, null, null, null, null);\n });\n\n popup.focus();\n};\n\n/**\n * Login with Resource Owner (RO)\n *\n * @param {Object} options\n * @param {Function} callback\n * @method loginWithResourceOwner\n */\n\nAuth0.prototype.loginWithResourceOwner = function (options, callback) {\n var _this = this;\n var query = xtend(\n this._getMode(options),\n options,\n {\n client_id: this._clientID,\n username: trim(options.username || options.email || ''),\n grant_type: 'password'\n });\n\n this._configureOfflineMode(query);\n\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/oauth/ro';\n var url = joinUrl(protocol, domain, endpoint);\n\n if ( this._sendClientInfo && this._useJSONP ) {\n query['auth0Client'] = this._getClientInfoString();\n }\n\n if (this._useJSONP) {\n return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n if (err) {\n return callback(err);\n }\n if('error' in resp) {\n var error = new LoginError(resp.status, resp.error);\n return callback(error);\n }\n callback(null, _this._prepareResult(resp));\n });\n }\n\n reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'json',\n data: query,\n headers: this._getClientInfoHeader(),\n crossOrigin: !same_origin(protocol, domain),\n success: function (resp) {\n callback(null, _this._prepareResult(resp));\n },\n error: function (err) {\n handleRequestError(err, callback);\n }\n });\n};\n\n/**\n * Login with Social Access Token\n *\n * @param {Object} options\n * @param {Function} callback\n * @method loginWithSocialAccessToken\n */\n\nAuth0.prototype.loginWithSocialAccessToken = function (options, callback) {\n var _this = this;\n var query = this._buildAuthorizationParameters([\n { scope: this._scope },\n options,\n { client_id: this._clientID }\n ]);\n\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/oauth/access_token';\n var url = joinUrl(protocol, domain, endpoint);\n\n if (this._useJSONP) {\n return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n if (err) {\n return callback(err);\n }\n if('error' in resp) {\n var error = new LoginError(resp.status, resp.error);\n return callback(error);\n }\n callback(null, _this._prepareResult(resp));\n });\n }\n\n reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'json',\n data: query,\n headers: this._getClientInfoHeader(),\n crossOrigin: !same_origin(protocol, domain),\n success: function (resp) {\n callback(null, _this._prepareResult(resp));\n },\n error: function (err) {\n handleRequestError(err, callback);\n }\n });\n};\n\n/**\n * Open a popup, store the winref in the instance and return it.\n *\n * We usually need to call this method before any ajax transaction in order\n * to prevent the browser to block the popup.\n *\n * @param {[type]} options [description]\n * @param {Function} callback [description]\n * @return {[type]} [description]\n * @private\n */\n\nAuth0.prototype._buildPopupWindow = function (options, url) {\n if (this._current_popup && !this._current_popup.closed) {\n return this._current_popup;\n }\n\n url = url || 'about:blank'\n\n var _this = this;\n var defaults = { width: 500, height: 600 };\n var opts = xtend(defaults, options.popupOptions || {});\n var popupOptions = stringifyPopupSettings(opts);\n\n this._current_popup = window.open(url, 'auth0_signup_popup', popupOptions);\n\n if (!this._current_popup) {\n throw new Error('Popup window cannot not been created. Disable popup blocker or make sure to call Auth0 login or singup on an UI event.');\n }\n\n this._current_popup.kill = function () {\n this.close();\n _this._current_popup = null;\n };\n\n return this._current_popup;\n};\n\n/**\n * Login with Username and Password\n *\n * @param {Object} options\n * @param {Function} callback\n * @method loginWithUsernamePassword\n */\n\nAuth0.prototype.loginWithUsernamePassword = function (options, callback) {\n // XXX: Warning: This check is whether callback arguments are\n // fn(err) case callback.length === 1 (a redirect should be performed) vs.\n // fn(err, profile, id_token, access_token, state) callback.length > 1 (no\n // redirect should be performed)\n //\n // Note: Phonegap/Cordova:\n // As the popup is launched using the InAppBrowser plugin the SSO cookie will\n // be set on the InAppBrowser browser. That's why the browser where the app runs\n // won't get the sso cookie. Therefore, we don't allow username password using\n // popup with sso: true in Cordova/Phonegap and we default to resource owner auth.\n if (callback && callback.length > 1 && (!options.sso || window.cordova)) {\n return this.loginWithResourceOwner(options, callback);\n }\n\n var _this = this;\n var popup;\n\n // TODO We should deprecate this, really hacky and confuses people.\n if (options.popup && !this._getCallbackOnLocationHash(options)) {\n popup = this._buildPopupWindow(options);\n }\n\n if (!options.nonce && this._responseType.indexOf('id_token') > -1) {\n throw new Error('nonce is mandatory');\n }\n\n // When a callback with more than one argument is specified and sso: true then\n // we open a popup and do authentication there.\n if (callback && callback.length > 1 && options.sso ) {\n return this.loginWithUsernamePasswordAndSSO(options, callback);\n }\n\n var query = xtend(\n this._getMode(options),\n options,\n {\n client_id: this._clientID,\n redirect_uri: this._getCallbackURL(options),\n username: trim(options.username || options.email || ''),\n tenant: this._tenant\n });\n\n this._configureOfflineMode(query);\n\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/usernamepassword/login';\n var url = joinUrl(protocol, domain, endpoint);\n\n if (this._useJSONP) {\n return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n if (err) {\n if (popup && popup.kill) { popup.kill(); }\n return callback(err);\n }\n if('error' in resp) {\n if (popup && popup.kill) { popup.kill(); }\n var error = new LoginError(resp.status, resp.error);\n return callback(error);\n }\n _this._renderAndSubmitWSFedForm(options, resp.form);\n });\n }\n\n function return_error (error) {\n if (callback) {\n return callback(error);\n }\n throw error;\n }\n\n reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'html',\n data: query,\n headers: this._getClientInfoHeader(),\n crossOrigin: !same_origin(protocol, domain),\n success: function (resp) {\n _this._renderAndSubmitWSFedForm(options, resp);\n },\n error: function (err) {\n if (popup && popup.kill) {\n popup.kill();\n }\n handleRequestError(err, return_error);\n }\n });\n};\n\n/**\n * Login with phone number and passcode\n *\n * @param {Object} options\n * @param {Function} callback\n * @method loginWithPhoneNumber\n */\nAuth0.prototype.loginWithPasscode = function (options, callback) {\n\n if (options.email == null && options.phoneNumber == null) {\n throw new Error('email or phoneNumber is required for authentication');\n }\n\n if (options.passcode == null) {\n throw new Error('passcode is required for authentication');\n }\n\n options.connection = options.email == null ? 'sms' : 'email';\n\n if (!this._shouldRedirect) {\n options = xtend(options, {\n username: options.email == null ? options.phoneNumber : options.email,\n password: options.passcode,\n sso: false\n });\n\n delete options.email;\n delete options.phoneNumber;\n delete options.passcode;\n\n return this.loginWithResourceOwner(options, callback);\n }\n\n var verifyOptions = {connection: options.connection};\n\n if (options.phoneNumber) {\n options.phone_number = options.phoneNumber;\n delete options.phoneNumber;\n\n verifyOptions.phone_number = options.phone_number;\n }\n\n if (options.email) {\n verifyOptions.email = options.email;\n }\n\n options.verification_code = options.passcode;\n delete options.passcode;\n\n verifyOptions.verification_code = options.verification_code;\n\n var _this = this;\n this._verify(verifyOptions, function(error) {\n if (error) {\n return callback(error);\n }\n _this._verify_redirect(options);\n });\n};\n\nAuth0.prototype._verify = function(options, callback) {\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/passwordless/verify';\n var url = joinUrl(protocol, domain, endpoint);\n\n var data = options;\n\n if (this._useJSONP) {\n if (this._sendClientInfo) {\n data['auth0Client'] = this._getClientInfoString();\n }\n\n return jsonp(url + '?' + qs.stringify(data), jsonpOpts, function (err, resp) {\n if (err) {\n return callback(new Error(0 + ': ' + err.toString()));\n }\n // /**/ typeof __auth0jp0 === 'function' && __auth0jp0({\"status\":400});\n return resp.status === 200 ? callback(null, true) : callback({status: resp.status});\n });\n }\n\n return reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n headers: this._getClientInfoHeader(),\n crossOrigin: !same_origin(protocol, domain),\n data: data\n })\n .fail(function (err) {\n try {\n callback(JSON.parse(err.responseText));\n } catch (e) {\n var error = new Error(err.status + '(' + err.statusText + '): ' + err.responseText);\n error.statusCode = err.status;\n error.error = err.statusText;\n error.message = err.responseText;\n callback(error);\n }\n })\n .then(function (result) {\n callback(null, result);\n });\n}\n\nAuth0.prototype._verify_redirect = function(options) {\n var qs = [\n this._getMode(options),\n options,\n {\n client_id: this._clientID,\n redirect_uri: this._getCallbackURL(options)\n }\n ];\n\n var query = this._buildAuthorizeQueryString(qs);\n var url = joinUrl('https:', this._domain, '/passwordless/verify_redirect?' + query);\n\n this._redirect(url);\n};\n\n// TODO Document me\nAuth0.prototype.renewIdToken = function (id_token, callback) {\n this.getDelegationToken({\n id_token: id_token,\n scope: 'passthrough',\n api: 'auth0'\n }, callback);\n};\n\n// TODO Document me\nAuth0.prototype.refreshToken = function (refresh_token, callback) {\n this.getDelegationToken({\n refresh_token: refresh_token,\n scope: 'passthrough',\n api: 'auth0'\n }, callback);\n};\n\n/**\n * Get delegation token for certain addon or certain other clientId\n *\n * @example\n *\n * auth0.getDelegationToken({\n * id_token: '<user-id-token>',\n * target: '<app-client-id>'\n * api_type: 'auth0'\n * }, function (err, delegationResult) {\n * if (err) return console.log(err.message);\n * // Do stuff with delegation token\n * expect(delegationResult.id_token).to.exist;\n * expect(delegationResult.token_type).to.eql('Bearer');\n * expect(delegationResult.expires_in).to.eql(36000);\n * });\n *\n * @example\n *\n * // get a delegation token from a Firebase API App\n * auth0.getDelegationToken({\n * id_token: '<user-id-token>',\n * target: '<app-client-id>'\n * api_type: 'firebase'\n * }, function (err, delegationResult) {\n * // Use your firebase token here\n * });\n *\n * @method getDelegationToken\n * @param {Object} [options]\n * @param {String} [id_token]\n * @param {String} [target]\n * @param {String} [api_type]\n * @param {Function} [callback]\n */\nAuth0.prototype.getDelegationToken = function (options, callback) {\n options = options || {};\n\n if (!options.id_token && !options.refresh_token ) {\n throw new Error('You must send either an id_token or a refresh_token to get a delegation token.');\n }\n\n var query = xtend({\n grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer',\n client_id: this._clientID,\n target: options.targetClientId || this._clientID,\n api_type: options.api\n }, options);\n\n delete query.hasOwnProperty;\n delete query.targetClientId;\n delete query.api;\n\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/delegation';\n var url = joinUrl(protocol, domain, endpoint);\n\n if (this._useJSONP) {\n return jsonp(url + '?' + qs.stringify(query), jsonpOpts, function (err, resp) {\n if (err) {\n return callback(err);\n }\n if('error' in resp) {\n var error = new LoginError(resp.status, resp.error_description || resp.error);\n return callback(error);\n }\n callback(null, resp);\n });\n }\n\n reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'json',\n data: query,\n crossOrigin: !same_origin(protocol, domain),\n success: function (resp) {\n callback(null, resp);\n },\n error: function (err) {\n try {\n callback(JSON.parse(err.responseText));\n }\n catch (e) {\n var er = err;\n var isAffectedIEVersion = isInternetExplorer() === 10 || isInternetExplorer() === 11;\n var zeroStatus = (!er.status || er.status === 0);\n\n // Request failed because we are offline.\n // See: http://caniuse.com/#search=navigator.onLine\n if (zeroStatus && !window.navigator.onLine) {\n er = {};\n er.status = 0;\n er.responseText = {\n code: 'offline'\n };\n // http://stackoverflow.com/questions/23229723/ie-10-11-cors-status-0\n // XXX IE10 when a request fails in CORS returns status code 0\n // XXX This is not handled by handleRequestError as the errors are different\n } else if (zeroStatus && isAffectedIEVersion) {\n er = {};\n er.status = 401;\n er.responseText = {\n code: 'invalid_operation'\n };\n // If not IE10/11 and not offline it means that Auth0 host is unreachable:\n // Connection Timeout or Connection Refused.\n } else if (zeroStatus) {\n er = {};\n er.status = 0;\n er.responseText = {\n code: 'connection_refused_timeout'\n };\n } else {\n er.responseText = err;\n }\n callback(new LoginError(er.status, er.responseText));\n }\n }\n });\n};\n\n/**\n * Fetches a new id_token/access_token from Auth0\n *\n * @example\n *\n * auth0.silentAuthentication({}, function(error, result) {\n * if (error) {\n * console.log(error);\n * }\n * // result.id_token\n * });\n *\n * @example\n *\n * auth0.silentAuthentication({callbackUrl: \"https://site.com/silentCallback\"}, function(error, result) {\n * if (error) {\n * console.log(error);\n * }\n * // result.id_token\n * });\n *\n * @method silentAutnetication\n * @param {Object} options\n * @param {function} callback\n */\nAuth0.prototype.silentAuthentication = function (options, callback) {\n var usePostMessage = options.usePostMessage || false;\n\n delete options.usePostMessage;\n\n options = xtend(options, {prompt:'none'});\n var handler = new SilentAuthenticationHandler(this, this._buildAuthorizeUrl(options));\n handler.login(callback, usePostMessage);\n};\n\n/**\n * Trigger logout redirect with\n * params from `query` object\n *\n * @example\n *\n * auth0.logout();\n * // redirects to -> 'https://yourapp.auth0.com/logout'\n *\n * @example\n *\n * auth0.logout({returnTo: 'http://logout'});\n * // redirects to -> 'https://yourapp.auth0.com/logout?returnTo=http://logout'\n *\n * @example\n *\n * auth0.logout(null, {version: 'v2'});\n * // redirects to -> 'https://yourapp.auth0.com/v2/logout'\n *\n * @example\n *\n * auth0.logout({returnTo: 'http://logout'}, {version: 2});\n * // redirects to -> 'https://yourapp.auth0.com/v2/logout?returnTo=http://logout'\n *\n * @method logout\n * @param {Object} query\n */\n\nAuth0.prototype.logout = function (query, options) {\n var pathName = '/logout';\n options = options || {};\n\n if (options.version == 'v2') {\n pathName = '/v2' + pathName\n }\n\n var url = joinUrl('https:', this._domain, pathName);\n\n if (query) {\n url += '?' + qs.stringify(query);\n }\n\n this._redirect(url);\n};\n\n/**\n * Get single sign on Data\n *\n * @example\n *\n * auth0.getSSOData(function (err, ssoData) {\n * if (err) return console.log(err.message);\n * expect(ssoData.sso).to.exist;\n * });\n *\n * @example\n *\n * auth0.getSSOData(false, fn);\n *\n * @method getSSOData\n * @param {Boolean} withActiveDirectories\n * @param {Function} cb\n */\n\nAuth0.prototype.getSSOData = function (withActiveDirectories, cb) {\n if (typeof withActiveDirectories === 'function') {\n cb = withActiveDirectories;\n withActiveDirectories = false;\n }\n\n var noResult = {sso: false};\n\n if (this._useJSONP) {\n var error = new Error(\"The SSO data can't be obtained using JSONP\");\n setTimeout(function() { cb(error, noResult) }, 0);\n return;\n }\n\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/user/ssodata';\n var url = joinUrl(protocol, domain, endpoint);\n var sameOrigin = same_origin(protocol, domain);\n var data = {};\n\n if (withActiveDirectories) {\n data = {ldaps: 1, client_id: this._clientID};\n }\n\n return reqwest({\n url: sameOrigin ? endpoint : url,\n method: 'get',\n type: 'json',\n data: data,\n crossOrigin: !sameOrigin,\n withCredentials: !sameOrigin,\n timeout: 3000\n }).fail(function(err) {\n var error = new Error(\"There was an error in the request that obtains the user's SSO data.\");\n error.cause = err;\n cb(error, noResult);\n }).then(function(resp) {\n cb(null, resp);\n });\n};\n\n/**\n * Get all configured connections for a client\n *\n * @method getConnections\n * @param {Function} callback\n * @deprecated This method is deprecated. If you need to get the connections please use Management API https://auth0.com/docs/api/management/v2#!/Connections/get_connections\n */\n\nAuth0.prototype.getConnections = function (callback) {\n warn('getConnections is deprecated and will be removed shortly. Please use Management API endpoint /connections to list the connections');\n return jsonp('https://' + this._domain + '/public/api/' + this._clientID + '/connections', jsonpOpts, callback);\n};\n\n/**\n * Send email or SMS to do passwordless authentication\n *\n * @example\n * // To send an email\n * auth0.startPasswordless({email: 'foo@bar.com'}, function (err, result) {\n * if (err) return console.log(err.error_description);\n * console.log(result);\n * });\n *\n * @example\n * // To send a SMS\n * auth0.startPasswordless({phoneNumber: '+14251112222'}, function (err, result) {\n * if (err) return console.log(err.error_description);\n * console.log(result);\n * });\n *\n * @method startPasswordless\n * @param {Object} options\n * @param {Function} callback\n */\n\nAuth0.prototype.startPasswordless = function (options, callback) {\n if ('object' !== typeof options) {\n throw new Error('An options object is required');\n }\n if ('function' !== typeof callback) {\n throw new Error('A callback function is required');\n }\n if (!options.email && !options.phoneNumber) {\n throw new Error('An `email` or a `phoneNumber` is required.');\n }\n\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = '/passwordless/start';\n var url = joinUrl(protocol, domain, endpoint);\n\n var data = {client_id: this._clientID};\n if (options.email) {\n data.email = options.email;\n data.connection = 'email';\n if (options.authParams) {\n data.authParams = options.authParams;\n }\n\n if (!options.send || options.send === \"link\") {\n if (!data.authParams) {\n data.authParams = {};\n }\n\n data.authParams.redirect_uri = options.callbackURL || this._callbackURL;\n data.authParams.response_type = this._getResponseType(options);\n }\n\n if (options.send) {\n data.send = options.send;\n }\n } else {\n data.phone_number = options.phoneNumber;\n data.connection = 'sms';\n }\n\n if (this._useJSONP) {\n if (this._sendClientInfo) {\n data['auth0Client'] = this._getClientInfoString();\n }\n\n return jsonp(url + '?' + qs.stringify(data), jsonpOpts, function (err, resp) {\n if (err) {\n return callback(new Error(0 + ': ' + err.toString()));\n }\n return resp.status === 200 ? callback(null, true) : callback(resp.err || resp.error);\n });\n }\n\n return reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: 'post',\n type: 'json',\n headers: this._getClientInfoHeader(),\n crossOrigin: !same_origin(protocol, domain),\n data: data\n })\n .fail(function (err) {\n try {\n callback(JSON.parse(err.responseText));\n } catch (e) {\n var error = new Error(err.status + '(' + err.statusText + '): ' + err.responseText);\n error.statusCode = err.status;\n error.error = err.statusText;\n error.message = err.responseText;\n callback(error);\n }\n })\n .then(function (result) {\n callback(null, result);\n });\n};\n\nAuth0.prototype.requestMagicLink = function(attrs, cb) {\n return this.startPasswordless(attrs, cb);\n};\n\nAuth0.prototype.requestEmailCode = function(attrs, cb) {\n attrs.send = \"code\";\n return this.startPasswordless(attrs, cb);\n};\n\nAuth0.prototype.verifyEmailCode = function(attrs, cb) {\n attrs.passcode = attrs.code;\n delete attrs.code;\n return this.login(attrs, cb);\n};\n\nAuth0.prototype.requestSMSCode = function(attrs, cb) {\n return this.startPasswordless(attrs, cb);\n};\n\nAuth0.prototype.verifySMSCode = function(attrs, cb) {\n attrs.passcode = attrs.code;\n delete attrs.code;\n return this.login(attrs, cb);\n};\n\n/**\n * Returns the ISO 3166-1 code for the country where the request is\n * originating.\n *\n * Fails if the request has to be made using JSONP.\n *\n * @private\n */\nAuth0.prototype.getUserCountry = function(cb) {\n var protocol = 'https:';\n var domain = this._domain;\n var endpoint = \"/user/geoloc/country\";\n var url = joinUrl(protocol, domain, endpoint);\n\n if (this._useJSONP) {\n var error = new Error(\"The user's country can't be obtained using JSONP\");\n setTimeout(function() { cb(error) }, 0);\n return;\n }\n\n reqwest({\n url: same_origin(protocol, domain) ? endpoint : url,\n method: \"get\",\n type: \"json\",\n headers: this._getClientInfoHeader(),\n crossOrigin: !same_origin(protocol, domain),\n success: function(resp) {\n cb(null, resp.country_code)\n },\n error: function(err) {\n var error = new Error(\"There was an error in the request that obtains the user's country\");\n error.cause = err;\n cb(error);\n }\n });\n}\n\nAuth0.prototype._prepareResult = function(result) {\n if (!result || typeof result !== \"object\") {\n return;\n }\n\n var decodedIdToken = result.id_token ? this.decodeJwt(result.id_token) : undefined;\n\n return {\n accessToken: result.access_token,\n idToken: result.id_token,\n idTokenPayload: result.profile || decodedIdToken,\n refreshToken: result.refresh_token,\n state: result.state\n };\n}\n\nAuth0.prototype._parseResponseType = function(opts, setFlags) {\n if (!opts) opts = {};\n\n if (setFlags\n && !this._providedResponseOptions\n && opts.hasOwnProperty(\"callbackOnLocationHash\")) {\n this._providedCallbackOnLocationHash = true;\n }\n\n if (setFlags\n && !this._providedCallbackOnLocationHash\n && opts.hasOwnProperty(\"responseType\")) {\n this._providedResponseOptions = true;\n }\n\n if (!this._providedCallbackOnLocationHash\n && !this._providedResponseOptions\n && opts.hasOwnProperty(\"callbackOnLocationHash\")\n && opts.hasOwnProperty(\"responseType\")) {\n warn(\"The responseType option will be ignored. Both callbackOnLocationHash and responseType options were provided and they can't be used together.\");\n }\n\n if (this._providedCallbackOnLocationHash\n && opts.hasOwnProperty(\"responseType\")) {\n warn(\"The responseType option will be ignored. The callbackOnLocationHash option was provided to the constructor and they can't be mixed.\");\n }\n\n if (this._providedResponseOptions\n && opts.hasOwnProperty(\"callbackOnLocationHash\")) {\n warn(\"The callbackOnLocationHash option will be ignored. The responseType option was provided to the constructor and they can't be mixed.\");\n }\n\n if (!this._providedCallbackOnLocationHash\n && !opts.hasOwnProperty(\"callbackOnLocationHash\")\n && opts.responseType\n && !validResponseType(opts.responseType)) {\n warn(\"The responseType option will be ignored. Its valid values are \\\"code\\\", \\\"id_token\\\", \\\"token\\\" or any combination of them.\");\n }\n\n var result = undefined;\n\n if (!this._providedResponseOptions\n && null != opts.callbackOnLocationHash) {\n result = callbackOnLocationHashToResponseType(opts.callbackOnLocationHash);\n }\n\n if (!this._providedCallbackOnLocationHash\n && !opts.hasOwnProperty(\"callbackOnLocationHash\")\n && opts.responseType\n && validResponseType(opts.responseType)) {\n result = opts.responseType;\n }\n\n return result;\n}\n\nAuth0.prototype._parseResponseMode = function(opts, setFlags) {\n if (!opts) opts = {};\n\n if (setFlags\n && !this._providedCallbackOnLocationHash\n && opts.hasOwnProperty(\"responseMode\")) {\n this._providedResponseOptions = true;\n }\n\n if (this._providedCallbackOnLocationHash\n && opts.hasOwnProperty(\"responseMode\")) {\n warn(\"The responseMode option will be ignored. The callbackOnLocationHash option was provided to the constructor and they can't be mixed.\");\n }\n\n if (!this._providedCallbackOnLocationHash\n && !this._providedResponseOptions\n && opts.hasOwnProperty(\"callbackOnLocationHash\")\n && opts.hasOwnProperty(\"responseMode\")) {\n warn(\"The responseMode option will be ignored. Both callbackOnLocationHash and responseMode options were provided and they can't be used together.\");\n }\n\n var result = undefined;\n\n if (!this._providedCallbackOnLocationHash\n && opts.responseMode\n && !validResponseMode(opts.responseMode)) {\n warn(\"The responseMode option will be ignored. Its only valid value is \\\"form_post\\\".\");\n }\n\n if (!this._providedCallbackOnLocationHash\n && validResponseMode(opts.responseMode)) {\n result = opts.responseMode;\n }\n\n return result;\n}\n\nfunction callbackOnLocationHashToResponseType(x) {\n return x ? \"token\" : \"code\";\n}\n\nfunction validResponseType(str) {\n if (typeof str !== \"string\") return false;\n\n var RESPONSE_TYPES = [\"code\", \"id_token\", \"token\"];\n var parts = str.split(\" \");\n\n for (var i = 0; i < parts.length; i++) {\n if (RESPONSE_TYPES.indexOf(parts[i]) === -1) return false;\n }\n\n return parts.length >= 1;\n}\n\nfunction validResponseMode(str) {\n return str === \"form_post\";\n}\n\n\nfunction warn(str) {\n if (console && console.warn) {\n console.warn(str);\n }\n}\n\n/**\n * Expose `Auth0` constructor\n */\n\nmodule.exports = Auth0;\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/index.js","var _ = require('underscore');\n\n/* OWASP Special Characters: https://www.owasp.org/index.php/Password_special_characters */\nvar specialCharacters = [' ', '!', '\"', '#', '\\\\$', '%', '&', '\\'', '\\\\(', '\\\\)', '\\\\*', '\\\\+', ',', '-', '\\\\.', '/', ':', ';', '<', '=', '>', '\\\\?', '@', '\\\\[', '\\\\\\\\', '\\\\]', '\\\\^', '_','`','{','\\\\|', '}','~'].join('|');\n\nvar specialCharactersRegexp = new RegExp(specialCharacters);\n\nmodule.exports = {\n validate: function (options) {\n if (!_.isObject(options)) {\n throw new Error('options should be an object');\n }\n\n if (!_.isArray(options.expressions) || _.isEmpty(options.expressions)) {\n throw new Error('contains expects expressions to be a non-empty array');\n }\n\n var ok = options.expressions.every(function (expression) {\n return _.isFunction(expression.explain) && _.isFunction(expression.test);\n });\n\n if (!ok) {\n throw new Error('contains expressions are invalid: An explain and a test function should be provided');\n }\n return true;\n },\n explain: function (options) {\n return {\n message: 'Should contain:',\n code: 'shouldContain',\n items: options.expressions.map(function (expression) {\n return expression.explain();\n })\n };\n },\n missing: function (options, password) {\n var expressions = options.expressions.map(function (expression) {\n var explained = expression.explain();\n explained.verified = expression.test(password);\n return explained;\n });\n\n var verified = expressions.every(function (expression) {\n return expression.verified;\n });\n\n return {\n message: 'Should contain:',\n code: 'shouldContain',\n verified: verified,\n items: expressions\n };\n },\n assert: function (options, password) {\n if (!password) {\n return false;\n }\n\n return options.expressions.every(function (expression) {\n var result = expression.test(password);\n return result;\n });\n },\n charsets: {\n upperCase: {\n explain: function () { return {\n message: 'upper case letters (A-Z)',\n code: 'upperCase'\n }; },\n test: function (password) { return /[A-Z]/.test(password); }\n },\n lowerCase: {\n explain: function () { return {\n message: 'lower case letters (a-z)',\n code: 'lowerCase'\n }; },\n test: function (password) { return /[a-z]/.test(password); }\n },\n specialCharacters: {\n explain: function () { return {\n message: 'special characters (e.g. !@#$%^&*)',\n code: 'specialCharacters'\n }; },\n test: function (password) { return specialCharactersRegexp.test(password); }\n },\n numbers: {\n explain: function () { return {\n message: 'numbers (i.e. 0-9)',\n code: 'numbers'\n }; },\n test: function (password) { return /\\d/.test(password); }\n }\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/password-sheriff/lib/rules/contains.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar Danger = require('./Danger');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar createMicrosoftUnsafeLocalFunction = require('./createMicrosoftUnsafeLocalFunction');\nvar setInnerHTML = require('./setInnerHTML');\nvar setTextContent = require('./setTextContent');\n\nfunction getNodeAfter(parentNode, node) {\n // Special case for text components, which return [open, close] comments\n // from getHostNode.\n if (Array.isArray(node)) {\n node = node[1];\n }\n return node ? node.nextSibling : parentNode.firstChild;\n}\n\n/**\n * Inserts `childNode` as a child of `parentNode` at the `index`.\n *\n * @param {DOMElement} parentNode Parent node in which to insert.\n * @param {DOMElement} childNode Child node to insert.\n * @param {number} index Index at which to insert the child.\n * @internal\n */\nvar insertChildAt = createMicrosoftUnsafeLocalFunction(function (parentNode, childNode, referenceNode) {\n // We rely exclusively on `insertBefore(node, null)` instead of also using\n // `appendChild(node)`. (Using `undefined` is not allowed by all browsers so\n // we are careful to use `null`.)\n parentNode.insertBefore(childNode, referenceNode);\n});\n\nfunction insertLazyTreeChildAt(parentNode, childTree, referenceNode) {\n DOMLazyTree.insertTreeBefore(parentNode, childTree, referenceNode);\n}\n\nfunction moveChild(parentNode, childNode, referenceNode) {\n if (Array.isArray(childNode)) {\n moveDelimitedText(parentNode, childNode[0], childNode[1], referenceNode);\n } else {\n insertChildAt(parentNode, childNode, referenceNode);\n }\n}\n\nfunction removeChild(parentNode, childNode) {\n if (Array.isArray(childNode)) {\n var closingComment = childNode[1];\n childNode = childNode[0];\n removeDelimitedText(parentNode, childNode, closingComment);\n parentNode.removeChild(closingComment);\n }\n parentNode.removeChild(childNode);\n}\n\nfunction moveDelimitedText(parentNode, openingComment, closingComment, referenceNode) {\n var node = openingComment;\n while (true) {\n var nextNode = node.nextSibling;\n insertChildAt(parentNode, node, referenceNode);\n if (node === closingComment) {\n break;\n }\n node = nextNode;\n }\n}\n\nfunction removeDelimitedText(parentNode, startNode, closingComment) {\n while (true) {\n var node = startNode.nextSibling;\n if (node === closingComment) {\n // The closing comment is removed by ReactMultiChild.\n break;\n } else {\n parentNode.removeChild(node);\n }\n }\n}\n\nfunction replaceDelimitedText(openingComment, closingComment, stringText) {\n var parentNode = openingComment.parentNode;\n var nodeAfterComment = openingComment.nextSibling;\n if (nodeAfterComment === closingComment) {\n // There are no text nodes between the opening and closing comments; insert\n // a new one if stringText isn't empty.\n if (stringText) {\n insertChildAt(parentNode, document.createTextNode(stringText), nodeAfterComment);\n }\n } else {\n if (stringText) {\n // Set the text content of the first node after the opening comment, and\n // remove all following nodes up until the closing comment.\n setTextContent(nodeAfterComment, stringText);\n removeDelimitedText(parentNode, nodeAfterComment, closingComment);\n } else {\n removeDelimitedText(parentNode, openingComment, closingComment);\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID,\n type: 'replace text',\n payload: stringText\n });\n }\n}\n\nvar dangerouslyReplaceNodeWithMarkup = Danger.dangerouslyReplaceNodeWithMarkup;\nif (process.env.NODE_ENV !== 'production') {\n dangerouslyReplaceNodeWithMarkup = function (oldChild, markup, prevInstance) {\n Danger.dangerouslyReplaceNodeWithMarkup(oldChild, markup);\n if (prevInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: prevInstance._debugID,\n type: 'replace with',\n payload: markup.toString()\n });\n } else {\n var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node);\n if (nextInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: nextInstance._debugID,\n type: 'mount',\n payload: markup.toString()\n });\n }\n }\n };\n}\n\n/**\n * Operations for updating with DOM children.\n */\nvar DOMChildrenOperations = {\n\n dangerouslyReplaceNodeWithMarkup: dangerouslyReplaceNodeWithMarkup,\n\n replaceDelimitedText: replaceDelimitedText,\n\n /**\n * Updates a component's children by processing a series of updates. The\n * update configurations are each expected to have a `parentNode` property.\n *\n * @param {array<object>} updates List of update configurations.\n * @internal\n */\n processUpdates: function (parentNode, updates) {\n if (process.env.NODE_ENV !== 'production') {\n var parentNodeDebugID = ReactDOMComponentTree.getInstanceFromNode(parentNode)._debugID;\n }\n\n for (var k = 0; k < updates.length; k++) {\n var update = updates[k];\n switch (update.type) {\n case 'INSERT_MARKUP':\n insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'insert child',\n payload: { toIndex: update.toIndex, content: update.content.toString() }\n });\n }\n break;\n case 'MOVE_EXISTING':\n moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'move child',\n payload: { fromIndex: update.fromIndex, toIndex: update.toIndex }\n });\n }\n break;\n case 'SET_MARKUP':\n setInnerHTML(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'replace children',\n payload: update.content.toString()\n });\n }\n break;\n case 'TEXT_CONTENT':\n setTextContent(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'replace text',\n payload: update.content.toString()\n });\n }\n break;\n case 'REMOVE_NODE':\n removeChild(parentNode, update.fromNode);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'remove child',\n payload: { fromIndex: update.fromIndex }\n });\n }\n break;\n }\n }\n }\n\n};\n\nmodule.exports = DOMChildrenOperations;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/DOMChildrenOperations.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMNamespaces = {\n html: 'http://www.w3.org/1999/xhtml',\n mathml: 'http://www.w3.org/1998/Math/MathML',\n svg: 'http://www.w3.org/2000/svg'\n};\n\nmodule.exports = DOMNamespaces;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/DOMNamespaces.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Injectable ordering of event plugins.\n */\nvar eventPluginOrder = null;\n\n/**\n * Injectable mapping from names to event plugin modules.\n */\nvar namesToPlugins = {};\n\n/**\n * Recomputes the plugin list using the injected plugins and plugin ordering.\n *\n * @private\n */\nfunction recomputePluginOrdering() {\n if (!eventPluginOrder) {\n // Wait until an `eventPluginOrder` is injected.\n return;\n }\n for (var pluginName in namesToPlugins) {\n var pluginModule = namesToPlugins[pluginName];\n var pluginIndex = eventPluginOrder.indexOf(pluginName);\n !(pluginIndex > -1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.', pluginName) : _prodInvariant('96', pluginName) : void 0;\n if (EventPluginRegistry.plugins[pluginIndex]) {\n continue;\n }\n !pluginModule.extractEvents ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.', pluginName) : _prodInvariant('97', pluginName) : void 0;\n EventPluginRegistry.plugins[pluginIndex] = pluginModule;\n var publishedEvents = pluginModule.eventTypes;\n for (var eventName in publishedEvents) {\n !publishEventForPlugin(publishedEvents[eventName], pluginModule, eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : _prodInvariant('98', eventName, pluginName) : void 0;\n }\n }\n}\n\n/**\n * Publishes an event so that it can be dispatched by the supplied plugin.\n *\n * @param {object} dispatchConfig Dispatch configuration for the event.\n * @param {object} PluginModule Plugin publishing the event.\n * @return {boolean} True if the event was successfully published.\n * @private\n */\nfunction publishEventForPlugin(dispatchConfig, pluginModule, eventName) {\n !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.', eventName) : _prodInvariant('99', eventName) : void 0;\n EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig;\n\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (var phaseName in phasedRegistrationNames) {\n if (phasedRegistrationNames.hasOwnProperty(phaseName)) {\n var phasedRegistrationName = phasedRegistrationNames[phaseName];\n publishRegistrationName(phasedRegistrationName, pluginModule, eventName);\n }\n }\n return true;\n } else if (dispatchConfig.registrationName) {\n publishRegistrationName(dispatchConfig.registrationName, pluginModule, eventName);\n return true;\n }\n return false;\n}\n\n/**\n * Publishes a registration name that is used to identify dispatched events and\n * can be used with `EventPluginHub.putListener` to register listeners.\n *\n * @param {string} registrationName Registration name to add.\n * @param {object} PluginModule Plugin publishing the event.\n * @private\n */\nfunction publishRegistrationName(registrationName, pluginModule, eventName) {\n !!EventPluginRegistry.registrationNameModules[registrationName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.', registrationName) : _prodInvariant('100', registrationName) : void 0;\n EventPluginRegistry.registrationNameModules[registrationName] = pluginModule;\n EventPluginRegistry.registrationNameDependencies[registrationName] = pluginModule.eventTypes[eventName].dependencies;\n\n if (process.env.NODE_ENV !== 'production') {\n var lowerCasedName = registrationName.toLowerCase();\n EventPluginRegistry.possibleRegistrationNames[lowerCasedName] = registrationName;\n\n if (registrationName === 'onDoubleClick') {\n EventPluginRegistry.possibleRegistrationNames.ondblclick = registrationName;\n }\n }\n}\n\n/**\n * Registers plugins so that they can extract and dispatch events.\n *\n * @see {EventPluginHub}\n */\nvar EventPluginRegistry = {\n\n /**\n * Ordered list of injected plugins.\n */\n plugins: [],\n\n /**\n * Mapping from event name to dispatch config\n */\n eventNameDispatchConfigs: {},\n\n /**\n * Mapping from registration name to plugin module\n */\n registrationNameModules: {},\n\n /**\n * Mapping from registration name to event name\n */\n registrationNameDependencies: {},\n\n /**\n * Mapping from lowercase registration names to the properly cased version,\n * used to warn in the case of missing event handlers. Available\n * only in __DEV__.\n * @type {Object}\n */\n possibleRegistrationNames: process.env.NODE_ENV !== 'production' ? {} : null,\n // Trust the developer to only use possibleRegistrationNames in __DEV__\n\n /**\n * Injects an ordering of plugins (by plugin name). This allows the ordering\n * to be decoupled from injection of the actual plugins so that ordering is\n * always deterministic regardless of packaging, on-the-fly injection, etc.\n *\n * @param {array} InjectedEventPluginOrder\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginOrder}\n */\n injectEventPluginOrder: function (injectedEventPluginOrder) {\n !!eventPluginOrder ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.') : _prodInvariant('101') : void 0;\n // Clone the ordering so it cannot be dynamically mutated.\n eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);\n recomputePluginOrdering();\n },\n\n /**\n * Injects plugins to be used by `EventPluginHub`. The plugin names must be\n * in the ordering injected by `injectEventPluginOrder`.\n *\n * Plugins can be injected as part of page initialization or on-the-fly.\n *\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginsByName}\n */\n injectEventPluginsByName: function (injectedNamesToPlugins) {\n var isOrderingDirty = false;\n for (var pluginName in injectedNamesToPlugins) {\n if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n continue;\n }\n var pluginModule = injectedNamesToPlugins[pluginName];\n if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== pluginModule) {\n !!namesToPlugins[pluginName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.', pluginName) : _prodInvariant('102', pluginName) : void 0;\n namesToPlugins[pluginName] = pluginModule;\n isOrderingDirty = true;\n }\n }\n if (isOrderingDirty) {\n recomputePluginOrdering();\n }\n },\n\n /**\n * Looks up the plugin for the supplied event.\n *\n * @param {object} event A synthetic event.\n * @return {?object} The plugin that created the supplied event.\n * @internal\n */\n getPluginModuleForEvent: function (event) {\n var dispatchConfig = event.dispatchConfig;\n if (dispatchConfig.registrationName) {\n return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName] || null;\n }\n if (dispatchConfig.phasedRegistrationNames !== undefined) {\n // pulling phasedRegistrationNames out of dispatchConfig helps Flow see\n // that it is not undefined.\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n\n for (var phase in phasedRegistrationNames) {\n if (!phasedRegistrationNames.hasOwnProperty(phase)) {\n continue;\n }\n var pluginModule = EventPluginRegistry.registrationNameModules[phasedRegistrationNames[phase]];\n if (pluginModule) {\n return pluginModule;\n }\n }\n }\n return null;\n },\n\n /**\n * Exposed for unit testing.\n * @private\n */\n _resetEventPlugins: function () {\n eventPluginOrder = null;\n for (var pluginName in namesToPlugins) {\n if (namesToPlugins.hasOwnProperty(pluginName)) {\n delete namesToPlugins[pluginName];\n }\n }\n EventPluginRegistry.plugins.length = 0;\n\n var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs;\n for (var eventName in eventNameDispatchConfigs) {\n if (eventNameDispatchConfigs.hasOwnProperty(eventName)) {\n delete eventNameDispatchConfigs[eventName];\n }\n }\n\n var registrationNameModules = EventPluginRegistry.registrationNameModules;\n for (var registrationName in registrationNameModules) {\n if (registrationNameModules.hasOwnProperty(registrationName)) {\n delete registrationNameModules[registrationName];\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var possibleRegistrationNames = EventPluginRegistry.possibleRegistrationNames;\n for (var lowerCasedName in possibleRegistrationNames) {\n if (possibleRegistrationNames.hasOwnProperty(lowerCasedName)) {\n delete possibleRegistrationNames[lowerCasedName];\n }\n }\n }\n }\n\n};\n\nmodule.exports = EventPluginRegistry;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/EventPluginRegistry.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactErrorUtils = require('./ReactErrorUtils');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Injected dependencies:\n */\n\n/**\n * - `ComponentTree`: [required] Module that can convert between React instances\n * and actual node references.\n */\nvar ComponentTree;\nvar TreeTraversal;\nvar injection = {\n injectComponentTree: function (Injected) {\n ComponentTree = Injected;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.getNodeFromInstance && Injected.getInstanceFromNode, 'EventPluginUtils.injection.injectComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0;\n }\n },\n injectTreeTraversal: function (Injected) {\n TreeTraversal = Injected;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.isAncestor && Injected.getLowestCommonAncestor, 'EventPluginUtils.injection.injectTreeTraversal(...): Injected ' + 'module is missing isAncestor or getLowestCommonAncestor.') : void 0;\n }\n }\n};\n\nfunction isEndish(topLevelType) {\n return topLevelType === 'topMouseUp' || topLevelType === 'topTouchEnd' || topLevelType === 'topTouchCancel';\n}\n\nfunction isMoveish(topLevelType) {\n return topLevelType === 'topMouseMove' || topLevelType === 'topTouchMove';\n}\nfunction isStartish(topLevelType) {\n return topLevelType === 'topMouseDown' || topLevelType === 'topTouchStart';\n}\n\nvar validateEventDispatches;\nif (process.env.NODE_ENV !== 'production') {\n validateEventDispatches = function (event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n\n var listenersIsArr = Array.isArray(dispatchListeners);\n var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;\n\n var instancesIsArr = Array.isArray(dispatchInstances);\n var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0;\n\n process.env.NODE_ENV !== 'production' ? warning(instancesIsArr === listenersIsArr && instancesLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : void 0;\n };\n}\n\n/**\n * Dispatch the event to the listener.\n * @param {SyntheticEvent} event SyntheticEvent to handle\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @param {function} listener Application-level callback\n * @param {*} inst Internal component instance\n */\nfunction executeDispatch(event, simulated, listener, inst) {\n var type = event.type || 'unknown-event';\n event.currentTarget = EventPluginUtils.getNodeFromInstance(inst);\n if (simulated) {\n ReactErrorUtils.invokeGuardedCallbackWithCatch(type, listener, event);\n } else {\n ReactErrorUtils.invokeGuardedCallback(type, listener, event);\n }\n event.currentTarget = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches.\n */\nfunction executeDispatchesInOrder(event, simulated) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and Instances are two parallel arrays that are always in sync.\n executeDispatch(event, simulated, dispatchListeners[i], dispatchInstances[i]);\n }\n } else if (dispatchListeners) {\n executeDispatch(event, simulated, dispatchListeners, dispatchInstances);\n }\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches, but stops\n * at the first dispatch execution returning true, and returns that id.\n *\n * @return {?string} id of the first dispatch execution who's listener returns\n * true, or null if no listener returned true.\n */\nfunction executeDispatchesInOrderStopAtTrueImpl(event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and Instances are two parallel arrays that are always in sync.\n if (dispatchListeners[i](event, dispatchInstances[i])) {\n return dispatchInstances[i];\n }\n }\n } else if (dispatchListeners) {\n if (dispatchListeners(event, dispatchInstances)) {\n return dispatchInstances;\n }\n }\n return null;\n}\n\n/**\n * @see executeDispatchesInOrderStopAtTrueImpl\n */\nfunction executeDispatchesInOrderStopAtTrue(event) {\n var ret = executeDispatchesInOrderStopAtTrueImpl(event);\n event._dispatchInstances = null;\n event._dispatchListeners = null;\n return ret;\n}\n\n/**\n * Execution of a \"direct\" dispatch - there must be at most one dispatch\n * accumulated on the event or it is considered an error. It doesn't really make\n * sense for an event with multiple dispatches (bubbled) to keep track of the\n * return values at each dispatch execution, but it does tend to make sense when\n * dealing with \"direct\" dispatches.\n *\n * @return {*} The return value of executing the single dispatch.\n */\nfunction executeDirectDispatch(event) {\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n var dispatchListener = event._dispatchListeners;\n var dispatchInstance = event._dispatchInstances;\n !!Array.isArray(dispatchListener) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : _prodInvariant('103') : void 0;\n event.currentTarget = dispatchListener ? EventPluginUtils.getNodeFromInstance(dispatchInstance) : null;\n var res = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return res;\n}\n\n/**\n * @param {SyntheticEvent} event\n * @return {boolean} True iff number of dispatches accumulated is greater than 0.\n */\nfunction hasDispatches(event) {\n return !!event._dispatchListeners;\n}\n\n/**\n * General utilities that are useful in creating custom Event Plugins.\n */\nvar EventPluginUtils = {\n isEndish: isEndish,\n isMoveish: isMoveish,\n isStartish: isStartish,\n\n executeDirectDispatch: executeDirectDispatch,\n executeDispatchesInOrder: executeDispatchesInOrder,\n executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue,\n hasDispatches: hasDispatches,\n\n getInstanceFromNode: function (node) {\n return ComponentTree.getInstanceFromNode(node);\n },\n getNodeFromInstance: function (node) {\n return ComponentTree.getNodeFromInstance(node);\n },\n isAncestor: function (a, b) {\n return TreeTraversal.isAncestor(a, b);\n },\n getLowestCommonAncestor: function (a, b) {\n return TreeTraversal.getLowestCommonAncestor(a, b);\n },\n getParentInstance: function (inst) {\n return TreeTraversal.getParentInstance(inst);\n },\n traverseTwoPhase: function (target, fn, arg) {\n return TreeTraversal.traverseTwoPhase(target, fn, arg);\n },\n traverseEnterLeave: function (from, to, fn, argFrom, argTo) {\n return TreeTraversal.traverseEnterLeave(from, to, fn, argFrom, argTo);\n },\n\n injection: injection\n};\n\nmodule.exports = EventPluginUtils;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/EventPluginUtils.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/**\n * Escape and wrap key so it is safe to use as a reactid\n *\n * @param {string} key to be escaped.\n * @return {string} the escaped key.\n */\n\nfunction escape(key) {\n var escapeRegex = /[=:]/g;\n var escaperLookup = {\n '=': '=0',\n ':': '=2'\n };\n var escapedString = ('' + key).replace(escapeRegex, function (match) {\n return escaperLookup[match];\n });\n\n return '$' + escapedString;\n}\n\n/**\n * Unescape and unwrap key for human-readable display\n *\n * @param {string} key to unescape.\n * @return {string} the unescaped key.\n */\nfunction unescape(key) {\n var unescapeRegex = /(=0|=2)/g;\n var unescaperLookup = {\n '=0': '=',\n '=2': ':'\n };\n var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1);\n\n return ('' + keySubstring).replace(unescapeRegex, function (match) {\n return unescaperLookup[match];\n });\n}\n\nvar KeyEscapeUtils = {\n escape: escape,\n unescape: unescape\n};\n\nmodule.exports = KeyEscapeUtils;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/KeyEscapeUtils.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar React = require('react/lib/React');\nvar ReactPropTypesSecret = require('./ReactPropTypesSecret');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nvar hasReadOnlyValue = {\n 'button': true,\n 'checkbox': true,\n 'image': true,\n 'hidden': true,\n 'radio': true,\n 'reset': true,\n 'submit': true\n};\n\nfunction _assertSingleLink(inputProps) {\n !(inputProps.checkedLink == null || inputProps.valueLink == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don\\'t want to use valueLink and vice versa.') : _prodInvariant('87') : void 0;\n}\nfunction _assertValueLink(inputProps) {\n _assertSingleLink(inputProps);\n !(inputProps.value == null && inputProps.onChange == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don\\'t want to use valueLink.') : _prodInvariant('88') : void 0;\n}\n\nfunction _assertCheckedLink(inputProps) {\n _assertSingleLink(inputProps);\n !(inputProps.checked == null && inputProps.onChange == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don\\'t want to use checkedLink') : _prodInvariant('89') : void 0;\n}\n\nvar propTypes = {\n value: function (props, propName, componentName) {\n if (!props[propName] || hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled) {\n return null;\n }\n return new Error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n },\n checked: function (props, propName, componentName) {\n if (!props[propName] || props.onChange || props.readOnly || props.disabled) {\n return null;\n }\n return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n },\n onChange: React.PropTypes.func\n};\n\nvar loggedTypeFailures = {};\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\n/**\n * Provide a linked `value` attribute for controlled forms. You should not use\n * this outside of the ReactDOM controlled form components.\n */\nvar LinkedValueUtils = {\n checkPropTypes: function (tagName, props, owner) {\n for (var propName in propTypes) {\n if (propTypes.hasOwnProperty(propName)) {\n var error = propTypes[propName](props, propName, tagName, 'prop', null, ReactPropTypesSecret);\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var addendum = getDeclarationErrorAddendum(owner);\n process.env.NODE_ENV !== 'production' ? warning(false, 'Failed form propType: %s%s', error.message, addendum) : void 0;\n }\n }\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @return {*} current value of the input either from value prop or link.\n */\n getValue: function (inputProps) {\n if (inputProps.valueLink) {\n _assertValueLink(inputProps);\n return inputProps.valueLink.value;\n }\n return inputProps.value;\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @return {*} current checked status of the input either from checked prop\n * or link.\n */\n getChecked: function (inputProps) {\n if (inputProps.checkedLink) {\n _assertCheckedLink(inputProps);\n return inputProps.checkedLink.value;\n }\n return inputProps.checked;\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @param {SyntheticEvent} event change event to handle\n */\n executeOnChange: function (inputProps, event) {\n if (inputProps.valueLink) {\n _assertValueLink(inputProps);\n return inputProps.valueLink.requestChange(event.target.value);\n } else if (inputProps.checkedLink) {\n _assertCheckedLink(inputProps);\n return inputProps.checkedLink.requestChange(event.target.checked);\n } else if (inputProps.onChange) {\n return inputProps.onChange.call(undefined, event);\n }\n }\n};\n\nmodule.exports = LinkedValueUtils;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/LinkedValueUtils.js","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar injected = false;\n\nvar ReactComponentEnvironment = {\n\n /**\n * Optionally injectable hook for swapping out mount images in the middle of\n * the tree.\n */\n replaceNodeWithMarkup: null,\n\n /**\n * Optionally injectable hook for processing a queue of child updates. Will\n * later move into MultiChildComponents.\n */\n processChildrenUpdates: null,\n\n injection: {\n injectEnvironment: function (environment) {\n !!injected ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactCompositeComponent: injectEnvironment() can only be called once.') : _prodInvariant('104') : void 0;\n ReactComponentEnvironment.replaceNodeWithMarkup = environment.replaceNodeWithMarkup;\n ReactComponentEnvironment.processChildrenUpdates = environment.processChildrenUpdates;\n injected = true;\n }\n }\n\n};\n\nmodule.exports = ReactComponentEnvironment;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactComponentEnvironment.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar caughtError = null;\n\n/**\n * Call a function while guarding against errors that happens within it.\n *\n * @param {String} name of the guard to use for logging or debugging\n * @param {Function} func The function to invoke\n * @param {*} a First argument\n * @param {*} b Second argument\n */\nfunction invokeGuardedCallback(name, func, a) {\n try {\n func(a);\n } catch (x) {\n if (caughtError === null) {\n caughtError = x;\n }\n }\n}\n\nvar ReactErrorUtils = {\n invokeGuardedCallback: invokeGuardedCallback,\n\n /**\n * Invoked by ReactTestUtils.Simulate so that any errors thrown by the event\n * handler are sure to be rethrown by rethrowCaughtError.\n */\n invokeGuardedCallbackWithCatch: invokeGuardedCallback,\n\n /**\n * During execution of guarded functions we will capture the first error which\n * we will rethrow to be handled by the top level error handler.\n */\n rethrowCaughtError: function () {\n if (caughtError) {\n var error = caughtError;\n caughtError = null;\n throw error;\n }\n }\n};\n\nif (process.env.NODE_ENV !== 'production') {\n /**\n * To help development we can get better devtools integration by simulating a\n * real browser event.\n */\n if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {\n var fakeNode = document.createElement('react');\n ReactErrorUtils.invokeGuardedCallback = function (name, func, a) {\n var boundFunc = func.bind(null, a);\n var evtType = 'react-' + name;\n fakeNode.addEventListener(evtType, boundFunc, false);\n var evt = document.createEvent('Event');\n // $FlowFixMe https://github.com/facebook/flow/issues/2336\n evt.initEvent(evtType, false, false);\n fakeNode.dispatchEvent(evt);\n fakeNode.removeEventListener(evtType, boundFunc, false);\n };\n }\n}\n\nmodule.exports = ReactErrorUtils;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactErrorUtils.js","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('react/lib/ReactCurrentOwner');\nvar ReactInstanceMap = require('./ReactInstanceMap');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nfunction enqueueUpdate(internalInstance) {\n ReactUpdates.enqueueUpdate(internalInstance);\n}\n\nfunction formatUnexpectedArgument(arg) {\n var type = typeof arg;\n if (type !== 'object') {\n return type;\n }\n var displayName = arg.constructor && arg.constructor.name || type;\n var keys = Object.keys(arg);\n if (keys.length > 0 && keys.length < 20) {\n return displayName + ' (keys: ' + keys.join(', ') + ')';\n }\n return displayName;\n}\n\nfunction getInternalInstanceReadyForUpdate(publicInstance, callerName) {\n var internalInstance = ReactInstanceMap.get(publicInstance);\n if (!internalInstance) {\n if (process.env.NODE_ENV !== 'production') {\n var ctor = publicInstance.constructor;\n // Only warn when we have a callerName. Otherwise we should be silent.\n // We're probably calling from enqueueCallback. We don't want to warn\n // there because we already warned for the corresponding lifecycle method.\n process.env.NODE_ENV !== 'production' ? warning(!callerName, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, ctor && (ctor.displayName || ctor.name) || 'ReactClass') : void 0;\n }\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition (such as ' + 'within `render` or another component\\'s constructor). Render methods ' + 'should be a pure function of props and state; constructor ' + 'side-effects are an anti-pattern, but can be moved to ' + '`componentWillMount`.', callerName) : void 0;\n }\n\n return internalInstance;\n}\n\n/**\n * ReactUpdateQueue allows for state updates to be scheduled into a later\n * reconciliation step.\n */\nvar ReactUpdateQueue = {\n\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n if (process.env.NODE_ENV !== 'production') {\n var owner = ReactCurrentOwner.current;\n if (owner !== null) {\n process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : void 0;\n owner._warnedAboutRefsInRender = true;\n }\n }\n var internalInstance = ReactInstanceMap.get(publicInstance);\n if (internalInstance) {\n // During componentWillMount and render this will still be null but after\n // that will always render to something. At least for now. So we can use\n // this hack.\n return !!internalInstance._renderedComponent;\n } else {\n return false;\n }\n },\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @param {string} callerName Name of the calling function in the public API.\n * @internal\n */\n enqueueCallback: function (publicInstance, callback, callerName) {\n ReactUpdateQueue.validateCallback(callback, callerName);\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance);\n\n // Previously we would throw an error if we didn't have an internal\n // instance. Since we want to make it a no-op instead, we mirror the same\n // behavior we have in other enqueue* methods.\n // We also need to ignore callbacks in componentWillMount. See\n // enqueueUpdates.\n if (!internalInstance) {\n return null;\n }\n\n if (internalInstance._pendingCallbacks) {\n internalInstance._pendingCallbacks.push(callback);\n } else {\n internalInstance._pendingCallbacks = [callback];\n }\n // TODO: The callback here is ignored when setState is called from\n // componentWillMount. Either fix it or disallow doing so completely in\n // favor of getInitialState. Alternatively, we can disallow\n // componentWillMount during server-side rendering.\n enqueueUpdate(internalInstance);\n },\n\n enqueueCallbackInternal: function (internalInstance, callback) {\n if (internalInstance._pendingCallbacks) {\n internalInstance._pendingCallbacks.push(callback);\n } else {\n internalInstance._pendingCallbacks = [callback];\n }\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'forceUpdate');\n\n if (!internalInstance) {\n return;\n }\n\n internalInstance._pendingForceUpdate = true;\n\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceState');\n\n if (!internalInstance) {\n return;\n }\n\n internalInstance._pendingStateQueue = [completeState];\n internalInstance._pendingReplaceState = true;\n\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onSetState();\n process.env.NODE_ENV !== 'production' ? warning(partialState != null, 'setState(...): You passed an undefined or null state object; ' + 'instead, use forceUpdate().') : void 0;\n }\n\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'setState');\n\n if (!internalInstance) {\n return;\n }\n\n var queue = internalInstance._pendingStateQueue || (internalInstance._pendingStateQueue = []);\n queue.push(partialState);\n\n enqueueUpdate(internalInstance);\n },\n\n enqueueElementInternal: function (internalInstance, nextElement, nextContext) {\n internalInstance._pendingElement = nextElement;\n // TODO: introduce _pendingContext instead of setting it directly.\n internalInstance._context = nextContext;\n enqueueUpdate(internalInstance);\n },\n\n validateCallback: function (callback, callerName) {\n !(!callback || typeof callback === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.', callerName, formatUnexpectedArgument(callback)) : _prodInvariant('122', callerName, formatUnexpectedArgument(callback)) : void 0;\n }\n\n};\n\nmodule.exports = ReactUpdateQueue;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactUpdateQueue.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n/* globals MSApp */\n\n'use strict';\n\n/**\n * Create a function which has 'unsafe' privileges (required by windows8 apps)\n */\n\nvar createMicrosoftUnsafeLocalFunction = function (func) {\n if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {\n return function (arg0, arg1, arg2, arg3) {\n MSApp.execUnsafeLocalFunction(function () {\n return func(arg0, arg1, arg2, arg3);\n });\n };\n } else {\n return func;\n }\n};\n\nmodule.exports = createMicrosoftUnsafeLocalFunction;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/createMicrosoftUnsafeLocalFunction.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * `charCode` represents the actual \"character code\" and is safe to use with\n * `String.fromCharCode`. As such, only keys that correspond to printable\n * characters produce a valid `charCode`, the only exception to this is Enter.\n * The Tab-key is considered non-printable and does not have a `charCode`,\n * presumably because it does not produce a tab-character in browsers.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {number} Normalized `charCode` property.\n */\n\nfunction getEventCharCode(nativeEvent) {\n var charCode;\n var keyCode = nativeEvent.keyCode;\n\n if ('charCode' in nativeEvent) {\n charCode = nativeEvent.charCode;\n\n // FF does not set `charCode` for the Enter-key, check against `keyCode`.\n if (charCode === 0 && keyCode === 13) {\n charCode = 13;\n }\n } else {\n // IE8 does not implement `charCode`, but `keyCode` has the correct value.\n charCode = keyCode;\n }\n\n // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.\n // Must not discard the (non-)printable Enter-key.\n if (charCode >= 32 || charCode === 13) {\n return charCode;\n }\n\n return 0;\n}\n\nmodule.exports = getEventCharCode;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/getEventCharCode.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Translation from modifier key to the associated property in the event.\n * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers\n */\n\nvar modifierKeyToProp = {\n 'Alt': 'altKey',\n 'Control': 'ctrlKey',\n 'Meta': 'metaKey',\n 'Shift': 'shiftKey'\n};\n\n// IE8 does not implement getModifierState so we simply map it to the only\n// modifier keys exposed by the event itself, does not support Lock-keys.\n// Currently, all major browsers except Chrome seems to support Lock-keys.\nfunction modifierStateGetter(keyArg) {\n var syntheticEvent = this;\n var nativeEvent = syntheticEvent.nativeEvent;\n if (nativeEvent.getModifierState) {\n return nativeEvent.getModifierState(keyArg);\n }\n var keyProp = modifierKeyToProp[keyArg];\n return keyProp ? !!nativeEvent[keyProp] : false;\n}\n\nfunction getEventModifierState(nativeEvent) {\n return modifierStateGetter;\n}\n\nmodule.exports = getEventModifierState;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/getEventModifierState.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Gets the target node from a native browser event by accounting for\n * inconsistencies in browser DOM APIs.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {DOMEventTarget} Target node.\n */\n\nfunction getEventTarget(nativeEvent) {\n var target = nativeEvent.target || nativeEvent.srcElement || window;\n\n // Normalize SVG <use> element events #4963\n if (target.correspondingUseElement) {\n target = target.correspondingUseElement;\n }\n\n // Safari may fire events on text nodes (Node.TEXT_NODE is 3).\n // @see http://www.quirksmode.org/js/events_properties.html\n return target.nodeType === 3 ? target.parentNode : target;\n}\n\nmodule.exports = getEventTarget;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/getEventTarget.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar useHasFeature;\nif (ExecutionEnvironment.canUseDOM) {\n useHasFeature = document.implementation && document.implementation.hasFeature &&\n // always returns true in newer browsers as per the standard.\n // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature\n document.implementation.hasFeature('', '') !== true;\n}\n\n/**\n * Checks if an event is supported in the current execution environment.\n *\n * NOTE: This will not work correctly for non-generic events such as `change`,\n * `reset`, `load`, `error`, and `select`.\n *\n * Borrows from Modernizr.\n *\n * @param {string} eventNameSuffix Event name, e.g. \"click\".\n * @param {?boolean} capture Check if the capture phase is supported.\n * @return {boolean} True if the event is supported.\n * @internal\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nfunction isEventSupported(eventNameSuffix, capture) {\n if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) {\n return false;\n }\n\n var eventName = 'on' + eventNameSuffix;\n var isSupported = eventName in document;\n\n if (!isSupported) {\n var element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof element[eventName] === 'function';\n }\n\n if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n // This is the only way to test support for the `wheel` event in IE9+.\n isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n }\n\n return isSupported;\n}\n\nmodule.exports = isEventSupported;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/isEventSupported.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Given a `prevElement` and `nextElement`, determines if the existing\n * instance should be updated as opposed to being destroyed or replaced by a new\n * instance. Both arguments are elements. This ensures that this logic can\n * operate on stateless trees without any backing instance.\n *\n * @param {?object} prevElement\n * @param {?object} nextElement\n * @return {boolean} True if the existing instance should be updated.\n * @protected\n */\n\nfunction shouldUpdateReactComponent(prevElement, nextElement) {\n var prevEmpty = prevElement === null || prevElement === false;\n var nextEmpty = nextElement === null || nextElement === false;\n if (prevEmpty || nextEmpty) {\n return prevEmpty === nextEmpty;\n }\n\n var prevType = typeof prevElement;\n var nextType = typeof nextElement;\n if (prevType === 'string' || prevType === 'number') {\n return nextType === 'string' || nextType === 'number';\n } else {\n return nextType === 'object' && prevElement.type === nextElement.type && prevElement.key === nextElement.key;\n }\n}\n\nmodule.exports = shouldUpdateReactComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/shouldUpdateReactComponent.js","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar warning = require('fbjs/lib/warning');\n\nvar validateDOMNesting = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n // This validation code was written based on the HTML5 parsing spec:\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n //\n // Note: this does not catch all invalid nesting, nor does it try to (as it's\n // not clear what practical benefit doing so provides); instead, we warn only\n // for cases where the parser will give a parse tree differing from what React\n // intended. For example, <b><div></div></b> is invalid but we don't warn\n // because it still parses correctly; we do warn for other cases like nested\n // <p> tags where the beginning of the second element implicitly closes the\n // first, causing a confusing mess.\n\n // https://html.spec.whatwg.org/multipage/syntax.html#special\n var specialTags = ['address', 'applet', 'area', 'article', 'aside', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'button', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'iframe', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'main', 'marquee', 'menu', 'menuitem', 'meta', 'nav', 'noembed', 'noframes', 'noscript', 'object', 'ol', 'p', 'param', 'plaintext', 'pre', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'wbr', 'xmp'];\n\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template',\n\n // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point\n // TODO: Distinguish by namespace here -- for <title>, including it here\n // errs on the side of fewer warnings\n 'foreignObject', 'desc', 'title'];\n\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope\n var buttonScopeTags = inScopeTags.concat(['button']);\n\n // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags\n var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];\n\n var emptyAncestorInfo = {\n current: null,\n\n formTag: null,\n aTagInScope: null,\n buttonTagInScope: null,\n nobrTagInScope: null,\n pTagInButtonScope: null,\n\n listItemTagAutoclosing: null,\n dlItemTagAutoclosing: null\n };\n\n var updatedAncestorInfo = function (oldInfo, tag, instance) {\n var ancestorInfo = _assign({}, oldInfo || emptyAncestorInfo);\n var info = { tag: tag, instance: instance };\n\n if (inScopeTags.indexOf(tag) !== -1) {\n ancestorInfo.aTagInScope = null;\n ancestorInfo.buttonTagInScope = null;\n ancestorInfo.nobrTagInScope = null;\n }\n if (buttonScopeTags.indexOf(tag) !== -1) {\n ancestorInfo.pTagInButtonScope = null;\n }\n\n // See rules for 'li', 'dd', 'dt' start tags in\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {\n ancestorInfo.listItemTagAutoclosing = null;\n ancestorInfo.dlItemTagAutoclosing = null;\n }\n\n ancestorInfo.current = info;\n\n if (tag === 'form') {\n ancestorInfo.formTag = info;\n }\n if (tag === 'a') {\n ancestorInfo.aTagInScope = info;\n }\n if (tag === 'button') {\n ancestorInfo.buttonTagInScope = info;\n }\n if (tag === 'nobr') {\n ancestorInfo.nobrTagInScope = info;\n }\n if (tag === 'p') {\n ancestorInfo.pTagInButtonScope = info;\n }\n if (tag === 'li') {\n ancestorInfo.listItemTagAutoclosing = info;\n }\n if (tag === 'dd' || tag === 'dt') {\n ancestorInfo.dlItemTagAutoclosing = info;\n }\n\n return ancestorInfo;\n };\n\n /**\n * Returns whether\n */\n var isTagValidWithParent = function (tag, parentTag) {\n // First, let's check if we're in an unusual parsing mode...\n switch (parentTag) {\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect\n case 'select':\n return tag === 'option' || tag === 'optgroup' || tag === '#text';\n case 'optgroup':\n return tag === 'option' || tag === '#text';\n // Strictly speaking, seeing an <option> doesn't mean we're in a <select>\n // but\n case 'option':\n return tag === '#text';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption\n // No special behavior since these rules fall back to \"in body\" mode for\n // all except special table nodes which cause bad parsing behavior anyway.\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr\n case 'tr':\n return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody\n case 'tbody':\n case 'thead':\n case 'tfoot':\n return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup\n case 'colgroup':\n return tag === 'col' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable\n case 'table':\n return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead\n case 'head':\n return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element\n case 'html':\n return tag === 'head' || tag === 'body';\n case '#document':\n return tag === 'html';\n }\n\n // Probably in the \"in body\" parsing mode, so we outlaw only tag combos\n // where the parsing rules cause implicit opens or closes to be added.\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n switch (tag) {\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';\n\n case 'rp':\n case 'rt':\n return impliedEndTags.indexOf(parentTag) === -1;\n\n case 'body':\n case 'caption':\n case 'col':\n case 'colgroup':\n case 'frame':\n case 'head':\n case 'html':\n case 'tbody':\n case 'td':\n case 'tfoot':\n case 'th':\n case 'thead':\n case 'tr':\n // These tags are only valid with a few parents that have special child\n // parsing rules -- if we're down here, then none of those matched and\n // so we allow it only if we don't know what the parent is, as all other\n // cases are invalid.\n return parentTag == null;\n }\n\n return true;\n };\n\n /**\n * Returns whether\n */\n var findInvalidAncestorForTag = function (tag, ancestorInfo) {\n switch (tag) {\n case 'address':\n case 'article':\n case 'aside':\n case 'blockquote':\n case 'center':\n case 'details':\n case 'dialog':\n case 'dir':\n case 'div':\n case 'dl':\n case 'fieldset':\n case 'figcaption':\n case 'figure':\n case 'footer':\n case 'header':\n case 'hgroup':\n case 'main':\n case 'menu':\n case 'nav':\n case 'ol':\n case 'p':\n case 'section':\n case 'summary':\n case 'ul':\n\n case 'pre':\n case 'listing':\n\n case 'table':\n\n case 'hr':\n\n case 'xmp':\n\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return ancestorInfo.pTagInButtonScope;\n\n case 'form':\n return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;\n\n case 'li':\n return ancestorInfo.listItemTagAutoclosing;\n\n case 'dd':\n case 'dt':\n return ancestorInfo.dlItemTagAutoclosing;\n\n case 'button':\n return ancestorInfo.buttonTagInScope;\n\n case 'a':\n // Spec says something about storing a list of markers, but it sounds\n // equivalent to this check.\n return ancestorInfo.aTagInScope;\n\n case 'nobr':\n return ancestorInfo.nobrTagInScope;\n }\n\n return null;\n };\n\n /**\n * Given a ReactCompositeComponent instance, return a list of its recursive\n * owners, starting at the root and ending with the instance itself.\n */\n var findOwnerStack = function (instance) {\n if (!instance) {\n return [];\n }\n\n var stack = [];\n do {\n stack.push(instance);\n } while (instance = instance._currentElement._owner);\n stack.reverse();\n return stack;\n };\n\n var didWarn = {};\n\n validateDOMNesting = function (childTag, childText, childInstance, ancestorInfo) {\n ancestorInfo = ancestorInfo || emptyAncestorInfo;\n var parentInfo = ancestorInfo.current;\n var parentTag = parentInfo && parentInfo.tag;\n\n if (childText != null) {\n process.env.NODE_ENV !== 'production' ? warning(childTag == null, 'validateDOMNesting: when childText is passed, childTag should be null') : void 0;\n childTag = '#text';\n }\n\n var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;\n var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);\n var problematic = invalidParent || invalidAncestor;\n\n if (problematic) {\n var ancestorTag = problematic.tag;\n var ancestorInstance = problematic.instance;\n\n var childOwner = childInstance && childInstance._currentElement._owner;\n var ancestorOwner = ancestorInstance && ancestorInstance._currentElement._owner;\n\n var childOwners = findOwnerStack(childOwner);\n var ancestorOwners = findOwnerStack(ancestorOwner);\n\n var minStackLen = Math.min(childOwners.length, ancestorOwners.length);\n var i;\n\n var deepestCommon = -1;\n for (i = 0; i < minStackLen; i++) {\n if (childOwners[i] === ancestorOwners[i]) {\n deepestCommon = i;\n } else {\n break;\n }\n }\n\n var UNKNOWN = '(unknown)';\n var childOwnerNames = childOwners.slice(deepestCommon + 1).map(function (inst) {\n return inst.getName() || UNKNOWN;\n });\n var ancestorOwnerNames = ancestorOwners.slice(deepestCommon + 1).map(function (inst) {\n return inst.getName() || UNKNOWN;\n });\n var ownerInfo = [].concat(\n // If the parent and child instances have a common owner ancestor, start\n // with that -- otherwise we just start with the parent's owners.\n deepestCommon !== -1 ? childOwners[deepestCommon].getName() || UNKNOWN : [], ancestorOwnerNames, ancestorTag,\n // If we're warning about an invalid (non-parent) ancestry, add '...'\n invalidAncestor ? ['...'] : [], childOwnerNames, childTag).join(' > ');\n\n var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + ownerInfo;\n if (didWarn[warnKey]) {\n return;\n }\n didWarn[warnKey] = true;\n\n var tagDisplayName = childTag;\n var whitespaceInfo = '';\n if (childTag === '#text') {\n if (/\\S/.test(childText)) {\n tagDisplayName = 'Text nodes';\n } else {\n tagDisplayName = 'Whitespace text nodes';\n whitespaceInfo = ' Make sure you don\\'t have any extra whitespace between tags on ' + 'each line of your source code.';\n }\n } else {\n tagDisplayName = '<' + childTag + '>';\n }\n\n if (invalidParent) {\n var info = '';\n if (ancestorTag === 'table' && childTag === 'tr') {\n info += ' Add a <tbody> to your code to match the DOM tree generated by ' + 'the browser.';\n }\n process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a child of <%s>.%s ' + 'See %s.%s', tagDisplayName, ancestorTag, whitespaceInfo, ownerInfo, info) : void 0;\n } else {\n process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>. See %s.', tagDisplayName, ancestorTag, ownerInfo) : void 0;\n }\n }\n };\n\n validateDOMNesting.updatedAncestorInfo = updatedAncestorInfo;\n\n // For testing\n validateDOMNesting.isTagValidInContext = function (tag, ancestorInfo) {\n ancestorInfo = ancestorInfo || emptyAncestorInfo;\n var parentInfo = ancestorInfo.current;\n var parentTag = parentInfo && parentInfo.tag;\n return isTagValidWithParent(tag, parentTag) && !findInvalidAncestorForTag(tag, ancestorInfo);\n };\n}\n\nmodule.exports = validateDOMNesting;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/validateDOMNesting.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n * \n */\n\n/*eslint-disable no-self-compare */\n\n'use strict';\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n // Added the nonzero y check to make Flow happy, but it is redundant\n return x !== 0 || y !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n}\n\n/**\n * Performs equality by iterating through keys on an object and returning false\n * when any key has values which are not strictly equal between the arguments.\n * Returns true when the values of all keys are strictly equal.\n */\nfunction shallowEqual(objA, objB) {\n if (is(objA, objB)) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n for (var i = 0; i < keysA.length; i++) {\n if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = shallowEqual;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/shallowEqual.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactNoopUpdateQueue = require('./ReactNoopUpdateQueue');\n\nvar canDefineProperty = require('./canDefineProperty');\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Base class helpers for the updating state of a component.\n */\nfunction ReactComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n // We initialize the default updater but the real one gets injected by the\n // renderer.\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nReactComponent.prototype.isReactComponent = {};\n\n/**\n * Sets a subset of the state. Always use this to mutate\n * state. You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * There is no guarantee that calls to `setState` will run synchronously,\n * as they may eventually be batched together. You can provide an optional\n * callback that will be executed when the call to setState is actually\n * completed.\n *\n * When a function is provided to setState, it will be called at some point in\n * the future (not synchronously). It will be called with the up to date\n * component arguments (state, props, context). These values can be different\n * from this.* because your function may be called after receiveProps but before\n * shouldComponentUpdate, and this new state, props, and context will not yet be\n * assigned to this.\n *\n * @param {object|function} partialState Next partial state or function to\n * produce next partial state to be merged with current state.\n * @param {?function} callback Called after state is updated.\n * @final\n * @protected\n */\nReactComponent.prototype.setState = function (partialState, callback) {\n !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : _prodInvariant('85') : void 0;\n this.updater.enqueueSetState(this, partialState);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'setState');\n }\n};\n\n/**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {?function} callback Called after update is complete.\n * @final\n * @protected\n */\nReactComponent.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'forceUpdate');\n }\n};\n\n/**\n * Deprecated APIs. These APIs used to exist on classic React classes but since\n * we would like to deprecate them, we're not going to move them over to this\n * modern base class. Instead, we define a getter that warns if it's accessed.\n */\nif (process.env.NODE_ENV !== 'production') {\n var deprecatedAPIs = {\n isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],\n replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']\n };\n var defineDeprecationWarning = function (methodName, info) {\n if (canDefineProperty) {\n Object.defineProperty(ReactComponent.prototype, methodName, {\n get: function () {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : void 0;\n return undefined;\n }\n });\n }\n };\n for (var fnName in deprecatedAPIs) {\n if (deprecatedAPIs.hasOwnProperty(fnName)) {\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n }\n }\n}\n\nmodule.exports = ReactComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactComponent.js","/**\n * Copyright 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nfunction isNative(fn) {\n // Based on isNative() from Lodash\n var funcToString = Function.prototype.toString;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n var reIsNative = RegExp('^' + funcToString\n // Take an example native function source for comparison\n .call(hasOwnProperty)\n // Strip regex characters so we can use it for regex\n .replace(/[\\\\^$.*+?()[\\]{}|]/g, '\\\\$&')\n // Remove hasOwnProperty from the template to make it generic\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n try {\n var source = funcToString.call(fn);\n return reIsNative.test(source);\n } catch (err) {\n return false;\n }\n}\n\nvar canUseCollections =\n// Array.from\ntypeof Array.from === 'function' &&\n// Map\ntypeof Map === 'function' && isNative(Map) &&\n// Map.prototype.keys\nMap.prototype != null && typeof Map.prototype.keys === 'function' && isNative(Map.prototype.keys) &&\n// Set\ntypeof Set === 'function' && isNative(Set) &&\n// Set.prototype.keys\nSet.prototype != null && typeof Set.prototype.keys === 'function' && isNative(Set.prototype.keys);\n\nvar setItem;\nvar getItem;\nvar removeItem;\nvar getItemIDs;\nvar addRoot;\nvar removeRoot;\nvar getRootIDs;\n\nif (canUseCollections) {\n var itemMap = new Map();\n var rootIDSet = new Set();\n\n setItem = function (id, item) {\n itemMap.set(id, item);\n };\n getItem = function (id) {\n return itemMap.get(id);\n };\n removeItem = function (id) {\n itemMap['delete'](id);\n };\n getItemIDs = function () {\n return Array.from(itemMap.keys());\n };\n\n addRoot = function (id) {\n rootIDSet.add(id);\n };\n removeRoot = function (id) {\n rootIDSet['delete'](id);\n };\n getRootIDs = function () {\n return Array.from(rootIDSet.keys());\n };\n} else {\n var itemByKey = {};\n var rootByKey = {};\n\n // Use non-numeric keys to prevent V8 performance issues:\n // https://github.com/facebook/react/pull/7232\n var getKeyFromID = function (id) {\n return '.' + id;\n };\n var getIDFromKey = function (key) {\n return parseInt(key.substr(1), 10);\n };\n\n setItem = function (id, item) {\n var key = getKeyFromID(id);\n itemByKey[key] = item;\n };\n getItem = function (id) {\n var key = getKeyFromID(id);\n return itemByKey[key];\n };\n removeItem = function (id) {\n var key = getKeyFromID(id);\n delete itemByKey[key];\n };\n getItemIDs = function () {\n return Object.keys(itemByKey).map(getIDFromKey);\n };\n\n addRoot = function (id) {\n var key = getKeyFromID(id);\n rootByKey[key] = true;\n };\n removeRoot = function (id) {\n var key = getKeyFromID(id);\n delete rootByKey[key];\n };\n getRootIDs = function () {\n return Object.keys(rootByKey).map(getIDFromKey);\n };\n}\n\nvar unmountedIDs = [];\n\nfunction purgeDeep(id) {\n var item = getItem(id);\n if (item) {\n var childIDs = item.childIDs;\n\n removeItem(id);\n childIDs.forEach(purgeDeep);\n }\n}\n\nfunction describeComponentFrame(name, source, ownerName) {\n return '\\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');\n}\n\nfunction getDisplayName(element) {\n if (element == null) {\n return '#empty';\n } else if (typeof element === 'string' || typeof element === 'number') {\n return '#text';\n } else if (typeof element.type === 'string') {\n return element.type;\n } else {\n return element.type.displayName || element.type.name || 'Unknown';\n }\n}\n\nfunction describeID(id) {\n var name = ReactComponentTreeHook.getDisplayName(id);\n var element = ReactComponentTreeHook.getElement(id);\n var ownerID = ReactComponentTreeHook.getOwnerID(id);\n var ownerName;\n if (ownerID) {\n ownerName = ReactComponentTreeHook.getDisplayName(ownerID);\n }\n process.env.NODE_ENV !== 'production' ? warning(element, 'ReactComponentTreeHook: Missing React element for debugID %s when ' + 'building stack', id) : void 0;\n return describeComponentFrame(name, element && element._source, ownerName);\n}\n\nvar ReactComponentTreeHook = {\n onSetChildren: function (id, nextChildIDs) {\n var item = getItem(id);\n !item ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Item must have been set') : _prodInvariant('144') : void 0;\n item.childIDs = nextChildIDs;\n\n for (var i = 0; i < nextChildIDs.length; i++) {\n var nextChildID = nextChildIDs[i];\n var nextChild = getItem(nextChildID);\n !nextChild ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected hook events to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('140') : void 0;\n !(nextChild.childIDs != null || typeof nextChild.element !== 'object' || nextChild.element == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().') : _prodInvariant('141') : void 0;\n !nextChild.isMounted ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('71') : void 0;\n if (nextChild.parentID == null) {\n nextChild.parentID = id;\n // TODO: This shouldn't be necessary but mounting a new root during in\n // componentWillMount currently causes not-yet-mounted components to\n // be purged from our tree data so their parent id is missing.\n }\n !(nextChild.parentID === id) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).', nextChildID, nextChild.parentID, id) : _prodInvariant('142', nextChildID, nextChild.parentID, id) : void 0;\n }\n },\n onBeforeMountComponent: function (id, element, parentID) {\n var item = {\n element: element,\n parentID: parentID,\n text: null,\n childIDs: [],\n isMounted: false,\n updateCount: 0\n };\n setItem(id, item);\n },\n onBeforeUpdateComponent: function (id, element) {\n var item = getItem(id);\n if (!item || !item.isMounted) {\n // We may end up here as a result of setState() in componentWillUnmount().\n // In this case, ignore the element.\n return;\n }\n item.element = element;\n },\n onMountComponent: function (id) {\n var item = getItem(id);\n !item ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Item must have been set') : _prodInvariant('144') : void 0;\n item.isMounted = true;\n var isRoot = item.parentID === 0;\n if (isRoot) {\n addRoot(id);\n }\n },\n onUpdateComponent: function (id) {\n var item = getItem(id);\n if (!item || !item.isMounted) {\n // We may end up here as a result of setState() in componentWillUnmount().\n // In this case, ignore the element.\n return;\n }\n item.updateCount++;\n },\n onUnmountComponent: function (id) {\n var item = getItem(id);\n if (item) {\n // We need to check if it exists.\n // `item` might not exist if it is inside an error boundary, and a sibling\n // error boundary child threw while mounting. Then this instance never\n // got a chance to mount, but it still gets an unmounting event during\n // the error boundary cleanup.\n item.isMounted = false;\n var isRoot = item.parentID === 0;\n if (isRoot) {\n removeRoot(id);\n }\n }\n unmountedIDs.push(id);\n },\n purgeUnmountedComponents: function () {\n if (ReactComponentTreeHook._preventPurging) {\n // Should only be used for testing.\n return;\n }\n\n for (var i = 0; i < unmountedIDs.length; i++) {\n var id = unmountedIDs[i];\n purgeDeep(id);\n }\n unmountedIDs.length = 0;\n },\n isMounted: function (id) {\n var item = getItem(id);\n return item ? item.isMounted : false;\n },\n getCurrentStackAddendum: function (topElement) {\n var info = '';\n if (topElement) {\n var name = getDisplayName(topElement);\n var owner = topElement._owner;\n info += describeComponentFrame(name, topElement._source, owner && owner.getName());\n }\n\n var currentOwner = ReactCurrentOwner.current;\n var id = currentOwner && currentOwner._debugID;\n\n info += ReactComponentTreeHook.getStackAddendumByID(id);\n return info;\n },\n getStackAddendumByID: function (id) {\n var info = '';\n while (id) {\n info += describeID(id);\n id = ReactComponentTreeHook.getParentID(id);\n }\n return info;\n },\n getChildIDs: function (id) {\n var item = getItem(id);\n return item ? item.childIDs : [];\n },\n getDisplayName: function (id) {\n var element = ReactComponentTreeHook.getElement(id);\n if (!element) {\n return null;\n }\n return getDisplayName(element);\n },\n getElement: function (id) {\n var item = getItem(id);\n return item ? item.element : null;\n },\n getOwnerID: function (id) {\n var element = ReactComponentTreeHook.getElement(id);\n if (!element || !element._owner) {\n return null;\n }\n return element._owner._debugID;\n },\n getParentID: function (id) {\n var item = getItem(id);\n return item ? item.parentID : null;\n },\n getSource: function (id) {\n var item = getItem(id);\n var element = item ? item.element : null;\n var source = element != null ? element._source : null;\n return source;\n },\n getText: function (id) {\n var element = ReactComponentTreeHook.getElement(id);\n if (typeof element === 'string') {\n return element;\n } else if (typeof element === 'number') {\n return '' + element;\n } else {\n return null;\n }\n },\n getUpdateCount: function (id) {\n var item = getItem(id);\n return item ? item.updateCount : 0;\n },\n\n\n getRootIDs: getRootIDs,\n getRegisteredIDs: getItemIDs\n};\n\nmodule.exports = ReactComponentTreeHook;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactComponentTreeHook.js","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar warning = require('fbjs/lib/warning');\n\nfunction warnNoop(publicInstance, callerName) {\n if (process.env.NODE_ENV !== 'production') {\n var constructor = publicInstance.constructor;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;\n }\n}\n\n/**\n * This is the abstract API for an update queue.\n */\nvar ReactNoopUpdateQueue = {\n\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n return false;\n },\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @internal\n */\n enqueueCallback: function (publicInstance, callback) {},\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance) {\n warnNoop(publicInstance, 'forceUpdate');\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState) {\n warnNoop(publicInstance, 'replaceState');\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState) {\n warnNoop(publicInstance, 'setState');\n }\n};\n\nmodule.exports = ReactNoopUpdateQueue;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactNoopUpdateQueue.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar emptyObject = {};\n\nif (process.env.NODE_ENV !== 'production') {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;\n\n\n// WEBPACK FOOTER //\n// ./~/react/~/fbjs/lib/emptyObject.js","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar formatRegExp = /%[sdj%]/g;\nexports.format = function(f) {\n if (!isString(f)) {\n var objects = [];\n for (var i = 0; i < arguments.length; i++) {\n objects.push(inspect(arguments[i]));\n }\n return objects.join(' ');\n }\n\n var i = 1;\n var args = arguments;\n var len = args.length;\n var str = String(f).replace(formatRegExp, function(x) {\n if (x === '%%') return '%';\n if (i >= len) return x;\n switch (x) {\n case '%s': return String(args[i++]);\n case '%d': return Number(args[i++]);\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n default:\n return x;\n }\n });\n for (var x = args[i]; i < len; x = args[++i]) {\n if (isNull(x) || !isObject(x)) {\n str += ' ' + x;\n } else {\n str += ' ' + inspect(x);\n }\n }\n return str;\n};\n\n\n// Mark that a method should not be used.\n// Returns a modified function which warns once by default.\n// If --no-deprecation is set, then it is a no-op.\nexports.deprecate = function(fn, msg) {\n // Allow for deprecating things in the process of starting up.\n if (isUndefined(global.process)) {\n return function() {\n return exports.deprecate(fn, msg).apply(this, arguments);\n };\n }\n\n if (process.noDeprecation === true) {\n return fn;\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (process.throwDeprecation) {\n throw new Error(msg);\n } else if (process.traceDeprecation) {\n console.trace(msg);\n } else {\n console.error(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n};\n\n\nvar debugs = {};\nvar debugEnviron;\nexports.debuglog = function(set) {\n if (isUndefined(debugEnviron))\n debugEnviron = process.env.NODE_DEBUG || '';\n set = set.toUpperCase();\n if (!debugs[set]) {\n if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n var pid = process.pid;\n debugs[set] = function() {\n var msg = exports.format.apply(exports, arguments);\n console.error('%s %d: %s', set, pid, msg);\n };\n } else {\n debugs[set] = function() {};\n }\n }\n return debugs[set];\n};\n\n\n/**\n * Echos the value of a value. Trys to print the value out\n * in the best way possible given the different types.\n *\n * @param {Object} obj The object to print out.\n * @param {Object} opts Optional options object that alters the output.\n */\n/* legacy: obj, showHidden, depth, colors*/\nfunction inspect(obj, opts) {\n // default options\n var ctx = {\n seen: [],\n stylize: stylizeNoColor\n };\n // legacy...\n if (arguments.length >= 3) ctx.depth = arguments[2];\n if (arguments.length >= 4) ctx.colors = arguments[3];\n if (isBoolean(opts)) {\n // legacy...\n ctx.showHidden = opts;\n } else if (opts) {\n // got an \"options\" object\n exports._extend(ctx, opts);\n }\n // set default options\n if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n if (isUndefined(ctx.depth)) ctx.depth = 2;\n if (isUndefined(ctx.colors)) ctx.colors = false;\n if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n if (ctx.colors) ctx.stylize = stylizeWithColor;\n return formatValue(ctx, obj, ctx.depth);\n}\nexports.inspect = inspect;\n\n\n// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\ninspect.colors = {\n 'bold' : [1, 22],\n 'italic' : [3, 23],\n 'underline' : [4, 24],\n 'inverse' : [7, 27],\n 'white' : [37, 39],\n 'grey' : [90, 39],\n 'black' : [30, 39],\n 'blue' : [34, 39],\n 'cyan' : [36, 39],\n 'green' : [32, 39],\n 'magenta' : [35, 39],\n 'red' : [31, 39],\n 'yellow' : [33, 39]\n};\n\n// Don't use 'blue' not visible on cmd.exe\ninspect.styles = {\n 'special': 'cyan',\n 'number': 'yellow',\n 'boolean': 'yellow',\n 'undefined': 'grey',\n 'null': 'bold',\n 'string': 'green',\n 'date': 'magenta',\n // \"name\": intentionally not styling\n 'regexp': 'red'\n};\n\n\nfunction stylizeWithColor(str, styleType) {\n var style = inspect.styles[styleType];\n\n if (style) {\n return '\\u001b[' + inspect.colors[style][0] + 'm' + str +\n '\\u001b[' + inspect.colors[style][1] + 'm';\n } else {\n return str;\n }\n}\n\n\nfunction stylizeNoColor(str, styleType) {\n return str;\n}\n\n\nfunction arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n}\n\n\nfunction formatValue(ctx, value, recurseTimes) {\n // Provide a hook for user-specified inspect functions.\n // Check that value is an object with an inspect function on it\n if (ctx.customInspect &&\n value &&\n isFunction(value.inspect) &&\n // Filter out the util module, it's inspect function is special\n value.inspect !== exports.inspect &&\n // Also filter out any prototype objects using the circular check.\n !(value.constructor && value.constructor.prototype === value)) {\n var ret = value.inspect(recurseTimes, ctx);\n if (!isString(ret)) {\n ret = formatValue(ctx, ret, recurseTimes);\n }\n return ret;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n if (ctx.showHidden) {\n keys = Object.getOwnPropertyNames(value);\n }\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (isError(value)\n && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '', array = false, braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n}\n\n\nfunction formatPrimitive(ctx, value) {\n if (isUndefined(value))\n return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') + '\\'';\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value))\n return ctx.stylize('' + value, 'number');\n if (isBoolean(value))\n return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value))\n return ctx.stylize('null', 'null');\n}\n\n\nfunction formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n}\n\n\nfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n String(i), true));\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n key, true));\n }\n });\n return output;\n}\n\n\nfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n').substr(2);\n } else {\n str = '\\n' + str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name.replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n}\n\n\nfunction reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1];\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n}\n\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\nfunction isArray(ar) {\n return Array.isArray(ar);\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\n\nfunction isError(e) {\n return isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error);\n}\nexports.isError = isError;\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n return arg === null ||\n typeof arg === 'boolean' ||\n typeof arg === 'number' ||\n typeof arg === 'string' ||\n typeof arg === 'symbol' || // ES6 symbol\n typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nexports.isBuffer = require('./support/isBuffer');\n\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\n\nfunction pad(n) {\n return n < 10 ? '0' + n.toString(10) : n.toString(10);\n}\n\n\nvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',\n 'Oct', 'Nov', 'Dec'];\n\n// 26 Feb 16:19:34\nfunction timestamp() {\n var d = new Date();\n var time = [pad(d.getHours()),\n pad(d.getMinutes()),\n pad(d.getSeconds())].join(':');\n return [d.getDate(), months[d.getMonth()], time].join(' ');\n}\n\n\n// log is just a thin wrapper to console.log that prepends a timestamp\nexports.log = function() {\n console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n};\n\n\n/**\n * Inherit the prototype methods from one constructor into another.\n *\n * The Function.prototype.inherits from lang.js rewritten as a standalone\n * function (not on Function.prototype). NOTE: If this file is to be loaded\n * during bootstrapping this function needs to be rewritten using some native\n * functions as prototype setup using normal JavaScript does not work as\n * expected during bootstrapping (see mirror.js in r114903).\n *\n * @param {function} ctor Constructor function which needs to inherit the\n * prototype.\n * @param {function} superCtor Constructor function to inherit prototype from.\n */\nexports.inherits = require('inherits');\n\nexports._extend = function(origin, add) {\n // Don't do anything if add isn't an object\n if (!add || !isObject(add)) return origin;\n\n var keys = Object.keys(add);\n var i = keys.length;\n while (i--) {\n origin[keys[i]] = add[keys[i]];\n }\n return origin;\n};\n\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\n\n\n// WEBPACK FOOTER //\n// (webpack)/~/node-libs-browser/~/util/util.js","import { getEntity, read, swap, updateEntity } from '../../store/index';\nimport {\n enterpriseActiveFlowConnection,\n isHRDActive,\n matchConnection,\n toggleHRD\n} from '../enterprise';\nimport { getFieldValue, hideInvalidFields } from '../../field/index';\nimport { emailLocalPart } from '../../field/email';\nimport { logIn as coreLogIn } from '../../core/actions';\nimport * as l from '../../core/index';\n\n// TODO: enterprise connections should not depend on database\n// connections. However, we now allow a username input to contain also\n// an email and this information is in the database module. We should\n// make this information flow from the UI (like we do for the startHRD\n// function). Including this dependency here allows us to do that\n// incrementally.\nimport { databaseLogInWithEmail } from '../database/index';\n\nexport function startHRD(id, email) {\n swap(updateEntity, \"lock\", id, toggleHRD, email);\n}\n\nexport function cancelHRD(id) {\n swap(updateEntity, \"lock\", id, m => {\n m = toggleHRD(m, false);\n m = hideInvalidFields(m);\n return m;\n });\n}\n\nexport function logIn(id) {\n const m = read(getEntity, \"lock\", id);\n const email = getFieldValue(\n m,\n databaseLogInWithEmail(m) ? \"email\" : \"username\"\n );\n const ssoConnection = matchConnection(m, email);\n\n if (ssoConnection && !isHRDActive(m)) {\n return logInSSO(id, ssoConnection);\n }\n\n logInActiveFlow(id);\n}\n\nfunction logInActiveFlow(id) {\n const m = read(getEntity, \"lock\", id);\n const usernameField = isHRDActive(m) || !databaseLogInWithEmail(m)\n ? \"username\"\n : \"email\";\n\n const originalUsername = getFieldValue(m, usernameField);\n const connection = enterpriseActiveFlowConnection(m);\n\n const username = l.defaultADUsernameFromEmailPrefix(m) ? emailLocalPart(originalUsername) : originalUsername;\n\n coreLogIn(id, [\"password\", usernameField], {\n connection: connection ? connection.get(\"name\") : null,\n username: username,\n password: getFieldValue(m, \"password\"),\n login_hint: username\n });\n}\n\nfunction logInSSO(id, connection) {\n const m = read(getEntity, \"lock\", id);\n const field = databaseLogInWithEmail(m) ? \"email\" : \"username\";\n coreLogIn(id, [field], {\n connection: connection.get(\"name\"),\n login_hint: getFieldValue(m, field)\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/enterprise/actions.js","import Immutable, { List, Map } from 'immutable';\nimport { dataFns } from '../../utils/data_utils';\nimport * as l from '../index';\n\nconst { initNS, get } = dataFns([\"client\"]);\n\nconst DEFAULT_CONNECTION_VALIDATION = { username: { min: 1, max: 15 } };\n\nfunction formatConnectionValidation (connectionValidation = {}) {\n if (connectionValidation.username == null) {\n return null;\n }\n\n const validation = { ...DEFAULT_CONNECTION_VALIDATION, ...connectionValidation };\n const defaultMin = DEFAULT_CONNECTION_VALIDATION.username.min;\n const defaultMax = DEFAULT_CONNECTION_VALIDATION.username.max;\n\n validation.username.min = parseInt(validation.username.min, 10) || defaultMin;\n validation.username.max = parseInt(validation.username.max, 10) || defaultMax;\n\n if (validation.username.min > validation.username.max) {\n validation.username.min = defaultMin;\n validation.username.max = defaultMax;\n }\n\n return validation;\n}\n\nconst emptyConnections = Immutable.fromJS({\n database: [],\n enterprise: [],\n passwordless: [],\n social: [],\n unknown: [] // TODO: should be oauth2\n});\n\nexport function initTenant(m, client_id, client) {\n return initNS(m, formatTenant(client_id, client));\n}\n\nfunction formatTenant(client_id, o) {\n return new Immutable.fromJS({\n connections: formatTenantConnections(client_id, o),\n defaultDirectory: o.defaultDirectory || null\n })\n}\n\nfunction formatTenantConnections(client_id, o) {\n const result = emptyConnections.toJS();\n const connectionTypes = Object.keys(o.connections).filter( name => name != 'passwordless' ); // disabled until lock supports passwordless connections within the same engine\n var connections_filter = null;\n\n if (o.clientsConnections && o.clientsConnections[client_id]) {\n connections_filter = o.clientsConnections[client_id];\n }\n\n connectionTypes.forEach( connectionTypeName => {\n const connections = o.connections[connectionTypeName].map(connection => {\n return formatTenantConnection(connectionTypeName, connection);\n }).filter(connection => connections_filter === null || connections_filter.indexOf(connection.name) !== -1);\n result[connectionTypeName].push(...connections);\n })\n\n return result;\n}\n\nfunction formatTenantConnection(connectionType, connection) {\n const result = {\n name: connection.name,\n strategy: connection.strategy,\n type: connectionType\n };\n\n if (connectionType === \"database\") {\n if (connection.validation && connection.validation.passwordPolicy) {\n result.passwordPolicy = connection.validation.passwordPolicy;\n }\n\n result.passwordPolicy = result.passwordPolicy || \"none\";\n\n result.allowSignup = typeof connection.showSignup === \"boolean\"\n ? connection.showSignup\n : true;\n\n result.allowForgot = typeof connection.showForgot === \"boolean\"\n ? connection.showForgot\n : true;\n\n result.requireUsername = typeof connection.requiresUsername === \"boolean\"\n ? connection.requiresUsername\n : false;\n\n result.validation = formatConnectionValidation(connection.validation);\n }\n\n if (connectionType === \"enterprise\") {\n result.domains = connection.domains;\n }\n\n return result;\n}\n\nexport function tenantConnections(m) {\n return get(m, \"connections\", emptyConnections);\n}\n\nexport function defaultDirectory(m) {\n const name = defaultDirectoryName(m);\n return name && l.findConnection(m, name);\n}\n\nexport function defaultDirectoryName(m) {\n return get(m, \"defaultDirectory\", null);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/tenant/index.js","import Base from '../index';\nimport Login from './classic/login';\nimport SignUp from './classic/sign_up_screen';\nimport MFALoginScreen from './classic/mfa_login_screen';\nimport ResetPassword from '../connection/database/reset_password';\nimport { renderSSOScreens } from '../core/sso/index';\nimport {\n additionalSignUpFields,\n authWithUsername,\n databaseUsernameValue,\n defaultDatabaseConnection,\n defaultDatabaseConnectionName,\n getScreen,\n hasInitialScreen,\n hasScreen,\n initDatabase,\n overrideDatabaseOptions\n} from '../connection/database/index';\nimport {\n defaultEnterpriseConnection,\n defaultEnterpriseConnectionName,\n initEnterprise,\n isEnterpriseDomain,\n isHRDActive,\n isInCorpNetwork,\n quickAuthConnection\n} from '../connection/enterprise';\nimport { defaultDirectory, defaultDirectoryName } from '../core/tenant';\nimport { initSocial, useBigButtons } from '../connection/social/index';\nimport { setEmail } from '../field/email';\nimport { setUsername } from '../field/username';\nimport * as l from '../core/index';\nimport KerberosScreen from '../connection/enterprise/kerberos_screen';\nimport HRDScreen from '../connection/enterprise/hrd_screen';\nimport EnterpriseQuickAuthScreen from '../connection/enterprise/quick_auth_screen';\nimport { hasSkippedQuickAuth } from '../quick_auth';\nimport { lastUsedConnection } from '../core/sso/index';\nimport LoadingScreen from '../core/loading_screen';\nimport ErrorScreen from '../core/error_screen';\nimport LastLoginScreen from '../core/sso/last_login_screen';\nimport { hasError, isDone, isSuccess } from '../sync';\nimport { getFieldValue } from '../field/index';\nimport { swap, updateEntity } from '../store/index';\n\nexport function isSSOEnabled(m) {\n return isEnterpriseDomain(m, databaseUsernameValue(m));\n}\n\nexport function usernameStyle(m) {\n return authWithUsername(m) && !isADEnabled(m) ? \"username\" : \"email\";\n}\n\nexport function hasOnlyClassicConnections(m, type = undefined, ...strategies) {\n return l.hasOnlyConnections(m, type, ...strategies)\n && !l.hasSomeConnections(m, \"passwordless\");\n}\n\nexport function useBigSocialButtons(m) {\n return useBigButtons(m, hasOnlyClassicConnections(m, \"social\") ? 5 : 3);\n}\n\nfunction validateAllowedConnections(m) {\n const anyDBConnection = l.hasSomeConnections(m, \"database\");\n const anySocialConnection = l.hasSomeConnections(m, \"social\");\n const anyEnterpriseConnection = l.hasSomeConnections(m, \"enterprise\");\n\n if (!anyDBConnection && !anySocialConnection && !anyEnterpriseConnection) {\n const error = new Error(\"At least one database, enterprise or social connection needs to be available.\");\n error.code = \"no_connection\";\n m = l.stop(m, error);\n } else if (!anyDBConnection && hasInitialScreen(m, \"forgotPassword\")) {\n const error = new Error(\"The `initialScreen` option was set to \\\"forgotPassword\\\" but no database connection is available.\");\n error.code = \"unavailable_initial_screen\";\n m = l.stop(m, error);\n } else if (!anyDBConnection && !anySocialConnection && hasInitialScreen(m, \"signUp\")) {\n const error = new Error(\"The `initialScreen` option was set to \\\"signUp\\\" but no database or social connection is available.\");\n error.code = \"unavailable_initial_screen\";\n m = l.stop(m, error);\n }\n\n if (defaultDirectoryName(m) && !defaultDirectory(m)) {\n l.error(m, `The account's default directory \"${defaultDirectoryName(m)}\" is not enabled.`);\n }\n\n if (defaultDatabaseConnectionName(m) && !defaultDatabaseConnection(m)) {\n l.warn(m, `The provided default database connection \"${defaultDatabaseConnectionName(m)}\" is not enabled.`);\n }\n\n if (defaultEnterpriseConnectionName(m) && !defaultEnterpriseConnection(m)) {\n l.warn(m, `The provided default enterprise connection \"${defaultEnterpriseConnectionName(m)}\" is not enabled or does not allow email/password authentication.`);\n }\n\n return m;\n}\n\nclass Classic {\n\n static SCREENS = {\n login: Login,\n forgotPassword: ResetPassword,\n signUp: SignUp,\n mfaLogin: MFALoginScreen\n };\n\n didInitialize(model, options) {\n model = initSocial(model, options);\n model = initDatabase(model, options);\n model = initEnterprise(model, options);\n\n const { email, username } = options.prefill || {};\n if (typeof email === \"string\") model = setEmail(model, email);\n if (typeof username === \"string\") model = setUsername(model, username, \"username\", false);\n\n return model;\n }\n\n didReceiveClientSettings(m) {\n return validateAllowedConnections(m);\n }\n\n willShow(m, opts) {\n m = overrideDatabaseOptions(m, opts);\n if (isSuccess(m, \"client\")) {\n m = validateAllowedConnections(m);\n }\n return m;\n }\n\n render(m) {\n // TODO: remove the detail about the loading pane being pinned,\n // sticky screens should be handled at the box module.\n if (!isDone(m) || m.get(\"isLoadingPanePinned\")) {\n return new LoadingScreen();\n }\n\n if (l.hasStopped(m)) {\n return new ErrorScreen();\n }\n\n if (hasScreen(m, \"login\")) {\n if (!hasSkippedQuickAuth(m)\n && l.ui.rememberLastLogin(m)\n && hasInitialScreen(m, \"login\")) {\n if (isInCorpNetwork(m)) {\n return new KerberosScreen();\n }\n\n const conn = lastUsedConnection(m);\n if (conn && isSuccess(m, \"sso\")) {\n if (l.hasConnection(m, conn.get(\"name\"))) {\n return new LastLoginScreen();\n }\n }\n }\n\n if (quickAuthConnection(m)) {\n return new EnterpriseQuickAuthScreen();\n }\n\n if (isHRDActive(m)) {\n return new HRDScreen();\n }\n }\n\n const Screen = Classic.SCREENS[getScreen(m)];\n if (Screen) return new Screen();\n\n setTimeout(() => {\n const stopError = new Error(\"Internal error\");\n stopError.code = \"internal_error\";\n stopError.description = `Couldn't find a screen \"${getScreen(m)}\"`;\n swap(updateEntity, \"lock\", l.id(m), l.stop, stopError);\n }, 0);\n\n return new ErrorScreen();\n }\n\n}\n\nexport default new Classic();\n\n\n\n// WEBPACK FOOTER //\n// ./src/engine/classic.js","import React from 'react';\nimport EmailInput from '../../ui/input/email_input';\nimport * as c from '../index';\nimport { swap, updateEntity } from '../../store/index';\nimport * as l from '../../core/index';\nimport { setEmail } from '../email';\nimport { debouncedRequestAvatar, requestAvatar } from '../../avatar';\n\nexport default class EmailPane extends React.Component {\n\n componentDidMount() {\n const { lock } = this.props;\n if (l.ui.avatar(lock) && c.email(lock)) {\n requestAvatar(l.id(lock), c.email(lock));\n }\n }\n\n handleChange(e) {\n const { lock } = this.props;\n if (l.ui.avatar(lock)) {\n debouncedRequestAvatar(l.id(lock), e.target.value);\n }\n\n swap(updateEntity, \"lock\", l.id(lock), setEmail, e.target.value);\n }\n\n render() {\n const { i18n, lock, placeholder } = this.props;\n const value = c.getFieldValue(lock, \"email\");\n\n return (\n <EmailInput\n value={value}\n invalidHint={i18n.str(value ? \"invalidErrorHint\": \"blankErrorHint\")}\n isValid={!c.isFieldVisiblyInvalid(lock, \"email\")}\n onChange={::this.handleChange}\n placeholder={placeholder}\n />\n );\n }\n\n}\n\nEmailPane.propTypes = {\n i18n: React.PropTypes.object.isRequired,\n invalidHint: React.PropTypes.string,\n lock: React.PropTypes.object.isRequired,\n placeholder: React.PropTypes.string.isRequired\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/email/email_pane.jsx","import React from 'react';\nimport PasswordInput from '../../ui/input/password_input';\nimport * as c from '../index';\nimport { swap, updateEntity } from '../../store/index';\nimport * as l from '../../core/index';\nimport { setPassword } from '../password';\n\nexport default class PasswordPane extends React.Component {\n\n handleChange(e) {\n const { lock, policy } = this.props;\n swap(updateEntity, \"lock\", l.id(lock), setPassword, e.target.value, policy);\n }\n\n render() {\n const { i18n, lock, placeholder, policy, strengthMessages } = this.props;\n\n return (\n <PasswordInput\n value={c.getFieldValue(lock, \"password\")}\n invalidHint={i18n.str(\"blankErrorHint\")}\n isValid={!c.isFieldVisiblyInvalid(lock, \"password\")}\n onChange={::this.handleChange}\n placeholder={placeholder}\n strengthMessages={strengthMessages}\n disabled={l.submitting(lock)}\n policy={policy}\n />\n );\n }\n\n}\n\nPasswordPane.propTypes = {\n i18n: React.PropTypes.object.isRequired,\n lock: React.PropTypes.object.isRequired,\n onChange: React.PropTypes.func,\n placeholder: React.PropTypes.string.isRequired,\n policy: React.PropTypes.string,\n strengthMessages: React.PropTypes.object\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/password/password_pane.jsx","import { setField } from './index';\nimport { validateEmail } from './email';\nimport { databaseConnection } from '../connection/database';\nimport trim from 'trim';\n\n\nconst DEFAULT_CONNECTION_VALIDATION = { username: { min: 1, max: 15 } };\nconst regExp = /^[a-zA-Z0-9_]+$/;\n\nfunction validateUsername(str, validateFormat, settings = DEFAULT_CONNECTION_VALIDATION.username) {\n\n// If the connection does not have validation settings, it should only check if the field is empty.\n// validateFormat overrides this logic to disable validation on login (login should never validate format)\n if (!validateFormat || settings == null) {\n return trim(str).length > 0;\n }\n\n const lowercased = trim(str.toLowerCase());\n\n // chekc min value matched\n if (lowercased.length < settings.min) {\n return false;\n }\n\n // check max value matched\n if (lowercased.length > settings.max) {\n return false;\n }\n\n // check allowed characters matched\n const result = regExp.exec(lowercased);\n return result && result[0];\n}\n\nexport function getUsernameValidation(m) {\n const usernameValidation = databaseConnection(m).getIn(['validation', 'username']);\n return usernameValidation ? usernameValidation.toJS() : null;\n}\n\nexport function setUsername(m, str, usernameStyle = \"username\", validateUsernameFormat = true) {\n const usernameValidation = validateUsernameFormat ? getUsernameValidation(m) : null;\n\n const validator = value => {\n switch (usernameStyle) {\n case \"email\":\n return validateEmail(value);\n case \"username\":\n return validateUsername(value, validateUsernameFormat, usernameValidation);\n default:\n return usernameLooksLikeEmail(value)\n ? validateEmail(value)\n : validateUsername(value, validateUsernameFormat, usernameValidation);\n }\n };\n\n return setField(m, \"username\", str, validator);\n}\n\nexport function usernameLooksLikeEmail(str) {\n return str.indexOf(\"@\") > -1;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/username.js","import React from 'react';\nimport UsernameInput from '../../ui/input/username_input';\nimport * as c from '../index';\nimport { swap, updateEntity } from '../../store/index';\nimport * as l from '../../core/index';\nimport { setUsername, usernameLooksLikeEmail, getUsernameValidation } from '../username';\nimport { debouncedRequestAvatar, requestAvatar } from '../../avatar';\n\nexport default class UsernamePane extends React.Component {\n\n componentDidMount() {\n const { lock } = this.props;\n if (l.ui.avatar(lock) && c.username(lock)) {\n requestAvatar(l.id(lock), c.username(lock));\n }\n }\n\n handleChange(e) {\n const { lock, validateFormat, usernameStyle } = this.props;\n if (l.ui.avatar(lock)) {\n debouncedRequestAvatar(l.id(lock), e.target.value);\n }\n\n swap(updateEntity, \"lock\", l.id(lock), setUsername, e.target.value, usernameStyle, validateFormat);\n }\n\n render() {\n const { i18n, lock, placeholder, validateFormat } = this.props;\n const value = c.getFieldValue(lock, \"username\");\n const usernameValidation = validateFormat ? getUsernameValidation(lock) : {};\n\n const invalidHintKey = (str) => {\n if (!str) return \"blankErrorHint\";\n if (usernameLooksLikeEmail(str) || !validateFormat) return \"invalidErrorHint\";\n return \"usernameFormatErrorHint\";\n };\n\n const invalidHint = (str) => {\n const hintKey = invalidHintKey(str);\n\n // only show format info in the error if it should validate the format and \n // if there is any format restrictions for the connection\n if (\"usernameFormatErrorHint\" === hintKey && validateFormat && usernameValidation != null) {\n return i18n.str(hintKey, usernameValidation.min, usernameValidation.max)\n }\n\n return i18n.str(hintKey)\n }\n\n return (\n <UsernameInput\n value={value}\n invalidHint={invalidHint(value)}\n isValid={!c.isFieldVisiblyInvalid(lock, \"username\")}\n onChange={::this.handleChange}\n placeholder={placeholder}\n />\n );\n }\n\n}\n\nUsernamePane.propTypes = {\n i18n: React.PropTypes.object.isRequired,\n lock: React.PropTypes.object.isRequired,\n placeholder: React.PropTypes.string.isRequired,\n validateFormat: React.PropTypes.bool.isRequired,\n usernameStyle: React.PropTypes.oneOf([\"any\", \"email\", \"username\"])\n};\n\nUsernamePane.defaultProps = {\n validateFormat: false,\n usernameStyle: \"username\"\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/username/username_pane.jsx","import React from 'react';\nimport ConfirmationPane from './confirmation_pane';\n\nconst svg = '<svg width=\"56px\" height=\"56px\" viewBox=\"0 0 52 52\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"checkmark\"> <circle cx=\"26\" cy=\"26\" r=\"25\" fill=\"none\" class=\"checkmark__circle\"></circle> <path fill=\"none\" d=\"M14.1 27.2l7.1 7.2 16.7-16.8\" class=\"checkmark__check\"></path> </svg>';\n\nconst SuccessPane = props => <ConfirmationPane svg={svg} {...props} />;\n\nexport default SuccessPane;\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/box/success_pane.jsx","import React from 'react';\nimport InputWrap from './input_wrap';\nimport PasswordStrength from './password/password_strength';\n\nexport const icon = '<svg width=\"11px\" height=\"14px\" viewBox=\"0 0 13 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"auth0-lock-icon auth0-lock-icon-box\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g transform=\"translate(-288.000000, -1508.000000)\" fill=\"#888888\"><path d=\"M299,1523.998 L290,1523.998 C288.896,1523.998 288,1523.102 288,1521.999 L288,1515.999 C288,1514.895 288.896,1513.998 290,1513.998 L290,1513.998 L290,1512.499 C290,1510.015 292.015,1507.999 294.5,1507.999 C296.985,1507.999 299,1510.015 299,1512.499 L299,1513.999 C300.104,1513.999 301,1514.895 301,1515.999 L301,1521.999 C301,1523.103 300.104,1523.998 299,1523.998 L299,1523.998 Z M298,1512.499 C298,1510.566 296.433,1508.999 294.5,1508.999 C292.567,1508.999 291,1510.566 291,1512.499 L291,1513.998 L298,1513.998 L298,1512.499 L298,1512.499 Z M300,1515.999 C300,1515.446 299.552,1514.998 299,1514.998 L290,1514.998 C289.447,1514.998 289,1515.446 289,1515.999 L289,1521.999 C289,1522.551 289.447,1522.998 290,1522.998 L299,1522.998 C299.552,1522.998 300,1522.551 300,1521.999 L300,1515.999 L300,1515.999 Z M294.5,1520.998 C294.224,1520.998 294,1520.774 294,1520.498 L294,1517.498 C294,1517.223 294.224,1516.999 294.5,1516.999 C294.776,1516.999 295,1517.223 295,1517.498 L295,1520.498 C295,1520.774 294.776,1520.998 294.5,1520.998 L294.5,1520.998 Z\"></path></g></g></svg>';\n\nexport default class PasswordInput extends React.Component {\n static propTypes = {\n invalidHint: React.PropTypes.string.isRequired,\n isValid: React.PropTypes.bool.isRequired,\n onChange: React.PropTypes.func.isRequired,\n placeholder: React.PropTypes.string,\n policy: React.PropTypes.string,\n strengthMessages: React.PropTypes.object,\n value: React.PropTypes.string.isRequired\n };\n\n constructor(props) {\n super(props);\n this.state = {};\n }\n\n focus() {\n this.refs.input && this.refs.input.focus();\n }\n\n hasFocus() {\n return this.state.focused;\n }\n\n render() {\n const {\n invalidHint,\n isValid,\n onChange,\n policy,\n strengthMessages,\n value,\n ...props\n } = this.props;\n\n const { focused, changing } = this.state;\n\n const passwordStrength = policy && focused && changing\n ? <PasswordStrength\n messages={strengthMessages}\n password={value}\n policy={policy}\n />\n : null;\n\n return (\n <InputWrap\n before={passwordStrength}\n focused={focused}\n invalidHint={policy ? undefined : invalidHint}\n isValid={isValid}\n name=\"password\"\n icon={icon}\n >\n <input\n ref=\"input\"\n type=\"password\"\n name=\"password\"\n className=\"auth0-lock-input\"\n autoComplete=\"off\"\n autoCapitalize=\"off\"\n onChange={::this.handleOnChange}\n onFocus={::this.handleFocus}\n onBlur={::this.handleBlur}\n value={value}\n {...props}\n />\n </InputWrap>\n );\n }\n\n handleOnChange(e) {\n var state = this.state;\n state.changing = true;\n this.setState(state);\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n handleFocus() {\n this.setState({focused: true});\n }\n\n handleBlur() {\n this.setState({focused: false});\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/input/password_input.jsx","import React from 'react';\nimport AuthButton from '../button/auth_button';\n\nconst QuickAuthPane = (props) => {\n const {\n alternativeLabel,\n alternativeClickHandler,\n buttonLabel,\n buttonClickHandler,\n header,\n strategy,\n buttonIcon,\n primaryColor,\n foregroundColor\n } = props;\n\n const alternative = alternativeLabel\n ? <p className=\"auth0-lock-alternative\">\n <a\n className=\"auth0-lock-alternative-link\"\n href=\"#\"\n onClick={e => {e.preventDefault(); alternativeClickHandler(e)}}\n >\n {alternativeLabel}\n </a>\n </p>\n : null;\n\n\n return (\n <div className=\"auth0-lock-last-login-pane\">\n {header}\n\n <AuthButton\n label={buttonLabel}\n onClick={e => {e.preventDefault(); buttonClickHandler(e)}}\n strategy={strategy}\n primaryColor={primaryColor}\n foregroundColor={foregroundColor}\n icon={buttonIcon}\n />\n\n {alternative}\n\n <div className=\"auth0-loading-container\">\n <div className=\"auth0-loading\" />\n </div>\n </div>\n );\n};\n\nQuickAuthPane.propTypes = {\n alternativeLabel: React.PropTypes.string,\n alternativeClickHandler: (props, propName, component, ...rest) => {\n if (props.alternativeLabel !== undefined) {\n return React.PropTypes.func.isRequired(props, propName, component, ...rest);\n }\n },\n buttonLabel: React.PropTypes.string.isRequired,\n buttonClickHandler: React.PropTypes.func.isRequired,\n header: React.PropTypes.element,\n strategy: React.PropTypes.string.isRequired\n};\n\nexport default QuickAuthPane;\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/pane/quick_auth_pane.jsx","import Auth0 from 'auth0-js';\n\nif (!global.Auth0) {\n global.Auth0 = Auth0;\n}\n\nconst cbs = {};\n\nexport function load(attrs) {\n const { cb, check, method, url } = attrs;\n\n if (!cbs[method]) {\n cbs[method] = [];\n global.Auth0[method] = function(...args) {\n cbs[method] = cbs[method].filter(x => {\n if (x.check(...args)) {\n setTimeout(() => x.cb(null, ...args), 0);\n return false;\n } else {\n return true;\n }\n });\n }\n }\n\n cbs[method].push({cb: cb, check: check, url: url});\n\n const count = cbs[method].reduce((r, x) => r + (x.url === url ? 1 : 0), 0);\n\n if (count > 1) return;\n\n const script = global.document.createElement('script');\n script.src = url;\n global.document.getElementsByTagName('head')[0].appendChild(script);\n\n const handleError = (url) => {\n cbs[method] = cbs[method].filter(x => {\n if (x.url === url) {\n setTimeout(() => x.cb({}), 0);\n return false;\n } else {\n return true;\n }\n });\n }\n\n const timeoutID = setTimeout(() => handleError(url), 5000);\n\n script.addEventListener('load', () => clearTimeout(timeoutID));\n\n script.addEventListener('error', () => {\n clearTimeout(timeoutID);\n handleError(url);\n });\n}\n\nexport function preload({method, cb}) {\n global.Auth0[method] = cb;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/cdn_utils.js","export function matches(search, str) {\n return str.toLowerCase().indexOf(search.toLowerCase()) > -1;\n}\n\nexport function startsWith(str, search) {\n return str.indexOf(search) === 0;\n}\n\nexport function endsWith(str, search) {\n return str.indexOf(search, str.length - search.length) !== -1;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/string_utils.js","/**\n * Expose `JSON.parse` method or fallback if not\n * exists on `window`\n */\n\nmodule.exports = 'undefined' === typeof JSON\n ? require('json-fallback').parse\n : JSON.parse;\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/json-parse.js","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nmodule.exports = {\n 'default': 'RFC3986',\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return value;\n }\n },\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/qs/lib/formats.js","'use strict';\n\nvar has = Object.prototype.hasOwnProperty;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nexports.arrayToObject = function (source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nexports.merge = function (target, source, options) {\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (Array.isArray(target)) {\n target.push(source);\n } else if (typeof target === 'object') {\n target[source] = true;\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (Array.isArray(target) && !Array.isArray(source)) {\n mergeTarget = exports.arrayToObject(target, options);\n }\n\n if (Array.isArray(target) && Array.isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n if (target[i] && typeof target[i] === 'object') {\n target[i] = exports.merge(target[i], item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (Object.prototype.hasOwnProperty.call(acc, key)) {\n acc[key] = exports.merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nexports.decode = function (str) {\n try {\n return decodeURIComponent(str.replace(/\\+/g, ' '));\n } catch (e) {\n return str;\n }\n};\n\nexports.encode = function (str) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = typeof str === 'string' ? str : String(str);\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D || // -\n c === 0x2E || // .\n c === 0x5F || // _\n c === 0x7E || // ~\n (c >= 0x30 && c <= 0x39) || // 0-9\n (c >= 0x41 && c <= 0x5A) || // a-z\n (c >= 0x61 && c <= 0x7A) // A-Z\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n out += hexTable[0xF0 | (c >> 18)] + hexTable[0x80 | ((c >> 12) & 0x3F)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nexports.compact = function (obj, references) {\n if (typeof obj !== 'object' || obj === null) {\n return obj;\n }\n\n var refs = references || [];\n var lookup = refs.indexOf(obj);\n if (lookup !== -1) {\n return refs[lookup];\n }\n\n refs.push(obj);\n\n if (Array.isArray(obj)) {\n var compacted = [];\n\n for (var i = 0; i < obj.length; ++i) {\n if (obj[i] && typeof obj[i] === 'object') {\n compacted.push(exports.compact(obj[i], refs));\n } else if (typeof obj[i] !== 'undefined') {\n compacted.push(obj[i]);\n }\n }\n\n return compacted;\n }\n\n var keys = Object.keys(obj);\n keys.forEach(function (key) {\n obj[key] = exports.compact(obj[key], refs);\n });\n\n return obj;\n};\n\nexports.isRegExp = function (obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nexports.isBuffer = function (obj) {\n if (obj === null || typeof obj === 'undefined') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/qs/lib/utils.js","/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule CSSCore\n * @typechecks\n */\n\n'use strict';\n\nvar invariant = require('./invariant');\n\n/**\n * The CSSCore module specifies the API (and implements most of the methods)\n * that should be used when dealing with the display of elements (via their\n * CSS classes and visibility on screen. It is an API focused on mutating the\n * display and not reading it as no logical state should be encoded in the\n * display of elements.\n */\n\nvar CSSCore = {\n\n /**\n * Adds the class passed in to the element if it doesn't already have it.\n *\n * @param {DOMElement} element the element to set the class on\n * @param {string} className the CSS className\n * @return {DOMElement} the element passed in\n */\n addClass: function (element, className) {\n !!/\\s/.test(className) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'CSSCore.addClass takes only a single class name. \"%s\" contains ' + 'multiple classes.', className) : invariant(false) : undefined;\n\n if (className) {\n if (element.classList) {\n element.classList.add(className);\n } else if (!CSSCore.hasClass(element, className)) {\n element.className = element.className + ' ' + className;\n }\n }\n return element;\n },\n\n /**\n * Removes the class passed in from the element\n *\n * @param {DOMElement} element the element to set the class on\n * @param {string} className the CSS className\n * @return {DOMElement} the element passed in\n */\n removeClass: function (element, className) {\n !!/\\s/.test(className) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'CSSCore.removeClass takes only a single class name. \"%s\" contains ' + 'multiple classes.', className) : invariant(false) : undefined;\n\n if (className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (CSSCore.hasClass(element, className)) {\n element.className = element.className.replace(new RegExp('(^|\\\\s)' + className + '(?:\\\\s|$)', 'g'), '$1').replace(/\\s+/g, ' ') // multiple spaces to one\n .replace(/^\\s*|\\s*$/g, ''); // trim the ends\n }\n }\n return element;\n },\n\n /**\n * Helper to add or remove a class from an element based on a condition.\n *\n * @param {DOMElement} element the element to set the class on\n * @param {string} className the CSS className\n * @param {*} bool condition to whether to add or remove the class\n * @return {DOMElement} the element passed in\n */\n conditionClass: function (element, className, bool) {\n return (bool ? CSSCore.addClass : CSSCore.removeClass)(element, className);\n },\n\n /**\n * Tests whether the element has the class specified.\n *\n * @param {DOMNode|DOMWindow} element the element to set the class on\n * @param {string} className the CSS className\n * @return {boolean} true if the element has the class, false if not\n */\n hasClass: function (element, className) {\n !!/\\s/.test(className) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'CSS.hasClass takes only a single class name.') : invariant(false) : undefined;\n if (element.classList) {\n return !!className && element.classList.contains(className);\n }\n return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1;\n }\n\n};\n\nmodule.exports = CSSCore;\n\n\n// WEBPACK FOOTER //\n// ./~/fbjs/lib/CSSCore.js","\nvar charsets = require('./lib/rules/contains').charsets;\n\nvar upperCase = charsets.upperCase;\nvar lowerCase = charsets.lowerCase;\nvar numbers = charsets.numbers;\nvar specialCharacters = charsets.specialCharacters;\n\nvar PasswordPolicy = require('./lib/policy');\n\nvar none = new PasswordPolicy({\n length: { minLength: 1 }\n});\n\nvar low = new PasswordPolicy({\n length: { minLength: 6 }\n});\n\nvar fair = new PasswordPolicy({\n length: { minLength: 8 },\n contains: {\n expressions: [lowerCase, upperCase, numbers]\n }\n});\n\nvar good = new PasswordPolicy({\n length: { minLength: 8 },\n containsAtLeast: {\n atLeast: 3,\n expressions: [lowerCase, upperCase, numbers, specialCharacters]\n }\n});\n\nvar excellent = new PasswordPolicy({\n length: { minLength: 10 },\n containsAtLeast: {\n atLeast: 3,\n expressions: [lowerCase, upperCase, numbers, specialCharacters]\n },\n identicalChars: { max: 2 }\n});\n\nvar policiesByName = {\n none: none,\n low: low,\n fair: fair,\n good: good,\n excellent: excellent\n};\n\n/**\n * Creates a password policy.\n *\n * @param {String} policyName Name of policy to use.\n */\nmodule.exports = function (policyName) {\n var policy = policiesByName[policyName] || policiesByName.none;\n\n return {\n /**\n * Checks that a password meets this policy\n *\n * @method check\n * @param {String} password\n */\n check: function (password) {\n return policy.check(password);\n },\n /**\n * @method assert\n * Asserts that a passord meets this policy else throws an exception.\n *\n * @param {String} password\n */\n assert: function (password) {\n return policy.assert(password);\n },\n\n missing: function (password) {\n return policy.missing(password);\n },\n\n missingAsMarkdown: function (password) {\n return policy.missingAsMarkdown(password);\n },\n\n explain: function () {\n return policy.explain();\n },\n\n /**\n * Friendly string representation of the policy\n * @method toString\n */\n toString: function () {\n return policy.toString();\n }\n };\n};\n\nmodule.exports.PasswordPolicy = PasswordPolicy;\n\nmodule.exports.charsets = charsets;\n\n// module.exports.rulesToApply = rulesToApply;\n\n\n\n// WEBPACK FOOTER //\n// ./~/password-sheriff/index.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * CSS properties which accept numbers but are not in units of \"px\".\n */\n\nvar isUnitlessNumber = {\n animationIterationCount: true,\n borderImageOutset: true,\n borderImageSlice: true,\n borderImageWidth: true,\n boxFlex: true,\n boxFlexGroup: true,\n boxOrdinalGroup: true,\n columnCount: true,\n flex: true,\n flexGrow: true,\n flexPositive: true,\n flexShrink: true,\n flexNegative: true,\n flexOrder: true,\n gridRow: true,\n gridColumn: true,\n fontWeight: true,\n lineClamp: true,\n lineHeight: true,\n opacity: true,\n order: true,\n orphans: true,\n tabSize: true,\n widows: true,\n zIndex: true,\n zoom: true,\n\n // SVG-related properties\n fillOpacity: true,\n floodOpacity: true,\n stopOpacity: true,\n strokeDasharray: true,\n strokeDashoffset: true,\n strokeMiterlimit: true,\n strokeOpacity: true,\n strokeWidth: true\n};\n\n/**\n * @param {string} prefix vendor-specific prefix, eg: Webkit\n * @param {string} key style name, eg: transitionDuration\n * @return {string} style name prefixed with `prefix`, properly camelCased, eg:\n * WebkitTransitionDuration\n */\nfunction prefixKey(prefix, key) {\n return prefix + key.charAt(0).toUpperCase() + key.substring(1);\n}\n\n/**\n * Support style names that may come passed in prefixed by adding permutations\n * of vendor prefixes.\n */\nvar prefixes = ['Webkit', 'ms', 'Moz', 'O'];\n\n// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an\n// infinite loop, because it iterates over the newly added props too.\nObject.keys(isUnitlessNumber).forEach(function (prop) {\n prefixes.forEach(function (prefix) {\n isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];\n });\n});\n\n/**\n * Most style properties can be unset by doing .style[prop] = '' but IE8\n * doesn't like doing that with shorthand properties so for the properties that\n * IE8 breaks on, which are listed here, we instead unset each of the\n * individual properties. See http://bugs.jquery.com/ticket/12385.\n * The 4-value 'clock' properties like margin, padding, border-width seem to\n * behave without any problems. Curiously, list-style works too without any\n * special prodding.\n */\nvar shorthandPropertyExpansions = {\n background: {\n backgroundAttachment: true,\n backgroundColor: true,\n backgroundImage: true,\n backgroundPositionX: true,\n backgroundPositionY: true,\n backgroundRepeat: true\n },\n backgroundPosition: {\n backgroundPositionX: true,\n backgroundPositionY: true\n },\n border: {\n borderWidth: true,\n borderStyle: true,\n borderColor: true\n },\n borderBottom: {\n borderBottomWidth: true,\n borderBottomStyle: true,\n borderBottomColor: true\n },\n borderLeft: {\n borderLeftWidth: true,\n borderLeftStyle: true,\n borderLeftColor: true\n },\n borderRight: {\n borderRightWidth: true,\n borderRightStyle: true,\n borderRightColor: true\n },\n borderTop: {\n borderTopWidth: true,\n borderTopStyle: true,\n borderTopColor: true\n },\n font: {\n fontStyle: true,\n fontVariant: true,\n fontWeight: true,\n fontSize: true,\n lineHeight: true,\n fontFamily: true\n },\n outline: {\n outlineWidth: true,\n outlineStyle: true,\n outlineColor: true\n }\n};\n\nvar CSSProperty = {\n isUnitlessNumber: isUnitlessNumber,\n shorthandPropertyExpansions: shorthandPropertyExpansions\n};\n\nmodule.exports = CSSProperty;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/CSSProperty.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar PooledClass = require('./PooledClass');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * A specialized pseudo-event module to help keep track of components waiting to\n * be notified when their DOM representations are available for use.\n *\n * This implements `PooledClass`, so you should never need to instantiate this.\n * Instead, use `CallbackQueue.getPooled()`.\n *\n * @class ReactMountReady\n * @implements PooledClass\n * @internal\n */\n\nvar CallbackQueue = function () {\n function CallbackQueue(arg) {\n _classCallCheck(this, CallbackQueue);\n\n this._callbacks = null;\n this._contexts = null;\n this._arg = arg;\n }\n\n /**\n * Enqueues a callback to be invoked when `notifyAll` is invoked.\n *\n * @param {function} callback Invoked when `notifyAll` is invoked.\n * @param {?object} context Context to call `callback` with.\n * @internal\n */\n\n\n CallbackQueue.prototype.enqueue = function enqueue(callback, context) {\n this._callbacks = this._callbacks || [];\n this._callbacks.push(callback);\n this._contexts = this._contexts || [];\n this._contexts.push(context);\n };\n\n /**\n * Invokes all enqueued callbacks and clears the queue. This is invoked after\n * the DOM representation of a component has been created or updated.\n *\n * @internal\n */\n\n\n CallbackQueue.prototype.notifyAll = function notifyAll() {\n var callbacks = this._callbacks;\n var contexts = this._contexts;\n var arg = this._arg;\n if (callbacks && contexts) {\n !(callbacks.length === contexts.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Mismatched list of contexts in callback queue') : _prodInvariant('24') : void 0;\n this._callbacks = null;\n this._contexts = null;\n for (var i = 0; i < callbacks.length; i++) {\n callbacks[i].call(contexts[i], arg);\n }\n callbacks.length = 0;\n contexts.length = 0;\n }\n };\n\n CallbackQueue.prototype.checkpoint = function checkpoint() {\n return this._callbacks ? this._callbacks.length : 0;\n };\n\n CallbackQueue.prototype.rollback = function rollback(len) {\n if (this._callbacks && this._contexts) {\n this._callbacks.length = len;\n this._contexts.length = len;\n }\n };\n\n /**\n * Resets the internal queue.\n *\n * @internal\n */\n\n\n CallbackQueue.prototype.reset = function reset() {\n this._callbacks = null;\n this._contexts = null;\n };\n\n /**\n * `PooledClass` looks for this.\n */\n\n\n CallbackQueue.prototype.destructor = function destructor() {\n this.reset();\n };\n\n return CallbackQueue;\n}();\n\nmodule.exports = PooledClass.addPoolingTo(CallbackQueue);\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/CallbackQueue.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMProperty = require('./DOMProperty');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar quoteAttributeValueForBrowser = require('./quoteAttributeValueForBrowser');\nvar warning = require('fbjs/lib/warning');\n\nvar VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$');\nvar illegalAttributeNameCache = {};\nvar validatedAttributeNameCache = {};\n\nfunction isAttributeNameSafe(attributeName) {\n if (validatedAttributeNameCache.hasOwnProperty(attributeName)) {\n return true;\n }\n if (illegalAttributeNameCache.hasOwnProperty(attributeName)) {\n return false;\n }\n if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {\n validatedAttributeNameCache[attributeName] = true;\n return true;\n }\n illegalAttributeNameCache[attributeName] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid attribute name: `%s`', attributeName) : void 0;\n return false;\n}\n\nfunction shouldIgnoreValue(propertyInfo, value) {\n return value == null || propertyInfo.hasBooleanValue && !value || propertyInfo.hasNumericValue && isNaN(value) || propertyInfo.hasPositiveNumericValue && value < 1 || propertyInfo.hasOverloadedBooleanValue && value === false;\n}\n\n/**\n * Operations for dealing with DOM properties.\n */\nvar DOMPropertyOperations = {\n\n /**\n * Creates markup for the ID property.\n *\n * @param {string} id Unescaped ID.\n * @return {string} Markup string.\n */\n createMarkupForID: function (id) {\n return DOMProperty.ID_ATTRIBUTE_NAME + '=' + quoteAttributeValueForBrowser(id);\n },\n\n setAttributeForID: function (node, id) {\n node.setAttribute(DOMProperty.ID_ATTRIBUTE_NAME, id);\n },\n\n createMarkupForRoot: function () {\n return DOMProperty.ROOT_ATTRIBUTE_NAME + '=\"\"';\n },\n\n setAttributeForRoot: function (node) {\n node.setAttribute(DOMProperty.ROOT_ATTRIBUTE_NAME, '');\n },\n\n /**\n * Creates markup for a property.\n *\n * @param {string} name\n * @param {*} value\n * @return {?string} Markup string, or null if the property was invalid.\n */\n createMarkupForProperty: function (name, value) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n if (shouldIgnoreValue(propertyInfo, value)) {\n return '';\n }\n var attributeName = propertyInfo.attributeName;\n if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n return attributeName + '=\"\"';\n }\n return attributeName + '=' + quoteAttributeValueForBrowser(value);\n } else if (DOMProperty.isCustomAttribute(name)) {\n if (value == null) {\n return '';\n }\n return name + '=' + quoteAttributeValueForBrowser(value);\n }\n return null;\n },\n\n /**\n * Creates markup for a custom property.\n *\n * @param {string} name\n * @param {*} value\n * @return {string} Markup string, or empty string if the property was invalid.\n */\n createMarkupForCustomAttribute: function (name, value) {\n if (!isAttributeNameSafe(name) || value == null) {\n return '';\n }\n return name + '=' + quoteAttributeValueForBrowser(value);\n },\n\n /**\n * Sets the value for a property on a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n * @param {*} value\n */\n setValueForProperty: function (node, name, value) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n var mutationMethod = propertyInfo.mutationMethod;\n if (mutationMethod) {\n mutationMethod(node, value);\n } else if (shouldIgnoreValue(propertyInfo, value)) {\n this.deleteValueForProperty(node, name);\n return;\n } else if (propertyInfo.mustUseProperty) {\n // Contrary to `setAttribute`, object properties are properly\n // `toString`ed by IE8/9.\n node[propertyInfo.propertyName] = value;\n } else {\n var attributeName = propertyInfo.attributeName;\n var namespace = propertyInfo.attributeNamespace;\n // `setAttribute` with objects becomes only `[object]` in IE8/9,\n // ('' + value) makes it output the correct toString()-value.\n if (namespace) {\n node.setAttributeNS(namespace, attributeName, '' + value);\n } else if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n node.setAttribute(attributeName, '');\n } else {\n node.setAttribute(attributeName, '' + value);\n }\n }\n } else if (DOMProperty.isCustomAttribute(name)) {\n DOMPropertyOperations.setValueForAttribute(node, name, value);\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var payload = {};\n payload[name] = value;\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n type: 'update attribute',\n payload: payload\n });\n }\n },\n\n setValueForAttribute: function (node, name, value) {\n if (!isAttributeNameSafe(name)) {\n return;\n }\n if (value == null) {\n node.removeAttribute(name);\n } else {\n node.setAttribute(name, '' + value);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var payload = {};\n payload[name] = value;\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n type: 'update attribute',\n payload: payload\n });\n }\n },\n\n /**\n * Deletes an attributes from a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n */\n deleteValueForAttribute: function (node, name) {\n node.removeAttribute(name);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n type: 'remove attribute',\n payload: name\n });\n }\n },\n\n /**\n * Deletes the value for a property on a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n */\n deleteValueForProperty: function (node, name) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n var mutationMethod = propertyInfo.mutationMethod;\n if (mutationMethod) {\n mutationMethod(node, undefined);\n } else if (propertyInfo.mustUseProperty) {\n var propName = propertyInfo.propertyName;\n if (propertyInfo.hasBooleanValue) {\n node[propName] = false;\n } else {\n node[propName] = '';\n }\n } else {\n node.removeAttribute(propertyInfo.attributeName);\n }\n } else if (DOMProperty.isCustomAttribute(name)) {\n node.removeAttribute(name);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n type: 'remove attribute',\n payload: name\n });\n }\n }\n\n};\n\nmodule.exports = DOMPropertyOperations;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/DOMPropertyOperations.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n/* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/\n\n'use strict';\n\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDefaultInjection = require('./ReactDefaultInjection');\nvar ReactMount = require('./ReactMount');\nvar ReactReconciler = require('./ReactReconciler');\nvar ReactUpdates = require('./ReactUpdates');\nvar ReactVersion = require('./ReactVersion');\n\nvar findDOMNode = require('./findDOMNode');\nvar getHostComponentFromComposite = require('./getHostComponentFromComposite');\nvar renderSubtreeIntoContainer = require('./renderSubtreeIntoContainer');\nvar warning = require('fbjs/lib/warning');\n\nReactDefaultInjection.inject();\n\nvar ReactDOM = {\n findDOMNode: findDOMNode,\n render: ReactMount.render,\n unmountComponentAtNode: ReactMount.unmountComponentAtNode,\n version: ReactVersion,\n\n /* eslint-disable camelcase */\n unstable_batchedUpdates: ReactUpdates.batchedUpdates,\n unstable_renderSubtreeIntoContainer: renderSubtreeIntoContainer\n};\n\n// Inject the runtime into a devtools global hook regardless of browser.\n// Allows for debugging when the hook is injected on the page.\nif (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject === 'function') {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.inject({\n ComponentTree: {\n getClosestInstanceFromNode: ReactDOMComponentTree.getClosestInstanceFromNode,\n getNodeFromInstance: function (inst) {\n // inst is an internal instance (but could be a composite)\n if (inst._renderedComponent) {\n inst = getHostComponentFromComposite(inst);\n }\n if (inst) {\n return ReactDOMComponentTree.getNodeFromInstance(inst);\n } else {\n return null;\n }\n }\n },\n Mount: ReactMount,\n Reconciler: ReactReconciler\n });\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n if (ExecutionEnvironment.canUseDOM && window.top === window.self) {\n\n // First check if devtools is not installed\n if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') {\n // If we're in Chrome or Firefox, provide a download link if not installed.\n if (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Edge') === -1 || navigator.userAgent.indexOf('Firefox') > -1) {\n // Firefox does not have the issue with devtools loaded over file://\n var showFileUrlMessage = window.location.protocol.indexOf('http') === -1 && navigator.userAgent.indexOf('Firefox') === -1;\n console.debug('Download the React DevTools ' + (showFileUrlMessage ? 'and use an HTTP server (instead of a file: URL) ' : '') + 'for a better development experience: ' + 'https://fb.me/react-devtools');\n }\n }\n\n var testFunc = function testFn() {};\n process.env.NODE_ENV !== 'production' ? warning((testFunc.name || testFunc.toString()).indexOf('testFn') !== -1, 'It looks like you\\'re using a minified copy of the development build ' + 'of React. When deploying React apps to production, make sure to use ' + 'the production build which skips development warnings and is faster. ' + 'See https://fb.me/react-minification for more details.') : void 0;\n\n // If we're in IE8, check to see if we are in compatibility mode and provide\n // information on preventing compatibility mode\n var ieCompatibilityMode = document.documentMode && document.documentMode < 8;\n\n process.env.NODE_ENV !== 'production' ? warning(!ieCompatibilityMode, 'Internet Explorer is running in compatibility mode; please add the ' + 'following tag to your HTML to prevent this from happening: ' + '<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />') : void 0;\n\n var expectedFeatures = [\n // shims\n Array.isArray, Array.prototype.every, Array.prototype.forEach, Array.prototype.indexOf, Array.prototype.map, Date.now, Function.prototype.bind, Object.keys, String.prototype.trim];\n\n for (var i = 0; i < expectedFeatures.length; i++) {\n if (!expectedFeatures[i]) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'One or more ES5 shims expected by React are not available: ' + 'https://fb.me/react-warning-polyfills') : void 0;\n break;\n }\n }\n }\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactInstrumentation = require('./ReactInstrumentation');\n var ReactDOMUnknownPropertyHook = require('./ReactDOMUnknownPropertyHook');\n var ReactDOMNullInputValuePropHook = require('./ReactDOMNullInputValuePropHook');\n var ReactDOMInvalidARIAHook = require('./ReactDOMInvalidARIAHook');\n\n ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook);\n ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook);\n ReactInstrumentation.debugTool.addHook(ReactDOMInvalidARIAHook);\n}\n\nmodule.exports = ReactDOM;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOM.js","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactDOMComponentFlags = {\n hasCachedChildNodes: 1 << 0\n};\n\nmodule.exports = ReactDOMComponentFlags;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMComponentFlags.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar LinkedValueUtils = require('./LinkedValueUtils');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar warning = require('fbjs/lib/warning');\n\nvar didWarnValueLink = false;\nvar didWarnValueDefaultValue = false;\n\nfunction updateOptionsIfPendingUpdateAndMounted() {\n if (this._rootNodeID && this._wrapperState.pendingUpdate) {\n this._wrapperState.pendingUpdate = false;\n\n var props = this._currentElement.props;\n var value = LinkedValueUtils.getValue(props);\n\n if (value != null) {\n updateOptions(this, Boolean(props.multiple), value);\n }\n }\n}\n\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\nvar valuePropNames = ['value', 'defaultValue'];\n\n/**\n * Validation function for `value` and `defaultValue`.\n * @private\n */\nfunction checkSelectPropTypes(inst, props) {\n var owner = inst._currentElement._owner;\n LinkedValueUtils.checkPropTypes('select', props, owner);\n\n if (props.valueLink !== undefined && !didWarnValueLink) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `select` is deprecated; set `value` and `onChange` instead.') : void 0;\n didWarnValueLink = true;\n }\n\n for (var i = 0; i < valuePropNames.length; i++) {\n var propName = valuePropNames[i];\n if (props[propName] == null) {\n continue;\n }\n var isArray = Array.isArray(props[propName]);\n if (props.multiple && !isArray) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;\n } else if (!props.multiple && isArray) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;\n }\n }\n}\n\n/**\n * @param {ReactDOMComponent} inst\n * @param {boolean} multiple\n * @param {*} propValue A stringable (with `multiple`, a list of stringables).\n * @private\n */\nfunction updateOptions(inst, multiple, propValue) {\n var selectedValue, i;\n var options = ReactDOMComponentTree.getNodeFromInstance(inst).options;\n\n if (multiple) {\n selectedValue = {};\n for (i = 0; i < propValue.length; i++) {\n selectedValue['' + propValue[i]] = true;\n }\n for (i = 0; i < options.length; i++) {\n var selected = selectedValue.hasOwnProperty(options[i].value);\n if (options[i].selected !== selected) {\n options[i].selected = selected;\n }\n }\n } else {\n // Do not set `select.value` as exact behavior isn't consistent across all\n // browsers for all cases.\n selectedValue = '' + propValue;\n for (i = 0; i < options.length; i++) {\n if (options[i].value === selectedValue) {\n options[i].selected = true;\n return;\n }\n }\n if (options.length) {\n options[0].selected = true;\n }\n }\n}\n\n/**\n * Implements a <select> host component that allows optionally setting the\n * props `value` and `defaultValue`. If `multiple` is false, the prop must be a\n * stringable. If `multiple` is true, the prop must be an array of stringables.\n *\n * If `value` is not supplied (or null/undefined), user actions that change the\n * selected option will trigger updates to the rendered options.\n *\n * If it is supplied (and not null/undefined), the rendered options will not\n * update in response to user actions. Instead, the `value` prop must change in\n * order for the rendered options to update.\n *\n * If `defaultValue` is provided, any options with the supplied values will be\n * selected.\n */\nvar ReactDOMSelect = {\n getHostProps: function (inst, props) {\n return _assign({}, props, {\n onChange: inst._wrapperState.onChange,\n value: undefined\n });\n },\n\n mountWrapper: function (inst, props) {\n if (process.env.NODE_ENV !== 'production') {\n checkSelectPropTypes(inst, props);\n }\n\n var value = LinkedValueUtils.getValue(props);\n inst._wrapperState = {\n pendingUpdate: false,\n initialValue: value != null ? value : props.defaultValue,\n listeners: null,\n onChange: _handleChange.bind(inst),\n wasMultiple: Boolean(props.multiple)\n };\n\n if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Select elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled select ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0;\n didWarnValueDefaultValue = true;\n }\n },\n\n getSelectValueContext: function (inst) {\n // ReactDOMOption looks at this initial value so the initial generated\n // markup has correct `selected` attributes\n return inst._wrapperState.initialValue;\n },\n\n postUpdateWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n // After the initial mount, we control selected-ness manually so don't pass\n // this value down\n inst._wrapperState.initialValue = undefined;\n\n var wasMultiple = inst._wrapperState.wasMultiple;\n inst._wrapperState.wasMultiple = Boolean(props.multiple);\n\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n inst._wrapperState.pendingUpdate = false;\n updateOptions(inst, Boolean(props.multiple), value);\n } else if (wasMultiple !== Boolean(props.multiple)) {\n // For simplicity, reapply `defaultValue` if `multiple` is toggled.\n if (props.defaultValue != null) {\n updateOptions(inst, Boolean(props.multiple), props.defaultValue);\n } else {\n // Revert the select back to its default unselected state.\n updateOptions(inst, Boolean(props.multiple), props.multiple ? [] : '');\n }\n }\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\n if (this._rootNodeID) {\n this._wrapperState.pendingUpdate = true;\n }\n ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this);\n return returnValue;\n}\n\nmodule.exports = ReactDOMSelect;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMSelect.js","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar emptyComponentFactory;\n\nvar ReactEmptyComponentInjection = {\n injectEmptyComponentFactory: function (factory) {\n emptyComponentFactory = factory;\n }\n};\n\nvar ReactEmptyComponent = {\n create: function (instantiate) {\n return emptyComponentFactory(instantiate);\n }\n};\n\nReactEmptyComponent.injection = ReactEmptyComponentInjection;\n\nmodule.exports = ReactEmptyComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactEmptyComponent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar ReactFeatureFlags = {\n // When true, call console.time() before and .timeEnd() after each top-level\n // render (both initial renders and updates). Useful when looking at prod-mode\n // timeline profiles in Chrome, for example.\n logTopLevelRenders: false\n};\n\nmodule.exports = ReactFeatureFlags;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactFeatureFlags.js","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar genericComponentClass = null;\n// This registry keeps track of wrapper classes around host tags.\nvar tagToComponentClass = {};\nvar textComponentClass = null;\n\nvar ReactHostComponentInjection = {\n // This accepts a class that receives the tag string. This is a catch all\n // that can render any kind of tag.\n injectGenericComponentClass: function (componentClass) {\n genericComponentClass = componentClass;\n },\n // This accepts a text component class that takes the text string to be\n // rendered as props.\n injectTextComponentClass: function (componentClass) {\n textComponentClass = componentClass;\n },\n // This accepts a keyed object with classes as values. Each key represents a\n // tag. That particular tag will use this class instead of the generic one.\n injectComponentClasses: function (componentClasses) {\n _assign(tagToComponentClass, componentClasses);\n }\n};\n\n/**\n * Get a host internal component class for a specific tag.\n *\n * @param {ReactElement} element The element to create.\n * @return {function} The internal class constructor function.\n */\nfunction createInternalComponent(element) {\n !genericComponentClass ? process.env.NODE_ENV !== 'production' ? invariant(false, 'There is no registered component for the tag %s', element.type) : _prodInvariant('111', element.type) : void 0;\n return new genericComponentClass(element);\n}\n\n/**\n * @param {ReactText} text\n * @return {ReactComponent}\n */\nfunction createInstanceForText(text) {\n return new textComponentClass(text);\n}\n\n/**\n * @param {ReactComponent} component\n * @return {boolean}\n */\nfunction isTextComponent(component) {\n return component instanceof textComponentClass;\n}\n\nvar ReactHostComponent = {\n createInternalComponent: createInternalComponent,\n createInstanceForText: createInstanceForText,\n isTextComponent: isTextComponent,\n injection: ReactHostComponentInjection\n};\n\nmodule.exports = ReactHostComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactHostComponent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactDOMSelection = require('./ReactDOMSelection');\n\nvar containsNode = require('fbjs/lib/containsNode');\nvar focusNode = require('fbjs/lib/focusNode');\nvar getActiveElement = require('fbjs/lib/getActiveElement');\n\nfunction isInDocument(node) {\n return containsNode(document.documentElement, node);\n}\n\n/**\n * @ReactInputSelection: React input selection module. Based on Selection.js,\n * but modified to be suitable for react and has a couple of bug fixes (doesn't\n * assume buttons have range selections allowed).\n * Input selection module for React.\n */\nvar ReactInputSelection = {\n\n hasSelectionCapabilities: function (elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return nodeName && (nodeName === 'input' && elem.type === 'text' || nodeName === 'textarea' || elem.contentEditable === 'true');\n },\n\n getSelectionInformation: function () {\n var focusedElem = getActiveElement();\n return {\n focusedElem: focusedElem,\n selectionRange: ReactInputSelection.hasSelectionCapabilities(focusedElem) ? ReactInputSelection.getSelection(focusedElem) : null\n };\n },\n\n /**\n * @restoreSelection: If any selection information was potentially lost,\n * restore it. This is useful when performing operations that could remove dom\n * nodes and place them back in, resulting in focus being lost.\n */\n restoreSelection: function (priorSelectionInformation) {\n var curFocusedElem = getActiveElement();\n var priorFocusedElem = priorSelectionInformation.focusedElem;\n var priorSelectionRange = priorSelectionInformation.selectionRange;\n if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) {\n if (ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)) {\n ReactInputSelection.setSelection(priorFocusedElem, priorSelectionRange);\n }\n focusNode(priorFocusedElem);\n }\n },\n\n /**\n * @getSelection: Gets the selection bounds of a focused textarea, input or\n * contentEditable node.\n * -@input: Look up selection bounds of this input\n * -@return {start: selectionStart, end: selectionEnd}\n */\n getSelection: function (input) {\n var selection;\n\n if ('selectionStart' in input) {\n // Modern browser with input or textarea.\n selection = {\n start: input.selectionStart,\n end: input.selectionEnd\n };\n } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') {\n // IE8 input.\n var range = document.selection.createRange();\n // There can only be one selection per document in IE, so it must\n // be in our element.\n if (range.parentElement() === input) {\n selection = {\n start: -range.moveStart('character', -input.value.length),\n end: -range.moveEnd('character', -input.value.length)\n };\n }\n } else {\n // Content editable or old IE textarea.\n selection = ReactDOMSelection.getOffsets(input);\n }\n\n return selection || { start: 0, end: 0 };\n },\n\n /**\n * @setSelection: Sets the selection bounds of a textarea or input and focuses\n * the input.\n * -@input Set selection bounds of this input or textarea\n * -@offsets Object of same form that is returned from get*\n */\n setSelection: function (input, offsets) {\n var start = offsets.start;\n var end = offsets.end;\n if (end === undefined) {\n end = start;\n }\n\n if ('selectionStart' in input) {\n input.selectionStart = start;\n input.selectionEnd = Math.min(end, input.value.length);\n } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') {\n var range = input.createTextRange();\n range.collapse(true);\n range.moveStart('character', start);\n range.moveEnd('character', end - start);\n range.select();\n } else {\n ReactDOMSelection.setOffsets(input, offsets);\n }\n }\n};\n\nmodule.exports = ReactInputSelection;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactInputSelection.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar DOMProperty = require('./DOMProperty');\nvar React = require('react/lib/React');\nvar ReactBrowserEventEmitter = require('./ReactBrowserEventEmitter');\nvar ReactCurrentOwner = require('react/lib/ReactCurrentOwner');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDOMContainerInfo = require('./ReactDOMContainerInfo');\nvar ReactDOMFeatureFlags = require('./ReactDOMFeatureFlags');\nvar ReactFeatureFlags = require('./ReactFeatureFlags');\nvar ReactInstanceMap = require('./ReactInstanceMap');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar ReactMarkupChecksum = require('./ReactMarkupChecksum');\nvar ReactReconciler = require('./ReactReconciler');\nvar ReactUpdateQueue = require('./ReactUpdateQueue');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar instantiateReactComponent = require('./instantiateReactComponent');\nvar invariant = require('fbjs/lib/invariant');\nvar setInnerHTML = require('./setInnerHTML');\nvar shouldUpdateReactComponent = require('./shouldUpdateReactComponent');\nvar warning = require('fbjs/lib/warning');\n\nvar ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;\nvar ROOT_ATTR_NAME = DOMProperty.ROOT_ATTRIBUTE_NAME;\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOC_NODE_TYPE = 9;\nvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\nvar instancesByReactRootID = {};\n\n/**\n * Finds the index of the first character\n * that's not common between the two given strings.\n *\n * @return {number} the index of the character where the strings diverge\n */\nfunction firstDifferenceIndex(string1, string2) {\n var minLen = Math.min(string1.length, string2.length);\n for (var i = 0; i < minLen; i++) {\n if (string1.charAt(i) !== string2.charAt(i)) {\n return i;\n }\n }\n return string1.length === string2.length ? -1 : minLen;\n}\n\n/**\n * @param {DOMElement|DOMDocument} container DOM element that may contain\n * a React component\n * @return {?*} DOM element that may have the reactRoot ID, or null.\n */\nfunction getReactRootElementInContainer(container) {\n if (!container) {\n return null;\n }\n\n if (container.nodeType === DOC_NODE_TYPE) {\n return container.documentElement;\n } else {\n return container.firstChild;\n }\n}\n\nfunction internalGetID(node) {\n // If node is something like a window, document, or text node, none of\n // which support attributes or a .getAttribute method, gracefully return\n // the empty string, as if the attribute were missing.\n return node.getAttribute && node.getAttribute(ATTR_NAME) || '';\n}\n\n/**\n * Mounts this component and inserts it into the DOM.\n *\n * @param {ReactComponent} componentInstance The instance to mount.\n * @param {DOMElement} container DOM element to mount into.\n * @param {ReactReconcileTransaction} transaction\n * @param {boolean} shouldReuseMarkup If true, do not insert markup\n */\nfunction mountComponentIntoNode(wrapperInstance, container, transaction, shouldReuseMarkup, context) {\n var markerName;\n if (ReactFeatureFlags.logTopLevelRenders) {\n var wrappedElement = wrapperInstance._currentElement.props.child;\n var type = wrappedElement.type;\n markerName = 'React mount: ' + (typeof type === 'string' ? type : type.displayName || type.name);\n console.time(markerName);\n }\n\n var markup = ReactReconciler.mountComponent(wrapperInstance, transaction, null, ReactDOMContainerInfo(wrapperInstance, container), context, 0 /* parentDebugID */\n );\n\n if (markerName) {\n console.timeEnd(markerName);\n }\n\n wrapperInstance._renderedComponent._topLevelWrapper = wrapperInstance;\n ReactMount._mountImageIntoNode(markup, container, wrapperInstance, shouldReuseMarkup, transaction);\n}\n\n/**\n * Batched mount.\n *\n * @param {ReactComponent} componentInstance The instance to mount.\n * @param {DOMElement} container DOM element to mount into.\n * @param {boolean} shouldReuseMarkup If true, do not insert markup\n */\nfunction batchedMountComponentIntoNode(componentInstance, container, shouldReuseMarkup, context) {\n var transaction = ReactUpdates.ReactReconcileTransaction.getPooled(\n /* useCreateElement */\n !shouldReuseMarkup && ReactDOMFeatureFlags.useCreateElement);\n transaction.perform(mountComponentIntoNode, null, componentInstance, container, transaction, shouldReuseMarkup, context);\n ReactUpdates.ReactReconcileTransaction.release(transaction);\n}\n\n/**\n * Unmounts a component and removes it from the DOM.\n *\n * @param {ReactComponent} instance React component instance.\n * @param {DOMElement} container DOM element to unmount from.\n * @final\n * @internal\n * @see {ReactMount.unmountComponentAtNode}\n */\nfunction unmountComponentFromNode(instance, container, safely) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onBeginFlush();\n }\n ReactReconciler.unmountComponent(instance, safely);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onEndFlush();\n }\n\n if (container.nodeType === DOC_NODE_TYPE) {\n container = container.documentElement;\n }\n\n // http://jsperf.com/emptying-a-node\n while (container.lastChild) {\n container.removeChild(container.lastChild);\n }\n}\n\n/**\n * True if the supplied DOM node has a direct React-rendered child that is\n * not a React root element. Useful for warning in `render`,\n * `unmountComponentAtNode`, etc.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM element contains a direct child that was\n * rendered by React but is not a root element.\n * @internal\n */\nfunction hasNonRootReactChild(container) {\n var rootEl = getReactRootElementInContainer(container);\n if (rootEl) {\n var inst = ReactDOMComponentTree.getInstanceFromNode(rootEl);\n return !!(inst && inst._hostParent);\n }\n}\n\n/**\n * True if the supplied DOM node is a React DOM element and\n * it has been rendered by another copy of React.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM has been rendered by another copy of React\n * @internal\n */\nfunction nodeIsRenderedByOtherInstance(container) {\n var rootEl = getReactRootElementInContainer(container);\n return !!(rootEl && isReactNode(rootEl) && !ReactDOMComponentTree.getInstanceFromNode(rootEl));\n}\n\n/**\n * True if the supplied DOM node is a valid node element.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM is a valid DOM node.\n * @internal\n */\nfunction isValidContainer(node) {\n return !!(node && (node.nodeType === ELEMENT_NODE_TYPE || node.nodeType === DOC_NODE_TYPE || node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE));\n}\n\n/**\n * True if the supplied DOM node is a valid React node element.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM is a valid React DOM node.\n * @internal\n */\nfunction isReactNode(node) {\n return isValidContainer(node) && (node.hasAttribute(ROOT_ATTR_NAME) || node.hasAttribute(ATTR_NAME));\n}\n\nfunction getHostRootInstanceInContainer(container) {\n var rootEl = getReactRootElementInContainer(container);\n var prevHostInstance = rootEl && ReactDOMComponentTree.getInstanceFromNode(rootEl);\n return prevHostInstance && !prevHostInstance._hostParent ? prevHostInstance : null;\n}\n\nfunction getTopLevelWrapperInContainer(container) {\n var root = getHostRootInstanceInContainer(container);\n return root ? root._hostContainerInfo._topLevelWrapper : null;\n}\n\n/**\n * Temporary (?) hack so that we can store all top-level pending updates on\n * composites instead of having to worry about different types of components\n * here.\n */\nvar topLevelRootCounter = 1;\nvar TopLevelWrapper = function () {\n this.rootID = topLevelRootCounter++;\n};\nTopLevelWrapper.prototype.isReactComponent = {};\nif (process.env.NODE_ENV !== 'production') {\n TopLevelWrapper.displayName = 'TopLevelWrapper';\n}\nTopLevelWrapper.prototype.render = function () {\n return this.props.child;\n};\nTopLevelWrapper.isReactTopLevelWrapper = true;\n\n/**\n * Mounting is the process of initializing a React component by creating its\n * representative DOM elements and inserting them into a supplied `container`.\n * Any prior content inside `container` is destroyed in the process.\n *\n * ReactMount.render(\n * component,\n * document.getElementById('container')\n * );\n *\n * <div id=\"container\"> <-- Supplied `container`.\n * <div data-reactid=\".3\"> <-- Rendered reactRoot of React\n * // ... component.\n * </div>\n * </div>\n *\n * Inside of `container`, the first element rendered is the \"reactRoot\".\n */\nvar ReactMount = {\n\n TopLevelWrapper: TopLevelWrapper,\n\n /**\n * Used by devtools. The keys are not important.\n */\n _instancesByReactRootID: instancesByReactRootID,\n\n /**\n * This is a hook provided to support rendering React components while\n * ensuring that the apparent scroll position of its `container` does not\n * change.\n *\n * @param {DOMElement} container The `container` being rendered into.\n * @param {function} renderCallback This must be called once to do the render.\n */\n scrollMonitor: function (container, renderCallback) {\n renderCallback();\n },\n\n /**\n * Take a component that's already mounted into the DOM and replace its props\n * @param {ReactComponent} prevComponent component instance already in the DOM\n * @param {ReactElement} nextElement component instance to render\n * @param {DOMElement} container container to render into\n * @param {?function} callback function triggered on completion\n */\n _updateRootComponent: function (prevComponent, nextElement, nextContext, container, callback) {\n ReactMount.scrollMonitor(container, function () {\n ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement, nextContext);\n if (callback) {\n ReactUpdateQueue.enqueueCallbackInternal(prevComponent, callback);\n }\n });\n\n return prevComponent;\n },\n\n /**\n * Render a new component into the DOM. Hooked by hooks!\n *\n * @param {ReactElement} nextElement element to render\n * @param {DOMElement} container container to render into\n * @param {boolean} shouldReuseMarkup if we should skip the markup insertion\n * @return {ReactComponent} nextComponent\n */\n _renderNewRootComponent: function (nextElement, container, shouldReuseMarkup, context) {\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case.\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '_renderNewRootComponent(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from ' + 'render is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0;\n\n !isValidContainer(container) ? process.env.NODE_ENV !== 'production' ? invariant(false, '_registerComponent(...): Target container is not a DOM element.') : _prodInvariant('37') : void 0;\n\n ReactBrowserEventEmitter.ensureScrollValueMonitoring();\n var componentInstance = instantiateReactComponent(nextElement, false);\n\n // The initial render is synchronous but any updates that happen during\n // rendering, in componentWillMount or componentDidMount, will be batched\n // according to the current batching strategy.\n\n ReactUpdates.batchedUpdates(batchedMountComponentIntoNode, componentInstance, container, shouldReuseMarkup, context);\n\n var wrapperID = componentInstance._instance.rootID;\n instancesByReactRootID[wrapperID] = componentInstance;\n\n return componentInstance;\n },\n\n /**\n * Renders a React component into the DOM in the supplied `container`.\n *\n * If the React component was previously rendered into `container`, this will\n * perform an update on it and only mutate the DOM as necessary to reflect the\n * latest React component.\n *\n * @param {ReactComponent} parentComponent The conceptual parent of this render tree.\n * @param {ReactElement} nextElement Component element to render.\n * @param {DOMElement} container DOM element to render into.\n * @param {?function} callback function triggered on completion\n * @return {ReactComponent} Component instance rendered in `container`.\n */\n renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {\n !(parentComponent != null && ReactInstanceMap.has(parentComponent)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'parentComponent must be a valid React Component') : _prodInvariant('38') : void 0;\n return ReactMount._renderSubtreeIntoContainer(parentComponent, nextElement, container, callback);\n },\n\n _renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {\n ReactUpdateQueue.validateCallback(callback, 'ReactDOM.render');\n !React.isValidElement(nextElement) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? ' Instead of passing a string like \\'div\\', pass ' + 'React.createElement(\\'div\\') or <div />.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or <Foo />.' :\n // Check if it quacks like an element\n nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : _prodInvariant('39', typeof nextElement === 'string' ? ' Instead of passing a string like \\'div\\', pass ' + 'React.createElement(\\'div\\') or <div />.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or <Foo />.' : nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : void 0;\n\n process.env.NODE_ENV !== 'production' ? warning(!container || !container.tagName || container.tagName.toUpperCase() !== 'BODY', 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : void 0;\n\n var nextWrappedElement = React.createElement(TopLevelWrapper, { child: nextElement });\n\n var nextContext;\n if (parentComponent) {\n var parentInst = ReactInstanceMap.get(parentComponent);\n nextContext = parentInst._processChildContext(parentInst._context);\n } else {\n nextContext = emptyObject;\n }\n\n var prevComponent = getTopLevelWrapperInContainer(container);\n\n if (prevComponent) {\n var prevWrappedElement = prevComponent._currentElement;\n var prevElement = prevWrappedElement.props.child;\n if (shouldUpdateReactComponent(prevElement, nextElement)) {\n var publicInst = prevComponent._renderedComponent.getPublicInstance();\n var updatedCallback = callback && function () {\n callback.call(publicInst);\n };\n ReactMount._updateRootComponent(prevComponent, nextWrappedElement, nextContext, container, updatedCallback);\n return publicInst;\n } else {\n ReactMount.unmountComponentAtNode(container);\n }\n }\n\n var reactRootElement = getReactRootElementInContainer(container);\n var containerHasReactMarkup = reactRootElement && !!internalGetID(reactRootElement);\n var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.') : void 0;\n\n if (!containerHasReactMarkup || reactRootElement.nextSibling) {\n var rootElementSibling = reactRootElement;\n while (rootElementSibling) {\n if (internalGetID(rootElementSibling)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'render(): Target node has markup rendered by React, but there ' + 'are unrelated nodes as well. This is most commonly caused by ' + 'white-space inserted around server-rendered markup.') : void 0;\n break;\n }\n rootElementSibling = rootElementSibling.nextSibling;\n }\n }\n }\n\n var shouldReuseMarkup = containerHasReactMarkup && !prevComponent && !containerHasNonRootReactChild;\n var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, nextContext)._renderedComponent.getPublicInstance();\n if (callback) {\n callback.call(component);\n }\n return component;\n },\n\n /**\n * Renders a React component into the DOM in the supplied `container`.\n * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.render\n *\n * If the React component was previously rendered into `container`, this will\n * perform an update on it and only mutate the DOM as necessary to reflect the\n * latest React component.\n *\n * @param {ReactElement} nextElement Component element to render.\n * @param {DOMElement} container DOM element to render into.\n * @param {?function} callback function triggered on completion\n * @return {ReactComponent} Component instance rendered in `container`.\n */\n render: function (nextElement, container, callback) {\n return ReactMount._renderSubtreeIntoContainer(null, nextElement, container, callback);\n },\n\n /**\n * Unmounts and destroys the React component rendered in the `container`.\n * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.unmountcomponentatnode\n *\n * @param {DOMElement} container DOM element containing a React component.\n * @return {boolean} True if a component was found in and unmounted from\n * `container`\n */\n unmountComponentAtNode: function (container) {\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case. (Strictly speaking, unmounting won't cause a\n // render but we still don't expect to be in a render call here.)\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, 'unmountComponentAtNode(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from render ' + 'is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0;\n\n !isValidContainer(container) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : _prodInvariant('40') : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!nodeIsRenderedByOtherInstance(container), 'unmountComponentAtNode(): The node you\\'re attempting to unmount ' + 'was rendered by another copy of React.') : void 0;\n }\n\n var prevComponent = getTopLevelWrapperInContainer(container);\n if (!prevComponent) {\n // Check if the node being unmounted was rendered by React, but isn't a\n // root node.\n var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\n // Check if the container itself is a React root node.\n var isContainerReactRoot = container.nodeType === 1 && container.hasAttribute(ROOT_ATTR_NAME);\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'unmountComponentAtNode(): The node you\\'re attempting to unmount ' + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : void 0;\n }\n\n return false;\n }\n delete instancesByReactRootID[prevComponent._instance.rootID];\n ReactUpdates.batchedUpdates(unmountComponentFromNode, prevComponent, container, false);\n return true;\n },\n\n _mountImageIntoNode: function (markup, container, instance, shouldReuseMarkup, transaction) {\n !isValidContainer(container) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mountComponentIntoNode(...): Target container is not valid.') : _prodInvariant('41') : void 0;\n\n if (shouldReuseMarkup) {\n var rootElement = getReactRootElementInContainer(container);\n if (ReactMarkupChecksum.canReuseMarkup(markup, rootElement)) {\n ReactDOMComponentTree.precacheNode(instance, rootElement);\n return;\n } else {\n var checksum = rootElement.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n rootElement.removeAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n\n var rootMarkup = rootElement.outerHTML;\n rootElement.setAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME, checksum);\n\n var normalizedMarkup = markup;\n if (process.env.NODE_ENV !== 'production') {\n // because rootMarkup is retrieved from the DOM, various normalizations\n // will have occurred which will not be present in `markup`. Here,\n // insert markup into a <div> or <iframe> depending on the container\n // type to perform the same normalizations before comparing.\n var normalizer;\n if (container.nodeType === ELEMENT_NODE_TYPE) {\n normalizer = document.createElement('div');\n normalizer.innerHTML = markup;\n normalizedMarkup = normalizer.innerHTML;\n } else {\n normalizer = document.createElement('iframe');\n document.body.appendChild(normalizer);\n normalizer.contentDocument.write(markup);\n normalizedMarkup = normalizer.contentDocument.documentElement.outerHTML;\n document.body.removeChild(normalizer);\n }\n }\n\n var diffIndex = firstDifferenceIndex(normalizedMarkup, rootMarkup);\n var difference = ' (client) ' + normalizedMarkup.substring(diffIndex - 20, diffIndex + 20) + '\\n (server) ' + rootMarkup.substring(diffIndex - 20, diffIndex + 20);\n\n !(container.nodeType !== DOC_NODE_TYPE) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'You\\'re trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\\n%s', difference) : _prodInvariant('42', difference) : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(false, 'React attempted to reuse markup in a container but the ' + 'checksum was invalid. This generally means that you are ' + 'using server rendering and the markup generated on the ' + 'server was not what the client was expecting. React injected ' + 'new markup to compensate which works but you have lost many ' + 'of the benefits of server rendering. Instead, figure out ' + 'why the markup being generated is different on the client ' + 'or server:\\n%s', difference) : void 0;\n }\n }\n }\n\n !(container.nodeType !== DOC_NODE_TYPE) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'You\\'re trying to render a component to the document but you didn\\'t use server rendering. We can\\'t do this without using server rendering due to cross-browser quirks. See ReactDOMServer.renderToString() for server rendering.') : _prodInvariant('43') : void 0;\n\n if (transaction.useCreateElement) {\n while (container.lastChild) {\n container.removeChild(container.lastChild);\n }\n DOMLazyTree.insertTreeBefore(container, markup, null);\n } else {\n setInnerHTML(container, markup);\n ReactDOMComponentTree.precacheNode(instance, container.firstChild);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var hostNode = ReactDOMComponentTree.getInstanceFromNode(container.firstChild);\n if (hostNode._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: hostNode._debugID,\n type: 'mount',\n payload: markup.toString()\n });\n }\n }\n }\n};\n\nmodule.exports = ReactMount;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactMount.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar React = require('react/lib/React');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar ReactNodeTypes = {\n HOST: 0,\n COMPOSITE: 1,\n EMPTY: 2,\n\n getType: function (node) {\n if (node === null || node === false) {\n return ReactNodeTypes.EMPTY;\n } else if (React.isValidElement(node)) {\n if (typeof node.type === 'function') {\n return ReactNodeTypes.COMPOSITE;\n } else {\n return ReactNodeTypes.HOST;\n }\n }\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Unexpected node: %s', node) : _prodInvariant('26', node) : void 0;\n }\n};\n\nmodule.exports = ReactNodeTypes;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactNodeTypes.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ViewportMetrics = {\n\n currentScrollLeft: 0,\n\n currentScrollTop: 0,\n\n refreshScrollValues: function (scrollPosition) {\n ViewportMetrics.currentScrollLeft = scrollPosition.x;\n ViewportMetrics.currentScrollTop = scrollPosition.y;\n }\n\n};\n\nmodule.exports = ViewportMetrics;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ViewportMetrics.js","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Accumulates items that must not be null or undefined into the first one. This\n * is used to conserve memory by avoiding array allocations, and thus sacrifices\n * API cleanness. Since `current` can be null before being passed in and not\n * null after this function, make sure to assign it back to `current`:\n *\n * `a = accumulateInto(a, b);`\n *\n * This API should be sparingly used. Try `accumulate` for something cleaner.\n *\n * @return {*|array<*>} An accumulation of items.\n */\n\nfunction accumulateInto(current, next) {\n !(next != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : _prodInvariant('30') : void 0;\n\n if (current == null) {\n return next;\n }\n\n // Both are not empty. Warning: Never call x.concat(y) when you are not\n // certain that x is an Array (x could be a string with concat method).\n if (Array.isArray(current)) {\n if (Array.isArray(next)) {\n current.push.apply(current, next);\n return current;\n }\n current.push(next);\n return current;\n }\n\n if (Array.isArray(next)) {\n // A bit too dangerous to mutate `next`.\n return [current].concat(next);\n }\n\n return [current, next];\n}\n\nmodule.exports = accumulateInto;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/accumulateInto.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/**\n * @param {array} arr an \"accumulation\" of items which is either an Array or\n * a single item. Useful when paired with the `accumulate` module. This is a\n * simple utility that allows us to reason about a collection of items, but\n * handling the case when there is exactly one item (and we do not need to\n * allocate an array).\n */\n\nfunction forEachAccumulated(arr, cb, scope) {\n if (Array.isArray(arr)) {\n arr.forEach(cb, scope);\n } else if (arr) {\n cb.call(scope, arr);\n }\n}\n\nmodule.exports = forEachAccumulated;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/forEachAccumulated.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactNodeTypes = require('./ReactNodeTypes');\n\nfunction getHostComponentFromComposite(inst) {\n var type;\n\n while ((type = inst._renderedNodeType) === ReactNodeTypes.COMPOSITE) {\n inst = inst._renderedComponent;\n }\n\n if (type === ReactNodeTypes.HOST) {\n return inst._renderedComponent;\n } else if (type === ReactNodeTypes.EMPTY) {\n return null;\n }\n}\n\nmodule.exports = getHostComponentFromComposite;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/getHostComponentFromComposite.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar contentKey = null;\n\n/**\n * Gets the key used to access text content on a DOM node.\n *\n * @return {?string} Key used to access text content.\n * @internal\n */\nfunction getTextContentAccessor() {\n if (!contentKey && ExecutionEnvironment.canUseDOM) {\n // Prefer textContent to innerText because many browsers support both but\n // SVG <text> elements don't support innerText even when <div> does.\n contentKey = 'textContent' in document.documentElement ? 'textContent' : 'innerText';\n }\n return contentKey;\n}\n\nmodule.exports = getTextContentAccessor;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/getTextContentAccessor.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\n/**\n * Generate a mapping of standard vendor prefixes using the defined style property and event name.\n *\n * @param {string} styleProp\n * @param {string} eventName\n * @returns {object}\n */\nfunction makePrefixMap(styleProp, eventName) {\n var prefixes = {};\n\n prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n prefixes['Webkit' + styleProp] = 'webkit' + eventName;\n prefixes['Moz' + styleProp] = 'moz' + eventName;\n prefixes['ms' + styleProp] = 'MS' + eventName;\n prefixes['O' + styleProp] = 'o' + eventName.toLowerCase();\n\n return prefixes;\n}\n\n/**\n * A list of event names to a configurable list of vendor prefixes.\n */\nvar vendorPrefixes = {\n animationend: makePrefixMap('Animation', 'AnimationEnd'),\n animationiteration: makePrefixMap('Animation', 'AnimationIteration'),\n animationstart: makePrefixMap('Animation', 'AnimationStart'),\n transitionend: makePrefixMap('Transition', 'TransitionEnd')\n};\n\n/**\n * Event names that have already been detected and prefixed (if applicable).\n */\nvar prefixedEventNames = {};\n\n/**\n * Element to check for prefixes on.\n */\nvar style = {};\n\n/**\n * Bootstrap if a DOM exists.\n */\nif (ExecutionEnvironment.canUseDOM) {\n style = document.createElement('div').style;\n\n // On some platforms, in particular some releases of Android 4.x,\n // the un-prefixed \"animation\" and \"transition\" properties are defined on the\n // style object but the events that fire will still be prefixed, so we need\n // to check if the un-prefixed events are usable, and if not remove them from the map.\n if (!('AnimationEvent' in window)) {\n delete vendorPrefixes.animationend.animation;\n delete vendorPrefixes.animationiteration.animation;\n delete vendorPrefixes.animationstart.animation;\n }\n\n // Same as above\n if (!('TransitionEvent' in window)) {\n delete vendorPrefixes.transitionend.transition;\n }\n}\n\n/**\n * Attempts to determine the correct vendor prefixed event name.\n *\n * @param {string} eventName\n * @returns {string}\n */\nfunction getVendorPrefixedEventName(eventName) {\n if (prefixedEventNames[eventName]) {\n return prefixedEventNames[eventName];\n } else if (!vendorPrefixes[eventName]) {\n return eventName;\n }\n\n var prefixMap = vendorPrefixes[eventName];\n\n for (var styleProp in prefixMap) {\n if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) {\n return prefixedEventNames[eventName] = prefixMap[styleProp];\n }\n }\n\n return '';\n}\n\nmodule.exports = getVendorPrefixedEventName;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/getVendorPrefixedEventName.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar ReactCompositeComponent = require('./ReactCompositeComponent');\nvar ReactEmptyComponent = require('./ReactEmptyComponent');\nvar ReactHostComponent = require('./ReactHostComponent');\n\nvar getNextDebugID = require('./getNextDebugID');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\n// To avoid a cyclic dependency, we create the final class in this module\nvar ReactCompositeComponentWrapper = function (element) {\n this.construct(element);\n};\n_assign(ReactCompositeComponentWrapper.prototype, ReactCompositeComponent, {\n _instantiateReactComponent: instantiateReactComponent\n});\n\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\n/**\n * Check if the type reference is a known internal type. I.e. not a user\n * provided composite type.\n *\n * @param {function} type\n * @return {boolean} Returns true if this is a valid internal type.\n */\nfunction isInternalComponentType(type) {\n return typeof type === 'function' && typeof type.prototype !== 'undefined' && typeof type.prototype.mountComponent === 'function' && typeof type.prototype.receiveComponent === 'function';\n}\n\n/**\n * Given a ReactNode, create an instance that will actually be mounted.\n *\n * @param {ReactNode} node\n * @param {boolean} shouldHaveDebugID\n * @return {object} A new instance of the element's constructor.\n * @protected\n */\nfunction instantiateReactComponent(node, shouldHaveDebugID) {\n var instance;\n\n if (node === null || node === false) {\n instance = ReactEmptyComponent.create(instantiateReactComponent);\n } else if (typeof node === 'object') {\n var element = node;\n !(element && (typeof element.type === 'function' || typeof element.type === 'string')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : _prodInvariant('130', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : void 0;\n\n // Special case string values\n if (typeof element.type === 'string') {\n instance = ReactHostComponent.createInternalComponent(element);\n } else if (isInternalComponentType(element.type)) {\n // This is temporarily available for custom components that are not string\n // representations. I.e. ART. Once those are updated to use the string\n // representation, we can drop this code path.\n instance = new element.type(element);\n\n // We renamed this. Allow the old name for compat. :(\n if (!instance.getHostNode) {\n instance.getHostNode = instance.getNativeNode;\n }\n } else {\n instance = new ReactCompositeComponentWrapper(element);\n }\n } else if (typeof node === 'string' || typeof node === 'number') {\n instance = ReactHostComponent.createInstanceForText(node);\n } else {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Encountered invalid React node of type %s', typeof node) : _prodInvariant('131', typeof node) : void 0;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.getHostNode === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : void 0;\n }\n\n // These two fields are used by the DOM and ART diffing algorithms\n // respectively. Instead of using expandos on components, we should be\n // storing the state needed by the diffing algorithms elsewhere.\n instance._mountIndex = 0;\n instance._mountImage = null;\n\n if (process.env.NODE_ENV !== 'production') {\n instance._debugID = shouldHaveDebugID ? getNextDebugID() : 0;\n }\n\n // Internal instances should fully constructed at this point, so they should\n // not get any new fields added to them at this point.\n if (process.env.NODE_ENV !== 'production') {\n if (Object.preventExtensions) {\n Object.preventExtensions(instance);\n }\n }\n\n return instance;\n}\n\nmodule.exports = instantiateReactComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/instantiateReactComponent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/**\n * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n */\n\nvar supportedInputTypes = {\n 'color': true,\n 'date': true,\n 'datetime': true,\n 'datetime-local': true,\n 'email': true,\n 'month': true,\n 'number': true,\n 'password': true,\n 'range': true,\n 'search': true,\n 'tel': true,\n 'text': true,\n 'time': true,\n 'url': true,\n 'week': true\n};\n\nfunction isTextInputElement(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n\n if (nodeName === 'input') {\n return !!supportedInputTypes[elem.type];\n }\n\n if (nodeName === 'textarea') {\n return true;\n }\n\n return false;\n}\n\nmodule.exports = isTextInputElement;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/isTextInputElement.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar escapeTextContentForBrowser = require('./escapeTextContentForBrowser');\nvar setInnerHTML = require('./setInnerHTML');\n\n/**\n * Set the textContent property of a node, ensuring that whitespace is preserved\n * even in IE8. innerText is a poor substitute for textContent and, among many\n * issues, inserts <br> instead of the literal newline chars. innerHTML behaves\n * as it should.\n *\n * @param {DOMElement} node\n * @param {string} text\n * @internal\n */\nvar setTextContent = function (node, text) {\n if (text) {\n var firstChild = node.firstChild;\n\n if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) {\n firstChild.nodeValue = text;\n return;\n }\n }\n node.textContent = text;\n};\n\nif (ExecutionEnvironment.canUseDOM) {\n if (!('textContent' in document.documentElement)) {\n setTextContent = function (node, text) {\n if (node.nodeType === 3) {\n node.nodeValue = text;\n return;\n }\n setInnerHTML(node, escapeTextContentForBrowser(text));\n };\n }\n}\n\nmodule.exports = setTextContent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/setTextContent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('react/lib/ReactCurrentOwner');\nvar REACT_ELEMENT_TYPE = require('./ReactElementSymbol');\n\nvar getIteratorFn = require('./getIteratorFn');\nvar invariant = require('fbjs/lib/invariant');\nvar KeyEscapeUtils = require('./KeyEscapeUtils');\nvar warning = require('fbjs/lib/warning');\n\nvar SEPARATOR = '.';\nvar SUBSEPARATOR = ':';\n\n/**\n * This is inlined from ReactElement since this file is shared between\n * isomorphic and renderers. We could extract this to a\n *\n */\n\n/**\n * TODO: Test that a single child and an array with one item have the same key\n * pattern.\n */\n\nvar didWarnAboutMaps = false;\n\n/**\n * Generate a key string that identifies a component within a set.\n *\n * @param {*} component A component that could contain a manual key.\n * @param {number} index Index that is used if a manual key is not provided.\n * @return {string}\n */\nfunction getComponentKey(component, index) {\n // Do some typechecking here since we call this blindly. We want to ensure\n // that we don't block potential future ES APIs.\n if (component && typeof component === 'object' && component.key != null) {\n // Explicit key\n return KeyEscapeUtils.escape(component.key);\n }\n // Implicit key determined by the index in the set\n return index.toString(36);\n}\n\n/**\n * @param {?*} children Children tree container.\n * @param {!string} nameSoFar Name of the key path so far.\n * @param {!function} callback Callback to invoke with each child found.\n * @param {?*} traverseContext Used to pass information throughout the traversal\n * process.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n var type = typeof children;\n\n if (type === 'undefined' || type === 'boolean') {\n // All of the above are perceived as null.\n children = null;\n }\n\n if (children === null || type === 'string' || type === 'number' ||\n // The following is inlined from ReactElement. This means we can optimize\n // some checks. React Fiber also inlines this logic for similar purposes.\n type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) {\n callback(traverseContext, children,\n // If it's the only child, treat the name as if it was wrapped in an array\n // so that it's consistent if the number of children grows.\n nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n return 1;\n }\n\n var child;\n var nextName;\n var subtreeCount = 0; // Count of children found in the current subtree.\n var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\n if (Array.isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n nextName = nextNamePrefix + getComponentKey(child, i);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n var iteratorFn = getIteratorFn(children);\n if (iteratorFn) {\n var iterator = iteratorFn.call(children);\n var step;\n if (iteratorFn !== children.entries) {\n var ii = 0;\n while (!(step = iterator.next()).done) {\n child = step.value;\n nextName = nextNamePrefix + getComponentKey(child, ii++);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n var mapsAsChildrenAddendum = '';\n if (ReactCurrentOwner.current) {\n var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName();\n if (mapsAsChildrenOwnerName) {\n mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.';\n }\n }\n process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0;\n didWarnAboutMaps = true;\n }\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n child = entry[1];\n nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n }\n }\n } else if (type === 'object') {\n var addendum = '';\n if (process.env.NODE_ENV !== 'production') {\n addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';\n if (children._isReactElement) {\n addendum = ' It looks like you\\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.';\n }\n if (ReactCurrentOwner.current) {\n var name = ReactCurrentOwner.current.getName();\n if (name) {\n addendum += ' Check the render method of `' + name + '`.';\n }\n }\n }\n var childrenString = String(children);\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0;\n }\n }\n\n return subtreeCount;\n}\n\n/**\n * Traverses children that are typically specified as `props.children`, but\n * might also be specified through attributes:\n *\n * - `traverseAllChildren(this.props.children, ...)`\n * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n *\n * The `traverseContext` is an optional argument that is passed through the\n * entire traversal. It can be used to store accumulations or anything else that\n * the callback might find relevant.\n *\n * @param {?*} children Children tree object.\n * @param {!function} callback To invoke upon traversing each child.\n * @param {?*} traverseContext Context for traversal.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildren(children, callback, traverseContext) {\n if (children == null) {\n return 0;\n }\n\n return traverseAllChildrenImpl(children, '', callback, traverseContext);\n}\n\nmodule.exports = traverseAllChildren;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/traverseAllChildren.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @typechecks\n */\n\nvar emptyFunction = require('./emptyFunction');\n\n/**\n * Upstream version of event listener. Does not take into account specific\n * nature of platform.\n */\nvar EventListener = {\n /**\n * Listen to DOM events during the bubble phase.\n *\n * @param {DOMEventTarget} target DOM element to register listener on.\n * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n * @param {function} callback Callback function.\n * @return {object} Object with a `remove` method.\n */\n listen: function listen(target, eventType, callback) {\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, false);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, callback, false);\n }\n };\n } else if (target.attachEvent) {\n target.attachEvent('on' + eventType, callback);\n return {\n remove: function remove() {\n target.detachEvent('on' + eventType, callback);\n }\n };\n }\n },\n\n /**\n * Listen to DOM events during the capture phase.\n *\n * @param {DOMEventTarget} target DOM element to register listener on.\n * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n * @param {function} callback Callback function.\n * @return {object} Object with a `remove` method.\n */\n capture: function capture(target, eventType, callback) {\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, true);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, callback, true);\n }\n };\n } else {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Attempted to listen to events during the capture phase on a ' + 'browser that does not support the capture phase. Your application ' + 'will not receive some events.');\n }\n return {\n remove: emptyFunction\n };\n }\n },\n\n registerDefault: function registerDefault() {}\n};\n\nmodule.exports = EventListener;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/EventListener.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * @param {DOMElement} node input/textarea to focus\n */\n\nfunction focusNode(node) {\n // IE8 can throw \"Can't move focus to the control because it is invisible,\n // not enabled, or of a type that does not accept the focus.\" for all kinds of\n // reasons that are too expensive and fragile to test.\n try {\n node.focus();\n } catch (e) {}\n}\n\nmodule.exports = focusNode;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/focusNode.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n/* eslint-disable fb-www/typeof-undefined */\n\n/**\n * Same as document.activeElement but wraps in a try-catch block. In IE it is\n * not safe to call document.activeElement if there is nothing focused.\n *\n * The activeElement will be null only if the document or document body is not\n * yet defined.\n */\nfunction getActiveElement() /*?DOMElement*/{\n if (typeof document === 'undefined') {\n return null;\n }\n try {\n return document.activeElement || document.body;\n } catch (e) {\n return document.body;\n }\n}\n\nmodule.exports = getActiveElement;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/getActiveElement.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactDOM = require('react-dom/lib/ReactDOM');\nvar ReactInstanceMap = require('react-dom/lib/ReactInstanceMap');\n\nexports.getReactDOM = function () {\n return ReactDOM;\n};\n\nexports.getReactInstanceMap = function () {\n return ReactInstanceMap;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPerf = require('react-dom/lib/ReactPerf');\n var ReactTestUtils = require('react-dom/lib/ReactTestUtils');\n\n exports.getReactPerf = function () {\n return ReactPerf;\n };\n\n exports.getReactTestUtils = function () {\n return ReactTestUtils;\n };\n}\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactAddonsDOMDependencies.js","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n// The Symbol used to tag the ReactElement type. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\n\nvar REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;\n\nmodule.exports = REACT_ELEMENT_TYPE;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactElementSymbol.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar ReactPropTypeLocationNames = {};\n\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n}\n\nmodule.exports = ReactPropTypeLocationNames;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactPropTypeLocationNames.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar canDefineProperty = false;\nif (process.env.NODE_ENV !== 'production') {\n try {\n // $FlowFixMe https://github.com/facebook/flow/issues/285\n Object.defineProperty({}, 'x', { get: function () {} });\n canDefineProperty = true;\n } catch (x) {\n // IE will fail on defineProperty\n }\n}\n\nmodule.exports = canDefineProperty;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/canDefineProperty.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/* global Symbol */\n\nvar ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n/**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\nfunction getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n}\n\nmodule.exports = getIteratorFn;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/getIteratorFn.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactElement = require('./ReactElement');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Returns the first child in a collection of children and verifies that there\n * is only one child in the collection.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.only\n *\n * The current implementation of this function assumes that a single child gets\n * passed without a wrapper, but the purpose of this helper function is to\n * abstract away the particular structure of children.\n *\n * @param {?object} children Child collection structure.\n * @return {ReactElement} The first and only `ReactElement` contained in the\n * structure.\n */\nfunction onlyChild(children) {\n !ReactElement.isValidElement(children) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'React.Children.only expected to receive a single React element child.') : _prodInvariant('143') : void 0;\n return children;\n}\n\nmodule.exports = onlyChild;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/onlyChild.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\nvar REACT_ELEMENT_TYPE = require('./ReactElementSymbol');\n\nvar getIteratorFn = require('./getIteratorFn');\nvar invariant = require('fbjs/lib/invariant');\nvar KeyEscapeUtils = require('./KeyEscapeUtils');\nvar warning = require('fbjs/lib/warning');\n\nvar SEPARATOR = '.';\nvar SUBSEPARATOR = ':';\n\n/**\n * This is inlined from ReactElement since this file is shared between\n * isomorphic and renderers. We could extract this to a\n *\n */\n\n/**\n * TODO: Test that a single child and an array with one item have the same key\n * pattern.\n */\n\nvar didWarnAboutMaps = false;\n\n/**\n * Generate a key string that identifies a component within a set.\n *\n * @param {*} component A component that could contain a manual key.\n * @param {number} index Index that is used if a manual key is not provided.\n * @return {string}\n */\nfunction getComponentKey(component, index) {\n // Do some typechecking here since we call this blindly. We want to ensure\n // that we don't block potential future ES APIs.\n if (component && typeof component === 'object' && component.key != null) {\n // Explicit key\n return KeyEscapeUtils.escape(component.key);\n }\n // Implicit key determined by the index in the set\n return index.toString(36);\n}\n\n/**\n * @param {?*} children Children tree container.\n * @param {!string} nameSoFar Name of the key path so far.\n * @param {!function} callback Callback to invoke with each child found.\n * @param {?*} traverseContext Used to pass information throughout the traversal\n * process.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n var type = typeof children;\n\n if (type === 'undefined' || type === 'boolean') {\n // All of the above are perceived as null.\n children = null;\n }\n\n if (children === null || type === 'string' || type === 'number' ||\n // The following is inlined from ReactElement. This means we can optimize\n // some checks. React Fiber also inlines this logic for similar purposes.\n type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) {\n callback(traverseContext, children,\n // If it's the only child, treat the name as if it was wrapped in an array\n // so that it's consistent if the number of children grows.\n nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n return 1;\n }\n\n var child;\n var nextName;\n var subtreeCount = 0; // Count of children found in the current subtree.\n var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\n if (Array.isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n nextName = nextNamePrefix + getComponentKey(child, i);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n var iteratorFn = getIteratorFn(children);\n if (iteratorFn) {\n var iterator = iteratorFn.call(children);\n var step;\n if (iteratorFn !== children.entries) {\n var ii = 0;\n while (!(step = iterator.next()).done) {\n child = step.value;\n nextName = nextNamePrefix + getComponentKey(child, ii++);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n var mapsAsChildrenAddendum = '';\n if (ReactCurrentOwner.current) {\n var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName();\n if (mapsAsChildrenOwnerName) {\n mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.';\n }\n }\n process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0;\n didWarnAboutMaps = true;\n }\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n child = entry[1];\n nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n }\n }\n } else if (type === 'object') {\n var addendum = '';\n if (process.env.NODE_ENV !== 'production') {\n addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';\n if (children._isReactElement) {\n addendum = ' It looks like you\\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.';\n }\n if (ReactCurrentOwner.current) {\n var name = ReactCurrentOwner.current.getName();\n if (name) {\n addendum += ' Check the render method of `' + name + '`.';\n }\n }\n }\n var childrenString = String(children);\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0;\n }\n }\n\n return subtreeCount;\n}\n\n/**\n * Traverses children that are typically specified as `props.children`, but\n * might also be specified through attributes:\n *\n * - `traverseAllChildren(this.props.children, ...)`\n * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n *\n * The `traverseContext` is an optional argument that is passed through the\n * entire traversal. It can be used to store accumulations or anything else that\n * the callback might find relevant.\n *\n * @param {?*} children Children tree object.\n * @param {!function} callback To invoke upon traversing each child.\n * @param {?*} traverseContext Context for traversal.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildren(children, callback, traverseContext) {\n if (children == null) {\n return 0;\n }\n\n return traverseAllChildrenImpl(children, '', callback, traverseContext);\n}\n\nmodule.exports = traverseAllChildren;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/traverseAllChildren.js","(function (name, context, definition) {\n if (typeof module !== 'undefined' && module.exports) module.exports = definition();\n else if (typeof define === 'function' && define.amd) define(definition);\n else context[name] = definition();\n})('urljoin', this, function () {\n\n function normalize (str, options) {\n\n // make sure protocol is followed by two slashes\n str = str.replace(/:\\//g, '://');\n\n // remove consecutive slashes\n str = str.replace(/([^:\\s])\\/+/g, '$1/');\n\n // remove trailing slash before parameters or hash\n str = str.replace(/\\/(\\?|&|#[^!])/g, '$1');\n\n // replace ? in parameters with &\n str = str.replace(/(\\?.+)\\?/g, '$1&');\n\n return str;\n }\n\n return function () {\n var input = arguments;\n var options = {};\n\n if (typeof arguments[0] === 'object') {\n // new syntax with array and options\n input = arguments[0];\n options = arguments[1] || {};\n }\n\n var joined = [].slice.call(input, 0).join('/');\n return normalize(joined, options);\n };\n\n});\n\n\n\n// WEBPACK FOOTER //\n// ./~/url-join/lib/url-join.js","import { getEntity, read, swap, updateEntity } from './store/index';\nimport { dataFns } from './utils/data_utils';\nimport * as preload from './utils/preload_utils';\nimport * as f from './utils/fn_utils';\nimport * as l from './core/index';\n\nconst { tget, tset } = dataFns([\"avatar\"]);\n\nconst cache = {};\n\nexport function requestAvatar(id, src) {\n if (cache[src]) {\n return update(id, src, cache[src].url, cache[src].displayName, true);\n }\n\n const provider = l.ui.avatarProvider(read(getEntity, \"lock\", id)).toJS();\n\n swap(updateEntity, \"lock\", id, m => {\n m = tset(m, \"syncStatus\", \"loading\");\n m = tset(m, \"src\", src);\n return m;\n });\n\n let url, displayName;\n\n provider.url(src, (error, str) => {\n if (error) return handleError(id, src);\n\n preload.img(str, function(error, img) {\n if (error) return handleError(id, src);\n url = img.src;\n if (displayName !== undefined) handleSuccess(id, src, url, displayName);\n });\n });\n\n provider.displayName(src, (error, str) => {\n if (error) return handleError(id);\n displayName = str;\n if (url !== undefined) handleSuccess(id, src, url, displayName);\n });\n}\n\nexport const debouncedRequestAvatar = f.debounce(requestAvatar, 300);\n\nfunction handleSuccess(id, src, url, displayName) {\n cache[src] = { url, displayName };\n update(id, src, url, displayName);\n}\n\nfunction update(id, src, url, displayName, force = false) {\n swap(updateEntity, \"lock\", id, m => {\n if (force || tget(m, \"src\") === src) {\n m = tset(m, \"syncStatus\", \"ok\");\n m = tset(m, \"url\", url);\n m = tset(m, \"src\", src);\n m = tset(m, \"displayName\", displayName);\n }\n return m;\n });\n}\n\nfunction handleError(id, src) {\n swap(updateEntity, \"lock\", id, m => {\n return tget(m, \"src\") === \"src\"\n ? tset(m, \"syncStatus\", \"error\")\n : m;\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/avatar.js","import React from 'react';\nimport { showLoginActivity, showSignUpActivity } from './actions';\nimport * as l from '../../core/index';\nimport { getScreen } from './index';\nimport { closeLock } from '../../core/actions';\n\nexport default class LoginSignUpTabs extends React.Component {\n\n render() {\n const {\n lock,\n loginLabel,\n signUpLink,\n signUpLabel\n } = this.props;\n const isLogin = getScreen(lock) === \"login\";\n\n return (\n <div className=\"auth0-lock-tabs-container\">\n <ul className=\"auth0-lock-tabs\">\n <LoginSignUpTab\n label={loginLabel}\n current={isLogin}\n clickHandler={::this.handleLoginClick}\n />\n <LoginSignUpTab\n label={signUpLabel}\n current={!isLogin}\n clickHandler={::this.handleSignUpClick}\n clickWithHrefHandler={::this.handleSignUpWithHrefClick}\n href={signUpLink}\n />\n </ul>\n </div>\n );\n }\n\n handleLoginClick() {\n showLoginActivity(l.id(this.props.lock));\n }\n\n handleSignUpClick() {\n if (this.props.signUpLink) {\n closeLock(l.id(this.props.lock), true);\n }\n showSignUpActivity(l.id(this.props.lock));\n }\n\n handleSignUpWithHrefClick() {\n closeLock(l.id(this.props.lock), true);\n }\n\n}\n\nLoginSignUpTabs.propTypes = {\n lock: React.PropTypes.object.isRequired,\n loginLabel: React.PropTypes.string.isRequired,\n signUpLabel: React.PropTypes.string.isRequired,\n signUpLink: React.PropTypes.string\n};\n\nclass LoginSignUpTab extends React.Component {\n\n handleClick(e) {\n if (this.props.href) {\n this.props.clickWithHrefHandler(); \n } else {\n e.preventDefault();\n this.props.clickHandler();\n }\n }\n\n render() {\n const { current, href, label } = this.props;\n const className = current ? \"auth0-lock-tabs-current\" : \"\";\n\n return (\n <li className={className}>\n <a\n href={href || \"#\"}\n onClick={::this.handleClick}\n >\n {label}\n </a>\n </li>\n );\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/login_sign_up_tabs.jsx","import React from 'react';\nimport { icon } from '../../ui/input/password_input';\n\nexport default ({children}) => (\n <div className=\"auth0-sso-notice-container\">\n <span dangerouslySetInnerHTML={{__html: icon}} /> {\" \"}\n <span className=\"auth0-sso-notice\">{children}</span>\n </div>\n);\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/enterprise/single_sign_on_notice.jsx","import Immutable, { List, Map } from 'immutable';\nimport { dataFns } from '../../utils/data_utils';\n// TODO: this module should depend from social stuff\nimport { STRATEGIES as SOCIAL_STRATEGIES } from '../../connection/social/index';\nimport { STRATEGIES as ENTERPRISE_STRATEGIES } from '../../connection/enterprise';\n\nconst { initNS, get } = dataFns([\"client\"]);\n\nconst DEFAULT_CONNECTION_VALIDATION = { username: { min: 1, max: 15 } };\n\nexport function hasFreeSubscription(m) {\n return [\"free\", \"dev\"].indexOf(get(m, [\"tenant\", \"subscription\"])) > -1;\n}\n\nexport function connection(m, strategyName, name) {\n // TODO: this function should take a client, not a map with a client\n // key.\n const connections = strategy(m, strategyName).get(\"connections\", List());\n return connections.find(withName(name)) || Map();\n}\n\nfunction strategy(m, name) {\n // TODO: this function should take a client, not a map with a client\n // key.\n return m.getIn([\"client\", \"strategies\"], List()).find(withName(name))\n || Map();\n}\n\nfunction withName(name) {\n return x => x.get(\"name\") === name;\n}\n\nfunction strategyNameToConnectionType(str) {\n if (str === \"auth0\") {\n return \"database\";\n } else if (str === \"email\" || str === \"sms\") {\n return \"passwordless\";\n } else if (SOCIAL_STRATEGIES[str]) {\n return \"social\";\n } else if (ENTERPRISE_STRATEGIES[str]) {\n return \"enterprise\";\n } else if ([\"oauth1\", \"oauth2\"].indexOf(str) !== -1) {\n return \"social\";\n } else {\n return \"unknown\";\n }\n}\n\nfunction formatConnectionValidation (connectionValidation = {}) {\n if (connectionValidation.username == null) {\n return null;\n }\n\n const validation = { ...DEFAULT_CONNECTION_VALIDATION, ...connectionValidation };\n const defaultMin = DEFAULT_CONNECTION_VALIDATION.username.min;\n const defaultMax = DEFAULT_CONNECTION_VALIDATION.username.max;\n\n validation.username.min = parseInt(validation.username.min, 10) || defaultMin;\n validation.username.max = parseInt(validation.username.max, 10) || defaultMax;\n\n if (validation.username.min > validation.username.max) {\n validation.username.min = defaultMin;\n validation.username.max = defaultMax;\n }\n\n return validation;\n}\n\nconst emptyConnections = Immutable.fromJS({\n database: [],\n enterprise: [],\n passwordless: [],\n social: [],\n unknown: [] // TODO: should be oauth2\n});\n\nexport function initClient(m, client) {\n return initNS(m, formatClient(client));\n}\n\nfunction formatClient(o) {\n return new Immutable.fromJS({\n id: o.id,\n tenant: {\n name: o.tenant,\n subscription: o.subscription\n },\n connections: formatClientConnections(o)\n })\n}\n\nfunction formatClientConnections(o) {\n const result = emptyConnections.toJS();\n\n for (var i=0; i < (o.strategies || []).length; i++) {\n const strategy = o.strategies[i];\n const connectionType = strategyNameToConnectionType(strategy.name);\n\n if (connectionType === \"passwordless\") {\n continue; // disabled until lock supports passwordless connections within the same engine\n }\n\n const connections = strategy.connections.map(connection => {\n return formatClientConnection(connectionType, strategy.name, connection);\n });\n result[connectionType].push(...connections);\n }\n\n return result;\n}\n\nfunction formatClientConnection(connectionType, strategyName, connection) {\n const result = {\n name: connection.name,\n strategy: strategyName,\n type: connectionType\n };\n\n if (connectionType === \"database\") {\n result.passwordPolicy = connection.passwordPolicy || \"none\";\n result.allowSignup = typeof connection.showSignup === \"boolean\"\n ? connection.showSignup\n : true;\n result.allowForgot = typeof connection.showForgot === \"boolean\"\n ? connection.showForgot\n : true;\n result.requireUsername = typeof connection.requires_username === \"boolean\"\n ? connection.requires_username\n : false;\n result.validation = formatConnectionValidation(connection.validation);\n }\n\n if (connectionType === \"enterprise\") {\n const domains = connection.domain_aliases || [];\n if (connection.domain) {\n domains.unshift(connection.domain);\n }\n result.domains = domains;\n }\n\n return result;\n}\n\nexport function clientConnections(m) {\n return get(m, \"connections\", emptyConnections);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/client/index.js","import React from 'react';\n\nconst PaneSeparator = () => <div className=\"auth0-lock-pane-separator\"></div>;\n\nexport default PaneSeparator;\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/pane_separator.jsx","import { Map } from 'immutable';\n\nexport function lastUsedConnection(m) {\n return m.getIn([\"sso\", \"lastUsedConnection\"]);\n}\n\nexport function lastUsedUsername(m) {\n return m.getIn([\"sso\", \"lastUsedUsername\"], \"\");\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/sso/index.js","import { Map } from 'immutable';\nimport { swap, updateEntity } from '../store/index';\nimport { cancelSelection, setField, setOptionField, startSelection } from './index';\n\nexport function changeField(id, name, value, validationFn, ...validationExtraArgs) {\n swap(updateEntity, \"lock\", id, setField, name, value, validationFn, ...validationExtraArgs);\n}\n\nexport function startOptionSelection(id, name, iconUrl, icon) {\n // TODO: should be transient\n swap(updateEntity, \"lock\", id, m => (\n m.setIn([\"field\", \"selecting\", \"name\"], name)\n .setIn([\"field\", \"selecting\", \"iconUrl\"], iconUrl)\n .setIn([\"field\", \"selecting\", \"icon\"], icon)\n ));\n}\n\nexport function selectOption(id, name, option) {\n swap(updateEntity, \"lock\", id, m => (\n setOptionField(m.deleteIn([\"field\", \"selecting\"]), name, option)\n ));\n}\n\nexport function cancelOptionSelection(id) {\n swap(updateEntity, \"lock\", id, m => m.deleteIn([\"field\", \"selecting\"]));\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/actions.js","import React from 'react';\nimport AuthButton from '../../ui/button/auth_button';\nimport * as l from '../../core/index';\nimport { logIn } from '../../quick-auth/actions';\nimport { displayName, socialConnections, authButtonsTheme } from '../../connection/social/index';\n\nexport default class SocialButtonsPane extends React.Component {\n\n render() {\n // TODO: i don't like that it receives the instructions tanslated\n // but it also takes the t fn\n const {\n bigButtons,\n instructions,\n labelFn,\n lock,\n showLoading,\n signUp\n } = this.props;\n\n const headerText = instructions || null;\n const header = headerText && <p>{headerText}</p>;\n\n const themes = authButtonsTheme(lock);\n\n const buttons = socialConnections(lock).map(x => {\n const buttonTheme = themes.get(x.get(\"name\"));\n const connectionName = buttonTheme && buttonTheme.get(\"displayName\");\n const primaryColor = buttonTheme && buttonTheme.get(\"primaryColor\");\n const foregroundColor = buttonTheme && buttonTheme.get(\"foregroundColor\");\n const icon = buttonTheme && buttonTheme.get(\"icon\");\n\n return(<AuthButton\n isBig={bigButtons}\n key={x.get(\"name\")}\n label={labelFn(signUp ? \"signUpWithLabel\" : \"loginWithLabel\", connectionName || displayName(x))}\n onClick={() => logIn(l.id(lock), x)}\n strategy={x.get(\"strategy\")}\n primaryColor={primaryColor}\n foregroundColor={foregroundColor}\n icon={icon}\n />)\n });\n\n const loading = showLoading\n && <div className=\"auth0-loading-container\">\n <div className=\"auth0-loading\" />\n </div>;\n\n return (\n <div className=\"auth-lock-social-buttons-pane\">\n {header}\n <div className=\"auth0-lock-social-buttons-container\">{buttons}</div>\n {loading}\n </div>\n );\n }\n\n}\n\nSocialButtonsPane.propTypes = {\n bigButtons: React.PropTypes.bool.isRequired,\n instructions: React.PropTypes.any,\n labelFn: React.PropTypes.func.isRequired,\n lock: React.PropTypes.object.isRequired,\n showLoading: React.PropTypes.bool.isRequired,\n signUp: React.PropTypes.bool.isRequired\n};\n\nSocialButtonsPane.defaultProps = {\n showLoading: false\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/social/social_buttons_pane.jsx","import Auth0 from 'auth0-js';\nimport Core from './core';\nimport classic from './engine/classic';\nimport css from '../css/index.styl';\n\nfunction injectStyles() {\n const styleId = \"auth0-lock-style\";\n let style = document.getElementById(styleId);\n\n if (!style) {\n const head = document.getElementsByTagName(\"head\")[0];\n style = document.createElement(\"style\");\n style.type = \"text/css\";\n style.setAttribute(\"id\", styleId);\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.innerHTML = css;\n }\n}\n\nexport default class Auth0Lock extends Core {\n\n constructor(clientID, domain, options) {\n super(clientID, domain, options, classic);\n\n injectStyles();\n }\n\n}\n\n// telemetry\nAuth0Lock.version = __VERSION__;\nAuth0Lock.css = css;\nAuth0.clientInfo.lib_version = Auth0.clientInfo.version;\nAuth0.clientInfo.name = \"lock.js\";\nAuth0.clientInfo.version = Auth0Lock.version;\n\n// TODO: should we have different telemetry for classic/passwordless?\n// TODO: should we set telemetry info before each request?\n// TODO: should we inject styles here?\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js","import { dataFns } from './utils/data_utils';\n\nconst { tget, tset } = dataFns([\"quickAuth\"]);\n\nexport function skipQuickAuth(m, b) {\n return tset(m, \"skipped\", b);\n}\n\nexport function hasSkippedQuickAuth(m) {\n return tget(m, \"skipped\", false);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/quick_auth.js","import React from 'react';\nimport Chrome from './chrome';\nimport { CloseButton } from './button';\n\nconst badgeSvg = (\n <svg width=\"58px\" height=\"21px\" viewBox=\"0 0 462 168\"><g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\"><g id=\"logo-grey-horizontal\"><g id=\"Group\"><g id=\"LogoText\" transform=\"translate(188.000000, 41.500000)\" fill=\"#D0D2D3\"><path d=\"M246.517,0.11 C238.439,0.11 231.607,3.916 226.759,11.115 C221.94,18.271 219.393,28.26 219.393,40 C219.393,51.74 221.94,61.729 226.759,68.884 C231.607,76.084 238.439,79.889 246.517,79.889 C254.595,79.889 261.427,76.084 266.275,68.884 C271.093,61.729 273.64,51.74 273.64,40 C273.64,28.26 271.093,18.271 266.275,11.115 C261.427,3.916 254.595,0.11 246.517,0.11 L246.517,0.11 Z M246.517,70.005 C242.655,70.005 239.604,67.82 237.187,63.324 C234.268,57.893 232.66,49.61 232.66,40 C232.66,30.39 234.268,22.106 237.187,16.676 C239.604,12.18 242.655,9.994 246.517,9.994 C250.378,9.994 253.43,12.18 255.847,16.676 C258.766,22.106 260.373,30.389 260.373,40 C260.373,49.611 258.766,57.895 255.847,63.324 C253.43,67.82 250.378,70.005 246.517,70.005 L246.517,70.005 Z M71.45,29.172 L71.45,63.484 C71.45,72.53 78.81,79.889 87.856,79.889 C95.746,79.889 101.707,75.975 103.902,74.291 C104.024,74.197 104.184,74.169 104.331,74.216 C104.478,74.263 104.592,74.379 104.637,74.527 L105.961,78.86 L115.737,78.86 L115.737,29.172 L103.175,29.172 L103.175,66.326 C103.175,66.501 103.076,66.662 102.921,66.743 C100.559,67.961 95.899,70.006 91.231,70.006 C87.252,70.006 84.012,66.768 84.012,62.787 L84.012,29.172 L71.45,29.172 L71.45,29.172 Z M197.237,78.859 L209.8,78.859 L209.8,44.547 C209.8,35.501 202.44,28.141 193.394,28.141 C186.735,28.141 181.393,31.004 178.802,32.71 C178.657,32.805 178.473,32.813 178.322,32.731 C178.171,32.649 178.075,32.491 178.075,32.318 L178.075,1.141 L165.513,1.141 L165.513,78.859 L178.075,78.859 L178.075,41.704 C178.075,41.529 178.174,41.368 178.33,41.288 C180.691,40.069 185.352,38.025 190.019,38.025 C191.947,38.025 193.76,38.776 195.123,40.139 C196.486,41.502 197.236,43.316 197.236,45.243 L197.236,78.859 L197.237,78.859 Z M124.792,39.055 L132.438,39.055 C132.697,39.055 132.907,39.265 132.907,39.524 L132.907,66.858 C132.907,74.043 138.753,79.888 145.938,79.888 C148.543,79.888 151.113,79.512 153.585,78.77 L153.585,69.796 C152.143,69.923 150.485,70.005 149.313,70.005 C147.193,70.005 145.469,68.28 145.469,66.161 L145.469,39.523 C145.469,39.264 145.679,39.054 145.938,39.054 L153.585,39.054 L153.585,29.171 L145.938,29.171 C145.679,29.171 145.469,28.961 145.469,28.702 L145.469,12.295 L132.907,12.295 L132.907,28.702 C132.907,28.961 132.697,29.171 132.438,29.171 L124.792,29.171 L124.792,39.055 L124.792,39.055 Z M51.361,78.859 L64.429,78.859 L44.555,9.55 C42.962,3.992 37.811,0.11 32.029,0.11 C26.247,0.11 21.096,3.992 19.502,9.55 L-0.372,78.859 L12.697,78.859 L18.449,58.798 C18.507,58.597 18.691,58.459 18.9,58.459 L45.158,58.459 C45.367,58.459 45.552,58.597 45.609,58.798 L51.361,78.859 L51.361,78.859 Z M42.056,48.576 L22.004,48.576 C21.857,48.576 21.718,48.507 21.629,48.388 C21.541,48.272 21.513,48.119 21.553,47.978 L31.579,13.012 C31.637,12.811 31.821,12.673 32.03,12.673 C32.239,12.673 32.423,12.811 32.48,13.012 L42.507,47.978 C42.547,48.12 42.519,48.272 42.43,48.388 C42.342,48.507 42.203,48.576 42.056,48.576 L42.056,48.576 Z\" id=\"Shape\"/></g><g id=\"LogoBadge\" fillOpacity=\"0.4\" fill=\"#FFFFFF\"><path d=\"M119.555,135.861 L102.705,83.997 L146.813,51.952 L92.291,51.952 L75.44,0.09 L75.435,0.076 L129.965,0.076 L146.82,51.947 L146.821,51.946 L146.835,51.938 C156.623,82.03 146.542,116.256 119.555,135.861 L119.555,135.861 Z M31.321,135.861 L31.307,135.871 L75.426,167.924 L119.555,135.862 L75.44,103.808 L31.321,135.861 L31.321,135.861 Z M4.052,51.939 L4.052,51.939 C-6.252,83.66 5.709,117.272 31.312,135.867 L31.316,135.851 L48.168,83.99 L4.07,51.951 L58.579,51.951 L75.431,0.089 L75.435,0.075 L20.902,0.075 L4.052,51.939 L4.052,51.939 Z\" id=\"Shape\"/></g></g></g></g></svg>\n);\n\nconst BottomBadge = ({link}) => (\n <span className=\"auth0-lock-badge-bottom\">\n <a href={link} target=\"_blank\" className=\"auth0-lock-badge\">\n Protected with {badgeSvg}\n </a>\n </span>\n);\n\nconst Avatar = ({imageUrl}) => (\n <img src={imageUrl} className=\"auth0-lock-header-avatar\" />\n);\n\nAvatar.propTypes = {\n imageUrl: React.PropTypes.string.isRequired\n}\n\nclass EscKeyDownHandler {\n\n constructor(f) {\n this.handler = (e) => {\n if (e.keyCode == 27 && e.target.tagName.toUpperCase() != \"INPUT\") {\n f();\n }\n };\n global.document.addEventListener('keydown', this.handler, false);\n }\n\n release() {\n global.document.removeEventListener('keydown', this.handler);\n }\n\n}\n\n\nconst IPHONE = global.navigator\n && !!global.navigator.userAgent.match(/iPhone/i);\n\nexport default class Container extends React.Component {\n\n constructor(props) {\n super(props);\n this.state = {isOpen: false};\n }\n\n componentDidMount() {\n if (this.props.isModal) {\n setTimeout(() => this.setState({isOpen: true}), 17);\n }\n\n if (this.props.closeHandler) {\n this.escKeydown = new EscKeyDownHandler(::this.handleEsc);\n }\n }\n\n componentWillUnmount() {\n if (this.escKeydown) {\n this.escKeydown.release();\n }\n }\n\n handleSubmit(e) {\n e.preventDefault();\n const { submitHandler } = this.props;\n if (submitHandler) {\n setTimeout(() => {\n if (!this.props.isSubmitting) {\n this.refs.chrome.focusError();\n }\n }, 17);\n submitHandler();\n }\n }\n\n handleClose() {\n const { closeHandler, isSubmitting } = this.props;\n if (!isSubmitting) {\n closeHandler();\n }\n }\n\n handleEsc() {\n const { closeHandler, escHandler } = this.props;\n escHandler ? escHandler() : this.handleClose();\n }\n\n hide() {\n this.setState({isOpen: false});\n }\n\n render() {\n const {\n autofocus,\n avatar,\n auxiliaryPane,\n backHandler,\n badgeLink,\n closeHandler,\n contentComponent,\n contentProps,\n disableSubmitButton,\n disallowClose,\n error,\n isMobile, // TODO: not documented and should be removed (let the design team know first)\n isModal,\n isSubmitting,\n logo,\n primaryColor,\n screenName,\n showBadge,\n submitButtonLabel,\n submitHandler,\n success,\n tabs,\n terms,\n title,\n transitionName\n } = this.props;\n\n const badge = showBadge\n ? <BottomBadge link={badgeLink} />\n : null;\n\n const overlay = isModal\n ? <div className=\"auth0-lock-overlay\">{badge}</div>\n : null;\n\n let className = \"auth0-lock\";\n\n if (isModal && this.state.isOpen) {\n className += \" auth0-lock-opened\"\n }\n\n if (!isModal) {\n className += \" auth0-lock-opened-in-frame\";\n }\n\n if (isMobile) {\n className += \" auth0-lock-mobile\";\n }\n\n if (isSubmitting) {\n className += \" auth0-lock-mode-loading\";\n }\n\n if (auxiliaryPane) {\n className += \" auth0-lock-auxiliary\";\n }\n\n if (!submitHandler) {\n className += \" auth0-lock-no-submit\";\n }\n\n if (terms) {\n className += \" auth0-lock-with-terms\";\n }\n\n if (IPHONE) {\n className += \" auth0-lock-iphone\";\n }\n\n // TODO: this no longer makes sense, instead of taking a tabs\n // prop we should take extra class names.\n if (tabs) {\n className += \" auth0-lock-with-tabs\";\n }\n\n return (\n <div className={className} ref=\"container\">\n {overlay}\n <div className=\"auth0-lock-center\">\n <form className=\"auth0-lock-widget\" onSubmit={::this.handleSubmit}>\n {avatar && <Avatar imageUrl={avatar} />}\n {closeHandler && <CloseButton onClick={::this.handleClose} />}\n <div className=\"auth0-lock-widget-container\">\n <Chrome\n autofocus={autofocus}\n avatar={avatar}\n auxiliaryPane={auxiliaryPane}\n backHandler={backHandler}\n contentComponent={contentComponent}\n contentProps={contentProps}\n disableSubmitButton={disableSubmitButton}\n error={error}\n isSubmitting={isSubmitting}\n logo={logo}\n screenName={screenName}\n primaryColor={primaryColor}\n ref=\"chrome\"\n showSubmitButton={!!submitHandler}\n submitButtonLabel={submitButtonLabel}\n success={success}\n tabs={tabs}\n terms={terms}\n title={title}\n transitionName={transitionName}\n />\n </div>\n </form>\n </div>\n </div>\n );\n }\n\n}\n\nContainer.propTypes = {\n autofocus: React.PropTypes.bool.isRequired,\n avatar: React.PropTypes.string,\n auxiliaryPane: React.PropTypes.element,\n backHandler: React.PropTypes.func,\n badgeLink: React.PropTypes.string.isRequired,\n closeHandler: React.PropTypes.func,\n contentComponent: React.PropTypes.func.isRequired, // TODO: it also can be a class component\n contentProps: React.PropTypes.object.isRequired,\n disableSubmitButton: React.PropTypes.bool.isRequired,\n error: React.PropTypes.string,\n isMobile: React.PropTypes.bool.isRequired,\n isModal: React.PropTypes.bool.isRequired,\n isSubmitting: React.PropTypes.bool.isRequired,\n logo: React.PropTypes.string.isRequired,\n primaryColor: React.PropTypes.string.isRequired,\n screenName: React.PropTypes.string.isRequired,\n showBadge: React.PropTypes.bool.isRequired,\n submitButtonLabel: React.PropTypes.string,\n success: React.PropTypes.string,\n tabs: React.PropTypes.bool,\n terms: React.PropTypes.element,\n title: React.PropTypes.string.isRequired,\n transitionName: React.PropTypes.string.isRequired\n // escHandler\n // submitHandler,\n};\n\n// NOTE: detecting the file protocol is important for things like electron.\nconst isFileProtocol = global.window\n && global.window.location\n && global.window.location.protocol === \"file:\";\n\nexport const defaultProps = Container.defaultProps = {\n autofocus: false,\n badgeLink: \"https://auth0.com/\",\n contentProps: {},\n disableSubmitButton: false,\n isMobile: false,\n isSubmitting: false,\n logo: `${isFileProtocol ? \"https:\" : \"\"}//cdn.auth0.com/styleguide/1.0.0/img/badge.png`,\n primaryColor: \"#ea5323\",\n showBadge: true\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/box/container.jsx","import React from 'react';\n\nconst AuthButton = (props) => {\n const { \n disabled, \n isBig, \n label, \n onClick, \n strategy, \n icon,\n primaryColor,\n foregroundColor \n } = props;\n\n let className = \"auth0-lock-social-button\";\n if (isBig) className += \" auth0-lock-social-big-button\";\n\n const backgroundStyle = primaryColor ? { backgroundColor: primaryColor } : {};\n const foregroundStyle = foregroundColor ? { color: foregroundColor } : {};\n const iconStyle = icon ? { backgroundImage: `url('${icon}')` } : {};\n\n return (\n <button\n className={className}\n data-provider={strategy}\n disabled={disabled}\n onClick={onClick}\n style={backgroundStyle}\n type=\"button\"\n >\n <div className=\"auth0-lock-social-button-icon\" style={iconStyle} />\n <div className=\"auth0-lock-social-button-text\" style={foregroundStyle} >\n {label}\n </div>\n </button>\n );\n};\n\nAuthButton.propTypes = {\n disabled: React.PropTypes.bool.isRequired,\n isBig: React.PropTypes.bool.isRequired,\n label: React.PropTypes.string.isRequired,\n onClick: React.PropTypes.func.isRequired,\n strategy: React.PropTypes.string.isRequired,\n icon: React.PropTypes.string,\n primaryColor: React.PropTypes.string,\n foregroundColor: React.PropTypes.string\n};\n\nAuthButton.defaultProps = {\n disabled: false,\n isBig: true\n};\n\nexport default AuthButton;\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/button/auth_button.jsx","import React from 'react';\nimport InputWrap from './input_wrap';\n\nexport default class TextInput extends React.Component {\n\n constructor(props) {\n super(props);\n this.state = {};\n }\n\n hasFocus() {\n return this.state.focused;\n }\n\n render() {\n const {\n iconUrl,\n invalidHint,\n isValid,\n name,\n onChange,\n value,\n ...props\n } = this.props;\n let { icon } = this.props;\n const { focused } = this.state;\n\n if (!icon && typeof iconUrl === \"string\" && iconUrl) {\n icon = <img className=\"auth0-lock-custom-icon\" src={iconUrl} />;\n }\n\n return (\n <InputWrap\n focused={focused}\n invalidHint={invalidHint}\n isValid={isValid}\n name={name}\n icon={icon}\n >\n <input\n ref=\"input\"\n type=\"text\"\n name={name}\n className=\"auth0-lock-input\"\n autoComplete=\"off\"\n autoCapitalize=\"off\"\n onChange={::this.handleOnChange}\n onFocus={::this.handleFocus}\n onBlur={::this.handleBlur}\n value={value}\n {...props}\n />\n </InputWrap>\n );\n }\n\n handleOnChange(e) {\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n handleFocus() {\n this.setState({focused: true});\n }\n\n handleBlur() {\n this.setState({focused: false});\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/input/text_input.jsx","export function isSmallScreen() {\n return window.matchMedia && !window.matchMedia(\"(min-width: 380px)\").matches;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/media_utils.js","export function img(src, cb = () => {}) {\n const img = document.createElement(\"img\");\n img.addEventListener(\"load\", () => { cb(null, img); });\n img.addEventListener(\"error\", (event) => { cb(event) });\n img.src = src;\n return img;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/preload_utils.js","var IframeHandler = function (options) {\n this.auth0 = options.auth0;\n this.url = options.url;\n this.callback = options.callback;\n this.timeout = options.timeout || 60 * 1000;\n this.timeoutCallback = options.timeoutCallback || null;\n this.usePostMessage = options.usePostMessage || false;\n this.iframe = null;\n this.timeoutHandle = null;\n this._destroyTimeout = null;\n this.transientMessageEventListener = null;\n this.transientEventListener = null;\n}\n\nIframeHandler.prototype.init = function (url) {\n this.iframe = document.createElement('iframe');\n this.iframe.style.display = \"none\";\n this.iframe.src = this.url;\n\n var _this = this; \n\n if (this.usePostMessage) {\n\n // Workaround to avoid using bind that does not work in IE8\n this.transientMessageEventListener = function(e) {\n _this.messageEventListener(e);\n };\n\n window.addEventListener(\"message\", this.transientMessageEventListener, false);\n } \n else {\n\n // Workaround to avoid using bind that does not work in IE8\n this.transientEventListener = function() {\n _this.loadEventListener();\n };\n\n this.iframe.addEventListener(\"load\", this.transientEventListener, false);\n }\n\n document.body.appendChild(this.iframe);\n\n this.timeoutHandle = setTimeout(function() {\n _this.timeoutHandler();\n }, this.timeout);\n}\n\nIframeHandler.prototype.messageEventListener = function (e) { \n this.callbackHandler(e.data);\n\n this.destroy()\n}\n\nIframeHandler.prototype.loadEventListener = function () { \n var result = this.auth0.parseHash(this.iframe.contentWindow.location.hash);\n\n if (!result) return;\n\n this.callbackHandler(result);\n \n this.destroy();\n}\n\nIframeHandler.prototype.callbackHandler = function (result) {\n var error = null;\n\n if (result.error) {\n error = result;\n result = null;\n }\n\n this.callback(error, result);\n}\n\nIframeHandler.prototype.timeoutHandler = function () {\n if (this.timeoutCallback) {\n this.timeoutCallback();\n }\n this.destroy();\n}\nIframeHandler.prototype.destroy = function () {\n var _this = this;\n\n if (this.timeoutHandle) {\n clearTimeout(this.timeoutHandle);\n }\n\n this._destroyTimeout = setTimeout(function () {\n if (_this.usePostMessage) {\n window.removeEventListener(\"message\", _this.transientMessageEventListener, false);\n }\n else {\n _this.iframe.removeEventListener(\"load\", _this.transientEventListener, false);\n }\n document.body.removeChild(_this.iframe)\n }, 0);\n} \n\n\nmodule.exports = IframeHandler;\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/IframeHandler.js","/**\n * Module dependencies.\n */\n\nvar json_parse = require('./json-parse');\n\n/**\n * Expose `LoginError`\n */\n\nmodule.exports = LoginError;\n\n/**\n * Create a `LoginError` by extend of `Error`\n *\n * @param {Number} status\n * @param {String} details\n * @public\n */\n\nfunction LoginError(status, details) {\n var obj;\n\n if (typeof details == 'string') {\n try {\n obj = json_parse(details);\n } catch (er) {\n obj = { message: details };\n }\n } else {\n obj = details || { description: 'server error' };\n }\n\n if (!obj.code) {\n obj.code = obj.error;\n }\n\n if ('unauthorized' === obj.code) {\n status = 401;\n }\n\n var message = obj.description || obj.message || obj.error;\n\n if ('PasswordStrengthError' === obj.name) {\n message = \"Password is not strong enough.\";\n }\n\n var err = Error.call(this, message);\n\n err.status = status;\n err.name = obj.code;\n err.code = obj.code;\n err.details = obj;\n\n if (status === 0) {\n if (!err.code || err.code !== 'offline') {\n err.code = 'Unknown';\n err.message = 'Unknown error.';\n }\n }\n\n return err;\n}\n\n/**\n * Extend `LoginError.prototype` with `Error.prototype`\n * and `LoginError` as constructor\n */\n\nif (Object && Object.create) {\n LoginError.prototype = Object.create(Error.prototype, {\n constructor: { value: LoginError }\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/LoginError.js","var IframeHandler = require('./IframeHandler');\n\nvar SilentAuthenticationHandler = function (auth0, authenticationUrl, timeout) {\n \n this.auth0 = auth0;\n this.authenticationUrl = authenticationUrl;\n this.timeout = timeout || 60 * 1000;\n this.handler = null;\n\n}\n\nSilentAuthenticationHandler.prototype.timeoutCallback = function () {\n\n console.error('Timeout during silent authentication.')\n\n}\n\nSilentAuthenticationHandler.prototype.login = function (callback, usePostMessage) {\n\n this.handler = new IframeHandler({\n auth0:this.auth0,\n url: this.authenticationUrl, \n callback: callback, \n timeout: this.timeout, \n timeoutCallback: this.timeoutCallback,\n usePostMessage: usePostMessage || false\n });\n\n this.handler.init();\n\n}\n\n\nmodule.exports = SilentAuthenticationHandler;\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/SilentAuthenticationHandler.js","/**\n * Expose `required`\n */\n\nmodule.exports = required;\n\n/**\n * Assert `prop` as requirement of `obj`\n *\n * @param {Object} obj\n * @param {prop} prop\n * @public\n */\n\nfunction required (obj, prop) {\n if (!obj[prop]) {\n throw new Error(prop + ' is required.');\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/assert_required.js","/**\n * Module dependencies.\n */\n\nvar Base64 = require('Base64');\n\n/**\n * Expose `base64_url_decode`\n */\n\nmodule.exports = {\n encode: encode,\n decode: decode\n};\n\n/**\n * Encode a `base64` `encodeURIComponent` string\n *\n * @param {string} str\n * @public\n */\n\nfunction encode(str) {\n return Base64.btoa(str)\n .replace(/\\+/g, '-') // Convert '+' to '-'\n .replace(/\\//g, '_') // Convert '/' to '_'\n .replace(/=+$/, ''); // Remove ending '='\n}\n\n/**\n * Decode a `base64` `encodeURIComponent` string\n *\n * @param {string} str\n * @public\n */\n\nfunction decode(str) {\n // Add removed at end '='\n str += Array(5 - str.length % 4).join('=');\n\n str = str\n .replace(/\\-/g, '+') // Convert '-' to '+'\n .replace(/\\_/g, '/'); // Convert '_' to '/'\n\n return Base64.atob(str);\n}\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/base64_url.js","/**\n * Resolve `isArray` as native or fallback\n */\n\nmodule.exports = Array.prototype.indexOf\n ? nativeIndexOf\n : polyfillIndexOf;\n\n\nfunction nativeIndexOf(array, searchElement, fromIndex) {\n return array.indexOf(searchElement, fromIndex);\n}\n\n\nfunction polyfillIndexOf(array, searchElement, fromIndex) {\n // Production steps of ECMA-262, Edition 5, 15.4.4.14\n // Reference: http://es5.github.io/#x15.4.4.14\n\n var k;\n\n // 1. Let O be the result of calling ToObject passing\n // the array value as the argument.\n if (array == null) {\n throw new TypeError('\"array\" is null or not defined');\n }\n\n var O = Object(array);\n\n // 2. Let lenValue be the result of calling the Get\n // internal method of O with the argument \"length\".\n // 3. Let len be ToUint32(lenValue).\n var len = O.length >>> 0;\n\n // 4. If len is 0, return -1.\n if (len === 0) {\n return -1;\n }\n\n // 5. If argument fromIndex was passed let n be\n // ToInteger(fromIndex); else let n be 0.\n var n = +fromIndex || 0;\n\n if (Math.abs(n) === Infinity) {\n n = 0;\n }\n\n // 6. If n >= len, return -1.\n if (n >= len) {\n return -1;\n }\n\n // 7. If n >= 0, then Let k be n.\n // 8. Else, n<0, Let k be len - abs(n).\n // If k is less than 0, then let k be 0.\n k = Math.max(n >= 0 ? n : len - Math.abs(n), 0);\n\n // 9. Repeat, while k < len\n while (k < len) {\n // a. Let Pk be ToString(k).\n // This is implicit for LHS operands of the in operator\n // b. Let kPresent be the result of calling the\n // HasProperty internal method of O with argument Pk.\n // This step can be combined with c\n // c. If kPresent is true, then\n // i. Let elementK be the result of calling the Get\n // internal method of O with the argument ToString(k).\n // ii. Let same be the result of applying the\n // Strict Equality Comparison Algorithm to\n // searchElement and elementK.\n // iii. If same is true, return k.\n if (k in O && O[k] === searchElement) {\n return k;\n }\n k++;\n }\n return -1;\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/index-of.js","/**\n * Module dependencies.\n */\n\nvar toString = Object.prototype.toString;\n\n/**\n * Resolve `isArray` as native or fallback\n */\n\nmodule.exports = null != Array.isArray\n ? Array.isArray\n : isArray;\n\n/**\n * Wrap `Array.isArray` Polyfill for IE9\n * source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray\n *\n * @param {Array} array\n * @public\n */\n\nfunction isArray (array) {\n return toString.call(array) === '[object Array]';\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/is-array.js","function randomString(length) {\n var bytes = new Uint8Array(length);\n var cryptoObj = window.crypto || window.msCrypto;\n\n if (!cryptoObj) {\n return null;\n }\n\n var random = cryptoObj.getRandomValues(bytes);\n var result = [];\n var charset = '0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz-._~';\n random.forEach(function (c) {\n result.push(charset[c % charset.length]);\n });\n return result.join('');\n}\n\nmodule.exports = {\n randomString: randomString\n};\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/nonce-generator.js","/**\n * Check for same origin policy\n */\n\nmodule.exports = same_origin;\n\nfunction same_origin (tprotocol, tdomain, tport) {\n var protocol = window.location.protocol;\n var domain = window.location.hostname;\n var port = window.location.port;\n\n tport = tport || '';\n return protocol === tprotocol && domain === tdomain && port === tport;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/same-origin.js","/**\n * Expose `use_jsonp`\n */\n\nmodule.exports = use_jsonp;\n\n/**\n * Return true if `jsonp` is required\n *\n * @return {Boolean}\n * @public\n */\n\nfunction use_jsonp() {\n var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : null;\n\n if (xhr && 'withCredentials' in xhr) {\n return false;\n }\n\n // We no longer support XDomainRequest for IE8 and IE9 for CORS because it has many quirks.\n // if ('XDomainRequest' in window && window.location.protocol === 'https:') {\n // return false;\n // }\n\n return true;\n}\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/lib/use_jsonp.js",";(function () {\n\n var\n object = typeof exports != 'undefined' ? exports : this, // #8: web workers\n chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',\n INVALID_CHARACTER_ERR = (function () {\n // fabricate a suitable error object\n try { document.createElement('$'); }\n catch (error) { return error; }}());\n\n // encoder\n // [https://gist.github.com/999166] by [https://github.com/nignag]\n object.btoa || (\n object.btoa = function (input) {\n for (\n // initialize result and counter\n var block, charCode, idx = 0, map = chars, output = '';\n // if the next input index does not exist:\n // change the mapping table to \"=\"\n // check if d has no fractional digits\n input.charAt(idx | 0) || (map = '=', idx % 1);\n // \"8 - idx % 1 * 8\" generates the sequence 2, 4, 6, 8\n output += map.charAt(63 & block >> 8 - idx % 1 * 8)\n ) {\n charCode = input.charCodeAt(idx += 3/4);\n if (charCode > 0xFF) throw INVALID_CHARACTER_ERR;\n block = block << 8 | charCode;\n }\n return output;\n });\n\n // decoder\n // [https://gist.github.com/1020396] by [https://github.com/atk]\n object.atob || (\n object.atob = function (input) {\n input = input.replace(/=+$/, '')\n if (input.length % 4 == 1) throw INVALID_CHARACTER_ERR;\n for (\n // initialize result and counters\n var bc = 0, bs, buffer, idx = 0, output = '';\n // get next character\n buffer = input.charAt(idx++);\n // character found in table? initialize bit storage and add its ascii value;\n ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,\n // and if not first of each 4 characters,\n // convert the first 8 bits to one ascii character\n bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0\n ) {\n // try to find character in table (0-63, not found => -1)\n buffer = chars.indexOf(buffer);\n }\n return output;\n });\n\n}());\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/Base64/base64.js","/*\n json2.js\n 2011-10-19\n\n Public Domain.\n\n NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.\n\n See http://www.JSON.org/js.html\n\n\n This code should be minified before deployment.\n See http://javascript.crockford.com/jsmin.html\n\n USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO\n NOT CONTROL.\n\n\n This file creates a global JSON object containing two methods: stringify\n and parse.\n\n JSON.stringify(value, replacer, space)\n value any JavaScript value, usually an object or array.\n\n replacer an optional parameter that determines how object\n values are stringified for objects. It can be a\n function or an array of strings.\n\n space an optional parameter that specifies the indentation\n of nested structures. If it is omitted, the text will\n be packed without extra whitespace. If it is a number,\n it will specify the number of spaces to indent at each\n level. If it is a string (such as '\\t' or ' '),\n it contains the characters used to indent at each level.\n\n This method produces a JSON text from a JavaScript value.\n\n When an object value is found, if the object contains a toJSON\n method, its toJSON method will be called and the result will be\n stringified. A toJSON method does not serialize: it returns the\n value represented by the name/value pair that should be serialized,\n or undefined if nothing should be serialized. The toJSON method\n will be passed the key associated with the value, and this will be\n bound to the value\n\n For example, this would serialize Dates as ISO strings.\n\n Date.prototype.toJSON = function (key) {\n function f(n) {\n // Format integers to have at least two digits.\n return n < 10 ? '0' + n : n;\n }\n\n return this.getUTCFullYear() + '-' +\n f(this.getUTCMonth() + 1) + '-' +\n f(this.getUTCDate()) + 'T' +\n f(this.getUTCHours()) + ':' +\n f(this.getUTCMinutes()) + ':' +\n f(this.getUTCSeconds()) + 'Z';\n };\n\n You can provide an optional replacer method. It will be passed the\n key and value of each member, with this bound to the containing\n object. The value that is returned from your method will be\n serialized. If your method returns undefined, then the member will\n be excluded from the serialization.\n\n If the replacer parameter is an array of strings, then it will be\n used to select the members to be serialized. It filters the results\n such that only members with keys listed in the replacer array are\n stringified.\n\n Values that do not have JSON representations, such as undefined or\n functions, will not be serialized. Such values in objects will be\n dropped; in arrays they will be replaced with null. You can use\n a replacer function to replace those with JSON values.\n JSON.stringify(undefined) returns undefined.\n\n The optional space parameter produces a stringification of the\n value that is filled with line breaks and indentation to make it\n easier to read.\n\n If the space parameter is a non-empty string, then that string will\n be used for indentation. If the space parameter is a number, then\n the indentation will be that many spaces.\n\n Example:\n\n text = JSON.stringify(['e', {pluribus: 'unum'}]);\n // text is '[\"e\",{\"pluribus\":\"unum\"}]'\n\n\n text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\\t');\n // text is '[\\n\\t\"e\",\\n\\t{\\n\\t\\t\"pluribus\": \"unum\"\\n\\t}\\n]'\n\n text = JSON.stringify([new Date()], function (key, value) {\n return this[key] instanceof Date ?\n 'Date(' + this[key] + ')' : value;\n });\n // text is '[\"Date(---current time---)\"]'\n\n\n JSON.parse(text, reviver)\n This method parses a JSON text to produce an object or array.\n It can throw a SyntaxError exception.\n\n The optional reviver parameter is a function that can filter and\n transform the results. It receives each of the keys and values,\n and its return value is used instead of the original value.\n If it returns what it received, then the structure is not modified.\n If it returns undefined then the member is deleted.\n\n Example:\n\n // Parse the text. Values that look like ISO date strings will\n // be converted to Date objects.\n\n myData = JSON.parse(text, function (key, value) {\n var a;\n if (typeof value === 'string') {\n a =\n/^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}(?:\\.\\d*)?)Z$/.exec(value);\n if (a) {\n return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],\n +a[5], +a[6]));\n }\n }\n return value;\n });\n\n myData = JSON.parse('[\"Date(09/09/2001)\"]', function (key, value) {\n var d;\n if (typeof value === 'string' &&\n value.slice(0, 5) === 'Date(' &&\n value.slice(-1) === ')') {\n d = new Date(value.slice(5, -1));\n if (d) {\n return d;\n }\n }\n return value;\n });\n\n\n This is a reference implementation. You are free to copy, modify, or\n redistribute.\n*/\n\n/*jslint evil: true, regexp: true */\n\n/*members \"\", \"\\b\", \"\\t\", \"\\n\", \"\\f\", \"\\r\", \"\\\"\", JSON, \"\\\\\", apply,\n call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,\n getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,\n lastIndex, length, parse, prototype, push, replace, slice, stringify,\n test, toJSON, toString, valueOf\n*/\n\n\n// Create a JSON object only if one does not already exist. We create the\n// methods in a closure to avoid creating global variables.\n\nvar JSON = {};\n\n(function () {\n 'use strict';\n\n function f(n) {\n // Format integers to have at least two digits.\n return n < 10 ? '0' + n : n;\n }\n\n if (typeof Date.prototype.toJSON !== 'function') {\n\n Date.prototype.toJSON = function (key) {\n\n return isFinite(this.valueOf())\n ? this.getUTCFullYear() + '-' +\n f(this.getUTCMonth() + 1) + '-' +\n f(this.getUTCDate()) + 'T' +\n f(this.getUTCHours()) + ':' +\n f(this.getUTCMinutes()) + ':' +\n f(this.getUTCSeconds()) + 'Z'\n : null;\n };\n\n String.prototype.toJSON =\n Number.prototype.toJSON =\n Boolean.prototype.toJSON = function (key) {\n return this.valueOf();\n };\n }\n\n var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\n\n function quote(string) {\n\n// If the string contains no control characters, no quote characters, and no\n// backslash characters, then we can safely slap some quotes around it.\n// Otherwise we must also replace the offending characters with safe escape\n// sequences.\n\n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string'\n ? c\n : '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n }\n\n\n function str(key, holder) {\n\n// Produce a string from holder[key].\n\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n\n// If the value has a toJSON method, call it to obtain a replacement value.\n\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n\n// If we were called with a replacer function, then call the replacer to\n// obtain a replacement value.\n\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n\n// What happens next depends on the value's type.\n\n switch (typeof value) {\n case 'string':\n return quote(value);\n\n case 'number':\n\n// JSON numbers must be finite. Encode non-finite numbers as null.\n\n return isFinite(value) ? String(value) : 'null';\n\n case 'boolean':\n case 'null':\n\n// If the value is a boolean or null, convert it to a string. Note:\n// typeof null does not produce 'null'. The case is included here in\n// the remote chance that this gets fixed someday.\n\n return String(value);\n\n// If the type is 'object', we might be dealing with an object or an array or\n// null.\n\n case 'object':\n\n// Due to a specification blunder in ECMAScript, typeof null is 'object',\n// so watch out for that case.\n\n if (!value) {\n return 'null';\n }\n\n// Make an array to hold the partial results of stringifying this object value.\n\n gap += indent;\n partial = [];\n\n// Is the value an array?\n\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n\n// The value is an array. Stringify every element. Use null as a placeholder\n// for non-JSON values.\n\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n\n// Join all of the elements together, separated with commas, and wrap them in\n// brackets.\n\n v = partial.length === 0\n ? '[]'\n : gap\n ? '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']'\n : '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n\n// If the replacer is an array, use it to select the members to be stringified.\n\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n if (typeof rep[i] === 'string') {\n k = rep[i];\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n } else {\n\n// Otherwise, iterate through all of the keys in the object.\n\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n\n// Join all of the member texts together, separated with commas,\n// and wrap them in braces.\n\n v = partial.length === 0\n ? '{}'\n : gap\n ? '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}'\n : '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n }\n\n// If the JSON object does not yet have a stringify method, give it one.\n\n if (typeof JSON.stringify !== 'function') {\n JSON.stringify = function (value, replacer, space) {\n\n// The stringify method takes a value and an optional replacer, and an optional\n// space parameter, and returns a JSON text. The replacer can be a function\n// that can replace values, or an array of strings that will select the keys.\n// A default replacer method can be provided. Use of the space parameter can\n// produce text that is more easily readable.\n\n var i;\n gap = '';\n indent = '';\n\n// If the space parameter is a number, make an indent string containing that\n// many spaces.\n\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n\n// If the space parameter is a string, it will be used as the indent string.\n\n } else if (typeof space === 'string') {\n indent = space;\n }\n\n// If there is a replacer, it must be a function or an array.\n// Otherwise, throw an error.\n\n rep = replacer;\n if (replacer && typeof replacer !== 'function' &&\n (typeof replacer !== 'object' ||\n typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n\n// Make a fake root object containing our value under the key of ''.\n// Return the result of stringifying the value.\n\n return str('', {'': value});\n };\n }\n\n\n// If the JSON object does not yet have a parse method, give it one.\n\n if (typeof JSON.parse !== 'function') {\n JSON.parse = function (text, reviver) {\n\n// The parse method takes a text and an optional reviver function, and returns\n// a JavaScript value if the text is a valid JSON text.\n\n var j;\n\n function walk(holder, key) {\n\n// The walk method is used to recursively walk the resulting structure so\n// that modifications can be made.\n\n var k, v, value = holder[key];\n if (value && typeof value === 'object') {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }\n\n\n// Parsing happens in four stages. In the first stage, we replace certain\n// Unicode characters with escape sequences. JavaScript handles many characters\n// incorrectly, either silently deleting them, or treating them as line endings.\n\n text = String(text);\n cx.lastIndex = 0;\n if (cx.test(text)) {\n text = text.replace(cx, function (a) {\n return '\\\\u' +\n ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n });\n }\n\n// In the second stage, we run the text against regular expressions that look\n// for non-JSON patterns. We are especially concerned with '()' and 'new'\n// because they can cause invocation, and '=' because it can cause mutation.\n// But just to be safe, we want to reject all unexpected forms.\n\n// We split the second stage into 4 regexp operations in order to work around\n// crippling inefficiencies in IE's and Safari's regexp engines. First we\n// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we\n// replace all simple value tokens with ']' characters. Third, we delete all\n// open brackets that follow a colon or comma or that begin the text. Finally,\n// we look to see that the remaining characters are only whitespace or ']' or\n// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.\n\n if (/^[\\],:{}\\s]*$/\n .test(text.replace(/\\\\(?:[\"\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')\n .replace(/\"[^\"\\\\\\n\\r]*\"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g, ']')\n .replace(/(?:^|:|,)(?:\\s*\\[)+/g, ''))) {\n\n// In the third stage we use the eval function to compile the text into a\n// JavaScript structure. The '{' operator is subject to a syntactic ambiguity\n// in JavaScript: it can begin a block or an object literal. We wrap the text\n// in parens to eliminate the ambiguity.\n\n j = eval('(' + text + ')');\n\n// In the optional fourth stage, we recursively walk the new structure, passing\n// each name/value pair to a reviver function for possible transformation.\n\n return typeof reviver === 'function'\n ? walk({'': j}, '')\n : j;\n }\n\n// If the text is not JSON parseable, then a SyntaxError is thrown.\n\n throw new SyntaxError('JSON.parse');\n };\n }\n}());\n\nmodule.exports = JSON\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/json-fallback/index.js","/**\n * Module dependencies\n */\n\nvar debug = require('debug')('jsonp');\n\n/**\n * Module exports.\n */\n\nmodule.exports = jsonp;\n\n/**\n * Callback index.\n */\n\nvar count = 0;\n\n/**\n * Noop function.\n */\n\nfunction noop(){}\n\n/**\n * JSONP handler\n *\n * Options:\n * - param {String} qs parameter (`callback`)\n * - timeout {Number} how long after a timeout error is emitted (`60000`)\n *\n * @param {String} url\n * @param {Object|Function} optional options / callback\n * @param {Function} optional callback\n */\n\nfunction jsonp(url, opts, fn){\n if ('function' == typeof opts) {\n fn = opts;\n opts = {};\n }\n if (!opts) opts = {};\n\n var prefix = opts.prefix || '__jp';\n var param = opts.param || 'callback';\n var timeout = null != opts.timeout ? opts.timeout : 60000;\n var enc = encodeURIComponent;\n var target = document.getElementsByTagName('script')[0] || document.head;\n var script;\n var timer;\n\n // generate a unique id for this request\n var id = prefix + (count++);\n\n if (timeout) {\n timer = setTimeout(function(){\n cleanup();\n if (fn) fn(new Error('Timeout'));\n }, timeout);\n }\n\n function cleanup(){\n script.parentNode.removeChild(script);\n window[id] = noop;\n }\n\n window[id] = function(data){\n debug('jsonp got', data);\n if (timer) clearTimeout(timer);\n cleanup();\n if (fn) fn(null, data);\n };\n\n // add qs component\n url += (~url.indexOf('?') ? '&' : '?') + param + '=' + enc(id);\n url = url.replace('?&', '?');\n\n debug('jsonp req \"%s\"', url);\n\n // create script\n script = document.createElement('script');\n script.src = url;\n target.parentNode.insertBefore(script, target);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/jsonp/index.js","/**\n * Helpers.\n */\n\nvar s = 1000\nvar m = s * 60\nvar h = m * 60\nvar d = h * 24\nvar y = d * 365.25\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} options\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function (val, options) {\n options = options || {}\n var type = typeof val\n if (type === 'string' && val.length > 0) {\n return parse(val)\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ?\n\t\t\tfmtLong(val) :\n\t\t\tfmtShort(val)\n }\n throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val))\n}\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str)\n if (str.length > 10000) {\n return\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str)\n if (!match) {\n return\n }\n var n = parseFloat(match[1])\n var type = (match[2] || 'ms').toLowerCase()\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y\n case 'days':\n case 'day':\n case 'd':\n return n * d\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n\n default:\n return undefined\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd'\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h'\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm'\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's'\n }\n return ms + 'ms'\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms'\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name\n }\n return Math.ceil(ms / n) + ' ' + name + 's'\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/jsonp/~/debug/~/ms/index.js","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/qs/lib/index.js","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n arrayLimit: 20,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n parameterLimit: 1000,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar parseValues = function parseValues(str, options) {\n var obj = {};\n var parts = str.split(options.delimiter, options.parameterLimit === Infinity ? undefined : options.parameterLimit);\n\n for (var i = 0; i < parts.length; ++i) {\n var part = parts[i];\n var pos = part.indexOf(']=') === -1 ? part.indexOf('=') : part.indexOf(']=') + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part);\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos));\n val = options.decoder(part.slice(pos + 1));\n }\n if (has.call(obj, key)) {\n obj[key] = [].concat(obj[key]).concat(val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function parseObject(chain, val, options) {\n if (!chain.length) {\n return val;\n }\n\n var root = chain.shift();\n\n var obj;\n if (root === '[]') {\n obj = [];\n obj = obj.concat(parseObject(chain, val, options));\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root[0] === '[' && root[root.length - 1] === ']' ? root.slice(1, root.length - 1) : root;\n var index = parseInt(cleanRoot, 10);\n if (\n !isNaN(index) &&\n root !== cleanRoot &&\n String(index) === cleanRoot &&\n index >= 0 &&\n (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = parseObject(chain, val, options);\n } else {\n obj[cleanRoot] = parseObject(chain, val, options);\n }\n }\n\n return obj;\n};\n\nvar parseKeys = function parseKeys(givenKey, val, options) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^\\.\\[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var parent = /^([^\\[\\]]*)/;\n var child = /(\\[[^\\[\\]]*\\])/g;\n\n // Get the parent\n\n var segment = parent.exec(key);\n\n // Stash the parent if it exists\n\n var keys = [];\n if (segment[1]) {\n // If we aren't using plain objects, optionally prefix keys\n // that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, segment[1])) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(segment[1]);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while ((segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].replace(/\\[|\\]/g, ''))) {\n if (!options.allowPrototypes) {\n continue;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options);\n};\n\nmodule.exports = function (str, opts) {\n var options = opts || {};\n\n if (options.decoder !== null && options.decoder !== undefined && typeof options.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n options.delimiter = typeof options.delimiter === 'string' || utils.isRegExp(options.delimiter) ? options.delimiter : defaults.delimiter;\n options.depth = typeof options.depth === 'number' ? options.depth : defaults.depth;\n options.arrayLimit = typeof options.arrayLimit === 'number' ? options.arrayLimit : defaults.arrayLimit;\n options.parseArrays = options.parseArrays !== false;\n options.decoder = typeof options.decoder === 'function' ? options.decoder : defaults.decoder;\n options.allowDots = typeof options.allowDots === 'boolean' ? options.allowDots : defaults.allowDots;\n options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : defaults.plainObjects;\n options.allowPrototypes = typeof options.allowPrototypes === 'boolean' ? options.allowPrototypes : defaults.allowPrototypes;\n options.parameterLimit = typeof options.parameterLimit === 'number' ? options.parameterLimit : defaults.parameterLimit;\n options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options);\n obj = utils.merge(obj, newObj, options);\n }\n\n return utils.compact(obj);\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/qs/lib/parse.js","'use strict';\n\nvar utils = require('./utils');\nvar formats = require('./formats');\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaults = {\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar stringify = function stringify(object, prefix, generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter) {\n var obj = object;\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (obj === null) {\n if (strictNullHandling) {\n return encoder ? encoder(prefix) : prefix;\n }\n\n obj = '';\n }\n\n if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {\n if (encoder) {\n return [formatter(encoder(prefix)) + '=' + formatter(encoder(obj))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (Array.isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (skipNulls && obj[key] === null) {\n continue;\n }\n\n if (Array.isArray(obj)) {\n values = values.concat(stringify(\n obj[key],\n generateArrayPrefix(prefix, key),\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n formatter\n ));\n } else {\n values = values.concat(stringify(\n obj[key],\n prefix + (allowDots ? '.' + key : '[' + key + ']'),\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n formatter\n ));\n }\n }\n\n return values;\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = opts || {};\n var delimiter = typeof options.delimiter === 'undefined' ? defaults.delimiter : options.delimiter;\n var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;\n var skipNulls = typeof options.skipNulls === 'boolean' ? options.skipNulls : defaults.skipNulls;\n var encode = typeof options.encode === 'boolean' ? options.encode : defaults.encode;\n var encoder = encode ? (typeof options.encoder === 'function' ? options.encoder : defaults.encoder) : null;\n var sort = typeof options.sort === 'function' ? options.sort : null;\n var allowDots = typeof options.allowDots === 'undefined' ? false : options.allowDots;\n var serializeDate = typeof options.serializeDate === 'function' ? options.serializeDate : defaults.serializeDate;\n if (typeof options.format === 'undefined') {\n options.format = formats.default;\n } else if (!Object.prototype.hasOwnProperty.call(formats.formatters, options.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n var formatter = formats.formatters[options.format];\n var objKeys;\n var filter;\n\n if (options.encoder !== null && options.encoder !== undefined && typeof options.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (Array.isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (options.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = options.arrayFormat;\n } else if ('indices' in options) {\n arrayFormat = options.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (sort) {\n objKeys.sort(sort);\n }\n\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (skipNulls && obj[key] === null) {\n continue;\n }\n\n keys = keys.concat(stringify(\n obj[key],\n key,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n formatter\n ));\n }\n\n return keys.join(delimiter);\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/qs/lib/stringify.js","/*!\n * Reqwest! A general purpose XHR connection manager\n * license MIT (c) Dustin Diaz 2015\n * https://github.com/ded/reqwest\n */\n\n!function (name, context, definition) {\n if (typeof module != 'undefined' && module.exports) module.exports = definition()\n else if (typeof define == 'function' && define.amd) define(definition)\n else context[name] = definition()\n}('reqwest', this, function () {\n\n var context = this\n\n if ('window' in context) {\n var doc = document\n , byTag = 'getElementsByTagName'\n , head = doc[byTag]('head')[0]\n } else {\n var XHR2\n try {\n XHR2 = require('xhr2')\n } catch (ex) {\n throw new Error('Peer dependency `xhr2` required! Please npm install xhr2')\n }\n }\n\n\n var httpsRe = /^http/\n , protocolRe = /(^\\w+):\\/\\//\n , twoHundo = /^(20\\d|1223)$/ //http://stackoverflow.com/questions/10046972/msie-returns-status-code-of-1223-for-ajax-request\n , readyState = 'readyState'\n , contentType = 'Content-Type'\n , requestedWith = 'X-Requested-With'\n , uniqid = 0\n , callbackPrefix = 'reqwest_' + (+new Date())\n , lastValue // data stored by the most recent JSONP callback\n , xmlHttpRequest = 'XMLHttpRequest'\n , xDomainRequest = 'XDomainRequest'\n , noop = function () {}\n\n , isArray = typeof Array.isArray == 'function'\n ? Array.isArray\n : function (a) {\n return a instanceof Array\n }\n\n , defaultHeaders = {\n 'contentType': 'application/x-www-form-urlencoded'\n , 'requestedWith': xmlHttpRequest\n , 'accept': {\n '*': 'text/javascript, text/html, application/xml, text/xml, */*'\n , 'xml': 'application/xml, text/xml'\n , 'html': 'text/html'\n , 'text': 'text/plain'\n , 'json': 'application/json, text/javascript'\n , 'js': 'application/javascript, text/javascript'\n }\n }\n\n , xhr = function(o) {\n // is it x-domain\n if (o['crossOrigin'] === true) {\n var xhr = context[xmlHttpRequest] ? new XMLHttpRequest() : null\n if (xhr && 'withCredentials' in xhr) {\n return xhr\n } else if (context[xDomainRequest]) {\n return new XDomainRequest()\n } else {\n throw new Error('Browser does not support cross-origin requests')\n }\n } else if (context[xmlHttpRequest]) {\n return new XMLHttpRequest()\n } else if (XHR2) {\n return new XHR2()\n } else {\n return new ActiveXObject('Microsoft.XMLHTTP')\n }\n }\n , globalSetupOptions = {\n dataFilter: function (data) {\n return data\n }\n }\n\n function succeed(r) {\n var protocol = protocolRe.exec(r.url)\n protocol = (protocol && protocol[1]) || context.location.protocol\n return httpsRe.test(protocol) ? twoHundo.test(r.request.status) : !!r.request.response\n }\n\n function handleReadyState(r, success, error) {\n return function () {\n // use _aborted to mitigate against IE err c00c023f\n // (can't read props on aborted request objects)\n if (r._aborted) return error(r.request)\n if (r._timedOut) return error(r.request, 'Request is aborted: timeout')\n if (r.request && r.request[readyState] == 4) {\n r.request.onreadystatechange = noop\n if (succeed(r)) success(r.request)\n else\n error(r.request)\n }\n }\n }\n\n function setHeaders(http, o) {\n var headers = o['headers'] || {}\n , h\n\n headers['Accept'] = headers['Accept']\n || defaultHeaders['accept'][o['type']]\n || defaultHeaders['accept']['*']\n\n var isAFormData = typeof FormData !== 'undefined' && (o['data'] instanceof FormData);\n // breaks cross-origin requests with legacy browsers\n if (!o['crossOrigin'] && !headers[requestedWith]) headers[requestedWith] = defaultHeaders['requestedWith']\n if (!headers[contentType] && !isAFormData) headers[contentType] = o['contentType'] || defaultHeaders['contentType']\n for (h in headers)\n headers.hasOwnProperty(h) && 'setRequestHeader' in http && http.setRequestHeader(h, headers[h])\n }\n\n function setCredentials(http, o) {\n if (typeof o['withCredentials'] !== 'undefined' && typeof http.withCredentials !== 'undefined') {\n http.withCredentials = !!o['withCredentials']\n }\n }\n\n function generalCallback(data) {\n lastValue = data\n }\n\n function urlappend (url, s) {\n return url + (/\\?/.test(url) ? '&' : '?') + s\n }\n\n function handleJsonp(o, fn, err, url) {\n var reqId = uniqid++\n , cbkey = o['jsonpCallback'] || 'callback' // the 'callback' key\n , cbval = o['jsonpCallbackName'] || reqwest.getcallbackPrefix(reqId)\n , cbreg = new RegExp('((^|\\\\?|&)' + cbkey + ')=([^&]+)')\n , match = url.match(cbreg)\n , script = doc.createElement('script')\n , loaded = 0\n , isIE10 = navigator.userAgent.indexOf('MSIE 10.0') !== -1\n\n if (match) {\n if (match[3] === '?') {\n url = url.replace(cbreg, '$1=' + cbval) // wildcard callback func name\n } else {\n cbval = match[3] // provided callback func name\n }\n } else {\n url = urlappend(url, cbkey + '=' + cbval) // no callback details, add 'em\n }\n\n context[cbval] = generalCallback\n\n script.type = 'text/javascript'\n script.src = url\n script.async = true\n if (typeof script.onreadystatechange !== 'undefined' && !isIE10) {\n // need this for IE due to out-of-order onreadystatechange(), binding script\n // execution to an event listener gives us control over when the script\n // is executed. See http://jaubourg.net/2010/07/loading-script-as-onclick-handler-of.html\n script.htmlFor = script.id = '_reqwest_' + reqId\n }\n\n script.onload = script.onreadystatechange = function () {\n if ((script[readyState] && script[readyState] !== 'complete' && script[readyState] !== 'loaded') || loaded) {\n return false\n }\n script.onload = script.onreadystatechange = null\n script.onclick && script.onclick()\n // Call the user callback with the last value stored and clean up values and scripts.\n fn(lastValue)\n lastValue = undefined\n head.removeChild(script)\n loaded = 1\n }\n\n // Add the script to the DOM head\n head.appendChild(script)\n\n // Enable JSONP timeout\n return {\n abort: function () {\n script.onload = script.onreadystatechange = null\n err({}, 'Request is aborted: timeout', {})\n lastValue = undefined\n head.removeChild(script)\n loaded = 1\n }\n }\n }\n\n function getRequest(fn, err) {\n var o = this.o\n , method = (o['method'] || 'GET').toUpperCase()\n , url = typeof o === 'string' ? o : o['url']\n // convert non-string objects to query-string form unless o['processData'] is false\n , data = (o['processData'] !== false && o['data'] && typeof o['data'] !== 'string')\n ? reqwest.toQueryString(o['data'])\n : (o['data'] || null)\n , http\n , sendWait = false\n\n // if we're working on a GET request and we have data then we should append\n // query string to end of URL and not post data\n if ((o['type'] == 'jsonp' || method == 'GET') && data) {\n url = urlappend(url, data)\n data = null\n }\n\n if (o['type'] == 'jsonp') return handleJsonp(o, fn, err, url)\n\n // get the xhr from the factory if passed\n // if the factory returns null, fall-back to ours\n http = (o.xhr && o.xhr(o)) || xhr(o)\n\n http.open(method, url, o['async'] === false ? false : true)\n setHeaders(http, o)\n setCredentials(http, o)\n if (context[xDomainRequest] && http instanceof context[xDomainRequest]) {\n http.onload = fn\n http.onerror = err\n // NOTE: see\n // http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/30ef3add-767c-4436-b8a9-f1ca19b4812e\n http.onprogress = function() {}\n sendWait = true\n } else {\n http.onreadystatechange = handleReadyState(this, fn, err)\n }\n o['before'] && o['before'](http)\n if (sendWait) {\n setTimeout(function () {\n http.send(data)\n }, 200)\n } else {\n http.send(data)\n }\n return http\n }\n\n function Reqwest(o, fn) {\n this.o = o\n this.fn = fn\n\n init.apply(this, arguments)\n }\n\n function setType(header) {\n // json, javascript, text/plain, text/html, xml\n if (header === null) return undefined; //In case of no content-type.\n if (header.match('json')) return 'json'\n if (header.match('javascript')) return 'js'\n if (header.match('text')) return 'html'\n if (header.match('xml')) return 'xml'\n }\n\n function init(o, fn) {\n\n this.url = typeof o == 'string' ? o : o['url']\n this.timeout = null\n\n // whether request has been fulfilled for purpose\n // of tracking the Promises\n this._fulfilled = false\n // success handlers\n this._successHandler = function(){}\n this._fulfillmentHandlers = []\n // error handlers\n this._errorHandlers = []\n // complete (both success and fail) handlers\n this._completeHandlers = []\n this._erred = false\n this._responseArgs = {}\n\n var self = this\n\n fn = fn || function () {}\n\n if (o['timeout']) {\n this.timeout = setTimeout(function () {\n timedOut()\n }, o['timeout'])\n }\n\n if (o['success']) {\n this._successHandler = function () {\n o['success'].apply(o, arguments)\n }\n }\n\n if (o['error']) {\n this._errorHandlers.push(function () {\n o['error'].apply(o, arguments)\n })\n }\n\n if (o['complete']) {\n this._completeHandlers.push(function () {\n o['complete'].apply(o, arguments)\n })\n }\n\n function complete (resp) {\n o['timeout'] && clearTimeout(self.timeout)\n self.timeout = null\n while (self._completeHandlers.length > 0) {\n self._completeHandlers.shift()(resp)\n }\n }\n\n function success (resp) {\n var type = o['type'] || resp && setType(resp.getResponseHeader('Content-Type')) // resp can be undefined in IE\n resp = (type !== 'jsonp') ? self.request : resp\n // use global data filter on response text\n var filteredResponse = globalSetupOptions.dataFilter(resp.responseText, type)\n , r = filteredResponse\n try {\n resp.responseText = r\n } catch (e) {\n // can't assign this in IE<=8, just ignore\n }\n if (r) {\n switch (type) {\n case 'json':\n try {\n resp = context.JSON ? context.JSON.parse(r) : eval('(' + r + ')')\n } catch (err) {\n return error(resp, 'Could not parse JSON in response', err)\n }\n break\n case 'js':\n resp = eval(r)\n break\n case 'html':\n resp = r\n break\n case 'xml':\n resp = resp.responseXML\n && resp.responseXML.parseError // IE trololo\n && resp.responseXML.parseError.errorCode\n && resp.responseXML.parseError.reason\n ? null\n : resp.responseXML\n break\n }\n }\n\n self._responseArgs.resp = resp\n self._fulfilled = true\n fn(resp)\n self._successHandler(resp)\n while (self._fulfillmentHandlers.length > 0) {\n resp = self._fulfillmentHandlers.shift()(resp)\n }\n\n complete(resp)\n }\n\n function timedOut() {\n self._timedOut = true\n self.request.abort()\n }\n\n function error(resp, msg, t) {\n resp = self.request\n self._responseArgs.resp = resp\n self._responseArgs.msg = msg\n self._responseArgs.t = t\n self._erred = true\n while (self._errorHandlers.length > 0) {\n self._errorHandlers.shift()(resp, msg, t)\n }\n complete(resp)\n }\n\n this.request = getRequest.call(this, success, error)\n }\n\n Reqwest.prototype = {\n abort: function () {\n this._aborted = true\n this.request.abort()\n }\n\n , retry: function () {\n init.call(this, this.o, this.fn)\n }\n\n /**\n * Small deviation from the Promises A CommonJs specification\n * http://wiki.commonjs.org/wiki/Promises/A\n */\n\n /**\n * `then` will execute upon successful requests\n */\n , then: function (success, fail) {\n success = success || function () {}\n fail = fail || function () {}\n if (this._fulfilled) {\n this._responseArgs.resp = success(this._responseArgs.resp)\n } else if (this._erred) {\n fail(this._responseArgs.resp, this._responseArgs.msg, this._responseArgs.t)\n } else {\n this._fulfillmentHandlers.push(success)\n this._errorHandlers.push(fail)\n }\n return this\n }\n\n /**\n * `always` will execute whether the request succeeds or fails\n */\n , always: function (fn) {\n if (this._fulfilled || this._erred) {\n fn(this._responseArgs.resp)\n } else {\n this._completeHandlers.push(fn)\n }\n return this\n }\n\n /**\n * `fail` will execute when the request fails\n */\n , fail: function (fn) {\n if (this._erred) {\n fn(this._responseArgs.resp, this._responseArgs.msg, this._responseArgs.t)\n } else {\n this._errorHandlers.push(fn)\n }\n return this\n }\n , 'catch': function (fn) {\n return this.fail(fn)\n }\n }\n\n function reqwest(o, fn) {\n return new Reqwest(o, fn)\n }\n\n // normalize newline variants according to spec -> CRLF\n function normalize(s) {\n return s ? s.replace(/\\r?\\n/g, '\\r\\n') : ''\n }\n\n function serial(el, cb) {\n var n = el.name\n , t = el.tagName.toLowerCase()\n , optCb = function (o) {\n // IE gives value=\"\" even where there is no value attribute\n // 'specified' ref: http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-862529273\n if (o && !o['disabled'])\n cb(n, normalize(o['attributes']['value'] && o['attributes']['value']['specified'] ? o['value'] : o['text']))\n }\n , ch, ra, val, i\n\n // don't serialize elements that are disabled or without a name\n if (el.disabled || !n) return\n\n switch (t) {\n case 'input':\n if (!/reset|button|image|file/i.test(el.type)) {\n ch = /checkbox/i.test(el.type)\n ra = /radio/i.test(el.type)\n val = el.value\n // WebKit gives us \"\" instead of \"on\" if a checkbox has no value, so correct it here\n ;(!(ch || ra) || el.checked) && cb(n, normalize(ch && val === '' ? 'on' : val))\n }\n break\n case 'textarea':\n cb(n, normalize(el.value))\n break\n case 'select':\n if (el.type.toLowerCase() === 'select-one') {\n optCb(el.selectedIndex >= 0 ? el.options[el.selectedIndex] : null)\n } else {\n for (i = 0; el.length && i < el.length; i++) {\n el.options[i].selected && optCb(el.options[i])\n }\n }\n break\n }\n }\n\n // collect up all form elements found from the passed argument elements all\n // the way down to child elements; pass a '<form>' or form fields.\n // called with 'this'=callback to use for serial() on each element\n function eachFormElement() {\n var cb = this\n , e, i\n , serializeSubtags = function (e, tags) {\n var i, j, fa\n for (i = 0; i < tags.length; i++) {\n fa = e[byTag](tags[i])\n for (j = 0; j < fa.length; j++) serial(fa[j], cb)\n }\n }\n\n for (i = 0; i < arguments.length; i++) {\n e = arguments[i]\n if (/input|select|textarea/i.test(e.tagName)) serial(e, cb)\n serializeSubtags(e, [ 'input', 'select', 'textarea' ])\n }\n }\n\n // standard query string style serialization\n function serializeQueryString() {\n return reqwest.toQueryString(reqwest.serializeArray.apply(null, arguments))\n }\n\n // { 'name': 'value', ... } style serialization\n function serializeHash() {\n var hash = {}\n eachFormElement.apply(function (name, value) {\n if (name in hash) {\n hash[name] && !isArray(hash[name]) && (hash[name] = [hash[name]])\n hash[name].push(value)\n } else hash[name] = value\n }, arguments)\n return hash\n }\n\n // [ { name: 'name', value: 'value' }, ... ] style serialization\n reqwest.serializeArray = function () {\n var arr = []\n eachFormElement.apply(function (name, value) {\n arr.push({name: name, value: value})\n }, arguments)\n return arr\n }\n\n reqwest.serialize = function () {\n if (arguments.length === 0) return ''\n var opt, fn\n , args = Array.prototype.slice.call(arguments, 0)\n\n opt = args.pop()\n opt && opt.nodeType && args.push(opt) && (opt = null)\n opt && (opt = opt.type)\n\n if (opt == 'map') fn = serializeHash\n else if (opt == 'array') fn = reqwest.serializeArray\n else fn = serializeQueryString\n\n return fn.apply(null, args)\n }\n\n reqwest.toQueryString = function (o, trad) {\n var prefix, i\n , traditional = trad || false\n , s = []\n , enc = encodeURIComponent\n , add = function (key, value) {\n // If value is a function, invoke it and return its value\n value = ('function' === typeof value) ? value() : (value == null ? '' : value)\n s[s.length] = enc(key) + '=' + enc(value)\n }\n // If an array was passed in, assume that it is an array of form elements.\n if (isArray(o)) {\n for (i = 0; o && i < o.length; i++) add(o[i]['name'], o[i]['value'])\n } else {\n // If traditional, encode the \"old\" way (the way 1.3.2 or older\n // did it), otherwise encode params recursively.\n for (prefix in o) {\n if (o.hasOwnProperty(prefix)) buildParams(prefix, o[prefix], traditional, add)\n }\n }\n\n // spaces should be + according to spec\n return s.join('&').replace(/%20/g, '+')\n }\n\n function buildParams(prefix, obj, traditional, add) {\n var name, i, v\n , rbracket = /\\[\\]$/\n\n if (isArray(obj)) {\n // Serialize array item.\n for (i = 0; obj && i < obj.length; i++) {\n v = obj[i]\n if (traditional || rbracket.test(prefix)) {\n // Treat each array item as a scalar.\n add(prefix, v)\n } else {\n buildParams(prefix + '[' + (typeof v === 'object' ? i : '') + ']', v, traditional, add)\n }\n }\n } else if (obj && obj.toString() === '[object Object]') {\n // Serialize object item.\n for (name in obj) {\n buildParams(prefix + '[' + name + ']', obj[name], traditional, add)\n }\n\n } else {\n // Serialize scalar item.\n add(prefix, obj)\n }\n }\n\n reqwest.getcallbackPrefix = function () {\n return callbackPrefix\n }\n\n // jQuery and Zepto compatibility, differences can be remapped here so you can call\n // .ajax.compat(options, callback)\n reqwest.compat = function (o, fn) {\n if (o) {\n o['type'] && (o['method'] = o['type']) && delete o['type']\n o['dataType'] && (o['type'] = o['dataType'])\n o['jsonpCallback'] && (o['jsonpCallbackName'] = o['jsonpCallback']) && delete o['jsonpCallback']\n o['jsonp'] && (o['jsonpCallback'] = o['jsonp'])\n }\n return new Reqwest(o, fn)\n }\n\n reqwest.ajaxSetup = function (options) {\n options = options || {}\n for (var k in options) {\n globalSetupOptions[k] = options[k]\n }\n }\n\n return reqwest\n});\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/reqwest/reqwest.js","var WinChan = (function() {\n var RELAY_FRAME_NAME = \"__winchan_relay_frame\";\n var CLOSE_CMD = \"die\";\n\n // a portable addListener implementation\n function addListener(w, event, cb) {\n if(w.attachEvent) w.attachEvent('on' + event, cb);\n else if (w.addEventListener) w.addEventListener(event, cb, false);\n }\n\n // a portable removeListener implementation\n function removeListener(w, event, cb) {\n if(w.detachEvent) w.detachEvent('on' + event, cb);\n else if (w.removeEventListener) w.removeEventListener(event, cb, false);\n }\n\n\n // checking for IE8 or above\n function isInternetExplorer() {\n if (typeof navigator === 'undefined') {\n return false;\n }\n\n var rv = -1; // Return value assumes failure.\n var ua = navigator.userAgent;\n if (navigator.appName === 'Microsoft Internet Explorer') {\n var re = new RegExp(\"MSIE ([0-9]{1,}[\\.0-9]{0,})\");\n if (re.exec(ua) != null)\n rv = parseFloat(RegExp.$1);\n }\n // IE > 11\n else if (ua.indexOf(\"Trident\") > -1) {\n var re = new RegExp(\"rv:([0-9]{2,2}[\\.0-9]{0,})\");\n if (re.exec(ua) !== null) {\n rv = parseFloat(RegExp.$1);\n }\n }\n\n return rv >= 8;\n }\n\n // checking Mobile Firefox (Fennec)\n function isFennec() {\n try {\n // We must check for both XUL and Java versions of Fennec. Both have\n // distinct UA strings.\n var userAgent = navigator.userAgent;\n return (userAgent.indexOf('Fennec/') != -1) || // XUL\n (userAgent.indexOf('Firefox/') != -1 && userAgent.indexOf('Android') != -1); // Java\n } catch(e) {}\n return false;\n }\n\n // feature checking to see if this platform is supported at all\n function isSupported() {\n return (typeof window !== 'undefined' && window.JSON && window.JSON.stringify &&\n window.JSON.parse && window.postMessage);\n }\n\n // given a URL, extract the origin. Taken from: https://github.com/firebase/firebase-simple-login/blob/d2cb95b9f812d8488bdbfba51c3a7c153ba1a074/js/src/simple-login/transports/WinChan.js#L25-L30\n function extractOrigin(url) {\n if (!/^https?:\\/\\//.test(url)) url = window.location.href;\n var m = /^(https?:\\/\\/[\\-_a-zA-Z\\.0-9:]+)/.exec(url);\n if (m) return m[1];\n return url;\n }\n\n // find the relay iframe in the opener\n function findRelay() {\n var loc = window.location;\n var frames = window.opener.frames;\n for (var i = frames.length - 1; i >= 0; i--) {\n try {\n if (frames[i].location.protocol === window.location.protocol &&\n frames[i].location.host === window.location.host &&\n frames[i].name === RELAY_FRAME_NAME)\n {\n return frames[i];\n }\n } catch(e) { }\n }\n return;\n }\n\n var isIE = isInternetExplorer();\n\n if (isSupported()) {\n /* General flow:\n * 0. user clicks\n * (IE SPECIFIC) 1. caller adds relay iframe (served from trusted domain) to DOM\n * 2. caller opens window (with content from trusted domain)\n * 3. window on opening adds a listener to 'message'\n * (IE SPECIFIC) 4. window on opening finds iframe\n * 5. window checks if iframe is \"loaded\" - has a 'doPost' function yet\n * (IE SPECIFIC5) 5a. if iframe.doPost exists, window uses it to send ready event to caller\n * (IE SPECIFIC5) 5b. if iframe.doPost doesn't exist, window waits for frame ready\n * (IE SPECIFIC5) 5bi. once ready, window calls iframe.doPost to send ready event\n * 6. caller upon reciept of 'ready', sends args\n */\n return {\n open: function(opts, cb) {\n if (!cb) throw \"missing required callback argument\";\n\n // test required options\n var err;\n if (!opts.url) err = \"missing required 'url' parameter\";\n if (!opts.relay_url) err = \"missing required 'relay_url' parameter\";\n if (err) setTimeout(function() { cb(err); }, 0);\n\n // supply default options\n if (!opts.window_name) opts.window_name = null;\n if (!opts.window_features || isFennec()) opts.window_features = undefined;\n\n // opts.params may be undefined\n\n var iframe;\n\n // sanity check, are url and relay_url the same origin?\n var origin = extractOrigin(opts.url);\n if (origin !== extractOrigin(opts.relay_url)) {\n return setTimeout(function() {\n cb('invalid arguments: origin of url and relay_url must match');\n }, 0);\n }\n\n var messageTarget;\n\n if (isIE) {\n // first we need to add a \"relay\" iframe to the document that's served\n // from the target domain. We can postmessage into a iframe, but not a\n // window\n iframe = document.createElement(\"iframe\");\n // iframe.setAttribute('name', framename);\n iframe.setAttribute('src', opts.relay_url);\n iframe.style.display = \"none\";\n iframe.setAttribute('name', RELAY_FRAME_NAME);\n document.body.appendChild(iframe);\n messageTarget = iframe.contentWindow;\n }\n\n var w = opts.popup || window.open(opts.url, opts.window_name, opts.window_features);\n if (opts.popup) {\n w.location.href = opts.url;\n }\n\n if (!messageTarget) messageTarget = w;\n\n // lets listen in case the window blows up before telling us\n var closeInterval = setInterval(function() {\n if (w && w.closed) {\n cleanup();\n if (cb) {\n cb('User closed the popup window');\n cb = null;\n }\n }\n }, 500);\n\n var req = JSON.stringify({a: 'request', d: opts.params});\n\n // cleanup on unload\n function cleanup() {\n if (iframe) document.body.removeChild(iframe);\n iframe = undefined;\n if (closeInterval) closeInterval = clearInterval(closeInterval);\n removeListener(window, 'message', onMessage);\n removeListener(window, 'unload', cleanup);\n if (w) {\n try {\n w.close();\n } catch (securityViolation) {\n // This happens in Opera 12 sometimes\n // see https://github.com/mozilla/browserid/issues/1844\n messageTarget.postMessage(CLOSE_CMD, origin);\n }\n }\n w = messageTarget = undefined;\n }\n\n addListener(window, 'unload', cleanup);\n\n function onMessage(e) {\n if (e.origin !== origin) { return; }\n try {\n var d = JSON.parse(e.data);\n if (d.a === 'ready') messageTarget.postMessage(req, origin);\n else if (d.a === 'error') {\n cleanup();\n if (cb) {\n cb(d.d);\n cb = null;\n }\n } else if (d.a === 'response') {\n cleanup();\n if (cb) {\n cb(null, d.d);\n cb = null;\n }\n }\n } catch(err) { }\n }\n\n addListener(window, 'message', onMessage);\n\n return {\n close: cleanup,\n focus: function() {\n if (w) {\n try {\n w.focus();\n } catch (e) {\n // IE7 blows up here, do nothing\n }\n }\n }\n };\n },\n onOpen: function(cb) {\n var o = \"*\";\n var msgTarget = isIE ? findRelay() : window.opener;\n if (!msgTarget) throw \"can't find relay frame\";\n function doPost(msg) {\n msg = JSON.stringify(msg);\n if (isIE) msgTarget.doPost(msg, o);\n else msgTarget.postMessage(msg, o);\n }\n\n function onMessage(e) {\n // only one message gets through, but let's make sure it's actually\n // the message we're looking for (other code may be using\n // postmessage) - we do this by ensuring the payload can\n // be parsed, and it's got an 'a' (action) value of 'request'.\n var d;\n try {\n d = JSON.parse(e.data);\n } catch(err) { }\n if (!d || d.a !== 'request') return;\n removeListener(window, 'message', onMessage);\n o = e.origin;\n if (cb) {\n // this setTimeout is critically important for IE8 -\n // in ie8 sometimes addListener for 'message' can synchronously\n // cause your callback to be invoked. awesome.\n setTimeout(function() {\n cb(o, d.d, function(r) {\n cb = undefined;\n doPost({a: 'response', d: r});\n });\n }, 0);\n }\n }\n\n function onDie(e) {\n if (e.data === CLOSE_CMD) {\n try { window.close(); } catch (o_O) {}\n }\n }\n addListener(isIE ? msgTarget : window, 'message', onMessage);\n addListener(isIE ? msgTarget : window, 'message', onDie);\n\n // we cannot post to our parent that we're ready before the iframe\n // is loaded. (IE specific possible failure)\n try {\n doPost({a: \"ready\"});\n } catch(e) {\n // this code should never be exectued outside IE\n addListener(msgTarget, 'load', function(e) {\n doPost({a: \"ready\"});\n });\n }\n\n // if window is unloaded and the client hasn't called cb, it's an error\n var onUnload = function() {\n try {\n // IE8 doesn't like this...\n removeListener(isIE ? msgTarget : window, 'message', onDie);\n } catch (ohWell) { }\n if (cb) doPost({ a: 'error', d: 'client closed window' });\n cb = undefined;\n // explicitly close the window, in case the client is trying to reload or nav\n try { window.close(); } catch (e) { }\n };\n addListener(window, 'unload', onUnload);\n return {\n detach: function() {\n removeListener(window, 'unload', onUnload);\n }\n };\n }\n };\n } else {\n return {\n open: function(url, winopts, arg, cb) {\n setTimeout(function() { cb(\"unsupported browser\"); }, 0);\n },\n onOpen: function(cb) {\n setTimeout(function() { cb(\"unsupported browser\"); }, 0);\n }\n };\n }\n})();\n\nif (typeof module !== 'undefined' && module.exports) {\n module.exports = WinChan;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/winchan/winchan.js","module.exports = hasKeys\n\nfunction hasKeys(source) {\n return source !== null &&\n (typeof source === \"object\" ||\n typeof source === \"function\")\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/xtend/has-keys.js","var Keys = require(\"object-keys\")\nvar hasKeys = require(\"./has-keys\")\n\nmodule.exports = extend\n\nfunction extend() {\n var target = {}\n\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i]\n\n if (!hasKeys(source)) {\n continue\n }\n\n var keys = Keys(source)\n\n for (var j = 0; j < keys.length; j++) {\n var name = keys[j]\n target[name] = source[name]\n }\n }\n\n return target\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/xtend/index.js","var hasOwn = Object.prototype.hasOwnProperty;\nvar toString = Object.prototype.toString;\n\nvar isFunction = function (fn) {\n\tvar isFunc = (typeof fn === 'function' && !(fn instanceof RegExp)) || toString.call(fn) === '[object Function]';\n\tif (!isFunc && typeof window !== 'undefined') {\n\t\tisFunc = fn === window.setTimeout || fn === window.alert || fn === window.confirm || fn === window.prompt;\n\t}\n\treturn isFunc;\n};\n\nmodule.exports = function forEach(obj, fn) {\n\tif (!isFunction(fn)) {\n\t\tthrow new TypeError('iterator must be a function');\n\t}\n\tvar i, k,\n\t\tisString = typeof obj === 'string',\n\t\tl = obj.length,\n\t\tcontext = arguments.length > 2 ? arguments[2] : null;\n\tif (l === +l) {\n\t\tfor (i = 0; i < l; i++) {\n\t\t\tif (context === null) {\n\t\t\t\tfn(isString ? obj.charAt(i) : obj[i], i, obj);\n\t\t\t} else {\n\t\t\t\tfn.call(context, isString ? obj.charAt(i) : obj[i], i, obj);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tfor (k in obj) {\n\t\t\tif (hasOwn.call(obj, k)) {\n\t\t\t\tif (context === null) {\n\t\t\t\t\tfn(obj[k], k, obj);\n\t\t\t\t} else {\n\t\t\t\t\tfn.call(context, obj[k], k, obj);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/xtend/~/object-keys/foreach.js","module.exports = Object.keys || require('./shim');\n\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/xtend/~/object-keys/index.js","var toString = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toString.call(value);\n\tvar isArguments = str === '[object Arguments]';\n\tif (!isArguments) {\n\t\tisArguments = str !== '[object Array]'\n\t\t\t&& value !== null\n\t\t\t&& typeof value === 'object'\n\t\t\t&& typeof value.length === 'number'\n\t\t\t&& value.length >= 0\n\t\t\t&& toString.call(value.callee) === '[object Function]';\n\t}\n\treturn isArguments;\n};\n\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/xtend/~/object-keys/isArguments.js","(function () {\n\t\"use strict\";\n\n\t// modified from https://github.com/kriskowal/es5-shim\n\tvar has = Object.prototype.hasOwnProperty,\n\t\ttoString = Object.prototype.toString,\n\t\tforEach = require('./foreach'),\n\t\tisArgs = require('./isArguments'),\n\t\thasDontEnumBug = !({'toString': null}).propertyIsEnumerable('toString'),\n\t\thasProtoEnumBug = (function () {}).propertyIsEnumerable('prototype'),\n\t\tdontEnums = [\n\t\t\t\"toString\",\n\t\t\t\"toLocaleString\",\n\t\t\t\"valueOf\",\n\t\t\t\"hasOwnProperty\",\n\t\t\t\"isPrototypeOf\",\n\t\t\t\"propertyIsEnumerable\",\n\t\t\t\"constructor\"\n\t\t],\n\t\tkeysShim;\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object',\n\t\t\tisFunction = toString.call(object) === '[object Function]',\n\t\t\tisArguments = isArgs(object),\n\t\t\ttheKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError(\"Object.keys called on a non-object\");\n\t\t}\n\n\t\tif (isArguments) {\n\t\t\tforEach(object, function (value) {\n\t\t\t\ttheKeys.push(value);\n\t\t\t});\n\t\t} else {\n\t\t\tvar name,\n\t\t\t\tskipProto = hasProtoEnumBug && isFunction;\n\n\t\t\tfor (name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(name);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar ctor = object.constructor,\n\t\t\t\tskipConstructor = ctor && ctor.prototype === object;\n\n\t\t\tforEach(dontEnums, function (dontEnum) {\n\t\t\t\tif (!(skipConstructor && dontEnum === 'constructor') && has.call(object, dontEnum)) {\n\t\t\t\t\ttheKeys.push(dontEnum);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn theKeys;\n\t};\n\n\tmodule.exports = keysShim;\n}());\n\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/xtend/~/object-keys/shim.js","module.exports = { str: \"7.6.1\" };\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/version.js","/*\n * JavaScript MD5\n * https://github.com/blueimp/JavaScript-MD5\n *\n * Copyright 2011, Sebastian Tschan\n * https://blueimp.net\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/MIT\n *\n * Based on\n * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n * Digest Algorithm, as defined in RFC 1321.\n * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009\n * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n * Distributed under the BSD License\n * See http://pajhome.org.uk/crypt/md5 for more info.\n */\n\n/*global unescape, define, module */\n\n;(function ($) {\n 'use strict'\n\n /*\n * Add integers, wrapping at 2^32. This uses 16-bit operations internally\n * to work around bugs in some JS interpreters.\n */\n function safe_add (x, y) {\n var lsw = (x & 0xFFFF) + (y & 0xFFFF)\n var msw = (x >> 16) + (y >> 16) + (lsw >> 16)\n return (msw << 16) | (lsw & 0xFFFF)\n }\n\n /*\n * Bitwise rotate a 32-bit number to the left.\n */\n function bit_rol (num, cnt) {\n return (num << cnt) | (num >>> (32 - cnt))\n }\n\n /*\n * These functions implement the four basic operations the algorithm uses.\n */\n function md5_cmn (q, a, b, x, s, t) {\n return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b)\n }\n function md5_ff (a, b, c, d, x, s, t) {\n return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t)\n }\n function md5_gg (a, b, c, d, x, s, t) {\n return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t)\n }\n function md5_hh (a, b, c, d, x, s, t) {\n return md5_cmn(b ^ c ^ d, a, b, x, s, t)\n }\n function md5_ii (a, b, c, d, x, s, t) {\n return md5_cmn(c ^ (b | (~d)), a, b, x, s, t)\n }\n\n /*\n * Calculate the MD5 of an array of little-endian words, and a bit length.\n */\n function binl_md5 (x, len) {\n /* append padding */\n x[len >> 5] |= 0x80 << (len % 32)\n x[(((len + 64) >>> 9) << 4) + 14] = len\n\n var i\n var olda\n var oldb\n var oldc\n var oldd\n var a = 1732584193\n var b = -271733879\n var c = -1732584194\n var d = 271733878\n\n for (i = 0; i < x.length; i += 16) {\n olda = a\n oldb = b\n oldc = c\n oldd = d\n\n a = md5_ff(a, b, c, d, x[i], 7, -680876936)\n d = md5_ff(d, a, b, c, x[i + 1], 12, -389564586)\n c = md5_ff(c, d, a, b, x[i + 2], 17, 606105819)\n b = md5_ff(b, c, d, a, x[i + 3], 22, -1044525330)\n a = md5_ff(a, b, c, d, x[i + 4], 7, -176418897)\n d = md5_ff(d, a, b, c, x[i + 5], 12, 1200080426)\n c = md5_ff(c, d, a, b, x[i + 6], 17, -1473231341)\n b = md5_ff(b, c, d, a, x[i + 7], 22, -45705983)\n a = md5_ff(a, b, c, d, x[i + 8], 7, 1770035416)\n d = md5_ff(d, a, b, c, x[i + 9], 12, -1958414417)\n c = md5_ff(c, d, a, b, x[i + 10], 17, -42063)\n b = md5_ff(b, c, d, a, x[i + 11], 22, -1990404162)\n a = md5_ff(a, b, c, d, x[i + 12], 7, 1804603682)\n d = md5_ff(d, a, b, c, x[i + 13], 12, -40341101)\n c = md5_ff(c, d, a, b, x[i + 14], 17, -1502002290)\n b = md5_ff(b, c, d, a, x[i + 15], 22, 1236535329)\n\n a = md5_gg(a, b, c, d, x[i + 1], 5, -165796510)\n d = md5_gg(d, a, b, c, x[i + 6], 9, -1069501632)\n c = md5_gg(c, d, a, b, x[i + 11], 14, 643717713)\n b = md5_gg(b, c, d, a, x[i], 20, -373897302)\n a = md5_gg(a, b, c, d, x[i + 5], 5, -701558691)\n d = md5_gg(d, a, b, c, x[i + 10], 9, 38016083)\n c = md5_gg(c, d, a, b, x[i + 15], 14, -660478335)\n b = md5_gg(b, c, d, a, x[i + 4], 20, -405537848)\n a = md5_gg(a, b, c, d, x[i + 9], 5, 568446438)\n d = md5_gg(d, a, b, c, x[i + 14], 9, -1019803690)\n c = md5_gg(c, d, a, b, x[i + 3], 14, -187363961)\n b = md5_gg(b, c, d, a, x[i + 8], 20, 1163531501)\n a = md5_gg(a, b, c, d, x[i + 13], 5, -1444681467)\n d = md5_gg(d, a, b, c, x[i + 2], 9, -51403784)\n c = md5_gg(c, d, a, b, x[i + 7], 14, 1735328473)\n b = md5_gg(b, c, d, a, x[i + 12], 20, -1926607734)\n\n a = md5_hh(a, b, c, d, x[i + 5], 4, -378558)\n d = md5_hh(d, a, b, c, x[i + 8], 11, -2022574463)\n c = md5_hh(c, d, a, b, x[i + 11], 16, 1839030562)\n b = md5_hh(b, c, d, a, x[i + 14], 23, -35309556)\n a = md5_hh(a, b, c, d, x[i + 1], 4, -1530992060)\n d = md5_hh(d, a, b, c, x[i + 4], 11, 1272893353)\n c = md5_hh(c, d, a, b, x[i + 7], 16, -155497632)\n b = md5_hh(b, c, d, a, x[i + 10], 23, -1094730640)\n a = md5_hh(a, b, c, d, x[i + 13], 4, 681279174)\n d = md5_hh(d, a, b, c, x[i], 11, -358537222)\n c = md5_hh(c, d, a, b, x[i + 3], 16, -722521979)\n b = md5_hh(b, c, d, a, x[i + 6], 23, 76029189)\n a = md5_hh(a, b, c, d, x[i + 9], 4, -640364487)\n d = md5_hh(d, a, b, c, x[i + 12], 11, -421815835)\n c = md5_hh(c, d, a, b, x[i + 15], 16, 530742520)\n b = md5_hh(b, c, d, a, x[i + 2], 23, -995338651)\n\n a = md5_ii(a, b, c, d, x[i], 6, -198630844)\n d = md5_ii(d, a, b, c, x[i + 7], 10, 1126891415)\n c = md5_ii(c, d, a, b, x[i + 14], 15, -1416354905)\n b = md5_ii(b, c, d, a, x[i + 5], 21, -57434055)\n a = md5_ii(a, b, c, d, x[i + 12], 6, 1700485571)\n d = md5_ii(d, a, b, c, x[i + 3], 10, -1894986606)\n c = md5_ii(c, d, a, b, x[i + 10], 15, -1051523)\n b = md5_ii(b, c, d, a, x[i + 1], 21, -2054922799)\n a = md5_ii(a, b, c, d, x[i + 8], 6, 1873313359)\n d = md5_ii(d, a, b, c, x[i + 15], 10, -30611744)\n c = md5_ii(c, d, a, b, x[i + 6], 15, -1560198380)\n b = md5_ii(b, c, d, a, x[i + 13], 21, 1309151649)\n a = md5_ii(a, b, c, d, x[i + 4], 6, -145523070)\n d = md5_ii(d, a, b, c, x[i + 11], 10, -1120210379)\n c = md5_ii(c, d, a, b, x[i + 2], 15, 718787259)\n b = md5_ii(b, c, d, a, x[i + 9], 21, -343485551)\n\n a = safe_add(a, olda)\n b = safe_add(b, oldb)\n c = safe_add(c, oldc)\n d = safe_add(d, oldd)\n }\n return [a, b, c, d]\n }\n\n /*\n * Convert an array of little-endian words to a string\n */\n function binl2rstr (input) {\n var i\n var output = ''\n var length32 = input.length * 32\n for (i = 0; i < length32; i += 8) {\n output += String.fromCharCode((input[i >> 5] >>> (i % 32)) & 0xFF)\n }\n return output\n }\n\n /*\n * Convert a raw string to an array of little-endian words\n * Characters >255 have their high-byte silently ignored.\n */\n function rstr2binl (input) {\n var i\n var output = []\n output[(input.length >> 2) - 1] = undefined\n for (i = 0; i < output.length; i += 1) {\n output[i] = 0\n }\n var length8 = input.length * 8\n for (i = 0; i < length8; i += 8) {\n output[i >> 5] |= (input.charCodeAt(i / 8) & 0xFF) << (i % 32)\n }\n return output\n }\n\n /*\n * Calculate the MD5 of a raw string\n */\n function rstr_md5 (s) {\n return binl2rstr(binl_md5(rstr2binl(s), s.length * 8))\n }\n\n /*\n * Calculate the HMAC-MD5, of a key and some data (raw strings)\n */\n function rstr_hmac_md5 (key, data) {\n var i\n var bkey = rstr2binl(key)\n var ipad = []\n var opad = []\n var hash\n ipad[15] = opad[15] = undefined\n if (bkey.length > 16) {\n bkey = binl_md5(bkey, key.length * 8)\n }\n for (i = 0; i < 16; i += 1) {\n ipad[i] = bkey[i] ^ 0x36363636\n opad[i] = bkey[i] ^ 0x5C5C5C5C\n }\n hash = binl_md5(ipad.concat(rstr2binl(data)), 512 + data.length * 8)\n return binl2rstr(binl_md5(opad.concat(hash), 512 + 128))\n }\n\n /*\n * Convert a raw string to a hex string\n */\n function rstr2hex (input) {\n var hex_tab = '0123456789abcdef'\n var output = ''\n var x\n var i\n for (i = 0; i < input.length; i += 1) {\n x = input.charCodeAt(i)\n output += hex_tab.charAt((x >>> 4) & 0x0F) +\n hex_tab.charAt(x & 0x0F)\n }\n return output\n }\n\n /*\n * Encode a string as utf-8\n */\n function str2rstr_utf8 (input) {\n return unescape(encodeURIComponent(input))\n }\n\n /*\n * Take string arguments and return either raw or hex encoded strings\n */\n function raw_md5 (s) {\n return rstr_md5(str2rstr_utf8(s))\n }\n function hex_md5 (s) {\n return rstr2hex(raw_md5(s))\n }\n function raw_hmac_md5 (k, d) {\n return rstr_hmac_md5(str2rstr_utf8(k), str2rstr_utf8(d))\n }\n function hex_hmac_md5 (k, d) {\n return rstr2hex(raw_hmac_md5(k, d))\n }\n\n function md5 (string, key, raw) {\n if (!key) {\n if (!raw) {\n return hex_md5(string)\n }\n return raw_md5(string)\n }\n if (!raw) {\n return hex_hmac_md5(key, string)\n }\n return raw_hmac_md5(key, string)\n }\n\n if (typeof define === 'function' && define.amd) {\n define(function () {\n return md5\n })\n } else if (typeof module === 'object' && module.exports) {\n module.exports = md5\n } else {\n $.md5 = md5\n }\n}(this))\n\n\n\n// WEBPACK FOOTER //\n// ./~/blueimp-md5/js/md5.js","/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule invariant\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function (condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n\n\n// WEBPACK FOOTER //\n// ./~/fbjs/lib/invariant.js","/**\n * Module dependencies\n */\n\nvar debug = require('debug')('jsonp');\n\n/**\n * Module exports.\n */\n\nmodule.exports = jsonp;\n\n/**\n * Callback index.\n */\n\nvar count = 0;\n\n/**\n * Noop function.\n */\n\nfunction noop(){}\n\n/**\n * JSONP handler\n *\n * Options:\n * - param {String} qs parameter (`callback`)\n * - prefix {String} qs parameter (`__jp`)\n * - name {String} qs parameter (`prefix` + incr)\n * - timeout {Number} how long after a timeout error is emitted (`60000`)\n *\n * @param {String} url\n * @param {Object|Function} optional options / callback\n * @param {Function} optional callback\n */\n\nfunction jsonp(url, opts, fn){\n if ('function' == typeof opts) {\n fn = opts;\n opts = {};\n }\n if (!opts) opts = {};\n\n var prefix = opts.prefix || '__jp';\n\n // use the callback name that was passed if one was provided.\n // otherwise generate a unique name by incrementing our counter.\n var id = opts.name || (prefix + (count++));\n\n var param = opts.param || 'callback';\n var timeout = null != opts.timeout ? opts.timeout : 60000;\n var enc = encodeURIComponent;\n var target = document.getElementsByTagName('script')[0] || document.head;\n var script;\n var timer;\n\n\n if (timeout) {\n timer = setTimeout(function(){\n cleanup();\n if (fn) fn(new Error('Timeout'));\n }, timeout);\n }\n\n function cleanup(){\n if (script.parentNode) script.parentNode.removeChild(script);\n window[id] = noop;\n if (timer) clearTimeout(timer);\n }\n\n function cancel(){\n if (window[id]) {\n cleanup();\n }\n }\n\n window[id] = function(data){\n debug('jsonp got', data);\n cleanup();\n if (fn) fn(null, data);\n };\n\n // add qs component\n url += (~url.indexOf('?') ? '&' : '?') + param + '=' + enc(id);\n url = url.replace('?&', '?');\n\n debug('jsonp req \"%s\"', url);\n\n // create script\n script = document.createElement('script');\n script.src = url;\n target.parentNode.insertBefore(script, target);\n\n return cancel;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/jsonp/index.js","var format = require('util').format;\n\nvar PasswordPolicyError = require('./policy_error');\n\nfunction isString(value) {\n return typeof value === 'string' || value instanceof String;\n}\n\nvar defaultRuleset = {\n length: require('./rules/length'),\n contains: require('./rules/contains'),\n containsAtLeast: require('./rules/containsAtLeast'),\n identicalChars: require('./rules/identicalChars'),\n};\n\nfunction flatDescriptions (descriptions, index) {\n if (!descriptions.length) {\n return '';\n }\n\n function flatSingleDescription (description, index) {\n var spaces = (new Array(index+1)).join(' ');\n var result = spaces + '* ';\n if (description.format) {\n result += format.apply(null, [description.message].concat(description.format));\n } else {\n result += description.message;\n }\n\n if (description.items) {\n result += '\\n' + spaces + flatDescriptions(description.items, index + 1);\n }\n return result;\n }\n\n var firstDescription = flatSingleDescription(descriptions[0], index);\n\n descriptions = descriptions.slice(1).reduce(function (result, description) {\n result += '\\n' + flatSingleDescription(description, index);\n\n return result;\n }, firstDescription);\n\n return descriptions;\n}\n\n/**\n * Creates a PasswordPolicy which is a set of rules.\n *\n * @class PasswordPolicy\n * @constructor\n */\nfunction PasswordPolicy(rules, ruleset) {\n this.rules = rules;\n this.ruleset = ruleset || defaultRuleset;\n\n this._reduce(function (result, ruleOptions, rule) {\n rule.validate(ruleOptions);\n });\n}\n\nPasswordPolicy.prototype = {};\n\nPasswordPolicy.prototype._reduce = function (fn, value) {\n var self = this;\n return Object.keys(this.rules).reduce(function (result, ruleName) {\n var ruleOptions = self.rules[ruleName];\n var rule = self.ruleset[ruleName];\n\n return fn(result, ruleOptions, rule);\n\n }, value);\n};\n\nPasswordPolicy.prototype._applyRules = function (password) {\n return this._reduce(function (result, ruleOptions, rule) {\n // If previous result was false as this an &&, then nothing to do here!\n if (!result) {\n return false;\n }\n\n if (!rule) {\n return false;\n }\n\n return rule.assert(ruleOptions, password);\n }, true);\n};\n\nPasswordPolicy.prototype.missing = function (password) {\n return this._reduce(function (result, ruleOptions, rule) {\n var missingRule = rule.missing(ruleOptions, password);\n result.rules.push(missingRule);\n result.verified = result.verified && !!missingRule.verified;\n return result;\n }, {rules: [], verified: true});\n};\n\nPasswordPolicy.prototype.explain = function () {\n return this._reduce(function (result, ruleOptions, rule) {\n result.push(rule.explain(ruleOptions));\n return result;\n }, []);\n};\n\nPasswordPolicy.prototype.missingAsMarkdown = function (password) {\n return flatDescriptions(this.missing(password), 1);\n};\n\nPasswordPolicy.prototype.toString = function () {\n var descriptions = this.explain();\n return flatDescriptions(descriptions, 0);\n};\n\nPasswordPolicy.prototype.check = function (password) {\n if (!isString(password)) {\n return false;\n }\n\n return this._applyRules(password);\n};\n\nPasswordPolicy.prototype.assert = function (password) {\n if (!this.check(password)) {\n throw new PasswordPolicyError('Password does not meet password policy');\n }\n};\n\nmodule.exports = PasswordPolicy;\n\n\n\n// WEBPACK FOOTER //\n// ./~/password-sheriff/lib/policy.js","/**\n * Error thrown when asserting a policy against a password.\n *\n * @class PasswordPolicyError\n * @constructor\n *\n * @param {String} msg Descriptive message of the error\n */\nfunction PasswordPolicyError(msg) {\n var err = Error.call(this, msg);\n err.name = 'PasswordPolicyError';\n return err;\n}\n\nmodule.exports = PasswordPolicyError;\n\n\n\n// WEBPACK FOOTER //\n// ./~/password-sheriff/lib/policy_error.js","var _ = require('underscore');\n\nvar contains = require('./contains');\n\nfunction createIntroMessage() {\n return 'Contain at least %d of the following %d types of characters:';\n}\n\nmodule.exports = {\n // TODO validate atLeast to be a number > 0 and expressions to be a list of at least 1\n validate: function (options) {\n if (!_.isObject(options)) {\n throw new Error('options should be an object');\n }\n\n if (!_.isNumber(options.atLeast) || _.isNaN(options.atLeast) || options.atLeast < 1) {\n throw new Error('atLeast should be a valid, non-NaN number, greater than 0');\n }\n\n if (!_.isArray(options.expressions) || _.isEmpty(options.expressions)) {\n throw new Error('expressions should be an non-empty array');\n }\n\n if (options.expressions.length < options.atLeast) {\n throw new Error('expressions length should be greater than atLeast');\n }\n\n var ok = options.expressions.every(function (expression) {\n return _.isFunction(expression.explain) && _.isFunction(expression.test);\n });\n\n if (!ok) {\n throw new Error('containsAtLeast expressions are invalid: An explain and a test function should be provided');\n }\n\n return true;\n },\n explain: function (options) {\n return {\n message: createIntroMessage(),\n code: 'containsAtLeast',\n format: [options.atLeast, options.expressions.length],\n items: options.expressions.map(function (x) { return x.explain(); })\n };\n },\n missing: function (options, password) {\n var expressions = options.expressions && options.expressions.map(function (expression) {\n var explained = expression.explain();\n explained.verified = expression.test(password);\n return explained;\n });\n\n var verifiedCount = expressions.reduce(function (val, ex) { return val + !!ex.verified; }, 0);\n var verified = verifiedCount >= options.atLeast;\n\n return {\n message: createIntroMessage(),\n code: 'containsAtLeast',\n format: [options.atLeast, options.expressions.length],\n items: expressions,\n verified: verified\n };\n },\n assert: function (options, password) {\n if (!password) {\n return false;\n }\n\n var workingExpressions = options.expressions.filter(function (expression) {\n return expression.test(password);\n });\n\n return workingExpressions.length >= options.atLeast;\n },\n charsets: contains.charsets\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/password-sheriff/lib/rules/containsAtLeast.js","var _ = require('underscore');\n\nfunction assert(options, password) {\n if (!password) {\n return false;\n }\n\n var i, current = {c: null, count: 0};\n\n for (i = 0; i < password.length; i++) {\n if (current.c !== password[i]) {\n current.c = password[i];\n current.count = 1;\n } else {\n current.count++;\n }\n\n if (current.count > options.max) {\n return false;\n }\n }\n\n return true;\n}\nfunction explain (options, verified) {\n var example = (new Array(options.max+2)).join('a');\n var d = {\n message: 'No more than %d identical characters in a row (e.g., \"%s\" not allowed)',\n code: 'identicalChars',\n format: [options.max, example]\n };\n if (verified !== undefined) {\n d.verified = verified;\n }\n return d;\n }\n\nmodule.exports = {\n validate: function (options) {\n if (!_.isObject(options)) {\n throw new Error('options should be an object');\n }\n\n if (!_.isNumber(options.max) || _.isNaN(options.max) || options.max < 1 ) {\n throw new Error('max should be a number greater than 1');\n }\n\n return true;\n },\n explain: explain,\n missing: function (options, password) {\n return explain(options, assert(options, password));\n },\n assert: assert\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/password-sheriff/lib/rules/identicalChars.js","var _ = require('underscore');\n\n/* A rule should contain explain and rule methods */\n// TODO explain explain\n// TODO explain missing\n// TODO explain assert\n\nfunction assert (options, password) {\n return !!password && options.minLength <= password.length;\n}\n\nfunction explain(options) {\n if (options.minLength === 1) {\n return {\n message: 'Non-empty password required',\n code: 'nonEmpty'\n };\n }\n\n return {\n message: 'At least %d characters in length',\n format: [options.minLength],\n code: 'lengthAtLeast'\n };\n}\n\nmodule.exports = {\n validate: function (options) {\n if (!_.isObject(options)) {\n throw new Error('options should be an object');\n }\n\n if (!_.isNumber(options.minLength) || _.isNaN(options.minLength)) {\n throw new Error('length expects minLength to be a non-zero number');\n }\n\n return true;\n },\n explain: explain,\n missing: function (options, password) {\n var explained = explain(options);\n explained.verified = !!assert(options, password);\n return explained;\n },\n assert: assert\n};\n\n\n\n// WEBPACK FOOTER //\n// ./~/password-sheriff/lib/rules/length.js","module.exports = require('react/lib/ReactCSSTransitionGroup');\n\n\n// WEBPACK FOOTER //\n// ./~/react-addons-css-transition-group/index.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ARIADOMPropertyConfig = {\n Properties: {\n // Global States and Properties\n 'aria-current': 0, // state\n 'aria-details': 0,\n 'aria-disabled': 0, // state\n 'aria-hidden': 0, // state\n 'aria-invalid': 0, // state\n 'aria-keyshortcuts': 0,\n 'aria-label': 0,\n 'aria-roledescription': 0,\n // Widget Attributes\n 'aria-autocomplete': 0,\n 'aria-checked': 0,\n 'aria-expanded': 0,\n 'aria-haspopup': 0,\n 'aria-level': 0,\n 'aria-modal': 0,\n 'aria-multiline': 0,\n 'aria-multiselectable': 0,\n 'aria-orientation': 0,\n 'aria-placeholder': 0,\n 'aria-pressed': 0,\n 'aria-readonly': 0,\n 'aria-required': 0,\n 'aria-selected': 0,\n 'aria-sort': 0,\n 'aria-valuemax': 0,\n 'aria-valuemin': 0,\n 'aria-valuenow': 0,\n 'aria-valuetext': 0,\n // Live Region Attributes\n 'aria-atomic': 0,\n 'aria-busy': 0,\n 'aria-live': 0,\n 'aria-relevant': 0,\n // Drag-and-Drop Attributes\n 'aria-dropeffect': 0,\n 'aria-grabbed': 0,\n // Relationship Attributes\n 'aria-activedescendant': 0,\n 'aria-colcount': 0,\n 'aria-colindex': 0,\n 'aria-colspan': 0,\n 'aria-controls': 0,\n 'aria-describedby': 0,\n 'aria-errormessage': 0,\n 'aria-flowto': 0,\n 'aria-labelledby': 0,\n 'aria-owns': 0,\n 'aria-posinset': 0,\n 'aria-rowcount': 0,\n 'aria-rowindex': 0,\n 'aria-rowspan': 0,\n 'aria-setsize': 0\n },\n DOMAttributeNames: {},\n DOMPropertyNames: {}\n};\n\nmodule.exports = ARIADOMPropertyConfig;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ARIADOMPropertyConfig.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\n\nvar focusNode = require('fbjs/lib/focusNode');\n\nvar AutoFocusUtils = {\n focusDOMComponent: function () {\n focusNode(ReactDOMComponentTree.getNodeFromInstance(this));\n }\n};\n\nmodule.exports = AutoFocusUtils;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/AutoFocusUtils.js","/**\n * Copyright 2013-present Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPropagators = require('./EventPropagators');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar FallbackCompositionState = require('./FallbackCompositionState');\nvar SyntheticCompositionEvent = require('./SyntheticCompositionEvent');\nvar SyntheticInputEvent = require('./SyntheticInputEvent');\n\nvar END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space\nvar START_KEYCODE = 229;\n\nvar canUseCompositionEvent = ExecutionEnvironment.canUseDOM && 'CompositionEvent' in window;\n\nvar documentMode = null;\nif (ExecutionEnvironment.canUseDOM && 'documentMode' in document) {\n documentMode = document.documentMode;\n}\n\n// Webkit offers a very useful `textInput` event that can be used to\n// directly represent `beforeInput`. The IE `textinput` event is not as\n// useful, so we don't use it.\nvar canUseTextInputEvent = ExecutionEnvironment.canUseDOM && 'TextEvent' in window && !documentMode && !isPresto();\n\n// In IE9+, we have access to composition events, but the data supplied\n// by the native compositionend event may be incorrect. Japanese ideographic\n// spaces, for instance (\\u3000) are not recorded correctly.\nvar useFallbackCompositionData = ExecutionEnvironment.canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);\n\n/**\n * Opera <= 12 includes TextEvent in window, but does not fire\n * text input events. Rely on keypress instead.\n */\nfunction isPresto() {\n var opera = window.opera;\n return typeof opera === 'object' && typeof opera.version === 'function' && parseInt(opera.version(), 10) <= 12;\n}\n\nvar SPACEBAR_CODE = 32;\nvar SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE);\n\n// Events and their corresponding property names.\nvar eventTypes = {\n beforeInput: {\n phasedRegistrationNames: {\n bubbled: 'onBeforeInput',\n captured: 'onBeforeInputCapture'\n },\n dependencies: ['topCompositionEnd', 'topKeyPress', 'topTextInput', 'topPaste']\n },\n compositionEnd: {\n phasedRegistrationNames: {\n bubbled: 'onCompositionEnd',\n captured: 'onCompositionEndCapture'\n },\n dependencies: ['topBlur', 'topCompositionEnd', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n },\n compositionStart: {\n phasedRegistrationNames: {\n bubbled: 'onCompositionStart',\n captured: 'onCompositionStartCapture'\n },\n dependencies: ['topBlur', 'topCompositionStart', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n },\n compositionUpdate: {\n phasedRegistrationNames: {\n bubbled: 'onCompositionUpdate',\n captured: 'onCompositionUpdateCapture'\n },\n dependencies: ['topBlur', 'topCompositionUpdate', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n }\n};\n\n// Track whether we've ever handled a keypress on the space key.\nvar hasSpaceKeypress = false;\n\n/**\n * Return whether a native keypress event is assumed to be a command.\n * This is required because Firefox fires `keypress` events for key commands\n * (cut, copy, select-all, etc.) even though no character is inserted.\n */\nfunction isKeypressCommand(nativeEvent) {\n return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) &&\n // ctrlKey && altKey is equivalent to AltGr, and is not a command.\n !(nativeEvent.ctrlKey && nativeEvent.altKey);\n}\n\n/**\n * Translate native top level events into event types.\n *\n * @param {string} topLevelType\n * @return {object}\n */\nfunction getCompositionEventType(topLevelType) {\n switch (topLevelType) {\n case 'topCompositionStart':\n return eventTypes.compositionStart;\n case 'topCompositionEnd':\n return eventTypes.compositionEnd;\n case 'topCompositionUpdate':\n return eventTypes.compositionUpdate;\n }\n}\n\n/**\n * Does our fallback best-guess model think this event signifies that\n * composition has begun?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackCompositionStart(topLevelType, nativeEvent) {\n return topLevelType === 'topKeyDown' && nativeEvent.keyCode === START_KEYCODE;\n}\n\n/**\n * Does our fallback mode think that this event is the end of composition?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackCompositionEnd(topLevelType, nativeEvent) {\n switch (topLevelType) {\n case 'topKeyUp':\n // Command keys insert or clear IME input.\n return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;\n case 'topKeyDown':\n // Expect IME keyCode on each keydown. If we get any other\n // code we must have exited earlier.\n return nativeEvent.keyCode !== START_KEYCODE;\n case 'topKeyPress':\n case 'topMouseDown':\n case 'topBlur':\n // Events are not possible without cancelling IME.\n return true;\n default:\n return false;\n }\n}\n\n/**\n * Google Input Tools provides composition data via a CustomEvent,\n * with the `data` property populated in the `detail` object. If this\n * is available on the event object, use it. If not, this is a plain\n * composition event and we have nothing special to extract.\n *\n * @param {object} nativeEvent\n * @return {?string}\n */\nfunction getDataFromCustomEvent(nativeEvent) {\n var detail = nativeEvent.detail;\n if (typeof detail === 'object' && 'data' in detail) {\n return detail.data;\n }\n return null;\n}\n\n// Track the current IME composition fallback object, if any.\nvar currentComposition = null;\n\n/**\n * @return {?object} A SyntheticCompositionEvent.\n */\nfunction extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var eventType;\n var fallbackData;\n\n if (canUseCompositionEvent) {\n eventType = getCompositionEventType(topLevelType);\n } else if (!currentComposition) {\n if (isFallbackCompositionStart(topLevelType, nativeEvent)) {\n eventType = eventTypes.compositionStart;\n }\n } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n eventType = eventTypes.compositionEnd;\n }\n\n if (!eventType) {\n return null;\n }\n\n if (useFallbackCompositionData) {\n // The current composition is stored statically and must not be\n // overwritten while composition continues.\n if (!currentComposition && eventType === eventTypes.compositionStart) {\n currentComposition = FallbackCompositionState.getPooled(nativeEventTarget);\n } else if (eventType === eventTypes.compositionEnd) {\n if (currentComposition) {\n fallbackData = currentComposition.getData();\n }\n }\n }\n\n var event = SyntheticCompositionEvent.getPooled(eventType, targetInst, nativeEvent, nativeEventTarget);\n\n if (fallbackData) {\n // Inject data generated from fallback path into the synthetic event.\n // This matches the property of native CompositionEventInterface.\n event.data = fallbackData;\n } else {\n var customData = getDataFromCustomEvent(nativeEvent);\n if (customData !== null) {\n event.data = customData;\n }\n }\n\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n}\n\n/**\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {object} nativeEvent Native browser event.\n * @return {?string} The string corresponding to this `beforeInput` event.\n */\nfunction getNativeBeforeInputChars(topLevelType, nativeEvent) {\n switch (topLevelType) {\n case 'topCompositionEnd':\n return getDataFromCustomEvent(nativeEvent);\n case 'topKeyPress':\n /**\n * If native `textInput` events are available, our goal is to make\n * use of them. However, there is a special case: the spacebar key.\n * In Webkit, preventing default on a spacebar `textInput` event\n * cancels character insertion, but it *also* causes the browser\n * to fall back to its default spacebar behavior of scrolling the\n * page.\n *\n * Tracking at:\n * https://code.google.com/p/chromium/issues/detail?id=355103\n *\n * To avoid this issue, use the keypress event as if no `textInput`\n * event is available.\n */\n var which = nativeEvent.which;\n if (which !== SPACEBAR_CODE) {\n return null;\n }\n\n hasSpaceKeypress = true;\n return SPACEBAR_CHAR;\n\n case 'topTextInput':\n // Record the characters to be added to the DOM.\n var chars = nativeEvent.data;\n\n // If it's a spacebar character, assume that we have already handled\n // it at the keypress level and bail immediately. Android Chrome\n // doesn't give us keycodes, so we need to blacklist it.\n if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {\n return null;\n }\n\n return chars;\n\n default:\n // For other native event types, do nothing.\n return null;\n }\n}\n\n/**\n * For browsers that do not provide the `textInput` event, extract the\n * appropriate string to use for SyntheticInputEvent.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {object} nativeEvent Native browser event.\n * @return {?string} The fallback string for this `beforeInput` event.\n */\nfunction getFallbackBeforeInputChars(topLevelType, nativeEvent) {\n // If we are currently composing (IME) and using a fallback to do so,\n // try to extract the composed characters from the fallback object.\n // If composition event is available, we extract a string only at\n // compositionevent, otherwise extract it at fallback events.\n if (currentComposition) {\n if (topLevelType === 'topCompositionEnd' || !canUseCompositionEvent && isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n var chars = currentComposition.getData();\n FallbackCompositionState.release(currentComposition);\n currentComposition = null;\n return chars;\n }\n return null;\n }\n\n switch (topLevelType) {\n case 'topPaste':\n // If a paste event occurs after a keypress, throw out the input\n // chars. Paste events should not lead to BeforeInput events.\n return null;\n case 'topKeyPress':\n /**\n * As of v27, Firefox may fire keypress events even when no character\n * will be inserted. A few possibilities:\n *\n * - `which` is `0`. Arrow keys, Esc key, etc.\n *\n * - `which` is the pressed key code, but no char is available.\n * Ex: 'AltGr + d` in Polish. There is no modified character for\n * this key combination and no character is inserted into the\n * document, but FF fires the keypress for char code `100` anyway.\n * No `input` event will occur.\n *\n * - `which` is the pressed key code, but a command combination is\n * being used. Ex: `Cmd+C`. No character is inserted, and no\n * `input` event will occur.\n */\n if (nativeEvent.which && !isKeypressCommand(nativeEvent)) {\n return String.fromCharCode(nativeEvent.which);\n }\n return null;\n case 'topCompositionEnd':\n return useFallbackCompositionData ? null : nativeEvent.data;\n default:\n return null;\n }\n}\n\n/**\n * Extract a SyntheticInputEvent for `beforeInput`, based on either native\n * `textInput` or fallback behavior.\n *\n * @return {?object} A SyntheticInputEvent.\n */\nfunction extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var chars;\n\n if (canUseTextInputEvent) {\n chars = getNativeBeforeInputChars(topLevelType, nativeEvent);\n } else {\n chars = getFallbackBeforeInputChars(topLevelType, nativeEvent);\n }\n\n // If no characters are being inserted, no BeforeInput event should\n // be fired.\n if (!chars) {\n return null;\n }\n\n var event = SyntheticInputEvent.getPooled(eventTypes.beforeInput, targetInst, nativeEvent, nativeEventTarget);\n\n event.data = chars;\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n}\n\n/**\n * Create an `onBeforeInput` event to match\n * http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.\n *\n * This event plugin is based on the native `textInput` event\n * available in Chrome, Safari, Opera, and IE. This event fires after\n * `onKeyPress` and `onCompositionEnd`, but before `onInput`.\n *\n * `beforeInput` is spec'd but not implemented in any browsers, and\n * the `input` event does not provide any useful information about what has\n * actually been added, contrary to the spec. Thus, `textInput` is the best\n * available event to identify the characters that have actually been inserted\n * into the target node.\n *\n * This plugin is also responsible for emitting `composition` events, thus\n * allowing us to share composition fallback code for both `beforeInput` and\n * `composition` event types.\n */\nvar BeforeInputEventPlugin = {\n\n eventTypes: eventTypes,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n return [extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget), extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget)];\n }\n};\n\nmodule.exports = BeforeInputEventPlugin;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/BeforeInputEventPlugin.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar CSSProperty = require('./CSSProperty');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar camelizeStyleName = require('fbjs/lib/camelizeStyleName');\nvar dangerousStyleValue = require('./dangerousStyleValue');\nvar hyphenateStyleName = require('fbjs/lib/hyphenateStyleName');\nvar memoizeStringOnly = require('fbjs/lib/memoizeStringOnly');\nvar warning = require('fbjs/lib/warning');\n\nvar processStyleName = memoizeStringOnly(function (styleName) {\n return hyphenateStyleName(styleName);\n});\n\nvar hasShorthandPropertyBug = false;\nvar styleFloatAccessor = 'cssFloat';\nif (ExecutionEnvironment.canUseDOM) {\n var tempStyle = document.createElement('div').style;\n try {\n // IE8 throws \"Invalid argument.\" if resetting shorthand style properties.\n tempStyle.font = '';\n } catch (e) {\n hasShorthandPropertyBug = true;\n }\n // IE8 only supports accessing cssFloat (standard) as styleFloat\n if (document.documentElement.style.cssFloat === undefined) {\n styleFloatAccessor = 'styleFloat';\n }\n}\n\nif (process.env.NODE_ENV !== 'production') {\n // 'msTransform' is correct, but the other prefixes should be capitalized\n var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;\n\n // style values shouldn't contain a semicolon\n var badStyleValueWithSemicolonPattern = /;\\s*$/;\n\n var warnedStyleNames = {};\n var warnedStyleValues = {};\n var warnedForNaNValue = false;\n\n var warnHyphenatedStyleName = function (name, owner) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported style property %s. Did you mean %s?%s', name, camelizeStyleName(name), checkRenderMessage(owner)) : void 0;\n };\n\n var warnBadVendoredStyleName = function (name, owner) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?%s', name, name.charAt(0).toUpperCase() + name.slice(1), checkRenderMessage(owner)) : void 0;\n };\n\n var warnStyleValueWithSemicolon = function (name, value, owner) {\n if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {\n return;\n }\n\n warnedStyleValues[value] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Style property values shouldn\\'t contain a semicolon.%s ' + 'Try \"%s: %s\" instead.', checkRenderMessage(owner), name, value.replace(badStyleValueWithSemicolonPattern, '')) : void 0;\n };\n\n var warnStyleValueIsNaN = function (name, value, owner) {\n if (warnedForNaNValue) {\n return;\n }\n\n warnedForNaNValue = true;\n process.env.NODE_ENV !== 'production' ? warning(false, '`NaN` is an invalid value for the `%s` css style property.%s', name, checkRenderMessage(owner)) : void 0;\n };\n\n var checkRenderMessage = function (owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n };\n\n /**\n * @param {string} name\n * @param {*} value\n * @param {ReactDOMComponent} component\n */\n var warnValidStyle = function (name, value, component) {\n var owner;\n if (component) {\n owner = component._currentElement._owner;\n }\n if (name.indexOf('-') > -1) {\n warnHyphenatedStyleName(name, owner);\n } else if (badVendoredStyleNamePattern.test(name)) {\n warnBadVendoredStyleName(name, owner);\n } else if (badStyleValueWithSemicolonPattern.test(value)) {\n warnStyleValueWithSemicolon(name, value, owner);\n }\n\n if (typeof value === 'number' && isNaN(value)) {\n warnStyleValueIsNaN(name, value, owner);\n }\n };\n}\n\n/**\n * Operations for dealing with CSS properties.\n */\nvar CSSPropertyOperations = {\n\n /**\n * Serializes a mapping of style properties for use as inline styles:\n *\n * > createMarkupForStyles({width: '200px', height: 0})\n * \"width:200px;height:0;\"\n *\n * Undefined values are ignored so that declarative programming is easier.\n * The result should be HTML-escaped before insertion into the DOM.\n *\n * @param {object} styles\n * @param {ReactDOMComponent} component\n * @return {?string}\n */\n createMarkupForStyles: function (styles, component) {\n var serialized = '';\n for (var styleName in styles) {\n if (!styles.hasOwnProperty(styleName)) {\n continue;\n }\n var styleValue = styles[styleName];\n if (process.env.NODE_ENV !== 'production') {\n warnValidStyle(styleName, styleValue, component);\n }\n if (styleValue != null) {\n serialized += processStyleName(styleName) + ':';\n serialized += dangerousStyleValue(styleName, styleValue, component) + ';';\n }\n }\n return serialized || null;\n },\n\n /**\n * Sets the value for multiple styles on a node. If a value is specified as\n * '' (empty string), the corresponding style property will be unset.\n *\n * @param {DOMElement} node\n * @param {object} styles\n * @param {ReactDOMComponent} component\n */\n setValueForStyles: function (node, styles, component) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: component._debugID,\n type: 'update styles',\n payload: styles\n });\n }\n\n var style = node.style;\n for (var styleName in styles) {\n if (!styles.hasOwnProperty(styleName)) {\n continue;\n }\n if (process.env.NODE_ENV !== 'production') {\n warnValidStyle(styleName, styles[styleName], component);\n }\n var styleValue = dangerousStyleValue(styleName, styles[styleName], component);\n if (styleName === 'float' || styleName === 'cssFloat') {\n styleName = styleFloatAccessor;\n }\n if (styleValue) {\n style[styleName] = styleValue;\n } else {\n var expansion = hasShorthandPropertyBug && CSSProperty.shorthandPropertyExpansions[styleName];\n if (expansion) {\n // Shorthand property that IE8 won't like unsetting, so unset each\n // component to placate it\n for (var individualStyleName in expansion) {\n style[individualStyleName] = '';\n }\n } else {\n style[styleName] = '';\n }\n }\n }\n }\n\n};\n\nmodule.exports = CSSPropertyOperations;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/CSSPropertyOperations.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPluginHub = require('./EventPluginHub');\nvar EventPropagators = require('./EventPropagators');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactUpdates = require('./ReactUpdates');\nvar SyntheticEvent = require('./SyntheticEvent');\n\nvar getEventTarget = require('./getEventTarget');\nvar isEventSupported = require('./isEventSupported');\nvar isTextInputElement = require('./isTextInputElement');\n\nvar eventTypes = {\n change: {\n phasedRegistrationNames: {\n bubbled: 'onChange',\n captured: 'onChangeCapture'\n },\n dependencies: ['topBlur', 'topChange', 'topClick', 'topFocus', 'topInput', 'topKeyDown', 'topKeyUp', 'topSelectionChange']\n }\n};\n\n/**\n * For IE shims\n */\nvar activeElement = null;\nvar activeElementInst = null;\nvar activeElementValue = null;\nvar activeElementValueProp = null;\n\n/**\n * SECTION: handle `change` event\n */\nfunction shouldUseChangeEvent(elem) {\n var nodeName = elem.nodeName && elem.nodeName.toLowerCase();\n return nodeName === 'select' || nodeName === 'input' && elem.type === 'file';\n}\n\nvar doesChangeEventBubble = false;\nif (ExecutionEnvironment.canUseDOM) {\n // See `handleChange` comment below\n doesChangeEventBubble = isEventSupported('change') && (!document.documentMode || document.documentMode > 8);\n}\n\nfunction manualDispatchChangeEvent(nativeEvent) {\n var event = SyntheticEvent.getPooled(eventTypes.change, activeElementInst, nativeEvent, getEventTarget(nativeEvent));\n EventPropagators.accumulateTwoPhaseDispatches(event);\n\n // If change and propertychange bubbled, we'd just bind to it like all the\n // other events and have it go through ReactBrowserEventEmitter. Since it\n // doesn't, we manually listen for the events and so we have to enqueue and\n // process the abstract event manually.\n //\n // Batching is necessary here in order to ensure that all event handlers run\n // before the next rerender (including event handlers attached to ancestor\n // elements instead of directly on the input). Without this, controlled\n // components don't work properly in conjunction with event bubbling because\n // the component is rerendered and the value reverted before all the event\n // handlers can run. See https://github.com/facebook/react/issues/708.\n ReactUpdates.batchedUpdates(runEventInBatch, event);\n}\n\nfunction runEventInBatch(event) {\n EventPluginHub.enqueueEvents(event);\n EventPluginHub.processEventQueue(false);\n}\n\nfunction startWatchingForChangeEventIE8(target, targetInst) {\n activeElement = target;\n activeElementInst = targetInst;\n activeElement.attachEvent('onchange', manualDispatchChangeEvent);\n}\n\nfunction stopWatchingForChangeEventIE8() {\n if (!activeElement) {\n return;\n }\n activeElement.detachEvent('onchange', manualDispatchChangeEvent);\n activeElement = null;\n activeElementInst = null;\n}\n\nfunction getTargetInstForChangeEvent(topLevelType, targetInst) {\n if (topLevelType === 'topChange') {\n return targetInst;\n }\n}\nfunction handleEventsForChangeEventIE8(topLevelType, target, targetInst) {\n if (topLevelType === 'topFocus') {\n // stopWatching() should be a noop here but we call it just in case we\n // missed a blur event somehow.\n stopWatchingForChangeEventIE8();\n startWatchingForChangeEventIE8(target, targetInst);\n } else if (topLevelType === 'topBlur') {\n stopWatchingForChangeEventIE8();\n }\n}\n\n/**\n * SECTION: handle `input` event\n */\nvar isInputEventSupported = false;\nif (ExecutionEnvironment.canUseDOM) {\n // IE9 claims to support the input event but fails to trigger it when\n // deleting text, so we ignore its input events.\n // IE10+ fire input events to often, such when a placeholder\n // changes or when an input with a placeholder is focused.\n isInputEventSupported = isEventSupported('input') && (!document.documentMode || document.documentMode > 11);\n}\n\n/**\n * (For IE <=11) Replacement getter/setter for the `value` property that gets\n * set on the active element.\n */\nvar newValueProp = {\n get: function () {\n return activeElementValueProp.get.call(this);\n },\n set: function (val) {\n // Cast to a string so we can do equality checks.\n activeElementValue = '' + val;\n activeElementValueProp.set.call(this, val);\n }\n};\n\n/**\n * (For IE <=11) Starts tracking propertychange events on the passed-in element\n * and override the value property so that we can distinguish user events from\n * value changes in JS.\n */\nfunction startWatchingForValueChange(target, targetInst) {\n activeElement = target;\n activeElementInst = targetInst;\n activeElementValue = target.value;\n activeElementValueProp = Object.getOwnPropertyDescriptor(target.constructor.prototype, 'value');\n\n // Not guarded in a canDefineProperty check: IE8 supports defineProperty only\n // on DOM elements\n Object.defineProperty(activeElement, 'value', newValueProp);\n if (activeElement.attachEvent) {\n activeElement.attachEvent('onpropertychange', handlePropertyChange);\n } else {\n activeElement.addEventListener('propertychange', handlePropertyChange, false);\n }\n}\n\n/**\n * (For IE <=11) Removes the event listeners from the currently-tracked element,\n * if any exists.\n */\nfunction stopWatchingForValueChange() {\n if (!activeElement) {\n return;\n }\n\n // delete restores the original property definition\n delete activeElement.value;\n\n if (activeElement.detachEvent) {\n activeElement.detachEvent('onpropertychange', handlePropertyChange);\n } else {\n activeElement.removeEventListener('propertychange', handlePropertyChange, false);\n }\n\n activeElement = null;\n activeElementInst = null;\n activeElementValue = null;\n activeElementValueProp = null;\n}\n\n/**\n * (For IE <=11) Handles a propertychange event, sending a `change` event if\n * the value of the active element has changed.\n */\nfunction handlePropertyChange(nativeEvent) {\n if (nativeEvent.propertyName !== 'value') {\n return;\n }\n var value = nativeEvent.srcElement.value;\n if (value === activeElementValue) {\n return;\n }\n activeElementValue = value;\n\n manualDispatchChangeEvent(nativeEvent);\n}\n\n/**\n * If a `change` event should be fired, returns the target's ID.\n */\nfunction getTargetInstForInputEvent(topLevelType, targetInst) {\n if (topLevelType === 'topInput') {\n // In modern browsers (i.e., not IE8 or IE9), the input event is exactly\n // what we want so fall through here and trigger an abstract event\n return targetInst;\n }\n}\n\nfunction handleEventsForInputEventIE(topLevelType, target, targetInst) {\n if (topLevelType === 'topFocus') {\n // In IE8, we can capture almost all .value changes by adding a\n // propertychange handler and looking for events with propertyName\n // equal to 'value'\n // In IE9-11, propertychange fires for most input events but is buggy and\n // doesn't fire when text is deleted, but conveniently, selectionchange\n // appears to fire in all of the remaining cases so we catch those and\n // forward the event if the value has changed\n // In either case, we don't want to call the event handler if the value\n // is changed from JS so we redefine a setter for `.value` that updates\n // our activeElementValue variable, allowing us to ignore those changes\n //\n // stopWatching() should be a noop here but we call it just in case we\n // missed a blur event somehow.\n stopWatchingForValueChange();\n startWatchingForValueChange(target, targetInst);\n } else if (topLevelType === 'topBlur') {\n stopWatchingForValueChange();\n }\n}\n\n// For IE8 and IE9.\nfunction getTargetInstForInputEventIE(topLevelType, targetInst) {\n if (topLevelType === 'topSelectionChange' || topLevelType === 'topKeyUp' || topLevelType === 'topKeyDown') {\n // On the selectionchange event, the target is just document which isn't\n // helpful for us so just check activeElement instead.\n //\n // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire\n // propertychange on the first input event after setting `value` from a\n // script and fires only keydown, keypress, keyup. Catching keyup usually\n // gets it and catching keydown lets us fire an event for the first\n // keystroke if user does a key repeat (it'll be a little delayed: right\n // before the second keystroke). Other input methods (e.g., paste) seem to\n // fire selectionchange normally.\n if (activeElement && activeElement.value !== activeElementValue) {\n activeElementValue = activeElement.value;\n return activeElementInst;\n }\n }\n}\n\n/**\n * SECTION: handle `click` event\n */\nfunction shouldUseClickEvent(elem) {\n // Use the `click` event to detect changes to checkbox and radio inputs.\n // This approach works across all browsers, whereas `change` does not fire\n // until `blur` in IE8.\n return elem.nodeName && elem.nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio');\n}\n\nfunction getTargetInstForClickEvent(topLevelType, targetInst) {\n if (topLevelType === 'topClick') {\n return targetInst;\n }\n}\n\n/**\n * This plugin creates an `onChange` event that normalizes change events\n * across form elements. This event fires at a time when it's possible to\n * change the element's value without seeing a flicker.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - select\n */\nvar ChangeEventPlugin = {\n\n eventTypes: eventTypes,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window;\n\n var getTargetInstFunc, handleEventFunc;\n if (shouldUseChangeEvent(targetNode)) {\n if (doesChangeEventBubble) {\n getTargetInstFunc = getTargetInstForChangeEvent;\n } else {\n handleEventFunc = handleEventsForChangeEventIE8;\n }\n } else if (isTextInputElement(targetNode)) {\n if (isInputEventSupported) {\n getTargetInstFunc = getTargetInstForInputEvent;\n } else {\n getTargetInstFunc = getTargetInstForInputEventIE;\n handleEventFunc = handleEventsForInputEventIE;\n }\n } else if (shouldUseClickEvent(targetNode)) {\n getTargetInstFunc = getTargetInstForClickEvent;\n }\n\n if (getTargetInstFunc) {\n var inst = getTargetInstFunc(topLevelType, targetInst);\n if (inst) {\n var event = SyntheticEvent.getPooled(eventTypes.change, inst, nativeEvent, nativeEventTarget);\n event.type = 'change';\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n }\n }\n\n if (handleEventFunc) {\n handleEventFunc(topLevelType, targetNode, targetInst);\n }\n }\n\n};\n\nmodule.exports = ChangeEventPlugin;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ChangeEventPlugin.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar createNodesFromMarkup = require('fbjs/lib/createNodesFromMarkup');\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar invariant = require('fbjs/lib/invariant');\n\nvar Danger = {\n\n /**\n * Replaces a node with a string of markup at its current position within its\n * parent. The markup must render into a single root node.\n *\n * @param {DOMElement} oldChild Child node to replace.\n * @param {string} markup Markup to render in place of the child node.\n * @internal\n */\n dangerouslyReplaceNodeWithMarkup: function (oldChild, markup) {\n !ExecutionEnvironment.canUseDOM ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering.') : _prodInvariant('56') : void 0;\n !markup ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : _prodInvariant('57') : void 0;\n !(oldChild.nodeName !== 'HTML') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the <html> node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString().') : _prodInvariant('58') : void 0;\n\n if (typeof markup === 'string') {\n var newChild = createNodesFromMarkup(markup, emptyFunction)[0];\n oldChild.parentNode.replaceChild(newChild, oldChild);\n } else {\n DOMLazyTree.replaceChildWithTree(oldChild, markup);\n }\n }\n\n};\n\nmodule.exports = Danger;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/Danger.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Module that is injectable into `EventPluginHub`, that specifies a\n * deterministic ordering of `EventPlugin`s. A convenient way to reason about\n * plugins, without having to package every one of them. This is better than\n * having plugins be ordered in the same order that they are injected because\n * that ordering would be influenced by the packaging order.\n * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that\n * preventing default on events is convenient in `SimpleEventPlugin` handlers.\n */\n\nvar DefaultEventPluginOrder = ['ResponderEventPlugin', 'SimpleEventPlugin', 'TapEventPlugin', 'EnterLeaveEventPlugin', 'ChangeEventPlugin', 'SelectEventPlugin', 'BeforeInputEventPlugin'];\n\nmodule.exports = DefaultEventPluginOrder;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/DefaultEventPluginOrder.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPropagators = require('./EventPropagators');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar SyntheticMouseEvent = require('./SyntheticMouseEvent');\n\nvar eventTypes = {\n mouseEnter: {\n registrationName: 'onMouseEnter',\n dependencies: ['topMouseOut', 'topMouseOver']\n },\n mouseLeave: {\n registrationName: 'onMouseLeave',\n dependencies: ['topMouseOut', 'topMouseOver']\n }\n};\n\nvar EnterLeaveEventPlugin = {\n\n eventTypes: eventTypes,\n\n /**\n * For almost every interaction we care about, there will be both a top-level\n * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that\n * we do not extract duplicate events. However, moving the mouse into the\n * browser from outside will not fire a `mouseout` event. In this case, we use\n * the `mouseover` top-level event.\n */\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n if (topLevelType === 'topMouseOver' && (nativeEvent.relatedTarget || nativeEvent.fromElement)) {\n return null;\n }\n if (topLevelType !== 'topMouseOut' && topLevelType !== 'topMouseOver') {\n // Must not be a mouse in or mouse out - ignoring.\n return null;\n }\n\n var win;\n if (nativeEventTarget.window === nativeEventTarget) {\n // `nativeEventTarget` is probably a window object.\n win = nativeEventTarget;\n } else {\n // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n var doc = nativeEventTarget.ownerDocument;\n if (doc) {\n win = doc.defaultView || doc.parentWindow;\n } else {\n win = window;\n }\n }\n\n var from;\n var to;\n if (topLevelType === 'topMouseOut') {\n from = targetInst;\n var related = nativeEvent.relatedTarget || nativeEvent.toElement;\n to = related ? ReactDOMComponentTree.getClosestInstanceFromNode(related) : null;\n } else {\n // Moving to a node from outside the window.\n from = null;\n to = targetInst;\n }\n\n if (from === to) {\n // Nothing pertains to our managed components.\n return null;\n }\n\n var fromNode = from == null ? win : ReactDOMComponentTree.getNodeFromInstance(from);\n var toNode = to == null ? win : ReactDOMComponentTree.getNodeFromInstance(to);\n\n var leave = SyntheticMouseEvent.getPooled(eventTypes.mouseLeave, from, nativeEvent, nativeEventTarget);\n leave.type = 'mouseleave';\n leave.target = fromNode;\n leave.relatedTarget = toNode;\n\n var enter = SyntheticMouseEvent.getPooled(eventTypes.mouseEnter, to, nativeEvent, nativeEventTarget);\n enter.type = 'mouseenter';\n enter.target = toNode;\n enter.relatedTarget = fromNode;\n\n EventPropagators.accumulateEnterLeaveDispatches(leave, enter, from, to);\n\n return [leave, enter];\n }\n\n};\n\nmodule.exports = EnterLeaveEventPlugin;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/EnterLeaveEventPlugin.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar PooledClass = require('./PooledClass');\n\nvar getTextContentAccessor = require('./getTextContentAccessor');\n\n/**\n * This helper class stores information about text content of a target node,\n * allowing comparison of content before and after a given event.\n *\n * Identify the node where selection currently begins, then observe\n * both its text content and its current position in the DOM. Since the\n * browser may natively replace the target node during composition, we can\n * use its position to find its replacement.\n *\n * @param {DOMEventTarget} root\n */\nfunction FallbackCompositionState(root) {\n this._root = root;\n this._startText = this.getText();\n this._fallbackText = null;\n}\n\n_assign(FallbackCompositionState.prototype, {\n destructor: function () {\n this._root = null;\n this._startText = null;\n this._fallbackText = null;\n },\n\n /**\n * Get current text of input.\n *\n * @return {string}\n */\n getText: function () {\n if ('value' in this._root) {\n return this._root.value;\n }\n return this._root[getTextContentAccessor()];\n },\n\n /**\n * Determine the differing substring between the initially stored\n * text content and the current content.\n *\n * @return {string}\n */\n getData: function () {\n if (this._fallbackText) {\n return this._fallbackText;\n }\n\n var start;\n var startValue = this._startText;\n var startLength = startValue.length;\n var end;\n var endValue = this.getText();\n var endLength = endValue.length;\n\n for (start = 0; start < startLength; start++) {\n if (startValue[start] !== endValue[start]) {\n break;\n }\n }\n\n var minEnd = startLength - start;\n for (end = 1; end <= minEnd; end++) {\n if (startValue[startLength - end] !== endValue[endLength - end]) {\n break;\n }\n }\n\n var sliceTail = end > 1 ? 1 - end : undefined;\n this._fallbackText = endValue.slice(start, sliceTail);\n return this._fallbackText;\n }\n});\n\nPooledClass.addPoolingTo(FallbackCompositionState);\n\nmodule.exports = FallbackCompositionState;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/FallbackCompositionState.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMProperty = require('./DOMProperty');\n\nvar MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY;\nvar HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE;\nvar HAS_NUMERIC_VALUE = DOMProperty.injection.HAS_NUMERIC_VALUE;\nvar HAS_POSITIVE_NUMERIC_VALUE = DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE;\nvar HAS_OVERLOADED_BOOLEAN_VALUE = DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE;\n\nvar HTMLDOMPropertyConfig = {\n isCustomAttribute: RegExp.prototype.test.bind(new RegExp('^(data|aria)-[' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$')),\n Properties: {\n /**\n * Standard Properties\n */\n accept: 0,\n acceptCharset: 0,\n accessKey: 0,\n action: 0,\n allowFullScreen: HAS_BOOLEAN_VALUE,\n allowTransparency: 0,\n alt: 0,\n // specifies target context for links with `preload` type\n as: 0,\n async: HAS_BOOLEAN_VALUE,\n autoComplete: 0,\n // autoFocus is polyfilled/normalized by AutoFocusUtils\n // autoFocus: HAS_BOOLEAN_VALUE,\n autoPlay: HAS_BOOLEAN_VALUE,\n capture: HAS_BOOLEAN_VALUE,\n cellPadding: 0,\n cellSpacing: 0,\n charSet: 0,\n challenge: 0,\n checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n cite: 0,\n classID: 0,\n className: 0,\n cols: HAS_POSITIVE_NUMERIC_VALUE,\n colSpan: 0,\n content: 0,\n contentEditable: 0,\n contextMenu: 0,\n controls: HAS_BOOLEAN_VALUE,\n coords: 0,\n crossOrigin: 0,\n data: 0, // For `<object />` acts as `src`.\n dateTime: 0,\n 'default': HAS_BOOLEAN_VALUE,\n defer: HAS_BOOLEAN_VALUE,\n dir: 0,\n disabled: HAS_BOOLEAN_VALUE,\n download: HAS_OVERLOADED_BOOLEAN_VALUE,\n draggable: 0,\n encType: 0,\n form: 0,\n formAction: 0,\n formEncType: 0,\n formMethod: 0,\n formNoValidate: HAS_BOOLEAN_VALUE,\n formTarget: 0,\n frameBorder: 0,\n headers: 0,\n height: 0,\n hidden: HAS_BOOLEAN_VALUE,\n high: 0,\n href: 0,\n hrefLang: 0,\n htmlFor: 0,\n httpEquiv: 0,\n icon: 0,\n id: 0,\n inputMode: 0,\n integrity: 0,\n is: 0,\n keyParams: 0,\n keyType: 0,\n kind: 0,\n label: 0,\n lang: 0,\n list: 0,\n loop: HAS_BOOLEAN_VALUE,\n low: 0,\n manifest: 0,\n marginHeight: 0,\n marginWidth: 0,\n max: 0,\n maxLength: 0,\n media: 0,\n mediaGroup: 0,\n method: 0,\n min: 0,\n minLength: 0,\n // Caution; `option.selected` is not updated if `select.multiple` is\n // disabled with `removeAttribute`.\n multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n name: 0,\n nonce: 0,\n noValidate: HAS_BOOLEAN_VALUE,\n open: HAS_BOOLEAN_VALUE,\n optimum: 0,\n pattern: 0,\n placeholder: 0,\n playsInline: HAS_BOOLEAN_VALUE,\n poster: 0,\n preload: 0,\n profile: 0,\n radioGroup: 0,\n readOnly: HAS_BOOLEAN_VALUE,\n referrerPolicy: 0,\n rel: 0,\n required: HAS_BOOLEAN_VALUE,\n reversed: HAS_BOOLEAN_VALUE,\n role: 0,\n rows: HAS_POSITIVE_NUMERIC_VALUE,\n rowSpan: HAS_NUMERIC_VALUE,\n sandbox: 0,\n scope: 0,\n scoped: HAS_BOOLEAN_VALUE,\n scrolling: 0,\n seamless: HAS_BOOLEAN_VALUE,\n selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n shape: 0,\n size: HAS_POSITIVE_NUMERIC_VALUE,\n sizes: 0,\n span: HAS_POSITIVE_NUMERIC_VALUE,\n spellCheck: 0,\n src: 0,\n srcDoc: 0,\n srcLang: 0,\n srcSet: 0,\n start: HAS_NUMERIC_VALUE,\n step: 0,\n style: 0,\n summary: 0,\n tabIndex: 0,\n target: 0,\n title: 0,\n // Setting .type throws on non-<input> tags\n type: 0,\n useMap: 0,\n value: 0,\n width: 0,\n wmode: 0,\n wrap: 0,\n\n /**\n * RDFa Properties\n */\n about: 0,\n datatype: 0,\n inlist: 0,\n prefix: 0,\n // property is also supported for OpenGraph in meta tags.\n property: 0,\n resource: 0,\n 'typeof': 0,\n vocab: 0,\n\n /**\n * Non-standard Properties\n */\n // autoCapitalize and autoCorrect are supported in Mobile Safari for\n // keyboard hints.\n autoCapitalize: 0,\n autoCorrect: 0,\n // autoSave allows WebKit/Blink to persist values of input fields on page reloads\n autoSave: 0,\n // color is for Safari mask-icon link\n color: 0,\n // itemProp, itemScope, itemType are for\n // Microdata support. See http://schema.org/docs/gs.html\n itemProp: 0,\n itemScope: HAS_BOOLEAN_VALUE,\n itemType: 0,\n // itemID and itemRef are for Microdata support as well but\n // only specified in the WHATWG spec document. See\n // https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api\n itemID: 0,\n itemRef: 0,\n // results show looking glass icon and recent searches on input\n // search fields in WebKit/Blink\n results: 0,\n // IE-only attribute that specifies security restrictions on an iframe\n // as an alternative to the sandbox attribute on IE<10\n security: 0,\n // IE-only attribute that controls focus behavior\n unselectable: 0\n },\n DOMAttributeNames: {\n acceptCharset: 'accept-charset',\n className: 'class',\n htmlFor: 'for',\n httpEquiv: 'http-equiv'\n },\n DOMPropertyNames: {}\n};\n\nmodule.exports = HTMLDOMPropertyConfig;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/HTMLDOMPropertyConfig.js","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactReconciler = require('./ReactReconciler');\n\nvar instantiateReactComponent = require('./instantiateReactComponent');\nvar KeyEscapeUtils = require('./KeyEscapeUtils');\nvar shouldUpdateReactComponent = require('./shouldUpdateReactComponent');\nvar traverseAllChildren = require('./traverseAllChildren');\nvar warning = require('fbjs/lib/warning');\n\nvar ReactComponentTreeHook;\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'test') {\n // Temporary hack.\n // Inline requires don't work well with Jest:\n // https://github.com/facebook/react/issues/7240\n // Remove the inline requires when we don't need them anymore:\n // https://github.com/facebook/react/pull/7178\n ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook');\n}\n\nfunction instantiateChild(childInstances, child, name, selfDebugID) {\n // We found a component instance.\n var keyUnique = childInstances[name] === undefined;\n if (process.env.NODE_ENV !== 'production') {\n if (!ReactComponentTreeHook) {\n ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook');\n }\n if (!keyUnique) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0;\n }\n }\n if (child != null && keyUnique) {\n childInstances[name] = instantiateReactComponent(child, true);\n }\n}\n\n/**\n * ReactChildReconciler provides helpers for initializing or updating a set of\n * children. Its output is suitable for passing it onto ReactMultiChild which\n * does diffed reordering and insertion.\n */\nvar ReactChildReconciler = {\n /**\n * Generates a \"mount image\" for each of the supplied children. In the case\n * of `ReactDOMComponent`, a mount image is a string of markup.\n *\n * @param {?object} nestedChildNodes Nested child maps.\n * @return {?object} A set of child instances.\n * @internal\n */\n instantiateChildren: function (nestedChildNodes, transaction, context, selfDebugID // 0 in production and for roots\n ) {\n if (nestedChildNodes == null) {\n return null;\n }\n var childInstances = {};\n\n if (process.env.NODE_ENV !== 'production') {\n traverseAllChildren(nestedChildNodes, function (childInsts, child, name) {\n return instantiateChild(childInsts, child, name, selfDebugID);\n }, childInstances);\n } else {\n traverseAllChildren(nestedChildNodes, instantiateChild, childInstances);\n }\n return childInstances;\n },\n\n /**\n * Updates the rendered children and returns a new set of children.\n *\n * @param {?object} prevChildren Previously initialized set of children.\n * @param {?object} nextChildren Flat child element maps.\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n * @return {?object} A new set of child instances.\n * @internal\n */\n updateChildren: function (prevChildren, nextChildren, mountImages, removedNodes, transaction, hostParent, hostContainerInfo, context, selfDebugID // 0 in production and for roots\n ) {\n // We currently don't have a way to track moves here but if we use iterators\n // instead of for..in we can zip the iterators and check if an item has\n // moved.\n // TODO: If nothing has changed, return the prevChildren object so that we\n // can quickly bailout if nothing has changed.\n if (!nextChildren && !prevChildren) {\n return;\n }\n var name;\n var prevChild;\n for (name in nextChildren) {\n if (!nextChildren.hasOwnProperty(name)) {\n continue;\n }\n prevChild = prevChildren && prevChildren[name];\n var prevElement = prevChild && prevChild._currentElement;\n var nextElement = nextChildren[name];\n if (prevChild != null && shouldUpdateReactComponent(prevElement, nextElement)) {\n ReactReconciler.receiveComponent(prevChild, nextElement, transaction, context);\n nextChildren[name] = prevChild;\n } else {\n if (prevChild) {\n removedNodes[name] = ReactReconciler.getHostNode(prevChild);\n ReactReconciler.unmountComponent(prevChild, false);\n }\n // The child must be instantiated before it's mounted.\n var nextChildInstance = instantiateReactComponent(nextElement, true);\n nextChildren[name] = nextChildInstance;\n // Creating mount image now ensures refs are resolved in right order\n // (see https://github.com/facebook/react/pull/7101 for explanation).\n var nextChildMountImage = ReactReconciler.mountComponent(nextChildInstance, transaction, hostParent, hostContainerInfo, context, selfDebugID);\n mountImages.push(nextChildMountImage);\n }\n }\n // Unmount children that are no longer present.\n for (name in prevChildren) {\n if (prevChildren.hasOwnProperty(name) && !(nextChildren && nextChildren.hasOwnProperty(name))) {\n prevChild = prevChildren[name];\n removedNodes[name] = ReactReconciler.getHostNode(prevChild);\n ReactReconciler.unmountComponent(prevChild, false);\n }\n }\n },\n\n /**\n * Unmounts all rendered children. This should be used to clean up children\n * when this component is unmounted.\n *\n * @param {?object} renderedChildren Previously initialized set of children.\n * @internal\n */\n unmountChildren: function (renderedChildren, safely) {\n for (var name in renderedChildren) {\n if (renderedChildren.hasOwnProperty(name)) {\n var renderedChild = renderedChildren[name];\n ReactReconciler.unmountComponent(renderedChild, safely);\n }\n }\n }\n\n};\n\nmodule.exports = ReactChildReconciler;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactChildReconciler.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMChildrenOperations = require('./DOMChildrenOperations');\nvar ReactDOMIDOperations = require('./ReactDOMIDOperations');\n\n/**\n * Abstracts away all functionality of the reconciler that requires knowledge of\n * the browser context. TODO: These callers should be refactored to avoid the\n * need for this injection.\n */\nvar ReactComponentBrowserEnvironment = {\n\n processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,\n\n replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup\n\n};\n\nmodule.exports = ReactComponentBrowserEnvironment;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactComponentBrowserEnvironment.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar React = require('react/lib/React');\nvar ReactComponentEnvironment = require('./ReactComponentEnvironment');\nvar ReactCurrentOwner = require('react/lib/ReactCurrentOwner');\nvar ReactErrorUtils = require('./ReactErrorUtils');\nvar ReactInstanceMap = require('./ReactInstanceMap');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar ReactNodeTypes = require('./ReactNodeTypes');\nvar ReactReconciler = require('./ReactReconciler');\n\nif (process.env.NODE_ENV !== 'production') {\n var checkReactTypeSpec = require('./checkReactTypeSpec');\n}\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar invariant = require('fbjs/lib/invariant');\nvar shallowEqual = require('fbjs/lib/shallowEqual');\nvar shouldUpdateReactComponent = require('./shouldUpdateReactComponent');\nvar warning = require('fbjs/lib/warning');\n\nvar CompositeTypes = {\n ImpureClass: 0,\n PureClass: 1,\n StatelessFunctional: 2\n};\n\nfunction StatelessComponent(Component) {}\nStatelessComponent.prototype.render = function () {\n var Component = ReactInstanceMap.get(this)._currentElement.type;\n var element = Component(this.props, this.context, this.updater);\n warnIfInvalidElement(Component, element);\n return element;\n};\n\nfunction warnIfInvalidElement(Component, element) {\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(element === null || element === false || React.isValidElement(element), '%s(...): A valid React element (or null) must be returned. You may have ' + 'returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!Component.childContextTypes, '%s(...): childContextTypes cannot be defined on a functional component.', Component.displayName || Component.name || 'Component') : void 0;\n }\n}\n\nfunction shouldConstruct(Component) {\n return !!(Component.prototype && Component.prototype.isReactComponent);\n}\n\nfunction isPureComponent(Component) {\n return !!(Component.prototype && Component.prototype.isPureReactComponent);\n}\n\n// Separated into a function to contain deoptimizations caused by try/finally.\nfunction measureLifeCyclePerf(fn, debugID, timerType) {\n if (debugID === 0) {\n // Top-level wrappers (see ReactMount) and empty components (see\n // ReactDOMEmptyComponent) are invisible to hooks and devtools.\n // Both are implementation details that should go away in the future.\n return fn();\n }\n\n ReactInstrumentation.debugTool.onBeginLifeCycleTimer(debugID, timerType);\n try {\n return fn();\n } finally {\n ReactInstrumentation.debugTool.onEndLifeCycleTimer(debugID, timerType);\n }\n}\n\n/**\n * ------------------ The Life-Cycle of a Composite Component ------------------\n *\n * - constructor: Initialization of state. The instance is now retained.\n * - componentWillMount\n * - render\n * - [children's constructors]\n * - [children's componentWillMount and render]\n * - [children's componentDidMount]\n * - componentDidMount\n *\n * Update Phases:\n * - componentWillReceiveProps (only called if parent updated)\n * - shouldComponentUpdate\n * - componentWillUpdate\n * - render\n * - [children's constructors or receive props phases]\n * - componentDidUpdate\n *\n * - componentWillUnmount\n * - [children's componentWillUnmount]\n * - [children destroyed]\n * - (destroyed): The instance is now blank, released by React and ready for GC.\n *\n * -----------------------------------------------------------------------------\n */\n\n/**\n * An incrementing ID assigned to each component when it is mounted. This is\n * used to enforce the order in which `ReactUpdates` updates dirty components.\n *\n * @private\n */\nvar nextMountID = 1;\n\n/**\n * @lends {ReactCompositeComponent.prototype}\n */\nvar ReactCompositeComponent = {\n\n /**\n * Base constructor for all composite component.\n *\n * @param {ReactElement} element\n * @final\n * @internal\n */\n construct: function (element) {\n this._currentElement = element;\n this._rootNodeID = 0;\n this._compositeType = null;\n this._instance = null;\n this._hostParent = null;\n this._hostContainerInfo = null;\n\n // See ReactUpdateQueue\n this._updateBatchNumber = null;\n this._pendingElement = null;\n this._pendingStateQueue = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate = false;\n\n this._renderedNodeType = null;\n this._renderedComponent = null;\n this._context = null;\n this._mountOrder = 0;\n this._topLevelWrapper = null;\n\n // See ReactUpdates and ReactUpdateQueue.\n this._pendingCallbacks = null;\n\n // ComponentWillUnmount shall only be called once\n this._calledComponentWillUnmount = false;\n\n if (process.env.NODE_ENV !== 'production') {\n this._warnedAboutRefsInRender = false;\n }\n },\n\n /**\n * Initializes the component, renders markup, and registers event listeners.\n *\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {?object} hostParent\n * @param {?object} hostContainerInfo\n * @param {?object} context\n * @return {?string} Rendered markup to be inserted into the DOM.\n * @final\n * @internal\n */\n mountComponent: function (transaction, hostParent, hostContainerInfo, context) {\n var _this = this;\n\n this._context = context;\n this._mountOrder = nextMountID++;\n this._hostParent = hostParent;\n this._hostContainerInfo = hostContainerInfo;\n\n var publicProps = this._currentElement.props;\n var publicContext = this._processContext(context);\n\n var Component = this._currentElement.type;\n\n var updateQueue = transaction.getUpdateQueue();\n\n // Initialize the public class\n var doConstruct = shouldConstruct(Component);\n var inst = this._constructComponent(doConstruct, publicProps, publicContext, updateQueue);\n var renderedElement;\n\n // Support functional components\n if (!doConstruct && (inst == null || inst.render == null)) {\n renderedElement = inst;\n warnIfInvalidElement(Component, renderedElement);\n !(inst === null || inst === false || React.isValidElement(inst)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : _prodInvariant('105', Component.displayName || Component.name || 'Component') : void 0;\n inst = new StatelessComponent(Component);\n this._compositeType = CompositeTypes.StatelessFunctional;\n } else {\n if (isPureComponent(Component)) {\n this._compositeType = CompositeTypes.PureClass;\n } else {\n this._compositeType = CompositeTypes.ImpureClass;\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This will throw later in _renderValidatedComponent, but add an early\n // warning now to help debugging\n if (inst.render == null) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`.', Component.displayName || Component.name || 'Component') : void 0;\n }\n\n var propsMutated = inst.props !== publicProps;\n var componentName = Component.displayName || Component.name || 'Component';\n\n process.env.NODE_ENV !== 'production' ? warning(inst.props === undefined || !propsMutated, '%s(...): When calling super() in `%s`, make sure to pass ' + 'up the same props that your component\\'s constructor was passed.', componentName, componentName) : void 0;\n }\n\n // These should be set up in the constructor, but as a convenience for\n // simpler class abstractions, we set them up after the fact.\n inst.props = publicProps;\n inst.context = publicContext;\n inst.refs = emptyObject;\n inst.updater = updateQueue;\n\n this._instance = inst;\n\n // Store a reference from the instance back to the internal representation\n ReactInstanceMap.set(inst, this);\n\n if (process.env.NODE_ENV !== 'production') {\n // Since plain JS classes are defined without any special initialization\n // logic, we can not catch common errors early. Therefore, we have to\n // catch them here, at initialization time, instead.\n process.env.NODE_ENV !== 'production' ? warning(!inst.getInitialState || inst.getInitialState.isReactClassApproved, 'getInitialState was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Did you mean to define a state property instead?', this.getName() || 'a component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!inst.getDefaultProps || inst.getDefaultProps.isReactClassApproved, 'getDefaultProps was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Use a static property to define defaultProps instead.', this.getName() || 'a component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!inst.propTypes, 'propTypes was defined as an instance property on %s. Use a static ' + 'property to define propTypes instead.', this.getName() || 'a component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!inst.contextTypes, 'contextTypes was defined as an instance property on %s. Use a ' + 'static property to define contextTypes instead.', this.getName() || 'a component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentShouldUpdate !== 'function', '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', this.getName() || 'A component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentDidUnmount !== 'function', '%s has a method called ' + 'componentDidUnmount(). But there is no such lifecycle method. ' + 'Did you mean componentWillUnmount()?', this.getName() || 'A component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentWillRecieveProps !== 'function', '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', this.getName() || 'A component') : void 0;\n }\n\n var initialState = inst.state;\n if (initialState === undefined) {\n inst.state = initialState = null;\n }\n !(typeof initialState === 'object' && !Array.isArray(initialState)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.state: must be set to an object or null', this.getName() || 'ReactCompositeComponent') : _prodInvariant('106', this.getName() || 'ReactCompositeComponent') : void 0;\n\n this._pendingStateQueue = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate = false;\n\n var markup;\n if (inst.unstable_handleError) {\n markup = this.performInitialMountWithErrorHandling(renderedElement, hostParent, hostContainerInfo, transaction, context);\n } else {\n markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);\n }\n\n if (inst.componentDidMount) {\n if (process.env.NODE_ENV !== 'production') {\n transaction.getReactMountReady().enqueue(function () {\n measureLifeCyclePerf(function () {\n return inst.componentDidMount();\n }, _this._debugID, 'componentDidMount');\n });\n } else {\n transaction.getReactMountReady().enqueue(inst.componentDidMount, inst);\n }\n }\n\n return markup;\n },\n\n _constructComponent: function (doConstruct, publicProps, publicContext, updateQueue) {\n if (process.env.NODE_ENV !== 'production') {\n ReactCurrentOwner.current = this;\n try {\n return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue);\n } finally {\n ReactCurrentOwner.current = null;\n }\n } else {\n return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue);\n }\n },\n\n _constructComponentWithoutOwner: function (doConstruct, publicProps, publicContext, updateQueue) {\n var Component = this._currentElement.type;\n\n if (doConstruct) {\n if (process.env.NODE_ENV !== 'production') {\n return measureLifeCyclePerf(function () {\n return new Component(publicProps, publicContext, updateQueue);\n }, this._debugID, 'ctor');\n } else {\n return new Component(publicProps, publicContext, updateQueue);\n }\n }\n\n // This can still be an instance in case of factory components\n // but we'll count this as time spent rendering as the more common case.\n if (process.env.NODE_ENV !== 'production') {\n return measureLifeCyclePerf(function () {\n return Component(publicProps, publicContext, updateQueue);\n }, this._debugID, 'render');\n } else {\n return Component(publicProps, publicContext, updateQueue);\n }\n },\n\n performInitialMountWithErrorHandling: function (renderedElement, hostParent, hostContainerInfo, transaction, context) {\n var markup;\n var checkpoint = transaction.checkpoint();\n try {\n markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);\n } catch (e) {\n // Roll back to checkpoint, handle error (which may add items to the transaction), and take a new checkpoint\n transaction.rollback(checkpoint);\n this._instance.unstable_handleError(e);\n if (this._pendingStateQueue) {\n this._instance.state = this._processPendingState(this._instance.props, this._instance.context);\n }\n checkpoint = transaction.checkpoint();\n\n this._renderedComponent.unmountComponent(true);\n transaction.rollback(checkpoint);\n\n // Try again - we've informed the component about the error, so they can render an error message this time.\n // If this throws again, the error will bubble up (and can be caught by a higher error boundary).\n markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);\n }\n return markup;\n },\n\n performInitialMount: function (renderedElement, hostParent, hostContainerInfo, transaction, context) {\n var inst = this._instance;\n\n var debugID = 0;\n if (process.env.NODE_ENV !== 'production') {\n debugID = this._debugID;\n }\n\n if (inst.componentWillMount) {\n if (process.env.NODE_ENV !== 'production') {\n measureLifeCyclePerf(function () {\n return inst.componentWillMount();\n }, debugID, 'componentWillMount');\n } else {\n inst.componentWillMount();\n }\n // When mounting, calls to `setState` by `componentWillMount` will set\n // `this._pendingStateQueue` without triggering a re-render.\n if (this._pendingStateQueue) {\n inst.state = this._processPendingState(inst.props, inst.context);\n }\n }\n\n // If not a stateless component, we now render\n if (renderedElement === undefined) {\n renderedElement = this._renderValidatedComponent();\n }\n\n var nodeType = ReactNodeTypes.getType(renderedElement);\n this._renderedNodeType = nodeType;\n var child = this._instantiateReactComponent(renderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */\n );\n this._renderedComponent = child;\n\n var markup = ReactReconciler.mountComponent(child, transaction, hostParent, hostContainerInfo, this._processChildContext(context), debugID);\n\n if (process.env.NODE_ENV !== 'production') {\n if (debugID !== 0) {\n var childDebugIDs = child._debugID !== 0 ? [child._debugID] : [];\n ReactInstrumentation.debugTool.onSetChildren(debugID, childDebugIDs);\n }\n }\n\n return markup;\n },\n\n getHostNode: function () {\n return ReactReconciler.getHostNode(this._renderedComponent);\n },\n\n /**\n * Releases any resources allocated by `mountComponent`.\n *\n * @final\n * @internal\n */\n unmountComponent: function (safely) {\n if (!this._renderedComponent) {\n return;\n }\n\n var inst = this._instance;\n\n if (inst.componentWillUnmount && !inst._calledComponentWillUnmount) {\n inst._calledComponentWillUnmount = true;\n\n if (safely) {\n var name = this.getName() + '.componentWillUnmount()';\n ReactErrorUtils.invokeGuardedCallback(name, inst.componentWillUnmount.bind(inst));\n } else {\n if (process.env.NODE_ENV !== 'production') {\n measureLifeCyclePerf(function () {\n return inst.componentWillUnmount();\n }, this._debugID, 'componentWillUnmount');\n } else {\n inst.componentWillUnmount();\n }\n }\n }\n\n if (this._renderedComponent) {\n ReactReconciler.unmountComponent(this._renderedComponent, safely);\n this._renderedNodeType = null;\n this._renderedComponent = null;\n this._instance = null;\n }\n\n // Reset pending fields\n // Even if this component is scheduled for another update in ReactUpdates,\n // it would still be ignored because these fields are reset.\n this._pendingStateQueue = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate = false;\n this._pendingCallbacks = null;\n this._pendingElement = null;\n\n // These fields do not really need to be reset since this object is no\n // longer accessible.\n this._context = null;\n this._rootNodeID = 0;\n this._topLevelWrapper = null;\n\n // Delete the reference from the instance to this internal representation\n // which allow the internals to be properly cleaned up even if the user\n // leaks a reference to the public instance.\n ReactInstanceMap.remove(inst);\n\n // Some existing components rely on inst.props even after they've been\n // destroyed (in event handlers).\n // TODO: inst.props = null;\n // TODO: inst.state = null;\n // TODO: inst.context = null;\n },\n\n /**\n * Filters the context object to only contain keys specified in\n * `contextTypes`\n *\n * @param {object} context\n * @return {?object}\n * @private\n */\n _maskContext: function (context) {\n var Component = this._currentElement.type;\n var contextTypes = Component.contextTypes;\n if (!contextTypes) {\n return emptyObject;\n }\n var maskedContext = {};\n for (var contextName in contextTypes) {\n maskedContext[contextName] = context[contextName];\n }\n return maskedContext;\n },\n\n /**\n * Filters the context object to only contain keys specified in\n * `contextTypes`, and asserts that they are valid.\n *\n * @param {object} context\n * @return {?object}\n * @private\n */\n _processContext: function (context) {\n var maskedContext = this._maskContext(context);\n if (process.env.NODE_ENV !== 'production') {\n var Component = this._currentElement.type;\n if (Component.contextTypes) {\n this._checkContextTypes(Component.contextTypes, maskedContext, 'context');\n }\n }\n return maskedContext;\n },\n\n /**\n * @param {object} currentContext\n * @return {object}\n * @private\n */\n _processChildContext: function (currentContext) {\n var Component = this._currentElement.type;\n var inst = this._instance;\n var childContext;\n\n if (inst.getChildContext) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onBeginProcessingChildContext();\n try {\n childContext = inst.getChildContext();\n } finally {\n ReactInstrumentation.debugTool.onEndProcessingChildContext();\n }\n } else {\n childContext = inst.getChildContext();\n }\n }\n\n if (childContext) {\n !(typeof Component.childContextTypes === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().', this.getName() || 'ReactCompositeComponent') : _prodInvariant('107', this.getName() || 'ReactCompositeComponent') : void 0;\n if (process.env.NODE_ENV !== 'production') {\n this._checkContextTypes(Component.childContextTypes, childContext, 'childContext');\n }\n for (var name in childContext) {\n !(name in Component.childContextTypes) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): key \"%s\" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : _prodInvariant('108', this.getName() || 'ReactCompositeComponent', name) : void 0;\n }\n return _assign({}, currentContext, childContext);\n }\n return currentContext;\n },\n\n /**\n * Assert that the context types are valid\n *\n * @param {object} typeSpecs Map of context field to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @private\n */\n _checkContextTypes: function (typeSpecs, values, location) {\n if (process.env.NODE_ENV !== 'production') {\n checkReactTypeSpec(typeSpecs, values, location, this.getName(), null, this._debugID);\n }\n },\n\n receiveComponent: function (nextElement, transaction, nextContext) {\n var prevElement = this._currentElement;\n var prevContext = this._context;\n\n this._pendingElement = null;\n\n this.updateComponent(transaction, prevElement, nextElement, prevContext, nextContext);\n },\n\n /**\n * If any of `_pendingElement`, `_pendingStateQueue`, or `_pendingForceUpdate`\n * is set, update the component.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n performUpdateIfNecessary: function (transaction) {\n if (this._pendingElement != null) {\n ReactReconciler.receiveComponent(this, this._pendingElement, transaction, this._context);\n } else if (this._pendingStateQueue !== null || this._pendingForceUpdate) {\n this.updateComponent(transaction, this._currentElement, this._currentElement, this._context, this._context);\n } else {\n this._updateBatchNumber = null;\n }\n },\n\n /**\n * Perform an update to a mounted component. The componentWillReceiveProps and\n * shouldComponentUpdate methods are called, then (assuming the update isn't\n * skipped) the remaining update lifecycle methods are called and the DOM\n * representation is updated.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @param {ReactElement} prevParentElement\n * @param {ReactElement} nextParentElement\n * @internal\n * @overridable\n */\n updateComponent: function (transaction, prevParentElement, nextParentElement, prevUnmaskedContext, nextUnmaskedContext) {\n var inst = this._instance;\n !(inst != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Attempted to update component `%s` that has already been unmounted (or failed to mount).', this.getName() || 'ReactCompositeComponent') : _prodInvariant('136', this.getName() || 'ReactCompositeComponent') : void 0;\n\n var willReceive = false;\n var nextContext;\n\n // Determine if the context has changed or not\n if (this._context === nextUnmaskedContext) {\n nextContext = inst.context;\n } else {\n nextContext = this._processContext(nextUnmaskedContext);\n willReceive = true;\n }\n\n var prevProps = prevParentElement.props;\n var nextProps = nextParentElement.props;\n\n // Not a simple state update but a props update\n if (prevParentElement !== nextParentElement) {\n willReceive = true;\n }\n\n // An update here will schedule an update but immediately set\n // _pendingStateQueue which will ensure that any state updates gets\n // immediately reconciled instead of waiting for the next batch.\n if (willReceive && inst.componentWillReceiveProps) {\n if (process.env.NODE_ENV !== 'production') {\n measureLifeCyclePerf(function () {\n return inst.componentWillReceiveProps(nextProps, nextContext);\n }, this._debugID, 'componentWillReceiveProps');\n } else {\n inst.componentWillReceiveProps(nextProps, nextContext);\n }\n }\n\n var nextState = this._processPendingState(nextProps, nextContext);\n var shouldUpdate = true;\n\n if (!this._pendingForceUpdate) {\n if (inst.shouldComponentUpdate) {\n if (process.env.NODE_ENV !== 'production') {\n shouldUpdate = measureLifeCyclePerf(function () {\n return inst.shouldComponentUpdate(nextProps, nextState, nextContext);\n }, this._debugID, 'shouldComponentUpdate');\n } else {\n shouldUpdate = inst.shouldComponentUpdate(nextProps, nextState, nextContext);\n }\n } else {\n if (this._compositeType === CompositeTypes.PureClass) {\n shouldUpdate = !shallowEqual(prevProps, nextProps) || !shallowEqual(inst.state, nextState);\n }\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(shouldUpdate !== undefined, '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', this.getName() || 'ReactCompositeComponent') : void 0;\n }\n\n this._updateBatchNumber = null;\n if (shouldUpdate) {\n this._pendingForceUpdate = false;\n // Will set `this.props`, `this.state` and `this.context`.\n this._performComponentUpdate(nextParentElement, nextProps, nextState, nextContext, transaction, nextUnmaskedContext);\n } else {\n // If it's determined that a component should not update, we still want\n // to set props and state but we shortcut the rest of the update.\n this._currentElement = nextParentElement;\n this._context = nextUnmaskedContext;\n inst.props = nextProps;\n inst.state = nextState;\n inst.context = nextContext;\n }\n },\n\n _processPendingState: function (props, context) {\n var inst = this._instance;\n var queue = this._pendingStateQueue;\n var replace = this._pendingReplaceState;\n this._pendingReplaceState = false;\n this._pendingStateQueue = null;\n\n if (!queue) {\n return inst.state;\n }\n\n if (replace && queue.length === 1) {\n return queue[0];\n }\n\n var nextState = _assign({}, replace ? queue[0] : inst.state);\n for (var i = replace ? 1 : 0; i < queue.length; i++) {\n var partial = queue[i];\n _assign(nextState, typeof partial === 'function' ? partial.call(inst, nextState, props, context) : partial);\n }\n\n return nextState;\n },\n\n /**\n * Merges new props and state, notifies delegate methods of update and\n * performs update.\n *\n * @param {ReactElement} nextElement Next element\n * @param {object} nextProps Next public object to set as properties.\n * @param {?object} nextState Next object to set as state.\n * @param {?object} nextContext Next public object to set as context.\n * @param {ReactReconcileTransaction} transaction\n * @param {?object} unmaskedContext\n * @private\n */\n _performComponentUpdate: function (nextElement, nextProps, nextState, nextContext, transaction, unmaskedContext) {\n var _this2 = this;\n\n var inst = this._instance;\n\n var hasComponentDidUpdate = Boolean(inst.componentDidUpdate);\n var prevProps;\n var prevState;\n var prevContext;\n if (hasComponentDidUpdate) {\n prevProps = inst.props;\n prevState = inst.state;\n prevContext = inst.context;\n }\n\n if (inst.componentWillUpdate) {\n if (process.env.NODE_ENV !== 'production') {\n measureLifeCyclePerf(function () {\n return inst.componentWillUpdate(nextProps, nextState, nextContext);\n }, this._debugID, 'componentWillUpdate');\n } else {\n inst.componentWillUpdate(nextProps, nextState, nextContext);\n }\n }\n\n this._currentElement = nextElement;\n this._context = unmaskedContext;\n inst.props = nextProps;\n inst.state = nextState;\n inst.context = nextContext;\n\n this._updateRenderedComponent(transaction, unmaskedContext);\n\n if (hasComponentDidUpdate) {\n if (process.env.NODE_ENV !== 'production') {\n transaction.getReactMountReady().enqueue(function () {\n measureLifeCyclePerf(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), _this2._debugID, 'componentDidUpdate');\n });\n } else {\n transaction.getReactMountReady().enqueue(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), inst);\n }\n }\n },\n\n /**\n * Call the component's `render` method and update the DOM accordingly.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n _updateRenderedComponent: function (transaction, context) {\n var prevComponentInstance = this._renderedComponent;\n var prevRenderedElement = prevComponentInstance._currentElement;\n var nextRenderedElement = this._renderValidatedComponent();\n\n var debugID = 0;\n if (process.env.NODE_ENV !== 'production') {\n debugID = this._debugID;\n }\n\n if (shouldUpdateReactComponent(prevRenderedElement, nextRenderedElement)) {\n ReactReconciler.receiveComponent(prevComponentInstance, nextRenderedElement, transaction, this._processChildContext(context));\n } else {\n var oldHostNode = ReactReconciler.getHostNode(prevComponentInstance);\n ReactReconciler.unmountComponent(prevComponentInstance, false);\n\n var nodeType = ReactNodeTypes.getType(nextRenderedElement);\n this._renderedNodeType = nodeType;\n var child = this._instantiateReactComponent(nextRenderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */\n );\n this._renderedComponent = child;\n\n var nextMarkup = ReactReconciler.mountComponent(child, transaction, this._hostParent, this._hostContainerInfo, this._processChildContext(context), debugID);\n\n if (process.env.NODE_ENV !== 'production') {\n if (debugID !== 0) {\n var childDebugIDs = child._debugID !== 0 ? [child._debugID] : [];\n ReactInstrumentation.debugTool.onSetChildren(debugID, childDebugIDs);\n }\n }\n\n this._replaceNodeWithMarkup(oldHostNode, nextMarkup, prevComponentInstance);\n }\n },\n\n /**\n * Overridden in shallow rendering.\n *\n * @protected\n */\n _replaceNodeWithMarkup: function (oldHostNode, nextMarkup, prevInstance) {\n ReactComponentEnvironment.replaceNodeWithMarkup(oldHostNode, nextMarkup, prevInstance);\n },\n\n /**\n * @protected\n */\n _renderValidatedComponentWithoutOwnerOrContext: function () {\n var inst = this._instance;\n var renderedElement;\n\n if (process.env.NODE_ENV !== 'production') {\n renderedElement = measureLifeCyclePerf(function () {\n return inst.render();\n }, this._debugID, 'render');\n } else {\n renderedElement = inst.render();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (renderedElement === undefined && inst.render._isMockFunction) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n renderedElement = null;\n }\n }\n\n return renderedElement;\n },\n\n /**\n * @private\n */\n _renderValidatedComponent: function () {\n var renderedElement;\n if (process.env.NODE_ENV !== 'production' || this._compositeType !== CompositeTypes.StatelessFunctional) {\n ReactCurrentOwner.current = this;\n try {\n renderedElement = this._renderValidatedComponentWithoutOwnerOrContext();\n } finally {\n ReactCurrentOwner.current = null;\n }\n } else {\n renderedElement = this._renderValidatedComponentWithoutOwnerOrContext();\n }\n !(\n // TODO: An `isValidNode` function would probably be more appropriate\n renderedElement === null || renderedElement === false || React.isValidElement(renderedElement)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.render(): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', this.getName() || 'ReactCompositeComponent') : _prodInvariant('109', this.getName() || 'ReactCompositeComponent') : void 0;\n\n return renderedElement;\n },\n\n /**\n * Lazily allocates the refs object and stores `component` as `ref`.\n *\n * @param {string} ref Reference name.\n * @param {component} component Component to store as `ref`.\n * @final\n * @private\n */\n attachRef: function (ref, component) {\n var inst = this.getPublicInstance();\n !(inst != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Stateless function components cannot have refs.') : _prodInvariant('110') : void 0;\n var publicComponentInstance = component.getPublicInstance();\n if (process.env.NODE_ENV !== 'production') {\n var componentName = component && component.getName ? component.getName() : 'a component';\n process.env.NODE_ENV !== 'production' ? warning(publicComponentInstance != null || component._compositeType !== CompositeTypes.StatelessFunctional, 'Stateless function components cannot be given refs ' + '(See ref \"%s\" in %s created by %s). ' + 'Attempts to access this ref will fail.', ref, componentName, this.getName()) : void 0;\n }\n var refs = inst.refs === emptyObject ? inst.refs = {} : inst.refs;\n refs[ref] = publicComponentInstance;\n },\n\n /**\n * Detaches a reference name.\n *\n * @param {string} ref Name to dereference.\n * @final\n * @private\n */\n detachRef: function (ref) {\n var refs = this.getPublicInstance().refs;\n delete refs[ref];\n },\n\n /**\n * Get a text description of the component that can be used to identify it\n * in error messages.\n * @return {string} The name or null.\n * @internal\n */\n getName: function () {\n var type = this._currentElement.type;\n var constructor = this._instance && this._instance.constructor;\n return type.displayName || constructor && constructor.displayName || type.name || constructor && constructor.name || null;\n },\n\n /**\n * Get the publicly accessible representation of this component - i.e. what\n * is exposed by refs and returned by render. Can be null for stateless\n * components.\n *\n * @return {ReactComponent} the public component instance.\n * @internal\n */\n getPublicInstance: function () {\n var inst = this._instance;\n if (this._compositeType === CompositeTypes.StatelessFunctional) {\n return null;\n }\n return inst;\n },\n\n // Stub\n _instantiateReactComponent: null\n\n};\n\nmodule.exports = ReactCompositeComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactCompositeComponent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n/* global hasOwnProperty:true */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar AutoFocusUtils = require('./AutoFocusUtils');\nvar CSSPropertyOperations = require('./CSSPropertyOperations');\nvar DOMLazyTree = require('./DOMLazyTree');\nvar DOMNamespaces = require('./DOMNamespaces');\nvar DOMProperty = require('./DOMProperty');\nvar DOMPropertyOperations = require('./DOMPropertyOperations');\nvar EventPluginHub = require('./EventPluginHub');\nvar EventPluginRegistry = require('./EventPluginRegistry');\nvar ReactBrowserEventEmitter = require('./ReactBrowserEventEmitter');\nvar ReactDOMComponentFlags = require('./ReactDOMComponentFlags');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDOMInput = require('./ReactDOMInput');\nvar ReactDOMOption = require('./ReactDOMOption');\nvar ReactDOMSelect = require('./ReactDOMSelect');\nvar ReactDOMTextarea = require('./ReactDOMTextarea');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar ReactMultiChild = require('./ReactMultiChild');\nvar ReactServerRenderingTransaction = require('./ReactServerRenderingTransaction');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar escapeTextContentForBrowser = require('./escapeTextContentForBrowser');\nvar invariant = require('fbjs/lib/invariant');\nvar isEventSupported = require('./isEventSupported');\nvar shallowEqual = require('fbjs/lib/shallowEqual');\nvar validateDOMNesting = require('./validateDOMNesting');\nvar warning = require('fbjs/lib/warning');\n\nvar Flags = ReactDOMComponentFlags;\nvar deleteListener = EventPluginHub.deleteListener;\nvar getNode = ReactDOMComponentTree.getNodeFromInstance;\nvar listenTo = ReactBrowserEventEmitter.listenTo;\nvar registrationNameModules = EventPluginRegistry.registrationNameModules;\n\n// For quickly matching children type, to test if can be treated as content.\nvar CONTENT_TYPES = { 'string': true, 'number': true };\n\nvar STYLE = 'style';\nvar HTML = '__html';\nvar RESERVED_PROPS = {\n children: null,\n dangerouslySetInnerHTML: null,\n suppressContentEditableWarning: null\n};\n\n// Node type for document fragments (Node.DOCUMENT_FRAGMENT_NODE).\nvar DOC_FRAGMENT_TYPE = 11;\n\nfunction getDeclarationErrorAddendum(internalInstance) {\n if (internalInstance) {\n var owner = internalInstance._currentElement._owner || null;\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' This DOM node was rendered by `' + name + '`.';\n }\n }\n }\n return '';\n}\n\nfunction friendlyStringify(obj) {\n if (typeof obj === 'object') {\n if (Array.isArray(obj)) {\n return '[' + obj.map(friendlyStringify).join(', ') + ']';\n } else {\n var pairs = [];\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var keyEscaped = /^[a-z$_][\\w$_]*$/i.test(key) ? key : JSON.stringify(key);\n pairs.push(keyEscaped + ': ' + friendlyStringify(obj[key]));\n }\n }\n return '{' + pairs.join(', ') + '}';\n }\n } else if (typeof obj === 'string') {\n return JSON.stringify(obj);\n } else if (typeof obj === 'function') {\n return '[function object]';\n }\n // Differs from JSON.stringify in that undefined because undefined and that\n // inf and nan don't become null\n return String(obj);\n}\n\nvar styleMutationWarning = {};\n\nfunction checkAndWarnForMutatedStyle(style1, style2, component) {\n if (style1 == null || style2 == null) {\n return;\n }\n if (shallowEqual(style1, style2)) {\n return;\n }\n\n var componentName = component._tag;\n var owner = component._currentElement._owner;\n var ownerName;\n if (owner) {\n ownerName = owner.getName();\n }\n\n var hash = ownerName + '|' + componentName;\n\n if (styleMutationWarning.hasOwnProperty(hash)) {\n return;\n }\n\n styleMutationWarning[hash] = true;\n\n process.env.NODE_ENV !== 'production' ? warning(false, '`%s` was passed a style object that has previously been mutated. ' + 'Mutating `style` is deprecated. Consider cloning it beforehand. Check ' + 'the `render` %s. Previous style: %s. Mutated style: %s.', componentName, owner ? 'of `' + ownerName + '`' : 'using <' + componentName + '>', friendlyStringify(style1), friendlyStringify(style2)) : void 0;\n}\n\n/**\n * @param {object} component\n * @param {?object} props\n */\nfunction assertValidProps(component, props) {\n if (!props) {\n return;\n }\n // Note the use of `==` which checks for null or undefined.\n if (voidElementTags[component._tag]) {\n !(props.children == null && props.dangerouslySetInnerHTML == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : _prodInvariant('137', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : void 0;\n }\n if (props.dangerouslySetInnerHTML != null) {\n !(props.children == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : _prodInvariant('60') : void 0;\n !(typeof props.dangerouslySetInnerHTML === 'object' && HTML in props.dangerouslySetInnerHTML) ? process.env.NODE_ENV !== 'production' ? invariant(false, '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.') : _prodInvariant('61') : void 0;\n }\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(props.innerHTML == null, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(props.suppressContentEditableWarning || !props.contentEditable || props.children == null, 'A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(props.onFocusIn == null && props.onFocusOut == null, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.') : void 0;\n }\n !(props.style == null || typeof props.style === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + \\'em\\'}} when using JSX.%s', getDeclarationErrorAddendum(component)) : _prodInvariant('62', getDeclarationErrorAddendum(component)) : void 0;\n}\n\nfunction enqueuePutListener(inst, registrationName, listener, transaction) {\n if (transaction instanceof ReactServerRenderingTransaction) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // IE8 has no API for event capturing and the `onScroll` event doesn't\n // bubble.\n process.env.NODE_ENV !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), 'This browser doesn\\'t support the `onScroll` event') : void 0;\n }\n var containerInfo = inst._hostContainerInfo;\n var isDocumentFragment = containerInfo._node && containerInfo._node.nodeType === DOC_FRAGMENT_TYPE;\n var doc = isDocumentFragment ? containerInfo._node : containerInfo._ownerDocument;\n listenTo(registrationName, doc);\n transaction.getReactMountReady().enqueue(putListener, {\n inst: inst,\n registrationName: registrationName,\n listener: listener\n });\n}\n\nfunction putListener() {\n var listenerToPut = this;\n EventPluginHub.putListener(listenerToPut.inst, listenerToPut.registrationName, listenerToPut.listener);\n}\n\nfunction inputPostMount() {\n var inst = this;\n ReactDOMInput.postMountWrapper(inst);\n}\n\nfunction textareaPostMount() {\n var inst = this;\n ReactDOMTextarea.postMountWrapper(inst);\n}\n\nfunction optionPostMount() {\n var inst = this;\n ReactDOMOption.postMountWrapper(inst);\n}\n\nvar setAndValidateContentChildDev = emptyFunction;\nif (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev = function (content) {\n var hasExistingContent = this._contentDebugID != null;\n var debugID = this._debugID;\n // This ID represents the inlined child that has no backing instance:\n var contentDebugID = -debugID;\n\n if (content == null) {\n if (hasExistingContent) {\n ReactInstrumentation.debugTool.onUnmountComponent(this._contentDebugID);\n }\n this._contentDebugID = null;\n return;\n }\n\n validateDOMNesting(null, String(content), this, this._ancestorInfo);\n this._contentDebugID = contentDebugID;\n if (hasExistingContent) {\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(contentDebugID, content);\n ReactInstrumentation.debugTool.onUpdateComponent(contentDebugID);\n } else {\n ReactInstrumentation.debugTool.onBeforeMountComponent(contentDebugID, content, debugID);\n ReactInstrumentation.debugTool.onMountComponent(contentDebugID);\n ReactInstrumentation.debugTool.onSetChildren(debugID, [contentDebugID]);\n }\n };\n}\n\n// There are so many media events, it makes sense to just\n// maintain a list rather than create a `trapBubbledEvent` for each\nvar mediaEvents = {\n topAbort: 'abort',\n topCanPlay: 'canplay',\n topCanPlayThrough: 'canplaythrough',\n topDurationChange: 'durationchange',\n topEmptied: 'emptied',\n topEncrypted: 'encrypted',\n topEnded: 'ended',\n topError: 'error',\n topLoadedData: 'loadeddata',\n topLoadedMetadata: 'loadedmetadata',\n topLoadStart: 'loadstart',\n topPause: 'pause',\n topPlay: 'play',\n topPlaying: 'playing',\n topProgress: 'progress',\n topRateChange: 'ratechange',\n topSeeked: 'seeked',\n topSeeking: 'seeking',\n topStalled: 'stalled',\n topSuspend: 'suspend',\n topTimeUpdate: 'timeupdate',\n topVolumeChange: 'volumechange',\n topWaiting: 'waiting'\n};\n\nfunction trapBubbledEventsLocal() {\n var inst = this;\n // If a component renders to null or if another component fatals and causes\n // the state of the tree to be corrupted, `node` here can be null.\n !inst._rootNodeID ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Must be mounted to trap events') : _prodInvariant('63') : void 0;\n var node = getNode(inst);\n !node ? process.env.NODE_ENV !== 'production' ? invariant(false, 'trapBubbledEvent(...): Requires node to be rendered.') : _prodInvariant('64') : void 0;\n\n switch (inst._tag) {\n case 'iframe':\n case 'object':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topLoad', 'load', node)];\n break;\n case 'video':\n case 'audio':\n\n inst._wrapperState.listeners = [];\n // Create listener for each media event\n for (var event in mediaEvents) {\n if (mediaEvents.hasOwnProperty(event)) {\n inst._wrapperState.listeners.push(ReactBrowserEventEmitter.trapBubbledEvent(event, mediaEvents[event], node));\n }\n }\n break;\n case 'source':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topError', 'error', node)];\n break;\n case 'img':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topError', 'error', node), ReactBrowserEventEmitter.trapBubbledEvent('topLoad', 'load', node)];\n break;\n case 'form':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topReset', 'reset', node), ReactBrowserEventEmitter.trapBubbledEvent('topSubmit', 'submit', node)];\n break;\n case 'input':\n case 'select':\n case 'textarea':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topInvalid', 'invalid', node)];\n break;\n }\n}\n\nfunction postUpdateSelectWrapper() {\n ReactDOMSelect.postUpdateWrapper(this);\n}\n\n// For HTML, certain tags should omit their close tag. We keep a whitelist for\n// those special-case tags.\n\nvar omittedCloseTags = {\n 'area': true,\n 'base': true,\n 'br': true,\n 'col': true,\n 'embed': true,\n 'hr': true,\n 'img': true,\n 'input': true,\n 'keygen': true,\n 'link': true,\n 'meta': true,\n 'param': true,\n 'source': true,\n 'track': true,\n 'wbr': true\n};\n\nvar newlineEatingTags = {\n 'listing': true,\n 'pre': true,\n 'textarea': true\n};\n\n// For HTML, certain tags cannot have children. This has the same purpose as\n// `omittedCloseTags` except that `menuitem` should still have its closing tag.\n\nvar voidElementTags = _assign({\n 'menuitem': true\n}, omittedCloseTags);\n\n// We accept any tag to be rendered but since this gets injected into arbitrary\n// HTML, we want to make sure that it's a safe tag.\n// http://www.w3.org/TR/REC-xml/#NT-Name\n\nvar VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\\.\\-\\d]*$/; // Simplified subset\nvar validatedTagCache = {};\nvar hasOwnProperty = {}.hasOwnProperty;\n\nfunction validateDangerousTag(tag) {\n if (!hasOwnProperty.call(validatedTagCache, tag)) {\n !VALID_TAG_REGEX.test(tag) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Invalid tag: %s', tag) : _prodInvariant('65', tag) : void 0;\n validatedTagCache[tag] = true;\n }\n}\n\nfunction isCustomComponent(tagName, props) {\n return tagName.indexOf('-') >= 0 || props.is != null;\n}\n\nvar globalIdCounter = 1;\n\n/**\n * Creates a new React class that is idempotent and capable of containing other\n * React components. It accepts event listeners and DOM properties that are\n * valid according to `DOMProperty`.\n *\n * - Event listeners: `onClick`, `onMouseDown`, etc.\n * - DOM properties: `className`, `name`, `title`, etc.\n *\n * The `style` property functions differently from the DOM API. It accepts an\n * object mapping of style properties to values.\n *\n * @constructor ReactDOMComponent\n * @extends ReactMultiChild\n */\nfunction ReactDOMComponent(element) {\n var tag = element.type;\n validateDangerousTag(tag);\n this._currentElement = element;\n this._tag = tag.toLowerCase();\n this._namespaceURI = null;\n this._renderedChildren = null;\n this._previousStyle = null;\n this._previousStyleCopy = null;\n this._hostNode = null;\n this._hostParent = null;\n this._rootNodeID = 0;\n this._domID = 0;\n this._hostContainerInfo = null;\n this._wrapperState = null;\n this._topLevelWrapper = null;\n this._flags = 0;\n if (process.env.NODE_ENV !== 'production') {\n this._ancestorInfo = null;\n setAndValidateContentChildDev.call(this, null);\n }\n}\n\nReactDOMComponent.displayName = 'ReactDOMComponent';\n\nReactDOMComponent.Mixin = {\n\n /**\n * Generates root tag markup then recurses. This method has side effects and\n * is not idempotent.\n *\n * @internal\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {?ReactDOMComponent} the parent component instance\n * @param {?object} info about the host container\n * @param {object} context\n * @return {string} The computed markup.\n */\n mountComponent: function (transaction, hostParent, hostContainerInfo, context) {\n this._rootNodeID = globalIdCounter++;\n this._domID = hostContainerInfo._idCounter++;\n this._hostParent = hostParent;\n this._hostContainerInfo = hostContainerInfo;\n\n var props = this._currentElement.props;\n\n switch (this._tag) {\n case 'audio':\n case 'form':\n case 'iframe':\n case 'img':\n case 'link':\n case 'object':\n case 'source':\n case 'video':\n this._wrapperState = {\n listeners: null\n };\n transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n break;\n case 'input':\n ReactDOMInput.mountWrapper(this, props, hostParent);\n props = ReactDOMInput.getHostProps(this, props);\n transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n break;\n case 'option':\n ReactDOMOption.mountWrapper(this, props, hostParent);\n props = ReactDOMOption.getHostProps(this, props);\n break;\n case 'select':\n ReactDOMSelect.mountWrapper(this, props, hostParent);\n props = ReactDOMSelect.getHostProps(this, props);\n transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n break;\n case 'textarea':\n ReactDOMTextarea.mountWrapper(this, props, hostParent);\n props = ReactDOMTextarea.getHostProps(this, props);\n transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n break;\n }\n\n assertValidProps(this, props);\n\n // We create tags in the namespace of their parent container, except HTML\n // tags get no namespace.\n var namespaceURI;\n var parentTag;\n if (hostParent != null) {\n namespaceURI = hostParent._namespaceURI;\n parentTag = hostParent._tag;\n } else if (hostContainerInfo._tag) {\n namespaceURI = hostContainerInfo._namespaceURI;\n parentTag = hostContainerInfo._tag;\n }\n if (namespaceURI == null || namespaceURI === DOMNamespaces.svg && parentTag === 'foreignobject') {\n namespaceURI = DOMNamespaces.html;\n }\n if (namespaceURI === DOMNamespaces.html) {\n if (this._tag === 'svg') {\n namespaceURI = DOMNamespaces.svg;\n } else if (this._tag === 'math') {\n namespaceURI = DOMNamespaces.mathml;\n }\n }\n this._namespaceURI = namespaceURI;\n\n if (process.env.NODE_ENV !== 'production') {\n var parentInfo;\n if (hostParent != null) {\n parentInfo = hostParent._ancestorInfo;\n } else if (hostContainerInfo._tag) {\n parentInfo = hostContainerInfo._ancestorInfo;\n }\n if (parentInfo) {\n // parentInfo should always be present except for the top-level\n // component when server rendering\n validateDOMNesting(this._tag, null, this, parentInfo);\n }\n this._ancestorInfo = validateDOMNesting.updatedAncestorInfo(parentInfo, this._tag, this);\n }\n\n var mountImage;\n if (transaction.useCreateElement) {\n var ownerDocument = hostContainerInfo._ownerDocument;\n var el;\n if (namespaceURI === DOMNamespaces.html) {\n if (this._tag === 'script') {\n // Create the script via .innerHTML so its \"parser-inserted\" flag is\n // set to true and it does not execute\n var div = ownerDocument.createElement('div');\n var type = this._currentElement.type;\n div.innerHTML = '<' + type + '></' + type + '>';\n el = div.removeChild(div.firstChild);\n } else if (props.is) {\n el = ownerDocument.createElement(this._currentElement.type, props.is);\n } else {\n // Separate else branch instead of using `props.is || undefined` above becuase of a Firefox bug.\n // See discussion in https://github.com/facebook/react/pull/6896\n // and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240\n el = ownerDocument.createElement(this._currentElement.type);\n }\n } else {\n el = ownerDocument.createElementNS(namespaceURI, this._currentElement.type);\n }\n ReactDOMComponentTree.precacheNode(this, el);\n this._flags |= Flags.hasCachedChildNodes;\n if (!this._hostParent) {\n DOMPropertyOperations.setAttributeForRoot(el);\n }\n this._updateDOMProperties(null, props, transaction);\n var lazyTree = DOMLazyTree(el);\n this._createInitialChildren(transaction, props, context, lazyTree);\n mountImage = lazyTree;\n } else {\n var tagOpen = this._createOpenTagMarkupAndPutListeners(transaction, props);\n var tagContent = this._createContentMarkup(transaction, props, context);\n if (!tagContent && omittedCloseTags[this._tag]) {\n mountImage = tagOpen + '/>';\n } else {\n mountImage = tagOpen + '>' + tagContent + '</' + this._currentElement.type + '>';\n }\n }\n\n switch (this._tag) {\n case 'input':\n transaction.getReactMountReady().enqueue(inputPostMount, this);\n if (props.autoFocus) {\n transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n }\n break;\n case 'textarea':\n transaction.getReactMountReady().enqueue(textareaPostMount, this);\n if (props.autoFocus) {\n transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n }\n break;\n case 'select':\n if (props.autoFocus) {\n transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n }\n break;\n case 'button':\n if (props.autoFocus) {\n transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n }\n break;\n case 'option':\n transaction.getReactMountReady().enqueue(optionPostMount, this);\n break;\n }\n\n return mountImage;\n },\n\n /**\n * Creates markup for the open tag and all attributes.\n *\n * This method has side effects because events get registered.\n *\n * Iterating over object properties is faster than iterating over arrays.\n * @see http://jsperf.com/obj-vs-arr-iteration\n *\n * @private\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} props\n * @return {string} Markup of opening tag.\n */\n _createOpenTagMarkupAndPutListeners: function (transaction, props) {\n var ret = '<' + this._currentElement.type;\n\n for (var propKey in props) {\n if (!props.hasOwnProperty(propKey)) {\n continue;\n }\n var propValue = props[propKey];\n if (propValue == null) {\n continue;\n }\n if (registrationNameModules.hasOwnProperty(propKey)) {\n if (propValue) {\n enqueuePutListener(this, propKey, propValue, transaction);\n }\n } else {\n if (propKey === STYLE) {\n if (propValue) {\n if (process.env.NODE_ENV !== 'production') {\n // See `_updateDOMProperties`. style block\n this._previousStyle = propValue;\n }\n propValue = this._previousStyleCopy = _assign({}, props.style);\n }\n propValue = CSSPropertyOperations.createMarkupForStyles(propValue, this);\n }\n var markup = null;\n if (this._tag != null && isCustomComponent(this._tag, props)) {\n if (!RESERVED_PROPS.hasOwnProperty(propKey)) {\n markup = DOMPropertyOperations.createMarkupForCustomAttribute(propKey, propValue);\n }\n } else {\n markup = DOMPropertyOperations.createMarkupForProperty(propKey, propValue);\n }\n if (markup) {\n ret += ' ' + markup;\n }\n }\n }\n\n // For static pages, no need to put React ID and checksum. Saves lots of\n // bytes.\n if (transaction.renderToStaticMarkup) {\n return ret;\n }\n\n if (!this._hostParent) {\n ret += ' ' + DOMPropertyOperations.createMarkupForRoot();\n }\n ret += ' ' + DOMPropertyOperations.createMarkupForID(this._domID);\n return ret;\n },\n\n /**\n * Creates markup for the content between the tags.\n *\n * @private\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} props\n * @param {object} context\n * @return {string} Content markup.\n */\n _createContentMarkup: function (transaction, props, context) {\n var ret = '';\n\n // Intentional use of != to avoid catching zero/false.\n var innerHTML = props.dangerouslySetInnerHTML;\n if (innerHTML != null) {\n if (innerHTML.__html != null) {\n ret = innerHTML.__html;\n }\n } else {\n var contentToUse = CONTENT_TYPES[typeof props.children] ? props.children : null;\n var childrenToUse = contentToUse != null ? null : props.children;\n if (contentToUse != null) {\n // TODO: Validate that text is allowed as a child of this node\n ret = escapeTextContentForBrowser(contentToUse);\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, contentToUse);\n }\n } else if (childrenToUse != null) {\n var mountImages = this.mountChildren(childrenToUse, transaction, context);\n ret = mountImages.join('');\n }\n }\n if (newlineEatingTags[this._tag] && ret.charAt(0) === '\\n') {\n // text/html ignores the first character in these tags if it's a newline\n // Prefer to break application/xml over text/html (for now) by adding\n // a newline specifically to get eaten by the parser. (Alternately for\n // textareas, replacing \"^\\n\" with \"\\r\\n\" doesn't get eaten, and the first\n // \\r is normalized out by HTMLTextAreaElement#value.)\n // See: <http://www.w3.org/TR/html-polyglot/#newlines-in-textarea-and-pre>\n // See: <http://www.w3.org/TR/html5/syntax.html#element-restrictions>\n // See: <http://www.w3.org/TR/html5/syntax.html#newlines>\n // See: Parsing of \"textarea\" \"listing\" and \"pre\" elements\n // from <http://www.w3.org/TR/html5/syntax.html#parsing-main-inbody>\n return '\\n' + ret;\n } else {\n return ret;\n }\n },\n\n _createInitialChildren: function (transaction, props, context, lazyTree) {\n // Intentional use of != to avoid catching zero/false.\n var innerHTML = props.dangerouslySetInnerHTML;\n if (innerHTML != null) {\n if (innerHTML.__html != null) {\n DOMLazyTree.queueHTML(lazyTree, innerHTML.__html);\n }\n } else {\n var contentToUse = CONTENT_TYPES[typeof props.children] ? props.children : null;\n var childrenToUse = contentToUse != null ? null : props.children;\n if (contentToUse != null) {\n // TODO: Validate that text is allowed as a child of this node\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, contentToUse);\n }\n DOMLazyTree.queueText(lazyTree, contentToUse);\n } else if (childrenToUse != null) {\n var mountImages = this.mountChildren(childrenToUse, transaction, context);\n for (var i = 0; i < mountImages.length; i++) {\n DOMLazyTree.queueChild(lazyTree, mountImages[i]);\n }\n }\n }\n },\n\n /**\n * Receives a next element and updates the component.\n *\n * @internal\n * @param {ReactElement} nextElement\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} context\n */\n receiveComponent: function (nextElement, transaction, context) {\n var prevElement = this._currentElement;\n this._currentElement = nextElement;\n this.updateComponent(transaction, prevElement, nextElement, context);\n },\n\n /**\n * Updates a DOM component after it has already been allocated and\n * attached to the DOM. Reconciles the root DOM node, then recurses.\n *\n * @param {ReactReconcileTransaction} transaction\n * @param {ReactElement} prevElement\n * @param {ReactElement} nextElement\n * @internal\n * @overridable\n */\n updateComponent: function (transaction, prevElement, nextElement, context) {\n var lastProps = prevElement.props;\n var nextProps = this._currentElement.props;\n\n switch (this._tag) {\n case 'input':\n lastProps = ReactDOMInput.getHostProps(this, lastProps);\n nextProps = ReactDOMInput.getHostProps(this, nextProps);\n break;\n case 'option':\n lastProps = ReactDOMOption.getHostProps(this, lastProps);\n nextProps = ReactDOMOption.getHostProps(this, nextProps);\n break;\n case 'select':\n lastProps = ReactDOMSelect.getHostProps(this, lastProps);\n nextProps = ReactDOMSelect.getHostProps(this, nextProps);\n break;\n case 'textarea':\n lastProps = ReactDOMTextarea.getHostProps(this, lastProps);\n nextProps = ReactDOMTextarea.getHostProps(this, nextProps);\n break;\n }\n\n assertValidProps(this, nextProps);\n this._updateDOMProperties(lastProps, nextProps, transaction);\n this._updateDOMChildren(lastProps, nextProps, transaction, context);\n\n switch (this._tag) {\n case 'input':\n // Update the wrapper around inputs *after* updating props. This has to\n // happen after `_updateDOMProperties`. Otherwise HTML5 input validations\n // raise warnings and prevent the new value from being assigned.\n ReactDOMInput.updateWrapper(this);\n break;\n case 'textarea':\n ReactDOMTextarea.updateWrapper(this);\n break;\n case 'select':\n // <select> value update needs to occur after <option> children\n // reconciliation\n transaction.getReactMountReady().enqueue(postUpdateSelectWrapper, this);\n break;\n }\n },\n\n /**\n * Reconciles the properties by detecting differences in property values and\n * updating the DOM as necessary. This function is probably the single most\n * critical path for performance optimization.\n *\n * TODO: Benchmark whether checking for changed values in memory actually\n * improves performance (especially statically positioned elements).\n * TODO: Benchmark the effects of putting this at the top since 99% of props\n * do not change for a given reconciliation.\n * TODO: Benchmark areas that can be improved with caching.\n *\n * @private\n * @param {object} lastProps\n * @param {object} nextProps\n * @param {?DOMElement} node\n */\n _updateDOMProperties: function (lastProps, nextProps, transaction) {\n var propKey;\n var styleName;\n var styleUpdates;\n for (propKey in lastProps) {\n if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey) || lastProps[propKey] == null) {\n continue;\n }\n if (propKey === STYLE) {\n var lastStyle = this._previousStyleCopy;\n for (styleName in lastStyle) {\n if (lastStyle.hasOwnProperty(styleName)) {\n styleUpdates = styleUpdates || {};\n styleUpdates[styleName] = '';\n }\n }\n this._previousStyleCopy = null;\n } else if (registrationNameModules.hasOwnProperty(propKey)) {\n if (lastProps[propKey]) {\n // Only call deleteListener if there was a listener previously or\n // else willDeleteListener gets called when there wasn't actually a\n // listener (e.g., onClick={null})\n deleteListener(this, propKey);\n }\n } else if (isCustomComponent(this._tag, lastProps)) {\n if (!RESERVED_PROPS.hasOwnProperty(propKey)) {\n DOMPropertyOperations.deleteValueForAttribute(getNode(this), propKey);\n }\n } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {\n DOMPropertyOperations.deleteValueForProperty(getNode(this), propKey);\n }\n }\n for (propKey in nextProps) {\n var nextProp = nextProps[propKey];\n var lastProp = propKey === STYLE ? this._previousStyleCopy : lastProps != null ? lastProps[propKey] : undefined;\n if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp || nextProp == null && lastProp == null) {\n continue;\n }\n if (propKey === STYLE) {\n if (nextProp) {\n if (process.env.NODE_ENV !== 'production') {\n checkAndWarnForMutatedStyle(this._previousStyleCopy, this._previousStyle, this);\n this._previousStyle = nextProp;\n }\n nextProp = this._previousStyleCopy = _assign({}, nextProp);\n } else {\n this._previousStyleCopy = null;\n }\n if (lastProp) {\n // Unset styles on `lastProp` but not on `nextProp`.\n for (styleName in lastProp) {\n if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) {\n styleUpdates = styleUpdates || {};\n styleUpdates[styleName] = '';\n }\n }\n // Update styles that changed since `lastProp`.\n for (styleName in nextProp) {\n if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) {\n styleUpdates = styleUpdates || {};\n styleUpdates[styleName] = nextProp[styleName];\n }\n }\n } else {\n // Relies on `updateStylesByID` not mutating `styleUpdates`.\n styleUpdates = nextProp;\n }\n } else if (registrationNameModules.hasOwnProperty(propKey)) {\n if (nextProp) {\n enqueuePutListener(this, propKey, nextProp, transaction);\n } else if (lastProp) {\n deleteListener(this, propKey);\n }\n } else if (isCustomComponent(this._tag, nextProps)) {\n if (!RESERVED_PROPS.hasOwnProperty(propKey)) {\n DOMPropertyOperations.setValueForAttribute(getNode(this), propKey, nextProp);\n }\n } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {\n var node = getNode(this);\n // If we're updating to null or undefined, we should remove the property\n // from the DOM node instead of inadvertently setting to a string. This\n // brings us in line with the same behavior we have on initial render.\n if (nextProp != null) {\n DOMPropertyOperations.setValueForProperty(node, propKey, nextProp);\n } else {\n DOMPropertyOperations.deleteValueForProperty(node, propKey);\n }\n }\n }\n if (styleUpdates) {\n CSSPropertyOperations.setValueForStyles(getNode(this), styleUpdates, this);\n }\n },\n\n /**\n * Reconciles the children with the various properties that affect the\n * children content.\n *\n * @param {object} lastProps\n * @param {object} nextProps\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n */\n _updateDOMChildren: function (lastProps, nextProps, transaction, context) {\n var lastContent = CONTENT_TYPES[typeof lastProps.children] ? lastProps.children : null;\n var nextContent = CONTENT_TYPES[typeof nextProps.children] ? nextProps.children : null;\n\n var lastHtml = lastProps.dangerouslySetInnerHTML && lastProps.dangerouslySetInnerHTML.__html;\n var nextHtml = nextProps.dangerouslySetInnerHTML && nextProps.dangerouslySetInnerHTML.__html;\n\n // Note the use of `!=` which checks for null or undefined.\n var lastChildren = lastContent != null ? null : lastProps.children;\n var nextChildren = nextContent != null ? null : nextProps.children;\n\n // If we're switching from children to content/html or vice versa, remove\n // the old content\n var lastHasContentOrHtml = lastContent != null || lastHtml != null;\n var nextHasContentOrHtml = nextContent != null || nextHtml != null;\n if (lastChildren != null && nextChildren == null) {\n this.updateChildren(null, transaction, context);\n } else if (lastHasContentOrHtml && !nextHasContentOrHtml) {\n this.updateTextContent('');\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onSetChildren(this._debugID, []);\n }\n }\n\n if (nextContent != null) {\n if (lastContent !== nextContent) {\n this.updateTextContent('' + nextContent);\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, nextContent);\n }\n }\n } else if (nextHtml != null) {\n if (lastHtml !== nextHtml) {\n this.updateMarkup('' + nextHtml);\n }\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onSetChildren(this._debugID, []);\n }\n } else if (nextChildren != null) {\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, null);\n }\n\n this.updateChildren(nextChildren, transaction, context);\n }\n },\n\n getHostNode: function () {\n return getNode(this);\n },\n\n /**\n * Destroys all event registrations for this instance. Does not remove from\n * the DOM. That must be done by the parent.\n *\n * @internal\n */\n unmountComponent: function (safely) {\n switch (this._tag) {\n case 'audio':\n case 'form':\n case 'iframe':\n case 'img':\n case 'link':\n case 'object':\n case 'source':\n case 'video':\n var listeners = this._wrapperState.listeners;\n if (listeners) {\n for (var i = 0; i < listeners.length; i++) {\n listeners[i].remove();\n }\n }\n break;\n case 'html':\n case 'head':\n case 'body':\n /**\n * Components like <html> <head> and <body> can't be removed or added\n * easily in a cross-browser way, however it's valuable to be able to\n * take advantage of React's reconciliation for styling and <title>\n * management. So we just document it and throw in dangerous cases.\n */\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, '<%s> tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg <html>, <head>, and <body>) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.', this._tag) : _prodInvariant('66', this._tag) : void 0;\n break;\n }\n\n this.unmountChildren(safely);\n ReactDOMComponentTree.uncacheNode(this);\n EventPluginHub.deleteAllListeners(this);\n this._rootNodeID = 0;\n this._domID = 0;\n this._wrapperState = null;\n\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, null);\n }\n },\n\n getPublicInstance: function () {\n return getNode(this);\n }\n\n};\n\n_assign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin);\n\nmodule.exports = ReactDOMComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMComponent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar validateDOMNesting = require('./validateDOMNesting');\n\nvar DOC_NODE_TYPE = 9;\n\nfunction ReactDOMContainerInfo(topLevelWrapper, node) {\n var info = {\n _topLevelWrapper: topLevelWrapper,\n _idCounter: 1,\n _ownerDocument: node ? node.nodeType === DOC_NODE_TYPE ? node : node.ownerDocument : null,\n _node: node,\n _tag: node ? node.nodeName.toLowerCase() : null,\n _namespaceURI: node ? node.namespaceURI : null\n };\n if (process.env.NODE_ENV !== 'production') {\n info._ancestorInfo = node ? validateDOMNesting.updatedAncestorInfo(null, info._tag, null) : null;\n }\n return info;\n}\n\nmodule.exports = ReactDOMContainerInfo;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMContainerInfo.js","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\n\nvar ReactDOMEmptyComponent = function (instantiate) {\n // ReactCompositeComponent uses this:\n this._currentElement = null;\n // ReactDOMComponentTree uses these:\n this._hostNode = null;\n this._hostParent = null;\n this._hostContainerInfo = null;\n this._domID = 0;\n};\n_assign(ReactDOMEmptyComponent.prototype, {\n mountComponent: function (transaction, hostParent, hostContainerInfo, context) {\n var domID = hostContainerInfo._idCounter++;\n this._domID = domID;\n this._hostParent = hostParent;\n this._hostContainerInfo = hostContainerInfo;\n\n var nodeValue = ' react-empty: ' + this._domID + ' ';\n if (transaction.useCreateElement) {\n var ownerDocument = hostContainerInfo._ownerDocument;\n var node = ownerDocument.createComment(nodeValue);\n ReactDOMComponentTree.precacheNode(this, node);\n return DOMLazyTree(node);\n } else {\n if (transaction.renderToStaticMarkup) {\n // Normally we'd insert a comment node, but since this is a situation\n // where React won't take over (static pages), we can simply return\n // nothing.\n return '';\n }\n return '<!--' + nodeValue + '-->';\n }\n },\n receiveComponent: function () {},\n getHostNode: function () {\n return ReactDOMComponentTree.getNodeFromInstance(this);\n },\n unmountComponent: function () {\n ReactDOMComponentTree.uncacheNode(this);\n }\n});\n\nmodule.exports = ReactDOMEmptyComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMEmptyComponent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactDOMFeatureFlags = {\n useCreateElement: true,\n useFiber: false\n};\n\nmodule.exports = ReactDOMFeatureFlags;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMFeatureFlags.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMChildrenOperations = require('./DOMChildrenOperations');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\n\n/**\n * Operations used to process updates to DOM nodes.\n */\nvar ReactDOMIDOperations = {\n\n /**\n * Updates a component's children by processing a series of updates.\n *\n * @param {array<object>} updates List of update configurations.\n * @internal\n */\n dangerouslyProcessChildrenUpdates: function (parentInst, updates) {\n var node = ReactDOMComponentTree.getNodeFromInstance(parentInst);\n DOMChildrenOperations.processUpdates(node, updates);\n }\n};\n\nmodule.exports = ReactDOMIDOperations;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMIDOperations.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar DOMPropertyOperations = require('./DOMPropertyOperations');\nvar LinkedValueUtils = require('./LinkedValueUtils');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nvar didWarnValueLink = false;\nvar didWarnCheckedLink = false;\nvar didWarnValueDefaultValue = false;\nvar didWarnCheckedDefaultChecked = false;\nvar didWarnControlledToUncontrolled = false;\nvar didWarnUncontrolledToControlled = false;\n\nfunction forceUpdateIfMounted() {\n if (this._rootNodeID) {\n // DOM component is still mounted; update\n ReactDOMInput.updateWrapper(this);\n }\n}\n\nfunction isControlled(props) {\n var usesChecked = props.type === 'checkbox' || props.type === 'radio';\n return usesChecked ? props.checked != null : props.value != null;\n}\n\n/**\n * Implements an <input> host component that allows setting these optional\n * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.\n *\n * If `checked` or `value` are not supplied (or null/undefined), user actions\n * that affect the checked state or value will trigger updates to the element.\n *\n * If they are supplied (and not null/undefined), the rendered element will not\n * trigger updates to the element. Instead, the props must change in order for\n * the rendered element to be updated.\n *\n * The rendered element will be initialized as unchecked (or `defaultChecked`)\n * with an empty value (or `defaultValue`).\n *\n * @see http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html\n */\nvar ReactDOMInput = {\n getHostProps: function (inst, props) {\n var value = LinkedValueUtils.getValue(props);\n var checked = LinkedValueUtils.getChecked(props);\n\n var hostProps = _assign({\n // Make sure we set .type before any other properties (setting .value\n // before .type means .value is lost in IE11 and below)\n type: undefined,\n // Make sure we set .step before .value (setting .value before .step\n // means .value is rounded on mount, based upon step precision)\n step: undefined,\n // Make sure we set .min & .max before .value (to ensure proper order\n // in corner cases such as min or max deriving from value, e.g. Issue #7170)\n min: undefined,\n max: undefined\n }, props, {\n defaultChecked: undefined,\n defaultValue: undefined,\n value: value != null ? value : inst._wrapperState.initialValue,\n checked: checked != null ? checked : inst._wrapperState.initialChecked,\n onChange: inst._wrapperState.onChange\n });\n\n return hostProps;\n },\n\n mountWrapper: function (inst, props) {\n if (process.env.NODE_ENV !== 'production') {\n LinkedValueUtils.checkPropTypes('input', props, inst._currentElement._owner);\n\n var owner = inst._currentElement._owner;\n\n if (props.valueLink !== undefined && !didWarnValueLink) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `input` is deprecated; set `value` and `onChange` instead.') : void 0;\n didWarnValueLink = true;\n }\n if (props.checkedLink !== undefined && !didWarnCheckedLink) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`checkedLink` prop on `input` is deprecated; set `value` and `onChange` instead.') : void 0;\n didWarnCheckedLink = true;\n }\n if (props.checked !== undefined && props.defaultChecked !== undefined && !didWarnCheckedDefaultChecked) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s contains an input of type %s with both checked and defaultChecked props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the checked prop, or the defaultChecked prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n didWarnCheckedDefaultChecked = true;\n }\n if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s contains an input of type %s with both value and defaultValue props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n didWarnValueDefaultValue = true;\n }\n }\n\n var defaultValue = props.defaultValue;\n inst._wrapperState = {\n initialChecked: props.checked != null ? props.checked : props.defaultChecked,\n initialValue: props.value != null ? props.value : defaultValue,\n listeners: null,\n onChange: _handleChange.bind(inst)\n };\n\n if (process.env.NODE_ENV !== 'production') {\n inst._wrapperState.controlled = isControlled(props);\n }\n },\n\n updateWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n if (process.env.NODE_ENV !== 'production') {\n var controlled = isControlled(props);\n var owner = inst._currentElement._owner;\n\n if (!inst._wrapperState.controlled && controlled && !didWarnUncontrolledToControlled) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s is changing an uncontrolled input of type %s to be controlled. ' + 'Input elements should not switch from uncontrolled to controlled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n didWarnUncontrolledToControlled = true;\n }\n if (inst._wrapperState.controlled && !controlled && !didWarnControlledToUncontrolled) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s is changing a controlled input of type %s to be uncontrolled. ' + 'Input elements should not switch from controlled to uncontrolled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n didWarnControlledToUncontrolled = true;\n }\n }\n\n // TODO: Shouldn't this be getChecked(props)?\n var checked = props.checked;\n if (checked != null) {\n DOMPropertyOperations.setValueForProperty(ReactDOMComponentTree.getNodeFromInstance(inst), 'checked', checked || false);\n }\n\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n\n // Cast `value` to a string to ensure the value is set correctly. While\n // browsers typically do this as necessary, jsdom doesn't.\n var newValue = '' + value;\n\n // To avoid side effects (such as losing text selection), only set value if changed\n if (newValue !== node.value) {\n node.value = newValue;\n }\n } else {\n if (props.value == null && props.defaultValue != null) {\n node.defaultValue = '' + props.defaultValue;\n }\n if (props.checked == null && props.defaultChecked != null) {\n node.defaultChecked = !!props.defaultChecked;\n }\n }\n },\n\n postMountWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n // This is in postMount because we need access to the DOM node, which is not\n // available until after the component has mounted.\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n\n // Detach value from defaultValue. We won't do anything if we're working on\n // submit or reset inputs as those values & defaultValues are linked. They\n // are not resetable nodes so this operation doesn't matter and actually\n // removes browser-default values (eg \"Submit Query\") when no value is\n // provided.\n\n switch (props.type) {\n case 'submit':\n case 'reset':\n break;\n case 'color':\n case 'date':\n case 'datetime':\n case 'datetime-local':\n case 'month':\n case 'time':\n case 'week':\n // This fixes the no-show issue on iOS Safari and Android Chrome:\n // https://github.com/facebook/react/issues/7233\n node.value = '';\n node.value = node.defaultValue;\n break;\n default:\n node.value = node.value;\n break;\n }\n\n // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug\n // this is needed to work around a chrome bug where setting defaultChecked\n // will sometimes influence the value of checked (even after detachment).\n // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416\n // We need to temporarily unset name to avoid disrupting radio button groups.\n var name = node.name;\n if (name !== '') {\n node.name = '';\n }\n node.defaultChecked = !node.defaultChecked;\n node.defaultChecked = !node.defaultChecked;\n if (name !== '') {\n node.name = name;\n }\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\n // Here we use asap to wait until all updates have propagated, which\n // is important when using controlled components within layers:\n // https://github.com/facebook/react/issues/1698\n ReactUpdates.asap(forceUpdateIfMounted, this);\n\n var name = props.name;\n if (props.type === 'radio' && name != null) {\n var rootNode = ReactDOMComponentTree.getNodeFromInstance(this);\n var queryRoot = rootNode;\n\n while (queryRoot.parentNode) {\n queryRoot = queryRoot.parentNode;\n }\n\n // If `rootNode.form` was non-null, then we could try `form.elements`,\n // but that sometimes behaves strangely in IE8. We could also try using\n // `form.getElementsByName`, but that will only return direct children\n // and won't include inputs that use the HTML5 `form=` attribute. Since\n // the input might not even be in a form, let's just use the global\n // `querySelectorAll` to ensure we don't miss anything.\n var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type=\"radio\"]');\n\n for (var i = 0; i < group.length; i++) {\n var otherNode = group[i];\n if (otherNode === rootNode || otherNode.form !== rootNode.form) {\n continue;\n }\n // This will throw if radio buttons rendered by different copies of React\n // and the same name are rendered into the same form (same as #1939).\n // That's probably okay; we don't support it just as we don't support\n // mixing React radio buttons with non-React ones.\n var otherInstance = ReactDOMComponentTree.getInstanceFromNode(otherNode);\n !otherInstance ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.') : _prodInvariant('90') : void 0;\n // If this is a controlled radio button group, forcing the input that\n // was previously checked to update will cause it to be come re-checked\n // as appropriate.\n ReactUpdates.asap(forceUpdateIfMounted, otherInstance);\n }\n }\n\n return returnValue;\n}\n\nmodule.exports = ReactDOMInput;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMInput.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar React = require('react/lib/React');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDOMSelect = require('./ReactDOMSelect');\n\nvar warning = require('fbjs/lib/warning');\nvar didWarnInvalidOptionChildren = false;\n\nfunction flattenChildren(children) {\n var content = '';\n\n // Flatten children and warn if they aren't strings or numbers;\n // invalid types are ignored.\n React.Children.forEach(children, function (child) {\n if (child == null) {\n return;\n }\n if (typeof child === 'string' || typeof child === 'number') {\n content += child;\n } else if (!didWarnInvalidOptionChildren) {\n didWarnInvalidOptionChildren = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Only strings and numbers are supported as <option> children.') : void 0;\n }\n });\n\n return content;\n}\n\n/**\n * Implements an <option> host component that warns when `selected` is set.\n */\nvar ReactDOMOption = {\n mountWrapper: function (inst, props, hostParent) {\n // TODO (yungsters): Remove support for `selected` in <option>.\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(props.selected == null, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.') : void 0;\n }\n\n // Look up whether this option is 'selected'\n var selectValue = null;\n if (hostParent != null) {\n var selectParent = hostParent;\n\n if (selectParent._tag === 'optgroup') {\n selectParent = selectParent._hostParent;\n }\n\n if (selectParent != null && selectParent._tag === 'select') {\n selectValue = ReactDOMSelect.getSelectValueContext(selectParent);\n }\n }\n\n // If the value is null (e.g., no specified value or after initial mount)\n // or missing (e.g., for <datalist>), we don't change props.selected\n var selected = null;\n if (selectValue != null) {\n var value;\n if (props.value != null) {\n value = props.value + '';\n } else {\n value = flattenChildren(props.children);\n }\n selected = false;\n if (Array.isArray(selectValue)) {\n // multiple\n for (var i = 0; i < selectValue.length; i++) {\n if ('' + selectValue[i] === value) {\n selected = true;\n break;\n }\n }\n } else {\n selected = '' + selectValue === value;\n }\n }\n\n inst._wrapperState = { selected: selected };\n },\n\n postMountWrapper: function (inst) {\n // value=\"\" should make a value attribute (#6219)\n var props = inst._currentElement.props;\n if (props.value != null) {\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n node.setAttribute('value', props.value);\n }\n },\n\n getHostProps: function (inst, props) {\n var hostProps = _assign({ selected: undefined, children: undefined }, props);\n\n // Read state only from initial mount because <select> updates value\n // manually; we need the initial state only for server rendering\n if (inst._wrapperState.selected != null) {\n hostProps.selected = inst._wrapperState.selected;\n }\n\n var content = flattenChildren(props.children);\n\n if (content) {\n hostProps.children = content;\n }\n\n return hostProps;\n }\n\n};\n\nmodule.exports = ReactDOMOption;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMOption.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar getNodeForCharacterOffset = require('./getNodeForCharacterOffset');\nvar getTextContentAccessor = require('./getTextContentAccessor');\n\n/**\n * While `isCollapsed` is available on the Selection object and `collapsed`\n * is available on the Range object, IE11 sometimes gets them wrong.\n * If the anchor/focus nodes and offsets are the same, the range is collapsed.\n */\nfunction isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {\n return anchorNode === focusNode && anchorOffset === focusOffset;\n}\n\n/**\n * Get the appropriate anchor and focus node/offset pairs for IE.\n *\n * The catch here is that IE's selection API doesn't provide information\n * about whether the selection is forward or backward, so we have to\n * behave as though it's always forward.\n *\n * IE text differs from modern selection in that it behaves as though\n * block elements end with a new line. This means character offsets will\n * differ between the two APIs.\n *\n * @param {DOMElement} node\n * @return {object}\n */\nfunction getIEOffsets(node) {\n var selection = document.selection;\n var selectedRange = selection.createRange();\n var selectedLength = selectedRange.text.length;\n\n // Duplicate selection so we can move range without breaking user selection.\n var fromStart = selectedRange.duplicate();\n fromStart.moveToElementText(node);\n fromStart.setEndPoint('EndToStart', selectedRange);\n\n var startOffset = fromStart.text.length;\n var endOffset = startOffset + selectedLength;\n\n return {\n start: startOffset,\n end: endOffset\n };\n}\n\n/**\n * @param {DOMElement} node\n * @return {?object}\n */\nfunction getModernOffsets(node) {\n var selection = window.getSelection && window.getSelection();\n\n if (!selection || selection.rangeCount === 0) {\n return null;\n }\n\n var anchorNode = selection.anchorNode;\n var anchorOffset = selection.anchorOffset;\n var focusNode = selection.focusNode;\n var focusOffset = selection.focusOffset;\n\n var currentRange = selection.getRangeAt(0);\n\n // In Firefox, range.startContainer and range.endContainer can be \"anonymous\n // divs\", e.g. the up/down buttons on an <input type=\"number\">. Anonymous\n // divs do not seem to expose properties, triggering a \"Permission denied\n // error\" if any of its properties are accessed. The only seemingly possible\n // way to avoid erroring is to access a property that typically works for\n // non-anonymous divs and catch any error that may otherwise arise. See\n // https://bugzilla.mozilla.org/show_bug.cgi?id=208427\n try {\n /* eslint-disable no-unused-expressions */\n currentRange.startContainer.nodeType;\n currentRange.endContainer.nodeType;\n /* eslint-enable no-unused-expressions */\n } catch (e) {\n return null;\n }\n\n // If the node and offset values are the same, the selection is collapsed.\n // `Selection.isCollapsed` is available natively, but IE sometimes gets\n // this value wrong.\n var isSelectionCollapsed = isCollapsed(selection.anchorNode, selection.anchorOffset, selection.focusNode, selection.focusOffset);\n\n var rangeLength = isSelectionCollapsed ? 0 : currentRange.toString().length;\n\n var tempRange = currentRange.cloneRange();\n tempRange.selectNodeContents(node);\n tempRange.setEnd(currentRange.startContainer, currentRange.startOffset);\n\n var isTempRangeCollapsed = isCollapsed(tempRange.startContainer, tempRange.startOffset, tempRange.endContainer, tempRange.endOffset);\n\n var start = isTempRangeCollapsed ? 0 : tempRange.toString().length;\n var end = start + rangeLength;\n\n // Detect whether the selection is backward.\n var detectionRange = document.createRange();\n detectionRange.setStart(anchorNode, anchorOffset);\n detectionRange.setEnd(focusNode, focusOffset);\n var isBackward = detectionRange.collapsed;\n\n return {\n start: isBackward ? end : start,\n end: isBackward ? start : end\n };\n}\n\n/**\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setIEOffsets(node, offsets) {\n var range = document.selection.createRange().duplicate();\n var start, end;\n\n if (offsets.end === undefined) {\n start = offsets.start;\n end = start;\n } else if (offsets.start > offsets.end) {\n start = offsets.end;\n end = offsets.start;\n } else {\n start = offsets.start;\n end = offsets.end;\n }\n\n range.moveToElementText(node);\n range.moveStart('character', start);\n range.setEndPoint('EndToStart', range);\n range.moveEnd('character', end - start);\n range.select();\n}\n\n/**\n * In modern non-IE browsers, we can support both forward and backward\n * selections.\n *\n * Note: IE10+ supports the Selection object, but it does not support\n * the `extend` method, which means that even in modern IE, it's not possible\n * to programmatically create a backward selection. Thus, for all IE\n * versions, we use the old IE API to create our selections.\n *\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setModernOffsets(node, offsets) {\n if (!window.getSelection) {\n return;\n }\n\n var selection = window.getSelection();\n var length = node[getTextContentAccessor()].length;\n var start = Math.min(offsets.start, length);\n var end = offsets.end === undefined ? start : Math.min(offsets.end, length);\n\n // IE 11 uses modern selection, but doesn't support the extend method.\n // Flip backward selections, so we can set with a single range.\n if (!selection.extend && start > end) {\n var temp = end;\n end = start;\n start = temp;\n }\n\n var startMarker = getNodeForCharacterOffset(node, start);\n var endMarker = getNodeForCharacterOffset(node, end);\n\n if (startMarker && endMarker) {\n var range = document.createRange();\n range.setStart(startMarker.node, startMarker.offset);\n selection.removeAllRanges();\n\n if (start > end) {\n selection.addRange(range);\n selection.extend(endMarker.node, endMarker.offset);\n } else {\n range.setEnd(endMarker.node, endMarker.offset);\n selection.addRange(range);\n }\n }\n}\n\nvar useIEOffsets = ExecutionEnvironment.canUseDOM && 'selection' in document && !('getSelection' in window);\n\nvar ReactDOMSelection = {\n /**\n * @param {DOMElement} node\n */\n getOffsets: useIEOffsets ? getIEOffsets : getModernOffsets,\n\n /**\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\n setOffsets: useIEOffsets ? setIEOffsets : setModernOffsets\n};\n\nmodule.exports = ReactDOMSelection;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMSelection.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar DOMChildrenOperations = require('./DOMChildrenOperations');\nvar DOMLazyTree = require('./DOMLazyTree');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\n\nvar escapeTextContentForBrowser = require('./escapeTextContentForBrowser');\nvar invariant = require('fbjs/lib/invariant');\nvar validateDOMNesting = require('./validateDOMNesting');\n\n/**\n * Text nodes violate a couple assumptions that React makes about components:\n *\n * - When mounting text into the DOM, adjacent text nodes are merged.\n * - Text nodes cannot be assigned a React root ID.\n *\n * This component is used to wrap strings between comment nodes so that they\n * can undergo the same reconciliation that is applied to elements.\n *\n * TODO: Investigate representing React components in the DOM with text nodes.\n *\n * @class ReactDOMTextComponent\n * @extends ReactComponent\n * @internal\n */\nvar ReactDOMTextComponent = function (text) {\n // TODO: This is really a ReactText (ReactNode), not a ReactElement\n this._currentElement = text;\n this._stringText = '' + text;\n // ReactDOMComponentTree uses these:\n this._hostNode = null;\n this._hostParent = null;\n\n // Properties\n this._domID = 0;\n this._mountIndex = 0;\n this._closingComment = null;\n this._commentNodes = null;\n};\n\n_assign(ReactDOMTextComponent.prototype, {\n\n /**\n * Creates the markup for this text node. This node is not intended to have\n * any features besides containing text content.\n *\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @return {string} Markup for this text node.\n * @internal\n */\n mountComponent: function (transaction, hostParent, hostContainerInfo, context) {\n if (process.env.NODE_ENV !== 'production') {\n var parentInfo;\n if (hostParent != null) {\n parentInfo = hostParent._ancestorInfo;\n } else if (hostContainerInfo != null) {\n parentInfo = hostContainerInfo._ancestorInfo;\n }\n if (parentInfo) {\n // parentInfo should always be present except for the top-level\n // component when server rendering\n validateDOMNesting(null, this._stringText, this, parentInfo);\n }\n }\n\n var domID = hostContainerInfo._idCounter++;\n var openingValue = ' react-text: ' + domID + ' ';\n var closingValue = ' /react-text ';\n this._domID = domID;\n this._hostParent = hostParent;\n if (transaction.useCreateElement) {\n var ownerDocument = hostContainerInfo._ownerDocument;\n var openingComment = ownerDocument.createComment(openingValue);\n var closingComment = ownerDocument.createComment(closingValue);\n var lazyTree = DOMLazyTree(ownerDocument.createDocumentFragment());\n DOMLazyTree.queueChild(lazyTree, DOMLazyTree(openingComment));\n if (this._stringText) {\n DOMLazyTree.queueChild(lazyTree, DOMLazyTree(ownerDocument.createTextNode(this._stringText)));\n }\n DOMLazyTree.queueChild(lazyTree, DOMLazyTree(closingComment));\n ReactDOMComponentTree.precacheNode(this, openingComment);\n this._closingComment = closingComment;\n return lazyTree;\n } else {\n var escapedText = escapeTextContentForBrowser(this._stringText);\n\n if (transaction.renderToStaticMarkup) {\n // Normally we'd wrap this between comment nodes for the reasons stated\n // above, but since this is a situation where React won't take over\n // (static pages), we can simply return the text as it is.\n return escapedText;\n }\n\n return '<!--' + openingValue + '-->' + escapedText + '<!--' + closingValue + '-->';\n }\n },\n\n /**\n * Updates this component by updating the text content.\n *\n * @param {ReactText} nextText The next text content\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n receiveComponent: function (nextText, transaction) {\n if (nextText !== this._currentElement) {\n this._currentElement = nextText;\n var nextStringText = '' + nextText;\n if (nextStringText !== this._stringText) {\n // TODO: Save this as pending props and use performUpdateIfNecessary\n // and/or updateComponent to do the actual update for consistency with\n // other component types?\n this._stringText = nextStringText;\n var commentNodes = this.getHostNode();\n DOMChildrenOperations.replaceDelimitedText(commentNodes[0], commentNodes[1], nextStringText);\n }\n }\n },\n\n getHostNode: function () {\n var hostNode = this._commentNodes;\n if (hostNode) {\n return hostNode;\n }\n if (!this._closingComment) {\n var openingComment = ReactDOMComponentTree.getNodeFromInstance(this);\n var node = openingComment.nextSibling;\n while (true) {\n !(node != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Missing closing comment for text component %s', this._domID) : _prodInvariant('67', this._domID) : void 0;\n if (node.nodeType === 8 && node.nodeValue === ' /react-text ') {\n this._closingComment = node;\n break;\n }\n node = node.nextSibling;\n }\n }\n hostNode = [this._hostNode, this._closingComment];\n this._commentNodes = hostNode;\n return hostNode;\n },\n\n unmountComponent: function () {\n this._closingComment = null;\n this._commentNodes = null;\n ReactDOMComponentTree.uncacheNode(this);\n }\n\n});\n\nmodule.exports = ReactDOMTextComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMTextComponent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar LinkedValueUtils = require('./LinkedValueUtils');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nvar didWarnValueLink = false;\nvar didWarnValDefaultVal = false;\n\nfunction forceUpdateIfMounted() {\n if (this._rootNodeID) {\n // DOM component is still mounted; update\n ReactDOMTextarea.updateWrapper(this);\n }\n}\n\n/**\n * Implements a <textarea> host component that allows setting `value`, and\n * `defaultValue`. This differs from the traditional DOM API because value is\n * usually set as PCDATA children.\n *\n * If `value` is not supplied (or null/undefined), user actions that affect the\n * value will trigger updates to the element.\n *\n * If `value` is supplied (and not null/undefined), the rendered element will\n * not trigger updates to the element. Instead, the `value` prop must change in\n * order for the rendered element to be updated.\n *\n * The rendered element will be initialized with an empty value, the prop\n * `defaultValue` if specified, or the children content (deprecated).\n */\nvar ReactDOMTextarea = {\n getHostProps: function (inst, props) {\n !(props.dangerouslySetInnerHTML == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, '`dangerouslySetInnerHTML` does not make sense on <textarea>.') : _prodInvariant('91') : void 0;\n\n // Always set children to the same thing. In IE9, the selection range will\n // get reset if `textContent` is mutated. We could add a check in setTextContent\n // to only set the value if/when the value differs from the node value (which would\n // completely solve this IE9 bug), but Sebastian+Ben seemed to like this solution.\n // The value can be a boolean or object so that's why it's forced to be a string.\n var hostProps = _assign({}, props, {\n value: undefined,\n defaultValue: undefined,\n children: '' + inst._wrapperState.initialValue,\n onChange: inst._wrapperState.onChange\n });\n\n return hostProps;\n },\n\n mountWrapper: function (inst, props) {\n if (process.env.NODE_ENV !== 'production') {\n LinkedValueUtils.checkPropTypes('textarea', props, inst._currentElement._owner);\n if (props.valueLink !== undefined && !didWarnValueLink) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `textarea` is deprecated; set `value` and `onChange` instead.') : void 0;\n didWarnValueLink = true;\n }\n if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValDefaultVal) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Textarea elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled textarea ' + 'and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0;\n didWarnValDefaultVal = true;\n }\n }\n\n var value = LinkedValueUtils.getValue(props);\n var initialValue = value;\n\n // Only bother fetching default value if we're going to use it\n if (value == null) {\n var defaultValue = props.defaultValue;\n // TODO (yungsters): Remove support for children content in <textarea>.\n var children = props.children;\n if (children != null) {\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.') : void 0;\n }\n !(defaultValue == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'If you supply `defaultValue` on a <textarea>, do not pass children.') : _prodInvariant('92') : void 0;\n if (Array.isArray(children)) {\n !(children.length <= 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, '<textarea> can only have at most one child.') : _prodInvariant('93') : void 0;\n children = children[0];\n }\n\n defaultValue = '' + children;\n }\n if (defaultValue == null) {\n defaultValue = '';\n }\n initialValue = defaultValue;\n }\n\n inst._wrapperState = {\n initialValue: '' + initialValue,\n listeners: null,\n onChange: _handleChange.bind(inst)\n };\n },\n\n updateWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n // Cast `value` to a string to ensure the value is set correctly. While\n // browsers typically do this as necessary, jsdom doesn't.\n var newValue = '' + value;\n\n // To avoid side effects (such as losing text selection), only set value if changed\n if (newValue !== node.value) {\n node.value = newValue;\n }\n if (props.defaultValue == null) {\n node.defaultValue = newValue;\n }\n }\n if (props.defaultValue != null) {\n node.defaultValue = props.defaultValue;\n }\n },\n\n postMountWrapper: function (inst) {\n // This is in postMount because we need access to the DOM node, which is not\n // available until after the component has mounted.\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n\n // Warning: node.value may be the empty string at this point (IE11) if placeholder is set.\n node.value = node.textContent; // Detach value from defaultValue\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n ReactUpdates.asap(forceUpdateIfMounted, this);\n return returnValue;\n}\n\nmodule.exports = ReactDOMTextarea;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMTextarea.js","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Return the lowest common ancestor of A and B, or null if they are in\n * different trees.\n */\nfunction getLowestCommonAncestor(instA, instB) {\n !('_hostNode' in instA) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n !('_hostNode' in instB) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n\n var depthA = 0;\n for (var tempA = instA; tempA; tempA = tempA._hostParent) {\n depthA++;\n }\n var depthB = 0;\n for (var tempB = instB; tempB; tempB = tempB._hostParent) {\n depthB++;\n }\n\n // If A is deeper, crawl up.\n while (depthA - depthB > 0) {\n instA = instA._hostParent;\n depthA--;\n }\n\n // If B is deeper, crawl up.\n while (depthB - depthA > 0) {\n instB = instB._hostParent;\n depthB--;\n }\n\n // Walk in lockstep until we find a match.\n var depth = depthA;\n while (depth--) {\n if (instA === instB) {\n return instA;\n }\n instA = instA._hostParent;\n instB = instB._hostParent;\n }\n return null;\n}\n\n/**\n * Return if A is an ancestor of B.\n */\nfunction isAncestor(instA, instB) {\n !('_hostNode' in instA) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'isAncestor: Invalid argument.') : _prodInvariant('35') : void 0;\n !('_hostNode' in instB) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'isAncestor: Invalid argument.') : _prodInvariant('35') : void 0;\n\n while (instB) {\n if (instB === instA) {\n return true;\n }\n instB = instB._hostParent;\n }\n return false;\n}\n\n/**\n * Return the parent instance of the passed-in instance.\n */\nfunction getParentInstance(inst) {\n !('_hostNode' in inst) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getParentInstance: Invalid argument.') : _prodInvariant('36') : void 0;\n\n return inst._hostParent;\n}\n\n/**\n * Simulates the traversal of a two-phase, capture/bubble event dispatch.\n */\nfunction traverseTwoPhase(inst, fn, arg) {\n var path = [];\n while (inst) {\n path.push(inst);\n inst = inst._hostParent;\n }\n var i;\n for (i = path.length; i-- > 0;) {\n fn(path[i], 'captured', arg);\n }\n for (i = 0; i < path.length; i++) {\n fn(path[i], 'bubbled', arg);\n }\n}\n\n/**\n * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that\n * should would receive a `mouseEnter` or `mouseLeave` event.\n *\n * Does not invoke the callback on the nearest common ancestor because nothing\n * \"entered\" or \"left\" that element.\n */\nfunction traverseEnterLeave(from, to, fn, argFrom, argTo) {\n var common = from && to ? getLowestCommonAncestor(from, to) : null;\n var pathFrom = [];\n while (from && from !== common) {\n pathFrom.push(from);\n from = from._hostParent;\n }\n var pathTo = [];\n while (to && to !== common) {\n pathTo.push(to);\n to = to._hostParent;\n }\n var i;\n for (i = 0; i < pathFrom.length; i++) {\n fn(pathFrom[i], 'bubbled', argFrom);\n }\n for (i = pathTo.length; i-- > 0;) {\n fn(pathTo[i], 'captured', argTo);\n }\n}\n\nmodule.exports = {\n isAncestor: isAncestor,\n getLowestCommonAncestor: getLowestCommonAncestor,\n getParentInstance: getParentInstance,\n traverseTwoPhase: traverseTwoPhase,\n traverseEnterLeave: traverseEnterLeave\n};\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDOMTreeTraversal.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar ReactUpdates = require('./ReactUpdates');\nvar Transaction = require('./Transaction');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\n\nvar RESET_BATCHED_UPDATES = {\n initialize: emptyFunction,\n close: function () {\n ReactDefaultBatchingStrategy.isBatchingUpdates = false;\n }\n};\n\nvar FLUSH_BATCHED_UPDATES = {\n initialize: emptyFunction,\n close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates)\n};\n\nvar TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES];\n\nfunction ReactDefaultBatchingStrategyTransaction() {\n this.reinitializeTransaction();\n}\n\n_assign(ReactDefaultBatchingStrategyTransaction.prototype, Transaction, {\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n }\n});\n\nvar transaction = new ReactDefaultBatchingStrategyTransaction();\n\nvar ReactDefaultBatchingStrategy = {\n isBatchingUpdates: false,\n\n /**\n * Call the provided function in a context within which calls to `setState`\n * and friends are batched such that components aren't updated unnecessarily.\n */\n batchedUpdates: function (callback, a, b, c, d, e) {\n var alreadyBatchingUpdates = ReactDefaultBatchingStrategy.isBatchingUpdates;\n\n ReactDefaultBatchingStrategy.isBatchingUpdates = true;\n\n // The code is written this way to avoid extra allocations\n if (alreadyBatchingUpdates) {\n return callback(a, b, c, d, e);\n } else {\n return transaction.perform(callback, null, a, b, c, d, e);\n }\n }\n};\n\nmodule.exports = ReactDefaultBatchingStrategy;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDefaultBatchingStrategy.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ARIADOMPropertyConfig = require('./ARIADOMPropertyConfig');\nvar BeforeInputEventPlugin = require('./BeforeInputEventPlugin');\nvar ChangeEventPlugin = require('./ChangeEventPlugin');\nvar DefaultEventPluginOrder = require('./DefaultEventPluginOrder');\nvar EnterLeaveEventPlugin = require('./EnterLeaveEventPlugin');\nvar HTMLDOMPropertyConfig = require('./HTMLDOMPropertyConfig');\nvar ReactComponentBrowserEnvironment = require('./ReactComponentBrowserEnvironment');\nvar ReactDOMComponent = require('./ReactDOMComponent');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDOMEmptyComponent = require('./ReactDOMEmptyComponent');\nvar ReactDOMTreeTraversal = require('./ReactDOMTreeTraversal');\nvar ReactDOMTextComponent = require('./ReactDOMTextComponent');\nvar ReactDefaultBatchingStrategy = require('./ReactDefaultBatchingStrategy');\nvar ReactEventListener = require('./ReactEventListener');\nvar ReactInjection = require('./ReactInjection');\nvar ReactReconcileTransaction = require('./ReactReconcileTransaction');\nvar SVGDOMPropertyConfig = require('./SVGDOMPropertyConfig');\nvar SelectEventPlugin = require('./SelectEventPlugin');\nvar SimpleEventPlugin = require('./SimpleEventPlugin');\n\nvar alreadyInjected = false;\n\nfunction inject() {\n if (alreadyInjected) {\n // TODO: This is currently true because these injections are shared between\n // the client and the server package. They should be built independently\n // and not share any injection state. Then this problem will be solved.\n return;\n }\n alreadyInjected = true;\n\n ReactInjection.EventEmitter.injectReactEventListener(ReactEventListener);\n\n /**\n * Inject modules for resolving DOM hierarchy and plugin ordering.\n */\n ReactInjection.EventPluginHub.injectEventPluginOrder(DefaultEventPluginOrder);\n ReactInjection.EventPluginUtils.injectComponentTree(ReactDOMComponentTree);\n ReactInjection.EventPluginUtils.injectTreeTraversal(ReactDOMTreeTraversal);\n\n /**\n * Some important event plugins included by default (without having to require\n * them).\n */\n ReactInjection.EventPluginHub.injectEventPluginsByName({\n SimpleEventPlugin: SimpleEventPlugin,\n EnterLeaveEventPlugin: EnterLeaveEventPlugin,\n ChangeEventPlugin: ChangeEventPlugin,\n SelectEventPlugin: SelectEventPlugin,\n BeforeInputEventPlugin: BeforeInputEventPlugin\n });\n\n ReactInjection.HostComponent.injectGenericComponentClass(ReactDOMComponent);\n\n ReactInjection.HostComponent.injectTextComponentClass(ReactDOMTextComponent);\n\n ReactInjection.DOMProperty.injectDOMPropertyConfig(ARIADOMPropertyConfig);\n ReactInjection.DOMProperty.injectDOMPropertyConfig(HTMLDOMPropertyConfig);\n ReactInjection.DOMProperty.injectDOMPropertyConfig(SVGDOMPropertyConfig);\n\n ReactInjection.EmptyComponent.injectEmptyComponentFactory(function (instantiate) {\n return new ReactDOMEmptyComponent(instantiate);\n });\n\n ReactInjection.Updates.injectReconcileTransaction(ReactReconcileTransaction);\n ReactInjection.Updates.injectBatchingStrategy(ReactDefaultBatchingStrategy);\n\n ReactInjection.Component.injectEnvironment(ReactComponentBrowserEnvironment);\n}\n\nmodule.exports = {\n inject: inject\n};\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactDefaultInjection.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPluginHub = require('./EventPluginHub');\n\nfunction runEventQueueInBatch(events) {\n EventPluginHub.enqueueEvents(events);\n EventPluginHub.processEventQueue(false);\n}\n\nvar ReactEventEmitterMixin = {\n\n /**\n * Streams a fired top-level event to `EventPluginHub` where plugins have the\n * opportunity to create `ReactEvent`s to be dispatched.\n */\n handleTopLevel: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var events = EventPluginHub.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n runEventQueueInBatch(events);\n }\n};\n\nmodule.exports = ReactEventEmitterMixin;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactEventEmitterMixin.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar EventListener = require('fbjs/lib/EventListener');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar PooledClass = require('./PooledClass');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar getEventTarget = require('./getEventTarget');\nvar getUnboundedScrollPosition = require('fbjs/lib/getUnboundedScrollPosition');\n\n/**\n * Find the deepest React component completely containing the root of the\n * passed-in instance (for use when entire React trees are nested within each\n * other). If React trees are not nested, returns null.\n */\nfunction findParent(inst) {\n // TODO: It may be a good idea to cache this to prevent unnecessary DOM\n // traversal, but caching is difficult to do correctly without using a\n // mutation observer to listen for all DOM changes.\n while (inst._hostParent) {\n inst = inst._hostParent;\n }\n var rootNode = ReactDOMComponentTree.getNodeFromInstance(inst);\n var container = rootNode.parentNode;\n return ReactDOMComponentTree.getClosestInstanceFromNode(container);\n}\n\n// Used to store ancestor hierarchy in top level callback\nfunction TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {\n this.topLevelType = topLevelType;\n this.nativeEvent = nativeEvent;\n this.ancestors = [];\n}\n_assign(TopLevelCallbackBookKeeping.prototype, {\n destructor: function () {\n this.topLevelType = null;\n this.nativeEvent = null;\n this.ancestors.length = 0;\n }\n});\nPooledClass.addPoolingTo(TopLevelCallbackBookKeeping, PooledClass.twoArgumentPooler);\n\nfunction handleTopLevelImpl(bookKeeping) {\n var nativeEventTarget = getEventTarget(bookKeeping.nativeEvent);\n var targetInst = ReactDOMComponentTree.getClosestInstanceFromNode(nativeEventTarget);\n\n // Loop through the hierarchy, in case there's any nested components.\n // It's important that we build the array of ancestors before calling any\n // event handlers, because event handlers can modify the DOM, leading to\n // inconsistencies with ReactMount's node cache. See #1105.\n var ancestor = targetInst;\n do {\n bookKeeping.ancestors.push(ancestor);\n ancestor = ancestor && findParent(ancestor);\n } while (ancestor);\n\n for (var i = 0; i < bookKeeping.ancestors.length; i++) {\n targetInst = bookKeeping.ancestors[i];\n ReactEventListener._handleTopLevel(bookKeeping.topLevelType, targetInst, bookKeeping.nativeEvent, getEventTarget(bookKeeping.nativeEvent));\n }\n}\n\nfunction scrollValueMonitor(cb) {\n var scrollPosition = getUnboundedScrollPosition(window);\n cb(scrollPosition);\n}\n\nvar ReactEventListener = {\n _enabled: true,\n _handleTopLevel: null,\n\n WINDOW_HANDLE: ExecutionEnvironment.canUseDOM ? window : null,\n\n setHandleTopLevel: function (handleTopLevel) {\n ReactEventListener._handleTopLevel = handleTopLevel;\n },\n\n setEnabled: function (enabled) {\n ReactEventListener._enabled = !!enabled;\n },\n\n isEnabled: function () {\n return ReactEventListener._enabled;\n },\n\n /**\n * Traps top-level events by using event bubbling.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {object} element Element on which to attach listener.\n * @return {?object} An object with a remove function which will forcefully\n * remove the listener.\n * @internal\n */\n trapBubbledEvent: function (topLevelType, handlerBaseName, element) {\n if (!element) {\n return null;\n }\n return EventListener.listen(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType));\n },\n\n /**\n * Traps a top-level event by using event capturing.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {object} element Element on which to attach listener.\n * @return {?object} An object with a remove function which will forcefully\n * remove the listener.\n * @internal\n */\n trapCapturedEvent: function (topLevelType, handlerBaseName, element) {\n if (!element) {\n return null;\n }\n return EventListener.capture(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType));\n },\n\n monitorScrollValue: function (refresh) {\n var callback = scrollValueMonitor.bind(null, refresh);\n EventListener.listen(window, 'scroll', callback);\n },\n\n dispatchEvent: function (topLevelType, nativeEvent) {\n if (!ReactEventListener._enabled) {\n return;\n }\n\n var bookKeeping = TopLevelCallbackBookKeeping.getPooled(topLevelType, nativeEvent);\n try {\n // Event queue being processed in the same cycle allows\n // `preventDefault`.\n ReactUpdates.batchedUpdates(handleTopLevelImpl, bookKeeping);\n } finally {\n TopLevelCallbackBookKeeping.release(bookKeeping);\n }\n }\n};\n\nmodule.exports = ReactEventListener;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactEventListener.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMProperty = require('./DOMProperty');\nvar EventPluginHub = require('./EventPluginHub');\nvar EventPluginUtils = require('./EventPluginUtils');\nvar ReactComponentEnvironment = require('./ReactComponentEnvironment');\nvar ReactEmptyComponent = require('./ReactEmptyComponent');\nvar ReactBrowserEventEmitter = require('./ReactBrowserEventEmitter');\nvar ReactHostComponent = require('./ReactHostComponent');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar ReactInjection = {\n Component: ReactComponentEnvironment.injection,\n DOMProperty: DOMProperty.injection,\n EmptyComponent: ReactEmptyComponent.injection,\n EventPluginHub: EventPluginHub.injection,\n EventPluginUtils: EventPluginUtils.injection,\n EventEmitter: ReactBrowserEventEmitter.injection,\n HostComponent: ReactHostComponent.injection,\n Updates: ReactUpdates.injection\n};\n\nmodule.exports = ReactInjection;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactInjection.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar adler32 = require('./adler32');\n\nvar TAG_END = /\\/?>/;\nvar COMMENT_START = /^<\\!\\-\\-/;\n\nvar ReactMarkupChecksum = {\n CHECKSUM_ATTR_NAME: 'data-react-checksum',\n\n /**\n * @param {string} markup Markup string\n * @return {string} Markup string with checksum attribute attached\n */\n addChecksumToMarkup: function (markup) {\n var checksum = adler32(markup);\n\n // Add checksum (handle both parent tags, comments and self-closing tags)\n if (COMMENT_START.test(markup)) {\n return markup;\n } else {\n return markup.replace(TAG_END, ' ' + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + '=\"' + checksum + '\"$&');\n }\n },\n\n /**\n * @param {string} markup to use\n * @param {DOMElement} element root React element\n * @returns {boolean} whether or not the markup is the same\n */\n canReuseMarkup: function (markup, element) {\n var existingChecksum = element.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n existingChecksum = existingChecksum && parseInt(existingChecksum, 10);\n var markupChecksum = adler32(markup);\n return markupChecksum === existingChecksum;\n }\n};\n\nmodule.exports = ReactMarkupChecksum;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactMarkupChecksum.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactComponentEnvironment = require('./ReactComponentEnvironment');\nvar ReactInstanceMap = require('./ReactInstanceMap');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar ReactCurrentOwner = require('react/lib/ReactCurrentOwner');\nvar ReactReconciler = require('./ReactReconciler');\nvar ReactChildReconciler = require('./ReactChildReconciler');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar flattenChildren = require('./flattenChildren');\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Make an update for markup to be rendered and inserted at a supplied index.\n *\n * @param {string} markup Markup that renders into an element.\n * @param {number} toIndex Destination index.\n * @private\n */\nfunction makeInsertMarkup(markup, afterNode, toIndex) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'INSERT_MARKUP',\n content: markup,\n fromIndex: null,\n fromNode: null,\n toIndex: toIndex,\n afterNode: afterNode\n };\n}\n\n/**\n * Make an update for moving an existing element to another index.\n *\n * @param {number} fromIndex Source index of the existing element.\n * @param {number} toIndex Destination index of the element.\n * @private\n */\nfunction makeMove(child, afterNode, toIndex) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'MOVE_EXISTING',\n content: null,\n fromIndex: child._mountIndex,\n fromNode: ReactReconciler.getHostNode(child),\n toIndex: toIndex,\n afterNode: afterNode\n };\n}\n\n/**\n * Make an update for removing an element at an index.\n *\n * @param {number} fromIndex Index of the element to remove.\n * @private\n */\nfunction makeRemove(child, node) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'REMOVE_NODE',\n content: null,\n fromIndex: child._mountIndex,\n fromNode: node,\n toIndex: null,\n afterNode: null\n };\n}\n\n/**\n * Make an update for setting the markup of a node.\n *\n * @param {string} markup Markup that renders into an element.\n * @private\n */\nfunction makeSetMarkup(markup) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'SET_MARKUP',\n content: markup,\n fromIndex: null,\n fromNode: null,\n toIndex: null,\n afterNode: null\n };\n}\n\n/**\n * Make an update for setting the text content.\n *\n * @param {string} textContent Text content to set.\n * @private\n */\nfunction makeTextContent(textContent) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'TEXT_CONTENT',\n content: textContent,\n fromIndex: null,\n fromNode: null,\n toIndex: null,\n afterNode: null\n };\n}\n\n/**\n * Push an update, if any, onto the queue. Creates a new queue if none is\n * passed and always returns the queue. Mutative.\n */\nfunction enqueue(queue, update) {\n if (update) {\n queue = queue || [];\n queue.push(update);\n }\n return queue;\n}\n\n/**\n * Processes any enqueued updates.\n *\n * @private\n */\nfunction processQueue(inst, updateQueue) {\n ReactComponentEnvironment.processChildrenUpdates(inst, updateQueue);\n}\n\nvar setChildrenForInstrumentation = emptyFunction;\nif (process.env.NODE_ENV !== 'production') {\n var getDebugID = function (inst) {\n if (!inst._debugID) {\n // Check for ART-like instances. TODO: This is silly/gross.\n var internal;\n if (internal = ReactInstanceMap.get(inst)) {\n inst = internal;\n }\n }\n return inst._debugID;\n };\n setChildrenForInstrumentation = function (children) {\n var debugID = getDebugID(this);\n // TODO: React Native empty components are also multichild.\n // This means they still get into this method but don't have _debugID.\n if (debugID !== 0) {\n ReactInstrumentation.debugTool.onSetChildren(debugID, children ? Object.keys(children).map(function (key) {\n return children[key]._debugID;\n }) : []);\n }\n };\n}\n\n/**\n * ReactMultiChild are capable of reconciling multiple children.\n *\n * @class ReactMultiChild\n * @internal\n */\nvar ReactMultiChild = {\n\n /**\n * Provides common functionality for components that must reconcile multiple\n * children. This is used by `ReactDOMComponent` to mount, update, and\n * unmount child components.\n *\n * @lends {ReactMultiChild.prototype}\n */\n Mixin: {\n\n _reconcilerInstantiateChildren: function (nestedChildren, transaction, context) {\n if (process.env.NODE_ENV !== 'production') {\n var selfDebugID = getDebugID(this);\n if (this._currentElement) {\n try {\n ReactCurrentOwner.current = this._currentElement._owner;\n return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context, selfDebugID);\n } finally {\n ReactCurrentOwner.current = null;\n }\n }\n }\n return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context);\n },\n\n _reconcilerUpdateChildren: function (prevChildren, nextNestedChildrenElements, mountImages, removedNodes, transaction, context) {\n var nextChildren;\n var selfDebugID = 0;\n if (process.env.NODE_ENV !== 'production') {\n selfDebugID = getDebugID(this);\n if (this._currentElement) {\n try {\n ReactCurrentOwner.current = this._currentElement._owner;\n nextChildren = flattenChildren(nextNestedChildrenElements, selfDebugID);\n } finally {\n ReactCurrentOwner.current = null;\n }\n ReactChildReconciler.updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, this, this._hostContainerInfo, context, selfDebugID);\n return nextChildren;\n }\n }\n nextChildren = flattenChildren(nextNestedChildrenElements, selfDebugID);\n ReactChildReconciler.updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, this, this._hostContainerInfo, context, selfDebugID);\n return nextChildren;\n },\n\n /**\n * Generates a \"mount image\" for each of the supplied children. In the case\n * of `ReactDOMComponent`, a mount image is a string of markup.\n *\n * @param {?object} nestedChildren Nested child maps.\n * @return {array} An array of mounted representations.\n * @internal\n */\n mountChildren: function (nestedChildren, transaction, context) {\n var children = this._reconcilerInstantiateChildren(nestedChildren, transaction, context);\n this._renderedChildren = children;\n\n var mountImages = [];\n var index = 0;\n for (var name in children) {\n if (children.hasOwnProperty(name)) {\n var child = children[name];\n var selfDebugID = 0;\n if (process.env.NODE_ENV !== 'production') {\n selfDebugID = getDebugID(this);\n }\n var mountImage = ReactReconciler.mountComponent(child, transaction, this, this._hostContainerInfo, context, selfDebugID);\n child._mountIndex = index++;\n mountImages.push(mountImage);\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n setChildrenForInstrumentation.call(this, children);\n }\n\n return mountImages;\n },\n\n /**\n * Replaces any rendered children with a text content string.\n *\n * @param {string} nextContent String of content.\n * @internal\n */\n updateTextContent: function (nextContent) {\n var prevChildren = this._renderedChildren;\n // Remove any rendered children.\n ReactChildReconciler.unmountChildren(prevChildren, false);\n for (var name in prevChildren) {\n if (prevChildren.hasOwnProperty(name)) {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'updateTextContent called on non-empty component.') : _prodInvariant('118') : void 0;\n }\n }\n // Set new text content.\n var updates = [makeTextContent(nextContent)];\n processQueue(this, updates);\n },\n\n /**\n * Replaces any rendered children with a markup string.\n *\n * @param {string} nextMarkup String of markup.\n * @internal\n */\n updateMarkup: function (nextMarkup) {\n var prevChildren = this._renderedChildren;\n // Remove any rendered children.\n ReactChildReconciler.unmountChildren(prevChildren, false);\n for (var name in prevChildren) {\n if (prevChildren.hasOwnProperty(name)) {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'updateTextContent called on non-empty component.') : _prodInvariant('118') : void 0;\n }\n }\n var updates = [makeSetMarkup(nextMarkup)];\n processQueue(this, updates);\n },\n\n /**\n * Updates the rendered children with new children.\n *\n * @param {?object} nextNestedChildrenElements Nested child element maps.\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n updateChildren: function (nextNestedChildrenElements, transaction, context) {\n // Hook used by React ART\n this._updateChildren(nextNestedChildrenElements, transaction, context);\n },\n\n /**\n * @param {?object} nextNestedChildrenElements Nested child element maps.\n * @param {ReactReconcileTransaction} transaction\n * @final\n * @protected\n */\n _updateChildren: function (nextNestedChildrenElements, transaction, context) {\n var prevChildren = this._renderedChildren;\n var removedNodes = {};\n var mountImages = [];\n var nextChildren = this._reconcilerUpdateChildren(prevChildren, nextNestedChildrenElements, mountImages, removedNodes, transaction, context);\n if (!nextChildren && !prevChildren) {\n return;\n }\n var updates = null;\n var name;\n // `nextIndex` will increment for each child in `nextChildren`, but\n // `lastIndex` will be the last index visited in `prevChildren`.\n var nextIndex = 0;\n var lastIndex = 0;\n // `nextMountIndex` will increment for each newly mounted child.\n var nextMountIndex = 0;\n var lastPlacedNode = null;\n for (name in nextChildren) {\n if (!nextChildren.hasOwnProperty(name)) {\n continue;\n }\n var prevChild = prevChildren && prevChildren[name];\n var nextChild = nextChildren[name];\n if (prevChild === nextChild) {\n updates = enqueue(updates, this.moveChild(prevChild, lastPlacedNode, nextIndex, lastIndex));\n lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n prevChild._mountIndex = nextIndex;\n } else {\n if (prevChild) {\n // Update `lastIndex` before `_mountIndex` gets unset by unmounting.\n lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n // The `removedNodes` loop below will actually remove the child.\n }\n // The child must be instantiated before it's mounted.\n updates = enqueue(updates, this._mountChildAtIndex(nextChild, mountImages[nextMountIndex], lastPlacedNode, nextIndex, transaction, context));\n nextMountIndex++;\n }\n nextIndex++;\n lastPlacedNode = ReactReconciler.getHostNode(nextChild);\n }\n // Remove children that are no longer present.\n for (name in removedNodes) {\n if (removedNodes.hasOwnProperty(name)) {\n updates = enqueue(updates, this._unmountChild(prevChildren[name], removedNodes[name]));\n }\n }\n if (updates) {\n processQueue(this, updates);\n }\n this._renderedChildren = nextChildren;\n\n if (process.env.NODE_ENV !== 'production') {\n setChildrenForInstrumentation.call(this, nextChildren);\n }\n },\n\n /**\n * Unmounts all rendered children. This should be used to clean up children\n * when this component is unmounted. It does not actually perform any\n * backend operations.\n *\n * @internal\n */\n unmountChildren: function (safely) {\n var renderedChildren = this._renderedChildren;\n ReactChildReconciler.unmountChildren(renderedChildren, safely);\n this._renderedChildren = null;\n },\n\n /**\n * Moves a child component to the supplied index.\n *\n * @param {ReactComponent} child Component to move.\n * @param {number} toIndex Destination index of the element.\n * @param {number} lastIndex Last index visited of the siblings of `child`.\n * @protected\n */\n moveChild: function (child, afterNode, toIndex, lastIndex) {\n // If the index of `child` is less than `lastIndex`, then it needs to\n // be moved. Otherwise, we do not need to move it because a child will be\n // inserted or moved before `child`.\n if (child._mountIndex < lastIndex) {\n return makeMove(child, afterNode, toIndex);\n }\n },\n\n /**\n * Creates a child component.\n *\n * @param {ReactComponent} child Component to create.\n * @param {string} mountImage Markup to insert.\n * @protected\n */\n createChild: function (child, afterNode, mountImage) {\n return makeInsertMarkup(mountImage, afterNode, child._mountIndex);\n },\n\n /**\n * Removes a child component.\n *\n * @param {ReactComponent} child Child to remove.\n * @protected\n */\n removeChild: function (child, node) {\n return makeRemove(child, node);\n },\n\n /**\n * Mounts a child with the supplied name.\n *\n * NOTE: This is part of `updateChildren` and is here for readability.\n *\n * @param {ReactComponent} child Component to mount.\n * @param {string} name Name of the child.\n * @param {number} index Index at which to insert the child.\n * @param {ReactReconcileTransaction} transaction\n * @private\n */\n _mountChildAtIndex: function (child, mountImage, afterNode, index, transaction, context) {\n child._mountIndex = index;\n return this.createChild(child, afterNode, mountImage);\n },\n\n /**\n * Unmounts a rendered child.\n *\n * NOTE: This is part of `updateChildren` and is here for readability.\n *\n * @param {ReactComponent} child Component to unmount.\n * @private\n */\n _unmountChild: function (child, node) {\n var update = this.removeChild(child, node);\n child._mountIndex = null;\n return update;\n }\n\n }\n\n};\n\nmodule.exports = ReactMultiChild;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactMultiChild.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * @param {?object} object\n * @return {boolean} True if `object` is a valid owner.\n * @final\n */\nfunction isValidOwner(object) {\n return !!(object && typeof object.attachRef === 'function' && typeof object.detachRef === 'function');\n}\n\n/**\n * ReactOwners are capable of storing references to owned components.\n *\n * All components are capable of //being// referenced by owner components, but\n * only ReactOwner components are capable of //referencing// owned components.\n * The named reference is known as a \"ref\".\n *\n * Refs are available when mounted and updated during reconciliation.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return (\n * <div onClick={this.handleClick}>\n * <CustomComponent ref=\"custom\" />\n * </div>\n * );\n * },\n * handleClick: function() {\n * this.refs.custom.handleClick();\n * },\n * componentDidMount: function() {\n * this.refs.custom.initialize();\n * }\n * });\n *\n * Refs should rarely be used. When refs are used, they should only be done to\n * control data that is not handled by React's data flow.\n *\n * @class ReactOwner\n */\nvar ReactOwner = {\n /**\n * Adds a component by ref to an owner component.\n *\n * @param {ReactComponent} component Component to reference.\n * @param {string} ref Name by which to refer to the component.\n * @param {ReactOwner} owner Component on which to record the ref.\n * @final\n * @internal\n */\n addComponentAsRefTo: function (component, ref, owner) {\n !isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component\\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('119') : void 0;\n owner.attachRef(ref, component);\n },\n\n /**\n * Removes a component by ref from an owner component.\n *\n * @param {ReactComponent} component Component to dereference.\n * @param {string} ref Name of the ref to remove.\n * @param {ReactOwner} owner Component on which the ref is recorded.\n * @final\n * @internal\n */\n removeComponentAsRefFrom: function (component, ref, owner) {\n !isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component\\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('120') : void 0;\n var ownerPublicInstance = owner.getPublicInstance();\n // Check that `component`'s owner is still alive and that `component` is still the current ref\n // because we do not want to detach the ref if another component stole it.\n if (ownerPublicInstance && ownerPublicInstance.refs[ref] === component.getPublicInstance()) {\n owner.detachRef(ref);\n }\n }\n\n};\n\nmodule.exports = ReactOwner;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactOwner.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactPropTypesSecret.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar CallbackQueue = require('./CallbackQueue');\nvar PooledClass = require('./PooledClass');\nvar ReactBrowserEventEmitter = require('./ReactBrowserEventEmitter');\nvar ReactInputSelection = require('./ReactInputSelection');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar Transaction = require('./Transaction');\nvar ReactUpdateQueue = require('./ReactUpdateQueue');\n\n/**\n * Ensures that, when possible, the selection range (currently selected text\n * input) is not disturbed by performing the transaction.\n */\nvar SELECTION_RESTORATION = {\n /**\n * @return {Selection} Selection information.\n */\n initialize: ReactInputSelection.getSelectionInformation,\n /**\n * @param {Selection} sel Selection information returned from `initialize`.\n */\n close: ReactInputSelection.restoreSelection\n};\n\n/**\n * Suppresses events (blur/focus) that could be inadvertently dispatched due to\n * high level DOM manipulations (like temporarily removing a text input from the\n * DOM).\n */\nvar EVENT_SUPPRESSION = {\n /**\n * @return {boolean} The enabled status of `ReactBrowserEventEmitter` before\n * the reconciliation.\n */\n initialize: function () {\n var currentlyEnabled = ReactBrowserEventEmitter.isEnabled();\n ReactBrowserEventEmitter.setEnabled(false);\n return currentlyEnabled;\n },\n\n /**\n * @param {boolean} previouslyEnabled Enabled status of\n * `ReactBrowserEventEmitter` before the reconciliation occurred. `close`\n * restores the previous value.\n */\n close: function (previouslyEnabled) {\n ReactBrowserEventEmitter.setEnabled(previouslyEnabled);\n }\n};\n\n/**\n * Provides a queue for collecting `componentDidMount` and\n * `componentDidUpdate` callbacks during the transaction.\n */\nvar ON_DOM_READY_QUEUEING = {\n /**\n * Initializes the internal `onDOMReady` queue.\n */\n initialize: function () {\n this.reactMountReady.reset();\n },\n\n /**\n * After DOM is flushed, invoke all registered `onDOMReady` callbacks.\n */\n close: function () {\n this.reactMountReady.notifyAll();\n }\n};\n\n/**\n * Executed within the scope of the `Transaction` instance. Consider these as\n * being member methods, but with an implied ordering while being isolated from\n * each other.\n */\nvar TRANSACTION_WRAPPERS = [SELECTION_RESTORATION, EVENT_SUPPRESSION, ON_DOM_READY_QUEUEING];\n\nif (process.env.NODE_ENV !== 'production') {\n TRANSACTION_WRAPPERS.push({\n initialize: ReactInstrumentation.debugTool.onBeginFlush,\n close: ReactInstrumentation.debugTool.onEndFlush\n });\n}\n\n/**\n * Currently:\n * - The order that these are listed in the transaction is critical:\n * - Suppresses events.\n * - Restores selection range.\n *\n * Future:\n * - Restore document/overflow scroll positions that were unintentionally\n * modified via DOM insertions above the top viewport boundary.\n * - Implement/integrate with customized constraint based layout system and keep\n * track of which dimensions must be remeasured.\n *\n * @class ReactReconcileTransaction\n */\nfunction ReactReconcileTransaction(useCreateElement) {\n this.reinitializeTransaction();\n // Only server-side rendering really needs this option (see\n // `ReactServerRendering`), but server-side uses\n // `ReactServerRenderingTransaction` instead. This option is here so that it's\n // accessible and defaults to false when `ReactDOMComponent` and\n // `ReactDOMTextComponent` checks it in `mountComponent`.`\n this.renderToStaticMarkup = false;\n this.reactMountReady = CallbackQueue.getPooled(null);\n this.useCreateElement = useCreateElement;\n}\n\nvar Mixin = {\n /**\n * @see Transaction\n * @abstract\n * @final\n * @return {array<object>} List of operation wrap procedures.\n * TODO: convert to array<TransactionWrapper>\n */\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n /**\n * @return {object} The queue to collect `onDOMReady` callbacks with.\n */\n getReactMountReady: function () {\n return this.reactMountReady;\n },\n\n /**\n * @return {object} The queue to collect React async events.\n */\n getUpdateQueue: function () {\n return ReactUpdateQueue;\n },\n\n /**\n * Save current transaction state -- if the return value from this method is\n * passed to `rollback`, the transaction will be reset to that state.\n */\n checkpoint: function () {\n // reactMountReady is the our only stateful wrapper\n return this.reactMountReady.checkpoint();\n },\n\n rollback: function (checkpoint) {\n this.reactMountReady.rollback(checkpoint);\n },\n\n /**\n * `PooledClass` looks for this, and will invoke this before allowing this\n * instance to be reused.\n */\n destructor: function () {\n CallbackQueue.release(this.reactMountReady);\n this.reactMountReady = null;\n }\n};\n\n_assign(ReactReconcileTransaction.prototype, Transaction, Mixin);\n\nPooledClass.addPoolingTo(ReactReconcileTransaction);\n\nmodule.exports = ReactReconcileTransaction;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactReconcileTransaction.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar ReactOwner = require('./ReactOwner');\n\nvar ReactRef = {};\n\nfunction attachRef(ref, component, owner) {\n if (typeof ref === 'function') {\n ref(component.getPublicInstance());\n } else {\n // Legacy ref\n ReactOwner.addComponentAsRefTo(component, ref, owner);\n }\n}\n\nfunction detachRef(ref, component, owner) {\n if (typeof ref === 'function') {\n ref(null);\n } else {\n // Legacy ref\n ReactOwner.removeComponentAsRefFrom(component, ref, owner);\n }\n}\n\nReactRef.attachRefs = function (instance, element) {\n if (element === null || typeof element !== 'object') {\n return;\n }\n var ref = element.ref;\n if (ref != null) {\n attachRef(ref, instance, element._owner);\n }\n};\n\nReactRef.shouldUpdateRefs = function (prevElement, nextElement) {\n // If either the owner or a `ref` has changed, make sure the newest owner\n // has stored a reference to `this`, and the previous owner (if different)\n // has forgotten the reference to `this`. We use the element instead\n // of the public this.props because the post processing cannot determine\n // a ref. The ref conceptually lives on the element.\n\n // TODO: Should this even be possible? The owner cannot change because\n // it's forbidden by shouldUpdateReactComponent. The ref can change\n // if you swap the keys of but not the refs. Reconsider where this check\n // is made. It probably belongs where the key checking and\n // instantiateReactComponent is done.\n\n var prevRef = null;\n var prevOwner = null;\n if (prevElement !== null && typeof prevElement === 'object') {\n prevRef = prevElement.ref;\n prevOwner = prevElement._owner;\n }\n\n var nextRef = null;\n var nextOwner = null;\n if (nextElement !== null && typeof nextElement === 'object') {\n nextRef = nextElement.ref;\n nextOwner = nextElement._owner;\n }\n\n return prevRef !== nextRef ||\n // If owner changes but we have an unchanged function ref, don't update refs\n typeof nextRef === 'string' && nextOwner !== prevOwner;\n};\n\nReactRef.detachRefs = function (instance, element) {\n if (element === null || typeof element !== 'object') {\n return;\n }\n var ref = element.ref;\n if (ref != null) {\n detachRef(ref, instance, element._owner);\n }\n};\n\nmodule.exports = ReactRef;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactRef.js","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar PooledClass = require('./PooledClass');\nvar Transaction = require('./Transaction');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar ReactServerUpdateQueue = require('./ReactServerUpdateQueue');\n\n/**\n * Executed within the scope of the `Transaction` instance. Consider these as\n * being member methods, but with an implied ordering while being isolated from\n * each other.\n */\nvar TRANSACTION_WRAPPERS = [];\n\nif (process.env.NODE_ENV !== 'production') {\n TRANSACTION_WRAPPERS.push({\n initialize: ReactInstrumentation.debugTool.onBeginFlush,\n close: ReactInstrumentation.debugTool.onEndFlush\n });\n}\n\nvar noopCallbackQueue = {\n enqueue: function () {}\n};\n\n/**\n * @class ReactServerRenderingTransaction\n * @param {boolean} renderToStaticMarkup\n */\nfunction ReactServerRenderingTransaction(renderToStaticMarkup) {\n this.reinitializeTransaction();\n this.renderToStaticMarkup = renderToStaticMarkup;\n this.useCreateElement = false;\n this.updateQueue = new ReactServerUpdateQueue(this);\n}\n\nvar Mixin = {\n /**\n * @see Transaction\n * @abstract\n * @final\n * @return {array} Empty list of operation wrap procedures.\n */\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n /**\n * @return {object} The queue to collect `onDOMReady` callbacks with.\n */\n getReactMountReady: function () {\n return noopCallbackQueue;\n },\n\n /**\n * @return {object} The queue to collect React async events.\n */\n getUpdateQueue: function () {\n return this.updateQueue;\n },\n\n /**\n * `PooledClass` looks for this, and will invoke this before allowing this\n * instance to be reused.\n */\n destructor: function () {},\n\n checkpoint: function () {},\n\n rollback: function () {}\n};\n\n_assign(ReactServerRenderingTransaction.prototype, Transaction, Mixin);\n\nPooledClass.addPoolingTo(ReactServerRenderingTransaction);\n\nmodule.exports = ReactServerRenderingTransaction;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactServerRenderingTransaction.js","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar ReactUpdateQueue = require('./ReactUpdateQueue');\n\nvar warning = require('fbjs/lib/warning');\n\nfunction warnNoop(publicInstance, callerName) {\n if (process.env.NODE_ENV !== 'production') {\n var constructor = publicInstance.constructor;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounting component. ' + 'This usually means you called %s() outside componentWillMount() on the server. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;\n }\n}\n\n/**\n * This is the update queue used for server rendering.\n * It delegates to ReactUpdateQueue while server rendering is in progress and\n * switches to ReactNoopUpdateQueue after the transaction has completed.\n * @class ReactServerUpdateQueue\n * @param {Transaction} transaction\n */\n\nvar ReactServerUpdateQueue = function () {\n function ReactServerUpdateQueue(transaction) {\n _classCallCheck(this, ReactServerUpdateQueue);\n\n this.transaction = transaction;\n }\n\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n\n\n ReactServerUpdateQueue.prototype.isMounted = function isMounted(publicInstance) {\n return false;\n };\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @internal\n */\n\n\n ReactServerUpdateQueue.prototype.enqueueCallback = function enqueueCallback(publicInstance, callback, callerName) {\n if (this.transaction.isInTransaction()) {\n ReactUpdateQueue.enqueueCallback(publicInstance, callback, callerName);\n }\n };\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n\n\n ReactServerUpdateQueue.prototype.enqueueForceUpdate = function enqueueForceUpdate(publicInstance) {\n if (this.transaction.isInTransaction()) {\n ReactUpdateQueue.enqueueForceUpdate(publicInstance);\n } else {\n warnNoop(publicInstance, 'forceUpdate');\n }\n };\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object|function} completeState Next state.\n * @internal\n */\n\n\n ReactServerUpdateQueue.prototype.enqueueReplaceState = function enqueueReplaceState(publicInstance, completeState) {\n if (this.transaction.isInTransaction()) {\n ReactUpdateQueue.enqueueReplaceState(publicInstance, completeState);\n } else {\n warnNoop(publicInstance, 'replaceState');\n }\n };\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object|function} partialState Next partial state to be merged with state.\n * @internal\n */\n\n\n ReactServerUpdateQueue.prototype.enqueueSetState = function enqueueSetState(publicInstance, partialState) {\n if (this.transaction.isInTransaction()) {\n ReactUpdateQueue.enqueueSetState(publicInstance, partialState);\n } else {\n warnNoop(publicInstance, 'setState');\n }\n };\n\n return ReactServerUpdateQueue;\n}();\n\nmodule.exports = ReactServerUpdateQueue;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactServerUpdateQueue.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nmodule.exports = '15.4.1';\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/ReactVersion.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar NS = {\n xlink: 'http://www.w3.org/1999/xlink',\n xml: 'http://www.w3.org/XML/1998/namespace'\n};\n\n// We use attributes for everything SVG so let's avoid some duplication and run\n// code instead.\n// The following are all specified in the HTML config already so we exclude here.\n// - class (as className)\n// - color\n// - height\n// - id\n// - lang\n// - max\n// - media\n// - method\n// - min\n// - name\n// - style\n// - target\n// - type\n// - width\nvar ATTRS = {\n accentHeight: 'accent-height',\n accumulate: 0,\n additive: 0,\n alignmentBaseline: 'alignment-baseline',\n allowReorder: 'allowReorder',\n alphabetic: 0,\n amplitude: 0,\n arabicForm: 'arabic-form',\n ascent: 0,\n attributeName: 'attributeName',\n attributeType: 'attributeType',\n autoReverse: 'autoReverse',\n azimuth: 0,\n baseFrequency: 'baseFrequency',\n baseProfile: 'baseProfile',\n baselineShift: 'baseline-shift',\n bbox: 0,\n begin: 0,\n bias: 0,\n by: 0,\n calcMode: 'calcMode',\n capHeight: 'cap-height',\n clip: 0,\n clipPath: 'clip-path',\n clipRule: 'clip-rule',\n clipPathUnits: 'clipPathUnits',\n colorInterpolation: 'color-interpolation',\n colorInterpolationFilters: 'color-interpolation-filters',\n colorProfile: 'color-profile',\n colorRendering: 'color-rendering',\n contentScriptType: 'contentScriptType',\n contentStyleType: 'contentStyleType',\n cursor: 0,\n cx: 0,\n cy: 0,\n d: 0,\n decelerate: 0,\n descent: 0,\n diffuseConstant: 'diffuseConstant',\n direction: 0,\n display: 0,\n divisor: 0,\n dominantBaseline: 'dominant-baseline',\n dur: 0,\n dx: 0,\n dy: 0,\n edgeMode: 'edgeMode',\n elevation: 0,\n enableBackground: 'enable-background',\n end: 0,\n exponent: 0,\n externalResourcesRequired: 'externalResourcesRequired',\n fill: 0,\n fillOpacity: 'fill-opacity',\n fillRule: 'fill-rule',\n filter: 0,\n filterRes: 'filterRes',\n filterUnits: 'filterUnits',\n floodColor: 'flood-color',\n floodOpacity: 'flood-opacity',\n focusable: 0,\n fontFamily: 'font-family',\n fontSize: 'font-size',\n fontSizeAdjust: 'font-size-adjust',\n fontStretch: 'font-stretch',\n fontStyle: 'font-style',\n fontVariant: 'font-variant',\n fontWeight: 'font-weight',\n format: 0,\n from: 0,\n fx: 0,\n fy: 0,\n g1: 0,\n g2: 0,\n glyphName: 'glyph-name',\n glyphOrientationHorizontal: 'glyph-orientation-horizontal',\n glyphOrientationVertical: 'glyph-orientation-vertical',\n glyphRef: 'glyphRef',\n gradientTransform: 'gradientTransform',\n gradientUnits: 'gradientUnits',\n hanging: 0,\n horizAdvX: 'horiz-adv-x',\n horizOriginX: 'horiz-origin-x',\n ideographic: 0,\n imageRendering: 'image-rendering',\n 'in': 0,\n in2: 0,\n intercept: 0,\n k: 0,\n k1: 0,\n k2: 0,\n k3: 0,\n k4: 0,\n kernelMatrix: 'kernelMatrix',\n kernelUnitLength: 'kernelUnitLength',\n kerning: 0,\n keyPoints: 'keyPoints',\n keySplines: 'keySplines',\n keyTimes: 'keyTimes',\n lengthAdjust: 'lengthAdjust',\n letterSpacing: 'letter-spacing',\n lightingColor: 'lighting-color',\n limitingConeAngle: 'limitingConeAngle',\n local: 0,\n markerEnd: 'marker-end',\n markerMid: 'marker-mid',\n markerStart: 'marker-start',\n markerHeight: 'markerHeight',\n markerUnits: 'markerUnits',\n markerWidth: 'markerWidth',\n mask: 0,\n maskContentUnits: 'maskContentUnits',\n maskUnits: 'maskUnits',\n mathematical: 0,\n mode: 0,\n numOctaves: 'numOctaves',\n offset: 0,\n opacity: 0,\n operator: 0,\n order: 0,\n orient: 0,\n orientation: 0,\n origin: 0,\n overflow: 0,\n overlinePosition: 'overline-position',\n overlineThickness: 'overline-thickness',\n paintOrder: 'paint-order',\n panose1: 'panose-1',\n pathLength: 'pathLength',\n patternContentUnits: 'patternContentUnits',\n patternTransform: 'patternTransform',\n patternUnits: 'patternUnits',\n pointerEvents: 'pointer-events',\n points: 0,\n pointsAtX: 'pointsAtX',\n pointsAtY: 'pointsAtY',\n pointsAtZ: 'pointsAtZ',\n preserveAlpha: 'preserveAlpha',\n preserveAspectRatio: 'preserveAspectRatio',\n primitiveUnits: 'primitiveUnits',\n r: 0,\n radius: 0,\n refX: 'refX',\n refY: 'refY',\n renderingIntent: 'rendering-intent',\n repeatCount: 'repeatCount',\n repeatDur: 'repeatDur',\n requiredExtensions: 'requiredExtensions',\n requiredFeatures: 'requiredFeatures',\n restart: 0,\n result: 0,\n rotate: 0,\n rx: 0,\n ry: 0,\n scale: 0,\n seed: 0,\n shapeRendering: 'shape-rendering',\n slope: 0,\n spacing: 0,\n specularConstant: 'specularConstant',\n specularExponent: 'specularExponent',\n speed: 0,\n spreadMethod: 'spreadMethod',\n startOffset: 'startOffset',\n stdDeviation: 'stdDeviation',\n stemh: 0,\n stemv: 0,\n stitchTiles: 'stitchTiles',\n stopColor: 'stop-color',\n stopOpacity: 'stop-opacity',\n strikethroughPosition: 'strikethrough-position',\n strikethroughThickness: 'strikethrough-thickness',\n string: 0,\n stroke: 0,\n strokeDasharray: 'stroke-dasharray',\n strokeDashoffset: 'stroke-dashoffset',\n strokeLinecap: 'stroke-linecap',\n strokeLinejoin: 'stroke-linejoin',\n strokeMiterlimit: 'stroke-miterlimit',\n strokeOpacity: 'stroke-opacity',\n strokeWidth: 'stroke-width',\n surfaceScale: 'surfaceScale',\n systemLanguage: 'systemLanguage',\n tableValues: 'tableValues',\n targetX: 'targetX',\n targetY: 'targetY',\n textAnchor: 'text-anchor',\n textDecoration: 'text-decoration',\n textRendering: 'text-rendering',\n textLength: 'textLength',\n to: 0,\n transform: 0,\n u1: 0,\n u2: 0,\n underlinePosition: 'underline-position',\n underlineThickness: 'underline-thickness',\n unicode: 0,\n unicodeBidi: 'unicode-bidi',\n unicodeRange: 'unicode-range',\n unitsPerEm: 'units-per-em',\n vAlphabetic: 'v-alphabetic',\n vHanging: 'v-hanging',\n vIdeographic: 'v-ideographic',\n vMathematical: 'v-mathematical',\n values: 0,\n vectorEffect: 'vector-effect',\n version: 0,\n vertAdvY: 'vert-adv-y',\n vertOriginX: 'vert-origin-x',\n vertOriginY: 'vert-origin-y',\n viewBox: 'viewBox',\n viewTarget: 'viewTarget',\n visibility: 0,\n widths: 0,\n wordSpacing: 'word-spacing',\n writingMode: 'writing-mode',\n x: 0,\n xHeight: 'x-height',\n x1: 0,\n x2: 0,\n xChannelSelector: 'xChannelSelector',\n xlinkActuate: 'xlink:actuate',\n xlinkArcrole: 'xlink:arcrole',\n xlinkHref: 'xlink:href',\n xlinkRole: 'xlink:role',\n xlinkShow: 'xlink:show',\n xlinkTitle: 'xlink:title',\n xlinkType: 'xlink:type',\n xmlBase: 'xml:base',\n xmlns: 0,\n xmlnsXlink: 'xmlns:xlink',\n xmlLang: 'xml:lang',\n xmlSpace: 'xml:space',\n y: 0,\n y1: 0,\n y2: 0,\n yChannelSelector: 'yChannelSelector',\n z: 0,\n zoomAndPan: 'zoomAndPan'\n};\n\nvar SVGDOMPropertyConfig = {\n Properties: {},\n DOMAttributeNamespaces: {\n xlinkActuate: NS.xlink,\n xlinkArcrole: NS.xlink,\n xlinkHref: NS.xlink,\n xlinkRole: NS.xlink,\n xlinkShow: NS.xlink,\n xlinkTitle: NS.xlink,\n xlinkType: NS.xlink,\n xmlBase: NS.xml,\n xmlLang: NS.xml,\n xmlSpace: NS.xml\n },\n DOMAttributeNames: {}\n};\n\nObject.keys(ATTRS).forEach(function (key) {\n SVGDOMPropertyConfig.Properties[key] = 0;\n if (ATTRS[key]) {\n SVGDOMPropertyConfig.DOMAttributeNames[key] = ATTRS[key];\n }\n});\n\nmodule.exports = SVGDOMPropertyConfig;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SVGDOMPropertyConfig.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPropagators = require('./EventPropagators');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactInputSelection = require('./ReactInputSelection');\nvar SyntheticEvent = require('./SyntheticEvent');\n\nvar getActiveElement = require('fbjs/lib/getActiveElement');\nvar isTextInputElement = require('./isTextInputElement');\nvar shallowEqual = require('fbjs/lib/shallowEqual');\n\nvar skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11;\n\nvar eventTypes = {\n select: {\n phasedRegistrationNames: {\n bubbled: 'onSelect',\n captured: 'onSelectCapture'\n },\n dependencies: ['topBlur', 'topContextMenu', 'topFocus', 'topKeyDown', 'topKeyUp', 'topMouseDown', 'topMouseUp', 'topSelectionChange']\n }\n};\n\nvar activeElement = null;\nvar activeElementInst = null;\nvar lastSelection = null;\nvar mouseDown = false;\n\n// Track whether a listener exists for this plugin. If none exist, we do\n// not extract events. See #3639.\nvar hasListener = false;\n\n/**\n * Get an object which is a unique representation of the current selection.\n *\n * The return value will not be consistent across nodes or browsers, but\n * two identical selections on the same node will return identical objects.\n *\n * @param {DOMElement} node\n * @return {object}\n */\nfunction getSelection(node) {\n if ('selectionStart' in node && ReactInputSelection.hasSelectionCapabilities(node)) {\n return {\n start: node.selectionStart,\n end: node.selectionEnd\n };\n } else if (window.getSelection) {\n var selection = window.getSelection();\n return {\n anchorNode: selection.anchorNode,\n anchorOffset: selection.anchorOffset,\n focusNode: selection.focusNode,\n focusOffset: selection.focusOffset\n };\n } else if (document.selection) {\n var range = document.selection.createRange();\n return {\n parentElement: range.parentElement(),\n text: range.text,\n top: range.boundingTop,\n left: range.boundingLeft\n };\n }\n}\n\n/**\n * Poll selection to see whether it's changed.\n *\n * @param {object} nativeEvent\n * @return {?SyntheticEvent}\n */\nfunction constructSelectEvent(nativeEvent, nativeEventTarget) {\n // Ensure we have the right element, and that the user is not dragging a\n // selection (this matches native `select` event behavior). In HTML5, select\n // fires only on input and textarea thus if there's no focused element we\n // won't dispatch.\n if (mouseDown || activeElement == null || activeElement !== getActiveElement()) {\n return null;\n }\n\n // Only fire when selection has actually changed.\n var currentSelection = getSelection(activeElement);\n if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {\n lastSelection = currentSelection;\n\n var syntheticEvent = SyntheticEvent.getPooled(eventTypes.select, activeElementInst, nativeEvent, nativeEventTarget);\n\n syntheticEvent.type = 'select';\n syntheticEvent.target = activeElement;\n\n EventPropagators.accumulateTwoPhaseDispatches(syntheticEvent);\n\n return syntheticEvent;\n }\n\n return null;\n}\n\n/**\n * This plugin creates an `onSelect` event that normalizes select events\n * across form elements.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - contentEditable\n *\n * This differs from native browser implementations in the following ways:\n * - Fires on contentEditable fields as well as inputs.\n * - Fires for collapsed selection.\n * - Fires after user input.\n */\nvar SelectEventPlugin = {\n\n eventTypes: eventTypes,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n if (!hasListener) {\n return null;\n }\n\n var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window;\n\n switch (topLevelType) {\n // Track the input node that has focus.\n case 'topFocus':\n if (isTextInputElement(targetNode) || targetNode.contentEditable === 'true') {\n activeElement = targetNode;\n activeElementInst = targetInst;\n lastSelection = null;\n }\n break;\n case 'topBlur':\n activeElement = null;\n activeElementInst = null;\n lastSelection = null;\n break;\n\n // Don't fire the event while the user is dragging. This matches the\n // semantics of the native select event.\n case 'topMouseDown':\n mouseDown = true;\n break;\n case 'topContextMenu':\n case 'topMouseUp':\n mouseDown = false;\n return constructSelectEvent(nativeEvent, nativeEventTarget);\n\n // Chrome and IE fire non-standard event when selection is changed (and\n // sometimes when it hasn't). IE's event fires out of order with respect\n // to key and input events on deletion, so we discard it.\n //\n // Firefox doesn't support selectionchange, so check selection status\n // after each key entry. The selection changes after keydown and before\n // keyup, but we check on keydown as well in the case of holding down a\n // key, when multiple keydown events are fired but only one keyup is.\n // This is also our approach for IE handling, for the reason above.\n case 'topSelectionChange':\n if (skipSelectionChangeEvent) {\n break;\n }\n // falls through\n case 'topKeyDown':\n case 'topKeyUp':\n return constructSelectEvent(nativeEvent, nativeEventTarget);\n }\n\n return null;\n },\n\n didPutListener: function (inst, registrationName, listener) {\n if (registrationName === 'onSelect') {\n hasListener = true;\n }\n }\n};\n\nmodule.exports = SelectEventPlugin;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SelectEventPlugin.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar EventListener = require('fbjs/lib/EventListener');\nvar EventPropagators = require('./EventPropagators');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar SyntheticAnimationEvent = require('./SyntheticAnimationEvent');\nvar SyntheticClipboardEvent = require('./SyntheticClipboardEvent');\nvar SyntheticEvent = require('./SyntheticEvent');\nvar SyntheticFocusEvent = require('./SyntheticFocusEvent');\nvar SyntheticKeyboardEvent = require('./SyntheticKeyboardEvent');\nvar SyntheticMouseEvent = require('./SyntheticMouseEvent');\nvar SyntheticDragEvent = require('./SyntheticDragEvent');\nvar SyntheticTouchEvent = require('./SyntheticTouchEvent');\nvar SyntheticTransitionEvent = require('./SyntheticTransitionEvent');\nvar SyntheticUIEvent = require('./SyntheticUIEvent');\nvar SyntheticWheelEvent = require('./SyntheticWheelEvent');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar getEventCharCode = require('./getEventCharCode');\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Turns\n * ['abort', ...]\n * into\n * eventTypes = {\n * 'abort': {\n * phasedRegistrationNames: {\n * bubbled: 'onAbort',\n * captured: 'onAbortCapture',\n * },\n * dependencies: ['topAbort'],\n * },\n * ...\n * };\n * topLevelEventsToDispatchConfig = {\n * 'topAbort': { sameConfig }\n * };\n */\nvar eventTypes = {};\nvar topLevelEventsToDispatchConfig = {};\n['abort', 'animationEnd', 'animationIteration', 'animationStart', 'blur', 'canPlay', 'canPlayThrough', 'click', 'contextMenu', 'copy', 'cut', 'doubleClick', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'focus', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'progress', 'rateChange', 'reset', 'scroll', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchMove', 'touchStart', 'transitionEnd', 'volumeChange', 'waiting', 'wheel'].forEach(function (event) {\n var capitalizedEvent = event[0].toUpperCase() + event.slice(1);\n var onEvent = 'on' + capitalizedEvent;\n var topEvent = 'top' + capitalizedEvent;\n\n var type = {\n phasedRegistrationNames: {\n bubbled: onEvent,\n captured: onEvent + 'Capture'\n },\n dependencies: [topEvent]\n };\n eventTypes[event] = type;\n topLevelEventsToDispatchConfig[topEvent] = type;\n});\n\nvar onClickListeners = {};\n\nfunction getDictionaryKey(inst) {\n // Prevents V8 performance issue:\n // https://github.com/facebook/react/pull/7232\n return '.' + inst._rootNodeID;\n}\n\nfunction isInteractive(tag) {\n return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';\n}\n\nvar SimpleEventPlugin = {\n\n eventTypes: eventTypes,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType];\n if (!dispatchConfig) {\n return null;\n }\n var EventConstructor;\n switch (topLevelType) {\n case 'topAbort':\n case 'topCanPlay':\n case 'topCanPlayThrough':\n case 'topDurationChange':\n case 'topEmptied':\n case 'topEncrypted':\n case 'topEnded':\n case 'topError':\n case 'topInput':\n case 'topInvalid':\n case 'topLoad':\n case 'topLoadedData':\n case 'topLoadedMetadata':\n case 'topLoadStart':\n case 'topPause':\n case 'topPlay':\n case 'topPlaying':\n case 'topProgress':\n case 'topRateChange':\n case 'topReset':\n case 'topSeeked':\n case 'topSeeking':\n case 'topStalled':\n case 'topSubmit':\n case 'topSuspend':\n case 'topTimeUpdate':\n case 'topVolumeChange':\n case 'topWaiting':\n // HTML Events\n // @see http://www.w3.org/TR/html5/index.html#events-0\n EventConstructor = SyntheticEvent;\n break;\n case 'topKeyPress':\n // Firefox creates a keypress event for function keys too. This removes\n // the unwanted keypress events. Enter is however both printable and\n // non-printable. One would expect Tab to be as well (but it isn't).\n if (getEventCharCode(nativeEvent) === 0) {\n return null;\n }\n /* falls through */\n case 'topKeyDown':\n case 'topKeyUp':\n EventConstructor = SyntheticKeyboardEvent;\n break;\n case 'topBlur':\n case 'topFocus':\n EventConstructor = SyntheticFocusEvent;\n break;\n case 'topClick':\n // Firefox creates a click event on right mouse clicks. This removes the\n // unwanted click events.\n if (nativeEvent.button === 2) {\n return null;\n }\n /* falls through */\n case 'topDoubleClick':\n case 'topMouseDown':\n case 'topMouseMove':\n case 'topMouseUp':\n // TODO: Disabled elements should not respond to mouse events\n /* falls through */\n case 'topMouseOut':\n case 'topMouseOver':\n case 'topContextMenu':\n EventConstructor = SyntheticMouseEvent;\n break;\n case 'topDrag':\n case 'topDragEnd':\n case 'topDragEnter':\n case 'topDragExit':\n case 'topDragLeave':\n case 'topDragOver':\n case 'topDragStart':\n case 'topDrop':\n EventConstructor = SyntheticDragEvent;\n break;\n case 'topTouchCancel':\n case 'topTouchEnd':\n case 'topTouchMove':\n case 'topTouchStart':\n EventConstructor = SyntheticTouchEvent;\n break;\n case 'topAnimationEnd':\n case 'topAnimationIteration':\n case 'topAnimationStart':\n EventConstructor = SyntheticAnimationEvent;\n break;\n case 'topTransitionEnd':\n EventConstructor = SyntheticTransitionEvent;\n break;\n case 'topScroll':\n EventConstructor = SyntheticUIEvent;\n break;\n case 'topWheel':\n EventConstructor = SyntheticWheelEvent;\n break;\n case 'topCopy':\n case 'topCut':\n case 'topPaste':\n EventConstructor = SyntheticClipboardEvent;\n break;\n }\n !EventConstructor ? process.env.NODE_ENV !== 'production' ? invariant(false, 'SimpleEventPlugin: Unhandled event type, `%s`.', topLevelType) : _prodInvariant('86', topLevelType) : void 0;\n var event = EventConstructor.getPooled(dispatchConfig, targetInst, nativeEvent, nativeEventTarget);\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n },\n\n didPutListener: function (inst, registrationName, listener) {\n // Mobile Safari does not fire properly bubble click events on\n // non-interactive elements, which means delegated click listeners do not\n // fire. The workaround for this bug involves attaching an empty click\n // listener on the target node.\n // http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n if (registrationName === 'onClick' && !isInteractive(inst._tag)) {\n var key = getDictionaryKey(inst);\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n if (!onClickListeners[key]) {\n onClickListeners[key] = EventListener.listen(node, 'click', emptyFunction);\n }\n }\n },\n\n willDeleteListener: function (inst, registrationName) {\n if (registrationName === 'onClick' && !isInteractive(inst._tag)) {\n var key = getDictionaryKey(inst);\n onClickListeners[key].remove();\n delete onClickListeners[key];\n }\n }\n\n};\n\nmodule.exports = SimpleEventPlugin;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SimpleEventPlugin.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/css3-animations/#AnimationEvent-interface\n * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent\n */\nvar AnimationEventInterface = {\n animationName: null,\n elapsedTime: null,\n pseudoElement: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticAnimationEvent, AnimationEventInterface);\n\nmodule.exports = SyntheticAnimationEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticAnimationEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/clipboard-apis/\n */\nvar ClipboardEventInterface = {\n clipboardData: function (event) {\n return 'clipboardData' in event ? event.clipboardData : window.clipboardData;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface);\n\nmodule.exports = SyntheticClipboardEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticClipboardEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents\n */\nvar CompositionEventInterface = {\n data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface);\n\nmodule.exports = SyntheticCompositionEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticCompositionEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticMouseEvent = require('./SyntheticMouseEvent');\n\n/**\n * @interface DragEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar DragEventInterface = {\n dataTransfer: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface);\n\nmodule.exports = SyntheticDragEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticDragEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticUIEvent = require('./SyntheticUIEvent');\n\n/**\n * @interface FocusEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar FocusEventInterface = {\n relatedTarget: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface);\n\nmodule.exports = SyntheticFocusEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticFocusEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105\n * /#events-inputevents\n */\nvar InputEventInterface = {\n data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface);\n\nmodule.exports = SyntheticInputEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticInputEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticUIEvent = require('./SyntheticUIEvent');\n\nvar getEventCharCode = require('./getEventCharCode');\nvar getEventKey = require('./getEventKey');\nvar getEventModifierState = require('./getEventModifierState');\n\n/**\n * @interface KeyboardEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar KeyboardEventInterface = {\n key: getEventKey,\n location: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n repeat: null,\n locale: null,\n getModifierState: getEventModifierState,\n // Legacy Interface\n charCode: function (event) {\n // `charCode` is the result of a KeyPress event and represents the value of\n // the actual printable character.\n\n // KeyPress is deprecated, but its replacement is not yet final and not\n // implemented in any major browser. Only KeyPress has charCode.\n if (event.type === 'keypress') {\n return getEventCharCode(event);\n }\n return 0;\n },\n keyCode: function (event) {\n // `keyCode` is the result of a KeyDown/Up event and represents the value of\n // physical keyboard key.\n\n // The actual meaning of the value depends on the users' keyboard layout\n // which cannot be detected. Assuming that it is a US keyboard layout\n // provides a surprisingly accurate mapping for US and European users.\n // Due to this, it is left to the user to implement at this time.\n if (event.type === 'keydown' || event.type === 'keyup') {\n return event.keyCode;\n }\n return 0;\n },\n which: function (event) {\n // `which` is an alias for either `keyCode` or `charCode` depending on the\n // type of the event.\n if (event.type === 'keypress') {\n return getEventCharCode(event);\n }\n if (event.type === 'keydown' || event.type === 'keyup') {\n return event.keyCode;\n }\n return 0;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface);\n\nmodule.exports = SyntheticKeyboardEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticKeyboardEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticUIEvent = require('./SyntheticUIEvent');\n\nvar getEventModifierState = require('./getEventModifierState');\n\n/**\n * @interface TouchEvent\n * @see http://www.w3.org/TR/touch-events/\n */\nvar TouchEventInterface = {\n touches: null,\n targetTouches: null,\n changedTouches: null,\n altKey: null,\n metaKey: null,\n ctrlKey: null,\n shiftKey: null,\n getModifierState: getEventModifierState\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface);\n\nmodule.exports = SyntheticTouchEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticTouchEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-\n * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent\n */\nvar TransitionEventInterface = {\n propertyName: null,\n elapsedTime: null,\n pseudoElement: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticTransitionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticTransitionEvent, TransitionEventInterface);\n\nmodule.exports = SyntheticTransitionEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticTransitionEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticMouseEvent = require('./SyntheticMouseEvent');\n\n/**\n * @interface WheelEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar WheelEventInterface = {\n deltaX: function (event) {\n return 'deltaX' in event ? event.deltaX :\n // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).\n 'wheelDeltaX' in event ? -event.wheelDeltaX : 0;\n },\n deltaY: function (event) {\n return 'deltaY' in event ? event.deltaY :\n // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).\n 'wheelDeltaY' in event ? -event.wheelDeltaY :\n // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).\n 'wheelDelta' in event ? -event.wheelDelta : 0;\n },\n deltaZ: null,\n\n // Browsers without \"deltaMode\" is reporting in raw wheel delta where one\n // notch on the scroll is always +/- 120, roughly equivalent to pixels.\n // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or\n // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.\n deltaMode: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticMouseEvent}\n */\nfunction SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);\n\nmodule.exports = SyntheticWheelEvent;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/SyntheticWheelEvent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar MOD = 65521;\n\n// adler32 is not cryptographically strong, and is only used to sanity check that\n// markup generated on the server matches the markup generated on the client.\n// This implementation (a modified version of the SheetJS version) has been optimized\n// for our use case, at the expense of conforming to the adler32 specification\n// for non-ascii inputs.\nfunction adler32(data) {\n var a = 1;\n var b = 0;\n var i = 0;\n var l = data.length;\n var m = l & ~0x3;\n while (i < m) {\n var n = Math.min(i + 4096, m);\n for (; i < n; i += 4) {\n b += (a += data.charCodeAt(i)) + (a += data.charCodeAt(i + 1)) + (a += data.charCodeAt(i + 2)) + (a += data.charCodeAt(i + 3));\n }\n a %= MOD;\n b %= MOD;\n }\n for (; i < l; i++) {\n b += a += data.charCodeAt(i);\n }\n a %= MOD;\n b %= MOD;\n return a | b << 16;\n}\n\nmodule.exports = adler32;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/adler32.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar CSSProperty = require('./CSSProperty');\nvar warning = require('fbjs/lib/warning');\n\nvar isUnitlessNumber = CSSProperty.isUnitlessNumber;\nvar styleWarnings = {};\n\n/**\n * Convert a value into the proper css writable value. The style name `name`\n * should be logical (no hyphens), as specified\n * in `CSSProperty.isUnitlessNumber`.\n *\n * @param {string} name CSS property name such as `topMargin`.\n * @param {*} value CSS property value such as `10px`.\n * @param {ReactDOMComponent} component\n * @return {string} Normalized style value with dimensions applied.\n */\nfunction dangerousStyleValue(name, value, component) {\n // Note that we've removed escapeTextForBrowser() calls here since the\n // whole string will be escaped when the attribute is injected into\n // the markup. If you provide unsafe user data here they can inject\n // arbitrary CSS which may be problematic (I couldn't repro this):\n // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet\n // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/\n // This is not an XSS hole but instead a potential CSS injection issue\n // which has lead to a greater discussion about how we're going to\n // trust URLs moving forward. See #2115901\n\n var isEmpty = value == null || typeof value === 'boolean' || value === '';\n if (isEmpty) {\n return '';\n }\n\n var isNonNumeric = isNaN(value);\n if (isNonNumeric || value === 0 || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) {\n return '' + value; // cast to string\n }\n\n if (typeof value === 'string') {\n if (process.env.NODE_ENV !== 'production') {\n // Allow '0' to pass through without warning. 0 is already special and\n // doesn't require units, so we don't need to warn about it.\n if (component && value !== '0') {\n var owner = component._currentElement._owner;\n var ownerName = owner ? owner.getName() : null;\n if (ownerName && !styleWarnings[ownerName]) {\n styleWarnings[ownerName] = {};\n }\n var warned = false;\n if (ownerName) {\n var warnings = styleWarnings[ownerName];\n warned = warnings[name];\n if (!warned) {\n warnings[name] = true;\n }\n }\n if (!warned) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'a `%s` tag (owner: `%s`) was passed a numeric string value ' + 'for CSS property `%s` (value: `%s`) which will be treated ' + 'as a unitless number in a future version of React.', component._currentElement.type, ownerName || 'unknown', name, value) : void 0;\n }\n }\n }\n value = value.trim();\n }\n return value + 'px';\n}\n\nmodule.exports = dangerousStyleValue;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/dangerousStyleValue.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('react/lib/ReactCurrentOwner');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactInstanceMap = require('./ReactInstanceMap');\n\nvar getHostComponentFromComposite = require('./getHostComponentFromComposite');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Returns the DOM node rendered by this element.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.finddomnode\n *\n * @param {ReactComponent|DOMElement} componentOrElement\n * @return {?DOMElement} The root node of this element.\n */\nfunction findDOMNode(componentOrElement) {\n if (process.env.NODE_ENV !== 'production') {\n var owner = ReactCurrentOwner.current;\n if (owner !== null) {\n process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing findDOMNode inside its render(). ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : void 0;\n owner._warnedAboutRefsInRender = true;\n }\n }\n if (componentOrElement == null) {\n return null;\n }\n if (componentOrElement.nodeType === 1) {\n return componentOrElement;\n }\n\n var inst = ReactInstanceMap.get(componentOrElement);\n if (inst) {\n inst = getHostComponentFromComposite(inst);\n return inst ? ReactDOMComponentTree.getNodeFromInstance(inst) : null;\n }\n\n if (typeof componentOrElement.render === 'function') {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'findDOMNode was called on an unmounted component.') : _prodInvariant('44') : void 0;\n } else {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Element appears to be neither ReactComponent nor DOMNode (keys: %s)', Object.keys(componentOrElement)) : _prodInvariant('45', Object.keys(componentOrElement)) : void 0;\n }\n}\n\nmodule.exports = findDOMNode;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/findDOMNode.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar KeyEscapeUtils = require('./KeyEscapeUtils');\nvar traverseAllChildren = require('./traverseAllChildren');\nvar warning = require('fbjs/lib/warning');\n\nvar ReactComponentTreeHook;\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'test') {\n // Temporary hack.\n // Inline requires don't work well with Jest:\n // https://github.com/facebook/react/issues/7240\n // Remove the inline requires when we don't need them anymore:\n // https://github.com/facebook/react/pull/7178\n ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook');\n}\n\n/**\n * @param {function} traverseContext Context passed through traversal.\n * @param {?ReactComponent} child React child component.\n * @param {!string} name String name of key path to child.\n * @param {number=} selfDebugID Optional debugID of the current internal instance.\n */\nfunction flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) {\n // We found a component instance.\n if (traverseContext && typeof traverseContext === 'object') {\n var result = traverseContext;\n var keyUnique = result[name] === undefined;\n if (process.env.NODE_ENV !== 'production') {\n if (!ReactComponentTreeHook) {\n ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook');\n }\n if (!keyUnique) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0;\n }\n }\n if (keyUnique && child != null) {\n result[name] = child;\n }\n }\n}\n\n/**\n * Flattens children that are typically specified as `props.children`. Any null\n * children will not be included in the resulting object.\n * @return {!object} flattened children keyed by name.\n */\nfunction flattenChildren(children, selfDebugID) {\n if (children == null) {\n return children;\n }\n var result = {};\n\n if (process.env.NODE_ENV !== 'production') {\n traverseAllChildren(children, function (traverseContext, child, name) {\n return flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID);\n }, result);\n } else {\n traverseAllChildren(children, flattenSingleChildIntoContext, result);\n }\n return result;\n}\n\nmodule.exports = flattenChildren;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/flattenChildren.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar getEventCharCode = require('./getEventCharCode');\n\n/**\n * Normalization of deprecated HTML5 `key` values\n * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names\n */\nvar normalizeKey = {\n 'Esc': 'Escape',\n 'Spacebar': ' ',\n 'Left': 'ArrowLeft',\n 'Up': 'ArrowUp',\n 'Right': 'ArrowRight',\n 'Down': 'ArrowDown',\n 'Del': 'Delete',\n 'Win': 'OS',\n 'Menu': 'ContextMenu',\n 'Apps': 'ContextMenu',\n 'Scroll': 'ScrollLock',\n 'MozPrintableKey': 'Unidentified'\n};\n\n/**\n * Translation from legacy `keyCode` to HTML5 `key`\n * Only special keys supported, all others depend on keyboard layout or browser\n * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names\n */\nvar translateToKey = {\n 8: 'Backspace',\n 9: 'Tab',\n 12: 'Clear',\n 13: 'Enter',\n 16: 'Shift',\n 17: 'Control',\n 18: 'Alt',\n 19: 'Pause',\n 20: 'CapsLock',\n 27: 'Escape',\n 32: ' ',\n 33: 'PageUp',\n 34: 'PageDown',\n 35: 'End',\n 36: 'Home',\n 37: 'ArrowLeft',\n 38: 'ArrowUp',\n 39: 'ArrowRight',\n 40: 'ArrowDown',\n 45: 'Insert',\n 46: 'Delete',\n 112: 'F1', 113: 'F2', 114: 'F3', 115: 'F4', 116: 'F5', 117: 'F6',\n 118: 'F7', 119: 'F8', 120: 'F9', 121: 'F10', 122: 'F11', 123: 'F12',\n 144: 'NumLock',\n 145: 'ScrollLock',\n 224: 'Meta'\n};\n\n/**\n * @param {object} nativeEvent Native browser event.\n * @return {string} Normalized `key` property.\n */\nfunction getEventKey(nativeEvent) {\n if (nativeEvent.key) {\n // Normalize inconsistent values reported by browsers due to\n // implementations of a working draft specification.\n\n // FireFox implements `key` but returns `MozPrintableKey` for all\n // printable characters (normalized to `Unidentified`), ignore it.\n var key = normalizeKey[nativeEvent.key] || nativeEvent.key;\n if (key !== 'Unidentified') {\n return key;\n }\n }\n\n // Browser does not implement `key`, polyfill as much of it as we can.\n if (nativeEvent.type === 'keypress') {\n var charCode = getEventCharCode(nativeEvent);\n\n // The enter-key is technically both printable and non-printable and can\n // thus be captured by `keypress`, no other non-printable key should.\n return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);\n }\n if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {\n // While user keyboard layout determines the actual meaning of each\n // `keyCode` value, almost all function keys have a universal value.\n return translateToKey[nativeEvent.keyCode] || 'Unidentified';\n }\n return '';\n}\n\nmodule.exports = getEventKey;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/getEventKey.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar nextDebugID = 1;\n\nfunction getNextDebugID() {\n return nextDebugID++;\n}\n\nmodule.exports = getNextDebugID;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/getNextDebugID.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Given any node return the first leaf node without children.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {DOMElement|DOMTextNode}\n */\n\nfunction getLeafNode(node) {\n while (node && node.firstChild) {\n node = node.firstChild;\n }\n return node;\n}\n\n/**\n * Get the next sibling within a container. This will walk up the\n * DOM if a node's siblings have been exhausted.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {?DOMElement|DOMTextNode}\n */\nfunction getSiblingNode(node) {\n while (node) {\n if (node.nextSibling) {\n return node.nextSibling;\n }\n node = node.parentNode;\n }\n}\n\n/**\n * Get object describing the nodes which contain characters at offset.\n *\n * @param {DOMElement|DOMTextNode} root\n * @param {number} offset\n * @return {?object}\n */\nfunction getNodeForCharacterOffset(root, offset) {\n var node = getLeafNode(root);\n var nodeStart = 0;\n var nodeEnd = 0;\n\n while (node) {\n if (node.nodeType === 3) {\n nodeEnd = nodeStart + node.textContent.length;\n\n if (nodeStart <= offset && nodeEnd >= offset) {\n return {\n node: node,\n offset: offset - nodeStart\n };\n }\n\n nodeStart = nodeEnd;\n }\n\n node = getLeafNode(getSiblingNode(node));\n }\n}\n\nmodule.exports = getNodeForCharacterOffset;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/getNodeForCharacterOffset.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar escapeTextContentForBrowser = require('./escapeTextContentForBrowser');\n\n/**\n * Escapes attribute value to prevent scripting attacks.\n *\n * @param {*} value Value to escape.\n * @return {string} An escaped string.\n */\nfunction quoteAttributeValueForBrowser(value) {\n return '\"' + escapeTextContentForBrowser(value) + '\"';\n}\n\nmodule.exports = quoteAttributeValueForBrowser;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/quoteAttributeValueForBrowser.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactMount = require('./ReactMount');\n\nmodule.exports = ReactMount.renderSubtreeIntoContainer;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/lib/renderSubtreeIntoContainer.js","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\nvar _hyphenPattern = /-(.)/g;\n\n/**\n * Camelcases a hyphenated string, for example:\n *\n * > camelize('background-color')\n * < \"backgroundColor\"\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelize(string) {\n return string.replace(_hyphenPattern, function (_, character) {\n return character.toUpperCase();\n });\n}\n\nmodule.exports = camelize;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/camelize.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n'use strict';\n\nvar camelize = require('./camelize');\n\nvar msPattern = /^-ms-/;\n\n/**\n * Camelcases a hyphenated CSS property name, for example:\n *\n * > camelizeStyleName('background-color')\n * < \"backgroundColor\"\n * > camelizeStyleName('-moz-transition')\n * < \"MozTransition\"\n * > camelizeStyleName('-ms-transition')\n * < \"msTransition\"\n *\n * As Andi Smith suggests\n * (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix\n * is converted to lowercase `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelizeStyleName(string) {\n return camelize(string.replace(msPattern, 'ms-'));\n}\n\nmodule.exports = camelizeStyleName;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/camelizeStyleName.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\nvar isTextNode = require('./isTextNode');\n\n/*eslint-disable no-bitwise */\n\n/**\n * Checks if a given DOM node contains or is another DOM node.\n */\nfunction containsNode(outerNode, innerNode) {\n if (!outerNode || !innerNode) {\n return false;\n } else if (outerNode === innerNode) {\n return true;\n } else if (isTextNode(outerNode)) {\n return false;\n } else if (isTextNode(innerNode)) {\n return containsNode(outerNode, innerNode.parentNode);\n } else if ('contains' in outerNode) {\n return outerNode.contains(innerNode);\n } else if (outerNode.compareDocumentPosition) {\n return !!(outerNode.compareDocumentPosition(innerNode) & 16);\n } else {\n return false;\n }\n}\n\nmodule.exports = containsNode;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/containsNode.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\nvar invariant = require('./invariant');\n\n/**\n * Convert array-like objects to arrays.\n *\n * This API assumes the caller knows the contents of the data type. For less\n * well defined inputs use createArrayFromMixed.\n *\n * @param {object|function|filelist} obj\n * @return {array}\n */\nfunction toArray(obj) {\n var length = obj.length;\n\n // Some browsers builtin objects can report typeof 'function' (e.g. NodeList\n // in old versions of Safari).\n !(!Array.isArray(obj) && (typeof obj === 'object' || typeof obj === 'function')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : void 0;\n\n !(typeof length === 'number') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : void 0;\n\n !(length === 0 || length - 1 in obj) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : void 0;\n\n !(typeof obj.callee !== 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object can\\'t be `arguments`. Use rest params ' + '(function(...args) {}) or Array.from() instead.') : invariant(false) : void 0;\n\n // Old IE doesn't give collections access to hasOwnProperty. Assume inputs\n // without method will throw during the slice call and skip straight to the\n // fallback.\n if (obj.hasOwnProperty) {\n try {\n return Array.prototype.slice.call(obj);\n } catch (e) {\n // IE < 9 does not support Array#slice on collections objects\n }\n }\n\n // Fall back to copying key by key. This assumes all keys have a value,\n // so will not preserve sparsely populated inputs.\n var ret = Array(length);\n for (var ii = 0; ii < length; ii++) {\n ret[ii] = obj[ii];\n }\n return ret;\n}\n\n/**\n * Perform a heuristic test to determine if an object is \"array-like\".\n *\n * A monk asked Joshu, a Zen master, \"Has a dog Buddha nature?\"\n * Joshu replied: \"Mu.\"\n *\n * This function determines if its argument has \"array nature\": it returns\n * true if the argument is an actual array, an `arguments' object, or an\n * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()).\n *\n * It will return false for other array-like objects like Filelist.\n *\n * @param {*} obj\n * @return {boolean}\n */\nfunction hasArrayNature(obj) {\n return (\n // not null/false\n !!obj && (\n // arrays are objects, NodeLists are functions in Safari\n typeof obj == 'object' || typeof obj == 'function') &&\n // quacks like an array\n 'length' in obj &&\n // not window\n !('setInterval' in obj) &&\n // no DOM node should be considered an array-like\n // a 'select' element has 'length' and 'item' properties on IE8\n typeof obj.nodeType != 'number' && (\n // a real array\n Array.isArray(obj) ||\n // arguments\n 'callee' in obj ||\n // HTMLCollection/NodeList\n 'item' in obj)\n );\n}\n\n/**\n * Ensure that the argument is an array by wrapping it in an array if it is not.\n * Creates a copy of the argument if it is already an array.\n *\n * This is mostly useful idiomatically:\n *\n * var createArrayFromMixed = require('createArrayFromMixed');\n *\n * function takesOneOrMoreThings(things) {\n * things = createArrayFromMixed(things);\n * ...\n * }\n *\n * This allows you to treat `things' as an array, but accept scalars in the API.\n *\n * If you need to convert an array-like object, like `arguments`, into an array\n * use toArray instead.\n *\n * @param {*} obj\n * @return {array}\n */\nfunction createArrayFromMixed(obj) {\n if (!hasArrayNature(obj)) {\n return [obj];\n } else if (Array.isArray(obj)) {\n return obj.slice();\n } else {\n return toArray(obj);\n }\n}\n\nmodule.exports = createArrayFromMixed;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/createArrayFromMixed.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n/*eslint-disable fb-www/unsafe-html*/\n\nvar ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar createArrayFromMixed = require('./createArrayFromMixed');\nvar getMarkupWrap = require('./getMarkupWrap');\nvar invariant = require('./invariant');\n\n/**\n * Dummy container used to render all markup.\n */\nvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Pattern used by `getNodeName`.\n */\nvar nodeNamePattern = /^\\s*<(\\w+)/;\n\n/**\n * Extracts the `nodeName` of the first element in a string of markup.\n *\n * @param {string} markup String of markup.\n * @return {?string} Node name of the supplied markup.\n */\nfunction getNodeName(markup) {\n var nodeNameMatch = markup.match(nodeNamePattern);\n return nodeNameMatch && nodeNameMatch[1].toLowerCase();\n}\n\n/**\n * Creates an array containing the nodes rendered from the supplied markup. The\n * optionally supplied `handleScript` function will be invoked once for each\n * <script> element that is rendered. If no `handleScript` function is supplied,\n * an exception is thrown if any <script> elements are rendered.\n *\n * @param {string} markup A string of valid HTML markup.\n * @param {?function} handleScript Invoked once for each rendered <script>.\n * @return {array<DOMElement|DOMTextNode>} An array of rendered nodes.\n */\nfunction createNodesFromMarkup(markup, handleScript) {\n var node = dummyNode;\n !!!dummyNode ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup dummy not initialized') : invariant(false) : void 0;\n var nodeName = getNodeName(markup);\n\n var wrap = nodeName && getMarkupWrap(nodeName);\n if (wrap) {\n node.innerHTML = wrap[1] + markup + wrap[2];\n\n var wrapDepth = wrap[0];\n while (wrapDepth--) {\n node = node.lastChild;\n }\n } else {\n node.innerHTML = markup;\n }\n\n var scripts = node.getElementsByTagName('script');\n if (scripts.length) {\n !handleScript ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup(...): Unexpected <script> element rendered.') : invariant(false) : void 0;\n createArrayFromMixed(scripts).forEach(handleScript);\n }\n\n var nodes = Array.from(node.childNodes);\n while (node.lastChild) {\n node.removeChild(node.lastChild);\n }\n return nodes;\n}\n\nmodule.exports = createNodesFromMarkup;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/createNodesFromMarkup.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n/*eslint-disable fb-www/unsafe-html */\n\nvar ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar invariant = require('./invariant');\n\n/**\n * Dummy container used to detect which wraps are necessary.\n */\nvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Some browsers cannot use `innerHTML` to render certain elements standalone,\n * so we wrap them, render the wrapped nodes, then extract the desired node.\n *\n * In IE8, certain elements cannot render alone, so wrap all elements ('*').\n */\n\nvar shouldWrap = {};\n\nvar selectWrap = [1, '<select multiple=\"true\">', '</select>'];\nvar tableWrap = [1, '<table>', '</table>'];\nvar trWrap = [3, '<table><tbody><tr>', '</tr></tbody></table>'];\n\nvar svgWrap = [1, '<svg xmlns=\"http://www.w3.org/2000/svg\">', '</svg>'];\n\nvar markupWrap = {\n '*': [1, '?<div>', '</div>'],\n\n 'area': [1, '<map>', '</map>'],\n 'col': [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],\n 'legend': [1, '<fieldset>', '</fieldset>'],\n 'param': [1, '<object>', '</object>'],\n 'tr': [2, '<table><tbody>', '</tbody></table>'],\n\n 'optgroup': selectWrap,\n 'option': selectWrap,\n\n 'caption': tableWrap,\n 'colgroup': tableWrap,\n 'tbody': tableWrap,\n 'tfoot': tableWrap,\n 'thead': tableWrap,\n\n 'td': trWrap,\n 'th': trWrap\n};\n\n// Initialize the SVG elements since we know they'll always need to be wrapped\n// consistently. If they are created inside a <div> they will be initialized in\n// the wrong namespace (and will not display).\nvar svgElements = ['circle', 'clipPath', 'defs', 'ellipse', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'text', 'tspan'];\nsvgElements.forEach(function (nodeName) {\n markupWrap[nodeName] = svgWrap;\n shouldWrap[nodeName] = true;\n});\n\n/**\n * Gets the markup wrap configuration for the supplied `nodeName`.\n *\n * NOTE: This lazily detects which wraps are necessary for the current browser.\n *\n * @param {string} nodeName Lowercase `nodeName`.\n * @return {?array} Markup wrap configuration, if applicable.\n */\nfunction getMarkupWrap(nodeName) {\n !!!dummyNode ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Markup wrapping node not initialized') : invariant(false) : void 0;\n if (!markupWrap.hasOwnProperty(nodeName)) {\n nodeName = '*';\n }\n if (!shouldWrap.hasOwnProperty(nodeName)) {\n if (nodeName === '*') {\n dummyNode.innerHTML = '<link />';\n } else {\n dummyNode.innerHTML = '<' + nodeName + '></' + nodeName + '>';\n }\n shouldWrap[nodeName] = !dummyNode.firstChild;\n }\n return shouldWrap[nodeName] ? markupWrap[nodeName] : null;\n}\n\nmodule.exports = getMarkupWrap;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/getMarkupWrap.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n'use strict';\n\n/**\n * Gets the scroll position of the supplied element or window.\n *\n * The return values are unbounded, unlike `getScrollPosition`. This means they\n * may be negative or exceed the element boundaries (which is possible using\n * inertial scrolling).\n *\n * @param {DOMWindow|DOMElement} scrollable\n * @return {object} Map with `x` and `y` keys.\n */\n\nfunction getUnboundedScrollPosition(scrollable) {\n if (scrollable === window) {\n return {\n x: window.pageXOffset || document.documentElement.scrollLeft,\n y: window.pageYOffset || document.documentElement.scrollTop\n };\n }\n return {\n x: scrollable.scrollLeft,\n y: scrollable.scrollTop\n };\n}\n\nmodule.exports = getUnboundedScrollPosition;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/getUnboundedScrollPosition.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\nvar _uppercasePattern = /([A-Z])/g;\n\n/**\n * Hyphenates a camelcased string, for example:\n *\n * > hyphenate('backgroundColor')\n * < \"background-color\"\n *\n * For CSS style names, use `hyphenateStyleName` instead which works properly\n * with all vendor prefixes, including `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenate(string) {\n return string.replace(_uppercasePattern, '-$1').toLowerCase();\n}\n\nmodule.exports = hyphenate;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/hyphenate.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n'use strict';\n\nvar hyphenate = require('./hyphenate');\n\nvar msPattern = /^ms-/;\n\n/**\n * Hyphenates a camelcased CSS property name, for example:\n *\n * > hyphenateStyleName('backgroundColor')\n * < \"background-color\"\n * > hyphenateStyleName('MozTransition')\n * < \"-moz-transition\"\n * > hyphenateStyleName('msTransition')\n * < \"-ms-transition\"\n *\n * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix\n * is converted to `-ms-`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenateStyleName(string) {\n return hyphenate(string).replace(msPattern, '-ms-');\n}\n\nmodule.exports = hyphenateStyleName;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/hyphenateStyleName.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM node.\n */\nfunction isNode(object) {\n return !!(object && (typeof Node === 'function' ? object instanceof Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));\n}\n\nmodule.exports = isNode;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/isNode.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\nvar isNode = require('./isNode');\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM text node.\n */\nfunction isTextNode(object) {\n return isNode(object) && object.nodeType == 3;\n}\n\nmodule.exports = isTextNode;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/isTextNode.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * Memoizes the return value of a function that accepts one string argument.\n */\n\nfunction memoizeStringOnly(callback) {\n var cache = {};\n return function (string) {\n if (!cache.hasOwnProperty(string)) {\n cache[string] = callback.call(this, string);\n }\n return cache[string];\n };\n}\n\nmodule.exports = memoizeStringOnly;\n\n\n// WEBPACK FOOTER //\n// ./~/react-dom/~/fbjs/lib/memoizeStringOnly.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar React = require('./React');\n\nvar ReactTransitionGroup = require('./ReactTransitionGroup');\nvar ReactCSSTransitionGroupChild = require('./ReactCSSTransitionGroupChild');\n\nfunction createTransitionTimeoutPropValidator(transitionType) {\n var timeoutPropName = 'transition' + transitionType + 'Timeout';\n var enabledPropName = 'transition' + transitionType;\n\n return function (props) {\n // If the transition is enabled\n if (props[enabledPropName]) {\n // If no timeout duration is provided\n if (props[timeoutPropName] == null) {\n return new Error(timeoutPropName + ' wasn\\'t supplied to ReactCSSTransitionGroup: ' + 'this can cause unreliable animations and won\\'t be supported in ' + 'a future version of React. See ' + 'https://fb.me/react-animation-transition-group-timeout for more ' + 'information.');\n\n // If the duration isn't a number\n } else if (typeof props[timeoutPropName] !== 'number') {\n return new Error(timeoutPropName + ' must be a number (in milliseconds)');\n }\n }\n };\n}\n\n/**\n * An easy way to perform CSS transitions and animations when a React component\n * enters or leaves the DOM.\n * See https://facebook.github.io/react/docs/animation.html#high-level-api-reactcsstransitiongroup\n */\n\nvar ReactCSSTransitionGroup = function (_React$Component) {\n _inherits(ReactCSSTransitionGroup, _React$Component);\n\n function ReactCSSTransitionGroup() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, ReactCSSTransitionGroup);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this._wrapChild = function (child) {\n // We need to provide this childFactory so that\n // ReactCSSTransitionGroupChild can receive updates to name, enter, and\n // leave while it is leaving.\n return React.createElement(ReactCSSTransitionGroupChild, {\n name: _this.props.transitionName,\n appear: _this.props.transitionAppear,\n enter: _this.props.transitionEnter,\n leave: _this.props.transitionLeave,\n appearTimeout: _this.props.transitionAppearTimeout,\n enterTimeout: _this.props.transitionEnterTimeout,\n leaveTimeout: _this.props.transitionLeaveTimeout\n }, child);\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n ReactCSSTransitionGroup.prototype.render = function render() {\n return React.createElement(ReactTransitionGroup, _assign({}, this.props, { childFactory: this._wrapChild }));\n };\n\n return ReactCSSTransitionGroup;\n}(React.Component);\n\nReactCSSTransitionGroup.displayName = 'ReactCSSTransitionGroup';\nReactCSSTransitionGroup.propTypes = {\n transitionName: ReactCSSTransitionGroupChild.propTypes.name,\n\n transitionAppear: React.PropTypes.bool,\n transitionEnter: React.PropTypes.bool,\n transitionLeave: React.PropTypes.bool,\n transitionAppearTimeout: createTransitionTimeoutPropValidator('Appear'),\n transitionEnterTimeout: createTransitionTimeoutPropValidator('Enter'),\n transitionLeaveTimeout: createTransitionTimeoutPropValidator('Leave')\n};\nReactCSSTransitionGroup.defaultProps = {\n transitionAppear: false,\n transitionEnter: true,\n transitionLeave: true\n};\n\n\nmodule.exports = ReactCSSTransitionGroup;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactCSSTransitionGroup.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar React = require('./React');\nvar ReactAddonsDOMDependencies = require('./ReactAddonsDOMDependencies');\n\nvar CSSCore = require('fbjs/lib/CSSCore');\nvar ReactTransitionEvents = require('./ReactTransitionEvents');\n\nvar onlyChild = require('./onlyChild');\n\nvar TICK = 17;\n\nvar ReactCSSTransitionGroupChild = React.createClass({\n displayName: 'ReactCSSTransitionGroupChild',\n\n propTypes: {\n name: React.PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.shape({\n enter: React.PropTypes.string,\n leave: React.PropTypes.string,\n active: React.PropTypes.string\n }), React.PropTypes.shape({\n enter: React.PropTypes.string,\n enterActive: React.PropTypes.string,\n leave: React.PropTypes.string,\n leaveActive: React.PropTypes.string,\n appear: React.PropTypes.string,\n appearActive: React.PropTypes.string\n })]).isRequired,\n\n // Once we require timeouts to be specified, we can remove the\n // boolean flags (appear etc.) and just accept a number\n // or a bool for the timeout flags (appearTimeout etc.)\n appear: React.PropTypes.bool,\n enter: React.PropTypes.bool,\n leave: React.PropTypes.bool,\n appearTimeout: React.PropTypes.number,\n enterTimeout: React.PropTypes.number,\n leaveTimeout: React.PropTypes.number\n },\n\n transition: function (animationType, finishCallback, userSpecifiedDelay) {\n var node = ReactAddonsDOMDependencies.getReactDOM().findDOMNode(this);\n\n if (!node) {\n if (finishCallback) {\n finishCallback();\n }\n return;\n }\n\n var className = this.props.name[animationType] || this.props.name + '-' + animationType;\n var activeClassName = this.props.name[animationType + 'Active'] || className + '-active';\n var timeout = null;\n\n var endListener = function (e) {\n if (e && e.target !== node) {\n return;\n }\n\n clearTimeout(timeout);\n\n CSSCore.removeClass(node, className);\n CSSCore.removeClass(node, activeClassName);\n\n ReactTransitionEvents.removeEndEventListener(node, endListener);\n\n // Usually this optional callback is used for informing an owner of\n // a leave animation and telling it to remove the child.\n if (finishCallback) {\n finishCallback();\n }\n };\n\n CSSCore.addClass(node, className);\n\n // Need to do this to actually trigger a transition.\n this.queueClassAndNode(activeClassName, node);\n\n // If the user specified a timeout delay.\n if (userSpecifiedDelay) {\n // Clean-up the animation after the specified delay\n timeout = setTimeout(endListener, userSpecifiedDelay);\n this.transitionTimeouts.push(timeout);\n } else {\n // DEPRECATED: this listener will be removed in a future version of react\n ReactTransitionEvents.addEndEventListener(node, endListener);\n }\n },\n\n queueClassAndNode: function (className, node) {\n this.classNameAndNodeQueue.push({\n className: className,\n node: node\n });\n\n if (!this.timeout) {\n this.timeout = setTimeout(this.flushClassNameAndNodeQueue, TICK);\n }\n },\n\n flushClassNameAndNodeQueue: function () {\n if (this.isMounted()) {\n this.classNameAndNodeQueue.forEach(function (obj) {\n CSSCore.addClass(obj.node, obj.className);\n });\n }\n this.classNameAndNodeQueue.length = 0;\n this.timeout = null;\n },\n\n componentWillMount: function () {\n this.classNameAndNodeQueue = [];\n this.transitionTimeouts = [];\n },\n\n componentWillUnmount: function () {\n if (this.timeout) {\n clearTimeout(this.timeout);\n }\n this.transitionTimeouts.forEach(function (timeout) {\n clearTimeout(timeout);\n });\n\n this.classNameAndNodeQueue.length = 0;\n },\n\n componentWillAppear: function (done) {\n if (this.props.appear) {\n this.transition('appear', done, this.props.appearTimeout);\n } else {\n done();\n }\n },\n\n componentWillEnter: function (done) {\n if (this.props.enter) {\n this.transition('enter', done, this.props.enterTimeout);\n } else {\n done();\n }\n },\n\n componentWillLeave: function (done) {\n if (this.props.leave) {\n this.transition('leave', done, this.props.leaveTimeout);\n } else {\n done();\n }\n },\n\n render: function () {\n return onlyChild(this.props.children);\n }\n});\n\nmodule.exports = ReactCSSTransitionGroupChild;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactCSSTransitionGroupChild.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar PooledClass = require('./PooledClass');\nvar ReactElement = require('./ReactElement');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar traverseAllChildren = require('./traverseAllChildren');\n\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\nvar fourArgumentPooler = PooledClass.fourArgumentPooler;\n\nvar userProvidedKeyEscapeRegex = /\\/+/g;\nfunction escapeUserProvidedKey(text) {\n return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * traversal. Allows avoiding binding callbacks.\n *\n * @constructor ForEachBookKeeping\n * @param {!function} forEachFunction Function to perform traversal with.\n * @param {?*} forEachContext Context to perform context with.\n */\nfunction ForEachBookKeeping(forEachFunction, forEachContext) {\n this.func = forEachFunction;\n this.context = forEachContext;\n this.count = 0;\n}\nForEachBookKeeping.prototype.destructor = function () {\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler);\n\nfunction forEachSingleChild(bookKeeping, child, name) {\n var func = bookKeeping.func,\n context = bookKeeping.context;\n\n func.call(context, child, bookKeeping.count++);\n}\n\n/**\n * Iterates through children that are typically specified as `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.foreach\n *\n * The provided forEachFunc(child, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} forEachFunc\n * @param {*} forEachContext Context for forEachContext.\n */\nfunction forEachChildren(children, forEachFunc, forEachContext) {\n if (children == null) {\n return children;\n }\n var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext);\n traverseAllChildren(children, forEachSingleChild, traverseContext);\n ForEachBookKeeping.release(traverseContext);\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * mapping. Allows avoiding binding callbacks.\n *\n * @constructor MapBookKeeping\n * @param {!*} mapResult Object containing the ordered map of results.\n * @param {!function} mapFunction Function to perform mapping with.\n * @param {?*} mapContext Context to perform mapping with.\n */\nfunction MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {\n this.result = mapResult;\n this.keyPrefix = keyPrefix;\n this.func = mapFunction;\n this.context = mapContext;\n this.count = 0;\n}\nMapBookKeeping.prototype.destructor = function () {\n this.result = null;\n this.keyPrefix = null;\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler);\n\nfunction mapSingleChildIntoContext(bookKeeping, child, childKey) {\n var result = bookKeeping.result,\n keyPrefix = bookKeeping.keyPrefix,\n func = bookKeeping.func,\n context = bookKeeping.context;\n\n\n var mappedChild = func.call(context, child, bookKeeping.count++);\n if (Array.isArray(mappedChild)) {\n mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument);\n } else if (mappedChild != null) {\n if (ReactElement.isValidElement(mappedChild)) {\n mappedChild = ReactElement.cloneAndReplaceKey(mappedChild,\n // Keep both the (mapped) and old keys if they differ, just as\n // traverseAllChildren used to do for objects as children\n keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);\n }\n result.push(mappedChild);\n }\n}\n\nfunction mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {\n var escapedPrefix = '';\n if (prefix != null) {\n escapedPrefix = escapeUserProvidedKey(prefix) + '/';\n }\n var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context);\n traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);\n MapBookKeeping.release(traverseContext);\n}\n\n/**\n * Maps children that are typically specified as `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.map\n *\n * The provided mapFunction(child, key, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} func The map function.\n * @param {*} context Context for mapFunction.\n * @return {object} Object containing the ordered map of results.\n */\nfunction mapChildren(children, func, context) {\n if (children == null) {\n return children;\n }\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, func, context);\n return result;\n}\n\nfunction forEachSingleChildDummy(traverseContext, child, name) {\n return null;\n}\n\n/**\n * Count the number of children that are typically specified as\n * `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.count\n *\n * @param {?*} children Children tree container.\n * @return {number} The number of children.\n */\nfunction countChildren(children, context) {\n return traverseAllChildren(children, forEachSingleChildDummy, null);\n}\n\n/**\n * Flatten a children object (typically specified as `props.children`) and\n * return an array with appropriately re-keyed children.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.toarray\n */\nfunction toArray(children) {\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument);\n return result;\n}\n\nvar ReactChildren = {\n forEach: forEachChildren,\n map: mapChildren,\n mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal,\n count: countChildren,\n toArray: toArray\n};\n\nmodule.exports = ReactChildren;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactChildren.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar ReactComponent = require('./ReactComponent');\nvar ReactElement = require('./ReactElement');\nvar ReactPropTypeLocationNames = require('./ReactPropTypeLocationNames');\nvar ReactNoopUpdateQueue = require('./ReactNoopUpdateQueue');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nvar MIXINS_KEY = 'mixins';\n\n// Helper function to allow the creation of anonymous functions which do not\n// have .name set to the name of the variable being assigned to.\nfunction identity(fn) {\n return fn;\n}\n\n/**\n * Policies that describe methods in `ReactClassInterface`.\n */\n\n\nvar injectedMixins = [];\n\n/**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return <div>Hello World</div>;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\nvar ReactClassInterface = {\n\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: 'DEFINE_MANY',\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: 'DEFINE_MANY',\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: 'DEFINE_MANY',\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: 'DEFINE_MANY_MERGED',\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: 'DEFINE_MANY_MERGED',\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: 'DEFINE_MANY_MERGED',\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return <div>Hello, {name}!</div>;\n * }\n *\n * @return {ReactComponent}\n * @nosideeffects\n * @required\n */\n render: 'DEFINE_ONCE',\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: 'DEFINE_MANY',\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: 'DEFINE_MANY',\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: 'DEFINE_ONCE',\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: 'DEFINE_MANY',\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: 'OVERRIDE_BASE'\n\n};\n\n/**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\nvar RESERVED_SPEC_KEYS = {\n displayName: function (Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function (Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function (Constructor, childContextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, childContextTypes, 'childContext');\n }\n Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, childContextTypes);\n },\n contextTypes: function (Constructor, contextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, contextTypes, 'context');\n }\n Constructor.contextTypes = _assign({}, Constructor.contextTypes, contextTypes);\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function (Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, getDefaultProps);\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function (Constructor, propTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, propTypes, 'prop');\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function (Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function () {} };\n\nfunction validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an invariant so components\n // don't show up in prod but only in __DEV__\n process.env.NODE_ENV !== 'production' ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : void 0;\n }\n }\n}\n\nfunction validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n !(specPolicy === 'OVERRIDE_BASE') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.', name) : _prodInvariant('73', name) : void 0;\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (isAlreadyDefined) {\n !(specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('74', name) : void 0;\n }\n}\n\n/**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\nfunction mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (process.env.NODE_ENV !== 'production') {\n var typeofSpec = typeof spec;\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n process.env.NODE_ENV !== 'production' ? warning(isMixinValid, '%s: You\\'re attempting to include a mixin that is either null ' + 'or not an object. Check the mixins included by the component, ' + 'as well as any mixins they include themselves. ' + 'Expected object but got %s.', Constructor.displayName || 'ReactClass', spec === null ? null : typeofSpec) : void 0;\n }\n\n return;\n }\n\n !(typeof spec !== 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You\\'re attempting to use a component class or function as a mixin. Instead, just use a regular object.') : _prodInvariant('75') : void 0;\n !!ReactElement.isValidElement(spec) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You\\'re attempting to use a component as a mixin. Instead, just use a regular object.') : _prodInvariant('76') : void 0;\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n !(isReactClassMethod && (specPolicy === 'DEFINE_MANY_MERGED' || specPolicy === 'DEFINE_MANY')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.', specPolicy, name) : _prodInvariant('77', specPolicy, name) : void 0;\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === 'DEFINE_MANY_MERGED') {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 'DEFINE_MANY') {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (process.env.NODE_ENV !== 'production') {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n}\n\nfunction mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = name in RESERVED_SPEC_KEYS;\n !!isReserved ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it as an instance property instead; it will still be accessible on the constructor.', name) : _prodInvariant('78', name) : void 0;\n\n var isInherited = name in Constructor;\n !!isInherited ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('79', name) : void 0;\n Constructor[name] = property;\n }\n}\n\n/**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\nfunction mergeIntoWithNoDuplicateKeys(one, two) {\n !(one && two && typeof one === 'object' && typeof two === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : _prodInvariant('80') : void 0;\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n !(one[key] === undefined) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.', key) : _prodInvariant('81', key) : void 0;\n one[key] = two[key];\n }\n }\n return one;\n}\n\n/**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n}\n\n/**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n}\n\n/**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\nfunction bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (process.env.NODE_ENV !== 'production') {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n boundMethod.bind = function (newThis) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : void 0;\n } else if (!args.length) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : void 0;\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n return boundMethod;\n}\n\n/**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\nfunction bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n}\n\n/**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\nvar ReactClassMixin = {\n\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function (newState, callback) {\n this.updater.enqueueReplaceState(this, newState);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'replaceState');\n }\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function () {\n return this.updater.isMounted(this);\n }\n};\n\nvar ReactClassComponent = function () {};\n_assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin);\n\n/**\n * Module for creating composite components.\n *\n * @class ReactClass\n */\nvar ReactClass = {\n\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n createClass: function (spec) {\n // To keep our warnings more understandable, we'll use a little hack here to\n // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n // unnecessarily identify a class without displayName as 'Constructor'.\n var Constructor = identity(function (props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : void 0;\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (initialState === undefined && this.getInitialState._isMockFunction) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n !(typeof initialState === 'object' && !Array.isArray(initialState)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : _prodInvariant('82', Constructor.displayName || 'ReactCompositeComponent') : void 0;\n\n this.state = initialState;\n });\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, spec);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n !Constructor.prototype.render ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : _prodInvariant('83') : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : void 0;\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n },\n\n injection: {\n injectMixin: function (mixin) {\n injectedMixins.push(mixin);\n }\n }\n\n};\n\nmodule.exports = ReactClass;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactClass.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactElement = require('./ReactElement');\n\n/**\n * Create a factory that creates HTML tag elements.\n *\n * @private\n */\nvar createDOMFactory = ReactElement.createFactory;\nif (process.env.NODE_ENV !== 'production') {\n var ReactElementValidator = require('./ReactElementValidator');\n createDOMFactory = ReactElementValidator.createFactory;\n}\n\n/**\n * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes.\n * This is also accessible via `React.DOM`.\n *\n * @public\n */\nvar ReactDOMFactories = {\n a: createDOMFactory('a'),\n abbr: createDOMFactory('abbr'),\n address: createDOMFactory('address'),\n area: createDOMFactory('area'),\n article: createDOMFactory('article'),\n aside: createDOMFactory('aside'),\n audio: createDOMFactory('audio'),\n b: createDOMFactory('b'),\n base: createDOMFactory('base'),\n bdi: createDOMFactory('bdi'),\n bdo: createDOMFactory('bdo'),\n big: createDOMFactory('big'),\n blockquote: createDOMFactory('blockquote'),\n body: createDOMFactory('body'),\n br: createDOMFactory('br'),\n button: createDOMFactory('button'),\n canvas: createDOMFactory('canvas'),\n caption: createDOMFactory('caption'),\n cite: createDOMFactory('cite'),\n code: createDOMFactory('code'),\n col: createDOMFactory('col'),\n colgroup: createDOMFactory('colgroup'),\n data: createDOMFactory('data'),\n datalist: createDOMFactory('datalist'),\n dd: createDOMFactory('dd'),\n del: createDOMFactory('del'),\n details: createDOMFactory('details'),\n dfn: createDOMFactory('dfn'),\n dialog: createDOMFactory('dialog'),\n div: createDOMFactory('div'),\n dl: createDOMFactory('dl'),\n dt: createDOMFactory('dt'),\n em: createDOMFactory('em'),\n embed: createDOMFactory('embed'),\n fieldset: createDOMFactory('fieldset'),\n figcaption: createDOMFactory('figcaption'),\n figure: createDOMFactory('figure'),\n footer: createDOMFactory('footer'),\n form: createDOMFactory('form'),\n h1: createDOMFactory('h1'),\n h2: createDOMFactory('h2'),\n h3: createDOMFactory('h3'),\n h4: createDOMFactory('h4'),\n h5: createDOMFactory('h5'),\n h6: createDOMFactory('h6'),\n head: createDOMFactory('head'),\n header: createDOMFactory('header'),\n hgroup: createDOMFactory('hgroup'),\n hr: createDOMFactory('hr'),\n html: createDOMFactory('html'),\n i: createDOMFactory('i'),\n iframe: createDOMFactory('iframe'),\n img: createDOMFactory('img'),\n input: createDOMFactory('input'),\n ins: createDOMFactory('ins'),\n kbd: createDOMFactory('kbd'),\n keygen: createDOMFactory('keygen'),\n label: createDOMFactory('label'),\n legend: createDOMFactory('legend'),\n li: createDOMFactory('li'),\n link: createDOMFactory('link'),\n main: createDOMFactory('main'),\n map: createDOMFactory('map'),\n mark: createDOMFactory('mark'),\n menu: createDOMFactory('menu'),\n menuitem: createDOMFactory('menuitem'),\n meta: createDOMFactory('meta'),\n meter: createDOMFactory('meter'),\n nav: createDOMFactory('nav'),\n noscript: createDOMFactory('noscript'),\n object: createDOMFactory('object'),\n ol: createDOMFactory('ol'),\n optgroup: createDOMFactory('optgroup'),\n option: createDOMFactory('option'),\n output: createDOMFactory('output'),\n p: createDOMFactory('p'),\n param: createDOMFactory('param'),\n picture: createDOMFactory('picture'),\n pre: createDOMFactory('pre'),\n progress: createDOMFactory('progress'),\n q: createDOMFactory('q'),\n rp: createDOMFactory('rp'),\n rt: createDOMFactory('rt'),\n ruby: createDOMFactory('ruby'),\n s: createDOMFactory('s'),\n samp: createDOMFactory('samp'),\n script: createDOMFactory('script'),\n section: createDOMFactory('section'),\n select: createDOMFactory('select'),\n small: createDOMFactory('small'),\n source: createDOMFactory('source'),\n span: createDOMFactory('span'),\n strong: createDOMFactory('strong'),\n style: createDOMFactory('style'),\n sub: createDOMFactory('sub'),\n summary: createDOMFactory('summary'),\n sup: createDOMFactory('sup'),\n table: createDOMFactory('table'),\n tbody: createDOMFactory('tbody'),\n td: createDOMFactory('td'),\n textarea: createDOMFactory('textarea'),\n tfoot: createDOMFactory('tfoot'),\n th: createDOMFactory('th'),\n thead: createDOMFactory('thead'),\n time: createDOMFactory('time'),\n title: createDOMFactory('title'),\n tr: createDOMFactory('tr'),\n track: createDOMFactory('track'),\n u: createDOMFactory('u'),\n ul: createDOMFactory('ul'),\n 'var': createDOMFactory('var'),\n video: createDOMFactory('video'),\n wbr: createDOMFactory('wbr'),\n\n // SVG\n circle: createDOMFactory('circle'),\n clipPath: createDOMFactory('clipPath'),\n defs: createDOMFactory('defs'),\n ellipse: createDOMFactory('ellipse'),\n g: createDOMFactory('g'),\n image: createDOMFactory('image'),\n line: createDOMFactory('line'),\n linearGradient: createDOMFactory('linearGradient'),\n mask: createDOMFactory('mask'),\n path: createDOMFactory('path'),\n pattern: createDOMFactory('pattern'),\n polygon: createDOMFactory('polygon'),\n polyline: createDOMFactory('polyline'),\n radialGradient: createDOMFactory('radialGradient'),\n rect: createDOMFactory('rect'),\n stop: createDOMFactory('stop'),\n svg: createDOMFactory('svg'),\n text: createDOMFactory('text'),\n tspan: createDOMFactory('tspan')\n};\n\nmodule.exports = ReactDOMFactories;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactDOMFactories.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactElement = require('./ReactElement');\nvar ReactPropTypeLocationNames = require('./ReactPropTypeLocationNames');\nvar ReactPropTypesSecret = require('./ReactPropTypesSecret');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar getIteratorFn = require('./getIteratorFn');\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\nvar ANONYMOUS = '<<anonymous>>';\n\nvar ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker\n};\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n/*eslint-disable no-self-compare*/\nfunction is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n}\n/*eslint-enable no-self-compare*/\n\n/**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\nfunction PropTypeError(message) {\n this.message = message;\n this.stack = '';\n}\n// Make `instanceof Error` still work for returned errors.\nPropTypeError.prototype = Error.prototype;\n\nfunction createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n if (process.env.NODE_ENV !== 'production') {\n if (secret !== ReactPropTypesSecret && typeof console !== 'undefined') {\n var cacheKey = componentName + ':' + propName;\n if (!manualPropTypeCallCache[cacheKey]) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'You are manually calling a React.PropTypes validation ' + 'function for the `%s` prop on `%s`. This is deprecated ' + 'and will not work in production with the next major version. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.', propFullName, componentName) : void 0;\n manualPropTypeCallCache[cacheKey] = true;\n }\n }\n }\n if (props[propName] == null) {\n var locationName = ReactPropTypeLocationNames[location];\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + locationName + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + locationName + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n}\n\nfunction createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n var locationName = ReactPropTypeLocationNames[location];\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunction.thatReturns(null));\n}\n\nfunction createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var locationName = ReactPropTypeLocationNames[location];\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactElement.isValidElement(propValue)) {\n var locationName = ReactPropTypeLocationNames[location];\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var locationName = ReactPropTypeLocationNames[location];\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var locationName = ReactPropTypeLocationNames[location];\n var valuesString = JSON.stringify(expectedValues);\n return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n var locationName = ReactPropTypeLocationNames[location];\n return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (propValue.hasOwnProperty(key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n var locationName = ReactPropTypeLocationNames[location];\n return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n var locationName = ReactPropTypeLocationNames[location];\n return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n var locationName = ReactPropTypeLocationNames[location];\n return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || ReactElement.isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n}\n\nfunction isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n}\n\n// Equivalent of `typeof` but with special handling for array and regexp.\nfunction getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n}\n\n// This handles more types than `getPropType`. Only used for error messages.\n// See `createPrimitiveTypeChecker`.\nfunction getPreciseType(propValue) {\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n}\n\n// Returns class name of the object, if any.\nfunction getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n}\n\nmodule.exports = ReactPropTypes;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactPropTypes.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar ReactComponent = require('./ReactComponent');\nvar ReactNoopUpdateQueue = require('./ReactNoopUpdateQueue');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\n\n/**\n * Base class helpers for the updating state of a component.\n */\nfunction ReactPureComponent(props, context, updater) {\n // Duplicated from ReactComponent.\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n // We initialize the default updater but the real one gets injected by the\n // renderer.\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nfunction ComponentDummy() {}\nComponentDummy.prototype = ReactComponent.prototype;\nReactPureComponent.prototype = new ComponentDummy();\nReactPureComponent.prototype.constructor = ReactPureComponent;\n// Avoid an extra prototype jump for these methods.\n_assign(ReactPureComponent.prototype, ReactComponent.prototype);\nReactPureComponent.prototype.isPureReactComponent = true;\n\nmodule.exports = ReactPureComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactPureComponent.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar flattenChildren = require('./flattenChildren');\n\nvar ReactTransitionChildMapping = {\n /**\n * Given `this.props.children`, return an object mapping key to child. Just\n * simple syntactic sugar around flattenChildren().\n *\n * @param {*} children `this.props.children`\n * @param {number=} selfDebugID Optional debugID of the current internal instance.\n * @return {object} Mapping of key to child\n */\n getChildMapping: function (children, selfDebugID) {\n if (!children) {\n return children;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n return flattenChildren(children, selfDebugID);\n }\n\n return flattenChildren(children);\n },\n\n /**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n mergeChildMappings: function (prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n if (next.hasOwnProperty(key)) {\n return next[key];\n } else {\n return prev[key];\n }\n }\n\n // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n var nextKeysPending = {};\n\n var pendingKeys = [];\n for (var prevKey in prev) {\n if (next.hasOwnProperty(prevKey)) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n for (var nextKey in next) {\n if (nextKeysPending.hasOwnProperty(nextKey)) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n childMapping[nextKey] = getValueForKey(nextKey);\n }\n\n // Finally, add the keys which didn't appear before any key in `next`\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n }\n};\n\nmodule.exports = ReactTransitionChildMapping;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactTransitionChildMapping.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar getVendorPrefixedEventName = require('react-dom/lib/getVendorPrefixedEventName');\n\nvar endEvents = [];\n\nfunction detectEvents() {\n var animEnd = getVendorPrefixedEventName('animationend');\n var transEnd = getVendorPrefixedEventName('transitionend');\n\n if (animEnd) {\n endEvents.push(animEnd);\n }\n\n if (transEnd) {\n endEvents.push(transEnd);\n }\n}\n\nif (ExecutionEnvironment.canUseDOM) {\n detectEvents();\n}\n\n// We use the raw {add|remove}EventListener() call because EventListener\n// does not know how to remove event listeners and we really should\n// clean up. Also, these events are not triggered in older browsers\n// so we should be A-OK here.\n\nfunction addEventListener(node, eventName, eventListener) {\n node.addEventListener(eventName, eventListener, false);\n}\n\nfunction removeEventListener(node, eventName, eventListener) {\n node.removeEventListener(eventName, eventListener, false);\n}\n\nvar ReactTransitionEvents = {\n addEndEventListener: function (node, eventListener) {\n if (endEvents.length === 0) {\n // If CSS transitions are not supported, trigger an \"end animation\"\n // event immediately.\n window.setTimeout(eventListener, 0);\n return;\n }\n endEvents.forEach(function (endEvent) {\n addEventListener(node, endEvent, eventListener);\n });\n },\n\n removeEndEventListener: function (node, eventListener) {\n if (endEvents.length === 0) {\n return;\n }\n endEvents.forEach(function (endEvent) {\n removeEventListener(node, endEvent, eventListener);\n });\n }\n};\n\nmodule.exports = ReactTransitionEvents;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactTransitionEvents.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar React = require('./React');\nvar ReactAddonsDOMDependencies = require('./ReactAddonsDOMDependencies');\nvar ReactTransitionChildMapping = require('./ReactTransitionChildMapping');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\n\n/**\n * A basis for animations. When children are declaratively added or removed,\n * special lifecycle hooks are called.\n * See https://facebook.github.io/react/docs/animation.html#low-level-api-reacttransitiongroup\n */\n\nvar ReactTransitionGroup = function (_React$Component) {\n _inherits(ReactTransitionGroup, _React$Component);\n\n function ReactTransitionGroup() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, ReactTransitionGroup);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {\n // TODO: can we get useful debug information to show at this point?\n children: ReactTransitionChildMapping.getChildMapping(_this.props.children)\n }, _this.performAppear = function (key) {\n _this.currentlyTransitioningKeys[key] = true;\n\n var component = _this.refs[key];\n\n if (component.componentWillAppear) {\n component.componentWillAppear(_this._handleDoneAppearing.bind(_this, key));\n } else {\n _this._handleDoneAppearing(key);\n }\n }, _this._handleDoneAppearing = function (key) {\n var component = _this.refs[key];\n if (component.componentDidAppear) {\n component.componentDidAppear();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping;\n if (process.env.NODE_ENV !== 'production') {\n currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(_this)._debugID);\n } else {\n currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children);\n }\n\n if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n // This was removed before it had fully appeared. Remove it.\n _this.performLeave(key);\n }\n }, _this.performEnter = function (key) {\n _this.currentlyTransitioningKeys[key] = true;\n\n var component = _this.refs[key];\n\n if (component.componentWillEnter) {\n component.componentWillEnter(_this._handleDoneEntering.bind(_this, key));\n } else {\n _this._handleDoneEntering(key);\n }\n }, _this._handleDoneEntering = function (key) {\n var component = _this.refs[key];\n if (component.componentDidEnter) {\n component.componentDidEnter();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping;\n if (process.env.NODE_ENV !== 'production') {\n currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(_this)._debugID);\n } else {\n currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children);\n }\n\n if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n // This was removed before it had fully entered. Remove it.\n _this.performLeave(key);\n }\n }, _this.performLeave = function (key) {\n _this.currentlyTransitioningKeys[key] = true;\n\n var component = _this.refs[key];\n if (component.componentWillLeave) {\n component.componentWillLeave(_this._handleDoneLeaving.bind(_this, key));\n } else {\n // Note that this is somewhat dangerous b/c it calls setState()\n // again, effectively mutating the component before all the work\n // is done.\n _this._handleDoneLeaving(key);\n }\n }, _this._handleDoneLeaving = function (key) {\n var component = _this.refs[key];\n\n if (component.componentDidLeave) {\n component.componentDidLeave();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping;\n if (process.env.NODE_ENV !== 'production') {\n currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(_this)._debugID);\n } else {\n currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children);\n }\n\n if (currentChildMapping && currentChildMapping.hasOwnProperty(key)) {\n // This entered again before it fully left. Add it again.\n _this.performEnter(key);\n } else {\n _this.setState(function (state) {\n var newChildren = _assign({}, state.children);\n delete newChildren[key];\n return { children: newChildren };\n });\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n ReactTransitionGroup.prototype.componentWillMount = function componentWillMount() {\n this.currentlyTransitioningKeys = {};\n this.keysToEnter = [];\n this.keysToLeave = [];\n };\n\n ReactTransitionGroup.prototype.componentDidMount = function componentDidMount() {\n var initialChildMapping = this.state.children;\n for (var key in initialChildMapping) {\n if (initialChildMapping[key]) {\n this.performAppear(key);\n }\n }\n };\n\n ReactTransitionGroup.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n var nextChildMapping;\n if (process.env.NODE_ENV !== 'production') {\n nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children, ReactAddonsDOMDependencies.getReactInstanceMap().get(this)._debugID);\n } else {\n nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children);\n }\n var prevChildMapping = this.state.children;\n\n this.setState({\n children: ReactTransitionChildMapping.mergeChildMappings(prevChildMapping, nextChildMapping)\n });\n\n var key;\n\n for (key in nextChildMapping) {\n var hasPrev = prevChildMapping && prevChildMapping.hasOwnProperty(key);\n if (nextChildMapping[key] && !hasPrev && !this.currentlyTransitioningKeys[key]) {\n this.keysToEnter.push(key);\n }\n }\n\n for (key in prevChildMapping) {\n var hasNext = nextChildMapping && nextChildMapping.hasOwnProperty(key);\n if (prevChildMapping[key] && !hasNext && !this.currentlyTransitioningKeys[key]) {\n this.keysToLeave.push(key);\n }\n }\n\n // If we want to someday check for reordering, we could do it here.\n };\n\n ReactTransitionGroup.prototype.componentDidUpdate = function componentDidUpdate() {\n var keysToEnter = this.keysToEnter;\n this.keysToEnter = [];\n keysToEnter.forEach(this.performEnter);\n\n var keysToLeave = this.keysToLeave;\n this.keysToLeave = [];\n keysToLeave.forEach(this.performLeave);\n };\n\n ReactTransitionGroup.prototype.render = function render() {\n // TODO: we could get rid of the need for the wrapper node\n // by cloning a single child\n var childrenToRender = [];\n for (var key in this.state.children) {\n var child = this.state.children[key];\n if (child) {\n // You may need to apply reactive updates to a child as it is leaving.\n // The normal React way to do it won't work since the child will have\n // already been removed. In case you need this behavior you can provide\n // a childFactory function to wrap every child, even the ones that are\n // leaving.\n childrenToRender.push(React.cloneElement(this.props.childFactory(child), { ref: key, key: key }));\n }\n }\n\n // Do not forward ReactTransitionGroup props to primitive DOM nodes\n var props = _assign({}, this.props);\n delete props.transitionLeave;\n delete props.transitionName;\n delete props.transitionAppear;\n delete props.transitionEnter;\n delete props.childFactory;\n delete props.transitionLeaveTimeout;\n delete props.transitionEnterTimeout;\n delete props.transitionAppearTimeout;\n delete props.component;\n\n return React.createElement(this.props.component, props, childrenToRender);\n };\n\n return ReactTransitionGroup;\n}(React.Component);\n\nReactTransitionGroup.displayName = 'ReactTransitionGroup';\nReactTransitionGroup.propTypes = {\n component: React.PropTypes.any,\n childFactory: React.PropTypes.func\n};\nReactTransitionGroup.defaultProps = {\n component: 'span',\n childFactory: emptyFunction.thatReturnsArgument\n};\n\n\nmodule.exports = ReactTransitionGroup;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactTransitionGroup.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar KeyEscapeUtils = require('./KeyEscapeUtils');\nvar traverseAllChildren = require('./traverseAllChildren');\nvar warning = require('fbjs/lib/warning');\n\nvar ReactComponentTreeHook;\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'test') {\n // Temporary hack.\n // Inline requires don't work well with Jest:\n // https://github.com/facebook/react/issues/7240\n // Remove the inline requires when we don't need them anymore:\n // https://github.com/facebook/react/pull/7178\n ReactComponentTreeHook = require('./ReactComponentTreeHook');\n}\n\n/**\n * @param {function} traverseContext Context passed through traversal.\n * @param {?ReactComponent} child React child component.\n * @param {!string} name String name of key path to child.\n * @param {number=} selfDebugID Optional debugID of the current internal instance.\n */\nfunction flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) {\n // We found a component instance.\n if (traverseContext && typeof traverseContext === 'object') {\n var result = traverseContext;\n var keyUnique = result[name] === undefined;\n if (process.env.NODE_ENV !== 'production') {\n if (!ReactComponentTreeHook) {\n ReactComponentTreeHook = require('./ReactComponentTreeHook');\n }\n if (!keyUnique) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0;\n }\n }\n if (keyUnique && child != null) {\n result[name] = child;\n }\n }\n}\n\n/**\n * Flattens children that are typically specified as `props.children`. Any null\n * children will not be included in the resulting object.\n * @return {!object} flattened children keyed by name.\n */\nfunction flattenChildren(children, selfDebugID) {\n if (children == null) {\n return children;\n }\n var result = {};\n\n if (process.env.NODE_ENV !== 'production') {\n traverseAllChildren(children, function (traverseContext, child, name) {\n return flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID);\n }, result);\n } else {\n traverseAllChildren(children, flattenSingleChildIntoContext, result);\n }\n return result;\n}\n\nmodule.exports = flattenChildren;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/flattenChildren.js","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\nvar invariant = require('./invariant');\n\n/**\n * The CSSCore module specifies the API (and implements most of the methods)\n * that should be used when dealing with the display of elements (via their\n * CSS classes and visibility on screen. It is an API focused on mutating the\n * display and not reading it as no logical state should be encoded in the\n * display of elements.\n */\n\n/* Slow implementation for browsers that don't natively support .matches() */\nfunction matchesSelector_SLOW(element, selector) {\n var root = element;\n while (root.parentNode) {\n root = root.parentNode;\n }\n\n var all = root.querySelectorAll(selector);\n return Array.prototype.indexOf.call(all, element) !== -1;\n}\n\nvar CSSCore = {\n\n /**\n * Adds the class passed in to the element if it doesn't already have it.\n *\n * @param {DOMElement} element the element to set the class on\n * @param {string} className the CSS className\n * @return {DOMElement} the element passed in\n */\n addClass: function addClass(element, className) {\n !!/\\s/.test(className) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'CSSCore.addClass takes only a single class name. \"%s\" contains ' + 'multiple classes.', className) : invariant(false) : void 0;\n\n if (className) {\n if (element.classList) {\n element.classList.add(className);\n } else if (!CSSCore.hasClass(element, className)) {\n element.className = element.className + ' ' + className;\n }\n }\n return element;\n },\n\n /**\n * Removes the class passed in from the element\n *\n * @param {DOMElement} element the element to set the class on\n * @param {string} className the CSS className\n * @return {DOMElement} the element passed in\n */\n removeClass: function removeClass(element, className) {\n !!/\\s/.test(className) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'CSSCore.removeClass takes only a single class name. \"%s\" contains ' + 'multiple classes.', className) : invariant(false) : void 0;\n\n if (className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (CSSCore.hasClass(element, className)) {\n element.className = element.className.replace(new RegExp('(^|\\\\s)' + className + '(?:\\\\s|$)', 'g'), '$1').replace(/\\s+/g, ' ') // multiple spaces to one\n .replace(/^\\s*|\\s*$/g, ''); // trim the ends\n }\n }\n return element;\n },\n\n /**\n * Helper to add or remove a class from an element based on a condition.\n *\n * @param {DOMElement} element the element to set the class on\n * @param {string} className the CSS className\n * @param {*} bool condition to whether to add or remove the class\n * @return {DOMElement} the element passed in\n */\n conditionClass: function conditionClass(element, className, bool) {\n return (bool ? CSSCore.addClass : CSSCore.removeClass)(element, className);\n },\n\n /**\n * Tests whether the element has the class specified.\n *\n * @param {DOMNode|DOMWindow} element the element to check the class on\n * @param {string} className the CSS className\n * @return {boolean} true if the element has the class, false if not\n */\n hasClass: function hasClass(element, className) {\n !!/\\s/.test(className) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'CSS.hasClass takes only a single class name.') : invariant(false) : void 0;\n if (element.classList) {\n return !!className && element.classList.contains(className);\n }\n return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1;\n },\n\n /**\n * Tests whether the element matches the selector specified\n *\n * @param {DOMNode|DOMWindow} element the element that we are querying\n * @param {string} selector the CSS selector\n * @return {boolean} true if the element matches the selector, false if not\n */\n matchesSelector: function matchesSelector(element, selector) {\n var matchesImpl = element.matches || element.webkitMatchesSelector || element.mozMatchesSelector || element.msMatchesSelector || function (s) {\n return matchesSelector_SLOW(element, s);\n };\n return matchesImpl.call(element, selector);\n }\n\n};\n\nmodule.exports = CSSCore;\n\n\n// WEBPACK FOOTER //\n// ./~/react/~/fbjs/lib/CSSCore.js","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n\n// WEBPACK FOOTER //\n// (webpack)/~/node-libs-browser/~/events/events.js","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// (webpack)/~/node-libs-browser/~/util/~/inherits/inherits_browser.js","module.exports = function isBuffer(arg) {\n return arg && typeof arg === 'object'\n && typeof arg.copy === 'function'\n && typeof arg.fill === 'function'\n && typeof arg.readUInt8 === 'function';\n}\n\n\n// WEBPACK FOOTER //\n// (webpack)/~/node-libs-browser/~/util/support/isBufferBrowser.js","import blueimp from 'blueimp-md5';\nimport trim from 'trim';\nimport jsonp from '../utils/jsonp_utils';\nimport { validateEmail } from '../field/email';\n\nconst md5 = blueimp.md5 || blueimp;\n\nfunction normalize(str) {\n return typeof str === \"string\"\n ? trim(str.toLowerCase())\n : \"\";\n}\n\nexport function displayName(email, cb) {\n email = normalize(email);\n if (!validateEmail(email)) return cb({});\n\n const url = `https://secure.gravatar.com/${md5(email)}.json`;\n jsonp.get(url, function (error, result) {\n if (!error && result && result.entry && result.entry[0]) {\n cb(null, result.entry[0].displayName);\n } else {\n cb({});\n }\n });\n}\n\nexport function url(email, cb) {\n email = normalize(email);\n if (!validateEmail(email)) return cb({});\n\n cb(null, `https://secure.gravatar.com/avatar/${md5(email)}?d=404&s=160`);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/avatar/gravatar_provider.js","import React from 'react';\nimport EmailPane from '../../field/email/email_pane';\nimport UsernamePane from '../../field/username/username_pane';\nimport PasswordPane from '../../field/password/password_pane';\nimport { showResetPasswordActivity } from './actions';\nimport { authWithUsername, hasScreen, forgotPasswordLink } from './index';\nimport * as l from '../../core/index';\n\nexport default class LoginPane extends React.Component {\n\n handleDontRememberPasswordClick(e) {\n e.preventDefault();\n showResetPasswordActivity(l.id(this.props.lock));\n }\n\n render() {\n const {\n emailInputPlaceholder,\n forgotPasswordAction,\n i18n,\n instructions,\n lock,\n passwordInputPlaceholder,\n showForgotPasswordLink,\n showPassword,\n usernameInputPlaceholder,\n usernameStyle\n } = this.props;\n\n const headerText = instructions || null;\n const header = headerText && <p>{headerText}</p>;\n\n // Should never validate format on login because of custom db connection and import mode\n const fieldPane = usernameStyle === \"email\"\n ? <EmailPane\n i18n={i18n}\n lock={lock}\n placeholder={emailInputPlaceholder}\n />\n : <UsernamePane\n i18n={i18n}\n lock={lock}\n placeholder={usernameInputPlaceholder}\n usernameStyle={usernameStyle}\n validateFormat={false}\n />\n\n const passwordPane = showPassword\n ? <PasswordPane\n i18n={i18n}\n lock={lock}\n placeholder={passwordInputPlaceholder}\n />\n : null;\n\n const dontRememberPassword = showForgotPasswordLink && hasScreen(lock, \"forgotPassword\")\n ? <p className=\"auth0-lock-alternative\">\n <a\n className=\"auth0-lock-alternative-link\"\n href={forgotPasswordLink(lock, \"#\")}\n onClick={forgotPasswordLink(lock) ? undefined : ::this.handleDontRememberPasswordClick}\n >\n {forgotPasswordAction}\n </a>\n </p>\n : null;\n\n return <div>{header}{fieldPane}{passwordPane}{dontRememberPassword}</div>;\n }\n\n}\n\nLoginPane.propTypes = {\n emailInputPlaceholder: React.PropTypes.string.isRequired,\n forgotPasswordAction: React.PropTypes.string.isRequired,\n i18n: React.PropTypes.object.isRequired,\n instructions: React.PropTypes.any,\n lock: React.PropTypes.object.isRequired,\n passwordInputPlaceholder: React.PropTypes.string.isRequired,\n showForgotPasswordLink: React.PropTypes.bool.isRequired,\n showPassword: React.PropTypes.bool.isRequired,\n usernameInputPlaceholder: React.PropTypes.string.isRequired,\n usernameStyle: React.PropTypes.oneOf([\"any\", \"email\", \"username\"])\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/login_pane.jsx","import React from 'react';\nimport MFACodePane from '../../field/mfa-code/mfa_code_pane';\n\nexport default class MFAPane extends React.Component {\n\n render() {\n const {\n mfaInputPlaceholder,\n i18n,\n instructions,\n lock,\n title\n } = this.props;\n\n const headerText = instructions || null;\n const header = headerText && <p>{headerText}</p>;\n\n const pane = (<MFACodePane\n i18n={i18n}\n lock={lock}\n placeholder={mfaInputPlaceholder}\n />);\n\n const titleElement = title && <h2>{ title }</h2>;\n\n return (<div>{titleElement}{header}{pane}</div>);\n }\n\n}\n\nMFAPane.propTypes = {\n mfaInputPlaceholder: React.PropTypes.string.isRequired,\n title: React.PropTypes.string.isRequired,\n i18n: React.PropTypes.object.isRequired,\n instructions: React.PropTypes.any,\n lock: React.PropTypes.object.isRequired\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/mfa_pane.jsx","import React from 'react';\nimport SuccessPane from '../../ui/box/success_pane';\nimport { closeLock } from '../../core/actions';\nimport * as l from '../../core/index';\nimport * as i18n from '../../i18n'; // TODO: can't we get this from props?\n\nexport default class PasswordResetConfirmation extends React.Component {\n\n handleClose() {\n const { closeHandler, lock } = this.props;\n closeHandler(l.id(lock));\n }\n\n render() {\n const { lock } = this.props;\n const closeHandler = l.ui.closable(lock) ? ::this.handleClose : undefined;\n\n return (\n <SuccessPane closeHandler={closeHandler}>\n <p>{i18n.html(this.props.lock, [\"success\", \"forgotPassword\"])}</p>\n </SuccessPane>\n );\n }\n\n}\n\nPasswordResetConfirmation.propTypes = {\n closeHandler: React.PropTypes.func.isRequired,\n lock: React.PropTypes.object.isRequired\n};\n\nexport function renderPasswordResetConfirmation(m, props = {}) {\n props.closeHandler = closeLock;\n props.key = \"auxiliarypane\";\n props.lock = m;\n\n return m.get(\"passwordResetted\")\n ? <PasswordResetConfirmation {...props} />\n : null;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/password_reset_confirmation.jsx","import React from 'react';\nimport Screen from '../../core/screen';\nimport ResetPasswordPane from './reset_password_pane';\nimport { authWithUsername, hasScreen } from './index';\nimport { cancelResetPassword, resetPassword } from './actions';\nimport { renderPasswordResetConfirmation } from './password_reset_confirmation';\nimport * as i18n from '../../i18n';\n\nconst Component = ({i18n, model}) => {\n const headerText = i18n.html(\"forgotPasswordInstructions\") || null;\n const header = headerText && <p>{headerText}</p>;\n\n return (\n <ResetPasswordPane\n emailInputPlaceholder={i18n.str(\"emailInputPlaceholder\")}\n header={header}\n i18n={i18n}\n lock={model}\n />\n );\n};\n\nexport default class ResetPassword extends Screen {\n\n constructor() {\n super(\"forgotPassword\");\n }\n\n backHandler(m) {\n return hasScreen(m, \"login\") ? cancelResetPassword : undefined;\n }\n\n submitButtonLabel(m) {\n return i18n.str(m, [\"forgotPasswordSubmitLabel\"]);\n }\n\n submitHandler() {\n return resetPassword;\n }\n\n renderAuxiliaryPane(m) {\n return renderPasswordResetConfirmation(m);\n }\n\n render() {\n return Component;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/reset_password.jsx","import React from 'react';\nimport EmailPane from '../../field/email/email_pane';\nimport * as l from '../../core/index';\n\nexport default class ResetPasswordPane extends React.Component {\n static propTypes = {\n emailInputPlaceholder: React.PropTypes.string.isRequired,\n lock: React.PropTypes.object.isRequired\n };\n\n render() {\n const { emailInputPlaceholder, header, i18n, lock } = this.props;\n\n return (\n <div>\n {header}\n <EmailPane\n i18n={i18n}\n lock={lock}\n placeholder={emailInputPlaceholder}\n />\n </div>\n );\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/reset_password_pane.jsx","import React from 'react';\n\nconst SignUpTerms = ({checkHandler, checked, children}) => {\n return checkHandler\n ? <span className=\"auth0-lock-sign-up-terms-agreement\">\n <label>\n <input type=\"checkbox\" onChange={checkHandler} checked={checked} />\n {children}\n </label>\n </span>\n : children;\n};\n\nexport default SignUpTerms;\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/sign_up_terms.jsx","import React from 'react';\nimport SuccessPane from '../../ui/box/success_pane';\nimport { closeLock } from '../../core/actions';\nimport * as l from '../../core/index';\nimport { shouldAutoLogin } from './index';\nimport * as i18n from '../../i18n'; // TODO: can't we get this from props?\n\nexport default class SignedUpConfirmation extends React.Component {\n\n handleClose() {\n const { closeHandler, lock } = this.props;\n closeHandler(l.id(lock));\n }\n\n render() {\n const { lock } = this.props;\n const closeHandler = l.ui.closable(lock) ? ::this.handleClose : undefined;\n\n return (\n <SuccessPane closeHandler={closeHandler}>\n <p>{i18n.html(lock, [\"success\", \"signUp\"])}</p>\n </SuccessPane>\n );\n }\n\n}\n\nSignedUpConfirmation.propTypes = {\n closeHandler: React.PropTypes.func.isRequired,\n lock: React.PropTypes.object.isRequired\n};\n\nexport function renderSignedUpConfirmation(m, props = {}) {\n props.closeHandler = closeLock;\n props.key = \"auxiliarypane\";\n props.lock = m;\n\n return m.get(\"signedUp\") && !shouldAutoLogin(m)\n ? <SignedUpConfirmation {...props} />\n : null;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/database/signed_up_confirmation.jsx","import React from 'react';\nimport UsernamePane from '../../field/username/username_pane';\nimport PasswordPane from '../../field/password/password_pane';\nimport * as l from '../../core/index';\n\nexport default class HRDPane extends React.Component {\n\n render() {\n const {\n header,\n i18n,\n model,\n passwordInputPlaceholder,\n usernameInputPlaceholder\n } = this.props;\n\n return (\n <div>\n {header}\n <UsernamePane\n i18n={i18n}\n lock={model}\n placeholder={usernameInputPlaceholder}\n validateFormat={false}\n />\n <PasswordPane\n i18n={i18n}\n lock={model}\n placeholder={passwordInputPlaceholder}\n />\n </div>\n );\n }\n\n}\n\nHRDPane.propTypes = {\n header: React.PropTypes.element,\n i18n: React.PropTypes.object.isRequired,\n model: React.PropTypes.object.isRequired,\n passwordInputPlaceholder: React.PropTypes.string.isRequired,\n usernameInputPlaceholder: React.PropTypes.string.isRequired\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/enterprise/hrd_pane.jsx","import React from 'react';\nimport Screen from '../../core/screen';\nimport { renderSignedInConfirmation } from '../../core/signed_in_confirmation';\nimport HRDPane from './hrd_pane';\nimport { cancelHRD, logIn } from './actions';\nimport { enterpriseDomain, isSingleHRDConnection } from '../enterprise';\nimport * as i18n from '../../i18n';\n\nconst Component = ({i18n, model}) => {\n const domain = enterpriseDomain(model);\n\n var headerText;\n\n if (domain != null) {\n headerText = i18n.html(\"enterpriseActiveLoginInstructions\", domain);\n } else {\n headerText = i18n.html(\"enterpriseLoginIntructions\");\n }\n\n headerText = headerText || null;\n\n const header = headerText && <p>{headerText}</p>;\n\n return (\n <HRDPane\n header={header}\n i18n={i18n}\n model={model}\n passwordInputPlaceholder={i18n.str(\"passwordInputPlaceholder\")}\n usernameInputPlaceholder={i18n.str(\"usernameInputPlaceholder\")}\n />\n );\n}\n\nexport default class HRDScreen extends Screen {\n\n constructor() {\n super(\"hrd\");\n }\n\n backHandler(model) {\n return isSingleHRDConnection(model) ? null : cancelHRD;\n }\n\n submitButtonLabel(m) {\n return i18n.str(m, [\"loginSubmitLabel\"]);\n }\n\n submitHandler(model) {\n return logIn;\n }\n\n renderAuxiliaryPane(model) {\n return renderSignedInConfirmation(model);\n }\n\n render() {\n return Component;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/enterprise/hrd_screen.jsx","import React from 'react';\nimport Screen from '../../core/screen';\nimport QuickAuthPane from '../../ui/pane/quick_auth_pane';\nimport { logIn, skipQuickAuth } from '../../quick-auth/actions';\nimport { renderSignedInConfirmation } from '../../core/signed_in_confirmation';\nimport * as l from '../../core/index';\nimport { corpNetworkConnection } from '../enterprise';\n\nconst Component = ({i18n, model}) => {\n const headerText = i18n.html(\"windowsAuthInstructions\") || null;\n const header = headerText && <p>{headerText}</p>;\n\n return (\n <QuickAuthPane\n alternativeLabel={i18n.str(\"notYourAccountAction\")}\n alternativeClickHandler={() => skipQuickAuth(l.id(model))}\n buttonLabel={i18n.str(\"windowsAuthLabel\")}\n buttonClickHandler={e => logIn(l.id(model), corpNetworkConnection(model))}\n header={header}\n strategy=\"windows\"\n />\n );\n};\n\nexport default class KerberosScreen extends Screen {\n\n constructor() {\n super(\"kerberos\");\n }\n\n renderAuxiliaryPane(lock) {\n return renderSignedInConfirmation(lock);\n }\n\n render() {\n return Component;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/enterprise/kerberos_screen.jsx","import React from 'react';\nimport Screen from '../../core/screen';\nimport QuickAuthPane from '../../ui/pane/quick_auth_pane';\nimport { logIn } from '../../quick-auth/actions';\nimport { renderSignedInConfirmation } from '../../core/signed_in_confirmation';\nimport * as l from '../../core/index';\nimport { quickAuthConnection } from '../enterprise';\nimport { authButtonsTheme } from '../../connection/social/index';\n\n\n// TODO: handle this from CSS\nfunction icon(strategy) {\n if (strategy === \"google-apps\") return strategy;\n if (~[\"adfs\", \"office365\", \"waad\"].indexOf(strategy)) return \"windows\";\n return \"auth0\";\n}\n\nconst Component = ({i18n, model}) => {\n const headerText = i18n.html(\"enterpriseLoginIntructions\") || null;\n const header = headerText && <p>{headerText}</p>;\n\n const theme = authButtonsTheme(model);\n\n const connection = quickAuthConnection(model);\n const connectionName = connection.getIn([\"name\"]);\n const connectionDomain = connection.getIn([\"domains\", 0]);\n\n const buttonTheme = theme.get(connection.get(\"name\"));\n\n const buttonLabel = (buttonTheme && buttonTheme.get(\"displayName\"))\n || (connectionDomain && (i18n.str(\"loginAtLabel\", connectionDomain)))\n || i18n.str(\"loginAtLabel\", connectionName);\n\n const primaryColor = buttonTheme && buttonTheme.get(\"primaryColor\");\n const foregroundColor = buttonTheme && buttonTheme.get(\"foregroundColor\");\n const buttonIcon = buttonTheme && buttonTheme.get(\"icon\");\n\n return (\n <QuickAuthPane\n buttonLabel={buttonLabel}\n buttonClickHandler={e => logIn(l.id(model), quickAuthConnection(model))}\n header={header}\n buttonIcon={buttonIcon}\n primaryColor={primaryColor}\n foregroundColor={foregroundColor}\n strategy={icon(quickAuthConnection(model).get(\"strategy\"))}\n />\n );\n};\n\nexport default class QuickAuthScreen extends Screen {\n\n constructor() {\n super(\"enterpriseQuickAuth\");\n }\n\n renderAuxiliaryPane(lock) {\n return renderSignedInConfirmation(lock);\n }\n\n render() {\n return Component;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/connection/enterprise/quick_auth_screen.jsx","import { EventEmitter } from 'events';\nimport { getEntity, observe, read } from './store/index';\nimport { remove, render } from './ui/box';\nimport webAPI from './core/web_api';\nimport {\n closeLock,\n handleAuthCallback,\n openLock,\n removeLock,\n setupLock,\n updateLock\n} from './core/actions';\nimport { termsAccepted } from './connection/database/index';\nimport * as l from './core/index';\nimport * as c from './field/index';\nimport * as idu from './utils/id_utils';\nimport * as i18n from './i18n';\n\nimport { go } from './sync';\n\nexport default class Base extends EventEmitter {\n\n constructor(clientID, domain, options = {}, engine) {\n if (typeof clientID != \"string\") {\n throw new Error(\"A `clientID` string must be provided as first argument.\");\n }\n if (typeof domain != \"string\") {\n throw new Error(\"A `domain` string must be provided as second argument.\");\n }\n if (typeof options != \"object\") {\n throw new Error(\"When provided, the third argument must be an `options` object.\");\n }\n\n super();\n\n this.validEvents = [\n 'show',\n 'hide',\n 'unrecoverable_error',\n 'authenticated',\n 'authorization_error',\n 'hash_parsed'\n ];\n\n this.id = idu.incremental();\n this.engine = engine;\n const hookRunner = ::this.runHook;\n const emitEventFn = this.emit.bind(this);\n\n go(this.id);\n\n let m = setupLock(this.id, clientID, domain, options, hookRunner, emitEventFn);\n\n this.on('newListener', (type) => {\n if (this.validEvents.indexOf(type) === -1) {\n l.emitUnrecoverableErrorEvent(m, `Invalid event \"${type}\".`)\n }\n });\n\n if (!Base.hasScheduledAuthCallback) {\n Base.hasScheduledAuthCallback = true;\n setTimeout(handleAuthCallback, 0);\n }\n\n observe(\"render\", this.id, m => {\n const partialApplyId = (screen, handlerName) => {\n const handler = screen[handlerName](m);\n return handler\n ? (...args) => handler(l.id(m), ...args)\n : handler;\n };\n\n const avatar = l.ui.avatar(m) && m.getIn([\"avatar\", \"transient\", \"syncStatus\"]) === \"ok\" || null;\n const title = avatar\n ? i18n.str(m, \"welcome\", m.getIn([\"avatar\", \"transient\", \"displayName\"]))\n : i18n.str(m, \"title\");\n\n if (l.rendering(m)) {\n const screen = this.engine.render(m);\n\n const disableSubmitButton = screen.name === \"main.signUp\"\n && !termsAccepted(m);\n\n const i18nProp = {\n group: keyPath => i18n.group(m, keyPath),\n html: (keyPath, ...args) => i18n.html(m, keyPath, ...args),\n str: (keyPath, ...args) => i18n.str(m, keyPath, ...args)\n };\n\n const props = {\n avatar: avatar && m.getIn([\"avatar\", \"transient\", \"url\"]),\n auxiliaryPane: screen.renderAuxiliaryPane(m),\n autofocus: l.ui.autofocus(m),\n backHandler: partialApplyId(screen, \"backHandler\"),\n badgeLink: \"https://auth0.com/?utm_source=lock&utm_campaign=badge&utm_medium=widget\",\n closeHandler: l.ui.closable(m)\n ? (...args) => closeLock(l.id(m), ...args)\n : undefined,\n contentComponent: screen.render(),\n contentProps: {i18n: i18nProp, model: m},\n disableSubmitButton: disableSubmitButton,\n error: l.globalError(m),\n isMobile: l.ui.mobile(m),\n isModal: l.ui.appendContainer(m),\n isSubmitting: l.submitting(m),\n logo: l.ui.logo(m),\n primaryColor: l.ui.primaryColor(m),\n screenName: screen.name,\n showBadge: l.showBadge(m) === true,\n success: l.globalSuccess(m),\n submitButtonLabel: l.ui.labeledSubmitButton(m)\n ? screen.submitButtonLabel(m)\n : null,\n submitHandler: partialApplyId(screen, \"submitHandler\"),\n tabs: screen.renderTabs(m),\n terms: screen.renderTerms(m, i18nProp.html(\"signUpTerms\")),\n title: title,\n transitionName: screen.name === \"loading\" ? \"fade\" : \"horizontal-fade\"\n };\n render(l.ui.containerID(m), props);\n\n // TODO: hack so we can start testing the beta\n if (!this.oldScreenName || this.oldScreenName != screen.name) {\n if (screen.name === \"main.login\") {\n l.emitEvent(m, \"signin ready\");\n } else if (screen.name === \"main.signUp\") {\n l.emitEvent(m, \"signup ready\");\n }\n }\n this.oldScreenName = screen.name;\n } else {\n remove(l.ui.containerID(m));\n }\n });\n }\n\n show(opts = {}) {\n openLock(this.id, opts);\n }\n\n hide() {\n closeLock(this.id, true);\n }\n\n destroy() {\n removeLock(this.id);\n }\n\n getProfile(token, cb) {\n return webAPI.getProfile(this.id, token, cb);\n }\n\n getUserInfo(token, cb) {\n return webAPI.getUserInfo(this.id, token, cb);\n }\n\n logout(query = {}) {\n webAPI.signOut(this.id, query);\n }\n\n update(f) {\n return updateLock(this.id, f);\n }\n\n setModel(m) {\n return this.update(() => m);\n }\n\n runHook(str, m, ...args) {\n if (typeof this.engine[str] != \"function\") return m;\n return this.engine[str](m, ...args);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core.js","import urljoin from 'url-join';\nimport { load } from '../../utils/cdn_utils';\nimport * as l from '../index';\nimport { initClient } from './index';\n\nexport function fetchClientSettings(clientID, clientBaseUrl, cb) {\n load({\n method: \"setClient\",\n url: urljoin(clientBaseUrl, 'client', `${clientID}.js?t${+new Date()}`),\n check: o => o && o.id === clientID,\n cb: cb\n });\n}\n\nexport function syncClientSettingsSuccess(m, result) {\n m = initClient(m, result);\n m = l.filterConnections(m);\n m = l.runHook(m, \"didReceiveClientSettings\");\n return m;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/client/settings.js","import React from 'react';\nimport Screen from './screen';\nimport * as l from './index';\n\nexport default class ErrorScreen extends Screen {\n\n constructor() {\n super(\"error\");\n }\n\n render() {\n return ErrorPane;\n }\n\n}\n\nconst ErrorPane = ({i18n}) => (\n <div className=\"auth0-lock-error-pane\">\n <p>{i18n.html(\"unrecoverableError\")}</p>\n </div>\n);\n\n\nErrorPane.propTypes = {\n i18n: React.PropTypes.object.isRequired\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/error_screen.jsx","import React from 'react';\nimport Screen from './screen';\nimport { pinLoadingPane, unpinLoadingPane } from './actions';\nimport * as l from './index';\n\nexport default class LoadingScreen extends Screen {\n\n constructor() {\n super(\"loading\");\n }\n\n render() {\n return LoadingPane;\n }\n\n}\n\nclass LoadingPane extends React.Component {\n\n componentDidMount() {\n const { model } = this.props;\n pinLoadingPane(l.id(model));\n setTimeout(() => unpinLoadingPane(l.id(model)), 1200);\n }\n\n render() {\n return (\n <div className=\"auth0-loading-screen\">\n <div className=\"auth0-loading-container\">\n <div className=\"auth0-loading\" />\n </div>\n </div>\n );\n }\n\n}\n\nLoadingPane.propTypes = {\n model: React.PropTypes.object.isRequired\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/loading_screen.jsx","import Immutable from 'immutable';\nimport { fetchClientSettings, syncClientSettingsSuccess } from './client/settings';\nimport { fetchTenantSettings, syncTenantSettingsSuccess } from './tenant/settings';\nimport { fetchSSOData } from './sso/data';\nimport * as l from './index';\nimport { isADEnabled } from '../connection/enterprise'; // shouldn't depend on this\nimport sync, { isSuccess } from '../sync';\n\nexport function syncRemoteData(m) {\n\n if (l.useTenantInfo(m)) {\n m = sync(m, \"client\", {\n syncFn: (m, cb) => fetchTenantSettings(l.tenantBaseUrl(m), cb),\n successFn: (m, result) => syncTenantSettingsSuccess(m, l.clientID(m), result)\n });\n } else {\n m = sync(m, \"client\", {\n syncFn: (m, cb) => fetchClientSettings(l.clientID(m), l.clientBaseUrl(m), cb),\n successFn: syncClientSettingsSuccess\n });\n }\n\n m = sync(m, \"sso\", {\n conditionFn: l.auth.sso,\n waitFn: m => isSuccess(m, \"client\"),\n syncFn: (m, cb) => fetchSSOData(l.id(m), isADEnabled(m), cb),\n successFn: (m, result) => m.mergeIn([\"sso\"], Immutable.fromJS(result)),\n errorFn: (m, error) => {\n // location.origin is not supported in all browsers\n let origin = location.protocol + \"//\" + location.hostname;\n if (location.port) {\n origin += \":\" + location.port;\n }\n\n const appSettingsUrl = `https://manage.auth0.com/#/applications/${l.clientID(m)}/settings`;\n\n l.warn(m, `There was an error fetching the SSO data. This could simply mean that there was a problem with the network. But, if a \"Origin\" error has been logged before this warning, please add \"${origin}\" to the \"Allowed Origins (CORS)\" list in the Auth0 dashboard: ${appSettingsUrl}`);\n }\n });\n\n return m;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/core/remote_data.js","import webAPI from '../web_api';\nimport Cache from '../../utils/cache';\n\nconst cache = new Cache((...args) => webAPI.getSSOData(...args));\n\nexport function fetchSSOData(id, withAD, cb) {\n cache.get(id, withAD, cb);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/sso/data.js","import React from 'react';\nimport Screen from '../screen';\nimport QuickAuthPane from '../../ui/pane/quick_auth_pane';\nimport { logIn, skipQuickAuth } from '../../quick-auth/actions';\nimport { lastUsedConnection, lastUsedUsername } from './index';\nimport * as l from '../index';\nimport { renderSignedInConfirmation } from '../signed_in_confirmation';\nimport { STRATEGIES as SOCIAL_STRATEGIES } from '../../connection/social/index';\n\n// TODO: handle this from CSS\nfunction icon(strategy) {\n if (SOCIAL_STRATEGIES[strategy]) return strategy;\n if (strategy === \"google-apps\") return strategy;\n if (~[\"adfs\", \"office365\", \"waad\"].indexOf(strategy)) return \"windows\";\n return \"auth0\";\n}\n\nconst Component = ({i18n, model}) => {\n const headerText = i18n.html(\"lastLoginInstructions\") || null;\n const header = headerText && <p>{headerText}</p>;\n\n const buttonClickHandler = () => {\n logIn(l.id(model), lastUsedConnection(model), lastUsedUsername(model));\n };\n\n return (\n <QuickAuthPane\n alternativeLabel={i18n.str(\"notYourAccountAction\")}\n alternativeClickHandler={() => skipQuickAuth(l.id(model))}\n buttonLabel={lastUsedUsername(model)}\n buttonClickHandler={buttonClickHandler}\n header={header}\n strategy={icon(lastUsedConnection(model).get(\"strategy\"))}\n />\n );\n};\n\nexport default class LastLoginScreen extends Screen {\n\n constructor() {\n super(\"lastLogin\");\n }\n\n renderAuxiliaryPane(lock) {\n return renderSignedInConfirmation(lock);\n }\n\n render() {\n return Component;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/sso/last_login_screen.jsx","import { load } from '../../utils/cdn_utils';\nimport * as l from '../index';\nimport { initTenant } from './index';\n\nexport function fetchTenantSettings(tenantBaseUrl, cb) {\n load({\n method: \"setTenant\",\n url: `${tenantBaseUrl}?t${+new Date()}`,\n check: () => true,\n cb: cb\n });\n}\n\nexport function syncTenantSettingsSuccess(m, client_id, result) {\n m = initTenant(m, client_id, result);\n m = l.filterConnections(m);\n m = l.runHook(m, \"didReceiveClientSettings\");\n return m;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/core/tenant/settings.js","import React from 'react';\nimport Screen from '../../core/screen';\nimport SocialButtonsPane from '../../field/social/social_buttons_pane';\nimport LoginPane from '../../connection/database/login_pane';\nimport PaneSeparator from '../../core/pane_separator';\nimport {\n databaseConnection,\n databaseUsernameValue,\n databaseUsernameStyle,\n defaultDatabaseConnection,\n hasInitialScreen,\n hasScreen,\n signUpLink\n} from '../../connection/database/index';\nimport { logIn as databaseLogIn } from '../../connection/database/actions';\nimport { renderSignedInConfirmation } from '../../core/signed_in_confirmation';\nimport LoginSignUpTabs from '../../connection/database/login_sign_up_tabs';\nimport * as l from '../../core/index';\nimport * as c from '../../field/index';\nimport { emailDomain } from '../../field/email';\nimport {\n logIn as enterpriseLogIn,\n startHRD\n} from '../../connection/enterprise/actions';\nimport {\n defaultEnterpriseConnection,\n defaultEnterpriseConnectionName,\n findADConnectionWithoutDomain,\n isEnterpriseDomain,\n isHRDDomain\n} from '../../connection/enterprise';\nimport SingleSignOnNotice from '../../connection/enterprise/single_sign_on_notice';\nimport {\n hasOnlyClassicConnections,\n isSSOEnabled,\n useBigSocialButtons\n} from '../classic';\nimport * as i18n from '../../i18n';\n\n\nfunction shouldRenderTabs(m) {\n if (isSSOEnabled(m)) return false;\n if (l.hasSomeConnections(m, \"database\")) return hasScreen(m, \"signUp\");\n if (l.hasSomeConnections(m, \"social\") && hasInitialScreen(m, \"signUp\"))\n return hasScreen(m, \"signUp\");\n}\n\nconst Component = ({i18n, model, t}) => {\n const sso = isSSOEnabled(model);\n const onlySocial = hasOnlyClassicConnections(model, \"social\");\n\n const tabs = shouldRenderTabs(model)\n && <LoginSignUpTabs\n key=\"loginsignup\"\n lock={model}\n loginLabel={i18n.str(\"loginLabel\")}\n signUpLink={signUpLink(model)}\n signUpLabel={i18n.str(\"signUpLabel\")}\n />;\n\n\n const social = l.hasSomeConnections(model, \"social\")\n && <SocialButtonsPane\n bigButtons={useBigSocialButtons(model)}\n instructions={i18n.html(\"socialLoginInstructions\")}\n labelFn={i18n.str}\n lock={model}\n showLoading={onlySocial}\n signUp={false}\n />;\n\n const showPassword = !sso\n && (l.hasSomeConnections(model, \"database\")\n || !!findADConnectionWithoutDomain(model));\n\n const showForgotPasswordLink = showPassword\n && l.hasSomeConnections(model, \"database\");\n\n const loginInstructionsKey = social\n ? \"databaseEnterpriseAlternativeLoginInstructions\"\n : \"databaseEnterpriseLoginInstructions\";\n\n const usernameInputPlaceholderKey = (databaseUsernameStyle(model) === \"any\"\n || l.countConnections(model, \"enterprise\") > 1)\n ? \"usernameOrEmailInputPlaceholder\"\n : \"usernameInputPlaceholder\";\n\n const usernameStyle = databaseUsernameStyle(model);\n\n const login = (sso\n || l.hasSomeConnections(model, \"database\")\n || l.hasSomeConnections(model, \"enterprise\"))\n && <LoginPane\n emailInputPlaceholder={i18n.str(\"emailInputPlaceholder\")}\n forgotPasswordAction={i18n.str(\"forgotPasswordAction\")}\n i18n={i18n}\n instructions={i18n.html(loginInstructionsKey)}\n lock={model}\n passwordInputPlaceholder={i18n.str(\"passwordInputPlaceholder\")}\n showForgotPasswordLink={showForgotPasswordLink}\n showPassword={showPassword}\n usernameInputPlaceholder={i18n.str(usernameInputPlaceholderKey)}\n usernameStyle={usernameStyle}\n />;\n\n const ssoNotice = sso\n && <SingleSignOnNotice>\n {i18n.str(\"ssoEnabled\")}\n </SingleSignOnNotice>;\n\n const separator = social && login && <PaneSeparator/>;\n\n return <div>{ssoNotice}{tabs}{social}{separator}{login}</div>;\n\n};\n\nexport default class Login extends Screen {\n\n constructor() {\n super(\"main.login\");\n }\n\n renderAuxiliaryPane(lock) {\n return renderSignedInConfirmation(lock);\n }\n\n renderTabs(model) {\n return shouldRenderTabs(model);\n }\n\n submitButtonLabel(m) {\n return i18n.str(m, [\"loginSubmitLabel\"]);\n }\n\n submitHandler(model) {\n if (hasOnlyClassicConnections(model, \"social\")) {\n return null;\n }\n\n if (isHRDDomain(model, databaseUsernameValue(model))) {\n return id => startHRD(id, databaseUsernameValue(model));\n }\n\n const useDatabaseConnection = !isSSOEnabled(model)\n && databaseConnection(model)\n && (defaultDatabaseConnection(model)\n || !defaultEnterpriseConnection(model));\n\n return useDatabaseConnection ? databaseLogIn : enterpriseLogIn;\n }\n\n render() {\n return Component;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/engine/classic/login.jsx","import React from 'react';\nimport Screen from '../../core/screen';\nimport MFAPane from '../../connection/database/mfa_pane';\nimport * as i18n from '../../i18n';\nimport { cancelMFALogin, logIn } from '../../connection/database/actions';\nimport { hasScreen } from '../../connection/database/index';\nimport { renderSignedInConfirmation } from '../../core/signed_in_confirmation';\n\nconst Component = ({i18n, model}) => {\n\n return <MFAPane\n mfaInputPlaceholder={i18n.str(\"mfaInputPlaceholder\")}\n i18n={i18n}\n instructions={i18n.str(\"mfaLoginInstructions\")}\n lock={model}\n title={i18n.str(\"mfaLoginTitle\")}\n />;\n};\n\nexport default class MFALoginScreen extends Screen {\n\n constructor() {\n super(\"mfa.mfaCode\");\n }\n\n renderAuxiliaryPane(lock) {\n return renderSignedInConfirmation(lock);\n }\n\n submitButtonLabel(m) {\n return i18n.str(m, [\"mfaSubmitLabel\"]);\n }\n\n submitHandler(m) {\n return (id) => logIn(id, true);\n }\n\n render() {\n return Component;\n }\n\n backHandler(m) {\n return hasScreen(m, \"login\") ? cancelMFALogin : undefined;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/engine/classic/mfa_login_screen.jsx","import React from 'react';\nimport EmailPane from '../../field/email/email_pane';\nimport PasswordPane from '../../field/password/password_pane';\nimport UsernamePane from '../../field/username/username_pane';\nimport {\n additionalSignUpFields,\n databaseConnectionRequiresUsername,\n passwordStrengthPolicy,\n} from '../../connection/database/index';\nimport CustomInput from '../../field/custom_input';\n\nexport default class SignUpPane extends React.Component {\n\n render() {\n const {\n emailInputPlaceholder,\n instructions,\n i18n,\n model,\n onlyEmail,\n passwordInputPlaceholder,\n passwordStrengthMessages,\n usernameInputPlaceholder\n } = this.props;\n\n const headerText = instructions || null;\n const header = headerText && <p>{headerText}</p>;\n\n const usernamePane = !onlyEmail && databaseConnectionRequiresUsername(model)\n ? <UsernamePane\n i18n={i18n}\n lock={model}\n placeholder={usernameInputPlaceholder}\n validateFormat={true}\n />\n : null;\n\n const fields = !onlyEmail && additionalSignUpFields(model).map(x => (\n <CustomInput\n iconUrl={x.get(\"icon\")}\n key={x.get(\"name\")}\n model={model}\n name={x.get(\"name\")}\n options={x.get(\"options\")}\n placeholder={x.get(\"placeholder\")}\n type={x.get(\"type\")}\n validator={x.get(\"validator\")}\n />\n ));\n\n const passwordPane = !onlyEmail\n && <PasswordPane\n i18n={i18n}\n lock={model}\n placeholder={passwordInputPlaceholder}\n policy={passwordStrengthPolicy(model)}\n strengthMessages={passwordStrengthMessages}\n />;\n\n return (\n <div>\n {header}\n <EmailPane\n i18n={i18n}\n lock={model}\n placeholder={emailInputPlaceholder}\n />\n {usernamePane}\n {passwordPane}\n {fields}\n </div>\n );\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/engine/classic/sign_up_pane.jsx","import React from 'react';\nimport Screen from '../../core/screen';\nimport {\n hasScreen,\n mustAcceptTerms,\n termsAccepted\n} from '../../connection/database/index';\nimport SignUpTerms from '../../connection/database/sign_up_terms';\nimport {\n signUp,\n toggleTermsAcceptance\n} from '../../connection/database/actions';\nimport LoginSignUpTabs from '../../connection/database/login_sign_up_tabs';\nimport { renderSignedInConfirmation } from '../../core/signed_in_confirmation';\nimport { renderSignedUpConfirmation } from '../../connection/database/signed_up_confirmation';\nimport SignUpPane from './sign_up_pane';\nimport SocialButtonsPane from '../../field/social/social_buttons_pane';\nimport { renderOptionSelection } from '../../field/index';\nimport * as l from '../../core/index';\nimport PaneSeparator from '../../core/pane_separator';\nimport {\n hasOnlyClassicConnections,\n isSSOEnabled,\n useBigSocialButtons\n} from '../classic';\nimport SingleSignOnNotice from '../../connection/enterprise/single_sign_on_notice';\nimport { logIn as enterpriseLogIn } from '../../connection/enterprise/actions';\nimport * as i18n from '../../i18n';\n\nconst Component = ({i18n, model}) => {\n const sso = isSSOEnabled(model) && hasScreen(model, \"login\");\n const ssoNotice = sso\n && <SingleSignOnNotice>\n {i18n.str(\"ssoEnabled\")}\n </SingleSignOnNotice>;\n\n const tabs = !sso\n && hasScreen(model, \"login\")\n && <LoginSignUpTabs\n key=\"loginsignup\"\n lock={model}\n loginLabel={i18n.str(\"loginLabel\")}\n signUpLabel={i18n.str(\"signUpLabel\")}\n />;\n\n const social = l.hasSomeConnections(model, \"social\")\n && <SocialButtonsPane\n bigButtons={useBigSocialButtons(model)}\n instructions={i18n.html(\"socialSignUpInstructions\")}\n labelFn={i18n.str}\n lock={model}\n signUp={true}\n />;\n\n const signUpInstructionsKey = social\n ? \"databaseAlternativeSignUpInstructions\"\n : \"databaseSignUpInstructions\";\n\n const db = (l.hasSomeConnections(model, \"database\")\n || l.hasSomeConnections(model, \"enterprise\"))\n && <SignUpPane\n emailInputPlaceholder={i18n.str(\"emailInputPlaceholder\")}\n i18n={i18n}\n instructions={i18n.html(signUpInstructionsKey)}\n model={model}\n onlyEmail={sso}\n passwordInputPlaceholder={i18n.str(\"passwordInputPlaceholder\")}\n passwordStrengthMessages={i18n.group(\"passwordStrength\")}\n usernameInputPlaceholder={i18n.str(\"usernameInputPlaceholder\")}\n />;\n\n const separator = social && db && <PaneSeparator/>;\n\n return <div>{ssoNotice}{tabs}{social}{separator}{db}</div>;\n};\n\nexport default class SignUp extends Screen {\n\n constructor() {\n super(\"main.signUp\");\n }\n\n submitButtonLabel(m) {\n return i18n.str(m, [\"signUpSubmitLabel\"]);\n }\n\n submitHandler(m) {\n if (hasOnlyClassicConnections(m, \"social\")) return null;\n if (isSSOEnabled(m)) return enterpriseLogIn;\n return signUp;\n }\n\n renderAuxiliaryPane(lock) {\n return renderSignedInConfirmation(lock)\n || renderSignedUpConfirmation(lock)\n || renderOptionSelection(lock);\n }\n\n renderTabs() {\n return true;\n }\n\n renderTerms(m, terms) {\n const checkHandler = mustAcceptTerms(m)\n ? () => toggleTermsAcceptance(l.id(m))\n : undefined;\n return terms || mustAcceptTerms(m)\n ? <SignUpTerms checkHandler={checkHandler} checked={termsAccepted(m)}>\n {terms}\n </SignUpTerms>\n : null;\n }\n\n render() {\n return Component;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/engine/classic/sign_up_screen.jsx","import React from 'react';\nimport { changeField, startOptionSelection } from './actions';\nimport {\n getFieldInvalidHint,\n getFieldLabel,\n getFieldValue,\n isFieldVisiblyInvalid\n} from './index';\nimport TextInput from '../ui/input/text_input';\nimport SelectInput from '../ui/input/select_input';\nimport * as l from '../core/index';\n\nconst CustomInput = ({iconUrl, model, name, options, placeholder, type, validator}) => {\n const props = {\n iconUrl,\n isValid: !isFieldVisiblyInvalid(model, name),\n name,\n placeholder\n }\n\n switch(type) {\n case \"select\":\n return (\n <SelectInput\n {...props}\n label={getFieldLabel(model, name)}\n onClick={() => startOptionSelection(l.id(model), name, iconUrl)}\n />\n );\n default:\n return (\n <TextInput\n invalidHint={getFieldInvalidHint(model, name)}\n onChange={e => changeField(l.id(model), name, e.target.value, validator)}\n value={getFieldValue(model, name)}\n {...props}\n />\n );\n }\n};\n\nexport default CustomInput;\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/custom_input.jsx","import React from 'react';\nimport MFACodeInput from '../../ui/input/mfa_code_input';\nimport * as c from '../index';\nimport { swap, updateEntity } from '../../store/index';\nimport * as l from '../../core/index';\nimport { setMFACode, getMFACodeValidation } from '../mfa_code';\n\nexport default class MFACodePane extends React.Component {\n\n handleChange(e) {\n const { lock } = this.props;\n swap(updateEntity, \"lock\", l.id(lock), setMFACode, e.target.value);\n }\n\n render() {\n const { i18n, lock, placeholder } = this.props;\n\n return (\n <MFACodeInput\n value={c.getFieldValue(lock, \"mfa_code\")}\n invalidHint={i18n.str(\"mfaCodeErrorHint\", getMFACodeValidation().length)}\n isValid={!c.isFieldVisiblyInvalid(lock, \"mfa_code\")}\n onChange={::this.handleChange}\n placeholder={placeholder}\n disabled={l.submitting(lock)}\n />\n );\n }\n\n}\n\nMFACodePane.propTypes = {\n i18n: React.PropTypes.object.isRequired,\n lock: React.PropTypes.object.isRequired,\n onChange: React.PropTypes.func,\n placeholder: React.PropTypes.string.isRequired\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/mfa-code/mfa_code_pane.jsx","import { setField } from './index';\nimport { validateEmail } from './email';\nimport { databaseConnection } from '../connection/database';\nimport trim from 'trim';\n\n\nconst DEFAULT_VALIDATION = { mfa_code: { length: 6 } };\nconst regExp = /^[0-9]+$/;\n\nfunction validateMFACode(str, settings = DEFAULT_VALIDATION.mfa_code) {\n const value = trim(str);\n\n // check min value matched\n if (value.length < settings.length) {\n return false;\n }\n\n // check max value matched\n if (value.length > settings.length) {\n return false;\n }\n\n // check allowed characters matched\n const result = regExp.exec(value);\n return result && result[0];\n}\n\nexport function setMFACode(m, str) {\n return setField(m, \"mfa_code\", str, validateMFACode);\n}\n\nexport function getMFACodeValidation(m) {\n return DEFAULT_VALIDATION.mfa_code;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/mfa_code.js","import React from 'react';\nimport List from '../ui/list';\nimport { cancelOptionSelection, selectOption } from './actions';\n// TODO: these actions should be passed as props\n\nexport default ({icon, iconUrl, model, name, items}) => (\n <List\n icon={icon}\n iconUrl={iconUrl}\n items={items}\n onSelect={x => selectOption(model.get(\"id\"), name, x)}\n onCancel={() => cancelOptionSelection(model.get(\"id\"))}\n />\n\n);\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/option_selection_pane.jsx","import createPolicy from 'password-sheriff';\nimport { setField } from './index';\n\nexport function validatePassword(password, policy) {\n return createPolicy(policy).check(password);\n}\n\nexport function setPassword(m, password, policy) {\n return setField(m, \"password\", password, validatePassword, policy);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/field/password.js","export default {\n error: {\n forgotPassword: {\n \"too_many_requests\": \"You have reached the limit on password change attempts. Please wait before trying again.\",\n \"lock.fallback\": \"We're sorry, something went wrong when requesting the password change.\"\n },\n login: {\n \"blocked_user\": \"The user is blocked.\",\n \"invalid_user_password\": \"Wrong credentials.\",\n \"lock.fallback\": \"We're sorry, something went wrong when attempting to log in.\",\n \"lock.invalid_code\": \"Wrong code.\",\n \"lock.invalid_email_password\": \"Wrong email or password.\",\n \"lock.invalid_username_password\": \"Wrong username or password.\",\n \"lock.network\": \"We could not reach the server. Please check your connection and try again.\",\n \"lock.popup_closed\": \"Popup window closed. Try again.\",\n \"lock.unauthorized\": \"Permissions were not granted. Try again.\",\n \"lock.mfa_registration_required\": \"Multifactor authentication is required but your device is not enrolled. Please enroll it before moving on.\",\n \"lock.mfa_invalid_code\": \"Wrong code. Please try again.\",\n \"password_change_required\": \"You need to update your password because this is the first time you are logging in, or because your password has expired.\", // TODO: verify error code\n \"password_leaked\": \"This login has been blocked because your password has been leaked in another website. We’ve sent you an email with instructions on how to unblock it.\",\n \"too_many_attempts\": \"Your account has been blocked after multiple consecutive login attempts.\",\n \"session_missing\": \"Couldn't complete your authentication request. Please try again after closing all open dialogs\"\n },\n passwordless: {\n \"bad.email\": \"The email is invalid\",\n \"bad.phone_number\": \"The phone number is invalid\",\n \"lock.fallback\": \"We're sorry, something went wrong\"\n },\n signUp: {\n \"invalid_password\": \"Password is invalid.\",\n \"lock.fallback\": \"We're sorry, something went wrong when attempting to sign up.\",\n \"password_dictionary_error\": \"Password is too common.\",\n \"password_no_user_info_error\": \"Password is based on user information.\",\n \"password_strength_error\": \"Password is too weak.\",\n \"user_exists\": \"The user already exists.\",\n \"username_exists\": \"The username already exists.\"\n }\n },\n success: { // success messages show above the form or in a confirmation pane\n logIn: \"Thanks for logging in.\",\n forgotPassword: \"We've just sent you an email to reset your password.\",\n magicLink: \"We sent you a link to log in<br />to %s.\",\n signUp: \"Thanks for signing up.\"\n },\n blankErrorHint: \"Can't be blank\",\n codeInputPlaceholder: \"your code\",\n databaseEnterpriseLoginInstructions: \"\",\n databaseEnterpriseAlternativeLoginInstructions: \"or\",\n databaseSignUpInstructions: \"\",\n databaseAlternativeSignUpInstructions: \"or\",\n emailInputPlaceholder: \"yours@example.com\",\n enterpriseLoginIntructions: \"Login with your corporate credentials.\",\n enterpriseActiveLoginInstructions: \"Please enter your corporate credentials at %s.\",\n failedLabel: \"Failed!\",\n forgotPasswordAction: \"Don't remember your password?\",\n forgotPasswordInstructions: \"Please enter your email address. We will send you an email to reset your password.\",\n forgotPasswordSubmitLabel: \"Send email\",\n invalidErrorHint: \"Invalid\",\n lastLoginInstructions: \"Last time you logged in with\",\n loginAtLabel: \"Log in at %s\",\n loginLabel: \"Log In\",\n loginSubmitLabel: \"Log In\",\n loginWithLabel: \"Log in with %s\",\n notYourAccountAction: \"Not your account?\",\n passwordInputPlaceholder: \"your password\",\n passwordStrength: {\n containsAtLeast: \"Contain at least %d of the following %d types of characters:\",\n identicalChars: \"No more than %d identical characters in a row (e.g., \\\"%s\\\" not allowed)\",\n nonEmpty: \"Non-empty password required\",\n numbers: \"Numbers (i.e. 0-9)\",\n lengthAtLeast: \"At least %d characters in length\",\n lowerCase: \"Lower case letters (a-z)\",\n shouldContain: \"Should contain:\",\n specialCharacters: \"Special characters (e.g. !@#$%^&*)\",\n upperCase: \"Upper case letters (A-Z)\"\n },\n passwordlessEmailAlternativeInstructions: \"Otherwise, enter your email to sign in<br/>or create an account\",\n passwordlessEmailCodeInstructions: \"An email with the code has been sent to %s.\",\n passwordlessEmailInstructions: \"Enter your email to sign in<br/>or create an account\",\n passwordlessSMSAlternativeInstructions: \"Otherwise, enter your phone to sign in<br/>or create an account\",\n passwordlessSMSCodeInstructions: \"An SMS with the code has been sent<br/>to %s.\",\n passwordlessSMSInstructions: \"Enter your phone to sign in<br/>or create an account\",\n phoneNumberInputPlaceholder: \"your phone number\",\n resendCodeAction: \"Did not get the code?\",\n resendLabel: \"Resend\",\n resendingLabel: \"Resending...\",\n retryLabel: \"Retry\",\n sentLabel: \"Sent!\",\n signUpLabel: \"Sign Up\",\n signUpSubmitLabel: \"Sign Up\",\n signUpTerms: \"\",\n signUpWithLabel: \"Sign up with %s\",\n socialLoginInstructions: \"\",\n socialSignUpInstructions: \"\",\n ssoEnabled: \"Single Sign-On enabled\",\n submitLabel: \"Submit\",\n unrecoverableError: \"Something went wrong.<br />Please contact technical support.\",\n usernameFormatErrorHint: \"Use %d-%d letters, numbers and \\\"_\\\"\",\n usernameInputPlaceholder: \"your username\",\n usernameOrEmailInputPlaceholder: \"username/email\",\n title: \"Auth0\",\n welcome: \"Welcome %s!\",\n windowsAuthInstructions: \"You are connected from your corporate network…\",\n windowsAuthLabel: \"Windows Authentication\",\n mfaInputPlaceholder: \"Code\",\n mfaLoginTitle: \"2-Step Verification\",\n mfaLoginInstructions: \"Please enter the verification code generated by your mobile application.\",\n mfaSubmitLabel: \"Log In\",\n mfaCodeErrorHint: \"Use %d numbers\"\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/i18n/en.js","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport CSSCore from 'fbjs/lib/CSSCore';\nimport Container from './box/container';\n\nclass ContainerManager {\n\n ensure(id, shouldAppend) {\n let container = global.document.getElementById(id);\n\n if (!container && shouldAppend) {\n container = global.document.createElement('div');\n container.id = id;\n container.className = \"auth0-lock-container\";\n global.document.body.appendChild(container);\n }\n\n if (!container) {\n throw new Error(`Can't find element with id ${id}`);\n }\n\n return container;\n }\n\n}\n\nclass Renderer {\n\n constructor() {\n this.containerManager = new ContainerManager();\n this.modals = {};\n }\n\n render(containerId, props) {\n const { isModal } = props;\n const container = this.containerManager.ensure(containerId, isModal);\n\n if (isModal && !this.modals[containerId]) {\n CSSCore.addClass(\n global.document.getElementsByTagName(\"html\")[0],\n \"auth0-lock-html\"\n );\n }\n\n const component = ReactDOM.render(<Container {...props} />, container);\n\n if (isModal) {\n this.modals[containerId] = component;\n }\n\n return component;\n }\n\n remove(containerId) {\n if (this.modals[containerId]) {\n this.modals[containerId].hide();\n setTimeout(() => this.unmount(containerId), 1000);\n } else {\n this.unmount(containerId);\n }\n }\n\n unmount(containerId) {\n try {\n const container = this.containerManager.ensure(containerId);\n if (container) {\n ReactDOM.unmountComponentAtNode(container);\n }\n } catch (e) {\n // do nothing if container doesn't exist\n }\n\n if (this.modals[containerId]) {\n delete this.modals[containerId];\n\n CSSCore.removeClass(\n global.document.getElementsByTagName(\"html\")[0],\n \"auth0-lock-html\"\n );\n }\n\n }\n}\n\nconst renderer = new Renderer();\n\nexport const render = (...args) => renderer.render(...args);\nexport const remove = (...args) => renderer.remove(...args);\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/box.js","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport ReactCSSTransitionGroup from 'react-addons-css-transition-group';\nimport MultisizeSlide from './multisize_slide';\nimport GlobalMessage from './global_message';\nimport Header from './header';\n\nconst submitSvg = '<svg width=\"43px\" height=\"42px\" viewBox=\"0 0 43 42\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:sketch=\"http://www.bohemiancoding.com/sketch/ns\"><g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" sketch:type=\"MSPage\"><g id=\"Lock\" sketch:type=\"MSArtboardGroup\" transform=\"translate(-280.000000, -3592.000000)\"><g id=\"SMS\" sketch:type=\"MSLayerGroup\" transform=\"translate(153.000000, 3207.000000)\"><g id=\"Group\" sketch:type=\"MSShapeGroup\"><g id=\"Login\" transform=\"translate(0.000000, 369.000000)\"><g id=\"Btn\"><g id=\"Oval-302-+-Shape\" transform=\"translate(128.000000, 17.000000)\"><circle id=\"Oval-302\" stroke=\"#FFFFFF\" stroke-width=\"2\" cx=\"20.5\" cy=\"20\" r=\"20\"></circle><path d=\"M17.8,15.4 L19.2,14 L25.2,20 L19.2,26 L17.8,24.6 L22.4,20 L17.8,15.4 Z\" id=\"Shape\" fill=\"#FFFFFF\"></path></g></g></g></g></g></g></g></svg>';\nconst submitText = '<svg class=\"icon-text\" width=\"8px\" height=\"12px\" viewBox=\"0 0 8 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"Web/Submit/Active\" transform=\"translate(-148.000000, -32.000000)\" fill=\"#FFFFFF\"><polygon id=\"Shape\" points=\"148 33.4 149.4 32 155.4 38 149.4 44 148 42.6 152.6 38\"></polygon></g></g></svg>'\n\nclass SubmitButton extends React.Component {\n\n focus() {\n ReactDOM.findDOMNode(this).focus();\n }\n\n render() {\n const { color, disabled, label } = this.props;\n const content = label\n ? <span className=\"auth0-label-submit\">\n {label}\n <span dangerouslySetInnerHTML={{__html: submitText}} />\n </span>\n : <span dangerouslySetInnerHTML={{__html: submitSvg}} />;\n\n return (\n <button\n className=\"auth0-lock-submit\"\n disabled={disabled}\n style={{backgroundColor: color}}\n type=\"submit\"\n >\n <div className=\"auth0-loading-container\">\n <div className=\"auth0-loading\" />\n </div>\n {content}\n </button>\n );\n }\n\n}\n\nSubmitButton.propTypes = {\n color: React.PropTypes.string.isRequired,\n disabled: React.PropTypes.bool,\n label: React.PropTypes.string\n};\n\nconst MESSAGE_ANIMATION_DURATION = 250;\nconst AUXILIARY_ANIMATION_DURATION = 350;\n\nexport default class Chrome extends React.Component {\n\n constructor(props) {\n super(props);\n this.state = {moving: false, reverse: false};\n }\n\n componentWillReceiveProps(nextProps) {\n const { auxiliaryPane, showSubmitButton } = this.props;\n const { delayingShowSubmitButton } = this.state;\n\n if (!showSubmitButton\n && nextProps.showSubmitButton\n && !delayingShowSubmitButton) {\n this.setState({delayingShowSubmitButton: true});\n }\n\n\n if (!auxiliaryPane && nextProps.auxiliaryPane) {\n this.auxiliaryPaneTriggerInput = global.document.activeElement;\n this.setState({moving: true});\n }\n\n if (auxiliaryPane && !nextProps.auxiliaryPane) {\n // TODO clear timeout\n setTimeout(\n () => this.setState({moving: false}),\n AUXILIARY_ANIMATION_DURATION + 50\n );\n }\n\n }\n\n componentDidUpdate(prevProps) {\n const { autofocus, auxiliaryPane, error, screenName } = this.props;\n\n if (!autofocus) return;\n\n if (auxiliaryPane && !prevProps.auxiliaryPane) {\n const input = this.findAutofocusInput(this.refs.auxiliary);\n\n if (input) {\n // TODO clear timeout\n setTimeout(() => input.focus(), AUXILIARY_ANIMATION_DURATION);\n }\n\n return;\n }\n\n if (!auxiliaryPane && prevProps.auxiliaryPane) {\n if (this.auxiliaryPaneTriggerInput) {\n // TODO clear timeout\n setTimeout(\n () => this.auxiliaryPaneTriggerInput.focus(),\n AUXILIARY_ANIMATION_DURATION\n );\n }\n\n return;\n }\n\n if (screenName !== prevProps.screenName) {\n const input = this.findAutofocusInput();\n\n if (input) {\n if (this.mainScreenName(prevProps.screenName) !== this.mainScreenName()) {\n this.inputToFocus = input;\n } else {\n // TODO clear timeout\n setTimeout(() => input.focus(), 17);\n }\n }\n\n return;\n }\n\n if (!prevProps.error && error) {\n const input = this.findAutofocusInput();\n\n if (input) {\n // TODO clear timeout\n setTimeout(() => input.focus(), 17);\n }\n\n return;\n }\n }\n\n onWillSlide() {\n this.setState({moving: true});\n this.sliding = true;\n }\n\n onDidSlide() {\n this.sliding = false;\n this.setState({reverse: false});\n }\n\n onDidAppear() {\n this.setState({moving: false});\n if (this.state.delayingShowSubmitButton) {\n this.setState({delayingShowSubmitButton: false});\n }\n\n if (this.inputToFocus) {\n this.inputToFocus.focus();\n delete this.inputToFocus;\n }\n }\n\n mainScreenName(str) {\n return (str || this.props.screenName || \"\").split(\".\")[0];\n }\n\n findAutofocusInput(ref) {\n return ReactDOM.findDOMNode(ref || this.refs.screen).querySelector(\"input\");\n }\n\n focusError() {\n const node = ReactDOM.findDOMNode(this.refs.screen);\n // TODO: make the error input selector configurable via props.\n const error = node.querySelector(\".auth0-lock-error input\");\n\n if (error) {\n error.focus();\n }\n }\n\n render() {\n const {\n avatar,\n auxiliaryPane,\n backHandler,\n contentComponent,\n contentProps,\n disableSubmitButton,\n error,\n isSubmitting,\n logo,\n primaryColor,\n screenName,\n showSubmitButton,\n submitButtonLabel,\n success,\n terms,\n title,\n transitionName\n } = this.props;\n\n const { delayingShowSubmitButton, moving, reverse } = this.state;\n\n let backgroundUrl, name;\n if (avatar) {\n backgroundUrl = avatar;\n name = title;\n } else {\n backgroundUrl = logo;\n name = \"\";\n }\n\n const submitButton = showSubmitButton\n && !delayingShowSubmitButton\n && <SubmitButton\n color={primaryColor}\n disabled={disableSubmitButton}\n key=\"submit\"\n label={submitButtonLabel}\n ref=\"submit\"\n />;\n\n const globalError = error\n ? <GlobalMessage key=\"global-error\" message={error} type=\"error\" />\n : null;\n const globalSuccess = success\n ? <GlobalMessage key=\"global-success\" message={success} type=\"success\" />\n : null;\n\n const Content = contentComponent;\n\n let className = \"auth0-lock-cred-pane\";\n const isQuiet = !moving && !delayingShowSubmitButton;\n className += isQuiet\n ? \" auth0-lock-quiet\"\n : \" auth0-lock-moving\";\n\n return (\n <div className={className}>\n <Header title={title} name={name} backHandler={backHandler && ::this.handleBack} backgroundUrl={backgroundUrl} backgroundColor={primaryColor} logoUrl={logo}/>\n <ReactCSSTransitionGroup\n transitionName=\"global-message\"\n transitionEnterTimeout={MESSAGE_ANIMATION_DURATION}\n transitionLeaveTimeout={MESSAGE_ANIMATION_DURATION}\n >\n {globalSuccess}\n {globalError}\n </ReactCSSTransitionGroup>\n <div style={{position: \"relative\"}}>\n <MultisizeSlide\n delay={550}\n onDidAppear={::this.onDidAppear}\n onDidSlide={::this.onDidSlide}\n onWillSlide={::this.onWillSlide}\n transitionName={transitionName}\n reverse={reverse}\n >\n <div key={this.mainScreenName()} className=\"auth0-lock-view-content\">\n <div style={{position: \"relative\"}}>\n <div className=\"auth0-lock-body-content\">\n <div className=\"auth0-lock-content\">\n <div className=\"auth0-lock-form\" ref=\"screen\">\n <Content focusSubmit={::this.focusSubmit} {...contentProps} />\n </div>\n </div>\n {terms && <small className=\"auth0-lock-terms\">{terms}</small>}\n </div>\n </div>\n </div>\n </MultisizeSlide>\n </div>\n {submitButton}\n <ReactCSSTransitionGroup\n ref=\"auxiliary\"\n transitionName=\"slide\"\n transitionEnterTimeout={AUXILIARY_ANIMATION_DURATION}\n transitionLeaveTimeout={AUXILIARY_ANIMATION_DURATION}\n >\n {auxiliaryPane}\n </ReactCSSTransitionGroup>\n </div>\n );\n }\n\n focusSubmit() {\n this.refs.submit.focus();\n }\n\n handleBack() {\n if (this.sliding) return;\n\n const { backHandler } = this.props;\n this.setState({reverse: true});\n backHandler();\n }\n\n}\n\nChrome.propTypes = {\n autofocus: React.PropTypes.bool.isRequired,\n avatar: React.PropTypes.string,\n auxiliaryPane: React.PropTypes.element,\n backHandler: React.PropTypes.func,\n contentComponent: React.PropTypes.func.isRequired, // TODO: it also can be a class component\n contentProps: React.PropTypes.object.isRequired,\n disableSubmitButton: React.PropTypes.bool.isRequired,\n error: React.PropTypes.string,\n isSubmitting: React.PropTypes.bool.isRequired,\n logo: React.PropTypes.string.isRequired,\n primaryColor: React.PropTypes.string.isRequired,\n showSubmitButton: React.PropTypes.bool.isRequired,\n submitButtonLabel: React.PropTypes.string,\n success: React.PropTypes.string,\n terms: React.PropTypes.element,\n title: React.PropTypes.string.isRequired,\n transitionName: React.PropTypes.string.isRequired\n};\n\nChrome.defaultProps = {\n autofocus: false,\n disableSubmitButton: false,\n showSubmitButton: true\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/box/chrome.jsx","import React from 'react';\nimport { BackButton, CloseButton } from './button';\n\nconst ConfirmationPane = ({backHandler, children, closeHandler, svg}) => (\n <div className=\"auth0-lock-confirmation\">\n {closeHandler && <CloseButton onClick={closeHandler}/>}\n {backHandler && <BackButton onClick={backHandler} />}\n <div className=\"auth0-lock-confirmation-content\">\n <span dangerouslySetInnerHTML={{__html: svg}} />\n {children}\n </div>\n </div>\n);\n\nConfirmationPane.propTypes = {\n backHandler: React.PropTypes.func,\n closeHandler: React.PropTypes.func,\n children: React.PropTypes.oneOfType([\n React.PropTypes.element.isRequired,\n React.PropTypes.arrayOf(React.PropTypes.element).isRequired\n ]),\n svg: React.PropTypes.string.isRequired\n};\n\nexport default ConfirmationPane;\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/box/confirmation_pane.jsx","import React from 'react';\nimport ReactDOM from 'react-dom';\n\nexport default class GlobalMessage extends React.Component {\n\n render() {\n const { message, type } = this.props;\n const className = `auth0-global-message auth0-global-message-${type}`\n\n return (\n <div className={className}>\n <span className=\"animated fadeInUp\">{message}</span>\n </div>\n );\n }\n\n}\n\nGlobalMessage.propTypes = {\n message: React.PropTypes.string.isRequired,\n type: React.PropTypes.oneOf(['error', 'success']).isRequired\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/box/global_message.jsx","import React from 'react';\nimport { BackButton } from './button';\n\n// TODO: simplify this mess :)\n\nexport default class Header extends React.Component {\n render() {\n const { backHandler, backgroundColor, backgroundUrl, logoUrl, name, title } = this.props;\n\n return (\n <div className=\"auth0-lock-header\">\n {backHandler && <BackButton onClick={backHandler} />}\n <Background imageUrl={backgroundUrl} backgroundColor={backgroundColor} grayScale={!!name} />\n <Welcome title={title} name={name} imageUrl={name ? undefined : logoUrl} />\n </div>\n );\n }\n}\n\nHeader.propTypes = {\n backgroundUrl: React.PropTypes.string,\n logoUrl: React.PropTypes.string,\n name: React.PropTypes.string\n};\n\nclass Welcome extends React.Component {\n render() {\n const { name, imageUrl, title } = this.props;\n const img = <img className=\"auth0-lock-header-logo\" src={imageUrl} />;\n\n return (\n <div className=\"auth0-lock-header-welcome\">\n {imageUrl && img}\n <WelcomeMessage title={title} name={name}/>\n </div>\n );\n }\n}\n\nWelcome.propTypes = {\n imageUrl: React.PropTypes.string,\n name: React.PropTypes.string\n};\n\nclass WelcomeMessage extends React.Component {\n render() {\n const { name, title } = this.props;\n let className, message;\n\n if (name) {\n className = \"auth0-lock-firstname\";\n message = name;\n } else {\n className = \"auth0-lock-name\";\n message = title;\n }\n\n return <div className={className}>{message}</div>;\n }\n}\n\nWelcomeMessage.propTypes = {\n name: React.PropTypes.string\n}\n\nconst cssBlurSupport = (function() {\n // Check stolen from Modernizr, see https://github.com/Modernizr/Modernizr/blob/29eab707f7a2fb261c8a9c538370e97eb1f86e25/feature-detects/css/filters.js\n const isEdge = global.navigator && !!global.navigator.userAgent.match(/Edge/i);\n if (typeof global.document === 'undefined' || isEdge) return false;\n\n const el = global.document.createElement('div');\n el.style.cssText = \"filter: blur(2px); -webkit-filter: blur(2px)\";\n return !!el.style.length && (global.document.documentMode === undefined || global.document.documentMode > 9);\n})();\n\nclass Background extends React.Component {\n render() {\n const { backgroundColor, imageUrl, grayScale } = this.props;\n\n const props = {\n className: \"auth0-lock-header-bg\"\n };\n\n if (cssBlurSupport) {\n props.className += \" auth0-lock-blur-support\";\n }\n\n const blurProps = {\n className: 'auth0-lock-header-bg-blur',\n style: {backgroundImage: `url('${imageUrl}')`}\n };\n\n if (grayScale) {\n blurProps.className += ' auth0-lock-no-grayscale';\n }\n\n const solidProps = {\n className: \"auth0-lock-header-bg-solid\",\n style: {backgroundColor: backgroundColor}\n }\n\n return (\n <div {...props}>\n <div {...blurProps} />\n <div {...solidProps} />\n </div>\n );\n }\n}\n\nBackground.propTypes = {\n backgorundColor: React.PropTypes.string,\n grayScale: React.PropTypes.bool,\n imageUrl: React.PropTypes.string\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/box/header.jsx","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport CSSCore from 'fbjs/lib/CSSCore';\n\nexport default class Slider extends React.Component {\n constructor(props) {\n super(props);\n this.state = {children: {current: props.children}};\n }\n\n componentWillReceiveProps(nextProps) {\n // TODO: take a prop to identify what are we rendering instead of\n // infering it from children keys so we can accept more than one\n // child (we are already wrapping them).\n if (this.state.children.current.key != nextProps.children.key) {\n this.setState({\n children: {\n current: nextProps.children,\n prev: this.state.children.current\n },\n transitionName: this.props.transitionName\n });\n this.animate = true;\n } else if (!this.timeout) {\n this.setState({children: {current: nextProps.children}, transitionName: nextProps.transitionName});\n }\n }\n\n componentDidUpdate() {\n if (this.animate) {\n this.animate = false;\n\n const { transitionName } = this.state;\n const { current, prev } = this.state.children;\n const { reverse } = this.props;\n const currentComponent = this.refs[current.key];\n const prevComponent = this.refs[prev.key];\n\n const transition = (component, className, delay) => {\n const node = ReactDOM.findDOMNode(component);\n const activeClassName = `${className}-active`;\n\n CSSCore.addClass(node, className);\n\n setTimeout(() => CSSCore.addClass(node, activeClassName), 17);\n\n if (delay) {\n setTimeout(() => {\n CSSCore.removeClass(node, className);\n CSSCore.removeClass(node, activeClassName);\n }, delay);\n }\n };\n\n const callback = (slide) => {\n currentComponent.componentWillSlideIn(slide);\n const classNamePrefix = reverse ? \"reverse-\" : \"\";\n transition(currentComponent, `${classNamePrefix}${transitionName}-enter`, this.props.delay);\n transition(prevComponent, `${classNamePrefix}${transitionName}-leave`);\n\n this.timeout = setTimeout(() => {\n this.setState({children: {current: this.state.children.current}, transitionName: this.props.transitionName});\n currentComponent.componentDidSlideIn(::this.props.onDidAppear);\n this.props.onDidSlide();\n this.timeout = null;\n }, this.props.delay);\n };\n\n this.props.onWillSlide();\n prevComponent.componentWillSlideOut(callback);\n }\n }\n\n componentWillUnmount() {\n if (this.timeout) clearTimeout(this.timeout);\n }\n\n render() {\n const {current, prev} = this.state.children;\n const children = prev ? [current, prev] : [current];\n const childrenToRender = children.map(child => {\n return React.cloneElement(\n React.createElement(Child, {}, child),\n {ref: child.key, key: child.key}\n );\n });\n\n return React.createElement(this.props.component, {}, childrenToRender);\n }\n}\n\nSlider.propTypes = {\n component: React.PropTypes.string,\n delay: React.PropTypes.number.isRequired,\n onDidAppear: React.PropTypes.func.isRequired,\n onDidSlide: React.PropTypes.func.isRequired,\n onWillSlide: React.PropTypes.func.isRequired,\n reverse: React.PropTypes.bool.isRequired,\n transitionName: React.PropTypes.string.isRequired\n};\n\nSlider.defaultProps = {\n component: \"span\",\n onDidAppear: () => {},\n onDidSlide: () => {},\n onWillSlide: () => {},\n reverse: false\n};\n\nclass Child extends React.Component {\n\n constructor(props) {\n super(props);\n this.state = {height: \"\", originalHeight: \"\", show: true};\n }\n\n componentWillSlideIn(slide) {\n const node = ReactDOM.findDOMNode(this);\n\n this.setState({\n height: slide.height,\n originalHeight: parseInt(window.getComputedStyle(node, null).height, 10),\n show: false\n });\n }\n\n componentDidSlideIn(cb) {\n const { height, originalHeight } = this.state;\n\n if (height === originalHeight) {\n this.setState({show: true, height: \"\"});\n cb();\n } else {\n this.cb = cb;\n const frames = 10;\n let count = 0;\n let current = height;\n const last = originalHeight;\n const step = Math.abs(current - last) / frames;\n const dir = current < last ? 1 : -1;\n const dh = step * dir;\n\n // TODO: rAF\n this.t = setInterval(() => {\n if (count < frames - 1) {\n this.setState({height: current, animating: true});\n current += dh;\n count++;\n } else {\n clearInterval(this.t);\n delete this.t;\n this.setState({height: \"\", show: true});\n this.cb();\n }\n }, 17);\n }\n }\n\n componentWillSlideOut(cb) {\n const node = ReactDOM.findDOMNode(this);\n const size = window.getComputedStyle(node, null).height;\n cb({height: parseInt(size, 10), reverse: this.reverse});\n }\n\n componentWillUnmount() {\n if (this.t) {\n clearInterval(this.t);\n cb();\n }\n }\n\n render() {\n const { children } = this.props;\n const { height, show } = this.state;\n\n return (\n <div style={height ? {height: height + \"px\"} : {}}>\n <div style={{visibility: show ? \"inherit\" : \"hidden\"}}>\n {children}\n </div>\n </div>\n );\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/box/multisize_slide.js","import React from 'react';\nimport InputWrap from './input_wrap';\n\nconst svg = '<svg width=\"14px\" height=\"13px\" viewBox=\"0 0 32 26\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:sketch=\"http://www.bohemiancoding.com/sketch/ns\" class=\"auth0-lock-icon\"><g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" sketch:type=\"MSPage\"><g id=\"32px\" sketch:type=\"MSLayerGroup\" transform=\"translate(-2155.000000, -2317.000000)\" fill=\"#373A39\"><g id=\"Group-856\" transform=\"translate(1.000000, 1.000000)\" sketch:type=\"MSShapeGroup\"><path id=\"Fill-419\" d=\"M2184,2339 C2184,2339.55 2183.55,2340 2183,2340 L2157,2340 C2156.45,2340 2156,2339.55 2156,2339 L2156,2319 C2156,2318.45 2156.45,2318 2157,2318 L2183,2318 C2183.55,2318 2184,2318.45 2184,2319 L2184,2339 L2184,2339 Z M2184,2316 L2156,2316 C2154.89,2316 2154,2316.89 2154,2318 L2154,2340 C2154,2341.1 2154.89,2342 2156,2342 L2184,2342 C2185.1,2342 2186,2341.1 2186,2340 L2186,2318 C2186,2316.89 2185.1,2316 2184,2316 L2184,2316 Z M2176,2322 L2180,2322 L2180,2326 L2176,2326 L2176,2322 Z M2174,2328 L2182,2328 L2182,2320 L2174,2320 L2174,2328 Z M2158,2332 L2172,2332 L2172,2330 L2158,2330 L2158,2332 Z M2158,2336 L2172,2336 L2172,2334 L2158,2334 L2158,2336 Z\"></path></g></g></g></svg>';\n\nexport default class EmailInput extends React.Component {\n constructor(props) {\n super(props);\n this.state = {};\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n const { invalidHint, isValid, value, onChange } = this.props;\n const { focused } = this.state;\n\n return invalidHint != nextProps.invalidHint\n || isValid != nextProps.isValid\n || value != nextProps.value\n || focused != nextState.focused;\n }\n\n render() {\n const { invalidHint, isValid, onChange, ...props } = this.props;\n const { focused } = this.state;\n\n return (\n <InputWrap\n focused={focused}\n invalidHint={invalidHint}\n isValid={isValid}\n name=\"email\"\n icon={svg}\n >\n <input ref=\"input\"\n type=\"email\"\n name=\"email\"\n className=\"auth0-lock-input\"\n placeholder=\"yours@example.com\"\n autoComplete=\"off\"\n autoCapitalize=\"off\"\n onChange={::this.handleOnChange}\n onFocus={::this.handleFocus}\n onBlur={::this.handleBlur}\n {...props}/>\n </InputWrap>\n );\n }\n\n handleOnChange(e) {\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n handleFocus() {\n this.setState({focused: true});\n }\n\n handleBlur() {\n this.setState({focused: false});\n }\n}\n\n// TODO: specify propTypes\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/input/email_input.jsx","import React from 'react';\nimport InputWrap from './input_wrap';\nimport { icon } from './password_input';\n\nexport default class MFACodeInput extends React.Component {\n static propTypes = {\n invalidHint: React.PropTypes.string.isRequired,\n isValid: React.PropTypes.bool.isRequired,\n onChange: React.PropTypes.func,\n placeholder: React.PropTypes.string,\n value: React.PropTypes.string.isRequired\n };\n\n constructor(props) {\n super(props);\n this.state = {};\n }\n\n focus() {\n this.refs.input && this.refs.input.focus();\n }\n\n hasFocus() {\n return this.state.focused;\n }\n\n render() {\n const {\n invalidHint,\n isValid,\n onChange,\n value,\n ...props\n } = this.props;\n\n const { focused } = this.state;\n\n return (\n <InputWrap\n focused={focused}\n invalidHint={invalidHint}\n isValid={isValid}\n name=\"mfa_code\"\n icon={icon}\n >\n <input\n ref=\"input\"\n type=\"text\"\n name=\"mfa_code\"\n className=\"auth0-lock-input\"\n autoComplete=\"off\"\n autoCapitalize=\"off\"\n onChange={::this.handleOnChange}\n onFocus={::this.handleFocus}\n onBlur={::this.handleBlur}\n value={value}\n {...props}\n />\n </InputWrap>\n );\n }\n\n handleOnChange(e) {\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n handleFocus() {\n this.setState({focused: true});\n }\n\n handleBlur() {\n this.setState({focused: false});\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/input/mfa_code_input.jsx","import React from 'react';\nimport createPolicy from 'password-sheriff';\nimport util from 'util';\n\nexport default class PasswordStrength extends React.Component {\n\n render() {\n const { password, policy, messages } = this.props;\n const analysis = createPolicy(policy).missing(password);\n // TODO: add a component for fadeIn / fadeOut animations?\n const className = \"auth0-lock-password-strength animated \"\n + (!analysis.verified ? \"fadeIn\" : \"fadeOut\");\n\n const prepareMessage = items => {\n items && items.forEach(o => {\n if (messages[o.code]) {\n o.message = messages[o.code];\n }\n\n o.message = util.format(o.message, ...(o.format || []));\n\n if (o.items) {\n prepareMessage(o.items);\n }\n });\n };\n\n prepareMessage(analysis.rules);\n\n return <div className={className}><List items={analysis.rules} /></div>;\n }\n\n}\n\nPasswordStrength.propTypes = {\n messages: React.PropTypes.object.isRequired,\n password: React.PropTypes.string.isRequired,\n policy: React.PropTypes.oneOf([\n \"none\",\n \"low\",\n \"fair\",\n \"good\",\n \"excellent\"\n ]).isRequired\n};\n\nPasswordStrength.defaultProps = {\n messages: {}\n};\n\nclass List extends React.Component {\n\n render() {\n const { items } = this.props;\n\n return items && items.length\n ? <ul>{items.map((x, i) => <Item {...x} key={i} />)}</ul>\n : null;\n }\n\n}\n\nList.propTypes = {\n items: React.PropTypes.arrayOf(React.PropTypes.object)\n};\n\nclass Item extends React.Component {\n\n render() {\n const { items, message, verified } = this.props;\n const className = verified ? \"auth0-lock-checked\" : \"\";\n\n return (\n <li className={className}>\n <span>{message}</span>\n <List items={items} />\n </li>\n );\n }\n\n}\n\nItem.propTypes = {\n items: React.PropTypes.array,\n message: React.PropTypes.string.isRequired,\n verified: React.PropTypes.bool.isRequired\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/input/password/password_strength.jsx","import React from 'react';\nimport InputWrap from './input_wrap';\n\nconst arrowSvg = '<svg width=\"5px\" height=\"10px\" viewBox=\"0 0 5 10\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:sketch=\"http://www.bohemiancoding.com/sketch/ns\" class=\"auth0-lock-icon-arrow\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" sketch:type=\"MSPage\"><g id=\"Lock\" transform=\"translate(-396.000000, -3521.000000)\" fill=\"#000000\" opacity=\"0.539999962\"><g id=\"SMS\" transform=\"translate(153.000000, 3207.000000)\"><g transform=\"translate(35.000000, 299.000000)\"><g transform=\"translate(210.000000, 20.000000) rotate(-90.000000) translate(-210.000000, -20.000000) translate(198.000000, 8.000000)\"><path id=\"Shape\" d=\"M7,10 L12,15 L17,10 L7,10 Z\"></path></g></g></g></g></g></svg>';\n\nexport default class SelectInput extends React.Component {\n constructor(props) {\n super(props);\n this.state = {};\n }\n\n render() {\n const { iconUrl, isValid, label, name, onClick, placeholder } = this.props;\n let { icon } = this.props;\n const { focused } = this.state;\n\n let limitedValue = label || placeholder;\n if (limitedValue.length > 23) {\n limitedValue = `${limitedValue.substr(0,20)}...`;\n }\n\n if (!icon && typeof iconUrl === \"string\" && iconUrl) {\n icon = <img className=\"auth0-lock-custom-icon\" src={iconUrl} />;\n }\n\n let className = \"auth0-lock-input auth0-lock-input-location\";\n if (!label) className += \" auth0-lock-input-with-placeholder\";\n\n return (\n <InputWrap focused={focused} isValid={isValid} name=\"location\" icon={icon}>\n <input type=\"button\"\n name={name}\n className={className}\n value={limitedValue}\n onFocus={::this.handleFocus}\n onBlur={::this.handleBlur}\n onKeyDown={::this.handleKeyDown}\n onClick={onClick}\n />\n <span dangerouslySetInnerHTML={{__html: arrowSvg}} />\n </InputWrap>\n );\n }\n\n handleFocus() {\n this.setState({focused: true});\n }\n\n handleBlur() {\n this.setState({focused: false});\n }\n\n handleKeyDown(e) {\n if (e.key !== \"Tab\") {\n e.preventDefault();\n }\n\n if (e.key === \"ArrowDown\") {\n return this.props.onClick();\n }\n\n if (e.keyCode >= 65 && e.keyCode <= 90) {\n return this.props.onClick(String.fromCharCode(e.keyCode).toLowerCase());\n }\n }\n}\n\n// TODO: specify propTypes\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/input/select_input.jsx","import React from 'react';\nimport InputWrap from './input_wrap';\n\nconst svg = '<svg width=\"13px\" height=\"14px\" viewBox=\"0 0 15 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"auth0-lock-icon\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g transform=\"translate(-11.000000, -1471.000000)\" fill=\"#888888\"><path d=\"M25.552,1486.998 L11.449,1486.998 C10.667,1485.799 10.984,1483.399 11.766,1482.6 C12.139,1482.219 14.931,1481.5 16.267,1481.172 C14.856,1480.076 13.995,1478.042 13.995,1476.103 C13.995,1473.284 14.813,1470.999 18.498,1470.999 C22.182,1470.999 23,1473.284 23,1476.103 C23,1478.037 22.145,1480.065 20.74,1481.163 C22.046,1481.489 24.88,1482.228 25.241,1482.601 C26.019,1483.399 26.328,1485.799 25.552,1486.998 L25.552,1486.998 Z M24.6,1483.443 C24.087,1483.169 21.881,1482.548 20,1482.097 L20,1480.513 C21.254,1479.659 21.997,1477.806 21.997,1476.12 C21.997,1473.841 21.414,1471.993 18.499,1471.993 C15.583,1471.993 15,1473.841 15,1476.12 C15,1477.807 15.744,1479.662 17,1480.515 L17,1482.112 C15.109,1482.556 12.914,1483.166 12.409,1483.442 C12.082,1483.854 11.797,1485.173 12,1486 L25,1486 C25.201,1485.174 24.922,1483.858 24.6,1483.443 L24.6,1483.443 Z\"></path></g></g></svg>';\n\nexport default class UsernameInput extends React.Component {\n constructor(props) {\n super(props);\n this.state = {};\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n const { invalidHint, isValid, value, onChange } = this.props;\n const { focused } = this.state;\n\n return invalidHint != nextProps.invalidHint\n || isValid != nextProps.isValid\n || value != nextProps.value\n || focused != nextState.focused;\n }\n\n render() {\n const { invalidHint, isValid, onChange, ...props } = this.props;\n const { focused } = this.state;\n\n return (\n <InputWrap\n focused={focused}\n invalidHint={invalidHint}\n isValid={isValid}\n name=\"username\"\n icon={svg}\n >\n <input\n ref=\"input\"\n type=\"text\"\n name=\"username\"\n className=\"auth0-lock-input\"\n placeholder=\"username\"\n autoComplete=\"off\"\n autoCapitalize=\"off\"\n onChange={::this.handleOnChange}\n onFocus={::this.handleFocus}\n onBlur={::this.handleBlur}\n {...props}\n />\n </InputWrap>\n );\n }\n\n handleOnChange(e) {\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n handleFocus() {\n this.setState({focused: true});\n }\n\n handleBlur() {\n this.setState({focused: false});\n }\n}\n\n// TODO: specify propTypes\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/input/username_input.jsx","import React, { PropTypes } from 'react';\nimport ReactDOM from 'react-dom';\nimport { BackButton } from './box/button';\nimport TextInput from './input/text_input';\nimport { isSmallScreen } from '../utils/media_utils';\nimport * as su from '../utils/string_utils';\n\nconst cycle = (xs, x) => {\n return xs.skipWhile(y => y !== x).get(1, xs.get(0));\n}\n\nexport default class FiltrableList extends React.Component {\n\n constructor(props) {\n super(props);\n this.state = {filteredItems: props.items, highlighted: props.defaultItem};\n }\n\n filter(str) {\n const filteredItems = this.props.items.filter(x => {\n return su.matches(str, x.get(\"label\"));\n });\n\n const highlighted = filteredItems.size === 1 && filteredItems.get(0)\n || filteredItems.includes(this.state.highlighted) && this.state.highlighted\n || null;\n\n return {\n filteredItems: filteredItems,\n highlighted: highlighted\n };\n }\n\n select(x) {\n this.props.onSelect(x);\n }\n\n handleChange(e) {\n this.setState(this.filter(e.target.value));\n }\n\n handleKeyDown(e) {\n const { filteredItems, highlighted } = this.state;\n\n switch(e.key) {\n case \"ArrowDown\":\n e.preventDefault();\n this.setState({highlighted: cycle(filteredItems, highlighted)});\n break;\n case \"ArrowUp\":\n e.preventDefault();\n this.setState({highlighted: cycle(filteredItems.reverse(), highlighted)});\n break;\n case \"Enter\":\n e.preventDefault();\n highlighted && this.select(highlighted);\n break;\n case \"Escape\":\n e.preventDefault();\n this.props.onCancel();\n default:\n // no-op\n }\n }\n\n render() {\n const { icon, iconUrl, onCancel } = this.props;\n return (\n <div className=\"auth0-lock-select-country\">\n <div className=\"auth0-lock-search\">\n <BackButton onClick={onCancel} />\n <TextInput\n name=\"search\"\n icon={icon}\n iconUrl={iconUrl}\n isValid={true}\n onChange={::this.handleChange}\n onKeyDown={::this.handleKeyDown}\n />\n </div>\n <List\n highlighted={this.state.highlighted}\n items={this.state.filteredItems}\n onClick={::this.select}\n onMouseMove={x => this.setState({highlighted: x})}\n />\n </div>\n );\n }\n\n}\n\n\nclass List extends React.Component {\n\n componentDidUpdate() {\n // Ensure that highlighted item is entirely visible\n\n // NOTE: I've spent very little time on this. It works, but it\n // surely can be more clearly.\n\n const { highlighted } = this.refs;\n\n if (highlighted) {\n const scrollableNode = ReactDOM.findDOMNode(this);\n const highlightedNode = ReactDOM.findDOMNode(highlighted);\n const relativeOffsetTop = highlightedNode.offsetTop - scrollableNode.scrollTop;\n let scrollTopDelta = 0;\n if (relativeOffsetTop + highlightedNode.offsetHeight > scrollableNode.clientHeight) {\n scrollTopDelta = relativeOffsetTop + highlightedNode.offsetHeight - scrollableNode.clientHeight;\n } else if (relativeOffsetTop < 0) {\n scrollTopDelta = relativeOffsetTop;\n }\n\n if (scrollTopDelta) {\n this.preventHighlight = true;\n scrollableNode.scrollTop += scrollTopDelta;\n if (this.timeout) clearTimeout(this.timeout);\n this.timeout = setTimeout(() => this.preventHighlight = false, 100);\n }\n }\n }\n\n mouseMoveHandler(x) {\n // TODO: This is an ugly hack to avoid highlighting the element under the\n // mouse when an arrow key trigger a scroll of the list (which in turn\n // triggers a mousemove event).\n !this.preventHighlight && this.props.onMouseMove(x);\n }\n\n mouseLeaveHandler() {\n // TODO: clear highlighted?\n }\n\n render() {\n const items = this.props.items.map(x => {\n const highlighted = x === this.props.highlighted;\n\n const props = {\n highlighted: highlighted,\n key: x.get(\"label\"),\n label: x.get(\"label\"),\n onClick: () => this.props.onClick(x),\n onMouseMove: () => this.mouseMoveHandler(x)\n };\n\n if (highlighted) props.ref = \"highlighted\";\n\n return <Item {...props} />;\n });\n\n return (\n <div\n className=\"auth0-lock-list-code\"\n onMouseLeave={::this.mouseLeaveHandler}\n >\n <ul>{items}</ul>\n </div>\n );\n }\n\n}\n\nclass Item extends React.Component {\n\n static propTypes = {\n highlighted: PropTypes.bool.isRequired,\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n onMouseMove: PropTypes.func.isRequired\n };\n\n shouldComponentUpdate(nextProps) {\n return this.props.highlighted != nextProps.highlighted;\n }\n\n render() {\n const { highlighted, label, onClick, onMouseMove } = this.props;\n const className = highlighted ? \"auth0-lock-list-code-highlighted\" : \"\";\n\n return (\n <li className={className} onClick={onClick} onMouseMove={onMouseMove}>\n {label}\n </li>\n );\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ui/list.jsx","class Atom {\n constructor(state) {\n this.state = state;\n this.watches = {};\n }\n\n reset(state) {\n return this._change(state);\n }\n\n swap(f, ...args) {\n return this._change(f(this.state, ...args));\n }\n\n deref() {\n return this.state;\n }\n\n addWatch(k, f) {\n // if (this.watches[key]) {\n // console.warn(`adding a watch with an already registered key: ${k}`);\n // }\n this.watches[k] = f;\n return this;\n }\n\n removeWatch(k) {\n // if (!this.watches[key]) {\n // console.warn(`removing a watch with an unknown key: ${k}`);\n // }\n delete this.watches[k];\n return this;\n }\n\n _change(newState) {\n const { state, watches } = this;\n this.state = newState;\n Object.keys(watches).forEach(k => watches[k](k, state, newState));\n return this.state;\n }\n}\n\nexport default function atom(state) {\n return new Atom(state);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/atom.js","export default class Cache {\n\n constructor(fetchFn) {\n this.cache = {};\n this.cbs = {};\n this.fetchFn = fetchFn;\n }\n\n get(...args) {\n const cb = args.pop();\n const key = JSON.stringify(args);\n if (this.cache[key]) return cb(null, this.cache[key]);\n if (this.registerCallback(key, cb) > 1) return;\n this.fetch(key, args);\n }\n\n fetch(key, args) {\n this.fetchFn(...args, (error, result) => {\n if (!error) this.cache[key] = result;\n this.execCallbacks(key, error, result);\n });\n }\n\n registerCallback(key, cb) {\n this.cbs[key] = this.cbs[key] || [];\n this.cbs[key].push(cb);\n return this.cbs[key].length;\n }\n\n execCallbacks(key, ...args) {\n this.cbs[key].forEach(f => f(...args));\n delete this.cbs[key];\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/cache.js","export function debounce(f, delay) {\n let t;\n return function(...args) {\n function handler() {\n clearTimeout(t);\n f.apply(undefined, args);\n }\n clearTimeout(t);\n t = setTimeout(handler, delay);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/fn_utils.js","export function random() {\n return (+new Date() + Math.floor(Math.random() * 10000000)).toString(36);\n}\n\nlet start = 1;\nexport function incremental() {\n return start++;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/id_utils.js","import jsonp from 'jsonp';\n\nclass JSONPUtils {\n get(...args) {\n return jsonp(...args);\n }\n}\n\nexport default new JSONPUtils();\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/jsonp_utils.js","export function parseUrl(str) {\n const parser = global.document.createElement(\"a\");\n parser.href = str;\n return parser;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/url_utils.js","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window && typeof window.process !== 'undefined' && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document && 'WebkitAppearance' in document.documentElement.style) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window && window.console && (console.firebug || (console.exception && console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n try {\n return exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (typeof process !== 'undefined' && 'env' in process) {\n return process.env.DEBUG;\n }\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/jsonp/~/debug/src/browser.js","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug.default = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n var split = (namespaces || '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/auth0-js/~/jsonp/~/debug/src/debug.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nvar oneArgumentPooler = function (copyFieldsFrom) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, copyFieldsFrom);\n return instance;\n } else {\n return new Klass(copyFieldsFrom);\n }\n};\n\nvar twoArgumentPooler = function (a1, a2) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nvar threeArgumentPooler = function (a1, a2, a3) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3);\n return instance;\n } else {\n return new Klass(a1, a2, a3);\n }\n};\n\nvar fourArgumentPooler = function (a1, a2, a3, a4) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4);\n }\n};\n\nvar fiveArgumentPooler = function (a1, a2, a3, a4, a5) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4, a5);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4, a5);\n }\n};\n\nvar standardReleaser = function (instance) {\n var Klass = this;\n !(instance instanceof Klass) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0;\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = oneArgumentPooler;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nvar addPoolingTo = function (CopyConstructor, pooler) {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n var NewKlass = CopyConstructor;\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nvar PooledClass = {\n addPoolingTo: addPoolingTo,\n oneArgumentPooler: oneArgumentPooler,\n twoArgumentPooler: twoArgumentPooler,\n threeArgumentPooler: threeArgumentPooler,\n fourArgumentPooler: fourArgumentPooler,\n fiveArgumentPooler: fiveArgumentPooler\n};\n\nmodule.exports = PooledClass;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/PooledClass.js","/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar emptyFunction = require('./emptyFunction');\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n (function () {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n })();\n}\n\nmodule.exports = warning;\n\n\n// WEBPACK FOOTER //\n// ./~/react/~/fbjs/lib/warning.js"],"sourceRoot":""} \ No newline at end of file